zombiej
7a12b2b1ae
merge master
2019-10-30 16:28:28 +08:00
He Linming
7691047882
fix: Modal icon position while no title ( #19419 )
...
* 🐛 fix Modal icon position
close #19389
not render title when Modal title is undefined.
* ✅ (Modal): add test for modal without title
2019-10-26 10:31:58 +08:00
He Linming
2761460c86
style: add @modal-header-color variable ( #19385 )
...
* 💄 add @modal-header-color variable
close #19358
* 👌 change variable name
2019-10-24 10:36:59 +08:00
Daniel Chang
f23f53bb1e
Fixed error in modal documentation ( #18723 )
2019-09-07 07:17:38 +08:00
zombiej
3d8a4f3612
merge master
2019-08-29 23:41:46 +08:00
信鑫-King
ab6dd46958
feat: modal footer border-color less vars ( #18522 )
2019-08-28 14:15:28 +08:00
afc163
a51f7a0508
✅ test unmount
2019-08-27 18:31:01 +08:00
偏右
9b3ac9bbd1
fix: model close ( #18323 )
...
* 💄 support Modal closeIcon
close #18307
* 🐛 closeIcon should put into span
https://github.com/ant-design/ant-design/pull/18309/files#r314946527
2019-08-17 21:30:58 +08:00
偏右
a767a495b0
feat: Modal closeIcon ( #18309 )
...
* 💄 support Modal closeIcon
close #18307
* ✅ Add test case for closeIcon
2019-08-17 20:55:59 +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
afc163
5e99ed7bbe
✅ Fix eslint warnings
2019-08-12 19:04:33 +08:00
zombiej
1cb346573c
merge master
2019-08-12 13:34:23 +08:00
jiang
97df74200f
update getContainer to props before ( #18182 )
2019-08-09 14:38:54 +08:00
zombiej
b30dc1c3bc
merge master
2019-08-06 17:46:53 +08:00
orzyyyy
44d110c0db
feat: add extend from prettier/react
2019-08-06 15:36:13 +08:00
orzyyyy
47fd80c8ad
fix: disable next line instead of the whole file
2019-08-06 15:36:13 +08:00
orzyyyy
63b33d4020
fix: unexpected changes of snapshots
2019-08-06 15:36:12 +08:00
zombieJ
81d8eb8afe
feat: ConfigProvider support locale ( #17816 )
...
* ConfigProvider support locale
* update docs
* update category
* clean up
* moving locale
* update check script
* update related code
* add test case
* demo link
* update doc
* hide one rule of md with eslint
* update error link
2019-07-24 10:34:55 +08:00
zombiej
ef66edd0c2
merge master
2019-07-19 11:54:08 +08:00
zombiej
735996ce35
merge master
2019-07-16 11:42:55 +08:00
jljsj
b5632d6eef
fix react 15 test
2019-07-15 14:33:56 +08:00
jljsj
786bde9ca1
update modal and drawer protal
2019-07-15 14:33:56 +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
zombieJ
4cdf37bedb
feat: New Form ( #17327 )
...
* init form
* first demo
* add normal login
* add style
* webit
* support nest errors
* beauti form errors
* use onReset
* modal demo
* add list demo
* match key of errors logic
* date demo
* customize component
* moving style
* add status style
* without form create
* add demos
* add inline style
* clean up legacy
* fix drawer demo
* mention
* fix edit-row
* editable table cell
* update mentions demo
* fix some test case
* fix upload test
* fix lint
* part of doc
* fix ts
* doc update
* rm react 15
* rm config
* enhance test coverage
* clean up
* fix FormItem context pass logic
* add more demo
* en to build
* update demo
* update demo & snapshot
* more doc
* update list doc
* update doc
* update demo to display condition render
* update snapshot
* add provider doc
* support configProvider
* more doc about validateMessages
* more description
* more and more doc
* fix typo
* en doc
* Form.List doc
* m v3 -> v4
* add skip
2019-07-03 20:14:39 +08:00
afc163
3f8589cff3
chore: code style
2019-06-24 11:49:55 +08:00
afc163
57c28def68
revert unknown to any
2019-06-24 11:29:58 +08:00
偏右
606ed90de1
Merge pull request #17229 from ant-design/adjust-modal-padding-bottom
...
fix: Modal 24px bottom area not trigger mask click
2019-06-21 22:42:09 +08:00
afc163
0ea94b9d68
🐛 Fix Modal 24px bottom area not trigger mask click
...
close #17226
2019-06-21 17:52:28 +08:00
偏右
a4d7593ef2
Merge pull request #17120 from Zzzen/master
...
refactor: eliminate `any` type in exported interfaces.#14044
2019-06-21 17:38:56 +08:00
陈帅
82b85709be
style: run lint-fix ( #17172 )
2019-06-19 19:09:08 +08:00
zombieJ
cfe4de58d6
update modal doc ( #17137 )
2019-06-17 15:57:48 +08:00
zombieJ
b4025176d1
fix modal not support configProvider ( #17132 )
2019-06-17 12:47:31 +08:00
Zzzen
f1ee189bd2
eliminate any
type in exported interfaces.#14044
2019-06-16 20:51:47 +08:00
afc163
9b3c0d3fa5
✅ update snapshots
2019-06-11 14:45:04 +08:00
Aiham Hammami
e3638f2806
Remove okButtonDisabled/cancelButtonDisabled never used prop defs
...
- Also remove them from the CHANGELOG because they were never actually
implemented, the prop was renamed to okButtonProps/cancelButtonProps
within PR #10955 but these prop defs were left behind and ended up
incorrectly included in the CHANGELOG.
2019-05-29 12:58:29 -04:00
Marcel Jackwerth
56ff8728d2
Remove ancient prop types ( #16705 )
...
* Remove ancient Modal.propTypes.align and Progress.propTypes.size
* Remove linkRender and nameRender from Breadcrumb
2019-05-26 10:41:02 +08:00
偏右
fb8f94714e
Update confirm-promise.md
2019-05-10 21:57:09 +08:00
zombieJ
678c2e0b53
update snapshot ( #16515 )
2019-05-10 11:54:51 +08:00
Jason
db5da92f0c
Fix: Print reject error when ActionButton catch promise rejects
2019-05-09 12:24:59 +08: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
Amumu
1f142c0a6d
modal title break word ( #16267 )
2019-04-24 12:37:20 +08:00
Aaron Cawte
1a0bac944b
Documentation - Modal Component
2019-04-19 15:06:38 +01:00
ztplz
ab683841d5
fix: Modal's open animation ( #16144 )
...
* Fix Modal's open animation
* Fix incorrect event type
* test
* Update
* Update
* Update
* Update
2019-04-18 23:20:13 +08:00
afc163
a2a9831abb
💄 Fix less code style
2019-04-15 11:05:06 +08:00
zombieJ
41316e69e8
update snapshot ( #16017 )
2019-04-11 12:48:36 +08:00
偏右
ad99b4322d
test: ✅ Add eslint-plugin-jest ( #15825 )
2019-04-03 15:54:26 +08:00
诸岳
6ae2ee4e31
Merge branch 'master' into feature
2019-03-24 08:41:22 +08:00
Denis
eacf35dbad
Modal footer bg ( #15469 )
...
* Add less variable @modal-footer-bg
* Fix less variable @modal-footer-bg
* Update components/style/themes/default.less
Co-Authored-By: shumkovdenis <shumkovdenis@gmail.com>
2019-03-18 23:56:40 +08:00
Denis
360eefc7d5
Add less variable @modal-body-padding ( #15476 )
2019-03-18 15:07:14 +08:00
William Cai
ab55bc5636
refactor: add @modal-footer-padding-{vertical,horizontal}
2019-03-13 09:51:29 +08:00
adam
77c431b180
support { icon: null }
to hide default Icon
2019-03-13 08:38:10 +08:00
zy410419243
8d43f4b032
test: update cases for Modal
2019-03-07 14:43:25 +08:00
zombiej
6f95995faa
merge master
2019-02-27 19:57:48 +08:00
zombieJ
4d1a998246
add component param in warning ( #15078 )
...
* add component param in warning
* update snapshot
2019-02-27 15:32:29 +08:00
ztplz
94814d955f
Format ( #15027 )
2019-02-24 15:49:12 +08:00
zombieJ
c80136a9a7
New Component: Typography ( #14250 )
...
* text with prefix
* add edit style
* support editable
* enhance accessibility & type experience
* optimize IME case
* support copy
* add locale
* add secondary & disabled
* add ellipsis shadow text
* split to 3 components
* update snapshot
* update desc
* change lines also need update ellipsis
* skip aria when is in ellipsis
* add ResizeObserver in _util
* update snapshot
* move TestBase into test file
* update test case
* update doc
* fix typo
* important => level
* use rows
* update demo cols to 1
* fix cssText not work in firefox
* update doc
* add miss point
* support extendable
* update snapshot
* fix doc
* copyable support string
* update snapshot
* update doc
* update doc desc
* adjust style
* full test
* reset after test
* rename
* update snapshot
* fix compile
* adjust style
* update desc
* update prefixCls
* update margin
* adjust
* nest wrap of tag content
* adjust style
* update comment
* rm %
* one more thing
* tmp of measure
* merge string as children
* update snapshot
* update testcase
* remove comment
* use internal variable for configProvider passing
* update snapshot
* use expandable instead of extendable
* less variable it
* update demo
* update less
* adjust code & mark style
* remove mark padding
* update measure logic
* support nest element style
* use childNode.textContent to fix react 15 error
* update css
* popout Typography
* add link style
* adjust doc
* use ellipsis instead of rows & expandable
* update doc
* update doc
* update doc & style
* fix typo
* add css ellipsis support
* client render
* update snapshot
* enhance copyable
* support onExpand
* update test case
* add test of css ellipsis
* fix logic in react 15
* rename onChange -> onSave
* use tagName of article
* fix lint
2019-02-19 11:42:05 +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
kristof0425
ad363570c3
fix(Modal): rm remaining unnecessary string type
2019-02-01 01:20:39 +08:00
kristof0425
5b2a5398cf
fix(Modal): correct type in comment
2019-02-01 01:20:39 +08:00
kristof0425
0a6642e595
refactor(Modal): rm unnecessary string
2019-02-01 01:20:39 +08:00
kristof0425
c97bd20faf
docs(Modal): change type of okText and cancelText props
2019-02-01 01:20:39 +08:00
kristof0425
e0edd82a76
fix(Modal): allow ReactNode for okText and cancelText props
2019-02-01 01:20:39 +08:00
郑旭
b3df86a74f
fix destroyFns not reduce when instance.destroy() ( #14600 )
...
* fix destroyFns not reduce when instance.destroy()
* Use object destructuring prefer-destructuring
2019-01-30 10:46:30 +08:00
诸岳
307c877a02
Merge master branch
2019-01-13 21:18:38 +08:00
Yangzhedi
0e1564f499
fix(modal): add forceRender interface
2019-01-12 13:21:21 +08:00
afc163
a075c90321
🐛 Fix Modal.confirm wrong align in small screen
...
close #14279
2019-01-11 11:38:42 +08:00
Thomas
df65240094
feat: Add transitionName and maskTransitionName for Modal.method ( #14273 )
2019-01-11 09:43:44 +08:00
zombiej
0a67272ae4
add locale update
2019-01-10 21:55:21 +08:00
zombiej
12af9a9dca
icon add aria-label support
2019-01-10 21:55:21 +08:00
诸岳
21f0419ace
feat: Add mask prop for Modal method, close #14177 ( #14197 )
2019-01-10 01:21:51 +08:00
偏右
16f76ecc5e
Update index.zh-CN.md
2019-01-09 23:37:38 +08:00
ztplz
08ce714db2
update dep ( #14131 )
2019-01-07 09:40:55 +08:00
Junbin Huang
d78c0f2707
Chore/fix master conflict ( #14126 )
...
* adjust table fixed column z-index (#14036 )
fix #13930
* 📝 Add instruction for one column without width left in fixed table
* Add full PR template link in template (#14061 )
* add full tmpl link
* adjust
* simplify it
* add cn link
* Fix Affix flickering when scrolling
* update
* fix: top border disappeared under some ie9
* fix calendar month range display (#14049 )
* Fix tslint warning
* Correct typescript usage (#14074 )
* 🐛 Fix steps style under IE9
close #14001
* 🐛 tweak style for not affecting vertical steps
* 📝 enhance upload documentation
* Input.Group with TimePicker disappear icon: https://codepen.io/mraiguo/pen/QzvvvE?editors=0010
* 🐛 Fix disabled button style in DatePicker panel
https://user-images.githubusercontent.com/507615/50693143-17505400-1071-11e9-9114-b150bef8f7f6.png
* 📝 site: fix BackTop been covered by footer
close #14093
* Update PULL_REQUEST_TEMPLATE.md
* Update pr_cn.md
* 🐛 Fix nested Timeline last item missing line (#14110 )
close #14108
* init Spin should also support delay trigger (#14105 )
fix #14100
* Update table docs
* bugfix
* Format
* update snapshot
* test: fix spin test
2019-01-06 13:25:59 +08:00
afc163
5c266355ec
⚡ Add icon
to Modal.confirm/info/warning/error
...
deperated `iconType`
close #13918
2018-12-26 21:36:36 +08:00
afc163
8b5e78f174
Merge branch 'master' into feature
...
* master:
Fixed Modal width when screen size smaller than 768px
🚨 coverage precision to 1
🚨 update .codecov.yml
💄 Fix Badge animation jump when count is ReactNode
fix Popover arrow narrow line at top
fix Popover arrow border in different directions
fix popover arrow top shadow
Change render of + & - icon fix #13924
🐛 loose button type propTypes for custom usage
fix input has min size close #3699
fix: fix-picture-spell-error
2018-12-26 20:47:12 +08:00
afc163
7fa4e7aed3
Fixed Modal width when screen size smaller than 768px
...
close #13907
2018-12-26 20:43:47 +08:00
afc163
30fe9918d8
Merge branch 'master' into feature
...
* master:
📝 Add bodyStyle and style of Drawer in documentation, #13850
🐛 Fix Drawer style not working
🐛 fix markStyle affset style
Update Santa.jsx
update changelog
bump 3.11.6
revert Christmas egg
[type] make type of components compatible with ComponentType<P>
bump 3.11.5
✨ site: make document side bar sticky
2018-12-25 16:28:50 +08:00
frezc
5f9b376456
[type] make type of components compatible with ComponentType<P>
2018-12-25 01:10:00 +08:00
zombiej
acefe7ba40
update modal demo
2018-12-23 18:40:11 +08:00
afc163
7ac13298ec
💄 Fix one tslint problem
2018-12-20 17:43:22 +08:00
afc163
879784c665
Merge branch "master" into "feature"
2018-12-20 17:43:00 +08:00
tom
00109a0698
change Modal.destroy to Modal.destroyAll
2018-12-20 17:31:12 +08:00
tom
d9e0b33dbe
Modal.destroy():destroy all cofirm modal dialogs
2018-12-20 17:31:12 +08:00
Sam Lanning
bfc75f5872
[chore] remove unneeded checks
...
args will always be defined, and an array, additionally Array.some()
will always return false if the array is empty. So these conditions
are uneeded.
2018-12-20 17:16:00 +08:00
陈帅
8e11f0bdb9
merge support prettier
2018-12-07 20:02:01 +08:00
陈帅
dca9715186
support prettier
2018-12-07 18:27:30 +08:00
zombiej
f791a50084
add forceRender support
...
fix #12503
2018-12-06 15:08:35 +08:00
amedora
0aeb9a356b
use color definitions insted of numbers
2018-12-05 19:45:22 +08:00
zombieJ
1a0a06fca9
ConfigProvider support prefixCls ( #13389 )
...
Basic support prefixCls.
2018-12-05 19:12:18 +08:00
二哲
ad347a98e2
Update manual.md
...
After destroying need to clear interval
2018-12-02 20:48:52 +08:00
afc163
83c192ea3e
💄 fix eslint problems
2018-11-28 15:11:02 +08:00
afc163
4abc2824e4
📝 upgrade ts comment
2018-11-26 19:32:33 +08:00
afc163
a616f89a1b
🔥 update less code style
2018-11-12 12:02:30 +08:00
afc163
213693e333
🌐 site: transition component category, close #11629
2018-11-04 16:20:35 +08:00
afc163
a264c6f345
Add less variable @modal-header-bg, close #12914
2018-11-01 14:57:10 +08:00
Pouya Sanooei
a70d64451b
fix Modal docs typo
2018-11-01 12:05:24 +08:00
zombiej
9aa62d42c2
Modal.xxx support maskStyle
...
fix #12688
2018-10-27 18:54:52 +08:00
afc163
a27c8a2740
demo: update modal demo
2018-10-23 23:16:22 +08:00
黄文鉴
df9b20209c
fix: change modal's default prefixCls to ant-modal and ant-modal-confirm ( #12548 )
2018-10-12 14:04:26 +08:00