Commit Graph

719 Commits

Author SHA1 Message Date
二货机器人
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
偏右
16ecb15be1
Merge pull request #28894 from ant-design/master
chore: merge master into feature
2021-01-18 09:55:46 +08:00
xrkffgg
dd62098beb
style: add @table-border-color (#28903) 2021-01-18 09:34:22 +08:00
二货机器人
1ca28baa5c
chore: Add light menu background color (#28842)
* chore: Add light menu background color

* fix lint

* rename
2021-01-15 17:29:33 +08:00
zombiej
99d5451dba chore: merge master 2020-12-26 23:11:46 +08:00
偏右
0223e2ed5a
chore(🆙): upgrade less to 4.0.0 (#28466)
* chore(🆙): upgrade less to 4.0.0

* chore(🆙): upgrade bisheng to 3.0.0

* fix for less 4.0

* fix for less 4.0

* fix for less 4.0

* fix for less 4.0

* fix for less 4.0

* fix for less 4.0

* fix for less 4.0

* fix for less 4.0

* fix for less 4.0

* fix for less 4.0

* fix for less 4.0

* fix for less 4.0

* fix for less 4.0

* fix progress font size
2020-12-25 14:31:44 +08:00
chequerNoel
725244ee35
fix: Typo steps-desciption-max-width to steps-description-max-width (#28499) 2020-12-23 22:48:40 +08:00
偏右
474dce90dc
Merge pull request #28273 from ant-design/master
chore: merge master into feature
2020-12-09 17:54:36 +08:00
dependabot[bot]
775d1800bb
chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0 (#28253)
* chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0

Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 6.15.0 to 7.0.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.15.0...v7.0.0)

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

* chore: fix eslint style

* chore: prettier code style

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2020-12-09 17:12:32 +08:00
二货机器人
9cd4fab604
feat: Image add preview style (#28235)
* feat: Add preview mask

* feat: Preview support locale

* test: Update snapshot

* fix lint

* fix lint
2020-12-07 17:08:48 +08:00
二货机器人
6fcebabd8b
Merge pull request #27738 from ant-design/feature
chore: merge feature into master
2020-11-30 16:17:12 +08:00
二货机器人
2b22743a9a
chore: Narrow selection width (#28073)
* chore: Narrow selection width

* chore: Adjust rtl style
2020-11-30 16:14:44 +08:00
骗你是小猫咪
18c6d6fedb
feat: Image add PreviewGroup component to support multiple images preview (#28069)
* feat: Image add PreviewGroup component to support multiple images preview

* demo and PreviewGroup type

* add demo snapshot
2020-11-30 15:54:54 +08:00
jesse
4b3aa350b8
feat: Add action in Alert and replace with flexbox layout (#25892)
* feat: Add action in Alert and replace with flexbox layout

* update

* update test

* doc

* Revert "update"

This reverts commit aef6e135a757341becdb01082238d48f7648ec5e.

* Update index.less

* Update index.less

* update test

* Update index.test.tsx.snap

* @alert-closable-padding-right

* Update index.less

* correct top of icon

* correct top of close icon

* fix @alert-closable-padding-right

* update

* doc

* Update components/alert/demo/action.md

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

* Remove duplicate css

* Simplify styles of close-icon

* font size of close icon

* update test

* update test

* Remove unused less var

Co-authored-by: 偏右 <afc163@gmail.com>
2020-11-30 11:04:56 +08:00
xrkffgg
9db881ce91
refactor: improve mixins modal-mask (#27998) 2020-11-25 19:19:43 +08:00
兼续
310c16bf06 feat: change statistic deciaml font size 2020-11-19 19:07:53 +08:00
偏右
6836414300
style(💄): optimize Skeleton color (#27836)
* style(💄): optimize Skeleton color

* Update package.json
2020-11-18 18:07:49 +08:00
偏右
fa7cb53239
chore: update comment about break point
close https://github.com/ant-design/ant-design/issues/27843
2020-11-18 14:28:52 +08:00
xrkffgg
9c009f9bdb
style: add @radio-border-width (#27703) 2020-11-11 23:44:49 +08:00
tangjinzhou
d2206eb132
perf: Optimize menu animation (#27632)
体感好一些
2020-11-08 13:28:13 +08:00
Tom Xu
b5dc079228
chore: improve code style (#27266) 2020-10-21 10:35:06 +08:00
偏右
18c4b085ba
style: 💄 fix Pickers wrong animation direction (#27101)
* style: fix Pickers wrong animation direction

* style: reduce css bundle size
2020-10-12 15:50:02 +08:00
偏右
a9953640f9
style: 💄 fix TimePicker column align (#26784)
add `@picker-time-panel-column-width` and `@picker-time-panel-column-height`

close #26781
2020-09-17 12:54:05 +08:00
二货机器人
c58135fd46
fix: Align motion match (#26628)
* fix: Align motion match

* bump rc-motion

* lock rc-trigger version

* update snapshot
2020-09-08 11:34:29 +08:00
zombiej
5a3bceea28 merge origin master 2020-08-22 22:09:07 +08:00
骗你是小猫咪
e3ee4e87aa
feat: 🎉 Image component (#26296)
* feat: 🎉 Image component

* fix color

* fix style naming and sort api doc order

* remove onPreviewClose doc

* use animation-duration var

* use box and modal-mask mixins

* use box and modal-mask mixins

* improve style

* improve fallback demo src

* add cover

* improve demo

* update demo snapshots

* upgrade rc-image, naming Random -> Reload

* extract modal mask common style, and improve demo

* update snapshots

* fix less var conflict

* upgrade rc-image, adjust maxSize with dark.min.css, improve placeholder demo desc
2020-08-22 22:02:20 +08:00
llwslc
06b7a7aed9
fix: Set site h tag style in dark mode (#26332)
* add site h tag color

* #000 -> @black

* empty demo h3 -> h4
2020-08-22 15:24:44 +08:00
偏右
e17e82f549
Merge pull request #26243 from ant-design/master
chore: merge master into feature
2020-08-17 22:23:07 +08:00
Albert Mañosa
65ba33e1ab
fix: Pagination font family (#26230)
* fix: Change @pagination-font-family value

* fix: Add explicit font-family to item-ellipsis
2020-08-17 10:31:20 +08:00
偏右
7d500703d7 feat: 💄 Add @badge-color (#26159) 2020-08-12 15:04:46 +08:00