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
栗嘉男
0a75dfe6fd
chore: merge master into feature
2024-09-14 11:57:40 +08:00
栗嘉男
78c1fca2f0
chore: merge master into feature
2024-09-14 11:50:34 +08:00
二货爱吃白萝卜
22fb6f67fa
fix: invalid useApp warning ( #50829 )
...
* fix: invalid warning
* docs: back of demo
2024-09-12 14:11:43 +08:00
二货爱吃白萝卜
3b8ea07a8a
fix: Typography copyable support array children ( #50813 )
...
* test: test driven
* test: test driven
* fix: test case
2024-09-11 20:01:10 +08:00
github-actions[bot]
33533ff22c
chore: auto merge branches ( #50748 )
...
chore: merge master into feature
2024-09-07 04:19:01 +00:00
zhiwei liu
ce443fe413
chore: Update Wave component to use WaveComponent type ( #50709 )
2024-09-05 11:55:41 +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
github-actions[bot]
a33a09ee23
chore: auto merge branches ( #50476 )
...
chore: sync master to feature
2024-08-19 03:33:28 +00:00
ice
8a230505b8
type(tag): Optimize ts types ( #50427 )
2024-08-16 23:39:46 +08:00
github-actions[bot]
63720299d4
chore: auto merge branches ( #50403 )
...
chore: merge master into feature
2024-08-13 19:03:30 +00:00
红
e188445b22
fix(popover): arrow. pointAtCenter misalignment error ( #50260 )
...
* fix(popover): 'arrow. pointAtCenter' misalignment error
* chore: add debug demo
* chore: update snaphots
* chore: update
* chore: Reverse components/popover/demo/basic.tsx
* chore: update snaphots
* chore: skip debug demo test
* chore: update demo
* chore: update snapshot
* chore: skip debug demo test
ref: https://github.com/ant-design/ant-design/pull/50260#discussion_r1708926635
2024-08-12 11:56:29 +08:00
lijianan
4c2a2b0c0d
feat: FloatButton support dynamic z-index ( #50311 )
...
* feat: FloatBtn support dynamic z-index
* feat: FloatBtn support dynamic z-index
* test: fix test case
* fix: fix
* test: add test case
* test: fix test case
* chore: clear
2024-08-09 22:22:45 +08:00
ice
a711cf4039
test(getScroll): When window is undef ( #50266 )
...
* test(getScroll): When window is undef
* test: document -> null
* test: mock
2024-08-07 20:11:57 +08:00
hzyhbk
85392db76c
docs: update components/_util/index.zh-CN.md ( #50235 )
...
修改错别字
2024-08-05 12:50:19 +08:00
renovate[bot]
7fdfb299eb
chore(deps): update dependency @typescript-eslint/parser to v8 ( #50228 )
...
* chore(deps): update dependency @typescript-eslint/parser to v8
* Update package.json
Signed-off-by: afc163 <afc163@gmail.com>
* fix eslint errors
---------
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-08-04 12:24:35 +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
🏎️ Yumo
64f26bd970
refactor(theme): migrate and refactor type GlobalToken
by @ant-design/cssinjs-utils
2024-07-23 16:45:02 +08: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
二货爱吃白萝卜
6570a541d9
chore: warning instead of block ( #49720 )
...
* chore: warning instead of block
* docs: back of demo
2024-07-04 15:44:32 +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
lijianan
41fba82b39
refactor: code optimization ( #49431 )
...
* refactor: refactor InputAddon code
* fix: fix
* fix: fix
* Update components/_util/InputAddon.tsx
Signed-off-by: afc163 <afc163@gmail.com>
* fix: fix lint
---------
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-06-16 15:44:18 +08:00
lijianan
31b2e53755
chore: replace "ant-" with ${defaultPrefixCls}
( #49390 )
...
* fix: classname of the Radio & Checkbox would not follow CP
* test: add test case
* test: add test case
* test: update path
* fix: fix
* chore: revert
* chore: revert
* chore: revert
* chore: revert
* chore: revert
2024-06-15 15:41:58 +08:00
lijianan
ecc78e178a
chore: rm useless second param ( #49426 )
...
* chore: rm useless param
* Update components/watermark/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* fix: fix
---------
Signed-off-by: lijianan <574980606@qq.com>
2024-06-15 15:39:01 +08:00
lijianan
d118e31fe2
type: update useUniqueMemo params type ( #49389 )
2024-06-13 09:32:28 +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
红
e7d7a0b3cd
chore(TS): add comments to TS type methods ( #49224 )
2024-06-04 21:00:20 +08:00
二货爱吃白萝卜
145aa3f68d
fix: Safari ellipsis ( #49221 )
...
* fix: Safari ellipsis
* test: update snapshot
2024-06-04 19:14:12 +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
lijianan
4eefc49e8f
fix: fix /es path to /lib path ( #48914 )
2024-05-14 13:56:18 +08:00
Wanpan
c3cf0ded65
fix: fix Button findDOMNode error ( #48830 )
...
* fix: fix Button findDOMNode error
* test: update test case
* fix: optimize code
* Update components/_util/wave/WaveEffect.tsx
Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: Wanpan <wanpan96@163.com>
* fix: optimize code
* fix: update test
* fix: update test
---------
Signed-off-by: Wanpan <wanpan96@163.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-05-10 10:47:16 +08:00
希亚的西红柿
9acde83991
feat: add tabindex option for paragraph button ( #48567 )
...
* feat: add tabIndex option for paragraph
* test: update snapshot
* test: update test case
* revert: revert the testcase
* test: update test case
* fix: fix the coverage test
* chore: code optimize
* Update index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update CopyBtn.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update transButton.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update copy.test.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update CopyBtn.tsx
Signed-off-by: lijianan <574980606@qq.com>
---------
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-04-24 18:06:38 +08:00
LiveTembiso
f460b48e8f
docs: Fixed typo ( #48393 )
...
Signed-off-by: LiveTembiso <livetembiso0@gmail.com>
2024-04-11 12:09:37 +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
52df99f9bf
refactor: use css token ( #48311 )
...
* refactor: use css token
* style: update
2024-04-07 15:36:38 +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
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
lijianan
405394a8e4
Merge pull request #48133 from ant-design/master
...
chore: merge master into feature
2024-03-28 10:54:52 +08:00
lijianan
3e156b0a7f
docs: add more JSDoc ( #48101 )
2024-03-26 23:01:04 +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
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
github-actions[bot]
80f49bfcf2
chore: auto merge branches ( #48020 )
...
chore: merge master into feature
2024-03-23 16:15:34 +00:00
Christine Tang
a3077e449e
test: rm unnecessary async ( #48033 )
...
* chore: rm unnecessary React.useMemo
* Revert "chore: reset commit"
This reverts commit 2fa5df5185
.
* test: rm unnecessary async
2024-03-22 21:29:19 +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
二货爱吃白萝卜
bd995468aa
chore: fix GetRef for some case ( #47983 )
...
* chore: fix GetRef for some case
* test: add type test
* docs: add util doc
* fix: en
* chore: add logo
2024-03-21 15:55:40 +08:00
叶枫
47bd5ecccc
Typography support collapse ( #47264 )
...
* feat: typograohy support collapse
* feat: snap
* feat: test
* feat: 单测不符合预期
* feat: test
* feat: 恢复
* feat: test
* feat: test
* feat: 修改命名
* feat: 代码优化
* feat: 添加控制台提示
* feat: snap
* feat: symbol support function
* feat: snap
* fix: text
* feat: snap
* feat: api 修改
* feat: key 修改
* feat: 去掉参数
* feat: lint
* feat: snap
* feat: test
* feat: use 2
* feat: review
* feat: test
* chore: part of it
* chore: fix auto collapse logic
* feat: 修改 doc 单测
* feat: doc
* test: update testcase
* docs: add more
---------
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2024-03-20 11:39:03 +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