Commit Graph

645 Commits

Author SHA1 Message Date
07akioni
35f1b1b7fc
fix: remove style of ghost link & ghost text button (#24953)
* fix: remove style of ghost link & ghost text button

* feat: devWarning on link or text + ghost button

* test: update snapshot

* fix: fix devWarning valid arg

* test: test warning

* docs: update ghost button demo

* test: change resetWarned position

* chore
2020-06-19 17:46:15 +08:00
xrkffgg
7450c3fd8d
style: fix rtl.less missing variable (#25088) 2020-06-19 10:13:19 +08:00
LiPinghai
a55443bd8c
fix: avoid colorPalette error when the saturation/value === 1 (#25059)
problems caused by tinycolor converting 1 to 100%

Co-authored-by: pinghaili <pinghaili@tencent.com>
2020-06-17 20:06:57 +08:00
xrkffgg
7a5939fa37
feat: add @rate-star-hover-scale (#24917) 2020-06-11 20:51:55 +08:00
xrkffgg
d380a8d3e4
style: add @divider-orientation-margin less (#24877)
* style: add `@divider-text-left-width` less

* fix: name
2020-06-10 09:37:48 +08:00
Teng YANG
3d62c44325
feat: allow user customize table font size (#24714) 2020-06-04 08:57:58 +08:00
二货机器人
77c5adbe4d
feat: New Tabs (#24552)
* init style

* support size

* editable

* add shadow

* update demo

* fix nest style

* update rtl

* update snapshot

* bump

* fix hover

* fix test case

* fix style lint

* clean up

* updat docs

* add onTabScroll

* upgrade rc-dropdown

* update snapshot

* clean snapshot

* clean up

Co-authored-by: afc163 <afc163@gmail.com>
2020-05-30 18:28:25 +08:00
afc163
d039e32e6b merge feature into master-to-merge-feature 2020-05-28 15:30:36 +08:00
xrkffgg
9e96b9e2d5
fix: alert close padding (#24471)
* fix: alert close padding

* add compact

* fix var
2020-05-27 10:29:04 +08:00
Teng YANG
ccd2820ce7
fix: #24205 less class name prefix enhancement (#24459)
* replace ant class prefix with variable in mixin

* replace ant class prefix with variable in wave
2020-05-26 10:32:35 +08:00
zombiej
7c260c03a5 chore: merge master 2020-05-23 15:00:18 +08:00
偏右
1f371eee09
fix: Table selection out of column when size is small/middle (#24394)
close #24326
2020-05-22 15:20:11 +08:00
偏右
ae8603838a
Merge pull request #24371 from ant-design/master
chore: merge master into feature
2020-05-21 23:41:37 +08:00
Amumu
fb839eb1d1
remove @grid-gutter-width (#24303) 2020-05-20 10:47:39 +08:00
afc163
d6d485b72d merge feature into master-to-merge-feature 2020-05-19 18:25:51 +08:00
二货机器人
75b090aff3
fix: Switch trigger motion (#24254)
* init fix

* fix rtl

* clean up

* update snapshot

* fix style lint

* add motion of inner

* update un-checked focus style
2020-05-18 17:31:46 +08:00
二货机器人
7de007100d
Merge pull request #24199 from ant-design/master
chore: Feature merge master
2020-05-16 12:30:58 +08:00
偏右
188e5630b3
💄 Add @card-head-extra-color (#24189)
close #24187
2020-05-15 18:18:07 +08:00
afc163
53d7a20939 merge feature into master-to-merge-feature 2020-05-13 16:16:16 +08:00
偏右
f7e00f645e
style: fix Button small size align when customize theme (#24097)
close #24089
2020-05-13 12:56:24 +08:00
zombiej
339246d316 chore: Merge master 2020-05-13 11:59:15 +08:00
偏右
4dccbd8eab
style: add @modal-close-color (#24053)
* 🆕 Add @modal-close-color

close #24050

* update snapshot

* fix var name
2020-05-11 20:08:46 +08:00
偏右
2ab7c3f182
fix @menu-item-font-size not working (#24052)
close #24051
2020-05-11 19:12:04 +08:00
Tom Xu
d766472d94
feat: descriptions add less variable (#24032)
* feat:  add less variable @descriptions-item-trailing-colon,@descriptions-it,@descriptions-item-label-colon-margin-leftem-label-colon-margin-right,

* fix

* Update demo.test.js.snap
2020-05-11 15:54:25 +08:00
二货机器人
80e3dfa9be
feat: Add Link component to prepare for rm global style (#24019)
* init

* move to base

* add link component

* update snasphot

* update snasphot of test

* move to Typography

* update test case
2020-05-11 14:28:57 +08:00
偏右
4cb70b6f16
Merge pull request #23893 from ant-design/master
chore: merge master into feature
2020-05-06 10:58:50 +08:00
偏右
c5bcf57537
feat: 💄 Add text type Button (#22552)
* 🆕 Add text type Button

`<Button type="text" />`

close #15892

* Add test cases

* missing type

* missing type

* fix missing type

* Update components/button/index.zh-CN.md

Co-Authored-By: zefeng <zefengbao@outlook.com>

Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: zefeng <zefengbao@outlook.com>
2020-05-06 10:15:33 +08:00
偏右
6ded8588ed
chore: @radio-solid-checked-color typo (#23878)
* Update default.less

* Update dark.less
2020-05-05 18:13:46 +08:00
xrkffgg
cffcd0378a
style: optimize steps style (#23855)
* style: optimize steps style

* fix: name

* Update

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

* fix: sm

Co-authored-by: 偏右 <afc163@gmail.com>
2020-05-05 13:55:05 +08:00
偏右
35e390018c
Merge pull request #23796 from ant-design/master
chore: Merge master into feature
2020-05-01 16:35:53 +08:00
二货机器人
98232382f1
feat: MenuItem support danger (#23785)
* feat: Basic danger color

* dark of it

* danger dark style

* invers of dropdown

* update less

* update snapshot
2020-04-30 21:14:10 +08:00
xrkffgg
ba9d75e3bd
fix: switch style (#23791) 2020-04-30 21:02:03 +08:00
vldh
b66ab37463
feat: add less variable @input-disabled-color (#23775)
* add less variable @input-disabled-color

* Update components/style/themes/default.less

Co-Authored-By: 偏右 <afc163@gmail.com>

Co-authored-by: lidahao <lidahao@sisyphe.com.cn>
Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: 偏右 <afc163@gmail.com>
2020-04-30 15:37:11 +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
偏右
02faa4bcf1
💄 tweak Table selected row hover background (#23313) 2020-04-21 16:53:06 +08:00
二货机器人
de68e37da2
fix @tabs-card-height (#23168) 2020-04-12 21:01:14 +08:00
偏右
8e56354de2
💄 Tweak Table hover background color (#23113) 2020-04-10 13:04:53 +08:00
kaoding
3f8dbc500f
style: 💄 @info-color should be @primary-color defaultly
revert #5442
2020-04-01 21:06:24 +08:00
Amumu
4ef3215e1a
fix typo (#22803) 2020-04-01 11:13:08 +08:00
He Linming
3450a82b9e
fix: Card Tabs do not support small size (#22666)
* 🐛 Card Tabs do not support small size

close #22637

* 👌 adjust height

* 👌 use antd variable

* 👌 add card tabs

*  fix ci and adjust margin
2020-04-01 10:54:38 +08:00
Michael Shing
cd0203d535
fix: --scroll-bar var default value (#22754)
* Fix --scroll-bar var default value

* Disable stylelint on scroll-bar var

* Feedback

Co-Authored-By: 偏右 <afc163@gmail.com>

Co-authored-by: Michael Shing <mshing@datto.com>
Co-authored-by: 偏右 <afc163@gmail.com>
2020-03-30 21:58:18 +08:00
zefeng
dda45e4796
feat: support compact theme (#22126)
* feat: support narrow theme mode

* chore: rename narrow to compact

* chore: height part

* chore: preview compact mode

* chore: to make site corrected

* chore: preview site

* docs: 📖 document compact theme usage

* docs: tweak theme doc

* docs: 📖 Add description about double css bundle size

* chore: preview

* chore: for preview

* chore: adjust pagination

* chore: compact mode done!

* chore: remove useless todo

* chore: fix review bug

* chore: fix review bug

* chore: fix card margin

* chore: fix review bug

* chore: fix review bug

* chore: improve i18n and transition

* Update site/theme/static/common.less

Co-Authored-By: 偏右 <afc163@gmail.com>

* chore: fix button size and description padding

* chore: update snapshots

* chore: add compact css bundlesize limit

* chore: compact dist support

Co-authored-by: afc163 <afc163@gmail.com>
2020-03-29 10:39:46 +08:00
二货机器人
a9d6307530
Merge pull request #22517 from ant-design/master-to-merge-feature
chore: 🔀 merge master into feature
2020-03-27 13:45:10 +08:00
Vyacheslav Kamenev
fbdfd4afc0
move @form-item-label-height from form styles to theme variables (#22600) 2020-03-25 21:19:48 +08:00
afc163
bd9be358e2 ⌨️ Add less vars @link-focus-decoration and @link-focus-outline 2020-03-23 20:09:50 +08:00
偏右
10f4454536
💄 fix Slider handler focus style (#22161)
like 3.x
2020-03-12 17:41:23 +08:00
偏右
125c154ffe
💄 Avoid negative padding in less (#22003)
close #22003
2020-03-09 12:04:12 +08:00
二货机器人
301ef2eb63
fix: Table small header background color (#21942) 2020-03-06 17:03:55 +08:00
偏右
5bb8f585de
add outline-fade less variable (#20227)
Co-authored-by: 偏右 <afc163@gmail.com>
2020-03-05 20:39:03 +08:00
偏右
394b785dca
🐛 Fix Menu bottom margin missing (#21867)
close #21864
2020-03-04 19:27:29 +08:00