Commit Graph

47 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
afc163
b780070351
💄 prittier all files 2019-05-07 14:57:32 +08:00
afc163
009ed08580 upgrade eslint-config-airbnb 2018-06-27 16:09:58 +08:00
afc163
dc7d9de4cd revert demo code 2018-02-08 15:52:24 +08:00
afc163
70f3afeda0 Fix ButtonGroup style bug when have disabled button, close #9296 2018-02-08 15:51:53 +08:00
afc163
6577616be2 fix demo 2018-02-08 14:26:33 +08:00
afc163
875024cd1e update onRow usage 2018-02-08 14:25:49 +08:00
afc163
ac96bad478 Improve demo details and update snapshot 2017-11-06 21:14:40 +08:00
Benjy Cui
200b88246f docs: update docs format 2017-02-13 10:55:53 +08:00
afc163
0eb5c689a3 remove type="ghost" from demo 2017-02-04 22:35:33 +08:00
偏右
f850993fda More types of Button (#4679)
* Add Button[ghost] property, close #4625

* Add danger button

close #1308

* update API doc about ghost and danger property
2017-01-23 22:24:36 +08:00
Benjy Cui
3e17551b7e site: improve build speed 2017-01-19 15:22:53 +08:00
Benjy Cui
f3ffae9e54 css: fix icon size in button, close: #4023 (#4080)
* css: fix icon size in button, close: #4023

* test: update snapshot for Button demo
2016-12-02 15:06:59 +08:00
Benjy Cui
be2bac4b25 site: resolve rebase errors 2016-05-16 15:41:55 +08:00
Benjy Cui
d2a4dcf1eb docs: hide style 2016-05-16 15:41:55 +08:00
Benjy Cui
5909438ed3 docs: update translation 2016-05-16 15:41:55 +08:00
Benjy Cui
2fe4a49182 docs: translate the documentation of Button to English 2016-05-16 15:41:55 +08:00
afc163
03cb74ead5 upgrade eslint-config-airbnb version and fix some problems 2016-04-29 12:13:27 +08:00
afc163
611665fa6d button contains icon only should has smaller padding 2016-04-06 15:43:50 +08:00
afc163
5b1ccce554 fix button demo 2016-04-05 19:33:26 +08:00
Benjy Cui
df3ba36720 docs: remove useless newline in documentation 2016-04-01 10:08:19 +08:00
afc163
d75c0d0b24 Merge pull request #1307 from ant-design/docs-format
Update docs format
2016-03-31 15:48:38 +08:00
afc163
9f342a0568 update button group demo 2016-03-31 14:55:12 +08:00
Benjy Cui
03d09b66e8 docs: update demo format 2016-03-31 09:40:55 +08:00
afc163
72db02ef04 Add icon prop for Button, close #1199 2016-03-25 18:13:51 +08:00
afc163
78d3653620 update button group demo 2016-01-28 14:23:09 +08:00
afc163
fcbd6015bd fix button-group disable button border, close #926 2016-01-25 21:06:32 +08:00
afc163
91bd7f22c0 use mountNode replace the long getElementById 2015-12-29 12:08:58 +08:00
Benjy Cui
5fd6999866 feat: make Button easy to use 2015-11-03 14:25:36 +08:00
afc163
25368de60b update button demo style 2015-10-30 17:04:22 +08:00
afc163
753c01ae18 ES6 syntax for demo code
fix antd.notification
2015-10-28 20:55:49 +08:00
afc163
415fa383e3 unify all size prop to: large default small 2015-10-22 21:01:52 +08:00
yiminghe
76b0f673ec beta2 2015-10-20 16:47:55 +08:00
afc163
93c181677a Merge branch develop-0.10.0 2015-10-06 12:55:01 +08:00
Benjy Cui
2f771b0482 feat: button should be a component 2015-10-05 15:19:07 +08:00
elrrrrrrr
bcc4265201 chore: 迁移 button iconfont
- 手动加上 margin-right 8px
2015-10-02 15:04:28 +08:00
afc163
3a3233111e update button demos 2015-06-17 21:29:58 +08:00
simaQ
5294fd6b82 update button page 2015-06-17 18:22:20 +08:00
simaQ
6ade8a5a82 tiny correction for buttons 2015-06-15 22:14:15 +08:00
simaQ
c6a2901bc3 update the style of button page 2015-06-15 19:33:39 +08:00
simaQ
b3d5e31d26 optimize button 2015-06-11 17:20:24 +08:00
simaQ
b95b3b3386 rename some icons 2015-06-11 09:17:02 +08:00
simaQ
656d0ca2e8 adjust button page style 2015-06-09 15:21:07 +08:00
simaQ
2897bedc18 update button page 2015-06-09 12:05:59 +08:00
afc163
c29f0214b5 button-group style fix 2015-06-08 12:32:09 +08:00
simaQ
61b4dddae9 update buttons 2015-06-07 14:03:00 +08:00
simaQ
d6a5d43225 add the introduction of iconfont and button 2015-06-05 20:26:41 +08:00