🏎️ Yumo
db551189b7
fix: useResetIconStyle is being called repeatedly
2024-12-04 21:02:22 +08:00
afc163
cce261263f
style: tweak lineWidthFocus to 3px ( #51069 )
2024-09-29 15:55:49 +08:00
renovate[bot]
863f61d908
chore(deps): update dependency eslint to v9 ( #50690 )
...
Co-authored-by: afc163 <afc163@gmail.com>
2024-09-19 03:30:19 +08:00
lijianan
836d1bbbad
type: code optimization ( #50116 )
2024-07-29 01:31:25 +08:00
🏎️ Yumo
edb1b38fb3
refactor: add getCompUnitless for genStyleUtils
2024-07-24 11:28:17 +08:00
🏎️ Yumo
98b17f8761
fix: type error when use @ant-design/cssinjs-utils@1.0.2
2024-07-23 19:27:06 +08:00
🏎️ Yumo
14b1f56435
chore: delete unuse file and test
2024-07-23 19:24:33 +08:00
🏎️ Yumo
c5c58d7662
refactor(theme): migrate and refactor genStyleHooks
genComponentStyleHook
genSubStyleComponent
.
...
[RFC](https://github.com/ant-design/ant-design/discussions/49748 )
2024-07-23 18:55:48 +08:00
🏎️ Yumo
5019af42b5
refactor(theme): migrate and refactor type TokenWithCommonCls
by @ant-design/cssinjs-utils
2024-07-23 17:49:35 +08:00
🏎️ Yumo
965b68cfea
refactor(theme): migrate and refactor statistic.ts
by @ant-design/cssinjs-utils
2024-07-23 17:40:45 +08:00
🏎️ Yumo
adbda3d846
refactor(theme): migrate and refactor genCalc
by @ant-design/cssinjs-utils
2024-07-23 17:25:18 +08:00
lijianan
2b629ef391
type: rm useless type of reducer ( #49555 )
...
* type: rm useless type of reducer
* Update components/_util/ActionButton.tsx
Signed-off-by: lijianan <574980606@qq.com>
---------
Signed-off-by: lijianan <574980606@qq.com>
2024-06-22 23:57:39 +08:00
afc163
59ad48476b
refactor: add boime lint and fix lint errrors ( #49536 )
...
* chore: add boime lint
* fix lint
* use files ignore
* revert change
* ignore clarity.js
* fix some errors
* fix some errors
* fix some errors
* fix some errors
* add yml file
* Update clarity.js
Signed-off-by: afc163 <afc163@gmail.com>
* add npm run lint:biome
* add npm run lint:biome
* fix test case
* fix ts errors
* fix ts errors
* fix lint and add .lintstagedrc
* shorten prop name
* chore: update package.json
* update biome.json
* chore: remove stylelint
* chore: useOptionalChain
* fix lint
* biome format
* prettier all code
* prettier all code
* fix site test
---------
Signed-off-by: afc163 <afc163@gmail.com>
2024-06-22 21:59:12 +08:00
🏎️ Imer
f910b5678e
refactor(theme): migrate the genCalc to @ant-design/cssinjs repo and update import path ( #49463 )
2024-06-18 15:20:23 +08:00
二货爱吃白萝卜
3673430978
fix: css var should skip zIndex ( #49238 )
...
* fix: css var should skip zIndex
* refactor: calc support unitless
* chore: clean up unit: false
* chore: support zIndex clean up
* chore: fix build
* test: add test case
2024-06-05 20:01:19 +08:00
lijianan
5c2e6e3651
Merge pull request #48573 from ant-design/master
...
chore: merge master into feature
2024-04-22 17:09:35 +08:00
二货爱吃白萝卜
f77302553d
fix: Input.Search large size button style ( #48527 )
...
* fix: Input.Search large size button style
* chore: adjust logic
* chore: rename
2024-04-18 16:06:35 +08:00
lijianan
27c942a00b
Merge pull request #48524 from ant-design/master
...
chore: merge master into feature
2024-04-18 10:11:58 +08:00
lijianan
4b2a94e383
chore: code optimization ( #48495 )
...
* chore: code optimization
* Update components/theme/util/calc/CSSCalculator.ts
Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: lijianan <574980606@qq.com>
---------
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-04-17 11:02:43 +08:00
叶枫
6dcd6e2dc1
feat: merge master
2024-04-08 14:37:05 +08:00
叶枫
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
二货爱吃白萝卜
9680481546
feat: Mix style framework support ( #48229 )
...
* chore: add layer mark
* docs: enable @layer for test
* docs: add doc of third part lib
* docs: update order
* Update docs/react/compatible-style.zh-CN.md
Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: 二货爱吃白萝卜 <smith3816@gmail.com>
* Update docs/react/compatible-style.en-US.md
Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: 二货爱吃白萝卜 <smith3816@gmail.com>
* docs: ssr or reset case
---------
Signed-off-by: 二货爱吃白萝卜 <smith3816@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-04-03 17:12:02 +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
441ba5f5d1
fix: component style without hash ( #46609 )
...
* fix: Select style without hash
* fix: common style logic
* fix: lint
* fix: menu style
* chore: update checkbox demo
* chore: fix test
* chore: rm test
2024-01-30 11:08:02 +08:00
MadCcc
2fe9b46bc1
feat: Button support lineHeight token ( #46936 )
...
* feat: Button support lineHeight token
* refactor: rm format
* chore: code clean
* chore: fix test
2024-01-12 15:03:03 +08:00
MadCcc
c35e0982cb
fix: Button padding token should follow contentFontSize ( #46901 )
2024-01-11 11:18:21 +08:00
lijianan
e07d5214c4
type: replace object with AnyObject ( #46604 )
2023-12-25 15:30:08 +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
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
d335f856c9
test: remove useless parameter ( #46023 )
...
* chore: remove useless parameter
* fix: clear
2023-11-23 02:48:53 +08:00
MadCcc
80e46b7662
chore: enable cssVar in imageTest ( #45985 )
...
* chore: enable cssVar in imageTest
* fix: tree select style
* chore: fix avatar group style
* fix: cascader panel style
* fix: form style
* fix: slider disabled style
* fix: mentions style
* fix: tag style
* fix: tabs style
* fix: Rate style
* fix: table custom token
* chore: update snapshot
* fix: menu style
* fix: InputNumber style
* chore: recover image test
* chore: add css var image test
2023-11-22 20:53:48 +08:00
MadCcc
e3fcec43c6
fix: zIndexPopup should not united ( #45889 )
2023-11-15 14:31:59 +08:00
MadCcc
67a3f1e9d8
fix: genCSSVarRegister unitless should work ( #45885 )
...
* fix: genCSSVarRegister unitless should work
* chore: update
2023-11-15 11:26:35 +08:00
MadCcc
b2300fa2d3
fix: global token in components with css var should work ( #45860 )
2023-11-14 11:59:14 +08:00
lijianan
55bb516e9e
chore: add jsDoc for cssVar calculator ( #45809 )
...
* chore: add jsDoc for cssVar calculator
* fix: add prefix
* fix: add prefix
* fix: add prefix
2023-11-13 09:58:43 +08:00
MadCcc
bacaad0262
feat: calc support no unit ( #45775 )
...
* chore: calc support no unit
* test: add test case
* test: add test case
2023-11-10 14:54:16 +08:00
MadCcc
85eea4ff06
Merge branch 'master' into feature-merge-master
2023-11-09 10:27:56 +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
c3a63a9927
fix: component token should work ( #45721 )
2023-11-08 16:27:50 +08:00
MadCcc
96fa23ea7c
refactor: Tooltip, Popover, Dropdown, Tour support css var ( #45705 )
...
* feat: Tooltip, Popover, Dropdown, Tour support css var
* chore: update snapshot
* chore: code clean
* chore: code clean
* chore: update snapshot
* chore: update snapshot
* chore: update snapshot
* chore: add test
2023-11-08 14:56:15 +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
lijianan
8b486f3d7f
Merge branch master into master-merge-feature
2023-10-15 11:33:10 +08:00
Alexey Teterin
bce43064ff
fix: CSP nonce attribute should be set to all the style tags ( #45326 ) ( #45334 )
...
Co-authored-by: Alexey Teterin <ateterin@naumen.ru>
2023-10-13 23:14:49 +08:00
二货爱吃白萝卜
bef9539e22
feat: Table support scrollTo
reference
( #45245 )
...
* feat: add ref
* feat: table support reference
* chore: rename
* chore: proxy
* test: add test case
* chore: fix lint
* docs: update desc
* docs: update desc
* docs: update desc
* chore: clean up
* chore: fix lint
2023-10-11 13:55:20 +08:00
二货爱吃白萝卜
d3c2f75ed3
refactor: ConfirmModal layout to fix batch of bug ( #44557 )
...
* refactor: Modal confirm style
* test: fix test case
* chore: merge wireframe
* chore: modify limit
* test: update snapshot
2023-08-31 22:21:32 +08:00
二货爱吃白萝卜
acdf1153fa
refactor: Extract Tag unused style ( #44512 )
...
* refactor: tag status as extract style
* chore: add key
* chore: preset of it
2023-08-29 19:43:48 +08:00
二货爱吃白萝卜
7a66d46051
refactor: Form style should always before Grid ( #44485 )
...
* fix: use css variable to support dynamic display
* chore: support order
* chore: add ie fallback
* chore: add ie fallback
2023-08-29 15:48:03 +08:00
二货爱吃白萝卜
a95662d0e1
refactor: button default not use compact style ( #44475 )
...
* refactor: button default not use compact style
* chore: clean up
2023-08-28 21:42:39 +08:00
红
3e171a9f4f
feat: default add resetIcon Style ( #41208 )
...
* feat: default add resetIcon Style
chore: remove
test: add case
feat(App): icon reset style feature
Revert "feat(App): icon reset style feature"
This reverts commit be6905553dcabbd490ad60be0c08c8328736bd62.
Revert "chore: remove"
This reverts commit 417d5f90051a342325ccc9b5cbf3d249ab0ec826.
chore: update
chore: update
* chore: update
* chore: resolve import
* chore: update code style
2023-08-28 10:49:18 +08:00
二货爱吃白萝卜
ca0396859b
refactor: abstract ribbon style ( #44451 )
2023-08-27 23:48:56 +08:00