Files
dss/packages/dss-ui/stories/Progress.stories.tsx
DSS 09b234a07f
Some checks failed
DSS Project Analysis / dss-context-update (push) Has been cancelled
feat(dss-ui): Button component with design tokens only
- Button.css uses only CSS custom properties, no fallbacks
- Token validator now blocks hardcoded values (strict_mode: true)
- Hook scripts converted from ESM (.js) to CommonJS (.cjs)
- Storybook unified config with HMR disabled for nginx proxy
- Added dss-ui package with Figma-synced components and stories

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-11 18:47:57 -03:00

41 lines
832 B
TypeScript

/**
* Progress Stories
* @generated 2025-12-11T14:37:52.614683
*/
import type { Meta, StoryObj } from '@storybook/preact';
import { Progress, type ProgressProps } from '../src/atoms/Progress';
const meta: Meta<ProgressProps> = {
title: '2. Atoms/Progress',
component: Progress,
tags: ['autodocs'],
parameters: {
docs: {
description: {
component: `Auto-generated Progress component
**Classification:** atom
**Slots:** None
**Figma ID:** 438:64981`
}
}
},
argTypes: {
progress: {
control: 'select',
options: ['0', '10', '100', '25', '33', '50', '66', '75', '90'],
description: 'Progress variant',
},
},
};
export default meta;
type Story = StoryObj<ProgressProps>;
export const Default: Story = {
args: {
progress: '0',
children: 'Progress'
},
};