ice
badfbe3cfe
feat(Button): support variant and color ( #50051 )
...
* feat(button): variant & color types
* feat: type -> color/variant
* feat: type -> color/variant
* feat: add variant filled
* test: snap
* refactor(button): rename type -> variant
* docs: add demo
* feat: add danger ghost style
* refactor: remove deprecated
* refactor: eslint
* docs: change color&variant
* test: updated snap
* docs: color-variant
* docs: add debug color&variant
* feat: global token
* refactor: remove comment
* docs: add color&variant docs
* docs: remove default
* docs: add space
* docs: code
* test: update snap
* test: fix snap
* test: btn querySelect
* feat: change filled hoverStyle
* test: fix
* feat: support grey wave
* refactor: enhance
* docs: color/variant -> v 5.21
* test: snap
* feat: add token
* test: to do
* test: fix test
* ci: rebuild
* style: remove
* style: space
* docs: add note & FQA
* feat: add componentsToken
* refactor: remove isNotGrey
* test: add case
* docs: tile button
* test: snap
* docs: site & snap
* Update components/button/index.en-US.md
Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
* fix: token color & undef
* docs: site
* docs: responsive
* docs: enhance FAQ
* docs: gap middle
* test: snap
* Update components/theme/interface/maps/colors.ts
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
* Update components/theme/interface/maps/colors.ts
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
* Update components/theme/interface/maps/colors.ts
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
* Update components/button/style/token.ts
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
* Update components/button/style/token.ts
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
* refactor: rename
* docs: prettier
* chore: eslint
* refactor: cls
* test: add solidTextColor case
* refactor: genVariantButtonStyle
* refactor: genVariantButtonStyle
* refactor: genVariantButtonStyle
* fix: rename
* docs: text
* fix: remove border
* feat: add token colorErrorBgFilledHover
* chore: add size-limit
* refactor: rename
---------
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2024-09-03 17:39:02 +08:00
🏎️ Yumo
be7cf7beff
chore: update code comments
2024-08-26 15:46:45 +08:00
🏎️ Yumo
7548dd0fa1
chore: change private variable export name
2024-08-23 10:36:52 +08:00
🏎️ Yumo
d04f8b2a2e
chore: export private variable.
2024-08-22 20:05:45 +08:00
二货爱吃白萝卜
832cffcdf9
feat: ColorPicker support gradient color ( #50050 )
...
* refactor: support type update
* chore: update clear style
* chore: bump color picker
* chore: use slider
* chore: bump color picker
* chore: range slider
* chore: layout
* chore: useModeColor
* chore: simplify
* chore: bump color picker
* refactor: event
* chore: tmp lock check
* chore: of it
* chore: update ts def
* chore: update ts def
* chore: remove useless ts
* chore: linear
* chore: adjust style
* chore: rm useless code
* chore: fill color
* chore: basic linear
* chore: support toStr
* chore: limit minCount
* chore: use cache
* chore: drag support:
* chore: yes
* chore: update demo
* chore: useLayoutEffect instead
* chore: fix click to add point
* chore: add smmoth
* chore: support of locale
* chore: add locale
* chore: fix lint
* chore: adjust style
* chore: fix lint
* chore: fix style
* test: fix test case
* chore: fix popover
* test: fix test case
* chore: fix test
* test: clean up
* chore: fix lint
* chore: fix lint
* chore: fix lint
* test: coverage
* test: coverage
* test: coverage
* test: coverage
* test: coverage
* test: coverage
* chore: fix docs
* docs: update demo desc
* chore: enhance hover range
* fix: delete not working
* chore: fix lint
* test: coverage
* test: coverage
* chore: clean up
* chore: adjust
* chore: highlight
* chore: adjust style
* chore: fix lint
* chore: update demo
* chore: memo perf
* refactor: up to down colors
* test: update snapshot
2024-07-29 16:38:50 +08:00
lijianan
836d1bbbad
type: code optimization ( #50116 )
2024-07-29 01:31:25 +08:00
thinkasany
020848437d
fix(empty): fix opacityImage token failed by unitless ( #50066 )
2024-07-25 16:48:30 +08:00
🏎️ Yumo
b71752ffb0
Merge branch 'master' into refactor/cssinjs-utils
2024-07-24 12:44:44 +08:00
🏎️ Yumo
edb1b38fb3
refactor: add getCompUnitless for genStyleUtils
2024-07-24 11:28:17 +08:00
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
🏎️ 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
b3ddb0e498
fix(theme): DerivativeToken
to AliasToken
2024-07-23 17:54:26 +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
35a0297f94
refactor(theme): migrate and refactor mergeToken
by @ant-design/cssinjs-utils
2024-07-23 17:28:13 +08:00
🏎️ Yumo
adbda3d846
refactor(theme): migrate and refactor genCalc
by @ant-design/cssinjs-utils
2024-07-23 17:25:18 +08:00
🏎️ Yumo
9e8a550218
refactor(theme): migrate and refactor type CSSUtil
by @ant-design/cssinjs-utils
2024-07-23 17:23:43 +08:00
🏎️ Yumo
3ec77d32b0
refactor(theme): migrate and refactor type GenStyleFn
by @ant-design/cssinjs-utils
2024-07-23 17:15:39 +08:00
🏎️ Yumo
a3cba98064
refactor(theme): migrate and refactor type GetDefaultToken
by @ant-design/cssinjs-utils
2024-07-23 17:09:22 +08:00
🏎️ Yumo
00660bc7e9
refactor(theme): migrate and refactor type OverrideComponent
by @ant-design/cssinjs-utils
2024-07-23 17:06:15 +08:00
🏎️ Yumo
1c6c625ba3
refactor(theme): migrate and refactor type FullToken
by @ant-design/cssinjs-utils
2024-07-23 17:01:58 +08:00
🏎️ Yumo
c057cb2113
refactor(theme): migrate and refactor type OverrideToken
by @ant-design/cssinjs-utils
2024-07-23 16:53:24 +08:00
🏎️ Yumo
64f26bd970
refactor(theme): migrate and refactor type GlobalToken
by @ant-design/cssinjs-utils
2024-07-23 16:45:02 +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