Tianyuan Zhang
09de419253
fix(Tree): DraggableFn params type ( #36648 )
* fix(Tree): DraggableFn params type
* chore: add blank line
* test: add typ test for draggable Fn
* test: add typ test for draggable Fn
Co-authored-by: tianyuan233 <zty.dev@outlook.com>
2 years ago
Wuxh
14c7c63bbf
fix: fixed the non draggable element did not hide the draggable icon ( #36511 )
fix #33708
2 years ago
MadCcc
ab19033876
docs: replace lib with es ( #36367 )
2 years ago
Dunqing
3ea2817549
fix: type incompatibility in strict mode ( #36189 )
* fix: type incompatibility
* fix: type
2 years ago
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2 years ago
龙风
1cec18e8eb
fix: component.displayName To distinguish the environment ( #36126 )
Co-authored-by: afc163 <afc163@gmail.com>
2 years ago
Jaylan
f19cf66c88
fix: Typescript - Tree component DirectoryTreeProps, missing Node Type ( #36092 )
* fix: edit DirectoryTreeProps
* test: add DirectoryTree type test
* fix: edit type
Co-authored-by: JaylanChen <JaylanChen@126.com>
2 years ago
二货机器人
771836cbc0
test: refactor tree with testing lib ( #35937 )
* test: tree test
* test: clean up
* chore: bump rc-tree
* test: Update snapshot
* test: Update for react 18
3 years ago
MadCcc
6e04120265
docs: fix tree demo ( #35927 )
3 years ago
Heaven
4dd6fcaf99
Feat: support 'treeExpandAction' prop for TreeSelect ( #35618 )
* Feat: support 'treeExpandAction' prop for TreeSelect
* chore: bump rc-tree
* chore: fix lint
* fix: fix directory tree duplicate expandAction
* fix: fix directory tree duplicate expandAction
* fix: fix directory tree duplicate expandAction
* chore: add docs
Co-authored-by: zombiej <smith3816@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
3 years ago
章鱼
7fd093bd0a
docs: feat components TS demo ( #34742 )
* docs: add general components TS demo
* docs: add layout components TS demo
* docs: add navigation components TS demo
* docs: add data entry components TS demo
* chore(deps): add types for qs
* docs: add data display TS demo
* docs: add feedback components TS demo
* docs: add other components TS demo
* chore(deps): add types
* docs: unified demo code style
* docs: fix lint error
* docs: add demo TS type
* docs: fix demo TS type
* test: update snapshot
* docs: fix TS demo
* feat: update Rate character type
* docs: fix lint error
* feat: update Rate character type
* feat: update Rate character type
3 years ago
miracles1919
19f55145c8
fix: tree checkbox margin in rtl mode ( #35491 )
3 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
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
afc163
0f0e2f9f43
docs: simplify demo code, #30853 ( #35050 )
3 years ago
zombiej
65cec1458f
chore: fix ts
3 years ago
zombiej
85a351ed3b
chore: test fix
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
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
zqran
452c5835ec
feat: Tree `switcherIcon` prop support render-prop ( #34470 )
* feat: Tree `switcherIcon` prop support render-prop
* add test for `switcherIcon` render-prop
* change the `switcherIcon` prop type of `TreeSelect`
* fix switcherIcon render-prop condition
* fix switcherIcon
3 years ago
MadCcc
c0b58aaf93
feat: Tree support rootClassName & rootStyle ( #34578 )
* feat: tree support rootClassName & rootStyle
* feat: Tree support rootClassName and rootStyle
* chore: update rc-cascader
* chore: update rc-tree
* chore: update cascader
* chore: update deps
3 years ago
afc163
bf6dfaa315
docs: move treeLoadedKeys to TreeSelect
close #34538
3 years ago
CommanderRoot
7c34addf57
refactor: replace deprecated String.prototype.substr() ( #34498 )
String.prototype.substr() is deprecated (see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr ) so we replace it with functions which aren't.
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
3 years ago
二货机器人
31fb55adf3
chore: btn default provide default cls ( #34013 )
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
二货机器人
3886ad6462
refactor: Tree support generic ( #32992 )
* chore: bump rc-tree
* test: add test case
* test: Add ts check
3 years ago
huangkairan
b03fae3f70
chore: fix types declaration ( #32935 )
3 years ago
afc163
7ed7c60aa6
style: fix Tree icon align bug ( #32822 )
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
D-to-the-K
0a8065e5bd
fix: DirectoryTree keyboard error ( #32551 )
* Fix bug in keyboard navigation
When selecting a node using the keyboard (spacebar), the event received by onSelect has an undefined MouseEvent. Keyboard navigation was not possible because an error was thrown when trying to access properties from the undefined nativeEvent. We are now testing if nativeEvent is defined before accessing its properties.
* fix: DirectoryTree throws error during keyboard navigation
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
二货机器人
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
btea
3531a15efa
fix: set the tree-switcher-leaf-line position ( #32075 )
3 years ago
afc163
af805c098b
test: fix eslint errors ( #31961 )
* test: fix eslint errors
* test: fix eslint errors
3 years ago
afc163
a9a329d37c
fix: deps and TypeScript types ( #31519 )
* fix tsc errors
* fix tsc errors
3 years ago
二货机器人
86c5bf6e60
feat: Tree support `fieldNames` ( #31395 )
* feat: Tree support fieldNames
* docs: Update desc
* chore: Update snapshot
3 years ago
afc163
802201913c
docs: TreeSelect `treeLoadedKeys`
close #31340
3 years ago
afc163
9f0dbf2b4d
chore: upgrade to jest 27 ( #30783 )
* chore: upgrade devDeps
* upgrade @ant-design/tools
* support CSS Minification
* test: jsdom as testEnvironment
* fix setImmediate
* update snapshot
* fix test
* fix test
* fix test
* fix test
4 years ago
二货机器人
19ad390c3b
feat: TreeSelect support treeLine ( #30705 )
* feat: TreeSelect support treeline
* docs: Update doc
* tests: Update snapshot
* docs: rm onlt
* fix: TS definition
4 years ago
Guru Mahendran
7e6bfa4a8c
chore: fix typo initTreeDate -> initTreeData ( #29911 )
4 years ago
afc163
76434a15df
chore( 🆙 ): upgrade devDeps ( #29418 )
* chore(🆙 ): upgrade devDeps
* prettier code
* fix dnd demo
* fix react-dnd demo
* fix npm start and demo tsx compile
* fix snapshot
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
偏右
b006a662fe
style: tweak TreeSelect filter node color ( #28984 )
close #28977
4 years ago
偏右
9dd39120b3
style: Fix Tree/TreeSelect filterTreeNode missing style ( #28866 )
close #28864
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
qqabcv520
3fbe13ae86
docs: example of synchronous rc-tree ( #28648 )
4 years ago
afc163
6417e0819b
docs: fix tree API table
4 years ago
Troy Li
7290ef49f4
docs: update Tree method scrollTo params ( #28579 )
* docs: update scrollTo params
* docs: update scrollTo params in en-US doc
4 years ago
Hossein Mohammadi
04bfa3c54f
chore: add prettier-plugin-jsdoc ( #28551 )
4 years ago