Commit Graph

9733 Commits

Author SHA1 Message Date
zombieJ
dfd6ce8609
fix: Checkbox should not show highlight when disabled (#18168)
* fix: Checkbox should not show highlight when disabled

* add comment
2019-08-14 18:19:07 +08:00
afc163
ab9eaed8d0 🐛 Fix Table row selected hover style
close #18195
2019-08-14 15:47:51 +08:00
Yu
2d2d9f60c4 feat: steps component support type navigation (#17994)
* feat: support type nav style

* fix: some style for review issue

* fix: active hover style

* chore: use navigation and upgrade rc-steps

* feat: support disabled prop for Steps.Step

* feat: support subTitle and improve code style

* fix: navigation steps item style

* test: update snap test case

* fix: test steps snapshots and review style issue

* fix: lint issue

* fix: lint style issue of steps

* fix: update steps demo for review issue

* fix: steps nav style detail

* fix: steps nav fix style detail

* fix: Steps subtitle overflow style in firefox

* docs: fix Steps new api doc
2019-08-14 11:18:36 +08:00
偏右
8519734a5a
Merge pull request #18242 from RageBill/master
Fixed grammatical errors in Button and Icon documentation.
2019-08-13 16:00:47 +08:00
Kelvin Chu
4a54c5698c Fixed grammatical errors in Button and Icon documentation. 2019-08-13 15:56:29 +08:00
afc163
9095189bcf fix Carousel test case 2019-08-12 19:04:33 +08:00
afc163
5e99ed7bbe Fix eslint warnings 2019-08-12 19:04:33 +08:00
afc163
0448a0fc06 Remove jest.runAllTimers 2019-08-12 19:04:32 +08:00
afc163
e5a83dd884 Fix carousel react 15 support 2019-08-12 19:04:32 +08:00
afc163
d45d494a4b Fix carousel test case 2019-08-12 19:04:32 +08:00
afc163
d07b298ae4 Fix eslint errors 2019-08-12 19:04:31 +08:00
afc163
2bddeef1e5 🆙 upgrade eslint-config-airbnb 2019-08-12 19:04:30 +08:00
jljsj
090afe0402 Merge branch 'master' of github.com:ant-design/ant-design 2019-08-12 18:51:07 +08:00
jljsj
0e349ba209 re modal test 2019-08-12 18:50:47 +08:00
afc163
29a47b0c7d 🎬 fix Select search demo
close #18222
2019-08-12 18:09:38 +08:00
xrkffgg
d8af45d662 fix: timeline-right-content-width (#18221) 2019-08-12 17:43:48 +08:00
jljsj
729113d196 fix modal test #18215 2019-08-12 15:39:05 +08:00
偏右
aa2ed79770
🐛 Fix Button loading prop warning (#18208)
close #18205
2019-08-11 16:32:55 +08:00
jiang
33a5da4e9a style: Drawer get container (#18167)
* update drawer position and add get-container demo

* fix lint

* update get-container.md

* rm HTMLElement

* update get-container to render-in-current

* fix lint

* update style

* update test

* re form test
2019-08-10 14:02:51 +08:00
zombieJ
286538ff71
chore: update ts define (#18196) 2019-08-10 13:06:23 +08:00
偏右
729744be9c
Merge pull request #18192 from JonathanLee-LX/master
types: complete monthCellContentRender property type definition on Da…
2019-08-09 22:08:50 +08:00
偏右
03189b3ba2
Merge pull request #18190 from nnecec/master
fix(Cascader): check if options exists before use options.length
2019-08-09 22:06:42 +08:00
Jonathan Lee
a2cd6a5e7f types: complete monthCellContentRender property type definition on DatePicker.MonthPicker Component 2019-08-09 19:11:53 +08:00
Meck Zhu
2815198df6 fix: Dropdown.Button[title] should be optional 2019-08-09 18:10:00 +08:00
nnecec
82ca39275e fix(Cascader): check if options exists before use options.length 2019-08-09 18:09:34 +08:00
Meck Zhu
57833a260f chore: fix css style 2019-08-09 17:16:20 +08:00
偏右
b105ed2663
Merge pull request #18185 from ant-design/improve-cov
test: Add test case for AutoComplete
2019-08-09 15:51:21 +08:00
afc163
3ef5661a1f Add test case for AutoComplete 2019-08-09 15:25:10 +08:00
偏右
682a720029
Merge pull request #18184 from ant-design/improve-cov
chore: Improve cov
2019-08-09 15:08:59 +08:00
afc163
d81bae68d8 📝 fix AutoComplete API table 2019-08-09 14:53:42 +08:00
jiang
97df74200f
update getContainer to props before (#18182) 2019-08-09 14:38:54 +08:00
afc163
94ab1ea2b1 Add test case for AutoComplete 2019-08-09 14:31:36 +08:00
偏右
64dbcc5504
Merge pull request #18124 from ant-design/master
chore: 😊 Merge master into feature
2019-08-09 14:02:26 +08:00
afc163
54cf37d95f 🐛 Fix Card action style when it is a button
close #18154
2019-08-09 11:13:15 +08:00
afc163
88de53d5af fix snapshot 2019-08-08 18:01:15 +08:00
Ștefan Filip
a5a8f38dde Added support for Romanian locale (#18163) 2019-08-08 17:24:31 +08:00
偏右
2cadd5be9f fix: Input clear icon align problem (#18151)
* 🐛 Fix Input clear icon align problem

close #18150
close #17414

* Update index.less
2019-08-08 15:09:36 +08:00
XTY
0f60283cc9 fix: remove unwanted vertical space at the top of Tabs (#18125)
* fix: remove unwanted vertical space at the top of Tabs

* fix: correct misspellings and change wording
2019-08-08 14:54:05 +08:00
Wendell
49c81322b2 docs: fix form doc typo (#18160) 2019-08-08 14:12:04 +08:00
偏右
a224d7c2e9 ⌨️ Improve Divider accessibility by add role="separator" (#18116)
https://www.w3.org/WAI/PF/aria/roles#separator
2019-08-08 12:32:39 +08:00
偏右
cf44d44f0f 🐛 Fix IE9 throw File not defined (#18115)
close #18109
2019-08-08 12:19:21 +08:00
Amumu
187f8f8372 fix: button should accept title prop (#18130)
* pass title to button

* update

* update
2019-08-08 11:11:46 +08:00
Amumu
814cbd013c fix: add focus and blur for Mentions (#18132)
* add focus and blur

* fix lint

* add test case

* use focusTest

* 恢复原始测试用例,查看focus的测试结果

* order
2019-08-08 11:11:28 +08:00
Kelvin Chu
24ac6e5c86 Fixed typos and grammatical errors in Button and Tabs documentation. 2019-08-07 17:26:39 +08:00
偏右
ca4bda1762
Merge pull request #18139 from ant-design/fix-button-line-height-style
fix: button line-height style
2019-08-07 15:06:27 +08:00
afc163
05181d552e 🐛 Fix Button line-height style issue
close #18107
close #13214 too

caused by the fix of #12978

changing another way to fix #12978
2019-08-07 15:00:02 +08:00
LaySent
7ca85ad11a fix: tooltip not work with disabled checkbox 2019-08-07 14:35:29 +08:00
lhx
a5a735cfc6 更新 Pagination 组件 文档的版本号 2019-08-07 13:51:35 +08:00
刘宏玺
c8ac1696b5
更新 Pagination 组件 版本号 2019-08-07 11:17:52 +08:00
orzyyyy
52a249d381 fix: style lint 2019-08-06 15:38:25 +08:00
orzyyyy
6584b61eb5 test(radio): re-check in react 15 2019-08-06 15:36:13 +08:00
orzyyyy
44d110c0db feat: add extend from prettier/react 2019-08-06 15:36:13 +08:00
orzyyyy
91146e5e91 fix: correct type of key 2019-08-06 15:36:13 +08:00
orzyyyy
47fd80c8ad fix: disable next line instead of the whole file 2019-08-06 15:36:13 +08:00
orzyyyy
5e2aa20a72 test: update snapshots 2019-08-06 15:36:13 +08:00
orzyyyy
b054ce3874 chore: adjust indent & revert demo & fix lint problem 2019-08-06 15:36:13 +08:00
orzyyyy
28f39739df test: update snapshots 2019-08-06 15:36:13 +08:00
orzyyyy
06c1f1a77c fix: disable jsx-a11y/label-has-associated-control 2019-08-06 15:36:12 +08:00
orzyyyy
5abb046893 test: update snapshots 2019-08-06 15:36:12 +08:00
orzyyyy
1e5c7243bf fix: lint of lines-between-class-members 2019-08-06 15:36:12 +08:00
orzyyyy
63b33d4020 fix: unexpected changes of snapshots 2019-08-06 15:36:12 +08:00
orzyyyy
649e8127c5 fix: lint:style 2019-08-06 15:31:59 +08:00
orzyyyy
872ada07e7 fix: lint:demo 2019-08-06 15:31:59 +08:00
orzyyyy
ac3f319ad2 fix: lint:es 2019-08-06 15:31:59 +08:00
zombieJ
3a8fcd6281
fix: Textarea show scroll when autosize (#18114)
* fix: Textarea show scroll when autosize

* clean up
2019-08-06 15:29:13 +08:00
zombieJ
d33a001922
fix: Tabs content with margin collapse (#18112) 2019-08-06 13:29:33 +08:00
偏右
4cd5cac29f
Merge pull request #18093 from xrkffgg/fix-timeline-tail
fix: timeline_left/alternate tail&content
2019-08-06 11:44:04 +08:00
偏右
f8f2807857
Merge pull request #18092 from xrkffgg/fix-timeline-content
fix: timeline-content-word-break
2019-08-06 10:28:47 +08:00
zombieJ
f6566571ac
fix: ConfigProvider should not block LocaleProvider (#18105) 2019-08-06 00:27:47 +08:00
zombieJ
197649bf5e
fix: Revert #17684 (#18097)
* fix: Revert #17684

* update snapshot

* gt di
2019-08-05 22:14:00 +08:00
xrkffgg
a09022c952 fix: timeline_left/alternate tail&content 2019-08-05 19:01:42 +08:00
xrkffgg
ea62935044 fix: timeline-content-word-break 2019-08-05 18:07:25 +08:00
afc163
9630410b4e
🐛 Fix noStyle warning
close #18082
2019-08-05 16:54:36 +08:00
afc163
6fe1e41ae9
📝 Improve API Table design 2019-08-05 16:14:32 +08:00
afc163
887aa4c347
📝 antd/lib/xxx => antd/es/xxx 2019-08-05 15:29:26 +08:00
zombieJ
2d7df45ab7 fix: ConfigProvider wrapper locale no need with only children (#18075)
* fix: ConfigProvider wrapper locale no need with only children

* skip react 15
2019-08-05 11:27:32 +08:00
ikobe
13a306fa0e fix: add ta_IN.tsx 2019-08-04 23:43:49 +08:00
afc163
4e57d8a5fe
fix snapshots 2019-08-04 22:45:12 +08:00
ikobe
e97bd6f4ae feat: resolve conflicts 2019-08-04 17:28:25 +08:00
Jinke Li
0240d126ec feat(Upload): add transformFile option for transform file before request (#18009)
* feat: add transformFile optionfor transform file before request

* feat: bump rc-upload 2.7.0

* feat(Upload): optimize doc
2019-08-04 12:18:46 +08:00
信鑫-King
f634855b10 chore: transfer ajax table demo (#18067)
* chore: transfer ajax table demo

* feat: snapshot

* fix: url

* fix: lint

* 📝 FAQ Transfer ajax

* 📝 FAQ Transfer ajax

* 📝 FAQ Transfer ajax

* 📝 FAQ Transfer ajax

* 📝 FAQ
2019-08-04 11:33:32 +08:00
afc163
f9b6358c2d
📝 Fix English express
![](https://user-images.githubusercontent.com/507615/62411622-4d19e300-b628-11e9-8cfd-ec160c5f6b2a.png)
2019-08-03 19:52:37 +08:00
偏右
b1ac12a28a 🐛 Fix Checkbox checked extra space (#18059)
animation end state should be preserved

close #18040
2019-08-02 23:16:45 +08:00
alxkosov
678f8a5c65 feat: menu component customization: create new variables for easy customization (#17273)
* new variable for customize margins and font-size on menu

* vars for icons size for menu items

* var for color of icon selected-item on dark menu

* menu selected item: vars for color text and icon

* var for background on hover item in dark menu

* rename variable

* deleted vars for icon size in menu

* change @menu-item-last-margin to @menu-item-boundary-margin
2019-08-02 22:51:34 +08:00
vagusX
6841e059b7 feat: add waring for props#iconType in component Alert (#18046) 2019-08-02 22:50:11 +08:00
偏右
36db887bec
Merge pull request #17873 from long-zhuge/feature
feat: add Breadcrumb.Separator
2019-08-02 22:48:58 +08:00
afc163
b5e13b2541
📝 Add description for Tree component 2019-08-02 22:48:09 +08:00
陈帅
7b98df8075 fix: better typescript code, use svg components (#18036)
* better typescript code, use svg components

fix #18017

* snapshots updated

* snapshots updated
2019-08-02 21:37:26 +08:00
Kieren
d7e0f70a4e fix typo for form api documentation 2019-08-02 13:50:03 +01:00
啸生
4c23bc2543
Feature (#18049)
Feature
2019-08-02 17:38:50 +08:00
jiang
56309c0ea0 fix: tooltip arrows do not fuse in dark (#17740)
* fix: tooltip arrows do not fuse in dark

* re demo

* fix lint

* re tooltip-distance

* tooltip: use absolute

* Update index.less
2019-08-02 14:10:18 +08:00
kagawagao
b3c2cb4002
feat: use border-radius instead 2019-08-02 14:05:59 +08:00
偏右
41761f6b85
Merge pull request #18034 from chenyizhongx/fix-select-search-box-broken-style
fix: select-search-box broken style
2019-08-02 13:58:29 +08:00
zombieJ
1363a39d7c
fix: Fix statistic font (#18044) 2019-08-02 12:10:09 +08:00
unknown
13e80463b5 change variables 2019-08-02 11:54:15 +08:00
kagawagao
6520e25775
feat: rotate zero width sider trigger in right mode 2019-08-02 11:48:28 +08:00
unknown
09ac5adfa5 fix duplicate selector 2019-08-02 00:28:43 +08:00
unknown
bcab1c180b fix: select-search-box broken style 2019-08-01 23:10:12 +08:00
偏右
60c43168a2
Merge pull request #17858 from Malven/add-swedish-for-text-component
feat: Added swedish translations for `Typography`-components
2019-08-01 14:50:31 +08:00
Malven
69a1c1c1e1 Reverted snapshot changes 2019-08-01 08:25:56 +02:00
chenlong
b91dcd5f79 update breadcrumb/index.zh-CN.md 2019-08-01 11:10:03 +08:00
LilyWakana
9c0dbe2ddf fix: optimize Input presuffix style(#17414) (#17684) 2019-07-31 18:39:58 +08:00
Sivaraj
272b89a7a4 update package.json
- Revert back to version starts with ~ instead of ^
- test snapshots
2019-07-31 12:39:04 +05:30
chenlong
188f408799 Breadcrumb. Separator add description 2019-07-31 15:00:00 +08:00
zx6658
2cb0710ec4 doc: 📖 update table component's selectedRowKeys type 2019-07-31 13:43:02 +09:00
afc163
55fc417fd2 🐛 Fix broken style by #17760
https://github.com/ant-design/ant-design/pull/17760#issuecomment-516341021
2019-07-31 11:48:24 +08:00
afc163
677974c863 🐛 Fix broken style detail of DatePicker by #17983 2019-07-31 11:44:46 +08:00
shao
27e7e33d12 fix review change 2019-07-31 11:12:31 +08:00
chenlong
06e2e1a616 Breadcrumb.Separator checks 2019-07-31 10:47:34 +08:00
shao
f0726014c3 fix(Form.Item): fix label replace regexp err replace 2019-07-30 20:57:39 +08:00
偏右
2b67ca48e0
Merge pull request #17983 from ant-design/fix-range-picker-active-style
style: optimize RangePicker active cell style
2019-07-30 18:25:18 +08:00
afc163
da741ecf84 💄 optimize RangePicker active cell style
close #17878
close #13567
close #16872
2019-07-30 18:07:08 +08:00
howard
afaa01459f fix: remove a tag in Alert component (#17872)
* remove a tag in Alert component

* 添加 role 属性
2019-07-30 17:29:52 +08:00
oldchicken
5a7a92af46 fix: children of Tabs[type="editable-card"] cannot be falsy (#17965)
* tabs-editable-card-bugfix

if tabs type ="editable-card",if children has falsy value ,we will get error message,so we should fix it in tabs.

error:https://codesandbox.io/s/lively-glade-jmg5s

* editable-card bugfix

* tabs bugfix

* tabs-editable-card bugfix

* tab bugfix

* bugfix

* delete errorfix

* add test
2019-07-30 16:10:14 +08:00
Sivaraj
81540a16a4 Fixed import rc-calendar - ta_IN
Tamil Locale added to rc-calendar
2019-07-30 12:48:00 +05:30
Yangzhedi
6c8c42c3e3 feat(default.less): add table-footer-bg and table-footer-color variable 2019-07-30 15:05:14 +08:00
偏右
7588dda6ed
Merge pull request #17887 from xrkffgg/master
fix: the DatePicker border bug when the chose was century
2019-07-30 13:21:05 +08:00
偏右
fed7fec30b
Merge pull request #17971 from ant-design/fix-tag-tag-name
refactor: Tag should be span than a div semantically
2019-07-30 13:20:54 +08:00
偏右
d31d2c19d9
Merge pull request #17955 from haimrait/master
fix: DatePicker onChange types
2019-07-30 12:35:25 +08:00
偏右
c033c1ea2c
Merge pull request #17969 from ant-design/fix-tabs-extra
fix: Tabs extraContent line-height
2019-07-30 12:33:15 +08:00
偏右
53da51841f
🐛 Remove extra margin right of Table placeholder (#17970)
close #17950
2019-07-30 12:32:57 +08:00
xrkffgg
aa7f5fb776 fix: DatePicker 插件单个使用时,切换时间范围时,出现像素偏差问题。 2019-07-30 12:00:14 +08:00
afc163
4374514252 fix snapshot and test case 2019-07-30 11:58:45 +08:00
zombieJ
b71f2ec4bd
docs: Add faq about form errors (#17968) 2019-07-30 11:50:47 +08:00
afc163
f15c08a898 Tag should be span than a div semantically
close #17963
2019-07-30 11:46:10 +08:00
afc163
65f6ddbe75 🐛 Fix Tabs extraContent line-height
close #17865
2019-07-30 11:41:17 +08:00
david.lv
9b667a877e fix: make timeline component show more comfort under none-white background color (#17959)
* fix(Timeline): timeline在非白色背景色下显示异常

Closes https://github.com/ant-design/ant-design/issues/17927

* fix(Timeline): 反转模式下1px下移

Closes https://github.com/ant-design/ant-design/issues/17927

* fix(Timeline): 微调偏移量,尽可能和原白色背景下的间距相同

Closes https://github.com/ant-design/ant-design/issues/17927

* fix(Timeline): 微调偏移量,尽可能和原白色背景下的间距相同

Closes https://github.com/ant-design/ant-design/issues/17927
2019-07-30 10:54:47 +08:00
xrkffgg
e05347d5ce add decade style 2019-07-30 09:35:51 +08:00
haimrait
37d19cef3f
Fix issue #17949
Fix issue [#17949]
2019-07-29 16:58:38 +03:00
偏右
f41e013ce5
Merge pull request #17760 from chenyizhongx/styleBug
fix: Optimize select with search field style
2019-07-29 21:36:36 +08:00
zombieJ
1f8f4bca2d
fix: Wave perf (#17945) 2019-07-29 16:29:54 +08:00
jiang
d7bbb48fce
unified drawer and modal mask opacity (#17943) 2019-07-29 15:57:05 +08:00
afc163
68d1ec00d4
🐛 Fix small table hover background
close #17922
2019-07-29 14:11:41 +08:00
Sivaraj
4d4e14cc5d Added Tamil Locale
- தமிழ் (செம்மொழி)
2019-07-25 22:01:05 +05:30
zombieJ
24bfcacc38
fix: Upload can not click in Form.Item (#17897) 2019-07-25 23:53:54 +08:00
xrkffgg
3148d9c884
DatePicker:修复当选择条件为世纪时,border 不对齐的样式 bug 2019-07-25 17:07:04 +08:00
chenlong
4a8affe0e0 add Breadcrumb.Separator 2019-07-25 12:02:15 +08:00
unknown
8b533c0635 solve the duplicate of selector 2019-07-25 10:44:07 +08:00
unknown
98bafca7da fix: Optimize select with search field style 2019-07-25 10:44:07 +08:00
afc163
be030d2387 🐛 Fix TimePicker safari render bug
close #17842
2019-07-24 19:28:09 +08:00
Malven
49b469e079 better wording in swedish for copied 2019-07-24 13:13:43 +02:00
Malven
7c5a44f808 added swedish translation for Text-component 2019-07-24 13:11:48 +02:00
偏右
d933e5e9cf
Merge pull request #17846 from ant-design/fix-table-filter-dropdown
fix: table filter dropdown trigger onChange on some situation
2019-07-24 16:28:07 +08:00
afc163
ce7ab240cf 🐛 Fix Table filterDropdown always trigger onChange
close #17833
2019-07-24 16:06:51 +08:00
afc163
22179f3511 💄 code style optimizaiton 2019-07-24 15:40:07 +08:00
zombieJ
bce3696ec0
fix count escape (#17841) 2019-07-24 15:07:10 +08:00
zombieJ
81d8eb8afe
feat: ConfigProvider support locale (#17816)
* ConfigProvider support locale

* update docs

* update category

* clean up

* moving locale

* update check script

* update related code

* add test case

* demo link

* update doc

* hide one rule of md with eslint

* update error link
2019-07-24 10:34:55 +08:00
shao
23c4fa8053 feat(Anchor): add getCurrentAnchor prop jsdoc comment 2019-07-23 19:37:32 +08:00
shao
ab796e60dd Merge remote-tracking branch 'upstream/feature' into feat-anchor-getCurrentAnchor 2019-07-23 18:10:44 +08:00
shao
7c7a19ef1c docs(Anchor): add getCurrentAnchor prop feature version 2019-07-23 17:56:12 +08:00