@gv-tech/design-system 2.10.0 → 2.13.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 (204) hide show
  1. package/dist/accordion.cjs.js +1 -1
  2. package/dist/accordion.cjs.js.map +1 -1
  3. package/dist/accordion.es.js +6 -5
  4. package/dist/accordion.es.js.map +1 -1
  5. package/dist/alert-dialog.cjs.js +1 -1
  6. package/dist/alert-dialog.cjs.js.map +1 -1
  7. package/dist/alert-dialog.es.js +1 -0
  8. package/dist/alert-dialog.es.js.map +1 -1
  9. package/dist/alert.cjs.js +1 -1
  10. package/dist/alert.cjs.js.map +1 -1
  11. package/dist/alert.es.js +1 -0
  12. package/dist/alert.es.js.map +1 -1
  13. package/dist/aspect-ratio.cjs.js +1 -1
  14. package/dist/aspect-ratio.cjs.js.map +1 -1
  15. package/dist/aspect-ratio.es.js +3 -2
  16. package/dist/aspect-ratio.es.js.map +1 -1
  17. package/dist/avatar.cjs.js +1 -1
  18. package/dist/avatar.cjs.js.map +1 -1
  19. package/dist/avatar.es.js +7 -6
  20. package/dist/avatar.es.js.map +1 -1
  21. package/dist/badge.cjs.js +1 -1
  22. package/dist/badge.cjs.js.map +1 -1
  23. package/dist/badge.es.js +1 -0
  24. package/dist/badge.es.js.map +1 -1
  25. package/dist/breadcrumb.cjs.js +1 -1
  26. package/dist/breadcrumb.cjs.js.map +1 -1
  27. package/dist/breadcrumb.es.js +9 -8
  28. package/dist/breadcrumb.es.js.map +1 -1
  29. package/dist/button.cjs.js +1 -1
  30. package/dist/button.cjs.js.map +1 -1
  31. package/dist/button.es.js +1 -0
  32. package/dist/button.es.js.map +1 -1
  33. package/dist/calendar.cjs.js +1 -1
  34. package/dist/calendar.cjs.js.map +1 -1
  35. package/dist/calendar.es.js +1 -0
  36. package/dist/calendar.es.js.map +1 -1
  37. package/dist/card.cjs.js +1 -1
  38. package/dist/card.cjs.js.map +1 -1
  39. package/dist/card.es.js +10 -9
  40. package/dist/card.es.js.map +1 -1
  41. package/dist/carousel.cjs.js +1 -1
  42. package/dist/carousel.cjs.js.map +1 -1
  43. package/dist/carousel.es.js +1 -0
  44. package/dist/carousel.es.js.map +1 -1
  45. package/dist/chart.cjs.js +1 -1
  46. package/dist/chart.cjs.js.map +1 -1
  47. package/dist/chart.es.js +1 -0
  48. package/dist/chart.es.js.map +1 -1
  49. package/dist/checkbox.cjs.js +1 -1
  50. package/dist/checkbox.cjs.js.map +1 -1
  51. package/dist/checkbox.es.js +8 -7
  52. package/dist/checkbox.es.js.map +1 -1
  53. package/dist/collapsible.cjs.js +1 -1
  54. package/dist/collapsible.cjs.js.map +1 -1
  55. package/dist/collapsible.es.js +5 -4
  56. package/dist/collapsible.es.js.map +1 -1
  57. package/dist/command.cjs.js +1 -1
  58. package/dist/command.cjs.js.map +1 -1
  59. package/dist/command.es.js +1 -0
  60. package/dist/command.es.js.map +1 -1
  61. package/dist/context-menu.cjs.js +1 -1
  62. package/dist/context-menu.cjs.js.map +1 -1
  63. package/dist/context-menu.es.js +1 -0
  64. package/dist/context-menu.es.js.map +1 -1
  65. package/dist/design-system.css +1 -1
  66. package/dist/dialog.cjs.js +1 -1
  67. package/dist/dialog.cjs.js.map +1 -1
  68. package/dist/dialog.es.js +1 -0
  69. package/dist/dialog.es.js.map +1 -1
  70. package/dist/drawer.cjs.js +1 -1
  71. package/dist/drawer.cjs.js.map +1 -1
  72. package/dist/drawer.es.js +8 -7
  73. package/dist/drawer.es.js.map +1 -1
  74. package/dist/dropdown-menu.cjs.js +1 -1
  75. package/dist/dropdown-menu.cjs.js.map +1 -1
  76. package/dist/dropdown-menu.es.js +1 -0
  77. package/dist/dropdown-menu.es.js.map +1 -1
  78. package/dist/form.cjs.js +1 -1
  79. package/dist/form.cjs.js.map +1 -1
  80. package/dist/form.es.js +1 -0
  81. package/dist/form.es.js.map +1 -1
  82. package/dist/hover-card.cjs.js +1 -1
  83. package/dist/hover-card.cjs.js.map +1 -1
  84. package/dist/hover-card.es.js +1 -0
  85. package/dist/hover-card.es.js.map +1 -1
  86. package/dist/index.cjs.js +1 -1
  87. package/dist/index.cjs.js.map +1 -1
  88. package/dist/index.es.js +1 -0
  89. package/dist/index.es.js.map +1 -1
  90. package/dist/input.cjs.js +1 -1
  91. package/dist/input.cjs.js.map +1 -1
  92. package/dist/input.es.js +4 -3
  93. package/dist/input.es.js.map +1 -1
  94. package/dist/label.cjs.js +1 -1
  95. package/dist/label.cjs.js.map +1 -1
  96. package/dist/label.es.js +6 -5
  97. package/dist/label.es.js.map +1 -1
  98. package/dist/menubar.cjs.js +1 -1
  99. package/dist/menubar.cjs.js.map +1 -1
  100. package/dist/menubar.es.js +1 -0
  101. package/dist/menubar.es.js.map +1 -1
  102. package/dist/navigation-menu.cjs.js +1 -1
  103. package/dist/navigation-menu.cjs.js.map +1 -1
  104. package/dist/navigation-menu.es.js +1 -0
  105. package/dist/navigation-menu.es.js.map +1 -1
  106. package/dist/pagination.cjs.js +1 -1
  107. package/dist/pagination.cjs.js.map +1 -1
  108. package/dist/pagination.es.js +1 -0
  109. package/dist/pagination.es.js.map +1 -1
  110. package/dist/popover.cjs.js +1 -1
  111. package/dist/popover.cjs.js.map +1 -1
  112. package/dist/popover.es.js +7 -6
  113. package/dist/popover.es.js.map +1 -1
  114. package/dist/progress.cjs.js +1 -1
  115. package/dist/progress.cjs.js.map +1 -1
  116. package/dist/progress.es.js +4 -3
  117. package/dist/progress.es.js.map +1 -1
  118. package/dist/radio-group.cjs.js +1 -1
  119. package/dist/radio-group.cjs.js.map +1 -1
  120. package/dist/radio-group.es.js +7 -6
  121. package/dist/radio-group.es.js.map +1 -1
  122. package/dist/resizable.cjs.js +1 -1
  123. package/dist/resizable.cjs.js.map +1 -1
  124. package/dist/resizable.es.js +1 -0
  125. package/dist/resizable.es.js.map +1 -1
  126. package/dist/scroll-area.cjs.js +1 -1
  127. package/dist/scroll-area.cjs.js.map +1 -1
  128. package/dist/scroll-area.es.js +1 -0
  129. package/dist/scroll-area.es.js.map +1 -1
  130. package/dist/search.cjs.js +1 -1
  131. package/dist/search.cjs.js.map +1 -1
  132. package/dist/search.es.js +1 -0
  133. package/dist/search.es.js.map +1 -1
  134. package/dist/select.cjs.js +1 -1
  135. package/dist/select.cjs.js.map +1 -1
  136. package/dist/select.es.js +1 -0
  137. package/dist/select.es.js.map +1 -1
  138. package/dist/separator.cjs.js +1 -1
  139. package/dist/separator.cjs.js.map +1 -1
  140. package/dist/separator.es.js +9 -8
  141. package/dist/separator.es.js.map +1 -1
  142. package/dist/sheet.cjs.js +1 -1
  143. package/dist/sheet.cjs.js.map +1 -1
  144. package/dist/sheet.es.js +8 -7
  145. package/dist/sheet.es.js.map +1 -1
  146. package/dist/skeleton.cjs.js +1 -1
  147. package/dist/skeleton.cjs.js.map +1 -1
  148. package/dist/skeleton.es.js +5 -4
  149. package/dist/skeleton.es.js.map +1 -1
  150. package/dist/slider.cjs.js +1 -1
  151. package/dist/slider.cjs.js.map +1 -1
  152. package/dist/slider.es.js +1 -0
  153. package/dist/slider.es.js.map +1 -1
  154. package/dist/sonner.cjs.js +1 -1
  155. package/dist/sonner.cjs.js.map +1 -1
  156. package/dist/sonner.es.js +1 -0
  157. package/dist/sonner.es.js.map +1 -1
  158. package/dist/switch.cjs.js +1 -1
  159. package/dist/switch.cjs.js.map +1 -1
  160. package/dist/switch.es.js +1 -0
  161. package/dist/switch.es.js.map +1 -1
  162. package/dist/table.cjs.js +1 -1
  163. package/dist/table.cjs.js.map +1 -1
  164. package/dist/table.es.js +24 -23
  165. package/dist/table.es.js.map +1 -1
  166. package/dist/tabs.cjs.js +1 -1
  167. package/dist/tabs.cjs.js.map +1 -1
  168. package/dist/tabs.es.js +1 -0
  169. package/dist/tabs.es.js.map +1 -1
  170. package/dist/text.cjs.js +1 -1
  171. package/dist/text.cjs.js.map +1 -1
  172. package/dist/text.es.js +1 -0
  173. package/dist/text.es.js.map +1 -1
  174. package/dist/textarea.cjs.js +1 -1
  175. package/dist/textarea.cjs.js.map +1 -1
  176. package/dist/textarea.es.js +7 -6
  177. package/dist/textarea.es.js.map +1 -1
  178. package/dist/theme-provider.cjs.js +1 -1
  179. package/dist/theme-provider.cjs.js.map +1 -1
  180. package/dist/theme-provider.es.js +1 -0
  181. package/dist/theme-provider.es.js.map +1 -1
  182. package/dist/theme-toggle.cjs.js +1 -1
  183. package/dist/theme-toggle.es.js +3 -2
  184. package/dist/theme-toggle.es.js.map +1 -1
  185. package/dist/toast.cjs.js +1 -1
  186. package/dist/toast.cjs.js.map +1 -1
  187. package/dist/toast.es.js +1 -0
  188. package/dist/toast.es.js.map +1 -1
  189. package/dist/toaster.cjs.js +1 -1
  190. package/dist/toaster.es.js +3 -2
  191. package/dist/toaster.es.js.map +1 -1
  192. package/dist/toggle-group.cjs.js +1 -1
  193. package/dist/toggle-group.cjs.js.map +1 -1
  194. package/dist/toggle-group.es.js +16 -15
  195. package/dist/toggle-group.es.js.map +1 -1
  196. package/dist/toggle.cjs.js +1 -1
  197. package/dist/toggle.cjs.js.map +1 -1
  198. package/dist/toggle.es.js +6 -5
  199. package/dist/toggle.es.js.map +1 -1
  200. package/dist/tooltip.cjs.js +1 -1
  201. package/dist/tooltip.cjs.js.map +1 -1
  202. package/dist/tooltip.es.js +1 -0
  203. package/dist/tooltip.es.js.map +1 -1
  204. package/package.json +7 -6
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./vendor-DQFuDa7q.js"),y=require("react"),r=require("./utils-DKStzUzN.js");function M(t){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(a,n,o.get?o:{enumerable:!0,get:()=>t[n]})}}return a.default=t,Object.freeze(a)}const s=M(y);function N({...t}){return e.jsxRuntimeExports.jsx(e.Menu,{...t})}function h({...t}){return e.jsxRuntimeExports.jsx(e.Group2$1,{...t})}function w({...t}){return e.jsxRuntimeExports.jsx(e.Portal2$2,{...t})}function E({...t}){return e.jsxRuntimeExports.jsx(e.RadioGroup2$1,{...t})}function $({...t}){return e.jsxRuntimeExports.jsx(e.Sub2$1,{"data-slot":"menubar-sub",...t})}const d=s.forwardRef(({className:t,...a},n)=>e.jsxRuntimeExports.jsx(e.Root3,{ref:n,className:r.cn("bg-background flex h-9 items-center space-x-1 rounded-md border p-1 shadow-sm",t),...a}));d.displayName=e.Root3.displayName;const u=s.forwardRef(({className:t,...a},n)=>e.jsxRuntimeExports.jsx(e.Trigger$2,{ref:n,className:r.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-3 py-1 text-sm font-medium outline-none select-none",t),...a}));u.displayName=e.Trigger$2.displayName;const c=s.forwardRef(({className:t,inset:a,children:n,...o},i)=>e.jsxRuntimeExports.jsxs(e.SubTrigger2$1,{ref:i,className:r.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",a&&"pl-8",t),...o,children:[n,e.jsxRuntimeExports.jsx(e.ChevronRight,{className:"ml-auto h-4 w-4"})]}));c.displayName=e.SubTrigger2$1.displayName;const m=s.forwardRef(({className:t,...a},n)=>e.jsxRuntimeExports.jsx(e.SubContent2$1,{ref:n,className:r.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",t),...a}));m.displayName=e.SubContent2$1.displayName;const l=s.forwardRef(({className:t,align:a="start",alignOffset:n=-4,sideOffset:o=8,...i},R)=>e.jsxRuntimeExports.jsx(e.Portal2$2,{children:e.jsxRuntimeExports.jsx(e.Content2$4,{ref:R,align:a,alignOffset:n,sideOffset:o,className:r.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",t),...i})}));l.displayName=e.Content2$4.displayName;const p=s.forwardRef(({className:t,inset:a,...n},o)=>e.jsxRuntimeExports.jsx(e.Item3,{ref:o,className:r.cn("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-none select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a&&"pl-8",t),...n}));p.displayName=e.Item3.displayName;const x=s.forwardRef(({className:t,children:a,checked:n,...o},i)=>e.jsxRuntimeExports.jsxs(e.CheckboxItem2$1,{ref:i,className:r.cn("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),checked:n,...o,children:[e.jsxRuntimeExports.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsxRuntimeExports.jsx(e.ItemIndicator2$1,{children:e.jsxRuntimeExports.jsx(e.Check,{className:"h-4 w-4"})})}),a]}));x.displayName=e.CheckboxItem2$1.displayName;const f=s.forwardRef(({className:t,children:a,...n},o)=>e.jsxRuntimeExports.jsxs(e.RadioItem2$1,{ref:o,className:r.cn("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),...n,children:[e.jsxRuntimeExports.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsxRuntimeExports.jsx(e.ItemIndicator2$1,{children:e.jsxRuntimeExports.jsx(e.Circle,{className:"h-4 w-4 fill-current"})})}),a]}));f.displayName=e.RadioItem2$1.displayName;const b=s.forwardRef(({className:t,inset:a,...n},o)=>e.jsxRuntimeExports.jsx(e.Label2$1,{ref:o,className:r.cn("px-2 py-1.5 text-sm font-semibold",a&&"pl-8",t),...n}));b.displayName=e.Label2$1.displayName;const g=s.forwardRef(({className:t,...a},n)=>e.jsxRuntimeExports.jsx(e.Separator2$1,{ref:n,className:r.cn("bg-muted -mx-1 my-1 h-px",t),...a}));g.displayName=e.Separator2$1.displayName;const j=({className:t,...a})=>e.jsxRuntimeExports.jsx("span",{className:r.cn("text-muted-foreground ml-auto text-xs tracking-widest",t),...a});j.displayname="MenubarShortcut";exports.Menubar=d;exports.MenubarCheckboxItem=x;exports.MenubarContent=l;exports.MenubarGroup=h;exports.MenubarItem=p;exports.MenubarLabel=b;exports.MenubarMenu=N;exports.MenubarPortal=w;exports.MenubarRadioGroup=E;exports.MenubarRadioItem=f;exports.MenubarSeparator=g;exports.MenubarShortcut=j;exports.MenubarSub=$;exports.MenubarSubContent=m;exports.MenubarSubTrigger=c;exports.MenubarTrigger=u;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./vendor-DQFuDa7q.js"),y=require("react"),r=require("./utils-DKStzUzN.js");function M(t){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(a,n,o.get?o:{enumerable:!0,get:()=>t[n]})}}return a.default=t,Object.freeze(a)}const s=M(y);function N({...t}){return e.jsxRuntimeExports.jsx(e.Menu,{...t})}function h({...t}){return e.jsxRuntimeExports.jsx(e.Group2$1,{...t})}function w({...t}){return e.jsxRuntimeExports.jsx(e.Portal2$2,{...t})}function E({...t}){return e.jsxRuntimeExports.jsx(e.RadioGroup2$1,{...t})}function $({...t}){return e.jsxRuntimeExports.jsx(e.Sub2$1,{"data-slot":"menubar-sub",...t})}const d=s.forwardRef(({className:t,...a},n)=>e.jsxRuntimeExports.jsx(e.Root3,{ref:n,className:r.cn("bg-background flex h-9 items-center space-x-1 rounded-md border p-1 shadow-sm",t),...a}));d.displayName=e.Root3.displayName;const u=s.forwardRef(({className:t,...a},n)=>e.jsxRuntimeExports.jsx(e.Trigger$2,{ref:n,className:r.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-3 py-1 text-sm font-medium outline-none select-none",t),...a}));u.displayName=e.Trigger$2.displayName;const c=s.forwardRef(({className:t,inset:a,children:n,...o},i)=>e.jsxRuntimeExports.jsxs(e.SubTrigger2$1,{ref:i,className:r.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",a&&"pl-8",t),...o,children:[n,e.jsxRuntimeExports.jsx(e.ChevronRight,{className:"ml-auto h-4 w-4"})]}));c.displayName=e.SubTrigger2$1.displayName;const m=s.forwardRef(({className:t,...a},n)=>e.jsxRuntimeExports.jsx(e.SubContent2$1,{ref:n,className:r.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",t),...a}));m.displayName=e.SubContent2$1.displayName;const l=s.forwardRef(({className:t,align:a="start",alignOffset:n=-4,sideOffset:o=8,...i},R)=>e.jsxRuntimeExports.jsx(e.Portal2$2,{children:e.jsxRuntimeExports.jsx(e.Content2$4,{ref:R,align:a,alignOffset:n,sideOffset:o,className:r.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",t),...i})}));l.displayName=e.Content2$4.displayName;const p=s.forwardRef(({className:t,inset:a,...n},o)=>e.jsxRuntimeExports.jsx(e.Item3,{ref:o,className:r.cn("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-none select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a&&"pl-8",t),...n}));p.displayName=e.Item3.displayName;const x=s.forwardRef(({className:t,children:a,checked:n,...o},i)=>e.jsxRuntimeExports.jsxs(e.CheckboxItem2$1,{ref:i,className:r.cn("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),checked:n,...o,children:[e.jsxRuntimeExports.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsxRuntimeExports.jsx(e.ItemIndicator2$1,{children:e.jsxRuntimeExports.jsx(e.Check,{className:"h-4 w-4"})})}),a]}));x.displayName=e.CheckboxItem2$1.displayName;const f=s.forwardRef(({className:t,children:a,...n},o)=>e.jsxRuntimeExports.jsxs(e.RadioItem2$1,{ref:o,className:r.cn("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),...n,children:[e.jsxRuntimeExports.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsxRuntimeExports.jsx(e.ItemIndicator2$1,{children:e.jsxRuntimeExports.jsx(e.Circle,{className:"h-4 w-4 fill-current"})})}),a]}));f.displayName=e.RadioItem2$1.displayName;const b=s.forwardRef(({className:t,inset:a,...n},o)=>e.jsxRuntimeExports.jsx(e.Label2$1,{ref:o,className:r.cn("px-2 py-1.5 text-sm font-semibold",a&&"pl-8",t),...n}));b.displayName=e.Label2$1.displayName;const g=s.forwardRef(({className:t,...a},n)=>e.jsxRuntimeExports.jsx(e.Separator2$1,{ref:n,className:r.cn("bg-muted -mx-1 my-1 h-px",t),...a}));g.displayName=e.Separator2$1.displayName;const j=({className:t,...a})=>e.jsxRuntimeExports.jsx("span",{className:r.cn("text-muted-foreground ml-auto text-xs tracking-widest",t),...a});j.displayname="MenubarShortcut";exports.Menubar=d;exports.MenubarCheckboxItem=x;exports.MenubarContent=l;exports.MenubarGroup=h;exports.MenubarItem=p;exports.MenubarLabel=b;exports.MenubarMenu=N;exports.MenubarPortal=w;exports.MenubarRadioGroup=E;exports.MenubarRadioItem=f;exports.MenubarSeparator=g;exports.MenubarShortcut=j;exports.MenubarSub=$;exports.MenubarSubContent=m;exports.MenubarSubTrigger=c;exports.MenubarTrigger=u;
2
2
  //# sourceMappingURL=menubar.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"menubar.cjs.js","sources":["../packages/ui-web/src/menubar.tsx"],"sourcesContent":["'use client';\n\nimport * as MenubarPrimitive from '@radix-ui/react-menubar';\nimport { Check, ChevronRight, Circle } from 'lucide-react';\nimport * as React from 'react';\n\nimport {\n MenubarBaseProps,\n MenubarCheckboxItemBaseProps,\n MenubarContentBaseProps,\n MenubarItemBaseProps,\n MenubarLabelBaseProps,\n MenubarMenuBaseProps,\n MenubarRadioItemBaseProps,\n MenubarSeparatorBaseProps,\n MenubarShortcutBaseProps,\n MenubarSubBaseProps,\n MenubarSubContentBaseProps,\n MenubarSubTriggerBaseProps,\n MenubarTriggerBaseProps,\n} from '@gv-tech/ui-core';\nimport { cn } from './lib/utils';\n\nfunction MenubarMenu({ ...props }: MenubarPrimitive.MenubarMenuProps & MenubarMenuBaseProps) {\n return <MenubarPrimitive.Menu {...props} />;\n}\n\nfunction MenubarGroup({ ...props }: React.ComponentProps<typeof MenubarPrimitive.Group>) {\n return <MenubarPrimitive.Group {...props} />;\n}\n\nfunction MenubarPortal({ ...props }: React.ComponentProps<typeof MenubarPrimitive.Portal>) {\n return <MenubarPrimitive.Portal {...props} />;\n}\n\nfunction MenubarRadioGroup({ ...props }: React.ComponentProps<typeof MenubarPrimitive.RadioGroup>) {\n return <MenubarPrimitive.RadioGroup {...props} />;\n}\n\nfunction MenubarSub({ ...props }: MenubarPrimitive.MenubarSubProps & MenubarSubBaseProps) {\n return <MenubarPrimitive.Sub data-slot=\"menubar-sub\" {...props} />;\n}\n\nconst Menubar = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Root> & MenubarBaseProps\n>(({ className, ...props }, ref) => (\n <MenubarPrimitive.Root\n ref={ref}\n className={cn('bg-background flex h-9 items-center space-x-1 rounded-md border p-1 shadow-sm', className)}\n {...props}\n />\n));\nMenubar.displayName = MenubarPrimitive.Root.displayName;\n\nconst MenubarTrigger = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Trigger>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Trigger> & MenubarTriggerBaseProps\n>(({ className, ...props }, ref) => (\n <MenubarPrimitive.Trigger\n ref={ref}\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-3 py-1 text-sm font-medium outline-none select-none',\n className,\n )}\n {...props}\n />\n));\nMenubarTrigger.displayName = MenubarPrimitive.Trigger.displayName;\n\nconst MenubarSubTrigger = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.SubTrigger>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.SubTrigger> & MenubarSubTriggerBaseProps\n>(({ className, inset, children, ...props }, ref) => (\n <MenubarPrimitive.SubTrigger\n ref={ref}\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',\n inset && 'pl-8',\n className,\n )}\n {...props}\n >\n {children}\n <ChevronRight 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> & MenubarSubContentBaseProps\n>(({ className, ...props }, ref) => (\n <MenubarPrimitive.SubContent\n ref={ref}\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\nconst MenubarContent = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Content> & MenubarContentBaseProps\n>(({ className, align = 'start', alignOffset = -4, sideOffset = 8, ...props }, ref) => (\n <MenubarPrimitive.Portal>\n <MenubarPrimitive.Content\n ref={ref}\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 </MenubarPrimitive.Portal>\n));\nMenubarContent.displayName = MenubarPrimitive.Content.displayName;\n\nconst MenubarItem = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Item>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Item> & MenubarItemBaseProps\n>(({ className, inset, ...props }, ref) => (\n <MenubarPrimitive.Item\n ref={ref}\n className={cn(\n 'focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-none select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50',\n inset && 'pl-8',\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> & MenubarCheckboxItemBaseProps\n>(({ className, children, checked, ...props }, ref) => (\n <MenubarPrimitive.CheckboxItem\n ref={ref}\n className={cn(\n 'focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none select-none 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 <MenubarPrimitive.ItemIndicator>\n <Check className=\"h-4 w-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> & MenubarRadioItemBaseProps\n>(({ className, children, ...props }, ref) => (\n <MenubarPrimitive.RadioItem\n ref={ref}\n className={cn(\n 'focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none select-none 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 <MenubarPrimitive.ItemIndicator>\n <Circle className=\"h-4 w-4 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> & MenubarLabelBaseProps\n>(({ className, inset, ...props }, ref) => (\n <MenubarPrimitive.Label\n ref={ref}\n className={cn('px-2 py-1.5 text-sm font-semibold', inset && 'pl-8', className)}\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> & MenubarSeparatorBaseProps\n>(({ className, ...props }, ref) => (\n <MenubarPrimitive.Separator ref={ref} className={cn('bg-muted -mx-1 my-1 h-px', className)} {...props} />\n));\nMenubarSeparator.displayName = MenubarPrimitive.Separator.displayName;\n\nconst MenubarShortcut = ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement> & MenubarShortcutBaseProps) => {\n return <span className={cn('text-muted-foreground ml-auto text-xs tracking-widest', className)} {...props} />;\n};\nMenubarShortcut.displayname = 'MenubarShortcut';\n\nexport {\n Menubar,\n MenubarCheckboxItem,\n MenubarContent,\n MenubarGroup,\n MenubarItem,\n MenubarLabel,\n MenubarMenu,\n MenubarPortal,\n MenubarRadioGroup,\n MenubarRadioItem,\n MenubarSeparator,\n MenubarShortcut,\n MenubarSub,\n MenubarSubContent,\n MenubarSubTrigger,\n MenubarTrigger,\n};\n\nexport type {\n MenubarCheckboxItemBaseProps as MenubarCheckboxItemProps,\n MenubarContentBaseProps as MenubarContentProps,\n MenubarItemBaseProps as MenubarItemProps,\n MenubarLabelBaseProps as MenubarLabelProps,\n MenubarMenuBaseProps as MenubarMenuProps,\n MenubarBaseProps as MenubarProps,\n MenubarRadioItemBaseProps as MenubarRadioItemProps,\n MenubarSeparatorBaseProps as MenubarSeparatorProps,\n MenubarShortcutBaseProps as MenubarShortcutProps,\n MenubarSubContentBaseProps as MenubarSubContentProps,\n MenubarSubBaseProps as MenubarSubProps,\n MenubarSubTriggerBaseProps as MenubarSubTriggerProps,\n MenubarTriggerBaseProps as MenubarTriggerProps,\n};\n"],"names":["MenubarMenu","props","jsx","MenubarPrimitive.Menu","MenubarGroup","MenubarPrimitive.Group","MenubarPortal","MenubarPrimitive.Portal","MenubarRadioGroup","MenubarPrimitive.RadioGroup","MenubarSub","MenubarPrimitive.Sub","Menubar","React","className","ref","MenubarPrimitive.Root","cn","MenubarTrigger","MenubarPrimitive.Trigger","MenubarSubTrigger","inset","children","jsxs","MenubarPrimitive.SubTrigger","ChevronRight","MenubarSubContent","MenubarPrimitive.SubContent","MenubarContent","align","alignOffset","sideOffset","MenubarPrimitive.Content","MenubarItem","MenubarPrimitive.Item","MenubarCheckboxItem","checked","MenubarPrimitive.CheckboxItem","MenubarPrimitive.ItemIndicator","Check","MenubarRadioItem","MenubarPrimitive.RadioItem","Circle","MenubarLabel","MenubarPrimitive.Label","MenubarSeparator","MenubarPrimitive.Separator","MenubarShortcut"],"mappings":"scAuBA,SAASA,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YAAcC,EAAAA,aAA2B,YAE1D,MAAMC,EAAkB,CAAC,CAAE,UAAAjC,EAAW,GAAGb,KAChCC,EAAAA,kBAAAA,IAAC,QAAK,UAAWe,EAAAA,GAAG,wDAAyDH,CAAS,EAAI,GAAGb,EAAO,EAE7G8C,EAAgB,YAAc"}
1
+ {"version":3,"file":"menubar.cjs.js","sources":["../packages/ui-web/src/menubar.tsx"],"sourcesContent":["'use client';\n\nimport * as MenubarPrimitive from '@radix-ui/react-menubar';\nimport { Check, ChevronRight, Circle } from 'lucide-react';\nimport * as React from 'react';\n\nimport {\n MenubarBaseProps,\n MenubarCheckboxItemBaseProps,\n MenubarContentBaseProps,\n MenubarItemBaseProps,\n MenubarLabelBaseProps,\n MenubarMenuBaseProps,\n MenubarRadioItemBaseProps,\n MenubarSeparatorBaseProps,\n MenubarShortcutBaseProps,\n MenubarSubBaseProps,\n MenubarSubContentBaseProps,\n MenubarSubTriggerBaseProps,\n MenubarTriggerBaseProps,\n} from '@gv-tech/ui-core';\nimport { cn } from './lib/utils';\n\nfunction MenubarMenu({ ...props }: MenubarPrimitive.MenubarMenuProps & MenubarMenuBaseProps) {\n return <MenubarPrimitive.Menu {...props} />;\n}\n\nfunction MenubarGroup({ ...props }: React.ComponentProps<typeof MenubarPrimitive.Group>) {\n return <MenubarPrimitive.Group {...props} />;\n}\n\nfunction MenubarPortal({ ...props }: React.ComponentProps<typeof MenubarPrimitive.Portal>) {\n return <MenubarPrimitive.Portal {...props} />;\n}\n\nfunction MenubarRadioGroup({ ...props }: React.ComponentProps<typeof MenubarPrimitive.RadioGroup>) {\n return <MenubarPrimitive.RadioGroup {...props} />;\n}\n\nfunction MenubarSub({ ...props }: MenubarPrimitive.MenubarSubProps & MenubarSubBaseProps) {\n return <MenubarPrimitive.Sub data-slot=\"menubar-sub\" {...props} />;\n}\n\nconst Menubar = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Root> & MenubarBaseProps\n>(({ className, ...props }, ref) => (\n <MenubarPrimitive.Root\n ref={ref}\n className={cn('bg-background flex h-9 items-center space-x-1 rounded-md border p-1 shadow-sm', className)}\n {...props}\n />\n));\nMenubar.displayName = MenubarPrimitive.Root.displayName;\n\nconst MenubarTrigger = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Trigger>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Trigger> & MenubarTriggerBaseProps\n>(({ className, ...props }, ref) => (\n <MenubarPrimitive.Trigger\n ref={ref}\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-3 py-1 text-sm font-medium outline-none select-none',\n className,\n )}\n {...props}\n />\n));\nMenubarTrigger.displayName = MenubarPrimitive.Trigger.displayName;\n\nconst MenubarSubTrigger = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.SubTrigger>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.SubTrigger> & MenubarSubTriggerBaseProps\n>(({ className, inset, children, ...props }, ref) => (\n <MenubarPrimitive.SubTrigger\n ref={ref}\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',\n inset && 'pl-8',\n className,\n )}\n {...props}\n >\n {children}\n <ChevronRight 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> & MenubarSubContentBaseProps\n>(({ className, ...props }, ref) => (\n <MenubarPrimitive.SubContent\n ref={ref}\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\nconst MenubarContent = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Content> & MenubarContentBaseProps\n>(({ className, align = 'start', alignOffset = -4, sideOffset = 8, ...props }, ref) => (\n <MenubarPrimitive.Portal>\n <MenubarPrimitive.Content\n ref={ref}\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 </MenubarPrimitive.Portal>\n));\nMenubarContent.displayName = MenubarPrimitive.Content.displayName;\n\nconst MenubarItem = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Item>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Item> & MenubarItemBaseProps\n>(({ className, inset, ...props }, ref) => (\n <MenubarPrimitive.Item\n ref={ref}\n className={cn(\n 'focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-none select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50',\n inset && 'pl-8',\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> & MenubarCheckboxItemBaseProps\n>(({ className, children, checked, ...props }, ref) => (\n <MenubarPrimitive.CheckboxItem\n ref={ref}\n className={cn(\n 'focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none select-none 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 <MenubarPrimitive.ItemIndicator>\n <Check className=\"h-4 w-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> & MenubarRadioItemBaseProps\n>(({ className, children, ...props }, ref) => (\n <MenubarPrimitive.RadioItem\n ref={ref}\n className={cn(\n 'focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none select-none 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 <MenubarPrimitive.ItemIndicator>\n <Circle className=\"h-4 w-4 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> & MenubarLabelBaseProps\n>(({ className, inset, ...props }, ref) => (\n <MenubarPrimitive.Label\n ref={ref}\n className={cn('px-2 py-1.5 text-sm font-semibold', inset && 'pl-8', className)}\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> & MenubarSeparatorBaseProps\n>(({ className, ...props }, ref) => (\n <MenubarPrimitive.Separator ref={ref} className={cn('bg-muted -mx-1 my-1 h-px', className)} {...props} />\n));\nMenubarSeparator.displayName = MenubarPrimitive.Separator.displayName;\n\nconst MenubarShortcut = ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement> & MenubarShortcutBaseProps) => {\n return <span className={cn('text-muted-foreground ml-auto text-xs tracking-widest', className)} {...props} />;\n};\nMenubarShortcut.displayname = 'MenubarShortcut';\n\nexport {\n Menubar,\n MenubarCheckboxItem,\n MenubarContent,\n MenubarGroup,\n MenubarItem,\n MenubarLabel,\n MenubarMenu,\n MenubarPortal,\n MenubarRadioGroup,\n MenubarRadioItem,\n MenubarSeparator,\n MenubarShortcut,\n MenubarSub,\n MenubarSubContent,\n MenubarSubTrigger,\n MenubarTrigger,\n};\n\nexport type {\n MenubarCheckboxItemBaseProps as MenubarCheckboxItemProps,\n MenubarContentBaseProps as MenubarContentProps,\n MenubarItemBaseProps as MenubarItemProps,\n MenubarLabelBaseProps as MenubarLabelProps,\n MenubarMenuBaseProps as MenubarMenuProps,\n MenubarBaseProps as MenubarProps,\n MenubarRadioItemBaseProps as MenubarRadioItemProps,\n MenubarSeparatorBaseProps as MenubarSeparatorProps,\n MenubarShortcutBaseProps as MenubarShortcutProps,\n MenubarSubContentBaseProps as MenubarSubContentProps,\n MenubarSubBaseProps as MenubarSubProps,\n MenubarSubTriggerBaseProps as MenubarSubTriggerProps,\n MenubarTriggerBaseProps as MenubarTriggerProps,\n};\n"],"names":["MenubarMenu","props","jsx","MenubarPrimitive.Menu","MenubarGroup","MenubarPrimitive.Group","MenubarPortal","MenubarPrimitive.Portal","MenubarRadioGroup","MenubarPrimitive.RadioGroup","MenubarSub","MenubarPrimitive.Sub","Menubar","React","className","ref","MenubarPrimitive.Root","cn","MenubarTrigger","MenubarPrimitive.Trigger","MenubarSubTrigger","inset","children","jsxs","MenubarPrimitive.SubTrigger","ChevronRight","MenubarSubContent","MenubarPrimitive.SubContent","MenubarContent","align","alignOffset","sideOffset","MenubarPrimitive.Content","MenubarItem","MenubarPrimitive.Item","MenubarCheckboxItem","checked","MenubarPrimitive.CheckboxItem","MenubarPrimitive.ItemIndicator","Check","MenubarRadioItem","MenubarPrimitive.RadioItem","Circle","MenubarLabel","MenubarPrimitive.Label","MenubarSeparator","MenubarPrimitive.Separator","MenubarShortcut"],"mappings":"mdAuBA,SAASA,EAAY,CAAE,GAAGC,GAAmE,CAC3F,OAAOC,wBAACC,EAAAA,KAAA,CAAuB,GAAGF,CAAA,CAAO,CAC3C,CAEA,SAASG,EAAa,CAAE,GAAGH,GAA8D,CACvF,OAAOC,wBAACG,EAAAA,SAAA,CAAwB,GAAGJ,CAAA,CAAO,CAC5C,CAEA,SAASK,EAAc,CAAE,GAAGL,GAA+D,CACzF,OAAOC,wBAACK,EAAAA,UAAA,CAAyB,GAAGN,CAAA,CAAO,CAC7C,CAEA,SAASO,EAAkB,CAAE,GAAGP,GAAmE,CACjG,OAAOC,wBAACO,EAAAA,cAAA,CAA6B,GAAGR,CAAA,CAAO,CACjD,CAEA,SAASS,EAAW,CAAE,GAAGT,GAAiE,CACxF,+BAAQU,EAAAA,OAAA,CAAqB,YAAU,cAAe,GAAGV,EAAO,CAClE,CAEA,MAAMW,EAAUC,EAAM,WAGpB,CAAC,CAAE,UAAAC,EAAW,GAAGb,CAAA,EAASc,IAC1Bb,EAAAA,kBAAAA,IAACc,EAAAA,MAAA,CACC,IAAAD,EACA,UAAWE,EAAAA,GAAG,gFAAiFH,CAAS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AA,CACH,CACD,EACDkB,EAAiB,YAAcC,EAAAA,aAA2B,YAE1D,MAAME,EAAe9B,EAAM,WAGzB,CAAC,CAAE,UAAAC,EAAW,MAAAO,EAAO,GAAGpB,GAASc,IACjCb,EAAAA,kBAAAA,IAAC0C,EAAAA,SAAA,CACC,IAAA7B,EACA,UAAWE,EAAAA,GAAG,oCAAqCI,GAAS,OAAQP,CAAS,EAC5E,GAAGb,CAAA,CACN,CACD,EACD0C,EAAa,YAAcC,EAAAA,SAAuB,YAElD,MAAMC,EAAmBhC,EAAM,WAG7B,CAAC,CAAE,UAAAC,EAAW,GAAGb,CAAA,EAASc,IAC1Bb,EAAAA,kBAAAA,IAAC4C,EAAAA,aAAA,CAA2B,IAAA/B,EAAU,UAAWE,EAAAA,GAAG,2BAA4BH,CAAS,EAAI,GAAGb,EAAO,CACxG,EACD4C,EAAiB,YAAcC,EAAAA,aAA2B,YAE1D,MAAMC,EAAkB,CAAC,CAAE,UAAAjC,EAAW,GAAGb,KAChCC,EAAAA,kBAAAA,IAAC,QAAK,UAAWe,EAAAA,GAAG,wDAAyDH,CAAS,EAAI,GAAGb,EAAO,EAE7G8C,EAAgB,YAAc"}
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { j as a, a9 as i, aa as c, ab as l, l as j, ac as m, ad as u, ae as f, af as p, ag as x, ah as b, w, ai as g, V as M, aj as N, ak as y, al as R, am as v, an as S, ao as C } from "./vendor-DxBXMLEx.mjs";
2
3
  import * as r from "react";
3
4
  import { c as n } from "./utils-Dk-Gx69q.mjs";
@@ -1 +1 @@
1
- {"version":3,"file":"menubar.es.js","sources":["../packages/ui-web/src/menubar.tsx"],"sourcesContent":["'use client';\n\nimport * as MenubarPrimitive from '@radix-ui/react-menubar';\nimport { Check, ChevronRight, Circle } from 'lucide-react';\nimport * as React from 'react';\n\nimport {\n MenubarBaseProps,\n MenubarCheckboxItemBaseProps,\n MenubarContentBaseProps,\n MenubarItemBaseProps,\n MenubarLabelBaseProps,\n MenubarMenuBaseProps,\n MenubarRadioItemBaseProps,\n MenubarSeparatorBaseProps,\n MenubarShortcutBaseProps,\n MenubarSubBaseProps,\n MenubarSubContentBaseProps,\n MenubarSubTriggerBaseProps,\n MenubarTriggerBaseProps,\n} from '@gv-tech/ui-core';\nimport { cn } from './lib/utils';\n\nfunction MenubarMenu({ ...props }: MenubarPrimitive.MenubarMenuProps & MenubarMenuBaseProps) {\n return <MenubarPrimitive.Menu {...props} />;\n}\n\nfunction MenubarGroup({ ...props }: React.ComponentProps<typeof MenubarPrimitive.Group>) {\n return <MenubarPrimitive.Group {...props} />;\n}\n\nfunction MenubarPortal({ ...props }: React.ComponentProps<typeof MenubarPrimitive.Portal>) {\n return <MenubarPrimitive.Portal {...props} />;\n}\n\nfunction MenubarRadioGroup({ ...props }: React.ComponentProps<typeof MenubarPrimitive.RadioGroup>) {\n return <MenubarPrimitive.RadioGroup {...props} />;\n}\n\nfunction MenubarSub({ ...props }: MenubarPrimitive.MenubarSubProps & MenubarSubBaseProps) {\n return <MenubarPrimitive.Sub data-slot=\"menubar-sub\" {...props} />;\n}\n\nconst Menubar = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Root> & MenubarBaseProps\n>(({ className, ...props }, ref) => (\n <MenubarPrimitive.Root\n ref={ref}\n className={cn('bg-background flex h-9 items-center space-x-1 rounded-md border p-1 shadow-sm', className)}\n {...props}\n />\n));\nMenubar.displayName = MenubarPrimitive.Root.displayName;\n\nconst MenubarTrigger = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Trigger>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Trigger> & MenubarTriggerBaseProps\n>(({ className, ...props }, ref) => (\n <MenubarPrimitive.Trigger\n ref={ref}\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-3 py-1 text-sm font-medium outline-none select-none',\n className,\n )}\n {...props}\n />\n));\nMenubarTrigger.displayName = MenubarPrimitive.Trigger.displayName;\n\nconst MenubarSubTrigger = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.SubTrigger>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.SubTrigger> & MenubarSubTriggerBaseProps\n>(({ className, inset, children, ...props }, ref) => (\n <MenubarPrimitive.SubTrigger\n ref={ref}\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',\n inset && 'pl-8',\n className,\n )}\n {...props}\n >\n {children}\n <ChevronRight 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> & MenubarSubContentBaseProps\n>(({ className, ...props }, ref) => (\n <MenubarPrimitive.SubContent\n ref={ref}\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\nconst MenubarContent = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Content> & MenubarContentBaseProps\n>(({ className, align = 'start', alignOffset = -4, sideOffset = 8, ...props }, ref) => (\n <MenubarPrimitive.Portal>\n <MenubarPrimitive.Content\n ref={ref}\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 </MenubarPrimitive.Portal>\n));\nMenubarContent.displayName = MenubarPrimitive.Content.displayName;\n\nconst MenubarItem = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Item>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Item> & MenubarItemBaseProps\n>(({ className, inset, ...props }, ref) => (\n <MenubarPrimitive.Item\n ref={ref}\n className={cn(\n 'focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-none select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50',\n inset && 'pl-8',\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> & MenubarCheckboxItemBaseProps\n>(({ className, children, checked, ...props }, ref) => (\n <MenubarPrimitive.CheckboxItem\n ref={ref}\n className={cn(\n 'focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none select-none 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 <MenubarPrimitive.ItemIndicator>\n <Check className=\"h-4 w-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> & MenubarRadioItemBaseProps\n>(({ className, children, ...props }, ref) => (\n <MenubarPrimitive.RadioItem\n ref={ref}\n className={cn(\n 'focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none select-none 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 <MenubarPrimitive.ItemIndicator>\n <Circle className=\"h-4 w-4 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> & MenubarLabelBaseProps\n>(({ className, inset, ...props }, ref) => (\n <MenubarPrimitive.Label\n ref={ref}\n className={cn('px-2 py-1.5 text-sm font-semibold', inset && 'pl-8', className)}\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> & MenubarSeparatorBaseProps\n>(({ className, ...props }, ref) => (\n <MenubarPrimitive.Separator ref={ref} className={cn('bg-muted -mx-1 my-1 h-px', className)} {...props} />\n));\nMenubarSeparator.displayName = MenubarPrimitive.Separator.displayName;\n\nconst MenubarShortcut = ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement> & MenubarShortcutBaseProps) => {\n return <span className={cn('text-muted-foreground ml-auto text-xs tracking-widest', className)} {...props} />;\n};\nMenubarShortcut.displayname = 'MenubarShortcut';\n\nexport {\n Menubar,\n MenubarCheckboxItem,\n MenubarContent,\n MenubarGroup,\n MenubarItem,\n MenubarLabel,\n MenubarMenu,\n MenubarPortal,\n MenubarRadioGroup,\n MenubarRadioItem,\n MenubarSeparator,\n MenubarShortcut,\n MenubarSub,\n MenubarSubContent,\n MenubarSubTrigger,\n MenubarTrigger,\n};\n\nexport type {\n MenubarCheckboxItemBaseProps as MenubarCheckboxItemProps,\n MenubarContentBaseProps as MenubarContentProps,\n MenubarItemBaseProps as MenubarItemProps,\n MenubarLabelBaseProps as MenubarLabelProps,\n MenubarMenuBaseProps as MenubarMenuProps,\n MenubarBaseProps as MenubarProps,\n MenubarRadioItemBaseProps as MenubarRadioItemProps,\n MenubarSeparatorBaseProps as MenubarSeparatorProps,\n MenubarShortcutBaseProps as MenubarShortcutProps,\n MenubarSubContentBaseProps as MenubarSubContentProps,\n MenubarSubBaseProps as MenubarSubProps,\n MenubarSubTriggerBaseProps as MenubarSubTriggerProps,\n MenubarTriggerBaseProps as MenubarTriggerProps,\n};\n"],"names":["MenubarMenu","props","jsx","MenubarPrimitive.Menu","MenubarGroup","MenubarPrimitive.Group","MenubarPortal","MenubarPrimitive.Portal","MenubarRadioGroup","MenubarPrimitive.RadioGroup","MenubarSub","MenubarPrimitive.Sub","Menubar","React","className","ref","MenubarPrimitive.Root","cn","MenubarTrigger","MenubarPrimitive.Trigger","MenubarSubTrigger","inset","children","jsxs","MenubarPrimitive.SubTrigger","ChevronRight","MenubarSubContent","MenubarPrimitive.SubContent","MenubarContent","align","alignOffset","sideOffset","MenubarPrimitive.Content","MenubarItem","MenubarPrimitive.Item","MenubarCheckboxItem","checked","MenubarPrimitive.CheckboxItem","MenubarPrimitive.ItemIndicator","Check","MenubarRadioItem","MenubarPrimitive.RadioItem","Circle","M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AAAA,EAAAA;AAAAA,EAAC0C;AAAAA,EAAA;AAAA,IACC,KAAA7B;AAAA,IACA,WAAWE,EAAG,qCAAqCI,KAAS,QAAQP,CAAS;AAAA,IAC5E,GAAGb;AAAA,EAAA;AACN,CACD;AACD0C,EAAa,cAAcC,EAAuB;AAElD,MAAMC,IAAmBhC,EAAM,WAG7B,CAAC,EAAE,WAAAC,GAAW,GAAGb,EAAA,GAASc,MAC1Bb,gBAAAA,EAAAA,IAAC4C,GAAA,EAA2B,KAAA/B,GAAU,WAAWE,EAAG,4BAA4BH,CAAS,GAAI,GAAGb,GAAO,CACxG;AACD4C,EAAiB,cAAcC,EAA2B;AAE1D,MAAMC,IAAkB,CAAC,EAAE,WAAAjC,GAAW,GAAGb,QAChCC,gBAAAA,EAAAA,IAAC,UAAK,WAAWe,EAAG,yDAAyDH,CAAS,GAAI,GAAGb,GAAO;AAE7G8C,EAAgB,cAAc;"}
1
+ {"version":3,"file":"menubar.es.js","sources":["../packages/ui-web/src/menubar.tsx"],"sourcesContent":["'use client';\n\nimport * as MenubarPrimitive from '@radix-ui/react-menubar';\nimport { Check, ChevronRight, Circle } from 'lucide-react';\nimport * as React from 'react';\n\nimport {\n MenubarBaseProps,\n MenubarCheckboxItemBaseProps,\n MenubarContentBaseProps,\n MenubarItemBaseProps,\n MenubarLabelBaseProps,\n MenubarMenuBaseProps,\n MenubarRadioItemBaseProps,\n MenubarSeparatorBaseProps,\n MenubarShortcutBaseProps,\n MenubarSubBaseProps,\n MenubarSubContentBaseProps,\n MenubarSubTriggerBaseProps,\n MenubarTriggerBaseProps,\n} from '@gv-tech/ui-core';\nimport { cn } from './lib/utils';\n\nfunction MenubarMenu({ ...props }: MenubarPrimitive.MenubarMenuProps & MenubarMenuBaseProps) {\n return <MenubarPrimitive.Menu {...props} />;\n}\n\nfunction MenubarGroup({ ...props }: React.ComponentProps<typeof MenubarPrimitive.Group>) {\n return <MenubarPrimitive.Group {...props} />;\n}\n\nfunction MenubarPortal({ ...props }: React.ComponentProps<typeof MenubarPrimitive.Portal>) {\n return <MenubarPrimitive.Portal {...props} />;\n}\n\nfunction MenubarRadioGroup({ ...props }: React.ComponentProps<typeof MenubarPrimitive.RadioGroup>) {\n return <MenubarPrimitive.RadioGroup {...props} />;\n}\n\nfunction MenubarSub({ ...props }: MenubarPrimitive.MenubarSubProps & MenubarSubBaseProps) {\n return <MenubarPrimitive.Sub data-slot=\"menubar-sub\" {...props} />;\n}\n\nconst Menubar = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Root> & MenubarBaseProps\n>(({ className, ...props }, ref) => (\n <MenubarPrimitive.Root\n ref={ref}\n className={cn('bg-background flex h-9 items-center space-x-1 rounded-md border p-1 shadow-sm', className)}\n {...props}\n />\n));\nMenubar.displayName = MenubarPrimitive.Root.displayName;\n\nconst MenubarTrigger = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Trigger>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Trigger> & MenubarTriggerBaseProps\n>(({ className, ...props }, ref) => (\n <MenubarPrimitive.Trigger\n ref={ref}\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-3 py-1 text-sm font-medium outline-none select-none',\n className,\n )}\n {...props}\n />\n));\nMenubarTrigger.displayName = MenubarPrimitive.Trigger.displayName;\n\nconst MenubarSubTrigger = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.SubTrigger>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.SubTrigger> & MenubarSubTriggerBaseProps\n>(({ className, inset, children, ...props }, ref) => (\n <MenubarPrimitive.SubTrigger\n ref={ref}\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',\n inset && 'pl-8',\n className,\n )}\n {...props}\n >\n {children}\n <ChevronRight 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> & MenubarSubContentBaseProps\n>(({ className, ...props }, ref) => (\n <MenubarPrimitive.SubContent\n ref={ref}\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\nconst MenubarContent = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Content> & MenubarContentBaseProps\n>(({ className, align = 'start', alignOffset = -4, sideOffset = 8, ...props }, ref) => (\n <MenubarPrimitive.Portal>\n <MenubarPrimitive.Content\n ref={ref}\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 </MenubarPrimitive.Portal>\n));\nMenubarContent.displayName = MenubarPrimitive.Content.displayName;\n\nconst MenubarItem = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Item>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Item> & MenubarItemBaseProps\n>(({ className, inset, ...props }, ref) => (\n <MenubarPrimitive.Item\n ref={ref}\n className={cn(\n 'focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-none select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50',\n inset && 'pl-8',\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> & MenubarCheckboxItemBaseProps\n>(({ className, children, checked, ...props }, ref) => (\n <MenubarPrimitive.CheckboxItem\n ref={ref}\n className={cn(\n 'focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none select-none 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 <MenubarPrimitive.ItemIndicator>\n <Check className=\"h-4 w-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> & MenubarRadioItemBaseProps\n>(({ className, children, ...props }, ref) => (\n <MenubarPrimitive.RadioItem\n ref={ref}\n className={cn(\n 'focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none select-none 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 <MenubarPrimitive.ItemIndicator>\n <Circle className=\"h-4 w-4 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> & MenubarLabelBaseProps\n>(({ className, inset, ...props }, ref) => (\n <MenubarPrimitive.Label\n ref={ref}\n className={cn('px-2 py-1.5 text-sm font-semibold', inset && 'pl-8', className)}\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> & MenubarSeparatorBaseProps\n>(({ className, ...props }, ref) => (\n <MenubarPrimitive.Separator ref={ref} className={cn('bg-muted -mx-1 my-1 h-px', className)} {...props} />\n));\nMenubarSeparator.displayName = MenubarPrimitive.Separator.displayName;\n\nconst MenubarShortcut = ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement> & MenubarShortcutBaseProps) => {\n return <span className={cn('text-muted-foreground ml-auto text-xs tracking-widest', className)} {...props} />;\n};\nMenubarShortcut.displayname = 'MenubarShortcut';\n\nexport {\n Menubar,\n MenubarCheckboxItem,\n MenubarContent,\n MenubarGroup,\n MenubarItem,\n MenubarLabel,\n MenubarMenu,\n MenubarPortal,\n MenubarRadioGroup,\n MenubarRadioItem,\n MenubarSeparator,\n MenubarShortcut,\n MenubarSub,\n MenubarSubContent,\n MenubarSubTrigger,\n MenubarTrigger,\n};\n\nexport type {\n MenubarCheckboxItemBaseProps as MenubarCheckboxItemProps,\n MenubarContentBaseProps as MenubarContentProps,\n MenubarItemBaseProps as MenubarItemProps,\n MenubarLabelBaseProps as MenubarLabelProps,\n MenubarMenuBaseProps as MenubarMenuProps,\n MenubarBaseProps as MenubarProps,\n MenubarRadioItemBaseProps as MenubarRadioItemProps,\n MenubarSeparatorBaseProps as MenubarSeparatorProps,\n MenubarShortcutBaseProps as MenubarShortcutProps,\n MenubarSubContentBaseProps as MenubarSubContentProps,\n MenubarSubBaseProps as MenubarSubProps,\n MenubarSubTriggerBaseProps as MenubarSubTriggerProps,\n MenubarTriggerBaseProps as MenubarTriggerProps,\n};\n"],"names":["MenubarMenu","props","jsx","MenubarPrimitive.Menu","MenubarGroup","MenubarPrimitive.Group","MenubarPortal","MenubarPrimitive.Portal","MenubarRadioGroup","MenubarPrimitive.RadioGroup","MenubarSub","MenubarPrimitive.Sub","Menubar","React","className","ref","MenubarPrimitive.Root","cn","MenubarTrigger","MenubarPrimitive.Trigger","MenubarSubTrigger","inset","children","jsxs","MenubarPrimitive.SubTrigger","ChevronRight","MenubarSubContent","MenubarPrimitive.SubContent","MenubarContent","align","alignOffset","sideOffset","MenubarPrimitive.Content","MenubarItem","MenubarPrimitive.Item","MenubarCheckboxItem","checked","MenubarPrimitive.CheckboxItem","MenubarPrimitive.ItemIndicator","Check","MenubarRadioItem","MenubarPrimitive.RadioItem","Circle","MenubarLabel","MenubarPrimitive.Label","MenubarSeparator","MenubarPrimitive.Separator","MenubarShortcut"],"mappings":";;;;AAuBA,SAASA,EAAY,EAAE,GAAGC,KAAmE;AAC3F,SAAOC,gBAAAA,MAACC,GAAA,EAAuB,GAAGF,EAAA,CAAO;AAC3C;AAEA,SAASG,EAAa,EAAE,GAAGH,KAA8D;AACvF,SAAOC,gBAAAA,MAACG,GAAA,EAAwB,GAAGJ,EAAA,CAAO;AAC5C;AAEA,SAASK,EAAc,EAAE,GAAGL,KAA+D;AACzF,SAAOC,gBAAAA,MAACK,GAAA,EAAyB,GAAGN,EAAA,CAAO;AAC7C;AAE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cC,EAA2B;AAE1D,MAAMC,IAAkB,CAAC,EAAE,WAAAjC,GAAW,GAAGb,QAChCC,gBAAAA,EAAAA,IAAC,UAAK,WAAWe,EAAG,yDAAyDH,CAAS,GAAI,GAAGb,GAAO;AAE7G8C,EAAgB,cAAc;"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./vendor-DQFuDa7q.js"),p=require("react"),n=require("./utils-DKStzUzN.js");function g(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const a in e)if(a!=="default"){const i=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(o,a,i.get?i:{enumerable:!0,get:()=>e[a]})}}return o.default=e,Object.freeze(o)}const r=g(p),d=r.forwardRef(({className:e,children:o,...a},i)=>t.jsxRuntimeExports.jsxs(t.Root2$4,{ref:i,className:n.cn("relative z-10 flex max-w-max flex-1 items-center justify-center",e),...a,children:[o,t.jsxRuntimeExports.jsx(s,{})]}));d.displayName=t.Root2$4.displayName;const c=r.forwardRef(({className:e,...o},a)=>t.jsxRuntimeExports.jsx(t.List,{ref:a,className:n.cn("group flex flex-1 list-none items-center justify-center space-x-1",e),...o}));c.displayName=t.List.displayName;const x=t.Item$1,u=t.cva("group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[state=open]:text-accent-foreground data-[state=open]:bg-accent/50 data-[state=open]:hover:bg-accent data-[state=open]:focus:bg-accent"),l=r.forwardRef(({className:e,children:o,...a},i)=>t.jsxRuntimeExports.jsxs(t.Trigger$3,{ref:i,className:n.cn(u(),"group",e),...a,children:[o," ",t.jsxRuntimeExports.jsx(t.ChevronDown,{className:"relative top-[1px] ml-1 h-3 w-3 transition duration-300 group-data-[state=open]:rotate-180","aria-hidden":"true"})]}));l.displayName=t.Trigger$3.displayName;const m=r.forwardRef(({className:e,...o},a)=>t.jsxRuntimeExports.jsx(t.Content,{ref:a,className:n.cn("data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 top-0 left-0 w-full md:absolute md:w-auto",e),...o}));m.displayName=t.Content.displayName;const v=t.Link,s=r.forwardRef(({className:e,...o},a)=>t.jsxRuntimeExports.jsx("div",{className:n.cn("absolute top-full left-0 flex justify-center"),children:t.jsxRuntimeExports.jsx(t.Viewport,{className:n.cn("origin-top-center bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border shadow md:w-[var(--radix-navigation-menu-viewport-width)]",e),ref:a,...o})}));s.displayName=t.Viewport.displayName;const f=r.forwardRef(({className:e,...o},a)=>t.jsxRuntimeExports.jsx(t.Indicator,{ref:a,className:n.cn("data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden",e),...o,children:t.jsxRuntimeExports.jsx("div",{className:"bg-border relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm shadow-md"})}));f.displayName=t.Indicator.displayName;exports.NavigationMenu=d;exports.NavigationMenuContent=m;exports.NavigationMenuIndicator=f;exports.NavigationMenuItem=x;exports.NavigationMenuLink=v;exports.NavigationMenuList=c;exports.NavigationMenuTrigger=l;exports.NavigationMenuViewport=s;exports.navigationMenuTriggerStyle=u;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./vendor-DQFuDa7q.js"),p=require("react"),o=require("./utils-DKStzUzN.js");function g(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const a in e)if(a!=="default"){const i=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(n,a,i.get?i:{enumerable:!0,get:()=>e[a]})}}return n.default=e,Object.freeze(n)}const r=g(p),d=r.forwardRef(({className:e,children:n,...a},i)=>t.jsxRuntimeExports.jsxs(t.Root2$4,{ref:i,className:o.cn("relative z-10 flex max-w-max flex-1 items-center justify-center",e),...a,children:[n,t.jsxRuntimeExports.jsx(s,{})]}));d.displayName=t.Root2$4.displayName;const c=r.forwardRef(({className:e,...n},a)=>t.jsxRuntimeExports.jsx(t.List,{ref:a,className:o.cn("group flex flex-1 list-none items-center justify-center space-x-1",e),...n}));c.displayName=t.List.displayName;const x=t.Item$1,u=t.cva("group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[state=open]:text-accent-foreground data-[state=open]:bg-accent/50 data-[state=open]:hover:bg-accent data-[state=open]:focus:bg-accent"),l=r.forwardRef(({className:e,children:n,...a},i)=>t.jsxRuntimeExports.jsxs(t.Trigger$3,{ref:i,className:o.cn(u(),"group",e),...a,children:[n," ",t.jsxRuntimeExports.jsx(t.ChevronDown,{className:"relative top-[1px] ml-1 h-3 w-3 transition duration-300 group-data-[state=open]:rotate-180","aria-hidden":"true"})]}));l.displayName=t.Trigger$3.displayName;const m=r.forwardRef(({className:e,...n},a)=>t.jsxRuntimeExports.jsx(t.Content,{ref:a,className:o.cn("data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 top-0 left-0 w-full md:absolute md:w-auto",e),...n}));m.displayName=t.Content.displayName;const v=t.Link,s=r.forwardRef(({className:e,...n},a)=>t.jsxRuntimeExports.jsx("div",{className:o.cn("absolute top-full left-0 flex justify-center"),children:t.jsxRuntimeExports.jsx(t.Viewport,{className:o.cn("origin-top-center bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border shadow md:w-[var(--radix-navigation-menu-viewport-width)]",e),ref:a,...n})}));s.displayName=t.Viewport.displayName;const f=r.forwardRef(({className:e,...n},a)=>t.jsxRuntimeExports.jsx(t.Indicator,{ref:a,className:o.cn("data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden",e),...n,children:t.jsxRuntimeExports.jsx("div",{className:"bg-border relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm shadow-md"})}));f.displayName=t.Indicator.displayName;exports.NavigationMenu=d;exports.NavigationMenuContent=m;exports.NavigationMenuIndicator=f;exports.NavigationMenuItem=x;exports.NavigationMenuLink=v;exports.NavigationMenuList=c;exports.NavigationMenuTrigger=l;exports.NavigationMenuViewport=s;exports.navigationMenuTriggerStyle=u;
2
2
  //# sourceMappingURL=navigation-menu.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"navigation-menu.cjs.js","sources":["../packages/ui-web/src/navigation-menu.tsx"],"sourcesContent":["'use client';\n\nimport * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';\nimport { cva } from 'class-variance-authority';\nimport { ChevronDown } from 'lucide-react';\nimport * as React from 'react';\n\nimport {\n NavigationMenuBaseProps,\n NavigationMenuContentBaseProps,\n NavigationMenuIndicatorBaseProps,\n NavigationMenuItemBaseProps,\n NavigationMenuLinkBaseProps,\n NavigationMenuListBaseProps,\n NavigationMenuTriggerBaseProps,\n NavigationMenuViewportBaseProps,\n} from '@gv-tech/ui-core';\nimport { cn } from './lib/utils';\n\nconst NavigationMenu = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Root> & NavigationMenuBaseProps\n>(({ className, children, ...props }, ref) => (\n <NavigationMenuPrimitive.Root\n ref={ref}\n className={cn('relative z-10 flex max-w-max flex-1 items-center justify-center', className)}\n {...props}\n >\n {children}\n <NavigationMenuViewport />\n </NavigationMenuPrimitive.Root>\n));\nNavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName;\n\nconst NavigationMenuList = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.List>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.List> & NavigationMenuListBaseProps\n>(({ className, ...props }, ref) => (\n <NavigationMenuPrimitive.List\n ref={ref}\n className={cn('group flex flex-1 list-none items-center justify-center space-x-1', className)}\n {...props}\n />\n));\nNavigationMenuList.displayName = NavigationMenuPrimitive.List.displayName;\n\nconst NavigationMenuItem = NavigationMenuPrimitive.Item;\n\nconst navigationMenuTriggerStyle = cva(\n 'group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[state=open]:text-accent-foreground data-[state=open]:bg-accent/50 data-[state=open]:hover:bg-accent data-[state=open]:focus:bg-accent',\n);\n\nconst NavigationMenuTrigger = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.Trigger>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Trigger> & NavigationMenuTriggerBaseProps\n>(({ className, children, ...props }, ref) => (\n <NavigationMenuPrimitive.Trigger\n ref={ref}\n className={cn(navigationMenuTriggerStyle(), 'group', className)}\n {...props}\n >\n {children}{' '}\n <ChevronDown\n className=\"relative top-[1px] ml-1 h-3 w-3 transition duration-300 group-data-[state=open]:rotate-180\"\n aria-hidden=\"true\"\n />\n </NavigationMenuPrimitive.Trigger>\n));\nNavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName;\n\nconst NavigationMenuContent = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Content> & NavigationMenuContentBaseProps\n>(({ className, ...props }, ref) => (\n <NavigationMenuPrimitive.Content\n ref={ref}\n className={cn(\n 'data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 top-0 left-0 w-full md:absolute md:w-auto',\n className,\n )}\n {...props}\n />\n));\nNavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName;\n\nconst NavigationMenuLink = NavigationMenuPrimitive.Link;\n\nconst NavigationMenuViewport = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.Viewport>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Viewport> & NavigationMenuViewportBaseProps\n>(({ className, ...props }, ref) => (\n <div className={cn('absolute top-full left-0 flex justify-center')}>\n <NavigationMenuPrimitive.Viewport\n className={cn(\n 'origin-top-center bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border shadow md:w-[var(--radix-navigation-menu-viewport-width)]',\n className,\n )}\n ref={ref}\n {...props}\n />\n </div>\n));\nNavigationMenuViewport.displayName = NavigationMenuPrimitive.Viewport.displayName;\n\nconst NavigationMenuIndicator = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.Indicator>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Indicator> & NavigationMenuIndicatorBaseProps\n>(({ className, ...props }, ref) => (\n <NavigationMenuPrimitive.Indicator\n ref={ref}\n className={cn(\n 'data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden',\n className,\n )}\n {...props}\n >\n <div className=\"bg-border relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm shadow-md\" />\n </NavigationMenuPrimitive.Indicator>\n));\nNavigationMenuIndicator.displayName = NavigationMenuPrimitive.Indicator.displayName;\n\nexport {\n NavigationMenu,\n NavigationMenuContent,\n NavigationMenuIndicator,\n NavigationMenuItem,\n NavigationMenuLink,\n NavigationMenuList,\n NavigationMenuTrigger,\n navigationMenuTriggerStyle,\n NavigationMenuViewport,\n};\n\nexport type {\n NavigationMenuContentBaseProps as NavigationMenuContentProps,\n NavigationMenuIndicatorBaseProps as NavigationMenuIndicatorProps,\n NavigationMenuItemBaseProps as NavigationMenuItemProps,\n NavigationMenuLinkBaseProps as NavigationMenuLinkProps,\n NavigationMenuListBaseProps as NavigationMenuListProps,\n NavigationMenuBaseProps as NavigationMenuProps,\n NavigationMenuTriggerBaseProps as NavigationMenuTriggerProps,\n NavigationMenuViewportBaseProps as NavigationMenuViewportProps,\n};\n"],"names":["NavigationMenu","React","className","children","props","ref","jsxs","NavigationMenuPrimitive.Root","cn","NavigationMenuViewport","NavigationMenuList","jsx","NavigationMenuPrimitive.List","NavigationMenuItem","NavigationMenuPrimitive.Item","navigationMenuTriggerStyle","cva","NavigationMenuTrigger","NavigationMenuPrimitive.Trigger","ChevronDown","NavigationMenuContent","NavigationMenuPrimitive.Content","NavigationMenuLink","NavigationMenuPrimitive.Link","NavigationMenuPrimitive.Viewport","NavigationMenuIndicator","NavigationMenuPrimitive.Indicator"],"mappings":"scAmBMA,EAAiBC,EAAM,WAG3B,CAAC,CAAE,UAAAC,EAAW,SAAAC,EAAU,GAAGC,GAASC,IACpCC,EAAAA,kBAAAA,K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H,EAAAA,GAAG,8CAA8C,EAC/D,SAAAG,EAAAA,kBAAAA,IAACa,EAAAA,SAAA,CACC,UAAWhB,EAAAA,GACT,qVACAN,CAAA,EAEF,IAAAG,EACC,GAAGD,CAAA,CACN,EACF,CACD,EACDK,EAAuB,YAAce,EAAAA,SAAiC,YAEtE,MAAMC,EAA0BxB,EAAM,WAGpC,CAAC,CAAE,UAAAC,EAAW,GAAGE,CAAA,EAASC,IAC1BM,EAAAA,kBAAAA,IAACe,EAAAA,UAAA,CACC,IAAArB,EACA,UAAWG,EAAAA,GACT,+LACAN,CAAA,EAED,GAAGE,EAEJ,SAAAO,EAAAA,kBAAAA,IAAC,MAAA,CAAI,UAAU,wEAAA,CAAyE,CAAA,CAC1F,CACD,EACDc,EAAwB,YAAcC,EAAAA,UAAkC"}
1
+ {"version":3,"file":"navigation-menu.cjs.js","sources":["../packages/ui-web/src/navigation-menu.tsx"],"sourcesContent":["'use client';\n\nimport * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';\nimport { cva } from 'class-variance-authority';\nimport { ChevronDown } from 'lucide-react';\nimport * as React from 'react';\n\nimport {\n NavigationMenuBaseProps,\n NavigationMenuContentBaseProps,\n NavigationMenuIndicatorBaseProps,\n NavigationMenuItemBaseProps,\n NavigationMenuLinkBaseProps,\n NavigationMenuListBaseProps,\n NavigationMenuTriggerBaseProps,\n NavigationMenuViewportBaseProps,\n} from '@gv-tech/ui-core';\nimport { cn } from './lib/utils';\n\nconst NavigationMenu = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Root> & NavigationMenuBaseProps\n>(({ className, children, ...props }, ref) => (\n <NavigationMenuPrimitive.Root\n ref={ref}\n className={cn('relative z-10 flex max-w-max flex-1 items-center justify-center', className)}\n {...props}\n >\n {children}\n <NavigationMenuViewport />\n </NavigationMenuPrimitive.Root>\n));\nNavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName;\n\nconst NavigationMenuList = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.List>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.List> & NavigationMenuListBaseProps\n>(({ className, ...props }, ref) => (\n <NavigationMenuPrimitive.List\n ref={ref}\n className={cn('group flex flex-1 list-none items-center justify-center space-x-1', className)}\n {...props}\n />\n));\nNavigationMenuList.displayName = NavigationMenuPrimitive.List.displayName;\n\nconst NavigationMenuItem = NavigationMenuPrimitive.Item;\n\nconst navigationMenuTriggerStyle = cva(\n 'group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[state=open]:text-accent-foreground data-[state=open]:bg-accent/50 data-[state=open]:hover:bg-accent data-[state=open]:focus:bg-accent',\n);\n\nconst NavigationMenuTrigger = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.Trigger>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Trigger> & NavigationMenuTriggerBaseProps\n>(({ className, children, ...props }, ref) => (\n <NavigationMenuPrimitive.Trigger\n ref={ref}\n className={cn(navigationMenuTriggerStyle(), 'group', className)}\n {...props}\n >\n {children}{' '}\n <ChevronDown\n className=\"relative top-[1px] ml-1 h-3 w-3 transition duration-300 group-data-[state=open]:rotate-180\"\n aria-hidden=\"true\"\n />\n </NavigationMenuPrimitive.Trigger>\n));\nNavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName;\n\nconst NavigationMenuContent = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Content> & NavigationMenuContentBaseProps\n>(({ className, ...props }, ref) => (\n <NavigationMenuPrimitive.Content\n ref={ref}\n className={cn(\n 'data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 top-0 left-0 w-full md:absolute md:w-auto',\n className,\n )}\n {...props}\n />\n));\nNavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName;\n\nconst NavigationMenuLink = NavigationMenuPrimitive.Link;\n\nconst NavigationMenuViewport = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.Viewport>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Viewport> & NavigationMenuViewportBaseProps\n>(({ className, ...props }, ref) => (\n <div className={cn('absolute top-full left-0 flex justify-center')}>\n <NavigationMenuPrimitive.Viewport\n className={cn(\n 'origin-top-center bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border shadow md:w-[var(--radix-navigation-menu-viewport-width)]',\n className,\n )}\n ref={ref}\n {...props}\n />\n </div>\n));\nNavigationMenuViewport.displayName = NavigationMenuPrimitive.Viewport.displayName;\n\nconst NavigationMenuIndicator = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.Indicator>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Indicator> & NavigationMenuIndicatorBaseProps\n>(({ className, ...props }, ref) => (\n <NavigationMenuPrimitive.Indicator\n ref={ref}\n className={cn(\n 'data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden',\n className,\n )}\n {...props}\n >\n <div className=\"bg-border relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm shadow-md\" />\n </NavigationMenuPrimitive.Indicator>\n));\nNavigationMenuIndicator.displayName = NavigationMenuPrimitive.Indicator.displayName;\n\nexport {\n NavigationMenu,\n NavigationMenuContent,\n NavigationMenuIndicator,\n NavigationMenuItem,\n NavigationMenuLink,\n NavigationMenuList,\n NavigationMenuTrigger,\n navigationMenuTriggerStyle,\n NavigationMenuViewport,\n};\n\nexport type {\n NavigationMenuContentBaseProps as NavigationMenuContentProps,\n NavigationMenuIndicatorBaseProps as NavigationMenuIndicatorProps,\n NavigationMenuItemBaseProps as NavigationMenuItemProps,\n NavigationMenuLinkBaseProps as NavigationMenuLinkProps,\n NavigationMenuListBaseProps as NavigationMenuListProps,\n NavigationMenuBaseProps as NavigationMenuProps,\n NavigationMenuTriggerBaseProps as NavigationMenuTriggerProps,\n NavigationMenuViewportBaseProps as NavigationMenuViewportProps,\n};\n"],"names":["NavigationMenu","React","className","children","props","ref","jsxs","NavigationMenuPrimitive.Root","cn","NavigationMenuViewport","NavigationMenuList","jsx","NavigationMenuPrimitive.List","NavigationMenuItem","NavigationMenuPrimitive.Item","navigationMenuTriggerStyle","cva","NavigationMenuTrigger","NavigationMenuPrimitive.Trigger","ChevronDown","NavigationMenuContent","NavigationMenuPrimitive.Content","NavigationMenuLink","NavigationMenuPrimitive.Link","NavigationMenuPrimitive.Viewport","NavigationMenuIndicator","NavigationMenuPrimitive.Indicator"],"mappings":"mdAmBMA,EAAiBC,EAAM,WAG3B,CAAC,CAAE,UAAAC,EAAW,SAAAC,EAAU,GAAGC,GAASC,IACpCC,EAAAA,kBAAAA,KAACC,EAAAA,QAAA,CACC,IAAAF,EACA,UAAWG,EAAAA,GAAG,kEAAmEN,CAAS,EACzF,GAAGE,EAEH,SAAA,CAAAD,0BACAM,EAAA,CAAA,CAAuB,CAAA,CAAA,CAC1B,CACD,EACDT,EAAe,YAAcO,EAAAA,QAA6B,YAE1D,MAAMG,EAAqBT,EAAM,WAG/B,CAAC,CAAE,UAAAC,EAAW,GAAGE,CAAA,EAASC,IAC1BM,EAAAA,kBAAAA,IAACC,EAAAA,KAAA,CACC,IAAAP,EACA,UAAWG,EAAAA,GAAG,o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T,+LACAN,CAAA,EAED,GAAGE,EAEJ,SAAAO,EAAAA,kBAAAA,IAAC,MAAA,CAAI,UAAU,wEAAA,CAAyE,CAAA,CAC1F,CACD,EACDc,EAAwB,YAAcC,EAAAA,UAAkC"}
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { j as o, ap as r, aq as d, ar as m, C as p, as as l, at as c, au as f, g, av as v, aw as x } from "./vendor-DxBXMLEx.mjs";
2
3
  import * as i from "react";
3
4
  import { c as n } from "./utils-Dk-Gx69q.mjs";
@@ -1 +1 @@
1
- {"version":3,"file":"navigation-menu.es.js","sources":["../packages/ui-web/src/navigation-menu.tsx"],"sourcesContent":["'use client';\n\nimport * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';\nimport { cva } from 'class-variance-authority';\nimport { ChevronDown } from 'lucide-react';\nimport * as React from 'react';\n\nimport {\n NavigationMenuBaseProps,\n NavigationMenuContentBaseProps,\n NavigationMenuIndicatorBaseProps,\n NavigationMenuItemBaseProps,\n NavigationMenuLinkBaseProps,\n NavigationMenuListBaseProps,\n NavigationMenuTriggerBaseProps,\n NavigationMenuViewportBaseProps,\n} from '@gv-tech/ui-core';\nimport { cn } from './lib/utils';\n\nconst NavigationMenu = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Root> & NavigationMenuBaseProps\n>(({ className, children, ...props }, ref) => (\n <NavigationMenuPrimitive.Root\n ref={ref}\n className={cn('relative z-10 flex max-w-max flex-1 items-center justify-center', className)}\n {...props}\n >\n {children}\n <NavigationMenuViewport />\n </NavigationMenuPrimitive.Root>\n));\nNavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName;\n\nconst NavigationMenuList = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.List>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.List> & NavigationMenuListBaseProps\n>(({ className, ...props }, ref) => (\n <NavigationMenuPrimitive.List\n ref={ref}\n className={cn('group flex flex-1 list-none items-center justify-center space-x-1', className)}\n {...props}\n />\n));\nNavigationMenuList.displayName = NavigationMenuPrimitive.List.displayName;\n\nconst NavigationMenuItem = NavigationMenuPrimitive.Item;\n\nconst navigationMenuTriggerStyle = cva(\n 'group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[state=open]:text-accent-foreground data-[state=open]:bg-accent/50 data-[state=open]:hover:bg-accent data-[state=open]:focus:bg-accent',\n);\n\nconst NavigationMenuTrigger = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.Trigger>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Trigger> & NavigationMenuTriggerBaseProps\n>(({ className, children, ...props }, ref) => (\n <NavigationMenuPrimitive.Trigger\n ref={ref}\n className={cn(navigationMenuTriggerStyle(), 'group', className)}\n {...props}\n >\n {children}{' '}\n <ChevronDown\n className=\"relative top-[1px] ml-1 h-3 w-3 transition duration-300 group-data-[state=open]:rotate-180\"\n aria-hidden=\"true\"\n />\n </NavigationMenuPrimitive.Trigger>\n));\nNavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName;\n\nconst NavigationMenuContent = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Content> & NavigationMenuContentBaseProps\n>(({ className, ...props }, ref) => (\n <NavigationMenuPrimitive.Content\n ref={ref}\n className={cn(\n 'data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 top-0 left-0 w-full md:absolute md:w-auto',\n className,\n )}\n {...props}\n />\n));\nNavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName;\n\nconst NavigationMenuLink = NavigationMenuPrimitive.Link;\n\nconst NavigationMenuViewport = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.Viewport>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Viewport> & NavigationMenuViewportBaseProps\n>(({ className, ...props }, ref) => (\n <div className={cn('absolute top-full left-0 flex justify-center')}>\n <NavigationMenuPrimitive.Viewport\n className={cn(\n 'origin-top-center bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border shadow md:w-[var(--radix-navigation-menu-viewport-width)]',\n className,\n )}\n ref={ref}\n {...props}\n />\n </div>\n));\nNavigationMenuViewport.displayName = NavigationMenuPrimitive.Viewport.displayName;\n\nconst NavigationMenuIndicator = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.Indicator>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Indicator> & NavigationMenuIndicatorBaseProps\n>(({ className, ...props }, ref) => (\n <NavigationMenuPrimitive.Indicator\n ref={ref}\n className={cn(\n 'data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden',\n className,\n )}\n {...props}\n >\n <div className=\"bg-border relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm shadow-md\" />\n </NavigationMenuPrimitive.Indicator>\n));\nNavigationMenuIndicator.displayName = NavigationMenuPrimitive.Indicator.displayName;\n\nexport {\n NavigationMenu,\n NavigationMenuContent,\n NavigationMenuIndicator,\n NavigationMenuItem,\n NavigationMenuLink,\n NavigationMenuList,\n NavigationMenuTrigger,\n navigationMenuTriggerStyle,\n NavigationMenuViewport,\n};\n\nexport type {\n NavigationMenuContentBaseProps as NavigationMenuContentProps,\n NavigationMenuIndicatorBaseProps as NavigationMenuIndicatorProps,\n NavigationMenuItemBaseProps as NavigationMenuItemProps,\n NavigationMenuLinkBaseProps as NavigationMenuLinkProps,\n NavigationMenuListBaseProps as NavigationMenuListProps,\n NavigationMenuBaseProps as NavigationMenuProps,\n NavigationMenuTriggerBaseProps as NavigationMenuTriggerProps,\n NavigationMenuViewportBaseProps as NavigationMenuViewportProps,\n};\n"],"names":["NavigationMenu","React","className","children","props","ref","jsxs","NavigationMenuPrimitive.Root","cn","NavigationMenuViewport","NavigationMenuList","jsx","NavigationMenuPrimitive.List","NavigationMenuItem","NavigationMenuPrimitive.Item","navigationMenuTriggerStyle","cva","NavigationMenuTrigger","NavigationMenuPrimitive.Trigger","ChevronDown","NavigationMenuContent","NavigationMenuPrimitive.Content","NavigationMenuLink","NavigationMenuPrimitive.Link","NavigationMenuPrimitive.Viewport","NavigationMenuIndicator","NavigationMenuPrimitive.Indicator"],"mappings":";;;AAmBA,MAAMA,IAAiBC,EAAM,WAG3B,CAAC,EAAE,WAAAC,GAAW,UAAAC,GAAU,GAAGC,KAASC,MACpCC,gBAAAA,EAAAA;AAAAA,EAACC;AAAAA,EAAA;AAAA,IACC,KAAAF;AAAA,IACA,WAAWG,EAAG,mEAAmEN,CAAS;AAAA,IACzF,GAAGE;AAAA,IAEH,UAAA;AAAA,MAAAD;AAAA,4BACAM,GAAA,CAAA,CAAuB;AAAA,IAAA;AAAA,EAAA;AAC1B,CACD;AACDT,EAAe,cAAcO,EAA6B;AAE1D,MAAMG,IAAqBT,EAAM,WAG/B,CAAC,EAAE,WAAAC,GAAW,GAAGE,EAAA,GAASC,MAC1BM,gBAAAA,EAAAA;AAAAA,EAACC;AAAAA,EAAA;AAAA,IACC,KAAAP;AAAA,IACA,WAAWG,EAAG,qEAAqEN,CAAS;AAAA,IAC3F,GAAGE;AAAA,EAAA;AACN,CACD;AACDM,EAAmB,cAAcE,EAA6B;AAE9D,MAAMC,IAAqB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ACC,KAAArB;AAAA,IACA,WAAWG;AAAA,MACT;AAAA,MACAN;AAAA,IAAA;AAAA,IAED,GAAGE;AAAA,IAEJ,UAAAO,gBAAAA,EAAAA,IAAC,OAAA,EAAI,WAAU,yEAAA,CAAyE;AAAA,EAAA;AAC1F,CACD;AACDc,EAAwB,cAAcC,EAAkC;"}
1
+ {"version":3,"file":"navigation-menu.es.js","sources":["../packages/ui-web/src/navigation-menu.tsx"],"sourcesContent":["'use client';\n\nimport * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';\nimport { cva } from 'class-variance-authority';\nimport { ChevronDown } from 'lucide-react';\nimport * as React from 'react';\n\nimport {\n NavigationMenuBaseProps,\n NavigationMenuContentBaseProps,\n NavigationMenuIndicatorBaseProps,\n NavigationMenuItemBaseProps,\n NavigationMenuLinkBaseProps,\n NavigationMenuListBaseProps,\n NavigationMenuTriggerBaseProps,\n NavigationMenuViewportBaseProps,\n} from '@gv-tech/ui-core';\nimport { cn } from './lib/utils';\n\nconst NavigationMenu = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Root> & NavigationMenuBaseProps\n>(({ className, children, ...props }, ref) => (\n <NavigationMenuPrimitive.Root\n ref={ref}\n className={cn('relative z-10 flex max-w-max flex-1 items-center justify-center', className)}\n {...props}\n >\n {children}\n <NavigationMenuViewport />\n </NavigationMenuPrimitive.Root>\n));\nNavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName;\n\nconst NavigationMenuList = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.List>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.List> & NavigationMenuListBaseProps\n>(({ className, ...props }, ref) => (\n <NavigationMenuPrimitive.List\n ref={ref}\n className={cn('group flex flex-1 list-none items-center justify-center space-x-1', className)}\n {...props}\n />\n));\nNavigationMenuList.displayName = NavigationMenuPrimitive.List.displayName;\n\nconst NavigationMenuItem = NavigationMenuPrimitive.Item;\n\nconst navigationMenuTriggerStyle = cva(\n 'group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[state=open]:text-accent-foreground data-[state=open]:bg-accent/50 data-[state=open]:hover:bg-accent data-[state=open]:focus:bg-accent',\n);\n\nconst NavigationMenuTrigger = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.Trigger>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Trigger> & NavigationMenuTriggerBaseProps\n>(({ className, children, ...props }, ref) => (\n <NavigationMenuPrimitive.Trigger\n ref={ref}\n className={cn(navigationMenuTriggerStyle(), 'group', className)}\n {...props}\n >\n {children}{' '}\n <ChevronDown\n className=\"relative top-[1px] ml-1 h-3 w-3 transition duration-300 group-data-[state=open]:rotate-180\"\n aria-hidden=\"true\"\n />\n </NavigationMenuPrimitive.Trigger>\n));\nNavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName;\n\nconst NavigationMenuContent = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Content> & NavigationMenuContentBaseProps\n>(({ className, ...props }, ref) => (\n <NavigationMenuPrimitive.Content\n ref={ref}\n className={cn(\n 'data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 top-0 left-0 w-full md:absolute md:w-auto',\n className,\n )}\n {...props}\n />\n));\nNavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName;\n\nconst NavigationMenuLink = NavigationMenuPrimitive.Link;\n\nconst NavigationMenuViewport = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.Viewport>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Viewport> & NavigationMenuViewportBaseProps\n>(({ className, ...props }, ref) => (\n <div className={cn('absolute top-full left-0 flex justify-center')}>\n <NavigationMenuPrimitive.Viewport\n className={cn(\n 'origin-top-center bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border shadow md:w-[var(--radix-navigation-menu-viewport-width)]',\n className,\n )}\n ref={ref}\n {...props}\n />\n </div>\n));\nNavigationMenuViewport.displayName = NavigationMenuPrimitive.Viewport.displayName;\n\nconst NavigationMenuIndicator = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.Indicator>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Indicator> & NavigationMenuIndicatorBaseProps\n>(({ className, ...props }, ref) => (\n <NavigationMenuPrimitive.Indicator\n ref={ref}\n className={cn(\n 'data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden',\n className,\n )}\n {...props}\n >\n <div className=\"bg-border relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm shadow-md\" />\n </NavigationMenuPrimitive.Indicator>\n));\nNavigationMenuIndicator.displayName = NavigationMenuPrimitive.Indicator.displayName;\n\nexport {\n NavigationMenu,\n NavigationMenuContent,\n NavigationMenuIndicator,\n NavigationMenuItem,\n NavigationMenuLink,\n NavigationMenuList,\n NavigationMenuTrigger,\n navigationMenuTriggerStyle,\n NavigationMenuViewport,\n};\n\nexport type {\n NavigationMenuContentBaseProps as NavigationMenuContentProps,\n NavigationMenuIndicatorBaseProps as NavigationMenuIndicatorProps,\n NavigationMenuItemBaseProps as NavigationMenuItemProps,\n NavigationMenuLinkBaseProps as NavigationMenuLinkProps,\n NavigationMenuListBaseProps as NavigationMenuListProps,\n NavigationMenuBaseProps as NavigationMenuProps,\n NavigationMenuTriggerBaseProps as NavigationMenuTriggerProps,\n NavigationMenuViewportBaseProps as NavigationMenuViewportProps,\n};\n"],"names":["NavigationMenu","React","className","children","props","ref","jsxs","NavigationMenuPrimitive.Root","cn","NavigationMenuViewport","NavigationMenuList","jsx","NavigationMenuPrimitive.List","NavigationMenuItem","NavigationMenuPrimitive.Item","navigationMenuTriggerStyle","cva","NavigationMenuTrigger","NavigationMenuPrimitive.Trigger","ChevronDown","NavigationMenuContent","NavigationMenuPrimitive.Content","NavigationMenuLink","NavigationMenuPrimitive.Link","NavigationMenuPrimitive.Viewport","NavigationMenuIndicator","NavigationMenuPrimitive.Indicator"],"mappings":";;;;AAmBA,MAAMA,IAAiBC,EAAM,WAG3B,CAAC,EAAE,WAAAC,GAAW,UAAAC,GAAU,GAAGC,KAASC,MACpCC,gBAAAA,EAAAA;AAAAA,EAACC;AAAAA,EAAA;AAAA,IACC,KAAAF;AAAA,IACA,WAAWG,EAAG,mEAAmEN,CAAS;AAAA,IACzF,GAAGE;AAAA,IAEH,UAAA;AAAA,MAAAD;AAAA,4BACAM,GAAA,CAAA,CAAuB;AAAA,IAAA;AAAA,EAAA;AAC1B,CACD;AACDT,EAAe,cAAcO,EAA6B;AAE1D,MAAMG,IAAqBT,EAAM,WAG/B,CAAC,EAAE,WAAAC,GAAW,GAAGE,EAAA,GAASC,MAC1BM,gBAAAA,EAAAA;AAAAA,EAACC;AAAAA,EAAA;AAAA,IACC,KAAAP;AAAA,IACA,WAAWG,EAAG,qEAAqEN,CAAS;AAAA,IAC3F,GAAGE;AAAA,EAAA;AACN,CACD;AACDM,EAAmB,cAAcE,EAA6B;AAE9D,MAAMC,IAAqBC,GAErBC,IAA6BC;AAAA,EACjC;AACF,GAEMC,IAAwBhB,EAAM,WAGlC,CAAC,EAAE,WAAAC,GAAW,UAAAC,GAAU,GAAGC,KAASC,MACpCC,gB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AA,EAAI,WAAU,yEAAA,CAAyE;AAAA,EAAA;AAC1F,CACD;AACDc,EAAwB,cAAcC,EAAkC;"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./vendor-DQFuDa7q.js"),g=require("react"),j=require("./button.cjs.js"),i=require("./utils-DKStzUzN.js");function d(e){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const s=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(a,t,s.get?s:{enumerable:!0,get:()=>e[t]})}}return a.default=e,Object.freeze(a)}const r=d(g),l=({className:e,...a})=>n.jsxRuntimeExports.jsx("nav",{role:"navigation","aria-label":"pagination",className:i.cn("mx-auto flex w-full justify-center",e),...a});l.displayName="Pagination";const c=r.forwardRef(({className:e,...a},t)=>n.jsxRuntimeExports.jsx("ul",{ref:t,className:i.cn("flex flex-row items-center gap-1",e),...a}));c.displayName="PaginationContent";const x=r.forwardRef(({className:e,...a},t)=>n.jsxRuntimeExports.jsx("li",{ref:t,className:i.cn("",e),...a}));x.displayName="PaginationItem";const o=({className:e,isActive:a,size:t="icon",...s})=>n.jsxRuntimeExports.jsx("a",{"aria-current":a?"page":void 0,className:i.cn(j.buttonVariants({variant:a?"outline":"ghost",size:t}),e),...s});o.displayName="PaginationLink";const u=({className:e,...a})=>n.jsxRuntimeExports.jsxs(o,{"aria-label":"Go to previous page",size:"default",className:i.cn("gap-1 pl-2.5",e),...a,children:[n.jsxRuntimeExports.jsx(n.ChevronLeft,{className:"h-4 w-4"}),n.jsxRuntimeExports.jsx("span",{children:"Previous"})]});u.displayName="PaginationPrevious";const p=({className:e,...a})=>n.jsxRuntimeExports.jsxs(o,{"aria-label":"Go to next page",size:"default",className:i.cn("gap-1 pr-2.5",e),...a,children:[n.jsxRuntimeExports.jsx("span",{children:"Next"}),n.jsxRuntimeExports.jsx(n.ChevronRight,{className:"h-4 w-4"})]});p.displayName="PaginationNext";const m=({className:e,...a})=>n.jsxRuntimeExports.jsxs("span",{"aria-hidden":!0,className:i.cn("flex h-9 w-9 items-center justify-center",e),...a,children:[n.jsxRuntimeExports.jsx(n.Ellipsis,{className:"h-4 w-4"}),n.jsxRuntimeExports.jsx("span",{className:"sr-only",children:"More pages"})]});m.displayName="PaginationEllipsis";exports.Pagination=l;exports.PaginationContent=c;exports.PaginationEllipsis=m;exports.PaginationItem=x;exports.PaginationLink=o;exports.PaginationNext=p;exports.PaginationPrevious=u;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./vendor-DQFuDa7q.js"),g=require("react"),j=require("./button.cjs.js"),i=require("./utils-DKStzUzN.js");function d(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const s=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,s.get?s:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const r=d(g),l=({className:e,...n})=>a.jsxRuntimeExports.jsx("nav",{role:"navigation","aria-label":"pagination",className:i.cn("mx-auto flex w-full justify-center",e),...n});l.displayName="Pagination";const c=r.forwardRef(({className:e,...n},t)=>a.jsxRuntimeExports.jsx("ul",{ref:t,className:i.cn("flex flex-row items-center gap-1",e),...n}));c.displayName="PaginationContent";const u=r.forwardRef(({className:e,...n},t)=>a.jsxRuntimeExports.jsx("li",{ref:t,className:i.cn("",e),...n}));u.displayName="PaginationItem";const o=({className:e,isActive:n,size:t="icon",...s})=>a.jsxRuntimeExports.jsx("a",{"aria-current":n?"page":void 0,className:i.cn(j.buttonVariants({variant:n?"outline":"ghost",size:t}),e),...s});o.displayName="PaginationLink";const x=({className:e,...n})=>a.jsxRuntimeExports.jsxs(o,{"aria-label":"Go to previous page",size:"default",className:i.cn("gap-1 pl-2.5",e),...n,children:[a.jsxRuntimeExports.jsx(a.ChevronLeft,{className:"h-4 w-4"}),a.jsxRuntimeExports.jsx("span",{children:"Previous"})]});x.displayName="PaginationPrevious";const p=({className:e,...n})=>a.jsxRuntimeExports.jsxs(o,{"aria-label":"Go to next page",size:"default",className:i.cn("gap-1 pr-2.5",e),...n,children:[a.jsxRuntimeExports.jsx("span",{children:"Next"}),a.jsxRuntimeExports.jsx(a.ChevronRight,{className:"h-4 w-4"})]});p.displayName="PaginationNext";const m=({className:e,...n})=>a.jsxRuntimeExports.jsxs("span",{"aria-hidden":!0,className:i.cn("flex h-9 w-9 items-center justify-center",e),...n,children:[a.jsxRuntimeExports.jsx(a.Ellipsis,{className:"h-4 w-4"}),a.jsxRuntimeExports.jsx("span",{className:"sr-only",children:"More pages"})]});m.displayName="PaginationEllipsis";exports.Pagination=l;exports.PaginationContent=c;exports.PaginationEllipsis=m;exports.PaginationItem=u;exports.PaginationLink=o;exports.PaginationNext=p;exports.PaginationPrevious=x;
2
2
  //# sourceMappingURL=pagination.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"pagination.cjs.js","sources":["../packages/ui-web/src/pagination.tsx"],"sourcesContent":["import { ChevronLeft, ChevronRight, MoreHorizontal } from 'lucide-react';\nimport * as React from 'react';\n\nimport {\n PaginationBaseProps,\n PaginationContentBaseProps,\n PaginationEllipsisBaseProps,\n PaginationItemBaseProps,\n PaginationLinkBaseProps,\n PaginationNextBaseProps,\n PaginationPreviousBaseProps,\n} from '@gv-tech/ui-core';\nimport { ButtonProps, buttonVariants } from './button';\nimport { cn } from './lib/utils';\n\nconst Pagination = ({ className, ...props }: React.ComponentProps<'nav'> & PaginationBaseProps) => (\n <nav\n role=\"navigation\"\n aria-label=\"pagination\"\n className={cn('mx-auto flex w-full justify-center', className)}\n {...props}\n />\n);\nPagination.displayName = 'Pagination';\n\nconst PaginationContent = React.forwardRef<HTMLUListElement, React.ComponentProps<'ul'> & PaginationContentBaseProps>(\n ({ className, ...props }, ref) => (\n <ul ref={ref} className={cn('flex flex-row items-center gap-1', className)} {...props} />\n ),\n);\nPaginationContent.displayName = 'PaginationContent';\n\nconst PaginationItem = React.forwardRef<HTMLLIElement, React.ComponentProps<'li'> & PaginationItemBaseProps>(\n ({ className, ...props }, ref) => <li ref={ref} className={cn('', className)} {...props} />,\n);\nPaginationItem.displayName = 'PaginationItem';\n\ntype PaginationLinkProps = {\n isActive?: boolean;\n} & Pick<ButtonProps, 'size'> &\n React.ComponentProps<'a'> &\n PaginationLinkBaseProps;\n\nconst PaginationLink = ({ className, isActive, size = 'icon', ...props }: PaginationLinkProps) => (\n <a\n aria-current={isActive ? 'page' : undefined}\n className={cn(\n buttonVariants({\n variant: isActive ? 'outline' : 'ghost',\n size,\n }),\n className,\n )}\n {...props}\n />\n);\nPaginationLink.displayName = 'PaginationLink';\n\nconst PaginationPrevious = ({\n className,\n ...props\n}: React.ComponentProps<typeof PaginationLink> & PaginationPreviousBaseProps) => (\n <PaginationLink aria-label=\"Go to previous page\" size=\"default\" className={cn('gap-1 pl-2.5', className)} {...props}>\n <ChevronLeft className=\"h-4 w-4\" />\n <span>Previous</span>\n </PaginationLink>\n);\nPaginationPrevious.displayName = 'PaginationPrevious';\n\nconst PaginationNext = ({\n className,\n ...props\n}: React.ComponentProps<typeof PaginationLink> & PaginationNextBaseProps) => (\n <PaginationLink aria-label=\"Go to next page\" size=\"default\" className={cn('gap-1 pr-2.5', className)} {...props}>\n <span>Next</span>\n <ChevronRight className=\"h-4 w-4\" />\n </PaginationLink>\n);\nPaginationNext.displayName = 'PaginationNext';\n\nconst PaginationEllipsis = ({ className, ...props }: React.ComponentProps<'span'> & PaginationEllipsisBaseProps) => (\n <span aria-hidden className={cn('flex h-9 w-9 items-center justify-center', className)} {...props}>\n <MoreHorizontal className=\"h-4 w-4\" />\n <span className=\"sr-only\">More pages</span>\n </span>\n);\nPaginationEllipsis.displayName = 'PaginationEllipsis';\n\nexport {\n Pagination,\n PaginationContent,\n PaginationEllipsis,\n PaginationItem,\n PaginationLink,\n PaginationNext,\n PaginationPrevious,\n};\n\nexport type {\n PaginationContentBaseProps as PaginationContentProps,\n PaginationEllipsisBaseProps as PaginationEllipsisProps,\n PaginationItemBaseProps as PaginationItemProps,\n PaginationLinkProps,\n PaginationNextBaseProps as PaginationNextProps,\n PaginationPreviousBaseProps as PaginationPreviousProps,\n PaginationBaseProps as PaginationProps,\n};\n"],"names":["Pagination","className","props","jsx","cn","PaginationContent","React","ref","PaginationItem","PaginationLink","isActive","size","buttonVariants","PaginationPrevious","jsxs","ChevronLeft","PaginationNext","ChevronRight","PaginationEllipsis","MoreHorizontal"],"mappings":"meAeMA,EAAa,CAAC,CAAE,UAAAC,EAAW,GAAGC,KAClCC,EAAAA,kBAAAA,IAAC,MAAA,CACC,KAAK,aACL,aAAW,aACX,UAAWC,EAAAA,GAAG,qCAAsCH,CAAS,EAC5D,GAAGC,CAAA,CACN,EAEFF,EAAW,YAAc,aAEzB,MAAMK,EAAoBC,EAAM,WAC9B,CAAC,CAAE,UAAAL,EAAW,GAAGC,CAAA,EAASK,IACxBJ,EAAAA,kBAAAA,IAAC,KAAA,CAAG,IAAAI,EAAU,UAAWH,EAAAA,GAAG,mCAAoCH,CAAS,EAAI,GAAGC,CAAA,CAAO,CAE3F,EACAG,EAAkB,YAAc,oBAEhC,MAAMG,EAAiBF,EAAM,WAC3B,CAAC,CAAE,UAAAL,EAAW,GAAGC,CAAA,EAASK,IAAQJ,EAAAA,kBAAAA,IAAC,KAAA,CAAG,IAAAI,EAAU,UAAWH,EAAAA,GAAG,GAAIH,CAAS,EAAI,GAAGC,CAAA,CAAO,CAC3F,EACAM,EAAe,YAAc,iBAQ7B,MAAMC,EAAiB,CAAC,CAAE,UAAAR,EAAW,SAAAS,EAAU,KAAAC,EAAO,OAAQ,GAAGT,CAAA,IAC/DC,EAAAA,kBAAAA,IAAC,IAAA,CACC,eAAcO,EAAW,OAAS,OAClC,UAAWN,EAAAA,GACTQ,iBAAe,CACb,QAASF,EAAW,UAAY,QAChC,KAAAC,CAAA,CACD,EACDV,CAAA,EAED,GAAGC,CAAA,CACN,EAEFO,EAAe,YAAc,iBAE7B,MAAMI,EAAqB,CAAC,CAC1B,UAAAZ,EACA,GAAGC,CACL,IACEY,EAAAA,kBAAAA,KAACL,EAAA,CAAe,aAAW,sBAAsB,KAAK,UAAU,UAAWL,EAAAA,GAAG,eAAgBH,CAAS,EAAI,GAAGC,EAC5G,SAAA,CAAAC,EAAAA,kBAAAA,IAACY,EAAAA,YAAA,CAAY,UAAU,SAAA,CAAU,EACjCZ,EAAAA,kBAAAA,IAAC,QAAK,SAAA,UAAA,CAAQ,CAAA,CAAA,CAChB,EAEFU,EAAmB,YAAc,qBAEjC,MAAMG,EAAiB,CAAC,CACtB,UAAAf,EACA,GAAGC,CACL,IACEY,EAAAA,kBAAAA,KAACL,EAAA,CAAe,aAAW,kBAAkB,KAAK,UAAU,UAAWL,EAAAA,GAAG,eAAgBH,CAAS,EAAI,GAAGC,EACxG,SAAA,CAAAC,EAAAA,kBAAAA,IAAC,QAAK,SAAA,MAAA,CAAI,EACVA,EAAAA,kBAAAA,IAACc,EAAAA,aAAA,CAAa,UAAU,SAAA,CAAU,CAAA,CAAA,CACpC,EAEFD,EAAe,YAAc,iBAE7B,MAAME,EAAqB,CAAC,CAAE,UAAAjB,EAAW,GAAGC,KAC1CY,EAAAA,kBAAAA,KAAC,OAAA,CAAK,cAAW,GAAC,UAAWV,EAAAA,GAAG,2CAA4CH,CAAS,EAAI,GAAGC,EAC1F,SAAA,CAAAC,EAAAA,kBAAAA,IAACgB,EAAAA,SAAA,CAAe,UAAU,SAAA,CAAU,EACpChB,EAAAA,kBAAAA,IAAC,OAAA,CAAK,UAAU,UAAU,SAAA,YAAA,CAAU,CAAA,CAAA,CACtC,EAEFe,EAAmB,YAAc"}
1
+ {"version":3,"file":"pagination.cjs.js","sources":["../packages/ui-web/src/pagination.tsx"],"sourcesContent":["'use client';\nimport { ChevronLeft, ChevronRight, MoreHorizontal } from 'lucide-react';\nimport * as React from 'react';\n\nimport {\n PaginationBaseProps,\n PaginationContentBaseProps,\n PaginationEllipsisBaseProps,\n PaginationItemBaseProps,\n PaginationLinkBaseProps,\n PaginationNextBaseProps,\n PaginationPreviousBaseProps,\n} from '@gv-tech/ui-core';\nimport { ButtonProps, buttonVariants } from './button';\nimport { cn } from './lib/utils';\n\nconst Pagination = ({ className, ...props }: React.ComponentProps<'nav'> & PaginationBaseProps) => (\n <nav\n role=\"navigation\"\n aria-label=\"pagination\"\n className={cn('mx-auto flex w-full justify-center', className)}\n {...props}\n />\n);\nPagination.displayName = 'Pagination';\n\nconst PaginationContent = React.forwardRef<HTMLUListElement, React.ComponentProps<'ul'> & PaginationContentBaseProps>(\n ({ className, ...props }, ref) => (\n <ul ref={ref} className={cn('flex flex-row items-center gap-1', className)} {...props} />\n ),\n);\nPaginationContent.displayName = 'PaginationContent';\n\nconst PaginationItem = React.forwardRef<HTMLLIElement, React.ComponentProps<'li'> & PaginationItemBaseProps>(\n ({ className, ...props }, ref) => <li ref={ref} className={cn('', className)} {...props} />,\n);\nPaginationItem.displayName = 'PaginationItem';\n\ntype PaginationLinkProps = {\n isActive?: boolean;\n} & Pick<ButtonProps, 'size'> &\n React.ComponentProps<'a'> &\n PaginationLinkBaseProps;\n\nconst PaginationLink = ({ className, isActive, size = 'icon', ...props }: PaginationLinkProps) => (\n <a\n aria-current={isActive ? 'page' : undefined}\n className={cn(\n buttonVariants({\n variant: isActive ? 'outline' : 'ghost',\n size,\n }),\n className,\n )}\n {...props}\n />\n);\nPaginationLink.displayName = 'PaginationLink';\n\nconst PaginationPrevious = ({\n className,\n ...props\n}: React.ComponentProps<typeof PaginationLink> & PaginationPreviousBaseProps) => (\n <PaginationLink aria-label=\"Go to previous page\" size=\"default\" className={cn('gap-1 pl-2.5', className)} {...props}>\n <ChevronLeft className=\"h-4 w-4\" />\n <span>Previous</span>\n </PaginationLink>\n);\nPaginationPrevious.displayName = 'PaginationPrevious';\n\nconst PaginationNext = ({\n className,\n ...props\n}: React.ComponentProps<typeof PaginationLink> & PaginationNextBaseProps) => (\n <PaginationLink aria-label=\"Go to next page\" size=\"default\" className={cn('gap-1 pr-2.5', className)} {...props}>\n <span>Next</span>\n <ChevronRight className=\"h-4 w-4\" />\n </PaginationLink>\n);\nPaginationNext.displayName = 'PaginationNext';\n\nconst PaginationEllipsis = ({ className, ...props }: React.ComponentProps<'span'> & PaginationEllipsisBaseProps) => (\n <span aria-hidden className={cn('flex h-9 w-9 items-center justify-center', className)} {...props}>\n <MoreHorizontal className=\"h-4 w-4\" />\n <span className=\"sr-only\">More pages</span>\n </span>\n);\nPaginationEllipsis.displayName = 'PaginationEllipsis';\n\nexport {\n Pagination,\n PaginationContent,\n PaginationEllipsis,\n PaginationItem,\n PaginationLink,\n PaginationNext,\n PaginationPrevious,\n};\n\nexport type {\n PaginationContentBaseProps as PaginationContentProps,\n PaginationEllipsisBaseProps as PaginationEllipsisProps,\n PaginationItemBaseProps as PaginationItemProps,\n PaginationLinkProps,\n PaginationNextBaseProps as PaginationNextProps,\n PaginationPreviousBaseProps as PaginationPreviousProps,\n PaginationBaseProps as PaginationProps,\n};\n"],"names":["Pagination","className","props","jsx","cn","PaginationContent","React","ref","PaginationItem","PaginationLink","isActive","size","buttonVariants","PaginationPrevious","jsxs","ChevronLeft","PaginationNext","ChevronRight","PaginationEllipsis","MoreHorizontal"],"mappings":"gfAgBMA,EAAa,CAAC,CAAE,UAAAC,EAAW,GAAGC,KAClCC,EAAAA,kBAAAA,IAAC,MAAA,CACC,KAAK,aACL,aAAW,aACX,UAAWC,EAAAA,GAAG,qCAAsCH,CAAS,EAC5D,GAAGC,CAAA,CACN,EAEFF,EAAW,YAAc,aAEzB,MAAMK,EAAoBC,EAAM,WAC9B,CAAC,CAAE,UAAAL,EAAW,GAAGC,CAAA,EAASK,IACxBJ,EAAAA,kBAAAA,IAAC,KAAA,CAAG,IAAAI,EAAU,UAAWH,EAAAA,GAAG,mCAAoCH,CAAS,EAAI,GAAGC,CAAA,CAAO,CAE3F,EACAG,EAAkB,YAAc,oBAEhC,MAAMG,EAA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GAAGC,KAC1CY,EAAAA,kBAAAA,KAAC,OAAA,CAAK,cAAW,GAAC,UAAWV,EAAAA,GAAG,2CAA4CH,CAAS,EAAI,GAAGC,EAC1F,SAAA,CAAAC,EAAAA,kBAAAA,IAACgB,EAAAA,SAAA,CAAe,UAAU,SAAA,CAAU,EACpChB,EAAAA,kBAAAA,IAAC,OAAA,CAAK,UAAU,UAAU,SAAA,YAAA,CAAU,CAAA,CAAA,CACtC,EAEFe,EAAmB,YAAc"}
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { j as i, E as r, l as c, o as m } from "./vendor-DxBXMLEx.mjs";
2
3
  import * as o from "react";
3
4
  import { buttonVariants as p } from "./button.es.js";
@@ -1 +1 @@
1
- {"version":3,"file":"pagination.es.js","sources":["../packages/ui-web/src/pagination.tsx"],"sourcesContent":["import { ChevronLeft, ChevronRight, MoreHorizontal } from 'lucide-react';\nimport * as React from 'react';\n\nimport {\n PaginationBaseProps,\n PaginationContentBaseProps,\n PaginationEllipsisBaseProps,\n PaginationItemBaseProps,\n PaginationLinkBaseProps,\n PaginationNextBaseProps,\n PaginationPreviousBaseProps,\n} from '@gv-tech/ui-core';\nimport { ButtonProps, buttonVariants } from './button';\nimport { cn } from './lib/utils';\n\nconst Pagination = ({ className, ...props }: React.ComponentProps<'nav'> & PaginationBaseProps) => (\n <nav\n role=\"navigation\"\n aria-label=\"pagination\"\n className={cn('mx-auto flex w-full justify-center', className)}\n {...props}\n />\n);\nPagination.displayName = 'Pagination';\n\nconst PaginationContent = React.forwardRef<HTMLUListElement, React.ComponentProps<'ul'> & PaginationContentBaseProps>(\n ({ className, ...props }, ref) => (\n <ul ref={ref} className={cn('flex flex-row items-center gap-1', className)} {...props} />\n ),\n);\nPaginationContent.displayName = 'PaginationContent';\n\nconst PaginationItem = React.forwardRef<HTMLLIElement, React.ComponentProps<'li'> & PaginationItemBaseProps>(\n ({ className, ...props }, ref) => <li ref={ref} className={cn('', className)} {...props} />,\n);\nPaginationItem.displayName = 'PaginationItem';\n\ntype PaginationLinkProps = {\n isActive?: boolean;\n} & Pick<ButtonProps, 'size'> &\n React.ComponentProps<'a'> &\n PaginationLinkBaseProps;\n\nconst PaginationLink = ({ className, isActive, size = 'icon', ...props }: PaginationLinkProps) => (\n <a\n aria-current={isActive ? 'page' : undefined}\n className={cn(\n buttonVariants({\n variant: isActive ? 'outline' : 'ghost',\n size,\n }),\n className,\n )}\n {...props}\n />\n);\nPaginationLink.displayName = 'PaginationLink';\n\nconst PaginationPrevious = ({\n className,\n ...props\n}: React.ComponentProps<typeof PaginationLink> & PaginationPreviousBaseProps) => (\n <PaginationLink aria-label=\"Go to previous page\" size=\"default\" className={cn('gap-1 pl-2.5', className)} {...props}>\n <ChevronLeft className=\"h-4 w-4\" />\n <span>Previous</span>\n </PaginationLink>\n);\nPaginationPrevious.displayName = 'PaginationPrevious';\n\nconst PaginationNext = ({\n className,\n ...props\n}: React.ComponentProps<typeof PaginationLink> & PaginationNextBaseProps) => (\n <PaginationLink aria-label=\"Go to next page\" size=\"default\" className={cn('gap-1 pr-2.5', className)} {...props}>\n <span>Next</span>\n <ChevronRight className=\"h-4 w-4\" />\n </PaginationLink>\n);\nPaginationNext.displayName = 'PaginationNext';\n\nconst PaginationEllipsis = ({ className, ...props }: React.ComponentProps<'span'> & PaginationEllipsisBaseProps) => (\n <span aria-hidden className={cn('flex h-9 w-9 items-center justify-center', className)} {...props}>\n <MoreHorizontal className=\"h-4 w-4\" />\n <span className=\"sr-only\">More pages</span>\n </span>\n);\nPaginationEllipsis.displayName = 'PaginationEllipsis';\n\nexport {\n Pagination,\n PaginationContent,\n PaginationEllipsis,\n PaginationItem,\n PaginationLink,\n PaginationNext,\n PaginationPrevious,\n};\n\nexport type {\n PaginationContentBaseProps as PaginationContentProps,\n PaginationEllipsisBaseProps as PaginationEllipsisProps,\n PaginationItemBaseProps as PaginationItemProps,\n PaginationLinkProps,\n PaginationNextBaseProps as PaginationNextProps,\n PaginationPreviousBaseProps as PaginationPreviousProps,\n PaginationBaseProps as PaginationProps,\n};\n"],"names":["Pagination","className","props","jsx","cn","PaginationContent","React","ref","PaginationItem","PaginationLink","isActive","size","buttonVariants","PaginationPrevious","jsxs","ChevronLeft","PaginationNext","ChevronRight","PaginationEllipsis","MoreHorizontal"],"mappings":";;;;AAeA,MAAMA,IAAa,CAAC,EAAE,WAAAC,GAAW,GAAGC,QAClCC,gBAAAA,EAAAA;AAAAA,EAAC;AAAA,EAAA;AAAA,IACC,MAAK;AAAA,IACL,cAAW;AAAA,IACX,WAAWC,EAAG,sCAAsCH,CAAS;AAAA,IAC5D,GAAGC;AAAA,EAAA;AACN;AAEFF,EAAW,cAAc;AAEzB,MAAMK,IAAoBC,EAAM;AAAA,EAC9B,CAAC,EAAE,WAAAL,GAAW,GAAGC,EAAA,GAASK,MACxBJ,gBAAAA,EAAAA,IAAC,MAAA,EAAG,KAAAI,GAAU,WAAWH,EAAG,oCAAoCH,CAAS,GAAI,GAAGC,EAAA,CAAO;AAE3F;AACAG,EAAkB,cAAc;AAEhC,MAAMG,IAAiBF,EAAM;AAAA,EAC3B,CAAC,EAAE,WAAAL,GAAW,GAAGC,EAAA,GAASK,MAAQJ,gBAAAA,EAAAA,IAAC,MAAA,EAAG,KAAAI,GAAU,WAAWH,EAAG,IAAIH,CAAS,GAAI,GAAGC,EAAA,CAAO;AAC3F;AACAM,EAAe,cAAc;AAQ7B,MAAMC,IAAiB,CAAC,EAAE,WAAAR,GAAW,UAAAS,GAAU,MAAAC,IAAO,QAAQ,GAAGT,EAAA,MAC/DC,gBAAAA,EAAAA;AAAAA,EAAC;AAAA,EAAA;AAAA,IACC,gBAAcO,IAAW,SAAS;AAAA,IAClC,WAAWN;AAAA,MACTQ,EAAe;AAAA,QACb,SAASF,IAAW,YAAY;AAAA,QAChC,MAAAC;AAAA,MAAA,CACD;AAAA,MACDV;AAAA,IAAA;AAAA,IAED,GAAGC;AAAA,EAAA;AACN;AAEFO,EAAe,cAAc;AAE7B,MAAMI,IAAqB,CAAC;AAAA,EAC1B,WAAAZ;AAAA,EACA,GAAGC;AACL,MACEY,gBAAAA,EAAAA,KAACL,GAAA,EAAe,cAAW,uBAAsB,MAAK,WAAU,WAAWL,EAAG,gBAAgBH,CAAS,GAAI,GAAGC,GAC5G,UAAA;AAAA,EAAAC,gBAAAA,EAAAA,IAACY,GAAA,EAAY,WAAU,UAAA,CAAU;AAAA,EACjCZ,gBAAAA,EAAAA,IAAC,UAAK,UAAA,WAAA,CAAQ;AAAA,EAAA,CAChB;AAEFU,EAAmB,cAAc;AAEjC,MAAMG,IAAiB,CAAC;AAAA,EACtB,WAAAf;AAAA,EACA,GAAGC;AACL,MACEY,gBAAAA,EAAAA,KAACL,GAAA,EAAe,cAAW,mBAAkB,MAAK,WAAU,WAAWL,EAAG,gBAAgBH,CAAS,GAAI,GAAGC,GACxG,UAAA;AAAA,EAAAC,gBAAAA,EAAAA,IAAC,UAAK,UAAA,OAAA,CAAI;AAAA,EACVA,gBAAAA,EAAAA,IAACc,GAAA,EAAa,WAAU,UAAA,CAAU;AAAA,EAAA,CACpC;AAEFD,EAAe,cAAc;AAE7B,MAAME,IAAqB,CAAC,EAAE,WAAAjB,GAAW,GAAGC,QAC1CY,gBAAAA,EAAAA,KAAC,QAAA,EAAK,eAAW,IAAC,WAAWV,EAAG,4CAA4CH,CAAS,GAAI,GAAGC,GAC1F,UAAA;AAAA,EAAAC,gBAAAA,EAAAA,IAACgB,GAAA,EAAe,WAAU,UAAA,CAAU;AAAA,EACpChB,gBAAAA,EAAAA,IAAC,QAAA,EAAK,WAAU,WAAU,UAAA,aAAA,CAAU;AAAA,EAAA,CACtC;AAEFe,EAAmB,cAAc;"}
1
+ {"version":3,"file":"pagination.es.js","sources":["../packages/ui-web/src/pagination.tsx"],"sourcesContent":["'use client';\nimport { ChevronLeft, ChevronRight, MoreHorizontal } from 'lucide-react';\nimport * as React from 'react';\n\nimport {\n PaginationBaseProps,\n PaginationContentBaseProps,\n PaginationEllipsisBaseProps,\n PaginationItemBaseProps,\n PaginationLinkBaseProps,\n PaginationNextBaseProps,\n PaginationPreviousBaseProps,\n} from '@gv-tech/ui-core';\nimport { ButtonProps, buttonVariants } from './button';\nimport { cn } from './lib/utils';\n\nconst Pagination = ({ className, ...props }: React.ComponentProps<'nav'> & PaginationBaseProps) => (\n <nav\n role=\"navigation\"\n aria-label=\"pagination\"\n className={cn('mx-auto flex w-full justify-center', className)}\n {...props}\n />\n);\nPagination.displayName = 'Pagination';\n\nconst PaginationContent = React.forwardRef<HTMLUListElement, React.ComponentProps<'ul'> & PaginationContentBaseProps>(\n ({ className, ...props }, ref) => (\n <ul ref={ref} className={cn('flex flex-row items-center gap-1', className)} {...props} />\n ),\n);\nPaginationContent.displayName = 'PaginationContent';\n\nconst PaginationItem = React.forwardRef<HTMLLIElement, React.ComponentProps<'li'> & PaginationItemBaseProps>(\n ({ className, ...props }, ref) => <li ref={ref} className={cn('', className)} {...props} />,\n);\nPaginationItem.displayName = 'PaginationItem';\n\ntype PaginationLinkProps = {\n isActive?: boolean;\n} & Pick<ButtonProps, 'size'> &\n React.ComponentProps<'a'> &\n PaginationLinkBaseProps;\n\nconst PaginationLink = ({ className, isActive, size = 'icon', ...props }: PaginationLinkProps) => (\n <a\n aria-current={isActive ? 'page' : undefined}\n className={cn(\n buttonVariants({\n variant: isActive ? 'outline' : 'ghost',\n size,\n }),\n className,\n )}\n {...props}\n />\n);\nPaginationLink.displayName = 'PaginationLink';\n\nconst PaginationPrevious = ({\n className,\n ...props\n}: React.ComponentProps<typeof PaginationLink> & PaginationPreviousBaseProps) => (\n <PaginationLink aria-label=\"Go to previous page\" size=\"default\" className={cn('gap-1 pl-2.5', className)} {...props}>\n <ChevronLeft className=\"h-4 w-4\" />\n <span>Previous</span>\n </PaginationLink>\n);\nPaginationPrevious.displayName = 'PaginationPrevious';\n\nconst PaginationNext = ({\n className,\n ...props\n}: React.ComponentProps<typeof PaginationLink> & PaginationNextBaseProps) => (\n <PaginationLink aria-label=\"Go to next page\" size=\"default\" className={cn('gap-1 pr-2.5', className)} {...props}>\n <span>Next</span>\n <ChevronRight className=\"h-4 w-4\" />\n </PaginationLink>\n);\nPaginationNext.displayName = 'PaginationNext';\n\nconst PaginationEllipsis = ({ className, ...props }: React.ComponentProps<'span'> & PaginationEllipsisBaseProps) => (\n <span aria-hidden className={cn('flex h-9 w-9 items-center justify-center', className)} {...props}>\n <MoreHorizontal className=\"h-4 w-4\" />\n <span className=\"sr-only\">More pages</span>\n </span>\n);\nPaginationEllipsis.displayName = 'PaginationEllipsis';\n\nexport {\n Pagination,\n PaginationContent,\n PaginationEllipsis,\n PaginationItem,\n PaginationLink,\n PaginationNext,\n PaginationPrevious,\n};\n\nexport type {\n PaginationContentBaseProps as PaginationContentProps,\n PaginationEllipsisBaseProps as PaginationEllipsisProps,\n PaginationItemBaseProps as PaginationItemProps,\n PaginationLinkProps,\n PaginationNextBaseProps as PaginationNextProps,\n PaginationPreviousBaseProps as PaginationPreviousProps,\n PaginationBaseProps as PaginationProps,\n};\n"],"names":["Pagination","className","props","jsx","cn","PaginationContent","React","ref","PaginationItem","PaginationLink","isActive","size","buttonVariants","PaginationPrevious","jsxs","ChevronLeft","PaginationNext","ChevronRight","PaginationEllipsis","MoreHorizontal"],"mappings":";;;;;AAgBA,MAAMA,IAAa,CAAC,EAAE,WAAAC,GAAW,GAAGC,QAClCC,gBAAAA,EAAAA;AAAAA,EAAC;AAAA,EAAA;AAAA,IACC,MAAK;AAAA,IACL,cAAW;AAAA,IACX,WAAWC,EAAG,sCAAsCH,CAAS;AAAA,IAC5D,GAAGC;AAAA,EAAA;AACN;AAEFF,EAAW,cAAc;AAEzB,MAAMK,IAAoBC,EAAM;AAAA,EAC9B,CAAC,EAAE,WAAAL,GAAW,GAAGC,EAAA,GAASK,MACxBJ,gBAAAA,EAAAA,IAAC,MAAA,EAAG,KAAAI,GAAU,WAAWH,EAAG,oCAAoCH,CAAS,GAAI,GAAGC,EAAA,CAAO;AAE3F;AACAG,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AAA,EAAa,WAAU,UAAA,CAAU;AAAA,EAAA,CACpC;AAEFD,EAAe,cAAc;AAE7B,MAAME,IAAqB,CAAC,EAAE,WAAAjB,GAAW,GAAGC,QAC1CY,gBAAAA,EAAAA,KAAC,QAAA,EAAK,eAAW,IAAC,WAAWV,EAAG,4CAA4CH,CAAS,GAAI,GAAGC,GAC1F,UAAA;AAAA,EAAAC,gBAAAA,EAAAA,IAACgB,GAAA,EAAe,WAAU,UAAA,CAAU;AAAA,EACpChB,gBAAAA,EAAAA,IAAC,QAAA,EAAK,WAAU,WAAU,UAAA,aAAA,CAAU;AAAA,EAAA,CACtC;AAEFe,EAAmB,cAAc;"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./vendor-DQFuDa7q.js"),s=require("react"),d=require("./utils-DKStzUzN.js");function c(t){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const o in t)if(o!=="default"){const n=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(r,o,n.get?n:{enumerable:!0,get:()=>t[o]})}}return r.default=t,Object.freeze(r)}const p=c(s),l=e.Root2$5,u=e.Trigger$4,m=e.Anchor2,a=p.forwardRef(({className:t,align:r="center",sideOffset:o=4,...n},i)=>e.jsxRuntimeExports.jsx(e.Portal,{children:e.jsxRuntimeExports.jsx(e.Content2$5,{ref:i,align:r,sideOffset:o,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 w-72 origin-[--radix-popover-content-transform-origin] rounded-md border p-4 shadow-md outline-none",t),...n})}));a.displayName=e.Content2$5.displayName;exports.Popover=l;exports.PopoverAnchor=m;exports.PopoverContent=a;exports.PopoverTrigger=u;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./vendor-DQFuDa7q.js"),s=require("react"),d=require("./utils-DKStzUzN.js");function c(t){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const o in t)if(o!=="default"){const n=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(r,o,n.get?n:{enumerable:!0,get:()=>t[o]})}}return r.default=t,Object.freeze(r)}const p=c(s),l=e.Root2$5,u=e.Trigger$4,m=e.Anchor2,a=p.forwardRef(({className:t,align:r="center",sideOffset:o=4,...n},i)=>e.jsxRuntimeExports.jsx(e.Portal,{children:e.jsxRuntimeExports.jsx(e.Content2$5,{ref:i,align:r,sideOffset:o,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 w-72 origin-[--radix-popover-content-transform-origin] rounded-md border p-4 shadow-md outline-none",t),...n})}));a.displayName=e.Content2$5.displayName;exports.Popover=l;exports.PopoverAnchor=m;exports.PopoverContent=a;exports.PopoverTrigger=u;
2
2
  //# sourceMappingURL=popover.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"popover.cjs.js","sources":["../packages/ui-web/src/popover.tsx"],"sourcesContent":["'use client';\n\nimport * as PopoverPrimitive from '@radix-ui/react-popover';\nimport * as React from 'react';\n\nimport {\n PopoverAnchorBaseProps,\n PopoverBaseProps,\n PopoverContentBaseProps,\n PopoverTriggerBaseProps,\n} from '@gv-tech/ui-core';\nimport { cn } from './lib/utils';\n\nconst Popover = PopoverPrimitive.Root;\n\nconst PopoverTrigger = PopoverPrimitive.Trigger;\n\nconst PopoverAnchor = PopoverPrimitive.Anchor;\n\nconst PopoverContent = React.forwardRef<\n React.ElementRef<typeof PopoverPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content> & PopoverContentBaseProps\n>(({ className, align = 'center', sideOffset = 4, ...props }, ref) => (\n <PopoverPrimitive.Portal>\n <PopoverPrimitive.Content\n ref={ref}\n align={align}\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 w-72 origin-[--radix-popover-content-transform-origin] rounded-md border p-4 shadow-md outline-none',\n className,\n )}\n {...props}\n />\n </PopoverPrimitive.Portal>\n));\nPopoverContent.displayName = PopoverPrimitive.Content.displayName;\n\nexport { Popover, PopoverAnchor, PopoverContent, PopoverTrigger };\nexport type {\n PopoverAnchorBaseProps as PopoverAnchorProps,\n PopoverContentBaseProps as PopoverContentProps,\n PopoverBaseProps as PopoverProps,\n PopoverTriggerBaseProps as PopoverTriggerProps,\n};\n"],"names":["Popover","PopoverPrimitive.Root","PopoverTrigger","PopoverPrimitive.Trigger","PopoverAnchor","PopoverPrimitive.Anchor","PopoverContent","React","className","align","sideOffset","props","ref","jsx","PopoverPrimitive.Portal","PopoverPrimitive.Content","cn"],"mappings":"scAaMA,EAAUC,EAAAA,QAEVC,EAAiBC,EAAAA,UAEjBC,EAAgBC,EAAAA,QAEhBC,EAAiBC,EAAM,WAG3B,CAAC,CAAE,UAAAC,EAAW,MAAAC,EAAQ,SAAU,WAAAC,EAAa,EAAG,GAAGC,CAAA,EAASC,IAC5DC,EAAAA,kBAAAA,IAACC,EAAAA,OAAA,CACC,SAAAD,EAAAA,kBAAAA,IAACE,EAAAA,WAAA,CACC,IAAAH,EACA,MAAAH,EACA,WAAAC,EACA,UAAWM,EAAAA,GACT,+dACAR,CAAA,EAED,GAAGG,CAAA,CACN,EACF,CACD,EACDL,EAAe,YAAcS,EAAAA,WAAyB"}
1
+ {"version":3,"file":"popover.cjs.js","sources":["../packages/ui-web/src/popover.tsx"],"sourcesContent":["'use client';\n\nimport * as PopoverPrimitive from '@radix-ui/react-popover';\nimport * as React from 'react';\n\nimport {\n PopoverAnchorBaseProps,\n PopoverBaseProps,\n PopoverContentBaseProps,\n PopoverTriggerBaseProps,\n} from '@gv-tech/ui-core';\nimport { cn } from './lib/utils';\n\nconst Popover = PopoverPrimitive.Root;\n\nconst PopoverTrigger = PopoverPrimitive.Trigger;\n\nconst PopoverAnchor = PopoverPrimitive.Anchor;\n\nconst PopoverContent = React.forwardRef<\n React.ElementRef<typeof PopoverPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content> & PopoverContentBaseProps\n>(({ className, align = 'center', sideOffset = 4, ...props }, ref) => (\n <PopoverPrimitive.Portal>\n <PopoverPrimitive.Content\n ref={ref}\n align={align}\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 w-72 origin-[--radix-popover-content-transform-origin] rounded-md border p-4 shadow-md outline-none',\n className,\n )}\n {...props}\n />\n </PopoverPrimitive.Portal>\n));\nPopoverContent.displayName = PopoverPrimitive.Content.displayName;\n\nexport { Popover, PopoverAnchor, PopoverContent, PopoverTrigger };\nexport type {\n PopoverAnchorBaseProps as PopoverAnchorProps,\n PopoverContentBaseProps as PopoverContentProps,\n PopoverBaseProps as PopoverProps,\n PopoverTriggerBaseProps as PopoverTriggerProps,\n};\n"],"names":["Popover","PopoverPrimitive.Root","PopoverTrigger","PopoverPrimitive.Trigger","PopoverAnchor","PopoverPrimitive.Anchor","PopoverContent","React","className","align","sideOffset","props","ref","jsx","PopoverPrimitive.Portal","PopoverPrimitive.Content","cn"],"mappings":"mdAaMA,EAAUC,EAAAA,QAEVC,EAAiBC,EAAAA,UAEjBC,EAAgBC,EAAAA,QAEhBC,EAAiBC,EAAM,WAG3B,CAAC,CAAE,UAAAC,EAAW,MAAAC,EAAQ,SAAU,WAAAC,EAAa,EAAG,GAAGC,CAAA,EAASC,IAC5DC,EAAAA,kBAAAA,IAACC,EAAAA,OAAA,CACC,SAAAD,EAAAA,kBAAAA,IAACE,EAAAA,WAAA,CACC,IAAAH,EACA,MAAAH,EACA,WAAAC,EACA,UAAWM,EAAAA,GACT,+dACAR,CAAA,EAED,GAAGG,CAAA,CACN,EACF,CACD,EACDL,EAAe,YAAcS,EAAAA,WAAyB"}
@@ -1,24 +1,25 @@
1
+ "use client";
1
2
  import { j as o, ax as d, ay as t, az as i, aA as m, aB as p } from "./vendor-DxBXMLEx.mjs";
2
3
  import * as c from "react";
3
- import { c as f } from "./utils-Dk-Gx69q.mjs";
4
- const u = i, v = p, h = m, l = c.forwardRef(({ className: a, align: e = "center", sideOffset: r = 4, ...s }, n) => /* @__PURE__ */ o.jsx(d, { children: /* @__PURE__ */ o.jsx(
4
+ import { c as l } from "./utils-Dk-Gx69q.mjs";
5
+ const x = i, v = p, h = m, f = c.forwardRef(({ className: a, align: e = "center", sideOffset: r = 4, ...s }, n) => /* @__PURE__ */ o.jsx(d, { children: /* @__PURE__ */ o.jsx(
5
6
  t,
6
7
  {
7
8
  ref: n,
8
9
  align: e,
9
10
  sideOffset: r,
10
- className: f(
11
+ className: l(
11
12
  "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 w-72 origin-[--radix-popover-content-transform-origin] rounded-md border p-4 shadow-md outline-none",
12
13
  a
13
14
  ),
14
15
  ...s
15
16
  }
16
17
  ) }));
17
- l.displayName = t.displayName;
18
+ f.displayName = t.displayName;
18
19
  export {
19
- u as Popover,
20
+ x as Popover,
20
21
  h as PopoverAnchor,
21
- l as PopoverContent,
22
+ f as PopoverContent,
22
23
  v as PopoverTrigger
23
24
  };
24
25
  //# sourceMappingURL=popover.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"popover.es.js","sources":["../packages/ui-web/src/popover.tsx"],"sourcesContent":["'use client';\n\nimport * as PopoverPrimitive from '@radix-ui/react-popover';\nimport * as React from 'react';\n\nimport {\n PopoverAnchorBaseProps,\n PopoverBaseProps,\n PopoverContentBaseProps,\n PopoverTriggerBaseProps,\n} from '@gv-tech/ui-core';\nimport { cn } from './lib/utils';\n\nconst Popover = PopoverPrimitive.Root;\n\nconst PopoverTrigger = PopoverPrimitive.Trigger;\n\nconst PopoverAnchor = PopoverPrimitive.Anchor;\n\nconst PopoverContent = React.forwardRef<\n React.ElementRef<typeof PopoverPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content> & PopoverContentBaseProps\n>(({ className, align = 'center', sideOffset = 4, ...props }, ref) => (\n <PopoverPrimitive.Portal>\n <PopoverPrimitive.Content\n ref={ref}\n align={align}\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 w-72 origin-[--radix-popover-content-transform-origin] rounded-md border p-4 shadow-md outline-none',\n className,\n )}\n {...props}\n />\n </PopoverPrimitive.Portal>\n));\nPopoverContent.displayName = PopoverPrimitive.Content.displayName;\n\nexport { Popover, PopoverAnchor, PopoverContent, PopoverTrigger };\nexport type {\n PopoverAnchorBaseProps as PopoverAnchorProps,\n PopoverContentBaseProps as PopoverContentProps,\n PopoverBaseProps as PopoverProps,\n PopoverTriggerBaseProps as PopoverTriggerProps,\n};\n"],"names":["Popover","PopoverPrimitive.Root","PopoverTrigger","PopoverPrimitive.Trigger","PopoverAnchor","PopoverPrimitive.Anchor","PopoverContent","React","className","align","sideOffset","props","ref","jsx","PopoverPrimitive.Portal","PopoverPrimitive.Content","cn"],"mappings":";;;AAaA,MAAMA,IAAUC,GAEVC,IAAiBC,GAEjBC,IAAgBC,GAEhBC,IAAiBC,EAAM,WAG3B,CAAC,EAAE,WAAAC,GAAW,OAAAC,IAAQ,UAAU,YAAAC,IAAa,GAAG,GAAGC,EAAA,GAASC,MAC5DC,gBAAAA,EAAAA,IAACC,GAAA,EACC,UAAAD,gBAAAA,EAAAA;AAAAA,EAACE;AAAAA,EAAA;AAAA,IACC,KAAAH;AAAA,IACA,OAAAH;AAAA,IACA,YAAAC;AAAA,IACA,WAAWM;AAAA,MACT;AAAA,MACAR;AAAA,IAAA;AAAA,IAED,GAAGG;AAAA,EAAA;AACN,GACF,CACD;AACDL,EAAe,cAAcS,EAAyB;"}
1
+ {"version":3,"file":"popover.es.js","sources":["../packages/ui-web/src/popover.tsx"],"sourcesContent":["'use client';\n\nimport * as PopoverPrimitive from '@radix-ui/react-popover';\nimport * as React from 'react';\n\nimport {\n PopoverAnchorBaseProps,\n PopoverBaseProps,\n PopoverContentBaseProps,\n PopoverTriggerBaseProps,\n} from '@gv-tech/ui-core';\nimport { cn } from './lib/utils';\n\nconst Popover = PopoverPrimitive.Root;\n\nconst PopoverTrigger = PopoverPrimitive.Trigger;\n\nconst PopoverAnchor = PopoverPrimitive.Anchor;\n\nconst PopoverContent = React.forwardRef<\n React.ElementRef<typeof PopoverPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content> & PopoverContentBaseProps\n>(({ className, align = 'center', sideOffset = 4, ...props }, ref) => (\n <PopoverPrimitive.Portal>\n <PopoverPrimitive.Content\n ref={ref}\n align={align}\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 w-72 origin-[--radix-popover-content-transform-origin] rounded-md border p-4 shadow-md outline-none',\n className,\n )}\n {...props}\n />\n </PopoverPrimitive.Portal>\n));\nPopoverContent.displayName = PopoverPrimitive.Content.displayName;\n\nexport { Popover, PopoverAnchor, PopoverContent, PopoverTrigger };\nexport type {\n PopoverAnchorBaseProps as PopoverAnchorProps,\n PopoverContentBaseProps as PopoverContentProps,\n PopoverBaseProps as PopoverProps,\n PopoverTriggerBaseProps as PopoverTriggerProps,\n};\n"],"names":["Popover","PopoverPrimitive.Root","PopoverTrigger","PopoverPrimitive.Trigger","PopoverAnchor","PopoverPrimitive.Anchor","PopoverContent","React","className","align","sideOffset","props","ref","jsx","PopoverPrimitive.Portal","PopoverPrimitive.Content","cn"],"mappings":";;;;AAaA,MAAMA,IAAUC,GAEVC,IAAiBC,GAEjBC,IAAgBC,GAEhBC,IAAiBC,EAAM,WAG3B,CAAC,EAAE,WAAAC,GAAW,OAAAC,IAAQ,UAAU,YAAAC,IAAa,GAAG,GAAGC,EAAA,GAASC,MAC5DC,gBAAAA,EAAAA,IAACC,GAAA,EACC,UAAAD,gBAAAA,EAAAA;AAAAA,EAACE;AAAAA,EAAA;AAAA,IACC,KAAAH;AAAA,IACA,OAAAH;AAAA,IACA,YAAAC;AAAA,IACA,WAAWM;AAAA,MACT;AAAA,MACAR;AAAA,IAAA;AAAA,IAED,GAAGG;AAAA,EAAA;AACN,GACF,CACD;AACDL,EAAe,cAAcS,EAAyB;"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./vendor-DQFuDa7q.js"),a=require("react"),l=require("./utils-DKStzUzN.js");function i(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const c=i(a),s=c.forwardRef(({className:e,value:t,...r},n)=>o.jsxRuntimeExports.jsx(o.Root$4,{ref:n,className:l.cn("bg-primary/20 relative h-2 w-full overflow-hidden rounded-full",e),value:t,...r,children:o.jsxRuntimeExports.jsx(o.Indicator$1,{className:"bg-primary h-full w-full flex-1 transition-all",style:{transform:`translateX(-${100-(t||0)}%)`}})}));s.displayName=o.Root$4.displayName;exports.Progress=s;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./vendor-DQFuDa7q.js"),l=require("react"),a=require("./utils-DKStzUzN.js");function i(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const c=i(l),s=c.forwardRef(({className:e,value:t,...r},n)=>o.jsxRuntimeExports.jsx(o.Root$4,{ref:n,className:a.cn("bg-primary/20 relative h-2 w-full overflow-hidden rounded-full",e),value:t,...r,children:o.jsxRuntimeExports.jsx(o.Indicator$1,{className:"bg-primary h-full w-full flex-1 transition-all",style:{transform:`translateX(-${100-(t||0)}%)`}})}));s.displayName=o.Root$4.displayName;exports.Progress=s;
2
2
  //# sourceMappingURL=progress.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"progress.cjs.js","sources":["../packages/ui-web/src/progress.tsx"],"sourcesContent":["'use client';\n\nimport * as ProgressPrimitive from '@radix-ui/react-progress';\nimport * as React from 'react';\n\nimport { ProgressBaseProps } from '@gv-tech/ui-core';\nimport { cn } from './lib/utils';\n\nconst Progress = React.forwardRef<\n React.ElementRef<typeof ProgressPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root> & ProgressBaseProps\n>(({ className, value, ...props }, ref) => (\n <ProgressPrimitive.Root\n ref={ref}\n className={cn('bg-primary/20 relative h-2 w-full overflow-hidden rounded-full', className)}\n value={value}\n {...props}\n >\n <ProgressPrimitive.Indicator\n className=\"bg-primary h-full w-full flex-1 transition-all\"\n style={{ transform: `translateX(-${100 - (value || 0)}%)` }}\n />\n </ProgressPrimitive.Root>\n));\nProgress.displayName = ProgressPrimitive.Root.displayName;\n\nexport { Progress };\nexport type { ProgressBaseProps as ProgressProps };\n"],"names":["Progress","React","className","value","props","ref","jsx","ProgressPrimitive.Root","cn","ProgressPrimitive.Indicator"],"mappings":"scAQMA,EAAWC,EAAM,WAGrB,CAAC,CAAE,UAAAC,EAAW,MAAAC,EAAO,GAAGC,GAASC,IACjCC,EAAAA,kBAAAA,IAACC,EAAAA,OAAA,CACC,IAAAF,EACA,UAAWG,EAAAA,GAAG,iEAAkEN,CAAS,EACzF,MAAAC,EACC,GAAGC,EAEJ,SAAAE,EAAAA,kBAAAA,IAACG,EAAAA,YAAA,CACC,UAAU,iDACV,MAAO,CAAE,UAAW,eAAe,KAAON,GAAS,EAAE,IAAA,CAAK,CAAA,CAC5D,CACF,CACD,EACDH,EAAS,YAAcO,EAAAA,OAAuB"}
1
+ {"version":3,"file":"progress.cjs.js","sources":["../packages/ui-web/src/progress.tsx"],"sourcesContent":["'use client';\n\nimport * as ProgressPrimitive from '@radix-ui/react-progress';\nimport * as React from 'react';\n\nimport { ProgressBaseProps } from '@gv-tech/ui-core';\nimport { cn } from './lib/utils';\n\nconst Progress = React.forwardRef<\n React.ElementRef<typeof ProgressPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root> & ProgressBaseProps\n>(({ className, value, ...props }, ref) => (\n <ProgressPrimitive.Root\n ref={ref}\n className={cn('bg-primary/20 relative h-2 w-full overflow-hidden rounded-full', className)}\n value={value}\n {...props}\n >\n <ProgressPrimitive.Indicator\n className=\"bg-primary h-full w-full flex-1 transition-all\"\n style={{ transform: `translateX(-${100 - (value || 0)}%)` }}\n />\n </ProgressPrimitive.Root>\n));\nProgress.displayName = ProgressPrimitive.Root.displayName;\n\nexport { Progress };\nexport type { ProgressBaseProps as ProgressProps };\n"],"names":["Progress","React","className","value","props","ref","jsx","ProgressPrimitive.Root","cn","ProgressPrimitive.Indicator"],"mappings":"mdAQMA,EAAWC,EAAM,WAGrB,CAAC,CAAE,UAAAC,EAAW,MAAAC,EAAO,GAAGC,GAASC,IACjCC,EAAAA,kBAAAA,IAACC,EAAAA,OAAA,CACC,IAAAF,EACA,UAAWG,EAAAA,GAAG,iEAAkEN,CAAS,EACzF,MAAAC,EACC,GAAGC,EAEJ,SAAAE,EAAAA,kBAAAA,IAACG,EAAAA,YAAA,CACC,UAAU,iDACV,MAAO,CAAE,UAAW,eAAe,KAAON,GAAS,EAAE,IAAA,CAAK,CAAA,CAC5D,CACF,CACD,EACDH,EAAS,YAAcO,EAAAA,OAAuB"}
@@ -1,13 +1,14 @@
1
+ "use client";
1
2
  import { j as r, aC as s, aD as t } from "./vendor-DxBXMLEx.mjs";
2
3
  import * as i from "react";
3
4
  import { c as m } from "./utils-Dk-Gx69q.mjs";
4
- const f = i.forwardRef(({ className: l, value: a, ...o }, e) => /* @__PURE__ */ r.jsx(
5
+ const f = i.forwardRef(({ className: l, value: a, ...e }, o) => /* @__PURE__ */ r.jsx(
5
6
  s,
6
7
  {
7
- ref: e,
8
+ ref: o,
8
9
  className: m("bg-primary/20 relative h-2 w-full overflow-hidden rounded-full", l),
9
10
  value: a,
10
- ...o,
11
+ ...e,
11
12
  children: /* @__PURE__ */ r.jsx(
12
13
  t,
13
14
  {
@@ -1 +1 @@
1
- {"version":3,"file":"progress.es.js","sources":["../packages/ui-web/src/progress.tsx"],"sourcesContent":["'use client';\n\nimport * as ProgressPrimitive from '@radix-ui/react-progress';\nimport * as React from 'react';\n\nimport { ProgressBaseProps } from '@gv-tech/ui-core';\nimport { cn } from './lib/utils';\n\nconst Progress = React.forwardRef<\n React.ElementRef<typeof ProgressPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root> & ProgressBaseProps\n>(({ className, value, ...props }, ref) => (\n <ProgressPrimitive.Root\n ref={ref}\n className={cn('bg-primary/20 relative h-2 w-full overflow-hidden rounded-full', className)}\n value={value}\n {...props}\n >\n <ProgressPrimitive.Indicator\n className=\"bg-primary h-full w-full flex-1 transition-all\"\n style={{ transform: `translateX(-${100 - (value || 0)}%)` }}\n />\n </ProgressPrimitive.Root>\n));\nProgress.displayName = ProgressPrimitive.Root.displayName;\n\nexport { Progress };\nexport type { ProgressBaseProps as ProgressProps };\n"],"names":["Progress","React","className","value","props","ref","jsx","ProgressPrimitive.Root","cn","ProgressPrimitive.Indicator"],"mappings":";;;AAQA,MAAMA,IAAWC,EAAM,WAGrB,CAAC,EAAE,WAAAC,GAAW,OAAAC,GAAO,GAAGC,KAASC,MACjCC,gBAAAA,EAAAA;AAAAA,EAACC;AAAAA,EAAA;AAAA,IACC,KAAAF;AAAA,IACA,WAAWG,EAAG,kEAAkEN,CAAS;AAAA,IACzF,OAAAC;AAAA,IACC,GAAGC;AAAA,IAEJ,UAAAE,gBAAAA,EAAAA;AAAAA,MAACG;AAAAA,MAAA;AAAA,QACC,WAAU;AAAA,QACV,OAAO,EAAE,WAAW,eAAe,OAAON,KAAS,EAAE,KAAA;AAAA,MAAK;AAAA,IAAA;AAAA,EAC5D;AACF,CACD;AACDH,EAAS,cAAcO,EAAuB;"}
1
+ {"version":3,"file":"progress.es.js","sources":["../packages/ui-web/src/progress.tsx"],"sourcesContent":["'use client';\n\nimport * as ProgressPrimitive from '@radix-ui/react-progress';\nimport * as React from 'react';\n\nimport { ProgressBaseProps } from '@gv-tech/ui-core';\nimport { cn } from './lib/utils';\n\nconst Progress = React.forwardRef<\n React.ElementRef<typeof ProgressPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root> & ProgressBaseProps\n>(({ className, value, ...props }, ref) => (\n <ProgressPrimitive.Root\n ref={ref}\n className={cn('bg-primary/20 relative h-2 w-full overflow-hidden rounded-full', className)}\n value={value}\n {...props}\n >\n <ProgressPrimitive.Indicator\n className=\"bg-primary h-full w-full flex-1 transition-all\"\n style={{ transform: `translateX(-${100 - (value || 0)}%)` }}\n />\n </ProgressPrimitive.Root>\n));\nProgress.displayName = ProgressPrimitive.Root.displayName;\n\nexport { Progress };\nexport type { ProgressBaseProps as ProgressProps };\n"],"names":["Progress","React","className","value","props","ref","jsx","ProgressPrimitive.Root","cn","ProgressPrimitive.Indicator"],"mappings":";;;;AAQA,MAAMA,IAAWC,EAAM,WAGrB,CAAC,EAAE,WAAAC,GAAW,OAAAC,GAAO,GAAGC,KAASC,MACjCC,gBAAAA,EAAAA;AAAAA,EAACC;AAAAA,EAAA;AAAA,IACC,KAAAF;AAAA,IACA,WAAWG,EAAG,kEAAkEN,CAAS;AAAA,IACzF,OAAAC;AAAA,IACC,GAAGC;AAAA,IAEJ,UAAAE,gBAAAA,EAAAA;AAAAA,MAACG;AAAAA,MAAA;AAAA,QACC,WAAU;AAAA,QACV,OAAO,EAAE,WAAW,eAAe,OAAON,KAAS,EAAE,KAAA;AAAA,MAAK;AAAA,IAAA;AAAA,EAC5D;AACF,CACD;AACDH,EAAS,cAAcO,EAAuB;"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./vendor-DQFuDa7q.js"),l=require("react"),a=require("./utils-DKStzUzN.js");function u(r){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const t in r)if(t!=="default"){const s=Object.getOwnPropertyDescriptor(r,t);Object.defineProperty(o,t,s.get?s:{enumerable:!0,get:()=>r[t]})}}return o.default=r,Object.freeze(o)}const i=u(l),n=i.forwardRef(({className:r,...o},t)=>e.jsxRuntimeExports.jsx(e.Root2$6,{className:a.cn("grid gap-2",r),...o,ref:t}));n.displayName=e.Root2$6.displayName;const c=i.forwardRef(({className:r,...o},t)=>e.jsxRuntimeExports.jsx(e.Item2$1,{ref:t,className:a.cn("border-primary text-primary focus-visible:ring-ring aspect-square h-4 w-4 rounded-full border shadow focus:outline-none focus-visible:ring-1 disabled:cursor-not-allowed disabled:opacity-50",r),...o,children:e.jsxRuntimeExports.jsx(e.Indicator$2,{className:"flex items-center justify-center",children:e.jsxRuntimeExports.jsx(e.Circle,{className:"fill-primary h-3.5 w-3.5"})})}));c.displayName=e.Item2$1.displayName;exports.RadioGroup=n;exports.RadioGroupItem=c;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./vendor-DQFuDa7q.js"),l=require("react"),i=require("./utils-DKStzUzN.js");function u(r){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const t in r)if(t!=="default"){const s=Object.getOwnPropertyDescriptor(r,t);Object.defineProperty(o,t,s.get?s:{enumerable:!0,get:()=>r[t]})}}return o.default=r,Object.freeze(o)}const a=u(l),n=a.forwardRef(({className:r,...o},t)=>e.jsxRuntimeExports.jsx(e.Root2$6,{className:i.cn("grid gap-2",r),...o,ref:t}));n.displayName=e.Root2$6.displayName;const c=a.forwardRef(({className:r,...o},t)=>e.jsxRuntimeExports.jsx(e.Item2$1,{ref:t,className:i.cn("border-primary text-primary focus-visible:ring-ring aspect-square h-4 w-4 rounded-full border shadow focus:outline-none focus-visible:ring-1 disabled:cursor-not-allowed disabled:opacity-50",r),...o,children:e.jsxRuntimeExports.jsx(e.Indicator$2,{className:"flex items-center justify-center",children:e.jsxRuntimeExports.jsx(e.Circle,{className:"fill-primary h-3.5 w-3.5"})})}));c.displayName=e.Item2$1.displayName;exports.RadioGroup=n;exports.RadioGroupItem=c;
2
2
  //# sourceMappingURL=radio-group.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"radio-group.cjs.js","sources":["../packages/ui-web/src/radio-group.tsx"],"sourcesContent":["import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';\nimport { Circle } from 'lucide-react';\nimport * as React from 'react';\n\nimport type { RadioGroupBaseProps, RadioGroupItemBaseProps } from '@gv-tech/ui-core';\nimport { cn } from './lib/utils';\n\nexport interface RadioGroupProps\n extends React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root>, RadioGroupBaseProps {}\n\nconst RadioGroup = React.forwardRef<React.ElementRef<typeof RadioGroupPrimitive.Root>, RadioGroupProps>(\n ({ className, ...props }, ref) => {\n return <RadioGroupPrimitive.Root className={cn('grid gap-2', className)} {...props} ref={ref} />;\n },\n);\nRadioGroup.displayName = RadioGroupPrimitive.Root.displayName;\n\nexport interface RadioGroupItemProps\n extends React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item>, RadioGroupItemBaseProps {}\n\nconst RadioGroupItem = React.forwardRef<React.ElementRef<typeof RadioGroupPrimitive.Item>, RadioGroupItemProps>(\n ({ className, ...props }, ref) => {\n return (\n <RadioGroupPrimitive.Item\n ref={ref}\n className={cn(\n 'border-primary text-primary focus-visible:ring-ring aspect-square h-4 w-4 rounded-full border shadow focus:outline-none focus-visible:ring-1 disabled:cursor-not-allowed disabled:opacity-50',\n className,\n )}\n {...props}\n >\n <RadioGroupPrimitive.Indicator className=\"flex items-center justify-center\">\n <Circle className=\"fill-primary h-3.5 w-3.5\" />\n </RadioGroupPrimitive.Indicator>\n </RadioGroupPrimitive.Item>\n );\n },\n);\nRadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName;\n\nexport { RadioGroup, RadioGroupItem };\n"],"names":["RadioGroup","React","className","props","ref","jsx","RadioGroupPrimitive.Root","cn","RadioGroupItem","RadioGroupPrimitive.Item","RadioGroupPrimitive.Indicator","Circle"],"mappings":"scAUMA,EAAaC,EAAM,WACvB,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAA,EAASC,IACjBC,wBAACC,EAAAA,QAAA,CAAyB,UAAWC,EAAAA,GAAG,aAAcL,CAAS,EAAI,GAAGC,EAAO,IAAAC,EAAU,CAElG,EACAJ,EAAW,YAAcM,EAAAA,QAAyB,YAKlD,MAAME,EAAiBP,EAAM,WAC3B,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAA,EAASC,IAEtBC,EAAAA,kBAAAA,IAACI,EAAAA,QAAA,CACC,IAAAL,EACA,UAAWG,EAAAA,GACT,+LACAL,CAAA,EAED,GAAGC,EAEJ,SAAAE,EAAAA,kBAAAA,IAACK,cAAA,CAA8B,UAAU,mCACvC,SAAAL,EAAAA,kBAAAA,IAACM,EAAAA,OAAA,CAAO,UAAU,0BAAA,CAA2B,CAAA,CAC/C,CAAA,CAAA,CAIR,EACAH,EAAe,YAAcC,EAAAA,QAAyB"}
1
+ {"version":3,"file":"radio-group.cjs.js","sources":["../packages/ui-web/src/radio-group.tsx"],"sourcesContent":["'use client';\nimport * as RadioGroupPrimitive from '@radix-ui/react-radio-group';\nimport { Circle } from 'lucide-react';\nimport * as React from 'react';\n\nimport type { RadioGroupBaseProps, RadioGroupItemBaseProps } from '@gv-tech/ui-core';\nimport { cn } from './lib/utils';\n\nexport interface RadioGroupProps\n extends React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root>, RadioGroupBaseProps {}\n\nconst RadioGroup = React.forwardRef<React.ElementRef<typeof RadioGroupPrimitive.Root>, RadioGroupProps>(\n ({ className, ...props }, ref) => {\n return <RadioGroupPrimitive.Root className={cn('grid gap-2', className)} {...props} ref={ref} />;\n },\n);\nRadioGroup.displayName = RadioGroupPrimitive.Root.displayName;\n\nexport interface RadioGroupItemProps\n extends React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item>, RadioGroupItemBaseProps {}\n\nconst RadioGroupItem = React.forwardRef<React.ElementRef<typeof RadioGroupPrimitive.Item>, RadioGroupItemProps>(\n ({ className, ...props }, ref) => {\n return (\n <RadioGroupPrimitive.Item\n ref={ref}\n className={cn(\n 'border-primary text-primary focus-visible:ring-ring aspect-square h-4 w-4 rounded-full border shadow focus:outline-none focus-visible:ring-1 disabled:cursor-not-allowed disabled:opacity-50',\n className,\n )}\n {...props}\n >\n <RadioGroupPrimitive.Indicator className=\"flex items-center justify-center\">\n <Circle className=\"fill-primary h-3.5 w-3.5\" />\n </RadioGroupPrimitive.Indicator>\n </RadioGroupPrimitive.Item>\n );\n },\n);\nRadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName;\n\nexport { RadioGroup, RadioGroupItem };\n"],"names":["RadioGroup","React","className","props","ref","jsx","RadioGroupPrimitive.Root","cn","RadioGroupItem","RadioGroupPrimitive.Item","RadioGroupPrimitive.Indicator","Circle"],"mappings":"mdAWMA,EAAaC,EAAM,WACvB,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAA,EAASC,IACjBC,wBAACC,EAAAA,QAAA,CAAyB,UAAWC,EAAAA,GAAG,aAAcL,CAAS,EAAI,GAAGC,EAAO,IAAAC,EAAU,CAElG,EACAJ,EAAW,YAAcM,EAAAA,QAAyB,YAKlD,MAAME,EAAiBP,EAAM,WAC3B,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAA,EAASC,IAEtBC,EAAAA,kBAAAA,IAACI,EAAAA,QAAA,CACC,IAAAL,EACA,UAAWG,EAAAA,GACT,+LACAL,CAAA,EAED,GAAGC,EAEJ,SAAAE,EAAAA,kBAAAA,IAACK,cAAA,CAA8B,UAAU,mCACvC,SAAAL,EAAAA,kBAAAA,IAACM,EAAAA,OAAA,CAAO,UAAU,0BAAA,CAA2B,CAAA,CAC/C,CAAA,CAAA,CAIR,EACAH,EAAe,YAAcC,EAAAA,QAAyB"}