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
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
偏右
b2a441c967
style: fix Tree node hover bg of unselectable ( #28269 )
...
close #28217
2020-12-09 16:36:14 +08:00
David Sichau
3562c7aaca
fix: TS definition for Tree ( #28262 )
2020-12-09 13:56:59 +08:00
Tom Xu
03909941b8
docs: fix tree api and improve other api ( #28264 )
2020-12-09 09:54:44 +08:00
Jingsong Gao
706ec5cdb1
fix(Tree): fix tree drop indicator default direction ( #28150 )
2020-12-02 22:12:32 +08:00
07akioni
35ee97dad4
refactor: tree drag behavior ( #26462 )
...
* refactor: Tree drag behavior
* fix: cov
* docs: Tree draggable, specify the difference compared with last version
2020-11-29 14:15:08 +08:00
xrkffgg
1f935803f8
fix: Tree switcher icon in rtl ( #27876 )
...
* fix: Tree switcher icon in rtl
* remove
2020-11-19 17:20:32 +08:00
骗你是小猫咪
3f126f116f
test: skip tree virtual-scroll render ( #27771 )
...
* test: skip tree virtual-scroll render
* test: remove branches-ignore, and use head ref to fix when merged
2020-11-14 21:24:37 +08:00
偏右
e7bed7cff7
perf( 📦 ): upgrade @ant-design/colors and remove rc-trigger from deps ( #27761 )
...
* perf(📦 ): upgrade @ant-design/colors
* move rc-trigger to devDeps
* fix lint
* update snapshot
* update snapshot
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-11-14 00:43:12 +08:00
zombiej
8d1ed2822b
docs: Remove useless code
2020-11-12 11:32:10 +08:00
einq7
3357fccf0e
docs: format inline code ( #27634 )
2020-11-08 15:04:02 +08:00
二货机器人
f5d5e9b5ee
docs: tree conduction logic ( #27600 )
2020-11-06 11:55:01 +08:00
偏右
66d3d0aacc
fix: Tree switcher icon double click selecting ( #27476 )
2020-10-30 21:10:21 +08:00
二货机器人
a91c2f9cd8
fix: Tree showLine mutiple line title breaks ( #27386 )
...
* fix: Lines of tree style
* chore: Update style
* fix: style lint
* update snapshot
2020-10-26 23:13:52 +08:00
骗你是小猫咪
6fba4d1136
test: demo -> ui test ( #24475 )
...
* test: demo -> ui test
* improve comment image width
* use argos-ci
* use by cicleci
* fix circle run
* rebase master
* try pipeline var
* use another branch var
* fix commit id
* ignore image test file
* remove useless report
* fix test coverage
2020-10-23 18:50:46 +08:00
Tom Xu
0822ac618f
chore: add prettier ignore and format demo ( #27270 )
2020-10-21 11:06:07 +08:00
Tom Xu
d44f404eae
docs: sort api ( #27251 )
...
* chore: improve sort api table scripts
* sort api
* add ignore
* Revert "sort api"
This reverts commit 343505d5f0
.
* sort api
* Update package.json
* sort api
* Delete sort-api.js
* sort api
* sort api
* sort api
* fix
* Update index.zh-CN.md
* fix input-number
* fix input-number
* sort func
* fix
* Method moved to the end
* carousel method
2020-10-21 10:33:43 +08:00
偏右
3ef6ea3ead
refactor: 📦 some styles to reduce css bundle size ( #27129 )
...
* refactor: some styles to reduce css bundle size
* test: update snapshot
* fix snapshot
* fix test case
* fix addonAfter
* fix firefox style
* reduce riddon css size
* fix Input.Group border radius
* remove unused css selectors
* fix test cov
* fix search button hover border
* fix rtl textarea clear icon style
* update demos
* fix search rtl style
* fix input search style
2020-10-13 21:16:20 +08:00
偏右
18c4b085ba
style: 💄 fix Pickers wrong animation direction ( #27101 )
...
* style: fix Pickers wrong animation direction
* style: reduce css bundle size
2020-10-12 15:50:02 +08:00
Tom Xu
5f2588ffd1
docs: improve api type docs ( #27038 )
2020-10-09 10:08:52 +08:00
xrk
20efc58a8a
style: optimize loading icon in rtl ( #27010 )
2020-10-05 16:20:14 +08:00
二货机器人
2775049345
docs: Update TreeNode isLeaf desc ( #26872 )
2020-09-23 22:14:28 +08:00
二货机器人
ea3629deed
docs: Update Tree height desc
...
close #26769
2020-09-18 08:58:03 +00:00
偏右
83ddfb807e
test: ✅ Enable transition and animation in jest ( #26571 )
...
* test: ✅ add test cases to increase coverage
* test: fix snapshot
* fix: test node envioronment
* fix: test node envioronment
* fix test case
* test: refactor menu test cases
* test: update test code style
* test: add more menu test cases
* add comment
* test: update snapshot
* fix: alert test case
* fix: form onLeaveEnd test cov
* test: fix button click wave test cases
* chore: clean up snapshots
2020-09-18 16:53:18 +08:00
Alex
bf45c4c1b0
style: 💄 className prop ordering #26594 ( #26602 )
...
close #26594
2020-09-06 13:07:39 +08:00
ZHANGYU
dd547aabfd
docs: fix Tree prop autoExpandParent default value ( #26426 )
2020-08-27 11:45:10 +08:00
偏右
7274a2ef4a
fix: colorPalette is not defined when use theme ( #26395 )
...
close #26290
2020-08-25 22:54:04 +08:00
偏右
fb839f096c
fix: Tree draggable transition style ( #26387 )
...
close #26383
2020-08-25 15:55:10 +08:00
二货机器人
bd2d50c114
chore: Update snapshot ( #26306 )
2020-08-20 16:45:10 +08:00
xrkffgg
1c63268e6a
style: optimize tree line rtl style ( #26205 )
2020-08-14 15:41:52 +08:00
二货机器人
5cc9742eec
chore: Update snapshot
2020-08-14 04:04:58 +00:00
二货机器人
1119c3da38
fix: Fix DirectoryTree miss ref.scrollTo function ( #26129 )
...
* fix: DirTree support ref
* add test case
2020-08-11 14:22:16 +08:00
zhangchen
4da2260342
feat: show line in Tree first level ( #25991 )
...
* feat: tree line in first level
* update: Tree showLine demo
2020-08-10 10:48:11 +08:00
二货机器人
3b7d23485a
docs: Update Tree demo to use treeData ( #25916 )
...
* docs: Update Tree demo to use treeData
* clean up
2020-07-30 18:12:45 +08:00
二货机器人
500ba8ab37
feat: Tree support titleRender ( #25624 )
2020-07-15 10:06:51 +08:00
zoomdong
12beeff3d6
docs: remove unseless TreeNode in Tree demo ( #25578 )
2020-07-11 12:52:16 +08:00
xrkffgg
b423a09233
docs: format api timeline/tooltip/tree ( #25377 )
2020-07-02 11:56:48 +08:00
二货机器人
e3982e94f8
docs: Update Tree virtual scroll desc ( #25375 )
2020-07-02 09:58:13 +08:00
偏右
ab56668d40
feat: Tree support showLeafIcon in showLine ( #25271 )
...
closes #23261
Co-authored-by: zoomdong <1344492820@qq.com>
2020-06-29 11:04:58 +08:00
JRoger
7b2971bab6
chore: export EventDataNode from rc-tree ( #25142 )
2020-06-24 11:37:28 +08:00
偏右
ee51df1853
✅ add more test cases for Tree ( #25115 )
2020-06-19 15:45:52 +08:00
zoomdong
e22cb6ae5f
docs: add Tree Icon prop ( #25080 )
...
* docs: add Tree Icon prop
* fix
* fix
* fix
* fix
2020-06-18 15:35:29 +08:00
xrkffgg
a5f3ac8348
docs: unite boolean in site ( #25058 )
...
* docs: unite boolean in site
* fix demo
* fix boolean
* add
* add
* add
2020-06-17 23:18:14 +08:00
JinXin
b61941de99
feat: add type export ( #25065 )
2020-06-17 22:27:14 +08:00
Arvin Xu
dda650cc7b
docs: Update components cover ( #24744 )
...
* docs: Update components cover
#24629
* docs: Update components cover
2020-06-05 13:50:09 +08:00
偏右
882cec62d6
docs: 🌈 Add Components overview page ( #24491 )
...
* docs: Add components overview page
* fix detail
* remove ContributorsList form overview page
* fix components url
* improve code style
* remove extra file
* fix detail
* fix lint
* fix lint
* docs: Finish components overview page
* fix lint
* docs: Update cover
* fix lint
* update cover
* update menu
* improve overview page
* refactor code
* fix order
* update title
* add components count
* fix overview page ssr bug
* move less file
* update title margin
Co-authored-by: arvinxx <arvinx@foxmail.com>
2020-05-31 11:48:34 +08:00
xrkffgg
ada81616b5
style: optimize tree checkbox rtl style ( #24563 )
2020-05-29 22:28:52 +08:00
xrkffgg
11bbd725f7
fix: transfer rtl ( #24560 )
2020-05-29 10:36:50 +08:00
afc163
d039e32e6b
merge feature into master-to-merge-feature
2020-05-28 15:30:36 +08:00
Teng YANG
1bf9959062
fix @tree-directory-selected-bg don't work ( #24468 )
2020-05-26 13:52:41 +08:00
偏右
4b485d393b
Merge pull request #24436 from ant-design/master
...
chore: merge master into feature
2020-05-25 11:50:02 +08:00
偏右
fdbf37a9c0
test: increase test case coverage ( #24430 )
...
* test: increase test case of Cascader
* test: increase test case of Grid and Tree
2020-05-24 23:52:25 +08:00
afc163
d6d485b72d
merge feature into master-to-merge-feature
2020-05-19 18:25:51 +08:00
偏右
4feb186085
refactor: tree select style ( #24291 )
...
* chore(list): improve code (#24280 )
* chore(list): improve code
* Update index.tsx
* refactor: tree select style code
* 🔒 lock antd-theme-generator to 1.2.2
https://github.com/mzohaibqc/antd-theme-generator/issues/42
Co-authored-by: Tom Xu <ycxzhkx@gmail.com>
2020-05-19 18:10:02 +08:00
二货机器人
75b090aff3
fix: Switch trigger motion ( #24254 )
...
* init fix
* fix rtl
* clean up
* update snapshot
* fix style lint
* add motion of inner
* update un-checked focus style
2020-05-18 17:31:46 +08:00
zombiej
9f38c46039
merge master
2020-05-14 21:03:29 +08:00
二货机器人
2afab58ac8
chore: small bundle size follow up ( #24164 )
...
* update config
* replace react function
* fix alert
2020-05-14 20:54:49 +08:00
afc163
53d7a20939
merge feature into master-to-merge-feature
2020-05-13 16:16:16 +08:00
偏右
34c2fad636
refactor: 🔨 tree style code ( #24096 )
2020-05-13 14:45:08 +08:00
Tom Xu
747691f600
feat: ConfigProvider support virtual and dropdownMatchSelectWidth ( #23841 )
...
* feat: ConfigProvider support virtual and dropdownMatchSelectWidth
* update snap
* Update demo.test.js.snap
* update snap
2020-05-05 15:00:43 +08:00
Tom Xu
54f2abfe47
refactor(tree): rewrite with hook ( #23550 )
...
* refactor(tree): rewrite with hook
* fix codecov
* Update directory.test.js
* Update README.md
* 🆙 upgrade intersection-observer
* refactor(tree): rewrite with hook
* fix codecov
* Update directory.test.js
Co-authored-by: 偏右 <afc163@gmail.com>
2020-04-25 15:30:13 +08:00
偏右
17f7e2f4d2
fix: Tree custom icon missing when loading ( #23494 )
...
close #23470
2020-04-22 21:11:57 +08:00
pdeva
3e22b505a3
fix: proper react import ( #23381 )
...
* proper react import
fix for #22708
* update iconutil in select
* update in tree component
2020-04-22 09:37:46 +08:00