lijianan
6b4f94785c
chore: use React.useContext replace <Context.ConfigConsumer /> ( #40091 )
* chore: use React.useContext replace <Context.ConfigConsumer />
* add
2 years ago
lijianan
4b4e7cb6f2
fix: Transfer checkbox disabled error ( #40048 )
* fix: Transfer checkbox disabled error
* add test case
2 years ago
lijianan
ae67ad20c5
fix: fix Checkbox not disabled when itemsLits is empty ( #40038 )
* fix: fix Checkbox not disabled when itemsLits is empty
* revert
* fix
* update snap
* fix: update snap
* update snap
* update snap
* revert
2 years ago
lijianan
c5ab5971fd
refactor: (TransferBody) CC => FC ( #39988 )
* fix
* fix
* fix type
* rerun ci
* fix
* fix
* fix
* fix
* rename
* add useMemo
* fix
* Code style optimization
* Code style optimization
* fix
* fix
* remove useMemo
2 years ago
lijianan
dc2686d7eb
refactor: (Transfer) CC => FC ( #39958 )
* refactor: (Transfer) CC => FC
* add
* fix
* add
* add
* fix
* fix
* add displayName
* add useEffect
* fix
* add useMergedState
* add
* fix
* fix
* fix snap
* rerun
* rerun ci
* rename
2 years ago
lijianan
b44b4e7705
refactor: (Transfer) CC => FC ( #39944 )
* refactor[Transfer]: CC => FC
* add
* revert
* fix
* revret
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
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens ( #38722 )
2 years ago
JarvisArt
a41e14dfaf
feat: Dropdown support menu and dropdownRender ( #37885 )
2 years ago
lijianan
8054769307
refactor: delete defaultprops ( #38154 )
* refactor: delete defaultprops
* test: add test
* fix: fix
2 years ago
lijianan
3d33c34010
chore: use includes instead indexOf ( #38139 )
* chore: use includes instead indexOf
* fix: fix
2 years ago
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2 years ago
Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
3 years ago
二货机器人
5b8e4e51e9
chore: Compatible for @types/react@18 ( #34937 )
* chore: bump types def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: free --legacy-peer-deps
* chore: ignore peer
* chore: fix ts logic
* chore: use fork docsearch
* chore: fix demo ts
3 years ago
二货机器人
a67d39cd6c
feat: Menu support `items` ( #34559 )
* docs: Update Menu cn doc
* chore: update ts def
* chore: support convert
* docs: more demo
* docs: more demo
* docs: all menu demos
* docs: dropdown demo
* docs: dropdown all demos
* docs: update demo
* test: coverage
* docs: more demo
* docs: layout demo
* docs: all demo
* chore: fix ts lint
* docs: fix doc
* docs: all docs
3 years ago
afc163
38b94e5aeb
fix: Transfer menu item key warning ( #32578 )
* fix: Transfer menu item key warning
close #32574
* chore: skip tree demo in UI test
3 years ago
renovate[bot]
14fa342da3
chore(deps): update dependency eslint to v8 ( #32501 )
* chore(deps): update dependency eslint to v8
* fix eslint errors
* fix eslint errors
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: afc163 <afc163@gmail.com>
3 years ago
afc163
c0ff844bf7
fix: Transfer showSelectAll={false} should hide dropdown ( #31746 )
close #31728
3 years ago
xrkffgg
5d8b46ce85
feat: Transfer support customize footer ( #31108 )
close #28082
3 years ago
Jehu
a350421b6a
feat: Transfer support locale.notFoundContent as array ( #31088 )
* feat: transfer support locale.notFoundContent as array
* feat: transfer support locale.notFoundContent as array with test
3 years ago
afc163
13a829d20c
fix: classNames typing errors ( #30018 )
4 years ago
afc163
99289a0856
style: better Checkbox/Radio label text layout ( #29788 )
* style: optimize checkbox label text layout
* style: optimize radio label text layout
* fix transfer checkbox position
* fix checkbox align issue in Transfer
* fix snapshot
4 years ago
二货机器人
317c6469a2
Revert "feat: add api for transfer ( #29288 )" ( #29541 )
This reverts commit 15580483ce
.
4 years ago
Eating-Eating
15580483ce
feat: add api for transfer ( #29288 )
* feat: add api for transfer
* feat: Transfer new feature
* Update components/transfer/__tests__/index.test.js
Co-authored-by: afc163 <afc163@gmail.com>
* Update components/transfer/demo/advanced.md
Co-authored-by: afc163 <afc163@gmail.com>
* Update components/transfer/index.en-US.md
Co-authored-by: afc163 <afc163@gmail.com>
* Update components/transfer/index.tsx
Co-authored-by: afc163 <afc163@gmail.com>
* fix: change another way
* fix: add test
* fix: defaultFooterRender test failed
* fix: comment in English
* fix: delete unnecessary blank line
* fix: fix describe error
* fix: add version and Type Guard
* fix: transfer docs
* fix: docs
* fix: docs grammar err
Co-authored-by: SimpleZhang <simplezhang@yeahka.com>
Co-authored-by: afc163 <afc163@gmail.com>
4 years ago
二货机器人
4315ac567c
chore: replace omit ( #28846 )
* chore: Replace omit.js with rc-util omit
* chore: Replace omit.js with rc-util omit
* fix ts
* fix ts
* fix ts
4 years ago
Hossein Mohammadi
04bfa3c54f
chore: add prettier-plugin-jsdoc ( #28551 )
4 years ago
Jack
e6254885bd
fix: titles of TransferProps type to ReactNode ( #28326 )
4 years ago
不吃猫的鱼
20bdbb34ae
fix: introduce generic type for transfer item ( #27630 )
4 years ago
偏右
152cf6f6f5
fix: Transfer filterOption not trigger by spaces ( #26335 )
close #26208
4 years ago
偏右
75d7038691
chore: update @ant-design/icons import way ( #24467 )
5 years ago
二货机器人
2afab58ac8
chore: small bundle size follow up ( #24164 )
* update config
* replace react function
* fix alert
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
偏右
bd97e7254a
chore: use react internal replace PureRenderMixin ( #21876 )
5 years ago
Teng YANG
347fea69ee
feat: resolve #20728 customize header checkbox labels in Transfer ( #21139 )
* add checkboxLabels prop in Transfer
* change prop to `selectAllLabels` and add demo
* update transfer demo test snapshot
* refine param in one object and update demo
5 years ago
Teng YANG
5fcd73c371
fix transfe checkbox label unit calculate issue ( #21136 )
5 years ago
偏右
8501b708ea
refactor: 📦 smaller bundlesize limit ( #20356 )
* 📦 samller bundlesize limit
* 🗑️ remove React static PropTypes
* 🗑️ remove react-lifecycles-compat
* 🗑️ remove matchMedia polyfill
* 🗑️ remove Transfer buggy lazy prop
* 🗑️ remove enquire.js dep
* 🗑️ remove Transfer lazy related code and fix ci
* 🗑️ remove used dom-closest
* ⚡ replace dom-scroll-into-view to scroll-into-view for bundle size
* ✅ fix eslint
* 🆙 upgrade browserslist
* ✅ fix test cases
* 🗑️ remove @ant-design/create-react-context
* 🆙 upgrade @ant-design/bisheng-plugin
* 🆙 upgrade rc-slider
* ✅ fix ci
* 🆙 upgrade rc-tabs and rc-mentions
* 📦 scroll-into-view -> scroll-into-view-if-needed
* remove unused devDep
* docs: 📝 update instruction about IE9/10
* 📦 reduce css bundle size by drop IE9/10 support
* 🆙 upgrade rc-upload
* 🗑️ drop unused swing motion css
* ✅ update upload snapshots
* 📦 lift css bundlesize limit to 55kb
5 years ago
orzyyyy
63b33d4020
fix: unexpected changes of snapshots
5 years ago
vagusX
eac30ec8e4
Feat/remove deprecated ( #17510 )
* feat: remove warnings for linkRender, nameRender in Breadcrumb
* feat: remove warnings for onOpen, onClose in Menu
* feat: remove warnings for overlay in Popover
* feat: remove warnings for columnsPageRange, columnsPageSize in Table
* feat: remove warnings for afterClose in Tag
* feat: remove warnings for notFoundContent, searchPlaceholder, body, onSearchChange in Transfer
* fix: types in Transfer
* feat: update test cases in Transfer
* feat: add additional test cases for removed deprecated apis
5 years ago
zombieJ
10fec945e5
fix: Transfer render Empty when customize without data ( #16925 )
6 years ago
Nihal Saxena
ff8d37f811
refactor: Render function size reduce ( #16244 )
* updated after resolving conflicts
* lint error fixes
6 years ago
zombieJ
543b620dd2
feat: Support Transfer render ( #16026 )
* clean up
* refactor select all logic
* omit old api to render children
* add search
* remove useless code
* fix logic
* Table demo
* update demo
* fixed min-height
* fix normal style
* style update
* update snapshot
* update snapshot
* update version
* update doc
* update md desc
* update test case
* fix test typo
* update demo
* update snapshot
* typescript correction
* update docs
* add Tree Transfer demo
* default expand all
* update demo
6 years ago
eidonjoe
5d025522e8
fix transfer ref ( #14441 )
* fix transfer ref
* delete transfer list search ref
6 years ago
zombieJ
343a7a9c3a
remove ul when list is empty ( #14390 )
6 years ago
HarlanLuo
476ace8aae
Transfer: fix search-not-found block sometimes not show in edge
6 years ago
陈帅
8e11f0bdb9
merge support prettier
6 years ago
陈帅
dca9715186
support prettier
6 years ago
zombiej
7643195be1
Transfer disabled should also disable search box
fix #13330
6 years ago
Wei Zhu
ee84f4ce0a
fix: some type definitions
6 years ago
zombieJ
f9dd709e2f
Transfer support disabled ( #12084 )
6 years ago
afc163
a516358298
Fix wired Transfer repaint problem in IE or Edge
close #9697
https://stackoverflow.com/q/27947912/3040605
6 years ago