// Mockup https://www.figma.com/design/zsq2ahat30acTnumyy9aqC/00.Small-System?node-id=1235-18186&m=dev import { html, nothing } from "lit"; import type { Meta, StoryObj } from "@storybook/web-components"; import { TemsInputPosttab, type TemsInputPosttabProps, } from "@components/forms/ui/tems-input-posttab"; import "~icons/heroicons-outline/selector"; const DEFAULT_INPUT_POSTTAB_ICON = html``; const meta: Meta = { title: "components/forms/ui/tems-input-posttab", tags: ["autodocs", "!dev", "Atoms"], render: (args) => { new TemsInputPosttab(); return html``; }, args: { size: undefined, icon: undefined, active: undefined, disabled: undefined, }, argTypes: { 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_POSTTAB_ICON], }, active: { control: "boolean" }, disabled: { control: "boolean" }, }, }; export default meta; export type TemsInputPosttabStory = StoryObj; export const Default: TemsInputPosttabStory = { args: { size: "md", icon: DEFAULT_INPUT_POSTTAB_ICON, }, };