{
	"schema": 1,
	"package": "@limerdev/zest",
	"version": "0.0.0-development",
	"summary": "Svelte 5 components for Limer's internal and admin apps, built on Bits UI and styled with Tailwind 4. Every component maps to a Bits UI component of the same name, with the same parts and props. A component with parts is a namespace with Bits UI's parts (`<Dialog.Root>`, `<Dialog.Content>`, and its prop types: `Dialog.ContentProps`); a component of one part is imported by name (`<Button>`). Parts draw the common case when given no children, and triggers take Button props (`<Dialog.Trigger variant=\"outline\">`). Conventions: `bind:open` / `bind:value`, `ref`, `class` merged over the defaults, and the `child` snippet to render a part as your own element.",
	"rules": [
		"Import components only from `@limerdev/zest`. Never import `bits-ui` (or shadcn-svelte) directly; if a component is missing, ask for it in Zest.",
		"Use only the components listed here, with the props listed for each part. Every part also takes `class` (merged over its defaults), `ref` (bindable: the element), `children`, and `child` (a snippet that renders your own element, with `props` to spread on it).",
		"Style with the theme as Tailwind classes: surfaces `bg-base-100`/`200`/`300` with `text-base-content`; `text-muted` for secondary text; `bg-primary text-primary-content` (also `secondary`, `accent`, `neutral`, `info`, `success`, `warning`, `error`); `border-border`, `border-input`, `text-link`, `bg-hover`; corners `rounded-selector`/`rounded-field`/`rounded-box`; heights `h-field`, `h-field-sm`, `h-field-lg`. Never hard-code colours. There is no `bg-background`, `text-muted-foreground`, `bg-accent` hover or `destructive` colour. Variants use the same role names: `<Button variant=\"error\">`, `<Badge variant=\"primary\">`, `<DropdownMenu.Item variant=\"error\">`.",
		"Themes: `data-theme=\"zest-light\"`, `\"zest-dark\"` or an app theme on `<html>` (or any element); without it the page follows the OS. Do not add `dark:` classes: a theme carries its own mode.",
		"Setup, in the app stylesheet: `@import \"tailwindcss\"; @import \"@limerdev/zest/theme.css\";` (the theme makes Tailwind scan Zest's components itself).",
		"Forms: put every labelled control in a `Field.Root` with a `Field.Label` (and `Field.Description`, `Field.Error`). The Field wires them: never set `id`, `for`, `aria-describedby` or `aria-invalid` by hand inside one.",
		"Dates: the calendars and date fields take `DateValue`s. Import date helpers (`today`, `getLocalTimeZone`, `CalendarDate` …) from `@limerdev/zest/date`, never from `@internationalized/date`: a date from a second copy of the library is a different class to the components.",
		"Language: set the locale and the text Zest shows itself (close buttons, \"No results found.\") once, in a `<Config defaultLocale=\"sv-SE\" strings={{ … }}>` in the root layout, not on each component.",
		"Icons: `@lucide/svelte`, one import per icon (`import Trash from '@lucide/svelte/icons/trash'`), with `aria-hidden=\"true\"` beside text; an icon-only button needs an `aria-label`.",
		"Layers: something of the app's own that floats takes `z-overlay` (a modal and its backdrop), `z-popover` (floating content, which can open inside a modal) or `z-toast`, never a numbered `z-50`."
	],
	"theme": {
		"contract": [
			{
				"description": "Surfaces, from the page (100) to recessed areas (300), and the text on them.",
				"variables": [
					"--color-base-100",
					"--color-base-200",
					"--color-base-300",
					"--color-base-content"
				]
			},
			{
				"description": "Roles; each -content colour is the text on it.",
				"variables": [
					"--color-primary",
					"--color-primary-content",
					"--color-secondary",
					"--color-secondary-content",
					"--color-accent",
					"--color-accent-content",
					"--color-neutral",
					"--color-neutral-content",
					"--color-info",
					"--color-info-content",
					"--color-success",
					"--color-success-content",
					"--color-warning",
					"--color-warning-content",
					"--color-error",
					"--color-error-content"
				]
			},
			{
				"description": "Shape: corners of small controls (checkbox, badge), fields (button, input) and boxes (dialog, card); base sizes of controls and fields; border width; shadows on (1) or off (0); grain on filled buttons on (1) or off (0).",
				"variables": [
					"--radius-selector",
					"--radius-field",
					"--radius-box",
					"--size-selector",
					"--size-field",
					"--border",
					"--depth",
					"--noise"
				]
			}
		],
		"themes": [
			{
				"name": "zest-light",
				"colorScheme": "light",
				"values": {
					"--color-base-100": "#f2f2f3",
					"--color-base-200": "#e9e9ea",
					"--color-base-300": "#dcdcdd",
					"--color-base-content": "#1d1f20",
					"--color-primary": "#e79363",
					"--color-primary-content": "#1a1d2b",
					"--color-secondary": "#dfe0e3",
					"--color-secondary-content": "#1d1f20",
					"--color-accent": "#3f6f9a",
					"--color-accent-content": "#f2f2f3",
					"--color-neutral": "#1d1f20",
					"--color-neutral-content": "#f2f2f3",
					"--color-info": "#3f6f9a",
					"--color-info-content": "#f2f2f3",
					"--color-success": "#3a7346",
					"--color-success-content": "#f2f2f3",
					"--color-warning": "#8a5a00",
					"--color-warning-content": "#f2f2f3",
					"--color-error": "#c92e3b",
					"--color-error-content": "#f2f2f3",
					"--radius-selector": "0.25rem",
					"--radius-field": "0.4rem",
					"--radius-box": "0.5rem",
					"--size-selector": "0.25rem",
					"--size-field": "0.225rem",
					"--border": "1px",
					"--depth": "0",
					"--noise": "0"
				}
			},
			{
				"name": "zest-dark",
				"colorScheme": "dark",
				"values": {
					"--color-base-100": "#1a1d2b",
					"--color-base-200": "#161926",
					"--color-base-300": "#11131d",
					"--color-base-content": "#eef0f2",
					"--color-primary": "#e79363",
					"--color-primary-content": "#1a1d2b",
					"--color-secondary": "#2a2f45",
					"--color-secondary-content": "#eef0f2",
					"--color-accent": "#8fb6d9",
					"--color-accent-content": "#1a1d2b",
					"--color-neutral": "#0b0d14",
					"--color-neutral-content": "#eef0f2",
					"--color-info": "#8fb6d9",
					"--color-info-content": "#1a1d2b",
					"--color-success": "#8cc79a",
					"--color-success-content": "#1a1d2b",
					"--color-warning": "#f2c46b",
					"--color-warning-content": "#1a1d2b",
					"--color-error": "#ea6a6a",
					"--color-error-content": "#1a1d2b",
					"--radius-selector": "0.25rem",
					"--radius-field": "0.4rem",
					"--radius-box": "0.5rem",
					"--size-selector": "0.25rem",
					"--size-field": "0.225rem",
					"--border": "1px",
					"--depth": "0",
					"--noise": "0"
				}
			}
		],
		"tokens": [
			{
				"name": "--color-base-100",
				"kind": "color",
				"key": "base-100",
				"value": "var(--color-base-100)",
				"derived": false
			},
			{
				"name": "--color-base-200",
				"kind": "color",
				"key": "base-200",
				"value": "var(--color-base-200)",
				"derived": false
			},
			{
				"name": "--color-base-300",
				"kind": "color",
				"key": "base-300",
				"value": "var(--color-base-300)",
				"derived": false
			},
			{
				"name": "--color-base-content",
				"kind": "color",
				"key": "base-content",
				"value": "var(--color-base-content)",
				"derived": false
			},
			{
				"name": "--color-primary",
				"kind": "color",
				"key": "primary",
				"value": "var(--color-primary)",
				"derived": false
			},
			{
				"name": "--color-primary-content",
				"kind": "color",
				"key": "primary-content",
				"value": "var(--color-primary-content)",
				"derived": false
			},
			{
				"name": "--color-secondary",
				"kind": "color",
				"key": "secondary",
				"value": "var(--color-secondary)",
				"derived": false
			},
			{
				"name": "--color-secondary-content",
				"kind": "color",
				"key": "secondary-content",
				"value": "var(--color-secondary-content)",
				"derived": false
			},
			{
				"name": "--color-accent",
				"kind": "color",
				"key": "accent",
				"value": "var(--color-accent)",
				"derived": false
			},
			{
				"name": "--color-accent-content",
				"kind": "color",
				"key": "accent-content",
				"value": "var(--color-accent-content)",
				"derived": false
			},
			{
				"name": "--color-neutral",
				"kind": "color",
				"key": "neutral",
				"value": "var(--color-neutral)",
				"derived": false
			},
			{
				"name": "--color-neutral-content",
				"kind": "color",
				"key": "neutral-content",
				"value": "var(--color-neutral-content)",
				"derived": false
			},
			{
				"name": "--color-info",
				"kind": "color",
				"key": "info",
				"value": "var(--color-info)",
				"derived": false
			},
			{
				"name": "--color-info-content",
				"kind": "color",
				"key": "info-content",
				"value": "var(--color-info-content)",
				"derived": false
			},
			{
				"name": "--color-success",
				"kind": "color",
				"key": "success",
				"value": "var(--color-success)",
				"derived": false
			},
			{
				"name": "--color-success-content",
				"kind": "color",
				"key": "success-content",
				"value": "var(--color-success-content)",
				"derived": false
			},
			{
				"name": "--color-warning",
				"kind": "color",
				"key": "warning",
				"value": "var(--color-warning)",
				"derived": false
			},
			{
				"name": "--color-warning-content",
				"kind": "color",
				"key": "warning-content",
				"value": "var(--color-warning-content)",
				"derived": false
			},
			{
				"name": "--color-error",
				"kind": "color",
				"key": "error",
				"value": "var(--color-error)",
				"derived": false
			},
			{
				"name": "--color-error-content",
				"kind": "color",
				"key": "error-content",
				"value": "var(--color-error-content)",
				"derived": false
			},
			{
				"name": "--radius-selector",
				"kind": "radius",
				"key": "selector",
				"value": "var(--radius-selector)",
				"derived": false
			},
			{
				"name": "--radius-field",
				"kind": "radius",
				"key": "field",
				"value": "var(--radius-field)",
				"derived": false
			},
			{
				"name": "--radius-box",
				"kind": "radius",
				"key": "box",
				"value": "var(--radius-box)",
				"derived": false
			},
			{
				"name": "--spacing-field",
				"kind": "spacing",
				"key": "field",
				"value": "calc(var(--size-field) * 10)",
				"derived": true
			},
			{
				"name": "--spacing-field-sm",
				"kind": "spacing",
				"key": "field-sm",
				"value": "calc(var(--size-field) * 8.5)",
				"derived": true
			},
			{
				"name": "--spacing-field-lg",
				"kind": "spacing",
				"key": "field-lg",
				"value": "calc(var(--size-field) * 11.5)",
				"derived": true
			},
			{
				"name": "--spacing-selector",
				"kind": "spacing",
				"key": "selector",
				"value": "calc(var(--size-selector) * 4)",
				"derived": true
			},
			{
				"name": "--color-muted",
				"kind": "color",
				"key": "muted",
				"value": "color-mix(in oklab, var(--color-base-content) 72%, var(--color-base-100))",
				"derived": true
			},
			{
				"name": "--color-border",
				"kind": "color",
				"key": "border",
				"value": "color-mix(in oklab, var(--color-base-content) 18%, transparent)",
				"derived": true
			},
			{
				"name": "--color-input",
				"kind": "color",
				"key": "input",
				"value": "color-mix(in oklab, var(--color-base-content) 26%, transparent)",
				"derived": true
			},
			{
				"name": "--color-hover",
				"kind": "color",
				"key": "hover",
				"value": "color-mix(in oklab, var(--color-base-content) 7%, transparent)",
				"derived": true
			},
			{
				"name": "--color-link",
				"kind": "color",
				"key": "link",
				"value": "color-mix(in oklab, var(--color-primary) 55%, var(--color-base-content))",
				"derived": true
			},
			{
				"name": "--color-ring",
				"kind": "color",
				"key": "ring",
				"value": "color-mix(in oklab, var(--color-primary) 55%, var(--color-base-content))",
				"derived": true
			},
			{
				"name": "--color-backdrop",
				"kind": "color",
				"key": "backdrop",
				"value": "color-mix(in oklab, var(--color-neutral) 55%, transparent)",
				"derived": true
			},
			{
				"name": "--shadow-field",
				"kind": "shadow",
				"key": "field",
				"value": "0 1px 2px 0 color-mix(in oklab, var(--color-neutral) calc(var(--depth) * 12%), transparent)",
				"derived": true
			},
			{
				"name": "--shadow-box",
				"kind": "shadow",
				"key": "box",
				"value": "0 16px 32px -8px color-mix(in oklab, var(--color-neutral) 24%, transparent), 0 0 0 1px color-mix(in oklab, var(--color-neutral) 6%, transparent)",
				"derived": true
			}
		],
		"utilities": [
			{
				"name": "noise",
				"description": "Grain on a filled surface when the theme sets --noise: 1. At 0 the tile has no size, so nothing is drawn; a theme without --noise counts as 0."
			},
			{
				"name": "z-overlay",
				"description": "Layers, lowest first: a modal (Dialog, AlertDialog, Sheet) with its backdrop; floating content (popovers, menus, tooltips, selects), which can open inside a modal; toasts, which stay readable over both. An app's own fixed layers go below z-overlay, under 40."
			},
			{
				"name": "z-popover",
				"description": "Layers, lowest first: a modal (Dialog, AlertDialog, Sheet) with its backdrop; floating content (popovers, menus, tooltips, selects), which can open inside a modal; toasts, which stay readable over both. An app's own fixed layers go below z-overlay, under 40."
			},
			{
				"name": "z-toast",
				"description": "Layers, lowest first: a modal (Dialog, AlertDialog, Sheet) with its backdrop; floating content (popovers, menus, tooltips, selects), which can open inside a modal; toasts, which stay readable over both. An app's own fixed layers go below z-overlay, under 40."
			}
		]
	},
	"components": [
		{
			"name": "Accordion",
			"slug": "accordion",
			"summary": "Sections that open and close under their headings: `<Accordion.Root>` (`type=\"single\"` or `\"multiple\"`, `bind:value`) holds `Accordion.Item`s (`value`), each with an `Accordion.Trigger` (its heading, `level` 3 by default) and an `Accordion.Content`. Enter or Space toggles a section; arrow keys move between headings.",
			"category": "Data display",
			"bits": "Accordion",
			"use": "Long content people scan by heading and open as needed: FAQs, a settings page with many groups, details under a summary.",
			"avoid": "Content everyone needs, or that is short enough to show: don't hide it. Switching between views of the same thing: use `Tabs`. A single open/close section: use `Collapsible`.",
			"example": "<script lang=\"ts\">\n  import { Accordion } from '@limerdev/zest';\n</script>\n\n<Accordion.Root type=\"single\">\n  <Accordion.Item value=\"billing\">\n    <Accordion.Trigger>How is time billed?</Accordion.Trigger>\n    <Accordion.Content>Per started half hour, from approved weeks.</Accordion.Content>\n  </Accordion.Item>\n</Accordion.Root>",
			"importLine": "import { Accordion } from '@limerdev/zest'",
			"parts": [
				"Accordion.Root",
				"Accordion.Item",
				"Accordion.Trigger",
				"Accordion.Content"
			],
			"props": {
				"Accordion.Root": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether the accordion is disabled or not."
					},
					{
						"name": "loop",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "Whether to loop through the accordion items when navigating with the arrow keys."
					},
					{
						"name": "onValueChange",
						"type": "OnChangeFn<string> | OnChangeFn<string[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback function called when the value changes."
					},
					{
						"name": "orientation",
						"type": "\"horizontal\" | \"vertical\"",
						"default": "\"vertical\"",
						"bindable": false,
						"required": false,
						"description": "The orientation of the accordion."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "type",
						"type": "\"multiple\" | \"single\"",
						"default": "",
						"bindable": false,
						"required": true,
						"description": "The type of accordion. If set to `'multiple'`, the accordion will allow multiple items to be open at the same time. If set to `'single'`, the accordion will only allow a single item to be open."
					},
					{
						"name": "value",
						"type": "string | string[]",
						"default": "\"\"",
						"bindable": true,
						"required": false,
						"description": "The value of the currently open accordion item."
					}
				],
				"Accordion.Item": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether the accordion item is disabled, which prevents users from interacting with it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "value",
						"type": "string",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The value of the accordion item. This is used to identify if the item is open or closed. If not provided, a unique ID will be generated for this value."
					}
				],
				"Accordion.Trigger": [
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "level",
						"type": "1 | 2 | 3 | 4 | 5 | 6",
						"default": "3",
						"bindable": false,
						"required": false,
						"description": "The heading level the trigger sits in, to fit the page's outline."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Accordion.Content": [
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "forceMount",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "Whether to forcefully mount the content, regardless of the open state. This is useful if you want to use Svelte transitions for the content."
					},
					{
						"name": "hiddenUntilFound",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether to allow the browser to expand the content when searching for content within the panel via the browser's built-in search functionality. When `true`, this prop will override the `forceMount` prop."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				]
			},
			"examples": [
				{
					"slug": "01-faq",
					"title": "Faq",
					"description": "type=\"single\" keeps one section open; collapsible lets it close again.",
					"code": "<script lang=\"ts\">\n\timport { Accordion } from '@limerdev/zest';\n\n\ttype Question = { value: string; question: string; answer: string };\n\n\tconst questions: Question[] = [\n\t\t{\n\t\t\tvalue: 'billing',\n\t\t\tquestion: 'How is time billed?',\n\t\t\tanswer: 'Per started half hour, from approved weeks only.'\n\t\t},\n\t\t{\n\t\t\tvalue: 'approval',\n\t\t\tquestion: 'Who approves a week?',\n\t\t\tanswer: \"The project lead, or the account's owner when there is none.\"\n\t\t},\n\t\t{\n\t\t\tvalue: 'late',\n\t\t\tquestion: 'Can I change an approved week?',\n\t\t\tanswer: 'Ask the approver to reopen it; the invoice updates when it is approved again.'\n\t\t}\n\t];\n</script>\n\n<Accordion.Root type=\"single\" class=\"w-full max-w-md\">\n\t{#each questions as item (item.value)}\n\t\t<Accordion.Item value={item.value}>\n\t\t\t<Accordion.Trigger>{item.question}</Accordion.Trigger>\n\t\t\t<Accordion.Content class=\"text-muted\">{item.answer}</Accordion.Content>\n\t\t</Accordion.Item>\n\t{/each}\n</Accordion.Root>"
				}
			]
		},
		{
			"name": "Alert",
			"slug": "alert",
			"summary": "A message in the page: `<Alert.Root>` (`variant`: `default`, `info`, `success`, `warning`, `error`) holds an optional icon first, an `Alert.Title` and an `Alert.Description`. The text stays readable on a tint of the status colour; the icon takes the colour. `warning` and `error` are `role=\"alert\"`, announced when they appear; the others `role=\"status\"`.",
			"category": "Feedback",
			"bits": "",
			"use": "A message about the page or a form that stays until the situation changes: a failed save, an overdue payment, a read-only record.",
			"avoid": "A passing confirmation (\"Saved\"): use a toast. A question that needs an answer: use `AlertDialog`. A field's error: use `Field.Error`.",
			"example": "<script lang=\"ts\">\n  import { Alert } from '@limerdev/zest';\n  import CircleAlert from '@lucide/svelte/icons/circle-alert';\n</script>\n\n<Alert.Root variant=\"error\">\n  <CircleAlert aria-hidden=\"true\" />\n  <Alert.Title>The invoice wasn't sent</Alert.Title>\n  <Alert.Description>The customer has no email address. Add one and send again.</Alert.Description>\n</Alert.Root>",
			"importLine": "import { Alert, alertVariants } from '@limerdev/zest'",
			"parts": [
				"Alert.Root",
				"Alert.Title",
				"Alert.Description",
				"alertVariants"
			],
			"props": {
				"Alert.Root": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "variant",
						"type": "\"error\" | \"default\" | \"info\" | \"success\" | \"warning\"",
						"default": "'default'",
						"bindable": false,
						"required": false,
						"description": "The kind of message, which sets its colour and its role (`alert` for `warning` and `error`, `status` for the rest)."
					}
				],
				"Alert.Title": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Alert.Description": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				]
			},
			"examples": [
				{
					"slug": "01-variants",
					"title": "Variants",
					"description": "An icon, a title and a description, in each variant.",
					"code": "<script lang=\"ts\">\n\timport { Alert } from '@limerdev/zest';\n\timport CircleAlert from '@lucide/svelte/icons/circle-alert';\n\timport CircleCheck from '@lucide/svelte/icons/circle-check';\n\timport Info from '@lucide/svelte/icons/info';\n\timport TriangleAlert from '@lucide/svelte/icons/triangle-alert';\n</script>\n\n<div class=\"grid w-full max-w-lg gap-3\">\n\t<Alert.Root>\n\t\t<Info aria-hidden=\"true\" />\n\t\t<Alert.Title>This invoice is read only</Alert.Title>\n\t\t<Alert.Description>It was sent on 3 November. Credit it to make changes.</Alert.Description>\n\t</Alert.Root>\n\t<Alert.Root variant=\"info\">\n\t\t<Info aria-hidden=\"true\" />\n\t\t<Alert.Title>Reminders go out on Mondays</Alert.Title>\n\t</Alert.Root>\n\t<Alert.Root variant=\"success\">\n\t\t<CircleCheck aria-hidden=\"true\" />\n\t\t<Alert.Title>Payment received</Alert.Title>\n\t\t<Alert.Description>4 200 kr from Acme AB on 12 November.</Alert.Description>\n\t</Alert.Root>\n\t<Alert.Root variant=\"warning\">\n\t\t<TriangleAlert aria-hidden=\"true\" />\n\t\t<Alert.Title>Due in two days</Alert.Title>\n\t</Alert.Root>\n\t<Alert.Root variant=\"error\">\n\t\t<CircleAlert aria-hidden=\"true\" />\n\t\t<Alert.Title>The invoice wasn't sent</Alert.Title>\n\t\t<Alert.Description>\n\t\t\tThe customer has no email address. <a href=\"#customer\">Add one</a> and send again.\n\t\t</Alert.Description>\n\t</Alert.Root>\n</div>"
				}
			]
		},
		{
			"name": "AlertDialog",
			"slug": "alert-dialog",
			"summary": "A dialog that asks for a decision before the user goes on, announced as an alertdialog: `<AlertDialog.Root>` holds an `AlertDialog.Trigger` and an `AlertDialog.Content` with a `Header` (`Title`, `Description`, optional `Media` icon) and a `Footer` with an `AlertDialog.Cancel` and an `AlertDialog.Action` (both styled as buttons: `variant`, `size`). Focus starts inside; a click outside doesn't close it; Escape and Cancel close it. Action does not close it by itself, so it can wait for the work to finish: set its `loading` while the work runs (a spinner; clicks are ignored) and `bind:open` to false when done.",
			"category": "Overlays",
			"bits": "AlertDialog",
			"use": "Confirming something that can't be undone: deleting, sending, discarding changes.",
			"avoid": "Content or forms the user can close without deciding: use `Dialog`. Confirming something easily undone: just do it and offer undo.",
			"example": "<script lang=\"ts\">\n  import { AlertDialog } from '@limerdev/zest';\n\n  let open = $state(false);\n  let deleting = $state(false);\n\n  async function remove(): Promise<void> {\n    deleting = true;\n    await deleteProject();\n    deleting = false;\n    open = false;\n  }\n</script>\n\n<AlertDialog.Root bind:open>\n  <AlertDialog.Trigger variant=\"error\">Delete project</AlertDialog.Trigger>\n  <AlertDialog.Content>\n    <AlertDialog.Header>\n      <AlertDialog.Title>Delete Zest?</AlertDialog.Title>\n      <AlertDialog.Description>Its 412 logged hours go with it.</AlertDialog.Description>\n    </AlertDialog.Header>\n    <AlertDialog.Footer>\n      <AlertDialog.Cancel>Cancel</AlertDialog.Cancel>\n      <AlertDialog.Action variant=\"error\" loading={deleting} onclick={remove}>\n        Delete\n      </AlertDialog.Action>\n    </AlertDialog.Footer>\n  </AlertDialog.Content>\n</AlertDialog.Root>",
			"importLine": "import { AlertDialog } from '@limerdev/zest'",
			"parts": [
				"AlertDialog.Root",
				"AlertDialog.Title",
				"AlertDialog.Action",
				"AlertDialog.Cancel",
				"AlertDialog.Portal",
				"AlertDialog.Footer",
				"AlertDialog.Header",
				"AlertDialog.Trigger",
				"AlertDialog.Overlay",
				"AlertDialog.Content",
				"AlertDialog.Description",
				"AlertDialog.Media"
			],
			"props": {
				"AlertDialog.Root": [
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "onOpenChange",
						"type": "OnChangeFn<boolean>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback that is called when the popover's open state changes."
					},
					{
						"name": "onOpenChangeComplete",
						"type": "OnChangeFn<boolean>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback called when the dialog finishes opening/closing animations."
					},
					{
						"name": "open",
						"type": "boolean",
						"default": "false",
						"bindable": true,
						"required": false,
						"description": "The open state of the dialog."
					}
				],
				"AlertDialog.Title": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "level",
						"type": "1 | 2 | 3 | 4 | 5 | 6",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The heading level of the dialog title."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"AlertDialog.Action": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "loading",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Waiting for the work the action started: a spinner shows, it is marked busy and unavailable, and clicks do nothing. It keeps keyboard focus, unlike `disabled`."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "size",
						"type": "\"default\" | \"sm\" | \"lg\" | \"icon\" | \"icon-sm\" | \"icon-lg\"",
						"default": "'default'",
						"bindable": false,
						"required": false,
						"description": "The height and padding, from the theme's field size; the `icon` sizes are square."
					},
					{
						"name": "variant",
						"type": "\"link\" | \"primary\" | \"secondary\" | \"neutral\" | \"error\" | \"outline\" | \"ghost\"",
						"default": "'primary'",
						"bindable": false,
						"required": false,
						"description": "The look, by the theme's colour roles: `primary` for the main action, `error` for deleting, `secondary`, `neutral` and `outline` for the rest, `ghost` in toolbars, `link` for a navigation that looks like text."
					}
				],
				"AlertDialog.Cancel": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "size",
						"type": "\"default\" | \"sm\" | \"lg\" | \"icon\" | \"icon-sm\" | \"icon-lg\"",
						"default": "'default'",
						"bindable": false,
						"required": false,
						"description": "The height and padding, from the theme's field size; the `icon` sizes are square."
					},
					{
						"name": "variant",
						"type": "\"link\" | \"primary\" | \"secondary\" | \"neutral\" | \"error\" | \"outline\" | \"ghost\"",
						"default": "'outline'",
						"bindable": false,
						"required": false,
						"description": "The look, by the theme's colour roles: `primary` for the main action, `error` for deleting, `secondary`, `neutral` and `outline` for the rest, `ghost` in toolbars, `link` for a navigation that looks like text."
					}
				],
				"AlertDialog.Portal": [
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The children content to render within the portal."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Disable portalling and render the component inline"
					},
					{
						"name": "to",
						"type": "PortalTarget",
						"default": "document.body",
						"bindable": false,
						"required": false,
						"description": "Where to portal the content to."
					}
				],
				"AlertDialog.Footer": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"AlertDialog.Header": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"AlertDialog.Trigger": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "size",
						"type": "\"default\" | \"sm\" | \"lg\" | \"icon\" | \"icon-sm\" | \"icon-lg\"",
						"default": "'default'",
						"bindable": false,
						"required": false,
						"description": "The height and padding, from the theme's field size; the `icon` sizes are square."
					},
					{
						"name": "variant",
						"type": "\"link\" | \"primary\" | \"secondary\" | \"neutral\" | \"error\" | \"outline\" | \"ghost\"",
						"default": "'primary'",
						"bindable": false,
						"required": false,
						"description": "The look, by the theme's colour roles: `primary` for the main action, `error` for deleting, `secondary`, `neutral` and `outline` for the rest, `ghost` in toolbars, `link` for a navigation that looks like text."
					}
				],
				"AlertDialog.Overlay": [
					{
						"name": "child",
						"type": "Snippet<[DialogOverlaySnippetProps & { props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[DialogOverlaySnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "forceMount",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Whether to force mount the component."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"AlertDialog.Content": [
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "escapeKeydownBehavior",
						"type": "\"close\" | \"defer-otherwise-close\" | \"defer-otherwise-ignore\" | \"ignore\"",
						"default": "close",
						"bindable": false,
						"required": false,
						"description": "Escape behavior type. `close`: Closes the element immediately. `defer-otherwise-close`: Delegates the action to its parent component that has an escape keydown handler. If no parent is found, it closes the element. `defer-otherwise-ignore`: Delegates the action to the parent element. If no parent is found, nothing is done. `ignore`: Prevents the element from closing and also blocks the parent element from closing in response to an escape key press."
					},
					{
						"name": "forceMount",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Whether to force mount the component."
					},
					{
						"name": "interactOutsideBehavior",
						"type": "\"close\" | \"defer-otherwise-close\" | \"defer-otherwise-ignore\" | \"ignore\"",
						"default": "close",
						"bindable": false,
						"required": false,
						"description": "Interact outside behavior type. `close`: Closes the element immediately. `defer-otherwise-close`: Delegates the action to the parent element. If no parent is found, it closes the element. `defer-otherwise-ignore`: Delegates the action to the parent element. If no parent is found, nothing is done. `ignore`: Prevents the element from closing and also blocks the parent element from closing in response to an outside interaction."
					},
					{
						"name": "onCloseAutoFocus",
						"type": "EventCallback",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Event handler called when auto-focusing on close. Can be prevented."
					},
					{
						"name": "onEscapeKeydown",
						"type": "((e: KeyboardEvent) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fired when escape is pressed."
					},
					{
						"name": "onFocusOutside",
						"type": "((event: FocusEvent) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fired when focus leaves the dismissible layer."
					},
					{
						"name": "onInteractOutside",
						"type": "InteractOutsideEventHandler",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fired when an outside interaction event completes, which is either a `pointerup`, `mouseup`, or `touchend` event, depending on the user's input device."
					},
					{
						"name": "onOpenAutoFocus",
						"type": "EventCallback",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Event handler called when auto-focusing on open. Can be prevented."
					},
					{
						"name": "portalProps",
						"type": "PortalProps",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Props for the portal the content renders in: `to` (the element to render in, the body by default) and `disabled` (render in place)."
					},
					{
						"name": "preventBodyPointerEvents",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "Whether to set `pointer-events: none` on the `<body>` while the dialog is open. When `false` and a `Dialog.Overlay` is rendered, the overlay blocks pointer interaction with the page instead, which avoids restyling every element on the page when the dialog opens and closes. Without an overlay, the body is still blocked. Elements stacked above the overlay that aren't part of the dialog (toasts, a header with a higher `z-index`) receive pointer events when this is `false`."
					},
					{
						"name": "preventOverflowTextSelection",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "Passing `true` will prevent the overflow of text selection outside the element, provided the element is the top layer."
					},
					{
						"name": "preventScroll",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "Whether to prevent body scrolling when the content is open."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "restoreScrollDelay",
						"type": "number | null",
						"default": "null",
						"bindable": false,
						"required": false,
						"description": "The delay in milliseconds before the scrollbar is restored after closing the dialog. This is only applicable when using the `child` snippet for custom transitions and `preventScroll` is `true`. You should set this to a value greater than the transition duration to prevent content from shifting during the transition."
					},
					{
						"name": "size",
						"type": "\"default\" | \"sm\"",
						"default": "'default'",
						"bindable": false,
						"required": false,
						"description": "The dialog's width: `default`, or `sm` for a short question."
					},
					{
						"name": "trapFocus",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether focus is trapped within the focus scope."
					}
				],
				"AlertDialog.Description": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"AlertDialog.Media": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				]
			},
			"examples": [
				{
					"slug": "01-confirm",
					"title": "Confirm",
					"description": "Confirm what can't be undone. A click outside doesn't close it; Escape cancels. Action doesn't close it by itself: it shows loading while the work runs, then bind:open closes it.",
					"code": "<script lang=\"ts\">\n\timport Trash from '@lucide/svelte/icons/trash-2';\n\timport { AlertDialog } from '@limerdev/zest';\n\n\tlet open = $state(false);\n\tlet deleted = $state(false);\n\tlet deleting = $state(false);\n\n\tasync function remove(): Promise<void> {\n\t\tdeleting = true;\n\t\tawait new Promise((resolve) => setTimeout(resolve, 600));\n\t\tdeleting = false;\n\t\tdeleted = true;\n\t\topen = false;\n\t}\n</script>\n\n<AlertDialog.Root bind:open>\n\t<AlertDialog.Trigger variant=\"error\" disabled={deleted}>\n\t\t{deleted ? 'Deleted' : 'Delete project'}\n\t</AlertDialog.Trigger>\n\t<AlertDialog.Content>\n\t\t<AlertDialog.Header>\n\t\t\t<AlertDialog.Media class=\"text-error\"><Trash /></AlertDialog.Media>\n\t\t\t<AlertDialog.Title>Delete Zest?</AlertDialog.Title>\n\t\t\t<AlertDialog.Description>\n\t\t\t\tIts 412 logged hours and 3 invoices go with it. This can't be undone.\n\t\t\t</AlertDialog.Description>\n\t\t</AlertDialog.Header>\n\t\t<AlertDialog.Footer>\n\t\t\t<AlertDialog.Cancel>Keep it</AlertDialog.Cancel>\n\t\t\t<AlertDialog.Action variant=\"error\" loading={deleting} onclick={remove}>\n\t\t\t\tDelete project\n\t\t\t</AlertDialog.Action>\n\t\t</AlertDialog.Footer>\n\t</AlertDialog.Content>\n</AlertDialog.Root>"
				}
			]
		},
		{
			"name": "AspectRatio",
			"slug": "aspect-ratio",
			"summary": "Keeps its content at a width-to-height `ratio` (`16 / 9`, `1`, `4 / 3`) as its width changes, so images and embeds don't shift the page while they load.",
			"category": "Layout",
			"bits": "AspectRatio",
			"use": "Images, video and map embeds in a fluid layout.",
			"avoid": "Plain media with known width and height attributes: the browser keeps their ratio already.",
			"example": "<script lang=\"ts\">\n  import { AspectRatio } from '@limerdev/zest';\n</script>\n\n<AspectRatio ratio={16 / 9} class=\"overflow-hidden rounded-box bg-base-200\">\n  <img src=\"/office.jpg\" alt=\"The Limer office\" class=\"size-full object-cover\" />\n</AspectRatio>",
			"importLine": "import { AspectRatio } from '@limerdev/zest'",
			"parts": [
				"AspectRatio"
			],
			"props": {
				"AspectRatio": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ratio",
						"type": "number",
						"default": "1",
						"bindable": false,
						"required": false,
						"description": "The aspect ratio of the image."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				]
			},
			"examples": [
				{
					"slug": "01-basic",
					"title": "Basic",
					"description": "The box keeps 16:9 as the page narrows.",
					"code": "<script lang=\"ts\">\n\timport { AspectRatio } from '@limerdev/zest';\n</script>\n\n<div class=\"w-full max-w-md\">\n\t<AspectRatio\n\t\tratio={16 / 9}\n\t\tclass=\"grid place-content-center rounded-box bg-base-300 text-sm text-muted\"\n\t>\n\t\t16 : 9\n\t</AspectRatio>\n</div>"
				}
			]
		},
		{
			"name": "Avatar",
			"slug": "avatar",
			"summary": "A person's picture or initials: `<Avatar.Root>` (`size` `sm`, `default`, `lg`) holds an `Avatar.Image` (`src`, `alt`) and an `Avatar.Fallback` shown while it loads or when it fails. `Avatar.Badge` marks a status; `Avatar.Group` overlaps several, with an `Avatar.GroupCount` for the rest.",
			"category": "Data display",
			"bits": "Avatar",
			"use": "Showing who: the person signed in, a row's owner, the people on a project.",
			"avoid": "An avatar as a person's only name: show the name too, or give the image `alt`. Decorative pictures: use a plain `<img>`.",
			"example": "<script lang=\"ts\">\n  import { Avatar } from '@limerdev/zest';\n</script>\n\n<Avatar.Root>\n  <Avatar.Image src=\"/people/anna.jpg\" alt=\"Anna Berg\" />\n  <Avatar.Fallback>AB</Avatar.Fallback>\n</Avatar.Root>",
			"importLine": "import { Avatar } from '@limerdev/zest'",
			"parts": [
				"Avatar.Root",
				"Avatar.Image",
				"Avatar.Fallback",
				"Avatar.Badge",
				"Avatar.Group",
				"Avatar.GroupCount"
			],
			"props": {
				"Avatar.Root": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "delayMs",
						"type": "number",
						"default": "0",
						"bindable": false,
						"required": false,
						"description": "The delay in milliseconds to wait before showing the avatar once the image has loaded. This can be used to prevent sudden flickering of the image if it loads quickly."
					},
					{
						"name": "loadingStatus",
						"type": "\"error\" | \"loading\" | \"loaded\"",
						"default": "'loading'",
						"bindable": true,
						"required": false,
						"description": "The loading status of the image. If you are confident that the image exists and will load successfully, you can set this to `\"loaded\"` to skip the loading process (which shows the fallback) and immediately show the image."
					},
					{
						"name": "onLoadingStatusChange",
						"type": "OnChangeFn<AvatarImageLoadingStatus>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback invoked when the loading status of the image changes."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "size",
						"type": "\"default\" | \"sm\" | \"lg\"",
						"default": "'default'",
						"bindable": false,
						"required": false,
						"description": "The avatar's size: `sm` (24px), `default` (32px) or `lg` (40px)."
					}
				],
				"Avatar.Image": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Avatar.Fallback": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Avatar.Badge": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Avatar.Group": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Avatar.GroupCount": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				]
			},
			"examples": [
				{
					"slug": "01-basic",
					"title": "Basic",
					"description": "Initials show until the picture loads, or when it can't.",
					"code": "<script lang=\"ts\">\n\timport { Avatar } from '@limerdev/zest';\n</script>\n\n<Avatar.Root size=\"sm\">\n\t<Avatar.Fallback>AB</Avatar.Fallback>\n</Avatar.Root>\n<Avatar.Root>\n\t<Avatar.Image src=\"/missing.png\" alt=\"Anna Berg\" />\n\t<Avatar.Fallback>AB</Avatar.Fallback>\n</Avatar.Root>\n<Avatar.Root size=\"lg\">\n\t<Avatar.Fallback>EL</Avatar.Fallback>\n\t<Avatar.Badge />\n</Avatar.Root>"
				},
				{
					"slug": "02-group",
					"title": "Group",
					"description": "A group overlaps avatars; GroupCount stands in for the rest.",
					"code": "<script lang=\"ts\">\n\timport { Avatar } from '@limerdev/zest';\n\n\tconst people: string[] = ['AB', 'EL', 'MK', 'SJ'];\n</script>\n\n<Avatar.Group>\n\t{#each people as initials (initials)}\n\t\t<Avatar.Root>\n\t\t\t<Avatar.Fallback>{initials}</Avatar.Fallback>\n\t\t</Avatar.Root>\n\t{/each}\n\t<Avatar.GroupCount>+8</Avatar.GroupCount>\n</Avatar.Group>"
				}
			]
		},
		{
			"name": "Badge",
			"slug": "badge",
			"summary": "A short label for a status, a category or a count: `<Badge>` with a `variant` colour (`primary`, `secondary`, `neutral`, `outline`, or a status: `info`, `success`, `warning`, `error`). An icon before the text is sized for it. With the `child` snippet it renders a link or another element.",
			"category": "Data display",
			"bits": "",
			"use": "An invoice's status in a table row, a role beside a name, a count beside a tab.",
			"avoid": "Something to click that does an action: use `Button` (`size=\"sm\"`). A long message: use `Alert`. Colour alone for meaning: the text must say it.",
			"example": "<script lang=\"ts\">\n  import { Badge } from '@limerdev/zest';\n</script>\n\n<Badge variant=\"success\">Paid</Badge>\n<Badge variant=\"warning\">Due soon</Badge>\n<Badge variant=\"outline\">Draft</Badge>",
			"importLine": "import { Badge, badgeVariants } from '@limerdev/zest'",
			"parts": [
				"Badge",
				"badgeVariants"
			],
			"props": {
				"Badge": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "variant",
						"type": "\"primary\" | \"secondary\" | \"neutral\" | \"error\" | \"outline\" | \"info\" | \"success\" | \"warning\"",
						"default": "'primary'",
						"bindable": false,
						"required": false,
						"description": "The colour: `primary`, `secondary`, `neutral`, `outline`, or a status (`info`, `success`, `warning`, `error`)."
					}
				]
			},
			"examples": [
				{
					"slug": "01-variants",
					"title": "Variants",
					"description": "The variants: primary by default, the other theme colours and the statuses.",
					"code": "<script lang=\"ts\">\n\timport { Badge } from '@limerdev/zest';\n</script>\n\n<div class=\"flex flex-wrap gap-2\">\n\t<Badge>New</Badge>\n\t<Badge variant=\"secondary\">Secondary</Badge>\n\t<Badge variant=\"neutral\">Neutral</Badge>\n\t<Badge variant=\"outline\">Draft</Badge>\n\t<Badge variant=\"info\">Sent</Badge>\n\t<Badge variant=\"success\">Paid</Badge>\n\t<Badge variant=\"warning\">Due soon</Badge>\n\t<Badge variant=\"error\">Overdue</Badge>\n</div>"
				},
				{
					"slug": "02-icons-and-links",
					"title": "Icons and links",
					"description": "An icon before the text is sized for the badge; the child snippet makes it a link.",
					"code": "<script lang=\"ts\">\n\timport { Badge } from '@limerdev/zest';\n\timport BadgeCheck from '@lucide/svelte/icons/badge-check';\n</script>\n\n<div class=\"flex flex-wrap gap-2\">\n\t<Badge variant=\"success\"><BadgeCheck aria-hidden=\"true\" /> Verified</Badge>\n\t<Badge variant=\"outline\">\n\t\t{#snippet child({ props })}\n\t\t\t<a href=\"#invoices\" {...props}>12 invoices</a>\n\t\t{/snippet}\n\t</Badge>\n</div>"
				}
			]
		},
		{
			"name": "Breadcrumb",
			"slug": "breadcrumb",
			"summary": "The trail from the app's top to the page the user is on, each step a link back. Given `items` (`{ label, href }`), `<Breadcrumb.Root items={…} />` draws it: links, chevrons between them, and the last item as the current page (`aria-current=\"page\"`). Composed, a `Breadcrumb.List` holds `Breadcrumb.Item`s (each a `Breadcrumb.Link` or the `Breadcrumb.Current`) with a `Breadcrumb.Separator` between them; `Breadcrumb.Ellipsis` stands for steps left out of a long trail. The root is a navigation landmark named `label` (\"Breadcrumb\").",
			"category": "Navigation",
			"bits": "",
			"use": "The top of a page more than one level deep: Customers › Acme AB › Invoice 1042.",
			"avoid": "The app's main navigation: use `Sidebar` or `NavigationMenu`. Steps of a process (cart, shipping, payment): that is a stepper, not a trail. A one-level page: leave it out.",
			"example": "<script lang=\"ts\">\n  import { Breadcrumb } from '@limerdev/zest';\n</script>\n\n<Breadcrumb.Root\n  items={[\n    { label: 'Customers', href: '/customers' },\n    { label: 'Acme AB', href: '/customers/acme' },\n    { label: 'Invoice 1042' }\n  ]}\n/>",
			"importLine": "import { Breadcrumb } from '@limerdev/zest'",
			"parts": [
				"Breadcrumb.Root",
				"Breadcrumb.List",
				"Breadcrumb.Item",
				"Breadcrumb.Link",
				"Breadcrumb.Current",
				"Breadcrumb.Separator",
				"Breadcrumb.Ellipsis"
			],
			"props": {
				"Breadcrumb.Root": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "items",
						"type": "BreadcrumbEntry[]",
						"default": "[]",
						"bindable": false,
						"required": false,
						"description": "The trail, drawn when the root has no children: links, then the current page."
					},
					{
						"name": "label",
						"type": "string",
						"default": "the Config's `strings.breadcrumb`, else 'Breadcrumb'",
						"bindable": false,
						"required": false,
						"description": "The navigation landmark's name, for screen readers."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Breadcrumb.List": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Breadcrumb.Item": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Breadcrumb.Link": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Breadcrumb.Current": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Breadcrumb.Separator": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Breadcrumb.Ellipsis": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "label",
						"type": "string",
						"default": "the Config's `strings.morePages`, else 'More pages'",
						"bindable": false,
						"required": false,
						"description": "What the ellipsis stands for, for screen readers."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				]
			},
			"examples": [
				{
					"slug": "01-a-trail",
					"title": "A trail",
					"description": "Given items, the root draws the trail; the last item is the page the user is on.",
					"code": "<script lang=\"ts\">\n\timport { Breadcrumb } from '@limerdev/zest';\n</script>\n\n<Breadcrumb.Root\n\titems={[\n\t\t{ label: 'Customers', href: '#customers' },\n\t\t{ label: 'Acme AB', href: '#acme' },\n\t\t{ label: 'Invoice 1042' }\n\t]}\n/>"
				},
				{
					"slug": "02-a-long-trail",
					"title": "A long trail",
					"description": "Composed by hand: the middle steps fold into an ellipsis that opens a menu of them.",
					"code": "<script lang=\"ts\">\n\timport { Breadcrumb, DropdownMenu } from '@limerdev/zest';\n</script>\n\n<Breadcrumb.Root>\n\t<Breadcrumb.List>\n\t\t<Breadcrumb.Item>\n\t\t\t<Breadcrumb.Link href=\"#home\">Home</Breadcrumb.Link>\n\t\t</Breadcrumb.Item>\n\t\t<Breadcrumb.Separator />\n\t\t<Breadcrumb.Item>\n\t\t\t<DropdownMenu.Root>\n\t\t\t\t<DropdownMenu.Trigger variant=\"ghost\" size=\"icon-sm\">\n\t\t\t\t\t<Breadcrumb.Ellipsis />\n\t\t\t\t</DropdownMenu.Trigger>\n\t\t\t\t<DropdownMenu.Content align=\"start\">\n\t\t\t\t\t<DropdownMenu.Item>Customers</DropdownMenu.Item>\n\t\t\t\t\t<DropdownMenu.Item>Acme AB</DropdownMenu.Item>\n\t\t\t\t</DropdownMenu.Content>\n\t\t\t</DropdownMenu.Root>\n\t\t</Breadcrumb.Item>\n\t\t<Breadcrumb.Separator />\n\t\t<Breadcrumb.Item>\n\t\t\t<Breadcrumb.Link href=\"#invoices\">Invoices</Breadcrumb.Link>\n\t\t</Breadcrumb.Item>\n\t\t<Breadcrumb.Separator />\n\t\t<Breadcrumb.Item>\n\t\t\t<Breadcrumb.Current>Invoice 1042</Breadcrumb.Current>\n\t\t</Breadcrumb.Item>\n\t</Breadcrumb.List>\n</Breadcrumb.Root>"
				}
			]
		},
		{
			"name": "Button",
			"slug": "button",
			"summary": "A button, or a link styled as one when it has `href`. `loading` shows a spinner while the action it started runs: the button keeps focus, is marked busy and ignores clicks.",
			"category": "Actions",
			"bits": "Button",
			"use": "Actions: submitting a form, opening a dialog, a toolbar command. With `href`, a navigation that should look like an action.",
			"avoid": "A `<div>` or `<span>` with `onclick`. A Button without text: give an icon-only button `aria-label`. `variant=\"link\"` for in-text links: use a plain `<a>`. `disabled` while an action runs: use `loading`, which keeps focus on the button.",
			"example": "<script lang=\"ts\">\n  import { Button } from '@limerdev/zest';\n</script>\n\n<Button onclick={save} loading={saving}>Save</Button>\n<Button variant=\"outline\" size=\"sm\" href=\"/orders\">All orders</Button>",
			"importLine": "import { Button, buttonVariants } from '@limerdev/zest'",
			"parts": [
				"Button",
				"buttonVariants"
			],
			"props": {
				"Button": [
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "disabled",
						"type": "null | false | true",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": ""
					},
					{
						"name": "href",
						"type": "string | null",
						"default": "undefined",
						"bindable": false,
						"required": false,
						"description": ""
					},
					{
						"name": "loading",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Waiting for the action it started: a spinner shows (in place of the icon of an `icon`-size button), it is marked busy and unavailable, and clicks do nothing. Unlike `disabled`, it keeps keyboard focus."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "size",
						"type": "\"default\" | \"sm\" | \"lg\" | \"icon\" | \"icon-sm\" | \"icon-lg\"",
						"default": "'default'",
						"bindable": false,
						"required": false,
						"description": "The height and padding, from the theme's field size; the `icon` sizes are square."
					},
					{
						"name": "type",
						"type": "null | \"button\" | \"submit\" | \"reset\"",
						"default": "'button'",
						"bindable": false,
						"required": false,
						"description": ""
					},
					{
						"name": "variant",
						"type": "\"link\" | \"primary\" | \"secondary\" | \"neutral\" | \"error\" | \"outline\" | \"ghost\"",
						"default": "'primary'",
						"bindable": false,
						"required": false,
						"description": "The look, by the theme's colour roles: `primary` for the main action, `error` for deleting, `secondary`, `neutral` and `outline` for the rest, `ghost` in toolbars, `link` for a navigation that looks like text."
					}
				]
			},
			"examples": [
				{
					"slug": "01-variants",
					"title": "Variants",
					"description": "The variants, by the theme's colour roles: primary for the main action, error for deleting, secondary, neutral and outline for the rest, ghost in toolbars, link for a navigation that looks like text.",
					"code": "<script lang=\"ts\">\n\timport { Button } from '@limerdev/zest';\n</script>\n\n<Button>Save</Button>\n<Button variant=\"error\">Delete</Button>\n<Button variant=\"outline\">Cancel</Button>\n<Button variant=\"secondary\">Duplicate</Button>\n<Button variant=\"neutral\">Export</Button>\n<Button variant=\"ghost\">Archive</Button>\n<Button variant=\"link\">Details</Button>"
				},
				{
					"slug": "02-sizes",
					"title": "Sizes",
					"description": "sm, default and lg follow the theme's field size; the icon sizes are square. Give an icon-only button an aria-label.",
					"code": "<script lang=\"ts\">\n\timport Plus from '@lucide/svelte/icons/plus';\n\timport { Button } from '@limerdev/zest';\n</script>\n\n<Button size=\"sm\">Small</Button>\n<Button>Default</Button>\n<Button size=\"lg\">Large</Button>\n<Button size=\"icon-sm\" variant=\"outline\" aria-label=\"Add\"><Plus /></Button>\n<Button size=\"icon\" variant=\"outline\" aria-label=\"Add\"><Plus /></Button>\n<Button size=\"icon-lg\" variant=\"outline\" aria-label=\"Add\"><Plus /></Button>"
				},
				{
					"slug": "03-with-an-icon",
					"title": "With an icon",
					"description": "An icon before the text gets a little less padding.",
					"code": "<script lang=\"ts\">\n\timport Plus from '@lucide/svelte/icons/plus';\n\timport Download from '@lucide/svelte/icons/download';\n\timport { Button } from '@limerdev/zest';\n</script>\n\n<Button><Plus /> New order</Button>\n<Button variant=\"outline\"><Download /> Export</Button>"
				},
				{
					"slug": "04-link-and-disabled",
					"title": "Link and disabled",
					"description": "With href the button is a link. A disabled link loses its href and leaves the tab order.",
					"code": "<script lang=\"ts\">\n\timport { Button } from '@limerdev/zest';\n</script>\n\n<Button href=\"#orders\" variant=\"secondary\">All orders</Button>\n<Button disabled>Disabled</Button>\n<Button href=\"#orders\" disabled variant=\"outline\">Disabled link</Button>"
				},
				{
					"slug": "05-loading",
					"title": "Loading",
					"description": "loading shows a spinner while the action runs: the button keeps focus, is marked busy, and ignores clicks until it is done.",
					"code": "<script lang=\"ts\">\n\timport RefreshCw from '@lucide/svelte/icons/refresh-cw';\n\timport { Button } from '@limerdev/zest';\n\n\tlet saving = $state(false);\n\n\tfunction save(): void {\n\t\tsaving = true;\n\t\tsetTimeout(() => (saving = false), 1500);\n\t}\n</script>\n\n<Button loading={saving} onclick={save}>{saving ? 'Saving…' : 'Save'}</Button>\n<Button size=\"icon\" variant=\"outline\" aria-label=\"Refresh\" loading={saving} onclick={save}>\n\t<RefreshCw />\n</Button>"
				}
			]
		},
		{
			"name": "ButtonGroup",
			"slug": "button-group",
			"summary": "Buttons joined into one control. `<ButtonGroup.Root>` (`orientation`: `horizontal` or `vertical`) holds `Button`s, triggers, an `Input`, a `ButtonGroup.Text` (a label or unit in a box) and `ButtonGroup.Separator`s, and joins them: square inner corners, one border between neighbours. It is a `group`; name it with `aria-label`. Groups inside a group keep a gap.",
			"category": "Actions",
			"bits": "",
			"use": "A split button (an action and a menu of its variants), a pager (Previous, Next), a zoom control, a toolbar segment, an input with its action.",
			"avoid": "Choosing one of several options: use `ToggleGroup`. A row of unrelated actions: put `Button`s side by side with a gap. Tabs between views: use `Tabs`.",
			"example": "<script lang=\"ts\">\n  import { Button, ButtonGroup, DropdownMenu } from '@limerdev/zest';\n  import ChevronDown from '@lucide/svelte/icons/chevron-down';\n</script>\n\n<ButtonGroup.Root aria-label=\"Send invoice\">\n  <Button onclick={send}>Send</Button>\n  <ButtonGroup.Separator />\n  <DropdownMenu.Root>\n    <DropdownMenu.Trigger size=\"icon\" aria-label=\"More ways to send\"><ChevronDown /></DropdownMenu.Trigger>\n    <DropdownMenu.Content align=\"end\">\n      <DropdownMenu.Item onSelect={schedule}>Schedule</DropdownMenu.Item>\n    </DropdownMenu.Content>\n  </DropdownMenu.Root>\n</ButtonGroup.Root>",
			"importLine": "import { ButtonGroup } from '@limerdev/zest'",
			"parts": [
				"ButtonGroup.Root",
				"ButtonGroup.Text",
				"ButtonGroup.Separator"
			],
			"props": {
				"ButtonGroup.Root": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "orientation",
						"type": "\"horizontal\" | \"vertical\"",
						"default": "'horizontal'",
						"bindable": false,
						"required": false,
						"description": "Which way the buttons run: side by side, or stacked."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"ButtonGroup.Text": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"ButtonGroup.Separator": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "decorative",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "Whether the separator is decorative and should be hidden from assistive technologies."
					},
					{
						"name": "orientation",
						"type": "\"horizontal\" | \"vertical\"",
						"default": "'vertical'",
						"bindable": false,
						"required": false,
						"description": "The orientation of the separator."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				]
			},
			"examples": [
				{
					"slug": "01-split-button",
					"title": "Split button",
					"description": "A split button: the action, and a menu of its other ways.",
					"code": "<script lang=\"ts\">\n\timport { Button, ButtonGroup, DropdownMenu } from '@limerdev/zest';\n\timport ChevronDownIcon from '@lucide/svelte/icons/chevron-down';\n</script>\n\n<ButtonGroup.Root aria-label=\"Send invoice\">\n\t<Button>Send</Button>\n\t<ButtonGroup.Separator />\n\t<DropdownMenu.Root>\n\t\t<DropdownMenu.Trigger size=\"icon\" aria-label=\"More ways to send\">\n\t\t\t<ChevronDownIcon aria-hidden=\"true\" />\n\t\t</DropdownMenu.Trigger>\n\t\t<DropdownMenu.Content align=\"end\">\n\t\t\t<DropdownMenu.Item>Schedule</DropdownMenu.Item>\n\t\t\t<DropdownMenu.Item>Send a copy to me</DropdownMenu.Item>\n\t\t</DropdownMenu.Content>\n\t</DropdownMenu.Root>\n</ButtonGroup.Root>"
				},
				{
					"slug": "02-pager",
					"title": "Pager",
					"description": "Outline buttons with ButtonGroup.Text between them: one border between neighbours.",
					"code": "<script lang=\"ts\">\n\timport { Button, ButtonGroup } from '@limerdev/zest';\n\timport ChevronLeftIcon from '@lucide/svelte/icons/chevron-left';\n\timport ChevronRightIcon from '@lucide/svelte/icons/chevron-right';\n\n\tlet current: number = $state(2);\n\tconst last: number = 5;\n</script>\n\n<ButtonGroup.Root aria-label=\"Pages\">\n\t<Button\n\t\tvariant=\"outline\"\n\t\tsize=\"icon\"\n\t\taria-label=\"Previous page\"\n\t\tdisabled={current === 1}\n\t\tonclick={() => current--}\n\t>\n\t\t<ChevronLeftIcon aria-hidden=\"true\" />\n\t</Button>\n\t<ButtonGroup.Text>Page {current} of {last}</ButtonGroup.Text>\n\t<Button\n\t\tvariant=\"outline\"\n\t\tsize=\"icon\"\n\t\taria-label=\"Next page\"\n\t\tdisabled={current === last}\n\t\tonclick={() => current++}\n\t>\n\t\t<ChevronRightIcon aria-hidden=\"true\" />\n\t</Button>\n</ButtonGroup.Root>"
				},
				{
					"slug": "03-with-input",
					"title": "With input",
					"description": "An Input and its action, joined. Groups inside a group keep a gap.",
					"code": "<script lang=\"ts\">\n\timport { Button, ButtonGroup, Input } from '@limerdev/zest';\n\timport PlusIcon from '@lucide/svelte/icons/plus';\n\timport MinusIcon from '@lucide/svelte/icons/minus';\n</script>\n\n<ButtonGroup.Root aria-label=\"Invite and zoom\">\n\t<ButtonGroup.Root aria-label=\"Invite\">\n\t\t<Input aria-label=\"Email\" type=\"email\" placeholder=\"name@example.com\" class=\"w-56\" />\n\t\t<Button variant=\"outline\">Invite</Button>\n\t</ButtonGroup.Root>\n\t<ButtonGroup.Root aria-label=\"Zoom\">\n\t\t<Button variant=\"outline\" size=\"icon\" aria-label=\"Zoom out\">\n\t\t\t<MinusIcon aria-hidden=\"true\" />\n\t\t</Button>\n\t\t<Button variant=\"outline\" size=\"icon\" aria-label=\"Zoom in\">\n\t\t\t<PlusIcon aria-hidden=\"true\" />\n\t\t</Button>\n\t</ButtonGroup.Root>\n</ButtonGroup.Root>"
				},
				{
					"slug": "04-vertical",
					"title": "Vertical",
					"description": "orientation=\"vertical\" stacks the buttons.",
					"code": "<script lang=\"ts\">\n\timport { Button, ButtonGroup } from '@limerdev/zest';\n</script>\n\n<ButtonGroup.Root orientation=\"vertical\" aria-label=\"Align\">\n\t<Button variant=\"outline\">Top</Button>\n\t<Button variant=\"outline\">Middle</Button>\n\t<Button variant=\"outline\">Bottom</Button>\n</ButtonGroup.Root>"
				}
			]
		},
		{
			"name": "Calendar",
			"slug": "calendar",
			"summary": "A month calendar to pick a date: `type=\"single\"` binds a `DateValue` (a `CalendarDate` from `@limerdev/zest/date`, all of `@internationalized/date`), `type=\"multiple\"` a `DateValue[]`. `minValue`, `maxValue`, `isDateDisabled`, `isDateUnavailable`, `numberOfMonths`, `weekStartsOn`, `locale`. With no children it draws the header and month grids; the parts (`Header`, `Heading`, `PrevButton`, `NextButton`, `Months`, `Grid`, `GridHead`, `GridBody`, `GridRow`, `HeadCell`, `Cell`, `Day`) are there for custom layouts. Arrow keys move between days, Page Up and Down between months, Enter or Space picks.",
			"category": "Data input",
			"bits": "Calendar",
			"use": "Picking a date where seeing the month helps: a deadline, an absence day, a delivery date. In a form, `DatePicker` puts it in a popover.",
			"avoid": "A date people know and type (a birth date): use `DateField`. A range of dates: use `RangeCalendar`.",
			"example": "<script lang=\"ts\">\n  import { Calendar, today, getLocalTimeZone, type DateValue } from '@limerdev/zest';\n\n  let date: DateValue | undefined = $state(today(getLocalTimeZone()));\n</script>\n\n<Calendar.Root type=\"single\" bind:value={date} class=\"rounded-box border border-border\" />",
			"importLine": "import { Calendar } from '@limerdev/zest'",
			"parts": [
				"Calendar.Root",
				"Calendar.Header",
				"Calendar.Heading",
				"Calendar.PrevButton",
				"Calendar.NextButton",
				"Calendar.Months",
				"Calendar.Grid",
				"Calendar.GridHead",
				"Calendar.GridBody",
				"Calendar.GridRow",
				"Calendar.HeadCell",
				"Calendar.Cell",
				"Calendar.Day"
			],
			"props": {
				"Calendar.Root": [
					{
						"name": "calendarLabel",
						"type": "string",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "This label is exclusively used for accessibility, remaining hidden from the page. It's read by screen readers when the calendar is opened. The current month and year are automatically appended to the label, so you only need to provide the base label. For instance: - 'Date of birth' will be read as 'Date of birth, January 2021' if the current month is January 2021. - 'Appointment date' will be read as 'Appointment date, January 2021' if the current month is January 2021. - 'Booking date' will be read as 'Booking date, January 2021' if the current month is January 2021."
					},
					{
						"name": "child",
						"type": "Snippet<[CalendarRootSnippetProps & { props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[CalendarRootSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether or not the calendar is disabled."
					},
					{
						"name": "disableDaysOutsideMonth",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether to disable the selection of days outside the current month. By default, days outside the current month are rendered to fill the calendar grid, but they are not selectable. Setting this prop to `true` will disable this behavior."
					},
					{
						"name": "fixedWeeks",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Display 6 weeks per month, regardless the month's number of weeks. This is useful for displaying a consistent calendar, where the size of the calendar doesn't change month to month. To display 6 weeks per month, you will need to render out the previous and next month's dates in the calendar as well."
					},
					{
						"name": "initialFocus",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "If `true`, the calendar will focus the selected day, today, or the first day of the month in that order depending on what is visible when the calendar is mounted."
					},
					{
						"name": "isDateDisabled",
						"type": "DateMatcher",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A function that receives a date and returns `true` or `false` to indicate whether the date is disabled."
					},
					{
						"name": "isDateUnavailable",
						"type": "DateMatcher",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Dates matching the provided matchers are marked as \"unavailable.\" Unlike disabled dates, users can still focus and select unavailable dates. However, selecting an unavailable date renders the date picker as invalid. For example, in a calendar for booking appointments, you might mark already booked dates as unavailable. These dates could become available again before the appointment date, allowing users to select them to learn more about the appointment. `[data-unavailable]` - applied to unavailable dates"
					},
					{
						"name": "locale",
						"type": "string",
						"default": "'en'",
						"bindable": false,
						"required": false,
						"description": "The default locale setting."
					},
					{
						"name": "maxDays",
						"type": "number",
						"default": "undefined",
						"bindable": false,
						"required": false,
						"description": "The maximum number of days that can be selected in multiple mode. When set, users cannot select more dates than this number."
					},
					{
						"name": "maxValue",
						"type": "DateValue",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The maximum date that can be selected in the calendar."
					},
					{
						"name": "minValue",
						"type": "DateValue",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The minimum date that can be selected in the calendar."
					},
					{
						"name": "monthFormat",
						"type": "\"numeric\" | \"long\" | \"short\" | \"narrow\" | \"2-digit\" | ((month: number) => string)",
						"default": "\"long\"",
						"bindable": false,
						"required": false,
						"description": "The format of the month names in the calendar."
					},
					{
						"name": "numberOfMonths",
						"type": "number",
						"default": "1",
						"bindable": false,
						"required": false,
						"description": "Determines the number of months to display on the calendar simultaneously. For navigation between months, refer to the `pagedNavigation` prop."
					},
					{
						"name": "onPlaceholderChange",
						"type": "OnChangeFn<DateValue>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback function called when the placeholder value changes."
					},
					{
						"name": "onValueChange",
						"type": "OnChangeFn<DateValue | undefined> | OnChangeFn<DateValue[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback function called when the value changes."
					},
					{
						"name": "pagedNavigation",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Applicable only when `numberOfMonths` is greater than 1. Controls whether to use paged navigation for the next and previous buttons in the date picker. With paged navigation set to `true`, clicking the next/prev buttons changes all months in view. When set to `false`, it shifts the view by a single month. For example, with `pagedNavigation` set to `true` and 2 months displayed (January and February), clicking the next button changes the view to March and April. If `pagedNavigation` is `false`, the view shifts to February and March."
					},
					{
						"name": "placeholder",
						"type": "DateValue",
						"default": "the current date",
						"bindable": true,
						"required": false,
						"description": "The placeholder date, used to control the view of the calendar when no value is present."
					},
					{
						"name": "preventDeselect",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether or not users can deselect a date once selected without selecting another date."
					},
					{
						"name": "readonly",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether the calendar is readonly. When true, the user will be able to focus and navigate the calendar, but will not be able to select dates."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "type",
						"type": "\"multiple\" | \"single\"",
						"default": "",
						"bindable": false,
						"required": true,
						"description": "The type of calendar. If set to `'single'`, the calendar will only allow a single date to be selected. If set to `'multiple'`, the calendar will allow multiple dates to be selected."
					},
					{
						"name": "value",
						"type": "DateValue | DateValue[]",
						"default": "",
						"bindable": true,
						"required": false,
						"description": "The value of the selected date in the calendar. The value of the selected dates in the calendar."
					},
					{
						"name": "weekdayFormat",
						"type": "\"long\" | \"short\" | \"narrow\"",
						"default": "'short'",
						"bindable": false,
						"required": false,
						"description": "How the string representation of the weekdays provided via the `weekdays` state store should be formatted. ```md - \"long\": \"Sunday\", \"Monday\", \"Tuesday\", etc. - \"short\": \"Sun\", \"Mon\", \"Tue\", etc. - \"narrow\": \"S\", \"M\", \"T\", etc. ```"
					},
					{
						"name": "weekStartsOn",
						"type": "0 | 1 | 2 | 3 | 4 | 5 | 6",
						"default": "0 (Sunday)",
						"bindable": false,
						"required": false,
						"description": "The day of the week to start the calendar on, which must be a number between 0 and 6, where 0 is Sunday and 6 is Saturday."
					},
					{
						"name": "yearFormat",
						"type": "\"numeric\" | \"2-digit\" | ((year: number) => string)",
						"default": "\"numeric\"",
						"bindable": false,
						"required": false,
						"description": "The format of the year names in the calendar."
					}
				],
				"Calendar.Header": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Calendar.Heading": [
					{
						"name": "child",
						"type": "Snippet<[CalendarHeadingSnippetProps & { props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[CalendarHeadingSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Calendar.PrevButton": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Calendar.NextButton": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Calendar.Months": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Calendar.Grid": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Calendar.GridHead": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Calendar.GridBody": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Calendar.GridRow": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Calendar.HeadCell": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Calendar.Cell": [
					{
						"name": "child",
						"type": "Snippet<[CalendarCellSnippetProps & { props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[CalendarCellSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "date",
						"type": "DateValue",
						"default": "",
						"bindable": false,
						"required": true,
						"description": "The date value of the cell."
					},
					{
						"name": "month",
						"type": "DateValue",
						"default": "",
						"bindable": false,
						"required": true,
						"description": "The month DateValue that this cell is being rendered in."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Calendar.Day": [
					{
						"name": "child",
						"type": "Snippet<[CalendarDaySnippetProps & { props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[CalendarDaySnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				]
			},
			"examples": [
				{
					"slug": "01-basic",
					"title": "Basic",
					"description": "A single date. Arrow keys move between days, Page Up and Down between months.",
					"code": "<script lang=\"ts\">\n\timport { Calendar, getLocalTimeZone, today, type DateValue } from '@limerdev/zest';\n\n\tlet date: DateValue | undefined = $state(today(getLocalTimeZone()));\n</script>\n\n<div class=\"grid justify-items-center gap-2\">\n\t<Calendar.Root\n\t\ttype=\"single\"\n\t\tbind:value={date}\n\t\tclass=\"rounded-box border-(length:--border) border-border bg-base-100 shadow-field\"\n\t/>\n\t<p class=\"text-sm text-muted\">Picked: {date?.toString() ?? 'nothing'}</p>\n</div>"
				},
				{
					"slug": "02-two-months-and-limits",
					"title": "Two months and limits",
					"description": "numberOfMonths shows several; minValue and isDateUnavailable limit the choice. Date helpers such as isWeekend come from @limerdev/zest/date, all of @internationalized/date.",
					"code": "<script lang=\"ts\">\n\timport { Calendar } from '@limerdev/zest';\n\timport { getLocalTimeZone, isWeekend, today, type DateValue } from '@limerdev/zest/date';\n\n\tconst start = today(getLocalTimeZone());\n\tlet date: DateValue | undefined = $state();\n</script>\n\n<Calendar.Root\n\ttype=\"single\"\n\tbind:value={date}\n\tnumberOfMonths={2}\n\tminValue={start}\n\tisDateUnavailable={(value) => isWeekend(value, 'en-GB')}\n\tclass=\"rounded-box border-(length:--border) border-border bg-base-100 shadow-field\"\n/>"
				}
			]
		},
		{
			"name": "Card",
			"slug": "card",
			"summary": "A surface that groups related content: `<Card.Root>` holds an optional `Card.Figure` (an image that runs to the edges; `inset` pads it), a `Card.Header` (a `Card.Title` heading, at `level` 3 by default; a `Card.Description`; a `Card.Action` in the end corner), a `Card.Content` and a `Card.Footer`. `variant`: `default` (border and shadow), `outline`, `dash` (an empty or drop area), `soft` (a fill, no border). `size`: `sm`, `default`, `lg` (padding, gaps and title). `layout`: the figure above or below the text (`vertical`), beside it (`horizontal`, or `responsive` from the `md` breakpoint), or behind it with a scrim (`overlay`); beside or behind, the text goes in a `Card.Body`.",
			"category": "Layout",
			"bits": "",
			"use": "A block of a page about one thing: a customer's details, a summary figure, a settings section, an item in a grid, a product or article with its image.",
			"avoid": "Cards inside cards, or a card around a whole page: use spacing and `Separator`. A clickable card: put a link or button inside it instead of making the card the target.",
			"example": "<script lang=\"ts\">\n  import { Button, Card } from '@limerdev/zest';\n</script>\n\n<Card.Root class=\"w-80\">\n  <Card.Figure><img src=\"/office.jpg\" alt=\"\" /></Card.Figure>\n  <Card.Header>\n    <Card.Title>Acme AB</Card.Title>\n    <Card.Description>Customer since 2021</Card.Description>\n    <Card.Action><Button size=\"sm\" variant=\"outline\">Edit</Button></Card.Action>\n  </Card.Header>\n  <Card.Content>12 open invoices, 48 200 kr due.</Card.Content>\n  <Card.Footer class=\"justify-end\"><Button size=\"sm\">View invoices</Button></Card.Footer>\n</Card.Root>",
			"importLine": "import { Card, cardVariants } from '@limerdev/zest'",
			"parts": [
				"Card.Root",
				"Card.Figure",
				"Card.Body",
				"Card.Header",
				"Card.Title",
				"Card.Description",
				"Card.Action",
				"Card.Content",
				"Card.Footer",
				"cardVariants"
			],
			"props": {
				"Card.Root": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "layout",
						"type": "\"horizontal\" | \"vertical\" | \"responsive\" | \"overlay\"",
						"default": "'vertical'",
						"bindable": false,
						"required": false,
						"description": "Where a `Card.Figure` goes: above or below the text (`vertical`), beside it (`horizontal`), beside it from the `md` breakpoint (`responsive`), or behind it as the background (`overlay`). Beside or behind, put the text in a `Card.Body`."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "size",
						"type": "\"default\" | \"sm\" | \"lg\"",
						"default": "'default'",
						"bindable": false,
						"required": false,
						"description": "The padding, the gaps and the title's size."
					},
					{
						"name": "variant",
						"type": "\"outline\" | \"default\" | \"dash\" | \"soft\"",
						"default": "'default'",
						"bindable": false,
						"required": false,
						"description": "The look: a border and a shadow (`default`), a border only (`outline`), a dashed border (`dash`, for an empty or drop area), or a soft fill without a border (`soft`)."
					}
				],
				"Card.Figure": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "inset",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Pad the figure and round the image, instead of running it to the card's edges."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Card.Body": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Card.Header": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Card.Title": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "level",
						"type": "1 | 2 | 3 | 4 | 5 | 6",
						"default": "3",
						"bindable": false,
						"required": false,
						"description": "The heading level, for the page's outline."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Card.Description": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Card.Action": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Card.Content": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Card.Footer": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				]
			},
			"examples": [
				{
					"slug": "01-image",
					"title": "Image",
					"description": "A figure that runs to the card's edges, a header with a badge, and actions.",
					"code": "<script lang=\"ts\">\n\timport { Badge, Button, Card } from '@limerdev/zest';\n</script>\n\n<Card.Root class=\"w-80\">\n\t<Card.Figure class=\"h-40\"><img src=\"/examples/hills.svg\" alt=\"Hills at sunset\" /></Card.Figure>\n\t<Card.Header>\n\t\t<Card.Title>Autumn retreat</Card.Title>\n\t\t<Card.Description>14–16 October, Åre</Card.Description>\n\t\t<Card.Action><Badge variant=\"success\">Booked</Badge></Card.Action>\n\t</Card.Header>\n\t<Card.Content class=\"text-sm\">\n\t\tThree days, 24 people. The invoice goes out on 1 October.\n\t</Card.Content>\n\t<Card.Footer class=\"justify-end\">\n\t\t<Button size=\"sm\" variant=\"ghost\">Details</Button>\n\t\t<Button size=\"sm\">Send invoice</Button>\n\t</Card.Footer>\n</Card.Root>"
				},
				{
					"slug": "02-header-and-actions",
					"title": "Header and actions",
					"description": "No figure: a header with a title, description and an action; content; a footer.",
					"code": "<script lang=\"ts\">\n\timport { Button, Card } from '@limerdev/zest';\n</script>\n\n<Card.Root class=\"w-80\">\n\t<Card.Header>\n\t\t<Card.Title>Acme AB</Card.Title>\n\t\t<Card.Description>Customer since 2021</Card.Description>\n\t\t<Card.Action><Button size=\"sm\" variant=\"outline\">Edit</Button></Card.Action>\n\t</Card.Header>\n\t<Card.Content class=\"text-sm\">12 open invoices, 48 200 kr due.</Card.Content>\n\t<Card.Footer><Button size=\"sm\">View invoices</Button></Card.Footer>\n</Card.Root>"
				},
				{
					"slug": "03-variants",
					"title": "Variants",
					"description": "variant: a border and shadow (default), a border only, a dashed border, a soft fill.",
					"code": "<script lang=\"ts\">\n\timport { Card, type CardVariant } from '@limerdev/zest';\n\n\tconst variants: CardVariant[] = ['default', 'outline', 'dash', 'soft'];\n</script>\n\n<div class=\"grid w-full gap-4 sm:grid-cols-2\">\n\t{#each variants as variant (variant)}\n\t\t<Card.Root {variant}>\n\t\t\t<Card.Header>\n\t\t\t\t<Card.Title class=\"capitalize\">{variant}</Card.Title>\n\t\t\t\t<Card.Description>variant=\"{variant}\"</Card.Description>\n\t\t\t</Card.Header>\n\t\t</Card.Root>\n\t{/each}\n</div>"
				},
				{
					"slug": "04-sizes",
					"title": "Sizes",
					"description": "size: the padding, the gaps and the title.",
					"code": "<script lang=\"ts\">\n\timport { Card, type CardSize } from '@limerdev/zest';\n\n\tconst sizes: CardSize[] = ['sm', 'default', 'lg'];\n</script>\n\n<div class=\"flex flex-wrap items-start gap-4\">\n\t{#each sizes as size (size)}\n\t\t<Card.Root {size} class=\"w-60\">\n\t\t\t<Card.Header>\n\t\t\t\t<Card.Title>Size {size}</Card.Title>\n\t\t\t\t<Card.Description>size=\"{size}\"</Card.Description>\n\t\t\t</Card.Header>\n\t\t\t<Card.Content class=\"text-sm\">Padding and gaps follow the size.</Card.Content>\n\t\t</Card.Root>\n\t{/each}\n</div>"
				},
				{
					"slug": "05-side",
					"title": "Side",
					"description": "layout=\"horizontal\" puts the figure beside a Card.Body; \"responsive\" does so from md.",
					"code": "<script lang=\"ts\">\n\timport { Button, Card } from '@limerdev/zest';\n</script>\n\n<div class=\"grid w-full max-w-2xl gap-4\">\n\t<Card.Root layout=\"horizontal\">\n\t\t<Card.Figure><img src=\"/examples/lake.svg\" alt=\"A lake below mountains\" /></Card.Figure>\n\t\t<Card.Body>\n\t\t\t<Card.Header>\n\t\t\t\t<Card.Title>Lakeside office</Card.Title>\n\t\t\t\t<Card.Description>Room for 12, from 1 March</Card.Description>\n\t\t\t</Card.Header>\n\t\t\t<Card.Content class=\"text-sm\">Desks, two meeting rooms and a kitchen.</Card.Content>\n\t\t\t<Card.Footer class=\"justify-end\"><Button size=\"sm\">Book a visit</Button></Card.Footer>\n\t\t</Card.Body>\n\t</Card.Root>\n\t<Card.Root layout=\"responsive\" variant=\"outline\">\n\t\t<Card.Figure inset><img src=\"/examples/fields.svg\" alt=\"Green fields\" /></Card.Figure>\n\t\t<Card.Body>\n\t\t\t<Card.Header>\n\t\t\t\t<Card.Title>Inset figure</Card.Title>\n\t\t\t\t<Card.Description>Padded, with rounded corners; beside the text from md.</Card.Description>\n\t\t\t</Card.Header>\n\t\t</Card.Body>\n\t</Card.Root>\n</div>"
				},
				{
					"slug": "06-overlay",
					"title": "Overlay",
					"description": "layout=\"overlay\": the figure is the background, with a scrim behind the text.",
					"code": "<script lang=\"ts\">\n\timport { Button, Card } from '@limerdev/zest';\n</script>\n\n<Card.Root layout=\"overlay\" class=\"w-80\">\n\t<Card.Figure><img src=\"/examples/lake.svg\" alt=\"\" /></Card.Figure>\n\t<Card.Body>\n\t\t<Card.Header>\n\t\t\t<Card.Title>Spring kick-off</Card.Title>\n\t\t\t<Card.Description>The whole company, 3 April</Card.Description>\n\t\t</Card.Header>\n\t\t<Card.Footer><Button size=\"sm\">Sign up</Button></Card.Footer>\n\t</Card.Body>\n</Card.Root>"
				},
				{
					"slug": "07-figures",
					"title": "Figures",
					"description": "Summary figures in a grid of small cards: only a header and content.",
					"code": "<script lang=\"ts\">\n\timport { Badge, Card } from '@limerdev/zest';\n\n\ttype Figure = { label: string; value: string; change: string; up: boolean };\n\n\tconst figures: Figure[] = [\n\t\t{ label: 'Invoiced', value: '312 400 kr', change: '+12%', up: true },\n\t\t{ label: 'Paid', value: '264 900 kr', change: '+8%', up: true },\n\t\t{ label: 'Overdue', value: '18 300 kr', change: '−4%', up: false }\n\t];\n</script>\n\n<div class=\"grid w-full gap-4 sm:grid-cols-3\">\n\t{#each figures as figure (figure.label)}\n\t\t<Card.Root size=\"sm\">\n\t\t\t<Card.Header>\n\t\t\t\t<Card.Description>{figure.label}</Card.Description>\n\t\t\t\t<Card.Action>\n\t\t\t\t\t<Badge variant={figure.up ? 'success' : 'outline'}>{figure.change}</Badge>\n\t\t\t\t</Card.Action>\n\t\t\t</Card.Header>\n\t\t\t<Card.Content class=\"text-2xl font-semibold tabular-nums\">{figure.value}</Card.Content>\n\t\t</Card.Root>\n\t{/each}\n</div>"
				}
			]
		},
		{
			"name": "Checkbox",
			"slug": "checkbox",
			"summary": "A checkbox with `bind:checked`, and `bind:indeterminate` for a partly checked group. With `name` it submits with a form. Inside a `Field` it takes its id, label, description, error and disabled state from the Field; use `orientation=\"horizontal\"` to put the label beside it.",
			"category": "Data input",
			"bits": "Checkbox",
			"use": "An on/off choice that takes effect when a form is submitted, or one of several independent options.",
			"avoid": "A setting that applies at once: use `Switch`. Choosing one of several options: use `RadioGroup`. A Checkbox without a label.",
			"example": "<script lang=\"ts\">\n  import { Checkbox, Field } from '@limerdev/zest';\n\n  let billable = $state(true);\n</script>\n\n<Field.Root orientation=\"horizontal\">\n  <Checkbox bind:checked={billable} name=\"billable\" />\n  <Field.Label>Billable</Field.Label>\n</Field.Root>",
			"importLine": "import { Checkbox } from '@limerdev/zest'",
			"parts": [
				"Checkbox"
			],
			"props": {
				"Checkbox": [
					{
						"name": "checked",
						"type": "boolean",
						"default": "false",
						"bindable": true,
						"required": false,
						"description": "The checked state of the checkbox. It can be one of: - `true` for checked - `false` for unchecked"
					},
					{
						"name": "disabled",
						"type": "null | false | true",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether the checkbox is disabled."
					},
					{
						"name": "form",
						"type": "string",
						"default": "undefined",
						"bindable": false,
						"required": false,
						"description": "The id of the form to link the checkbox button and hidden input to."
					},
					{
						"name": "indeterminate",
						"type": "boolean",
						"default": "false",
						"bindable": true,
						"required": false,
						"description": "Whether the checkbox is in an indeterminate state or not."
					},
					{
						"name": "name",
						"type": "any",
						"default": "undefined",
						"bindable": false,
						"required": false,
						"description": "The name of the checkbox used in form submission. If not provided, the hidden input will not be rendered."
					},
					{
						"name": "onCheckedChange",
						"type": "OnChangeFn<boolean>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback function called when the checked state changes."
					},
					{
						"name": "onIndeterminateChange",
						"type": "OnChangeFn<boolean>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback function called when the indeterminate state changes."
					},
					{
						"name": "readonly",
						"type": "null | false | true",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether the checkbox is read only. If readonly, the checkbox will be focusable by the user, but will not be able to be checked/unchecked."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "required",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether the checkbox is required (for form validation)."
					},
					{
						"name": "value",
						"type": "string",
						"default": "undefined",
						"bindable": false,
						"required": false,
						"description": "The value of the checkbox used in form submission and to identify the checkbox when in a `Checkbox.Group`. If not provided while in a `Checkbox.Group`, the checkbox will use a random identifier."
					}
				]
			},
			"examples": [
				{
					"slug": "01-basic",
					"title": "Basic",
					"description": "Put a Checkbox and its label in a horizontal Field; clicking the label toggles it.",
					"code": "<script lang=\"ts\">\n\timport { Checkbox, Field } from '@limerdev/zest';\n\n\tlet billable = $state(true);\n</script>\n\n<Field.Root orientation=\"horizontal\" class=\"w-auto\">\n\t<Checkbox bind:checked={billable} name=\"billable\" />\n\t<Field.Label>Billable</Field.Label>\n</Field.Root>"
				},
				{
					"slug": "02-with-a-description",
					"title": "With a description",
					"description": "Field.Content stacks the label and its description beside the checkbox.",
					"code": "<script lang=\"ts\">\n\timport { Checkbox, Field } from '@limerdev/zest';\n</script>\n\n<Field.Root orientation=\"horizontal\" class=\"max-w-sm\">\n\t<Checkbox />\n\t<Field.Content>\n\t\t<Field.Label>Send a copy to the customer</Field.Label>\n\t\t<Field.Description>They get the invoice as a PDF the day it is sent.</Field.Description>\n\t</Field.Content>\n</Field.Root>"
				},
				{
					"slug": "03-select-all",
					"title": "Select all",
					"description": "indeterminate shows that only some of a group are checked.",
					"code": "<script lang=\"ts\">\n\timport { Checkbox, Field } from '@limerdev/zest';\n\n\ttype Day = { name: string; checked: boolean };\n\n\tlet days: Day[] = $state([\n\t\t{ name: 'Monday', checked: true },\n\t\t{ name: 'Tuesday', checked: false },\n\t\t{ name: 'Wednesday', checked: true }\n\t]);\n\tconst all = $derived(days.every((day) => day.checked));\n\tconst some = $derived(!all && days.some((day) => day.checked));\n\n\tfunction toggleAll(checked: boolean): void {\n\t\tfor (const day of days) day.checked = checked;\n\t}\n</script>\n\n<Field.Set>\n\t<Field.Legend variant=\"label\">Submit hours for</Field.Legend>\n\t<Field.Root orientation=\"horizontal\" class=\"w-auto\">\n\t\t<Checkbox checked={all} indeterminate={some} onCheckedChange={toggleAll} />\n\t\t<Field.Label>All days</Field.Label>\n\t</Field.Root>\n\t<div class=\"ms-6 grid gap-3\">\n\t\t{#each days as day (day.name)}\n\t\t\t<Field.Root orientation=\"horizontal\" class=\"w-auto\">\n\t\t\t\t<Checkbox bind:checked={day.checked} />\n\t\t\t\t<Field.Label>{day.name}</Field.Label>\n\t\t\t</Field.Root>\n\t\t{/each}\n\t</div>\n</Field.Set>"
				}
			]
		},
		{
			"name": "Collapsible",
			"slug": "collapsible",
			"summary": "One section that opens and closes: `<Collapsible.Root>` (`bind:open`) holds a `Collapsible.Trigger` (a button; render your own with the `child` snippet) and a `Collapsible.Content`, which slides open.",
			"category": "Layout",
			"bits": "Collapsible",
			"use": "Optional detail under something visible: advanced options in a form, the lines behind a total, older entries.",
			"avoid": "Several sections under headings: use `Accordion`. Content everyone needs: show it.",
			"example": "<script lang=\"ts\">\n  import { Collapsible } from '@limerdev/zest';\n</script>\n\n<Collapsible.Root>\n  <Collapsible.Trigger variant=\"ghost\" size=\"sm\">Advanced options</Collapsible.Trigger>\n  <Collapsible.Content>…</Collapsible.Content>\n</Collapsible.Root>",
			"importLine": "import { Collapsible } from '@limerdev/zest'",
			"parts": [
				"Collapsible.Root",
				"Collapsible.Trigger",
				"Collapsible.Content"
			],
			"props": {
				"Collapsible.Root": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether the collapsible is disabled."
					},
					{
						"name": "onOpenChange",
						"type": "OnChangeFn<boolean>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback function called when the open state changes."
					},
					{
						"name": "onOpenChangeComplete",
						"type": "OnChangeFn<boolean>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback function called when the open state changes complete."
					},
					{
						"name": "open",
						"type": "boolean",
						"default": "false",
						"bindable": true,
						"required": false,
						"description": "Whether the collapsible is open."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Collapsible.Trigger": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "size",
						"type": "\"default\" | \"sm\" | \"lg\" | \"icon\" | \"icon-sm\" | \"icon-lg\"",
						"default": "'default'",
						"bindable": false,
						"required": false,
						"description": "The height and padding, from the theme's field size; the `icon` sizes are square."
					},
					{
						"name": "variant",
						"type": "\"link\" | \"primary\" | \"secondary\" | \"neutral\" | \"error\" | \"outline\" | \"ghost\"",
						"default": "'primary'",
						"bindable": false,
						"required": false,
						"description": "The look, by the theme's colour roles: `primary` for the main action, `error` for deleting, `secondary`, `neutral` and `outline` for the rest, `ghost` in toolbars, `link` for a navigation that looks like text."
					}
				],
				"Collapsible.Content": [
					{
						"name": "child",
						"type": "Snippet<[CollapsibleContentSnippetProps & { props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "forceMount",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether to force mount the content to the DOM."
					},
					{
						"name": "hiddenUntilFound",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "Whether to allow the browser to expand the content when searching for content within the panel via the browser's built-in search functionality. When `true`, this prop will override the `forceMount` prop."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				]
			},
			"examples": [
				{
					"slug": "01-basic",
					"title": "Basic",
					"description": "Optional detail under a total. The trigger is your own Button through child.",
					"code": "<script lang=\"ts\">\n\timport ChevronsUpDown from '@lucide/svelte/icons/chevrons-up-down';\n\timport { Collapsible } from '@limerdev/zest';\n</script>\n\n<Collapsible.Root class=\"w-full max-w-sm\">\n\t<div class=\"flex items-center justify-between gap-4\">\n\t\t<p class=\"text-sm font-medium\">Invoice 1042 · 12 400 kr</p>\n\t\t<Collapsible.Trigger variant=\"ghost\" size=\"icon-sm\" aria-label=\"Show lines\">\n\t\t\t<ChevronsUpDown />\n\t\t</Collapsible.Trigger>\n\t</div>\n\t<Collapsible.Content>\n\t\t<ul class=\"mt-2 flex flex-col gap-1 text-sm text-muted\">\n\t\t\t<li>Development · 24 h · 9 600 kr</li>\n\t\t\t<li>Design · 7 h · 2 800 kr</li>\n\t\t</ul>\n\t</Collapsible.Content>\n</Collapsible.Root>"
				}
			]
		},
		{
			"name": "Combobox",
			"slug": "combobox",
			"summary": "A text input with a list of options, filtered as the user types: `<Combobox.Root>` (`type=\"single\"` or `\"multiple\"`, `bind:value`, `items`, `name`) holds a `Combobox.Input` (styled like `Input`, with a button that opens the list) and a `Combobox.Content`. Given `items`, `<Combobox.Content />` draws those whose label contains the typed text, or `emptyText` when none do. For your own filtering (a search on the server, say) or markup, give the content `Combobox.Item`s (`value`, `label`), optionally in `Combobox.Group`s with a `Combobox.GroupHeading`, and read the typed text from the input's `oninput`. Arrow keys move, Enter chooses, Escape closes. Inside a `Field` the input is labelled, described and marked invalid by the Field.",
			"category": "Data input",
			"bits": "Combobox",
			"use": "Choosing from a long list by typing: a customer, a project, a country.",
			"avoid": "A short list people don't need to search: use `Select`. Running commands: use `Command`.",
			"example": "<script lang=\"ts\">\n  import { Combobox, Field, type ComboboxOption } from '@limerdev/zest';\n\n  const customers: ComboboxOption[] = [\n    { value: 'acme', label: 'Acme AB' },\n    { value: 'globex', label: 'Globex' }\n  ];\n  let customer = $state('');\n</script>\n\n<Field.Root>\n  <Field.Label>Customer</Field.Label>\n  <Combobox.Root type=\"single\" bind:value={customer} items={customers}>\n    <Combobox.Input placeholder=\"Search\" />\n    <Combobox.Content emptyText=\"No customers found.\" />\n  </Combobox.Root>\n</Field.Root>",
			"importLine": "import { Combobox } from '@limerdev/zest'",
			"parts": [
				"Combobox.Root",
				"Combobox.Input",
				"Combobox.Trigger",
				"Combobox.Content",
				"Combobox.Item",
				"Combobox.Group",
				"Combobox.GroupHeading",
				"Combobox.Portal"
			],
			"props": {
				"Combobox.Root": [
					{
						"name": "allowDeselect",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Whether to allow the user to deselect an item by clicking on an already selected item. This is only applicable to `type=\"single\"` selects/comboboxes."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether the combobox is disabled."
					},
					{
						"name": "inputValue",
						"type": "string",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A read-only value that can be used to programmatically update the input value. This is useful for updating the displayed label/input when the value changes outside of Bits UI."
					},
					{
						"name": "items",
						"type": "{ value: string; label: string; disabled?: boolean | undefined; }[]",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Optionally provide an array of `value` and `label` pairs that will be used to match and trigger selection when the trigger is focused and a key is pressed while the content is closed. It's also used to handle form autofill. By providing this value, you enable selecting a value when the trigger is focused and a key is pressed without the content being open, similar to how a native `<select>` works. For this to work, you must The label is what the user will potentially search for via typeahead, and the value is what is set as the selected value when a typeahead match is found. We can't rely on the individual `Item` components to do this because they may not ever be mounted to do the DOM if using a conditional block with a Svelte transition or certain animation libraries. IMPORTANT: This functionality is only available for single-select listboxes."
					},
					{
						"name": "loop",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether or not the combobox menu should loop through the items when navigating with the keyboard."
					},
					{
						"name": "name",
						"type": "string",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The name to apply to the hidden input element for form submission. If not provided, a hidden input will not be rendered and the combobox will not be part of a form."
					},
					{
						"name": "onOpenChange",
						"type": "OnChangeFn<boolean>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback function called when the open state changes."
					},
					{
						"name": "onOpenChangeComplete",
						"type": "OnChangeFn<boolean>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback function called when the open state changes and the animation is complete."
					},
					{
						"name": "onValueChange",
						"type": "OnChangeFn<string> | OnChangeFn<string[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback function called when the value changes."
					},
					{
						"name": "open",
						"type": "boolean",
						"default": "false",
						"bindable": true,
						"required": false,
						"description": "Whether the combobox popover is open."
					},
					{
						"name": "required",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether the combobox is required (for form submission)."
					},
					{
						"name": "scrollAlignment",
						"type": "\"center\" | \"nearest\"",
						"default": "\"nearest\"",
						"bindable": false,
						"required": false,
						"description": "How to scroll the combobox items into view when navigating with the keyboard."
					},
					{
						"name": "type",
						"type": "\"multiple\" | \"single\"",
						"default": "",
						"bindable": false,
						"required": true,
						"description": "The type of combobox."
					},
					{
						"name": "value",
						"type": "string | string[]",
						"default": "",
						"bindable": true,
						"required": false,
						"description": "The value of the selected combobox item."
					}
				],
				"Combobox.Input": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "clearOnDeselect",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether to clear the input when the last item is deselected."
					},
					{
						"name": "defaultValue",
						"type": "string",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The default value of the input. This is not a reactive prop and is only used to populate the input when the combobox is first mounted if there is already a value set."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "triggerLabel",
						"type": "string",
						"default": "the Config's `strings.showOptions`, else 'Show options'",
						"bindable": false,
						"required": false,
						"description": "The name of the button that opens the list."
					}
				],
				"Combobox.Trigger": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Combobox.Content": [
					{
						"name": "align",
						"type": "\"start\" | \"center\" | \"end\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The preferred alignment of the anchor to render against when open. This may change when collisions occur."
					},
					{
						"name": "alignOffset",
						"type": "number",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "An offset in pixels from the \"start\" or \"end\" alignment options."
					},
					{
						"name": "arrowPadding",
						"type": "number",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "This describes the padding between the arrow and the edges of the floating element. If your floating element has border-radius, this will prevent it from overflowing the corners."
					},
					{
						"name": "avoidCollisions",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "When `true`, overrides the `side` and `align` options to prevent collisions with the boundary edges."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "collisionBoundary",
						"type": "Arrayable<Boundary>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A boundary element or array of elements to check for collisions against."
					},
					{
						"name": "collisionPadding",
						"type": "number | Partial<Record<\"top\" | \"right\" | \"bottom\" | \"left\", number>>",
						"default": "8",
						"bindable": false,
						"required": false,
						"description": "The amount in pixels of virtual padding around the viewport edges to check for overflow which will cause a collision."
					},
					{
						"name": "customAnchor",
						"type": "string | HTMLElement | Measurable | null",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Use an element other than the trigger to anchor the content to. If provided, the content will be anchored to the provided element instead of the trigger. You can pass a selector string or an HTMLElement."
					},
					{
						"name": "dir",
						"type": "\"ltr\" | \"rtl\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The text direction of the content."
					},
					{
						"name": "emptyText",
						"type": "string",
						"default": "the Config's `strings.noResults`, else 'No results found.'",
						"bindable": false,
						"required": false,
						"description": "Shown when no item matches the typed text, when the content has no children."
					},
					{
						"name": "escapeKeydownBehavior",
						"type": "\"close\" | \"defer-otherwise-close\" | \"defer-otherwise-ignore\" | \"ignore\"",
						"default": "close",
						"bindable": false,
						"required": false,
						"description": "Escape behavior type. `close`: Closes the element immediately. `defer-otherwise-close`: Delegates the action to its parent component that has an escape keydown handler. If no parent is found, it closes the element. `defer-otherwise-ignore`: Delegates the action to the parent element. If no parent is found, nothing is done. `ignore`: Prevents the element from closing and also blocks the parent element from closing in response to an escape key press."
					},
					{
						"name": "forceMount",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Whether to force mount the component."
					},
					{
						"name": "hideWhenDetached",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": ""
					},
					{
						"name": "interactOutsideBehavior",
						"type": "\"close\" | \"defer-otherwise-close\" | \"defer-otherwise-ignore\" | \"ignore\"",
						"default": "close",
						"bindable": false,
						"required": false,
						"description": "Interact outside behavior type. `close`: Closes the element immediately. `defer-otherwise-close`: Delegates the action to the parent element. If no parent is found, it closes the element. `defer-otherwise-ignore`: Delegates the action to the parent element. If no parent is found, nothing is done. `ignore`: Prevents the element from closing and also blocks the parent element from closing in response to an outside interaction."
					},
					{
						"name": "loop",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether or not to loop through the items when navigating with the keyboard."
					},
					{
						"name": "onEscapeKeydown",
						"type": "((e: KeyboardEvent) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fired when escape is pressed."
					},
					{
						"name": "onFocusOutside",
						"type": "((event: FocusEvent) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fired when focus leaves the dismissible layer."
					},
					{
						"name": "onInteractOutside",
						"type": "InteractOutsideEventHandler",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fired when an outside interaction event completes, which is either a `pointerup`, `mouseup`, or `touchend` event, depending on the user's input device."
					},
					{
						"name": "portalProps",
						"type": "PortalProps",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Props for the portal the content renders in: `to` (the element to render in, the body by default) and `disabled` (render in place)."
					},
					{
						"name": "preventOverflowTextSelection",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "Passing `true` will prevent the overflow of text selection outside the element, provided the element is the top layer."
					},
					{
						"name": "preventScroll",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "Whether to prevent scrolling the body when the content is open. Whether to prevent body scrolling when the content is open."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "side",
						"type": "\"top\" | \"right\" | \"bottom\" | \"left\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The preferred side of the anchor to render against when open. Will be reversed when collisions occur."
					},
					{
						"name": "sideOffset",
						"type": "number",
						"default": "4",
						"bindable": false,
						"required": false,
						"description": "The distance in pixels from the anchor to the floating element."
					},
					{
						"name": "sticky",
						"type": "\"partial\" | \"always\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": ""
					},
					{
						"name": "strategy",
						"type": "\"absolute\" | \"fixed\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The positioning strategy to use for the floating element."
					},
					{
						"name": "updatePositionStrategy",
						"type": "\"always\" | \"optimized\"",
						"default": "\"optimized\"",
						"bindable": false,
						"required": false,
						"description": "\"optimized\" will only update the position when necessary, while \"always\" will update the position on each animation frame, which is useful if the floating content is following something like a mouse cursor."
					}
				],
				"Combobox.Item": [
					{
						"name": "children",
						"type": "Snippet<[SelectItemSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether the item is disabled."
					},
					{
						"name": "label",
						"type": "string",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The label of the item. If provided, this is the item that users will search for. If not provided, the value will be used as the label."
					},
					{
						"name": "onHighlight",
						"type": "(() => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback function called when the item is highlighted. This can be used as a replacement for `onfocus` since we don't actually focus the item and instead rely on the `aria-activedescendant` attribute to indicate the highlighted item."
					},
					{
						"name": "onUnhighlight",
						"type": "(() => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback function called when the item is unhighlighted. This can be used as a replacement for `onblur` since we don't actually focus the item and instead rely on the `aria-activedescendant` attribute to indicate the highlighted item."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "value",
						"type": "string",
						"default": "",
						"bindable": false,
						"required": true,
						"description": "The value of the item."
					}
				],
				"Combobox.Group": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Combobox.GroupHeading": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Combobox.Portal": [
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The children content to render within the portal."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Disable portalling and render the component inline"
					},
					{
						"name": "to",
						"type": "PortalTarget",
						"default": "document.body",
						"bindable": false,
						"required": false,
						"description": "Where to portal the content to."
					}
				]
			},
			"examples": [
				{
					"slug": "01-basic",
					"title": "Basic",
					"description": "Given items, the content draws those whose label contains the typed text.",
					"code": "<script lang=\"ts\">\n\timport { Combobox, Field, type ComboboxOption } from '@limerdev/zest';\n\n\tconst customers: ComboboxOption[] = [\n\t\t{ value: 'acme', label: 'Acme AB' },\n\t\t{ value: 'globex', label: 'Globex' },\n\t\t{ value: 'initech', label: 'Initech' },\n\t\t{ value: 'umbrella', label: 'Umbrella Corporation' },\n\t\t{ value: 'wayne', label: 'Wayne Enterprises' },\n\t\t{ value: 'wonka', label: 'Wonka Industries' }\n\t];\n\tlet customer = $state('');\n</script>\n\n<Field.Root class=\"w-72\">\n\t<Field.Label>Customer</Field.Label>\n\t<Combobox.Root type=\"single\" bind:value={customer} items={customers}>\n\t\t<Combobox.Input placeholder=\"Search customers\" />\n\t\t<Combobox.Content emptyText=\"No customers found.\" />\n\t</Combobox.Root>\n\t<Field.Description>Chosen: {customer || 'none'}</Field.Description>\n</Field.Root>"
				},
				{
					"slug": "02-your-own-filtering",
					"title": "Your own filtering",
					"description": "Your own filtering (prefix match here; a server search works the same): keep the typed text in state and give the content the matching Combobox.Items.",
					"code": "<script lang=\"ts\">\n\timport { Combobox, Field, type ComboboxOption } from '@limerdev/zest';\n\n\tconst customers: ComboboxOption[] = [\n\t\t{ value: 'acme', label: 'Acme AB' },\n\t\t{ value: 'globex', label: 'Globex' },\n\t\t{ value: 'initech', label: 'Initech' },\n\t\t{ value: 'umbrella', label: 'Umbrella Corporation' },\n\t\t{ value: 'wayne', label: 'Wayne Enterprises' },\n\t\t{ value: 'wonka', label: 'Wonka Industries' }\n\t];\n\tlet search = $state('');\n\tlet customer = $state('');\n\tconst shown = $derived(\n\t\tcustomers.filter((option) => option.label.toLowerCase().startsWith(search.toLowerCase()))\n\t);\n</script>\n\n<Field.Root class=\"w-72\">\n\t<Field.Label>Customer</Field.Label>\n\t<Combobox.Root\n\t\ttype=\"single\"\n\t\tbind:value={customer}\n\t\titems={customers}\n\t\tonOpenChange={(open) => {\n\t\t\tif (!open) search = '';\n\t\t}}\n\t>\n\t\t<Combobox.Input\n\t\t\tplaceholder=\"Search customers\"\n\t\t\toninput={(event) => (search = event.currentTarget.value)}\n\t\t/>\n\t\t<Combobox.Content>\n\t\t\t{#each shown as option (option.value)}\n\t\t\t\t<Combobox.Item value={option.value} label={option.label} />\n\t\t\t{:else}\n\t\t\t\t<p class=\"px-2 py-1.5 text-sm text-muted\">No customers found.</p>\n\t\t\t{/each}\n\t\t</Combobox.Content>\n\t</Combobox.Root>\n\t<Field.Description>Chosen: {customer || 'none'}</Field.Description>\n</Field.Root>"
				}
			]
		},
		{
			"name": "Command",
			"slug": "command",
			"summary": "A searchable list of commands: `<Command.Root>` holds a `Command.Input` that filters the `Command.Item`s (`value`, `keywords`, `onSelect`) and `Command.LinkItem`s (`href`) in a `Command.List`, grouped with `Command.Group` (`heading`) and divided with `Command.Separator`. `Command.Empty` shows when nothing matches, `Command.Loading` while results load, `Command.Shortcut` a key hint. Arrow keys move, Enter runs. `Command.Dialog` puts it all in a dialog as a command palette.",
			"category": "Navigation",
			"bits": "Command",
			"use": "A command palette (⌘K), or picking from a long list by typing: jump to a project, run an action.",
			"avoid": "Choosing a value for a form field: use `Combobox`. A short list that fits on screen: use `DropdownMenu`.",
			"example": "<script lang=\"ts\">\n  import { Command } from '@limerdev/zest';\n\n  let open = $state(false);\n</script>\n\n<Command.Dialog bind:open>\n  <Command.Input placeholder=\"Search projects and actions…\" />\n  <Command.List>\n    <Command.Empty>Nothing found.</Command.Empty>\n    <Command.Group heading=\"Projects\">\n      <Command.Item value=\"zest\" onSelect={() => goToProject('zest')}>Zest</Command.Item>\n    </Command.Group>\n  </Command.List>\n</Command.Dialog>",
			"importLine": "import { Command } from '@limerdev/zest'",
			"parts": [
				"Command.Root",
				"Command.Dialog",
				"Command.Empty",
				"Command.Group",
				"Command.Item",
				"Command.LinkItem",
				"Command.Input",
				"Command.List",
				"Command.Separator",
				"Command.Shortcut",
				"Command.Loading"
			],
			"props": {
				"Command.Root": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "columns",
						"type": "number | null",
						"default": "null",
						"bindable": false,
						"required": false,
						"description": "The number of columns in a grid layout."
					},
					{
						"name": "disableInitialScroll",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether to disable scrolling the selected item into view on initial mount. When `true`, prevents automatic scrolling when the command menu first renders and selects its first item, but still allows scrolling on subsequent selections."
					},
					{
						"name": "disablePointerSelection",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Optionally set to `true` to disable selection via pointer events."
					},
					{
						"name": "filter",
						"type": "((value: string, search: string, keywords?: string[] | undefined) => number)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A custom filter function for whether each command item should match the query. It should return a number between `0` and `1`, with `1` being a perfect match, and `0` being no match, resulting in the item being hidden entirely. By default, it will use the `computeCommandScore` function exported by this package to compute the score."
					},
					{
						"name": "label",
						"type": "string",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "An accessible label for the command menu. Not visible & only used for screen readers."
					},
					{
						"name": "loop",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Optionally set to `true` to enable looping through the items when the user reaches the end of the list using the keyboard."
					},
					{
						"name": "onStateChange",
						"type": "((state: Readonly<CommandState>) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A function that is called when the command state changes."
					},
					{
						"name": "onValueChange",
						"type": "((value: string) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A function that is called when the selected command menu item changes. It receives the new value as an argument."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "shouldFilter",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Optionally set to `false` to turn off the automatic filtering and sorting. If `false`, you must conditionally render valid items yourself."
					},
					{
						"name": "value",
						"type": "string",
						"default": "''",
						"bindable": true,
						"required": false,
						"description": "Optionally provide or bind to the selected command menu item."
					},
					{
						"name": "vimBindings",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "Set this prop to `false` to disable the option to use ctrl+n/j/p/k (vim style) navigation."
					}
				],
				"Command.Dialog": [
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": true,
						"description": "The content."
					},
					{
						"name": "columns",
						"type": "number | null",
						"default": "null",
						"bindable": false,
						"required": false,
						"description": "The number of columns in a grid layout."
					},
					{
						"name": "description",
						"type": "string",
						"default": "the Config's `strings.commandPaletteDescription`, else 'Search for a command to run.'",
						"bindable": false,
						"required": false,
						"description": "The palette's description for screen readers."
					},
					{
						"name": "disableInitialScroll",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether to disable scrolling the selected item into view on initial mount. When `true`, prevents automatic scrolling when the command menu first renders and selects its first item, but still allows scrolling on subsequent selections."
					},
					{
						"name": "disablePointerSelection",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Optionally set to `true` to disable selection via pointer events."
					},
					{
						"name": "filter",
						"type": "((value: string, search: string, keywords?: string[] | undefined) => number)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A custom filter function for whether each command item should match the query. It should return a number between `0` and `1`, with `1` being a perfect match, and `0` being no match, resulting in the item being hidden entirely. By default, it will use the `computeCommandScore` function exported by this package to compute the score."
					},
					{
						"name": "label",
						"type": "string",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "An accessible label for the command menu. Not visible & only used for screen readers."
					},
					{
						"name": "loop",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Optionally set to `true` to enable looping through the items when the user reaches the end of the list using the keyboard."
					},
					{
						"name": "onOpenChange",
						"type": "OnChangeFn<boolean>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback that is called when the popover's open state changes."
					},
					{
						"name": "onOpenChangeComplete",
						"type": "OnChangeFn<boolean>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback called when the dialog finishes opening/closing animations."
					},
					{
						"name": "onStateChange",
						"type": "((state: Readonly<CommandState>) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A function that is called when the command state changes."
					},
					{
						"name": "onValueChange",
						"type": "((value: string) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A function that is called when the selected command menu item changes. It receives the new value as an argument."
					},
					{
						"name": "open",
						"type": "boolean",
						"default": "false",
						"bindable": true,
						"required": false,
						"description": "The open state of the dialog."
					},
					{
						"name": "portalProps",
						"type": "PortalProps",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Props for the portal the content renders in: `to` (the element to render in, the body by default) and `disabled` (render in place)."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "shouldFilter",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Optionally set to `false` to turn off the automatic filtering and sorting. If `false`, you must conditionally render valid items yourself."
					},
					{
						"name": "showCloseButton",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Show a close button in the corner."
					},
					{
						"name": "title",
						"type": "string",
						"default": "the Config's `strings.commandPalette`, else 'Command palette'",
						"bindable": false,
						"required": false,
						"description": "The palette's name for screen readers."
					},
					{
						"name": "value",
						"type": "string",
						"default": "''",
						"bindable": true,
						"required": false,
						"description": "Optionally provide or bind to the selected command menu item."
					},
					{
						"name": "vimBindings",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "Set this prop to `false` to disable the option to use ctrl+n/j/p/k (vim style) navigation."
					}
				],
				"Command.Empty": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "forceMount",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Whether to force mount the group container regardless of filtering logic."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Command.Group": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "forceMount",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Whether to force mount the group container regardless of filtering logic."
					},
					{
						"name": "heading",
						"type": "string",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The group's heading, which names the group."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "value",
						"type": "string",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A unique value for the group."
					}
				],
				"Command.Item": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether the item is disabled."
					},
					{
						"name": "forceMount",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Whether to always mount the item regardless of filtering logic."
					},
					{
						"name": "keywords",
						"type": "string[]",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A list of keywords that will be used to filter the item."
					},
					{
						"name": "onSelect",
						"type": "(() => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback that is fired when the item is selected, either via click or keyboard selection."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "value",
						"type": "string",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A unique value for this item that will be used when filtering and ranking the items. If not provided, an attempt will be made to use the `textContent` of the item. If the `textContent` is dynamic, you will need to provide a stable unique value for the item."
					}
				],
				"Command.LinkItem": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether the item is disabled."
					},
					{
						"name": "forceMount",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Whether to always mount the item regardless of filtering logic."
					},
					{
						"name": "keywords",
						"type": "string[]",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A list of keywords that will be used to filter the item."
					},
					{
						"name": "onSelect",
						"type": "(() => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback that is fired when the item is selected, either via click or keyboard selection."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "value",
						"type": "string",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A unique value for this item that will be used when filtering and ranking the items. If not provided, an attempt will be made to use the `textContent` of the item. If the `textContent` is dynamic, you will need to provide a stable unique value for the item."
					}
				],
				"Command.Input": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "value",
						"type": "string",
						"default": "''",
						"bindable": true,
						"required": false,
						"description": "The value of the input element, used to search/filter items."
					}
				],
				"Command.List": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Command.Separator": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "forceMount",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Whether to force mount the separator container regardless of filtering logic."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Command.Shortcut": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Command.Loading": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "progress",
						"type": "number",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The current progress of the loading state. This is a number between `0` and `100`."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				]
			},
			"examples": [
				{
					"slug": "01-basic",
					"title": "Basic",
					"description": "Typing filters by value and keywords; arrow keys move, Enter runs.",
					"code": "<script lang=\"ts\">\n\timport FileText from '@lucide/svelte/icons/file-text';\n\timport Folder from '@lucide/svelte/icons/folder';\n\timport Settings from '@lucide/svelte/icons/settings';\n\timport { Command } from '@limerdev/zest';\n\n\tlet last = $state('nothing yet');\n</script>\n\n<div class=\"grid w-full max-w-sm gap-2\">\n\t<Command.Root class=\"border-(length:--border) border-border shadow-box\">\n\t\t<Command.Input placeholder=\"Search projects and actions…\" />\n\t\t<Command.List>\n\t\t\t<Command.Empty>Nothing found.</Command.Empty>\n\t\t\t<Command.Group heading=\"Projects\">\n\t\t\t\t<Command.Item value=\"Zest\" onSelect={() => (last = 'Zest')}><Folder /> Zest</Command.Item>\n\t\t\t\t<Command.Item value=\"Worklog\" onSelect={() => (last = 'Worklog')}>\n\t\t\t\t\t<Folder /> Worklog\n\t\t\t\t</Command.Item>\n\t\t\t</Command.Group>\n\t\t\t<Command.Separator />\n\t\t\t<Command.Group heading=\"Actions\">\n\t\t\t\t<Command.Item\n\t\t\t\t\tvalue=\"New report\"\n\t\t\t\t\tkeywords={['create']}\n\t\t\t\t\tonSelect={() => (last = 'New report')}\n\t\t\t\t>\n\t\t\t\t\t<FileText /> New report\n\t\t\t\t\t<Command.Shortcut>⌘N</Command.Shortcut>\n\t\t\t\t</Command.Item>\n\t\t\t\t<Command.Item value=\"Settings\" onSelect={() => (last = 'Settings')}>\n\t\t\t\t\t<Settings /> Settings\n\t\t\t\t</Command.Item>\n\t\t\t</Command.Group>\n\t\t</Command.List>\n\t</Command.Root>\n\t<p class=\"text-sm text-muted\">Ran: {last}</p>\n</div>"
				},
				{
					"slug": "02-a-palette",
					"title": "A palette",
					"description": "Command.Dialog as a palette, opened with ⌘K or Ctrl+K.",
					"code": "<script lang=\"ts\">\n\timport { Button, Command } from '@limerdev/zest';\n\n\tlet open = $state(false);\n\n\tfunction onkeydown(event: KeyboardEvent): void {\n\t\tif (event.key !== 'k' || !(event.metaKey || event.ctrlKey)) return;\n\t\tevent.preventDefault();\n\t\topen = !open;\n\t}\n</script>\n\n<svelte:window {onkeydown} />\n\n<Button variant=\"outline\" onclick={() => (open = true)}>\n\tSearch <kbd class=\"ms-2 text-xs text-muted\">⌘K</kbd>\n</Button>\n<Command.Dialog bind:open>\n\t<Command.Input placeholder=\"Type a command…\" />\n\t<Command.List>\n\t\t<Command.Empty>Nothing found.</Command.Empty>\n\t\t<Command.Group heading=\"Go to\">\n\t\t\t<Command.Item value=\"Projects\" onSelect={() => (open = false)}>Projects</Command.Item>\n\t\t\t<Command.Item value=\"Reports\" onSelect={() => (open = false)}>Reports</Command.Item>\n\t\t\t<Command.Item value=\"Invoices\" onSelect={() => (open = false)}>Invoices</Command.Item>\n\t\t</Command.Group>\n\t</Command.List>\n</Command.Dialog>"
				}
			]
		},
		{
			"name": "Config",
			"slug": "config",
			"summary": "App-wide defaults for every component inside it, set once in the root layout instead of at each call site: the locale of the calendars, date fields, NumberInput and FileDropzone (`defaultLocale`), where floating parts portal to (`defaultPortalTo`), the reading direction (`dir`), and `strings`, the text Zest shows and reads out that isn't the app's content (close buttons, landmark names, \"No results found.\"). Unset strings stay English. A Config inside another overrides only what it sets, and a component's own prop (`closeLabel`) wins over both.",
			"category": "Layout",
			"bits": "BitsConfig",
			"use": "A non-English app: one Config in the root layout with the app's locale and strings.",
			"avoid": "Passing the same label to every instance of a component: set it in `strings` once.",
			"example": "<script lang=\"ts\">\n  import { Config } from '@limerdev/zest';\n  let { children } = $props();\n</script>\n\n<Config\n  defaultLocale=\"sv-SE\"\n  strings={{ close: 'Stäng', loading: 'Laddar', noResults: 'Inga träffar.' }}\n>\n  {@render children()}\n</Config>",
			"importLine": "import { Config, englishStrings } from '@limerdev/zest'",
			"parts": [
				"Config",
				"englishStrings"
			],
			"props": {
				"Config": [
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "defaultLocale",
						"type": "string",
						"default": "the browser's",
						"bindable": false,
						"required": false,
						"description": "The locale of the calendars, date fields, NumberInput and FileDropzone inside, unless one sets its own (`sv-SE`). Bits UI's `defaultLocale`."
					},
					{
						"name": "defaultPortalTo",
						"type": "string | Element",
						"default": "'body'",
						"bindable": false,
						"required": false,
						"description": "Where the floating parts inside portal to: a selector or an element. Bits UI's `defaultPortalTo`."
					},
					{
						"name": "dir",
						"type": "\"ltr\" | \"rtl\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The reading direction of the components inside that take `dir`."
					},
					{
						"name": "strings",
						"type": "StringOverrides",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The strings Zest shows and reads out (close buttons, landmarks, empty lists), over those of the Config around it, then English. A component's own prop still wins."
					}
				]
			},
			"examples": [
				{
					"slug": "01-swedish",
					"title": "Swedish",
					"description": "One Config in the root layout sets the locale and the strings for every component in the app. Strings it leaves out stay English.",
					"code": "<script lang=\"ts\">\n\timport { Config, Field, NumberInput, Pagination } from '@limerdev/zest';\n\n\tlet page = $state(1);\n\tlet amount: number | null = $state(12500);\n</script>\n\n<Config\n\tdefaultLocale=\"sv-SE\"\n\tstrings={{\n\t\tpagination: 'Sidor',\n\t\tprevious: 'Föregående',\n\t\tnext: 'Nästa',\n\t\tmorePages: 'Fler sidor',\n\t\tincrease: 'Öka',\n\t\tdecrease: 'Minska'\n\t}}\n>\n\t<div class=\"grid gap-6\">\n\t\t<Field.Root class=\"max-w-60\">\n\t\t\t<Field.Label>Belopp</Field.Label>\n\t\t\t<NumberInput bind:value={amount} formatOptions={{ style: 'currency', currency: 'SEK' }} />\n\t\t</Field.Root>\n\t\t<Pagination.Root count={240} perPage={20} bind:page />\n\t</div>\n</Config>"
				}
			]
		},
		{
			"name": "ContextMenu",
			"slug": "context-menu",
			"summary": "A menu opened by right-clicking (or long-pressing) an area: `<ContextMenu.Root>` holds a `ContextMenu.Trigger` (the area) and a `ContextMenu.Content` at the pointer. It takes the same items as `DropdownMenu`: `Item` (`variant=\"error\"`, `Shortcut`), `CheckboxItem`, `RadioGroup` with `RadioItem`s, `Group` with `GroupHeading`, `Label`, `Separator` and submenus. Arrow keys move, Enter chooses, Escape closes.",
			"category": "Actions",
			"bits": "ContextMenu",
			"use": "Shortcuts for actions on the thing under the pointer, such as a row or a file, that are also reachable another way.",
			"avoid": "Actions only a right-click reaches: keyboard and touch users may never find them. Offer the same actions in a visible `DropdownMenu` or buttons.",
			"example": "<script lang=\"ts\">\n  import { ContextMenu } from '@limerdev/zest';\n</script>\n\n<ContextMenu.Root>\n  <ContextMenu.Trigger class=\"rounded-box border border-border p-6\">Right-click this row</ContextMenu.Trigger>\n  <ContextMenu.Content>\n    <ContextMenu.Item onSelect={open}>Open</ContextMenu.Item>\n    <ContextMenu.Separator />\n    <ContextMenu.Item variant=\"error\" onSelect={remove}>Delete</ContextMenu.Item>\n  </ContextMenu.Content>\n</ContextMenu.Root>",
			"importLine": "import { ContextMenu } from '@limerdev/zest'",
			"parts": [
				"ContextMenu.Root",
				"ContextMenu.Trigger",
				"ContextMenu.Content",
				"ContextMenu.Portal",
				"ContextMenu.Item",
				"ContextMenu.CheckboxItem",
				"ContextMenu.CheckboxGroup",
				"ContextMenu.RadioGroup",
				"ContextMenu.RadioItem",
				"ContextMenu.Group",
				"ContextMenu.GroupHeading",
				"ContextMenu.Label",
				"ContextMenu.Separator",
				"ContextMenu.Shortcut",
				"ContextMenu.Sub",
				"ContextMenu.SubTrigger",
				"ContextMenu.SubContent"
			],
			"props": {
				"ContextMenu.Root": [
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "dir",
						"type": "\"ltr\" | \"rtl\"",
						"default": "\"ltr\"",
						"bindable": false,
						"required": false,
						"description": "The direction of the site."
					},
					{
						"name": "onOpenChange",
						"type": "OnChangeFn<boolean>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback that is called when the menu is opened or closed."
					},
					{
						"name": "onOpenChangeComplete",
						"type": "OnChangeFn<boolean>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback that is called when the menu is opened or closed."
					},
					{
						"name": "open",
						"type": "boolean",
						"default": "false",
						"bindable": true,
						"required": false,
						"description": "The open state of the menu."
					}
				],
				"ContextMenu.Trigger": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Whether the context menu trigger is disabled. If disabled, the trigger will not open the menu when right-clicked."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"ContextMenu.Content": [
					{
						"name": "align",
						"type": "\"start\" | \"center\" | \"end\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The preferred alignment of the anchor to render against when open. This may change when collisions occur."
					},
					{
						"name": "alignOffset",
						"type": "number",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "An offset in pixels from the \"start\" or \"end\" alignment options."
					},
					{
						"name": "arrowPadding",
						"type": "number",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "This describes the padding between the arrow and the edges of the floating element. If your floating element has border-radius, this will prevent it from overflowing the corners."
					},
					{
						"name": "avoidCollisions",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "When `true`, overrides the `side` and `align` options to prevent collisions with the boundary edges."
					},
					{
						"name": "child",
						"type": "Snippet<[FloatingContentSnippetProps & { props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "collisionBoundary",
						"type": "Arrayable<Boundary>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A boundary element or array of elements to check for collisions against."
					},
					{
						"name": "collisionPadding",
						"type": "number | Partial<Record<\"top\" | \"right\" | \"bottom\" | \"left\", number>>",
						"default": "8",
						"bindable": false,
						"required": false,
						"description": "The amount in pixels of virtual padding around the viewport edges to check for overflow which will cause a collision."
					},
					{
						"name": "customAnchor",
						"type": "string | HTMLElement | Measurable | null",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Use an element other than the trigger to anchor the content to. If provided, the content will be anchored to the provided element instead of the trigger. You can pass a selector string or an HTMLElement."
					},
					{
						"name": "dir",
						"type": "\"ltr\" | \"rtl\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The text direction of the content."
					},
					{
						"name": "escapeKeydownBehavior",
						"type": "\"close\" | \"defer-otherwise-close\" | \"defer-otherwise-ignore\" | \"ignore\"",
						"default": "close",
						"bindable": false,
						"required": false,
						"description": "Escape behavior type. `close`: Closes the element immediately. `defer-otherwise-close`: Delegates the action to its parent component that has an escape keydown handler. If no parent is found, it closes the element. `defer-otherwise-ignore`: Delegates the action to the parent element. If no parent is found, nothing is done. `ignore`: Prevents the element from closing and also blocks the parent element from closing in response to an escape key press."
					},
					{
						"name": "forceMount",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Whether to force mount the component."
					},
					{
						"name": "hideWhenDetached",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": ""
					},
					{
						"name": "interactOutsideBehavior",
						"type": "\"close\" | \"defer-otherwise-close\" | \"defer-otherwise-ignore\" | \"ignore\"",
						"default": "close",
						"bindable": false,
						"required": false,
						"description": "Interact outside behavior type. `close`: Closes the element immediately. `defer-otherwise-close`: Delegates the action to the parent element. If no parent is found, it closes the element. `defer-otherwise-ignore`: Delegates the action to the parent element. If no parent is found, nothing is done. `ignore`: Prevents the element from closing and also blocks the parent element from closing in response to an outside interaction."
					},
					{
						"name": "loop",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "When `true`, the menu will loop through items when navigating with the keyboard."
					},
					{
						"name": "onCloseAutoFocus",
						"type": "EventCallback",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Event handler called when auto-focusing on close. Can be prevented."
					},
					{
						"name": "onEscapeKeydown",
						"type": "((e: KeyboardEvent) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fired when escape is pressed."
					},
					{
						"name": "onFocusOutside",
						"type": "((event: FocusEvent) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fired when focus leaves the dismissible layer."
					},
					{
						"name": "onInteractOutside",
						"type": "InteractOutsideEventHandler",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fired when an outside interaction event completes, which is either a `pointerup`, `mouseup`, or `touchend` event, depending on the user's input device."
					},
					{
						"name": "onOpenAutoFocus",
						"type": "EventCallback",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Event handler called when auto-focusing on open. Can be prevented."
					},
					{
						"name": "portalProps",
						"type": "PortalProps",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Props for the portal the content renders in: `to` (the element to render in, the body by default) and `disabled` (render in place)."
					},
					{
						"name": "preventOverflowTextSelection",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "Passing `true` will prevent the overflow of text selection outside the element, provided the element is the top layer."
					},
					{
						"name": "preventScroll",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "Whether to prevent scrolling the body when the content is open. Whether to prevent body scrolling when the content is open."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "side",
						"type": "\"top\" | \"right\" | \"bottom\" | \"left\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The preferred side of the anchor to render against when open. Will be reversed when collisions occur."
					},
					{
						"name": "sideOffset",
						"type": "number",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The distance in pixels from the anchor to the floating element."
					},
					{
						"name": "sticky",
						"type": "\"partial\" | \"always\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": ""
					},
					{
						"name": "strategy",
						"type": "\"absolute\" | \"fixed\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The positioning strategy to use for the floating element."
					},
					{
						"name": "trapFocus",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether focus is trapped within the focus scope."
					},
					{
						"name": "updatePositionStrategy",
						"type": "\"always\" | \"optimized\"",
						"default": "\"optimized\"",
						"bindable": false,
						"required": false,
						"description": "\"optimized\" will only update the position when necessary, while \"always\" will update the position on each animation frame, which is useful if the floating content is following something like a mouse cursor."
					}
				],
				"ContextMenu.Portal": [
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The children content to render within the portal."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Disable portalling and render the component inline"
					},
					{
						"name": "to",
						"type": "PortalTarget",
						"default": "document.body",
						"bindable": false,
						"required": false,
						"description": "Where to portal the content to."
					}
				],
				"ContextMenu.Item": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "closeOnSelect",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "Whether or not the menu item should close when selected."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "When `true`, the user will not be able to interact with the menu item."
					},
					{
						"name": "inset",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Indent the text to line up with items that show an icon, check or dot."
					},
					{
						"name": "onSelect",
						"type": "((event: Event) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback fired when the menu item is selected. Prevent default behavior of selection with `event.preventDefault()`."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "textValue",
						"type": "string",
						"default": "undefined",
						"bindable": false,
						"required": false,
						"description": "Optional text to use for typeahead filtering. By default, typeahead will use the `.textContent` of the menu item. When the content is more complex, you can provide a string here instead."
					},
					{
						"name": "variant",
						"type": "\"error\" | \"default\"",
						"default": "'default'",
						"bindable": false,
						"required": false,
						"description": "`error` colours the item for deleting."
					}
				],
				"ContextMenu.CheckboxItem": [
					{
						"name": "checked",
						"type": "boolean",
						"default": "false",
						"bindable": true,
						"required": false,
						"description": "The checked state of the checkbox. It can be one of: - `true` for checked - `false` for unchecked"
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "closeOnSelect",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether or not the menu item should close when selected."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "When `true`, the user will not be able to interact with the menu item."
					},
					{
						"name": "indeterminate",
						"type": "boolean",
						"default": "false",
						"bindable": true,
						"required": false,
						"description": "Whether the checkbox is in an indeterminate state or not."
					},
					{
						"name": "onCheckedChange",
						"type": "OnChangeFn<boolean>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback that is fired when the checked state changes."
					},
					{
						"name": "onIndeterminateChange",
						"type": "OnChangeFn<boolean>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback function called when the indeterminate state changes."
					},
					{
						"name": "onSelect",
						"type": "((event: Event) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback fired when the menu item is selected. Prevent default behavior of selection with `event.preventDefault()`."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "textValue",
						"type": "string",
						"default": "undefined",
						"bindable": false,
						"required": false,
						"description": "Optional text to use for typeahead filtering. By default, typeahead will use the `.textContent` of the menu item. When the content is more complex, you can provide a string here instead."
					},
					{
						"name": "value",
						"type": "string",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The value of the checkbox item when used in a checkbox group."
					}
				],
				"ContextMenu.CheckboxGroup": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "onValueChange",
						"type": "OnChangeFn<string[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback that is fired when the selected checkbox items change."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "value",
						"type": "string[]",
						"default": "[]",
						"bindable": true,
						"required": false,
						"description": "The values of the selected checkbox items. Supports two-way binding with `bind:value`."
					}
				],
				"ContextMenu.RadioGroup": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "onValueChange",
						"type": "OnChangeFn<string>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback that is fired when the selected radio item changes."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "value",
						"type": "string",
						"default": "''",
						"bindable": true,
						"required": false,
						"description": "The value of the selected radio item. Supports two-way binding with `bind:value`."
					}
				],
				"ContextMenu.RadioItem": [
					{
						"name": "children",
						"type": "Snippet<[MenuRadioItemSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "closeOnSelect",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether or not the menu item should close when selected."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "When `true`, the user will not be able to interact with the menu item."
					},
					{
						"name": "onSelect",
						"type": "((event: Event) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback fired when the menu item is selected. Prevent default behavior of selection with `event.preventDefault()`."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "textValue",
						"type": "string",
						"default": "undefined",
						"bindable": false,
						"required": false,
						"description": "Optional text to use for typeahead filtering. By default, typeahead will use the `.textContent` of the menu item. When the content is more complex, you can provide a string here instead."
					},
					{
						"name": "value",
						"type": "string",
						"default": "",
						"bindable": false,
						"required": true,
						"description": "The value of the radio item."
					}
				],
				"ContextMenu.Group": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"ContextMenu.GroupHeading": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "inset",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Indent the text to line up with items that show an icon, check or dot."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"ContextMenu.Label": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "inset",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Indent the text to line up with items that show an icon, check or dot."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"ContextMenu.Separator": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"ContextMenu.Shortcut": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"ContextMenu.Sub": [
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "onOpenChange",
						"type": "OnChangeFn<boolean>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback that is called when the menu is opened or closed."
					},
					{
						"name": "onOpenChangeComplete",
						"type": "OnChangeFn<boolean>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback that is called when the menu finishes opening/closing animations."
					},
					{
						"name": "open",
						"type": "boolean",
						"default": "false",
						"bindable": true,
						"required": false,
						"description": "The open state of the menu."
					}
				],
				"ContextMenu.SubTrigger": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "When `true`, the user will not be able to interact with the menu item."
					},
					{
						"name": "inset",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Indent the text to line up with items that show an icon, check or dot."
					},
					{
						"name": "onSelect",
						"type": "((event: Event) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback fired when the menu item is selected. Prevent default behavior of selection with `event.preventDefault()`."
					},
					{
						"name": "openDelay",
						"type": "number",
						"default": "100",
						"bindable": false,
						"required": false,
						"description": "The amount of time in ms from when the mouse enters the subtrigger until the submenu opens. This is useful for preventing the submenu from opening as a user is moving their mouse through the menu without a true intention to open that submenu. To disable the behavior, set it to `0`."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "textValue",
						"type": "string",
						"default": "undefined",
						"bindable": false,
						"required": false,
						"description": "Optional text to use for typeahead filtering. By default, typeahead will use the `.textContent` of the menu item. When the content is more complex, you can provide a string here instead."
					}
				],
				"ContextMenu.SubContent": [
					{
						"name": "align",
						"type": "\"start\" | \"center\" | \"end\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The preferred alignment of the anchor to render against when open. This may change when collisions occur."
					},
					{
						"name": "alignOffset",
						"type": "number",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "An offset in pixels from the \"start\" or \"end\" alignment options."
					},
					{
						"name": "arrowPadding",
						"type": "number",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "This describes the padding between the arrow and the edges of the floating element. If your floating element has border-radius, this will prevent it from overflowing the corners."
					},
					{
						"name": "avoidCollisions",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "When `true`, overrides the `side` and `align` options to prevent collisions with the boundary edges."
					},
					{
						"name": "child",
						"type": "Snippet<[FloatingContentSnippetProps & { props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "collisionBoundary",
						"type": "Arrayable<Boundary>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A boundary element or array of elements to check for collisions against."
					},
					{
						"name": "collisionPadding",
						"type": "number | Partial<Record<\"top\" | \"right\" | \"bottom\" | \"left\", number>>",
						"default": "8",
						"bindable": false,
						"required": false,
						"description": "The amount in pixels of virtual padding around the viewport edges to check for overflow which will cause a collision."
					},
					{
						"name": "customAnchor",
						"type": "string | HTMLElement | Measurable | null",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Use an element other than the trigger to anchor the content to. If provided, the content will be anchored to the provided element instead of the trigger. You can pass a selector string or an HTMLElement."
					},
					{
						"name": "dir",
						"type": "\"ltr\" | \"rtl\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The text direction of the content."
					},
					{
						"name": "escapeKeydownBehavior",
						"type": "\"close\" | \"defer-otherwise-close\" | \"defer-otherwise-ignore\" | \"ignore\"",
						"default": "close",
						"bindable": false,
						"required": false,
						"description": "Escape behavior type. `close`: Closes the element immediately. `defer-otherwise-close`: Delegates the action to its parent component that has an escape keydown handler. If no parent is found, it closes the element. `defer-otherwise-ignore`: Delegates the action to the parent element. If no parent is found, nothing is done. `ignore`: Prevents the element from closing and also blocks the parent element from closing in response to an escape key press."
					},
					{
						"name": "forceMount",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Whether to force mount the component."
					},
					{
						"name": "hideWhenDetached",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": ""
					},
					{
						"name": "interactOutsideBehavior",
						"type": "\"close\" | \"defer-otherwise-close\" | \"defer-otherwise-ignore\" | \"ignore\"",
						"default": "close",
						"bindable": false,
						"required": false,
						"description": "Interact outside behavior type. `close`: Closes the element immediately. `defer-otherwise-close`: Delegates the action to the parent element. If no parent is found, it closes the element. `defer-otherwise-ignore`: Delegates the action to the parent element. If no parent is found, nothing is done. `ignore`: Prevents the element from closing and also blocks the parent element from closing in response to an outside interaction."
					},
					{
						"name": "loop",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "When `true`, the menu will loop through items when navigating with the keyboard."
					},
					{
						"name": "onCloseAutoFocus",
						"type": "EventCallback",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Event handler called when auto-focusing on close. Can be prevented."
					},
					{
						"name": "onEscapeKeydown",
						"type": "((e: KeyboardEvent) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fired when escape is pressed."
					},
					{
						"name": "onFocusOutside",
						"type": "((event: FocusEvent) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fired when focus leaves the dismissible layer."
					},
					{
						"name": "onInteractOutside",
						"type": "InteractOutsideEventHandler",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fired when an outside interaction event completes, which is either a `pointerup`, `mouseup`, or `touchend` event, depending on the user's input device."
					},
					{
						"name": "onOpenAutoFocus",
						"type": "EventCallback",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Event handler called when auto-focusing on open. Can be prevented."
					},
					{
						"name": "preventOverflowTextSelection",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "Passing `true` will prevent the overflow of text selection outside the element, provided the element is the top layer."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "side",
						"type": "\"top\" | \"right\" | \"bottom\" | \"left\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The preferred side of the anchor to render against when open. Will be reversed when collisions occur."
					},
					{
						"name": "sideOffset",
						"type": "number",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The distance in pixels from the anchor to the floating element."
					},
					{
						"name": "sticky",
						"type": "\"partial\" | \"always\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": ""
					},
					{
						"name": "strategy",
						"type": "\"absolute\" | \"fixed\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The positioning strategy to use for the floating element."
					},
					{
						"name": "trapFocus",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether focus is trapped within the focus scope."
					},
					{
						"name": "updatePositionStrategy",
						"type": "\"always\" | \"optimized\"",
						"default": "\"optimized\"",
						"bindable": false,
						"required": false,
						"description": "\"optimized\" will only update the position when necessary, while \"always\" will update the position on each animation frame, which is useful if the floating content is following something like a mouse cursor."
					}
				]
			},
			"examples": [
				{
					"slug": "01-a-row",
					"title": "A row",
					"description": "Right-click (or long-press) the card. Offer the same actions somewhere visible too.",
					"code": "<script lang=\"ts\">\n\timport { ContextMenu } from '@limerdev/zest';\n\n\tlet last = $state('nothing yet');\n\tlet pinned = $state(false);\n</script>\n\n<ContextMenu.Root>\n\t<ContextMenu.Trigger\n\t\tclass=\"grid h-36 w-72 place-content-center rounded-box border-(length:--border) border-dashed border-border text-sm text-muted\"\n\t>\n\t\tRight-click order 1042\n\t</ContextMenu.Trigger>\n\t<ContextMenu.Content class=\"w-52\">\n\t\t<ContextMenu.Item onSelect={() => (last = 'Open')}>\n\t\t\tOpen\n\t\t\t<ContextMenu.Shortcut>↵</ContextMenu.Shortcut>\n\t\t</ContextMenu.Item>\n\t\t<ContextMenu.Item onSelect={() => (last = 'Duplicate')}>Duplicate</ContextMenu.Item>\n\t\t<ContextMenu.CheckboxItem bind:checked={pinned}>Pinned</ContextMenu.CheckboxItem>\n\t\t<ContextMenu.Separator />\n\t\t<ContextMenu.Item variant=\"error\" onSelect={() => (last = 'Delete')}>Delete</ContextMenu.Item>\n\t</ContextMenu.Content>\n</ContextMenu.Root>\n<p class=\"text-sm text-muted\">Chose: {last}{pinned ? ', pinned' : ''}</p>"
				}
			]
		},
		{
			"name": "DateField",
			"slug": "date-field",
			"summary": "A date typed segment by segment, in the order and format of the `locale`: `<DateField.Root>` (`bind:value` a `DateValue`, `granularity` to add the time, `minValue`, `maxValue`, `name`) holds a `DateField.Label` (which names the field; use it instead of `Field.Label`) and a `DateField.Input`, which draws its segments. Type digits or use the arrow keys in a segment; Tab or the separator moves on. Inside a `Field`, its `Field.Description` and `Field.Error` describe the field.",
			"category": "Data input",
			"bits": "DateField",
			"use": "A date people know and type: a birth date, an invoice date, a start date.",
			"avoid": "Picking a date where seeing the month helps: use `DatePicker`. A period: use `DateRangeField`. A plain text input with a pattern.",
			"example": "<script lang=\"ts\">\n  import { DateField, Field, type DateValue } from '@limerdev/zest';\n\n  let due: DateValue | undefined = $state();\n</script>\n\n<Field.Root>\n  <DateField.Root bind:value={due} name=\"due\">\n    <DateField.Label>Due date</DateField.Label>\n    <DateField.Input />\n  </DateField.Root>\n</Field.Root>",
			"importLine": "import { DateField } from '@limerdev/zest'",
			"parts": [
				"DateField.Root",
				"DateField.Label",
				"DateField.Input",
				"DateField.Segment"
			],
			"props": {
				"DateField.Root": [
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "If true, the date field will be disabled and users will not be able to interact with it. This also disables the hidden input element if the date field is used in a form."
					},
					{
						"name": "errorMessageId",
						"type": "string",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The `id` of the element which contains the error messages for the date field when the date is invalid."
					},
					{
						"name": "granularity",
						"type": "\"day\" | \"hour\" | \"minute\" | \"second\"",
						"default": "'day'",
						"bindable": false,
						"required": false,
						"description": "The granularity of the date field. This determines which segments will be includes in the segments array used to build the date field. By default, when a `CalendarDate` value is used, the granularity will default to `'day'`, and when a `CalendarDateTime` or `ZonedDateTime` value is used, the granularity will default to `'minute'`. Granularity is only used for visual purposes, and does not impact the value of the date field. You can have the same value synced between multiple date fields with different granularities and they will all contain the same value."
					},
					{
						"name": "hideTimeZone",
						"type": "boolean",
						"default": "false;",
						"bindable": false,
						"required": false,
						"description": "Whether or not to hide the timeZoneName segment from the date field."
					},
					{
						"name": "hourCycle",
						"type": "12 | 24",
						"default": "the locale's default time format",
						"bindable": false,
						"required": false,
						"description": "The format to use for displaying the time in the input. If using a 12 hour clock, ensure you also include the `dayPeriod` segment in your input to ensure the user can select AM/PM."
					},
					{
						"name": "locale",
						"type": "string",
						"default": "'en'",
						"bindable": false,
						"required": false,
						"description": "The locale to use for formatting the date field."
					},
					{
						"name": "maxValue",
						"type": "DateValue",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The maximum acceptable date. When provided, the date field will be marked as invalid if the user enters a date after this date."
					},
					{
						"name": "minValue",
						"type": "DateValue",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The minimum acceptable date. When provided, the date field will be marked as invalid if the user enters a date before this date."
					},
					{
						"name": "onInvalid",
						"type": "DateOnInvalid",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback fired when the date field's value is invalid. Use this to display an error message to the user."
					},
					{
						"name": "onPlaceholderChange",
						"type": "OnChangeFn<DateValue | undefined>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback that is called when the date field's placeholder value changes."
					},
					{
						"name": "onValueChange",
						"type": "OnChangeFn<DateValue | undefined>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback that is called when the date field value changes."
					},
					{
						"name": "placeholder",
						"type": "DateValue",
						"default": "",
						"bindable": true,
						"required": false,
						"description": "The placeholder value of the date field. This determines the format and what date the field starts at when it is empty."
					},
					{
						"name": "readonly",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "If true, the date field will be readonly, and users will not be able to edit the values of any of the individual segments."
					},
					{
						"name": "readonlySegments",
						"type": "(\"month\" | \"year\" | \"day\" | \"hour\" | \"minute\" | \"second\" | \"dayPeriod\")[]",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "An array of segment names that should be readonly. If provided, only the segments not in this array will be editable."
					},
					{
						"name": "required",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether or not the hidden input of the date field requires a value to be submitted."
					},
					{
						"name": "validate",
						"type": "DateValidator",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A function that returns a string or array of strings as validation errors if the date is invalid, or nothing if the date is valid"
					},
					{
						"name": "value",
						"type": "DateValue",
						"default": "",
						"bindable": true,
						"required": false,
						"description": "The value of the date field."
					}
				],
				"DateField.Label": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"DateField.Input": [
					{
						"name": "child",
						"type": "Snippet<[DateFieldInputSnippetProps & { props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[DateFieldInputSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "name",
						"type": "string",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The name to use for the hidden input element of the date field, which is used to submit the ISO string value of the date field to a server. If not provided, the hidden input element will not be rendered."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"DateField.Segment": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "part",
						"type": "\"month\" | \"year\" | \"day\" | \"hour\" | \"minute\" | \"second\" | \"dayPeriod\" | \"timeZoneName\" | \"literal\"",
						"default": "",
						"bindable": false,
						"required": true,
						"description": ""
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				]
			},
			"examples": [
				{
					"slug": "01-basic",
					"title": "Basic",
					"description": "DateField.Label names the field and each segment. Type digits or use the arrow keys.",
					"code": "<script lang=\"ts\">\n\timport { DateField, Field, type DateValue } from '@limerdev/zest';\n\n\tlet due: DateValue | undefined = $state();\n</script>\n\n<Field.Root class=\"w-56\">\n\t<DateField.Root bind:value={due}>\n\t\t<DateField.Label>Due date</DateField.Label>\n\t\t<DateField.Input />\n\t</DateField.Root>\n\t<Field.Description>\n\t\t{due ? `Due ${due.toString()}` : 'When the invoice is due.'}\n\t</Field.Description>\n</Field.Root>"
				},
				{
					"slug": "02-with-time",
					"title": "With time",
					"description": "granularity=\"minute\" adds the time; hourCycle picks 12 or 24 hours.",
					"code": "<script lang=\"ts\">\n\timport { DateField, Field, type DateValue } from '@limerdev/zest';\n\n\tlet start: DateValue | undefined = $state();\n</script>\n\n<Field.Root class=\"w-72\">\n\t<DateField.Root bind:value={start} granularity=\"minute\" hourCycle={24}>\n\t\t<DateField.Label>Meeting starts</DateField.Label>\n\t\t<DateField.Input />\n\t</DateField.Root>\n</Field.Root>"
				}
			]
		},
		{
			"name": "DatePicker",
			"slug": "date-picker",
			"summary": "A date typed segment by segment or picked from a calendar in a popover: `<DatePicker.Root>` (`bind:value` a `DateValue`, `bind:open`, `minValue`, `maxValue`, `isDateUnavailable`, `granularity`, `name`) holds a `DatePicker.Label` (which names it; use it instead of `Field.Label`), a `DatePicker.Input` (its segments and a button that opens the calendar) and a `DatePicker.Content` (the popover, which draws a `DatePicker.Calendar`). The calendar's parts are named like `Calendar`'s for custom layouts. Inside a `Field`, its description and error describe it.",
			"category": "Data input",
			"bits": "DatePicker",
			"use": "A date in a form where seeing the month helps: a deadline, a delivery date, a start date.",
			"avoid": "A date people know and type: use `DateField`. A period: use `DateRangePicker`.",
			"example": "<script lang=\"ts\">\n  import { DatePicker, Field, type DateValue } from '@limerdev/zest';\n\n  let due: DateValue | undefined = $state();\n</script>\n\n<Field.Root>\n  <DatePicker.Root bind:value={due}>\n    <DatePicker.Label>Due date</DatePicker.Label>\n    <DatePicker.Input />\n    <DatePicker.Content />\n  </DatePicker.Root>\n</Field.Root>",
			"importLine": "import { DatePicker } from '@limerdev/zest'",
			"parts": [
				"DatePicker.Root",
				"DatePicker.Label",
				"DatePicker.Input",
				"DatePicker.Segment",
				"DatePicker.Trigger",
				"DatePicker.Content",
				"DatePicker.Portal",
				"DatePicker.Calendar",
				"DatePicker.Header",
				"DatePicker.Heading",
				"DatePicker.PrevButton",
				"DatePicker.NextButton",
				"DatePicker.Months",
				"DatePicker.Grid",
				"DatePicker.GridHead",
				"DatePicker.GridBody",
				"DatePicker.GridRow",
				"DatePicker.HeadCell",
				"DatePicker.Cell",
				"DatePicker.Day"
			],
			"props": {
				"DatePicker.Root": [
					{
						"name": "calendarLabel",
						"type": "string",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "This label is exclusively used for accessibility, remaining hidden from the page. It's read by screen readers when the calendar is opened. The current month and year are automatically appended to the label, so you only need to provide the base label. For instance: - 'Date of birth' will be read as 'Date of birth, January 2021' if the current month is January 2021. - 'Appointment date' will be read as 'Appointment date, January 2021' if the current month is January 2021. - 'Booking date' will be read as 'Booking date, January 2021' if the current month is January 2021."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "closeOnDateSelect",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "Whether to close the popover when a date is selected."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "If true, the date field will be disabled and users will not be able to interact with it. This also disables the hidden input element if the date field is used in a form."
					},
					{
						"name": "disableDaysOutsideMonth",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether to disable the selection of days outside the current month. By default, days outside the current month are rendered to fill the calendar grid, but they are not selectable. Setting this prop to `true` will disable this behavior."
					},
					{
						"name": "errorMessageId",
						"type": "string",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The `id` of the element which contains the error messages for the date field when the date is invalid."
					},
					{
						"name": "fixedWeeks",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Display 6 weeks per month, regardless the month's number of weeks. This is useful for displaying a consistent calendar, where the size of the calendar doesn't change month to month. To display 6 weeks per month, you will need to render out the previous and next month's dates in the calendar as well."
					},
					{
						"name": "granularity",
						"type": "\"day\" | \"hour\" | \"minute\" | \"second\"",
						"default": "'day'",
						"bindable": false,
						"required": false,
						"description": "The granularity of the date field. This determines which segments will be includes in the segments array used to build the date field. By default, when a `CalendarDate` value is used, the granularity will default to `'day'`, and when a `CalendarDateTime` or `ZonedDateTime` value is used, the granularity will default to `'minute'`. Granularity is only used for visual purposes, and does not impact the value of the date field. You can have the same value synced between multiple date fields with different granularities and they will all contain the same value."
					},
					{
						"name": "hideTimeZone",
						"type": "boolean",
						"default": "false;",
						"bindable": false,
						"required": false,
						"description": "Whether or not to hide the timeZoneName segment from the date field."
					},
					{
						"name": "hourCycle",
						"type": "12 | 24",
						"default": "the locale's default time format",
						"bindable": false,
						"required": false,
						"description": "The format to use for displaying the time in the input. If using a 12 hour clock, ensure you also include the `dayPeriod` segment in your input to ensure the user can select AM/PM."
					},
					{
						"name": "initialFocus",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Whether to focus a date when the picker is first opened."
					},
					{
						"name": "isDateDisabled",
						"type": "DateMatcher",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A function that returns true if the given date is disabled, which makes the date unable to be selected in the calendar."
					},
					{
						"name": "isDateUnavailable",
						"type": "DateMatcher",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A function that returns true if the given date is unavailable, where if selected, the date field will be marked as invalid."
					},
					{
						"name": "locale",
						"type": "string",
						"default": "'en'",
						"bindable": false,
						"required": false,
						"description": "The locale to use for formatting the date field."
					},
					{
						"name": "maxValue",
						"type": "DateValue",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The maximum acceptable date. When provided, the date field will be marked as invalid if the user enters a date after this date."
					},
					{
						"name": "minValue",
						"type": "DateValue",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The minimum acceptable date. When provided, the date field will be marked as invalid if the user enters a date before this date."
					},
					{
						"name": "monthFormat",
						"type": "\"numeric\" | \"long\" | \"short\" | \"narrow\" | \"2-digit\" | ((month: number) => string)",
						"default": "\"long\"",
						"bindable": false,
						"required": false,
						"description": "The format of the month names in the calendar."
					},
					{
						"name": "numberOfMonths",
						"type": "number",
						"default": "1",
						"bindable": false,
						"required": false,
						"description": "Determines the number of months to display on the calendar simultaneously. For navigation between months, refer to the `pagedNavigation` prop."
					},
					{
						"name": "onInvalid",
						"type": "DateOnInvalid",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback fired when the date field's value is invalid. Use this to display an error message to the user."
					},
					{
						"name": "onOpenChange",
						"type": "OnChangeFn<boolean>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback function called when the open state changes."
					},
					{
						"name": "onOpenChangeComplete",
						"type": "OnChangeFn<boolean>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback function called when the open state changes complete."
					},
					{
						"name": "onPlaceholderChange",
						"type": "OnChangeFn<DateValue>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback function called when the placeholder value changes."
					},
					{
						"name": "onValueChange",
						"type": "OnChangeFn<DateValue | undefined>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback function called when the value changes."
					},
					{
						"name": "open",
						"type": "boolean",
						"default": "false",
						"bindable": true,
						"required": false,
						"description": "The open state of the date picker popover."
					},
					{
						"name": "pagedNavigation",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Applicable only when `numberOfMonths` is greater than 1. Controls whether to use paged navigation for the next and previous buttons in the date picker. With paged navigation set to `true`, clicking the next/prev buttons changes all months in view. When set to `false`, it shifts the view by a single month. For example, with `pagedNavigation` set to `true` and 2 months displayed (January and February), clicking the next button changes the view to March and April. If `pagedNavigation` is `false`, the view shifts to February and March."
					},
					{
						"name": "placeholder",
						"type": "DateValue",
						"default": "",
						"bindable": true,
						"required": false,
						"description": "The placeholder value of the date field. This determines the format and what date the field starts at when it is empty."
					},
					{
						"name": "preventDeselect",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether or not users can deselect a date once selected without selecting another date."
					},
					{
						"name": "readonly",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "If true, the date field will be readonly, and users will not be able to edit the values of any of the individual segments."
					},
					{
						"name": "readonlySegments",
						"type": "(\"month\" | \"year\" | \"day\" | \"hour\" | \"minute\" | \"second\" | \"dayPeriod\")[]",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "An array of segment names that should be readonly. If provided, only the segments not in this array will be editable."
					},
					{
						"name": "required",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether or not the hidden input of the date field requires a value to be submitted."
					},
					{
						"name": "validate",
						"type": "DateValidator",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A function that returns a string or array of strings as validation errors if the date is invalid, or nothing if the date is valid"
					},
					{
						"name": "value",
						"type": "DateValue",
						"default": "",
						"bindable": true,
						"required": false,
						"description": "The value of the date picker."
					},
					{
						"name": "weekdayFormat",
						"type": "\"long\" | \"short\" | \"narrow\"",
						"default": "'short'",
						"bindable": false,
						"required": false,
						"description": "How the string representation of the weekdays provided via the `weekdays` state store should be formatted. ```md - \"long\": \"Sunday\", \"Monday\", \"Tuesday\", etc. - \"short\": \"Sun\", \"Mon\", \"Tue\", etc. - \"narrow\": \"S\", \"M\", \"T\", etc. ```"
					},
					{
						"name": "weekStartsOn",
						"type": "0 | 1 | 2 | 3 | 4 | 5 | 6",
						"default": "0 (Sunday)",
						"bindable": false,
						"required": false,
						"description": "The day of the week to start the calendar on, which must be a number between 0 and 6, where 0 is Sunday and 6 is Saturday."
					},
					{
						"name": "yearFormat",
						"type": "\"numeric\" | \"2-digit\" | ((year: number) => string)",
						"default": "\"numeric\"",
						"bindable": false,
						"required": false,
						"description": "The format of the year names in the calendar."
					}
				],
				"DatePicker.Label": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"DatePicker.Input": [
					{
						"name": "child",
						"type": "Snippet<[DateFieldInputSnippetProps & { props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[DateFieldInputSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "name",
						"type": "string",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The name to use for the hidden input element of the date field, which is used to submit the ISO string value of the date field to a server. If not provided, the hidden input element will not be rendered."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"DatePicker.Segment": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "part",
						"type": "\"month\" | \"year\" | \"day\" | \"hour\" | \"minute\" | \"second\" | \"dayPeriod\" | \"timeZoneName\" | \"literal\"",
						"default": "",
						"bindable": false,
						"required": true,
						"description": ""
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"DatePicker.Trigger": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "closeDelay",
						"type": "number",
						"default": "300",
						"bindable": false,
						"required": false,
						"description": "How long to wait before closing the popover after hover ends (ms). Only applies when `openOnHover` is `true`."
					},
					{
						"name": "label",
						"type": "string",
						"default": "the Config's `strings.openCalendar`, else 'Open calendar'",
						"bindable": false,
						"required": false,
						"description": "The button's name for screen readers."
					},
					{
						"name": "openDelay",
						"type": "number",
						"default": "700",
						"bindable": false,
						"required": false,
						"description": "How long to wait before opening the popover on hover (ms). Only applies when `openOnHover` is `true`."
					},
					{
						"name": "openOnHover",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether the popover should open when the trigger is hovered."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"DatePicker.Content": [
					{
						"name": "align",
						"type": "\"start\" | \"center\" | \"end\"",
						"default": "'start'",
						"bindable": false,
						"required": false,
						"description": "The preferred alignment of the anchor to render against when open. This may change when collisions occur."
					},
					{
						"name": "alignOffset",
						"type": "number",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "An offset in pixels from the \"start\" or \"end\" alignment options."
					},
					{
						"name": "arrowPadding",
						"type": "number",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "This describes the padding between the arrow and the edges of the floating element. If your floating element has border-radius, this will prevent it from overflowing the corners."
					},
					{
						"name": "avoidCollisions",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "When `true`, overrides the `side` and `align` options to prevent collisions with the boundary edges."
					},
					{
						"name": "child",
						"type": "Snippet<[FloatingContentSnippetProps & { props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "collisionBoundary",
						"type": "Arrayable<Boundary>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A boundary element or array of elements to check for collisions against."
					},
					{
						"name": "collisionPadding",
						"type": "number | Partial<Record<\"top\" | \"right\" | \"bottom\" | \"left\", number>>",
						"default": "8",
						"bindable": false,
						"required": false,
						"description": "The amount in pixels of virtual padding around the viewport edges to check for overflow which will cause a collision."
					},
					{
						"name": "customAnchor",
						"type": "string | HTMLElement | Measurable | null",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Use an element other than the trigger to anchor the content to. If provided, the content will be anchored to the provided element instead of the trigger. You can pass a selector string or an HTMLElement."
					},
					{
						"name": "dir",
						"type": "\"ltr\" | \"rtl\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The text direction of the content."
					},
					{
						"name": "escapeKeydownBehavior",
						"type": "\"close\" | \"defer-otherwise-close\" | \"defer-otherwise-ignore\" | \"ignore\"",
						"default": "close",
						"bindable": false,
						"required": false,
						"description": "Escape behavior type. `close`: Closes the element immediately. `defer-otherwise-close`: Delegates the action to its parent component that has an escape keydown handler. If no parent is found, it closes the element. `defer-otherwise-ignore`: Delegates the action to the parent element. If no parent is found, nothing is done. `ignore`: Prevents the element from closing and also blocks the parent element from closing in response to an escape key press."
					},
					{
						"name": "forceMount",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Whether to force mount the component."
					},
					{
						"name": "hideWhenDetached",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": ""
					},
					{
						"name": "interactOutsideBehavior",
						"type": "\"close\" | \"defer-otherwise-close\" | \"defer-otherwise-ignore\" | \"ignore\"",
						"default": "close",
						"bindable": false,
						"required": false,
						"description": "Interact outside behavior type. `close`: Closes the element immediately. `defer-otherwise-close`: Delegates the action to the parent element. If no parent is found, it closes the element. `defer-otherwise-ignore`: Delegates the action to the parent element. If no parent is found, nothing is done. `ignore`: Prevents the element from closing and also blocks the parent element from closing in response to an outside interaction."
					},
					{
						"name": "onCloseAutoFocus",
						"type": "EventCallback",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Event handler called when auto-focusing on close. Can be prevented."
					},
					{
						"name": "onEscapeKeydown",
						"type": "((e: KeyboardEvent) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fired when escape is pressed."
					},
					{
						"name": "onFocusOutside",
						"type": "((event: FocusEvent) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fired when focus leaves the dismissible layer."
					},
					{
						"name": "onInteractOutside",
						"type": "InteractOutsideEventHandler",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fired when an outside interaction event completes, which is either a `pointerup`, `mouseup`, or `touchend` event, depending on the user's input device."
					},
					{
						"name": "onOpenAutoFocus",
						"type": "EventCallback",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Event handler called when auto-focusing on open. Can be prevented."
					},
					{
						"name": "portalProps",
						"type": "PortalProps",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Props for the portal the content renders in: `to` (the element to render in, the body by default) and `disabled` (render in place)."
					},
					{
						"name": "preventOverflowTextSelection",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "Passing `true` will prevent the overflow of text selection outside the element, provided the element is the top layer."
					},
					{
						"name": "preventScroll",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "Whether to prevent scrolling the body when the content is open. Whether to prevent body scrolling when the content is open."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "side",
						"type": "\"top\" | \"right\" | \"bottom\" | \"left\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The preferred side of the anchor to render against when open. Will be reversed when collisions occur."
					},
					{
						"name": "sideOffset",
						"type": "number",
						"default": "4",
						"bindable": false,
						"required": false,
						"description": "The distance in pixels from the anchor to the floating element."
					},
					{
						"name": "sticky",
						"type": "\"partial\" | \"always\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": ""
					},
					{
						"name": "strategy",
						"type": "\"absolute\" | \"fixed\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The positioning strategy to use for the floating element."
					},
					{
						"name": "trapFocus",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether focus is trapped within the focus scope."
					},
					{
						"name": "updatePositionStrategy",
						"type": "\"always\" | \"optimized\"",
						"default": "\"optimized\"",
						"bindable": false,
						"required": false,
						"description": "\"optimized\" will only update the position when necessary, while \"always\" will update the position on each animation frame, which is useful if the floating content is following something like a mouse cursor."
					}
				],
				"DatePicker.Portal": [
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The children content to render within the portal."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Disable portalling and render the component inline"
					},
					{
						"name": "to",
						"type": "PortalTarget",
						"default": "document.body",
						"bindable": false,
						"required": false,
						"description": "Where to portal the content to."
					}
				],
				"DatePicker.Calendar": [
					{
						"name": "child",
						"type": "Snippet<[CalendarRootSnippetProps & { props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[CalendarRootSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"DatePicker.Header": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"DatePicker.Heading": [
					{
						"name": "child",
						"type": "Snippet<[CalendarHeadingSnippetProps & { props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[CalendarHeadingSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"DatePicker.PrevButton": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"DatePicker.NextButton": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"DatePicker.Months": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"DatePicker.Grid": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"DatePicker.GridHead": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"DatePicker.GridBody": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"DatePicker.GridRow": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"DatePicker.HeadCell": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"DatePicker.Cell": [
					{
						"name": "child",
						"type": "Snippet<[CalendarCellSnippetProps & { props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[CalendarCellSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "date",
						"type": "DateValue",
						"default": "",
						"bindable": false,
						"required": true,
						"description": "The date value of the cell."
					},
					{
						"name": "month",
						"type": "DateValue",
						"default": "",
						"bindable": false,
						"required": true,
						"description": "The month DateValue that this cell is being rendered in."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"DatePicker.Day": [
					{
						"name": "child",
						"type": "Snippet<[CalendarDaySnippetProps & { props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[CalendarDaySnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				]
			},
			"examples": [
				{
					"slug": "01-basic",
					"title": "Basic",
					"description": "Type the date, or open the calendar with the button.",
					"code": "<script lang=\"ts\">\n\timport { DatePicker, Field, type DateValue } from '@limerdev/zest';\n\n\tlet due: DateValue | undefined = $state();\n</script>\n\n<Field.Root class=\"w-auto\">\n\t<DatePicker.Root bind:value={due}>\n\t\t<DatePicker.Label>Due date</DatePicker.Label>\n\t\t<DatePicker.Input />\n\t\t<DatePicker.Content />\n\t</DatePicker.Root>\n\t<Field.Description>\n\t\t{due ? `Due ${due.toString()}` : 'When the invoice is due.'}\n\t</Field.Description>\n</Field.Root>"
				}
			]
		},
		{
			"name": "DateRangeField",
			"slug": "date-range-field",
			"summary": "A period typed as two dates, segment by segment: `<DateRangeField.Root>` (`bind:value` a `{ start, end }` of `DateValue`s, `granularity`, `minValue`, `maxValue`) holds a `DateRangeField.Label` (which names both dates; use it instead of `Field.Label`) and `DateRangeField.Inputs`, one box that draws the start and end `DateRangeField.Input`s (`type=\"start\"`, `\"end\"`). Inside a `Field`, its description and error describe the inputs.",
			"category": "Data input",
			"bits": "DateRangeField",
			"use": "A period people type: a contract's term, a report's dates, an absence.",
			"avoid": "Picking a period where seeing the months helps: use `DateRangePicker`. One date: use `DateField`.",
			"example": "<script lang=\"ts\">\n  import { DateRangeField, Field, type DateValue } from '@limerdev/zest';\n\n  type Range = { start: DateValue | undefined; end: DateValue | undefined };\n\n  let period: Range = $state({ start: undefined, end: undefined });\n</script>\n\n<Field.Root>\n  <DateRangeField.Root bind:value={period}>\n    <DateRangeField.Label>Contract term</DateRangeField.Label>\n    <DateRangeField.Inputs />\n  </DateRangeField.Root>\n</Field.Root>",
			"importLine": "import { DateRangeField } from '@limerdev/zest'",
			"parts": [
				"DateRangeField.Root",
				"DateRangeField.Label",
				"DateRangeField.Inputs",
				"DateRangeField.Input",
				"DateRangeField.Segment"
			],
			"props": {
				"DateRangeField.Root": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "If true, the date field will be disabled and users will not be able to interact with it. This also disables the hidden input element if the date field is used in a form."
					},
					{
						"name": "errorMessageId",
						"type": "string",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The `id` of the element which contains the error messages for the date field when the date is invalid."
					},
					{
						"name": "granularity",
						"type": "\"day\" | \"hour\" | \"minute\" | \"second\"",
						"default": "'day'",
						"bindable": false,
						"required": false,
						"description": "The granularity of the date field. This determines which segments will be includes in the segments array used to build the date field. By default, when a `CalendarDate` value is used, the granularity will default to `'day'`, and when a `CalendarDateTime` or `ZonedDateTime` value is used, the granularity will default to `'minute'`. Granularity is only used for visual purposes, and does not impact the value of the date field. You can have the same value synced between multiple date fields with different granularities and they will all contain the same value."
					},
					{
						"name": "hideTimeZone",
						"type": "boolean",
						"default": "false;",
						"bindable": false,
						"required": false,
						"description": "Whether or not to hide the timeZoneName segment from the date field."
					},
					{
						"name": "hourCycle",
						"type": "12 | 24",
						"default": "the locale's default time format",
						"bindable": false,
						"required": false,
						"description": "The format to use for displaying the time in the input. If using a 12 hour clock, ensure you also include the `dayPeriod` segment in your input to ensure the user can select AM/PM."
					},
					{
						"name": "locale",
						"type": "string",
						"default": "'en'",
						"bindable": false,
						"required": false,
						"description": "The locale to use for formatting the date field."
					},
					{
						"name": "maxValue",
						"type": "DateValue",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The maximum acceptable date. When provided, the date field will be marked as invalid if the user enters a date after this date."
					},
					{
						"name": "minValue",
						"type": "DateValue",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The minimum acceptable date. When provided, the date field will be marked as invalid if the user enters a date before this date."
					},
					{
						"name": "onEndValueChange",
						"type": "OnChangeFn<DateValue | undefined>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback function called when the end value changes. This doesn't necessarily mean the `value` has updated and should be used to apply cosmetic changes to the calendar when only part of the value is changed/completed."
					},
					{
						"name": "onInvalid",
						"type": "DateOnInvalid",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback fired when the date field's value is invalid. Use this to display an error message to the user."
					},
					{
						"name": "onPlaceholderChange",
						"type": "OnChangeFn<DateValue | undefined>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback that is called when the date field's placeholder value changes."
					},
					{
						"name": "onStartValueChange",
						"type": "OnChangeFn<DateValue | undefined>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback function called when the start value changes. This doesn't necessarily mean the `value` has updated and should be used to apply cosmetic changes to the calendar when only part of the value is changed/completed."
					},
					{
						"name": "onValueChange",
						"type": "OnChangeFn<DateRange | undefined>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback that is called when the value of the date range field changes."
					},
					{
						"name": "placeholder",
						"type": "DateValue",
						"default": "",
						"bindable": true,
						"required": false,
						"description": "The placeholder value of the date field. This determines the format and what date the field starts at when it is empty."
					},
					{
						"name": "readonly",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "If true, the date field will be readonly, and users will not be able to edit the values of any of the individual segments."
					},
					{
						"name": "readonlySegments",
						"type": "(\"month\" | \"year\" | \"day\" | \"hour\" | \"minute\" | \"second\" | \"dayPeriod\")[]",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "An array of segment names that should be readonly. If provided, only the segments not in this array will be editable."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "required",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "If true, the date field will be required, which is useful when used within a form. If the date field is empty when the form is submitted, the form will not be valid."
					},
					{
						"name": "validate",
						"type": "DateRangeValidator",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A function that returns a string or array of strings as validation errors if the date is invalid, or nothing if the date is valid"
					},
					{
						"name": "value",
						"type": "DateRange",
						"default": "",
						"bindable": true,
						"required": false,
						"description": "The value of the date range field."
					}
				],
				"DateRangeField.Label": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"DateRangeField.Inputs": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"DateRangeField.Input": [
					{
						"name": "child",
						"type": "Snippet<[DateRangeFieldInputSnippetProps & { props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[DateRangeFieldInputSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "name",
						"type": "string",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The name to use for the hidden input element associated with this input used for form submission."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "type",
						"type": "\"start\" | \"end\"",
						"default": "",
						"bindable": false,
						"required": true,
						"description": "Whether this input represents the start or end of the date range."
					}
				],
				"DateRangeField.Segment": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "part",
						"type": "\"month\" | \"year\" | \"day\" | \"hour\" | \"minute\" | \"second\" | \"dayPeriod\" | \"timeZoneName\" | \"literal\"",
						"default": "",
						"bindable": false,
						"required": true,
						"description": ""
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				]
			},
			"examples": [
				{
					"slug": "01-basic",
					"title": "Basic",
					"description": "One box with the start and end dates.",
					"code": "<script lang=\"ts\">\n\timport { DateRangeField, Field, type DateValue } from '@limerdev/zest';\n\n\ttype Range = { start: DateValue | undefined; end: DateValue | undefined };\n\n\tlet term: Range = $state({ start: undefined, end: undefined });\n</script>\n\n<Field.Root class=\"w-auto\">\n\t<DateRangeField.Root bind:value={term}>\n\t\t<DateRangeField.Label>Contract term</DateRangeField.Label>\n\t\t<DateRangeField.Inputs />\n\t</DateRangeField.Root>\n\t<Field.Description>\n\t\t{term.start?.toString() ?? '…'} to {term.end?.toString() ?? '…'}\n\t</Field.Description>\n</Field.Root>"
				}
			]
		},
		{
			"name": "DateRangePicker",
			"slug": "date-range-picker",
			"summary": "A period typed as two dates or picked from a calendar in a popover: `<DateRangePicker.Root>` (`bind:value` a `{ start, end }` of `DateValue`s, `bind:open`, `minDays`, `maxDays`, `minValue`, `maxValue`, `numberOfMonths`) holds a `DateRangePicker.Label` (which names it; use it instead of `Field.Label`), `DateRangePicker.Inputs` (one box with the start and end inputs and the calendar button) and a `DateRangePicker.Content` (the popover, which draws a range calendar). Inside a `Field`, its description and error describe it.",
			"category": "Data input",
			"bits": "DateRangePicker",
			"use": "A period in a form where seeing the months helps: a report's dates, an absence, a project phase.",
			"avoid": "A single date: use `DatePicker`. A period people type: use `DateRangeField`.",
			"example": "<script lang=\"ts\">\n  import { DateRangePicker, Field, type DateValue } from '@limerdev/zest';\n\n  type Range = { start: DateValue | undefined; end: DateValue | undefined };\n\n  let period: Range = $state({ start: undefined, end: undefined });\n</script>\n\n<Field.Root>\n  <DateRangePicker.Root bind:value={period} numberOfMonths={2}>\n    <DateRangePicker.Label>Report period</DateRangePicker.Label>\n    <DateRangePicker.Inputs />\n    <DateRangePicker.Content />\n  </DateRangePicker.Root>\n</Field.Root>",
			"importLine": "import { DateRangePicker } from '@limerdev/zest'",
			"parts": [
				"DateRangePicker.Root",
				"DateRangePicker.Label",
				"DateRangePicker.Inputs",
				"DateRangePicker.Input",
				"DateRangePicker.Segment",
				"DateRangePicker.Trigger",
				"DateRangePicker.Content",
				"DateRangePicker.Portal",
				"DateRangePicker.Calendar",
				"DateRangePicker.Header",
				"DateRangePicker.Heading",
				"DateRangePicker.PrevButton",
				"DateRangePicker.NextButton",
				"DateRangePicker.Months",
				"DateRangePicker.Grid",
				"DateRangePicker.GridHead",
				"DateRangePicker.GridBody",
				"DateRangePicker.GridRow",
				"DateRangePicker.HeadCell",
				"DateRangePicker.Cell",
				"DateRangePicker.Day"
			],
			"props": {
				"DateRangePicker.Root": [
					{
						"name": "calendarLabel",
						"type": "string",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "This label is exclusively used for accessibility, remaining hidden from the page. It's read by screen readers when the calendar is opened. The current month and year are automatically appended to the label, so you only need to provide the base label. For instance: - 'Date of birth' will be read as 'Date of birth, January 2021' if the current month is January 2021. - 'Appointment date' will be read as 'Appointment date, January 2021' if the current month is January 2021. - 'Booking date' will be read as 'Booking date, January 2021' if the current month is January 2021."
					},
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "closeOnRangeSelect",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "Whether to close the popover when a date range is selected."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "If true, the date field will be disabled and users will not be able to interact with it. This also disables the hidden input element if the date field is used in a form."
					},
					{
						"name": "disableDaysOutsideMonth",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether to disable the selection of days outside the current month. By default, days outside the current month are rendered to fill the calendar grid, but they are not selectable. Setting this prop to `true` will disable this behavior."
					},
					{
						"name": "errorMessageId",
						"type": "string",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The `id` of the element which contains the error messages for the date field when the date is invalid."
					},
					{
						"name": "excludeDisabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether to automatically reset the range if any date within the selected range becomes disabled. When true, the entire range will be cleared if a disabled date is found between the start and end dates."
					},
					{
						"name": "fixedWeeks",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Display 6 weeks per month, regardless the month's number of weeks. This is useful for displaying a consistent calendar, where the size of the calendar doesn't change month to month. To display 6 weeks per month, you will need to render out the previous and next month's dates in the calendar as well."
					},
					{
						"name": "granularity",
						"type": "\"day\" | \"hour\" | \"minute\" | \"second\"",
						"default": "'day'",
						"bindable": false,
						"required": false,
						"description": "The granularity of the date field. This determines which segments will be includes in the segments array used to build the date field. By default, when a `CalendarDate` value is used, the granularity will default to `'day'`, and when a `CalendarDateTime` or `ZonedDateTime` value is used, the granularity will default to `'minute'`. Granularity is only used for visual purposes, and does not impact the value of the date field. You can have the same value synced between multiple date fields with different granularities and they will all contain the same value."
					},
					{
						"name": "hideTimeZone",
						"type": "boolean",
						"default": "false;",
						"bindable": false,
						"required": false,
						"description": "Whether or not to hide the timeZoneName segment from the date field."
					},
					{
						"name": "hourCycle",
						"type": "12 | 24",
						"default": "the locale's default time format",
						"bindable": false,
						"required": false,
						"description": "The format to use for displaying the time in the input. If using a 12 hour clock, ensure you also include the `dayPeriod` segment in your input to ensure the user can select AM/PM."
					},
					{
						"name": "isDateDisabled",
						"type": "DateMatcher",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A function that returns true if the given date is disabled, which makes the date unable to be selected in the calendar."
					},
					{
						"name": "isDateUnavailable",
						"type": "DateMatcher",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A function that returns true if the given date is unavailable, where if selected, the date field will be marked as invalid."
					},
					{
						"name": "locale",
						"type": "string",
						"default": "'en'",
						"bindable": false,
						"required": false,
						"description": "The locale to use for formatting the date field."
					},
					{
						"name": "maxDays",
						"type": "number",
						"default": "undefined",
						"bindable": false,
						"required": false,
						"description": "The maximum number of days that can be selected in a range."
					},
					{
						"name": "maxValue",
						"type": "DateValue",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The maximum acceptable date. When provided, the date field will be marked as invalid if the user enters a date after this date."
					},
					{
						"name": "minDays",
						"type": "number",
						"default": "undefined",
						"bindable": false,
						"required": false,
						"description": "The minimum number of days that can be selected in a range."
					},
					{
						"name": "minValue",
						"type": "DateValue",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The minimum acceptable date. When provided, the date field will be marked as invalid if the user enters a date before this date."
					},
					{
						"name": "monthFormat",
						"type": "\"numeric\" | \"long\" | \"short\" | \"narrow\" | \"2-digit\" | ((month: number) => string)",
						"default": "\"long\"",
						"bindable": false,
						"required": false,
						"description": "The format of the month names in the calendar."
					},
					{
						"name": "numberOfMonths",
						"type": "number",
						"default": "1",
						"bindable": false,
						"required": false,
						"description": "Determines the number of months to display on the calendar simultaneously. For navigation between months, refer to the `pagedNavigation` prop."
					},
					{
						"name": "onEndValueChange",
						"type": "OnChangeFn<DateValue | undefined>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback function called when the end value changes. This doesn't necessarily mean the `value` has updated and should be used to apply cosmetic changes to the calendar when only part of the value is changed/completed."
					},
					{
						"name": "onInvalid",
						"type": "DateOnInvalid",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback fired when the date field's value is invalid. Use this to display an error message to the user."
					},
					{
						"name": "onOpenChange",
						"type": "OnChangeFn<boolean>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback function called when the open state changes."
					},
					{
						"name": "onOpenChangeComplete",
						"type": "OnChangeFn<boolean>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback function called when the open state changes complete."
					},
					{
						"name": "onPlaceholderChange",
						"type": "OnChangeFn<DateValue>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback function called when the placeholder value changes."
					},
					{
						"name": "onStartValueChange",
						"type": "OnChangeFn<DateValue | undefined>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback function called when the start value changes. This doesn't necessarily mean the `value` has updated and should be used to apply cosmetic changes to the calendar when only part of the value is changed/completed."
					},
					{
						"name": "onValueChange",
						"type": "OnChangeFn<DateRange>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback function called when the value changes."
					},
					{
						"name": "open",
						"type": "boolean",
						"default": "false",
						"bindable": true,
						"required": false,
						"description": "The open state of the date picker popover."
					},
					{
						"name": "pagedNavigation",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Applicable only when `numberOfMonths` is greater than 1. Controls whether to use paged navigation for the next and previous buttons in the date picker. With paged navigation set to `true`, clicking the next/prev buttons changes all months in view. When set to `false`, it shifts the view by a single month. For example, with `pagedNavigation` set to `true` and 2 months displayed (January and February), clicking the next button changes the view to March and April. If `pagedNavigation` is `false`, the view shifts to February and March."
					},
					{
						"name": "placeholder",
						"type": "DateValue",
						"default": "",
						"bindable": true,
						"required": false,
						"description": "The placeholder value of the date field. This determines the format and what date the field starts at when it is empty."
					},
					{
						"name": "preventDeselect",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether or not users can deselect a date once selected without selecting another date."
					},
					{
						"name": "readonly",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "If true, the date field will be readonly, and users will not be able to edit the values of any of the individual segments."
					},
					{
						"name": "readonlySegments",
						"type": "(\"month\" | \"year\" | \"day\" | \"hour\" | \"minute\" | \"second\" | \"dayPeriod\")[]",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "An array of segment names that should be readonly. If provided, only the segments not in this array will be editable."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "required",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether or not the hidden input of the date field requires a value to be submitted."
					},
					{
						"name": "validate",
						"type": "DateRangeValidator",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A function that returns a string or array of strings as validation errors if the date is invalid, or nothing if the date is valid"
					},
					{
						"name": "value",
						"type": "DateRange",
						"default": "",
						"bindable": true,
						"required": false,
						"description": "The value of the date picker."
					},
					{
						"name": "weekdayFormat",
						"type": "\"long\" | \"short\" | \"narrow\"",
						"default": "'short'",
						"bindable": false,
						"required": false,
						"description": "How the string representation of the weekdays provided via the `weekdays` state store should be formatted. ```md - \"long\": \"Sunday\", \"Monday\", \"Tuesday\", etc. - \"short\": \"Sun\", \"Mon\", \"Tue\", etc. - \"narrow\": \"S\", \"M\", \"T\", etc. ```"
					},
					{
						"name": "weekStartsOn",
						"type": "0 | 1 | 2 | 3 | 4 | 5 | 6",
						"default": "0 (Sunday)",
						"bindable": false,
						"required": false,
						"description": "The day of the week to start the calendar on, which must be a number between 0 and 6, where 0 is Sunday and 6 is Saturday."
					},
					{
						"name": "yearFormat",
						"type": "\"numeric\" | \"2-digit\" | ((year: number) => string)",
						"default": "\"numeric\"",
						"bindable": false,
						"required": false,
						"description": "The format of the year names in the calendar."
					}
				],
				"DateRangePicker.Label": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"DateRangePicker.Inputs": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"DateRangePicker.Input": [
					{
						"name": "child",
						"type": "Snippet<[DateRangeFieldInputSnippetProps & { props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[DateRangeFieldInputSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "name",
						"type": "string",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The name to use for the hidden input element associated with this input used for form submission."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "type",
						"type": "\"start\" | \"end\"",
						"default": "",
						"bindable": false,
						"required": true,
						"description": "Whether this input represents the start or end of the date range."
					}
				],
				"DateRangePicker.Segment": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "part",
						"type": "\"month\" | \"year\" | \"day\" | \"hour\" | \"minute\" | \"second\" | \"dayPeriod\" | \"timeZoneName\" | \"literal\"",
						"default": "",
						"bindable": false,
						"required": true,
						"description": ""
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"DateRangePicker.Trigger": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "closeDelay",
						"type": "number",
						"default": "300",
						"bindable": false,
						"required": false,
						"description": "How long to wait before closing the popover after hover ends (ms). Only applies when `openOnHover` is `true`."
					},
					{
						"name": "label",
						"type": "string",
						"default": "the Config's `strings.openCalendar`, else 'Open calendar'",
						"bindable": false,
						"required": false,
						"description": "The button's name for screen readers."
					},
					{
						"name": "openDelay",
						"type": "number",
						"default": "700",
						"bindable": false,
						"required": false,
						"description": "How long to wait before opening the popover on hover (ms). Only applies when `openOnHover` is `true`."
					},
					{
						"name": "openOnHover",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether the popover should open when the trigger is hovered."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"DateRangePicker.Content": [
					{
						"name": "align",
						"type": "\"start\" | \"center\" | \"end\"",
						"default": "'start'",
						"bindable": false,
						"required": false,
						"description": "The preferred alignment of the anchor to render against when open. This may change when collisions occur."
					},
					{
						"name": "alignOffset",
						"type": "number",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "An offset in pixels from the \"start\" or \"end\" alignment options."
					},
					{
						"name": "arrowPadding",
						"type": "number",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "This describes the padding between the arrow and the edges of the floating element. If your floating element has border-radius, this will prevent it from overflowing the corners."
					},
					{
						"name": "avoidCollisions",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "When `true`, overrides the `side` and `align` options to prevent collisions with the boundary edges."
					},
					{
						"name": "child",
						"type": "Snippet<[FloatingContentSnippetProps & { props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "collisionBoundary",
						"type": "Arrayable<Boundary>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A boundary element or array of elements to check for collisions against."
					},
					{
						"name": "collisionPadding",
						"type": "number | Partial<Record<\"top\" | \"right\" | \"bottom\" | \"left\", number>>",
						"default": "8",
						"bindable": false,
						"required": false,
						"description": "The amount in pixels of virtual padding around the viewport edges to check for overflow which will cause a collision."
					},
					{
						"name": "customAnchor",
						"type": "string | HTMLElement | Measurable | null",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Use an element other than the trigger to anchor the content to. If provided, the content will be anchored to the provided element instead of the trigger. You can pass a selector string or an HTMLElement."
					},
					{
						"name": "dir",
						"type": "\"ltr\" | \"rtl\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The text direction of the content."
					},
					{
						"name": "escapeKeydownBehavior",
						"type": "\"close\" | \"defer-otherwise-close\" | \"defer-otherwise-ignore\" | \"ignore\"",
						"default": "close",
						"bindable": false,
						"required": false,
						"description": "Escape behavior type. `close`: Closes the element immediately. `defer-otherwise-close`: Delegates the action to its parent component that has an escape keydown handler. If no parent is found, it closes the element. `defer-otherwise-ignore`: Delegates the action to the parent element. If no parent is found, nothing is done. `ignore`: Prevents the element from closing and also blocks the parent element from closing in response to an escape key press."
					},
					{
						"name": "forceMount",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Whether to force mount the component."
					},
					{
						"name": "hideWhenDetached",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": ""
					},
					{
						"name": "interactOutsideBehavior",
						"type": "\"close\" | \"defer-otherwise-close\" | \"defer-otherwise-ignore\" | \"ignore\"",
						"default": "close",
						"bindable": false,
						"required": false,
						"description": "Interact outside behavior type. `close`: Closes the element immediately. `defer-otherwise-close`: Delegates the action to the parent element. If no parent is found, it closes the element. `defer-otherwise-ignore`: Delegates the action to the parent element. If no parent is found, nothing is done. `ignore`: Prevents the element from closing and also blocks the parent element from closing in response to an outside interaction."
					},
					{
						"name": "onCloseAutoFocus",
						"type": "EventCallback",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Event handler called when auto-focusing on close. Can be prevented."
					},
					{
						"name": "onEscapeKeydown",
						"type": "((e: KeyboardEvent) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fired when escape is pressed."
					},
					{
						"name": "onFocusOutside",
						"type": "((event: FocusEvent) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fired when focus leaves the dismissible layer."
					},
					{
						"name": "onInteractOutside",
						"type": "InteractOutsideEventHandler",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fired when an outside interaction event completes, which is either a `pointerup`, `mouseup`, or `touchend` event, depending on the user's input device."
					},
					{
						"name": "onOpenAutoFocus",
						"type": "EventCallback",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Event handler called when auto-focusing on open. Can be prevented."
					},
					{
						"name": "portalProps",
						"type": "PortalProps",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Props for the portal the content renders in: `to` (the element to render in, the body by default) and `disabled` (render in place)."
					},
					{
						"name": "preventOverflowTextSelection",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "Passing `true` will prevent the overflow of text selection outside the element, provided the element is the top layer."
					},
					{
						"name": "preventScroll",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "Whether to prevent scrolling the body when the content is open. Whether to prevent body scrolling when the content is open."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "side",
						"type": "\"top\" | \"right\" | \"bottom\" | \"left\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The preferred side of the anchor to render against when open. Will be reversed when collisions occur."
					},
					{
						"name": "sideOffset",
						"type": "number",
						"default": "4",
						"bindable": false,
						"required": false,
						"description": "The distance in pixels from the anchor to the floating element."
					},
					{
						"name": "sticky",
						"type": "\"partial\" | \"always\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": ""
					},
					{
						"name": "strategy",
						"type": "\"absolute\" | \"fixed\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The positioning strategy to use for the floating element."
					},
					{
						"name": "trapFocus",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether focus is trapped within the focus scope."
					},
					{
						"name": "updatePositionStrategy",
						"type": "\"always\" | \"optimized\"",
						"default": "\"optimized\"",
						"bindable": false,
						"required": false,
						"description": "\"optimized\" will only update the position when necessary, while \"always\" will update the position on each animation frame, which is useful if the floating content is following something like a mouse cursor."
					}
				],
				"DateRangePicker.Portal": [
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The children content to render within the portal."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Disable portalling and render the component inline"
					},
					{
						"name": "to",
						"type": "PortalTarget",
						"default": "document.body",
						"bindable": false,
						"required": false,
						"description": "Where to portal the content to."
					}
				],
				"DateRangePicker.Calendar": [
					{
						"name": "child",
						"type": "Snippet<[CalendarRootSnippetProps & { props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[CalendarRootSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"DateRangePicker.Header": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"DateRangePicker.Heading": [
					{
						"name": "child",
						"type": "Snippet<[CalendarHeadingSnippetProps & { props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[CalendarHeadingSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"DateRangePicker.PrevButton": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"DateRangePicker.NextButton": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"DateRangePicker.Months": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"DateRangePicker.Grid": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"DateRangePicker.GridHead": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"DateRangePicker.GridBody": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"DateRangePicker.GridRow": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"DateRangePicker.HeadCell": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"DateRangePicker.Cell": [
					{
						"name": "child",
						"type": "Snippet<[CalendarCellSnippetProps & { props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[CalendarCellSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "date",
						"type": "DateValue",
						"default": "",
						"bindable": false,
						"required": true,
						"description": "The date value of the cell."
					},
					{
						"name": "month",
						"type": "DateValue",
						"default": "",
						"bindable": false,
						"required": true,
						"description": "The month DateValue that this cell is being rendered in."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"DateRangePicker.Day": [
					{
						"name": "child",
						"type": "Snippet<[CalendarDaySnippetProps & { props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[CalendarDaySnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				]
			},
			"examples": [
				{
					"slug": "01-basic",
					"title": "Basic",
					"description": "Type the dates, or pick the first and last day in the calendar.",
					"code": "<script lang=\"ts\">\n\timport { DateRangePicker, Field, type DateValue } from '@limerdev/zest';\n\n\ttype Range = { start: DateValue | undefined; end: DateValue | undefined };\n\n\tlet period: Range = $state({ start: undefined, end: undefined });\n</script>\n\n<Field.Root class=\"w-auto\">\n\t<DateRangePicker.Root bind:value={period} numberOfMonths={2}>\n\t\t<DateRangePicker.Label>Report period</DateRangePicker.Label>\n\t\t<DateRangePicker.Inputs />\n\t\t<DateRangePicker.Content />\n\t</DateRangePicker.Root>\n</Field.Root>"
				}
			]
		},
		{
			"name": "DescriptionList",
			"slug": "description-list",
			"summary": "Names and their values, the detail view of a record: a `<dl>`. Given `items` (`{ term, details }`), `<DescriptionList.Root items={…} />` draws them. Composed, each `DescriptionList.Item` holds a `DescriptionList.Term` and its `DescriptionList.Details`, which can hold anything: a `Badge`, a link, a `Button`. `orientation`: terms beside the values in two aligned columns (`horizontal`, the default) or above them (`vertical`).",
			"category": "Data display",
			"bits": "",
			"use": "The facts of one record: a customer's details, an invoice's status and dates, a user's settings summary.",
			"avoid": "Many records with the same fields: use `Table`. Values the user edits: use a form of `Field`s.",
			"example": "<script lang=\"ts\">\n  import { Badge, DescriptionList } from '@limerdev/zest';\n</script>\n\n<DescriptionList.Root>\n  <DescriptionList.Item>\n    <DescriptionList.Term>Customer</DescriptionList.Term>\n    <DescriptionList.Details>Acme AB</DescriptionList.Details>\n  </DescriptionList.Item>\n  <DescriptionList.Item>\n    <DescriptionList.Term>Status</DescriptionList.Term>\n    <DescriptionList.Details><Badge variant=\"success\">Paid</Badge></DescriptionList.Details>\n  </DescriptionList.Item>\n</DescriptionList.Root>",
			"importLine": "import { DescriptionList } from '@limerdev/zest'",
			"parts": [
				"DescriptionList.Root",
				"DescriptionList.Item",
				"DescriptionList.Term",
				"DescriptionList.Details"
			],
			"props": {
				"DescriptionList.Root": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "items",
						"type": "DescriptionListEntry[]",
						"default": "[]",
						"bindable": false,
						"required": false,
						"description": "The names and values, drawn when the list has no children."
					},
					{
						"name": "orientation",
						"type": "\"horizontal\" | \"vertical\"",
						"default": "'horizontal'",
						"bindable": false,
						"required": false,
						"description": "Terms beside their values in two columns (`horizontal`), or above them (`vertical`, for a narrow space)."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"DescriptionList.Item": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"DescriptionList.Term": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"DescriptionList.Details": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				]
			},
			"examples": [
				{
					"slug": "01-a-record",
					"title": "A record",
					"description": "An invoice's facts: terms beside their values, which can be any content.",
					"code": "<script lang=\"ts\">\n\timport { Badge, DescriptionList } from '@limerdev/zest';\n</script>\n\n<DescriptionList.Root class=\"w-full max-w-md\">\n\t<DescriptionList.Item>\n\t\t<DescriptionList.Term>Customer</DescriptionList.Term>\n\t\t<DescriptionList.Details><a class=\"text-link\" href=\"#acme\">Acme AB</a></DescriptionList.Details>\n\t</DescriptionList.Item>\n\t<DescriptionList.Item>\n\t\t<DescriptionList.Term>Status</DescriptionList.Term>\n\t\t<DescriptionList.Details><Badge variant=\"success\">Paid</Badge></DescriptionList.Details>\n\t</DescriptionList.Item>\n\t<DescriptionList.Item>\n\t\t<DescriptionList.Term>Amount</DescriptionList.Term>\n\t\t<DescriptionList.Details>48 200 kr</DescriptionList.Details>\n\t</DescriptionList.Item>\n\t<DescriptionList.Item>\n\t\t<DescriptionList.Term>Due</DescriptionList.Term>\n\t\t<DescriptionList.Details>12 January 2027</DescriptionList.Details>\n\t</DescriptionList.Item>\n</DescriptionList.Root>"
				},
				{
					"slug": "02-items-vertical",
					"title": "Items vertical",
					"description": "Given items, the list draws them; vertical puts each term above its value, for a narrow space.",
					"code": "<script lang=\"ts\">\n\timport { DescriptionList } from '@limerdev/zest';\n</script>\n\n<DescriptionList.Root\n\torientation=\"vertical\"\n\tclass=\"w-64\"\n\titems={[\n\t\t{ term: 'Organisation number', details: '556677-8899' },\n\t\t{ term: 'Contact', details: 'Maja Lind' },\n\t\t{ term: 'Payment terms', details: '30 days' }\n\t]}\n/>"
				}
			]
		},
		{
			"name": "Dialog",
			"slug": "dialog",
			"summary": "A modal window over the page: focus moves into it and stays there, Escape and the close button close it, and focus returns to the trigger. `<Dialog.Root>` (`bind:open`) holds a `Dialog.Trigger` (a button: `variant`, `size`) and a `Dialog.Content` with a `Dialog.Header` (`Dialog.Title`, needed, and `Dialog.Description`) and a `Dialog.Footer`.",
			"category": "Overlays",
			"bits": "Dialog",
			"use": "Confirming a destructive action, a short form (rename, invite), details that need the user's full attention before they go on.",
			"avoid": "Long or multi-step flows: use a page. Information the user can ignore: use a toast or an inline alert. A Dialog.Content without a Dialog.Title. Stacking dialogs. Confirming something that can't be undone: use `AlertDialog`.",
			"example": "<script lang=\"ts\">\n  import { Button, Dialog } from '@limerdev/zest';\n\n  let open = $state(false);\n</script>\n\n<Dialog.Root bind:open>\n  <Dialog.Trigger variant=\"outline\">Rename project</Dialog.Trigger>\n  <Dialog.Content>\n    <Dialog.Header>\n      <Dialog.Title>Rename project</Dialog.Title>\n      <Dialog.Description>The name shows in the sidebar and in emails.</Dialog.Description>\n    </Dialog.Header>\n    <Dialog.Footer>\n      <Dialog.Close variant=\"outline\">Cancel</Dialog.Close>\n      <Button onclick={save}>Save</Button>\n    </Dialog.Footer>\n  </Dialog.Content>\n</Dialog.Root>",
			"importLine": "import { Dialog } from '@limerdev/zest'",
			"parts": [
				"Dialog.Root",
				"Dialog.Trigger",
				"Dialog.Close",
				"Dialog.Portal",
				"Dialog.Overlay",
				"Dialog.Content",
				"Dialog.Header",
				"Dialog.Footer",
				"Dialog.Title",
				"Dialog.Description"
			],
			"props": {
				"Dialog.Root": [
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "onOpenChange",
						"type": "OnChangeFn<boolean>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback that is called when the popover's open state changes."
					},
					{
						"name": "onOpenChangeComplete",
						"type": "OnChangeFn<boolean>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback called when the dialog finishes opening/closing animations."
					},
					{
						"name": "open",
						"type": "boolean",
						"default": "false",
						"bindable": true,
						"required": false,
						"description": "The open state of the dialog."
					}
				],
				"Dialog.Trigger": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "size",
						"type": "\"default\" | \"sm\" | \"lg\" | \"icon\" | \"icon-sm\" | \"icon-lg\"",
						"default": "'default'",
						"bindable": false,
						"required": false,
						"description": "The height and padding, from the theme's field size; the `icon` sizes are square."
					},
					{
						"name": "variant",
						"type": "\"link\" | \"primary\" | \"secondary\" | \"neutral\" | \"error\" | \"outline\" | \"ghost\"",
						"default": "'primary'",
						"bindable": false,
						"required": false,
						"description": "The look, by the theme's colour roles: `primary` for the main action, `error` for deleting, `secondary`, `neutral` and `outline` for the rest, `ghost` in toolbars, `link` for a navigation that looks like text."
					}
				],
				"Dialog.Close": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "size",
						"type": "\"default\" | \"sm\" | \"lg\" | \"icon\" | \"icon-sm\" | \"icon-lg\"",
						"default": "'default'",
						"bindable": false,
						"required": false,
						"description": "The height and padding, from the theme's field size; the `icon` sizes are square."
					},
					{
						"name": "variant",
						"type": "\"link\" | \"primary\" | \"secondary\" | \"neutral\" | \"error\" | \"outline\" | \"ghost\"",
						"default": "'primary'",
						"bindable": false,
						"required": false,
						"description": "The look, by the theme's colour roles: `primary` for the main action, `error` for deleting, `secondary`, `neutral` and `outline` for the rest, `ghost` in toolbars, `link` for a navigation that looks like text."
					}
				],
				"Dialog.Portal": [
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The children content to render within the portal."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Disable portalling and render the component inline"
					},
					{
						"name": "to",
						"type": "PortalTarget",
						"default": "document.body",
						"bindable": false,
						"required": false,
						"description": "Where to portal the content to."
					}
				],
				"Dialog.Overlay": [
					{
						"name": "child",
						"type": "Snippet<[DialogOverlaySnippetProps & { props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[DialogOverlaySnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "forceMount",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Whether to force mount the component."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Dialog.Content": [
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": true,
						"description": "The content."
					},
					{
						"name": "closeLabel",
						"type": "string",
						"default": "the Config's `strings.close`, else 'Close'",
						"bindable": false,
						"required": false,
						"description": "The close button's name for screen readers."
					},
					{
						"name": "escapeKeydownBehavior",
						"type": "\"close\" | \"defer-otherwise-close\" | \"defer-otherwise-ignore\" | \"ignore\"",
						"default": "close",
						"bindable": false,
						"required": false,
						"description": "Escape behavior type. `close`: Closes the element immediately. `defer-otherwise-close`: Delegates the action to its parent component that has an escape keydown handler. If no parent is found, it closes the element. `defer-otherwise-ignore`: Delegates the action to the parent element. If no parent is found, nothing is done. `ignore`: Prevents the element from closing and also blocks the parent element from closing in response to an escape key press."
					},
					{
						"name": "forceMount",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Whether to force mount the component."
					},
					{
						"name": "interactOutsideBehavior",
						"type": "\"close\" | \"defer-otherwise-close\" | \"defer-otherwise-ignore\" | \"ignore\"",
						"default": "close",
						"bindable": false,
						"required": false,
						"description": "Interact outside behavior type. `close`: Closes the element immediately. `defer-otherwise-close`: Delegates the action to the parent element. If no parent is found, it closes the element. `defer-otherwise-ignore`: Delegates the action to the parent element. If no parent is found, nothing is done. `ignore`: Prevents the element from closing and also blocks the parent element from closing in response to an outside interaction."
					},
					{
						"name": "onCloseAutoFocus",
						"type": "EventCallback",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Event handler called when auto-focusing on close. Can be prevented."
					},
					{
						"name": "onEscapeKeydown",
						"type": "((e: KeyboardEvent) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fired when escape is pressed."
					},
					{
						"name": "onFocusOutside",
						"type": "((event: FocusEvent) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fired when focus leaves the dismissible layer."
					},
					{
						"name": "onInteractOutside",
						"type": "InteractOutsideEventHandler",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fired when an outside interaction event completes, which is either a `pointerup`, `mouseup`, or `touchend` event, depending on the user's input device."
					},
					{
						"name": "onOpenAutoFocus",
						"type": "EventCallback",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Event handler called when auto-focusing on open. Can be prevented."
					},
					{
						"name": "portalProps",
						"type": "PortalProps",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Props for the portal the content renders in: `to` (the element to render in, the body by default) and `disabled` (render in place)."
					},
					{
						"name": "preventBodyPointerEvents",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "Whether to set `pointer-events: none` on the `<body>` while the dialog is open. When `false` and a `Dialog.Overlay` is rendered, the overlay blocks pointer interaction with the page instead, which avoids restyling every element on the page when the dialog opens and closes. Without an overlay, the body is still blocked. Elements stacked above the overlay that aren't part of the dialog (toasts, a header with a higher `z-index`) receive pointer events when this is `false`."
					},
					{
						"name": "preventOverflowTextSelection",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "Passing `true` will prevent the overflow of text selection outside the element, provided the element is the top layer."
					},
					{
						"name": "preventScroll",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "Whether to prevent body scrolling when the content is open."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "restoreScrollDelay",
						"type": "number | null",
						"default": "null",
						"bindable": false,
						"required": false,
						"description": "The delay in milliseconds before the scrollbar is restored after closing the dialog. This is only applicable when using the `child` snippet for custom transitions and `preventScroll` is `true`. You should set this to a value greater than the transition duration to prevent content from shifting during the transition."
					},
					{
						"name": "showCloseButton",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "Show a close button in the corner."
					},
					{
						"name": "trapFocus",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether focus is trapped within the focus scope."
					}
				],
				"Dialog.Header": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Dialog.Footer": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Dialog.Title": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "level",
						"type": "1 | 2 | 3 | 4 | 5 | 6",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The heading level of the dialog title."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Dialog.Description": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				]
			},
			"examples": [
				{
					"slug": "01-confirm",
					"title": "Confirm",
					"description": "A dialog with a footer of actions. Dialog.Close closes it; focus returns to the trigger. For something that can't be undone, AlertDialog is the better fit.",
					"code": "<script lang=\"ts\">\n\timport { Dialog } from '@limerdev/zest';\n</script>\n\n<Dialog.Root>\n\t<Dialog.Trigger variant=\"outline\">Archive order</Dialog.Trigger>\n\t<Dialog.Content>\n\t\t<Dialog.Header>\n\t\t\t<Dialog.Title>Archive order 1042?</Dialog.Title>\n\t\t\t<Dialog.Description>It moves out of the list; you can restore it later.</Dialog.Description>\n\t\t</Dialog.Header>\n\t\t<Dialog.Footer>\n\t\t\t<Dialog.Close variant=\"outline\">Cancel</Dialog.Close>\n\t\t\t<Dialog.Close>Archive</Dialog.Close>\n\t\t</Dialog.Footer>\n\t</Dialog.Content>\n</Dialog.Root>"
				},
				{
					"slug": "02-form",
					"title": "Form",
					"description": "A short form, closed from code with bind:open once it is saved.",
					"code": "<script lang=\"ts\">\n\timport { Button, Dialog, Field, Input } from '@limerdev/zest';\n\n\tlet open = $state(false);\n\tlet name = $state('Zest');\n</script>\n\n<p class=\"text-sm text-muted\">Project: {name}</p>\n<Dialog.Root bind:open>\n\t<Dialog.Trigger variant=\"outline\">Rename project</Dialog.Trigger>\n\t<Dialog.Content>\n\t\t<form\n\t\t\tclass=\"grid gap-4\"\n\t\t\tonsubmit={(event) => {\n\t\t\t\tevent.preventDefault();\n\t\t\t\tconst value = new FormData(event.currentTarget).get('name');\n\t\t\t\tif (typeof value === 'string') name = value;\n\t\t\t\topen = false;\n\t\t\t}}\n\t\t>\n\t\t\t<Dialog.Header>\n\t\t\t\t<Dialog.Title>Rename project</Dialog.Title>\n\t\t\t\t<Dialog.Description>The name shows in the sidebar and in emails.</Dialog.Description>\n\t\t\t</Dialog.Header>\n\t\t\t<Field.Root>\n\t\t\t\t<Field.Label>Name</Field.Label>\n\t\t\t\t<Input name=\"name\" value={name} />\n\t\t\t</Field.Root>\n\t\t\t<Dialog.Footer>\n\t\t\t\t<Button type=\"submit\">Save</Button>\n\t\t\t</Dialog.Footer>\n\t\t</form>\n\t</Dialog.Content>\n</Dialog.Root>"
				}
			]
		},
		{
			"name": "DropdownMenu",
			"slug": "dropdown-menu",
			"summary": "A menu of actions or options opened from a button: `<DropdownMenu.Root>` holds a `DropdownMenu.Trigger` and a `DropdownMenu.Content` of `DropdownMenu.Item`s (`onSelect`, `variant=\"error\"`, `DropdownMenu.Shortcut` for a key hint). It also takes `CheckboxItem`s, a `RadioGroup` of `RadioItem`s, `Group`s with a `GroupHeading`, `Label`s, `Separator`s and submenus (`Sub`, `SubTrigger`, `SubContent`). Arrow keys move, Enter or Space chooses, typing jumps to an item, Escape closes and returns focus.",
			"category": "Actions",
			"bits": "DropdownMenu",
			"use": "The actions for one thing, out of the way: a row's \"more\" button, an account menu, view options with checkbox or radio items.",
			"avoid": "Choosing a value for a form: use `Select`. Navigation between pages: use links or `NavigationMenu`. The only way to reach an important action: show it as a `Button`.",
			"example": "<script lang=\"ts\">\n  import { DropdownMenu } from '@limerdev/zest';\n</script>\n\n<DropdownMenu.Root>\n  <DropdownMenu.Trigger variant=\"outline\">Actions</DropdownMenu.Trigger>\n  <DropdownMenu.Content align=\"end\">\n    <DropdownMenu.Item onSelect={edit}>Edit</DropdownMenu.Item>\n    <DropdownMenu.Item onSelect={duplicate}>Duplicate</DropdownMenu.Item>\n    <DropdownMenu.Separator />\n    <DropdownMenu.Item variant=\"error\" onSelect={remove}>Delete</DropdownMenu.Item>\n  </DropdownMenu.Content>\n</DropdownMenu.Root>",
			"importLine": "import { DropdownMenu } from '@limerdev/zest'",
			"parts": [
				"DropdownMenu.Root",
				"DropdownMenu.Trigger",
				"DropdownMenu.Content",
				"DropdownMenu.Portal",
				"DropdownMenu.Item",
				"DropdownMenu.CheckboxItem",
				"DropdownMenu.CheckboxGroup",
				"DropdownMenu.RadioGroup",
				"DropdownMenu.RadioItem",
				"DropdownMenu.Group",
				"DropdownMenu.GroupHeading",
				"DropdownMenu.Label",
				"DropdownMenu.Separator",
				"DropdownMenu.Shortcut",
				"DropdownMenu.Sub",
				"DropdownMenu.SubTrigger",
				"DropdownMenu.SubContent"
			],
			"props": {
				"DropdownMenu.Root": [
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "dir",
						"type": "\"ltr\" | \"rtl\"",
						"default": "\"ltr\"",
						"bindable": false,
						"required": false,
						"description": "The direction of the site."
					},
					{
						"name": "onOpenChange",
						"type": "OnChangeFn<boolean>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback that is called when the menu is opened or closed."
					},
					{
						"name": "onOpenChangeComplete",
						"type": "OnChangeFn<boolean>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback that is called when the menu is opened or closed."
					},
					{
						"name": "open",
						"type": "boolean",
						"default": "false",
						"bindable": true,
						"required": false,
						"description": "The open state of the menu."
					}
				],
				"DropdownMenu.Trigger": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "disabled",
						"type": "null | false | true",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether the trigger is disabled."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "size",
						"type": "\"default\" | \"sm\" | \"lg\" | \"icon\" | \"icon-sm\" | \"icon-lg\"",
						"default": "'default'",
						"bindable": false,
						"required": false,
						"description": "The height and padding, from the theme's field size; the `icon` sizes are square."
					},
					{
						"name": "variant",
						"type": "\"link\" | \"primary\" | \"secondary\" | \"neutral\" | \"error\" | \"outline\" | \"ghost\"",
						"default": "'primary'",
						"bindable": false,
						"required": false,
						"description": "The look, by the theme's colour roles: `primary` for the main action, `error` for deleting, `secondary`, `neutral` and `outline` for the rest, `ghost` in toolbars, `link` for a navigation that looks like text."
					}
				],
				"DropdownMenu.Content": [
					{
						"name": "align",
						"type": "\"start\" | \"center\" | \"end\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The preferred alignment of the anchor to render against when open. This may change when collisions occur."
					},
					{
						"name": "alignOffset",
						"type": "number",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "An offset in pixels from the \"start\" or \"end\" alignment options."
					},
					{
						"name": "arrowPadding",
						"type": "number",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "This describes the padding between the arrow and the edges of the floating element. If your floating element has border-radius, this will prevent it from overflowing the corners."
					},
					{
						"name": "avoidCollisions",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "When `true`, overrides the `side` and `align` options to prevent collisions with the boundary edges."
					},
					{
						"name": "child",
						"type": "Snippet<[FloatingContentSnippetProps & { props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "collisionBoundary",
						"type": "Arrayable<Boundary>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A boundary element or array of elements to check for collisions against."
					},
					{
						"name": "collisionPadding",
						"type": "number | Partial<Record<\"top\" | \"right\" | \"bottom\" | \"left\", number>>",
						"default": "8",
						"bindable": false,
						"required": false,
						"description": "The amount in pixels of virtual padding around the viewport edges to check for overflow which will cause a collision."
					},
					{
						"name": "customAnchor",
						"type": "string | HTMLElement | Measurable | null",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Use an element other than the trigger to anchor the content to. If provided, the content will be anchored to the provided element instead of the trigger. You can pass a selector string or an HTMLElement."
					},
					{
						"name": "dir",
						"type": "\"ltr\" | \"rtl\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The text direction of the content."
					},
					{
						"name": "escapeKeydownBehavior",
						"type": "\"close\" | \"defer-otherwise-close\" | \"defer-otherwise-ignore\" | \"ignore\"",
						"default": "close",
						"bindable": false,
						"required": false,
						"description": "Escape behavior type. `close`: Closes the element immediately. `defer-otherwise-close`: Delegates the action to its parent component that has an escape keydown handler. If no parent is found, it closes the element. `defer-otherwise-ignore`: Delegates the action to the parent element. If no parent is found, nothing is done. `ignore`: Prevents the element from closing and also blocks the parent element from closing in response to an escape key press."
					},
					{
						"name": "forceMount",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Whether to force mount the component."
					},
					{
						"name": "hideWhenDetached",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": ""
					},
					{
						"name": "interactOutsideBehavior",
						"type": "\"close\" | \"defer-otherwise-close\" | \"defer-otherwise-ignore\" | \"ignore\"",
						"default": "close",
						"bindable": false,
						"required": false,
						"description": "Interact outside behavior type. `close`: Closes the element immediately. `defer-otherwise-close`: Delegates the action to the parent element. If no parent is found, it closes the element. `defer-otherwise-ignore`: Delegates the action to the parent element. If no parent is found, nothing is done. `ignore`: Prevents the element from closing and also blocks the parent element from closing in response to an outside interaction."
					},
					{
						"name": "loop",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "When `true`, the menu will loop through items when navigating with the keyboard."
					},
					{
						"name": "onCloseAutoFocus",
						"type": "EventCallback",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Event handler called when auto-focusing on close. Can be prevented."
					},
					{
						"name": "onEscapeKeydown",
						"type": "((e: KeyboardEvent) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fired when escape is pressed."
					},
					{
						"name": "onFocusOutside",
						"type": "((event: FocusEvent) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fired when focus leaves the dismissible layer."
					},
					{
						"name": "onInteractOutside",
						"type": "InteractOutsideEventHandler",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fired when an outside interaction event completes, which is either a `pointerup`, `mouseup`, or `touchend` event, depending on the user's input device."
					},
					{
						"name": "onOpenAutoFocus",
						"type": "EventCallback",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Event handler called when auto-focusing on open. Can be prevented."
					},
					{
						"name": "portalProps",
						"type": "PortalProps",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Props for the portal the content renders in: `to` (the element to render in, the body by default) and `disabled` (render in place)."
					},
					{
						"name": "preventOverflowTextSelection",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "Passing `true` will prevent the overflow of text selection outside the element, provided the element is the top layer."
					},
					{
						"name": "preventScroll",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "Whether to prevent scrolling the body when the content is open. Whether to prevent body scrolling when the content is open."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "side",
						"type": "\"top\" | \"right\" | \"bottom\" | \"left\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The preferred side of the anchor to render against when open. Will be reversed when collisions occur."
					},
					{
						"name": "sideOffset",
						"type": "number",
						"default": "4",
						"bindable": false,
						"required": false,
						"description": "The distance in pixels from the anchor to the floating element."
					},
					{
						"name": "sticky",
						"type": "\"partial\" | \"always\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": ""
					},
					{
						"name": "strategy",
						"type": "\"absolute\" | \"fixed\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The positioning strategy to use for the floating element."
					},
					{
						"name": "trapFocus",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether focus is trapped within the focus scope."
					},
					{
						"name": "updatePositionStrategy",
						"type": "\"always\" | \"optimized\"",
						"default": "\"optimized\"",
						"bindable": false,
						"required": false,
						"description": "\"optimized\" will only update the position when necessary, while \"always\" will update the position on each animation frame, which is useful if the floating content is following something like a mouse cursor."
					}
				],
				"DropdownMenu.Portal": [
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The children content to render within the portal."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Disable portalling and render the component inline"
					},
					{
						"name": "to",
						"type": "PortalTarget",
						"default": "document.body",
						"bindable": false,
						"required": false,
						"description": "Where to portal the content to."
					}
				],
				"DropdownMenu.Item": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "closeOnSelect",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "Whether or not the menu item should close when selected."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "When `true`, the user will not be able to interact with the menu item."
					},
					{
						"name": "inset",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Indent the text to line up with items that show an icon, check or dot."
					},
					{
						"name": "onSelect",
						"type": "((event: Event) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback fired when the menu item is selected. Prevent default behavior of selection with `event.preventDefault()`."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "textValue",
						"type": "string",
						"default": "undefined",
						"bindable": false,
						"required": false,
						"description": "Optional text to use for typeahead filtering. By default, typeahead will use the `.textContent` of the menu item. When the content is more complex, you can provide a string here instead."
					},
					{
						"name": "variant",
						"type": "\"error\" | \"default\"",
						"default": "'default'",
						"bindable": false,
						"required": false,
						"description": "`error` colours the item for deleting."
					}
				],
				"DropdownMenu.CheckboxItem": [
					{
						"name": "checked",
						"type": "boolean",
						"default": "false",
						"bindable": true,
						"required": false,
						"description": "The checked state of the checkbox. It can be one of: - `true` for checked - `false` for unchecked"
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "closeOnSelect",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether or not the menu item should close when selected."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "When `true`, the user will not be able to interact with the menu item."
					},
					{
						"name": "indeterminate",
						"type": "boolean",
						"default": "false",
						"bindable": true,
						"required": false,
						"description": "Whether the checkbox is in an indeterminate state or not."
					},
					{
						"name": "onCheckedChange",
						"type": "OnChangeFn<boolean>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback that is fired when the checked state changes."
					},
					{
						"name": "onIndeterminateChange",
						"type": "OnChangeFn<boolean>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback function called when the indeterminate state changes."
					},
					{
						"name": "onSelect",
						"type": "((event: Event) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback fired when the menu item is selected. Prevent default behavior of selection with `event.preventDefault()`."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "textValue",
						"type": "string",
						"default": "undefined",
						"bindable": false,
						"required": false,
						"description": "Optional text to use for typeahead filtering. By default, typeahead will use the `.textContent` of the menu item. When the content is more complex, you can provide a string here instead."
					},
					{
						"name": "value",
						"type": "string",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The value of the checkbox item when used in a checkbox group."
					}
				],
				"DropdownMenu.CheckboxGroup": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "onValueChange",
						"type": "OnChangeFn<string[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback that is fired when the selected checkbox items change."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "value",
						"type": "string[]",
						"default": "[]",
						"bindable": true,
						"required": false,
						"description": "The values of the selected checkbox items. Supports two-way binding with `bind:value`."
					}
				],
				"DropdownMenu.RadioGroup": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "onValueChange",
						"type": "OnChangeFn<string>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback that is fired when the selected radio item changes."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "value",
						"type": "string",
						"default": "''",
						"bindable": true,
						"required": false,
						"description": "The value of the selected radio item. Supports two-way binding with `bind:value`."
					}
				],
				"DropdownMenu.RadioItem": [
					{
						"name": "children",
						"type": "Snippet<[MenuRadioItemSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "closeOnSelect",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether or not the menu item should close when selected."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "When `true`, the user will not be able to interact with the menu item."
					},
					{
						"name": "onSelect",
						"type": "((event: Event) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback fired when the menu item is selected. Prevent default behavior of selection with `event.preventDefault()`."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "textValue",
						"type": "string",
						"default": "undefined",
						"bindable": false,
						"required": false,
						"description": "Optional text to use for typeahead filtering. By default, typeahead will use the `.textContent` of the menu item. When the content is more complex, you can provide a string here instead."
					},
					{
						"name": "value",
						"type": "string",
						"default": "",
						"bindable": false,
						"required": true,
						"description": "The value of the radio item."
					}
				],
				"DropdownMenu.Group": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"DropdownMenu.GroupHeading": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "inset",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Indent the text to line up with items that show an icon, check or dot."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"DropdownMenu.Label": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "inset",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Indent the text to line up with items that show an icon, check or dot."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"DropdownMenu.Separator": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"DropdownMenu.Shortcut": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"DropdownMenu.Sub": [
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "onOpenChange",
						"type": "OnChangeFn<boolean>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback that is called when the menu is opened or closed."
					},
					{
						"name": "onOpenChangeComplete",
						"type": "OnChangeFn<boolean>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback that is called when the menu finishes opening/closing animations."
					},
					{
						"name": "open",
						"type": "boolean",
						"default": "false",
						"bindable": true,
						"required": false,
						"description": "The open state of the menu."
					}
				],
				"DropdownMenu.SubTrigger": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "When `true`, the user will not be able to interact with the menu item."
					},
					{
						"name": "inset",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Indent the text to line up with items that show an icon, check or dot."
					},
					{
						"name": "onSelect",
						"type": "((event: Event) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback fired when the menu item is selected. Prevent default behavior of selection with `event.preventDefault()`."
					},
					{
						"name": "openDelay",
						"type": "number",
						"default": "100",
						"bindable": false,
						"required": false,
						"description": "The amount of time in ms from when the mouse enters the subtrigger until the submenu opens. This is useful for preventing the submenu from opening as a user is moving their mouse through the menu without a true intention to open that submenu. To disable the behavior, set it to `0`."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "textValue",
						"type": "string",
						"default": "undefined",
						"bindable": false,
						"required": false,
						"description": "Optional text to use for typeahead filtering. By default, typeahead will use the `.textContent` of the menu item. When the content is more complex, you can provide a string here instead."
					}
				],
				"DropdownMenu.SubContent": [
					{
						"name": "align",
						"type": "\"start\" | \"center\" | \"end\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The preferred alignment of the anchor to render against when open. This may change when collisions occur."
					},
					{
						"name": "alignOffset",
						"type": "number",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "An offset in pixels from the \"start\" or \"end\" alignment options."
					},
					{
						"name": "arrowPadding",
						"type": "number",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "This describes the padding between the arrow and the edges of the floating element. If your floating element has border-radius, this will prevent it from overflowing the corners."
					},
					{
						"name": "avoidCollisions",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "When `true`, overrides the `side` and `align` options to prevent collisions with the boundary edges."
					},
					{
						"name": "child",
						"type": "Snippet<[FloatingContentSnippetProps & { props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "collisionBoundary",
						"type": "Arrayable<Boundary>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A boundary element or array of elements to check for collisions against."
					},
					{
						"name": "collisionPadding",
						"type": "number | Partial<Record<\"top\" | \"right\" | \"bottom\" | \"left\", number>>",
						"default": "8",
						"bindable": false,
						"required": false,
						"description": "The amount in pixels of virtual padding around the viewport edges to check for overflow which will cause a collision."
					},
					{
						"name": "customAnchor",
						"type": "string | HTMLElement | Measurable | null",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Use an element other than the trigger to anchor the content to. If provided, the content will be anchored to the provided element instead of the trigger. You can pass a selector string or an HTMLElement."
					},
					{
						"name": "dir",
						"type": "\"ltr\" | \"rtl\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The text direction of the content."
					},
					{
						"name": "escapeKeydownBehavior",
						"type": "\"close\" | \"defer-otherwise-close\" | \"defer-otherwise-ignore\" | \"ignore\"",
						"default": "close",
						"bindable": false,
						"required": false,
						"description": "Escape behavior type. `close`: Closes the element immediately. `defer-otherwise-close`: Delegates the action to its parent component that has an escape keydown handler. If no parent is found, it closes the element. `defer-otherwise-ignore`: Delegates the action to the parent element. If no parent is found, nothing is done. `ignore`: Prevents the element from closing and also blocks the parent element from closing in response to an escape key press."
					},
					{
						"name": "forceMount",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Whether to force mount the component."
					},
					{
						"name": "hideWhenDetached",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": ""
					},
					{
						"name": "interactOutsideBehavior",
						"type": "\"close\" | \"defer-otherwise-close\" | \"defer-otherwise-ignore\" | \"ignore\"",
						"default": "close",
						"bindable": false,
						"required": false,
						"description": "Interact outside behavior type. `close`: Closes the element immediately. `defer-otherwise-close`: Delegates the action to the parent element. If no parent is found, it closes the element. `defer-otherwise-ignore`: Delegates the action to the parent element. If no parent is found, nothing is done. `ignore`: Prevents the element from closing and also blocks the parent element from closing in response to an outside interaction."
					},
					{
						"name": "loop",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "When `true`, the menu will loop through items when navigating with the keyboard."
					},
					{
						"name": "onCloseAutoFocus",
						"type": "EventCallback",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Event handler called when auto-focusing on close. Can be prevented."
					},
					{
						"name": "onEscapeKeydown",
						"type": "((e: KeyboardEvent) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fired when escape is pressed."
					},
					{
						"name": "onFocusOutside",
						"type": "((event: FocusEvent) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fired when focus leaves the dismissible layer."
					},
					{
						"name": "onInteractOutside",
						"type": "InteractOutsideEventHandler",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fired when an outside interaction event completes, which is either a `pointerup`, `mouseup`, or `touchend` event, depending on the user's input device."
					},
					{
						"name": "onOpenAutoFocus",
						"type": "EventCallback",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Event handler called when auto-focusing on open. Can be prevented."
					},
					{
						"name": "preventOverflowTextSelection",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "Passing `true` will prevent the overflow of text selection outside the element, provided the element is the top layer."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "side",
						"type": "\"top\" | \"right\" | \"bottom\" | \"left\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The preferred side of the anchor to render against when open. Will be reversed when collisions occur."
					},
					{
						"name": "sideOffset",
						"type": "number",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The distance in pixels from the anchor to the floating element."
					},
					{
						"name": "sticky",
						"type": "\"partial\" | \"always\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": ""
					},
					{
						"name": "strategy",
						"type": "\"absolute\" | \"fixed\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The positioning strategy to use for the floating element."
					},
					{
						"name": "trapFocus",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether focus is trapped within the focus scope."
					},
					{
						"name": "updatePositionStrategy",
						"type": "\"always\" | \"optimized\"",
						"default": "\"optimized\"",
						"bindable": false,
						"required": false,
						"description": "\"optimized\" will only update the position when necessary, while \"always\" will update the position on each animation frame, which is useful if the floating content is following something like a mouse cursor."
					}
				]
			},
			"examples": [
				{
					"slug": "01-actions",
					"title": "Actions",
					"description": "A row's actions. variant=\"error\" marks the dangerous one; Shortcut shows a key hint.",
					"code": "<script lang=\"ts\">\n\timport Copy from '@lucide/svelte/icons/copy';\n\timport Ellipsis from '@lucide/svelte/icons/ellipsis';\n\timport Pencil from '@lucide/svelte/icons/pencil';\n\timport Trash from '@lucide/svelte/icons/trash-2';\n\timport { DropdownMenu } from '@limerdev/zest';\n\n\tlet last = $state('nothing yet');\n</script>\n\n<DropdownMenu.Root>\n\t<DropdownMenu.Trigger size=\"icon\" variant=\"outline\" aria-label=\"Actions for order 1042\">\n\t\t<Ellipsis />\n\t</DropdownMenu.Trigger>\n\t<DropdownMenu.Content align=\"end\" class=\"w-48\">\n\t\t<DropdownMenu.Item onSelect={() => (last = 'Edit')}>\n\t\t\t<Pencil /> Edit\n\t\t\t<DropdownMenu.Shortcut>⌘E</DropdownMenu.Shortcut>\n\t\t</DropdownMenu.Item>\n\t\t<DropdownMenu.Item onSelect={() => (last = 'Duplicate')}>\n\t\t\t<Copy /> Duplicate\n\t\t</DropdownMenu.Item>\n\t\t<DropdownMenu.Separator />\n\t\t<DropdownMenu.Item variant=\"error\" onSelect={() => (last = 'Delete')}>\n\t\t\t<Trash /> Delete\n\t\t</DropdownMenu.Item>\n\t</DropdownMenu.Content>\n</DropdownMenu.Root>\n<p class=\"text-sm text-muted\">Chose: {last}</p>"
				},
				{
					"slug": "02-view-options",
					"title": "View options",
					"description": "Checkbox items toggle settings, a radio group picks one; both keep the menu open.",
					"code": "<script lang=\"ts\">\n\timport { DropdownMenu } from '@limerdev/zest';\n\n\tlet archived = $state(false);\n\tlet billableOnly = $state(true);\n\tlet sort = $state('name');\n</script>\n\n<DropdownMenu.Root>\n\t<DropdownMenu.Trigger variant=\"outline\">View</DropdownMenu.Trigger>\n\t<DropdownMenu.Content class=\"w-52\">\n\t\t<DropdownMenu.Label>Show</DropdownMenu.Label>\n\t\t<DropdownMenu.CheckboxItem bind:checked={archived}>Archived projects</DropdownMenu.CheckboxItem>\n\t\t<DropdownMenu.CheckboxItem bind:checked={billableOnly}>Billable only</DropdownMenu.CheckboxItem>\n\t\t<DropdownMenu.Separator />\n\t\t<DropdownMenu.Label>Sort by</DropdownMenu.Label>\n\t\t<DropdownMenu.RadioGroup bind:value={sort}>\n\t\t\t<DropdownMenu.RadioItem value=\"name\">Name</DropdownMenu.RadioItem>\n\t\t\t<DropdownMenu.RadioItem value=\"updated\">Last updated</DropdownMenu.RadioItem>\n\t\t\t<DropdownMenu.RadioItem value=\"hours\">Hours logged</DropdownMenu.RadioItem>\n\t\t</DropdownMenu.RadioGroup>\n\t</DropdownMenu.Content>\n</DropdownMenu.Root>\n<p class=\"text-sm text-muted\">\n\t{archived ? 'With' : 'Without'} archived, {billableOnly ? 'billable only' : 'all'}, by {sort}\n</p>"
				},
				{
					"slug": "03-groups-and-submenus",
					"title": "Groups and submenus",
					"description": "Groups with headings, an inset label, and a submenu (Sub, SubTrigger, SubContent).",
					"code": "<script lang=\"ts\">\n\timport { DropdownMenu } from '@limerdev/zest';\n</script>\n\n<DropdownMenu.Root>\n\t<DropdownMenu.Trigger variant=\"outline\">Anna Berg</DropdownMenu.Trigger>\n\t<DropdownMenu.Content class=\"w-56\">\n\t\t<DropdownMenu.Group>\n\t\t\t<DropdownMenu.GroupHeading>Account</DropdownMenu.GroupHeading>\n\t\t\t<DropdownMenu.Item>Profile</DropdownMenu.Item>\n\t\t\t<DropdownMenu.Item>Settings</DropdownMenu.Item>\n\t\t</DropdownMenu.Group>\n\t\t<DropdownMenu.Separator />\n\t\t<DropdownMenu.Sub>\n\t\t\t<DropdownMenu.SubTrigger>Switch organisation</DropdownMenu.SubTrigger>\n\t\t\t<DropdownMenu.SubContent>\n\t\t\t\t<DropdownMenu.Item>Limer</DropdownMenu.Item>\n\t\t\t\t<DropdownMenu.Item>Acme AB</DropdownMenu.Item>\n\t\t\t</DropdownMenu.SubContent>\n\t\t</DropdownMenu.Sub>\n\t\t<DropdownMenu.Separator />\n\t\t<DropdownMenu.Item>Sign out</DropdownMenu.Item>\n\t</DropdownMenu.Content>\n</DropdownMenu.Root>"
				}
			]
		},
		{
			"name": "Empty",
			"slug": "empty",
			"summary": "What a place shows when it has nothing yet: a list without rows, a search without results, a page the user has no access to. `<Empty.Root>` centres an `Empty.Media` (an icon in a tile with `variant=\"icon\"`, or an image; hidden from screen readers), an `Empty.Title` (a heading, at `level` 3 by default), an `Empty.Description` and an `Empty.Content` with what to do next. Give the root a border (`border border-dashed`) to mark out an area.",
			"category": "Feedback",
			"bits": "",
			"use": "An empty table or list, no search results, the first visit to a feature: say what is missing and how to fill it.",
			"avoid": "An error the user can fix: use `Alert`. A place that is still loading: use `Skeleton` or `Spinner`, then Empty once you know it's empty.",
			"example": "<script lang=\"ts\">\n  import { Button, Empty } from '@limerdev/zest';\n  import FileText from '@lucide/svelte/icons/file-text';\n</script>\n\n<Empty.Root>\n  <Empty.Media variant=\"icon\"><FileText /></Empty.Media>\n  <Empty.Title>No invoices yet</Empty.Title>\n  <Empty.Description>Invoices you create or import show up here.</Empty.Description>\n  <Empty.Content><Button>New invoice</Button></Empty.Content>\n</Empty.Root>",
			"importLine": "import { Empty } from '@limerdev/zest'",
			"parts": [
				"Empty.Root",
				"Empty.Media",
				"Empty.Title",
				"Empty.Description",
				"Empty.Content"
			],
			"props": {
				"Empty.Root": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Empty.Media": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "variant",
						"type": "\"default\" | \"icon\"",
						"default": "'default'",
						"bindable": false,
						"required": false,
						"description": "`icon` sets an icon in a tile of the theme's surface; `default` shows the children (an image, an avatar) as they are."
					}
				],
				"Empty.Title": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "level",
						"type": "1 | 2 | 3 | 4 | 5 | 6",
						"default": "3",
						"bindable": false,
						"required": false,
						"description": "The heading level, for the page's outline."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Empty.Description": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Empty.Content": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				]
			},
			"examples": [
				{
					"slug": "01-no-rows",
					"title": "No rows",
					"description": "An empty list: an icon in a tile, what is missing, and the action that fills it.",
					"code": "<script lang=\"ts\">\n\timport FileText from '@lucide/svelte/icons/file-text';\n\timport { Button, Empty } from '@limerdev/zest';\n</script>\n\n<Empty.Root>\n\t<Empty.Media variant=\"icon\"><FileText /></Empty.Media>\n\t<Empty.Title>No invoices yet</Empty.Title>\n\t<Empty.Description>Invoices you create or import show up here.</Empty.Description>\n\t<Empty.Content>\n\t\t<Button>New invoice</Button>\n\t\t<Button variant=\"outline\">Import</Button>\n\t</Empty.Content>\n</Empty.Root>"
				},
				{
					"slug": "02-no-results",
					"title": "No results",
					"description": "No search results, in a dashed area: say what was searched and how to widen it.",
					"code": "<script lang=\"ts\">\n\timport SearchX from '@lucide/svelte/icons/search-x';\n\timport { Button, Empty } from '@limerdev/zest';\n</script>\n\n<Empty.Root class=\"border border-dashed border-border\">\n\t<Empty.Media variant=\"icon\"><SearchX /></Empty.Media>\n\t<Empty.Title>No customers match “acme ltd”</Empty.Title>\n\t<Empty.Description>Check the spelling, or search by organisation number.</Empty.Description>\n\t<Empty.Content>\n\t\t<Button variant=\"ghost\" size=\"sm\">Clear search</Button>\n\t</Empty.Content>\n</Empty.Root>"
				}
			]
		},
		{
			"name": "Field",
			"slug": "field",
			"summary": "A form field: `Field` holds a `Field.Label`, one control (`Input` …) and an optional `Field.Description` and `Field.Error`. It wires them for you: the label points at the control, the description and a shown error describe it, and a shown error (or `invalid`) marks it `aria-invalid`. `disabled` disables the control. `Field.Set` with a `Field.Legend` groups related fields; `Field.Group` stacks fields; `orientation` puts the label beside the control.",
			"category": "Data input",
			"bits": "",
			"use": "Every labelled form control, so labels, help text and errors are announced with it.",
			"avoid": "Setting `id`, `for`, `aria-describedby` or `aria-invalid` by hand inside a Field: it does that. More than one control in a `Field`: use one Field per control, in a `Field.Group`. Error text in a `Field.Description`: use `Field.Error`.",
			"example": "<script lang=\"ts\">\n  import { Field, Input } from '@limerdev/zest';\n\n  let name = $state('');\n  const errors = $derived(name.trim() === '' ? [{ message: 'Enter a name.' }] : []);\n</script>\n\n<Field.Set>\n  <Field.Legend>Project</Field.Legend>\n  <Field.Group>\n    <Field.Root>\n      <Field.Label>Name</Field.Label>\n      <Input bind:value={name} required />\n      <Field.Description>Shown in the sidebar and in emails.</Field.Description>\n      <Field.Error {errors} />\n    </Field.Root>\n  </Field.Group>\n</Field.Set>",
			"importLine": "import { Field } from '@limerdev/zest'",
			"parts": [
				"Field.Root",
				"Field.Set",
				"Field.Legend",
				"Field.Group",
				"Field.Content",
				"Field.Label",
				"Field.Title",
				"Field.Description",
				"Field.Error"
			],
			"props": {
				"Field.Root": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Disable the control and dim the field."
					},
					{
						"name": "invalid",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Mark the control invalid without an error message (a shown `Field.Error` does it too)."
					},
					{
						"name": "orientation",
						"type": "\"horizontal\" | \"vertical\" | \"responsive\"",
						"default": "'vertical'",
						"bindable": false,
						"required": false,
						"description": "Where the label goes: above the control (`vertical`), beside it (`horizontal`), or beside it when the field group is wide enough (`responsive`)."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Field.Set": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Field.Legend": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "variant",
						"type": "\"legend\" | \"label\"",
						"default": "'legend'",
						"bindable": false,
						"required": false,
						"description": "`legend` for a section heading, `label` for a legend that names a group of choices like a label."
					}
				],
				"Field.Group": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Field.Content": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Field.Label": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Field.Title": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Field.Description": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Field.Error": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "errors",
						"type": "FieldErrorItem[]",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Validation errors, as form libraries return them; their messages are listed."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				]
			},
			"examples": [
				{
					"slug": "01-label-description-and-error",
					"title": "Label description and error",
					"description": "The Field wires its label, description and error to the control: leave the field to see the error appear and the input turn invalid.",
					"code": "<script lang=\"ts\">\n\timport { Field, Input, type FieldErrorItem } from '@limerdev/zest';\n\n\tlet name = $state('');\n\tlet touched = $state(false);\n\tconst errors: FieldErrorItem[] = $derived(\n\t\ttouched && name.trim() === '' ? [{ message: 'Enter a name.' }] : []\n\t);\n</script>\n\n<Field.Root class=\"max-w-sm\">\n\t<Field.Label>Project name</Field.Label>\n\t<Input bind:value={name} onblur={() => (touched = true)} placeholder=\"Zest\" />\n\t<Field.Description>Shown in the sidebar and in emails.</Field.Description>\n\t<Field.Error {errors} />\n</Field.Root>"
				},
				{
					"slug": "02-several-errors-and-disabled",
					"title": "Several errors and disabled",
					"description": "Several errors show as a list. disabled on the Field disables its control.",
					"code": "<script lang=\"ts\">\n\timport { Field, Input, type FieldErrorItem } from '@limerdev/zest';\n\n\tconst errors: FieldErrorItem[] = [\n\t\t{ message: 'Use at least 12 characters.' },\n\t\t{ message: 'Use a number or a symbol.' }\n\t];\n</script>\n\n<div class=\"grid w-full max-w-sm gap-6\">\n\t<Field.Root>\n\t\t<Field.Label>Password</Field.Label>\n\t\t<Input type=\"password\" value=\"short\" />\n\t\t<Field.Error {errors} />\n\t</Field.Root>\n\t<Field.Root disabled>\n\t\t<Field.Label>Customer number</Field.Label>\n\t\t<Input value=\"C-1042\" />\n\t\t<Field.Description>Set when the customer is created.</Field.Description>\n\t</Field.Root>\n</div>"
				},
				{
					"slug": "03-a-form",
					"title": "A form",
					"description": "Field.Set and Field.Legend group related fields. responsive puts labels in a column beside their controls when there is room; horizontal puts a label beside its control.",
					"code": "<script lang=\"ts\">\n\timport { Button, Field, Input } from '@limerdev/zest';\n</script>\n\n<form class=\"flex w-full max-w-xl flex-col gap-6\" onsubmit={(event) => event.preventDefault()}>\n\t<Field.Set>\n\t\t<Field.Legend>Billing</Field.Legend>\n\t\t<Field.Description>Where invoices are sent.</Field.Description>\n\t\t<Field.Group>\n\t\t\t<Field.Root orientation=\"responsive\">\n\t\t\t\t<Field.Label>Company</Field.Label>\n\t\t\t\t<Input />\n\t\t\t</Field.Root>\n\t\t\t<Field.Root orientation=\"responsive\">\n\t\t\t\t<Field.Label>Invoice email</Field.Label>\n\t\t\t\t<Input type=\"email\" />\n\t\t\t</Field.Root>\n\t\t\t<Field.Root orientation=\"horizontal\">\n\t\t\t\t<Field.Content>\n\t\t\t\t\t<Field.Label>VAT number</Field.Label>\n\t\t\t\t\t<Field.Description>Leave empty outside the EU.</Field.Description>\n\t\t\t\t</Field.Content>\n\t\t\t\t<Input class=\"max-w-48\" />\n\t\t\t</Field.Root>\n\t\t</Field.Group>\n\t</Field.Set>\n\t<Button type=\"submit\" class=\"self-start\">Save</Button>\n</form>"
				}
			]
		},
		{
			"name": "FileDropzone",
			"slug": "file-dropzone",
			"summary": "Picks files: `<FileDropzone>` with `bind:files` (a `File[]`) takes files dropped on it or chosen by browsing (a click, or Enter or Space on its focused input). It turns away files that don't match `accept`, are larger than `maxSize` or exceed `maxFiles`, and says why; `onReject` hears it too. Chosen files are listed with a remove button, and with a bar for those in `progress` (a `Map` of file to 0–1). The app does the upload; with `name`, a form posts the chosen files. Inside a `Field` it takes its id, label, description, error and invalid and disabled state from the Field.",
			"category": "Data input",
			"bits": "",
			"use": "Attaching receipts, invoices or images to a record; importing a CSV.",
			"avoid": "A single small file in a dense form: use `Input` with `type=\"file\"`. Uploading inside the component: upload from `bind:files` in the app, and show it with `progress`.",
			"example": "<script lang=\"ts\">\n  import { Field, FileDropzone } from '@limerdev/zest';\n\n  let receipts: File[] = $state([]);\n</script>\n\n<Field.Root>\n  <Field.Label>Receipts</Field.Label>\n  <FileDropzone\n    name=\"receipts\"\n    bind:files={receipts}\n    multiple\n    accept=\"image/*,.pdf\"\n    maxSize={10_000_000}\n  />\n  <Field.Description>Images or PDFs, up to 10 MB each.</Field.Description>\n</Field.Root>",
			"importLine": "import { FileDropzone } from '@limerdev/zest'",
			"parts": [
				"FileDropzone"
			],
			"props": {
				"FileDropzone": [
					{
						"name": "accept",
						"type": "string",
						"default": "undefined",
						"bindable": false,
						"required": false,
						"description": "The file types it takes, as for an input: `image/*`, `.pdf`, `application/pdf`."
					},
					{
						"name": "files",
						"type": "File[]",
						"default": "[]",
						"bindable": true,
						"required": false,
						"description": "The chosen files, in the order they were added. Bindable."
					},
					{
						"name": "label",
						"type": "string",
						"default": "the Config's `strings.dropFiles`, else 'Drop files here, or click to browse'",
						"bindable": false,
						"required": false,
						"description": "The text in the drop area."
					},
					{
						"name": "locale",
						"type": "string",
						"default": "the Config's `defaultLocale`, else the browser's",
						"bindable": false,
						"required": false,
						"description": "The locale for file sizes (1,5 MB in `sv-SE`)."
					},
					{
						"name": "maxFiles",
						"type": "number",
						"default": "undefined",
						"bindable": false,
						"required": false,
						"description": "How many files it holds at most; more are turned away."
					},
					{
						"name": "maxSize",
						"type": "number",
						"default": "undefined",
						"bindable": false,
						"required": false,
						"description": "The largest file it takes, in bytes."
					},
					{
						"name": "multiple",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Takes several files. Without it a new file replaces the chosen one."
					},
					{
						"name": "onReject",
						"type": "((rejections: FileRejection[]) => void)",
						"default": "undefined",
						"bindable": false,
						"required": false,
						"description": "Called with the files turned away when files are added."
					},
					{
						"name": "progress",
						"type": "Map<File, number>",
						"default": "undefined",
						"bindable": false,
						"required": false,
						"description": "Each file's upload progress, from 0 to 1, for files the app is uploading. A file without an entry shows no bar."
					},
					{
						"name": "ref",
						"type": "HTMLInputElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "rejectionMessage",
						"type": "((rejection: FileRejection, maxSize: string) => string)",
						"default": "the Config's `strings.fileRejected`, else English messages: \"report.exe isn't a type this takes.\"",
						"bindable": false,
						"required": false,
						"description": "The message for a turned-away file, given the rejection and the largest size, formatted."
					},
					{
						"name": "removeLabel",
						"type": "((name: string) => string)",
						"default": "the Config's `strings.removeFile`, else (name) => `Remove ${name}",
						"bindable": false,
						"required": false,
						"description": "The remove button's accessible name, given the file's name."
					}
				]
			},
			"examples": [
				{
					"slug": "01-basic",
					"title": "Basic",
					"description": "In a Field: images or PDFs up to 10 MB. Drop files on it, or click or press Enter to browse.",
					"code": "<script lang=\"ts\">\n\timport { Field, FileDropzone } from '@limerdev/zest';\n\n\tlet receipts: File[] = $state([]);\n</script>\n\n<Field.Root class=\"w-full max-w-md\">\n\t<Field.Label>Receipts</Field.Label>\n\t<FileDropzone\n\t\tname=\"receipts\"\n\t\tbind:files={receipts}\n\t\tmultiple\n\t\taccept=\"image/*,.pdf\"\n\t\tmaxSize={10_000_000}\n\t\tmaxFiles={5}\n\t/>\n\t<Field.Description>Images or PDFs, up to 10 MB each, five at most.</Field.Description>\n</Field.Root>"
				},
				{
					"slug": "02-upload",
					"title": "Upload",
					"description": "The app uploads: here a timer stands in for the request, and a SvelteMap of progress draws a bar per file.",
					"code": "<script lang=\"ts\">\n\timport { Button, FileDropzone } from '@limerdev/zest';\n\timport { SvelteMap } from 'svelte/reactivity';\n\n\tlet files: File[] = $state([]);\n\tconst progress = new SvelteMap<File, number>();\n\n\tfunction upload(): void {\n\t\tfor (const file of files) {\n\t\t\tif (progress.has(file)) continue;\n\t\t\tprogress.set(file, 0);\n\t\t\tconst timer = setInterval(() => {\n\t\t\t\tconst next = Math.min(1, (progress.get(file) ?? 0) + 0.1);\n\t\t\t\tprogress.set(file, next);\n\t\t\t\tif (next === 1) clearInterval(timer);\n\t\t\t}, 200);\n\t\t}\n\t}\n</script>\n\n<div class=\"flex w-full max-w-md flex-col gap-3\">\n\t<FileDropzone bind:files multiple {progress} aria-label=\"Attachments\" />\n\t<Button class=\"self-end\" disabled={files.length === 0} onclick={upload}>Upload</Button>\n</div>"
				},
				{
					"slug": "03-states",
					"title": "States",
					"description": "One CSV at a time (a new one replaces it), with its own label text; and disabled in its Field.",
					"code": "<script lang=\"ts\">\n\timport { Field, FileDropzone } from '@limerdev/zest';\n</script>\n\n<div class=\"grid w-full max-w-md gap-6\">\n\t<Field.Root>\n\t\t<Field.Label>Import</Field.Label>\n\t\t<FileDropzone\n\t\t\tname=\"import\"\n\t\t\taccept=\".csv,text/csv\"\n\t\t\tlabel=\"Drop a CSV file, or click to browse\"\n\t\t/>\n\t</Field.Root>\n\t<Field.Root disabled>\n\t\t<Field.Label>Contract</Field.Label>\n\t\t<FileDropzone name=\"contract\" accept=\".pdf\" />\n\t\t<Field.Description>Locked once the invoice is sent.</Field.Description>\n\t</Field.Root>\n</div>"
				}
			]
		},
		{
			"name": "Input",
			"slug": "input",
			"summary": "A text input (`type` text, email, number, password, search, date, file …) with `bind:value`, or `bind:files` for `type=\"file\"`. Inside a `Field` it takes its id, label, description, error and invalid and disabled state from the Field.",
			"category": "Data input",
			"bits": "",
			"use": "Single-line text and number entry, in a `Field`.",
			"avoid": "An Input without a label: wrap it in a `Field` with a `Field.Label`, or give it `aria-label`. `type=\"checkbox\"` or `type=\"radio\"`. Multi-line text.",
			"example": "<script lang=\"ts\">\n  import { Field, Input } from '@limerdev/zest';\n\n  let email = $state('');\n</script>\n\n<Field.Root>\n  <Field.Label>Email</Field.Label>\n  <Input type=\"email\" bind:value={email} />\n</Field.Root>",
			"importLine": "import { Input } from '@limerdev/zest'",
			"parts": [
				"Input"
			],
			"props": {
				"Input": [
					{
						"name": "files",
						"type": "FileList | null",
						"default": "",
						"bindable": true,
						"required": false,
						"description": "The chosen files, for `type=\"file\"`. Bindable."
					},
					{
						"name": "ref",
						"type": "HTMLInputElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "value",
						"type": "string | number | null",
						"default": "",
						"bindable": true,
						"required": false,
						"description": "The text, or a number for `type=\"number\"`. Bindable."
					}
				]
			},
			"examples": [
				{
					"slug": "01-types",
					"title": "Types",
					"description": "Any text-like type. Outside a Field, name it with aria-label or a Label.",
					"code": "<script lang=\"ts\">\n\timport { Input } from '@limerdev/zest';\n</script>\n\n<div class=\"grid w-full max-w-sm gap-3\">\n\t<Input aria-label=\"Search orders\" type=\"search\" placeholder=\"Search orders…\" />\n\t<Input aria-label=\"Email\" type=\"email\" placeholder=\"name@limer.se\" />\n\t<Input aria-label=\"Hours\" type=\"number\" min=\"0\" step=\"0.5\" value=\"7.5\" />\n\t<Input aria-label=\"Date\" type=\"date\" />\n\t<Input aria-label=\"Attachment\" type=\"file\" />\n</div>"
				},
				{
					"slug": "02-states",
					"title": "States",
					"description": "aria-invalid marks an input invalid; inside a Field, a Field.Error does it for you.",
					"code": "<script lang=\"ts\">\n\timport { Input } from '@limerdev/zest';\n</script>\n\n<div class=\"grid w-full max-w-sm gap-3\">\n\t<Input aria-label=\"Invalid email\" aria-invalid=\"true\" value=\"not an email\" />\n\t<Input aria-label=\"Read-only\" disabled value=\"Can't change this\" />\n</div>"
				}
			]
		},
		{
			"name": "InputGroup",
			"slug": "input-group",
			"summary": "A text field with addons inside its box: an icon, a unit or prefix, a button. `<InputGroup.Root>` holds one control, an `InputGroup.Input` or `InputGroup.Textarea` (in a `Field`, labelled and described by it), and `InputGroup.Addon`s (`align`: `inline-start`, `inline-end`, `block-start`, `block-end`) holding icons, `InputGroup.Text` or `InputGroup.Button`s. The group draws the box, its focus ring and its invalid state; clicking an addon's text focuses the control.",
			"category": "Data input",
			"bits": "",
			"use": "A search field with an icon, an amount with its currency, a URL with its scheme, a secret with a copy or show button, a message box with a send button under it.",
			"avoid": "A plain input: use `Input`. A choice from a list: use `Select` or `Combobox`. An addon that is the only label: give the field a `Field.Label` or `aria-label`.",
			"example": "<script lang=\"ts\">\n  import { Field, InputGroup } from '@limerdev/zest';\n  import Search from '@lucide/svelte/icons/search';\n</script>\n\n<Field.Root>\n  <Field.Label>Amount</Field.Label>\n  <InputGroup.Root>\n    <InputGroup.Input type=\"number\" placeholder=\"0\" />\n    <InputGroup.Addon align=\"inline-end\"><InputGroup.Text>kr</InputGroup.Text></InputGroup.Addon>\n  </InputGroup.Root>\n</Field.Root>",
			"importLine": "import { InputGroup } from '@limerdev/zest'",
			"parts": [
				"InputGroup.Root",
				"InputGroup.Addon",
				"InputGroup.Text",
				"InputGroup.Input",
				"InputGroup.Textarea",
				"InputGroup.Button"
			],
			"props": {
				"InputGroup.Root": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"InputGroup.Addon": [
					{
						"name": "align",
						"type": "\"inline-start\" | \"inline-end\" | \"block-start\" | \"block-end\"",
						"default": "'inline-start'",
						"bindable": false,
						"required": false,
						"description": "Where it sits: before or after the control on its line (`inline-start`, `inline-end`), or above or below it (`block-start`, `block-end`)."
					},
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"InputGroup.Text": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"InputGroup.Input": [
					{
						"name": "files",
						"type": "FileList | null",
						"default": "",
						"bindable": true,
						"required": false,
						"description": "The chosen files, for `type=\"file\"`. Bindable."
					},
					{
						"name": "ref",
						"type": "HTMLInputElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "value",
						"type": "string | number | null",
						"default": "",
						"bindable": true,
						"required": false,
						"description": "The text, or a number for `type=\"number\"`. Bindable."
					}
				],
				"InputGroup.Textarea": [
					{
						"name": "ref",
						"type": "HTMLTextAreaElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "value",
						"type": "string | null",
						"default": "",
						"bindable": true,
						"required": false,
						"description": "The text. Bindable."
					}
				],
				"InputGroup.Button": [
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "disabled",
						"type": "null | false | true",
						"default": "",
						"bindable": false,
						"required": false,
						"description": ""
					},
					{
						"name": "href",
						"type": "string | null",
						"default": "",
						"bindable": false,
						"required": false,
						"description": ""
					},
					{
						"name": "loading",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Waiting for the action it started: a spinner shows (in place of the icon of an `icon`-size button), it is marked busy and unavailable, and clicks do nothing. Unlike `disabled`, it keeps keyboard focus."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "size",
						"type": "\"default\" | \"sm\" | \"lg\" | \"icon\" | \"icon-sm\" | \"icon-lg\"",
						"default": "'sm'",
						"bindable": false,
						"required": false,
						"description": "The height and padding, from the theme's field size; the `icon` sizes are square."
					},
					{
						"name": "type",
						"type": "null | \"button\" | \"submit\" | \"reset\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": ""
					},
					{
						"name": "variant",
						"type": "\"link\" | \"primary\" | \"secondary\" | \"neutral\" | \"error\" | \"outline\" | \"ghost\"",
						"default": "'ghost'",
						"bindable": false,
						"required": false,
						"description": "The look, by the theme's colour roles: `primary` for the main action, `error` for deleting, `secondary`, `neutral` and `outline` for the rest, `ghost` in toolbars, `link` for a navigation that looks like text."
					}
				]
			},
			"examples": [
				{
					"slug": "01-addons",
					"title": "Addons",
					"description": "An icon, a unit, a prefix: addons sit inside the field's box, before or after the input.",
					"code": "<script lang=\"ts\">\n\timport Search from '@lucide/svelte/icons/search';\n\timport { Field, InputGroup } from '@limerdev/zest';\n</script>\n\n<div class=\"flex w-full max-w-sm flex-col gap-4\">\n\t<InputGroup.Root>\n\t\t<InputGroup.Addon><Search /></InputGroup.Addon>\n\t\t<InputGroup.Input type=\"search\" placeholder=\"Search customers\" aria-label=\"Search customers\" />\n\t</InputGroup.Root>\n\t<Field.Root>\n\t\t<Field.Label>Amount</Field.Label>\n\t\t<InputGroup.Root>\n\t\t\t<InputGroup.Input type=\"number\" placeholder=\"0\" />\n\t\t\t<InputGroup.Addon align=\"inline-end\"><InputGroup.Text>kr</InputGroup.Text></InputGroup.Addon>\n\t\t</InputGroup.Root>\n\t</Field.Root>\n\t<Field.Root>\n\t\t<Field.Label>Website</Field.Label>\n\t\t<InputGroup.Root>\n\t\t\t<InputGroup.Addon><InputGroup.Text>https://</InputGroup.Text></InputGroup.Addon>\n\t\t\t<InputGroup.Input class=\"ps-1\" placeholder=\"acme.se\" />\n\t\t</InputGroup.Root>\n\t</Field.Root>\n</div>"
				},
				{
					"slug": "02-buttons",
					"title": "Buttons",
					"description": "Buttons in addons: show a secret, or send a message from under its text area.",
					"code": "<script lang=\"ts\">\n\timport Eye from '@lucide/svelte/icons/eye';\n\timport EyeOff from '@lucide/svelte/icons/eye-off';\n\timport Send from '@lucide/svelte/icons/send';\n\timport { Field, InputGroup } from '@limerdev/zest';\n\n\tlet shown = $state(false);\n</script>\n\n<div class=\"flex w-full max-w-sm flex-col gap-4\">\n\t<Field.Root>\n\t\t<Field.Label>API key</Field.Label>\n\t\t<InputGroup.Root>\n\t\t\t<InputGroup.Input type={shown ? 'text' : 'password'} value=\"sk_live_51Hx9\" readonly />\n\t\t\t<InputGroup.Addon align=\"inline-end\">\n\t\t\t\t<InputGroup.Button\n\t\t\t\t\tsize=\"icon-sm\"\n\t\t\t\t\taria-label={shown ? 'Hide key' : 'Show key'}\n\t\t\t\t\tonclick={() => (shown = !shown)}\n\t\t\t\t>\n\t\t\t\t\t{#if shown}<EyeOff />{:else}<Eye />{/if}\n\t\t\t\t</InputGroup.Button>\n\t\t\t</InputGroup.Addon>\n\t\t</InputGroup.Root>\n\t</Field.Root>\n\t<Field.Root>\n\t\t<Field.Label>Message</Field.Label>\n\t\t<InputGroup.Root>\n\t\t\t<InputGroup.Textarea placeholder=\"Write a note to the customer\" />\n\t\t\t<InputGroup.Addon align=\"block-end\" class=\"justify-between\">\n\t\t\t\t<InputGroup.Text>Sent by email</InputGroup.Text>\n\t\t\t\t<InputGroup.Button variant=\"primary\">Send <Send /></InputGroup.Button>\n\t\t\t</InputGroup.Addon>\n\t\t</InputGroup.Root>\n\t</Field.Root>\n</div>"
				}
			]
		},
		{
			"name": "Item",
			"slug": "item",
			"summary": "A row of a list: `<Item.Root>` (`variant`: `default`, `outline`, `muted`; `size`: `default`, `sm`) holds an `Item.Media` (an icon in a tile with `variant=\"icon\"`, a cropped image with `variant=\"image\"`), an `Item.Content` with an `Item.Title` and an `Item.Description`, and `Item.Actions`. `Item.Group` makes a list of items (each one a list item), with `Item.Separator`s between them. A row that opens something: in a group, put the link in its `Item.Title`, so the row stays a list item; a single row can be the link itself, with the root's `child` snippet.",
			"category": "Data display",
			"bits": "",
			"use": "A list of people, files, integrations or notifications, each with a short description and an action; a settings row with a Switch.",
			"avoid": "Records compared across columns: use `Table`. A choice from a list: use `RadioGroup` or `Select`. A navigation menu: use `Sidebar` or `NavigationMenu`.",
			"example": "<script lang=\"ts\">\n  import { Button, Item } from '@limerdev/zest';\n  import FileText from '@lucide/svelte/icons/file-text';\n</script>\n\n<Item.Root variant=\"outline\">\n  <Item.Media variant=\"icon\"><FileText aria-hidden=\"true\" /></Item.Media>\n  <Item.Content>\n    <Item.Title>Invoice 1042</Item.Title>\n    <Item.Description>Nordlys AB, due 30 December.</Item.Description>\n  </Item.Content>\n  <Item.Actions><Button variant=\"outline\" size=\"sm\">Open</Button></Item.Actions>\n</Item.Root>",
			"importLine": "import { Item } from '@limerdev/zest'",
			"parts": [
				"Item.Root",
				"Item.Group",
				"Item.Separator",
				"Item.Media",
				"Item.Content",
				"Item.Title",
				"Item.Description",
				"Item.Actions"
			],
			"props": {
				"Item.Root": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "size",
						"type": "\"default\" | \"sm\"",
						"default": "'default'",
						"bindable": false,
						"required": false,
						"description": "The padding: `sm` for dense lists."
					},
					{
						"name": "variant",
						"type": "\"outline\" | \"default\" | \"muted\"",
						"default": "'default'",
						"bindable": false,
						"required": false,
						"description": "The look: `default` is plain, `outline` draws a border, `muted` fills it with the theme's surface."
					}
				],
				"Item.Group": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Item.Separator": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "decorative",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "Whether the separator is decorative and should be hidden from assistive technologies."
					},
					{
						"name": "orientation",
						"type": "\"horizontal\" | \"vertical\"",
						"default": "\"horizontal\"",
						"bindable": false,
						"required": false,
						"description": "The orientation of the separator."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Item.Media": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "variant",
						"type": "\"default\" | \"icon\" | \"image\"",
						"default": "'default'",
						"bindable": false,
						"required": false,
						"description": "`icon` sets an icon in a small tile, `image` crops an image to a square; `default` shows the children as they are."
					}
				],
				"Item.Content": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Item.Title": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Item.Description": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Item.Actions": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				]
			},
			"examples": [
				{
					"slug": "01-basic",
					"title": "Basic",
					"description": "A row: media, a title and description, and an action.",
					"code": "<script lang=\"ts\">\n\timport { Button, Item } from '@limerdev/zest';\n\timport FileTextIcon from '@lucide/svelte/icons/file-text';\n</script>\n\n<Item.Root variant=\"outline\" class=\"w-full max-w-md\">\n\t<Item.Media variant=\"icon\"><FileTextIcon aria-hidden=\"true\" /></Item.Media>\n\t<Item.Content>\n\t\t<Item.Title>Invoice 1042</Item.Title>\n\t\t<Item.Description>Nordlys AB, due 30 December.</Item.Description>\n\t</Item.Content>\n\t<Item.Actions><Button variant=\"outline\" size=\"sm\">Open</Button></Item.Actions>\n</Item.Root>"
				},
				{
					"slug": "02-list",
					"title": "List",
					"description": "Item.Group is a list; Item.Separator divides it. A link goes in the Item.Title, so each row stays a list item.",
					"code": "<script lang=\"ts\">\n\timport { Avatar, Badge, Item } from '@limerdev/zest';\n\n\ttype Person = { id: string; name: string; email: string; initials: string; role: string };\n\n\tconst people: Person[] = [\n\t\t{ id: 'p1', name: 'Anna Berg', email: 'anna@example.com', initials: 'AB', role: 'Owner' },\n\t\t{ id: 'p2', name: 'Erik Lund', email: 'erik@example.com', initials: 'EL', role: 'Member' },\n\t\t{ id: 'p3', name: 'Sara Ek', email: 'sara@example.com', initials: 'SE', role: 'Member' }\n\t];\n</script>\n\n<Item.Group aria-label=\"Members\" class=\"w-full max-w-md rounded-box border border-border\">\n\t{#each people as person, index (person.id)}\n\t\t{#if index > 0}<Item.Separator />{/if}\n\t\t<Item.Root size=\"sm\">\n\t\t\t<Item.Media>\n\t\t\t\t<Avatar.Root><Avatar.Fallback>{person.initials}</Avatar.Fallback></Avatar.Root>\n\t\t\t</Item.Media>\n\t\t\t<Item.Content>\n\t\t\t\t<Item.Title><a href=\"#{person.id}\" class=\"hover:underline\">{person.name}</a></Item.Title>\n\t\t\t\t<Item.Description>{person.email}</Item.Description>\n\t\t\t</Item.Content>\n\t\t\t<Item.Actions><Badge variant=\"neutral\">{person.role}</Badge></Item.Actions>\n\t\t</Item.Root>\n\t{/each}\n</Item.Group>"
				},
				{
					"slug": "03-link",
					"title": "Link",
					"description": "A single row that opens something is the link itself, with the child snippet.",
					"code": "<script lang=\"ts\">\n\timport { Item } from '@limerdev/zest';\n\timport ChevronRightIcon from '@lucide/svelte/icons/chevron-right';\n\timport ShieldCheckIcon from '@lucide/svelte/icons/shield-check';\n</script>\n\n<Item.Root variant=\"outline\" class=\"w-full max-w-md\">\n\t{#snippet child({ props })}\n\t\t<a href=\"#security\" {...props}>\n\t\t\t<Item.Media variant=\"icon\"><ShieldCheckIcon aria-hidden=\"true\" /></Item.Media>\n\t\t\t<Item.Content>\n\t\t\t\t<Item.Title>Security</Item.Title>\n\t\t\t\t<Item.Description>Two-factor sign-in and active sessions.</Item.Description>\n\t\t\t</Item.Content>\n\t\t\t<ChevronRightIcon aria-hidden=\"true\" class=\"size-4 text-muted\" />\n\t\t</a>\n\t{/snippet}\n</Item.Root>"
				},
				{
					"slug": "04-settings",
					"title": "Settings",
					"description": "variant=\"muted\" on a settings row, with a Switch labelled by the title.",
					"code": "<script lang=\"ts\">\n\timport { Item, Switch } from '@limerdev/zest';\n\n\tlet reminders: boolean = $state(true);\n</script>\n\n<Item.Root variant=\"muted\" class=\"w-full max-w-md\">\n\t<Item.Content>\n\t\t<Item.Title id=\"reminders-title\">Payment reminders</Item.Title>\n\t\t<Item.Description>Email the client when an invoice is a week overdue.</Item.Description>\n\t</Item.Content>\n\t<Item.Actions>\n\t\t<Switch bind:checked={reminders} aria-labelledby=\"reminders-title\" />\n\t</Item.Actions>\n</Item.Root>"
				}
			]
		},
		{
			"name": "Kbd",
			"slug": "kbd",
			"summary": "A key the user presses, as a small key cap: a `<kbd>` element. One `Kbd` per key, side by side for a combination (`<Kbd>Ctrl</Kbd><Kbd>K</Kbd>`), or the whole combination in one (`<Kbd>⌘K</Kbd>`). It takes an icon (`<Icon>` or a Lucide icon) for keys like Enter.",
			"category": "Data display",
			"bits": "",
			"use": "Keyboard shortcuts in help text, a tooltip or an empty state: \"Press Ctrl K to search\".",
			"avoid": "A shortcut beside a menu item: use the menu's `Shortcut`. Code or a value the user types: use `<code>`.",
			"example": "<script lang=\"ts\">\n  import { Kbd } from '@limerdev/zest';\n</script>\n\n<p class=\"text-sm text-muted\">Press <Kbd>Ctrl</Kbd> <Kbd>K</Kbd> to search.</p>",
			"importLine": "import { Kbd } from '@limerdev/zest'",
			"parts": [
				"Kbd"
			],
			"props": {
				"Kbd": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				]
			},
			"examples": [
				{
					"slug": "01-shortcuts",
					"title": "Shortcuts",
					"description": "One Kbd per key, side by side for a combination, or the combination in one.",
					"code": "<script lang=\"ts\">\n\timport CornerDownLeft from '@lucide/svelte/icons/corner-down-left';\n\timport { Kbd } from '@limerdev/zest';\n</script>\n\n<div class=\"flex flex-col gap-2 text-sm text-muted\">\n\t<p>Press <Kbd>Ctrl</Kbd> <Kbd>K</Kbd> to search.</p>\n\t<p>Press <Kbd>⌘K</Kbd> on a Mac.</p>\n\t<p>Press <Kbd><CornerDownLeft aria-hidden=\"true\" /> Enter</Kbd> to send.</p>\n</div>"
				}
			]
		},
		{
			"name": "Label",
			"slug": "label",
			"summary": "A label for a form control: clicking it focuses or toggles the control.",
			"category": "Data input",
			"bits": "Label",
			"use": "Naming a single control outside a `Field`, with `for` set to the control's `id`.",
			"avoid": "A form field with a description or an error: use `Field`, which wires the label, description and error to the control. Placeholder text instead of a label.",
			"example": "<script lang=\"ts\">\n  import { Input, Label } from '@limerdev/zest';\n</script>\n\n<Label for=\"email\">Email</Label>\n<Input id=\"email\" type=\"email\" />",
			"importLine": "import { Label } from '@limerdev/zest'",
			"parts": [
				"Label"
			],
			"props": {
				"Label": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				]
			},
			"examples": [
				{
					"slug": "01-for-a-control",
					"title": "For a control",
					"description": "A Label names the control its for points at. Inside a Field, use Field.Label.",
					"code": "<script lang=\"ts\">\n\timport { Input, Label } from '@limerdev/zest';\n</script>\n\n<div class=\"grid w-full max-w-sm gap-2\">\n\t<Label for=\"label-email\">Email</Label>\n\t<Input id=\"label-email\" type=\"email\" />\n</div>"
				}
			]
		},
		{
			"name": "LinkPreview",
			"slug": "link-preview",
			"summary": "A preview card shown while the pointer rests on a link (`openDelay`, `closeDelay`): a person, a project or a document behind it. The link still works as a link. The card is a mouse convenience: keyboard and touch users only get the link.",
			"category": "Overlays",
			"bits": "LinkPreview",
			"use": "A sighted, mouse-friendly preview of what a link leads to, such as a profile behind an @mention.",
			"avoid": "Anything the user needs, or anything to click inside the card: keyboard and touch users never see it. Use `Popover`, or put the information on the linked page.",
			"example": "<script lang=\"ts\">\n  import { LinkPreview } from '@limerdev/zest';\n</script>\n\n<LinkPreview.Root>\n  <LinkPreview.Trigger href=\"/people/anna\" class=\"text-link underline\">@anna</LinkPreview.Trigger>\n  <LinkPreview.Content>\n    <p class=\"font-semibold\">Anna Berg</p>\n    <p class=\"text-muted\">Project lead, Zest</p>\n  </LinkPreview.Content>\n</LinkPreview.Root>",
			"importLine": "import { LinkPreview } from '@limerdev/zest'",
			"parts": [
				"LinkPreview.Root",
				"LinkPreview.Trigger",
				"LinkPreview.Content",
				"LinkPreview.Portal"
			],
			"props": {
				"LinkPreview.Root": [
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "closeDelay",
						"type": "number",
						"default": "300",
						"bindable": false,
						"required": false,
						"description": "The delay in milliseconds before the preview closes."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "When `true`, the preview will be disabled and will not open."
					},
					{
						"name": "ignoreNonKeyboardFocus",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Prevent the preview from opening if the focus did not come using the keyboard."
					},
					{
						"name": "onOpenChange",
						"type": "OnChangeFn<boolean>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback that will be called when the link preview is opened or closed."
					},
					{
						"name": "onOpenChangeComplete",
						"type": "OnChangeFn<boolean>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback that will be called when the link preview finishes opening/closing animations."
					},
					{
						"name": "open",
						"type": "boolean",
						"default": "false",
						"bindable": true,
						"required": false,
						"description": "The open state of the link preview."
					},
					{
						"name": "openDelay",
						"type": "number",
						"default": "700",
						"bindable": false,
						"required": false,
						"description": "The delay in milliseconds before the preview opens."
					}
				],
				"LinkPreview.Trigger": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"LinkPreview.Content": [
					{
						"name": "align",
						"type": "\"start\" | \"center\" | \"end\"",
						"default": "'center'",
						"bindable": false,
						"required": false,
						"description": "The preferred alignment of the anchor to render against when open. This may change when collisions occur."
					},
					{
						"name": "alignOffset",
						"type": "number",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "An offset in pixels from the \"start\" or \"end\" alignment options."
					},
					{
						"name": "arrowPadding",
						"type": "number",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "This describes the padding between the arrow and the edges of the floating element. If your floating element has border-radius, this will prevent it from overflowing the corners."
					},
					{
						"name": "avoidCollisions",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "When `true`, overrides the `side` and `align` options to prevent collisions with the boundary edges."
					},
					{
						"name": "child",
						"type": "Snippet<[FloatingContentSnippetProps & { props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "collisionBoundary",
						"type": "Arrayable<Boundary>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A boundary element or array of elements to check for collisions against."
					},
					{
						"name": "collisionPadding",
						"type": "number | Partial<Record<\"top\" | \"right\" | \"bottom\" | \"left\", number>>",
						"default": "8",
						"bindable": false,
						"required": false,
						"description": "The amount in pixels of virtual padding around the viewport edges to check for overflow which will cause a collision."
					},
					{
						"name": "customAnchor",
						"type": "string | HTMLElement | Measurable | null",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Use an element other than the trigger to anchor the content to. If provided, the content will be anchored to the provided element instead of the trigger. You can pass a selector string or an HTMLElement."
					},
					{
						"name": "dir",
						"type": "\"ltr\" | \"rtl\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The text direction of the content."
					},
					{
						"name": "escapeKeydownBehavior",
						"type": "\"close\" | \"defer-otherwise-close\" | \"defer-otherwise-ignore\" | \"ignore\"",
						"default": "close",
						"bindable": false,
						"required": false,
						"description": "Escape behavior type. `close`: Closes the element immediately. `defer-otherwise-close`: Delegates the action to its parent component that has an escape keydown handler. If no parent is found, it closes the element. `defer-otherwise-ignore`: Delegates the action to the parent element. If no parent is found, nothing is done. `ignore`: Prevents the element from closing and also blocks the parent element from closing in response to an escape key press."
					},
					{
						"name": "forceMount",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "When `true`, the link preview content will be forced to mount in the DOM. Useful for more control over the transition behavior."
					},
					{
						"name": "hideWhenDetached",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": ""
					},
					{
						"name": "interactOutsideBehavior",
						"type": "\"close\" | \"defer-otherwise-close\" | \"defer-otherwise-ignore\" | \"ignore\"",
						"default": "close",
						"bindable": false,
						"required": false,
						"description": "Interact outside behavior type. `close`: Closes the element immediately. `defer-otherwise-close`: Delegates the action to the parent element. If no parent is found, it closes the element. `defer-otherwise-ignore`: Delegates the action to the parent element. If no parent is found, nothing is done. `ignore`: Prevents the element from closing and also blocks the parent element from closing in response to an outside interaction."
					},
					{
						"name": "onEscapeKeydown",
						"type": "((e: KeyboardEvent) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fired when escape is pressed."
					},
					{
						"name": "onFocusOutside",
						"type": "((event: FocusEvent) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fired when focus leaves the dismissible layer."
					},
					{
						"name": "onInteractOutside",
						"type": "InteractOutsideEventHandler",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fired when an outside interaction event completes, which is either a `pointerup`, `mouseup`, or `touchend` event, depending on the user's input device."
					},
					{
						"name": "portalProps",
						"type": "PortalProps",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Props for the portal the content renders in: `to` (the element to render in, the body by default) and `disabled` (render in place)."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "side",
						"type": "\"top\" | \"right\" | \"bottom\" | \"left\"",
						"default": "'bottom'",
						"bindable": false,
						"required": false,
						"description": "The preferred side of the anchor to render against when open. Will be reversed when collisions occur."
					},
					{
						"name": "sideOffset",
						"type": "number",
						"default": "4",
						"bindable": false,
						"required": false,
						"description": "The distance in pixels from the anchor to the floating element."
					},
					{
						"name": "sticky",
						"type": "\"partial\" | \"always\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": ""
					}
				],
				"LinkPreview.Portal": [
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The children content to render within the portal."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Disable portalling and render the component inline"
					},
					{
						"name": "to",
						"type": "PortalTarget",
						"default": "document.body",
						"bindable": false,
						"required": false,
						"description": "Where to portal the content to."
					}
				]
			},
			"examples": [
				{
					"slug": "01-a-mention",
					"title": "A mention",
					"description": "A profile behind an @mention. The link works as a link; the card is extra, for mouse users.",
					"code": "<script lang=\"ts\">\n\timport { LinkPreview } from '@limerdev/zest';\n</script>\n\n<p class=\"text-sm\">\n\tWeek 49 was approved by\n\t<LinkPreview.Root>\n\t\t<LinkPreview.Trigger href=\"#anna\" class=\"font-medium text-link underline underline-offset-4\">\n\t\t\t@anna\n\t\t</LinkPreview.Trigger>\n\t\t<LinkPreview.Content class=\"flex gap-3\">\n\t\t\t<span\n\t\t\t\tclass=\"grid size-10 shrink-0 place-content-center rounded-full bg-primary font-semibold text-primary-content\"\n\t\t\t>\n\t\t\t\tAB\n\t\t\t</span>\n\t\t\t<span class=\"flex flex-col gap-1\">\n\t\t\t\t<span class=\"font-semibold\">Anna Berg</span>\n\t\t\t\t<span class=\"text-muted\">Project lead, Zest. Approves hours for 12 people.</span>\n\t\t\t</span>\n\t\t</LinkPreview.Content>\n\t</LinkPreview.Root>\n</p>"
				}
			]
		},
		{
			"name": "Menubar",
			"slug": "menubar",
			"summary": "A bar of menus, as in a desktop application: `<Menubar.Root>` holds a `Menubar.Menu` per menu, each with a `Menubar.Trigger` and a `Menubar.Content`. The contents take the same items as `DropdownMenu`: `Item` (`variant=\"error\"`, `Shortcut`), `CheckboxItem`, `RadioGroup` with `RadioItem`s, `Group` with `GroupHeading`, `Label`, `Separator` and submenus. Left and Right move between menus, Down opens one, Escape closes.",
			"category": "Navigation",
			"bits": "Menubar",
			"use": "A dense editor or tool with many commands grouped into a few menus (File, Edit, View).",
			"avoid": "Site navigation: use links or `NavigationMenu`. A single menu: use `DropdownMenu`.",
			"example": "<script lang=\"ts\">\n  import { Menubar } from '@limerdev/zest';\n</script>\n\n<Menubar.Root>\n  <Menubar.Menu>\n    <Menubar.Trigger>File</Menubar.Trigger>\n    <Menubar.Content>\n      <Menubar.Item onSelect={create}>New report <Menubar.Shortcut>⌘N</Menubar.Shortcut></Menubar.Item>\n      <Menubar.Item onSelect={exportCsv}>Export as CSV</Menubar.Item>\n    </Menubar.Content>\n  </Menubar.Menu>\n  <Menubar.Menu>\n    <Menubar.Trigger>View</Menubar.Trigger>\n    <Menubar.Content>\n      <Menubar.CheckboxItem bind:checked={showWeekends}>Weekends</Menubar.CheckboxItem>\n    </Menubar.Content>\n  </Menubar.Menu>\n</Menubar.Root>",
			"importLine": "import { Menubar } from '@limerdev/zest'",
			"parts": [
				"Menubar.Root",
				"Menubar.Menu",
				"Menubar.Trigger",
				"Menubar.Content",
				"Menubar.Portal",
				"Menubar.Item",
				"Menubar.CheckboxItem",
				"Menubar.CheckboxGroup",
				"Menubar.RadioGroup",
				"Menubar.RadioItem",
				"Menubar.Group",
				"Menubar.GroupHeading",
				"Menubar.Label",
				"Menubar.Separator",
				"Menubar.Shortcut",
				"Menubar.Sub",
				"Menubar.SubTrigger",
				"Menubar.SubContent"
			],
			"props": {
				"Menubar.Root": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "dir",
						"type": "\"ltr\" | \"rtl\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The reading direction of the menubar."
					},
					{
						"name": "loop",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "When `true`, the roving focus will loop back to the first menu item when the last menu item is reached and vice verse."
					},
					{
						"name": "onValueChange",
						"type": "OnChangeFn<string>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback that is called when the active menu changes."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "value",
						"type": "string",
						"default": "''",
						"bindable": true,
						"required": false,
						"description": "The 'value' assigned to the currently active menu in the menubar."
					}
				],
				"Menubar.Menu": [
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "onOpenChange",
						"type": "OnChangeFn<boolean>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback that is called when the menu is opened or closed."
					},
					{
						"name": "value",
						"type": "string",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The `value` assigned to the menu. Used to programmatically control the menu's open state within the menubar."
					}
				],
				"Menubar.Trigger": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "disabled",
						"type": "null | false | true",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether the trigger for the menubar item is disabled."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Menubar.Content": [
					{
						"name": "align",
						"type": "\"start\" | \"center\" | \"end\"",
						"default": "'start'",
						"bindable": false,
						"required": false,
						"description": "The preferred alignment of the anchor to render against when open. This may change when collisions occur."
					},
					{
						"name": "alignOffset",
						"type": "number",
						"default": "-4",
						"bindable": false,
						"required": false,
						"description": "An offset in pixels from the \"start\" or \"end\" alignment options."
					},
					{
						"name": "arrowPadding",
						"type": "number",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "This describes the padding between the arrow and the edges of the floating element. If your floating element has border-radius, this will prevent it from overflowing the corners."
					},
					{
						"name": "avoidCollisions",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "When `true`, overrides the `side` and `align` options to prevent collisions with the boundary edges."
					},
					{
						"name": "child",
						"type": "Snippet<[FloatingContentSnippetProps & { props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "collisionBoundary",
						"type": "Arrayable<Boundary>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A boundary element or array of elements to check for collisions against."
					},
					{
						"name": "collisionPadding",
						"type": "number | Partial<Record<\"top\" | \"right\" | \"bottom\" | \"left\", number>>",
						"default": "8",
						"bindable": false,
						"required": false,
						"description": "The amount in pixels of virtual padding around the viewport edges to check for overflow which will cause a collision."
					},
					{
						"name": "customAnchor",
						"type": "string | HTMLElement | Measurable | null",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Use an element other than the trigger to anchor the content to. If provided, the content will be anchored to the provided element instead of the trigger. You can pass a selector string or an HTMLElement."
					},
					{
						"name": "dir",
						"type": "\"ltr\" | \"rtl\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The text direction of the content."
					},
					{
						"name": "escapeKeydownBehavior",
						"type": "\"close\" | \"defer-otherwise-close\" | \"defer-otherwise-ignore\" | \"ignore\"",
						"default": "close",
						"bindable": false,
						"required": false,
						"description": "Escape behavior type. `close`: Closes the element immediately. `defer-otherwise-close`: Delegates the action to its parent component that has an escape keydown handler. If no parent is found, it closes the element. `defer-otherwise-ignore`: Delegates the action to the parent element. If no parent is found, nothing is done. `ignore`: Prevents the element from closing and also blocks the parent element from closing in response to an escape key press."
					},
					{
						"name": "forceMount",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Whether to force mount the component."
					},
					{
						"name": "hideWhenDetached",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": ""
					},
					{
						"name": "interactOutsideBehavior",
						"type": "\"close\" | \"defer-otherwise-close\" | \"defer-otherwise-ignore\" | \"ignore\"",
						"default": "close",
						"bindable": false,
						"required": false,
						"description": "Interact outside behavior type. `close`: Closes the element immediately. `defer-otherwise-close`: Delegates the action to the parent element. If no parent is found, it closes the element. `defer-otherwise-ignore`: Delegates the action to the parent element. If no parent is found, nothing is done. `ignore`: Prevents the element from closing and also blocks the parent element from closing in response to an outside interaction."
					},
					{
						"name": "loop",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "When `true`, the menu will loop through items when navigating with the keyboard."
					},
					{
						"name": "onCloseAutoFocus",
						"type": "EventCallback",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Event handler called when auto-focusing on close. Can be prevented."
					},
					{
						"name": "onEscapeKeydown",
						"type": "((e: KeyboardEvent) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fired when escape is pressed."
					},
					{
						"name": "onFocusOutside",
						"type": "((event: FocusEvent) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fired when focus leaves the dismissible layer."
					},
					{
						"name": "onInteractOutside",
						"type": "InteractOutsideEventHandler",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fired when an outside interaction event completes, which is either a `pointerup`, `mouseup`, or `touchend` event, depending on the user's input device."
					},
					{
						"name": "onOpenAutoFocus",
						"type": "EventCallback",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Event handler called when auto-focusing on open. Can be prevented."
					},
					{
						"name": "portalProps",
						"type": "PortalProps",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Props for the portal the content renders in: `to` (the element to render in, the body by default) and `disabled` (render in place)."
					},
					{
						"name": "preventOverflowTextSelection",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "Passing `true` will prevent the overflow of text selection outside the element, provided the element is the top layer."
					},
					{
						"name": "preventScroll",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "Whether to prevent scrolling the body when the content is open. Whether to prevent body scrolling when the content is open."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "side",
						"type": "\"top\" | \"right\" | \"bottom\" | \"left\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The preferred side of the anchor to render against when open. Will be reversed when collisions occur."
					},
					{
						"name": "sideOffset",
						"type": "number",
						"default": "6",
						"bindable": false,
						"required": false,
						"description": "The distance in pixels from the anchor to the floating element."
					},
					{
						"name": "sticky",
						"type": "\"partial\" | \"always\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": ""
					},
					{
						"name": "strategy",
						"type": "\"absolute\" | \"fixed\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The positioning strategy to use for the floating element."
					},
					{
						"name": "trapFocus",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether focus is trapped within the focus scope."
					},
					{
						"name": "updatePositionStrategy",
						"type": "\"always\" | \"optimized\"",
						"default": "\"optimized\"",
						"bindable": false,
						"required": false,
						"description": "\"optimized\" will only update the position when necessary, while \"always\" will update the position on each animation frame, which is useful if the floating content is following something like a mouse cursor."
					}
				],
				"Menubar.Portal": [
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The children content to render within the portal."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Disable portalling and render the component inline"
					},
					{
						"name": "to",
						"type": "PortalTarget",
						"default": "document.body",
						"bindable": false,
						"required": false,
						"description": "Where to portal the content to."
					}
				],
				"Menubar.Item": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "closeOnSelect",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "Whether or not the menu item should close when selected."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "When `true`, the user will not be able to interact with the menu item."
					},
					{
						"name": "inset",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Indent the text to line up with items that show an icon, check or dot."
					},
					{
						"name": "onSelect",
						"type": "((event: Event) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback fired when the menu item is selected. Prevent default behavior of selection with `event.preventDefault()`."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "textValue",
						"type": "string",
						"default": "undefined",
						"bindable": false,
						"required": false,
						"description": "Optional text to use for typeahead filtering. By default, typeahead will use the `.textContent` of the menu item. When the content is more complex, you can provide a string here instead."
					},
					{
						"name": "variant",
						"type": "\"error\" | \"default\"",
						"default": "'default'",
						"bindable": false,
						"required": false,
						"description": "`error` colours the item for deleting."
					}
				],
				"Menubar.CheckboxItem": [
					{
						"name": "checked",
						"type": "boolean",
						"default": "false",
						"bindable": true,
						"required": false,
						"description": "The checked state of the checkbox. It can be one of: - `true` for checked - `false` for unchecked"
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "closeOnSelect",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether or not the menu item should close when selected."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "When `true`, the user will not be able to interact with the menu item."
					},
					{
						"name": "indeterminate",
						"type": "boolean",
						"default": "false",
						"bindable": true,
						"required": false,
						"description": "Whether the checkbox is in an indeterminate state or not."
					},
					{
						"name": "onCheckedChange",
						"type": "OnChangeFn<boolean>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback that is fired when the checked state changes."
					},
					{
						"name": "onIndeterminateChange",
						"type": "OnChangeFn<boolean>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback function called when the indeterminate state changes."
					},
					{
						"name": "onSelect",
						"type": "((event: Event) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback fired when the menu item is selected. Prevent default behavior of selection with `event.preventDefault()`."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "textValue",
						"type": "string",
						"default": "undefined",
						"bindable": false,
						"required": false,
						"description": "Optional text to use for typeahead filtering. By default, typeahead will use the `.textContent` of the menu item. When the content is more complex, you can provide a string here instead."
					},
					{
						"name": "value",
						"type": "string",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The value of the checkbox item when used in a checkbox group."
					}
				],
				"Menubar.CheckboxGroup": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "onValueChange",
						"type": "OnChangeFn<string[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback that is fired when the selected checkbox items change."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "value",
						"type": "string[]",
						"default": "[]",
						"bindable": true,
						"required": false,
						"description": "The values of the selected checkbox items. Supports two-way binding with `bind:value`."
					}
				],
				"Menubar.RadioGroup": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "onValueChange",
						"type": "OnChangeFn<string>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback that is fired when the selected radio item changes."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "value",
						"type": "string",
						"default": "''",
						"bindable": true,
						"required": false,
						"description": "The value of the selected radio item. Supports two-way binding with `bind:value`."
					}
				],
				"Menubar.RadioItem": [
					{
						"name": "children",
						"type": "Snippet<[MenuRadioItemSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "closeOnSelect",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether or not the menu item should close when selected."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "When `true`, the user will not be able to interact with the menu item."
					},
					{
						"name": "onSelect",
						"type": "((event: Event) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback fired when the menu item is selected. Prevent default behavior of selection with `event.preventDefault()`."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "textValue",
						"type": "string",
						"default": "undefined",
						"bindable": false,
						"required": false,
						"description": "Optional text to use for typeahead filtering. By default, typeahead will use the `.textContent` of the menu item. When the content is more complex, you can provide a string here instead."
					},
					{
						"name": "value",
						"type": "string",
						"default": "",
						"bindable": false,
						"required": true,
						"description": "The value of the radio item."
					}
				],
				"Menubar.Group": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Menubar.GroupHeading": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "inset",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Indent the text to line up with items that show an icon, check or dot."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Menubar.Label": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "inset",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Indent the text to line up with items that show an icon, check or dot."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Menubar.Separator": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Menubar.Shortcut": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Menubar.Sub": [
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "onOpenChange",
						"type": "OnChangeFn<boolean>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback that is called when the menu is opened or closed."
					},
					{
						"name": "onOpenChangeComplete",
						"type": "OnChangeFn<boolean>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback that is called when the menu finishes opening/closing animations."
					},
					{
						"name": "open",
						"type": "boolean",
						"default": "false",
						"bindable": true,
						"required": false,
						"description": "The open state of the menu."
					}
				],
				"Menubar.SubTrigger": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "When `true`, the user will not be able to interact with the menu item."
					},
					{
						"name": "inset",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Indent the text to line up with items that show an icon, check or dot."
					},
					{
						"name": "onSelect",
						"type": "((event: Event) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback fired when the menu item is selected. Prevent default behavior of selection with `event.preventDefault()`."
					},
					{
						"name": "openDelay",
						"type": "number",
						"default": "100",
						"bindable": false,
						"required": false,
						"description": "The amount of time in ms from when the mouse enters the subtrigger until the submenu opens. This is useful for preventing the submenu from opening as a user is moving their mouse through the menu without a true intention to open that submenu. To disable the behavior, set it to `0`."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "textValue",
						"type": "string",
						"default": "undefined",
						"bindable": false,
						"required": false,
						"description": "Optional text to use for typeahead filtering. By default, typeahead will use the `.textContent` of the menu item. When the content is more complex, you can provide a string here instead."
					}
				],
				"Menubar.SubContent": [
					{
						"name": "align",
						"type": "\"start\" | \"center\" | \"end\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The preferred alignment of the anchor to render against when open. This may change when collisions occur."
					},
					{
						"name": "alignOffset",
						"type": "number",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "An offset in pixels from the \"start\" or \"end\" alignment options."
					},
					{
						"name": "arrowPadding",
						"type": "number",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "This describes the padding between the arrow and the edges of the floating element. If your floating element has border-radius, this will prevent it from overflowing the corners."
					},
					{
						"name": "avoidCollisions",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "When `true`, overrides the `side` and `align` options to prevent collisions with the boundary edges."
					},
					{
						"name": "child",
						"type": "Snippet<[FloatingContentSnippetProps & { props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "collisionBoundary",
						"type": "Arrayable<Boundary>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A boundary element or array of elements to check for collisions against."
					},
					{
						"name": "collisionPadding",
						"type": "number | Partial<Record<\"top\" | \"right\" | \"bottom\" | \"left\", number>>",
						"default": "8",
						"bindable": false,
						"required": false,
						"description": "The amount in pixels of virtual padding around the viewport edges to check for overflow which will cause a collision."
					},
					{
						"name": "customAnchor",
						"type": "string | HTMLElement | Measurable | null",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Use an element other than the trigger to anchor the content to. If provided, the content will be anchored to the provided element instead of the trigger. You can pass a selector string or an HTMLElement."
					},
					{
						"name": "dir",
						"type": "\"ltr\" | \"rtl\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The text direction of the content."
					},
					{
						"name": "escapeKeydownBehavior",
						"type": "\"close\" | \"defer-otherwise-close\" | \"defer-otherwise-ignore\" | \"ignore\"",
						"default": "close",
						"bindable": false,
						"required": false,
						"description": "Escape behavior type. `close`: Closes the element immediately. `defer-otherwise-close`: Delegates the action to its parent component that has an escape keydown handler. If no parent is found, it closes the element. `defer-otherwise-ignore`: Delegates the action to the parent element. If no parent is found, nothing is done. `ignore`: Prevents the element from closing and also blocks the parent element from closing in response to an escape key press."
					},
					{
						"name": "forceMount",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Whether to force mount the component."
					},
					{
						"name": "hideWhenDetached",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": ""
					},
					{
						"name": "interactOutsideBehavior",
						"type": "\"close\" | \"defer-otherwise-close\" | \"defer-otherwise-ignore\" | \"ignore\"",
						"default": "close",
						"bindable": false,
						"required": false,
						"description": "Interact outside behavior type. `close`: Closes the element immediately. `defer-otherwise-close`: Delegates the action to the parent element. If no parent is found, it closes the element. `defer-otherwise-ignore`: Delegates the action to the parent element. If no parent is found, nothing is done. `ignore`: Prevents the element from closing and also blocks the parent element from closing in response to an outside interaction."
					},
					{
						"name": "loop",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "When `true`, the menu will loop through items when navigating with the keyboard."
					},
					{
						"name": "onCloseAutoFocus",
						"type": "EventCallback",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Event handler called when auto-focusing on close. Can be prevented."
					},
					{
						"name": "onEscapeKeydown",
						"type": "((e: KeyboardEvent) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fired when escape is pressed."
					},
					{
						"name": "onFocusOutside",
						"type": "((event: FocusEvent) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fired when focus leaves the dismissible layer."
					},
					{
						"name": "onInteractOutside",
						"type": "InteractOutsideEventHandler",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fired when an outside interaction event completes, which is either a `pointerup`, `mouseup`, or `touchend` event, depending on the user's input device."
					},
					{
						"name": "onOpenAutoFocus",
						"type": "EventCallback",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Event handler called when auto-focusing on open. Can be prevented."
					},
					{
						"name": "preventOverflowTextSelection",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "Passing `true` will prevent the overflow of text selection outside the element, provided the element is the top layer."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "side",
						"type": "\"top\" | \"right\" | \"bottom\" | \"left\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The preferred side of the anchor to render against when open. Will be reversed when collisions occur."
					},
					{
						"name": "sideOffset",
						"type": "number",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The distance in pixels from the anchor to the floating element."
					},
					{
						"name": "sticky",
						"type": "\"partial\" | \"always\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": ""
					},
					{
						"name": "strategy",
						"type": "\"absolute\" | \"fixed\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The positioning strategy to use for the floating element."
					},
					{
						"name": "trapFocus",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether focus is trapped within the focus scope."
					},
					{
						"name": "updatePositionStrategy",
						"type": "\"always\" | \"optimized\"",
						"default": "\"optimized\"",
						"bindable": false,
						"required": false,
						"description": "\"optimized\" will only update the position when necessary, while \"always\" will update the position on each animation frame, which is useful if the floating content is following something like a mouse cursor."
					}
				]
			},
			"examples": [
				{
					"slug": "01-basic",
					"title": "Basic",
					"description": "A report editor's commands. Left and Right move between menus.",
					"code": "<script lang=\"ts\">\n\timport { Menubar } from '@limerdev/zest';\n\n\tlet weekends = $state(false);\n\tlet grouping = $state('project');\n</script>\n\n<Menubar.Root>\n\t<Menubar.Menu>\n\t\t<Menubar.Trigger>File</Menubar.Trigger>\n\t\t<Menubar.Content>\n\t\t\t<Menubar.Item>New report <Menubar.Shortcut>⌘N</Menubar.Shortcut></Menubar.Item>\n\t\t\t<Menubar.Item>Duplicate</Menubar.Item>\n\t\t\t<Menubar.Separator />\n\t\t\t<Menubar.Sub>\n\t\t\t\t<Menubar.SubTrigger>Export</Menubar.SubTrigger>\n\t\t\t\t<Menubar.SubContent>\n\t\t\t\t\t<Menubar.Item>As CSV</Menubar.Item>\n\t\t\t\t\t<Menubar.Item>As PDF</Menubar.Item>\n\t\t\t\t</Menubar.SubContent>\n\t\t\t</Menubar.Sub>\n\t\t</Menubar.Content>\n\t</Menubar.Menu>\n\t<Menubar.Menu>\n\t\t<Menubar.Trigger>View</Menubar.Trigger>\n\t\t<Menubar.Content>\n\t\t\t<Menubar.CheckboxItem bind:checked={weekends}>Show weekends</Menubar.CheckboxItem>\n\t\t\t<Menubar.Separator />\n\t\t\t<Menubar.Label>Group by</Menubar.Label>\n\t\t\t<Menubar.RadioGroup bind:value={grouping}>\n\t\t\t\t<Menubar.RadioItem value=\"project\">Project</Menubar.RadioItem>\n\t\t\t\t<Menubar.RadioItem value=\"person\">Person</Menubar.RadioItem>\n\t\t\t</Menubar.RadioGroup>\n\t\t</Menubar.Content>\n\t</Menubar.Menu>\n\t<Menubar.Menu>\n\t\t<Menubar.Trigger>Help</Menubar.Trigger>\n\t\t<Menubar.Content>\n\t\t\t<Menubar.Item>Keyboard shortcuts</Menubar.Item>\n\t\t</Menubar.Content>\n\t</Menubar.Menu>\n</Menubar.Root>"
				}
			]
		},
		{
			"name": "Meter",
			"slug": "meter",
			"summary": "A measurement within a known range: `value` between `min` and `max` (0 and 100 by default), announced as a meter. Name it with `aria-label` or `aria-labelledby`, and set `aria-valuetext` when the number alone doesn't say it (\"312 of 400 hours\").",
			"category": "Data display",
			"bits": "Meter",
			"use": "Hours used of a budget, storage used, a score.",
			"avoid": "How far a running task has come: use `Progress`.",
			"example": "<script lang=\"ts\">\n  import { Meter } from '@limerdev/zest';\n</script>\n\n<Meter value={312} max={400} aria-label=\"Budget used\" aria-valuetext=\"312 of 400 hours\" />",
			"importLine": "import { Meter } from '@limerdev/zest'",
			"parts": [
				"Meter"
			],
			"props": {
				"Meter": [
					{
						"name": "max",
						"type": "number",
						"default": "100",
						"bindable": false,
						"required": false,
						"description": "The maximum value of the meter."
					},
					{
						"name": "min",
						"type": "number",
						"default": "0",
						"bindable": false,
						"required": false,
						"description": "The minimum value of the meter."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "value",
						"type": "number",
						"default": "0",
						"bindable": false,
						"required": false,
						"description": "The current value of the meter."
					}
				]
			},
			"examples": [
				{
					"slug": "01-basic",
					"title": "Basic",
					"description": "aria-valuetext says what the number means. A class can recolour the indicator.",
					"code": "<script lang=\"ts\">\n\timport { Meter } from '@limerdev/zest';\n</script>\n\n<div class=\"grid w-full max-w-sm gap-4\">\n\t<div class=\"grid gap-2\">\n\t\t<p id=\"budget-label\" class=\"flex justify-between text-sm font-medium\">\n\t\t\tBudget used <span class=\"text-muted\">312 of 400 h</span>\n\t\t</p>\n\t\t<Meter value={312} max={400} aria-labelledby=\"budget-label\" aria-valuetext=\"312 of 400 hours\" />\n\t</div>\n\t<div class=\"grid gap-2\">\n\t\t<p id=\"over-label\" class=\"flex justify-between text-sm font-medium\">\n\t\t\tSupport hours <span class=\"text-muted\">58 of 60 h</span>\n\t\t</p>\n\t\t<Meter\n\t\t\tvalue={58}\n\t\t\tmax={60}\n\t\t\taria-labelledby=\"over-label\"\n\t\t\taria-valuetext=\"58 of 60 hours\"\n\t\t\tclass=\"[&_[data-slot=meter-indicator]]:bg-warning\"\n\t\t/>\n\t</div>\n</div>"
				}
			]
		},
		{
			"name": "NativeSelect",
			"slug": "native-select",
			"summary": "The browser's own `<select>`, styled as a Zest field: `<NativeSelect.Root>` with `bind:value`, and its options given as `items` or as `NativeSelect.Option`s (grouped in `NativeSelect.OptGroup`s). `placeholder` adds an empty first option. Inside a `Field` it takes its id, label, description, error and invalid and disabled state from the Field.",
			"category": "Data input",
			"bits": "",
			"use": "A choice in a form that must work without JavaScript or post natively, a long list where the phone's own picker is easier (countries, time zones), a dense table filter.",
			"avoid": "Options that need icons, descriptions or search: use `Select` or `Combobox`. Several choices at once: use `Checkbox`es or a `Combobox`. Two or three options: use a `RadioGroup`.",
			"example": "<script lang=\"ts\">\n  import { Field, NativeSelect } from '@limerdev/zest';\n\n  let currency = $state('SEK');\n</script>\n\n<Field.Root>\n  <Field.Label>Currency</Field.Label>\n  <NativeSelect.Root\n    name=\"currency\"\n    bind:value={currency}\n    items={[\n      { value: 'SEK', label: 'Swedish krona' },\n      { value: 'EUR', label: 'Euro' }\n    ]}\n  />\n</Field.Root>",
			"importLine": "import { NativeSelect } from '@limerdev/zest'",
			"parts": [
				"NativeSelect.Root",
				"NativeSelect.Option",
				"NativeSelect.OptGroup"
			],
			"props": {
				"NativeSelect.Root": [
					{
						"name": "items",
						"type": "SelectOption[]",
						"default": "[]",
						"bindable": false,
						"required": false,
						"description": "The options, drawn when the select is given no children."
					},
					{
						"name": "placeholder",
						"type": "string",
						"default": "undefined",
						"bindable": false,
						"required": false,
						"description": "A first option with an empty value, shown until the user picks: \"Choose a country\". It can't be picked again; with `required`, the form won't submit while it shows."
					},
					{
						"name": "ref",
						"type": "HTMLSelectElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "value",
						"type": "string",
						"default": "",
						"bindable": true,
						"required": false,
						"description": "The chosen option's value. Bindable. It starts on the placeholder, or on the first option when there is none."
					}
				],
				"NativeSelect.Option": [
					{
						"name": "ref",
						"type": "HTMLOptionElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"NativeSelect.OptGroup": [
					{
						"name": "ref",
						"type": "HTMLOptGroupElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				]
			},
			"examples": [
				{
					"slug": "01-basic",
					"title": "Basic",
					"description": "In a Field, with items and a placeholder. It posts with the form like any select.",
					"code": "<script lang=\"ts\">\n\timport { Field, NativeSelect } from '@limerdev/zest';\n\n\tlet currency: string | undefined = $state();\n</script>\n\n<Field.Root class=\"w-full max-w-xs\">\n\t<Field.Label>Currency</Field.Label>\n\t<NativeSelect.Root\n\t\tname=\"currency\"\n\t\tplaceholder=\"Choose a currency\"\n\t\tbind:value={currency}\n\t\titems={[\n\t\t\t{ value: 'SEK', label: 'Swedish krona' },\n\t\t\t{ value: 'NOK', label: 'Norwegian krone' },\n\t\t\t{ value: 'EUR', label: 'Euro' }\n\t\t]}\n\t/>\n\t<Field.Description>Invoices are sent in it.</Field.Description>\n</Field.Root>"
				},
				{
					"slug": "02-groups",
					"title": "Groups",
					"description": "NativeSelect.Option and NativeSelect.OptGroup as children, for grouped options.",
					"code": "<script lang=\"ts\">\n\timport { Field, NativeSelect } from '@limerdev/zest';\n</script>\n\n<Field.Root class=\"w-full max-w-xs\">\n\t<Field.Label>Time zone</Field.Label>\n\t<NativeSelect.Root name=\"timezone\" value=\"Europe/Stockholm\">\n\t\t<NativeSelect.OptGroup label=\"Europe\">\n\t\t\t<NativeSelect.Option value=\"Europe/Stockholm\">Stockholm</NativeSelect.Option>\n\t\t\t<NativeSelect.Option value=\"Europe/Oslo\">Oslo</NativeSelect.Option>\n\t\t\t<NativeSelect.Option value=\"Europe/London\">London</NativeSelect.Option>\n\t\t</NativeSelect.OptGroup>\n\t\t<NativeSelect.OptGroup label=\"America\">\n\t\t\t<NativeSelect.Option value=\"America/New_York\">New York</NativeSelect.Option>\n\t\t\t<NativeSelect.Option value=\"America/Los_Angeles\">Los Angeles</NativeSelect.Option>\n\t\t</NativeSelect.OptGroup>\n\t</NativeSelect.Root>\n</Field.Root>"
				},
				{
					"slug": "03-states",
					"title": "States",
					"description": "The Field's invalid and disabled states reach the select.",
					"code": "<script lang=\"ts\">\n\timport { Field, NativeSelect } from '@limerdev/zest';\n\n\tconst roles = [\n\t\t{ value: 'member', label: 'Member' },\n\t\t{ value: 'admin', label: 'Admin' }\n\t];\n</script>\n\n<div class=\"flex w-full max-w-xs flex-col gap-6\">\n\t<Field.Root invalid>\n\t\t<Field.Label>Role</Field.Label>\n\t\t<NativeSelect.Root name=\"role\" placeholder=\"Choose a role\" items={roles} />\n\t\t<Field.Error>Pick a role.</Field.Error>\n\t</Field.Root>\n\t<Field.Root disabled>\n\t\t<Field.Label>Role (locked)</Field.Label>\n\t\t<NativeSelect.Root name=\"locked-role\" value=\"admin\" items={roles} />\n\t</Field.Root>\n</div>"
				}
			]
		},
		{
			"name": "NavigationMenu",
			"slug": "navigation-menu",
			"summary": "A site's or app's main navigation: `<NavigationMenu.Root>` holds a `NavigationMenu.List` of `NavigationMenu.Item`s. An item is a `NavigationMenu.Link` (style it with `navigationMenuTriggerStyle()` at the top level; `active` marks the current page) or a `NavigationMenu.Trigger` with a `NavigationMenu.Content` panel of links. Panels open on hover or click, in a shared viewport below the bar (`viewport={false}` places each under its trigger). Arrow keys move along the bar, Escape closes a panel.",
			"category": "Navigation",
			"bits": "NavigationMenu",
			"use": "A top bar with a few sections, some with sub-pages to choose from.",
			"avoid": "Actions rather than pages: use `DropdownMenu` or `Menubar`. Many sections in an admin app: a sidebar of links.",
			"example": "<script lang=\"ts\">\n  import { NavigationMenu, navigationMenuTriggerStyle } from '@limerdev/zest';\n</script>\n\n<NavigationMenu.Root>\n  <NavigationMenu.List>\n    <NavigationMenu.Item>\n      <NavigationMenu.Trigger>Reports</NavigationMenu.Trigger>\n      <NavigationMenu.Content>\n        <NavigationMenu.Link href=\"/reports/hours\">Hours</NavigationMenu.Link>\n        <NavigationMenu.Link href=\"/reports/invoices\">Invoices</NavigationMenu.Link>\n      </NavigationMenu.Content>\n    </NavigationMenu.Item>\n    <NavigationMenu.Item>\n      <NavigationMenu.Link href=\"/settings\" class={navigationMenuTriggerStyle()}>Settings</NavigationMenu.Link>\n    </NavigationMenu.Item>\n  </NavigationMenu.List>\n</NavigationMenu.Root>",
			"importLine": "import { NavigationMenu, navigationMenuTriggerStyle } from '@limerdev/zest'",
			"parts": [
				"NavigationMenu.Root",
				"NavigationMenu.List",
				"NavigationMenu.Item",
				"NavigationMenu.Trigger",
				"NavigationMenu.Content",
				"NavigationMenu.Link",
				"NavigationMenu.Viewport",
				"NavigationMenu.Indicator",
				"NavigationMenu.Sub",
				"navigationMenuTriggerStyle"
			],
			"props": {
				"NavigationMenu.Root": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "delayDuration",
						"type": "number",
						"default": "200",
						"bindable": false,
						"required": false,
						"description": "The amount of time in ms from when the mouse enters a trigger until the content opens."
					},
					{
						"name": "dir",
						"type": "\"ltr\" | \"rtl\"",
						"default": "\"ltr\"",
						"bindable": false,
						"required": false,
						"description": "The reading direction of the content."
					},
					{
						"name": "onValueChange",
						"type": "OnChangeFn<string>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The callback to call when a menu item is selected."
					},
					{
						"name": "orientation",
						"type": "\"horizontal\" | \"vertical\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The orientation of the menu."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "skipDelayDuration",
						"type": "number",
						"default": "300",
						"bindable": false,
						"required": false,
						"description": "The amount of time in ms that a user has to enter another trigger without incurring a delay again."
					},
					{
						"name": "value",
						"type": "string",
						"default": "''",
						"bindable": true,
						"required": false,
						"description": "The value of the currently open menu item."
					},
					{
						"name": "viewport",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "Open every panel in one shared box below the bar; `false` opens each under its trigger."
					}
				],
				"NavigationMenu.List": [
					{
						"name": "child",
						"type": "Snippet<[{ wrapperProps: Record<string, unknown>; } & { props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"NavigationMenu.Item": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "openOnHover",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "Whether to open the menu associated with the item when the item's trigger is hovered."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "value",
						"type": "string",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The value of the menu item."
					}
				],
				"NavigationMenu.Trigger": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "disabled",
						"type": "null | false | true",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether the trigger is disabled."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"NavigationMenu.Content": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "escapeKeydownBehavior",
						"type": "\"close\" | \"defer-otherwise-close\" | \"defer-otherwise-ignore\" | \"ignore\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Behavior when the escape key is pressed while the menu content is open."
					},
					{
						"name": "forceMount",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether to forcefully mount the content, regardless of the open state. This is useful when wanting to use more custom transition and animation libraries."
					},
					{
						"name": "interactOutsideBehavior",
						"type": "\"close\" | \"defer-otherwise-close\" | \"defer-otherwise-ignore\" | \"ignore\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Behavior when an interaction occurs outside the content."
					},
					{
						"name": "onEscapeKeydown",
						"type": "((event: KeyboardEvent) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fires when an escape keydown event occurs. Default behavior can be prevented with `event.preventDefault()`"
					},
					{
						"name": "onFocusOutside",
						"type": "((event: FocusEvent) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fired when a focus event occurs outside the content. Default behavior can be prevented with `event.preventDefault()`"
					},
					{
						"name": "onInteractOutside",
						"type": "((event: PointerEvent) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fired when an interaction occurs outside the content. Default behavior can be prevented with `event.preventDefault()`"
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"NavigationMenu.Link": [
					{
						"name": "active",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Whether the link is the current active page"
					},
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "onSelect",
						"type": "((e: Event) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback fired when the link is clicked. Default behavior can be prevented with `event.preventDefault()`"
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"NavigationMenu.Viewport": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "forceMount",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether to forcefully mount the content, regardless of the open state. This is useful when wanting to use more custom transition and animation libraries."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"NavigationMenu.Indicator": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "forceMount",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether to forcefully mount the content, regardless of the open state. This is useful when wanting to use more custom transition and animation libraries."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"NavigationMenu.Sub": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "onValueChange",
						"type": "OnChangeFn<string>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback fired when the active menu item changes."
					},
					{
						"name": "orientation",
						"type": "\"horizontal\" | \"vertical\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The orientation of the menu."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "value",
						"type": "string",
						"default": "",
						"bindable": true,
						"required": false,
						"description": "The value of the currently open menu item within the menu."
					}
				]
			},
			"examples": [
				{
					"slug": "01-basic",
					"title": "Basic",
					"description": "Triggers open panels of links in a shared box below the bar; a top-level link uses navigationMenuTriggerStyle(). active marks the current page.",
					"code": "<script lang=\"ts\">\n\timport { NavigationMenu, navigationMenuTriggerStyle } from '@limerdev/zest';\n\n\ttype Page = { href: string; title: string; description: string };\n\n\tconst reports: Page[] = [\n\t\t{ href: '#hours', title: 'Hours', description: 'Logged and billable hours per week.' },\n\t\t{ href: '#invoices', title: 'Invoices', description: 'Sent, paid and overdue.' },\n\t\t{ href: '#budgets', title: 'Budgets', description: 'Hours used against each budget.' }\n\t];\n</script>\n\n<div class=\"flex h-64 items-start justify-center\">\n\t<NavigationMenu.Root aria-label=\"Main\">\n\t\t<NavigationMenu.List>\n\t\t\t<NavigationMenu.Item>\n\t\t\t\t<NavigationMenu.Trigger>Reports</NavigationMenu.Trigger>\n\t\t\t\t<NavigationMenu.Content>\n\t\t\t\t\t<ul class=\"grid w-80 gap-1\">\n\t\t\t\t\t\t{#each reports as report (report.href)}\n\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t<NavigationMenu.Link href={report.href}>\n\t\t\t\t\t\t\t\t\t<span class=\"font-medium\">{report.title}</span>\n\t\t\t\t\t\t\t\t\t<span class=\"text-muted\">{report.description}</span>\n\t\t\t\t\t\t\t\t</NavigationMenu.Link>\n\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t{/each}\n\t\t\t\t\t</ul>\n\t\t\t\t</NavigationMenu.Content>\n\t\t\t</NavigationMenu.Item>\n\t\t\t<NavigationMenu.Item>\n\t\t\t\t<NavigationMenu.Link href=\"#projects\" active class={navigationMenuTriggerStyle()}>\n\t\t\t\t\tProjects\n\t\t\t\t</NavigationMenu.Link>\n\t\t\t</NavigationMenu.Item>\n\t\t\t<NavigationMenu.Item>\n\t\t\t\t<NavigationMenu.Link href=\"#settings\" class={navigationMenuTriggerStyle()}>\n\t\t\t\t\tSettings\n\t\t\t\t</NavigationMenu.Link>\n\t\t\t</NavigationMenu.Item>\n\t\t</NavigationMenu.List>\n\t</NavigationMenu.Root>\n</div>"
				}
			]
		},
		{
			"name": "NumberInput",
			"slug": "number-input",
			"summary": "A number field: `<NumberInput>` with `bind:value` (a number, or `null` when empty). It shows and reads numbers in the `locale`'s way (`sv-SE` writes 1 234,5) with `formatOptions` (`Intl.NumberFormat`: currency, percent, decimals), keeps the value within `min` and `max`, and steps by `step` with the arrow keys and its buttons, by `largeStep` with Page Up and Page Down, and to `min` and `max` with Home and End. It is a WAI-ARIA spinbutton. With `name`, the form posts the plain number. Inside a `Field` it takes its id, label, description, error and invalid and disabled state from the Field.",
			"category": "Data input",
			"bits": "",
			"use": "Amounts, prices, quantities, hours, percentages: any number people type or nudge.",
			"avoid": "Numbers that aren't amounts, such as phone numbers, postcodes or card numbers: use `Input` (with `inputmode=\"numeric\"`). A value chosen on a scale: use `Slider`. A one-time code: use `PinInput`.",
			"example": "<script lang=\"ts\">\n  import { Field, NumberInput } from '@limerdev/zest';\n\n  let amount: number | null = $state(1250);\n</script>\n\n<Field.Root>\n  <Field.Label>Amount</Field.Label>\n  <NumberInput\n    name=\"amount\"\n    bind:value={amount}\n    min={0}\n    step={50}\n    locale=\"sv-SE\"\n    formatOptions={{ style: 'currency', currency: 'SEK' }}\n  />\n</Field.Root>",
			"importLine": "import { NumberInput } from '@limerdev/zest'",
			"parts": [
				"NumberInput"
			],
			"props": {
				"NumberInput": [
					{
						"name": "decrementLabel",
						"type": "string",
						"default": "the Config's `strings.decrease`, else 'Decrease'",
						"bindable": false,
						"required": false,
						"description": "The decrease button's accessible name."
					},
					{
						"name": "formatOptions",
						"type": "NumberFormatOptions",
						"default": "undefined",
						"bindable": false,
						"required": false,
						"description": "How the number is shown: `Intl.NumberFormat` options, such as `{ style: 'currency', currency: 'SEK' }` or `{ maximumFractionDigits: 2 }`."
					},
					{
						"name": "incrementLabel",
						"type": "string",
						"default": "the Config's `strings.increase`, else 'Increase'",
						"bindable": false,
						"required": false,
						"description": "The increase button's accessible name."
					},
					{
						"name": "largeStep",
						"type": "number",
						"default": "undefined",
						"bindable": false,
						"required": false,
						"description": "How much Page Up and Page Down change the value."
					},
					{
						"name": "locale",
						"type": "string",
						"default": "the Config's `defaultLocale`, else the browser's",
						"bindable": false,
						"required": false,
						"description": "The locale that formats and parses the number (`sv-SE` writes 1 234,5). Set it in a server-rendered app, so the server and the browser agree."
					},
					{
						"name": "max",
						"type": "number",
						"default": "undefined",
						"bindable": false,
						"required": false,
						"description": "The largest value; typed values above it are lowered to it, and End goes to it."
					},
					{
						"name": "min",
						"type": "number",
						"default": "undefined",
						"bindable": false,
						"required": false,
						"description": "The smallest value; typed values below it are raised to it, and Home goes to it."
					},
					{
						"name": "ref",
						"type": "HTMLInputElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "step",
						"type": "number",
						"default": "1",
						"bindable": false,
						"required": false,
						"description": "How much an arrow key or a stepper button changes the value."
					},
					{
						"name": "steppers",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "Shows the increase and decrease buttons."
					},
					{
						"name": "value",
						"type": "number | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The number, or `null` when the field is empty. Bindable."
					}
				]
			},
			"examples": [
				{
					"slug": "01-amount",
					"title": "Amount",
					"description": "An amount in kronor: typed and shown the Swedish way, posted as a plain number.",
					"code": "<script lang=\"ts\">\n\timport { Field, NumberInput } from '@limerdev/zest';\n\n\tlet amount: number | null = $state(1250);\n</script>\n\n<Field.Root class=\"w-full max-w-xs\">\n\t<Field.Label>Amount</Field.Label>\n\t<NumberInput\n\t\tname=\"amount\"\n\t\tbind:value={amount}\n\t\tmin={0}\n\t\tstep={50}\n\t\tlocale=\"sv-SE\"\n\t\tformatOptions={{ style: 'currency', currency: 'SEK' }}\n\t/>\n\t<Field.Description>Without VAT. The value is {amount ?? 'empty'}.</Field.Description>\n</Field.Root>"
				},
				{
					"slug": "02-formats",
					"title": "Formats",
					"description": "formatOptions takes Intl.NumberFormat options: a whole quantity, hours with one decimal, a percentage.",
					"code": "<script lang=\"ts\">\n\timport { Field, NumberInput } from '@limerdev/zest';\n\n\tlet seats: number | null = $state(12);\n\tlet hours: number | null = $state(7.5);\n\tlet discount: number | null = $state(0.1);\n</script>\n\n<div class=\"grid w-full max-w-xs gap-6\">\n\t<Field.Root>\n\t\t<Field.Label>Seats</Field.Label>\n\t\t<NumberInput\n\t\t\tbind:value={seats}\n\t\t\tmin={1}\n\t\t\tmax={500}\n\t\t\tlocale=\"en-GB\"\n\t\t\tformatOptions={{ maximumFractionDigits: 0 }}\n\t\t/>\n\t</Field.Root>\n\t<Field.Root>\n\t\t<Field.Label>Hours</Field.Label>\n\t\t<NumberInput\n\t\t\tbind:value={hours}\n\t\t\tmin={0}\n\t\t\tmax={24}\n\t\t\tstep={0.5}\n\t\t\tlargeStep={4}\n\t\t\tlocale=\"en-GB\"\n\t\t\tformatOptions={{ minimumFractionDigits: 1, maximumFractionDigits: 2 }}\n\t\t/>\n\t</Field.Root>\n\t<Field.Root>\n\t\t<Field.Label>Discount</Field.Label>\n\t\t<NumberInput\n\t\t\tbind:value={discount}\n\t\t\tmin={0}\n\t\t\tmax={1}\n\t\t\tstep={0.05}\n\t\t\tlocale=\"en-GB\"\n\t\t\tformatOptions={{ style: 'percent' }}\n\t\t/>\n\t</Field.Root>\n</div>"
				},
				{
					"slug": "03-states",
					"title": "States",
					"description": "Without steppers, invalid in its Field, and disabled.",
					"code": "<script lang=\"ts\">\n\timport { Field, NumberInput } from '@limerdev/zest';\n</script>\n\n<div class=\"grid w-full max-w-xs gap-6\">\n\t<Field.Root>\n\t\t<Field.Label>Invoice number</Field.Label>\n\t\t<NumberInput\n\t\t\tvalue={1042}\n\t\t\tsteppers={false}\n\t\t\tlocale=\"en-GB\"\n\t\t\tformatOptions={{ useGrouping: false }}\n\t\t/>\n\t</Field.Root>\n\t<Field.Root invalid>\n\t\t<Field.Label>Hourly rate</Field.Label>\n\t\t<NumberInput value={null} min={0} locale=\"en-GB\" placeholder=\"0\" />\n\t\t<Field.Error>Enter a rate.</Field.Error>\n\t</Field.Root>\n\t<Field.Root disabled>\n\t\t<Field.Label>Rounding</Field.Label>\n\t\t<NumberInput value={5} locale=\"en-GB\" />\n\t</Field.Root>\n</div>"
				}
			]
		},
		{
			"name": "Pagination",
			"slug": "pagination",
			"summary": "Pages of a list: `<Pagination.Root>` (`count`, `perPage`, `bind:page`, `siblingCount`) is a navigation landmark (`label`) that draws previous, the pages (the current one marked, gaps as an ellipsis) and next. The pages are buttons that change `page`; load the page's data when it changes. To draw it yourself, its `children` snippet gets the `pages`: a `Pagination.Content` list of `Pagination.Item`s, each a `Pagination.Page` or a `Pagination.Ellipsis`, between a `Pagination.PrevButton` and a `Pagination.NextButton`.",
			"category": "Navigation",
			"bits": "Pagination",
			"use": "Paging through a long list or table the app loads a page at a time.",
			"avoid": "A short list: show it all. Loading more as the user scrolls: a \"Load more\" `Button`.",
			"example": "<script lang=\"ts\">\n  import { Pagination } from '@limerdev/zest';\n\n  let page = $state(1);\n</script>\n\n<Pagination.Root count={240} perPage={20} bind:page />",
			"importLine": "import { Pagination } from '@limerdev/zest'",
			"parts": [
				"Pagination.Root",
				"Pagination.Content",
				"Pagination.Item",
				"Pagination.Page",
				"Pagination.PrevButton",
				"Pagination.NextButton",
				"Pagination.Ellipsis"
			],
			"props": {
				"Pagination.Root": [
					{
						"name": "children",
						"type": "Snippet<[PaginationSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "count",
						"type": "number",
						"default": "",
						"bindable": false,
						"required": true,
						"description": "The total number of items to be paginated."
					},
					{
						"name": "label",
						"type": "string",
						"default": "the Config's `strings.pagination`, else 'Pagination'",
						"bindable": false,
						"required": false,
						"description": "The navigation landmark's name."
					},
					{
						"name": "loop",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether keyboard navigation should loop back to the first or last page trigger when reaching either end."
					},
					{
						"name": "onPageChange",
						"type": "OnChangeFn<number>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback function called when the page changes."
					},
					{
						"name": "orientation",
						"type": "\"horizontal\" | \"vertical\"",
						"default": "\"horizontal\"",
						"bindable": false,
						"required": false,
						"description": "The orientation of the pagination component. Used to determine how keyboard navigation should work between pages."
					},
					{
						"name": "page",
						"type": "number",
						"default": "1",
						"bindable": true,
						"required": false,
						"description": "The current page number."
					},
					{
						"name": "perPage",
						"type": "number",
						"default": "10",
						"bindable": false,
						"required": false,
						"description": "The number of items per page."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "siblingCount",
						"type": "number",
						"default": "1",
						"bindable": false,
						"required": false,
						"description": "The number of visible items before and after the current page."
					}
				],
				"Pagination.Content": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Pagination.Item": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Pagination.Page": [
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "page",
						"type": "Page",
						"default": "",
						"bindable": false,
						"required": true,
						"description": ""
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Pagination.PrevButton": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Pagination.NextButton": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Pagination.Ellipsis": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "label",
						"type": "string",
						"default": "the Config's `strings.morePages`, else 'More pages'",
						"bindable": false,
						"required": false,
						"description": "What the ellipsis stands for, for screen readers."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				]
			},
			"examples": [
				{
					"slug": "01-basic",
					"title": "Basic",
					"description": "240 orders, 20 a page. Load the page's data when page changes.",
					"code": "<script lang=\"ts\">\n\timport { Pagination } from '@limerdev/zest';\n\n\tlet page = $state(1);\n</script>\n\n<div class=\"grid gap-3\">\n\t<Pagination.Root count={240} perPage={20} bind:page />\n\t<p class=\"text-center text-sm text-muted\">Orders {(page - 1) * 20 + 1}–{page * 20} of 240</p>\n</div>"
				},
				{
					"slug": "02-your-own-layout",
					"title": "Your own layout",
					"description": "The children snippet gets the pages and the range shown, to draw your own layout.",
					"code": "<script lang=\"ts\">\n\timport { Pagination } from '@limerdev/zest';\n\n\tlet page = $state(1);\n</script>\n\n<Pagination.Root count={240} perPage={20} bind:page>\n\t{#snippet children({ range })}\n\t\t<Pagination.Content>\n\t\t\t<Pagination.Item><Pagination.PrevButton /></Pagination.Item>\n\t\t\t<Pagination.Item>\n\t\t\t\t<span class=\"px-3 text-sm text-muted\">{range.start}–{range.end} of 240</span>\n\t\t\t</Pagination.Item>\n\t\t\t<Pagination.Item><Pagination.NextButton /></Pagination.Item>\n\t\t</Pagination.Content>\n\t{/snippet}\n</Pagination.Root>"
				}
			]
		},
		{
			"name": "PinInput",
			"slug": "pin-input",
			"summary": "A code typed into separate boxes, as one input underneath: `<PinInput.Root>` (`maxlength`, `bind:value`, `pattern`, `onComplete`) draws its boxes in one row. To group them, its `children` snippet gets the `cells`, each drawn as a `PinInput.Cell`; `PinInput.Group` joins cells into one row and `PinInput.Separator` puts a dash between groups. Typing moves on, Backspace moves back, pasting fills all boxes, and password managers and one-time-code autofill work. Inside a `Field` the input is labelled, described and marked invalid by the Field.",
			"category": "Data input",
			"bits": "PinInput",
			"use": "A verification or one-time code of a fixed length.",
			"avoid": "Passwords or text of no fixed length: use `Input`.",
			"example": "<script lang=\"ts\">\n  import { Field, PinInput } from '@limerdev/zest';\n\n  let code = $state('');\n</script>\n\n<Field.Root>\n  <Field.Label>Verification code</Field.Label>\n  <PinInput.Root maxlength={6} bind:value={code} />\n</Field.Root>",
			"importLine": "import { PinInput } from '@limerdev/zest'",
			"parts": [
				"PinInput.Root",
				"PinInput.Cell",
				"PinInput.Group",
				"PinInput.Separator"
			],
			"props": {
				"PinInput.Root": [
					{
						"name": "children",
						"type": "Snippet<[PinInputRootSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Draws the boxes from `cells`, each a `PinInput.Cell`. Without it, all `maxlength` boxes are drawn in one group."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Whether the input is disabled"
					},
					{
						"name": "inputId",
						"type": "string",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Optionally provide an ID to apply to the hidden input element."
					},
					{
						"name": "inputRef",
						"type": "HTMLInputElement | null",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The underlying hidden `<input>` element. Bind to call `focus()`, read selection, etc."
					},
					{
						"name": "maxlength",
						"type": "number",
						"default": "",
						"bindable": false,
						"required": true,
						"description": "The max length of the input."
					},
					{
						"name": "onComplete",
						"type": "((...args: any[]) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback function that is called when the input is completely filled."
					},
					{
						"name": "onValueChange",
						"type": "OnChangeFn<string>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback function that is called when the value of the input changes."
					},
					{
						"name": "pasteTransformer",
						"type": "((text: string) => string)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback function that is called when the user pastes text into the input. It receives the pasted text as an argument, and should return the sanitized text. Use this function to clean up the pasted text, like removing hyphens or other characters that should not make it into the input."
					},
					{
						"name": "pushPasswordManagerStrategy",
						"type": "\"none\" | \"increase-width\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "How to handle the input when a password manager is detected."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "textalign",
						"type": "\"right\" | \"left\" | \"center\"",
						"default": "\"left\"",
						"bindable": false,
						"required": false,
						"description": "Customize the alignment of the text within in the input."
					},
					{
						"name": "value",
						"type": "string",
						"default": "''",
						"bindable": true,
						"required": false,
						"description": "The value of the input."
					}
				],
				"PinInput.Cell": [
					{
						"name": "cell",
						"type": "PinInputCell",
						"default": "",
						"bindable": false,
						"required": true,
						"description": "This specific cell, which is provided by the `cells` snippet prop from the `PinInput.Root` component."
					},
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"PinInput.Group": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"PinInput.Separator": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				]
			},
			"examples": [
				{
					"slug": "01-basic",
					"title": "Basic",
					"description": "Six boxes. Pasting a code fills them all.",
					"code": "<script lang=\"ts\">\n\timport { Field, PinInput } from '@limerdev/zest';\n\n\tlet code = $state('');\n</script>\n\n<Field.Root class=\"w-auto\">\n\t<Field.Label>Verification code</Field.Label>\n\t<PinInput.Root maxlength={6} bind:value={code} />\n\t<Field.Description>Sent to your phone. {code.length}/6</Field.Description>\n</Field.Root>"
				},
				{
					"slug": "02-groups",
					"title": "Groups",
					"description": "The children snippet gets the cells, to split them into groups with a separator.",
					"code": "<script lang=\"ts\">\n\timport { Field, PinInput } from '@limerdev/zest';\n\n\tlet code = $state('');\n</script>\n\n<Field.Root class=\"w-auto\">\n\t<Field.Label>Recovery code</Field.Label>\n\t<PinInput.Root maxlength={6} bind:value={code}>\n\t\t{#snippet children({ cells })}\n\t\t\t<PinInput.Group>\n\t\t\t\t{#each cells.slice(0, 3) as cell, index (index)}\n\t\t\t\t\t<PinInput.Cell {cell} />\n\t\t\t\t{/each}\n\t\t\t</PinInput.Group>\n\t\t\t<PinInput.Separator />\n\t\t\t<PinInput.Group>\n\t\t\t\t{#each cells.slice(3) as cell, index (index)}\n\t\t\t\t\t<PinInput.Cell {cell} />\n\t\t\t\t{/each}\n\t\t\t</PinInput.Group>\n\t\t{/snippet}\n\t</PinInput.Root>\n</Field.Root>"
				}
			]
		},
		{
			"name": "Popover",
			"slug": "popover",
			"summary": "A panel of extra content or controls anchored to a trigger. Click or Enter opens it, Escape or a click outside closes it, and focus returns to the trigger. `Popover.Header`, `Popover.Title` and `Popover.Description` lay out its text.",
			"category": "Overlays",
			"bits": "Popover",
			"use": "Short, interactive content tied to one control: a filter form, a share link, quick settings, details behind an info button.",
			"avoid": "Content the user must deal with before going on: use `Dialog`. A plain hint on hover: use `Tooltip`. A list of actions: use `DropdownMenu`.",
			"example": "<script lang=\"ts\">\n  import { Popover } from '@limerdev/zest';\n</script>\n\n<Popover.Root>\n  <Popover.Trigger variant=\"outline\">Share</Popover.Trigger>\n  <Popover.Content>\n    <Popover.Header>\n      <Popover.Title>Share this report</Popover.Title>\n      <Popover.Description>Anyone with the link can view it.</Popover.Description>\n    </Popover.Header>\n  </Popover.Content>\n</Popover.Root>",
			"importLine": "import { Popover } from '@limerdev/zest'",
			"parts": [
				"Popover.Root",
				"Popover.Trigger",
				"Popover.Close",
				"Popover.Portal",
				"Popover.Content",
				"Popover.Header",
				"Popover.Title",
				"Popover.Description"
			],
			"props": {
				"Popover.Root": [
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "onOpenChange",
						"type": "OnChangeFn<boolean>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback that is called when the popover's open state changes."
					},
					{
						"name": "onOpenChangeComplete",
						"type": "OnChangeFn<boolean>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback that is called when the popover's open state changes and the animation is complete."
					},
					{
						"name": "open",
						"type": "boolean",
						"default": "false",
						"bindable": true,
						"required": false,
						"description": "The open state of the popover."
					}
				],
				"Popover.Trigger": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "closeDelay",
						"type": "number",
						"default": "300",
						"bindable": false,
						"required": false,
						"description": "How long to wait before closing the popover after hover ends (ms). Only applies when `openOnHover` is `true`."
					},
					{
						"name": "openDelay",
						"type": "number",
						"default": "700",
						"bindable": false,
						"required": false,
						"description": "How long to wait before opening the popover on hover (ms). Only applies when `openOnHover` is `true`."
					},
					{
						"name": "openOnHover",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether the popover should open when the trigger is hovered."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "size",
						"type": "\"default\" | \"sm\" | \"lg\" | \"icon\" | \"icon-sm\" | \"icon-lg\"",
						"default": "'default'",
						"bindable": false,
						"required": false,
						"description": "The height and padding, from the theme's field size; the `icon` sizes are square."
					},
					{
						"name": "variant",
						"type": "\"link\" | \"primary\" | \"secondary\" | \"neutral\" | \"error\" | \"outline\" | \"ghost\"",
						"default": "'primary'",
						"bindable": false,
						"required": false,
						"description": "The look, by the theme's colour roles: `primary` for the main action, `error` for deleting, `secondary`, `neutral` and `outline` for the rest, `ghost` in toolbars, `link` for a navigation that looks like text."
					}
				],
				"Popover.Close": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "size",
						"type": "\"default\" | \"sm\" | \"lg\" | \"icon\" | \"icon-sm\" | \"icon-lg\"",
						"default": "'default'",
						"bindable": false,
						"required": false,
						"description": "The height and padding, from the theme's field size; the `icon` sizes are square."
					},
					{
						"name": "variant",
						"type": "\"link\" | \"primary\" | \"secondary\" | \"neutral\" | \"error\" | \"outline\" | \"ghost\"",
						"default": "'primary'",
						"bindable": false,
						"required": false,
						"description": "The look, by the theme's colour roles: `primary` for the main action, `error` for deleting, `secondary`, `neutral` and `outline` for the rest, `ghost` in toolbars, `link` for a navigation that looks like text."
					}
				],
				"Popover.Portal": [
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The children content to render within the portal."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Disable portalling and render the component inline"
					},
					{
						"name": "to",
						"type": "PortalTarget",
						"default": "document.body",
						"bindable": false,
						"required": false,
						"description": "Where to portal the content to."
					}
				],
				"Popover.Content": [
					{
						"name": "align",
						"type": "\"start\" | \"center\" | \"end\"",
						"default": "'center'",
						"bindable": false,
						"required": false,
						"description": "The preferred alignment of the anchor to render against when open. This may change when collisions occur."
					},
					{
						"name": "alignOffset",
						"type": "number",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "An offset in pixels from the \"start\" or \"end\" alignment options."
					},
					{
						"name": "arrowPadding",
						"type": "number",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "This describes the padding between the arrow and the edges of the floating element. If your floating element has border-radius, this will prevent it from overflowing the corners."
					},
					{
						"name": "avoidCollisions",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "When `true`, overrides the `side` and `align` options to prevent collisions with the boundary edges."
					},
					{
						"name": "child",
						"type": "Snippet<[FloatingContentSnippetProps & { props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "collisionBoundary",
						"type": "Arrayable<Boundary>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A boundary element or array of elements to check for collisions against."
					},
					{
						"name": "collisionPadding",
						"type": "number | Partial<Record<\"top\" | \"right\" | \"bottom\" | \"left\", number>>",
						"default": "8",
						"bindable": false,
						"required": false,
						"description": "The amount in pixels of virtual padding around the viewport edges to check for overflow which will cause a collision."
					},
					{
						"name": "customAnchor",
						"type": "string | HTMLElement | Measurable | null",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Use an element other than the trigger to anchor the content to. If provided, the content will be anchored to the provided element instead of the trigger. You can pass a selector string or an HTMLElement."
					},
					{
						"name": "dir",
						"type": "\"ltr\" | \"rtl\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The text direction of the content."
					},
					{
						"name": "escapeKeydownBehavior",
						"type": "\"close\" | \"defer-otherwise-close\" | \"defer-otherwise-ignore\" | \"ignore\"",
						"default": "close",
						"bindable": false,
						"required": false,
						"description": "Escape behavior type. `close`: Closes the element immediately. `defer-otherwise-close`: Delegates the action to its parent component that has an escape keydown handler. If no parent is found, it closes the element. `defer-otherwise-ignore`: Delegates the action to the parent element. If no parent is found, nothing is done. `ignore`: Prevents the element from closing and also blocks the parent element from closing in response to an escape key press."
					},
					{
						"name": "forceMount",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Whether to force mount the component."
					},
					{
						"name": "hideWhenDetached",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": ""
					},
					{
						"name": "interactOutsideBehavior",
						"type": "\"close\" | \"defer-otherwise-close\" | \"defer-otherwise-ignore\" | \"ignore\"",
						"default": "close",
						"bindable": false,
						"required": false,
						"description": "Interact outside behavior type. `close`: Closes the element immediately. `defer-otherwise-close`: Delegates the action to the parent element. If no parent is found, it closes the element. `defer-otherwise-ignore`: Delegates the action to the parent element. If no parent is found, nothing is done. `ignore`: Prevents the element from closing and also blocks the parent element from closing in response to an outside interaction."
					},
					{
						"name": "onCloseAutoFocus",
						"type": "EventCallback",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Event handler called when auto-focusing on close. Can be prevented."
					},
					{
						"name": "onEscapeKeydown",
						"type": "((e: KeyboardEvent) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fired when escape is pressed."
					},
					{
						"name": "onFocusOutside",
						"type": "((event: FocusEvent) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fired when focus leaves the dismissible layer."
					},
					{
						"name": "onInteractOutside",
						"type": "InteractOutsideEventHandler",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fired when an outside interaction event completes, which is either a `pointerup`, `mouseup`, or `touchend` event, depending on the user's input device."
					},
					{
						"name": "onOpenAutoFocus",
						"type": "EventCallback",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Event handler called when auto-focusing on open. Can be prevented."
					},
					{
						"name": "portalProps",
						"type": "PortalProps",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Props for the portal the content renders in: `to` (the element to render in, the body by default) and `disabled` (render in place)."
					},
					{
						"name": "preventOverflowTextSelection",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "Passing `true` will prevent the overflow of text selection outside the element, provided the element is the top layer."
					},
					{
						"name": "preventScroll",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "Whether to prevent scrolling the body when the content is open. Whether to prevent body scrolling when the content is open."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "side",
						"type": "\"top\" | \"right\" | \"bottom\" | \"left\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The preferred side of the anchor to render against when open. Will be reversed when collisions occur."
					},
					{
						"name": "sideOffset",
						"type": "number",
						"default": "4",
						"bindable": false,
						"required": false,
						"description": "The distance in pixels from the anchor to the floating element."
					},
					{
						"name": "sticky",
						"type": "\"partial\" | \"always\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": ""
					},
					{
						"name": "strategy",
						"type": "\"absolute\" | \"fixed\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The positioning strategy to use for the floating element."
					},
					{
						"name": "trapFocus",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether focus is trapped within the focus scope."
					},
					{
						"name": "updatePositionStrategy",
						"type": "\"always\" | \"optimized\"",
						"default": "\"optimized\"",
						"bindable": false,
						"required": false,
						"description": "\"optimized\" will only update the position when necessary, while \"always\" will update the position on each animation frame, which is useful if the floating content is following something like a mouse cursor."
					}
				],
				"Popover.Header": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Popover.Title": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Popover.Description": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				]
			},
			"examples": [
				{
					"slug": "01-basic",
					"title": "Basic",
					"description": "A panel anchored to its trigger: Escape or a click outside closes it.",
					"code": "<script lang=\"ts\">\n\timport { Field, Input, Popover } from '@limerdev/zest';\n</script>\n\n<Popover.Root>\n\t<Popover.Trigger variant=\"outline\">Share</Popover.Trigger>\n\t<Popover.Content>\n\t\t<Popover.Header>\n\t\t\t<Popover.Title>Share this report</Popover.Title>\n\t\t\t<Popover.Description>Anyone with the link can view it.</Popover.Description>\n\t\t</Popover.Header>\n\t\t<Field.Root>\n\t\t\t<Field.Label class=\"sr-only\">Link</Field.Label>\n\t\t\t<Input value=\"https://zest.limer.se/r/1042\" readonly />\n\t\t</Field.Root>\n\t</Popover.Content>\n</Popover.Root>"
				},
				{
					"slug": "02-sides",
					"title": "Sides",
					"description": "side and align place the panel; it flips to the other side when there is no room.",
					"code": "<script lang=\"ts\">\n\timport { Popover } from '@limerdev/zest';\n\n\ttype Side = 'top' | 'right' | 'bottom' | 'left';\n\n\tconst sides: Side[] = ['top', 'right', 'bottom', 'left'];\n</script>\n\n{#each sides as side (side)}\n\t<Popover.Root>\n\t\t<Popover.Trigger variant=\"outline\">{side}</Popover.Trigger>\n\t\t<Popover.Content {side} class=\"w-48\">Opens on the {side}.</Popover.Content>\n\t</Popover.Root>\n{/each}"
				},
				{
					"slug": "03-a-filter-form",
					"title": "A filter form",
					"description": "A small form in a popover, closed from code once applied.",
					"code": "<script lang=\"ts\">\n\timport { Button, Checkbox, Field, Popover } from '@limerdev/zest';\n\n\tlet open = $state(false);\n\tlet billable = $state(true);\n\tlet archived = $state(false);\n</script>\n\n<Popover.Root bind:open>\n\t<Popover.Trigger variant=\"outline\">Filters</Popover.Trigger>\n\t<Popover.Content align=\"start\">\n\t\t<Popover.Title>Show projects</Popover.Title>\n\t\t<Field.Group class=\"gap-3\">\n\t\t\t<Field.Root orientation=\"horizontal\">\n\t\t\t\t<Checkbox bind:checked={billable} />\n\t\t\t\t<Field.Label>Billable only</Field.Label>\n\t\t\t</Field.Root>\n\t\t\t<Field.Root orientation=\"horizontal\">\n\t\t\t\t<Checkbox bind:checked={archived} />\n\t\t\t\t<Field.Label>Include archived</Field.Label>\n\t\t\t</Field.Root>\n\t\t</Field.Group>\n\t\t<Button size=\"sm\" class=\"self-end\" onclick={() => (open = false)}>Apply</Button>\n\t</Popover.Content>\n</Popover.Root>"
				}
			]
		},
		{
			"name": "Progress",
			"slug": "progress",
			"summary": "A bar showing how far a task has come: `value` out of `max` (100 by default), announced as a progressbar. With no `value` (or `null`) it shows that the task is running without knowing how far. Name it with `aria-label` or `aria-labelledby`.",
			"category": "Feedback",
			"bits": "Progress",
			"use": "An upload, an import or an export the user waits for.",
			"avoid": "A measurement within a range, such as hours used of a budget or a score: use `Meter`. A long wait without a label saying what is happening.",
			"example": "<script lang=\"ts\">\n  import { Progress } from '@limerdev/zest';\n</script>\n\n<Progress value={64} aria-label=\"Importing hours\" />",
			"importLine": "import { Progress } from '@limerdev/zest'",
			"parts": [
				"Progress"
			],
			"props": {
				"Progress": [
					{
						"name": "max",
						"type": "number",
						"default": "100",
						"bindable": false,
						"required": false,
						"description": "The maximum value of the progress bar."
					},
					{
						"name": "min",
						"type": "number",
						"default": "0",
						"bindable": false,
						"required": false,
						"description": "The minimum value of the progress bar."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "value",
						"type": "number | null",
						"default": "0",
						"bindable": false,
						"required": false,
						"description": "The current value of the progress bar. If `null`, the progress bar will be in an indeterminate state."
					}
				]
			},
			"examples": [
				{
					"slug": "01-basic",
					"title": "Basic",
					"description": "A label says what is happening; without a value the bar shows work in progress.",
					"code": "<script lang=\"ts\">\n\timport { Progress } from '@limerdev/zest';\n\n\tlet value = $state(12);\n\n\t$effect(() => {\n\t\tconst timer = setInterval(() => (value = value >= 100 ? 0 : value + 4), 400);\n\t\treturn () => clearInterval(timer);\n\t});\n</script>\n\n<div class=\"grid w-full max-w-sm gap-4\">\n\t<div class=\"grid gap-2\">\n\t\t<p id=\"import-label\" class=\"text-sm font-medium\">Importing hours · {value}%</p>\n\t\t<Progress {value} aria-labelledby=\"import-label\" />\n\t</div>\n\t<div class=\"grid gap-2\">\n\t\t<p id=\"sync-label\" class=\"text-sm font-medium\">Syncing with the API</p>\n\t\t<Progress value={null} aria-labelledby=\"sync-label\" />\n\t</div>\n</div>"
				}
			]
		},
		{
			"name": "RadioGroup",
			"slug": "radio-group",
			"summary": "A set of radio buttons with `bind:value`: `<RadioGroup.Root>` holds one `RadioGroup.Item` per option. Tab enters the group, arrow keys move and select. Put each item in a `Field orientation=\"horizontal\"` with a `Field.Label`, and the group in a `Field.Set` with a `Field.Legend` that names it.",
			"category": "Data input",
			"bits": "RadioGroup",
			"use": "Choosing exactly one of a few options (up to about six) that should all be visible.",
			"avoid": "Many options, or options that don't fit on screen: use `Select`. Independent on/off choices: use `Checkbox`. A group without a `Field.Legend` (or `aria-label`).",
			"example": "<script lang=\"ts\">\n  import { Field, RadioGroup } from '@limerdev/zest';\n\n  let billing = $state('monthly');\n</script>\n\n<Field.Set>\n  <Field.Legend variant=\"label\">Billing</Field.Legend>\n  <RadioGroup.Root bind:value={billing} name=\"billing\">\n    <Field.Root orientation=\"horizontal\">\n      <RadioGroup.Item value=\"monthly\" />\n      <Field.Label>Monthly</Field.Label>\n    </Field.Root>\n    <Field.Root orientation=\"horizontal\">\n      <RadioGroup.Item value=\"yearly\" />\n      <Field.Label>Yearly</Field.Label>\n    </Field.Root>\n  </RadioGroup.Root>\n</Field.Set>",
			"importLine": "import { RadioGroup } from '@limerdev/zest'",
			"parts": [
				"RadioGroup.Root",
				"RadioGroup.Item"
			],
			"props": {
				"RadioGroup.Root": [
					{
						"name": "autocomplete",
						"type": "FullAutoFill | null",
						"default": "\"off\"",
						"bindable": false,
						"required": false,
						"description": "The `autocomplete` attribute to forward to the hidden input element. Browsers can otherwise autofill the hidden input with values that don't match any of the radio items."
					},
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether the radio group is disabled."
					},
					{
						"name": "loop",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "Whether to loop around the radio items when navigating with the keyboard."
					},
					{
						"name": "name",
						"type": "string",
						"default": "undefined",
						"bindable": false,
						"required": false,
						"description": "The name to apply to the radio group's input element for form submission. If not provided, a hidden input will not be rendered and the radio group will not be part of a form."
					},
					{
						"name": "onValueChange",
						"type": "OnChangeFn<string>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The callback to call when the selected radio item changes."
					},
					{
						"name": "orientation",
						"type": "\"horizontal\" | \"vertical\"",
						"default": "\"vertical\"",
						"bindable": false,
						"required": false,
						"description": "The orientation of the radio group. Used to determine how keyboard navigation should work."
					},
					{
						"name": "readonly",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether the radio group is readonly. When readonly, users can focus and navigate through items but cannot change the value."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "required",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Whether the radio group is required for form submission. If `true`, ensure you provide a `name` prop so the hidden input is rendered."
					},
					{
						"name": "value",
						"type": "string",
						"default": "''",
						"bindable": true,
						"required": false,
						"description": "The value of the selected radio item."
					}
				],
				"RadioGroup.Item": [
					{
						"name": "disabled",
						"type": "null | false | true",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether the radio item is disabled."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "value",
						"type": "string",
						"default": "",
						"bindable": false,
						"required": true,
						"description": "The value of the radio item."
					}
				]
			},
			"examples": [
				{
					"slug": "01-basic",
					"title": "Basic",
					"description": "One Field per option; the Field.Legend names the group. Arrow keys move and select.",
					"code": "<script lang=\"ts\">\n\timport { Field, RadioGroup } from '@limerdev/zest';\n\n\tlet billing = $state('monthly');\n</script>\n\n<Field.Set>\n\t<Field.Legend variant=\"label\">Billing</Field.Legend>\n\t<RadioGroup.Root bind:value={billing} name=\"billing\">\n\t\t<Field.Root orientation=\"horizontal\" class=\"w-auto\">\n\t\t\t<RadioGroup.Item value=\"monthly\" />\n\t\t\t<Field.Label>Monthly</Field.Label>\n\t\t</Field.Root>\n\t\t<Field.Root orientation=\"horizontal\" class=\"w-auto\">\n\t\t\t<RadioGroup.Item value=\"yearly\" />\n\t\t\t<Field.Label>Yearly</Field.Label>\n\t\t</Field.Root>\n\t</RadioGroup.Root>\n</Field.Set>"
				},
				{
					"slug": "02-with-descriptions",
					"title": "With descriptions",
					"description": "Field.Content puts a description under each option's label.",
					"code": "<script lang=\"ts\">\n\timport { Field, RadioGroup } from '@limerdev/zest';\n\n\ttype Plan = { value: string; label: string; description: string };\n\n\tconst plans: Plan[] = [\n\t\t{ value: 'hourly', label: 'Hourly', description: 'Bill every logged hour.' },\n\t\t{ value: 'fixed', label: 'Fixed price', description: 'One price for the project.' },\n\t\t{ value: 'retainer', label: 'Retainer', description: 'A monthly amount of hours.' }\n\t];\n\tlet plan = $state('hourly');\n</script>\n\n<Field.Set class=\"max-w-sm\">\n\t<Field.Legend variant=\"label\">Pricing</Field.Legend>\n\t<RadioGroup.Root bind:value={plan}>\n\t\t{#each plans as option (option.value)}\n\t\t\t<Field.Root orientation=\"horizontal\">\n\t\t\t\t<RadioGroup.Item value={option.value} />\n\t\t\t\t<Field.Content>\n\t\t\t\t\t<Field.Label>{option.label}</Field.Label>\n\t\t\t\t\t<Field.Description>{option.description}</Field.Description>\n\t\t\t\t</Field.Content>\n\t\t\t</Field.Root>\n\t\t{/each}\n\t</RadioGroup.Root>\n</Field.Set>"
				}
			]
		},
		{
			"name": "RangeCalendar",
			"slug": "range-calendar",
			"summary": "A month calendar to pick a range of dates: `bind:value` is `{ start, end }` of `DateValue`s (from `@limerdev/zest`). The first click sets the start, the second the end; the days between are highlighted. `minDays`, `maxDays`, `minValue`, `maxValue`, `isDateUnavailable`, `numberOfMonths`. With no children it draws the header and month grids; its parts are named like `Calendar`'s for custom layouts.",
			"category": "Data input",
			"bits": "RangeCalendar",
			"use": "Picking a period: a report's date range, an absence, a project phase. In a form, `DateRangePicker` puts it in a popover.",
			"avoid": "A single date: use `Calendar`. Dates people type: use `DateRangeField`.",
			"example": "<script lang=\"ts\">\n  import { RangeCalendar, type DateValue } from '@limerdev/zest';\n\n  type Range = { start: DateValue | undefined; end: DateValue | undefined };\n\n  let period: Range = $state({ start: undefined, end: undefined });\n</script>\n\n<RangeCalendar.Root bind:value={period} numberOfMonths={2} class=\"rounded-box border border-border\" />",
			"importLine": "import { RangeCalendar } from '@limerdev/zest'",
			"parts": [
				"RangeCalendar.Root",
				"RangeCalendar.Header",
				"RangeCalendar.Heading",
				"RangeCalendar.PrevButton",
				"RangeCalendar.NextButton",
				"RangeCalendar.Months",
				"RangeCalendar.Grid",
				"RangeCalendar.GridHead",
				"RangeCalendar.GridBody",
				"RangeCalendar.GridRow",
				"RangeCalendar.HeadCell",
				"RangeCalendar.Cell",
				"RangeCalendar.Day"
			],
			"props": {
				"RangeCalendar.Root": [
					{
						"name": "calendarLabel",
						"type": "string",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "This label is exclusively used for accessibility, remaining hidden from the page. It's read by screen readers when the calendar is opened. The current month and year are automatically appended to the label, so you only need to provide the base label. For instance: - 'Date of birth' will be read as 'Date of birth, January 2021' if the current month is January 2021. - 'Appointment date' will be read as 'Appointment date, January 2021' if the current month is January 2021. - 'Booking date' will be read as 'Booking date, January 2021' if the current month is January 2021."
					},
					{
						"name": "child",
						"type": "Snippet<[RangeCalendarRootSnippetProps & { props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[RangeCalendarRootSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether or not the calendar is disabled."
					},
					{
						"name": "disableDaysOutsideMonth",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether to disable the selection of days outside the current month. By default, days outside the current month are rendered to fill the calendar grid, but they are not selectable. Setting this prop to `true` will disable this behavior."
					},
					{
						"name": "excludeDisabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether to automatically reset the range if any date within the selected range becomes disabled. When true, the entire range will be cleared if a disabled date is found between the start and end dates."
					},
					{
						"name": "fixedWeeks",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Display 6 weeks per month, regardless the month's number of weeks. This is useful for displaying a consistent calendar, where the size of the calendar doesn't change month to month. To display 6 weeks per month, you will need to render out the previous and next month's dates in the calendar as well."
					},
					{
						"name": "isDateDisabled",
						"type": "DateMatcher",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A function that receives a date and returns `true` or `false` to indicate whether the date is disabled."
					},
					{
						"name": "isDateUnavailable",
						"type": "DateMatcher",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Dates matching the provided matchers are marked as \"unavailable.\" Unlike disabled dates, users can still focus and select unavailable dates. However, selecting an unavailable date renders the date picker as invalid. For example, in a calendar for booking appointments, you might mark already booked dates as unavailable. These dates could become available again before the appointment date, allowing users to select them to learn more about the appointment. `[data-unavailable]` - applied to unavailable dates"
					},
					{
						"name": "locale",
						"type": "string",
						"default": "'en'",
						"bindable": false,
						"required": false,
						"description": "The default locale setting."
					},
					{
						"name": "maxDays",
						"type": "number",
						"default": "undefined",
						"bindable": false,
						"required": false,
						"description": "The maximum number of days that can be selected in a range."
					},
					{
						"name": "maxValue",
						"type": "DateValue",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The maximum date that can be selected in the calendar."
					},
					{
						"name": "minDays",
						"type": "number",
						"default": "undefined",
						"bindable": false,
						"required": false,
						"description": "The minimum number of days that can be selected in a range."
					},
					{
						"name": "minValue",
						"type": "DateValue",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The minimum date that can be selected in the calendar."
					},
					{
						"name": "monthFormat",
						"type": "\"numeric\" | \"long\" | \"short\" | \"narrow\" | \"2-digit\" | ((month: number) => string)",
						"default": "\"long\"",
						"bindable": false,
						"required": false,
						"description": "The format of the month names in the calendar."
					},
					{
						"name": "numberOfMonths",
						"type": "number",
						"default": "1",
						"bindable": false,
						"required": false,
						"description": "Determines the number of months to display on the calendar simultaneously. For navigation between months, refer to the `pagedNavigation` prop."
					},
					{
						"name": "onEndValueChange",
						"type": "OnChangeFn<DateValue | undefined>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback function called when the end value changes. This doesn't necessarily mean the `value` has updated and should be used to apply cosmetic changes to the calendar when only part of the value is changed/completed."
					},
					{
						"name": "onPlaceholderChange",
						"type": "OnChangeFn<DateValue>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback function called when the placeholder value changes."
					},
					{
						"name": "onStartValueChange",
						"type": "OnChangeFn<DateValue | undefined>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback function called when the start value changes. This doesn't necessarily mean the `value` has updated and should be used to apply cosmetic changes to the calendar when only part of the value is changed/completed."
					},
					{
						"name": "onValueChange",
						"type": "OnChangeFn<DateRange>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback function called when the value changes."
					},
					{
						"name": "pagedNavigation",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Applicable only when `numberOfMonths` is greater than 1. Controls whether to use paged navigation for the next and previous buttons in the date picker. With paged navigation set to `true`, clicking the next/prev buttons changes all months in view. When set to `false`, it shifts the view by a single month. For example, with `pagedNavigation` set to `true` and 2 months displayed (January and February), clicking the next button changes the view to March and April. If `pagedNavigation` is `false`, the view shifts to February and March."
					},
					{
						"name": "placeholder",
						"type": "DateValue",
						"default": "the current date",
						"bindable": true,
						"required": false,
						"description": "The placeholder date, used to control the view of the calendar when no value is present."
					},
					{
						"name": "preventDeselect",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether or not users can deselect a date once selected without selecting another date."
					},
					{
						"name": "readonly",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether the calendar is readonly. When true, the user will be able to focus and navigate the calendar, but will not be able to select dates."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "value",
						"type": "DateRange",
						"default": "",
						"bindable": true,
						"required": false,
						"description": "The value of the selected date range."
					},
					{
						"name": "weekdayFormat",
						"type": "\"long\" | \"short\" | \"narrow\"",
						"default": "'short'",
						"bindable": false,
						"required": false,
						"description": "How the string representation of the weekdays provided via the `weekdays` state store should be formatted. ```md - \"long\": \"Sunday\", \"Monday\", \"Tuesday\", etc. - \"short\": \"Sun\", \"Mon\", \"Tue\", etc. - \"narrow\": \"S\", \"M\", \"T\", etc. ```"
					},
					{
						"name": "weekStartsOn",
						"type": "0 | 1 | 2 | 3 | 4 | 5 | 6",
						"default": "0 (Sunday)",
						"bindable": false,
						"required": false,
						"description": "The day of the week to start the calendar on, which must be a number between 0 and 6, where 0 is Sunday and 6 is Saturday."
					},
					{
						"name": "yearFormat",
						"type": "\"numeric\" | \"2-digit\" | ((year: number) => string)",
						"default": "\"numeric\"",
						"bindable": false,
						"required": false,
						"description": "The format of the year names in the calendar."
					}
				],
				"RangeCalendar.Header": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"RangeCalendar.Heading": [
					{
						"name": "child",
						"type": "Snippet<[CalendarHeadingSnippetProps & { props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[CalendarHeadingSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"RangeCalendar.PrevButton": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"RangeCalendar.NextButton": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"RangeCalendar.Months": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"RangeCalendar.Grid": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"RangeCalendar.GridHead": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"RangeCalendar.GridBody": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"RangeCalendar.GridRow": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"RangeCalendar.HeadCell": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"RangeCalendar.Cell": [
					{
						"name": "child",
						"type": "Snippet<[CalendarCellSnippetProps & { props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[CalendarCellSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "date",
						"type": "DateValue",
						"default": "",
						"bindable": false,
						"required": true,
						"description": "The date value of the cell."
					},
					{
						"name": "month",
						"type": "DateValue",
						"default": "",
						"bindable": false,
						"required": true,
						"description": "The month DateValue that this cell is being rendered in."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"RangeCalendar.Day": [
					{
						"name": "child",
						"type": "Snippet<[CalendarDaySnippetProps & { props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[CalendarDaySnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				]
			},
			"examples": [
				{
					"slug": "01-basic",
					"title": "Basic",
					"description": "Click the first and last day of the period.",
					"code": "<script lang=\"ts\">\n\timport { RangeCalendar, type DateValue } from '@limerdev/zest';\n\n\ttype Range = { start: DateValue | undefined; end: DateValue | undefined };\n\n\tlet period: Range = $state({ start: undefined, end: undefined });\n</script>\n\n<div class=\"grid justify-items-center gap-2\">\n\t<RangeCalendar.Root\n\t\tbind:value={period}\n\t\tnumberOfMonths={2}\n\t\tclass=\"rounded-box border-(length:--border) border-border bg-base-100 shadow-field\"\n\t/>\n\t<p class=\"text-sm text-muted\">\n\t\t{period.start?.toString() ?? '…'} – {period.end?.toString() ?? '…'}\n\t</p>\n</div>"
				}
			]
		},
		{
			"name": "RatingGroup",
			"slug": "rating-group",
			"summary": "A rating out of `max` stars (5 by default), announced as a slider: `<RatingGroup.Root>` (`bind:value`, `allowHalf`, `readonly`, `name`) draws its stars when it has no children; for custom ones, render `RatingGroup.Item`s (`index`) from the `children` snippet's `items`; each item's own `children` snippet gets its `state`. Arrow keys change the rating, Home and End go to the ends. Inside a `Field` it is named by `Field.Label`; outside one, give it `aria-label`.",
			"category": "Data input",
			"bits": "RatingGroup",
			"use": "Rating something: feedback on a delivery, how a sprint went.",
			"avoid": "A choice between named options: use `RadioGroup`. Showing an average read-only without the number: show the number too.",
			"example": "<script lang=\"ts\">\n  import { Field, RatingGroup } from '@limerdev/zest';\n\n  let rating = $state(3);\n</script>\n\n<Field.Root>\n  <Field.Label>How did the sprint go?</Field.Label>\n  <RatingGroup.Root bind:value={rating} />\n</Field.Root>",
			"importLine": "import { RatingGroup } from '@limerdev/zest'",
			"parts": [
				"RatingGroup.Root",
				"RatingGroup.Item"
			],
			"props": {
				"RatingGroup.Root": [
					{
						"name": "allowHalf",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether to allow half-star ratings."
					},
					{
						"name": "aria-valuetext",
						"type": "RatingGroupAriaValuetext",
						"default": "((value: number, max: number) => `${value} out of ${max}`)",
						"bindable": false,
						"required": false,
						"description": "An extended `aria-valuetext` property to use for the rating group. Can either be a string, or a function that receives the current value and max value and returns a string."
					},
					{
						"name": "child",
						"type": "Snippet<[RatingGroupRootSnippetProps & { props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[RatingGroupRootSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether the rating group is disabled."
					},
					{
						"name": "hoverPreview",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "Whether to show a preview when hovering over rating items. Touch events are ignored to prevent accidental previews."
					},
					{
						"name": "max",
						"type": "number",
						"default": "5",
						"bindable": false,
						"required": false,
						"description": "The maximum rating value (number of items)."
					},
					{
						"name": "min",
						"type": "number",
						"default": "0",
						"bindable": false,
						"required": false,
						"description": "The minimum rating value."
					},
					{
						"name": "name",
						"type": "string",
						"default": "undefined",
						"bindable": false,
						"required": false,
						"description": "The name to apply to the rating group's input element for form submission. If not provided, a hidden input will not be rendered and the rating group will not be part of a form."
					},
					{
						"name": "onValueChange",
						"type": "OnChangeFn<number>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The callback to call when the rating value changes."
					},
					{
						"name": "orientation",
						"type": "\"horizontal\" | \"vertical\"",
						"default": "\"horizontal\"",
						"bindable": false,
						"required": false,
						"description": "The orientation of the rating group. Used to determine how keyboard interactions work."
					},
					{
						"name": "readonly",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether the rating group is readonly."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "required",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether the rating group is required for form submission. If `true`, ensure you provide a `name` prop so the hidden input is rendered."
					},
					{
						"name": "value",
						"type": "number",
						"default": "0",
						"bindable": true,
						"required": false,
						"description": "The current rating value."
					}
				],
				"RatingGroup.Item": [
					{
						"name": "child",
						"type": "Snippet<[RatingGroupItemSnippetProps & { props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[RatingGroupItemSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "disabled",
						"type": "null | false | true",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether the rating item is disabled."
					},
					{
						"name": "index",
						"type": "number",
						"default": "",
						"bindable": false,
						"required": true,
						"description": "The index of the rating item (0-based index)."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				]
			},
			"examples": [
				{
					"slug": "01-basic",
					"title": "Basic",
					"description": "In a Field the label names the rating. allowHalf allows half stars; readonly shows a rating that can't change.",
					"code": "<script lang=\"ts\">\n\timport { Field, RatingGroup } from '@limerdev/zest';\n\n\tlet rating = $state(3);\n</script>\n\n<div class=\"grid gap-6\">\n\t<Field.Root class=\"w-auto\">\n\t\t<Field.Label>How did the sprint go?</Field.Label>\n\t\t<RatingGroup.Root bind:value={rating} />\n\t\t<Field.Description>{rating} of 5</Field.Description>\n\t</Field.Root>\n\t<Field.Root class=\"w-auto\">\n\t\t<Field.Label>Average this quarter</Field.Label>\n\t\t<RatingGroup.Root value={3.5} allowHalf readonly />\n\t\t<Field.Description>3.5 of 5</Field.Description>\n\t</Field.Root>\n</div>"
				}
			]
		},
		{
			"name": "ScrollArea",
			"slug": "scroll-area",
			"summary": "A scrollable box with slim scrollbars that match the theme: give it a height (or width) and `orientation` (`vertical`, `horizontal`, `both`). It scrolls with the wheel, touch and keyboard like any scrolling box. `ScrollArea.Scrollbar` is there for custom layouts.",
			"category": "Layout",
			"bits": "ScrollArea",
			"use": "A long list inside a fixed panel: a sidebar's projects, a dialog's terms, a wide table in a card.",
			"avoid": "The page's own scrolling: let the window scroll. Content that fits: no scroll box.",
			"example": "<script lang=\"ts\">\n  import { ScrollArea } from '@limerdev/zest';\n</script>\n\n<ScrollArea.Root class=\"h-64 w-56 rounded-box border border-border\">\n  {#each projects as project (project.id)}\n    <p class=\"px-4 py-2 text-sm\">{project.name}</p>\n  {/each}\n</ScrollArea.Root>",
			"importLine": "import { ScrollArea } from '@limerdev/zest'",
			"parts": [
				"ScrollArea.Root",
				"ScrollArea.Scrollbar"
			],
			"props": {
				"ScrollArea.Root": [
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "dir",
						"type": "\"ltr\" | \"rtl\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The reading direction of the application."
					},
					{
						"name": "orientation",
						"type": "\"both\" | \"horizontal\" | \"vertical\"",
						"default": "'vertical'",
						"bindable": false,
						"required": false,
						"description": "Which scrollbars to draw: `vertical`, `horizontal` or `both`."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "scrollbarXClasses",
						"type": "string",
						"default": "''",
						"bindable": false,
						"required": false,
						"description": "Classes for the horizontal scrollbar."
					},
					{
						"name": "scrollbarYClasses",
						"type": "string",
						"default": "''",
						"bindable": false,
						"required": false,
						"description": "Classes for the vertical scrollbar."
					},
					{
						"name": "scrollHideDelay",
						"type": "number",
						"default": "600",
						"bindable": false,
						"required": false,
						"description": "The amount of time in milliseconds to delay before hiding the scrollbars after leaving the scroll area or stopping scrolling."
					},
					{
						"name": "type",
						"type": "\"auto\" | \"always\" | \"hover\" | \"scroll\"",
						"default": "\"hover\"",
						"bindable": false,
						"required": false,
						"description": "The type of scroll area to render."
					},
					{
						"name": "viewportRef",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The scrolling viewport element. Bindable."
					}
				],
				"ScrollArea.Scrollbar": [
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "forceMount",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Whether to forcefully mount the component. Useful when working with external animation/transition libraries."
					},
					{
						"name": "orientation",
						"type": "\"horizontal\" | \"vertical\"",
						"default": "'vertical'",
						"bindable": false,
						"required": true,
						"description": ""
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				]
			},
			"examples": [
				{
					"slug": "01-a-list",
					"title": "A list",
					"description": "A fixed-height list with a slim scrollbar.",
					"code": "<script lang=\"ts\">\n\timport { ScrollArea, Separator } from '@limerdev/zest';\n\n\tconst projects: string[] = Array.from({ length: 30 }, (_, index) => `Project ${index + 1}`);\n</script>\n\n<ScrollArea.Root class=\"h-60 w-56 rounded-box border-(length:--border) border-border bg-base-100\">\n\t<div class=\"p-4\">\n\t\t<p class=\"mb-3 text-sm font-medium\">Projects</p>\n\t\t{#each projects as project, index (project)}\n\t\t\t{#if index > 0}\n\t\t\t\t<Separator class=\"my-2\" />\n\t\t\t{/if}\n\t\t\t<p class=\"text-sm\">{project}</p>\n\t\t{/each}\n\t</div>\n</ScrollArea.Root>"
				},
				{
					"slug": "02-horizontal",
					"title": "Horizontal",
					"description": "orientation=\"horizontal\" scrolls a row sideways.",
					"code": "<script lang=\"ts\">\n\timport { ScrollArea } from '@limerdev/zest';\n\n\tconst weeks: number[] = Array.from({ length: 16 }, (_, index) => index + 40);\n</script>\n\n<ScrollArea.Root\n\torientation=\"horizontal\"\n\tclass=\"w-full max-w-md rounded-box border-(length:--border) border-border bg-base-100\"\n>\n\t<div class=\"flex gap-3 p-4\">\n\t\t{#each weeks as week (week)}\n\t\t\t<div class=\"grid h-20 w-28 shrink-0 place-content-center rounded-field bg-base-200 text-sm\">\n\t\t\t\tWeek {week}\n\t\t\t</div>\n\t\t{/each}\n\t</div>\n</ScrollArea.Root>"
				}
			]
		},
		{
			"name": "Select",
			"slug": "select",
			"summary": "A choice from a list: `<Select.Root>` (`type=\"single\"` or `\"multiple\"`, `bind:value`, `name` for forms, `items`) holds a `Select.Trigger` (`placeholder`) and a `Select.Content`. Given `items`, the parts need no children: the trigger shows the chosen label and the content draws an item for each. For custom markup, give the trigger a `Select.Value` and the content `Select.Item`s. Items can be grouped (`Select.Group` with `Select.GroupHeading`) and divided (`Select.Separator`). Arrow keys move, Enter chooses, typing jumps to a match. Inside a `Field` the trigger is labelled, described and marked invalid by the Field.",
			"category": "Data input",
			"bits": "Select",
			"use": "Choosing one (or a few) of a known list of options, more than a `RadioGroup` shows comfortably: a status, a country, a project.",
			"avoid": "Long lists people search in, or values they type: use `Combobox`. Two to five options that fit on screen: use `RadioGroup`. Actions rather than a value: use `DropdownMenu`.",
			"example": "<script lang=\"ts\">\n  import { Field, Select, type SelectOption } from '@limerdev/zest';\n\n  const statuses: SelectOption[] = [\n    { value: 'draft', label: 'Draft' },\n    { value: 'sent', label: 'Sent' },\n    { value: 'paid', label: 'Paid' }\n  ];\n  let status = $state('');\n</script>\n\n<Field.Root>\n  <Field.Label>Status</Field.Label>\n  <Select.Root type=\"single\" bind:value={status} items={statuses} name=\"status\">\n    <Select.Trigger class=\"w-48\" placeholder=\"Choose a status\" />\n    <Select.Content />\n  </Select.Root>\n</Field.Root>",
			"importLine": "import { Select } from '@limerdev/zest'",
			"parts": [
				"Select.Root",
				"Select.Group",
				"Select.Label",
				"Select.Item",
				"Select.Content",
				"Select.Trigger",
				"Select.Separator",
				"Select.ScrollDownButton",
				"Select.ScrollUpButton",
				"Select.GroupHeading",
				"Select.Portal",
				"Select.Value"
			],
			"props": {
				"Select.Root": [
					{
						"name": "allowDeselect",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Whether to allow the user to deselect an item by clicking on an already selected item. This is only applicable to `type=\"single\"` selects/comboboxes."
					},
					{
						"name": "autocomplete",
						"type": "FullAutoFill | null",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The autocomplete attribute to forward to the hidden input element."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether the combobox is disabled."
					},
					{
						"name": "items",
						"type": "{ value: string; label: string; disabled?: boolean | undefined; }[]",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Optionally provide an array of `value` and `label` pairs that will be used to match and trigger selection when the trigger is focused and a key is pressed while the content is closed. It's also used to handle form autofill. By providing this value, you enable selecting a value when the trigger is focused and a key is pressed without the content being open, similar to how a native `<select>` works. For this to work, you must The label is what the user will potentially search for via typeahead, and the value is what is set as the selected value when a typeahead match is found. We can't rely on the individual `Item` components to do this because they may not ever be mounted to do the DOM if using a conditional block with a Svelte transition or certain animation libraries. IMPORTANT: This functionality is only available for single-select listboxes."
					},
					{
						"name": "loop",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether or not the combobox menu should loop through the items when navigating with the keyboard."
					},
					{
						"name": "name",
						"type": "string",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The name to apply to the hidden input element for form submission. If not provided, a hidden input will not be rendered and the combobox will not be part of a form."
					},
					{
						"name": "onOpenChange",
						"type": "OnChangeFn<boolean>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback function called when the open state changes."
					},
					{
						"name": "onOpenChangeComplete",
						"type": "OnChangeFn<boolean>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback function called when the open state changes and the animation is complete."
					},
					{
						"name": "onValueChange",
						"type": "OnChangeFn<string> | OnChangeFn<string[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback function called when the value changes."
					},
					{
						"name": "open",
						"type": "boolean",
						"default": "false",
						"bindable": true,
						"required": false,
						"description": "Whether the combobox popover is open."
					},
					{
						"name": "required",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether the combobox is required (for form submission)."
					},
					{
						"name": "scrollAlignment",
						"type": "\"center\" | \"nearest\"",
						"default": "\"nearest\"",
						"bindable": false,
						"required": false,
						"description": "How to scroll the combobox items into view when navigating with the keyboard."
					},
					{
						"name": "type",
						"type": "\"multiple\" | \"single\"",
						"default": "",
						"bindable": false,
						"required": true,
						"description": "The type of combobox."
					},
					{
						"name": "value",
						"type": "string | string[]",
						"default": "",
						"bindable": true,
						"required": false,
						"description": "The value of the selected combobox item."
					}
				],
				"Select.Group": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Select.Label": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Select.Item": [
					{
						"name": "children",
						"type": "Snippet<[SelectItemSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether the item is disabled."
					},
					{
						"name": "label",
						"type": "string",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The label of the item. If provided, this is the item that users will search for. If not provided, the value will be used as the label."
					},
					{
						"name": "onHighlight",
						"type": "(() => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback function called when the item is highlighted. This can be used as a replacement for `onfocus` since we don't actually focus the item and instead rely on the `aria-activedescendant` attribute to indicate the highlighted item."
					},
					{
						"name": "onUnhighlight",
						"type": "(() => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback function called when the item is unhighlighted. This can be used as a replacement for `onblur` since we don't actually focus the item and instead rely on the `aria-activedescendant` attribute to indicate the highlighted item."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "value",
						"type": "string",
						"default": "",
						"bindable": false,
						"required": true,
						"description": "The value of the item."
					}
				],
				"Select.Content": [
					{
						"name": "align",
						"type": "\"start\" | \"center\" | \"end\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The preferred alignment of the anchor to render against when open. This may change when collisions occur."
					},
					{
						"name": "alignOffset",
						"type": "number",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "An offset in pixels from the \"start\" or \"end\" alignment options."
					},
					{
						"name": "arrowPadding",
						"type": "number",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "This describes the padding between the arrow and the edges of the floating element. If your floating element has border-radius, this will prevent it from overflowing the corners."
					},
					{
						"name": "avoidCollisions",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "When `true`, overrides the `side` and `align` options to prevent collisions with the boundary edges."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "collisionBoundary",
						"type": "Arrayable<Boundary>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A boundary element or array of elements to check for collisions against."
					},
					{
						"name": "collisionPadding",
						"type": "number | Partial<Record<\"top\" | \"right\" | \"bottom\" | \"left\", number>>",
						"default": "8",
						"bindable": false,
						"required": false,
						"description": "The amount in pixels of virtual padding around the viewport edges to check for overflow which will cause a collision."
					},
					{
						"name": "customAnchor",
						"type": "string | HTMLElement | Measurable | null",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Use an element other than the trigger to anchor the content to. If provided, the content will be anchored to the provided element instead of the trigger. You can pass a selector string or an HTMLElement."
					},
					{
						"name": "dir",
						"type": "\"ltr\" | \"rtl\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The text direction of the content."
					},
					{
						"name": "escapeKeydownBehavior",
						"type": "\"close\" | \"defer-otherwise-close\" | \"defer-otherwise-ignore\" | \"ignore\"",
						"default": "close",
						"bindable": false,
						"required": false,
						"description": "Escape behavior type. `close`: Closes the element immediately. `defer-otherwise-close`: Delegates the action to its parent component that has an escape keydown handler. If no parent is found, it closes the element. `defer-otherwise-ignore`: Delegates the action to the parent element. If no parent is found, nothing is done. `ignore`: Prevents the element from closing and also blocks the parent element from closing in response to an escape key press."
					},
					{
						"name": "forceMount",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Whether to force mount the component."
					},
					{
						"name": "hideWhenDetached",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": ""
					},
					{
						"name": "interactOutsideBehavior",
						"type": "\"close\" | \"defer-otherwise-close\" | \"defer-otherwise-ignore\" | \"ignore\"",
						"default": "close",
						"bindable": false,
						"required": false,
						"description": "Interact outside behavior type. `close`: Closes the element immediately. `defer-otherwise-close`: Delegates the action to the parent element. If no parent is found, it closes the element. `defer-otherwise-ignore`: Delegates the action to the parent element. If no parent is found, nothing is done. `ignore`: Prevents the element from closing and also blocks the parent element from closing in response to an outside interaction."
					},
					{
						"name": "loop",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether or not to loop through the items when navigating with the keyboard."
					},
					{
						"name": "onEscapeKeydown",
						"type": "((e: KeyboardEvent) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fired when escape is pressed."
					},
					{
						"name": "onFocusOutside",
						"type": "((event: FocusEvent) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fired when focus leaves the dismissible layer."
					},
					{
						"name": "onInteractOutside",
						"type": "InteractOutsideEventHandler",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fired when an outside interaction event completes, which is either a `pointerup`, `mouseup`, or `touchend` event, depending on the user's input device."
					},
					{
						"name": "portalProps",
						"type": "PortalProps",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Props for the portal the content renders in: `to` (the element to render in, the body by default) and `disabled` (render in place)."
					},
					{
						"name": "preventOverflowTextSelection",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "Passing `true` will prevent the overflow of text selection outside the element, provided the element is the top layer."
					},
					{
						"name": "preventScroll",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "Whether to prevent scrolling the body when the content is open. Whether to prevent body scrolling when the content is open."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "side",
						"type": "\"top\" | \"right\" | \"bottom\" | \"left\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The preferred side of the anchor to render against when open. Will be reversed when collisions occur."
					},
					{
						"name": "sideOffset",
						"type": "number",
						"default": "4",
						"bindable": false,
						"required": false,
						"description": "The distance in pixels from the anchor to the floating element."
					},
					{
						"name": "sticky",
						"type": "\"partial\" | \"always\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": ""
					},
					{
						"name": "strategy",
						"type": "\"absolute\" | \"fixed\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The positioning strategy to use for the floating element."
					},
					{
						"name": "updatePositionStrategy",
						"type": "\"always\" | \"optimized\"",
						"default": "\"optimized\"",
						"bindable": false,
						"required": false,
						"description": "\"optimized\" will only update the position when necessary, while \"always\" will update the position on each animation frame, which is useful if the floating content is following something like a mouse cursor."
					}
				],
				"Select.Trigger": [
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "placeholder",
						"type": "string",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Shown while nothing is chosen, when the trigger has no children (it then draws a `Select.Value`)."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "size",
						"type": "\"default\" | \"sm\"",
						"default": "'default'",
						"bindable": false,
						"required": false,
						"description": "The trigger's height, from the theme's field size."
					}
				],
				"Select.Separator": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "decorative",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether the separator is decorative and should be hidden from assistive technologies."
					},
					{
						"name": "orientation",
						"type": "\"horizontal\" | \"vertical\"",
						"default": "\"horizontal\"",
						"bindable": false,
						"required": false,
						"description": "The orientation of the separator."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Select.ScrollDownButton": [
					{
						"name": "delay",
						"type": "((tick: number) => number)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Controls the initial delay (tick 0) and delay between auto-scrolls in milliseconds. The default function always returns 50ms."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Select.ScrollUpButton": [
					{
						"name": "delay",
						"type": "((tick: number) => number)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Controls the initial delay (tick 0) and delay between auto-scrolls in milliseconds. The default function always returns 50ms."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Select.GroupHeading": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Select.Portal": [
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The children content to render within the portal."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Disable portalling and render the component inline"
					},
					{
						"name": "to",
						"type": "PortalTarget",
						"default": "document.body",
						"bindable": false,
						"required": false,
						"description": "Where to portal the content to."
					}
				],
				"Select.Value": [
					{
						"name": "child",
						"type": "Snippet<[SelectValueSnippetProps & { props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[SelectValueSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				]
			},
			"examples": [
				{
					"slug": "01-basic",
					"title": "Basic",
					"description": "A single choice. Given items, the trigger and the content draw themselves.",
					"code": "<script lang=\"ts\">\n\timport { Field, Select, type SelectOption } from '@limerdev/zest';\n\n\tconst statuses: SelectOption[] = [\n\t\t{ value: 'draft', label: 'Draft' },\n\t\t{ value: 'sent', label: 'Sent' },\n\t\t{ value: 'paid', label: 'Paid' },\n\t\t{ value: 'overdue', label: 'Overdue' }\n\t];\n\tlet status = $state('sent');\n</script>\n\n<Field.Root class=\"w-56\">\n\t<Field.Label>Status</Field.Label>\n\t<Select.Root type=\"single\" bind:value={status} items={statuses}>\n\t\t<Select.Trigger class=\"w-full\" placeholder=\"Choose a status\" />\n\t\t<Select.Content />\n\t</Select.Root>\n</Field.Root>"
				},
				{
					"slug": "02-groups",
					"title": "Groups",
					"description": "Select.Group with a Select.GroupHeading names a group; Select.Separator divides them.",
					"code": "<script lang=\"ts\">\n\timport { Field, Select, type SelectOption } from '@limerdev/zest';\n\n\ttype Group = { heading: string; options: SelectOption[] };\n\n\tconst groups: Group[] = [\n\t\t{\n\t\t\theading: 'Billable',\n\t\t\toptions: [\n\t\t\t\t{ value: 'dev', label: 'Development' },\n\t\t\t\t{ value: 'design', label: 'Design' },\n\t\t\t\t{ value: 'support', label: 'Support' }\n\t\t\t]\n\t\t},\n\t\t{\n\t\t\theading: 'Internal',\n\t\t\toptions: [\n\t\t\t\t{ value: 'meeting', label: 'Meetings' },\n\t\t\t\t{ value: 'admin', label: 'Administration' }\n\t\t\t]\n\t\t}\n\t];\n\tconst items: SelectOption[] = groups.flatMap((group) => group.options);\n\tlet code = $state('');\n</script>\n\n<Field.Root class=\"w-64\">\n\t<Field.Label>Billing code</Field.Label>\n\t<Select.Root type=\"single\" bind:value={code} {items}>\n\t\t<Select.Trigger class=\"w-full\" placeholder=\"Choose a code\" />\n\t\t<Select.Content>\n\t\t\t{#each groups as group, index (group.heading)}\n\t\t\t\t{#if index > 0}\n\t\t\t\t\t<Select.Separator />\n\t\t\t\t{/if}\n\t\t\t\t<Select.Group>\n\t\t\t\t\t<Select.GroupHeading>{group.heading}</Select.GroupHeading>\n\t\t\t\t\t{#each group.options as option (option.value)}\n\t\t\t\t\t\t<Select.Item value={option.value} label={option.label} />\n\t\t\t\t\t{/each}\n\t\t\t\t</Select.Group>\n\t\t\t{/each}\n\t\t</Select.Content>\n\t</Select.Root>\n</Field.Root>"
				},
				{
					"slug": "03-multiple-and-error",
					"title": "Multiple and error",
					"description": "type=\"multiple\" binds a string[]; a Field.Error marks the trigger invalid.",
					"code": "<script lang=\"ts\">\n\timport { Field, Select, type FieldErrorItem, type SelectOption } from '@limerdev/zest';\n\n\tconst days: SelectOption[] = [\n\t\t{ value: 'mon', label: 'Monday' },\n\t\t{ value: 'tue', label: 'Tuesday' },\n\t\t{ value: 'wed', label: 'Wednesday' },\n\t\t{ value: 'thu', label: 'Thursday' },\n\t\t{ value: 'fri', label: 'Friday' }\n\t];\n\tlet chosen: string[] = $state([]);\n\tconst errors: FieldErrorItem[] = $derived(\n\t\tchosen.length === 0 ? [{ message: 'Choose at least one day.' }] : []\n\t);\n</script>\n\n<Field.Root class=\"w-72\">\n\t<Field.Label>Reminder days</Field.Label>\n\t<Select.Root type=\"multiple\" bind:value={chosen} items={days}>\n\t\t<Select.Trigger class=\"w-full\" placeholder=\"Choose days\" />\n\t\t<Select.Content />\n\t</Select.Root>\n\t<Field.Error {errors} />\n</Field.Root>"
				}
			]
		},
		{
			"name": "Separator",
			"slug": "separator",
			"summary": "A line between groups of content: horizontal by default, `orientation=\"vertical\"` between items in a row. Screen readers announce it as a separator; `decorative` hides it from them.",
			"category": "Layout",
			"bits": "Separator",
			"use": "Dividing sections of a card, menu or toolbar, or items in a row of links.",
			"avoid": "A border on a container instead of a line between its children. Separators that carry meaning screen readers should not hear: set `decorative`.",
			"example": "<script lang=\"ts\">\n  import { Separator } from '@limerdev/zest';\n</script>\n\n<p>Order 1042</p>\n<Separator class=\"my-3\" />\n<div class=\"flex h-5 items-center gap-3 text-sm\">\n  <span>Draft</span>\n  <Separator orientation=\"vertical\" />\n  <span>3 lines</span>\n</div>",
			"importLine": "import { Separator } from '@limerdev/zest'",
			"parts": [
				"Separator"
			],
			"props": {
				"Separator": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "decorative",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether the separator is decorative and should be hidden from assistive technologies."
					},
					{
						"name": "orientation",
						"type": "\"horizontal\" | \"vertical\"",
						"default": "\"horizontal\"",
						"bindable": false,
						"required": false,
						"description": "The orientation of the separator."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				]
			},
			"examples": [
				{
					"slug": "01-basic",
					"title": "Basic",
					"description": "Horizontal between blocks, vertical between items in a row.",
					"code": "<script lang=\"ts\">\n\timport { Separator } from '@limerdev/zest';\n</script>\n\n<div class=\"w-full max-w-sm\">\n\t<p class=\"font-medium\">Order 1042</p>\n\t<p class=\"text-sm text-muted\">Acme AB · due 15 December</p>\n\t<Separator class=\"my-4\" />\n\t<div class=\"flex h-5 items-center gap-3 text-sm\">\n\t\t<span>Draft</span>\n\t\t<Separator orientation=\"vertical\" />\n\t\t<span>3 lines</span>\n\t\t<Separator orientation=\"vertical\" />\n\t\t<span>12 400 kr</span>\n\t</div>\n</div>"
				}
			]
		},
		{
			"name": "Sheet",
			"slug": "sheet",
			"summary": "A panel that slides in from an edge of the screen, as a modal dialog: `<Sheet.Root>` (`bind:open`) holds a `Sheet.Trigger` (a Button: `variant`, `size`) and a `Sheet.Content` (`side`: `right` by default, `left`, `top`, `bottom`) with a `Sheet.Header` (`Sheet.Title`, `Sheet.Description`), the body and a `Sheet.Footer` of actions, often a `Sheet.Close`. It is Bits UI's Dialog with Zest's own look: focus moves in and is trapped, Escape and the overlay close it, and focus returns to the trigger.",
			"category": "Overlays",
			"bits": "",
			"use": "Editing or viewing a record beside the list it came from; filters; navigation on a small screen.",
			"avoid": "A short question or confirmation: use `Dialog` or `AlertDialog`. Content people keep open while they work in the page: put it in the page.",
			"example": "<script lang=\"ts\">\n  import { Button, Field, Input, Sheet } from '@limerdev/zest';\n</script>\n\n<Sheet.Root>\n  <Sheet.Trigger variant=\"outline\">Edit customer</Sheet.Trigger>\n  <Sheet.Content>\n    <Sheet.Header>\n      <Sheet.Title>Edit customer</Sheet.Title>\n      <Sheet.Description>Changes apply to new invoices.</Sheet.Description>\n    </Sheet.Header>\n    <div class=\"px-5\">\n      <Field.Root>\n        <Field.Label>Name</Field.Label>\n        <Input value=\"Acme AB\" />\n      </Field.Root>\n    </div>\n    <Sheet.Footer>\n      <Sheet.Close variant=\"outline\">Cancel</Sheet.Close>\n      <Button>Save</Button>\n    </Sheet.Footer>\n  </Sheet.Content>\n</Sheet.Root>",
			"importLine": "import { Sheet } from '@limerdev/zest'",
			"parts": [
				"Sheet.Root",
				"Sheet.Trigger",
				"Sheet.Close",
				"Sheet.Portal",
				"Sheet.Overlay",
				"Sheet.Content",
				"Sheet.Header",
				"Sheet.Footer",
				"Sheet.Title",
				"Sheet.Description"
			],
			"props": {
				"Sheet.Root": [
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "onOpenChange",
						"type": "OnChangeFn<boolean>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback that is called when the popover's open state changes."
					},
					{
						"name": "onOpenChangeComplete",
						"type": "OnChangeFn<boolean>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback called when the dialog finishes opening/closing animations."
					},
					{
						"name": "open",
						"type": "boolean",
						"default": "false",
						"bindable": true,
						"required": false,
						"description": "The open state of the dialog."
					}
				],
				"Sheet.Trigger": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "size",
						"type": "\"default\" | \"sm\" | \"lg\" | \"icon\" | \"icon-sm\" | \"icon-lg\"",
						"default": "'default'",
						"bindable": false,
						"required": false,
						"description": "The height and padding, from the theme's field size; the `icon` sizes are square."
					},
					{
						"name": "variant",
						"type": "\"link\" | \"primary\" | \"secondary\" | \"neutral\" | \"error\" | \"outline\" | \"ghost\"",
						"default": "'primary'",
						"bindable": false,
						"required": false,
						"description": "The look, by the theme's colour roles: `primary` for the main action, `error` for deleting, `secondary`, `neutral` and `outline` for the rest, `ghost` in toolbars, `link` for a navigation that looks like text."
					}
				],
				"Sheet.Close": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "size",
						"type": "\"default\" | \"sm\" | \"lg\" | \"icon\" | \"icon-sm\" | \"icon-lg\"",
						"default": "'default'",
						"bindable": false,
						"required": false,
						"description": "The height and padding, from the theme's field size; the `icon` sizes are square."
					},
					{
						"name": "variant",
						"type": "\"link\" | \"primary\" | \"secondary\" | \"neutral\" | \"error\" | \"outline\" | \"ghost\"",
						"default": "'primary'",
						"bindable": false,
						"required": false,
						"description": "The look, by the theme's colour roles: `primary` for the main action, `error` for deleting, `secondary`, `neutral` and `outline` for the rest, `ghost` in toolbars, `link` for a navigation that looks like text."
					}
				],
				"Sheet.Portal": [
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The children content to render within the portal."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Disable portalling and render the component inline"
					},
					{
						"name": "to",
						"type": "PortalTarget",
						"default": "document.body",
						"bindable": false,
						"required": false,
						"description": "Where to portal the content to."
					}
				],
				"Sheet.Overlay": [
					{
						"name": "child",
						"type": "Snippet<[DialogOverlaySnippetProps & { props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[DialogOverlaySnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "forceMount",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Whether to force mount the component."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Sheet.Content": [
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": true,
						"description": "The content."
					},
					{
						"name": "closeLabel",
						"type": "string",
						"default": "the Config's `strings.close`, else 'Close'",
						"bindable": false,
						"required": false,
						"description": "The close button's name for screen readers."
					},
					{
						"name": "escapeKeydownBehavior",
						"type": "\"close\" | \"defer-otherwise-close\" | \"defer-otherwise-ignore\" | \"ignore\"",
						"default": "close",
						"bindable": false,
						"required": false,
						"description": "Escape behavior type. `close`: Closes the element immediately. `defer-otherwise-close`: Delegates the action to its parent component that has an escape keydown handler. If no parent is found, it closes the element. `defer-otherwise-ignore`: Delegates the action to the parent element. If no parent is found, nothing is done. `ignore`: Prevents the element from closing and also blocks the parent element from closing in response to an escape key press."
					},
					{
						"name": "forceMount",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Whether to force mount the component."
					},
					{
						"name": "interactOutsideBehavior",
						"type": "\"close\" | \"defer-otherwise-close\" | \"defer-otherwise-ignore\" | \"ignore\"",
						"default": "close",
						"bindable": false,
						"required": false,
						"description": "Interact outside behavior type. `close`: Closes the element immediately. `defer-otherwise-close`: Delegates the action to the parent element. If no parent is found, it closes the element. `defer-otherwise-ignore`: Delegates the action to the parent element. If no parent is found, nothing is done. `ignore`: Prevents the element from closing and also blocks the parent element from closing in response to an outside interaction."
					},
					{
						"name": "onCloseAutoFocus",
						"type": "EventCallback",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Event handler called when auto-focusing on close. Can be prevented."
					},
					{
						"name": "onEscapeKeydown",
						"type": "((e: KeyboardEvent) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fired when escape is pressed."
					},
					{
						"name": "onFocusOutside",
						"type": "((event: FocusEvent) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fired when focus leaves the dismissible layer."
					},
					{
						"name": "onInteractOutside",
						"type": "InteractOutsideEventHandler",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fired when an outside interaction event completes, which is either a `pointerup`, `mouseup`, or `touchend` event, depending on the user's input device."
					},
					{
						"name": "onOpenAutoFocus",
						"type": "EventCallback",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Event handler called when auto-focusing on open. Can be prevented."
					},
					{
						"name": "portalProps",
						"type": "PortalProps",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Props for the portal the content renders in: `to` (the element to render in, the body by default) and `disabled` (render in place)."
					},
					{
						"name": "preventBodyPointerEvents",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "Whether to set `pointer-events: none` on the `<body>` while the dialog is open. When `false` and a `Dialog.Overlay` is rendered, the overlay blocks pointer interaction with the page instead, which avoids restyling every element on the page when the dialog opens and closes. Without an overlay, the body is still blocked. Elements stacked above the overlay that aren't part of the dialog (toasts, a header with a higher `z-index`) receive pointer events when this is `false`."
					},
					{
						"name": "preventOverflowTextSelection",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "Passing `true` will prevent the overflow of text selection outside the element, provided the element is the top layer."
					},
					{
						"name": "preventScroll",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "Whether to prevent body scrolling when the content is open."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "restoreScrollDelay",
						"type": "number | null",
						"default": "null",
						"bindable": false,
						"required": false,
						"description": "The delay in milliseconds before the scrollbar is restored after closing the dialog. This is only applicable when using the `child` snippet for custom transitions and `preventScroll` is `true`. You should set this to a value greater than the transition duration to prevent content from shifting during the transition."
					},
					{
						"name": "showCloseButton",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "Show a close button in the corner."
					},
					{
						"name": "side",
						"type": "\"top\" | \"right\" | \"bottom\" | \"left\"",
						"default": "'right'",
						"bindable": false,
						"required": false,
						"description": "The edge of the screen the sheet slides in from."
					},
					{
						"name": "trapFocus",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether focus is trapped within the focus scope."
					}
				],
				"Sheet.Header": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Sheet.Footer": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Sheet.Title": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "level",
						"type": "1 | 2 | 3 | 4 | 5 | 6",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The heading level of the dialog title."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Sheet.Description": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				]
			},
			"examples": [
				{
					"slug": "01-edit-form",
					"title": "Edit form",
					"description": "A form beside the page: a header, the fields, and a footer of actions.",
					"code": "<script lang=\"ts\">\n\timport { Button, Field, Input, Sheet, toast } from '@limerdev/zest';\n\n\tlet open = $state(false);\n\n\tfunction save(): void {\n\t\topen = false;\n\t\ttoast.success('Customer saved');\n\t}\n</script>\n\n<Sheet.Root bind:open>\n\t<Sheet.Trigger variant=\"outline\">Edit customer</Sheet.Trigger>\n\t<Sheet.Content>\n\t\t<Sheet.Header>\n\t\t\t<Sheet.Title>Edit customer</Sheet.Title>\n\t\t\t<Sheet.Description>Changes apply to new invoices.</Sheet.Description>\n\t\t</Sheet.Header>\n\t\t<div class=\"grid gap-4 px-5\">\n\t\t\t<Field.Root>\n\t\t\t\t<Field.Label>Name</Field.Label>\n\t\t\t\t<Input value=\"Acme AB\" />\n\t\t\t</Field.Root>\n\t\t\t<Field.Root>\n\t\t\t\t<Field.Label>Email</Field.Label>\n\t\t\t\t<Input type=\"email\" value=\"billing@acme.se\" />\n\t\t\t</Field.Root>\n\t\t</div>\n\t\t<Sheet.Footer>\n\t\t\t<Sheet.Close variant=\"outline\">Cancel</Sheet.Close>\n\t\t\t<Button onclick={save}>Save</Button>\n\t\t</Sheet.Footer>\n\t</Sheet.Content>\n</Sheet.Root>"
				},
				{
					"slug": "02-sides",
					"title": "Sides",
					"description": "side: the edge it slides in from.",
					"code": "<script lang=\"ts\">\n\timport { Sheet, type SheetSide } from '@limerdev/zest';\n\n\tconst sides: SheetSide[] = ['top', 'right', 'bottom', 'left'];\n</script>\n\n<div class=\"flex flex-wrap gap-2\">\n\t{#each sides as side (side)}\n\t\t<Sheet.Root>\n\t\t\t<Sheet.Trigger variant=\"outline\" class=\"capitalize\">{side}</Sheet.Trigger>\n\t\t\t<Sheet.Content {side}>\n\t\t\t\t<Sheet.Header>\n\t\t\t\t\t<Sheet.Title>From the {side}</Sheet.Title>\n\t\t\t\t\t<Sheet.Description>Escape, the overlay or the close button closes it.</Sheet.Description>\n\t\t\t\t</Sheet.Header>\n\t\t\t</Sheet.Content>\n\t\t</Sheet.Root>\n\t{/each}\n</div>"
				}
			]
		},
		{
			"name": "Sidebar",
			"slug": "sidebar",
			"summary": "An app's layout with a navigation panel: `<Sidebar.Root>` (`bind:open`, `collapsible`: `offcanvas` by default, `icon` or `none`) holds a `Sidebar.Panel` and a `Sidebar.Inset` (the page, `main`), where a `Sidebar.Trigger` shows and hides the panel. The panel has a `Sidebar.Header`, a `Sidebar.Content` (a navigation landmark, `label`) of `Sidebar.Group`s, each named by a `Sidebar.GroupLabel` and holding a `Sidebar.Menu` of `Sidebar.MenuItem`s, and a `Sidebar.Footer`. A `Sidebar.MenuButton` is a link with `href` (a button without); `active` marks the current page, which the app passes from its router; its text goes in a `<span>`, hidden but still read when the panel collapses to icons; a `Sidebar.MenuBadge` shows a count. Below the `md` breakpoint the panel is a sheet from the left (`bind:openMobile`) that closes when a page is chosen.",
			"category": "Layout",
			"bits": "",
			"use": "The frame of an admin app: its sections and pages, the workspace and the user.",
			"avoid": "A few pages: links in a header (`NavigationMenu`). Tabs within one page: use `Tabs`. A panel of details or a form: use `Sheet`.",
			"example": "<script lang=\"ts\">\n  import { Sidebar } from '@limerdev/zest';\n  import FileText from '@lucide/svelte/icons/file-text';\n  import Users from '@lucide/svelte/icons/users';\n\n  let { children, path } = $props();\n</script>\n\n<Sidebar.Root collapsible=\"icon\">\n  <Sidebar.Panel>\n    <Sidebar.Header>Acme Billing</Sidebar.Header>\n    <Sidebar.Content>\n      <Sidebar.Group>\n        <Sidebar.GroupLabel>Billing</Sidebar.GroupLabel>\n        <Sidebar.Menu>\n          <Sidebar.MenuItem>\n            <Sidebar.MenuButton href=\"/invoices\" active={path === '/invoices'}>\n              <FileText aria-hidden=\"true\" /><span>Invoices</span>\n            </Sidebar.MenuButton>\n            <Sidebar.MenuBadge>12</Sidebar.MenuBadge>\n          </Sidebar.MenuItem>\n          <Sidebar.MenuItem>\n            <Sidebar.MenuButton href=\"/customers\" active={path === '/customers'}>\n              <Users aria-hidden=\"true\" /><span>Customers</span>\n            </Sidebar.MenuButton>\n          </Sidebar.MenuItem>\n        </Sidebar.Menu>\n      </Sidebar.Group>\n    </Sidebar.Content>\n  </Sidebar.Panel>\n  <Sidebar.Inset>\n    <header class=\"flex h-12 items-center border-b border-border px-3\"><Sidebar.Trigger /></header>\n    {@render children()}\n  </Sidebar.Inset>\n</Sidebar.Root>",
			"importLine": "import { Sidebar } from '@limerdev/zest'",
			"parts": [
				"Sidebar.Root",
				"Sidebar.Panel",
				"Sidebar.Header",
				"Sidebar.Content",
				"Sidebar.Footer",
				"Sidebar.Group",
				"Sidebar.GroupLabel",
				"Sidebar.Menu",
				"Sidebar.MenuItem",
				"Sidebar.MenuButton",
				"Sidebar.MenuBadge",
				"Sidebar.Trigger",
				"Sidebar.Inset"
			],
			"props": {
				"Sidebar.Root": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "collapsible",
						"type": "\"none\" | \"icon\" | \"offcanvas\"",
						"default": "'offcanvas'",
						"bindable": false,
						"required": false,
						"description": "How the panel collapses on a wide screen: off the screen (`offcanvas`), to its icons (`icon`), or not at all (`none`)."
					},
					{
						"name": "open",
						"type": "boolean",
						"default": "true",
						"bindable": true,
						"required": false,
						"description": "Whether the panel is expanded on a wide screen."
					},
					{
						"name": "openMobile",
						"type": "boolean",
						"default": "false",
						"bindable": true,
						"required": false,
						"description": "Whether the panel's sheet is open on a small screen."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Sidebar.Panel": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "label",
						"type": "string",
						"default": "the Config's `strings.sidebar`, else 'Sidebar'",
						"bindable": false,
						"required": false,
						"description": "The name of the panel's sheet on a small screen."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Sidebar.Header": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Sidebar.Content": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "label",
						"type": "string",
						"default": "the Config's `strings.mainNavigation`, else 'Main'",
						"bindable": false,
						"required": false,
						"description": "The name of the navigation landmark."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Sidebar.Footer": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Sidebar.Group": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Sidebar.GroupLabel": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Sidebar.Menu": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Sidebar.MenuItem": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Sidebar.MenuButton": [
					{
						"name": "active",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Marks the current page: `aria-current=\"page\"` and the active look. The app knows its route and passes it."
					},
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Sidebar.MenuBadge": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Sidebar.Trigger": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "label",
						"type": "string",
						"default": "the Config's `strings.toggleSidebar`, else 'Toggle sidebar'",
						"bindable": false,
						"required": false,
						"description": "The button's name for screen readers."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "size",
						"type": "\"default\" | \"sm\" | \"lg\" | \"icon\" | \"icon-sm\" | \"icon-lg\"",
						"default": "'icon-sm'",
						"bindable": false,
						"required": false,
						"description": "The height and padding, from the theme's field size; the `icon` sizes are square."
					},
					{
						"name": "variant",
						"type": "\"link\" | \"primary\" | \"secondary\" | \"neutral\" | \"error\" | \"outline\" | \"ghost\"",
						"default": "'ghost'",
						"bindable": false,
						"required": false,
						"description": "The look, by the theme's colour roles: `primary` for the main action, `error` for deleting, `secondary`, `neutral` and `outline` for the rest, `ghost` in toolbars, `link` for a navigation that looks like text."
					}
				],
				"Sidebar.Inset": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				]
			},
			"examples": [
				{
					"slug": "01-app-frame",
					"title": "App frame",
					"description": "An app frame that collapses to icons. In an app it fills the screen; here it is sized to fit the preview. active comes from the app's router.",
					"code": "<script lang=\"ts\">\n\timport { Sidebar } from '@limerdev/zest';\n\timport FileText from '@lucide/svelte/icons/file-text';\n\timport LayoutDashboard from '@lucide/svelte/icons/layout-dashboard';\n\timport Settings from '@lucide/svelte/icons/settings';\n\timport Timer from '@lucide/svelte/icons/timer';\n\timport Users from '@lucide/svelte/icons/users';\n\timport type { Component } from 'svelte';\n\n\ttype Page = { href: string; label: string; icon: Component; count?: number };\n\ttype Section = { label: string; pages: Page[] };\n\n\tconst sections: Section[] = [\n\t\t{\n\t\t\tlabel: 'Billing',\n\t\t\tpages: [\n\t\t\t\t{ href: '#overview', label: 'Overview', icon: LayoutDashboard },\n\t\t\t\t{ href: '#invoices', label: 'Invoices', icon: FileText, count: 12 },\n\t\t\t\t{ href: '#customers', label: 'Customers', icon: Users }\n\t\t\t]\n\t\t},\n\t\t{\n\t\t\tlabel: 'Time',\n\t\t\tpages: [{ href: '#entries', label: 'Time entries', icon: Timer }]\n\t\t}\n\t];\n\tlet current = $state('#invoices');\n</script>\n\n<div class=\"h-[26rem] w-full overflow-hidden rounded-box border border-border\">\n\t<Sidebar.Root collapsible=\"icon\" class=\"h-full min-h-0\">\n\t\t<Sidebar.Panel class=\"static h-full\">\n\t\t\t<Sidebar.Header>\n\t\t\t\t<span class=\"truncate px-2 py-1 font-semibold group-data-[icon-only]/sidebar:sr-only\">\n\t\t\t\t\tAcme Billing\n\t\t\t\t</span>\n\t\t\t</Sidebar.Header>\n\t\t\t<Sidebar.Content>\n\t\t\t\t{#each sections as section (section.label)}\n\t\t\t\t\t<Sidebar.Group>\n\t\t\t\t\t\t<Sidebar.GroupLabel>{section.label}</Sidebar.GroupLabel>\n\t\t\t\t\t\t<Sidebar.Menu>\n\t\t\t\t\t\t\t{#each section.pages as item (item.href)}\n\t\t\t\t\t\t\t\t<Sidebar.MenuItem>\n\t\t\t\t\t\t\t\t\t<Sidebar.MenuButton\n\t\t\t\t\t\t\t\t\t\thref={item.href}\n\t\t\t\t\t\t\t\t\t\tactive={current === item.href}\n\t\t\t\t\t\t\t\t\t\tonclick={(event: MouseEvent) => {\n\t\t\t\t\t\t\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\t\t\t\t\t\t\tcurrent = item.href;\n\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t<item.icon aria-hidden=\"true\" />\n\t\t\t\t\t\t\t\t\t\t<span>{item.label}</span>\n\t\t\t\t\t\t\t\t\t</Sidebar.MenuButton>\n\t\t\t\t\t\t\t\t\t{#if item.count}\n\t\t\t\t\t\t\t\t\t\t<Sidebar.MenuBadge>{item.count}</Sidebar.MenuBadge>\n\t\t\t\t\t\t\t\t\t{/if}\n\t\t\t\t\t\t\t\t</Sidebar.MenuItem>\n\t\t\t\t\t\t\t{/each}\n\t\t\t\t\t\t</Sidebar.Menu>\n\t\t\t\t\t</Sidebar.Group>\n\t\t\t\t{/each}\n\t\t\t</Sidebar.Content>\n\t\t\t<Sidebar.Footer>\n\t\t\t\t<Sidebar.Menu>\n\t\t\t\t\t<Sidebar.MenuItem>\n\t\t\t\t\t\t<Sidebar.MenuButton href=\"#settings\">\n\t\t\t\t\t\t\t<Settings aria-hidden=\"true\" />\n\t\t\t\t\t\t\t<span>Settings</span>\n\t\t\t\t\t\t</Sidebar.MenuButton>\n\t\t\t\t\t</Sidebar.MenuItem>\n\t\t\t\t</Sidebar.Menu>\n\t\t\t</Sidebar.Footer>\n\t\t</Sidebar.Panel>\n\t\t<Sidebar.Inset>\n\t\t\t<header class=\"flex h-12 items-center gap-2 border-b border-border px-3\">\n\t\t\t\t<Sidebar.Trigger />\n\t\t\t\t<span class=\"text-sm font-medium\">\n\t\t\t\t\t{sections.flatMap((section) => section.pages).find((p) => p.href === current)?.label}\n\t\t\t\t</span>\n\t\t\t</header>\n\t\t\t<div class=\"p-4 text-sm text-muted\">The page.</div>\n\t\t</Sidebar.Inset>\n\t</Sidebar.Root>\n</div>"
				}
			]
		},
		{
			"name": "Skeleton",
			"slug": "skeleton",
			"summary": "A placeholder shaped like content that is loading: `<Skeleton>` is a pulsing block, sized and shaped with classes (`h-4 w-40`, `size-10 rounded-full`). It is hidden from assistive technology: mark the region that is loading `aria-busy=\"true\"`, and give it a name or a status text. The pulse stops with reduced motion.",
			"category": "Feedback",
			"bits": "",
			"use": "The first load of a page or card whose layout is known: a table's rows, a profile.",
			"avoid": "A short wait, or one of unknown shape: show nothing, or a spinner in the button that started it. Progress you can measure: use `Progress`.",
			"example": "<script lang=\"ts\">\n  import { Skeleton } from '@limerdev/zest';\n</script>\n\n<div class=\"flex items-center gap-3\" aria-busy=\"true\" aria-label=\"Loading customer\">\n  <Skeleton class=\"size-10 rounded-full\" />\n  <div class=\"grid gap-2\">\n    <Skeleton class=\"h-4 w-40\" />\n    <Skeleton class=\"h-4 w-28\" />\n  </div>\n</div>",
			"importLine": "import { Skeleton } from '@limerdev/zest'",
			"parts": [
				"Skeleton"
			],
			"props": {
				"Skeleton": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				]
			},
			"examples": [
				{
					"slug": "01-basic",
					"title": "Basic",
					"description": "Blocks shaped like the content that is loading; the region is marked busy.",
					"code": "<script lang=\"ts\">\n\timport { Skeleton } from '@limerdev/zest';\n</script>\n\n<div class=\"flex items-center gap-3\" aria-busy=\"true\" aria-label=\"Loading customer\" role=\"region\">\n\t<Skeleton class=\"size-10 rounded-full\" />\n\t<div class=\"grid gap-2\">\n\t\t<Skeleton class=\"h-4 w-40\" />\n\t\t<Skeleton class=\"h-4 w-28\" />\n\t</div>\n</div>"
				},
				{
					"slug": "02-card",
					"title": "Card",
					"description": "A card while it loads: the same parts, with skeletons for the text.",
					"code": "<script lang=\"ts\">\n\timport { Card, Skeleton } from '@limerdev/zest';\n</script>\n\n<Card.Root class=\"w-80\" role=\"region\" aria-busy=\"true\" aria-label=\"Loading customer\">\n\t<Card.Header>\n\t\t<Skeleton class=\"h-5 w-32\" />\n\t\t<Skeleton class=\"h-4 w-44\" />\n\t</Card.Header>\n\t<Card.Content class=\"grid gap-2\">\n\t\t<Skeleton class=\"h-4 w-full\" />\n\t\t<Skeleton class=\"h-4 w-3/4\" />\n\t</Card.Content>\n</Card.Root>"
				}
			]
		},
		{
			"name": "Slider",
			"slug": "slider",
			"summary": "A value picked by dragging a thumb along a track, or with the arrow keys (Page Up and Down for big steps, Home and End for the ends): `type=\"single\"` binds a number, `type=\"multiple\"` a number[] with one thumb each (a range). `min`, `max`, `step`, `orientation`. Inside a `Field` the thumbs are named by `Field.Label` and described by its description and error; outside one, give each thumb a name with `aria-label`.",
			"category": "Data input",
			"bits": "Slider",
			"use": "A value where the rough position matters more than the exact number: volume, a price range filter, a percentage.",
			"avoid": "An exact number people type: use `Input type=\"number\"`. Few options: use `RadioGroup` or `ToggleGroup`.",
			"example": "<script lang=\"ts\">\n  import { Field, Slider } from '@limerdev/zest';\n\n  let rate = $state(80);\n</script>\n\n<Field.Root>\n  <Field.Label>Billable share</Field.Label>\n  <Slider type=\"single\" bind:value={rate} max={100} step={5} />\n  <Field.Description>{rate}% of logged time.</Field.Description>\n</Field.Root>",
			"importLine": "import { Slider } from '@limerdev/zest'",
			"parts": [
				"Slider"
			],
			"props": {
				"Slider": [
					{
						"name": "autoSort",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "Whether to automatically sort the values in the array when moving thumbs past one another."
					},
					{
						"name": "dir",
						"type": "\"ltr\" | \"rtl\"",
						"default": "'ltr'",
						"bindable": false,
						"required": false,
						"description": "The direction of the slider. For vertical sliders, setting `dir` to `'rtl'` will caus the slider to start from the top and move downwards. For horizontal sliders, setting `dir` to `'rtl'` will cause the slider to start from the left and move rightwards."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether the slider is disabled or not."
					},
					{
						"name": "max",
						"type": "number",
						"default": "100 (for number step) or the max value of the step array (for array step)",
						"bindable": false,
						"required": false,
						"description": "The maximum value of the slider."
					},
					{
						"name": "min",
						"type": "number",
						"default": "0 (for number step) or the min value of the step array (for array step)",
						"bindable": false,
						"required": false,
						"description": "The minimum value of the slider."
					},
					{
						"name": "onValueChange",
						"type": "OnChangeFn<number> | OnChangeFn<number[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback function called when the value changes."
					},
					{
						"name": "onValueCommit",
						"type": "OnChangeFn<number> | OnChangeFn<number[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback function called when the user stops dragging the thumb and the value is committed."
					},
					{
						"name": "orientation",
						"type": "\"horizontal\" | \"vertical\"",
						"default": "'horizontal'",
						"bindable": false,
						"required": false,
						"description": "The orientation of the slider."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "step",
						"type": "number | number[]",
						"default": "1",
						"bindable": false,
						"required": false,
						"description": "The amount to increment the value by when the user presses the arrow keys, or an array of specific values that the slider can snap to. When an array is provided, the slider will only allow values that exist in the array, creating discrete tick points. The array values should be within the min/max range and will be automatically sorted."
					},
					{
						"name": "thumbPositioning",
						"type": "\"exact\" | \"contain\"",
						"default": "\"contain\"",
						"bindable": false,
						"required": false,
						"description": "The positioning of the slider thumb."
					},
					{
						"name": "trackPadding",
						"type": "number",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Padding percentage for the track. Creates space before the first and after the last tick positions. This can also be used as an SSR-friendly alternative to `thumbPositioning=\"contain\"`, which requires client-side measurement."
					},
					{
						"name": "type",
						"type": "\"multiple\" | \"single\"",
						"default": "",
						"bindable": false,
						"required": true,
						"description": "The type of slider. If set to `'multiple'`, the slider will allow multiple ticks and the `value` will be an array of numbers."
					},
					{
						"name": "value",
						"type": "number | number[]",
						"default": "min",
						"bindable": true,
						"required": false,
						"description": "The value of the slider."
					}
				]
			},
			"examples": [
				{
					"slug": "01-basic",
					"title": "Basic",
					"description": "In a Field, the label names the thumb. Arrow keys move by step.",
					"code": "<script lang=\"ts\">\n\timport { Field, Slider } from '@limerdev/zest';\n\n\tlet share = $state(80);\n</script>\n\n<Field.Root class=\"w-full max-w-sm\">\n\t<Field.Label>Billable share</Field.Label>\n\t<Slider type=\"single\" bind:value={share} max={100} step={5} />\n\t<Field.Description>{share}% of logged time is billed.</Field.Description>\n</Field.Root>"
				},
				{
					"slug": "02-a-range",
					"title": "A range",
					"description": "type=\"multiple\" picks a range with two thumbs; name each thumb outside a Field.",
					"code": "<script lang=\"ts\">\n\timport { Slider } from '@limerdev/zest';\n\n\tlet hours: number[] = $state([20, 60]);\n</script>\n\n<div class=\"grid w-full max-w-sm gap-3\">\n\t<p class=\"text-sm font-medium\">Projects with {hours[0]}–{hours[1]} hours logged</p>\n\t<Slider type=\"multiple\" bind:value={hours} max={100} aria-label=\"Hours logged\" />\n</div>"
				}
			]
		},
		{
			"name": "Spinner",
			"slug": "spinner",
			"summary": "A turning circle for a wait of unknown length. It is a status region named by `label` (\"Loading\" by default), so a screen reader announces it when it appears. It is 16px and takes the text colour; `class` sizes and colours it (`size-6 text-muted`). It stops turning with reduced motion.",
			"category": "Feedback",
			"bits": "",
			"use": "A short wait the user started: saving, a search, loading the next page. In a button, use the Button's `loading` instead.",
			"avoid": "A first load whose layout is known: use `Skeleton`. Progress you can measure: use `Progress`. Several spinners on one screen: show one for the region that is loading.",
			"example": "<script lang=\"ts\">\n  import { Spinner } from '@limerdev/zest';\n</script>\n\n<p class=\"flex items-center gap-2 text-sm text-muted\">\n  <Spinner label=\"Loading invoices\" /> Loading invoices…\n</p>",
			"importLine": "import { Spinner } from '@limerdev/zest'",
			"parts": [
				"Spinner"
			],
			"props": {
				"Spinner": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "label",
						"type": "string",
						"default": "the Config's `strings.loading`, else 'Loading'",
						"bindable": false,
						"required": false,
						"description": "What is happening, for screen readers."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				]
			},
			"examples": [
				{
					"slug": "01-basic",
					"title": "Basic",
					"description": "A wait of unknown length, named for screen readers by label.",
					"code": "<script lang=\"ts\">\n\timport { Spinner } from '@limerdev/zest';\n</script>\n\n<p class=\"flex items-center gap-2 text-sm text-muted\">\n\t<Spinner label=\"Loading invoices\" /> Loading invoices…\n</p>"
				},
				{
					"slug": "02-sizes-and-colours",
					"title": "Sizes and colours",
					"description": "class sizes and colours it; it takes the text colour by default.",
					"code": "<script lang=\"ts\">\n\timport { Spinner } from '@limerdev/zest';\n</script>\n\n<div class=\"flex items-center gap-4\">\n\t<Spinner class=\"size-3\" />\n\t<Spinner />\n\t<Spinner class=\"size-6 text-primary\" />\n\t<Spinner class=\"size-8 text-muted\" />\n</div>"
				}
			]
		},
		{
			"name": "Switch",
			"slug": "switch",
			"summary": "An on/off switch with `bind:checked`, for a setting that applies at once. With `name` it submits with a form. Inside a `Field` it takes its id, label, description, error and disabled state from the Field; use `orientation=\"horizontal\"` to put the label beside it.",
			"category": "Data input",
			"bits": "Switch",
			"use": "A setting that takes effect immediately: notifications on, dark rows, show archived.",
			"avoid": "A choice that only counts when a form is submitted: use `Checkbox`. A Switch without a label.",
			"example": "<script lang=\"ts\">\n  import { Field, Switch } from '@limerdev/zest';\n\n  let archived = $state(false);\n</script>\n\n<Field.Root orientation=\"horizontal\">\n  <Field.Label>Show archived projects</Field.Label>\n  <Switch bind:checked={archived} />\n</Field.Root>",
			"importLine": "import { Switch } from '@limerdev/zest'",
			"parts": [
				"Switch"
			],
			"props": {
				"Switch": [
					{
						"name": "checked",
						"type": "boolean",
						"default": "false",
						"bindable": true,
						"required": false,
						"description": "The checked state of the switch."
					},
					{
						"name": "disabled",
						"type": "null | false | true",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether the switch is disabled."
					},
					{
						"name": "name",
						"type": "string",
						"default": "undefined",
						"bindable": false,
						"required": false,
						"description": "The name of the switch used in form submission. If not provided, the hidden input will not be rendered."
					},
					{
						"name": "onCheckedChange",
						"type": "OnChangeFn<boolean>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback function called when the checked state changes."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "required",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether the switch is required (for form validation)."
					},
					{
						"name": "value",
						"type": "any",
						"default": "undefined",
						"bindable": false,
						"required": false,
						"description": "The value of the switch used in form submission."
					}
				]
			},
			"examples": [
				{
					"slug": "01-basic",
					"title": "Basic",
					"description": "A Switch applies at once.",
					"code": "<script lang=\"ts\">\n\timport { Field, Switch } from '@limerdev/zest';\n\n\tlet archived = $state(false);\n</script>\n\n<Field.Root orientation=\"horizontal\" class=\"w-auto\">\n\t<Switch bind:checked={archived} />\n\t<Field.Label>Show archived projects</Field.Label>\n</Field.Root>"
				},
				{
					"slug": "02-settings",
					"title": "Settings",
					"description": "A list of settings: label and description first, the switch at the end.",
					"code": "<script lang=\"ts\">\n\timport { Field, Switch } from '@limerdev/zest';\n</script>\n\n<Field.Group class=\"max-w-md\">\n\t<Field.Root orientation=\"horizontal\">\n\t\t<Field.Content>\n\t\t\t<Field.Label>Email me when a week is approved</Field.Label>\n\t\t\t<Field.Description>One email per approved week.</Field.Description>\n\t\t</Field.Content>\n\t\t<Switch checked />\n\t</Field.Root>\n\t<Field.Root orientation=\"horizontal\">\n\t\t<Field.Content>\n\t\t\t<Field.Label>Remind me on Fridays</Field.Label>\n\t\t\t<Field.Description>If the week has days without hours.</Field.Description>\n\t\t</Field.Content>\n\t\t<Switch />\n\t</Field.Root>\n\t<Field.Root orientation=\"horizontal\" disabled>\n\t\t<Field.Content>\n\t\t\t<Field.Label>Weekly summary</Field.Label>\n\t\t\t<Field.Description>Turned off by your organisation.</Field.Description>\n\t\t</Field.Content>\n\t\t<Switch />\n\t</Field.Root>\n</Field.Group>"
				}
			]
		},
		{
			"name": "Table",
			"slug": "table",
			"summary": "A table of data: `<Table.Root>` (in a container that scrolls sideways when it is too wide) holds a `Table.Header`, a `Table.Body` and an optional `Table.Footer`, each of `Table.Row`s of `Table.Head` (column headings) and `Table.Cell`s, and a `Table.Caption` that names it. Rows highlight on hover; `data-state=\"selected\"` on a row marks it selected. A `Table.Head` with `sort` (`ascending`, `descending` or `none`) is a sort button with `aria-sort` that calls `onSort`. It is the native table, so screen readers read it as one; the app sorts, selects and pages the rows.",
			"category": "Data display",
			"bits": "",
			"use": "Records people compare across columns: invoices, users, time entries.",
			"avoid": "Laying out a page or a form: use CSS grid. A list of one-line items: a list.",
			"example": "<script lang=\"ts\">\n  import { Badge, Table } from '@limerdev/zest';\n</script>\n\n<Table.Root>\n  <Table.Caption>Invoices this month</Table.Caption>\n  <Table.Header>\n    <Table.Row>\n      <Table.Head scope=\"col\">Invoice</Table.Head>\n      <Table.Head scope=\"col\">Status</Table.Head>\n      <Table.Head scope=\"col\" class=\"text-end\">Amount</Table.Head>\n    </Table.Row>\n  </Table.Header>\n  <Table.Body>\n    <Table.Row>\n      <Table.Cell>1042</Table.Cell>\n      <Table.Cell><Badge variant=\"success\">Paid</Badge></Table.Cell>\n      <Table.Cell class=\"text-end\">4 200 kr</Table.Cell>\n    </Table.Row>\n  </Table.Body>\n</Table.Root>",
			"importLine": "import { Table } from '@limerdev/zest'",
			"parts": [
				"Table.Root",
				"Table.Header",
				"Table.Body",
				"Table.Footer",
				"Table.Row",
				"Table.Head",
				"Table.Cell",
				"Table.Caption"
			],
			"props": {
				"Table.Root": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Table.Header": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Table.Body": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Table.Footer": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Table.Row": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Table.Head": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "onSort",
						"type": "(() => void)",
						"default": "undefined",
						"bindable": false,
						"required": false,
						"description": "Called when the sort button is clicked; the app sets the next `sort`."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "sort",
						"type": "\"none\" | \"ascending\" | \"descending\"",
						"default": "undefined",
						"bindable": false,
						"required": false,
						"description": "Makes the column sortable: the heading becomes a button with an arrow, and the cell gets `aria-sort`. `none` is sortable but not sorted now. Left unset, the column isn't sortable. The app sorts the rows."
					}
				],
				"Table.Cell": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Table.Caption": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				]
			},
			"examples": [
				{
					"slug": "01-basic",
					"title": "Basic",
					"description": "A caption names the table; Table.Footer holds the totals.",
					"code": "<script lang=\"ts\">\n\timport { Badge, Table, type BadgeVariant } from '@limerdev/zest';\n\n\ttype Invoice = {\n\t\tnumber: string;\n\t\tcustomer: string;\n\t\tstatus: string;\n\t\ttone: BadgeVariant;\n\t\tamount: number;\n\t};\n\n\tconst invoices: Invoice[] = [\n\t\t{ number: '1042', customer: 'Acme AB', status: 'Paid', tone: 'success', amount: 4200 },\n\t\t{ number: '1043', customer: 'Globex', status: 'Sent', tone: 'info', amount: 12800 },\n\t\t{ number: '1044', customer: 'Initech', status: 'Overdue', tone: 'error', amount: 1650 },\n\t\t{ number: '1045', customer: 'Umbrella', status: 'Draft', tone: 'outline', amount: 7300 }\n\t];\n\tconst total: number = invoices.reduce((sum, invoice) => sum + invoice.amount, 0);\n\tconst kr = new Intl.NumberFormat('sv-SE', {\n\t\tstyle: 'currency',\n\t\tcurrency: 'SEK',\n\t\tmaximumFractionDigits: 0\n\t});\n</script>\n\n<Table.Root>\n\t<Table.Caption>Invoices this month</Table.Caption>\n\t<Table.Header>\n\t\t<Table.Row>\n\t\t\t<Table.Head scope=\"col\">Invoice</Table.Head>\n\t\t\t<Table.Head scope=\"col\">Customer</Table.Head>\n\t\t\t<Table.Head scope=\"col\">Status</Table.Head>\n\t\t\t<Table.Head scope=\"col\" class=\"text-end\">Amount</Table.Head>\n\t\t</Table.Row>\n\t</Table.Header>\n\t<Table.Body>\n\t\t{#each invoices as invoice (invoice.number)}\n\t\t\t<Table.Row>\n\t\t\t\t<Table.Cell class=\"font-medium\">{invoice.number}</Table.Cell>\n\t\t\t\t<Table.Cell>{invoice.customer}</Table.Cell>\n\t\t\t\t<Table.Cell><Badge variant={invoice.tone}>{invoice.status}</Badge></Table.Cell>\n\t\t\t\t<Table.Cell class=\"text-end tabular-nums\">{kr.format(invoice.amount)}</Table.Cell>\n\t\t\t</Table.Row>\n\t\t{/each}\n\t</Table.Body>\n\t<Table.Footer>\n\t\t<Table.Row>\n\t\t\t<Table.Cell colspan={3}>Total</Table.Cell>\n\t\t\t<Table.Cell class=\"text-end tabular-nums\">{kr.format(total)}</Table.Cell>\n\t\t</Table.Row>\n\t</Table.Footer>\n</Table.Root>"
				},
				{
					"slug": "02-selection",
					"title": "Selection",
					"description": "Rows with a Checkbox: data-state=\"selected\" marks a chosen row. The heading's Checkbox selects all, and is indeterminate while only some are.",
					"code": "<script lang=\"ts\">\n\timport { Checkbox, Table } from '@limerdev/zest';\n\n\ttype User = { id: string; name: string; email: string };\n\n\tconst users: User[] = [\n\t\t{ id: 'u1', name: 'Anna Berg', email: 'anna@example.com' },\n\t\t{ id: 'u2', name: 'Erik Lund', email: 'erik@example.com' },\n\t\t{ id: 'u3', name: 'Sara Ek', email: 'sara@example.com' }\n\t];\n\tlet selected: string[] = $state([]);\n\n\tfunction toggle(id: string, checked: boolean): void {\n\t\tselected = checked ? [...selected, id] : selected.filter((other) => other !== id);\n\t}\n\n\tfunction toggleAll(checked: boolean): void {\n\t\tselected = checked ? users.map((user) => user.id) : [];\n\t}\n</script>\n\n<Table.Root>\n\t<Table.Caption>{selected.length} of {users.length} users selected</Table.Caption>\n\t<Table.Header>\n\t\t<Table.Row>\n\t\t\t<Table.Head scope=\"col\">\n\t\t\t\t<Checkbox\n\t\t\t\t\taria-label=\"Select all users\"\n\t\t\t\t\tchecked={selected.length === users.length}\n\t\t\t\t\tindeterminate={selected.length > 0 && selected.length < users.length}\n\t\t\t\t\tonCheckedChange={toggleAll}\n\t\t\t\t/>\n\t\t\t</Table.Head>\n\t\t\t<Table.Head scope=\"col\">Name</Table.Head>\n\t\t\t<Table.Head scope=\"col\">Email</Table.Head>\n\t\t</Table.Row>\n\t</Table.Header>\n\t<Table.Body>\n\t\t{#each users as user (user.id)}\n\t\t\t<Table.Row data-state={selected.includes(user.id) ? 'selected' : undefined}>\n\t\t\t\t<Table.Cell>\n\t\t\t\t\t<Checkbox\n\t\t\t\t\t\taria-label=\"Select {user.name}\"\n\t\t\t\t\t\tchecked={selected.includes(user.id)}\n\t\t\t\t\t\tonCheckedChange={(checked) => toggle(user.id, checked)}\n\t\t\t\t\t/>\n\t\t\t\t</Table.Cell>\n\t\t\t\t<Table.Cell class=\"font-medium\">{user.name}</Table.Cell>\n\t\t\t\t<Table.Cell class=\"text-muted\">{user.email}</Table.Cell>\n\t\t\t</Table.Row>\n\t\t{/each}\n\t</Table.Body>\n</Table.Root>"
				},
				{
					"slug": "03-sorting",
					"title": "Sorting",
					"description": "sort on Table.Head makes the heading a button with aria-sort; onSort is yours, and so is the sorting.",
					"code": "<script lang=\"ts\">\n\timport { Table } from '@limerdev/zest';\n\n\ttype Invoice = { id: string; client: string; amount: number };\n\ttype Column = 'client' | 'amount';\n\n\tconst invoices: Invoice[] = [\n\t\t{ id: '1042', client: 'Nordlys AB', amount: 4200 },\n\t\t{ id: '1043', client: 'Bergström & Co', amount: 900 },\n\t\t{ id: '1044', client: 'Ekgården', amount: 12000 }\n\t];\n\tlet column: Column = $state('amount');\n\tlet direction: Table.SortDirection = $state('descending');\n\n\tconst rows: Invoice[] = $derived(\n\t\t[...invoices].sort((a, b) => {\n\t\t\tconst order =\n\t\t\t\tcolumn === 'amount' ? a.amount - b.amount : a.client.localeCompare(b.client, 'sv');\n\t\t\treturn direction === 'ascending' ? order : -order;\n\t\t})\n\t);\n\n\tfunction sortBy(next: Column): void {\n\t\tif (column === next) {\n\t\t\tdirection = direction === 'ascending' ? 'descending' : 'ascending';\n\t\t\treturn;\n\t\t}\n\t\tcolumn = next;\n\t\tdirection = 'ascending';\n\t}\n\n\tfunction sortOf(of: Column): Table.SortDirection {\n\t\treturn column === of ? direction : 'none';\n\t}\n</script>\n\n<Table.Root>\n\t<Table.Caption>Invoices, sorted by {column}</Table.Caption>\n\t<Table.Header>\n\t\t<Table.Row>\n\t\t\t<Table.Head scope=\"col\">Invoice</Table.Head>\n\t\t\t<Table.Head scope=\"col\" sort={sortOf('client')} onSort={() => sortBy('client')}>\n\t\t\t\tClient\n\t\t\t</Table.Head>\n\t\t\t<Table.Head\n\t\t\t\tscope=\"col\"\n\t\t\t\tclass=\"text-end\"\n\t\t\t\tsort={sortOf('amount')}\n\t\t\t\tonSort={() => sortBy('amount')}\n\t\t\t>\n\t\t\t\tAmount\n\t\t\t</Table.Head>\n\t\t</Table.Row>\n\t</Table.Header>\n\t<Table.Body>\n\t\t{#each rows as invoice (invoice.id)}\n\t\t\t<Table.Row>\n\t\t\t\t<Table.Cell>{invoice.id}</Table.Cell>\n\t\t\t\t<Table.Cell>{invoice.client}</Table.Cell>\n\t\t\t\t<Table.Cell class=\"text-end tabular-nums\">{invoice.amount} kr</Table.Cell>\n\t\t\t</Table.Row>\n\t\t{/each}\n\t</Table.Body>\n</Table.Root>"
				}
			]
		},
		{
			"name": "Tabs",
			"slug": "tabs",
			"summary": "Panels shown one at a time, chosen with tabs: `<Tabs.Root>` (`bind:value`, `orientation`) holds a `Tabs.List` of `Tabs.Trigger`s and a `Tabs.Content` per tab, matched by `value`. Arrow keys move between tabs and show their panel; Tab moves into the panel.",
			"category": "Navigation",
			"bits": "Tabs",
			"use": "Views of the same thing side by side on one page: a project's overview, hours and settings; a form split into a few sections.",
			"avoid": "Moving between pages: use links (a `NavigationMenu` or a sidebar). Steps the user must go through in order. Many tabs that don't fit: use a `Select` or a sidebar.",
			"example": "<script lang=\"ts\">\n  import { Tabs } from '@limerdev/zest';\n</script>\n\n<Tabs.Root value=\"overview\">\n  <Tabs.List>\n    <Tabs.Trigger value=\"overview\">Overview</Tabs.Trigger>\n    <Tabs.Trigger value=\"hours\">Hours</Tabs.Trigger>\n  </Tabs.List>\n  <Tabs.Content value=\"overview\">…</Tabs.Content>\n  <Tabs.Content value=\"hours\">…</Tabs.Content>\n</Tabs.Root>",
			"importLine": "import { Tabs } from '@limerdev/zest'",
			"parts": [
				"Tabs.Root",
				"Tabs.List",
				"Tabs.Trigger",
				"Tabs.Content"
			],
			"props": {
				"Tabs.Root": [
					{
						"name": "activationMode",
						"type": "\"manual\" | \"automatic\"",
						"default": "\"automatic\"",
						"bindable": false,
						"required": false,
						"description": "How the tabs should be activated. If set to `'automatic'`, the tabs will be activated when the trigger is focused. If set to `'manual'`, the tabs will be activated when the trigger is pressed."
					},
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether the tabs are disabled or not."
					},
					{
						"name": "loop",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether to loop through the tabs when reaching the end when using the keyboard."
					},
					{
						"name": "onValueChange",
						"type": "OnChangeFn<string>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback function called when the selected tab changes."
					},
					{
						"name": "orientation",
						"type": "\"horizontal\" | \"vertical\"",
						"default": "\"horizontal\"",
						"bindable": false,
						"required": false,
						"description": "The orientation of the tabs."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "value",
						"type": "string",
						"default": "''",
						"bindable": true,
						"required": false,
						"description": "The value of the selected tab."
					}
				],
				"Tabs.List": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Tabs.Trigger": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "disabled",
						"type": "null | false | true",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether the trigger is disabled or not."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "value",
						"type": "string",
						"default": "",
						"bindable": false,
						"required": true,
						"description": "The value of the tab associated with this trigger."
					}
				],
				"Tabs.Content": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "value",
						"type": "string",
						"default": "",
						"bindable": false,
						"required": true,
						"description": "The value of the tab associated with this content."
					}
				]
			},
			"examples": [
				{
					"slug": "01-basic",
					"title": "Basic",
					"description": "Views of one project. Arrow keys move between tabs.",
					"code": "<script lang=\"ts\">\n\timport { Tabs } from '@limerdev/zest';\n</script>\n\n<Tabs.Root value=\"overview\" class=\"w-full max-w-md\">\n\t<Tabs.List aria-label=\"Project\">\n\t\t<Tabs.Trigger value=\"overview\">Overview</Tabs.Trigger>\n\t\t<Tabs.Trigger value=\"hours\">Hours</Tabs.Trigger>\n\t\t<Tabs.Trigger value=\"settings\">Settings</Tabs.Trigger>\n\t</Tabs.List>\n\t<Tabs.Content value=\"overview\" class=\"text-sm\">\n\t\tTwelve people on three projects. Next invoice on 15 December.\n\t</Tabs.Content>\n\t<Tabs.Content value=\"hours\" class=\"text-sm\">\n\t\t412 hours logged this month, 380 billable.\n\t</Tabs.Content>\n\t<Tabs.Content value=\"settings\" class=\"text-sm\">\n\t\tBilling contact, rates and reminders.\n\t</Tabs.Content>\n</Tabs.Root>"
				},
				{
					"slug": "02-vertical",
					"title": "Vertical",
					"description": "orientation=\"vertical\" stacks the tabs beside the panels; Up and Down move.",
					"code": "<script lang=\"ts\">\n\timport { Tabs } from '@limerdev/zest';\n</script>\n\n<Tabs.Root value=\"general\" orientation=\"vertical\" class=\"w-full max-w-lg\">\n\t<Tabs.List aria-label=\"Settings\">\n\t\t<Tabs.Trigger value=\"general\">General</Tabs.Trigger>\n\t\t<Tabs.Trigger value=\"billing\">Billing</Tabs.Trigger>\n\t\t<Tabs.Trigger value=\"members\">Members</Tabs.Trigger>\n\t</Tabs.List>\n\t<Tabs.Content value=\"general\" class=\"flex flex-col gap-2 text-sm\">\n\t\t<p>Name, timezone and language.</p>\n\t\t<p>The tabs keep their own height, however tall the panel beside them grows.</p>\n\t\t<p>Each setting is saved as soon as it changes.</p>\n\t</Tabs.Content>\n\t<Tabs.Content value=\"billing\" class=\"text-sm\">Invoice address and payment terms.</Tabs.Content>\n\t<Tabs.Content value=\"members\" class=\"text-sm\">Who can log and approve hours.</Tabs.Content>\n</Tabs.Root>"
				}
			]
		},
		{
			"name": "Textarea",
			"slug": "textarea",
			"summary": "A multi-line text input with `bind:value` that grows with its text. Inside a `Field` it takes its id, label, description, error and disabled state from the Field.",
			"category": "Data input",
			"bits": "",
			"use": "Free text longer than a line: a comment, a description, a note on an order.",
			"avoid": "A single line of text: use `Input`. A Textarea without a label.",
			"example": "<script lang=\"ts\">\n  import { Field, Textarea } from '@limerdev/zest';\n\n  let note = $state('');\n</script>\n\n<Field.Root>\n  <Field.Label>Note</Field.Label>\n  <Textarea bind:value={note} placeholder=\"Visible to the customer\" />\n</Field.Root>",
			"importLine": "import { Textarea } from '@limerdev/zest'",
			"parts": [
				"Textarea"
			],
			"props": {
				"Textarea": [
					{
						"name": "ref",
						"type": "HTMLTextAreaElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "value",
						"type": "string | null",
						"default": "",
						"bindable": true,
						"required": false,
						"description": "The text. Bindable."
					}
				]
			},
			"examples": [
				{
					"slug": "01-basic",
					"title": "Basic",
					"description": "A Textarea grows with its text.",
					"code": "<script lang=\"ts\">\n\timport { Field, Textarea } from '@limerdev/zest';\n\n\tlet note = $state('');\n</script>\n\n<Field.Root class=\"max-w-sm\">\n\t<Field.Label>Note</Field.Label>\n\t<Textarea bind:value={note} placeholder=\"Visible to the customer\" />\n\t<Field.Description>{note.length} characters</Field.Description>\n</Field.Root>"
				},
				{
					"slug": "02-invalid-and-disabled",
					"title": "Invalid and disabled",
					"description": "A Field.Error marks the Textarea invalid; a disabled Field disables it.",
					"code": "<script lang=\"ts\">\n\timport { Field, Textarea } from '@limerdev/zest';\n</script>\n\n<div class=\"grid w-full max-w-sm gap-6\">\n\t<Field.Root>\n\t\t<Field.Label>Reason</Field.Label>\n\t\t<Textarea />\n\t\t<Field.Error errors={[{ message: 'Tell the customer why.' }]} />\n\t</Field.Root>\n\t<Field.Root disabled>\n\t\t<Field.Label>Internal note</Field.Label>\n\t\t<Textarea value=\"Locked once the invoice is sent.\" />\n\t</Field.Root>\n</div>"
				}
			]
		},
		{
			"name": "TimeField",
			"slug": "time-field",
			"summary": "A time of day typed segment by segment, in the `locale`'s format: `<TimeField.Root>` (`bind:value` a `Time` from `@limerdev/zest`, `granularity` `hour`, `minute` or `second`, `hourCycle` 12 or 24, `minValue`, `maxValue`, `name`) holds a `TimeField.Label` (which names the field; use it instead of `Field.Label`) and a `TimeField.Input`, which draws its segments. Type digits or use the arrow keys. Inside a `Field`, its `Field.Description` and `Field.Error` describe the field.",
			"category": "Data input",
			"bits": "TimeField",
			"use": "A time people type: when a shift starts, a meeting time, a reminder.",
			"avoid": "A date and a time together: use `DateField` with `granularity=\"minute\"`. A duration (hours worked): use `Input type=\"number\"`.",
			"example": "<script lang=\"ts\">\n  import { Field, Time, TimeField } from '@limerdev/zest';\n\n  let start = $state(new Time(9, 0));\n</script>\n\n<Field.Root>\n  <TimeField.Root bind:value={start} hourCycle={24}>\n    <TimeField.Label>Shift starts</TimeField.Label>\n    <TimeField.Input />\n  </TimeField.Root>\n</Field.Root>",
			"importLine": "import { TimeField } from '@limerdev/zest'",
			"parts": [
				"TimeField.Root",
				"TimeField.Label",
				"TimeField.Input",
				"TimeField.Segment"
			],
			"props": {
				"TimeField.Root": [
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "If true, the time field will be disabled and users will not be able to interact with it. This also disables the hidden input element if the time field is used in a form."
					},
					{
						"name": "errorMessageId",
						"type": "string",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The `id` of the element which contains the error messages for the time field when the time is invalid."
					},
					{
						"name": "granularity",
						"type": "\"hour\" | \"minute\" | \"second\"",
						"default": "'minute'",
						"bindable": false,
						"required": false,
						"description": "The granularity of the time field. This determines which segments will be includes in the segments array used to build the time field. Granularity is only used for visual purposes, and does not impact the value of the time field. You can have the same value synced between multiple time fields with different granularities and they will all contain the same value."
					},
					{
						"name": "hideTimeZone",
						"type": "boolean",
						"default": "false;",
						"bindable": false,
						"required": false,
						"description": "Whether or not to hide the timeZoneName segment from the time field."
					},
					{
						"name": "hourCycle",
						"type": "12 | 24",
						"default": "the locale's default time format",
						"bindable": false,
						"required": false,
						"description": "The format to use for displaying the time in the input. If using a 12 hour clock, ensure you also include the `dayPeriod` segment in your input to ensure the user can select AM/PM."
					},
					{
						"name": "locale",
						"type": "string",
						"default": "'en'",
						"bindable": false,
						"required": false,
						"description": "The locale to use for formatting the time field."
					},
					{
						"name": "maxValue",
						"type": "TimeValue",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The maximum acceptable time. When provided, the time field will be marked as invalid if the user enters a time after this time."
					},
					{
						"name": "minValue",
						"type": "TimeValue",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The minimum acceptable time. When provided, the time field will be marked as invalid if the user enters a time before this time."
					},
					{
						"name": "onInvalid",
						"type": "TimeOnInvalid",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback fired when the time field's value is invalid. Use this to display an error message to the user."
					},
					{
						"name": "onPlaceholderChange",
						"type": "OnChangeFn<TimeValue | undefined>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback that is called when the time field's placeholder value changes."
					},
					{
						"name": "onValueChange",
						"type": "OnChangeFn<Time | undefined>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback that is called when the time field value changes."
					},
					{
						"name": "placeholder",
						"type": "TimeValue",
						"default": "",
						"bindable": true,
						"required": false,
						"description": "The placeholder value of the time field. This determines the format and what time the field starts at when it is empty."
					},
					{
						"name": "readonly",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "If true, the time field will be readonly, and users will not be able to edit the values of any of the individual segments."
					},
					{
						"name": "readonlySegments",
						"type": "(\"month\" | \"year\" | \"day\" | \"hour\" | \"minute\" | \"second\" | \"dayPeriod\")[]",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "An array of segment names that should be readonly. If provided, only the segments not in this array will be editable."
					},
					{
						"name": "required",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether or not the hidden input of the time field requires a value to be submitted."
					},
					{
						"name": "validate",
						"type": "TimeValidator<Time>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A function that returns a string or array of strings as validation errors if the time is invalid, or nothing if the time is valid"
					},
					{
						"name": "value",
						"type": "Time",
						"default": "",
						"bindable": true,
						"required": false,
						"description": "The value of the time field."
					}
				],
				"TimeField.Label": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"TimeField.Input": [
					{
						"name": "child",
						"type": "Snippet<[TimeFieldInputSnippetProps & { props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[TimeFieldInputSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "name",
						"type": "string",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The name to use for the hidden input element of the time field, which is used to submit the ISO string value of the time field to a server. If not provided, the hidden input element will not be rendered."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"TimeField.Segment": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "part",
						"type": "\"hour\" | \"minute\" | \"second\" | \"dayPeriod\" | \"timeZoneName\" | \"literal\"",
						"default": "",
						"bindable": false,
						"required": true,
						"description": ""
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				]
			},
			"examples": [
				{
					"slug": "01-basic",
					"title": "Basic",
					"description": "A 24-hour time. Type digits or use the arrow keys in a segment.",
					"code": "<script lang=\"ts\">\n\timport { Field, Time, TimeField } from '@limerdev/zest';\n\n\tlet start = $state(new Time(9, 0));\n</script>\n\n<Field.Root class=\"w-40\">\n\t<TimeField.Root bind:value={start} hourCycle={24}>\n\t\t<TimeField.Label>Shift starts</TimeField.Label>\n\t\t<TimeField.Input />\n\t</TimeField.Root>\n\t<Field.Description>At {start?.toString().slice(0, 5)}</Field.Description>\n</Field.Root>"
				}
			]
		},
		{
			"name": "TimeRangeField",
			"slug": "time-range-field",
			"summary": "A span of time typed as two times, segment by segment: `<TimeRangeField.Root>` (`bind:value` a `{ start, end }` of `Time`s, `granularity`, `hourCycle`) holds a `TimeRangeField.Label` (which names it; use it instead of `Field.Label`) and `TimeRangeField.Inputs`, one box that draws the start and end `TimeRangeField.Input`s. Inside a `Field`, its description and error describe the inputs.",
			"category": "Data input",
			"bits": "TimeRangeField",
			"use": "Opening hours, a shift, a meeting slot.",
			"avoid": "A period of days: use `DateRangeField`. A single time: use `TimeField`.",
			"example": "<script lang=\"ts\">\n  import { Field, Time, TimeRangeField } from '@limerdev/zest';\n\n  type Range = { start: Time | undefined; end: Time | undefined };\n\n  let shift: Range = $state({ start: new Time(9, 0), end: new Time(17, 0) });\n</script>\n\n<Field.Root>\n  <TimeRangeField.Root bind:value={shift} hourCycle={24}>\n    <TimeRangeField.Label>Shift</TimeRangeField.Label>\n    <TimeRangeField.Inputs />\n  </TimeRangeField.Root>\n</Field.Root>",
			"importLine": "import { TimeRangeField } from '@limerdev/zest'",
			"parts": [
				"TimeRangeField.Root",
				"TimeRangeField.Label",
				"TimeRangeField.Inputs",
				"TimeRangeField.Input",
				"TimeRangeField.Segment"
			],
			"props": {
				"TimeRangeField.Root": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "If true, the time field will be disabled and users will not be able to interact with it. This also disables the hidden input element if the time field is used in a form."
					},
					{
						"name": "errorMessageId",
						"type": "string",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The `id` of the element which contains the error messages for the time field when the time is invalid."
					},
					{
						"name": "granularity",
						"type": "\"hour\" | \"minute\" | \"second\"",
						"default": "'minute'",
						"bindable": false,
						"required": false,
						"description": "The granularity of the time field. This determines which segments will be includes in the segments array used to build the time field. Granularity is only used for visual purposes, and does not impact the value of the time field. You can have the same value synced between multiple time fields with different granularities and they will all contain the same value."
					},
					{
						"name": "hideTimeZone",
						"type": "boolean",
						"default": "false;",
						"bindable": false,
						"required": false,
						"description": "Whether or not to hide the timeZoneName segment from the time field."
					},
					{
						"name": "hourCycle",
						"type": "12 | 24",
						"default": "- the locale's default time format",
						"bindable": false,
						"required": false,
						"description": "The format to use for displaying the time in the input. If using a 12 hour clock, ensure you also include the `dayPeriod` segment in your input to ensure the user can select AM/PM."
					},
					{
						"name": "locale",
						"type": "string",
						"default": "'en'",
						"bindable": false,
						"required": false,
						"description": "The locale to use for formatting the time field."
					},
					{
						"name": "maxValue",
						"type": "TimeValue",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The maximum acceptable date. When provided, the time field will be marked as invalid if the user enters a date after this date."
					},
					{
						"name": "minValue",
						"type": "TimeValue",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The minimum acceptable date. When provided, the time field will be marked as invalid if the user enters a date before this date."
					},
					{
						"name": "onEndValueChange",
						"type": "OnChangeFn<Time | undefined>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback function called when the end value changes. This doesn't necessarily mean the `value` has updated and should be used to apply cosmetic changes to the field when only part of the value is changed/completed."
					},
					{
						"name": "onInvalid",
						"type": "TimeOnInvalid",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback fired when the time field's value is invalid. Use this to display an error message to the user."
					},
					{
						"name": "onPlaceholderChange",
						"type": "OnChangeFn<TimeValue | undefined>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback that is called when the time field's placeholder value changes."
					},
					{
						"name": "onStartValueChange",
						"type": "OnChangeFn<Time | undefined>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback function called when the start value changes. This doesn't necessarily mean the `value` has updated and should be used to apply cosmetic changes to the field when only part of the value is changed/completed."
					},
					{
						"name": "onValueChange",
						"type": "OnChangeFn<TimeRange<Time> | undefined>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback that is called when the value of the date range field changes."
					},
					{
						"name": "placeholder",
						"type": "TimeValue",
						"default": "",
						"bindable": true,
						"required": false,
						"description": "The placeholder value of the time field. This determines the format and what date the field starts at when it is empty."
					},
					{
						"name": "readonly",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "If true, the time field will be readonly, and users will not be able to edit the values of any of the individual segments."
					},
					{
						"name": "readonlySegments",
						"type": "(\"hour\" | \"minute\" | \"second\" | \"dayPeriod\")[]",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "An array of segment names that should be readonly. If provided, only the segments not in this array will be editable."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "required",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "If true, the time field will be required, which is useful when used within a form. If the time field is empty when the form is submitted, the form will not be valid."
					},
					{
						"name": "validate",
						"type": "TimeRangeValidator<Time>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A function that returns a string or array of strings as validation errors if the date is invalid, or nothing if the date is valid"
					},
					{
						"name": "value",
						"type": "TimeRange<Time>",
						"default": "",
						"bindable": true,
						"required": false,
						"description": "The value of the date range field."
					}
				],
				"TimeRangeField.Label": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"TimeRangeField.Inputs": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"TimeRangeField.Input": [
					{
						"name": "child",
						"type": "Snippet<[TimeRangeFieldInputSnippetProps & { props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[TimeRangeFieldInputSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "name",
						"type": "string",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The name to use for the hidden input element associated with this input used for form submission."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "type",
						"type": "\"start\" | \"end\"",
						"default": "",
						"bindable": false,
						"required": true,
						"description": "Whether this input represents the start or end of the date range."
					}
				],
				"TimeRangeField.Segment": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "part",
						"type": "\"hour\" | \"minute\" | \"second\" | \"dayPeriod\" | \"timeZoneName\" | \"literal\"",
						"default": "",
						"bindable": false,
						"required": true,
						"description": ""
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				]
			},
			"examples": [
				{
					"slug": "01-basic",
					"title": "Basic",
					"description": "A shift, from and to, in 24 hours.",
					"code": "<script lang=\"ts\">\n\timport { Field, Time, TimeRangeField } from '@limerdev/zest';\n\n\ttype Range = { start: Time | undefined; end: Time | undefined };\n\n\tlet shift: Range = $state({ start: new Time(9, 0), end: new Time(17, 0) });\n</script>\n\n<Field.Root class=\"w-auto\">\n\t<TimeRangeField.Root bind:value={shift} hourCycle={24}>\n\t\t<TimeRangeField.Label>Shift</TimeRangeField.Label>\n\t\t<TimeRangeField.Inputs />\n\t</TimeRangeField.Root>\n</Field.Root>"
				}
			]
		},
		{
			"name": "Toast",
			"slug": "toast",
			"summary": "A short message that appears at the edge of the screen and closes by itself: put one `<Toaster>` in the app's root layout (`position`, `label`, `closeLabel`), then call `toast('Saved')` from anywhere in the browser. `toast.success`, `toast.info`, `toast.warning` and `toast.error` set the variant and its icon; options add a `description`, an `action` button (Undo), a `duration` (5 s; an error stays until closed) or an `id` to update a toast in place. `toast.dismiss(id)` closes one, `toast.dismiss()` all. Screen readers hear each toast once (an error as an alert). The timers pause while the pointer is over the toasts or focus is in them; F8 moves focus to them and back, and Escape closes the focused one.",
			"category": "Feedback",
			"bits": "",
			"use": "Confirming what just happened, out of the way: \"Invoice sent\", \"Copied\", \"Saved, Undo\". A background job finishing.",
			"avoid": "Something people must read or act on before going on: use `Alert` in the page or `AlertDialog`. A field's error: use `Field.Error`. More than a line or two, or links to read: use `Alert`.",
			"example": "<script lang=\"ts\">\n  import { Button, Toaster, toast } from '@limerdev/zest';\n</script>\n\n<Toaster />\n<Button onclick={() => toast.success('Invoice sent', { description: 'To anna@acme.se' })}>\n  Send\n</Button>",
			"importLine": "import { Toaster, toast } from '@limerdev/zest'",
			"parts": [
				"Toaster",
				"toast"
			],
			"props": {
				"Toaster": [
					{
						"name": "child",
						"type": "Snippet<[ChildSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "closeLabel",
						"type": "string",
						"default": "the Config's `strings.close`, else 'Close'",
						"bindable": false,
						"required": false,
						"description": "The name of each toast's close button."
					},
					{
						"name": "hotkey",
						"type": "string",
						"default": "'F8'",
						"bindable": false,
						"required": false,
						"description": "The key (`KeyboardEvent.key`) that moves focus to the toasts and back."
					},
					{
						"name": "label",
						"type": "string",
						"default": "the Config's `strings.notifications`, else 'Notifications'",
						"bindable": false,
						"required": false,
						"description": "The name of the notifications landmark; the hotkey is added to it."
					},
					{
						"name": "position",
						"type": "\"top-start\" | \"top-center\" | \"top-end\" | \"bottom-start\" | \"bottom-center\" | \"bottom-end\"",
						"default": "'bottom-end'",
						"bindable": false,
						"required": false,
						"description": "The corner or edge of the screen the toasts appear in."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				]
			},
			"examples": [
				{
					"slug": "01-variants",
					"title": "Variants",
					"description": "toast() and its variants. The app's root layout has the one <Toaster />.",
					"code": "<script lang=\"ts\">\n\timport { Button, toast } from '@limerdev/zest';\n</script>\n\n<div class=\"flex flex-wrap gap-2\">\n\t<Button variant=\"outline\" onclick={() => toast('Copied to the clipboard')}>Default</Button>\n\t<Button variant=\"outline\" onclick={() => toast.info('Reminders go out on Mondays')}>Info</Button>\n\t<Button\n\t\tvariant=\"outline\"\n\t\tonclick={() => toast.success('Invoice sent', { description: 'To anna@acme.se' })}\n\t>\n\t\tSuccess\n\t</Button>\n\t<Button variant=\"outline\" onclick={() => toast.warning('Due in two days')}>Warning</Button>\n\t<Button\n\t\tvariant=\"outline\"\n\t\tonclick={() =>\n\t\t\ttoast.error(\"The invoice wasn't sent\", { description: 'The customer has no email address.' })}\n\t>\n\t\tError\n\t</Button>\n</div>"
				},
				{
					"slug": "02-undo-and-progress",
					"title": "Undo and progress",
					"description": "An action button (Undo), and an id to update one toast as work goes on.",
					"code": "<script lang=\"ts\">\n\timport { Button, toast } from '@limerdev/zest';\n\n\tlet deleted = $state(0);\n\n\tfunction remove(): void {\n\t\tdeleted += 1;\n\t\ttoast('Invoice deleted', {\n\t\t\taction: { label: 'Undo', onClick: () => (deleted -= 1) }\n\t\t});\n\t}\n\n\tfunction upload(): void {\n\t\tconst files = 3;\n\t\tfor (let file = 1; file <= files; file++) {\n\t\t\tsetTimeout(\n\t\t\t\t() => {\n\t\t\t\t\tif (file < files) {\n\t\t\t\t\t\ttoast(`Uploading ${file} of ${files}`, { id: 'upload', duration: Infinity });\n\t\t\t\t\t} else {\n\t\t\t\t\t\ttoast.success('Uploaded 3 files', { id: 'upload' });\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t(file - 1) * 900\n\t\t\t);\n\t\t}\n\t}\n</script>\n\n<div class=\"flex flex-wrap items-center gap-2\">\n\t<Button variant=\"outline\" onclick={remove}>Delete invoice</Button>\n\t<Button variant=\"outline\" onclick={upload}>Upload files</Button>\n\t<span class=\"text-sm text-muted\">Deleted: {deleted}</span>\n</div>"
				}
			]
		},
		{
			"name": "Toggle",
			"slug": "toggle",
			"summary": "A button that stays pressed until pressed again (`bind:pressed`), announced as pressed or not. `variant` (`default`, `outline`) and `size` (`sm`, `default`, `lg`) as for buttons.",
			"category": "Actions",
			"bits": "Toggle",
			"use": "One on/off formatting or view option in a toolbar: bold, show grid, pin.",
			"avoid": "A setting in a form or settings page: use `Switch` or `Checkbox`. Several related toggles: use `ToggleGroup`. A toggle without a name: label icon-only ones with `aria-label`.",
			"example": "<script lang=\"ts\">\n  import Pin from '@lucide/svelte/icons/pin';\n  import { Toggle } from '@limerdev/zest';\n\n  let pinned = $state(false);\n</script>\n\n<Toggle bind:pressed={pinned} aria-label=\"Pin project\"><Pin /></Toggle>",
			"importLine": "import { Toggle, toggleVariants } from '@limerdev/zest'",
			"parts": [
				"Toggle",
				"toggleVariants"
			],
			"props": {
				"Toggle": [
					{
						"name": "child",
						"type": "Snippet<[ToggleRootSnippetProps & { props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[ToggleRootSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "disabled",
						"type": "null | false | true",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether the toggle is disabled or not."
					},
					{
						"name": "onPressedChange",
						"type": "OnChangeFn<boolean>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback function called when the toggle is pressed."
					},
					{
						"name": "pressed",
						"type": "boolean",
						"default": "false",
						"bindable": true,
						"required": false,
						"description": "Whether the toggle is pressed or not."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "size",
						"type": "\"default\" | \"sm\" | \"lg\"",
						"default": "'default'",
						"bindable": false,
						"required": false,
						"description": "The height and padding, from the theme's field size."
					},
					{
						"name": "variant",
						"type": "\"outline\" | \"default\"",
						"default": "'default'",
						"bindable": false,
						"required": false,
						"description": "`default` is plain until pressed; `outline` has a border."
					}
				]
			},
			"examples": [
				{
					"slug": "01-basic",
					"title": "Basic",
					"description": "Toggles stay pressed. Name icon-only ones with aria-label.",
					"code": "<script lang=\"ts\">\n\timport Pin from '@lucide/svelte/icons/pin';\n\timport Star from '@lucide/svelte/icons/star';\n\timport { Toggle } from '@limerdev/zest';\n\n\tlet pinned = $state(true);\n</script>\n\n<Toggle bind:pressed={pinned} aria-label=\"Pin project\"><Pin /></Toggle>\n<Toggle variant=\"outline\" aria-label=\"Favourite\"><Star /></Toggle>\n<Toggle variant=\"outline\" size=\"sm\">Billable only</Toggle>\n<Toggle size=\"lg\" disabled>Archived</Toggle>"
				}
			]
		},
		{
			"name": "ToggleGroup",
			"slug": "toggle-group",
			"summary": "A set of joined toggles: `<ToggleGroup.Root>` (`type=\"single\"` or `\"multiple\"`, `bind:value`, `variant`, `size`) holds `ToggleGroup.Item`s (`value`). Arrow keys move between items; Space or Enter presses one. Name the group with `aria-label`.",
			"category": "Actions",
			"bits": "ToggleGroup",
			"use": "Picking one or several of a few view options shown at once: alignment, a chart's period (day, week, month), which columns to show.",
			"avoid": "A choice in a form: use `RadioGroup` or `Checkbox`es. Switching views of a page's content: use `Tabs`.",
			"example": "<script lang=\"ts\">\n  import { ToggleGroup } from '@limerdev/zest';\n\n  let period = $state('week');\n</script>\n\n<ToggleGroup.Root type=\"single\" bind:value={period} variant=\"outline\" aria-label=\"Period\">\n  <ToggleGroup.Item value=\"day\">Day</ToggleGroup.Item>\n  <ToggleGroup.Item value=\"week\">Week</ToggleGroup.Item>\n  <ToggleGroup.Item value=\"month\">Month</ToggleGroup.Item>\n</ToggleGroup.Root>",
			"importLine": "import { ToggleGroup } from '@limerdev/zest'",
			"parts": [
				"ToggleGroup.Root",
				"ToggleGroup.Item"
			],
			"props": {
				"ToggleGroup.Root": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether the toggle group is disabled or not."
					},
					{
						"name": "loop",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "Whether to loop through the items when reaching the end when using the keyboard."
					},
					{
						"name": "onValueChange",
						"type": "OnChangeFn<string> | OnChangeFn<string[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": ""
					},
					{
						"name": "orientation",
						"type": "\"horizontal\" | \"vertical\"",
						"default": "'horizontal'",
						"bindable": false,
						"required": false,
						"description": "The orientation of the toggle group. Used to handle keyboard navigation between items."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "rovingFocus",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Whether to enable roving focus or not. When enabled, users navigate between the items using the arrow keys. When disabled, users navigate between the items using the tab key."
					},
					{
						"name": "size",
						"type": "\"default\" | \"sm\" | \"lg\"",
						"default": "'default'",
						"bindable": false,
						"required": false,
						"description": "The height and padding, from the theme's field size."
					},
					{
						"name": "type",
						"type": "\"multiple\" | \"single\"",
						"default": "",
						"bindable": false,
						"required": true,
						"description": ""
					},
					{
						"name": "value",
						"type": "string | string[]",
						"default": "",
						"bindable": true,
						"required": false,
						"description": ""
					},
					{
						"name": "variant",
						"type": "\"outline\" | \"default\"",
						"default": "'default'",
						"bindable": false,
						"required": false,
						"description": "`default` is plain until pressed; `outline` has a border."
					}
				],
				"ToggleGroup.Item": [
					{
						"name": "child",
						"type": "Snippet<[ToggleGroupItemSnippetProps & { props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[ToggleGroupItemSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "disabled",
						"type": "null | false | true",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether the toggle item is disabled or not."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "value",
						"type": "string",
						"default": "",
						"bindable": false,
						"required": true,
						"description": "The value of the toggle item."
					}
				]
			},
			"examples": [
				{
					"slug": "01-basic",
					"title": "Basic",
					"description": "type=\"single\" picks one period; type=\"multiple\" shows several columns.",
					"code": "<script lang=\"ts\">\n\timport { ToggleGroup } from '@limerdev/zest';\n\n\tlet period = $state('week');\n\tlet columns: string[] = $state(['hours']);\n</script>\n\n<div class=\"flex flex-col items-center gap-4\">\n\t<ToggleGroup.Root type=\"single\" bind:value={period} variant=\"outline\" aria-label=\"Period\">\n\t\t<ToggleGroup.Item value=\"day\">Day</ToggleGroup.Item>\n\t\t<ToggleGroup.Item value=\"week\">Week</ToggleGroup.Item>\n\t\t<ToggleGroup.Item value=\"month\">Month</ToggleGroup.Item>\n\t</ToggleGroup.Root>\n\t<ToggleGroup.Root type=\"multiple\" bind:value={columns} size=\"sm\" aria-label=\"Columns\">\n\t\t<ToggleGroup.Item value=\"hours\">Hours</ToggleGroup.Item>\n\t\t<ToggleGroup.Item value=\"cost\">Cost</ToggleGroup.Item>\n\t\t<ToggleGroup.Item value=\"margin\">Margin</ToggleGroup.Item>\n\t</ToggleGroup.Root>\n\t<p class=\"text-sm text-muted\">Per {period}, showing {columns.join(', ') || 'nothing'}</p>\n</div>"
				}
			]
		},
		{
			"name": "Toolbar",
			"slug": "toolbar",
			"summary": "A row of controls with one Tab stop, moved through with arrow keys: `<Toolbar.Root>` holds `Toolbar.Button`s, `Toolbar.Link`s and `Toolbar.Group`s (`type=\"single\"` or `\"multiple\"`, `bind:value`) of `Toolbar.GroupItem`s. A vertical `Separator` divides sections. Name it with `aria-label`.",
			"category": "Actions",
			"bits": "Toolbar",
			"use": "Formatting and view controls above an editor, a table or a chart.",
			"avoid": "A page's main actions: use `Button`s. Navigation: use links or `NavigationMenu`.",
			"example": "<script lang=\"ts\">\n  import { Separator, Toolbar } from '@limerdev/zest';\n\n  let align = $state('left');\n</script>\n\n<Toolbar.Root aria-label=\"Formatting\">\n  <Toolbar.Group type=\"single\" bind:value={align}>\n    <Toolbar.GroupItem value=\"left\">Left</Toolbar.GroupItem>\n    <Toolbar.GroupItem value=\"center\">Center</Toolbar.GroupItem>\n  </Toolbar.Group>\n  <Separator orientation=\"vertical\" class=\"mx-1 h-5\" />\n  <Toolbar.Button onclick={save}>Save</Toolbar.Button>\n</Toolbar.Root>",
			"importLine": "import { Toolbar } from '@limerdev/zest'",
			"parts": [
				"Toolbar.Root",
				"Toolbar.Button",
				"Toolbar.Link",
				"Toolbar.Group",
				"Toolbar.GroupItem"
			],
			"props": {
				"Toolbar.Root": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "loop",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "Whether or not to loop through the toolbar items when navigating with the keyboard."
					},
					{
						"name": "orientation",
						"type": "\"horizontal\" | \"vertical\"",
						"default": "\"horizontal\"",
						"bindable": false,
						"required": false,
						"description": "The orientation of the toolbar. This determines how keyboard navigation will work within the toolbar."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Toolbar.Button": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "disabled",
						"type": "null | false | true",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Whether the button is disabled or not."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Toolbar.Link": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					}
				],
				"Toolbar.Group": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether the toggle group is disabled or not."
					},
					{
						"name": "onValueChange",
						"type": "OnChangeFn<string> | OnChangeFn<string[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": ""
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "type",
						"type": "\"multiple\" | \"single\"",
						"default": "",
						"bindable": false,
						"required": true,
						"description": ""
					},
					{
						"name": "value",
						"type": "string | string[]",
						"default": "",
						"bindable": true,
						"required": false,
						"description": ""
					}
				],
				"Toolbar.GroupItem": [
					{
						"name": "child",
						"type": "Snippet<[ToggleGroupItemSnippetProps & { props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[ToggleGroupItemSnippetProps]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "disabled",
						"type": "null | false | true",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether the toggle item is disabled or not."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "value",
						"type": "string",
						"default": "",
						"bindable": false,
						"required": true,
						"description": "The value of the toggle item."
					}
				]
			},
			"examples": [
				{
					"slug": "01-basic",
					"title": "Basic",
					"description": "One Tab stop; arrow keys move through the controls. A vertical Separator divides sections.",
					"code": "<script lang=\"ts\">\n\timport AlignCenter from '@lucide/svelte/icons/align-center';\n\timport AlignLeft from '@lucide/svelte/icons/align-left';\n\timport AlignRight from '@lucide/svelte/icons/align-right';\n\timport Bold from '@lucide/svelte/icons/bold';\n\timport Italic from '@lucide/svelte/icons/italic';\n\timport { Separator, Toolbar } from '@limerdev/zest';\n\n\tlet marks: string[] = $state(['bold']);\n\tlet align = $state('left');\n</script>\n\n<Toolbar.Root aria-label=\"Formatting\">\n\t<Toolbar.Group type=\"multiple\" bind:value={marks} aria-label=\"Text style\">\n\t\t<Toolbar.GroupItem value=\"bold\" aria-label=\"Bold\"><Bold /></Toolbar.GroupItem>\n\t\t<Toolbar.GroupItem value=\"italic\" aria-label=\"Italic\"><Italic /></Toolbar.GroupItem>\n\t</Toolbar.Group>\n\t<Separator orientation=\"vertical\" class=\"mx-1 h-5 self-center\" />\n\t<Toolbar.Group type=\"single\" bind:value={align} aria-label=\"Alignment\">\n\t\t<Toolbar.GroupItem value=\"left\" aria-label=\"Align left\"><AlignLeft /></Toolbar.GroupItem>\n\t\t<Toolbar.GroupItem value=\"center\" aria-label=\"Align center\"><AlignCenter /></Toolbar.GroupItem>\n\t\t<Toolbar.GroupItem value=\"right\" aria-label=\"Align right\"><AlignRight /></Toolbar.GroupItem>\n\t</Toolbar.Group>\n\t<Separator orientation=\"vertical\" class=\"mx-1 h-5 self-center\" />\n\t<Toolbar.Button>Save draft</Toolbar.Button>\n</Toolbar.Root>"
				}
			]
		},
		{
			"name": "Tooltip",
			"slug": "tooltip",
			"summary": "A short label shown when its trigger is hovered or focused with the keyboard, and announced as the trigger's description. Escape hides it. Put one `Tooltip.Provider` around the app; each tooltip is a `<Tooltip.Root>` with a `Tooltip.Trigger` and a `Tooltip.Content`.",
			"category": "Overlays",
			"bits": "Tooltip",
			"use": "Naming an icon-only button, or a brief hint about a control.",
			"avoid": "Information the user needs and can't get otherwise: touch screens can't hover. Links or buttons inside a tooltip: use `Popover`. A tooltip as an icon button's only name: give the button `aria-label` too.",
			"example": "<script lang=\"ts\">\n  import Archive from '@lucide/svelte/icons/archive';\n  import { Tooltip } from '@limerdev/zest';\n</script>\n\n<Tooltip.Provider>\n  <Tooltip.Root>\n    <Tooltip.Trigger size=\"icon\" variant=\"ghost\" aria-label=\"Archive\"><Archive /></Tooltip.Trigger>\n    <Tooltip.Content>Archive</Tooltip.Content>\n  </Tooltip.Root>\n</Tooltip.Provider>",
			"importLine": "import { Tooltip } from '@limerdev/zest'",
			"parts": [
				"Tooltip.Root",
				"Tooltip.Provider",
				"Tooltip.Trigger",
				"Tooltip.Content",
				"Tooltip.Portal"
			],
			"props": {
				"Tooltip.Root": [
					{
						"name": "children",
						"type": "Snippet<[]> | Snippet<[TooltipRootSnippetProps<never>]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "delayDuration",
						"type": "number",
						"default": "700",
						"bindable": false,
						"required": false,
						"description": "The delay in milliseconds before the tooltip opens."
					},
					{
						"name": "disableCloseOnTriggerClick",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "When `true`, the tooltip will not close when you click on the trigger."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "When `true`, the tooltip will be disabled and will not open."
					},
					{
						"name": "disableHoverableContent",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Prevents tooltip from remaining open when hovering over the content."
					},
					{
						"name": "ignoreNonKeyboardFocus",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Prevent the tooltip from opening if the focus did not come using the keyboard."
					},
					{
						"name": "onOpenChange",
						"type": "OnChangeFn<boolean>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback that will be called when the tooltip is opened or closed."
					},
					{
						"name": "onOpenChangeComplete",
						"type": "OnChangeFn<boolean>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A callback that will be called when the tooltip is opened or closed."
					},
					{
						"name": "open",
						"type": "boolean",
						"default": "false",
						"bindable": true,
						"required": false,
						"description": "The open state of the tooltip."
					},
					{
						"name": "tether",
						"type": "TooltipTether<never>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Shared tether used to connect detached triggers and infer payload types."
					},
					{
						"name": "triggerId",
						"type": "string | null",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The active trigger id for controlled single tooltip mode."
					}
				],
				"Tooltip.Provider": [
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "delayDuration",
						"type": "number",
						"default": "400",
						"bindable": false,
						"required": false,
						"description": "The delay in milliseconds before the tooltip opens."
					},
					{
						"name": "disableCloseOnTriggerClick",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "When `true`, the tooltip will not close when you click on the trigger."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "When `true`, the tooltip will be disabled and will not open."
					},
					{
						"name": "disableHoverableContent",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Prevents tooltip from remaining open when hovering over the content."
					},
					{
						"name": "ignoreNonKeyboardFocus",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Prevent the tooltip from opening if the focus did not come using the keyboard."
					},
					{
						"name": "skipDelayDuration",
						"type": "number",
						"default": "300",
						"bindable": false,
						"required": false,
						"description": "How much time a user has to enter another trigger without incurring a delay again."
					}
				],
				"Tooltip.Trigger": [
					{
						"name": "child",
						"type": "Snippet<[{ props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "disabled",
						"type": "null | false | true",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Whether the tooltip trigger is disabled or not."
					},
					{
						"name": "payload",
						"type": "unknown",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Payload for the trigger used by singleton tooltip root snippets."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "size",
						"type": "\"default\" | \"sm\" | \"lg\" | \"icon\" | \"icon-sm\" | \"icon-lg\"",
						"default": "'default'",
						"bindable": false,
						"required": false,
						"description": "The height and padding, from the theme's field size; the `icon` sizes are square."
					},
					{
						"name": "tether",
						"type": "TooltipTether<never>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Shared tether used to connect detached triggers and infer payload types."
					},
					{
						"name": "variant",
						"type": "\"link\" | \"primary\" | \"secondary\" | \"neutral\" | \"error\" | \"outline\" | \"ghost\"",
						"default": "'primary'",
						"bindable": false,
						"required": false,
						"description": "The look, by the theme's colour roles: `primary` for the main action, `error` for deleting, `secondary`, `neutral` and `outline` for the rest, `ghost` in toolbars, `link` for a navigation that looks like text."
					}
				],
				"Tooltip.Content": [
					{
						"name": "align",
						"type": "\"start\" | \"center\" | \"end\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The preferred alignment of the anchor to render against when open. This may change when collisions occur."
					},
					{
						"name": "alignOffset",
						"type": "number",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "An offset in pixels from the \"start\" or \"end\" alignment options."
					},
					{
						"name": "arrowPadding",
						"type": "number",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "This describes the padding between the arrow and the edges of the floating element. If your floating element has border-radius, this will prevent it from overflowing the corners."
					},
					{
						"name": "avoidCollisions",
						"type": "boolean",
						"default": "true",
						"bindable": false,
						"required": false,
						"description": "When `true`, overrides the `side` and `align` options to prevent collisions with the boundary edges."
					},
					{
						"name": "child",
						"type": "Snippet<[FloatingContentSnippetProps & { props: Record<string, unknown>; }]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Render your own element instead of the default one: the snippet gets `props` to spread on it."
					},
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The content."
					},
					{
						"name": "collisionBoundary",
						"type": "Arrayable<Boundary>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "A boundary element or array of elements to check for collisions against."
					},
					{
						"name": "collisionPadding",
						"type": "number | Partial<Record<\"top\" | \"right\" | \"bottom\" | \"left\", number>>",
						"default": "8",
						"bindable": false,
						"required": false,
						"description": "The amount in pixels of virtual padding around the viewport edges to check for overflow which will cause a collision."
					},
					{
						"name": "customAnchor",
						"type": "string | HTMLElement | Measurable | null",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Use an element other than the trigger to anchor the content to. If provided, the content will be anchored to the provided element instead of the trigger. You can pass a selector string or an HTMLElement."
					},
					{
						"name": "dir",
						"type": "\"ltr\" | \"rtl\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The text direction of the content."
					},
					{
						"name": "escapeKeydownBehavior",
						"type": "\"close\" | \"defer-otherwise-close\" | \"defer-otherwise-ignore\" | \"ignore\"",
						"default": "close",
						"bindable": false,
						"required": false,
						"description": "Escape behavior type. `close`: Closes the element immediately. `defer-otherwise-close`: Delegates the action to its parent component that has an escape keydown handler. If no parent is found, it closes the element. `defer-otherwise-ignore`: Delegates the action to the parent element. If no parent is found, nothing is done. `ignore`: Prevents the element from closing and also blocks the parent element from closing in response to an escape key press."
					},
					{
						"name": "forceMount",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "When `true`, the tooltip will be forced to mount in the DOM. Useful for more control over the transition behavior."
					},
					{
						"name": "hideWhenDetached",
						"type": "boolean",
						"default": "",
						"bindable": false,
						"required": false,
						"description": ""
					},
					{
						"name": "interactOutsideBehavior",
						"type": "\"close\" | \"defer-otherwise-close\" | \"defer-otherwise-ignore\" | \"ignore\"",
						"default": "close",
						"bindable": false,
						"required": false,
						"description": "Interact outside behavior type. `close`: Closes the element immediately. `defer-otherwise-close`: Delegates the action to the parent element. If no parent is found, it closes the element. `defer-otherwise-ignore`: Delegates the action to the parent element. If no parent is found, nothing is done. `ignore`: Prevents the element from closing and also blocks the parent element from closing in response to an outside interaction."
					},
					{
						"name": "onEscapeKeydown",
						"type": "((e: KeyboardEvent) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fired when escape is pressed."
					},
					{
						"name": "onFocusOutside",
						"type": "((event: FocusEvent) => void)",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fired when focus leaves the dismissible layer."
					},
					{
						"name": "onInteractOutside",
						"type": "InteractOutsideEventHandler",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Callback fired when an outside interaction event completes, which is either a `pointerup`, `mouseup`, or `touchend` event, depending on the user's input device."
					},
					{
						"name": "portalProps",
						"type": "PortalProps",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "Props for the portal the content renders in: `to` (the element to render in, the body by default) and `disabled` (render in place)."
					},
					{
						"name": "ref",
						"type": "HTMLElement | null",
						"default": "null",
						"bindable": true,
						"required": false,
						"description": "The rendered element."
					},
					{
						"name": "side",
						"type": "\"top\" | \"right\" | \"bottom\" | \"left\"",
						"default": "'top'",
						"bindable": false,
						"required": false,
						"description": "The preferred side of the anchor to render against when open. Will be reversed when collisions occur."
					},
					{
						"name": "sideOffset",
						"type": "number",
						"default": "6",
						"bindable": false,
						"required": false,
						"description": "The distance in pixels from the anchor to the floating element."
					},
					{
						"name": "sticky",
						"type": "\"partial\" | \"always\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": ""
					},
					{
						"name": "strategy",
						"type": "\"absolute\" | \"fixed\"",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The positioning strategy to use for the floating element."
					},
					{
						"name": "updatePositionStrategy",
						"type": "\"always\" | \"optimized\"",
						"default": "\"optimized\"",
						"bindable": false,
						"required": false,
						"description": "\"optimized\" will only update the position when necessary, while \"always\" will update the position on each animation frame, which is useful if the floating content is following something like a mouse cursor."
					}
				],
				"Tooltip.Portal": [
					{
						"name": "children",
						"type": "Snippet<[]>",
						"default": "",
						"bindable": false,
						"required": false,
						"description": "The children content to render within the portal."
					},
					{
						"name": "disabled",
						"type": "boolean",
						"default": "false",
						"bindable": false,
						"required": false,
						"description": "Disable portalling and render the component inline"
					},
					{
						"name": "to",
						"type": "PortalTarget",
						"default": "document.body",
						"bindable": false,
						"required": false,
						"description": "Where to portal the content to."
					}
				]
			},
			"examples": [
				{
					"slug": "01-icon-buttons",
					"title": "Icon buttons",
					"description": "Tooltips name icon-only buttons; each button still has its own aria-label. Put one Tooltip.Provider around the app.",
					"code": "<script lang=\"ts\">\n\timport Archive from '@lucide/svelte/icons/archive';\n\timport Copy from '@lucide/svelte/icons/copy';\n\timport Trash from '@lucide/svelte/icons/trash-2';\n\timport type { Component } from 'svelte';\n\timport { Tooltip } from '@limerdev/zest';\n\n\ttype Action = { label: string; icon: Component };\n\n\tconst actions: Action[] = [\n\t\t{ label: 'Copy', icon: Copy },\n\t\t{ label: 'Archive', icon: Archive },\n\t\t{ label: 'Delete', icon: Trash }\n\t];\n</script>\n\n<Tooltip.Provider>\n\t{#each actions as action (action.label)}\n\t\t<Tooltip.Root>\n\t\t\t<Tooltip.Trigger size=\"icon\" variant=\"outline\" aria-label={action.label}>\n\t\t\t\t<action.icon />\n\t\t\t</Tooltip.Trigger>\n\t\t\t<Tooltip.Content>{action.label}</Tooltip.Content>\n\t\t</Tooltip.Root>\n\t{/each}\n</Tooltip.Provider>"
				},
				{
					"slug": "02-sides",
					"title": "Sides",
					"description": "side places the tooltip; it flips when there is no room.",
					"code": "<script lang=\"ts\">\n\timport { Tooltip } from '@limerdev/zest';\n\n\ttype Side = 'top' | 'right' | 'bottom' | 'left';\n\n\tconst sides: Side[] = ['top', 'right', 'bottom', 'left'];\n</script>\n\n<Tooltip.Provider>\n\t{#each sides as side (side)}\n\t\t<Tooltip.Root>\n\t\t\t<Tooltip.Trigger variant=\"outline\">{side}</Tooltip.Trigger>\n\t\t\t<Tooltip.Content {side}>Shown on the {side}</Tooltip.Content>\n\t\t</Tooltip.Root>\n\t{/each}\n</Tooltip.Provider>"
				}
			]
		}
	]
}
