Commit Graph

18807 Commits

Author SHA1 Message Date
陈帅
648ed02827
Merge pull request #25265 from ant-design/feature
merge master into Feature
2020-06-28 23:28:36 +08:00
陈帅
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
chenshuai2144
b576304538 fix test 2020-06-28 22:29:32 +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
偏右
c394c8d90f
Merge pull request #25250 from ant-design/resolved-master-for-feature
chore: merge master into feature
2020-06-28 20:13:03 +08:00
07akioni
cefcaac37d
Merge branch 'feature' into resolved-master-for-feature 2020-06-28 20:06:37 +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
zoomdong
5d0b93cadd
docs: add responsibly order for Col (#25139)
* feat: add type

* feat: add responsibly order cols

* feat: add docs

* feat: add test case
2020-06-25 13:04:47 +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
二货机器人
9c006f4821
Merge pull request #25194 from ant-design/feature-merge-master
chore: Feature merge master
2020-06-24 14:48:09 +08:00
dependabot-preview[bot]
3eb586db24
chore(deps-dev): bump intersection-observer from 0.10.0 to 0.11.0 (#25191)
Bumps [intersection-observer](https://github.com/w3c/IntersectionObserver) from 0.10.0 to 0.11.0.
- [Release notes](https://github.com/w3c/IntersectionObserver/releases)
- [Commits](https://github.com/w3c/IntersectionObserver/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-24 14:38:56 +08:00
zombiej
05fb29375e chore: Feature merge master 2020-06-24 14:25:34 +08:00
偏右
986810b672
chore: remove console.log 2020-06-24 13:45:10 +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
二货机器人
de2691247c
feat: support preserve (#25186) 2020-06-24 11:36:25 +08:00
07akioni
50ae190b57
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
2020-06-23 22:19:33 +08:00
07akioni
3dbb9be339
chore: update rc-picker 1.10.0 (#25174) 2020-06-23 18:42:07 +08:00
dependabot-preview[bot]
4ae7703b95
chore(deps-dev): bump eslint from 7.2.0 to 7.3.1 (#25171)
* chore(deps-dev): bump eslint from 7.2.0 to 7.3.1

Bumps [eslint](https://github.com/eslint/eslint) from 7.2.0 to 7.3.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.2.0...v7.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Update package.json

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: 偏右 <afc163@gmail.com>
2020-06-23 14:22:07 +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
afc163
ba992d2c83 🛠 fix icon page autoFocus when collapse demos
close #24911
close #24932
close #20354
2020-06-22 22:51:18 +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
偏右
cde3c23915
Update sync.yml 2020-06-22 19:26:03 +08:00
zoomdong
4cee1a584c
fix: update rc-steps@4.0.1 and fix step has no key in fragment (#25147) 2020-06-22 15:06:02 +08:00
xrkffgg
937fa7b55a
fix: InputNumber input in rtl (#25146) 2020-06-22 14:48:44 +08:00
二货机器人
f61afbbf05
chore: Adjust picker logic (#25135) 2020-06-22 13:56:28 +08:00
二货机器人
0313f973bc
Merge pull request #25144 from ant-design/master
chore: merge master into feature
2020-06-22 13:20:02 +08:00
偏右
3663eee0b8
Update CHANGELOG.en-US.md 2020-06-21 16:03:17 +08:00
偏右
b6e2a39b99
docs: release 4.3.5 (#25136)
*  release 4.3.5

* 🔒 lock eslint version

https://github.com/eslint/eslint/issues/13427
2020-06-21 15:42:57 +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 9000e15a2dbbcf6cf8566b11a9f829737ca33ef3.

* 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
Li Ming
56c6c6ba54
feat: support triggerSubMenuAction for <Menu /> (#25127)
* feat(menu): add triggerSubMenuAction for Menu

* feat(menu): test cases
2020-06-20 14:02:33 +08:00
偏右
9ea72c3f37
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
2020-06-20 01:00:23 +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
偏右
da353e8199
docs: 📝 Add Form.Item hidden in doc (#25108)
close #25101
2020-06-19 14:03:16 +08:00
偏右
93ca6e78a4
Merge pull request #25111 from ant-design/master-to-merge-feature
chore: merge master into feature
2020-06-19 13:34:41 +08:00