@mkbabb/glass-ui 4.2.0 → 5.0.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 (1377) hide show
  1. package/README.md +73 -159
  2. package/dist/CardAction-2uUvjMQK.js +285 -0
  3. package/dist/CollapsibleContent-DiHcB_HH.js +63 -0
  4. package/dist/CommandShortcut-fmdbsEJL.js +302 -0
  5. package/dist/ConfiguratorRow-BV6zPjTM.js +151 -0
  6. package/dist/DataTable-Bxya8nBn.js +518 -0
  7. package/dist/DialogContent-Bl4v10AC.js +192 -0
  8. package/dist/DialogFooter-C0v4Hz2F.js +168 -0
  9. package/dist/FadingScroll-BSRLqQCx.js +76 -0
  10. package/dist/FocusScope-BzKwhsBn.js +23 -0
  11. package/dist/IconChip-CwLmBJ_K.js +57 -0
  12. package/dist/IconTooltip-D9sbK-Mk.js +25 -0
  13. package/dist/Input-DKf-XwUM.js +57 -0
  14. package/dist/InstrumentChassis-Dss5Tjcm.js +65 -0
  15. package/dist/Label-C84TaQiw.js +36 -0
  16. package/dist/Notification-DQv2cOh9.js +43 -0
  17. package/dist/NumberFieldContent-BkE7xPS9.js +140 -0
  18. package/dist/PagerDots-BP6jh7z4.js +279 -0
  19. package/dist/PaperBackdrop-BYwE8_kg.js +31 -0
  20. package/dist/PopoverContent-DOtszFWK.js +251 -0
  21. package/dist/Progress-uWLyXE7J.js +308 -0
  22. package/dist/SelectGroup-BuEptUsa.js +31 -0
  23. package/dist/SelectScrollDownButton-CDtwaWkZ.js +261 -0
  24. package/dist/SelectSeparator-4QGephvr.js +49 -0
  25. package/dist/Separator-DqJ6PfOd.js +44 -0
  26. package/dist/Surface-BWRfwyn8.js +59 -0
  27. package/dist/Switch-BPBfhMU3.js +49 -0
  28. package/dist/Toaster-C_-WeU9W.js +281 -0
  29. package/dist/ToggleGroupItem-DNWx2aSW.js +175 -0
  30. package/dist/TooltipProvider-GtfYdSVf.js +110 -0
  31. package/dist/accent-tone-solve-CBw3L0cy.js +20 -0
  32. package/dist/animated-digit.d.ts +1 -1
  33. package/dist/animated-digit.js +5 -5
  34. package/dist/aurora.d.ts +1 -1
  35. package/dist/aurora.js +1395 -398
  36. package/dist/axes.d.ts +1 -0
  37. package/dist/axes.js +50 -0
  38. package/dist/badge-C0C-rTBu.js +80 -0
  39. package/dist/badge.d.ts +1 -1
  40. package/dist/badge.js +1 -1
  41. package/dist/blob-config.d.ts +5 -0
  42. package/dist/blob-config.js +2 -0
  43. package/dist/blob.d.ts +1 -0
  44. package/dist/blob.js +1582 -0
  45. package/dist/button-BXzhydVB.js +187 -0
  46. package/dist/button.d.ts +1 -1
  47. package/dist/button.js +1 -1
  48. package/dist/canvas.js +1 -1
  49. package/dist/card.d.ts +1 -1
  50. package/dist/card.js +1 -1
  51. package/dist/carousel.d.ts +2 -2
  52. package/dist/carousel.js +165 -248
  53. package/dist/chip.d.ts +10 -0
  54. package/dist/chip.js +81 -0
  55. package/dist/class-names-5jotTFzp.js +97 -0
  56. package/dist/coalesce-metric-B8o7zT9u.js +13 -0
  57. package/dist/collapsible.d.ts +1 -1
  58. package/dist/collapsible.js +1 -1
  59. package/dist/color-Bp5jmv4Z.js +86 -0
  60. package/dist/color-swatch.d.ts +1 -1
  61. package/dist/color-swatch.js +2 -2
  62. package/dist/color.js +3 -2
  63. package/dist/command.d.ts +1 -1
  64. package/dist/command.js +1 -1
  65. package/dist/completion-seal.d.ts +1 -1
  66. package/dist/completion-seal.js +76 -42
  67. package/dist/components/_shared/axes.d.ts +21 -0
  68. package/dist/components/_shared/class-names.d.ts +27 -0
  69. package/dist/components/_shared/index.d.ts +6 -0
  70. package/dist/components/_shared/menuItemVariants.d.ts +51 -0
  71. package/dist/components/_shared/useControlSize.d.ts +46 -0
  72. package/dist/components/_shared/useMotionAxis.d.ts +41 -0
  73. package/dist/components/_shared/useSurfaceAxis.d.ts +64 -0
  74. package/dist/components/alert/Alert.vue.d.ts +19 -0
  75. package/dist/components/alert/index.d.ts +8 -0
  76. package/dist/components/aurora/Aurora.vue.d.ts +104 -0
  77. package/dist/components/aurora/composables/atoms-fields.d.ts +43 -0
  78. package/dist/components/aurora/composables/atoms.d.ts +198 -0
  79. package/dist/components/aurora/composables/auroraImageSource.d.ts +44 -0
  80. package/dist/components/aurora/composables/color.d.ts +111 -0
  81. package/dist/components/aurora/composables/frameLoop.d.ts +66 -0
  82. package/dist/components/aurora/composables/glSetup.d.ts +29 -0
  83. package/dist/components/aurora/composables/runtime.d.ts +140 -0
  84. package/dist/components/aurora/composables/uniformBridge.d.ts +120 -0
  85. package/dist/components/aurora/composables/uniformBridgeWGPU.d.ts +60 -0
  86. package/dist/components/aurora/composables/uniformBridgeWGPUImage.d.ts +39 -0
  87. package/dist/components/aurora/composables/useAurora.d.ts +80 -0
  88. package/dist/components/aurora/composables/useCursorInteraction.d.ts +25 -0
  89. package/dist/components/aurora/composables/wgpuSetup.d.ts +50 -0
  90. package/dist/components/aurora/constants/presets.d.ts +326 -0
  91. package/dist/components/aurora/constants/shaders/aurora-image.frag.d.ts +3 -0
  92. package/dist/components/aurora/constants/shaders/aurora-image.wgsl.d.ts +3 -0
  93. package/dist/components/aurora/constants/shaders/aurora-mediums.wgsl.d.ts +1 -0
  94. package/dist/components/aurora/constants/shaders/aurora.wgsl.d.ts +1 -0
  95. package/dist/components/aurora/constants/shaders/brush.glsl.d.ts +1 -0
  96. package/dist/components/aurora/constants/shaders/flow.glsl.d.ts +1 -0
  97. package/dist/components/aurora/constants/shaders/mediums.glsl.d.ts +2 -0
  98. package/dist/components/aurora/constants/shaders/metal-medium.glsl.d.ts +2 -0
  99. package/dist/components/aurora/index.d.ts +13 -0
  100. package/dist/components/avatar/Avatar.vue.d.ts +23 -0
  101. package/dist/components/avatar/index.d.ts +9 -0
  102. package/dist/components/badge/Badge.vue.d.ts +41 -0
  103. package/dist/components/badge/index.d.ts +9 -0
  104. package/dist/components/blob/Blob.vue.d.ts +72 -0
  105. package/dist/components/blob/composables/satelliteKinematics.d.ts +20 -0
  106. package/dist/components/blob/composables/uploadBlobUniforms.d.ts +51 -0
  107. package/dist/components/blob/composables/useBlobPointer.d.ts +88 -0
  108. package/dist/components/blob/composables/useMetaballRenderer.d.ts +100 -0
  109. package/dist/components/blob/composables/wgpuSetup.d.ts +23 -0
  110. package/dist/components/blob/config.d.ts +3 -0
  111. package/dist/components/blob/constants.d.ts +82 -0
  112. package/dist/components/blob/index.d.ts +8 -0
  113. package/dist/components/blob/presets.d.ts +14 -0
  114. package/dist/components/blob/shaders/metaball-uniforms.glsl.d.ts +1 -0
  115. package/dist/components/blob/types.d.ts +256 -0
  116. package/dist/components/button/Button.vue.d.ts +31 -0
  117. package/dist/components/button/index.d.ts +9 -0
  118. package/dist/components/card/Card.vue.d.ts +180 -0
  119. package/dist/components/card/CardHeader.vue.d.ts +58 -0
  120. package/dist/components/card/ScrollCard.vue.d.ts +33 -0
  121. package/dist/components/carousel/Carousel.vue.d.ts +44 -0
  122. package/dist/components/carousel/CarouselContent.vue.d.ts +24 -0
  123. package/dist/components/carousel/CarouselNext.vue.d.ts +21 -0
  124. package/dist/components/carousel/CarouselPrevious.vue.d.ts +21 -0
  125. package/dist/components/carousel/GlassCarouselPager.vue.d.ts +50 -0
  126. package/dist/components/carousel/useCarousel.d.ts +21 -0
  127. package/dist/components/chip/Chip.vue.d.ts +20 -0
  128. package/dist/components/chip/chipVariants.d.ts +43 -0
  129. package/dist/components/chip/index.d.ts +3 -0
  130. package/dist/components/chip/types.d.ts +38 -0
  131. package/dist/components/combobox/Combobox.vue.d.ts +32 -0
  132. package/dist/components/combobox/ComboboxList.vue.d.ts +32 -0
  133. package/dist/components/command/index.d.ts +10 -0
  134. package/dist/components/completion-seal/CompletionSeal.vue.d.ts +28 -0
  135. package/dist/components/completion-seal/constants.d.ts +66 -0
  136. package/dist/components/configurator/Configurator.vue.d.ts +160 -0
  137. package/dist/components/configurator/ConfiguratorRow.vue.d.ts +96 -0
  138. package/dist/components/configurator/index.d.ts +6 -0
  139. package/dist/components/configurator/size.d.ts +26 -0
  140. package/dist/components/constellation/Constellation.vue.d.ts +34 -0
  141. package/dist/components/constellation/composables/constellationGLSetup.d.ts +10 -0
  142. package/dist/components/constellation/composables/constellationWGPUSetup.d.ts +19 -0
  143. package/dist/components/constellation/composables/useConstellation.d.ts +39 -0
  144. package/dist/components/constellation/constants.d.ts +97 -0
  145. package/dist/components/constellation/constellationTypes.d.ts +420 -0
  146. package/dist/components/dialog/DialogContent.vue.d.ts +115 -0
  147. package/dist/components/dock/DockBackgroundToggle.vue.d.ts +46 -0
  148. package/dist/components/dock/DockControl.vue.d.ts +73 -0
  149. package/dist/components/dock/DockCrossfade.vue.d.ts +50 -0
  150. package/dist/components/dock/DockLayer.vue.d.ts +33 -0
  151. package/dist/components/dock/DockLayerGroup.vue.d.ts +65 -0
  152. package/dist/components/dock/DockStack.vue.d.ts +73 -0
  153. package/dist/components/dock/DockTrigger.vue.d.ts +27 -0
  154. package/dist/components/dock/GlassDock.vue.d.ts +33 -0
  155. package/dist/components/dock/composables/dockContext.d.ts +48 -0
  156. package/dist/components/dock/composables/dockCrossfadeContext.d.ts +57 -0
  157. package/dist/components/dock/composables/dockMorphContext.d.ts +89 -0
  158. package/dist/components/dock/composables/index.d.ts +10 -0
  159. package/dist/components/dock/composables/useDockFisheye.d.ts +24 -0
  160. package/dist/components/dock/composables/useDockOverflowFit.d.ts +22 -0
  161. package/dist/components/dock/composables/useDockPopover.d.ts +68 -0
  162. package/dist/components/dock/composables/useDockSearch.d.ts +85 -0
  163. package/dist/components/dock/composables/useDockShellProps.d.ts +178 -0
  164. package/dist/components/dock/composables/useDockSpring.d.ts +71 -0
  165. package/dist/components/dock/composables/useDockTouchGate.d.ts +51 -0
  166. package/dist/components/dock/constants.d.ts +107 -0
  167. package/dist/components/dock/index.d.ts +19 -0
  168. package/dist/components/drawer/Drawer.vue.d.ts +85 -0
  169. package/dist/components/drawer/DrawerContent.vue.d.ts +40 -0
  170. package/dist/components/drawer/composables/useDrawerSnap.d.ts +24 -0
  171. package/dist/components/drawer/constants.d.ts +50 -0
  172. package/dist/components/drawer/index.d.ts +35 -0
  173. package/dist/components/dropdown-menu/DropdownMenu.vue.d.ts +24 -0
  174. package/dist/components/dropdown-menu/DropdownMenuContent.vue.d.ts +36 -0
  175. package/dist/components/dropdown-menu/index.d.ts +16 -0
  176. package/dist/components/dropdown-menu/useMenuTrigger.d.ts +14 -0
  177. package/dist/components/expandable-container/ExpandableContainer.vue.d.ts +71 -0
  178. package/dist/components/fourier-field/FourierField.vue.d.ts +54 -0
  179. package/dist/components/fourier-field/composables/fourierFieldGLSetup.d.ts +24 -0
  180. package/dist/components/fourier-field/composables/fourierFieldWGPUSetup.d.ts +31 -0
  181. package/dist/components/fourier-field/composables/uniformBridgeWGPU.d.ts +41 -0
  182. package/dist/components/fourier-field/composables/useFourierField.d.ts +55 -0
  183. package/dist/components/fourier-field/constants.d.ts +134 -0
  184. package/dist/components/fourier-field/index.d.ts +31 -0
  185. package/dist/components/fourier-field/math.d.ts +111 -0
  186. package/dist/components/fourier-field/shaders/fourier-field.glsl.d.ts +4 -0
  187. package/dist/components/fourier-field/shaders/fourier-field.render.wgsl.d.ts +1 -0
  188. package/dist/components/fourier-field/shaders/fourier-field.ribbon.d.ts +51 -0
  189. package/dist/components/handmark/composables/useHandMark.d.ts +99 -0
  190. package/dist/components/handmark/constants.d.ts +69 -0
  191. package/dist/components/handmark/geometry.d.ts +65 -0
  192. package/dist/components/handmark/noise.d.ts +30 -0
  193. package/dist/components/handmark/types.d.ts +70 -0
  194. package/dist/components/header-ribbon/HeaderRibbon.vue.d.ts +31 -0
  195. package/dist/components/header-ribbon/index.d.ts +2 -0
  196. package/dist/components/header-ribbon/types.d.ts +7 -0
  197. package/dist/components/index.d.ts +36 -0
  198. package/dist/components/liquid-grid/LiquidGrid.vue.d.ts +42 -0
  199. package/dist/components/liquid-grid/composables/liquidGrid.d.ts +113 -0
  200. package/dist/components/liquid-grid/composables/liquidGridGLSetup.d.ts +18 -0
  201. package/dist/components/liquid-grid/composables/liquidGridWGPUSetup.d.ts +21 -0
  202. package/dist/components/liquid-grid/composables/uniformBridgeWGPU.d.ts +16 -0
  203. package/dist/components/liquid-grid/composables/useLiquidGrid.d.ts +31 -0
  204. package/dist/components/liquid-grid/constants.d.ts +93 -0
  205. package/dist/components/liquid-grid/index.d.ts +5 -0
  206. package/dist/components/liquid-grid/shaders/liquid-grid.glsl.d.ts +4 -0
  207. package/dist/components/liquid-grid/shaders/liquid-grid.wgsl.d.ts +1 -0
  208. package/dist/components/metric-badge/MetricBadge.vue.d.ts +40 -0
  209. package/dist/components/metric-cell/MetricCell.vue.d.ts +108 -0
  210. package/dist/components/metric-stack/MetricRow.vue.d.ts +120 -0
  211. package/dist/components/notification/Notification.vue.d.ts +16 -0
  212. package/dist/components/pager-dots/composables/usePagerWorm.d.ts +26 -0
  213. package/dist/components/pager-dots/constants.d.ts +15 -0
  214. package/dist/components/paper-backdrop/PaperBackdrop.vue.d.ts +21 -0
  215. package/dist/components/popover/Popover.vue.d.ts +54 -0
  216. package/dist/components/popover/PopoverContent.vue.d.ts +53 -0
  217. package/dist/components/popover/PopoverTrigger.vue.d.ts +16 -0
  218. package/dist/components/popover/popoverContext.d.ts +17 -0
  219. package/dist/components/progress/Progress.vue.d.ts +54 -0
  220. package/dist/components/progress/ProgressLiquid.vue.d.ts +21 -0
  221. package/dist/components/progress/index.d.ts +6 -0
  222. package/dist/components/scroll-progress-rim/ScrollProgressRim.vue.d.ts +19 -0
  223. package/dist/components/scroll-progress-rim/index.d.ts +3 -0
  224. package/dist/components/scroll-progress-rim/types.d.ts +2 -0
  225. package/dist/components/search/FuzzySearch.vue.d.ts +22 -0
  226. package/dist/components/search/SearchBar.vue.d.ts +38 -0
  227. package/dist/components/search/searchVariants.d.ts +19 -0
  228. package/dist/components/select/SelectContent.vue.d.ts +42 -0
  229. package/dist/components/slider/Slider.vue.d.ts +40 -0
  230. package/dist/components/slider/index.d.ts +46 -0
  231. package/dist/components/sortable-list/SortableHandle.vue.d.ts +19 -0
  232. package/dist/components/sortable-list/SortableItem.vue.d.ts +22 -0
  233. package/dist/components/sortable-list/SortableList.vue.d.ts +39 -0
  234. package/dist/components/sortable-list/composables/dragController.d.ts +29 -0
  235. package/dist/components/sortable-list/composables/types.d.ts +50 -0
  236. package/dist/components/sortable-list/composables/useSortable.d.ts +5 -0
  237. package/dist/components/sortable-list/context.d.ts +11 -0
  238. package/dist/components/sortable-list/index.d.ts +4 -0
  239. package/dist/components/split-chars/SplitChars.vue.d.ts +53 -0
  240. package/dist/components/stacked-icons/types.d.ts +19 -0
  241. package/dist/components/surface/Surface.vue.d.ts +45 -0
  242. package/dist/components/surface/index.d.ts +2 -0
  243. package/dist/components/tabs/SegmentedTabs.vue.d.ts +101 -0
  244. package/dist/components/tabs/composables/useEyeglassLive.d.ts +17 -0
  245. package/dist/components/tabs/composables/useTabDragMorph.d.ts +42 -0
  246. package/dist/components/tabs/composables/useTabResponsive.d.ts +43 -0
  247. package/dist/components/tabs/composables/useTabRovingFocus.d.ts +51 -0
  248. package/dist/components/tabs/constants.d.ts +1 -0
  249. package/dist/components/timeline/ContinuousMarkers.vue.d.ts +49 -0
  250. package/dist/components/timeline/GlassTimeline.vue.d.ts +114 -0
  251. package/dist/components/toast/Toast.vue.d.ts +107 -0
  252. package/dist/components/toast/index.d.ts +9 -0
  253. package/dist/components/toast/use-toast.d.ts +182 -0
  254. package/dist/components/toggle/Toggle.vue.d.ts +29 -0
  255. package/dist/components/toggle/index.d.ts +26 -0
  256. package/dist/components/watercolor-dot/prng.d.ts +5 -0
  257. package/dist/components/watercolor-dot/useWatercolorBlob.d.ts +31 -0
  258. package/dist/composables/color/accent-tone-solve.d.ts +11 -0
  259. package/dist/composables/color/index.d.ts +18 -1
  260. package/dist/composables/color/useAccentTone.d.ts +6 -8
  261. package/dist/composables/dom/useUserInvalidAria.d.ts +7 -11
  262. package/dist/composables/glass/ambientHueHistogram.d.ts +27 -0
  263. package/dist/composables/glass/backdropLuminanceSample.d.ts +56 -0
  264. package/dist/composables/glass/backdropSampleMath.d.ts +5 -0
  265. package/dist/composables/glass/textureUpload.d.ts +91 -0
  266. package/dist/composables/glass/useGlassBackdropLuminance.d.ts +27 -1
  267. package/dist/composables/glass/useSpecularPointer.d.ts +23 -4
  268. package/dist/composables/glass/useSpecularTracking.d.ts +1 -1
  269. package/dist/composables/glass/wave/waveField.d.ts +22 -1
  270. package/dist/composables/glass/wave/waveField.glsl.d.ts +1 -1
  271. package/dist/composables/glass/wave/waveField.wgsl.d.ts +1 -1
  272. package/dist/composables/glass/webgl/backingSize.d.ts +44 -0
  273. package/dist/composables/glass/webgl/createCanvasLifecycle.d.ts +36 -55
  274. package/dist/composables/glass/webgl/shaders/glass-refract.glsl.d.ts +36 -0
  275. package/dist/composables/glass/webgl/useWebGLCanvas.d.ts +1 -1
  276. package/dist/composables/glass/webgl/visibility.d.ts +42 -0
  277. package/dist/composables/glass/webgpu/useGpuSubstrate.d.ts +5 -4
  278. package/dist/composables/glass/webgpu/useWebGPUCanvas.d.ts +3 -111
  279. package/dist/composables/glass/webgpu/webgpuCanvasTypes.d.ts +96 -0
  280. package/dist/composables/glass/webgpu/webgpuDevice.d.ts +30 -0
  281. package/dist/composables/index.d.ts +1 -2
  282. package/dist/composables/motion/bloomUpField.d.ts +29 -0
  283. package/dist/composables/motion/core/index.d.ts +6 -2
  284. package/dist/composables/motion/gooBarbellGeometry.d.ts +79 -0
  285. package/dist/composables/motion/index.d.ts +1 -1
  286. package/dist/composables/motion/morphSignatures.d.ts +88 -0
  287. package/dist/composables/motion/motionTempo.d.ts +9 -0
  288. package/dist/composables/motion/pointerFieldMappings.d.ts +161 -0
  289. package/dist/composables/motion/springPresets.d.ts +17 -23
  290. package/dist/composables/motion/useDockCtaReceive.d.ts +32 -39
  291. package/dist/composables/motion/useElementMorph.d.ts +99 -0
  292. package/dist/composables/motion/useLeadTrail.d.ts +69 -0
  293. package/dist/composables/motion/useLiquidPress.d.ts +9 -0
  294. package/dist/composables/motion/useLiquidReveal.d.ts +15 -29
  295. package/dist/composables/motion/usePointerVelocityField.d.ts +59 -0
  296. package/dist/composables/motion/useRoutePointer.d.ts +41 -0
  297. package/dist/composables/motion/useSelectionGroup.d.ts +83 -0
  298. package/dist/composables/motion/useSelectionIndicator.d.ts +90 -0
  299. package/dist/composables/motion/useSpringPress.d.ts +5 -5
  300. package/dist/configurator.d.ts +1 -1
  301. package/dist/configurator.js +3 -3
  302. package/dist/constellation.d.ts +1 -1
  303. package/dist/constellation.js +292 -255
  304. package/dist/controls.d.ts +1 -1
  305. package/dist/controls.js +5 -5
  306. package/dist/createCanvasLifecycle-DlrcvWbb.js +209 -0
  307. package/dist/dark.js +1 -1
  308. package/dist/data-table.d.ts +1 -1
  309. package/dist/data-table.js +1 -1
  310. package/dist/deck.d.ts +1 -1
  311. package/dist/deck.js +6 -6
  312. package/dist/dialog.d.ts +1 -1
  313. package/dist/dialog.js +3 -4
  314. package/dist/dock.d.ts +1 -1
  315. package/dist/dock.js +1038 -1591
  316. package/dist/dockContext-d-WpJN2Z.js +13 -0
  317. package/dist/dom.js +6 -6
  318. package/dist/drawer.d.ts +1 -1
  319. package/dist/drawer.js +169 -161
  320. package/dist/dropdown-menu-DaGlVdp9.js +421 -0
  321. package/dist/dropdown-menu.d.ts +1 -1
  322. package/dist/dropdown-menu.js +1 -1
  323. package/dist/easing.d.ts +10 -1
  324. package/dist/easing.js +148 -148
  325. package/dist/expandable-container.d.ts +1 -1
  326. package/dist/expandable-container.js +85 -66
  327. package/dist/fading-scroll.d.ts +1 -1
  328. package/dist/fading-scroll.js +1 -1
  329. package/dist/focus-scope.d.ts +1 -1
  330. package/dist/focus-scope.js +2 -23
  331. package/dist/forms.d.ts +4 -3
  332. package/dist/forms.js +75 -66
  333. package/dist/fourier-field.d.ts +1 -1
  334. package/dist/fourier-field.js +608 -554
  335. package/dist/fourier-math.d.ts +7 -1
  336. package/dist/fourier-math.js +2 -2
  337. package/dist/glass-ui.css +1 -1
  338. package/dist/glass-ui.js +192 -340
  339. package/dist/handmark.d.ts +3 -1
  340. package/dist/handmark.js +179 -161
  341. package/dist/header-ribbon.d.ts +1 -1
  342. package/dist/header-ribbon.js +7 -7
  343. package/dist/icon-chip.d.ts +1 -1
  344. package/dist/icon-chip.js +1 -1
  345. package/dist/icon-tooltip.d.ts +1 -1
  346. package/dist/icon-tooltip.js +1 -1
  347. package/dist/index.d.ts +42 -45
  348. package/dist/infinite-scroll.d.ts +2 -2
  349. package/dist/infinite-scroll.js +2 -2
  350. package/dist/instrument-chassis.d.ts +1 -1
  351. package/dist/instrument-chassis.js +1 -1
  352. package/dist/keyboard.js +1 -1
  353. package/dist/label.d.ts +1 -1
  354. package/dist/label.js +1 -1
  355. package/dist/labeled-field.d.ts +1 -1
  356. package/dist/labeled-field.js +13 -13
  357. package/dist/liquid-grid.d.ts +1 -0
  358. package/dist/liquid-grid.js +1064 -0
  359. package/dist/math-CIEcwsYi.js +112 -0
  360. package/dist/menuItemVariants-DbO-Fr74.js +36 -0
  361. package/dist/metric-badge.d.ts +1 -1
  362. package/dist/metric-badge.js +79 -2
  363. package/dist/metric-cell.d.ts +1 -1
  364. package/dist/metric-cell.js +9 -9
  365. package/dist/metric-stack.d.ts +1 -1
  366. package/dist/metric-stack.js +23 -23
  367. package/dist/motion-core.js +48 -42
  368. package/dist/motion-curves.d.ts +20 -0
  369. package/dist/motion-curves.js +2 -2
  370. package/dist/motion.js +94 -210
  371. package/dist/motionTempo-CMS5b0Vu.js +7 -0
  372. package/dist/notification.d.ts +1 -1
  373. package/dist/notification.js +1 -1
  374. package/dist/number-field.d.ts +1 -1
  375. package/dist/number-field.js +1 -1
  376. package/dist/pager-dots.d.ts +1 -1
  377. package/dist/pager-dots.js +1 -1
  378. package/dist/paper-backdrop.d.ts +1 -1
  379. package/dist/paper-backdrop.js +1 -1
  380. package/dist/pointerFieldMappings-4VtmkOWv.js +65 -0
  381. package/dist/popover.d.ts +1 -1
  382. package/dist/popover.js +1 -1
  383. package/dist/presets-B07HzyKd.js +95 -0
  384. package/dist/prng-B0PLRmR6.js +15 -0
  385. package/dist/progress.d.ts +1 -1
  386. package/dist/progress.js +2 -2
  387. package/dist/pulse.d.ts +1 -1
  388. package/dist/pulse.js +4 -4
  389. package/dist/reactive.js +2 -2
  390. package/dist/resolveCanvasColor-B3L-akX0.js +93 -0
  391. package/dist/scroll-progress-rim.d.ts +1 -0
  392. package/dist/scroll-progress-rim.js +61 -0
  393. package/dist/search.d.ts +1 -1
  394. package/dist/search.js +123 -123
  395. package/dist/select.d.ts +1 -1
  396. package/dist/select.js +3 -3
  397. package/dist/separator.d.ts +1 -1
  398. package/dist/separator.js +1 -1
  399. package/dist/sidebar.js +1 -1
  400. package/dist/slider-Cxuj_W_H.js +151 -0
  401. package/dist/slider.d.ts +1 -1
  402. package/dist/slider.js +1 -1
  403. package/dist/sortable-list.d.ts +1 -1
  404. package/dist/sortable-list.js +384 -59
  405. package/dist/spa-view.d.ts +1 -1
  406. package/dist/spa-view.js +1 -1
  407. package/dist/springPresets-h5VKJQqG.js +58 -0
  408. package/dist/stacked-icons.d.ts +1 -1
  409. package/dist/stacked-icons.js +6 -6
  410. package/dist/status-dot.d.ts +1 -1
  411. package/dist/status-dot.js +2 -2
  412. package/dist/styles/animations.css +1 -409
  413. package/dist/styles/card-scroll.css +1 -0
  414. package/dist/styles/cards.css +1 -448
  415. package/dist/styles/completion-seal.css +1 -131
  416. package/dist/styles/components.css +1 -45
  417. package/dist/styles/configurator.css +1 -297
  418. package/dist/styles/dialog-placement.css +1 -0
  419. package/dist/styles/dock/adaptive-legibility.css +1 -119
  420. package/dist/styles/dock/crossfade.css +1 -0
  421. package/dist/styles/dock/cta-seat.css +1 -87
  422. package/dist/styles/dock/density.css +1 -455
  423. package/dist/styles/dock/dock.css +1 -0
  424. package/dist/styles/dock/fisheye.css +1 -0
  425. package/dist/styles/dock/layer-group.css +1 -333
  426. package/dist/styles/dock/layers.css +1 -413
  427. package/dist/styles/dock/morph.css +1 -430
  428. package/dist/styles/dock/overflow.css +1 -292
  429. package/dist/styles/dock/popover.css +1 -0
  430. package/dist/styles/dock/search.css +1 -68
  431. package/dist/styles/dock/section.css +1 -59
  432. package/dist/styles/dock/shape.css +1 -250
  433. package/dist/styles/dock/shell-regions.css +1 -0
  434. package/dist/styles/dock/shell.css +1 -498
  435. package/dist/styles/dock-controls/dark-mode-toggle.css +1 -122
  436. package/dist/styles/dock-controls/icon-button.css +1 -189
  437. package/dist/styles/dock-controls/tab-button.css +1 -143
  438. package/dist/styles/dock-controls/touch-floor.css +1 -94
  439. package/dist/styles/dock-controls/triggers.css +1 -157
  440. package/dist/styles/dock-controls.css +1 -92
  441. package/dist/styles/dock.css +1 -173
  442. package/dist/styles/draw-in.css +1 -0
  443. package/dist/styles/drawer.css +1 -406
  444. package/dist/styles/feedback-tone.css +1 -104
  445. package/dist/styles/fonts.css +1 -143
  446. package/dist/styles/glass/a11y-fallback.css +1 -245
  447. package/dist/styles/glass/accent-tone.css +1 -66
  448. package/dist/styles/glass/control-surfaces.css +1 -167
  449. package/dist/styles/glass/deep.css +1 -44
  450. package/dist/styles/glass/defined.css +1 -0
  451. package/dist/styles/glass/glass-atom.css +1 -244
  452. package/dist/styles/glass/glass-capsule.css +1 -143
  453. package/dist/styles/glass/glass-chip.css +1 -215
  454. package/dist/styles/glass/grain-overlay.css +1 -0
  455. package/dist/styles/glass/ladder-undershadow.css +1 -0
  456. package/dist/styles/glass/ladder.css +1 -489
  457. package/dist/styles/glass/liquid-enter.css +1 -252
  458. package/dist/styles/glass/liquid-fill.css +1 -0
  459. package/dist/styles/glass/material.css +1 -370
  460. package/dist/styles/glass/progress-rail.css +1 -78
  461. package/dist/styles/glass/reveal.css +1 -156
  462. package/dist/styles/glass/rim.css +1 -122
  463. package/dist/styles/glass/squircle.css +1 -66
  464. package/dist/styles/glass/surface-axis.css +1 -113
  465. package/dist/styles/glass/surfaces-pager.css +1 -0
  466. package/dist/styles/glass/surfaces.css +1 -411
  467. package/dist/styles/glass-refract.css +1 -114
  468. package/dist/styles/glass-specular-track.css +1 -74
  469. package/dist/styles/glass.css +1 -77
  470. package/dist/styles/icon-chip.css +1 -256
  471. package/dist/styles/index.css +1 -260
  472. package/dist/styles/instrument-chassis.css +1 -453
  473. package/dist/styles/menu.css +1 -127
  474. package/dist/styles/paper.css +1 -284
  475. package/dist/styles/scroll-choreography.css +1 -357
  476. package/dist/styles/scroll-chrome.css +1 -123
  477. package/dist/styles/scroll-driven.css +1 -110
  478. package/dist/styles/scroll-progress-rim.css +1 -0
  479. package/dist/styles/segmented-tabs.css +1 -447
  480. package/dist/styles/select.css +1 -201
  481. package/dist/styles/tabs/segmented-tabs-drag.css +1 -0
  482. package/dist/styles/theme/bridges.css +1 -380
  483. package/dist/styles/theme/dark.css +1 -7
  484. package/dist/styles/theme/literals.css +1 -103
  485. package/dist/styles/theme/radius.css +1 -117
  486. package/dist/styles/theme.css +1 -33
  487. package/dist/styles/tokens/color-radius.css +1 -297
  488. package/dist/styles/tokens/dark-arm-glass.css +1 -0
  489. package/dist/styles/tokens/dark-arm.css +1 -462
  490. package/dist/styles/tokens/glass-deep.css +1 -104
  491. package/dist/styles/tokens/glass-fx.css +1 -454
  492. package/dist/styles/tokens/glass.css +1 -412
  493. package/dist/styles/tokens/light-dark.css +1 -200
  494. package/dist/styles/tokens/motion-registers.css +1 -0
  495. package/dist/styles/tokens/offsets.css +1 -143
  496. package/dist/styles/tokens/on-glass-fg.css +1 -39
  497. package/dist/styles/tokens/property-regs-specular.css +1 -0
  498. package/dist/styles/tokens/property-regs.css +1 -566
  499. package/dist/styles/tokens/scale-paper.css +1 -493
  500. package/dist/styles/tokens/scheme-motion.css +1 -363
  501. package/dist/styles/tokens/scheme-spring.css +1 -239
  502. package/dist/styles/tokens/scroll-tokens.css +1 -123
  503. package/dist/styles/tokens/shadow.css +1 -226
  504. package/dist/styles/tokens/sizing-config.css +1 -110
  505. package/dist/styles/tokens/sizing.css +1 -450
  506. package/dist/styles/tokens.css +1 -52
  507. package/dist/styles/transitions.css +1 -263
  508. package/dist/styles/typography/scale.css +1 -153
  509. package/dist/styles/typography/semantic.css +1 -233
  510. package/dist/styles/typography/utilities.css +1 -174
  511. package/dist/styles/typography.css +1 -46
  512. package/dist/styles/utilities/a11y-overrides.css +1 -184
  513. package/dist/styles/utilities/animate.css +0 -29
  514. package/dist/styles/utilities/base-misc.css +1 -307
  515. package/dist/styles/utilities/base.css +1 -327
  516. package/dist/styles/utilities/btn.css +1 -301
  517. package/dist/styles/utilities/components.css +1 -342
  518. package/dist/styles/utilities/metal.css +1 -215
  519. package/dist/styles/utilities.css +1 -26
  520. package/dist/styles/view-transition.css +1 -67
  521. package/dist/styles/viz-reveal.css +1 -0
  522. package/dist/surface.d.ts +1 -0
  523. package/dist/surface.js +3 -0
  524. package/dist/switch.d.ts +1 -1
  525. package/dist/switch.js +1 -1
  526. package/dist/tabs.d.ts +1 -1
  527. package/dist/tabs.js +189 -249
  528. package/dist/timeline.d.ts +1 -1
  529. package/dist/timeline.js +199 -183
  530. package/dist/toast.d.ts +1 -1
  531. package/dist/toast.js +1 -1
  532. package/dist/toggle-group.d.ts +1 -1
  533. package/dist/toggle-group.js +1 -1
  534. package/dist/tooltip.d.ts +1 -1
  535. package/dist/tooltip.js +1 -1
  536. package/dist/typewriter.d.ts +1 -1
  537. package/dist/typewriter.js +8 -8
  538. package/dist/useAccentTone-D25DxviG.js +23 -0
  539. package/dist/useAnimatedNumber-2XC4aRB6.js +40 -0
  540. package/dist/useConfiguratorState-Dq35N_7t.js +167 -0
  541. package/dist/useControlSize-DJwe-7ZQ.js +9 -0
  542. package/dist/useDockCtaReceive-BgMmeINo.js +161 -0
  543. package/dist/useDocumentVisibility-CpJGUgcJ.js +17 -0
  544. package/dist/useDragMorph-65ihHePq.js +93 -0
  545. package/dist/useFuzzySearch-KslRxiJY.js +177 -0
  546. package/dist/useGooMorph-CU1pwuC6.js +268 -0
  547. package/dist/useGpuSubstrate-DcY584kE.js +347 -0
  548. package/dist/useIntersectionPause-Cmt5Tnv9.js +39 -0
  549. package/dist/useKeyboardShortcuts-ynVmNFo3.js +104 -0
  550. package/dist/useLeadTrail-DOH4XkL1.js +74 -0
  551. package/dist/useLiquidPress-BXNHydZh.js +40 -0
  552. package/dist/useMotionAxis-DCCXMC-i.js +20 -0
  553. package/dist/usePointerVelocityField-CwXyeW0Z.js +122 -0
  554. package/dist/useRAFLoop-CvOo_kgb.js +109 -0
  555. package/dist/useRoutePointer-DL7I0gY4.js +52 -0
  556. package/dist/useScrollProgress-C-yImzhU.js +35 -0
  557. package/dist/useSelectionGroup-Btpf24aY.js +215 -0
  558. package/dist/useSpring-BBSKFx_0.js +41 -0
  559. package/dist/useSpringMount-CNvvgGiC.js +71 -0
  560. package/dist/useSpringPress-BypV_KO-.js +36 -0
  561. package/dist/useSurfaceAxis-DudiZVOR.js +10 -0
  562. package/dist/useTabRovingFocus-CG1H1k1J.js +143 -0
  563. package/dist/useTouchGate-BlegwvwL.js +84 -0
  564. package/dist/useUserInvalidAria-Bkruei7M.js +25 -0
  565. package/dist/watercolor-dot.d.ts +1 -1
  566. package/dist/watercolor-dot.js +52 -50
  567. package/package.json +386 -827
  568. package/src/styles/animations.css +82 -23
  569. package/src/styles/card-scroll.css +189 -0
  570. package/src/styles/cards.css +45 -6
  571. package/src/styles/completion-seal.css +75 -1
  572. package/src/styles/configurator.css +63 -1
  573. package/src/styles/dialog-placement.css +68 -0
  574. package/src/styles/dock/adaptive-legibility.css +1 -1
  575. package/src/styles/dock/crossfade.css +139 -0
  576. package/src/styles/dock/density.css +16 -13
  577. package/src/styles/dock/dock.css +199 -0
  578. package/src/styles/dock/fisheye.css +81 -0
  579. package/src/styles/dock/layer-group.css +37 -41
  580. package/src/styles/dock/layers.css +46 -21
  581. package/src/styles/dock/morph.css +41 -16
  582. package/src/styles/dock/overflow.css +107 -67
  583. package/src/styles/dock/popover.css +249 -0
  584. package/src/styles/dock/shape.css +77 -139
  585. package/src/styles/dock/shell-regions.css +73 -0
  586. package/src/styles/dock/shell.css +159 -157
  587. package/src/styles/dock-controls/dark-mode-toggle.css +3 -2
  588. package/src/styles/dock-controls/icon-button.css +43 -11
  589. package/src/styles/dock-controls/tab-button.css +2 -2
  590. package/src/styles/dock-controls/touch-floor.css +25 -0
  591. package/src/styles/dock.css +60 -14
  592. package/src/styles/draw-in.css +89 -0
  593. package/src/styles/drawer.css +77 -41
  594. package/src/styles/glass/a11y-fallback.css +19 -76
  595. package/src/styles/glass/control-surfaces.css +20 -16
  596. package/src/styles/glass/deep.css +74 -4
  597. package/src/styles/glass/defined.css +88 -0
  598. package/src/styles/glass/glass-atom.css +23 -20
  599. package/src/styles/glass/glass-capsule.css +32 -0
  600. package/src/styles/glass/glass-chip.css +13 -17
  601. package/src/styles/glass/grain-overlay.css +79 -0
  602. package/src/styles/glass/ladder-undershadow.css +61 -0
  603. package/src/styles/glass/ladder.css +96 -133
  604. package/src/styles/glass/liquid-enter.css +12 -24
  605. package/src/styles/glass/liquid-fill.css +65 -0
  606. package/src/styles/glass/material.css +134 -10
  607. package/src/styles/glass/reveal.css +197 -20
  608. package/src/styles/glass/squircle.css +18 -26
  609. package/src/styles/glass/surface-axis.css +24 -1
  610. package/src/styles/glass/surfaces-pager.css +79 -0
  611. package/src/styles/glass/surfaces.css +121 -98
  612. package/src/styles/glass.css +34 -1
  613. package/src/styles/index.css +54 -26
  614. package/src/styles/menu.css +66 -6
  615. package/src/styles/paper.css +105 -202
  616. package/src/styles/scroll-choreography.css +29 -92
  617. package/src/styles/scroll-driven.css +18 -5
  618. package/src/styles/scroll-progress-rim.css +87 -0
  619. package/src/styles/segmented-tabs.css +67 -88
  620. package/src/styles/tabs/segmented-tabs-drag.css +200 -0
  621. package/src/styles/theme/bridges.css +8 -2
  622. package/src/styles/theme/literals.css +2 -1
  623. package/src/styles/theme/radius.css +43 -12
  624. package/src/styles/tokens/color-radius.css +15 -4
  625. package/src/styles/tokens/dark-arm-glass.css +55 -0
  626. package/src/styles/tokens/dark-arm.css +62 -69
  627. package/src/styles/tokens/glass-deep.css +102 -80
  628. package/src/styles/tokens/glass-fx.css +35 -5
  629. package/src/styles/tokens/glass.css +144 -78
  630. package/src/styles/tokens/light-dark.css +20 -4
  631. package/src/styles/tokens/motion-registers.css +93 -0
  632. package/src/styles/tokens/property-regs-specular.css +160 -0
  633. package/src/styles/tokens/property-regs.css +67 -186
  634. package/src/styles/tokens/scale-paper.css +6 -3
  635. package/src/styles/tokens/scheme-motion.css +59 -0
  636. package/src/styles/tokens/scheme-spring.css +146 -93
  637. package/src/styles/tokens/scroll-tokens.css +25 -11
  638. package/src/styles/tokens/shadow.css +28 -22
  639. package/src/styles/tokens/sizing.css +62 -7
  640. package/src/styles/tokens.css +16 -0
  641. package/src/styles/transitions.css +108 -143
  642. package/src/styles/typography/scale.css +10 -0
  643. package/src/styles/typography/semantic.css +5 -5
  644. package/src/styles/typography/utilities.css +25 -2
  645. package/src/styles/utilities/a11y-overrides.css +2 -2
  646. package/src/styles/utilities/base.css +13 -3
  647. package/src/styles/utilities/btn.css +29 -3
  648. package/src/styles/utilities/components.css +16 -21
  649. package/src/styles/utilities/metal.css +86 -29
  650. package/src/styles/viz-reveal.css +63 -0
  651. package/dist/CardAction-DlVP2evz.js +0 -272
  652. package/dist/CollapsibleContent-D7UNsXQr.js +0 -63
  653. package/dist/CommandShortcut-By-VQcLO.js +0 -302
  654. package/dist/ConfiguratorRow-YMXdINHx.js +0 -143
  655. package/dist/ContextMenuContent-CMWn6huB.js +0 -90
  656. package/dist/ContextMenuSubContent-DvwWCUc0.js +0 -245
  657. package/dist/DataTable-C4tG3eIJ.js +0 -512
  658. package/dist/DialogContent-D8U9ZfWS.js +0 -121
  659. package/dist/DialogFooter-DoLy0ewI.js +0 -80
  660. package/dist/DialogScrollContent-BMekN7gq.js +0 -93
  661. package/dist/FadingScroll-P8B30rAD.js +0 -76
  662. package/dist/HoverCardContent-DAmGYglo.js +0 -88
  663. package/dist/HoverPopover-DYpBOzzF.js +0 -96
  664. package/dist/IconChip-CQa7XZYc.js +0 -57
  665. package/dist/IconTooltip-_df8M3xm.js +0 -25
  666. package/dist/Input-CyU4_hIC.js +0 -57
  667. package/dist/InstrumentChassis-UUJX0-mW.js +0 -65
  668. package/dist/Label-B_HPqi_q.js +0 -36
  669. package/dist/MetricBadge-DQt_dGah.js +0 -79
  670. package/dist/ModalOverlay-DfAf7o15.js +0 -53
  671. package/dist/Notification-BlSPJhtZ.js +0 -43
  672. package/dist/NumberFieldContent-Z3VxGu_6.js +0 -140
  673. package/dist/PagerDots-CYlqVFd4.js +0 -196
  674. package/dist/PaperBackdrop-DYWgrnh8.js +0 -42
  675. package/dist/PopoverContent-BuKyHZSz.js +0 -127
  676. package/dist/Progress-C9SsdwIZ.js +0 -274
  677. package/dist/ScrollingText-DY3W1Jfh.js +0 -40
  678. package/dist/SelectGroup-Dcczq44n.js +0 -31
  679. package/dist/SelectScrollDownButton-3mFHX_R-.js +0 -260
  680. package/dist/SelectSeparator-CNRGG7Ew.js +0 -49
  681. package/dist/Separator-Cf9-JFgi.js +0 -44
  682. package/dist/Switch-uf-UKPA2.js +0 -49
  683. package/dist/Toaster-ozrsR4mP.js +0 -274
  684. package/dist/ToggleGroupItem-BpzaVzNm.js +0 -170
  685. package/dist/TooltipProvider-QQVM_80r.js +0 -109
  686. package/dist/api/index.d.ts +0 -34
  687. package/dist/api/types-extra.d.ts +0 -39
  688. package/dist/api.js +0 -2
  689. package/dist/badge-Bt14yURi.js +0 -72
  690. package/dist/border-progress.d.ts +0 -1
  691. package/dist/border-progress.js +0 -98
  692. package/dist/button-D1W9PrzI.js +0 -130
  693. package/dist/chipVariants-BJQ0I2kB.js +0 -18
  694. package/dist/cn-DJXf4yaB.js +0 -97
  695. package/dist/coalesceMetric-5qIeZnTx.js +0 -13
  696. package/dist/color-B9jZdhJX.js +0 -116
  697. package/dist/components/custom/aurora/Aurora.vue.d.ts +0 -101
  698. package/dist/components/custom/aurora/composables/atoms-fields.d.ts +0 -39
  699. package/dist/components/custom/aurora/composables/atoms.d.ts +0 -142
  700. package/dist/components/custom/aurora/composables/color.d.ts +0 -93
  701. package/dist/components/custom/aurora/composables/cursorModel.d.ts +0 -78
  702. package/dist/components/custom/aurora/composables/frameLoop.d.ts +0 -39
  703. package/dist/components/custom/aurora/composables/glSetup.d.ts +0 -29
  704. package/dist/components/custom/aurora/composables/runtime.d.ts +0 -127
  705. package/dist/components/custom/aurora/composables/uniformBridge.d.ts +0 -100
  706. package/dist/components/custom/aurora/composables/uniformBridgeWGPU.d.ts +0 -60
  707. package/dist/components/custom/aurora/composables/useAurora.d.ts +0 -86
  708. package/dist/components/custom/aurora/composables/useCursorInteraction.d.ts +0 -33
  709. package/dist/components/custom/aurora/composables/wgpuSetup.d.ts +0 -37
  710. package/dist/components/custom/aurora/constants/presets.d.ts +0 -258
  711. package/dist/components/custom/aurora/constants/shaders/aurora-mediums.wgsl.d.ts +0 -1
  712. package/dist/components/custom/aurora/constants/shaders/aurora.wgsl.d.ts +0 -1
  713. package/dist/components/custom/aurora/constants/shaders/brush.glsl.d.ts +0 -1
  714. package/dist/components/custom/aurora/constants/shaders/flow.glsl.d.ts +0 -1
  715. package/dist/components/custom/aurora/constants/shaders/mediums.glsl.d.ts +0 -2
  716. package/dist/components/custom/aurora/index.d.ts +0 -13
  717. package/dist/components/custom/border-progress/BorderProgress.vue.d.ts +0 -46
  718. package/dist/components/custom/border-progress/composables/spectrum-walk.d.ts +0 -25
  719. package/dist/components/custom/border-progress/composables/useBorderSpectrum.d.ts +0 -18
  720. package/dist/components/custom/border-progress/constants.d.ts +0 -59
  721. package/dist/components/custom/border-progress/index.d.ts +0 -4
  722. package/dist/components/custom/completion-seal/CompletionSeal.vue.d.ts +0 -21
  723. package/dist/components/custom/completion-seal/constants.d.ts +0 -46
  724. package/dist/components/custom/concentric/Concentric.vue.d.ts +0 -42
  725. package/dist/components/custom/concentric/composables/concentricGLSetup.d.ts +0 -23
  726. package/dist/components/custom/concentric/composables/concentricWGPUSetup.d.ts +0 -26
  727. package/dist/components/custom/concentric/composables/levelField.d.ts +0 -50
  728. package/dist/components/custom/concentric/composables/uniformBridgeWGPU.d.ts +0 -17
  729. package/dist/components/custom/concentric/composables/useConcentric.d.ts +0 -35
  730. package/dist/components/custom/concentric/constants.d.ts +0 -88
  731. package/dist/components/custom/concentric/index.d.ts +0 -5
  732. package/dist/components/custom/concentric/shaders/concentric.glsl.d.ts +0 -4
  733. package/dist/components/custom/concentric/shaders/concentric.wgsl.d.ts +0 -1
  734. package/dist/components/custom/configurator/Configurator.vue.d.ts +0 -160
  735. package/dist/components/custom/configurator/ConfiguratorRow.vue.d.ts +0 -79
  736. package/dist/components/custom/configurator/density.d.ts +0 -25
  737. package/dist/components/custom/configurator/index.d.ts +0 -6
  738. package/dist/components/custom/confirm-dialog/ConfirmDialog.vue.d.ts +0 -32
  739. package/dist/components/custom/confirm-dialog/index.d.ts +0 -1
  740. package/dist/components/custom/constellation/Constellation.vue.d.ts +0 -33
  741. package/dist/components/custom/constellation/composables/constellationGLSetup.d.ts +0 -10
  742. package/dist/components/custom/constellation/composables/constellationWGPUSetup.d.ts +0 -19
  743. package/dist/components/custom/constellation/composables/useConstellation.d.ts +0 -19
  744. package/dist/components/custom/constellation/constants.d.ts +0 -94
  745. package/dist/components/custom/constellation/constellationTypes.d.ts +0 -407
  746. package/dist/components/custom/dock/DockBackgroundToggle.vue.d.ts +0 -46
  747. package/dist/components/custom/dock/DockDropdownTrigger.vue.d.ts +0 -30
  748. package/dist/components/custom/dock/DockIconButton.vue.d.ts +0 -72
  749. package/dist/components/custom/dock/DockLayer.vue.d.ts +0 -34
  750. package/dist/components/custom/dock/DockLayerGroup.vue.d.ts +0 -51
  751. package/dist/components/custom/dock/DockPopoverTrigger.vue.d.ts +0 -19
  752. package/dist/components/custom/dock/DockSelectTrigger.vue.d.ts +0 -29
  753. package/dist/components/custom/dock/DockStack.vue.d.ts +0 -78
  754. package/dist/components/custom/dock/DockTabButton.vue.d.ts +0 -39
  755. package/dist/components/custom/dock/GlassDock.vue.d.ts +0 -47
  756. package/dist/components/custom/dock/composables/dockContext.d.ts +0 -47
  757. package/dist/components/custom/dock/composables/dockLayerContext.d.ts +0 -36
  758. package/dist/components/custom/dock/composables/dockMorphContext.d.ts +0 -79
  759. package/dist/components/custom/dock/composables/index.d.ts +0 -14
  760. package/dist/components/custom/dock/composables/railProjection.d.ts +0 -45
  761. package/dist/components/custom/dock/composables/useDockContextSilhouette.d.ts +0 -192
  762. package/dist/components/custom/dock/composables/useDockFission.d.ts +0 -158
  763. package/dist/components/custom/dock/composables/useDockItemDrag.d.ts +0 -18
  764. package/dist/components/custom/dock/composables/useDockMorphWindow.d.ts +0 -15
  765. package/dist/components/custom/dock/composables/useDockOrientationMorph.d.ts +0 -44
  766. package/dist/components/custom/dock/composables/useDockSearch.d.ts +0 -85
  767. package/dist/components/custom/dock/composables/useDockShellProps.d.ts +0 -214
  768. package/dist/components/custom/dock/composables/useLayerTransition.d.ts +0 -90
  769. package/dist/components/custom/dock/constants.d.ts +0 -98
  770. package/dist/components/custom/dock/index.d.ts +0 -24
  771. package/dist/components/custom/dot-flow-field/DotFlowField.vue.d.ts +0 -42
  772. package/dist/components/custom/dot-flow-field/composables/flowField.d.ts +0 -104
  773. package/dist/components/custom/dot-flow-field/composables/flowGLProgram.d.ts +0 -8
  774. package/dist/components/custom/dot-flow-field/composables/flowSetupGL.d.ts +0 -9
  775. package/dist/components/custom/dot-flow-field/composables/flowSetupGLFlow.d.ts +0 -12
  776. package/dist/components/custom/dot-flow-field/composables/flowSetupWGPU.d.ts +0 -7
  777. package/dist/components/custom/dot-flow-field/composables/uniformBridgeWGPU.d.ts +0 -65
  778. package/dist/components/custom/dot-flow-field/composables/useDotFlowField.d.ts +0 -35
  779. package/dist/components/custom/dot-flow-field/composables/useFlowParticles.d.ts +0 -32
  780. package/dist/components/custom/dot-flow-field/constants.d.ts +0 -120
  781. package/dist/components/custom/dot-flow-field/index.d.ts +0 -5
  782. package/dist/components/custom/dot-flow-field/shaders/flow-field.compute.wgsl.d.ts +0 -1
  783. package/dist/components/custom/dot-flow-field/shaders/flow-field.glsl.d.ts +0 -33
  784. package/dist/components/custom/dot-flow-field/shaders/flow-field.render.wgsl.d.ts +0 -2
  785. package/dist/components/custom/dot-matrix/DotMatrix.vue.d.ts +0 -43
  786. package/dist/components/custom/dot-matrix/composables/dotMatrixField.d.ts +0 -89
  787. package/dist/components/custom/dot-matrix/composables/uniformBridgeWGPU.d.ts +0 -61
  788. package/dist/components/custom/dot-matrix/composables/useDotMatrix.d.ts +0 -34
  789. package/dist/components/custom/dot-matrix/composables/useDotSphere.d.ts +0 -34
  790. package/dist/components/custom/dot-matrix/constants.d.ts +0 -72
  791. package/dist/components/custom/dot-matrix/index.d.ts +0 -5
  792. package/dist/components/custom/dot-matrix/shaders/dot-matrix.glsl.d.ts +0 -4
  793. package/dist/components/custom/dot-matrix/shaders/dot-matrix.wgsl.d.ts +0 -1
  794. package/dist/components/custom/expandable-container/ExpandableContainer.vue.d.ts +0 -71
  795. package/dist/components/custom/fourier-field/FourierField.vue.d.ts +0 -58
  796. package/dist/components/custom/fourier-field/composables/fourierFieldGLSetup.d.ts +0 -24
  797. package/dist/components/custom/fourier-field/composables/fourierFieldWGPUSetup.d.ts +0 -31
  798. package/dist/components/custom/fourier-field/composables/uniformBridgeWGPU.d.ts +0 -56
  799. package/dist/components/custom/fourier-field/composables/useFourierField.d.ts +0 -63
  800. package/dist/components/custom/fourier-field/constants.d.ts +0 -117
  801. package/dist/components/custom/fourier-field/index.d.ts +0 -31
  802. package/dist/components/custom/fourier-field/math.d.ts +0 -86
  803. package/dist/components/custom/fourier-field/shaders/fourier-field.glsl.d.ts +0 -4
  804. package/dist/components/custom/fourier-field/shaders/fourier-field.render.wgsl.d.ts +0 -1
  805. package/dist/components/custom/glass-panel/GlassPanel.vue.d.ts +0 -49
  806. package/dist/components/custom/glass-panel/index.d.ts +0 -2
  807. package/dist/components/custom/goo-blob/GooBlob.vue.d.ts +0 -71
  808. package/dist/components/custom/goo-blob/composables/uploadBlobUniforms.d.ts +0 -41
  809. package/dist/components/custom/goo-blob/composables/useBlobPointer.d.ts +0 -62
  810. package/dist/components/custom/goo-blob/composables/useMetaballRenderer.d.ts +0 -69
  811. package/dist/components/custom/goo-blob/composables/wgpuSetup.d.ts +0 -23
  812. package/dist/components/custom/goo-blob/constants.d.ts +0 -82
  813. package/dist/components/custom/goo-blob/index.d.ts +0 -7
  814. package/dist/components/custom/goo-blob/shaders/metaball-uniforms.glsl.d.ts +0 -1
  815. package/dist/components/custom/goo-blob/types.d.ts +0 -244
  816. package/dist/components/custom/goo-dot-matrix/GooDotMatrix.vue.d.ts +0 -49
  817. package/dist/components/custom/goo-dot-matrix/composables/gooDotLattice.d.ts +0 -24
  818. package/dist/components/custom/goo-dot-matrix/composables/gooDotSetup.d.ts +0 -79
  819. package/dist/components/custom/goo-dot-matrix/composables/uniformBridgeWGPU.d.ts +0 -45
  820. package/dist/components/custom/goo-dot-matrix/composables/useGooDotMatrix.d.ts +0 -31
  821. package/dist/components/custom/goo-dot-matrix/constants.d.ts +0 -115
  822. package/dist/components/custom/goo-dot-matrix/index.d.ts +0 -5
  823. package/dist/components/custom/goo-dot-matrix/shaders/goo-dot.frag.d.ts +0 -13
  824. package/dist/components/custom/goo-dot-matrix/shaders/goo-dot.wgsl.d.ts +0 -4
  825. package/dist/components/custom/handmark/composables/useHandMark.d.ts +0 -89
  826. package/dist/components/custom/handmark/constants.d.ts +0 -59
  827. package/dist/components/custom/handmark/geometry.d.ts +0 -85
  828. package/dist/components/custom/handmark/types.d.ts +0 -62
  829. package/dist/components/custom/header-ribbon/HeaderRibbon.vue.d.ts +0 -31
  830. package/dist/components/custom/header-ribbon/index.d.ts +0 -2
  831. package/dist/components/custom/header-ribbon/types.d.ts +0 -7
  832. package/dist/components/custom/hover-popover/HoverPopover.vue.d.ts +0 -132
  833. package/dist/components/custom/hover-popover/index.d.ts +0 -1
  834. package/dist/components/custom/metric-badge/MetricBadge.vue.d.ts +0 -40
  835. package/dist/components/custom/metric-cell/MetricCell.vue.d.ts +0 -108
  836. package/dist/components/custom/metric-stack/MetricRow.vue.d.ts +0 -120
  837. package/dist/components/custom/paper-backdrop/PaperBackdrop.vue.d.ts +0 -39
  838. package/dist/components/custom/paper-grid/PaperGrid.vue.d.ts +0 -42
  839. package/dist/components/custom/paper-grid/composables/paperGrid.d.ts +0 -105
  840. package/dist/components/custom/paper-grid/composables/paperGridGLSetup.d.ts +0 -18
  841. package/dist/components/custom/paper-grid/composables/paperGridWGPUSetup.d.ts +0 -21
  842. package/dist/components/custom/paper-grid/composables/uniformBridgeWGPU.d.ts +0 -16
  843. package/dist/components/custom/paper-grid/composables/usePaperGrid.d.ts +0 -31
  844. package/dist/components/custom/paper-grid/constants.d.ts +0 -95
  845. package/dist/components/custom/paper-grid/index.d.ts +0 -5
  846. package/dist/components/custom/paper-grid/shaders/paper-grid.glsl.d.ts +0 -4
  847. package/dist/components/custom/paper-grid/shaders/paper-grid.wgsl.d.ts +0 -1
  848. package/dist/components/custom/scrolling-text/ScrollingText.vue.d.ts +0 -20
  849. package/dist/components/custom/scrolling-text/index.d.ts +0 -1
  850. package/dist/components/custom/search/FuzzySearch.vue.d.ts +0 -22
  851. package/dist/components/custom/search/SearchBar.vue.d.ts +0 -38
  852. package/dist/components/custom/search/searchVariants.d.ts +0 -19
  853. package/dist/components/custom/selectable-chip/SelectableChip.vue.d.ts +0 -50
  854. package/dist/components/custom/selectable-chip/chipVariants.d.ts +0 -39
  855. package/dist/components/custom/selectable-chip/index.d.ts +0 -2
  856. package/dist/components/custom/selectable-chip/selectableChipVariants.d.ts +0 -15
  857. package/dist/components/custom/sortable-list/SortableHandle.vue.d.ts +0 -38
  858. package/dist/components/custom/sortable-list/SortableItem.vue.d.ts +0 -38
  859. package/dist/components/custom/sortable-list/SortableList.vue.d.ts +0 -76
  860. package/dist/components/custom/sortable-list/context.d.ts +0 -25
  861. package/dist/components/custom/sortable-list/index.d.ts +0 -4
  862. package/dist/components/custom/split-chars/SplitChars.vue.d.ts +0 -39
  863. package/dist/components/custom/stacked-icons/types.d.ts +0 -18
  864. package/dist/components/custom/tabs/SegmentedTabs.vue.d.ts +0 -99
  865. package/dist/components/custom/tabs/composables/useTabDragMorph.d.ts +0 -42
  866. package/dist/components/custom/tabs/composables/useTabIndicator.d.ts +0 -58
  867. package/dist/components/custom/tabs/constants.d.ts +0 -44
  868. package/dist/components/custom/timeline/ContinuousMarkers.vue.d.ts +0 -49
  869. package/dist/components/custom/timeline/GlassTimeline.vue.d.ts +0 -114
  870. package/dist/components/custom/toggle-chip/ToggleChip.vue.d.ts +0 -41
  871. package/dist/components/custom/toggle-chip/index.d.ts +0 -28
  872. package/dist/components/custom/watercolor-dot/prng.d.ts +0 -5
  873. package/dist/components/custom/watercolor-dot/useWatercolorBlob.d.ts +0 -29
  874. package/dist/components/ui/_shared/index.d.ts +0 -6
  875. package/dist/components/ui/_shared/menuItemVariants.d.ts +0 -51
  876. package/dist/components/ui/_shared/useControlSize.d.ts +0 -46
  877. package/dist/components/ui/_shared/useSurfaceAxis.d.ts +0 -55
  878. package/dist/components/ui/alert/Alert.vue.d.ts +0 -19
  879. package/dist/components/ui/alert/index.d.ts +0 -8
  880. package/dist/components/ui/avatar/Avatar.vue.d.ts +0 -23
  881. package/dist/components/ui/avatar/index.d.ts +0 -9
  882. package/dist/components/ui/badge/Badge.vue.d.ts +0 -34
  883. package/dist/components/ui/badge/index.d.ts +0 -8
  884. package/dist/components/ui/button/Button.vue.d.ts +0 -29
  885. package/dist/components/ui/button/index.d.ts +0 -7
  886. package/dist/components/ui/card/Card.vue.d.ts +0 -168
  887. package/dist/components/ui/card/CardHeader.vue.d.ts +0 -81
  888. package/dist/components/ui/card/ScrollCard.vue.d.ts +0 -33
  889. package/dist/components/ui/carousel/Carousel.vue.d.ts +0 -37
  890. package/dist/components/ui/carousel/CarouselContent.vue.d.ts +0 -14
  891. package/dist/components/ui/carousel/CarouselNext.vue.d.ts +0 -22
  892. package/dist/components/ui/carousel/CarouselPrevious.vue.d.ts +0 -22
  893. package/dist/components/ui/carousel/GlassCarouselPager.vue.d.ts +0 -50
  894. package/dist/components/ui/carousel/useCarousel.d.ts +0 -20
  895. package/dist/components/ui/combobox/Combobox.vue.d.ts +0 -29
  896. package/dist/components/ui/combobox/ComboboxList.vue.d.ts +0 -32
  897. package/dist/components/ui/command/index.d.ts +0 -9
  898. package/dist/components/ui/context-menu/ContextMenu.vue.d.ts +0 -18
  899. package/dist/components/ui/context-menu/ContextMenuCheckboxItem.vue.d.ts +0 -24
  900. package/dist/components/ui/context-menu/ContextMenuContent.vue.d.ts +0 -34
  901. package/dist/components/ui/context-menu/ContextMenuItem.vue.d.ts +0 -23
  902. package/dist/components/ui/context-menu/ContextMenuLabel.vue.d.ts +0 -19
  903. package/dist/components/ui/context-menu/ContextMenuRadioGroup.vue.d.ts +0 -18
  904. package/dist/components/ui/context-menu/ContextMenuRadioItem.vue.d.ts +0 -22
  905. package/dist/components/ui/context-menu/ContextMenuSeparator.vue.d.ts +0 -8
  906. package/dist/components/ui/context-menu/ContextMenuShortcut.vue.d.ts +0 -17
  907. package/dist/components/ui/context-menu/ContextMenuSubContent.vue.d.ts +0 -34
  908. package/dist/components/ui/context-menu/ContextMenuSubTrigger.vue.d.ts +0 -19
  909. package/dist/components/ui/context-menu/ContextMenuTrigger.vue.d.ts +0 -14
  910. package/dist/components/ui/context-menu/index.d.ts +0 -12
  911. package/dist/components/ui/dialog/DialogContent.vue.d.ts +0 -93
  912. package/dist/components/ui/drawer/Drawer.vue.d.ts +0 -86
  913. package/dist/components/ui/drawer/DrawerContent.vue.d.ts +0 -47
  914. package/dist/components/ui/drawer/composables/useDrawerSnap.d.ts +0 -17
  915. package/dist/components/ui/drawer/constants.d.ts +0 -47
  916. package/dist/components/ui/drawer/index.d.ts +0 -35
  917. package/dist/components/ui/dropdown-menu/DropdownMenu.vue.d.ts +0 -18
  918. package/dist/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +0 -36
  919. package/dist/components/ui/dropdown-menu/index.d.ts +0 -15
  920. package/dist/components/ui/hover-card/HoverCard.vue.d.ts +0 -18
  921. package/dist/components/ui/hover-card/HoverCardContent.vue.d.ts +0 -23
  922. package/dist/components/ui/hover-card/HoverCardTrigger.vue.d.ts +0 -14
  923. package/dist/components/ui/hover-card/index.d.ts +0 -3
  924. package/dist/components/ui/index.d.ts +0 -41
  925. package/dist/components/ui/metric-pill/MetricPill.vue.d.ts +0 -46
  926. package/dist/components/ui/metric-pill/index.d.ts +0 -1
  927. package/dist/components/ui/multi-select/MultiSelect.vue.d.ts +0 -28
  928. package/dist/components/ui/multi-select/index.d.ts +0 -7
  929. package/dist/components/ui/notification/Notification.vue.d.ts +0 -16
  930. package/dist/components/ui/popover/Popover.vue.d.ts +0 -18
  931. package/dist/components/ui/popover/PopoverContent.vue.d.ts +0 -42
  932. package/dist/components/ui/popover/PopoverTrigger.vue.d.ts +0 -14
  933. package/dist/components/ui/progress/Progress.vue.d.ts +0 -49
  934. package/dist/components/ui/progress/index.d.ts +0 -5
  935. package/dist/components/ui/select/SelectContent.vue.d.ts +0 -42
  936. package/dist/components/ui/sheet/Sheet.vue.d.ts +0 -18
  937. package/dist/components/ui/sheet/SheetClose.vue.d.ts +0 -14
  938. package/dist/components/ui/sheet/SheetContent.vue.d.ts +0 -59
  939. package/dist/components/ui/sheet/SheetDescription.vue.d.ts +0 -18
  940. package/dist/components/ui/sheet/SheetFooter.vue.d.ts +0 -17
  941. package/dist/components/ui/sheet/SheetHeader.vue.d.ts +0 -17
  942. package/dist/components/ui/sheet/SheetTitle.vue.d.ts +0 -18
  943. package/dist/components/ui/sheet/SheetTrigger.vue.d.ts +0 -14
  944. package/dist/components/ui/sheet/index.d.ts +0 -13
  945. package/dist/components/ui/slider/Slider.vue.d.ts +0 -37
  946. package/dist/components/ui/slider/index.d.ts +0 -46
  947. package/dist/components/ui/tabs/Tabs.vue.d.ts +0 -19
  948. package/dist/components/ui/tabs/TabsContent.vue.d.ts +0 -18
  949. package/dist/components/ui/tabs/TabsIndicator.vue.d.ts +0 -11
  950. package/dist/components/ui/tabs/TabsList.vue.d.ts +0 -28
  951. package/dist/components/ui/tabs/TabsTrigger.vue.d.ts +0 -18
  952. package/dist/components/ui/tabs/index.d.ts +0 -5
  953. package/dist/components/ui/toast/Toast.vue.d.ts +0 -107
  954. package/dist/components/ui/toast/index.d.ts +0 -9
  955. package/dist/components/ui/toast/use-toast.d.ts +0 -182
  956. package/dist/components/ui/toggle/Toggle.vue.d.ts +0 -29
  957. package/dist/components/ui/toggle/index.d.ts +0 -26
  958. package/dist/composables/glass/useGlassRenderer.d.ts +0 -44
  959. package/dist/composables/glass/useVizChoreography.d.ts +0 -123
  960. package/dist/composables/motion/core/useHaptic.d.ts +0 -48
  961. package/dist/composables/motion/useCelebrationBurst.d.ts +0 -50
  962. package/dist/composables/motion/useLiquidMorph.d.ts +0 -108
  963. package/dist/composables/motion/useMorphField.d.ts +0 -157
  964. package/dist/composables/sortable/dragController.d.ts +0 -44
  965. package/dist/composables/sortable/types.d.ts +0 -133
  966. package/dist/composables/sortable/useSortable.d.ts +0 -34
  967. package/dist/concentric.d.ts +0 -1
  968. package/dist/concentric.js +0 -805
  969. package/dist/confirm-dialog.d.ts +0 -1
  970. package/dist/confirm-dialog.js +0 -82
  971. package/dist/context-menu.d.ts +0 -1
  972. package/dist/context-menu.js +0 -3
  973. package/dist/createCanvasLifecycle-CuCrGRfq.js +0 -173
  974. package/dist/dockContext-gFVS2gMg.js +0 -18
  975. package/dist/dot-flow-field.d.ts +0 -1
  976. package/dist/dot-flow-field.js +0 -1485
  977. package/dist/dot-matrix.d.ts +0 -1
  978. package/dist/dot-matrix.js +0 -774
  979. package/dist/dotMatrixField-CRO0ZFk4.js +0 -48
  980. package/dist/dropdown-menu-CCfcCQ68.js +0 -369
  981. package/dist/glass-panel.d.ts +0 -1
  982. package/dist/glass-panel.js +0 -113
  983. package/dist/goo-blob.d.ts +0 -1
  984. package/dist/goo-blob.js +0 -348
  985. package/dist/goo-dot-matrix.d.ts +0 -1
  986. package/dist/goo-dot-matrix.js +0 -811
  987. package/dist/hover-card.d.ts +0 -1
  988. package/dist/hover-card.js +0 -2
  989. package/dist/hover-popover.d.ts +0 -1
  990. package/dist/hover-popover.js +0 -2
  991. package/dist/math-5RcIgCB4.js +0 -51
  992. package/dist/menuItemVariants-DAXquKja.js +0 -36
  993. package/dist/paper-grid.d.ts +0 -1
  994. package/dist/paper-grid.js +0 -761
  995. package/dist/paperGrid-CXCSMbZ1.js +0 -191
  996. package/dist/presets-QvYgnFIZ.js +0 -85
  997. package/dist/prng-B5tIXTtj.js +0 -15
  998. package/dist/resolveCanvasColor-DsSJk06I.js +0 -93
  999. package/dist/scrolling-text.d.ts +0 -1
  1000. package/dist/scrolling-text.js +0 -2
  1001. package/dist/selectable-chip.d.ts +0 -1
  1002. package/dist/selectable-chip.js +0 -48
  1003. package/dist/sheet-DUCIoOe0.js +0 -218
  1004. package/dist/sheet.d.ts +0 -1
  1005. package/dist/sheet.js +0 -2
  1006. package/dist/slider-CcICPe3u.js +0 -149
  1007. package/dist/spectrum-walk-cBNSx_zm.js +0 -33
  1008. package/dist/springPresets-DfoQ6XRY.js +0 -64
  1009. package/dist/styles/border-progress.css +0 -109
  1010. package/dist/styles/critical-partition.mjs +0 -195
  1011. package/dist/styles/critical.css +0 -12
  1012. package/dist/styles/deferred.css +0 -35
  1013. package/dist/styles/dock/fission-bridge.css +0 -552
  1014. package/dist/styles/dock/morph-bridge.css +0 -172
  1015. package/dist/styles/dock/stack-rail.css +0 -352
  1016. package/dist/styles/floating-panel.css +0 -51
  1017. package/dist/styles/glass/liquid-morph.css +0 -850
  1018. package/dist/styles/hover-popover.css +0 -47
  1019. package/dist/styles/jubilance.css +0 -65
  1020. package/dist/styles/motion/morph-field.css +0 -229
  1021. package/dist/toggle-chip.d.ts +0 -1
  1022. package/dist/toggle-chip.js +0 -46
  1023. package/dist/uniformBridgeWGPU-BCse1SHU.js +0 -1268
  1024. package/dist/useAnimatedNumber-BntskVdQ.js +0 -40
  1025. package/dist/useConfiguratorState-22BcULzF.js +0 -164
  1026. package/dist/useControlSize-DAZ062x7.js +0 -9
  1027. package/dist/useDockCtaReceive-DX7RDb6_.js +0 -88
  1028. package/dist/useDragMorph-DGLSewwB.js +0 -102
  1029. package/dist/useFuzzySearch-0fTYOhS4.js +0 -177
  1030. package/dist/useGooMorph-Cs13NgYL.js +0 -104
  1031. package/dist/useGpuSubstrate-Ceet70xq.js +0 -347
  1032. package/dist/useHaptic-CPz5BT9I.js +0 -134
  1033. package/dist/useIntersectionPause-DO8Vl4gs.js +0 -53
  1034. package/dist/useKeyboardShortcuts-BEut54Tk.js +0 -99
  1035. package/dist/useLiquidPress-CtOQ8Z0_.js +0 -43
  1036. package/dist/useMorphField-ogBM7ubT.js +0 -141
  1037. package/dist/usePointerVelocityField-BrkqZFhj.js +0 -91
  1038. package/dist/useScrollChrome-JuImi1DM.js +0 -258
  1039. package/dist/useScrollProgress-A0M6qRl7.js +0 -35
  1040. package/dist/useSortable-DQV_UNDw.js +0 -246
  1041. package/dist/useSpring-C0jyvEJB.js +0 -40
  1042. package/dist/useSpringMount-DFxtzmkR.js +0 -71
  1043. package/dist/useSpringPress-VM9RgVq3.js +0 -36
  1044. package/dist/useSurfaceAxis-Ci7Dnaw2.js +0 -7
  1045. package/dist/useTouchGate-B1Lf9XqN.js +0 -84
  1046. package/dist/useUserInvalidAria-EmmwWPOl.js +0 -29
  1047. package/dist/utils/cn.d.ts +0 -27
  1048. package/dist/utils/index.d.ts +0 -4
  1049. package/dist/utils/moveBefore.d.ts +0 -15
  1050. package/dist/utils/platformSupport.d.ts +0 -8
  1051. package/dist/vendor-B2qOlYY3.js +0 -239
  1052. package/dist/virtual.d.ts +0 -1
  1053. package/dist/virtual.js +0 -225
  1054. package/src/styles/border-progress.css +0 -109
  1055. package/src/styles/critical-partition.mjs +0 -195
  1056. package/src/styles/dock/fission-bridge.css +0 -552
  1057. package/src/styles/dock/morph-bridge.css +0 -172
  1058. package/src/styles/dock/stack-rail.css +0 -352
  1059. package/src/styles/floating-panel.css +0 -49
  1060. package/src/styles/glass/liquid-morph.css +0 -850
  1061. package/src/styles/hover-popover.css +0 -45
  1062. package/src/styles/jubilance.css +0 -65
  1063. package/src/styles/motion/morph-field.css +0 -229
  1064. /package/dist/{_plugin-vue_export-helper-gLzyemvl.js → _plugin-vue_export-helper-C1je1s0u.js} +0 -0
  1065. /package/dist/{compile-INR_tPk_.js → compile-C55K3P9g.js} +0 -0
  1066. /package/dist/components/{ui/_shared → _shared}/ModalOverlay.vue.d.ts +0 -0
  1067. /package/dist/components/{ui/_shared → _shared}/useStalePropWarning.d.ts +0 -0
  1068. /package/dist/components/{ui/accordion → accordion}/Accordion.vue.d.ts +0 -0
  1069. /package/dist/components/{ui/accordion → accordion}/AccordionContent.vue.d.ts +0 -0
  1070. /package/dist/components/{ui/accordion → accordion}/AccordionItem.vue.d.ts +0 -0
  1071. /package/dist/components/{ui/accordion → accordion}/AccordionTrigger.vue.d.ts +0 -0
  1072. /package/dist/components/{ui/accordion → accordion}/index.d.ts +0 -0
  1073. /package/dist/components/{ui/alert → alert}/AlertDescription.vue.d.ts +0 -0
  1074. /package/dist/components/{ui/alert → alert}/AlertTitle.vue.d.ts +0 -0
  1075. /package/dist/components/{custom/animated-digit → animated-digit}/AnimatedDigit.vue.d.ts +0 -0
  1076. /package/dist/components/{custom/animated-digit → animated-digit}/index.d.ts +0 -0
  1077. /package/dist/components/{custom/aurora → aurora}/composables/auroraFallbackGround.d.ts +0 -0
  1078. /package/dist/components/{custom/aurora → aurora}/composables/configSource.d.ts +0 -0
  1079. /package/dist/components/{custom/aurora → aurora}/constants/budget.d.ts +0 -0
  1080. /package/dist/components/{custom/aurora → aurora}/constants/renderMode.d.ts +0 -0
  1081. /package/dist/components/{custom/aurora → aurora}/constants/shaders/aurora.frag.d.ts +0 -0
  1082. /package/dist/components/{custom/aurora → aurora}/constants/shaders/aurora.vert.d.ts +0 -0
  1083. /package/dist/components/{custom/aurora → aurora}/constants/shaders/composition.glsl.d.ts +0 -0
  1084. /package/dist/components/{custom/aurora → aurora}/constants/shaders/oil-modes.glsl.d.ts +0 -0
  1085. /package/dist/components/{custom/aurora → aurora}/constants/shaders/procedural-color.wgsl.d.ts +0 -0
  1086. /package/dist/components/{custom/aurora → aurora}/constants/shaders/tonemap.glsl.d.ts +0 -0
  1087. /package/dist/components/{custom/aurora → aurora}/constants/shaders/vangogh-medium.glsl.d.ts +0 -0
  1088. /package/dist/components/{ui/avatar → avatar}/AvatarFallback.vue.d.ts +0 -0
  1089. /package/dist/components/{ui/avatar → avatar}/AvatarImage.vue.d.ts +0 -0
  1090. /package/dist/components/{custom/goo-blob → blob}/composables/buildMetaballProgram.d.ts +0 -0
  1091. /package/dist/components/{custom/goo-blob → blob}/composables/easing.d.ts +0 -0
  1092. /package/dist/components/{custom/goo-blob → blob}/composables/uniformBridgeWGPU.d.ts +0 -0
  1093. /package/dist/components/{custom/goo-blob → blob}/composables/useBlobMood.d.ts +0 -0
  1094. /package/dist/components/{custom/goo-blob → blob}/composables/useBlobSatellites.d.ts +0 -0
  1095. /package/dist/components/{custom/goo-blob → blob}/shaders/metaball-noise.wgsl.d.ts +0 -0
  1096. /package/dist/components/{custom/goo-blob → blob}/shaders/metaball-palette.wgsl.d.ts +0 -0
  1097. /package/dist/components/{custom/goo-blob → blob}/shaders/metaball.frag.d.ts +0 -0
  1098. /package/dist/components/{custom/goo-blob → blob}/shaders/metaball.vert.d.ts +0 -0
  1099. /package/dist/components/{custom/goo-blob → blob}/shaders/metaball.wgsl.d.ts +0 -0
  1100. /package/dist/components/{custom/goo-blob → blob}/shaders/oklch-perturb.glsl.d.ts +0 -0
  1101. /package/dist/components/{custom/goo-blob → blob}/shaders/sdf-body.glsl.d.ts +0 -0
  1102. /package/dist/components/{custom/goo-blob → blob}/shaders/watercolor-edges.glsl.d.ts +0 -0
  1103. /package/dist/components/{ui/card → card}/CardAction.vue.d.ts +0 -0
  1104. /package/dist/components/{ui/card → card}/CardContent.vue.d.ts +0 -0
  1105. /package/dist/components/{ui/card → card}/CardDescription.vue.d.ts +0 -0
  1106. /package/dist/components/{ui/card → card}/CardFooter.vue.d.ts +0 -0
  1107. /package/dist/components/{ui/card → card}/CardTitle.vue.d.ts +0 -0
  1108. /package/dist/components/{ui/card → card}/ScrollCardHeader.vue.d.ts +0 -0
  1109. /package/dist/components/{ui/card → card}/index.d.ts +0 -0
  1110. /package/dist/components/{ui/carousel → carousel}/CarouselItem.vue.d.ts +0 -0
  1111. /package/dist/components/{ui/carousel → carousel}/CarouselPager.vue.d.ts +0 -0
  1112. /package/dist/components/{ui/carousel → carousel}/index.d.ts +0 -0
  1113. /package/dist/components/{ui/carousel → carousel}/interface.d.ts +0 -0
  1114. /package/dist/components/{ui/checkbox → checkbox}/Checkbox.vue.d.ts +0 -0
  1115. /package/dist/components/{ui/checkbox → checkbox}/index.d.ts +0 -0
  1116. /package/dist/components/{ui/collapsible → collapsible}/Collapsible.vue.d.ts +0 -0
  1117. /package/dist/components/{ui/collapsible → collapsible}/CollapsibleContent.vue.d.ts +0 -0
  1118. /package/dist/components/{ui/collapsible → collapsible}/CollapsibleTrigger.vue.d.ts +0 -0
  1119. /package/dist/components/{ui/collapsible → collapsible}/index.d.ts +0 -0
  1120. /package/dist/components/{custom/color-swatch → color-swatch}/ColorSwatch.vue.d.ts +0 -0
  1121. /package/dist/components/{custom/color-swatch → color-swatch}/index.d.ts +0 -0
  1122. /package/dist/components/{ui/combobox → combobox}/ComboboxAnchor.vue.d.ts +0 -0
  1123. /package/dist/components/{ui/combobox → combobox}/ComboboxEmpty.vue.d.ts +0 -0
  1124. /package/dist/components/{ui/combobox → combobox}/ComboboxGroup.vue.d.ts +0 -0
  1125. /package/dist/components/{ui/combobox → combobox}/ComboboxInput.vue.d.ts +0 -0
  1126. /package/dist/components/{ui/combobox → combobox}/ComboboxItem.vue.d.ts +0 -0
  1127. /package/dist/components/{ui/combobox → combobox}/ComboboxItemIndicator.vue.d.ts +0 -0
  1128. /package/dist/components/{ui/combobox → combobox}/ComboboxSeparator.vue.d.ts +0 -0
  1129. /package/dist/components/{ui/combobox → combobox}/ComboboxViewport.vue.d.ts +0 -0
  1130. /package/dist/components/{ui/combobox → combobox}/index.d.ts +0 -0
  1131. /package/dist/components/{ui/command → command}/Command.vue.d.ts +0 -0
  1132. /package/dist/components/{ui/command → command}/CommandDialog.vue.d.ts +0 -0
  1133. /package/dist/components/{ui/command → command}/CommandEmpty.vue.d.ts +0 -0
  1134. /package/dist/components/{ui/command → command}/CommandGroup.vue.d.ts +0 -0
  1135. /package/dist/components/{ui/command → command}/CommandInput.vue.d.ts +0 -0
  1136. /package/dist/components/{ui/command → command}/CommandItem.vue.d.ts +0 -0
  1137. /package/dist/components/{ui/command → command}/CommandList.vue.d.ts +0 -0
  1138. /package/dist/components/{ui/command → command}/CommandSeparator.vue.d.ts +0 -0
  1139. /package/dist/components/{ui/command → command}/CommandShortcut.vue.d.ts +0 -0
  1140. /package/dist/components/{custom/completion-seal → completion-seal}/composables/useCompletionSeal.d.ts +0 -0
  1141. /package/dist/components/{custom/completion-seal → completion-seal}/index.d.ts +0 -0
  1142. /package/dist/components/{custom/configurator → configurator}/ConfiguratorLayer.vue.d.ts +0 -0
  1143. /package/dist/components/{custom/configurator → configurator}/useConfiguratorState.d.ts +0 -0
  1144. /package/dist/components/{custom/constellation → constellation}/composables/createConstellationField.d.ts +0 -0
  1145. /package/dist/components/{custom/constellation → constellation}/composables/uniformBridgeWGPU.d.ts +0 -0
  1146. /package/dist/components/{custom/constellation → constellation}/constellationField.d.ts +0 -0
  1147. /package/dist/components/{custom/constellation → constellation}/constellationInteraction.d.ts +0 -0
  1148. /package/dist/components/{custom/constellation → constellation}/constellationRender.d.ts +0 -0
  1149. /package/dist/components/{custom/constellation → constellation}/constellationWell.d.ts +0 -0
  1150. /package/dist/components/{custom/constellation → constellation}/index.d.ts +0 -0
  1151. /package/dist/components/{custom/constellation → constellation}/shaders/constellation-lines.glsl.d.ts +0 -0
  1152. /package/dist/components/{custom/constellation → constellation}/shaders/constellation-lines.wgsl.d.ts +0 -0
  1153. /package/dist/components/{custom/constellation → constellation}/shaders/constellation-points.glsl.d.ts +0 -0
  1154. /package/dist/components/{custom/constellation → constellation}/shaders/constellation-points.wgsl.d.ts +0 -0
  1155. /package/dist/components/{custom/controls → controls}/DarkModeToggle.vue.d.ts +0 -0
  1156. /package/dist/components/{custom/controls → controls}/index.d.ts +0 -0
  1157. /package/dist/components/{ui/data-table → data-table}/DataTable.vue.d.ts +0 -0
  1158. /package/dist/components/{ui/data-table → data-table}/DataTablePagination.vue.d.ts +0 -0
  1159. /package/dist/components/{ui/data-table → data-table}/composables/useDataTableResponsive.d.ts +0 -0
  1160. /package/dist/components/{ui/data-table → data-table}/composables/useDataTableRowIdentity.d.ts +0 -0
  1161. /package/dist/components/{ui/data-table → data-table}/index.d.ts +0 -0
  1162. /package/dist/components/{ui/data-table → data-table}/types.d.ts +0 -0
  1163. /package/dist/components/{custom/deck → deck}/DeckPager.vue.d.ts +0 -0
  1164. /package/dist/components/{custom/deck → deck}/composables/useDeck.d.ts +0 -0
  1165. /package/dist/components/{custom/deck → deck}/composables/useDeckKeyboard.d.ts +0 -0
  1166. /package/dist/components/{custom/deck → deck}/composables/useDeckSpring.d.ts +0 -0
  1167. /package/dist/components/{custom/deck → deck}/constants.d.ts +0 -0
  1168. /package/dist/components/{custom/deck → deck}/index.d.ts +0 -0
  1169. /package/dist/components/{ui/dialog → dialog}/Dialog.vue.d.ts +0 -0
  1170. /package/dist/components/{ui/dialog → dialog}/DialogClose.vue.d.ts +0 -0
  1171. /package/dist/components/{ui/dialog → dialog}/DialogDescription.vue.d.ts +0 -0
  1172. /package/dist/components/{ui/dialog → dialog}/DialogFooter.vue.d.ts +0 -0
  1173. /package/dist/components/{ui/dialog → dialog}/DialogHeader.vue.d.ts +0 -0
  1174. /package/dist/components/{ui/dialog → dialog}/DialogScrollContent.vue.d.ts +0 -0
  1175. /package/dist/components/{ui/dialog → dialog}/DialogTitle.vue.d.ts +0 -0
  1176. /package/dist/components/{ui/dialog → dialog}/DialogTrigger.vue.d.ts +0 -0
  1177. /package/dist/components/{ui/dialog → dialog}/index.d.ts +0 -0
  1178. /package/dist/components/{custom/dock → dock}/DockSection.vue.d.ts +0 -0
  1179. /package/dist/components/{custom/dock → dock}/DockSeparator.vue.d.ts +0 -0
  1180. /package/dist/components/{custom/dock → dock}/composables/dockMorphMeasure.d.ts +0 -0
  1181. /package/dist/components/{custom/dock → dock}/composables/isTeleportedTarget.d.ts +0 -0
  1182. /package/dist/components/{custom/dock → dock}/composables/useDockClickIntegrity.d.ts +0 -0
  1183. /package/dist/components/{custom/dock → dock}/composables/useDockHold.d.ts +0 -0
  1184. /package/dist/components/{custom/dock → dock}/composables/useDockState.d.ts +0 -0
  1185. /package/dist/components/{ui/drawer → drawer}/DrawerDescription.vue.d.ts +0 -0
  1186. /package/dist/components/{ui/drawer → drawer}/DrawerFooter.vue.d.ts +0 -0
  1187. /package/dist/components/{ui/drawer → drawer}/DrawerHeader.vue.d.ts +0 -0
  1188. /package/dist/components/{ui/drawer → drawer}/DrawerOverlay.vue.d.ts +0 -0
  1189. /package/dist/components/{ui/drawer → drawer}/DrawerTitle.vue.d.ts +0 -0
  1190. /package/dist/components/{ui/drawer → drawer}/composables/drawerSnapContext.d.ts +0 -0
  1191. /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuCheckboxItem.vue.d.ts +0 -0
  1192. /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuGroup.vue.d.ts +0 -0
  1193. /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuItem.vue.d.ts +0 -0
  1194. /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuLabel.vue.d.ts +0 -0
  1195. /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuRadioGroup.vue.d.ts +0 -0
  1196. /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuRadioItem.vue.d.ts +0 -0
  1197. /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuSeparator.vue.d.ts +0 -0
  1198. /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuShortcut.vue.d.ts +0 -0
  1199. /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuSub.vue.d.ts +0 -0
  1200. /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuSubContent.vue.d.ts +0 -0
  1201. /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuSubTrigger.vue.d.ts +0 -0
  1202. /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuTrigger.vue.d.ts +0 -0
  1203. /package/dist/components/{custom/easing → easing}/EasingConfigurator.vue.d.ts +0 -0
  1204. /package/dist/components/{custom/easing → easing}/EasingPicker.vue.d.ts +0 -0
  1205. /package/dist/components/{custom/easing → easing}/composables/useEasingPicker.d.ts +0 -0
  1206. /package/dist/components/{custom/easing → easing}/constants.d.ts +0 -0
  1207. /package/dist/components/{custom/easing → easing}/index.d.ts +0 -0
  1208. /package/dist/components/{custom/expandable-container → expandable-container}/index.d.ts +0 -0
  1209. /package/dist/components/{custom/fading-scroll → fading-scroll}/FadingScroll.vue.d.ts +0 -0
  1210. /package/dist/components/{custom/fading-scroll → fading-scroll}/composables/useFadingScroll.d.ts +0 -0
  1211. /package/dist/components/{custom/fading-scroll → fading-scroll}/constants.d.ts +0 -0
  1212. /package/dist/components/{custom/fading-scroll → fading-scroll}/index.d.ts +0 -0
  1213. /package/dist/components/{ui/focus-scope → focus-scope}/FocusScope.vue.d.ts +0 -0
  1214. /package/dist/components/{ui/focus-scope → focus-scope}/index.d.ts +0 -0
  1215. /package/dist/components/{custom/fourier-field → fourier-field}/presets.d.ts +0 -0
  1216. /package/dist/components/{custom/fourier-field → fourier-field}/shaders/fourier-field.compute.wgsl.d.ts +0 -0
  1217. /package/dist/components/{custom/goo-filter → goo-filter}/GooFilter.vue.d.ts +0 -0
  1218. /package/dist/components/{custom/goo-filter → goo-filter}/index.d.ts +0 -0
  1219. /package/dist/components/{custom/handmark → handmark}/HandMark.vue.d.ts +0 -0
  1220. /package/dist/components/{custom/handmark → handmark}/brush.d.ts +0 -0
  1221. /package/dist/components/{custom/handmark → handmark}/freehand.d.ts +0 -0
  1222. /package/dist/components/{custom/handmark → handmark}/index.d.ts +0 -0
  1223. /package/dist/components/{custom/handmark → handmark}/ink.d.ts +0 -0
  1224. /package/dist/components/{custom/handmark → handmark}/texture.d.ts +0 -0
  1225. /package/dist/components/{custom/icon-chip → icon-chip}/IconChip.vue.d.ts +0 -0
  1226. /package/dist/components/{custom/icon-chip → icon-chip}/index.d.ts +0 -0
  1227. /package/dist/components/{custom/icon-chip → icon-chip}/types.d.ts +0 -0
  1228. /package/dist/components/{custom/icon-tooltip → icon-tooltip}/IconTooltip.vue.d.ts +0 -0
  1229. /package/dist/components/{custom/icon-tooltip → icon-tooltip}/index.d.ts +0 -0
  1230. /package/dist/components/{custom/infinite-scroll → infinite-scroll}/InfiniteScroll.vue.d.ts +0 -0
  1231. /package/dist/components/{custom/infinite-scroll → infinite-scroll}/composables/index.d.ts +0 -0
  1232. /package/dist/components/{custom/infinite-scroll → infinite-scroll}/composables/types.d.ts +0 -0
  1233. /package/dist/components/{custom/infinite-scroll → infinite-scroll}/composables/useInfiniteScroll.d.ts +0 -0
  1234. /package/dist/components/{custom/infinite-scroll → infinite-scroll}/index.d.ts +0 -0
  1235. /package/dist/components/{ui/input → input}/Input.vue.d.ts +0 -0
  1236. /package/dist/components/{ui/input → input}/index.d.ts +0 -0
  1237. /package/dist/components/{custom/instrument-chassis → instrument-chassis}/ChassisDivider.vue.d.ts +0 -0
  1238. /package/dist/components/{custom/instrument-chassis → instrument-chassis}/InstrumentChassis.vue.d.ts +0 -0
  1239. /package/dist/components/{custom/instrument-chassis → instrument-chassis}/index.d.ts +0 -0
  1240. /package/dist/components/{ui/label → label}/Label.vue.d.ts +0 -0
  1241. /package/dist/components/{ui/label → label}/index.d.ts +0 -0
  1242. /package/dist/components/{custom/labeled-field → labeled-field}/LabeledField.vue.d.ts +0 -0
  1243. /package/dist/components/{custom/labeled-field → labeled-field}/LabeledInput.vue.d.ts +0 -0
  1244. /package/dist/components/{custom/labeled-field → labeled-field}/LabeledSelect.vue.d.ts +0 -0
  1245. /package/dist/components/{custom/labeled-field → labeled-field}/LabeledSlider.vue.d.ts +0 -0
  1246. /package/dist/components/{custom/labeled-field → labeled-field}/LabeledSwitch.vue.d.ts +0 -0
  1247. /package/dist/components/{custom/labeled-field → labeled-field}/index.d.ts +0 -0
  1248. /package/dist/{utils/coalesceMetric.d.ts → components/metric/coalesce-metric.d.ts} +0 -0
  1249. /package/dist/components/{custom/metric-badge → metric-badge}/index.d.ts +0 -0
  1250. /package/dist/components/{custom/metric-cell → metric-cell}/index.d.ts +0 -0
  1251. /package/dist/components/{custom/metric-stack → metric-stack}/MetricStack.vue.d.ts +0 -0
  1252. /package/dist/components/{custom/metric-stack → metric-stack}/index.d.ts +0 -0
  1253. /package/dist/components/{ui/notification → notification}/index.d.ts +0 -0
  1254. /package/dist/components/{ui/number-field → number-field}/NumberField.vue.d.ts +0 -0
  1255. /package/dist/components/{ui/number-field → number-field}/NumberFieldContent.vue.d.ts +0 -0
  1256. /package/dist/components/{ui/number-field → number-field}/NumberFieldDecrement.vue.d.ts +0 -0
  1257. /package/dist/components/{ui/number-field → number-field}/NumberFieldIncrement.vue.d.ts +0 -0
  1258. /package/dist/components/{ui/number-field → number-field}/NumberFieldInput.vue.d.ts +0 -0
  1259. /package/dist/components/{ui/number-field → number-field}/index.d.ts +0 -0
  1260. /package/dist/components/{custom/pager-dots → pager-dots}/PagerDots.vue.d.ts +0 -0
  1261. /package/dist/components/{custom/pager-dots → pager-dots}/index.d.ts +0 -0
  1262. /package/dist/components/{custom/pager-dots → pager-dots}/pagerWindow.d.ts +0 -0
  1263. /package/dist/components/{custom/paper-backdrop → paper-backdrop}/index.d.ts +0 -0
  1264. /package/dist/components/{ui/popover → popover}/index.d.ts +0 -0
  1265. /package/dist/components/{ui/progress → progress}/ProgressDefault.vue.d.ts +0 -0
  1266. /package/dist/components/{ui/progress → progress}/ProgressGradient.vue.d.ts +0 -0
  1267. /package/dist/components/{ui/progress → progress}/ProgressSectioned.vue.d.ts +0 -0
  1268. /package/dist/components/{ui/progress → progress}/useProgressGeometry.d.ts +0 -0
  1269. /package/dist/components/{custom/pulse → pulse}/Pulse.vue.d.ts +0 -0
  1270. /package/dist/components/{custom/pulse → pulse}/index.d.ts +0 -0
  1271. /package/dist/components/{ui/radio-group → radio-group}/RadioGroup.vue.d.ts +0 -0
  1272. /package/dist/components/{ui/radio-group → radio-group}/RadioGroupItem.vue.d.ts +0 -0
  1273. /package/dist/components/{ui/radio-group → radio-group}/index.d.ts +0 -0
  1274. /package/dist/components/{custom/search → search}/composables/fuzzySearchIndex.d.ts +0 -0
  1275. /package/dist/components/{custom/search → search}/composables/index.d.ts +0 -0
  1276. /package/dist/components/{custom/search → search}/composables/types.d.ts +0 -0
  1277. /package/dist/components/{custom/search → search}/composables/useFuzzySearch.d.ts +0 -0
  1278. /package/dist/components/{custom/search → search}/index.d.ts +0 -0
  1279. /package/dist/components/{ui/section → section}/Section.vue.d.ts +0 -0
  1280. /package/dist/components/{ui/section → section}/index.d.ts +0 -0
  1281. /package/dist/components/{ui/select → select}/Select.vue.d.ts +0 -0
  1282. /package/dist/components/{ui/select → select}/SelectGroup.vue.d.ts +0 -0
  1283. /package/dist/components/{ui/select → select}/SelectItem.vue.d.ts +0 -0
  1284. /package/dist/components/{ui/select → select}/SelectLabel.vue.d.ts +0 -0
  1285. /package/dist/components/{ui/select → select}/SelectScrollDownButton.vue.d.ts +0 -0
  1286. /package/dist/components/{ui/select → select}/SelectScrollUpButton.vue.d.ts +0 -0
  1287. /package/dist/components/{ui/select → select}/SelectSeparator.vue.d.ts +0 -0
  1288. /package/dist/components/{ui/select → select}/SelectTrigger.vue.d.ts +0 -0
  1289. /package/dist/components/{ui/select → select}/SelectValue.vue.d.ts +0 -0
  1290. /package/dist/components/{ui/select → select}/index.d.ts +0 -0
  1291. /package/dist/components/{ui/separator → separator}/Separator.vue.d.ts +0 -0
  1292. /package/dist/components/{ui/separator → separator}/index.d.ts +0 -0
  1293. /package/dist/components/{ui/skeleton → skeleton}/Skeleton.vue.d.ts +0 -0
  1294. /package/dist/components/{ui/skeleton → skeleton}/index.d.ts +0 -0
  1295. /package/dist/{composables/sortable → components/sortable-list/composables}/dropResolver.d.ts +0 -0
  1296. /package/dist/{composables/sortable → components/sortable-list/composables}/ghostRenderer.d.ts +0 -0
  1297. /package/dist/{composables/sortable → components/sortable-list/composables}/index.d.ts +0 -0
  1298. /package/dist/{composables/sortable → components/sortable-list/composables}/touchGate.d.ts +0 -0
  1299. /package/dist/{composables/sortable → components/sortable-list/composables}/transitionTiming.d.ts +0 -0
  1300. /package/dist/components/{custom/spa-view → spa-view}/SpaView.vue.d.ts +0 -0
  1301. /package/dist/components/{custom/spa-view → spa-view}/index.d.ts +0 -0
  1302. /package/dist/components/{custom/split-chars → split-chars}/index.d.ts +0 -0
  1303. /package/dist/components/{custom/stacked-icons → stacked-icons}/StackedIconGroup.vue.d.ts +0 -0
  1304. /package/dist/components/{custom/stacked-icons → stacked-icons}/index.d.ts +0 -0
  1305. /package/dist/components/{custom/status-dot → status-dot}/StatusDot.vue.d.ts +0 -0
  1306. /package/dist/components/{custom/status-dot → status-dot}/index.d.ts +0 -0
  1307. /package/dist/components/{ui/switch → switch}/Switch.vue.d.ts +0 -0
  1308. /package/dist/components/{ui/switch → switch}/index.d.ts +0 -0
  1309. /package/dist/components/{ui/table → table}/Table.vue.d.ts +0 -0
  1310. /package/dist/components/{ui/table → table}/TableBody.vue.d.ts +0 -0
  1311. /package/dist/components/{ui/table → table}/TableCaption.vue.d.ts +0 -0
  1312. /package/dist/components/{ui/table → table}/TableCell.vue.d.ts +0 -0
  1313. /package/dist/components/{ui/table → table}/TableEmpty.vue.d.ts +0 -0
  1314. /package/dist/components/{ui/table → table}/TableHead.vue.d.ts +0 -0
  1315. /package/dist/components/{ui/table → table}/TableHeader.vue.d.ts +0 -0
  1316. /package/dist/components/{ui/table → table}/TableRow.vue.d.ts +0 -0
  1317. /package/dist/components/{ui/table → table}/index.d.ts +0 -0
  1318. /package/dist/components/{custom/tabs → tabs}/index.d.ts +0 -0
  1319. /package/dist/components/{ui/tags-input → tags-input}/TagsInput.vue.d.ts +0 -0
  1320. /package/dist/components/{ui/tags-input → tags-input}/TagsInputInput.vue.d.ts +0 -0
  1321. /package/dist/components/{ui/tags-input → tags-input}/TagsInputItem.vue.d.ts +0 -0
  1322. /package/dist/components/{ui/tags-input → tags-input}/TagsInputItemDelete.vue.d.ts +0 -0
  1323. /package/dist/components/{ui/tags-input → tags-input}/TagsInputItemText.vue.d.ts +0 -0
  1324. /package/dist/components/{ui/tags-input → tags-input}/index.d.ts +0 -0
  1325. /package/dist/components/{ui/textarea → textarea}/Textarea.vue.d.ts +0 -0
  1326. /package/dist/components/{ui/textarea → textarea}/index.d.ts +0 -0
  1327. /package/dist/components/{custom/timeline → timeline}/ContinuousRail.vue.d.ts +0 -0
  1328. /package/dist/components/{custom/timeline → timeline}/ContinuousTimeline.vue.d.ts +0 -0
  1329. /package/dist/components/{custom/timeline → timeline}/ScrubberTimeline.vue.d.ts +0 -0
  1330. /package/dist/components/{custom/timeline → timeline}/SegmentedTimeline.vue.d.ts +0 -0
  1331. /package/dist/components/{custom/timeline → timeline}/geometry.d.ts +0 -0
  1332. /package/dist/components/{custom/timeline → timeline}/index.d.ts +0 -0
  1333. /package/dist/components/{custom/timeline → timeline}/types.d.ts +0 -0
  1334. /package/dist/components/{ui/toast → toast}/ToastAction.vue.d.ts +0 -0
  1335. /package/dist/components/{ui/toast → toast}/ToastClose.vue.d.ts +0 -0
  1336. /package/dist/components/{ui/toast → toast}/ToastDescription.vue.d.ts +0 -0
  1337. /package/dist/components/{ui/toast → toast}/ToastTitle.vue.d.ts +0 -0
  1338. /package/dist/components/{ui/toast → toast}/Toaster.vue.d.ts +0 -0
  1339. /package/dist/components/{ui/toggle-group → toggle-group}/ToggleGroup.vue.d.ts +0 -0
  1340. /package/dist/components/{ui/toggle-group → toggle-group}/ToggleGroupItem.vue.d.ts +0 -0
  1341. /package/dist/components/{ui/toggle-group → toggle-group}/index.d.ts +0 -0
  1342. /package/dist/components/{ui/toggle-group → toggle-group}/toggleGroupContext.d.ts +0 -0
  1343. /package/dist/components/{ui/tooltip → tooltip}/Tooltip.vue.d.ts +0 -0
  1344. /package/dist/components/{ui/tooltip → tooltip}/TooltipContent.vue.d.ts +0 -0
  1345. /package/dist/components/{ui/tooltip → tooltip}/TooltipProvider.vue.d.ts +0 -0
  1346. /package/dist/components/{ui/tooltip → tooltip}/TooltipTrigger.vue.d.ts +0 -0
  1347. /package/dist/components/{ui/tooltip → tooltip}/index.d.ts +0 -0
  1348. /package/dist/components/{custom/typewriter → typewriter}/TypewriterText.vue.d.ts +0 -0
  1349. /package/dist/components/{custom/typewriter → typewriter}/composables/index.d.ts +0 -0
  1350. /package/dist/components/{custom/typewriter → typewriter}/composables/useTypewriter.d.ts +0 -0
  1351. /package/dist/components/{custom/typewriter → typewriter}/index.d.ts +0 -0
  1352. /package/dist/components/{custom/typewriter → typewriter}/types.d.ts +0 -0
  1353. /package/dist/components/{custom/typewriter → typewriter}/utils/keyboard.d.ts +0 -0
  1354. /package/dist/components/{custom/typewriter → typewriter}/utils/pausePatterns.d.ts +0 -0
  1355. /package/dist/components/{custom/typewriter → typewriter}/utils/timing.d.ts +0 -0
  1356. /package/dist/components/{custom/typewriter → typewriter}/utils/typoStateMachine.d.ts +0 -0
  1357. /package/dist/components/{custom/watercolor-dot → watercolor-dot}/WatercolorDot.vue.d.ts +0 -0
  1358. /package/dist/components/{custom/watercolor-dot → watercolor-dot}/index.d.ts +0 -0
  1359. /package/dist/{utils → composables/glass/procedural}/prng.d.ts +0 -0
  1360. /package/dist/{constants-BWj7DkMn.js → constants-D8lSMkOz.js} +0 -0
  1361. /package/dist/{createContext-Cd23P9j0.js → createContext-BQ1Gy_LB.js} +0 -0
  1362. /package/dist/{flow.glsl-DqEGRpl4.js → flow.glsl-CVqPSj8_.js} +0 -0
  1363. /package/dist/{procedural-color.wgsl-C1Y5PkM6.js → procedural-color.wgsl-ByduxnzV.js} +0 -0
  1364. /package/dist/{scrollReader-rc3Ns_NM.js → scrollReader-DzYqPQ6V.js} +0 -0
  1365. /package/dist/{supportsCssTimeline-BWenxvHU.js → supportsCssTimeline-Ie4xJFbD.js} +0 -0
  1366. /package/dist/{useDragVelocity-CjcfX3dA.js → useDragVelocity-BWcNMCux.js} +0 -0
  1367. /package/dist/{useGlobalDark-B4HO9LXG.js → useGlobalDark-DjKMEQE2.js} +0 -0
  1368. /package/dist/{useInterval-BVUI-sez.js → useInterval-ZATRi-1T.js} +0 -0
  1369. /package/dist/{useLiquidFlex-Cc6PjVJD.js → useLiquidFlex-Ch4exNvN.js} +0 -0
  1370. /package/dist/{useResizeObserver-DdEn3v2f.js → useResizeObserver-DDuoBeBo.js} +0 -0
  1371. /package/dist/{useResolveTokenColor-ChOnCckA.js → useResolveTokenColor-DVT5kwv6.js} +0 -0
  1372. /package/dist/{useTextHighlight-Bma3UlKA.js → useTextHighlight-C46Le9u_.js} +0 -0
  1373. /package/dist/{useTimer-BBLGPXR8.js → useTimer-CkDV8SC2.js} +0 -0
  1374. /package/dist/{useViewportReady-C9pYnn7K.js → useViewportReady-c0isoKL8.js} +0 -0
  1375. /package/dist/{vReveal-CT1KtwZA.js → vReveal-DUmiEkX_.js} +0 -0
  1376. /package/dist/{vSpecular-EX7loENl.js → vSpecular-DlYN0UZy.js} +0 -0
  1377. /package/dist/{writeVelocityWeight-Bh83xZfs.js → writeVelocityWeight-D1rvdxJu.js} +0 -0
package/dist/dock.js CHANGED
@@ -1,189 +1,51 @@
1
- import { t as e } from "./cn-DJXf4yaB.js";
2
- import { a as t, d as n, o as r, x as i } from "./vendor-B2qOlYY3.js";
3
- import { n as a } from "./springPresets-DfoQ6XRY.js";
4
- import { t as o } from "./useLiquidFlex-Cc6PjVJD.js";
5
- import { t as s } from "./vSpecular-EX7loENl.js";
6
- import { n as c, r as l } from "./writeVelocityWeight-Bh83xZfs.js";
7
- import { t as u } from "./_plugin-vue_export-helper-gLzyemvl.js";
8
- import { t as d } from "./useResizeObserver-DdEn3v2f.js";
9
- import { t as f } from "./useTouchGate-B1Lf9XqN.js";
10
- import { n as p } from "./useResolveTokenColor-ChOnCckA.js";
11
- import { n as m, t as h } from "./createContext-Cd23P9j0.js";
12
- import { a as g, c as _, i as v, n as y, o as b, r as x, s as S, t as C } from "./dockContext-gFVS2gMg.js";
13
- import { t as w } from "./FadingScroll-P8B30rAD.js";
14
- import { t as T } from "./useMorphField-ogBM7ubT.js";
15
- import { t as E } from "./usePointerVelocityField-BrkqZFhj.js";
16
- import { t as D } from "./useIntersectionPause-DO8Vl4gs.js";
17
- import { t as O } from "./useDragMorph-DGLSewwB.js";
18
- import { t as k } from "./useDockCtaReceive-DX7RDb6_.js";
19
- import { r as ee, t as A } from "./useScrollChrome-JuImi1DM.js";
20
- import { t as te } from "./useFuzzySearch-0fTYOhS4.js";
21
- import { Fragment as j, computed as M, createBlock as N, createCommentVNode as P, createElementBlock as F, createElementVNode as I, createVNode as L, defineComponent as R, mergeModels as ne, mergeProps as z, nextTick as re, normalizeClass as B, normalizeStyle as V, onBeforeUnmount as ie, onMounted as ae, onScopeDispose as oe, onUnmounted as se, openBlock as H, readonly as U, ref as W, renderList as ce, renderSlot as G, resolveDynamicComponent as le, shallowRef as ue, toDisplayString as de, unref as K, useId as fe, useModel as pe, useSlots as me, useTemplateRef as he, watch as q, withCtx as J, withDirectives as ge } from "vue";
22
- import { DropdownMenuTrigger as _e, PopoverTrigger as ve, Primitive as ye, SelectIcon as be, SelectTrigger as xe, TabsIndicator as Se, TabsList as Ce, TabsRoot as Y, TabsTrigger as we, useForwardProps as Te, useForwardPropsEmits as Ee } from "reka-ui";
23
- import { SpringProgress as X } from "@mkbabb/keyframes.js";
24
- import { rawOklabToOklch as De, srgbToOKLab as Oe } from "@mkbabb/value.js";
25
- //#region src/components/custom/dock/composables/useDockFission.ts
26
- var ke = {
27
- beside: {
28
- dx: 1,
29
- dy: 0
30
- },
31
- above: {
32
- dx: 0,
33
- dy: -1
34
- },
35
- below: {
36
- dx: 0,
37
- dy: 1
38
- }
39
- }, Ae = {
40
- search: {
41
- context: "search",
42
- vector: "radial",
43
- neckHold: T.radialBurst.neckHold,
44
- staggerRank: (e, t) => {
45
- let n = (t - 1) / 2;
46
- return Math.round(Math.abs(e - n));
47
- },
48
- squishPeak: "late"
49
- },
50
- media: {
51
- context: "media",
52
- vector: "lateral",
53
- neckHold: T.lateralPeel.neckHold,
54
- staggerRank: (e, t) => {
55
- let n = (t - 1) / 2;
56
- return Math.round(n - Math.abs(e - n));
57
- },
58
- squishPeak: "long"
59
- },
60
- nav: {
61
- context: "nav",
62
- vector: "inward-merge",
63
- neckHold: T.inwardMerge.neckHold,
64
- staggerRank: (e, t) => {
65
- let n = (t - 1) / 2;
66
- return Math.round(n - Math.abs(e - n));
67
- },
68
- squishPeak: "coalesce"
69
- }
70
- }, Z = .02;
71
- function je(e) {
72
- let { rootEl: t, signature: n, placement: r, maxStretch: i, seamTensionCap: a = .12, seamTensionGain: s = .6, staggerStep: c = .08 } = e, l = e.respectReducedMotion !== !1;
73
- function u() {
74
- return ke[r?.value ?? "beside"];
75
- }
76
- let d = W(0), f = W(!1), p = 0, m = null, h = E({ respectReducedMotion: l }), g = /* @__PURE__ */ new Set(), _ = 0;
77
- function v() {
78
- return t.value;
79
- }
80
- function y() {
81
- return l && typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
82
- }
83
- function b() {
84
- m &&= (m.dispose(), null);
85
- }
86
- function x(e) {
87
- let t = n.value, r = g.size, i = Math.min(a, Math.max(0, h.speed.value * s)), o = v();
88
- if (o) {
89
- o.style.setProperty("--seam-tension", String(i));
90
- let t = u();
91
- o.style.setProperty("--island-t", String(e)), o.style.setProperty("--island-dx", String(t.dx)), o.style.setProperty("--island-dy", String(t.dy));
92
- }
93
- for (let n of g) {
94
- let a = n.el.value;
95
- if (!a) continue;
96
- let o = t.staggerRank(n.rank, r) * c, s = Math.max(1e-4, 1 - o), l = Math.min(1, Math.max(0, (e - o) / s));
97
- n.flex.drive(l);
98
- let u = n.vectorOf();
99
- a.style.setProperty("--split-dx", String(u.dx)), a.style.setProperty("--split-dy", String(u.dy)), a.style.setProperty("--i", String(n.rank)), a.style.setProperty("--neck-t", String(l));
100
- let d = (l * 360 + i * 60) % 360;
101
- a.style.setProperty("--neck-specular-angle", `${d.toFixed(1)}deg`), a.style.setProperty("--stretch", String(n.flex.stretch.value));
102
- }
103
- }
104
- function C() {
105
- d.value = p;
106
- let e = v(), t = u();
107
- e && (e.style.setProperty("--dock-split-t", String(p)), e.style.setProperty("--island-t", String(p)), e.style.setProperty("--island-dx", String(t.dx)), e.style.setProperty("--island-dy", String(t.dy)), e.style.setProperty("--seam-tension", "0"), p < Z ? (e.removeAttribute("data-fissioning"), e.removeAttribute("data-fissioned")) : (e.setAttribute("data-fissioning", ""), e.setAttribute("data-fissioned", "")), e.removeAttribute("data-merging")), h.tick(0);
108
- for (let e of g) {
109
- let t = e.el.value;
110
- if (!t) continue;
111
- let n = e.vectorOf();
112
- e.flex.drive(p), t.style.setProperty("--split-dx", String(n.dx)), t.style.setProperty("--split-dy", String(n.dy)), t.style.setProperty("--i", String(e.rank)), t.style.setProperty("--neck-t", String(p)), t.style.setProperty("--neck-specular-angle", `${(p * 360).toFixed(1)}deg`), t.style.setProperty("--stretch", "1");
113
- }
114
- f.value = p >= Z;
115
- }
116
- function w() {
117
- let e = v();
118
- if (!e) return;
119
- if (y()) {
120
- b(), C();
121
- return;
122
- }
123
- let t = m !== null && !m.settled ? m.velocity : 0;
124
- b(), m = new X({
125
- response: S.response,
126
- dampingFraction: S.dampingFraction,
127
- initial: d.value,
128
- respectReducedMotion: !0
129
- });
130
- let n = m;
131
- n.reset(d.value, t), n.target = p, e.setAttribute("data-fissioning", ""), p >= Z && e.setAttribute("data-fissioned", ""), p < Z ? e.setAttribute("data-merging", "") : e.removeAttribute("data-merging"), _ = 0, n.play((e) => {
132
- let t = v();
133
- if (!t) return;
134
- d.value = e, t.style.setProperty("--dock-split-t", String(e));
135
- let r = typeof performance < "u" ? performance.now() : Date.now(), i = _ === 0 ? 16 : r - _;
136
- _ = r, h.tick(i), x(e), n.settled && (f.value = p >= Z, p < Z && (t.removeAttribute("data-fissioning"), t.removeAttribute("data-fissioned"), t.style.removeProperty("--seam-tension")), t.removeAttribute("data-merging"), b());
137
- });
138
- }
139
- function T() {
140
- p = 1, w();
141
- }
142
- function D() {
143
- p = 0, w();
144
- }
145
- function O() {
146
- p >= Z ? D() : T();
147
- }
148
- function k(e) {
149
- h.onPointerMove(e);
150
- }
151
- function ee(e) {
152
- let t = typeof e.vector == "function" ? e.vector : () => e.vector, n = o({
153
- from: 0,
154
- to: 0,
155
- axis: "width",
156
- squishLaw: "tanh",
157
- maxStretch: i ?? 1.08
158
- }), r = {
159
- el: e.el,
160
- vectorOf: t,
161
- rank: e.rank,
162
- flex: n,
163
- stop: () => {}
164
- };
165
- return g.add(r), { release: () => {
166
- g.delete(r);
167
- } };
168
- }
169
- function A() {
170
- b(), h.dispose();
171
- }
172
- return oe(A), {
173
- t: d,
174
- fissioned: f,
175
- registerPiece: ee,
176
- split: T,
177
- merge: D,
178
- toggle: O,
179
- onPointerMove: k,
180
- dispose: A
181
- };
1
+ import { t as e } from "./class-names-5jotTFzp.js";
2
+ import { t } from "./motionTempo-CMS5b0Vu.js";
3
+ import { n } from "./springPresets-h5VKJQqG.js";
4
+ import { t as r } from "./vSpecular-DlYN0UZy.js";
5
+ import { t as i } from "./useLiquidPress-BXNHydZh.js";
6
+ import { t as a } from "./useMotionAxis-DCCXMC-i.js";
7
+ import { t as o } from "./_plugin-vue_export-helper-C1je1s0u.js";
8
+ import { t as s } from "./useResizeObserver-DDuoBeBo.js";
9
+ import { t as c } from "./useTouchGate-BlegwvwL.js";
10
+ import { n as l } from "./useResolveTokenColor-DVT5kwv6.js";
11
+ import { n as u, t as d } from "./createContext-BQ1Gy_LB.js";
12
+ import { a as f, i as p, n as m, o as h, r as g, s as _, t as v } from "./dockContext-d-WpJN2Z.js";
13
+ import { t as y } from "./FadingScroll-BSRLqQCx.js";
14
+ import { t as b } from "./useDragMorph-65ihHePq.js";
15
+ import { t as x } from "./useDockCtaReceive-BgMmeINo.js";
16
+ import { t as S } from "./useRAFLoop-CvOo_kgb.js";
17
+ import { t as C } from "./useIntersectionPause-Cmt5Tnv9.js";
18
+ import { n as w, t as T } from "./useSelectionGroup-Btpf24aY.js";
19
+ import { t as E } from "./useFuzzySearch-KslRxiJY.js";
20
+ import { Fragment as D, computed as O, createBlock as k, createCommentVNode as A, createElementBlock as j, createElementVNode as M, createVNode as N, defineComponent as P, mergeModels as F, mergeProps as I, nextTick as L, normalizeClass as R, normalizeStyle as z, onBeforeUnmount as ee, onMounted as te, onScopeDispose as B, onUnmounted as V, openBlock as H, readonly as U, ref as W, renderList as G, renderSlot as K, resolveDynamicComponent as q, toDisplayString as ne, toValue as re, unref as J, useId as ie, useModel as ae, useTemplateRef as Y, watch as X, withCtx as Z, withDirectives as Q, withKeys as oe } from "vue";
21
+ import { DropdownMenuTrigger as se, PopoverTrigger as ce, Primitive as le, SelectIcon as ue, SelectTrigger as de } from "reka-ui";
22
+ import { ChevronDown as fe, Layers as pe, Pause as me, Play as he } from "@lucide/vue";
23
+ import { SpringProgress as ge } from "@mkbabb/keyframes.js";
24
+ import { rawOklabToOklch as _e, srgbToOKLab as ve } from "@mkbabb/value.js";
25
+ //#region src/composables/glass/backdropSampleMath.ts
26
+ function ye(e) {
27
+ let t = e / 255;
28
+ return t <= .03928 ? t / 12.92 : ((t + .055) / 1.055) ** 2.4;
29
+ }
30
+ function be(e, t, n) {
31
+ return .2126 * ye(e) + .7152 * ye(t) + .0722 * ye(n);
32
+ }
33
+ function xe(e) {
34
+ let t = e.match(/rgba?\(\s*([\d.]+)[,\s]+([\d.]+)[,\s]+([\d.]+)(?:[,\s/]+([\d.]+))?/i);
35
+ return t ? [
36
+ Number(t[1]),
37
+ Number(t[2]),
38
+ Number(t[3]),
39
+ t[4] === void 0 ? 1 : Number(t[4])
40
+ ] : null;
41
+ }
42
+ function Se(e) {
43
+ return typeof HTMLCanvasElement < "u" && e instanceof HTMLCanvasElement;
182
44
  }
183
45
  //#endregion
184
- //#region src/composables/glass/useGlassBackdropLuminance.ts
185
- var Me = "(prefers-reduced-motion: reduce)", Q = 32, $ = 12, Ne = .72, Pe = .06, Fe = .004;
186
- function Ie() {
46
+ //#region src/composables/glass/ambientHueHistogram.ts
47
+ var $ = 12, Ce = .72, we = .06, Te = .004;
48
+ function Ee() {
187
49
  return {
188
50
  weight: new Float64Array($),
189
51
  sumCos: new Float64Array($),
@@ -192,222 +54,232 @@ function Ie() {
192
54
  n: 0
193
55
  };
194
56
  }
195
- function Le(e, t, n, r, i) {
57
+ function De(e, t, n, r, i) {
196
58
  e.n++;
197
- let [a, o, s] = Oe(t, n, r), [, c, l] = De(a, o, s);
59
+ let [a, o, s] = ve(t, n, r), [, c, l] = _e(a, o, s);
198
60
  if (!Number.isFinite(c) || !Number.isFinite(l) || c <= 0) return;
199
61
  let u = c * i;
200
62
  if (u <= 0) return;
201
63
  let d = l * Math.PI / 180, f = Math.floor(l / 360 * $) % $;
202
64
  f < 0 && (f += $), e.weight[f] += u, e.sumCos[f] += u * Math.cos(d), e.sumSin[f] += u * Math.sin(d), e.totalMass += u;
203
65
  }
204
- function Re(e) {
205
- if (e.n === 0 || e.totalMass / e.n < Fe) return "transparent";
66
+ function Oe(e) {
67
+ if (e.n === 0 || e.totalMass / e.n < Te) return "transparent";
206
68
  let t = 0;
207
69
  for (let n = 1; n < $; n++) e.weight[n] > e.weight[t] && (t = n);
208
70
  if (e.weight[t] <= 0) return "transparent";
209
71
  let n = Math.atan2(e.sumSin[t], e.sumCos[t]) * 180 / Math.PI;
210
- return n < 0 && (n += 360), `oklch(${Ne} ${Pe} ${n.toFixed(1)})`;
211
- }
212
- function ze(e) {
213
- return typeof HTMLCanvasElement < "u" && e instanceof HTMLCanvasElement;
214
- }
215
- function Be(e) {
216
- let t = e / 255;
217
- return t <= .03928 ? t / 12.92 : ((t + .055) / 1.055) ** 2.4;
218
- }
219
- function Ve(e, t, n) {
220
- return .2126 * Be(e) + .7152 * Be(t) + .0722 * Be(n);
221
- }
222
- function He(e) {
223
- let t = e.match(/rgba?\(\s*([\d.]+)[,\s]+([\d.]+)[,\s]+([\d.]+)(?:[,\s/]+([\d.]+))?/i);
224
- return t ? [
225
- Number(t[1]),
226
- Number(t[2]),
227
- Number(t[3]),
228
- t[4] === void 0 ? 1 : Number(t[4])
229
- ] : null;
72
+ return n < 0 && (n += 360), `oklch(${Ce} ${we} ${n.toFixed(1)})`;
230
73
  }
231
- function Ue(e) {
232
- if (!e) return null;
233
- if (ze(e)) return e;
74
+ var ke = "[data-glass-field-canvas] canvas, canvas[data-glass-field-canvas]";
75
+ function Ae(e) {
76
+ if (!e) {
77
+ if (typeof document < "u") {
78
+ let e = document.querySelector(ke);
79
+ if (Se(e)) return e;
80
+ }
81
+ return null;
82
+ }
83
+ if (Se(e)) return e;
234
84
  if (typeof e == "function") {
235
85
  let t = e();
236
- return ze(t) ? t : null;
86
+ return Se(t) ? t : null;
237
87
  }
238
88
  if (typeof e == "string" && typeof document < "u") {
239
89
  let t = document.querySelector(e);
240
- return ze(t) ? t : null;
90
+ return Se(t) ? t : null;
241
91
  }
242
92
  return null;
243
93
  }
244
- function We(e, t = {}) {
245
- let { lightThreshold: n = .6, minSampleIntervalMs: r = 250, writeBucket: i = !0 } = t, a = Math.max(250, r), o = W(null), s = W(null);
94
+ function je(e, t) {
95
+ let n = xe(e);
96
+ if (n) return n;
97
+ if (!t) return null;
98
+ try {
99
+ t.clearRect(0, 0, 1, 1), t.fillStyle = "rgba(0,0,0,0)", t.fillStyle = e, t.fillRect(0, 0, 1, 1);
100
+ let n = t.getImageData(0, 0, 1, 1).data;
101
+ return [
102
+ n[0],
103
+ n[1],
104
+ n[2],
105
+ n[3] / 255
106
+ ];
107
+ } catch {
108
+ return null;
109
+ }
110
+ }
111
+ function Me(e, t, n) {
112
+ if (!t || t.width === 0 || t.height === 0 || !n) return null;
113
+ let r = e.getBoundingClientRect(), i = t.getBoundingClientRect();
114
+ if (i.width === 0 || i.height === 0) return null;
115
+ let a = t.width / i.width, o = t.height / i.height, s = Math.max(0, (r.left - i.left) * a), c = Math.max(0, (r.top - i.top) * o), l = Math.min(t.width - s, Math.max(1, r.width * a)), u = Math.min(t.height - c, Math.max(1, r.height * o));
116
+ if (l <= 0 || u <= 0) return null;
117
+ try {
118
+ n.clearRect(0, 0, 32, 32), n.drawImage(t, s, c, l, u, 0, 0, 32, 32);
119
+ let e = n.getImageData(0, 0, 32, 32).data, r = 0, i = 0, a = 0, o = Ee();
120
+ for (let t = 0; t < e.length; t += 4) {
121
+ let n = e[t + 3] / 255, s = e[t] * n + 255 * (1 - n), c = e[t + 1] * n + 255 * (1 - n), l = e[t + 2] * n + 255 * (1 - n);
122
+ r += be(s, c, l), i += n, De(o, s, c, l, n), a++;
123
+ }
124
+ return a === 0 || i / a < .02 ? null : {
125
+ luma: r / a,
126
+ ambientHue: Oe(o)
127
+ };
128
+ } catch {
129
+ return null;
130
+ }
131
+ }
132
+ function Ne(e, t) {
133
+ let n = e.getBoundingClientRect(), r = n.left + n.width / 2, i = n.top + n.height / 2, a = document.elementsFromPoint(r, i);
134
+ for (let n of a) {
135
+ if (!(n instanceof HTMLElement) || n === e || e.contains(n)) continue;
136
+ let r = getComputedStyle(n).backgroundColor, i = je(l(r, e), t);
137
+ if (i && !(i[3] < .5)) return Pe(i);
138
+ }
139
+ let o = je(l(getComputedStyle(document.body).backgroundColor, e), t);
140
+ return o ? Pe(o) : null;
141
+ }
142
+ function Pe(e) {
143
+ let t = Ee();
144
+ return De(t, e[0], e[1], e[2], e[3]), {
145
+ luma: be(e[0], e[1], e[2]),
146
+ ambientHue: Oe(t)
147
+ };
148
+ }
149
+ //#endregion
150
+ //#region src/composables/glass/useGlassBackdropLuminance.ts
151
+ var Fe = "(prefers-reduced-motion: reduce)", Ie = "data-glass-backdrop-shared", Le = "8%";
152
+ function Re(e, t = {}) {
153
+ let { lightThreshold: n = .6, minSampleIntervalMs: r = 250, writeBucket: i = !0 } = t, a = Math.max(250, r), o = t.shared === !0;
154
+ function c(e) {
155
+ return o ? !1 : e.closest(`[${Ie}]`) !== null;
156
+ }
157
+ let l = W(null), u = W(null);
246
158
  if (typeof window > "u") return {
247
- luma: U(o),
248
- bucket: U(s),
159
+ luma: U(l),
160
+ bucket: U(u),
249
161
  sampleNow: () => {},
250
162
  dispose: () => {}
251
163
  };
252
- let c = window.matchMedia(Me), l = c.matches, u = null, f = null;
253
- function m() {
254
- return u || (u = document.createElement("canvas"), u.width = Q, u.height = Q), f ||= u.getContext("2d", { willReadFrequently: !0 }), f;
255
- }
164
+ let d = window.matchMedia(Fe), f = d.matches, p = null, m = null;
256
165
  function h() {
257
- return t.live === void 0 ? e.value?.dataset.glassSample === "live" : t.live;
258
- }
259
- function g(e) {
260
- let n = Ue(t.backgroundCanvas);
261
- if (!n || n.width === 0 || n.height === 0) return null;
262
- let r = m();
263
- if (!r) return null;
264
- let i = e.getBoundingClientRect(), a = n.getBoundingClientRect();
265
- if (a.width === 0 || a.height === 0) return null;
266
- let o = n.width / a.width, s = n.height / a.height, c = Math.max(0, (i.left - a.left) * o), l = Math.max(0, (i.top - a.top) * s), u = Math.min(n.width - c, Math.max(1, i.width * o)), d = Math.min(n.height - l, Math.max(1, i.height * s));
267
- if (u <= 0 || d <= 0) return null;
268
- try {
269
- r.clearRect(0, 0, Q, Q), r.drawImage(n, c, l, u, d, 0, 0, Q, Q);
270
- let e = r.getImageData(0, 0, Q, Q).data, t = 0, i = 0, a = Ie();
271
- for (let n = 0; n < e.length; n += 4) {
272
- let r = e[n + 3] / 255, o = e[n] * r + 255 * (1 - r), s = e[n + 1] * r + 255 * (1 - r), c = e[n + 2] * r + 255 * (1 - r);
273
- t += Ve(o, s, c), Le(a, o, s, c, r), i++;
274
- }
275
- return i > 0 ? {
276
- luma: t / i,
277
- ambientHue: Re(a)
278
- } : null;
279
- } catch {
280
- return null;
281
- }
166
+ return p || (p = document.createElement("canvas"), p.width = 32, p.height = 32), m ||= p.getContext("2d", { willReadFrequently: !0 }), m;
282
167
  }
283
- function _(e) {
284
- let t = e.getBoundingClientRect(), n = t.left + t.width / 2, r = t.top + t.height / 2, i = document.elementsFromPoint(n, r);
285
- for (let t of i) {
286
- if (!(t instanceof HTMLElement) || t === e || e.contains(t)) continue;
287
- let n = getComputedStyle(t).backgroundColor, r = He(p(n, e));
288
- if (r && !(r[3] < .5)) return v(r);
289
- }
290
- let a = He(p(getComputedStyle(document.body).backgroundColor, e));
291
- return a ? v(a) : null;
292
- }
293
- function v(e) {
294
- let t = Ie();
295
- return Le(t, e[0], e[1], e[2], e[3]), {
296
- luma: Ve(e[0], e[1], e[2]),
297
- ambientHue: Re(t)
298
- };
168
+ function g() {
169
+ return t.live === void 0 ? e.value?.dataset.glassSample === "live" ? !0 : Ae(t.backgroundCanvas) !== null : t.live;
170
+ }
171
+ function _() {
172
+ return t.live === void 0 ? e.value?.dataset.glassSample === "live" || t.backgroundCanvas != null ? !0 : Ae(void 0) !== null : t.live;
299
173
  }
300
- function y(t) {
174
+ function v(t) {
301
175
  let r = t.luma;
302
- o.value = r;
176
+ l.value = r;
303
177
  let a = e.value;
304
- if (a && (a.style.setProperty("--glass-backdrop-luma", r.toFixed(3)), a.style.setProperty("--glass-ambient-hue", t.ambientHue), i)) {
178
+ if (a && (a.style.setProperty("--glass-backdrop-luma", r.toFixed(3)), a.style.setProperty("--glass-ambient-hue", t.ambientHue), a.style.setProperty("--glass-ambient-strength", t.ambientHue === "transparent" ? "0%" : Le), a.setAttribute("data-backdrop-sampled", ""), a.style.setProperty("--glass-backdrop-sampled", "1"), i)) {
305
179
  let e = r >= n ? "light" : "dark";
306
- s.value = e, a.style.setProperty("--glass-backdrop", e);
180
+ u.value = e, a.style.setProperty("--glass-backdrop", e);
307
181
  }
308
182
  }
309
- let b = 0;
310
- function x() {
311
- let t = e.value;
312
- if (!t) return;
313
- let n = h() ? g(t) ?? _(t) : _(t);
314
- n !== null && y(n), b = typeof performance < "u" ? performance.now() : Date.now();
183
+ let y = 0;
184
+ function b() {
185
+ let n = e.value;
186
+ if (!n || c(n)) return;
187
+ let r = h(), i = g() ? Me(n, Ae(t.backgroundCanvas), r) ?? Ne(n, r) : Ne(n, r);
188
+ i !== null && v(i), y = typeof performance < "u" ? performance.now() : Date.now();
315
189
  }
316
- let S = ee(({ now: e }) => {
317
- l || e - b < a || x();
190
+ let x = S(({ now: e }) => {
191
+ f || e - y < a || b();
318
192
  }, {
319
193
  immediate: !1,
320
194
  pauseWhenHidden: !0,
321
195
  respectReducedMotion: !0
322
- }), C = D(() => e.value, {
323
- pause: () => S.pause(),
196
+ }), w = C(() => e.value, {
197
+ pause: () => x.pause(),
324
198
  resume: () => {
325
- h() && !l && S.resume();
199
+ let t = e.value;
200
+ t && c(t) || _() && !f && x.resume();
326
201
  }
327
- }, { rootMargin: "200px" }), w = d(e, () => x());
328
- function T() {
329
- l = c.matches, l ? (S.stop(), x()) : h() && S.start();
202
+ }, { rootMargin: "200px" }), T = s(e, () => b());
203
+ function E() {
204
+ f = d.matches;
205
+ let t = e.value;
206
+ if (t && c(t)) {
207
+ x.stop();
208
+ return;
209
+ }
210
+ f ? (x.stop(), b()) : _() && x.start();
330
211
  }
331
- let E = () => T();
332
- typeof c.addEventListener == "function" && c.addEventListener("change", E);
333
- let O = q(() => e.value, (e) => {
334
- e && (x(), T());
212
+ let D = () => E();
213
+ typeof d.addEventListener == "function" && d.addEventListener("change", D);
214
+ let O = X(() => e.value, (e) => {
215
+ if (e) {
216
+ if (o) e.setAttribute(Ie, "");
217
+ else if (c(e)) return;
218
+ b(), E();
219
+ }
335
220
  }, {
336
221
  immediate: !0,
337
222
  flush: "post"
338
223
  });
339
224
  function k() {
340
- O(), S.dispose(), C.dispose(), w.stop(), typeof c.removeEventListener == "function" && c.removeEventListener("change", E), u = null, f = null;
225
+ O(), x.dispose(), w.dispose(), T.stop(), typeof d.removeEventListener == "function" && d.removeEventListener("change", D), p = null, m = null;
341
226
  }
342
- return oe(k), {
343
- luma: U(o),
344
- bucket: U(s),
345
- sampleNow: x,
227
+ return B(k), {
228
+ luma: U(l),
229
+ bucket: U(u),
230
+ sampleNow: b,
346
231
  dispose: k
347
232
  };
348
233
  }
349
234
  //#endregion
350
- //#region src/components/custom/dock/composables/isTeleportedTarget.ts
351
- function Ge(e, t) {
235
+ //#region src/components/dock/composables/isTeleportedTarget.ts
236
+ function ze(e, t) {
352
237
  if (!(e instanceof Element)) return !1;
353
238
  let n = e.closest("[data-glass-dock-portal]");
354
239
  return n ? t ? n.getAttribute("data-glass-dock-owner") === t : !0 : !1;
355
240
  }
356
241
  //#endregion
357
- //#region src/components/custom/dock/composables/useDockState.ts
358
- function Ke(e) {
359
- let { collapseDelay: t = 3600, rootEl: n, alwaysExpanded: r = !1, isTransitioning: i, dockId: a, onStateChange: o } = e, s = () => typeof r == "boolean" ? r : r.value, c = s(), l = W(c ? "pinned" : "collapsed"), u = W(c), d = W(c), f = null, p = W(0), m = M(() => p.value > 0), h = null, g = null, _ = !1, v = null;
242
+ //#region src/components/dock/composables/useDockState.ts
243
+ function Be(e) {
244
+ let { collapseDelay: t = 3600, rootEl: n, alwaysExpanded: r = !1, isTransitioning: i, dockId: a, onStateChange: o } = e, s = () => typeof r == "boolean" ? r : r.value, c = s(), l = W(c ? "pinned" : "collapsed"), u = W(c), d = W(c), f = null, p = W(0), m = O(() => p.value > 0), h = null, g = null, _ = !1, v = null;
360
245
  function y() {
361
246
  v &&= (clearTimeout(v), null);
362
247
  }
363
- function b(e) {
364
- if (!e) return !1;
365
- let t = n.value;
366
- if (!t || typeof t.getBoundingClientRect != "function" || !t.hasAttribute("data-morphing")) return !1;
367
- let r = t.getBoundingClientRect();
368
- return e.clientX >= r.left && e.clientX <= r.right && e.clientY >= r.top && e.clientY <= r.bottom ? e.clientX - r.left <= 24 || r.right - e.clientX <= 24 || e.clientY - r.top <= 24 || r.bottom - e.clientY <= 24 : !1;
248
+ let b = l.value;
249
+ function x() {
250
+ s() && (l.value = "pinned"), u.value = l.value !== "collapsed", d.value = l.value === "pinned", o && b !== l.value && o(l.value, b), b = l.value;
369
251
  }
370
- let x = l.value;
371
252
  function S() {
372
- s() && (l.value = "pinned"), u.value = l.value !== "collapsed", d.value = l.value === "pinned", o && x !== l.value && o(l.value, x), x = l.value;
253
+ f &&= (clearTimeout(f), null);
373
254
  }
374
255
  function C() {
375
- f &&= (clearTimeout(f), null);
256
+ g !== null && (cancelAnimationFrame(g), g = null);
376
257
  }
377
258
  function w() {
378
- g !== null && (cancelAnimationFrame(g), g = null);
259
+ C(), h?.();
379
260
  }
380
261
  function T() {
381
- w(), h?.();
382
- }
383
- function E() {
384
- s() || p.value > 0 || (C(), f = setTimeout(() => {
385
- D(), l.value = "collapsed", S();
262
+ s() || p.value > 0 || (S(), f = setTimeout(() => {
263
+ l.value = "collapsed", x();
386
264
  }, t));
387
265
  }
388
- function D() {
389
- typeof document > "u" || typeof PointerEvent > "u" || document.body.dispatchEvent(new PointerEvent("pointerdown", {
390
- bubbles: !0,
391
- composed: !0
392
- }));
393
- }
394
- function O() {
266
+ function E() {
395
267
  if (s()) {
396
- l.value = "pinned", S();
268
+ l.value = "pinned", x();
397
269
  return;
398
270
  }
399
- _ ||= (_ = !0, C(), y(), D(), l.value = "collapsed", S(), !1);
271
+ _ ||= (_ = !0, S(), y(), l.value = "collapsed", x(), !1);
400
272
  }
401
- function k() {
273
+ function D() {
402
274
  if (s()) {
403
- l.value = "pinned", S();
275
+ l.value = "pinned", x();
404
276
  return;
405
277
  }
406
- C(), y(), l.value = "hover", S();
278
+ S(), y(), l.value = "hover", x();
407
279
  }
408
- function ee() {
409
- s() || (C(), l.value === "collapsed" && (y(), v = setTimeout(() => {
410
- v = null, !s() && l.value === "collapsed" && (l.value = "hover", S());
280
+ function k() {
281
+ s() || (S(), l.value === "collapsed" && (y(), v = setTimeout(() => {
282
+ v = null, !s() && l.value === "collapsed" && (l.value = "hover", x());
411
283
  }, 60)));
412
284
  }
413
285
  function A(e) {
@@ -415,153 +287,145 @@ function Ke(e) {
415
287
  if (p.value > 0) return;
416
288
  if (e) {
417
289
  let t = n.value;
418
- if (t && e.relatedTarget instanceof Node && t.contains(e.relatedTarget) || Ge(e.relatedTarget, a) || b(e)) return;
290
+ if (t && e.relatedTarget instanceof Node && t.contains(e.relatedTarget) || ze(e.relatedTarget, a)) return;
419
291
  }
420
- E();
292
+ T();
421
293
  }
422
294
  }
423
- function te() {
424
- s() || (C(), l.value === "collapsed" && (l.value = "hover", S()));
295
+ function j() {
296
+ s() || (S(), l.value === "collapsed" && (l.value = "hover", x()));
425
297
  }
426
- function j(e) {
298
+ function M(e) {
427
299
  if (s() || l.value !== "hover" || p.value > 0) return;
428
300
  let t = e.currentTarget;
429
- e.relatedTarget && t.contains(e.relatedTarget) || Ge(e.relatedTarget, a) || E();
301
+ e.relatedTarget && t.contains(e.relatedTarget) || ze(e.relatedTarget, a) || T();
430
302
  }
431
303
  function N() {
432
304
  if (s()) {
433
- l.value = "pinned", S();
305
+ l.value = "pinned", x();
434
306
  return;
435
307
  }
436
- C(), y(), l.value = "pinned", S();
308
+ S(), y(), l.value = "pinned", x();
437
309
  }
438
310
  function P() {
439
- p.value++, C();
311
+ p.value++, S();
440
312
  }
441
313
  function F() {
442
- p.value = Math.max(0, p.value - 1), p.value === 0 && l.value === "hover" && (C(), f = setTimeout(() => {
443
- p.value === 0 && l.value === "hover" && E();
314
+ p.value = Math.max(0, p.value - 1), p.value === 0 && l.value === "hover" && (S(), f = setTimeout(() => {
315
+ p.value === 0 && l.value === "hover" && T();
444
316
  }, Math.min(t, 800)));
445
317
  }
446
318
  function I(e) {
447
319
  if (s() || i?.value) return;
448
320
  let t = n.value;
449
- !t || t.contains(e.target) || Ge(e.target, a) || O();
321
+ !t || t.contains(e.target) || ze(e.target, a) || E();
450
322
  }
451
- return q(u, (e) => {
452
- e ? (T(), g = requestAnimationFrame(() => {
323
+ return X(u, (e) => {
324
+ e ? (w(), g = requestAnimationFrame(() => {
453
325
  g = null, u.value && (document.addEventListener("pointerdown", I, !0), h = () => {
454
326
  document.removeEventListener("pointerdown", I, !0), h = null;
455
327
  });
456
- })) : T();
457
- }), typeof r == "boolean" ? r && (l.value = "pinned", S()) : q(r, (e) => {
328
+ })) : w();
329
+ }), typeof r == "boolean" ? r && (l.value = "pinned", x()) : X(r, (e) => {
458
330
  if (e) {
459
- C(), l.value = "pinned", S();
331
+ S(), l.value = "pinned", x();
460
332
  return;
461
333
  }
462
- l.value = "collapsed", S();
463
- }, { immediate: !0 }), se(() => {
464
- C(), y(), T();
334
+ l.value = "collapsed", x();
335
+ }, { immediate: !0 }), V(() => {
336
+ S(), y(), w();
465
337
  }), {
466
338
  state: l,
467
339
  expanded: u,
468
340
  isPinned: d,
469
341
  isHeld: m,
470
- onMouseEnter: ee,
342
+ onMouseEnter: k,
471
343
  onMouseLeave: A,
472
- onFocusIn: te,
473
- onFocusOut: j,
344
+ onFocusIn: j,
345
+ onFocusOut: M,
474
346
  onClickCollapsed: N,
475
347
  keepOpen: P,
476
348
  release: F,
477
- expand: k,
478
- collapse: O
349
+ expand: D,
350
+ collapse: E
479
351
  };
480
352
  }
481
353
  //#endregion
482
- //#region src/components/custom/dock/composables/dockMorphMeasure.ts
483
- function qe(e) {
484
- return e === "vertical" ? "height" : "width";
485
- }
486
- function Je(e, t) {
487
- return e.getBoundingClientRect()[qe(t)];
488
- }
489
- function Ye(e) {
490
- if (!e || typeof getComputedStyle != "function") return 44;
491
- let t = getComputedStyle(e).getPropertyValue("--dock-morph-min").trim(), n = Number.parseFloat(t);
492
- return Number.isFinite(n) && n > 0 ? n : 44;
493
- }
494
- function Xe(e) {
495
- let { rootEl: t, contentEl: n, axis: r, expanded: i } = e, a = null, o = 0, s = 0;
496
- function c(e) {
497
- return e.hasAttribute("data-morphing");
354
+ //#region src/components/dock/composables/useDockSpring.ts
355
+ function Ve(e) {
356
+ let n = null, r = () => n !== null && !n.settled;
357
+ function i() {
358
+ n &&= (n.dispose(), null);
359
+ }
360
+ function a(a, o, s) {
361
+ let c = r() ? n.velocity : 0;
362
+ i();
363
+ let l = new ge({
364
+ response: e.response * t(),
365
+ dampingFraction: e.dampingFraction,
366
+ initial: a,
367
+ respectReducedMotion: !0
368
+ });
369
+ n = l, l.reset(a, c), l.target = o, l.play((e, t) => {
370
+ s.onFrame(e, t), l.settled && (s.onSettle?.(), n === l && i());
371
+ });
498
372
  }
499
- function l() {
500
- let e = t.value, a = n.value;
501
- if (!e || !a) return;
502
- let l = r.value, u = Ye(e);
503
- if (s <= 0 && (s = u), !c(e)) {
504
- let t = Je(e, l);
505
- t > 0 && (i.value ? o = t : s = t);
506
- }
507
- let d = o > 0 ? o : Math.max(Je(a, l), s), f = Math.max(d, s);
508
- e.style.setProperty("--dock-collapsed-px", `${s}px`), e.style.setProperty("--dock-expanded-px", `${f}px`);
373
+ function o(e) {
374
+ r() && (n.target = e);
509
375
  }
510
- function u(e) {
511
- a &&= (a.disconnect(), null), !(!e || typeof ResizeObserver > "u") && (a = new ResizeObserver(() => l()), n.value && a.observe(n.value), a.observe(e), l());
512
- }
513
- q(t, (e) => u(e), { immediate: !0 }), q(n, () => u(t.value)), q(i, () => l());
514
- let d = typeof document < "u" ? document.fonts : void 0;
515
- d && d.ready.then(() => l()), oe(() => {
516
- a && a.disconnect(), a = null;
517
- });
376
+ return {
377
+ playTo: a,
378
+ retarget: o,
379
+ get live() {
380
+ return r();
381
+ },
382
+ get velocity() {
383
+ return r() ? n.velocity : 0;
384
+ },
385
+ dispose: i
386
+ };
518
387
  }
519
388
  //#endregion
520
- //#region src/components/custom/dock/composables/dockMorphContext.ts
521
- var Ze = h(b), { KEY: Qe } = Ze;
522
- function $e(e) {
523
- Ze.provide(e);
389
+ //#region src/components/dock/composables/dockMorphContext.ts
390
+ var He = d(h), { KEY: Ue } = He;
391
+ function We(e) {
392
+ He.provide(e);
524
393
  }
525
- var et = Ze.use;
526
- function tt(e) {
527
- let { rootEl: t, outerEl: n, outerActiveLayer: r, outerAxis: i } = e, a = null, o = /* @__PURE__ */ new Set();
394
+ He.use;
395
+ function Ge(e) {
396
+ let { rootEl: t, outerEl: n, outerActiveLayer: r, outerAxis: i } = e, a = Ve({
397
+ response: _.response,
398
+ dampingFraction: _.dampingFraction
399
+ }), o = /* @__PURE__ */ new Set();
528
400
  function s() {
529
401
  return t.value;
530
402
  }
531
403
  function c() {
532
- a &&= (a.dispose(), null);
533
- }
534
- function l() {
535
404
  let e = s();
536
405
  return !!e && e.hasAttribute("data-morphing");
537
406
  }
538
- function u(e) {
407
+ function l(e) {
539
408
  e.leavingLayer.value = null;
540
409
  }
541
- function d() {
542
- let e = s();
543
- e && (e.style.removeProperty("--dock-morph-t"), e.removeAttribute("data-morphing"), e.removeAttribute("data-punching")), c();
410
+ function u() {
411
+ let t = s();
412
+ t && (t.removeAttribute("data-morphing"), t.removeAttribute("data-pane-swap"), t.style.removeProperty("--dock-morph-t")), e.onMorphActiveChange?.(!1), a.dispose();
544
413
  }
545
- function f() {
546
- let e = s();
547
- if (!e) return;
548
- let t = a !== null && !a.settled ? a.velocity : 0;
549
- c(), a = new X({
550
- response: S.response,
551
- dampingFraction: S.dampingFraction,
552
- initial: 0,
553
- respectReducedMotion: !0
554
- });
555
- let n = a;
556
- n.reset(0, t), n.target = 1, e.setAttribute("data-morphing", ""), e.setAttribute("data-punching", ""), e.style.setProperty("--dock-morph-t", "0"), n.play((e) => {
557
- let t = s();
558
- if (t && (t.style.setProperty("--dock-morph-t", `${e}`), e > .5 && t.hasAttribute("data-punching") && t.removeAttribute("data-punching")), n.settled) {
559
- let e = s();
560
- e && e.removeAttribute("data-punching");
561
- for (let e of o) u(e);
414
+ function d() {
415
+ for (let e of o) l(e);
416
+ u();
417
+ }
418
+ function f(t = !1) {
419
+ let n = s();
420
+ n && (e.onMorphActiveChange?.(!0), n.setAttribute("data-morphing", ""), t ? n.setAttribute("data-pane-swap", "") : n.removeAttribute("data-pane-swap"), n.style.setProperty("--dock-morph-t", "0"), a.playTo(0, 1, {
421
+ onFrame: (e) => {
422
+ let t = s();
423
+ t && t.style.setProperty("--dock-morph-t", `${e}`);
424
+ },
425
+ onSettle: () => {
562
426
  d();
563
427
  }
564
- });
428
+ }));
565
429
  }
566
430
  function p(e, t, n) {
567
431
  if (t !== n) {
@@ -569,111 +433,109 @@ function tt(e) {
569
433
  e.currentLayer.value = t, e.leavingLayer.value = null;
570
434
  return;
571
435
  }
572
- e.leavingLayer.value = n, e.currentLayer.value = t, f();
436
+ e.leavingLayer.value = n, e.currentLayer.value = t, f(!e.isOuter);
573
437
  }
574
438
  }
575
- function m(e) {
576
- let t = {
439
+ function m(e, t = !1) {
440
+ let n = {
577
441
  containerEl: e.containerEl,
578
442
  axis: e.axis,
579
443
  activeLayer: e.activeLayer,
580
444
  currentLayer: W(e.activeLayer.value),
581
445
  leavingLayer: W(null),
446
+ isOuter: t,
582
447
  stop: () => {}
583
448
  };
584
- return t.stop = q(e.activeLayer, (e, n) => {
585
- p(t, e, n);
586
- }), o.add(t), t;
449
+ return n.stop = X(e.activeLayer, (e, t) => {
450
+ p(n, e, t);
451
+ }), o.add(n), n;
587
452
  }
588
453
  function h(e) {
589
- e.stop(), o.delete(e), l() || c();
454
+ e.stop(), o.delete(e), c() || a.dispose();
590
455
  }
591
456
  let g = m({
592
457
  containerEl: n,
593
458
  activeLayer: r,
594
459
  axis: i
595
- }), _ = { registerGroup(e) {
596
- let t = m(e);
597
- return {
598
- currentLayer: U(t.currentLayer),
599
- leavingLayer: U(t.leavingLayer),
600
- release: () => h(t)
601
- };
602
- } };
603
- function v(e) {
604
- let t = n.value;
605
- !t || e.target !== t || e.propertyName !== "width" && e.propertyName !== "height" && e.propertyName !== qe(i.value) || a && a.settled && (u(g), d());
606
- }
607
- return se(() => {
460
+ }, !0);
461
+ return V(() => {
608
462
  for (let e of o) e.stop();
609
- o.clear(), c();
463
+ o.clear(), a.dispose();
610
464
  }), {
611
- context: _,
612
- outerCurrentLayer: U(g.currentLayer),
613
- onOuterTransitionEnd: v
465
+ context: { registerGroup(e) {
466
+ let t = m(e);
467
+ return {
468
+ currentLayer: U(t.currentLayer),
469
+ leavingLayer: U(t.leavingLayer),
470
+ release: () => h(t)
471
+ };
472
+ } },
473
+ outerCurrentLayer: U(g.currentLayer)
614
474
  };
615
475
  }
616
476
  //#endregion
617
- //#region src/components/custom/dock/composables/useDockShellProps.ts
618
- function nt(e) {
619
- let t = M(() => {
477
+ //#region src/components/dock/composables/dockMorphMeasure.ts
478
+ function Ke(e) {
479
+ return e === "vertical" ? "height" : "width";
480
+ }
481
+ function qe(e, t) {
482
+ return e.getBoundingClientRect()[Ke(t)];
483
+ }
484
+ function Je(e) {
485
+ if (!e || typeof getComputedStyle != "function") return 44;
486
+ let t = getComputedStyle(e).getPropertyValue("--dock-morph-min").trim(), n = Number.parseFloat(t);
487
+ return Number.isFinite(n) && n > 0 ? n : 44;
488
+ }
489
+ function Ye(e) {
490
+ let { rootEl: t, contentEl: n, axis: r, expanded: i } = e, a = null, o = 0, s = 0;
491
+ function c(e) {
492
+ return e.hasAttribute("data-morphing");
493
+ }
494
+ function l() {
495
+ let e = t.value, a = n.value;
496
+ if (!e || !a) return;
497
+ let l = r.value, u = Je(e);
498
+ if (s <= 0 && (s = u), !c(e)) {
499
+ let t = qe(e, l);
500
+ t > 0 && (i.value ? o = t : s = t);
501
+ }
502
+ let d = o > 0 ? o : Math.max(qe(a, l), s), f = Math.max(d, s);
503
+ e.style.setProperty("--dock-collapsed-px", `${s}px`), e.style.setProperty("--dock-expanded-px", `${f}px`);
504
+ }
505
+ function u(e) {
506
+ a &&= (a.disconnect(), null), !(!e || typeof ResizeObserver > "u") && (a = new ResizeObserver(() => l()), n.value && a.observe(n.value), a.observe(e), l());
507
+ }
508
+ X(t, (e) => u(e), { immediate: !0 }), X(n, () => u(t.value)), X(i, () => l());
509
+ let d = typeof document < "u" ? document.fonts : void 0;
510
+ d && d.ready.then(() => l()), B(() => {
511
+ a && a.disconnect(), a = null;
512
+ });
513
+ }
514
+ //#endregion
515
+ //#region src/components/dock/composables/useDockShellProps.ts
516
+ function Xe(e) {
517
+ let t = O(() => {
620
518
  if (e.containerName) return {
621
519
  "container-type": "inline-size",
622
520
  "container-name": e.containerName
623
521
  };
624
- }), n = M(() => e.collapseDelay ?? 3600), r = M(() => e.layout ?? "linear"), i = M(() => e.shape ?? "pill"), a = M(() => e.orientation ?? "horizontal"), o = M(() => e.density ?? "comfortable"), s = M(() => e.overflow === "scroll" ? a.value === "vertical" ? "dock-scroll-y" : "dock-scroll-x" : null), c = M(() => e.alwaysExpanded || r.value === "grid");
522
+ }), n = O(() => e.collapseDelay ?? 3600), r = O(() => e.layout ?? "linear"), i = O(() => e.shape ?? "pill"), a = O(() => e.orientation ?? "horizontal"), o = O(() => e.size ?? "md"), s = O(() => a.value === "vertical" || e.overflow === "wrap" ? null : "dock-scroll-x"), c = O(() => e.alwaysExpanded || r.value === "grid");
625
523
  return {
626
524
  containerStyle: t,
627
525
  collapseDelay: n,
628
- startCollapsed: M(() => c.value ? !1 : e.startCollapsed ?? !0),
526
+ startCollapsed: O(() => c.value ? !1 : e.startCollapsed ?? !0),
629
527
  layoutValue: r,
630
528
  shape: i,
631
529
  orientation: a,
632
- density: o,
530
+ size: o,
633
531
  scrollClass: s,
634
532
  alwaysExpanded: c,
635
- fitContent: M(() => e.fitContent ?? !1)
533
+ fitContent: O(() => e.fitContent ?? !1)
636
534
  };
637
535
  }
638
536
  //#endregion
639
- //#region src/components/custom/dock/composables/useDockMorphWindow.ts
640
- function rt(e) {
641
- let t = e.trim();
642
- return t ? t.endsWith("ms") ? Number.parseFloat(t) : t.endsWith("s") ? Number.parseFloat(t) * 1e3 : Number.parseFloat(t) || 0 : 0;
643
- }
644
- function it(e) {
645
- let t = getComputedStyle(e), n = t.transitionDuration.split(",").map(rt), r = t.transitionDelay.split(",").map(rt);
646
- return Math.max(0, ...n.map((e, t) => e + (r[t] ?? r[0] ?? 0)));
647
- }
648
- function at(e) {
649
- let t = rt(getComputedStyle(e).getPropertyValue("--duration-normal") || "0.3s");
650
- return Math.max(t > 0 ? t * 2 : 0, 600);
651
- }
652
- function ot(e, t) {
653
- let n = null, r = 0;
654
- function i() {
655
- n &&= (clearTimeout(n), null);
656
- }
657
- function a() {
658
- let a = e.value;
659
- if (!a) return;
660
- let o = ++r;
661
- i(), t.value = !0, n = setTimeout(() => {
662
- o === r && (t.value = !1, n = null);
663
- }, Math.max(it(a), at(a)) + 50);
664
- }
665
- function o(n) {
666
- n.target === e.value && _.has(n.propertyName) && (i(), r++, t.value = !1);
667
- }
668
- return ie(i), {
669
- markTransitioning: a,
670
- onDockTransitionDone: o,
671
- clearTransitionTimer: i
672
- };
673
- }
674
- //#endregion
675
- //#region src/components/custom/dock/composables/useDockClickIntegrity.ts
676
- function st(e) {
537
+ //#region src/components/dock/composables/useDockClickIntegrity.ts
538
+ function Ze(e) {
677
539
  let { rootEl: t, visualExpanded: n } = e, r = null, i = !1, a = 0, o = null;
678
540
  function s() {
679
541
  o !== null && (clearTimeout(o), o = null);
@@ -717,142 +579,85 @@ function st(e) {
717
579
  e.stopPropagation(), e.preventDefault(), r = null;
718
580
  }
719
581
  }
720
- return ie(s), {
582
+ return ee(s), {
721
583
  onPointerDownCapture: f,
722
584
  onClickCapture: m,
723
585
  markExpandFlip: c
724
586
  };
725
587
  }
726
588
  //#endregion
727
- //#region src/components/custom/dock/composables/useDockItemDrag.ts
728
- function ct() {
729
- return typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
730
- }
731
- function lt(e) {
732
- if (!e) return [];
733
- let t = e.querySelector(".dock-layer.is-active") ?? e, n = Array.from(t.querySelectorAll("[data-dock-draggable]"));
734
- return n.length ? n : Array.from(t.querySelectorAll(".dock-icon-button"));
735
- }
736
- function ut(e) {
737
- let t = W(!1), n = null, r = -1, i = -1, s = [], c = 0, l = 0, u = null, d = !1, f = 0, p = 0, m = o({
738
- from: 0,
739
- to: 1,
740
- axis: "width",
741
- squishLaw: "tanh",
742
- maxStretch: () => 1.12
743
- }), { response: h, dampingFraction: g } = a("dock"), _ = null, v = null;
744
- function y() {
745
- if (_) return _;
746
- let e = new X({
747
- response: h,
748
- dampingFraction: g,
749
- respectReducedMotion: !0
750
- });
751
- return _ = e, v = e.subscribe((r) => {
752
- if (n && t.value === !1 && d) {
753
- let t = (1 - r) * f;
754
- x(n, t), ct() || m.drive(Math.min(1, r)), e.settled && (d = !1, D());
755
- }
756
- }), e.play(() => {}), e;
757
- }
758
- function b(e, t) {
759
- let n = e.getBoundingClientRect();
760
- return t ? n.left + n.width / 2 : n.top + n.height / 2;
761
- }
762
- function x(t, n) {
763
- let r = e.axis() === "x";
764
- t.style.transform = r ? `translateX(${n}px)` : `translateY(${n}px)`, t.style.setProperty("--stretch", ct() ? "1" : `${m.stretch.value}`);
765
- }
766
- function S(e) {
767
- e.style.transform = "", e.style.removeProperty("--stretch"), e.classList.remove("glass-drag-lift"), e.style.removeProperty("z-index"), e.style.removeProperty("position");
768
- }
769
- function C(i) {
770
- if (!e.enabled() || t.value || d) return;
771
- let a = e.rootEl.value;
772
- if (!a) return;
773
- let o = i.target?.closest("[data-dock-draggable], .dock-icon-button");
774
- if (!o || !a.contains(o)) return;
775
- let f = lt(a), p = f.indexOf(o);
776
- if (p < 0) return;
777
- let m = e.axis() === "x";
778
- s = f.map((e) => b(e, m)), n = o, r = p, l = s[p], c = m ? i.clientX : i.clientY, u = i.pointerId, t.value = !0, o.classList.add("glass-drag-lift"), o.style.position = "relative", o.style.zIndex = "20";
779
- try {
780
- o.setPointerCapture(i.pointerId);
781
- } catch {}
782
- i.preventDefault();
783
- }
784
- function w(r) {
785
- if (!t.value || !n || u != null && r.pointerId !== u) return;
786
- let i = (e.axis() === "x" ? r.clientX : r.clientY) - c;
787
- ct() || m.drive(Math.min(1, Math.abs(i) / 120)), x(n, i);
788
- }
789
- function T(e) {
790
- let t = r, n = Infinity;
791
- return s.forEach((r, i) => {
792
- let a = Math.abs(r - e);
793
- a < n && (n = a, t = i);
794
- }), t;
795
- }
796
- function E(r) {
797
- if (!t.value || !n || u != null && r.pointerId !== u) return;
798
- t.value = !1;
799
- let a = (e.axis() === "x" ? r.clientX : r.clientY) - c, o = l + a, m = T(o);
800
- if (p = s[m], f = o - p, i = m, ct()) {
801
- d = !1, n && x(n, 0), D();
802
- return;
803
- }
804
- d = !0;
805
- let h = y();
806
- h.reset(0, 0), h.target = 1;
807
- }
808
- function D() {
809
- let t = e.rootEl.value, a = r, o = i, s = n;
810
- if (s && S(s), t && s && a >= 0 && o >= 0 && a !== o) {
811
- let n = lt(t)[o];
812
- if (n && s.parentElement) {
813
- let t = s.parentElement;
814
- a < o ? t.insertBefore(s, n.nextSibling) : t.insertBefore(s, n), e.onReorder?.(a, o);
815
- }
816
- }
817
- n = null, r = -1, i = -1;
589
+ //#region src/components/dock/composables/useDockTouchGate.ts
590
+ function Qe(e) {
591
+ let { collapseDelay: t, rootEl: n, alwaysExpanded: r, visualExpanded: i, expanded: a, isPinned: o, expand: s, collapse: l } = e, u = c(t);
592
+ function d() {
593
+ return !r.value;
818
594
  }
819
- function O() {
820
- typeof window > "u" || (window.addEventListener("pointermove", w), window.addEventListener("pointerup", E), window.addEventListener("pointercancel", E));
595
+ function f(e) {
596
+ if (!d() || i.value) return;
597
+ let t = n.value, r = e.touches[0];
598
+ !t || !r || u.handleTouchStart(t, r.clientY);
821
599
  }
822
- function k() {
823
- typeof window > "u" || (window.removeEventListener("pointermove", w), window.removeEventListener("pointerup", E), window.removeEventListener("pointercancel", E));
600
+ function p(e) {
601
+ d() && u.handleScrollCheck(e);
824
602
  }
825
- let ee = q(() => [e.rootEl.value, e.enabled()], ([e, t], n, r) => {
826
- e && t && (e.addEventListener("pointerdown", C), O(), r(() => {
827
- e.removeEventListener("pointerdown", C), k();
828
- }));
829
- }, { immediate: !0 });
830
- function A() {
831
- ee(), k(), v?.(), _ = null;
603
+ function m() {
604
+ if (!d()) return;
605
+ let e = u.isActive.value;
606
+ u.handleTouchEnd(), !e && u.isActive.value && !i.value && s();
832
607
  }
833
- return ie(A), {
834
- dragging: t,
835
- detach: A
608
+ return X(u.isActive, (e) => {
609
+ !e && a.value && !o.value && !r.value && l();
610
+ }), {
611
+ onTouchStart: f,
612
+ onTouchMove: p,
613
+ onTouchEnd: m,
614
+ deactivate: () => u.deactivate()
836
615
  };
837
616
  }
838
617
  //#endregion
839
- //#region src/components/custom/dock/GlassDock.vue?vue&type=script&setup=true&lang.ts
840
- var dt = [
841
- "data-has-rail",
842
- "data-splittable",
843
- "data-fissioned"
844
- ], ft = [
845
- "data-density",
618
+ //#region src/components/dock/composables/useDockOverflowFit.ts
619
+ function $e(e) {
620
+ let t = null, n = null, r = 0;
621
+ function i() {
622
+ return e.value?.querySelector(".dock-layer--full") ?? null;
623
+ }
624
+ function a() {
625
+ let t = e.value, n = i();
626
+ if (!t || !n) return;
627
+ let r = n.scrollWidth - n.clientWidth > 1;
628
+ t.toggleAttribute("data-dock-overflow", r);
629
+ }
630
+ function o() {
631
+ cancelAnimationFrame(r), r = requestAnimationFrame(a);
632
+ }
633
+ return te(() => {
634
+ let r = e.value, a = i();
635
+ o(), r && (t = new ResizeObserver(o), t.observe(r), a && t.observe(a)), a && (n = new MutationObserver(o), n.observe(a, {
636
+ childList: !0,
637
+ subtree: !0,
638
+ characterData: !0
639
+ }));
640
+ }), X(() => e.value, () => o()), V(() => {
641
+ t?.disconnect(), n?.disconnect(), cancelAnimationFrame(r);
642
+ }), { measure: a };
643
+ }
644
+ //#endregion
645
+ //#region src/components/dock/GlassDock.vue?vue&type=script&setup=true&lang.ts
646
+ var et = [
647
+ "data-size",
846
648
  "data-held",
847
649
  "data-search",
848
650
  "data-container-name"
849
- ], pt = {
651
+ ], tt = { class: "dock-controls" }, nt = {
850
652
  key: 0,
851
653
  class: "dock-persistent"
852
- }, mt = ["inert"], ht = ["inert"], gt = {
654
+ }, rt = ["inert"], it = ["inert"], at = {
853
655
  key: 0,
854
656
  class: "dock-search-field"
855
- }, _t = ["aria-hidden"], vt = ["inert"], yt = 36, bt = /* @__PURE__ */ R({
657
+ }, ot = {
658
+ key: 1,
659
+ class: "dock-persistent dock-persistent-end"
660
+ }, st = /* @__PURE__ */ P({
856
661
  inheritAttrs: !1,
857
662
  __name: "GlassDock",
858
663
  props: {
@@ -861,647 +666,375 @@ var dt = [
861
666
  alwaysExpanded: { type: Boolean },
862
667
  shape: {},
863
668
  orientation: {},
864
- density: {},
669
+ size: {},
865
670
  overflow: {},
866
- containerName: {},
867
- collapseDelay: {},
868
- startCollapsed: { type: Boolean },
869
- layout: {},
870
- autoLuminance: { type: Boolean },
871
- backgroundCanvas: { type: [
872
- Function,
873
- String,
874
- null
875
- ] },
876
- search: { type: Boolean },
877
- splittable: { type: Boolean },
878
- splitContext: {},
879
- splitPlacement: {},
880
- draggableItems: { type: Boolean }
881
- },
882
- emits: ["update:order"],
883
- setup(e, { expose: t, emit: n }) {
884
- let r = e, i = n, { containerStyle: a, collapseDelay: o, startCollapsed: s, layoutValue: c, shape: l, orientation: u, density: d, scrollClass: p, alwaysExpanded: m, fitContent: h } = nt(r), g = c, _ = he("dockEl"), v = he("layersEl");
885
- r.autoLuminance !== !1 && We(_, { backgroundCanvas: r.backgroundCanvas ?? null });
886
- let b = W(!1), x = f(o.value), S = `glass-dock-${fe()}`, { expanded: C, isPinned: w, isHeld: T, onMouseEnter: E, onMouseLeave: D, onFocusIn: O, onFocusOut: k, onClickCollapsed: ee, keepOpen: A, release: te, expand: j, collapse: N } = Ke({
887
- collapseDelay: o.value,
888
- rootEl: _,
889
- alwaysExpanded: m,
890
- isTransitioning: b,
891
- dockId: S
892
- });
893
- y({
894
- id: S,
895
- orientation: u,
896
- layout: g,
897
- keepOpen: A,
898
- release: te,
899
- held: T
900
- });
901
- let L = M(() => m.value || C.value), R = me(), ne = M(() => !!R.rail), V = he("frameEl"), oe = M(() => L.value ? "full" : "summary"), se = M(() => u.value), { context: U, onOuterTransitionEnd: ce } = tt({
902
- rootEl: _,
903
- outerEl: v,
904
- outerActiveLayer: oe,
905
- outerAxis: se
906
- });
907
- $e(U), Xe({
908
- rootEl: _,
909
- contentEl: v,
910
- axis: se,
911
- expanded: L
912
- });
913
- let le = M(() => ({ "view-transition-name": S.replace(/[^a-zA-Z0-9_-]/g, "-") })), { markTransitioning: de, onDockTransitionDone: pe } = ot(_, b), { onPointerDownCapture: J, onClickCapture: ge, markExpandFlip: _e } = st({
914
- rootEl: _,
915
- visualExpanded: L
916
- });
917
- ae(() => {
918
- (r.alwaysExpanded || !s.value) && j();
919
- });
920
- function ve() {
921
- return !m.value;
922
- }
923
- function ye(e) {
924
- if (!ve() || L.value) return;
925
- let t = _.value, n = e.touches[0];
926
- !t || !n || x.handleTouchStart(t, n.clientY);
927
- }
928
- function be(e) {
929
- ve() && x.handleScrollCheck(e);
930
- }
931
- function xe() {
932
- if (!ve()) return;
933
- let e = x.isActive.value;
934
- x.handleTouchEnd(), !e && x.isActive.value && !L.value && j();
935
- }
936
- q(x.isActive, (e) => {
937
- !e && C.value && !w.value && !m.value && N();
938
- }), q(L, (e) => {
939
- de(), e ? _e() : x.deactivate();
940
- });
941
- let Se = ue(Ae[r.splitContext ?? "nav"]);
942
- q(() => r.splitContext, (e) => {
943
- Se.value = Ae[e ?? "nav"];
944
- });
945
- let Ce = ue(r.splitPlacement ?? "beside");
946
- q(() => r.splitPlacement, (e) => {
947
- Ce.value = e ?? "beside";
948
- });
949
- let Y = r.splittable ? je({
950
- rootEl: V,
951
- signature: Se,
952
- placement: Ce
953
- }) : null, we = Y ? Y.fissioned : M(() => !1), Te = [];
954
- function Ee() {
955
- let e = _.value;
956
- if (!e) return {
957
- x: 0,
958
- y: 0
959
- };
960
- let t = e.getBoundingClientRect();
961
- return {
962
- x: t.left + t.width / 2,
963
- y: t.top + t.height / 2
964
- };
965
- }
966
- function X() {
967
- let e = _.value;
968
- if (!e || !Y) return;
969
- for (let e of Te.splice(0)) e.release();
970
- let t = Array.from(e.querySelectorAll("[data-dock-splittable]")), n = r.splitContext ?? "nav";
971
- t.forEach((e, t) => {
972
- e.classList.add("dock-fission-piece");
973
- let r = Y.registerPiece({
974
- el: W(e),
975
- rank: t,
976
- vector: () => {
977
- let t = Ee(), r = e.getBoundingClientRect(), i = r.left + r.width / 2, a = r.top + r.height / 2, o = i - t.x, s = a - t.y, c = Math.hypot(o, s) || 1;
978
- return o /= c, s /= c, n === "nav" && (o = -o, s = -s), n === "media" && (s *= .25), {
979
- dx: o,
980
- dy: s
981
- };
982
- }
983
- });
984
- Te.push(r);
985
- });
986
- }
987
- Y && (ae(() => {
988
- re(X);
989
- }), ie(() => {
990
- for (let e of Te.splice(0)) e.release();
991
- }));
992
- let De = ut({
993
- rootEl: _,
994
- enabled: () => r.draggableItems === !0,
995
- axis: () => u.value === "vertical" ? "y" : "x",
996
- onReorder: (e, t) => i("update:order", e, t)
997
- }).dragging;
998
- function Oe(e) {
999
- if (Y?.onPointerMove(e), ke) {
1000
- let t = e.clientX - ke.x, n = e.clientY - ke.y;
1001
- Math.hypot(t, n) > yt && Y && !Y.fissioned.value && Q();
1002
- }
1003
- }
1004
- let ke = null;
1005
- function Z(e) {
1006
- Y && e.target?.closest("[data-dock-splittable]") && (ke = {
1007
- x: e.clientX,
1008
- y: e.clientY
1009
- });
1010
- }
1011
- function Me() {
1012
- ke = null;
1013
- }
1014
- function Q() {
1015
- Y && (X(), Y.split());
1016
- }
1017
- function $() {
1018
- Y?.merge();
1019
- }
1020
- function Ne() {
1021
- Y && (X(), Y.toggle());
1022
- }
1023
- return t({
1024
- expanded: C,
1025
- isPinned: w,
1026
- isHeld: T,
1027
- isTransitioning: b,
1028
- expand: j,
1029
- collapse: N,
1030
- keepOpen: A,
1031
- release: te,
1032
- split: Q,
1033
- merge: $,
1034
- toggleSplit: Ne,
1035
- fissioned: Y ? Y.fissioned : M(() => !1)
1036
- }), (t, n) => (H(), F("div", {
1037
- ref_key: "frameEl",
1038
- ref: V,
1039
- class: B(["glass-dock-frame", K(u)]),
1040
- "data-has-rail": ne.value || void 0,
1041
- "data-splittable": e.splittable || void 0,
1042
- "data-fissioned": K(we) || void 0
1043
- }, [
1044
- I("div", z({
1045
- ref_key: "dockEl",
1046
- ref: _
1047
- }, t.$attrs, {
1048
- class: ["glass-dock", [
1049
- K(u),
1050
- `shape-${K(l)}`,
1051
- `layout-${K(g)}`,
1052
- K(p),
1053
- {
1054
- expanded: L.value,
1055
- collapsed: !L.value,
1056
- pinned: K(w),
1057
- "fit-content": K(h),
1058
- "always-expanded": K(m),
1059
- "dock-overflow-wrap": e.overflow === "wrap" && K(u) !== "vertical"
1060
- },
1061
- {
1062
- "glass-drag-grabbable": e.draggableItems && !K(De),
1063
- "dock-items-draggable": e.draggableItems
1064
- },
1065
- e.position === "fixed" ? "fixed bottom-(--dock-pos) left-1/2 -translate-x-1/2" : e.position === "sticky" ? "dock-sticky" : "dock-inline"
1066
- ]],
1067
- "data-density": K(d),
1068
- "data-held": K(T) || void 0,
1069
- "data-search": e.search || void 0,
1070
- "data-container-name": e.containerName || void 0,
1071
- style: [K(a), le.value],
1072
- onMouseenter: n[2] ||= (...e) => K(E) && K(E)(...e),
1073
- onMouseleave: n[3] ||= (e) => K(D)(e),
1074
- onFocusin: n[4] ||= (...e) => K(O) && K(O)(...e),
1075
- onFocusout: n[5] ||= (...e) => K(k) && K(k)(...e),
1076
- onTouchstart: ye,
1077
- onTouchmove: be,
1078
- onTouchend: xe,
1079
- onPointerdownCapture: n[6] ||= (...e) => K(J) && K(J)(...e),
1080
- onClickCapture: n[7] ||= (...e) => K(ge) && K(ge)(...e),
1081
- onPointermove: n[8] ||= (t) => e.splittable ? Oe(t) : void 0,
1082
- onPointerdown: n[9] ||= (t) => e.splittable ? Z(t) : void 0,
1083
- onPointerup: n[10] ||= (t) => e.splittable ? Me() : void 0,
1084
- onPointercancel: n[11] ||= (t) => e.splittable ? Me() : void 0,
1085
- onTransitionend: n[12] ||= (...e) => K(pe) && K(pe)(...e),
1086
- onTransitioncancel: n[13] ||= (...e) => K(pe) && K(pe)(...e)
1087
- }), [
1088
- n[14] ||= I("span", {
1089
- class: "cartoon-cast",
1090
- "aria-hidden": "true"
1091
- }, null, -1),
1092
- t.$slots.persistent ? (H(), F("div", pt, [G(t.$slots, "persistent")])) : P("", !0),
1093
- I("div", {
1094
- ref_key: "layersEl",
1095
- ref: v,
1096
- class: "dock-layers",
1097
- onTransitionend: n[1] ||= (...e) => K(ce) && K(ce)(...e)
1098
- }, [
1099
- I("div", {
1100
- class: B(["dock-layer dock-layer--full", { "is-active": L.value }]),
1101
- inert: !L.value || void 0
1102
- }, [G(t.$slots, "default")], 10, mt),
1103
- I("div", {
1104
- class: B(["dock-layer dock-layer--summary", { "is-active": !L.value }]),
1105
- inert: L.value || void 0,
1106
- onClick: n[0] ||= (...e) => K(ee) && K(ee)(...e)
1107
- }, [G(t.$slots, "collapsed")], 10, ht),
1108
- e.search ? (H(), F("div", gt, [G(t.$slots, "search")])) : P("", !0)
1109
- ], 544)
1110
- ], 16, ft),
1111
- e.splittable ? (H(), F("div", {
1112
- key: 0,
1113
- class: B(["dock-fission-bridge", [K(u), `place-${Ce.value ?? "beside"}`]]),
1114
- "aria-hidden": !K(we) || void 0
1115
- }, [n[15] ||= I("div", {
1116
- class: "dock-fission-neck",
1117
- "aria-hidden": "true"
1118
- }, null, -1), I("div", {
1119
- class: "dock-fission-island",
1120
- inert: !K(we) || void 0
1121
- }, [G(t.$slots, "split", { fissioned: K(we) })], 8, vt)], 10, _t)) : P("", !0),
1122
- ne.value ? (H(), F("div", {
1123
- key: 1,
1124
- class: B(["dock-hairline-slot", K(u)])
1125
- }, [G(t.$slots, "rail")], 2)) : P("", !0)
1126
- ], 10, dt));
1127
- }
1128
- }), xt = /* @__PURE__ */ R({
1129
- __name: "Tabs",
1130
- props: {
1131
- defaultValue: {},
1132
- orientation: {},
1133
- dir: {},
1134
- activationMode: {},
1135
- modelValue: {},
1136
- unmountOnHide: { type: Boolean },
1137
- asChild: { type: Boolean },
1138
- as: {}
1139
- },
1140
- emits: ["update:modelValue"],
1141
- setup(e, { emit: t }) {
1142
- let n = Ee(e, t);
1143
- return (e, t) => (H(), N(K(Y), z({ "data-slot": "tabs" }, K(n)), {
1144
- default: J(() => [G(e.$slots, "default")]),
1145
- _: 3
1146
- }, 16));
1147
- }
1148
- }), St = /* @__PURE__ */ R({
1149
- __name: "TabsTrigger",
1150
- props: {
1151
- value: {},
1152
- disabled: { type: Boolean },
1153
- asChild: { type: Boolean },
1154
- as: {},
1155
- class: { type: [
1156
- Boolean,
1157
- null,
1158
- String,
1159
- Object,
1160
- Array
1161
- ] }
1162
- },
1163
- setup(t) {
1164
- let n = t, r = Te(M(() => {
1165
- let { class: e, ...t } = n;
1166
- return t;
1167
- }));
1168
- return (t, i) => (H(), N(K(we), z({ "data-slot": "tabs-trigger" }, K(r), { class: K(e)("tap-squish focus-ring relative z-[1] inline-flex items-center justify-center whitespace-nowrap rounded-control p-1 px-3 text-sm font-medium transition-control disabled:pointer-events-none disabled:opacity-disabled data-[state=active]:text-[var(--active-tab-color,var(--foreground))] hover:text-foreground/70", n.class) }), {
1169
- default: J(() => [G(t.$slots, "default")]),
1170
- _: 3
1171
- }, 16, ["class"]));
1172
- }
1173
- }), Ct = /* @__PURE__ */ R({
1174
- __name: "TabsIndicator",
1175
- props: {
1176
- asChild: { type: Boolean },
1177
- as: {},
1178
- class: { type: [
1179
- Boolean,
1180
- null,
1181
- String,
1182
- Object,
1183
- Array
1184
- ] },
1185
- surface: {
1186
- type: Boolean,
1187
- default: !0
1188
- }
1189
- },
1190
- setup(t) {
1191
- let n = t, r = M(() => {
1192
- let { class: e, surface: t, ...r } = n;
1193
- return r;
1194
- });
1195
- return (t, i) => (H(), N(K(Se), z({ "data-slot": "tabs-indicator" }, r.value, { class: K(e)("pointer-events-none absolute left-0 bottom-1 top-1 z-0 w-(--reka-tabs-indicator-size) translate-x-(--reka-tabs-indicator-position) rounded-pill transition-[width,translate] duration-normal ease-spring-snappy", n.surface && "bg-(--glass-bg-quiet) [backdrop-filter:var(--glass-blur-quiet)]", n.class) }), null, 16, ["class"]));
1196
- }
1197
- }), wt = /* @__PURE__ */ R({
1198
- __name: "TabsList",
1199
- props: {
1200
- loop: { type: Boolean },
1201
- asChild: { type: Boolean },
1202
- as: {},
1203
- class: { type: [
1204
- Boolean,
1205
- null,
1206
- String,
1207
- Object,
1208
- Array
1209
- ] },
1210
- indicator: {
671
+ containerName: {},
672
+ collapseDelay: {},
673
+ startCollapsed: { type: Boolean },
674
+ layout: {},
675
+ autoLuminance: {
1211
676
  type: Boolean,
1212
677
  default: !0
1213
- }
678
+ },
679
+ backgroundCanvas: {},
680
+ search: { type: Boolean }
1214
681
  },
1215
- setup(t) {
1216
- let n = t, r = M(() => {
1217
- let { class: e, indicator: t, ...r } = n;
1218
- return r;
682
+ setup(e, { expose: t }) {
683
+ let n = e, { containerStyle: r, collapseDelay: i, startCollapsed: a, layoutValue: o, shape: s, orientation: c, size: l, scrollClass: u, alwaysExpanded: d, fitContent: f } = Xe(n), p = o, h = Y("dockEl"), g = Y("layersEl");
684
+ $e(h), n.autoLuminance !== !1 && Re(h, { backgroundCanvas: () => {
685
+ let e = n.backgroundCanvas;
686
+ return typeof e == "function" ? e() : e instanceof HTMLCanvasElement ? e : null;
687
+ } });
688
+ let _ = W(!1), v = `glass-dock-${ie()}`, { expanded: y, isPinned: b, isHeld: x, onMouseEnter: S, onMouseLeave: C, onFocusIn: w, onFocusOut: T, onClickCollapsed: E, keepOpen: D, release: k, expand: N, collapse: P } = Be({
689
+ collapseDelay: i.value,
690
+ rootEl: h,
691
+ alwaysExpanded: d,
692
+ isTransitioning: _,
693
+ dockId: v
1219
694
  });
1220
- return (i, a) => (H(), N(K(Ce), z({ "data-slot": "tabs-list" }, r.value, { class: K(e)("relative inline-flex h-(--control-h-md) items-center justify-center rounded-input p-1 text-muted-foreground", n.class) }), {
1221
- default: J(() => [t.indicator ? (H(), N(Ct, { key: 0 })) : P("", !0), G(i.$slots, "default")]),
1222
- _: 3
1223
- }, 16, ["class"]));
1224
- }
1225
- }), Tt = m(g, "[glass-ui:dock] <DockLayer> must be used inside <DockLayerGroup>"), { KEY: Et } = Tt;
1226
- function Dt(e) {
1227
- Tt.provide(e);
695
+ m({
696
+ id: v,
697
+ orientation: c,
698
+ layout: p,
699
+ keepOpen: D,
700
+ release: k,
701
+ held: x
702
+ });
703
+ let F = O(() => d.value || y.value), L = O(() => F.value ? "full" : "summary"), z = O(() => c.value), { context: ee } = Ge({
704
+ rootEl: h,
705
+ outerEl: g,
706
+ outerActiveLayer: L,
707
+ outerAxis: z,
708
+ onMorphActiveChange: (e) => {
709
+ _.value = e;
710
+ }
711
+ });
712
+ We(ee), Ye({
713
+ rootEl: h,
714
+ contentEl: g,
715
+ axis: z,
716
+ expanded: F
717
+ });
718
+ let B = O(() => ({ "view-transition-name": v.replace(/[^a-zA-Z0-9_-]/g, "-") })), { onPointerDownCapture: V, onClickCapture: U, markExpandFlip: G } = Ze({
719
+ rootEl: h,
720
+ visualExpanded: F
721
+ });
722
+ te(() => {
723
+ (n.alwaysExpanded || !a.value) && N();
724
+ });
725
+ let { onTouchStart: q, onTouchMove: ne, onTouchEnd: re, deactivate: ae } = Qe({
726
+ collapseDelay: i.value,
727
+ rootEl: h,
728
+ alwaysExpanded: d,
729
+ visualExpanded: F,
730
+ expanded: y,
731
+ isPinned: b,
732
+ expand: N,
733
+ collapse: P
734
+ });
735
+ return X(F, (e) => {
736
+ e ? G() : ae();
737
+ }), t({
738
+ expanded: y,
739
+ isPinned: b,
740
+ isHeld: x,
741
+ isTransitioning: _,
742
+ expand: N,
743
+ collapse: P,
744
+ keepOpen: D,
745
+ release: k
746
+ }), (t, n) => (H(), j("div", I({
747
+ ref_key: "dockEl",
748
+ ref: h
749
+ }, t.$attrs, {
750
+ class: ["glass-dock", [
751
+ J(c),
752
+ `shape-${J(s)}`,
753
+ `layout-${J(p)}`,
754
+ J(u),
755
+ {
756
+ expanded: F.value,
757
+ collapsed: !F.value,
758
+ pinned: J(b),
759
+ "fit-content": J(f),
760
+ "always-expanded": J(d),
761
+ "dock-overflow-wrap": e.overflow === "wrap" && J(c) !== "vertical"
762
+ },
763
+ e.position === "fixed" ? "fixed bottom-(--dock-pos) inset-x-0 mx-auto w-max" : e.position === "sticky" ? "dock-sticky" : "dock-inline"
764
+ ]],
765
+ "data-size": J(l),
766
+ "data-held": J(x) || void 0,
767
+ "data-search": e.search || void 0,
768
+ "data-container-name": e.containerName || void 0,
769
+ style: [J(r), B.value],
770
+ onMouseenter: n[1] ||= (...e) => J(S) && J(S)(...e),
771
+ onMouseleave: n[2] ||= (e) => J(C)(e),
772
+ onFocusin: n[3] ||= (...e) => J(w) && J(w)(...e),
773
+ onFocusout: n[4] ||= (...e) => J(T) && J(T)(...e),
774
+ onTouchstart: n[5] ||= (...e) => J(q) && J(q)(...e),
775
+ onTouchmove: n[6] ||= (...e) => J(ne) && J(ne)(...e),
776
+ onTouchend: n[7] ||= (...e) => J(re) && J(re)(...e),
777
+ onPointerdownCapture: n[8] ||= (...e) => J(V) && J(V)(...e),
778
+ onClickCapture: n[9] ||= (...e) => J(U) && J(U)(...e)
779
+ }), [n[10] ||= M("div", {
780
+ class: "dock-plate",
781
+ "aria-hidden": "true"
782
+ }, null, -1), M("div", tt, [
783
+ t.$slots.persistent ? (H(), j("div", nt, [K(t.$slots, "persistent")])) : A("", !0),
784
+ M("div", {
785
+ ref_key: "layersEl",
786
+ ref: g,
787
+ class: "dock-layers"
788
+ }, [
789
+ M("div", {
790
+ class: R(["dock-layer dock-layer--full", { "is-active": F.value }]),
791
+ inert: !F.value || void 0
792
+ }, [K(t.$slots, "default")], 10, rt),
793
+ M("div", {
794
+ class: R(["dock-layer dock-layer--summary", { "is-active": !F.value }]),
795
+ inert: F.value || void 0,
796
+ onClick: n[0] ||= (...e) => J(E) && J(E)(...e)
797
+ }, [K(t.$slots, "collapsed")], 10, it),
798
+ e.search ? (H(), j("div", at, [K(t.$slots, "search")])) : A("", !0)
799
+ ], 512),
800
+ t.$slots["persistent-end"] ? (H(), j("div", ot, [K(t.$slots, "persistent-end")])) : A("", !0)
801
+ ])], 16, et));
802
+ }
803
+ }), ct = u(f, "[glass-ui:dock] <DockLayer> must be used inside <DockCrossfade> (or <DockLayerGroup>)"), { KEY: lt } = ct;
804
+ function ut(e) {
805
+ ct.provide(e);
1228
806
  }
1229
- var Ot = Tt.use;
1230
- Tt.useOptional;
807
+ var dt = ct.use;
808
+ ct.useOptional;
1231
809
  //#endregion
1232
- //#region src/components/custom/dock/composables/useLayerTransition.ts
1233
- function kt(e) {
1234
- let { containerEl: t, activeLayer: n, axis: r } = e, i = M(() => r?.value === "vertical" ? "height" : "width"), a = M(() => i.value === "width" ? "inline-size" : "block-size"), o = (e) => e.getBoundingClientRect()[i.value], s = W(n.value), c = W(null), l = 0, u = W(!1), d = [];
1235
- function f() {
1236
- if (d.length === 0) return;
1237
- let e = d.splice(0, d.length);
1238
- for (let t of e) t();
1239
- }
1240
- let p = null, m = null;
1241
- function h() {
1242
- p &&= (p.dispose(), null), m = null;
1243
- }
1244
- function g(e) {
1245
- return e.closest(".glass-dock") ?? e;
1246
- }
1247
- function _(e) {
1248
- if (u.value) {
1249
- d.push(e);
1250
- return;
810
+ //#region src/components/dock/DockCrossfade.vue
811
+ var ft = /* @__PURE__ */ P({
812
+ __name: "DockCrossfade",
813
+ props: {
814
+ active: {},
815
+ reserve: { default: "block" }
816
+ },
817
+ setup(e, { expose: t }) {
818
+ let n = e, r = W(null), i = W(/* @__PURE__ */ new Map()), a = O(() => [...i.value.values()].map(({ id: e, label: t, icon: n }) => ({
819
+ id: e,
820
+ label: t,
821
+ icon: n
822
+ })));
823
+ function o(e) {
824
+ let t = new Map(i.value);
825
+ t.set(e.id, e), i.value = t, p();
1251
826
  }
1252
- requestAnimationFrame(e);
1253
- }
1254
- function v(e) {
1255
- e.style.removeProperty("--dock-morph-from"), e.style.removeProperty("--dock-morph-to");
1256
- }
1257
- function y() {
1258
- return typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
1259
- }
1260
- function b(e, t, n) {
1261
- if (n !== l) return;
1262
- let r = a.value;
1263
- v(e);
1264
- let s = e.style.getPropertyValue(r);
1265
- e.style.setProperty(r, "max-content");
1266
- let c = o(e);
1267
- s ? e.style.setProperty(r, s) : e.style.removeProperty(r), e.style.setProperty("--dock-morph-from", `${c}px`), e.style.setProperty("--dock-morph-to", `${c}px`), t.style.setProperty("--dock-morph-t", "1"), e.getBoundingClientRect()[i.value], x(e, t);
1268
- }
1269
- function x(e, t) {
1270
- v(e), t.style.removeProperty("--dock-morph-t"), t.removeAttribute("data-morphing"), c.value = null, h(), u.value = !1, f();
1271
- }
1272
- function C(e, t, n, r, i, a, o) {
1273
- if (Math.abs(i - r) < .5) {
1274
- x(e, t);
1275
- return;
827
+ function c(e) {
828
+ if (!i.value.has(e)) return;
829
+ let t = new Map(i.value);
830
+ t.delete(e), i.value = t, p();
1276
831
  }
1277
- e.style.setProperty("--dock-morph-from", `${r}px`), e.style.setProperty("--dock-morph-to", `${i}px`), t.style.setProperty("--dock-morph-t", "0"), t.setAttribute("data-morphing", ""), u.value = !0, o || (h(), p = new X({
1278
- response: S.response,
1279
- dampingFraction: S.dampingFraction,
1280
- initial: 0,
1281
- respectReducedMotion: !0
1282
- }), m = e);
1283
- let s = p;
1284
- s.reset(0, a), s.target = 1, s.play((r) => {
1285
- n === l && (t.style.setProperty("--dock-morph-t", `${r}`), s.settled && x(e, t));
832
+ let l = O(() => n.active), u = W(null);
833
+ ut({
834
+ register: o,
835
+ unregister: c,
836
+ activeId: l,
837
+ leavingId: u,
838
+ faces: a
1286
839
  });
1287
- }
1288
- q(n, (e, n) => {
1289
- if (e === n) return;
1290
- let r = t.value;
1291
- if (!r) {
1292
- s.value = e, c.value = null;
1293
- return;
1294
- }
1295
- let i = g(r), d = ++l, f = p !== null && m === r && !p.settled ? p : null, h = f ? f.velocity : 0, _ = o(r);
1296
- if (c.value = n, s.value = e, r.style.setProperty("--dock-morph-from", `${_}px`), r.style.setProperty("--dock-morph-to", `${_}px`), i.style.setProperty("--dock-morph-t", "0"), i.setAttribute("data-morphing", ""), u.value = !0, y()) {
1297
- re(() => b(r, i, d));
1298
- return;
840
+ let d = W(0), f = O(() => n.reserve === "inline" ? "min-inline-size" : "min-block-size");
841
+ function p() {
842
+ let e = 0;
843
+ for (let { el: t } of i.value.values()) {
844
+ let r = n.reserve === "inline" ? t.scrollWidth : t.scrollHeight;
845
+ r > e && (e = r);
846
+ }
847
+ e > d.value && (d.value = e);
1299
848
  }
1300
- requestAnimationFrame(() => {
1301
- if (d !== l) return;
1302
- let e = t.value;
1303
- if (!e) return;
1304
- let n = g(e);
1305
- v(e), n.style.removeProperty("--dock-morph-t"), e.style.setProperty(a.value, "max-content");
1306
- let r = o(e);
1307
- e.style.removeProperty(a.value), C(e, n, d, _, r, h, f);
849
+ let m = O(() => d.value > 0 ? {
850
+ [f.value]: `${d.value}px`,
851
+ "--dock-crossfade-peak": `${d.value}px`
852
+ } : void 0);
853
+ s(r, () => p());
854
+ let h = Ve({
855
+ response: _.response,
856
+ dampingFraction: _.dampingFraction
1308
857
  });
1309
- });
1310
- function w(e) {
1311
- let n = t.value;
1312
- n && e.target === n && (e.propertyName !== a.value && e.propertyName !== i.value || p && p.settled && x(n, g(n)));
1313
- }
1314
- return se(() => {
1315
- h(), d.length = 0;
1316
- }), {
1317
- onTransitionEnd: w,
1318
- currentLayer: s,
1319
- leavingLayer: c,
1320
- morphing: u,
1321
- deferReposition: _
1322
- };
1323
- }
1324
- //#endregion
1325
- //#region src/components/custom/dock/DockLayerGroup.vue?vue&type=script&setup=true&lang.ts
1326
- var At = { key: 1 }, jt = { key: 2 }, Mt = /* @__PURE__ */ R({
858
+ function g(e) {
859
+ return e ? i.value.get(e)?.el : void 0;
860
+ }
861
+ function v(e, t) {
862
+ g(e)?.style.setProperty("--dock-t", `${t}`);
863
+ }
864
+ function y(e) {
865
+ g(e)?.style.removeProperty("--dock-t");
866
+ }
867
+ function b(e) {
868
+ return e < 0 ? 0 : e > 1 ? 1 : e;
869
+ }
870
+ function x() {
871
+ return typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
872
+ }
873
+ async function S(e, t) {
874
+ if (typeof document > "u") return;
875
+ let n = g(e), r = document.activeElement;
876
+ !n || !r || !n.contains(r) || (await L(), (g(t) ?? document.body).focus?.());
877
+ }
878
+ return X(l, (e, t) => {
879
+ if (e === t) return;
880
+ p();
881
+ let n = g(e), i = g(t);
882
+ if (!n || !i) {
883
+ u.value = null, y(e);
884
+ return;
885
+ }
886
+ let a = u.value;
887
+ a && a !== e && a !== t && y(a), u.value = t;
888
+ let o = typeof getComputedStyle == "function" ? b(parseFloat(getComputedStyle(n).opacity) || 0) : 0;
889
+ v(e, o), v(t, o), S(t, e), r.value?.setAttribute("data-crossfading", "");
890
+ let s = () => {
891
+ y(e), y(t), r.value?.removeAttribute("data-crossfading"), u.value = null;
892
+ };
893
+ if (x()) {
894
+ s();
895
+ return;
896
+ }
897
+ h.playTo(o, 1, {
898
+ onFrame: (n) => {
899
+ let r = b(n);
900
+ v(e, r), v(t, r);
901
+ },
902
+ onSettle: s
903
+ });
904
+ }), ee(() => h.dispose()), t({ faces: a }), (e, t) => (H(), j("div", {
905
+ ref_key: "rootEl",
906
+ ref: r,
907
+ class: "dock-crossfade",
908
+ style: z(m.value)
909
+ }, [K(e.$slots, "default")], 4));
910
+ }
911
+ }), pt = ["data-motion"], mt = ["aria-orientation"], ht = [
912
+ "tabindex",
913
+ "title",
914
+ "aria-label",
915
+ "onClick"
916
+ ], gt = { key: 1 }, _t = { key: 2 }, vt = /* @__PURE__ */ P({
1327
917
  __name: "DockLayerGroup",
1328
- props: /* @__PURE__ */ ne({
918
+ props: /* @__PURE__ */ F({
1329
919
  orientation: {},
1330
920
  showRail: {
1331
921
  type: Boolean,
1332
922
  default: !0
1333
923
  },
1334
924
  railPosition: { default: "start" },
1335
- draggable: {
1336
- type: Boolean,
1337
- default: !1
1338
- }
925
+ motion: {}
1339
926
  }, {
1340
927
  active: { required: !0 },
1341
928
  activeModifiers: {}
1342
929
  }),
1343
930
  emits: ["update:active"],
1344
931
  setup(e) {
1345
- let t = e, n = pe(e, "active"), r = v(), i = W([]), a = he("containerEl"), o = he("groupEl");
1346
- function s(e) {
1347
- i.value.find((t) => t.id === e.id) || i.value.push(e), u();
1348
- }
1349
- function c(e) {
1350
- i.value = i.value.filter((t) => t.id !== e), u();
1351
- }
1352
- let l = W(0);
1353
- function u() {
1354
- let e = a.value, t = o.value;
1355
- if (!e || !t) return;
1356
- let n = 0, r = e.querySelectorAll(".dock-layer-item-host");
1357
- for (let e of r) {
1358
- let t = e.scrollHeight;
1359
- t > n && (n = t);
1360
- }
1361
- n > l.value && (l.value = n);
1362
- }
1363
- let f = M(() => l.value > 0 ? {
1364
- "min-block-size": `${l.value}px`,
1365
- "--dock-layer-peak-block-size": `${l.value}px`
1366
- } : void 0);
1367
- d(a, () => u()), q(() => i.value.length, () => u());
1368
- let p = M(() => t.orientation ?? r?.orientation.value ?? "horizontal"), m = M(() => p.value === "vertical" ? "horizontal" : "vertical"), h = he("railListEl"), g = W(null);
932
+ let t = e, n = a(() => t.motion), r = ae(e, "active"), i = p(), o = O(() => t.orientation ?? i?.orientation.value ?? "horizontal"), s = Y("crossfade"), c = O(() => s.value?.faces ?? []), l = O(() => o.value === "vertical" ? "horizontal" : "vertical"), u = O(() => l.value === "vertical"), d = W(null), f = W(null), m = W([]), h = T({
933
+ options: O(() => c.value.map((e) => ({ value: e.id }))),
934
+ model: r,
935
+ mode: "single",
936
+ role: "tablist",
937
+ vertical: u,
938
+ containerRef: d,
939
+ indicatorRef: f,
940
+ buttonRefs: m
941
+ }), g = O(() => u.value ? "y" : "x");
1369
942
  function _() {
1370
- let e = h.value;
1371
- g.value = e ? e.$el ?? e : null;
1372
- }
1373
- let y = M(() => m.value === "vertical" ? "y" : "x");
1374
- function b() {
1375
- let e = g.value;
943
+ let e = d.value;
1376
944
  if (!e) return [];
1377
945
  let t = Array.from(e.querySelectorAll(".dock-layer-tab"));
1378
- return i.value.map((e, n) => {
1379
- let r = t[n]?.getBoundingClientRect(), i = r ? y.value === "y" ? r.top + r.height / 2 : r.left + r.width / 2 : 0;
946
+ return c.value.map((e, n) => {
947
+ let r = t[n]?.getBoundingClientRect(), i = r ? g.value === "y" ? r.top + r.height / 2 : r.left + r.width / 2 : 0;
1380
948
  return {
1381
949
  value: e.id,
1382
950
  center: i
1383
951
  };
1384
952
  });
1385
953
  }
1386
- let x = O({
1387
- el: g,
1388
- axis: () => y.value,
1389
- snapTargets: b,
954
+ let v = b({
955
+ el: d,
956
+ axis: () => g.value,
957
+ snapTargets: _,
1390
958
  onSnap: (e) => {
1391
- t.draggable && n.value !== e && (n.value = e);
959
+ n.armed.value && r.value !== e && (r.value = e);
1392
960
  }
1393
961
  });
1394
- q(() => [
1395
- i.value.length,
1396
- m.value,
1397
- t.draggable
962
+ X(() => [
963
+ c.value.length,
964
+ l.value,
965
+ n.armed.value
1398
966
  ], () => {
1399
- _(), t.draggable && re(() => x.refresh());
1400
- }), ae(() => {
1401
- _(), t.draggable && re(() => x.refresh());
1402
- });
1403
- let S = et(), C, w, T;
1404
- if (S) {
1405
- let e = S.registerGroup({
1406
- containerEl: a,
1407
- activeLayer: n,
1408
- axis: p
1409
- });
1410
- C = e.currentLayer, w = e.leavingLayer, T = () => {}, ie(() => e.release());
1411
- } else {
1412
- let e = kt({
1413
- containerEl: a,
1414
- activeLayer: n,
1415
- axis: p,
1416
- directionTypes: (e, t) => {
1417
- let n = i.value.findIndex((t) => t.id === e);
1418
- return [i.value.findIndex((e) => e.id === t) < n ? "layer-back" : "layer-forward"];
1419
- }
1420
- });
1421
- C = U(e.currentLayer), w = U(e.leavingLayer), T = e.onTransitionEnd;
1422
- }
1423
- let E = typeof document < "u" && "startViewTransition" in document, D = fe(), k = M(() => E ? {
1424
- "view-transition-name": `gl-dock-stack-${D.replace(/[^a-zA-Z0-9_-]/g, "-")}`,
1425
- "view-transition-class": "gl-dock-layer"
1426
- } : void 0);
1427
- Dt({
1428
- register: s,
1429
- unregister: c,
1430
- currentLayerId: C,
1431
- leavingLayerId: w
967
+ n.armed.value && L(() => v.refresh());
968
+ }), te(() => {
969
+ n.armed.value && L(() => v.refresh());
1432
970
  });
1433
- function ee(e) {
971
+ function y(e) {
1434
972
  return typeof e == "object" && !!e || typeof e == "function";
1435
973
  }
1436
- let A = W(!1);
1437
- function te() {
1438
- A.value || (A.value = !0, r?.keepOpen());
974
+ let x = W(!1);
975
+ function S() {
976
+ x.value || (x.value = !0, i?.keepOpen());
1439
977
  }
1440
- function R(e) {
978
+ function C(e) {
1441
979
  let t = e.relatedTarget, n = e.currentTarget;
1442
- t && n?.contains(t) || A.value && (A.value = !1, r?.release());
980
+ t && n?.contains(t) || x.value && (x.value = !1, i?.release());
1443
981
  }
1444
- return (r, s) => (H(), F("div", {
1445
- ref_key: "groupEl",
1446
- ref: o,
1447
- class: B(["dock-layer-group", [p.value, `rail-${e.railPosition}`]]),
1448
- style: V(f.value)
1449
- }, [e.showRail && i.value.length > 1 ? (H(), N(K(xt), {
982
+ return (t, i) => (H(), j("div", {
983
+ class: R(["dock-layer-group", [o.value, `rail-${e.railPosition}`]]),
984
+ "data-motion": J(n).dataMotion.value,
985
+ style: z(J(n).hostStyle.value)
986
+ }, [e.showRail && c.value.length > 1 ? (H(), j("div", {
987
+ key: 0,
988
+ ref_key: "railListEl",
989
+ ref: d,
990
+ role: "tablist",
991
+ class: R(["dock-layer-rail", [
992
+ e.railPosition,
993
+ J(n).armed.value && "glass-drag-grabbable",
994
+ J(n).armed.value && J(v).dragging.value && "glass-drag-lift"
995
+ ]]),
996
+ "aria-orientation": l.value,
997
+ style: z(J(n).armed.value ? J(v).dragStyle.value : void 0),
998
+ onKeydown: i[0] ||= (...e) => J(h).onKeydown && J(h).onKeydown(...e),
999
+ onFocusin: S,
1000
+ onFocusout: C
1001
+ }, [(H(!0), j(D, null, G(c.value, (e, t) => (H(), j("button", I({
1002
+ key: e.id,
1003
+ ref_for: !0,
1004
+ ref: (e) => {
1005
+ e && (m.value[t] = e);
1006
+ },
1007
+ type: "button",
1008
+ class: "dock-layer-tab",
1009
+ tabindex: J(h).rovingTabindex(t)
1010
+ }, { ref_for: !0 }, J(h).itemAttrs(e.id), {
1011
+ title: e.label,
1012
+ "aria-label": e.label ?? e.id,
1013
+ onClick: (n) => J(h).select(e.id, t)
1014
+ }), [y(e.icon) ? (H(), k(q(e.icon), {
1450
1015
  key: 0,
1451
- modelValue: n.value,
1452
- "onUpdate:modelValue": s[0] ||= (e) => n.value = e,
1453
- orientation: m.value,
1454
- "as-child": !0
1016
+ class: "size-4"
1017
+ })) : typeof e.icon == "string" ? (H(), j("span", gt, ne(e.icon), 1)) : (H(), j("span", _t, ne((e.label ?? e.id).charAt(0)), 1))], 16, ht))), 128)), M("div", {
1018
+ ref_key: "railIndicatorEl",
1019
+ ref: f,
1020
+ class: "dock-layer-tab-indicator",
1021
+ style: z(J(h).singleSliderStyle.value),
1022
+ "aria-hidden": "true"
1023
+ }, null, 4)], 46, mt)) : A("", !0), N(ft, {
1024
+ ref_key: "crossfade",
1025
+ ref: s,
1026
+ active: r.value,
1027
+ class: "dock-layer-stack"
1455
1028
  }, {
1456
- default: J(() => [L(K(wt), {
1457
- ref_key: "railListEl",
1458
- ref: h,
1459
- class: B(["dock-layer-rail", [
1460
- e.railPosition,
1461
- t.draggable && "glass-drag-grabbable",
1462
- t.draggable && K(x).dragging.value && "glass-drag-lift"
1463
- ]]),
1464
- style: V(t.draggable ? K(x).dragStyle.value : void 0),
1465
- indicator: !1,
1466
- onFocusin: te,
1467
- onFocusout: R
1468
- }, {
1469
- default: J(() => [(H(!0), F(j, null, ce(i.value, (e) => (H(), N(K(St), {
1470
- key: e.id,
1471
- value: e.id,
1472
- class: "dock-layer-tab",
1473
- title: e.label,
1474
- "aria-label": e.label ?? e.id
1475
- }, {
1476
- default: J(() => [ee(e.icon) ? (H(), N(le(e.icon), {
1477
- key: 0,
1478
- class: "size-4"
1479
- })) : typeof e.icon == "string" ? (H(), F("span", At, de(e.icon), 1)) : (H(), F("span", jt, de((e.label ?? e.id).charAt(0)), 1))]),
1480
- _: 2
1481
- }, 1032, [
1482
- "value",
1483
- "title",
1484
- "aria-label"
1485
- ]))), 128)), L(K(Ct), {
1486
- class: "dock-layer-tab-indicator",
1487
- surface: !1
1488
- })]),
1489
- _: 1
1490
- }, 8, ["class", "style"])]),
1491
- _: 1
1492
- }, 8, ["modelValue", "orientation"])) : P("", !0), I("div", {
1493
- ref_key: "containerEl",
1494
- ref: a,
1495
- class: "dock-layer-stack",
1496
- style: V(k.value),
1497
- onTransitionend: s[1] ||= (...e) => K(T) && K(T)(...e)
1498
- }, [G(r.$slots, "default")], 36)], 6));
1499
- }
1500
- }), Nt = [
1029
+ default: Z(() => [K(t.$slots, "default")]),
1030
+ _: 3
1031
+ }, 8, ["active"])], 14, pt));
1032
+ }
1033
+ }), yt = [
1501
1034
  "inert",
1502
1035
  "aria-hidden",
1503
1036
  "tabindex"
1504
- ], Pt = /* @__PURE__ */ R({
1037
+ ], bt = { class: "dock-face-content" }, xt = /* @__PURE__ */ P({
1505
1038
  __name: "DockLayer",
1506
1039
  props: {
1507
1040
  id: {},
@@ -1509,37 +1042,43 @@ var At = { key: 1 }, jt = { key: 2 }, Mt = /* @__PURE__ */ R({
1509
1042
  icon: {}
1510
1043
  },
1511
1044
  setup(e) {
1512
- let t = e, n = Ot();
1513
- ae(() => {
1514
- n.register({
1045
+ let t = e, n = dt(), r = Y("hostEl");
1046
+ te(() => {
1047
+ r.value && n.register({
1515
1048
  id: t.id,
1516
1049
  label: t.label,
1517
- icon: t.icon
1050
+ icon: t.icon,
1051
+ el: r.value
1518
1052
  });
1519
- }), ie(() => {
1520
- n.unregister(t.id);
1521
- });
1522
- let r = M(() => n.currentLayerId.value === t.id), i = M(() => n.leavingLayerId.value === t.id), a = he("hostEl");
1523
- return q(r, async (e, t) => {
1524
- !e || t || typeof document < "u" && (() => {
1525
- let e = document.activeElement;
1526
- return !e || e === document.body ? !0 : !!e.closest("[inert]");
1527
- })() && (await re(), a.value?.focus());
1528
- }), (e, t) => (H(), F("div", {
1053
+ }), X(() => [
1054
+ t.id,
1055
+ t.label,
1056
+ t.icon
1057
+ ], (e, i) => {
1058
+ i && i[0] !== e[0] && n.unregister(i[0]), r.value && n.register({
1059
+ id: t.id,
1060
+ label: t.label,
1061
+ icon: t.icon,
1062
+ el: r.value
1063
+ });
1064
+ }), ee(() => n.unregister(t.id));
1065
+ let i = O(() => n.activeId.value === t.id), a = O(() => n.leavingId.value === t.id);
1066
+ return (e, t) => (H(), j("div", {
1529
1067
  ref_key: "hostEl",
1530
- ref: a,
1531
- class: B(["dock-layer-item-host", {
1532
- "is-active": r.value,
1533
- "is-leaving": i.value
1068
+ ref: r,
1069
+ class: R(["dock-face", {
1070
+ "is-active": i.value,
1071
+ "is-leaving": a.value
1534
1072
  }]),
1535
- inert: r.value ? void 0 : !0,
1536
- "aria-hidden": r.value ? void 0 : !0,
1537
- tabindex: r.value ? -1 : void 0
1538
- }, [G(e.$slots, "default")], 10, Nt));
1073
+ inert: i.value ? void 0 : !0,
1074
+ "aria-hidden": i.value ? void 0 : !0,
1075
+ tabindex: i.value ? -1 : void 0
1076
+ }, [M("div", bt, [K(e.$slots, "default")])], 10, yt));
1539
1077
  }
1540
- }), Ft = /* @__PURE__ */ R({
1541
- __name: "DockIconButton",
1078
+ }), St = /* @__PURE__ */ P({
1079
+ __name: "DockControl",
1542
1080
  props: {
1081
+ shape: { default: "icon" },
1543
1082
  compact: {
1544
1083
  type: Boolean,
1545
1084
  default: !1
@@ -1567,32 +1106,76 @@ var At = { key: 1 }, jt = { key: 2 }, Mt = /* @__PURE__ */ R({
1567
1106
  ] }
1568
1107
  },
1569
1108
  setup(t) {
1570
- let n = t, r = M(() => e("dock-icon-button glass-specular-track glass-capsule-hover", { "glass-capsule": n.active }, { "dock-icon-button--compact": n.compact }, n.class)), i = M(() => ({
1571
- ...n.active ? {
1109
+ let a = t, o = O(() => a.shape === "tab"), s = O(() => o.value ? e("dock-tab-button glass-specular-track", a.class) : e("dock-icon-button glass-specular-track glass-capsule-hover", { "glass-capsule": a.active }, { "dock-icon-button--compact": a.compact }, a.class)), c = O(() => ({
1110
+ ...a.active ? {
1572
1111
  "aria-pressed": "true",
1573
1112
  "data-active": ""
1574
1113
  } : {},
1575
- ...n.disabled ? {
1576
- ...n.as === "button" && !n.asChild ? { disabled: !0 } : {},
1114
+ ...a.disabled ? {
1115
+ ...a.as === "button" && !a.asChild ? { disabled: !0 } : {},
1577
1116
  "aria-disabled": "true"
1578
1117
  } : {}
1579
- })), a = M(() => !n.asChild && n.as === "button" ? { type: n.type } : {});
1580
- return (e, n) => ge((H(), N(K(ye), z({
1118
+ })), l = O(() => !a.asChild && a.as === "button" ? { type: a.type } : {}), u = n("press"), d = i({
1119
+ squish: !0,
1120
+ response: u.response,
1121
+ dampingFraction: u.dampingFraction,
1122
+ pressVar: "--dock-press-t",
1123
+ shrinkDepth: .04,
1124
+ maxStretch: 1.03
1125
+ }), f = O(() => o.value ? {} : { ...d.pressStyle.value });
1126
+ return (e, n) => Q((H(), k(J(le), I({
1581
1127
  as: t.as,
1582
1128
  "as-child": t.asChild
1583
1129
  }, {
1584
- ...a.value,
1585
- ...i.value
1586
- }, { class: r.value }), {
1587
- default: J(() => [G(e.$slots, "default")]),
1130
+ ...l.value,
1131
+ ...c.value
1132
+ }, {
1133
+ class: s.value,
1134
+ style: f.value,
1135
+ onPointerdown: n[0] ||= (e) => !o.value && J(d).press(),
1136
+ onPointerup: n[1] ||= (e) => !o.value && J(d).release(),
1137
+ onPointercancel: n[2] ||= (e) => !o.value && J(d).release(),
1138
+ onPointerleave: n[3] ||= (e) => !o.value && J(d).release()
1139
+ }), {
1140
+ default: Z(() => [K(e.$slots, "default")]),
1588
1141
  _: 3
1589
1142
  }, 16, [
1590
1143
  "as",
1591
1144
  "as-child",
1592
- "class"
1593
- ])), [[K(s)]]);
1145
+ "class",
1146
+ "style"
1147
+ ])), [[J(r)]]);
1148
+ }
1149
+ }), Ct = /* @__PURE__ */ P({
1150
+ inheritAttrs: !1,
1151
+ __name: "DockTrigger",
1152
+ props: {
1153
+ for: { default: "select" },
1154
+ class: { type: [
1155
+ Boolean,
1156
+ null,
1157
+ String,
1158
+ Object,
1159
+ Array
1160
+ ] }
1161
+ },
1162
+ setup(t) {
1163
+ let n = t, i = O(() => e("dock-trigger", n.for === "select" && "dock-select-trigger", n.for !== "select" && "dock-dropdown-trigger", n.class));
1164
+ return (e, t) => n.for === "select" ? Q((H(), k(J(de), I({ key: 0 }, e.$attrs, { class: i.value }), {
1165
+ default: Z(() => [K(e.$slots, "default"), N(J(ue), { "as-child": "" }, {
1166
+ default: Z(() => [K(e.$slots, "icon", {}, () => [N(J(fe), { class: "dock-select-trigger__chevron" })])]),
1167
+ _: 3
1168
+ })]),
1169
+ _: 3
1170
+ }, 16, ["class"])), [[J(r)]]) : n.for === "dropdown" ? Q((H(), k(J(se), I({ key: 1 }, e.$attrs, { class: i.value }), {
1171
+ default: Z(() => [K(e.$slots, "default")]),
1172
+ _: 3
1173
+ }, 16, ["class"])), [[J(r)]]) : Q((H(), k(J(ce), I({ key: 2 }, e.$attrs, { class: i.value }), {
1174
+ default: Z(() => [K(e.$slots, "default")]),
1175
+ _: 3
1176
+ }, 16, ["class"])), [[J(r)]]);
1594
1177
  }
1595
- }), It = /* @__PURE__ */ R({
1178
+ }), wt = /* @__PURE__ */ P({
1596
1179
  __name: "DockBackgroundToggle",
1597
1180
  props: {
1598
1181
  paused: {
@@ -1603,23 +1186,23 @@ var At = { key: 1 }, jt = { key: 2 }, Mt = /* @__PURE__ */ R({
1603
1186
  playLabel: { default: "Resume background animation" }
1604
1187
  },
1605
1188
  emits: ["update:paused"],
1606
- setup(e, { emit: n }) {
1607
- let i = e, a = n, o = M(() => i.paused ? i.playLabel : i.pauseLabel);
1608
- function s() {
1609
- a("update:paused", !i.paused);
1189
+ setup(e, { emit: t }) {
1190
+ let n = e, r = t, i = O(() => n.paused ? n.playLabel : n.pauseLabel);
1191
+ function a() {
1192
+ r("update:paused", !n.paused);
1610
1193
  }
1611
- return (n, i) => (H(), N(Ft, {
1194
+ return (t, n) => (H(), k(St, {
1612
1195
  type: "button",
1613
1196
  "aria-pressed": e.paused,
1614
- "aria-label": o.value,
1615
- title: o.value,
1616
- onClick: s
1197
+ "aria-label": i.value,
1198
+ title: i.value,
1199
+ onClick: a
1617
1200
  }, {
1618
- default: J(() => [e.paused ? (H(), N(K(t), {
1201
+ default: Z(() => [e.paused ? (H(), k(J(he), {
1619
1202
  key: 0,
1620
1203
  size: 18,
1621
1204
  "aria-hidden": "true"
1622
- })) : (H(), N(K(r), {
1205
+ })) : (H(), k(J(me), {
1623
1206
  key: 1,
1624
1207
  size: 18,
1625
1208
  "aria-hidden": "true"
@@ -1631,254 +1214,194 @@ var At = { key: 1 }, jt = { key: 2 }, Mt = /* @__PURE__ */ R({
1631
1214
  "title"
1632
1215
  ]));
1633
1216
  }
1634
- }), Lt = /* @__PURE__ */ R({
1635
- __name: "DockTabButton",
1636
- props: {
1637
- as: { default: "button" },
1638
- asChild: {
1639
- type: Boolean,
1640
- default: !1
1641
- },
1642
- class: { type: [
1643
- Boolean,
1644
- null,
1645
- String,
1646
- Object,
1647
- Array
1648
- ] }
1649
- },
1650
- setup(t) {
1651
- let n = t, r = M(() => e("dock-tab-button", n.class));
1652
- return (e, n) => ge((H(), N(K(ye), {
1653
- as: t.as,
1654
- "as-child": t.asChild,
1655
- class: B(r.value)
1656
- }, {
1657
- default: J(() => [G(e.$slots, "default")]),
1658
- _: 3
1659
- }, 8, [
1660
- "as",
1661
- "as-child",
1662
- "class"
1663
- ])), [[K(s)]]);
1664
- }
1665
- }), Rt = /* @__PURE__ */ R({
1666
- __name: "DockSelectTrigger",
1667
- props: {
1668
- disabled: { type: Boolean },
1669
- reference: {},
1670
- asChild: { type: Boolean },
1671
- as: {},
1672
- class: { type: [
1673
- Boolean,
1674
- null,
1675
- String,
1676
- Object,
1677
- Array
1678
- ] }
1679
- },
1680
- setup(t) {
1681
- let n = t, r = Te(M(() => {
1682
- let { class: e, ...t } = n;
1683
- return t;
1684
- }));
1685
- return (t, a) => ge((H(), N(K(xe), z(K(r), { class: K(e)("dock-trigger dock-select-trigger", n.class) }), {
1686
- default: J(() => [G(t.$slots, "default"), L(K(be), { "as-child": "" }, {
1687
- default: J(() => [G(t.$slots, "icon", {}, () => [L(K(i), { class: "dock-select-trigger__chevron" })])]),
1688
- _: 3
1689
- })]),
1690
- _: 3
1691
- }, 16, ["class"])), [[K(s)]]);
1692
- }
1693
- }), zt = /* @__PURE__ */ R({
1694
- __name: "DockDropdownTrigger",
1695
- props: {
1696
- disabled: { type: Boolean },
1697
- asChild: { type: Boolean },
1698
- as: {},
1699
- type: {},
1700
- class: { type: [
1701
- Boolean,
1702
- null,
1703
- String,
1704
- Object,
1705
- Array
1706
- ] }
1707
- },
1708
- setup(t) {
1709
- let n = t, r = Te(M(() => {
1710
- let { class: e, ...t } = n;
1711
- return t;
1712
- }));
1713
- return (t, i) => ge((H(), N(K(_e), z(K(r), { class: K(e)("dock-trigger dock-dropdown-trigger", n.class) }), {
1714
- default: J(() => [G(t.$slots, "default")]),
1715
- _: 3
1716
- }, 16, ["class"])), [[K(s)]]);
1717
- }
1718
- }), Bt = /* @__PURE__ */ R({
1719
- __name: "DockPopoverTrigger",
1720
- props: {
1721
- asChild: { type: Boolean },
1722
- as: {},
1723
- type: {},
1724
- class: { type: [
1725
- Boolean,
1726
- null,
1727
- String,
1728
- Object,
1729
- Array
1730
- ] }
1731
- },
1732
- setup(t) {
1733
- let n = t, r = Te(M(() => {
1734
- let { class: e, ...t } = n;
1735
- return t;
1736
- }));
1737
- return (t, i) => ge((H(), N(K(ve), z(K(r), { class: K(e)("dock-trigger dock-dropdown-trigger", n.class) }), {
1738
- default: J(() => [G(t.$slots, "default")]),
1739
- _: 3
1740
- }, 16, ["class"])), [[K(s)]]);
1741
- }
1742
- }), Vt = [
1217
+ }), Tt = [
1743
1218
  "data-orientation",
1744
1219
  "data-rail-anchor",
1745
1220
  "aria-orientation"
1746
- ], Ht = /* @__PURE__ */ R({
1221
+ ], Et = /* @__PURE__ */ P({
1747
1222
  __name: "DockSeparator",
1748
1223
  props: { anchor: {
1749
1224
  type: Boolean,
1750
1225
  default: !1
1751
1226
  } },
1752
1227
  setup(e) {
1753
- let t = v(), n = M(() => t?.orientation.value ?? "horizontal"), r = M(() => n.value), i = M(() => n.value === "vertical" ? "horizontal" : "vertical");
1754
- return (t, n) => (H(), F("div", {
1755
- class: B(["dock-separator", { "dock-separator--anchor": e.anchor }]),
1228
+ let t = p(), n = O(() => t?.orientation.value ?? "horizontal"), r = O(() => n.value), i = O(() => n.value === "vertical" ? "horizontal" : "vertical");
1229
+ return (t, n) => (H(), j("div", {
1230
+ class: R(["dock-separator", { "dock-separator--anchor": e.anchor }]),
1756
1231
  role: "separator",
1757
1232
  "data-orientation": r.value,
1758
1233
  "data-rail-anchor": e.anchor || void 0,
1759
1234
  "aria-orientation": i.value
1760
- }, null, 10, Vt));
1235
+ }, null, 10, Tt));
1761
1236
  }
1762
1237
  });
1763
1238
  //#endregion
1764
- //#region src/components/custom/dock/composables/railProjection.ts
1765
- function Ut(e, t) {
1766
- return t <= 0 ? 0 : ((e + t / 2) % t + t) % t - t / 2;
1767
- }
1768
- function Wt(e, t, n) {
1769
- let r = 0, i = t, a = Math.floor(e);
1770
- for (let e = 0; e < a; e++) r += i, i /= n;
1771
- return r += (e - a) * i, r;
1772
- }
1773
- var Gt = {
1774
- slotSpacing: 44,
1775
- tierRatio: 1.618,
1776
- fadeStart: .5,
1777
- fadeRange: 2.5,
1778
- fadeMinAlpha: 0,
1779
- scaleStep: .06,
1780
- scaleClampSlots: 4
1781
- };
1782
- function Kt(e, t, n, r = {}) {
1783
- let i = Math.max(0, Math.floor(e));
1784
- if (i === 0) return [];
1785
- let a = {
1786
- ...Gt,
1787
- ...r
1788
- }, o = Math.ceil(a.fadeRange + 1), s = /* @__PURE__ */ new Set(), c = [];
1789
- for (let e = -o; e <= o; e++) {
1790
- let r = ((Math.round(t) + e) % i + i) % i;
1791
- if (s.has(r)) continue;
1792
- s.add(r);
1793
- let o = Ut(r - t, i), l = Math.abs(o), u = Wt(l, a.slotSpacing, a.tierRatio), d = Math.sign(o) * u * n, f = 1 - (l - a.fadeStart) / Math.max(1e-6, a.fadeRange), p = Math.min(1, Math.max(a.fadeMinAlpha, f)), m = l === 0 ? 1 : p * n, h = 1 - Math.min(l, a.scaleClampSlots) * a.scaleStep;
1794
- c.push({
1795
- index: r,
1796
- offset: o,
1797
- translate: d,
1798
- opacity: m,
1799
- scale: h,
1800
- active: l === 0
1801
- });
1239
+ //#region src/components/dock/composables/useDockPopover.ts
1240
+ function Dt(e) {
1241
+ let t = W(!1), n = e.gap ?? 8, r = e.viewportMargin ?? 8, i = e.hoverIntentMs ?? 60, a = e.hoverGraceMs ?? 120, o = null, s = null, c = !1;
1242
+ function l() {
1243
+ o != null && (clearTimeout(o), o = null);
1244
+ }
1245
+ function u() {
1246
+ s != null && (clearTimeout(s), s = null);
1247
+ }
1248
+ function d() {
1249
+ let t = e.anchor(), i = e.popover.value;
1250
+ if (!t || !i) return;
1251
+ let a = t.getBoundingClientRect(), o = i.offsetWidth, s = i.offsetHeight, c = re(e.side) ?? "top", l = re(e.align) ?? "center", u = (e, t, n) => l === "start" ? e : l === "end" ? e + t - n : e + t / 2 - n / 2, d = 0, f = 0;
1252
+ switch (c) {
1253
+ case "bottom":
1254
+ d = a.bottom + n, f = u(a.left, a.width, o);
1255
+ break;
1256
+ case "left":
1257
+ f = a.left - o - n, d = u(a.top, a.height, s);
1258
+ break;
1259
+ case "right":
1260
+ f = a.right + n, d = u(a.top, a.height, s);
1261
+ break;
1262
+ default:
1263
+ d = a.top - s - n, f = u(a.left, a.width, o);
1264
+ break;
1265
+ }
1266
+ let p = Math.max(r, window.innerWidth - o - r), m = Math.max(r, window.innerHeight - s - r);
1267
+ f = Math.min(Math.max(f, r), p), d = Math.min(Math.max(d, r), m), i.style.position = "fixed", i.style.margin = "0", i.style.inset = "auto", i.style.top = `${Math.round(d)}px`, i.style.left = `${Math.round(f)}px`;
1268
+ }
1269
+ function f() {
1270
+ d();
1271
+ }
1272
+ function p(t) {
1273
+ let n = t.target, r = e.popover.value, i = e.anchor();
1274
+ n && (r && r.contains(n) || i && i.contains(n)) || _();
1275
+ }
1276
+ function m() {
1277
+ c || (c = !0, window.addEventListener("resize", f), window.addEventListener("scroll", f, !0), document.addEventListener("pointerdown", p, !0));
1278
+ }
1279
+ function h() {
1280
+ c && (c = !1, window.removeEventListener("resize", f), window.removeEventListener("scroll", f, !0), document.removeEventListener("pointerdown", p, !0));
1281
+ }
1282
+ function g() {
1283
+ l(), u();
1284
+ let n = e.popover.value;
1285
+ if (!(!n || t.value)) {
1286
+ try {
1287
+ n.showPopover();
1288
+ } catch {}
1289
+ t.value = !0, d(), m();
1290
+ }
1291
+ }
1292
+ function _() {
1293
+ l(), u();
1294
+ let n = e.popover.value;
1295
+ if (!n || !t.value) return;
1296
+ let r = n.contains(document.activeElement);
1297
+ try {
1298
+ n.hidePopover();
1299
+ } catch {}
1300
+ t.value = !1, h(), r && e.anchor()?.focus();
1301
+ }
1302
+ function v() {
1303
+ t.value ? _() : g();
1304
+ }
1305
+ function y() {
1306
+ u(), !t.value && (l(), o = setTimeout(() => {
1307
+ o = null, g();
1308
+ }, i));
1309
+ }
1310
+ function b() {
1311
+ l(), T();
1312
+ }
1313
+ function x() {
1314
+ l(), u();
1315
+ }
1316
+ function S() {
1317
+ T();
1318
+ }
1319
+ function C() {
1320
+ l(), u(), g();
1321
+ }
1322
+ function w(t) {
1323
+ let n = t.relatedTarget, r = e.popover.value, i = e.anchor();
1324
+ n && (r && r.contains(n) || i && i.contains(n)) || _();
1802
1325
  }
1803
- return c.sort((e, t) => e.index - t.index), c;
1326
+ function T() {
1327
+ u(), s = setTimeout(() => {
1328
+ s = null, _();
1329
+ }, a);
1330
+ }
1331
+ return B(() => {
1332
+ l(), u(), h();
1333
+ let n = e.popover.value;
1334
+ if (n && t.value) try {
1335
+ n.hidePopover();
1336
+ } catch {}
1337
+ }), {
1338
+ open: t,
1339
+ show: g,
1340
+ hide: _,
1341
+ toggle: v,
1342
+ place: d,
1343
+ onAnchorEnter: y,
1344
+ onAnchorLeave: b,
1345
+ onPopoverEnter: x,
1346
+ onPopoverLeave: S,
1347
+ onFocusIn: C,
1348
+ onFocusOut: w
1349
+ };
1804
1350
  }
1805
1351
  //#endregion
1806
- //#region src/components/custom/dock/DockStack.vue?vue&type=script&setup=true&lang.ts
1807
- var qt = ["data-orientation", "data-mode"], Jt = /* @__PURE__ */ R({
1352
+ //#region src/components/dock/DockStack.vue?vue&type=script&setup=true&lang.ts
1353
+ var Ot = ["data-orientation", "data-mode"], kt = ["data-scrolls", "data-wrap"], At = /* @__PURE__ */ P({
1808
1354
  __name: "DockStack",
1809
- props: /* @__PURE__ */ ne({
1355
+ props: /* @__PURE__ */ F({
1810
1356
  items: {},
1811
1357
  mode: { default: "stack" },
1812
1358
  core: {},
1813
1359
  coreLabel: { default: "Open stack" },
1814
1360
  visibleCount: { default: 3 },
1815
- position: { default: "end" }
1816
- }, {
1817
- selected: {},
1818
- selectedModifiers: {},
1819
- expanded: {
1361
+ wrap: {
1820
1362
  type: Boolean,
1821
1363
  default: !1
1822
1364
  },
1823
- expandedModifiers: {}
1365
+ position: { default: "end" }
1366
+ }, {
1367
+ selected: {},
1368
+ selectedModifiers: {}
1824
1369
  }),
1825
- emits: /* @__PURE__ */ ne(["select"], ["update:selected", "update:expanded"]),
1370
+ emits: /* @__PURE__ */ F(["select"], ["update:selected"]),
1826
1371
  setup(e, { emit: t }) {
1827
- let r = e, i = t, a = pe(e, "selected"), o = pe(e, "expanded"), s = v(), c = M(() => s?.orientation.value ?? "vertical"), l = M(() => r.core ?? n), u = M(() => [...r.items]), d = M(() => u.value.length > r.visibleCount), f = M(() => Math.min(u.value.length, r.visibleCount)), p = M(() => r.mode === "facets"), m = M(() => Math.max(0, u.value.findIndex((e) => e.id === a.value))), h = M(() => p.value ? Kt(u.value.length, m.value, 1) : []);
1372
+ let n = e, r = t, i = ae(e, "selected"), a = p(), o = O(() => a?.orientation.value ?? "vertical"), s = O(() => n.core ?? pe), c = O(() => [...n.items]), l = O(() => n.mode === "facets"), u = O(() => c.value.length > n.visibleCount), d = `dock-stack-fan-${ie()}`, f = Y("stackRoot"), m = Y("fanEl"), h = Dt({
1373
+ anchor: () => f.value?.querySelector(".dock-stack-core") ?? null,
1374
+ popover: m,
1375
+ side: () => o.value === "vertical" ? "right" : "top",
1376
+ align: O(() => n.position === "start" ? "start" : "end")
1377
+ });
1828
1378
  function g(e) {
1829
- let t = h.value.find((t) => t.index === e);
1830
- return t ? {
1831
- scale: t.scale,
1832
- opacity: t.opacity
1833
- } : {
1834
- scale: 1,
1835
- opacity: 1
1836
- };
1837
- }
1838
- let _ = null;
1839
- function y() {
1840
- _ != null && (clearTimeout(_), _ = null);
1841
- }
1842
- function b() {
1843
- y(), _ = setTimeout(() => {
1844
- o.value = !0, _ = null;
1845
- }, 60);
1379
+ i.value = e.id, e.onSelect?.(), r("select", e.id), h.hide();
1846
1380
  }
1847
- function x() {
1848
- y(), o.value = !1;
1849
- }
1850
- function S() {
1851
- y(), o.value = !0;
1852
- }
1853
- function C(e) {
1854
- let t = e.relatedTarget, n = e.currentTarget;
1855
- n && t && n.contains(t) || (o.value = !1);
1856
- }
1857
- ie(y);
1858
- function T(e) {
1859
- a.value = e.id, e.onSelect?.(), i("select", e.id);
1860
- }
1861
- return (t, n) => (H(), F("div", {
1862
- class: B(["dock-stack", [
1863
- c.value,
1864
- `at-${e.position}`,
1381
+ return (t, n) => (H(), j("div", {
1382
+ ref_key: "stackRoot",
1383
+ ref: f,
1384
+ class: R(["dock-stack", [
1385
+ o.value,
1865
1386
  `mode-${e.mode}`,
1866
- { "is-expanded": o.value }
1387
+ `at-${e.position}`
1867
1388
  ]]),
1868
- "data-orientation": c.value,
1389
+ "data-orientation": o.value,
1869
1390
  "data-mode": e.mode,
1870
- onPointerenter: b,
1871
- onPointerleave: x,
1872
- onFocusin: S,
1873
- onFocusout: C
1874
- }, [L(Ft, {
1391
+ onFocusin: n[3] ||= (...e) => J(h).onFocusIn && J(h).onFocusIn(...e),
1392
+ onFocusout: n[4] ||= (e) => J(h).onFocusOut(e)
1393
+ }, [N(St, {
1875
1394
  type: "button",
1876
1395
  class: "dock-stack-core",
1877
1396
  "aria-label": e.coreLabel,
1878
- "aria-expanded": o.value,
1879
- title: e.coreLabel
1397
+ "aria-expanded": J(h).open.value,
1398
+ "aria-controls": d,
1399
+ title: e.coreLabel,
1400
+ onPointerenter: J(h).onAnchorEnter,
1401
+ onPointerleave: J(h).onAnchorLeave,
1402
+ onClick: J(h).toggle
1880
1403
  }, {
1881
- default: J(() => [(H(), N(le(l.value), {
1404
+ default: Z(() => [(H(), k(q(s.value), {
1882
1405
  class: "size-4",
1883
1406
  "aria-hidden": "true"
1884
1407
  }))]),
@@ -1886,37 +1409,51 @@ var qt = ["data-orientation", "data-mode"], Jt = /* @__PURE__ */ R({
1886
1409
  }, 8, [
1887
1410
  "aria-label",
1888
1411
  "aria-expanded",
1889
- "title"
1890
- ]), L(w, {
1891
- axis: c.value === "vertical" ? "x" : "y",
1892
- class: "dock-stack-fan",
1893
- style: V({ "--dock-stack-visible": f.value }),
1894
- "data-scrolls": d.value || void 0
1412
+ "title",
1413
+ "onPointerenter",
1414
+ "onPointerleave",
1415
+ "onClick"
1416
+ ]), M("div", {
1417
+ id: d,
1418
+ ref_key: "fanEl",
1419
+ ref: m,
1420
+ popover: "manual",
1421
+ class: R(["dock-stack-fan", [
1422
+ o.value,
1423
+ `mode-${e.mode}`,
1424
+ { "mode-facets": l.value }
1425
+ ]]),
1426
+ "data-scrolls": u.value && !e.wrap || void 0,
1427
+ "data-wrap": e.wrap || void 0,
1428
+ onPointerenter: n[0] ||= (...e) => J(h).onPopoverEnter && J(h).onPopoverEnter(...e),
1429
+ onPointerleave: n[1] ||= (...e) => J(h).onPopoverLeave && J(h).onPopoverLeave(...e),
1430
+ onKeydown: n[2] ||= oe((...e) => J(h).hide && J(h).hide(...e), ["escape"])
1431
+ }, [N(y, {
1432
+ axis: o.value === "vertical" ? "x" : "y",
1433
+ class: "dock-stack-fan-scroll",
1434
+ "data-scrolls": u.value && !e.wrap || void 0,
1435
+ "data-wrap": e.wrap || void 0
1895
1436
  }, {
1896
- default: J(() => [(H(!0), F(j, null, ce(u.value, (e, t) => (H(), N(Ft, {
1437
+ default: Z(() => [(H(!0), j(D, null, G(c.value, (e, t) => (H(), k(St, {
1897
1438
  key: e.id,
1898
1439
  type: "button",
1899
- class: B(["dock-stack-member", {
1900
- "is-active": a.value === e.id,
1901
- "dock-facet-chip": p.value
1440
+ class: R(["dock-stack-member", {
1441
+ "is-active": i.value === e.id,
1442
+ "dock-facet-chip": l.value
1902
1443
  }]),
1903
- style: V({
1444
+ style: z({
1904
1445
  "--i": t,
1905
- ...p.value && e.accent ? {
1446
+ ...l.value && e.accent ? {
1906
1447
  "--glass-accent": e.accent,
1907
1448
  "--glass-accent-strength": "var(--dock-facet-accent-strength)"
1908
- } : {},
1909
- ...p.value ? {
1910
- "--dock-facet-tier-scale": `${g(t).scale}`,
1911
- "--dock-facet-tier-opacity": `${g(t).opacity}`
1912
1449
  } : {}
1913
1450
  }),
1914
1451
  "aria-label": e.label,
1915
- "aria-pressed": a.value === e.id,
1452
+ "aria-pressed": i.value === e.id,
1916
1453
  title: e.label,
1917
- onClick: (t) => T(e)
1454
+ onClick: (t) => g(e)
1918
1455
  }, {
1919
- default: J(() => [(H(), N(le(e.icon ?? l.value), {
1456
+ default: Z(() => [(H(), k(q(e.icon ?? s.value), {
1920
1457
  class: "size-4",
1921
1458
  "aria-hidden": "true"
1922
1459
  }))]),
@@ -1932,15 +1469,15 @@ var qt = ["data-orientation", "data-mode"], Jt = /* @__PURE__ */ R({
1932
1469
  _: 1
1933
1470
  }, 8, [
1934
1471
  "axis",
1935
- "style",
1936
- "data-scrolls"
1937
- ])], 42, qt));
1472
+ "data-scrolls",
1473
+ "data-wrap"
1474
+ ])], 42, kt)], 42, Ot));
1938
1475
  }
1939
- }), Yt = ["aria-label"], Xt = [
1476
+ }), jt = ["aria-label"], Mt = [
1940
1477
  "data-kind",
1941
1478
  "data-section-id",
1942
1479
  "aria-label"
1943
- ], Zt = /* @__PURE__ */ R({
1480
+ ], Nt = /* @__PURE__ */ P({
1944
1481
  __name: "DockSection",
1945
1482
  props: {
1946
1483
  sections: {},
@@ -1948,7 +1485,7 @@ var qt = ["data-orientation", "data-mode"], Jt = /* @__PURE__ */ R({
1948
1485
  ariaLabel: { default: "Dock sections" }
1949
1486
  },
1950
1487
  setup(e) {
1951
- let t = e, n = M(() => {
1488
+ let t = e, n = O(() => {
1952
1489
  if (t.anchorId) return t.anchorId;
1953
1490
  let e = t.sections.find((e) => e.kind === "nav");
1954
1491
  return e ? e.id : t.sections.find((e) => e.kind !== "rail-core")?.id;
@@ -1962,33 +1499,33 @@ var qt = ["data-orientation", "data-mode"], Jt = /* @__PURE__ */ R({
1962
1499
  function a(e) {
1963
1500
  return `dock-section-zone--${e === "rail-core" ? "core" : e}`;
1964
1501
  }
1965
- return (t, n) => (H(), F("div", {
1502
+ return (t, n) => (H(), j("div", {
1966
1503
  class: "dock-section",
1967
1504
  role: "group",
1968
1505
  "aria-label": e.ariaLabel
1969
- }, [(H(!0), F(j, null, ce(e.sections, (e, n) => (H(), F(j, { key: e.id }, [r(n) ? (H(), N(Ht, {
1506
+ }, [(H(!0), j(D, null, G(e.sections, (e, n) => (H(), j(D, { key: e.id }, [r(n) ? (H(), k(Et, {
1970
1507
  key: 0,
1971
1508
  anchor: i(e)
1972
- }, null, 8, ["anchor"])) : P("", !0), I("div", {
1973
- class: B(["dock-section-zone", a(e.kind)]),
1509
+ }, null, 8, ["anchor"])) : A("", !0), M("div", {
1510
+ class: R(["dock-section-zone", a(e.kind)]),
1974
1511
  "data-kind": e.kind,
1975
1512
  "data-section-id": e.id,
1976
1513
  "aria-label": e.label || void 0
1977
- }, [G(t.$slots, e.id, {
1514
+ }, [K(t.$slots, e.id, {
1978
1515
  section: e,
1979
1516
  kind: e.kind
1980
- })], 10, Xt)], 64))), 128))], 8, Yt));
1517
+ })], 10, Mt)], 64))), 128))], 8, jt));
1981
1518
  }
1982
1519
  });
1983
1520
  //#endregion
1984
- //#region src/components/custom/dock/composables/useDockSearch.ts
1985
- function Qt(e) {
1521
+ //#region src/components/dock/composables/useDockSearch.ts
1522
+ function Pt(e) {
1986
1523
  let { dockState: t } = e, n = e.debounceMs ?? 120, r = e.maxResults ?? 30, i = W([]), a = null, o = e.items ? e.items : () => i.value;
1987
1524
  function s(t) {
1988
1525
  let n = t.item.id;
1989
1526
  e.ensureTargetWindow?.(n), e.scrollTo?.(n), e.onResultSelect?.(t);
1990
1527
  }
1991
- let c = te({
1528
+ let c = E({
1992
1529
  items: o,
1993
1530
  debounceMs: n,
1994
1531
  maxResults: r,
@@ -1996,7 +1533,7 @@ function Qt(e) {
1996
1533
  });
1997
1534
  if (e.onSearch) {
1998
1535
  let t = e.onSearch;
1999
- q(() => c.query.value, (e) => {
1536
+ X(() => c.query.value, (e) => {
2000
1537
  if (a?.abort(), !e) {
2001
1538
  i.value = [];
2002
1539
  return;
@@ -2009,7 +1546,7 @@ function Qt(e) {
2009
1546
  });
2010
1547
  });
2011
1548
  }
2012
- let l = M(() => {
1549
+ let l = O(() => {
2013
1550
  let e = c.query.value;
2014
1551
  if (!e) return "";
2015
1552
  let t = c.results.value[0];
@@ -2029,10 +1566,10 @@ function Qt(e) {
2029
1566
  d.value && (d.value = !1, c.close(), t.release());
2030
1567
  }
2031
1568
  let m = null;
2032
- return e.collapseOnScroll && e.scrollContainer && (m = A(e.scrollContainer, {
1569
+ return e.collapseOnScroll && e.scrollContainer && (m = w(e.scrollContainer, {
2033
1570
  collapseOnScroll: !0,
2034
1571
  chromeRef: e.chromeRef
2035
- })), oe(() => {
1572
+ })), B(() => {
2036
1573
  a?.abort(), a = null;
2037
1574
  }), {
2038
1575
  fuzzy: c,
@@ -2045,104 +1582,14 @@ function Qt(e) {
2045
1582
  };
2046
1583
  }
2047
1584
  //#endregion
2048
- //#region src/components/custom/dock/composables/useDockOrientationMorph.ts
2049
- function $t(e) {
2050
- let { rootEl: t } = e, n = W("vertical"), r = W(0), i = W(!1), a = () => {
2051
- let e = t.value;
2052
- if (!e) return 1.14;
2053
- let n = getComputedStyle(e).getPropertyValue("--dock-morph-max-stretch").trim(), r = n ? Number.parseFloat(n) : NaN;
2054
- return c(e, Number.isFinite(r) && r >= 1 ? r : 1.14);
2055
- }, s = o({
2056
- from: e.verticalSize,
2057
- to: 0,
2058
- axis: "height",
2059
- maxStretch: a
2060
- }), u = o({
2061
- from: 0,
2062
- to: e.horizontalSize,
2063
- axis: "width",
2064
- maxStretch: a
2065
- }), d = null;
2066
- function f(e) {
2067
- r.value = e, s.drive(e), u.drive(e);
2068
- let n = t.value;
2069
- n && (n.style.setProperty("--dock-morph-t", `${e}`), n.style.setProperty("--stretch", `${Math.max(s.stretch.value, u.stretch.value)}`), l(n, Math.max(s.flexVel.value, u.flexVel.value)));
2070
- }
2071
- function p() {
2072
- d &&= (d.dispose(), null);
2073
- }
2074
- function m() {
2075
- return typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
2076
- }
2077
- function h(e) {
2078
- if (m()) {
2079
- v(e);
2080
- return;
2081
- }
2082
- let n = t.value, a = d !== null && !d.settled ? d.velocity : 0;
2083
- if (!d || d.settled) {
2084
- p(), d = new X({
2085
- response: S.response,
2086
- dampingFraction: S.dampingFraction,
2087
- initial: r.value,
2088
- respectReducedMotion: !0
2089
- });
2090
- let o = d;
2091
- o.reset(r.value, a), o.target = e, i.value = !0, n && n.setAttribute("data-morphing", ""), o.play((e) => {
2092
- if (f(e), o.settled) {
2093
- i.value = !1;
2094
- let e = t.value;
2095
- e && e.removeAttribute("data-morphing");
2096
- }
2097
- });
2098
- } else d.reset(r.value, a), d.target = e;
2099
- }
2100
- function g(e) {
2101
- e === n.value && !i.value || (n.value = e, h(+(e === "horizontal")));
2102
- }
2103
- function _() {
2104
- g(n.value === "vertical" ? "horizontal" : "vertical");
2105
- }
2106
- function v(e) {
2107
- let r = e < 0 ? 0 : e > 1 ? 1 : e;
2108
- p(), i.value = !1, n.value = r >= .5 ? "horizontal" : "vertical", f(r), f(r);
2109
- let a = t.value;
2110
- a && a.removeAttribute("data-morphing");
2111
- }
2112
- function y(e) {
2113
- let t = Math.min(Math.max(e / .5, 0), 1);
2114
- return 1 - t * t * (3 - 2 * t);
2115
- }
2116
- function b(e) {
2117
- let t = Math.min(Math.max((e - .5) / .5, 0), 1);
2118
- return t * t * (3 - 2 * t);
2119
- }
2120
- let x = M(() => s.sizeStyle.value), C = M(() => u.sizeStyle.value), w = M(() => ({ opacity: String(y(r.value)) })), T = M(() => ({ opacity: String(b(r.value)) })), E = M(() => Math.max(s.stretch.value, u.stretch.value));
2121
- return q(t, (e) => {
2122
- e && e.style.setProperty("--dock-morph-t", `${r.value}`);
2123
- }, { immediate: !0 }), oe(p), {
2124
- orientation: n,
2125
- t: r,
2126
- morphing: i,
2127
- verticalStyle: x,
2128
- horizontalStyle: C,
2129
- verticalOpacity: w,
2130
- horizontalOpacity: T,
2131
- stretch: E,
2132
- morphTo: g,
2133
- toggle: _,
2134
- pin: v
2135
- };
2136
- }
2137
- //#endregion
2138
- //#region src/components/custom/goo-filter/GooFilter.vue?vue&type=script&setup=true&lang.ts
2139
- var en = {
1585
+ //#region src/components/goo-filter/GooFilter.vue?vue&type=script&setup=true&lang.ts
1586
+ var Ft = {
2140
1587
  class: "goo-filter-host",
2141
1588
  "aria-hidden": "true",
2142
1589
  focusable: "false",
2143
1590
  width: "1",
2144
1591
  height: "1"
2145
- }, tn = ["id"], nn = ["stdDeviation"], rn = ["values"], an = /* @__PURE__ */ u(/* @__PURE__ */ R({
1592
+ }, It = ["id"], Lt = ["stdDeviation"], Rt = ["values"], zt = /* @__PURE__ */ o(/* @__PURE__ */ P({
2146
1593
  __name: "GooFilter",
2147
1594
  props: { extra: { default: () => [] } },
2148
1595
  setup(e) {
@@ -2160,10 +1607,10 @@ var en = {
2160
1607
  offset: -9
2161
1608
  },
2162
1609
  {
2163
- id: "pager-goo",
2164
- blur: 8,
1610
+ id: "pager-worm-goo",
1611
+ blur: 4,
2165
1612
  slope: 18,
2166
- offset: -7
1613
+ offset: -6
2167
1614
  },
2168
1615
  {
2169
1616
  id: "dock-morph-goo",
@@ -2178,7 +1625,7 @@ var en = {
2178
1625
  offset: -7
2179
1626
  }
2180
1627
  ], n = e, r = [...t, ...n.extra];
2181
- return (e, t) => (H(), F("svg", en, [I("defs", null, [(H(), F(j, null, ce(r, (e) => I("filter", {
1628
+ return (e, t) => (H(), j("svg", Ft, [M("defs", null, [(H(), j(D, null, G(r, (e) => M("filter", {
2182
1629
  key: e.id,
2183
1630
  id: e.id,
2184
1631
  "color-interpolation-filters": "sRGB",
@@ -2187,24 +1634,24 @@ var en = {
2187
1634
  width: "200%",
2188
1635
  height: "200%"
2189
1636
  }, [
2190
- I("feGaussianBlur", {
1637
+ M("feGaussianBlur", {
2191
1638
  in: "SourceGraphic",
2192
1639
  stdDeviation: e.blur,
2193
1640
  result: "blur"
2194
- }, null, 8, nn),
2195
- I("feColorMatrix", {
1641
+ }, null, 8, Lt),
1642
+ M("feColorMatrix", {
2196
1643
  in: "blur",
2197
1644
  mode: "matrix",
2198
1645
  values: `1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 ${e.slope} ${e.offset}`,
2199
1646
  result: "goo"
2200
- }, null, 8, rn),
2201
- t[0] ||= I("feComposite", {
1647
+ }, null, 8, Rt),
1648
+ t[0] ||= M("feComposite", {
2202
1649
  in: "SourceGraphic",
2203
1650
  in2: "goo",
2204
1651
  operator: "atop"
2205
1652
  }, null, -1)
2206
- ], 8, tn)), 64))])]));
1653
+ ], 8, It)), 64))])]));
2207
1654
  }
2208
- }), [["__scopeId", "data-v-25de26c8"]]);
1655
+ }), [["__scopeId", "data-v-f8d28853"]]);
2209
1656
  //#endregion
2210
- export { C as DOCK_CONTEXT_KEY, Ae as DOCK_SPLIT_SIGNATURES, It as DockBackgroundToggle, zt as DockDropdownTrigger, Ft as DockIconButton, Pt as DockLayer, Mt as DockLayerGroup, Bt as DockPopoverTrigger, Zt as DockSection, Rt as DockSelectTrigger, Ht as DockSeparator, Jt as DockStack, Lt as DockTabButton, bt as GlassDock, an as GooFilter, y as provideDockContext, x as useDockContext, k as useDockCtaReceive, je as useDockFission, $t as useDockOrientationMorph, Qt as useDockSearch, kt as useLayerTransition, v as useOptionalDockContext };
1657
+ export { v as DOCK_CONTEXT_KEY, wt as DockBackgroundToggle, St as DockControl, ft as DockCrossfade, xt as DockLayer, vt as DockLayerGroup, Nt as DockSection, Et as DockSeparator, At as DockStack, Ct as DockTrigger, st as GlassDock, zt as GooFilter, m as provideDockContext, g as useDockContext, x as useDockCtaReceive, Pt as useDockSearch, p as useOptionalDockContext };