陈帅
09b86845a7
Revert "feat: Add okButtonProps
to time picker ( #49657 )" ( #49663 )
...
This reverts commit 6c656c85f7
.
Co-authored-by: 二货爱吃白萝卜 <smith3816@gmail.com>
2024-07-01 15:23:07 +08:00
Tantatorn Suksangwarn
6c656c85f7
feat: Add okButtonProps
to time picker ( #49657 )
...
* feat: add `okButtonProps` to pickers' props
* doc: add okButtonProps to date, time picker documentation
* test: add new test case for TimePicker
2024-06-30 23:17:14 +08:00
MadCcc
010f82bd1a
feat: ConfigProvider support variant ( #49535 )
...
* feat: ConfigProvider support variant
* docs: add docs for variant
* feat: support config all components variant
* chore: fix lint
* chore: add test
* test: add test
2024-06-21 17:47:09 +08:00
afc163
fad1497ef7
fix: RangePicker missing arrow ( #49333 )
...
* bump rc-picker
* chore: update snapshot
* chore: update snapshot
* fix: arrow style
* fix: arrow transition style
* Update package.json
Signed-off-by: afc163 <afc163@gmail.com>
* Update package.json
Signed-off-by: afc163 <afc163@gmail.com>
* Update package.json
Signed-off-by: afc163 <afc163@gmail.com>
* Update package.json
Signed-off-by: afc163 <afc163@gmail.com>
* fix: rtl style
* Update package.json
Signed-off-by: afc163 <afc163@gmail.com>
* fix rtl style
* chore: update snapshot
* fix rtl style
* Update package.json
Signed-off-by: afc163 <afc163@gmail.com>
* Update package.json
Co-authored-by: 叶枫 <7971419+crazyair@users.noreply.github.com>
Signed-off-by: afc163 <afc163@gmail.com>
---------
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: 叶枫 <7971419+crazyair@users.noreply.github.com>
2024-06-18 23:59:23 +08:00
DerianRambo
b29c314b4c
docs: improved grammar on certain documentation pages ( #49374 )
...
* button documentation grammar fixes
* english float button documentation changes
* english documentation grammar changes for icons
* english typography documentation grammar changes
* english divider documenation changes
* english layout documentation fixes
* english cascader documentation improvements
* english color-picker documentation changes
* english date-picker documentation changes
* english form documentation changes
* English documentation changes for select
* English documentation changes for slider
* English documentation changes for time-picker
* English documenation changes for transfer
2024-06-12 14:27:15 +08:00
sabitalizade
aa17f703d2
fix: missed translation in az ( #49247 )
...
* Added missed translation for Azerbaijani language
* Added missed translation
* Filled changelog
* Revert "Filled changelog"
This reverts commit 4a36eb688f27bc6304d792a0b2ea3b9cc755aefc.
* Filled PR content
* Revert "Filled PR content"
This reverts commit 7108e3ae26f283e4163552b56137b8eb7f2ede62.
* Test run for jest snapshot
---------
Co-authored-by: afc163 <afc163@gmail.com>
2024-06-06 17:13:07 +08:00
KumJungMin
84ee56f708
docs: add needConfirm option on time-picker docs ( #48945 )
...
* docs: add needConfirm option on time-picker docs
* docs: add onchange event to catch time changed
* docs: change file name to kebab case
* test: add test snapshot
* docs: delete needConfirm true demo in datePicker
* docs: add needConfirm true in demo
* test: delete old need confirm snapshot
* docs: update need-confirm snapshot
* test: update test snapshot
2024-05-19 15:58:05 +08:00
Edi Kurniawan
1ec5b28c9a
local: transalate Picker to indonesian ( #48537 )
...
* feat: translate all to indonesian
I have transalate all to Indonesian
Signed-off-by: Edi Kurniawan <edikurniawan.dev@gmail.com>
* fix: use ' instead of "
Signed-off-by: Edi Kurniawan <edikurniawan.dev@gmail.com>
* feat: ✨ translate to indonesian
* feat: 🌐 transalate date and time picker to indonesian
---------
Signed-off-by: Edi Kurniawan <edikurniawan.dev@gmail.com>
Co-authored-by: vagusX <vagusxl@gmail.com>
2024-04-19 13:38:40 +08:00
叶枫
502dac12aa
docs: format code ( #48309 )
...
* docs: fix code
* feat: lint
* feat: prettier
* feat: test
* feat: review
* feat: format html
* feat: format html
2024-04-08 14:04:08 +08:00
叶枫
14a1e6bd51
feat: tsconfig enable strict ( #47998 )
...
* feat: tsconfig enable strict
* feat: add no-explicit-any
* feat: strict
* feat: as THEME
* feat: 优化 keys 类型写法
* feat: demo remove any
* feat: as number
* feat: this any
* feat: add eslint
* feat: cascader
* feat: props any
* feat: remove any
* feat: remove any
* feat: any 提示错误
* feat: remove any
* feat: add eslint
* feat: 允许 T = any 存在
* feat: color funciton
* feat: 恢复 lint
* feat: merge master
* feat: as ReactElement
* feat: type
2024-04-01 15:49:45 +08:00
github-actions[bot]
80f49bfcf2
chore: auto merge branches ( #48020 )
...
chore: merge master into feature
2024-03-23 16:15:34 +00:00
二货爱吃白萝卜
20561d6f9d
docs: Fix component doc alignment & support import usage ( #48004 )
...
* docs: init ref
* docs all support
* docs: fix link show
2024-03-22 14:22:42 +08:00
afc163
dfd342d985
Merge pull request #47931 from ant-design/master
...
chore: sync master to feature
2024-03-18 15:36:41 +08:00
Amumu
e088adf0da
feat: add Uzbek(latn) locale ( #47899 )
...
* feat: add Uzbek(latn) locale
* size-limit
* Update docs/react/i18n.zh-CN.md
Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: Amumu <yoyo837@hotmail.com>
---------
Signed-off-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-03-16 09:30:36 +08:00
二货爱吃白萝卜
2323e95c41
fix: legacy onSelect
of TimePicker ( #47878 )
...
* chore: update ts
* docs: update
2024-03-14 21:06:08 +08:00
lijianan
e197751d01
docs: update variant docs version ( #47340 )
2024-02-05 09:39:35 +08:00
lijianan
231e873b3f
Merge pull request #47238 from ant-design/master
...
chore: merge master into feature
2024-01-30 20:00:58 +08:00
二货爱吃白萝卜
18e85a7b81
feat: New Picker ( #46982 )
...
* chore: init
* chore: link picker
* chore: move files
* chore: update style
* chore: update types
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: fix test case
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* chore: clesn up useless types
* chore: update types
* chore: fix types
* chore: fix types
* chore: fix types
* chore: fix types
* chore: fix types
* chore: fix types
* chore: fix types
* chore: fix types
* chore: fix types
* chore: update style
* chore: clean up
* chore: update types
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* fix: format
* chore: update deps
* chore: feature merge master (#46794 )
* fix: Fix typo s/Notificaiton/Notification/ (#46775 )
* docs: supplement form preserve field description (#46788 )
close https://github.com/ant-design/ant-design/issues/46773
* docs: tweak changelog drawer width in small screen (#46791 )
* docs: Update compatible-style.zh-CN.md (#46790 )
Signed-off-by: afc163 <afc163@gmail.com>
---------
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: hugo-syn <61210734+hugo-syn@users.noreply.github.com>
Co-authored-by: Shunze Chen <qianlonwork@outlook.com>
Co-authored-by: afc163 <afc163@gmail.com>
* chore: update locale size
* chore: lock dumi
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* chore: bump version
* test: update snapshot
* test: update snapshot
* chore: bump version
* chore: update limit
* test: update snapshot
* docs: update 7 days sample
* chore: rm useless style
* chore: clean up style
* docs: add buddihist era demo
* refactor: interface
* chore: add multiple types
* docs: add demo
* chore: init style
* chore: init style
* chore: fill style
* chore: fill style
* chore: style
* chore: size of it
* chore: size style
* docs: add align demo
* docs: needConfirm
* chore: fix showWeek style
* test: update snapshot
* chore: fix ts
* chore: fix ts
* chore: fix ts
* chore: fix ts
* fix: week style
* docs: update dayjs note
* fix: style missing
* chore: fix footer extra style missing
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* chore: demo update
* docs: update demo
* docs: min & max date
* test: update snapshot
* docs: add order
* chore: update deps
* test: update snapshot
* test: update snapshot
* chore: adjust style
* chore: clean up style
* test: update snapshot
* chore: fix comment
* chore: update align
* chore: bump rc-picker
* test: update snapshot
* test: update snapshot
* test: update snapshot
---------
Signed-off-by: afc163 <afc163@gmail.com>
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: hugo-syn <61210734+hugo-syn@users.noreply.github.com>
Co-authored-by: Shunze Chen <qianlonwork@outlook.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-01-29 15:34:48 +08:00
0xflotus
52ad8b0a4a
chore: changed word in locale ( #47199 )
...
Signed-off-by: 0xflotus <0xflotus@gmail.com>
2024-01-28 21:47:50 +08:00
二货爱吃白萝卜
19fd98978d
Revert "refactor: New Picker interactive" ( #46981 )
2024-01-15 16:28:45 +08:00
二货爱吃白萝卜
fe314589ed
refactor: New Picker interactive ( #46685 )
...
* chore: init
* chore: link picker
* chore: move files
* chore: update style
* chore: update types
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: fix test case
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* chore: clesn up useless types
* chore: update types
* chore: fix types
* chore: fix types
* chore: fix types
* chore: fix types
* chore: fix types
* chore: fix types
* chore: fix types
* chore: fix types
* chore: fix types
* chore: update style
* chore: clean up
* chore: update types
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* fix: format
* chore: update deps
* chore: feature merge master (#46794 )
* fix: Fix typo s/Notificaiton/Notification/ (#46775 )
* docs: supplement form preserve field description (#46788 )
close https://github.com/ant-design/ant-design/issues/46773
* docs: tweak changelog drawer width in small screen (#46791 )
* docs: Update compatible-style.zh-CN.md (#46790 )
Signed-off-by: afc163 <afc163@gmail.com>
---------
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: hugo-syn <61210734+hugo-syn@users.noreply.github.com>
Co-authored-by: Shunze Chen <qianlonwork@outlook.com>
Co-authored-by: afc163 <afc163@gmail.com>
* chore: update locale size
* chore: lock dumi
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* chore: bump version
* test: update snapshot
* test: update snapshot
* chore: bump version
* chore: update limit
* test: update snapshot
* docs: update 7 days sample
* chore: rm useless style
* chore: clean up style
* docs: add buddihist era demo
* refactor: interface
* chore: add multiple types
* docs: add demo
* chore: init style
* chore: init style
* chore: fill style
* chore: fill style
* chore: style
* chore: size of it
* chore: size style
* docs: add align demo
* docs: needConfirm
* chore: fix showWeek style
* test: update snapshot
* chore: fix ts
* chore: fix ts
* chore: fix ts
* chore: fix ts
* fix: week style
* docs: update dayjs note
* fix: style missing
* chore: fix footer extra style missing
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
---------
Signed-off-by: afc163 <afc163@gmail.com>
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: hugo-syn <61210734+hugo-syn@users.noreply.github.com>
Co-authored-by: Shunze Chen <qianlonwork@outlook.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-01-15 15:41:40 +08:00
二货爱吃白萝卜
ec25f2230c
Merge pull request #46937 from ant-design/master
...
chore: feature merge master
2024-01-12 13:50:02 +08:00
二货爱吃白萝卜
8ad9f52e46
test: support trigger image ( #46935 )
2024-01-12 11:57:25 +08:00
MadCcc
bf7085882d
feat: DatePicker support variant ( #46568 )
...
* feat: DatePicker support variant
* chore: update snapshot
* chore: update api table
* chore: update snapshot
2023-12-21 20:43:40 +08:00
kiner-tang(文辉)
6901513ff5
docs: timer-picker remove clearIcon from document ( #44977 )
...
* docs: timer-picker remove clearIcon from document
* docs: select remove clearIcon from document
2023-09-21 11:47:52 +08:00
lijianan
56fb6178a4
demo: update demo ( #44864 )
...
* demo: update demo
* fix: fix snap
* update demo
2023-09-15 12:23:57 +08:00
kiner-tang(文辉)
d5abbad8f1
refactor: deprecatedWarning ( #44791 )
...
* refactor: deprecatedWraning
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
2023-09-13 22:07:33 +08:00
二货爱吃白萝卜
5cc338e177
refactor: All the warning set the warning type for future filter ( #44613 )
...
* feat: add warningContext
* refactor: part refactor
* chore: fix compile
* chore: part of it
* chore: part of it
* chore: part of it
* chore: fix lint
* chore: fix test
* chore: clean uo
* chore: hide warning def tmp
* chore: comment test
* chore: fix lint
* chore: refactor select icons
* chore: fix warning message
* test: update test
* chore: rm dead code
2023-09-11 17:28:04 +08:00
MadCcc
114ff39f8c
Merge branch 'master' into feature-merge-master
2023-09-05 13:41:06 +08:00
lijianan
6a5e7ded43
refactor: remove Space & Grid IE compatible logic ( #44620 )
...
* refactor: remove IE compatible logic
* fix: fix
* fix: fix
* fix: fix
2023-09-05 10:17:56 +08:00
Dunqing
f0c105d262
feat: insert use client
automatically at compilations instead of hardcode ( #44608 )
...
* feat: remove the hardcode of `use client`
* chore: update `@ant-design/tools`
* test: update
* fix: incorrect dictionary
* chore: update dep
* ci: check use client
* chore: update ci
* fix: should be LIB_DIR
* ci: should only run in dist
* chore: update check tsx files
2023-09-04 19:27:20 +08:00
栗嘉男
b12d69cf42
chore: merge master into feature
2023-09-01 00:02:50 +08:00
afc163
3f148d9112
docs: add help text for token customization
2023-08-30 23:02:35 +08:00
MadCcc
ba90af13c0
Merge branch 'master' into feature-merge-master
2023-08-10 22:17:15 +08:00
kiner-tang(文辉)
2f8fa45df3
docs: Add rootClassName in doc ( #44061 )
...
* docs: update rootClassName description
* docs: update rootClassName description
* docs: update docs
2023-08-08 18:27:48 +08:00
kiner-tang(文辉)
915514f9de
feat: TimePicker support rootClassName ( #44059 )
...
* feat: TimePicker support rootClassName
* feat: optimize code
2023-08-07 18:05:05 +08:00
Bart Piotrowski
fb00f1cae1
fix: RangePicker allowClear does not disable the clear button ( #44015 )
...
* respect allowClear===false in date picker
* remove clear icon from snapshot
reflects actual desired outcome when allowClear is false
* test allowClear undefined and false scenarios
* use nested clearIcon if passed
* vanilla parameters, more robust merge
* no need to check allowClear for truthyness
2023-08-04 16:14:56 +08:00
MadCcc
c640cbcb53
chore: update snapshot ( #43957 )
...
* chore: update snapshot
* chore
2023-08-02 15:33:29 +08:00
kiner-tang(文辉)
24697bbb06
fix: deprecated clearIcon prop ( #43945 )
...
* feat: clearIcon
* feat: clearIcon
* Update components/select/utils/iconUtil.tsx
Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>
* feat: clearIcon
* chore: raise size-limit
---------
Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-08-02 14:21:11 +08:00
二货爱吃白萝卜
5d3b45551d
test: snapshot of demo warning message ( #43947 )
...
* test: init of test
* test: update snapshot
* test: update snapshot
* chore: adjust size limit
* test: update snapshot
* test: update snapshot
* test: update snapshot
* chore: update snapshot
---------
Co-authored-by: lijianan <574980606@qq.com>
2023-08-02 14:20:13 +08:00
lijianan
755e1227f4
test: update icon snap ( #43942 )
...
* test: update snap
* chore: bump icons
---------
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-08-02 02:15:02 +08:00
栗嘉男
674ff129ce
Merge branch master into master-merge-feature
2023-07-28 16:43:15 +08:00
二货爱吃白萝卜
2cdf586291
chore: fix lint ( #43873 )
...
* chore: fix lint
* chore: fix lint
* test: fix 16
* fix: lint
2023-07-28 16:17:43 +08:00
kiner-tang(文辉)
8000750b34
feat: TimePicker support customize clearIcon ( #43839 )
2023-07-27 14:20:18 +08:00
lijianan
38474628fd
feat: prepend use-client directive for with Next.js App Router ( #43573 )
...
* fix: prepend use-client directive for with Next.js App Router
* Update components/affix/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>
* Update components/badge/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>
* Update components/divider/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>
* Update components/cascader/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/list/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/mentions/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/mentions/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/mentions/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/mentions/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/qrcode/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/spin/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/select/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/spin/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/spin/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/steps/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/time-picker/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/transfer/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/tree-select/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
---------
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-07-15 12:57:03 +08:00
daisy
1df65eeef3
docs: update DatePicker、TimePicker cellRender ( #43226 )
2023-06-28 10:34:25 +08:00
MadCcc
7322aa6f5f
Revert "chore: migrate to vitest ( #42506 )" ( #42900 )
...
This reverts commit 6759887c44
.
2023-06-07 21:59:21 +08:00
Dunqing
6759887c44
chore: migrate to vitest ( #42506 )
...
* chore: migrate to vitest
* chore: update ci
* fix: test correctly
* test: support puppeteer
* chore: update coverage
* chore: update include/exclude
* chore: update config
* test: update incorrect tests
* chore: update script
* chore: update
* fix: should close browser at the ended
* chore: improve
* fix: test cause tsc error
* fix: eslint error
* chore: exclude correctly
* test: update snap and fix some tests
* chore: update test config
* fix: countup.js
* fix: incorrect test
* chore: update reference
* test: update
* fix: countup.js
* fix: timeout
* chore: update site test
* fix: fixed countup version
* chore: remove unsed code
* test: update
* test: update demo timeout
* test: update timeout
* chore: update image test
* chore: update threads
* fix: image/svg+xml test failed
* chore: limits threads
* test: update test coverage include
* chore: remove jest files
* chore: rename jest to vi
* chore: update document
* chore: fix missing @types/jsdom
* chore: update coverage
* chore: update snap
* fix:watermark test cases are incorrect
* feat: update ignore comment
* test: fix test case
* test: reset body scrollTop
* test: clean up
* test: use vi
* test: update snapshot
* test: update snapshot
* test: fix dropdown test failed
* fix: toHaveStyle cause test fail
* test: improve test case
* test: fix
* fix: color failed, refer to https://github.com/jsdom/jsdom/pull/3560
* test: fix
* test: fix
* test: fix circular import
* test: revert
* ci: coverage failed
* test: fix c8 ignore comment
* chore: incorrect config
* chore: fix ignore ci
* test: revert svg+xml
* test: fix realTimers
* feat: rc-trigger should be remove
* test: fix some failed test
* chore: remove unused deps and configure eslint-plugin-vitest
* test: update snap
* chore: remove jest
* test: fix lint error
---------
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-06-07 11:54:50 +08:00
二货爱吃白萝卜
5904f80a9a
feat: DatePicker support changeOnBlur
( #42168 )
...
* docs: update docs
* chore: fix lint
* chore: bump rc-picker
* docs: timepicker docs
* chore: update ignore
2023-05-09 18:00:44 +08:00
二货机器人
4e311f0d95
test: update snapshot
2023-05-08 23:47:41 +08:00