{
  "component": {
    "id": "date-picker",
    "name": "Date picker",
    "tier": "pro",
    "exampleId": "date-picker",
    "access": "pro",
    "requiresAuthorization": true
  },
  "source": {
    "demoModule": "src/date-picker-demo.tsx",
    "exportName": "DatePickerDemo",
    "sha256": "462b72a7ab513e54a67d4da2fcd06cf752054c83770881f275b08e24ab93103d",
    "helperImports": [],
    "directComponentImports": [
      "date-picker",
      "tidal-button"
    ],
    "sampleBoundary": "Existing local demo fixture with fictional data and callbacks. No live service, customer data, access key, or Pro source is included."
  },
  "install": {
    "command": "npx shadcn@latest add @tidal-pro/date-picker",
    "registryUrl": "https://tidalui.com/r/pro/date-picker.json",
    "namespace": "@tidal-pro",
    "access": "pro",
    "sourceDelivery": "server-gated",
    "requiresAuthorization": true,
    "tokenSource": "local-env",
    "tokenEnvName": "TIDALUI_TOKEN",
    "cli": {
      "package": "shadcn",
      "requested": "latest"
    }
  },
  "installPlan": [
    {
      "order": 1,
      "kind": "primary",
      "dependency": "@tidal-pro/date-picker",
      "purpose": "component",
      "command": "npx shadcn@latest add @tidal-pro/date-picker",
      "registryUrl": "https://tidalui.com/r/pro/date-picker.json",
      "access": "pro",
      "sourceDelivery": "server-gated",
      "requiresAuthorization": true
    },
    {
      "order": 2,
      "kind": "demo-only-additional",
      "dependency": "https://tidalui.com/r/tidal-button.json",
      "purpose": "complete-example-demo-dependency",
      "command": "npx shadcn@latest add https://tidalui.com/r/tidal-button.json",
      "registryUrl": "https://tidalui.com/r/tidal-button.json",
      "access": "free",
      "sourceDelivery": "public-registry",
      "requiresAuthorization": false
    }
  ],
  "imports": {
    "componentPath": "components/ui/date-picker.tsx",
    "exports": [
      "TidalButton",
      "TidalDateDigits",
      "TidalDatePicker",
      "tidalFormatDate",
      "tidalParseDate"
    ],
    "stylesheets": [
      "components/ui/tidal.css",
      "components/ui/date-picker.css"
    ],
    "scopeClass": "tidal-scope"
  },
  "dependencies": {
    "npm": [
      "@radix-ui/react-popover@1.2.0",
      "lucide-react"
    ],
    "registry": [],
    "additionalRegistry": [
      "https://tidalui.com/r/tidal-button.json"
    ],
    "installClosure": [
      "date-picker",
      "tidal-button"
    ],
    "css": [
      "components/ui/tidal.css",
      "components/ui/date-picker.css"
    ],
    "demoCss": [],
    "consumerOwned": [
      "react",
      "react-dom"
    ]
  },
  "files": {
    "sourceFile": "/examples/date-picker.tsx",
    "demoStyles": [],
    "inlinedDemoStyles": [
      "src/date-picker-demo.css"
    ],
    "assets": []
  },
  "example": {
    "language": "tsx",
    "source": "import \"./components/ui/tidal.css\";\n\nimport { useEffect, useLayoutEffect, useRef, useState } from \"react\";\n\nimport { ArrowUpRight, Check, RotateCcw } from \"lucide-react\";\n\nimport { TidalDatePicker, TidalDateDigits, tidalParseDate, tidalFormatDate } from \"./components/ui/date-picker\";\n\nimport { TidalButton } from \"./components/ui/tidal-button\";\n\nimport \"./components/ui/date-picker.css\";\n\n\n\nconst tidalExampleStyles = \".tidal-scope .date-picker-specimen {\\n  width: 100%;\\n  max-width: 720px;\\n  padding: 28px;\\n  border: 1px solid var(--t-border);\\n  border-radius: var(--t-radius-card);\\n  background: var(--t-surface);\\n  box-shadow:\\n    0 2px 3px #00000004,\\n    0 18px 35px -30px #00000040;\\n}\\n.tidal-scope .date-picker-specimen > h3 {\\n  font-size: 29px;\\n  font-weight: 500;\\n  line-height: 1.15;\\n  letter-spacing: -1.1px;\\n  margin: 15px 0 26px;\\n}\\n.tidal-scope .date-picker-specimen > h3 em {\\n  font:\\n    italic 37px/1.15 \\\"Instrument Serif\\\",\\n    Georgia,\\n    serif;\\n  letter-spacing: -0.8px;\\n}\\n.tidal-scope .date-demo-stage {\\n  padding: 7px;\\n  margin: 0 -7px;\\n  overflow: hidden;\\n  transition: height 420ms var(--t-ease-out);\\n}\\n.tidal-scope .date-demo-content {\\n  display: flow-root;\\n}\\n.tidal-scope .date-demo-layout {\\n  display: grid;\\n  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);\\n  gap: 28px;\\n  align-items: center;\\n}\\n.tidal-scope .date-demo-layout form {\\n  min-width: 0;\\n}\\n.tidal-scope .date-demo-form-caption {\\n  display: block;\\n  font-size: 11px;\\n  letter-spacing: 1.3px;\\n  color: var(--t-muted);\\n  margin-bottom: 24px;\\n}\\n.tidal-scope .date-demo-paper {\\n  position: relative;\\n  min-width: 0;\\n  border: 1px solid var(--t-ink);\\n  border-radius: 12px;\\n  background: var(--t-ink);\\n  color: var(--t-surface);\\n  padding: 20px;\\n  box-shadow:\\n    0 14px 20px -15px #00000050,\\n    inset 0 1px 0 #ffffff12;\\n  overflow: hidden;\\n  animation: date-paper-enter 620ms var(--t-ease-out) both;\\n}\\n.tidal-scope .date-demo-paper:before,\\n.tidal-scope .date-demo-paper:after {\\n  content: \\\"\\\";\\n  position: absolute;\\n  top: -6px;\\n  width: 13px;\\n  height: 13px;\\n  border: 1px solid #80808060;\\n  background: var(--t-surface);\\n  border-radius: 50%;\\n}\\n.tidal-scope .date-demo-paper:before {\\n  left: 20px;\\n}\\n.tidal-scope .date-demo-paper:after {\\n  right: 20px;\\n}\\n.tidal-scope .date-demo-paper-header {\\n  display: flex;\\n  justify-content: space-between;\\n  gap: 8px;\\n  font-size: 11px;\\n  letter-spacing: 1.3px;\\n  opacity: 0.65;\\n  padding-top: 3px;\\n  margin-bottom: 26px;\\n}\\n.tidal-scope .date-demo-paper-month {\\n  font-size: 11px;\\n  letter-spacing: 0.9px;\\n  text-transform: uppercase;\\n  animation: date-month-enter 280ms var(--t-ease-out) both;\\n}\\n.tidal-scope .date-demo-paper-number {\\n  font-size: 94px;\\n  line-height: 1.1;\\n  font-weight: 500;\\n  letter-spacing: -5px;\\n  margin: 10px 0 14px;\\n}\\n.tidal-scope .date-demo-paper time {\\n  display: block;\\n  max-width: 240px;\\n  font-size: 11px;\\n  line-height: 1.5;\\n  opacity: 0.8;\\n}\\n.tidal-scope .date-demo-week {\\n  display: grid;\\n  position: relative;\\n  grid-template-columns: repeat(7, minmax(0, 1fr));\\n  isolation: isolate;\\n  font-size: 11px;\\n  height: 30px;\\n  margin-top: 20px;\\n  border-top: 1px solid #80808055;\\n  padding-top: 8px;\\n}\\n.tidal-scope .date-demo-week > span:not(.date-demo-week-marker) {\\n  display: flex;\\n  justify-content: center;\\n  align-items: center;\\n  color: inherit;\\n  opacity: 0.5;\\n  transition:\\n    opacity 220ms,\\n    color 220ms;\\n  z-index: 1;\\n}\\n.tidal-scope .date-demo-week > span[data-active] {\\n  color: var(--t-ink);\\n  opacity: 1;\\n}\\n.tidal-scope .date-demo-week-marker {\\n  position: absolute;\\n  width: calc(100% / 7);\\n  height: 22px;\\n  left: 0;\\n  top: 8px;\\n  border-radius: 5px;\\n  background: var(--t-surface);\\n  transition: transform 420ms var(--t-ease-out);\\n}\\n.tidal-scope .date-demo-paper > p {\\n  font-size: 11px;\\n  line-height: 1.6;\\n  margin: 12px 0 0;\\n  color: inherit;\\n  opacity: 0.65;\\n}\\n.tidal-scope .date-demo-paper-empty {\\n  display: flex;\\n  flex-direction: column;\\n  align-items: center;\\n  justify-content: center;\\n  min-height: 205px;\\n  gap: 17px;\\n  text-align: center;\\n}\\n.tidal-scope .date-demo-paper-empty > svg {\\n  opacity: 0.5;\\n}\\n.tidal-scope .date-demo-paper-empty p {\\n  color: inherit;\\n  font-size: 13px;\\n  line-height: 1.6;\\n}\\n.tidal-scope .date-demo-actions {\\n  display: flex;\\n  gap: 8px;\\n  margin-top: 22px;\\n}\\n.tidal-scope .date-demo-actions .tidal-button {\\n  flex: 1;\\n  min-width: 0;\\n  padding: 0 9px;\\n  font-size: 11px;\\n  outline-offset: -5px;\\n}\\n.tidal-scope .date-demo-actions .tidal-button:focus-visible {\\n  outline-color: currentColor;\\n}\\n.tidal-scope .date-demo-status {\\n  display: block;\\n  font-size: 11px;\\n  color: var(--t-muted);\\n  line-height: 1.5;\\n  margin-top: 10px;\\n}\\n.tidal-scope .date-demo-note {\\n  font-size: 11px;\\n  color: var(--t-muted);\\n  line-height: 1.65;\\n  margin: 22px 0 0;\\n}\\n.tidal-scope .date-demo-complete {\\n  text-align: center;\\n  padding: 16px 5px 22px;\\n  animation: date-paper-enter 420ms var(--t-ease-out) both;\\n}\\n.tidal-scope .date-demo-complete > span {\\n  display: flex;\\n  align-items: center;\\n  justify-content: center;\\n  width: 44px;\\n  height: 44px;\\n  background: var(--t-ink);\\n  color: var(--t-surface);\\n  border-radius: 50%;\\n  margin: 0 auto 15px;\\n}\\n.tidal-scope .date-demo-complete h4 {\\n  font-size: 22px;\\n  font-weight: 500;\\n  letter-spacing: -0.7px;\\n  outline-offset: -5px;\\n}\\n.tidal-scope .date-demo-complete p {\\n  font-size: 11px;\\n  color: var(--t-muted);\\n  margin-top: 9px;\\n}\\n.tidal-scope .date-picker-specimen[data-phase=\\\"set\\\"] .date-demo-layout {\\n  grid-template-columns: 1fr;\\n}\\n.tidal-scope .date-picker-specimen[data-phase=\\\"set\\\"] .date-demo-paper {\\n  max-width: 290px;\\n  width: 100%;\\n  margin-inline: auto;\\n}\\n.tidal-scope .date-demo-saved-actions {\\n  justify-content: center;\\n}\\n.tidal-scope .date-demo-saved-actions .tidal-button {\\n  flex: 0 1 auto;\\n  padding: 0 16px;\\n}\\n.tidal-scope .date-demo-saved-actions .tidal-button:last-child {\\n  width: 44px;\\n  padding: 0;\\n}\\n@keyframes date-paper-enter {\\n  from {\\n    opacity: 0;\\n    transform: translateY(8px);\\n  }\\n  to {\\n    opacity: 1;\\n    transform: translateY(0);\\n  }\\n}\\n@keyframes date-month-enter {\\n  from {\\n    opacity: 0;\\n    transform: translateY(3px);\\n  }\\n  to {\\n    opacity: 1;\\n    transform: translateY(0);\\n  }\\n}\\n@media (max-width: 600px) {\\n  .tidal-scope .date-picker-specimen {\\n    padding: 16px;\\n  }\\n  .tidal-scope .date-picker-specimen > h3 {\\n    font-size: 25px;\\n    margin: 12px 0 16px;\\n  }\\n  .tidal-scope .date-picker-specimen > h3 em {\\n    font-size: 32px;\\n  }\\n  .tidal-scope .date-demo-layout {\\n    grid-template-columns: 1fr;\\n    gap: 16px;\\n  }\\n  .tidal-scope .date-demo-form-caption {\\n    display: none;\\n  }\\n  .tidal-scope .date-demo-paper {\\n    padding: 16px;\\n  }\\n  .tidal-scope .date-demo-paper-header {\\n    margin-bottom: 10px;\\n  }\\n  .tidal-scope .date-demo-paper-number {\\n    font-size: 68px;\\n    margin: 7px 0 10px;\\n  }\\n  .tidal-scope .date-demo-paper-empty {\\n    min-height: 176px;\\n  }\\n  .tidal-scope .date-demo-actions {\\n    margin-top: 14px;\\n  }\\n  .tidal-scope .date-demo-week {\\n    margin-top: 12px;\\n  }\\n  .tidal-scope .date-demo-paper > p {\\n    margin-top: 8px;\\n  }\\n  .tidal-scope .date-demo-note {\\n    font-size: 11px;\\n    margin-top: 14px;\\n  }\\n}\\n@media (prefers-reduced-motion: reduce) {\\n  .tidal-scope .date-picker-specimen * {\\n    animation: none !important;\\n    transition: none !important;\\n  }\\n  .tidal-scope .date-demo-paper,\\n  .tidal-scope .date-demo-complete,\\n  .tidal-scope .date-demo-paper-month {\\n    transform: none;\\n  }\\n}\";\n\nconst sampleToday = \"2026-10-14\";\n\nfunction unavailable(iso: string) {\n  const day = tidalParseDate(iso)?.getUTCDay();\n  return day === 0 || day === 6 || iso === \"2026-11-26\";\n}\n\nexport function DatePickerDemo() {\n  const [date, setDate] = useState<string | null>(\"2026-11-12\"),\n    [error, setError] = useState(\"\");\n  const [phase, setPhase] = useState<\"editing\" | \"setting\" | \"set\">(\"editing\"),\n    [height, setHeight] = useState<number>();\n  const input = useRef<HTMLInputElement>(null),\n    title = useRef<HTMLHeadingElement>(null),\n    content = useRef<HTMLDivElement>(null),\n    restore = useRef(false),\n    timer = useRef<ReturnType<typeof setTimeout> | undefined>(undefined);\n  const focusOwner = useRef<HTMLElement | null>(null);\n  const parsed = tidalParseDate(date),\n    valid = Boolean(\n      parsed &&\n        date! >= sampleToday &&\n        date! <= \"2026-12-31\" &&\n        !unavailable(date!),\n    );\n  const days = parsed\n    ? Math.round(\n        (parsed.getTime() - tidalParseDate(sampleToday)!.getTime()) / 86400000,\n      )\n    : 0;\n  const weekday = parsed ? (parsed.getUTCDay() + 6) % 7 : 0;\n  useEffect(() => () => clearTimeout(timer.current), []);\n  useLayoutEffect(() => {\n    const active = document.activeElement;\n    const canMoveFocus =\n      active === document.body || active === focusOwner.current;\n    if (phase === \"set\" && canMoveFocus) {\n      title.current?.focus({ preventScroll: true });\n      focusOwner.current = null;\n    } else if (phase === \"editing\" && restore.current) {\n      restore.current = false;\n      if (canMoveFocus) input.current?.focus({ preventScroll: true });\n      focusOwner.current = null;\n    }\n  }, [phase]);\n  useLayoutEffect(() => {\n    const node = content.current;\n    if (!node) return;\n    const measure = () => {\n      const css = getComputedStyle(node.parentElement!);\n      setHeight(\n        node.offsetHeight +\n          Number.parseFloat(css.paddingTop) +\n          Number.parseFloat(css.paddingBottom),\n      );\n    };\n    measure();\n    const ro = new ResizeObserver(measure);\n    ro.observe(node);\n    return () => ro.disconnect();\n  }, []);\n  function edit() {\n    clearTimeout(timer.current);\n    focusOwner.current =\n      document.activeElement instanceof HTMLElement\n        ? document.activeElement\n        : null;\n    setError(\"\");\n    restore.current = true;\n    setPhase(\"editing\");\n    if (phase === \"editing\") {\n      restore.current = false;\n      input.current?.focus({ preventScroll: true });\n    }\n  }\n  function reset() {\n    setDate(\"2026-11-12\");\n    edit();\n  }\n  return (\n    <div className=\"date-picker-specimen\" data-phase={phase}>\n      <div className=\"date-demo-stage\" style={{ height }}>\n        <div ref={content} className=\"date-demo-content\">\n          {phase === \"set\" ? (\n            <div className=\"date-demo-complete\">\n              <span aria-hidden=\"true\">\n                <Check size={20} />\n              </span>\n              <h4 ref={title} tabIndex={-1}>\n                A day to begin.\n              </h4>\n              <p>\n                Kept in this sample. No launch or appointment was scheduled.\n              </p>\n            </div>\n          ) : null}\n          <div className=\"date-demo-layout\">\n            {phase !== \"set\" ? (\n              <form\n                noValidate\n                onSubmit={(e) => {\n                  e.preventDefault();\n                  if (!valid) {\n                    setError(\n                      \"Choose an available weekday in this sample range.\",\n                    );\n                    input.current?.focus({ preventScroll: true });\n                    return;\n                  }\n                  focusOwner.current =\n                    (e.nativeEvent as SubmitEvent).submitter instanceof\n                    HTMLElement\n                      ? (e.nativeEvent as SubmitEvent).submitter\n                      : document.activeElement instanceof HTMLElement\n                        ? document.activeElement\n                        : null;\n                  setPhase(\"setting\");\n                  timer.current = setTimeout(() => setPhase(\"set\"), 550);\n                }}\n              >\n                <span className=\"date-demo-form-caption\">\n                  THE FIRST LITTLE MILESTONE\n                </span>\n                <TidalDatePicker\n                  ref={input}\n                  label=\"Sample launch date\"\n                  value={date}\n                  onValueChange={(next) => {\n                    setDate(next);\n                    setError(\"\");\n                  }}\n                  name=\"launch-date\"\n                  min={sampleToday}\n                  max=\"2026-12-31\"\n                  today={sampleToday}\n                  isDateDisabled={unavailable}\n                  required\n                  disabled={phase === \"setting\"}\n                  description=\"Fictional weekdays only. November 26 is held in this sample.\"\n                  error={error}\n                />\n                <div className=\"date-demo-actions\">\n                  <TidalButton\n                    type=\"button\"\n                    variant=\"secondary\"\n                    onClick={phase === \"setting\" ? edit : reset}\n                  >\n                    {phase === \"setting\" ? \"Cancel sample\" : \"Reset sample\"}\n                  </TidalButton>\n                  <TidalButton type=\"submit\" loading={phase === \"setting\"}>\n                    {phase === \"setting\" ? \"Setting date\" : \"Set sample date\"}\n                    {phase === \"editing\" ? <ArrowUpRight size={13} /> : null}\n                  </TidalButton>\n                </div>\n                {phase === \"setting\" ? (\n                  <span role=\"status\" className=\"date-demo-status\">\n                    Setting this local sample…\n                  </span>\n                ) : null}\n              </form>\n            ) : null}\n            <section\n              className=\"date-demo-paper\"\n              aria-label=\"Sample release date\"\n              data-empty={!parsed || undefined}\n            >\n              <div className=\"date-demo-paper-header\">\n                <span>THE RELEASE DATE</span>\n                <span>D / 029</span>\n              </div>\n              {parsed ? (\n                <>\n                  <div\n                    className=\"date-demo-paper-month\"\n                    key={date!.slice(0, 7)}\n                    aria-hidden=\"true\"\n                  >\n                    {tidalFormatDate(date!, \"en-US\", {\n                      month: \"long\",\n                      year: \"numeric\",\n                    })}\n                  </div>\n                  <div className=\"date-demo-paper-number\" aria-hidden=\"true\">\n                    <TidalDateDigits\n                      text={String(parsed.getUTCDate()).padStart(2, \"0\")}\n                    />\n                  </div>\n                  <time dateTime={date!}>\n                    {tidalFormatDate(date!, \"en-US\", {\n                      weekday: \"long\",\n                      month: \"long\",\n                      day: \"numeric\",\n                      year: \"numeric\",\n                    })}\n                  </time>\n                  <div className=\"date-demo-week\" aria-hidden=\"true\">\n                    <span\n                      className=\"date-demo-week-marker\"\n                      style={{ transform: `translateX(${weekday * 100}%)` }}\n                    />\n                    {[\"M\", \"T\", \"W\", \"T\", \"F\", \"S\", \"S\"].map((d, i) => (\n                      <span key={i} data-active={i === weekday || undefined}>\n                        {d}\n                      </span>\n                    ))}\n                  </div>\n                  <p>{days} days from the sample today.</p>\n                </>\n              ) : (\n                <div className=\"date-demo-paper-empty\">\n                  <CalendarPlaceholder />\n                  <p>\n                    Pick the day.\n                    <br />\n                    We’ll put it here.\n                  </p>\n                </div>\n              )}\n            </section>\n          </div>\n          {phase === \"set\" ? (\n            <div className=\"date-demo-actions date-demo-saved-actions\">\n              <TidalButton variant=\"secondary\" onClick={edit}>\n                Adjust sample\n              </TidalButton>\n              <TidalButton\n                variant=\"secondary\"\n                onClick={reset}\n                aria-label=\"Reset original date\"\n              >\n                <RotateCcw size={14} />\n              </TidalButton>\n            </div>\n          ) : null}\n        </div>\n      </div>\n      <p className=\"date-demo-note\">\n        Fictional availability. Nothing is scheduled, sent or stored.\n      </p>\n    </div>\n  );\n}\n\nfunction CalendarPlaceholder() {\n  return (\n    <svg viewBox=\"0 0 48 48\" width=\"48\" height=\"48\" aria-hidden=\"true\">\n      <rect\n        x=\"7\"\n        y=\"11\"\n        width=\"34\"\n        height=\"31\"\n        rx=\"6\"\n        fill=\"none\"\n        stroke=\"currentColor\"\n        strokeWidth=\"1.5\"\n      />\n      <path\n        d=\"M7 21h34M16 7v9M32 7v9\"\n        stroke=\"currentColor\"\n        strokeWidth=\"1.5\"\n        strokeLinecap=\"round\"\n      />\n      <circle cx=\"18\" cy=\"30\" r=\"2\" fill=\"currentColor\" opacity=\".35\" />\n      <circle cx=\"29\" cy=\"30\" r=\"2\" fill=\"currentColor\" opacity=\".35\" />\n    </svg>\n  );\n}\n\nexport default function AgentExample() {\n  return (\n    <div className=\"tidal-scope\" data-theme=\"light\" dir=\"ltr\">\n      <style>{tidalExampleStyles}</style>\n      <DatePickerDemo />\n    </div>\n  );\n}\n",
    "sourceFile": "/examples/date-picker.tsx",
    "fixtureData": "Existing demo fixture data only; replace with consumer-owned data before production use."
  },
  "controlledState": [
    {
      "prop": "phase",
      "type": "inferred-from-existing-demo",
      "initial": "\"editing\"",
      "setter": "setPhase",
      "proposalCanBeRejected": false
    },
    {
      "prop": "value",
      "type": "inferred-from-existing-demo",
      "initial": "\"2026-11-12\"",
      "setter": "setDate",
      "proposalCanBeRejected": false
    }
  ],
  "events": [
    {
      "name": "onClick",
      "nativeType": "React synthetic event or native callback",
      "callerFirst": true,
      "preventable": true,
      "observedResult": "The existing demo callback remains the source of truth; this example does not call a live service."
    },
    {
      "name": "onSubmit",
      "nativeType": "React synthetic event or native callback",
      "callerFirst": true,
      "preventable": true,
      "observedResult": "The existing demo callback remains the source of truth; this example does not call a live service."
    },
    {
      "name": "onValueChange",
      "nativeType": "component callback",
      "callerFirst": true,
      "preventable": true,
      "observedResult": "The existing demo callback remains the source of truth; this example does not call a live service."
    }
  ],
  "nativeForm": {
    "participates": true,
    "names": [
      "launch-date"
    ],
    "expectedFormData": {
      "launch-date": "fixture value"
    },
    "submitBehavior": "The existing demo's native form callback receives the submit event.",
    "resetBehavior": "Native reset behavior remains available where the demo renders a resettable control.",
    "disabledBehavior": "Disabled controls remain excluded from successful native form submission.",
    "readOnlyBehavior": "Read-only controls retain their value and remain inspectable by the consumer."
  },
  "accessibility": {
    "labelSource": "Existing demo label or ARIA prop",
    "semantics": "Preserve the component's native element and the semantics demonstrated by the source fixture.",
    "keyboard": [
      "Tab and Shift+Tab",
      "Enter or Space for native activation",
      "Arrow keys where the component exposes a composite control"
    ],
    "focusReturn": "Preserve browser focus order and visible focus.",
    "errorAnnouncement": "The existing error or alert path remains consumer-owned and should be announced by the rendered semantics.",
    "reducedMotion": "Verify prefers-reduced-motion with the existing component transition path.",
    "forcedColors": "Verify visible borders, text, and focus in forced-colors mode."
  },
  "responsive": {
    "widths": [
      320,
      390,
      768,
      1260
    ],
    "shortViewport": "Check the example at a 300px viewport height with keyboard or portal content visible.",
    "overflow": "The page should not gain horizontal overflow; component-local scrolling must remain intentional.",
    "touchTargetMinPx": 44,
    "coarseInputFontPx": 16
  },
  "errors": [
    {
      "fixture": "Exercise the existing demo's error, empty, loading, or invalid fixture.",
      "visibleResult": "The consumer-visible result must remain explicit and must not be replaced by a silent console error.",
      "focusResult": "Focus must remain on the triggering control or move to the announced error according to the native pattern.",
      "ownership": "Consumer-owned sample state only; no network request or customer data is used."
    }
  ],
  "verification": {
    "commands": [
      "npx tsc --noEmit",
      "npx vite build"
    ],
    "lockfile": "Use the consumer project's committed lockfile.",
    "browser": [
      "Chromium 1260x800",
      "Chromium 390x844",
      "Keyboard and reduced-motion pass"
    ]
  },
  "validation": {
    "consumerFixture": {
      "tsc": "pass",
      "viteBuild": "pass",
      "resourceModel": "Generated usage plus only the component files and CSS delivered by the primary item and listed registry dependencies."
    },
    "registryArtifact": "server-gated"
  },
  "exceptions": []
}
