bcd337
290aa1adf3
fix: error when target not an html element ( #29523 )
...
fix error when target is object but not an html element
2021-02-26 18:43:15 +08:00
叶枫
6e89866694
feat: 动画样式添加 prefix ( #29268 )
...
* feat: add prefix
* fix: 剩余
* fix: test
* fix: test
* fix: test
* fix: test
* fix: 传了 name 则使用传的
* fix: pop 添加 prefix
* fix: Ok OK ?
* fix: modal confirm
* fix: select
* fix: test
2021-02-08 17:09:13 +08:00
二货机器人
9914ceb6be
fix: Grid flexGap lazy check ( #29202 )
...
* fix: get flex gap support before render
* chore: patch unit
* chore: rename
* test: fix test case
2021-02-03 15:39:51 +08:00
陈帅
40f9be9417
megre Feature into master ( #29141 )
...
* feat: Allow user to configure the Tooltip in the Table header (#29002 )
* feat: Table header supports tooltipPlacement
* docs: add Table tooltipPlacement
* feat: Allow user to configure the Tooltip in the Table header
* fix: fix jsx and use old code style
* fix: replace if blocks with ternary operator
* docs: fix url
Co-authored-by: 偏右 <afc163@gmail.com>
* docs: fix url
Co-authored-by: harrisoff <john@smith.kyon>
Co-authored-by: 偏右 <afc163@gmail.com>
* fix: Row with gutter has additional gap (#29059 )
* chore: init gutter
* feat: col support gap
* chore: Update playground
* fix: Safari padding
* test: fix test case
* test: More test case
* docs: Update demo
* test: Update coverage
* test: Update test hack
* feat(input-number): add keyboard prop to support disable keyboard (#29110 )
Co-authored-by: Ant Design GitHub Bot <yesmeck+ant-design-bot@gmail.com>
Co-authored-by: Harrison <stlebea@foxmail.com>
Co-authored-by: harrisoff <john@smith.kyon>
Co-authored-by: 偏右 <afc163@gmail.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: Kermit <kermitlx@outlook.com>
2021-02-01 10:15:39 +08:00
Rick Zhou
986c709161
fix: styleForPseudo of wave should be added to ownerDocument instead of document ( #28995 )
...
* fix: styleForPseudo of wave should be added to ownerDocument instead of document
* fix lint error, reuse node from function parameter in wave.tsx
close #28934
2021-01-24 17:41:06 +08:00
Hossein Mohammadi
04bfa3c54f
chore: add prettier-plugin-jsdoc ( #28551 )
2020-12-28 15:30:18 +08:00
Germini
481335bbaa
chore: wave component isHidden function has not invaild hidden css attribute ( #28291 )
2020-12-10 12:16:06 +08:00
dependabot[bot]
775d1800bb
chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0 ( #28253 )
...
* chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 6.15.0 to 7.0.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.15.0...v7.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* chore: fix eslint style
* chore: prettier code style
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2020-12-09 17:12:32 +08:00
偏右
28d3d9038f
perf( 📦 ): remove @ant-design/css-animation ( #28201 )
...
* perf(📦 ): remove @ant-design/css-animation
* fix test case
* fix test case
2020-12-04 19:36:16 +08:00
Elaina Cherudim
52ceeafa7e
chore: optimize useModal performance - Do not trigger rerender of parent component ( #28122 )
2020-12-02 20:00:31 +08:00
二货机器人
388edca10b
refactor: UploadList use rc-motion
instead of rc-animate
( #27923 )
...
* chore: Update rc-motion version
* refactor: Move item into single file
* refactor: Use CSSMotion of progress bar
* chore: part style it
* chore: slit style of pic card
* chore: RM count-x
* support appendAction back
* chore: Style smooth
* fix progress makes shaking
* docs: clean up demo
* test: Update snapshot
* test: fix test case
* fix: lint
* test: Update snapshot
* test: coverage
* clean up
2020-11-21 19:00:11 +08:00
Hossein Mohammadi
8a1dfe8af1
chore: use rc-util istead of ref.ts ( #27920 )
...
ref.ts remove
2020-11-21 15:40:06 +08:00
Amumu
9b7da8640d
chore: replace raf with rc-util/lib/raf ( #27864 )
2020-11-20 12:11:50 +08:00
Tom Xu
44e41b5ced
refactor(trans-button): rewrite with hook ( #27743 )
...
* refactor(trans-button): rewrite with hook
* Update Base.tsx
* Update util.test.js
* Update transButton.tsx
* Update transButton.tsx
* Update transButton.tsx
* Update util.test.js
2020-11-18 11:20:31 +08:00
二货机器人
b8861dc483
refactor: Replace BackTop with rc-motion ( #27840 )
2020-11-17 23:03:07 +08:00
二货机器人
1a8bb04bf8
chore: Use rc-util composeRef ( #27821 )
2020-11-17 12:01:02 +08:00
Hossein Mohammadi
4b1000fb7f
fix: React 17 findDOMNode is deprecated ( #27755 )
...
* fix: use ref instead of findDOMNode
* chore: use fillRef in setAndForwardRef
* chore: use rc-util fillRef instead
* chore: use support ref
* test: removed empty class
* chore: use composeRef instead of setAndForwardRef
2020-11-16 16:46:46 +08:00
Tom Xu
5e85ce47a0
chore: improve useCombinedRefs ( #27352 )
2020-10-24 23:52:59 +08:00
Tom Xu
6e0981d1df
refactor(responsive-observe): improve typescript type ( #27305 )
2020-10-23 10:57:13 +08:00
Tom Xu
179ee276c9
refactor: improve useCombinedRefs code ( #27181 )
...
* improve: useCombinedRefs code
* change location
2020-10-16 10:21:21 +08:00
二货机器人
dcd97ca46e
Merge pull request #27055 from ant-design/master
...
chore: Feature merge master
2020-10-09 17:28:17 +08:00
Rain120
820aa04a96
fix: words spell error at the file of wave.tsx ( #27013 )
2020-10-07 02:09:08 +08:00
zombiej
358c7fa4c4
chore: feature merge master
2020-09-22 10:56:04 +08:00
偏右
fc5e0a9155
test: ✅ 100% coverage ( #26839 )
...
* test: isStyleSupport
* test: 100% test coverage
2020-09-21 18:32:24 +08:00
偏右
c979850a5b
test: ✅ Motion for Collpase and Menu ( #26828 )
...
* test: ✅ test menu and collapse motion
* chore: move openAnimation into collapse
* add test case
* rm extra openAnimation.tsx
* remove unused code
2020-09-20 21:13:43 +08:00
偏右
40cee55141
test: add test case for switch click effect ( #26815 )
2020-09-18 17:53:37 +08:00
偏右
83ddfb807e
test: ✅ Enable transition and animation in jest ( #26571 )
...
* test: ✅ add test cases to increase coverage
* test: fix snapshot
* fix: test node envioronment
* fix: test node envioronment
* fix test case
* test: refactor menu test cases
* test: update test code style
* test: add more menu test cases
* add comment
* test: update snapshot
* fix: alert test case
* fix: form onLeaveEnd test cov
* test: fix button click wave test cases
* chore: clean up snapshots
2020-09-18 16:53:18 +08:00
偏右
4a86b75c74
Merge pull request #26768 from ant-design/master
...
chore: merge master into feature
2020-09-16 14:49:19 +08:00
偏右
481fd209e2
chore: 🆙 upgrade typescript-eslint ( #26600 )
...
* chore: 🆙 upgrade typescript-eslint
* fix some lint
* fix: some eslint errors
* Update package.json
* chore: 🆙 upgrade typescript-eslint
* fix some lint
* fix: some eslint errors
* Update package.json
* fix no use before define
* Update package.json
* fix lint
Co-authored-by: yoyo837 <yoyo837@hotmail.com>
Co-authored-by: Tom Xu <ycxzhkx@gmail.com>
2020-09-16 11:43:55 +08:00
二货机器人
b713f457f0
Merge pull request #26630 from ant-design/master
...
chore: merge master into feature
2020-09-07 23:10:36 +08:00
偏右
a409f3126f
test: ✅ add test cases to increase coverage ( #26559 )
...
* test: ✅ add test cases to increase coverage
* chore: remove console
2020-09-03 13:36:23 +08:00
xrkffgg
09e19b765d
chore: merge master into feature #26557
2020-09-03 11:30:46 +08:00
二货机器人
0097d34d01
fix: Update rc-motion
deps & fix ssr ( #26542 )
...
* chore: Update rc-motion deps
* frame wheel not prevent scroll
* update ts
2020-09-02 18:30:27 +08:00
Will Soares
9101f3666a
feat: add support to responsive sizes in Avatar component ( #26244 )
...
fix lint and test failures
update avatar demo card title
update ts type check for undefined
2020-08-29 13:43:52 +08:00
Kermit Xuan
f98e3eee25
refactor: optimize code stle ( #26270 )
2020-08-19 09:50:04 +08:00
二货机器人
c6244382a7
chore: Replace rc-animation/lib/CSSMotion
to rc-motion
( #26044 )
...
* chore: bump version
* chore: update rest version
* clean up rc-trigger ts define
* clean up motion define
2020-08-05 21:23:15 +08:00
偏右
8eb4e83535
test: ✅ increase test covarage ( #25857 )
...
* test: ✅ increase test covarage
* fix test case
2020-07-28 17:54:46 +08:00
07akioni
01cec29a8e
feat: Message hooks API ( #25422 )
...
* chore: comment on usePatchElement
* refactor: conform message & notifaction code logic
* feat: message useMessage, wip
* feat: message.useMessage, it works now
* fix: promise on regular api
* feat: message hooks
* chore: fix lint
* chore: new line
* chore: revert new line
* refactor: prefixCls
* fix: prefixCls
* test: cov
* chore
* chore
* chore
* chore
* docs
* docs: message hooks faq
* test: remove useless config provider
* chore: remove some test codes
* chore
* docs: hooks version
2020-07-15 19:51:56 +08:00
07akioni
e5e44d2aae
refactor: Radio.Group use useMergedState ( #25539 )
2020-07-09 15:36:40 +08:00
zhangchen
26fa36083e
fix: ResponsiveObserve unsubscribe ( #25309 ) ( #25319 )
...
* fix: ResponsiveObserve unsubscribe (#25309 )
* fix: ResponsiveObserve unsubscribe (#25309 )
* fix: ResponsiveObserve unsubscribe
* test: add responsiveObserve.test.js
2020-07-02 10:46:47 +08:00
二货机器人
cfcd990efd
fix: Menu transition finished by opacity ( #25341 )
2020-07-01 15:41:55 +08:00
jesse
09bb61e738
perf: Radio Group usePrevious instead of useState ( #25122 )
...
* perf: Radio Group usePrevious instead of useState
* fix: only re-run if value changes
* perf: put usePrevious custom Hook in _util/ref.ts
* Generics instead of any
* update
2020-06-30 10:45:16 +08:00
偏右
637aa09bc5
chore: ✅ fix some eslint problems ( #24836 )
...
* 💄 fix lint
* 💄 fix lint
2020-06-08 18:01:50 +08:00
afc163
d039e32e6b
merge feature into master-to-merge-feature
2020-05-28 15:30:36 +08:00
Teng YANG
ccd2820ce7
fix : #24205 less class name prefix enhancement ( #24459 )
...
* replace ant class prefix with variable in mixin
* replace ant class prefix with variable in wave
2020-05-26 10:32:35 +08:00
偏右
4b485d393b
Merge pull request #24436 from ant-design/master
...
chore: merge master into feature
2020-05-25 11:50:02 +08:00
偏右
fdbf37a9c0
test: increase test case coverage ( #24430 )
...
* test: increase test case of Cascader
* test: increase test case of Grid and Tree
2020-05-24 23:52:25 +08:00
zombiej
508401cca4
add transBtn coverage
2020-05-23 15:19:24 +08:00
二货机器人
7de007100d
Merge pull request #24199 from ant-design/master
...
chore: Feature merge master
2020-05-16 12:30:58 +08:00
偏右
04ad7236e4
🐛 Fix Backtop cannot work in Chrome iframe ( #24194 )
...
close #24192
2020-05-15 23:16:49 +08:00