Commit Graph

9506 Commits

Author SHA1 Message Date
刘宏玺
cd9c3d7327
修改api的样式错误 2019-07-16 17:23:20 +08:00
zombiej
7b2a8fdf03 update snapshot 2019-07-16 11:46:38 +08:00
zombiej
735996ce35 merge master 2019-07-16 11:42:55 +08:00
afc163
67e027a41c 🐛 Fix Cannot update during an existing state transition
close #17147
2019-07-16 11:25:35 +08:00
wadezhan
c6730d419a feat: Empty description support false value 2019-07-15 23:37:49 +08:00
wadezhan
61dc08f9c7 feat: Empty description support false value 2019-07-15 23:24:20 +08:00
zombieJ
bed07392fd
update snapshot (#17656) 2019-07-15 19:32:46 +08:00
偏右
b44a075ccc
Merge pull request #17641 from ant-design/fix-firefox-border
fix: Table border radius missing in Firefox
2019-07-15 18:53:11 +08:00
zombiej
edacc50543 not hide scroll line when multiple lines 2019-07-15 17:59:29 +08:00
Ivan
9fdf41740d Extend MenuItemProps from HTMLAttributes<HTMLLIElement> (#17629) 2019-07-15 15:43:11 +08:00
Meck Zhu
f4095ef5d5 Fix css properties orders 2019-07-15 15:32:08 +08:00
Wei Zhu
5b7c922594 Revert #17508 (#17639)
* Revert "fix: Style property orders"

This reverts commit 54a992c359.

* Revert "fix: optimize Input presuffix style(#17414)"

This reverts commit 9691d2bee1.
2019-07-15 15:04:51 +08:00
jljsj
b5632d6eef fix react 15 test 2019-07-15 14:33:56 +08:00
jljsj
786bde9ca1 update modal and drawer protal 2019-07-15 14:33:56 +08:00
afc163
e8dabedb76 🐛 Fix Table border radius missing in Firefox
close #17611

ref https://github.com/ant-design/ant-design/pull/12263#discussion_r303193443
2019-07-15 14:23:00 +08:00
afc163
491e38838b fix snapshot 2019-07-15 13:43:36 +08:00
Will
20fa17b8b1
Update 404.md 2019-07-15 10:43:28 +08:00
诸岳
54a992c359 fix: Style property orders 2019-07-13 16:55:18 +08:00
binyellow
9afe726a6f perf: setState only when activeKey changed (#17620) 2019-07-13 10:43:35 +08:00
Tomáš Hylský
6c9b1779aa Fix Collapse Panel key type. (#17557) 2019-07-13 10:31:56 +08:00
诸岳
8798198113
fix(test): Jest with ES Modules of react-dnd (#17607) 2019-07-13 10:29:47 +08:00
Piotr Monwid-Olechnowicz
e49707c0aa Update responsive.md (#17586)
Fix prop typo. `border` -> `bordered`
2019-07-12 10:42:09 +08:00
偏右
44aa1bd15f
Merge pull request #17592 from pengtikui/master
docs: fix typo
2019-07-11 23:39:21 +08:00
riho
001384a65b fix: button loading style(#17569) 2019-07-11 20:38:40 +08:00
pengtikui
e17e3253a0 docs: fix typo 2019-07-11 18:20:06 +08:00
Sanghyeon Lee
430117288d
docs: fix tag name in the API example 2019-07-11 18:09:00 +09:00
Sanghyeon Lee
559682df23
docs: fix tag name in the API example 2019-07-11 18:06:37 +09:00
偏右
756ded9540
Merge pull request #17583 from ant-design/fix-cascader-style
fix: 💄 Optimize Cascader input style
2019-07-11 14:23:49 +08:00
MuYu
fb0b4f0fc9 docs: show version Number features were added (#17373)
* docs: add api first appearance

* docs: fix auto-complete doc

* docs: replace Version Added with Version

* docs: date picker common method

* docs: date picker common method

* docs: tree

* docs: remove meaningless 3.0.0
2019-07-11 14:14:33 +08:00
偏右
72f531dce8
💄 Optimize Cascader input style
avoid to overclap arrow

close #17582
2019-07-11 14:09:55 +08:00
MrHeer
7e4e5a8866 Fix: Typescript definition of CascaderOptionType missing some fields #17555 2019-07-11 12:05:43 +08:00
M Mitchell
4e629da9ab fix: Should allow inline style for Descriptions component, close #17533 (#17558) 2019-07-10 10:01:31 +08:00
Tom Xu
d52b85fcc4 Fix TypeScript type of Descriptions title, close #17534 (#17559) 2019-07-10 09:56:46 +08:00
zombieJ
56a961cb2b
fix: Align cascader loading style & update doc (#17550) 2019-07-09 19:10:36 +08:00
诸岳
85d81e7e3e
fix(Cascader): Should show not found content when options.length is 0, close #17513 (#17538) 2019-07-09 16:29:42 +08:00
vagusX
e335a214f6 fix: props#locale description in Transfer (#17545) 2019-07-09 16:17:30 +08:00
vagusX
eac30ec8e4 Feat/remove deprecated (#17510)
* feat: remove warnings for linkRender, nameRender in Breadcrumb

* feat: remove warnings for onOpen, onClose in Menu

* feat: remove warnings for overlay in Popover

* feat: remove warnings for columnsPageRange, columnsPageSize in Table

* feat: remove warnings for afterClose in Tag

* feat: remove warnings for notFoundContent, searchPlaceholder, body, onSearchChange in Transfer

* fix: types in Transfer

* feat: update test cases in Transfer

* feat: add additional test cases for removed deprecated apis
2019-07-09 11:46:21 +08:00
偏右
189ad71d32
Revert "chore: use none-dist icons entry" 2019-07-09 11:33:03 +08:00
zombiej
85a499365d merge master 2019-07-09 10:50:46 +08:00
偏右
3432ac7401
Merge pull request #17517 from ant-design/revert-icon-entry
chore: use none-dist icons entry
2019-07-08 21:01:48 +08:00
afc163
390807605e
🔧 use none-dist icons entry 2019-07-08 20:46:19 +08:00
偏右
2023e86f8f
Merge pull request #17508 from LilyWakana/issue17414
fix: optimize Input presuffix style(#17414)
2019-07-08 19:34:29 +08:00
ztplz
a614b54c28 Improve code style 2019-07-08 17:42:36 +08:00
zombieJ
4a1d68c87f
chore: Add warn of value not provided in Cascader (#17511)
* add warn of `value` not provided

* adjust desc & logic
2019-07-08 10:57:34 +08:00
riho
9691d2bee1 fix: optimize Input presuffix style(#17414) 2019-07-07 22:24:37 +08:00
Michael Salaverry
76db651080 fix: typo in console.error 2019-07-07 17:08:46 +03:00
偏右
1d2bc0792b fix: some tabs style (#17500)
* 🐛 Fix Tabs disabled tab style

close #17468

* 🐛 Fix Tabs next icon right 2px bug

close #17477
2019-07-07 12:04:40 +08:00
afc163
e9b370d0c0
📝 Add documentation for LocaleProvider and List
close #17399
2019-07-06 23:40:03 +08:00
DiamondYuan
6b7ad105c6 fix: fix type of SwitchProps 2019-07-06 22:16:17 +08:00
afc163
6498cbb283
💄 change another arrow style 2019-07-04 23:50:32 +08:00
jiang
a1298463be rm drawer config consumer props (#17390)
* rm drawer config consumer props

* Update index.tsx
2019-07-04 20:53:55 +08:00
zombieJ
f65db14a88
Merge pull request #17464 from ant-design/master
chore: Merge master
2019-07-04 15:31:15 +08:00
陈帅
1fc1710582
doc: split demos (#17415)
* split demos

close #17396

* snapshot updated

* split all demo

* fix lint error

* better code style

* change complex to error

* sort demos
2019-07-04 15:14:13 +08:00
偏右
b1e63be9e3 fix: icon typo (#17458)
* 🐛 Fix icon typo

close #17448

*  update snapshots

*  add test case
2019-07-04 15:00:42 +08:00
zombieJ
b3a76c14ca
feat: Form support scrollToField (#17457)
* support scroll & label htmlFor

* update snapshot

* add test case

* doc update

* add decleare

* adjust logic of label id

* clean ts error
2019-07-04 15:00:11 +08:00
afc163
efadb09569
💄 Optimize TimePicker focus style
close #17440
2019-07-03 23:25:04 +08:00
zombiej
186f973e50 merge master 2019-07-03 20:29:44 +08:00
zombieJ
4cdf37bedb
feat: New Form (#17327)
* init form

* first demo

* add normal login

* add style

* webit

* support nest errors

* beauti form errors

* use onReset

* modal demo

* add list demo

* match key of errors logic

* date demo

* customize component

* moving style

* add status style

* without form create

* add demos

* add inline style

* clean up legacy

* fix drawer demo

* mention

* fix edit-row

* editable table cell

* update mentions demo

* fix some test case

* fix upload test

* fix lint

* part of doc

* fix ts

* doc update

* rm react 15

* rm config

* enhance test coverage

* clean up

* fix FormItem context pass logic

* add more demo

* en to build

* update demo

* update demo & snapshot

* more doc

* update list doc

* update doc

* update demo to display condition render

* update snapshot

* add provider doc

* support configProvider

* more doc about validateMessages

* more description

* more and more doc

* fix typo

* en doc

* Form.List doc

* m v3 -> v4

* add skip
2019-07-03 20:14:39 +08:00
afc163
0d35b1e3e3
🐛 Omit AutoComplete loading type
close #17432
2019-07-03 16:55:36 +08:00
偏右
73d173da04
Merge pull request #17421 from justjavac/master
fix: DatePicker's input box is obscured on safari
2019-07-03 13:48:16 +08:00
迷渡
f78fc1c757 fix: DatePicker's input box is obscured on safari 2019-07-03 10:15:45 +08:00
afc163
32132c58cf
🐛 Fix Form onSubmit type
close #17400
2019-07-02 19:03:23 +08:00
陈帅
f096b89828
Merge pull request #17389 from ant-design/fix-className-undefined
fix: fix classname is undefined
2019-07-02 14:45:27 +08:00
陈帅
2c4976bbdb remove background-color 2019-07-02 14:21:47 +08:00
陈帅
439b85f8d2 fix style pollution problem 2019-07-01 19:26:57 +08:00
zombieJ
b5143df1a4
fix: Upload preview should work with Blob (#17392)
* fix: Upload preview should work with Blob

* rm only
2019-07-01 17:52:37 +08:00
陈帅
9b8ccc4ee7 add className test 2019-07-01 15:28:02 +08:00
陈帅
00bcb6928e remove spaces 2019-07-01 15:22:29 +08:00
陈帅
89a8df1d41 fix classname is undefined 2019-07-01 15:11:37 +08:00
陈帅
3faae975fa fix result error (#17385) 2019-07-01 10:57:39 +08:00
陈帅
d942f173f9
Merge pull request #17378 from eldarAkay/patch-1
fix typo
2019-07-01 00:14:36 +08:00
陈帅
4d5dae078f
Merge pull request #17377 from ant-design/fix-test
chore: update test case
2019-06-30 22:00:26 +08:00
Eldar Mustafaiev
fa539507da
fix typo 2019-06-30 16:20:57 +03:00
陈帅
859be320fb
Merge pull request #17376 from ant-design/feature
merge Feather into master
2019-06-30 20:45:12 +08:00
zombiej
be33ebfa08 update test case 2019-06-30 20:31:14 +08:00
陈帅
4972383c3c
feat: New Components Result (#17244)
* New Components Result

antd 又变大了一点

* fix review warning

remove classname "view"

The class name of status hits the outermost layer

* rm fragment

* fix build error

* update snapshot

* add PRESENTED_SVG_DEFAULT

* fix doc

* fix lint

* fix compile error

* fix review warning

* fix react15 error

* add new demo

* remove not required code

* updated snapshot

* api some empty

* change svg to image
2019-06-30 20:15:44 +08:00
zombieJ
a5f495692e
fix: Tooltip not work correctly on disabled Switch (#17372)
* add tooltip of Switch

* clean up

* updat snapshot
2019-06-30 00:29:48 +08:00
zombiej
12c577d386 docs: Update menuItemSelectedIcon desc of Select
close #17360
2019-06-29 22:53:16 +08:00
陈帅
319b11d388
Merge pull request #17364 from ant-design/feature
merge Feature into master
2019-06-29 13:25:47 +08:00
陈帅
8eceb04d62 update snap
issue in #17280 and #17330
2019-06-29 00:39:53 +08:00
陈帅
722b39ec16 Merge branch 'master' into feature 2019-06-28 21:55:15 +08:00
偏右
95c0a4e7c5
Merge pull request #17321 from ant-design/optimize-pageHeader-className-naming
chore: Optimize PageHeader className naming
2019-06-28 21:15:30 +08:00
王林涛
b5d629a8a3 docs(Table): update description of hideDefaultSelections 2019-06-28 16:23:20 +08:00
偏右
c3a3db385c
Merge pull request #17345 from hengkx/fix-17267
docs: Tree treeData
2019-06-28 13:59:33 +08:00
偏右
b5d16a6bd1
Merge pull request #17342 from yoyo837/checkbox-onchange-sort
fix: CheckboxGroup onChange 值保持选项的顺序
2019-06-28 13:44:49 +08:00
afc163
10a3a7f7ae
🐛 Fix small table header background
revert #14539

it should be white in our design spec
2019-06-28 13:39:02 +08:00
yoyo837
612bf82c34 add test case 2019-06-28 11:11:27 +08:00
偏右
92f18f32f5
Merge pull request #17347 from ant-design/fix-mentions-height
fix(Mentions): Incorrect line-height from .input() style
2019-06-28 10:51:01 +08:00
susiwen
06eba00e0b Add FAQ link 2019-06-28 10:44:20 +08:00
yoyo837
50f6b9c903 update 2019-06-28 10:31:40 +08:00
诸岳
9c9365ce00 fix(Mentions): Incorrect line-height from .input() style 2019-06-28 10:28:43 +08:00
yoyo837
c8d5243b97 sort 2019-06-28 10:26:55 +08:00
偏右
f2954e6ca8
Merge branch 'master' into #17329 2019-06-28 10:15:51 +08:00
yoyo837
660ebbd58f fix values 2019-06-28 10:00:12 +08:00
susiwen
b710f47996 Add missing FAQ site 2019-06-28 08:50:50 +08:00
hengkx
0130cbfa16 fix Tree treeData 2019-06-28 03:28:00 +08:00
陈帅
bdfcc912c0 fix style warning 2019-06-27 23:33:27 +08:00
偏右
c3915157cb
Merge pull request #17331 from ant-design/improve-swicth-types
chore: Extract SwitchChangeEventHandler and SwitchSize
2019-06-27 23:01:59 +08:00
偏右
05feaeb83c
Merge pull request #17316 from ant-design/key-drawer
fix: add maskClosable is false ESC close
2019-06-27 23:01:35 +08:00
偏右
b0fb5336fe
Merge pull request #17337 from kairi1227/master
fix: Descriptions组件不设置label的显示问题
2019-06-27 21:54:23 +08:00
偏右
d74c590f17
Update index.zh-CN.md 2019-06-27 21:51:43 +08:00
yoyo837
32bb62be15 CheckboxGroup onChange 值保持选项的顺序 2019-06-27 18:54:34 +08:00
xuqiang
657550118e fixed #17290 2019-06-27 16:18:25 +08:00
xuqiang
543262295a fixed https://github.com/ant-design/ant-design/issues/17290 2019-06-27 16:06:34 +08:00
susiwen
85e483921b Add missing info in documents 2019-06-27 15:46:00 +08:00
Meck Zhu
4463d24660 docs: Remove predix I from interface 2019-06-27 14:17:08 +08:00
hengkx
61318a1856 update descriptions snapshots 2019-06-27 14:16:21 +08:00
hengkx
0245d41873 fix Description vertical borderd 2019-06-27 13:54:56 +08:00
hengkx
584713bc62 fix Desciption doc 2019-06-27 13:47:28 +08:00
Meck Zhu
87afda5623 Extract SwitchChangeEventHandler and SwitchSize
With this change, we can define change handler more convenience:

Before:

```javascript
const handleChange = (checked: boolean, event: MouseEvent) => {
  ...
}
```

After:

```javascript
const handleChange: SwitchChangeEventHandler = (checked, event) => {
  ...
}
```
2019-06-27 12:26:09 +08:00
hengkx
2a9da95a92 feat: Descriptions add vertical layout 2019-06-27 11:29:33 +08:00
偏右
000757d74a
Merge pull request #17311 from ant-design/jljsj33-patch-1
chore: Update rc-drawer version to fix afterVisibleChange issue
2019-06-27 00:09:04 +08:00
偏右
b1d6767732
Merge pull request #17318 from ant-design/fix-mentions-placeholder
[Mentions] style: Fix placeholder color
2019-06-27 00:08:20 +08:00
afc163
862cecfd63
💄 Better className of PageHeader 2019-06-26 19:16:06 +08:00
zombieJ
6d0cf1de01
rm useless style (#17319) 2019-06-26 18:38:27 +08:00
hengkx
c1a21724c1 Progress merge demo 2019-06-26 18:13:45 +08:00
诸岳
171e838f43 style: Fix placeholder color for Mentions, close #17317 2019-06-26 18:02:49 +08:00
jljsj
dae1ab923a fix drawer test 2019-06-26 17:43:15 +08:00
hengkx
2a42432c10 Progress Circle support gradient 2019-06-26 17:31:54 +08:00
偏右
94072ad5ea fix: Descriptions.Item not support className (#17280)
* 🐛 Fix Desciptions.Item not support className

close #17276

* refactor descriptions styles implementation

* use `th` as label elements in bordered situation

*  update snapshots
2019-06-26 16:05:46 +08:00
zombiej
f58957775d merge master 2019-06-26 14:38:05 +08:00
afc163
d3db99f882
resolve conflict and merge feature branch 2019-06-26 14:30:42 +08:00
toshi1127
7a0da03907 fix SkeletonAvatarProps's size to accept number 2019-06-26 03:42:42 +09:00
afc163
795e6a5e0a
fix eslint errors 2019-06-25 12:09:13 +08:00
偏右
868cd6197b 💄 Fix Tooltip arrow shadow (#17264)
close #17259

same as #13935
2019-06-25 11:15:33 +08:00
afc163
ec7c99998a
🎬 fix react-dnd depracated usage 2019-06-24 13:20:08 +08:00
afc163
8f861a35ac
fix jest timer warning 2019-06-24 12:23:17 +08:00
afc163
3f8589cff3
chore: code style 2019-06-24 11:49:55 +08:00
afc163
57c28def68
revert unknown to any 2019-06-24 11:29:58 +08:00
afc163
936fea5769
🐛 Fix onRow return types
https://github.com/ant-design/ant-design/issues/17245#issuecomment-504807714
2019-06-24 11:13:55 +08:00
afc163
4c84c41da0
🐛 Revert Form type unknown to any
close #17245
2019-06-23 15:27:06 +08:00
zombieJ
340ff711ab
chore: Support TypeScript & JavaScript with Demo (#17247)
* update bisheng

* support lang panel

* display tabs if multiple lang

* rm tmp file
2019-06-23 12:49:28 +08:00
偏右
40a38ff91a
Merge pull request #17239 from babbarankit/patch-2
Update SubMenu.tsx
2019-06-22 15:46:30 +08:00
Ankit Babbar
0bb7f60708
Update SubMenu.tsx
popupOffset prop is missing in SubMenu
2019-06-22 12:23:51 +05:30
Ankit Babbar
26e427ca7d
Tabs props missing prop
Added Missing prop 'destroyInactiveTabPane' in Tabs
2019-06-22 12:19:15 +05:30
偏右
606ed90de1
Merge pull request #17229 from ant-design/adjust-modal-padding-bottom
fix: Modal 24px bottom area not trigger mask click
2019-06-21 22:42:09 +08:00
偏右
0de4bd899d
Merge pull request #17228 from ant-design/fix-sider-z-index
fix: Layout sider trigger z-index too low
2019-06-21 22:41:58 +08:00
偏右
ce04af83da
Merge pull request #17063 from wonderjar/master
fix: prop headerRender should be optional for component Calendar
2019-06-21 18:02:28 +08:00
afc163
ad39a9450d
🐛 Fix Layout.Sider‘s zero-width trigger z-index
close #17160
2019-06-21 17:57:40 +08:00
afc163
0ea94b9d68
🐛 Fix Modal 24px bottom area not trigger mask click
close #17226
2019-06-21 17:52:28 +08:00
偏右
a4d7593ef2
Merge pull request #17120 from Zzzen/master
refactor: eliminate `any` type in exported interfaces.#14044
2019-06-21 17:38:56 +08:00
偏右
0a7432ee75
Merge pull request #17209 from ant-design/pageheader-show-all-breadcrumb
fix: Fix single Breadcrumb not show on PageHeader
2019-06-21 17:38:26 +08:00
afc163
bdfd877f3a
🐛 Fix a Table scrollbar style in IE
when customize line-height of empty table

close #17175
2019-06-21 15:20:01 +08:00
Andrew Shini
07c85ea21f fix: Clone only valid react child elements (#17207)
* Clone child only if it exists

child can be void | null | boolean | string | number | element.

* Add test
2019-06-21 13:49:01 +08:00
zombiej
e08534e6c4 update docs 2019-06-21 11:08:35 +08:00
afc163
b1d8425384
📝 document about autoInsertSpaceInButton 2019-06-21 00:31:48 +08:00
陈帅
7e548e4de7 add new test
when breadcrumb lenght=1, pageHeader should have breadcrumb
2019-06-20 19:45:13 +08:00
陈帅
ee21b1c210 fix #17046, breadcrumbs will always show 2019-06-20 19:31:59 +08:00
zombieJ
e2732eea1e
add fix css (#17198) 2019-06-20 15:32:53 +08:00
yoyo837
f0ed471709 使操纵杆右侧半边也可以操作 2019-06-20 11:45:28 +08:00