afc163
12d98f9ed6
chore: update snapshot due to rc-trigger bumped ( #35106 )
3 years ago
afc163
30ac6bd4e4
test: wrap React.StrictMode for test cases ( #35026 )
* test: React StrictMode
* test: fix Spin test
* chore: wrapper enzyme
* test: fix setState
* test: more test cover
* test: more test cover
* test: more test cover
* test: more test cover
* test: more test cover
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: disable part of it
* test: fix test & add placeholder
* test: Use orign enzyme mount
Co-authored-by: zombiej <smith3816@gmail.com>
3 years ago
MadCcc
1c8e499f9c
test: migrate some test case to testing-library ( #35062 )
* test: migrate some test case to testing-library
* chore: code clean
* test: fix stylelint
* test: test case
3 years ago
afc163
0f0e2f9f43
docs: simplify demo code, #30853 ( #35050 )
3 years ago
二货机器人
67ccf39bd3
fix: Notification & message throw `createRoot` warning in React 18 ( #35030 )
* chore: bump notification version
* test: notification test case
* test: more test case
* test: part message test
* test: rest message test
* test: notification config test
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
二货机器人
a67c0d28d3
fix: react 18 test fixing ( #34787 )
* fix: try fix
* chore: ci
* test: recover
* test: more test case
* test: more and mote
* test: btn test
* fix: react 18 compitable
* chore: more test
* test: all confirm test
* chore: tmp
* chore: test lib
* chore: tmp
* chore: tmp
* test: back of part
* test: back of menu index test
* test: more test
* test: form test
* test: rm IE11 test case
* chore: fix compatible
* chore: clean up
* chore: back of all test case
* test: ignore 18 lines
* chore: remove render test of enzyme in upload
* test: back of IE11 test case to fit 100% coverage
* chore: fix pkg deps
3 years ago
Dzmitry Yarmoshkin
1a8a5ee06f
fix: add aria-checked prop to checkbox ( #34862 )
* fix: add aria-checked prop to checkbox
* fix: update snapshots
* fix: update aria-checked logic and snapshots
* refactor: change props order
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: Dzmitry Yarmoshkin <dzmitry_yarmoshkin@epam.com>
Co-authored-by: afc163 <afc163@gmail.com>
3 years ago
MadCcc
6776bb8916
docs: demo support react18 ( #34843 )
* docs: update demo
* chore: add script
* test: fix demo test
* docs: convert demos
* chore: move script
* test: remove react-dom import
* chore: update deps
* docs: update riddle js
* test: fix image test
* docs: fix riddle demo
3 years ago
MadCcc
0de1e66ff1
refactor: move override code in form ( #34694 )
* refactor: move override code in form
* refactor: radio and checkbox
* chore: code clean
* test: fix lint
* test: fix lint
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
Fisher
793b61e9db
fix(transfer): footer类型定义支持direction ( #34337 )
3 years ago
MadCcc
868a17736a
fix: status less compile error ( #34350 )
3 years ago
MadCcc
bfebb88bdb
feat: introduce rc-input ( #34206 )
* feat: introduce rc-input
* fix: export InputRef alias
* docs: fix demo
* chore: code clean
* test: fix lint
* test: test coverage
* chore: code clean
* chore: code clean
* test: update snapshot
3 years ago
MadCcc
ca15cc9b0a
feat: transfer support status ( #34098 )
* feat: transfer support status
* docs: update demo
3 years ago
二货机器人
31fb55adf3
chore: btn default provide default cls ( #34013 )
3 years ago
Jase Owens
b53d12db65
feat: Exposes additional props for pagination component on transfer ( #33954 )
* Exposes additional props for pagination component on transfer
* feat: Improve transfer pagination customization
* feat: Improve transfer pagination customization
3 years ago
二货机器人
2df11184f4
test: Demo check popup content ( #33378 )
* auto demo
* chore: update demo snapshot
* fix: trigger mock ref logic
* chore: try 2 test case
* chore: more snapshot
* chore: update snapshot
* chore: fix ts
* chore: split test
* test: Update test case
* chore: fix test order
3 years ago
afc163
b34f72b1b6
test: fix ci warnings ( #33160 )
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
dependabot[bot]
b445baa001
chore(deps-dev): bump stylelint-config-prettier from 8.0.2 to 9.0.2 ( #32451 )
* chore(deps-dev): bump stylelint-config-prettier from 8.0.2 to 9.0.2
Bumps [stylelint-config-prettier](https://github.com/prettier/stylelint-config-prettier ) from 8.0.2 to 9.0.2.
- [Release notes](https://github.com/prettier/stylelint-config-prettier/releases )
- [Commits](https://github.com/prettier/stylelint-config-prettier/compare/v8.0.2...v9.0.2 )
---
updated-dependencies:
- dependency-name: stylelint-config-prettier
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* chore: autofix stylelint errors
* chore: autofix stylelint errors
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
3 years ago
ajuner
72f728be57
docs(transfer): zh-CN operationStyle ( #32347 )
3 years ago
二货机器人
5161e9c671
feat: Tree support draggable handler ( #32306 )
* chore: Add draggable style
* chore: Add handler style
* refactor: Add dragging style
* chore: merge api
* chore: test case
* docs: Update doc desc
* test: More coverage
* chore: bump version
* test: Update snapshot
3 years ago
二货机器人
e13c4d4131
fix: Less Maximum call stack size exceeded error ( #32063 )
* chore: create additional entry
* fix: rm recv call
* chore: Add default.less as index.less
* chore: update entry
* fix: row should also translate
* chore: rename index-default to index and add index-pure instead
* fix: missing transfer customize styl
3 years ago
二货机器人
36bcaaef85
Add `variable.less` to support css variable ( #31496 )
* chore: use varaible.less
* chore: basic primary varaible
* chore: Move to variable
* chore: align active color
* chore: global fix of css variable
* chore: primary colors
* chore: button danger
* chore: btn default error color
* chore: button series
* chore: More examples
* chore: More components
* chore: Form demo
* chore: form style
* fix: Tag & Alert variable
* chore: update footer
* chore: rm tmp code
* chore: transfer
* fix: picker column active color
* chore: Adjust active bg color
* chore: table hover color
* chore: all css variables
* chore: Global using variables
* chore: Test case
* chore: Update test logic
* chore: back of default less
* chore: entry of site use proxy style
* chore: update entry
* chore: split of variables
* refactor: quick dist speed
* fix: site use variable version
* chore: Update less config
* chore: add mv script
* chore: Update repalcement script
* chore: Add inject variables
* chore: Update script
* fix: script path
* chore: Move to component instead
* chore: fix condition
* chore: update config
* chore: Update in less transform
* chore: Modify logic
* chore: change to variables
* chore: Update name
* fix: script name
* chore: do inject
* revert: back of path
* chore: 2 way of generate
* bump tools
* chore: Add auto replacement script
* chore: auto genrate less file
* chore: fix test
* test: More test case
* chore: Update limit config
* test: coverage
* docs: Update doc
3 years ago
afc163
9c17f94cab
feat: Table filterMode and filterSearch functions ( #31809 )
* feat: Table supports filterMode="tree-select"
* add tree component
* fix detail
* use tree
* add @table-filter-dropdown-max-height
* feat: add check all to filter tree
* feat: add search
* feat: use filterTreeNode
* fix code style
* fix style
* style: tree node selected bg
* fix demo
* feat: add filterSearch
* fix: clear search value after close filter dropdown
* update snapshot
* code style
* fix test case
* chore: new FilterDropdown.tsx file
* chore: searchValueMatched function
* add test case
* test: add test cases
* feat: reset only works on dropdown state now
* chore: add table locales
* fix search input width
* tweak style
* style: update transfer search input style
* perf: improve table perf
* fix: filterMuiltiple={false}
* test: add test for selecting
* chore: fix table filter selection
* fix lint
* remove unused code
* fix: style dependencies
* test: turn off bail config for duplidated-package-plugin in feature branch
* Update components/table/hooks/useFilter/FilterSearch.tsx
Co-authored-by: Peach <scdzwyxst@gmail.com>
* fix locale link
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: Peach <scdzwyxst@gmail.com>
3 years ago
xrkffgg
7e50344676
fix: Transfer list direction value ( #31903 )
3 years ago
afc163
c0ff844bf7
fix: Transfer showSelectAll={false} should hide dropdown ( #31746 )
close #31728
3 years ago
Zuobin Wang
7f16838631
chore(all): delete useless Omit define ( #31661 )
3 years ago
二货机器人
86c5bf6e60
feat: Tree support `fieldNames` ( #31395 )
* feat: Tree support fieldNames
* docs: Update desc
* chore: Update snapshot
3 years ago
afc163
10a8490b1f
chore: fix listStyle type, #31322
3 years ago
Rainy
6f0df8d1e4
fix: Transfer `listStyle` to optional property ( #31322 )
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
ajuner
133bf530aa
chore: code simpler ( #30794 )
* chore: code simpler
* Update components/transfer/index.tsx
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
4 years ago
zombiej
7c06c1b96e
docs: Update Transfer asnyc table demo
close #30350
4 years ago
二货机器人
7c2c49316b
fix: checkbox & radio in flex align ( #30260 )
* fix: checkbox & radio in flex align
* rm only md
* docs: Update doc
* test: Update snapshot
4 years ago
jinchaofs
aa9fac49f7
fix: [Transfer] The box-shadow of the bottom button is not visible ( #30030 )
Co-authored-by: jinchao.li <jinchao.li@cyclone-robotics.com>
4 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
Tom Xu
e5d908a078
docs: format api ( #29537 )
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
afc163
99c2c2ff0b
refactor: use optional chaining instead of if ( #29368 )
* refactor: use optional chaining instead of if
* revert some code
4 years ago
susiwen8
19f3e6cdae
refactor: rewrite Transfer search with hooks ( #28895 )
* Refac: rewrite transfer search with hook
* [CodeFactor] Apply fixes to commit 3ad857f
[ci skip] [skip ci]
* chore: minor change in search
Co-authored-by: codefactor-io <support@codefactor.io>
4 years ago
偏右
ec6f198b0d
fix: Empty description validateDOMNesting warning ( #28862 )
* fix: Empty description validateDOMNesting warning
close #28860
* update snapshot
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
偏右
a0eb9d31de
chore: merge master into feature ( #28751 )
* fix: Transfer dataSource cannot be immutable (#28675 )
close #28662
* docs: fix errors in example code (#28677 )
* ci: expand ie check (#28673 )
* ci: expand ie check
* Update issue-open-check.yml
* perf(📦 ): reduce @babel/runtime package size (#28678 )
* perf(📦 ): reduce @babel/runtime package size
04cd73dea1
* chore(🆙 ): upgrade @ant-design/react-slick to esm support version
* upgrade @ant-design/tools
* ci: add open condition (#28682 )
* fix(Slider): forcePopupAlign null when unmounted (#28699 )
* docs: Update overview.zh-CN.md (#28703 )
* docs: Update resources.en-US.md (#28701 )
* chore: bump rc-select to 12.1.0 (#28715 )
* fix: stylelint plugin (#28730 )
* Update package.json
* perf(📦 ): upgrade rc-image to 5.x (#28727 )
* refactor: upgrade rc-image to 5.x
reduce bundle size
* upgrade rc-image
* upgrade @ant-design/tools
https://github.com/ant-design/antd-tools/pull/226
* rc-image 5.0.0
* fix image preview icon missing
* refactor code
* docs: example of synchronous rc-tree (#28648 )
* ci: fix outputs type
过程中的使用 string。奇怪啊,之前测试过的,今天点的时候发现不行了
* Update package.json
* fix: site overflow cause sticky invalid (#28741 )
* fix: site overflow cause sticky invalid
* disable auto scroll
* chore: upgrade rc-dialog and rc-drawer (#28749 )
* chore: upgrade rc-dialog and rc-drawer (#28687 )
* chore: upgrade rc-dialog and rc-drawer
* upgrade rc-util
* update snapshots
* upgrade rc-util
* upgrade rc-util
* update snapshots
* upgrade rc-dialog
* perf: remove duplicated rc-dialog
Co-authored-by: 骗你是小猫咪 <darryshaw@gmail.com>
Co-authored-by: bigbigbo <zxb141242@163.com>
Co-authored-by: xrkffgg <xrkffgg@gmail.com>
Co-authored-by: Yann Pringault <yann.pringault@gmail.com>
Co-authored-by: godfather <greenday.wj@foxmail.com>
Co-authored-by: Mateusz Wierzbicki <22788841+mateusz-wierzbicki@users.noreply.github.com>
Co-authored-by: Kermit <kermitlx@outlook.com>
Co-authored-by: AkiJoey <akijoey1010635951@gmail.com>
Co-authored-by: qqabcv520 <605655316@qq.com>
Co-authored-by: 骗你是小猫咪 <darryshaw@gmail.com>
4 years ago
偏右
7def9de31d
fix: Transfer dataSource cannot be immutable ( #28675 )
close #28662
4 years ago