Commit Graph

46 Commits

Author SHA1 Message Date
Xu Zhiwei
558ac8fce2
docs: default props of message.config (#31078)
Co-authored-by: xuzhiwei <“xuzhiwei@qtrade.com.cn”>
2021-06-22 13:33:01 +08:00
Tom Xu
e5d908a078
docs: format api (#29537) 2021-03-01 19:20:48 +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
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
afc163
7f8957eb9a docs(📖): improve useModal FAQ 2020-11-13 16:51:55 +08:00
Tom Xu
d44f404eae
docs: sort api (#27251)
* chore: improve sort api table scripts

* sort api

* add ignore

* Revert "sort api"

This reverts commit 343505d5f0.

* sort api

* Update package.json

* sort api

* Delete sort-api.js

* sort api

* sort api

* sort api

* fix

* Update index.zh-CN.md

* fix input-number

* fix input-number

* sort func

* fix

* Method moved to the end

* carousel method
2020-10-21 10:33:43 +08:00
Tom Xu
5f2588ffd1
docs: improve api type docs (#27038) 2020-10-09 10:08:52 +08:00
lihqi
b92a9a5678
feat: message destroy the specified key (#26052)
close #25236
close #26054
2020-08-06 13:34:18 +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
偏右
f7ed77b52f
feat: support Modal.config for prefixCls (#25603)
* chore: refactor test cases

*  support Modal.config

* fix lint

* remove extra default prefixCls value

* fix tsd

* docs: fix api

* Update components/message/index.en-US.md

Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
Co-authored-by: xrk <xrkffgg@gmail.com>
2020-07-14 11:14:46 +08:00
xrkffgg
cbd93324cc
docs: format api message/notification/progress (#25388) 2020-07-02 15:33:42 +08:00
xrkffgg
a5f3ac8348
docs: unite boolean in site (#25058)
* docs: unite boolean in site

* fix demo

* fix boolean

* add

* add

* add
2020-06-17 23:18:14 +08:00
Arvin Xu
dda650cc7b
docs: Update components cover (#24744)
* docs: Update components cover

#24629

* docs: Update components cover
2020-06-05 13:50:09 +08:00
偏右
882cec62d6
docs: 🌈 Add Components overview page (#24491)
* docs: Add components overview page

* fix detail

* remove ContributorsList form overview page

* fix components url

* improve code style

* remove extra file

* fix detail

* fix lint

* fix lint

* docs: Finish components overview page

* fix lint

* docs: Update cover

* fix lint

* update cover

* update menu

* improve overview page

* refactor code

* fix order

* update title

* add components count

* fix overview page ssr bug

* move less file

* update title margin

Co-authored-by: arvinxx <arvinx@foxmail.com>
2020-05-31 11:48:34 +08:00
xrkffgg
47b3aa2225
docs: add version prompt of message rtl (#24456) 2020-05-26 09:08:07 +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
e3e183ea39
docs: add rtl message/notification explanation (#23770)
* docs: add explanation for message/notification

* fix name

* fix

* add
2020-04-30 10:52:44 +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
陈小聪
e71a4ef10f docs: Removed version column in 4.0 (#19832) 2019-11-20 17:46:50 +08:00
Wendell
53b3c5af96 support updating message content with a unique key
close #18621

fix: fix demo

docs: change key api version number

docs: fix docs
2019-09-25 12:30:50 +08:00
MuYu
fb0b4f0fc9 docs: show version Number features were added (#17373)
* docs: add api first appearance

* docs: fix auto-complete doc

* docs: replace Version Added with Version

* docs: date picker common method

* docs: date picker common method

* docs: tree

* docs: remove meaningless 3.0.0
2019-07-11 14:14:33 +08:00
afc163
b780070351
💄 prittier all files 2019-05-07 14:57:32 +08:00
afc163
85e5f4e4aa Improve message API documentation 2018-09-02 17:25:16 +08:00
Jack Hsieh
175ae5238e Make message icons optional 2018-09-02 17:19:05 +08:00
Wei Zhu
aa580beb8b docs: sort api table 2018-06-24 17:09:18 +08:00
Jinxuan Zhu
c2519e776b Add promise-like interface (#10470)
* Add promise-like interface

* Keep hide interface

* Shorten

* Test Promise

* Update document

* Update demo: 2.5 second is insignificant with the default 3s hiding

* Update demo: then  interface

* Fix line break

* Chainable

* Thenable demo

* Thenable test

* Fix tsc error

* Fix tsc error

* Better document

* Revert change in loading.md

* Change snapshot
2018-05-25 20:41:07 +08:00
Xiaoming
7f2159e928 Message doc update & change variable statement (#10420)
* eslint disallow use of chained assignment expressions

eslint disallow use of chained assignment expressions

* revert

* message-doc-update

1.If a variable is never reassigned, using the const declaration is
better.
2.Defaultvalue’s type must be ‘number’ depend on type
2018-05-08 21:59:28 +08:00
Jin ZHANG
e1c74eb799 add maxCount config to message (#10169) 2018-04-20 15:40:43 +08:00
afc163
779a35e4cc doc: update message duration description 2018-04-03 13:41:44 +08:00
Wei Zhu
bbb1a3a828 Merge branch 'master' into antd-3.0 2017-10-25 10:27:38 +08:00
Wei Zhu
36227a10db docs: sort api table 2017-10-25 10:25:44 +08:00
Kiho · Cham
31d1ce91f7 feat: duration argument is optional (#7874) 2017-10-14 14:28:57 +08:00
Khalifa Lame
594dce8f87 Update Message English doc (#7538)
Fixed typos.
2017-09-10 21:47:02 +08:00
afc163
e88f08b1cb update doc 2017-03-19 14:21:16 +08:00
afc163
140f3fb3de update message docs 2017-03-19 14:16:39 +08:00
偏右
81c1a77686 Fix get container (#5381)
* Fix message getContainer, close #5380

* Add test for message getContainer

* Add test for message config top

* more test for message destroy
2017-03-19 02:07:39 +08:00
Wei Zhu
67bbae9ea8 Merge branch 'feature-2.8' 2017-03-05 21:34:57 +08:00
bang
28b1692f1a doc: add message onClose callback close #5073 2017-02-27 20:50:08 +07:00
偏右
c552b315bc Add getContainer for message and notification, close #5019 (#5066) 2017-02-27 13:39:37 +08:00
Wei Zhu
77b78a9389 docs: Unify type naming (#4636)
* Unify name of ReactNode type in document

* Lowser all string type name

* Lowercase all number type name

* Lowercase all boolean type name

* Unify array type

* Lowercase all object type name

* Unify mutilple types
2017-01-20 20:10:50 +08:00
ddcat1115
0baef0627e docs: 调整组件导航结构 (#3758)
- Layout 更名为 Grid
2016-11-09 14:43:32 +08:00
Benjy Cui
55e9e83be0 Revert "feat: 给message组件添加stack全局配置 #3543 (#3548)"
This reverts commit 818deacfee.
2016-10-27 17:39:46 +08:00
yeliex
818deacfee feat: 给message组件添加stack全局配置 #3543 (#3548) 2016-10-26 09:33:44 +08:00
Benjy Cui
3f67fd3f9f docs: update docs details 2016-09-21 11:28:38 +08:00
Benjy Cui
0fccbd4b1d docs: fix format 2016-07-10 09:14:14 +08:00
Benjy Cui
0869e2959a docs: translate message 2016-07-04 10:44:55 +08:00