dingkang
f5831f121d
docs: replace class component with hooks ( #35461 )
* docs(badge): replace class component with hooks
* docs(button): replace class component with hooks
* docs(calendar): replace class component with hooks
* docs(card): replace class component with hooks
* docs(button): replace class component with hooks
* chore(deps): remove webpack devDependencies
3 years ago
Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
3 years ago
MadCcc
1c8e499f9c
test: migrate some test case to testing-library ( #35062 )
* test: migrate some test case to testing-library
* chore: code clean
* test: fix stylelint
* test: test case
3 years ago
afc163
0f0e2f9f43
docs: simplify demo code, #30853 ( #35050 )
3 years ago
二货机器人
5b8e4e51e9
chore: Compatible for @types/react@18 ( #34937 )
* chore: bump types def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: free --legacy-peer-deps
* chore: ignore peer
* chore: fix ts logic
* chore: use fork docsearch
* chore: fix demo ts
3 years ago
Hamed Mohammadzadeh
d49013468a
fix: not warpper animation for badge RTL ( #34899 )
3 years ago
MadCcc
6776bb8916
docs: demo support react18 ( #34843 )
* docs: update demo
* chore: add script
* test: fix demo test
* docs: convert demos
* chore: move script
* test: remove react-dom import
* chore: update deps
* docs: update riddle js
* test: fix image test
* docs: fix riddle demo
3 years ago
Hamed Mohammadzadeh
0fe8bb9c37
fix: Badge Animation enter and leave in RTL ( #34641 )
* fix: Badge Animation enter and leave in RTL
* [CodeFactor] Apply fixes to commit 87f1866
[ci skip] [skip ci]
Co-authored-by: codefactor-io <support@codefactor.io>
3 years ago
xrkffgg
66bad24413
fix: Badge RTL wrong placement ( #34545 )
3 years ago
二货机器人
31fb55adf3
chore: btn default provide default cls ( #34013 )
3 years ago
afc163
578aaad7f2
test: fix lint
3 years ago
二货机器人
2df11184f4
test: Demo check popup content ( #33378 )
* auto demo
* chore: update demo snapshot
* fix: trigger mock ref logic
* chore: try 2 test case
* chore: more snapshot
* chore: update snapshot
* chore: fix ts
* chore: split test
* test: Update test case
* chore: fix test order
3 years ago
songlinn
d4b4edf8ef
fix: fix badge animation end not trigger when parent is display:none ( #33083 )
Co-authored-by: songlin.chen <songlin.chen@leyantech.com>
3 years ago
afc163
b34f72b1b6
test: fix ci warnings ( #33160 )
3 years ago
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>
3 years ago
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>
3 years ago
xrkffgg
a251a7dd1d
style: optimized Badge count show in rtl ( #32281 )
3 years ago
afc163
06dff86287
fix: Badge count style when customize color ( #31617 )
* fix: Badge count style when customize color
close #31590
close #31591
* add demo for debug
* update badge demos
* create ribbon.test.tsx
3 years ago
afc163
24401706d9
fix: Badge status color changed when toggle visibility ( #31458 )
close #30088
3 years ago
afc163
cded822aa5
docs: update Badge.Ribbon demo
3 years ago
netcon
6ee413c604
fix: span element should not contains p element in Badge ( #31042 )
fixes #30916
3 years ago
afc163
9f0dbf2b4d
chore: upgrade to jest 27 ( #30783 )
* chore: upgrade devDeps
* upgrade @ant-design/tools
* support CSS Minification
* test: jsdom as testEnvironment
* fix setImmediate
* update snapshot
* fix test
* fix test
* fix test
* fix test
4 years ago
afc163
2e8a129eb4
fix: Badge spin style ( #30275 )
close #30274
4 years ago
afc163
eec7eca5b3
Revert "fix(Badge): update cached isDotRef when isHidden ( #30090 )" ( #30277 )
This reverts commit d87901e9a5
.
4 years ago
xiejiahe
ca31a75d1b
style(Badge): remove null check ( #30204 )
4 years ago
wangao
d87901e9a5
fix(Badge): update cached isDotRef when isHidden ( #30090 )
4 years ago
zkwolf
96964cc443
docs: fix badge english doc ( #29531 )
4 years ago
二货机器人
f1568a656a
Badge number ( #29100 )
* init number component
* use single nodes
* clean up
* add current class
* clean up
* fallback
* fix: Safari render issue
* test: fix test case
* test: fix test case
* test: fix test case
* test: fix test case
* test: fix test case
* test: fix test case
* test : Update snaposhot
* test : Update cp snaposhot
4 years ago
Kermit
86b149bdbd
chore: update badge snapshot ( #29098 )
4 years ago
二货机器人
45013ef472
update demo ( #29089 )
4 years ago
偏右
9fad797fd3
style: fix Badge dot small width ( #28854 )
close #28853
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
二货机器人
600fc0a9fe
fix: Standalone Badge motion style ( #28240 )
* fix: badge motion style
* chore: Clean up related code
* test: Update test case
4 years ago
二货机器人
20788d870c
fix: Badge should not do motion when appear ( #28003 )
* fix: Badge no need appear motion
* test: Update snapshot
4 years ago
二货机器人
507b596926
refactor: Replace Badge with rc-motion ( #27848 )
* refactor: Replace Badge with rc-motion
* fix: Cache for hidden
* fix: Dot style
* revert demo
* fix demo snapshot
* test: Update snapshot
* test: Update snapshot
4 years ago
二货机器人
5ea58857f9
test: Update snapshot ( #27854 )
* chore: Update badge snapshot
* test: Update snapshot
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
xrkffgg
cba9634a3d
perf: reduce css size ( #27527 )
* perf: reduce css size
* add
* add
* fix line-height
* add .reset-component
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
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
偏右
2788140d1a
Merge pull request #27137 from ant-design/master
chore: merge master into feature
4 years ago
偏右
3ef6ea3ead
refactor: 📦 some styles to reduce css bundle size ( #27129 )
* refactor: some styles to reduce css bundle size
* test: update snapshot
* fix snapshot
* fix test case
* fix addonAfter
* fix firefox style
* reduce riddon css size
* fix Input.Group border radius
* remove unused css selectors
* fix test cov
* fix search button hover border
* fix rtl textarea clear icon style
* update demos
* fix search rtl style
* fix input search style
4 years ago
Alex
bf45c4c1b0
style: 💄 className prop ordering #26594 ( #26602 )
close #26594
4 years ago
zhangchen
453eafe68d
fix: Badge not work when props.color is empty ( #26375 )
* fix: Badge not work when props.color is empty
* update: test
4 years ago
偏右
7d500703d7
feat: 💄 Add @badge-color ( #26159 )
4 years ago
偏右
b8f05d3ae7
feat: 💄 Add @badge-color ( #26159 )
4 years ago
Daryl Roberts
cdb8a5bcd7
style: add @badge-count-background ( #26043 )
4 years ago
xrkffgg
ec042c66c2
fix: badge rtl.less import ( #25931 )
4 years ago