Commit Graph

197 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
afc163
ea2545fbc7
fix: Dropdown/DatePicker/Select/Cascader animation direction (#30892)
* fix: DatePicker/Select/Cascader/Select animation direction

close #30889

* fix modal

* fix message
2021-06-07 16:30:40 +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
Tom Xu
e5d908a078
docs: format api (#29537) 2021-03-01 19:20:48 +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
zombiej
99d5451dba chore: merge master 2020-12-26 23:11:46 +08:00
einq7
fa376f9c82
docs: prettier markdown (#28510) 2020-12-24 12:02:57 +08:00
Chan Qin Liang
263d8ec8e8
Include parenthesis on mixin calls to support less 4.0.0 (#28465) 2020-12-22 11:08:12 +08:00
Tom Xu
c00755f9ec Merge branch 'feature' into merge 2020-12-17 15:27:42 +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
二货机器人
9cd4fab604
feat: Image add preview style (#28235)
* feat: Add preview mask

* feat: Preview support locale

* test: Update snapshot

* fix lint

* fix lint
2020-12-07 17:08:48 +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
einq7
3357fccf0e
docs: format inline code (#27634) 2020-11-08 15:04:02 +08:00
骗你是小猫咪
6fba4d1136
test: demo -> ui test (#24475)
* test: demo -> ui test

* improve comment image width

* use argos-ci

* use by cicleci

* fix circle run

* rebase master

* try pipeline var

* use another branch var

* fix commit id

* ignore image test file

* remove useless report

* fix test coverage
2020-10-23 18:50:46 +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
二货机器人
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
偏右
83ddfb807e
test: Enable transition and animation in jest (#26571)
* test:  add test cases to increase coverage

* test: fix snapshot

* fix: test node envioronment

* fix: test node envioronment

* fix test case

* test: refactor menu test cases

* test: update test code style

* test: add more menu test cases

* add comment

* test: update snapshot

* fix: alert test case

* fix: form onLeaveEnd test cov

* test: fix button click wave test cases

* chore: clean up snapshots
2020-09-18 16:53:18 +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
偏右
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
07akioni
daa0be6727
refactor: message style (#25531)
* refactor: message style

* chore: revert
2020-07-09 12:27:05 +08:00
xrkffgg
cbd93324cc
docs: format api message/notification/progress (#25388) 2020-07-02 15:33:42 +08:00
xrkffgg
4e60c28bd0
docs: fix Message demo (#25166) 2020-06-23 10:31:08 +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
偏右
35e390018c
Merge pull request #23796 from ant-design/master
chore: Merge master into feature
2020-05-01 16:35:53 +08:00
xrkffgg
01b98e79d9
docs: optimize site of components 3 (#23779)
* docs: optimize site of components in rtl 3

* add
2020-04-30 21:04:19 +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
偏右
b369717181
chore: 🦄 Add eslint-plugin-unicorn (#22883)
* 🦄 Add eslint-plugin-unicorn

* fix eslint errors

* fix eslint errors

* fix lint demo

* fix lint demo
2020-04-03 15:02:11 +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
偏右
b35498aa73
add test case for message.config (#21556) 2020-02-24 16:58:09 +08:00
偏右
2c12972759
💄 fix message shadow get cutted (#20856)
close #20798
2020-01-13 14:22:17 +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