Commit Graph

14610 Commits

Author SHA1 Message Date
afc163
07462491ab
fix: Result should hide icon when it is falsy (#38488)
close #38484
2022-11-10 19:27:36 +08:00
JarvisArt
8af0b4f1f2
fix: The image preview operations are occluded (#38456) 2022-11-10 14:35:29 +08:00
叶枫
b0598e0d41
fix: List key (#38431)
* fix: 修复 key

* feat: remove old key

* feat: test

* feat: test

* feat: test
2022-11-09 23:13:54 +08:00
lijianan
d292257e47
chore: type optimization (#38460) 2022-11-09 17:36:49 +08:00
lijianan
b36f013e2a
test: add mockRestore to fix incorrect test case (#38454) 2022-11-09 11:55:11 +08:00
lijianan
fe9ac7b936
fix: incorrect warning (#38446) 2022-11-09 09:46:27 +08:00
Sagie501
87817ea172
docs: Update index.en-US.md (#38445)
Fix steps docs
2022-11-09 09:44:13 +08:00
Katsiaryna Pustakhod
cc67f63785
fix: Adds role progressbar to Progress component (#38447)
* Add role to progress component

* Update snapshots
2022-11-09 09:42:10 +08:00
tinyfind
7ee9873a45
fix: Paragraph break-word (#38439) 2022-11-08 20:26:26 +08:00
Ell Bradshaw
5a61762681
chore: clarify error about children of Form.Item with name (#38038)
* Clarify error about children of Form.Item with `name`

This is a common error and the message as written was not very clear.

This should be more helpful pointing people in the right direction

* Update error message in test

* Clarify more error messages

Referring to "render props" is confusing because the docs don't explain what that is, and it's not really a prop.

* Update tests for new error messages

Also improve the test names for some

* Further test message updates

Missed a couple messages

* Add short URLs

* Update test error messages

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Ell Bradshaw <joelbr@tailormed.co>
Co-authored-by: afc163 <afc163@gmail.com>
2022-11-07 17:32:58 +08:00
KotoriK
39f907a14d
refactor(Tree): solve circular import (#38421) 2022-11-07 17:20:07 +08:00
二货爱吃白萝卜
4a1622cd66
docs: unique id (#38422)
* docs: unique id

* test: Update snapshot
2022-11-07 16:45:16 +08:00
章鱼怪
0438b0bbca
fix: Affix shake when switching from hide to show (#38410)
* fix: do not measure when Affix is hidden

* feat: add test
2022-11-07 11:58:32 +08:00
afc163
2c9fbc8f0c
chore: upgrade to rc-image 5.10.x (#38415) 2022-11-07 10:10:18 +08:00
afc163
b154c9c8ae
fix: Pagination simple should support showTotal (#38399)
* fix: Pagination simple should support showTotal

* test: add test case
2022-11-06 15:58:48 +08:00
afc163
f835c4bcc3
fix: Modal.confirm buttons should not be interative (#38400)
when modal is hiding

close #37329
2022-11-06 15:58:35 +08:00
咩咩
45b078a1ad
type: add React.ReactNode (#38404) 2022-11-05 21:34:20 +08:00
lijianan
66e4b1c91c
test: simplify test case (#38403) 2022-11-05 21:29:56 +08:00
kiner-tang(文辉)
2dbfbea502
fix(table): fix Table aria-label contains [object Object] (#38389)
* fix: columns title render not as expected

* feat: code optimize

* feat: update test case

* feat: update test case

* feat: code optimize

* Update components/table/__tests__/Table.test.tsx

Co-authored-by: afc163 <afc163@gmail.com>

* feat: update aria-label

* feat: update test case

* feat: update snapshots

* feat: update snapshots

Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-11-05 12:44:37 +08:00
Ashish Kapoor
ce4d3a00d1
chore: Tree search demo type error (#38390)
* Update search.md

* Update search.md
2022-11-05 12:42:09 +08:00
renovate[bot]
8d0d96223b
chore(deps): update dependency jest to v29 (#37270)
* chore(deps): update dependency jest to v29

* Update package.json

* chore: update snapshot

* chore(deps): update dependency jest to v29

* Update package.json

* test: fix test case

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-11-04 23:57:55 +08:00
afc163
1d582551ec
chore: fix Table customized filter dropdown behavior when pressing enter (#38393)
close #38392
2022-11-04 23:40:41 +08:00
afc163
c6762d9215
style: fix Drawer extra using Radio.Group (#38385)
* style: fix Drawer extra using Radio.Group

close #38297

* chore: adjust flex logic

* chore: fix lint

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-11-04 23:00:28 +08:00
lijianan
038c9d0763
type: optimization React.useRef type (#38388) 2022-11-04 18:36:54 +08:00
二货爱吃白萝卜
216f25c457
Revert "fix(table): aria-label should be use the first text content in element when column title is ReactElement in table" (#38383)
* Revert "fix(table): aria-label should be use the first text content in element when column title is ReactElement in table (#38160)"

This reverts commit 21c4bcf40a.

* test: Update snapshot
2022-11-04 16:18:43 +08:00
咩咩
e80e40b764
type: type optimization (#38381)
Co-authored-by: jiang_chunqiao <chunqiao_jiang@icloud.com>
2022-11-04 15:33:01 +08:00
afc163
8f0970d596 Merge branch 'master' of github.com:ant-design/ant-design 2022-11-04 11:58:36 +08:00
afc163
9cc228f2af chore: add type test 2022-11-04 11:56:01 +08:00
afc163
f26e9c131d Merge branch 'master' of github.com:AdonLee/ant-design into AdonLee-master 2022-11-04 11:39:24 +08:00
lijianan
82ba22232d
test: simplify test case (#38375) 2022-11-04 11:24:56 +08:00
lijianan
d448c37cdb
test: simplify test case (#38374) 2022-11-04 11:23:59 +08:00
lijianan
9cbacd148e
test: add unmount for test case (#38373) 2022-11-04 11:20:53 +08:00
章鱼怪
ad3c7747e1
feat: add padding less variable for Alert (#38369)
* feat: add padding less variable for Alert

* feat: Alert less variable
2022-11-04 10:43:29 +08:00
黑雨
53c2be01ca
chore: update rc-steps and add test case (#38319)
* feat: update rc-steps

* feat: update rc-steps

* feat: update rc-steps

* feat: fix items
2022-11-03 14:28:03 +08:00
afc163
f151990700
fix: Popover icon color get polluted (#38355)
close #38353
2022-11-03 12:12:40 +08:00
Mike Ellis
46a0c60d0c
fix: Adds aria-label to Table header checkbox (#38336)
* Adds aria-label to Table header checkbox

* Corrects inverted aria label

* Updates some napshots

* Updates transfer snapshots
2022-11-03 10:15:03 +08:00
叶枫
b36ddace4c
docs: add doc (#38345)
* feat: done

* feat: done
2022-11-02 17:50:50 +08:00
Optimistic-Chen
036a2c20a1
chore: update table demo ts type (#38333)
* 虚拟滚动列表中的Parameters<typeof Table>[0]改为泛型传参

虚拟滚动列表中的Parameters<typeof Table>[0]改为泛型传参,可以定义通过datasource定义RecordType的值,而不是object

* Update virtual-list.md

* docs: virtualtable example use generic instead of 'Parameters[0]'

* Update components/table/demo/virtual-list.md

Co-authored-by: liangjun.chen <liangjun.chen@yunqutech.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-11-02 13:21:28 +08:00
lijianan
81864f9b8a
fix: ball lose (#38338)
* fix: ball lose

* Update components/anchor/style/index.less

Co-authored-by: afc163 <afc163@gmail.com>

* fix: fix style

Co-authored-by: afc163 <afc163@gmail.com>
2022-11-02 12:00:11 +08:00
Cedong.Lee
b8de996fc1
fix(DatePicker): PopupClassName does not exist 2022-11-01 12:00:16 +08:00
JarvisArt
047daad164
fix: Badge code lgtm issue (#38316) 2022-11-01 00:16:56 +08:00
xrkffgg
5ede9b65af
chore: merge feature into master #38313 2022-10-31 23:07:27 +08:00
二货爱吃白萝卜
ea2d5b4482
test: trigger form test (#38305) 2022-10-31 21:23:59 +08:00
He Linming
6ee61f6f0b
feat(Input.Password): password visibility controllable (#38216)
* feat: support controllable visible of password

* test: add some unit test for Password

* refactor: visibilityToggle API

* test: update snapshots

* Update components/input/Password.tsx

Co-authored-by: afc163 <afc163@gmail.com>
2022-10-31 21:15:59 +08:00
afc163
0eb368f84a
fix: Progress zoom behavior in Safari (#38301) 2022-10-31 17:49:39 +08:00
lijianan
05aa4c2a95
docs: add Notes (#38296)
* docs: add Notes

* fix: update snap

* fix: update snap
2022-10-31 14:49:43 +08:00
github-actions[bot]
6c6913c367
chore: auto merge branches (#38278)
chore: merge feature into master
2022-10-31 03:22:15 +00:00
lijianan
de1ab2c7f1
fix: add white color (#38291) 2022-10-31 10:55:08 +08:00
hms181231
9352d24bc4
test: Update swicth test case (#38284) 2022-10-31 10:22:38 +08:00
hms181231
a927ef62a3
test: Update statistic test case (#38285) 2022-10-31 10:21:13 +08:00