Commit Graph

377 Commits

Author SHA1 Message Date
二货机器人
94b688ff8c chore: feature merge master 2022-10-22 22:53:41 +08:00
lijianan
3d33c34010
chore: use includes instead indexOf (#38139)
* chore: use includes instead indexOf

* fix: fix
2022-10-21 11:45:55 +08:00
二货机器人
5f28b2e5a4 chore: merge maaster 2022-10-11 14:54:30 +08:00
二货爱吃白萝卜
b7634968d7
test: Use SSR for testing demo (#37890)
* test: Use SSR for testing demo

* chore: fix lint

* test: align with react 18
2022-10-08 16:17:20 +08:00
二货机器人
7b0b00a26b chore: fix lint 2022-09-28 14:37:04 +08:00
二货机器人
069e44bcc3 chore: merge master 2022-09-28 12:01:20 +08:00
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
2022-09-24 23:15:22 +08:00
二货机器人
cdc20027b5 chore: merge master 2022-09-19 17:09:36 +08:00
kiner-tang(文辉)
2415c0f636
feat: Badge support colorful custom count style (#37609)
Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
2022-09-19 11:52:17 +08:00
黑雨
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>
2022-09-09 15:51:35 +08:00
二货机器人
2c2c631bfd
chore: prettier components (#36171) 2022-06-22 14:57:09 +08:00
Yuki Zhang
6195376bd0
test: move test cases to testing lib for Badge (#36033) 2022-06-15 10:43:56 +08:00
zombiej
f58efe9b32 chore: merge master 2022-05-23 14:37:16 +08:00
章鱼
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
2022-05-19 09:46:26 +08:00
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
2022-05-10 13:00:31 +08:00
Tom Xu
1719748a29
chore: eslint add consistent-type-imports (#35419)
* chore: eslint add consistent-type-imports

* fix avatar

* Update Item.tsx
2022-05-07 14:31:54 +08:00
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