Commit Graph

51 Commits

Author SHA1 Message Date
叶枫
502dac12aa
docs: format code (#48309)
* docs: fix code

* feat: lint

* feat: prettier

* feat: test

* feat: review

* feat: format html

* feat: format html
2024-04-08 14:04:08 +08:00
二货爱吃白萝卜
ec25f2230c
Merge pull request #46937 from ant-design/master
chore: feature merge master
2024-01-12 13:50:02 +08:00
章鱼怪
ada0f698cb
fix(Segmented): content is obscured when hover and active (#46925) 2024-01-11 18:33:07 +08:00
afc163
87adc388d5
chore: change Segmented token name (#46688)
* chore: change Segmented token name

* chore: change Segmented token name
2023-12-29 16:25:01 +08:00
afc163
37e615228d
feat: add controlPadding and controlBg to Segmented tokens (#46674) 2023-12-28 20:51:35 +08:00
MadCcc
c4b8c9df93
refactor: genStyleHooks (#46038)
* refactor: genStyleHooks

* chore: update sciprt

* refactor: affix

* refactor: select

* chore: update

* refactor: update

* refactor: update

* refactor: done

* chore: code clean

* chore: code clean

* chore: fix lint

* chore: decrease size limit

* chore: code clean

* chore: code clean

* chore: remove export
2023-11-29 17:23:45 +08:00
lijianan
fee85c5fa1
Merge branch master into master-merge-feature 2023-11-29 03:32:56 +08:00
lijianan
bb40c380da
demo: update segmented demo from Space to Flex (#46114) 2023-11-28 11:03:22 +08:00
MadCcc
66df407415
refactor: segmented support css var (#45716) 2023-11-08 15:30:56 +08:00
afc163
4650d74f16
style: fix Segmented text jump issue in Safari (#45310)
Co-authored-by: 红 <wxh1220@gmail.com>
2023-10-13 18:39:31 +08:00
shawn
85dc67f1cc
feature: add itemSelectedFontColor token in Segemented Component (#44570)
* feature: segemented新增component token

* feature: segemented新增component token

* Apply suggestions from code review

Signed-off-by: MadCcc <1075746765@qq.com>

---------

Signed-off-by: MadCcc <1075746765@qq.com>
Co-authored-by: xiaozisong <xiaozis@gantsoftware.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-09-04 11:07:39 +08:00
MadCcc
b64a57d5d0
docs: component token meta (#43337)
* docs: component token meta

* docs: more

* docs: complete
2023-07-05 17:49:59 +08:00
MadCcc
b795b091ca
fix: segmented bg color (#42601) 2023-05-25 14:22:44 +08:00
kiner-tang(文辉)
c878433e9a
feat: migrate less to token for Segmented (#42136)
* feat: migrate less to token for Segmented

* docs: update docs

* feat: add debug demo

* feat: optimize code

* feat: optimize code

* feat: optimize code

* style: reset style

* style: reset style

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code
2023-05-18 22:21:53 +08:00
lijianan
026b74aa0e
fix: add active style (#42249) 2023-05-10 14:56:58 +08:00
MadCcc
6b552d53f6
fix: Segmented item pseudo should not block mouse event (#40894) 2023-02-23 17:26:02 +08:00
MadCcc
421ae105ad
refactor: adjust boxShadow token (#40516)
* refactor: adjust boxShadow token

* chore: code clean
2023-02-03 11:20:21 +08:00
MadCcc
40944a1c02
perf: only one parent selector in style (#40325)
* chore: add parent selector

* chore: update lint script

* chore: code clean

* perf: style

* chore: remove demo test cssinjs

* fix: input group
2023-01-20 10:31:27 +08:00
afc163
5518855f82
style: fix Segmented thumb radius size (#40179) 2023-01-11 23:59:47 +08:00
afc163
a6a315b43f
style: fix Segmented item hover radius style (#40175)
* style: fix Segmented item hover radius style

* chore: update function name
2023-01-11 22:33:17 +08:00
MadCcc
dd03795c52
fix: segmented icon margin (#39575) 2022-12-15 11:38:08 +08:00
MadCcc
5d9cb2e50d
refactor: Optimize theme export and add docs (#38902)
* refactor: Optimize theme export and add docs

* chore: fix lint

* chore: fix lint

* chore: fix lint
2022-11-23 20:22:38 +08:00
MadCcc
0162d2e2d8
feat: change transiton to mid duration (#38648) 2022-11-17 23:31:41 +08:00
MadCcc
31a401ba1a
fix: segmented dark mode (#38582) 2022-11-15 22:22:04 +08:00
MadCcc
9f88c1238a
feat: token update (#38314)
* feat: token update

* chore: update test

* chore: lint

* chore: code clean

* test: update test case

* feat: radius token update

* fix: form size

* chore: fix steps style

* chore: code clean

* chore: update test case
2022-11-01 15:06:38 +08:00
二货爱吃白萝卜
752d671acb
feat: DatePicker support presets (#38249)
* chore: basic style

* chore: all of token spread

* chore: default presets style

* docs: update presets

* chore: fix style

* chore: fix ts

* test: Update snapshot

* test: Update snapshot

* test: Update snapshot

* test: update snapshot

* chore: bump bundle size

* test: update snapshot

* chore: update picker style

* chore: rm useless content
2022-10-28 16:44:19 +08:00
MadCcc
5966ee19d1
fix: segmented sm style (#37666) 2022-09-21 10:35:14 +08:00
MadCcc
c60fc82ab3
style: v5 style optimization (#37634)
* style: ui update

* style: v5 style optimization

* chore: code clean

* style: modal close btn style

* style: notification close button style

* chore: code clean
2022-09-20 21:50:36 +08:00
MadCcc
68bd866187
fix: segmented hover style (#37498)
* fix: segmented hover

* chore: optimization

* chore: fix logical prop
2022-09-09 17:04:15 +08:00
MadCcc
2cf245969b
feat: v5 motion duration adjustment (#37438) 2022-09-07 14:08:14 +08:00
MadCcc
229d0d81b7
feat: v5 hover (#37433)
* feat: v5 hover

* feat: breadcrumb margin

* feat: badge hover

* feat: v5 error

* fix: badge ribbon corner
2022-09-07 12:00:00 +08:00
MadCcc
ec13e824be
feat: v5 shadow & colorPrimary (#37254)
* feat: v5 shadow

* chore: color lint

* test: fix test case
2022-08-26 16:05:16 +08:00
MadCcc
93908debec
feat: v5 radius (#37146)
* feat: v5 radius

* test: fix test
2022-08-19 10:10:51 +08:00
MadCcc
1ad0553249
refactor: token update (#36637)
* refactor: token update

* refactor: token

* chore: error color

* fix: menu danger
2022-07-21 17:00:42 +08:00
MadCcc
cdbfe45df1
feat: generate anchor style for all components (#36460)
* test: fix lint

* chore: code clean

* doc: anchor color

* chore: style order
2022-07-11 15:35:58 +08:00
MadCcc
8e27cf986f
chore: rm component less file (#36244)
* chore: rm component less file

* refactor: less file

* refactor: rm less

* refactor: rm page-header and comment

* chore: rm less in components

* chore: update dist config

* chore: update image test

* chore: update dekko

* chore: rm lib dekko

* chore: update dist dekko

* chore: udpate bundle size

* test: update snapshot

* test: rm theme test

* test: update snapshot

* test: update snapshot

* chore: copy reset.css

* test: update image test

* chore: copy reset.css to es

* chore: update site script
2022-07-05 21:55:21 +08:00
MadCcc
abb409ccf7
refactor: token update (#36306) 2022-06-29 21:24:29 +08:00
二货机器人
de2992f96f
chore: move path (#36243)
* chore: base move

* chore: all path

* chore: fix script
2022-06-27 14:25:59 +08:00
MadCcc
9f2f9bb57f
refactor: default theme with algorithm (#36175)
* refactor: alias token

* refactor: use palettes

* refactor: default theme

* chore: code clean

* refactor: component token

* feat: light tokens

* feat: add dark theme

* feat: dark derivative

* chore: code clean

* refactor: fix colorBgContainer

* refactor: rename token

* test: fix lint

* chore: code clean

* chore: code clen

* refactor: badge shadow color

* test: add test case
2022-06-24 11:11:42 +08:00
MadCcc
373f0c5a65
refactor: shadow alias (#36213)
* refactor: shadow

* refactor: component box shadow

* refactor: shadow alias
2022-06-24 10:45:29 +08:00
MadCcc
5639e1a5ba
feat: update token (#36095)
* feat: update token

* feat: update token

* fix: override ts definition

* fix: rename token
2022-06-17 18:47:47 +08:00
二货机器人
7b73b62c57
refactor: full token (#35845) 2022-06-01 11:16:52 +08:00
MadCcc
a07b3d86ef
fix: segmented group style (#35743) 2022-05-26 09:14:09 +08:00
MadCcc
3dc72c00d0 Merge branch 'feature' into next-merge-feature 2022-05-25 15:02:26 +08:00
vagusX
95f56f6d20
fix: division in less for Segmented (#35701)
* fix: division in less for Segmented

* fix: update
2022-05-24 14:50:43 +08:00
vagusX
5d66b0ba3f
refactor: cssinjs for segmented (#35134)
* refactor: cssinjs for segmented

* fix: disabled styles

* feat: sync code from master
2022-05-11 19:35:00 +08:00
vagusX
ce1fc29bd7
fix: use less variables for Segmented (#35387) 2022-05-05 14:09:27 +08:00
vagusX
409c25b7ce
feat: set proper height for Segmented (#35281) 2022-04-29 15:11:42 +08:00
vagusX
eee3b50727
feat: support icon only in segmented (#35256)
* feat: support icon only with segmented

* fix: lint issue

* chore: update

* test: fix

* test: update snapshot
2022-04-28 19:39:52 +08:00
vagusX
78eed85cba
style: Segmented supports rtl styles (#35188) 2022-04-23 16:53:07 +08:00