Commit Graph

24 Commits

Author SHA1 Message Date
dopamine
7be4a3765e chore: emits smaller declaration files (#20109)
* Revert "fix(types): packing unexpected types (#19419)"

This reverts commit 13506ffb81.

* Revert "chore: add explicit type annoation (#19352)"

* fix(typescript): borken import paths in declaration files

* chore: emits smaller declaration files
2025-03-18 10:08:44 +08:00
星如雨
ae22c959ac feat(components): [badge] add content slot (#18922)
* feat(components): [badge] add `icon` prop and slot

* feat(components): [badge] remove icon prop

* feat(components): [badge] update badge icon slot test

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

Co-authored-by: btea <2356281422@qq.com>

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

Co-authored-by: btea <2356281422@qq.com>

* feat(components): [badge] update icon slot to content

* fix(components): [badge] remove legacy icon styles

* fix(docs): [badge] punctuation at the end of sentences in a document

* feat(components): [badge] `value` as the value of the `content` slot

* feat(docs): [badge] update badge's doc

* fix(docs): [badge] content slot value type

---------

Co-authored-by: btea <2356281422@qq.com>
2024-12-10 13:57:36 +08:00
sea
f5628e7b16 refactor(components): [badge] show-zero implement (#18360) 2024-09-28 17:10:35 +08:00
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
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
三咲智子
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
三咲智子
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