{
  "$schema": "https://next.0build.dev/schema/component.v1.json",
  "accessibility": {
    "aria": [
      {
        "attributes": [
          {
            "name": "aria-selected",
            "value": "dynamic"
          },
          {
            "name": "role",
            "value": "gridcell"
          }
        ],
        "description": "Day cell (gridcell) whose `aria-selected` reflects selection.",
        "part": "day"
      },
      {
        "attributes": [
          {
            "name": "aria-disabled",
            "value": "dynamic"
          },
          {
            "name": "aria-label",
            "value": "dynamic"
          },
          {
            "name": "aria-pressed",
            "value": "dynamic"
          }
        ],
        "description": "Day button with a full-date aria-label, `aria-pressed` for selection, and `aria-disabled` for unavailable dates.",
        "part": "day-button"
      },
      {
        "attributes": [],
        "description": "Month navigation bar.",
        "part": "header"
      },
      {
        "attributes": [
          {
            "name": "aria-label",
            "value": "Calendar"
          },
          {
            "name": "role",
            "value": "application"
          }
        ],
        "description": "Calendar root with `role=\"application\"` and a static aria-label.",
        "part": "host-inner"
      },
      {
        "attributes": [],
        "description": "Jumper container.",
        "part": "jumper"
      },
      {
        "attributes": [
          {
            "name": "aria-label",
            "value": "dynamic"
          }
        ],
        "description": "Stepper button labelled by the prev/next month or year i18n text.",
        "part": "jumper-button"
      },
      {
        "attributes": [],
        "description": "Month stepper group.",
        "part": "jumper-month"
      },
      {
        "attributes": [],
        "description": "Year stepper group.",
        "part": "jumper-year"
      },
      {
        "attributes": [
          {
            "name": "aria-label",
            "value": "dynamic"
          }
        ],
        "description": "Month dropdown labelled by `select-month`.",
        "part": "month-select"
      },
      {
        "attributes": [
          {
            "name": "aria-label",
            "value": "dynamic"
          }
        ],
        "description": "Next-month button labelled by `next-month`.",
        "part": "next-button"
      },
      {
        "attributes": [
          {
            "name": "aria-label",
            "value": "dynamic"
          }
        ],
        "description": "Previous-month button labelled by `prev-month`.",
        "part": "previous-button"
      },
      {
        "attributes": [],
        "description": "Month and year title container.",
        "part": "title"
      },
      {
        "attributes": [
          {
            "name": "role",
            "value": "row"
          }
        ],
        "description": "Week row (`role=\"row\"`).",
        "part": "week"
      },
      {
        "attributes": [
          {
            "name": "role",
            "value": "columnheader"
          }
        ],
        "description": "Weekday header cell (`role=\"columnheader\"`).",
        "part": "weekday"
      },
      {
        "attributes": [
          {
            "name": "aria-label",
            "value": "dynamic"
          }
        ],
        "description": "Year input labelled by `select-year`.",
        "part": "year-input"
      }
    ],
    "notes": [
      "Roving tabindex: only the selected day (or today when nothing is selected) is tabbable; arrow keys move focus within the grid.",
      "The grid combines `role=\"application\"` on the root with grid, row, columnheader, and gridcell semantics."
    ]
  },
  "attributes": [
    {
      "default": "false",
      "description": "Selects today's date on initialization when no `value` is given.",
      "from": "BaseCalendarMixin",
      "name": "today",
      "property": "today",
      "reflect": false,
      "tokens": null,
      "type": "boolean",
      "values": null
    },
    {
      "default": "false",
      "description": "Replaces the prev/next month buttons with a month select and a four-digit year input, each with its own stepper buttons.",
      "from": "BaseCalendarMixin",
      "name": "jumpable",
      "property": "jumpable",
      "reflect": false,
      "tokens": null,
      "type": "boolean",
      "values": null
    },
    {
      "default": "0",
      "description": "First day of the week, from 0 (Sunday) to 6 (Saturday).",
      "from": "BaseCalendarMixin",
      "name": "starts-with",
      "property": "starts-with",
      "reflect": false,
      "tokens": null,
      "type": "number",
      "values": null
    },
    {
      "default": "''",
      "description": "Comma-separated ISO dates (YYYY-MM-DD) that cannot be selected.",
      "from": "BaseCalendarMixin",
      "name": "disabled-dates",
      "property": "disabled-dates",
      "reflect": false,
      "tokens": null,
      "type": "string",
      "values": null
    },
    {
      "default": "''",
      "description": "Comma-separated ISO dates (YYYY-MM-DD) rendered with an indicator dot.",
      "from": "BaseCalendarMixin",
      "name": "marked-dates",
      "property": "marked-dates",
      "reflect": false,
      "tokens": null,
      "type": "string",
      "values": null
    },
    {
      "default": "new Date().toISOString().split('T')[0]",
      "description": "ISO date (YYYY-MM-DD) whose month is displayed; defaults to today in UTC.",
      "from": "BaseCalendarMixin",
      "name": "view-date",
      "property": "view-date",
      "reflect": false,
      "tokens": null,
      "type": "string",
      "values": null
    },
    {
      "default": "''",
      "description": "Earliest selectable date (ISO, inclusive).",
      "from": "BaseCalendarMixin",
      "name": "min",
      "property": "min",
      "reflect": false,
      "tokens": null,
      "type": "string",
      "values": null
    },
    {
      "default": "''",
      "description": "Latest selectable date (ISO, inclusive).",
      "from": "BaseCalendarMixin",
      "name": "max",
      "property": "max",
      "reflect": false,
      "tokens": null,
      "type": "string",
      "values": null
    },
    {
      "default": "'short'",
      "description": "Length of the weekday names in the header: `long`, `short`, or `narrow`.",
      "from": "BaseCalendarMixin",
      "name": "weekday-format",
      "property": "weekday-format",
      "reflect": false,
      "tokens": null,
      "type": "'long' | 'short' | 'narrow'",
      "values": [
        "long",
        "short",
        "narrow"
      ]
    },
    {
      "default": "'en-us'",
      "description": "BCP-47 locale for month names, weekday names, and day labels.",
      "from": "BaseCalendarMixin",
      "name": "lang",
      "property": "lang",
      "reflect": false,
      "tokens": null,
      "type": "string",
      "values": null
    },
    {
      "default": "false",
      "description": "Disables the control so it cannot be interacted with.",
      "from": "InputMixin",
      "name": "disabled",
      "property": "disabled",
      "reflect": false,
      "tokens": null,
      "type": "boolean",
      "values": null
    },
    {
      "default": "''",
      "description": "Associates the hidden form input with a form by id, even when the component sits outside that form.",
      "from": "InputMixin",
      "name": "form",
      "property": "form",
      "reflect": false,
      "tokens": null,
      "type": "string",
      "values": null
    },
    {
      "default": "''",
      "description": "Field name for the hidden form input; array values submit as `name[]`.",
      "from": "InputMixin",
      "name": "name",
      "property": "name",
      "reflect": false,
      "tokens": null,
      "type": "string",
      "values": null
    },
    {
      "default": "''",
      "description": "Placeholder text for the control's empty state.",
      "from": "InputMixin",
      "name": "placeholder",
      "property": "placeholder",
      "reflect": false,
      "tokens": null,
      "type": "string",
      "values": null
    },
    {
      "default": "false",
      "description": "Marks the control as required.",
      "from": "InputMixin",
      "name": "required",
      "property": "required",
      "reflect": false,
      "tokens": null,
      "type": "boolean",
      "values": null
    },
    {
      "default": "''",
      "description": "Initially selected date (YYYY-MM-DD); also sets the month shown on initialization.",
      "from": "InputMixin",
      "name": "value",
      "property": "value",
      "reflect": false,
      "tokens": null,
      "type": "string",
      "values": null
    },
    {
      "default": "''",
      "description": "Per-instance text overrides as `key: text` pairs, merged over the global `z-i18n` script and the built-in defaults.",
      "from": "Hwc",
      "name": "i18n",
      "property": "i18n",
      "reflect": false,
      "tokens": null,
      "type": "string",
      "values": null
    },
    {
      "default": "''",
      "description": "Floating UI placement options (for example `offset` and `shiftPadding`) parsed as `key: value` pairs.",
      "from": "Hwc",
      "name": "floating",
      "property": "floating",
      "reflect": false,
      "tokens": null,
      "type": "string",
      "values": null
    },
    {
      "default": "false",
      "description": "Skips re-rendering after the first render; an existing `data-host-inner` child is adopted as the rendered DOM.",
      "from": "Hwc",
      "name": "force-prevent-rerender",
      "property": "force-prevent-rerender",
      "reflect": false,
      "tokens": null,
      "type": "boolean",
      "values": null
    },
    {
      "default": "''",
      "description": "Selector or id of an external element or `<template>` whose inner content is cloned in place of an inline `template[data-fn=\"template\"]` child.",
      "from": "Hwc",
      "name": "template",
      "property": "template",
      "reflect": false,
      "tokens": null,
      "type": "string",
      "values": null
    },
    {
      "default": "''",
      "description": "Adds classes to named parts as `key: classes` pairs; a plain string targets the default part.",
      "from": "Base",
      "name": "cls",
      "property": "cls",
      "reflect": false,
      "tokens": null,
      "type": "string",
      "values": null
    },
    {
      "default": "''",
      "description": "Adds inline styles to named parts as `key: styles` pairs; a plain string targets the default part.",
      "from": "Base",
      "name": "stl",
      "property": "stl",
      "reflect": false,
      "tokens": null,
      "type": "string",
      "values": null
    }
  ],
  "category": "inputs",
  "children": [
    {
      "attributes": [
        {
          "description": "Marks the script as configuration (value: `config`).",
          "name": "data-fn",
          "required": true,
          "values": [
            "config"
          ]
        },
        {
          "description": "Re-parses the configuration when the script mutates.",
          "name": "data-reactive",
          "required": false,
          "type": "boolean"
        }
      ],
      "description": "JSON configuration script parsed by the base class (i18n, cls, stl, floating).",
      "element": "script",
      "id": "config",
      "required": false,
      "selector": "script[data-fn=\"config\"][type=\"application/json\"]"
    },
    {
      "attributes": [
        {
          "description": "Marks the select as the data source (value: `data-source`).",
          "name": "data-fn",
          "required": true,
          "values": [
            "data-source"
          ]
        },
        {
          "description": "Re-parses the options when the select mutates.",
          "name": "data-reactive",
          "required": false,
          "type": "boolean"
        }
      ],
      "children": [
        {
          "attributes": [
            {
              "description": "Group header text; also the default group key.",
              "name": "label",
              "required": true,
              "type": "string"
            },
            {
              "description": "Disables every option in the group.",
              "name": "disabled",
              "required": false,
              "type": "boolean"
            },
            {
              "description": "Overrides the group key used in the parsed data.",
              "name": "data-key",
              "required": false,
              "type": "string"
            },
            {
              "description": "Comma-separated keywords stored with the group's data.",
              "name": "data-keywords",
              "required": false,
              "type": "comma-separated string"
            }
          ],
          "children": [
            {
              "attributes": [
                {
                  "description": "Value carried by this option in the parsed data.",
                  "name": "value",
                  "required": false,
                  "type": "string"
                },
                {
                  "description": "Makes the option non-selectable.",
                  "name": "disabled",
                  "required": false,
                  "type": "boolean"
                },
                {
                  "description": "Marks the option as initially selected.",
                  "name": "selected",
                  "required": false,
                  "type": "boolean"
                },
                {
                  "description": "Extra search terms, comma-separated; searched alongside the label and value.",
                  "name": "data-keywords",
                  "required": false,
                  "type": "comma-separated string"
                }
              ],
              "description": "One option entry within the group.",
              "element": "option",
              "repeatable": true
            }
          ],
          "description": "Groups options under a label.",
          "element": "optgroup",
          "repeatable": true
        },
        {
          "attributes": [
            {
              "description": "Value carried by this option in the parsed data.",
              "name": "value",
              "required": false,
              "type": "string"
            },
            {
              "description": "Makes the option non-selectable.",
              "name": "disabled",
              "required": false,
              "type": "boolean"
            },
            {
              "description": "Marks the option as initially selected.",
              "name": "selected",
              "required": false,
              "type": "boolean"
            },
            {
              "description": "Extra search terms, comma-separated.",
              "name": "data-keywords",
              "required": false,
              "type": "comma-separated string"
            }
          ],
          "description": "One ungrouped option entry.",
          "element": "option",
          "repeatable": true
        }
      ],
      "description": "Hidden select parsed into grouped option data by the base class.",
      "element": "select",
      "id": "data-source",
      "required": false,
      "selector": "select[data-fn=\"data-source\"]"
    },
    {
      "attributes": [
        {
          "description": "Marks the template as an icon source (value: `icons`).",
          "name": "data-fn",
          "required": true,
          "values": [
            "icons"
          ]
        },
        {
          "description": "Re-parses the icons when the template mutates.",
          "name": "data-reactive",
          "required": false,
          "type": "boolean"
        }
      ],
      "children": [
        {
          "attributes": [
            {
              "description": "Icon key referenced by `$icons`.",
              "name": "data-key",
              "required": true,
              "type": "string"
            }
          ],
          "description": "One icon element.",
          "element": "*",
          "repeatable": true
        }
      ],
      "description": "Instance-level icon repository.",
      "element": "template",
      "id": "icons",
      "required": false,
      "selector": "template[data-fn=\"icons\"]"
    },
    {
      "attributes": [
        {
          "description": "Marks the template for deferred mounting (value: `template`).",
          "name": "data-fn",
          "required": true,
          "values": [
            "template"
          ]
        },
        {
          "description": "Re-parses the template when it mutates.",
          "name": "data-reactive",
          "required": false,
          "type": "boolean"
        }
      ],
      "description": "Deferred content template mounted by the base class.",
      "element": "template",
      "id": "template",
      "required": false,
      "selector": "template[data-fn=\"template\"]"
    }
  ],
  "cssClasses": [
    {
      "appliesTo": ".z-cal",
      "class": ".z-active",
      "description": "State class on the selected day cell.",
      "role": "state"
    },
    {
      "appliesTo": "z-calendar",
      "class": ".z-cal",
      "description": "Root calendar class.",
      "role": "root"
    },
    {
      "appliesTo": ".z-cal",
      "class": ".z-cal-divider",
      "description": "Modifier that switches the grid to a divided, row-separated layout.",
      "role": "modifier"
    },
    {
      "appliesTo": ".z-cal",
      "class": ".z-cal-header",
      "description": "Header bar layout (flex row).",
      "role": "element"
    },
    {
      "appliesTo": ".z-cal",
      "class": ".z-cal-header-l",
      "description": "Left header group that keeps its natural width.",
      "role": "element"
    },
    {
      "appliesTo": ".z-cal",
      "class": ".z-cal-header-r",
      "description": "Right header group that keeps its natural width.",
      "role": "element"
    },
    {
      "appliesTo": ".z-cal",
      "class": ".z-cal-jumper",
      "description": "Jumper layout container.",
      "role": "element"
    },
    {
      "appliesTo": ".z-cal",
      "class": ".z-cal-jumper-month",
      "description": "Month group layout.",
      "role": "element"
    },
    {
      "appliesTo": ".z-cal",
      "class": ".z-cal-jumper-year",
      "description": "Year group layout.",
      "role": "element"
    },
    {
      "appliesTo": ".z-cal",
      "class": ".z-cal-marked",
      "description": "State class on marked day cells; renders the indicator dot.",
      "role": "state"
    },
    {
      "appliesTo": ".z-cal",
      "class": ".z-cal-oom",
      "description": "State class on outside-month day cells (muted).",
      "role": "state"
    },
    {
      "appliesTo": ".z-cal",
      "class": ".z-cal-title",
      "description": "Month and year title styling.",
      "role": "element"
    }
  ],
  "cssVars": [
    {
      "affects": [
        "background-color"
      ],
      "default": "var(--z-primary)",
      "description": "Background color of the selected day button.",
      "file": "src/css/kit-components/date.css",
      "kind": "base",
      "name": "--z-cal-cell-active-bg",
      "scope": ".z-cal table tbody tr td.z-active button",
      "syntax": "<color>"
    },
    {
      "affects": [
        "background-color"
      ],
      "default": "100%",
      "description": "Opacity applied to the selected day background.",
      "file": "src/css/kit-components/date.css",
      "kind": "base",
      "name": "--z-cal-cell-active-bg-o",
      "scope": ".z-cal table tbody tr td.z-active button",
      "syntax": "<percentage>"
    },
    {
      "affects": [
        "color"
      ],
      "default": "var(--z-primary-f)",
      "description": "Text color of the selected day.",
      "file": "src/css/kit-components/date.css",
      "kind": "base",
      "name": "--z-cal-cell-active-color",
      "scope": ".z-cal table tbody tr td.z-active button",
      "syntax": "<color>"
    },
    {
      "affects": [
        "color"
      ],
      "default": "100%",
      "description": "Opacity applied to the selected day text color.",
      "file": "src/css/kit-components/date.css",
      "kind": "base",
      "name": "--z-cal-cell-active-color-o",
      "scope": ".z-cal table tbody tr td.z-active button",
      "syntax": "<percentage>"
    },
    {
      "affects": [
        "font-size"
      ],
      "default": "1rem",
      "description": "Font size of the day numbers.",
      "file": "src/css/kit-components/date.css",
      "kind": "base",
      "name": "--z-cal-cell-body-font-size",
      "scope": ".z-cal table tbody tr td",
      "syntax": "<length>"
    },
    {
      "affects": [
        "color"
      ],
      "default": "var(--z-muted-f)",
      "description": "Text color of the weekday headers.",
      "file": "src/css/kit-components/date.css",
      "kind": "base",
      "name": "--z-cal-cell-header-color",
      "scope": ".z-cal table thead th",
      "syntax": "<color>"
    },
    {
      "affects": [
        "color"
      ],
      "default": "100%",
      "description": "Opacity applied to the weekday header text color.",
      "file": "src/css/kit-components/date.css",
      "kind": "base",
      "name": "--z-cal-cell-header-color-o",
      "scope": ".z-cal table thead th",
      "syntax": "<percentage>"
    },
    {
      "affects": [
        "font-size"
      ],
      "default": "0.875rem",
      "description": "Font size of the weekday headers.",
      "file": "src/css/kit-components/date.css",
      "kind": "base",
      "name": "--z-cal-cell-header-font-size",
      "scope": ".z-cal table thead th",
      "syntax": "<length>"
    },
    {
      "affects": [
        "background-color"
      ],
      "default": "var(--z-accent)",
      "description": "Background color of day buttons on hover.",
      "file": "src/css/kit-components/date.css",
      "kind": "base",
      "name": "--z-cal-cell-hover-bg",
      "scope": ".z-cal table tbody tr td button:hover",
      "syntax": "<color>"
    },
    {
      "affects": [
        "background-color"
      ],
      "default": "var(--z-accent-o)",
      "description": "Opacity applied to the hover background color.",
      "file": "src/css/kit-components/date.css",
      "kind": "base",
      "name": "--z-cal-cell-hover-bg-o",
      "scope": ".z-cal table tbody tr td button:hover",
      "syntax": "<percentage>"
    },
    {
      "affects": [
        "color"
      ],
      "default": "var(--z-accent-f)",
      "description": "Text color of day buttons on hover.",
      "file": "src/css/kit-components/date.css",
      "kind": "base",
      "name": "--z-cal-cell-hover-color",
      "scope": ".z-cal table tbody tr td button:hover",
      "syntax": "<color>"
    },
    {
      "affects": [
        "color"
      ],
      "default": "100%",
      "description": "Opacity applied to the hover text color.",
      "file": "src/css/kit-components/date.css",
      "kind": "base",
      "name": "--z-cal-cell-hover-color-o",
      "scope": ".z-cal table tbody tr td button:hover",
      "syntax": "<percentage>"
    },
    {
      "affects": [
        "color"
      ],
      "default": "var(--z-muted-f)",
      "description": "Text color of outside-month days.",
      "file": "src/css/kit-components/date.css",
      "kind": "base",
      "name": "--z-cal-cell-oom-color",
      "scope": ".z-cal table tbody tr td.z-cal-oom button",
      "syntax": "<color>"
    },
    {
      "affects": [
        "color"
      ],
      "default": "100%",
      "description": "Opacity applied to the outside-month day text color.",
      "file": "src/css/kit-components/date.css",
      "kind": "base",
      "name": "--z-cal-cell-oom-color-o",
      "scope": ".z-cal table tbody tr td.z-cal-oom button",
      "syntax": "<percentage>"
    },
    {
      "affects": [
        "padding"
      ],
      "default": "0",
      "description": "Padding inside day cells.",
      "file": "src/css/kit-components/date.css",
      "kind": "base",
      "name": "--z-cal-cell-padding",
      "scope": ".z-cal table tbody tr td",
      "syntax": "<length>"
    },
    {
      "affects": [
        "border-radius"
      ],
      "default": "var(--z-global-radius)",
      "description": "Corner radius of day cells.",
      "file": "src/css/kit-components/date.css",
      "kind": "base",
      "name": "--z-cal-cell-radius",
      "scope": ".z-cal table tbody tr td",
      "syntax": "<length>"
    },
    {
      "affects": [
        "height",
        "max-width",
        "width"
      ],
      "default": "2.5rem",
      "description": "Width and height of each day cell; also constrains the calendar's max width.",
      "file": "src/css/kit-components/date.css",
      "kind": "base",
      "name": "--z-cal-cell-size",
      "scope": ".z-cal",
      "syntax": "<length>"
    },
    {
      "affects": [
        "margin-block-end"
      ],
      "default": "0.25rem",
      "description": "Bottom margin of cells in the divider variant.",
      "file": "src/css/kit-components/date.css",
      "kind": "base",
      "name": "--z-cal-divider-cell-margin-bottom",
      "scope": ".z-cal-divider table tbody tr td",
      "syntax": "<length>"
    },
    {
      "affects": [
        "gap"
      ],
      "default": "0.25rem",
      "description": "Row gap of the divider variant's body.",
      "file": "src/css/kit-components/date.css",
      "kind": "base",
      "name": "--z-cal-divider-table-body-row-gap",
      "scope": ".z-cal-divider table tbody",
      "syntax": "<length>"
    },
    {
      "affects": [
        "border-color"
      ],
      "default": "var(--z-border)",
      "description": "Row border color in the divider variant.",
      "file": "src/css/kit-components/date.css",
      "kind": "base",
      "name": "--z-cal-divider-table-row-border-color",
      "scope": ".z-cal-divider table tbody tr",
      "syntax": "<color>"
    },
    {
      "affects": [
        "border-color"
      ],
      "default": "var(--z-border-o)",
      "description": "Opacity applied to divider row borders.",
      "file": "src/css/kit-components/date.css",
      "kind": "base",
      "name": "--z-cal-divider-table-row-border-color-o",
      "scope": ".z-cal-divider table tbody tr",
      "syntax": "<percentage>"
    },
    {
      "affects": [
        "border-bottom-width"
      ],
      "default": "1px",
      "description": "Bottom border width of divider rows.",
      "file": "src/css/kit-components/date.css",
      "kind": "base",
      "name": "--z-cal-divider-table-row-border-width",
      "scope": ".z-cal-divider table tbody tr",
      "syntax": "<length>"
    },
    {
      "affects": [
        "column-gap"
      ],
      "default": "0.5rem",
      "description": "Gap between header items.",
      "file": "src/css/kit-components/date.css",
      "kind": "base",
      "name": "--z-cal-header-column-gap",
      "scope": ".z-cal-header",
      "syntax": "<length>"
    },
    {
      "affects": [
        "transition-duration"
      ],
      "default": "150ms",
      "description": "Duration of the day-button hover transition.",
      "file": "src/css/kit-components/date.css",
      "kind": "base",
      "name": "--z-cal-hover-duration",
      "scope": ".z-cal table tbody tr td button:hover",
      "syntax": "<time>"
    },
    {
      "affects": [
        "column-gap"
      ],
      "default": "0.5rem",
      "description": "Gap between jumper groups.",
      "file": "src/css/kit-components/date.css",
      "kind": "base",
      "name": "--z-cal-jumper-column-gap",
      "scope": ".z-cal-jumper",
      "syntax": "<length>"
    },
    {
      "affects": [],
      "default": "3rem",
      "description": "Width token for the jumper's year input; declared in the jumper scope but not consumed by any current rule.",
      "file": "src/css/kit-components/date.css",
      "kind": "base",
      "name": "--z-cal-jumper-input-width",
      "scope": ".z-cal-jumper",
      "syntax": "<length>"
    },
    {
      "affects": [
        "background-color"
      ],
      "default": "var(--z-info)",
      "description": "Background tint of marked cells.",
      "file": "src/css/kit-components/date.css",
      "kind": "base",
      "name": "--z-cal-marked-bg",
      "scope": ".z-cal-marked",
      "syntax": "<color>"
    },
    {
      "affects": [
        "background-color"
      ],
      "default": "4%",
      "description": "Opacity applied to the marked-cell tint.",
      "file": "src/css/kit-components/date.css",
      "kind": "base",
      "name": "--z-cal-marked-bg-o",
      "scope": ".z-cal-marked",
      "syntax": "<percentage>"
    },
    {
      "affects": [
        "border"
      ],
      "default": "var(--z-info)",
      "description": "Border color of marked cells.",
      "file": "src/css/kit-components/date.css",
      "kind": "base",
      "name": "--z-cal-marked-border-color",
      "scope": ".z-cal-marked",
      "syntax": "<color>"
    },
    {
      "affects": [
        "border"
      ],
      "default": "32%",
      "description": "Opacity applied to the marked-cell border color.",
      "file": "src/css/kit-components/date.css",
      "kind": "base",
      "name": "--z-cal-marked-border-color-o",
      "scope": ".z-cal-marked",
      "syntax": "<percentage>"
    },
    {
      "affects": [
        "background-color"
      ],
      "default": "var(--z-info)",
      "description": "Color of the marked-date indicator dot.",
      "file": "src/css/kit-components/date.css",
      "kind": "base",
      "name": "--z-cal-marked-dot-color",
      "scope": ".z-cal-marked",
      "syntax": "<color>"
    },
    {
      "affects": [
        "background-color"
      ],
      "default": "100%",
      "description": "Opacity applied to the indicator dot color.",
      "file": "src/css/kit-components/date.css",
      "kind": "base",
      "name": "--z-cal-marked-dot-color-o",
      "scope": ".z-cal-marked",
      "syntax": "<percentage>"
    },
    {
      "affects": [
        "transform"
      ],
      "default": "0.75rem",
      "description": "Position offset of the marked-date indicator dot.",
      "file": "src/css/kit-components/date.css",
      "kind": "base",
      "name": "--z-cal-marked-dot-offset",
      "scope": ".z-cal-marked::after",
      "syntax": "<length>"
    },
    {
      "affects": [
        "height",
        "width"
      ],
      "default": "0.25rem",
      "description": "Width and height of the indicator dot.",
      "file": "src/css/kit-components/date.css",
      "kind": "base",
      "name": "--z-cal-marked-dot-size",
      "scope": ".z-cal-marked",
      "syntax": "<length>"
    },
    {
      "affects": [
        "gap"
      ],
      "default": "0.5rem",
      "description": "Gap between week rows.",
      "file": "src/css/kit-components/date.css",
      "kind": "base",
      "name": "--z-cal-table-body-row-gap",
      "scope": ".z-cal table tbody",
      "syntax": "<length>"
    },
    {
      "affects": [
        "gap"
      ],
      "default": "0.125rem",
      "description": "Gap between cells within a row.",
      "file": "src/css/kit-components/date.css",
      "kind": "base",
      "name": "--z-cal-table-cell-gap",
      "scope": ".z-cal table tbody tr, .z-cal table thead tr",
      "syntax": "<length>"
    },
    {
      "affects": [
        "gap"
      ],
      "default": "0.5rem",
      "description": "Gap between the table's header and body sections.",
      "file": "src/css/kit-components/date.css",
      "kind": "base",
      "name": "--z-cal-table-row-gap",
      "scope": ".z-cal table",
      "syntax": "<length>"
    },
    {
      "affects": [
        "font-weight"
      ],
      "default": "500",
      "description": "Font weight of the month and year title.",
      "file": "src/css/kit-components/date.css",
      "kind": "base",
      "name": "--z-cal-title-font-weight",
      "scope": ".z-cal-title",
      "syntax": "<number>"
    }
  ],
  "dataHooks": [
    {
      "appliesTo": "descendant",
      "attribute": "data-host-inner",
      "description": "Marks the rendered inner wrapper so `force-prevent-rerender` can adopt server-rendered DOM without re-rendering.",
      "from": "Hwc",
      "role": "config",
      "values": []
    },
    {
      "appliesTo": "descendant",
      "attribute": "data-iso",
      "description": "Full ISO timestamp bound to each day button; used for keyboard navigation and selection.",
      "role": "marker",
      "values": []
    },
    {
      "appliesTo": "descendant",
      "attribute": "data-reactive",
      "description": "Opts the marked child (config script, data source, icons, or template) into live re-parsing when its DOM mutates.",
      "from": "Hwc",
      "role": "config",
      "values": []
    }
  ],
  "events": [
    {
      "bubbles": true,
      "cancelable": false,
      "description": "Fires when the selected date changes; `detail.value` carries the ISO date string.",
      "detail": {
        "fields": [
          {
            "name": "value",
            "type": "string | string[]"
          }
        ],
        "type": "{ value: string | string[] }"
      },
      "from": "InputMixin",
      "name": "z-calendar:change"
    }
  ],
  "i18n": [
    {
      "default": "Next month",
      "description": "Accessible label of the next-month button in the header and jumper.",
      "key": "next-month",
      "placeholders": [],
      "usedIn": [
        "jumper-button",
        "next-button"
      ]
    },
    {
      "default": "Next year",
      "description": "Accessible label of the jumper's next-year button.",
      "key": "next-year",
      "placeholders": [],
      "usedIn": [
        "jumper-button"
      ]
    },
    {
      "default": "Previous month",
      "description": "Accessible label of the previous-month button in the header and jumper.",
      "key": "prev-month",
      "placeholders": [],
      "usedIn": [
        "jumper-button",
        "previous-button"
      ]
    },
    {
      "default": "Previous year",
      "description": "Accessible label of the jumper's previous-year button.",
      "key": "prev-year",
      "placeholders": [],
      "usedIn": [
        "jumper-button"
      ]
    },
    {
      "default": "Select month",
      "description": "Accessible label of the month dropdown.",
      "key": "select-month",
      "placeholders": [],
      "usedIn": [
        "month-select"
      ]
    },
    {
      "default": "Select year",
      "description": "Accessible label of the year input.",
      "key": "select-year",
      "placeholders": [],
      "usedIn": [
        "year-input"
      ]
    }
  ],
  "icons": [
    {
      "builtin": true,
      "configuredBy": null,
      "description": "Icon on the previous-month and jumper stepper buttons.",
      "key": "chevron-left",
      "usedIn": [
        "jumper-button",
        "previous-button"
      ]
    },
    {
      "builtin": true,
      "configuredBy": null,
      "description": "Icon on the next-month and jumper stepper buttons.",
      "key": "chevron-right",
      "usedIn": [
        "jumper-button",
        "next-button"
      ]
    }
  ],
  "id": "calendar",
  "inherits": [
    "BaseCalendarMixin",
    "InputMixin",
    "Hwc",
    "Base"
  ],
  "keyboard": [
    {
      "action": "Move focus to the previous / next enabled day.",
      "keys": [
        "ArrowLeft",
        "ArrowRight"
      ],
      "when": "Focus is on a day button"
    },
    {
      "action": "Move focus to the same weekday in the previous / next week, skipping disabled days.",
      "keys": [
        "ArrowUp",
        "ArrowDown"
      ],
      "when": "Focus is on a day button"
    },
    {
      "action": "Move focus to the first / last enabled day of the week.",
      "keys": [
        "Home",
        "End"
      ],
      "when": "Focus is on a day button"
    },
    {
      "action": "Step to the previous / next month.",
      "keys": [
        "PageUp",
        "PageDown"
      ],
      "when": "Focus is on a day button"
    },
    {
      "action": "Step to the previous / next year.",
      "keys": [
        "Ctrl+PageUp",
        "Ctrl+PageDown",
        "Meta+PageUp",
        "Meta+PageDown"
      ],
      "when": "Focus is on a day button"
    },
    {
      "action": "Select the focused day.",
      "keys": [
        "Enter",
        " "
      ],
      "when": "Focus is on a day button"
    }
  ],
  "kind": "hwc",
  "methods": [],
  "notes": [
    "Dates are parsed and emitted in UTC (YYYY-MM-DD) to prevent timezone off-by-one shifts.",
    "Selecting an outside-month day steps the view to that month."
  ],
  "parts": {
    "defaultClsTarget": "host-inner",
    "defaultStlTarget": "host-inner",
    "items": [
      {
        "defaultCls": "z-nothing",
        "description": "Class on the buttons of marked dates.",
        "foundIn": [
          "$cls",
          "render"
        ],
        "key": "button-marked",
        "supportsCls": true,
        "supportsStl": false
      },
      {
        "defaultCls": "z-nothing",
        "description": "Class on the buttons of outside-month days.",
        "foundIn": [
          "$cls",
          "render"
        ],
        "key": "button-outside-month",
        "supportsCls": true,
        "supportsStl": false
      },
      {
        "defaultCls": "z-nothing",
        "description": "Class on the selected day's button.",
        "foundIn": [
          "$cls",
          "render"
        ],
        "key": "button-selected",
        "supportsCls": true,
        "supportsStl": false
      },
      {
        "defaultCls": "z-nothing",
        "description": "Class on today's button.",
        "foundIn": [
          "$cls",
          "render"
        ],
        "key": "button-today",
        "supportsCls": true,
        "supportsStl": false
      },
      {
        "defaultCls": "",
        "description": "Day cell wrapper; carries selected, today, marked, and outside-month state classes.",
        "foundIn": [
          "render"
        ],
        "key": "day",
        "supportsCls": true,
        "supportsStl": true
      },
      {
        "defaultCls": "",
        "description": "Focusable button inside each day cell.",
        "foundIn": [
          "render"
        ],
        "key": "day-button",
        "supportsCls": true,
        "supportsStl": true
      },
      {
        "defaultCls": "z-cal-marked",
        "description": "Class on cells whose date is listed in `marked-dates`.",
        "foundIn": [
          "$cls",
          "render"
        ],
        "key": "day-marked",
        "supportsCls": true,
        "supportsStl": false
      },
      {
        "defaultCls": "z-cal-oom",
        "description": "Class on cells belonging to the previous or next month.",
        "foundIn": [
          "$cls",
          "render"
        ],
        "key": "day-outside-month",
        "supportsCls": true,
        "supportsStl": false
      },
      {
        "defaultCls": "z-active",
        "description": "Class on the selected day cell.",
        "foundIn": [
          "$cls",
          "render"
        ],
        "key": "day-selected",
        "supportsCls": true,
        "supportsStl": false
      },
      {
        "defaultCls": "z-nothing",
        "description": "Class on today's day cell.",
        "foundIn": [
          "$cls",
          "render"
        ],
        "key": "day-today",
        "supportsCls": true,
        "supportsStl": false
      },
      {
        "defaultCls": "",
        "description": "Table laying out the weekday header and week rows.",
        "foundIn": [
          "render"
        ],
        "key": "grid",
        "supportsCls": true,
        "supportsStl": true
      },
      {
        "defaultCls": "z-cal-header",
        "description": "Month navigation bar above the grid.",
        "foundIn": [
          "$cls",
          "render"
        ],
        "key": "header",
        "supportsCls": true,
        "supportsStl": true
      },
      {
        "defaultCls": "z-cal",
        "description": "Outer calendar wrapper; the default `cls` and `stl` target.",
        "foundIn": [
          "$cls",
          "render"
        ],
        "key": "host-inner",
        "supportsCls": true,
        "supportsStl": true
      },
      {
        "defaultCls": "z-cal-jumper",
        "description": "Month and year stepper container shown when `jumpable` is set.",
        "foundIn": [
          "$cls",
          "render"
        ],
        "key": "jumper",
        "supportsCls": true,
        "supportsStl": true
      },
      {
        "defaultCls": "z-button z-button-secondary z-button-icon z-button-small",
        "description": "Stepper button shared by the month and year groups.",
        "foundIn": [
          "$cls",
          "render"
        ],
        "key": "jumper-button",
        "supportsCls": true,
        "supportsStl": true
      },
      {
        "defaultCls": "z-cal-jumper-month",
        "description": "Month group: stepper buttons around the month select.",
        "foundIn": [
          "$cls",
          "render"
        ],
        "key": "jumper-month",
        "supportsCls": true,
        "supportsStl": true
      },
      {
        "defaultCls": "z-cal-jumper-year",
        "description": "Year group: stepper buttons around the year input.",
        "foundIn": [
          "$cls",
          "render"
        ],
        "key": "jumper-year",
        "supportsCls": true,
        "supportsStl": true
      },
      {
        "defaultCls": "z-select z-form-small",
        "description": "Dropdown of month names.",
        "foundIn": [
          "$cls",
          "render"
        ],
        "key": "month-select",
        "supportsCls": true,
        "supportsStl": true
      },
      {
        "defaultCls": "z-button z-button-secondary z-button-icon z-button-small",
        "description": "Button that steps to the next month.",
        "foundIn": [
          "$cls",
          "render"
        ],
        "key": "next-button",
        "supportsCls": true,
        "supportsStl": true
      },
      {
        "defaultCls": "z-button z-button-secondary z-button-icon z-button-small",
        "description": "Button that steps to the previous month.",
        "foundIn": [
          "$cls",
          "render"
        ],
        "key": "previous-button",
        "supportsCls": true,
        "supportsStl": true
      },
      {
        "defaultCls": "z-cal-title",
        "description": "Month and year label, or the jumper when `jumpable` is set.",
        "foundIn": [
          "$cls",
          "render"
        ],
        "key": "title",
        "supportsCls": true,
        "supportsStl": true
      },
      {
        "defaultCls": "",
        "description": "Row of seven day cells.",
        "foundIn": [
          "render"
        ],
        "key": "week",
        "supportsCls": true,
        "supportsStl": true
      },
      {
        "defaultCls": "",
        "description": "Single weekday header cell.",
        "foundIn": [
          "render"
        ],
        "key": "weekday",
        "supportsCls": true,
        "supportsStl": true
      },
      {
        "defaultCls": "",
        "description": "Header row of weekday names.",
        "foundIn": [
          "render"
        ],
        "key": "weekdays",
        "supportsCls": true,
        "supportsStl": true
      },
      {
        "defaultCls": "z-input z-form-small",
        "description": "Four-digit year input.",
        "foundIn": [
          "$cls",
          "render"
        ],
        "key": "year-input",
        "supportsCls": true,
        "supportsStl": true
      }
    ]
  },
  "recipes": [],
  "related": [],
  "schemaVersion": 1,
  "sources": {
    "css": [
      "src/css/kit-components/date.css"
    ],
    "cssSelectors": [
      ".z-cal",
      ".z-cal-*"
    ],
    "ts": "src/js/hwc/components/calendar.ts"
  },
  "summary": "Accessible date grid with keyboard navigation, a month/year jumper, marked and disabled dates, and i18n/icon overrides.",
  "tag": "z-calendar",
  "title": "Calendar"
}
