Commit Graph

1290 Commits

Author SHA1 Message Date
Kyriewen
c28e1ff210
docs: mark deprecated for date-picker defaultPickerValue prop (#43781)
* docs: mark deprecated for date-picker defaultPickerValue prop

* docs: mark deprecated for date-picker defaultPickerValue prop

* docs: 删除 defaultPickerValue 属性

* chore: use defaultValue instead defaultPickerValue

---------

Co-authored-by: zbw01218944 <zbw01218944@alibaba-inc.com>
2023-09-07 17:56:55 +08:00
栗嘉男
70466b0ebb chore: merge master into feature 2023-09-06 02:49:25 +08:00
lijianan
49e1efaafc
fix: fix date-picker footer style (#44642)
* fix: fix date-picker style

* Update index.ts

Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: lijianan <574980606@qq.com>
2023-09-05 18:51:51 +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
4755acaeb8
feat: support Input shadow token (#44410) 2023-08-25 09:32:39 +08:00
yoyo837
f06d85129f Merge branch 'master' into feature-merge-master 2023-08-23 15:42:33 +08:00
dingkang
d57c86d92c
feat: migrate less to token for DatePicker (#42607)
* feat: migrate less to token for time-picker

* feat: add component-token demo

* feat:update token with  API Naming rules

* feat: migrate less to token for Time-pikker

* chore: code clean

* chore: code clean

* chore: udpate

* feat: picker token

* chore: add comment

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-08-22 16:28:20 +08:00
AN
af301a9822
fix(date-picker):fix format type processing for showTime. (#44306)
* fix(date-picker):fix format type processing for showTime.

* test: Add showTime should work correctly when format is Array test
2023-08-22 13:00:42 +08:00
MadCcc
d1d3b57dcb
feat: input token (#44325)
* feat: input token

* feat: input number token

* feat: input token

* fix: date-picker & calendar

* fix: calendar style

* fix: token use
2023-08-22 09:38:11 +08:00
栗嘉男
39ca9d89f4 chore: merge master into feature 2023-08-18 15:01:08 +08:00
AN
808452e49d
fix(DataPicker):fix picker content is not centered (#44245)
* Update index.ts

fix(DataPicker):fix picker content  is not centered

Signed-off-by: AN <455454007@qq.com>

* fix(DataPicker):fix picker content is not centered 

Signed-off-by: AN <455454007@qq.com>

---------

Signed-off-by: AN <455454007@qq.com>
2023-08-17 13:15:26 +08:00
kiner-tang(文辉)
41cb8be608
fix(DatePicker): optimize RangePicker's range area style (#44206)
* feat: optimize range-picker's range area style

* feat: optimize range-picker's range area style

* feat: optimize range-picker's range area style
2023-08-14 20:59:34 +08:00
MadCcc
ba90af13c0 Merge branch 'master' into feature-merge-master 2023-08-10 22:17:15 +08:00
afc163
e283ebf2e3
test: update Select jest snapshot (#44140)
* chore: update snapshot

* test: fix test case of Form Select
2023-08-10 00:43:44 +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(文辉)
77ecdcba8b
feat(DatePicker): RangePicker support rootClassName (#44057)
* feat: RangePicker support rootClassName

* feat: optimize code

* feat: optimize code

* feat: optimize code
2023-08-07 18:05:34 +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
栗嘉男
5933e6473f fix: fix lint 2023-07-28 17:15:04 +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(文辉)
4858e60fe6
feat: DatePicker support customize allowClear (#43811) 2023-07-27 10:23:26 +08:00
ac3d9173c6
feat(range-picker): preset value support callback function (#43476)
* chore(deps): bump rc-picker@3.11.0

* feat(range-picker): preset value support callback function

* docs: update docs

* docs: update since version

* test: update snapshot
2023-07-26 19:02:17 +08:00
afc163
2d3c97979d
fix: Select aria-activedescendant wrong value (#43800) 2023-07-26 10:09:04 +08:00
MadCcc
5eb9f5db9b
fix: suffix icon should not use colorTextDisabled (#43646) 2023-07-19 14:44:39 +08:00
lijianan
f438c133ff
type: React.forwardRef type optimization (#43610)
* type: React.forwardRef type optimization

* fix

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint
2023-07-18 12:18:51 +08:00
二货爱吃白萝卜
5bf08faeea
refactor: rename qrcode to qr-code (#43607)
* refactor: rename qrcode to qr-code

* test: patch test case

* chore: fix Form missing displayName

* chore: patch displayName

* chore: style path

* chore: fix compile
2023-07-17 23:43:32 +08:00
kiner-tang(文辉)
9ddad8662a
feat: update demo about cell-render in date-picker (#43597) 2023-07-17 12:18:41 +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
thinkasany
a92d20e06e
type: remove useless assertion (#43474) 2023-07-11 10:44:18 +08:00
栗嘉男
0e47a7673e Merge branch master into master-merge-feature 2023-07-09 18:26:06 +08:00
Fly me to the moon
a998569adb
test: optimization type in test case (#43449)
* test: optimization type in test case

* fix lint

---------

Co-authored-by: 我们去月球漫步 <13105694+flymetothemoon-wj@user.noreply.gitee.com>
2023-07-08 15:45:28 +08:00
JiaQi
e86e5e5000
feat: ConfigProvider support DatePicker & TimePicker className and style properties (#43418) 2023-07-07 19:02:55 +08:00
github-actions[bot]
1ad266f7bf
chore: auto merge branches (#43378)
chore: merge master into feature
2023-07-05 10:16:04 +00:00
MadCcc
b64a57d5d0
docs: component token meta (#43337)
* docs: component token meta

* docs: more

* docs: complete
2023-07-05 17:49:59 +08:00
JiaQi
e053225154
chore: bump rc-picker (#43367)
* chore: bump rc-picker

* chore: update snapshot
2023-07-05 16:47:21 +08:00
栗嘉男
60a2ae6319 chore: merge master into feature 2023-07-04 11:41:25 +08:00
LHH
d9d44195a6
docs: fix dayjs updateLocale usage (#43250)
* fix:dayjs中没有updateLocale方法,直接使用local("zh-cn")

codesandbox中的示例也报错了。。找不到updateLocale方法

* Apply suggestions from code review

Signed-off-by: afc163 <afc163@gmail.com>

* Update index.en-US.md

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-06-30 17:49:00 +08:00
daisy
1df65eeef3
docs: update DatePicker、TimePicker cellRender (#43226) 2023-06-28 10:34:25 +08:00
github-actions[bot]
238d89ec7f
chore: auto merge branches (#43223)
chore: merge master into feature
2023-06-27 08:25:33 +00:00
二货爱吃白萝卜
cb1abcfe66
docs: add picker faq (#43208) 2023-06-27 15:34:55 +08:00
afc163
86a5de1f37 chore: resolve merge conflict 2023-06-25 10:47:34 +08:00
Zack Chang
f2d5dad8e0
refactor: solve circular reference of DatePicker (#42809)
* refactor: resolve circular reference of DataPicker

* Revert "Merge remote-tracking branch 'origin/feature' into fix/datePicker"

This reverts commit 852394c198, reversing
changes made to d661c7b009.

* Revert "Revert "Merge remote-tracking branch 'origin/feature' into fix/datePicker""

This reverts commit 1471235e67.

* Update SiteThemeProvider.tsx

fix lint

* Update useMenu.tsx

fix lint

* Update component-token.tsx

fix lint

* Update index.ts

fix lint

* Update index.test.tsx

fix lint

* Update list.ts

fix lint

* Update index.ts

fix lint

* Update component-token.tsx

fix lint

* Update index.zh-CN.md

fix lint

* Update index.zh-CN.md

fix lint

* Update index.zh-CN.md

fix lint

* fix: update getTimeProps fn
2023-06-25 10:16:02 +08:00