import { SingleSelect, SelectMenuVariant, SelectMenuSize, } from '../../../SingleSelect' import { User, Settings } from 'lucide-react' const SingleSelectLightHouse = () => { const basicItems = [ { items: [ { label: 'Option 1', value: 'option1' }, { label: 'Option 2', value: 'option2' }, { label: 'Option 3', value: 'option3' }, ], }, ] const groupedItems = [ { groupLabel: 'Group 1', items: [ { label: 'Option 1', value: 'option1' }, { label: 'Option 2', value: 'option2' }, ], }, { groupLabel: 'Group 2', items: [ { label: 'Option 3', value: 'option3' }, { label: 'Option 4', value: 'option4' }, ], }, ] return ( <> {/* Basic SingleSelect - Container */} { console.log('Value changed:', value) }} items={basicItems} label="Basic SingleSelect" placeholder="Select an option" variant={SelectMenuVariant.CONTAINER} /> {/* Basic SingleSelect - No Container */} { console.log('Value changed:', value) }} items={basicItems} label="No Container SingleSelect" placeholder="Select an option" variant={SelectMenuVariant.NO_CONTAINER} /> {/* With Selected Value */} { console.log('Value changed:', value) }} items={basicItems} label="With Selection" placeholder="Select an option" variant={SelectMenuVariant.CONTAINER} /> {/* Small Size */} { console.log('Value changed:', value) }} items={basicItems} label="Small Size" placeholder="Select an option" size={SelectMenuSize.SMALL} variant={SelectMenuVariant.CONTAINER} /> {/* Medium Size */} { console.log('Value changed:', value) }} items={basicItems} label="Medium Size" placeholder="Select an option" size={SelectMenuSize.MEDIUM} variant={SelectMenuVariant.CONTAINER} /> {/* Large Size */} { console.log('Value changed:', value) }} items={basicItems} label="Large Size" placeholder="Select an option" size={SelectMenuSize.LARGE} variant={SelectMenuVariant.CONTAINER} /> {/* Disabled */} { console.log('Value changed:', value) }} items={basicItems} label="Disabled" placeholder="Select an option" disabled={true} variant={SelectMenuVariant.CONTAINER} /> {/* Required */} { console.log('Value changed:', value) }} items={basicItems} label="Required" placeholder="Select an option" required={true} variant={SelectMenuVariant.CONTAINER} /> {/* With Error */} { console.log('Value changed:', value) }} items={basicItems} label="With Error" placeholder="Select an option" error={true} errorMessage="Please select an option" variant={SelectMenuVariant.CONTAINER} /> {/* With Hint Text */} { console.log('Value changed:', value) }} items={basicItems} label="With Hint" placeholder="Select an option" hintText="Choose one option from the list" variant={SelectMenuVariant.CONTAINER} /> {/* With Sublabel */} { console.log('Value changed:', value) }} items={basicItems} label="With Sublabel" subLabel="Additional information" placeholder="Select an option" variant={SelectMenuVariant.CONTAINER} /> {/* With Slot */} { console.log('Value changed:', value) }} items={basicItems} label="With Slot" placeholder="Select an option" slot={} variant={SelectMenuVariant.CONTAINER} /> {/* With Grouped Items */} { console.log('Value changed:', value) }} items={groupedItems} label="Grouped Items" placeholder="Select an option" variant={SelectMenuVariant.CONTAINER} /> {/* With Search Disabled */} { console.log('Value changed:', value) }} items={basicItems} label="No Search" placeholder="Select an option" enableSearch={false} variant={SelectMenuVariant.CONTAINER} /> {/* With Custom Search Placeholder */} { console.log('Value changed:', value) }} items={basicItems} label="Custom Search" placeholder="Select an option" searchPlaceholder="Type to search..." variant={SelectMenuVariant.CONTAINER} /> {/* Full Width */} { console.log('Value changed:', value) }} items={basicItems} label="Full Width" placeholder="Select an option" fullWidth={true} variant={SelectMenuVariant.CONTAINER} /> {/* Inline */} { console.log('Value changed:', value) }} items={basicItems} label="Inline" placeholder="Select an option" inline={true} variant={SelectMenuVariant.NO_CONTAINER} /> {/* Complex Example */} { console.log('Value changed:', value) }} items={groupedItems} label="Complex SingleSelect" subLabel="Select one option" placeholder="Choose an option" hintText="Select from the options below" required={true} slot={} size={SelectMenuSize.MEDIUM} enableSearch={true} searchPlaceholder="Search options..." variant={SelectMenuVariant.CONTAINER} /> ) } export default SingleSelectLightHouse