ZHANGYU
09dd53915e
docs: update modal doc ( #26492 )
...
* docs: update modal doc
* docs: sort modal props
2020-08-31 14:18:50 +08:00
偏右
c53e8ac4c9
test: ✅ add test cases to increase coverage ( #26410 )
2020-08-26 16:42:47 +08:00
骗你是小猫咪
e3ee4e87aa
feat: 🎉 Image component ( #26296 )
...
* feat: 🎉 Image component
* fix color
* fix style naming and sort api doc order
* remove onPreviewClose doc
* use animation-duration var
* use box and modal-mask mixins
* use box and modal-mask mixins
* improve style
* improve fallback demo src
* add cover
* improve demo
* update demo snapshots
* upgrade rc-image, naming Random -> Reload
* extract modal mask common style, and improve demo
* update snapshots
* fix less var conflict
* upgrade rc-image, adjust maxSize with dark.min.css, improve placeholder demo desc
2020-08-22 22:02:20 +08:00
Kermit Xuan
f98e3eee25
refactor: optimize code stle ( #26270 )
2020-08-19 09:50:04 +08:00
二货机器人
9fdad14dc0
fix: useModal missing prefix ( #25967 )
...
* fix: useModal hooks missing style
* add test case
2020-08-03 11:41:08 +08:00
afc163
508cecd0a7
merge feature into master-to-merge-feature
2020-07-21 16:23:13 +08:00
Amour1688
453f7d13f3
docs: optimize modal docs ( #25724 )
...
* docs: optimize modal docs
* docs: remove <br />
2020-07-21 12:26:56 +08:00
afc163
fb04927ada
📝 Add documentation for Form in Modal
2020-07-20 14:18:36 +08:00
偏右
188b4c75d5
Merge pull request #25657 from ant-design/master
...
chore: merge master into feature
2020-07-16 14:39:37 +08:00
afc163
77ed923fba
docs: 🎬 import Modal demo
2020-07-16 13:51:48 +08:00
偏右
cf42a16505
feat: Modal.config rootPrefixCls ( #25613 )
...
* feat: Modal.config rootPrefixCls
* fix tsd
2020-07-14 18:43:55 +08:00
偏右
3da88497ff
docs: info version about Modal.config ( #25610 )
2020-07-14 11:51:47 +08:00
偏右
f7ed77b52f
feat: support Modal.config for prefixCls ( #25603 )
...
* chore: refactor test cases
* ✨ support Modal.config
* fix lint
* remove extra default prefixCls value
* fix tsd
* docs: fix api
* Update components/message/index.en-US.md
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
Co-authored-by: xrk <xrkffgg@gmail.com>
2020-07-14 11:14:46 +08:00
xrkffgg
674ee73a2f
docs: format api alert/drawer/modal ( #25387 )
2020-07-02 14:55:12 +08:00
陈帅
523b74e3b6
merge master into Feature ( #25262 )
...
* feat: add successColor for Progress (#24655 )
* feat: add successColor for Progress
* feat: update
* fix: update test
* remove snap
* feat: add test case
* refactor success
* feat: adjust styyle
* feat: add DevWarning
* feat: Support rowSelection.dirty (#24718 )
* feat: Support rowSelection.dirty
* rename to reserveKeys
* preserveKeys will keep record also
* to preserveSelectedRowKeys
* feat: add ghost prop for collapse (#24734 )
* feat: add ghost prop for collapse
* doc: version of collapse's ghost prop
* refactor: make ghost collapse's less code to a nested style
* chore: remove redundant codes in ghost collapse's less & doc
* doc: add a background wrapper for ghost collapse demo
* doc: dark-theme wrapper bg-color for ghost collapse demo
* test: update snapshot of ghost collapse
* doc: use softer bg-color on ghost collapse demo
* doc: remove disabled panel in ghost collapse demo
* feat: form instance support getFieldInstance (#24711 )
* support getFieldInstance
* update doc
* fix lint
* move func
* move into hooks
* update ref logic
* fix lint
* rm only
* fix docs
* feat: dropdown support arrow (#23869 )
* feat: dropdown support arrow prop
close #22758
* test: update snapshot
* fix: fix dropdown cls names
* test: update snapshot
* test: update snapshot
* doc: update demo
* test: update demo snapshot
* demo
* fix: snapshot
* chore: change the style of ghost collapse & demo modified (#24762 )
* refactor: reduce content padding in ghost collapse
* doc: remove the wrapper outside ghost collapse
Designer want the demo differs from other demos
* refactor: remove redundant .less code in collapse
* feat: cascader dropdown-render prop (#24812 )
* feat: cascader dropdown-render prop
* fix: update Cascader dropdownRender type annotation
* fix: set rc-cascader semver from ^ to ~
* docs: fix coding style in cascader/custom-dropdown
* feat: 🆕 support Drawer closeIcon (#24842 )
* feat: 🆕 support Drawer closeIcon
close #19283
close #19153
* add test case
* update docs
* feat: 🆕 Cascader expandIcon (#24865 )
* feat: cascader expandIcon
* fix: snap
* refactor: reduce CSS size (#24846 )
* refactor: reduce button css size
* refactor: remove redundant button .less code
* feat: add Table onChange an action param (#24697 )
* Working on tests
* created TableAction type
* changed TableActions to tuple
* removed chinese documentation line
* refactor TableActions
* fix documentation
* Moved action into extra param
* minor doc change
* feat: add closeIcon customize tag close (#24885 )
* feat: add closeIcon customize tag close
* docs fix
* update snap
* fix: css name
* update snapshot
* snapshot
* feat: add radio `optionType` api to set radio option type (#24809 )
* feat: radio component
* docs: update md
* fix: snap
* test components
* fix: use optionType
* fix name
* add warning
* fix
* feat: expand rate character (#24903 )
* feat: expand rate character
* fix: demo
* fix: snap
* Update components/rate/index.zh-CN.md
Co-authored-by: 偏右 <afc163@gmail.com>
* fix
Co-authored-by: 偏右 <afc163@gmail.com>
* Refactor demo code box actions (#24887 )
* refactor: refine the styling of actions part of demo code-box
* fix: lint style
* refactor: move Result children to end (#24945 )
* feat: remove content max-width on dot-step (#24907 )
* feat: add Skeleton-Image (#24805 )
* feat: add Skeleton-Image
* feat: add docs
* fix: adjust skeleton
* feat: adjust Image Component
* feat: rebase
* feat: adjust style
* fix: lint
* feat: remove size
* feat: delete md
* feat: fix style
* ✨ feat: Mentions support autoSize (#24961 )
close #17746
* chore: replace textarea with rc-textarea (#24966 )
* feat: update pagination@2.3.0 support onChange called when pageSize change (#24964 )
* feat: update pagination@2.5.0 and add test case to relative component
* fix: lint
* delete
* feat: add test case for pagination
* adjust test case
* feat: Implement centered prop in Tabs (#24958 )
* Implement centered in Tabs along with its tests and docs
* Fix build error
* Add Chinese translations and remove test case
Co-authored-by: Ashkan Pourghasem <ashkan.pourghasem@gmail.com>
* feat: Add modal style parameter (#24773 )
* add some paramters in default.less
* Update components/style/themes/default.less
Co-authored-by: Amumu <yoyo837@hotmail.com>
* change parameter in compact.less
Co-authored-by: Crystal Gao <jinggao@ebay.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>
* feat: export Tabs addIcon (#25006 )
* feat: export Tabs addIcon
* update snapshot
* feat: showNow on timepicker and datetimepicker (#25032 )
* feat: update rc-picker@1.7.1 and fix icons of month and quarter picker in DatePicker Component (#25035 )
* feat: update rc-picker@1.7.1
* delete
* add
* feat: expand rate support props (#24993 )
* docs: 📝 Add Form.Item hidden in doc (#25108 )
close #25101
* fix: ⌨️ Improve Pagination accessibility issue (#25119 )
* ⌨️ Improve Pagination a11y by fixing a W3C error
https://github.com/react-component/pagination/issues/280
* update snapshot
* 🆙 rc-pagination to 2.4.1
* feat: support triggerSubMenuAction for <Menu /> (#25127 )
* feat(menu): add triggerSubMenuAction for Menu
* feat(menu): test cases
* chore: Adjust picker logic (#25135 )
* chore: update rc-picker 1.10.0 (#25174 )
* feat: table row check strictly (#24931 )
* feat: add checkStrictly on Table.rowSelection
* fix: LGTM warnings
* test: table rowSelection.checkStrictly
* test: add cov [wip]
* refactor: tree.rowSelection.checkStrictly [wip]
* test: table.rowSelection.checkStrictly basic case
* feat: support rowKey on checkStrictly table
* feat: Table checkStrictly support getCheckboxProps
* docs: Table checkStrictly
* chore: typo
* chore: remove useless comment
* chore: update snapshot
* chore: update snapshot
* fix: fire selectAll on selection dropdown menu & changeRows incorrect in selectAll callback
* docs: typo
* chore
* chore
* fix: expand buttons of leaf rows in tree data are not hidden
* feat: Table warning about rowKey index parameter
* perf: only generate keyEntities when not checkStrictly
* refactor: remove useless parseCheckedKeys
* refactor: get derived selected & half selected keys from selectedRowKeys
* chore: remove env condition stmt
* chore: revert index usage & code formatting
* chore: rerun ci
* docs: table tree-data checkstrictly
* test: update snapshots
* refactor: use useMergedState hook
* chore: rerun ci
* chore: rerun ci 2
* chore: revert selection select all behavior
* refactor: refactor code based on feature
* chore: revert table code format
* chore: revert table code format
* fix: useMemo deps
* fix: useMemo deps
* fix: useMemo deps
* feat: support preserve (#25186 )
* docs: add responsibly order for Col (#25139 )
* feat: add type
* feat: add responsibly order cols
* feat: add docs
* feat: add test case
* fix test
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: 偏右 <afc163@gmail.com>
Co-authored-by: zoomdong <1344492820@qq.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
Co-authored-by: wendellhu <wendellhu95@gmail.com>
Co-authored-by: xrkffgg <xrkffgg@gmail.com>
Co-authored-by: Neto Braghetto <netow93@gmail.com>
Co-authored-by: Kermit Xuan <kermitlx@outlook.com>
Co-authored-by: Ashkan Pourghasem <64011067+ashkan-pm@users.noreply.github.com>
Co-authored-by: Ashkan Pourghasem <ashkan.pourghasem@gmail.com>
Co-authored-by: hicrystal <295247343@qq.com>
Co-authored-by: Crystal Gao <jinggao@ebay.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: Li Ming <armyiljfe@gmail.com>
2020-06-28 22:41:59 +08:00
xrkffgg
a5f3ac8348
docs: unite boolean in site ( #25058 )
...
* docs: unite boolean in site
* fix demo
* fix boolean
* add
* add
* add
2020-06-17 23:18:14 +08:00
xrkffgg
6fb38c342f
fix: add modal confirm default icon ( #24956 )
2020-06-12 18:11:42 +08:00
二手掉包工程师
57190f197b
refactor: clean up some deprecated APIs ( #24881 )
2020-06-10 11:12:31 +08:00
偏右
637aa09bc5
chore: ✅ fix some eslint problems ( #24836 )
...
* 💄 fix lint
* 💄 fix lint
2020-06-08 18:01:50 +08:00
xrkffgg
b8fb4c411d
feat: modal method rtl ( #24682 )
...
* fix: modal rtl
* fix: use hooks
* Update components/modal/index.zh-CN.md
2020-06-03 17:20:04 +08:00
偏右
882cec62d6
docs: 🌈 Add Components overview page ( #24491 )
...
* docs: Add components overview page
* fix detail
* remove ContributorsList form overview page
* fix components url
* improve code style
* remove extra file
* fix detail
* fix lint
* fix lint
* docs: Finish components overview page
* fix lint
* docs: Update cover
* fix lint
* update cover
* update menu
* improve overview page
* refactor code
* fix order
* update title
* add components count
* fix overview page ssr bug
* move less file
* update title margin
Co-authored-by: arvinxx <arvinx@foxmail.com>
2020-05-31 11:48:34 +08:00
xrkffgg
059b106ccf
docs: update confirm demo ( #24569 )
2020-05-29 13:39:24 +08:00
Tom Xu
6f1fe30df1
docs(modal): improve ( #24301 )
2020-05-20 10:51:36 +08:00
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
2020-05-19 20:15:51 +08:00
二货机器人
2e284aa017
chore: small bundle size ( #24135 )
...
* update warning
* rm warning
* replace with dev warning
* fix test
* fix site
* Update webpack.config.js
Co-authored-by: 偏右 <afc163@gmail.com>
* Update webpack.config.js
* fix sytax
* adjust
* move into function
Co-authored-by: 偏右 <afc163@gmail.com>
2020-05-14 15:57:04 +08:00
偏右
4dccbd8eab
style: add @modal-close-color ( #24053 )
...
* 🆕 Add @modal-close-color
close #24050
* update snapshot
* fix var name
2020-05-11 20:08:46 +08:00
偏右
2ab7c3f182
fix @menu-item-font-size not working ( #24052 )
...
close #24051
2020-05-11 19:12:04 +08:00
二货机器人
dff19af744
chore: Update Popconfirm & Modal okType type ( #23867 )
...
* chore: Update Popconfirm & Modal okType type
* add test case
* update test case
2020-05-05 12:03:16 +08:00
二货机器人
1489903d9d
fix: Modal async ( #23826 )
...
* make async
* fix tesst
2020-05-03 00:53:32 +08:00
xrkffgg
01b98e79d9
docs: optimize site of components 3 ( #23779 )
...
* docs: optimize site of components in rtl 3
* add
2020-04-30 21:04:19 +08:00
Tom Xu
f5153ab950
docs: improve style type ( #23700 )
2020-04-28 14:09:54 +08:00
Tom Xu
62eaa4193b
fix: docs Modal confirmLoading default value ( #23682 )
2020-04-27 23:45:45 +08:00
偏右
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
2020-04-18 01:09:14 +08:00
偏右
8dbaf66c2b
fix: confirm button should only trigger once ( #22963 )
...
close #22861
2020-04-06 21:57:51 +08:00
Chiciuc Nicușor
1321d90e8b
Replace NativeButtonProps with ButtonProps for okButtonProps and cancelButtonProps. ( #21165 ) ( #22913 )
2020-04-06 13:00:41 +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
afc163
e12e2971d8
merge feature into master-to-merge-feature
2020-03-23 15:02:22 +08:00
二货机器人
3459bfc0be
docs: 4.0.4
changelog ( #22505 )
...
* docs: Init changelog
* order
* grouping
* clean up
2020-03-23 10:57:37 +08:00
偏右
5529774513
Update index.en-US.md
...
#15260
2020-03-21 11:45:24 +08:00
偏右
86946f434f
Merge pull request #22446 from ant-design/master
...
chore: 🔀 merge master into feature
2020-03-20 19:20:11 +08:00
偏右
ed6e8760e5
✅ fix snapshot ( #22445 )
2020-03-20 18:43:47 +08:00
偏右
a399d05ace
Merge pull request #22435 from ant-design/master
...
chore: 🔀 merge master into feature
2020-03-20 16:04:26 +08:00
xrkffgg
7f4c7b5978
style: fix rtl.less place and name ( #22384 )
2020-03-19 12:13:24 +08:00
偏右
b80788556d
Merge pull request #22381 from ant-design/master
...
chore: 🔀 merge master into feature
2020-03-19 12:10:07 +08:00
xrkffgg
41eacdfff0
style: add rtl.less of Drawer\Modal\Progress\Result ( #22354 )
...
* style: add rtl.less of Drawer\Modal\Progress\Resul
* fix: rtl.less name
* fix: add import
* fix: remove modal
* fix: remove drawer
* fix: remove progress
* style: add rtl.less of Drawer\Modal\Progress\Resul
* fix: rtl.less name
* fix: add import
2020-03-18 18:15:13 +08:00
Gibson C
d2ef74b2ed
feat: Refine locale types ( #22103 )
2020-03-11 14:56:01 +08:00
二货机器人
adb323cec2
chore: icons save bundle size without treeShaking ( #21752 )
...
* alert
* more icons
* another grouping
* all done
2020-03-02 12:09:38 +08:00
信鑫-King
c17b40ae70
fix: dark background in different container ( #21299 )
...
* fix: comment and input
* fix: add @pagination-item-input-bg
* feat: add @list-customize-card-bg for dark hook component
* feat: add dark hook
* fix: checkbox color
* fix: popover-customize-border-color
* fix: table
* fix: style lint
* fix: debug
* fix: color
* fix: update colors
* fix: demo
* feat: popover container bg use mixins utils
* fix: less dark
* fix: table bg in dark
* fix: fixed table
* fix: lint
* fix: lint
* feat: add @table-expand-icon-bg
* fix: notification bg
* fix: remove dark.md
* fix: dropdown
* fix: table
* fix: data lint
* fix: style
* fix: dark less style
* fix: @steps-background
* fix: add thead dark style
* fix: unused styles
2020-02-24 22:44:29 +08:00
偏右
40718f597a
chore: remove unused iconClassName from definition ( #21378 )
...
close #21367
2020-02-14 12:32:24 +08:00
二货机器人
8b20fbc96c
docs: Update hooks description ( #21279 )
...
* docs: Update notification faq
* patch faq in Modal
2020-02-07 20:32:00 +08:00
二货机器人
d02c486052
feat: Modal support hooks ( #20949 )
...
* init hooks
* portal it in
* children with 2 context demo
* Remove config since not more second demo
* Quit with same Component for logic reuse
* add rest functions
* use localeReceiver
* use localeReceiver
* update test case
* fix lint
* update docs
* update demo title
2020-02-03 13:00:35 +08:00
xrkffgg
4388a96c32
docs: Format string notation of all components ( #20970 )
2020-01-17 17:23:47 +08:00
Dean van Niekerk
019fdd58a0
feat: add footer property to Drawer ( #20690 )
2020-01-06 14:56:00 +08:00
Saeed Rahimi
676de29eb4
feat: added rtl direction to all of ant-design components ( #19380 )
...
* rtl demo change en-us description
* change bundlesize css limit
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* fix pagination.tsx compile error
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* fix select component arrow issue
* RTL: form component
* add pagination rtl test
* fix test lint error
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* some fixes to RTL components
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* fix switch component text rtl issue
* fix table grouped header text-align
* add rtl support to whole demo with RTL button
* Update rtl demo responsive
* RTL: page-header component
* RTL: typography component
* RTL: Dropdown (Partial)
* update config-provider doc
* RTL: input component
* RTL: select component
* RTL: switch component
* RTL: tree component
* fix rtl demo lint
* rtl demo change en-us description
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* RTL: form component
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* fix lost changes after rebase
* fix lint errors
* RTL: Transfer Component
* RTL: upload component
* RTL: update avatar demo
* RTL: comment component
* RTL: collapse component
* RTL: carousel component
* update snapshots
* RTL: Card component
* RTL: descriptions component
* RTL: Empty component
* RTL: list component
* RTL: slider component
* slider component import/order
* add shared rtlTest
* RTL: Statistic component
* RTL: tooltip components
* RTL: popover component
* RTL: timeline component
* RTL: tag component
* RTL: alert component
* RTL: drawer component
* RTL: Tab component
* change direction definition
* RTL: progress component
* input.tsx, remove duplicate after rebase
* fix demo.less after rebase
* fix ant-row-rtl after rebase
* fix upload issues in rtl
* badge rtl demo margin fix
* fix: tabs with icon margin
* fix: radio-wrapper margin
* fix: table component after rebase
* fix: centered modal text-align
* update slider snapshot
* RTL: popconfirm component
* RTL: back-top component
* RTL: spin component
* RTL: result component
* RTL: skeleton component
* RTL: menu component
* RTL: time-picker component
* RTL: calendar component
* RTL: date-picker component
* RTL: home page
* update snapshots
* test: add auto-complete rtl test
* test: add avatar component rtl tests
* test: add badge component rtl tests
* test: add breadcrumb component rtl tests
* test: add button components rtl tests
* test: add card component rtl tests
* test: add carousel component rtl tests
* test: add cascader component rtl tests
* test: add checkbox component rtl tests
* test: add collapse component rtl tests
* test: add comment component rtl tests
* test: add dropdown component rtl tests
* test: add empty component rtl tests
* test: add form component rtl tests
* test: add grid component rtl tests
* test: add input component rtl tests
* test: add search component rtl tests
* test: add input-number component rtl tests
* test: add layout component rtl tests
* test: add list component rtl tests
* test: add mentions component rtl tests
* test: add modal component rtl tests
* test: add page-header component rtl tests
* test: add pagination component rtl tests
* test: add radio component rtl tests
* test: add rate component rtl tests
* test: add select component rtl tests
* test: add slider component rtl tests
* test: add steps component rtl tests
* test: add switch component rtl tests
* test: add table component rtl tests
* test: add transfer component rtl tests
* test: add tree component rtl tests
* test: add tree-select component rtl tests
* test: add typography component rtl tests
* test: add upload component rtl tests
* test: add affix component rtl tests
* update calendar tests
* increase css file maxSize
* update snapshots
* remove workflows to allow push
* remove duplicate reverse prop from slider
* fix: remove table demo from config-provider
* fix: remove table demo from config-provider
* fix lint error
* Added direction property to ConfigProvider
* cascader rtl tests added
* update config-provider doc
* RTL: grid system
* RTL: input component
* RTL: switch component
* fix rtl demo lint
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* fix pagination.tsx compile error
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* RTL: form component
* add pagination rtl test
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* RTL: input component
* RTL: select component
* RTL: switch component
* RTL: tree component
* fix rtl demo lint
* rtl demo change en-us description
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* RTL: form component
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* input.tsx, remove duplicate after rebase
* fix ant-row-rtl after rebase
* update snapshots
* test: add cascader component rtl tests
* test: add pagination component rtl tests
* update calendar tests
* update snapshots
* fix: remove table demo from config-provider
* fix: remove table demo from config-provider
* fix lint error
* update direction.md icons
* dropdown and cascader default placement in rtl
* update snapshots
* fix lint errors
* remove duplicate import
* update snapshots
* update snapshot
* update calendar snapshot
* update snapshots
* integrate with new rc-picker
* update snapshots
* fix lint errors
* update snapshot
* update snapshots
* update snapshots
* update snapshots :|
* update snapshots
* fix compile error.
* fix typo after rebase
* update snapshots
* remove workflows to allow push
* update snapshots
* update snapshots
* fix dist error
* front-page css fix
* update snapshots
* fix lint and test issues
* restore cascader index.less
* update snapshots
* fix logo in rtl and demo controls
* ci errors
* resolve steps/index.tsx conflicts
* tooltip family demo remove inline style
* resolve table/Table.tsx conflicts
* resolve modal/Modal.tsx conflicts
* resolve cascader/index.tsx conflicts
* add workflows from upstream
* update snapshots
* revert logo to default
* fix codebox demo direction of placements
* resolve tooltip overlayClassName conflicts
* update snapshots
* update popover test
* fix: cascader miss popupClassName
* fix: fix select missing dropdownClassName
* chore: Update snapshot
* chore: Adjust menu use rtl logic
* docs: Update demo line color
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-01-02 19:10:16 +08:00
ycjcl868
fa0da1257a
fix: Modal icon
2019-12-25 21:28:06 +08:00
偏右
8501b708ea
refactor: 📦 smaller bundlesize limit ( #20356 )
...
* 📦 samller bundlesize limit
* 🗑️ remove React static PropTypes
* 🗑️ remove react-lifecycles-compat
* 🗑️ remove matchMedia polyfill
* 🗑️ remove Transfer buggy lazy prop
* 🗑️ remove enquire.js dep
* 🗑️ remove Transfer lazy related code and fix ci
* 🗑️ remove used dom-closest
* ⚡ replace dom-scroll-into-view to scroll-into-view for bundle size
* ✅ fix eslint
* 🆙 upgrade browserslist
* ✅ fix test cases
* 🗑️ remove @ant-design/create-react-context
* 🆙 upgrade @ant-design/bisheng-plugin
* 🆙 upgrade rc-slider
* ✅ fix ci
* 🆙 upgrade rc-tabs and rc-mentions
* 📦 scroll-into-view -> scroll-into-view-if-needed
* remove unused devDep
* docs: 📝 update instruction about IE9/10
* 📦 reduce css bundle size by drop IE9/10 support
* 🆙 upgrade rc-upload
* 🗑️ drop unused swing motion css
* ✅ update upload snapshots
* 📦 lift css bundlesize limit to 55kb
2019-12-23 18:33:08 +08:00
vagusX
871ab3da81
feat: add waring for icon props in Avatar, Button, Modal.method and Result ( #20226 )
2019-12-13 10:18:12 +08:00
骗你是小猫咪
2006fa7570
test: update snapshots ( #20103 )
2019-12-05 16:56:45 +08:00
ycjcl868
dfab3c4ab5
fix: border-color in popover component
2019-12-04 11:58:48 +08:00
ycjcl868
279c24716c
feat: add modal and drawer bg
2019-11-29 09:04:38 +00:00
二货机器人
64b905e9bd
chore: Update @ant-design/icons
deps ( #19979 )
...
* update icons deps
* update all icon ref
* fix lint
* update snapshot
2019-11-28 12:34:33 +08:00
陈小聪
e71a4ef10f
docs: Removed version column in 4.0 ( #19832 )
2019-11-20 17:46:50 +08:00
zombiej
2ba81538d8
chore: Merge master
2019-11-13 11:48:20 +08:00
Emerson Laurentino
be0fd703f7
removing getContainer fixed ( #19233 )
2019-11-08 10:24:53 +08:00
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
comerc
3898c45c5d
Typo ( #12608 )
2018-10-11 23:47:39 +08:00
RyanHui
c095cb4665
modal add mask colse ( #12556 )
2018-10-10 22:28:38 +08:00
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.
2018-09-30 14:50:03 +08:00
Erwin Kort
2d8f9ccf63
Add button autofocus prop to confirm modal ( #11756 )
...
@picodoth
2018-09-29 17:00:01 +08:00
Adam Burgess
9b01ec1ed2
Modal: Add the update function type definition
2018-09-23 13:20:38 +08:00
afc163
2952a8625b
site: remove old version hint of API
2018-09-12 21:43:01 +08:00
HeskeyBaozi
c76a90b2b7
fix tweak icon
2018-09-07 14:14:23 +08:00
HeskeyBaozi
976f6969f4
update test snapshot
2018-09-07 14:14:23 +08:00
afc163
32c78b2f8d
update snapshot
2018-09-05 22:41:46 +08:00
zombiej
abd1d5efbb
fix #12050 . Table on modal should be the same behaivour as normal one
2018-09-04 14:35:46 +08:00
包子熊
67024893ce
Hotfix/icon issue ( #12016 )
...
* fix progress icon
* remove IconDisplay fields.js
* update progress test snapshot
* fix form item circle filled
* update form-item test snapshot
* fix close icon in upload item list
* fix alert icon theme
* update alert test snapshot
* fix time picker clear icon
* fix test snapshot
* fix rotate icon in the header
* update test snapshot
* update new tree test snapshot
* fix icon position
* fix old icon and new icon both display
* fix card actions icon position
2018-09-03 19:29:27 +08:00
afc163
3cbb5da6c2
tweak icons size
2018-09-03 17:11:20 +08:00
HeskeyBaozi
2f8a56fa78
fix test case & update test snapshot
2018-09-02 20:59:37 +08:00
HeskeyBaozi
74798b8911
upgdate test snapshot
2018-09-02 20:59:37 +08:00
HeskeyBaozi
d6131fe18d
update test snapshot
2018-09-02 20:59:37 +08:00
afc163
207bad7b47
Merge branch 'master' into feature-3.9.0
2018-09-01 13:22:06 +08:00
zombiej
fe2728cb20
fix #11969 . Pass centered prop to popup modal
2018-08-30 22:27:32 +08:00
HeskeyBaozi
0c9465aaf9
upgrade icons library
2018-08-27 20:40:11 +08:00
afc163
0f472505db
use const
2018-08-25 22:57:24 +08:00
afc163
325bff5324
update modal demo button text
2018-08-25 22:57:24 +08:00
afc163
9fdee487ce
Add test case for modal update
2018-08-25 22:57:24 +08:00
afc163
b8b9c02fb9
Add update function for Modal.method, close #11721
2018-08-25 22:57:24 +08:00
afc163
877f9fd7d6
Add getContainer to Modal.info etc, close #11377
2018-08-25 21:24:18 +08:00
HeskeyBaozi
ee1d2469a8
upgrade test snapshot
2018-08-24 18:36:08 +08:00
HeskeyBaozi
65600c8a95
upgrade to 3.8.2
2018-08-20 14:00:51 +08:00
afc163
ec6d88f407
Fix modal text being selected when open it with double click, close #11777
2018-08-17 19:13:42 +08:00
yoyo837
004d786cb4
补充中文文档
2018-08-16 23:00:52 +08:00
HeskeyBaozi
796de6390b
update test snapshot
2018-08-14 15:32:29 +08:00
HeskeyBaozi
35974d67b2
update test snap shot
2018-08-13 20:51:01 +08:00
HeskeyBaozi
3baec95628
Merge branch 'feature-3.9.0' of https://github.com/ant-design/ant-design into feature/svg-icon
2018-08-13 09:26:33 +08:00
Wei Zhu
064bfaf554
Add @types/prop-types
2018-08-07 21:09:05 +08:00
HeskeyBaozi
b2ab727c89
resolve conflicts
2018-08-06 15:06:06 +08:00
afc163
aa2b1a4352
Merge branch 'master' into feature-3.8.0
2018-08-03 23:16:08 +08:00
HeskeyBaozi
46cb1c8cde
resolve conflict.
2018-08-02 18:02:43 +08:00
HeskeyBaozi
cc180e2605
resolve conflict.
2018-08-02 18:02:31 +08:00
Chandler Moisen
10f1c6ceaa
Modal.confirm title overflow:hidden
2018-08-02 11:27:32 +08:00
yoyo837
eab74fa693
For #11537 , Centered style should be applied to the wrap element.
2018-08-01 11:16:17 +08:00
yoyo837
f14e207912
Boolean
2018-07-31 21:14:48 +08:00
yoyo837
45e9b2a937
fix prefixCls is missing in restProps
2018-07-31 21:14:48 +08:00
yoyo837
ef31697d26
Support centered settings
2018-07-31 21:14:48 +08:00
HeskeyBaozi
c28c30d124
use rc-dialog@3.2.0, use svg close icon in Modal component.
2018-07-31 16:19:10 +08:00
Ilan Hasanov
86398d910a
💬 misc typos and blank spaces fixes
2018-07-29 01:15:02 +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
陈帅
d2856392b6
fix site build error
2018-07-13 22:23:12 +08:00
afc163
0981ef06a4
fix demo lint
2018-06-27 16:14:47 +08:00
afc163
56020cda39
Merge branch 'master' into feature-3.7.0
2018-06-27 16:14:14 +08:00
afc163
009ed08580
upgrade eslint-config-airbnb
2018-06-27 16:09:58 +08:00
Matt Lein
e63f9d4beb
Pass data and aria props to the date picker input.
...
Pass data and aria props to the alert div.
add wrapProps to ModalProps
2018-06-25 16:53:04 +08:00
Wei Zhu
b374297ca6
Merge branch 'master' into feature-3.7.0
2018-06-25 11:44:35 +08:00
Wei Zhu
aa580beb8b
docs: sort api table
2018-06-24 17:09:18 +08:00
afc163
9f16d066af
Fix lint problems from eslint-config-airbnb@17
2018-06-22 21:05:13 +08:00
Randy
a614a525c4
fix #10822 ( #10955 )
...
Add `okButtonProps` and `cancelButtonProps` props to ok button and cancel button
2018-06-22 19:56:41 +08:00
Oleg Kuzava
be7f540fba
Fix breakpoint for mobile view
2018-05-29 14:05:40 +08:00
afc163
3a445f3e75
more test cases
2018-05-25 21:43:21 +08:00
Chenjia
5634881eda
add docs for keyboard props on modal component #8818 ( #10030 )
2018-04-13 12:01:51 +08:00
Wei Zhu
921361313a
Add explicit types for default props
...
Fix #8796
Close #8820
2018-04-10 10:50:59 +08:00
Hughen
53abf888cb
fix: fixed modal content overflowed
...
- fixed modal content overflowed, when the very long english
word fill in Modal title
2018-03-30 15:33:33 +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
220d28d3e4
support keyboard for Modal.confirm, close #8818
2018-02-11 13:45:32 +08:00
afc163
6c46692160
Tweak confirm title style
2018-01-31 14:46:45 +08:00
keqingrong
32ac330ca2
docs: add className for Modal.method
2018-01-05 21:47:16 +08:00
Wei Zhu
999d6184ad
docs: Sort api table
2017-12-29 20:22:58 +08:00
Wei Zhu
f89254537e
Document destroyOnClose in Chinese
2017-12-28 16:26:03 +08:00
Rohan Malhotra
6f3f17bb06
removed unnecessary whitespace
2017-12-28 12:49:54 +05:30
Rohan Malhotra
c6a1861887
updated rc-dialog and docs for destroyOnClose
2017-12-28 12:49:33 +05:30
Wei Zhu
45815d1148
Refactor confirm ( #8409 )
...
* Refactor confirm
* Add okCancel test
* Only test React 16
* Upgrade rc-dialog
2017-12-02 22:10:27 +08:00
Wei Zhu
01f4b4e713
Merge branch 'master' into antd-3.0
2017-12-01 11:50:07 +08:00
Nathan Griffin
51b6e4904a
Adding missing type properties ( #8395 )
2017-12-01 10:29:48 +08:00
Benjy Cui
57dcc78989
fix: should not override default footer, close : #8379
2017-11-30 17:24:51 +08:00
Wei Zhu
d8f6c3bd8c
Fix implicit any error for Modal and Message
2017-11-21 17:20:25 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
2017-11-17 14:38:54 +08:00
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
2017-11-11 00:07:03 +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
Benjy Cui
e5699aff68
fix: should not import moment while useless, close : #8013
2017-10-26 10:50:18 +08:00
Wei Zhu
bbb1a3a828
Merge branch 'master' into antd-3.0
2017-10-25 10:27:38 +08:00
Wei Zhu
36227a10db
docs: sort api table
2017-10-25 10:25:44 +08:00
afc163
3f57d5f56d
Merge branch 'master' into antd-3.0
2017-10-23 10:41:51 +08:00
Benjy Cui
ff5d05129f
docs: translate 1599686
2017-10-23 10:37:31 +08:00
kossel
1599686fc2
docs: update docs for Modal, close #7840 ( #7952 )
2017-10-22 21:35:47 -05:00
Benjy Cui
7ea572bfc8
refactor: extract common locale logic ( #7915 )
2017-10-20 14:54:38 +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
4eb9d5ef56
Merge branch 'master' into antd-3.0
2017-10-09 13:33:59 +08:00
afc163
475e4ff23d
upgrade eslint-config-airbnb
2017-10-09 13:27:35 +08:00
偏右
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 👻
2017-09-27 22:32:49 +08:00
Benjy Cui
829b5f87bf
feat: make default locale to enUS ( #7553 )
...
* feat: make default locale to enUS
* test: fix CI
* docs: update getting started
2017-09-26 23:12:47 +08:00
ChaXinyu
14e2a56b75
export components interface ( #7654 )
...
* export components interface
* export specific props
* fix formItem missed import
2017-09-25 22:14:49 +08:00
afc163
7a7b18032c
use @screen-md
2017-09-25 11:18:26 +08:00
偏右
759b0bb821
seperate reset styles ( #7682 )
...
* seperate reset styles
* not reset ul/ol/p/heading
* revert reset.less idea
* move label style into ant-form-item, #5851
* revert reset.less idea
* update base.less
* Better typography from bootstrap@4
use reboot replace normalize
ref:
b4d84b9cdf/scss/_reboot.scss
close #6162
2017-09-22 18:33:29 +08:00
Meow-z
e165b8a705
fix: model ( #7675 )
...
add confirmLoading in async model state.
2017-09-20 09:22:53 -05:00
afc163
ea2c113530
Fix zIndex types, ref #7624
2017-09-15 22:51:03 +08:00
afc163
11a6cd51a2
Fix zIndex types, close #7622
2017-09-15 21:41:32 +08:00
Khalifa Lame
b381f1f5ec
docs: update Modal English doc ( #7537 )
...
Fixed several typos.
2017-09-11 11:08:18 +08:00
Benjy Cui
59193ef34a
Revert "Patch 1 ( #7471 )"
...
This reverts commit 9667ec17bd
.
2017-09-06 09:46:58 +08:00
kuang
9667ec17bd
Patch 1 ( #7471 )
...
* default value error
f10a2abbd8/src/Modal.tsx (L53)
* default value error
2017-09-05 19:07:57 +08:00
afc163
ef8beaffde
Merge from master
2017-08-25 22:51:14 +08:00
afc163
61aac68028
doc: remove new key way
2017-08-24 09:44:17 +08:00
Benjy Cui
456cea652b
docs: add zIndex to docs of Modal, ref: 2aa3437
2017-08-07 10:41:38 +08:00
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
2017-08-07 10:41:38 +08:00
yociduo
fa0e90f577
remove cancel type
2017-08-07 10:40:34 +08:00
yociduo
528a7645ca
remove cancel text
2017-08-07 10:40:33 +08:00
Eden Wang
a5a1458148
add missing trailing commna
2017-08-07 10:40:33 +08:00
Eden Wang
8f1dd9ccda
add missing trailing comma
2017-08-07 10:40:33 +08:00
Eden Wang
ee176347ac
fix ci compile error
2017-08-07 10:40:33 +08:00
Eden Wang
f7b918add3
update confirm demo
2017-08-07 10:40:33 +08:00
Eden Wang
c712d072eb
update okType and cancelType for api docs
2017-08-07 10:40:33 +08:00
Eden Wang
f2b987aaa9
update custom type for modal components
2017-08-07 10:40:32 +08:00
乐仪
1dd3e001c5
Update Modal doc, relevant: https://github.com/ant-design/ant-design/pull/7085
2017-08-06 12:44:15 +08:00
Ivan Radeljic
1651682020
Update modal documentation ( #7085 )
...
Add another way to destroy state on close modal
2017-08-06 00:04:25 +08:00
Wei Zhu
401519ec6f
Fix types
2017-07-31 01:50:46 +08:00
Randy
99e4cd6aec
add rc-util declaration to custom-typings ( #6935 )
2017-07-29 14:17:02 +08:00
LongYinan
bd5daa939a
fix: missing maskClosable property in ModalFuncProps interface
2017-07-17 15:26:37 +08:00
paranoidjk
ba168b826f
refactor: use spread operator replace object-assign ( #6677 )
2017-07-03 16:57:11 +08:00
Benjy Cui
8c632ef2cf
fix: Modal.method should stop loading when promise throw err, close : #6183
2017-06-06 11:51:50 +08:00
afc163
fd625ef1a0
upgrade and fix tslint problems
2017-05-31 15:48:35 +08:00
Benjy Cui
0e5431d21b
deps: upgrade antd-tools and code style
2017-05-25 16:54:15 +08:00
Benjy Cui
977a5a1cc7
docs: add missing API docs for Modal, close : #6239
2017-05-24 10:00:59 +08:00
Benjy Cui
523ad8c802
docs: show demo for #6121
2017-05-16 15:09:10 +08:00
Benjy Cui
9ce3a1ea35
docs: update docs details for Modal, close : #6121
2017-05-16 10:43:12 +08:00
Benjy Cui
12a6060304
docs: fix code style
2017-05-15 14:37:22 +08:00
leadream
d783c26263
css: add background color variable for modal mask. ( #5890 )
2017-04-25 16:43:42 +08:00
afc163
b9ff7ed613
enlarge close area of Modal
2017-04-19 11:15:46 +08:00
Manjit Kumar
4e055ed5d0
use PropTypes from 'prop-types' mdoule instead of React
...
- as React.PropTypes is being deprecated
- Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.
- Solution: https://facebook.github.io/react/blog/2017/04/07/react-v15.5.0.html#migrating-from-react.proptypes
2017-04-12 02:22:05 +05:30
Benjy Cui
71495e71d2
test: fix warning, close : #5628
2017-04-05 16:21:21 +08:00
Wei Zhu
1a8e738142
Set snapshotSerializers
2017-04-02 18:09:23 +08:00
Benjy Cui
ce2fe2aa45
test: add test for Modal[footer=null]
2017-03-30 16:06:03 +08:00
Benjy Cui
af12ca7434
fix: Modal[footer] could be set to null to hide totally, close : #5462
2017-03-24 14:41:41 +08:00
偏右
674255bd14
[WIP] upgrade deps ( #5455 )
...
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
2017-03-23 21:15:49 +08:00
afc163
6b2f6af85d
use @info-color over @primary-color, close #5442
2017-03-23 13:57:30 +08:00
afc163
a42a507e2b
percise modal document
2017-03-22 15:25:28 +08:00
Wei Zhu
f6b1e942e3
Jest 19 ( #5361 )
...
* Upgeade to jest 19
* Use jest.spyOn
2017-03-17 18:56:30 +08:00
ddcat1115
24e6fb4ba6
fix Modal.confirm error when onCancel not set ( #5294 )
...
* fix Modal.confirm error when onCancel not set
* add test case
2017-03-17 11:47:36 +08:00
elios
f3cc8dfe0d
+ call onCancel when pressing esc key ( #5209 )
...
* + call onCancel when pressing esc key
* + call onCancel when press esc corrections
2017-03-10 10:55:47 +08:00
afc163
0b62f77630
Tweak title color
2017-03-07 14:29:02 +08:00
邦
3d32a86547
refactor: improve modal static methods type definition ( #5090 )
...
* refactor: improve modal static methods type definition
* chore: add exports.
* chore: remove unused import
2017-03-03 11:40:54 +08:00
ddcat1115
e07cdf5387
add left out event parameters for Modal[onOk] Popconfirm[onConfirm] Popconfirm[onCancel] ( #5042 )
2017-02-24 16:07:39 +08:00
afc163
5e0f5e1902
rewrite Modal demos to es6 component, #4878
2017-02-20 22:02:12 +08:00
afc163
b427adec21
docs: add instrunction about footer={null}
2017-02-19 01:42:58 +08:00
Benjy Cui
200b88246f
docs: update docs format
2017-02-13 10:55:53 +08:00
Benjy Cui
eee34f1829
fix: footer button should align with cross button
2017-02-13 10:23:55 +08:00
Benjy Cui
d2b8d65c87
style: update code style to please lint, close : #2179
2017-02-06 12:09:58 +08:00
afc163
0eb5c689a3
remove type="ghost" from demo
2017-02-04 22:35:33 +08:00
Graeme Yeates
1006015ef0
Add border customization variables ( #4734 )
...
* Add border customization variables (#4712 )
* Make border styles customizable (fixes #4712 )
2017-01-31 16:05:10 +08:00
afc163
f2bb4afd4d
Merge from master
2017-01-27 17:23:51 +08:00
Wei Zhu
77b78a9389
docs: Unify type naming ( #4636 )
...
* Unify name of ReactNode type in document
* Lowser all string type name
* Lowercase all number type name
* Lowercase all boolean type name
* Unify array type
* Lowercase all object type name
* Unify mutilple types
2017-01-20 20:10:50 +08:00
afc163
35523be6e9
Merge from master
2017-01-20 18:28:09 +08:00
Benjy Cui
3e17551b7e
site: improve build speed
2017-01-19 15:22:53 +08:00
afc163
75abadac84
Add doc about clearing Modal old state
2017-01-16 14:30:07 +08:00
afc163
4654db312f
Fix some lesshint problems
2017-01-11 21:45:09 +08:00
afc163
af9a2cd8fb
update modal style
2017-01-11 19:15:16 +08:00
Pixy Yuan
a2bef2b87e
feat: Modal.confirm add maskClosable option ( #4488 ) ( #4490 )
...
* feat: Modal.confirm add maskClosable option (#4488 )
* feat: Modal.confirm add maskClosable option (#4488 )
2017-01-08 19:14:28 +08:00
Benjy Cui
d4132ac558
chore: add missing definition for Modal
2017-01-05 12:08:43 +08:00
陆离
a0498e436f
docs: add document for afterClose
props for Modal ( #4448 )
...
+ close #4445
2017-01-05 12:06:27 +08:00
Benjy Cui
4758302ad5
deps: upgrade antd-tools, close : #4208
2016-12-19 14:01:52 +08:00
Wei Zhu
07103b9fb6
Don't ignore test files.
2016-12-14 14:48:09 +08:00
Wei Zhu
17a0a33283
Restructure tests.
2016-12-14 14:41:39 +08:00
afc163
3af1821bde
remove whitespaces
2016-12-11 14:05:19 +08:00
Andrey G
a307a7acf7
refactor: remove unnecessary computed props for classNames ( #4055 )
...
* remove unnecessary computed props for classNames
* rollback autocomplete optimization for possible css style order issue
* update snapshots
* remove more unnecessary computed props at Input
2016-11-30 10:20:23 +08:00
Benjy Cui
932443099a
css: use @component-background, ref: #4040
2016-11-29 11:56:10 +08:00
cathayandy
addb6e44dc
Fix #4039 . Replace background-color: #fff with background: @body-background ( #4040 )
2016-11-29 09:54:54 +08:00
Bruce Mitchener
36508ffabd
Typo fixes.
2016-11-16 20:33:37 +07:00
afc163
f9319e244b
Add compatible css centered demo code, close #3849
2016-11-15 15:02:30 +08:00
ddcat1115
0baef0627e
docs: 调整组件导航结构 ( #3758 )
...
- Layout 更名为 Grid
2016-11-09 14:43:32 +08:00
afc163
0ec4276eab
@font-size-lg ( #1752 )
2016-11-08 21:07:01 +08:00
afc163
e4974ac72a
use @font-size-base ( #1752 )
2016-11-08 20:57:07 +08:00
afc163
0a48c62dcb
use @text-color
2016-11-08 20:50:59 +08:00
afc163
9b81fe86d9
clear less variables and add @text-color-secondary
2016-11-08 20:48:03 +08:00
afc163
24f71ac6be
remove some blanks
2016-11-02 16:55:15 +08:00
Benjy Cui
4878258f6c
refactor: ref: #3490
2016-10-24 12:04:26 +08:00
yiminghe
8afe3965c1
upgrade ts 2.0
2016-10-19 17:52:23 +08:00
afc163
e520998166
Fix popover card arrow border
2016-10-14 21:43:59 +08:00
afc163
741eb732f0
fix lesshint
2016-10-11 20:00:25 +08:00
afc163
889548b1b6
Add shadow to Modal
2016-10-11 19:59:52 +08:00
afc163
dccc4ced95
Export @animation-duration-* to default theme
2016-10-07 18:29:55 +08:00
afc163
66891a7cc0
update demo text
2016-10-07 18:00:48 +08:00
afc163
6edac76abb
prolong delay animation click time
2016-10-07 18:00:40 +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
Benjy Cui
bd7e9f00c0
style: update code style
2016-09-21 11:54:53 +08:00
Benjy Cui
3f67fd3f9f
docs: update docs details
2016-09-21 11:28:38 +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
feng zhi hao
cad2d19be2
fix: complete loss declaration ( #3068 )
...
* complete loss declaration
* fix error in ts-lint
* fix Icon name error
2016-09-19 10:17:07 +08:00
偏右
354759cb17
Redesigned icons ( #3041 )
...
* redesigned icons
* change iconfont content
* use same icons
* fix missing icons
* improve icon size
2016-09-18 09:54:47 +08:00
afc163
73a6bfb055
Merge branch 'master' of github.com:ant-design/ant-design
2016-09-14 16:29:53 +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
bbe6606dc3
fix demo
2016-09-14 14:49:12 +08:00
Benjy Cui
25cb3e2d30
docs: update demo to catch errors, close : #2912
2016-09-10 18:14:23 +08:00
afc163
0e6f677ff9
Fix doc headings
2016-09-10 13:43:30 +08:00
Andrew Murray
0d00c5fb6c
docs: Fixed typos ( #2921 )
2016-09-01 18:12:12 +08:00
afc163
e0eb9ae162
Merge branch "1.x-stable"
2016-08-29 21:02:59 +08:00
afc163
ee60b42d6d
improve Modal code style
2016-08-29 20:48:47 +08:00
afc163
77949bb9e3
upgrade eslint-config, close #2811
2016-08-23 21:00:35 +08:00
Benjy Cui
5dcce12c2c
fix: some tsc errors ( #2804 )
2016-08-22 17:26:14 +08:00
afc163
36293e2ccb
fix tslint
2016-08-16 18:12:56 +08:00
afc163
24d2973c32
Merge branch "1.x-stable"
2016-08-16 17:54:59 +08:00
ddcat1115
2c76b19a1a
fix #2688 避免对已经unmount的组件进行操作 ( #2720 )
2016-08-15 17:49:41 +08:00
ddcat1115
3bdd8212ec
refactor: Ts rewrite patination notification modal menu ( #2699 )
2016-08-15 12:00:05 +08:00
Benjy Cui
8dd31d0bb2
fix: buttons of Modal.xxx should be disabled, close : #2684 ( #2687 )
2016-08-14 15:19:47 +08:00
Benjy Cui
2ed192db52
docs: fix demo style
2016-08-11 11:47:28 +08:00
Gray Choi
5c2087311f
docs: translate modal ( #2634 )
2016-08-11 11:41:06 +08:00
afc163
b200f8a2d8
Merge 1.x-stable
2016-08-08 14:12:02 +08:00
RaoHai
3209edddca
modal 添加小屏幕适配。
...
+ 加入 768px 断点。当屏幕小于 768 时,宽度 auto 且 margin:10。其他不变。
2016-08-03 15:25:33 +08:00
ddcat1115
ef84f8d408
refactor: ts LocaleProvider ( #2548 )
2016-08-02 16:10:26 +08:00
afc163
d7defe458b
blank line
2016-07-15 12:37:53 +08:00
偏右
de359d2cf7
fix tslint problems ( #2360 )
2016-07-13 11:14:24 +08:00
yiminghe
94706f1d2c
fix ts
2016-07-07 20:25:03 +08:00
afc163
95351bfffa
Merge branch '1.x-stable'
2016-06-27 19:31:38 +08:00
afc163
089f1ae512
update components category name
2016-06-27 18:21:12 +08:00
afc163
ef4c1a4749
Merge branch '1.x-stable'
2016-06-27 17:58:16 +08:00
afc163
b5f49a5aad
improve modal zoom animation
2016-06-27 16:40:11 +08:00
yiminghe
9a0d751f94
refactor to typescript
2016-06-22 13:19:48 +08:00
陆离
0b3146dba0
modal destroy ( #2124 )
...
* modal destroy
* document and typo
* remove blank line
2016-06-21 18:50:07 +08:00
Benjy Cui
209e3c1f9d
docs: remove deprecated Modal.warn
2016-06-19 09:54:36 +08:00
afc163
90c2d7ee12
downgrade rc-util
2016-06-16 22:34:54 +08:00
Benjy Cui
2144349741
style: enable react/jsx-closing-bracket-location
2016-06-06 13:54:10 +08:00
yiminghe
fc55cf6919
keep .warn
2016-05-31 15:29:24 +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
a15b601e6d
Fix fixed modal, close #1751
2016-05-18 18:55:50 +08:00
Benjy Cui
8842d9342a
site: update components' type
2016-05-16 15:41:55 +08:00
afc163
6c4adf3348
Fix modal close focus style, close #1668
2016-05-12 15:36:17 +08:00
afc163
c247e6ee6a
fix lint
2016-05-12 15:11:25 +08:00
afc163
a3850a4df8
LocalePrivider should not dependconfirm
2016-05-12 13:25:00 +08:00
Benjy Cui
ecaa6c56c3
style: enable comma-dangle
2016-05-11 09:32:33 +08:00
afc163
51693994b5
upgrade center modal demo
2016-05-09 16:46:46 +08:00
afc163
72f68fa003
support custom Modal position and add vertical middle demo
2016-05-05 16:52:36 +08:00
afc163
c45ed1365e
Fix confirm missing style
2016-05-05 15:03:24 +08:00
afc163
03cb74ead5
upgrade eslint-config-airbnb version and fix some problems
2016-04-29 12:13:27 +08:00
afc163
0ca6a1c24a
css modularize ( #1448 )
...
* css modularize
* Add alert style
* Move more component style
* Move iconfont to common style
* Move layout style
* Move more component style
* Move all components
* Fix lots of mixin deps
* remove css-prefix from less
* fix a button icon style bug
* restructure
* fix index
* add dist
* fix jest
* fix some components style
* clean webpack config
* check more components style
* update tabs
* update scripts
* update scripts
* fix form style
* fix more style
* Fix select width
* Fix form and tabs style
2016-04-27 20:44:36 +08:00
afc163
5ee64fe105
Add Modal.warning
2016-04-11 14:59:37 +08:00
afc163
4c60da7316
Modal.confirm, iconClassName => iconType
2016-04-11 14:57:29 +08:00
afc163
ae87f60075
remove Modal align in API document
2016-04-05 13:42:02 +08:00
afc163
71ee13a2a8
Fix Modal animation
2016-04-05 11:58:46 +08:00
Benjy Cui
df3ba36720
docs: remove useless newline in documentation
2016-04-01 10:08:19 +08:00
Benjy Cui
d5a6932c15
docs: update documentation format
2016-03-31 14:17:09 +08:00