@egose/shadcn-theme 0.0.54 → 0.0.56

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 (183) hide show
  1. package/{chunk-EILSBSRU.mjs → chunk-37EH7QCX.mjs} +1 -1
  2. package/chunk-37EH7QCX.mjs.map +1 -0
  3. package/{chunk-B7QAAQMG.js → chunk-4FD63HEQ.js} +9 -9
  4. package/{chunk-B7QAAQMG.js.map → chunk-4FD63HEQ.js.map} +1 -1
  5. package/{chunk-FQBFIZY3.mjs → chunk-4NMFJSJN.mjs} +1 -1
  6. package/{chunk-FQBFIZY3.mjs.map → chunk-4NMFJSJN.mjs.map} +1 -1
  7. package/{chunk-S4X22CRP.mjs → chunk-4XC6EXHZ.mjs} +2 -2
  8. package/chunk-4XC6EXHZ.mjs.map +1 -0
  9. package/{chunk-YMQLUZVD.mjs → chunk-54PLQ33F.mjs} +3 -3
  10. package/chunk-54PLQ33F.mjs.map +1 -0
  11. package/{chunk-PLIFFDWQ.js → chunk-5HD5BGK7.js} +12 -12
  12. package/{chunk-PLIFFDWQ.js.map → chunk-5HD5BGK7.js.map} +1 -1
  13. package/{chunk-BKCGAF7P.js → chunk-73VYAPJR.js} +4 -4
  14. package/{chunk-BKCGAF7P.js.map → chunk-73VYAPJR.js.map} +1 -1
  15. package/{chunk-M3IF5WMA.mjs → chunk-ACE5WNTU.mjs} +6 -6
  16. package/{chunk-SEM2M65Q.js → chunk-CE4PBEIL.js} +5 -5
  17. package/{chunk-SEM2M65Q.js.map → chunk-CE4PBEIL.js.map} +1 -1
  18. package/{chunk-6RRWPK3R.mjs → chunk-CPGH6LBC.mjs} +2 -2
  19. package/{chunk-QAB6DGZF.mjs → chunk-DMATER3M.mjs} +3 -3
  20. package/chunk-DMATER3M.mjs.map +1 -0
  21. package/{chunk-A4HQTRDU.mjs → chunk-DTJ43DCW.mjs} +3 -3
  22. package/{chunk-A4HQTRDU.mjs.map → chunk-DTJ43DCW.mjs.map} +1 -1
  23. package/{chunk-L2MO6T36.js → chunk-DYUS5722.js} +11 -11
  24. package/{chunk-L2MO6T36.js.map → chunk-DYUS5722.js.map} +1 -1
  25. package/{chunk-WERYBLJZ.js → chunk-E4SSD5P4.js} +1 -1
  26. package/{chunk-WERYBLJZ.js.map → chunk-E4SSD5P4.js.map} +1 -1
  27. package/{chunk-CNR5OJOZ.mjs → chunk-EJQJ3BCF.mjs} +2 -2
  28. package/{chunk-CNR5OJOZ.mjs.map → chunk-EJQJ3BCF.mjs.map} +1 -1
  29. package/{chunk-DSWNLHEW.js → chunk-EZZ2YCUU.js} +1 -1
  30. package/{chunk-DSWNLHEW.js.map → chunk-EZZ2YCUU.js.map} +1 -1
  31. package/{chunk-NUMBVYVR.js → chunk-I64GW5SA.js} +3 -3
  32. package/{chunk-NUMBVYVR.js.map → chunk-I64GW5SA.js.map} +1 -1
  33. package/{chunk-2SKDOU2K.mjs → chunk-IAJ2ZBSJ.mjs} +1 -1
  34. package/chunk-IAJ2ZBSJ.mjs.map +1 -0
  35. package/{chunk-MTEJGYUG.js → chunk-JHUXWZVG.js} +1 -1
  36. package/chunk-JHUXWZVG.js.map +1 -0
  37. package/{chunk-SPFMZ2EK.js → chunk-MYO4WRNB.js} +6 -6
  38. package/chunk-MYO4WRNB.js.map +1 -0
  39. package/{chunk-CNKUWWZ7.js → chunk-NI2SIUXO.js} +1 -1
  40. package/chunk-NI2SIUXO.js.map +1 -0
  41. package/{chunk-SEWCR6NS.mjs → chunk-NTYWTGYX.mjs} +3 -3
  42. package/{chunk-HEQKEA7M.mjs → chunk-O7E6RNCD.mjs} +7 -4
  43. package/chunk-O7E6RNCD.mjs.map +1 -0
  44. package/{chunk-MDBMHJV2.mjs → chunk-OXTCSLHP.mjs} +1 -1
  45. package/chunk-OXTCSLHP.mjs.map +1 -0
  46. package/{chunk-JF52Z27L.js → chunk-PCR4GC74.js} +8 -8
  47. package/{chunk-JF52Z27L.js.map → chunk-PCR4GC74.js.map} +1 -1
  48. package/{chunk-IKMOSUDO.mjs → chunk-PS7WGOZH.mjs} +2 -2
  49. package/{chunk-YTXVFY6V.js → chunk-QGXFFTPH.js} +1 -1
  50. package/{chunk-YTXVFY6V.js.map → chunk-QGXFFTPH.js.map} +1 -1
  51. package/{chunk-ETIGFRE4.js → chunk-RY3M2GTK.js} +9 -6
  52. package/chunk-RY3M2GTK.js.map +1 -0
  53. package/{chunk-YWFLDXW4.js → chunk-U3KAN7IM.js} +1 -1
  54. package/{chunk-YWFLDXW4.js.map → chunk-U3KAN7IM.js.map} +1 -1
  55. package/{chunk-OXLQUUKH.js → chunk-XJ7GBFHV.js} +4 -4
  56. package/{chunk-OXLQUUKH.js.map → chunk-XJ7GBFHV.js.map} +1 -1
  57. package/{chunk-CQ5UU2AD.mjs → chunk-YAPKDLRQ.mjs} +1 -1
  58. package/chunk-YAPKDLRQ.mjs.map +1 -0
  59. package/{chunk-KIYPK4VF.mjs → chunk-YWILOKX4.mjs} +2 -2
  60. package/chunk-YWILOKX4.mjs.map +1 -0
  61. package/{chunk-QACXLARW.mjs → chunk-ZJAFK7BR.mjs} +1 -1
  62. package/chunk-ZJAFK7BR.mjs.map +1 -0
  63. package/{chunk-MNL6TV33.js → chunk-ZOF6UW3D.js} +6 -6
  64. package/{chunk-MNL6TV33.js.map → chunk-ZOF6UW3D.js.map} +1 -1
  65. package/components/form/date-picker.d.mts +2 -1
  66. package/components/form/date-picker.d.ts +2 -1
  67. package/components/form/date-picker.js +4 -4
  68. package/components/form/date-picker.mjs +3 -3
  69. package/components/form/date-range-picker.js +4 -4
  70. package/components/form/date-range-picker.mjs +2 -2
  71. package/components/form/hook-date-picker.js +4 -4
  72. package/components/form/hook-date-picker.mjs +3 -3
  73. package/components/form/hook-searchable-select.js +5 -5
  74. package/components/form/hook-searchable-select.mjs +4 -4
  75. package/components/form/hook-select.js +3 -3
  76. package/components/form/hook-select.mjs +2 -2
  77. package/components/form/searchable-select.js +5 -5
  78. package/components/form/searchable-select.mjs +4 -4
  79. package/components/form/select.js +3 -3
  80. package/components/form/select.mjs +2 -2
  81. package/components/ui/accordion.js.map +1 -1
  82. package/components/ui/accordion.mjs.map +1 -1
  83. package/components/ui/alert-dialog.js +3 -3
  84. package/components/ui/alert-dialog.js.map +1 -1
  85. package/components/ui/alert-dialog.mjs +1 -1
  86. package/components/ui/alert-dialog.mjs.map +1 -1
  87. package/components/ui/alert.d.mts +1 -1
  88. package/components/ui/alert.d.ts +1 -1
  89. package/components/ui/badge.d.mts +1 -1
  90. package/components/ui/badge.d.ts +1 -1
  91. package/components/ui/button.js +2 -2
  92. package/components/ui/button.mjs +1 -1
  93. package/components/ui/calendar.js +3 -3
  94. package/components/ui/calendar.mjs +2 -2
  95. package/components/ui/carousel.js +3 -3
  96. package/components/ui/carousel.mjs +1 -1
  97. package/components/ui/command.js +3 -3
  98. package/components/ui/command.mjs +2 -2
  99. package/components/ui/context-menu.js.map +1 -1
  100. package/components/ui/context-menu.mjs.map +1 -1
  101. package/components/ui/copy-button.js.map +1 -1
  102. package/components/ui/copy-button.mjs.map +1 -1
  103. package/components/ui/dialog.js +2 -2
  104. package/components/ui/dialog.mjs +1 -1
  105. package/components/ui/drawer.d.mts +11 -22
  106. package/components/ui/drawer.d.ts +11 -22
  107. package/components/ui/drawer.js +62 -36
  108. package/components/ui/drawer.js.map +1 -1
  109. package/components/ui/drawer.mjs +62 -36
  110. package/components/ui/drawer.mjs.map +1 -1
  111. package/components/ui/dropdown-menu.js +2 -2
  112. package/components/ui/dropdown-menu.mjs +1 -1
  113. package/components/ui/extension/file-input.js +2 -2
  114. package/components/ui/extension/file-input.mjs +1 -1
  115. package/components/ui/extension/multi-select.d.mts +4 -4
  116. package/components/ui/extension/multi-select.d.ts +4 -4
  117. package/components/ui/extension/multi-select.js +6 -6
  118. package/components/ui/extension/multi-select.mjs +2 -2
  119. package/components/ui/input-otp.js.map +1 -1
  120. package/components/ui/input-otp.mjs.map +1 -1
  121. package/components/ui/menubar.js.map +1 -1
  122. package/components/ui/menubar.mjs.map +1 -1
  123. package/components/ui/navigation-menu.js +1 -0
  124. package/components/ui/navigation-menu.js.map +1 -1
  125. package/components/ui/navigation-menu.mjs +1 -0
  126. package/components/ui/navigation-menu.mjs.map +1 -1
  127. package/components/ui/pagination.js +2 -2
  128. package/components/ui/pagination.js.map +1 -1
  129. package/components/ui/pagination.mjs +1 -1
  130. package/components/ui/pagination.mjs.map +1 -1
  131. package/components/ui/resizable.d.mts +1 -1
  132. package/components/ui/resizable.d.ts +1 -1
  133. package/components/ui/scroll-area.js.map +1 -1
  134. package/components/ui/scroll-area.mjs.map +1 -1
  135. package/components/ui/select.js +2 -2
  136. package/components/ui/select.mjs +1 -1
  137. package/components/ui/sheet.js +2 -2
  138. package/components/ui/sheet.mjs +1 -1
  139. package/components/ui/sidebar.js +4 -4
  140. package/components/ui/sidebar.mjs +3 -3
  141. package/components/ui/slider.js.map +1 -1
  142. package/components/ui/slider.mjs.map +1 -1
  143. package/components/ui/toaster.js.map +1 -1
  144. package/components/ui/toaster.mjs.map +1 -1
  145. package/layouts/sidebar1/app-sidebar.js +9 -9
  146. package/layouts/sidebar1/app-sidebar.mjs +8 -8
  147. package/layouts/sidebar1/context-switcher.js +6 -6
  148. package/layouts/sidebar1/context-switcher.mjs +5 -5
  149. package/layouts/sidebar1/index.js +9 -9
  150. package/layouts/sidebar1/index.js.map +1 -1
  151. package/layouts/sidebar1/index.mjs +8 -8
  152. package/layouts/sidebar1/index.mjs.map +1 -1
  153. package/layouts/sidebar1/nav-menus.js +5 -5
  154. package/layouts/sidebar1/nav-menus.mjs +4 -4
  155. package/layouts/sidebar1/nav-user.js +6 -6
  156. package/layouts/sidebar1/nav-user.mjs +5 -5
  157. package/layouts/simple/index.js +5 -5
  158. package/layouts/simple/index.js.map +1 -1
  159. package/layouts/simple/index.mjs +3 -3
  160. package/layouts/simple/index.mjs.map +1 -1
  161. package/layouts/simple/mobile-menu.js +2 -2
  162. package/layouts/simple/mobile-menu.mjs +1 -1
  163. package/layouts/simple/user-menu.js +3 -3
  164. package/layouts/simple/user-menu.mjs +2 -2
  165. package/package.json +3 -3
  166. package/chunk-2SKDOU2K.mjs.map +0 -1
  167. package/chunk-CNKUWWZ7.js.map +0 -1
  168. package/chunk-CQ5UU2AD.mjs.map +0 -1
  169. package/chunk-EILSBSRU.mjs.map +0 -1
  170. package/chunk-ETIGFRE4.js.map +0 -1
  171. package/chunk-HEQKEA7M.mjs.map +0 -1
  172. package/chunk-KIYPK4VF.mjs.map +0 -1
  173. package/chunk-MDBMHJV2.mjs.map +0 -1
  174. package/chunk-MTEJGYUG.js.map +0 -1
  175. package/chunk-QAB6DGZF.mjs.map +0 -1
  176. package/chunk-QACXLARW.mjs.map +0 -1
  177. package/chunk-S4X22CRP.mjs.map +0 -1
  178. package/chunk-SPFMZ2EK.js.map +0 -1
  179. package/chunk-YMQLUZVD.mjs.map +0 -1
  180. /package/{chunk-M3IF5WMA.mjs.map → chunk-ACE5WNTU.mjs.map} +0 -0
  181. /package/{chunk-6RRWPK3R.mjs.map → chunk-CPGH6LBC.mjs.map} +0 -0
  182. /package/{chunk-SEWCR6NS.mjs.map → chunk-NTYWTGYX.mjs.map} +0 -0
  183. /package/{chunk-IKMOSUDO.mjs.map → chunk-PS7WGOZH.mjs.map} +0 -0
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../components/ui/alert-dialog.tsx"],"sourcesContent":["\"use client\";\nimport * as React from 'react';\nimport * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';\n\nimport { cn } from '../../lib/utils';\nimport { buttonVariants } from './button';\n\nconst AlertDialog = AlertDialogPrimitive.Root;\n\nconst AlertDialogTrigger = AlertDialogPrimitive.Trigger;\n\nconst AlertDialogPortal = AlertDialogPrimitive.Portal;\n\nconst AlertDialogOverlay = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Overlay>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Overlay>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Overlay\n className={cn(\n 'fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0',\n className,\n )}\n {...props}\n ref={ref}\n />\n));\nAlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName;\n\nconst AlertDialogContent = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Content>\n>(({ className, ...props }, ref) => (\n <AlertDialogPortal>\n <AlertDialogOverlay />\n\n <AlertDialogPrimitive.Content\n ref={ref}\n className={cn(\n 'fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 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-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg',\n className,\n )}\n {...props}\n />\n </AlertDialogPortal>\n));\nAlertDialogContent.displayName = AlertDialogPrimitive.Content.displayName;\n\nconst AlertDialogHeader = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (\n <div className={cn('flex flex-col space-y-2 text-center sm:text-left', className)} {...props} />\n);\nAlertDialogHeader.displayName = 'AlertDialogHeader';\n\nconst AlertDialogFooter = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (\n <div className={cn('flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2', className)} {...props} />\n);\nAlertDialogFooter.displayName = 'AlertDialogFooter';\n\nconst AlertDialogTitle = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Title>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Title>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Title ref={ref} className={cn('text-lg font-semibold', className)} {...props} />\n));\nAlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;\n\nconst AlertDialogDescription = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Description>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Description>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Description ref={ref} className={cn('text-sm text-muted-foreground', className)} {...props} />\n));\nAlertDialogDescription.displayName = AlertDialogPrimitive.Description.displayName;\n\nconst AlertDialogAction = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Action>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Action>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Action ref={ref} className={cn(buttonVariants(), className)} {...props} />\n));\nAlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;\n\nconst AlertDialogCancel = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Cancel>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Cancel>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Cancel\n ref={ref}\n className={cn(buttonVariants({ variant: 'light' }), 'mt-2 sm:mt-0', className)}\n {...props}\n />\n));\nAlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName;\n\nexport {\n AlertDialog,\n AlertDialogPortal,\n AlertDialogOverlay,\n AlertDialogTrigger,\n AlertDialogContent,\n AlertDialogHeader,\n AlertDialogFooter,\n AlertDialogTitle,\n AlertDialogDescription,\n AlertDialogAction,\n AlertDialogCancel,\n};\n"],"mappings":";;;;;;;;;;;;;;;AACA,YAAY,WAAW;AACvB,YAAY,0BAA0B;AAKtC,IAAM,cAAmC;AAEzC,IAAM,qBAA0C;AAEhD,IAAM,oBAAyC;AAE/C,IAAM,qBAA2B,iBAG/B,CAAC,IAAyB,QAAK;AAA9B,eAAE,YAhBL,IAgBG,IAAgB,kBAAhB,IAAgB,CAAd;AAC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ACD,uBAAuB,cAAmC,iCAAY;AAEtE,IAAM,oBAA0B,iBAG9B,CAAC,IAAyB,QAAK;AAA9B,eAAE,YA5EL,IA4EG,IAAgB,kBAAhB,IAAgB,CAAd;AACH,6CAAsB,6BAArB,iBAA4B,KAAU,WAAW,GAAG,eAAe,GAAG,SAAS,KAAO,MAAO;AAAA,CAC/F;AACD,kBAAkB,cAAmC,4BAAO;AAE5D,IAAM,oBAA0B,iBAG9B,CAAC,IAAyB,QAAK;AAA9B,eAAE,YApFL,IAoFG,IAAgB,kBAAhB,IAAgB,CAAd;AACH;AAAA,IAAsB;AAAA,IAArB;AAAA,MACC;AAAA,MACA,WAAW,GAAG,eAAe,EAAE,SAAS,QAAQ,CAAC,GAAG,gBAAgB,SAAS;AAAA,OACzE;AAAA,EACN;AAAA,CACD;AACD,kBAAkB,cAAmC,4BAAO;","names":[]}
1
+ {"version":3,"sources":["../../../components/ui/alert-dialog.tsx"],"sourcesContent":["\"use client\";\nimport * as React from 'react';\nimport * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';\n\nimport { cn } from '../../lib/utils';\nimport { buttonVariants } from './button';\n\nconst AlertDialog = AlertDialogPrimitive.Root;\n\nconst AlertDialogTrigger = AlertDialogPrimitive.Trigger;\n\nconst AlertDialogPortal = AlertDialogPrimitive.Portal;\n\nconst AlertDialogOverlay = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Overlay>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Overlay>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Overlay\n className={cn(\n 'fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0',\n className,\n )}\n {...props}\n ref={ref}\n />\n));\nAlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName;\n\nconst AlertDialogContent = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Content>\n>(({ className, ...props }, ref) => (\n <AlertDialogPortal>\n <AlertDialogOverlay />\n <AlertDialogPrimitive.Content\n ref={ref}\n className={cn(\n 'fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 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-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg',\n className,\n )}\n {...props}\n />\n </AlertDialogPortal>\n));\nAlertDialogContent.displayName = AlertDialogPrimitive.Content.displayName;\n\nconst AlertDialogHeader = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (\n <div className={cn('flex flex-col space-y-2 text-center sm:text-left', className)} {...props} />\n);\nAlertDialogHeader.displayName = 'AlertDialogHeader';\n\nconst AlertDialogFooter = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (\n <div className={cn('flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2', className)} {...props} />\n);\nAlertDialogFooter.displayName = 'AlertDialogFooter';\n\nconst AlertDialogTitle = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Title>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Title>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Title ref={ref} className={cn('text-lg font-semibold', className)} {...props} />\n));\nAlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;\n\nconst AlertDialogDescription = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Description>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Description>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Description ref={ref} className={cn('text-sm text-muted-foreground', className)} {...props} />\n));\nAlertDialogDescription.displayName = AlertDialogPrimitive.Description.displayName;\n\nconst AlertDialogAction = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Action>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Action>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Action ref={ref} className={cn(buttonVariants(), className)} {...props} />\n));\nAlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;\n\nconst AlertDialogCancel = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Cancel>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Cancel>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Cancel\n ref={ref}\n className={cn(buttonVariants({ variant: 'light' }), 'mt-2 sm:mt-0', className)}\n {...props}\n />\n));\nAlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName;\n\nexport {\n AlertDialog,\n AlertDialogPortal,\n AlertDialogOverlay,\n AlertDialogTrigger,\n AlertDialogContent,\n AlertDialogHeader,\n AlertDialogFooter,\n AlertDialogTitle,\n AlertDialogDescription,\n AlertDialogAction,\n AlertDialogCancel,\n};\n"],"mappings":";;;;;;;;;;;;;;;AACA,YAAY,WAAW;AACvB,YAAY,0BAA0B;AAKtC,IAAM,cAAmC;AAEzC,IAAM,qBAA0C;AAEhD,IAAM,oBAAyC;AAE/C,IAAM,qBAA2B,iBAG/B,CAAC,IAAyB,QAAK;AAA9B,eAAE,YAhBL,IAgBG,IAAgB,kBAAhB,IAAgB,CAAd;AACH;AAAA,IAAsB;AAAA,IAArB;AAAA,MACC,WAAW;AAAA,QACT;AAAA,QACA;AAAA,MACF;AAAA,OACI,QALL;AAAA,MAMC;AAAA;AAAA,EACF;AAAA,CACD;AACD,mBAAmB,cAAmC,6BAAQ;AAE9D,IAAM,qBAA2B,iBAG/B,CAAC,IAAyB,QAAK;AAA9B,eAAE,YA/BL,IA+BG,IAAgB,kBAAhB,IAAgB,CAAd;AACH,6CAA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G9B,CAAC,IAAyB,QAAK;AAA9B,eAAE,YAnFL,IAmFG,IAAgB,kBAAhB,IAAgB,CAAd;AACH;AAAA,IAAsB;AAAA,IAArB;AAAA,MACC;AAAA,MACA,WAAW,GAAG,eAAe,EAAE,SAAS,QAAQ,CAAC,GAAG,gBAAgB,SAAS;AAAA,OACzE;AAAA,EACN;AAAA,CACD;AACD,kBAAkB,cAAmC,4BAAO;","names":[]}
@@ -3,7 +3,7 @@ import * as React from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
4
 
5
5
  declare const alertVariants: (props?: ({
6
- variant?: "link" | "primary" | "secondary" | "success" | "warning" | "danger" | "info" | "light" | "dark" | "accent" | "destructive" | "muted" | "ghost" | null | undefined;
6
+ variant?: "primary" | "secondary" | "success" | "warning" | "danger" | "info" | "light" | "dark" | "accent" | "destructive" | "muted" | "link" | "ghost" | null | undefined;
7
7
  appearance?: "light" | "solid" | null | undefined;
8
8
  } & class_variance_authority_types.ClassProp) | undefined) => string;
9
9
  interface AlertProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariants> {
@@ -3,7 +3,7 @@ import * as React from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
4
 
5
5
  declare const alertVariants: (props?: ({
6
- variant?: "link" | "primary" | "secondary" | "success" | "warning" | "danger" | "info" | "light" | "dark" | "accent" | "destructive" | "muted" | "ghost" | null | undefined;
6
+ variant?: "primary" | "secondary" | "success" | "warning" | "danger" | "info" | "light" | "dark" | "accent" | "destructive" | "muted" | "link" | "ghost" | null | undefined;
7
7
  appearance?: "light" | "solid" | null | undefined;
8
8
  } & class_variance_authority_types.ClassProp) | undefined) => string;
9
9
  interface AlertProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariants> {
@@ -3,7 +3,7 @@ import * as React from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
4
 
5
5
  declare const badgeVariants: (props?: ({
6
- variant?: "link" | "primary" | "secondary" | "success" | "warning" | "danger" | "info" | "light" | "dark" | "accent" | "destructive" | "muted" | "ghost" | null | undefined;
6
+ variant?: "primary" | "secondary" | "success" | "warning" | "danger" | "info" | "light" | "dark" | "accent" | "destructive" | "muted" | "link" | "ghost" | null | undefined;
7
7
  size?: "sm" | "default" | "lg" | null | undefined;
8
8
  appearance?: "solid" | "outline" | "outline-filled" | null | undefined;
9
9
  } & class_variance_authority_types.ClassProp) | undefined) => string;
@@ -3,7 +3,7 @@ import * as React from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
4
 
5
5
  declare const badgeVariants: (props?: ({
6
- variant?: "link" | "primary" | "secondary" | "success" | "warning" | "danger" | "info" | "light" | "dark" | "accent" | "destructive" | "muted" | "ghost" | null | undefined;
6
+ variant?: "primary" | "secondary" | "success" | "warning" | "danger" | "info" | "light" | "dark" | "accent" | "destructive" | "muted" | "link" | "ghost" | null | undefined;
7
7
  size?: "sm" | "default" | "lg" | null | undefined;
8
8
  appearance?: "solid" | "outline" | "outline-filled" | null | undefined;
9
9
  } & class_variance_authority_types.ClassProp) | undefined) => string;
@@ -3,12 +3,12 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkDSWNLHEWjs = require('../../chunk-DSWNLHEW.js');
6
+ var _chunkEZZ2YCUUjs = require('../../chunk-EZZ2YCUU.js');
7
7
  require('../../chunk-A34GFF2E.js');
8
8
  require('../../chunk-6N4WCMTE.js');
9
9
  require('../../chunk-2NMEKWO5.js');
10
10
 
11
11
 
12
12
 
13
- exports.Button = _chunkDSWNLHEWjs.Button; exports.buttonVariants = _chunkDSWNLHEWjs.buttonVariants;
13
+ exports.Button = _chunkEZZ2YCUUjs.Button; exports.buttonVariants = _chunkEZZ2YCUUjs.buttonVariants;
14
14
  //# sourceMappingURL=button.js.map
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  Button,
4
4
  buttonVariants
5
- } from "../../chunk-FQBFIZY3.mjs";
5
+ } from "../../chunk-4NMFJSJN.mjs";
6
6
  import "../../chunk-NRHWGE26.mjs";
7
7
  import "../../chunk-F5XCCSBC.mjs";
8
8
  import "../../chunk-YOSPWY5K.mjs";
@@ -2,12 +2,12 @@
2
2
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
3
3
 
4
4
 
5
- var _chunkBKCGAF7Pjs = require('../../chunk-BKCGAF7P.js');
6
- require('../../chunk-DSWNLHEW.js');
5
+ var _chunk73VYAPJRjs = require('../../chunk-73VYAPJR.js');
6
+ require('../../chunk-EZZ2YCUU.js');
7
7
  require('../../chunk-A34GFF2E.js');
8
8
  require('../../chunk-6N4WCMTE.js');
9
9
  require('../../chunk-2NMEKWO5.js');
10
10
 
11
11
 
12
- exports.Calendar = _chunkBKCGAF7Pjs.Calendar;
12
+ exports.Calendar = _chunk73VYAPJRjs.Calendar;
13
13
  //# sourceMappingURL=calendar.js.map
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import {
3
3
  Calendar
4
- } from "../../chunk-IKMOSUDO.mjs";
5
- import "../../chunk-FQBFIZY3.mjs";
4
+ } from "../../chunk-PS7WGOZH.mjs";
5
+ import "../../chunk-4NMFJSJN.mjs";
6
6
  import "../../chunk-NRHWGE26.mjs";
7
7
  import "../../chunk-F5XCCSBC.mjs";
8
8
  import "../../chunk-YOSPWY5K.mjs";
@@ -2,7 +2,7 @@
2
2
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
3
3
 
4
4
 
5
- var _chunkDSWNLHEWjs = require('../../chunk-DSWNLHEW.js');
5
+ var _chunkEZZ2YCUUjs = require('../../chunk-EZZ2YCUU.js');
6
6
  require('../../chunk-A34GFF2E.js');
7
7
 
8
8
 
@@ -142,7 +142,7 @@ var CarouselPrevious = React.forwardRef(
142
142
  var _b = _a, { className, variant = "light", size = "icon" } = _b, props = _chunk2NMEKWO5js.__objRest.call(void 0, _b, ["className", "variant", "size"]);
143
143
  const { orientation, scrollPrev, canScrollPrev } = useCarousel();
144
144
  return /* @__PURE__ */ React.createElement(
145
- _chunkDSWNLHEWjs.Button,
145
+ _chunkEZZ2YCUUjs.Button,
146
146
  _chunk2NMEKWO5js.__spreadValues.call(void 0, {
147
147
  ref,
148
148
  variant,
@@ -166,7 +166,7 @@ var CarouselNext = React.forwardRef(
166
166
  var _b = _a, { className, variant = "light", size = "icon" } = _b, props = _chunk2NMEKWO5js.__objRest.call(void 0, _b, ["className", "variant", "size"]);
167
167
  const { orientation, scrollNext, canScrollNext } = useCarousel();
168
168
  return /* @__PURE__ */ React.createElement(
169
- _chunkDSWNLHEWjs.Button,
169
+ _chunkEZZ2YCUUjs.Button,
170
170
  _chunk2NMEKWO5js.__spreadValues.call(void 0, {
171
171
  ref,
172
172
  variant,
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  Button
4
- } from "../../chunk-FQBFIZY3.mjs";
4
+ } from "../../chunk-4NMFJSJN.mjs";
5
5
  import "../../chunk-NRHWGE26.mjs";
6
6
  import {
7
7
  cn
@@ -10,8 +10,8 @@
10
10
 
11
11
 
12
12
 
13
- var _chunkNUMBVYVRjs = require('../../chunk-NUMBVYVR.js');
14
- require('../../chunk-YWFLDXW4.js');
13
+ var _chunkI64GW5SAjs = require('../../chunk-I64GW5SA.js');
14
+ require('../../chunk-U3KAN7IM.js');
15
15
  require('../../chunk-6N4WCMTE.js');
16
16
  require('../../chunk-2NMEKWO5.js');
17
17
 
@@ -24,5 +24,5 @@ require('../../chunk-2NMEKWO5.js');
24
24
 
25
25
 
26
26
 
27
- exports.Command = _chunkNUMBVYVRjs.Command; exports.CommandDialog = _chunkNUMBVYVRjs.CommandDialog; exports.CommandEmpty = _chunkNUMBVYVRjs.CommandEmpty; exports.CommandGroup = _chunkNUMBVYVRjs.CommandGroup; exports.CommandInput = _chunkNUMBVYVRjs.CommandInput; exports.CommandItem = _chunkNUMBVYVRjs.CommandItem; exports.CommandList = _chunkNUMBVYVRjs.CommandList; exports.CommandSeparator = _chunkNUMBVYVRjs.CommandSeparator; exports.CommandShortcut = _chunkNUMBVYVRjs.CommandShortcut;
27
+ exports.Command = _chunkI64GW5SAjs.Command; exports.CommandDialog = _chunkI64GW5SAjs.CommandDialog; exports.CommandEmpty = _chunkI64GW5SAjs.CommandEmpty; exports.CommandGroup = _chunkI64GW5SAjs.CommandGroup; exports.CommandInput = _chunkI64GW5SAjs.CommandInput; exports.CommandItem = _chunkI64GW5SAjs.CommandItem; exports.CommandList = _chunkI64GW5SAjs.CommandList; exports.CommandSeparator = _chunkI64GW5SAjs.CommandSeparator; exports.CommandShortcut = _chunkI64GW5SAjs.CommandShortcut;
28
28
  //# sourceMappingURL=command.js.map
@@ -9,8 +9,8 @@ import {
9
9
  CommandList,
10
10
  CommandSeparator,
11
11
  CommandShortcut
12
- } from "../../chunk-S4X22CRP.mjs";
13
- import "../../chunk-CQ5UU2AD.mjs";
12
+ } from "../../chunk-4XC6EXHZ.mjs";
13
+ import "../../chunk-YAPKDLRQ.mjs";
14
14
  import "../../chunk-F5XCCSBC.mjs";
15
15
  import "../../chunk-YOSPWY5K.mjs";
16
16
  export {
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/jahn/projects/shadcn-theme/packages/react/dist/components/ui/context-menu.js","../../../components/ui/context-menu.tsx"],"names":[],"mappings":"AAAA,uWAAY;AACZ;AACE;AACF,0DAAgC;AAChC;AACE;AACA;AACF,0DAAgC;AAChC;AACA;ACRA,2EAAuB;AACvB,uIAAsC;AACtC,2CAA4C;AAI5C,IAAM,YAAA,EAAmC,oBAAA,CAAA,IAAA;AAEzC,IAAM,mBAAA,EAA0C,oBAAA,CAAA,OAAA;AAEhD,IAAM,iBAAA,EAAwC,oBAAA,CAAA,KAAA;AAE9C,IAAM,kBAAA,EAAyC,oBAAA,CAAA,MAA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,MAAA,EAAA,wCAAA,EAAhB,EAAgB,CAAd,WAAA,CAAA,CAAA;AACH,EAAA,uBAAA,KAAA,CAAA,aAAA,CAAsB,oBAAA,CAAA,SAAA,EAArB,6CAAA,EAA+B,GAAA,EAAU,SAAA,EAAW,iCAAA,2BAAG,EAA6B,SAAS,EAAA,CAAA,EAAO,KAAA,CAAO,CAAA;AAAA,CAC7G,CAAA;AACD,oBAAA,CAAqB,YAAA,EAAmC,oBAAA,CAAA,SAAA,CAAU,WAAA;AAElE,IAAM,oBAAA,EAAsB,CAAC,EAAA,EAAA,GAAmE;AAAnE,EAAA,IAAA,GAAA,EAAA,EAAA,EAAE,EAAA,UA9J/B,EAAA,EA8J6B,EAAA,EAAgB,MAAA,EAAA,wCAAA,EAAhB,EAAgB,CAAd,WAAA,CAAA,CAAA;AAC7B,EAAA,uBAAO,KAAA,CAAA,aAAA,CAAC,MAAA,EAAA,6CAAA,EAAK,SAAA,EAAW,iCAAA,uDAAG,EAAyD,SAAS,EAAA,CAAA,EAAO,KAAA,CAAO,CAAA;AAC7G,CAAA;AACA,mBAAA,CAAoB,YAAA,EAAc,qBAAA;AD5BlC;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,8tBAAC","file":"/home/jahn/projects/shadcn-theme/packages/react/dist/components/ui/context-menu.js","sourcesContent":[null,"\"use client\";\nimport * as React from 'react';\nimport * as ContextMenuPrimitive from '@radix-ui/react-context-menu';\nimport { Check, ChevronRight, Circle } from 'lucide-react';\n\nimport { cn } from '../../lib/utils';\n\nconst ContextMenu = ContextMenuPrimitive.Root;\n\nconst ContextMenuTrigger = ContextMenuPrimitive.Trigger;\n\nconst ContextMenuGroup = ContextMenuPrimitive.Group;\n\nconst ContextMenuPortal = ContextMenuPrimitive.Portal;\n\nconst ContextMenuSub = ContextMenuPrimitive.Sub;\n\nconst ContextMenuRadioGroup = ContextMenuPrimitive.RadioGroup;\n\nconst ContextMenuSubTrigger = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.SubTrigger>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.SubTrigger> & {\n inset?: boolean;\n }\n>(({ className, inset, children, ...props }, ref) => (\n <ContextMenuPrimitive.SubTrigger\n ref={ref}\n className={cn(\n 'flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground',\n inset && 'pl-8',\n className,\n )}\n {...props}\n >\n {children}\n\n <ChevronRight className=\"ml-auto h-4 w-4\" />\n </ContextMenuPrimitive.SubTrigger>\n));\nContextMenuSubTrigger.displayName = ContextMenuPrimitive.SubTrigger.displayName;\n\nconst ContextMenuSubContent = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.SubContent>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.SubContent>\n>(({ className, ...props }, ref) => (\n <ContextMenuPrimitive.SubContent\n ref={ref}\n className={cn(\n 'z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg 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',\n className,\n )}\n {...props}\n />\n));\nContextMenuSubContent.displayName = ContextMenuPrimitive.SubContent.displayName;\n\nconst ContextMenuContent = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Content>\n>(({ className, ...props }, ref) => (\n <ContextMenuPrimitive.Portal>\n <ContextMenuPrimitive.Content\n ref={ref}\n className={cn(\n 'z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md 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',\n className,\n )}\n {...props}\n />\n </ContextMenuPrimitive.Portal>\n));\nContextMenuContent.displayName = ContextMenuPrimitive.Content.displayName;\n\nconst ContextMenuItem = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.Item>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Item> & {\n inset?: boolean;\n }\n>(({ className, inset, ...props }, ref) => (\n <ContextMenuPrimitive.Item\n ref={ref}\n className={cn(\n 'relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50',\n inset && 'pl-8',\n className,\n )}\n {...props}\n />\n));\nContextMenuItem.displayName = ContextMenuPrimitive.Item.displayName;\n\nconst ContextMenuCheckboxItem = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.CheckboxItem>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.CheckboxItem>\n>(({ className, children, checked, ...props }, ref) => (\n <ContextMenuPrimitive.CheckboxItem\n ref={ref}\n className={cn(\n 'relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50',\n className,\n )}\n checked={checked}\n {...props}\n >\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n <ContextMenuPrimitive.ItemIndicator>\n <Check className=\"h-4 w-4\" />\n </ContextMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </ContextMenuPrimitive.CheckboxItem>\n));\nContextMenuCheckboxItem.displayName = ContextMenuPrimitive.CheckboxItem.displayName;\n\nconst ContextMenuRadioItem = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.RadioItem>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.RadioItem>\n>(({ className, children, ...props }, ref) => (\n <ContextMenuPrimitive.RadioItem\n ref={ref}\n className={cn(\n 'relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50',\n className,\n )}\n {...props}\n >\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n <ContextMenuPrimitive.ItemIndicator>\n <Circle className=\"h-4 w-4 fill-current\" />\n </ContextMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </ContextMenuPrimitive.RadioItem>\n));\nContextMenuRadioItem.displayName = ContextMenuPrimitive.RadioItem.displayName;\n\nconst ContextMenuLabel = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.Label>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Label> & {\n inset?: boolean;\n }\n>(({ className, inset, ...props }, ref) => (\n <ContextMenuPrimitive.Label\n ref={ref}\n className={cn('px-2 py-1.5 text-sm font-semibold text-foreground', inset && 'pl-8', className)}\n {...props}\n />\n));\nContextMenuLabel.displayName = ContextMenuPrimitive.Label.displayName;\n\nconst ContextMenuSeparator = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.Separator>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Separator>\n>(({ className, ...props }, ref) => (\n <ContextMenuPrimitive.Separator ref={ref} className={cn('-mx-1 my-1 h-px bg-border', className)} {...props} />\n));\nContextMenuSeparator.displayName = ContextMenuPrimitive.Separator.displayName;\n\nconst ContextMenuShortcut = ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>) => {\n return <span className={cn('ml-auto text-xs tracking-widest text-muted-foreground', className)} {...props} />;\n};\nContextMenuShortcut.displayName = 'ContextMenuShortcut';\n\nexport {\n ContextMenu,\n ContextMenuTrigger,\n ContextMenuContent,\n ContextMenuItem,\n ContextMenuCheckboxItem,\n ContextMenuRadioItem,\n ContextMenuLabel,\n ContextMenuSeparator,\n ContextMenuShortcut,\n ContextMenuGroup,\n ContextMenuPortal,\n ContextMenuSub,\n ContextMenuSubContent,\n ContextMenuSubTrigger,\n ContextMenuRadioGroup,\n};\n"]}
1
+ {"version":3,"sources":["/home/jahn/projects/shadcn-theme/packages/react/dist/components/ui/context-menu.js","../../../components/ui/context-menu.tsx"],"names":[],"mappings":"AAAA,uWAAY;AACZ;AACE;AACF,0DAAgC;AAChC;AACE;AACA;AACF,0DAAgC;AAChC;AACA;ACRA,2EAAuB;AACvB,uIAAsC;AACtC,2CAA4C;AAI5C,IAAM,YAAA,EAAmC,oBAAA,CAAA,IAAA;AAEzC,IAAM,mBAAA,EAA0C,oBAAA,CAAA,OAAA;AAEhD,IAAM,iBAAA,EAAwC,oBAAA,CAAA,KAAA;AAE9C,IAAM,kBAAA,EAAyC,oBAAA,CAAA,MAAA;AAE/C,IAAM,eAAA,EAAsC,oBAAA,CAAA,GAAA;AAE5C,IAAM,sBAAA,EAA6C,oBAAA,CAAA,UAAA;AAEnD,IAAM,sBAAA,EAA8B,KAAA,CAAA,UAAA,CAKlC,CAAC,EAAA,EAA0C,GAAA,EAAA,GAAK;AAA/C,EAAA,IAAA,GAAA,EAAA,EAAA,EAAE,EAAA,SAAA,EAAW,KAAA,EAAO,SAxBvB,EAAA,EAwBG,EAAA,EAAiC,MAAA,EAAA,wCAAA,EAAjC,EAAiC,CAA/B,WAAA,EAAW,OAAA,EAAO,UAAA,CAAA,CAAA;AACrB,EAAA,uBAAA,KAAA,CAAA,aAAA;AAAA,IAAsB,oBAAA,CAAA,UAAA;AAAA,IAArB,6CAAA;AAAA,MACC,GAAA;AAAA,MACA,SAAA,EAAW,iCAAA;AAAA,QACT,4MAAA;AAAA,QACA,MAAA,GAAS,MAAA;AAAA,QACT;AAAA,MACF;AAAA,IAAA,CAAA,EACI,K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AAyD,SAAS,EAAA,CAAA,EAAO,KAAA,CAAO,CAAA;AAC7G,CAAA;AACA,mBAAA,CAAoB,YAAA,EAAc,qBAAA;AD3BlC;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,8tBAAC","file":"/home/jahn/projects/shadcn-theme/packages/react/dist/components/ui/context-menu.js","sourcesContent":[null,"\"use client\";\nimport * as React from 'react';\nimport * as ContextMenuPrimitive from '@radix-ui/react-context-menu';\nimport { Check, ChevronRight, Circle } from 'lucide-react';\n\nimport { cn } from '../../lib/utils';\n\nconst ContextMenu = ContextMenuPrimitive.Root;\n\nconst ContextMenuTrigger = ContextMenuPrimitive.Trigger;\n\nconst ContextMenuGroup = ContextMenuPrimitive.Group;\n\nconst ContextMenuPortal = ContextMenuPrimitive.Portal;\n\nconst ContextMenuSub = ContextMenuPrimitive.Sub;\n\nconst ContextMenuRadioGroup = ContextMenuPrimitive.RadioGroup;\n\nconst ContextMenuSubTrigger = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.SubTrigger>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.SubTrigger> & {\n inset?: boolean;\n }\n>(({ className, inset, children, ...props }, ref) => (\n <ContextMenuPrimitive.SubTrigger\n ref={ref}\n className={cn(\n 'flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground',\n inset && 'pl-8',\n className,\n )}\n {...props}\n >\n {children}\n <ChevronRight className=\"ml-auto h-4 w-4\" />\n </ContextMenuPrimitive.SubTrigger>\n));\nContextMenuSubTrigger.displayName = ContextMenuPrimitive.SubTrigger.displayName;\n\nconst ContextMenuSubContent = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.SubContent>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.SubContent>\n>(({ className, ...props }, ref) => (\n <ContextMenuPrimitive.SubContent\n ref={ref}\n className={cn(\n 'z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg 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',\n className,\n )}\n {...props}\n />\n));\nContextMenuSubContent.displayName = ContextMenuPrimitive.SubContent.displayName;\n\nconst ContextMenuContent = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Content>\n>(({ className, ...props }, ref) => (\n <ContextMenuPrimitive.Portal>\n <ContextMenuPrimitive.Content\n ref={ref}\n className={cn(\n 'z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md 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',\n className,\n )}\n {...props}\n />\n </ContextMenuPrimitive.Portal>\n));\nContextMenuContent.displayName = ContextMenuPrimitive.Content.displayName;\n\nconst ContextMenuItem = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.Item>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Item> & {\n inset?: boolean;\n }\n>(({ className, inset, ...props }, ref) => (\n <ContextMenuPrimitive.Item\n ref={ref}\n className={cn(\n 'relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50',\n inset && 'pl-8',\n className,\n )}\n {...props}\n />\n));\nContextMenuItem.displayName = ContextMenuPrimitive.Item.displayName;\n\nconst ContextMenuCheckboxItem = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.CheckboxItem>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.CheckboxItem>\n>(({ className, children, checked, ...props }, ref) => (\n <ContextMenuPrimitive.CheckboxItem\n ref={ref}\n className={cn(\n 'relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50',\n className,\n )}\n checked={checked}\n {...props}\n >\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n <ContextMenuPrimitive.ItemIndicator>\n <Check className=\"h-4 w-4\" />\n </ContextMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </ContextMenuPrimitive.CheckboxItem>\n));\nContextMenuCheckboxItem.displayName = ContextMenuPrimitive.CheckboxItem.displayName;\n\nconst ContextMenuRadioItem = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.RadioItem>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.RadioItem>\n>(({ className, children, ...props }, ref) => (\n <ContextMenuPrimitive.RadioItem\n ref={ref}\n className={cn(\n 'relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50',\n className,\n )}\n {...props}\n >\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n <ContextMenuPrimitive.ItemIndicator>\n <Circle className=\"h-4 w-4 fill-current\" />\n </ContextMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </ContextMenuPrimitive.RadioItem>\n));\nContextMenuRadioItem.displayName = ContextMenuPrimitive.RadioItem.displayName;\n\nconst ContextMenuLabel = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.Label>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Label> & {\n inset?: boolean;\n }\n>(({ className, inset, ...props }, ref) => (\n <ContextMenuPrimitive.Label\n ref={ref}\n className={cn('px-2 py-1.5 text-sm font-semibold text-foreground', inset && 'pl-8', className)}\n {...props}\n />\n));\nContextMenuLabel.displayName = ContextMenuPrimitive.Label.displayName;\n\nconst ContextMenuSeparator = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.Separator>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Separator>\n>(({ className, ...props }, ref) => (\n <ContextMenuPrimitive.Separator ref={ref} className={cn('-mx-1 my-1 h-px bg-border', className)} {...props} />\n));\nContextMenuSeparator.displayName = ContextMenuPrimitive.Separator.displayName;\n\nconst ContextMenuShortcut = ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>) => {\n return <span className={cn('ml-auto text-xs tracking-widest text-muted-foreground', className)} {...props} />;\n};\nContextMenuShortcut.displayName = 'ContextMenuShortcut';\n\nexport {\n ContextMenu,\n ContextMenuTrigger,\n ContextMenuContent,\n ContextMenuItem,\n ContextMenuCheckboxItem,\n ContextMenuRadioItem,\n ContextMenuLabel,\n ContextMenuSeparator,\n ContextMenuShortcut,\n ContextMenuGroup,\n ContextMenuPortal,\n ContextMenuSub,\n ContextMenuSubContent,\n ContextMenuSubTrigger,\n ContextMenuRadioGroup,\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../components/ui/context-menu.tsx"],"sourcesContent":["\"use client\";\nimport * as React from 'react';\nimport * as ContextMenuPrimitive from '@radix-ui/react-context-menu';\nimport { Check, ChevronRight, Circle } from 'lucide-react';\n\nimport { cn } from '../../lib/utils';\n\nconst ContextMenu = ContextMenuPrimitive.Root;\n\nconst ContextMenuTrigger = ContextMenuPrimitive.Trigger;\n\nconst ContextMenuGroup = ContextMenuPrimitive.Group;\n\nconst ContextMenuPortal = ContextMenuPrimitive.Portal;\n\nconst ContextMenuSub = ContextMenuPrimitive.Sub;\n\nconst ContextMenuRadioGroup = ContextMenuPrimitive.RadioGroup;\n\nconst ContextMenuSubTrigger = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.SubTrigger>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.SubTrigger> & {\n inset?: boolean;\n }\n>(({ className, inset, children, ...props }, ref) => (\n <ContextMenuPrimitive.SubTrigger\n ref={ref}\n className={cn(\n 'flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground',\n inset && 'pl-8',\n className,\n )}\n {...props}\n >\n {children}\n\n <ChevronRight className=\"ml-auto h-4 w-4\" />\n </ContextMenuPrimitive.SubTrigger>\n));\nContextMenuSubTrigger.displayName = ContextMenuPrimitive.SubTrigger.displayName;\n\nconst ContextMenuSubContent = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.SubContent>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.SubContent>\n>(({ className, ...props }, ref) => (\n <ContextMenuPrimitive.SubContent\n ref={ref}\n className={cn(\n 'z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg 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',\n className,\n )}\n {...props}\n />\n));\nContextMenuSubContent.displayName = ContextMenuPrimitive.SubContent.displayName;\n\nconst ContextMenuContent = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Content>\n>(({ className, ...props }, ref) => (\n <ContextMenuPrimitive.Portal>\n <ContextMenuPrimitive.Content\n ref={ref}\n className={cn(\n 'z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md 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',\n className,\n )}\n {...props}\n />\n </ContextMenuPrimitive.Portal>\n));\nContextMenuContent.displayName = ContextMenuPrimitive.Content.displayName;\n\nconst ContextMenuItem = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.Item>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Item> & {\n inset?: boolean;\n }\n>(({ className, inset, ...props }, ref) => (\n <ContextMenuPrimitive.Item\n ref={ref}\n className={cn(\n 'relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50',\n inset && 'pl-8',\n className,\n )}\n {...props}\n />\n));\nContextMenuItem.displayName = ContextMenuPrimitive.Item.displayName;\n\nconst ContextMenuCheckboxItem = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.CheckboxItem>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.CheckboxItem>\n>(({ className, children, checked, ...props }, ref) => (\n <ContextMenuPrimitive.CheckboxItem\n ref={ref}\n className={cn(\n 'relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50',\n className,\n )}\n checked={checked}\n {...props}\n >\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n <ContextMenuPrimitive.ItemIndicator>\n <Check className=\"h-4 w-4\" />\n </ContextMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </ContextMenuPrimitive.CheckboxItem>\n));\nContextMenuCheckboxItem.displayName = ContextMenuPrimitive.CheckboxItem.displayName;\n\nconst ContextMenuRadioItem = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.RadioItem>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.RadioItem>\n>(({ className, children, ...props }, ref) => (\n <ContextMenuPrimitive.RadioItem\n ref={ref}\n className={cn(\n 'relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50',\n className,\n )}\n {...props}\n >\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n <ContextMenuPrimitive.ItemIndicator>\n <Circle className=\"h-4 w-4 fill-current\" />\n </ContextMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </ContextMenuPrimitive.RadioItem>\n));\nContextMenuRadioItem.displayName = ContextMenuPrimitive.RadioItem.displayName;\n\nconst ContextMenuLabel = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.Label>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Label> & {\n inset?: boolean;\n }\n>(({ className, inset, ...props }, ref) => (\n <ContextMenuPrimitive.Label\n ref={ref}\n className={cn('px-2 py-1.5 text-sm font-semibold text-foreground', inset && 'pl-8', className)}\n {...props}\n />\n));\nContextMenuLabel.displayName = ContextMenuPrimitive.Label.displayName;\n\nconst ContextMenuSeparator = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.Separator>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Separator>\n>(({ className, ...props }, ref) => (\n <ContextMenuPrimitive.Separator ref={ref} className={cn('-mx-1 my-1 h-px bg-border', className)} {...props} />\n));\nContextMenuSeparator.displayName = ContextMenuPrimitive.Separator.displayName;\n\nconst ContextMenuShortcut = ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>) => {\n return <span className={cn('ml-auto text-xs tracking-widest text-muted-foreground', className)} {...props} />;\n};\nContextMenuShortcut.displayName = 'ContextMenuShortcut';\n\nexport {\n ContextMenu,\n ContextMenuTrigger,\n ContextMenuContent,\n ContextMenuItem,\n ContextMenuCheckboxItem,\n ContextMenuRadioItem,\n ContextMenuLabel,\n ContextMenuSeparator,\n ContextMenuShortcut,\n ContextMenuGroup,\n ContextMenuPortal,\n ContextMenuSub,\n ContextMenuSubContent,\n ContextMenuSubTrigger,\n ContextMenuRadioGroup,\n};\n"],"mappings":";;;;;;;;;;AACA,YAAY,WAAW;AACvB,YAAY,0BAA0B;AACtC,SAAS,OAAO,cAAc,cAAc;AAI5C,IAAM,cAAmC;AAEzC,IAAM,qBAA0C;AAEhD,IAAM,mBAAwC;AAE9C,IAAM,oBAAyC;AAE/C,IAAM,iBAAsC;AAE5C,IAAM,wBAA6C;AAEnD,IAAM,wBAA8B,iBAKlC,CAAC,IAA0C,QAAK;AAA/C,eAAE,aAAW,OAAO,SAxBvB,IAwBG,IAAiC,kBAAjC,IAAiC,CAA/B,aAAW,SAAO;AACrB;AAAA,IAAsB;AAAA,IAArB;AAAA,MACC;AAAA,MACA,WAAW;AAAA,QACT;AAAA,QACA,SAAS;AAAA,QACT;AAAA,MACF;AAAA,OACI;AAAA,IAEH;AAAA,IAED,oCAAC,gBAAa,WAAU,mBAAkB;AAAA,EAC5C;AAAA,CACD;AACD,sBAAsB,cAAmC,gCAAW;AAEpE,IAAM,wBAA8B,iBAGlC,CAAC,IAAyB,QAAK;AAA9B,eAAE,YA5CL,IA4CG,IAAgB,kBAAhB,IAAgB,CAAd;AACH;AAAA,IAAsB;AAAA,IAArB;AAAA,MACC;AAAA,MACA,WAAW;AAAA,QACT;AAAA,QACA;AAAA,MACF;AAAA,OACI;AAAA,EACN;AAAA,CACD;AACD,sBAAsB,cAAmC,gCAAW;AAEpE,IAAM,qBAA2B,iBAG/B,CAAC,IAAyB,QAAK;AAA9B,eAAE,YA3DL,IA2DG,IAAgB,kBAAhB,IAAgB,CAAd;AACH,6CAAsB,6BAArB,MACC;AAA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iBAK7B,CAAC,IAAgC,QAAK;AAArC,eAAE,aAAW,MA7IhB,IA6IG,IAAuB,kBAAvB,IAAuB,CAArB,aAAW;AACd;AAAA,IAAsB;AAAA,IAArB;AAAA,MACC;AAAA,MACA,WAAW,GAAG,qDAAqD,SAAS,QAAQ,SAAS;AAAA,OACzF;AAAA,EACN;AAAA,CACD;AACD,iBAAiB,cAAmC,2BAAM;AAE1D,IAAM,uBAA6B,iBAGjC,CAAC,IAAyB,QAAK;AAA9B,eAAE,YAzJL,IAyJG,IAAgB,kBAAhB,IAAgB,CAAd;AACH,6CAAsB,gCAArB,iBAA+B,KAAU,WAAW,GAAG,6BAA6B,SAAS,KAAO,MAAO;AAAA,CAC7G;AACD,qBAAqB,cAAmC,+BAAU;AAElE,IAAM,sBAAsB,CAAC,OAAmE;AAAnE,eAAE,YA9J/B,IA8J6B,IAAgB,kBAAhB,IAAgB,CAAd;AAC7B,SAAO,oCAAC,yBAAK,WAAW,GAAG,yDAAyD,SAAS,KAAO,MAAO;AAC7G;AACA,oBAAoB,cAAc;","names":[]}
1
+ {"version":3,"sources":["../../../components/ui/context-menu.tsx"],"sourcesContent":["\"use client\";\nimport * as React from 'react';\nimport * as ContextMenuPrimitive from '@radix-ui/react-context-menu';\nimport { Check, ChevronRight, Circle } from 'lucide-react';\n\nimport { cn } from '../../lib/utils';\n\nconst ContextMenu = ContextMenuPrimitive.Root;\n\nconst ContextMenuTrigger = ContextMenuPrimitive.Trigger;\n\nconst ContextMenuGroup = ContextMenuPrimitive.Group;\n\nconst ContextMenuPortal = ContextMenuPrimitive.Portal;\n\nconst ContextMenuSub = ContextMenuPrimitive.Sub;\n\nconst ContextMenuRadioGroup = ContextMenuPrimitive.RadioGroup;\n\nconst ContextMenuSubTrigger = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.SubTrigger>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.SubTrigger> & {\n inset?: boolean;\n }\n>(({ className, inset, children, ...props }, ref) => (\n <ContextMenuPrimitive.SubTrigger\n ref={ref}\n className={cn(\n 'flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground',\n inset && 'pl-8',\n className,\n )}\n {...props}\n >\n {children}\n <ChevronRight className=\"ml-auto h-4 w-4\" />\n </ContextMenuPrimitive.SubTrigger>\n));\nContextMenuSubTrigger.displayName = ContextMenuPrimitive.SubTrigger.displayName;\n\nconst ContextMenuSubContent = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.SubContent>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.SubContent>\n>(({ className, ...props }, ref) => (\n <ContextMenuPrimitive.SubContent\n ref={ref}\n className={cn(\n 'z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg 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',\n className,\n )}\n {...props}\n />\n));\nContextMenuSubContent.displayName = ContextMenuPrimitive.SubContent.displayName;\n\nconst ContextMenuContent = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Content>\n>(({ className, ...props }, ref) => (\n <ContextMenuPrimitive.Portal>\n <ContextMenuPrimitive.Content\n ref={ref}\n className={cn(\n 'z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md 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',\n className,\n )}\n {...props}\n />\n </ContextMenuPrimitive.Portal>\n));\nContextMenuContent.displayName = ContextMenuPrimitive.Content.displayName;\n\nconst ContextMenuItem = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.Item>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Item> & {\n inset?: boolean;\n }\n>(({ className, inset, ...props }, ref) => (\n <ContextMenuPrimitive.Item\n ref={ref}\n className={cn(\n 'relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50',\n inset && 'pl-8',\n className,\n )}\n {...props}\n />\n));\nContextMenuItem.displayName = ContextMenuPrimitive.Item.displayName;\n\nconst ContextMenuCheckboxItem = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.CheckboxItem>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.CheckboxItem>\n>(({ className, children, checked, ...props }, ref) => (\n <ContextMenuPrimitive.CheckboxItem\n ref={ref}\n className={cn(\n 'relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50',\n className,\n )}\n checked={checked}\n {...props}\n >\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n <ContextMenuPrimitive.ItemIndicator>\n <Check className=\"h-4 w-4\" />\n </ContextMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </ContextMenuPrimitive.CheckboxItem>\n));\nContextMenuCheckboxItem.displayName = ContextMenuPrimitive.CheckboxItem.displayName;\n\nconst ContextMenuRadioItem = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.RadioItem>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.RadioItem>\n>(({ className, children, ...props }, ref) => (\n <ContextMenuPrimitive.RadioItem\n ref={ref}\n className={cn(\n 'relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50',\n className,\n )}\n {...props}\n >\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n <ContextMenuPrimitive.ItemIndicator>\n <Circle className=\"h-4 w-4 fill-current\" />\n </ContextMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </ContextMenuPrimitive.RadioItem>\n));\nContextMenuRadioItem.displayName = ContextMenuPrimitive.RadioItem.displayName;\n\nconst ContextMenuLabel = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.Label>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Label> & {\n inset?: boolean;\n }\n>(({ className, inset, ...props }, ref) => (\n <ContextMenuPrimitive.Label\n ref={ref}\n className={cn('px-2 py-1.5 text-sm font-semibold text-foreground', inset && 'pl-8', className)}\n {...props}\n />\n));\nContextMenuLabel.displayName = ContextMenuPrimitive.Label.displayName;\n\nconst ContextMenuSeparator = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.Separator>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Separator>\n>(({ className, ...props }, ref) => (\n <ContextMenuPrimitive.Separator ref={ref} className={cn('-mx-1 my-1 h-px bg-border', className)} {...props} />\n));\nContextMenuSeparator.displayName = ContextMenuPrimitive.Separator.displayName;\n\nconst ContextMenuShortcut = ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>) => {\n return <span className={cn('ml-auto text-xs tracking-widest text-muted-foreground', className)} {...props} />;\n};\nContextMenuShortcut.displayName = 'ContextMenuShortcut';\n\nexport {\n ContextMenu,\n ContextMenuTrigger,\n ContextMenuContent,\n ContextMenuItem,\n ContextMenuCheckboxItem,\n ContextMenuRadioItem,\n ContextMenuLabel,\n ContextMenuSeparator,\n ContextMenuShortcut,\n ContextMenuGroup,\n ContextMenuPortal,\n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AAA,EACN;AAAA,CACD;AACD,iBAAiB,cAAmC,2BAAM;AAE1D,IAAM,uBAA6B,iBAGjC,CAAC,IAAyB,QAAK;AAA9B,eAAE,YAxJL,IAwJG,IAAgB,kBAAhB,IAAgB,CAAd;AACH,6CAAsB,gCAArB,iBAA+B,KAAU,WAAW,GAAG,6BAA6B,SAAS,KAAO,MAAO;AAAA,CAC7G;AACD,qBAAqB,cAAmC,+BAAU;AAElE,IAAM,sBAAsB,CAAC,OAAmE;AAAnE,eAAE,YA7J/B,IA6J6B,IAAgB,kBAAhB,IAAgB,CAAd;AAC7B,SAAO,oCAAC,yBAAK,WAAW,GAAG,yDAAyD,SAAS,KAAO,MAAO;AAC7G;AACA,oBAAoB,cAAc;","names":[]}
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/jahn/projects/shadcn-theme/packages/react/dist/components/ui/copy-button.js","../../../components/ui/copy-button.tsx"],"names":[],"mappings":"AAAA,qLAAY;AACZ;AACE;AACF,0DAAgC;AAChC;AACE;AACA;AACA;AACF,0DAAgC;AAChC;AACE;AACF,0DAAgC;AAChC;AACE;AACF,0DAAgC;AAChC;AACE;AACF,0DAAgC;AAChC;AACA;AClBA,4EAAgC;AAChC,oGAAsB;AAOtB,SAAS,iBAAA,CAAkB,KAAA,EAAsC;AAC/D,EAAA,uBACE,eAAA,CAAA,aAAA;AAAA,IAAC,KAAA;AAAA,IAAA,6CAAA;AAAA,MACC,KAAA,EAAM,4BAAA;AAAA,MACN,KAAA,EAAM,IAAA;AAAA,MACN,MAAA,EAAO,IAAA;AAAA,MACP,OAAA,EAAQ,WAAA;AAAA,MACR,IAAA,EAAK,MAAA;AAAA,MACL,MAAA,EAAO,cAAA;AAAA,MACP,WAAA,EAAY,GAAA;AAAA,MACZ,aAAA,EAAc,OAAA;AAAA,MACd,cAAA,EAAe,OAAA;AAAA,MACf,SAAA,EAAU;AAAA,IAAA,CAAA,EACN,KAAA,CAAA;AAAA,oBAEJ,eAAA,CAAA,aAAA,CAAC,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,iCAAA,+CAAG,EAAiD,SAAS,CAAA;AAAA,MACxE,YAAA,EAAW,mBAAA;AAAA,MACX,KAAA,EAAM;AAAA,IAAA,CAAA;AAAA,oBAEN,eAAA,CAAA,aAAA,CAAC,MAAA,EAAA,EAAK,SAAA,EAAW,iCAAA,EAAK,iBAAA,EAAmB,OAAO,CAAC,EAAA,CAAA,EAAI,QAAS,CAAA;AAAA,IAC7D,OAAA,mBAAU,eAAA,CAAA,aAAA,CAAC,iBAAA,EAAA,IAAkB;AAAA,EAChC,CACF,CAAA,kBACA,eAAA,CAAA,aAAA,CAAC,+BAAA,EAAA,IAAA,EAAgB,SAAA,CAAU,OAAA,EAAS,SAAA,EAAW,MAAO,CACxD,CAAA;AAEJ;ADFA;AACE;AACF,wCAAC","file":"/home/jahn/projects/shadcn-theme/packages/react/dist/components/ui/copy-button.js","sourcesContent":[null,"\"use client\";\nimport React, { useState } from 'react';\nimport _isString from 'lodash-es/isString';\nimport { useClipboard } from '../../hooks/use-clipboard';\nimport { Tooltip, TooltipContent, TooltipTrigger } from '../../components/ui/tooltip';\nimport { UnstyledButton } from './unstyled-button';\nimport { cn } from '../../lib/utils';\n\n// See https://tabler.io/icons/icon/clipboard-copy\nfunction CopyClipboardIcon(props: React.SVGProps<SVGSVGElement>) {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className=\"icon icon-tabler icons-tabler-outline icon-tabler-clipboard-copy\"\n {...props}\n >\n <path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\" />\n\n <path d=\"M9 5h-2a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h3m9 -9v-5a2 2 0 0 0 -2 -2h-2\" />\n\n <path d=\"M13 17v-1a1 1 0 0 1 1 -1h1m3 0h1a1 1 0 0 1 1 1v1m0 3v1a1 1 0 0 1 -1 1h-1m-3 0h-1a1 1 0 0 1 -1 -1v-1\" />\n\n <path d=\"M9 3m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v0a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z\" />\n </svg>\n );\n}\n\nexport function CopyableButton({\n children,\n value,\n className,\n}: {\n children: React.ReactNode;\n value?: string;\n className?: string;\n}) {\n const clipboard = useClipboard({ timeout: 1000 });\n const [showCopied, setShowCopied] = useState(false);\n\n const isText = _isString(children);\n const copyValue = value ?? (isText ? children : '');\n\n return (\n <Tooltip open={showCopied}>\n <TooltipTrigger asChild>\n <UnstyledButton\n onClick={() => clipboard.copy(String(copyValue))}\n onMouseEnter={() => setShowCopied(true)}\n onMouseLeave={() => setShowCopied(false)}\n className={cn('inline-flex items-center gap-1 cursor-pointer', className)}\n aria-label=\"Copy to clipboard\"\n title=\"Copy to clipboard\"\n >\n <span className={cn({ 'hover:underline': isText })}>{children}</span>\n {isText && <CopyClipboardIcon />}\n </UnstyledButton>\n </TooltipTrigger>\n <TooltipContent>{clipboard.copied ? 'Copied' : 'Copy'}</TooltipContent>\n </Tooltip>\n );\n}\n"]}
1
+ {"version":3,"sources":["/home/jahn/projects/shadcn-theme/packages/react/dist/components/ui/copy-button.js","../../../components/ui/copy-button.tsx"],"names":[],"mappings":"AAAA,qLAAY;AACZ;AACE;AACF,0DAAgC;AAChC;AACE;AACA;AACA;AACF,0DAAgC;AAChC;AACE;AACF,0DAAgC;AAChC;AACE;AACF,0DAAgC;AAChC;AACE;AACF,0DAAgC;AAChC;AACA;AClBA,4EAAgC;AAChC,oGAAsB;AAOtB,SAAS,iBAAA,CAAkB,KAAA,EAAsC;AAC/D,EAAA,uBACE,eAAA,CAAA,aAAA;AAAA,IAAC,KAAA;AAAA,IAAA,6CAAA;AAAA,MACC,KAAA,EAAM,4BAAA;AAAA,MACN,KAAA,EAAM,IAAA;AAAA,MACN,MAAA,EAAO,IAAA;AAAA,M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;AAAA,IAAA;AAAA,MACC,OAAA,EAAS,CAAA,EAAA,GAAM,SAAA,CAAU,IAAA,CAAK,MAAA,CAAO,SAAS,CAAC,CAAA;AAAA,MAC/C,YAAA,EAAc,CAAA,EAAA,GAAM,aAAA,CAAc,IAAI,CAAA;AAAA,MACtC,YAAA,EAAc,CAAA,EAAA,GAAM,aAAA,CAAc,KAAK,CAAA;AAAA,MACvC,SAAA,EAAW,iCAAA,+CAAG,EAAiD,SAAS,CAAA;AAAA,MACxE,YAAA,EAAW,mBAAA;AAAA,MACX,KAAA,EAAM;AAAA,IAAA,CAAA;AAAA,oBAEN,eAAA,CAAA,aAAA,CAAC,MAAA,EAAA,EAAK,SAAA,EAAW,iCAAA,EAAK,iBAAA,EAAmB,OAAO,CAAC,EAAA,CAAA,EAAI,QAAS,CAAA;AAAA,IAC7D,OAAA,mBAAU,eAAA,CAAA,aAAA,CAAC,iBAAA,EAAA,IAAkB;AAAA,EAChC,CACF,CAAA,kBACA,eAAA,CAAA,aAAA,CAAC,+BAAA,EAAA,IAAA,EAAgB,SAAA,CAAU,OAAA,EAAS,SAAA,EAAW,MAAO,CACxD,CAAA;AAEJ;ADCA;AACE;AACF,wCAAC","file":"/home/jahn/projects/shadcn-theme/packages/react/dist/components/ui/copy-button.js","sourcesContent":[null,"\"use client\";\nimport React, { useState } from 'react';\nimport _isString from 'lodash-es/isString';\nimport { useClipboard } from '../../hooks/use-clipboard';\nimport { Tooltip, TooltipContent, TooltipTrigger } from '../../components/ui/tooltip';\nimport { UnstyledButton } from './unstyled-button';\nimport { cn } from '../../lib/utils';\n\n// See https://tabler.io/icons/icon/clipboard-copy\nfunction CopyClipboardIcon(props: React.SVGProps<SVGSVGElement>) {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className=\"icon icon-tabler icons-tabler-outline icon-tabler-clipboard-copy\"\n {...props}\n >\n <path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\" />\n <path d=\"M9 5h-2a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h3m9 -9v-5a2 2 0 0 0 -2 -2h-2\" />\n <path d=\"M13 17v-1a1 1 0 0 1 1 -1h1m3 0h1a1 1 0 0 1 1 1v1m0 3v1a1 1 0 0 1 -1 1h-1m-3 0h-1a1 1 0 0 1 -1 -1v-1\" />\n <path d=\"M9 3m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v0a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z\" />\n </svg>\n );\n}\n\nexport function CopyableButton({\n children,\n value,\n className,\n}: {\n children: React.ReactNode;\n value?: string;\n className?: string;\n}) {\n const clipboard = useClipboard({ timeout: 1000 });\n const [showCopied, setShowCopied] = useState(false);\n\n const isText = _isString(children);\n const copyValue = value ?? (isText ? children : '');\n\n return (\n <Tooltip open={showCopied}>\n <TooltipTrigger asChild>\n <UnstyledButton\n onClick={() => clipboard.copy(String(copyValue))}\n onMouseEnter={() => setShowCopied(true)}\n onMouseLeave={() => setShowCopied(false)}\n className={cn('inline-flex items-center gap-1 cursor-pointer', className)}\n aria-label=\"Copy to clipboard\"\n title=\"Copy to clipboard\"\n >\n <span className={cn({ 'hover:underline': isText })}>{children}</span>\n {isText && <CopyClipboardIcon />}\n </UnstyledButton>\n </TooltipTrigger>\n <TooltipContent>{clipboard.copied ? 'Copied' : 'Copy'}</TooltipContent>\n </Tooltip>\n );\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../components/ui/copy-button.tsx"],"sourcesContent":["\"use client\";\nimport React, { useState } from 'react';\nimport _isString from 'lodash-es/isString';\nimport { useClipboard } from '../../hooks/use-clipboard';\nimport { Tooltip, TooltipContent, TooltipTrigger } from '../../components/ui/tooltip';\nimport { UnstyledButton } from './unstyled-button';\nimport { cn } from '../../lib/utils';\n\n// See https://tabler.io/icons/icon/clipboard-copy\nfunction CopyClipboardIcon(props: React.SVGProps<SVGSVGElement>) {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className=\"icon icon-tabler icons-tabler-outline icon-tabler-clipboard-copy\"\n {...props}\n >\n <path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\" />\n\n <path d=\"M9 5h-2a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h3m9 -9v-5a2 2 0 0 0 -2 -2h-2\" />\n\n <path d=\"M13 17v-1a1 1 0 0 1 1 -1h1m3 0h1a1 1 0 0 1 1 1v1m0 3v1a1 1 0 0 1 -1 1h-1m-3 0h-1a1 1 0 0 1 -1 -1v-1\" />\n\n <path d=\"M9 3m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v0a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z\" />\n </svg>\n );\n}\n\nexport function CopyableButton({\n children,\n value,\n className,\n}: {\n children: React.ReactNode;\n value?: string;\n className?: string;\n}) {\n const clipboard = useClipboard({ timeout: 1000 });\n const [showCopied, setShowCopied] = useState(false);\n\n const isText = _isString(children);\n const copyValue = value ?? (isText ? children : '');\n\n return (\n <Tooltip open={showCopied}>\n <TooltipTrigger asChild>\n <UnstyledButton\n onClick={() => clipboard.copy(String(copyValue))}\n onMouseEnter={() => setShowCopied(true)}\n onMouseLeave={() => setShowCopied(false)}\n className={cn('inline-flex items-center gap-1 cursor-pointer', className)}\n aria-label=\"Copy to clipboard\"\n title=\"Copy to clipboard\"\n >\n <span className={cn({ 'hover:underline': isText })}>{children}</span>\n {isText && <CopyClipboardIcon />}\n </UnstyledButton>\n </TooltipTrigger>\n <TooltipContent>{clipboard.copied ? 'Copied' : 'Copy'}</TooltipCont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,CACxD;AAEJ;","names":[]}
1
+ {"version":3,"sources":["../../../components/ui/copy-button.tsx"],"sourcesContent":["\"use client\";\nimport React, { useState } from 'react';\nimport _isString from 'lodash-es/isString';\nimport { useClipboard } from '../../hooks/use-clipboard';\nimport { Tooltip, TooltipContent, TooltipTrigger } from '../../components/ui/tooltip';\nimport { UnstyledButton } from './unstyled-button';\nimport { cn } from '../../lib/utils';\n\n// See https://tabler.io/icons/icon/clipboard-copy\nfunction CopyClipboardIcon(props: React.SVGProps<SVGSVGElement>) {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className=\"icon icon-tabler icons-tabler-outline icon-tabler-clipboard-copy\"\n {...props}\n >\n <path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\" />\n <path d=\"M9 5h-2a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h3m9 -9v-5a2 2 0 0 0 -2 -2h-2\" />\n <path d=\"M13 17v-1a1 1 0 0 1 1 -1h1m3 0h1a1 1 0 0 1 1 1v1m0 3v1a1 1 0 0 1 -1 1h-1m-3 0h-1a1 1 0 0 1 -1 -1v-1\" />\n <path d=\"M9 3m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v0a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z\" />\n </svg>\n );\n}\n\nexport function CopyableButton({\n children,\n value,\n className,\n}: {\n children: React.ReactNode;\n value?: string;\n className?: string;\n}) {\n const clipboard = useClipboard({ timeout: 1000 });\n const [showCopied, setShowCopied] = useState(false);\n\n const isText = _isString(children);\n const copyValue = value ?? (isText ? children : '');\n\n return (\n <Tooltip open={showCopied}>\n <TooltipTrigger asChild>\n <UnstyledButton\n onClick={() => clipboard.copy(String(copyValue))}\n onMouseEnter={() => setShowCopied(true)}\n onMouseLeave={() => setShowCopied(false)}\n className={cn('inline-flex items-center gap-1 cursor-pointer', className)}\n aria-label=\"Copy to clipboard\"\n title=\"Copy to clipboard\"\n >\n <span className={cn({ 'hover:underline': isText })}>{children}</span>\n {isText && <CopyClipboardIcon />}\n </UnstyledButton>\n </TooltipTrigger>\n <TooltipContent>{clipboard.copied ? 'Copied' : 'Copy'}</TooltipContent>\n </Tooltip>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AACA,OAAO,SAAS,gBAAgB;AAChC,OAAO,eAAe;AAOtB,SAAS,kBAAkB,OAAsC;AAC/D,SACE;AAAA,IAAC;AAAA;AAAA,MACC,OAAM;AAAA,MACN,OAAM;AAAA,MACN,QAAO;AAAA,MACP,SAAQ;AAAA,MACR,MAAK;AAAA,MACL,QAAO;AAAA,MACP,aAAY;AAAA,MACZ,eAAc;AAAA,MACd,gBAAe;AAAA,MACf,WAAU;AAAA,OACN;AAAA,IAEJ,oCAAC,UAAK,QAAO,QAAO,GAAE,iBAAgB,MAAK,QAAO;AAAA,IAClD,oCAAC,UAAK,GAAE,wEAAuE;AAAA,IAC/E,oCAAC,UAAK,GAAE,uGAAsG;AAAA,IAC9G,oCAAC,UAAK,GAAE,gFAA+E;AAAA,EACzF;AAEJ;AAEO,SAAS,eAAe;AAAA,EAC7B;AAAA,EACA;AAAA,EACA;AACF,GAIG;AACD,QAAM,YAAY,aAAa,EAAE,SAAS,IAAK,CAAC;AAChD,QAAM,CAAC,YAAY,aAAa,IAAI,SAAS,KAAK;AAElD,QAAM,SAAS,UAAU,QAAQ;AACjC,QAAM,YAAY,wBAAU,SAAS,WAAW;AAEhD,SACE,oCAAC,WAAQ,MAAM,cACb,oCAAC,kBAAe,SAAO,QACrB;AAAA,IAAC;AAAA;AAAA,MACC,SAAS,MAAM,UAAU,KAAK,OAAO,SAAS,CAAC;AAAA,MAC/C,cAAc,MAAM,cAAc,IAAI;AAAA,MACtC,cAAc,MAAM,cAAc,KAAK;AAAA,MACvC,WAAW,GAAG,iDAAiD,SAAS;AAAA,MACxE,cAAW;AAAA,MACX,OAAM;AAAA;AAAA,IAEN,oCAAC,UAAK,WAAW,GAAG,EAAE,mBAAmB,OAAO,CAAC,KAAI,QAAS;AAAA,IAC7D,UAAU,oCAAC,uBAAkB;AAAA,EAChC,CACF,GACA,oCAAC,sBAAgB,UAAU,SAAS,WAAW,MAAO,CACxD;AAEJ;","names":[]}
@@ -11,7 +11,7 @@
11
11
 
12
12
 
13
13
 
14
- var _chunkYWFLDXW4js = require('../../chunk-YWFLDXW4.js');
14
+ var _chunkU3KAN7IMjs = require('../../chunk-U3KAN7IM.js');
15
15
  require('../../chunk-6N4WCMTE.js');
16
16
  require('../../chunk-2NMEKWO5.js');
17
17
 
@@ -25,5 +25,5 @@ require('../../chunk-2NMEKWO5.js');
25
25
 
26
26
 
27
27
 
28
- exports.Dialog = _chunkYWFLDXW4js.Dialog; exports.DialogClose = _chunkYWFLDXW4js.DialogClose; exports.DialogContent = _chunkYWFLDXW4js.DialogContent; exports.DialogDescription = _chunkYWFLDXW4js.DialogDescription; exports.DialogFooter = _chunkYWFLDXW4js.DialogFooter; exports.DialogHeader = _chunkYWFLDXW4js.DialogHeader; exports.DialogOverlay = _chunkYWFLDXW4js.DialogOverlay; exports.DialogPortal = _chunkYWFLDXW4js.DialogPortal; exports.DialogTitle = _chunkYWFLDXW4js.DialogTitle; exports.DialogTrigger = _chunkYWFLDXW4js.DialogTrigger;
28
+ exports.Dialog = _chunkU3KAN7IMjs.Dialog; exports.DialogClose = _chunkU3KAN7IMjs.DialogClose; exports.DialogContent = _chunkU3KAN7IMjs.DialogContent; exports.DialogDescription = _chunkU3KAN7IMjs.DialogDescription; exports.DialogFooter = _chunkU3KAN7IMjs.DialogFooter; exports.DialogHeader = _chunkU3KAN7IMjs.DialogHeader; exports.DialogOverlay = _chunkU3KAN7IMjs.DialogOverlay; exports.DialogPortal = _chunkU3KAN7IMjs.DialogPortal; exports.DialogTitle = _chunkU3KAN7IMjs.DialogTitle; exports.DialogTrigger = _chunkU3KAN7IMjs.DialogTrigger;
29
29
  //# sourceMappingURL=dialog.js.map
@@ -10,7 +10,7 @@ import {
10
10
  DialogPortal,
11
11
  DialogTitle,
12
12
  DialogTrigger
13
- } from "../../chunk-CQ5UU2AD.mjs";
13
+ } from "../../chunk-YAPKDLRQ.mjs";
14
14
  import "../../chunk-F5XCCSBC.mjs";
15
15
  import "../../chunk-YOSPWY5K.mjs";
16
16
  export {
@@ -1,26 +1,15 @@
1
- import * as vaul from 'vaul';
2
- import { Drawer as Drawer$1 } from 'vaul';
3
- import * as DialogPrimitive from '@radix-ui/react-dialog';
4
1
  import * as React from 'react';
2
+ import { Drawer as Drawer$1 } from 'vaul';
5
3
 
6
- declare const Drawer: {
7
- ({ shouldScaleBackground, ...props }: React.ComponentProps<typeof Drawer$1.Root>): React.JSX.Element;
8
- displayName: string;
9
- };
10
- declare const DrawerTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
11
- declare const DrawerPortal: typeof vaul.Portal;
12
- declare const DrawerClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
13
- declare const DrawerOverlay: React.ForwardRefExoticComponent<Omit<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
14
- declare const DrawerContent: React.ForwardRefExoticComponent<Omit<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
15
- declare const DrawerHeader: {
16
- ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
17
- displayName: string;
18
- };
19
- declare const DrawerFooter: {
20
- ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
21
- displayName: string;
22
- };
23
- declare const DrawerTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
24
- declare const DrawerDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
4
+ declare function Drawer({ ...props }: React.ComponentProps<typeof Drawer$1.Root>): React.JSX.Element;
5
+ declare function DrawerTrigger({ ...props }: React.ComponentProps<typeof Drawer$1.Trigger>): React.JSX.Element;
6
+ declare function DrawerPortal({ ...props }: React.ComponentProps<typeof Drawer$1.Portal>): React.JSX.Element;
7
+ declare function DrawerClose({ ...props }: React.ComponentProps<typeof Drawer$1.Close>): React.JSX.Element;
8
+ declare function DrawerOverlay({ className, ...props }: React.ComponentProps<typeof Drawer$1.Overlay>): React.JSX.Element;
9
+ declare function DrawerContent({ className, children, ...props }: React.ComponentProps<typeof Drawer$1.Content>): React.JSX.Element;
10
+ declare function DrawerHeader({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
11
+ declare function DrawerFooter({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
12
+ declare function DrawerTitle({ className, ...props }: React.ComponentProps<typeof Drawer$1.Title>): React.JSX.Element;
13
+ declare function DrawerDescription({ className, ...props }: React.ComponentProps<typeof Drawer$1.Description>): React.JSX.Element;
25
14
 
26
15
  export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger };
@@ -1,26 +1,15 @@
1
- import * as vaul from 'vaul';
2
- import { Drawer as Drawer$1 } from 'vaul';
3
- import * as DialogPrimitive from '@radix-ui/react-dialog';
4
1
  import * as React from 'react';
2
+ import { Drawer as Drawer$1 } from 'vaul';
5
3
 
6
- declare const Drawer: {
7
- ({ shouldScaleBackground, ...props }: React.ComponentProps<typeof Drawer$1.Root>): React.JSX.Element;
8
- displayName: string;
9
- };
10
- declare const DrawerTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
11
- declare const DrawerPortal: typeof vaul.Portal;
12
- declare const DrawerClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
13
- declare const DrawerOverlay: React.ForwardRefExoticComponent<Omit<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
14
- declare const DrawerContent: React.ForwardRefExoticComponent<Omit<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
15
- declare const DrawerHeader: {
16
- ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
17
- displayName: string;
18
- };
19
- declare const DrawerFooter: {
20
- ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
21
- displayName: string;
22
- };
23
- declare const DrawerTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
24
- declare const DrawerDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
4
+ declare function Drawer({ ...props }: React.ComponentProps<typeof Drawer$1.Root>): React.JSX.Element;
5
+ declare function DrawerTrigger({ ...props }: React.ComponentProps<typeof Drawer$1.Trigger>): React.JSX.Element;
6
+ declare function DrawerPortal({ ...props }: React.ComponentProps<typeof Drawer$1.Portal>): React.JSX.Element;
7
+ declare function DrawerClose({ ...props }: React.ComponentProps<typeof Drawer$1.Close>): React.JSX.Element;
8
+ declare function DrawerOverlay({ className, ...props }: React.ComponentProps<typeof Drawer$1.Overlay>): React.JSX.Element;
9
+ declare function DrawerContent({ className, children, ...props }: React.ComponentProps<typeof Drawer$1.Content>): React.JSX.Element;
10
+ declare function DrawerHeader({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
11
+ declare function DrawerFooter({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
12
+ declare function DrawerTitle({ className, ...props }: React.ComponentProps<typeof Drawer$1.Title>): React.JSX.Element;
13
+ declare function DrawerDescription({ className, ...props }: React.ComponentProps<typeof Drawer$1.Description>): React.JSX.Element;
25
14
 
26
15
  export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger };