{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "progress-group",
  "type": "registry:ui",
  "title": "Progress Group",
  "dependencies": [
    "@base-ui-next/react"
  ],
  "registryDependencies": [
    "https://hamur.dev/r/react/utils.json"
  ],
  "files": [
    {
      "path": "react/progress-group.tsx",
      "content": "'use client'\n\nimport { ProgressGroup as ProgressGroupPrimitive } from '@base-ui-next/react/progress-group' // base-ui-next/ui progress-group@0.1.0\nimport { cn } from '@/lib/utils'\n\nconst progressGroupClassName = 'flex flex-wrap gap-3'\n\nconst progressGroupLabelClassName = 'text-sm font-medium'\n\nconst progressGroupValueClassName = 'ml-auto text-sm text-muted-foreground tabular-nums'\n\nconst progressGroupTrackClassName =\n  'relative flex h-1.5 w-full items-center overflow-x-hidden rounded-full bg-muted'\n\nconst progressGroupIndicatorClassName =\n  'h-full shrink-0 bg-primary/25 transition-all not-last:not-data-empty:border-e-2 not-last:not-data-empty:border-background data-[index=0]:bg-primary data-[index=1]:bg-primary/70 data-[index=2]:bg-primary/45 forced-colors:not-data-empty:border forced-colors:not-data-empty:border-solid'\n\nconst progressGroupItemClassName =\n  'flex items-center gap-1.5 text-sm before:size-2 before:shrink-0 before:rounded-full before:bg-primary/25 data-[index=0]:before:bg-primary data-[index=1]:before:bg-primary/70 data-[index=2]:before:bg-primary/45 forced-colors:before:border forced-colors:before:border-solid'\n\nconst progressGroupItemLabelClassName = 'text-muted-foreground'\n\nconst progressGroupItemValueClassName = 'tabular-nums'\n\n// No shadcn item: Base UI's component ID as slug (docs/design/log/meter-group.md, decision 55).\n// One name per part; the root renders only its children, since each Indicator and Item names the\n// index of its value.\nfunction ProgressGroup({ className, ...props }: ProgressGroupPrimitive.Root.Props) {\n  return (\n    <ProgressGroupPrimitive.Root\n      data-slot=\"progress-group\"\n      className={cn(progressGroupClassName, className)}\n      {...props}\n    />\n  )\n}\n\nfunction ProgressGroupLabel({ className, ...props }: ProgressGroupPrimitive.Label.Props) {\n  return (\n    <ProgressGroupPrimitive.Label\n      data-slot=\"progress-group-label\"\n      className={cn(progressGroupLabelClassName, className)}\n      {...props}\n    />\n  )\n}\n\nfunction ProgressGroupValue({ className, ...props }: ProgressGroupPrimitive.Value.Props) {\n  return (\n    <ProgressGroupPrimitive.Value\n      data-slot=\"progress-group-value\"\n      className={cn(progressGroupValueClassName, className)}\n      {...props}\n    />\n  )\n}\n\nfunction ProgressGroupTrack({ className, ...props }: ProgressGroupPrimitive.Track.Props) {\n  return (\n    <ProgressGroupPrimitive.Track\n      data-slot=\"progress-group-track\"\n      className={cn(progressGroupTrackClassName, className)}\n      {...props}\n    />\n  )\n}\n\nfunction ProgressGroupIndicator({ className, ...props }: ProgressGroupPrimitive.Indicator.Props) {\n  return (\n    <ProgressGroupPrimitive.Indicator\n      data-slot=\"progress-group-indicator\"\n      className={cn(progressGroupIndicatorClassName, className)}\n      {...props}\n    />\n  )\n}\n\nfunction ProgressGroupItem({ className, ...props }: ProgressGroupPrimitive.Item.Props) {\n  return (\n    <ProgressGroupPrimitive.Item\n      data-slot=\"progress-group-item\"\n      className={cn(progressGroupItemClassName, className)}\n      {...props}\n    />\n  )\n}\n\nfunction ProgressGroupItemLabel({ className, ...props }: ProgressGroupPrimitive.ItemLabel.Props) {\n  return (\n    <ProgressGroupPrimitive.ItemLabel\n      data-slot=\"progress-group-item-label\"\n      className={cn(progressGroupItemLabelClassName, className)}\n      {...props}\n    />\n  )\n}\n\nfunction ProgressGroupItemValue({ className, ...props }: ProgressGroupPrimitive.ItemValue.Props) {\n  return (\n    <ProgressGroupPrimitive.ItemValue\n      data-slot=\"progress-group-item-value\"\n      className={cn(progressGroupItemValueClassName, className)}\n      {...props}\n    />\n  )\n}\n\nexport {\n  ProgressGroup,\n  ProgressGroupIndicator,\n  ProgressGroupItem,\n  ProgressGroupItemLabel,\n  ProgressGroupItemValue,\n  ProgressGroupLabel,\n  ProgressGroupTrack,\n  ProgressGroupValue,\n}\n",
      "type": "registry:ui",
      "target": "@ui/progress-group.tsx"
    }
  ],
  "meta": {
    "baseUiNext": {
      "version": "0.1.0",
      "hash": "a87d6a052bbb8b9b2d21edd1b93a9d869ae9b6c5c4ca27a36e4d8da969f41dc6",
      "files": {
        "@ui/progress-group.tsx": "81701d68d9def65c54406b84918cff23ce3c5698146808cd0ce8a33eb5dee177"
      }
    }
  }
}
