@mkbabb/glass-ui 4.1.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 (1375) 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 +4 -4
  34. package/dist/aurora.d.ts +1 -1
  35. package/dist/aurora.js +1427 -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 +177 -131
  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/easing.d.ts +7 -0
  106. package/dist/components/blob/composables/satelliteKinematics.d.ts +20 -0
  107. package/dist/components/blob/composables/uploadBlobUniforms.d.ts +51 -0
  108. package/dist/components/blob/composables/useBlobPointer.d.ts +88 -0
  109. package/dist/components/blob/composables/useBlobSatellites.d.ts +16 -0
  110. package/dist/components/blob/composables/useMetaballRenderer.d.ts +100 -0
  111. package/dist/components/blob/composables/wgpuSetup.d.ts +23 -0
  112. package/dist/components/blob/config.d.ts +3 -0
  113. package/dist/components/blob/constants.d.ts +82 -0
  114. package/dist/components/blob/index.d.ts +8 -0
  115. package/dist/components/blob/presets.d.ts +14 -0
  116. package/dist/components/blob/shaders/metaball-uniforms.glsl.d.ts +1 -0
  117. package/dist/components/blob/shaders/metaball.wgsl.d.ts +1 -0
  118. package/dist/components/blob/types.d.ts +256 -0
  119. package/dist/components/button/Button.vue.d.ts +31 -0
  120. package/dist/components/button/index.d.ts +9 -0
  121. package/dist/components/card/Card.vue.d.ts +180 -0
  122. package/dist/components/card/CardHeader.vue.d.ts +58 -0
  123. package/dist/components/carousel/Carousel.vue.d.ts +44 -0
  124. package/dist/components/carousel/CarouselContent.vue.d.ts +24 -0
  125. package/dist/components/carousel/CarouselNext.vue.d.ts +21 -0
  126. package/dist/components/carousel/CarouselPrevious.vue.d.ts +21 -0
  127. package/dist/components/carousel/GlassCarouselPager.vue.d.ts +50 -0
  128. package/dist/components/carousel/useCarousel.d.ts +21 -0
  129. package/dist/components/chip/Chip.vue.d.ts +20 -0
  130. package/dist/components/chip/chipVariants.d.ts +43 -0
  131. package/dist/components/chip/index.d.ts +3 -0
  132. package/dist/components/chip/types.d.ts +38 -0
  133. package/dist/components/combobox/Combobox.vue.d.ts +32 -0
  134. package/dist/components/combobox/ComboboxList.vue.d.ts +32 -0
  135. package/dist/components/command/index.d.ts +10 -0
  136. package/dist/components/completion-seal/CompletionSeal.vue.d.ts +28 -0
  137. package/dist/components/completion-seal/constants.d.ts +66 -0
  138. package/dist/components/configurator/Configurator.vue.d.ts +160 -0
  139. package/dist/components/configurator/ConfiguratorRow.vue.d.ts +96 -0
  140. package/dist/components/configurator/index.d.ts +6 -0
  141. package/dist/components/configurator/size.d.ts +26 -0
  142. package/dist/components/constellation/Constellation.vue.d.ts +34 -0
  143. package/dist/components/constellation/composables/constellationGLSetup.d.ts +10 -0
  144. package/dist/components/constellation/composables/constellationWGPUSetup.d.ts +19 -0
  145. package/dist/components/constellation/composables/useConstellation.d.ts +39 -0
  146. package/dist/components/constellation/constants.d.ts +97 -0
  147. package/dist/components/constellation/constellationTypes.d.ts +420 -0
  148. package/dist/components/dialog/DialogContent.vue.d.ts +115 -0
  149. package/dist/components/dock/DockBackgroundToggle.vue.d.ts +46 -0
  150. package/dist/components/dock/DockControl.vue.d.ts +73 -0
  151. package/dist/components/dock/DockCrossfade.vue.d.ts +50 -0
  152. package/dist/components/dock/DockLayer.vue.d.ts +33 -0
  153. package/dist/components/dock/DockLayerGroup.vue.d.ts +65 -0
  154. package/dist/components/dock/DockStack.vue.d.ts +73 -0
  155. package/dist/components/dock/DockTrigger.vue.d.ts +27 -0
  156. package/dist/components/dock/GlassDock.vue.d.ts +33 -0
  157. package/dist/components/dock/composables/dockContext.d.ts +48 -0
  158. package/dist/components/dock/composables/dockCrossfadeContext.d.ts +57 -0
  159. package/dist/components/dock/composables/dockMorphContext.d.ts +89 -0
  160. package/dist/components/dock/composables/dockMorphMeasure.d.ts +86 -0
  161. package/dist/components/dock/composables/index.d.ts +10 -0
  162. package/dist/components/dock/composables/useDockFisheye.d.ts +24 -0
  163. package/dist/components/dock/composables/useDockOverflowFit.d.ts +22 -0
  164. package/dist/components/dock/composables/useDockPopover.d.ts +68 -0
  165. package/dist/components/dock/composables/useDockSearch.d.ts +85 -0
  166. package/dist/components/dock/composables/useDockShellProps.d.ts +178 -0
  167. package/dist/components/dock/composables/useDockSpring.d.ts +71 -0
  168. package/dist/components/dock/composables/useDockTouchGate.d.ts +51 -0
  169. package/dist/components/dock/constants.d.ts +107 -0
  170. package/dist/components/dock/index.d.ts +19 -0
  171. package/dist/components/drawer/Drawer.vue.d.ts +85 -0
  172. package/dist/components/drawer/DrawerContent.vue.d.ts +40 -0
  173. package/dist/components/drawer/composables/useDrawerSnap.d.ts +24 -0
  174. package/dist/components/drawer/constants.d.ts +50 -0
  175. package/dist/components/drawer/index.d.ts +35 -0
  176. package/dist/components/dropdown-menu/DropdownMenu.vue.d.ts +24 -0
  177. package/dist/components/dropdown-menu/DropdownMenuContent.vue.d.ts +36 -0
  178. package/dist/components/dropdown-menu/index.d.ts +16 -0
  179. package/dist/components/dropdown-menu/useMenuTrigger.d.ts +14 -0
  180. package/dist/components/expandable-container/ExpandableContainer.vue.d.ts +71 -0
  181. package/dist/components/fourier-field/FourierField.vue.d.ts +54 -0
  182. package/dist/components/fourier-field/composables/fourierFieldGLSetup.d.ts +24 -0
  183. package/dist/components/fourier-field/composables/fourierFieldWGPUSetup.d.ts +31 -0
  184. package/dist/components/fourier-field/composables/uniformBridgeWGPU.d.ts +41 -0
  185. package/dist/components/fourier-field/composables/useFourierField.d.ts +55 -0
  186. package/dist/components/fourier-field/constants.d.ts +134 -0
  187. package/dist/components/fourier-field/index.d.ts +31 -0
  188. package/dist/components/fourier-field/math.d.ts +111 -0
  189. package/dist/components/fourier-field/shaders/fourier-field.glsl.d.ts +4 -0
  190. package/dist/components/fourier-field/shaders/fourier-field.render.wgsl.d.ts +1 -0
  191. package/dist/components/fourier-field/shaders/fourier-field.ribbon.d.ts +51 -0
  192. package/dist/components/goo-filter/GooFilter.vue.d.ts +22 -0
  193. package/dist/components/goo-filter/index.d.ts +1 -0
  194. package/dist/components/handmark/brush.d.ts +269 -0
  195. package/dist/components/handmark/composables/useHandMark.d.ts +99 -0
  196. package/dist/components/handmark/constants.d.ts +69 -0
  197. package/dist/components/handmark/geometry.d.ts +65 -0
  198. package/dist/components/handmark/index.d.ts +27 -0
  199. package/dist/components/handmark/noise.d.ts +30 -0
  200. package/dist/components/handmark/types.d.ts +70 -0
  201. package/dist/components/header-ribbon/HeaderRibbon.vue.d.ts +31 -0
  202. package/dist/components/header-ribbon/index.d.ts +2 -0
  203. package/dist/components/header-ribbon/types.d.ts +7 -0
  204. package/dist/components/icon-chip/types.d.ts +92 -0
  205. package/dist/components/index.d.ts +36 -0
  206. package/dist/components/liquid-grid/LiquidGrid.vue.d.ts +42 -0
  207. package/dist/components/liquid-grid/composables/liquidGrid.d.ts +113 -0
  208. package/dist/components/liquid-grid/composables/liquidGridGLSetup.d.ts +18 -0
  209. package/dist/components/liquid-grid/composables/liquidGridWGPUSetup.d.ts +21 -0
  210. package/dist/components/liquid-grid/composables/uniformBridgeWGPU.d.ts +16 -0
  211. package/dist/components/liquid-grid/composables/useLiquidGrid.d.ts +31 -0
  212. package/dist/components/liquid-grid/constants.d.ts +93 -0
  213. package/dist/components/liquid-grid/index.d.ts +5 -0
  214. package/dist/components/liquid-grid/shaders/liquid-grid.glsl.d.ts +4 -0
  215. package/dist/components/liquid-grid/shaders/liquid-grid.wgsl.d.ts +1 -0
  216. package/dist/components/metric-badge/MetricBadge.vue.d.ts +40 -0
  217. package/dist/components/metric-cell/MetricCell.vue.d.ts +108 -0
  218. package/dist/components/metric-stack/MetricRow.vue.d.ts +120 -0
  219. package/dist/components/notification/Notification.vue.d.ts +16 -0
  220. package/dist/components/pager-dots/composables/usePagerWorm.d.ts +26 -0
  221. package/dist/components/pager-dots/constants.d.ts +15 -0
  222. package/dist/components/popover/Popover.vue.d.ts +54 -0
  223. package/dist/components/popover/PopoverContent.vue.d.ts +53 -0
  224. package/dist/components/popover/PopoverTrigger.vue.d.ts +16 -0
  225. package/dist/components/popover/popoverContext.d.ts +17 -0
  226. package/dist/components/progress/Progress.vue.d.ts +54 -0
  227. package/dist/components/progress/ProgressLiquid.vue.d.ts +21 -0
  228. package/dist/components/progress/index.d.ts +6 -0
  229. package/dist/components/scroll-progress-rim/ScrollProgressRim.vue.d.ts +19 -0
  230. package/dist/components/scroll-progress-rim/index.d.ts +3 -0
  231. package/dist/components/scroll-progress-rim/types.d.ts +2 -0
  232. package/dist/components/search/FuzzySearch.vue.d.ts +22 -0
  233. package/dist/components/search/SearchBar.vue.d.ts +38 -0
  234. package/dist/components/search/searchVariants.d.ts +19 -0
  235. package/dist/components/select/SelectContent.vue.d.ts +42 -0
  236. package/dist/components/slider/Slider.vue.d.ts +40 -0
  237. package/dist/components/slider/index.d.ts +46 -0
  238. package/dist/components/sortable-list/SortableHandle.vue.d.ts +19 -0
  239. package/dist/components/sortable-list/SortableItem.vue.d.ts +22 -0
  240. package/dist/components/sortable-list/SortableList.vue.d.ts +39 -0
  241. package/dist/components/sortable-list/composables/dragController.d.ts +29 -0
  242. package/dist/components/sortable-list/composables/types.d.ts +50 -0
  243. package/dist/components/sortable-list/composables/useSortable.d.ts +5 -0
  244. package/dist/components/sortable-list/context.d.ts +11 -0
  245. package/dist/components/sortable-list/index.d.ts +4 -0
  246. package/dist/components/split-chars/SplitChars.vue.d.ts +53 -0
  247. package/dist/components/stacked-icons/types.d.ts +19 -0
  248. package/dist/components/surface/Surface.vue.d.ts +45 -0
  249. package/dist/components/surface/index.d.ts +2 -0
  250. package/dist/components/tabs/SegmentedTabs.vue.d.ts +101 -0
  251. package/dist/components/tabs/composables/useEyeglassLive.d.ts +17 -0
  252. package/dist/components/tabs/composables/useTabDragMorph.d.ts +42 -0
  253. package/dist/components/tabs/composables/useTabResponsive.d.ts +43 -0
  254. package/dist/components/tabs/composables/useTabRovingFocus.d.ts +51 -0
  255. package/dist/components/tabs/constants.d.ts +1 -0
  256. package/dist/components/timeline/ContinuousMarkers.vue.d.ts +49 -0
  257. package/dist/components/timeline/GlassTimeline.vue.d.ts +114 -0
  258. package/dist/components/timeline/ScrubberTimeline.vue.d.ts +45 -0
  259. package/dist/components/timeline/geometry.d.ts +92 -0
  260. package/dist/components/toast/Toast.vue.d.ts +107 -0
  261. package/dist/components/toast/index.d.ts +9 -0
  262. package/dist/components/toast/use-toast.d.ts +182 -0
  263. package/dist/components/toggle/Toggle.vue.d.ts +29 -0
  264. package/dist/components/toggle/index.d.ts +26 -0
  265. package/dist/components/watercolor-dot/WatercolorDot.vue.d.ts +74 -0
  266. package/dist/components/watercolor-dot/prng.d.ts +5 -0
  267. package/dist/components/watercolor-dot/useWatercolorBlob.d.ts +31 -0
  268. package/dist/composables/color/accent-tone-solve.d.ts +11 -0
  269. package/dist/composables/color/index.d.ts +18 -1
  270. package/dist/composables/color/useAccentTone.d.ts +6 -8
  271. package/dist/composables/dom/index.d.ts +1 -0
  272. package/dist/composables/dom/useDragVelocity.d.ts +46 -0
  273. package/dist/composables/dom/useUserInvalidAria.d.ts +7 -11
  274. package/dist/composables/glass/ambientHueHistogram.d.ts +27 -0
  275. package/dist/composables/glass/backdropLuminanceSample.d.ts +56 -0
  276. package/dist/composables/glass/backdropSampleMath.d.ts +5 -0
  277. package/dist/composables/glass/textureUpload.d.ts +91 -0
  278. package/dist/composables/glass/useGlassBackdropLuminance.d.ts +27 -1
  279. package/dist/composables/glass/useSpecularPointer.d.ts +23 -4
  280. package/dist/composables/glass/useSpecularTracking.d.ts +1 -1
  281. package/dist/composables/glass/wave/index.d.ts +4 -0
  282. package/dist/composables/glass/wave/waveField.d.ts +136 -0
  283. package/dist/composables/glass/wave/waveField.glsl.d.ts +1 -0
  284. package/dist/composables/glass/wave/waveField.wgsl.d.ts +1 -0
  285. package/dist/composables/glass/webgl/backingSize.d.ts +44 -0
  286. package/dist/composables/glass/webgl/createCanvasLifecycle.d.ts +76 -2
  287. package/dist/composables/glass/webgl/shaders/glass-refract.glsl.d.ts +36 -0
  288. package/dist/composables/glass/webgl/useWebGLCanvas.d.ts +40 -2
  289. package/dist/composables/glass/webgl/visibility.d.ts +42 -0
  290. package/dist/composables/glass/webgpu/index.d.ts +1 -0
  291. package/dist/composables/glass/webgpu/useGpuSubstrate.d.ts +38 -0
  292. package/dist/composables/glass/webgpu/useWebGPUCanvas.d.ts +13 -74
  293. package/dist/composables/glass/webgpu/webgpuCanvasTypes.d.ts +96 -0
  294. package/dist/composables/glass/webgpu/webgpuDevice.d.ts +31 -1
  295. package/dist/composables/index.d.ts +1 -2
  296. package/dist/composables/motion/bloomUpField.d.ts +29 -0
  297. package/dist/composables/motion/core/index.d.ts +8 -0
  298. package/dist/composables/motion/core/writeVelocityWeight.d.ts +31 -0
  299. package/dist/composables/motion/gooBarbellGeometry.d.ts +79 -0
  300. package/dist/composables/motion/index.d.ts +2 -0
  301. package/dist/composables/motion/morphSignatures.d.ts +88 -0
  302. package/dist/composables/motion/motionTempo.d.ts +9 -0
  303. package/dist/composables/motion/pointerFieldMappings.d.ts +161 -0
  304. package/dist/composables/motion/springPresets.d.ts +20 -27
  305. package/dist/composables/motion/suite.d.ts +2 -2
  306. package/dist/composables/motion/useBloomUp.d.ts +97 -0
  307. package/dist/composables/motion/useDockCtaReceive.d.ts +29 -54
  308. package/dist/composables/motion/useElementMorph.d.ts +99 -0
  309. package/dist/composables/motion/useGooMorph.d.ts +72 -0
  310. package/dist/composables/motion/useLeadTrail.d.ts +69 -0
  311. package/dist/composables/motion/useLiquidFlex.d.ts +18 -0
  312. package/dist/composables/motion/useLiquidPress.d.ts +21 -0
  313. package/dist/composables/motion/useLiquidReveal.d.ts +19 -30
  314. package/dist/composables/motion/usePointerVelocityField.d.ts +59 -0
  315. package/dist/composables/motion/useRoutePointer.d.ts +41 -0
  316. package/dist/composables/motion/useScrollPin.d.ts +49 -0
  317. package/dist/composables/motion/useScrollScene.d.ts +67 -0
  318. package/dist/composables/motion/useSelectionGroup.d.ts +83 -0
  319. package/dist/composables/motion/useSelectionIndicator.d.ts +90 -0
  320. package/dist/composables/motion/useSpringPress.d.ts +5 -5
  321. package/dist/configurator.d.ts +1 -1
  322. package/dist/configurator.js +3 -3
  323. package/dist/constellation.d.ts +1 -1
  324. package/dist/constellation.js +291 -254
  325. package/dist/controls.d.ts +1 -1
  326. package/dist/controls.js +4 -4
  327. package/dist/createCanvasLifecycle-DlrcvWbb.js +209 -0
  328. package/dist/dark.js +1 -1
  329. package/dist/data-table.d.ts +1 -1
  330. package/dist/data-table.js +1 -1
  331. package/dist/deck.d.ts +1 -1
  332. package/dist/deck.js +6 -6
  333. package/dist/dialog.d.ts +1 -1
  334. package/dist/dialog.js +3 -4
  335. package/dist/dock.d.ts +1 -1
  336. package/dist/dock.js +1111 -1119
  337. package/dist/dockContext-d-WpJN2Z.js +13 -0
  338. package/dist/dom.js +7 -6
  339. package/dist/drawer.d.ts +1 -1
  340. package/dist/drawer.js +181 -163
  341. package/dist/dropdown-menu-DaGlVdp9.js +421 -0
  342. package/dist/dropdown-menu.d.ts +1 -1
  343. package/dist/dropdown-menu.js +1 -1
  344. package/dist/easing.d.ts +10 -1
  345. package/dist/easing.js +148 -148
  346. package/dist/expandable-container.d.ts +1 -1
  347. package/dist/expandable-container.js +85 -66
  348. package/dist/fading-scroll.d.ts +1 -1
  349. package/dist/fading-scroll.js +1 -1
  350. package/dist/focus-scope.d.ts +1 -1
  351. package/dist/focus-scope.js +2 -23
  352. package/dist/forms.d.ts +4 -3
  353. package/dist/forms.js +75 -66
  354. package/dist/fourier-field.d.ts +1 -1
  355. package/dist/fourier-field.js +720 -422
  356. package/dist/fourier-math.d.ts +7 -1
  357. package/dist/fourier-math.js +2 -2
  358. package/dist/glass-ui.css +1 -1
  359. package/dist/glass-ui.js +200 -344
  360. package/dist/handmark.d.ts +3 -1
  361. package/dist/handmark.js +225 -164
  362. package/dist/header-ribbon.d.ts +1 -1
  363. package/dist/header-ribbon.js +6 -6
  364. package/dist/icon-chip.d.ts +1 -1
  365. package/dist/icon-chip.js +1 -1
  366. package/dist/icon-tooltip.d.ts +1 -1
  367. package/dist/icon-tooltip.js +1 -1
  368. package/dist/index.d.ts +43 -43
  369. package/dist/infinite-scroll.d.ts +2 -2
  370. package/dist/infinite-scroll.js +2 -2
  371. package/dist/instrument-chassis.d.ts +1 -1
  372. package/dist/instrument-chassis.js +1 -1
  373. package/dist/keyboard.js +1 -1
  374. package/dist/label.d.ts +1 -1
  375. package/dist/label.js +1 -1
  376. package/dist/labeled-field.d.ts +1 -1
  377. package/dist/labeled-field.js +12 -12
  378. package/dist/liquid-grid.d.ts +1 -0
  379. package/dist/liquid-grid.js +1064 -0
  380. package/dist/math-CIEcwsYi.js +112 -0
  381. package/dist/menuItemVariants-DbO-Fr74.js +36 -0
  382. package/dist/metric-badge.d.ts +1 -1
  383. package/dist/metric-badge.js +79 -2
  384. package/dist/metric-cell.d.ts +1 -1
  385. package/dist/metric-cell.js +9 -9
  386. package/dist/metric-stack.d.ts +1 -1
  387. package/dist/metric-stack.js +23 -23
  388. package/dist/motion-core.js +48 -39
  389. package/dist/motion-curves.d.ts +20 -0
  390. package/dist/motion-curves.js +20 -14
  391. package/dist/motion.js +153 -69
  392. package/dist/motionTempo-CMS5b0Vu.js +7 -0
  393. package/dist/notification.d.ts +1 -1
  394. package/dist/notification.js +1 -1
  395. package/dist/number-field.d.ts +1 -1
  396. package/dist/number-field.js +1 -1
  397. package/dist/pager-dots.d.ts +1 -1
  398. package/dist/pager-dots.js +1 -1
  399. package/dist/paper-backdrop.d.ts +1 -1
  400. package/dist/paper-backdrop.js +1 -1
  401. package/dist/pointerFieldMappings-4VtmkOWv.js +65 -0
  402. package/dist/popover.d.ts +1 -1
  403. package/dist/popover.js +1 -1
  404. package/dist/presets-B07HzyKd.js +95 -0
  405. package/dist/prng-B0PLRmR6.js +15 -0
  406. package/dist/progress.d.ts +1 -1
  407. package/dist/progress.js +2 -2
  408. package/dist/pulse.d.ts +1 -1
  409. package/dist/pulse.js +3 -3
  410. package/dist/reactive.js +2 -2
  411. package/dist/resolveCanvasColor-B3L-akX0.js +93 -0
  412. package/dist/scroll-progress-rim.d.ts +1 -0
  413. package/dist/scroll-progress-rim.js +61 -0
  414. package/dist/search.d.ts +1 -1
  415. package/dist/search.js +123 -123
  416. package/dist/select.d.ts +1 -1
  417. package/dist/select.js +3 -3
  418. package/dist/separator.d.ts +1 -1
  419. package/dist/separator.js +1 -1
  420. package/dist/sidebar.js +1 -1
  421. package/dist/slider-Cxuj_W_H.js +151 -0
  422. package/dist/slider.d.ts +1 -1
  423. package/dist/slider.js +1 -1
  424. package/dist/sortable-list.d.ts +1 -1
  425. package/dist/sortable-list.js +383 -58
  426. package/dist/spa-view.d.ts +1 -1
  427. package/dist/spa-view.js +1 -1
  428. package/dist/springPresets-h5VKJQqG.js +58 -0
  429. package/dist/stacked-icons.d.ts +1 -1
  430. package/dist/stacked-icons.js +56 -41
  431. package/dist/status-dot.d.ts +1 -1
  432. package/dist/status-dot.js +2 -2
  433. package/dist/styles/animations.css +1 -409
  434. package/dist/styles/card-scroll.css +1 -0
  435. package/dist/styles/cards.css +1 -248
  436. package/dist/styles/completion-seal.css +1 -131
  437. package/dist/styles/components.css +1 -47
  438. package/dist/styles/configurator.css +1 -132
  439. package/dist/styles/dialog-placement.css +1 -0
  440. package/dist/styles/dock/adaptive-legibility.css +1 -0
  441. package/dist/styles/dock/crossfade.css +1 -0
  442. package/dist/styles/dock/cta-seat.css +1 -87
  443. package/dist/styles/dock/density.css +1 -447
  444. package/dist/styles/dock/dock.css +1 -0
  445. package/dist/styles/dock/fisheye.css +1 -0
  446. package/dist/styles/dock/layer-group.css +1 -333
  447. package/dist/styles/dock/layers.css +1 -449
  448. package/dist/styles/dock/morph.css +1 -499
  449. package/dist/styles/dock/overflow.css +1 -292
  450. package/dist/styles/dock/popover.css +1 -0
  451. package/dist/styles/dock/search.css +1 -68
  452. package/dist/styles/dock/section.css +1 -59
  453. package/dist/styles/dock/shape.css +1 -124
  454. package/dist/styles/dock/shell-regions.css +1 -0
  455. package/dist/styles/dock/shell.css +1 -500
  456. package/dist/styles/dock-controls/dark-mode-toggle.css +1 -122
  457. package/dist/styles/dock-controls/icon-button.css +1 -157
  458. package/dist/styles/dock-controls/tab-button.css +1 -143
  459. package/dist/styles/dock-controls/touch-floor.css +1 -94
  460. package/dist/styles/dock-controls/triggers.css +1 -135
  461. package/dist/styles/dock-controls.css +1 -74
  462. package/dist/styles/dock.css +1 -158
  463. package/dist/styles/draw-in.css +1 -0
  464. package/dist/styles/drawer.css +1 -240
  465. package/dist/styles/feedback-tone.css +1 -104
  466. package/dist/styles/fonts.css +1 -143
  467. package/dist/styles/glass/a11y-fallback.css +1 -245
  468. package/dist/styles/glass/accent-tone.css +1 -66
  469. package/dist/styles/glass/control-surfaces.css +1 -167
  470. package/dist/styles/glass/deep.css +1 -44
  471. package/dist/styles/glass/defined.css +1 -0
  472. package/dist/styles/glass/glass-atom.css +1 -0
  473. package/dist/styles/glass/glass-capsule.css +1 -0
  474. package/dist/styles/glass/glass-chip.css +1 -0
  475. package/dist/styles/glass/grain-overlay.css +1 -0
  476. package/dist/styles/glass/ladder-undershadow.css +1 -0
  477. package/dist/styles/glass/ladder.css +1 -489
  478. package/dist/styles/glass/liquid-enter.css +1 -0
  479. package/dist/styles/glass/liquid-fill.css +1 -0
  480. package/dist/styles/glass/material.css +1 -301
  481. package/dist/styles/glass/progress-rail.css +1 -78
  482. package/dist/styles/glass/reveal.css +1 -136
  483. package/dist/styles/glass/rim.css +1 -110
  484. package/dist/styles/glass/squircle.css +1 -66
  485. package/dist/styles/glass/surface-axis.css +1 -113
  486. package/dist/styles/glass/surfaces-pager.css +1 -0
  487. package/dist/styles/glass/surfaces.css +1 -401
  488. package/dist/styles/glass-refract.css +1 -114
  489. package/dist/styles/glass-specular-track.css +1 -74
  490. package/dist/styles/glass.css +1 -66
  491. package/dist/styles/icon-chip.css +1 -211
  492. package/dist/styles/index.css +1 -249
  493. package/dist/styles/instrument-chassis.css +1 -453
  494. package/dist/styles/menu.css +1 -127
  495. package/dist/styles/paper.css +1 -68
  496. package/dist/styles/scroll-choreography.css +1 -300
  497. package/dist/styles/scroll-chrome.css +1 -123
  498. package/dist/styles/scroll-driven.css +1 -110
  499. package/dist/styles/scroll-progress-rim.css +1 -0
  500. package/dist/styles/segmented-tabs.css +1 -413
  501. package/dist/styles/select.css +1 -50
  502. package/dist/styles/tabs/segmented-tabs-drag.css +1 -0
  503. package/dist/styles/theme/bridges.css +1 -380
  504. package/dist/styles/theme/dark.css +1 -7
  505. package/dist/styles/theme/literals.css +1 -103
  506. package/dist/styles/theme/radius.css +1 -117
  507. package/dist/styles/theme.css +1 -33
  508. package/dist/styles/tokens/color-radius.css +1 -297
  509. package/dist/styles/tokens/dark-arm-glass.css +1 -0
  510. package/dist/styles/tokens/dark-arm.css +1 -413
  511. package/dist/styles/tokens/glass-deep.css +1 -100
  512. package/dist/styles/tokens/glass-fx.css +1 -376
  513. package/dist/styles/tokens/glass.css +1 -280
  514. package/dist/styles/tokens/light-dark.css +1 -200
  515. package/dist/styles/tokens/motion-registers.css +1 -0
  516. package/dist/styles/tokens/offsets.css +1 -143
  517. package/dist/styles/tokens/on-glass-fg.css +1 -39
  518. package/dist/styles/tokens/property-regs-specular.css +1 -0
  519. package/dist/styles/tokens/property-regs.css +1 -422
  520. package/dist/styles/tokens/scale-paper.css +1 -481
  521. package/dist/styles/tokens/scheme-motion.css +1 -428
  522. package/dist/styles/tokens/scheme-spring.css +1 -0
  523. package/dist/styles/tokens/scroll-tokens.css +1 -123
  524. package/dist/styles/tokens/shadow.css +1 -166
  525. package/dist/styles/tokens/sizing-config.css +1 -110
  526. package/dist/styles/tokens/sizing.css +1 -450
  527. package/dist/styles/tokens.css +1 -45
  528. package/dist/styles/transitions.css +1 -263
  529. package/dist/styles/typography/scale.css +1 -153
  530. package/dist/styles/typography/semantic.css +1 -233
  531. package/dist/styles/typography/utilities.css +1 -174
  532. package/dist/styles/typography.css +1 -46
  533. package/dist/styles/utilities/a11y-overrides.css +1 -184
  534. package/dist/styles/utilities/animate.css +0 -29
  535. package/dist/styles/utilities/base-misc.css +1 -307
  536. package/dist/styles/utilities/base.css +1 -327
  537. package/dist/styles/utilities/btn.css +1 -231
  538. package/dist/styles/utilities/components.css +1 -342
  539. package/dist/styles/utilities/metal.css +1 -215
  540. package/dist/styles/utilities.css +1 -26
  541. package/dist/styles/view-transition.css +1 -67
  542. package/dist/styles/viz-reveal.css +1 -0
  543. package/dist/surface.d.ts +1 -0
  544. package/dist/surface.js +3 -0
  545. package/dist/switch.d.ts +1 -1
  546. package/dist/switch.js +1 -1
  547. package/dist/tabs.d.ts +1 -1
  548. package/dist/tabs.js +217 -260
  549. package/dist/timeline.d.ts +1 -1
  550. package/dist/timeline.js +269 -218
  551. package/dist/toast.d.ts +1 -1
  552. package/dist/toast.js +1 -1
  553. package/dist/toggle-group.d.ts +1 -1
  554. package/dist/toggle-group.js +1 -1
  555. package/dist/tooltip.d.ts +1 -1
  556. package/dist/tooltip.js +1 -1
  557. package/dist/typewriter.d.ts +1 -1
  558. package/dist/typewriter.js +7 -7
  559. package/dist/useAccentTone-D25DxviG.js +23 -0
  560. package/dist/useAnimatedNumber-2XC4aRB6.js +40 -0
  561. package/dist/useConfiguratorState-Dq35N_7t.js +167 -0
  562. package/dist/useControlSize-DJwe-7ZQ.js +9 -0
  563. package/dist/useDockCtaReceive-BgMmeINo.js +161 -0
  564. package/dist/useDocumentVisibility-CpJGUgcJ.js +17 -0
  565. package/dist/useDragMorph-65ihHePq.js +93 -0
  566. package/dist/useDragVelocity-BWcNMCux.js +57 -0
  567. package/dist/useFuzzySearch-KslRxiJY.js +177 -0
  568. package/dist/useGooMorph-CU1pwuC6.js +268 -0
  569. package/dist/useGpuSubstrate-DcY584kE.js +347 -0
  570. package/dist/useIntersectionPause-Cmt5Tnv9.js +39 -0
  571. package/dist/useKeyboardShortcuts-ynVmNFo3.js +104 -0
  572. package/dist/useLeadTrail-DOH4XkL1.js +74 -0
  573. package/dist/useLiquidFlex-Ch4exNvN.js +35 -0
  574. package/dist/useLiquidPress-BXNHydZh.js +40 -0
  575. package/dist/useMotionAxis-DCCXMC-i.js +20 -0
  576. package/dist/usePointerVelocityField-CwXyeW0Z.js +122 -0
  577. package/dist/useRAFLoop-CvOo_kgb.js +109 -0
  578. package/dist/useRoutePointer-DL7I0gY4.js +52 -0
  579. package/dist/useScrollProgress-C-yImzhU.js +35 -0
  580. package/dist/useSelectionGroup-Btpf24aY.js +215 -0
  581. package/dist/useSpring-BBSKFx_0.js +41 -0
  582. package/dist/useSpringMount-CNvvgGiC.js +71 -0
  583. package/dist/useSpringPress-BypV_KO-.js +36 -0
  584. package/dist/useSurfaceAxis-DudiZVOR.js +10 -0
  585. package/dist/useTabRovingFocus-CG1H1k1J.js +143 -0
  586. package/dist/useTouchGate-BlegwvwL.js +84 -0
  587. package/dist/useUserInvalidAria-Bkruei7M.js +25 -0
  588. package/dist/watercolor-dot.d.ts +1 -1
  589. package/dist/watercolor-dot.js +57 -65
  590. package/dist/writeVelocityWeight-D1rvdxJu.js +19 -0
  591. package/package.json +386 -816
  592. package/src/styles/animations.css +82 -23
  593. package/src/styles/card-scroll.css +189 -0
  594. package/src/styles/cards.css +244 -5
  595. package/src/styles/completion-seal.css +75 -1
  596. package/src/styles/configurator.css +234 -7
  597. package/src/styles/dialog-placement.css +68 -0
  598. package/src/styles/dock/adaptive-legibility.css +119 -0
  599. package/src/styles/dock/crossfade.css +139 -0
  600. package/src/styles/dock/density.css +34 -23
  601. package/src/styles/dock/dock.css +199 -0
  602. package/src/styles/dock/fisheye.css +81 -0
  603. package/src/styles/dock/layer-group.css +37 -41
  604. package/src/styles/dock/layers.css +127 -138
  605. package/src/styles/dock/morph.css +85 -129
  606. package/src/styles/dock/overflow.css +107 -67
  607. package/src/styles/dock/popover.css +249 -0
  608. package/src/styles/dock/shape.css +86 -22
  609. package/src/styles/dock/shell-regions.css +73 -0
  610. package/src/styles/dock/shell.css +160 -160
  611. package/src/styles/dock-controls/dark-mode-toggle.css +3 -2
  612. package/src/styles/dock-controls/icon-button.css +77 -13
  613. package/src/styles/dock-controls/tab-button.css +2 -2
  614. package/src/styles/dock-controls/touch-floor.css +25 -0
  615. package/src/styles/dock-controls/triggers.css +23 -1
  616. package/src/styles/dock-controls.css +18 -0
  617. package/src/styles/dock.css +67 -6
  618. package/src/styles/draw-in.css +89 -0
  619. package/src/styles/drawer.css +203 -3
  620. package/src/styles/glass/a11y-fallback.css +19 -76
  621. package/src/styles/glass/control-surfaces.css +20 -16
  622. package/src/styles/glass/deep.css +74 -4
  623. package/src/styles/glass/defined.css +88 -0
  624. package/src/styles/glass/glass-atom.css +247 -0
  625. package/src/styles/glass/glass-capsule.css +175 -0
  626. package/src/styles/glass/glass-chip.css +211 -0
  627. package/src/styles/glass/grain-overlay.css +79 -0
  628. package/src/styles/glass/ladder-undershadow.css +61 -0
  629. package/src/styles/glass/ladder.css +96 -133
  630. package/src/styles/glass/liquid-enter.css +240 -0
  631. package/src/styles/glass/liquid-fill.css +65 -0
  632. package/src/styles/glass/material.css +201 -8
  633. package/src/styles/glass/reveal.css +213 -16
  634. package/src/styles/glass/rim.css +13 -1
  635. package/src/styles/glass/squircle.css +18 -26
  636. package/src/styles/glass/surface-axis.css +24 -1
  637. package/src/styles/glass/surfaces-pager.css +79 -0
  638. package/src/styles/glass/surfaces.css +123 -90
  639. package/src/styles/glass.css +45 -1
  640. package/src/styles/icon-chip.css +45 -0
  641. package/src/styles/index.css +54 -15
  642. package/src/styles/menu.css +66 -6
  643. package/src/styles/paper.css +133 -14
  644. package/src/styles/scroll-choreography.css +151 -157
  645. package/src/styles/scroll-driven.css +18 -5
  646. package/src/styles/scroll-progress-rim.css +87 -0
  647. package/src/styles/segmented-tabs.css +147 -130
  648. package/src/styles/select.css +151 -0
  649. package/src/styles/tabs/segmented-tabs-drag.css +200 -0
  650. package/src/styles/theme/bridges.css +8 -2
  651. package/src/styles/theme/literals.css +2 -1
  652. package/src/styles/theme/radius.css +43 -12
  653. package/src/styles/tokens/color-radius.css +16 -5
  654. package/src/styles/tokens/dark-arm-glass.css +55 -0
  655. package/src/styles/tokens/dark-arm.css +101 -59
  656. package/src/styles/tokens/glass-deep.css +108 -82
  657. package/src/styles/tokens/glass-fx.css +113 -5
  658. package/src/styles/tokens/glass.css +242 -44
  659. package/src/styles/tokens/light-dark.css +22 -6
  660. package/src/styles/tokens/motion-registers.css +93 -0
  661. package/src/styles/tokens/property-regs-specular.css +160 -0
  662. package/src/styles/tokens/property-regs.css +185 -160
  663. package/src/styles/tokens/scale-paper.css +26 -11
  664. package/src/styles/tokens/scheme-motion.css +151 -157
  665. package/src/styles/tokens/scheme-spring.css +292 -0
  666. package/src/styles/tokens/scroll-tokens.css +40 -26
  667. package/src/styles/tokens/shadow.css +79 -13
  668. package/src/styles/tokens/sizing.css +62 -7
  669. package/src/styles/tokens.css +25 -2
  670. package/src/styles/transitions.css +108 -143
  671. package/src/styles/typography/scale.css +10 -0
  672. package/src/styles/typography/semantic.css +5 -5
  673. package/src/styles/typography/utilities.css +25 -2
  674. package/src/styles/utilities/a11y-overrides.css +2 -2
  675. package/src/styles/utilities/base.css +13 -3
  676. package/src/styles/utilities/btn.css +99 -3
  677. package/src/styles/utilities/components.css +16 -21
  678. package/src/styles/utilities/metal.css +86 -29
  679. package/src/styles/viz-reveal.css +63 -0
  680. package/dist/CardAction-8whJrLWt.js +0 -268
  681. package/dist/CollapsibleContent-68dEXIAl.js +0 -63
  682. package/dist/CommandShortcut-D3yxgHNn.js +0 -302
  683. package/dist/ConfiguratorRow-CaP7U3ZA.js +0 -143
  684. package/dist/ContextMenuContent-B3ZsheLV.js +0 -90
  685. package/dist/ContextMenuSubContent-DDRID3qC.js +0 -245
  686. package/dist/DataTable-Bc9kUtu_.js +0 -512
  687. package/dist/DialogContent-6JtTB5x2.js +0 -106
  688. package/dist/DialogFooter-9phqcRIS.js +0 -80
  689. package/dist/DialogScrollContent-TTuovQst.js +0 -93
  690. package/dist/FadingScroll-DLRbH5Xr.js +0 -76
  691. package/dist/HoverCardContent-Bel1gdLZ.js +0 -88
  692. package/dist/HoverPopover-BcIxvyqZ.js +0 -96
  693. package/dist/IconChip-DhbdGdFQ.js +0 -55
  694. package/dist/IconTooltip-B0zimd2H.js +0 -25
  695. package/dist/Input-Cg9DF62r.js +0 -57
  696. package/dist/InstrumentChassis-CxsHSyMj.js +0 -65
  697. package/dist/Label-C2ejNWeC.js +0 -36
  698. package/dist/MetricBadge-RHdBP72w.js +0 -79
  699. package/dist/ModalOverlay-D1VrWyoi.js +0 -53
  700. package/dist/Notification-CphK7AAm.js +0 -43
  701. package/dist/NumberFieldContent-D8cXeyO4.js +0 -140
  702. package/dist/PagerDots-Cjx96la-.js +0 -98
  703. package/dist/PaperBackdrop-CqwjnfLv.js +0 -31
  704. package/dist/PopoverContent-DL7E6vJP.js +0 -127
  705. package/dist/Progress-CnqB7gLm.js +0 -274
  706. package/dist/ScrollingText-CTZbA_cG.js +0 -40
  707. package/dist/SelectGroup-BFiod7X2.js +0 -31
  708. package/dist/SelectScrollDownButton-DAKCBEdW.js +0 -257
  709. package/dist/SelectSeparator-C2UGOkXF.js +0 -49
  710. package/dist/Separator-DQcwC2TR.js +0 -44
  711. package/dist/Switch-B8RscmRu.js +0 -49
  712. package/dist/Toaster-D9qIHjBI.js +0 -274
  713. package/dist/ToggleGroupItem-BLtr3TJq.js +0 -170
  714. package/dist/TooltipProvider-BJ_Y5EGX.js +0 -109
  715. package/dist/api/index.d.ts +0 -33
  716. package/dist/api/types-extra.d.ts +0 -37
  717. package/dist/api.js +0 -2
  718. package/dist/badge-D9XWW4GT.js +0 -53
  719. package/dist/border-progress.d.ts +0 -1
  720. package/dist/border-progress.js +0 -98
  721. package/dist/button-5dY1Dvhd.js +0 -125
  722. package/dist/cn-DJXf4yaB.js +0 -97
  723. package/dist/coalesceMetric-5qIeZnTx.js +0 -13
  724. package/dist/color-Cs0-oxYL.js +0 -116
  725. package/dist/components/custom/aurora/Aurora.vue.d.ts +0 -101
  726. package/dist/components/custom/aurora/composables/atoms-fields.d.ts +0 -39
  727. package/dist/components/custom/aurora/composables/atoms.d.ts +0 -142
  728. package/dist/components/custom/aurora/composables/color.d.ts +0 -93
  729. package/dist/components/custom/aurora/composables/cursorModel.d.ts +0 -78
  730. package/dist/components/custom/aurora/composables/frameLoop.d.ts +0 -39
  731. package/dist/components/custom/aurora/composables/glSetup.d.ts +0 -29
  732. package/dist/components/custom/aurora/composables/runtime.d.ts +0 -127
  733. package/dist/components/custom/aurora/composables/uniformBridge.d.ts +0 -100
  734. package/dist/components/custom/aurora/composables/uniformBridgeWGPU.d.ts +0 -60
  735. package/dist/components/custom/aurora/composables/useAurora.d.ts +0 -86
  736. package/dist/components/custom/aurora/composables/useCursorInteraction.d.ts +0 -33
  737. package/dist/components/custom/aurora/composables/wgpuSetup.d.ts +0 -37
  738. package/dist/components/custom/aurora/constants/presets.d.ts +0 -229
  739. package/dist/components/custom/aurora/constants/shaders/aurora-mediums.wgsl.d.ts +0 -1
  740. package/dist/components/custom/aurora/constants/shaders/aurora.wgsl.d.ts +0 -1
  741. package/dist/components/custom/aurora/constants/shaders/brush.glsl.d.ts +0 -1
  742. package/dist/components/custom/aurora/constants/shaders/flow.glsl.d.ts +0 -1
  743. package/dist/components/custom/aurora/constants/shaders/mediums.glsl.d.ts +0 -2
  744. package/dist/components/custom/aurora/index.d.ts +0 -13
  745. package/dist/components/custom/border-progress/BorderProgress.vue.d.ts +0 -46
  746. package/dist/components/custom/border-progress/composables/spectrum-walk.d.ts +0 -25
  747. package/dist/components/custom/border-progress/composables/useBorderSpectrum.d.ts +0 -18
  748. package/dist/components/custom/border-progress/constants.d.ts +0 -59
  749. package/dist/components/custom/border-progress/index.d.ts +0 -4
  750. package/dist/components/custom/completion-seal/CompletionSeal.vue.d.ts +0 -21
  751. package/dist/components/custom/completion-seal/constants.d.ts +0 -46
  752. package/dist/components/custom/concentric/Concentric.vue.d.ts +0 -39
  753. package/dist/components/custom/concentric/composables/concentricGLSetup.d.ts +0 -18
  754. package/dist/components/custom/concentric/composables/concentricWGPUSetup.d.ts +0 -22
  755. package/dist/components/custom/concentric/composables/ringField.d.ts +0 -85
  756. package/dist/components/custom/concentric/composables/uniformBridgeWGPU.d.ts +0 -14
  757. package/dist/components/custom/concentric/composables/useConcentric.d.ts +0 -35
  758. package/dist/components/custom/concentric/constants.d.ts +0 -67
  759. package/dist/components/custom/concentric/index.d.ts +0 -5
  760. package/dist/components/custom/concentric/shaders/concentric.glsl.d.ts +0 -4
  761. package/dist/components/custom/concentric/shaders/concentric.wgsl.d.ts +0 -1
  762. package/dist/components/custom/configurator/Configurator.vue.d.ts +0 -139
  763. package/dist/components/custom/configurator/ConfiguratorRow.vue.d.ts +0 -79
  764. package/dist/components/custom/configurator/density.d.ts +0 -25
  765. package/dist/components/custom/configurator/index.d.ts +0 -6
  766. package/dist/components/custom/confirm-dialog/ConfirmDialog.vue.d.ts +0 -32
  767. package/dist/components/custom/confirm-dialog/index.d.ts +0 -1
  768. package/dist/components/custom/constellation/Constellation.vue.d.ts +0 -33
  769. package/dist/components/custom/constellation/composables/constellationGLSetup.d.ts +0 -10
  770. package/dist/components/custom/constellation/composables/constellationWGPUSetup.d.ts +0 -19
  771. package/dist/components/custom/constellation/composables/useConstellation.d.ts +0 -19
  772. package/dist/components/custom/constellation/constants.d.ts +0 -94
  773. package/dist/components/custom/constellation/constellationTypes.d.ts +0 -407
  774. package/dist/components/custom/dock/DockBackgroundToggle.vue.d.ts +0 -46
  775. package/dist/components/custom/dock/DockDropdownTrigger.vue.d.ts +0 -29
  776. package/dist/components/custom/dock/DockIconButton.vue.d.ts +0 -62
  777. package/dist/components/custom/dock/DockLayer.vue.d.ts +0 -34
  778. package/dist/components/custom/dock/DockLayerGroup.vue.d.ts +0 -51
  779. package/dist/components/custom/dock/DockSelectTrigger.vue.d.ts +0 -29
  780. package/dist/components/custom/dock/DockStack.vue.d.ts +0 -65
  781. package/dist/components/custom/dock/DockTabButton.vue.d.ts +0 -39
  782. package/dist/components/custom/dock/GlassDock.vue.d.ts +0 -31
  783. package/dist/components/custom/dock/composables/dockContext.d.ts +0 -47
  784. package/dist/components/custom/dock/composables/dockLayerContext.d.ts +0 -36
  785. package/dist/components/custom/dock/composables/dockMorphContext.d.ts +0 -93
  786. package/dist/components/custom/dock/composables/dockMorphMeasure.d.ts +0 -155
  787. package/dist/components/custom/dock/composables/index.d.ts +0 -13
  788. package/dist/components/custom/dock/composables/useDockMorphWindow.d.ts +0 -15
  789. package/dist/components/custom/dock/composables/useDockOrientationMorph.d.ts +0 -44
  790. package/dist/components/custom/dock/composables/useDockSearch.d.ts +0 -85
  791. package/dist/components/custom/dock/composables/useDockShellProps.d.ts +0 -176
  792. package/dist/components/custom/dock/composables/useLayerTransition.d.ts +0 -90
  793. package/dist/components/custom/dock/constants.d.ts +0 -87
  794. package/dist/components/custom/dock/index.d.ts +0 -21
  795. package/dist/components/custom/dot-flow-field/DotFlowField.vue.d.ts +0 -42
  796. package/dist/components/custom/dot-flow-field/composables/flowField.d.ts +0 -83
  797. package/dist/components/custom/dot-flow-field/composables/uniformBridgeWGPU.d.ts +0 -39
  798. package/dist/components/custom/dot-flow-field/composables/useDotFlowField.d.ts +0 -35
  799. package/dist/components/custom/dot-flow-field/composables/useFlowParticles.d.ts +0 -31
  800. package/dist/components/custom/dot-flow-field/constants.d.ts +0 -69
  801. package/dist/components/custom/dot-flow-field/index.d.ts +0 -5
  802. package/dist/components/custom/dot-flow-field/shaders/flow-field.compute.wgsl.d.ts +0 -1
  803. package/dist/components/custom/dot-flow-field/shaders/flow-field.glsl.d.ts +0 -4
  804. package/dist/components/custom/dot-flow-field/shaders/flow-field.render.wgsl.d.ts +0 -1
  805. package/dist/components/custom/dot-matrix/DotMatrix.vue.d.ts +0 -43
  806. package/dist/components/custom/dot-matrix/composables/dotMatrixField.d.ts +0 -89
  807. package/dist/components/custom/dot-matrix/composables/uniformBridgeWGPU.d.ts +0 -52
  808. package/dist/components/custom/dot-matrix/composables/useDotMatrix.d.ts +0 -34
  809. package/dist/components/custom/dot-matrix/composables/useDotSphere.d.ts +0 -27
  810. package/dist/components/custom/dot-matrix/constants.d.ts +0 -58
  811. package/dist/components/custom/dot-matrix/index.d.ts +0 -5
  812. package/dist/components/custom/dot-matrix/shaders/dot-matrix.glsl.d.ts +0 -4
  813. package/dist/components/custom/dot-matrix/shaders/dot-matrix.wgsl.d.ts +0 -1
  814. package/dist/components/custom/expandable-container/ExpandableContainer.vue.d.ts +0 -71
  815. package/dist/components/custom/fourier-field/FourierField.vue.d.ts +0 -54
  816. package/dist/components/custom/fourier-field/composables/fourierFieldGLSetup.d.ts +0 -15
  817. package/dist/components/custom/fourier-field/composables/fourierFieldWGPUSetup.d.ts +0 -20
  818. package/dist/components/custom/fourier-field/composables/uniformBridgeWGPU.d.ts +0 -41
  819. package/dist/components/custom/fourier-field/composables/useFourierField.d.ts +0 -42
  820. package/dist/components/custom/fourier-field/constants.d.ts +0 -64
  821. package/dist/components/custom/fourier-field/index.d.ts +0 -31
  822. package/dist/components/custom/fourier-field/math.d.ts +0 -86
  823. package/dist/components/custom/fourier-field/shaders/fourier-field.glsl.d.ts +0 -4
  824. package/dist/components/custom/fourier-field/shaders/fourier-field.render.wgsl.d.ts +0 -1
  825. package/dist/components/custom/glass-panel/GlassPanel.vue.d.ts +0 -49
  826. package/dist/components/custom/glass-panel/index.d.ts +0 -2
  827. package/dist/components/custom/goo-blob/GooBlob.vue.d.ts +0 -71
  828. package/dist/components/custom/goo-blob/composables/easing.d.ts +0 -6
  829. package/dist/components/custom/goo-blob/composables/uploadBlobUniforms.d.ts +0 -41
  830. package/dist/components/custom/goo-blob/composables/useBlobPointer.d.ts +0 -62
  831. package/dist/components/custom/goo-blob/composables/useBlobSatellites.d.ts +0 -15
  832. package/dist/components/custom/goo-blob/composables/useMetaballRenderer.d.ts +0 -69
  833. package/dist/components/custom/goo-blob/composables/wgpuSetup.d.ts +0 -23
  834. package/dist/components/custom/goo-blob/constants.d.ts +0 -57
  835. package/dist/components/custom/goo-blob/index.d.ts +0 -7
  836. package/dist/components/custom/goo-blob/shaders/metaball-uniforms.glsl.d.ts +0 -1
  837. package/dist/components/custom/goo-blob/shaders/metaball.wgsl.d.ts +0 -1
  838. package/dist/components/custom/goo-blob/types.d.ts +0 -195
  839. package/dist/components/custom/goo-dot-matrix/GooDotMatrix.vue.d.ts +0 -49
  840. package/dist/components/custom/goo-dot-matrix/composables/gooDotLattice.d.ts +0 -24
  841. package/dist/components/custom/goo-dot-matrix/composables/gooDotSetup.d.ts +0 -50
  842. package/dist/components/custom/goo-dot-matrix/composables/uniformBridgeWGPU.d.ts +0 -35
  843. package/dist/components/custom/goo-dot-matrix/composables/useGooDotMatrix.d.ts +0 -31
  844. package/dist/components/custom/goo-dot-matrix/constants.d.ts +0 -76
  845. package/dist/components/custom/goo-dot-matrix/index.d.ts +0 -5
  846. package/dist/components/custom/goo-dot-matrix/shaders/goo-dot.frag.d.ts +0 -11
  847. package/dist/components/custom/goo-dot-matrix/shaders/goo-dot.wgsl.d.ts +0 -3
  848. package/dist/components/custom/handmark/brush.d.ts +0 -269
  849. package/dist/components/custom/handmark/composables/useHandMark.d.ts +0 -89
  850. package/dist/components/custom/handmark/constants.d.ts +0 -39
  851. package/dist/components/custom/handmark/geometry.d.ts +0 -52
  852. package/dist/components/custom/handmark/index.d.ts +0 -27
  853. package/dist/components/custom/handmark/types.d.ts +0 -62
  854. package/dist/components/custom/header-ribbon/HeaderRibbon.vue.d.ts +0 -31
  855. package/dist/components/custom/header-ribbon/index.d.ts +0 -2
  856. package/dist/components/custom/header-ribbon/types.d.ts +0 -7
  857. package/dist/components/custom/hover-popover/HoverPopover.vue.d.ts +0 -132
  858. package/dist/components/custom/hover-popover/index.d.ts +0 -1
  859. package/dist/components/custom/icon-chip/types.d.ts +0 -82
  860. package/dist/components/custom/metric-badge/MetricBadge.vue.d.ts +0 -40
  861. package/dist/components/custom/metric-cell/MetricCell.vue.d.ts +0 -108
  862. package/dist/components/custom/metric-stack/MetricRow.vue.d.ts +0 -120
  863. package/dist/components/custom/paper-grid/PaperGrid.vue.d.ts +0 -42
  864. package/dist/components/custom/paper-grid/composables/paperGrid.d.ts +0 -90
  865. package/dist/components/custom/paper-grid/composables/paperGridGLSetup.d.ts +0 -16
  866. package/dist/components/custom/paper-grid/composables/paperGridWGPUSetup.d.ts +0 -19
  867. package/dist/components/custom/paper-grid/composables/uniformBridgeWGPU.d.ts +0 -16
  868. package/dist/components/custom/paper-grid/composables/usePaperGrid.d.ts +0 -31
  869. package/dist/components/custom/paper-grid/constants.d.ts +0 -57
  870. package/dist/components/custom/paper-grid/index.d.ts +0 -5
  871. package/dist/components/custom/paper-grid/shaders/paper-grid.glsl.d.ts +0 -4
  872. package/dist/components/custom/paper-grid/shaders/paper-grid.wgsl.d.ts +0 -1
  873. package/dist/components/custom/scrolling-text/ScrollingText.vue.d.ts +0 -20
  874. package/dist/components/custom/scrolling-text/index.d.ts +0 -1
  875. package/dist/components/custom/search/FuzzySearch.vue.d.ts +0 -22
  876. package/dist/components/custom/search/SearchBar.vue.d.ts +0 -38
  877. package/dist/components/custom/search/searchVariants.d.ts +0 -19
  878. package/dist/components/custom/selectable-chip/SelectableChip.vue.d.ts +0 -50
  879. package/dist/components/custom/selectable-chip/index.d.ts +0 -2
  880. package/dist/components/custom/selectable-chip/selectableChipVariants.d.ts +0 -23
  881. package/dist/components/custom/sortable-list/SortableHandle.vue.d.ts +0 -38
  882. package/dist/components/custom/sortable-list/SortableItem.vue.d.ts +0 -38
  883. package/dist/components/custom/sortable-list/SortableList.vue.d.ts +0 -76
  884. package/dist/components/custom/sortable-list/context.d.ts +0 -25
  885. package/dist/components/custom/sortable-list/index.d.ts +0 -4
  886. package/dist/components/custom/split-chars/SplitChars.vue.d.ts +0 -39
  887. package/dist/components/custom/stacked-icons/types.d.ts +0 -18
  888. package/dist/components/custom/tabs/SegmentedTabs.vue.d.ts +0 -99
  889. package/dist/components/custom/tabs/composables/useTabDragMorph.d.ts +0 -42
  890. package/dist/components/custom/tabs/composables/useTabIndicator.d.ts +0 -58
  891. package/dist/components/custom/tabs/constants.d.ts +0 -36
  892. package/dist/components/custom/timeline/ContinuousMarkers.vue.d.ts +0 -49
  893. package/dist/components/custom/timeline/GlassTimeline.vue.d.ts +0 -114
  894. package/dist/components/custom/timeline/ScrubberTimeline.vue.d.ts +0 -29
  895. package/dist/components/custom/timeline/geometry.d.ts +0 -100
  896. package/dist/components/custom/toggle-chip/ToggleChip.vue.d.ts +0 -41
  897. package/dist/components/custom/toggle-chip/index.d.ts +0 -17
  898. package/dist/components/custom/watercolor-dot/WatercolorDot.vue.d.ts +0 -72
  899. package/dist/components/custom/watercolor-dot/prng.d.ts +0 -5
  900. package/dist/components/custom/watercolor-dot/useWatercolorBlob.d.ts +0 -29
  901. package/dist/components/ui/_shared/index.d.ts +0 -6
  902. package/dist/components/ui/_shared/menuItemVariants.d.ts +0 -51
  903. package/dist/components/ui/_shared/useControlSize.d.ts +0 -46
  904. package/dist/components/ui/_shared/useSurfaceAxis.d.ts +0 -41
  905. package/dist/components/ui/alert/Alert.vue.d.ts +0 -19
  906. package/dist/components/ui/alert/index.d.ts +0 -8
  907. package/dist/components/ui/avatar/Avatar.vue.d.ts +0 -23
  908. package/dist/components/ui/avatar/index.d.ts +0 -9
  909. package/dist/components/ui/badge/Badge.vue.d.ts +0 -20
  910. package/dist/components/ui/badge/index.d.ts +0 -7
  911. package/dist/components/ui/button/Button.vue.d.ts +0 -28
  912. package/dist/components/ui/button/index.d.ts +0 -7
  913. package/dist/components/ui/card/Card.vue.d.ts +0 -168
  914. package/dist/components/ui/card/CardHeader.vue.d.ts +0 -81
  915. package/dist/components/ui/carousel/Carousel.vue.d.ts +0 -37
  916. package/dist/components/ui/carousel/CarouselContent.vue.d.ts +0 -16
  917. package/dist/components/ui/carousel/CarouselNext.vue.d.ts +0 -22
  918. package/dist/components/ui/carousel/CarouselPrevious.vue.d.ts +0 -22
  919. package/dist/components/ui/carousel/GlassCarouselPager.vue.d.ts +0 -50
  920. package/dist/components/ui/carousel/useCarousel.d.ts +0 -20
  921. package/dist/components/ui/combobox/Combobox.vue.d.ts +0 -29
  922. package/dist/components/ui/combobox/ComboboxList.vue.d.ts +0 -32
  923. package/dist/components/ui/command/index.d.ts +0 -9
  924. package/dist/components/ui/context-menu/ContextMenu.vue.d.ts +0 -18
  925. package/dist/components/ui/context-menu/ContextMenuCheckboxItem.vue.d.ts +0 -24
  926. package/dist/components/ui/context-menu/ContextMenuContent.vue.d.ts +0 -34
  927. package/dist/components/ui/context-menu/ContextMenuItem.vue.d.ts +0 -23
  928. package/dist/components/ui/context-menu/ContextMenuLabel.vue.d.ts +0 -19
  929. package/dist/components/ui/context-menu/ContextMenuRadioGroup.vue.d.ts +0 -18
  930. package/dist/components/ui/context-menu/ContextMenuRadioItem.vue.d.ts +0 -22
  931. package/dist/components/ui/context-menu/ContextMenuSeparator.vue.d.ts +0 -8
  932. package/dist/components/ui/context-menu/ContextMenuShortcut.vue.d.ts +0 -17
  933. package/dist/components/ui/context-menu/ContextMenuSubContent.vue.d.ts +0 -34
  934. package/dist/components/ui/context-menu/ContextMenuSubTrigger.vue.d.ts +0 -19
  935. package/dist/components/ui/context-menu/ContextMenuTrigger.vue.d.ts +0 -14
  936. package/dist/components/ui/context-menu/index.d.ts +0 -12
  937. package/dist/components/ui/dialog/DialogContent.vue.d.ts +0 -84
  938. package/dist/components/ui/drawer/Drawer.vue.d.ts +0 -67
  939. package/dist/components/ui/drawer/DrawerContent.vue.d.ts +0 -47
  940. package/dist/components/ui/drawer/composables/useDrawerSnap.d.ts +0 -17
  941. package/dist/components/ui/drawer/constants.d.ts +0 -45
  942. package/dist/components/ui/drawer/index.d.ts +0 -25
  943. package/dist/components/ui/dropdown-menu/DropdownMenu.vue.d.ts +0 -18
  944. package/dist/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +0 -36
  945. package/dist/components/ui/dropdown-menu/index.d.ts +0 -15
  946. package/dist/components/ui/hover-card/HoverCard.vue.d.ts +0 -18
  947. package/dist/components/ui/hover-card/HoverCardContent.vue.d.ts +0 -23
  948. package/dist/components/ui/hover-card/HoverCardTrigger.vue.d.ts +0 -14
  949. package/dist/components/ui/hover-card/index.d.ts +0 -3
  950. package/dist/components/ui/index.d.ts +0 -41
  951. package/dist/components/ui/metric-pill/MetricPill.vue.d.ts +0 -46
  952. package/dist/components/ui/metric-pill/index.d.ts +0 -1
  953. package/dist/components/ui/multi-select/MultiSelect.vue.d.ts +0 -28
  954. package/dist/components/ui/multi-select/index.d.ts +0 -7
  955. package/dist/components/ui/notification/Notification.vue.d.ts +0 -16
  956. package/dist/components/ui/popover/Popover.vue.d.ts +0 -18
  957. package/dist/components/ui/popover/PopoverContent.vue.d.ts +0 -42
  958. package/dist/components/ui/popover/PopoverTrigger.vue.d.ts +0 -14
  959. package/dist/components/ui/progress/Progress.vue.d.ts +0 -49
  960. package/dist/components/ui/progress/index.d.ts +0 -5
  961. package/dist/components/ui/select/SelectContent.vue.d.ts +0 -33
  962. package/dist/components/ui/sheet/Sheet.vue.d.ts +0 -18
  963. package/dist/components/ui/sheet/SheetClose.vue.d.ts +0 -14
  964. package/dist/components/ui/sheet/SheetContent.vue.d.ts +0 -59
  965. package/dist/components/ui/sheet/SheetDescription.vue.d.ts +0 -18
  966. package/dist/components/ui/sheet/SheetFooter.vue.d.ts +0 -17
  967. package/dist/components/ui/sheet/SheetHeader.vue.d.ts +0 -17
  968. package/dist/components/ui/sheet/SheetTitle.vue.d.ts +0 -18
  969. package/dist/components/ui/sheet/SheetTrigger.vue.d.ts +0 -14
  970. package/dist/components/ui/sheet/index.d.ts +0 -13
  971. package/dist/components/ui/slider/Slider.vue.d.ts +0 -28
  972. package/dist/components/ui/slider/index.d.ts +0 -46
  973. package/dist/components/ui/tabs/Tabs.vue.d.ts +0 -19
  974. package/dist/components/ui/tabs/TabsContent.vue.d.ts +0 -18
  975. package/dist/components/ui/tabs/TabsIndicator.vue.d.ts +0 -11
  976. package/dist/components/ui/tabs/TabsList.vue.d.ts +0 -28
  977. package/dist/components/ui/tabs/TabsTrigger.vue.d.ts +0 -18
  978. package/dist/components/ui/tabs/index.d.ts +0 -5
  979. package/dist/components/ui/toast/Toast.vue.d.ts +0 -107
  980. package/dist/components/ui/toast/index.d.ts +0 -9
  981. package/dist/components/ui/toast/use-toast.d.ts +0 -182
  982. package/dist/components/ui/toggle/Toggle.vue.d.ts +0 -29
  983. package/dist/components/ui/toggle/index.d.ts +0 -26
  984. package/dist/composables/glass/useGlassRenderer.d.ts +0 -44
  985. package/dist/composables/glass/useVizChoreography.d.ts +0 -123
  986. package/dist/composables/sortable/dragController.d.ts +0 -44
  987. package/dist/composables/sortable/types.d.ts +0 -133
  988. package/dist/composables/sortable/useSortable.d.ts +0 -34
  989. package/dist/concentric.d.ts +0 -1
  990. package/dist/concentric.js +0 -836
  991. package/dist/confirm-dialog.d.ts +0 -1
  992. package/dist/confirm-dialog.js +0 -82
  993. package/dist/context-menu.d.ts +0 -1
  994. package/dist/context-menu.js +0 -3
  995. package/dist/createCanvasLifecycle-Gh45Ce-p.js +0 -93
  996. package/dist/dockContext-BNfyPLe9.js +0 -17
  997. package/dist/dot-flow-field.d.ts +0 -1
  998. package/dist/dot-flow-field.js +0 -894
  999. package/dist/dot-matrix.d.ts +0 -1
  1000. package/dist/dot-matrix.js +0 -630
  1001. package/dist/dotMatrixField-D_x9_1qq.js +0 -48
  1002. package/dist/dropdown-menu-aJmV5SqE.js +0 -369
  1003. package/dist/glass-panel.d.ts +0 -1
  1004. package/dist/glass-panel.js +0 -113
  1005. package/dist/goo-blob.d.ts +0 -1
  1006. package/dist/goo-blob.js +0 -346
  1007. package/dist/goo-dot-matrix.d.ts +0 -1
  1008. package/dist/goo-dot-matrix.js +0 -591
  1009. package/dist/hover-card.d.ts +0 -1
  1010. package/dist/hover-card.js +0 -2
  1011. package/dist/hover-popover.d.ts +0 -1
  1012. package/dist/hover-popover.js +0 -2
  1013. package/dist/math-Eb0w3LqU.js +0 -51
  1014. package/dist/menuItemVariants-D8VNHq22.js +0 -36
  1015. package/dist/paper-grid.d.ts +0 -1
  1016. package/dist/paper-grid.js +0 -788
  1017. package/dist/presets-CvOUqtdY.js +0 -84
  1018. package/dist/prng-B-d9eYX8.js +0 -15
  1019. package/dist/resolveCanvasColor-yPyIpJt9.js +0 -93
  1020. package/dist/scrolling-text.d.ts +0 -1
  1021. package/dist/scrolling-text.js +0 -2
  1022. package/dist/selectable-chip.d.ts +0 -1
  1023. package/dist/selectable-chip.js +0 -65
  1024. package/dist/sheet-B2flBfLH.js +0 -218
  1025. package/dist/sheet.d.ts +0 -1
  1026. package/dist/sheet.js +0 -2
  1027. package/dist/slider-2A0rPn79.js +0 -142
  1028. package/dist/spectrum-walk-BVzA7Biz.js +0 -33
  1029. package/dist/springPresets-Ce7OYCm9.js +0 -46
  1030. package/dist/styles/border-progress.css +0 -109
  1031. package/dist/styles/critical-partition.mjs +0 -162
  1032. package/dist/styles/critical.css +0 -12
  1033. package/dist/styles/deferred.css +0 -33
  1034. package/dist/styles/dock/morph-bridge.css +0 -159
  1035. package/dist/styles/dock/stack-rail.css +0 -264
  1036. package/dist/styles/floating-panel.css +0 -51
  1037. package/dist/styles/hover-popover.css +0 -47
  1038. package/dist/toggle-chip.d.ts +0 -1
  1039. package/dist/toggle-chip.js +0 -73
  1040. package/dist/uniformBridgeWGPU-CtAKl45L.js +0 -1204
  1041. package/dist/useAnimatedNumber-CLrxicG9.js +0 -40
  1042. package/dist/useConfiguratorState-4xblKfwd.js +0 -162
  1043. package/dist/useControlSize-SH1UmJCi.js +0 -9
  1044. package/dist/useDockCtaReceive-DfFkmgL1.js +0 -82
  1045. package/dist/useDragMorph-BUgAC-zK.js +0 -102
  1046. package/dist/useFuzzySearch-DIhcYtcw.js +0 -177
  1047. package/dist/useGpuSubstrate-4pTcp6mX.js +0 -294
  1048. package/dist/useIntersectionPause-Dbozzjgm.js +0 -53
  1049. package/dist/useKeyboardShortcuts-BPRp33Im.js +0 -99
  1050. package/dist/useLiquidFlex-UmA6LMZu.js +0 -30
  1051. package/dist/useLiquidPress-BooG97RY.js +0 -39
  1052. package/dist/usePointerVelocityField-QLsy3_kv.js +0 -91
  1053. package/dist/useScrollChrome-D66AVP7C.js +0 -258
  1054. package/dist/useScrollProgress-c3yxmH6a.js +0 -35
  1055. package/dist/useSortable-BVqlJRBR.js +0 -246
  1056. package/dist/useSpring-C0jyvEJB.js +0 -40
  1057. package/dist/useSpringMount-BWDnKIwh.js +0 -71
  1058. package/dist/useSpringPress-B1-Czp-V.js +0 -36
  1059. package/dist/useSurfaceAxis-g0NloYEF.js +0 -7
  1060. package/dist/useTouchGate-CBZTD4SD.js +0 -84
  1061. package/dist/useUserInvalidAria-y5namzeE.js +0 -29
  1062. package/dist/useViewTransition-CUI1nAgn.js +0 -95
  1063. package/dist/utils/cn.d.ts +0 -27
  1064. package/dist/utils/index.d.ts +0 -4
  1065. package/dist/utils/moveBefore.d.ts +0 -15
  1066. package/dist/utils/platformSupport.d.ts +0 -8
  1067. package/dist/vendor-B2qOlYY3.js +0 -239
  1068. package/dist/virtual.d.ts +0 -1
  1069. package/dist/virtual.js +0 -225
  1070. package/src/styles/border-progress.css +0 -109
  1071. package/src/styles/critical-partition.mjs +0 -162
  1072. package/src/styles/dock/morph-bridge.css +0 -159
  1073. package/src/styles/dock/stack-rail.css +0 -264
  1074. package/src/styles/floating-panel.css +0 -49
  1075. package/src/styles/hover-popover.css +0 -45
  1076. /package/dist/{compile-nZ1xVYTp.js → compile-C55K3P9g.js} +0 -0
  1077. /package/dist/components/{ui/_shared → _shared}/ModalOverlay.vue.d.ts +0 -0
  1078. /package/dist/components/{ui/_shared → _shared}/useStalePropWarning.d.ts +0 -0
  1079. /package/dist/components/{ui/accordion → accordion}/Accordion.vue.d.ts +0 -0
  1080. /package/dist/components/{ui/accordion → accordion}/AccordionContent.vue.d.ts +0 -0
  1081. /package/dist/components/{ui/accordion → accordion}/AccordionItem.vue.d.ts +0 -0
  1082. /package/dist/components/{ui/accordion → accordion}/AccordionTrigger.vue.d.ts +0 -0
  1083. /package/dist/components/{ui/accordion → accordion}/index.d.ts +0 -0
  1084. /package/dist/components/{ui/alert → alert}/AlertDescription.vue.d.ts +0 -0
  1085. /package/dist/components/{ui/alert → alert}/AlertTitle.vue.d.ts +0 -0
  1086. /package/dist/components/{custom/animated-digit → animated-digit}/AnimatedDigit.vue.d.ts +0 -0
  1087. /package/dist/components/{custom/animated-digit → animated-digit}/index.d.ts +0 -0
  1088. /package/dist/components/{custom/aurora → aurora}/composables/auroraFallbackGround.d.ts +0 -0
  1089. /package/dist/components/{custom/aurora → aurora}/composables/configSource.d.ts +0 -0
  1090. /package/dist/components/{custom/aurora → aurora}/constants/budget.d.ts +0 -0
  1091. /package/dist/components/{custom/aurora → aurora}/constants/renderMode.d.ts +0 -0
  1092. /package/dist/components/{custom/aurora → aurora}/constants/shaders/aurora.frag.d.ts +0 -0
  1093. /package/dist/components/{custom/aurora → aurora}/constants/shaders/aurora.vert.d.ts +0 -0
  1094. /package/dist/components/{custom/aurora → aurora}/constants/shaders/composition.glsl.d.ts +0 -0
  1095. /package/dist/components/{custom/aurora → aurora}/constants/shaders/oil-modes.glsl.d.ts +0 -0
  1096. /package/dist/components/{custom/aurora → aurora}/constants/shaders/procedural-color.wgsl.d.ts +0 -0
  1097. /package/dist/components/{custom/aurora → aurora}/constants/shaders/tonemap.glsl.d.ts +0 -0
  1098. /package/dist/components/{custom/aurora → aurora}/constants/shaders/vangogh-medium.glsl.d.ts +0 -0
  1099. /package/dist/components/{ui/avatar → avatar}/AvatarFallback.vue.d.ts +0 -0
  1100. /package/dist/components/{ui/avatar → avatar}/AvatarImage.vue.d.ts +0 -0
  1101. /package/dist/components/{custom/goo-blob → blob}/composables/buildMetaballProgram.d.ts +0 -0
  1102. /package/dist/components/{custom/goo-blob → blob}/composables/uniformBridgeWGPU.d.ts +0 -0
  1103. /package/dist/components/{custom/goo-blob → blob}/composables/useBlobMood.d.ts +0 -0
  1104. /package/dist/components/{custom/goo-blob → blob}/shaders/metaball-noise.wgsl.d.ts +0 -0
  1105. /package/dist/components/{custom/goo-blob → blob}/shaders/metaball-palette.wgsl.d.ts +0 -0
  1106. /package/dist/components/{custom/goo-blob → blob}/shaders/metaball.frag.d.ts +0 -0
  1107. /package/dist/components/{custom/goo-blob → blob}/shaders/metaball.vert.d.ts +0 -0
  1108. /package/dist/components/{custom/goo-blob → blob}/shaders/oklch-perturb.glsl.d.ts +0 -0
  1109. /package/dist/components/{custom/goo-blob → blob}/shaders/sdf-body.glsl.d.ts +0 -0
  1110. /package/dist/components/{custom/goo-blob → blob}/shaders/watercolor-edges.glsl.d.ts +0 -0
  1111. /package/dist/components/{ui/card → card}/CardAction.vue.d.ts +0 -0
  1112. /package/dist/components/{ui/card → card}/CardContent.vue.d.ts +0 -0
  1113. /package/dist/components/{ui/card → card}/CardDescription.vue.d.ts +0 -0
  1114. /package/dist/components/{ui/card → card}/CardFooter.vue.d.ts +0 -0
  1115. /package/dist/components/{ui/card → card}/CardTitle.vue.d.ts +0 -0
  1116. /package/dist/components/{ui/card → card}/ScrollCard.vue.d.ts +0 -0
  1117. /package/dist/components/{ui/card → card}/ScrollCardHeader.vue.d.ts +0 -0
  1118. /package/dist/components/{ui/card → card}/index.d.ts +0 -0
  1119. /package/dist/components/{ui/carousel → carousel}/CarouselItem.vue.d.ts +0 -0
  1120. /package/dist/components/{ui/carousel → carousel}/CarouselPager.vue.d.ts +0 -0
  1121. /package/dist/components/{ui/carousel → carousel}/index.d.ts +0 -0
  1122. /package/dist/components/{ui/carousel → carousel}/interface.d.ts +0 -0
  1123. /package/dist/components/{ui/checkbox → checkbox}/Checkbox.vue.d.ts +0 -0
  1124. /package/dist/components/{ui/checkbox → checkbox}/index.d.ts +0 -0
  1125. /package/dist/components/{ui/collapsible → collapsible}/Collapsible.vue.d.ts +0 -0
  1126. /package/dist/components/{ui/collapsible → collapsible}/CollapsibleContent.vue.d.ts +0 -0
  1127. /package/dist/components/{ui/collapsible → collapsible}/CollapsibleTrigger.vue.d.ts +0 -0
  1128. /package/dist/components/{ui/collapsible → collapsible}/index.d.ts +0 -0
  1129. /package/dist/components/{custom/color-swatch → color-swatch}/ColorSwatch.vue.d.ts +0 -0
  1130. /package/dist/components/{custom/color-swatch → color-swatch}/index.d.ts +0 -0
  1131. /package/dist/components/{ui/combobox → combobox}/ComboboxAnchor.vue.d.ts +0 -0
  1132. /package/dist/components/{ui/combobox → combobox}/ComboboxEmpty.vue.d.ts +0 -0
  1133. /package/dist/components/{ui/combobox → combobox}/ComboboxGroup.vue.d.ts +0 -0
  1134. /package/dist/components/{ui/combobox → combobox}/ComboboxInput.vue.d.ts +0 -0
  1135. /package/dist/components/{ui/combobox → combobox}/ComboboxItem.vue.d.ts +0 -0
  1136. /package/dist/components/{ui/combobox → combobox}/ComboboxItemIndicator.vue.d.ts +0 -0
  1137. /package/dist/components/{ui/combobox → combobox}/ComboboxSeparator.vue.d.ts +0 -0
  1138. /package/dist/components/{ui/combobox → combobox}/ComboboxViewport.vue.d.ts +0 -0
  1139. /package/dist/components/{ui/combobox → combobox}/index.d.ts +0 -0
  1140. /package/dist/components/{ui/command → command}/Command.vue.d.ts +0 -0
  1141. /package/dist/components/{ui/command → command}/CommandDialog.vue.d.ts +0 -0
  1142. /package/dist/components/{ui/command → command}/CommandEmpty.vue.d.ts +0 -0
  1143. /package/dist/components/{ui/command → command}/CommandGroup.vue.d.ts +0 -0
  1144. /package/dist/components/{ui/command → command}/CommandInput.vue.d.ts +0 -0
  1145. /package/dist/components/{ui/command → command}/CommandItem.vue.d.ts +0 -0
  1146. /package/dist/components/{ui/command → command}/CommandList.vue.d.ts +0 -0
  1147. /package/dist/components/{ui/command → command}/CommandSeparator.vue.d.ts +0 -0
  1148. /package/dist/components/{ui/command → command}/CommandShortcut.vue.d.ts +0 -0
  1149. /package/dist/components/{custom/completion-seal → completion-seal}/composables/useCompletionSeal.d.ts +0 -0
  1150. /package/dist/components/{custom/completion-seal → completion-seal}/index.d.ts +0 -0
  1151. /package/dist/components/{custom/configurator → configurator}/ConfiguratorLayer.vue.d.ts +0 -0
  1152. /package/dist/components/{custom/configurator → configurator}/useConfiguratorState.d.ts +0 -0
  1153. /package/dist/components/{custom/constellation → constellation}/composables/createConstellationField.d.ts +0 -0
  1154. /package/dist/components/{custom/constellation → constellation}/composables/uniformBridgeWGPU.d.ts +0 -0
  1155. /package/dist/components/{custom/constellation → constellation}/constellationField.d.ts +0 -0
  1156. /package/dist/components/{custom/constellation → constellation}/constellationInteraction.d.ts +0 -0
  1157. /package/dist/components/{custom/constellation → constellation}/constellationRender.d.ts +0 -0
  1158. /package/dist/components/{custom/constellation → constellation}/constellationWell.d.ts +0 -0
  1159. /package/dist/components/{custom/constellation → constellation}/index.d.ts +0 -0
  1160. /package/dist/components/{custom/constellation → constellation}/shaders/constellation-lines.glsl.d.ts +0 -0
  1161. /package/dist/components/{custom/constellation → constellation}/shaders/constellation-lines.wgsl.d.ts +0 -0
  1162. /package/dist/components/{custom/constellation → constellation}/shaders/constellation-points.glsl.d.ts +0 -0
  1163. /package/dist/components/{custom/constellation → constellation}/shaders/constellation-points.wgsl.d.ts +0 -0
  1164. /package/dist/components/{custom/controls → controls}/DarkModeToggle.vue.d.ts +0 -0
  1165. /package/dist/components/{custom/controls → controls}/index.d.ts +0 -0
  1166. /package/dist/components/{ui/data-table → data-table}/DataTable.vue.d.ts +0 -0
  1167. /package/dist/components/{ui/data-table → data-table}/DataTablePagination.vue.d.ts +0 -0
  1168. /package/dist/components/{ui/data-table → data-table}/composables/useDataTableResponsive.d.ts +0 -0
  1169. /package/dist/components/{ui/data-table → data-table}/composables/useDataTableRowIdentity.d.ts +0 -0
  1170. /package/dist/components/{ui/data-table → data-table}/index.d.ts +0 -0
  1171. /package/dist/components/{ui/data-table → data-table}/types.d.ts +0 -0
  1172. /package/dist/components/{custom/deck → deck}/DeckPager.vue.d.ts +0 -0
  1173. /package/dist/components/{custom/deck → deck}/composables/useDeck.d.ts +0 -0
  1174. /package/dist/components/{custom/deck → deck}/composables/useDeckKeyboard.d.ts +0 -0
  1175. /package/dist/components/{custom/deck → deck}/composables/useDeckSpring.d.ts +0 -0
  1176. /package/dist/components/{custom/deck → deck}/constants.d.ts +0 -0
  1177. /package/dist/components/{custom/deck → deck}/index.d.ts +0 -0
  1178. /package/dist/components/{ui/dialog → dialog}/Dialog.vue.d.ts +0 -0
  1179. /package/dist/components/{ui/dialog → dialog}/DialogClose.vue.d.ts +0 -0
  1180. /package/dist/components/{ui/dialog → dialog}/DialogDescription.vue.d.ts +0 -0
  1181. /package/dist/components/{ui/dialog → dialog}/DialogFooter.vue.d.ts +0 -0
  1182. /package/dist/components/{ui/dialog → dialog}/DialogHeader.vue.d.ts +0 -0
  1183. /package/dist/components/{ui/dialog → dialog}/DialogScrollContent.vue.d.ts +0 -0
  1184. /package/dist/components/{ui/dialog → dialog}/DialogTitle.vue.d.ts +0 -0
  1185. /package/dist/components/{ui/dialog → dialog}/DialogTrigger.vue.d.ts +0 -0
  1186. /package/dist/components/{ui/dialog → dialog}/index.d.ts +0 -0
  1187. /package/dist/components/{custom/dock → dock}/DockSection.vue.d.ts +0 -0
  1188. /package/dist/components/{custom/dock → dock}/DockSeparator.vue.d.ts +0 -0
  1189. /package/dist/components/{custom/dock → dock}/composables/isTeleportedTarget.d.ts +0 -0
  1190. /package/dist/components/{custom/dock → dock}/composables/useDockClickIntegrity.d.ts +0 -0
  1191. /package/dist/components/{custom/dock → dock}/composables/useDockHold.d.ts +0 -0
  1192. /package/dist/components/{custom/dock → dock}/composables/useDockState.d.ts +0 -0
  1193. /package/dist/components/{ui/drawer → drawer}/DrawerDescription.vue.d.ts +0 -0
  1194. /package/dist/components/{ui/drawer → drawer}/DrawerFooter.vue.d.ts +0 -0
  1195. /package/dist/components/{ui/drawer → drawer}/DrawerHeader.vue.d.ts +0 -0
  1196. /package/dist/components/{ui/drawer → drawer}/DrawerOverlay.vue.d.ts +0 -0
  1197. /package/dist/components/{ui/drawer → drawer}/DrawerTitle.vue.d.ts +0 -0
  1198. /package/dist/components/{ui/drawer → drawer}/composables/drawerSnapContext.d.ts +0 -0
  1199. /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuCheckboxItem.vue.d.ts +0 -0
  1200. /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuGroup.vue.d.ts +0 -0
  1201. /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuItem.vue.d.ts +0 -0
  1202. /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuLabel.vue.d.ts +0 -0
  1203. /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuRadioGroup.vue.d.ts +0 -0
  1204. /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuRadioItem.vue.d.ts +0 -0
  1205. /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuSeparator.vue.d.ts +0 -0
  1206. /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuShortcut.vue.d.ts +0 -0
  1207. /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuSub.vue.d.ts +0 -0
  1208. /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuSubContent.vue.d.ts +0 -0
  1209. /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuSubTrigger.vue.d.ts +0 -0
  1210. /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuTrigger.vue.d.ts +0 -0
  1211. /package/dist/components/{custom/easing → easing}/EasingConfigurator.vue.d.ts +0 -0
  1212. /package/dist/components/{custom/easing → easing}/EasingPicker.vue.d.ts +0 -0
  1213. /package/dist/components/{custom/easing → easing}/composables/useEasingPicker.d.ts +0 -0
  1214. /package/dist/components/{custom/easing → easing}/constants.d.ts +0 -0
  1215. /package/dist/components/{custom/easing → easing}/index.d.ts +0 -0
  1216. /package/dist/components/{custom/expandable-container → expandable-container}/index.d.ts +0 -0
  1217. /package/dist/components/{custom/fading-scroll → fading-scroll}/FadingScroll.vue.d.ts +0 -0
  1218. /package/dist/components/{custom/fading-scroll → fading-scroll}/composables/useFadingScroll.d.ts +0 -0
  1219. /package/dist/components/{custom/fading-scroll → fading-scroll}/constants.d.ts +0 -0
  1220. /package/dist/components/{custom/fading-scroll → fading-scroll}/index.d.ts +0 -0
  1221. /package/dist/components/{ui/focus-scope → focus-scope}/FocusScope.vue.d.ts +0 -0
  1222. /package/dist/components/{ui/focus-scope → focus-scope}/index.d.ts +0 -0
  1223. /package/dist/components/{custom/fourier-field → fourier-field}/presets.d.ts +0 -0
  1224. /package/dist/components/{custom/fourier-field → fourier-field}/shaders/fourier-field.compute.wgsl.d.ts +0 -0
  1225. /package/dist/components/{custom/handmark → handmark}/HandMark.vue.d.ts +0 -0
  1226. /package/dist/components/{custom/handmark → handmark}/freehand.d.ts +0 -0
  1227. /package/dist/components/{custom/handmark → handmark}/ink.d.ts +0 -0
  1228. /package/dist/components/{custom/handmark → handmark}/texture.d.ts +0 -0
  1229. /package/dist/components/{custom/icon-chip → icon-chip}/IconChip.vue.d.ts +0 -0
  1230. /package/dist/components/{custom/icon-chip → icon-chip}/index.d.ts +0 -0
  1231. /package/dist/components/{custom/icon-tooltip → icon-tooltip}/IconTooltip.vue.d.ts +0 -0
  1232. /package/dist/components/{custom/icon-tooltip → icon-tooltip}/index.d.ts +0 -0
  1233. /package/dist/components/{custom/infinite-scroll → infinite-scroll}/InfiniteScroll.vue.d.ts +0 -0
  1234. /package/dist/components/{custom/infinite-scroll → infinite-scroll}/composables/index.d.ts +0 -0
  1235. /package/dist/components/{custom/infinite-scroll → infinite-scroll}/composables/types.d.ts +0 -0
  1236. /package/dist/components/{custom/infinite-scroll → infinite-scroll}/composables/useInfiniteScroll.d.ts +0 -0
  1237. /package/dist/components/{custom/infinite-scroll → infinite-scroll}/index.d.ts +0 -0
  1238. /package/dist/components/{ui/input → input}/Input.vue.d.ts +0 -0
  1239. /package/dist/components/{ui/input → input}/index.d.ts +0 -0
  1240. /package/dist/components/{custom/instrument-chassis → instrument-chassis}/ChassisDivider.vue.d.ts +0 -0
  1241. /package/dist/components/{custom/instrument-chassis → instrument-chassis}/InstrumentChassis.vue.d.ts +0 -0
  1242. /package/dist/components/{custom/instrument-chassis → instrument-chassis}/index.d.ts +0 -0
  1243. /package/dist/components/{ui/label → label}/Label.vue.d.ts +0 -0
  1244. /package/dist/components/{ui/label → label}/index.d.ts +0 -0
  1245. /package/dist/components/{custom/labeled-field → labeled-field}/LabeledField.vue.d.ts +0 -0
  1246. /package/dist/components/{custom/labeled-field → labeled-field}/LabeledInput.vue.d.ts +0 -0
  1247. /package/dist/components/{custom/labeled-field → labeled-field}/LabeledSelect.vue.d.ts +0 -0
  1248. /package/dist/components/{custom/labeled-field → labeled-field}/LabeledSlider.vue.d.ts +0 -0
  1249. /package/dist/components/{custom/labeled-field → labeled-field}/LabeledSwitch.vue.d.ts +0 -0
  1250. /package/dist/components/{custom/labeled-field → labeled-field}/index.d.ts +0 -0
  1251. /package/dist/{utils/coalesceMetric.d.ts → components/metric/coalesce-metric.d.ts} +0 -0
  1252. /package/dist/components/{custom/metric-badge → metric-badge}/index.d.ts +0 -0
  1253. /package/dist/components/{custom/metric-cell → metric-cell}/index.d.ts +0 -0
  1254. /package/dist/components/{custom/metric-stack → metric-stack}/MetricStack.vue.d.ts +0 -0
  1255. /package/dist/components/{custom/metric-stack → metric-stack}/index.d.ts +0 -0
  1256. /package/dist/components/{ui/notification → notification}/index.d.ts +0 -0
  1257. /package/dist/components/{ui/number-field → number-field}/NumberField.vue.d.ts +0 -0
  1258. /package/dist/components/{ui/number-field → number-field}/NumberFieldContent.vue.d.ts +0 -0
  1259. /package/dist/components/{ui/number-field → number-field}/NumberFieldDecrement.vue.d.ts +0 -0
  1260. /package/dist/components/{ui/number-field → number-field}/NumberFieldIncrement.vue.d.ts +0 -0
  1261. /package/dist/components/{ui/number-field → number-field}/NumberFieldInput.vue.d.ts +0 -0
  1262. /package/dist/components/{ui/number-field → number-field}/index.d.ts +0 -0
  1263. /package/dist/components/{custom/pager-dots → pager-dots}/PagerDots.vue.d.ts +0 -0
  1264. /package/dist/components/{custom/pager-dots → pager-dots}/index.d.ts +0 -0
  1265. /package/dist/components/{custom/pager-dots → pager-dots}/pagerWindow.d.ts +0 -0
  1266. /package/dist/components/{custom/paper-backdrop → paper-backdrop}/PaperBackdrop.vue.d.ts +0 -0
  1267. /package/dist/components/{custom/paper-backdrop → paper-backdrop}/index.d.ts +0 -0
  1268. /package/dist/components/{ui/popover → popover}/index.d.ts +0 -0
  1269. /package/dist/components/{ui/progress → progress}/ProgressDefault.vue.d.ts +0 -0
  1270. /package/dist/components/{ui/progress → progress}/ProgressGradient.vue.d.ts +0 -0
  1271. /package/dist/components/{ui/progress → progress}/ProgressSectioned.vue.d.ts +0 -0
  1272. /package/dist/components/{ui/progress → progress}/useProgressGeometry.d.ts +0 -0
  1273. /package/dist/components/{custom/pulse → pulse}/Pulse.vue.d.ts +0 -0
  1274. /package/dist/components/{custom/pulse → pulse}/index.d.ts +0 -0
  1275. /package/dist/components/{ui/radio-group → radio-group}/RadioGroup.vue.d.ts +0 -0
  1276. /package/dist/components/{ui/radio-group → radio-group}/RadioGroupItem.vue.d.ts +0 -0
  1277. /package/dist/components/{ui/radio-group → radio-group}/index.d.ts +0 -0
  1278. /package/dist/components/{custom/search → search}/composables/fuzzySearchIndex.d.ts +0 -0
  1279. /package/dist/components/{custom/search → search}/composables/index.d.ts +0 -0
  1280. /package/dist/components/{custom/search → search}/composables/types.d.ts +0 -0
  1281. /package/dist/components/{custom/search → search}/composables/useFuzzySearch.d.ts +0 -0
  1282. /package/dist/components/{custom/search → search}/index.d.ts +0 -0
  1283. /package/dist/components/{ui/section → section}/Section.vue.d.ts +0 -0
  1284. /package/dist/components/{ui/section → section}/index.d.ts +0 -0
  1285. /package/dist/components/{ui/select → select}/Select.vue.d.ts +0 -0
  1286. /package/dist/components/{ui/select → select}/SelectGroup.vue.d.ts +0 -0
  1287. /package/dist/components/{ui/select → select}/SelectItem.vue.d.ts +0 -0
  1288. /package/dist/components/{ui/select → select}/SelectLabel.vue.d.ts +0 -0
  1289. /package/dist/components/{ui/select → select}/SelectScrollDownButton.vue.d.ts +0 -0
  1290. /package/dist/components/{ui/select → select}/SelectScrollUpButton.vue.d.ts +0 -0
  1291. /package/dist/components/{ui/select → select}/SelectSeparator.vue.d.ts +0 -0
  1292. /package/dist/components/{ui/select → select}/SelectTrigger.vue.d.ts +0 -0
  1293. /package/dist/components/{ui/select → select}/SelectValue.vue.d.ts +0 -0
  1294. /package/dist/components/{ui/select → select}/index.d.ts +0 -0
  1295. /package/dist/components/{ui/separator → separator}/Separator.vue.d.ts +0 -0
  1296. /package/dist/components/{ui/separator → separator}/index.d.ts +0 -0
  1297. /package/dist/components/{ui/skeleton → skeleton}/Skeleton.vue.d.ts +0 -0
  1298. /package/dist/components/{ui/skeleton → skeleton}/index.d.ts +0 -0
  1299. /package/dist/{composables/sortable → components/sortable-list/composables}/dropResolver.d.ts +0 -0
  1300. /package/dist/{composables/sortable → components/sortable-list/composables}/ghostRenderer.d.ts +0 -0
  1301. /package/dist/{composables/sortable → components/sortable-list/composables}/index.d.ts +0 -0
  1302. /package/dist/{composables/sortable → components/sortable-list/composables}/touchGate.d.ts +0 -0
  1303. /package/dist/{composables/sortable → components/sortable-list/composables}/transitionTiming.d.ts +0 -0
  1304. /package/dist/components/{custom/spa-view → spa-view}/SpaView.vue.d.ts +0 -0
  1305. /package/dist/components/{custom/spa-view → spa-view}/index.d.ts +0 -0
  1306. /package/dist/components/{custom/split-chars → split-chars}/index.d.ts +0 -0
  1307. /package/dist/components/{custom/stacked-icons → stacked-icons}/StackedIconGroup.vue.d.ts +0 -0
  1308. /package/dist/components/{custom/stacked-icons → stacked-icons}/index.d.ts +0 -0
  1309. /package/dist/components/{custom/status-dot → status-dot}/StatusDot.vue.d.ts +0 -0
  1310. /package/dist/components/{custom/status-dot → status-dot}/index.d.ts +0 -0
  1311. /package/dist/components/{ui/switch → switch}/Switch.vue.d.ts +0 -0
  1312. /package/dist/components/{ui/switch → switch}/index.d.ts +0 -0
  1313. /package/dist/components/{ui/table → table}/Table.vue.d.ts +0 -0
  1314. /package/dist/components/{ui/table → table}/TableBody.vue.d.ts +0 -0
  1315. /package/dist/components/{ui/table → table}/TableCaption.vue.d.ts +0 -0
  1316. /package/dist/components/{ui/table → table}/TableCell.vue.d.ts +0 -0
  1317. /package/dist/components/{ui/table → table}/TableEmpty.vue.d.ts +0 -0
  1318. /package/dist/components/{ui/table → table}/TableHead.vue.d.ts +0 -0
  1319. /package/dist/components/{ui/table → table}/TableHeader.vue.d.ts +0 -0
  1320. /package/dist/components/{ui/table → table}/TableRow.vue.d.ts +0 -0
  1321. /package/dist/components/{ui/table → table}/index.d.ts +0 -0
  1322. /package/dist/components/{custom/tabs → tabs}/index.d.ts +0 -0
  1323. /package/dist/components/{ui/tags-input → tags-input}/TagsInput.vue.d.ts +0 -0
  1324. /package/dist/components/{ui/tags-input → tags-input}/TagsInputInput.vue.d.ts +0 -0
  1325. /package/dist/components/{ui/tags-input → tags-input}/TagsInputItem.vue.d.ts +0 -0
  1326. /package/dist/components/{ui/tags-input → tags-input}/TagsInputItemDelete.vue.d.ts +0 -0
  1327. /package/dist/components/{ui/tags-input → tags-input}/TagsInputItemText.vue.d.ts +0 -0
  1328. /package/dist/components/{ui/tags-input → tags-input}/index.d.ts +0 -0
  1329. /package/dist/components/{ui/textarea → textarea}/Textarea.vue.d.ts +0 -0
  1330. /package/dist/components/{ui/textarea → textarea}/index.d.ts +0 -0
  1331. /package/dist/components/{custom/timeline → timeline}/ContinuousRail.vue.d.ts +0 -0
  1332. /package/dist/components/{custom/timeline → timeline}/ContinuousTimeline.vue.d.ts +0 -0
  1333. /package/dist/components/{custom/timeline → timeline}/SegmentedTimeline.vue.d.ts +0 -0
  1334. /package/dist/components/{custom/timeline → timeline}/index.d.ts +0 -0
  1335. /package/dist/components/{custom/timeline → timeline}/types.d.ts +0 -0
  1336. /package/dist/components/{ui/toast → toast}/ToastAction.vue.d.ts +0 -0
  1337. /package/dist/components/{ui/toast → toast}/ToastClose.vue.d.ts +0 -0
  1338. /package/dist/components/{ui/toast → toast}/ToastDescription.vue.d.ts +0 -0
  1339. /package/dist/components/{ui/toast → toast}/ToastTitle.vue.d.ts +0 -0
  1340. /package/dist/components/{ui/toast → toast}/Toaster.vue.d.ts +0 -0
  1341. /package/dist/components/{ui/toggle-group → toggle-group}/ToggleGroup.vue.d.ts +0 -0
  1342. /package/dist/components/{ui/toggle-group → toggle-group}/ToggleGroupItem.vue.d.ts +0 -0
  1343. /package/dist/components/{ui/toggle-group → toggle-group}/index.d.ts +0 -0
  1344. /package/dist/components/{ui/toggle-group → toggle-group}/toggleGroupContext.d.ts +0 -0
  1345. /package/dist/components/{ui/tooltip → tooltip}/Tooltip.vue.d.ts +0 -0
  1346. /package/dist/components/{ui/tooltip → tooltip}/TooltipContent.vue.d.ts +0 -0
  1347. /package/dist/components/{ui/tooltip → tooltip}/TooltipProvider.vue.d.ts +0 -0
  1348. /package/dist/components/{ui/tooltip → tooltip}/TooltipTrigger.vue.d.ts +0 -0
  1349. /package/dist/components/{ui/tooltip → tooltip}/index.d.ts +0 -0
  1350. /package/dist/components/{custom/typewriter → typewriter}/TypewriterText.vue.d.ts +0 -0
  1351. /package/dist/components/{custom/typewriter → typewriter}/composables/index.d.ts +0 -0
  1352. /package/dist/components/{custom/typewriter → typewriter}/composables/useTypewriter.d.ts +0 -0
  1353. /package/dist/components/{custom/typewriter → typewriter}/index.d.ts +0 -0
  1354. /package/dist/components/{custom/typewriter → typewriter}/types.d.ts +0 -0
  1355. /package/dist/components/{custom/typewriter → typewriter}/utils/keyboard.d.ts +0 -0
  1356. /package/dist/components/{custom/typewriter → typewriter}/utils/pausePatterns.d.ts +0 -0
  1357. /package/dist/components/{custom/typewriter → typewriter}/utils/timing.d.ts +0 -0
  1358. /package/dist/components/{custom/typewriter → typewriter}/utils/typoStateMachine.d.ts +0 -0
  1359. /package/dist/components/{custom/watercolor-dot → watercolor-dot}/index.d.ts +0 -0
  1360. /package/dist/{utils → composables/glass/procedural}/prng.d.ts +0 -0
  1361. /package/dist/{constants--C2DkLW8.js → constants-D8lSMkOz.js} +0 -0
  1362. /package/dist/{createContext-CpBNTRMI.js → createContext-BQ1Gy_LB.js} +0 -0
  1363. /package/dist/{flow.glsl-B2P7e0MT.js → flow.glsl-CVqPSj8_.js} +0 -0
  1364. /package/dist/{procedural-color.wgsl-m7Zgv35j.js → procedural-color.wgsl-ByduxnzV.js} +0 -0
  1365. /package/dist/{scrollReader-DI1NWxUw.js → scrollReader-DzYqPQ6V.js} +0 -0
  1366. /package/dist/{supportsCssTimeline-BWenxvHU.js → supportsCssTimeline-Ie4xJFbD.js} +0 -0
  1367. /package/dist/{useGlobalDark-CmjB9E32.js → useGlobalDark-DjKMEQE2.js} +0 -0
  1368. /package/dist/{useInterval-CNdua40W.js → useInterval-ZATRi-1T.js} +0 -0
  1369. /package/dist/{useResizeObserver-Bpoi7tRE.js → useResizeObserver-DDuoBeBo.js} +0 -0
  1370. /package/dist/{useResolveTokenColor-vAylyR0x.js → useResolveTokenColor-DVT5kwv6.js} +0 -0
  1371. /package/dist/{useTextHighlight-NmBM5V_4.js → useTextHighlight-C46Le9u_.js} +0 -0
  1372. /package/dist/{useTimer-BHJOKr35.js → useTimer-CkDV8SC2.js} +0 -0
  1373. /package/dist/{useViewportReady-anbac3m6.js → useViewportReady-c0isoKL8.js} +0 -0
  1374. /package/dist/{vReveal-D9k0jADx.js → vReveal-DUmiEkX_.js} +0 -0
  1375. /package/dist/{vSpecular-EX7loENl.js → vSpecular-DlYN0UZy.js} +0 -0
package/dist/dock.js CHANGED
@@ -1,34 +1,36 @@
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 { t as a } from "./useLiquidFlex-UmA6LMZu.js";
4
- import { t as o } from "./vSpecular-EX7loENl.js";
5
- import { t as s } from "./useResizeObserver-Bpoi7tRE.js";
6
- import { t as c } from "./useTouchGate-CBZTD4SD.js";
7
- import { n as l } from "./useResolveTokenColor-vAylyR0x.js";
8
- import { n as u, t as d } from "./createContext-CpBNTRMI.js";
9
- import { a as f, c as p, i as m, n as h, o as g, r as _, s as v, t as y } from "./dockContext-BNfyPLe9.js";
10
- import { t as b } from "./FadingScroll-DLRbH5Xr.js";
11
- import { t as x } from "./useIntersectionPause-Dbozzjgm.js";
12
- import { t as S } from "./useDragMorph-BUgAC-zK.js";
13
- import { t as C } from "./useDockCtaReceive-DfFkmgL1.js";
14
- import { r as w, t as T } from "./useScrollChrome-D66AVP7C.js";
15
- import { t as E } from "./useFuzzySearch-DIhcYtcw.js";
16
- 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 ne, renderSlot as G, resolveDynamicComponent as re, toDisplayString as ie, unref as K, useId as ae, useModel as q, useSlots as oe, useTemplateRef as J, watch as Y, withCtx as X, withDirectives as Z } from "vue";
17
- import { DropdownMenuTrigger as se, Primitive as ce, SelectIcon as le, SelectTrigger as ue, TabsIndicator as de, TabsList as fe, TabsRoot as pe, TabsTrigger as me, useForwardProps as he, useForwardPropsEmits as ge } from "reka-ui";
18
- import { SpringProgress as _e } from "@mkbabb/keyframes.js";
19
- //#region src/composables/glass/useGlassBackdropLuminance.ts
20
- var ve = "(prefers-reduced-motion: reduce)", Q = 32;
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
21
26
  function ye(e) {
22
- return typeof HTMLCanvasElement < "u" && e instanceof HTMLCanvasElement;
23
- }
24
- function be(e) {
25
27
  let t = e / 255;
26
28
  return t <= .03928 ? t / 12.92 : ((t + .055) / 1.055) ** 2.4;
27
29
  }
28
- function xe(e, t, n) {
29
- return .2126 * be(e) + .7152 * be(t) + .0722 * be(n);
30
+ function be(e, t, n) {
31
+ return .2126 * ye(e) + .7152 * ye(t) + .0722 * ye(n);
30
32
  }
31
- function Se(e) {
33
+ function xe(e) {
32
34
  let t = e.match(/rgba?\(\s*([\d.]+)[,\s]+([\d.]+)[,\s]+([\d.]+)(?:[,\s/]+([\d.]+))?/i);
33
35
  return t ? [
34
36
  Number(t[1]),
@@ -37,468 +39,487 @@ function Se(e) {
37
39
  t[4] === void 0 ? 1 : Number(t[4])
38
40
  ] : null;
39
41
  }
40
- function Ce(e) {
41
- if (!e) return null;
42
- if (ye(e)) return e;
42
+ function Se(e) {
43
+ return typeof HTMLCanvasElement < "u" && e instanceof HTMLCanvasElement;
44
+ }
45
+ //#endregion
46
+ //#region src/composables/glass/ambientHueHistogram.ts
47
+ var $ = 12, Ce = .72, we = .06, Te = .004;
48
+ function Ee() {
49
+ return {
50
+ weight: new Float64Array($),
51
+ sumCos: new Float64Array($),
52
+ sumSin: new Float64Array($),
53
+ totalMass: 0,
54
+ n: 0
55
+ };
56
+ }
57
+ function De(e, t, n, r, i) {
58
+ e.n++;
59
+ let [a, o, s] = ve(t, n, r), [, c, l] = _e(a, o, s);
60
+ if (!Number.isFinite(c) || !Number.isFinite(l) || c <= 0) return;
61
+ let u = c * i;
62
+ if (u <= 0) return;
63
+ let d = l * Math.PI / 180, f = Math.floor(l / 360 * $) % $;
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;
65
+ }
66
+ function Oe(e) {
67
+ if (e.n === 0 || e.totalMass / e.n < Te) return "transparent";
68
+ let t = 0;
69
+ for (let n = 1; n < $; n++) e.weight[n] > e.weight[t] && (t = n);
70
+ if (e.weight[t] <= 0) return "transparent";
71
+ let n = Math.atan2(e.sumSin[t], e.sumCos[t]) * 180 / Math.PI;
72
+ return n < 0 && (n += 360), `oklch(${Ce} ${we} ${n.toFixed(1)})`;
73
+ }
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;
43
84
  if (typeof e == "function") {
44
85
  let t = e();
45
- return ye(t) ? t : null;
86
+ return Se(t) ? t : null;
46
87
  }
47
88
  if (typeof e == "string" && typeof document < "u") {
48
89
  let t = document.querySelector(e);
49
- return ye(t) ? t : null;
90
+ return Se(t) ? t : null;
50
91
  }
51
92
  return null;
52
93
  }
53
- function we(e, t = {}) {
54
- let { lightThreshold: n = .6, minSampleIntervalMs: r = 250, writeBucket: i = !0 } = t, a = Math.max(250, r), o = W(null), c = 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);
55
158
  if (typeof window > "u") return {
56
- luma: U(o),
57
- bucket: U(c),
159
+ luma: U(l),
160
+ bucket: U(u),
58
161
  sampleNow: () => {},
59
162
  dispose: () => {}
60
163
  };
61
- let u = window.matchMedia(ve), d = u.matches, f = null, p = null;
62
- function m() {
63
- return f || (f = document.createElement("canvas"), f.width = Q, f.height = Q), p ||= f.getContext("2d", { willReadFrequently: !0 }), p;
64
- }
164
+ let d = window.matchMedia(Fe), f = d.matches, p = null, m = null;
65
165
  function h() {
66
- return t.live === void 0 ? e.value?.dataset.glassSample === "live" : t.live;
67
- }
68
- function g(e) {
69
- let n = Ce(t.backgroundCanvas);
70
- if (!n || n.width === 0 || n.height === 0) return null;
71
- let r = m();
72
- if (!r) return null;
73
- let i = e.getBoundingClientRect(), a = n.getBoundingClientRect();
74
- if (a.width === 0 || a.height === 0) return null;
75
- 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));
76
- if (u <= 0 || d <= 0) return null;
77
- try {
78
- r.clearRect(0, 0, Q, Q), r.drawImage(n, c, l, u, d, 0, 0, Q, Q);
79
- let e = r.getImageData(0, 0, Q, Q).data, t = 0, i = 0;
80
- for (let n = 0; n < e.length; n += 4) {
81
- let r = e[n + 3] / 255, a = e[n] * r + 255 * (1 - r), o = e[n + 1] * r + 255 * (1 - r), s = e[n + 2] * r + 255 * (1 - r);
82
- t += xe(a, o, s), i++;
83
- }
84
- return i > 0 ? t / i : null;
85
- } catch {
86
- return null;
87
- }
166
+ return p || (p = document.createElement("canvas"), p.width = 32, p.height = 32), m ||= p.getContext("2d", { willReadFrequently: !0 }), m;
88
167
  }
89
- function _(e) {
90
- let t = e.getBoundingClientRect(), n = t.left + t.width / 2, r = t.top + t.height / 2, i = document.elementsFromPoint(n, r);
91
- for (let t of i) {
92
- if (!(t instanceof HTMLElement) || t === e || e.contains(t)) continue;
93
- let n = getComputedStyle(t).backgroundColor, r = Se(l(n, e));
94
- if (r && !(r[3] < .5)) return xe(r[0], r[1], r[2]);
95
- }
96
- let a = Se(l(getComputedStyle(document.body).backgroundColor, e));
97
- return a ? xe(a[0], a[1], a[2]) : null;
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;
98
173
  }
99
174
  function v(t) {
100
- o.value = t;
101
- let r = e.value;
102
- if (r && (r.style.setProperty("--glass-backdrop-luma", t.toFixed(3)), i)) {
103
- let e = t >= n ? "light" : "dark";
104
- c.value = e, r.style.setProperty("--glass-backdrop", e);
175
+ let r = t.luma;
176
+ l.value = r;
177
+ let a = e.value;
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)) {
179
+ let e = r >= n ? "light" : "dark";
180
+ u.value = e, a.style.setProperty("--glass-backdrop", e);
105
181
  }
106
182
  }
107
183
  let y = 0;
108
184
  function b() {
109
- let t = e.value;
110
- if (!t) return;
111
- let n = h() ? g(t) ?? _(t) : _(t);
112
- n !== null && v(n), y = typeof performance < "u" ? performance.now() : Date.now();
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();
113
189
  }
114
- let S = w(({ now: e }) => {
115
- d || e - y < a || b();
190
+ let x = S(({ now: e }) => {
191
+ f || e - y < a || b();
116
192
  }, {
117
193
  immediate: !1,
118
194
  pauseWhenHidden: !0,
119
195
  respectReducedMotion: !0
120
- }), C = x(() => e.value, {
121
- pause: () => S.pause(),
196
+ }), w = C(() => e.value, {
197
+ pause: () => x.pause(),
122
198
  resume: () => {
123
- h() && !d && S.resume();
199
+ let t = e.value;
200
+ t && c(t) || _() && !f && x.resume();
124
201
  }
125
202
  }, { rootMargin: "200px" }), T = s(e, () => b());
126
203
  function E() {
127
- d = u.matches, d ? (S.stop(), b()) : h() && S.start();
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();
128
211
  }
129
212
  let D = () => E();
130
- typeof u.addEventListener == "function" && u.addEventListener("change", D);
131
- let O = Y(() => e.value, (e) => {
132
- e && (b(), 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
+ }
133
220
  }, {
134
221
  immediate: !0,
135
222
  flush: "post"
136
223
  });
137
224
  function k() {
138
- O(), S.dispose(), C.dispose(), T.stop(), typeof u.removeEventListener == "function" && u.removeEventListener("change", D), f = null, p = null;
225
+ O(), x.dispose(), w.dispose(), T.stop(), typeof d.removeEventListener == "function" && d.removeEventListener("change", D), p = null, m = null;
139
226
  }
140
227
  return B(k), {
141
- luma: U(o),
142
- bucket: U(c),
228
+ luma: U(l),
229
+ bucket: U(u),
143
230
  sampleNow: b,
144
231
  dispose: k
145
232
  };
146
233
  }
147
234
  //#endregion
148
- //#region src/components/custom/dock/composables/isTeleportedTarget.ts
149
- function Te(e, t) {
235
+ //#region src/components/dock/composables/isTeleportedTarget.ts
236
+ function ze(e, t) {
150
237
  if (!(e instanceof Element)) return !1;
151
238
  let n = e.closest("[data-glass-dock-portal]");
152
239
  return n ? t ? n.getAttribute("data-glass-dock-owner") === t : !0 : !1;
153
240
  }
154
241
  //#endregion
155
- //#region src/components/custom/dock/composables/useDockState.ts
156
- function Ee(e) {
157
- let { collapseDelay: t = 2500, rootEl: n, alwaysExpanded: r = !1, isTransitioning: i, dockId: a, onStateChange: o } = e, s = () => typeof r == "boolean" ? r : r.value, c = s(), 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;
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;
158
245
  function y() {
159
246
  v &&= (clearTimeout(v), null);
160
247
  }
161
- function b(e) {
162
- if (!e) return !1;
163
- let t = n.value;
164
- if (!t || typeof t.getBoundingClientRect != "function" || !t.hasAttribute("data-morphing")) return !1;
165
- let r = t.getBoundingClientRect();
166
- 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;
167
251
  }
168
- let x = l.value;
169
252
  function S() {
170
- 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);
171
254
  }
172
255
  function C() {
173
- f &&= (clearTimeout(f), null);
256
+ g !== null && (cancelAnimationFrame(g), g = null);
174
257
  }
175
258
  function w() {
176
- g !== null && (cancelAnimationFrame(g), g = null);
259
+ C(), h?.();
177
260
  }
178
261
  function T() {
179
- w(), h?.();
180
- }
181
- function E() {
182
- s() || p.value > 0 || (C(), f = setTimeout(() => {
183
- D(), l.value = "collapsed", S();
262
+ s() || p.value > 0 || (S(), f = setTimeout(() => {
263
+ l.value = "collapsed", x();
184
264
  }, t));
185
265
  }
186
- function D() {
187
- typeof document > "u" || typeof PointerEvent > "u" || document.body.dispatchEvent(new PointerEvent("pointerdown", {
188
- bubbles: !0,
189
- composed: !0
190
- }));
191
- }
192
- function k() {
266
+ function E() {
193
267
  if (s()) {
194
- l.value = "pinned", S();
268
+ l.value = "pinned", x();
195
269
  return;
196
270
  }
197
- _ ||= (_ = !0, C(), y(), D(), l.value = "collapsed", S(), !1);
271
+ _ ||= (_ = !0, S(), y(), l.value = "collapsed", x(), !1);
198
272
  }
199
- function A() {
273
+ function D() {
200
274
  if (s()) {
201
- l.value = "pinned", S();
275
+ l.value = "pinned", x();
202
276
  return;
203
277
  }
204
- C(), y(), l.value = "hover", S();
278
+ S(), y(), l.value = "hover", x();
205
279
  }
206
- function j() {
207
- s() || (C(), l.value === "collapsed" && (y(), v = setTimeout(() => {
208
- 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());
209
283
  }, 60)));
210
284
  }
211
- function M(e) {
285
+ function A(e) {
212
286
  if (!s() && (y(), l.value === "hover")) {
213
287
  if (p.value > 0) return;
214
288
  if (e) {
215
289
  let t = n.value;
216
- if (t && e.relatedTarget instanceof Node && t.contains(e.relatedTarget) || Te(e.relatedTarget, a) || b(e)) return;
290
+ if (t && e.relatedTarget instanceof Node && t.contains(e.relatedTarget) || ze(e.relatedTarget, a)) return;
217
291
  }
218
- E();
292
+ T();
219
293
  }
220
294
  }
221
- function N() {
222
- s() || (C(), l.value === "collapsed" && (l.value = "hover", S()));
295
+ function j() {
296
+ s() || (S(), l.value === "collapsed" && (l.value = "hover", x()));
223
297
  }
224
- function P(e) {
298
+ function M(e) {
225
299
  if (s() || l.value !== "hover" || p.value > 0) return;
226
300
  let t = e.currentTarget;
227
- e.relatedTarget && t.contains(e.relatedTarget) || Te(e.relatedTarget, a) || E();
301
+ e.relatedTarget && t.contains(e.relatedTarget) || ze(e.relatedTarget, a) || T();
228
302
  }
229
- function F() {
303
+ function N() {
230
304
  if (s()) {
231
- l.value = "pinned", S();
305
+ l.value = "pinned", x();
232
306
  return;
233
307
  }
234
- C(), y(), l.value = "pinned", S();
308
+ S(), y(), l.value = "pinned", x();
235
309
  }
236
- function I() {
237
- p.value++, C();
310
+ function P() {
311
+ p.value++, S();
238
312
  }
239
- function L() {
240
- p.value = Math.max(0, p.value - 1), p.value === 0 && l.value === "hover" && (C(), f = setTimeout(() => {
241
- p.value === 0 && l.value === "hover" && E();
313
+ function F() {
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();
242
316
  }, Math.min(t, 800)));
243
317
  }
244
- function R(e) {
318
+ function I(e) {
245
319
  if (s() || i?.value) return;
246
320
  let t = n.value;
247
- !t || t.contains(e.target) || Te(e.target, a) || k();
321
+ !t || t.contains(e.target) || ze(e.target, a) || E();
248
322
  }
249
- return Y(u, (e) => {
250
- e ? (T(), g = requestAnimationFrame(() => {
251
- g = null, u.value && (document.addEventListener("pointerdown", R, !0), h = () => {
252
- document.removeEventListener("pointerdown", R, !0), h = null;
323
+ return X(u, (e) => {
324
+ e ? (w(), g = requestAnimationFrame(() => {
325
+ g = null, u.value && (document.addEventListener("pointerdown", I, !0), h = () => {
326
+ document.removeEventListener("pointerdown", I, !0), h = null;
253
327
  });
254
- })) : T();
255
- }), typeof r == "boolean" ? r && (l.value = "pinned", S()) : Y(r, (e) => {
328
+ })) : w();
329
+ }), typeof r == "boolean" ? r && (l.value = "pinned", x()) : X(r, (e) => {
256
330
  if (e) {
257
- C(), l.value = "pinned", S();
331
+ S(), l.value = "pinned", x();
258
332
  return;
259
333
  }
260
- l.value = "collapsed", S();
334
+ l.value = "collapsed", x();
261
335
  }, { immediate: !0 }), V(() => {
262
- C(), y(), T();
336
+ S(), y(), w();
263
337
  }), {
264
338
  state: l,
265
339
  expanded: u,
266
340
  isPinned: d,
267
341
  isHeld: m,
268
- onMouseEnter: j,
269
- onMouseLeave: M,
270
- onFocusIn: N,
271
- onFocusOut: P,
272
- onClickCollapsed: F,
273
- keepOpen: I,
274
- release: L,
275
- expand: A,
276
- collapse: k
342
+ onMouseEnter: k,
343
+ onMouseLeave: A,
344
+ onFocusIn: j,
345
+ onFocusOut: M,
346
+ onClickCollapsed: N,
347
+ keepOpen: P,
348
+ release: F,
349
+ expand: D,
350
+ collapse: E
277
351
  };
278
352
  }
279
353
  //#endregion
280
- //#region src/components/custom/dock/composables/dockMorphMeasure.ts
281
- function De(e) {
282
- return e === "vertical" ? "height" : "width";
283
- }
284
- function Oe(e) {
285
- return De(e) === "width" ? "inline-size" : "block-size";
286
- }
287
- function $(e, t) {
288
- return e.getBoundingClientRect()[De(t)];
289
- }
290
- function ke(e) {
291
- e.style.removeProperty("--dock-morph-from"), e.style.removeProperty("--dock-morph-to");
292
- }
293
- function Ae(e) {
294
- if (!e || typeof getComputedStyle != "function") return 44;
295
- let t = getComputedStyle(e).getPropertyValue("--dock-morph-min").trim();
296
- if (!t) return 44;
297
- let n = Number.parseFloat(t);
298
- return Number.isFinite(n) && n > 0 ? n : 44;
299
- }
300
- function je(e, t, n) {
301
- let r = [];
302
- for (let i of n) {
303
- if (i === e) continue;
304
- let n = i.containerEl.value;
305
- n && n !== t && t.contains(n) && r.push(i);
306
- }
307
- return r;
308
- }
309
- function Me(e) {
310
- let t = e.containerEl.value;
311
- if (!t) return () => {};
312
- let n = Oe(e.axis.value), r = t.style.getPropertyValue(n);
313
- return t.style.setProperty(n, "max-content"), () => {
314
- r ? t.style.setProperty(n, r) : t.style.removeProperty(n);
315
- };
316
- }
317
- function Ne(e, t, n) {
318
- let r = e.axis.value, i = Oe(r);
319
- ke(t);
320
- let a = je(e, t, n).map((e) => Me(e)), o = t.style.getPropertyValue(i);
321
- t.style.setProperty(i, "max-content");
322
- let s = $(t, r);
323
- o ? t.style.setProperty(i, o) : t.style.removeProperty(i);
324
- for (let e of a) e();
325
- return s;
326
- }
327
- function Pe(e, t, n, r, i) {
328
- if (t !== e.txId) return;
329
- let a = e.containerEl.value, o = n;
330
- if (!a || !o) return;
331
- let s = e.axis.value, c = Ne(e, a, r);
332
- a.style.setProperty("--dock-morph-from", `${c}px`), a.style.setProperty("--dock-morph-to", `${c}px`), o.style.setProperty("--dock-morph-t", "1"), a.getBoundingClientRect()[De(s)], i.settleTarget(e), i.maybeSettleRoot();
333
- }
334
- function Fe(e, t) {
335
- for (let n of t) {
336
- if (n === e) continue;
337
- let t = n.containerEl.value;
338
- if (t && t.style.getPropertyValue("--dock-morph-to")) {
339
- let e = $(t, n.axis.value);
340
- t.style.setProperty("--dock-morph-from", `${e}px`);
341
- }
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
+ });
342
372
  }
343
- }
344
- function Ie(e) {
345
- e && (e.style.removeProperty("--dock-root-morph-from"), e.style.removeProperty("--dock-root-morph-to"));
346
- }
347
- function Le(e, t, n) {
348
- e && (e.style.setProperty("--dock-root-morph-from", `${t}px`), e.style.setProperty("--dock-root-morph-to", `${n}px`));
349
- }
350
- function Re(e, t, n, r, i, a, o, s, c) {
351
- if (t !== e.txId) return;
352
- let l = e.containerEl.value, u = o;
353
- if (!l || !u) return;
354
- ke(l);
355
- let d = Oe(n), f = je(e, l, s).map((e) => Me(e)), p = a, m = p ? u.style.getPropertyValue("--dock-root-morph-from") : "", h = p ? u.style.getPropertyValue("--dock-root-morph-to") : "";
356
- p && Ie(u), l.style.setProperty(d, "max-content");
357
- let g = $(l, n), _ = p ? $(u, n) : 0;
358
- l.style.removeProperty(d);
359
- let v = Ae(l), y = g > 0 ? g : v, b = !p || _ > 0 ? _ : Ae(u);
360
- p && (m && u.style.setProperty("--dock-root-morph-from", m), h && u.style.setProperty("--dock-root-morph-to", h));
361
- for (let e of f) e();
362
- c.armTarget(e, t, r, y), a && (Math.abs(b - i) < .5 ? Ie(u) : Le(u, i, b));
373
+ function o(e) {
374
+ r() && (n.target = e);
375
+ }
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
+ };
363
387
  }
364
388
  //#endregion
365
- //#region src/components/custom/dock/composables/dockMorphContext.ts
366
- var ze = d(g), { KEY: Be } = ze;
367
- function Ve(e) {
368
- 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);
369
393
  }
370
- var He = ze.use;
371
- function Ue(e) {
372
- 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();
373
400
  function s() {
374
401
  return t.value;
375
402
  }
376
403
  function c() {
377
- a &&= (a.dispose(), null);
404
+ let e = s();
405
+ return !!e && e.hasAttribute("data-morphing");
378
406
  }
379
- function l() {
380
- return typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
407
+ function l(e) {
408
+ e.leavingLayer.value = null;
381
409
  }
382
410
  function u() {
383
- for (let e of o) {
384
- let t = e.containerEl.value;
385
- if (t && t.style.getPropertyValue("--dock-morph-to")) return !0;
386
- }
387
- return !1;
388
- }
389
- function d(e) {
390
- let t = e.containerEl.value;
391
- t && ke(t), e === b && Ie(s()), e.leavingLayer.value = null;
392
- }
393
- function f() {
394
- if (u()) return;
395
- let e = s();
396
- e && (e.style.removeProperty("--dock-morph-t"), e.removeAttribute("data-morphing")), c();
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();
397
413
  }
398
- function p() {
399
- let e = s();
400
- if (!e) return;
401
- let t = a !== null && !a.settled ? a.velocity : 0;
402
- c(), a = new _e({
403
- response: v.response,
404
- dampingFraction: v.dampingFraction,
405
- initial: 0,
406
- respectReducedMotion: !0
407
- });
408
- let n = a;
409
- n.reset(0, t), n.target = 1, e.style.setProperty("--dock-morph-t", "0"), n.play((e) => {
410
- let t = s();
411
- if (t && t.style.setProperty("--dock-morph-t", `${e}`), n.settled) {
412
- for (let e of o) {
413
- let t = e.containerEl.value;
414
- t && t.style.getPropertyValue("--dock-morph-to") && d(e);
415
- }
416
- f();
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: () => {
426
+ d();
417
427
  }
418
- });
428
+ }));
419
429
  }
420
- function m(e, t, n, r) {
421
- if (t !== e.txId) return;
422
- let i = e.containerEl.value, a = s();
423
- if (!(!i || !a)) {
424
- if (Math.abs(r - n) < .5) {
425
- d(e), f();
430
+ function p(e, t, n) {
431
+ if (t !== n) {
432
+ if (!s()) {
433
+ e.currentLayer.value = t, e.leavingLayer.value = null;
426
434
  return;
427
435
  }
428
- i.style.setProperty("--dock-morph-from", `${n}px`), i.style.setProperty("--dock-morph-to", `${r}px`), a.setAttribute("data-morphing", ""), p();
436
+ e.leavingLayer.value = n, e.currentLayer.value = t, f(!e.isOuter);
429
437
  }
430
438
  }
431
- let h = {
432
- settleTarget: d,
433
- maybeSettleRoot: f
434
- };
435
- function g(e, t, n) {
436
- if (t === n) return;
437
- let r = e.containerEl.value, i = s();
438
- if (!r || !i) {
439
- e.currentLayer.value = t, e.leavingLayer.value = null;
440
- return;
441
- }
442
- let a = ++e.txId, c = e.axis.value, u = $(r, c), d = e === b ? $(i, c) : 0;
443
- if (e.leavingLayer.value = n, e.currentLayer.value = t, Fe(e, o), r.style.setProperty("--dock-morph-from", `${u}px`), r.style.setProperty("--dock-morph-to", `${u}px`), i.style.setProperty("--dock-morph-t", "0"), i.setAttribute("data-morphing", ""), e === b && Le(s(), d, d), l()) {
444
- L(() => Pe(e, a, s(), o, h));
445
- return;
446
- }
447
- L(() => requestAnimationFrame(() => Re(e, a, c, u, d, e === b, s(), o, { armTarget: m })));
448
- }
449
- function _(e) {
450
- let t = {
439
+ function m(e, t = !1) {
440
+ let n = {
451
441
  containerEl: e.containerEl,
452
- activeLayer: e.activeLayer,
453
442
  axis: e.axis,
443
+ activeLayer: e.activeLayer,
454
444
  currentLayer: W(e.activeLayer.value),
455
445
  leavingLayer: W(null),
456
- txId: 0,
446
+ isOuter: t,
457
447
  stop: () => {}
458
448
  };
459
- return t.stop = Y(e.activeLayer, (e, n) => {
460
- g(t, e, n);
461
- }), o.add(t), t;
449
+ return n.stop = X(e.activeLayer, (e, t) => {
450
+ p(n, e, t);
451
+ }), o.add(n), n;
462
452
  }
463
- function y(e) {
464
- e.stop(), o.delete(e), f();
453
+ function h(e) {
454
+ e.stop(), o.delete(e), c() || a.dispose();
465
455
  }
466
- let b = _({
456
+ let g = m({
467
457
  containerEl: n,
468
458
  activeLayer: r,
469
459
  axis: i
470
- }), x = { registerGroup(e) {
471
- let t = _(e);
472
- return {
473
- currentLayer: U(t.currentLayer),
474
- leavingLayer: U(t.leavingLayer),
475
- release: () => y(t)
476
- };
477
- } };
478
- function S(e) {
479
- let t = n.value;
480
- if (!t || e.target !== t) return;
481
- let r = Oe(i.value);
482
- e.propertyName !== r && e.propertyName !== De(i.value) || a && a.settled && (d(b), f());
483
- }
460
+ }, !0);
484
461
  return V(() => {
485
462
  for (let e of o) e.stop();
486
- o.clear(), c();
463
+ o.clear(), a.dispose();
487
464
  }), {
488
- context: x,
489
- outerCurrentLayer: U(b.currentLayer),
490
- onOuterTransitionEnd: S
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)
491
474
  };
492
475
  }
493
476
  //#endregion
494
- //#region src/components/custom/dock/composables/useDockShellProps.ts
495
- function We(e) {
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) {
496
517
  let t = O(() => {
497
518
  if (e.containerName) return {
498
519
  "container-type": "inline-size",
499
520
  "container-name": e.containerName
500
521
  };
501
- }), n = O(() => e.collapseDelay ?? 2e3), r = O(() => e.layout ?? "linear"), i = O(() => e.shape ?? "pill"), a = O(() => e.orientation ?? "horizontal"), o = O(() => e.density ?? "comfortable"), s = O(() => e.overflow === "scroll" ? a.value === "vertical" ? "dock-scroll-y" : "dock-scroll-x" : null), c = O(() => 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");
502
523
  return {
503
524
  containerStyle: t,
504
525
  collapseDelay: n,
@@ -506,59 +527,23 @@ function We(e) {
506
527
  layoutValue: r,
507
528
  shape: i,
508
529
  orientation: a,
509
- density: o,
530
+ size: o,
510
531
  scrollClass: s,
511
532
  alwaysExpanded: c,
512
533
  fitContent: O(() => e.fitContent ?? !1)
513
534
  };
514
535
  }
515
536
  //#endregion
516
- //#region src/components/custom/dock/composables/useDockMorphWindow.ts
517
- function Ge(e) {
518
- let t = e.trim();
519
- return t ? t.endsWith("ms") ? Number.parseFloat(t) : t.endsWith("s") ? Number.parseFloat(t) * 1e3 : Number.parseFloat(t) || 0 : 0;
520
- }
521
- function Ke(e) {
522
- let t = getComputedStyle(e), n = t.transitionDuration.split(",").map(Ge), r = t.transitionDelay.split(",").map(Ge);
523
- return Math.max(0, ...n.map((e, t) => e + (r[t] ?? r[0] ?? 0)));
524
- }
525
- function qe(e) {
526
- let t = Ge(getComputedStyle(e).getPropertyValue("--duration-normal") || "0.3s");
527
- return Math.max(t > 0 ? t * 2 : 0, 600);
528
- }
529
- function Je(e, t) {
530
- let n = null, r = 0;
531
- function i() {
532
- n &&= (clearTimeout(n), null);
533
- }
534
- function a() {
535
- let a = e.value;
536
- if (!a) return;
537
- let o = ++r;
538
- i(), t.value = !0, n = setTimeout(() => {
539
- o === r && (t.value = !1, n = null);
540
- }, Math.max(Ke(a), qe(a)) + 50);
541
- }
542
- function o(n) {
543
- n.target === e.value && p.has(n.propertyName) && (i(), r++, t.value = !1);
544
- }
545
- return ee(i), {
546
- markTransitioning: a,
547
- onDockTransitionDone: o,
548
- clearTransitionTimer: i
549
- };
550
- }
551
- //#endregion
552
- //#region src/components/custom/dock/composables/useDockClickIntegrity.ts
553
- function Ye(e) {
537
+ //#region src/components/dock/composables/useDockClickIntegrity.ts
538
+ function Ze(e) {
554
539
  let { rootEl: t, visualExpanded: n } = e, r = null, i = !1, a = 0, o = null;
555
540
  function s() {
556
541
  o !== null && (clearTimeout(o), o = null);
557
542
  }
558
543
  function c() {
559
- a = l() + 320, s(), o = setTimeout(() => {
544
+ a = l() + 840, s(), o = setTimeout(() => {
560
545
  o = null;
561
- }, 320);
546
+ }, 840);
562
547
  }
563
548
  function l() {
564
549
  return typeof performance < "u" && typeof performance.now == "function" ? performance.now() : Date.now();
@@ -601,19 +586,78 @@ function Ye(e) {
601
586
  };
602
587
  }
603
588
  //#endregion
604
- //#region src/components/custom/dock/GlassDock.vue?vue&type=script&setup=true&lang.ts
605
- var Xe = ["data-has-rail"], Ze = [
606
- "data-density",
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;
594
+ }
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);
599
+ }
600
+ function p(e) {
601
+ d() && u.handleScrollCheck(e);
602
+ }
603
+ function m() {
604
+ if (!d()) return;
605
+ let e = u.isActive.value;
606
+ u.handleTouchEnd(), !e && u.isActive.value && !i.value && s();
607
+ }
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()
615
+ };
616
+ }
617
+ //#endregion
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",
607
648
  "data-held",
608
649
  "data-search",
609
650
  "data-container-name"
610
- ], Qe = {
651
+ ], tt = { class: "dock-controls" }, nt = {
611
652
  key: 0,
612
653
  class: "dock-persistent"
613
- }, $e = ["inert"], et = ["inert"], tt = {
654
+ }, rt = ["inert"], it = ["inert"], at = {
614
655
  key: 0,
615
656
  class: "dock-search-field"
616
- }, nt = /* @__PURE__ */ P({
657
+ }, ot = {
658
+ key: 1,
659
+ class: "dock-persistent dock-persistent-end"
660
+ }, st = /* @__PURE__ */ P({
617
661
  inheritAttrs: !1,
618
662
  __name: "GlassDock",
619
663
  props: {
@@ -622,341 +666,254 @@ var Xe = ["data-has-rail"], Ze = [
622
666
  alwaysExpanded: { type: Boolean },
623
667
  shape: {},
624
668
  orientation: {},
625
- density: {},
669
+ size: {},
626
670
  overflow: {},
627
671
  containerName: {},
628
672
  collapseDelay: {},
629
673
  startCollapsed: { type: Boolean },
630
674
  layout: {},
631
- autoLuminance: { type: Boolean },
632
- backgroundCanvas: { type: [
633
- Function,
634
- String,
635
- null
636
- ] },
675
+ autoLuminance: {
676
+ type: Boolean,
677
+ default: !0
678
+ },
679
+ backgroundCanvas: {},
637
680
  search: { type: Boolean }
638
681
  },
639
682
  setup(e, { expose: t }) {
640
- let n = e, { containerStyle: r, collapseDelay: i, startCollapsed: a, layoutValue: o, shape: s, orientation: l, density: u, scrollClass: d, alwaysExpanded: f, fitContent: p } = We(n), m = o, g = J("dockEl"), _ = J("layersEl");
641
- n.autoLuminance !== !1 && we(g, { backgroundCanvas: n.backgroundCanvas ?? null });
642
- let v = W(!1), y = c(i.value), b = `glass-dock-${ae()}`, { expanded: x, isPinned: S, isHeld: C, onMouseEnter: w, onMouseLeave: T, onFocusIn: E, onFocusOut: D, onClickCollapsed: k, keepOpen: N, release: P, expand: F, collapse: L } = Ee({
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({
643
689
  collapseDelay: i.value,
644
- rootEl: g,
645
- alwaysExpanded: f,
646
- isTransitioning: v,
647
- dockId: b
690
+ rootEl: h,
691
+ alwaysExpanded: d,
692
+ isTransitioning: _,
693
+ dockId: v
694
+ });
695
+ m({
696
+ id: v,
697
+ orientation: c,
698
+ layout: p,
699
+ keepOpen: D,
700
+ release: k,
701
+ held: x
648
702
  });
649
- h({
650
- id: b,
651
- orientation: l,
652
- layout: m,
653
- keepOpen: N,
654
- release: P,
655
- held: C
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
+ }
656
711
  });
657
- let z = O(() => f.value || x.value), ee = oe(), B = O(() => !!ee.rail), V = J("frameEl"), { context: U, onOuterTransitionEnd: ne } = Ue({
658
- rootEl: g,
659
- outerEl: _,
660
- outerActiveLayer: O(() => z.value ? "full" : "summary"),
661
- outerAxis: O(() => l.value)
712
+ We(ee), Ye({
713
+ rootEl: h,
714
+ contentEl: g,
715
+ axis: z,
716
+ expanded: F
662
717
  });
663
- Ve(U);
664
- let re = O(() => ({ "view-transition-name": b.replace(/[^a-zA-Z0-9_-]/g, "-") })), { markTransitioning: ie, onDockTransitionDone: q } = Je(g, v), { onPointerDownCapture: X, onClickCapture: Z, markExpandFlip: se } = Ye({
665
- rootEl: g,
666
- visualExpanded: z
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
667
721
  });
668
722
  te(() => {
669
- (n.alwaysExpanded || !a.value) && F();
723
+ (n.alwaysExpanded || !a.value) && N();
670
724
  });
671
- function ce() {
672
- return !f.value;
673
- }
674
- function le(e) {
675
- if (!ce() || z.value) return;
676
- let t = g.value, n = e.touches[0];
677
- !t || !n || y.handleTouchStart(t, n.clientY);
678
- }
679
- function ue(e) {
680
- ce() && y.handleScrollCheck(e);
681
- }
682
- function de() {
683
- if (!ce()) return;
684
- let e = y.isActive.value;
685
- y.handleTouchEnd(), !e && y.isActive.value && !z.value && F();
686
- }
687
- return Y(y.isActive, (e) => {
688
- !e && x.value && !S.value && !f.value && L();
689
- }), Y(z, (e) => {
690
- ie(), e ? se() : y.deactivate();
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();
691
737
  }), t({
692
- expanded: x,
693
- isPinned: S,
694
- isHeld: C,
695
- isTransitioning: v,
696
- expand: F,
697
- collapse: L,
698
- keepOpen: N,
699
- release: P
700
- }), (t, n) => (H(), j("div", {
701
- ref_key: "frameEl",
702
- ref: V,
703
- class: R(["glass-dock-frame", K(l)]),
704
- "data-has-rail": B.value || void 0
705
- }, [M("div", I({
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({
706
747
  ref_key: "dockEl",
707
- ref: g
748
+ ref: h
708
749
  }, t.$attrs, {
709
750
  class: ["glass-dock", [
710
- K(l),
711
- `shape-${K(s)}`,
712
- `layout-${K(m)}`,
713
- K(d),
751
+ J(c),
752
+ `shape-${J(s)}`,
753
+ `layout-${J(p)}`,
754
+ J(u),
714
755
  {
715
- expanded: z.value,
716
- collapsed: !z.value,
717
- pinned: K(S),
718
- "fit-content": K(p),
719
- "always-expanded": K(f),
720
- "dock-overflow-wrap": e.overflow === "wrap" && K(l) !== "vertical"
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"
721
762
  },
722
- e.position === "fixed" ? "fixed bottom-(--dock-pos) left-1/2 -translate-x-1/2" : e.position === "sticky" ? "dock-sticky" : "dock-inline"
763
+ e.position === "fixed" ? "fixed bottom-(--dock-pos) inset-x-0 mx-auto w-max" : e.position === "sticky" ? "dock-sticky" : "dock-inline"
723
764
  ]],
724
- "data-density": K(u),
725
- "data-held": K(C) || void 0,
765
+ "data-size": J(l),
766
+ "data-held": J(x) || void 0,
726
767
  "data-search": e.search || void 0,
727
768
  "data-container-name": e.containerName || void 0,
728
- style: [K(r), re.value],
729
- onMouseenter: n[2] ||= (...e) => K(w) && K(w)(...e),
730
- onMouseleave: n[3] ||= (e) => K(T)(e),
731
- onFocusin: n[4] ||= (...e) => K(E) && K(E)(...e),
732
- onFocusout: n[5] ||= (...e) => K(D) && K(D)(...e),
733
- onTouchstart: le,
734
- onTouchmove: ue,
735
- onTouchend: de,
736
- onPointerdownCapture: n[6] ||= (...e) => K(X) && K(X)(...e),
737
- onClickCapture: n[7] ||= (...e) => K(Z) && K(Z)(...e),
738
- onTransitionend: n[8] ||= (...e) => K(q) && K(q)(...e),
739
- onTransitioncancel: n[9] ||= (...e) => K(q) && K(q)(...e)
740
- }), [t.$slots.persistent ? (H(), j("div", Qe, [G(t.$slots, "persistent")])) : A("", !0), M("div", {
741
- ref_key: "layersEl",
742
- ref: _,
743
- class: "dock-layers",
744
- onTransitionend: n[1] ||= (...e) => K(ne) && K(ne)(...e)
745
- }, [
746
- M("div", {
747
- class: R(["dock-layer dock-layer--full", { "is-active": z.value }]),
748
- inert: !z.value || void 0
749
- }, [G(t.$slots, "default")], 10, $e),
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),
750
784
  M("div", {
751
- class: R(["dock-layer dock-layer--summary", { "is-active": !z.value }]),
752
- inert: z.value || void 0,
753
- onClick: n[0] ||= (...e) => K(k) && K(k)(...e)
754
- }, [G(t.$slots, "collapsed")], 10, et),
755
- e.search ? (H(), j("div", tt, [G(t.$slots, "search")])) : A("", !0)
756
- ], 544)], 16, Ze), B.value ? (H(), j("div", {
757
- key: 0,
758
- class: R(["dock-hairline-slot", K(l)])
759
- }, [G(t.$slots, "rail")], 2)) : A("", !0)], 10, Xe));
760
- }
761
- }), rt = /* @__PURE__ */ P({
762
- __name: "Tabs",
763
- props: {
764
- defaultValue: {},
765
- orientation: {},
766
- dir: {},
767
- activationMode: {},
768
- modelValue: {},
769
- unmountOnHide: { type: Boolean },
770
- asChild: { type: Boolean },
771
- as: {}
772
- },
773
- emits: ["update:modelValue"],
774
- setup(e, { emit: t }) {
775
- let n = ge(e, t);
776
- return (e, t) => (H(), k(K(pe), I({ "data-slot": "tabs" }, K(n)), {
777
- default: X(() => [G(e.$slots, "default")]),
778
- _: 3
779
- }, 16));
780
- }
781
- }), it = /* @__PURE__ */ P({
782
- __name: "TabsTrigger",
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);
806
+ }
807
+ var dt = ct.use;
808
+ ct.useOptional;
809
+ //#endregion
810
+ //#region src/components/dock/DockCrossfade.vue
811
+ var ft = /* @__PURE__ */ P({
812
+ __name: "DockCrossfade",
783
813
  props: {
784
- value: {},
785
- disabled: { type: Boolean },
786
- asChild: { type: Boolean },
787
- as: {},
788
- class: { type: [
789
- Boolean,
790
- null,
791
- String,
792
- Object,
793
- Array
794
- ] }
814
+ active: {},
815
+ reserve: { default: "block" }
795
816
  },
796
- setup(t) {
797
- let n = t, r = he(O(() => {
798
- let { class: e, ...t } = n;
799
- return t;
800
- }));
801
- return (t, i) => (H(), k(K(me), I({ "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) }), {
802
- default: X(() => [G(t.$slots, "default")]),
803
- _: 3
804
- }, 16, ["class"]));
805
- }
806
- }), at = /* @__PURE__ */ P({
807
- __name: "TabsIndicator",
808
- props: {
809
- asChild: { type: Boolean },
810
- as: {},
811
- class: { type: [
812
- Boolean,
813
- null,
814
- String,
815
- Object,
816
- Array
817
- ] },
818
- surface: {
819
- type: Boolean,
820
- default: !0
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();
821
826
  }
822
- },
823
- setup(t) {
824
- let n = t, r = O(() => {
825
- let { class: e, surface: t, ...r } = n;
826
- return r;
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();
831
+ }
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
827
839
  });
828
- return (t, i) => (H(), k(K(de), I({ "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"]));
829
- }
830
- }), ot = /* @__PURE__ */ P({
831
- __name: "TabsList",
832
- props: {
833
- loop: { type: Boolean },
834
- asChild: { type: Boolean },
835
- as: {},
836
- class: { type: [
837
- Boolean,
838
- null,
839
- String,
840
- Object,
841
- Array
842
- ] },
843
- indicator: {
844
- type: Boolean,
845
- default: !0
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);
846
848
  }
847
- },
848
- setup(t) {
849
- let n = t, r = O(() => {
850
- let { class: e, indicator: t, ...r } = n;
851
- return r;
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
852
857
  });
853
- return (i, a) => (H(), k(K(fe), I({ "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) }), {
854
- default: X(() => [t.indicator ? (H(), k(at, { key: 0 })) : A("", !0), G(i.$slots, "default")]),
855
- _: 3
856
- }, 16, ["class"]));
857
- }
858
- }), st = u(f, "[glass-ui:dock] <DockLayer> must be used inside <DockLayerGroup>"), { KEY: ct } = st;
859
- function lt(e) {
860
- st.provide(e);
861
- }
862
- var ut = st.use;
863
- st.useOptional;
864
- //#endregion
865
- //#region src/components/custom/dock/composables/useLayerTransition.ts
866
- function dt(e) {
867
- let { containerEl: t, activeLayer: n, axis: r } = e, i = O(() => r?.value === "vertical" ? "height" : "width"), a = O(() => 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 = [];
868
- function f() {
869
- if (d.length === 0) return;
870
- let e = d.splice(0, d.length);
871
- for (let t of e) t();
872
- }
873
- let p = null, m = null;
874
- function h() {
875
- p &&= (p.dispose(), null), m = null;
876
- }
877
- function g(e) {
878
- return e.closest(".glass-dock") ?? e;
879
- }
880
- function _(e) {
881
- if (u.value) {
882
- d.push(e);
883
- return;
858
+ function g(e) {
859
+ return e ? i.value.get(e)?.el : void 0;
884
860
  }
885
- requestAnimationFrame(e);
886
- }
887
- function y(e) {
888
- e.style.removeProperty("--dock-morph-from"), e.style.removeProperty("--dock-morph-to");
889
- }
890
- function b() {
891
- return typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
892
- }
893
- function x(e, t, n) {
894
- if (n !== l) return;
895
- let r = a.value;
896
- y(e);
897
- let s = e.style.getPropertyValue(r);
898
- e.style.setProperty(r, "max-content");
899
- let c = o(e);
900
- 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], S(e, t);
901
- }
902
- function S(e, t) {
903
- y(e), t.style.removeProperty("--dock-morph-t"), t.removeAttribute("data-morphing"), c.value = null, h(), u.value = !1, f();
904
- }
905
- function C(e, t, n, r, i, a, o) {
906
- if (Math.abs(i - r) < .5) {
907
- S(e, t);
908
- return;
861
+ function v(e, t) {
862
+ g(e)?.style.setProperty("--dock-t", `${t}`);
909
863
  }
910
- 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 _e({
911
- response: v.response,
912
- dampingFraction: v.dampingFraction,
913
- initial: 0,
914
- respectReducedMotion: !0
915
- }), m = e);
916
- let s = p;
917
- s.reset(0, a), s.target = 1, s.play((r) => {
918
- n === l && (t.style.setProperty("--dock-morph-t", `${r}`), s.settled && S(e, t));
919
- });
920
- }
921
- Y(n, (e, n) => {
922
- if (e === n) return;
923
- let r = t.value;
924
- if (!r) {
925
- s.value = e, c.value = null;
926
- return;
864
+ function y(e) {
865
+ g(e)?.style.removeProperty("--dock-t");
927
866
  }
928
- let i = g(r), d = ++l, f = p !== null && m === r && !p.settled ? p : null, h = f ? f.velocity : 0, _ = o(r);
929
- 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, b()) {
930
- L(() => x(r, i, d));
931
- return;
867
+ function b(e) {
868
+ return e < 0 ? 0 : e > 1 ? 1 : e;
932
869
  }
933
- requestAnimationFrame(() => {
934
- if (d !== l) return;
935
- let e = t.value;
936
- if (!e) return;
937
- let n = g(e);
938
- y(e), n.style.removeProperty("--dock-morph-t"), e.style.setProperty(a.value, "max-content");
939
- let r = o(e);
940
- e.style.removeProperty(a.value), C(e, n, d, _, r, h, f);
941
- });
942
- });
943
- function w(e) {
944
- let n = t.value;
945
- n && e.target === n && (e.propertyName !== a.value && e.propertyName !== i.value || p && p.settled && S(n, g(n)));
946
- }
947
- return V(() => {
948
- h(), d.length = 0;
949
- }), {
950
- onTransitionEnd: w,
951
- currentLayer: s,
952
- leavingLayer: c,
953
- morphing: u,
954
- deferReposition: _
955
- };
956
- }
957
- //#endregion
958
- //#region src/components/custom/dock/DockLayerGroup.vue?vue&type=script&setup=true&lang.ts
959
- var ft = { key: 1 }, pt = { key: 2 }, mt = /* @__PURE__ */ P({
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({
960
917
  __name: "DockLayerGroup",
961
918
  props: /* @__PURE__ */ F({
962
919
  orientation: {},
@@ -965,176 +922,119 @@ var ft = { key: 1 }, pt = { key: 2 }, mt = /* @__PURE__ */ P({
965
922
  default: !0
966
923
  },
967
924
  railPosition: { default: "start" },
968
- draggable: {
969
- type: Boolean,
970
- default: !1
971
- }
925
+ motion: {}
972
926
  }, {
973
927
  active: { required: !0 },
974
928
  activeModifiers: {}
975
929
  }),
976
930
  emits: ["update:active"],
977
931
  setup(e) {
978
- let t = e, n = q(e, "active"), r = m(), i = W([]), a = J("containerEl"), o = J("groupEl");
979
- function c(e) {
980
- i.value.find((t) => t.id === e.id) || i.value.push(e), d();
981
- }
982
- function l(e) {
983
- i.value = i.value.filter((t) => t.id !== e), d();
984
- }
985
- let u = W(0);
986
- function d() {
987
- let e = a.value, t = o.value;
988
- if (!e || !t) return;
989
- let n = 0, r = e.querySelectorAll(".dock-layer-item-host");
990
- for (let e of r) {
991
- let t = e.scrollHeight;
992
- t > n && (n = t);
993
- }
994
- n > u.value && (u.value = n);
995
- }
996
- let f = O(() => u.value > 0 ? {
997
- "min-block-size": `${u.value}px`,
998
- "--dock-layer-peak-block-size": `${u.value}px`
999
- } : void 0);
1000
- s(a, () => d()), Y(() => i.value.length, () => d());
1001
- let p = O(() => t.orientation ?? r?.orientation.value ?? "horizontal"), h = O(() => p.value === "vertical" ? "horizontal" : "vertical"), g = J("railListEl"), _ = W(null);
1002
- function v() {
1003
- let e = g.value;
1004
- _.value = e ? e.$el ?? e : null;
1005
- }
1006
- let y = O(() => h.value === "vertical" ? "y" : "x");
1007
- function b() {
1008
- let e = _.value;
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");
942
+ function _() {
943
+ let e = d.value;
1009
944
  if (!e) return [];
1010
945
  let t = Array.from(e.querySelectorAll(".dock-layer-tab"));
1011
- return i.value.map((e, n) => {
1012
- 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;
1013
948
  return {
1014
949
  value: e.id,
1015
950
  center: i
1016
951
  };
1017
952
  });
1018
953
  }
1019
- let x = S({
1020
- el: _,
1021
- axis: () => y.value,
1022
- snapTargets: b,
954
+ let v = b({
955
+ el: d,
956
+ axis: () => g.value,
957
+ snapTargets: _,
1023
958
  onSnap: (e) => {
1024
- t.draggable && n.value !== e && (n.value = e);
959
+ n.armed.value && r.value !== e && (r.value = e);
1025
960
  }
1026
961
  });
1027
- Y(() => [
1028
- i.value.length,
1029
- h.value,
1030
- t.draggable
962
+ X(() => [
963
+ c.value.length,
964
+ l.value,
965
+ n.armed.value
1031
966
  ], () => {
1032
- v(), t.draggable && L(() => x.refresh());
967
+ n.armed.value && L(() => v.refresh());
1033
968
  }), te(() => {
1034
- v(), t.draggable && L(() => x.refresh());
1035
- });
1036
- let C = He(), w, T, E;
1037
- if (C) {
1038
- let e = C.registerGroup({
1039
- containerEl: a,
1040
- activeLayer: n,
1041
- axis: p
1042
- });
1043
- w = e.currentLayer, T = e.leavingLayer, E = () => {}, ee(() => e.release());
1044
- } else {
1045
- let e = dt({
1046
- containerEl: a,
1047
- activeLayer: n,
1048
- axis: p,
1049
- directionTypes: (e, t) => {
1050
- let n = i.value.findIndex((t) => t.id === e);
1051
- return [i.value.findIndex((e) => e.id === t) < n ? "layer-back" : "layer-forward"];
1052
- }
1053
- });
1054
- w = U(e.currentLayer), T = U(e.leavingLayer), E = e.onTransitionEnd;
1055
- }
1056
- let P = typeof document < "u" && "startViewTransition" in document, F = ae(), I = O(() => P ? {
1057
- "view-transition-name": `gl-dock-stack-${F.replace(/[^a-zA-Z0-9_-]/g, "-")}`,
1058
- "view-transition-class": "gl-dock-layer"
1059
- } : void 0);
1060
- lt({
1061
- register: c,
1062
- unregister: l,
1063
- currentLayerId: w,
1064
- leavingLayerId: T
969
+ n.armed.value && L(() => v.refresh());
1065
970
  });
1066
- function B(e) {
971
+ function y(e) {
1067
972
  return typeof e == "object" && !!e || typeof e == "function";
1068
973
  }
1069
- let V = W(!1);
1070
- function oe() {
1071
- V.value || (V.value = !0, r?.keepOpen());
974
+ let x = W(!1);
975
+ function S() {
976
+ x.value || (x.value = !0, i?.keepOpen());
1072
977
  }
1073
- function Z(e) {
978
+ function C(e) {
1074
979
  let t = e.relatedTarget, n = e.currentTarget;
1075
- t && n?.contains(t) || V.value && (V.value = !1, r?.release());
980
+ t && n?.contains(t) || x.value && (x.value = !1, i?.release());
1076
981
  }
1077
- return (r, s) => (H(), j("div", {
1078
- ref_key: "groupEl",
1079
- ref: o,
1080
- class: R(["dock-layer-group", [p.value, `rail-${e.railPosition}`]]),
1081
- style: z(f.value)
1082
- }, [e.showRail && i.value.length > 1 ? (H(), k(K(rt), {
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", {
1083
987
  key: 0,
1084
- modelValue: n.value,
1085
- "onUpdate:modelValue": s[0] ||= (e) => n.value = e,
1086
- orientation: h.value,
1087
- "as-child": !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), {
1015
+ key: 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"
1088
1028
  }, {
1089
- default: X(() => [N(K(ot), {
1090
- ref_key: "railListEl",
1091
- ref: g,
1092
- class: R(["dock-layer-rail", [
1093
- e.railPosition,
1094
- t.draggable && "glass-drag-grabbable",
1095
- t.draggable && K(x).dragging.value && "glass-drag-lift"
1096
- ]]),
1097
- style: z(t.draggable ? K(x).dragStyle.value : void 0),
1098
- indicator: !1,
1099
- onFocusin: oe,
1100
- onFocusout: Z
1101
- }, {
1102
- default: X(() => [(H(!0), j(D, null, ne(i.value, (e) => (H(), k(K(it), {
1103
- key: e.id,
1104
- value: e.id,
1105
- class: "dock-layer-tab",
1106
- title: e.label,
1107
- "aria-label": e.label ?? e.id
1108
- }, {
1109
- default: X(() => [B(e.icon) ? (H(), k(re(e.icon), {
1110
- key: 0,
1111
- class: "size-4"
1112
- })) : typeof e.icon == "string" ? (H(), j("span", ft, ie(e.icon), 1)) : (H(), j("span", pt, ie((e.label ?? e.id).charAt(0)), 1))]),
1113
- _: 2
1114
- }, 1032, [
1115
- "value",
1116
- "title",
1117
- "aria-label"
1118
- ]))), 128)), N(K(at), {
1119
- class: "dock-layer-tab-indicator",
1120
- surface: !1
1121
- })]),
1122
- _: 1
1123
- }, 8, ["class", "style"])]),
1124
- _: 1
1125
- }, 8, ["modelValue", "orientation"])) : A("", !0), M("div", {
1126
- ref_key: "containerEl",
1127
- ref: a,
1128
- class: "dock-layer-stack",
1129
- style: z(I.value),
1130
- onTransitionend: s[1] ||= (...e) => K(E) && K(E)(...e)
1131
- }, [G(r.$slots, "default")], 36)], 6));
1132
- }
1133
- }), ht = [
1029
+ default: Z(() => [K(t.$slots, "default")]),
1030
+ _: 3
1031
+ }, 8, ["active"])], 14, pt));
1032
+ }
1033
+ }), yt = [
1134
1034
  "inert",
1135
1035
  "aria-hidden",
1136
1036
  "tabindex"
1137
- ], gt = /* @__PURE__ */ P({
1037
+ ], bt = { class: "dock-face-content" }, xt = /* @__PURE__ */ P({
1138
1038
  __name: "DockLayer",
1139
1039
  props: {
1140
1040
  id: {},
@@ -1142,37 +1042,43 @@ var ft = { key: 1 }, pt = { key: 2 }, mt = /* @__PURE__ */ P({
1142
1042
  icon: {}
1143
1043
  },
1144
1044
  setup(e) {
1145
- let t = e, n = ut();
1045
+ let t = e, n = dt(), r = Y("hostEl");
1146
1046
  te(() => {
1147
- n.register({
1047
+ r.value && n.register({
1148
1048
  id: t.id,
1149
1049
  label: t.label,
1150
- icon: t.icon
1050
+ icon: t.icon,
1051
+ el: r.value
1151
1052
  });
1152
- }), ee(() => {
1153
- n.unregister(t.id);
1154
- });
1155
- let r = O(() => n.currentLayerId.value === t.id), i = O(() => n.leavingLayerId.value === t.id), a = J("hostEl");
1156
- return Y(r, async (e, t) => {
1157
- !e || t || typeof document < "u" && (() => {
1158
- let e = document.activeElement;
1159
- return !e || e === document.body ? !0 : !!e.closest("[inert]");
1160
- })() && (await L(), a.value?.focus());
1161
- }), (e, t) => (H(), j("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", {
1162
1067
  ref_key: "hostEl",
1163
- ref: a,
1164
- class: R(["dock-layer-item-host", {
1165
- "is-active": r.value,
1166
- "is-leaving": i.value
1068
+ ref: r,
1069
+ class: R(["dock-face", {
1070
+ "is-active": i.value,
1071
+ "is-leaving": a.value
1167
1072
  }]),
1168
- inert: r.value ? void 0 : !0,
1169
- "aria-hidden": r.value ? void 0 : !0,
1170
- tabindex: r.value ? -1 : void 0
1171
- }, [G(e.$slots, "default")], 10, ht));
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));
1172
1077
  }
1173
- }), _t = /* @__PURE__ */ P({
1174
- __name: "DockIconButton",
1078
+ }), St = /* @__PURE__ */ P({
1079
+ __name: "DockControl",
1175
1080
  props: {
1081
+ shape: { default: "icon" },
1176
1082
  compact: {
1177
1083
  type: Boolean,
1178
1084
  default: !1
@@ -1182,6 +1088,10 @@ var ft = { key: 1 }, pt = { key: 2 }, mt = /* @__PURE__ */ P({
1182
1088
  default: !1
1183
1089
  },
1184
1090
  type: { default: "button" },
1091
+ disabled: {
1092
+ type: Boolean,
1093
+ default: !1
1094
+ },
1185
1095
  as: { default: "button" },
1186
1096
  asChild: {
1187
1097
  type: Boolean,
@@ -1196,26 +1106,76 @@ var ft = { key: 1 }, pt = { key: 2 }, mt = /* @__PURE__ */ P({
1196
1106
  ] }
1197
1107
  },
1198
1108
  setup(t) {
1199
- let n = t, r = O(() => e("dock-icon-button glass-specular-track", { "dock-icon-button--compact": n.compact }, n.class)), i = O(() => n.active ? {
1200
- "aria-pressed": "true",
1201
- "data-active": ""
1202
- } : {}), a = O(() => !n.asChild && n.as === "button" ? { type: n.type } : {});
1203
- return (e, n) => Z((H(), k(K(ce), I({
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 ? {
1111
+ "aria-pressed": "true",
1112
+ "data-active": ""
1113
+ } : {},
1114
+ ...a.disabled ? {
1115
+ ...a.as === "button" && !a.asChild ? { disabled: !0 } : {},
1116
+ "aria-disabled": "true"
1117
+ } : {}
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({
1204
1127
  as: t.as,
1205
1128
  "as-child": t.asChild
1206
1129
  }, {
1207
- ...a.value,
1208
- ...i.value
1209
- }, { class: r.value }), {
1210
- default: X(() => [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")]),
1211
1141
  _: 3
1212
1142
  }, 16, [
1213
1143
  "as",
1214
1144
  "as-child",
1215
- "class"
1216
- ])), [[K(o)]]);
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)]]);
1217
1177
  }
1218
- }), vt = /* @__PURE__ */ P({
1178
+ }), wt = /* @__PURE__ */ P({
1219
1179
  __name: "DockBackgroundToggle",
1220
1180
  props: {
1221
1181
  paused: {
@@ -1226,23 +1186,23 @@ var ft = { key: 1 }, pt = { key: 2 }, mt = /* @__PURE__ */ P({
1226
1186
  playLabel: { default: "Resume background animation" }
1227
1187
  },
1228
1188
  emits: ["update:paused"],
1229
- setup(e, { emit: n }) {
1230
- let i = e, a = n, o = O(() => i.paused ? i.playLabel : i.pauseLabel);
1231
- function s() {
1232
- 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);
1233
1193
  }
1234
- return (n, i) => (H(), k(_t, {
1194
+ return (t, n) => (H(), k(St, {
1235
1195
  type: "button",
1236
1196
  "aria-pressed": e.paused,
1237
- "aria-label": o.value,
1238
- title: o.value,
1239
- onClick: s
1197
+ "aria-label": i.value,
1198
+ title: i.value,
1199
+ onClick: a
1240
1200
  }, {
1241
- default: X(() => [e.paused ? (H(), k(K(t), {
1201
+ default: Z(() => [e.paused ? (H(), k(J(he), {
1242
1202
  key: 0,
1243
1203
  size: 18,
1244
1204
  "aria-hidden": "true"
1245
- })) : (H(), k(K(r), {
1205
+ })) : (H(), k(J(me), {
1246
1206
  key: 1,
1247
1207
  size: 18,
1248
1208
  "aria-hidden": "true"
@@ -1254,171 +1214,194 @@ var ft = { key: 1 }, pt = { key: 2 }, mt = /* @__PURE__ */ P({
1254
1214
  "title"
1255
1215
  ]));
1256
1216
  }
1257
- }), yt = /* @__PURE__ */ P({
1258
- __name: "DockTabButton",
1259
- props: {
1260
- as: { default: "button" },
1261
- asChild: {
1262
- type: Boolean,
1263
- default: !1
1264
- },
1265
- class: { type: [
1266
- Boolean,
1267
- null,
1268
- String,
1269
- Object,
1270
- Array
1271
- ] }
1272
- },
1273
- setup(t) {
1274
- let n = t, r = O(() => e("dock-tab-button", n.class));
1275
- return (e, n) => Z((H(), k(K(ce), {
1276
- as: t.as,
1277
- "as-child": t.asChild,
1278
- class: R(r.value)
1279
- }, {
1280
- default: X(() => [G(e.$slots, "default")]),
1281
- _: 3
1282
- }, 8, [
1283
- "as",
1284
- "as-child",
1285
- "class"
1286
- ])), [[K(o)]]);
1287
- }
1288
- }), bt = /* @__PURE__ */ P({
1289
- __name: "DockSelectTrigger",
1290
- props: {
1291
- disabled: { type: Boolean },
1292
- reference: {},
1293
- asChild: { type: Boolean },
1294
- as: {},
1295
- class: { type: [
1296
- Boolean,
1297
- null,
1298
- String,
1299
- Object,
1300
- Array
1301
- ] }
1302
- },
1303
- setup(t) {
1304
- let n = t, r = he(O(() => {
1305
- let { class: e, ...t } = n;
1306
- return t;
1307
- }));
1308
- return (t, a) => Z((H(), k(K(ue), I(K(r), { class: K(e)("dock-select-trigger", n.class) }), {
1309
- default: X(() => [G(t.$slots, "default"), N(K(le), { "as-child": "" }, {
1310
- default: X(() => [G(t.$slots, "icon", {}, () => [N(K(i), { class: "dock-select-trigger__chevron" })])]),
1311
- _: 3
1312
- })]),
1313
- _: 3
1314
- }, 16, ["class"])), [[K(o)]]);
1315
- }
1316
- }), xt = /* @__PURE__ */ P({
1317
- __name: "DockDropdownTrigger",
1318
- props: {
1319
- disabled: { type: Boolean },
1320
- asChild: { type: Boolean },
1321
- as: {},
1322
- type: {},
1323
- class: { type: [
1324
- Boolean,
1325
- null,
1326
- String,
1327
- Object,
1328
- Array
1329
- ] }
1330
- },
1331
- setup(t) {
1332
- let n = t, r = he(O(() => {
1333
- let { class: e, ...t } = n;
1334
- return t;
1335
- }));
1336
- return (t, i) => Z((H(), k(K(se), I(K(r), { class: K(e)("dock-dropdown-trigger", n.class) }), {
1337
- default: X(() => [G(t.$slots, "default")]),
1338
- _: 3
1339
- }, 16, ["class"])), [[K(o)]]);
1340
- }
1341
- }), St = [
1217
+ }), Tt = [
1342
1218
  "data-orientation",
1343
1219
  "data-rail-anchor",
1344
1220
  "aria-orientation"
1345
- ], Ct = /* @__PURE__ */ P({
1221
+ ], Et = /* @__PURE__ */ P({
1346
1222
  __name: "DockSeparator",
1347
1223
  props: { anchor: {
1348
1224
  type: Boolean,
1349
1225
  default: !1
1350
1226
  } },
1351
1227
  setup(e) {
1352
- let t = m(), n = O(() => t?.orientation.value ?? "horizontal"), r = O(() => n.value), i = O(() => n.value === "vertical" ? "horizontal" : "vertical");
1228
+ let t = p(), n = O(() => t?.orientation.value ?? "horizontal"), r = O(() => n.value), i = O(() => n.value === "vertical" ? "horizontal" : "vertical");
1353
1229
  return (t, n) => (H(), j("div", {
1354
1230
  class: R(["dock-separator", { "dock-separator--anchor": e.anchor }]),
1355
1231
  role: "separator",
1356
1232
  "data-orientation": r.value,
1357
1233
  "data-rail-anchor": e.anchor || void 0,
1358
1234
  "aria-orientation": i.value
1359
- }, null, 10, St));
1235
+ }, null, 10, Tt));
1236
+ }
1237
+ });
1238
+ //#endregion
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);
1360
1244
  }
1361
- }), wt = ["data-orientation"], Tt = /* @__PURE__ */ P({
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)) || _();
1325
+ }
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
+ };
1350
+ }
1351
+ //#endregion
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({
1362
1354
  __name: "DockStack",
1363
1355
  props: /* @__PURE__ */ F({
1364
1356
  items: {},
1357
+ mode: { default: "stack" },
1365
1358
  core: {},
1366
1359
  coreLabel: { default: "Open stack" },
1367
1360
  visibleCount: { default: 3 },
1368
- position: { default: "end" }
1369
- }, {
1370
- selected: {},
1371
- selectedModifiers: {},
1372
- expanded: {
1361
+ wrap: {
1373
1362
  type: Boolean,
1374
1363
  default: !1
1375
1364
  },
1376
- expandedModifiers: {}
1365
+ position: { default: "end" }
1366
+ }, {
1367
+ selected: {},
1368
+ selectedModifiers: {}
1377
1369
  }),
1378
- emits: /* @__PURE__ */ F(["select"], ["update:selected", "update:expanded"]),
1370
+ emits: /* @__PURE__ */ F(["select"], ["update:selected"]),
1379
1371
  setup(e, { emit: t }) {
1380
- let r = e, i = t, a = q(e, "selected"), o = q(e, "expanded"), s = m(), c = O(() => s?.orientation.value ?? "vertical"), l = O(() => r.core ?? n), u = O(() => [...r.items]), d = O(() => u.value.length > r.visibleCount), f = O(() => Math.min(u.value.length, r.visibleCount)), p = null;
1381
- function h() {
1382
- p != null && (clearTimeout(p), p = null);
1383
- }
1384
- function g() {
1385
- h(), p = setTimeout(() => {
1386
- o.value = !0, p = null;
1387
- }, 60);
1388
- }
1389
- function _() {
1390
- h(), o.value = !1;
1391
- }
1392
- function v() {
1393
- h(), o.value = !0;
1394
- }
1395
- function y(e) {
1396
- let t = e.relatedTarget, n = e.currentTarget;
1397
- n && t && n.contains(t) || (o.value = !1);
1398
- }
1399
- ee(h);
1400
- function x(e) {
1401
- a.value = e.id, e.onSelect?.(), i("select", e.id);
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
+ });
1378
+ function g(e) {
1379
+ i.value = e.id, e.onSelect?.(), r("select", e.id), h.hide();
1402
1380
  }
1403
1381
  return (t, n) => (H(), j("div", {
1382
+ ref_key: "stackRoot",
1383
+ ref: f,
1404
1384
  class: R(["dock-stack", [
1405
- c.value,
1406
- `at-${e.position}`,
1407
- { "is-expanded": o.value }
1385
+ o.value,
1386
+ `mode-${e.mode}`,
1387
+ `at-${e.position}`
1408
1388
  ]]),
1409
- "data-orientation": c.value,
1410
- onPointerenter: g,
1411
- onPointerleave: _,
1412
- onFocusin: v,
1413
- onFocusout: y
1414
- }, [N(_t, {
1389
+ "data-orientation": o.value,
1390
+ "data-mode": e.mode,
1391
+ onFocusin: n[3] ||= (...e) => J(h).onFocusIn && J(h).onFocusIn(...e),
1392
+ onFocusout: n[4] ||= (e) => J(h).onFocusOut(e)
1393
+ }, [N(St, {
1415
1394
  type: "button",
1416
1395
  class: "dock-stack-core",
1417
1396
  "aria-label": e.coreLabel,
1418
- "aria-expanded": o.value,
1419
- 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
1420
1403
  }, {
1421
- default: X(() => [(H(), k(re(l.value), {
1404
+ default: Z(() => [(H(), k(q(s.value), {
1422
1405
  class: "size-4",
1423
1406
  "aria-hidden": "true"
1424
1407
  }))]),
@@ -1426,24 +1409,51 @@ var ft = { key: 1 }, pt = { key: 2 }, mt = /* @__PURE__ */ P({
1426
1409
  }, 8, [
1427
1410
  "aria-label",
1428
1411
  "aria-expanded",
1429
- "title"
1430
- ]), N(b, {
1431
- axis: c.value === "vertical" ? "x" : "y",
1432
- class: "dock-stack-fan",
1433
- style: z({ "--dock-stack-visible": f.value }),
1434
- "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
1435
1436
  }, {
1436
- default: X(() => [(H(!0), j(D, null, ne(u.value, (e, t) => (H(), k(_t, {
1437
+ default: Z(() => [(H(!0), j(D, null, G(c.value, (e, t) => (H(), k(St, {
1437
1438
  key: e.id,
1438
1439
  type: "button",
1439
- class: R(["dock-stack-member", { "is-active": a.value === e.id }]),
1440
- style: z({ "--i": t }),
1440
+ class: R(["dock-stack-member", {
1441
+ "is-active": i.value === e.id,
1442
+ "dock-facet-chip": l.value
1443
+ }]),
1444
+ style: z({
1445
+ "--i": t,
1446
+ ...l.value && e.accent ? {
1447
+ "--glass-accent": e.accent,
1448
+ "--glass-accent-strength": "var(--dock-facet-accent-strength)"
1449
+ } : {}
1450
+ }),
1441
1451
  "aria-label": e.label,
1442
- "aria-pressed": a.value === e.id,
1452
+ "aria-pressed": i.value === e.id,
1443
1453
  title: e.label,
1444
- onClick: (t) => x(e)
1454
+ onClick: (t) => g(e)
1445
1455
  }, {
1446
- default: X(() => [(H(), k(re(e.icon ?? l.value), {
1456
+ default: Z(() => [(H(), k(q(e.icon ?? s.value), {
1447
1457
  class: "size-4",
1448
1458
  "aria-hidden": "true"
1449
1459
  }))]),
@@ -1459,15 +1469,15 @@ var ft = { key: 1 }, pt = { key: 2 }, mt = /* @__PURE__ */ P({
1459
1469
  _: 1
1460
1470
  }, 8, [
1461
1471
  "axis",
1462
- "style",
1463
- "data-scrolls"
1464
- ])], 42, wt));
1472
+ "data-scrolls",
1473
+ "data-wrap"
1474
+ ])], 42, kt)], 42, Ot));
1465
1475
  }
1466
- }), Et = ["aria-label"], Dt = [
1476
+ }), jt = ["aria-label"], Mt = [
1467
1477
  "data-kind",
1468
1478
  "data-section-id",
1469
1479
  "aria-label"
1470
- ], Ot = /* @__PURE__ */ P({
1480
+ ], Nt = /* @__PURE__ */ P({
1471
1481
  __name: "DockSection",
1472
1482
  props: {
1473
1483
  sections: {},
@@ -1493,7 +1503,7 @@ var ft = { key: 1 }, pt = { key: 2 }, mt = /* @__PURE__ */ P({
1493
1503
  class: "dock-section",
1494
1504
  role: "group",
1495
1505
  "aria-label": e.ariaLabel
1496
- }, [(H(!0), j(D, null, ne(e.sections, (e, n) => (H(), j(D, { key: e.id }, [r(n) ? (H(), k(Ct, {
1506
+ }, [(H(!0), j(D, null, G(e.sections, (e, n) => (H(), j(D, { key: e.id }, [r(n) ? (H(), k(Et, {
1497
1507
  key: 0,
1498
1508
  anchor: i(e)
1499
1509
  }, null, 8, ["anchor"])) : A("", !0), M("div", {
@@ -1501,15 +1511,15 @@ var ft = { key: 1 }, pt = { key: 2 }, mt = /* @__PURE__ */ P({
1501
1511
  "data-kind": e.kind,
1502
1512
  "data-section-id": e.id,
1503
1513
  "aria-label": e.label || void 0
1504
- }, [G(t.$slots, e.id, {
1514
+ }, [K(t.$slots, e.id, {
1505
1515
  section: e,
1506
1516
  kind: e.kind
1507
- })], 10, Dt)], 64))), 128))], 8, Et));
1517
+ })], 10, Mt)], 64))), 128))], 8, jt));
1508
1518
  }
1509
1519
  });
1510
1520
  //#endregion
1511
- //#region src/components/custom/dock/composables/useDockSearch.ts
1512
- function kt(e) {
1521
+ //#region src/components/dock/composables/useDockSearch.ts
1522
+ function Pt(e) {
1513
1523
  let { dockState: t } = e, n = e.debounceMs ?? 120, r = e.maxResults ?? 30, i = W([]), a = null, o = e.items ? e.items : () => i.value;
1514
1524
  function s(t) {
1515
1525
  let n = t.item.id;
@@ -1523,7 +1533,7 @@ function kt(e) {
1523
1533
  });
1524
1534
  if (e.onSearch) {
1525
1535
  let t = e.onSearch;
1526
- Y(() => c.query.value, (e) => {
1536
+ X(() => c.query.value, (e) => {
1527
1537
  if (a?.abort(), !e) {
1528
1538
  i.value = [];
1529
1539
  return;
@@ -1556,7 +1566,7 @@ function kt(e) {
1556
1566
  d.value && (d.value = !1, c.close(), t.release());
1557
1567
  }
1558
1568
  let m = null;
1559
- return e.collapseOnScroll && e.scrollContainer && (m = T(e.scrollContainer, {
1569
+ return e.collapseOnScroll && e.scrollContainer && (m = w(e.scrollContainer, {
1560
1570
  collapseOnScroll: !0,
1561
1571
  chromeRef: e.chromeRef
1562
1572
  })), B(() => {
@@ -1572,94 +1582,76 @@ function kt(e) {
1572
1582
  };
1573
1583
  }
1574
1584
  //#endregion
1575
- //#region src/components/custom/dock/composables/useDockOrientationMorph.ts
1576
- function At(e) {
1577
- let { rootEl: t } = e, n = W("vertical"), r = W(0), i = W(!1), o = () => {
1578
- let e = t.value;
1579
- if (!e) return 1.08;
1580
- let n = getComputedStyle(e).getPropertyValue("--dock-morph-max-stretch").trim(), r = n ? Number.parseFloat(n) : NaN;
1581
- return Number.isFinite(r) && r >= 1 ? r : 1.08;
1582
- }, s = a({
1583
- from: e.verticalSize,
1584
- to: 0,
1585
- axis: "height",
1586
- maxStretch: o
1587
- }), c = a({
1588
- from: 0,
1589
- to: e.horizontalSize,
1590
- axis: "width",
1591
- maxStretch: o
1592
- }), l = null;
1593
- function u(e) {
1594
- r.value = e, s.drive(e), c.drive(e);
1595
- let n = t.value;
1596
- n && (n.style.setProperty("--dock-morph-t", `${e}`), n.style.setProperty("--stretch", `${Math.max(s.stretch.value, c.stretch.value)}`));
1597
- }
1598
- function d() {
1599
- l &&= (l.dispose(), null);
1600
- }
1601
- function f() {
1602
- return typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
1603
- }
1604
- function p(e) {
1605
- if (f()) {
1606
- g(e);
1607
- return;
1608
- }
1609
- let n = t.value, a = l !== null && !l.settled ? l.velocity : 0;
1610
- if (!l || l.settled) {
1611
- d(), l = new _e({
1612
- response: v.response,
1613
- dampingFraction: v.dampingFraction,
1614
- initial: r.value,
1615
- respectReducedMotion: !0
1616
- });
1617
- let o = l;
1618
- o.reset(r.value, a), o.target = e, i.value = !0, n && n.setAttribute("data-morphing", ""), o.play((e) => {
1619
- if (u(e), o.settled) {
1620
- i.value = !1;
1621
- let e = t.value;
1622
- e && e.removeAttribute("data-morphing");
1623
- }
1624
- });
1625
- } else l.reset(r.value, a), l.target = e;
1626
- }
1627
- function m(e) {
1628
- e === n.value && !i.value || (n.value = e, p(+(e === "horizontal")));
1629
- }
1630
- function h() {
1631
- m(n.value === "vertical" ? "horizontal" : "vertical");
1632
- }
1633
- function g(e) {
1634
- let r = e < 0 ? 0 : e > 1 ? 1 : e;
1635
- d(), i.value = !1, n.value = r >= .5 ? "horizontal" : "vertical", u(r), u(r);
1636
- let a = t.value;
1637
- a && a.removeAttribute("data-morphing");
1638
- }
1639
- function _(e) {
1640
- let t = Math.min(Math.max(e / .5, 0), 1);
1641
- return 1 - t * t * (3 - 2 * t);
1642
- }
1643
- function y(e) {
1644
- let t = Math.min(Math.max((e - .5) / .5, 0), 1);
1645
- return t * t * (3 - 2 * t);
1646
- }
1647
- let b = O(() => s.sizeStyle.value), x = O(() => c.sizeStyle.value), S = O(() => ({ opacity: String(_(r.value)) })), C = O(() => ({ opacity: String(y(r.value)) })), w = O(() => Math.max(s.stretch.value, c.stretch.value));
1648
- return Y(t, (e) => {
1649
- e && e.style.setProperty("--dock-morph-t", `${r.value}`);
1650
- }, { immediate: !0 }), B(d), {
1651
- orientation: n,
1652
- t: r,
1653
- morphing: i,
1654
- verticalStyle: b,
1655
- horizontalStyle: x,
1656
- verticalOpacity: S,
1657
- horizontalOpacity: C,
1658
- stretch: w,
1659
- morphTo: m,
1660
- toggle: h,
1661
- pin: g
1662
- };
1663
- }
1585
+ //#region src/components/goo-filter/GooFilter.vue?vue&type=script&setup=true&lang.ts
1586
+ var Ft = {
1587
+ class: "goo-filter-host",
1588
+ "aria-hidden": "true",
1589
+ focusable: "false",
1590
+ width: "1",
1591
+ height: "1"
1592
+ }, It = ["id"], Lt = ["stdDeviation"], Rt = ["values"], zt = /* @__PURE__ */ o(/* @__PURE__ */ P({
1593
+ __name: "GooFilter",
1594
+ props: { extra: { default: () => [] } },
1595
+ setup(e) {
1596
+ let t = [
1597
+ {
1598
+ id: "glass-goo",
1599
+ blur: 10,
1600
+ slope: 15,
1601
+ offset: -7
1602
+ },
1603
+ {
1604
+ id: "dock-fission-goo",
1605
+ blur: 7,
1606
+ slope: 20,
1607
+ offset: -9
1608
+ },
1609
+ {
1610
+ id: "pager-worm-goo",
1611
+ blur: 4,
1612
+ slope: 18,
1613
+ offset: -6
1614
+ },
1615
+ {
1616
+ id: "dock-morph-goo",
1617
+ blur: 16,
1618
+ slope: 14,
1619
+ offset: -7
1620
+ },
1621
+ {
1622
+ id: "morph-goo",
1623
+ blur: 10,
1624
+ slope: 18,
1625
+ offset: -7
1626
+ }
1627
+ ], n = e, r = [...t, ...n.extra];
1628
+ return (e, t) => (H(), j("svg", Ft, [M("defs", null, [(H(), j(D, null, G(r, (e) => M("filter", {
1629
+ key: e.id,
1630
+ id: e.id,
1631
+ "color-interpolation-filters": "sRGB",
1632
+ x: "-50%",
1633
+ y: "-50%",
1634
+ width: "200%",
1635
+ height: "200%"
1636
+ }, [
1637
+ M("feGaussianBlur", {
1638
+ in: "SourceGraphic",
1639
+ stdDeviation: e.blur,
1640
+ result: "blur"
1641
+ }, null, 8, Lt),
1642
+ M("feColorMatrix", {
1643
+ in: "blur",
1644
+ mode: "matrix",
1645
+ values: `1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 ${e.slope} ${e.offset}`,
1646
+ result: "goo"
1647
+ }, null, 8, Rt),
1648
+ t[0] ||= M("feComposite", {
1649
+ in: "SourceGraphic",
1650
+ in2: "goo",
1651
+ operator: "atop"
1652
+ }, null, -1)
1653
+ ], 8, It)), 64))])]));
1654
+ }
1655
+ }), [["__scopeId", "data-v-f8d28853"]]);
1664
1656
  //#endregion
1665
- export { y as DOCK_CONTEXT_KEY, vt as DockBackgroundToggle, xt as DockDropdownTrigger, _t as DockIconButton, gt as DockLayer, mt as DockLayerGroup, Ot as DockSection, bt as DockSelectTrigger, Ct as DockSeparator, Tt as DockStack, yt as DockTabButton, nt as GlassDock, h as provideDockContext, _ as useDockContext, C as useDockCtaReceive, At as useDockOrientationMorph, kt as useDockSearch, dt as useLayerTransition, m 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 };