@mkbabb/glass-ui 3.5.1 → 3.7.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 (227) hide show
  1. package/dist/CardAction-D8nSE62a.js +163 -0
  2. package/dist/CollapsibleContent-D7UNsXQr.js +63 -0
  3. package/dist/{CommandShortcut-BiVyqipe.js → CommandShortcut-CY0aQTz5.js} +4 -4
  4. package/dist/{ContextMenuContent-De01_83g.js → ContextMenuContent-DGKZX1Du.js} +1 -1
  5. package/dist/{ContextMenuSubContent-DrWkXKQP.js → ContextMenuSubContent-BeDz7G6f.js} +4 -4
  6. package/dist/{DataTable-DyKc_26a.js → DataTable-gtPOLZvl.js} +14 -7
  7. package/dist/{DialogContent-IQ8_BRrC.js → DialogContent-DG1YMR-P.js} +24 -24
  8. package/dist/{DialogFooter-Er0wA3K6.js → DialogFooter-BCIaDP15.js} +2 -2
  9. package/dist/{DiscoGlyph-BaZ8OawK.js → DiscoGlyph-ZoBYpoxI.js} +1 -1
  10. package/dist/{GlyphFace-B_7vOmYn.js → GlyphFace-Ce_oe3tM.js} +1 -1
  11. package/dist/{HoverCardContent-ICfIMZX1.js → HoverCardContent-Bn0UBMY9.js} +1 -1
  12. package/dist/{HoverPopover-DTSYkJtw.js → HoverPopover-DXpOEw1P.js} +1 -1
  13. package/dist/{IconTooltip-BTyYn4mr.js → IconTooltip-Cu86JR4e.js} +1 -1
  14. package/dist/{Input-CU9CNKmo.js → Input-DWQQIOC4.js} +4 -1
  15. package/dist/{Label-CZk-3nTc.js → Label-DBc7bKzZ.js} +1 -1
  16. package/dist/{MetricBadge-BlrdbOGN.js → MetricBadge-D-bRaQUD.js} +1 -1
  17. package/dist/{Notification-DP_ApJLo.js → Notification-B5WHP3_1.js} +5 -4
  18. package/dist/{NumberFieldContent-jO-zGOHf.js → NumberFieldContent-CLNVR1iY.js} +5 -5
  19. package/dist/{PopoverContent-B8WtJECb.js → PopoverContent-F1bWnYoh.js} +2 -2
  20. package/dist/{Progress-DjM86vfb.js → Progress-c4vo4ALi.js} +6 -6
  21. package/dist/{ScrollingText-P9o_DuMn.js → ScrollingText-BEp377U5.js} +2 -2
  22. package/dist/{SelectScrollDownButton-BGn3rjs9.js → SelectScrollDownButton-DAo5NmY_.js} +8 -7
  23. package/dist/{Separator-C2XtAXRp.js → Separator-DZyqsCum.js} +1 -1
  24. package/dist/{Switch-x8n6husW.js → Switch-2rsAtDfA.js} +8 -2
  25. package/dist/TabsList-COqIdW7i.js +101 -0
  26. package/dist/{Toaster-DdhMKfus.js → Toaster-BMaeziJJ.js} +54 -60
  27. package/dist/{ToggleGroupItem-gyXj998A.js → ToggleGroupItem-C-AIkBUw.js} +13 -5
  28. package/dist/{TooltipProvider-D-JrSqDu.js → TooltipProvider-CD2IXfRv.js} +1 -1
  29. package/dist/{UnderlineTabs-Cq_AD03t.js → UnderlineTabs-D_c1iYo-.js} +1 -1
  30. package/dist/animated-digit.js +2 -2
  31. package/dist/api/index.d.ts +2 -1
  32. package/dist/api.js +1 -1
  33. package/dist/aurora.js +845 -204
  34. package/dist/{badge-Cl6JZ1B7.js → badge-DHQrc_GQ.js} +13 -9
  35. package/dist/badge.js +1 -1
  36. package/dist/{button-i8Ek5vvg.js → button-CAywcrhO.js} +8 -5
  37. package/dist/button.js +1 -1
  38. package/dist/card.js +2 -2
  39. package/dist/carousel.js +5 -5
  40. package/dist/{check-CdkxGxXJ.js → check-BBKKKSTf.js} +1 -1
  41. package/dist/{chevron-down-pBY8sYfV.js → chevron-down-BSkTP2aL.js} +1 -1
  42. package/dist/{chevron-right-BjeKC22V.js → chevron-right-sDM0Yvrf.js} +1 -1
  43. package/dist/{chevron-up-DBeNHUm1.js → chevron-up-CCOD_FTz.js} +1 -1
  44. package/dist/collapsible.js +1 -1
  45. package/dist/color-DjJCAQ6f.js +76 -0
  46. package/dist/color.js +2 -2
  47. package/dist/command.js +1 -1
  48. package/dist/compile-iM4IUB66.js +158 -0
  49. package/dist/components/custom/aurora/Aurora.vue.d.ts +1 -0
  50. package/dist/components/custom/aurora/composables/atoms.d.ts +60 -0
  51. package/dist/components/custom/aurora/composables/color.d.ts +36 -9
  52. package/dist/components/custom/aurora/composables/cursorModel.d.ts +35 -2
  53. package/dist/components/custom/aurora/composables/glSetup.d.ts +1 -1
  54. package/dist/components/custom/aurora/composables/gpuRuntime.d.ts +16 -0
  55. package/dist/components/custom/aurora/composables/runtime.d.ts +18 -0
  56. package/dist/components/custom/aurora/composables/uniformBridge.d.ts +29 -0
  57. package/dist/components/custom/aurora/composables/useAurora.d.ts +6 -0
  58. package/dist/components/custom/aurora/composables/useCursorInteraction.d.ts +8 -0
  59. package/dist/components/custom/aurora/constants/presets.d.ts +64 -2
  60. package/dist/components/custom/aurora/constants/renderMode.d.ts +10 -0
  61. package/dist/components/custom/aurora/constants/shaders/aurora.wgsl.d.ts +7 -0
  62. package/dist/components/custom/aurora/constants/shaders/brush.glsl.d.ts +1 -1
  63. package/dist/components/custom/aurora/constants/shaders/composition.glsl.d.ts +1 -1
  64. package/dist/components/custom/aurora/constants/shaders/flow.glsl.d.ts +1 -1
  65. package/dist/components/custom/aurora/constants/shaders/mediums.glsl.d.ts +2 -2
  66. package/dist/components/custom/aurora/constants/shaders/painterly.wgsl.d.ts +7 -0
  67. package/dist/components/custom/aurora/constants/shaders/wake.wgsl.d.ts +4 -0
  68. package/dist/components/custom/aurora/index.d.ts +5 -3
  69. package/dist/components/custom/constellation/Constellation.vue.d.ts +45 -0
  70. package/dist/components/custom/constellation/constellationField.d.ts +85 -0
  71. package/dist/components/custom/constellation/index.d.ts +3 -0
  72. package/dist/components/custom/dock/GlassDock.vue.d.ts +34 -3
  73. package/dist/components/custom/fourier-field/FourierField.vue.d.ts +38 -0
  74. package/dist/components/custom/fourier-field/index.d.ts +2 -0
  75. package/dist/components/custom/fourier-field/math.d.ts +57 -0
  76. package/dist/components/custom/goo-blob/GooBlob.vue.d.ts +2 -0
  77. package/dist/components/custom/goo-blob/composables/useBlobMood.d.ts +14 -2
  78. package/dist/components/custom/goo-blob/composables/useBlobPointer.d.ts +45 -4
  79. package/dist/components/custom/goo-blob/composables/useMetaballRenderer.d.ts +1 -1
  80. package/dist/components/custom/goo-blob/index.d.ts +1 -1
  81. package/dist/components/custom/goo-blob/shaders/sdf-body.glsl.d.ts +1 -1
  82. package/dist/components/custom/goo-blob/shaders/watercolor-edges.glsl.d.ts +2 -2
  83. package/dist/components/custom/goo-blob/types.d.ts +40 -0
  84. package/dist/components/custom/metric-cell/MetricCell.vue.d.ts +1 -1
  85. package/dist/components/custom/metric-stack/MetricStack.vue.d.ts +1 -1
  86. package/dist/components/ui/_shared/ModalOverlay.vue.d.ts +1 -1
  87. package/dist/components/ui/alert/index.d.ts +1 -1
  88. package/dist/components/ui/card/Card.vue.d.ts +10 -3
  89. package/dist/components/ui/card/CardAction.vue.d.ts +24 -0
  90. package/dist/components/ui/card/index.d.ts +1 -0
  91. package/dist/components/ui/collapsible/CollapsibleTrigger.vue.d.ts +5 -1
  92. package/dist/components/ui/tabs/TabsList.vue.d.ts +13 -3
  93. package/dist/components/ui/toast/Toast.vue.d.ts +5 -5
  94. package/dist/components/ui/toast/use-toast.d.ts +1 -1
  95. package/dist/composables/color/index.d.ts +50 -0
  96. package/dist/composables/glass/canvas2d/index.d.ts +2 -0
  97. package/dist/composables/glass/canvas2d/useCanvas2D.d.ts +48 -0
  98. package/dist/composables/glass/createGPUCanvas.d.ts +40 -0
  99. package/dist/composables/glass/index.d.ts +2 -0
  100. package/dist/composables/glass/webgl/createCanvasLifecycle.d.ts +45 -0
  101. package/dist/composables/glass/webgl/shaders/procedural-color.glsl.d.ts +3 -0
  102. package/dist/composables/glass/webgl/useWebGLCanvas.d.ts +4 -4
  103. package/dist/configurator.js +1 -1
  104. package/dist/confirm-dialog.js +3 -3
  105. package/dist/constellation.d.ts +1 -0
  106. package/dist/constellation.js +182 -0
  107. package/dist/context-menu.js +2 -2
  108. package/dist/controls.js +2 -2
  109. package/dist/dark.js +1 -1
  110. package/dist/data-table.js +1 -1
  111. package/dist/dialog.js +2 -2
  112. package/dist/disco-glyph.js +1 -1
  113. package/dist/dock.js +129 -110
  114. package/dist/{dockContext-spUj_-E5.js → dockContext-DLgrVWsU.js} +1 -1
  115. package/dist/dom.js +5 -5
  116. package/dist/{dropdown-menu-EFjl5iKo.js → dropdown-menu-BWpwutt0.js} +5 -5
  117. package/dist/dropdown-menu.js +1 -1
  118. package/dist/expandable-container.js +2 -2
  119. package/dist/forms.js +10 -7
  120. package/dist/fourier-field.d.ts +1 -0
  121. package/dist/fourier-field.js +166 -0
  122. package/dist/glass-carousel.js +1 -1
  123. package/dist/glass-panel.js +2 -2
  124. package/dist/glass-ui.css +1 -1
  125. package/dist/glass-ui.js +207 -191
  126. package/dist/glyph-face.js +2 -2
  127. package/dist/goo-blob.js +336 -234
  128. package/dist/header-ribbon.js +1 -1
  129. package/dist/hover-card.js +1 -1
  130. package/dist/hover-popover.js +1 -1
  131. package/dist/icon-tooltip.js +1 -1
  132. package/dist/instrument-chassis.js +1 -1
  133. package/dist/instrument-rail.js +1 -1
  134. package/dist/keyboard.js +1 -1
  135. package/dist/{keys-BFoma9vm.js → keys-Dyf_uTs5.js} +1 -1
  136. package/dist/label.js +1 -1
  137. package/dist/labeled-field.js +6 -6
  138. package/dist/metric-badge.js +1 -1
  139. package/dist/metric-stack.js +1 -1
  140. package/dist/{minimize-2-BP27-qBY.js → minimize-2-lcXOuc6V.js} +1 -1
  141. package/dist/motion-core.js +76 -106
  142. package/dist/motion.js +3 -3
  143. package/dist/notification.js +1 -1
  144. package/dist/number-field.js +1 -1
  145. package/dist/paper-backdrop.js +1 -1
  146. package/dist/popover.js +1 -1
  147. package/dist/progress.js +1 -1
  148. package/dist/pulse.js +1 -1
  149. package/dist/reactive.js +2 -2
  150. package/dist/responsive-tabs.js +2 -2
  151. package/dist/scrolling-text.js +1 -1
  152. package/dist/{search-DBG8qaRs.js → search-nbkvr2dC.js} +1 -1
  153. package/dist/search.js +8 -8
  154. package/dist/select.js +3 -3
  155. package/dist/separator.js +1 -1
  156. package/dist/{sheet-CQYYrkr9.js → sheet-Cv1uO-Gq.js} +4 -4
  157. package/dist/sheet.js +1 -1
  158. package/dist/{slider-CgNzRSh6.js → slider-BA9wIs5e.js} +5 -4
  159. package/dist/slider.js +1 -1
  160. package/dist/sortable-list.js +3 -3
  161. package/dist/styles/components.css +1 -1
  162. package/dist/styles/dock.css +185 -1
  163. package/dist/styles/glass-refract.css +60 -0
  164. package/dist/styles/glass-specular-track.css +43 -130
  165. package/dist/styles/glass.css +243 -27
  166. package/dist/styles/index.css +1 -0
  167. package/dist/styles/theme.css +55 -0
  168. package/dist/styles/tokens.css +33 -0
  169. package/dist/styles/typography.css +3 -3
  170. package/dist/styles/utilities.css +17 -13
  171. package/dist/supportsCssTimeline-C5oe0lnD.js +12 -0
  172. package/dist/switch.js +1 -1
  173. package/dist/tabs.js +4 -4
  174. package/dist/timeline.js +2 -2
  175. package/dist/toast.js +1 -1
  176. package/dist/toggle-group.js +1 -1
  177. package/dist/tooltip.js +1 -1
  178. package/dist/typewriter.js +1 -1
  179. package/dist/{useAnimatedNumber-BF6r64lA.js → useAnimatedNumber-C5I3wWd8.js} +1 -1
  180. package/dist/useCanvas2D-C31yfUGY.js +95 -0
  181. package/dist/{useConfiguratorState-DUtC1jxr.js → useConfiguratorState-B24TcgIn.js} +5 -5
  182. package/dist/useScrollProgress-CAH8Ofwt.js +35 -0
  183. package/dist/{useTouchGate-CS5Csc2h.js → useTouchGate-YQRwyUGU.js} +1 -1
  184. package/dist/{vReveal-u2wSG2El.js → vReveal-BE2TsPoR.js} +6 -17
  185. package/dist/watercolor-dot.js +2 -2
  186. package/dist/{x-C4pz9nbD.js → x-Dfsegz9Y.js} +1 -1
  187. package/package.json +49 -1
  188. package/src/styles/dock.css +185 -1
  189. package/src/styles/glass-refract.css +60 -0
  190. package/src/styles/glass-specular-track.css +43 -130
  191. package/src/styles/glass.css +243 -27
  192. package/src/styles/index.css +1 -0
  193. package/src/styles/theme.css +55 -0
  194. package/src/styles/tokens.css +33 -0
  195. package/src/styles/typography.css +3 -3
  196. package/src/styles/utilities.css +17 -13
  197. package/dist/CardFooter-C390imy7.js +0 -129
  198. package/dist/CollapsibleContent-cauTbZEM.js +0 -52
  199. package/dist/TabsIndicator-DA0x9gPr.js +0 -97
  200. package/dist/color-rkK4RMx2.js +0 -33
  201. package/dist/compile-DVgAxagk.js +0 -106
  202. /package/dist/{InstrumentChassis-DaHIZCqy.js → InstrumentChassis-BLJBl1BW.js} +0 -0
  203. /package/dist/{InstrumentRail-B0qqLFN0.js → InstrumentRail-BElFwKyt.js} +0 -0
  204. /package/dist/{ModalOverlay-B_CBtqcE.js → ModalOverlay-D1VrWyoi.js} +0 -0
  205. /package/dist/{PaperBackdrop-D_YZW47j.js → PaperBackdrop-DCGoGatv.js} +0 -0
  206. /package/dist/{SelectGroup-CMdoCjRE.js → SelectGroup-BcaFjvP4.js} +0 -0
  207. /package/dist/{SelectSeparator-CaJnPF3_.js → SelectSeparator-COFMJGng.js} +0 -0
  208. /package/dist/{_plugin-vue_export-helper-C1je1s0u.js → _plugin-vue_export-helper-gLzyemvl.js} +0 -0
  209. /package/dist/{constants-DsCdlK9I.js → constants-CS75AWHG.js} +0 -0
  210. /package/dist/{createContext-DBMGRlx4.js → createContext-CvNyBk4o.js} +0 -0
  211. /package/dist/{createLucideIcon-DuDoe_ra.js → createLucideIcon-B6uNAU9G.js} +0 -0
  212. /package/dist/{menuItemVariants-C2QlXqT3.js → menuItemVariants-B4eFR5Ix.js} +0 -0
  213. /package/dist/{presets-1OhFpaIC.js → presets-BKVyQfbt.js} +0 -0
  214. /package/dist/{prng-Bz_1Tydc.js → prng-wHuHlNHE.js} +0 -0
  215. /package/dist/{useGlassRenderer-Dn3WpfG-.js → useGlassRenderer-HebgSEgN.js} +0 -0
  216. /package/dist/{useGlobalDark-CWiaCoEw.js → useGlobalDark-yhL4Wp-s.js} +0 -0
  217. /package/dist/{useIntersectionPause-DAdVPVp4.js → useIntersectionPause-Cc-H9ees.js} +0 -0
  218. /package/dist/{useInterval-CHVYFpXV.js → useInterval-D3USn0yc.js} +0 -0
  219. /package/dist/{useKeyboardShortcuts-BQfnAHHW.js → useKeyboardShortcuts-Be3w_Rwk.js} +0 -0
  220. /package/dist/{useResizeObserver-DX-STszm.js → useResizeObserver-CSyxGxIX.js} +0 -0
  221. /package/dist/{useSortable-DnyGXKKY.js → useSortable-C8ReQ50P.js} +0 -0
  222. /package/dist/{useSpringMount-CnizvZGm.js → useSpringMount-LRZqJTaF.js} +0 -0
  223. /package/dist/{useTextHighlight-Dmtofpk2.js → useTextHighlight-aMPdEpkq.js} +0 -0
  224. /package/dist/{useTimer-DGgoxTXL.js → useTimer-DEJonOZa.js} +0 -0
  225. /package/dist/{useUserInvalidAria-DmvZ_6Dx.js → useUserInvalidAria-CQKjEfwP.js} +0 -0
  226. /package/dist/{useViewTransition-CJnqg6wl.js → useViewTransition-DaN5Zrox.js} +0 -0
  227. /package/dist/{useViewportReady-Dcvf0c4p.js → useViewportReady-K96m-Mdv.js} +0 -0
package/dist/dock.js CHANGED
@@ -1,15 +1,15 @@
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 "./useTouchGate-CS5Csc2h.js";
5
- import { n as i } from "./createContext-DBMGRlx4.js";
6
- import { i as a, n as o, r as s, t as c } from "./dockContext-spUj_-E5.js";
7
- import { i as l, n as u, r as d, t as f } from "./TabsIndicator-DA0x9gPr.js";
8
- import { t as p } from "./useViewTransition-CJnqg6wl.js";
2
+ import { t } from "./createLucideIcon-B6uNAU9G.js";
3
+ import { t as n } from "./chevron-down-BSkTP2aL.js";
4
+ import { t as r } from "./useTouchGate-YQRwyUGU.js";
5
+ import { n as i } from "./createContext-CvNyBk4o.js";
6
+ import { i as a, n as o, r as s, t as c } from "./dockContext-DLgrVWsU.js";
7
+ import { i as l, n as u, r as d, t as f } from "./TabsList-COqIdW7i.js";
8
+ import { t as p } from "./useViewTransition-DaN5Zrox.js";
9
9
  import { Fragment as m, computed as h, createBlock as g, createCommentVNode as _, createElementBlock as v, createElementVNode as y, createVNode as b, defineComponent as x, mergeModels as S, mergeProps as C, nextTick as w, normalizeClass as T, normalizeStyle as E, onBeforeUnmount as D, onMounted as O, onUnmounted as k, openBlock as A, readonly as j, ref as M, renderList as N, renderSlot as P, resolveDynamicComponent as F, toDisplayString as I, unref as L, useAttrs as R, useId as ee, useModel as z, useTemplateRef as B, watch as V, withCtx as H } from "vue";
10
10
  import { DropdownMenuTrigger as U, Primitive as W, SelectIcon as G, SelectTrigger as K, useForwardProps as q } from "reka-ui";
11
11
  import { SpringProgress as te } from "@mkbabb/keyframes.js";
12
- var J = t("pause", [["rect", {
12
+ var ne = t("pause", [["rect", {
13
13
  x: "14",
14
14
  y: "3",
15
15
  width: "5",
@@ -23,7 +23,7 @@ var J = t("pause", [["rect", {
23
23
  height: "18",
24
24
  rx: "1",
25
25
  key: "1wsw3u"
26
- }]]), ne = t("play", [["path", {
26
+ }]]), J = t("play", [["path", {
27
27
  d: "M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",
28
28
  key: "10ikf1"
29
29
  }]]);
@@ -192,6 +192,16 @@ function ie(e) {
192
192
  function D(e) {
193
193
  T(e)?.removeAttribute("data-morphing");
194
194
  }
195
+ function O(e, t) {
196
+ let n = t < 0 ? 0 : t > 1 ? 1 : t;
197
+ e.style.setProperty("--dock-morph-progress", `${n}`);
198
+ }
199
+ function A(e) {
200
+ e.setAttribute("data-revealing", ""), e.style.setProperty("--dock-morph-progress", "0");
201
+ }
202
+ function j(e) {
203
+ e.removeAttribute("data-revealing"), e.style.removeProperty("--dock-morph-progress");
204
+ }
195
205
  V(n, (e, n) => {
196
206
  if (e === n) return;
197
207
  let r = t.value;
@@ -203,10 +213,10 @@ function ie(e) {
203
213
  y();
204
214
  let t = ++u;
205
215
  E(r);
206
- let { finished: i } = p(() => {
216
+ let a = i?.(n, e), { finished: o } = p(() => {
207
217
  l.value = n, c.value = e;
208
- });
209
- i.finally(() => {
218
+ }, a && a.length > 0 ? { types: a } : void 0);
219
+ o.finally(() => {
210
220
  t === u && (l.value = null, D(r));
211
221
  });
212
222
  return;
@@ -216,39 +226,41 @@ function ie(e) {
216
226
  return;
217
227
  }
218
228
  y();
219
- let i = ++u, o = f !== null && m === r && !f.settled ? f : null, h = o ? o.value : s(r);
220
- o || (g(), b(r, `${h}px`)), w(() => {
221
- i === u && r && requestAnimationFrame(() => {
222
- if (i !== u) return;
229
+ let o = ++u, h = f !== null && m === r && !f.settled ? f : null, _ = h ? h.value : s(r);
230
+ h || (g(), b(r, `${_}px`)), w(() => {
231
+ o === u && r && requestAnimationFrame(() => {
232
+ if (o !== u) return;
223
233
  l.value = n, c.value = e, r.style.transition = "none", x(r);
224
234
  let t = s(r);
225
- if (b(r, `${h}px`), r.offsetWidth, !o && Math.abs(t - h) < .5) {
226
- r.style.transition = "", x(r), C(r), D(r), l.value = null;
235
+ if (b(r, `${_}px`), r.offsetWidth, !h && Math.abs(t - _) < .5) {
236
+ r.style.transition = "", x(r), C(r), D(r), j(r), l.value = null;
227
237
  return;
228
238
  }
229
- S(r), E(r), o || (f = new te({
239
+ S(r), E(r), A(r);
240
+ let i = t - _;
241
+ h || (f = new te({
230
242
  response: X.response,
231
243
  dampingFraction: X.dampingFraction,
232
- initial: h,
244
+ initial: _,
233
245
  respectReducedMotion: !0
234
246
  }), m = r);
235
247
  let a = f;
236
248
  a.target = t, a.play((e) => {
237
- i === u && (b(r, `${e}px`), a.settled && (r.style.transition = "", x(r), C(r), D(r), l.value = null, g()));
249
+ o === u && (b(r, `${e}px`), Math.abs(i) > .5 ? O(r, (e - _) / i) : O(r, 1), a.settled && (r.style.transition = "", x(r), C(r), D(r), j(r), l.value = null, g()));
238
250
  }), d = setTimeout(() => {
239
- i === u && (r.style.transition = "", x(r), C(r), D(r), l.value = null, g());
251
+ o === u && (r.style.transition = "", x(r), C(r), D(r), j(r), l.value = null, g());
240
252
  }, v(r));
241
253
  });
242
254
  });
243
255
  });
244
- function O(e) {
256
+ function N(e) {
245
257
  let n = t.value;
246
- n && e.target === n && e.propertyName === o.value && (y(), g(), n.style.transition = "", x(n), C(n), D(n), l.value = null);
258
+ n && e.target === n && e.propertyName === o.value && (y(), g(), n.style.transition = "", x(n), C(n), D(n), j(n), l.value = null);
247
259
  }
248
260
  return k(() => {
249
261
  y(), g();
250
262
  }), {
251
- onTransitionEnd: O,
263
+ onTransitionEnd: N,
252
264
  currentLayer: c,
253
265
  leavingLayer: l
254
266
  };
@@ -278,6 +290,7 @@ var ae = [
278
290
  },
279
291
  variant: { default: "dock" },
280
292
  shape: { default: "pill" },
293
+ layout: { default: "linear" },
281
294
  orientation: { default: "horizontal" },
282
295
  density: { default: "comfortable" },
283
296
  overflow: { default: "grow" },
@@ -289,133 +302,135 @@ var ae = [
289
302
  "container-type": "inline-size",
290
303
  "container-name": n.containerName
291
304
  };
292
- }), a = B("dockEl"), s = B("layersEl"), c = h(() => n.variant), l = h(() => n.shape), u = h(() => n.variant === "rail" || n.variant === "instrument-strip" ? "vertical" : n.orientation), d = h(() => n.density), f = h(() => n.overflow === "scroll" ? u.value === "vertical" ? "dock-scroll-y" : "dock-scroll-x" : null), p = h(() => n.alwaysExpanded || u.value === "vertical"), m = h(() => n.fitContent || n.variant === "rail" || n.variant === "instrument-strip"), g = M(!1), _ = r(n.collapseDelay), b = `glass-dock-${ee()}`, x = null, S = 0, { expanded: C, isPinned: w, isHeld: k, onMouseEnter: j, onMouseLeave: N, onFocusIn: F, onFocusOut: I, onClickCollapsed: R, keepOpen: z, release: H, expand: U, collapse: W } = re({
305
+ }), a = B("dockEl"), s = B("layersEl"), c = h(() => n.variant), l = h(() => n.shape), u = h(() => n.layout), d = h(() => n.variant === "rail" || n.variant === "instrument-strip" ? "vertical" : n.orientation), f = h(() => n.density), p = h(() => n.overflow === "scroll" ? d.value === "vertical" ? "dock-scroll-y" : "dock-scroll-x" : null), m = h(() => n.alwaysExpanded || d.value === "vertical" || n.layout === "grid"), g = h(() => n.fitContent || n.variant === "rail" || n.variant === "instrument-strip"), _ = M(!1), b = r(n.collapseDelay), x = `glass-dock-${ee()}`, S = null, C = 0, { expanded: w, isPinned: k, isHeld: j, onMouseEnter: N, onMouseLeave: F, onFocusIn: I, onFocusOut: R, onClickCollapsed: z, keepOpen: H, release: U, expand: W, collapse: G } = re({
293
306
  collapseDelay: n.collapseDelay,
294
307
  rootEl: a,
295
- alwaysExpanded: p,
296
- isTransitioning: g,
297
- dockId: b
308
+ alwaysExpanded: m,
309
+ isTransitioning: _,
310
+ dockId: x
298
311
  });
299
312
  o({
300
- id: b,
301
- orientation: u,
302
- keepOpen: z,
303
- release: H,
304
- held: k
313
+ id: x,
314
+ orientation: d,
315
+ keepOpen: H,
316
+ release: U,
317
+ held: j
305
318
  });
306
- let G = h(() => p.value || C.value), { onTransitionEnd: K } = ie({
319
+ let K = h(() => m.value || w.value), { onTransitionEnd: q } = ie({
307
320
  containerEl: s,
308
- activeLayer: h(() => G.value ? "full" : "summary"),
309
- axis: h(() => "horizontal")
310
- }), q = typeof document < "u" && "startViewTransition" in document, te = h(() => q ? {
311
- "view-transition-name": b.replace(/[^a-zA-Z0-9_-]/g, "-"),
321
+ activeLayer: h(() => K.value ? "full" : "summary"),
322
+ axis: h(() => "horizontal"),
323
+ directionTypes: (e, t) => [t === "full" ? "dock-expand" : "dock-collapse"]
324
+ }), te = typeof document < "u" && "startViewTransition" in document, ne = h(() => te ? {
325
+ "view-transition-name": x.replace(/[^a-zA-Z0-9_-]/g, "-"),
312
326
  "view-transition-class": "gl-dock-layer"
313
327
  } : void 0);
314
328
  function J(e) {
315
329
  let t = e.trim();
316
330
  return t ? t.endsWith("ms") ? Number.parseFloat(t) : t.endsWith("s") ? Number.parseFloat(t) * 1e3 : Number.parseFloat(t) || 0 : 0;
317
331
  }
318
- function ne(e) {
332
+ function Y(e) {
319
333
  let t = getComputedStyle(e), n = t.transitionDuration.split(",").map(J), r = t.transitionDelay.split(",").map(J);
320
334
  return Math.max(0, ...n.map((e, t) => e + (r[t] ?? r[0] ?? 0)));
321
335
  }
322
- function Y() {
323
- x &&= (clearTimeout(x), null);
336
+ function X() {
337
+ S &&= (clearTimeout(S), null);
324
338
  }
325
- let X = new Set([
339
+ let ce = new Set([
326
340
  "width",
327
341
  "height",
328
342
  "padding",
329
343
  "transform"
330
344
  ]);
331
- function ce() {
345
+ function Z() {
332
346
  let e = a.value;
333
347
  if (!e) return;
334
- let t = ++S;
335
- Y(), g.value = !0, x = setTimeout(() => {
336
- t === S && (g.value = !1, x = null);
337
- }, ne(e) + 50);
348
+ let t = ++C;
349
+ X(), _.value = !0, S = setTimeout(() => {
350
+ t === C && (_.value = !1, S = null);
351
+ }, Y(e) + 50);
338
352
  }
339
- function Z(e) {
340
- e.target === a.value && X.has(e.propertyName) && (Y(), S++, g.value = !1);
353
+ function Q(e) {
354
+ e.target === a.value && ce.has(e.propertyName) && (X(), C++, _.value = !1);
341
355
  }
342
356
  O(() => {
343
- (n.alwaysExpanded || !n.startCollapsed) && U();
357
+ (n.alwaysExpanded || !n.startCollapsed) && W();
344
358
  });
345
- function Q() {
346
- return u.value === "horizontal" && !p.value;
359
+ function $() {
360
+ return d.value === "horizontal" && !m.value;
347
361
  }
348
362
  function le(e) {
349
- if (!Q() || G.value) return;
363
+ if (!$() || K.value) return;
350
364
  let t = a.value, n = e.touches[0];
351
- !t || !n || _.handleTouchStart(t, n.clientY);
365
+ !t || !n || b.handleTouchStart(t, n.clientY);
352
366
  }
353
367
  function ue(e) {
354
- Q() && _.handleScrollCheck(e);
368
+ $() && b.handleScrollCheck(e);
355
369
  }
356
370
  function de() {
357
- if (!Q()) return;
358
- let e = _.isActive.value;
359
- _.handleTouchEnd(), !e && _.isActive.value && !G.value && U();
371
+ if (!$()) return;
372
+ let e = b.isActive.value;
373
+ b.handleTouchEnd(), !e && b.isActive.value && !K.value && W();
360
374
  }
361
- return V(_.isActive, (e) => {
362
- !e && C.value && !w.value && !p.value && W();
363
- }), V(G, (e) => {
364
- ce(), e || _.deactivate();
365
- }), D(Y), t({
366
- expanded: C,
367
- isPinned: w,
368
- isHeld: k,
369
- isTransitioning: g,
370
- expand: U,
371
- collapse: W,
372
- keepOpen: z,
373
- release: H
375
+ return V(b.isActive, (e) => {
376
+ !e && w.value && !k.value && !m.value && G();
377
+ }), V(K, (e) => {
378
+ Z(), e || b.deactivate();
379
+ }), D(X), t({
380
+ expanded: w,
381
+ isPinned: k,
382
+ isHeld: j,
383
+ isTransitioning: _,
384
+ expand: W,
385
+ collapse: G,
386
+ keepOpen: H,
387
+ release: U
374
388
  }), (t, n) => (A(), v("div", {
375
389
  ref_key: "dockEl",
376
390
  ref: a,
377
391
  class: T(["glass-dock", [
378
- u.value,
392
+ d.value,
379
393
  `variant-${c.value}`,
380
394
  `shape-${l.value}`,
381
- f.value,
395
+ `layout-${u.value}`,
396
+ p.value,
382
397
  {
383
- expanded: G.value,
384
- collapsed: !G.value,
385
- pinned: L(w),
386
- "fit-content": m.value,
387
- "always-expanded": p.value,
398
+ expanded: K.value,
399
+ collapsed: !K.value,
400
+ pinned: L(k),
401
+ "fit-content": g.value,
402
+ "always-expanded": m.value,
388
403
  "dock-overflow-wrap": e.overflow === "wrap"
389
404
  },
390
405
  e.position === "fixed" ? "fixed bottom-[var(--dock-pos)] left-1/2 -translate-x-1/2" : e.position === "sticky" ? "dock-sticky" : "dock-inline"
391
406
  ]]),
392
- "data-density": d.value,
393
- "data-held": L(k) || void 0,
407
+ "data-density": f.value,
408
+ "data-held": L(j) || void 0,
394
409
  "data-container-name": e.containerName || void 0,
395
410
  style: E(i.value),
396
- onMouseenter: n[2] ||= (...e) => L(j) && L(j)(...e),
397
- onMouseleave: n[3] ||= (e) => L(N)(e),
398
- onFocusin: n[4] ||= (...e) => L(F) && L(F)(...e),
399
- onFocusout: n[5] ||= (...e) => L(I) && L(I)(...e),
411
+ onMouseenter: n[2] ||= (...e) => L(N) && L(N)(...e),
412
+ onMouseleave: n[3] ||= (e) => L(F)(e),
413
+ onFocusin: n[4] ||= (...e) => L(I) && L(I)(...e),
414
+ onFocusout: n[5] ||= (...e) => L(R) && L(R)(...e),
400
415
  onTouchstart: le,
401
416
  onTouchmove: ue,
402
417
  onTouchend: de,
403
- onTransitionend: Z,
404
- onTransitioncancel: Z
405
- }, [u.value === "horizontal" ? (A(), v("div", {
418
+ onTransitionend: Q,
419
+ onTransitioncancel: Q
420
+ }, [d.value === "horizontal" ? (A(), v("div", {
406
421
  key: 0,
407
422
  ref_key: "layersEl",
408
423
  ref: s,
409
424
  class: "dock-layers",
410
- style: E(te.value),
411
- onTransitionend: n[1] ||= (...e) => L(K) && L(K)(...e)
425
+ style: E(ne.value),
426
+ onTransitionend: n[1] ||= (...e) => L(q) && L(q)(...e)
412
427
  }, [y("div", {
413
- class: T(["dock-layer dock-layer--full", { "layer-active": G.value }]),
414
- inert: !L(C) || void 0
428
+ class: T(["dock-layer dock-layer--full", { "layer-active": K.value }]),
429
+ inert: !L(w) || void 0
415
430
  }, [P(t.$slots, "default")], 10, oe), y("div", {
416
- class: T(["dock-layer dock-layer--summary", { "layer-active": !G.value }]),
417
- inert: L(C) || void 0,
418
- onClick: n[0] ||= (...e) => L(R) && L(R)(...e)
431
+ class: T(["dock-layer dock-layer--summary", { "layer-active": !K.value }]),
432
+ inert: L(w) || void 0,
433
+ onClick: n[0] ||= (...e) => L(z) && L(z)(...e)
419
434
  }, [P(t.$slots, "collapsed")], 10, se)], 36)) : P(t.$slots, "default", { key: 1 })], 46, ae));
420
435
  }
421
436
  }), Z = i("glass-ui:dock-layer-group", "[glass-ui:dock] <DockLayer> must be used inside <DockLayerGroup>");
@@ -423,11 +438,11 @@ Z.KEY;
423
438
  function Q(e) {
424
439
  Z.provide(e);
425
440
  }
426
- var le = Z.use;
441
+ var $ = Z.use;
427
442
  Z.useOptional;
428
443
  //#endregion
429
444
  //#region src/components/custom/dock/DockLayerGroup.vue?vue&type=script&setup=true&lang.ts
430
- var ue = { key: 1 }, de = { key: 2 }, fe = /* @__PURE__ */ x({
445
+ var le = { key: 1 }, ue = { key: 2 }, de = /* @__PURE__ */ x({
431
446
  __name: "DockLayerGroup",
432
447
  props: /* @__PURE__ */ S({
433
448
  orientation: {},
@@ -452,7 +467,11 @@ var ue = { key: 1 }, de = { key: 2 }, fe = /* @__PURE__ */ x({
452
467
  let p = h(() => t.orientation ?? r?.orientation.value ?? "horizontal"), { onTransitionEnd: x, currentLayer: S, leavingLayer: C } = ie({
453
468
  containerEl: o,
454
469
  activeLayer: n,
455
- axis: p
470
+ axis: p,
471
+ directionTypes: (e, t) => {
472
+ let n = i.value.findIndex((t) => t.id === e);
473
+ return [i.value.findIndex((e) => e.id === t) < n ? "layer-back" : "layer-forward"];
474
+ }
456
475
  }), w = typeof document < "u" && "startViewTransition" in document, D = ee(), O = h(() => w ? {
457
476
  "view-transition-name": `gl-dock-stack-${D.replace(/[^a-zA-Z0-9_-]/g, "-")}`,
458
477
  "view-transition-class": "gl-dock-layer"
@@ -481,7 +500,7 @@ var ue = { key: 1 }, de = { key: 2 }, fe = /* @__PURE__ */ x({
481
500
  orientation: "horizontal",
482
501
  "as-child": !0
483
502
  }, {
484
- default: H(() => [b(L(u), {
503
+ default: H(() => [b(L(f), {
485
504
  class: T(["dock-layer-rail", e.railPosition]),
486
505
  onFocusin: V,
487
506
  onFocusout: U
@@ -496,13 +515,13 @@ var ue = { key: 1 }, de = { key: 2 }, fe = /* @__PURE__ */ x({
496
515
  default: H(() => [k(e.icon) ? (A(), g(F(e.icon), {
497
516
  key: 0,
498
517
  class: "size-4"
499
- })) : typeof e.icon == "string" ? (A(), v("span", ue, I(e.icon), 1)) : (A(), v("span", de, I((e.label ?? e.id).charAt(0)), 1))]),
518
+ })) : typeof e.icon == "string" ? (A(), v("span", le, I(e.icon), 1)) : (A(), v("span", ue, I((e.label ?? e.id).charAt(0)), 1))]),
500
519
  _: 2
501
520
  }, 1032, [
502
521
  "value",
503
522
  "title",
504
523
  "aria-label"
505
- ]))), 128)), b(L(f), { class: "dock-layer-tab-indicator" })]),
524
+ ]))), 128)), b(L(u), { class: "dock-layer-tab-indicator" })]),
506
525
  _: 1
507
526
  }, 8, ["class"])]),
508
527
  _: 1
@@ -514,11 +533,11 @@ var ue = { key: 1 }, de = { key: 2 }, fe = /* @__PURE__ */ x({
514
533
  onTransitionend: r[1] ||= (...e) => L(x) && L(x)(...e)
515
534
  }, [P(t.$slots, "default")], 36)], 2));
516
535
  }
517
- }), pe = [
536
+ }), fe = [
518
537
  "inert",
519
538
  "aria-hidden",
520
539
  "tabindex"
521
- ], me = /* @__PURE__ */ x({
540
+ ], pe = /* @__PURE__ */ x({
522
541
  __name: "DockLayer",
523
542
  props: {
524
543
  id: {},
@@ -526,7 +545,7 @@ var ue = { key: 1 }, de = { key: 2 }, fe = /* @__PURE__ */ x({
526
545
  icon: {}
527
546
  },
528
547
  setup(e) {
529
- let t = e, n = le();
548
+ let t = e, n = $();
530
549
  O(() => {
531
550
  n.register({
532
551
  id: t.id,
@@ -552,9 +571,9 @@ var ue = { key: 1 }, de = { key: 2 }, fe = /* @__PURE__ */ x({
552
571
  inert: r.value ? void 0 : !0,
553
572
  "aria-hidden": r.value ? void 0 : !0,
554
573
  tabindex: r.value ? -1 : void 0
555
- }, [P(e.$slots, "default")], 10, pe));
574
+ }, [P(e.$slots, "default")], 10, fe));
556
575
  }
557
- }), $ = /* @__PURE__ */ x({
576
+ }), me = /* @__PURE__ */ x({
558
577
  __name: "DockIconButton",
559
578
  props: {
560
579
  compact: {
@@ -622,18 +641,18 @@ var ue = { key: 1 }, de = { key: 2 }, fe = /* @__PURE__ */ x({
622
641
  function a() {
623
642
  r("update:paused", !n.paused);
624
643
  }
625
- return (t, n) => (A(), g($, {
644
+ return (t, n) => (A(), g(me, {
626
645
  type: "button",
627
646
  "aria-pressed": e.paused,
628
647
  "aria-label": i.value,
629
648
  title: i.value,
630
649
  onClick: a
631
650
  }, {
632
- default: H(() => [e.paused ? (A(), g(L(ne), {
651
+ default: H(() => [e.paused ? (A(), g(L(J), {
633
652
  key: 0,
634
653
  size: 18,
635
654
  "aria-hidden": "true"
636
- })) : (A(), g(L(J), {
655
+ })) : (A(), g(L(ne), {
637
656
  key: 1,
638
657
  size: 18,
639
658
  "aria-hidden": "true"
@@ -731,4 +750,4 @@ var ue = { key: 1 }, de = { key: 2 }, fe = /* @__PURE__ */ x({
731
750
  }
732
751
  });
733
752
  //#endregion
734
- export { c as DOCK_CONTEXT_KEY, he as DockBackgroundToggle, ve as DockDropdownTrigger, $ as DockIconButton, me as DockLayer, fe as DockLayerGroup, _e as DockSelectTrigger, ge as DockTabButton, ce as GlassDock, o as provideDockContext, s as useDockContext, a as useOptionalDockContext };
753
+ export { c as DOCK_CONTEXT_KEY, he as DockBackgroundToggle, ve as DockDropdownTrigger, me as DockIconButton, pe as DockLayer, de as DockLayerGroup, _e as DockSelectTrigger, ge as DockTabButton, ce as GlassDock, o as provideDockContext, s as useDockContext, a as useOptionalDockContext };
@@ -1,4 +1,4 @@
1
- import { n as e } from "./createContext-DBMGRlx4.js";
1
+ import { n as e } from "./createContext-CvNyBk4o.js";
2
2
  //#region src/components/custom/dock/composables/dockContext.ts
3
3
  var t = e("glass-ui:dock-context", "[glass-ui:dock] useDockContext() called outside <GlassDock>; use useOptionalDockContext() if the primitive may render outside a dock."), n = t.KEY;
4
4
  function r(e) {
package/dist/dom.js CHANGED
@@ -1,6 +1,6 @@
1
- import { t as e } from "./useResizeObserver-DX-STszm.js";
2
- import { t } from "./useTouchGate-CS5Csc2h.js";
3
- import { a as n, i as r, n as i, o as a, r as o, t as s } from "./useViewportReady-Dcvf0c4p.js";
4
- import { t as c } from "./useUserInvalidAria-DmvZ_6Dx.js";
5
- import { t as l } from "./useTextHighlight-Dmtofpk2.js";
1
+ import { t as e } from "./useResizeObserver-CSyxGxIX.js";
2
+ import { t } from "./useTouchGate-YQRwyUGU.js";
3
+ import { a as n, i as r, n as i, o as a, r as o, t as s } from "./useViewportReady-K96m-Mdv.js";
4
+ import { t as c } from "./useUserInvalidAria-CQKjEfwP.js";
5
+ import { t as l } from "./useTextHighlight-aMPdEpkq.js";
6
6
  export { r as copyToClipboard, o as useBreakpoint, n as useClipboard, i as useIdleReady, e as useResizeObserver, l as useTextHighlight, a as useTokenColor, t as useTouchGate, c as useUserInvalidAria, s as useViewportReady };
@@ -1,8 +1,8 @@
1
1
  import { t as e } from "./cn-DJXf4yaB.js";
2
- import { t } from "./check-CdkxGxXJ.js";
3
- import { t as n } from "./chevron-right-BjeKC22V.js";
4
- import { t as r } from "./menuItemVariants-C2QlXqT3.js";
5
- import { i } from "./dockContext-spUj_-E5.js";
2
+ import { t } from "./check-BBKKKSTf.js";
3
+ import { t as n } from "./chevron-right-sDM0Yvrf.js";
4
+ import { t as r } from "./menuItemVariants-B4eFR5Ix.js";
5
+ import { i } from "./dockContext-DLgrVWsU.js";
6
6
  import { computed as a, createBlock as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, guardReactiveProps as d, mergeProps as f, normalizeClass as p, normalizeProps as m, openBlock as h, renderSlot as g, unref as _, withCtx as v } from "vue";
7
7
  import { DropdownMenuCheckboxItem as y, DropdownMenuContent as b, DropdownMenuGroup as x, DropdownMenuItem as S, DropdownMenuItemIndicator as C, DropdownMenuLabel as w, DropdownMenuPortal as T, DropdownMenuPortal as E, DropdownMenuRadioGroup as D, DropdownMenuRadioItem as O, DropdownMenuRoot as k, DropdownMenuSeparator as A, DropdownMenuSub as j, DropdownMenuSubContent as M, DropdownMenuSubTrigger as N, DropdownMenuTrigger as P, useForwardProps as F, useForwardPropsEmits as I } from "reka-ui";
8
8
  //#endregion
@@ -18,7 +18,7 @@ var L = /* @__PURE__ */ u({
18
18
  emits: ["update:open"],
19
19
  setup(e, { emit: t }) {
20
20
  let n = I(e, t);
21
- return (e, t) => (h(), o(_(k), m(d(_(n))), {
21
+ return (e, t) => (h(), o(_(k), f({ "data-slot": "dropdown-menu" }, _(n)), {
22
22
  default: v(() => [g(e.$slots, "default")]),
23
23
  _: 3
24
24
  }, 16));
@@ -1,2 +1,2 @@
1
- import { a as e, c as t, d as n, f as r, h as i, i as a, l as o, m as s, n as c, o as l, p as u, r as d, s as f, t as p, u as m } from "./dropdown-menu-EFjl5iKo.js";
1
+ import { a as e, c as t, d as n, f as r, h as i, i as a, l as o, m as s, n as c, o as l, p as u, r as d, s as f, t as p, u as m } from "./dropdown-menu-BWpwutt0.js";
2
2
  export { i as DropdownMenu, o as DropdownMenuCheckboxItem, u as DropdownMenuContent, r as DropdownMenuGroup, m as DropdownMenuItem, e as DropdownMenuLabel, p as DropdownMenuPortal, n as DropdownMenuRadioGroup, t as DropdownMenuRadioItem, l as DropdownMenuSeparator, f as DropdownMenuShortcut, a as DropdownMenuSub, c as DropdownMenuSubContent, d as DropdownMenuSubTrigger, s as DropdownMenuTrigger };
@@ -1,5 +1,5 @@
1
- import { n as e, t } from "./minimize-2-BP27-qBY.js";
2
- import { i as n } from "./useKeyboardShortcuts-BQfnAHHW.js";
1
+ import { n as e, t } from "./minimize-2-lcXOuc6V.js";
2
+ import { i as n } from "./useKeyboardShortcuts-Be3w_Rwk.js";
3
3
  import { Fragment as r, Teleport as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, mergeModels as d, mergeProps as f, normalizeClass as p, onMounted as m, onUnmounted as h, openBlock as g, renderSlot as _, unref as v, useModel as y, watch as b } from "vue";
4
4
  //#region src/components/custom/expandable-container/ExpandableContainer.vue?vue&type=script&setup=true&lang.ts
5
5
  var x = ["aria-label"], S = {
package/dist/forms.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { t as e } from "./cn-DJXf4yaB.js";
2
- import { t } from "./search-DBG8qaRs.js";
3
- import { t as n } from "./menuItemVariants-C2QlXqT3.js";
4
- import { t as r } from "./useUserInvalidAria-DmvZ_6Dx.js";
5
- import { t as i } from "./Input-CU9CNKmo.js";
2
+ import { t } from "./search-nbkvr2dC.js";
3
+ import { t as n } from "./menuItemVariants-B4eFR5Ix.js";
4
+ import { t as r } from "./useUserInvalidAria-CQKjEfwP.js";
5
+ import { t as i } from "./Input-DWQQIOC4.js";
6
6
  import { computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createTextVNode as l, createVNode as u, defineComponent as d, isRef as f, mergeProps as p, openBlock as m, renderSlot as h, toDisplayString as g, unref as _, vModelText as v, withCtx as y, withDirectives as b } from "vue";
7
7
  import { ComboboxAnchor as x, ComboboxCancel as S, ComboboxContent as C, ComboboxEmpty as w, ComboboxGroup as T, ComboboxInput as E, ComboboxItem as D, ComboboxItemIndicator as O, ComboboxLabel as k, ComboboxPortal as A, ComboboxRoot as j, ComboboxSeparator as M, ComboboxTrigger as N, ComboboxViewport as P, useForwardProps as F, useForwardPropsEmits as I } from "reka-ui";
8
8
  import { reactiveOmit as L, useVModel as R } from "@vueuse/core";
@@ -36,12 +36,15 @@ var z = ["data-autosize"], B = /* @__PURE__ */ d({
36
36
  placeholder: r.placeholder,
37
37
  disabled: r.disabled
38
38
  }));
39
- return (n, a) => b((m(), c("textarea", p({ "onUpdate:modelValue": a[0] ||= (e) => f(i) ? i.value = e : null }, {
39
+ return (n, a) => b((m(), c("textarea", p({
40
+ "onUpdate:modelValue": a[0] ||= (e) => f(i) ? i.value = e : null,
41
+ "data-slot": "textarea"
42
+ }, {
40
43
  ...n.$attrs,
41
44
  ...o.value
42
45
  }, {
43
46
  "data-autosize": t.autosize ? "" : void 0,
44
- class: _(e)("input-pill py-2 text-sm", t.autosize ? "" : "min-h-20", r.class)
47
+ class: _(e)("input-pill rounded-field py-2 text-sm", t.autosize ? "" : "min-h-20", r.class)
45
48
  }), null, 16, z)), [[v, _(i)]]);
46
49
  }
47
50
  }), V = /* @__PURE__ */ d({
@@ -174,7 +177,7 @@ var z = ["data-autosize"], B = /* @__PURE__ */ d({
174
177
  let i = n, a = r, o = I(L(i, "class"), a);
175
178
  return (n, r) => (m(), c("div", G, [u(_(t), { class: "size-4 shrink-0 opacity-50" }), u(_(E), p({
176
179
  "data-slot": "command-input",
177
- class: _(e)("placeholder:text-muted-foreground flex h-10 w-full rounded-input bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-disabled", i.class)
180
+ class: _(e)("placeholder:text-muted-foreground flex h-10 w-full rounded-input bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-disabled aria-invalid:text-[var(--destructive)] aria-invalid:placeholder:text-[color-mix(in_srgb,var(--destructive)_60%,transparent)]", i.class)
178
181
  }, {
179
182
  ..._(o),
180
183
  ...n.$attrs
@@ -0,0 +1 @@
1
+ export * from "./components/custom/fourier-field";