afc163
66222a296b
chore: import rc-util from path ( #51087 )
2024-10-02 10:43:35 +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
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
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
栗嘉男
78c1fca2f0
chore: merge master into feature
2024-09-14 11:50:34 +08:00
二货爱吃白萝卜
ce1356559d
fix: ColorPicker hex precision ( #50843 )
...
* test: test driven
* fix: format logic
* chore: comment
* chore: rm useless lint rule
* chore: rm useless lint rule
* chore: rm useless lint rule
* chore: rm useless lint rule
2024-09-13 15:41:53 +08:00
二货爱吃白萝卜
82b05b209d
refactor: ColorPicker panel free for uncontrolled ( #50785 )
...
* refactor: change on drag will change panel color
* docs: update demo
* test: update snapshot
* chore: wrap with useEvent
* fix: order of events
* fix: sync logic
2024-09-11 10:46:30 +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
Yuno
3d54838d2a
docs: update color-picker onChage Docs ( #50656 )
2024-08-30 17:15:24 +08:00
Yuno
a0a22bdeeb
docs: update color-picker onChage Docs ( #50654 )
2024-08-30 17:06:12 +08:00
Andrew Busch
20fbb8e464
chore: Rename ColorPickerProps.onChange string param ( #50604 )
2024-08-28 11:57:13 +08:00
二货爱吃白萝卜
7edf9315d7
fix: onComplete directly case ( #50501 )
2024-08-20 17:40:35 +08:00
二货爱吃白萝卜
72fda1a8a0
docs: rm useless demo ( #50449 )
2024-08-16 16:46:30 +08:00
Arvin Xu
51d6a9bf38
chore: Add comments to Token related interfaces ( #50392 )
2024-08-13 18:18:59 +08:00
二货爱吃白萝卜
c23d1875fe
fix: ColorPicker not support compact ( #50291 )
...
* fix: ColorPicker not support compact
* test: update snapshot
* test: update snapshot
2024-08-07 23:18:34 +08:00
lijianan
ddcdb2a6a2
chore: update unit value ( #50258 )
2024-08-06 00:04:28 +08:00
Meetacoo
2432422062
docs(ColorPicker): Update line-gradient.md ( #50239 )
...
Signed-off-by: Meetacoo <37367461+Meetacoo@users.noreply.github.com>
2024-08-05 16:50:11 +08:00
ice
f4b585af5f
fix(color-picker): In disabled state, cursor is no-allowed ( #50217 )
2024-08-03 16:42:19 +08:00
vagusX
14a9449de9
fix: unit for line-height for ColorPicker ( #50220 )
...
* fix: unit for line-height for ColorPicker
* chore: update
2024-08-03 16:39:46 +08:00
二货爱吃白萝卜
aebc23fea8
enhance: color picker click ( #50148 )
2024-07-30 17:39:13 +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
栗嘉男
049915566d
Merge branch 'master' into master-merge-feature
2024-07-29 01:39:20 +08:00
lijianan
e8fa5938ab
site: rewrite with CSS logical properties ( #50109 )
...
* 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
---------
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-07-28 10:43:45 +08:00
栗嘉男
d5207c1e23
Merge branch 'master' into feature-merge-master
2024-07-26 10:18:06 +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
栗嘉男
7e74c4fa64
chore: merge master into feature
2024-07-19 20:53:26 +08:00
红
f0bc8b5021
chore(color-picker): improve TS type ( #49949 )
...
* chore(color-picker): improve TS type
* Update components/color-picker/index.en-US.md
Co-authored-by: thinkasany <480968828@qq.com>
Signed-off-by: 红 <wxh16144@qq.com>
---------
Signed-off-by: 红 <wxh16144@qq.com>
Co-authored-by: thinkasany <480968828@qq.com>
2024-07-19 11:04:46 +08:00
二货爱吃白萝卜
5dd072d3a0
refactor: Use @ant-design/fast-color
instead ( #49846 )
...
* chore: use fast
* chore: tmp of it
* test: update snapshot
* fix: demo
* chore: fix warning
* fix: test
* chore: fix ts
* chore: fix lint
* test: update snapshot
* chore: use proxy
* test: coverage
2024-07-15 17:33:47 +08:00
github-actions[bot]
05d107ce4d
chore: auto merge branches ( #49556 )
...
chore: sync master to feature
2024-06-22 15:30:17 +00: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
lijianan
666f38d756
refactor: add ContextIsolator component ( #49438 )
...
* refactor: add ContextIsolator component
* fix: fix
* fix: fix
* test: fix test case
* test: add test case
---------
Co-authored-by: afc163 <afc163@gmail.com>
2024-06-21 02:10:21 +08:00
lijianan
9c91bdb9a8
Merge pull request #49425 from ant-design/master
...
chore: merge master into feature
2024-06-15 16:41:47 +08:00
Wanpan
329a346473
fix: Collapse expandIcon aria-label adds semantic attribute value ( #49395 )
...
* fix: Collapse expandIcon aria-label adds semantic attribute value
* test: update snap
* test: update test case
* test: update snap
2024-06-13 15:14:48 +08:00
DerianRambo
b29c314b4c
docs: improved grammar on certain documentation pages ( #49374 )
...
* button documentation grammar fixes
* english float button documentation changes
* english documentation grammar changes for icons
* english typography documentation grammar changes
* english divider documenation changes
* english layout documentation fixes
* english cascader documentation improvements
* english color-picker documentation changes
* english date-picker documentation changes
* english form documentation changes
* English documentation changes for select
* English documentation changes for slider
* English documentation changes for time-picker
* English documenation changes for transfer
2024-06-12 14:27:15 +08:00
MadCcc
ce176a8cd2
fix: clearedColor should be changed when initial value is undefined ( #48584 )
2024-04-23 10:02:45 +08:00
MadCcc
0a7e225863
fix: ColorPicker default clear value should change if set ( #48450 )
...
* fix: ColorPicker default clear value should change if set
* chore: code clean
---------
Co-authored-by: afc163 <afc163@gmail.com>
2024-04-16 10:55:15 +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
lijianan
570c1be492
site: add component version to meta ( #48226 )
...
* site: add component version to meta
* Update .dumi/theme/builtins/ComponentMeta/index.tsx
Signed-off-by: afc163 <afc163@gmail.com>
---------
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-04-02 16:33:57 +08:00
lijianan
0a79a79bc7
docs: update sidebar style of website ( #48224 )
...
* docs: update GetRef/GetProp/GetProps docs
* fix: fix
* fix: fix
* fix: fix
* fix: fix
* fix: fix
2024-04-02 14:05:03 +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
1cb644d476
fix: color picker controlled value ( #47816 )
...
* fix: fix control value not show in dom
* chore: update title
* add test case
* change test title
* fix: cleared color should change after controlled value changed
* chore: code clean
* test: change test
* comment
* fix: should respect empty string
* test: add test case
* chore: update demo
---------
Co-authored-by: tanghui <yoyo837@hotmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-03-25 20:10:47 +08:00
lijianan
87debac578
chore: rename variables merge
=> merged
( #48048 )
2024-03-24 10:56:28 +08:00
叶枫
e17cd4ae27
test: keep spaces ( #47024 )
...
* feat: snap
* feat: up snap
2024-03-22 20:49:55 +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
Cooper
be1d14d4cb
docs: text optimize ( #48012 )
2024-03-22 11:57:58 +08:00
Roxannej
d8982a6def
docs: colorpicker text optimize ( #48008 )
2024-03-22 08:10:56 +08:00
afc163
7d9bc97c9b
style: add ColorPicker clear icon hover style ( #47761 )
2024-03-08 10:19:23 +08:00
Konv Suu
e727b04fa6
fix(color-picker): clear-trigger extends cursor prop from parent ( #47055 )
2024-01-19 22:01:37 +08:00
lijianan
943072704c
Merge branch master into master-merge-feature
2024-01-11 16:14:48 +08:00
二货爱吃白萝卜
e7aa014c31
chore: Add type util ( #46923 )
...
* docs: init
* chore: all types
* docs: faq
* chore: fix lint
2024-01-11 15:55:58 +08:00