Commit Graph

283 Commits

Author SHA1 Message Date
ycjcl868
0903e3924c fix: button dark hover,active 2019-12-31 15:12:18 +08:00
ycjcl868
7c3beabd4c fix: button ghost color 2019-12-27 10:16:02 +08:00
zombiej
9e8ce489e9 merge master 2019-12-25 19:09:17 +08:00
骗你是小猫咪
0b0fd9a62c refactor(Button): Back to inline-block (#20440) 2019-12-25 17:08:34 +08:00
骗你是小猫咪
5b29913174
refactor(Button): base style use flex (#20300)
* improvement(Button): base style use flex

* remove unnecessary style

* add vertical-align

* fix style lint order

* remove vertical-align and improve global line-height

* change line-height-base

* update form debug demo
2019-12-21 22:01:47 +08:00
ycjcl868
e15b9c5f37 fix: dark button color 2019-12-04 20:14:28 +08:00
偏右
43bf7965de
🐛 Fix Button text not align center in Chrome (#20059)
revert solution of 05181d552e

close #19972
close #20058
2019-12-03 18:06:07 +08:00
ycjcl868
e2251f515b fix: @theme condition 2019-12-03 15:39:32 +08:00
ycjcl868
5590ba0d4e Merge 4.0-prepare into fix-dark-theme 2019-12-01 22:46:15 +08:00
ycjcl868
327011da77 feat: @theme dark, default 2019-12-01 22:28:35 +08:00
zombiej
d76283f2b9 merge master 2019-12-01 21:46:17 +08:00
ycjcl868
b6b788b2e0 fix: stylelint fix 2019-11-29 09:04:39 +00:00
ycjcl868
09c00720b8 feat: add btn-default-ghost 2019-11-29 09:04:38 +00:00
ycjcl868
864ccc436e fix: button danger link 2019-11-29 15:09:17 +08:00
骗你是小猫咪
6030431121 fix(Button): Button disabled with loading not prevent pointer events (#19958) 2019-11-27 12:41:47 +08:00
ycjcl868
37a85366f3 feat: add Button danger 2019-11-25 07:02:24 +00:00
ycjcl868
3a6c76ecc3 feat: Button add danger-default type 2019-11-25 07:02:24 +00:00
ycjcl868
0e1998f643 feat: Button danger-link 2019-11-25 07:02:24 +00:00
afc163
1d1e197527 🐛 Fix Icon Button align issue
close #19392
2019-10-28 15:26:06 +08:00
afc163
913c5bbc47 🐛 Fix Button.Group large="size" icon only style
close #18993
2019-09-25 14:36:59 +08:00
afc163
9157bc99a9 🐛 Fix round button font size too large 2019-09-06 12:42:50 +08:00
afc163
4d0bd6b7da 🐛 Fix circle button is not circle
close #18509
2019-08-28 12:02:10 +08:00
Qhan W
cde78c8981 修复纯图标按钮在默认形状下不同大小均显示为正方形 (#18458) 2019-08-25 21:04:10 +08:00
Meck Zhu
57833a260f chore: fix css style 2019-08-09 17:16:20 +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
afc163
3c771b3b23 🐛 Fix Button danger style when type is ghost
close #17742
2019-07-19 17:35:04 +08:00
afc163
3a3cf47472 💄 Optimize danger Button design 2019-07-17 17:48:10 +08:00
Meck Zhu
f4095ef5d5 Fix css properties orders 2019-07-15 15:32:08 +08:00
Wei Zhu
5b7c922594 Revert #17508 (#17639)
* Revert "fix: Style property orders"

This reverts commit 54a992c359.

* Revert "fix: optimize Input presuffix style(#17414)"

This reverts commit 9691d2bee1.
2019-07-15 15:04:51 +08:00
诸岳
54a992c359 fix: Style property orders 2019-07-13 16:55:18 +08:00
riho
001384a65b fix: button loading style(#17569) 2019-07-11 20:38:40 +08:00
Harut
b8c5671c88
Just a spelling update
Just a spelling update (fix) for the CSS doc styl to style
2019-05-12 02:29:25 +04:00
afc163
b780070351
💄 prittier all files 2019-05-07 14:57:32 +08:00
陈帅
785c132262
meger feature to master (#16421)
* use ul in list

* update snapshot

* update comment

* feat: TreeSelect support `showSearch` in multiple mode (#15933)

* update rc-tree-select

* typo

* update desc & snapshot

* update desc & snapshot

* check default showSearch

* feat: table customizing variable (#15971)

* feat: added table selected row color variable

* fix: @table-selected-row-color default is inherit

* feat: Upload support customize previewFile (#15984)

* support preview file

* use promise

* dealy load

* use canvas of render

* use domHook of test

* update demo

* add snapshot

* update types

* update testcase

* feat: form customizing variables (#15954)

* fix: added styling form input background-color

* feat: added '@form-warning-input-bg' variable

* feat: added '@form-error-input-bg' variable

* use li wrap with comment

* feat: Support append theme less file with less-variable (#16118)

* add override

* add override support

* update doc

* feat: dropdown support set right icon

* docs: update doc of dropdown component

* style: format dropdown-button.md

* test: update updateSnapshot

* style: format dropdown-button.md

* test: update updateSnapshot

* test: update updateSnapshot

* style: change style of dropdown-button demo

* fix: fix document table order

* feat: Support SkeletonAvatarProps.size accept number (#16078) (#16128)

* chore:update style of demo

* feat: Notification functions accept top, bottom and getContainer as arguments

* drawer: add afterVisibleChange

* rm onVisibleChange

* update

* feat: 🇭🇷 hr_HR locale (#16258)

* Added Croatian locale

* fixed lint error

*  Add test cases for hr_HR

* 📝 update i18n documentation

* feat:  add `htmlFor` in Form.Item (#16278)

* add htmlFor in Form.Item

* update doc

* feat: Button support `link` type (#16289)

close #15892

* feat: Add Timeline.Item.position (#16148) (#16193)

* fix: Timeline.pendingDot interface documentation there is a small problem (#16177)

* feat: Add Timeline.Item.position (#16148)

* doc: add version infomation for Timeline.Item.position

* refactor: Update Tree & TreeSelect deps (#16330)

* use CSSMotion

* update snapshot

* feat: Collapse support `expandIconPosition` (#16365)

* update doc

* support expandIconPosition

* update snapshot

* feat: Breadcrumb  support DropDown (#16315)

* breadcrumbs support drop down menu

* update doc

* add require less

* fix test

* fix md doc

* less code

* fix  style warning

* update snap

* add children render test

* feat: TreeNode support checkable

* feat: add optional to support top and left slick dots (#16186) (#16225)

* add optional to support top and left slick dots

* update carousel snapshot

* Update doc, add placement demo

* update carousel placement demo snapshots

* rename dots placement to position

* update vertical as deprecated

* rename dotsPosition to dotPosition

* refine code

* add warning testcase for vertical

* remove unused warning

* update expression

* Additional test case for dotPosition

* refactor: Upgrade `rc-tree-select` to support pure React motion (#16402)

* upgrade `rc-tree-select`

* update snapshot

* 3.17.0 changelog

* fix warning

* fix review warning
2019-05-06 12:04:39 +08:00
afc163
2737c00633
💄 Fix stylelint problems 2019-04-15 22:44:51 +08:00
afc163
a2a9831abb
💄 Fix less code style 2019-04-15 11:05:06 +08:00
gxvv
9dcde5ab94 💄 Remove the pointer events handler of loading circle button. 2019-04-14 10:09:25 +08:00
Bill Searle
d60f64c040
Add independent variables for btn width and style 2019-03-14 15:00:55 +11:00
米老朱
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
诸岳
307c877a02 Merge master branch 2019-01-13 21:18:38 +08:00
zombieJ
f524b693ed
Button support round shape (#14236)
close #13700
2019-01-10 11:15:43 +08:00
afc163
6f9f29799c 💄 Add less variables for button shadow
close #14172
2019-01-08 10:56:27 +08:00
Junbin Huang
d78c0f2707
Chore/fix master conflict (#14126)
* adjust table fixed column z-index (#14036)

fix #13930

* 📝 Add instruction for one column without width left in fixed table

* Add full PR template link in template (#14061)

* add full tmpl link

* adjust

* simplify it

* add cn link

* Fix Affix flickering when scrolling

* update

* fix: top border disappeared under some ie9

* fix calendar month range display (#14049)

* Fix tslint warning

* Correct typescript usage (#14074)

* 🐛 Fix steps style under IE9

close #14001

* 🐛 tweak style for not affecting vertical steps

* 📝 enhance upload documentation

* Input.Group with TimePicker disappear icon: https://codepen.io/mraiguo/pen/QzvvvE?editors=0010

* 🐛 Fix disabled button style in DatePicker panel

https://user-images.githubusercontent.com/507615/50693143-17505400-1071-11e9-9114-b150bef8f7f6.png

* 📝 site: fix BackTop been covered by footer

close #14093

* Update PULL_REQUEST_TEMPLATE.md

* Update pr_cn.md

* 🐛 Fix nested Timeline last item missing line (#14110)

close #14108

* init Spin should also support delay trigger (#14105)

fix #14100

* Update table docs

* bugfix

* Format

* update snapshot

* test: fix spin test
2019-01-06 13:25:59 +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
Jeffrey Carl Faden
9ff20ba09a Fix primary color usage in .button-variant-other
Instead of using @primary-5 and @primary-7, use colorPalette mixin to modify @btn-primary-bg
2018-12-22 11:05:41 +08:00
陈帅
2c79d2a7c1
Revert "Use less @plugin" (#13613) 2018-12-13 18:07:49 +08:00
zombiej
2029762297 replace components colors 2018-12-11 22:45:03 +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
464286be12
tweak style 2018-11-11 14:22:13 +08:00
afc163
9ba892b02d
💄 tweak button style 2018-11-10 22:21:27 +08:00
afc163
adee2f3329 Fix Button[href] 1px align bug
close #12978
2018-11-06 15:41:50 +08:00
afc163
95ac6bf673 Fix Button[icon] vertical align issue
close #12972

test codesandbox url: https://codesandbox.io/s/2p8k935jjp
2018-11-06 15:05:23 +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
800a7c6acd tweak button design 2018-09-08 13:49:48 +08:00
afc163
318737584a tweak button design 2018-09-08 13:49:02 +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
tangjinzhou
430381f28f fix: ButtonGroup style bug when have disabled button #9296 (#11321)
* fix: ButtonGroup style bug when have disabled button #9296

* Update mixin.less
2018-07-21 22:11:57 +08:00
david.lv
6fe9ca201e Update index.less
spell check 'compatibile'->'compatible'
2018-07-14 23:45:35 +08:00
afc163
71d3af310a Fix missing border in Button.Group
https://gw.alipayobjects.com/zos/rmsportal/hKuBQeoCgjruYXCGnrDt.png
2018-06-08 15:08:04 +08:00
afc163
6602df16e6 Fix extra border style in Button.Group 2018-06-06 11:33:13 +08:00
afc163
cafeb8e3eb fix button group split border color 2018-05-17 21:36:05 +08:00
afc163
caf497d08f Fix underline of Button[href], close #9755 2018-03-23 14:45:08 +08:00
afc163
8b1d0224cb Tweak danger button focus style 2018-03-13 18:20:12 +08:00
afc163
2fe64d429a Fix button group align issue in chrome, close #1019 2018-03-02 15:25:31 +08:00
Ivan Kravets
86ab00fbbd Use default background for button states (#9411) 2018-02-24 22:25:50 +08:00
afc163
70f3afeda0 Fix ButtonGroup style bug when have disabled button, close #9296 2018-02-08 15:51:53 +08:00
George Gray
03c180ff08 Use @btn-primary-bg for primary ghost btn (#9236) 2018-02-02 03:23:14 -06:00
afc163
1d9afb6510 Fix button group z-index, close #9014 2018-01-18 17:22:30 +08: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
afc163
8ba0b87dcd Fix button align in chrome 2017-12-22 16:47:12 +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
偏右
9053192ae9 Fix component style (#7848)
* fix components style

* fix snapshot

* update travis node version

* change upload action in ci
2017-10-11 12:01:27 +08:00
偏右
2bced36f0c New component styles (#7731)
* Tweak button padding

* upgrade input and button size

* update form controls size

* update components size

* Add lemon color and update rate color

* Add new icons

* update layout style

* breadcrumb and dropdown

* update menu arrow width

* update layout and menu

* update steps

* fix var name

* update cascasder style

* Update DatePicker

* update InputNumber and Mention

* radio and switch

* select and transfer

* TimePicker & Upload

* more components

* calendar and list

* Tree Timeline Popover Tag

* divider modal popover

* update search input

* update card style

* update switch disabled opacity

* update shoadow and mask

* Add v2-compatible-reset.less

* Fix undefined className

* update snahshotssssssssssssssssss 👻
2017-09-27 22:32:49 +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
afc163
a0026a5923 Fix dropdown button mis-align, close #7070 2017-08-03 16:16:37 +08:00
afc163
a6037d66c0 Fix button align issue, close #7001 2017-07-30 14:00:32 +08:00
neekey
7e522291c8 add unit px to all less value, make them explicit 2017-07-17 17:44:40 +10:00
ddcat1115
75e9e44a2f new style of danger button (#5815)
* new style for danger button

* improve
2017-04-22 10:44:17 +08:00
afc163
6b1cec2bf6 Use height over padding for button size, close #5256 2017-04-16 19:01:46 +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
Graeme Yeates
1006015ef0 Add border customization variables (#4734)
* Add border customization variables (#4712)

* Make border styles customizable (fixes #4712)
2017-01-31 16:05:10 +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
偏右
d811ebee5c New color system (#4426)
* Add new color patterns algorithm

* Add color palettes

* update other colors

* fix gray color

* update more tint/shade to colorPalette

* new font color

* Update doc for new color system

* improve doc style
2017-01-01 22:20:06 +08:00
Rex
c8a16b10bd fix the blue border in some scenes (#4382) 2016-12-30 14:27:23 +08:00
afc163
0e97fae3f5 fix vertical-align of ButtonGroup 2016-12-03 17:15:06 +08:00
afc163
cf11a4f809 remove button-nested-icon font-size setting 2016-12-03 17:11:28 +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
afc163
9b81fe86d9 clear less variables and add @text-color-secondary 2016-11-08 20:48:03 +08:00
afc163
527949df04 Fix Button and Input vertical-align bug 2016-10-26 16:27:01 +08:00
偏右
62a53e75b8 refactor: Downsize some style code (#3421)
* remove fieldset disabled style

* improve button style mixins
2016-10-14 09:12:10 +08:00
afc163
28765d4811 Fix large and small button's border-radius less vars 2016-10-13 21:12:05 +08:00
afc163
1a9fef5d2a reinforcement button clicked animation 2016-09-28 00:13:00 +08:00
afc163
c0c00fbcd0 Fix strange button style bug in chrome 53, close #3031 2016-09-22 15:47:19 +08:00
afc163
4a756405d4 Add two less variables 2016-09-19 17:42:47 +08:00
马斯特
a25ec29fb8 refactor: 保证所有的tsx和less都正确使用prefix (#3024)
* refactor: extract prefix cls as less variable

* refactor: apply ant icon prefix cls in less files

* refactor: all components support prefixCls props
2016-09-14 16:18:33 +08:00
yiminghe
9a0d751f94 refactor to typescript 2016-06-22 13:19:48 +08:00
afc163
7cb1fb02b8 color fix inside button #1882 2016-05-28 15:47:02 +08:00
afc163
8bd421efc7 fix loading button clicked effect 2016-05-18 13:15:42 +08:00
afc163
e071fc4aa9 Fix disabled button event bubble
close #1541

ref http://stackoverflow.com/a/17877723
2016-04-29 00:43:03 +08:00
afc163
0ca6a1c24a css modularize (#1448)
* css modularize

* Add alert style

* Move more component style

* Move iconfont to common style

* Move layout style

* Move more component style

* Move all components

* Fix lots of mixin deps

* remove css-prefix from less

* fix a button icon style bug

* restructure

* fix index

* add dist

* fix jest

* fix some components style

* clean webpack config

* check more components style

* update tabs

* update scripts

* update scripts

* fix form style

* fix more style

* Fix select width

* Fix form and tabs style
2016-04-27 20:44:36 +08:00