element-plus/docs
星如雨 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
..
.vitepress docs: add an overview icon for InputTag (#19110) 2024-12-04 18:48:24 +08:00
en-US feat(components): [badge] add content slot (#18922) 2024-12-10 13:57:36 +08:00
examples feat(components): [badge] add content slot (#18922) 2024-12-10 13:57:36 +08:00
public chore: update doc (#19017) 2024-11-26 11:12:48 +00:00
.gitignore
components.d.ts docs: add an overview icon for InputTag (#19110) 2024-12-04 18:48:24 +08:00
crowdin.yml
index.md
package.json chore(deps): update vite related dependency for play and docs (#18809) 2024-11-08 09:38:27 +08:00
tsconfig.json chore(deps): update vite related dependency for play and docs (#18809) 2024-11-08 09:38:27 +08:00
unocss.config.ts chore(deps): update vite related dependency for play and docs (#18809) 2024-11-08 09:38:27 +08:00