二货爱吃白萝卜
87f13b3ddc
fix: Popconfirm loading should finish ( #41121 )
* fix: Popconfirm loading should finish
* chore: update bug version
2 years ago
Rafael Martins
14dd2cdcdb
fix: confirm modal firing onOk event twice ( #40719 )
* fix: confirm modal firing onOk event twice (#40272 )
* fix: use loading state instead using disabled
* test: update test to use mock timer
---------
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
二货爱吃白萝卜
86b5c50cb4
refactor: Tooltip support auto arrow & auto shift ( #40632 )
* chore: adjust doc
* chore: simplify arrow offset
* chore: auto adjust shift
* docs: adjust demo
* chore: update snapshot
* chore: provide ref
* test: prepare
* chore: update deps
* test: fix part test
* test: fix part test
* test: fix part test
* test: fix part test
* test: fix part test
* test: update snapshot
* fix: missing pure render
* fix: Popover pure panel
* test: update snapshot
* test: update tour snapshot
* chore: bump trigger ver
* test: fix render ssr logic
* test: skip unnecessary case
* test: fix test case
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: fix test case
* test: fix test case
* chore: clean up useless warning
* test: add check for placement
* chore: ignore default
2 years ago
luo3house
98cf6b582e
fix(wave): validate detached dom node's wave style ( #40307 )
2 years ago
kiner-tang(文辉)
8b3868ac63
feat(tooltip): tooltip support arrow prop ( #40234 )
* feat: tooltip support arrow props
* docs: update docs
* chore: update rc-tooltip version
* feat: update snapshots
* feat: update snapshots
* style: format code
* Update components/tooltip/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* Update components/tooltip/index.zh-CN.md
Co-authored-by: MadCcc <1075746765@qq.com>
* Update components/tooltip/demo/arrow.md
Co-authored-by: MadCcc <1075746765@qq.com>
* Update components/tooltip/demo/arrow.md
Co-authored-by: MadCcc <1075746765@qq.com>
* feat: code optimize
* docs: update docs
* feat: code optimize
* feat: del doc
* feat: update snapshots
* feat: update snapshots
* feat: update snapshots
* feat: refactor dropdown arrow style
* feat: comment
* Update components/tooltip/demo/arrow.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* feat: popover support arrow prop
* feat: tour arrow style optimize
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: update test case
* feat: update test case
* feat: update test case
* Update components/popover/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* Update components/tooltip/index.zh-CN.md
Co-authored-by: MadCcc <1075746765@qq.com>
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
Co-authored-by: MadCcc <1075746765@qq.com>
2 years ago
lijianan
28d1157d6b
type: optimization undefined type ( #40241 )
* type: optimization undefined type
* fix type
* fix type
* add
* revert
* revert
* revert
2 years ago
二货爱吃白萝卜
96c0c21139
chore: adjust wave pos ( #40192 )
* chore: adjust wave pos
* chore: patch check
* chore: update post
2 years ago
lijianan
8501adbd84
fix: add displayName ( #40092 )
* fix: add displayName
* rerun ci
* rerun ci
2 years ago
lijianan
130c22ab03
style: Code style optimization ( #40083 )
* style: Code style optimization
* add
* rename
* rename
* revert
* revert
* revert
* add
2 years ago
Peter Gassner
25ea3a7202
fix: Allow users to handle promise rejections in ActionButton's onOk callback ( #40018 )
* fix: Allow users to handle promise rejections in onOk callback
Components that rely on ActionButton swallow rejected promises. This makes it impossible for userland code to handle them.
* polish: Fix linting problems
* polish: Return rejected promise instead of throwing
* refact: Remove test for unhandled promise rejection
This test breaks when run in parallel by Jest. At the moment we have no way of changing the way Jest works and it prohibits us from testing for "unhandledRejection" events.
See: https://github.com/ant-design/ant-design/pull/40018#issuecomment-1373590259
* test: hack for rejection
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
Wuxh
7f189d56e5
refactor: merge preset colors ( #39742 )
* style: remove redundant code
* feat(style): add preset colour style generation method
(cherry picked from commit 1266e42ba27accb48a6544e3eddaa4a94daef00c)
* feat: uniform preset colour generation css selector method
(cherry picked from commit 5af87e8d5ffcfd23e755946167f200c0565f8222)
* chore: merge preset colors
(cherry picked from commit 05040dfb703f60a3ea1715326748c508acbf41a6)
* chore: update
(cherry picked from commit 241b40a1361469487a6a3e8f1ad07a25d250463d)
* chore: remove Badge preset inverse colors
* chore: remove fix
删除的这部分其实一个 Bug,但是为了给 PR 减负(尽可能单一, 后面新开一个 PR 来修复这个问题
* suggestions accepted
Update components/style/presetColor.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2 years ago
二货爱吃白萝卜
99b32a3c37
fix: wave target position switch ( #39966 )
* fix: Node delay for wave pos
* test: test case update
* test: test case update
* chore: update ignore
* test: test case update
* chore: resize check for size changing
* test: coverage
* chore: save code
2 years ago
二货爱吃白萝卜
9f7b129c41
fix: Button wave follow issue ( #39954 )
* fix: Button wave follow issue
* test: update test case
* chore: fix lint
2 years ago
lijianan
3ed7ec906e
chore: remove useless tsx support ( #39890 )
* chore: remove useless tsx support
* add
* add
* style
* fix lint
* fix lint
* fix lint
* update locale entry
* update locale entry
* update locale entry
* delete useless style
2 years ago
lijianan
dedbbda5f2
type: LiteralUnion optimization ( #39871 )
2 years ago
lijianan
4f16966e28
refactor[Wave]: CC => FC ( #39705 )
* fix
* refactor[Wave]: CC => FC
* fix lint
* fix
* fix
* fix
* add test case
* add test case
* fix test
* fix test
* test case
* add test case
* fix
* fix
* fix
* fix
* raname
* fix
* test case
* test case
* test case
* fix test
* test case
* refactor: Use React way
* test: coverage
* chore: clean up
* rerun fail ci
* fix: React 17 error
* test: fix test case
* test: fix test case
* fix borderRadius
* test: fix test case
* chore: clean up
* chore: clean up
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
lijianan
9aec72c395
chore: remove useless tsx support ( #39890 )
* chore: remove useless tsx support
* add
* add
* style
* fix lint
* fix lint
* fix lint
* update locale entry
* update locale entry
* update locale entry
* delete useless style
2 years ago
lijianan
d55d39b811
type: LiteralUnion optimization ( #39871 )
2 years ago
lijianan
4e45276c4e
refactor[Wave]: CC => FC ( #39705 )
* fix
* refactor[Wave]: CC => FC
* fix lint
* fix
* fix
* fix
* add test case
* add test case
* fix test
* fix test
* test case
* add test case
* fix
* fix
* fix
* fix
* raname
* fix
* test case
* test case
* test case
* fix test
* test case
* refactor: Use React way
* test: coverage
* chore: clean up
* rerun fail ci
* fix: React 17 error
* test: fix test case
* test: fix test case
* fix borderRadius
* test: fix test case
* chore: clean up
* chore: clean up
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
sea、lucky
f488cb871b
fix(antd/transfer): transfer performance optimization while dataSourc… ( #39465 )
* fix(antd/transfer): transfer performance optimization while dataSource is large
* fix(antd/transfer): unified function format of transKeys util file
* fix(antd/transfer): transKeys Map Structure Adjustment
2 years ago
Wuxh
951e0e2c79
fix(list): fix error reported due to incorrect paginator parameters ( #39681 )
* fix(list): fix pagination parameter error
* test: add case
* test: update snapshot
* chore: update case
* feat(util): add mergeProps
ref: 3c87f1c5b1/src/utils/with-default-props.tsx (L5)
* chore: replace method
* chore: rename
2 years ago
azro352
328a800132
test: add test cases for breakpoints customize ( #39697 )
Rename useResponsiveObserve to useResponsiveObserver. Add validation of breakpoints values and test
2 years ago
lijianan
120db80c25
type: Button type optimization ( #39533 )
* type: type optimization
* fix type
* fix type
* fix type
* update docs
2 years ago
azro352
18400fbdee
Make breakpoints use the token feature ( #39105 )
* Add XXXL size
* Update index.zh-CN.md
* Update components/list/index.zh-CN.md
Co-authored-by: Amumu <yoyo837@hotmail.com>
* Try to use `useToken` for building responsiveMap
* Try useResponsiveObserve
* Fix useResponsiveObserve
* Some try
* Some try
* Some try
* Remove impossible test
* Remove impossible test
* Fix token.screenXSMax
* Try to put test back as token.screenXSMax is fixed
* Remove impossible test now
* Subscribers, subuid and screen are no longer static
* reorganize def
* chore: not affect no-related file
* chore: not affect no-related file
* test: update test case
* chore: adjust memo logic
Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
lijianan
12543277b7
type: remove tuple、tupleNum、ElementOf ( #39478 )
* type: remove tuple
* type: remove tuple
* type: remove tuple
* fix
* fix
* fix type
* fix type
* fix type
* fix type
* fix type
* Update ColorPicker.tsx
* Update components/badge/utils.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* fix type
* fix type
* fix type
* fix
* fix
* fix type
* fix type
* fix type
* update snap
* update snap
Co-authored-by: MadCcc <1075746765@qq.com>
2 years ago
lijianan
4efa3b2896
test: `console.error` should nullable in Console ( #39050 )
2 years ago
MadCcc
5d9cb2e50d
refactor: Optimize theme export and add docs ( #38902 )
* refactor: Optimize theme export and add docs
* chore: fix lint
* chore: fix lint
* chore: fix lint
2 years ago
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens ( #38722 )
2 years ago
lijianan
52cb37f487
chore: remove throttleByAnimationFrameDecorator ( #38693 )
* chore: remove throttleByAnimationFrameDecorator
* fix
* fix
2 years ago
二货机器人
a33e344546
fix: lint
2 years ago
lijianan
d52b8c6afb
type: type optimization ( #38510 )
2 years ago
lijianan
d292257e47
chore: type optimization ( #38460 )
2 years ago
lijianan
038c9d0763
type: optimization React.useRef type ( #38388 )
2 years ago
lijianan
de1ab2c7f1
fix: add white color ( #38291 )
2 years ago
lijianan
3d33c34010
chore: use includes instead indexOf ( #38139 )
* chore: use includes instead indexOf
* fix: fix
2 years ago
lijianan
769cb3c79a
style: remove repeate method ( #38133 )
* style: remove repeate method
* fix: del break
2 years ago
Zheeeng
e91d25622b
chore: signatures for tests ( #37949 )
* fix: signatures for tests
* fix: remove unused
* fix: test cases
* fix: test cases
2 years ago
lijianan
a2de8f7b2e
chore: add isValidElement for isFragment ( #38056 )
2 years ago
lijianan
71cfa31728
test: add test case ( #38015 )
2 years ago
hms181231
7709970d81
test: Update util test case sleep to useFakeTimers and deprecated HTMLDocument, use Document instead ( #37984 )
* test: Update util test case sleep to useFakeTimers and deprecated HTMLDocument, use Document instead
* test: Update util test case sleep to useFakeTimers
2 years ago
二货机器人
069e44bcc3
chore: merge master
2 years ago
二货爱吃白萝卜
d9b6bc7539
fix: In shadow root inject style logic ( #37677 )
2 years ago
二货爱吃白萝卜
24d2074ca4
fix: PurePanel width measure ( #37624 )
* fix: PurePanel width measure
* test: Update snapshot
2 years ago
MadCcc
3515a40706
refactor: ConfigProvider theme API update ( #37568 )
* refactor: ConfigProvider theme support component alias
* test: fix test case
* chore: code clean
* test: fix lint
* test: fix tsx-demo
2 years ago
lijianan
1922ad3512
type: strong type ( #37481 )
2 years ago
dependabot[bot]
7e7c47509f
chore(deps-dev): bump eslint-plugin-jest from 26.9.0 to 27.0.1 ( #37291 )
* chore(deps-dev): bump eslint-plugin-jest from 26.9.0 to 27.0.1
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest ) from 26.9.0 to 27.0.1.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases )
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v26.9.0...v27.0.1 )
---
updated-dependencies:
- dependency-name: eslint-plugin-jest
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* chore: fix eslint errors in test files
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>
2 years ago
二货机器人
aa00b93ab8
test: force clean up
2 years ago
二货机器人
2b38025710
chore: resolve dayjs conflict
2 years ago
lijianan
dd31d7775a
test: migrate part of utils tests ( #37155 )
* test: migrate part of utils tests
* test: migrate part of utils tests
* test: migrate part of utils tests
2 years ago
二货爱吃白萝卜
94edd8e917
refactor: Select like PurePanel remove motion and support auto width ( #37117 )
* refactor: Pure support open
* chore: fit content size
* test: Update snapshot
* test: back of snapshot
* test: ignore purePanel
2 years ago