@iclips/ui 2.0.3 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) hide show
  1. package/MIGRATION-v3.md +244 -0
  2. package/dist/alert-theme.css +20 -79
  3. package/dist/components/ui/charts/donut-chart.cjs +1 -1
  4. package/dist/components/ui/charts/donut-chart.cjs.map +1 -1
  5. package/dist/components/ui/charts/donut-chart.js +39 -60
  6. package/dist/components/ui/charts/donut-chart.js.map +1 -1
  7. package/dist/components/ui/charts/kpi-card.cjs +1 -1
  8. package/dist/components/ui/charts/kpi-card.cjs.map +1 -1
  9. package/dist/components/ui/charts/kpi-card.js +19 -19
  10. package/dist/components/ui/charts/kpi-card.js.map +1 -1
  11. package/dist/components/ui/data/comment-system.cjs +1 -1
  12. package/dist/components/ui/data/comment-system.cjs.map +1 -1
  13. package/dist/components/ui/data/comment-system.js +67 -67
  14. package/dist/components/ui/data/comment-system.js.map +1 -1
  15. package/dist/components/ui/data/data-table.cjs +1 -1
  16. package/dist/components/ui/data/data-table.cjs.map +1 -1
  17. package/dist/components/ui/data/data-table.js +112 -101
  18. package/dist/components/ui/data/data-table.js.map +1 -1
  19. package/dist/components/ui/data/editorial-calendar.cjs +1 -1
  20. package/dist/components/ui/data/editorial-calendar.cjs.map +1 -1
  21. package/dist/components/ui/data/editorial-calendar.js +291 -291
  22. package/dist/components/ui/data/editorial-calendar.js.map +1 -1
  23. package/dist/components/ui/data/filter-builder.cjs +1 -1
  24. package/dist/components/ui/data/filter-builder.cjs.map +1 -1
  25. package/dist/components/ui/data/filter-builder.js +1 -1
  26. package/dist/components/ui/data/filter-builder.js.map +1 -1
  27. package/dist/components/ui/feedback/empty-state.cjs +1 -1
  28. package/dist/components/ui/feedback/empty-state.cjs.map +1 -1
  29. package/dist/components/ui/feedback/empty-state.js +14 -14
  30. package/dist/components/ui/feedback/empty-state.js.map +1 -1
  31. package/dist/components/ui/feedback/toast.cjs +1 -1
  32. package/dist/components/ui/feedback/toast.cjs.map +1 -1
  33. package/dist/components/ui/feedback/toast.js +53 -22
  34. package/dist/components/ui/feedback/toast.js.map +1 -1
  35. package/dist/components/ui/forms/calendar.cjs +1 -1
  36. package/dist/components/ui/forms/calendar.cjs.map +1 -1
  37. package/dist/components/ui/forms/calendar.js +16 -16
  38. package/dist/components/ui/forms/calendar.js.map +1 -1
  39. package/dist/components/ui/forms/combobox.cjs +1 -1
  40. package/dist/components/ui/forms/combobox.cjs.map +1 -1
  41. package/dist/components/ui/forms/combobox.js +78 -76
  42. package/dist/components/ui/forms/combobox.js.map +1 -1
  43. package/dist/components/ui/forms/file-attachment-list.cjs +1 -1
  44. package/dist/components/ui/forms/file-attachment-list.cjs.map +1 -1
  45. package/dist/components/ui/forms/file-attachment-list.js +4 -4
  46. package/dist/components/ui/forms/file-attachment-list.js.map +1 -1
  47. package/dist/components/ui/forms/file-upload-zone.cjs +2 -2
  48. package/dist/components/ui/forms/file-upload-zone.cjs.map +1 -1
  49. package/dist/components/ui/forms/file-upload-zone.js +55 -49
  50. package/dist/components/ui/forms/file-upload-zone.js.map +1 -1
  51. package/dist/components/ui/forms/form.cjs +1 -1
  52. package/dist/components/ui/forms/form.cjs.map +1 -1
  53. package/dist/components/ui/forms/form.js +11 -11
  54. package/dist/components/ui/forms/form.js.map +1 -1
  55. package/dist/components/ui/forms/input-validation.cjs +1 -1
  56. package/dist/components/ui/forms/input-validation.cjs.map +1 -1
  57. package/dist/components/ui/forms/input-validation.js +20 -20
  58. package/dist/components/ui/forms/input-validation.js.map +1 -1
  59. package/dist/components/ui/forms/multi-select.cjs +1 -1
  60. package/dist/components/ui/forms/multi-select.cjs.map +1 -1
  61. package/dist/components/ui/forms/multi-select.js +69 -67
  62. package/dist/components/ui/forms/multi-select.js.map +1 -1
  63. package/dist/components/ui/forms/radio-group.cjs +1 -1
  64. package/dist/components/ui/forms/radio-group.cjs.map +1 -1
  65. package/dist/components/ui/forms/radio-group.js +19 -19
  66. package/dist/components/ui/forms/radio-group.js.map +1 -1
  67. package/dist/components/ui/forms/social-button.cjs +1 -1
  68. package/dist/components/ui/forms/social-button.cjs.map +1 -1
  69. package/dist/components/ui/forms/social-button.js +6 -6
  70. package/dist/components/ui/forms/social-button.js.map +1 -1
  71. package/dist/components/ui/forms/toggle.cjs +1 -1
  72. package/dist/components/ui/forms/toggle.cjs.map +1 -1
  73. package/dist/components/ui/forms/toggle.js +7 -7
  74. package/dist/components/ui/forms/toggle.js.map +1 -1
  75. package/dist/components/ui/navigation/navigation-menu.cjs +1 -1
  76. package/dist/components/ui/navigation/navigation-menu.cjs.map +1 -1
  77. package/dist/components/ui/navigation/navigation-menu.js +14 -14
  78. package/dist/components/ui/navigation/navigation-menu.js.map +1 -1
  79. package/dist/components/ui/navigation/sidebar.cjs +1 -1
  80. package/dist/components/ui/navigation/sidebar.cjs.map +1 -1
  81. package/dist/components/ui/navigation/sidebar.js +44 -44
  82. package/dist/components/ui/navigation/sidebar.js.map +1 -1
  83. package/dist/components/ui/overlays/context-menu.cjs +1 -1
  84. package/dist/components/ui/overlays/context-menu.cjs.map +1 -1
  85. package/dist/components/ui/overlays/context-menu.js +1 -1
  86. package/dist/components/ui/overlays/context-menu.js.map +1 -1
  87. package/dist/components/ui/overlays/dropdown-menu.cjs +1 -1
  88. package/dist/components/ui/overlays/dropdown-menu.cjs.map +1 -1
  89. package/dist/components/ui/overlays/dropdown-menu.js +5 -5
  90. package/dist/components/ui/overlays/dropdown-menu.js.map +1 -1
  91. package/dist/components/ui/overlays/menubar.cjs +1 -1
  92. package/dist/components/ui/overlays/menubar.cjs.map +1 -1
  93. package/dist/components/ui/overlays/menubar.js +29 -29
  94. package/dist/components/ui/overlays/menubar.js.map +1 -1
  95. package/dist/components/ui/overlays/tooltip.cjs +1 -1
  96. package/dist/components/ui/overlays/tooltip.cjs.map +1 -1
  97. package/dist/components/ui/overlays/tooltip.js +12 -12
  98. package/dist/components/ui/overlays/tooltip.js.map +1 -1
  99. package/dist/components/ui/primitives/avatar.cjs +1 -1
  100. package/dist/components/ui/primitives/avatar.cjs.map +1 -1
  101. package/dist/components/ui/primitives/avatar.js +20 -27
  102. package/dist/components/ui/primitives/avatar.js.map +1 -1
  103. package/dist/components/ui/primitives/badge.cjs +1 -1
  104. package/dist/components/ui/primitives/badge.cjs.map +1 -1
  105. package/dist/components/ui/primitives/badge.js +13 -13
  106. package/dist/components/ui/primitives/badge.js.map +1 -1
  107. package/dist/components/ui/primitives/button.cjs +1 -1
  108. package/dist/components/ui/primitives/button.cjs.map +1 -1
  109. package/dist/components/ui/primitives/button.js +11 -8
  110. package/dist/components/ui/primitives/button.js.map +1 -1
  111. package/dist/index.cjs +1 -1
  112. package/dist/index.css +1 -1
  113. package/dist/index.d.cts +3 -3
  114. package/dist/index.d.ts +3 -3
  115. package/dist/index.js +34 -35
  116. package/dist/index.js.map +1 -1
  117. package/dist/preset.css +1 -2
  118. package/dist/toast-theme.css +100 -64
  119. package/dist/tokens.css +59 -159
  120. package/package.json +5 -3
  121. package/scripts/check-colors.mjs +208 -0
@@ -1 +1 @@
1
- {"version":3,"file":"dropdown-menu.js","sources":["../../../../src/components/ui/overlays/dropdown-menu.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as DropdownMenuPrimitive from \"@radix-ui/react-dropdown-menu\";\nimport { CheckIcon, ChevronRightIcon, CircleIcon } from \"lucide-react\";\n\nimport { cn } from \"../utils\";\n\nfunction DropdownMenu({\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.Root>) {\n return <DropdownMenuPrimitive.Root data-slot=\"dropdown-menu\" {...props} />;\n}\n\nfunction DropdownMenuPortal({\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.Portal>) {\n return (\n <DropdownMenuPrimitive.Portal data-slot=\"dropdown-menu-portal\" {...props} />\n );\n}\n\nconst DropdownMenuTrigger = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Trigger>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Trigger>\n>(({ ...props }, ref) => (\n <DropdownMenuPrimitive.Trigger\n ref={ref}\n data-slot=\"dropdown-menu-trigger\"\n {...props}\n />\n));\nDropdownMenuTrigger.displayName = DropdownMenuPrimitive.Trigger.displayName;\n\nconst DropdownMenuContent = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content>\n>(({ className, sideOffset = 4, ...props }, ref) => (\n <DropdownMenuPrimitive.Portal>\n <DropdownMenuPrimitive.Content\n ref={ref}\n data-slot=\"dropdown-menu-content\"\n sideOffset={sideOffset}\n className={cn(\n \"bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md\",\n className,\n )}\n {...props}\n />\n </DropdownMenuPrimitive.Portal>\n));\nDropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;\n\nconst DropdownMenuGroup = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Group>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Group>\n>(({ ...props }, ref) => (\n <DropdownMenuPrimitive.Group\n ref={ref}\n data-slot=\"dropdown-menu-group\"\n {...props}\n />\n));\nDropdownMenuGroup.displayName = DropdownMenuPrimitive.Group.displayName;\n\nconst DropdownMenuItem = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Item>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Item> & {\n inset?: boolean;\n variant?: \"default\" | \"destructive\";\n }\n>(({ className, inset, variant = \"default\", ...props }, ref) => (\n <DropdownMenuPrimitive.Item\n ref={ref}\n data-slot=\"dropdown-menu-item\"\n data-inset={inset}\n data-variant={variant}\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className,\n )}\n {...props}\n />\n));\nDropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;\n\nconst DropdownMenuCheckboxItem = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.CheckboxItem>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.CheckboxItem>\n>(({ className, children, checked, ...props }, ref) => (\n <DropdownMenuPrimitive.CheckboxItem\n ref={ref}\n data-slot=\"dropdown-menu-checkbox-item\"\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className,\n )}\n checked={checked}\n {...props}\n >\n <span className=\"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center\">\n <DropdownMenuPrimitive.ItemIndicator>\n <CheckIcon className=\"size-4\" />\n </DropdownMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </DropdownMenuPrimitive.CheckboxItem>\n));\nDropdownMenuCheckboxItem.displayName =\n DropdownMenuPrimitive.CheckboxItem.displayName;\n\nconst DropdownMenuRadioGroup = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.RadioGroup>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.RadioGroup>\n>(({ ...props }, ref) => (\n <DropdownMenuPrimitive.RadioGroup\n ref={ref}\n data-slot=\"dropdown-menu-radio-group\"\n {...props}\n />\n));\nDropdownMenuRadioGroup.displayName =\n DropdownMenuPrimitive.RadioGroup.displayName;\n\nconst DropdownMenuRadioItem = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.RadioItem>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.RadioItem>\n>(({ className, children, ...props }, ref) => (\n <DropdownMenuPrimitive.RadioItem\n ref={ref}\n data-slot=\"dropdown-menu-radio-item\"\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className,\n )}\n {...props}\n >\n <span className=\"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center\">\n <DropdownMenuPrimitive.ItemIndicator>\n <CircleIcon className=\"size-2 fill-current\" />\n </DropdownMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </DropdownMenuPrimitive.RadioItem>\n));\nDropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;\n\nconst DropdownMenuLabel = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Label>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Label> & {\n inset?: boolean;\n }\n>(({ className, inset, ...props }, ref) => (\n <DropdownMenuPrimitive.Label\n ref={ref}\n data-slot=\"dropdown-menu-label\"\n data-inset={inset}\n className={cn(\n \"px-2 py-1.5 text-sm font-semibold data-[inset]:pl-8\",\n className,\n )}\n {...props}\n />\n));\nDropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;\n\nconst DropdownMenuSeparator = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Separator>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Separator>\n>(({ className, ...props }, ref) => (\n <DropdownMenuPrimitive.Separator\n ref={ref}\n data-slot=\"dropdown-menu-separator\"\n className={cn(\"bg-border -mx-1 my-1 h-px\", className)}\n {...props}\n />\n));\nDropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName;\n\nconst DropdownMenuShortcut = React.forwardRef<\n HTMLSpanElement,\n React.ComponentProps<\"span\">\n>(({ className, ...props }, ref) => (\n <span\n ref={ref}\n data-slot=\"dropdown-menu-shortcut\"\n className={cn(\n \"text-muted-foreground ml-auto text-xs tracking-widest\",\n className,\n )}\n {...props}\n />\n));\nDropdownMenuShortcut.displayName = \"DropdownMenuShortcut\";\n\nfunction DropdownMenuSub({\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.Sub>) {\n return <DropdownMenuPrimitive.Sub data-slot=\"dropdown-menu-sub\" {...props} />;\n}\n\nconst DropdownMenuSubTrigger = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.SubTrigger>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubTrigger> & {\n inset?: boolean;\n }\n>(({ className, inset, children, ...props }, ref) => (\n <DropdownMenuPrimitive.SubTrigger\n ref={ref}\n data-slot=\"dropdown-menu-sub-trigger\"\n data-inset={inset}\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8\",\n className,\n )}\n {...props}\n >\n {children}\n <ChevronRightIcon className=\"ml-auto size-4\" />\n </DropdownMenuPrimitive.SubTrigger>\n));\nDropdownMenuSubTrigger.displayName =\n DropdownMenuPrimitive.SubTrigger.displayName;\n\nconst DropdownMenuSubContent = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.SubContent>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubContent>\n>(({ className, ...props }, ref) => (\n <DropdownMenuPrimitive.SubContent\n ref={ref}\n data-slot=\"dropdown-menu-sub-content\"\n className={cn(\n \"bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg\",\n className,\n )}\n {...props}\n />\n));\nDropdownMenuSubContent.displayName =\n DropdownMenuPrimitive.SubContent.displayName;\n\nexport {\n DropdownMenu,\n DropdownMenuPortal,\n DropdownMenuTrigger,\n DropdownMenuContent,\n DropdownMenuGroup,\n DropdownMenuLabel,\n DropdownMenuItem,\n DropdownMenuCheckboxItem,\n DropdownMenuRadioGroup,\n DropdownMenuRadioItem,\n DropdownMenuSeparator,\n DropdownMenuShortcut,\n DropdownMenuSub,\n DropdownMenuSubTrigger,\n DropdownMenuSubContent,\n};\n"],"names":["DropdownMenu","props","DropdownMenuPrimitive","DropdownMenuPortal","DropdownMenuTrigger","React","ref","jsx","DropdownMenuContent","className","sideOffset","cn","DropdownMenuGroup","DropdownMenuItem","inset","variant","DropdownMenuCheckboxItem","children","checked","jsxs","CheckIcon","DropdownMenuRadioGroup","DropdownMenuRadioItem","CircleIcon","DropdownMenuLabel","DropdownMenuSeparator","DropdownMenuShortcut","DropdownMenuSub","DropdownMenuSubTrigger","ChevronRightIcon","DropdownMenuSubContent"],"mappings":";;;;;;AAQA,SAASA,EAAa;AAAA,EACpB,GAAGC;AACL,GAA4D;AAC1D,2BAAQC,EAAsB,MAAtB,EAA2B,aAAU,i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AC3C,gBAAAa;AAAA,EAACjB,EAAsB;AAAA,EAAtB;AAAA,IACC,KAAAI;AAAA,IACA,aAAU;AAAA,IACV,cAAYQ;AAAA,IACZ,WAAWH;AAAA,MACT;AAAA,MACAF;AAAA,IAAA;AAAA,IAED,GAAGR;AAAA,IAEH,UAAA;AAAA,MAAAgB;AAAA,MACD,gBAAAV,EAACsB,GAAA,EAAiB,WAAU,iBAAA,CAAiB;AAAA,IAAA;AAAA,EAAA;AAC/C,CACD;AACDD,EAAuB,cACrB1B,EAAsB,WAAW;AAEnC,MAAM4B,IAAyBzB,EAAM,WAGnC,CAAC,EAAE,WAAAI,GAAW,GAAGR,EAAA,GAASK,MAC1B,gBAAAC;AAAA,EAACL,EAAsB;AAAA,EAAtB;AAAA,IACC,KAAAI;AAAA,IACA,aAAU;AAAA,IACV,WAAWK;AAAA,MACT;AAAA,MACAF;AAAA,IAAA;AAAA,IAED,GAAGR;AAAA,EAAA;AACN,CACD;AACD6B,EAAuB,cACrB5B,EAAsB,WAAW;"}
1
+ {"version":3,"file":"dropdown-menu.js","sources":["../../../../src/components/ui/overlays/dropdown-menu.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as DropdownMenuPrimitive from \"@radix-ui/react-dropdown-menu\";\nimport { CheckIcon, ChevronRightIcon, CircleIcon } from \"lucide-react\";\n\nimport { cn } from \"../utils\";\n\nfunction DropdownMenu({\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.Root>) {\n return <DropdownMenuPrimitive.Root data-slot=\"dropdown-menu\" {...props} />;\n}\n\nfunction DropdownMenuPortal({\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.Portal>) {\n return (\n <DropdownMenuPrimitive.Portal data-slot=\"dropdown-menu-portal\" {...props} />\n );\n}\n\nconst DropdownMenuTrigger = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Trigger>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Trigger>\n>(({ ...props }, ref) => (\n <DropdownMenuPrimitive.Trigger\n ref={ref}\n data-slot=\"dropdown-menu-trigger\"\n {...props}\n />\n));\nDropdownMenuTrigger.displayName = DropdownMenuPrimitive.Trigger.displayName;\n\nconst DropdownMenuContent = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content>\n>(({ className, sideOffset = 4, ...props }, ref) => (\n <DropdownMenuPrimitive.Portal>\n <DropdownMenuPrimitive.Content\n ref={ref}\n data-slot=\"dropdown-menu-content\"\n sideOffset={sideOffset}\n className={cn(\n \"bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md\",\n className,\n )}\n {...props}\n />\n </DropdownMenuPrimitive.Portal>\n));\nDropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;\n\nconst DropdownMenuGroup = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Group>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Group>\n>(({ ...props }, ref) => (\n <DropdownMenuPrimitive.Group\n ref={ref}\n data-slot=\"dropdown-menu-group\"\n {...props}\n />\n));\nDropdownMenuGroup.displayName = DropdownMenuPrimitive.Group.displayName;\n\nconst DropdownMenuItem = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Item>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Item> & {\n inset?: boolean;\n variant?: \"default\" | \"destructive\";\n }\n>(({ className, inset, variant = \"default\", ...props }, ref) => (\n <DropdownMenuPrimitive.Item\n ref={ref}\n data-slot=\"dropdown-menu-item\"\n data-inset={inset}\n data-variant={variant}\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive-emphasis data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive-emphasis data-[variant=destructive]:*:[svg]:!text-destructive-emphasis [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className,\n )}\n {...props}\n />\n));\nDropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;\n\nconst DropdownMenuCheckboxItem = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.CheckboxItem>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.CheckboxItem>\n>(({ className, children, checked, ...props }, ref) => (\n <DropdownMenuPrimitive.CheckboxItem\n ref={ref}\n data-slot=\"dropdown-menu-checkbox-item\"\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className,\n )}\n checked={checked}\n {...props}\n >\n <span className=\"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center\">\n <DropdownMenuPrimitive.ItemIndicator>\n <CheckIcon className=\"size-4\" />\n </DropdownMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </DropdownMenuPrimitive.CheckboxItem>\n));\nDropdownMenuCheckboxItem.displayName =\n DropdownMenuPrimitive.CheckboxItem.displayName;\n\nconst DropdownMenuRadioGroup = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.RadioGroup>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.RadioGroup>\n>(({ ...props }, ref) => (\n <DropdownMenuPrimitive.RadioGroup\n ref={ref}\n data-slot=\"dropdown-menu-radio-group\"\n {...props}\n />\n));\nDropdownMenuRadioGroup.displayName =\n DropdownMenuPrimitive.RadioGroup.displayName;\n\nconst DropdownMenuRadioItem = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.RadioItem>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.RadioItem>\n>(({ className, children, ...props }, ref) => (\n <DropdownMenuPrimitive.RadioItem\n ref={ref}\n data-slot=\"dropdown-menu-radio-item\"\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className,\n )}\n {...props}\n >\n <span className=\"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center\">\n <DropdownMenuPrimitive.ItemIndicator>\n <CircleIcon className=\"size-2 fill-current\" />\n </DropdownMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </DropdownMenuPrimitive.RadioItem>\n));\nDropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;\n\nconst DropdownMenuLabel = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Label>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Label> & {\n inset?: boolean;\n }\n>(({ className, inset, ...props }, ref) => (\n <DropdownMenuPrimitive.Label\n ref={ref}\n data-slot=\"dropdown-menu-label\"\n data-inset={inset}\n className={cn(\n \"px-2 py-1.5 text-sm font-semibold data-[inset]:pl-8\",\n className,\n )}\n {...props}\n />\n));\nDropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;\n\nconst DropdownMenuSeparator = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Separator>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Separator>\n>(({ className, ...props }, ref) => (\n <DropdownMenuPrimitive.Separator\n ref={ref}\n data-slot=\"dropdown-menu-separator\"\n className={cn(\"bg-border -mx-1 my-1 h-px\", className)}\n {...props}\n />\n));\nDropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName;\n\nconst DropdownMenuShortcut = React.forwardRef<\n HTMLSpanElement,\n React.ComponentProps<\"span\">\n>(({ className, ...props }, ref) => (\n <span\n ref={ref}\n data-slot=\"dropdown-menu-shortcut\"\n className={cn(\n \"text-muted-foreground ml-auto text-xs tracking-widest\",\n className,\n )}\n {...props}\n />\n));\nDropdownMenuShortcut.displayName = \"DropdownMenuShortcut\";\n\nfunction DropdownMenuSub({\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.Sub>) {\n return <DropdownMenuPrimitive.Sub data-slot=\"dropdown-menu-sub\" {...props} />;\n}\n\nconst DropdownMenuSubTrigger = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.SubTrigger>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubTrigger> & {\n inset?: boolean;\n }\n>(({ className, inset, children, ...props }, ref) => (\n <DropdownMenuPrimitive.SubTrigger\n ref={ref}\n data-slot=\"dropdown-menu-sub-trigger\"\n data-inset={inset}\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8\",\n className,\n )}\n {...props}\n >\n {children}\n <ChevronRightIcon className=\"ml-auto size-4\" />\n </DropdownMenuPrimitive.SubTrigger>\n));\nDropdownMenuSubTrigger.displayName =\n DropdownMenuPrimitive.SubTrigger.displayName;\n\nconst DropdownMenuSubContent = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.SubContent>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubContent>\n>(({ className, ...props }, ref) => (\n <DropdownMenuPrimitive.SubContent\n ref={ref}\n data-slot=\"dropdown-menu-sub-content\"\n className={cn(\n \"bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg\",\n className,\n )}\n {...props}\n />\n));\nDropdownMenuSubContent.displayName =\n DropdownMenuPrimitive.SubContent.displayName;\n\nexport {\n DropdownMenu,\n DropdownMenuPortal,\n DropdownMenuTrigger,\n DropdownMenuContent,\n DropdownMenuGroup,\n DropdownMenuLabel,\n DropdownMenuItem,\n DropdownMenuCheckboxItem,\n DropdownMenuRadioGroup,\n DropdownMenuRadioItem,\n DropdownMenuSeparator,\n DropdownMenuShortcut,\n DropdownMenuSub,\n DropdownMenuSubTrigger,\n DropdownMenuSubContent,\n};\n"],"names":["DropdownMenu","props","DropdownMenuPrimitive","DropdownMenuPortal","DropdownMenuTrigger","React","ref","jsx","DropdownMenuContent","className","sideOffset","cn","DropdownMenuGroup","DropdownMenuItem","inset","variant","DropdownMenuCheckboxItem","children","checked","jsxs","CheckIcon","DropdownMenuRadioGroup","DropdownMenuRadioItem","CircleIcon","DropdownMenuLabel","DropdownMenuSeparator","DropdownMenuShortcut","DropdownMenuSub","DropdownMenuSubTrigger","ChevronRightIcon","DropdownMenuSubContent"],"mappings":";;;;;;AAQA,SAASA,EAAa;AAAA,EACpB,GAAGC;AACL,GAA4D;AAC1D,2BAAQC,EAAsB,MAAtB,EAA2B,aAAU,iBAAiB,GAAGD,GAA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A,EAACjB,EAAsB;AAAA,EAAtB;AAAA,IACC,KAAAI;AAAA,IACA,aAAU;AAAA,IACV,cAAYQ;AAAA,IACZ,WAAWH;AAAA,MACT;AAAA,MACAF;AAAA,IAAA;AAAA,IAED,GAAGR;AAAA,IAEH,UAAA;AAAA,MAAAgB;AAAA,MACD,gBAAAV,EAACsB,GAAA,EAAiB,WAAU,iBAAA,CAAiB;AAAA,IAAA;AAAA,EAAA;AAC/C,CACD;AACDD,EAAuB,cACrB1B,EAAsB,WAAW;AAEnC,MAAM4B,IAAyBzB,EAAM,WAGnC,CAAC,EAAE,WAAAI,GAAW,GAAGR,EAAA,GAASK,MAC1B,gBAAAC;AAAA,EAACL,EAAsB;AAAA,EAAtB;AAAA,IACC,KAAAI;AAAA,IACA,aAAU;AAAA,IACV,WAAWK;AAAA,MACT;AAAA,MACAF;AAAA,IAAA;AAAA,IAED,GAAGR;AAAA,EAAA;AACN,CACD;AACD6B,EAAuB,cACrB5B,EAAsB,WAAW;"}
@@ -1,2 +1,2 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),S=require("react"),I=require("@radix-ui/react-menubar"),u=require("lucide-react"),d=require("../utils.cjs");function c(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const s=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,s.get?s:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const o=c(S),a=c(I),l=o.forwardRef(({className:e,...t},n)=>r.jsx(a.Root,{ref:n,"data-slot":"menubar",className:d.cn("bg-background flex h-9 items-center gap-1 rounded-md border p-1 shadow-xs",e),...t}));l.displayName=a.Root.displayName;function z({...e}){return r.jsx(a.Menu,{"data-slot":"menubar-menu",...e})}const m=o.forwardRef(({...e},t)=>r.jsx(a.Group,{ref:t,"data-slot":"menubar-group",...e}));m.displayName=a.Group.displayName;function b({...e}){return r.jsx(a.Portal,{"data-slot":"menubar-portal",...e})}const p=o.forwardRef(({...e},t)=>r.jsx(a.RadioGroup,{ref:t,"data-slot":"menubar-radio-group",...e}));p.displayName=a.RadioGroup.displayName;const f=o.forwardRef(({className:e,...t},n)=>r.jsx(a.Trigger,{ref:n,"data-slot":"menubar-trigger",className:d.cn("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex items-center rounded-sm px-2 py-1 text-sm font-medium outline-hidden select-none",e),...t}));f.displayName=a.Trigger.displayName;const g=o.forwardRef(({className:e,align:t="start",alignOffset:n=-4,sideOffset:s=8,...i},w)=>r.jsx(b,{children:r.jsx(a.Content,{ref:w,"data-slot":"menubar-content",align:t,alignOffset:n,sideOffset:s,className:d.cn("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[12rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-md",e),...i})}));g.displayName=a.Content.displayName;const x=o.forwardRef(({className:e,inset:t,variant:n="default",...s},i)=>r.jsx(a.Item,{ref:i,"data-slot":"menubar-item","data-inset":t,"data-variant":n,className:d.cn("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...s}));x.displayName=a.Item.displayName;const v=o.forwardRef(({className:e,children:t,checked:n,...s},i)=>r.jsxs(a.CheckboxItem,{ref:i,"data-slot":"menubar-checkbox-item",className:d.cn("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),checked:n,...s,children:[r.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:r.jsx(a.ItemIndicator,{children:r.jsx(u.CheckIcon,{className:"size-4"})})}),t]}));v.displayName=a.CheckboxItem.displayName;const y=o.forwardRef(({className:e,children:t,...n},s)=>r.jsxs(a.RadioItem,{ref:s,"data-slot":"menubar-radio-item",className:d.cn("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...n,children:[r.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:r.jsx(a.ItemIndicator,{children:r.jsx(u.CircleIcon,{className:"size-2 fill-current"})})}),t]}));y.displayName=a.RadioItem.displayName;const N=o.forwardRef(({className:e,inset:t,...n},s)=>r.jsx(a.Label,{ref:s,"data-slot":"menubar-label","data-inset":t,className:d.cn("px-2 py-1.5 text-sm font-semibold data-[inset]:pl-8",e),...n}));N.displayName=a.Label.displayName;const M=o.forwardRef(({className:e,...t},n)=>r.jsx(a.Separator,{ref:n,"data-slot":"menubar-separator",className:d.cn("bg-border -mx-1 my-1 h-px",e),...t}));M.displayName=a.Separator.displayName;const h=o.forwardRef(({className:e,...t},n)=>r.jsx("span",{ref:n,"data-slot":"menubar-shortcut",className:d.cn("text-muted-foreground ml-auto text-xs tracking-widest",e),...t}));h.displayName="MenubarShortcut";function C({...e}){return r.jsx(a.Sub,{"data-slot":"menubar-sub",...e})}const j=o.forwardRef(({className:e,inset:t,children:n,...s},i)=>r.jsxs(a.SubTrigger,{ref:i,"data-slot":"menubar-sub-trigger","data-inset":t,className:d.cn("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-none select-none data-[inset]:pl-8",e),...s,children:[n,r.jsx(u.ChevronRightIcon,{className:"ml-auto h-4 w-4"})]}));j.displayName=a.SubTrigger.displayName;const R=o.forwardRef(({className:e,...t},n)=>r.jsx(a.SubContent,{ref:n,"data-slot":"menubar-sub-content",className:d.cn("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg",e),...t}));R.displayName=a.SubContent.displayName;exports.Menubar=l;exports.MenubarCheckboxItem=v;exports.MenubarContent=g;exports.MenubarGroup=m;exports.MenubarItem=x;exports.MenubarLabel=N;exports.MenubarMenu=z;exports.MenubarPortal=b;exports.MenubarRadioGroup=p;exports.MenubarRadioItem=y;exports.MenubarSeparator=M;exports.MenubarShortcut=h;exports.MenubarSub=C;exports.MenubarSubContent=R;exports.MenubarSubTrigger=j;exports.MenubarTrigger=f;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),S=require("react"),I=require("@radix-ui/react-menubar"),u=require("lucide-react"),d=require("../utils.cjs");function c(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const s=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,s.get?s:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const o=c(S),a=c(I),l=o.forwardRef(({className:e,...t},n)=>r.jsx(a.Root,{ref:n,"data-slot":"menubar",className:d.cn("bg-background flex h-9 items-center gap-1 rounded-md border p-1 shadow-xs",e),...t}));l.displayName=a.Root.displayName;function z({...e}){return r.jsx(a.Menu,{"data-slot":"menubar-menu",...e})}const m=o.forwardRef(({...e},t)=>r.jsx(a.Group,{ref:t,"data-slot":"menubar-group",...e}));m.displayName=a.Group.displayName;function b({...e}){return r.jsx(a.Portal,{"data-slot":"menubar-portal",...e})}const p=o.forwardRef(({...e},t)=>r.jsx(a.RadioGroup,{ref:t,"data-slot":"menubar-radio-group",...e}));p.displayName=a.RadioGroup.displayName;const f=o.forwardRef(({className:e,...t},n)=>r.jsx(a.Trigger,{ref:n,"data-slot":"menubar-trigger",className:d.cn("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex items-center rounded-sm px-2 py-1 text-sm font-medium outline-hidden select-none",e),...t}));f.displayName=a.Trigger.displayName;const g=o.forwardRef(({className:e,align:t="start",alignOffset:n=-4,sideOffset:s=8,...i},w)=>r.jsx(b,{children:r.jsx(a.Content,{ref:w,"data-slot":"menubar-content",align:t,alignOffset:n,sideOffset:s,className:d.cn("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[12rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-md",e),...i})}));g.displayName=a.Content.displayName;const x=o.forwardRef(({className:e,inset:t,variant:n="default",...s},i)=>r.jsx(a.Item,{ref:i,"data-slot":"menubar-item","data-inset":t,"data-variant":n,className:d.cn("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive-emphasis data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive-emphasis data-[variant=destructive]:*:[svg]:!text-destructive-emphasis [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...s}));x.displayName=a.Item.displayName;const v=o.forwardRef(({className:e,children:t,checked:n,...s},i)=>r.jsxs(a.CheckboxItem,{ref:i,"data-slot":"menubar-checkbox-item",className:d.cn("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),checked:n,...s,children:[r.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:r.jsx(a.ItemIndicator,{children:r.jsx(u.CheckIcon,{className:"size-4"})})}),t]}));v.displayName=a.CheckboxItem.displayName;const h=o.forwardRef(({className:e,children:t,...n},s)=>r.jsxs(a.RadioItem,{ref:s,"data-slot":"menubar-radio-item",className:d.cn("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...n,children:[r.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:r.jsx(a.ItemIndicator,{children:r.jsx(u.CircleIcon,{className:"size-2 fill-current"})})}),t]}));h.displayName=a.RadioItem.displayName;const y=o.forwardRef(({className:e,inset:t,...n},s)=>r.jsx(a.Label,{ref:s,"data-slot":"menubar-label","data-inset":t,className:d.cn("px-2 py-1.5 text-sm font-semibold data-[inset]:pl-8",e),...n}));y.displayName=a.Label.displayName;const N=o.forwardRef(({className:e,...t},n)=>r.jsx(a.Separator,{ref:n,"data-slot":"menubar-separator",className:d.cn("bg-border -mx-1 my-1 h-px",e),...t}));N.displayName=a.Separator.displayName;const M=o.forwardRef(({className:e,...t},n)=>r.jsx("span",{ref:n,"data-slot":"menubar-shortcut",className:d.cn("text-muted-foreground ml-auto text-xs tracking-widest",e),...t}));M.displayName="MenubarShortcut";function C({...e}){return r.jsx(a.Sub,{"data-slot":"menubar-sub",...e})}const j=o.forwardRef(({className:e,inset:t,children:n,...s},i)=>r.jsxs(a.SubTrigger,{ref:i,"data-slot":"menubar-sub-trigger","data-inset":t,className:d.cn("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-none select-none data-[inset]:pl-8",e),...s,children:[n,r.jsx(u.ChevronRightIcon,{className:"ml-auto h-4 w-4"})]}));j.displayName=a.SubTrigger.displayName;const R=o.forwardRef(({className:e,...t},n)=>r.jsx(a.SubContent,{ref:n,"data-slot":"menubar-sub-content",className:d.cn("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg",e),...t}));R.displayName=a.SubContent.displayName;exports.Menubar=l;exports.MenubarCheckboxItem=v;exports.MenubarContent=g;exports.MenubarGroup=m;exports.MenubarItem=x;exports.MenubarLabel=y;exports.MenubarMenu=z;exports.MenubarPortal=b;exports.MenubarRadioGroup=p;exports.MenubarRadioItem=h;exports.MenubarSeparator=N;exports.MenubarShortcut=M;exports.MenubarSub=C;exports.MenubarSubContent=R;exports.MenubarSubTrigger=j;exports.MenubarTrigger=f;
2
2
  //# sourceMappingURL=menubar.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"menubar.cjs","sources":["../../../../src/components/ui/overlays/menubar.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as MenubarPrimitive from \"@radix-ui/react-menubar\";\nimport { CheckIcon, ChevronRightIcon, CircleIcon } from \"lucide-react\";\n\nimport { cn } from \"../utils\";\n\nconst Menubar = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Root>\n>(({ className, ...props }, ref) => (\n <MenubarPrimitive.Root\n ref={ref}\n data-slot=\"menubar\"\n className={cn(\n \"bg-background flex h-9 items-center gap-1 rounded-md border p-1 shadow-xs\",\n className,\n )}\n {...props}\n />\n));\nMenubar.displayName = MenubarPrimitive.Root.displayName;\n\nfunction MenubarMenu({\n ...props\n}: React.ComponentProps<typeof MenubarPrimitive.Menu>) {\n return <MenubarPrimitive.Menu data-slot=\"menubar-menu\" {...props} />;\n}\n\nconst MenubarGroup = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Group>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Group>\n>(({ ...props }, ref) => (\n <MenubarPrimitive.Group ref={ref} data-slot=\"menubar-group\" {...props} />\n));\nMenubarGroup.displayName = MenubarPrimitive.Group.displayName;\n\nfunction MenubarPortal({\n ...props\n}: React.ComponentProps<typeof MenubarPrimitive.Portal>) {\n return <MenubarPrimitive.Portal data-slot=\"menubar-portal\" {...props} />;\n}\n\nconst MenubarRadioGroup = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.RadioGroup>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.RadioGroup>\n>(({ ...props }, ref) => (\n <MenubarPrimitive.RadioGroup\n ref={ref}\n data-slot=\"menubar-radio-group\"\n {...props}\n />\n));\nMenubarRadioGroup.displayName = MenubarPrimitive.RadioGroup.displayName;\n\nconst MenubarTrigger = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Trigger>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Trigger>\n>(({ className, ...props }, ref) => (\n <MenubarPrimitive.Trigger\n ref={ref}\n data-slot=\"menubar-trigger\"\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex items-center rounded-sm px-2 py-1 text-sm font-medium outline-hidden select-none\",\n className,\n )}\n {...props}\n />\n));\nMenubarTrigger.displayName = MenubarPrimitive.Trigger.displayName;\n\nconst MenubarContent = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Content>\n>(\n (\n { className, align = \"start\", alignOffset = -4, sideOffset = 8, ...props },\n ref,\n ) => (\n <MenubarPortal>\n <MenubarPrimitive.Content\n ref={ref}\n data-slot=\"menubar-content\"\n align={align}\n alignOffset={alignOffset}\n sideOffset={sideOffset}\n className={cn(\n \"bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[12rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-md\",\n className,\n )}\n {...props}\n />\n </MenubarPortal>\n ),\n);\nMenubarContent.displayName = MenubarPrimitive.Content.displayName;\n\nconst MenubarItem = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Item>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Item> & {\n inset?: boolean;\n variant?: \"default\" | \"destructive\";\n }\n>(({ className, inset, variant = \"default\", ...props }, ref) => (\n <MenubarPrimitive.Item\n ref={ref}\n data-slot=\"menubar-item\"\n data-inset={inset}\n data-variant={variant}\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className,\n )}\n {...props}\n />\n));\nMenubarItem.displayName = MenubarPrimitive.Item.displayName;\n\nconst MenubarCheckboxItem = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.CheckboxItem>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.CheckboxItem>\n>(({ className, children, checked, ...props }, ref) => (\n <MenubarPrimitive.CheckboxItem\n ref={ref}\n data-slot=\"menubar-checkbox-item\"\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className,\n )}\n checked={checked}\n {...props}\n >\n <span className=\"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center\">\n <MenubarPrimitive.ItemIndicator>\n <CheckIcon className=\"size-4\" />\n </MenubarPrimitive.ItemIndicator>\n </span>\n {children}\n </MenubarPrimitive.CheckboxItem>\n));\nMenubarCheckboxItem.displayName = MenubarPrimitive.CheckboxItem.displayName;\n\nconst MenubarRadioItem = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.RadioItem>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.RadioItem>\n>(({ className, children, ...props }, ref) => (\n <MenubarPrimitive.RadioItem\n ref={ref}\n data-slot=\"menubar-radio-item\"\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className,\n )}\n {...props}\n >\n <span className=\"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center\">\n <MenubarPrimitive.ItemIndicator>\n <CircleIcon className=\"size-2 fill-current\" />\n </MenubarPrimitive.ItemIndicator>\n </span>\n {children}\n </MenubarPrimitive.RadioItem>\n));\nMenubarRadioItem.displayName = MenubarPrimitive.RadioItem.displayName;\n\nconst MenubarLabel = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Label>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Label> & {\n inset?: boolean;\n }\n>(({ className, inset, ...props }, ref) => (\n <MenubarPrimitive.Label\n ref={ref}\n data-slot=\"menubar-label\"\n data-inset={inset}\n className={cn(\n \"px-2 py-1.5 text-sm font-semibold data-[inset]:pl-8\",\n className,\n )}\n {...props}\n />\n));\nMenubarLabel.displayName = MenubarPrimitive.Label.displayName;\n\nconst MenubarSeparator = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Separator>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Separator>\n>(({ className, ...props }, ref) => (\n <MenubarPrimitive.Separator\n ref={ref}\n data-slot=\"menubar-separator\"\n className={cn(\"bg-border -mx-1 my-1 h-px\", className)}\n {...props}\n />\n));\nMenubarSeparator.displayName = MenubarPrimitive.Separator.displayName;\n\nconst MenubarShortcut = React.forwardRef<\n HTMLSpanElement,\n React.ComponentProps<\"span\">\n>(({ className, ...props }, ref) => (\n <span\n ref={ref}\n data-slot=\"menubar-shortcut\"\n className={cn(\n \"text-muted-foreground ml-auto text-xs tracking-widest\",\n className,\n )}\n {...props}\n />\n));\nMenubarShortcut.displayName = \"MenubarShortcut\";\n\nfunction MenubarSub({\n ...props\n}: React.ComponentProps<typeof MenubarPrimitive.Sub>) {\n return <MenubarPrimitive.Sub data-slot=\"menubar-sub\" {...props} />;\n}\n\nconst MenubarSubTrigger = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.SubTrigger>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.SubTrigger> & {\n inset?: boolean;\n }\n>(({ className, inset, children, ...props }, ref) => (\n <MenubarPrimitive.SubTrigger\n ref={ref}\n data-slot=\"menubar-sub-trigger\"\n data-inset={inset}\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-none select-none data-[inset]:pl-8\",\n className,\n )}\n {...props}\n >\n {children}\n <ChevronRightIcon className=\"ml-auto h-4 w-4\" />\n </MenubarPrimitive.SubTrigger>\n));\nMenubarSubTrigger.displayName = MenubarPrimitive.SubTrigger.displayName;\n\nconst MenubarSubContent = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.SubContent>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.SubContent>\n>(({ className, ...props }, ref) => (\n <MenubarPrimitive.SubContent\n ref={ref}\n data-slot=\"menubar-sub-content\"\n className={cn(\n \"bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg\",\n className,\n )}\n {...props}\n />\n));\nMenubarSubContent.displayName = MenubarPrimitive.SubContent.displayName;\n\nexport {\n Menubar,\n MenubarPortal,\n MenubarMenu,\n MenubarTrigger,\n MenubarContent,\n MenubarGroup,\n MenubarSeparator,\n MenubarLabel,\n MenubarItem,\n MenubarShortcut,\n MenubarCheckboxItem,\n MenubarRadioGroup,\n MenubarRadioItem,\n MenubarSub,\n MenubarSubTrigger,\n MenubarSubContent,\n};\n"],"names":["Menubar","React","className","props","ref","jsx","MenubarPrimitive","cn","MenubarMenu","MenubarGroup","MenubarPortal","MenubarRadioGroup","MenubarTrigger","MenubarContent","align","alignOffset","sideOffset","MenubarItem","inset","variant","MenubarCheckboxItem","children","checked","jsxs","CheckIcon","MenubarRadioItem","CircleIcon","MenubarLabel","MenubarSeparator","MenubarShortcut","MenubarSub","MenubarSubTrigger","ChevronRightIcon","MenubarSubContent"],"mappings":"+gBAQMA,EAAUC,EAAM,WAGpB,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAA,EAASC,IAC1BC,EAAAA,IAACC,EAAiB,KAAjB,CACC,IAAAF,EACA,YAAU,UACV,UAAWG,EAAAA,GACT,4EACAL,CAAA,EAED,GAAGC,CAAA,CACN,CACD,EACDH,EAAQ,YAAcM,EAAiB,KAAK,YAE5C,SAASE,EAAY,CACnB,GAAGL,CACL,EAAuD,CACrD,aAAQG,EAAiB,KAAjB,CAAsB,YAAU,eAAgB,GAAGH,EAAO,CACpE,CAEA,MAAMM,EAAeR,EAAM,WAGzB,CAAC,CAAE,GAAGE,GAASC,IACfC,EAAAA,IAACC,EAAiB,MAAjB,CAAuB,IAAAF,EAAU,YAAU,gBAAiB,GAAGD,EAAO,CACxE,EACDM,EAAa,YAAcH,EAAiB,MAAM,YAElD,SAASI,EAAc,CACrB,GAAGP,CACL,EAAyD,CACvD,aAAQG,EAAiB,OAAjB,CAAwB,YAAU,iBAAkB,GAAGH,EAAO,CACxE,C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EAAiB,YAActB,EAAiB,UAAU,YAE1D,MAAMuB,EAAkB5B,EAAM,WAG5B,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAA,EAASC,IAC1BC,EAAAA,IAAC,OAAA,CACC,IAAAD,EACA,YAAU,mBACV,UAAWG,EAAAA,GACT,wDACAL,CAAA,EAED,GAAGC,CAAA,CACN,CACD,EACD0B,EAAgB,YAAc,kBAE9B,SAASC,EAAW,CAClB,GAAG3B,CACL,EAAsD,CACpD,aAAQG,EAAiB,IAAjB,CAAqB,YAAU,cAAe,GAAGH,EAAO,CAClE,CAEA,MAAM4B,EAAoB9B,EAAM,WAK9B,CAAC,CAAE,UAAAC,EAAW,MAAAgB,EAAO,SAAAG,EAAU,GAAGlB,GAASC,IAC3CmB,EAAAA,KAACjB,EAAiB,WAAjB,CACC,IAAAF,EACA,YAAU,sBACV,aAAYc,EACZ,UAAWX,EAAAA,GACT,+NACAL,CAAA,EAED,GAAGC,EAEH,SAAA,CAAAkB,EACDhB,EAAAA,IAAC2B,EAAAA,iBAAA,CAAiB,UAAU,iBAAA,CAAkB,CAAA,CAAA,CAChD,CACD,EACDD,EAAkB,YAAczB,EAAiB,WAAW,YAE5D,MAAM2B,EAAoBhC,EAAM,WAG9B,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAA,EAASC,IAC1BC,EAAAA,IAACC,EAAiB,WAAjB,CACC,IAAAF,EACA,YAAU,sBACV,UAAWG,EAAAA,GACT,0eACAL,CAAA,EAED,GAAGC,CAAA,CACN,CACD,EACD8B,EAAkB,YAAc3B,EAAiB,WAAW"}
1
+ {"version":3,"file":"menubar.cjs","sources":["../../../../src/components/ui/overlays/menubar.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as MenubarPrimitive from \"@radix-ui/react-menubar\";\nimport { CheckIcon, ChevronRightIcon, CircleIcon } from \"lucide-react\";\n\nimport { cn } from \"../utils\";\n\nconst Menubar = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Root>\n>(({ className, ...props }, ref) => (\n <MenubarPrimitive.Root\n ref={ref}\n data-slot=\"menubar\"\n className={cn(\n \"bg-background flex h-9 items-center gap-1 rounded-md border p-1 shadow-xs\",\n className,\n )}\n {...props}\n />\n));\nMenubar.displayName = MenubarPrimitive.Root.displayName;\n\nfunction MenubarMenu({\n ...props\n}: React.ComponentProps<typeof MenubarPrimitive.Menu>) {\n return <MenubarPrimitive.Menu data-slot=\"menubar-menu\" {...props} />;\n}\n\nconst MenubarGroup = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Group>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Group>\n>(({ ...props }, ref) => (\n <MenubarPrimitive.Group ref={ref} data-slot=\"menubar-group\" {...props} />\n));\nMenubarGroup.displayName = MenubarPrimitive.Group.displayName;\n\nfunction MenubarPortal({\n ...props\n}: React.ComponentProps<typeof MenubarPrimitive.Portal>) {\n return <MenubarPrimitive.Portal data-slot=\"menubar-portal\" {...props} />;\n}\n\nconst MenubarRadioGroup = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.RadioGroup>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.RadioGroup>\n>(({ ...props }, ref) => (\n <MenubarPrimitive.RadioGroup\n ref={ref}\n data-slot=\"menubar-radio-group\"\n {...props}\n />\n));\nMenubarRadioGroup.displayName = MenubarPrimitive.RadioGroup.displayName;\n\nconst MenubarTrigger = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Trigger>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Trigger>\n>(({ className, ...props }, ref) => (\n <MenubarPrimitive.Trigger\n ref={ref}\n data-slot=\"menubar-trigger\"\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex items-center rounded-sm px-2 py-1 text-sm font-medium outline-hidden select-none\",\n className,\n )}\n {...props}\n />\n));\nMenubarTrigger.displayName = MenubarPrimitive.Trigger.displayName;\n\nconst MenubarContent = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Content>\n>(\n (\n { className, align = \"start\", alignOffset = -4, sideOffset = 8, ...props },\n ref,\n ) => (\n <MenubarPortal>\n <MenubarPrimitive.Content\n ref={ref}\n data-slot=\"menubar-content\"\n align={align}\n alignOffset={alignOffset}\n sideOffset={sideOffset}\n className={cn(\n \"bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[12rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-md\",\n className,\n )}\n {...props}\n />\n </MenubarPortal>\n ),\n);\nMenubarContent.displayName = MenubarPrimitive.Content.displayName;\n\nconst MenubarItem = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Item>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Item> & {\n inset?: boolean;\n variant?: \"default\" | \"destructive\";\n }\n>(({ className, inset, variant = \"default\", ...props }, ref) => (\n <MenubarPrimitive.Item\n ref={ref}\n data-slot=\"menubar-item\"\n data-inset={inset}\n data-variant={variant}\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive-emphasis data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive-emphasis data-[variant=destructive]:*:[svg]:!text-destructive-emphasis [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className,\n )}\n {...props}\n />\n));\nMenubarItem.displayName = MenubarPrimitive.Item.displayName;\n\nconst MenubarCheckboxItem = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.CheckboxItem>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.CheckboxItem>\n>(({ className, children, checked, ...props }, ref) => (\n <MenubarPrimitive.CheckboxItem\n ref={ref}\n data-slot=\"menubar-checkbox-item\"\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className,\n )}\n checked={checked}\n {...props}\n >\n <span className=\"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center\">\n <MenubarPrimitive.ItemIndicator>\n <CheckIcon className=\"size-4\" />\n </MenubarPrimitive.ItemIndicator>\n </span>\n {children}\n </MenubarPrimitive.CheckboxItem>\n));\nMenubarCheckboxItem.displayName = MenubarPrimitive.CheckboxItem.displayName;\n\nconst MenubarRadioItem = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.RadioItem>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.RadioItem>\n>(({ className, children, ...props }, ref) => (\n <MenubarPrimitive.RadioItem\n ref={ref}\n data-slot=\"menubar-radio-item\"\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className,\n )}\n {...props}\n >\n <span className=\"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center\">\n <MenubarPrimitive.ItemIndicator>\n <CircleIcon className=\"size-2 fill-current\" />\n </MenubarPrimitive.ItemIndicator>\n </span>\n {children}\n </MenubarPrimitive.RadioItem>\n));\nMenubarRadioItem.displayName = MenubarPrimitive.RadioItem.displayName;\n\nconst MenubarLabel = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Label>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Label> & {\n inset?: boolean;\n }\n>(({ className, inset, ...props }, ref) => (\n <MenubarPrimitive.Label\n ref={ref}\n data-slot=\"menubar-label\"\n data-inset={inset}\n className={cn(\n \"px-2 py-1.5 text-sm font-semibold data-[inset]:pl-8\",\n className,\n )}\n {...props}\n />\n));\nMenubarLabel.displayName = MenubarPrimitive.Label.displayName;\n\nconst MenubarSeparator = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Separator>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Separator>\n>(({ className, ...props }, ref) => (\n <MenubarPrimitive.Separator\n ref={ref}\n data-slot=\"menubar-separator\"\n className={cn(\"bg-border -mx-1 my-1 h-px\", className)}\n {...props}\n />\n));\nMenubarSeparator.displayName = MenubarPrimitive.Separator.displayName;\n\nconst MenubarShortcut = React.forwardRef<\n HTMLSpanElement,\n React.ComponentProps<\"span\">\n>(({ className, ...props }, ref) => (\n <span\n ref={ref}\n data-slot=\"menubar-shortcut\"\n className={cn(\n \"text-muted-foreground ml-auto text-xs tracking-widest\",\n className,\n )}\n {...props}\n />\n));\nMenubarShortcut.displayName = \"MenubarShortcut\";\n\nfunction MenubarSub({\n ...props\n}: React.ComponentProps<typeof MenubarPrimitive.Sub>) {\n return <MenubarPrimitive.Sub data-slot=\"menubar-sub\" {...props} />;\n}\n\nconst MenubarSubTrigger = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.SubTrigger>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.SubTrigger> & {\n inset?: boolean;\n }\n>(({ className, inset, children, ...props }, ref) => (\n <MenubarPrimitive.SubTrigger\n ref={ref}\n data-slot=\"menubar-sub-trigger\"\n data-inset={inset}\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-none select-none data-[inset]:pl-8\",\n className,\n )}\n {...props}\n >\n {children}\n <ChevronRightIcon className=\"ml-auto h-4 w-4\" />\n </MenubarPrimitive.SubTrigger>\n));\nMenubarSubTrigger.displayName = MenubarPrimitive.SubTrigger.displayName;\n\nconst MenubarSubContent = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.SubContent>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.SubContent>\n>(({ className, ...props }, ref) => (\n <MenubarPrimitive.SubContent\n ref={ref}\n data-slot=\"menubar-sub-content\"\n className={cn(\n \"bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg\",\n className,\n )}\n {...props}\n />\n));\nMenubarSubContent.displayName = MenubarPrimitive.SubContent.displayName;\n\nexport {\n Menubar,\n MenubarPortal,\n MenubarMenu,\n MenubarTrigger,\n MenubarContent,\n MenubarGroup,\n MenubarSeparator,\n MenubarLabel,\n MenubarItem,\n MenubarShortcut,\n MenubarCheckboxItem,\n MenubarRadioGroup,\n MenubarRadioItem,\n MenubarSub,\n MenubarSubTrigger,\n MenubarSubContent,\n};\n"],"names":["Menubar","React","className","props","ref","jsx","MenubarPrimitive","cn","MenubarMenu","MenubarGroup","MenubarPortal","MenubarRadioGroup","MenubarTrigger","MenubarContent","align","alignOffset","sideOffset","MenubarItem","inset","variant","MenubarCheckboxItem","children","checked","jsxs","CheckIcon","MenubarRadioItem","CircleIcon","MenubarLabel","MenubarSeparator","MenubarShortcut","MenubarSub","MenubarSubTrigger","ChevronRightIcon","MenubarSubContent"],"mappings":"+gBAQMA,EAAUC,EAAM,WAGpB,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAA,EAASC,IAC1BC,EAAAA,IAACC,EAAiB,KAAjB,CACC,IAAAF,EACA,YAAU,UACV,UAAWG,EAAAA,GACT,4EACAL,CAAA,EAED,GAAGC,CAAA,CACN,CACD,EACDH,EAAQ,YAAcM,EAAiB,KAAK,YAE5C,SAASE,EAAY,CACnB,GAAGL,CACL,EAAuD,CACrD,aAAQG,EAAiB,KAAjB,CAAsB,YAAU,eAAgB,GAAGH,EAAO,CACpE,CAEA,MAAMM,EAAeR,EAAM,WAGzB,CAAC,CAAE,GAAGE,GAASC,IACfC,EAAAA,IAACC,EAAiB,MAAjB,CAAuB,IAAAF,EAAU,YAAU,gBAAiB,GAAGD,EAAO,CACxE,EACDM,EAAa,YAAcH,EAAiB,MAAM,YAElD,SAASI,EAAc,CACrB,GAAGP,CACL,EAAyD,CACvD,aAAQG,EAAiB,OAAjB,CAAwB,YAAU,iBAAkB,GAAGH,EAAO,CACxE,CAEA,MAAMQ,EAAoBV,EAAM,WAG9B,CAAC,CAAE,GAAGE,CAAA,EAASC,IACfC,EAAAA,IAACC,EAAiB,WAAjB,CACC,IAAAF,EACA,YAAU,sBACT,GAAGD,CAAA,CACN,CACD,EACDQ,EAAkB,YAAcL,EAAiB,WAAW,YAE5D,MAAMM,EAAiBX,EAAM,WAG3B,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAA,EAASC,IAC1BC,EAAAA,IAACC,EAAiB,QAAjB,CACC,IAAAF,EACA,YAAU,kBACV,UAAWG,EAAAA,GACT,0MACAL,CAAA,EAED,GAAGC,CAAA,CACN,CACD,EACDS,EAAe,YAAcN,EAAiB,QAAQ,YAEtD,MAAMO,EAAiBZ,EAAM,WAI3B,CACE,CAAE,UAAAC,E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AACjB,EAAiB,WAAjB,CACC,IAAAF,EACA,YAAU,sBACV,aAAYc,EACZ,UAAWX,EAAAA,GACT,+NACAL,CAAA,EAED,GAAGC,EAEH,SAAA,CAAAkB,EACDhB,EAAAA,IAAC2B,EAAAA,iBAAA,CAAiB,UAAU,iBAAA,CAAkB,CAAA,CAAA,CAChD,CACD,EACDD,EAAkB,YAAczB,EAAiB,WAAW,YAE5D,MAAM2B,EAAoBhC,EAAM,WAG9B,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAA,EAASC,IAC1BC,EAAAA,IAACC,EAAiB,WAAjB,CACC,IAAAF,EACA,YAAU,sBACV,UAAWG,EAAAA,GACT,0eACAL,CAAA,EAED,GAAGC,CAAA,CACN,CACD,EACD8B,EAAkB,YAAc3B,EAAiB,WAAW"}
@@ -1,10 +1,10 @@
1
1
  "use client";
2
- import { jsx as n, jsxs as c } from "react/jsx-runtime";
3
- import * as r from "react";
2
+ import { jsx as s, jsxs as c } from "react/jsx-runtime";
3
+ import * as n from "react";
4
4
  import * as t from "@radix-ui/react-menubar";
5
5
  import { CheckIcon as m, CircleIcon as u, ChevronRightIcon as p } from "lucide-react";
6
6
  import { cn as d } from "../utils.js";
7
- const f = r.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ n(
7
+ const f = n.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ s(
8
8
  t.Root,
9
9
  {
10
10
  ref: o,
@@ -20,16 +20,16 @@ f.displayName = t.Root.displayName;
20
20
  function G({
21
21
  ...e
22
22
  }) {
23
- return /* @__PURE__ */ n(t.Menu, { "data-slot": "menubar-menu", ...e });
23
+ return /* @__PURE__ */ s(t.Menu, { "data-slot": "menubar-menu", ...e });
24
24
  }
25
- const b = r.forwardRef(({ ...e }, a) => /* @__PURE__ */ n(t.Group, { ref: a, "data-slot": "menubar-group", ...e }));
25
+ const b = n.forwardRef(({ ...e }, a) => /* @__PURE__ */ s(t.Group, { ref: a, "data-slot": "menubar-group", ...e }));
26
26
  b.displayName = t.Group.displayName;
27
27
  function g({
28
28
  ...e
29
29
  }) {
30
- return /* @__PURE__ */ n(t.Portal, { "data-slot": "menubar-portal", ...e });
30
+ return /* @__PURE__ */ s(t.Portal, { "data-slot": "menubar-portal", ...e });
31
31
  }
32
- const x = r.forwardRef(({ ...e }, a) => /* @__PURE__ */ n(
32
+ const x = n.forwardRef(({ ...e }, a) => /* @__PURE__ */ s(
33
33
  t.RadioGroup,
34
34
  {
35
35
  ref: a,
@@ -38,7 +38,7 @@ const x = r.forwardRef(({ ...e }, a) => /* @__PURE__ */ n(
38
38
  }
39
39
  ));
40
40
  x.displayName = t.RadioGroup.displayName;
41
- const v = r.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ n(
41
+ const v = n.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ s(
42
42
  t.Trigger,
43
43
  {
44
44
  ref: o,
@@ -51,15 +51,15 @@ const v = r.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ n(
51
51
  }
52
52
  ));
53
53
  v.displayName = t.Trigger.displayName;
54
- const N = r.forwardRef(
55
- ({ className: e, align: a = "start", alignOffset: o = -4, sideOffset: s = 8, ...i }, l) => /* @__PURE__ */ n(g, { children: /* @__PURE__ */ n(
54
+ const N = n.forwardRef(
55
+ ({ className: e, align: a = "start", alignOffset: o = -4, sideOffset: r = 8, ...i }, l) => /* @__PURE__ */ s(g, { children: /* @__PURE__ */ s(
56
56
  t.Content,
57
57
  {
58
58
  ref: l,
59
59
  "data-slot": "menubar-content",
60
60
  align: a,
61
61
  alignOffset: o,
62
- sideOffset: s,
62
+ sideOffset: r,
63
63
  className: d(
64
64
  "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[12rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-md",
65
65
  e
@@ -69,7 +69,7 @@ const N = r.forwardRef(
69
69
  ) })
70
70
  );
71
71
  N.displayName = t.Content.displayName;
72
- const h = r.forwardRef(({ className: e, inset: a, variant: o = "default", ...s }, i) => /* @__PURE__ */ n(
72
+ const h = n.forwardRef(({ className: e, inset: a, variant: o = "default", ...r }, i) => /* @__PURE__ */ s(
73
73
  t.Item,
74
74
  {
75
75
  ref: i,
@@ -77,14 +77,14 @@ const h = r.forwardRef(({ className: e, inset: a, variant: o = "default", ...s }
77
77
  "data-inset": a,
78
78
  "data-variant": o,
79
79
  className: d(
80
- "focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
80
+ "focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive-emphasis data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive-emphasis data-[variant=destructive]:*:[svg]:!text-destructive-emphasis [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
81
81
  e
82
82
  ),
83
- ...s
83
+ ...r
84
84
  }
85
85
  ));
86
86
  h.displayName = t.Item.displayName;
87
- const y = r.forwardRef(({ className: e, children: a, checked: o, ...s }, i) => /* @__PURE__ */ c(
87
+ const y = n.forwardRef(({ className: e, children: a, checked: o, ...r }, i) => /* @__PURE__ */ c(
88
88
  t.CheckboxItem,
89
89
  {
90
90
  ref: i,
@@ -94,18 +94,18 @@ const y = r.forwardRef(({ className: e, children: a, checked: o, ...s }, i) => /
94
94
  e
95
95
  ),
96
96
  checked: o,
97
- ...s,
97
+ ...r,
98
98
  children: [
99
- /* @__PURE__ */ n("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ n(t.ItemIndicator, { children: /* @__PURE__ */ n(m, { className: "size-4" }) }) }),
99
+ /* @__PURE__ */ s("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ s(t.ItemIndicator, { children: /* @__PURE__ */ s(m, { className: "size-4" }) }) }),
100
100
  a
101
101
  ]
102
102
  }
103
103
  ));
104
104
  y.displayName = t.CheckboxItem.displayName;
105
- const R = r.forwardRef(({ className: e, children: a, ...o }, s) => /* @__PURE__ */ c(
105
+ const R = n.forwardRef(({ className: e, children: a, ...o }, r) => /* @__PURE__ */ c(
106
106
  t.RadioItem,
107
107
  {
108
- ref: s,
108
+ ref: r,
109
109
  "data-slot": "menubar-radio-item",
110
110
  className: d(
111
111
  "focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
@@ -113,16 +113,16 @@ const R = r.forwardRef(({ className: e, children: a, ...o }, s) => /* @__PURE__
113
113
  ),
114
114
  ...o,
115
115
  children: [
116
- /* @__PURE__ */ n("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ n(t.ItemIndicator, { children: /* @__PURE__ */ n(u, { className: "size-2 fill-current" }) }) }),
116
+ /* @__PURE__ */ s("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ s(t.ItemIndicator, { children: /* @__PURE__ */ s(u, { className: "size-2 fill-current" }) }) }),
117
117
  a
118
118
  ]
119
119
  }
120
120
  ));
121
121
  R.displayName = t.RadioItem.displayName;
122
- const w = r.forwardRef(({ className: e, inset: a, ...o }, s) => /* @__PURE__ */ n(
122
+ const w = n.forwardRef(({ className: e, inset: a, ...o }, r) => /* @__PURE__ */ s(
123
123
  t.Label,
124
124
  {
125
- ref: s,
125
+ ref: r,
126
126
  "data-slot": "menubar-label",
127
127
  "data-inset": a,
128
128
  className: d(
@@ -133,7 +133,7 @@ const w = r.forwardRef(({ className: e, inset: a, ...o }, s) => /* @__PURE__ */
133
133
  }
134
134
  ));
135
135
  w.displayName = t.Label.displayName;
136
- const M = r.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ n(
136
+ const M = n.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ s(
137
137
  t.Separator,
138
138
  {
139
139
  ref: o,
@@ -143,7 +143,7 @@ const M = r.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ n(
143
143
  }
144
144
  ));
145
145
  M.displayName = t.Separator.displayName;
146
- const z = r.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ n(
146
+ const z = n.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ s(
147
147
  "span",
148
148
  {
149
149
  ref: o,
@@ -159,9 +159,9 @@ z.displayName = "MenubarShortcut";
159
159
  function T({
160
160
  ...e
161
161
  }) {
162
- return /* @__PURE__ */ n(t.Sub, { "data-slot": "menubar-sub", ...e });
162
+ return /* @__PURE__ */ s(t.Sub, { "data-slot": "menubar-sub", ...e });
163
163
  }
164
- const I = r.forwardRef(({ className: e, inset: a, children: o, ...s }, i) => /* @__PURE__ */ c(
164
+ const I = n.forwardRef(({ className: e, inset: a, children: o, ...r }, i) => /* @__PURE__ */ c(
165
165
  t.SubTrigger,
166
166
  {
167
167
  ref: i,
@@ -171,15 +171,15 @@ const I = r.forwardRef(({ className: e, inset: a, children: o, ...s }, i) => /*
171
171
  "focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-none select-none data-[inset]:pl-8",
172
172
  e
173
173
  ),
174
- ...s,
174
+ ...r,
175
175
  children: [
176
176
  o,
177
- /* @__PURE__ */ n(p, { className: "ml-auto h-4 w-4" })
177
+ /* @__PURE__ */ s(p, { className: "ml-auto h-4 w-4" })
178
178
  ]
179
179
  }
180
180
  ));
181
181
  I.displayName = t.SubTrigger.displayName;
182
- const S = r.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ n(
182
+ const S = n.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ s(
183
183
  t.SubContent,
184
184
  {
185
185
  ref: o,
@@ -1 +1 @@
1
- {"version":3,"file":"menubar.js","sources":["../../../../src/components/ui/overlays/menubar.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as MenubarPrimitive from \"@radix-ui/react-menubar\";\nimport { CheckIcon, ChevronRightIcon, CircleIcon } from \"lucide-react\";\n\nimport { cn } from \"../utils\";\n\nconst Menubar = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Root>\n>(({ className, ...props }, ref) => (\n <MenubarPrimitive.Root\n ref={ref}\n data-slot=\"menubar\"\n className={cn(\n \"bg-background flex h-9 items-center gap-1 rounded-md border p-1 shadow-xs\",\n className,\n )}\n {...props}\n />\n));\nMenubar.displayName = MenubarPrimitive.Root.displayName;\n\nfunction MenubarMenu({\n ...props\n}: React.ComponentProps<typeof MenubarPrimitive.Menu>) {\n return <MenubarPrimitive.Menu data-slot=\"menubar-menu\" {...props} />;\n}\n\nconst MenubarGroup = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Group>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Group>\n>(({ ...props }, ref) => (\n <MenubarPrimitive.Group ref={ref} data-slot=\"menubar-group\" {...props} />\n));\nMenubarGroup.displayName = MenubarPrimitive.Group.displayName;\n\nfunction MenubarPortal({\n ...props\n}: React.ComponentProps<typeof MenubarPrimitive.Portal>) {\n return <MenubarPrimitive.Portal data-slot=\"menubar-portal\" {...props} />;\n}\n\nconst MenubarRadioGroup = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.RadioGroup>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.RadioGroup>\n>(({ ...props }, ref) => (\n <MenubarPrimitive.RadioGroup\n ref={ref}\n data-slot=\"menubar-radio-group\"\n {...props}\n />\n));\nMenubarRadioGroup.displayName = MenubarPrimitive.RadioGroup.displayName;\n\nconst MenubarTrigger = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Trigger>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Trigger>\n>(({ className, ...props }, ref) => (\n <MenubarPrimitive.Trigger\n ref={ref}\n data-slot=\"menubar-trigger\"\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex items-center rounded-sm px-2 py-1 text-sm font-medium outline-hidden select-none\",\n className,\n )}\n {...props}\n />\n));\nMenubarTrigger.displayName = MenubarPrimitive.Trigger.displayName;\n\nconst MenubarContent = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Content>\n>(\n (\n { className, align = \"start\", alignOffset = -4, sideOffset = 8, ...props },\n ref,\n ) => (\n <MenubarPortal>\n <MenubarPrimitive.Content\n ref={ref}\n data-slot=\"menubar-content\"\n align={align}\n alignOffset={alignOffset}\n sideOffset={sideOffset}\n className={cn(\n \"bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[12rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-md\",\n className,\n )}\n {...props}\n />\n </MenubarPortal>\n ),\n);\nMenubarContent.displayName = MenubarPrimitive.Content.displayName;\n\nconst MenubarItem = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Item>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Item> & {\n inset?: boolean;\n variant?: \"default\" | \"destructive\";\n }\n>(({ className, inset, variant = \"default\", ...props }, ref) => (\n <MenubarPrimitive.Item\n ref={ref}\n data-slot=\"menubar-item\"\n data-inset={inset}\n data-variant={variant}\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className,\n )}\n {...props}\n />\n));\nMenubarItem.displayName = MenubarPrimitive.Item.displayName;\n\nconst MenubarCheckboxItem = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.CheckboxItem>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.CheckboxItem>\n>(({ className, children, checked, ...props }, ref) => (\n <MenubarPrimitive.CheckboxItem\n ref={ref}\n data-slot=\"menubar-checkbox-item\"\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className,\n )}\n checked={checked}\n {...props}\n >\n <span className=\"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center\">\n <MenubarPrimitive.ItemIndicator>\n <CheckIcon className=\"size-4\" />\n </MenubarPrimitive.ItemIndicator>\n </span>\n {children}\n </MenubarPrimitive.CheckboxItem>\n));\nMenubarCheckboxItem.displayName = MenubarPrimitive.CheckboxItem.displayName;\n\nconst MenubarRadioItem = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.RadioItem>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.RadioItem>\n>(({ className, children, ...props }, ref) => (\n <MenubarPrimitive.RadioItem\n ref={ref}\n data-slot=\"menubar-radio-item\"\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className,\n )}\n {...props}\n >\n <span className=\"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center\">\n <MenubarPrimitive.ItemIndicator>\n <CircleIcon className=\"size-2 fill-current\" />\n </MenubarPrimitive.ItemIndicator>\n </span>\n {children}\n </MenubarPrimitive.RadioItem>\n));\nMenubarRadioItem.displayName = MenubarPrimitive.RadioItem.displayName;\n\nconst MenubarLabel = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Label>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Label> & {\n inset?: boolean;\n }\n>(({ className, inset, ...props }, ref) => (\n <MenubarPrimitive.Label\n ref={ref}\n data-slot=\"menubar-label\"\n data-inset={inset}\n className={cn(\n \"px-2 py-1.5 text-sm font-semibold data-[inset]:pl-8\",\n className,\n )}\n {...props}\n />\n));\nMenubarLabel.displayName = MenubarPrimitive.Label.displayName;\n\nconst MenubarSeparator = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Separator>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Separator>\n>(({ className, ...props }, ref) => (\n <MenubarPrimitive.Separator\n ref={ref}\n data-slot=\"menubar-separator\"\n className={cn(\"bg-border -mx-1 my-1 h-px\", className)}\n {...props}\n />\n));\nMenubarSeparator.displayName = MenubarPrimitive.Separator.displayName;\n\nconst MenubarShortcut = React.forwardRef<\n HTMLSpanElement,\n React.ComponentProps<\"span\">\n>(({ className, ...props }, ref) => (\n <span\n ref={ref}\n data-slot=\"menubar-shortcut\"\n className={cn(\n \"text-muted-foreground ml-auto text-xs tracking-widest\",\n className,\n )}\n {...props}\n />\n));\nMenubarShortcut.displayName = \"MenubarShortcut\";\n\nfunction MenubarSub({\n ...props\n}: React.ComponentProps<typeof MenubarPrimitive.Sub>) {\n return <MenubarPrimitive.Sub data-slot=\"menubar-sub\" {...props} />;\n}\n\nconst MenubarSubTrigger = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.SubTrigger>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.SubTrigger> & {\n inset?: boolean;\n }\n>(({ className, inset, children, ...props }, ref) => (\n <MenubarPrimitive.SubTrigger\n ref={ref}\n data-slot=\"menubar-sub-trigger\"\n data-inset={inset}\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-none select-none data-[inset]:pl-8\",\n className,\n )}\n {...props}\n >\n {children}\n <ChevronRightIcon className=\"ml-auto h-4 w-4\" />\n </MenubarPrimitive.SubTrigger>\n));\nMenubarSubTrigger.displayName = MenubarPrimitive.SubTrigger.displayName;\n\nconst MenubarSubContent = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.SubContent>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.SubContent>\n>(({ className, ...props }, ref) => (\n <MenubarPrimitive.SubContent\n ref={ref}\n data-slot=\"menubar-sub-content\"\n className={cn(\n \"bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg\",\n className,\n )}\n {...props}\n />\n));\nMenubarSubContent.displayName = MenubarPrimitive.SubContent.displayName;\n\nexport {\n Menubar,\n MenubarPortal,\n MenubarMenu,\n MenubarTrigger,\n MenubarContent,\n MenubarGroup,\n MenubarSeparator,\n MenubarLabel,\n MenubarItem,\n MenubarShortcut,\n MenubarCheckboxItem,\n MenubarRadioGroup,\n MenubarRadioItem,\n MenubarSub,\n MenubarSubTrigger,\n MenubarSubContent,\n};\n"],"names":["Menubar","React","className","props","ref","jsx","MenubarPrimitive","cn","MenubarMenu","MenubarGroup","MenubarPortal","MenubarRadioGroup","MenubarTrigger","MenubarContent","align","alignOffset","sideOffset","MenubarItem","inset","variant","MenubarCheckboxItem","children","checked","jsxs","CheckIcon","MenubarRadioItem","CircleIcon","MenubarLabel","MenubarSeparator","MenubarShortcut","MenubarSub","MenubarSubTrigger","ChevronRightIcon","MenubarSubContent"],"mappings":";;;;;;AAQA,MAAMA,IAAUC,EAAM,WAGpB,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAASC,MAC1B,gBAAAC;AAAA,EAACC,EAAiB;AAAA,EAAjB;AAAA,IACC,KAAAF;AAAA,IACA,aAAU;AAAA,IACV,WAAWG;AAAA,MACT;AAAA,MACAL;AAAA,IAAA;AAAA,IAED,GAAGC;AAAA,EAAA;AACN,CACD;AACDH,EAAQ,cAAcM,EAAiB,KAAK;AAE5C,S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AsD;AACpD,2BAAQG,EAAiB,KAAjB,EAAqB,aAAU,eAAe,GAAGH,GAAO;AAClE;AAEA,MAAM4B,IAAoB9B,EAAM,WAK9B,CAAC,EAAE,WAAAC,GAAW,OAAAgB,GAAO,UAAAG,GAAU,GAAGlB,KAASC,MAC3C,gBAAAmB;AAAA,EAACjB,EAAiB;AAAA,EAAjB;AAAA,IACC,KAAAF;AAAA,IACA,aAAU;AAAA,IACV,cAAYc;AAAA,IACZ,WAAWX;AAAA,MACT;AAAA,MACAL;AAAA,IAAA;AAAA,IAED,GAAGC;AAAA,IAEH,UAAA;AAAA,MAAAkB;AAAA,MACD,gBAAAhB,EAAC2B,GAAA,EAAiB,WAAU,kBAAA,CAAkB;AAAA,IAAA;AAAA,EAAA;AAChD,CACD;AACDD,EAAkB,cAAczB,EAAiB,WAAW;AAE5D,MAAM2B,IAAoBhC,EAAM,WAG9B,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAASC,MAC1B,gBAAAC;AAAA,EAACC,EAAiB;AAAA,EAAjB;AAAA,IACC,KAAAF;AAAA,IACA,aAAU;AAAA,IACV,WAAWG;AAAA,MACT;AAAA,MACAL;AAAA,IAAA;AAAA,IAED,GAAGC;AAAA,EAAA;AACN,CACD;AACD8B,EAAkB,cAAc3B,EAAiB,WAAW;"}
1
+ {"version":3,"file":"menubar.js","sources":["../../../../src/components/ui/overlays/menubar.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as MenubarPrimitive from \"@radix-ui/react-menubar\";\nimport { CheckIcon, ChevronRightIcon, CircleIcon } from \"lucide-react\";\n\nimport { cn } from \"../utils\";\n\nconst Menubar = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Root>\n>(({ className, ...props }, ref) => (\n <MenubarPrimitive.Root\n ref={ref}\n data-slot=\"menubar\"\n className={cn(\n \"bg-background flex h-9 items-center gap-1 rounded-md border p-1 shadow-xs\",\n className,\n )}\n {...props}\n />\n));\nMenubar.displayName = MenubarPrimitive.Root.displayName;\n\nfunction MenubarMenu({\n ...props\n}: React.ComponentProps<typeof MenubarPrimitive.Menu>) {\n return <MenubarPrimitive.Menu data-slot=\"menubar-menu\" {...props} />;\n}\n\nconst MenubarGroup = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Group>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Group>\n>(({ ...props }, ref) => (\n <MenubarPrimitive.Group ref={ref} data-slot=\"menubar-group\" {...props} />\n));\nMenubarGroup.displayName = MenubarPrimitive.Group.displayName;\n\nfunction MenubarPortal({\n ...props\n}: React.ComponentProps<typeof MenubarPrimitive.Portal>) {\n return <MenubarPrimitive.Portal data-slot=\"menubar-portal\" {...props} />;\n}\n\nconst MenubarRadioGroup = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.RadioGroup>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.RadioGroup>\n>(({ ...props }, ref) => (\n <MenubarPrimitive.RadioGroup\n ref={ref}\n data-slot=\"menubar-radio-group\"\n {...props}\n />\n));\nMenubarRadioGroup.displayName = MenubarPrimitive.RadioGroup.displayName;\n\nconst MenubarTrigger = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Trigger>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Trigger>\n>(({ className, ...props }, ref) => (\n <MenubarPrimitive.Trigger\n ref={ref}\n data-slot=\"menubar-trigger\"\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex items-center rounded-sm px-2 py-1 text-sm font-medium outline-hidden select-none\",\n className,\n )}\n {...props}\n />\n));\nMenubarTrigger.displayName = MenubarPrimitive.Trigger.displayName;\n\nconst MenubarContent = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Content>\n>(\n (\n { className, align = \"start\", alignOffset = -4, sideOffset = 8, ...props },\n ref,\n ) => (\n <MenubarPortal>\n <MenubarPrimitive.Content\n ref={ref}\n data-slot=\"menubar-content\"\n align={align}\n alignOffset={alignOffset}\n sideOffset={sideOffset}\n className={cn(\n \"bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[12rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-md\",\n className,\n )}\n {...props}\n />\n </MenubarPortal>\n ),\n);\nMenubarContent.displayName = MenubarPrimitive.Content.displayName;\n\nconst MenubarItem = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Item>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Item> & {\n inset?: boolean;\n variant?: \"default\" | \"destructive\";\n }\n>(({ className, inset, variant = \"default\", ...props }, ref) => (\n <MenubarPrimitive.Item\n ref={ref}\n data-slot=\"menubar-item\"\n data-inset={inset}\n data-variant={variant}\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive-emphasis data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive-emphasis data-[variant=destructive]:*:[svg]:!text-destructive-emphasis [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className,\n )}\n {...props}\n />\n));\nMenubarItem.displayName = MenubarPrimitive.Item.displayName;\n\nconst MenubarCheckboxItem = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.CheckboxItem>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.CheckboxItem>\n>(({ className, children, checked, ...props }, ref) => (\n <MenubarPrimitive.CheckboxItem\n ref={ref}\n data-slot=\"menubar-checkbox-item\"\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className,\n )}\n checked={checked}\n {...props}\n >\n <span className=\"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center\">\n <MenubarPrimitive.ItemIndicator>\n <CheckIcon className=\"size-4\" />\n </MenubarPrimitive.ItemIndicator>\n </span>\n {children}\n </MenubarPrimitive.CheckboxItem>\n));\nMenubarCheckboxItem.displayName = MenubarPrimitive.CheckboxItem.displayName;\n\nconst MenubarRadioItem = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.RadioItem>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.RadioItem>\n>(({ className, children, ...props }, ref) => (\n <MenubarPrimitive.RadioItem\n ref={ref}\n data-slot=\"menubar-radio-item\"\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className,\n )}\n {...props}\n >\n <span className=\"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center\">\n <MenubarPrimitive.ItemIndicator>\n <CircleIcon className=\"size-2 fill-current\" />\n </MenubarPrimitive.ItemIndicator>\n </span>\n {children}\n </MenubarPrimitive.RadioItem>\n));\nMenubarRadioItem.displayName = MenubarPrimitive.RadioItem.displayName;\n\nconst MenubarLabel = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Label>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Label> & {\n inset?: boolean;\n }\n>(({ className, inset, ...props }, ref) => (\n <MenubarPrimitive.Label\n ref={ref}\n data-slot=\"menubar-label\"\n data-inset={inset}\n className={cn(\n \"px-2 py-1.5 text-sm font-semibold data-[inset]:pl-8\",\n className,\n )}\n {...props}\n />\n));\nMenubarLabel.displayName = MenubarPrimitive.Label.displayName;\n\nconst MenubarSeparator = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Separator>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Separator>\n>(({ className, ...props }, ref) => (\n <MenubarPrimitive.Separator\n ref={ref}\n data-slot=\"menubar-separator\"\n className={cn(\"bg-border -mx-1 my-1 h-px\", className)}\n {...props}\n />\n));\nMenubarSeparator.displayName = MenubarPrimitive.Separator.displayName;\n\nconst MenubarShortcut = React.forwardRef<\n HTMLSpanElement,\n React.ComponentProps<\"span\">\n>(({ className, ...props }, ref) => (\n <span\n ref={ref}\n data-slot=\"menubar-shortcut\"\n className={cn(\n \"text-muted-foreground ml-auto text-xs tracking-widest\",\n className,\n )}\n {...props}\n />\n));\nMenubarShortcut.displayName = \"MenubarShortcut\";\n\nfunction MenubarSub({\n ...props\n}: React.ComponentProps<typeof MenubarPrimitive.Sub>) {\n return <MenubarPrimitive.Sub data-slot=\"menubar-sub\" {...props} />;\n}\n\nconst MenubarSubTrigger = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.SubTrigger>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.SubTrigger> & {\n inset?: boolean;\n }\n>(({ className, inset, children, ...props }, ref) => (\n <MenubarPrimitive.SubTrigger\n ref={ref}\n data-slot=\"menubar-sub-trigger\"\n data-inset={inset}\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-none select-none data-[inset]:pl-8\",\n className,\n )}\n {...props}\n >\n {children}\n <ChevronRightIcon className=\"ml-auto h-4 w-4\" />\n </MenubarPrimitive.SubTrigger>\n));\nMenubarSubTrigger.displayName = MenubarPrimitive.SubTrigger.displayName;\n\nconst MenubarSubContent = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.SubContent>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.SubContent>\n>(({ className, ...props }, ref) => (\n <MenubarPrimitive.SubContent\n ref={ref}\n data-slot=\"menubar-sub-content\"\n className={cn(\n \"bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg\",\n className,\n )}\n {...props}\n />\n));\nMenubarSubContent.displayName = MenubarPrimitive.SubContent.displayName;\n\nexport {\n Menubar,\n MenubarPortal,\n MenubarMenu,\n MenubarTrigger,\n MenubarContent,\n MenubarGroup,\n MenubarSeparator,\n MenubarLabel,\n MenubarItem,\n MenubarShortcut,\n MenubarCheckboxItem,\n MenubarRadioGroup,\n MenubarRadioItem,\n MenubarSub,\n MenubarSubTrigger,\n MenubarSubContent,\n};\n"],"names":["Menubar","React","className","props","ref","jsx","MenubarPrimitive","cn","MenubarMenu","MenubarGroup","MenubarPortal","MenubarRadioGroup","MenubarTrigger","MenubarContent","align","alignOffset","sideOffset","MenubarItem","inset","variant","MenubarCheckboxItem","children","checked","jsxs","CheckIcon","MenubarRadioItem","CircleIcon","MenubarLabel","MenubarSeparator","MenubarShortcut","MenubarSub","MenubarSubTrigger","ChevronRightIcon","MenubarSubContent"],"mappings":";;;;;;AAQA,MAAMA,IAAUC,EAAM,WAGpB,CAAC,EAAE,W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C,EAAA,GAASC,MAC1B,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAD;AAAA,IACA,aAAU;AAAA,IACV,WAAWG;AAAA,MACT;AAAA,MACAL;AAAA,IAAA;AAAA,IAED,GAAGC;AAAA,EAAA;AACN,CACD;AACD0B,EAAgB,cAAc;AAE9B,SAASC,EAAW;AAAA,EAClB,GAAG3B;AACL,GAAsD;AACpD,2BAAQG,EAAiB,KAAjB,EAAqB,aAAU,eAAe,GAAGH,GAAO;AAClE;AAEA,MAAM4B,IAAoB9B,EAAM,WAK9B,CAAC,EAAE,WAAAC,GAAW,OAAAgB,GAAO,UAAAG,GAAU,GAAGlB,KAASC,MAC3C,gBAAAmB;AAAA,EAACjB,EAAiB;AAAA,EAAjB;AAAA,IACC,KAAAF;AAAA,IACA,aAAU;AAAA,IACV,cAAYc;AAAA,IACZ,WAAWX;AAAA,MACT;AAAA,MACAL;AAAA,IAAA;AAAA,IAED,GAAGC;AAAA,IAEH,UAAA;AAAA,MAAAkB;AAAA,MACD,gBAAAhB,EAAC2B,GAAA,EAAiB,WAAU,kBAAA,CAAkB;AAAA,IAAA;AAAA,EAAA;AAChD,CACD;AACDD,EAAkB,cAAczB,EAAiB,WAAW;AAE5D,MAAM2B,IAAoBhC,EAAM,WAG9B,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAASC,MAC1B,gBAAAC;AAAA,EAACC,EAAiB;AAAA,EAAjB;AAAA,IACC,KAAAF;AAAA,IACA,aAAU;AAAA,IACV,WAAWG;AAAA,MACT;AAAA,MACAL;AAAA,IAAA;AAAA,IAED,GAAGC;AAAA,EAAA;AACN,CACD;AACD8B,EAAkB,cAAc3B,EAAiB,WAAW;"}
@@ -1,2 +1,2 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),m=require("react"),u=require("@radix-ui/react-tooltip"),f=require("../utils.cjs");function n(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const r in t)if(r!=="default"){const a=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,a.get?a:{enumerable:!0,get:()=>t[r]})}}return e.default=t,Object.freeze(e)}const s=n(m),o=n(u);function l({delayDuration:t=0,...e}){return i.jsx(o.Provider,{"data-slot":"tooltip-provider",delayDuration:t,...e})}function g({...t}){return i.jsx(l,{children:i.jsx(o.Root,{"data-slot":"tooltip",...t})})}const d=s.forwardRef(({...t},e)=>i.jsx(o.Trigger,{ref:e,"data-slot":"tooltip-trigger",...t}));d.displayName=o.Trigger.displayName;const c=s.forwardRef(({className:t,sideOffset:e=0,children:r,...a},p)=>i.jsx(o.Portal,{children:i.jsxs(o.Content,{ref:p,"data-slot":"tooltip-content",sideOffset:e,className:f.cn("bg-primary text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance",t),...a,children:[r,i.jsx(o.Arrow,{className:"bg-primary fill-primary z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]"})]})}));c.displayName=o.Content.displayName;exports.Tooltip=g;exports.TooltipContent=c;exports.TooltipProvider=l;exports.TooltipTrigger=d;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),u=require("react"),f=require("@radix-ui/react-tooltip"),g=require("../utils.cjs");function n(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const r in t)if(r!=="default"){const a=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,a.get?a:{enumerable:!0,get:()=>t[r]})}}return e.default=t,Object.freeze(e)}const s=n(u),o=n(f);function l({delayDuration:t=0,...e}){return i.jsx(o.Provider,{"data-slot":"tooltip-provider",delayDuration:t,...e})}function m({...t}){return i.jsx(l,{children:i.jsx(o.Root,{"data-slot":"tooltip",...t})})}const d=s.forwardRef(({...t},e)=>i.jsx(o.Trigger,{ref:e,"data-slot":"tooltip-trigger",...t}));d.displayName=o.Trigger.displayName;const c=s.forwardRef(({className:t,sideOffset:e=0,children:r,...a},p)=>i.jsx(o.Portal,{children:i.jsxs(o.Content,{ref:p,"data-slot":"tooltip-content",sideOffset:e,className:g.cn("bg-foreground text-background animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance",t),...a,children:[r,i.jsx(o.Arrow,{className:"bg-foreground fill-foreground z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]"})]})}));c.displayName=o.Content.displayName;exports.Tooltip=m;exports.TooltipContent=c;exports.TooltipProvider=l;exports.TooltipTrigger=d;
2
2
  //# sourceMappingURL=tooltip.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"tooltip.cjs","sources":["../../../../src/components/ui/overlays/tooltip.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as TooltipPrimitive from \"@radix-ui/react-tooltip\";\n\nimport { cn } from \"../utils\";\n\nfunction TooltipProvider({\n delayDuration = 0,\n ...props\n}: React.ComponentProps<typeof TooltipPrimitive.Provider>) {\n return (\n <TooltipPrimitive.Provider\n data-slot=\"tooltip-provider\"\n delayDuration={delayDuration}\n {...props}\n />\n );\n}\n\nfunction Tooltip({\n ...props\n}: React.ComponentProps<typeof TooltipPrimitive.Root>) {\n return (\n <TooltipProvider>\n <TooltipPrimitive.Root data-slot=\"tooltip\" {...props} />\n </TooltipProvider>\n );\n}\n\nconst TooltipTrigger = React.forwardRef<\n React.ElementRef<typeof TooltipPrimitive.Trigger>,\n React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Trigger>\n>(({ ...props }, ref) => (\n <TooltipPrimitive.Trigger ref={ref} data-slot=\"tooltip-trigger\" {...props} />\n));\nTooltipTrigger.displayName = TooltipPrimitive.Trigger.displayName;\n\nconst TooltipContent = React.forwardRef<\n React.ElementRef<typeof TooltipPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>\n>(({ className, sideOffset = 0, children, ...props }, ref) => (\n <TooltipPrimitive.Portal>\n <TooltipPrimitive.Content\n ref={ref}\n data-slot=\"tooltip-content\"\n sideOffset={sideOffset}\n className={cn(\n \"bg-primary text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance\",\n className,\n )}\n {...props}\n >\n {children}\n <TooltipPrimitive.Arrow className=\"bg-primary fill-primary z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]\" />\n </TooltipPrimitive.Content>\n </TooltipPrimitive.Portal>\n));\nTooltipContent.displayName = TooltipPrimitive.Content.displayName;\n\nexport { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };\n"],"names":["TooltipProvider","delayDuration","props","jsx","TooltipPrimitive","Tooltip","TooltipTrigger","React","ref","TooltipContent","className","sideOffset","children","jsxs","cn"],"mappings":"qfAOA,SAASA,EAAgB,CACvB,cAAAC,EAAgB,EAChB,GAAGC,CACL,EAA2D,CACzD,OACEC,EAAAA,IAACC,EAAiB,SAAjB,CACC,YAAU,mBACV,cAAAH,EACC,GAAGC,CAAA,CAAA,CAGV,CAEA,SAASG,EAAQ,CACf,GAAGH,CACL,EAAuD,CACrD,OACEC,EAAAA,IAACH,EAAA,CACC,SAAAG,EAAAA,IAACC,EAAiB,KAAjB,CAAsB,YAAU,UAAW,GAAGF,CAAA,CAAO,CAAA,CACxD,CAEJ,CAEA,MAAMI,EAAiBC,EAAM,WAG3B,CAAC,CAAE,GAAGL,GAASM,IACfL,EAAAA,IAACC,EAAiB,QAAjB,CAAyB,IAAAI,EAAU,YAAU,kBAAmB,GAAGN,EAAO,CAC5E,EACDI,EAAe,YAAcF,EAAiB,QAAQ,YAEtD,MAAMK,EAAiBF,EAAM,WAG3B,CAAC,CAAE,UAAAG,EAAW,WAAAC,EAAa,EAAG,SAAAC,EAAU,GAAGV,GAASM,IACpDL,EAAAA,IAACC,EAAiB,OAAjB,CACC,SAAAS,EAAAA,KAACT,EAAiB,QAAjB,CACC,IAAAI,EACA,YAAU,kBACV,WAAAG,EACA,UAAWG,EAAAA,GACT,yaACAJ,CAAA,EAED,GAAGR,EAEH,SAAA,CAAAU,EACDT,EAAAA,IAACC,EAAiB,MAAjB,CAAuB,UAAU,8FAAA,CAA+F,CAAA,CAAA,CACnI,EACF,CACD,EACDK,EAAe,YAAcL,EAAiB,QAAQ"}
1
+ {"version":3,"file":"tooltip.cjs","sources":["../../../../src/components/ui/overlays/tooltip.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as TooltipPrimitive from \"@radix-ui/react-tooltip\";\n\nimport { cn } from \"../utils\";\n\nfunction TooltipProvider({\n delayDuration = 0,\n ...props\n}: React.ComponentProps<typeof TooltipPrimitive.Provider>) {\n return (\n <TooltipPrimitive.Provider\n data-slot=\"tooltip-provider\"\n delayDuration={delayDuration}\n {...props}\n />\n );\n}\n\nfunction Tooltip({\n ...props\n}: React.ComponentProps<typeof TooltipPrimitive.Root>) {\n return (\n <TooltipProvider>\n <TooltipPrimitive.Root data-slot=\"tooltip\" {...props} />\n </TooltipProvider>\n );\n}\n\nconst TooltipTrigger = React.forwardRef<\n React.ElementRef<typeof TooltipPrimitive.Trigger>,\n React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Trigger>\n>(({ ...props }, ref) => (\n <TooltipPrimitive.Trigger ref={ref} data-slot=\"tooltip-trigger\" {...props} />\n));\nTooltipTrigger.displayName = TooltipPrimitive.Trigger.displayName;\n\nconst TooltipContent = React.forwardRef<\n React.ElementRef<typeof TooltipPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>\n>(({ className, sideOffset = 0, children, ...props }, ref) => (\n <TooltipPrimitive.Portal>\n <TooltipPrimitive.Content\n ref={ref}\n data-slot=\"tooltip-content\"\n sideOffset={sideOffset}\n className={cn(\n \"bg-foreground text-background animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance\",\n className,\n )}\n {...props}\n >\n {children}\n <TooltipPrimitive.Arrow className=\"bg-foreground fill-foreground z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]\" />\n </TooltipPrimitive.Content>\n </TooltipPrimitive.Portal>\n));\nTooltipContent.displayName = TooltipPrimitive.Content.displayName;\n\nexport { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };\n"],"names":["TooltipProvider","delayDuration","props","jsx","TooltipPrimitive","Tooltip","TooltipTrigger","React","ref","TooltipContent","className","sideOffset","children","jsxs","cn"],"mappings":"qfAOA,SAASA,EAAgB,CACvB,cAAAC,EAAgB,EAChB,GAAGC,CACL,EAA2D,CACzD,OACEC,EAAAA,IAACC,EAAiB,SAAjB,CACC,YAAU,mBACV,cAAAH,EACC,GAAGC,CAAA,CAAA,CAGV,CAEA,SAASG,EAAQ,CACf,GAAGH,CACL,EAAuD,CACrD,OACEC,EAAAA,IAACH,EAAA,CACC,SAAAG,EAAAA,IAACC,EAAiB,KAAjB,CAAsB,YAAU,UAAW,GAAGF,CAAA,CAAO,CAAA,CACxD,CAEJ,CAEA,MAAMI,EAAiBC,EAAM,WAG3B,CAAC,CAAE,GAAGL,GAASM,IACfL,EAAAA,IAACC,EAAiB,QAAjB,CAAyB,IAAAI,EAAU,YAAU,kBAAmB,GAAGN,EAAO,CAC5E,EACDI,EAAe,YAAcF,EAAiB,QAAQ,YAEtD,MAAMK,EAAiBF,EAAM,WAG3B,CAAC,CAAE,UAAAG,EAAW,WAAAC,EAAa,EAAG,SAAAC,EAAU,GAAGV,GAASM,IACpDL,EAAAA,IAACC,EAAiB,OAAjB,CACC,SAAAS,EAAAA,KAACT,EAAiB,QAAjB,CACC,IAAAI,EACA,YAAU,kBACV,WAAAG,EACA,UAAWG,EAAAA,GACT,oaACAJ,CAAA,EAED,GAAGR,EAEH,SAAA,CAAAU,EACDT,EAAAA,IAACC,EAAiB,MAAjB,CAAuB,UAAU,oGAAA,CAAqG,CAAA,CAAA,CACzI,EACF,CACD,EACDK,EAAe,YAAcL,EAAiB,QAAQ"}
@@ -1,42 +1,42 @@
1
1
  "use client";
2
- import { jsx as i, jsxs as l } from "react/jsx-runtime";
3
- import * as a from "react";
2
+ import { jsx as e, jsxs as l } from "react/jsx-runtime";
3
+ import * as r from "react";
4
4
  import * as t from "@radix-ui/react-tooltip";
5
5
  import { cn as s } from "../utils.js";
6
6
  function m({
7
7
  delayDuration: o = 0,
8
- ...r
8
+ ...i
9
9
  }) {
10
- return /* @__PURE__ */ i(
10
+ return /* @__PURE__ */ e(
11
11
  t.Provider,
12
12
  {
13
13
  "data-slot": "tooltip-provider",
14
14
  delayDuration: o,
15
- ...r
15
+ ...i
16
16
  }
17
17
  );
18
18
  }
19
19
  function u({
20
20
  ...o
21
21
  }) {
22
- return /* @__PURE__ */ i(m, { children: /* @__PURE__ */ i(t.Root, { "data-slot": "tooltip", ...o }) });
22
+ return /* @__PURE__ */ e(m, { children: /* @__PURE__ */ e(t.Root, { "data-slot": "tooltip", ...o }) });
23
23
  }
24
- const p = a.forwardRef(({ ...o }, r) => /* @__PURE__ */ i(t.Trigger, { ref: r, "data-slot": "tooltip-trigger", ...o }));
24
+ const p = r.forwardRef(({ ...o }, i) => /* @__PURE__ */ e(t.Trigger, { ref: i, "data-slot": "tooltip-trigger", ...o }));
25
25
  p.displayName = t.Trigger.displayName;
26
- const f = a.forwardRef(({ className: o, sideOffset: r = 0, children: e, ...d }, n) => /* @__PURE__ */ i(t.Portal, { children: /* @__PURE__ */ l(
26
+ const f = r.forwardRef(({ className: o, sideOffset: i = 0, children: a, ...d }, n) => /* @__PURE__ */ e(t.Portal, { children: /* @__PURE__ */ l(
27
27
  t.Content,
28
28
  {
29
29
  ref: n,
30
30
  "data-slot": "tooltip-content",
31
- sideOffset: r,
31
+ sideOffset: i,
32
32
  className: s(
33
- "bg-primary text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance",
33
+ "bg-foreground text-background animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance",
34
34
  o
35
35
  ),
36
36
  ...d,
37
37
  children: [
38
- e,
39
- /* @__PURE__ */ i(t.Arrow, { className: "bg-primary fill-primary z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]" })
38
+ a,
39
+ /* @__PURE__ */ e(t.Arrow, { className: "bg-foreground fill-foreground z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]" })
40
40
  ]
41
41
  }
42
42
  ) }));
@@ -1 +1 @@
1
- {"version":3,"file":"tooltip.js","sources":["../../../../src/components/ui/overlays/tooltip.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as TooltipPrimitive from \"@radix-ui/react-tooltip\";\n\nimport { cn } from \"../utils\";\n\nfunction TooltipProvider({\n delayDuration = 0,\n ...props\n}: React.ComponentProps<typeof TooltipPrimitive.Provider>) {\n return (\n <TooltipPrimitive.Provider\n data-slot=\"tooltip-provider\"\n delayDuration={delayDuration}\n {...props}\n />\n );\n}\n\nfunction Tooltip({\n ...props\n}: React.ComponentProps<typeof TooltipPrimitive.Root>) {\n return (\n <TooltipProvider>\n <TooltipPrimitive.Root data-slot=\"tooltip\" {...props} />\n </TooltipProvider>\n );\n}\n\nconst TooltipTrigger = React.forwardRef<\n React.ElementRef<typeof TooltipPrimitive.Trigger>,\n React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Trigger>\n>(({ ...props }, ref) => (\n <TooltipPrimitive.Trigger ref={ref} data-slot=\"tooltip-trigger\" {...props} />\n));\nTooltipTrigger.displayName = TooltipPrimitive.Trigger.displayName;\n\nconst TooltipContent = React.forwardRef<\n React.ElementRef<typeof TooltipPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>\n>(({ className, sideOffset = 0, children, ...props }, ref) => (\n <TooltipPrimitive.Portal>\n <TooltipPrimitive.Content\n ref={ref}\n data-slot=\"tooltip-content\"\n sideOffset={sideOffset}\n className={cn(\n \"bg-primary text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance\",\n className,\n )}\n {...props}\n >\n {children}\n <TooltipPrimitive.Arrow className=\"bg-primary fill-primary z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]\" />\n </TooltipPrimitive.Content>\n </TooltipPrimitive.Portal>\n));\nTooltipContent.displayName = TooltipPrimitive.Content.displayName;\n\nexport { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };\n"],"names":["TooltipProvider","delayDuration","props","jsx","TooltipPrimitive","Tooltip","TooltipTrigger","React","ref","TooltipContent","className","sideOffset","children","jsxs","cn"],"mappings":";;;;;AAOA,SAASA,EAAgB;AAAA,EACvB,eAAAC,IAAgB;AAAA,EAChB,GAAGC;AACL,GAA2D;AACzD,SACE,gBAAAC;AAAA,IAACC,EAAiB;AAAA,IAAjB;AAAA,MACC,aAAU;AAAA,MACV,eAAAH;AAAA,MACC,GAAGC;AAAA,IAAA;AAAA,EAAA;AAGV;AAEA,SAASG,EAAQ;AAAA,EACf,GAAGH;AACL,GAAuD;AACrD,SACE,gBAAAC,EAACH,GAAA,EACC,UAAA,gBAAAG,EAACC,EAAiB,MAAjB,EAAsB,aAAU,WAAW,GAAGF,EAAA,CAAO,EAAA,CACxD;AAEJ;AAEA,MAAMI,IAAiBC,EAAM,WAG3B,CAAC,EAAE,GAAGL,KAASM,MACf,gBAAAL,EAACC,EAAiB,SAAjB,EAAyB,KAAAI,GAAU,aAAU,mBAAmB,GAAGN,GAAO,CAC5E;AACDI,EAAe,cAAcF,EAAiB,QAAQ;AAEtD,MAAMK,IAAiBF,EAAM,WAG3B,CAAC,EAAE,WAAAG,GAAW,YAAAC,IAAa,GAAG,UAAAC,GAAU,GAAGV,KAASM,MACpD,gBAAAL,EAACC,EAAiB,QAAjB,EACC,UAAA,gBAAAS;AAAA,EAACT,EAAiB;AAAA,EAAjB;AAAA,IACC,KAAAI;AAAA,IACA,aAAU;AAAA,IACV,YAAAG;AAAA,IACA,WAAWG;AAAA,MACT;AAAA,MACAJ;AAAA,IAAA;AAAA,IAED,GAAGR;AAAA,IAEH,UAAA;AAAA,MAAAU;AAAA,MACD,gBAAAT,EAACC,EAAiB,OAAjB,EAAuB,WAAU,+FAAA,CAA+F;AAAA,IAAA;AAAA,EAAA;AACnI,GACF,CACD;AACDK,EAAe,cAAcL,EAAiB,QAAQ;"}
1
+ {"version":3,"file":"tooltip.js","sources":["../../../../src/components/ui/overlays/tooltip.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as TooltipPrimitive from \"@radix-ui/react-tooltip\";\n\nimport { cn } from \"../utils\";\n\nfunction TooltipProvider({\n delayDuration = 0,\n ...props\n}: React.ComponentProps<typeof TooltipPrimitive.Provider>) {\n return (\n <TooltipPrimitive.Provider\n data-slot=\"tooltip-provider\"\n delayDuration={delayDuration}\n {...props}\n />\n );\n}\n\nfunction Tooltip({\n ...props\n}: React.ComponentProps<typeof TooltipPrimitive.Root>) {\n return (\n <TooltipProvider>\n <TooltipPrimitive.Root data-slot=\"tooltip\" {...props} />\n </TooltipProvider>\n );\n}\n\nconst TooltipTrigger = React.forwardRef<\n React.ElementRef<typeof TooltipPrimitive.Trigger>,\n React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Trigger>\n>(({ ...props }, ref) => (\n <TooltipPrimitive.Trigger ref={ref} data-slot=\"tooltip-trigger\" {...props} />\n));\nTooltipTrigger.displayName = TooltipPrimitive.Trigger.displayName;\n\nconst TooltipContent = React.forwardRef<\n React.ElementRef<typeof TooltipPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>\n>(({ className, sideOffset = 0, children, ...props }, ref) => (\n <TooltipPrimitive.Portal>\n <TooltipPrimitive.Content\n ref={ref}\n data-slot=\"tooltip-content\"\n sideOffset={sideOffset}\n className={cn(\n \"bg-foreground text-background animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance\",\n className,\n )}\n {...props}\n >\n {children}\n <TooltipPrimitive.Arrow className=\"bg-foreground fill-foreground z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]\" />\n </TooltipPrimitive.Content>\n </TooltipPrimitive.Portal>\n));\nTooltipContent.displayName = TooltipPrimitive.Content.displayName;\n\nexport { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };\n"],"names":["TooltipProvider","delayDuration","props","jsx","TooltipPrimitive","Tooltip","TooltipTrigger","React","ref","TooltipContent","className","sideOffset","children","jsxs","cn"],"mappings":";;;;;AAOA,SAASA,EAAgB;AAAA,EACvB,eAAAC,IAAgB;AAAA,EAChB,GAAGC;AACL,GAA2D;AACzD,SACE,gBAAAC;AAAA,IAACC,EAAiB;AAAA,IAAjB;AAAA,MACC,aAAU;AAAA,MACV,eAAAH;AAAA,MACC,GAAGC;AAAA,IAAA;AAAA,EAAA;AAGV;AAEA,SAASG,EAAQ;AAAA,EACf,GAAGH;AACL,GAAuD;AACrD,SACE,gBAAAC,EAACH,GAAA,EACC,UAAA,gBAAAG,EAACC,EAAiB,MAAjB,EAAsB,aAAU,WAAW,GAAGF,EAAA,CAAO,EAAA,CACxD;AAEJ;AAEA,MAAMI,IAAiBC,EAAM,WAG3B,CAAC,EAAE,GAAGL,KAASM,MACf,gBAAAL,EAACC,EAAiB,SAAjB,EAAyB,KAAAI,GAAU,aAAU,mBAAmB,GAAGN,GAAO,CAC5E;AACDI,EAAe,cAAcF,EAAiB,QAAQ;AAEtD,MAAMK,IAAiBF,EAAM,WAG3B,CAAC,EAAE,WAAAG,GAAW,YAAAC,IAAa,GAAG,UAAAC,GAAU,GAAGV,KAASM,MACpD,gBAAAL,EAACC,EAAiB,QAAjB,EACC,UAAA,gBAAAS;AAAA,EAACT,EAAiB;AAAA,EAAjB;AAAA,IACC,KAAAI;AAAA,IACA,aAAU;AAAA,IACV,YAAAG;AAAA,IACA,WAAWG;AAAA,MACT;AAAA,MACAJ;AAAA,IAAA;AAAA,IAED,GAAGR;AAAA,IAEH,UAAA;AAAA,MAAAU;AAAA,MACD,gBAAAT,EAACC,EAAiB,OAAjB,EAAuB,WAAU,qGAAA,CAAqG;AAAA,IAAA;AAAA,EAAA;AACzI,GACF,CACD;AACDK,EAAe,cAAcL,EAAiB,QAAQ;"}
@@ -1,2 +1,2 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),b=require("react"),m=require("@radix-ui/react-avatar"),f=require("class-variance-authority"),s=require("../utils.cjs");function o(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const a in t)if(a!=="default"){const c=Object.getOwnPropertyDescriptor(t,a);Object.defineProperty(e,a,c.get?c:{enumerable:!0,get:()=>t[a]})}}return e.default=t,Object.freeze(e)}const n=o(b),r=o(m),g=f.cva("flex size-full items-center justify-center rounded-full text-base font-semibold bg-muted",{variants:{colorVariant:{gray:"bg-muted text-muted-foreground",pink:"bg-chart-5/15 text-chart-5",purple:"bg-chart-1/15 text-chart-1",blue:"bg-chart-6/15 text-chart-6",cyan:"bg-chart-2/15 text-chart-2",teal:"bg-chart-7/15 text-chart-7",green:"bg-chart-3/15 text-chart-3",yellow:"bg-chart-8/15 text-chart-8",orange:"bg-chart-4/15 text-chart-4",red:"bg-destructive/15 text-destructive"}}}),i=n.forwardRef(({className:t,...e},a)=>l.jsx(r.Root,{ref:a,"data-slot":"avatar",className:s.cn("relative flex size-10 shrink-0 overflow-hidden rounded-full",t),...e}));i.displayName=r.Root.displayName;const u=n.forwardRef(({className:t,...e},a)=>l.jsx(r.Image,{ref:a,"data-slot":"avatar-image",className:s.cn("aspect-square size-full",t),...e}));u.displayName=r.Image.displayName;const d=n.forwardRef(({className:t,colorVariant:e,...a},c)=>l.jsx(r.Fallback,{ref:c,"data-slot":"avatar-fallback",className:s.cn(g({colorVariant:e}),t),...a}));d.displayName=r.Fallback.displayName;exports.Avatar=i;exports.AvatarFallback=d;exports.AvatarImage=u;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),f=require("react"),m=require("@radix-ui/react-avatar"),v=require("class-variance-authority"),o=require("../utils.cjs");function n(a){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(a){for(const e in a)if(e!=="default"){const s=Object.getOwnPropertyDescriptor(a,e);Object.defineProperty(t,e,s.get?s:{enumerable:!0,get:()=>a[e]})}}return t.default=a,Object.freeze(t)}const c=n(f),r=n(m),b=v.cva("flex size-full items-center justify-center rounded-full text-base font-semibold bg-muted",{variants:{colorVariant:{gray:"bg-muted text-muted-foreground",purple:"bg-secondary text-secondary-foreground"}}}),i=c.forwardRef(({className:a,...t},e)=>l.jsx(r.Root,{ref:e,"data-slot":"avatar",className:o.cn("relative flex size-10 shrink-0 overflow-hidden rounded-full",a),...t}));i.displayName=r.Root.displayName;const u=c.forwardRef(({className:a,...t},e)=>l.jsx(r.Image,{ref:e,"data-slot":"avatar-image",className:o.cn("aspect-square size-full",a),...t}));u.displayName=r.Image.displayName;const d=c.forwardRef(({className:a,colorVariant:t,...e},s)=>l.jsx(r.Fallback,{ref:s,"data-slot":"avatar-fallback",className:o.cn(b({colorVariant:t}),a),...e}));d.displayName=r.Fallback.displayName;exports.Avatar=i;exports.AvatarFallback=d;exports.AvatarImage=u;
2
2
  //# sourceMappingURL=avatar.cjs.map