He Linming
0ca5326176
feat: Support closeIcon of Modal.method ( #27909 )
...
* feat: Support closeIcon of Modal.method
close #27900
* style: update modal conform close style
* test: update unit test for close button of confirm modal
* docs: update api doc
* refactor: reuse modal close button
* test: update unit test
* feat: add closable api for ConfirmDialog
* chore: use default props
* Update default.less
Co-authored-by: 偏右 <afc163@gmail.com>
2020-11-21 21:13:28 +08:00
zefeng
dda45e4796
feat: support compact theme ( #22126 )
...
* feat: support narrow theme mode
* chore: rename narrow to compact
* chore: height part
* chore: preview compact mode
* chore: to make site corrected
* chore: preview site
* docs: 📖 document compact theme usage
* docs: tweak theme doc
* docs: 📖 Add description about double css bundle size
* chore: preview
* chore: for preview
* chore: adjust pagination
* chore: compact mode done!
* chore: remove useless todo
* chore: fix review bug
* chore: fix review bug
* chore: fix card margin
* chore: fix review bug
* chore: fix review bug
* chore: improve i18n and transition
* Update site/theme/static/common.less
Co-Authored-By: 偏右 <afc163@gmail.com>
* chore: fix button size and description padding
* chore: update snapshots
* chore: add compact css bundlesize limit
* chore: compact dist support
Co-authored-by: afc163 <afc163@gmail.com>
2020-03-29 10:39:46 +08:00
adam
77c431b180
support { icon: null }
to hide default Icon
2019-03-13 08:38:10 +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
黄文鉴
df9b20209c
fix: change modal's default prefixCls to ant-modal and ant-modal-confirm ( #12548 )
2018-10-12 14:04:26 +08:00
HeskeyBaozi
c76a90b2b7
fix tweak icon
2018-09-07 14:14:23 +08:00
afc163
3cbb5da6c2
tweak icons size
2018-09-03 17:11:20 +08:00
Chandler Moisen
10f1c6ceaa
Modal.confirm title overflow:hidden
2018-08-02 11:27:32 +08:00
afc163
fbf1a35249
Fix extra scrollbar style of Modal.confirm in Firefox, close #11432
2018-07-24 16:27:21 +08:00
Hanz Luo
11f0f14cb2
Remove scrollbar on confirm Modal title
2018-07-16 10:44:14 +08:00
afc163
f8f52b09be
Fix Modal.confirm content layout
...
close #9374
created a BFC to resolve multiple lines of title render bug
https://www.smashingmagazine.com/2017/12/understanding-css-layout-block-formatting-context/
2018-03-21 17:35:31 +08:00
afc163
6c46692160
Tweak confirm title style
2018-01-31 14:46:45 +08:00
偏右
bdceb5f083
Review fix ( #8125 )
...
* Fix style
* Fix style
* fix lint
* Fix more styles
* Fix more styles
* update snap
2017-11-06 21:28:51 +08:00
偏右
ffffd0f4c5
Fix styles ( #7924 )
...
* update demo
* Fix styles
* fix snap
* Fix back-top ci
2017-10-18 17:16:14 +08:00
偏右
9053192ae9
Fix component style ( #7848 )
...
* fix components style
* fix snapshot
* update travis node version
* change upload action in ci
2017-10-11 12:01:27 +08:00
afc163
6b2f6af85d
use @info-color over @primary-color, close #5442
2017-03-23 13:57:30 +08:00
afc163
0ec4276eab
@font-size-lg ( #1752 )
2016-11-08 21:07:01 +08:00
afc163
2969f9d1e5
Improve confirm Modal style detail
2016-10-07 17:59:00 +08:00
afc163
466aea3ea5
fix some components style detail
2016-09-30 11:30:51 +08:00
马金花儿
3d187d00a1
feat: 为Modal组件的confirm、success、error、warning、info 子组件增加快捷键,模仿原生体验。 ( #3061 )
...
* Add hotkey for Modal.confirm
* Optimize
* 重构快捷键逻辑
* 根据CR 进一步优化逻辑
* timeoutId 改为非强制
* Update confirm.tsx
* 使用 onCancel 回调代替 onClose,并修改 onCancel 注释。
* 修改注释
2016-09-20 08:58:20 +08:00
马斯特
a25ec29fb8
refactor: 保证所有的tsx和less都正确使用prefix ( #3024 )
...
* refactor: extract prefix cls as less variable
* refactor: apply ant icon prefix cls in less files
* refactor: all components support prefixCls props
2016-09-14 16:18:33 +08:00
afc163
f1817e1a9e
clear style
2016-05-19 11:12:05 +08:00
afc163
884f6510b2
Fix confirm icon color, close #1753
2016-05-18 19:07:14 +08:00
afc163
c45ed1365e
Fix confirm missing style
2016-05-05 15:03:24 +08:00