Commit Graph

142 Commits

Author SHA1 Message Date
二货机器人
80bf60c717
chore: Add GenerateStyle ts def (#34429)
* chore: Alert with types

* chore: rest component

* chore: more

* chore: fix lint
2022-03-11 14:29:29 +08:00
二货机器人
43eaa357b4
chore: cssinjs hashed as default (#34272)
* checkbox hashId support

* chore: tree hashed

* chore: fix lint

* fix: compile
2022-03-03 14:55:19 +08:00
二货机器人
989a27ada8
refactor: tree support cssinjs (#34258)
* chore: part of tree

* chore: tree cssinjs

* chore: fix lint

* refactor: RTL support

* fix: checkbox hover logic

* chore: rtl use same style

* fix: check style priority
2022-03-02 20:32:25 +08:00
二货机器人
20ae690b14
refactor: Cssinjs checkbox (#34247)
* refactor: Checkbox support cssinjs

* chore: clean up

* chore: clean up
2022-03-01 21:12:00 +08:00
王浩
6dd39c1f89
fix(checkbox): disabled checkbox should works well with tooltip (#33772)
Co-authored-by: wanghao <wanghao.wong@bytedance.com>
2022-01-20 19:23:14 +08:00
dependabot[bot]
b445baa001
chore(deps-dev): bump stylelint-config-prettier from 8.0.2 to 9.0.2 (#32451)
* chore(deps-dev): bump stylelint-config-prettier from 8.0.2 to 9.0.2

Bumps [stylelint-config-prettier](https://github.com/prettier/stylelint-config-prettier) from 8.0.2 to 9.0.2.
- [Release notes](https://github.com/prettier/stylelint-config-prettier/releases)
- [Commits](https://github.com/prettier/stylelint-config-prettier/compare/v8.0.2...v9.0.2)

---
updated-dependencies:
- dependency-name: stylelint-config-prettier
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: autofix stylelint errors

* chore: autofix stylelint errors

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-10-13 15:38:59 +08:00
afc163
b56f6110fa merge feature into master 2021-08-16 14:42:04 +08:00
afc163
7f61e62044
fix: Checkbox not aligned center in group (#31726)
close #31724
2021-08-09 16:58:49 +08:00
Gherciu Gheorghe
994c9d9d4e
feat: add the posibility to controll the checkbox border radius using a separate less variable (#31360) 2021-07-12 19:50:13 +08:00
二货机器人
7c2c49316b
fix: checkbox & radio in flex align (#30260)
* fix: checkbox & radio in flex align

* rm only md

* docs: Update doc

* test: Update snapshot
2021-04-22 20:15:23 +08:00
afc163
99289a0856
style: better Checkbox/Radio label text layout (#29788)
* style: optimize checkbox label text layout

* style: optimize radio label text layout

* fix transfer checkbox position

* fix checkbox align issue in Transfer

* fix snapshot
2021-03-17 14:56:32 +08:00
Chan Qin Liang
263d8ec8e8
Include parenthesis on mixin calls to support less 4.0.0 (#28465) 2020-12-22 11:08:12 +08:00
xrkffgg
7450c3fd8d
style: fix rtl.less missing variable (#25088) 2020-06-19 10:13:19 +08:00
zefeng
14417f1614
feat(theme): adjust font-size in compact mode (#23135)
* feat(theme): adjust font-size in compact mode

With compact theme mode, we adjust default font-size from 14px to 12px.

Closes #23015

* patch: update docs min font-size

* patch

* patch

* patch

* patch

* patch

* patch
2020-04-28 11:16:01 +08:00
xrkffgg
e652eef04c
style: add rtl base (#22857)
* style: add rtl base

* fix: add test snap
2020-04-09 12:39:10 +08:00
xrkffgg
d497c11155
style: optimize slider inner (#22627) 2020-03-26 15:14:17 +08:00
xrkffgg
7f4c7b5978
style: fix rtl.less place and name (#22384) 2020-03-19 12:13:24 +08:00
xrkffgg
b032344d81
style: add checkout grop RTL (#22186)
* style: add checkout grop RTL

* style: add rtl.less

* fix: add test

* fix: add group test

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: 偏右 <afc163@gmail.com>
2020-03-13 15:09:40 +08:00
信鑫-King
c17b40ae70
fix: dark background in different container (#21299)
* fix: comment and input

* fix: add @pagination-item-input-bg

* feat: add @list-customize-card-bg for dark hook component

* feat: add dark hook

* fix: checkbox color

* fix: popover-customize-border-color

* fix: table

* fix: style lint

* fix: debug

* fix: color

* fix: update colors

* fix: demo

* feat: popover container bg use mixins utils

* fix: less dark

* fix: table bg in dark

* fix: fixed table

* fix: lint

* fix: lint

* feat: add @table-expand-icon-bg

* fix: notification bg

* fix: remove dark.md

* fix: dropdown

* fix: table

* fix: data lint

* fix: style

* fix: dark less style

* fix: @steps-background

* fix: add thead dark style

* fix: unused styles
2020-02-24 22:44:29 +08:00
ycjcl868
90cca72327 feat: add @checkbox-check-bg, @switch-bg 2019-11-29 09:04:38 +00:00
ycjcl868
ffd4371ab5 fix: remove @border-radius-sm 2019-11-15 10:01:35 +08:00
afc163
f8a3da5f4a 🐛 Fix Checkbox not aligned center in some cases
close #16695
close #19450
2019-10-28 15:26:49 +08:00
+v
bf13a34a71 fix: disabled cursor (#19403)
* fix: disabled cursor

* style: fix
2019-10-25 11:37:30 +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
偏右
b1ac12a28a 🐛 Fix Checkbox checked extra space (#18059)
animation end state should be preserved

close #18040
2019-08-02 23:16:45 +08:00
Stanley Thijssen
5a32990874 fix: Styling issue where all spans next to a checkbox wrapper get a padding (#17752)
* fix styling issue

* Added padding for span only when there is a checkbox in front of it
2019-07-20 19:57:52 +08:00
陈帅
0cf07667a5 less variable should be extended 2019-06-05 19:13:25 +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
a2a9831abb
💄 Fix less code style 2019-04-15 11:05:06 +08: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
afc163
a68a1aec63
💄 Tweak checkbox style 2019-01-29 15:39:56 +08:00
afc163
b31e10a458
💄 Tweak Checkbox check align style
close #14271
2019-01-29 15:31:40 +08:00
陈帅
dca9715186 support prettier 2018-12-07 18:27:30 +08:00
frezc
e732bffde3 add checkbox-border-width 2018-11-24 17:39:31 +08:00
afc163
a616f89a1b 🔥 update less code style 2018-11-12 12:02:30 +08:00
afc163
c9e2d8acf6 Fix checkbox of checked style under Table missing in IE
close #12597
2018-10-27 17:35:04 +08:00
afc163
68763b182f Fix Checkbox[checked] indeterminate style
close #12724
2018-10-19 11:12:33 +08:00
afc163
5bef1aa6c2 Fix Checkbox border color collapse inside Table under chrome
https://gw.alipayobjects.com/zos/rmsportal/IfMpUxFpHMcPkgDFsCuH.png
2018-10-08 12:17:03 +08:00
afc163
e610830a1a Fix blurry checkbox style in windows chrome
https://stackoverflow.com/a/50412034/3040605

close #11797
2018-08-20 19:02:48 +08:00
afc163
9555626898 tweak indeterminate checkbox design 2018-08-16 17:43:00 +08:00
zombieJ
a825ed4e66
Directory Tree (#10139)
Support DirTree. close #7749
2018-06-04 11:20:17 +08:00
afc163
7c4f6e8b2a fix: Revert checkbox z-index
fix #10480

ref #10452

reverted for #10385
2018-05-18 15:36:54 +08:00
afc163
d93cfdef09 clean up unnecessary z-index
close #9840

close #10385
2018-05-06 21:50:50 +08:00
George Gray
a9abe14122 Vars for checkbox and radio (#9003)
* vars for radio component

* add @checkbox-color var
2018-01-18 10:22:03 +08:00
afc163
5241497642 Fix Checkbox.Group align issue in Form
close #8739

also fix style prop of Checkbox.Group
2017-12-27 10:18:48 +08:00
afc163
31132d1b5b Tweak checkbox margin 2017-10-17 15:01:21 +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
2ebf70013b Merge branch 'master' into antd-3.0 2017-09-25 20:03:40 +08:00
afc163
463a5db9ba Fix transfer checkbox padding 2017-09-25 20:03:04 +08:00
afc163
6507aefd8e Merge branch 'master' into antd-3.0 2017-09-25 10:54:49 +08:00
afc163
df1b1f5a47 Add @checkbox-size, close #7368 2017-09-23 18:18:47 +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
afc163
acc4061eeb Tweak align problems 2017-09-21 18:13:36 +08:00
Benjy Cui
070b2696ba chore: remove hacks for IE8-, close: #7447 (#7512) 2017-09-08 13:08:46 +08:00
afc163
6a17efcbf1 upgrade some devDeps and fix stylelint 2017-08-04 18:01:40 +08:00
afc163
4d5eb5a92f Fix indeterminate checkbox disabled style 2017-07-28 13:10:02 +08:00
afc163
eccaeaea0e Add click animation for checkbox and radio 2017-07-02 19:14:56 +08:00
afc163
b0aef6cad5 Fix Tree and TreeSelect disabled style, close #6320 2017-06-01 16:54:47 +08:00
Graeme Yeates
5841746ec9 Decompose @background-color-base into several variables 2017-04-28 16:04:41 -04:00
Graeme Yeates
ede77a8aa7 Consistently use @background-color-base for disabled states 2017-04-28 15:43:02 -04:00
afc163
45e7c86067 Fix Checkbox and Radio disabled cursor, close #5935 2017-04-27 20:58:46 +08:00
afc163
4a20dfcf2f Fix checkbox hover border color 2017-03-29 11:24:35 +08:00
afc163
696a3c0e34 fix Checkbox and Radio text alignment with form label, close #5276 2017-03-13 12:43:33 +08:00
Benjy Cui
dd86e33283 deps: upgrade rc-checkbox to fix #2744 2017-02-28 11:38:54 +08:00
afc163
d8fb282088 Adjust checkbox and radio vertical, close #5001 2017-02-22 21:22:42 +08:00
偏右
75a4b06e44 Unified border radius, close #4772 (#4773) 2017-02-08 14:21:29 +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
偏右
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
flashback313
63dadc1efa css: Flashback313 fix checkbox style (#3980)
* Update mixin.less

* fix left2right
2016-11-23 17:47:15 +08:00
afc163
563f8120cd fix Checkbox border 2016-11-09 20:38:57 +08:00
afc163
2d0f532f73 Improve checkbox and radio style (ref #3590) 2016-11-08 21:42:46 +08:00
afc163
9b81fe86d9 clear less variables and add @text-color-secondary 2016-11-08 20:48:03 +08:00
afc163
002f3f5127 Fix Radio[disabled] style and add label-hovering style, close #3590 2016-11-01 00:54:47 +08:00
偏右
354759cb17 Redesigned icons (#3041)
* redesigned icons

* change iconfont content

* use same icons

* fix missing icons

* improve icon size
2016-09-18 09:54: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
afc163
da6b65f7f0 Merge 1.x-stable 2016-08-12 14:47:01 +08:00
afc163
cd98aab871 Fix transfer list item overflow style, close #2674 2016-08-10 17:46:36 +08:00
afc163
0eeca99f02 Merge 1.x-stable 2016-07-26 22:20:33 +08:00
afc163
ca57794ae7 better implement for a2804cb 2016-07-25 14:03:56 +08:00
afc163
ef4c1a4749 Merge branch '1.x-stable' 2016-06-27 17:58:16 +08:00
afc163
f31e4b6186 Fix checkbox margin 2016-06-27 14:52:46 +08:00
afc163
cc4cab5b1e Merge 1.x-stable 2016-06-23 23:11:14 +08:00
afc163
230016825e Merge branch '1.x-stable' of github.com:ant-design/ant-design into 1.x-stable 2016-06-23 12:32:24 +08:00
afc163
3310f59d20 Fix Checkbox check rotate in IE8, close #2148 2016-06-23 12:30:45 +08:00
ddcat1115
618bea689d fix #2114 (#2146) 2016-06-23 11:15:24 +08:00
afc163
695c26c859 Merge 1.x-stable 2016-06-22 22:56:55 +08:00
afc163
3cf0a59916 Better default margin for Checkbox & Radio, close #2137 2016-06-22 18:08:52 +08:00
yiminghe
9a0d751f94 refactor to typescript 2016-06-22 13:19:48 +08:00
Leon Shi
48317ad261 Improve Checkbox style for Transfer custom render 2016-05-18 15:34:18 +08:00
afc163
c66a226004 Fix lesshint problems 2016-04-29 17:03:28 +08:00
yiminghe
1021d62ef6 fix checkbox 2016-04-27 21:47:47 +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