Commit Graph

15 Commits

Author SHA1 Message Date
Eden Wang
1a250cef7e
feat(notification): support pauseOnHover props (#49024) 2024-05-27 13:35:37 +08:00
Eden Wang
860fd57276
feat(notification): add show progress option and update docs (#48353)
* feat(notification): add show progress option and update docs

* feat(notification): update style for progress

* fix: lint issues and add version for the doc

* feat: upgrade rc-notification and update the style changes

* test: update test snapshots

* fix: update changes base on the conversation

* fix: update bg base on the conversation

* fix: use primary color for progress bg

* docs: update doc changes

Co-authored-by: kiner-tang <1127031143@qq.com>
Signed-off-by: Eden Wang <yociduo@vip.qq.com>

---------

Signed-off-by: Eden Wang <yociduo@vip.qq.com>
Co-authored-by: kiner-tang <1127031143@qq.com>
2024-05-17 15:39:30 +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
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
二货爱吃白萝卜
7664f39d8b
feat: notification support duration (#47141)
* feat: notication support duration

* test: update test
2024-01-24 15:25:56 +08:00
lijianan
1b2362a425
type: rm useless type (#46920)
* type: rm useless type"

* update size-limit
2024-01-11 15:11:55 +08:00
MadCcc
c5bed69883
feat: notification support stack (#44618)
* feat: notification stack

* feat: notification support stack

* docs: add demo

* fix: message animation

* chore: better imports

* test: fix pure panel

* feat: code optimize

* chore: update snapshot

* chore: update test case

* test: update test

* chore: update deps

* chore: bump rc-notification

* feat: add backdrop filter

* chore

* feat: add token colorBgBlur

* chore: bump

* feat: update colorBgBlur in dark mode

* fix: compatible with safari

---------

Signed-off-by: MadCcc <1075746765@qq.com>
2023-09-13 15:19:18 +08:00
kiner-tang(文辉)
7d16256d7b
refactor(Notification): notification support hidden close button when closeIcon setting to null or false (#42927)
* feat: notification support hidden close button when closeIcon setting to null or false

* feat: reset prettier format
2023-06-12 14:20:10 +08:00
GUAN MING
75da87d730
feat(notification): support role prop (#42484)
* fix: version error

* fix: version error

* docs: update version

* docs: add version column

* docs: fix CN docs

* docs: update default value
2023-05-19 18:21:31 +08:00
lijianan
025cdeccc5
fix: master CI fail fix (#42253)
* fix: master CI fail fix

* fix
2023-05-10 17:42:07 +08:00
smallbun
c5ab19862a
type: getContainer support return ShadowRoot type (#40206) 2023-05-10 14:37:48 +08:00
Martijn
947f86f178
type: Add placement to NotificationConfig (#40908)
* Add placement to NotificationConfig

* Update useNotification.tsx

---------

Co-authored-by: Martijn Dormans <martijn.dormans@whyellow.nl>
Co-authored-by: Wuxh <wxh16144@qq.com>
2023-02-24 18:13:49 +08:00
susuhhhhhh
a89d0f4861
type: optimize type (#40892) 2023-02-23 16:38:06 +08:00
MadCcc
2471bf88aa test: fix test 2022-10-11 21:33:29 +08:00
二货机器人
2341a25d91
feat: refactor useNotification (#35423)
* more refactor

* chore: motion support

* chore: tmp test

* test: Hooks

* chore: static function

* tmp of it

* all of it

* mv prefix

* chore: clean up

* chore: clean up

* more test case

* test: all base test

* test: all test case

* init

* refactor: rm notification.open instance related code

* follow up

* refactor: singlton

* test: notification test case

* refactor to destroy

* refactor: message base

* test: part test case

* test: more

* test: more

* test: all test

* chore: clean up

* docs: reorder

* chore: fix lint

* test: fix test case

* chore: add act

* chore: back

* chore: fix style

* test: notification test

* test: more and more

* test: fix more test

* test: index

* test: more & more

* test: fix placement

* test: fix coverage

* chore: clean up

* chore: bundle size

* fix: 17

* chore: more

* test: message

* test: more test

* fix: lint

* test: rm class in static

* chore: clean up

* test: coverage

* chore: fix lint
2022-05-11 14:26:18 +08:00