{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "extends": "none",
  "name": "color-area",
  "title": "color-area",
  "description": "color-area",
  "dependencies": [
    "react-aria-components"
  ],
  "registryDependencies": [
    "https://intentui.com/r/primitive",
    "https://intentui.com/r/color-thumb"
  ],
  "files": [
    {
      "path": "src/components/ui/color-area.tsx",
      "content": "'use client'\n\nimport {\n  ColorArea as ColorAreaPrimitive,\n  type ColorAreaProps,\n} from 'react-aria-components/ColorArea'\nimport { cx } from '@/lib/primitive'\nimport { ColorThumb } from './color-thumb'\n\nexport function ColorArea({ className, ...props }: ColorAreaProps) {\n  return (\n    <ColorAreaPrimitive\n      {...props}\n      data-slot=\"color-area\"\n      className={cx(\n        'size-56 shrink-0 rounded-md bg-muted disabled:bg-muted-fg forced-colors:bg-[GrayText]',\n        className\n      )}\n      style={({ defaultStyle, isDisabled }) => ({\n        ...defaultStyle,\n        background: isDisabled ? undefined : defaultStyle.background,\n      })}\n    >\n      <ColorThumb />\n    </ColorAreaPrimitive>\n  )\n}\n",
      "type": "registry:ui"
    }
  ],
  "type": "registry:ui"
}