{
 "id": "empty-all-done",
 "name": "All done empty state",
 "purpose": "Inbox zero: a calm note that everything is handled, when new items will show up, and a quiet way to see what's done.",
 "use_when": [
  "when a person has finished every item in a queue, inbox or to-do list",
  "a queue, inbox or review list has been cleared by the person"
 ],
 "avoid_when": [
  "the list has never had items: use empty-first-use",
  "items are hidden by a filter: use empty-filtered"
 ],
 "type": "states",
 "style": "friendly",
 "width": "medium",
 "tags": {
  "audience": "work",
  "industries": [
   "any"
  ],
  "keywords": [
   "inbox zero",
   "all done",
   "caught up",
   "empty state",
   "queue"
  ]
 },
 "root": ".odl-empty-all-done",
 "parts": [
  {
   "name": "title",
   "selector": ".odl-empty-all-done [data-od-slot=\"title\"]",
   "what": "the heading: what happened, in plain words, as in “You're all caught up”",
   "slot": "text"
  },
  {
   "name": "message",
   "selector": ".odl-empty-all-done [data-od-slot=\"message\"]",
   "what": "one or two sentences: what it means and what to do next, as in “You reviewed all 18 expense reports. New ones la”",
   "slot": "text"
  },
  {
   "name": "checked",
   "selector": ".odl-empty-all-done [data-od-slot=\"checked\"]",
   "what": "when the list was last checked, as in “Checked a minute ago”",
   "slot": "text"
  },
  {
   "name": "history",
   "selector": ".odl-empty-all-done [data-od-action=\"history\"]",
   "what": "the See what you approved action",
   "slot": "action"
  }
 ],
 "data": {
  "type": "object",
  "properties": {
   "title": {
    "type": "string",
    "maxLength": 32,
    "part": "title"
   },
   "message": {
    "type": "string",
    "maxLength": 128,
    "part": "message"
   },
   "checked": {
    "type": "string",
    "maxLength": 32,
    "part": "checked"
   }
  },
  "required": [
   "title",
   "message",
   "checked"
  ]
 },
 "states": {
  "shown": [
   "all done",
   "hover",
   "focus"
  ],
  "edge": {
   "empty": {
    "status": "shown",
    "how": "This part is the empty state itself.",
    "evidence": "class=\"odl-art\""
   },
   "loading": {
    "status": "handled",
    "evidence": "data-od-slot",
    "how": "the Smart UI renderer draws each marked slot as a quiet block of its size while the data arrives; the static file shows the filled part"
   },
   "error": {
    "status": "not_built",
    "how": "Not applicable: an error isn't an empty list. Use page-banners or page-error."
   },
   "disabled": {
    "status": "not_built",
    "how": "No control here is ever disabled; each one always does something."
   },
   "overflow": {
    "status": "handled",
    "how": "Actions stack full width under 30rem; the panel caps its width.",
    "evidence": "@container"
   },
   "long_text": {
    "status": "handled",
    "how": "Titles balance and body text wraps at word boundaries inside a capped measure.",
    "evidence": "text-wrap"
   },
   "missing_image": {
    "status": "none",
    "how": "the part has no photo"
   }
  }
 },
 "tokens": [
  "--ds-border-width-default",
  "--ds-color-bg-action-primary",
  "--ds-color-bg-action-primary-hover",
  "--ds-color-bg-action-primary-pressed",
  "--ds-color-bg-neutral-subtle",
  "--ds-color-bg-success-subtle",
  "--ds-color-border-default",
  "--ds-color-border-focus",
  "--ds-color-border-subtle",
  "--ds-color-icon-default",
  "--ds-color-surface-raised",
  "--ds-color-surface-sunken",
  "--ds-color-text-link",
  "--ds-color-text-on-action",
  "--ds-color-text-primary",
  "--ds-color-text-secondary",
  "--ds-color-text-success",
  "--ds-color-text-tertiary",
  "--ds-focus-ring-offset",
  "--ds-focus-ring-width",
  "--ds-font-weight-heading",
  "--ds-font-weight-label",
  "--ds-icon-stroke-md",
  "--ds-icon-stroke-sm",
  "--ds-layout-measure-lead",
  "--ds-motion-duration-short",
  "--ds-motion-easing-standard",
  "--ds-opacity-disabled-container",
  "--ds-radius-container",
  "--ds-radius-control",
  "--ds-radius-full",
  "--ds-size-control-lg",
  "--ds-size-control-md",
  "--ds-size-icon-lg",
  "--ds-size-icon-sm",
  "--ds-size-target-min",
  "--ds-space-inline-sm",
  "--ds-space-inset-lg",
  "--ds-space-inset-md",
  "--ds-space-inset-sm",
  "--ds-space-inset-xl",
  "--ds-space-section-sm",
  "--ds-space-stack-md",
  "--ds-space-stack-sm",
  "--ds-space-stack-xl",
  "--ds-state-empty-gap",
  "--ds-state-empty-measure",
  "--ds-state-empty-media",
  "--ds-text-body-md",
  "--ds-text-label-lg",
  "--ds-text-label-md",
  "--ds-text-title-md"
 ],
 "a11y": {
  "summary": "The heading says the state in words; the check drawing is decorative and hidden from screen readers.",
  "roles": [
   "region"
  ],
  "keyboard": [
   "Tab reaches See what you approved"
  ],
  "controls": {
   "button": 0,
   "input": 0,
   "link": 1,
   "select": 0,
   "textarea": 0,
   "summary": 0
  },
  "focus_visible": true,
  "reduced_motion": true,
  "min_target": true
 },
 "files": {
  "html": "components/empty-all-done/component.html",
  "bytes": 5611,
  "script": false
 },
 "source": null,
 "photos": 0,
 "urls": {
  "html": "https://opendesigner.dev/library/empty-all-done.html",
  "json": "https://opendesigner.dev/library/empty-all-done.json",
  "page": "https://opendesigner.dev/library/empty-all-done/"
 },
 "get": {
  "curl": "curl -fsSLo empty-all-done.html https://opendesigner.dev/library/empty-all-done.html",
  "opendesigner": "python3 path/to/skills/opendesigner/scripts/library.py add empty-all-done --from https://opendesigner.dev",
  "prompt": "Add the OpenDesigner component empty-all-done to this project: https://opendesigner.dev/library/empty-all-done.html. Keep its markup and states; map its --ds-* variables to my tokens."
 }
}
