Commit Graph

9761 Commits

Author SHA1 Message Date
shao
90a65d1e57 feat(Anchor): fix add targetOffset prop deme test fail 2019-08-16 17:58:33 +08:00
shao
5e4835363b feat(Anchor): add targetOffset prop demo 2019-08-16 17:58:32 +08:00
shao
a103d21062 feat(Anchor): add targetOffset prop test case 2019-08-16 17:57:41 +08:00
shao
b3537d5c38 docs(Anchor): fix targetOffset prop doc of review change 2019-08-16 17:56:51 +08:00
shao
b02e433226 docs(Anchor): add targetOffset doc 2019-08-16 17:54:12 +08:00
shao
9803ebab34 feat(Anchor): add targetOffset prop 2019-08-16 17:52:41 +08:00
yoyo837
c7e07baff9 The last-child highlight, whether or not it is linkable 2019-08-16 17:19:05 +08:00
偏右
3b0723bff2
Merge pull request #18284 from wendzhue/progress-styles
fix(module:progress): fix progress styles to adapt changes in rc progress
2019-08-16 15:52:47 +08:00
偏右
4e26107a4e
Merge pull request #17823 from shaodahong/feat-anchor-getCurrentAnchor
feat(Anchor): add getCurrentAnchor prop
2019-08-16 15:00:44 +08:00
陈帅
b133c4a2c4
style: descriptions style update (#18270)
* padding bottom support size

* add toc readme

* add demo

* fix lint

* snapshot updated
2019-08-16 10:01:46 +08:00
Phyllis
ea6bf51816 add style to CheckableTagProps (#18300) 2019-08-15 23:43:25 +08:00
zombieJ
fd284ecc47
fix: ResizeObserver should ignore shaking (#18289)
* fix: ResizeObserver should ignore shaking

* fix lint

* fix domHook
2019-08-15 15:52:36 +08:00
GalenWong
be931ac6bf Update okText documentation for PopConfirm 2019-08-15 15:25:49 +08:00
vagusX
ab9d8589a3 feat: use warning from rc-util (#18287) 2019-08-15 15:08:53 +08:00
偏右
2c63305c2d
Merge pull request #18282 from lidianhao123/fix-ts1259
fix: ts compile error with import React fix-ts-1259
2019-08-15 11:57:55 +08:00
dian.li
dd7e0c54ef chore: disable eslint rule 2019-08-15 11:12:56 +08:00
Wendell
2eb3d22ccc 🐛 fix progress gradient 2019-08-15 10:30:18 +08:00
dian.li
3e1560d753 fix: import multiple times 2019-08-15 09:47:04 +08:00
dian.li
882f343e10 fix: ts compile error with import React fix-ts-1259 2019-08-15 09:28:15 +08:00
Omar López
76a30f0294
[FIX] Allos to override the autocomplete prop in Cascader
Regarding [my comment on this issue](https://github.com/ant-design/ant-design/issues/15875#issuecomment-521373139). This will allow me to fix [Chrome's autofill bug](https://bugs.chromium.org/p/chromium/issues/detail?id=370363#c7).
2019-08-14 13:18:12 -06:00
偏右
19fc777351
Merge pull request #18274 from ant-design/master
Merge master into feature
2019-08-14 21:44:20 +08:00
afc163
00375c2c5e fix eslint 2019-08-14 19:38:01 +08:00
afc163
6cd8f2bc3c fix unsafe link href 2019-08-14 19:36:59 +08:00
afc163
9e4a36de61 🔨 Use new lifecycle methods for Table
ref #9792
2019-08-14 19:31:16 +08:00
偏右
8ae479d916
Merge pull request #18268 from ant-design/improve-lint
chore: 💄 eslint for all files!
2019-08-14 19:02:47 +08:00
afc163
28130501fc fix snapshot 2019-08-14 18:30:15 +08:00
afc163
760853e239 💄 eslint for all 2019-08-14 18:21:24 +08:00
zombieJ
74eda7e705
docs: Fix ConfigProvider demo (#18265)
* docs: Fix ConfigProvider in cn not working

* Use antd pro

* update docs
2019-08-14 18:19:55 +08:00
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