{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "jsonforms-time-cell",
  "description": "JSONForms time cell for time fields inside array table layouts.",
  "dependencies": [
    "@jsonforms/core",
    "@jsonforms/react"
  ],
  "registryDependencies": [
    "input"
  ],
  "files": [
    {
      "path": "registry/forms/renderers/cells/time-cell.tsx",
      "content": "import { CellProps, isTimeControl, rankWith } from '@jsonforms/core';\nimport { withJsonFormsCellProps } from '@jsonforms/react';\n\nimport { Input } from '~/components/ui/input';\n\nconst TimeCell = ({ data, handleChange, path, enabled }: CellProps) => (\n    <Input\n        type=\"time\"\n        value={data ?? ''}\n        onChange={e => handleChange(path, e.target.value)}\n        disabled={!enabled}\n        className=\"h-8 text-xs\"\n    />\n);\n\nexport const timeCellTester = rankWith(1, isTimeControl);\nexport default withJsonFormsCellProps(TimeCell);",
      "type": "registry:component",
      "target": "components/forms/renderers/cells/time-cell.tsx"
    }
  ],
  "type": "registry:component"
}