Commit Graph

761 Commits

Author SHA1 Message Date
afc163
30d60fc05c
style: button focus style should not stay after click (#36902)
:focus => :focus-visible

close #36896
2022-08-05 10:58:07 +08:00
Neil
9989a2d751
add Modal @modal-border-radius less variable (#36527)
* add Modal @modal-border-radius less variable

* fix:  add less variable
2022-07-15 14:50:07 +08:00
Chang Wei
345cbcef0d
style: fix size of close icon on Modal header (#36309)
* fix: update default.less, set the @modal-header-close-size to @modal-header-title-line-height + 2 * @modal-header-padding-vertical to keep the close icon in the center of vertical

Signed-off-by: Chang Wei <changwei1006@gmail.com>

* fix: update variable.less, set the @modal-header-close-size to @modal-header-title-line-height + 2 * @modal-header-padding-vertical to keep the close icon in the center of vertical

Signed-off-by: Chang Wei <changwei1006@gmail.com>

* fix: update compact.less, set the @modal-header-close-size to @modal-header-title-line-height + 2 * @modal-header-padding-vertical to keep the close icon in the center of vertical

Signed-off-by: Chang Wei <changwei1006@gmail.com>
2022-07-06 10:36:04 +08:00
MadCcc
42e030edd9
fix: arrow compatibility (#36266)
* fix: arrow campatibility

* chore: code clean

* chore: rm useless style

* chore: code clean

* fix: use inset

* chore: bundlesize optimization

* chore: rm useless style

* chore: rm useless style
2022-06-30 11:11:01 +08:00
afc163
33400eee8f
chore: reduce css bundle size (#36307) 2022-06-30 10:21:31 +08:00
Christian Lechner
da9324fe63
Fix color generation for grey colors (#35954)
Co-authored-by: afc163 <afc163@gmail.com>
2022-06-09 15:11:15 +08:00
joson
c52f19ac46
style: anchor text is overwritten (#35612)
Co-authored-by: hezhaoshun <hezhaoshun@cmcm.com>
2022-05-18 18:21:22 +08:00
joson
bcc3274260
chore: delete extra spaces (#35582)
Co-authored-by: hezhaoshun <hezhaoshun@cmcm.com>
2022-05-16 21:10:20 +08:00
MadCcc
7873bf7f1c
fix: arrow style (#35401)
* fix: arrow style

* fix: raise arrow z-index

* fix: fix defualt arrow color

* fix: mix shadow

* chore: code clean

* chore: code clean

* fix: use fadeout instead

* test: fix style lint
2022-05-07 12:04:46 +08:00
afc163
9984f0a1e3
style: tweak BreadCrumb link hover color (#35324) 2022-04-29 16:23:42 +08:00
Jefferson Rafael Kozerski
68b2344c7a
fix: code to use @html-selector variable (#35186) 2022-04-23 13:19:02 +08:00
MadCcc
dc4da79638
fix: fixed arrow border radius variables (#35086) 2022-04-19 14:52:55 +08:00
MadCcc
bd6cb95514
fix: arrow radius use fixed value (#34999) 2022-04-13 11:56:04 +08:00
vagusX
ae4e660a05
feat: add new component Segmented (#34319)
* feat: basic implements in antd

* feat: use rc-segmented

* feat: add some demos

* feat: support dark theme

* docs: add more demos

* feat: support `icon` in segmented

* docs: format content

* test: add test cases

* docs: update docs

* chore: update

* fix: lint issues

* style: add border-radius for selected effect

* style: change border-radius-base

* chore: update gitignore

* feat: segmented support block

* chore: update gitignore

* feat: support block

* feat: add test case

* feat: support size

* docs: update demos

* chore: update

* chore: update

* test: update

* style: update colors

* style: hover and focus styles

* doc: add version mark in docs

* fix: style lint issue

* fix: some lint issues

* doc: add version in demo mds

* doc: add version mark before api details

* Revert "doc: add version in demo mds"

This reverts commit 2a9e86f6ffc2331f7d73eae6edac7c889358a838.

* test: only test for thumb appear

* style: update color vars

* style: add transition

* style: text vertial align

* test: update snapshots

* feat: add preview svg and support dark theme

* fix: update test snapshot

* docs: update docs

* fix: remove useless z-index

* build: add 1kb for bundlesize of antd.variable.min.css

Co-authored-by: taian.lta <taian.lta@antgroup.com>
2022-04-11 11:13:16 +08:00
Yunwoo Ji
f5c6379bba
fix: correct className (#34791) 2022-03-30 16:59:17 +08:00
二货机器人
96ddf2e452
chore: more less variables (#34746) 2022-03-28 14:04:15 +08:00
二货机器人
8a3ee71006
chore: add control-radius (#34727) 2022-03-27 00:20:38 +08:00
MadCcc
161f5623d5
fix: fix arrow size in default.less (#34407)
* fix: fix arrow size in default.less

* chore: code clean
2022-03-10 15:31:19 +08:00
github-actions[bot]
faff0ec888
chore: auto merge branchs (#34226)
chore: sync master into feature
2022-02-27 06:28:28 +00:00
qdzhaoxiaodao
1a2ced6874
feat: add variable for aliyun theme of radio (#34194)
Co-authored-by: zhaohonghai <wb-zhh767523@alibaba-inc.com>
2022-02-27 13:52:42 +08:00
qdzhaoxiaodao
2082b3717a
feat: add variable for aliyun theme of divider (#34187)
Co-authored-by: zhaohonghai <wb-zhh767523@alibaba-inc.com>
2022-02-27 13:52:26 +08:00
qdzhaoxiaodao
6c1057724a
feat: add variable for aliyun theme of modal (#34191)
Co-authored-by: zhaohonghai <wb-zhh767523@alibaba-inc.com>
2022-02-27 13:51:58 +08:00
qdzhaoxiaodao
3b0174dbdb
feat: add variable for aliyun theme of dropdown (#34189)
Co-authored-by: zhaohonghai <wb-zhh767523@alibaba-inc.com>
2022-02-27 10:52:50 +08:00
qdzhaoxiaodao
60aaa70069
feat: add variable for aliyun theme of drawer (#34188)
Co-authored-by: zhaohonghai <wb-zhh767523@alibaba-inc.com>
2022-02-27 10:52:21 +08:00
MadCcc
926a8aaf8a
feat: tooltip round arrow (#33710)
* feat: tooltip round arrow

* chore: update demo

* docs: update docs

* feat: rounded arrow in Tooltip/Popover/Popconfirm/Dropdown/RangePicker

* chore: code clean

* fix: fill gap

* chore: code clean

* chore: raise css bundle size

* fix: arrow style

* feat: use full path

* test: update snapshot

* perf: hack firefox

* perf: more magic position

* perf: RangePicker's arrow position

* chore: bump rc-picker version

* fix: arrow position
2022-02-08 09:52:33 +08:00
MadCcc
6b1a48d5ed
revert: Revert "Merge branch 'feature' into master" (#33903)
This reverts commit 40433f357d, reversing
changes made to 27a498e021.
2022-01-30 15:21:41 +08:00
github-actions[bot]
d81ac2d5a9
chore: auto merge branchs (#33823)
chore: sync master into feature
2022-01-24 08:16:00 +00:00
afc163
578aaad7f2 test: fix lint 2022-01-24 11:26:26 +08:00
github-actions[bot]
0c6d1512be
chore: auto merge branchs (#33794)
chore: merge master into feature
2022-01-21 05:32:19 +00:00
afc163
85c96251d3
fix: Tag color in dark theme (#33751)
* docs: update dark theme doc

* fix: dark tag theme
2022-01-19 15:38:48 +08:00
MadCcc
8b4abbb1f5
feat: border color with transparency (#33506)
* feat: border color with transparency

* feat: update progess remain color with rgba(0, 0, 0, 0.06)

* feat: progress remaining color
2022-01-18 18:19:42 +08:00
PlayerWho
e38c9c5106
fix: <Icon component={SyncOutlined} spin /> shake issue. (#33726) 2022-01-14 15:57:24 +08:00
afc163
80e7cc0afd
fix: <Icon component={HomeOutlined} /> align issue (#33709)
* fix: <Icon component={HomeOutlined} /> align issue

close #33703

* update snapshot
2022-01-13 20:32:09 +08:00
afc163
7d0193e945
style: remove svg reset styles (#33579)
see reason: 004d58b2f2

close #33573
2022-01-06 15:01:16 +08:00
二货机器人
b0e7dd5883
refatcor: Move mixins back (#32920) 2021-11-17 22:36:51 +08:00
afc163
2424a1abf1
style: fix placholder color missing (#32915) 2021-11-17 18:46:50 +08:00
二货机器人
899af6761e
fix: Move variable related code to theme file (#32887) 2021-11-16 14:44:33 +08:00
二货机器人
f88bd4d2af
refactor: Move part mixins less to theme instead (#32763)
* refactor: Move theme related variables

* chore: move rest motion

* chore: trigger CI

* chore: steps by steps

* chore: back order

* docs: Update docs
2021-11-05 17:22:41 +08:00
Chang Wei
a09e1ad921
fix: Avoid selecting the placeholder of input control on Chrome browser, keep consistent of selection behavior with Firefox browser (#32639) 2021-10-26 13:33:21 +08:00
renovate[bot]
b6bd4c18b4
chore(deps): update dependency stylelint to v14 (#32609)
* chore(deps): update dependency stylelint to v14

* Update package.json

* fix some stylelint

* fix some stylelint

* fix some stylelint errors

* fix some stylelint errors

* fix some stylelint errors

* fix some stylelint errors

* fix some stylelint errors

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-10-22 13:35:36 +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
二货机器人
e13c4d4131
fix: Less Maximum call stack size exceeded error (#32063)
* chore: create additional entry

* fix: rm recv call

* chore: Add default.less as index.less

* chore: update entry

* fix: row should also translate

* chore: rename index-default to index and add index-pure instead

* fix: missing transfer customize styl
2021-09-07 16:14:20 +08:00
二货机器人
36bcaaef85
Add variable.less to support css variable (#31496)
* chore: use varaible.less

* chore: basic primary varaible

* chore: Move to variable

* chore: align active color

* chore: global fix of css variable

* chore: primary colors

* chore: button danger

* chore: btn default error color

* chore: button series

* chore: More examples

* chore: More components

* chore: Form demo

* chore: form style

* fix: Tag & Alert variable

* chore: update footer

* chore: rm tmp code

* chore: transfer

* fix: picker column active color

* chore: Adjust active bg color

* chore: table hover color

* chore: all css variables

* chore: Global using variables

* chore: Test case

* chore: Update test logic

* chore: back of default less

* chore: entry of site use proxy style

* chore: update entry

* chore: split of variables

* refactor: quick dist speed

* fix: site use variable version

* chore: Update less config

* chore: add mv script

* chore: Update repalcement script

* chore: Add inject variables

* chore: Update script

* fix: script path

* chore: Move to component instead

* chore: fix condition

* chore: update config

* chore: Update in less transform

* chore: Modify logic

* chore: change to variables

* chore: Update name

* fix: script name

* chore: do inject

* revert: back of path

* chore: 2 way of generate

* bump tools

* chore: Add auto replacement script

* chore: auto genrate less file

* chore: fix test

* test: More test case

* chore: Update limit config

* test: coverage

* docs: Update doc
2021-09-01 10:56:50 +08:00
github-actions[bot]
563ebe1982
chore: auto merge branchs (#31454)
chore: merge master into feature
2021-07-20 07:32:16 +00:00
afc163
c1d52d3b9b
fix: Table sticky header background (#31373)
close #31362
2021-07-13 12:03:19 +08:00
afc163
c6130c13b9
Merge pull request #31359 from ant-design/master-to-merge-feature
chore: sync master into feature
2021-07-12 19:56:54 +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
afc163
ce54e04452
fix: DatePicker disabled cell style when customize dateRender (#31349)
close #31248
2021-07-12 12:12:07 +08:00
Map1en_
3bd725c79e
fix(Pagination): make the pattern of disabled-active buttons from pagination and that of radio consistent (#31185)
close #31103
2021-06-29 17:37:35 +08:00
afc163
ea2545fbc7
fix: Dropdown/DatePicker/Select/Cascader animation direction (#30892)
* fix: DatePicker/Select/Cascader/Select animation direction

close #30889

* fix modal

* fix message
2021-06-07 16:30:40 +08:00