// Mockup https://www.figma.com/design/zsq2ahat30acTnumyy9aqC/00.Small-System?node-id=1235-18127&m=dev import { html, nothing } from "lit"; import type { Meta, StoryObj } from "@storybook/web-components"; import { TemsInputPretab, type TemsInputPretabProps, } from "@components/forms/ui/tems-input-pretab"; import "~icons/heroicons-outline/selector"; const DEFAULT_INPUT_PRETAB_ICON = html``; const meta: Meta = { title: "components/forms/ui/tems-input-pretab", tags: ["autodocs", "!dev", "Atoms"], render: (args) => { new TemsInputPretab(); return html``; }, args: { label: undefined, size: undefined, icon: undefined, active: undefined, disabled: undefined, }, argTypes: { label: { control: "text" }, size: { control: "select", table: { defaultValue: { summary: "md" }, }, options: ["sm", "md", "lg"], }, icon: { control: { type: "select", labels: { undefined: "undefined", "[object Object]": "Sample icon" }, }, table: { defaultValue: { summary: undefined } }, options: [undefined, DEFAULT_INPUT_PRETAB_ICON], }, active: { control: "boolean" }, disabled: { control: "boolean" }, }, }; export default meta; export type TemsInputPretabStory = StoryObj; export const Default: TemsInputPretabStory = { args: { label: "Label", size: "md", icon: DEFAULT_INPUT_PRETAB_ICON, }, };