import type { Meta, StoryObj } from '@storybook/react-vite'; import { IconChevronDown, IconGitFork, IconZoomIn, IconZoomOut, } from '@tabler/icons-react'; import { type ComponentMatrixCellProps, Story } from './_internal/Story'; import { Badge } from './Badge'; import { Button } from './Button'; import { Group } from './Group'; import { Input } from './Input'; import { Popover } from './Popover'; const meta = { component: Group, parameters: { layout: 'fullscreen', }, title: 'components/Group', } satisfies Meta; export default meta; type StoryDefinition = StoryObj; const STATE_COLUMNS = [ { key: 'default', label: 'Default' }, { key: 'disabled', label: 'Disabled' }, ]; const PATTERN_ROWS = [ { description: 'Icon buttons stacked vertically', key: 'vertical', label: 'Vertical', }, { description: 'Action button with popover trigger', key: 'with-popup', label: 'With popup', }, { description: 'Adjacent inputs with separator', key: 'two-inputs', label: 'Two inputs', }, ]; function GroupMatrixCell({ column, row }: ComponentMatrixCellProps) { const disabled = column.key === 'disabled'; if (row.key === 'vertical') { return ( ); } if (row.key === 'with-popup') { return ( Existing forks You do not have any forks of this repository. ); } return ( ); } export const All: StoryDefinition = { render: () => ( ), };