Commit Graph

159 Commits

Author SHA1 Message Date
Teng YANG
b467cc5cbb
feat: #24355 support complex button backgrounds (#24372) 2020-05-21 23:45:25 +08:00
偏右
ae8603838a
Merge pull request #24371 from ant-design/master
chore: merge master into feature
2020-05-21 23:41:37 +08:00
偏右
e657fb806f
fix: Button loading animation missing (#24328)
close #24323
2020-05-20 23:32:38 +08:00
afc163
53d7a20939 merge feature into master-to-merge-feature 2020-05-13 16:16:16 +08:00
偏右
f7e00f645e
style: fix Button small size align when customize theme (#24097)
close #24089
2020-05-13 12:56:24 +08:00
zombiej
339246d316 chore: Merge master 2020-05-13 11:59:15 +08:00
偏右
c19685e0ea
fix: Child of Button should be interactive (#24095)
close #24090
2020-05-12 22:29:10 +08:00
偏右
c5bcf57537
feat: 💄 Add text type Button (#22552)
* 🆕 Add text type Button

`<Button type="text" />`

close #15892

* Add test cases

* missing type

* missing type

* fix missing type

* Update components/button/index.zh-CN.md

Co-Authored-By: zefeng <zefengbao@outlook.com>

Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: zefeng <zefengbao@outlook.com>
2020-05-06 10:15:33 +08:00
xrkffgg
bd692bef71
style: optimize button loading style in rtl (#23776)
* style: optimize button loading style in rtl

* opt rtl

* reback
2020-05-02 09:00:47 +08:00
骗你是小猫咪
e34fc4a7c4
improve: Button loading smooth (#23783) 2020-04-30 17:18:24 +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
偏右
89bccf5752
🐛 Fix Button loading style of icon-only (#23614)
close #23610
2020-04-26 16:21:07 +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
二货机器人
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
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
xrkffgg
f2c0ea3671
style: optimization Dropdown rtl style (#22519) 2020-03-23 16:39:30 +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
二货机器人
06afc9cd9c
fix: Button.Group size style issue (#21307)
* remove useless fixing line-height

* update snapshot
2020-02-10 11:32:37 +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
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
7c3beabd4c fix: button ghost color 2019-12-27 10:16:02 +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
骗你是小猫咪
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
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
864ccc436e fix: button danger link 2019-11-29 15:09:17 +08:00
骗你是小猫咪
6030431121 fix(Button): Button disabled with loading not prevent pointer events (#19958) 2019-11-27 12:41:47 +08: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
afc163
1d1e197527 🐛 Fix Icon Button align issue
close #19392
2019-10-28 15:26:06 +08:00
afc163
913c5bbc47 🐛 Fix Button.Group large="size" icon only style
close #18993
2019-09-25 14:36:59 +08:00
afc163
9157bc99a9 🐛 Fix round button font size too large 2019-09-06 12:42:50 +08:00
afc163
4d0bd6b7da 🐛 Fix circle button is not circle
close #18509
2019-08-28 12:02:10 +08:00
Qhan W
cde78c8981 修复纯图标按钮在默认形状下不同大小均显示为正方形 (#18458) 2019-08-25 21:04:10 +08:00
Meck Zhu
57833a260f chore: fix css style 2019-08-09 17:16:20 +08:00