zombiej
2c531a827d
merge master
2020-04-29 11:29:26 +08:00
偏右
c3c2c157d0
fix: correct Button type="danger"
TypeScript definition ( #23709 )
...
* fix: remove Button type danger in TypeScript
close #23708
* docs: fix Table dataSource type in document
close #23697
* add warning about type="danger"
* reverse button type warning logic
2020-04-28 16:14:38 +08:00
xrkffgg
a823400b79
docs: optimize site of components 1 ( #23670 )
...
* docs: optimize site of components 1
* fix: lint
* fix: use space
* fix: snap
* revert: button demo
* fix snap
2020-04-27 21:40:52 +08:00
hengkx
9868a4dc59
Merge branch 'feature' into mergefeature
2020-04-27 21:02:16 +08:00
偏右
5e4d8f10ac
🐛 Fix Button icon only align issue ( #23671 )
...
https://github.com/ant-design/ant-design/pull/23670#discussion_r415662549
2020-04-27 17:54:13 +08:00
诸岳
a400014efe
Merge branch 'master' of github.com:ant-design/ant-design into merge-master
2020-04-26 17:12:58 +08:00
偏右
89bccf5752
🐛 Fix Button loading style of icon-only ( #23614 )
...
close #23610
2020-04-26 16:21:07 +08:00
诸岳
f955620601
chore: Merge master branch and fix conflicts
2020-04-26 13:34:11 +08:00
Tom Xu
7379cfa4c2
feat: button support ref ( #23571 )
...
* feat: button support ref
* improve
* improve button displayName
2020-04-25 20:45:28 +08:00
二货机器人
22ffa61da0
fix: Legacy button group style ( #23590 )
2020-04-25 18:03:35 +08:00
xrkffgg
e2dacde754
style: fix button loading rtl ( #23399 )
2020-04-20 16:25:43 +08:00
Tom Xu
09e69c385e
refactor(button): rewrite with hook ( #23367 )
2020-04-18 13:06:04 +08:00
Eric Wang
7bc3d4f222
chore: Refactor the button test to use typescript ( #22953 )
...
* Refactor the button test to use typescript
* update tsconfig.json
* Change file name as a workaround
* update antd-tools
2020-04-13 13:36:23 +08:00
二货机器人
410de6112f
fix: Button loading switch animation ( #23102 )
...
* init
* motion it
* update snapshot
* adjust speed
* update snapshot
* Update index.less
* fix opacity mask
Co-authored-by: 偏右 <afc163@gmail.com>
2020-04-10 15:39:07 +08:00
afc163
e1b567d3cf
✅ fix lint
2020-04-06 12:15:28 +08:00
Eric Wang
095e21220f
chore: Introduce customer jest match to support matchRenderedSnapshot ( #22947 )
...
* Introduce customer jest match to support matchRenderedSnapshot
* lint:tsc stop emiting
2020-04-06 12:05:38 +08:00
Eric Wang
316b925f94
chore: Use unreachable exception in favor of type safety ( #22933 )
...
* Use unreachable exception in favor of type safety
* Add tests
* add test
2020-04-05 21:18:28 +08:00
偏右
b369717181
chore: 🦄 Add eslint-plugin-unicorn ( #22883 )
...
* 🦄 Add eslint-plugin-unicorn
* fix eslint errors
* fix eslint errors
* fix lint demo
* fix lint demo
2020-04-03 15:02:11 +08:00
zombiej
1ec7b2c068
merge master
2020-03-29 14:40:29 +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
Mateusz Burzyński
2cb516b5b7
fix: narrow down types of string literals in a few defaultProps declarations ( #22686 )
2020-03-28 19:29:02 +08:00
Rustin
7b94e0bfb2
refactoring: replace deprecated React.SFC with React.FunctionComponent ( #22691 )
...
* refactor: replace deprecated React.SFC with React.FunctionComponent
* refactoring: use typedef FC
2020-03-28 11:56:57 +08:00
xrkffgg
f2c0ea3671
style: optimization Dropdown rtl style ( #22519 )
2020-03-23 16:39:30 +08:00
偏右
154d733fa1
Update index.zh-CN.md
2020-03-23 12:28:41 +08:00
偏右
4fcc6f66a7
fix: 🐛 empty disabled Button align issue ( #22461 )
...
* chore: add .ant-tooltip-disabled-compatible-wrapper
* fix: empty button align issue
2020-03-21 14:30:40 +08:00
xrkffgg
7f4c7b5978
style: fix rtl.less place and name ( #22384 )
2020-03-19 12:13:24 +08:00
xrkffgg
a4cf8430fd
style: fix button rtl.less
2020-03-16 17:18:14 +08:00
xrkffgg
839a19af58
style: add rtl.less of button\typography\grid ( #22252 )
2020-03-16 15:16:05 +08:00
偏右
125c154ffe
💄 Avoid negative padding in less ( #22003 )
...
close #22003
2020-03-09 12:04:12 +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
GJ Wang
f78332171e
docs: fix size props ( #21724 )
2020-03-01 18:24:59 +08:00
偏右
aeb4643428
docs: 📝 optimize button doc image style ( #21704 )
...
* Update index.zh-CN.md
* Update index.en-US.md
2020-02-29 16:15:43 +08:00
二货机器人
06afc9cd9c
fix: Button.Group size style issue ( #21307 )
...
* remove useless fixing line-height
* update snapshot
2020-02-10 11:32:37 +08:00
Rick Zhou
4fa525b8a0
avoid reading innerText ( #21217 )
...
this resolves https://github.com/ant-design/ant-design/issues/21160
2020-02-04 17:10:28 +08:00
二货机器人
92998e67ef
refactor: Button disable autoInsertSpaceInButton
will not calculate text length ( #21176 )
...
* skip check
* add test case
2020-02-02 18:03:38 +08:00
二货机器人
3fa274190e
Remove magic number of style align ( #20869 )
...
* fix: Adjust baseline align
* clean up
* Select style
* fix lint
2020-01-13 19:36:27 +08:00
信鑫-King
27f1835965
chore: dark site images address ( #20796 )
...
* fix: dark site images address
* fix: snapshot
2020-01-09 15:28:52 +08:00
zombiej
ff6c91537d
docs: Fix typo
2020-01-06 10:38:51 +08:00
信鑫-King
cb528da8ed
fix: dark theme in 4.0 ( #20642 )
...
* fix: rtl direction bug
* 📝 dark theme usage docs
* fix: sketch download
* fix: theme dark
* 📝 empty image
* fix: dark form with mixture components like picker, input
* 📝 update sketch release download
* fix: remove inline-menu sub shadow
2020-01-03 19:00:01 +08:00
afc163
b15136f41f
📝 optimize button usage
2020-01-03 15:38:52 +08:00
afc163
7e1dc348a9
✅ update snapshots
2020-01-03 15:38:51 +08:00
afc163
e1262b0d1d
📝 optimize button docs and demos
2020-01-03 15:38:50 +08:00
二货机器人
5ebac5f9d6
feat: Form & ConfigProvider support component size ( #20570 )
...
* feat: Support form & ConfigProvider set component size
* update snapshot
* fix lint
* rm only
* update doc
* Table & Card support sizing
* Update snapshot
* fix lint
* update snapshot
* flush rest snapshot
2020-01-03 13:38:16 +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
信鑫-King
f88f383be6
fix: dark site in Form and iframe change ( #20573 )
...
* fix: suggestion dark bg
* fix: demo use autoComplete="off"
* feat: support iframe theme change
* fix: iframe dark theme
* upd: test snapshot
* fix: lint
* fix: lint
* tweak: use theme-switcher to handle iframe and parent
* feat: support iframe theme change
* fix: dark shadow
* fix: layout style
* fix: dark site style
* fix: snapshot
2020-01-02 17:54:11 +08:00
ycjcl868
0903e3924c
fix: button dark hover,active
2019-12-31 15:12:18 +08:00
ycjcl868
f230ac58d6
fix: site dark, tweak style
2019-12-31 15:12:18 +08:00
ycjcl868
7c3beabd4c
fix: button ghost color
2019-12-27 10:16:02 +08:00
ycjcl868
0306096356
chore: update snapshot
2019-12-26 15:15:46 +08:00
ycjcl868
bd2633d303
Merge 4.0-prepare into feat-dark-palette
2019-12-25 21:13:07 +08:00
ycjcl868
4dc860decf
Merge origin/4.0-prepare into feat-dark-palette
2019-12-25 19:32:38 +08:00
zombiej
9e8ce489e9
merge master
2019-12-25 19:09:17 +08:00
骗你是小猫咪
0b0fd9a62c
refactor(Button): Back to inline-block ( #20440 )
2019-12-25 17:08:34 +08:00
ycjcl868
52e9c20b10
Merge origin/4.0-prepare into feat-dark-palette
2019-12-24 10:42:07 +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
ycjcl868
6477b46fa8
fix: data-theme
2019-12-23 17:16:26 +08:00
ycjcl868
194bf3603f
fix: site code action icon
2019-12-23 16:36:40 +08:00
骗你是小猫咪
5b29913174
refactor(Button): base style use flex ( #20300 )
...
* improvement(Button): base style use flex
* remove unnecessary style
* add vertical-align
* fix style lint order
* remove vertical-align and improve global line-height
* change line-height-base
* update form debug demo
2019-12-21 22:01:47 +08:00
vagusX
e0aeb4f4a9
fix: poweroff icon in button ( #20338 )
2019-12-19 11:51:12 +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
ycjcl868
e15b9c5f37
fix: dark button color
2019-12-04 20:14:28 +08:00
偏右
43bf7965de
🐛 Fix Button text not align center in Chrome ( #20059 )
...
revert solution of 05181d552e
close #19972
close #20058
2019-12-03 18:06:07 +08:00
ycjcl868
e2251f515b
fix: @theme condition
2019-12-03 15:39:32 +08:00
ycjcl868
5590ba0d4e
Merge 4.0-prepare into fix-dark-theme
2019-12-01 22:46:15 +08:00
ycjcl868
327011da77
feat: @theme dark, default
2019-12-01 22:28:35 +08:00
zombiej
d76283f2b9
merge master
2019-12-01 21:46:17 +08:00
ycjcl868
b6b788b2e0
fix: stylelint fix
2019-11-29 09:04:39 +00:00
ycjcl868
09c00720b8
feat: add btn-default-ghost
2019-11-29 09:04:38 +00:00
ycjcl868
961cfeac43
test: update snapshot
2019-11-29 15:20:34 +08:00
ycjcl868
864ccc436e
fix: button danger link
2019-11-29 15:09:17 +08:00
ycjcl868
beaf521835
fix: remove button group demo
2019-11-29 14:31:03 +08:00
ycjcl868
6ca5628417
Merge 4.0-prepare into fix-button-demo
2019-11-29 14:27:47 +08: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
骗你是小猫咪
6030431121
fix(Button): Button disabled with loading not prevent pointer events ( #19958 )
2019-11-27 12:41:47 +08:00
ycjcl868
1d0f97d0a9
fix: lint
2019-11-25 07:02:24 +00:00
ycjcl868
ab15b3a84c
fix: remove danger warning
2019-11-25 07:02:24 +00:00
ycjcl868
37a85366f3
feat: add Button danger
2019-11-25 07:02:24 +00:00
ycjcl868
3a6c76ecc3
feat: Button add danger-default type
2019-11-25 07:02:24 +00:00
ycjcl868
0e1998f643
feat: Button danger-link
2019-11-25 07:02:24 +00:00
ycjcl868
b01bed3f6f
upd: snapshot
2019-11-25 07:02:24 +00:00
ycjcl868
ec0dba9323
fix: button group
2019-11-25 07:02:24 +00:00
ycjcl868
8f4c983e5a
fix: Button demo icon search use tooltip
2019-11-25 07:02:24 +00:00
ycjcl868
86db97b055
fix: remove Button dashed
2019-11-25 07:02:24 +00:00
ycjcl868
55e34f6ac1
fix: icon error
2019-11-25 07:02:24 +00:00
zhangyanling77
eb91cbdfab
feat: Button & Icon remove version column in 4.0-repare ( #19845 )
2019-11-21 10:16:58 +08:00
zombiej
7a12b2b1ae
merge master
2019-10-30 16:28:28 +08:00
afc163
1d1e197527
🐛 Fix Icon Button align issue
...
close #19392
2019-10-28 15:26:06 +08:00
vagusX
d25dff397d
Fix/legacy icon usage ( #19446 )
...
* fix: legacy icon usage in progress component demo
* fix: legacy icon usage in button test cases
2019-10-27 21:59:16 +08:00
Aaron Cawte
693d5a1434
General components doc tweaks ( #19416 )
...
* Documentation - Button Component
* Documentation - Icon Component
* Documentation - Typography component
2019-10-25 09:56:30 +08:00
zombiej
e129e8dc7e
merge master
2019-10-08 15:04:00 +08:00
afc163
47dee4c7d7
✅ fix eslint problems
2019-10-05 18:02:16 +08:00
zombiej
911867622e
merge master
2019-09-26 22:28:08 +08:00
afc163
913c5bbc47
🐛 Fix Button.Group large="size" icon only style
...
close #18993
2019-09-25 14:36:59 +08:00
zombiej
f30b92ec21
merge master
2019-09-17 19:31:37 +08:00
zombiej
fa8ddb4104
merge master
2019-09-16 11:23:26 +08:00
afc163
1903ae0c13
✅ fix test case of Button loading
2019-09-07 21:29:56 +08:00
afc163
4338a5b7cf
✅ add more test cases for Button
2019-09-07 21:29:56 +08:00
afc163
c2bcf44f62
💄 should not insert space to link button
...
close #18118
2019-09-07 21:29:56 +08:00
诸岳
495fc3a99a
Fix confilcts from master branch
2019-09-07 00:39:49 +08:00
afc163
9157bc99a9
🐛 Fix round button font size too large
2019-09-06 12:42:50 +08:00
zombiej
3d8a4f3612
merge master
2019-08-29 23:41:46 +08:00
afc163
4d0bd6b7da
🐛 Fix circle button is not circle
...
close #18509
2019-08-28 12:02:10 +08:00
afc163
f8ed99ab57
✅ missing components
2019-08-27 18:31:01 +08:00
afc163
a51f7a0508
✅ test unmount
2019-08-27 18:31:01 +08:00
Qhan W
cde78c8981
修复纯图标按钮在默认形状下不同大小均显示为正方形 ( #18458 )
2019-08-25 21:04:10 +08:00
偏右
8519734a5a
Merge pull request #18242 from RageBill/master
...
Fixed grammatical errors in Button and Icon documentation.
2019-08-13 16:00:47 +08:00
Kelvin Chu
4a54c5698c
Fixed grammatical errors in Button and Icon documentation.
2019-08-13 15:56:29 +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
zombiej
1cb346573c
merge master
2019-08-12 13:34:23 +08:00
偏右
aa2ed79770
🐛 Fix Button loading prop warning ( #18208 )
...
close #18205
2019-08-11 16:32:55 +08:00
Meck Zhu
57833a260f
chore: fix css style
2019-08-09 17:16:20 +08:00
Amumu
187f8f8372
fix: button should accept title prop ( #18130 )
...
* pass title to button
* update
* update
2019-08-08 11:11:46 +08:00
Kelvin Chu
24ac6e5c86
Fixed typos and grammatical errors in Button and Tabs documentation.
2019-08-07 17:26:39 +08:00
afc163
05181d552e
🐛 Fix Button line-height style issue
...
close #18107
close #13214 too
caused by the fix of #12978
changing another way to fix #12978
2019-08-07 15:00:02 +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
28f39739df
test: update snapshots
2019-08-06 15:36:13 +08:00
orzyyyy
63b33d4020
fix: unexpected changes of snapshots
2019-08-06 15:36:12 +08:00
zombiej
514ee9bef9
Merge remote-tracking branch 'origin/master' into 4.0-prepare
2019-07-29 14:35:15 +08:00
afc163
3c771b3b23
🐛 Fix Button danger style when type is ghost
...
close #17742
2019-07-19 17:35:04 +08:00
zombiej
ef66edd0c2
merge master
2019-07-19 11:54:08 +08:00
afc163
3a3cf47472
💄 Optimize danger Button design
2019-07-17 17:48:10 +08:00
zombiej
735996ce35
merge master
2019-07-16 11:42:55 +08:00
Meck Zhu
f4095ef5d5
Fix css properties orders
2019-07-15 15:32:08 +08:00
Wei Zhu
5b7c922594
Revert #17508 ( #17639 )
...
* Revert "fix: Style property orders"
This reverts commit 54a992c359
.
* Revert "fix: optimize Input presuffix style(#17414 )"
This reverts commit 9691d2bee1
.
2019-07-15 15:04:51 +08:00
诸岳
54a992c359
fix: Style property orders
2019-07-13 16:55:18 +08:00
riho
001384a65b
fix: button loading style( #17569 )
2019-07-11 20:38:40 +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
57c28def68
revert unknown to any
2019-06-24 11:29:58 +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
afc163
b1d8425384
📝 document about autoInsertSpaceInButton
2019-06-21 00:31:48 +08:00
陈帅
82b85709be
style: run lint-fix ( #17172 )
2019-06-19 19:09:08 +08:00
Zzzen
f1ee189bd2
eliminate any
type in exported interfaces.#14044
2019-06-16 20:51:47 +08:00
lon
3c2c7c60c5
fix: add link button to basic demo of button docs
2019-06-12 13:58:13 +08:00
zombieJ
1517fcbbd6
fix space missing in button ( #16551 )
2019-05-17 12:04:47 +08:00
Harut
b8c5671c88
Just a spelling update
...
Just a spelling update (fix) for the CSS doc styl to style
2019-05-12 02:29:25 +04: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
afc163
2737c00633
💄 Fix stylelint problems
2019-04-15 22:44:51 +08:00
afc163
a2a9831abb
💄 Fix less code style
2019-04-15 11:05:06 +08:00
gxvv
9d95429f93
📸 Update button snapshot.
2019-04-14 10:09:25 +08:00
gxvv
0902bcd59a
📝 Replace span to div in loading button doc.
2019-04-14 10:09:25 +08:00
gxvv
9dcde5ab94
💄 Remove the pointer events handler of loading circle button.
2019-04-14 10:09:25 +08:00
zombieJ
41316e69e8
update snapshot ( #16017 )
2019-04-11 12:48:36 +08:00
zombieJ
9190245b52
update ts def ( #15938 )
2019-04-08 18:04:46 +08:00
Andrés
615ea0cb2e
Fix Documentation
2019-04-01 15:05:50 +02:00
zombiej
b83a80c99c
Merge branch 'master' into merge-master
2019-03-30 16:05:49 +08:00
Andrés
a46f6df572
Update documentation
...
Universalize the default props
2019-03-29 13:43:33 +01:00
Dana Janoskova
a543c7db6a
add default html type + fix switch
2019-03-28 09:58:37 +01:00
Ferdi Koomen
c6d044f744
- Fix for changes in @types/react (see issue #15700 )
2019-03-27 22:28:59 +01:00
Bill Searle
d60f64c040
Add independent variables for btn width and style
2019-03-14 15:00:55 +11:00
afc163
c30b06d5db
📝 add stop in document
2019-02-17 23:07:02 +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
zeroslope
ff41bfe2fb
修改FAQ的描述
...
FAQ中,标题‘如何移除 2 个汉字时字间的空格’,“汉字‘时’字间”中的时多余,且“汉字字间”不容易断句,在不改变原来意思的情况下改为
“如何移除 2 个汉字之间的空格”
2019-02-02 12:00:16 +08:00
zombieJ
b4050d3d52
fix typescript ( #14587 )
2019-01-28 11:10:56 +08:00
诸岳
307c877a02
Merge master branch
2019-01-13 21:18:38 +08:00
zombiej
8f9f5843eb
update snapshot
2019-01-10 21:55:21 +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
zombieJ
4e54aa8a46
ConfigProvider support autoInsertSpaceInButton
( #14230 )
...
close #14229
2019-01-10 11:47:11 +08:00
zombieJ
f524b693ed
Button support round
shape ( #14236 )
...
close #13700
2019-01-10 11:15:43 +08:00
afc163
6f9f29799c
💄 Add less variables for button shadow
...
close #14172
2019-01-08 10:56:27 +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
3f1be96866
Merge branch 'master' into feature
...
* master: (23 commits)
✅ fix snapshots
Add docs for the List rowKey prop
💄 don't reset font-family in each component
💄 chore card less variable
Remove classNames from custom-typing file
add collapsed faq ref: #13953
feat: support define card border radius
Fix dateRender not supported at WeekPicker
📝 Add links in Home Page
📝 Fix site responsive interaction, close #13954
💄 chore Steps[labelPlacement="vertical"] style
✅ fix warning in test case
📝 update tech antfin cases
🐛 site menu open bug
🐛 fix site defaultOpenKeys
Correct docs
💄 chore button code style
fix spaces in curly brackets
fix two more code style issues
Fix method argument name
...
2018-12-28 12:11:18 +08:00
afc163
f65f3af928
💄 chore button code style
2018-12-26 23:57:33 +08:00
Maciej Czekaj
bc59ebb0d8
fix spaces in curly brackets
2018-12-26 23:53:10 +08:00
Maciej Czekaj
ed593ef138
fix two more code style issues
2018-12-26 23:53:10 +08:00
Maciej Czekaj
72ee25aa4f
Fix method argument name
2018-12-26 23:53:10 +08:00
Maciej Czekaj
465c8075dd
#9792 Migrate Button to new lifecycle methods
...
Signed-off-by: Maciej Czekaj <natanielcz@gmail.com>
2018-12-26 23:53:10 +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
zombiej
15524df941
Change render of + & - icon
...
fix #13924
2018-12-26 18:48:47 +08:00
afc163
380416e92a
🐛 loose button type propTypes for custom usage
...
close #13915
ref #1308
2018-12-26 18:13:35 +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
zombiej
d648b822a6
revert Christmas egg
2018-12-25 10:40:18 +08:00
frezc
5f9b376456
[type] make type of components compatible with ComponentType<P>
2018-12-25 01:10:00 +08:00
afc163
748ddcaa5a
💄 fix dropdown button warning
2018-12-24 14:00:51 +08:00
Jeffrey Carl Faden
9ff20ba09a
Fix primary color usage in .button-variant-other
...
Instead of using @primary-5 and @primary-7, use colorPalette mixin to modify @btn-primary-bg
2018-12-22 11:05:41 +08:00
afc163
879784c665
Merge branch "master" into "feature"
2018-12-20 17:43:00 +08:00
afc163
ecf83c0438
💄 Fix one tslint problem
2018-12-20 17:34:30 +08:00
小哈husky
f5bf79d2d8
修复当值为0时样式不对问题
...
修复当值为0时样式不对问题 ,bug demo.https://codesandbox.io/s/0146v1lxkl
2018-12-20 17:17:05 +08:00
陈帅
2c79d2a7c1
Revert "Use less @plugin" ( #13613 )
2018-12-13 18:07:49 +08:00
zombiej
2029762297
replace components colors
2018-12-11 22:45:03 +08:00
陈帅
8e11f0bdb9
merge support prettier
2018-12-07 20:02:01 +08:00
陈帅
df356a586c
Merge branch 'master' into feature
2018-12-07 18:52:13 +08:00
陈帅
dca9715186
support prettier
2018-12-07 18:27:30 +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
afc163
35585a6d07
🐛 should render as normal button when href is assigned undefined
...
close #13337
2018-12-03 10:39:00 +08:00
afc163
83c192ea3e
💄 fix eslint problems
2018-11-28 15:11:02 +08:00
afc163
0e99b6ea72
💄 fix loading button's icon style
...
close #13300
2018-11-27 16:01:27 +08:00
afc163
233f1891d1
✅ Add test case for wave
2018-11-12 13:59:34 +08:00
afc163
a616f89a1b
🔥 update less code style
2018-11-12 12:02:30 +08:00
afc163
74aeaceaa8
🐛 Fix typo, #12978
2018-11-11 18:52:24 +08:00
afc163
664089ecf6
🚑 Fix Button[href] 1px align bug in another way
...
revert adee2f3
close #12978
2018-11-11 18:11:19 +08:00
afc163
464286be12
tweak style
2018-11-11 14:22:13 +08:00
afc163
9ba892b02d
💄 tweak button style
2018-11-10 22:21:27 +08:00
afc163
adee2f3329
Fix Button[href] 1px align bug
...
close #12978
2018-11-06 15:41:50 +08:00
afc163
95ac6bf673
Fix Button[icon] vertical align issue
...
close #12972
test codesandbox url: https://codesandbox.io/s/2p8k935jjp
2018-11-06 15:05:23 +08:00
afc163
213693e333
🌐 site: transition component category, close #11629
2018-11-04 16:20:35 +08:00
afc163
546c59a4c1
Fix button icon margin style bug
...
```jsx
<Button loading>
<TwoChineseWords />
</Button>
```
2018-10-30 19:13:29 +08:00
afc163
087f7efd10
findDOMNode to refs, close #12843
2018-10-30 16:17:24 +08:00
afc163
fe3f110085
does: update button api documentation
2018-10-28 20:57:23 +08:00
dazbo
f24917bb5f
Add display rule to fix Edge ignoring pointer-events ( #12712 )
2018-10-19 11:17:23 +08:00
afc163
86c11e5eb5
Fix vertical align issue of empty button
...
close #12681
2018-10-17 11:07:25 +08:00
Wei Zhu
a3ce6678cb
Update snapshot
2018-10-01 23:57:45 +08:00
snail
6b22ae3b6c
[fixed]button can also trigger the click event when loading is true in ie9 ( #12466 )
2018-09-29 14:41:55 +08:00
afc163
d03f4bc8db
test: fix warning message in jest log
2018-09-19 15:05:55 +08:00
afc163
00aebeb975
add christmas easter egg
2018-09-10 11:23:49 +08:00
afc163
800a7c6acd
tweak button design
2018-09-08 13:49:48 +08:00
afc163
318737584a
tweak button design
2018-09-08 13:49:02 +08:00
HeskeyBaozi
976f6969f4
update test snapshot
2018-09-07 14:14:23 +08:00
HeskeyBaozi
24568f61ff
use the whole svg icons
2018-09-02 23:39:58 +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
b076b52756
fix #11967 . Add children type validate in button.tsx
2018-08-30 17:59:09 +08:00
HeskeyBaozi
0c9465aaf9
upgrade icons library
2018-08-27 20:40:11 +08:00
HeskeyBaozi
d9b38aee4b
Merge branch 'feature-3.9.0' of https://github.com/ant-design/ant-design into feature/svg-icon
...
# Conflicts:
# package.json
2018-08-25 13:24:44 +08:00
HeskeyBaozi
ee1d2469a8
upgrade test snapshot
2018-08-24 18:36:08 +08:00
afc163
a54d06eb6f
fix test case in react 15
2018-08-24 15:12:31 +08:00
afc163
62bacb09bf
Fix wave render error in jest, close #11868
2018-08-24 12:11:44 +08:00
Bradley Xu
f20a1e4e5d
docs: update button demo doc
2018-08-22 16:22:30 +08:00
HeskeyBaozi
65600c8a95
upgrade to 3.8.2
2018-08-20 14:00:51 +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
afc163
9cf6ae6010
Refactor and apply wave click animation to more components
...
now support Button, Tag, Radio.Button and switch
2018-08-11 15:14:34 +08:00
afc163
b4d95f7e20
Refactor button click effect implementation
...
for better perfermance
2018-08-08 16:18:45 +08:00
Wei Zhu
064bfaf554
Add @types/prop-types
2018-08-07 21:09:05 +08:00
HeskeyBaozi
cc180e2605
resolve conflict.
2018-08-02 18:02:31 +08:00
Ilan
d7a9783299
✅ update button snapshots
2018-07-31 18:42:12 +08:00
Ilan
b5ed207902
🚚 fitContainer -> block name conversion
2018-07-31 18:42:12 +08:00
Ilan
8fab1e1d1b
🐛 update fitContainer order
2018-07-31 18:42:12 +08:00
Ilan
5536a4ca3b
📝 update chinese button api doc
2018-07-31 18:42:12 +08:00
Ilan
9742be40a7
📝 update button api docs
2018-07-31 18:42:12 +08:00
Ilan
623cf1eaff
✨ introducing fitContainer prop for button
2018-07-31 18:42:12 +08:00
HeskeyBaozi
768af40c4c
Merge branch 'feature-3.8.0' of https://github.com/ant-design/ant-design into feature/svg-icon
...
# Conflicts:
# components/drawer/__tests__/__snapshots__/Drawer.test.js.snap
# components/drawer/__tests__/__snapshots__/DrawerEvent.test.js.snap
# components/drawer/index.tsx
2018-07-25 12:03:00 +08:00
tangjinzhou
430381f28f
fix: ButtonGroup style bug when have disabled button #9296 ( #11321 )
...
* fix: ButtonGroup style bug when have disabled button #9296
* Update mixin.less
2018-07-21 22:11:57 +08:00
HeskeyBaozi
4a553a2006
upgrade test cases
2018-07-19 20:37:47 +08:00
HeskeyBaozi
8df086f022
update test cases
2018-07-18 13:39:02 +08:00
HeskeyBaozi
9338f33c1c
update test cases
2018-07-18 10:33:54 +08:00
陈帅
1f15df4f14
Merge branch 'feature-3.7.0'
2018-07-15 09:27:34 +08:00
david.lv
6fe9ca201e
Update index.less
...
spell check 'compatibile'->'compatible'
2018-07-14 23:45:35 +08:00
zombiej
11dba9c305
update snapshot
2018-06-28 17:12:16 +08:00
afc163
009ed08580
upgrade eslint-config-airbnb
2018-06-27 16:09:58 +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
Zheeeng
980e2b1427
Update button signature ( #10877 )
2018-06-14 10:53:14 +08:00
Zheeeng
f36c6195b8
Fix typo ( #10878 )
...
First of all, thank you for your contribution! :-)
Please makes sure that these checkboxes are checked before submitting your PR, thank you!
* [x] Make sure that you propose PR to right branch: bugfix for `master`, feature for latest active branch `feature-x.x`.
* [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.
* [ ] Add some descriptions and refer relative issues for you PR.
Extra checklist:
**if** *isBugFix* **:**
* [ ] Make sure that you add at least one unit test for the bug which you had fixed.
**elif** *isNewFeature* **:**
* [ ] Update API docs for the component.
* [ ] Update/Add demo to demonstrate new feature.
* [ ] Update TypeScript definition for the component.
* [ ] Add unit tests for the feature.
2018-06-12 14:36:08 +08:00
afc163
71d3af310a
Fix missing border in Button.Group
...
https://gw.alipayobjects.com/zos/rmsportal/hKuBQeoCgjruYXCGnrDt.png
2018-06-08 15:08:04 +08:00
afc163
6602df16e6
Fix extra border style in Button.Group
2018-06-06 11:33:13 +08:00
Junbin Huang
bbf5cb75c3
chore: update typescript@~2.9.1 ( #10748 )
2018-06-02 20:12:09 +08:00
Wei Zhu
1ed9fed2cf
Improve Button and Tag types
2018-05-18 18:22:33 +08:00
afc163
cafeb8e3eb
fix button group split border color
2018-05-17 21:36:05 +08:00
afc163
99dca86904
update button disable demo
2018-05-17 21:23:36 +08:00
Christopher Deutsch
dd0d4214d1
Omit 'ref' from ButtonProps otherwise typing conflicts occur. ( #10426 )
...
Fixes #10405
2018-05-10 11:21:07 +08:00
afc163
dbde26e560
docs: add disabled prop doc for Button, close #10373
2018-05-05 13:18:50 +08:00
Wu Haotian
6019245365
fix(button): use React.HTMLProps for button's props ( #10229 )
2018-05-04 14:48:41 +08:00
afc163
fb38e55cc0
more test about button text
2018-05-01 19:36:11 +08:00
afc163
c7471a4653
tweak insert space logic of loading button
2018-05-01 19:33:38 +08:00
afc163
649d733048
fix snapshot ci
2018-04-19 11:54:44 +08:00
Zen
d7f9270a6f
fix button/demo/disabled.md ( #10009 )
...
add `ghost` property to ghost buttons
2018-04-19 11:43:22 +08:00
Zheeeng
05a522c343
Update ButtonType ( #10129 )
2018-04-17 23:54:55 +08:00
afc163
4502ad8376
Fix button two-chinese-words update bug
2018-03-23 22:23:03 +08:00
afc163
caf497d08f
Fix underline of Button[href], close #9755
2018-03-23 14:45:08 +08:00
afc163
8b1d0224cb
Tweak danger button focus style
2018-03-13 18:20:12 +08:00
afc163
2fe64d429a
Fix button group align issue in chrome, close #1019
2018-03-02 15:25:31 +08:00
Ivan Kravets
86ab00fbbd
Use default background for button states ( #9411 )
2018-02-24 22:25:50 +08:00
Christopher Deutsch
97b09b393b
onKeyPress and onKeyDown got the wrong type in #9316 ( #9365 )
2018-02-15 13:10:35 -06:00
Yury Kozyrev
1e92ff8efd
onKeyPress and onKeyDown typings ( #9316 )
...
* Update Checkbox.tsx
* Update button.tsx
2018-02-08 20:35:54 -06:00
afc163
dc7d9de4cd
revert demo code
2018-02-08 15:52:24 +08:00
afc163
70f3afeda0
Fix ButtonGroup style bug when have disabled button, close #9296
2018-02-08 15:51:53 +08:00
afc163
6577616be2
fix demo
2018-02-08 14:26:33 +08:00
afc163
875024cd1e
update onRow usage
2018-02-08 14:25:49 +08:00
George Gray
03c180ff08
Use @btn-primary-bg for primary ghost btn ( #9236 )
2018-02-02 03:23:14 -06:00
niko
f2ba99978d
upgrade snapshots ( #9127 )
2018-01-25 18:24:59 +08:00
afc163
1d9afb6510
Fix button group z-index, close #9014
2018-01-18 17:22:30 +08:00
Yury Kozyrev
693e734a82
Update button.tsx ( #8918 )
2018-01-10 22:57:11 +08:00
崔宏森
eac76df671
Fix the bug<Button>{0}</Button> display abnormal ( #8733 )
...
* 修复了<Button>{0}</Button> 显示异常的bug
* Fix the bug<Button>{0}</Button> display abnormal
* Fix the bug<Button>{0}</Button> display abnormal
* Unit test writing error
* Unit tests were added to test the rendering of {0}, 0, {false} respectively
2018-01-09 16:18:20 +08:00
afc163
d6d701976f
Fix button line-height broken by 455b9e4
, close #8836
2018-01-05 21:34:58 +08:00
afc163
455b9e40e0
Remove unneccessary reset style of button
2018-01-04 10:09:13 +08:00
afc163
6959119573
Fix HOC in Button not inserted space bettween chinese words
2018-01-02 16:27:59 +08:00
Wei Zhu
999d6184ad
docs: Sort api table
2017-12-29 20:22:58 +08:00
afc163
8ba0b87dcd
Fix button align in chrome
2017-12-22 16:47:12 +08:00
偏右
250eed0fc9
Link button ( #8343 )
...
* support link button
* Fix type
2017-11-29 11:20:22 +08:00
afc163
c0b7bdb9f3
Tweak components style detail
2017-11-27 14:51:46 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
2017-11-17 14:38:54 +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
afc163
2f0197599f
Merge branch 'master' into antd-3.0
2017-11-06 21:19:44 +08:00
afc163
ac96bad478
Improve demo details and update snapshot
2017-11-06 21:14:40 +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
ef443ad047
Merge branch 'master' into antd-3.0
2017-10-20 15:47:42 +08:00
Zhang Zhi
7bc6aad1fd
Update button code to make it more clearer ( #7929 )
...
* remove unnecessary default value of 'size' prop
* `clicked` should be a state
2017-10-19 21:52:06 -05:00
afc163
274985d320
fix button margin inside
2017-10-17 15:01:21 +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
Wei Zhu
a3c3ec8070
Fix types and lint
2017-10-09 21:03:00 +08:00