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 2c0e7d6ba3498e001e1f6411f687d03364d3c241.
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
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
afc163
99c2c2ff0b
refactor: use optional chaining instead of if ( #29368 )
...
* refactor: use optional chaining instead of if
* revert some code
2021-02-19 18:26:53 +08:00
偏右
b006a662fe
style: tweak TreeSelect filter node color ( #28984 )
...
close #28977
2021-01-22 18:45:14 +08:00
偏右
9dd39120b3
style: Fix Tree/TreeSelect filterTreeNode missing style ( #28866 )
...
close #28864
2021-01-14 18:39:21 +08:00
qqabcv520
3fbe13ae86
docs: example of synchronous rc-tree ( #28648 )
2021-01-07 11:24:33 +08:00
afc163
6417e0819b
docs: fix tree API table
2020-12-28 22:22:38 +08:00
Troy Li
7290ef49f4
docs: update Tree method scrollTo params ( #28579 )
...
* docs: update scrollTo params
* docs: update scrollTo params in en-US doc
2020-12-28 22:19:17 +08:00
Hossein Mohammadi
04bfa3c54f
chore: add prettier-plugin-jsdoc ( #28551 )
2020-12-28 15:30:18 +08:00
偏右
0223e2ed5a
chore( 🆙 ): upgrade less to 4.0.0 ( #28466 )
...
* chore(🆙 ): upgrade less to 4.0.0
* chore(🆙 ): upgrade bisheng to 3.0.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix progress font size
2020-12-25 14:31:44 +08:00
Chan Qin Liang
263d8ec8e8
Include parenthesis on mixin calls to support less 4.0.0 ( #28465 )
2020-12-22 11:08:12 +08:00
二货机器人
55e0d13234
chore: Add demo tsx check ( #28389 )
...
* chore: Add demo tsx check
* chore: Prettier
* chore: Fix lint
* fix: Upload ts definition
* chore: Demo onlt
* docs: Fix demo
* chore: Add CI action
* chore: Use real name
* chore: fix ts define
* chore: fix more ts
* chore: fix more ts
* chore: More ts
* chore: More ts
* chore: More ts
* chore: More ts
* chore: More ts
* chore: More ts
* chore: More ts
* chore: Update all rest TS demo
* fix test case
2020-12-17 15:09:18 +08:00
Maksim Nesterenko
d2c1310b10
fix(Tree): leaf-line should set relative position ( #28354 )
2020-12-15 10:24:49 +08:00
二货机器人
857cbe1b23
fix: Fixed columns z-index issue ( #28346 )
...
* fix: Fixed columns z-index issue
* fix lint
2020-12-14 16:04:23 +08:00