lijianan
09570f511f
refactor: delete defaultprops ( #37853 )
...
* refactor: delete defaultprops
* fix: update snap
* fix: update snap
* fix: fix
* fix: fix
* fix: fix
* fix: fix
2022-10-05 00:04:29 +08:00
lijianan
c639b2f2ab
refactor: delete defaultprops ( #37834 )
...
* refactor: delete defaultprops
* fix: fix
* fix: fix
2022-10-02 16:50:34 +08:00
lijianan
ddaead6777
fix: delete defaultprops ( #37822 )
...
* fix: delete defaultprops
* fix: delete defaultprops
2022-09-30 17:44:24 +08:00
MadCcc
6b2f561841
test: update snapshot
2022-09-29 11:02:07 +08:00
MadCcc
150da4a2cb
Merge branch 'master' into next-merge-master
2022-09-29 10:59:03 +08:00
二货机器人
7dbc5b735a
test: Update snapshot
2022-09-28 17:29:47 +08:00
二货机器人
069e44bcc3
chore: merge master
2022-09-28 12:01:20 +08:00
lijianan
a8e59e88f5
fix: fix cicd to update snap ( #37748 )
2022-09-27 13:06:48 +08:00
William Bergeron-Drouin
24d165ab9b
feat: [Tree] Custom leaf icon ( #37144 )
...
* Add ability to customize leafIcon
* Adapt docs
* Update test snapshots
* Update to single prop & adapt demo
* Update tests
* Rename icon type
* Fix docs
* Rename to .tsx and fix types
* Remove useless id properties in test
2022-09-27 12:07:30 +08:00
二货机器人
ba26b4c196
chore: next merge master
2022-09-23 10:49:38 +08:00
TangLL
a6e620c975
docs: defaultExpandedAll is not exist, should be defaultExpandAll ( #37689 )
...
Co-authored-by: nocodeempire <tioy102@gmail.com>
2022-09-22 11:38:17 +08:00
MadCcc
c61f283487
feat: switch motion ( #37658 )
...
* feat: switch motion
* chore: code clean
* feat: active text offset
* chore: update snapshot
2022-09-20 21:51:28 +08:00
MadCcc
d1be33f224
Merge branch 'master' into next-merge-master
2022-09-14 10:31:17 +08:00
MadCcc
851a61a3e3
fix: TreeNode not aligned when disabled and draggable ( #37534 )
...
* fix: hide draggable icon when disabled
* chore: code clean
* chore: bump version
2022-09-13 21:24:37 +08:00
黑雨
01ca7c7821
test: convert demo to testing-lib ( #37381 )
...
* test: replace testing-lib
* test: replace testing-lib
* test: replace testing-lib
* test: update snap
* test: replace testing-lib
* test: replace testing-lib
* test: update for lint
* merge: merge
* test: testing-lib
* test: replace testing-lib
* test: testing-lib
* test: testing-lib
* test: replace testing-lib
* test: replace testing-lib
* test: Replace test aria replacment logic
* test: Update snapshot
* chore: hack for id
* test: clean up
* test: clean demo
* chore: update
* test: snapshot update
* test: fix snapshot rep logic
* test: fix snapshot rep logic
* test: fix snapshot rep logic
* chore: update demo
* test: fix snapshot rep logic
* test: Update snapshot
* test: rest snapshot
* test: update snapshot
* test: Update test case
* test: config env
* chore: clean up
* chore: Use renderServer instead
* test: adjust testing logic
* test: modify test logic
* test: split ssr test
* test: skip if need skip
* chore: ignore test file covv
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-09-09 15:51:35 +08:00
MadCcc
8e328d0ae2
feat: focus outline ( #37483 )
...
* feat: focus outline
* feat: add tree focus
2022-09-09 10:53:03 +08:00
MadCcc
2cf245969b
feat: v5 motion duration adjustment ( #37438 )
2022-09-07 14:08:14 +08:00
MadCcc
d5c17a9a7c
Merge branch 'master' into next-merge-master
2022-09-05 21:26:04 +08:00
lijianan
c34caad24c
test: js => ts ( #37392 )
...
* test: js => ts
* test: add test
* fix: fix eslint error
* test: add test case
* fix: fix test error
* fix: fix eslint error
* fix: fix eslint error
* fix: eslint error fix
* fix: fallback eslint config & add test case
* test: add all test case
* fix: bugfix
* fix: bugFix
* fix: bugFix
* fix: bugFix
* fix: lint
* fix: add React.createRef
* fix: add breadcrumbName in Routes
* fix: any commit for restart ci/cd
* fix: remove type
* fix: test fix
* fix: test fix
* fix: add ts-ignore for id
* test: add Icon test case
* test: remove ts-ignore
* test: add Icon test case
2022-09-05 19:41:32 +08:00
MadCcc
0d50767aa8
Merge branch 'master' into next-merge-master
2022-08-30 13:05:50 +08:00
dependabot[bot]
7e7c47509f
chore(deps-dev): bump eslint-plugin-jest from 26.9.0 to 27.0.1 ( #37291 )
...
* chore(deps-dev): bump eslint-plugin-jest from 26.9.0 to 27.0.1
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest ) from 26.9.0 to 27.0.1.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases )
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v26.9.0...v27.0.1 )
---
updated-dependencies:
- dependency-name: eslint-plugin-jest
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* chore: fix eslint errors in test files
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-08-30 10:57:13 +08:00
二货机器人
394aba4afe
chore: merge master
2022-07-29 15:56:11 +08:00
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
MadCcc
1ad0553249
refactor: token update ( #36637 )
...
* refactor: token update
* refactor: token
* chore: error color
* fix: menu danger
2022-07-21 17:00:42 +08:00
MadCcc
357750e081
refactor: collapse motion ( #36597 )
...
* chore: v5.0.0-experimental.5
* refactor: collapse motion
2022-07-19 22:53:38 +08:00
zombiej
3ffd0d8a46
chore: next merge master
2022-07-15 11:23:50 +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
cdbfe45df1
feat: generate anchor style for all components ( #36460 )
...
* test: fix lint
* chore: code clean
* doc: anchor color
* chore: style order
2022-07-11 15:35:58 +08:00
MadCcc
f65c73fa2a
Merge branch 'master' into next-merge-master
2022-07-05 22:24:39 +08:00
MadCcc
8e27cf986f
chore: rm component less file ( #36244 )
...
* chore: rm component less file
* refactor: less file
* refactor: rm less
* refactor: rm page-header and comment
* chore: rm less in components
* chore: update dist config
* chore: update image test
* chore: update dekko
* chore: rm lib dekko
* chore: update dist dekko
* chore: udpate bundle size
* test: update snapshot
* test: rm theme test
* test: update snapshot
* test: update snapshot
* chore: copy reset.css
* test: update image test
* chore: copy reset.css to es
* chore: update site script
2022-07-05 21:55:21 +08:00
MadCcc
ab19033876
docs: replace lib with es ( #36367 )
2022-07-04 22:09:54 +08:00
MadCcc
8e4f1c6836
refactor: token update ( #36279 )
...
* refactor: token update
* chore: add js doc
* test: fix lint
* test: update test
2022-06-28 20:33:01 +08:00
二货机器人
de2992f96f
chore: move path ( #36243 )
...
* chore: base move
* chore: all path
* chore: fix script
2022-06-27 14:25:59 +08:00
afc163
a5fe576d48
chore: merge master to next
2022-06-24 11:32:42 +08:00
Dunqing
3ea2817549
fix: type incompatibility in strict mode ( #36189 )
...
* fix: type incompatibility
* fix: type
2022-06-23 12:17:05 +08:00
zombiej
8749c1ae04
chore: merge master
2022-06-22 15:18:03 +08:00
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2022-06-22 14:57:09 +08:00
zombiej
91245c16ad
chore: merge master
2022-06-21 19:40:22 +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
zombiej
f3369a97d7
test: Update snapshot
2022-06-07 21:38:27 +08:00
zombiej
cffc4f05aa
chore: merge master
2022-06-07 21:13:52 +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
Cong Zhang
8b802bbbef
test: moving to testing-library in Tree
( #35674 )
2022-05-25 15:28:47 +08:00
zombiej
f58efe9b32
chore: merge master
2022-05-23 14:37:16 +08:00
zombiej
cd0ace3d40
chore: merge master
2022-05-21 22:14:15 +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
二货机器人
a09333d287
chore: full token of anchor ( #35588 )
...
* chore: full token of anchor
* chore: rename
2022-05-17 18:04:24 +08:00
zombiej
3a0c53470f
chore: merge master
2022-05-13 10:20:20 +08:00
miracles1919
19f55145c8
fix: tree checkbox margin in rtl mode ( #35491 )
2022-05-11 16:57:21 +08:00
MadCcc
24773d5796
test: lint
2022-05-09 22:20:07 +08:00
MadCcc
1f5e271eb6
Merge branch 'master' into next-merge-master
2022-05-09 21:26:25 +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
miracles1919
6b6c8cb6b1
refactor: Tree checkbox style ( #35389 )
...
* fix: Checkbox inner disabled color
* refactor: Tree checkbox style
* refactor: adjust tree checkbox span
* refactor: adjust tree checkbox span
* refactor: remove useless `&`
2022-05-06 15:58:32 +08:00
MadCcc
eed87d6276
chore: remove keyframes declaration ( #35231 )
2022-04-26 01:00:39 +08:00
MadCcc
1d91507a59
feat: support Keyframes as 'animationName' value ( #35142 )
2022-04-21 02:06:22 +08:00
afc163
756f06c2fe
chore: sync master into next branch
2022-04-20 11:30:55 +08:00
MadCcc
acb21e1848
feat: animation check ( #35108 )
...
* feat: animation check
* chore: remove treeNodeFX import
2022-04-20 10:24:24 +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
github-actions[bot]
16fb0e88a3
chore: auto merge branchs ( #35054 )
...
chore: sync master into next
2022-04-17 15:03:21 +00:00
afc163
0f0e2f9f43
docs: simplify demo code, #30853 ( #35050 )
2022-04-15 16:20:56 +08:00
zombiej
d907338d79
chore: merge feature
2022-04-12 15:59:36 +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
MadCcc
101865cf7e
fix: statistic token ( #34962 )
...
* fix: statistic token
* fix: all components token
* test: fix lint
* chore: code clean
* Revert "chore: code clean"
This reverts commit 2c0e7d6ba3
.
2022-04-11 16:04:00 +08:00
zombiej
9a1d0b5fda
Merge remote-tracking branch 'origin/feature' into next
2022-04-11 10:02:57 +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
064edfe22a
refactor: Checkbox & Tree migrate to genComponentStyleHook ( #34904 )
...
* refactor: Checkbox migrate to genComponentStyleHook
* refactor: tree migrate to genComponentStyleHook
2022-04-07 18:24:45 +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
二货机器人
2aa33578c2
refactor: Align with token ( #34713 )
...
* chore: Divider full token
* chore: typography with tokn
* chore: select with token
* chore: tree with token
* chore: select style
* chore: select style
* chore: clean up
2022-03-25 17:54:57 +08:00
二货机器人
d952088650
refactor: More alias token ( #34681 )
...
* chore: colorHighlight
* chore: bgSecondary
* chore: colorLink
* chore: link style
* chore: rm fly variables
* chore: colorAction
* chore: add warning comment
* chore: token outline
* chore: colorBgXXX
* chore: alert
* rm: zIndex
* chore: rm zIndexComponent
* fix: tag color checkabl
* chore: tags tmp
2022-03-24 14:30:48 +08:00
二货机器人
b967f9eb81
refactor: More alias token ( #34658 )
...
* chore: rm disabled color
* chore: color heading
* chore: shows tokn
* chore: fix color mapping
* chore: status colors
* chore: durations
* chore: outline color
* chore: comment info
* chore: background color
* chore: merge nexr
2022-03-22 20:02:04 +08:00
二货机器人
a7a180b913
refactor: Color related token ( #34648 )
...
* chore: move controlHeight in der
* chore: controlLineWidth
* chore: controlRadius
* chore: color
* chore: outline width
* chore: outline width
* chore: rm outlineBlurSize
* chore: colorTextLightSolid
2022-03-22 13:26:29 +08:00
二货机器人
608ce271b1
refactor: Move token to latest one ( #34637 )
...
* chore: rename motion
* chore: primary color
* chore: success color
* chore: all colors
* chore: mv control height up
* chore: font size format
2022-03-22 09:37:37 +08:00
zombiej
12ba88611c
Merge remote-tracking branch 'origin/feature' into next
2022-03-22 00:12:29 +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
15fd642f7e
chore: merge next to master
2022-03-19 17:23:54 +08:00
afc163
bf6dfaa315
docs: move treeLoadedKeys to TreeSelect
...
close #34538
2022-03-16 19:03:08 +08:00
zombiej
a338a1b00e
Merge branch 'master' into next
2022-03-15 14:14:14 +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
MadCcc
30e0d57302
test: fix cssinjs ci ( #34434 )
...
* test: fix cssinjs ci
* test: fix ci
* test: fix alert trl
* fix: fix tree icon rotation direction in RTL mode
2022-03-11 17:07:16 +08:00
二货机器人
068584b76c
refactor: change Select into CSSINJS ( #34339 )
...
* chore: init
* chore: init single
* chore: merge next
* chore: select single base
* chore: basic all style of select
* chore: speed of dropdown
* chore: move size in single
* chore: single size
* chore: lg style
* chore: left & right
* chore: rtl
* chore: auto rtl
* chore: rtl
* fix: height cal
* chore: clean up
* chore: status color
2022-03-08 10:29:00 +08:00
二货机器人
43eaa357b4
chore: cssinjs hashed as default ( #34272 )
...
* checkbox hashId support
* chore: tree hashed
* chore: fix lint
* fix: compile
2022-03-03 14:55:19 +08:00
二货机器人
989a27ada8
refactor: tree support cssinjs ( #34258 )
...
* chore: part of tree
* chore: tree cssinjs
* chore: fix lint
* refactor: RTL support
* fix: checkbox hover logic
* chore: rtl use same style
* fix: check style priority
2022-03-02 20:32:25 +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