EmilyyyLiu
7baf1851ef
feat(Slider): unify orientation attribute usage ( #53671 )
...
* test:useOrientation add test
* feat: util, delete type direction
* feat: change useVertical and useOrientation
* feat: change useOrientation ts
* feat: change useOrientation and test
* feat: change useOrientation types
* feat: change ts
* feat: const-function
* feat: delect includes
* feat[Slider]: Unified use of orientation attribute
* feat: change useOrientation ,Reduce return
* feat: useOrientation ,change params name
* feat: useOrientation ,mergedOrientation
* docs: Modify document format
* docs: Modify the sorting of document properties
* docs: Modify the sorting of document properties(2)
* feat: add isValidOrientation
---------
Co-authored-by: 刘欢 <lh01217311@antgroup.com>
2025-05-16 16:07:36 +08:00
EmilyyyLiu
62c9814ba7
feat: Replace 'rc-notification' with '@rc-component/notification' ( #53319 )
...
* feat:依赖新增@rc-component/notification
* feat: 对notification的closable改造,并将rc-notification使用修改为@rc-component/notification
* @rc-component/notification已经删除closeIcon,use Message删除closeIcon的配置
* reactivate PR
* feat: 修改notification mergedCloseIcon 的获取方式,并增加useClosable 非hook的方法
* 补充computeClosable方法的单测
* 补充computeClosable 方法单测
* test: 补充行覆盖率
* 提高useClosable代码复用
* feat: Add missing type definitions due to merging
* test: Supplement the row coverage of computeClassable method
* test: Supplement the row coverage of computeClassable method(2)
* test: Supplement the row coverage of computeClassable method(3)
---------
Co-authored-by: 刘欢 <lh01217311@antgroup.com>
2025-05-15 11:53:38 +08:00
Jianan Li
f88e6782b2
chore: merge feature into next
2025-05-07 12:24:39 +08:00
thinkasany
6250afb281
chore: sync master into feature
2025-05-06 14:42:27 +08:00
𝑾𝒖𝒙𝒉
e0dd36e7dd
♻️ refactor: try to merge similar function methods to reduce the bundle size. ( #53685 )
2025-05-06 10:24:10 +08:00
thinkasany
26ba87e4fb
chore: sync feature into next
2025-04-24 21:13:27 +08:00
kiner-tang(星河)
5236fa8d26
feat: Optimized closable component's aria props ( #53410 )
...
* feat: Optimized closable component's aria props
* Update components/_util/hooks/useClosable.tsx
Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: kiner-tang(星河) <1127031143@qq.com>
* feat: opt code
* feat: opt code
* feat: opt code
* feat: opt code
* feat: opt code
* feat: opt code
* feat: opt code
* feat: opt code
* chore: add a11y def
* chore: update a11y ts
* chore: clean up
* chore: clean up
* docs: update demo
---------
Signed-off-by: kiner-tang(星河) <1127031143@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2025-04-24 18:36:18 +08:00
thinkasany
8975c77f5a
feat: ConfigProvider support classNames and styles for menu ( #53324 )
...
* feat: ConfigProvider support classNames and styles for menu
* fix
* fix type
* demo opt
* fix
* fix
* chore: fix ts
* chore: fix ts
* chore: must fill
* chore: other filled
* chore: adjust logic
* chore: fix cov
---------
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2025-04-22 17:03:26 +08:00
EmilyyyLiu
364b6f3134
feat: Configure the aria attribute to the button node of the Modal ( #53289 )
...
* feat: Configure the aria attribute to the button node of the Modal
* 改正ariaProps类型
* useClosable导出增加data类型的定义
---------
Co-authored-by: 刘欢 <lh01217311@antgroup.com>
2025-04-17 19:49:28 +08:00
二货爱吃白萝卜
0a50c71d59
refactor: Align the structure of semantic interface ( #53453 )
...
* chore: looper
* refactor: merge logic
* chore: comment
* chore: image semantic
* test: fix test case
* chore: fix lint
* chore: fix lint
* chore: show the strcture
* chore: desc update
2025-04-09 17:58:16 +08:00
Wanpan
e278f15337
feat: Splitter support classNames and styles ( #53225 )
...
* feat: Splitter support classNames and styles
* feat: update
* feat: suuport ConfigProvider
* feat: typo
* feat: update
* feat: update
* feat: typo
* chore: tmp of merging
* chore: fin the merge logic
* chore: fix merge logic
* test: update test case
* chore: update snap
* chore: typo
---------
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2025-03-20 21:46:07 +08:00
thinkasany
23b87104d6
feat: ConfigProvider support classNames and styles for image ( #53028 )
...
* feat: ConfigProvider support classNames and styles for image
* save
* feat: add useSemanticClassNames hook
* chore: same logic
* chore: connect logic
* fix: style
* refactor: part of it
* refactor: motion style
* chore: fix style
* chore: preview style
* chore: sem
* chore: sem update for layout
* chore: more structrue
* chore: all classNames
* test: update test
* test: update test case
* chore: bump rc-image
* test: update snapshot
* chore: update demo
* chore: bump rc-image
* chore: bump rc-image
* docs: fix demo
* chore: clean up
* chore: unique code
* chore: fix lint
* chore: bump rc-image
* test: add deprecated warning
* docs: update docs
* docs: order api
* docs: update docs
* docs: update docs
* docs: update docs
* docs: update docs
* chore: clean up
* chore: translate
* docs: fix logic
---------
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2025-03-19 10:53:02 +08:00
thinkasany
ccda2d51da
feat: ConfigProvider support classNames and styles for Modal ( #52340 )
2025-01-23 18:06:17 +08:00
lijianan
ab0e07e25d
refactor: [v6] use rc-component ( #52337 )
...
Publish Any Commit / build (push) Waiting to run
✅ test v6 / lint (push) Waiting to run
✅ test v6 / test-react-legacy (18, 1/2) (push) Waiting to run
✅ test v6 / test-react-legacy (18, 2/2) (push) Waiting to run
✅ test v6 / test-node (push) Waiting to run
✅ test v6 / test-react-latest (dom, 1/2) (push) Waiting to run
✅ test v6 / test-react-latest (dom, 2/2) (push) Waiting to run
✅ test v6 / test-react-latest-dist (dist, 1/2) (push) Blocked by required conditions
✅ test v6 / test-react-latest-dist (dist, 2/2) (push) Blocked by required conditions
✅ test v6 / test-react-latest-dist (dist-min, 1/2) (push) Blocked by required conditions
✅ test v6 / test-react-latest-dist (dist-min, 2/2) (push) Blocked by required conditions
✅ test v6 / test-coverage (push) Blocked by required conditions
✅ test v6 / build (push) Waiting to run
✅ test v6 / test lib/es module (es, 1/2) (push) Waiting to run
✅ test v6 / test lib/es module (es, 2/2) (push) Waiting to run
✅ test v6 / test lib/es module (lib, 1/2) (push) Waiting to run
✅ test v6 / test lib/es module (lib, 2/2) (push) Waiting to run
👁️ Visual Regression Persist Start / test image (push) Waiting to run
* refactor: use @rc-component
* chore: adjust compile
* test: fix logic
* chore: back of reset
---------
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2025-01-10 14:14:31 +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
栗嘉男
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
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
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
二货爱吃白萝卜
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
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
叶枫
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
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
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
1b2362a425
type: rm useless type ( #46920 )
...
* type: rm useless type"
* update size-limit
2024-01-11 15:11:55 +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
二货爱吃白萝卜
6aff196c90
fix: Static method provides wrong zIndex context ( #46012 )
...
* fix: static confirm should has correct zIndex
* test: update test case
* chore: reorder
* fix: bump logic
2023-11-22 18:02:32 +08:00
kiner-tang(文辉)
ef9971c8ee
fix: Fixed image preview in a nested modal where z-index Settings did not meet expectations ( #45979 )
2023-11-21 15:53:39 +08:00
二货爱吃白萝卜
dc25579c20
fix: zIndex miss of message ( #45911 )
...
* fix: zIndex miss of message
* fix: modal static index
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: fix zIndex test
* test: update test case
* chore: clean up
* test: coverage
2023-11-17 10:54:19 +08:00
kiner-tang(文辉)
2777d2c39f
fix: Fixed an issue where the z-index setting of the pop-up component was abnormal in the pop-up container ( #45864 )
...
* fix: Fixed an issue where the z-index setting of the pop-up component was abnormal in the pop-up container
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* Update components/popconfirm/index.tsx
Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>
---------
Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>
2023-11-14 18:01:23 +08:00
二货爱吃白萝卜
c31fc76443
fix: Dropdown with nest menu zIndex error ( #45761 )
...
* chore: fix zIndex logic
* chore: detect if needed
* docs: update bug version
* test: update snapshot
* test: update snapshot
* test: update snapshot
2023-11-09 19:07:22 +08:00
kyriewen
5a45276565
feat: Add useMultipleSelect hooks, transfer supports multiple select by holding down the shift key. ( #45285 )
...
* feat: add useMultipleSelect hooks
* docs: update README
* chore: update size limit
* refactor: prevSelectedIndex ref to state、initial value
* refactor: useMultipleSelect
* refactor: reset last select key after deselect
* chore: useMultipleSelect params type
* refactor: should params key be in useMultipleSelect hooks
* feat: getKey must be required
* chore: useless code
* refactor: remove useless code
* feat: onItemSelect params event must be required
* feat: remove params event
* chore: remove onItemSelect params event; refactor transfer listBody onClick fnName
* revert(modal): revert modal demo dark
* refactor: props onItemSelect
* refactor: onItemSelect fn name
* refactor: transfer children type
* refactor: renderList props
* test: add test case
* chore: args -> arguments
* test(transfer): add test case
---------
Signed-off-by: kyriewen <64134946+zbw-zbw@users.noreply.github.com>
Co-authored-by: zbw01218944 <zbw01218944@alibaba-inc.com>
2023-10-26 11:46:22 +08:00
kiner-tang(文辉)
e7402691c1
feat: z-index container opt ( #45490 )
...
* feat: container opt
* feat: container opt
* feat: container opt
* feat: container opt
2023-10-23 04:16:41 -05:00
kiner-tang(文辉)
dde36511e6
feat: Modal & Select support z-index context to manage z-index ( #45346 )
...
* feat: z-index manager
* feat: z-index manager
* feat: update snap
* chore: update site-limit
* feat: optimize code
* feat: optimize code
* feat: add test case
* 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
2023-10-19 02:03:20 -05:00
二货爱吃白萝卜
bef9539e22
feat: Table support scrollTo
reference
( #45245 )
...
* feat: add ref
* feat: table support reference
* chore: rename
* chore: proxy
* test: add test case
* chore: fix lint
* docs: update desc
* docs: update desc
* docs: update desc
* chore: clean up
* chore: fix lint
2023-10-11 13:55:20 +08:00
afc163
5c99a5ee49
type: fix type errors of React.Key ( #44938 )
...
* type: fix .dumi typing error
* type: fix React.Key type error
* type: fix React.Key type error
* type: fix React.Key type error
* type: fix React.Key type error
* Apply suggestions from code review
Signed-off-by: afc163 <afc163@gmail.com>
* fix: test case
* fix: test case
* chore: use @types/react latest version
* Apply suggestions from code review
Signed-off-by: afc163 <afc163@gmail.com>
* chore: update form def
* chore: more ts
* chore: revert demo ts
* chore: bump ver
* chore: fix more
* chore: fix demo
* chore: back of ci
* chore: fix ts
* chore: fix ts
* chore: part of it
* chore: fix ts
* chore: bump ver
* chore: fix lint
* chore: fix
* test: update test
---------
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-09-20 11:01:49 +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
Gundsambuu
cc76cac953
fix: ant-design/icons import refactor ( #43915 )
...
which reduces @ant-design/icons bundle size on nextJS 13.
2023-07-31 23:55:25 +08:00
kiner-tang(文辉)
378b54281b
refactor(Modal): refactor closeIcon ( #43017 )
...
* refactor: refactor closeIcon
* docs: update docs
* refactor(Drawer): refactor drawer closeIcon (#42993 )
* feat: optimize closeIcon
* refactor: refactor closeIcon
* docs: update docs
* feat: optimize code
* feat: update test case
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* docs: update docs
* ✨ feat: migrate less to token for Slider (#42428 )
* ✨ feat: migrate less to token for Slider
* ✨ feat: update snap
* ✨ feat: update style
* ✨ feat: update style
* ✨ feat: test ci
* ✨ feat: test ci
* ✨ feat: test ci
* ✨ feat: test ci
* ✨ feat: update
* ✨ feat: update snap
* ✨ feat: update
* ✨ feat: update
* ✨ feat: 删除未使用token
* ✨ feat: update doc
* ✨ feat: update dome
* ✨ feat: update
* ✨ feat: test ci
* 📝 doc: update doc
* ✨ feat: update
* ✨ feat: update
* ✨ feat: update
* ✨ feat: update
* ✨ feat: add demo
* ✨ feat: add demo
* ✨ feat: update for reviewer
* ✨ feat: update for reviewer
* ✨ feat: update for reviewer
* ✨ feat: update for reviewer
* ✨ feat: update for reviewer
* ✨ feat: update for reviewer
* ✨ feat: update for reviewer
* ✨ feat: update for reviewer
* Apply suggestions from code review
---------
Co-authored-by: MadCcc <1075746765@qq.com>
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* docs: update docs
---------
Co-authored-by: 黑雨 <wangning4567@163.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-06-16 15:36:28 +08:00
lijianan
ac5a06027e
revert: "chore: unified import method ( #42149 )" ( #42180 )
...
This reverts commit ea8ed28209
.
2023-05-06 15:49:37 +08:00
lijianan
ea8ed28209
chore: unified import method ( #42149 )
...
* chore: unified import method
* fix lint
2023-05-05 20:52:44 +08:00
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens ( #38722 )
2022-11-19 13:47:33 +08:00
lijianan
d292257e47
chore: type optimization ( #38460 )
2022-11-09 17:36:49 +08:00
二货机器人
b51c900847
refactor: rm useDestroy hook ( #34418 )
2022-03-10 18:54:32 +08:00
MadCcc
3effa51572
refactor: refactor useMounted to useDestroyed
2021-12-29 17:10:16 +08:00
MadCcc
285e2bd9ea
refactor: refactor useMountedRef to useMounted
2021-12-29 14:42:00 +08:00