Commit Graph

8918 Commits

Author SHA1 Message Date
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
afc163
881dce9a3e
💄 prettier codes 2019-03-06 13:45:40 +08:00
偏右
b9cef22d21
Merge pull request #15219 from Frezc/master
[doc]remove misleading content
2019-03-06 12:09:28 +08:00
afc163
5d450d2a23
💄 unified DatePicker and TimePicker cursor style 2019-03-06 11:01:56 +08:00
afc163
f55d2bbf32
🐛 Text ellipsis should be optional, close #15189 2019-03-05 21:19:22 +08:00
wanli
fdc8a1b458 [doc]remove misleading content 2019-03-05 20:51:32 +08:00
ngolin
cb5fe6cbf8 Fix: TypeScript <Layout> requires a tagName property (#15181)
* fix #15162

* force safe type casting

* get rid of non-null assertion

* get rid of non-null assertion
2019-03-05 14:39:43 +08:00
zombiej
26cde5813f update ts def 2019-03-05 13:48:38 +08:00
偏右
5dec4960df
Merge pull request #15184 from ant-design/fix-input-focus-state
Fix Input Password focus state
2019-03-05 11:32:05 +08:00
afc163
216c85211b
Add test cases 2019-03-05 11:16:13 +08:00
偏右
53a35adbd5
Merge pull request #15153 from zy410419243/issue-14775
pref: lift up coverage rate
2019-03-04 22:26:38 +08:00
afc163
1b713c94e6
🐛 Focus input after clear input content 2019-03-04 22:19:40 +08:00
afc163
5cd5d1ff00
📝 Opatimize Input demo 2019-03-04 21:57:30 +08:00
afc163
eaadf94861
🐛 Fix Input.Password lost focused state issue
close #15173
2019-03-04 21:54:51 +08:00
afc163
6f22eaa2c4
🎨 Improve code style of Input.Password 2019-03-04 21:54:10 +08:00
afc163
74aee564ed
🐛 Fix Collapse extra node style missing
close #15174
2019-03-04 19:15:02 +08:00
偏右
19d916fd20
Merge pull request #15156 from ant-design/date-picker-popup
fix configProvider getPopupContainer not work with DatePicker
2019-03-04 19:04:27 +08:00
liuchuzhang
9058588fe6 fix document 2019-03-04 17:35:03 +08:00
陈帅
f73a0e238d feat: PageHeader support classname (#15159) 2019-03-04 14:54:28 +08:00
zombieJ
2f6b367137
fix form warning (#15160)
* fix form warning

* update snapshot
2019-03-04 14:51:40 +08:00
zy410419243
28a82f8f09 test: update cases for Grid.Row 2019-03-04 11:49:29 +08:00
zy410419243
0a78070b08 test: upadte cases for Transfer.List 2019-03-04 11:35:08 +08:00
zy410419243
74a5a10bee test: update aria-label for TextArea, to fix accesslint problems 2019-03-04 11:35:08 +08:00
zy410419243
9867e6f4cc test: update cases for TextArea 2019-03-04 11:34:01 +08:00
zy410419243
b4146854d6 test: update cases for calculateNodeHeight 2019-03-04 11:29:15 +08:00
zombiej
0af6bded1d fix configProvider getPopupContainer not work with DatePicker 2019-03-04 11:11:50 +08:00
陈帅
2996d8e625
Merge pull request #15154 from ant-design/feature
up to 3.14.0
2019-03-04 10:59:41 +08:00
afc163
71a774b16b 🐛 Fix closable Drawer hiding without transition 2019-03-04 10:54:48 +08:00
Frezc
c5b98c27c7 add export to MenuItemProps 2019-03-04 10:54:34 +08:00
陈帅
5e298dba51
3.14.0 Changelog (#15145)
* add responsive property to carousel (#15071)

* add responsive property to carousel #15065

* extend carousel props from Slick type definitions #15065

* rm key in OptionProps (#15104)

* update doc

* fix cascader should tab twice to exist (#15117)

* fix cascader should tab twice to exist

* update snapshot

* Drawer Body padding should be variable

* fix DatePicker to support an array of formats (#15116)

ref #13148

* table reader mobile friendly

* up

* up

* doc: add 3.14.0 changelog

* doc: fix ci warning

* doc: fix ci warning

* doc: fix typo

* doc: fix ci warning

* doc: fix ci warning

* doc: fix cr warring

* doc: fix cr warring

* doc: fix cr warring

* doc: fix cr warring

* doc: fix cr warring

* doc: fix cr warring

* doc: fix cr warring

* -m

* -m

* doc: fix cr warning
2019-03-04 10:45:15 +08:00
zombiej
fd0bea7332 fix size 2019-03-03 23:25:52 +08:00
zombiej
439053e4f7 update snapshot 2019-03-03 23:19:07 +08:00
zombiej
d0c2f8b05f remove debug 2019-03-03 11:40:10 +08:00
zombiej
2eb4ecfedd refactory 2019-03-03 10:04:21 +08:00
DiamondYuan
e392605230 up 2019-03-02 19:59:45 +08:00
DiamondYuan
4e331a5049 up 2019-03-02 19:59:45 +08:00
陈帅
dee8f93fe7
New Component PageHeader (#13637)
* add api dock

* add a simple demo

* add content demos

* fix style warning

* Replace content with children

* add all demo

* add demo test

* add backNode props

* Adjust the divider style

* fix icon do no show

* fix test ci

* fix md code style

* remove fragment use

* add test script

* Missing newline character at end of file

* optimize the demo display

* text becomes longer

* text becomes longer

* fix css code style

* fix test snapshot

* fix css code style

* fix codereivew waring

* fix codereivew waring

* update snapshots

* use ant-page-header-have-footer

* use englist

* fix typo

* updated snapshot

* line-height set to 100%

* remove subtitle

* Specification less

* fix less style error

* Sort by alphabet

* Rebuild code

* use english

* number use Statistic

* snapshot updated

* rm onBack in breadcrumb

* remove unuse return

* add a click wave

* remove unuse css

* add icon hover

* newline character

* new description

* warm descriptive text

* add dot

* remove async

* feat: use Typography.Paragraph

* test: snapshots updated

* style: fix  style lint

* import typography style
2019-03-02 15:51:08 +08:00
Yann Normand
e26c5133a5 fix DatePicker to support an array of formats (#15116)
ref #13148
2019-03-01 13:50:28 +08:00
yoyo837
29647f073a Drawer Body padding should be variable 2019-03-01 11:20:18 +08:00
zombieJ
66786c7c4b
fix cascader should tab twice to exist (#15117)
* fix cascader should tab twice to exist

* update snapshot
2019-03-01 11:19:35 +08:00
zombieJ
5ce7e71007
RangePicker support customize separator (#15055)
* support separator

* add version

* fix css
2019-02-28 16:11:10 +08:00
zombieJ
3a16708765
update snapshot (#15108) 2019-02-28 14:42:11 +08:00
zombieJ
acd06e9cb5
Select multiple mode support showArrow (#15091)
* support showArrow

* fix rc-select version

* update snapshot
2019-02-28 12:26:43 +08:00
zombieJ
c5f9ed1d4f
rm key in OptionProps (#15104) 2019-02-28 11:05:47 +08:00
Vitaliy Mazurenko
4878992400 add responsive property to carousel (#15071)
* add responsive property to carousel #15065

* extend carousel props from Slick type definitions #15065
2019-02-27 23:28:48 +08:00
zombiej
6f95995faa merge master 2019-02-27 19:57:48 +08:00
偏右
779ba73528 🐛 fix upload instance cannot exposed in TypeScript (#15090)
close #14439
2019-02-27 18:37:44 +08:00
zombieJ
70046f782d
update doc about customize form item component (#15088)
* update doc

* rm test code

* update doc
2019-02-27 18:34:47 +08:00
zombieJ
b69f0e5e97
canel when page change (#15082) 2019-02-27 15:55:37 +08:00
zombieJ
4d1a998246
add component param in warning (#15078)
* add component param in warning

* update snapshot
2019-02-27 15:32:29 +08:00
ycjcl868
cc30a2d4eb 💄 fix dropdown trigger align type def 2019-02-27 14:58:01 +08:00
zombieJ
ed1872fe08
fix calendar-onPanelChange some time not trigger (#15063) 2019-02-26 19:56:55 +08:00
Amumu
9e8bddd864 fix #13648 (#15056)
* fix #13648

* style lint

* lint

* revert and fix again
2019-02-26 17:10:40 +08:00
zombiej
8bf08cdf81 adjust css 2019-02-26 15:45:08 +08:00
afc163
98b41e0e9c Add handler definite for Drawer
close #15051
2019-02-26 15:36:23 +08:00
zombieJ
a802a72d56
Fix Table filter can not support other type of value (#15046)
* use new life cycle

* filter support inner value maps

* update snapshot

* update test case

* simple code
2019-02-26 14:26:08 +08:00
Jason Yin
b30e90ba31 fix #15037 (#15042) 2019-02-26 10:37:00 +08:00
yinjs
f602a9b153 fix #15035 datepicker onPanelChange ts declaration missing 2019-02-26 10:35:27 +08:00
afc163
447a8df724 🐛 Fix horizontal submenu wider then menu title in most case
https://codesandbox.io/s/qvpwm6mk66
2019-02-26 10:35:08 +08:00
zombieJ
1fc8dd3042
Form support labelCol & wrapperCol props. (#15038)
* use context

* update doc

* update doc

* not pass context if nest

* update snapshot

* update doc

* update doc
2019-02-25 19:04:09 +08:00
zombieJ
fb6a493f11
support name prop (#15029) 2019-02-25 11:28:31 +08:00
ztplz
94814d955f Format (#15027) 2019-02-24 15:49:12 +08:00
afc163
efafa6346d Fix lint problems 2019-02-23 16:58:22 +08:00
afc163
f665554080 🐛 Fix arrow style of Select selected item 2019-02-23 16:58:22 +08:00
afc163
924e8e4b83 🐛 should not print warning for not generating help and validateStatus automatically when help or validateStatus is specified
close #14911
2019-02-23 16:35:52 +08:00
Kamal Mahmudi
9559a12be9 🇮🇩 Update locale to be more natural for Indonesian (#15013)
* Update locale to be more natural for Indonesian

* consistently use lowercase and uppercase

* updating snapshot
2019-02-23 12:29:10 +08:00
afc163
5d46fa9679
📝 site: fix document punctuation 2019-02-22 17:15:48 +08:00
Aobo Yang
1f0166c156 Fix rowKey usages in List (#14437)
* correct rowKey usages in List

* fix item type in renderItem in List
2019-02-22 10:40:30 +08:00
Wei Zhu
8f7d4970a5
Merge pull request #14986 from liuchuzhang/table-doc
update table demo
2019-02-21 20:58:05 +08:00
杨小事er
668c330cae fix(radio): delete unnecessary onChange (#14984)
* fix(radio): delete unnecessary onChange

* fix(radio): fix multi trigger
2019-02-21 20:53:19 +08:00
orzorzorzorz
642307481a fix: unexpected return (#14982) 2019-02-21 20:49:04 +08:00
liuchuzhang
dfa6080d39 update table demo 2019-02-21 20:23:00 +08:00
zombiej
440408a1dd update style 2019-02-21 12:13:47 +08:00
afc163
7bbeaff3ed 🆙 Upgrade rc-input-number@4.4.0 to fix 13896 2019-02-21 12:12:52 +08:00
杨小事er
0f91fb07e9 fix(tree): fix growing space (#14964)
* fix(tree): fix growing space

* fix(tree): remove last child 4px padding bottom and keep others

* Update index.less
2019-02-21 11:17:52 +08:00
zombieJ
f483c4e604
Not show aria-label when Icon type is empty (#14972)
* remove aria-label if type is not defined

* update snapshot
2019-02-21 11:13:03 +08:00
zombiej
e94ce11bd9 update form item css 2019-02-20 19:38:09 +08:00
ztplz
5de03a5c18 Fix assert usage (#14957)
* Fix assert usage

* Update
2019-02-20 18:27:35 +08:00
afc163
671410d0be 🐛 Fix disabled sub menu style
close #14952
2019-02-20 16:59:05 +08:00
ztplz
e3eec8f2b6 Update snapshots 2019-02-20 16:58:30 +08:00
ztplz
45dc160701 Update 2019-02-20 16:58:30 +08:00
ztplz
f2ac516c87 Update 2019-02-20 16:58:30 +08:00