Commit Graph

598 Commits

Author SHA1 Message Date
afc163
7601f62ec0
fix: Button loading margin lost when children is fragment (#30962)
close #30953
2021-06-11 16:32:46 +08:00
afc163
edb59bd2e8
fix: Button with disabled and type="link" should not clickable (#30209)
close #30207
2021-04-19 17:19:22 +08:00
afc163
87c8b5a180
fix: Button align issue (#30006)
close #29978
2021-04-03 22:27:46 +08:00
afc163
13a829d20c
fix: classNames typing errors (#30018) 2021-04-02 22:37:36 +08:00
afc163
99c2c2ff0b
refactor: use optional chaining instead of if (#29368)
* refactor: use optional chaining instead of if

* revert some code
2021-02-19 18:26:53 +08:00
xrkffgg
dcc0ffa016
chore : prettier code (#29123)
* style: prettier code

* update

* Update index.less
2021-01-30 19:39:02 +08:00
Janneke Janssen
005627e4a4
fix: Button loading state not respecting the border-width (#28886) 2021-01-16 17:50:56 +08:00
二货机器人
4315ac567c
chore: replace omit (#28846)
* chore: Replace omit.js with rc-util omit

* chore: Replace omit.js with rc-util omit

* fix ts

* fix ts

* fix ts
2021-01-13 21:00:30 +08:00
Hossein Mohammadi
04bfa3c54f
chore: add prettier-plugin-jsdoc (#28551) 2020-12-28 15:30:18 +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
dependabot[bot]
775d1800bb
chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0 (#28253)
* chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0

Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 6.15.0 to 7.0.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.15.0...v7.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

* chore: fix eslint style

* chore: prettier code style

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2020-12-09 17:12:32 +08:00
Eugene Matvejev
fa09208cda
refactor: review <Button/> defaultProps (#28211) 2020-12-05 23:08:30 +08:00
Eugene Matvejev
5e42ba482a
refactor: review <LoadingIcon /> simplify it a bit and drop dead function (#28207) 2020-12-04 19:35:27 +08:00
陈帅
95ce54ca79
feat: FormItem support _internalItemRender (#27881)
* feat: formitem support _internalItemRender

* add mark

* up rc-field-form

* fix ts error

* Update components/form/FormItemInput.tsx

Co-authored-by: 二货机器人 <smith3816@gmail.com>

* update notes

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-11-20 21:43:43 +08:00
偏右
e0c26b4ac1
style(💄): fix Button and Form loading spin animation (#27794) 2020-11-16 18:05:00 +08:00
偏右
e7bed7cff7
perf(📦): upgrade @ant-design/colors and remove rc-trigger from deps (#27761)
* perf(📦): upgrade @ant-design/colors

* move rc-trigger to devDeps

* fix lint

* update snapshot

* update snapshot

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-11-14 00:43:12 +08:00
wf-erikslokharts
478f611a16
chore: refactor LoadingIcon.tsx (#27765) 2020-11-14 00:13:48 +08:00
Eugene Matvejev
9913062d42
small cleanup in button.tsx (#27759) 2020-11-13 19:26:48 +08:00
xrkffgg
a3b05577a9
perf: reduce css (#27670) 2020-11-10 11:16:27 +08:00
einq7
3357fccf0e
docs: format inline code (#27634) 2020-11-08 15:04:02 +08:00
骗你是小猫咪
6fba4d1136
test: demo -> ui test (#24475)
* test: demo -> ui test

* improve comment image width

* use argos-ci

* use by cicleci

* fix circle run

* rebase master

* try pipeline var

* use another branch var

* fix commit id

* ignore image test file

* remove useless report

* fix test coverage
2020-10-23 18:50:46 +08:00
Tom Xu
a91b451881 docs(button): improve size default value 2020-10-22 08:33:20 +08:00
Robin Pokorny
aa00cee500
docs: Document default for button size (#27283) 2020-10-21 23:17:08 +08:00
afc163
b383c14114 docs: improve button dropdown demo 2020-10-21 11:50:18 +08:00
Tom Xu
d44f404eae
docs: sort api (#27251)
* chore: improve sort api table scripts

* sort api

* add ignore

* Revert "sort api"

This reverts commit 343505d5f0.

* sort api

* Update package.json

* sort api

* Delete sort-api.js

* sort api

* sort api

* sort api

* fix

* Update index.zh-CN.md

* fix input-number

* fix input-number

* sort func

* fix

* Method moved to the end

* carousel method
2020-10-21 10:33:43 +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
Niyaz Akhmetov
1aee1670cf
docs: ✏️ replace is with are (#26983) 2020-10-02 13:15:41 +08:00
偏右
fc5e0a9155
test: 100% coverage (#26839)
* test: isStyleSupport

* test: 100% test coverage
2020-09-21 18:32:24 +08:00
偏右
40cee55141
test: add test case for switch click effect (#26815) 2020-09-18 17:53:37 +08:00
偏右
83ddfb807e
test: Enable transition and animation in jest (#26571)
* test:  add test cases to increase coverage

* test: fix snapshot

* fix: test node envioronment

* fix: test node envioronment

* fix test case

* test: refactor menu test cases

* test: update test code style

* test: add more menu test cases

* add comment

* test: update snapshot

* fix: alert test case

* fix: form onLeaveEnd test cov

* test: fix button click wave test cases

* chore: clean up snapshots
2020-09-18 16:53:18 +08:00
afc163
90cfb0d25f docs: 📝 remove deparecated button type 2020-09-17 23:06:59 +08:00
偏右
8bff5917dc
style: tweak button icon only align (#26785)
close #26679
2020-09-17 15:31:26 +08:00
Knut Olav Bøhmer
e09040f3af
fix: Button as component for react-router Link (#26740)
React router passes `navigate` as prop to component in <Link to={to}
component={Component}>. This is already fixed for Typography.Link.
(#26623) This fixes `<Link to={to} component={Button}` />
2020-09-14 21:31:46 +08:00
Alex
bf45c4c1b0
style: 💄 className prop ordering #26594 (#26602)
close #26594
2020-09-06 13:07:39 +08:00
二货机器人
0097d34d01
fix: Update rc-motion deps & fix ssr (#26542)
* chore: Update rc-motion deps

* frame wheel not prevent scroll

* update ts
2020-09-02 18:30:27 +08:00
xrkffgg
e1f990e61a chore: fix merge conflict 2020-08-10 09:43:21 +08:00
xiao11lang
be7c8d1cc8
docs: update button component doc (#26095)
Co-authored-by: caohang <caohang@caohangdeMacBook-Pro.local>
2020-08-08 17:35:26 +08:00
xrkffgg
f0568efdf3
docs: perfect website (#26079)
* docs: perfect website

* fix []
2020-08-07 15:50:53 +08:00
Kermit Xuan
85e28791cb
chore: replace rc-animate/lib/CSSMotion with rc-motion (#26049) 2020-08-05 23:05:25 +08:00
afc163
45cbbd6034 merge feature into master-to-merge-feature 2020-08-05 14:49:10 +08:00
xrkffgg
93d8d66171
style: add @btn-line-height (#26014) 2020-08-04 19:56:10 +08:00
偏右
bf0cd1073b
style: increase @text-color contrast (#25630)
* style: increase @text-color contrast

* update UI image snapshot
2020-07-29 17:52:47 +08:00
丁文涛
f7cfc19465
docs: optimize button docs (#25712)
Co-authored-by: wynterding <dingwententao@youzan.com>
2020-07-21 10:07:38 +08:00
xrkffgg
b9cd990693
docs: format api button/icon/typography (#25292) 2020-06-29 21:43:22 +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
xrkffgg
a5f3ac8348
docs: unite boolean in site (#25058)
* docs: unite boolean in site

* fix demo

* fix boolean

* add

* add

* add
2020-06-17 23:18:14 +08:00
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
xrkffgg
cb544f7feb
docs: reduce button demo (#24908) 2020-06-11 15:24:24 +08:00
Arvin Xu
dda650cc7b
docs: Update components cover (#24744)
* docs: Update components cover

#24629

* docs: Update components cover
2020-06-05 13:50:09 +08:00