偏右
cf42a16505
feat: Modal.config rootPrefixCls ( #25613 )
* feat: Modal.config rootPrefixCls
* fix tsd
4 years ago
Tom Xu
50fe770458
refactor(modal): rewrite with hook and support strict mode ( #24238 )
* refactor(modal): rewrite with hook and support strict mode
* Update ActionButton.tsx
* improve code
5 years ago
二货机器人
dff19af744
chore: Update Popconfirm & Modal okType type ( #23867 )
* chore: Update Popconfirm & Modal okType type
* add test case
* update test case
5 years ago
偏右
f4c489553f
fix: Modal.info onOk execute times ( #23360 )
* refactor: modal confirm onOk code
* fix: Modal.xxx onOk execute time when has close argument
close #23358
* Add test case
* fix lint
5 years ago
偏右
8dbaf66c2b
fix: confirm button should only trigger once ( #22963 )
close #22861
5 years ago
Chiciuc Nicușor
1321d90e8b
Replace NativeButtonProps with ButtonProps for okButtonProps and cancelButtonProps. ( #21165 ) ( #22913 )
5 years ago
afc163
5e99ed7bbe
✅ Fix eslint warnings
5 years ago
orzyyyy
63b33d4020
fix: unexpected changes of snapshots
5 years ago
Jason
db5da92f0c
Fix: Print reject error when ActionButton catch promise rejects
6 years ago
ztplz
94814d955f
Format ( #15027 )
6 years ago
陈帅
8e11f0bdb9
merge support prettier
6 years ago
陈帅
dca9715186
support prettier
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
Wei Zhu
d8f6c3bd8c
Fix implicit any error for Modal and Message
7 years ago
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
7 years ago
偏右
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 👻
7 years ago
Eden Wang
ee176347ac
fix ci compile error
7 years ago
Eden Wang
f2b987aaa9
update custom type for modal components
7 years ago
Benjy Cui
8c632ef2cf
fix: Modal.method should stop loading when promise throw err, close : #6183
8 years ago
afc163
0eb5c689a3
remove type="ghost" from demo
8 years ago
Benjy Cui
4758302ad5
deps: upgrade antd-tools, close : #4208
8 years ago