Hossein Mohammadi
8a1dfe8af1
chore: use rc-util istead of ref.ts ( #27920 )
ref.ts remove
4 years ago
Amumu
9b7da8640d
chore: replace raf with rc-util/lib/raf ( #27864 )
4 years ago
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
4 years ago
二货机器人
b8861dc483
refactor: Replace BackTop with rc-motion ( #27840 )
4 years ago
二货机器人
1a8bb04bf8
chore: Use rc-util composeRef ( #27821 )
4 years ago
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
4 years ago
二货机器人
c373710ce2
chore: Adjust collapse arrow position align with first line ( #27363 )
* fix: border style of Input.Search when allowClear (#27325 )
* fix: border style of Input.Search when allowClear
* fix css
* update
* change name
* docs: 4.7.3 changelog (#27350 )
* docs: 4.7.3 changelog
* docs: Patch 27325
* chore: improve useCombinedRefs (#27352 )
* docs: 📝 update introduce
* chore: fix API table border
* chore: Adjust collapse arrow position align with first line
Co-authored-by: xrk <xrkffgg@gmail.com>
Co-authored-by: Tom Xu <ycxzhkx@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
4 years ago
Tom Xu
5e85ce47a0
chore: improve useCombinedRefs ( #27352 )
4 years ago
Tom Xu
6e0981d1df
refactor(responsive-observe): improve typescript type ( #27305 )
4 years ago
Tom Xu
179ee276c9
refactor: improve useCombinedRefs code ( #27181 )
* improve: useCombinedRefs code
* change location
4 years ago
Rain120
820aa04a96
fix: words spell error at the file of wave.tsx ( #27013 )
4 years ago
偏右
fc5e0a9155
test: ✅ 100% coverage ( #26839 )
* test: isStyleSupport
* test: 100% test coverage
4 years ago
偏右
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
4 years ago
偏右
40cee55141
test: add test case for switch click effect ( #26815 )
4 years ago
偏右
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
4 years ago
偏右
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>
4 years ago
偏右
a409f3126f
test: ✅ add test cases to increase coverage ( #26559 )
* test: ✅ add test cases to increase coverage
* chore: remove console
4 years ago
二货机器人
0097d34d01
fix: Update `rc-motion` deps & fix ssr ( #26542 )
* chore: Update rc-motion deps
* frame wheel not prevent scroll
* update ts
4 years ago
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
4 years ago
Kermit Xuan
f98e3eee25
refactor: optimize code stle ( #26270 )
4 years ago
二货机器人
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
4 years ago
偏右
8eb4e83535
test: ✅ increase test covarage ( #25857 )
* test: ✅ increase test covarage
* fix test case
4 years ago
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
4 years ago
07akioni
e5e44d2aae
refactor: Radio.Group use useMergedState ( #25539 )
4 years ago
zhangchen
26fa36083e
fix: ResponsiveObserve unsubscribe ( #25309 ) ( #25319 )
* fix: ResponsiveObserve unsubscribe (#25309 )
* fix: ResponsiveObserve unsubscribe (#25309 )
* fix: ResponsiveObserve unsubscribe
* test: add responsiveObserve.test.js
4 years ago
二货机器人
cfcd990efd
fix: Menu transition finished by opacity ( #25341 )
4 years ago
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
4 years ago
偏右
637aa09bc5
chore: ✅ fix some eslint problems ( #24836 )
* 💄 fix lint
* 💄 fix lint
5 years ago
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
5 years ago
偏右
fdbf37a9c0
test: increase test case coverage ( #24430 )
* test: increase test case of Cascader
* test: increase test case of Grid and Tree
5 years ago
zombiej
508401cca4
add transBtn coverage
5 years ago
偏右
04ad7236e4
🐛 Fix Backtop cannot work in Chrome iframe ( #24194 )
close #24192
5 years ago
Tom Xu
9f633bc002
chore: getScroll add more test ( #24180 )
* chore: getScroll add more test
* Update getScroll.test.js
5 years ago
Tom Xu
159d42fda8
chore: scrollTo add more test ( #24177 )
5 years ago
二货机器人
2afab58ac8
chore: small bundle size follow up ( #24164 )
* update config
* replace react function
* fix alert
5 years ago
二货机器人
2e284aa017
chore: small bundle size ( #24135 )
* update warning
* rm warning
* replace with dev warning
* fix test
* fix site
* Update webpack.config.js
Co-authored-by: 偏右 <afc163@gmail.com>
* Update webpack.config.js
* fix sytax
* adjust
* move into function
Co-authored-by: 偏右 <afc163@gmail.com>
5 years ago
二货机器人
b0e528d14c
feat: Transfer support `oneWay` ( #24041 )
* use flex
* show clear btn
* support one way
* add dropdown
* add pagination
* support pagination
* use flex
* operation stretch
* pagination works
* update selection logic
* no need to show checkbox on pagination
* fix tree demo
* support invert selection
* remove current pages
* update style
* update snapshot
* clean up
* update test case
* update test case
* update snapshot
* fix lint
* add deps
* update doc
* update hover style
* update hover checked style
* adjust demo & active region
* fix lint
* update snapshot
5 years ago
Jinke Li
f250b2fa29
Feature: support custom cell ellipsis tooltip ( #24056 )
* feat: add transformFile optionfor transform file before request
* feat: bump rc-upload 2.7.0
* feat(Upload): optimize doc
* feat: support custom cell ellipsis tooltip
* tests: update snapshots
* docs: update table ellipsis demo
* tests: update snap
5 years ago
偏右
22c313d032
chore: 🔨 replace css-animation by @ant-design/css-animation ( #23932 )
* 🆙 use @ant-design/css-animation
* fix ci
* fix ci
5 years ago
Amumu
245deed4b6
fix proper react import again ( #23762 )
5 years ago
二货机器人
efbb2849dc
fix: Tree with quick `loadData` frozen the virtual scroll ( #23581 )
* update version
* add deadline
* clean up
5 years ago
pdeva
3e22b505a3
fix: proper react import ( #23381 )
* proper react import
fix for #22708
* update iconutil in select
* update in tree component
5 years ago
Chiciuc Nicușor
eb90c5b0a0
fix: Use ElementOf<T> instead of array indexing ( #23132 )
5 years ago
Jay Fong
b41301b168
chore(Tag): improve color types ( #22999 )
5 years ago
偏右
c6a1c3f743
✅ test TransButton focus and blur ( #22979 )
5 years ago
Eric Wang
316b925f94
chore: Use unreachable exception in favor of type safety ( #22933 )
* Use unreachable exception in favor of type safety
* Add tests
* add test
5 years ago
Chiciuc Nicușor
f67d09b28e
fix: Extract type of the element of a tuple without indexing. ( #22916 )
* Extract type of the element of a tuple without indexing.
* Amend ElementOf<T> to also support readonly arrays.
5 years ago
偏右
b369717181
chore: 🦄 Add eslint-plugin-unicorn ( #22883 )
* 🦄 Add eslint-plugin-unicorn
* fix eslint errors
* fix eslint errors
* fix lint demo
* fix lint demo
5 years ago
偏右
aca2656721
fix: ⬆️ BackTop not working in iframe ( #22788 )
* docs: 🎬 improve BackTop demo
* fix Backtop not working in iframe
* fix lint
* fix ci
* fix ci
* ✅ add more test case
* ✅ add more test cases
* fix ci
5 years ago
偏右
66f67051af
test: ✅ improve test for requestAnimationFrame ( #22433 )
* test: improve test for requestAnimationFrame
* ✅ fix test coverage
* fix test case
* fix test case
5 years ago