lijianan
3d33c34010
chore: use includes instead indexOf ( #38139 )
* chore: use includes instead indexOf
* fix: fix
2 years ago
二货爱吃白萝卜
b7634968d7
test: Use SSR for testing demo ( #37890 )
* test: Use SSR for testing demo
* chore: fix lint
* test: align with react 18
2 years ago
Wuxh
a70ef1b8da
fix(Badge): fix accidentally rendering an empty element when text props is empty ( #37681 )
* test(badge): add case
* fix(badge): fix accidentally rendering an empty element when text props is empty
* chore(badge): update demo
* test(badge): update snapshot
* docs: beautify docs
Add several supported ways to describe colors
* test(badge): update snapshot
* chore: update snapshot
* test: update snapshots
* Revert "test: update snapshots"
This reverts commit 2bd11650aea3b3a447a891f09708032f9c41cb3d.
* test: update snapshot
2 years ago
黑雨
01ca7c7821
test: convert demo to testing-lib ( #37381 )
* test: replace testing-lib
* test: replace testing-lib
* test: replace testing-lib
* test: update snap
* test: replace testing-lib
* test: replace testing-lib
* test: update for lint
* merge: merge
* test: testing-lib
* test: replace testing-lib
* test: testing-lib
* test: testing-lib
* test: replace testing-lib
* test: replace testing-lib
* test: Replace test aria replacment logic
* test: Update snapshot
* chore: hack for id
* test: clean up
* test: clean demo
* chore: update
* test: snapshot update
* test: fix snapshot rep logic
* test: fix snapshot rep logic
* test: fix snapshot rep logic
* chore: update demo
* test: fix snapshot rep logic
* test: Update snapshot
* test: rest snapshot
* test: update snapshot
* test: Update test case
* test: config env
* chore: clean up
* chore: Use renderServer instead
* test: adjust testing logic
* test: modify test logic
* test: split ssr test
* test: skip if need skip
* chore: ignore test file covv
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2 years ago
Yuki Zhang
6195376bd0
test: move test cases to testing lib for Badge ( #36033 )
2 years ago
章鱼
7fd093bd0a
docs: feat components TS demo ( #34742 )
* docs: add general components TS demo
* docs: add layout components TS demo
* docs: add navigation components TS demo
* docs: add data entry components TS demo
* chore(deps): add types for qs
* docs: add data display TS demo
* docs: add feedback components TS demo
* docs: add other components TS demo
* chore(deps): add types
* docs: unified demo code style
* docs: fix lint error
* docs: add demo TS type
* docs: fix demo TS type
* test: update snapshot
* docs: fix TS demo
* feat: update Rate character type
* docs: fix lint error
* feat: update Rate character type
* feat: update Rate character type
3 years ago
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