Commit Graph

361 Commits

Author SHA1 Message Date
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
2022-04-17 22:36:36 +08:00
afc163
0f0e2f9f43
docs: simplify demo code, #30853 (#35050) 2022-04-15 16:20:56 +08:00
二货机器人
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
2022-04-08 22:55:42 +08:00
Hamed Mohammadzadeh
d49013468a
fix: not warpper animation for badge RTL (#34899) 2022-04-07 16:15:02 +08:00
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
2022-04-03 23:27:45 +08:00
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>
2022-03-22 10:08:17 +08:00
xrkffgg
66bad24413
fix: Badge RTL wrong placement (#34545) 2022-03-17 10:47:56 +08:00
二货机器人
31fb55adf3
chore: btn default provide default cls (#34013) 2022-02-11 15:02:59 +08:00
afc163
578aaad7f2 test: fix lint 2022-01-24 11:26:26 +08:00
二货机器人
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
2021-12-23 11:51:10 +08:00
songlinn
d4b4edf8ef
fix: fix badge animation end not trigger when parent is display:none (#33083)
Co-authored-by: songlin.chen <songlin.chen@leyantech.com>
2021-12-06 11:23:34 +08:00
afc163
b34f72b1b6
test: fix ci warnings (#33160) 2021-12-04 17:06:36 +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
xrkffgg
a251a7dd1d
style: optimized Badge count show in rtl (#32281) 2021-09-24 15:34:12 +08:00
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
2021-08-02 12:22:30 +08:00
afc163
24401706d9
fix: Badge status color changed when toggle visibility (#31458)
close #30088
2021-07-20 17:58:47 +08:00
afc163
cded822aa5 docs: update Badge.Ribbon demo 2021-07-14 12:35:03 +08:00
netcon
6ee413c604
fix: span element should not contains p element in Badge (#31042)
fixes #30916
2021-06-22 22:53:55 +08:00
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
2021-06-01 10:11:24 +08:00
afc163
2e8a129eb4
fix: Badge spin style (#30275)
close #30274
2021-04-23 10:24:06 +08:00
afc163
eec7eca5b3
Revert "fix(Badge): update cached isDotRef when isHidden (#30090)" (#30277)
This reverts commit d87901e9a5.
2021-04-23 10:23:57 +08:00
xiejiahe
ca31a75d1b
style(Badge): remove null check (#30204) 2021-04-19 14:05:00 +08:00
wangao
d87901e9a5
fix(Badge): update cached isDotRef when isHidden (#30090) 2021-04-11 13:37:46 +08:00
zkwolf
96964cc443
docs: fix badge english doc (#29531) 2021-02-28 09:09:48 +08:00
二货机器人
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
2021-01-29 14:27:36 +08:00
Kermit
86b149bdbd
chore: update badge snapshot (#29098) 2021-01-28 21:13:40 +08:00
二货机器人
45013ef472
update demo (#29089) 2021-01-28 18:16:05 +08:00
偏右
9fad797fd3
style: fix Badge dot small width (#28854)
close #28853
2021-01-14 14:17:12 +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
二货机器人
600fc0a9fe
fix: Standalone Badge motion style (#28240)
* fix: badge motion style

* chore: Clean up related code

* test: Update test case
2020-12-07 21:23:42 +08:00
二货机器人
20788d870c
fix: Badge should not do motion when appear (#28003)
* fix: Badge no need appear motion

* test: Update snapshot
2020-11-25 19:49:44 +08:00
二货机器人
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
2020-11-18 18:32:00 +08:00
二货机器人
5ea58857f9
test: Update snapshot (#27854)
* chore: Update badge snapshot

* test: Update snapshot
2020-11-18 17:23:46 +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
xrkffgg
cba9634a3d
perf: reduce css size (#27527)
* perf: reduce css size

* add

* add

* fix line-height

* add .reset-component
2020-11-04 15:06:41 +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
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
偏右
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
2020-10-13 21:16:20 +08:00
Alex
bf45c4c1b0
style: 💄 className prop ordering #26594 (#26602)
close #26594
2020-09-06 13:07:39 +08:00
zhangchen
453eafe68d
fix: Badge not work when props.color is empty (#26375)
* fix: Badge not work when props.color is empty

* update: test
2020-08-26 11:27:07 +08:00
偏右
b8f05d3ae7
feat: 💄 Add @badge-color (#26159) 2020-08-12 15:01:45 +08:00
偏右
ae843df718
Merge pull request #26112 from ant-design/master
chore: merge master into feature
2020-08-10 14:53:46 +08:00
Daryl Roberts
cdb8a5bcd7
style: add @badge-count-background (#26043) 2020-08-10 11:16:00 +08:00
afc163
45cbbd6034 merge feature into master-to-merge-feature 2020-08-05 14:49:10 +08:00
xrkffgg
ec042c66c2
fix: badge rtl.less import (#25931) 2020-07-31 15:18:00 +08:00
偏右
cc7ad06a43
Merge pull request #25889 from ant-design/master
chore: merge master into feature
2020-07-29 21:32:11 +08:00
07akioni
44b51dc2b7
fix: Badge style import (#25863) 2020-07-28 17:59:14 +08:00