{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "fluid-form",
  "type": "registry:ui",
  "title": "<ui-fluid-form>",
  "description": "Carbon `FluidForm`: the fields inside it render fluid, as if each had `fluid` — the label sits inside a 64px box and an error / warning shows inside the box below a divider (Carbon's fluid fields have no helper line). Supported: `ui-text-input` (incl. password), `ui-text-area`, `ui-number-input`, `ui-select`, `ui-search`, `ui-dropdown`, `ui-combobox`, `ui-multi-select`, `ui-date-picker` (single and range) and `ui-time-picker` (with its selects as equal columns). Open list menus keep their normal row height (Carbon's fluid menus use 64px rows with the text at the top, which looks unintended). Copied from @purpurabog/ui 2.3.0; the package is the maintained source, this copy is yours to change. Icons from the Carbon Design System (Apache-2.0, © IBM Corp.; see THIRD-PARTY-NOTICES.md in the package).",
  "dependencies": [
    "lit@^3.3.0"
  ],
  "registryDependencies": [
    "@kanok-ui/shared-element",
    "@kanok-ui/tokens"
  ],
  "files": [
    {
      "path": "src/primitives/fluid-form/fluid-form.ts",
      "type": "registry:ui",
      "target": "components/ui/primitives/fluid-form/fluid-form.ts",
      "content": "import { html, css } from 'lit';\nimport { customElement } from 'lit/decorators.js';\nimport { UiElement } from '../shared/element.ts';\n\n/**\n * Carbon `FluidForm`: the fields inside it render fluid, as if each had `fluid` — the label sits\n * inside a 64px box and an error / warning shows inside the box below a divider (Carbon's fluid\n * fields have no helper line). Supported: `ui-text-input` (incl. password), `ui-text-area`,\n * `ui-number-input`, `ui-select`, `ui-search`, `ui-dropdown`, `ui-combobox`, `ui-multi-select`,\n * `ui-date-picker` (single and range) and `ui-time-picker` (with its selects as equal columns).\n * Open list menus keep their normal row height (Carbon's fluid menus use 64px rows with the text at\n * the top, which looks unintended).\n *\n * Only a context, like Carbon's: it doesn't lay the fields out (use `<ui-stack>` or a grid) and it\n * isn't a `<form>` (wrap it in yours — fields inside a shadow-root form wouldn't belong to it).\n *\n * @slot - Fields and any other content\n */\n@customElement('ui-fluid-form')\nexport class UiFluidForm extends UiElement {\n    static override readonly styles = css`\n        :host {\n            display: block;\n        }\n    `;\n\n    override render() {\n        return html`<slot></slot>`;\n    }\n}\n\ndeclare global {\n    interface HTMLElementTagNameMap {\n        'ui-fluid-form': UiFluidForm;\n    }\n}\n"
    }
  ]
}
