zombiej
2b46b3e6e1
Merge remote-tracking branch 'origin/master' into feature-merge-master
2022-07-25 17:37:47 +08:00
Alan Deng
3920a724cc
feat: Tree/TreeSelect switcherIcon
support more parameter in argument ( #36651 )
2022-07-23 16:54:36 +08:00
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>
2022-07-22 20:26:52 +08:00
Wuxh
14c7c63bbf
fix: fixed the non draggable element did not hide the draggable icon ( #36511 )
...
fix #33708
2022-07-14 18:03:11 +08:00
MadCcc
ab19033876
docs: replace lib with es ( #36367 )
2022-07-04 22:09:54 +08:00
Dunqing
3ea2817549
fix: type incompatibility in strict mode ( #36189 )
...
* fix: type incompatibility
* fix: type
2022-06-23 12:17:05 +08:00
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2022-06-22 14:57:09 +08:00
龙风
1cec18e8eb
fix: component.displayName To distinguish the environment ( #36126 )
...
Co-authored-by: afc163 <afc163@gmail.com>
2022-06-21 10:24:52 +08:00
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>
2022-06-17 11:37:57 +08:00
二货机器人
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
2022-06-07 21:04:47 +08:00
MadCcc
6e04120265
docs: fix tree demo ( #35927 )
2022-06-06 23:23:11 +08:00
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>
2022-06-06 18:44:58 +08:00
zombiej
f58efe9b32
chore: merge master
2022-05-23 14:37:16 +08:00
章鱼
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
2022-05-19 09:46:26 +08:00
miracles1919
19f55145c8
fix: tree checkbox margin in rtl mode ( #35491 )
2022-05-11 16:57:21 +08:00
Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
...
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
2022-05-07 14:31:54 +08:00
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>
2022-04-18 21:02:11 +08:00
afc163
0f0e2f9f43
docs: simplify demo code, #30853 ( #35050 )
2022-04-15 16:20:56 +08:00
zombiej
65cec1458f
chore: fix ts
2022-04-11 18:15:03 +08:00
zombiej
85a351ed3b
chore: test fix
2022-04-11 18:07:34 +08:00
zombiej
a0d1440050
chore: merge conflict
2022-04-11 17:41:54 +08:00
二货机器人
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
2022-04-08 22:55:42 +08:00
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
2022-04-03 23:27:45 +08:00
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
2022-04-01 17:10:38 +08:00
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
2022-03-22 00:02:01 +08:00
afc163
bf6dfaa315
docs: move treeLoadedKeys to TreeSelect
...
close #34538
2022-03-16 19:03:08 +08:00
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>
2022-03-15 10:41:12 +08:00
二货机器人
31fb55adf3
chore: btn default provide default cls ( #34013 )
2022-02-11 15:02:59 +08:00
二货机器人
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
2021-12-23 11:51:10 +08:00
afc163
b34f72b1b6
test: fix ci warnings ( #33160 )
2021-12-04 17:06:36 +08:00
二货机器人
3886ad6462
refactor: Tree support generic ( #32992 )
...
* chore: bump rc-tree
* test: add test case
* test: Add ts check
2021-11-23 23:05:49 +08:00
huangkairan
b03fae3f70
chore: fix types declaration ( #32935 )
2021-11-18 14:39:22 +08:00
afc163
7ed7c60aa6
style: fix Tree icon align bug ( #32822 )
2021-11-11 19:18:18 +08:00
afc163
38b94e5aeb
fix: Transfer menu item key warning ( #32578 )
...
* fix: Transfer menu item key warning
close #32574
* chore: skip tree demo in UI test
2021-10-20 18:19:20 +08:00
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
2021-10-19 13:05:17 +08:00
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>
2021-10-13 15:38:59 +08:00
二货机器人
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
2021-09-27 15:54:06 +08:00
btea
3531a15efa
fix: set the tree-switcher-leaf-line position ( #32075 )
2021-09-08 09:27:38 +08:00
afc163
7085e22a96
merge feature into master
2021-08-31 13:35:13 +08:00
afc163
af805c098b
test: fix eslint errors ( #31961 )
...
* test: fix eslint errors
* test: fix eslint errors
2021-08-30 13:04:21 +08:00
afc163
85935e18c0
chore: merge feature into master
2021-08-02 18:36:27 +08:00
afc163
a9a329d37c
fix: deps and TypeScript types ( #31519 )
...
* fix tsc errors
* fix tsc errors
2021-07-26 16:47:55 +08:00
二货机器人
86c5bf6e60
feat: Tree support fieldNames
( #31395 )
...
* feat: Tree support fieldNames
* docs: Update desc
* chore: Update snapshot
2021-07-14 14:23:50 +08:00
afc163
c3eda10999
chore: sync feature into master
2021-07-12 19:28:42 +08:00
afc163
802201913c
docs: TreeSelect treeLoadedKeys
...
close #31340
2021-07-12 18:30:54 +08:00
github-actions[bot]
6fa59e718c
chore: auto merge branchs ( #30798 )
...
chore: merge master into feature
2021-06-01 02:50:09 +00:00
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
2021-06-01 10:11:24 +08:00
二货机器人
19ad390c3b
feat: TreeSelect support treeLine ( #30705 )
...
* feat: TreeSelect support treeline
* docs: Update doc
* tests: Update snapshot
* docs: rm onlt
* fix: TS definition
2021-05-27 14:48:48 +08:00
Guru Mahendran
7e6bfa4a8c
chore: fix typo initTreeDate -> initTreeData ( #29911 )
2021-03-26 10:44:54 +08:00
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
2021-02-23 10:45:11 +08:00