import { Cascader } from './cascader'; import { DemoStory } from '../../demo/demo-types'; export const cascaderDemo: DemoStory = { id: 'cascaderDemo', text: 'Cascader', args: { type: 'title', showCircle: false, }, argTypes: { type: { control: 'select', options: ['title', 'ellipsis'], }, showCircle: { control: 'boolean', }, }, render: (args: any) => { const css = { display: 'flex', flexDirection: 'column', gap: '32px', padding: '32px', maxWidth: '600px', margin: '0 auto', '.demo-section': { border: '1px solid var(--secondary-border-color)', borderRadius: '8px', overflow: 'hidden', backgroundColor: 'var(--primary-bg-color)', }, '.section-label': { padding: '16px', backgroundColor: 'var(--secondary-bg-color)', borderBottom: '1px solid var(--secondary-border-color)', fontSize: '14px', fontWeight: 'bold', color: 'var(--secondary-color)', }, }; return (

This section is dynamic!

Current Type: {args.type}

Show Circle: {args.showCircle ? 'Yes' : 'No'}

Username: Admin

Your privacy is important to us.

Additional details for the ellipsis item.

); }, code: `import { Cascader } from 'lupine.components/component-pool';

Content goes here...

Expanded content

`, };