二货爱吃白萝卜
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
renovate[bot]
bcc5d113bc
chore(deps): update dependency @types/react to v18.2.66 ( #47798 )
...
* chore(deps): update dependency @types/react to v18.2.66
* Update package.json
Signed-off-by: afc163 <afc163@gmail.com>
* fix: React LegacyRef
* type: fix ref type
* type: fix ref type
* type: fix ref type
* type: fix ref type
* type: fix ref type
* type: fix ref type
* chore: fix lint 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-03-16 21:41:25 +08:00
章鱼怪
c8635a7bc0
feat: improve Transfer key
type ( #47879 )
...
* feat: add Transfer's key type
* docs: update prop
* fix: key type
* fix: cycle dependency
2024-03-14 21:14:21 +08:00
kiner-tang
bb85712f71
feat: Notification support aria-* in closable ( #47710 )
...
* feat: Notification support aria-* in closable
* feat: optimize code
2024-03-06 11:53:05 +08:00
kiner-tang
15216614ed
feat: Drawer support aria in closable ( #47543 )
...
* feat: drawer support aria in closable prop
* 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
2024-02-28 14:11:15 +08:00
lijianan
271daafa39
feat: CP support Input.TextArea allowClear、autoComplete、className、classNames、style、styles ( #47589 )
...
* feat: CP support Input allowClear
* feat: CP support Input allowClear
* fix: fix
* fix: fix
* revert
* revert
* Update Input.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update getAllowClear.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update getAllowClear.tsx
Signed-off-by: lijianan <574980606@qq.com>
* test: add test case
---------
Signed-off-by: lijianan <574980606@qq.com>
2024-02-28 09:54:48 +08:00
栗嘉男
cb789d9d14
chore: merge master into feature
2024-02-24 15:51:51 +08:00
lijianan
9836a74086
chore: rm unnecessary export ( #47568 )
2024-02-24 14:50:03 +08:00
lijianan
cf51b5f34d
feat: CP support collapse expandIcon ( #47473 )
...
* feat: CP support Avatar icon
* fix: fix
* fix: fix
* test: fix test case
* fix: fix
* fix: fix type
* Update avatar.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update avatar.tsx
Signed-off-by: lijianan <574980606@qq.com>
---------
Signed-off-by: lijianan <574980606@qq.com>
2024-02-20 14:02:43 +08:00
lijianan
395ba88fd6
type: rm useless type ( #47205 )
2024-01-29 11:45:56 +08:00
vagusX
2aca1fff22
feat: make statistic component support html role and data-* and aria-* attributes ( #47149 )
...
* feat: make statistic component support html attributes
* fix: types
* chore: improve
* feat: use pickAttrs for data-* and aria-* and role
2024-01-26 15:27:02 +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
lijianan
1b2362a425
type: rm useless type ( #46920 )
...
* type: rm useless type"
* update size-limit
2024-01-11 15:11:55 +08:00
lijianan
bc5752eb6f
chore: merge master into feature
2024-01-03 08:54:15 +08:00
lijianan
0b6356d984
chore: rename file .tsx => .ts ( #46759 )
...
* chore: rename file .tsx => .ts
* fix: fix
* test: add test case
2024-01-03 08:45:11 +08:00
Eden Wang
28aaeafbbc
feat(mentions): supports 'allowClear' option ( #46396 )
...
* feat(mentions): supports 'allowClear' option
* feat(mentions): add allowClear testcase
* feat(mentions): update package and styles
* feat(mentions): update lint and styles
* fix: fixed lint error
* test: add case for custom clearIcon
* feat: add useAllowClear hook
* feat: rename useAllowClear to getAllowClear
* feat: rename useAllowClear to getAllowClear
* feat(mentions): add demo for allowClear
* feat(mentions): update demo desc
* feat(mentions): update demo desc
* feat(mentions): style align middle
* feat: add multi line mentions demo and update icon position
* feat: fixing visual regression report
---------
Co-authored-by: afc163 <afc163@gmail.com>
2023-12-25 10:37:26 +08:00
MadCcc
924f46fd88
feat: form support variant ( #46573 )
2023-12-22 10:05:15 +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
github-actions[bot]
7c21018f4f
chore: auto merge branches ( #46406 )
...
chore: merge master into feature
2023-12-12 11:28:30 +00:00