{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "checkbox-group",
  "type": "registry:ui",
  "title": "Checkbox Group",
  "description": "Provides shared state to a series of checkboxes.",
  "dependencies": [
    "@base-ui/react@1.8.0"
  ],
  "registryDependencies": [
    "https://ghost-ui.com/r/ghost-tokens.json",
    "https://ghost-ui.com/r/foundation.json",
    "https://ghost-ui.com/r/base-styled.json",
    "https://ghost-ui.com/r/shared-background.json",
    "https://ghost-ui.com/r/checkbox.json"
  ],
  "files": [
    {
      "path": "src/components/ui/checkbox-group.tsx",
      "type": "registry:component",
      "target": "@ui/checkbox-group.tsx",
      "content": "\"use client\";\n\nimport { CheckboxGroup as BaseCheckboxGroup } from \"@base-ui/react/checkbox-group\";\n\nimport { choiceStyled } from \"./base-styled\";\nimport { SharedBackground } from \"./shared-background\";\nimport \"./checkbox-group.css\";\n\nexport const CheckboxGroup = Object.assign(\n  /* @__PURE__ */ choiceStyled(BaseCheckboxGroup, \"ui-stack ui-check-group\", \"default\"),\n  { Rows: SharedBackground },\n);\n"
    },
    {
      "path": "src/components/ui/checkbox-group.css",
      "type": "registry:file",
      "target": "@ui/checkbox-group.css",
      "content": ".ui-check-group {\n  margin-inline: calc(-1 * var(--ui-choice-row-inset, 0px));\n}\n\n.ui-check-group .ui-shared-background__pill {\n  background: var(--ui-choice-row-hover, transparent);\n}\n\n.ui-check-group .ui-shared-background > [data-ui-shared-background-row] {\n  width: 100%;\n  background: transparent;\n}\n\n.ui-check-group .ui-shared-background > [data-ui-shared-background-row]:hover,\n.ui-check-group .ui-shared-background > [data-ui-shared-background-row]:focus-within {\n  background: transparent;\n}\n"
    }
  ]
}
