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
zombiej
d76283f2b9
merge master
2019-12-01 21:46:17 +08:00
ycjcl868
4440062e66
feat: add @message-notice-content-bg and @calendar-border-color
2019-11-29 09:04:38 +00: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
陈小聪
e71a4ef10f
docs: Removed version column in 4.0 ( #19832 )
2019-11-20 17:46:50 +08:00
zombiej
c75bbbd13d
merge master
2019-10-16 10:44:56 +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
vagusX
149729e524
use ant design icons 4.0 ( #18217 )
...
* feat: use @ant-design/icons@4.0
* feat: use createFromIconfontCN to make site works
* feat: update doc for Icon
* feat: use icon in component Alert
* feat: use icon in component Avatar
* feat: use icon in component Breadcrumb
* feat: use icon in component Button
* feat: use icon in component Cascader
* feat: use icon in component Collapse
* feat: use icon in component Datepicker
* feat: use icon in component Dropdown
* feat: use icon in component Form
* feat: use icon in component Input
* feat: use icon in component InputNumber
* feat: use icon in component Layout
* feat: use icon in component Mention
* feat: use icon in component Message
* feat: use icon in component Modal
* feat: use icon in component Notification
* feat: use icon in component PageHeader
* feat: use icon in component Pagination
* feat: use icon in component Popconfirm
* feat: use icon in component Progress
* feat: use icon in component Rate
* feat: use icon in component Result
* feat: use icon in component Select
* feat: use icon in component Step
* feat: use icon in component Switch
* feat: use icon in component Table
* feat: use icon in component Tab
* feat: use icon in component Tag
* feat: handle rest component which using Icon
* fix: remove unused vars
* feat: use latest alpha ant design icons
* fix: failed test in uploadlist.test.js
* test: update snapshot for icons
* doc: add Icon for site
* doc: use @ant-design/icons in site
* chore: use latest icons
* fix: tslint issue
* fix: test cases
* fix: types for react
* fix: lint rules for import orders
* fix: use @ant-design/icons@4.0.0-alpha.5 to avoid insert css in server render
* fix: eslint error in demo/**.md
* inject antd icons
* update snapshot
* fix site
* doc: update docs
* fix: code snippets icon in site
* feat: use latest @ant-design/icons
* fix: icon props in message
2019-08-13 14:07:17 +08:00
orzyyyy
63b33d4020
fix: unexpected changes of snapshots
2019-08-06 15:36:12 +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
57c28def68
revert unknown to any
2019-06-24 11:29:58 +08:00
Zzzen
f1ee189bd2
eliminate any
type in exported interfaces.#14044
2019-06-16 20:51:47 +08:00
maximest-pierre
67b28c36f0
Fix grammar on message documentation
2019-06-12 14:42:48 -04:00
afc163
b780070351
💄 prittier all files
2019-05-07 14:57:32 +08:00
陈帅
785c132262
meger feature to master ( #16421 )
...
* use ul in list
* update snapshot
* update comment
* feat: TreeSelect support `showSearch` in multiple mode (#15933 )
* update rc-tree-select
* typo
* update desc & snapshot
* update desc & snapshot
* check default showSearch
* feat: table customizing variable (#15971 )
* feat: added table selected row color variable
* fix: @table-selected-row-color default is inherit
* feat: Upload support customize previewFile (#15984 )
* support preview file
* use promise
* dealy load
* use canvas of render
* use domHook of test
* update demo
* add snapshot
* update types
* update testcase
* feat: form customizing variables (#15954 )
* fix: added styling form input background-color
* feat: added '@form-warning-input-bg' variable
* feat: added '@form-error-input-bg' variable
* use li wrap with comment
* feat: Support append theme less file with less-variable (#16118 )
* add override
* add override support
* update doc
* feat: dropdown support set right icon
* docs: update doc of dropdown component
* style: format dropdown-button.md
* test: update updateSnapshot
* style: format dropdown-button.md
* test: update updateSnapshot
* test: update updateSnapshot
* style: change style of dropdown-button demo
* fix: fix document table order
* feat: Support SkeletonAvatarProps.size accept number (#16078 ) (#16128 )
* chore:update style of demo
* feat: Notification functions accept top, bottom and getContainer as arguments
* drawer: add afterVisibleChange
* rm onVisibleChange
* update
* feat: 🇭🇷 hr_HR locale (#16258 )
* Added Croatian locale
* fixed lint error
* ✅ Add test cases for hr_HR
* 📝 update i18n documentation
* feat: add `htmlFor` in Form.Item (#16278 )
* add htmlFor in Form.Item
* update doc
* feat: Button support `link` type (#16289 )
close #15892
* feat: Add Timeline.Item.position (#16148 ) (#16193 )
* fix: Timeline.pendingDot interface documentation there is a small problem (#16177 )
* feat: Add Timeline.Item.position (#16148 )
* doc: add version infomation for Timeline.Item.position
* refactor: Update Tree & TreeSelect deps (#16330 )
* use CSSMotion
* update snapshot
* feat: Collapse support `expandIconPosition` (#16365 )
* update doc
* support expandIconPosition
* update snapshot
* feat: Breadcrumb support DropDown (#16315 )
* breadcrumbs support drop down menu
* update doc
* add require less
* fix test
* fix md doc
* less code
* fix style warning
* update snap
* add children render test
* feat: TreeNode support checkable
* feat: add optional to support top and left slick dots (#16186 ) (#16225 )
* add optional to support top and left slick dots
* update carousel snapshot
* Update doc, add placement demo
* update carousel placement demo snapshots
* rename dots placement to position
* update vertical as deprecated
* rename dotsPosition to dotPosition
* refine code
* add warning testcase for vertical
* remove unused warning
* update expression
* Additional test case for dotPosition
* refactor: Upgrade `rc-tree-select` to support pure React motion (#16402 )
* upgrade `rc-tree-select`
* update snapshot
* 3.17.0 changelog
* fix warning
* fix review warning
2019-05-06 12:04:39 +08:00
zombieJ
5987792a44
fix: typescript definition update ( #16202 )
...
* fix lint
* update snapshot
* update define
2019-04-20 23:38:02 +08:00
Aaron Cawte
fb42d3c9a5
Documentation - Message Component
2019-04-19 15:35:06 +01:00
afc163
a2a9831abb
💄 Fix less code style
2019-04-15 11:05:06 +08:00
偏右
ad99b4322d
test: ✅ Add eslint-plugin-jest ( #15825 )
2019-04-03 15:54:26 +08:00
米老朱
6936599aef
Enhance stylelint rules ( #14803 )
...
* rename .stylelintrc to .stylelintrc.json for explicit file type
* add new npm script lint-fix:style
* fix pseudo-element with double colon
* function name should be lower except ignored functions
* support stylelint declaration-block-no-ignored-properties rule
* support sorted CSS properties order for readability and consistency
* autofix order of all styles by lint-fix:style script
* remove double slash comments after selector
* replace .stylelintignore with ignoreFiles in .stylelintrc.json
2019-02-15 10:48:07 +08:00
陈帅
dca9715186
support prettier
2018-12-07 18:27:30 +08:00
afc163
83c192ea3e
💄 fix eslint problems
2018-11-28 15:11:02 +08:00
afc163
213693e333
🌐 site: transition component category, close #11629
2018-11-04 16:20:35 +08:00
zombiej
e82d7a9c09
fix #12137 . Add miss return type of MessageApi
2018-09-09 22:50:12 +08:00
HeskeyBaozi
e3eb3c63a1
icons in message component use filled theme
2018-09-02 20:59:37 +08:00
HeskeyBaozi
ef54d3fbb7
cross -> close
2018-09-02 20:59:37 +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
Bryan Berger
1d924300e7
add @message-notice-content-padding var to <Message />
2018-07-18 22:17:12 +08:00
afc163
009ed08580
upgrade eslint-config-airbnb
2018-06-27 16:09:58 +08:00
Wei Zhu
aa580beb8b
docs: sort api table
2018-06-24 17:09:18 +08:00
afc163
9f16d066af
Fix lint problems from eslint-config-airbnb@17
2018-06-22 21:05:13 +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
MuYu
f61967b496
add transitionName from message.config ( #9580 )
...
* add transitionName from message.config
* Update index.en-US.md (#9579 )
* modify doc
2018-03-09 13:30:50 +08:00
afc163
4a81e5584f
Fix message destroy problem, close #8201
2017-11-22 14:44:06 +08:00
Wei Zhu
d8f6c3bd8c
Fix implicit any error for Modal and Message
2017-11-21 17:20:25 +08:00
afc163
797754d3fd
Fix message cannot hide bug, close #8201
2017-11-18 15:26:02 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
2017-11-17 14:38:54 +08:00
afc163
1e1c6d1c72
Merge branch 'master' into antd-3.0
2017-11-16 19:58:20 +08:00
afc163
46d1296045
Fix async test cases
2017-11-16 17:12:36 +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
afc163
a9073988ec
Merge branch 'master' into antd-3.0
2017-10-18 14:07:53 +08:00
afc163
c2e91d3b22
update some demo
2017-10-17 21:03:23 +08:00
Kiho · Cham
31d1ce91f7
feat: duration argument is optional ( #7874 )
2017-10-14 14:28:57 +08:00
Benjy Cui
0bce5c83f9
deps: upgrade rc-notification to support react@16 ( #7844 )
2017-10-11 12:03:19 +08:00
偏右
2bced36f0c
New component styles ( #7731 )
...
* Tweak button padding
* upgrade input and button size
* update form controls size
* update components size
* Add lemon color and update rate color
* Add new icons
* update layout style
* breadcrumb and dropdown
* update menu arrow width
* update layout and menu
* update steps
* fix var name
* update cascasder style
* Update DatePicker
* update InputNumber and Mention
* radio and switch
* select and transfer
* TimePicker & Upload
* more components
* calendar and list
* Tree Timeline Popover Tag
* divider modal popover
* update search input
* update card style
* update switch disabled opacity
* update shoadow and mask
* Add v2-compatible-reset.less
* Fix undefined className
* update snahshotssssssssssssssssss 👻
2017-09-27 22:32:49 +08:00
偏右
759b0bb821
seperate reset styles ( #7682 )
...
* seperate reset styles
* not reset ul/ol/p/heading
* revert reset.less idea
* move label style into ant-form-item, #5851
* revert reset.less idea
* update base.less
* Better typography from bootstrap@4
use reboot replace normalize
ref:
b4d84b9cdf/scss/_reboot.scss
close #6162
2017-09-22 18:33:29 +08:00
Khalifa Lame
594dce8f87
Update Message English doc ( #7538 )
...
Fixed typos.
2017-09-10 21:47:02 +08:00
huzzbuzz
568963e894
update duration value from 1.5 to 3
...
update duration value from 1.5 to 3
2017-07-24 08:28:15 +08:00
afc163
edf8a4f239
longer default duration of message
2017-07-18 12:50:17 +08:00
lixiaoyang
f58615dc35
feat: Notification supports className and style ( #6014 )
...
* notification add className and style
Message add className and style
* revert message
2017-05-05 14:26:55 +08:00
afc163
6b2f6af85d
use @info-color over @primary-color, close #5442
2017-03-23 13:57:30 +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
afc163
402a5cce4c
update message demo code style
2017-03-19 01:29:21 +08:00
Wei Zhu
f6b1e942e3
Jest 19 ( #5361 )
...
* Upgeade to jest 19
* Use jest.spyOn
2017-03-17 18:56:30 +08:00