Commit Graph

8999 Commits

Author SHA1 Message Date
Ben Callaway
a49caabe00 Add name attribute support to Checkbox.Group (#15760)
* Update Checkbox documentation
2019-04-01 10:16:18 +08:00
afc163
1f2375deca
🎬 Remove useless badge demo 2019-04-01 10:15:15 +08:00
zombieJ
0fd0faa8a7
Update Card & PageHeader style (#15755)
* rm Card auto padding

* rm related test case

* adjust pageHeader to 24px

* use less variable

* adjust style
2019-03-31 22:39:26 +08:00
偏右
2cec053187
Merge pull request #15766 from ant-design/fix-missing-col-className
Fix col element missing relative style
2019-03-31 22:18:08 +08:00
afc163
95bd4d6903
🐛 Fix col element missing relative style
close #15626
2019-03-31 20:25:41 +08:00
zombieJ
75cd91a966
Badge support customize color (#15764)
* popout

* update snapshot

* update doc

* update def
2019-03-31 20:21:20 +08:00
zombieJ
aebb781000
Table style update. Move sort button after title (#15758)
* update style of sort icon

* update snapshot

* micro adjust

* little offset of arrow
2019-03-31 14:01:24 +08:00
Benjamin Amelot
f55ccfe81e Remove underlines from focused links (#15759) 2019-03-31 13:46:38 +08:00
ztplz
298a86f601 Add separator prop for RangePicker (#15765)
* Add `separator` prop for RangePicker

* Update
2019-03-31 12:59:37 +08:00
afc163
b56d6516da
💄 Fix Drawer demo extra styles
close #14202
2019-03-30 21:21:22 +08:00
jiang
e2495fafe0 Rm tag anim (#15233)
* rm tag default anim, add animate demo

* rm InnerTag

* rm animate

* rm afterClose test

* update warning

* update animation demo

* fix typo

* update wraning

* fix tag test

* rebase master, test tag

* update tag to Tag

* update animation explanation

* update en-us
2019-03-30 20:36:35 +08:00
zombiej
b83a80c99c Merge branch 'master' into merge-master 2019-03-30 16:05:49 +08:00
偏右
25fb4a2353
Merge pull request #15705 from zy410419243/issue-15625
fix: MenuItem should not render Tooltip when inlineCollapsed is false
2019-03-30 13:08:08 +08:00
偏右
ddf9dd5bef
Merge pull request #15753 from ztplz/checkbutton
Add name prop for checkbox group
2019-03-30 12:59:11 +08:00
ztplz
2a875ee149 Add name prop for checkbox group 2019-03-30 10:47:03 +08:00
Andrés
a46f6df572
Update documentation
Universalize the default props
2019-03-29 13:43:33 +01:00
ztplz
55c1be3b54
Merge pull request #15720 from wx1322/check-className
Layout.Sider of collapsible type throws error
2019-03-29 15:57:02 +08:00
偏右
1a68d4e11a
Merge pull request #15719 from DJanoskova/master
Button: add default html type + fix switch
2019-03-29 10:22:20 +08:00
wangxing
27445c6722 Merge branch 'master' into check-className 2019-03-29 08:38:18 +08:00
wangxing
1f60f37907 check SVGAnimatedString 2019-03-29 08:37:25 +08:00
陈帅
8a4857d91f better ts type 2019-03-28 18:57:13 +08:00
陈帅
e9df687df5 better ts type 2019-03-28 18:55:52 +08:00
wangxing
44ad6b0c07 fix-15699 2019-03-28 17:04:26 +08:00
Dana Janoskova
a543c7db6a add default html type + fix switch 2019-03-28 09:58:37 +01:00
babycannotsay
c3a6e47cc3
fix prop 'onLoaded' of TreeProps
set onLoaded to onLoad in order to be same as rc-tree
2019-03-28 16:20:59 +08:00
afc163
47084696b9
Fix snapshot 2019-03-28 12:25:44 +08:00
afc163
acd1123df9
🐛 Fix Spin style when indicator is Icon
close #15693
2019-03-28 12:20:12 +08:00
zy410419243
ae8b52c290 fix: MenuItem should not render Tooltip when inlineCollapsed is false 2019-03-28 10:55:26 +08:00
Ferdi Koomen
c6d044f744 - Fix for changes in @types/react (see issue #15700) 2019-03-27 22:28:59 +01:00
偏右
f5746ae8ba
Merge pull request #15690 from ant-design/fix-tag-wrap
Revert tag wrap style
2019-03-27 18:39:02 +08:00
afc163
7105cbb552
🐛 revert tag wrap style
revert for https://github.com/ant-design/ant-design/pull/15526#issuecomment-477043058
2019-03-27 17:46:54 +08:00
jljsj33
eecf0a61bf support level 2 breadcrumb 2019-03-27 17:46:51 +08:00
偏右
bebbbe20f1
Merge pull request #15671 from levkovich2806/patch-1
Update index.en-US.md
2019-03-27 10:37:11 +08:00
Sergey Levkovich
0975eac8bf
Update index.en-US.md 2019-03-27 00:44:29 +03:00
afc163
e3559ffb32
🐛 Fix clear icon style in Input/Input.Search
close #15237
2019-03-26 22:40:10 +08:00
afc163
9f3ef09717
Fix demo snapshot 2019-03-26 22:40:10 +08:00
afc163
3a26573394
📝 Optimize prefix/suffix demo 2019-03-26 22:40:10 +08:00
偏右
a3cfbb1a94
Merge pull request #15654 from ant-design/test-focus-auto-complete
Add test case for AutoComplete
2019-03-26 22:38:30 +08:00
Sergey Levkovich
ae16e4df61
Update index.en-US.md
Add commas in object
2019-03-26 16:56:42 +03:00
Andrés
fa69687733
Fix minor misspelling in less template comment 2019-03-26 10:39:16 +01:00
afc163
94db815765
Add test case for AutoComplete 2019-03-26 15:33:33 +08:00
偏右
e752ec3414
Merge pull request #15638 from ant-design/master
Merge master to feature
2019-03-26 14:34:17 +08:00
偏右
f4a92d0997
Merge pull request #15541 from easyops-cn/add-radio-button-checked-bg
refactor: add @radio-button-checked-bg
2019-03-26 13:41:29 +08:00
afc163
f486c4e7e0
📝 Optimize Form TypeScript usage, #15642 2019-03-26 12:27:49 +08:00
afc163
a462c2ddf4
Fix react-dnd demo broken in react 15 2019-03-26 12:27:32 +08:00
zy410419243
c1bfa0d901 fix: conflicts 2019-03-25 21:48:18 +08:00
zy410419243
1e3efc4069 chore: remove unexpected mock restore 2019-03-25 21:48:18 +08:00
zy410419243
d1ed127030 pref: add missing mockRestore 2019-03-25 21:48:18 +08:00
zy410419243
355d58b0fa chore: update description 2019-03-25 21:48:18 +08:00
zy410419243
cdfdb2fa50 Revert "chore: remove unreachable code"
This reverts commit b438566fe315c424665a6d498cc60a6517ea238a.
2019-03-25 21:48:18 +08:00
zy410419243
acaff8dea2 pref: clearInterval should not be called before unmount 2019-03-25 21:48:18 +08:00
zy410419243
2ee56a9c4a pref: spy on clearInterval for Upload & check actions for Card 2019-03-25 21:48:18 +08:00
zy410419243
337e0285ec chore: remove useless test cases 2019-03-25 21:48:18 +08:00
zy410419243
86f5255c3e chore(Mention): skip react 15 2019-03-25 21:48:18 +08:00
zy410419243
af6716a2c7 pref(Mention): check Mention.Nav 2019-03-25 21:48:18 +08:00
zy410419243
2aca6fc51a pref(Menu): instance() => simulate 2019-03-25 21:48:18 +08:00
zy410419243
6571a29a55 pref: instance() => simulate, for Card 2019-03-25 21:48:18 +08:00
zy410419243
0c8e12661d chore: remove unreachable code for Card 2019-03-25 21:48:18 +08:00
zy410419243
a20536f850 chore: update type of Header 2019-03-25 21:48:18 +08:00
zy410419243
19dc14af5c refactor: abstract common method for comparison 2019-03-25 21:48:18 +08:00
zy410419243
cfe531a54a pref: use simulate function to replace calling functions in class 2019-03-25 21:48:18 +08:00
zy410419243
0d932f79b8 chore: remove any 2019-03-25 21:48:18 +08:00
zy410419243
cc8d8b05aa pref: call setProps rathor than componentDidUpdate 2019-03-25 21:48:18 +08:00
zy410419243
64b6197441 test: update cases for Mention 2019-03-25 21:48:18 +08:00
zy410419243
8eec4a801a chore: remove eslint-disable => add function name 2019-03-25 21:48:18 +08:00
zy410419243
316250936c test: update cases for Transfer 2019-03-25 21:48:18 +08:00
zy410419243
a5016a2a1f test: update cases for Affix 2019-03-25 21:48:18 +08:00
zy410419243
c289be6a8a test: update cases for Upload 2019-03-25 21:48:18 +08:00
zy410419243
53b9fd5204 test: update cases for Card 2019-03-25 21:48:17 +08:00
zy410419243
5e1531e50d test: update cases for Menu 2019-03-25 21:48:17 +08:00
zy410419243
ebbf07e233 chore: remove unreachable code 2019-03-25 21:47:25 +08:00
zy410419243
d17a5c49e5 test: update cases for Wave 2019-03-25 21:47:24 +08:00
zy410419243
375135b3fd test: update cases for Calendar.Header 2019-03-25 21:47:24 +08:00
偏右
788292ce51
Merge pull request #15625 from zy410419243/issue-15614
fix(Menu): remove unexpected re-render, which causes flash and shake when collapsed
2019-03-25 21:41:47 +08:00
afc163
14c1e68088
🐛 Fix Upload border jumping issue in Chrome
close #15634
2019-03-25 19:15:48 +08:00
zy410419243
5362d57265 test: update case 2019-03-25 19:07:22 +08:00
zy410419243
9dec5ecedc chore: remove useless context from Menu.Item 2019-03-25 18:37:15 +08:00
zy410419243
ad54d23a44 fix(Menu): remove unexpected re-render, which causes flash and shake when collapsed 2019-03-25 13:58:57 +08:00
krokofant
637b2e326d 👌 IMPROVE: Scoping styles for themeing 2019-03-24 17:52:14 +01:00
偏右
f3a07ac7ad
🐛 Fix disabled and selected date cell style of DatePicker (#15608)
close #15580
2019-03-24 19:50:58 +08:00
orzorzorzorz
1e8d3ce40d feat: support gradient line for Progress (#15524)
* try: init gradient line demo

* demo(Progress): update instructions

* chore: adjust default color

* test: update case and snapshots

* docs: update description for strokeColor

* docs: update for more in written

* test: correct type of Progress

* pref: support percent for strokeColor

* test: update snapshots

* test: update case

* pref: sort key for gradients

* fix: lgtm problem

* refactor: update output of sortGradient to string

* chore: make traversal more elegant
2019-03-24 17:05:24 +08:00
Hsuan Lee
baa5a7971f refactor(form-item): move ant-form-item-no-colon selector position (#15592)
* refactor(form-item): better `ant-form-item-no-colon` selector position

fix: fix lint

close #15585

* chore: update snap
2019-03-24 17:03:52 +08:00
杨小事er
a6a5e068eb fix(Input): fix password prop action (#15598)
* fix(Input): fix password prop action

* fix(InputPassword): add assert action is non-null
2019-03-24 16:21:48 +08:00
诸岳
6ae2ee4e31 Merge branch 'master' into feature 2019-03-24 08:41:22 +08:00
zefeng
d0a1196e63 remove useless param in tree doc (#15591) 2019-03-23 12:19:36 +08:00
偏右
9e0aa5cb94 🐛 Fix empty missing when Table is loading (#15583)
close #15582
2019-03-22 16:21:58 +08:00
偏右
7c7c61976a 🐛 Fix Select notFound align issue (#15570)
close #15567

close #14422 again
2019-03-22 11:35:40 +08:00
Bestie
267ad3402c modify interface ListLocale.emptyText from text to ReactNode (#15571) 2019-03-21 22:18:58 +08:00
DiamondYuan
4eb33eb149 fix: set min-width instead of width (#15547)
* fix: set min-width instead of width

* test: updte snapshots
2019-03-21 11:31:58 +08:00
Marcio Pamplona
4ad71cb3af Included pt_PT table sort title description (#15551) 2019-03-21 10:12:57 +08:00
偏右
4da56cd06c Refactor Avatar scale calculate logic (#15503)
* 🐛 Refactor Avatar scale calculate logic

close #15351

close #15468

*  Fix infinite loop

* 🐛 Fix avatar size change logic

*  Fix snapshot

*  Add test cases for Avatar setScale

* 🐛 getBoundingClientRect => offsetWidth

*  Fix snapshot
2019-03-21 10:07:56 +08:00
偏右
06745a6548 🐛 Fix notification icon color (#15530)
close #15512
2019-03-20 18:37:56 +08:00
afc163
f95d8e616d
Remove core-js from devDeps 2019-03-20 18:32:39 +08:00
DiamondYuan
addc7bd266 feat: Improve Empty component again (#15487)
* feat: rewrite component empty

* refactor: use static variable

* refactor: extraction function for component empty

* docs: update docs and demo

* feature: image add image style prop

* docs: update doc of component empty

* docs: add since comment to imageStyle prop

* test: update snapshots

* style: use number in style

* docs: update docs of component empty

* docs: update doc of component empty

* test: fix test broken

* docs: update docs for empty component

* refactor: rewrite empty component

* docs: update doc of component empty

* doc: change image size
2019-03-20 17:45:35 +08:00
William Cai
57c20e3622 refactor: add @radio-button-checked-bg 2019-03-20 16:46:23 +08:00
kapiroska
73c4bd6c3d Long Tag component is wrapped if it is longer than screen size 2019-03-19 17:15:55 +02:00
偏右
f5f81820cd
Merge pull request #15515 from easyops-cn/add-select-dropdown-menu-item-selected-font-weight
refactor: add @select-item-selected-font-weight
2019-03-19 18:38:01 +08:00
zombieJ
0dadee3233
revert input (#15516) 2019-03-19 18:33:31 +08:00
William Cai
15781d706a refactor: add @select-item-selected-font-weight 2019-03-19 18:09:11 +08:00
Cong Zhang
bc4303b98a Allow font-feature-settings to be customizable 2019-03-19 15:03:52 +08:00
偏右
810f2b21f0
Merge pull request #15502 from ant-design/fix-doc
Optimize some docs
2019-03-19 11:56:21 +08:00
afc163
bd27b6b836
📝 Optimize some docs 2019-03-19 11:44:00 +08:00
偏右
ac39baf4f1
Update index.en-US.md 2019-03-19 10:50:36 +08:00
Denis
eacf35dbad Modal footer bg (#15469)
* Add less variable @modal-footer-bg

* Fix less variable @modal-footer-bg

* Update components/style/themes/default.less

Co-Authored-By: shumkovdenis <shumkovdenis@gmail.com>
2019-03-18 23:56:40 +08:00
willc001
3a2e1abfa7 refector: add @form-explain-font-size (#15488) 2019-03-18 18:44:08 +08:00
afc163
18d070d2d4
🆙 upgrade es6-shim version 2019-03-18 15:34:33 +08:00
zombieJ
96206ade58
adjust table editable row demo (#15475)
* adjust demo

* rm only
2019-03-18 15:28:42 +08:00
Denis
360eefc7d5 Add less variable @modal-body-padding (#15476) 2019-03-18 15:07:14 +08:00
DiamondYuan
972840e74d feat: Improve Empty component (#15444)
* feat: empty support imageSize prop

* docs: update demo for empty component

* docs: update docs for empty component

* test: update snapshot of empty component demo

* feat: empty component support use simple image

* docs: update demo for component empty

* docs: update doc for empyt component

* docs: add absence of a space for demo of empty component
2019-03-18 12:01:38 +08:00
Aleksandr Chernokondratenko
357e79cf48 Fix checking if file is image or not in the UploadList (#15412)
* Fix checking if file is image or not in the UploadList

* Fix type

* Add correct checking if file is image or not

* Change startWith to indexOf, update test

* Increase delay in test to pass CI

* Update test
2019-03-18 10:47:17 +08:00
ZYSzys
554fdd4a3c script: cleanup & reduce useless prettier files (#15467) 2019-03-18 10:46:17 +08:00
Rick Zhou
b1ec61a2da another try of fixing tab style (#15458)
* another try of fixing tab style

* fix card mode tab bottom line animation

#15299
#15297
#15234
2019-03-18 10:41:44 +08:00
DiamondYuan
3387ba181d fix: Typescript definition update for List component (#15462) 2019-03-17 14:25:34 +08:00
杨小事er
68c6982d89 feat(Menu): add overflowedIndicator prop (#15459) 2019-03-17 14:21:03 +08:00
whinc
115db9df70 docs: add 'sortDirections' description to Table component (#15461) 2019-03-17 14:20:13 +08:00
Sam Kirkland
5d96ba6400 English translation for notFoundContent (#15453) 2019-03-16 14:27:23 +08:00
ztplz
b40c0d3db3 Update DatePicker docs (#15092) 2019-03-16 14:00:44 +08:00
DiamondYuan
c99b2a7720 fix: export ConfigProviderProps interface 2019-03-16 09:48:21 +08:00
偏右
1bb7d6c301
Merge pull request #15409 from zy410419243/issue-15321
fix: bad position of collapsible submenu in sider when collapsed
2019-03-15 19:01:49 +08:00
偏右
785820e1a8
Merge pull request #15420 from akaguny/patch-1
docs(tabs): onTabClick description
2019-03-15 19:01:30 +08:00
偏右
59a6d49332
Update index.en-US.md 2019-03-15 19:01:20 +08:00
偏右
e0520318c8
Merge pull request #15428 from DiamondYuan/fix#15384
fix: change type of PaginationProps.itemRender originalElement param
2019-03-15 19:00:49 +08:00
yuezk
9673128ddf docs: Correct the default value of mouseEnterDelay 2019-03-15 16:58:47 +08:00
DiamondYuan
eecc29da5e fix: change type of PaginationProps.itemRender originalElement param 2019-03-15 13:20:56 +08:00
Marek Łuszczki
7b2c878d71
fix Skeleton browser applied padding
Fix to issue #15413, caused by `padding-inline-start` rule in browser default styles
2019-03-14 19:30:41 +01:00
zy410419243
f9d01eeb99 test: update cases for using Menu with Layout.Sider 2019-03-14 21:04:13 +08:00
Alexey
ef1fc4a4e2
docs(tabs): onTabClick description
* onTabClick collback description provided by rc-tabs
* link to rc-tabs docs (for read more)
2019-03-14 15:59:05 +03:00
zy410419243
a2eee8843d revert: remove dev code 2019-03-14 20:45:05 +08:00
偏右
4f0e6e6523
Merge pull request #15396 from SoraYama/sorayama
fix(Layout): disable `hasSider` when specifically declared
2019-03-14 20:39:16 +08:00
偏右
771b2c426a
Merge pull request #15395 from ant-design/fix-badge-height
Fix Badge dot a litter higher
2019-03-14 20:39:03 +08:00
偏右
167f54bd86
Merge pull request #15393 from DiamondYuan/fix#15358
fix:add style prop for Steps.Step component
2019-03-14 20:38:39 +08:00
偏右
c1ef989866
Merge pull request #15354 from ant-design/deps-lint
Deps lint
2019-03-14 20:34:10 +08:00
zy410419243
198c01d454 fix: bad position of collapsible submenu in sider when collapsed 2019-03-14 16:35:05 +08:00
偏右
1e028ec91e
Merge pull request #15406 from cemremengu/cemremengu-menu-us
Specify type for defaultOpenKeys
2019-03-14 16:21:54 +08:00
Cemre Mengu
946ef767e6
Specify type for defaultOpenKeys 2019-03-14 11:13:01 +03:00
偏右
f79b23805c
Merge pull request #15404 from cemremengu/cemremengu-submenu
Specify type for defaultOpenKeys
2019-03-14 16:09:46 +08:00
偏右
da504da223
Merge pull request #15402 from ant-design/icon-doc
icon doc add webpack plugin link
2019-03-14 16:07:16 +08:00
DiamondYuan
59d996b4f3 fix: should color style works on Badge (#15356)
fix ##15349
2019-03-14 15:53:51 +08:00
zombiej
752d64715b add webpack plugin link 2019-03-14 15:39:51 +08:00
melchior voidwolf
906f722ea8 Correct suffix icon in Input.Password (#15381)
fix #15369
2019-03-14 15:34:09 +08:00
afc163
64259e167f
🐛 Fix Divider align in PageHeader
close #15336
2019-03-14 14:23:10 +08:00
afc163
5a33f8ced1
🐛 Fix Badge dot a litter higher
close #15367
2019-03-14 12:20:44 +08:00
SoraYama
2b7fce3ce2 fix(Layout): disable hasSider when specifically declared
In some situation `Sider` is deeply rendered in Children of `Layout`,
and if we don't want to judge whether `Layout` has sider, the attr `hasSider`
set to `false` should properly work. However `hasSider || this.state.siders.length > 0`
will ignore `hasSider` when it is `false`.
2019-03-14 12:11:57 +08:00
Bill Searle
ffc5321c18
Add vars to theme for btn border width and style 2019-03-14 15:03:29 +11:00
Bill Searle
d60f64c040
Add independent variables for btn width and style 2019-03-14 15:00:55 +11:00
DiamondYuan
1ff0be57e0 fix:add style prop for Steps.Step component 2019-03-14 09:57:30 +08:00
ppbl
98b10a7cf8 🐛 Fix: avatar cannot calculate the offset when display: none (#15351) 2019-03-13 19:30:47 +08:00
zombiej
f9d8e50a1f rm input from datePicker 2019-03-13 16:04:42 +08:00
zombiej
65dd36a466 rm useless 2019-03-13 15:57:42 +08:00
zombiej
0b96daa1a0 rm button from drawer 2019-03-13 15:41:57 +08:00
zombiej
cc19eadc1b rm input in pagination 2019-03-13 12:16:05 +08:00
zombiej
cb3a372b3b rm input style from select 2019-03-13 12:12:07 +08:00
zombiej
04226e36eb add missing style of card 2019-03-13 12:01:44 +08:00
zombiej
f8baa3787c update tree-select 2019-03-13 11:33:42 +08:00
zombiej
1e5e16cf69 add affix style 2019-03-13 11:24:00 +08:00
zombiej
3e110b8244 update auto style 2019-03-13 11:19:05 +08:00
zombiej
73d96f4c22 adjust import style of grid 2019-03-13 10:50:59 +08:00
偏右
91025841ba
Merge pull request #15355 from ant-design/form-generic-values
Add generic type to form values
2019-03-13 10:37:00 +08:00
偏右
22abba8aa9
Merge pull request #15346 from easyops-cn/add-modal-footer-vertical-horizontal-padding
refactor: add @modal-footer-{vertical,horizontal}-padding
2019-03-13 10:31:28 +08:00
William Cai
ab55bc5636 refactor: add @modal-footer-padding-{vertical,horizontal} 2019-03-13 09:51:29 +08:00
adam
77c431b180 support { icon: null } to hide default Icon 2019-03-13 08:38:10 +08:00
偏右
3ad1eea59c
Merge pull request #15338 from zy410419243/calendar
fix: Calendar select can't switch
2019-03-12 23:07:25 +08:00
偏右
43392bfaa4
Merge pull request #15345 from ant-design/add-icon-color
Add less variable @icon-color
2019-03-12 23:05:06 +08:00
Wei Zhu
d1f64b1bc9 Add generic type to form values 2019-03-12 22:59:27 +08:00
ztplz
97880a9b47 Formate (#15347) 2019-03-12 19:52:43 +08:00
afc163
74ea064319
Add less variable @icon-color 2019-03-12 18:46:54 +08:00
zy410419243
5c1c4e7502 test: remove snapshots to fix ci problem in react 15 2019-03-12 17:01:11 +08:00
zy410419243
c1d58f43bf refactor: unify type => mode 2019-03-12 16:55:39 +08:00
zy410419243
b8a19180aa try: to fix stackoverflow in react 15 2019-03-12 16:31:29 +08:00
Cemre Mengu
3f6f1c1f00
Specify type for defaultOpenKeys 2019-03-12 11:30:38 +03:00
zy410419243
e3da847f53 pref: update date using UTC 2019-03-12 15:46:12 +08:00
zy410419243
5b5008420f pref: update selector for more acurrate 2019-03-12 15:06:41 +08:00
zy410419243
0d4828059a test: leaving snapshots before and after changes 2019-03-12 15:03:04 +08:00
zy410419243
c5290d2ee8 test: assign value for snapshot 2019-03-12 14:59:41 +08:00
zy410419243
4f7ee02ad4 test: update snapshot for making sure to switch correct panel 2019-03-12 14:51:49 +08:00
zy410419243
81cb4a2407 test: update cases for Header 2019-03-12 14:38:53 +08:00
zy410419243
222c744f6d test: update snapshots 2019-03-12 13:44:38 +08:00
zy410419243
d53e003b62 fix: Calendar select can't switch 2019-03-12 13:35:39 +08:00
偏右
43b13f6f73
Merge pull request #15320 from ant-design/fix-editable-layout
Fix Typography editable inconsistent style
2019-03-12 12:04:02 +08:00
偏右
753cb421c0
Merge pull request #15331 from tgxpuisb/fix-add-click-props-for-BreadcrumbItem
fix add click prop for BreadcrumbItem
2019-03-12 10:41:17 +08:00
萧琚
34a9da638c fix add click prop for BreadcrumbItem 2019-03-11 23:48:37 +08:00
偏右
9e82879760
Merge pull request #15330 from crudo/c-table-edit-cell-demo
Fixed Table's Editable cells demo
2019-03-11 23:34:42 +08:00
偏右
5f4f8b0dee
Fix list item style (#15328)
* 🐛 Fix List Item layout style problems

* 🐛 horizontal list should align center

*  Add test cases

*  Add test cases for List.Item

* 🐛 Fix vertical list item with extra
2019-03-11 23:34:05 +08:00
Martin Cermak
46ca311294 Fixed Table's Editable cells demo 2019-03-11 14:39:58 +01:00
vthinkxie
057d58ebce style(module:input): add disabled selector style in ant input 2019-03-11 18:09:14 +08:00
afc163
d9ca0d8381
Optimize badge code again 2019-03-11 17:13:59 +08:00
afc163
f694a1bbb8
Opatimize badge code 2019-03-11 16:54:29 +08:00
afc163
a8ad9ecce5
🐛 Fix Typography editable inconsist style
close #15249
2019-03-11 16:00:12 +08:00
afc163
0590c056c1
🐛 Reserve ant-typography className 2019-03-11 15:45:07 +08:00
zombiej
96a95e65d3 update deps lint 2019-03-11 11:48:17 +08:00
zombiej
d17a67175d add pattern match 2019-03-11 11:00:25 +08:00
zombiej
05564e00ff add style dep lint ignore 2019-03-10 21:04:38 +08:00
偏右
c4473e3389
Merge pull request #15301 from ant-design/fix-list-content-color
Keep same content color of List like previous version
2019-03-10 14:39:24 +08:00
偏右
369a3cdd60
Merge pull request #15308 from newswim/patch-1
Add 'code' to list of Typography props
2019-03-10 14:38:25 +08:00
Dan Minshew
9197db2445
add 'code' to list of Typography props 2019-03-09 21:50:39 -06:00
afc163
56570aa539
💄 Add @pagination-item-bg-active
close #14739
2019-03-09 19:43:19 +08:00
afc163
4275430094
🐛 Keep same content color of List like previous version
close #15296
2019-03-09 19:27:13 +08:00
zombiej
ee14f8e5d5 add skip test 2019-03-09 18:25:22 +08:00
Rick Zhou
a0bfe4cc65 fix tabs style in card mode 2019-03-08 22:08:48 -08:00
Inian
c443909bca
Typo 2019-03-08 21:29:58 +08:00
愚道
e3a2c38e67 Merge branch 'master' into chore/mergem 2019-03-08 16:32:40 +08:00
偏右
194dedd013
Merge pull request #15286 from ant-design/improve-code
Refactor some code after #15254
2019-03-08 16:20:42 +08:00
afc163
bd0eb34487
make sure count compare as number 2019-03-08 15:57:07 +08:00
偏右
71440a218b
Update components/form/style/index.less
Co-Authored-By: jinxin0112 <m18508218948@163.com>
2019-03-08 15:53:27 +08:00
afc163
da6662562b
refactor some code after #15254 2019-03-08 15:43:46 +08:00
JinXin
7ccf6855c6
fix: appear two colons
If the label attribute of the component Form.Item is a ReactNode and the same label tag exists inside the ReactNode, two colons will appear.
2019-03-08 15:31:46 +08:00
愚道
a4f73ff64e chore: sync master to feature 2019-03-08 15:21:36 +08:00
偏右
120ea3a38d
Merge pull request #15252 from yoyo837/add-label-align
add labelAlign for Form and FormItem
2019-03-08 14:50:13 +08:00
偏右
94cd2ac3f4
Merge pull request #15210 from ant-design/fix-list-item-text-margin
Refactor List Item dom structure
2019-03-08 14:44:06 +08:00
偏右
5415b81f63
Merge pull request #15254 from zy410419243/migrate
refactor: migrate lifecycle method
2019-03-08 14:13:24 +08:00
偏右
ee65a2d8de
Merge branch 'feature' into form-prop 2019-03-08 14:10:07 +08:00
DiamondYuan
c8ba4da309 docs: add since comment for FormProps 2019-03-08 13:03:29 +08:00
偏右
952d2ec06a
Merge branch 'feature' into master 2019-03-08 12:38:04 +08:00
Cheng
c882a4b918 Style tree content to full width (#14858)
*  (tree) new blockNode props

* 💄 (tree) style for blockNode

* 📝 (tree) update draggable demo

* 🐛 (tree) fix custom switcherIcon class

*  (tree) update snapshots

* 📝 (tree) update docs

* 👌 opt trans
2019-03-08 12:36:46 +08:00
ztplz
2e0a85324b Fix type (#15266)
* Fix type

* Update index.tsx
2019-03-08 12:26:01 +08:00
偏右
d4140713ab
Merge pull request #15241 from zy410419243/issue-14775
pref: lift up coverage rate
2019-03-08 12:23:56 +08:00
DiamondYuan
5b162897a8 feat: support props colon of Form 2019-03-08 11:25:37 +08:00
afc163
f44ff94dec
Fix test fails in React 15 2019-03-08 11:00:33 +08:00
陈小聪
85a293eacb
change badge text types
```jsx
<Badge status="default" text={<span style={{ color: 'rgba(0, 0, 0, 0.45)' }}>未响应</span>} />
```
2019-03-08 00:21:53 +08:00
Amumu
9549ed308d fix doc (#15259) 2019-03-07 20:40:06 +08:00
偏右
65b69b7265
Merge pull request #15256 from yoyo837/fix-steps-label-align
fix when size is small and label is vertical the label text not align center
2019-03-07 18:01:50 +08:00
偏右
93820ba90e
Merge pull request #15150 from ant-design/affox
Fix Affix updatePosition logic.
2019-03-07 17:59:40 +08:00
yoyo837
6b84c079dd fix when size is small and label is vertical the label text not align center 2019-03-07 17:04:31 +08:00
zy410419243
7642cbf18d refactor: update lifecycle method for Menu 2019-03-07 16:58:53 +08:00
zy410419243
555af0a40d Revert "refactor: update lifecycle method for Affix"
revert: related to #15150
2019-03-07 16:49:36 +08:00
zy410419243
4601144f3f refactor: update lifecycle method for Calendar 2019-03-07 16:33:59 +08:00
zy410419243
4dc533c202 refactor: update lifecycle method for Badge 2019-03-07 16:03:02 +08:00
zy410419243
ad30c02710 refactor: update lifecycle method for Affix 2019-03-07 15:50:07 +08:00
zombieJ
dd435afadb
fix warning check logic (#15251) 2019-03-07 15:47:43 +08:00
zy410419243
774cbf92e0 chore: export with polyfill 2019-03-07 15:39:34 +08:00
yoyo837
0b1410a710 don't disclose some props define in doc 2019-03-07 15:34:11 +08:00
偏右
01cf2114cc
Merge pull request #15245 from ant-design/update-demo
update Collapse demo adding stopPropagation sample
2019-03-07 15:24:32 +08:00
zy410419243
63616479ec refactor: update lifecycle method for Transfer 2019-03-07 15:18:57 +08:00
yoyo837
5281d7b7f2 add labelAlign for Form and FormItem 2019-03-07 15:14:27 +08:00
zy410419243
8d43f4b032 test: update cases for Modal 2019-03-07 14:43:25 +08:00
zy410419243
f38323aeca refactor: remove unexpected export 2019-03-07 14:43:25 +08:00
zy410419243
39d648e3b8 test: update cases for TimePicker 2019-03-07 14:43:25 +08:00
zy410419243
be22c9148b pref: remove unreachable code 2019-03-07 14:43:25 +08:00
zy410419243
e6c1fd3385 test: update cases for UploadList 2019-03-07 14:43:25 +08:00
zombieJ
0f356fb151
update snapshot (#15247)
* update snapshot

* downgrade to node 10
2019-03-07 14:41:17 +08:00
zombiej
091ec45662 add comment 2019-03-07 12:03:14 +08:00
zombiej
82c4b52496 updat demo 2019-03-07 11:50:13 +08:00
Yangzhedi
bfbadabd52 fix(Input): fix search style with allowClear or suffix/prefix 2019-03-07 10:06:18 +08:00
Yunus EŞ
01b8c2f0c3
Turkish translations of new components
Global placeholder,  Icon, Text objects added.
2019-03-06 17:10:15 +03:00
afc163
b03d9ad4b2
Update test snapshots 2019-03-06 16:52:57 +08:00
zombieJ
3fbeff3fcc
add warning when use getCheckboxProps (#15231) 2019-03-06 16:48:14 +08:00
afc163
7a217c625c
🐛 Fix space lost when inline element in List.Item, close #15186 2019-03-06 16:31:07 +08:00
afc163
575796cb92
clean up code 2019-03-06 15:23:51 +08:00
afc163
0fe82ed936
refactor list item dom structure 2019-03-06 14:20:51 +08:00
afc163
1c7e0d0b4b
🐛 Fix space lost when inline element in List.Item
close #15186

use `display: contents`:

- https://www.zcfy.cc/article/vanishing-boxes-with-display-contents
- https://css-tricks.com/get-ready-for-display-contents/
2019-03-06 14:20:51 +08:00