二货机器人
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>
5 years ago
偏右
4dccbd8eab
style: add @modal-close-color ( #24053 )
* 🆕 Add @modal-close-color
close #24050
* update snapshot
* fix var name
5 years ago
偏右
2ab7c3f182
fix @menu-item-font-size not working ( #24052 )
close #24051
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
二货机器人
1489903d9d
fix: Modal async ( #23826 )
* make async
* fix tesst
5 years ago
xrkffgg
01b98e79d9
docs: optimize site of components 3 ( #23779 )
* docs: optimize site of components in rtl 3
* add
5 years ago
Tom Xu
f5153ab950
docs: improve style type ( #23700 )
5 years ago
Tom Xu
62eaa4193b
fix: docs Modal confirmLoading default value ( #23682 )
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
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>
5 years ago
二货机器人
3459bfc0be
docs: `4.0.4` changelog ( #22505 )
* docs: Init changelog
* order
* grouping
* clean up
5 years ago
偏右
5529774513
Update index.en-US.md
#15260
5 years ago
偏右
ed6e8760e5
✅ fix snapshot ( #22445 )
5 years ago
xrkffgg
7f4c7b5978
style: fix rtl.less place and name ( #22384 )
5 years ago
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
5 years ago
Gibson C
d2ef74b2ed
feat: Refine locale types ( #22103 )
5 years ago
二货机器人
adb323cec2
chore: icons save bundle size without treeShaking ( #21752 )
* alert
* more icons
* another grouping
* all done
5 years ago
信鑫-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
5 years ago
偏右
40718f597a
chore: remove unused iconClassName from definition ( #21378 )
close #21367
5 years ago
二货机器人
8b20fbc96c
docs: Update hooks description ( #21279 )
* docs: Update notification faq
* patch faq in Modal
5 years ago
二货机器人
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
5 years ago
xrkffgg
4388a96c32
docs: Format string notation of all components ( #20970 )
5 years ago
Dean van Niekerk
019fdd58a0
feat: add footer property to Drawer ( #20690 )
5 years ago
vagusX
4df1cd3db2
docs: update Modal docs ( #20612 )
* doc: update Modal docs
* doc: update modal en-US doc
5 years ago
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>
5 years ago
ycjcl868
fa0da1257a
fix: Modal icon
5 years ago
偏右
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
5 years ago
vagusX
871ab3da81
feat: add waring for icon props in Avatar, Button, Modal.method and Result ( #20226 )
5 years ago
骗你是小猫咪
8fda3972fe
test: update snapshots ( #20104 )
5 years ago
骗你是小猫咪
2006fa7570
test: update snapshots ( #20103 )
5 years ago
ycjcl868
dfab3c4ab5
fix: border-color in popover component
5 years ago
ycjcl868
279c24716c
feat: add modal and drawer bg
5 years ago
二货机器人
64b905e9bd
chore: Update `@ant-design/icons` deps ( #19979 )
* update icons deps
* update all icon ref
* fix lint
* update snapshot
5 years ago
陈小聪
e71a4ef10f
docs: Removed version column in 4.0 ( #19832 )
5 years ago
Emerson Laurentino
be0fd703f7
removing getContainer fixed ( #19233 )
5 years ago
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
5 years ago
He Linming
2761460c86
style: add @modal-header-color variable ( #19385 )
* 💄 add @modal-header-color variable
close #19358
* 👌 change variable name
5 years ago
Daniel Chang
f23f53bb1e
Fixed error in modal documentation ( #18723 )
5 years ago
信鑫-King
ab6dd46958
feat: modal footer border-color less vars ( #18522 )
5 years ago
afc163
a51f7a0508
✅ test unmount
5 years ago
偏右
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
5 years ago
偏右
a767a495b0
feat: Modal closeIcon ( #18309 )
* 💄 support Modal closeIcon
close #18307
* ✅ Add test case for closeIcon
5 years ago
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
5 years ago
afc163
5e99ed7bbe
✅ Fix eslint warnings
5 years ago
jiang
97df74200f
update getContainer to props before ( #18182 )
5 years ago
orzyyyy
44d110c0db
feat: add extend from prettier/react
5 years ago
orzyyyy
47fd80c8ad
fix: disable next line instead of the whole file
5 years ago
orzyyyy
63b33d4020
fix: unexpected changes of snapshots
5 years ago