Commit Graph

11798 Commits

Author SHA1 Message Date
陈帅
523b74e3b6
merge master into Feature (#25262)
* feat: add successColor for Progress (#24655)

* feat: add successColor for Progress

* feat: update

* fix: update test

* remove snap

* feat: add test case

* refactor success

* feat: adjust styyle

* feat: add DevWarning

* feat: Support rowSelection.dirty (#24718)

* feat: Support rowSelection.dirty

* rename to reserveKeys

* preserveKeys will keep record also

* to preserveSelectedRowKeys

* feat: add ghost prop for collapse (#24734)

* feat: add ghost prop for collapse

* doc: version of collapse's ghost prop

* refactor: make ghost collapse's less code to a nested style

* chore: remove redundant codes in ghost collapse's less & doc

* doc: add a background wrapper for ghost collapse demo

* doc: dark-theme wrapper bg-color for ghost collapse demo

* test: update snapshot of ghost collapse

* doc: use softer bg-color on ghost collapse demo

* doc: remove disabled panel in ghost collapse demo

* feat: form instance support getFieldInstance (#24711)

* support getFieldInstance

* update doc

* fix lint

* move func

* move into hooks

* update ref logic

* fix lint

* rm only

* fix docs

* feat: dropdown support arrow (#23869)

* feat: dropdown support arrow prop

close #22758

* test: update snapshot

* fix: fix dropdown cls names

* test: update snapshot

* test: update snapshot

* doc: update demo

* test: update demo snapshot

* demo

* fix: snapshot

* chore: change the style of ghost collapse & demo modified (#24762)

* refactor: reduce content padding in ghost collapse

* doc: remove the wrapper outside ghost collapse

Designer want the demo differs from other demos

* refactor: remove redundant .less code in collapse

* feat: cascader dropdown-render prop (#24812)

* feat: cascader dropdown-render prop

* fix: update Cascader dropdownRender type annotation

* fix: set rc-cascader semver from ^ to ~

* docs: fix coding style in cascader/custom-dropdown

* feat: 🆕 support Drawer closeIcon (#24842)

* feat: 🆕 support Drawer closeIcon

close #19283
close #19153

* add test case

* update docs

* feat: 🆕 Cascader expandIcon (#24865)

* feat: cascader expandIcon

* fix: snap

* refactor: reduce CSS size (#24846)

* refactor: reduce button css size

* refactor: remove redundant button .less code

* feat: add Table onChange an action param (#24697)

* Working on tests

* created TableAction type

* changed TableActions to tuple

* removed chinese documentation line

* refactor TableActions

* fix documentation

* Moved action into extra param

* minor doc change

* feat: add closeIcon customize tag close (#24885)

* feat: add closeIcon customize tag close

* docs fix

* update snap

* fix: css name

* update snapshot

* snapshot

* feat: add radio `optionType` api to set radio option type (#24809)

* feat: radio component

* docs: update md

* fix: snap

* test components

* fix: use optionType

* fix name

* add warning

* fix

* feat: expand rate character (#24903)

* feat: expand rate character

* fix: demo

* fix: snap

* Update components/rate/index.zh-CN.md

Co-authored-by: 偏右 <afc163@gmail.com>

* fix

Co-authored-by: 偏右 <afc163@gmail.com>

* Refactor demo code box actions (#24887)

* refactor: refine the styling of actions part of demo code-box

* fix: lint style

* refactor: move Result children to end (#24945)

* feat: remove content max-width on dot-step (#24907)

* feat: add Skeleton-Image (#24805)

* feat: add Skeleton-Image

* feat: add docs

* fix: adjust skeleton

* feat: adjust Image Component

* feat: rebase

* feat: adjust style

* fix: lint

* feat: remove size

* feat: delete md

* feat: fix style

*  feat: Mentions support autoSize (#24961)

close #17746

* chore: replace textarea with rc-textarea (#24966)

* feat: update pagination@2.3.0 support onChange called when pageSize change (#24964)

* feat: update pagination@2.5.0 and add test case to relative component

* fix: lint

* delete

* feat: add test case for pagination

* adjust test case

* feat: Implement centered prop in Tabs (#24958)

* Implement centered in Tabs along with its tests and docs

* Fix build error

* Add Chinese translations and remove test case

Co-authored-by: Ashkan Pourghasem <ashkan.pourghasem@gmail.com>

* feat: Add modal style parameter (#24773)

* add some paramters in default.less

* Update components/style/themes/default.less

Co-authored-by: Amumu <yoyo837@hotmail.com>

* change parameter in compact.less

Co-authored-by: Crystal Gao <jinggao@ebay.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>

* feat: export Tabs addIcon (#25006)

* feat: export Tabs addIcon

* update snapshot

* feat: showNow on timepicker and datetimepicker (#25032)

* feat: update rc-picker@1.7.1 and fix icons of month and quarter picker in DatePicker Component (#25035)

* feat: update rc-picker@1.7.1

* delete

* add

* feat: expand rate support props (#24993)

* docs: 📝 Add Form.Item hidden in doc (#25108)

close #25101

* fix: ⌨️ Improve Pagination accessibility issue (#25119)

* ⌨️ Improve Pagination a11y by fixing a W3C error

https://github.com/react-component/pagination/issues/280

* update snapshot

* 🆙 rc-pagination to 2.4.1

* feat: support triggerSubMenuAction for <Menu /> (#25127)

* feat(menu): add triggerSubMenuAction for Menu

* feat(menu): test cases

* chore: Adjust picker logic (#25135)

* chore: update rc-picker 1.10.0 (#25174)

* feat: table row check strictly (#24931)

* feat: add checkStrictly on Table.rowSelection

* fix: LGTM warnings

* test: table rowSelection.checkStrictly

* test: add cov [wip]

* refactor: tree.rowSelection.checkStrictly [wip]

* test: table.rowSelection.checkStrictly basic case

* feat: support rowKey on checkStrictly table

* feat: Table checkStrictly support getCheckboxProps

* docs: Table checkStrictly

* chore: typo

* chore: remove useless comment

* chore: update snapshot

* chore: update snapshot

* fix: fire selectAll on selection dropdown menu & changeRows incorrect in selectAll callback

* docs: typo

* chore

* chore

* fix: expand buttons of leaf rows in tree data are not hidden

* feat: Table warning about rowKey index parameter

* perf: only generate keyEntities when not checkStrictly

* refactor: remove useless parseCheckedKeys

* refactor: get derived selected & half selected keys from selectedRowKeys

* chore: remove env condition stmt

* chore: revert index usage & code formatting

* chore: rerun ci

* docs: table tree-data checkstrictly

* test: update snapshots

* refactor: use useMergedState hook

* chore: rerun ci

* chore: rerun ci 2

* chore: revert selection select all behavior

* refactor: refactor code based on feature

* chore: revert table code format

* chore: revert table code format

* fix: useMemo deps

* fix: useMemo deps

* fix: useMemo deps

* feat: support preserve (#25186)

* docs: add responsibly order for Col (#25139)

* feat: add type

* feat: add responsibly order cols

* feat: add docs

* feat: add test case

* fix test

Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: 偏右 <afc163@gmail.com>
Co-authored-by: zoomdong <1344492820@qq.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
Co-authored-by: wendellhu <wendellhu95@gmail.com>
Co-authored-by: xrkffgg <xrkffgg@gmail.com>
Co-authored-by: Neto Braghetto <netow93@gmail.com>
Co-authored-by: Kermit Xuan <kermitlx@outlook.com>
Co-authored-by: Ashkan Pourghasem <64011067+ashkan-pm@users.noreply.github.com>
Co-authored-by: Ashkan Pourghasem <ashkan.pourghasem@gmail.com>
Co-authored-by: hicrystal <295247343@qq.com>
Co-authored-by: Crystal Gao <jinggao@ebay.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: Li Ming <armyiljfe@gmail.com>
2020-06-28 22:41:59 +08:00
大猫
1ca1bb08a6
docs: add protable recommendation (#25043)
* Update index.zh-CN.md

add protable recommendation

* docs: move protable recommand to api

docs: move protable recommand to api

* Update components/table/index.zh-CN.md

Co-authored-by: 偏右 <afc163@gmail.com>

Co-authored-by: 陈帅 <qixian.cs@outlook.com>
Co-authored-by: 偏右 <afc163@gmail.com>
2020-06-28 22:26:32 +08:00
Varun Dey
fc39b37f45
docs: Remove unused style in Drawer docs (#25221)
* Remove unused style in Drawer docs

* Remove unused style in Drawer from index.zh-CN
2020-06-28 21:06:57 +08:00
xrkffgg
a754d9f60a
docs: fix form context demo rtl (#25249)
* docs: fix form context demo rtl

* fix
2020-06-28 16:03:56 +08:00
Kentaro Suzuki
d71d3a07d7
feat: Adds ja_JP localisations for Form (#25244)
* feat: Adds ja_JP localisations for Form

* Update snapshots
2020-06-28 15:43:36 +08:00
xrkffgg
97df0f0fb6
docs: fix Pagination total demo (#25247) 2020-06-28 15:16:23 +08:00
07akioni
74e4150ddb
test: update tree-select snapshot (#25246) 2020-06-28 14:45:55 +08:00
karelsoupaEMZ
04f2859f4a
feat: Updated Czech, German and Italian translations for Table locale (#25233)
* feat: Updated Czech, German and Italian translations for Table locale

* feat: Added placeholder for czech locale
2020-06-28 09:52:07 +08:00
二货机器人
67513cc71b
fix: Select icon interactive (#25212)
* fix: Select icon interactive

* updat snasphot
2020-06-24 23:28:54 +08:00
偏右
87d32a7a3d
fix: Menu SubMenu background in dark theme (#25205)
close #25202
2020-06-24 18:58:27 +08:00
二货机器人
7ef283aab4
fix: IE11 can not close Tabs (#25200)
* fix: IE11 can not close Tabs

* update snapshot

* fix style lint

* move -remove icon clear
2020-06-24 17:55:50 +08:00
二货机器人
e454b9e431
docs: Update dropdownMatchSelectWidth (#25188) 2020-06-24 13:36:51 +08:00
07akioni
7385fefeb7
docs: Select showArrow correction (#25189) 2020-06-24 12:14:43 +08:00
JRoger
7b2971bab6
chore: export EventDataNode from rc-tree (#25142) 2020-06-24 11:37:28 +08:00
偏右
47c25fa470
fix: Table expand icon still interative when hide (#25170) 2020-06-23 12:19:25 +08:00
xrkffgg
157546480e
fix: Notification align when set width (#25168) 2020-06-23 11:40:33 +08:00
xrkffgg
4e60c28bd0
docs: fix Message demo (#25166) 2020-06-23 10:31:08 +08:00
偏右
dc9d86bba6
smoother Switch animation (#25160)
close #25158
2020-06-22 19:51:23 +08:00
偏右
16d10bbe26
fix: PageHeader tabs style (#25159) 2020-06-22 19:51:03 +08:00
xrkffgg
cd01eb03ab
fix: Table nested style in rtl (#25156) 2020-06-22 19:48:54 +08:00
xrkffgg
af20068287
fix: Table filter title in rtl (#25152) 2020-06-22 19:47:54 +08:00
xrkffgg
937fa7b55a
fix: InputNumber input in rtl (#25146) 2020-06-22 14:48:44 +08:00
jesse
8b1da1a1f8
style: fix BackTop not hidden completely (#25132)
* fix: hidden BackTop still effect layout, such as cursor

* Revert "fix: hidden BackTop still effect layout, such as cursor"

This reverts commit 9000e15a2d.

* perf: use :empty CSS pseudo-class
2020-06-20 22:42:54 +08:00
Samed Düzçay
eadbd62ee8
feat: improve Turkish translations (#25100)
* Update Turkish translations

* feat: update Turkish translations

* /* eslint-disable no-template-curly-in-string */

* fix: minor change to a Turkish translation

* chore: update snapshots

Co-authored-by: Amumu <yoyo837@hotmail.com>
2020-06-20 18:10:52 +08:00
07akioni
35f1b1b7fc
fix: remove style of ghost link & ghost text button (#24953)
* fix: remove style of ghost link & ghost text button

* feat: devWarning on link or text + ghost button

* test: update snapshot

* fix: fix devWarning valid arg

* test: test warning

* docs: update ghost button demo

* test: change resetWarned position

* chore
2020-06-19 17:46:15 +08:00
偏右
ee51df1853
add more test cases for Tree (#25115) 2020-06-19 15:45:52 +08:00
偏右
2b4d049921
fix: Upload don't support Popover (#25090)
close #25077
2020-06-19 10:59:21 +08:00
二货机器人
a421d6fca3
docs: Update Table sorter default prevent (#25105) 2020-06-19 10:18:45 +08:00
xrkffgg
7450c3fd8d
style: fix rtl.less missing variable (#25088) 2020-06-19 10:13:19 +08:00
xrkffgg
d78faf5d35
test: fix snap (#25104) 2020-06-19 10:12:18 +08:00
小菜
542547932c
docs: fix breakpoints url in index.zn-CN.md (#25097)
* fix: fix layout breakpoints link 404

* fix: fix layout breakpoints link 404

Co-authored-by: lijie.clj <lijie.clj@alibaba-inc.com>
2020-06-19 09:04:31 +08:00
二货机器人
9f1f590c62
fix: Tabs content width (#25072)
* fix: Tabs content width

* update style
2020-06-18 17:35:12 +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
51e8579bde
style: menu rtl use variable (#25082) 2020-06-18 14:53:04 +08:00
JinXin
5e658c2082
docs: fix table-demo data create (#25075) 2020-06-18 13:42:21 +08:00
偏右
1b64eb39bc
style: Add empty style for Table empty filters menu (#25073)
close #25068
2020-06-18 11:38:43 +08:00
xrkffgg
7f2d8a4a50
fix: TimePicker panel align (#25019)
* fix: TimePicker panel align

* fix: padding

* fix: height

* fix: both
2020-06-18 10:54:45 +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
LiPinghai
a55443bd8c
fix: avoid colorPalette error when the saturation/value === 1 (#25059)
problems caused by tinycolor converting 1 to 100%

Co-authored-by: pinghaili <pinghaili@tencent.com>
2020-06-17 20:06:57 +08:00
骆也
8e9ca06924
chore: update Form.Item children type (#25045)
`children` 为非必选 `props`,且 `React` 最佳实践推荐不要在 `props` 中传入 `children`,而是嵌套使用
2020-06-17 17:10:41 +08:00
xrkffgg
62fb03527c
docs: fix missing (#25053) 2020-06-17 17:08:47 +08:00
xrkffgg
7392c7491a
docs: remove unnecessary (#25026)
* docs: remove unnecessary

* fix: div
2020-06-17 14:48:26 +08:00
二货机器人
dc4b420d51
fix: Search crash in AutoComplete (#25049) 2020-06-17 13:35:12 +08:00
xrkffgg
395c0c8bc9
docs: reduce dropdown demo (#25005) 2020-06-17 12:41:53 +08:00
xrkffgg
ff0c00d624
docs: reduce layout demo (#25003) 2020-06-17 11:51:43 +08:00
xrkffgg
ce54cee482
docs: reduce affix demo (#25004)
* docs: reduce affix demo

* fix
2020-06-17 11:51:06 +08:00
二手掉包工程师
39fe6fdcb6
refactor: refine some typos (#25036) 2020-06-17 10:58:24 +08:00
07akioni
8dc16037d0
fix: nested unbordered table inside a bordered table has border. (#24995)
* fix: nested unbordered table inside a bordered table has border.

* docs: debug nested bordered table

* test: update snapshot

* fix: nested table border overlap

* test: update snapshot
2020-06-16 20:57:09 +08:00
二手掉包工程师
e54df4a41e
refactor: rewrite Password with hooks (#25012)
* refactor: rewrite Password with hooks

* refactor: remove state

* refactor:fix lint

* refactor:fix lint

* test: add size case
2020-06-16 19:49:08 +08:00