{"name":"empty-state","title":"Empty State","description":"","kind":"component","category":"feedback","status":"beta","props":{"title":{"type":"node","description":"The message."},"hint":{"type":"string","description":"Optional next step."},"icon":{"type":"string","description":"A name from the icon vocabulary (spec/icons.json), one of magnifying-glass, funnel, chats, folder-open, table, file, bell, check-circle, users, rocket-launch, list-checks, git-branch (the adapters type the prop to these names); or your own icon (React element, Vue slot `icon`, Svelte snippet). Any other string draws nothing: a name is never rendered as text."},"size":{"type":"enum","values":["row","block"],"default":"row","description":"row: one line as tall as the list's rows (--option-height, 30px by default), 12px ink-2. block: a centred stack, 13px/500 ink title, 12px ink-2 hint, padding 32/16."},"align":{"type":"enum","values":["start","center"],"default":"start","description":"Rows only: start the line with the list's text, or centre it (a message in a card or under a filter). A block is always centred."},"action":{"type":"node","description":"What to do next: a Button (or two). React: a node; Vue: the action slot; Svelte: a snippet."}},"playground":{"name":"Playground","props":{"title":"No deploys yet","hint":"Push to main to create the first one.","icon":"folder-open","size":"block"},"width":320},"exampleFiles":[{"file":"no-deploys","title":"No deploys yet"},{"file":"no-issues","title":"An empty project, with the next step"},{"file":"search-no-results","title":"Search finds nothing"},{"file":"filter-no-matches","title":"A filter matches nothing"},{"file":"member-picker","title":"Nothing left in a picker"},{"file":"no-invoices","title":"No invoices yet, in a table"}],"worstCase":[{"name":"Long row","width":240,"props":{"title":"No suppliers match “Organic oat milk, unsweetened, barista edition, 1L”","hint":"averyveryveryverylongunbreakablequeryterm@example-supplier-domain.com","icon":"magnifying-glass","size":"row"}},{"name":"Long block","width":240,"props":{"title":"Nothing in the archive for the third quarter of the previous financial year","hint":"Records older than eighteen months are moved to cold storage and can be restored by an administrator","icon":"folder-open","size":"block"}},{"name":"One letter","width":240,"props":{"title":"Ø","size":"row","align":"center"}},{"name":"Right-to-left","width":240,"props":{"title":"لا توجد نتائج","hint":"جرّب كلمة أخرى","icon":"magnifying-glass","size":"block"}}],"anatomy":[{"part":"root","element":"div","description":"data-size, data-align. The host toggles it with `hidden`. Extra attributes (hidden, id, role, aria-*) land on it in every target, so a host toggles it with hidden."},{"part":"icon","element":"span","optional":true,"description":"aria-hidden. Row: 14px ink-3 glyph. Block: a 32px tile in the hover grey with a soft hairline (line-soft) and a 15px glyph: quiet in both themes (in dark mode an inset tile read as a hole with a bright ring)."},{"part":"title","element":"p","description":"The message"},{"part":"hint","element":"p","optional":true,"description":"The next step"},{"part":"action","element":"div","optional":true,"description":"What to do next, passed by the host (React: action, a node; Vue: slot action; Svelte: snippet action), usually one Button (sm). Block: centred under the text, 14px below it. Row: at the end of the line."}],"slots":{"icon":"Vue: your own icon in place of the named ones (React: icon as a node; Svelte: icon as a snippet).","action":"Vue: what to do next (a Button), under a block's text or at the end of a row (React: action as a node; Svelte: action as a snippet)."},"states":["appearing"],"tokens":["color.ink","color.ink-2","color.ink-3","radius.control","text.xs","text.sm","duration.base","color.hover","color.line-soft"],"a11y":{"role":"none (plain text)","keyboard":["Not focusable; nothing to operate"],"notes":["The icon is decorative (aria-hidden); the title says what is empty.","When the empty state replaces results the user is typing for, announce it from the host's own status region (search and prompt-bar already have one); the empty state does not carry role=status, so it is never announced twice.","Inside a listbox, keep it outside the options (it is not an option).","The action is an ordinary Button in the tab order; its label says what it does (\"New issue\", not \"Get started\")."]},"motion":["enter: opacity 0 -> 1 over duration.base ease when it appears, also out of `hidden` (@starting-style)","exit: none; it goes when results arrive"]}