Commit Graph

9276 Commits

Author SHA1 Message Date
zombieJ
252e1dd7e9
Merge pull request #16213 from ant-design/master
Merge master into feature
2019-04-22 15:17:12 +08:00
偏右
686c1fc346
Merge pull request #16174 from ant-design/fix-table-chrome
fix: Firefox miss bottom line when use sorter
2019-04-22 11:02:03 +08:00
陈帅
1ece80f6bc snapshot updated 2019-04-22 10:14:44 +08:00
陈帅
7aae4bbc36 Merge branch 'master' into page-header-button 2019-04-22 10:01:31 +08:00
Wei Zhu
8ec3831558
Merge pull request #16203 from saxenanihal95/code_refactor
Refactor: created InputIcon of common code in RangePicker and WeekPicker
2019-04-21 15:11:01 +08:00
zombiej
dfeeafa218 Merge remote-tracking branch 'origin/master' into feature 2019-04-21 15:07:01 +08:00
陈帅
6d1d685393 Merge branch 'master' into page-header-button 2019-04-21 14:51:56 +08:00
zombieJ
73188ac497
fix: Table rowSelection.columnWidth should work (#16180)
* set row col width instead of check cecll width

* use rc-table internal hook

* update snapshot
2019-04-21 13:54:15 +08:00
saxenanihal95
9fd4b2de63 Refactor: created InputIcon of common code in RangePicker and WeekPicker 2019-04-20 23:10:01 +05:30
zombieJ
5987792a44
fix: typescript definition update (#16202)
* fix lint

* update snapshot

* update define
2019-04-20 23:38:02 +08:00
陈帅
ea444bd7eb snapshots updated 2019-04-20 13:26:17 +08:00
陈帅
a1c4d9f45b use operation-unit function 2019-04-20 10:56:11 +08:00
Aaron Cawte
4cd0c74d0d Documentation - Tree Component 2019-04-19 23:39:58 +01:00
Aaron Cawte
7333506c42 Documentation - Timeline Component 2019-04-19 23:39:34 +01:00
Aaron Cawte
8833f0b8ad Documentation - Tag Component 2019-04-19 23:38:24 +01:00
Aaron Cawte
719aff7b1f Documentation - Table Component 2019-04-19 23:37:13 +01:00
Aaron Cawte
0c7b3ce34b Documentation - List Component 2019-04-19 23:36:12 +01:00
Aaron Cawte
a89c228bf5 Documentation - Comment Component 2019-04-19 23:35:29 +01:00
Aaron Cawte
e8e29f78a9 Documentation - Collapse Component 2019-04-19 23:34:56 +01:00
Aaron Cawte
0fc9b86ced Documentation - Badge Component 2019-04-19 23:34:09 +01:00
Aaron Cawte
f30aee5cef Documentation - Avatar Component 2019-04-19 23:33:10 +01:00
Sean Willis
246f1e0916 Extend HTMLAttributes 2019-04-19 14:49:09 -07:00
Aaron Cawte
9ac561dfce Documentation - LocaleProvider Component 2019-04-19 19:37:46 +01:00
Aaron Cawte
8557cb47d2 Documentation - Divider Component 2019-04-19 19:37:12 +01:00
偏右
d65d68f263
Merge pull request #15996 from ant-design/dropdown-right-cion
feat: Dropdown support set right icon
2019-04-19 23:24:14 +08:00
Aaron Cawte
8686e52804 Documentation - Skeleton Component 2019-04-19 15:39:21 +01:00
Aaron Cawte
b431be3c2f Documentation - Spin Component 2019-04-19 15:38:41 +01:00
Aaron Cawte
5b33d94573 Documentation - PopConfirm Component 2019-04-19 15:37:48 +01:00
Aaron Cawte
4b9f85ba64 Documentation - Notification Component 2019-04-19 15:36:29 +01:00
Aaron Cawte
fb42d3c9a5 Documentation - Message Component 2019-04-19 15:35:06 +01:00
Aaron Cawte
1a0bac944b Documentation - Modal Component 2019-04-19 15:06:38 +01:00
Aaron Cawte
a3c10d7f04 Documentation - Drawer Component 2019-04-19 13:59:45 +01:00
Aaron Cawte
7e17539892 Documentation - Alert Component 2019-04-19 13:48:29 +01:00
Aaron Cawte
ee6d96f39e Documentation - Tooltip Component 2019-04-19 13:46:08 +01:00
陈帅
fa81af5abb TransButton use div#role=button 2019-04-19 17:52:27 +08:00
陈帅
b2c734c169 snapshots updated 2019-04-19 15:55:43 +08:00
陈帅
e22bfcdc4d fix #16038, back icon should is a button 2019-04-19 15:42:01 +08:00
DiamondYuan
f676cfa65f chore:update style of demo 2019-04-19 13:35:14 +08:00
He Linming
2ac02e0035 feat: Support SkeletonAvatarProps.size accept number (#16078) (#16128) 2019-04-19 01:06:20 +08:00
ztplz
ab683841d5 fix: Modal's open animation (#16144)
* Fix Modal's open animation

* Fix incorrect event type

* test

* Update

* Update

* Update

* Update
2019-04-18 23:20:13 +08:00
zombiej
7e3c338c22 remove background lock 2019-04-18 23:14:09 +08:00
zombiej
09ed59dba7 rm useless code 2019-04-18 22:53:29 +08:00
zombiej
a137749b53 move background color into tr 2019-04-18 22:24:26 +08:00
Alessio Felicioni
4084b92512
Updates LocaleProvider italian language package 2019-04-18 15:40:13 +02:00
偏右
6a754eb320
Merge pull request #16155 from moonrailgun/feature-text-selection-vars
add text selection in less vars so we can overwrite it independent
2019-04-18 13:38:55 +08:00
moonrailgun
25599bc7ce add text selection so we can overwrite it independent 2019-04-18 12:31:04 +08:00
偏右
6e2c2baaae
Merge pull request #16114 from ant-design/create-react-context
chore: use @ant-design/create-react-context of MIT
2019-04-18 11:08:57 +08:00
JuFeng Zhang
a8b23ea944 docs: Fix selector in demo 'Playground'. (#16145)
Fix #16141
2019-04-18 09:04:26 +08:00
zombieJ
9dbca667d6
fix: Affix dynamic change target should work (#16146)
* fix target not refreshed

* add comment
2019-04-18 01:33:05 +08:00
zombieJ
21c0ba5bbd
udpate warning (#16138) 2019-04-17 17:31:39 +08:00
zombieJ
fdcfabfa78
fix: form typescript definition (#16126)
* use redux-react ts define

* update doc

* follow origin rule
2019-04-17 13:51:52 +08:00
DiamondYuan
17b800ffab fix: fix document table order 2019-04-17 10:35:42 +08:00
DiamondYuan
331dadbef4 style: change style of dropdown-button demo 2019-04-17 10:35:42 +08:00
DiamondYuan
d23946a092 test: update updateSnapshot 2019-04-17 10:35:42 +08:00
DiamondYuan
8a80c289f2 test: update updateSnapshot 2019-04-17 10:35:42 +08:00
DiamondYuan
82a34d5938 style: format dropdown-button.md 2019-04-17 10:35:42 +08:00
DiamondYuan
99b5ebd81e test: update updateSnapshot 2019-04-17 10:35:42 +08:00
DiamondYuan
abdebe8f68 style: format dropdown-button.md 2019-04-17 10:35:42 +08:00
DiamondYuan
2493182039 docs: update doc of dropdown component 2019-04-17 10:35:42 +08:00
DiamondYuan
de7c8d09bd feat: dropdown support set right icon 2019-04-17 10:35:42 +08:00
zombieJ
df141914e9
docs: Add FAQ of Affix window scroll (#16125)
* update doc

* Update index.en-US.md

* update desc
2019-04-17 10:19:57 +08:00
Rick Zhou
6a7e8986b8 fix card mode Tabs border style when used with tabPosition="bottom" 2019-04-16 08:21:14 -07:00
zombieJ
8f2c74c39f
update demo (#16127) 2019-04-16 23:11:12 +08:00
zombieJ
98fc8a14e0
feat: Support append theme less file with less-variable (#16118)
* add override

* add override support

* update doc
2019-04-16 21:59:25 +08:00
zombieJ
aff6f6d8fb
Merge pull request #16102 from ant-design/master
chore: Merge master into feature
2019-04-16 16:58:19 +08:00
zombieJ
4cfbeeac2e
use 8px for radio circle (#16119) 2019-04-16 15:48:36 +08:00
afc163
b4bdb19952
Fix snapshot 2019-04-16 14:22:22 +08:00
afc163
0a8f33385d
🆙 use @ant-design/create-react-context of MIT 2019-04-16 12:18:39 +08:00
zombieJ
7db67ae8f1
add interopDefault (#16110) 2019-04-16 11:39:43 +08:00
偏右
3fba56ec90
Merge pull request #15310 from ztplz/static
style: 🏷 static tags
2019-04-16 11:36:28 +08:00
zombieJ
f552deb46d
fix: PageHeader which tags should use ReactNode (#16106)
* fix PageHeader which tags should use ReactNode

* Tags
2019-04-16 00:36:25 +08:00
zombieJ
08688d5d48
should default work (#16103) 2019-04-15 23:35:31 +08:00
afc163
2737c00633
💄 Fix stylelint problems 2019-04-15 22:44:51 +08:00
Yuri Pirola
967f22210d Add Italian localization of Icon, Text and global components 2019-04-15 11:32:08 +02:00
zombiej
28ab57bde1 add faq of grid 2019-04-15 15:47:33 +08:00
偏右
021676936d
Merge pull request #16085 from ant-design/fix-less
fix: Correct typo of theme less
2019-04-15 15:11:59 +08:00
zombieJ
15b900bbfb
another try (#16077) 2019-04-15 14:56:21 +08:00
zombiej
ffa0e7378f fix typo 2019-04-15 14:53:14 +08:00
Ray Booysen
fe1617bc5c If there is an existing debounce in progress, cancel that 2019-04-15 14:30:04 +08:00
偏右
76b3f76033
Merge pull request #16071 from ant-design/up-dev-deps
chore: 🆙 upgrade devDependencies
2019-04-15 13:15:44 +08:00
zombieJ
ae101a2056
fix: labelAlign should work in Form.Item (#16072)
* labelAlign should work in Form.Item

* add Form & Form.Item

* rename type
2019-04-15 12:10:04 +08:00
afc163
a2a9831abb
💄 Fix less code style 2019-04-15 11:05:06 +08:00
zombiej
da9ab93c40 use li wrap with comment 2019-04-15 10:27:45 +08:00
zombiej
be17c03245 merge feature branch 2019-04-15 10:10:14 +08:00
afc163
60f4930348
📝 Optimize table and form documentation 2019-04-14 14:32:16 +08:00
偏右
6ccbaddff5
Merge pull request #16066 from ant-design/master
Merge master into feature branch
2019-04-14 13:57:20 +08:00
gxvv
9d95429f93 📸 Update button snapshot. 2019-04-14 10:09:25 +08:00
gxvv
0902bcd59a 📝 Replace span to div in loading button doc. 2019-04-14 10:09:25 +08:00
gxvv
9dcde5ab94 💄 Remove the pointer events handler of loading circle button. 2019-04-14 10:09:25 +08:00
啸生
32bc6995d6
update snapshot (#16059)
<!--
First of all, thank you for your contribution! 😄

New feature please send pull request to feature branch, and rest to master branch.
Pull request will be merged after one of collaborators approve.
Please makes sure that these form are filled before submitting your pull request, thank you!

[[中文版模板 / Chinese template](https://github.com/ant-design/ant-design/blob/master/.github/PULL_REQUEST_TEMPLATE/pr_cn.md)]
-->
### 🤔 This is a ...

- [ ] New feature
- [ ] Bug fix
- [ ] Site / document update
- [ ] Component style update
- [ ] TypeScript definition update
- [ ] Refactoring
- [ ] Code style optimization
- [ ] Branch merge
- [x] Other (about what?)
2019-04-13 21:48:05 +08:00
Salavat Gizatov
9f9f81ed7a feat: form customizing variables (#15954)
* fix: added styling form input background-color

* feat: added '@form-warning-input-bg' variable

* feat: added '@form-error-input-bg' variable
2019-04-12 11:52:00 +08:00
zombiej
28d133ca93 Merge remote-tracking branch 'origin/master' into merge-master 2019-04-11 18:05:46 +08:00
zombieJ
38f701cc90
fix: Empty in IE not fully render (#16016)
* fix viewBox

* update snapshot
2019-04-11 13:49:57 +08:00
zombieJ
c4283ebe72
feat: Upload support customize previewFile (#15984)
* support preview file

* use promise

* dealy load

* use canvas of render

* use domHook of test

* update demo

* add snapshot

* update types

* update testcase
2019-04-11 13:40:28 +08:00
zombieJ
41316e69e8
update snapshot (#16017) 2019-04-11 12:48:36 +08:00
偏右
18d99fb937
Merge pull request #15997 from ant-design/recover-openAnimation
chore: menu openAnimation use object
2019-04-11 12:11:51 +08:00
zombieJ
049fc177b6
fix: use Tabs overflow hidden instead of display none (#16013)
* fix nest table style

* use overflow hidden instead of display none
2019-04-11 11:28:17 +08:00
zombieJ
df3e1b21d8
fix nest table style (#16008) 2019-04-11 01:22:35 +08:00
偏右
d922c377cb refactor: Optimize default selection column width implement (#15990)
* 🔨 Optimize default selection column width implement

make it be able to overrided in css

close #15968

*  update snapshots
2019-04-11 00:54:46 +08:00
ztplz
351cf5960c Update 2019-04-10 21:42:35 +08:00
诸岳
dcdd7fb414 fix(Tree): Switcher loading icon and checkbox should be vertical align when @tree-title-height is modified, close #15955 (#15962) 2019-04-10 17:44:39 +08:00
jljsj33
278fcfdf41 menu openAnimation use object 2019-04-10 17:17:53 +08:00
jljsj33
1bc8ec5e0f recover openAnimation 2019-04-10 16:32:17 +08:00
jljsj33
c8a58396c5 update tween and scroll version, fix menu openTransitionName warning 2019-04-10 15:53:55 +08:00
zombiej
b54157a395 update doc 2019-04-09 22:52:25 +08:00
ztplz
0183bbe4fb Remove Wave on Tag 2019-04-09 22:35:21 +08:00
zombieJ
d1e58d058f
update wave style (#15978) 2019-04-09 19:32:58 +08:00
Salavat Gizatov
574313d2d8 feat: table customizing variable (#15971)
* feat: added table selected row color variable

* fix: @table-selected-row-color default is inherit
2019-04-09 17:08:17 +08:00
zombieJ
bef491ecc9
fix: Menu defaultOpenKeys not work as expect (#15970)
* Remove animation on first render

* update test cas
2019-04-09 16:39:33 +08:00
偏右
6bd76140a4
Merge pull request #15951 from ant-design/fix-progress-status
fix(Progress): 🐛 fix progress success UI when status is undefined
2019-04-09 16:17:06 +08:00
zombieJ
645557f3d9
Proxy of event info (#15967) 2019-04-09 14:20:59 +08:00
信鑫-King
4c3a351bc7 tweak: export Skeleton avatar name (#15965) 2019-04-09 13:42:34 +08:00
偏右
a26397843c
Merge pull request #15948 from ant-design/menu-tooltips
fix: Tooltips show work when Menu collapsed
2019-04-08 22:49:15 +08:00
afc163
ace93f1b42
🎨 refactor some code 2019-04-08 22:48:34 +08:00
afc163
fbcc884b5b
🐛 fix progress success UI when status is invalid 2019-04-08 22:33:12 +08:00
zombiej
58768b90f6 Merge branch 'feature' into tree-select-showSearch 2019-04-08 22:23:16 +08:00
zombiej
9f3c357053 add test case 2019-04-08 22:20:18 +08:00
afc163
463ac0eccb
💄 chore progress demo 2019-04-08 21:45:32 +08:00
afc163
89351babc2
fix(Progress): 🐛 fix progress success UI when status is undefined
close #15950
2019-04-08 21:43:30 +08:00
Juan Carlos Lloret H
1e6405eae9 Added missing showLessItems prop to pagination component 2019-04-08 15:43:06 +02:00
zombiej
f7df66b97c fix tooltip not works 2019-04-08 21:03:25 +08:00
zombieJ
369cb69e7f feat: TreeSelect support showSearch in multiple mode (#15933)
* update rc-tree-select

* typo

* update desc & snapshot

* update desc & snapshot

* check default showSearch
2019-04-08 20:24:49 +08:00
zombieJ
ff23ce72e6
Revert "feat: TreeSelect support showSearch in multiple mode (#15933)" (#15946)
This reverts commit fa47d9ca60.
2019-04-08 20:23:40 +08:00
zombieJ
fa47d9ca60
feat: TreeSelect support showSearch in multiple mode (#15933)
* update rc-tree-select

* typo

* update desc & snapshot

* update desc & snapshot

* check default showSearch
2019-04-08 20:21:22 +08:00
zombieJ
97d6f79ce4
fix: Menu arrow not display in old version of IE (#15932) 2019-04-08 18:26:31 +08:00
zombieJ
9190245b52
update ts def (#15938) 2019-04-08 18:04:46 +08:00
偏右
2950219864
Merge pull request #15923 from ant-design/fix-label-switch
fix(Form): switch should be trigger by form label
2019-04-08 11:50:50 +08:00
zombieJ
100ebc9795
warning DatePicker of invalidate time (#15920) 2019-04-08 11:41:31 +08:00
afc163
69140e7d59
bug(Form): switch should be trigger by form label
close #15549
2019-04-08 11:11:34 +08:00
afc163
8155756826
site: 💄 optimize icon doc 2019-04-08 10:17:03 +08:00
信鑫-King
8199f4b9f9
Merge pull request #15899 from ant-design/affix-size
fix: Affix should dynamic adjust if size changed
2019-04-07 19:40:35 +08:00
zombieJ
fb6b6a1b0b
fix: Use mock of lodash.debounce (#15904)
* another try

* rm mock file
2019-04-07 19:39:04 +08:00
偏右
74255ab1af
Merge pull request #15900 from ant-design/fix-range-picker-input
fix RangePicker endtime-input not editable
2019-04-07 17:02:20 +08:00
偏右
79aa04bf5a
Merge pull request #15895 from ant-design/table-align-right
fix: Table align right not work on title
2019-04-07 16:53:46 +08:00
Minwei Xu
32f9458b54 docs: Add space between eng and chinese for #15876 2019-04-07 14:28:50 +08:00
ycjcl868
7f2a1d427b fix RangePicker endtime-input not editable 2019-04-07 10:28:30 +08:00
zombiej
3a9f81d6c1 return null for ResizeOb 2019-04-07 10:26:00 +08:00
zombiej
d81ce6ee99 add test 2019-04-07 10:06:49 +08:00
zombiej
fc45d7003e fix ts def 2019-04-07 01:09:34 +08:00
zombiej
961b081939 update snapshot 2019-04-06 13:07:32 +08:00
zombiej
bdc3ad431d fix align right not work 2019-04-06 12:56:07 +08:00
zombiej
533ae050f0 update comment 2019-04-05 23:33:19 +08:00
zombiej
0a905f192c update snapshot 2019-04-05 21:31:16 +08:00
zombiej
c6903c9cc9 use ul in list 2019-04-05 21:17:29 +08:00
zombieJ
f7d2dd757e
fix: Fix List pagination size changer not work (#15871)
* fix

* fix test case
2019-04-05 17:30:24 +08:00
偏右
659efe05a8
Merge pull request #15613 from krokofant/master
Enable theme switching by html-prefix
2019-04-05 16:15:36 +08:00
zombieJ
89dd827b7f
fix: Refactor Menu related components life cycle methods (#15868)
* use state instead

* rollback demo markdown

* clean test

* sider context should be clean

* update test case

* fix test

* update debug desc

* add siderCollapsed into omit

* rm useless code
2019-04-05 16:15:01 +08:00
偏右
18d6b307bc
Merge pull request #15866 from ant-design/fix-date-picker-input
fix(DatePicker): fix RangePicker time-input not editable
2019-04-05 15:28:07 +08:00
Minwei Xu
98bc178a36 update mapPropsToFields demo 2019-04-04 12:51:14 -04:00
Minwei Xu
10196718e4 update doc for mapPropsToFields 2019-04-04 12:39:03 -04:00
afc163
2916a35325
fix(DatePicker): fix RangePicker time-input not editable
close #15863
2019-04-04 15:42:25 +08:00
诸岳
3c75c4f4e4
fix(TimePicker): prop locale should works, close #15813 (#15837) 2019-04-04 14:01:28 +08:00
偏右
d8e9b0c918
Merge pull request #15856 from ant-design/fix-steps-style
fix(Steps): 🐛 style broken when progressDot and size="small"
2019-04-04 12:22:00 +08:00
偏右
5e9f9f84bf
Merge pull request #15841 from ant-design/improve-empty-built-style
style(Empty): create simple style Empty in a default way
2019-04-04 12:07:40 +08:00
afc163
6625fb59db
fix(Steps): 🐛 style broken when progressDot and size="small"
close #15566
close #15849
2019-04-04 12:00:32 +08:00
zombieJ
107943673f
use mock function (#15847) 2019-04-04 00:12:04 +08:00
afc163
bc737727a9
test: fix snapshots 2019-04-03 19:11:41 +08:00
zombiej
bc8db2311b docs: adjust description 2019-04-03 18:59:41 +08:00
afc163
5ee4efb2db
style(Empty): 💄 create simple style Empty in a default way 2019-04-03 18:59:02 +08:00
zombieJ
e1a1cdaa4d
docs: Add TreeSelect get parent in FAQ (#15834)
* add faq

* adjust url
2019-04-03 18:20:01 +08:00
偏右
ad99b4322d test: Add eslint-plugin-jest (#15825) 2019-04-03 15:54:26 +08:00
偏右
fc8977b627
Merge pull request #15808 from liaoyinglong/master
Update dynamic-form-item.md
2019-04-03 14:25:09 +08:00
zombiej
f206a923be rm only in test 2019-04-03 13:45:32 +08:00
zombieJ
87a9c421a2
fix: Fix Table filter display issue when use non-string type (#15817)
* fix filter display logic

* update test case
2019-04-02 22:06:51 +08:00
zombieJ
6b2d72e2c1
fix: badge should accept negative number (#15810)
* fix badge negative number

* support negative as count
2019-04-02 19:01:12 +08:00
zombiej
30b3fcdc18 update demo of dynamic form 2019-04-02 17:40:50 +08:00
廖应龙
065896f53b
Update dynamic-form-item.md
delete unnecessary props
2019-04-02 14:33:47 +08:00
afc163
0bf222c664
📝 Improve Empty doc 2019-04-02 10:26:45 +08:00
Andrés
615ea0cb2e
Fix Documentation 2019-04-01 15:05:50 +02:00
Pierre
1ff849ce4d
Avoid react doesn't have default export 2019-04-01 13:50:54 +02:00
zombieJ
0f49dd2ebf
Merge pull request #15784 from ant-design/merge-feature
Master merge feature
2019-04-01 15:24:10 +08:00
偏右
9d06bec8dd 🐛 Fix components covered by Table fixed columns (#15782)
Reset @zindex-table-fixed to auto

close #15780
close #15499
2019-04-01 15:05:40 +08:00
zombiej
41f2316370 Merge branch 'feature' into merge-feature 2019-04-01 14:51:18 +08:00
alex89lj
e3b252b527 Fixed an issue about the component(RangePicker) could not select the … (#15427)
close #13302
2019-04-01 14:49:40 +08:00
zombieJ
550ff72e1e
Merge pull request #15775 from ant-design/merge-feature
Merge feature
2019-04-01 11:07:45 +08:00
zombiej
2c693ee95b merge feature 2019-04-01 10:22:43 +08:00
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