{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "masked-input",
  "type": "registry:ui",
  "title": "Masked Input",
  "dependencies": [
    "@base-ui-next/react"
  ],
  "registryDependencies": [
    "https://hamur.dev/r/react/utils.json"
  ],
  "files": [
    {
      "path": "react/masked-input.tsx",
      "content": "'use client'\n\nimport { MaskedInput as MaskedInputPrimitive } from '@base-ui-next/react/masked-input' // base-ui-next/ui masked-input@0.1.1\nimport { cn } from '@/lib/utils'\n\nconst maskedInputClassName = 'relative w-full'\n\nconst maskedInputInputClassName =\n  'h-9 w-full min-w-0 rounded-md border border-input bg-transparent px-2.5 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 peer tabular-nums'\n\nconst maskedInputGuideClassName =\n  'pointer-events-none absolute inset-0 flex items-center overflow-hidden whitespace-pre rounded-md border border-transparent px-2.5 py-1 text-base text-muted-foreground tabular-nums md:text-sm peer-placeholder-shown:invisible peer-disabled:opacity-50'\n\nfunction MaskedInput({ className, ...props }: MaskedInputPrimitive.Root.Props) {\n  return (\n    <MaskedInputPrimitive.Root\n      data-slot=\"masked-input\"\n      className={cn(maskedInputClassName, className)}\n      {...props}\n    />\n  )\n}\n\nfunction MaskedInputInput({ className, ...props }: MaskedInputPrimitive.Input.Props) {\n  return (\n    <MaskedInputPrimitive.Input\n      data-slot=\"masked-input-input\"\n      className={cn(maskedInputInputClassName, className)}\n      {...props}\n    />\n  )\n}\n\nfunction MaskedInputGuide({ className, ...props }: MaskedInputPrimitive.Guide.Props) {\n  return (\n    <MaskedInputPrimitive.Guide\n      data-slot=\"masked-input-guide\"\n      className={cn(maskedInputGuideClassName, className)}\n      {...props}\n    />\n  )\n}\n\nexport { MaskedInput, MaskedInputGuide, MaskedInputInput }\n",
      "type": "registry:ui",
      "target": "@ui/masked-input.tsx"
    }
  ],
  "meta": {
    "baseUiNext": {
      "version": "0.1.1",
      "hash": "314efbd8852db121bcc1491d822c271645ecbb66994a7938514c4b7ba3bbd6a4",
      "files": {
        "@ui/masked-input.tsx": "8fad149b2fbd53fe79bf2e490cc5579b9ae399aa501db5f8881dc04cdbe14edb"
      }
    }
  }
}
