+
+export const Default: Story = {
+ args: { variant: 'primary' },
+ render: (args) => ({
+ components: { NychBadge },
+ setup: () => ({ args }),
+ template: `Mortal`,
+ }),
+}
+
+export const AllVariants: Story = {
+ render: () => ({
+ components: { NychBadge },
+ template: `
+
+ Primary
+ Secondary
+ Info
+ Success
+ Warning
+ Danger
+
+ `,
+ }),
+}
diff --git a/packages/playground/stories/Card.stories.ts b/packages/playground/stories/Card.stories.ts
index f066d34..e005029 100644
--- a/packages/playground/stories/Card.stories.ts
+++ b/packages/playground/stories/Card.stories.ts
@@ -1,6 +1,6 @@
import type { Meta, StoryObj } from '@storybook/vue3-vite'
-import { Card as NychCard, Button as NychButton, Tag as NychTag } from '@nychthemeron/library'
+import { Card as NychCard, Button as NychButton, Badge as NychBadge } from '@nychthemeron/library'
const meta = {
title: 'Components/Card',
@@ -52,7 +52,7 @@ export const WithFooter: Story = {
export const WithHeaderAndTag: Story = {
render: () => ({
- components: { NychCard, NychTag },
+ components: { NychCard, NychBadge },
template: `
@@ -60,7 +60,7 @@ export const WithHeaderAndTag: Story = {
- Oracle of Delphi
+ Oracle of Delphi Sacred
diff --git a/packages/playground/stories/Tag.stories.ts b/packages/playground/stories/Tag.stories.ts
deleted file mode 100644
index 4d29b98..0000000
--- a/packages/playground/stories/Tag.stories.ts
+++ /dev/null
@@ -1,55 +0,0 @@
-import type { Meta, StoryObj } from '@storybook/vue3-vite'
-
-import { Tag as NychTag } from '@nychthemeron/library'
-
-const meta = {
- title: 'Components/Tag',
- component: NychTag,
- parameters: {
- layout: 'centered',
- },
- tags: ['autodocs'],
- argTypes: {
- severity: {
- control: { type: 'select' },
- options: ['secondary', 'success', 'info', 'warn', 'danger', 'contrast'],
- description: 'Tag color severity',
- },
- value: {
- control: { type: 'text' },
- description: 'Tag label',
- },
- rounded: {
- control: { type: 'boolean' },
- description: 'Pill-shaped tag',
- },
- },
-} satisfies Meta
-
-export default meta
-type Story = StoryObj
-
-export const Default: Story = {
- args: { value: 'Mortal' },
-}
-
-export const Rounded: Story = {
- args: { value: 'Immortal', severity: 'info', rounded: true },
-}
-
-export const Severities: Story = {
- render: () => ({
- components: { NychTag },
- template: `
-
-
-
-
-
-
-
-
-
- `,
- }),
-}