Commit Graph

54 Commits

Author SHA1 Message Date
米老朱
6936599aef Enhance stylelint rules (#14803)
* rename .stylelintrc to .stylelintrc.json for explicit file type

* add new npm script lint-fix:style

* fix pseudo-element with double colon

* function name should be lower except ignored functions

* support stylelint declaration-block-no-ignored-properties rule

* support sorted CSS properties order for readability and consistency

* autofix order of all styles by lint-fix:style script

* remove double slash comments after selector

* replace .stylelintignore with ignoreFiles in .stylelintrc.json
2019-02-15 10:48:07 +08:00
zombieJ
f524b693ed
Button support round shape (#14236)
close #13700
2019-01-10 11:15:43 +08:00
afc163
8b5e78f174
Merge branch 'master' into feature
* master:
  Fixed Modal width when screen size smaller than 768px
  🚨 coverage precision to 1
  🚨 update .codecov.yml
  💄 Fix Badge animation jump when count is ReactNode
  fix Popover arrow narrow line at top
  fix Popover arrow border in different directions
  fix popover arrow top shadow
  Change render of + & - icon fix #13924
  🐛 loose button type propTypes for custom usage
  fix input has min size close #3699
  fix: fix-picture-spell-error
2018-12-26 20:47:12 +08:00
zombiej
15524df941 Change render of + & - icon
fix #13924
2018-12-26 18:48:47 +08:00
afc163
30fe9918d8
Merge branch 'master' into feature
* master:
  📝 Add bodyStyle and style of Drawer in documentation, #13850
  🐛 Fix Drawer style not working
  🐛 fix markStyle affset style
  Update Santa.jsx
  update changelog
  bump 3.11.6
  revert Christmas egg
  [type] make type of components compatible with ComponentType<P>
  bump 3.11.5
   site: make document side bar sticky
2018-12-25 16:28:50 +08:00
zombiej
d648b822a6 revert Christmas egg 2018-12-25 10:40:18 +08:00
陈帅
8e11f0bdb9 merge support prettier 2018-12-07 20:02:01 +08:00
陈帅
dca9715186 support prettier 2018-12-07 18:27:30 +08:00
amedora
0aeb9a356b use color definitions insted of numbers 2018-12-05 19:45:22 +08:00
afc163
0e99b6ea72
💄 fix loading button's icon style
close #13300
2018-11-27 16:01:27 +08:00
afc163
a616f89a1b 🔥 update less code style 2018-11-12 12:02:30 +08:00
afc163
74aeaceaa8
🐛 Fix typo, #12978 2018-11-11 18:52:24 +08:00
afc163
664089ecf6
🚑 Fix Button[href] 1px align bug in another way
revert adee2f3

close #12978
2018-11-11 18:11:19 +08:00
afc163
adee2f3329 Fix Button[href] 1px align bug
close #12978
2018-11-06 15:41:50 +08:00
afc163
546c59a4c1 Fix button icon margin style bug
```jsx
<Button loading>
  <TwoChineseWords />
</Button>
```
2018-10-30 19:13:29 +08:00
dazbo
f24917bb5f Add display rule to fix Edge ignoring pointer-events (#12712) 2018-10-19 11:17:23 +08:00
afc163
86c11e5eb5 Fix vertical align issue of empty button
close #12681
2018-10-17 11:07:25 +08:00
afc163
00aebeb975 add christmas easter egg 2018-09-10 11:23:49 +08:00
afc163
9cf6ae6010 Refactor and apply wave click animation to more components
now support Button, Tag, Radio.Button and switch
2018-08-11 15:14:34 +08:00
afc163
b4d95f7e20 Refactor button click effect implementation
for better perfermance
2018-08-08 16:18:45 +08:00
Ilan
b5ed207902 🚚 fitContainer -> block name conversion 2018-07-31 18:42:12 +08:00
Ilan
623cf1eaff introducing fitContainer prop for button 2018-07-31 18:42:12 +08:00
david.lv
6fe9ca201e Update index.less
spell check 'compatibile'->'compatible'
2018-07-14 23:45:35 +08:00
George Gray
03c180ff08 Use @btn-primary-bg for primary ghost btn (#9236) 2018-02-02 03:23:14 -06:00
afc163
d6d701976f Fix button line-height broken by 455b9e4, close #8836 2018-01-05 21:34:58 +08:00
afc163
455b9e40e0 Remove unneccessary reset style of button 2018-01-04 10:09:13 +08:00
afc163
6959119573 Fix HOC in Button not inserted space bettween chinese words 2018-01-02 16:27:59 +08:00
偏右
250eed0fc9
Link button (#8343)
* support link button

* Fix type
2017-11-29 11:20:22 +08:00
afc163
c0b7bdb9f3 Tweak components style detail 2017-11-27 14:51:46 +08:00
偏右
bdceb5f083
Review fix (#8125)
* Fix style

* Fix style

* fix lint

* Fix more styles

* Fix more styles

* update snap
2017-11-06 21:28:51 +08:00
afc163
274985d320 fix button margin inside 2017-10-17 15:01:21 +08:00
afc163
c9069dfdf6 Merge branch 'master' into antd-3.0 2017-09-23 16:50:14 +08:00
afc163
dd22bae0fc Fix button loading style with icon, close #7709 2017-09-23 16:08:30 +08:00
偏右
759b0bb821 seperate reset styles (#7682)
* seperate reset styles

* not reset ul/ol/p/heading

* revert reset.less idea

* move label style into ant-form-item, #5851

* revert reset.less idea

* update base.less

* Better typography from bootstrap@4

use reboot replace normalize

ref:
b4d84b9cdf/scss/_reboot.scss

close #6162
2017-09-22 18:33:29 +08:00
Benjy Cui
1f652bfe4c fix: event.target of Button's click event, close: #7034 2017-08-16 17:43:56 +08:00
afc163
6a17efcbf1 upgrade some devDeps and fix stylelint 2017-08-04 18:01:40 +08:00
ddcat1115
75e9e44a2f new style of danger button (#5815)
* new style for danger button

* improve
2017-04-22 10:44:17 +08:00
afc163
fbdebd7692 Fix button loading transition 2017-04-15 14:57:20 +08:00
afc163
1083f82c5d Fix icon transtion delay problem in Chrome 2017-04-12 15:30:35 +08:00
afc163
69dff0fa2d Fix danger button ghost style 2017-03-18 16:33:55 +08:00
afc163
a16636cafd Fix Button text shifts when click it 2017-03-05 20:13:54 +08:00
afc163
14d380f0f9 use old button animation 2017-02-26 02:18:20 +08:00
afc163
8dc73f4601 Fix shake bug fo Button loading with icon, close #4913 2017-02-18 00:22:38 +08:00
afc163
49b050ccc1 Improve button and badge[status] with pulse animation 2017-02-16 17:08:15 +08:00
afc163
5327a49161 Fix Button[shape="circle"] loading style, close #4875 2017-02-15 11:55:08 +08:00
afc163
e18a330fbd Fix danger button click effect 2017-02-14 18:01:36 +08:00
afc163
5f8988a266 fix ghost primary button hover border color 2017-01-31 21:27:23 +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
Rex
c8a16b10bd fix the blue border in some scenes (#4382) 2016-12-30 14:27:23 +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