Files
dss/packages/dss-ui/stories/Pagination.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

47 lines
961 B
TypeScript

/**
* Pagination Stories
* @generated 2025-12-11T14:37:52.613327
*/
import type { Meta, StoryObj } from '@storybook/preact';
import { Pagination, type PaginationProps } from '../src/atoms/Pagination';
const meta: Meta<PaginationProps> = {
title: '3. Molecules/Pagination',
component: Pagination,
tags: ['autodocs'],
parameters: {
docs: {
description: {
component: `Auto-generated Pagination component
**Classification:** molecule
**Slots:** None
**Figma ID:** 133:11358`
}
}
},
argTypes: {
type: {
control: 'select',
options: ['Next', 'Previous'],
description: 'Type variant',
},
state: {
control: 'select',
options: ['Disabled', 'Regular'],
description: 'State variant',
},
},
};
export default meta;
type Story = StoryObj<PaginationProps>;
export const Default: Story = {
args: {
type: 'Next',
state: 'Disabled',
children: 'Pagination'
},
};