Skip to content

An open source design system that's fully customizable and agent ready

TypeScript

cleanup: remove Badge dot stories and shape argType (#950)

Cindy Zhangb88a49477a2b
diff --git a/apps/storybook/stories/Badge.stories.tsx b/apps/storybook/stories/Badge.stories.tsx
index fb45d093eb..447cab3ee4 100644
--- a/apps/storybook/stories/Badge.stories.tsx
+++ b/apps/storybook/stories/Badge.stories.tsx
@@ -1,8 +1,6 @@
import type {Meta, StoryObj} from '@storybook/react';
import {XDSBadge} from '@xds/core/Badge';
-import {XDSStatusDot} from '@xds/core/StatusDot';
-
const meta: Meta<typeof XDSBadge> = {
title: 'Core/XDSBadge',
component: XDSBadge,
@@ -17,11 +15,6 @@ const meta: Meta<typeof XDSBadge> = {
control: 'text',
description: 'Badge label text',
},
- shape: {
- control: 'select',
- options: ['pill', 'dot'],
- description: 'Visual shape of the badge',
- },
},
};
@@ -56,18 +49,6 @@ export const Counts: Story = {
),
};
-export const DotIndicators: Story = {
- render: () => (
- <div style={{display: 'flex', gap: '8px', alignItems: 'center'}}>
- <XDSStatusDot variant="neutral" label="Neutral" />
- <XDSStatusDot variant="info" label="Info" />
- <XDSStatusDot variant="positive" label="Online" />
- <XDSStatusDot variant="warning" label="Away" />
- <XDSStatusDot variant="negative" label="Busy" />
- </div>
- ),
-};
-
export const StatusLabels: Story = {
render: () => (
<div style={{display: 'flex', gap: '8px', alignItems: 'center'}}>