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
6 years ago
米老朱
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
6 years ago
kristof0425
ad363570c3
fix(Modal): rm remaining unnecessary string type
6 years ago
kristof0425
5b2a5398cf
fix(Modal): correct type in comment
6 years ago
kristof0425
0a6642e595
refactor(Modal): rm unnecessary string
6 years ago
kristof0425
c97bd20faf
docs(Modal): change type of okText and cancelText props
6 years ago
kristof0425
e0edd82a76
fix(Modal): allow ReactNode for okText and cancelText props
6 years ago
郑旭
b3df86a74f
fix destroyFns not reduce when instance.destroy() ( #14600 )
* fix destroyFns not reduce when instance.destroy()
* Use object destructuring prefer-destructuring
6 years ago
Yangzhedi
0e1564f499
fix(modal): add forceRender interface
6 years ago
afc163
a075c90321
🐛 Fix Modal.confirm wrong align in small screen
close #14279
6 years ago
Thomas
df65240094
feat: Add transitionName and maskTransitionName for Modal.method ( #14273 )
6 years ago
zombiej
0a67272ae4
add locale update
6 years ago
zombiej
12af9a9dca
icon add aria-label support
6 years ago
诸岳
21f0419ace
feat: Add mask prop for Modal method, close #14177 ( #14197 )
6 years ago
偏右
16f76ecc5e
Update index.zh-CN.md
6 years ago
ztplz
08ce714db2
update dep ( #14131 )
6 years ago
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
6 years ago
zombieJ
95660c4fac
adjust table fixed column z-index ( #14036 )
fix #13930
6 years ago
afc163
5c266355ec
⚡ Add `icon` to Modal.confirm/info/warning/error
deperated `iconType`
close #13918
6 years ago
afc163
7fa4e7aed3
Fixed Modal width when screen size smaller than 768px
close #13907
6 years ago
frezc
5f9b376456
[type] make type of components compatible with ComponentType<P>
6 years ago
zombiej
acefe7ba40
update modal demo
6 years ago
afc163
7ac13298ec
💄 Fix one tslint problem
6 years ago
tom
00109a0698
change Modal.destroy to Modal.destroyAll
6 years ago
tom
d9e0b33dbe
Modal.destroy():destroy all cofirm modal dialogs
6 years ago
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.
6 years ago
陈帅
8e11f0bdb9
merge support prettier
6 years ago
陈帅
dca9715186
support prettier
6 years ago
zombiej
f791a50084
add forceRender support
fix #12503
6 years ago
amedora
0aeb9a356b
use color definitions insted of numbers
6 years ago
zombieJ
1a0a06fca9
ConfigProvider support prefixCls ( #13389 )
Basic support prefixCls.
6 years ago
二哲
ad347a98e2
Update manual.md
After destroying need to clear interval
6 years ago
afc163
83c192ea3e
💄 fix eslint problems
6 years ago
afc163
4abc2824e4
📝 upgrade ts comment
6 years ago
afc163
a616f89a1b
🔥 update less code style
6 years ago
afc163
213693e333
🌐 site: transition component category, close #11629
6 years ago
afc163
a264c6f345
Add less variable @modal-header-bg , close #12914
6 years ago
afc163
af2e76d64c
Add less variable @modal-header-bg , close #12914
6 years ago
Pouya Sanooei
a70d64451b
fix Modal docs typo
6 years ago
zombiej
9aa62d42c2
Modal.xxx support maskStyle
fix #12688
6 years ago
afc163
a27c8a2740
demo: update modal demo
6 years ago
黄文鉴
df9b20209c
fix: change modal's default prefixCls to ant-modal and ant-modal-confirm ( #12548 )
6 years ago
comerc
3898c45c5d
Typo ( #12608 )
6 years ago
RyanHui
c095cb4665
modal add mask colse ( #12556 )
6 years ago
C.J. Winslow
b9a86b2ea1
Pass the ok and cancel button props in the confirm API ( #12425 )
This PR adds the `okButtonProps` and `cancelButtonProps` API to the `Modal.confirm` and associated methods.
* [x] Make sure that you propose PR to right branch: bugfix for `master`, feature for branch `feature`.
* [x] Make sure that you follow antd's [code convention](https://github.com/ant-design/ant-design/wiki/Code-convention-for-antd ).
* [x] Run `npm run lint` and fix those errors before submitting in order to keep consistent code style.
* [x] Rebase before creating a PR to keep commit history clear.
* [x] Add some descriptions and refer relative issues for you PR.
Extra checklist:
*isNewFeature* **:**
* [x] Update API docs for the component.
* [x] Update/Add demo to demonstrate new feature.
* [x] Update TypeScript definition for the component.
* [x] Add unit tests for the feature.
6 years ago
Erwin Kort
2d8f9ccf63
Add button autofocus prop to confirm modal ( #11756 )
@picodoth
6 years ago
Adam Burgess
9b01ec1ed2
Modal: Add the update function type definition
6 years ago
afc163
2952a8625b
site: remove old version hint of API
6 years ago
HeskeyBaozi
c76a90b2b7
fix tweak icon
6 years ago
HeskeyBaozi
976f6969f4
update test snapshot
6 years ago