vagusX
38cf5e8a75
docs: unify component export file as index.tsx ( #50013 )
...
* docs: unify component export file as index.tsx
* docs: compatible with old anchors
* chore: clean
* test: update snapshot
* fix: window env
---------
Co-authored-by: Peach <scdzwyxst@gmail.com>
2024-07-23 22:22:24 +08:00
Guo Yunhe
985705e1c2
fix(theme): use pre-compiled color presets to improve runtime performance ( #49714 )
2024-07-04 17:25:40 +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
二货爱吃白萝卜
a2d8659014
test: revert test ( #48909 )
2024-05-14 10:22:45 +08:00
LonelySnowman
8b8021083e
fix: button component add colorErrorBgActive token ( #48876 )
2024-05-12 20:16:58 +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
二货爱吃白萝卜
ae155b97d5
chore: add bug version & fix test case ( #48571 )
...
* chore: add bug version
* test: clean up
* test: fix test case
* chore: fix lint
* test: fix test case
* test: fix test case
2024-04-21 23:56:41 +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
lijianan
82720bc503
type: update Wave props type ( #48092 )
...
* fix: fix the Wave not disappear when motion === false
* docs: update docs
* type: update type
* type: update type
* docs: revert
2024-03-26 18:20:28 +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
栗嘉男
b241f68a33
chore: merge master into feature
2024-01-11 14:43:16 +08:00
MadCcc
c35e0982cb
fix: Button padding token should follow contentFontSize ( #46901 )
2024-01-11 11:18:21 +08:00
陈帅
968200d11e
feat: Menu support darkPopupBg token ( #46618 )
...
* feat: Menu support darkPopupBg token
* fix lint
* fix
2023-12-29 16:49:57 +08:00
叶枫
81ab20be35
feat: merge master
2023-12-27 14:42:51 +08:00
lijianan
e07d5214c4
type: replace object with AnyObject ( #46604 )
2023-12-25 15:30:08 +08:00
MadCcc
3af521d422
feat: Input/InputNumber/Mentions support filled
variant ( #46435 )
...
* feat: Input filled variant
* feat: InputNumber filled variant
* feat: mentions variant
* fix: TextArea status with affix
* chore: update snapshot
* chore: update snapshot
* feat: pagination input
* fix: fix diff
* feat: input-number disabled
* fixL InputNumber
* chore: update snapshot
* feat: better style
* chore: update
* chore: update snapshot
* feat: use variant classNames
* chore: update snapshot
* feat: mentions affix style
* chore
2023-12-18 17:53:31 +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
7bd08ba257
fix: less var ( #46250 )
2023-12-04 20:07:20 +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
682904a9ec
feat: preserve breakpoint tokens value ( #45981 )
2023-11-21 15:26:41 +08:00
lijianan
2954c3f60e
feat: Grid support cssVar ( #45855 )
...
* feat: Grid support cssVar
* fix: fix
* fix: fix
---------
Signed-off-by: lijianan <574980606@qq.com>
2023-11-17 16:25:47 +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
c8637cf03a
feat: Affix support cssVar ( #45807 )
...
* feat: Affix support cssVar
* fix: fix
* fix: fix
* fix: fix
2023-11-13 20:25:05 +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
9670a30281
refactor: DatePicker support css var ( #45753 )
...
* chore: add token
* refactor: arrow style
* chore: update style
2023-11-09 16:48:45 +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
二货爱吃白萝卜
317dac6a8e
refactor: more cache ( #45302 )
...
* chore: cache
* chore: clean up
* chore: clean up
* refactor: part
* chore: bump
* chore: fix lint
* chore: fix lint
* chore: fix alt
2023-10-13 11:54:05 +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
github-actions[bot]
081b33d7b8
chore: auto merge branches ( #44995 )
...
chore: feature merge master
2023-09-21 09:30:12 +00:00