diff --git a/packages/celeste-icons/icons/others/dot.svg b/packages/celeste-icons/icons/others/dot.svg new file mode 100644 index 0000000..77ea4bb --- /dev/null +++ b/packages/celeste-icons/icons/others/dot.svg @@ -0,0 +1,3 @@ + + + diff --git a/packages/celeste-tokens/src/tokens/typo.json b/packages/celeste-tokens/src/tokens/typo.json index 6281d68..e0f74a4 100644 --- a/packages/celeste-tokens/src/tokens/typo.json +++ b/packages/celeste-tokens/src/tokens/typo.json @@ -478,7 +478,7 @@ }, "$type": "typography" }, - "2xs": { + "xxs": { "$value": { "fontFamily": "{fontFamilies.sans}", "fontWeight": "{fontWeights.display-0}", diff --git a/packages/celeste-vue/src/components/badge/badge.vue b/packages/celeste-vue/src/components/badge/badge.vue new file mode 100644 index 0000000..f6fde35 --- /dev/null +++ b/packages/celeste-vue/src/components/badge/badge.vue @@ -0,0 +1,129 @@ + + + + + + + diff --git a/packages/celeste-vue/src/components/badge/index.ts b/packages/celeste-vue/src/components/badge/index.ts new file mode 100644 index 0000000..ffb6a2f --- /dev/null +++ b/packages/celeste-vue/src/components/badge/index.ts @@ -0,0 +1,2 @@ +export * from './badge.vue'; +export { default as Badge } from './badge.vue'; diff --git a/packages/celeste-vue/src/components/badge/stories/badge.stories.ts b/packages/celeste-vue/src/components/badge/stories/badge.stories.ts new file mode 100644 index 0000000..85a305f --- /dev/null +++ b/packages/celeste-vue/src/components/badge/stories/badge.stories.ts @@ -0,0 +1,28 @@ +import type { Meta, StoryObj } from '@storybook/vue3'; +import Badge from '../badge.vue'; + +const meta: Meta = { + title: 'Components/Badge', + component: Badge, +}; + +export default meta; + +type Story = StoryObj; + +export const Default: Story = { + args: { + + }, + + render: args => ({ + components: { Badge }, + setup() { + return { args }; + }, + template: ` + + + `, + }), +}; diff --git a/packages/celeste-vue/src/components/button/button.vue b/packages/celeste-vue/src/components/button/button.vue index dbc8d80..f4cead9 100644 --- a/packages/celeste-vue/src/components/button/button.vue +++ b/packages/celeste-vue/src/components/button/button.vue @@ -236,6 +236,7 @@ $hover-map: ( } :deep(i) { + flex-shrink: 0; width: 20px; height: 20px; } diff --git a/packages/celeste-vue/src/components/button/fancy-button.vue b/packages/celeste-vue/src/components/button/fancy-button.vue index 400e822..1cde150 100644 --- a/packages/celeste-vue/src/components/button/fancy-button.vue +++ b/packages/celeste-vue/src/components/button/fancy-button.vue @@ -103,6 +103,7 @@ $type-map: ( } :deep(i) { + flex-shrink: 0; width: 20px; height: 20px; } diff --git a/packages/celeste-vue/src/components/button/link-button.vue b/packages/celeste-vue/src/components/button/link-button.vue index 5ca9849..1047fbe 100644 --- a/packages/celeste-vue/src/components/button/link-button.vue +++ b/packages/celeste-vue/src/components/button/link-button.vue @@ -72,6 +72,7 @@ export interface LinkButtonProps extends PrimitiveProps { font: var(--label-sm); :deep(i) { + flex-shrink: 0; width: 20px; height: 20px; } @@ -82,6 +83,7 @@ export interface LinkButtonProps extends PrimitiveProps { font: var(--label-xs); :deep(i) { + flex-shrink: 0; width: 16px; height: 16px; } diff --git a/packages/celeste-vue/src/components/button/social-button.vue b/packages/celeste-vue/src/components/button/social-button.vue index 945032e..54ccee3 100644 --- a/packages/celeste-vue/src/components/button/social-button.vue +++ b/packages/celeste-vue/src/components/button/social-button.vue @@ -110,6 +110,7 @@ $brand-map: ( } i { + flex-shrink: 0; width: 20px; height: 20px; } diff --git a/packages/celeste-vue/src/components/index.ts b/packages/celeste-vue/src/components/index.ts index c7b4064..769c981 100644 --- a/packages/celeste-vue/src/components/index.ts +++ b/packages/celeste-vue/src/components/index.ts @@ -1,2 +1,3 @@ export * from './alert'; +export * from './badge'; export * from './button';