@mkbabb/glass-ui 2.1.0 → 3.1.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 (194) hide show
  1. package/dist/{CardFooter-Yi0xtLLd.js → CardFooter-CSGcJkqa.js} +1 -1
  2. package/dist/{CommandShortcut-_INFUMu6.js → CommandShortcut-DWT19a2Y.js} +3 -3
  3. package/dist/{ContextMenuSubContent-DCkweFW9.js → ContextMenuSubContent-gAFxJ-qi.js} +1 -1
  4. package/dist/{DataTable-Ce00dbHD.js → DataTable-R8-Zidms.js} +3 -3
  5. package/dist/{DialogContent-CmCijgX9.js → DialogContent-2fALDSvc.js} +3 -3
  6. package/dist/{DialogFooter-DRdaCok0.js → DialogFooter-ClrNEOVU.js} +2 -2
  7. package/dist/{DiscoGlyph-wRA02zAJ.js → DiscoGlyph-C3JfMnRV.js} +1 -1
  8. package/dist/{GlyphFace-BnPMUZ16.js → GlyphFace-BRS8vUb7.js} +1 -1
  9. package/dist/HoverPopover-CWFCfLx3.js +96 -0
  10. package/dist/{IconTooltip-ge_mBSWR.js → IconTooltip-BkaA7tZ2.js} +1 -1
  11. package/dist/{Input-CbakTe3B.js → Input-DDpFn568.js} +3 -5
  12. package/dist/Label-DJty89bp.js +36 -0
  13. package/dist/{MetricBadge-DRBB18Xq.js → MetricBadge-DmAihkXd.js} +1 -1
  14. package/dist/{Notification-DrI1DT2v.js → Notification-OqIpADml.js} +2 -2
  15. package/dist/NumberFieldContent-DTH9gb_N.js +141 -0
  16. package/dist/{PopoverContent-BCH4eYs8.js → PopoverContent-EiklFrna.js} +1 -1
  17. package/dist/{Progress-CCH-2UBR.js → Progress-FApA9fm_.js} +1 -1
  18. package/dist/{ScrollingText-7P8skg5W.js → ScrollingText-BFd0i2zJ.js} +2 -2
  19. package/dist/{SelectScrollDownButton-yu8EYUnu.js → SelectScrollDownButton-Dth8-wXQ.js} +2 -2
  20. package/dist/{Toaster-DY8_jtHv.js → Toaster-Bjlunvq4.js} +69 -58
  21. package/dist/UnderlineTabs-DAWMLmJG.js +37 -0
  22. package/dist/animated-digit.js +2 -2
  23. package/dist/api/index.d.ts +2 -0
  24. package/dist/api.js +1 -1
  25. package/dist/aurora.js +103 -90
  26. package/dist/badge.js +1 -1
  27. package/dist/{button-BlOW34DT.js → button-C0aHmBbt.js} +2 -0
  28. package/dist/button.js +1 -1
  29. package/dist/card.js +1 -1
  30. package/dist/carousel.js +1 -1
  31. package/dist/collapsible.js +1 -1
  32. package/dist/command.js +1 -1
  33. package/dist/components/custom/aurora/composables/runtime.d.ts +24 -1
  34. package/dist/components/custom/dialog-native/GlassDialogNative.vue.d.ts +57 -0
  35. package/dist/components/custom/dialog-native/index.d.ts +1 -0
  36. package/dist/components/custom/dock/composables/useLayerTransition.d.ts +20 -10
  37. package/dist/components/custom/hover-popover/HoverPopover.vue.d.ts +26 -4
  38. package/dist/components/custom/labeled-field/LabeledField.vue.d.ts +16 -2
  39. package/dist/components/custom/labeled-field/LabeledInput.vue.d.ts +17 -1
  40. package/dist/components/custom/labeled-field/LabeledSelect.vue.d.ts +2 -0
  41. package/dist/components/custom/labeled-field/LabeledSlider.vue.d.ts +2 -0
  42. package/dist/components/custom/labeled-field/LabeledSwitch.vue.d.ts +2 -0
  43. package/dist/components/custom/toggle-chip/ToggleChip.vue.d.ts +6 -4
  44. package/dist/components/ui/input/Input.vue.d.ts +10 -7
  45. package/dist/components/ui/label/Label.vue.d.ts +8 -0
  46. package/dist/components/ui/textarea/Textarea.vue.d.ts +45 -8
  47. package/dist/components/ui/toast/Toaster.vue.d.ts +7 -1
  48. package/dist/components/ui/toast/index.d.ts +1 -0
  49. package/dist/composables/dark/index.d.ts +1 -0
  50. package/dist/composables/dom/index.d.ts +2 -0
  51. package/dist/composables/dom/useIdleReady.d.ts +63 -0
  52. package/dist/composables/dom/useUserInvalidAria.d.ts +32 -0
  53. package/dist/composables/index.d.ts +1 -0
  54. package/dist/composables/motion/core/index.d.ts +8 -0
  55. package/dist/composables/motion/index.d.ts +0 -7
  56. package/dist/composables/motion/supportsCssTimeline.d.ts +8 -0
  57. package/dist/composables/motion/useRAFLoop.d.ts +7 -0
  58. package/dist/composables/motion/useScrollProgress.d.ts +6 -2
  59. package/dist/composables/motion/useStaggerReveal.d.ts +6 -0
  60. package/dist/composables/motion/useViewTransition.d.ts +31 -0
  61. package/dist/composables/motion/useYieldToMain.d.ts +29 -0
  62. package/dist/configurator.js +1 -1
  63. package/dist/confirm-dialog.js +2 -2
  64. package/dist/constants-DwBwnG8N.js +13 -0
  65. package/dist/context-menu.js +2 -2
  66. package/dist/controls.js +2 -2
  67. package/dist/dark.d.ts +1 -1
  68. package/dist/dark.js +13 -2
  69. package/dist/data-table.js +1 -1
  70. package/dist/dialog.js +2 -2
  71. package/dist/disco-glyph.js +1 -1
  72. package/dist/dock.js +195 -176
  73. package/dist/dom.js +5 -4
  74. package/dist/{dropdown-menu-2K-SGkZU.js → dropdown-menu-BvRUamNs.js} +2 -2
  75. package/dist/dropdown-menu.js +1 -1
  76. package/dist/expandable-container.js +3 -3
  77. package/dist/forms.d.ts +1 -0
  78. package/dist/forms.js +47 -42
  79. package/dist/glass-carousel.js +1 -1
  80. package/dist/glass-panel.js +2 -2
  81. package/dist/glass-ui.css +1 -1
  82. package/dist/glass-ui.js +156 -275
  83. package/dist/glyph-face.js +2 -2
  84. package/dist/header-ribbon.js +1 -1
  85. package/dist/hover-card.js +1 -1
  86. package/dist/hover-popover.js +1 -1
  87. package/dist/icon-tooltip.js +1 -1
  88. package/dist/index.d.ts +1 -0
  89. package/dist/instrument-chassis.js +1 -1
  90. package/dist/instrument-rail.js +1 -1
  91. package/dist/keyboard.js +1 -1
  92. package/dist/label.js +1 -1
  93. package/dist/labeled-field.js +96 -57
  94. package/dist/metric-badge.js +1 -1
  95. package/dist/metric-stack.js +1 -1
  96. package/dist/motion-core.d.ts +1 -0
  97. package/dist/motion-core.js +229 -0
  98. package/dist/motion.js +26 -228
  99. package/dist/notification.js +1 -1
  100. package/dist/number-field.d.ts +1 -0
  101. package/dist/number-field.js +2 -0
  102. package/dist/paper-backdrop.js +1 -1
  103. package/dist/popover.js +1 -1
  104. package/dist/progress.js +1 -1
  105. package/dist/pulse.js +1 -1
  106. package/dist/reactive.js +2 -2
  107. package/dist/responsive-tabs.js +3 -3
  108. package/dist/scrolling-text.js +1 -1
  109. package/dist/search.js +6 -6
  110. package/dist/select.js +3 -3
  111. package/dist/separator.js +1 -1
  112. package/dist/{sheet-CLVkb3AO.js → sheet-CukNDezz.js} +53 -53
  113. package/dist/sheet.js +1 -1
  114. package/dist/{slider-BQaLYFLh.js → slider-DJvHkTRe.js} +3 -3
  115. package/dist/slider.js +1 -1
  116. package/dist/sortable-list.js +2 -2
  117. package/dist/styles/animations.css +77 -0
  118. package/dist/styles/cards.css +6 -2
  119. package/dist/styles/dock.css +109 -109
  120. package/dist/styles/drawer.css +2 -2
  121. package/dist/styles/glass.css +89 -6
  122. package/dist/styles/index.css +10 -1
  123. package/dist/styles/instrument-chassis.css +28 -1
  124. package/dist/styles/scroll-driven.css +72 -0
  125. package/dist/styles/theme.css +6 -0
  126. package/dist/styles/tokens.css +345 -289
  127. package/dist/styles/typography.css +65 -131
  128. package/dist/styles/utilities.css +199 -81
  129. package/dist/styles/view-transition.css +62 -0
  130. package/dist/switch.d.ts +1 -0
  131. package/dist/switch.js +2 -0
  132. package/dist/tabs.js +40 -36
  133. package/dist/timeline.js +2 -2
  134. package/dist/toast.js +1 -1
  135. package/dist/toggle-group.js +1 -1
  136. package/dist/tooltip.js +1 -1
  137. package/dist/typewriter.js +1 -1
  138. package/dist/{useAnimatedNumber-DcvTR9B4.js → useAnimatedNumber-DKQYVB7s.js} +9 -20
  139. package/dist/{useConfiguratorState-BlaevW0S.js → useConfiguratorState-BR5vUDL8.js} +5 -5
  140. package/dist/{useBreakpoint-BHlX-MhR.js → useIdleReady-Cmkhm03v.js} +30 -2
  141. package/dist/{useTouchGate-BhhEMlwJ.js → useTouchGate-D9Zvrzyc.js} +1 -1
  142. package/dist/useUserInvalidAria-DVu1eTXG.js +29 -0
  143. package/dist/useViewTransition-DYIK6Gzb.js +16 -0
  144. package/dist/utils/index.d.ts +1 -0
  145. package/dist/utils/moveBefore.d.ts +15 -0
  146. package/package.json +27 -6
  147. package/src/styles/animations.css +77 -0
  148. package/src/styles/cards.css +6 -2
  149. package/src/styles/dock.css +109 -109
  150. package/src/styles/drawer.css +2 -2
  151. package/src/styles/glass.css +89 -6
  152. package/src/styles/index.css +10 -1
  153. package/src/styles/instrument-chassis.css +28 -1
  154. package/src/styles/scroll-driven.css +72 -0
  155. package/src/styles/theme.css +6 -0
  156. package/src/styles/tokens.css +345 -289
  157. package/src/styles/typography.css +65 -131
  158. package/src/styles/utilities.css +199 -81
  159. package/src/styles/view-transition.css +62 -0
  160. package/dist/HoverPopover-Btv4RQfv.js +0 -80
  161. package/dist/Label-C8QMJSsf.js +0 -32
  162. package/dist/UnderlineTabs-BtrUcXn-.js +0 -64
  163. package/dist/composables/motion/useSpringOrchestrator.d.ts +0 -15
  164. /package/dist/{CollapsibleContent-DHRuXE3P.js → CollapsibleContent-CVMOcYlV.js} +0 -0
  165. /package/dist/{ContextMenuContent-CvXfU5qz.js → ContextMenuContent-otjFIu8v.js} +0 -0
  166. /package/dist/{HoverCardContent-4nN5-5bz.js → HoverCardContent-DaGrgJBO.js} +0 -0
  167. /package/dist/{InstrumentChassis-DOaVYyWq.js → InstrumentChassis-CnHTMxds.js} +0 -0
  168. /package/dist/{InstrumentRail-jHDqXj70.js → InstrumentRail-C6dEbi8E.js} +0 -0
  169. /package/dist/{ModalOverlay-DKLVY-cj.js → ModalOverlay-iWiAgbYH.js} +0 -0
  170. /package/dist/{PaperBackdrop-Bc2drCqJ.js → PaperBackdrop-CeZ-w0R0.js} +0 -0
  171. /package/dist/{SelectGroup-O69GTQ77.js → SelectGroup-DdR4tdDY.js} +0 -0
  172. /package/dist/{SelectSeparator-GTHxKO0a.js → SelectSeparator-CXm_hlqA.js} +0 -0
  173. /package/dist/{Separator-_NCypg_C.js → Separator-D8AUMhxY.js} +0 -0
  174. /package/dist/{Switch-CL0uxu8F.js → Switch-Cr1t_F_U.js} +0 -0
  175. /package/dist/{ToggleGroupItem-BYG_8M9M.js → ToggleGroupItem-OesUouE7.js} +0 -0
  176. /package/dist/{TooltipProvider-C5QLSPto.js → TooltipProvider-DE78vbEP.js} +0 -0
  177. /package/dist/{_plugin-vue_export-helper-n-_DRHWS.js → _plugin-vue_export-helper-Dq1MygBL.js} +0 -0
  178. /package/dist/{badge-BbxVKZfw.js → badge-x46my_Fo.js} +0 -0
  179. /package/dist/composables/{motion → dark}/installDarkModeSync.d.ts +0 -0
  180. /package/dist/{dockContext-BDGSrwsV.js → dockContext-D5NZCWJs.js} +0 -0
  181. /package/dist/{keys-DVkcUktU.js → keys-CaTQS-vx.js} +0 -0
  182. /package/dist/{menuItemVariants-B2nDL7zH.js → menuItemVariants-BsbGNq9C.js} +0 -0
  183. /package/dist/{presets-BMzCDrmR.js → presets-a-D93K1S.js} +0 -0
  184. /package/dist/{search-ocd8tmL9.js → search-DBAiUABx.js} +0 -0
  185. /package/dist/{useGlassRenderer-DMDdMH55.js → useGlassRenderer-Ds-nmrGz.js} +0 -0
  186. /package/dist/{useGlobalDark-PMiP5Jku.js → useGlobalDark-B0WvLJE3.js} +0 -0
  187. /package/dist/{useIntersectionPause-CXYfYg_C.js → useIntersectionPause-IY2CwPQb.js} +0 -0
  188. /package/dist/{useInterval-COlTCeVa.js → useInterval-DVgGUf_y.js} +0 -0
  189. /package/dist/{useKeyboardShortcuts-B1ev1YEC.js → useKeyboardShortcuts-Dpw_RUcB.js} +0 -0
  190. /package/dist/{useResizeObserver-F4aRR4Cj.js → useResizeObserver-Cg9npuM3.js} +0 -0
  191. /package/dist/{useSortable-Ck0rBJ4g.js → useSortable-Cq2Y1JLO.js} +0 -0
  192. /package/dist/{useSpringMount-BTRBNzXP.js → useSpringMount-Cfk1XK1R.js} +0 -0
  193. /package/dist/{useTimer-lp5NlH4w.js → useTimer-NAaj9zNq.js} +0 -0
  194. /package/dist/{x-cdWAmO-q.js → x-q7pJa83X.js} +0 -0
package/dist/dock.js CHANGED
@@ -1,11 +1,12 @@
1
1
  import { t as e } from "./cn-DJXf4yaB.js";
2
2
  import { t } from "./chevron-down-DILQA1t6.js";
3
- import { i as n, n as r, r as i, t as a } from "./dockContext-BDGSrwsV.js";
4
- import { t as o } from "./useTouchGate-BhhEMlwJ.js";
5
- 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, inject as h, mergeModels as g, mergeProps as _, nextTick as v, normalizeClass as y, normalizeStyle as b, onBeforeUnmount as x, onMounted as S, onUnmounted as C, openBlock as w, provide as T, ref as E, renderList as D, renderSlot as O, resolveDynamicComponent as k, toDisplayString as A, unref as j, useAttrs as M, useModel as N, useTemplateRef as P, watch as F, withCtx as I } from "vue";
6
- import { DropdownMenuTrigger as L, Primitive as R, SelectIcon as z, SelectTrigger as B, useForwardProps as V } from "reka-ui";
3
+ import { i as n, n as r, r as i, t as a } from "./dockContext-D5NZCWJs.js";
4
+ import { t as o } from "./useTouchGate-D9Zvrzyc.js";
5
+ import { t as s } from "./useViewTransition-DYIK6Gzb.js";
6
+ import { Fragment as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createVNode as m, defineComponent as h, inject as g, mergeModels as _, mergeProps as v, nextTick as y, normalizeClass as b, normalizeStyle as x, onBeforeUnmount as S, onMounted as C, onUnmounted as w, openBlock as T, provide as E, ref as D, renderList as O, renderSlot as k, resolveDynamicComponent as A, toDisplayString as j, unref as M, useAttrs as N, useId as P, useModel as F, useTemplateRef as I, watch as L, withCtx as R } from "vue";
7
+ import { DropdownMenuTrigger as z, Primitive as B, SelectIcon as V, SelectTrigger as H, useForwardProps as U } from "reka-ui";
7
8
  //#region src/components/custom/dock/composables/isTeleportedTarget.ts
8
- function H(e, t) {
9
+ function W(e, t) {
9
10
  if (!(e instanceof Element)) return !1;
10
11
  let n = e.closest("[data-glass-dock-portal]");
11
12
  return n ? t ? n.getAttribute("data-glass-dock-owner") === t : !0 : !1;
@@ -13,7 +14,7 @@ function H(e, t) {
13
14
  //#endregion
14
15
  //#region src/components/custom/dock/composables/useDockState.ts
15
16
  function ee(e) {
16
- let { collapseDelay: t = 2500, rootEl: n, alwaysExpanded: r = !1, isTransitioning: i, dockId: a, onStateChange: o } = e, s = () => typeof r == "boolean" ? r : r.value, l = s(), u = E(l ? "pinned" : "collapsed"), d = E(l), f = E(l), p = null, m = E(0), h = c(() => m.value > 0), g = null, _ = null, v = !1, y = u.value;
17
+ let { collapseDelay: t = 2500, rootEl: n, alwaysExpanded: r = !1, isTransitioning: i, dockId: a, onStateChange: o } = e, s = () => typeof r == "boolean" ? r : r.value, c = s(), u = D(c ? "pinned" : "collapsed"), d = D(c), f = D(c), p = null, m = D(0), h = l(() => m.value > 0), g = null, _ = null, v = !1, y = u.value;
17
18
  function b() {
18
19
  s() && (u.value = "pinned"), d.value = u.value !== "collapsed", f.value = u.value === "pinned", o && y !== u.value && o(u.value, y), y = u.value;
19
20
  }
@@ -23,15 +24,15 @@ function ee(e) {
23
24
  function S() {
24
25
  _ !== null && (cancelAnimationFrame(_), _ = null);
25
26
  }
26
- function w() {
27
+ function C() {
27
28
  S(), g?.();
28
29
  }
29
30
  function T() {
30
31
  s() || m.value > 0 || (x(), p = setTimeout(() => {
31
- D(), u.value = "collapsed", b();
32
+ E(), u.value = "collapsed", b();
32
33
  }, t));
33
34
  }
34
- function D() {
35
+ function E() {
35
36
  typeof document > "u" || typeof PointerEvent > "u" || document.body.dispatchEvent(new PointerEvent("pointerdown", {
36
37
  bubbles: !0,
37
38
  composed: !0
@@ -42,7 +43,7 @@ function ee(e) {
42
43
  u.value = "pinned", b();
43
44
  return;
44
45
  }
45
- v ||= (v = !0, x(), D(), u.value = "collapsed", b(), !1);
46
+ v ||= (v = !0, x(), E(), u.value = "collapsed", b(), !1);
46
47
  }
47
48
  function k() {
48
49
  if (s()) {
@@ -59,7 +60,7 @@ function ee(e) {
59
60
  if (m.value > 0) return;
60
61
  if (e) {
61
62
  let t = n.value;
62
- if (t && e.relatedTarget instanceof Node && t.contains(e.relatedTarget) || H(e.relatedTarget, a)) return;
63
+ if (t && e.relatedTarget instanceof Node && t.contains(e.relatedTarget) || W(e.relatedTarget, a)) return;
63
64
  }
64
65
  T();
65
66
  }
@@ -70,7 +71,7 @@ function ee(e) {
70
71
  function N(e) {
71
72
  if (s() || u.value !== "hover" || m.value > 0) return;
72
73
  let t = e.currentTarget;
73
- e.relatedTarget && t.contains(e.relatedTarget) || H(e.relatedTarget, a) || T();
74
+ e.relatedTarget && t.contains(e.relatedTarget) || W(e.relatedTarget, a) || T();
74
75
  }
75
76
  function P() {
76
77
  if (s()) {
@@ -79,10 +80,10 @@ function ee(e) {
79
80
  }
80
81
  x(), u.value = "pinned", b();
81
82
  }
82
- function I() {
83
+ function F() {
83
84
  m.value++, x();
84
85
  }
85
- function L() {
86
+ function I() {
86
87
  m.value = Math.max(0, m.value - 1), m.value === 0 && u.value === "hover" && (x(), p = setTimeout(() => {
87
88
  m.value === 0 && u.value === "hover" && T();
88
89
  }, Math.min(t, 800)));
@@ -90,22 +91,22 @@ function ee(e) {
90
91
  function R(e) {
91
92
  if (s() || i?.value) return;
92
93
  let t = n.value;
93
- !t || t.contains(e.target) || H(e.target, a) || O();
94
+ !t || t.contains(e.target) || W(e.target, a) || O();
94
95
  }
95
- return F(d, (e) => {
96
- e ? (w(), _ = requestAnimationFrame(() => {
96
+ return L(d, (e) => {
97
+ e ? (C(), _ = requestAnimationFrame(() => {
97
98
  _ = null, d.value && (document.addEventListener("pointerdown", R, !0), g = () => {
98
99
  document.removeEventListener("pointerdown", R, !0), g = null;
99
100
  });
100
- })) : w();
101
- }), typeof r == "boolean" ? r && (u.value = "pinned", b()) : F(r, (e) => {
101
+ })) : C();
102
+ }), typeof r == "boolean" ? r && (u.value = "pinned", b()) : L(r, (e) => {
102
103
  if (e) {
103
104
  x(), u.value = "pinned", b();
104
105
  return;
105
106
  }
106
107
  u.value = "collapsed", b();
107
- }, { immediate: !0 }), C(() => {
108
- x(), w();
108
+ }, { immediate: !0 }), w(() => {
109
+ x(), C();
109
110
  }), {
110
111
  state: u,
111
112
  expanded: d,
@@ -116,68 +117,78 @@ function ee(e) {
116
117
  onFocusIn: M,
117
118
  onFocusOut: N,
118
119
  onClickCollapsed: P,
119
- keepOpen: I,
120
- release: L,
120
+ keepOpen: F,
121
+ release: I,
121
122
  expand: k,
122
123
  collapse: O
123
124
  };
124
125
  }
125
126
  //#endregion
126
127
  //#region src/components/custom/dock/composables/useLayerTransition.ts
127
- function U(e) {
128
- let { containerEl: t, activeLayer: n, axis: r } = e, i = c(() => r?.value === "vertical" ? "height" : "width"), a = (e) => e.getBoundingClientRect()[i.value], o = E(n.value), s = E(null), l = 0, u = null;
129
- function d(e) {
128
+ function G(e) {
129
+ let { containerEl: t, activeLayer: n, axis: r } = e, i = typeof document < "u" && "startViewTransition" in document, a = l(() => r?.value === "vertical" ? "height" : "width"), o = (e) => e.getBoundingClientRect()[a.value], c = D(n.value), u = D(null), d = 0, f = null;
130
+ function p(e) {
130
131
  let t = e.trim();
131
132
  return t ? t.endsWith("ms") ? Number.parseFloat(t) : t.endsWith("s") ? Number.parseFloat(t) * 1e3 : Number.parseFloat(t) || 0 : 0;
132
133
  }
133
- function f(e) {
134
- let t = getComputedStyle(e), n = t.transitionProperty.split(",").map((e) => e.trim()), r = t.transitionDuration.split(",").map(d), a = t.transitionDelay.split(",").map(d), o = r.map((e, t) => {
134
+ function m(e) {
135
+ let t = getComputedStyle(e), n = t.transitionProperty.split(",").map((e) => e.trim()), r = t.transitionDuration.split(",").map(p), i = t.transitionDelay.split(",").map(p), o = r.map((e, t) => {
135
136
  let r = n[t] ?? n[0] ?? "all";
136
- return r !== "all" && r !== i.value ? 0 : e + (a[t] ?? a[0] ?? 0);
137
+ return r !== "all" && r !== a.value ? 0 : e + (i[t] ?? i[0] ?? 0);
137
138
  });
138
139
  return Math.max(0, ...o) + 50;
139
140
  }
140
- function p() {
141
- u &&= (clearTimeout(u), null);
141
+ function h() {
142
+ f &&= (clearTimeout(f), null);
142
143
  }
143
- function m(e, t) {
144
- e.style.setProperty(i.value, t);
144
+ function g(e, t) {
145
+ e.style.setProperty(a.value, t);
145
146
  }
146
- function h(e) {
147
- e.style.removeProperty(i.value);
147
+ function _(e) {
148
+ e.style.removeProperty(a.value);
148
149
  }
149
- F(n, (e, n) => {
150
+ L(n, (e, n) => {
150
151
  if (e === n) return;
151
152
  let r = t.value;
152
153
  if (!r) {
153
- o.value = e, s.value = null;
154
+ c.value = e, u.value = null;
155
+ return;
156
+ }
157
+ if (i) {
158
+ h();
159
+ let t = ++d, { finished: r } = s(() => {
160
+ u.value = n, c.value = e;
161
+ });
162
+ r.finally(() => {
163
+ t === d && (u.value = null);
164
+ });
154
165
  return;
155
166
  }
156
- p();
157
- let i = ++l, c = a(r);
158
- m(r, `${c}px`), s.value = n, o.value = e, v(() => {
159
- if (i !== l || !r) return;
160
- r.style.transition = "none", h(r);
161
- let e = a(r);
162
- if (m(r, `${c}px`), r.offsetWidth, r.style.transition = "", requestAnimationFrame(() => {
163
- i === l && m(r, `${e}px`);
164
- }), Math.abs(e - c) < .5) {
165
- h(r), s.value = null;
167
+ h();
168
+ let a = ++d, l = o(r);
169
+ g(r, `${l}px`), u.value = n, c.value = e, y(() => {
170
+ if (a !== d || !r) return;
171
+ r.style.transition = "none", _(r);
172
+ let e = o(r);
173
+ if (g(r, `${l}px`), r.offsetWidth, r.style.transition = "", requestAnimationFrame(() => {
174
+ a === d && g(r, `${e}px`);
175
+ }), Math.abs(e - l) < .5) {
176
+ _(r), u.value = null;
166
177
  return;
167
178
  }
168
- u = setTimeout(() => {
169
- i === l && (h(r), s.value = null);
170
- }, f(r));
179
+ f = setTimeout(() => {
180
+ a === d && (_(r), u.value = null);
181
+ }, m(r));
171
182
  });
172
183
  });
173
- function g(e) {
184
+ function v(e) {
174
185
  let n = t.value;
175
- n && e.target === n && e.propertyName === i.value && (p(), h(n), s.value = null);
186
+ n && e.target === n && e.propertyName === a.value && (h(), _(n), u.value = null);
176
187
  }
177
- return C(p), {
178
- onTransitionEnd: g,
179
- currentLayer: o,
180
- leavingLayer: s
188
+ return w(h), {
189
+ onTransitionEnd: v,
190
+ currentLayer: c,
191
+ leavingLayer: u
181
192
  };
182
193
  }
183
194
  //#endregion
@@ -186,7 +197,7 @@ var te = [
186
197
  "data-density",
187
198
  "data-held",
188
199
  "data-container-name"
189
- ], ne = ["inert"], re = ["inert"], W = /* @__PURE__ */ m({
200
+ ], ne = ["inert"], re = ["inert"], K = /* @__PURE__ */ h({
190
201
  __name: "GlassDock",
191
202
  props: {
192
203
  collapseDelay: { default: 2e3 },
@@ -214,94 +225,97 @@ var te = [
214
225
  containerName: {}
215
226
  },
216
227
  setup(e, { expose: t }) {
217
- let n = 0, i = e, a = c(() => {
228
+ let n = 0, i = e, a = l(() => {
218
229
  if (i.containerName) return {
219
230
  "container-type": "inline-size",
220
231
  "container-name": i.containerName,
221
232
  overflow: "visible"
222
233
  };
223
- }), s = P("dockEl"), l = P("layersEl"), u = c(() => i.variant), p = c(() => i.shape), m = c(() => i.variant === "rail" || i.variant === "instrument-strip" ? "vertical" : i.orientation), h = c(() => i.density), g = c(() => i.alwaysExpanded || m.value === "vertical"), _ = c(() => i.fitContent || i.variant === "rail" || i.variant === "instrument-strip"), v = E(!1), C = o(i.collapseDelay), T = `glass-dock-${++n}`, D = null, { expanded: k, isPinned: A, isHeld: M, onMouseEnter: N, onMouseLeave: I, onFocusIn: L, onFocusOut: R, onClickCollapsed: z, keepOpen: B, release: V, expand: H, collapse: W } = ee({
234
+ }), s = I("dockEl"), c = I("layersEl"), u = l(() => i.variant), d = l(() => i.shape), m = l(() => i.variant === "rail" || i.variant === "instrument-strip" ? "vertical" : i.orientation), h = l(() => i.density), g = l(() => i.alwaysExpanded || m.value === "vertical"), _ = l(() => i.fitContent || i.variant === "rail" || i.variant === "instrument-strip"), v = D(!1), y = o(i.collapseDelay), w = `glass-dock-${++n}`, E = null, { expanded: O, isPinned: A, isHeld: j, onMouseEnter: N, onMouseLeave: P, onFocusIn: F, onFocusOut: R, onClickCollapsed: z, keepOpen: B, release: V, expand: H, collapse: U } = ee({
224
235
  collapseDelay: i.collapseDelay,
225
236
  rootEl: s,
226
237
  alwaysExpanded: g,
227
238
  isTransitioning: v,
228
- dockId: T
239
+ dockId: w
229
240
  });
230
241
  r({
231
- id: T,
242
+ id: w,
232
243
  orientation: m,
233
244
  keepOpen: B,
234
245
  release: V,
235
- held: M
236
- });
237
- let G = c(() => g.value || k.value), { onTransitionEnd: K } = U({
238
- containerEl: l,
239
- activeLayer: c(() => G.value ? "full" : "summary"),
240
- axis: c(() => "horizontal")
246
+ held: j
241
247
  });
242
- function q(e) {
248
+ let W = l(() => g.value || O.value), { onTransitionEnd: K } = G({
249
+ containerEl: c,
250
+ activeLayer: l(() => W.value ? "full" : "summary"),
251
+ axis: l(() => "horizontal")
252
+ }), q = typeof document < "u" && "startViewTransition" in document, J = l(() => q ? {
253
+ "view-transition-name": w.replace(/[^a-zA-Z0-9_-]/g, "-"),
254
+ "view-transition-class": "gl-dock-layer"
255
+ } : void 0);
256
+ function Y(e) {
243
257
  let t = e.trim();
244
258
  return t ? t.endsWith("ms") ? Number.parseFloat(t) : t.endsWith("s") ? Number.parseFloat(t) * 1e3 : Number.parseFloat(t) || 0 : 0;
245
259
  }
246
- function J(e) {
247
- let t = getComputedStyle(e), n = t.transitionDuration.split(",").map(q), r = t.transitionDelay.split(",").map(q);
260
+ function X(e) {
261
+ let t = getComputedStyle(e), n = t.transitionDuration.split(",").map(Y), r = t.transitionDelay.split(",").map(Y);
248
262
  return Math.max(0, ...n.map((e, t) => e + (r[t] ?? r[0] ?? 0)));
249
263
  }
250
- function Y() {
251
- D &&= (clearTimeout(D), null);
264
+ function Z() {
265
+ E &&= (clearTimeout(E), null);
252
266
  }
253
- function X() {
267
+ function ie() {
254
268
  let e = s.value;
255
- e && (Y(), v.value = !0, D = setTimeout(() => {
256
- v.value = !1, D = null;
257
- }, J(e) + 50));
269
+ e && (Z(), v.value = !0, E = setTimeout(() => {
270
+ v.value = !1, E = null;
271
+ }, X(e) + 50));
258
272
  }
259
- function Z(e) {
260
- e.target === s.value && (Y(), v.value = !1);
273
+ function Q(e) {
274
+ e.target === s.value && (Z(), v.value = !1);
261
275
  }
262
- S(() => {
276
+ C(() => {
263
277
  (i.alwaysExpanded || !i.startCollapsed) && H();
264
278
  });
265
- function Q() {
279
+ function $() {
266
280
  return m.value === "horizontal" && !g.value;
267
281
  }
268
- function ie(e) {
269
- if (!Q() || G.value) return;
282
+ function ae(e) {
283
+ if (!$() || W.value) return;
270
284
  let t = s.value, n = e.touches[0];
271
- !t || !n || C.handleTouchStart(t, n.clientY) || (e.preventDefault(), e.stopPropagation());
285
+ !t || !n || y.handleTouchStart(t, n.clientY) || (e.preventDefault(), e.stopPropagation());
272
286
  }
273
- function $(e) {
274
- Q() && C.handleScrollCheck(e);
287
+ function oe(e) {
288
+ $() && y.handleScrollCheck(e);
275
289
  }
276
- function ae(e) {
277
- if (!Q()) return;
278
- let t = C.isActive.value;
279
- C.handleTouchEnd(), !t && C.isActive.value && !G.value && (e.preventDefault(), e.stopPropagation(), H());
290
+ function se(e) {
291
+ if (!$()) return;
292
+ let t = y.isActive.value;
293
+ y.handleTouchEnd(), !t && y.isActive.value && !W.value && (e.preventDefault(), e.stopPropagation(), H());
280
294
  }
281
- return F(C.isActive, (e) => {
282
- !e && k.value && !A.value && !g.value && W();
283
- }), F(G, (e) => {
284
- X(), e || C.deactivate();
285
- }), x(Y), t({
286
- expanded: k,
295
+ return L(y.isActive, (e) => {
296
+ !e && O.value && !A.value && !g.value && U();
297
+ }), L(W, (e) => {
298
+ ie(), e || y.deactivate();
299
+ }), S(Z), t({
300
+ expanded: O,
287
301
  isPinned: A,
288
- isHeld: M,
302
+ isHeld: j,
289
303
  isTransitioning: v,
290
304
  expand: H,
291
- collapse: W,
305
+ collapse: U,
292
306
  keepOpen: B,
293
307
  release: V
294
- }), (t, n) => (w(), d("div", {
308
+ }), (t, n) => (T(), f("div", {
295
309
  ref_key: "dockEl",
296
310
  ref: s,
297
- class: y(["glass-dock", [
311
+ class: b(["glass-dock", [
298
312
  m.value,
299
313
  `variant-${u.value}`,
300
- `shape-${p.value}`,
314
+ `shape-${d.value}`,
301
315
  {
302
- expanded: G.value,
303
- collapsed: !G.value,
304
- pinned: j(A),
316
+ expanded: W.value,
317
+ collapsed: !W.value,
318
+ pinned: M(A),
305
319
  "fit-content": _.value,
306
320
  "always-expanded": g.value,
307
321
  "dock-wrap": e.wrap
@@ -309,52 +323,53 @@ var te = [
309
323
  e.position === "fixed" ? "fixed bottom-[var(--dock-pos)] left-1/2 -translate-x-1/2" : e.position === "sticky" ? "dock-sticky" : "dock-inline"
310
324
  ]]),
311
325
  "data-density": h.value,
312
- "data-held": j(M) || void 0,
326
+ "data-held": M(j) || void 0,
313
327
  "data-container-name": e.containerName || void 0,
314
- style: b(a.value),
315
- onMouseenter: n[2] ||= (...e) => j(N) && j(N)(...e),
316
- onMouseleave: n[3] ||= (e) => j(I)(e),
317
- onFocusin: n[4] ||= (...e) => j(L) && j(L)(...e),
318
- onFocusout: n[5] ||= (...e) => j(R) && j(R)(...e),
319
- onTouchstart: ie,
320
- onTouchmove: $,
321
- onTouchend: ae,
322
- onTransitionend: Z,
323
- onTransitioncancel: Z
324
- }, [m.value === "horizontal" ? (w(), d("div", {
328
+ style: x(a.value),
329
+ onMouseenter: n[2] ||= (...e) => M(N) && M(N)(...e),
330
+ onMouseleave: n[3] ||= (e) => M(P)(e),
331
+ onFocusin: n[4] ||= (...e) => M(F) && M(F)(...e),
332
+ onFocusout: n[5] ||= (...e) => M(R) && M(R)(...e),
333
+ onTouchstart: ae,
334
+ onTouchmove: oe,
335
+ onTouchend: se,
336
+ onTransitionend: Q,
337
+ onTransitioncancel: Q
338
+ }, [m.value === "horizontal" ? (T(), f("div", {
325
339
  key: 0,
326
340
  ref_key: "layersEl",
327
- ref: l,
341
+ ref: c,
328
342
  class: "dock-layers",
329
- onTransitionend: n[1] ||= (...e) => j(K) && j(K)(...e)
330
- }, [f("div", {
331
- class: y(["dock-layer dock-layer--full", { "layer-active": G.value }]),
332
- inert: !j(k) || void 0
333
- }, [O(t.$slots, "default")], 10, ne), f("div", {
334
- class: y(["dock-layer dock-layer--summary", { "layer-active": !G.value }]),
335
- inert: j(k) || void 0,
336
- onClick: n[0] ||= (...e) => j(z) && j(z)(...e)
337
- }, [O(t.$slots, "collapsed")], 10, re)], 544)) : O(t.$slots, "default", { key: 1 })], 46, te));
343
+ style: x(J.value),
344
+ onTransitionend: n[1] ||= (...e) => M(K) && M(K)(...e)
345
+ }, [p("div", {
346
+ class: b(["dock-layer dock-layer--full", { "layer-active": W.value }]),
347
+ inert: !M(O) || void 0
348
+ }, [k(t.$slots, "default")], 10, ne), p("div", {
349
+ class: b(["dock-layer dock-layer--summary", { "layer-active": !W.value }]),
350
+ inert: M(O) || void 0,
351
+ onClick: n[0] ||= (...e) => M(z) && M(z)(...e)
352
+ }, [k(t.$slots, "collapsed")], 10, re)], 36)) : k(t.$slots, "default", { key: 1 })], 46, te));
338
353
  }
339
- }), G = Symbol("glass-ui:dock-layer-group");
340
- function K(e) {
341
- T(G, e);
354
+ }), q = Symbol("glass-ui:dock-layer-group");
355
+ function J(e) {
356
+ E(q, e);
342
357
  }
343
- function q() {
344
- let e = h(G);
358
+ function Y() {
359
+ let e = g(q);
345
360
  if (!e) throw Error("[glass-ui:dock] <DockLayer> must be used inside <DockLayerGroup>");
346
361
  return e;
347
362
  }
348
363
  //#endregion
349
364
  //#region src/components/custom/dock/DockLayerGroup.vue?vue&type=script&setup=true&lang.ts
350
- var J = [
365
+ var X = [
351
366
  "title",
352
367
  "aria-label",
353
368
  "aria-pressed",
354
369
  "onClick"
355
- ], Y = { key: 1 }, X = { key: 2 }, Z = /* @__PURE__ */ m({
370
+ ], Z = { key: 1 }, ie = { key: 2 }, Q = /* @__PURE__ */ h({
356
371
  __name: "DockLayerGroup",
357
- props: /* @__PURE__ */ g({
372
+ props: /* @__PURE__ */ _({
358
373
  orientation: {},
359
374
  showRail: {
360
375
  type: Boolean,
@@ -367,49 +382,53 @@ var J = [
367
382
  }),
368
383
  emits: ["update:active"],
369
384
  setup(e) {
370
- let t = e, r = N(e, "active"), i = n(), a = E([]), o = P("containerEl");
371
- function p(e) {
385
+ let t = e, r = F(e, "active"), i = n(), a = D([]), o = I("containerEl");
386
+ function s(e) {
372
387
  a.value.find((t) => t.id === e.id) || a.value.push(e);
373
388
  }
374
389
  function m(e) {
375
390
  a.value = a.value.filter((t) => t.id !== e);
376
391
  }
377
- let h = c(() => t.orientation ?? i?.orientation.value ?? "horizontal"), { onTransitionEnd: g, currentLayer: _, leavingLayer: v } = U({
392
+ let h = l(() => t.orientation ?? i?.orientation.value ?? "horizontal"), { onTransitionEnd: g, currentLayer: _, leavingLayer: v } = G({
378
393
  containerEl: o,
379
394
  activeLayer: r,
380
395
  axis: h
381
- });
382
- K({
383
- register: p,
396
+ }), y = typeof document < "u" && "startViewTransition" in document, S = P(), C = l(() => y ? {
397
+ "view-transition-name": `gl-dock-stack-${(S ?? "0").replace(/[^a-zA-Z0-9_-]/g, "-")}`,
398
+ "view-transition-class": "gl-dock-layer"
399
+ } : void 0);
400
+ J({
401
+ register: s,
384
402
  unregister: m,
385
403
  currentLayerId: _,
386
404
  leavingLayerId: v
387
405
  });
388
- function b(e) {
406
+ function w(e) {
389
407
  return typeof e == "object" && !!e;
390
408
  }
391
- return (t, n) => (w(), d("div", { class: y(["dock-layer-group", [h.value, `rail-${e.railPosition}`]]) }, [e.showRail && a.value.length > 1 ? (w(), d("nav", {
409
+ return (t, n) => (T(), f("div", { class: b(["dock-layer-group", [h.value, `rail-${e.railPosition}`]]) }, [e.showRail && a.value.length > 1 ? (T(), f("nav", {
392
410
  key: 0,
393
- class: y(["dock-layer-rail", e.railPosition])
394
- }, [(w(!0), d(s, null, D(a.value, (e) => (w(), d("button", {
411
+ class: b(["dock-layer-rail", e.railPosition])
412
+ }, [(T(!0), f(c, null, O(a.value, (e) => (T(), f("button", {
395
413
  key: e.id,
396
414
  type: "button",
397
- class: y(["dock-layer-tab", { "is-active": r.value === e.id }]),
415
+ class: b(["dock-layer-tab", { "is-active": r.value === e.id }]),
398
416
  title: e.label,
399
417
  "aria-label": e.label ?? e.id,
400
418
  "aria-pressed": r.value === e.id,
401
419
  onClick: (t) => r.value = e.id
402
- }, [b(e.icon) ? (w(), l(k(e.icon), {
420
+ }, [w(e.icon) ? (T(), u(A(e.icon), {
403
421
  key: 0,
404
422
  class: "size-4"
405
- })) : typeof e.icon == "string" ? (w(), d("span", Y, A(e.icon), 1)) : (w(), d("span", X, A((e.label ?? e.id).charAt(0)), 1))], 10, J))), 128))], 2)) : u("", !0), f("div", {
423
+ })) : typeof e.icon == "string" ? (T(), f("span", Z, j(e.icon), 1)) : (T(), f("span", ie, j((e.label ?? e.id).charAt(0)), 1))], 10, X))), 128))], 2)) : d("", !0), p("div", {
406
424
  ref_key: "containerEl",
407
425
  ref: o,
408
426
  class: "dock-layer-stack",
409
- onTransitionend: n[0] ||= (...e) => j(g) && j(g)(...e)
410
- }, [O(t.$slots, "default")], 544)], 2));
427
+ style: x(C.value),
428
+ onTransitionend: n[0] ||= (...e) => M(g) && M(g)(...e)
429
+ }, [k(t.$slots, "default")], 36)], 2));
411
430
  }
412
- }), Q = ["inert"], ie = /* @__PURE__ */ m({
431
+ }), $ = ["inert"], ae = /* @__PURE__ */ h({
413
432
  __name: "DockLayer",
414
433
  props: {
415
434
  id: {},
@@ -417,26 +436,26 @@ var J = [
417
436
  icon: {}
418
437
  },
419
438
  setup(e) {
420
- let t = e, n = q();
421
- S(() => {
439
+ let t = e, n = Y();
440
+ C(() => {
422
441
  n.register({
423
442
  id: t.id,
424
443
  label: t.label,
425
444
  icon: t.icon
426
445
  });
427
- }), x(() => {
446
+ }), S(() => {
428
447
  n.unregister(t.id);
429
448
  });
430
- let r = c(() => n.currentLayerId.value === t.id), i = c(() => n.leavingLayerId.value === t.id);
431
- return (e, t) => (w(), d("div", {
432
- class: y(["dock-layer-item-host", {
449
+ let r = l(() => n.currentLayerId.value === t.id), i = l(() => n.leavingLayerId.value === t.id);
450
+ return (e, t) => (T(), f("div", {
451
+ class: b(["dock-layer-item-host", {
433
452
  "is-active": r.value,
434
453
  "is-leaving": i.value
435
454
  }]),
436
455
  inert: r.value ? void 0 : !0
437
- }, [O(e.$slots, "default")], 10, Q));
456
+ }, [k(e.$slots, "default")], 10, $));
438
457
  }
439
- }), $ = ["type"], ae = /* @__PURE__ */ m({
458
+ }), oe = ["type"], se = /* @__PURE__ */ h({
440
459
  __name: "DockIconButton",
441
460
  props: {
442
461
  compact: {
@@ -453,13 +472,13 @@ var J = [
453
472
  ] }
454
473
  },
455
474
  setup(t) {
456
- let n = t, r = c(() => e("dock-icon-button", { "dock-icon-button--compact": n.compact }, n.class));
457
- return (e, n) => (w(), d("button", {
475
+ let n = t, r = l(() => e("dock-icon-button", { "dock-icon-button--compact": n.compact }, n.class));
476
+ return (e, n) => (T(), f("button", {
458
477
  type: t.type,
459
- class: y(r.value)
460
- }, [O(e.$slots, "default")], 10, $));
478
+ class: b(r.value)
479
+ }, [k(e.$slots, "default")], 10, oe));
461
480
  }
462
- }), oe = /* @__PURE__ */ m({
481
+ }), ce = /* @__PURE__ */ h({
463
482
  __name: "DockTabButton",
464
483
  props: {
465
484
  as: { default: "button" },
@@ -476,13 +495,13 @@ var J = [
476
495
  ] }
477
496
  },
478
497
  setup(t) {
479
- let n = t, r = M(), i = c(() => r["data-tier"] === "primary"), a = c(() => e("dock-tab-button", i.value && "btn-audacious", n.class));
480
- return (e, n) => (w(), l(j(R), {
498
+ let n = t, r = N(), i = l(() => r["data-tier"] === "primary"), a = l(() => e("dock-tab-button", i.value && "btn-audacious", n.class));
499
+ return (e, n) => (T(), u(M(B), {
481
500
  as: t.as,
482
501
  "as-child": t.asChild,
483
- class: y(a.value)
502
+ class: b(a.value)
484
503
  }, {
485
- default: I(() => [O(e.$slots, "default")]),
504
+ default: R(() => [k(e.$slots, "default")]),
486
505
  _: 3
487
506
  }, 8, [
488
507
  "as",
@@ -490,7 +509,7 @@ var J = [
490
509
  "class"
491
510
  ]));
492
511
  }
493
- }), se = /* @__PURE__ */ m({
512
+ }), le = /* @__PURE__ */ h({
494
513
  __name: "DockSelectTrigger",
495
514
  props: {
496
515
  disabled: { type: Boolean },
@@ -506,19 +525,19 @@ var J = [
506
525
  ] }
507
526
  },
508
527
  setup(n) {
509
- let r = n, i = V(c(() => {
528
+ let r = n, i = U(l(() => {
510
529
  let { class: e, ...t } = r;
511
530
  return t;
512
531
  }));
513
- return (n, a) => (w(), l(j(B), _(j(i), { class: j(e)("dock-select-trigger", r.class) }), {
514
- default: I(() => [O(n.$slots, "default"), p(j(z), { "as-child": "" }, {
515
- default: I(() => [O(n.$slots, "icon", {}, () => [p(j(t), { class: "dock-select-trigger__chevron" })])]),
532
+ return (n, a) => (T(), u(M(H), v(M(i), { class: M(e)("dock-select-trigger", r.class) }), {
533
+ default: R(() => [k(n.$slots, "default"), m(M(V), { "as-child": "" }, {
534
+ default: R(() => [k(n.$slots, "icon", {}, () => [m(M(t), { class: "dock-select-trigger__chevron" })])]),
516
535
  _: 3
517
536
  })]),
518
537
  _: 3
519
538
  }, 16, ["class"]));
520
539
  }
521
- }), ce = /* @__PURE__ */ m({
540
+ }), ue = /* @__PURE__ */ h({
522
541
  __name: "DockDropdownTrigger",
523
542
  props: {
524
543
  disabled: { type: Boolean },
@@ -534,15 +553,15 @@ var J = [
534
553
  ] }
535
554
  },
536
555
  setup(t) {
537
- let n = t, r = V(c(() => {
556
+ let n = t, r = U(l(() => {
538
557
  let { class: e, ...t } = n;
539
558
  return t;
540
559
  }));
541
- return (t, i) => (w(), l(j(L), _(j(r), { class: j(e)("dock-dropdown-trigger", n.class) }), {
542
- default: I(() => [O(t.$slots, "default")]),
560
+ return (t, i) => (T(), u(M(z), v(M(r), { class: M(e)("dock-dropdown-trigger", n.class) }), {
561
+ default: R(() => [k(t.$slots, "default")]),
543
562
  _: 3
544
563
  }, 16, ["class"]));
545
564
  }
546
565
  });
547
566
  //#endregion
548
- export { a as DOCK_CONTEXT_KEY, ce as DockDropdownTrigger, ae as DockIconButton, ie as DockLayer, Z as DockLayerGroup, se as DockSelectTrigger, oe as DockTabButton, W as GlassDock, r as provideDockContext, i as useDockContext, n as useOptionalDockContext };
567
+ export { a as DOCK_CONTEXT_KEY, ue as DockDropdownTrigger, se as DockIconButton, ae as DockLayer, Q as DockLayerGroup, le as DockSelectTrigger, ce as DockTabButton, K as GlassDock, r as provideDockContext, i as useDockContext, n as useOptionalDockContext };