@mkbabb/glass-ui 3.6.0 → 3.8.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 (255) hide show
  1. package/dist/CardAction-q2qHCJFG.js +157 -0
  2. package/dist/CollapsibleContent-CP9qF1v4.js +63 -0
  3. package/dist/{CommandShortcut-BiVyqipe.js → CommandShortcut-SzWRhROC.js} +4 -4
  4. package/dist/{ContextMenuContent-De01_83g.js → ContextMenuContent-DDa0v27s.js} +1 -1
  5. package/dist/{ContextMenuSubContent-DrWkXKQP.js → ContextMenuSubContent-Do977Cbf.js} +4 -4
  6. package/dist/{DataTable-BGVXx0Ww.js → DataTable-CvlWXz65.js} +14 -7
  7. package/dist/DeckProgress-AVgbIULY.js +23 -0
  8. package/dist/{DialogContent-IQ8_BRrC.js → DialogContent-DjZWT3lK.js} +24 -24
  9. package/dist/{DialogFooter-Er0wA3K6.js → DialogFooter-Gprw8H_A.js} +2 -2
  10. package/dist/{DiscoGlyph-BaZ8OawK.js → DiscoGlyph-CG0F410s.js} +1 -1
  11. package/dist/{GlyphFace-B_7vOmYn.js → GlyphFace-DRjDkB0s.js} +1 -1
  12. package/dist/{HoverCardContent-ICfIMZX1.js → HoverCardContent-B6CcQ8He.js} +1 -1
  13. package/dist/{HoverPopover-DTSYkJtw.js → HoverPopover-D56O6Ylp.js} +1 -1
  14. package/dist/{IconTooltip-DZlCkU-0.js → IconTooltip-D2T5nYOM.js} +1 -1
  15. package/dist/{Input-CRJ2owjN.js → Input-DVG_J0ne.js} +4 -1
  16. package/dist/{Label-CZk-3nTc.js → Label-zRfbQdCn.js} +1 -1
  17. package/dist/{MetricBadge-BlrdbOGN.js → MetricBadge-lTc002u2.js} +1 -1
  18. package/dist/{Notification-DP_ApJLo.js → Notification-BxK8LZMw.js} +5 -4
  19. package/dist/{NumberFieldContent-Bhhmk95p.js → NumberFieldContent-CLNVR1iY.js} +5 -5
  20. package/dist/{PopoverContent-B8WtJECb.js → PopoverContent-BId6ggf_.js} +2 -2
  21. package/dist/{Progress-DjM86vfb.js → Progress-iEuD9pxG.js} +7 -7
  22. package/dist/{ScrollingText-P9o_DuMn.js → ScrollingText-CVyqxvfv.js} +2 -2
  23. package/dist/{SelectScrollDownButton-BGn3rjs9.js → SelectScrollDownButton-C7TRe-ep.js} +8 -7
  24. package/dist/{Separator-C2XtAXRp.js → Separator-D7sD7RKj.js} +1 -1
  25. package/dist/{Switch-x8n6husW.js → Switch-LDKLmmgx.js} +8 -2
  26. package/dist/TabsList-qyHZ2lKY.js +101 -0
  27. package/dist/{Toaster-DdhMKfus.js → Toaster-CabYEEF_.js} +54 -60
  28. package/dist/{ToggleGroupItem-gyXj998A.js → ToggleGroupItem-CkXUcBlt.js} +13 -5
  29. package/dist/{TooltipProvider-D-JrSqDu.js → TooltipProvider-CmZzCuaG.js} +1 -1
  30. package/dist/{UnderlineTabs-CuIK16JI.js → UnderlineTabs-Uxn-R3MT.js} +2 -2
  31. package/dist/animated-digit.js +2 -2
  32. package/dist/api/index.d.ts +4 -2
  33. package/dist/api.js +1 -1
  34. package/dist/aurora.js +753 -359
  35. package/dist/{badge-Cl6JZ1B7.js → badge-DHQrc_GQ.js} +13 -9
  36. package/dist/badge.js +1 -1
  37. package/dist/{button-BcMzVrqs.js → button-CAywcrhO.js} +6 -3
  38. package/dist/button.js +1 -1
  39. package/dist/canvas.d.ts +1 -0
  40. package/dist/canvas.js +3 -0
  41. package/dist/card.js +2 -2
  42. package/dist/carousel.js +110 -109
  43. package/dist/{check-CdkxGxXJ.js → check-BBKKKSTf.js} +1 -1
  44. package/dist/{chevron-down-pBY8sYfV.js → chevron-down-BSkTP2aL.js} +1 -1
  45. package/dist/{chevron-right-BjeKC22V.js → chevron-right-sDM0Yvrf.js} +1 -1
  46. package/dist/{chevron-up-DBeNHUm1.js → chevron-up-CCOD_FTz.js} +1 -1
  47. package/dist/collapsible.js +1 -1
  48. package/dist/color-DMLTunJK.js +84 -0
  49. package/dist/color.js +2 -2
  50. package/dist/command.js +1 -1
  51. package/dist/compile-BBTRjvQS.js +158 -0
  52. package/dist/components/custom/aurora/Aurora.vue.d.ts +1 -0
  53. package/dist/components/custom/aurora/composables/atoms.d.ts +125 -0
  54. package/dist/components/custom/aurora/composables/color.d.ts +7 -25
  55. package/dist/components/custom/aurora/composables/cursorModel.d.ts +35 -2
  56. package/dist/components/custom/aurora/composables/glSetup.d.ts +1 -1
  57. package/dist/components/custom/aurora/composables/gpuRuntime.d.ts +16 -0
  58. package/dist/components/custom/aurora/composables/runtime.d.ts +18 -0
  59. package/dist/components/custom/aurora/composables/uniformBridge.d.ts +46 -12
  60. package/dist/components/custom/aurora/composables/useAurora.d.ts +6 -0
  61. package/dist/components/custom/aurora/composables/useCursorInteraction.d.ts +8 -0
  62. package/dist/components/custom/aurora/constants/presets.d.ts +60 -4
  63. package/dist/components/custom/aurora/constants/renderMode.d.ts +32 -0
  64. package/dist/components/custom/aurora/constants/shaders/aurora.wgsl.d.ts +7 -0
  65. package/dist/components/custom/aurora/constants/shaders/brush.glsl.d.ts +1 -1
  66. package/dist/components/custom/aurora/constants/shaders/composition.glsl.d.ts +1 -1
  67. package/dist/components/custom/aurora/constants/shaders/flow.glsl.d.ts +1 -1
  68. package/dist/components/custom/aurora/constants/shaders/mediums.glsl.d.ts +2 -2
  69. package/dist/components/custom/aurora/constants/shaders/painterly.wgsl.d.ts +7 -0
  70. package/dist/components/custom/aurora/constants/shaders/wake.wgsl.d.ts +4 -0
  71. package/dist/components/custom/aurora/index.d.ts +4 -3
  72. package/dist/components/custom/constellation/Constellation.vue.d.ts +40 -5
  73. package/dist/components/custom/constellation/constellationField.d.ts +110 -5
  74. package/dist/components/custom/constellation/index.d.ts +2 -2
  75. package/dist/components/custom/dock/GlassDock.vue.d.ts +12 -4
  76. package/dist/components/custom/dock/composables/dockMorphContext.d.ts +57 -0
  77. package/dist/components/custom/dock/composables/index.d.ts +3 -0
  78. package/dist/components/custom/dock/composables/useDockHold.d.ts +61 -0
  79. package/dist/components/custom/dock/composables/useLayerTransition.d.ts +13 -59
  80. package/dist/components/custom/dock/index.d.ts +2 -0
  81. package/dist/components/custom/fourier-field/FourierField.vue.d.ts +38 -0
  82. package/dist/components/custom/fourier-field/index.d.ts +2 -0
  83. package/dist/components/custom/fourier-field/math.d.ts +57 -0
  84. package/dist/components/custom/goo-blob/GooBlob.vue.d.ts +15 -0
  85. package/dist/components/custom/goo-blob/composables/useBlobMood.d.ts +18 -2
  86. package/dist/components/custom/goo-blob/composables/useBlobPointer.d.ts +47 -4
  87. package/dist/components/custom/goo-blob/composables/useBlobSatellites.d.ts +2 -0
  88. package/dist/components/custom/goo-blob/composables/useMetaballRenderer.d.ts +19 -4
  89. package/dist/components/custom/goo-blob/index.d.ts +1 -1
  90. package/dist/components/custom/goo-blob/shaders/sdf-body.glsl.d.ts +1 -1
  91. package/dist/components/custom/goo-blob/shaders/watercolor-edges.glsl.d.ts +2 -2
  92. package/dist/components/custom/goo-blob/types.d.ts +48 -0
  93. package/dist/components/custom/metric-cell/MetricCell.vue.d.ts +1 -1
  94. package/dist/components/custom/metric-stack/MetricStack.vue.d.ts +1 -1
  95. package/dist/components/ui/_shared/ModalOverlay.vue.d.ts +1 -1
  96. package/dist/components/ui/alert/index.d.ts +1 -1
  97. package/dist/components/ui/card/Card.vue.d.ts +26 -3
  98. package/dist/components/ui/card/CardAction.vue.d.ts +24 -0
  99. package/dist/components/ui/card/index.d.ts +2 -1
  100. package/dist/components/ui/collapsible/CollapsibleTrigger.vue.d.ts +5 -1
  101. package/dist/components/ui/progress/ProgressDefault.vue.d.ts +14 -4
  102. package/dist/components/ui/slider/Slider.vue.d.ts +3 -1
  103. package/dist/components/ui/tabs/TabsList.vue.d.ts +13 -3
  104. package/dist/components/ui/toast/Toast.vue.d.ts +5 -5
  105. package/dist/components/ui/toast/use-toast.d.ts +1 -1
  106. package/dist/composables/color/index.d.ts +69 -0
  107. package/dist/composables/dom/index.d.ts +1 -1
  108. package/dist/composables/dom/useResolveTokenColor.d.ts +27 -0
  109. package/dist/composables/glass/canvas2d/index.d.ts +2 -1
  110. package/dist/composables/glass/canvas2d/resolveCanvasColor.d.ts +20 -0
  111. package/dist/composables/glass/canvas2d/useCanvas2D.d.ts +15 -1
  112. package/dist/composables/glass/createGPUCanvas.d.ts +40 -0
  113. package/dist/composables/glass/index.d.ts +3 -1
  114. package/dist/composables/glass/useSpecularTracking.d.ts +33 -0
  115. package/dist/composables/glass/webgl/createCanvasLifecycle.d.ts +45 -0
  116. package/dist/composables/glass/webgl/shaders/procedural-color.glsl.d.ts +7 -0
  117. package/dist/composables/glass/webgl/useWebGLCanvas.d.ts +5 -5
  118. package/dist/composables/motion/core/index.d.ts +1 -0
  119. package/dist/configurator.js +1 -1
  120. package/dist/confirm-dialog.js +3 -3
  121. package/dist/constellation.js +144 -75
  122. package/dist/context-menu.js +2 -2
  123. package/dist/controls.js +2 -2
  124. package/dist/dark.js +1 -1
  125. package/dist/data-table.js +1 -1
  126. package/dist/deck-progress.d.ts +1 -0
  127. package/dist/deck-progress.js +2 -0
  128. package/dist/dialog.js +2 -2
  129. package/dist/disco-glyph.js +1 -1
  130. package/dist/dock.js +388 -287
  131. package/dist/{dockContext-spUj_-E5.js → dockContext-BKeIMmNk.js} +1 -1
  132. package/dist/dom.js +6 -6
  133. package/dist/{dropdown-menu-EFjl5iKo.js → dropdown-menu-B_4bWyyG.js} +5 -5
  134. package/dist/dropdown-menu.js +1 -1
  135. package/dist/expandable-container.js +2 -2
  136. package/dist/fonts/README.md +26 -18
  137. package/dist/forms.js +10 -7
  138. package/dist/fourier-field.d.ts +1 -0
  139. package/dist/fourier-field.js +166 -0
  140. package/dist/glass-carousel.js +12 -7
  141. package/dist/glass-panel.js +7 -7
  142. package/dist/glass-ui.css +1 -1
  143. package/dist/glass-ui.js +209 -206
  144. package/dist/glyph-face.js +2 -2
  145. package/dist/goo-blob.js +485 -300
  146. package/dist/header-ribbon.js +1 -1
  147. package/dist/hover-card.js +1 -1
  148. package/dist/hover-popover.js +1 -1
  149. package/dist/icon-tooltip.js +1 -1
  150. package/dist/index.d.ts +1 -0
  151. package/dist/instrument-chassis.js +1 -1
  152. package/dist/instrument-rail.js +1 -1
  153. package/dist/keyboard.js +1 -1
  154. package/dist/{keys-BFoma9vm.js → keys-BsYjEFOW.js} +1 -1
  155. package/dist/label.js +1 -1
  156. package/dist/labeled-field.js +6 -6
  157. package/dist/metric-badge.js +1 -1
  158. package/dist/metric-stack.js +1 -1
  159. package/dist/{minimize-2-BP27-qBY.js → minimize-2-lcXOuc6V.js} +1 -1
  160. package/dist/motion-core.js +68 -98
  161. package/dist/motion.js +3 -3
  162. package/dist/notification.js +1 -1
  163. package/dist/number-field.js +1 -1
  164. package/dist/paper-backdrop.js +1 -1
  165. package/dist/popover.js +1 -1
  166. package/dist/progress.js +1 -1
  167. package/dist/pulse.js +1 -1
  168. package/dist/reactive.js +2 -2
  169. package/dist/resolveCanvasColor-BBiYfp8g.js +11 -0
  170. package/dist/responsive-tabs.js +2 -2
  171. package/dist/scrolling-text.js +1 -1
  172. package/dist/{search-DBG8qaRs.js → search-nbkvr2dC.js} +1 -1
  173. package/dist/search.js +12 -12
  174. package/dist/select.js +3 -3
  175. package/dist/separator.js +1 -1
  176. package/dist/{sheet-CQYYrkr9.js → sheet-VZEtNFvO.js} +4 -4
  177. package/dist/sheet.js +1 -1
  178. package/dist/slider-D9puf-Ko.js +142 -0
  179. package/dist/slider.js +1 -1
  180. package/dist/sortable-list.js +3 -3
  181. package/dist/styles/components.css +1 -1
  182. package/dist/styles/dock-controls.css +21 -18
  183. package/dist/styles/dock.css +415 -224
  184. package/dist/styles/fonts.css +0 -25
  185. package/dist/styles/glass.css +100 -41
  186. package/dist/styles/theme.css +58 -2
  187. package/dist/styles/tokens.css +139 -32
  188. package/dist/styles/typography.css +55 -72
  189. package/dist/styles/utilities.css +19 -14
  190. package/dist/styles/view-transition.css +12 -40
  191. package/dist/supportsCssTimeline-C5oe0lnD.js +12 -0
  192. package/dist/switch.js +1 -1
  193. package/dist/tabs.js +5 -5
  194. package/dist/timeline.js +3 -3
  195. package/dist/toast.js +1 -1
  196. package/dist/toggle-group.js +1 -1
  197. package/dist/tooltip.js +1 -1
  198. package/dist/typewriter.js +1 -1
  199. package/dist/{useAnimatedNumber-DfVgP4te.js → useAnimatedNumber-C_3wZLx4.js} +1 -1
  200. package/dist/{useCanvas2D-BeNJqqIS.js → useCanvas2D-ClrQuZtp.js} +2 -1
  201. package/dist/{useConfiguratorState-DUtC1jxr.js → useConfiguratorState-CMff4GzH.js} +5 -5
  202. package/dist/useResolveTokenColor-r9pnNjqK.js +24 -0
  203. package/dist/useScrollProgress-C9ysDic5.js +35 -0
  204. package/dist/useSpecularTracking-BVRZsRHA.js +26 -0
  205. package/dist/{useTextHighlight-Dmtofpk2.js → useTextHighlight-9nMW23Qb.js} +1 -1
  206. package/dist/{useTouchGate-CS5Csc2h.js → useTouchGate-WFyJYsth.js} +1 -1
  207. package/dist/vReveal-CqaCz_mC.js +44 -0
  208. package/dist/watercolor-dot.js +2 -2
  209. package/dist/{x-C4pz9nbD.js → x-Dfsegz9Y.js} +1 -1
  210. package/package.json +64 -4
  211. package/src/fonts/README.md +26 -18
  212. package/src/styles/dock-controls.css +21 -18
  213. package/src/styles/dock.css +415 -224
  214. package/src/styles/fonts.css +0 -25
  215. package/src/styles/glass.css +100 -41
  216. package/src/styles/theme.css +58 -2
  217. package/src/styles/tokens.css +139 -32
  218. package/src/styles/typography.css +55 -72
  219. package/src/styles/utilities.css +19 -14
  220. package/src/styles/view-transition.css +12 -40
  221. package/dist/CardFooter-C390imy7.js +0 -129
  222. package/dist/CollapsibleContent-cauTbZEM.js +0 -52
  223. package/dist/TabsIndicator-DA0x9gPr.js +0 -97
  224. package/dist/color-DS-iLRVM.js +0 -33
  225. package/dist/compile-C62K_FpC.js +0 -106
  226. package/dist/fonts/fraunces/fraunces-latin.woff2 +0 -0
  227. package/dist/slider-CgNzRSh6.js +0 -129
  228. package/dist/useViewTransition-DI0Rs2rV.js +0 -21
  229. package/dist/vReveal-u2wSG2El.js +0 -35
  230. package/src/fonts/fraunces/fraunces-latin.woff2 +0 -0
  231. /package/dist/{InstrumentChassis-DaHIZCqy.js → InstrumentChassis-C2f6cBaQ.js} +0 -0
  232. /package/dist/{InstrumentRail-B0qqLFN0.js → InstrumentRail-CUJ05YVG.js} +0 -0
  233. /package/dist/{ModalOverlay-B_CBtqcE.js → ModalOverlay-B1GkAjNb.js} +0 -0
  234. /package/dist/{PaperBackdrop-D_YZW47j.js → PaperBackdrop-CqwjnfLv.js} +0 -0
  235. /package/dist/{SelectGroup-CMdoCjRE.js → SelectGroup-BFiod7X2.js} +0 -0
  236. /package/dist/{SelectSeparator-CaJnPF3_.js → SelectSeparator-L8pPEn4L.js} +0 -0
  237. /package/dist/{_plugin-vue_export-helper-C1je1s0u.js → _plugin-vue_export-helper-ok8pgSl5.js} +0 -0
  238. /package/dist/composables/{dom → motion}/useTextHighlight.d.ts +0 -0
  239. /package/dist/{constants-C8NMonuo.js → constants-BPOqYJAm.js} +0 -0
  240. /package/dist/{createContext-DBMGRlx4.js → createContext-B44Sah_H.js} +0 -0
  241. /package/dist/{createLucideIcon-DuDoe_ra.js → createLucideIcon-B6uNAU9G.js} +0 -0
  242. /package/dist/{menuItemVariants-C2QlXqT3.js → menuItemVariants-DKM85SNE.js} +0 -0
  243. /package/dist/{presets-Dyv9Zl7W.js → presets-D1XPuTj-.js} +0 -0
  244. /package/dist/{prng-CjVgzjQT.js → prng-COGhh02-.js} +0 -0
  245. /package/dist/{useGlassRenderer-Dn3WpfG-.js → useGlassRenderer-5I0YkI4t.js} +0 -0
  246. /package/dist/{useGlobalDark-D7R9OypB.js → useGlobalDark-D3EBWzXK.js} +0 -0
  247. /package/dist/{useIntersectionPause-DsQYGc8V.js → useIntersectionPause-Bj4sPkMh.js} +0 -0
  248. /package/dist/{useInterval-CHVYFpXV.js → useInterval-CcLfq2WU.js} +0 -0
  249. /package/dist/{useKeyboardShortcuts-i8tHd5WO.js → useKeyboardShortcuts-BXWXOZ-9.js} +0 -0
  250. /package/dist/{useResizeObserver-DX-STszm.js → useResizeObserver-CWCbk5Px.js} +0 -0
  251. /package/dist/{useSortable-muI29agz.js → useSortable-MGAbCGVJ.js} +0 -0
  252. /package/dist/{useSpringMount-CnizvZGm.js → useSpringMount-BJSHcLl3.js} +0 -0
  253. /package/dist/{useTimer-DGgoxTXL.js → useTimer-3xqf_54b.js} +0 -0
  254. /package/dist/{useUserInvalidAria-DmvZ_6Dx.js → useUserInvalidAria-DoJKMZ3s.js} +0 -0
  255. /package/dist/{useViewportReady-Dcvf0c4p.js → useViewportReady-RIr5Wgkh.js} +0 -0
@@ -1,9 +1,8 @@
1
1
  import { t as e } from "./cn-DJXf4yaB.js";
2
2
  import { createElementBlock as t, defineComponent as n, normalizeClass as r, openBlock as i, renderSlot as a, unref as o } from "vue";
3
3
  import { cva as s } from "class-variance-authority";
4
- //#endregion
5
- //#region src/components/ui/badge/Badge.vue
6
- var c = /* @__PURE__ */ n({
4
+ //#region src/components/ui/badge/Badge.vue?vue&type=script&setup=true&lang.ts
5
+ var c = ["data-variant", "data-size"], l = /* @__PURE__ */ n({
7
6
  __name: "Badge",
8
7
  props: {
9
8
  variant: {},
@@ -18,12 +17,17 @@ var c = /* @__PURE__ */ n({
18
17
  },
19
18
  setup(n) {
20
19
  let s = n;
21
- return (c, u) => (i(), t("div", { class: r(o(e)(o(l)({
22
- variant: n.variant,
23
- size: n.size
24
- }), s.class)) }, [a(c.$slots, "default")], 2));
20
+ return (l, d) => (i(), t("div", {
21
+ "data-slot": "badge",
22
+ "data-variant": n.variant,
23
+ "data-size": n.size,
24
+ class: r(o(e)(o(u)({
25
+ variant: n.variant,
26
+ size: n.size
27
+ }), s.class))
28
+ }, [a(l.$slots, "default")], 10, c));
25
29
  }
26
- }), l = s("focus-ring inline-flex items-center rounded-badge border font-semibold transition-colors", {
30
+ }), u = s("focus-ring inline-flex items-center gap-1.5 rounded-badge border font-semibold transition-control wrap-anywhere [&_svg:not([class*=size-])]:size-3.5 [&_svg]:shrink-0 [&_svg]:pointer-events-none", {
27
31
  variants: {
28
32
  variant: {
29
33
  default: "border-transparent bg-primary text-primary-foreground hover:bg-primary/80",
@@ -46,4 +50,4 @@ var c = /* @__PURE__ */ n({
46
50
  }
47
51
  });
48
52
  //#endregion
49
- export { c as n, l as t };
53
+ export { l as n, u as t };
package/dist/badge.js CHANGED
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "./badge-Cl6JZ1B7.js";
1
+ import { n as e, t } from "./badge-DHQrc_GQ.js";
2
2
  export { e as Badge, t as badgeVariants };
@@ -29,6 +29,8 @@ var d = /* @__PURE__ */ r({
29
29
  return (t, p) => (a(), n(s(l), i({
30
30
  as: r.as,
31
31
  "as-child": r.asChild,
32
+ "data-slot": "button",
33
+ "data-variant": r.variant,
32
34
  "data-size": r.size
33
35
  }, d.value, { class: s(e)(s(f)({
34
36
  variant: r.variant,
@@ -39,11 +41,12 @@ var d = /* @__PURE__ */ r({
39
41
  }, 16, [
40
42
  "as",
41
43
  "as-child",
44
+ "data-variant",
42
45
  "data-size",
43
46
  "class"
44
47
  ]));
45
48
  }
46
- }), f = u("btn-pill focus-ring whitespace-nowrap text-sm font-medium cursor-pointer active:scale-[var(--scale-press-btn)] disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-disabled", {
49
+ }), f = u("btn-pill tap-squish focus-ring whitespace-nowrap text-sm font-medium cursor-pointer active:scale-[var(--scale-press-btn)] disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-disabled [&_svg:not([class*=size-])]:size-4 [&_svg]:shrink-0 [&_svg]:pointer-events-none", {
47
50
  variants: {
48
51
  variant: {
49
52
  default: "bg-primary text-primary-foreground hover:bg-primary/90 active:bg-primary/80 aria-pressed:bg-primary/85",
@@ -60,10 +63,10 @@ var d = /* @__PURE__ */ r({
60
63
  link: "text-primary underline-offset-4 hover:underline active:opacity-80 active:scale-100"
61
64
  },
62
65
  size: {
63
- default: "h-10 px-4 py-2",
66
+ default: "h-10 px-4 py-2 has-[>svg]:px-3",
64
67
  xs: "h-7 rounded-pill px-2 text-xs",
65
68
  sm: "h-9 rounded-pill px-3",
66
- lg: "h-11 rounded-pill px-8",
69
+ lg: "h-11 rounded-pill px-8 has-[>svg]:px-5",
67
70
  icon: "h-10 w-10 p-0",
68
71
  "icon-sm": "h-7 w-7 p-0"
69
72
  }
package/dist/button.js CHANGED
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "./button-BcMzVrqs.js";
1
+ import { n as e, t } from "./button-CAywcrhO.js";
2
2
  export { e as Button, t as buttonVariants };
@@ -0,0 +1 @@
1
+ export * from "./composables/glass/canvas2d";
package/dist/canvas.js ADDED
@@ -0,0 +1,3 @@
1
+ import { n as e, t } from "./useCanvas2D-ClrQuZtp.js";
2
+ import { t as n } from "./resolveCanvasColor-BBiYfp8g.js";
3
+ export { n as resolveCanvasColor, t as useCanvas2D, e as useCanvasLifecycle };
package/dist/card.js CHANGED
@@ -1,2 +1,2 @@
1
- import { a as e, i as t, n, o as r, r as i, t as a } from "./CardFooter-C390imy7.js";
2
- export { r as Card, n as CardContent, i as CardDescription, a as CardFooter, e as CardHeader, t as CardTitle };
1
+ import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "./CardAction-q2qHCJFG.js";
2
+ export { a as Card, o as CardAction, i as CardContent, t as CardDescription, n as CardFooter, r as CardHeader, e as CardTitle };
package/dist/carousel.js CHANGED
@@ -1,29 +1,30 @@
1
1
  import { t as e } from "./cn-DJXf4yaB.js";
2
- import { t } from "./createLucideIcon-DuDoe_ra.js";
3
- import { t as n } from "./chevron-down-pBY8sYfV.js";
4
- import { t as r } from "./chevron-right-BjeKC22V.js";
5
- import { t as i } from "./chevron-up-DBeNHUm1.js";
6
- import { n as a } from "./button-BcMzVrqs.js";
7
- import { Fragment as o, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createVNode as f, defineComponent as p, mergeProps as m, normalizeClass as h, onMounted as g, openBlock as _, ref as v, renderList as y, renderSlot as b, resolveDynamicComponent as x, toDisplayString as S, unref as C, watch as w, withCtx as T } from "vue";
8
- import { createInjectionState as E } from "@vueuse/core";
9
- import D from "embla-carousel-vue";
10
- var O = t("arrow-left", [["path", {
2
+ import { t } from "./createLucideIcon-B6uNAU9G.js";
3
+ import { t as n } from "./chevron-down-BSkTP2aL.js";
4
+ import { t as r } from "./chevron-right-sDM0Yvrf.js";
5
+ import { t as i } from "./chevron-up-CCOD_FTz.js";
6
+ import { n as a } from "./button-CAywcrhO.js";
7
+ import { t as o } from "./_plugin-vue_export-helper-ok8pgSl5.js";
8
+ import { Fragment as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createVNode as p, defineComponent as m, mergeProps as h, normalizeClass as g, onMounted as _, openBlock as v, ref as y, renderList as b, renderSlot as x, resolveDynamicComponent as S, toDisplayString as C, unref as w, watch as T, withCtx as E } from "vue";
9
+ import { createInjectionState as D } from "@vueuse/core";
10
+ import O from "embla-carousel-vue";
11
+ var k = t("arrow-left", [["path", {
11
12
  d: "m12 19-7-7 7-7",
12
13
  key: "1l729n"
13
14
  }], ["path", {
14
15
  d: "M19 12H5",
15
16
  key: "x3x0zl"
16
- }]]), k = t("arrow-right", [["path", {
17
+ }]]), A = t("arrow-right", [["path", {
17
18
  d: "M5 12h14",
18
19
  key: "1ays0h"
19
20
  }], ["path", {
20
21
  d: "m12 5 7 7-7 7",
21
22
  key: "xquz4c"
22
- }]]), A = t("chevron-left", [["path", {
23
+ }]]), j = t("chevron-left", [["path", {
23
24
  d: "m15 18-6-6 6-6",
24
25
  key: "1wnfg3"
25
- }]]), [j, M] = E(({ opts: e, orientation: t, plugins: n }, r) => {
26
- let [i, a] = D({
26
+ }]]), [M, N] = D(({ opts: e, orientation: t, plugins: n }, r) => {
27
+ let [i, a] = O({
27
28
  ...e,
28
29
  axis: t === "horizontal" ? "x" : "y"
29
30
  }, n);
@@ -33,11 +34,11 @@ var O = t("arrow-left", [["path", {
33
34
  function s() {
34
35
  a.value?.scrollNext();
35
36
  }
36
- let c = v(!1), l = v(!1);
37
+ let c = y(!1), l = y(!1);
37
38
  function u(e) {
38
39
  c.value = e?.canScrollNext() || !1, l.value = e?.canScrollPrev() || !1;
39
40
  }
40
- return g(() => {
41
+ return _(() => {
41
42
  a.value && (a.value?.on("init", u), a.value?.on("reInit", u), a.value?.on("select", u), r("init-api", a.value));
42
43
  }), {
43
44
  carouselRef: i,
@@ -49,14 +50,14 @@ var O = t("arrow-left", [["path", {
49
50
  orientation: t
50
51
  };
51
52
  });
52
- function N() {
53
- let e = M();
53
+ function P() {
54
+ let e = N();
54
55
  if (!e) throw Error("useCarousel must be used within a <Carousel />");
55
56
  return e;
56
57
  }
57
58
  //#endregion
58
59
  //#region src/components/ui/carousel/Carousel.vue
59
- var P = /* @__PURE__ */ p({
60
+ var F = /* @__PURE__ */ m({
60
61
  __name: "Carousel",
61
62
  props: {
62
63
  opts: {},
@@ -72,14 +73,14 @@ var P = /* @__PURE__ */ p({
72
73
  },
73
74
  emits: ["init-api"],
74
75
  setup(t, { expose: n, emit: r }) {
75
- let i = t, { canScrollNext: a, canScrollPrev: o, carouselApi: s, carouselRef: c, orientation: l, scrollNext: d, scrollPrev: f } = j(i, r);
76
+ let i = t, { canScrollNext: a, canScrollPrev: o, carouselApi: s, carouselRef: c, orientation: l, scrollNext: u, scrollPrev: f } = M(i, r);
76
77
  n({
77
78
  canScrollNext: a,
78
79
  canScrollPrev: o,
79
80
  carouselApi: s,
80
81
  carouselRef: c,
81
82
  orientation: l,
82
- scrollNext: d,
83
+ scrollNext: u,
83
84
  scrollPrev: f
84
85
  });
85
86
  function p(e) {
@@ -88,26 +89,26 @@ var P = /* @__PURE__ */ p({
88
89
  e.preventDefault(), f();
89
90
  return;
90
91
  }
91
- e.key === n && (e.preventDefault(), d());
92
+ e.key === n && (e.preventDefault(), u());
92
93
  }
93
- return (t, n) => (_(), u("div", {
94
+ return (t, n) => (v(), d("div", {
94
95
  "data-slot": "carousel",
95
- class: h(C(e)("relative", i.class)),
96
+ class: g(w(e)("relative", i.class)),
96
97
  role: "region",
97
98
  "aria-roledescription": "carousel",
98
99
  tabindex: "0",
99
100
  onKeydown: p
100
- }, [b(t.$slots, "default", {
101
- canScrollNext: C(a),
102
- canScrollPrev: C(o),
103
- carouselApi: C(s),
104
- carouselRef: C(c),
105
- orientation: C(l),
106
- scrollNext: C(d),
107
- scrollPrev: C(f)
101
+ }, [x(t.$slots, "default", {
102
+ canScrollNext: w(a),
103
+ canScrollPrev: w(o),
104
+ carouselApi: w(s),
105
+ carouselRef: w(c),
106
+ orientation: w(l),
107
+ scrollNext: w(u),
108
+ scrollPrev: w(f)
108
109
  })], 34));
109
110
  }
110
- }), F = /* @__PURE__ */ p({
111
+ }), I = /* @__PURE__ */ m({
111
112
  inheritAttrs: !1,
112
113
  __name: "CarouselContent",
113
114
  props: { class: { type: [
@@ -118,20 +119,20 @@ var P = /* @__PURE__ */ p({
118
119
  Array
119
120
  ] } },
120
121
  setup(t, { expose: n }) {
121
- let r = t, { carouselRef: i, orientation: a } = N();
122
- return n({ carouselRef: i }), (t, n) => (_(), u("div", {
122
+ let r = t, { carouselRef: i, orientation: a } = P();
123
+ return n({ carouselRef: i }), (t, n) => (v(), d("div", {
123
124
  ref_key: "carouselRef",
124
125
  ref: i,
125
126
  "data-slot": "carousel-content",
126
127
  class: "overflow-hidden"
127
- }, [d("div", m({ class: C(e)("flex", C(a) === "horizontal" ? "-ml-4" : "-mt-4 flex-col", r.class) }, t.$attrs), [b(t.$slots, "default")], 16)], 512));
128
+ }, [f("div", h({ class: w(e)("flex", w(a) === "horizontal" ? "-ml-4" : "-mt-4 flex-col", r.class) }, t.$attrs), [x(t.$slots, "default")], 16)], 512));
128
129
  }
129
- }), I = ["aria-orientation"], L = [
130
+ }), L = ["aria-orientation"], R = [
130
131
  "aria-selected",
131
132
  "aria-label",
132
133
  "data-active",
133
134
  "onClick"
134
- ], R = /* @__PURE__ */ p({
135
+ ], z = /* @__PURE__ */ o(/* @__PURE__ */ m({
135
136
  __name: "CarouselDots",
136
137
  props: { class: { type: [
137
138
  Boolean,
@@ -141,35 +142,35 @@ var P = /* @__PURE__ */ p({
141
142
  Array
142
143
  ] } },
143
144
  setup(t) {
144
- let n = t, { carouselApi: r, orientation: i } = N(), a = v(0), s = v(0);
145
+ let n = t, { carouselApi: r, orientation: i } = P(), a = y(0), o = y(0);
145
146
  function c() {
146
147
  let e = r.value;
147
- e && (a.value = e.selectedScrollSnap(), s.value = e.scrollSnapList().length);
148
+ e && (a.value = e.selectedScrollSnap(), o.value = e.scrollSnapList().length);
148
149
  }
149
- function d(e) {
150
+ function l(e) {
150
151
  r.value?.scrollTo(e);
151
152
  }
152
- return w(r, (e) => {
153
+ return T(r, (e) => {
153
154
  e && (c(), e.on("select", c), e.on("reInit", c));
154
- }, { immediate: !0 }), g(c), (t, r) => s.value > 0 ? (_(), u("div", {
155
+ }, { immediate: !0 }), _(c), (t, r) => o.value > 0 ? (v(), d("div", {
155
156
  key: 0,
156
157
  "data-slot": "carousel-dots",
157
158
  role: "tablist",
158
- "aria-orientation": C(i),
159
- class: h(C(e)("inline-flex items-center justify-center gap-1.5", C(i) === "vertical" && "flex-col", n.class))
160
- }, [(_(!0), u(o, null, y(s.value, (t) => (_(), u("button", {
161
- key: t - 1,
159
+ "aria-orientation": w(i),
160
+ class: g(w(e)("carousel-dots inline-flex items-center justify-center gap-1.5", w(i) === "vertical" && "flex-col", n.class))
161
+ }, [(v(!0), d(s, null, b(o.value, (e) => (v(), d("button", {
162
+ key: e - 1,
162
163
  type: "button",
163
164
  role: "tab",
164
- "aria-selected": t - 1 === a.value,
165
- "aria-label": `Go to slide ${t}`,
166
- "data-active": t - 1 === a.value ? "" : void 0,
165
+ "aria-selected": e - 1 === a.value,
166
+ "aria-label": `Go to slide ${e}`,
167
+ "data-active": e - 1 === a.value ? "" : void 0,
167
168
  "data-slot": "carousel-dot",
168
- class: h(["focus-ring rounded-pill cursor-pointer transition-[background-color,transform,width,height,box-shadow] duration-fast", C(e)(C(i) === "vertical" ? "w-1.5" : "h-1.5", t - 1 === a.value ? C(i) === "vertical" ? "h-6 bg-foreground scale-[var(--scale-hover)]" : "w-6 bg-foreground scale-[var(--scale-hover)]" : C(i) === "vertical" ? "h-1.5 bg-muted-medium hover:bg-foreground/50" : "w-1.5 bg-muted-medium hover:bg-foreground/50")]),
169
- onClick: (e) => d(t - 1)
170
- }, null, 10, L))), 128))], 10, I)) : l("", !0);
169
+ class: "carousel-dot focus-ring tap-squish",
170
+ onClick: (t) => l(e - 1)
171
+ }, null, 8, R))), 128))], 10, L)) : u("", !0);
171
172
  }
172
- }), z = /* @__PURE__ */ p({
173
+ }), [["__scopeId", "data-v-18c34cd8"]]), B = /* @__PURE__ */ m({
173
174
  __name: "CarouselItem",
174
175
  props: { class: { type: [
175
176
  Boolean,
@@ -179,15 +180,15 @@ var P = /* @__PURE__ */ p({
179
180
  Array
180
181
  ] } },
181
182
  setup(t) {
182
- let n = t, { orientation: r } = N();
183
- return (t, i) => (_(), u("div", {
183
+ let n = t, { orientation: r } = P();
184
+ return (t, i) => (v(), d("div", {
184
185
  "data-slot": "carousel-item",
185
186
  role: "group",
186
187
  "aria-roledescription": "slide",
187
- class: h(C(e)("min-w-0 shrink-0 grow-0 basis-full", C(r) === "horizontal" ? "pl-4" : "pt-4", n.class))
188
- }, [b(t.$slots, "default")], 2));
188
+ class: g(w(e)("min-w-0 shrink-0 grow-0 basis-full", w(r) === "horizontal" ? "pl-4" : "pt-4", n.class))
189
+ }, [x(t.$slots, "default")], 2));
189
190
  }
190
- }), B = /* @__PURE__ */ p({
191
+ }), V = /* @__PURE__ */ m({
191
192
  __name: "CarouselNext",
192
193
  props: {
193
194
  variant: { default: "outline" },
@@ -201,16 +202,16 @@ var P = /* @__PURE__ */ p({
201
202
  ] }
202
203
  },
203
204
  setup(t) {
204
- let n = t, { orientation: r, canScrollNext: i, scrollNext: o } = N();
205
- return (s, l) => (_(), c(C(a), {
205
+ let n = t, { orientation: r, canScrollNext: i, scrollNext: o } = P();
206
+ return (s, c) => (v(), l(w(a), {
206
207
  "data-slot": "carousel-next",
207
- disabled: !C(i),
208
- class: h(C(e)("absolute h-[var(--carousel-nav-size)] w-[var(--carousel-nav-size)] rounded-pill", C(r) === "horizontal" ? "top-1/2 -translate-y-1/2 right-[calc(-1*var(--carousel-nav-offset))]" : "left-1/2 -translate-x-1/2 rotate-90 bottom-[calc(-1*var(--carousel-nav-offset))]", n.class)),
208
+ disabled: !w(i),
209
+ class: g(w(e)("absolute h-[var(--carousel-nav-size)] w-[var(--carousel-nav-size)] rounded-pill", w(r) === "horizontal" ? "top-1/2 -translate-y-1/2 right-[calc(-1*var(--carousel-nav-offset))]" : "left-1/2 -translate-x-1/2 rotate-90 bottom-[calc(-1*var(--carousel-nav-offset))]", n.class)),
209
210
  variant: t.variant,
210
211
  size: t.size,
211
- onClick: C(o)
212
+ onClick: w(o)
212
213
  }, {
213
- default: T(() => [b(s.$slots, "default", {}, () => [f(C(k)), l[0] ||= d("span", { class: "sr-only" }, "Next Slide", -1)])]),
214
+ default: E(() => [x(s.$slots, "default", {}, () => [p(w(A)), c[0] ||= f("span", { class: "sr-only" }, "Next Slide", -1)])]),
214
215
  _: 3
215
216
  }, 8, [
216
217
  "disabled",
@@ -220,11 +221,11 @@ var P = /* @__PURE__ */ p({
220
221
  "onClick"
221
222
  ]));
222
223
  }
223
- }), V = {
224
+ }), H = {
224
225
  key: 0,
225
226
  "data-slot": "carousel-pager-counter",
226
227
  class: "rounded-pill border border-border bg-card px-3 py-1 text-mono-caption tabular-nums"
227
- }, H = /* @__PURE__ */ p({
228
+ }, U = /* @__PURE__ */ m({
228
229
  __name: "CarouselPager",
229
230
  props: {
230
231
  showCounter: {
@@ -240,44 +241,44 @@ var P = /* @__PURE__ */ p({
240
241
  ] }
241
242
  },
242
243
  setup(t) {
243
- let o = t, { carouselApi: d, canScrollNext: p, canScrollPrev: m, orientation: y, scrollNext: b, scrollPrev: E } = N(), D = v(0), O = v(0);
244
+ let o = t, { carouselApi: s, canScrollNext: f, canScrollPrev: m, orientation: h, scrollNext: b, scrollPrev: x } = P(), D = y(0), O = y(0);
244
245
  function k() {
245
- let e = d.value;
246
+ let e = s.value;
246
247
  e && (D.value = e.selectedScrollSnap(), O.value = e.scrollSnapList().length);
247
248
  }
248
- w(d, (e) => {
249
+ T(s, (e) => {
249
250
  e && (k(), e.on("select", k), e.on("reInit", k));
250
- }, { immediate: !0 }), g(k);
251
- let j = s(() => y === "vertical" ? i : A), M = s(() => y === "vertical" ? n : r);
252
- return (n, r) => (_(), u("div", {
251
+ }, { immediate: !0 }), _(k);
252
+ let A = c(() => h === "vertical" ? i : j), M = c(() => h === "vertical" ? n : r);
253
+ return (n, r) => (v(), d("div", {
253
254
  "data-slot": "carousel-pager",
254
- class: h(C(e)("inline-flex items-center gap-2", C(y) === "vertical" && "flex-col", o.class))
255
+ class: g(w(e)("inline-flex items-center gap-2", w(h) === "vertical" && "flex-col", o.class))
255
256
  }, [
256
- f(C(a), {
257
+ p(w(a), {
257
258
  variant: "ghost",
258
259
  size: "icon",
259
- disabled: !C(m),
260
- "aria-label": C(y) === "vertical" ? "Previous slide (up)" : "Previous slide",
260
+ disabled: !w(m),
261
+ "aria-label": w(h) === "vertical" ? "Previous slide (up)" : "Previous slide",
261
262
  "data-slot": "carousel-pager-prev",
262
- onClick: C(E)
263
+ onClick: w(x)
263
264
  }, {
264
- default: T(() => [(_(), c(x(j.value), { class: "size-4" }))]),
265
+ default: E(() => [(v(), l(S(A.value), { class: "size-4" }))]),
265
266
  _: 1
266
267
  }, 8, [
267
268
  "disabled",
268
269
  "aria-label",
269
270
  "onClick"
270
271
  ]),
271
- t.showCounter && O.value > 0 ? (_(), u("span", V, S(D.value + 1) + " / " + S(O.value), 1)) : l("", !0),
272
- f(C(a), {
272
+ t.showCounter && O.value > 0 ? (v(), d("span", H, C(D.value + 1) + " / " + C(O.value), 1)) : u("", !0),
273
+ p(w(a), {
273
274
  variant: "ghost",
274
275
  size: "icon",
275
- disabled: !C(p),
276
- "aria-label": C(y) === "vertical" ? "Next slide (down)" : "Next slide",
276
+ disabled: !w(f),
277
+ "aria-label": w(h) === "vertical" ? "Next slide (down)" : "Next slide",
277
278
  "data-slot": "carousel-pager-next",
278
- onClick: C(b)
279
+ onClick: w(b)
279
280
  }, {
280
- default: T(() => [(_(), c(x(M.value), { class: "size-4" }))]),
281
+ default: E(() => [(v(), l(S(M.value), { class: "size-4" }))]),
281
282
  _: 1
282
283
  }, 8, [
283
284
  "disabled",
@@ -286,7 +287,7 @@ var P = /* @__PURE__ */ p({
286
287
  ])
287
288
  ], 2));
288
289
  }
289
- }), U = /* @__PURE__ */ p({
290
+ }), W = /* @__PURE__ */ m({
290
291
  __name: "CarouselPrevious",
291
292
  props: {
292
293
  variant: { default: "outline" },
@@ -300,16 +301,16 @@ var P = /* @__PURE__ */ p({
300
301
  ] }
301
302
  },
302
303
  setup(t) {
303
- let n = t, { orientation: r, canScrollPrev: i, scrollPrev: o } = N();
304
- return (s, l) => (_(), c(C(a), {
304
+ let n = t, { orientation: r, canScrollPrev: i, scrollPrev: o } = P();
305
+ return (s, c) => (v(), l(w(a), {
305
306
  "data-slot": "carousel-previous",
306
- disabled: !C(i),
307
- class: h(C(e)("absolute h-[var(--carousel-nav-size)] w-[var(--carousel-nav-size)] rounded-pill", C(r) === "horizontal" ? "top-1/2 -translate-y-1/2 left-[calc(-1*var(--carousel-nav-offset))]" : "left-1/2 -translate-x-1/2 rotate-90 top-[calc(-1*var(--carousel-nav-offset))]", n.class)),
307
+ disabled: !w(i),
308
+ class: g(w(e)("absolute h-[var(--carousel-nav-size)] w-[var(--carousel-nav-size)] rounded-pill", w(r) === "horizontal" ? "top-1/2 -translate-y-1/2 left-[calc(-1*var(--carousel-nav-offset))]" : "left-1/2 -translate-x-1/2 rotate-90 top-[calc(-1*var(--carousel-nav-offset))]", n.class)),
308
309
  variant: t.variant,
309
310
  size: t.size,
310
- onClick: C(o)
311
+ onClick: w(o)
311
312
  }, {
312
- default: T(() => [b(s.$slots, "default", {}, () => [f(C(O)), l[0] ||= d("span", { class: "sr-only" }, "Previous Slide", -1)])]),
313
+ default: E(() => [x(s.$slots, "default", {}, () => [p(w(k)), c[0] ||= f("span", { class: "sr-only" }, "Previous Slide", -1)])]),
313
314
  _: 3
314
315
  }, 8, [
315
316
  "disabled",
@@ -319,11 +320,11 @@ var P = /* @__PURE__ */ p({
319
320
  "onClick"
320
321
  ]));
321
322
  }
322
- }), W = {
323
+ }), G = {
323
324
  key: 0,
324
325
  "data-slot": "glass-carousel-pager-counter",
325
326
  class: "rounded-pill border border-border bg-card px-3 py-1 text-mono-caption tabular-nums shadow-cartoon-sm"
326
- }, G = /* @__PURE__ */ p({
327
+ }, K = /* @__PURE__ */ m({
327
328
  __name: "GlassCarouselPager",
328
329
  props: {
329
330
  index: {},
@@ -351,44 +352,44 @@ var P = /* @__PURE__ */ p({
351
352
  "select"
352
353
  ],
353
354
  setup(t, { emit: o }) {
354
- let d = t, p = o, m = s(() => d.loop ? d.total > 1 : d.index > 0), g = s(() => d.loop ? d.total > 1 : d.index < d.total - 1);
355
- function v() {
356
- m.value && (d.loop ? p("select", (d.index - 1 + d.total) % d.total) : (p("prev"), p("select", Math.max(0, d.index - 1))));
355
+ let s = t, f = o, m = c(() => s.loop ? s.total > 1 : s.index > 0), h = c(() => s.loop ? s.total > 1 : s.index < s.total - 1);
356
+ function _() {
357
+ m.value && (s.loop ? f("select", (s.index - 1 + s.total) % s.total) : (f("prev"), f("select", Math.max(0, s.index - 1))));
357
358
  }
358
359
  function y() {
359
- g.value && (d.loop ? p("select", (d.index + 1) % d.total) : (p("next"), p("select", Math.min(d.total - 1, d.index + 1))));
360
+ h.value && (s.loop ? f("select", (s.index + 1) % s.total) : (f("next"), f("select", Math.min(s.total - 1, s.index + 1))));
360
361
  }
361
- let w = s(() => d.orientation === "vertical" ? i : A), E = s(() => d.orientation === "vertical" ? n : r);
362
- return (n, r) => (_(), u("div", {
362
+ let b = c(() => s.orientation === "vertical" ? i : j), T = c(() => s.orientation === "vertical" ? n : r);
363
+ return (n, r) => (v(), d("div", {
363
364
  "data-slot": "glass-carousel-pager",
364
- class: h(C(e)("inline-flex items-center gap-2", t.orientation === "vertical" && "flex-col", "max-md:flex-wrap max-md:justify-center max-md:gap-2", d.class))
365
+ class: g(w(e)("inline-flex items-center gap-2", t.orientation === "vertical" && "flex-col", "max-md:flex-wrap max-md:justify-center max-md:gap-2", s.class))
365
366
  }, [
366
- f(C(a), {
367
+ p(w(a), {
367
368
  variant: "outline",
368
369
  size: "icon",
369
370
  disabled: !m.value,
370
371
  "aria-label": t.orientation === "vertical" ? "Previous slide (up)" : "Previous slide",
371
372
  "data-slot": "glass-carousel-pager-prev",
372
- onClick: v
373
+ onClick: _
373
374
  }, {
374
- default: T(() => [(_(), c(x(w.value), { class: "size-4" }))]),
375
+ default: E(() => [(v(), l(S(b.value), { class: "size-4" }))]),
375
376
  _: 1
376
377
  }, 8, ["disabled", "aria-label"]),
377
- t.showCounter && t.total > 0 ? (_(), u("span", W, S(t.index + 1) + " / " + S(t.total), 1)) : l("", !0),
378
- f(C(a), {
378
+ t.showCounter && t.total > 0 ? (v(), d("span", G, C(t.index + 1) + " / " + C(t.total), 1)) : u("", !0),
379
+ p(w(a), {
379
380
  variant: "outline",
380
381
  size: "icon",
381
- disabled: !g.value,
382
+ disabled: !h.value,
382
383
  "aria-label": t.orientation === "vertical" ? "Next slide (down)" : "Next slide",
383
384
  "data-slot": "glass-carousel-pager-next",
384
385
  onClick: y
385
386
  }, {
386
- default: T(() => [(_(), c(x(E.value), { class: "size-4" }))]),
387
+ default: E(() => [(v(), l(S(T.value), { class: "size-4" }))]),
387
388
  _: 1
388
389
  }, 8, ["disabled", "aria-label"]),
389
- b(n.$slots, "trailing")
390
+ x(n.$slots, "trailing")
390
391
  ], 2));
391
392
  }
392
393
  });
393
394
  //#endregion
394
- export { P as Carousel, F as CarouselContent, R as CarouselDots, z as CarouselItem, B as CarouselNext, H as CarouselPager, U as CarouselPrevious, G as GlassCarouselPager, N as useCarousel };
395
+ export { F as Carousel, I as CarouselContent, z as CarouselDots, B as CarouselItem, V as CarouselNext, U as CarouselPager, W as CarouselPrevious, K as GlassCarouselPager, P as useCarousel };
@@ -1,4 +1,4 @@
1
- import { t as e } from "./createLucideIcon-DuDoe_ra.js";
1
+ import { t as e } from "./createLucideIcon-B6uNAU9G.js";
2
2
  var t = e("check", [["path", {
3
3
  d: "M20 6 9 17l-5-5",
4
4
  key: "1gmf2c"
@@ -1,4 +1,4 @@
1
- import { t as e } from "./createLucideIcon-DuDoe_ra.js";
1
+ import { t as e } from "./createLucideIcon-B6uNAU9G.js";
2
2
  var t = e("chevron-down", [["path", {
3
3
  d: "m6 9 6 6 6-6",
4
4
  key: "qrunsl"
@@ -1,4 +1,4 @@
1
- import { t as e } from "./createLucideIcon-DuDoe_ra.js";
1
+ import { t as e } from "./createLucideIcon-B6uNAU9G.js";
2
2
  var t = e("chevron-right", [["path", {
3
3
  d: "m9 18 6-6-6-6",
4
4
  key: "mthhwq"
@@ -1,4 +1,4 @@
1
- import { t as e } from "./createLucideIcon-DuDoe_ra.js";
1
+ import { t as e } from "./createLucideIcon-B6uNAU9G.js";
2
2
  var t = e("chevron-up", [["path", {
3
3
  d: "m18 15-6-6-6 6",
4
4
  key: "153udz"
@@ -1,2 +1,2 @@
1
- import { n as e, r as t, t as n } from "./CollapsibleContent-cauTbZEM.js";
1
+ import { n as e, r as t, t as n } from "./CollapsibleContent-CP9qF1v4.js";
2
2
  export { t as Collapsible, n as CollapsibleContent, e as CollapsibleTrigger };