陈帅
8e11f0bdb9
merge support prettier
6 years ago
陈帅
dca9715186
support prettier
6 years ago
afc163
83c192ea3e
💄 fix eslint problems
6 years ago
黄文鉴
df9b20209c
fix: change modal's default prefixCls to ant-modal and ant-modal-confirm ( #12548 )
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
HeskeyBaozi
976f6969f4
update test snapshot
6 years ago
afc163
32c78b2f8d
update snapshot
6 years ago
HeskeyBaozi
2f8a56fa78
fix test case & update test snapshot
6 years ago
HeskeyBaozi
74798b8911
upgdate test snapshot
6 years ago
HeskeyBaozi
d6131fe18d
update test snapshot
6 years ago
HeskeyBaozi
0c9465aaf9
upgrade icons library
6 years ago
afc163
9fdee487ce
Add test case for modal update
6 years ago
HeskeyBaozi
ee1d2469a8
upgrade test snapshot
6 years ago
HeskeyBaozi
796de6390b
update test snapshot
6 years ago
HeskeyBaozi
35974d67b2
update test snap shot
6 years ago
HeskeyBaozi
46cb1c8cde
resolve conflict.
6 years ago
afc163
9f16d066af
Fix lint problems from eslint-config-airbnb@17
7 years ago
afc163
3a445f3e75
more test cases
7 years ago
Wei Zhu
45815d1148
Refactor confirm ( #8409 )
* Refactor confirm
* Add okCancel test
* Only test React 16
* Upgrade rc-dialog
7 years ago
Wei Zhu
55c85f77a1
Update dependendies ( #8150 )
* deps: upgrade rc-menu, and close : #2837
* test: update snapshots
* Update rc-calendar
* Update rc-cascader
* Update rc-dialog
* Update dropdown
* Update rc-select@7.1.0
* Update rc-slider
* Update rc-time-picker
* Update rc-tooltip
* Update rc-tree-select
* Mock rc-trigger and Portal
* Fix animation warning when inlineCollapsed changes
* fix: should use SubMenu[popupClassName]
* Fix typescript error
* Fix lint
* fix: style for menu
* Mock rc-trigger for React 15
* Remvoe allow_failures
7 years ago
Benjy Cui
7ea572bfc8
refactor: extract common locale logic ( #7915 )
7 years ago
afc163
475e4ff23d
upgrade eslint-config-airbnb
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
Benjy Cui
829b5f87bf
feat: make default locale to enUS ( #7553 )
* feat: make default locale to enUS
* test: fix CI
* docs: update getting started
7 years ago
Alex Chao
3727ea2c33
feat: Modal.confirm supports zIndex prop #6722 ( #6880 )
* Modal.confirm supports zIndex prop #6722
* Fix filename
* Fix the zIndex missing in ModalFuncProps interface
7 years ago
Benjy Cui
71495e71d2
test: fix warning, close : #5628
8 years ago
Wei Zhu
1a8e738142
Set snapshotSerializers
8 years ago
Benjy Cui
ce2fe2aa45
test: add test for Modal[footer=null]
8 years ago
Wei Zhu
f6b1e942e3
Jest 19 ( #5361 )
* Upgeade to jest 19
* Use jest.spyOn
8 years ago
ddcat1115
24e6fb4ba6
fix Modal.confirm error when onCancel not set ( #5294 )
* fix Modal.confirm error when onCancel not set
* add test case
8 years ago
Wei Zhu
07103b9fb6
Don't ignore test files.
8 years ago
Wei Zhu
17a0a33283
Restructure tests.
8 years ago