Commit Graph

17 Commits

Author SHA1 Message Date
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
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
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)
Some checks are pending
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
ice
8a230505b8
type(tag): Optimize ts types (#50427) 2024-08-16 23:39:46 +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
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