Commit Graph

103 Commits

Author SHA1 Message Date
二货机器人
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
偏右
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
偏右
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
Maksim Nesterenko
d2c1310b10
fix(Tree): leaf-line should set relative position (#28354) 2020-12-15 10:24:49 +08:00
偏右
b2a441c967
style: fix Tree node hover bg of unselectable (#28269)
close #28217
2020-12-09 16:36:14 +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
偏右
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
偏右
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
xrk
20efc58a8a
style: optimize loading icon in rtl (#27010) 2020-10-05 16:20:14 +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
xrkffgg
1c63268e6a
style: optimize tree line rtl style (#26205) 2020-08-14 15:41:52 +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
偏右
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
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
Teng YANG
1bf9959062
fix @tree-directory-selected-bg don't work (#24468) 2020-05-26 13:52:41 +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
偏右
34c2fad636
refactor: 🔨 tree style code (#24096) 2020-05-13 14:45:08 +08:00
偏右
17f7e2f4d2
fix: Tree custom icon missing when loading (#23494)
close #23470
2020-04-22 21:11:57 +08:00
二货机器人
3459bfc0be
docs: 4.0.4 changelog (#22505)
* docs: Init changelog

* order

* grouping

* clean up
2020-03-23 10:57:37 +08:00
xrkffgg
ef86892651 style: add rtl.less of Tree\Tooltip\Timeline 2020-03-18 12:54:30 +08:00
Saeed Rahimi
676de29eb4 feat: added rtl direction to all of ant-design components (#19380)
* rtl demo change en-us description

* change bundlesize css limit

* RTL: modal component (exclude confirm)

* RTL: table component

* RTL: pagination component

* cleanup rtl demo

* fix pagination.tsx compile error

* RTL: button and button-group

* RTL: Steps component

* fix rtl demo style

* fix input suffix icon alignment

* fix select component arrow issue

* RTL: form component

* add pagination rtl test

* fix test lint error

* RTL: rate component

* RTL: radio and radio group components

* RTL: tree-select component

* some fixes to RTL components

* RTL: badge component

* fix rtl issue in inline form

* fix input component rtl padding issue

* fix switch component text rtl issue

* fix table grouped header text-align

* add rtl support to whole demo with RTL button

* Update rtl demo responsive

* RTL: page-header component

* RTL: typography component

* RTL: Dropdown (Partial)

* update config-provider doc

* RTL: input component

* RTL: select component

* RTL: switch component

* RTL: tree component

* fix rtl demo lint

* rtl demo change en-us description

* RTL: modal component (exclude confirm)

* RTL: table component

* RTL: pagination component

* cleanup rtl demo

* RTL: button and button-group

* RTL: Steps component

* fix rtl demo style

* fix input suffix icon alignment

* RTL: form component

* RTL: rate component

* RTL: radio and radio group components

* RTL: tree-select component

* RTL: badge component

* fix rtl issue in inline form

* fix input component rtl padding issue

* add rtl support to whole demo with RTL button

* fix lost changes after rebase

* fix lint errors

* RTL: Transfer Component

* RTL: upload component

* RTL: update avatar demo

* RTL: comment component

* RTL: collapse component

* RTL: carousel component

* update snapshots

* RTL: Card component

* RTL: descriptions component

* RTL:  Empty component

* RTL: list component

* RTL: slider component

* slider component import/order

* add shared rtlTest

* RTL: Statistic component

* RTL: tooltip components

* RTL: popover component

* RTL: timeline component

* RTL: tag component

* RTL: alert component

* RTL: drawer component

* RTL: Tab component

* change direction definition

* RTL: progress component

* input.tsx, remove duplicate after rebase

* fix demo.less after rebase

* fix ant-row-rtl after rebase

* fix upload issues in rtl

* badge rtl demo margin fix

* fix: tabs with icon margin

* fix: radio-wrapper margin

* fix: table component after rebase

* fix: centered modal text-align

* update slider snapshot

* RTL: popconfirm component

* RTL: back-top component

* RTL: spin component

* RTL: result component

* RTL: skeleton component

* RTL: menu component

* RTL: time-picker component

* RTL: calendar component

* RTL: date-picker component

* RTL: home page

* update snapshots

* test: add auto-complete rtl test

* test: add avatar component rtl tests

* test: add badge component rtl tests

* test: add breadcrumb component rtl tests

* test: add button components rtl tests

* test: add card component rtl tests

* test: add carousel component rtl tests

* test: add cascader component rtl tests

* test: add checkbox component rtl tests

* test: add collapse component rtl tests

* test: add comment component rtl tests

* test: add dropdown component rtl tests

* test: add empty component rtl tests

* test: add form component rtl tests

* test: add grid component rtl tests

* test: add input component rtl tests

* test: add search component rtl tests

* test: add input-number component rtl tests

* test: add layout component rtl tests

* test: add list component rtl tests

* test: add mentions component rtl tests

* test: add modal component rtl tests

* test: add page-header component rtl tests

* test: add pagination component rtl tests

* test: add radio component rtl tests

* test: add rate component rtl tests

* test: add select component rtl tests

* test: add slider component rtl tests

* test: add steps component rtl tests

* test: add switch component rtl tests

* test: add table component rtl tests

* test: add transfer component rtl tests

* test: add tree component rtl tests

* test: add tree-select component rtl tests

* test: add typography component rtl tests

* test: add upload component rtl tests

* test: add affix component rtl tests

* update calendar tests

* increase css file maxSize

* update snapshots

* remove workflows to allow push

* remove duplicate reverse prop from slider

* fix: remove table demo from config-provider

* fix: remove table demo from config-provider

* fix lint error

* Added direction property to ConfigProvider

* cascader rtl tests added

* update config-provider doc

* RTL: grid system

* RTL: input component

* RTL: switch component

* fix rtl demo lint

* RTL: modal component (exclude confirm)

* RTL: table component

* RTL: pagination component

* cleanup rtl demo

* fix pagination.tsx compile error

* RTL: button and button-group

* RTL: Steps component

* fix rtl demo style

* RTL: form component

* add pagination rtl test

* RTL: rate component

* RTL: radio and radio group components

* RTL: tree-select component

* RTL: badge component

* fix rtl issue in inline form

* fix input component rtl padding issue

* add rtl support to whole demo with RTL button

* RTL: input component

* RTL: select component

* RTL: switch component

* RTL: tree component

* fix rtl demo lint

* rtl demo change en-us description

* RTL: modal component (exclude confirm)

* RTL: table component

* RTL: pagination component

* cleanup rtl demo

* RTL: button and button-group

* RTL: Steps component

* fix rtl demo style

* fix input suffix icon alignment

* RTL: form component

* RTL: rate component

* RTL: radio and radio group components

* RTL: tree-select component

* RTL: badge component

* fix rtl issue in inline form

* fix input component rtl padding issue

* add rtl support to whole demo with RTL button

* input.tsx, remove duplicate after rebase

* fix ant-row-rtl after rebase

* update snapshots

* test: add cascader component rtl tests

* test: add pagination component rtl tests

* update calendar tests

* update snapshots

* fix: remove table demo from config-provider

* fix: remove table demo from config-provider

* fix lint error

* update direction.md icons

* dropdown and cascader default placement in rtl

* update snapshots

* fix lint errors

* remove duplicate import

* update snapshots

* update snapshot

* update calendar snapshot

* update snapshots

* integrate with new rc-picker

* update snapshots

* fix lint errors

* update snapshot

* update snapshots

* update snapshots

* update snapshots :|

* update snapshots

* fix compile error.

* fix typo after rebase

* update snapshots

* remove workflows to allow push

* update snapshots

* update snapshots

* fix dist error

* front-page css fix

* update snapshots

* fix lint and test issues

* restore cascader index.less

* update snapshots

* fix logo in rtl and demo controls

* ci errors

* resolve steps/index.tsx conflicts

* tooltip family demo remove inline style

* resolve table/Table.tsx conflicts

* resolve modal/Modal.tsx conflicts

* resolve cascader/index.tsx conflicts

* add workflows from upstream

* update snapshots

* revert logo to default

* fix codebox demo direction of placements

* resolve tooltip overlayClassName conflicts

* update snapshots

* update popover test

* fix: cascader miss popupClassName

* fix: fix select missing dropdownClassName

* chore: Update snapshot

* chore: Adjust menu use rtl logic

* docs: Update demo line color

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-01-02 19:10:16 +08:00
偏右
4fc544e023
Merge branch '4.0-prepare' into master-for-merge-4.x 2019-12-27 12:34:40 +08:00
偏右
9ea5fb3050
🐛 Fix Tree wrong indent (#20456)
close #20441
2019-12-26 12:25:00 +08:00
偏右
9fa72ab74d
🐛 Fix TreeNode without icon white block (#20274) 2019-12-16 21:25:14 +08:00
ycjcl868
28306fb304 fix: colorPalette and @tree-bg 2019-12-02 10:53:09 +08:00
ycjcl868
ffd4371ab5 fix: remove @border-radius-sm 2019-11-15 10:01:35 +08:00
zombiej
eb916fd3b3 chore: Fix style lint 2019-10-16 10:51:18 +08:00
zombiej
16e3b839db fix: TreeSelect indent not correct when title not break 2019-10-12 18:36:32 +08:00
二货机器人
4907996b97
feat: TreeSelect use virtual scroll (#19040)
* use new rc-tree-select

* support not found

* add switch icon support

* support function

* support selection motion

* show search icon if open

* clean up

* fix lint

* fix lint
2019-09-27 22:31:28 -05:00
二货机器人
4dde966c4b
feat: Tree support accessibility & keyboard (#18866)
* tree support accessibility &keyboard

* fix lint
2019-09-18 10:18:43 +08:00
zombiej
c0105aa48f merge master 2019-09-03 14:35:58 +08:00
MrHeer
849237be0b 💄 Add @tree-node-hover-bg and @tree-node-selected-bg less variables
close #18539
2019-09-03 11:17:58 +08:00
zombieJ
8114516496
feat: Tree support virtual scroll (#18172)
* update tree deps

* add part of style

* flex grid

* update disabled

* update demo

* second demo

* add draggable style

* update demo

* update rc-tree version

* temp md

* update tree deps

* update icon demo

* update style

* update less

* update deps

* clean up

* update test case

* fix show line

* update snapshot

* fix lint

* update style

* update deps
2019-08-12 13:22:36 +08:00
zombieJ
4911bee059
use calc to fix tree line (#17055) 2019-06-12 12:20:32 +08:00
陈帅
785c132262
meger feature to master (#16421)
* use ul in list

* update snapshot

* update comment

* feat: TreeSelect support `showSearch` in multiple mode (#15933)

* update rc-tree-select

* typo

* update desc & snapshot

* update desc & snapshot

* check default showSearch

* feat: table customizing variable (#15971)

* feat: added table selected row color variable

* fix: @table-selected-row-color default is inherit

* feat: Upload support customize previewFile (#15984)

* support preview file

* use promise

* dealy load

* use canvas of render

* use domHook of test

* update demo

* add snapshot

* update types

* update testcase

* feat: form customizing variables (#15954)

* fix: added styling form input background-color

* feat: added '@form-warning-input-bg' variable

* feat: added '@form-error-input-bg' variable

* use li wrap with comment

* feat: Support append theme less file with less-variable (#16118)

* add override

* add override support

* update doc

* feat: dropdown support set right icon

* docs: update doc of dropdown component

* style: format dropdown-button.md

* test: update updateSnapshot

* style: format dropdown-button.md

* test: update updateSnapshot

* test: update updateSnapshot

* style: change style of dropdown-button demo

* fix: fix document table order

* feat: Support SkeletonAvatarProps.size accept number (#16078) (#16128)

* chore:update style of demo

* feat: Notification functions accept top, bottom and getContainer as arguments

* drawer: add afterVisibleChange

* rm onVisibleChange

* update

* feat: 🇭🇷 hr_HR locale (#16258)

* Added Croatian locale

* fixed lint error

*  Add test cases for hr_HR

* 📝 update i18n documentation

* feat:  add `htmlFor` in Form.Item (#16278)

* add htmlFor in Form.Item

* update doc

* feat: Button support `link` type (#16289)

close #15892

* feat: Add Timeline.Item.position (#16148) (#16193)

* fix: Timeline.pendingDot interface documentation there is a small problem (#16177)

* feat: Add Timeline.Item.position (#16148)

* doc: add version infomation for Timeline.Item.position

* refactor: Update Tree & TreeSelect deps (#16330)

* use CSSMotion

* update snapshot

* feat: Collapse support `expandIconPosition` (#16365)

* update doc

* support expandIconPosition

* update snapshot

* feat: Breadcrumb  support DropDown (#16315)

* breadcrumbs support drop down menu

* update doc

* add require less

* fix test

* fix md doc

* less code

* fix  style warning

* update snap

* add children render test

* feat: TreeNode support checkable

* feat: add optional to support top and left slick dots (#16186) (#16225)

* add optional to support top and left slick dots

* update carousel snapshot

* Update doc, add placement demo

* update carousel placement demo snapshots

* rename dots placement to position

* update vertical as deprecated

* rename dotsPosition to dotPosition

* refine code

* add warning testcase for vertical

* remove unused warning

* update expression

* Additional test case for dotPosition

* refactor: Upgrade `rc-tree-select` to support pure React motion (#16402)

* upgrade `rc-tree-select`

* update snapshot

* 3.17.0 changelog

* fix warning

* fix review warning
2019-05-06 12:04:39 +08:00
DiamondYuan
b3bea96e80 fix: Tree checkbox animation not correct (#16272)
* fix: Tree checkbox animation not correct

* fix: Tree checkbox animation not correct

* fix: Tree checkbox animation not correct

* chore: add comment
2019-04-24 20:09:49 +08:00
afc163
a2a9831abb
💄 Fix less code style 2019-04-15 11:05:06 +08:00
诸岳
dcdd7fb414 fix(Tree): Switcher loading icon and checkbox should be vertical align when @tree-title-height is modified, close #15955 (#15962) 2019-04-10 17:44:39 +08:00
zombiej
65dd36a466 rm useless 2019-03-13 15:57:42 +08:00
Cheng
c882a4b918 Style tree content to full width (#14858)
*  (tree) new blockNode props

* 💄 (tree) style for blockNode

* 📝 (tree) update draggable demo

* 🐛 (tree) fix custom switcherIcon class

*  (tree) update snapshots

* 📝 (tree) update docs

* 👌 opt trans
2019-03-08 12:36:46 +08:00
杨小事er
0f91fb07e9 fix(tree): fix growing space (#14964)
* fix(tree): fix growing space

* fix(tree): remove last child 4px padding bottom and keep others

* Update index.less
2019-02-21 11:17:52 +08:00
米老朱
6936599aef Enhance stylelint rules (#14803)
* rename .stylelintrc to .stylelintrc.json for explicit file type

* add new npm script lint-fix:style

* fix pseudo-element with double colon

* function name should be lower except ignored functions

* support stylelint declaration-block-no-ignored-properties rule

* support sorted CSS properties order for readability and consistency

* autofix order of all styles by lint-fix:style script

* remove double slash comments after selector

* replace .stylelintignore with ignoreFiles in .stylelintrc.json
2019-02-15 10:48:07 +08:00
陈帅
dca9715186 support prettier 2018-12-07 18:27:30 +08:00
afc163
c0ba2eb456
💄 tweak tree switcher icon size 2018-11-26 13:42:49 +08:00