Jony J
08a9325182
feat: add a11y test for components demo ( #51414 )
...
* test: add accessibility test utilities
* refactor(tests): replace polling with Promise chain for axe test queue management
* test: add a11y test for components demo
* feat: add a11y test utils
* test: add a11y test for components demo
* test: add a11y test for components demo
* chore: remove unnecessary code
* feat: add polyfill for test environment
* test: add a11y test for components demo
* test: add a11y test for components demo
* chore: adjust code style
2024-11-01 11:30:11 +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
Alina Andrieieva
a75c481ddf
feat(modal): Ingested changes from rc-dialog to disable modal close button ( #50522 )
...
Co-authored-by: Alina Andrieieva <Alina_Andrieieva@epam.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-09-18 23:31:06 +08:00
栗嘉男
5db0ecc0b0
chore: merge master into feature
2024-09-16 17:23:52 +08:00
lijianan
3b08dea83b
demo: rm ts-nocheck of demo ( #50878 )
2024-09-15 18:54:20 +08:00
afc163
884baa1fad
fix: Modal a11y warning issue ( #50823 )
...
close #50170
2024-09-12 10:17:33 +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
Arvin Xu
51d6a9bf38
chore: Add comments to Token related interfaces ( #50392 )
2024-08-13 18:18:59 +08:00
thinkasany
2fba70d33f
docs(modal): use Record<SemanticDOM> instead of classnames/styles type ( #50330 )
2024-08-09 17:04:34 +08:00
lijianan
ddcdb2a6a2
chore: update unit value ( #50258 )
2024-08-06 00:04:28 +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
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
栗嘉男
d5207c1e23
Merge branch 'master' into feature-merge-master
2024-07-26 10:18:06 +08:00
🏎️ Yumo
b71752ffb0
Merge branch 'master' into refactor/cssinjs-utils
2024-07-24 12:44:44 +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
5019af42b5
refactor(theme): migrate and refactor type TokenWithCommonCls
by @ant-design/cssinjs-utils
2024-07-23 17:49:35 +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
64f26bd970
refactor(theme): migrate and refactor type GlobalToken
by @ant-design/cssinjs-utils
2024-07-23 16:45:02 +08:00
github-actions[bot]
0681d6c7a2
chore: auto merge branches ( #50005 )
...
chore: merge master into feature
2024-07-22 08:39:11 +00:00
lijianan
2584ce6d50
chore: replace "ant" with defaultPrefixCls ( #49985 )
...
* chore: replace ant with defaultPrefixCls
* chore: fix lint
2024-07-20 14:17:11 +08:00
thinkasany
ad4e522724
docs: supplement type for classnames and styles ( #49984 )
...
* docs(modal): supplement type for classnames and styles
* fix
2024-07-20 09:19:05 +08:00
thinkasany
da1d8df417
type: support string | number ( #49810 ) ( #49855 )
...
* type(token): height / width support string | number
* rever
2024-07-14 00:36:43 +08:00
lijianan
8a090c951c
Revert "type(token): height / width support string | number" ( #49836 )
...
This reverts commit e4c31231ee
.
2024-07-12 10:12:56 +08:00
thinkasany
e4c31231ee
type(token): height / width support string | number ( #49810 )
...
* type(token): height / width support string | number
* rever
2024-07-10 23:15:06 +08:00
Wanpan
3c525cd3b9
docs: optimize Modal static method operation description ( #49752 )
...
* docs: Optimize Modal static method operation description
* docs: update
2024-07-07 01:54:37 +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
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
duqigit
b7208603ee
docs: update zh-CN demo ref link ( #49501 )
...
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-06-20 14:22:00 +08:00
红
d66ed648a1
deps: bump rc-dialog to 9.5.1 ( #49284 )
...
* deps: bump rc-dialog to 9.5.1
* chore: update
* chore(deps): bump rc-image to 7.9.0
* test: update case
* Revert "test: update case"
This reverts commit cdfbdbac1b
.
* test: update case
Co-authored-by: zombieJ <zombieJ@users.noreply.github.com>
* empty
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: zombieJ <zombieJ@users.noreply.github.com>
2024-06-07 16:42:14 +08:00
红
ab1acc720e
docs(modal): improve ( #49277 )
2024-06-06 16:03:47 +08:00
github-actions[bot]
9e367246d5
chore: auto merge branches ( #49189 )
...
chore: merge feature into master
2024-06-03 04:09:04 +00:00
thinkasany
403c9c05fe
docs(Modal): add closable description ( #49188 )
...
* docs(Modal): add closable description
* fix
2024-06-03 11:30:31 +08:00
栗嘉男
fa0c473afd
chore: merge master into feature
2024-05-26 11:56:58 +08:00
Wanpan
2e011a379d
fix modal.confirm unable to close normally when onCancel and onOk return true ( #49054 )
...
* fix: fix modal.confirm unable to close normally when onCancel and onOk return true
* test: update test case
2024-05-24 13:53:57 +08:00
afc163
9db0fc7440
type: fix Modal styles typing ( #49055 )
2024-05-24 13:49:45 +08:00
lijianan
7cdeecfe1e
feat: Modal support loading ( #48848 )
...
* feat: Modal support loading
* feat: Modal support loading
* chore: update skeleton className
* fix: fix
* demo: add LoadingOutlined
* fix: revert icon
* fix: fix
* fix: renderFooter
* fix: renderFooter
* demo: update demo
* demo: update demo
* demo: update demo
* chore: clear
* Update loading.tsx
Signed-off-by: 二货爱吃白萝卜 <smith3816@gmail.com>
* fix: fix
---------
Signed-off-by: 二货爱吃白萝卜 <smith3816@gmail.com>
Co-authored-by: 二货爱吃白萝卜 <smith3816@gmail.com>
2024-05-15 11:21:40 +08:00
Richard Zhang
6da1ad1c67
docs(modal): correct closable default value ( #48856 )
2024-05-10 11:38:53 +08:00
lijianan
029cb1dff0
test: rm legacy react-dom/test-utils
for compatible React-18.3.1 ( #48667 )
...
* test: rm legacy react-dom/test-utils for compatible React-18.3.0
* fix: fix
* chore: cls
* chore: update
* fix: fix
2024-04-28 09:52:54 +08:00
thinkasany
c648fd1513
docs(demo): Convert to lowercase ( #48415 )
2024-04-12 11:45:25 +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
MadCcc
5384a97f37
Merge pull request #48189 from ant-design/feature
...
chore: merge feature into master
2024-03-31 13:55:04 +08:00
kiner-tang
506753c3ef
feat: Tag support aria-* in closable ( #47678 )
...
* feat: Tag support aria-* in closable
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* refactor: useClosable
* chore: modal
* fix: check logic
* chore: clean up
* feat: optimize code
* feat: optimize code
---------
Signed-off-by: kiner-tang <1127031143@qq.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2024-03-31 11:56:55 +08:00
afc163
663004b426
fix: confirm content not centered when no icon ( #48173 )
...
* fix: confirm content not centered when no icon
* chore: add comment
2024-03-30 22:12:52 +08:00
github-actions[bot]
80f49bfcf2
chore: auto merge branches ( #48020 )
...
chore: merge master into feature
2024-03-23 16:15:34 +00: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
afc163
dfd342d985
Merge pull request #47931 from ant-design/master
...
chore: sync master to feature
2024-03-18 15:36:41 +08:00