lijianan
c3f41c19ba
refactor(types): replace Record with explicit object for better DX ( #56298 )
2025-12-22 10:47:06 +08:00
lijianan
f96282a4f9
refactor: reuse isNonNullable ( #55827 )
...
* refactor: reuse isNonNullable
* update
2025-11-23 16:25:26 +08:00
lijianan
a05df4d406
test: fix import path
2025-10-26 18:23:26 +08:00
lijianan
6cc19c10fc
chore: merge feature into next
2025-10-26 18:20:12 +08:00
lijianan
1be5555d57
Merge branch feature into next-merge-feature
2025-10-19 10:50:05 +08:00
thinkasany
2818ba6b87
chore: turn on react-hooks/immutability ( #55357 )
...
* chore: turn on react-hooks/immutability
* Update .dumi/theme/common/Color/Palette.tsx
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: thinkasany <480968828@qq.com >
---------
Signed-off-by: thinkasany <480968828@qq.com >
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: 遇见同学 <1875694521@qq.com >
2025-10-19 09:48:23 +08:00
lijianan
03ce2b26aa
refactor(type): use SemanticClassNamesType & SemanticStylesType ( #55240 )
2025-10-08 10:40:12 +08:00
lijianan
d90b059b7e
refactor: improve useMergeSemantic params order ( #55103 )
...
* update
* update
---------
Co-authored-by: thinkasany <480968828@qq.com >
2025-10-01 11:09:39 +08:00
lijianan
19137493b4
perf: uninstall classnames, install clsx ( #55164 )
...
* refactor: uninstall classnames & install clsx
* refactor: uninstall classnames & install clsx
* test: rename test fn
* test: update snap
* update
* update
* update
* update
* update snap
* update
* update
---------
Signed-off-by: lijianan <574980606@qq.com >
Co-authored-by: thinkasany <480968828@qq.com >
2025-10-01 00:45:54 +08:00
thinkasany
8a436833a8
refactor: semantic of message and notification ( #55199 )
...
* refactor: semantic of message and notification
* fix
* fix
* improve
2025-09-30 22:49:14 +08:00
nmsn
b8a5731195
feat(message): support better customization with semantic classNames/styles ( #55054 )
...
* feat(message): support better customization with semantic classNames/styles
* refactor: remove unnecessary useMemo from PurePanel
* Revert "feat(message): support better customization with semantic classNames/styles"
This reverts commit 1ae1e59793 .
* refactor(message): restructure the logic for semantic classNames and styles
* Update components/message/index.en-US.md
Signed-off-by: 遇见同学 <1875694521@qq.com >
* Update components/message/index.en-US.md
Signed-off-by: 遇见同学 <1875694521@qq.com >
* Update components/message/index.zh-CN.md
Signed-off-by: 遇见同学 <1875694521@qq.com >
* Apply suggestion from @Meet-student
Co-authored-by: 遇见同学 <1875694521@qq.com >
Signed-off-by: nmsn <136696700@qq.com >
* docs(message): unify and fix inconsistencies in Chinese and English documentation
* refactor(message): remove redundant ternary operator in PurePanel
* refactor(message): update style-class demo
* test(message): update snapshot tests for demo
* test(message): update classNames/styles function test case
* test(message): update site snap
* chore: update demo
* chore: update code styles and test
* chore: update demo
---------
Signed-off-by: 遇见同学 <1875694521@qq.com >
Signed-off-by: nmsn <136696700@qq.com >
Co-authored-by: thinkasany <480968828@qq.com >
Co-authored-by: lijianan <574980606@qq.com >
Co-authored-by: 遇见同学 <1875694521@qq.com >
2025-09-30 16:36:23 +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
EmilyyyLiu
ac256ab599
feat(Message): Next message pause on hover ( #53785 )
...
* feat(Message):add pauseOnHover
* test(message): add pauseOnHover test
* feat: update site snapshots
---------
Co-authored-by: 刘欢 <lh01217311@antgroup.com >
2025-05-09 22:12:39 +08:00
MadCcc
1ac0bcaa60
feat: use cssVar by default ( #52671 )
...
* feat: use cssVar by default
* chore: update deps
* chore: update snapshot
* chore: update snapshot
* chore: update snapshot
* chore: test
* chore: update
* chore: update scripts
* chore: UPDATE TEST
* feat: add root
* chore: update snapshot
* chore: fix test case
* chore: fix cycle deps
* feat: rm legacy css variables configuration
* chore: update test case
* chore: update
* chore: fix test
* chore: update overrides
* chore: bump cssinjs
* chore: add test case
2025-02-24 15:35:29 +08:00
thinkasany
9034edf5fb
feat: ConfigProvider support classnames and styles for message ( #52793 )
...
* feat: ConfigProvider support classnames and styles for message
* fix
* fix review issues
* fix
2025-02-14 15:14:32 +08:00
叶枫
8950642664
feat: config support holderRender ( #46596 )
...
* feat: config support container
* feat: add test
* feat: reset demo
* feat: test
* feat: test
* feat: test
* feat: test
* feat: md
* feat: limit
* fix: prefix
* feat: limit
* feat: message support app config
* feat: notification support app config
* feat: add maxCount test
* feat: icons
* feat: 增加 2 个 todo
* feat: holderRender
* feat: md
* feat: message 兼容旧逻辑
* feat: notification 兼容完成
* feat: modal 兼容完成
* feat: 优化 modal
* feat: 优化代码
* feat: 优化代码
* feat: 给 CP 添加 demo
* feat: 优先级完成/demo迁移完成
* feat: review
* feat: review
* feat: 优化 modal 代码
* feat: 支持 rtl
* feat: 修改注释
* feat: 优化单测
* feat: 优先级注释
* feat: remove getPrefixCls
* feat: demo
* feat: demo
* feat: demo
---------
Co-authored-by: MadCcc <madccc@foxmail.com >
2024-01-02 17:43:27 +08:00
MadCcc
2e0942ab26
refactor: separate cssVarCls from hashId ( #46424 )
...
* refactor: cssVarCls
* refactor: update
* chore: update
* fix: cascader & tree-select
* fix: ribbon
2023-12-14 14:58:53 +08:00
MadCcc
a7a3c51ee8
fix: remove useless hashId in Notice ( #46415 )
2023-12-13 11:04:41 +08:00
MadCcc
c4b8c9df93
refactor: genStyleHooks ( #46038 )
...
* refactor: genStyleHooks
* chore: update sciprt
* refactor: affix
* refactor: select
* chore: update
* refactor: update
* refactor: update
* refactor: done
* chore: code clean
* chore: code clean
* chore: fix lint
* chore: decrease size limit
* chore: code clean
* chore: code clean
* chore: remove export
2023-11-29 17:23:45 +08:00
kiner-tang(文辉)
ca03c7c53f
feat: message support cssVar ( #45797 )
2023-11-13 11:47:07 +08:00
kiner-tang(文辉)
4717b5c649
Merge branch 'master' into feature-merge-master
2023-09-16 11:11:47 +08:00
kiner-tang(文辉)
d5abbad8f1
refactor: deprecatedWarning ( #44791 )
...
* refactor: deprecatedWraning
* 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-09-13 22:07:33 +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
二货爱吃白萝卜
5cc338e177
refactor: All the warning set the warning type for future filter ( #44613 )
...
* feat: add warningContext
* refactor: part refactor
* chore: fix compile
* chore: part of it
* chore: part of it
* chore: part of it
* chore: fix lint
* chore: fix test
* chore: clean uo
* chore: hide warning def tmp
* chore: comment test
* chore: fix lint
* chore: refactor select icons
* chore: fix warning message
* test: update test
* chore: rm dead code
2023-09-11 17:28:04 +08:00
MadCcc
629efb7d5d
perf: Notification style should be generated when shown ( #44488 )
...
* fix: Notification style should be generated when shown
* chore: bump rc-notification
* chore: code clean
* feat: update
2023-08-29 19:31:12 +08:00
lijianan
90f464a27d
feat: CP support Message className and style ( #43333 )
...
* fix
* fix
2023-07-03 20:38:14 +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
Wuxh
218d8f441c
chore: Fix word spelling errors ( #40472 )
...
* chore: Fix word spelling errors
* chore: update
* chore: Argument name of useMessage (#1 )
---------
Co-authored-by: luo3house <96865086+luo3house@users.noreply.github.com >
2023-02-01 10:14:21 +08:00
JiaQi
a713bf7978
fix(Message): Message global static method 'config' setting duration is invalid ( #40232 )
...
Co-authored-by: Yuiai01 <dujiaqi@kezaihui.com >
2023-01-17 11:15:14 +08:00
lijianan
b35fbcf7ac
fix: type definition optimization & add key for useModal ( #39701 )
...
* fix: add key for useModal
* fix
* fix
* fix lint
* revert
2022-12-21 14:39:12 +08:00
Martin Litvaj
d93bca1c44
#39694 Fix "two children with the same key" warning when using <App /> ( #39695 )
2022-12-21 09:09:28 +08:00
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens ( #38722 )
2022-11-19 13:47:33 +08:00
二货机器人
b53b4cf620
chore: Add pure component of message ( #35931 )
...
* feat: Add pure component of message
* test: Updare snapshot
2022-06-07 23:29:12 +08:00
TrickyPi
49bd49f711
refactor(message): refactor to cssinjs ( #35565 )
2022-05-24 09:29:33 +08:00
afc163
2842524850
chore: sync master into next branch
2022-05-11 16:00:22 +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