129 Commits

Author SHA1 Message Date
Guo Yunhe
f44ec04609 feat(Grid): add xxxl (1920px) breakpoint for FHD screen (#56825)
* feat(Grid): add xxxl (1840px) breakpoint for FHD screen

* feat: update xxxl breakpoint from 1840px to 1920px for layout and list components

* feat(Grid): update xxxl breakpoint from 2000px to 1920px for responsive layout

* fix(Grid): 修正栅格间隔描述中的拼写错误

* feat(Grid): reverse

* test(Form): update grid

* size limit

---------

Co-authored-by: thinkasany <480968828@qq.com>
2026-02-04 00:01:55 +08:00
lijianan
8def94703b refactor(Select): use genCssVar hook to generate CSS variables (#56559)
* refactor(Select): use genCssVar hook to generate CSS variables

* Update components/select/style/select-input-multiple.ts

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: lijianan <574980606@qq.com>

* fix: update

* update

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-01-10 22:26:06 +08:00
lijianan
3f5129ac44 refactor(Mentions): use genCssVar hook to generate CSS variables (#56550)
* update

* update

* update

* update

* update

* update
2026-01-10 11:58:32 +08:00
lijianan
75ddcdfd00 refactor: 🛠 use genCssVar hook to generate CSS variables (#56546)
* refactor: 🛠 use genCssVar hook to generate CSS variables

* update

* update

* update

* update

* update

* Update components/tooltip/style/index.ts

Co-authored-by: thinkasany <480968828@qq.com>
Signed-off-by: lijianan <574980606@qq.com>

* update

* fix: update

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: thinkasany <480968828@qq.com>
2026-01-09 22:24:19 +08:00
lijianan
ba47850fa0 refactor: 🛠 use genCssVar hook to generate CSS variables (#56529) 2026-01-09 13:40:44 +08:00
thinkasany
998d8f008f chore: sync feature into next 2025-08-08 12:01:41 +08:00
afc163
613aad6a5d refactor: remove unnecessary object spread syntax for genFocusOutline calls (#54622)
Co-authored-by: lijianan <574980606@qq.com>
2025-08-08 08:34:25 +08:00
MadCcc
751edfc336 feat: zeroRuntime (#54334)
* feat: zeroRuntime

* feat: generate full style

* feat: add antd.css into global css

* chore: revert site change

* docs: add docs

* chore: update scripts

* chore: add test
2025-07-22 10:20:29 +08:00
二货爱吃白萝卜
9115c60baa feat: FloatButton support semantic structure & ConfigProvider support passing related props (#54145)
* chore: init

* chore: badge

* test: update test case

* chore: clean up part

* chore: fix lint

* docs: update doc

* docs: api in

* test: coverage

* docs: update doc

* chore: simplify

* test: fix test case

* chore: fix lint

* chore: fix lint

* chore: simplify

* chore: update comment
2025-06-20 16:18:46 +08:00
DDDDD12138
8ecdc728b3 fix: update genStyleUtils to correct linkStyle (#52888)
* fix: update genStyleUtils to correct linkStyle

* feat: compatible with the "a" tag inside the element

---------

Co-authored-by: thinkasany <480968828@qq.com>
2025-02-20 10:31:12 +08:00
Jony J
39d9c1c6bf chore: replace TinyColor with FastColor across the codebase (#52157)
* chore: replace TinyColor with FastColor across the codebase

* test: update snapshot
2024-12-30 10:02:44 +08:00
🏎️ Yumo
eb28df8430 chore: fix circular dependency 2024-12-06 17:48:03 +08:00
🏎️ Yumo
807cca1997 chore: fix circular dependency 2024-12-06 14:13:34 +08:00
🏎️ Yumo
6ee4ea5b89 chore: reverted unnecessary changes. 2024-12-06 01:31:54 +08:00
🏎️ Yumo
f9301952f2 refactor: use defaultIconPrefixCls instead of string 2024-12-06 01:30:34 +08:00
🏎️ Yumo
8a82e55197 refactor: fixed the issue of icon styles being duplicated. 2024-12-06 01:24:12 +08:00
🏎️ 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