Commit Graph

12033 Commits

Author SHA1 Message Date
偏右
6d03122215
docs: clarify Select labelInValue onChange argument (#25361)
close #25355
2020-07-01 20:49:24 +08:00
xrkffgg
1503a58aee
docs: format api timepicker/transfer/upload (#25351) 2020-07-01 20:18:48 +08:00
xrkffgg
e494c9589c
docs: format api select/slider/treeselect (#25348) 2020-07-01 17:28:59 +08:00
xrkffgg
58ede7df60
docs: format api radio/rate/switch (#25342) 2020-07-01 16:21:56 +08:00
弘树@阿里
0a80ca75ad
fix:tabList bottom margin in page header (#25340)
fixes issue: https://github.com/ant-design/ant-design-pro/issues/6906
2020-07-01 16:09:55 +08:00
二货机器人
cfcd990efd
fix: Menu transition finished by opacity (#25341) 2020-07-01 15:41:55 +08:00
xrkffgg
382b8a78be
docs: format api input/inputnumber/mentions (#25339) 2020-07-01 15:14:31 +08:00
afc163
7b9231afc0 revert #25336 mistake 2020-07-01 14:13:47 +08:00
偏右
5b7104cc9d
fix: Form.Item hidden no working (#25336)
close #25335
2020-07-01 14:12:35 +08:00
CornerSkyless
1da3144d91
fix Tooltip custom color typescript type definition (#25315) 2020-07-01 10:47:26 +08:00
二货机器人
b46ea66a73
feat: validateFirst support parallel (#25321)
* feat: validateFirst support parallel

* Update components/form/index.en-US.md

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

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

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

Co-authored-by: xrkffgg <xrkffgg@gmail.com>
2020-07-01 10:11:39 +08:00
xrkffgg
0a8641fc02
fix: ref lost in Radio.Group (#25328) 2020-07-01 10:08:23 +08:00
偏右
70c548a1d9
fix: Drawer mask trigger close multiple times (#25313)
close #25311
2020-06-30 19:30:44 +08:00
xrkffgg
04b728e6f5
docs: format api cascader/datepicker/form (#25307) 2020-06-30 16:36:58 +08:00
xrkffgg
8ef1a3fac3
docs: format api autocomplete/checkbox/steps (#25305) 2020-06-30 15:39:12 +08:00
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
偏右
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
偏右
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
偏右
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
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
陈帅
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
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
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
zombiej
05fb29375e chore: Feature merge master 2020-06-24 14:25:34 +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
偏右
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
二货机器人
0313f973bc
Merge pull request #25144 from ant-design/master
chore: merge master into feature
2020-06-22 13:20:02 +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
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
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
二货机器人
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
xrkffgg
1086d8792e
feat: expand rate support props (#24993) 2020-06-18 15:48:48 +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
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
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
07akioni
8906dfb549
feat: showNow on timepicker and datetimepicker (#25032) 2020-06-16 18:59:48 +08:00
二货机器人
1ef7e4e296
feat: export Tabs addIcon (#25006)
* feat: export Tabs addIcon

* update snapshot
2020-06-16 17:54:53 +08:00
Harutaka Kawamura
87875eeb8a
fix: allow selecting only value on double click on Descriptions.Item (#24983)
* Wrap children with div

* Add display: inline

* Revert changes

* Wrap content by div

* Revert "Wrap content by div"

This reverts commit 90e827af1b.

* Insert invisible space

* Insert <i> before <span> for content

* Use @afc163's approach
2020-06-16 14:22:58 +08:00
07akioni
6899c327c7
fix: List label text not start aligned in safari (#25018) 2020-06-16 13:35:21 +08:00
偏右
65355a3855
Merge pull request #25016 from ant-design/master
chore: Feature merge master
2020-06-16 13:06:51 +08:00
二手掉包工程师
50401d0c4d
test(Search): remove useless async (#25017) 2020-06-16 11:51:01 +08:00
07akioni
e2337e0021
fix: reduce table filter dropdown max-height (#25001) 2020-06-16 11:27:08 +08:00
07akioni
298d903630
fix: List.Item.Meta width overflow (#24992)
* fix: List.Item.Meta width overflow

* refactor: not hide overflow on list-item-content
2020-06-16 11:17:58 +08:00
偏右
351c842015
fix: PageHeader tabs broken style since 4.3.0 (#24991)
close #24989
2020-06-15 21:34:42 +08:00
Martin Cermak
638a37832b docs: Table sorting with handle using react-sortable-hoc 2020-06-15 18:37:20 +08:00
hicrystal
0b1e85452b
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>
2020-06-15 17:53:30 +08:00
Jurriaan BW
4347eda0fe
fixed typedef of Slider value (#24652) 2020-06-15 17:50:36 +08:00
xrkffgg
d8482546ed
fix: sub menu background when dark compact (#24997) 2020-06-15 17:16:03 +08:00
07akioni
520fbca0f4
refactor: Reduce Button CSS size (#24996)
* refactor: reduce button css size

* refactor: remove redundant button .less code
2020-06-15 16:00:15 +08:00
偏右
b6cf00aded
Merge pull request #24985 from ant-design/master
chore: merge master into feature
2020-06-14 23:29:07 +08:00
二货机器人
0f46173410
fix: Form.validateTrigger not work (#24979)
* fix: Merged validateTrigger

* test case
2020-06-14 14:15:17 +08:00
Ashkan Pourghasem
cc12109d46
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>
2020-06-14 13:42:44 +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
hehe
ae49280ca0
chore: rm incorrect table props (emptyText) (#24948) 2020-06-13 02:29:20 +08:00
二手掉包工程师
544f407dd1
chore: add displayName Search name (#24965) 2020-06-12 23:32:06 +08:00
Kermit Xuan
e5348e77c2
feat: Mentions support autoSize (#24961)
close #17746
2020-06-12 23:26:30 +08:00
samir elsharkawy
64b7b551e2
feat: Improve fr_FR localisations (#24962)
- Add missing `Table` fields
- Add `PageHeader`
- Update one field in `Transfer` to stay consistent
- Make all `Text` localisation upper case to stay consistent
2020-06-12 23:22:45 +08:00
zefeng
02021836e1
chore: fix tabs-demo style in compact mode (#24922) 2020-06-12 23:17:45 +08:00
zoomdong
abebd55f0e
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
2020-06-12 22:44:32 +08:00
二货机器人
8a2ccae477
fix: Table shouldCellUpdate (#24963) 2020-06-12 22:14:42 +08:00
二手掉包工程师
f7934f5df2
refactor: rewrite Search with hook (#24901)
* wip: rewrite Search with hook

* fix: use forwardRef

* fix: use forwardRef

* test: add prevent test

* test: refine code
2020-06-12 18:50:36 +08:00
xrkffgg
6fb38c342f
fix: add modal confirm default icon (#24956) 2020-06-12 18:11:42 +08:00
偏右
31a9fffeac
fix: List grid not working in React.Fragment or wrapped List.Item (#24955)
* fix: List grid not working for Fragment or wrapping List.Item

close #24553
close #24828

* remove unused code

* no need extra wrap div for List without grid prop
2020-06-12 18:11:29 +08:00
07akioni
f6c8f81484
fix: shoundn't keep table filterDropdown inner status in controlled mode (#24952)
* fix: shoundn't keep table filterDropdown inner status in controlled mode

* chore: remove useless code in table.filter.test
2020-06-12 18:05:46 +08:00
sosohime
905ddfc2c7
Avatar falling back to children on image error (#24944)
Co-authored-by: 贺业晟 <heyesheng@bytedance.com>
2020-06-12 15:26:40 +08:00
07akioni
0879bd5df3
feat: remove content max-width on dot-step (#24907) 2020-06-12 15:02:31 +08:00
偏右
b2764a08c8
refactor: move Result children to end (#24945) 2020-06-12 13:40:36 +08:00
07akioni
ec87ea408b
fix: getTargetContainer is not omit in Drawer (#24938) 2020-06-12 10:39:52 +08:00
zoomdong
e129b0aae9
refactor(avatar): rewrite with hook (#24925)
* refactor Avatar

* add snapshot

* fix: lint
2020-06-12 10:36:53 +08:00
Miclle Zheng
3d51c801e6
Upload support patch method (#24936) 2020-06-12 10:31:07 +08:00
二货机器人
ada59b9d37
fix: Field id (#24929) 2020-06-11 22:25:58 +08:00
二货机器人
83b028c7fe
fix: Tabs dropdown overflow (#24928) 2020-06-11 22:08:12 +08:00
xrkffgg
2331ed0b39
docs: reduce typography demo (#24915) 2020-06-11 21:20:08 +08:00
07akioni
718f362aea
docs: remove combobox related descriptions of Select (#24923) 2020-06-11 21:19:58 +08:00
07akioni
6cc16fb7f5
docs: adapt table edit-rows demo's style to 4.0 (#24926) 2020-06-11 21:18:18 +08:00
xrkffgg
7a5939fa37
feat: add @rate-star-hover-scale (#24917) 2020-06-11 20:51:55 +08:00
偏右
86e4cd1c0f
add test case to Select (#24912) 2020-06-11 18:01:45 +08:00
xrkffgg
cb544f7feb
docs: reduce button demo (#24908) 2020-06-11 15:24:24 +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
xrkffgg
aa6c0a19c8
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
2020-06-11 13:21:54 +08:00
zombiej
07a8ce1976 snapshot 2020-06-11 11:09:40 +08:00
zombiej
28ca1afa17 update snapshot 2020-06-11 10:59:46 +08:00
zombiej
cbeecdc41f merge master 2020-06-11 10:38:50 +08:00
xrkffgg
312e4b24bc
feat: add closeIcon customize tag close (#24885)
* feat: add closeIcon customize tag close

* docs fix

* update snap

* fix: css name
2020-06-10 16:07:29 +08:00
Hanz Luo
8af5e65467
style: optimize comment actions style (#24869) 2020-06-10 12:44:19 +08:00
二手掉包工程师
57190f197b
refactor: clean up some deprecated APIs (#24881) 2020-06-10 11:12:31 +08:00
nitinknolder
b2c359cb34
fix: Add interface for Option props. (#24870)
* nitinknolder:export option props

* Add interface for option props in select component

* resolve pr comment
2020-06-10 11:00:01 +08:00
zoomdong
9a6c2f667a
docs: fix typo of Typography (#24883)
* docs:typo of Typography

* update snap
2020-06-10 10:06:17 +08:00
xrkffgg
d380a8d3e4
style: add @divider-orientation-margin less (#24877)
* style: add `@divider-text-left-width` less

* fix: name
2020-06-10 09:37:48 +08:00
zoomdong
6619c14579
docs: refine typo of Skeleton (#24878)
* fix: docs of Skeleton

* fix: typo
2020-06-09 23:22:28 +08:00
Neto Braghetto
8957d37bfd
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
2020-06-09 21:41:11 +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
Pubudu Kodikara
c72c773e67
fix: export CardInterface from Card resolves #24864 (#24866) 2020-06-09 19:54:59 +08:00
07akioni
a0893fcd0b
refactor: reduce CSS size (#24846)
* refactor: reduce button css size

* refactor: remove redundant button .less code
2020-06-09 19:39:37 +08:00
二货机器人
a9a651ffd5
fix: Form List warning (#24867)
* fix: Form List warning

* clean reaf
2020-06-09 18:10:43 +08:00
xrkffgg
4c39678ac8
feat: 🆕 Cascader expandIcon (#24865)
* feat: cascader expandIcon

* fix: snap
2020-06-09 17:31:19 +08:00
xrkffgg
4e2118cad0
docs: update picker placeholder (#24861) 2020-06-09 13:07:39 +08:00
eenlars
7f48f7336c
docs: Update placeholder type for Rangepicker (#24853)
* Update placeholder possibilities for Rangepicker

A rangepicker needs two placeholder fields instead of one. It is an array of two strings.
2020-06-09 12:51:34 +08:00
二货机器人
d6d3de8a1b
fix: table multiple sorter (#24852)
* fix sort callback

* add test case
2020-06-08 22:45:53 +08:00
David Sichau
af5ff52a27
fixed code that increased package size if tree shaking is disabled (#24847) 2020-06-08 22:11:25 +08:00
zombiej
b2f3596f7d docs: Update mobile position of tabs
close #24831
2020-06-08 20:51:44 +08:00
偏右
5c18fbdb66
feat: 🆕 support Drawer closeIcon (#24842)
* feat: 🆕 support Drawer closeIcon

close #19283
close #19153

* add test case

* update docs
2020-06-08 19:24:29 +08:00
偏右
25f19771ea
Merge pull request #24839 from ant-design/master
chore: merge master into feature
2020-06-08 18:33:02 +08:00
偏右
637aa09bc5
chore: fix some eslint problems (#24836)
* 💄 fix lint

* 💄 fix lint
2020-06-08 18:01:50 +08:00
二货机器人
1eb702b166
fix: steps nav active line height, 3px -> 2px (#24829)
Co-authored-by: 愚道 <tingzhao.ytz@antfin.com>
2020-06-08 16:33:37 +08:00
07akioni
1fdccc9c73
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
2020-06-08 16:19:28 +08:00
07akioni
fcfd080f0a
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
2020-06-08 16:19:05 +08:00
xrkffgg
7071ac7f6e
fix: rewrite drag table demo (#24824) 2020-06-08 15:28:28 +08:00
07akioni
ece5c03526
doc: select dropdownRender no longer accepts props (#24814) 2020-06-08 13:54:53 +08:00
偏右
69db6faebe
Add test cases for Notification (#24808) 2020-06-07 21:47:07 +08:00
偏右
965fce5d0b
fix: Menu SubMenu scroll problem (#24806)
close #24064
close #24800
2020-06-07 20:57:43 +08:00
陈帅
30217ade3f
fix: Drawer cannot open (#24802)
* bugfix: fix drawer getContainer is null error

* add test
2020-06-07 19:05:44 +08:00
zoomdong
6129d3a1eb
fix: typo on skeleton element (#24792) 2020-06-06 23:07:11 +08:00
Jaewook Ahn
ce0505561a
Add ko_KR localizations for Form (#24783) 2020-06-06 16:08:20 +08:00
偏右
5e1be364c4
fix: TimePicker.RangePicker bordred when has className (#24781)
* fix: TimePicker.RangePicker don't support bordred={false}

when has className

close #24768

* fix snapshot
2020-06-06 15:26:51 +08:00
偏右
e3a7635a2a
fix: Statistic don't work with Tooltip (#24782)
close #24774
2020-06-06 15:25:47 +08:00
zoomdong
e508ee778d
fix: bugs on pageSize change in List (#24514)
* fix: bugs on pageSize change in List

* fix: update pagination props

* fix: delete console

* fix: lint

* feat: add test case

* feat: test case

* feat: add test case

* fix: update

* adjust

* fix: lint

* feat: adjust code

* fix: lint

* feat: add test case

* feat: complete test case
2020-06-06 15:09:59 +08:00
afc163
4b239d65c0 fix snapshot 2020-06-06 14:53:27 +08:00
afc163
019eeec3ce fix: TimePicker.RangePicker don't support bordred={false}
when has className

close #24768
2020-06-06 14:37:08 +08:00
偏右
584f9fd907
🗑️ remove Tag afterClose from docs (#24779) 2020-06-06 14:14:30 +08:00
afc163
e09ce6284e 🎬 update DatePicker and TimePicker demo 2020-06-06 14:01:29 +08:00
xrkffgg
955fa520f1
fix: badge offset in rtl (#24724)
* fix: badge offset in rtl

* fix: update snap

* add test

* fix: offset

* fix: snap
2020-06-06 13:20:09 +08:00
wendellhu
4512d467ab
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
2020-06-05 20:12:18 +08:00
偏右
e361b30ded
refactor: Card demo and code (#24764)
* 🎬 update Card demo

* refactor card code

* 🎬 update Tabs demo

* update snapshot
2020-06-05 20:11:25 +08:00
二货机器人
e46d414b11
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
2020-06-05 18:06:52 +08:00
Arvin Xu
dda650cc7b
docs: Update components cover (#24744)
* docs: Update components cover

#24629

* docs: Update components cover
2020-06-05 13:50:09 +08:00
07akioni
c2beed8bd3
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
2020-06-05 13:42:46 +08:00
偏右
d1bdaee607
Merge pull request #24741 from ant-design/master
chore: merge master into feature
2020-06-05 13:38:32 +08:00
偏右
6f36f4a877
fix: Tag.CheckableTag don't support onClick (#24743)
close #24733
2020-06-05 12:23:44 +08:00
afc163
f22c5d999b 🎬 update Tag demo 2020-06-05 11:01:02 +08:00