Commit Graph

2683 Commits

Author SHA1 Message Date
偏右
061e7b86d8
chore: upgrade react-slick to reduce bundle size (#25599)
* chore: upgrade react-slick to reduce bundle size

* upgrade array-move BTW
2020-07-13 14:36:55 +08:00
二货机器人
8382bb02b9
docs: 4.4.2 changelog (#25579) 2020-07-11 16:25:03 +08:00
偏右
9febbca3fe
docs: 📔 Update customize-theme.zh-CN.md (#25540)
* Update customize-theme.zh-CN.md

* test:  update snapshot
2020-07-09 15:16:49 +08:00
偏右
5ce2b62867
perf: 📦 remove babel-runtime and enable @babel/runtime (#25530)
* 🗑️ remove babel-runtime from deps

* perf: enable @babel/runtime helpers
2020-07-09 13:56:55 +08:00
偏右
71447da264
perf: 🆙 upgrade to omit.js@2.0.2 (#25507)
* 🆙 upgrade to omit.js@2.0.2

* remove unused dep

* fix ci

* 🆙 upgrade rc-mentions
2020-07-08 23:14:22 +08:00
偏右
17dd94fd07
chore: 📦 Add bundle-stats and relative-ci (#25501)
* 📦 Add bundle-stats and relative-ci

* bundle-stats-webpack-plugin
2020-07-08 18:12:02 +08:00
二货机器人
6a32e8a40b
docs: 4.4.1 changelog (#25442)
* docs: 4.4.1 changelog

* add 25328

* update desc

* add missing collobrator

* adjust menu item desc

* update changelog

* clean up

* adjust dec

* 修复 text update

* add missing emoji

* desc update
2020-07-06 12:44:21 +08:00
dependabot-preview[bot]
a7a5516047
chore(deps-dev): bump react-intl from 4.7.6 to 5.0.2 (#25443)
Bumps [react-intl](https://github.com/formatjs/formatjs) from 4.7.6 to 5.0.2.
- [Release notes](https://github.com/formatjs/formatjs/releases)
- [Commits](https://github.com/formatjs/formatjs/compare/react-intl@4.7.6...react-intl@5.0.2)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-06 12:12:04 +08:00
Kermit Xuan
e4bbc8fcb3
refactor(menu): move feature to rc-menu(#24975) (#25369)
* refactor(menu): move feature to rc-menu(#24975)

* fix(table-useFilter): fix types;

* chore(menu): upgrade to 8.4.1
2020-07-06 11:40:52 +08:00
Johannes Andersen
f71d2d5493
feat: improve nb_NO translations (#25374)
* feat: improve nb_NO translations

* fix: issued with VSCode not highlighting issues

* fix: fix failing snapshot test

* Updated rc-picker 1.10.0 -> 1.10.6
2020-07-06 11:03:56 +08:00
陈帅
39e7f4b899
docs: add 4.4.0 changelog (#25242)
* docs: add 4.3.6 changelog

* add 25244 changelog

* fix review

* update changelog

* update changelog

* Update CHANGELOG.en-US.md

Co-authored-by: xrkffgg <xrkffgg@gmail.com>

* Update CHANGELOG.en-US.md

Co-authored-by: xrkffgg <xrkffgg@gmail.com>

* Update CHANGELOG.en-US.md

Co-authored-by: xrkffgg <xrkffgg@gmail.com>

* Update CHANGELOG.en-US.md

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

* sort log

* Update CHANGELOG.zh-CN.md

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

* update changelog

* sort log

* sort log

* add #25266 #25243 #25254 #25271 changelog

* add #25273 changelog

* Update CHANGELOG.en-US.md

Co-authored-by: xrkffgg <xrkffgg@gmail.com>

* Update CHANGELOG.zh-CN.md

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

* sort logs

* Update CHANGELOG.zh-CN.md

Co-authored-by: xrkffgg <xrkffgg@gmail.com>

* up versin

* Update changelog

* close react/no-unused-prop-types

* update changelog

* update snapshot

* Update CHANGELOG.en-US.md

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

* update snapshot

* Update CHANGELOG.zh-CN.md

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

* update changelog

* clear Duplicate

* sort logs

Co-authored-by: xrkffgg <xrkffgg@gmail.com>
Co-authored-by: 偏右 <afc163@gmail.com>
2020-06-29 14:56:23 +08:00
陈帅
20aea82ed9
Merge pull request #25275 from ant-design/feature
chore: merge feature into master
2020-06-29 12:16:56 +08:00
afc163
993bef524c 🆙 upgrade rc-drawer to fix scrollbar issue
close #24821
2020-06-29 11:21:39 +08:00
07akioni
5c72186899
fix: InputNumber max prop has no default value (#25243)
* fix: InputNumber max prop has no default value

* docs: enUS ref links

* docs: typo fix

* test: snapshots
2020-06-29 11:07:56 +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
陈帅
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
zoomdong
c47712f622 update rc-tree-select 2020-06-28 21:59:17 +08:00
zoomdong
9faaf6463a update snapshot 2020-06-28 21:35:16 +08:00
07akioni
cefcaac37d
Merge branch 'feature' into resolved-master-for-feature 2020-06-28 20:06:37 +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
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
二货机器人
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
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
二货机器人
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
偏右
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
偏右
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
afc163
bbc95a12a4 merge feature into master-to-merge-feature 2020-06-19 13:22:11 +08:00
偏右
2b4d049921
fix: Upload don't support Popover (#25090)
close #25077
2020-06-19 10:59:21 +08:00
xrkffgg
1086d8792e
feat: expand rate support props (#24993) 2020-06-18 15:48:48 +08:00
zoomdong
1de1ce7504
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
2020-06-17 09:20:23 +08:00
07akioni
8906dfb549
feat: showNow on timepicker and datetimepicker (#25032) 2020-06-16 18:59:48 +08:00
偏右
65355a3855
Merge pull request #25016 from ant-design/master
chore: Feature merge master
2020-06-16 13:06:51 +08:00
Martin Cermak
638a37832b docs: Table sorting with handle using react-sortable-hoc 2020-06-15 18:37:20 +08:00
偏右
b6cf00aded
Merge pull request #24985 from ant-design/master
chore: merge master into feature
2020-06-14 23:29:07 +08:00
07akioni
a91bd69cda
docs: 4.3.4 changelog (#24981)
* docs: 4.3.4 changelog

* chore: changelog format

* docs: add missing changelogs of 4.3.4

* docs: reorder 4.3.4 changelog

* docs: use flag emoji on 4.3.4 i18n changelog

* docs: reorder 4.3.4 changelog

* docs: reorder 4.3.4 changelog

* docs: version 4.3.4

* docs: Update CHANGELOG.zh-CN.md

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

* docs: fix changelog 4.3.4

Co-authored-by: 偏右 <afc163@gmail.com>
2020-06-14 21:45:47 +08:00
zoomdong
77ddbfc525
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
2020-06-13 14:26:29 +08:00
Kermit Xuan
294fc8a7ea
chore: replace textarea with rc-textarea (#24966) 2020-06-13 14:24:56 +08:00
Kermit Xuan
e5348e77c2
feat: Mentions support autoSize (#24961)
close #17746
2020-06-12 23:26:30 +08:00
二货机器人
8a2ccae477
fix: Table shouldCellUpdate (#24963) 2020-06-12 22:14:42 +08:00
xrkffgg
f37f471373
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>
2020-06-11 14:11:21 +08:00
dependabot-preview[bot]
bb947709f9
chore(deps-dev): bump @types/jest from 25.2.3 to 26.0.0 (#24894)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 25.2.3 to 26.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

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-11 13:19:32 +08:00
zombiej
cbeecdc41f merge master 2020-06-11 10:38:50 +08:00
南小北
1f04f78707
test: fix jest with less import (#24900) 2020-06-11 09:59:01 +08:00
二货机器人
8e6667880f
fix: Tabs shaking of content (#24873)
* fix: Tabs shaking when component auto size

* update test case

* update snapshot
2020-06-09 21:01:58 +08:00
偏右
25f19771ea
Merge pull request #24839 from ant-design/master
chore: merge master into feature
2020-06-08 18:33:02 +08:00