Commit Graph

552 Commits

Author SHA1 Message Date
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
Amumu
c70b49a709
fix: fix tree key ts type (#23348)
* fix tree key ts type

* revert snap
2020-04-17 23:31:39 +08:00
xiaofine1122
0b8cc13a07
docs: update tree->draggable demo forEach (#23055) 2020-04-08 23:33:42 +08:00
afc163
b8af3de2a0 docs: 📖 virtual default value 2020-04-08 10:52:55 +08:00
zombiej
1ec7b2c068 merge master 2020-03-29 14:40:29 +08:00
Mateusz Burzyński
2cb516b5b7
fix: narrow down types of string literals in a few defaultProps declarations (#22686) 2020-03-28 19:29:02 +08:00
afc163
e12e2971d8 merge feature into master-to-merge-feature 2020-03-23 15:02:22 +08:00
二货机器人
3459bfc0be
docs: 4.0.4 changelog (#22505)
* docs: Init changelog

* order

* grouping

* clean up
2020-03-23 10:57:37 +08:00
偏右
dfb9f20385
docs: 📖 TreeSelect switcherIcon doc (#22489)
close #22487
2020-03-22 18:00:55 +08:00
偏右
b80788556d
Merge pull request #22381 from ant-design/master
chore: 🔀 merge master into feature
2020-03-19 12:10:07 +08:00
xrkffgg
ef86892651 style: add rtl.less of Tree\Tooltip\Timeline 2020-03-18 12:54:30 +08:00
二货机器人
b3c1762273
refactor tree dir (#22318) 2020-03-17 22:23:47 +08:00
afc163
46a8cf7dc7 merge feature into master-to-merge-feature 2020-03-16 15:52:39 +08:00
二货机器人
69a2bceb64
docs: Add Tree faq (#22242)
* Update index.zh-CN.md

* Update index.en-US.md
2020-03-16 10:59:31 +08:00