{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "The toolbar above a table: search and filter controls on the left (children), the actions on the right (`actions`). One tab stop group (role toolbar).",
  "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/parts/table-toolbar.json\n\npackage blocks\n\nimport (\n\t\"github.com/ui8kit/codegen/generated/templ/ui/box\"\n\t\"github.com/ui8kit/codegen/generated/templ/compose\"\n\t\"github.com/ui8kit/codegen/generated/templ/ui/text\"\n\tuiutils \"github.com/ui8kit/codegen/generated/templ/orgutils\"\n)\n\n// TableToolbarProps are the props of TableToolbar; the values are the JSON shapes of the TypeScript props.\ntype TableToolbarProps struct {\n\tLabel any `json:\"label\"`\n\tClass string `json:\"className\"`\n\tActions templ.Component `json:\"-\"`\n}\n\n// The toolbar above a table: search and filter controls on the left (children), the actions on the right (`actions`). One tab stop group (role toolbar).\ntempl TableToolbar(p TableToolbarProps) {\n\t{{ vLabel := p.Label }}\n\t@compose.Box(compose.BoxProps{BoxProps: box.BoxProps{Class: uiutils.S(uiutils.Cnv(\"flex flex-wrap items-center justify-between gap-2\", p.Class)), Attrs: uiutils.Attrs(\"role\", \"toolbar\", \"aria-label\", vLabel, \"data-slot\", \"table-toolbar\")}}) {\n\t\t@compose.Inline(compose.InlineProps{TextProps: text.TextProps{Class: \"flex min-w-0 flex-wrap items-center gap-2\"}}) {\n\t\t\t{ children... }\n\t\t}\n\t\t@compose.Inline(compose.InlineProps{TextProps: text.TextProps{Class: \"flex flex-wrap items-center gap-2\"}}) {\n\t\t\tif p.Actions != nil {\n\t\t\t\t@p.Actions\n\t\t\t}\n\t\t}\n\t}\n}\n",
      "path": "blocks/table-toolbar.templ",
      "target": "blocks/table-toolbar.templ"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "templ",
      "component"
    ]
  },
  "name": "table-toolbar",
  "registryDependencies": [
    "box",
    "inline",
    "kit-box",
    "kit-text",
    "utils"
  ],
  "runtime": "templ",
  "title": "Table Toolbar",
  "type": "registry:component"
}
