afc163
7601f62ec0
fix: Button loading margin lost when children is fragment ( #30962 )
close #30953
4 years ago
afc163
edb59bd2e8
fix: Button with `disabled` and `type="link"` should not clickable ( #30209 )
close #30207
4 years ago
afc163
87c8b5a180
fix: Button align issue ( #30006 )
close #29978
4 years ago
afc163
13a829d20c
fix: classNames typing errors ( #30018 )
4 years ago
afc163
99c2c2ff0b
refactor: use optional chaining instead of if ( #29368 )
* refactor: use optional chaining instead of if
* revert some code
4 years ago
xrkffgg
dcc0ffa016
chore : prettier code ( #29123 )
* style: prettier code
* update
* Update index.less
4 years ago
Janneke Janssen
005627e4a4
fix: Button loading state not respecting the border-width ( #28886 )
4 years ago
二货机器人
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
4 years ago
Hossein Mohammadi
04bfa3c54f
chore: add prettier-plugin-jsdoc ( #28551 )
4 years ago
偏右
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
4 years ago
Chan Qin Liang
263d8ec8e8
Include parenthesis on mixin calls to support less 4.0.0 ( #28465 )
4 years ago
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>
4 years ago
Eugene Matvejev
fa09208cda
refactor: review <Button/> defaultProps ( #28211 )
4 years ago
Eugene Matvejev
5e42ba482a
refactor: review <LoadingIcon /> simplify it a bit and drop dead function ( #28207 )
4 years ago
陈帅
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>
4 years ago
偏右
e0c26b4ac1
style( 💄 ): fix Button and Form loading spin animation ( #27794 )
4 years ago
偏右
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>
4 years ago
wf-erikslokharts
478f611a16
chore: refactor LoadingIcon.tsx ( #27765 )
4 years ago
Eugene Matvejev
9913062d42
small cleanup in button.tsx ( #27759 )
4 years ago
xrkffgg
a3b05577a9
perf: reduce css ( #27670 )
4 years ago
einq7
3357fccf0e
docs: format inline code ( #27634 )
4 years ago
骗你是小猫咪
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
4 years ago
Tom Xu
a91b451881
docs(button): improve size default value
4 years ago
Robin Pokorny
aa00cee500
docs: Document default for button size ( #27283 )
4 years ago
afc163
b383c14114
docs: improve button dropdown demo
4 years ago
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
4 years ago
Tom Xu
274871b50c
docs(button): improve docs and shape remove undeclared doc type ( #27159 )
* docs(button): improve docs
* Update index.less
4 years ago
Niyaz Akhmetov
1aee1670cf
docs: ✏️ replace `is` with `are` ( #26983 )
4 years ago
偏右
fc5e0a9155
test: ✅ 100% coverage ( #26839 )
* test: isStyleSupport
* test: 100% test coverage
4 years ago
偏右
40cee55141
test: add test case for switch click effect ( #26815 )
4 years ago
偏右
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
4 years ago
afc163
87059cd795
docs: 📝 remove deparecated button type
4 years ago
偏右
f2a8712139
style: tweak button icon only align ( #26785 )
close #26679
4 years ago
afc163
90cfb0d25f
docs: 📝 remove deparecated button type
4 years ago
偏右
8bff5917dc
style: tweak button icon only align ( #26785 )
close #26679
4 years ago
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}` />
4 years ago
Alex
bf45c4c1b0
style: 💄 className prop ordering #26594 ( #26602 )
close #26594
4 years ago
二货机器人
0097d34d01
fix: Update `rc-motion` deps & fix ssr ( #26542 )
* chore: Update rc-motion deps
* frame wheel not prevent scroll
* update ts
4 years ago
xiao11lang
be7c8d1cc8
docs: update button component doc ( #26095 )
Co-authored-by: caohang <caohang@caohangdeMacBook-Pro.local>
4 years ago
xrkffgg
f0568efdf3
docs: perfect website ( #26079 )
* docs: perfect website
* fix []
4 years ago
Kermit Xuan
85e28791cb
chore: replace `rc-animate/lib/CSSMotion` with `rc-motion` ( #26049 )
4 years ago
xrkffgg
93d8d66171
style: add @btn-line-height ( #26014 )
4 years ago
偏右
bf0cd1073b
style: increase @text-color contrast ( #25630 )
* style: increase @text-color contrast
* update UI image snapshot
4 years ago
丁文涛
f7cfc19465
docs: optimize button docs ( #25712 )
Co-authored-by: wynterding <dingwententao@youzan.com>
4 years ago
xrkffgg
b9cd990693
docs: format api button/icon/typography ( #25292 )
4 years ago
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
5 years ago
xrkffgg
a5f3ac8348
docs: unite boolean in site ( #25058 )
* docs: unite boolean in site
* fix demo
* fix boolean
* add
* add
* add
5 years ago
07akioni
520fbca0f4
refactor: Reduce Button CSS size ( #24996 )
* refactor: reduce button css size
* refactor: remove redundant button .less code
5 years ago
xrkffgg
cb544f7feb
docs: reduce button demo ( #24908 )
5 years ago
07akioni
a0893fcd0b
refactor: reduce CSS size ( #24846 )
* refactor: reduce button css size
* refactor: remove redundant button .less code
5 years ago