二货爱吃白萝卜
43d7b9ca92
feat: ConfigProvider.config support theme config ( #42473 )
...
* chore: static config of theme
* chore: static all method
* test: add test case
* docs: comment
* docs: more info
* test: update snapshot
* test: fix test logic
2023-05-18 23:53:34 +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
f6c661ef5a
chore(typo): improve typescript declaration ( #41907 )
...
* chore(typo): improve typescript declaration
* Revert "chore(typo): improve typescript declaration"
This reverts commit d34091199292c9699552e0b8adf0b222ceee5940.
* chore(typo): improve typescript declaration
* Update components/theme/interface/components.ts
* Update components/theme/index.ts
* Update components.ts
2023-04-26 14:53:23 +08:00
二货爱吃白萝卜
36f44575c8
chore: Static warning if exist theme in CP ( #41157 )
...
* chore: warning for dynamic theme
* chore: warning for static context
* chore: add ignore
2023-03-10 14:12:49 +08:00
susuhhhhhh
a89d0f4861
type: optimize type ( #40892 )
2023-02-23 16:38:06 +08:00
lijianan
bce4245d4f
type: fix type cannot jump ( #40864 )
2023-02-22 10:41:43 +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
28d1157d6b
type: optimization undefined type ( #40241 )
...
* type: optimization undefined type
* fix type
* fix type
* add
* revert
* revert
* revert
2023-01-16 09:55:52 +08:00
hms181231
39689bd81c
chore: Definition message.config type ( #38723 )
...
* chore: message config ts
* chore: message config test case
2022-11-19 15:24:28 +08:00
afc163
c2fb6f4842
chore: fix lgtm errors ( #38711 )
2022-11-18 23:34:07 +08:00
二货机器人
c720965d13
refactor: rename of _InternalPanelDoNotUseOrYouWillBeFired ( #36028 )
2022-06-13 17:55:00 +08:00
二货机器人
ec21769ec0
chore: Notification add PurePanel ( #35948 )
...
* chore: Notification add purePanel
* test: Update snapshot
* test: Update snapshot
2022-06-08 17:01:26 +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
二货机器人
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
Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
...
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
2022-05-07 14:31:54 +08:00
二货机器人
5b8e4e51e9
chore: Compatible for @types/react@18 ( #34937 )
...
* chore: bump types def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: free --legacy-peer-deps
* chore: ignore peer
* chore: fix ts logic
* chore: use fork docsearch
* chore: fix demo ts
2022-04-08 22:55:42 +08:00
zhao-huo-long
2282b1c580
chore: refactor message types implementation ( #34654 )
2022-03-23 14:49:57 +08:00
TrickyPi
537f4c357b
fix: del messageInstance when configuring getContainer ( #34123 )
...
* fix: del messageInstance when configuring getContainer
* test: move the new test to the bottom of the test lists
2022-02-21 12:31:39 +08:00
huangkairan
b03fae3f70
chore: fix types declaration ( #32935 )
2021-11-18 14:39:22 +08:00
Jtree03
0e7d82bdb4
refactor: Use getKeyThenIncreaseKey in message notice function ( #32642 )
2021-10-26 13:17:21 +08:00
chen-jingjie
204af50bff
fix(Message): typescript type error ( #32524 )
...
Co-authored-by: chenjingjie <chenjingjie@coding.net>
2021-10-18 10:22:27 +08:00
James
af422c9e46
fix: useMessage() should use getPopupContainer from <ConfigProvider />… ( #31939 )
...
* fix:useMessage() should use getPopupContainer from <ConfigProvider /> #31841
* fix: useMessage() should use getPopupContainer from <ConfigProvider /> #31841
* add test case for useMessage hook
* restore some changes
* try to restore files agains
* restore and keep the same as upstream master
* restore files
* restore some definition
2021-09-13 11:37:30 +08:00
二货机器人
eb70f00513
feat: ConfigProvider static function support iconPrefixCls
( #30925 )
...
* feat: Static iconPrefixCls
* feat: message & notification support iconPrefixCls
* docs: Update doc
* chore: Force update
* fix: ts def
2021-06-09 15:36:59 +08:00
二货机器人
2e5c848799
fix: message with prefixCls should not break ( #29574 )
...
* fix: compitable for legacy usage
* chore: Add modal warning
* fix lint
* test: ConfigProvider.config
2021-03-02 11:53:12 +08:00
afc163
76434a15df
chore( 🆙 ): upgrade devDeps ( #29418 )
...
* chore(🆙 ): upgrade devDeps
* prettier code
* fix dnd demo
* fix react-dnd demo
* fix npm start and demo tsx compile
* fix snapshot
2021-02-23 10:45:11 +08:00
叶枫
10c326ee94
feat: 添加全局静态配置 ( #29285 )
...
* feat: 添加全局静态配置
* chore: change globalConfig
* chore: change globalPrefixCls
* chore: review
* feat: 恢复 message 静态 prefix
* feat: modal
* feat: notification
* fix: prefix
* fix: prefix
* fix: 添加 test
* chore: review
* docs: doc
* chore: en
* chore: test
* fix: notification config set empty
* chore: link
* chore: change name
* chore: doc
* chore: doc
2021-02-09 21:49:15 +08:00
叶枫
6e89866694
feat: 动画样式添加 prefix ( #29268 )
...
* feat: add prefix
* fix: 剩余
* fix: test
* fix: test
* fix: test
* fix: test
* fix: 传了 name 则使用传的
* fix: pop 添加 prefix
* fix: Ok OK ?
* fix: modal confirm
* fix: select
* fix: test
2021-02-08 17:09:13 +08:00
Tom Xu
db7c425663
Merge pull request #28381 from ant-design/master
...
chore: merge master into feature
2020-12-16 15:24:20 +08:00
偏右
a3a64dca73
fix: message.loading return hide type ( #28362 )
2020-12-15 14:52:17 +08:00
偏右
32470b2b08
fix: improve message.then type ( #28304 )
...
close #28160
2020-12-11 09:39:58 +08:00
偏右
474dce90dc
Merge pull request #28273 from ant-design/master
...
chore: merge master into feature
2020-12-09 17:54:36 +08:00
dependabot[bot]
775d1800bb
chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0 ( #28253 )
...
* chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 6.15.0 to 7.0.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.15.0...v7.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* chore: fix eslint style
* chore: prettier code style
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2020-12-09 17:12:32 +08:00
ZeroToOne
08237bd6ae
feat: add onClick props to Message component ( #28131 ) ( #28148 )
...
* feat(message): add onClick method to Message component (#28131 )
* feat(message): remove unnecessary onClick method implementation
* test(message): update onClick test
* feat(message): add event parameter
2020-12-03 10:58:11 +08:00
二货机器人
3d5f9b0ac5
chore: bump rc-notification ( #26919 )
...
* chore: bump rc-notification
* test: fix on test
* test: Fix config.test
* fix test
* fix message test case
2020-09-28 00:41:16 +08:00
lihqi
cc37f7d189
fix: fix message.destroy parameter ( #26864 )
...
* fix: fix message.destroy parameter
* chore: use React.Key
2020-09-25 11:01:41 +08:00
lihqi
b92a9a5678
feat: message destroy the specified key ( #26052 )
...
close #25236
close #26054
2020-08-06 13:34:18 +08:00
07akioni
9951e583b6
Merge branch 'master' into resolve-conflict-1
2020-07-26 20:14:11 +08:00
偏右
436465bd8a
fix: ⌨️ improve Accessibility by adding role ( #25774 )
...
for Alert/message/notification
2020-07-23 15:00:14 +08:00
07akioni
01cec29a8e
feat: Message hooks API ( #25422 )
...
* chore: comment on usePatchElement
* refactor: conform message & notifaction code logic
* feat: message useMessage, wip
* feat: message.useMessage, it works now
* fix: promise on regular api
* feat: message hooks
* chore: fix lint
* chore: new line
* chore: revert new line
* refactor: prefixCls
* fix: prefixCls
* test: cov
* chore
* chore
* chore
* chore
* docs
* docs: message hooks faq
* test: remove useless config provider
* chore: remove some test codes
* chore
* docs: hooks version
2020-07-15 19:51:56 +08:00
Kermit Xuan
67a482f4e5
fix( #16659 ): support className and style for message ( #24024 )
...
* fix(#16659 ): support className and style for message;
* docs(message): update demo custom-style;
2020-05-11 12:11:15 +08:00
xrkffgg
18d424e5f6
style: add message rtl ( #22513 )
...
* style: add message rtl
* fix: change config
* fix: add rtl test
2020-04-04 13:35:36 +08:00
二货机器人
adb323cec2
chore: icons save bundle size without treeShaking ( #21752 )
...
* alert
* more icons
* another grouping
* all done
2020-03-02 12:09:38 +08:00
zefeng
5993fc3dcd
fix: crash when user dont pass icon props to message.open ( #21747 )
2020-03-02 10:26:26 +08:00
afc163
08f3643272
✅ resolve merge conflict
2020-01-03 12:09:35 +08:00
DiamondYuan
4297f33e85
fix: use Object.prototype.toString to check object ( #20546 )
...
close #20528
2019-12-30 22:14:17 +08:00
zombiej
d76283f2b9
merge master
2019-12-01 21:46:17 +08:00
二货机器人
64b905e9bd
chore: Update @ant-design/icons
deps ( #19979 )
...
* update icons deps
* update all icon ref
* fix lint
* update snapshot
2019-11-28 12:34:33 +08:00
邓波
d6430ad3f2
fix: update message content with a unique key and cancel manually ( #19967 )
2019-11-28 10:01:43 +08:00