{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "A narrow number field between a minus and a plus ghost icon button, drawn as one control (4px inside its ring). Static markup: the buttons carry no logic; the page wires them.",
  "devDependencies": [],
  "digest": "0.1.0",
  "files": [
    {
      "content": "{#- Code generated by packages/kit-compose/src/server-organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT.\n    Source: packages/compose-gen/specs/organisms/number-field.json\n    A narrow number field between a minus and a plus ghost icon button, drawn as one control (4px inside its ring). Static markup: the buttons carry no logic; the page wires them.\n    Props (p): value, name, min, label, decrease, increase. -#}\n{%- set v_value = og_def(p['value'], '') -%}\n{%- set v_name = og_def(p['name'], '') -%}\n{%- set v_min = og_def(p['min'], '') -%}\n{%- set v_label = og_def(p['label'], none) -%}\n{%- set v_decrease = og_def(p['decrease'], none) -%}\n{%- set v_increase = og_def(p['increase'], none) -%}\n{%- set c_3 -%}\n  {%- set c_1 -%}\n    {{ og_include('icons/lucide-icon.html.j2', {'p': {'Name': 'minus', 'Size': 16}}) }}\n  {%- endset -%}\n  {{ og_include('compose/button.html.j2', {'p': {'Variant': 'ghost', 'Size': 'sm', 'Layout': 'icon', 'Type': 'button', 'AriaLabel': og_s(v_decrease)}, 'children': c_1}) }}\n  {{ og_include('compose/input.html.j2', {'p': {'Type': 'number', 'Name': og_s(v_name), 'Value': og_s(v_value), 'Min': og_s(v_min), 'Size': 'sm', 'Class': 'number-bare w-8 bg-transparent px-0 text-center inset-ring-0', 'Attrs': og_attrs(['aria-label', v_label])}}) }}\n  {%- set c_2 -%}\n    {{ og_include('icons/lucide-icon.html.j2', {'p': {'Name': 'plus', 'Size': 16}}) }}\n  {%- endset -%}\n  {{ og_include('compose/button.html.j2', {'p': {'Variant': 'ghost', 'Size': 'sm', 'Layout': 'icon', 'Type': 'button', 'AriaLabel': og_s(v_increase)}, 'children': c_2}) }}\n{%- endset -%}\n{{ og_include('compose/box.html.j2', {'p': {'Class': 'inline-flex h-10 items-center gap-1 rounded bg-background p-1 inset-ring inset-ring-input', 'Attrs': og_attrs(['data-slot', 'number-field'])}, 'children': c_3}) }}\n",
      "path": "blocks/number-field.html.j2",
      "target": "blocks/number-field.html.j2"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "jinja2",
      "component"
    ]
  },
  "name": "number-field",
  "registryDependencies": [
    "box",
    "button",
    "input",
    "lucide-icon",
    "utils"
  ],
  "runtime": "jinja2",
  "title": "Number Field",
  "type": "registry:component"
}
