Commit Graph

21 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
叶枫
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
MadCcc
b96f4c8003
feat: css var prefix follow prefixCls by default (#47481)
* feat: css var prefix follow prefixCls by default

* docs: update
2024-02-20 09:47:21 +08:00
MadCcc
2f6218a0f3
fix: inherit should not affect hashed and cssVar (#47360)
* fix: inherit should not affect hashed and cssVar

* chore: update

* chore: add test case
2024-02-06 17:38:03 +08:00
MadCcc
2e0942ab26
refactor: separate cssVarCls from hashId (#46424)
* refactor: cssVarCls

* refactor: update

* chore: update

* fix: cascader & tree-select

* fix: ribbon
2023-12-14 14:58:53 +08:00
MadCcc
937a1a2a85
fix: compatible with react 17 (#46261) 2023-12-05 11:33:43 +08:00
MadCcc
4203208af5
feat: cssVar could be disabled by set to false (#45987)
* feat: cssVar could be disabled by set to false

* chore: update test case
2023-11-22 09:46:18 +08:00
MadCcc
4e29e8d1ce
feat: ConfigProvider cssvar support boolean (#45760)
* feat: css var

* chore: fix type

* chore: fix type

* chore: update
2023-11-10 10:02:46 +08:00
MadCcc
452bdcdb53
refactor: select support css var (#45727)
* refactor: select support css var

* chore: code clean

* chore: add useCSSVarCls

* chore: update style

* chore: perf code
2023-11-09 09:35:45 +08:00
MadCcc
5f1dd427df
feat: css var (#45589)
* feat: css variables theme

* chore: temp

* chore temp

* chore: temp

* chore: temp

* chore: tmp

* chore: temp

* feat: full css variables

* feat: css var

* chore: code clean

* chore: code clean

* chore: bump cssinjs

* test: fix lint

* feat: better key logic

* feat: useStyle add param rootCls for cssVar scope

* chore: fix lint

* chore: code clean

* chore: fix lint

* perf: minimize component token size

* chore: make useId compatible

* chore: code clean

* chore: fix lint

* chore: code clean

* chore: update test case

* feat: genCSSVarRegister

* feat: RPN Calculator

* chore: add test for css var

* chore: code clean

* test: add test for calc

* feat: better calc type

* chore: code clean

* chore: update size limit

* feat: better useCSSVar

* chore: better useCSSVar

* test: add cov

* feat: better calc logic

* test: add test case

* chore: code clean

---------

Signed-off-by: MadCcc <madccc@foxmail.com>
2023-11-06 10:31:51 +08:00
MadCcc
94b3d03765
feat: component token support algorithm (#43810)
* feat: component theme

* feat: component token support algorith,

* docs: fix form

* chore: add test

* chore: fix test case

* chore: code clean

* chore: code clean

* chore: code clean

* docs: update toc

* chore: update cssinjs

* chore
2023-07-27 11:31:38 +08:00
lijianan
9d1854763d
refactor: add useSize replace React.useContext (#42282)
* refactor: add useSize

* fix

* fix

* fix

* fix

* fix
2023-05-12 14:53:47 +08:00
xliez
0d67bde239
feat: add useConfig hook to ConfigProvider (#40215)
* feat: add useConfig hook to ConfigProvider

* docs: format config-provide markdown

* doc: add available version

* test: add useConfig test

* docs: add debug

* chore: fix lint error

* fix: getter dead loop

* test: promote useConfig test coverage

* docs(ConfigProvider): update available version
2023-02-14 17:39:35 +08:00
Amumu
7329ac7fc7
refactor: remove shallowequal (#39662) 2022-12-27 15:46:51 +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
a77f1aa8fc chore: rename theme separated to inherit 2022-11-17 01:06:33 +08:00
MadCcc
c0de3b2737
feat: theme seperated (#38608)
* feat: theme seperated

* chore: code clean

* chore: update API
2022-11-17 00:22:15 +08:00
MadCcc
659b89d5e6
fix: inherit default config (#38089)
* fix: inherit default config

* test: add test case
2022-10-18 23:18:11 +08:00
MadCcc
3515a40706
refactor: ConfigProvider theme API update (#37568)
* refactor: ConfigProvider theme support component alias

* test: fix test case

* chore: code clean

* test: fix lint

* test: fix tsx-demo
2022-09-15 21:26:04 +08:00
二货机器人
de2992f96f
chore: move path (#36243)
* chore: base move

* chore: all path

* chore: fix script
2022-06-27 14:25:59 +08:00
二货机器人
ebf52122a2
refactor: Button use full token & remove all withPrefixCls & support overrides (#34690)
* chore: init

* chore: button token

* chore: rm all withPrefixCls

* feat: overrides work

* feat: theme can be nest

* test: Update snapshot

* fix: memo logic
2022-03-24 18:44:42 +08:00