黑雨
066be35de3
feat: support options ( #38876 )
...
* feat: support options
* feat: update package
* feat: update package
* feat: update doc
* feat: update doc
* feat: update doc
* feat: add test case
2022-11-23 21:00:24 +08:00
dainli
6f4b96567b
bugfix(DisabledContextProvider): fix disabled logic ( #38886 )
...
* bugfix(DisabledContextProvider): fix disabled logic
* test: add test for ConfigProvider componentDisabled
Co-authored-by: dian.li <dian.li@yunzhanghu.com>
2022-11-23 11:04:23 +08:00
MadCcc
d3a7119d03
chore: update mirror host ( #38674 )
...
* chore: update host
* chore: rm gitee mirror
* chore: lint
* chore: ignore crop-imgae
2022-11-18 16:39:28 +08:00
kiner-tang(文辉)
934804763a
fix(message): call onClose after removeNotice ( #38669 )
...
* fix: call onClose after removeNotice
* feat: update demo and snapshots
* feat: update test case
2022-11-18 16:37:24 +08:00
dependabot[bot]
1a4c696926
chore(deps-dev): bump typescript from 4.8.4 to 4.9.3 ( #38604 )
...
* chore(deps-dev): bump typescript from 4.8.4 to 4.9.3
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.8.4 to 4.9.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/commits )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* chore: fix ts error in test case
* Update Table.pagination.test.tsx
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-11-17 13:02:49 +08:00
Matthew
52dedca8ed
fix: Pass custom prefixCls to Typography from Base ( #38580 ) ( #38586 )
...
* fix: Pass custom prefixCls to Typography from Base (#38580 )
* test: Added test for typography custom prefixCls
2022-11-16 10:23:51 +08:00
afc163
08e4598baa
fix(Table): don't trigger sort when pressing enter in filter dropdown ( #38585 )
...
close #38579
2022-11-15 23:35:16 +08:00
kiner-tang(文辉)
1ca984a19c
feat(modal): support pass mousePosition to control modal's animation origin position ( #38584 )
...
* feat: support pass mousePosition to control modal's animation target position
* feat: update test case
* Update components/modal/demo/custom-mouse-position.md
Co-authored-by: afc163 <afc163@gmail.com>
* docs: update docs
Co-authored-by: afc163 <afc163@gmail.com>
2022-11-15 22:20:02 +08:00
JackLiR8
3c96997210
fix(Input.Search): pressing enter key don't trigger onSearch
while loading ( #38575 ) ( #38578 )
2022-11-15 18:40:04 +08:00
lijianan
5ef12dfaa5
chore: fix typo ( #38568 )
2022-11-15 15:51:34 +08:00
lijianan
8cd60cc9bd
fix: Breadcrumb overlay deprecated warning ( #38567 )
...
* fix: incorrect warning
* Update components/breadcrumb/__tests__/Breadcrumb.test.tsx
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-11-15 15:10:47 +08:00
Wuxh
4bc23b3ca6
chore: fix the wrong link address ( #38543 )
...
* chore: fix the wrong link address
repo: https://github.com/ant-design/u.ant.design
* Revert "chore: fix the wrong link address"
This reverts commit 63e50f426a
.
* one more time
2022-11-14 16:32:34 +08:00
周晨阳
6a5f53d6e6
docs(Layout): update demo style to sticky
( #38542 )
...
* Update fixed.md
* Update demo.test.ts.snap
* update snapshot
2022-11-14 11:16:34 +08:00
thinkasany
2f38076b3d
docs: Optimized description ( #38535 )
2022-11-13 14:07:22 +08:00
JarvisArt
089e332980
chore: upgrade rc-image to 5.12.0 ( #38531 )
...
* test: add snapshot
2022-11-12 21:05:31 +08:00
kiner-tang(文辉)
796e8e16bf
fix: onBlur gets triggered when selecting date in RangePicker ( #38411 )
...
* feat: update picker version
* Update package.json
Co-authored-by: afc163 <afc163@gmail.com>
* feat: update test case
* feat: RangePicker blurDelay
Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-11-12 16:32:41 +08:00
lijianan
d52b8c6afb
type: type optimization ( #38510 )
2022-11-11 18:15:02 +08:00
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