Yuki Zhang
c3e51506cc
feat: add Space.Compact ( #37652 )
...
* feat: add Space.Compact
* feat: update input style
* feat: add CompactItem for context memoize
* feat: add demo
* feat: update button style
* feat: update input style
* feat: 提取 getCompactClassNames 公用方法
* feat: update button style
* feat: update picker
* feat: add block prop for Space.Compact
* feat: use Space.Compact for Input#addonBefore/After
* feat: update addon
* refactor: compact
* feat: update
* feat: update
* feat: migrate styles to compact for new Input/Input.Search
* feat: organize input demo
* feat: add more button compact demo
* feat: resolve select border collapse
* feat: fix input addon select style
* feat: add input addon demo in Space
* feat: add useCompactItemContext hook
* feat: update compact-item style
* feat: rollback input#addon implements
* feat: rollback input#addon and input.search style
* feat: select border collapse
* feat: add Space.Compact demo
* feat: Space.Compact vertical for Button
* refactor: useCompactItemContext
* feat: update Button vertical demo
* feat: rtl for compact mixin
* feat: rtl for compact button
* feat: input rtl
* feat: add docs for Space.Compact
* test: add some tests for Space.Compact
* test: add tests
* feat: select style
* feat: handle select focus style
* feat: add useCompactItemContext for Picker and Cascader
* style: add compact-item style for cascader
* feat: support nested Space.Compact
* style: Input.Search in Space.Compact
* chore: clean
* feat: add useCompactItemContext for TreeSelect
* fix: lint issues
* fix: style lint
* docs: update demos for Space.Compact
* docs: update demo
* fix: add deps-lint-skip for space
* fix: add deps-lint-skip for space
* fix: handle edge case for useCompactItemContext
* test: add search test case
* chore: + bundlesize
* style: merge button compact style into one file
* style: improve style for nested compact
* fix: stylelint
* docs: update Space.Compact docs
* test: update demo snapshot
* test: update input debug test snapshot
* docs: update doccs for Space.Compact
* test: improve test cases for Compact
* docs: clean demos for Compact
* refactor: improve Space.Compact
* fix: add useCompactItemContext for Input.Search
* style: improve compact border-radius implementation
* refactor: use context to make nested compact works
* fix: input-number focused style
* refactor: remove useless style
* refactor: improve style for vertical compact
* test: update snapshot
* test: update snapshot for input
* refactor: improve compact-item-border-radius
* fix: search group in RTL
* style: improve style for button compact
* style: use after
* fix: stylelint
* chore: update snapshot
* style: improve button compact
* refactor: improve btn-icon-only style in compact
2022-10-18 16:23:10 +08:00
afc163
15b8b85ce8
style: fix Button loading icon margin issue ( #36168 )
...
* style: fix Button loading icon margin issue
* test: update snapshot
* test: fix tsx demo error
2022-06-22 12:58:56 +08:00
muxin
f2a5d2f881
fix: Button has no disabled style when link type ( #35975 )
...
Co-authored-by: MadCcc <1075746765@qq.com>
2022-06-10 17:58:58 +08:00
二货机器人
f8e7cba353
refactor: Simplify Button Group Style ( #35175 )
...
* chore: refactor grp with context
* test: Update snapshot
* chore: clean up
* test: fix test case
* chore: clean up
* test: fix test
2022-04-22 17:40:52 +08:00
tangjinzhou
eb45dbb4db
fix: block not work when small size ( #33878 )
...
https://github.com/vueComponent/ant-design-vue/issues/5219
2022-01-27 21:33:45 +08:00
afc163
578aaad7f2
test: fix lint
2022-01-24 11:26:26 +08:00
Xi Ming
659571edae
fix missing words in commets ( #33514 )
...
Lol
2022-01-02 12:59:40 +08:00
afc163
28855c23d9
fix: Button loading style missing in Firefox ( #33199 )
2021-12-08 18:17:01 +08:00
renovate[bot]
b6bd4c18b4
chore(deps): update dependency stylelint to v14 ( #32609 )
...
* chore(deps): update dependency stylelint to v14
* Update package.json
* fix some stylelint
* fix some stylelint
* fix some stylelint errors
* fix some stylelint errors
* fix some stylelint errors
* fix some stylelint errors
* fix some stylelint errors
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-10-22 13:35:36 +08:00
dependabot[bot]
b445baa001
chore(deps-dev): bump stylelint-config-prettier from 8.0.2 to 9.0.2 ( #32451 )
...
* chore(deps-dev): bump stylelint-config-prettier from 8.0.2 to 9.0.2
Bumps [stylelint-config-prettier](https://github.com/prettier/stylelint-config-prettier ) from 8.0.2 to 9.0.2.
- [Release notes](https://github.com/prettier/stylelint-config-prettier/releases )
- [Commits](https://github.com/prettier/stylelint-config-prettier/compare/v8.0.2...v9.0.2 )
---
updated-dependencies:
- dependency-name: stylelint-config-prettier
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* chore: autofix stylelint errors
* chore: autofix stylelint errors
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-10-13 15:38:59 +08:00
afc163
6b56af466f
fix: Button with icon and href align issue ( #32373 )
2021-10-02 12:35:50 +08:00
afc163
441a6aba8f
fix: ghost button hover style ( #32289 )
...
* fix: disabled ghost button style
* fix
* fix lint
2021-09-24 19:39:48 +08:00
二货机器人
9324e953e3
chore: Not preventEvent btn loading ( #32158 )
...
* chore: Not preventEvent btn loading
* test: Update snapshot
2021-09-14 15:31:42 +08:00
二货机器人
36bcaaef85
Add variable.less
to support css variable ( #31496 )
...
* chore: use varaible.less
* chore: basic primary varaible
* chore: Move to variable
* chore: align active color
* chore: global fix of css variable
* chore: primary colors
* chore: button danger
* chore: btn default error color
* chore: button series
* chore: More examples
* chore: More components
* chore: Form demo
* chore: form style
* fix: Tag & Alert variable
* chore: update footer
* chore: rm tmp code
* chore: transfer
* fix: picker column active color
* chore: Adjust active bg color
* chore: table hover color
* chore: all css variables
* chore: Global using variables
* chore: Test case
* chore: Update test logic
* chore: back of default less
* chore: entry of site use proxy style
* chore: update entry
* chore: split of variables
* refactor: quick dist speed
* fix: site use variable version
* chore: Update less config
* chore: add mv script
* chore: Update repalcement script
* chore: Add inject variables
* chore: Update script
* fix: script path
* chore: Move to component instead
* chore: fix condition
* chore: update config
* chore: Update in less transform
* chore: Modify logic
* chore: change to variables
* chore: Update name
* fix: script name
* chore: do inject
* revert: back of path
* chore: 2 way of generate
* bump tools
* chore: Add auto replacement script
* chore: auto genrate less file
* chore: fix test
* test: More test case
* chore: Update limit config
* test: coverage
* docs: Update doc
2021-09-01 10:56:50 +08:00
afc163
ccf14fce68
fix: ghost button style ( #31780 )
...
* fix: Button ghost style broken when it is danger
* update snapshot
2021-08-13 09:31:38 +08:00
afc163
0599c29f97
fix: Button icon align issue ( #31755 )
...
* fix: Button with only icon align issue in Chrome
close #31701
* update snapshot
2021-08-11 12:59:14 +08:00
afc163
e37c411187
style: remove duplicated css rule of ghost button ( #31659 )
...
close #31474
2021-08-04 18:35:37 +08:00
afc163
87c8b5a180
fix: Button align issue ( #30006 )
...
close #29978
2021-04-03 22:27:46 +08:00
Janneke Janssen
005627e4a4
fix: Button loading state not respecting the border-width ( #28886 )
2021-01-16 17:50:56 +08:00
偏右
0223e2ed5a
chore( 🆙 ): upgrade less to 4.0.0 ( #28466 )
...
* chore(🆙 ): upgrade less to 4.0.0
* chore(🆙 ): upgrade bisheng to 3.0.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix progress font size
2020-12-25 14:31:44 +08:00
Chan Qin Liang
263d8ec8e8
Include parenthesis on mixin calls to support less 4.0.0 ( #28465 )
2020-12-22 11:08:12 +08:00
偏右
e0c26b4ac1
style( 💄 ): fix Button and Form loading spin animation ( #27794 )
2020-11-16 18:05:00 +08:00
xrkffgg
a3b05577a9
perf: reduce css ( #27670 )
2020-11-10 11:16:27 +08:00
Tom Xu
274871b50c
docs(button): improve docs and shape remove undeclared doc type ( #27159 )
...
* docs(button): improve docs
* Update index.less
2020-10-16 15:50:19 +08:00
偏右
8bff5917dc
style: tweak button icon only align ( #26785 )
...
close #26679
2020-09-17 15:31:26 +08:00
xrkffgg
93d8d66171
style: add @btn-line-height ( #26014 )
2020-08-04 19:56:10 +08:00
07akioni
35f1b1b7fc
fix: remove style of ghost link & ghost text button ( #24953 )
...
* fix: remove style of ghost link & ghost text button
* feat: devWarning on link or text + ghost button
* test: update snapshot
* fix: fix devWarning valid arg
* test: test warning
* docs: update ghost button demo
* test: change resetWarned position
* chore
2020-06-19 17:46:15 +08:00
07akioni
520fbca0f4
refactor: Reduce Button CSS size ( #24996 )
...
* refactor: reduce button css size
* refactor: remove redundant button .less code
2020-06-15 16:00:15 +08:00
Teng YANG
9f8eb99807
fix : #24614 text button style inconsistent in danger
( #24622 )
...
* fix: update button style when type="text" of danger
* update wording in danger button demo
* format code
2020-06-01 13:33:29 +08:00
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