栗嘉男
975763de84
chore: merge master into feature
2024-10-02 13:06:30 +08:00
超级烦
79f2b635b5
docs:Remove duplicate definitions of attributes icon and disabled ( #51030 )
2024-09-26 17:26:13 +08:00
ice
696c9dde02
fix(button): type=link error token & add prefix cls (color/variant) & specificity too high ( #50962 )
2024-09-24 23:52:50 +08:00
curry
436aa9ad2d
feat: Segmented adds vertical prop ( #50708 )
...
Co-authored-by: 梁朝飞 <liangchaofei@guokechuzhi.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: thinkasany <480968828@qq.com>
2024-09-18 23:22:51 +08:00
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
thinkasany
53495d6307
test: improve test type ( #50515 )
2024-08-21 12:41:09 +08:00
vagusX
9484dd3d1e
docs: improve Segmented docs with SegmentedItemType ( #50205 )
...
* docs: improve Segmented docs with SegmentedItemType
* chore: update
* chore: update
* test: update snapshot
* docs: update
2024-08-03 11:49:19 +08:00
lijianan
2e4b9cb098
site: rewrite with CSS logical properties again ( #50113 )
...
* site: use CSS logical properties
* Update components/anchor/demo/targetOffset.tsx
Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: lijianan <574980606@qq.com>
* fix: fix
* fix: fix
* chore: fix
* fix: add more
* fix: add more
* site: rewrite with CSS logical properties
---------
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-07-29 01:33:18 +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
叶枫
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
二货爱吃白萝卜
20561d6f9d
docs: Fix component doc alignment & support import usage ( #48004 )
...
* docs: init ref
* docs all support
* docs: fix link show
2024-03-22 14:22:42 +08:00
lijianan
326ae986b9
Merge pull request #47297 from ant-design/master
...
chore: merge master into feature
2024-02-01 23:59:16 +08:00
mr-chenguang
f1f4788e38
fix: use flex to correct avatar child position ( #47236 )
...
* fix: remove avatar border when height less then 16
* fix: 使用 flex 完成子元素居中布局
* fix: fix avatar tests snapshot
* fix: fix avatar tests snapshot
* Update components/avatar/style/index.ts
Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: mr-chenguang <37072324+lcgash@users.noreply.github.com>
* fix: changealign
* fix: update avatar snapshots
* fix:update snapshot
* fix: update snapshot
* fix: update snapshot
---------
Signed-off-by: mr-chenguang <37072324+lcgash@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-01-31 18:20:21 +08:00
lijianan
231e873b3f
Merge pull request #47238 from ant-design/master
...
chore: merge master into feature
2024-01-30 20:00:58 +08:00
MadCcc
4ecc0d7f95
docs: optimize overview svg ( #47203 )
...
* docs: optimize overview svg
* docs: update
* docs: dark
2024-01-29 14:50:36 +08:00
章鱼怪
7e4bca346d
feat: Segmented value type support generics ( #47091 )
...
* feat: Segmented value type support generics
* fix: type
* docs: update demo
* test: update snapshots
* Update components/segmented/demo/basic.tsx
Signed-off-by: afc163 <afc163@gmail.com>
* Revert "test: update snapshots"
This reverts commit 6f95cd674d
.
---------
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-01-27 20:19:10 +08:00
afc163
023f3ec719
demo: xsgames.co/randomusers => dicebear.com ( #47028 )
...
* demo: xsgames.co/randomusers => dicebear.com
* chore: update snapshot
* chore: update snapshot
* chore: update snapshot
* chore: update snapshot
* chore: update snapshot
2024-01-18 17:18:40 +08:00
二货爱吃白萝卜
ec25f2230c
Merge pull request #46937 from ant-design/master
...
chore: feature merge master
2024-01-12 13:50:02 +08:00
章鱼怪
ada0f698cb
fix(Segmented): content is obscured when hover and active ( #46925 )
2024-01-11 18:33:07 +08:00
afc163
87adc388d5
chore: change Segmented token name ( #46688 )
...
* chore: change Segmented token name
* chore: change Segmented token name
2023-12-29 16:25:01 +08:00
afc163
37e615228d
feat: add controlPadding and controlBg to Segmented tokens ( #46674 )
2023-12-28 20:51:35 +08:00
MadCcc
5f395fbed3
feat: select/cascader/tree-select support variant filled ( #46549 )
...
* feat: Select filled style
* chore: update snapshot
* feat: Cascader and TreeSelect support variant
* feat: multiple style
* fix: import
* chore: fix lint
* chore: update auto-complete docs
* fix: clearIcon bg
* chore: code clean
2023-12-21 13:39:04 +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
sunsunmonkey
b777d1c0c6
docs(segment): change to Disabled name ( #46421 )
2023-12-13 15:34:17 +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
fee85c5fa1
Merge branch master into master-merge-feature
2023-11-29 03:32:56 +08:00
lijianan
bb40c380da
demo: update segmented demo from Space to Flex ( #46114 )
2023-11-28 11:03:22 +08:00
MadCcc
66df407415
refactor: segmented support css var ( #45716 )
2023-11-08 15:30:56 +08:00
afc163
e587a5ff68
chore: update select snapshot ( #45333 )
2023-10-13 20:56:06 +08:00
afc163
4650d74f16
style: fix Segmented text jump issue in Safari ( #45310 )
...
Co-authored-by: 红 <wxh1220@gmail.com>
2023-10-13 18:39:31 +08:00
MadCcc
114ff39f8c
Merge branch 'master' into feature-merge-master
2023-09-05 13:41:06 +08:00
lijianan
6a5e7ded43
refactor: remove Space & Grid IE compatible logic ( #44620 )
...
* refactor: remove IE compatible logic
* fix: fix
* fix: fix
* fix: fix
2023-09-05 10:17:56 +08:00
Dunqing
f0c105d262
feat: insert use client
automatically at compilations instead of hardcode ( #44608 )
...
* feat: remove the hardcode of `use client`
* chore: update `@ant-design/tools`
* test: update
* fix: incorrect dictionary
* chore: update dep
* ci: check use client
* chore: update ci
* fix: should be LIB_DIR
* ci: should only run in dist
* chore: update check tsx files
2023-09-04 19:27:20 +08:00
shawn
85dc67f1cc
feature: add itemSelectedFontColor token in Segemented Component ( #44570 )
...
* feature: segemented新增component token
* feature: segemented新增component token
* Apply suggestions from code review
Signed-off-by: MadCcc <1075746765@qq.com>
---------
Signed-off-by: MadCcc <1075746765@qq.com>
Co-authored-by: xiaozisong <xiaozis@gantsoftware.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-09-04 11:07:39 +08:00
afc163
3f148d9112
docs: add help text for token customization
2023-08-30 23:02:35 +08:00
afc163
e283ebf2e3
test: update Select jest snapshot ( #44140 )
...
* chore: update snapshot
* test: fix test case of Form Select
2023-08-10 00:43:44 +08:00
kiner-tang(文辉)
2f8fa45df3
docs: Add rootClassName in doc ( #44061 )
...
* docs: update rootClassName description
* docs: update rootClassName description
* docs: update docs
2023-08-08 18:27:48 +08:00
MadCcc
c640cbcb53
chore: update snapshot ( #43957 )
...
* chore: update snapshot
* chore
2023-08-02 15:33:29 +08:00
二货爱吃白萝卜
5d3b45551d
test: snapshot of demo warning message ( #43947 )
...
* test: init of test
* test: update snapshot
* test: update snapshot
* chore: adjust size limit
* test: update snapshot
* test: update snapshot
* test: update snapshot
* chore: update snapshot
---------
Co-authored-by: lijianan <574980606@qq.com>
2023-08-02 14:20:13 +08:00
栗嘉男
674ff129ce
Merge branch master into master-merge-feature
2023-07-28 16:43:15 +08:00
二货爱吃白萝卜
2cdf586291
chore: fix lint ( #43873 )
...
* chore: fix lint
* chore: fix lint
* test: fix 16
* fix: lint
2023-07-28 16:17:43 +08:00
afc163
2d3c97979d
fix: Select aria-activedescendant wrong value ( #43800 )
2023-07-26 10:09:04 +08:00
lijianan
38474628fd
feat: prepend use-client directive for with Next.js App Router ( #43573 )
...
* fix: prepend use-client directive for with Next.js App Router
* Update components/affix/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>
* Update components/badge/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>
* Update components/divider/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>
* Update components/cascader/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/list/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/mentions/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/mentions/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/mentions/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/mentions/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/qrcode/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/spin/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/select/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/spin/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/spin/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/steps/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/time-picker/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/transfer/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/tree-select/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
---------
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-07-15 12:57:03 +08:00
github-actions[bot]
1ad266f7bf
chore: auto merge branches ( #43378 )
...
chore: merge master into feature
2023-07-05 10:16:04 +00:00
MadCcc
b64a57d5d0
docs: component token meta ( #43337 )
...
* docs: component token meta
* docs: more
* docs: complete
2023-07-05 17:49:59 +08:00
lijianan
6889af430f
feat: CP support Steps className and style ( #43073 )
...
* feat: CP support Steps className and style
* fix lint
* fix: remove useMemo
* docs: update docs
* Update index.tsx
* fix
2023-06-25 11:42:31 +08:00
lijianan
36a5392f99
feat: CP support Segmented className and style ( #43072 )
...
* feat: CP support Segmented className and style
* fix: remove useMemo
* docs: update docs
* update docs
2023-06-25 09:32:53 +08:00
MadCcc
7322aa6f5f
Revert "chore: migrate to vitest ( #42506 )" ( #42900 )
...
This reverts commit 6759887c44
.
2023-06-07 21:59:21 +08:00