Commit Graph

130 Commits

Author SHA1 Message Date
二货爱吃白萝卜
f1c7bb2052
fix: drawer dark theme color (#49217) 2024-06-04 16:38:15 +08:00
lijianan
793b8b743f
fix: fix Drawer loading style (#48917) 2024-05-14 15:13:18 +08:00
lijianan
0836497363
refactor: refactor Drawer loading (#48886)
* refactor: adjust Drawer loading area not include header area

* fix: fix snap

* fix: fix

* fix: fix
2024-05-14 14:15:33 +08:00
lijianan
32b89e6d87
fix: add Drawer Spin className (#48857)
* fix: add Spin className

* fix: update snap
2024-05-10 14:31:21 +08:00
lijianan
b87dbc91ae
refactor: rewrite inline-style to cssinjs (#48832)
* refactor: rewrite inline-style to cssinjs

* test: fix snap
2024-05-09 10:12:26 +08:00
叶枫
14a1e6bd51
feat: tsconfig enable strict (#47998)
* feat: tsconfig enable strict

* feat: add no-explicit-any

* feat: strict

* feat: as THEME

* feat: 优化 keys 类型写法

* feat: demo remove any

* feat: as number

* feat: this any

* feat: add eslint

* feat: cascader

* feat: props any

* feat: remove any

* feat: remove any

* feat: any 提示错误

* feat: remove any

* feat: add eslint

* feat: 允许 T = any 存在

* feat: color funciton

* feat: 恢复 lint

* feat: merge master

* feat: as ReactElement

* feat: type
2024-04-01 15:49:45 +08:00
afc163
e8839ae48b
style: unify Modal and Drawer close icon style (#47909)
* style: unify Modal and Drawer close icon style

* style: fix Drawer close icon style

* style: add focus style

* style: unify close btn style

* test: update snapshots

* style: tweak drawer close icon size
2024-03-16 23:21:09 +08:00
afc163
8eab5139ad
refactor: Drawer motion style (#47194)
* refactor: rewrite drawer motion style code

* style: improve Drawer motion

* refactor: simpify style code

* test: fix test coverage

* test: fix test coverage

* chore: remove !important

* chore: revert refactor code

* refactor: simpify style code

* refactor: simpify style code

* refactor: simpify style code

* refactor: simpify style code

* revert: move distance to 100%
2024-01-27 23:35:00 +08:00
afc163
f2b89da945
refactor: Drawer styles properties (#46858)
* refactor: Drawer styles props

* chore: add type test case

* chore: update snapshot

* test: add style jest snapshot

* chore: update snapshot

* chore: update snapshot

* chore: update snapshot

* chore: add deprecated warning

* fix: scroll area of drawer

* chore: fix demo style

* chore: update snapshot

* chore: update snapshot

* refactor: remove unused style code

* test: fix test case

* test: fix Drawer PurePanel image diff

* test: fix Drawer PurePanel image diff

* chore: fix demo
2024-01-09 10:20:40 +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
b9531997a8
feat: Drawer support cssVar (#45905)
Signed-off-by: MadCcc <madccc@foxmail.com>
Co-authored-by: MadCcc <madccc@foxmail.com>
2023-11-16 15:07:32 +08:00
wving5
ee61b997dc
docs: fix misdocumented component token meta (#43994)
* docs: fix misdocumented component token meta

* Apply suggestions from code review

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

---------

Signed-off-by: MadCcc <1075746765@qq.com>
Co-authored-by: cty <>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-08-03 17:05:21 +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
Amir M. Mohamadi
486e326a07
fix(Drawer): add max width to prevent width overflow for small screens (#42914)
* fix(Drawer): add max width to prevent width overflow for small screens

* feat(Drawer): content max width `vw` instead of percent

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

---------

Co-authored-by: afc163 <afc163@gmail.com>
2023-06-09 18:21:55 +08:00
MadCcc
34af3ec550
feat: component token rename (#42184)
* feat: component token naming rules

* dcos: update

* feat: modal token rename

* feat: rename result token

* feat: statsitic token rename

* feat: steps token remane

* chore: update snapshot

* chore: fix lint

* feat: semantic part component

* revert: button & notification

* revert: files

* chore: code clean
2023-05-09 19:24:50 +08:00
kiner-tang(文辉)
5e4e9970dc
feat: migrate less to token for Drawer (#42084) 2023-05-04 15:38:07 +08:00
lijianan
3ed7ec906e chore: remove useless tsx support (#39890)
* chore: remove useless tsx support

* add

* add

* style

* fix lint

* fix lint

* fix lint

* update locale entry

* update locale entry

* update locale entry

* delete useless style
2022-12-31 22:24:55 +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
二货机器人
d5cfd195dd chore: merge master 2022-11-07 23:32:46 +08:00
afc163
c6762d9215
style: fix Drawer extra using Radio.Group (#38385)
* style: fix Drawer extra using Radio.Group

close #38297

* chore: adjust flex logic

* chore: fix lint

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-11-04 23:00:28 +08:00
MadCcc
5b745d0bda Merge branch 'next' into next-merge-feature 2022-10-11 21:47:41 +08:00
二货爱吃白萝卜
2b15bdafac
fix: Drawer PurePanel style missing (#37946)
* fix: Drawer PurePanel style missing

* docs: clean up useless demo code
2022-10-11 20:59:40 +08:00
MadCcc
03a1ae427d Merge branch 'feature' into next-merge-feature 2022-10-11 20:29:55 +08:00
二货爱吃白萝卜
f4859202f5
fix: Nest Drawer default open show order (#37767)
* chore: bump drawer

* docs: Drawer test demo

* test: Update snapshot

* docs: Update demo

* chore: fix nest style

* chore: trigger CI

* chore: modify bundle size
2022-09-29 00:05:37 +08:00
二货爱吃白萝卜
5a68bad59d
refactor: Drawer PurePanel only need Drawer panel part (#37676)
* refactor: Drawer Panel component extrac

* chore: PurePanel

* chore: PurePanel styled

* test: Update snapshot
2022-09-21 16:35:01 +08:00
MadCcc
2cf245969b
feat: v5 motion duration adjustment (#37438) 2022-09-07 14:08:14 +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
二货机器人
d970d80fa0 chore: next merge feature 2022-08-05 15:23:36 +08:00
yanm1ng
5b45a8fa87
style(drawer): fix drawer nesting style pollution (#36845)
Co-authored-by: eason.ym <eason.ym@alibaba-inc.com>
2022-08-02 14:54:13 +08:00
二货机器人
74ae7f68f0 chore: back motion style 2022-07-29 16:19:01 +08:00
二货机器人
394aba4afe chore: merge master 2022-07-29 15:56:11 +08:00
二货机器人
24be945ea8
fix: Not work in old browser (#36748)
* fix: Drawer contentWrapperStyle logic

* fix: Update style

* test: Update snapshot

* test: More test case
2022-07-27 23:44:45 +08:00
二货机器人
d422d71c1e
refactor: Drawer refactor (#36672)
* chore: back part of styl

* chore: all basic

* test: part test case

* test: part test case

* test: more test case

* test: update snapshot

* test: demo test support

* test: update snapshot

* chore: adjust mock logic to inject on rc-drawer instead

* test: more snapshot

* chore: adjust pos

* chore: back of render

* test: drawer demo extends test
2022-07-25 21:04:43 +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
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
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
MadCcc
1f080c299e
fix: Form.Item noStyle should not be affected by parent Form.Item (#35849)
* fix: Form.Item noStyle should not be affected by parent Form.Item

* test: update snapshot

* fix: status

* chore: code clean

* fix: modal and drawer

* test: fix lint

* chore: code clean

* refactor: noFormStyle

* chore: code clean

* revert: revert change in Form.Item

* chore: code clean
2022-06-06 23:39:00 +08:00
MadCcc
719ba6b92e
refactor: drawer full token (#35596) 2022-05-17 20:22:26 +08:00
MadCcc
9ca7973521
refactor: image full token (#35465)
* refactor: image full token

* chore: remain switch size

* refactor: less token

* chore: text color
2022-05-10 17:30:01 +08:00
MadCcc
24773d5796 test: lint 2022-05-09 22:20:07 +08:00
MadCcc
eed87d6276
chore: remove keyframes declaration (#35231) 2022-04-26 01:00:39 +08:00
MadCcc
1d91507a59
feat: support Keyframes as 'animationName' value (#35142) 2022-04-21 02:06:22 +08:00
MadCcc
acb21e1848
feat: animation check (#35108)
* feat: animation check

* chore: remove treeNodeFX import
2022-04-20 10:24:24 +08:00
MadCcc
617449ddd2
test: add cssinjs test (#35077)
* test: add cssinjs test

* test: demoTest test cssinjs

* test: update snapshot

* test: adjust text
2022-04-19 11:27:09 +08:00
MadCcc
101865cf7e
fix: statistic token (#34962)
* fix: statistic token

* fix: all components token

* test: fix lint

* chore: code clean

* Revert "chore: code clean"

This reverts commit 2c0e7d6ba3.
2022-04-11 16:04:00 +08:00
MadCcc
05643ab9f3
refactor: Drawer migrate to genComponentStyleHook (#34931) 2022-04-08 15:43:28 +08:00