Commit Graph

748 Commits

Author SHA1 Message Date
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
renzhao1113
b06612b00b
fix: remove asterisk selector from file base.less (#30660) 2021-05-31 19:27:00 +08:00
二货机器人
feeebdc1e5
fix: Menu overflow measure style (#30672)
* fix: Menu overflow checker

* docs: Fix site style

* test: Update snapshot

* fix: dark menu hover style
2021-05-25 17:24:18 +08:00
afc163
082f626a3e
style: redesign Table header action (#30651)
* feat: improve Table filter and sorter position

* fix: edge cases of th border

* fix lint

* style: apply new design

* fix css detail

* fix stylelint

* fix css error

* style: sorter icon hover color

* fix test cases

* update snapshot

* fix th padding

* fix calc

* style: fix dark theme
2021-05-24 22:16:06 +08:00
Liu Bowen
563745694d
fix: style normalization for th element (#30399)
* fix: th shouldn't normalized by global style

resolve #30398

* fix: remove th normalization from table rules
2021-05-11 22:35:11 +08:00
二货机器人
60d2694a07
chore: Remove useless anchor-bg (#30336) 2021-04-28 11:00:22 +08:00
afc163
bf350d6519
fix: link Button cursor style (#30197)
close #30043
2021-04-18 21:31:14 +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
jinchaofs
2c262dd3ec
fix: Tabs centered property invalid (#29495)
close https://github.com/ant-design/ant-design/issues/29482

Co-authored-by: jinchao.li <jinchao.li@cyclone-robotics.com>
2021-03-12 15:36:46 +08:00
afc163
7f7dd1470d
fix: small Steps icon 1px bug (#29484) 2021-02-25 16:44:21 +08:00
叶枫
6e89866694
feat: 动画样式添加 prefix (#29268)
* feat: add prefix

* fix: 剩余

* fix: test

* fix: test

* fix: test

* fix: test

* fix: 传了 name 则使用传的

* fix: pop 添加 prefix

* fix: Ok OK ?

* fix: modal confirm

* fix: select

* fix: test
2021-02-08 17:09:13 +08:00
Yuxuan Huo
dce3ce7fb2
style: add @progress-info-text-color (#28981)
* fix(Progress): progress text color uses @progress-text-color

* change variables name

* no breaking change variable name

* Update components/style/themes/default.less

Co-authored-by: afc163 <afc163@gmail.com>

Co-authored-by: 陈帅 <qixian.cs@outlook.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-02-02 12:07:31 +08:00
afc163
e6b4708f04 resolve merge confilct 2021-01-24 17:55:57 +08:00
Yuxuan Huo
7f50e3fe3e
fix(drawer): footer horizontal padding use theme variable (#28975) 2021-01-21 23:13:14 +08:00