Commit Graph

9632 Commits

Author SHA1 Message Date
vagusX
149729e524
use ant design icons 4.0 (#18217)
* feat: use @ant-design/icons@4.0

* feat: use createFromIconfontCN to make site works

* feat: update doc for Icon

* feat: use icon in component Alert

* feat: use icon in component Avatar

* feat: use icon in component Breadcrumb

* feat: use icon in component Button

* feat: use icon in component Cascader

* feat: use icon in component Collapse

* feat: use icon in component Datepicker

* feat: use icon in component Dropdown

* feat: use icon in component Form

* feat: use icon in component Input

* feat: use icon in component InputNumber

* feat: use icon in component Layout

* feat: use icon in component Mention

* feat: use icon in component Message

* feat: use icon in component Modal

* feat: use icon in component Notification

* feat: use icon in component PageHeader

* feat: use icon in component Pagination

* feat: use icon in component Popconfirm

* feat: use icon in component Progress

* feat: use icon in component Rate

* feat: use icon in component Result

* feat: use icon in component Select

* feat: use icon in component Step

* feat: use icon in component Switch

* feat: use icon in component Table

* feat: use icon in component Tab

* feat: use icon in component Tag

* feat: handle rest component which using Icon

* fix: remove unused vars

* feat: use latest alpha ant design icons

* fix: failed test in uploadlist.test.js

* test: update snapshot for icons

* doc: add Icon for site

* doc: use @ant-design/icons in site

* chore: use latest icons

* fix: tslint issue

* fix: test cases

* fix: types for react

* fix: lint rules for import orders

* fix: use @ant-design/icons@4.0.0-alpha.5 to avoid insert css in server render

* fix: eslint error in demo/**.md

* inject antd icons

* update snapshot

* fix site

* doc: update docs

* fix: code snippets icon in site

* feat: use latest @ant-design/icons

* fix: icon props in message
2019-08-13 14:07:17 +08:00
zombiej
2d7059cd51 Merge remote-tracking branch 'origin/master' into 4.0-prepare 2019-08-12 17:13:46 +08:00
jljsj
729113d196 fix modal test #18215 2019-08-12 15:39:05 +08:00
zombiej
1cb346573c merge master 2019-08-12 13:34:23 +08:00
zombieJ
8114516496
feat: Tree support virtual scroll (#18172)
* update tree deps

* add part of style

* flex grid

* update disabled

* update demo

* second demo

* add draggable style

* update demo

* update rc-tree version

* temp md

* update tree deps

* update icon demo

* update style

* update less

* update deps

* clean up

* update test case

* fix show line

* update snapshot

* fix lint

* update style

* update deps
2019-08-12 13:22:36 +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
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
偏右
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
zombiej
b30dc1c3bc merge master 2019-08-06 17:46:53 +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