Commit Graph

18891 Commits

Author SHA1 Message Date
James Yeung
843a41a114
fix: whitespace between radio buttons caused by inline-block in Radio.Group (#25304)
* fix: whitespace between radio buttons caused by inline-block

* fix: stylelint
2020-06-30 15:01:37 +08:00
07akioni
53b232de29
fix: FormItem help message's animation has no deadline (#25297) 2020-06-30 13:37:39 +08:00
xrkffgg
d0181d1b4f
docs: format api menu/pageheader/pagination (#25299) 2020-06-30 13:26:37 +08:00
偏右
d401dfef06
fix: Sketch.Button default width (#25303) 2020-06-30 13:09:04 +08:00
偏右
124d6efafd
💄 optimize Menu collapse animation transtion (#25301)
close #22314
2020-06-30 12:11:14 +08:00
xrkffgg
ebb57ae63e
docs: format api space/breadcrumb/dropdown (#25296)
* docs: format api space/breadcrumb/dropdown

* fix function

* fix fcunciton before
2020-06-30 11:25:55 +08:00
jesse
09bb61e738
perf: Radio Group usePrevious instead of useState (#25122)
* perf: Radio Group usePrevious instead of useState

* fix: only re-run if value changes

* perf: put usePrevious custom Hook in _util/ref.ts

* Generics instead of any

* update
2020-06-30 10:45:16 +08:00
xrkffgg
2321cc6df5
docs: format api divider/grid/layout (#25293)
* docs: format api divider/grid/layout

* add the
2020-06-30 09:01:49 +08:00
xrkffgg
b9cd990693
docs: format api button/icon/typography (#25292) 2020-06-29 21:43:22 +08:00
Colder
50ae25d0c7
docs: fix typo resizable (#25279) 2020-06-29 15:37:36 +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
偏右
a35445fa79
Add test case (#25278) 2020-06-29 14:52:46 +08:00
afc163
e8063bd14d docs: Tabs animated default value
close #25277
2020-06-29 14:11:47 +08:00
偏右
45f6285503
Merge pull request #25276 from ant-design/feature
chore: merge feature into master
2020-06-29 13:15:15 +08:00
偏右
3e3d1eedcf
feat: customize Typography.Paragraph copyable (#25274)
*  customize copyable with tooltip and icon

* 💄 fix copyable icon margin

* 📝 custom icon and tooltips demos

* 📸 updating sanpshots

* 📝 updating copyable api

* fix snapshot

* fix tooltips type

* fix tooltips type again

* update documentation

Co-authored-by: Israel kusayev <israel.kusayev@gmail.com>
2020-06-29 12:25:48 +08:00
陈帅
20aea82ed9
Merge pull request #25275 from ant-design/feature
chore: merge feature into master
2020-06-29 12:16:56 +08:00
偏右
3e0d59bc6a
🆙 upgrade rc-drawer to fix scrollbar issue (#25273)
close #24821
2020-06-29 11:34:17 +08:00
偏右
1f2e50d4a2
Merge pull request #25270 from ant-design/master
chore: merge master into feature
2020-06-29 11:28:08 +08:00
xrkffgg
63f4ec41cf
docs: add BackTop duration (#25272) 2020-06-29 11:23:06 +08:00
afc163
993bef524c 🆙 upgrade rc-drawer to fix scrollbar issue
close #24821
2020-06-29 11:21:39 +08:00
xrkffgg
8a846de2c8
feat: add BackTop duration (#25254) 2020-06-29 11:08: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
afc163
88f7de7090 fix eslint 2020-06-29 10:45:50 +08:00
zoomdong
a5a157e4bc
Merge pull request #25067 from fireairforce/TreeLine
feat: expand prop showLeafIcon for  showLine in Tree Component
2020-06-29 00:20:48 +08:00
陈帅
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
zoomdong
d211d8aefa update 2020-06-28 22:24:24 +08:00
zoomdong
c47712f622 update rc-tree-select 2020-06-28 21:59:17 +08:00
zoomdong
b7cda21845 resolve confilct 2020-06-28 21:36:47 +08:00
zoomdong
cfc08040f9 adjust css 2020-06-28 21:35:16 +08:00
zoomdong
9faaf6463a update snapshot 2020-06-28 21:35:16 +08:00
zoomdong
e900f40413 update 2020-06-28 21:35:16 +08:00
zoomdong
b7e506d550 add css 2020-06-28 21:35:16 +08:00
zoomdong
3044ed1f99 feat: adjust 2020-06-28 21:35:16 +08:00
zoomdong
d4384c4fdc feat: add type 2020-06-28 21:35:16 +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