Commit Graph

26 Commits

Author SHA1 Message Date
kooriookami
0f8282520f
chore(components): remove deprecated 2.8.0 (#17735)
* chore(components): remove deprecated 2.8.0

* chore(components): update
2024-08-02 11:08:24 +08:00
chouchouji
ff5ba6a764
test(components): [badge] complete test cases (#17628) 2024-07-24 05:39:19 +00:00
kooriookami
dd97323232
feat(components): [badge] Add badge-style and badge-class (#16585) 2024-04-19 17:50:35 +08:00
bhwa23
dc69729161
feat(components): [badge] add dotClass、dotStyle、offset props (#16434)
* feat: 🎸 [badge] add color prop

add color prop to set badge background color

* feat: 🎸 [badge] add dotClass dotStyle offset  props

* docs: ✏️ [badge] add dotClass dotStyle offset props

* feat: 🎸 [badge] unify style

* style: 💄 [badge] format

* docs: ✏️ update badge.md

* docs: ✏️ update badge props desc

* Update docs/en-US/component/badge.md

Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>

* refactor: 💡 [badge] refactor style

* fix: 🐛 [badge] dotStyle has higher precedence than color

---------

Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
2024-04-12 14:35:55 +08:00
bhwa23
b3c423ff11
feat(components): [badge] add color prop (#16069)
* feat: 🎸 [badge] add color prop

add color prop to set badge background color

* Update badge.md

* 更新文档

* docs: ✏️ [badge] add color prop

* Update docs/en-US/component/badge.md

---------

Co-authored-by: btea <2356281422@qq.com>
2024-03-29 15:11:03 +08:00
Icey Wu
69701f327c
feat(components): [badge] add show-zero prop (#15944)
* feat(components): [badge] add show-zero prop

* fix(components): [badge] adjust hiden conditions

* Update packages/components/badge/src/badge.vue

Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>

* Update packages/components/badge/src/badge.vue

Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>

* Update docs/en-US/component/badge.md

Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>

* fix(components): [badge] adjust hiden conditions

* feat(components): [badge] add test case

* feat(components): [badge] add test case when showZero is false

* feat(components): [badge] add test case when showZero is false

* fix(components): [badge] test error

* fix(components): [badge] test error

* fix(components): [badge] adjust the judgment of content

---------

Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
2024-02-27 14:24:29 +08:00
Jeremy
f17c8f3a2e
docs(components): [badge] enhancement (#10789)
* docs(components): [badge] enhancement

* Update badge docs per new syntax.
* Reorganize code per readability wise purpose.

* chore: remove component name prefix

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-11-27 22:35:13 +08:00
류한경
ec498d38b5
refactor(components): [badge] remove unnecessary condition (#8073) 2022-06-04 15:30:31 +08:00
Xc
25313f1075
refactor(components): [badge] use JSX in Unit test (#7972) 2022-05-30 09:38:54 +08:00
三咲智子
1d13ebb05d
feat: drop jest (#7248)
* feat: drop jest

* test: remove ssr

* test: rename

* chore: update tsconfig
2022-04-19 16:51:44 +08:00
Delyan Haralanov
de0ee53cf0
test(components): switch all components to vitest (#7205)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-04-19 12:46:57 +08:00
三咲智子
5d85fba20c
chore: self closing vue tag (#6603) 2022-03-13 16:16:11 -04:00
三咲智子
0f387bd58e
feat(components): [badge] expose content (#6247) 2022-02-23 16:34:32 +08:00
btea
447fbbb638
refactor(components): [el-badge] use utils isNumber (#6095) 2022-02-17 10:45:05 +08:00
bqy
944deebd8d
refactor(components): [badge] switch to script-setup syntax (#6068) 2022-02-16 15:18:02 +08:00
三咲智子
6503e55277
refactor(utils): migrate utils (#5949)
* refactor(utils-v2): migrate utils

* refactor(utils-v2): migrate utils

* refactor(utils-v2): migrate utils

* refactor(utils): remove

* refactor(utils): rename

* refactor(utils): move EVENT_CODE to constants

* refactor: remove generic
2022-02-11 11:03:15 +08:00
三咲智子
c1e5d724d8
refactor(utils-v2): refactor utils (#5699) 2022-02-09 16:59:08 +08:00
三咲智子
b63956c325
refactor: add transition namespace (#5829) 2022-02-08 09:09:54 +08:00
三咲智子
3cef197e65
refactor(components): [badge] add namespace & instance type (#5473) 2022-01-19 11:37:11 +08:00
三咲智子
edb5726c2d
refactor(utils): refactor buildProps & replace buildProp (#3775) 2021-10-06 19:56:24 +08:00
三咲智子
46d69bd37f
refactor: improve buildProp (#3558)
* refactor: improve buildProp

* fix: fix key

* fix: improve validator
2021-09-22 20:27:23 +08:00
三咲智子
d943a66434
fix(components): [el-badge] add export type (#3376) 2021-09-13 13:19:24 +08:00
三咲智子
04d1d13905
refactor(components): refactor badge (#3366) 2021-09-13 10:49:52 +08:00
Aex
6408d3cce6
feat(components): [el-badge] support color of type when is-dot (#3279)
* feat(components): [el-badge] apply color of type when isDot

* fix(components): [el-badge] change default type to danger
2021-09-07 17:17:39 +08:00
三咲智子
55348b30b6
style: use prettier (#3228)
* style: use prettier

* style: just prettier format, no code changes

* style: eslint fix
object-shorthand, prefer-const

* style: fix no-void

* style: no-console
2021-09-04 19:29:28 +08:00
jeremywu
b0f4fc5f23
refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00