@mkbabb/glass-ui 6.0.0 → 8.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 (1192) hide show
  1. package/README.md +40 -37
  2. package/dist/DialogContent-4hzLiaCQ.js +152 -0
  3. package/dist/DotRing-Blh4Mc3Q.js +27 -0
  4. package/dist/DropdownMenuTrigger-8UZsBtZ8.js +93 -0
  5. package/dist/Surface-i1tWC-Ga.js +48 -0
  6. package/dist/accent-tone-solve-Cw7WkRD9.js +14 -0
  7. package/dist/asElement-CRnm6A2v.js +9 -0
  8. package/dist/aurora.d.ts +1 -1
  9. package/dist/aurora.js +832 -767
  10. package/dist/axes.d.ts +1 -1
  11. package/dist/axes.js +16 -26
  12. package/dist/badge-owUOaaba.js +63 -0
  13. package/dist/badge.d.ts +1 -1
  14. package/dist/badge.js +2 -2
  15. package/dist/blob-config.d.ts +1 -1
  16. package/dist/blob-config.js +1 -1
  17. package/dist/blob.d.ts +1 -1
  18. package/dist/blob.js +442 -395
  19. package/dist/button-yvGPb0Bx.js +110 -0
  20. package/dist/button.d.ts +1 -1
  21. package/dist/button.js +2 -2
  22. package/dist/canvas.d.ts +1 -1
  23. package/dist/canvas.js +2 -2
  24. package/dist/card-3HFFpC7_.js +190 -0
  25. package/dist/card.d.ts +1 -1
  26. package/dist/card.js +2 -2
  27. package/dist/carousel.d.ts +1 -1
  28. package/dist/carousel.js +191 -239
  29. package/dist/checkbox-BnXuGgJ3.js +64 -0
  30. package/dist/checkbox.d.ts +1 -0
  31. package/dist/checkbox.js +2 -0
  32. package/dist/chip.d.ts +1 -1
  33. package/dist/chip.js +101 -53
  34. package/dist/{class-names-5jotTFzp.js → class-names-q-UGOkHH.js} +26 -5
  35. package/dist/collapsible-B7O6m-Ch.js +154 -0
  36. package/dist/collapsible.d.ts +1 -1
  37. package/dist/collapsible.js +1 -1
  38. package/dist/color.d.ts +1 -1
  39. package/dist/color.js +46 -50
  40. package/dist/{procedural-color.wgsl-B9mLK7v0.js → color.wgsl-B0N3mKMb.js} +200 -165
  41. package/dist/command-BuBnYpxF.js +340 -0
  42. package/dist/command.d.ts +1 -1
  43. package/dist/command.js +1 -1
  44. package/dist/component-styles.css +4 -0
  45. package/dist/components/_shared/axes.d.ts +13 -4
  46. package/dist/components/_shared/class-names.d.ts +10 -9
  47. package/dist/components/_shared/control.d.ts +11 -0
  48. package/dist/components/_shared/disclosure/disclosure-context.d.ts +7 -0
  49. package/dist/components/_shared/feedback/DotRing.vue.d.ts +3 -0
  50. package/dist/components/_shared/feedback/dot-ring.css +1 -0
  51. package/dist/components/_shared/feedback/feedback-tone.css +1 -0
  52. package/dist/components/_shared/field/control.d.ts +13 -0
  53. package/dist/components/_shared/focus.d.ts +11 -0
  54. package/dist/components/_shared/index.d.ts +2 -6
  55. package/dist/components/_shared/interaction.d.ts +23 -0
  56. package/dist/components/_shared/menu/menu.css +1 -0
  57. package/dist/components/_shared/menu/rowClass.d.ts +2 -0
  58. package/dist/components/_shared/overlay/content.d.ts +40 -0
  59. package/dist/components/_shared/overlay/index.d.ts +12 -0
  60. package/dist/components/{dock/composables → _shared/overlay}/isTeleportedTarget.d.ts +5 -0
  61. package/dist/components/_shared/overlay/participation.d.ts +66 -0
  62. package/dist/components/_shared/overlay/placement.d.ts +22 -0
  63. package/dist/components/_shared/primitive.d.ts +19 -0
  64. package/dist/components/_shared/selection.d.ts +46 -0
  65. package/dist/components/_shared/surface/resolve.d.ts +17 -0
  66. package/dist/components/_shared/useMotionAxis.d.ts +3 -8
  67. package/dist/components/accordion/Accordion.vue.d.ts +41 -16
  68. package/dist/components/accordion/AccordionContent.vue.d.ts +11 -9
  69. package/dist/components/accordion/AccordionItem.vue.d.ts +12 -9
  70. package/dist/components/accordion/AccordionTrigger.vue.d.ts +8 -11
  71. package/dist/components/accordion/index.d.ts +4 -4
  72. package/dist/components/alert/Alert.vue.d.ts +9 -5
  73. package/dist/components/alert/AlertDescription.vue.d.ts +2 -2
  74. package/dist/components/alert/AlertTitle.vue.d.ts +2 -2
  75. package/dist/components/alert/index.d.ts +17 -8
  76. package/dist/components/aurora/Aurora.vue.d.ts +41 -46
  77. package/dist/components/aurora/composables/atoms-fields.d.ts +13 -2
  78. package/dist/components/aurora/composables/atoms.d.ts +54 -52
  79. package/dist/components/aurora/composables/auroraFallbackGround.d.ts +14 -14
  80. package/dist/components/aurora/composables/auroraImageSource.d.ts +6 -7
  81. package/dist/components/aurora/composables/color.d.ts +18 -24
  82. package/dist/components/aurora/composables/frameLoop.d.ts +17 -14
  83. package/dist/components/aurora/composables/glSetup.d.ts +19 -7
  84. package/dist/components/aurora/composables/runtime.d.ts +58 -62
  85. package/dist/{composables/glass → components/aurora/composables}/textureUpload.d.ts +8 -23
  86. package/dist/components/aurora/composables/uniformBridge.d.ts +11 -33
  87. package/dist/components/aurora/composables/uniformBridgeWGPU.d.ts +23 -24
  88. package/dist/components/aurora/composables/uniformBridgeWGPUImage.d.ts +15 -15
  89. package/dist/components/aurora/composables/useAurora.d.ts +23 -34
  90. package/dist/components/aurora/composables/useCursorInteraction.d.ts +2 -2
  91. package/dist/components/aurora/composables/wgpuSetup.d.ts +14 -12
  92. package/dist/components/aurora/constants/budget.d.ts +5 -54
  93. package/dist/components/aurora/constants/presets.d.ts +49 -60
  94. package/dist/components/aurora/constants/renderMode.d.ts +21 -36
  95. package/dist/components/aurora/constants/shaders/aurora-image.frag.d.ts +0 -2
  96. package/dist/components/aurora/constants/shaders/aurora-image.wgsl.d.ts +1 -3
  97. package/dist/components/aurora/constants/shaders/aurora-mediums.wgsl.d.ts +1 -1
  98. package/dist/components/aurora/constants/shaders/aurora.wgsl.d.ts +1 -1
  99. package/dist/components/aurora/constants/shaders/brush.glsl.d.ts +1 -1
  100. package/dist/components/aurora/constants/shaders/composition.glsl.d.ts +1 -1
  101. package/dist/components/aurora/constants/shaders/flow.glsl.d.ts +1 -1
  102. package/dist/components/aurora/constants/shaders/metal-medium.glsl.d.ts +2 -2
  103. package/dist/components/aurora/constants/shaders/oil-modes.glsl.d.ts +1 -1
  104. package/dist/components/aurora/constants/shaders/vangogh-medium.glsl.d.ts +1 -1
  105. package/dist/components/aurora/index.d.ts +15 -13
  106. package/dist/components/avatar/Avatar.vue.d.ts +72 -11
  107. package/dist/components/avatar/AvatarFallback.vue.d.ts +1 -2
  108. package/dist/components/avatar/AvatarImage.vue.d.ts +7 -8
  109. package/dist/components/avatar/index.d.ts +3 -9
  110. package/dist/components/badge/Badge.vue.d.ts +3 -17
  111. package/dist/components/badge/index.d.ts +33 -9
  112. package/dist/components/blob/Blob.vue.d.ts +8 -15
  113. package/dist/components/blob/composables/blobSimulation.d.ts +80 -0
  114. package/dist/components/blob/composables/buildMetaballProgram.d.ts +1 -1
  115. package/dist/components/blob/composables/resolveBlobSurface.d.ts +6 -0
  116. package/dist/components/blob/composables/satelliteKinematics.d.ts +4 -4
  117. package/dist/components/blob/composables/uniformBridgeWGPU.d.ts +4 -4
  118. package/dist/components/blob/composables/uploadBlobUniforms.d.ts +7 -34
  119. package/dist/components/blob/composables/useBlobMood.d.ts +6 -6
  120. package/dist/components/blob/composables/useBlobPointer.d.ts +11 -15
  121. package/dist/components/blob/composables/useBlobSatellites.d.ts +1 -1
  122. package/dist/components/blob/composables/useMetaballRenderer.d.ts +32 -29
  123. package/dist/components/blob/composables/wgpuSetup.d.ts +10 -8
  124. package/dist/components/blob/config.d.ts +3 -3
  125. package/dist/components/blob/constants.d.ts +1 -3
  126. package/dist/components/blob/index.d.ts +8 -8
  127. package/dist/components/blob/presets.d.ts +3 -3
  128. package/dist/components/blob/shaders/metaball-palette.wgsl.d.ts +1 -1
  129. package/dist/components/blob/shaders/metaball-uniforms.glsl.d.ts +1 -1
  130. package/dist/components/blob/shaders/metaball.wgsl.d.ts +1 -1
  131. package/dist/components/blob/shaders/sdf-body.glsl.d.ts +1 -1
  132. package/dist/components/blob/shaders/watercolor-edges.glsl.d.ts +1 -1
  133. package/dist/components/blob/types.d.ts +28 -60
  134. package/dist/components/button/Button.vue.d.ts +32 -20
  135. package/dist/components/button/index.d.ts +1 -9
  136. package/dist/components/button/styles.css +1 -0
  137. package/dist/components/card/Card.vue.d.ts +24 -162
  138. package/dist/components/card/CardContent.vue.d.ts +2 -2
  139. package/dist/components/card/CardDescription.vue.d.ts +2 -2
  140. package/dist/components/card/CardFooter.vue.d.ts +2 -2
  141. package/dist/components/card/CardHeader.vue.d.ts +8 -40
  142. package/dist/components/card/CardTitle.vue.d.ts +6 -3
  143. package/dist/components/card/index.d.ts +6 -9
  144. package/dist/components/card/scroll.css +1 -0
  145. package/dist/components/card/styles.css +1 -1
  146. package/dist/components/carousel/Carousel.vue.d.ts +14 -19
  147. package/dist/components/carousel/CarouselContent.vue.d.ts +2 -12
  148. package/dist/components/carousel/CarouselItem.vue.d.ts +14 -3
  149. package/dist/components/carousel/CarouselPager.vue.d.ts +2 -2
  150. package/dist/components/carousel/index.d.ts +7 -8
  151. package/dist/components/carousel/projection.d.ts +23 -0
  152. package/dist/components/carousel/styles.css +1 -0
  153. package/dist/components/carousel/types.d.ts +47 -0
  154. package/dist/components/carousel/useCarousel.d.ts +4 -21
  155. package/dist/components/checkbox/Checkbox.vue.d.ts +17 -9
  156. package/dist/components/checkbox/index.d.ts +1 -1
  157. package/dist/components/chip/Chip.vue.d.ts +12 -7
  158. package/dist/components/chip/accent-tone.css +1 -0
  159. package/dist/components/chip/chipVariants.d.ts +20 -43
  160. package/dist/components/chip/index.d.ts +3 -3
  161. package/dist/components/chip/types.d.ts +46 -31
  162. package/dist/components/collapsible/Collapsible.vue.d.ts +22 -9
  163. package/dist/components/collapsible/CollapsibleContent.vue.d.ts +11 -5
  164. package/dist/components/collapsible/CollapsibleTrigger.vue.d.ts +12 -9
  165. package/dist/components/collapsible/index.d.ts +3 -3
  166. package/dist/components/command/Command.vue.d.ts +11 -23
  167. package/dist/components/command/CommandDialog.vue.d.ts +10 -11
  168. package/dist/components/command/CommandEmpty.vue.d.ts +2 -6
  169. package/dist/components/command/CommandGroup.vue.d.ts +2 -7
  170. package/dist/components/command/CommandInput.vue.d.ts +6 -7
  171. package/dist/components/command/CommandItem.vue.d.ts +7 -11
  172. package/dist/components/command/CommandList.vue.d.ts +12 -19
  173. package/dist/components/command/CommandSeparator.vue.d.ts +2 -6
  174. package/dist/components/command/CommandShortcut.vue.d.ts +2 -2
  175. package/dist/components/command/index.d.ts +11 -10
  176. package/dist/components/command/types.d.ts +32 -0
  177. package/dist/components/configurator/Configurator.vue.d.ts +7 -7
  178. package/dist/components/configurator/ConfiguratorLayer.vue.d.ts +14 -18
  179. package/dist/components/configurator/ConfiguratorRow.vue.d.ts +15 -18
  180. package/dist/components/configurator/index.d.ts +6 -6
  181. package/dist/components/configurator/size.d.ts +5 -7
  182. package/dist/components/configurator/styles.css +1 -1
  183. package/dist/components/configurator/useConfiguratorState.d.ts +1 -1
  184. package/dist/components/constellation/Constellation.vue.d.ts +4 -6
  185. package/dist/components/constellation/composables/createConstellationField.d.ts +3 -3
  186. package/dist/components/constellation/composables/useConstellation.d.ts +2 -2
  187. package/dist/components/constellation/constants.d.ts +9 -9
  188. package/dist/components/constellation/constellationField.d.ts +8 -10
  189. package/dist/components/constellation/constellationInteraction.d.ts +9 -13
  190. package/dist/components/constellation/constellationRender.d.ts +1 -3
  191. package/dist/components/constellation/constellationTypes.d.ts +51 -63
  192. package/dist/components/constellation/constellationWell.d.ts +3 -3
  193. package/dist/components/constellation/index.d.ts +8 -6
  194. package/dist/components/dark-mode-toggle/DarkModeToggle.vue.d.ts +12 -0
  195. package/dist/components/dark-mode-toggle/dark-mode-toggle.css +1 -0
  196. package/dist/components/dark-mode-toggle/index.d.ts +2 -0
  197. package/dist/components/data-table/DataTable.vue.d.ts +11 -59
  198. package/dist/components/data-table/composables/useDataTableResponsive.d.ts +1 -1
  199. package/dist/components/data-table/composables/useDataTableRowIdentity.d.ts +5 -23
  200. package/dist/components/data-table/index.d.ts +2 -2
  201. package/dist/components/data-table/types.d.ts +10 -12
  202. package/dist/components/{card/CardAction.vue.d.ts → deck/DeckSlide.vue.d.ts} +12 -8
  203. package/dist/components/deck/DeckStage.vue.d.ts +36 -0
  204. package/dist/components/deck/composables/useDeck.d.ts +35 -10
  205. package/dist/components/deck/composables/useDeckCapture.d.ts +26 -0
  206. package/dist/components/deck/composables/useDeckHashSync.d.ts +8 -0
  207. package/dist/components/deck/composables/useDeckKeyboard.d.ts +16 -8
  208. package/dist/components/deck/composables/useDeckSnap.d.ts +20 -0
  209. package/dist/components/deck/composables/useDeckSwipe.d.ts +13 -0
  210. package/dist/components/deck/composables/useEdgeZones.d.ts +14 -0
  211. package/dist/components/deck/constants.d.ts +0 -3
  212. package/dist/components/deck/index.d.ts +22 -7
  213. package/dist/components/deck/slideContext.d.ts +21 -0
  214. package/dist/components/deck/styles/capture.css +1 -0
  215. package/dist/components/deck/styles/index.css +1 -0
  216. package/dist/components/deck/styles/reveal.css +1 -0
  217. package/dist/components/deck/styles/stage.css +1 -0
  218. package/dist/components/deck/styles/turn.css +1 -0
  219. package/dist/components/deck/types.d.ts +26 -0
  220. package/dist/components/deck/window.d.ts +27 -0
  221. package/dist/components/dialog/Dialog.vue.d.ts +21 -3
  222. package/dist/components/dialog/DialogContent.vue.d.ts +32 -99
  223. package/dist/components/dialog/DialogDescription.vue.d.ts +5 -6
  224. package/dist/components/dialog/DialogFooter.vue.d.ts +2 -2
  225. package/dist/components/dialog/DialogHeader.vue.d.ts +2 -2
  226. package/dist/components/dialog/DialogTitle.vue.d.ts +5 -6
  227. package/dist/components/dialog/ModalOverlay.vue.d.ts +66 -0
  228. package/dist/components/dialog/index.d.ts +7 -8
  229. package/dist/components/dialog/styles.css +1 -0
  230. package/dist/components/dock/DockControl.vue.d.ts +15 -14
  231. package/dist/components/dock/DockCrossfade.vue.d.ts +6 -10
  232. package/dist/components/dock/DockLayer.vue.d.ts +3 -4
  233. package/dist/components/dock/DockLayerGroup.vue.d.ts +18 -18
  234. package/dist/components/dock/DockSeparator.vue.d.ts +25 -20
  235. package/dist/components/dock/GlassDock.vue.d.ts +4 -4
  236. package/dist/components/dock/composables/dockContext.d.ts +33 -19
  237. package/dist/components/dock/composables/dockCrossfadeContext.d.ts +10 -11
  238. package/dist/components/dock/composables/dockMorphMeasure.d.ts +7 -87
  239. package/dist/components/dock/composables/dockSwitcherContext.d.ts +29 -0
  240. package/dist/components/dock/composables/index.d.ts +10 -10
  241. package/dist/components/dock/composables/useDockClickIntegrity.d.ts +1 -1
  242. package/dist/components/dock/composables/useDockHold.d.ts +24 -10
  243. package/dist/components/dock/composables/useDockMorph.d.ts +26 -0
  244. package/dist/components/dock/composables/useDockOverflowFit.d.ts +4 -6
  245. package/dist/components/dock/composables/useDockSearch.d.ts +12 -12
  246. package/dist/components/dock/composables/useDockShellProps.d.ts +44 -65
  247. package/dist/components/dock/composables/useDockSpring.d.ts +7 -11
  248. package/dist/components/dock/composables/useDockState.d.ts +28 -6
  249. package/dist/components/dock/composables/useDockTouchGate.d.ts +14 -23
  250. package/dist/components/dock/constants.d.ts +21 -80
  251. package/dist/components/dock/index.d.ts +15 -20
  252. package/dist/components/dock/styles/adaptive-legibility.css +1 -1
  253. package/dist/components/dock/styles/controls/icon-button.css +1 -1
  254. package/dist/components/dock/styles/controls/tab-button.css +1 -1
  255. package/dist/components/dock/styles/controls/touch-floor.css +1 -1
  256. package/dist/components/dock/styles/controls/triggers.css +1 -1
  257. package/dist/components/dock/styles/controls.css +1 -1
  258. package/dist/components/dock/styles/crossfade.css +1 -1
  259. package/dist/components/dock/styles/cta-seat.css +1 -1
  260. package/dist/components/dock/styles/density.css +1 -1
  261. package/dist/components/dock/styles/dock.css +1 -1
  262. package/dist/components/dock/styles/index.css +1 -1
  263. package/dist/components/dock/styles/layer-group.css +1 -1
  264. package/dist/components/dock/styles/layers.css +1 -1
  265. package/dist/components/dock/styles/morph.css +1 -1
  266. package/dist/components/dock/styles/overflow.css +1 -1
  267. package/dist/components/dock/styles/search.css +1 -1
  268. package/dist/components/dock/styles/shape.css +1 -1
  269. package/dist/components/dock/styles/shell-regions.css +1 -1
  270. package/dist/components/dock/styles/shell.css +1 -1
  271. package/dist/components/easing/EasingCurve.vue.d.ts +51 -0
  272. package/dist/components/easing/EasingPicker.vue.d.ts +16 -32
  273. package/dist/components/easing/constants.d.ts +16 -14
  274. package/dist/components/easing/index.d.ts +5 -3
  275. package/dist/components/easing/{composables/useEasingPicker.d.ts → usePicker.d.ts} +31 -30
  276. package/dist/components/expandable-container/ExpandableContainer.vue.d.ts +1 -25
  277. package/dist/components/expandable-container/index.d.ts +1 -1
  278. package/dist/components/fading-scroll/FadingScroll.vue.d.ts +4 -0
  279. package/dist/components/fading-scroll/composables/useFadingScroll.d.ts +4 -0
  280. package/dist/components/fading-scroll/constants.d.ts +2 -10
  281. package/dist/components/fading-scroll/index.d.ts +2 -2
  282. package/dist/components/fourier-field/FourierField.vue.d.ts +9 -13
  283. package/dist/components/fourier-field/composables/fourierFieldGLSetup.d.ts +5 -5
  284. package/dist/components/fourier-field/composables/fourierFieldWGPUSetup.d.ts +5 -5
  285. package/dist/components/fourier-field/composables/uniformBridgeWGPU.d.ts +2 -4
  286. package/dist/components/fourier-field/composables/useFourierField.d.ts +8 -8
  287. package/dist/components/fourier-field/constants.d.ts +11 -11
  288. package/dist/components/fourier-field/index.d.ts +10 -12
  289. package/dist/components/fourier-field/shaders/fourier-field.glsl.d.ts +2 -2
  290. package/dist/components/fourier-field/shaders/fourier-field.render.wgsl.d.ts +1 -1
  291. package/dist/components/handmark/HandMark.vue.d.ts +6 -6
  292. package/dist/components/handmark/brush.d.ts +1 -1
  293. package/dist/components/handmark/composables/useHandMark.d.ts +8 -8
  294. package/dist/components/handmark/constants.d.ts +10 -10
  295. package/dist/components/handmark/geometry.d.ts +9 -12
  296. package/dist/components/handmark/index.d.ts +17 -16
  297. package/dist/components/handmark/ink.d.ts +1 -1
  298. package/dist/components/handmark/noise.d.ts +3 -3
  299. package/dist/components/handmark/texture.d.ts +2 -2
  300. package/dist/components/handmark/types.d.ts +3 -3
  301. package/dist/components/index.d.ts +30 -35
  302. package/dist/components/infinite-scroll/InfiniteScroll.vue.d.ts +3 -3
  303. package/dist/components/infinite-scroll/composables/index.d.ts +2 -2
  304. package/dist/components/infinite-scroll/composables/types.d.ts +1 -1
  305. package/dist/components/infinite-scroll/composables/useInfiniteScroll.d.ts +1 -1
  306. package/dist/components/infinite-scroll/index.d.ts +2 -2
  307. package/dist/components/input/Input.vue.d.ts +15 -35
  308. package/dist/components/input/index.d.ts +3 -1
  309. package/dist/components/input/types.d.ts +62 -0
  310. package/dist/components/label/Label.vue.d.ts +9 -14
  311. package/dist/components/label/index.d.ts +1 -1
  312. package/dist/components/labeled-field/LabeledField.vue.d.ts +10 -108
  313. package/dist/components/labeled-field/LabeledInput.vue.d.ts +3 -23
  314. package/dist/components/labeled-field/LabeledSlider.vue.d.ts +12 -18
  315. package/dist/components/labeled-field/LabeledSwitch.vue.d.ts +14 -17
  316. package/dist/components/labeled-field/index.d.ts +5 -5
  317. package/dist/components/labeled-field/types.d.ts +41 -0
  318. package/dist/components/menu/DropdownMenu.vue.d.ts +51 -0
  319. package/dist/components/menu/DropdownMenuCheckboxItem.vue.d.ts +33 -0
  320. package/dist/components/menu/DropdownMenuContent.vue.d.ts +42 -0
  321. package/dist/components/{dropdown-menu → menu}/DropdownMenuGroup.vue.d.ts +6 -4
  322. package/dist/components/menu/DropdownMenuItem.vue.d.ts +31 -0
  323. package/dist/components/menu/DropdownMenuLabel.vue.d.ts +19 -0
  324. package/dist/components/{dropdown-menu → menu}/DropdownMenuRadioGroup.vue.d.ts +13 -6
  325. package/dist/components/menu/DropdownMenuRadioItem.vue.d.ts +29 -0
  326. package/dist/components/menu/DropdownMenuSeparator.vue.d.ts +7 -0
  327. package/dist/components/menu/DropdownMenuShortcut.vue.d.ts +16 -0
  328. package/dist/components/{dropdown-menu → menu}/DropdownMenuSub.vue.d.ts +15 -7
  329. package/dist/components/menu/DropdownMenuSubContent.vue.d.ts +41 -0
  330. package/dist/components/menu/DropdownMenuSubTrigger.vue.d.ts +20 -0
  331. package/dist/components/menu/DropdownMenuTrigger.vue.d.ts +27 -0
  332. package/dist/components/menu/context.d.ts +7 -0
  333. package/dist/components/menu/index.d.ts +15 -0
  334. package/dist/components/metric/Metric.vue.d.ts +26 -0
  335. package/dist/components/metric/MetricRow.vue.d.ts +14 -0
  336. package/dist/components/metric/MetricStack.vue.d.ts +16 -0
  337. package/dist/components/metric/coalesce-metric.d.ts +31 -24
  338. package/dist/components/metric/index.d.ts +6 -0
  339. package/dist/components/metric/styles.css +1 -0
  340. package/dist/components/metric/types.d.ts +44 -0
  341. package/dist/components/music-staff/MusicStaff.vue.d.ts +22 -0
  342. package/dist/components/music-staff/glyphs.d.ts +74 -0
  343. package/dist/components/music-staff/index.d.ts +4 -0
  344. package/dist/components/music-staff/midiAdapter.d.ts +22 -0
  345. package/dist/components/music-staff/staffGeometry.d.ts +216 -0
  346. package/dist/components/music-staff/styles.css +1 -0
  347. package/dist/components/number-field/NumberField.vue.d.ts +27 -10
  348. package/dist/components/number-field/NumberFieldInput.vue.d.ts +1 -6
  349. package/dist/components/number-field/NumberFieldStep.vue.d.ts +31 -0
  350. package/dist/components/number-field/context.d.ts +10 -0
  351. package/dist/components/number-field/index.d.ts +3 -5
  352. package/dist/components/pager-dots/PagerDots.vue.d.ts +22 -10
  353. package/dist/components/pager-dots/index.d.ts +3 -4
  354. package/dist/components/pager-dots/worm.d.ts +42 -0
  355. package/dist/components/popover/Popover.vue.d.ts +45 -35
  356. package/dist/components/popover/PopoverContent.vue.d.ts +27 -30
  357. package/dist/components/popover/PopoverTrigger.vue.d.ts +12 -7
  358. package/dist/components/popover/index.d.ts +3 -3
  359. package/dist/components/popover/popoverContext.d.ts +13 -4
  360. package/dist/components/progress/Progress.vue.d.ts +6 -14
  361. package/dist/components/progress/index.d.ts +2 -1
  362. package/dist/components/progress/types.d.ts +29 -0
  363. package/dist/components/radio-group/RadioGroup.vue.d.ts +25 -15
  364. package/dist/components/radio-group/RadioGroupItem.vue.d.ts +10 -6
  365. package/dist/components/radio-group/index.d.ts +4 -2
  366. package/dist/components/scroll-progress-rim/ScrollProgressRim.vue.d.ts +2 -14
  367. package/dist/components/scroll-progress-rim/index.d.ts +2 -3
  368. package/dist/components/scroll-progress-rim/styles.css +1 -1
  369. package/dist/components/scroll-progress-rim/types.d.ts +20 -2
  370. package/dist/components/search/SearchBar.vue.d.ts +4 -4
  371. package/dist/components/search/composables/fuzzySearchIndex.d.ts +1 -1
  372. package/dist/components/search/composables/index.d.ts +5 -5
  373. package/dist/components/search/composables/useFuzzySearch.d.ts +1 -1
  374. package/dist/components/search/index.d.ts +8 -9
  375. package/dist/components/search/searchVariants.d.ts +15 -18
  376. package/dist/components/select/Select.vue.d.ts +25 -14
  377. package/dist/components/select/SelectContent.vue.d.ts +24 -32
  378. package/dist/components/select/SelectGroup.vue.d.ts +7 -11
  379. package/dist/components/select/SelectItem.vue.d.ts +24 -13
  380. package/dist/components/select/SelectLabel.vue.d.ts +7 -11
  381. package/dist/components/select/SelectScrollButton.vue.d.ts +18 -0
  382. package/dist/components/select/SelectSeparator.vue.d.ts +5 -6
  383. package/dist/components/select/SelectTrigger.vue.d.ts +8 -41
  384. package/dist/components/select/SelectValue.vue.d.ts +11 -7
  385. package/dist/components/select/index.d.ts +18 -8
  386. package/dist/components/separator/Separator.vue.d.ts +11 -6
  387. package/dist/components/separator/index.d.ts +1 -1
  388. package/dist/components/sheet/SheetContent.vue.d.ts +60 -0
  389. package/dist/components/sheet/detents/projection.d.ts +42 -0
  390. package/dist/components/sheet/detents/use.d.ts +27 -0
  391. package/dist/components/sheet/index.d.ts +4 -0
  392. package/dist/components/sheet/motion.d.ts +29 -0
  393. package/dist/components/sheet/styles.css +1 -0
  394. package/dist/components/skeleton/Skeleton.vue.d.ts +3 -31
  395. package/dist/components/skeleton/index.d.ts +1 -1
  396. package/dist/components/slider/Slider.vue.d.ts +10 -38
  397. package/dist/components/slider/index.d.ts +2 -46
  398. package/dist/components/slider/styles.css +1 -0
  399. package/dist/components/slider/types.d.ts +34 -0
  400. package/dist/components/sortable-list/SortableItem.vue.d.ts +1 -1
  401. package/dist/components/sortable-list/SortableList.vue.d.ts +2 -3
  402. package/dist/components/sortable-list/context.d.ts +1 -1
  403. package/dist/components/sortable-list/drag.d.ts +52 -0
  404. package/dist/components/sortable-list/ghost.d.ts +40 -0
  405. package/dist/components/sortable-list/index.d.ts +4 -4
  406. package/dist/components/sortable-list/motion.d.ts +75 -0
  407. package/dist/components/sortable-list/resolve.d.ts +56 -0
  408. package/dist/components/sortable-list/{composables/types.d.ts → types.d.ts} +14 -7
  409. package/dist/components/sortable-list/{composables/useSortable.d.ts → useSortable.d.ts} +2 -4
  410. package/dist/components/status-dot/StatusDot.vue.d.ts +14 -10
  411. package/dist/components/status-dot/index.d.ts +3 -1
  412. package/dist/components/status-dot/states.d.ts +4 -0
  413. package/dist/components/surface/Surface.vue.d.ts +33 -24
  414. package/dist/components/surface/index.d.ts +2 -2
  415. package/dist/components/switch/Switch.vue.d.ts +15 -11
  416. package/dist/components/switch/index.d.ts +2 -1
  417. package/dist/components/table/Table.vue.d.ts +1 -1
  418. package/dist/components/table/index.d.ts +8 -8
  419. package/dist/components/tabs/SegmentedTabs.vue.d.ts +28 -24
  420. package/dist/components/tabs/composables/useTabDragMorph.d.ts +7 -7
  421. package/dist/components/tabs/composables/useTabResponsive.d.ts +6 -7
  422. package/dist/components/tabs/composables/useTabRovingFocus.d.ts +31 -23
  423. package/dist/components/tabs/index.d.ts +2 -2
  424. package/dist/components/tabs/styles/drag.css +1 -1
  425. package/dist/components/tabs/styles/segmented.css +1 -1
  426. package/dist/components/textarea/Textarea.vue.d.ts +14 -54
  427. package/dist/components/textarea/index.d.ts +2 -1
  428. package/dist/components/textarea/types.d.ts +45 -0
  429. package/dist/components/timeline/Timeline.vue.d.ts +41 -0
  430. package/dist/components/timeline/geometry.d.ts +53 -79
  431. package/dist/components/timeline/index.d.ts +2 -2
  432. package/dist/components/timeline/types.d.ts +42 -42
  433. package/dist/components/toast/Toast.vue.d.ts +39 -81
  434. package/dist/components/toast/ToastAction.vue.d.ts +5 -5
  435. package/dist/components/toast/ToastClose.vue.d.ts +4 -5
  436. package/dist/components/toast/ToastDescription.vue.d.ts +4 -5
  437. package/dist/components/toast/ToastTitle.vue.d.ts +4 -5
  438. package/dist/components/toast/Toaster.vue.d.ts +1 -1
  439. package/dist/components/toast/index.d.ts +8 -9
  440. package/dist/components/toast/use-toast.d.ts +27 -163
  441. package/dist/components/toggle-group/ToggleGroup.vue.d.ts +25 -14
  442. package/dist/components/toggle-group/ToggleGroupItem.vue.d.ts +14 -12
  443. package/dist/components/toggle-group/context.d.ts +28 -0
  444. package/dist/components/toggle-group/index.d.ts +2 -2
  445. package/dist/components/tooltip/Tooltip.vue.d.ts +20 -7
  446. package/dist/components/tooltip/TooltipContent.vue.d.ts +16 -13
  447. package/dist/components/tooltip/TooltipProvider.vue.d.ts +12 -5
  448. package/dist/components/tooltip/TooltipTrigger.vue.d.ts +12 -5
  449. package/dist/components/tooltip/index.d.ts +4 -4
  450. package/dist/components/typewriter/TypewriterText.vue.d.ts +12 -32
  451. package/dist/components/typewriter/composables/useTypewriter.d.ts +2 -1
  452. package/dist/components/typewriter/index.d.ts +7 -7
  453. package/dist/components/typewriter/types.d.ts +1 -1
  454. package/dist/components/typewriter/utils/timing.d.ts +1 -3
  455. package/dist/components/typewriter/utils/typoStateMachine.d.ts +1 -1
  456. package/dist/composables/color/accent-tone-solve.d.ts +3 -6
  457. package/dist/composables/color/index.d.ts +36 -43
  458. package/dist/composables/color/useAccentTone.d.ts +0 -3
  459. package/dist/composables/color/value.d.ts +21 -0
  460. package/dist/composables/context/createContext.d.ts +2 -2
  461. package/dist/composables/context/index.d.ts +1 -1
  462. package/dist/composables/dark/index.d.ts +5 -5
  463. package/dist/composables/dark/useGlobalDark.d.ts +7 -6
  464. package/dist/composables/dom/index.d.ts +10 -10
  465. package/dist/composables/dom/useBreakpoint.d.ts +2 -2
  466. package/dist/composables/dom/useClipboard.d.ts +28 -52
  467. package/dist/composables/dom/useDocumentVisibility.d.ts +3 -1
  468. package/dist/composables/dom/useDragVelocity.d.ts +7 -0
  469. package/dist/composables/dom/useIdleReady.d.ts +5 -6
  470. package/dist/composables/dom/useTokenColor.d.ts +2 -2
  471. package/dist/composables/dom/useUserInvalidAria.d.ts +2 -3
  472. package/dist/composables/dom/useViewportReady.d.ts +4 -4
  473. package/dist/composables/glass/backdropLuminanceSample.d.ts +23 -24
  474. package/dist/composables/glass/backdropSampleMath.d.ts +10 -0
  475. package/dist/composables/glass/canvas2d/index.d.ts +3 -3
  476. package/dist/composables/glass/canvas2d/useCanvas2D.d.ts +8 -10
  477. package/dist/composables/glass/index.d.ts +5 -7
  478. package/dist/composables/glass/useGlassBackdropLuminance.d.ts +13 -22
  479. package/dist/composables/glass/useSpecularTracking.d.ts +13 -16
  480. package/dist/composables/glass/webgl/backingSize.d.ts +5 -8
  481. package/dist/composables/glass/webgl/compile.d.ts +1 -1
  482. package/dist/composables/glass/webgl/createCanvasLifecycle.d.ts +25 -34
  483. package/dist/composables/glass/webgl/useWebGLCanvas.d.ts +24 -39
  484. package/dist/composables/glass/webgl/visibility.d.ts +4 -5
  485. package/dist/composables/glass/webgpu/useGpuSubstrate.d.ts +20 -23
  486. package/dist/composables/glass/webgpu/useWebGPUCanvas.d.ts +4 -5
  487. package/dist/composables/glass/webgpu/webgpuCanvasTypes.d.ts +19 -19
  488. package/dist/composables/glass/webgpu/webgpuDevice.d.ts +8 -26
  489. package/dist/composables/keyboard/index.d.ts +1 -1
  490. package/dist/composables/motion/core/asElement.d.ts +2 -0
  491. package/dist/composables/motion/core/constants.d.ts +25 -0
  492. package/dist/composables/motion/core/index.d.ts +21 -24
  493. package/dist/composables/motion/{motionTempo.d.ts → core/motionTempo.d.ts} +0 -2
  494. package/dist/composables/motion/core/useReducedMotion.d.ts +5 -0
  495. package/dist/composables/motion/core/useViewTransition.d.ts +44 -0
  496. package/dist/composables/motion/dissolve/dissolveGrammar.d.ts +88 -0
  497. package/dist/composables/motion/engage/engageEnvelopes.d.ts +45 -0
  498. package/dist/composables/motion/engage/engageLadder.d.ts +86 -0
  499. package/dist/composables/motion/index.d.ts +14 -16
  500. package/dist/composables/motion/morph/eyeglass.d.ts +141 -0
  501. package/dist/composables/motion/{useDockCtaReceive.d.ts → morph/useDockCtaReceive.d.ts} +8 -9
  502. package/dist/composables/motion/{useDragMorph.d.ts → morph/useDragMorph.d.ts} +7 -7
  503. package/dist/composables/motion/morph/useElementMorph.d.ts +50 -0
  504. package/dist/composables/motion/morph/useLeadTrail.d.ts +71 -0
  505. package/dist/composables/motion/morph/useSelectionGroup.d.ts +123 -0
  506. package/dist/composables/motion/morph/useSelectionIndicator.d.ts +113 -0
  507. package/dist/composables/motion/{useAnimatedNumberMap.d.ts → number/useAnimatedNumberMap.d.ts} +1 -1
  508. package/dist/composables/motion/{pointerFieldMappings.d.ts → pointer/pointerFieldMappings.d.ts} +8 -11
  509. package/dist/composables/motion/{usePointerVelocityField.d.ts → pointer/usePointerVelocityField.d.ts} +1 -1
  510. package/dist/composables/motion/{useRoutePointer.d.ts → pointer/useRoutePointer.d.ts} +1 -1
  511. package/dist/composables/motion/{useLiquidReveal.d.ts → reveal/useLiquidReveal.d.ts} +11 -10
  512. package/dist/composables/motion/{useStagger.d.ts → reveal/useStagger.d.ts} +3 -3
  513. package/dist/composables/motion/route/routeGrammar.d.ts +60 -0
  514. package/dist/composables/motion/route/useRouteTransition.d.ts +45 -0
  515. package/dist/composables/motion/{useScrollChrome.d.ts → scroll/useScrollChrome.d.ts} +2 -2
  516. package/dist/composables/motion/{useScrollProgress.d.ts → scroll/useScrollProgress.d.ts} +9 -6
  517. package/dist/composables/motion/{useScrollScene.d.ts → scroll/useScrollScene.d.ts} +5 -4
  518. package/dist/composables/motion/spring/springPresets.d.ts +32 -0
  519. package/dist/composables/motion/{springProjection.d.ts → spring/springProjection.d.ts} +6 -4
  520. package/dist/composables/motion/{useLiquidFlex.d.ts → spring/useLiquidFlex.d.ts} +11 -12
  521. package/dist/composables/motion/{useLiquidPress.d.ts → spring/useLiquidPress.d.ts} +5 -5
  522. package/dist/composables/motion/{useSpring.d.ts → spring/useSpring.d.ts} +5 -2
  523. package/dist/composables/motion/{useSpringMount.d.ts → spring/useSpringMount.d.ts} +14 -4
  524. package/dist/composables/motion/{useSpringPress.d.ts → spring/useSpringPress.d.ts} +6 -6
  525. package/dist/composables/reactive/index.d.ts +2 -2
  526. package/dist/composables/sidebar/index.d.ts +10 -10
  527. package/dist/composables/sidebar/types.d.ts +3 -3
  528. package/dist/composables/sidebar/useClickDelegate.d.ts +1 -1
  529. package/dist/composables/sidebar/useLazyLoader.d.ts +1 -1
  530. package/dist/composables/sidebar/useScrollTo.d.ts +1 -1
  531. package/dist/composables/sidebar/useScrollTracker.d.ts +1 -1
  532. package/dist/composables/sidebar/useSidebarState.d.ts +1 -1
  533. package/dist/composables/sidebar/useTreeIndex.d.ts +1 -1
  534. package/dist/{configurator-CSENXXSy.js → configurator-BoeScnDL.js} +12 -12
  535. package/dist/configurator.d.ts +1 -1
  536. package/dist/configurator.js +1 -1
  537. package/dist/{constants-DRZmNIY-.js → constants-Dk96HZHu.js} +3 -3
  538. package/dist/constellation.d.ts +1 -1
  539. package/dist/constellation.js +198 -196
  540. package/dist/content-CWO-XL7o.js +18 -0
  541. package/dist/control-Da4XeT43.js +11 -0
  542. package/dist/control.css_vue_type_style_index_0_src_true_lang-BIdufaDG.js +21 -0
  543. package/dist/{createCanvasLifecycle-hsFkQVdl.js → createCanvasLifecycle-hJHobVTn.js} +84 -82
  544. package/dist/dark-mode-toggle.d.ts +1 -0
  545. package/dist/dark-mode-toggle.js +43 -0
  546. package/dist/dark.d.ts +1 -1
  547. package/dist/dark.js +1 -1
  548. package/dist/data-table-_RrOEdiw.js +493 -0
  549. package/dist/data-table.d.ts +1 -1
  550. package/dist/data-table.js +1 -1
  551. package/dist/deck-Ci6YjB5e.js +453 -0
  552. package/dist/deck.d.ts +1 -1
  553. package/dist/deck.js +2 -94
  554. package/dist/dialog-CbRnTRtg.js +78 -0
  555. package/dist/dialog.d.ts +1 -1
  556. package/dist/dialog.js +3 -2
  557. package/dist/dock.d.ts +1 -1
  558. package/dist/dock.js +654 -1044
  559. package/dist/dom.d.ts +1 -1
  560. package/dist/dom.js +65 -105
  561. package/dist/easing.d.ts +1 -1
  562. package/dist/easing.js +709 -522
  563. package/dist/expandable-container.d.ts +1 -1
  564. package/dist/expandable-container.js +109 -93
  565. package/dist/fading-scroll-CTeW3KNS.js +96 -0
  566. package/dist/fading-scroll.d.ts +1 -1
  567. package/dist/fading-scroll.js +1 -1
  568. package/dist/focus-Duf7EpUu.js +13 -0
  569. package/dist/fourier-field.d.ts +1 -1
  570. package/dist/fourier-field.js +172 -174
  571. package/dist/fourier-math.d.ts +1 -1
  572. package/dist/glass-ui.css +1 -1
  573. package/dist/glass-ui.js +295 -505
  574. package/dist/handmark.d.ts +1 -1
  575. package/dist/handmark.js +4 -4
  576. package/dist/index.d.ts +41 -51
  577. package/dist/infinite-scroll.d.ts +1 -1
  578. package/dist/infinite-scroll.js +59 -43
  579. package/dist/input-Bls2A4Tt.js +54 -0
  580. package/dist/input.d.ts +1 -0
  581. package/dist/input.js +2 -0
  582. package/dist/keyboard.d.ts +1 -1
  583. package/dist/label-BQEZhnK_.js +53 -0
  584. package/dist/label.d.ts +1 -1
  585. package/dist/label.js +1 -1
  586. package/dist/labeled-field.d.ts +1 -1
  587. package/dist/labeled-field.js +232 -239
  588. package/dist/menu-wLu1XGKn.js +501 -0
  589. package/dist/menu.d.ts +1 -0
  590. package/dist/{dropdown-menu.js → menu.js} +2 -2
  591. package/dist/metric.d.ts +1 -0
  592. package/dist/metric.js +139 -0
  593. package/dist/motion-D4uYE0UM.js +61 -0
  594. package/dist/motion-core.d.ts +1 -1
  595. package/dist/motion-core.js +206 -165
  596. package/dist/motion.d.ts +1 -1
  597. package/dist/motion.js +164 -239
  598. package/dist/music-staff.d.ts +1 -0
  599. package/dist/music-staff.js +915 -0
  600. package/dist/number-field-NFAwQ0HK.js +111 -0
  601. package/dist/number-field.d.ts +1 -1
  602. package/dist/number-field.js +2 -2
  603. package/dist/pager-dots.d.ts +1 -1
  604. package/dist/pager-dots.js +362 -2
  605. package/dist/participation-B0hdsIRo.js +42 -0
  606. package/dist/{pointerFieldMappings-CZojkgKj.js → pointerFieldMappings-DP5tla5z.js} +4 -7
  607. package/dist/popover-DBMKTPkL.js +181 -0
  608. package/dist/popover.d.ts +1 -1
  609. package/dist/popover.js +1 -1
  610. package/dist/{presets-CxeNvxuO.js → presets-5myqNv59.js} +1 -1
  611. package/dist/primitive-B2t2jdqM.js +11 -0
  612. package/dist/progress-DF8dWZIX.js +74 -0
  613. package/dist/progress.d.ts +1 -1
  614. package/dist/progress.js +1 -1
  615. package/dist/radio-group-Ci8o-pDx.js +85 -0
  616. package/dist/radio-group.d.ts +1 -0
  617. package/dist/radio-group.js +2 -0
  618. package/dist/reactive.d.ts +1 -1
  619. package/dist/reactive.js +1 -1
  620. package/dist/resolve-DdrNvBby.js +6 -0
  621. package/dist/resolveCanvasColor-6MCrswTB.js +81 -0
  622. package/dist/rowClass-DYOXwxhO.js +10 -0
  623. package/dist/scroll-progress-rim.d.ts +1 -1
  624. package/dist/scroll-progress-rim.js +48 -42
  625. package/dist/{scrollReader-C2oK9Hb8.js → scrollReader-Brf5cQNo.js} +1 -1
  626. package/dist/search.d.ts +1 -1
  627. package/dist/search.js +33 -296
  628. package/dist/select-CDgwGH_P.js +290 -0
  629. package/dist/select.d.ts +1 -1
  630. package/dist/select.js +2 -2
  631. package/dist/selection-DqIULxRG.js +6 -0
  632. package/dist/separator-CN11t406.js +73 -0
  633. package/dist/separator.d.ts +1 -1
  634. package/dist/separator.js +1 -1
  635. package/dist/sheet-BEFvnO_u.js +340 -0
  636. package/dist/sheet.d.ts +1 -0
  637. package/dist/sheet.js +3 -0
  638. package/dist/sidebar.d.ts +1 -1
  639. package/dist/sidebar.js +53 -42
  640. package/dist/slider-gsc8jDIo.js +227 -0
  641. package/dist/slider.d.ts +1 -1
  642. package/dist/slider.js +2 -2
  643. package/dist/sortable-list.d.ts +1 -1
  644. package/dist/sortable-list.js +412 -286
  645. package/dist/springPresets-Cbe0Voqg.js +52 -0
  646. package/dist/status-dot-BpnqOP5N.js +56 -0
  647. package/dist/status-dot.d.ts +1 -1
  648. package/dist/status-dot.js +2 -59
  649. package/dist/styles/accessibility.css +1 -1
  650. package/dist/styles/animations.css +1 -1
  651. package/dist/styles/components.css +1 -1
  652. package/dist/styles/fonts.css +1 -1
  653. package/dist/styles/glass/a11y-fallback.css +1 -1
  654. package/dist/styles/glass/control-bit.css +1 -0
  655. package/dist/styles/glass/control-edge.css +1 -0
  656. package/dist/styles/glass/control-surfaces.css +1 -1
  657. package/dist/styles/glass/deep.css +1 -1
  658. package/dist/styles/glass/defined.css +1 -1
  659. package/dist/styles/glass/dissolve.css +1 -0
  660. package/dist/styles/glass/focus-veil.css +1 -0
  661. package/dist/styles/glass/glass-atom.css +1 -1
  662. package/dist/styles/glass/glass-capsule.css +1 -1
  663. package/dist/styles/glass/glass-chip.css +1 -1
  664. package/dist/styles/glass/grasp.css +1 -0
  665. package/dist/styles/glass/ladder-undershadow.css +1 -1
  666. package/dist/styles/glass/ladder.css +1 -1
  667. package/dist/styles/glass/liquid-enter.css +1 -1
  668. package/dist/styles/glass/liquid-fill.css +1 -1
  669. package/dist/styles/glass/mark.css +1 -0
  670. package/dist/styles/glass/material.css +1 -1
  671. package/dist/styles/glass/overlay-plate.css +1 -0
  672. package/dist/styles/glass/reveal.css +1 -1
  673. package/dist/styles/glass/rim.css +1 -1
  674. package/dist/styles/glass/squircle.css +1 -1
  675. package/dist/styles/glass/surface-axis.css +1 -1
  676. package/dist/styles/glass/surfaces-pager.css +1 -1
  677. package/dist/styles/glass/surfaces.css +1 -1
  678. package/dist/styles/glass/track-flow.css +1 -0
  679. package/dist/styles/glass/value-marks.css +1 -0
  680. package/dist/styles/glass/veil.css +1 -0
  681. package/dist/styles/glass-specular-track.css +1 -1
  682. package/dist/styles/glass.css +1 -1
  683. package/dist/styles/index.css +1 -1
  684. package/dist/styles/paper.css +1 -1
  685. package/dist/styles/scroll-choreography.css +1 -1
  686. package/dist/styles/scroll-chrome.css +1 -1
  687. package/dist/styles/scroll-driven.css +1 -1
  688. package/dist/styles/theme/bridges.css +1 -1
  689. package/dist/styles/theme/dark.css +1 -1
  690. package/dist/styles/theme/literals.css +1 -1
  691. package/dist/styles/theme/radius.css +1 -1
  692. package/dist/styles/theme.css +1 -1
  693. package/dist/styles/tokens/color-radius.css +1 -1
  694. package/dist/styles/tokens/dark-arm-glass.css +1 -1
  695. package/dist/styles/tokens/dark-arm.css +1 -1
  696. package/dist/styles/tokens/glass-deep.css +1 -1
  697. package/dist/styles/tokens/glass-fx.css +1 -1
  698. package/dist/styles/tokens/glass.css +1 -1
  699. package/dist/styles/tokens/light-dark.css +1 -1
  700. package/dist/styles/tokens/manifest.d.ts +14 -0
  701. package/dist/styles/tokens/motion-registers.css +1 -1
  702. package/dist/styles/tokens/offsets.css +1 -1
  703. package/dist/styles/tokens/on-glass-fg.css +1 -1
  704. package/dist/styles/tokens/property-regs-specular.css +1 -1
  705. package/dist/styles/tokens/property-regs.css +1 -1
  706. package/dist/styles/tokens/scale-paper.css +1 -1
  707. package/dist/styles/tokens/scheme-motion.css +1 -1
  708. package/dist/styles/tokens/scheme-spring.css +1 -1
  709. package/dist/styles/tokens/scroll-tokens.css +1 -1
  710. package/dist/styles/tokens/shadow.css +1 -1
  711. package/dist/styles/tokens/sizing-config.css +1 -1
  712. package/dist/styles/tokens/sizing.css +1 -1
  713. package/dist/styles/tokens.css +1 -1
  714. package/dist/styles/tokens.d.ts +5 -10
  715. package/dist/styles/track-well.css +1 -0
  716. package/dist/styles/transitions.css +1 -1
  717. package/dist/styles/typography/scale.css +1 -1
  718. package/dist/styles/typography/semantic.css +1 -1
  719. package/dist/styles/typography/utilities.css +1 -1
  720. package/dist/styles/typography.css +1 -1
  721. package/dist/styles/utilities/a11y-overrides.css +1 -1
  722. package/dist/styles/utilities/base-misc.css +1 -1
  723. package/dist/styles/utilities/base.css +1 -1
  724. package/dist/styles/utilities/btn.css +1 -1
  725. package/dist/styles/utilities/components.css +1 -1
  726. package/dist/styles/utilities/metal.css +1 -1
  727. package/dist/styles/utilities/responsive.css +1 -0
  728. package/dist/styles/utilities.css +1 -1
  729. package/dist/styles/view-transition.css +1 -1
  730. package/dist/styles/viz-reveal.css +1 -1
  731. package/dist/{supportsCssTimeline-Dz-GVxXM.js → supportsCssTimeline-Di9gzleG.js} +6 -5
  732. package/dist/surface.d.ts +1 -1
  733. package/dist/surface.js +2 -3
  734. package/dist/switch-DxZzDrmV.js +49 -0
  735. package/dist/switch.d.ts +1 -1
  736. package/dist/switch.js +1 -1
  737. package/dist/tabs-CYscnq5H.js +268 -0
  738. package/dist/tabs.d.ts +1 -1
  739. package/dist/tabs.js +2 -339
  740. package/dist/textarea.d.ts +1 -0
  741. package/dist/textarea.js +58 -0
  742. package/dist/timeline.d.ts +1 -1
  743. package/dist/timeline.js +241 -532
  744. package/dist/toast-9c6Kp58L.js +269 -0
  745. package/dist/toast.d.ts +1 -1
  746. package/dist/toast.js +1 -1
  747. package/dist/toggle-group-11aPGMfE.js +125 -0
  748. package/dist/toggle-group.d.ts +1 -1
  749. package/dist/toggle-group.js +1 -1
  750. package/dist/tokens.d.ts +1 -1
  751. package/dist/tokens.js +98 -5
  752. package/dist/tooltip-DqKMZ4dn.js +142 -0
  753. package/dist/tooltip.d.ts +1 -1
  754. package/dist/tooltip.js +1 -1
  755. package/dist/typewriter.d.ts +1 -1
  756. package/dist/typewriter.js +215 -208
  757. package/dist/useAccentTone-DFAh1osB.js +47 -0
  758. package/dist/useClipboard-D36OTaeT.js +53 -0
  759. package/dist/useDockCtaReceive-BSSgD6mu.js +146 -0
  760. package/dist/useDragMorph-B363RUbF.js +293 -0
  761. package/dist/{useDragVelocity-CbMZEBaC.js → useDragVelocity-C5BkKiNf.js} +28 -24
  762. package/dist/useIntersectionPause-CzKR3EyP.js +57 -0
  763. package/dist/useLeadTrail-DQWdpFN1.js +83 -0
  764. package/dist/{useLiquidFlex-Ch4exNvN.js → useLiquidFlex-TJZmRqyY.js} +1 -1
  765. package/dist/useLiquidPress-h1scrPtP.js +101 -0
  766. package/dist/useMotionAxis-D-rtIhca.js +19 -0
  767. package/dist/usePointerVelocityField-DsIf7yyq.js +121 -0
  768. package/dist/useReducedMotion-vCXA_vyM.js +27 -0
  769. package/dist/{useTouchGate-Cj5fOkTv.js → useResolveTokenColor-CspQv_ik.js} +25 -2
  770. package/dist/useRoutePointer-B8itM7Ka.js +53 -0
  771. package/dist/useScrollChrome-BJbWV32F.js +162 -0
  772. package/dist/useScrollProgress-Bq-KPaKM.js +41 -0
  773. package/dist/useScrollTrigger-Abe5dEeO.js +86 -0
  774. package/dist/useSelectionGroup-zsEwitF6.js +291 -0
  775. package/dist/{useSpring-BBSKFx_0.js → useSpring-9u2_shxV.js} +2 -2
  776. package/dist/useSpringMount-OA-0mTNv.js +73 -0
  777. package/dist/vReveal-B5WYGofz.js +44 -0
  778. package/dist/vSpecular-DMJo8pfD.js +68 -0
  779. package/dist/value-DMhh2R94.js +33 -0
  780. package/dist/{valueDomain-B8L04u3U.js → valueDomain-DXRzfc8l.js} +1 -1
  781. package/package.json +183 -291
  782. package/dist/DropdownMenuTrigger-BzQtd9lt.js +0 -65
  783. package/dist/FadingScroll-C1ZWEjmG.js +0 -83
  784. package/dist/Input-B4WQ_CMc.js +0 -57
  785. package/dist/PagerDots-BoTQ7g5l.js +0 -307
  786. package/dist/Surface-BWRfwyn8.js +0 -59
  787. package/dist/accent-tone-solve-Dii9ePhK.js +0 -20
  788. package/dist/animated-digit.d.ts +0 -1
  789. package/dist/animated-digit.js +0 -44
  790. package/dist/badge-C0C-rTBu.js +0 -80
  791. package/dist/button-32mg6xA8.js +0 -194
  792. package/dist/card-16xmzIr3.js +0 -303
  793. package/dist/coalesce-metric-znAcLzkB.js +0 -13
  794. package/dist/collapsible-bPzS1aQk.js +0 -63
  795. package/dist/color-swatch.d.ts +0 -1
  796. package/dist/color-swatch.js +0 -48
  797. package/dist/command-BjPjUU9z.js +0 -307
  798. package/dist/completion-seal.d.ts +0 -1
  799. package/dist/completion-seal.js +0 -132
  800. package/dist/components/_shared/ModalOverlay.vue.d.ts +0 -43
  801. package/dist/components/_shared/feedback-tone.css +0 -1
  802. package/dist/components/_shared/field-surfaces.css +0 -1
  803. package/dist/components/_shared/menu.css +0 -1
  804. package/dist/components/_shared/menuItemVariants.d.ts +0 -51
  805. package/dist/components/_shared/useControlSize.d.ts +0 -46
  806. package/dist/components/_shared/useStalePropWarning.d.ts +0 -27
  807. package/dist/components/_shared/useSurfaceAxis.d.ts +0 -64
  808. package/dist/components/animated-digit/AnimatedDigit.vue.d.ts +0 -56
  809. package/dist/components/animated-digit/index.d.ts +0 -2
  810. package/dist/components/card/ScrollCard.vue.d.ts +0 -33
  811. package/dist/components/card/ScrollCardHeader.vue.d.ts +0 -17
  812. package/dist/components/card/card-scroll.css +0 -1
  813. package/dist/components/carousel/CarouselNext.vue.d.ts +0 -21
  814. package/dist/components/carousel/CarouselPrevious.vue.d.ts +0 -21
  815. package/dist/components/carousel/interface.d.ts +0 -20
  816. package/dist/components/color-swatch/ColorSwatch.vue.d.ts +0 -22
  817. package/dist/components/color-swatch/index.d.ts +0 -1
  818. package/dist/components/combobox/Combobox.vue.d.ts +0 -32
  819. package/dist/components/combobox/ComboboxAnchor.vue.d.ts +0 -18
  820. package/dist/components/combobox/ComboboxEmpty.vue.d.ts +0 -18
  821. package/dist/components/combobox/ComboboxGroup.vue.d.ts +0 -19
  822. package/dist/components/combobox/ComboboxInput.vue.d.ts +0 -23
  823. package/dist/components/combobox/ComboboxItem.vue.d.ts +0 -22
  824. package/dist/components/combobox/ComboboxItemIndicator.vue.d.ts +0 -18
  825. package/dist/components/combobox/ComboboxList.vue.d.ts +0 -32
  826. package/dist/components/combobox/index.d.ts +0 -9
  827. package/dist/components/completion-seal/CompletionSeal.vue.d.ts +0 -28
  828. package/dist/components/completion-seal/composables/useCompletionSeal.d.ts +0 -37
  829. package/dist/components/completion-seal/constants.d.ts +0 -66
  830. package/dist/components/completion-seal/index.d.ts +0 -4
  831. package/dist/components/completion-seal/styles.css +0 -1
  832. package/dist/components/controls/DarkModeToggle.vue.d.ts +0 -32
  833. package/dist/components/controls/dark-mode-toggle.css +0 -1
  834. package/dist/components/controls/index.d.ts +0 -1
  835. package/dist/components/data-table/DataTablePagination.vue.d.ts +0 -13
  836. package/dist/components/deck/DeckPager.vue.d.ts +0 -29
  837. package/dist/components/dialog/DialogClose.vue.d.ts +0 -14
  838. package/dist/components/dialog/DialogTrigger.vue.d.ts +0 -14
  839. package/dist/components/dialog/placement.css +0 -1
  840. package/dist/components/dock/DockSection.vue.d.ts +0 -69
  841. package/dist/components/dock/DockStack.vue.d.ts +0 -73
  842. package/dist/components/dock/composables/dockMorphContext.d.ts +0 -91
  843. package/dist/components/dock/composables/useDockFisheye.d.ts +0 -24
  844. package/dist/components/dock/composables/useDockPopover.d.ts +0 -70
  845. package/dist/components/dock/styles/fisheye.css +0 -1
  846. package/dist/components/dock/styles/popover.css +0 -1
  847. package/dist/components/dock/styles/section.css +0 -1
  848. package/dist/components/drawer/Drawer.vue.d.ts +0 -85
  849. package/dist/components/drawer/DrawerContent.vue.d.ts +0 -40
  850. package/dist/components/drawer/DrawerDescription.vue.d.ts +0 -18
  851. package/dist/components/drawer/DrawerFooter.vue.d.ts +0 -17
  852. package/dist/components/drawer/DrawerHeader.vue.d.ts +0 -17
  853. package/dist/components/drawer/DrawerOverlay.vue.d.ts +0 -8
  854. package/dist/components/drawer/DrawerTitle.vue.d.ts +0 -18
  855. package/dist/components/drawer/composables/drawerSnapContext.d.ts +0 -28
  856. package/dist/components/drawer/composables/useDrawerSnap.d.ts +0 -24
  857. package/dist/components/drawer/constants.d.ts +0 -50
  858. package/dist/components/drawer/index.d.ts +0 -33
  859. package/dist/components/drawer/styles.css +0 -1
  860. package/dist/components/dropdown-menu/DropdownMenu.vue.d.ts +0 -24
  861. package/dist/components/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +0 -24
  862. package/dist/components/dropdown-menu/DropdownMenuContent.vue.d.ts +0 -36
  863. package/dist/components/dropdown-menu/DropdownMenuItem.vue.d.ts +0 -19
  864. package/dist/components/dropdown-menu/DropdownMenuLabel.vue.d.ts +0 -19
  865. package/dist/components/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +0 -22
  866. package/dist/components/dropdown-menu/DropdownMenuSeparator.vue.d.ts +0 -8
  867. package/dist/components/dropdown-menu/DropdownMenuShortcut.vue.d.ts +0 -17
  868. package/dist/components/dropdown-menu/DropdownMenuSubContent.vue.d.ts +0 -34
  869. package/dist/components/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +0 -18
  870. package/dist/components/dropdown-menu/DropdownMenuTrigger.vue.d.ts +0 -20
  871. package/dist/components/dropdown-menu/index.d.ts +0 -15
  872. package/dist/components/dropdown-menu/useMenuTrigger.d.ts +0 -14
  873. package/dist/components/easing/EasingConfigurator.vue.d.ts +0 -33
  874. package/dist/components/focus-scope/FocusScope.vue.d.ts +0 -20
  875. package/dist/components/focus-scope/index.d.ts +0 -2
  876. package/dist/components/fourier-field/presets.d.ts +0 -54
  877. package/dist/components/goo-filter/GooFilter.vue.d.ts +0 -22
  878. package/dist/components/goo-filter/index.d.ts +0 -1
  879. package/dist/components/header-ribbon/HeaderRibbon.vue.d.ts +0 -31
  880. package/dist/components/header-ribbon/index.d.ts +0 -2
  881. package/dist/components/header-ribbon/types.d.ts +0 -7
  882. package/dist/components/icon-chip/IconChip.vue.d.ts +0 -4
  883. package/dist/components/icon-chip/index.d.ts +0 -2
  884. package/dist/components/icon-chip/styles.css +0 -1
  885. package/dist/components/icon-chip/types.d.ts +0 -92
  886. package/dist/components/icon-tooltip/IconTooltip.vue.d.ts +0 -16
  887. package/dist/components/icon-tooltip/index.d.ts +0 -1
  888. package/dist/components/instrument-chassis/ChassisDivider.vue.d.ts +0 -30
  889. package/dist/components/instrument-chassis/InstrumentChassis.vue.d.ts +0 -97
  890. package/dist/components/instrument-chassis/index.d.ts +0 -3
  891. package/dist/components/instrument-chassis/styles.css +0 -1
  892. package/dist/components/labeled-field/LabeledSelect.vue.d.ts +0 -26
  893. package/dist/components/liquid-grid/LiquidGrid.vue.d.ts +0 -46
  894. package/dist/components/liquid-grid/composables/liquidGrid.d.ts +0 -113
  895. package/dist/components/liquid-grid/composables/liquidGridGLSetup.d.ts +0 -18
  896. package/dist/components/liquid-grid/composables/liquidGridWGPUSetup.d.ts +0 -21
  897. package/dist/components/liquid-grid/composables/uniformBridgeWGPU.d.ts +0 -16
  898. package/dist/components/liquid-grid/composables/useLiquidGrid.d.ts +0 -32
  899. package/dist/components/liquid-grid/constants.d.ts +0 -93
  900. package/dist/components/liquid-grid/index.d.ts +0 -5
  901. package/dist/components/liquid-grid/shaders/liquid-grid.glsl.d.ts +0 -4
  902. package/dist/components/liquid-grid/shaders/liquid-grid.wgsl.d.ts +0 -1
  903. package/dist/components/metric-badge/MetricBadge.vue.d.ts +0 -40
  904. package/dist/components/metric-badge/index.d.ts +0 -2
  905. package/dist/components/metric-cell/MetricCell.vue.d.ts +0 -108
  906. package/dist/components/metric-cell/index.d.ts +0 -2
  907. package/dist/components/metric-stack/MetricRow.vue.d.ts +0 -120
  908. package/dist/components/metric-stack/MetricStack.vue.d.ts +0 -92
  909. package/dist/components/metric-stack/index.d.ts +0 -4
  910. package/dist/components/notification/Notification.vue.d.ts +0 -16
  911. package/dist/components/notification/index.d.ts +0 -1
  912. package/dist/components/number-field/NumberFieldContent.vue.d.ts +0 -17
  913. package/dist/components/number-field/NumberFieldDecrement.vue.d.ts +0 -18
  914. package/dist/components/number-field/NumberFieldIncrement.vue.d.ts +0 -18
  915. package/dist/components/pager-dots/composables/usePagerWorm.d.ts +0 -26
  916. package/dist/components/pager-dots/constants.d.ts +0 -15
  917. package/dist/components/pager-dots/pagerWindow.d.ts +0 -9
  918. package/dist/components/paper-backdrop/PaperBackdrop.vue.d.ts +0 -21
  919. package/dist/components/paper-backdrop/index.d.ts +0 -2
  920. package/dist/components/progress/ProgressDefault.vue.d.ts +0 -9
  921. package/dist/components/progress/ProgressGradient.vue.d.ts +0 -26
  922. package/dist/components/progress/ProgressLiquid.vue.d.ts +0 -22
  923. package/dist/components/progress/valueMarks.css +0 -1
  924. package/dist/components/pulse/Pulse.vue.d.ts +0 -53
  925. package/dist/components/pulse/index.d.ts +0 -1
  926. package/dist/components/search/FuzzySearch.vue.d.ts +0 -24
  927. package/dist/components/select/SelectScrollDownButton.vue.d.ts +0 -18
  928. package/dist/components/select/SelectScrollUpButton.vue.d.ts +0 -18
  929. package/dist/components/sortable-list/composables/dragController.d.ts +0 -29
  930. package/dist/components/sortable-list/composables/dropResolver.d.ts +0 -34
  931. package/dist/components/sortable-list/composables/ghostRenderer.d.ts +0 -44
  932. package/dist/components/sortable-list/composables/index.d.ts +0 -1
  933. package/dist/components/sortable-list/composables/touchGate.d.ts +0 -26
  934. package/dist/components/sortable-list/composables/transitionTiming.d.ts +0 -50
  935. package/dist/components/spa-view/SpaView.vue.d.ts +0 -50
  936. package/dist/components/spa-view/index.d.ts +0 -2
  937. package/dist/components/split-chars/SplitChars.vue.d.ts +0 -53
  938. package/dist/components/split-chars/index.d.ts +0 -1
  939. package/dist/components/tabs/composables/useEyeglassLive.d.ts +0 -17
  940. package/dist/components/tabs/constants.d.ts +0 -1
  941. package/dist/components/tags-input/TagsInput.vue.d.ts +0 -28
  942. package/dist/components/tags-input/TagsInputInput.vue.d.ts +0 -8
  943. package/dist/components/tags-input/TagsInputItem.vue.d.ts +0 -18
  944. package/dist/components/tags-input/TagsInputItemDelete.vue.d.ts +0 -18
  945. package/dist/components/tags-input/TagsInputItemText.vue.d.ts +0 -8
  946. package/dist/components/tags-input/index.d.ts +0 -5
  947. package/dist/components/timeline/ContinuousMarkers.vue.d.ts +0 -49
  948. package/dist/components/timeline/ContinuousRail.vue.d.ts +0 -26
  949. package/dist/components/timeline/ContinuousTimeline.vue.d.ts +0 -118
  950. package/dist/components/timeline/GlassTimeline.vue.d.ts +0 -114
  951. package/dist/components/timeline/ScrubberTimeline.vue.d.ts +0 -45
  952. package/dist/components/timeline/SegmentedTimeline.vue.d.ts +0 -46
  953. package/dist/components/toggle/Toggle.vue.d.ts +0 -29
  954. package/dist/components/toggle/index.d.ts +0 -26
  955. package/dist/components/toggle-group/toggleGroupContext.d.ts +0 -20
  956. package/dist/components/typewriter/composables/index.d.ts +0 -1
  957. package/dist/components/watercolor-dot/WatercolorDot.vue.d.ts +0 -74
  958. package/dist/components/watercolor-dot/index.d.ts +0 -3
  959. package/dist/components/watercolor-dot/prng.d.ts +0 -5
  960. package/dist/components/watercolor-dot/useWatercolorBlob.d.ts +0 -31
  961. package/dist/composables/glass/ambientHueHistogram.d.ts +0 -27
  962. package/dist/composables/glass/useSpecularPointer.d.ts +0 -52
  963. package/dist/composables/glass/wave/index.d.ts +0 -4
  964. package/dist/composables/glass/wave/waveField.d.ts +0 -136
  965. package/dist/composables/glass/wave/waveField.glsl.d.ts +0 -1
  966. package/dist/composables/glass/wave/waveField.wgsl.d.ts +0 -1
  967. package/dist/composables/glass/webgl/shaders/glass-refract.glsl.d.ts +0 -36
  968. package/dist/composables/glass/webgpu/index.d.ts +0 -3
  969. package/dist/composables/index.d.ts +0 -9
  970. package/dist/composables/motion/bloomUpField.d.ts +0 -29
  971. package/dist/composables/motion/constants.d.ts +0 -19
  972. package/dist/composables/motion/curves.d.ts +0 -48
  973. package/dist/composables/motion/gooBarbellGeometry.d.ts +0 -79
  974. package/dist/composables/motion/morphSignatures.d.ts +0 -88
  975. package/dist/composables/motion/springPresets.d.ts +0 -45
  976. package/dist/composables/motion/suite.d.ts +0 -2
  977. package/dist/composables/motion/useBloomUp.d.ts +0 -97
  978. package/dist/composables/motion/useCharStagger.d.ts +0 -44
  979. package/dist/composables/motion/useCountup.d.ts +0 -30
  980. package/dist/composables/motion/useElementMorph.d.ts +0 -107
  981. package/dist/composables/motion/useGooMorph.d.ts +0 -72
  982. package/dist/composables/motion/useLeadTrail.d.ts +0 -69
  983. package/dist/composables/motion/useNumericTransition.d.ts +0 -56
  984. package/dist/composables/motion/usePrioritizedTask.d.ts +0 -41
  985. package/dist/composables/motion/useScrollPin.d.ts +0 -49
  986. package/dist/composables/motion/useSelectionGroup.d.ts +0 -83
  987. package/dist/composables/motion/useSelectionIndicator.d.ts +0 -90
  988. package/dist/composables/motion/useStaggerReveal.d.ts +0 -52
  989. package/dist/composables/motion/useTextHighlight.d.ts +0 -41
  990. package/dist/composables/motion/useViewTransition.d.ts +0 -81
  991. package/dist/composables/virtual/index.d.ts +0 -4
  992. package/dist/composables/virtual/useVirtualSectionWindow.d.ts +0 -72
  993. package/dist/composables/virtual/useWindowedStore.d.ts +0 -43
  994. package/dist/composables/virtual/virtualSectionLayout.d.ts +0 -103
  995. package/dist/controls.d.ts +0 -1
  996. package/dist/controls.js +0 -83
  997. package/dist/data-table-DveMdgBM.js +0 -629
  998. package/dist/dialog-BzQxKrUr.js +0 -281
  999. package/dist/dockContext-4S9qP0Z4.js +0 -13
  1000. package/dist/drawer.d.ts +0 -1
  1001. package/dist/drawer.js +0 -443
  1002. package/dist/dropdown-menu-DORIA52F.js +0 -378
  1003. package/dist/dropdown-menu.d.ts +0 -1
  1004. package/dist/flow.glsl-DEGFGE11.js +0 -4
  1005. package/dist/focus-scope-DUTKveod.js +0 -23
  1006. package/dist/focus-scope.d.ts +0 -1
  1007. package/dist/focus-scope.js +0 -2
  1008. package/dist/fonts/README.md +0 -124
  1009. package/dist/fonts/fira-code/OFL.txt +0 -93
  1010. package/dist/fonts/plus-jakarta-sans/OFL.txt +0 -93
  1011. package/dist/forms.d.ts +0 -5
  1012. package/dist/forms.js +0 -298
  1013. package/dist/header-ribbon.d.ts +0 -1
  1014. package/dist/header-ribbon.js +0 -74
  1015. package/dist/icon-chip-BWuxz1-u.js +0 -57
  1016. package/dist/icon-chip.d.ts +0 -1
  1017. package/dist/icon-chip.js +0 -2
  1018. package/dist/icon-tooltip-CO6rw0dZ.js +0 -25
  1019. package/dist/icon-tooltip.d.ts +0 -1
  1020. package/dist/icon-tooltip.js +0 -2
  1021. package/dist/instrument-chassis-Cvstg4_U.js +0 -65
  1022. package/dist/instrument-chassis.d.ts +0 -1
  1023. package/dist/instrument-chassis.js +0 -2
  1024. package/dist/label-Cj38tJKG.js +0 -36
  1025. package/dist/liquid-grid.d.ts +0 -1
  1026. package/dist/liquid-grid.js +0 -1075
  1027. package/dist/menuItemVariants-D6AOzzND.js +0 -36
  1028. package/dist/metric-badge.d.ts +0 -1
  1029. package/dist/metric-badge.js +0 -79
  1030. package/dist/metric-cell.d.ts +0 -1
  1031. package/dist/metric-cell.js +0 -61
  1032. package/dist/metric-stack.d.ts +0 -1
  1033. package/dist/metric-stack.js +0 -113
  1034. package/dist/motion-curves.d.ts +0 -1
  1035. package/dist/motion-curves.js +0 -146
  1036. package/dist/notification-DVs7ODMg.js +0 -52
  1037. package/dist/notification.d.ts +0 -1
  1038. package/dist/notification.js +0 -2
  1039. package/dist/number-field-PvkGedHk.js +0 -140
  1040. package/dist/paper-backdrop.d.ts +0 -1
  1041. package/dist/paper-backdrop.js +0 -31
  1042. package/dist/popover-WMgyRSyN.js +0 -256
  1043. package/dist/progress-C-HHuFZy.js +0 -192
  1044. package/dist/pulse.d.ts +0 -1
  1045. package/dist/pulse.js +0 -56
  1046. package/dist/resolveCanvasColor-yarP5bdk.js +0 -93
  1047. package/dist/select-BIv4R3Ir.js +0 -326
  1048. package/dist/separator-CBU94kTM.js +0 -62
  1049. package/dist/slider-Cc_qw6GA.js +0 -166
  1050. package/dist/spa-view.d.ts +0 -1
  1051. package/dist/spa-view.js +0 -46
  1052. package/dist/springPresets-h5VKJQqG.js +0 -58
  1053. package/dist/styles/draw-in.css +0 -1
  1054. package/dist/styles/glass/accent-tone.css +0 -1
  1055. package/dist/styles/glass/grain-overlay.css +0 -1
  1056. package/dist/styles/glass/material-roles.css +0 -1
  1057. package/dist/styles/glass/progress-rail.css +0 -1
  1058. package/dist/styles/glass-refract.css +0 -1
  1059. package/dist/styles/tokens.ts +0 -58
  1060. package/dist/switch-Boj4Ucn5.js +0 -49
  1061. package/dist/toast-kAbchIN2.js +0 -281
  1062. package/dist/toggle-group-BPchFsns.js +0 -178
  1063. package/dist/tooltip-BmOQJzh0.js +0 -111
  1064. package/dist/useAccentTone-C-p6WdPe.js +0 -23
  1065. package/dist/useAnimatedNumber-BRVVaFFc.js +0 -40
  1066. package/dist/useControlSize-CFfOk8I-.js +0 -9
  1067. package/dist/useDockCtaReceive-CK-RLASa.js +0 -257
  1068. package/dist/useDocumentVisibility-YeBDGqtI.js +0 -17
  1069. package/dist/useDragMorph-7ygF9O0m.js +0 -93
  1070. package/dist/useGooMorph-D1F6QJlH.js +0 -349
  1071. package/dist/useIntersectionPause-B-dbxl9w.js +0 -39
  1072. package/dist/useLeadTrail-BYu8dq4G.js +0 -74
  1073. package/dist/useLiquidPress-BYcwwGQV.js +0 -68
  1074. package/dist/useMotionAxis-DCCXMC-i.js +0 -20
  1075. package/dist/usePointerVelocityField-BdvnO0py.js +0 -122
  1076. package/dist/useRAFLoop-BtwQ9DyY.js +0 -109
  1077. package/dist/useResolveTokenColor-C07e-qaT.js +0 -24
  1078. package/dist/useRoutePointer-BDNMFN73.js +0 -52
  1079. package/dist/useScrollProgress-DZI4nf4v.js +0 -35
  1080. package/dist/useSelectionGroup-LDzBdR1Y.js +0 -215
  1081. package/dist/useSpringMount-C6-DBx4e.js +0 -71
  1082. package/dist/useSpringPress-BypV_KO-.js +0 -36
  1083. package/dist/useSurfaceAxis-DudiZVOR.js +0 -10
  1084. package/dist/useTabRovingFocus-DkLYwo4L.js +0 -143
  1085. package/dist/useUserInvalidAria-Cr4nR3tu.js +0 -25
  1086. package/dist/vReveal-DZfWl9XI.js +0 -10
  1087. package/dist/vSpecular-CQFmLNzA.js +0 -68
  1088. package/dist/watercolor-dot.d.ts +0 -1
  1089. package/dist/watercolor-dot.js +0 -175
  1090. package/src/fonts/README.md +0 -124
  1091. package/src/fonts/fira-code/OFL.txt +0 -93
  1092. package/src/fonts/fira-code/fira-code-latin-ext.woff2 +0 -0
  1093. package/src/fonts/fira-code/fira-code-latin.woff2 +0 -0
  1094. package/src/fonts/plus-jakarta-sans/OFL.txt +0 -93
  1095. package/src/fonts/plus-jakarta-sans/plus-jakarta-sans-latin-ext.woff2 +0 -0
  1096. package/src/fonts/plus-jakarta-sans/plus-jakarta-sans-latin.woff2 +0 -0
  1097. package/src/styles/accessibility.css +0 -48
  1098. package/src/styles/animations.css +0 -468
  1099. package/src/styles/draw-in.css +0 -89
  1100. package/src/styles/fonts.css +0 -143
  1101. package/src/styles/glass/a11y-fallback.css +0 -188
  1102. package/src/styles/glass/accent-tone.css +0 -66
  1103. package/src/styles/glass/control-surfaces.css +0 -171
  1104. package/src/styles/glass/deep.css +0 -114
  1105. package/src/styles/glass/defined.css +0 -88
  1106. package/src/styles/glass/glass-atom.css +0 -247
  1107. package/src/styles/glass/glass-capsule.css +0 -175
  1108. package/src/styles/glass/glass-chip.css +0 -211
  1109. package/src/styles/glass/grain-overlay.css +0 -79
  1110. package/src/styles/glass/ladder-undershadow.css +0 -61
  1111. package/src/styles/glass/ladder.css +0 -452
  1112. package/src/styles/glass/liquid-enter.css +0 -240
  1113. package/src/styles/glass/liquid-fill.css +0 -65
  1114. package/src/styles/glass/material-roles.css +0 -18
  1115. package/src/styles/glass/material.css +0 -500
  1116. package/src/styles/glass/progress-rail.css +0 -78
  1117. package/src/styles/glass/reveal.css +0 -333
  1118. package/src/styles/glass/rim.css +0 -122
  1119. package/src/styles/glass/squircle.css +0 -58
  1120. package/src/styles/glass/surface-axis.css +0 -136
  1121. package/src/styles/glass/surfaces-pager.css +0 -79
  1122. package/src/styles/glass/surfaces.css +0 -434
  1123. package/src/styles/glass-refract.css +0 -112
  1124. package/src/styles/glass-specular-track.css +0 -74
  1125. package/src/styles/glass.css +0 -110
  1126. package/src/styles/index.css +0 -288
  1127. package/src/styles/paper.css +0 -187
  1128. package/src/styles/scroll-choreography.css +0 -294
  1129. package/src/styles/scroll-chrome.css +0 -123
  1130. package/src/styles/scroll-driven.css +0 -123
  1131. package/src/styles/theme/bridges.css +0 -380
  1132. package/src/styles/theme/dark.css +0 -7
  1133. package/src/styles/theme/literals.css +0 -104
  1134. package/src/styles/theme/radius.css +0 -148
  1135. package/src/styles/theme.css +0 -33
  1136. package/src/styles/tokens/color-radius.css +0 -308
  1137. package/src/styles/tokens/dark-arm-glass.css +0 -55
  1138. package/src/styles/tokens/dark-arm.css +0 -455
  1139. package/src/styles/tokens/glass-deep.css +0 -126
  1140. package/src/styles/tokens/glass-fx.css +0 -480
  1141. package/src/styles/tokens/glass.css +0 -477
  1142. package/src/styles/tokens/light-dark.css +0 -216
  1143. package/src/styles/tokens/motion-registers.css +0 -93
  1144. package/src/styles/tokens/offsets.css +0 -142
  1145. package/src/styles/tokens/on-glass-fg.css +0 -39
  1146. package/src/styles/tokens/property-regs-specular.css +0 -160
  1147. package/src/styles/tokens/property-regs.css +0 -448
  1148. package/src/styles/tokens/scale-paper.css +0 -495
  1149. package/src/styles/tokens/scheme-motion.css +0 -425
  1150. package/src/styles/tokens/scheme-spring.css +0 -282
  1151. package/src/styles/tokens/scroll-tokens.css +0 -137
  1152. package/src/styles/tokens/shadow.css +0 -206
  1153. package/src/styles/tokens/sizing-config.css +0 -110
  1154. package/src/styles/tokens/sizing.css +0 -505
  1155. package/src/styles/tokens.css +0 -68
  1156. package/src/styles/tokens.ts +0 -58
  1157. package/src/styles/transitions.css +0 -228
  1158. package/src/styles/typography/scale.css +0 -166
  1159. package/src/styles/typography/semantic.css +0 -233
  1160. package/src/styles/typography/utilities.css +0 -197
  1161. package/src/styles/typography.css +0 -46
  1162. package/src/styles/utilities/a11y-overrides.css +0 -184
  1163. package/src/styles/utilities/base-misc.css +0 -307
  1164. package/src/styles/utilities/base.css +0 -337
  1165. package/src/styles/utilities/btn.css +0 -306
  1166. package/src/styles/utilities/components.css +0 -337
  1167. package/src/styles/utilities/metal.css +0 -272
  1168. package/src/styles/utilities.css +0 -24
  1169. package/src/styles/view-transition.css +0 -67
  1170. package/src/styles/viz-reveal.css +0 -63
  1171. /package/dist/{_plugin-vue_export-helper-C1je1s0u.js → _plugin-vue_export-helper-B3ysoDQm.js} +0 -0
  1172. /package/dist/{compile-DK3Fri1B.js → compile-D7VYG3gi.js} +0 -0
  1173. /package/dist/components/_shared/{valueDomain.d.ts → field/valueDomain.d.ts} +0 -0
  1174. /package/dist/composables/glass/{webgl/shaders/procedural-color.glsl.d.ts → procedural/color.glsl.d.ts} +0 -0
  1175. /package/dist/{components/aurora/constants/shaders/procedural-color.wgsl.d.ts → composables/glass/procedural/color.wgsl.d.ts} +0 -0
  1176. /package/dist/composables/motion/{useIntersectionPause.d.ts → core/useIntersectionPause.d.ts} +0 -0
  1177. /package/dist/composables/motion/{useRAFLoop.d.ts → core/useRAFLoop.d.ts} +0 -0
  1178. /package/dist/composables/motion/{useYieldToMain.d.ts → core/useYieldToMain.d.ts} +0 -0
  1179. /package/dist/composables/motion/{useAnimatedNumber.d.ts → number/useAnimatedNumber.d.ts} +0 -0
  1180. /package/dist/composables/motion/{vReveal.d.ts → reveal/vReveal.d.ts} +0 -0
  1181. /package/dist/composables/motion/{scrollReader.d.ts → scroll/scrollReader.d.ts} +0 -0
  1182. /package/dist/composables/motion/{supportsCssTimeline.d.ts → scroll/supportsCssTimeline.d.ts} +0 -0
  1183. /package/dist/composables/motion/{useScrollTrigger.d.ts → scroll/useScrollTrigger.d.ts} +0 -0
  1184. /package/dist/{createContext-FU0n5MGK.js → createContext-BhkE9mLH.js} +0 -0
  1185. /package/dist/{dark-DIH-blY1.js → dark-z_P5QwqI.js} +0 -0
  1186. /package/dist/{motionTempo-CMS5b0Vu.js → motionTempo-tscp92Nm.js} +0 -0
  1187. /package/dist/{prng-Dz2_9RJu.js → prng-2uS6J_A1.js} +0 -0
  1188. /package/dist/{rendererStatus-C2-zC2Q-.js → rendererStatus-BxUlBLVy.js} +0 -0
  1189. /package/dist/{useFuzzySearch-BOgep7RE.js → useFuzzySearch-CUnZknpm.js} +0 -0
  1190. /package/dist/{useResizeObserver-BcUTquV7.js → useResizeObserver-CdUlm2QZ.js} +0 -0
  1191. /package/dist/{useTimer-D8koDvJS.js → useTimer-C3yfti4C.js} +0 -0
  1192. /package/dist/{writeVelocityWeight-D_AcvTsE.js → writeVelocityWeight-DoGOCW3e.js} +0 -0
package/dist/dock.js CHANGED
@@ -1,38 +1,50 @@
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 "./useLiquidPress-BYcwwGQV.js";
5
- import { t as i } from "./vSpecular-CQFmLNzA.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-BcUTquV7.js";
9
- import { t as c } from "./useTouchGate-Cj5fOkTv.js";
10
- import { n as l } from "./useResolveTokenColor-C07e-qaT.js";
11
- import { t as u } from "./DropdownMenuTrigger-BzQtd9lt.js";
12
- import { n as d, t as f } from "./createContext-FU0n5MGK.js";
13
- import { a as p, i as m, n as h, o as g, r as _, s as v, t as y } from "./dockContext-4S9qP0Z4.js";
14
- import { t as b } from "./FadingScroll-C1ZWEjmG.js";
15
- import { t as x } from "./useDragMorph-7ygF9O0m.js";
16
- import { n as S } from "./useDockCtaReceive-CK-RLASa.js";
17
- import { t as C } from "./useRAFLoop-BtwQ9DyY.js";
18
- import { t as w } from "./useIntersectionPause-B-dbxl9w.js";
19
- import { n as T, t as E } from "./useSelectionGroup-LDzBdR1Y.js";
20
- import { t as D } from "./useFuzzySearch-BOgep7RE.js";
21
- import { Fragment as O, computed as k, createBlock as A, createCommentVNode as j, createElementBlock as M, createElementVNode as N, createVNode as P, defineComponent as F, mergeModels as I, mergeProps as L, nextTick as ee, normalizeClass as R, normalizeStyle as z, onBeforeUnmount as B, onMounted as te, onScopeDispose as V, onUnmounted as ne, openBlock as H, readonly as U, ref as W, renderList as G, renderSlot as K, resolveDynamicComponent as q, toDisplayString as re, toValue as ie, unref as J, useId as ae, useModel as oe, useTemplateRef as Y, watch as X, withCtx as Z, withDirectives as Q, withKeys as se } from "vue";
1
+ import { t as e } from "./class-names-q-UGOkHH.js";
2
+ import { n as t } from "./useReducedMotion-vCXA_vyM.js";
3
+ import { t as n } from "./vSpecular-DMJo8pfD.js";
4
+ import { t as r } from "./motionTempo-tscp92Nm.js";
5
+ import { n as i } from "./springPresets-Cbe0Voqg.js";
6
+ import { t as a } from "./useLiquidPress-h1scrPtP.js";
7
+ import { t as o } from "./useMotionAxis-D-rtIhca.js";
8
+ import { n as s, t as c } from "./createContext-BhkE9mLH.js";
9
+ import { a as l, c as u, i as d, l as f, n as p, o as m, r as h, s as g } from "./participation-B0hdsIRo.js";
10
+ import { t as _ } from "./useResizeObserver-CdUlm2QZ.js";
11
+ import { n as v, r as y } from "./useResolveTokenColor-CspQv_ik.js";
12
+ import { t as b } from "./focus-Duf7EpUu.js";
13
+ import { t as x } from "./DropdownMenuTrigger-8UZsBtZ8.js";
14
+ import { t as S } from "./useSelectionGroup-zsEwitF6.js";
15
+ import { t as C } from "./useDragMorph-B363RUbF.js";
16
+ import { n as w } from "./useDockCtaReceive-BSSgD6mu.js";
17
+ import { n as T, t as E } from "./useScrollChrome-BJbWV32F.js";
18
+ import { t as D } from "./useIntersectionPause-CzKR3EyP.js";
19
+ import { t as O } from "./useFuzzySearch-CUnZknpm.js";
20
+ import { Fragment as k, computed as A, createBlock as j, createCommentVNode as M, createElementBlock as N, createElementVNode as P, createVNode as F, defineComponent as I, mergeModels as ee, mergeProps as L, nextTick as R, normalizeClass as z, normalizeStyle as B, onBeforeUnmount as te, onMounted as V, onScopeDispose as ne, onUnmounted as H, openBlock as U, readonly as W, ref as G, renderList as re, renderSlot as K, resolveDynamicComponent as q, toDisplayString as ie, unref as J, useId as ae, useModel as Y, useTemplateRef as X, watch as Z, withCtx as Q, withDirectives as oe, withModifiers as se } from "vue";
22
21
  import { PopoverTrigger as ce, Primitive as le, SelectIcon as ue, SelectTrigger as de } from "reka-ui";
23
- import { ChevronDown as fe, Layers as pe, Pause as me, Play as he } from "@lucide/vue";
24
- import { SpringProgress as ge } from "@mkbabb/keyframes.js";
25
- import { useMediaQuery as _e } from "@vueuse/core";
26
- import { rawOklabToOklch as ve, srgbToOKLab as ye } from "@mkbabb/value.js";
22
+ import { ChevronDown as fe, Pause as pe, Play as me } from "@lucide/vue";
23
+ import { SpringProgress as he } from "@mkbabb/keyframes.js";
24
+ import { useMediaQuery as ge } from "@vueuse/core";
25
+ //#region src/components/_shared/overlay/isTeleportedTarget.ts
26
+ function $(e, t) {
27
+ if (!(e instanceof Element)) return !1;
28
+ let n = e.closest("[data-glass-dock-portal]");
29
+ return n ? !t || n.getAttribute("data-glass-dock-owner") === t : !1;
30
+ }
31
+ //#endregion
27
32
  //#region src/composables/glass/backdropSampleMath.ts
28
- function be(e) {
33
+ function _e(e) {
29
34
  let t = e / 255;
30
35
  return t <= .03928 ? t / 12.92 : ((t + .055) / 1.055) ** 2.4;
31
36
  }
32
- function xe(e, t, n) {
33
- return .2126 * be(e) + .7152 * be(t) + .0722 * be(n);
37
+ function ve(e, t, n) {
38
+ return .2126 * _e(e) + .7152 * _e(t) + .0722 * _e(n);
39
+ }
40
+ function ye(e, t, n, r, i) {
41
+ return [
42
+ e * r + i[0] * (1 - r),
43
+ t * r + i[1] * (1 - r),
44
+ n * r + i[2] * (1 - r)
45
+ ];
34
46
  }
35
- function Se(e) {
47
+ function be(e) {
36
48
  let t = e.match(/rgba?\(\s*([\d.]+)[,\s]+([\d.]+)[,\s]+([\d.]+)(?:[,\s/]+([\d.]+))?/i);
37
49
  return t ? [
38
50
  Number(t[1]),
@@ -41,60 +53,31 @@ function Se(e) {
41
53
  t[4] === void 0 ? 1 : Number(t[4])
42
54
  ] : null;
43
55
  }
44
- function Ce(e) {
56
+ function xe(e) {
45
57
  return typeof HTMLCanvasElement < "u" && e instanceof HTMLCanvasElement;
46
58
  }
47
- //#endregion
48
- //#region src/composables/glass/ambientHueHistogram.ts
49
- var $ = 12, we = .72, Te = .06, Ee = .004;
50
- function De() {
51
- return {
52
- weight: new Float64Array($),
53
- sumCos: new Float64Array($),
54
- sumSin: new Float64Array($),
55
- totalMass: 0,
56
- n: 0
57
- };
58
- }
59
- function Oe(e, t, n, r, i) {
60
- e.n++;
61
- let [a, o, s] = ye(t, n, r), [, c, l] = ve(a, o, s);
62
- if (!Number.isFinite(c) || !Number.isFinite(l) || c <= 0) return;
63
- let u = c * i;
64
- if (u <= 0) return;
65
- let d = l * Math.PI / 180, f = Math.floor(l / 360 * $) % $;
66
- f < 0 && (f += $), e.weight[f] += u, e.sumCos[f] += u * Math.cos(d), e.sumSin[f] += u * Math.sin(d), e.totalMass += u;
67
- }
68
- function ke(e) {
69
- if (e.n === 0 || e.totalMass / e.n < Ee) return "transparent";
70
- let t = 0;
71
- for (let n = 1; n < $; n++) e.weight[n] > e.weight[t] && (t = n);
72
- if (e.weight[t] <= 0) return "transparent";
73
- let n = Math.atan2(e.sumSin[t], e.sumCos[t]) * 180 / Math.PI;
74
- return n < 0 && (n += 360), `oklch(${we} ${Te} ${n.toFixed(1)})`;
75
- }
76
- var Ae = "[data-glass-field-canvas] canvas, canvas[data-glass-field-canvas]";
77
- function je(e) {
59
+ var Se = "[data-glass-field-canvas] canvas, canvas[data-glass-field-canvas]";
60
+ function Ce(e) {
78
61
  if (!e) {
79
62
  if (typeof document < "u") {
80
- let e = document.querySelector(Ae);
81
- if (Ce(e)) return e;
63
+ let e = document.querySelector(Se);
64
+ if (xe(e)) return e;
82
65
  }
83
66
  return null;
84
67
  }
85
- if (Ce(e)) return e;
68
+ if (xe(e)) return e;
86
69
  if (typeof e == "function") {
87
70
  let t = e();
88
- return Ce(t) ? t : null;
71
+ return xe(t) ? t : null;
89
72
  }
90
73
  if (typeof e == "string" && typeof document < "u") {
91
74
  let t = document.querySelector(e);
92
- return Ce(t) ? t : null;
75
+ return xe(t) ? t : null;
93
76
  }
94
77
  return null;
95
78
  }
96
- function Me(e, t) {
97
- let n = Se(e);
79
+ function we(e, t) {
80
+ let n = be(e);
98
81
  if (n) return n;
99
82
  if (!t) return null;
100
83
  try {
@@ -110,70 +93,79 @@ function Me(e, t) {
110
93
  return null;
111
94
  }
112
95
  }
113
- function Ne(e, t, n) {
96
+ function Te(e, t, n, r) {
114
97
  if (!t || t.width === 0 || t.height === 0 || !n) return null;
115
- let r = e.getBoundingClientRect(), i = t.getBoundingClientRect();
116
- if (i.width === 0 || i.height === 0) return null;
117
- 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));
118
- if (l <= 0 || u <= 0) return null;
98
+ let i = e.getBoundingClientRect(), a = t.getBoundingClientRect();
99
+ if (a.width === 0 || a.height === 0) return null;
100
+ let o = t.width / a.width, s = t.height / a.height, c = Math.max(0, (i.left - a.left) * o), l = Math.max(0, (i.top - a.top) * s), u = Math.min(t.width - c, Math.max(1, i.width * o)), d = Math.min(t.height - l, Math.max(1, i.height * s));
101
+ if (u <= 0 || d <= 0) return null;
119
102
  try {
120
- n.clearRect(0, 0, 32, 32), n.drawImage(t, s, c, l, u, 0, 0, 32, 32);
121
- let e = n.getImageData(0, 0, 32, 32).data, r = 0, i = 0, a = 0, o = De();
103
+ n.clearRect(0, 0, 32, 32), n.drawImage(t, c, l, u, d, 0, 0, 32, 32);
104
+ let e = n.getImageData(0, 0, 32, 32).data, i = 0, a = 0, o = 0;
122
105
  for (let t = 0; t < e.length; t += 4) {
123
- 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);
124
- r += xe(s, c, l), i += n, Oe(o, s, c, l, n), a++;
106
+ let n = e[t + 3] / 255, [s, c, l] = ye(e[t], e[t + 1], e[t + 2], n, r);
107
+ i += ve(s, c, l), a += n, o++;
125
108
  }
126
- return a === 0 || i / a < .02 ? null : {
127
- luma: r / a,
128
- ambientHue: ke(o)
129
- };
109
+ return o === 0 || a / o < .02 ? null : { luma: i / o };
130
110
  } catch {
131
111
  return null;
132
112
  }
133
113
  }
134
- function Pe(e, t) {
114
+ function Ee(e, t) {
135
115
  let n = e.getBoundingClientRect(), r = n.left + n.width / 2, i = n.top + n.height / 2, a = document.elementsFromPoint(r, i);
136
116
  for (let n of a) {
137
117
  if (!(n instanceof HTMLElement) || n === e || e.contains(n)) continue;
138
- let r = getComputedStyle(n).backgroundColor, i = Me(l(r, e), t);
139
- if (i && !(i[3] < .5)) return Fe(i);
118
+ let r = getComputedStyle(n).backgroundColor, i = we(v(r, e), t);
119
+ if (i && !(i[3] < .5)) return i;
140
120
  }
141
- let o = Me(l(getComputedStyle(document.body).backgroundColor, e), t);
142
- return o ? Fe(o) : null;
121
+ return we(v(getComputedStyle(document.body).backgroundColor, e), t);
143
122
  }
144
- function Fe(e) {
145
- let t = De();
146
- return Oe(t, e[0], e[1], e[2], e[3]), {
147
- luma: xe(e[0], e[1], e[2]),
148
- ambientHue: ke(t)
149
- };
123
+ var De = [
124
+ 255,
125
+ 255,
126
+ 255
127
+ ];
128
+ function Oe(e, t) {
129
+ let n = Ee(e, t);
130
+ return n && n[3] >= .5 ? [
131
+ n[0],
132
+ n[1],
133
+ n[2]
134
+ ] : [...De];
135
+ }
136
+ function ke(e, t) {
137
+ let n = Ee(e, t);
138
+ return n ? Ae(n) : null;
139
+ }
140
+ function Ae(e) {
141
+ return { luma: ve(e[0], e[1], e[2]) };
150
142
  }
151
143
  //#endregion
152
144
  //#region src/composables/glass/useGlassBackdropLuminance.ts
153
- var Ie = "(prefers-reduced-motion: reduce)", Le = "data-glass-backdrop-shared", Re = "8%";
154
- function ze(e, t = {}) {
155
- let { lightThreshold: n = .6, minSampleIntervalMs: r = 250, writeBucket: i = !0 } = t, a = Math.max(250, r), o = t.shared === !0;
145
+ var je = "data-glass-backdrop-shared";
146
+ function Me(e, n = {}) {
147
+ let { lightThreshold: r = .6, minSampleIntervalMs: i = 250, writeBucket: a = !0 } = n, o = Math.max(250, i), s = n.shared === !0;
156
148
  function c(e) {
157
- return o ? !1 : e.closest(`[${Le}]`) !== null;
149
+ return !s && e.closest(`[${je}]`) !== null;
158
150
  }
159
- let l = W(null), u = W(null), d = W({
151
+ let l = G(null), u = G(null), d = G({
160
152
  state: "pending",
161
- mode: t.live === !0 ? "live" : "static",
162
- source: t.live === !0 ? "canvas" : "elements"
153
+ mode: n.live === !0 ? "live" : "static",
154
+ source: n.live === !0 ? "canvas" : "elements"
163
155
  });
164
156
  if (typeof window > "u") return {
165
- luma: U(l),
166
- bucket: U(u),
167
- sample: U(d),
157
+ luma: W(l),
158
+ bucket: W(u),
159
+ sample: W(d),
168
160
  sampleNow: () => {},
169
161
  dispose: () => {}
170
162
  };
171
- let f = window.matchMedia(Ie), p = f.matches, m = null, h = null;
172
- function g() {
173
- return m || (m = document.createElement("canvas"), m.width = 32, m.height = 32), h ||= m.getContext("2d", { willReadFrequently: !0 }), h;
163
+ let f = t(), p = null, m = null;
164
+ function h() {
165
+ return p || (p = document.createElement("canvas"), p.width = 32, p.height = 32), m ||= p.getContext("2d", { willReadFrequently: !0 }), m;
174
166
  }
175
- function _() {
176
- return t.live === void 0 ? e.value?.dataset.glassSample === "live" || t.backgroundCanvas != null ? !0 : je(void 0) !== null : t.live;
167
+ function g() {
168
+ return n.live === void 0 ? e.value?.dataset.glassSample === "live" || n.backgroundCanvas != null || Ce(void 0) !== null : n.live;
177
169
  }
178
170
  function v(e) {
179
171
  let t = e.getBoundingClientRect();
@@ -184,19 +176,18 @@ function ze(e, t = {}) {
184
176
  height: t.height
185
177
  };
186
178
  }
187
- function y(e, t, r, a) {
179
+ function y(e, t, n, i) {
188
180
  let o = e.luma;
189
181
  l.value = o;
190
- let s = o >= n ? "light" : "dark";
182
+ let s = o >= r ? "light" : "dark";
191
183
  u.value = s, d.value = {
192
184
  state: "sampled",
193
- mode: r,
194
- source: r === "live" ? "canvas" : "elements",
185
+ mode: n,
186
+ source: n === "live" ? "canvas" : "elements",
195
187
  luma: o,
196
- ambientHue: e.ambientHue,
197
- sampledAt: a,
188
+ sampledAt: i,
198
189
  targetRect: v(t)
199
- }, t.style.setProperty("--glass-backdrop-luma", o.toFixed(3)), t.style.setProperty("--glass-ambient-hue", e.ambientHue), t.style.setProperty("--glass-ambient-strength", e.ambientHue === "transparent" ? "0%" : Re), t.setAttribute("data-backdrop-sampled", ""), t.setAttribute("data-backdrop-sample-state", "sampled"), t.setAttribute("data-backdrop-sample-source", r === "live" ? "canvas" : "elements"), t.removeAttribute("data-backdrop-sample-reason"), t.style.setProperty("--glass-backdrop-sampled", "1"), i && t.style.setProperty("--glass-backdrop", s);
190
+ }, t.style.setProperty("--glass-backdrop-luma", o.toFixed(3)), t.setAttribute("data-backdrop-sampled", ""), t.setAttribute("data-backdrop-sample-state", "sampled"), t.setAttribute("data-backdrop-sample-source", n === "live" ? "canvas" : "elements"), t.removeAttribute("data-backdrop-sample-reason"), t.style.setProperty("--glass-backdrop-sampled", "1"), a && t.style.setProperty("--glass-backdrop", s);
200
191
  }
201
192
  function b(e, t, n, r) {
202
193
  l.value = null, u.value = null, d.value = {
@@ -206,42 +197,39 @@ function ze(e, t = {}) {
206
197
  reason: n,
207
198
  sampledAt: r,
208
199
  targetRect: v(e)
209
- }, e.style.removeProperty("--glass-backdrop-luma"), e.style.removeProperty("--glass-ambient-hue"), e.style.removeProperty("--glass-ambient-strength"), e.style.removeProperty("--glass-backdrop-sampled"), i && e.style.removeProperty("--glass-backdrop"), e.removeAttribute("data-backdrop-sampled"), e.setAttribute("data-backdrop-sample-state", "unavailable"), e.setAttribute("data-backdrop-sample-source", t === "live" ? "canvas" : "elements"), e.setAttribute("data-backdrop-sample-reason", n);
200
+ }, e.style.removeProperty("--glass-backdrop-luma"), e.style.removeProperty("--glass-backdrop-sampled"), a && e.style.removeProperty("--glass-backdrop"), e.removeAttribute("data-backdrop-sampled"), e.setAttribute("data-backdrop-sample-state", "unavailable"), e.setAttribute("data-backdrop-sample-source", t === "live" ? "canvas" : "elements"), e.setAttribute("data-backdrop-sample-reason", n);
210
201
  }
211
202
  let x = 0;
212
203
  function S() {
213
- let n = e.value;
214
- if (!n || c(n)) return;
215
- let r = g(), i = _() ? "live" : "static", a = i === "live" ? je(t.backgroundCanvas) : null, o = i === "live" ? Ne(n, a, r) : Pe(n, r), s = Date.now();
216
- o ? y(o, n, i, s) : b(n, i, i === "live" && !a ? "source-unavailable" : "sample-unavailable", s), x = typeof performance < "u" ? performance.now() : s;
204
+ let t = e.value;
205
+ if (!t || c(t)) return;
206
+ let r = h(), i = g() ? "live" : "static", a = i === "live" ? Ce(n.backgroundCanvas) : null, o = i === "live" ? Te(t, a, r, Oe(t, r)) : ke(t, r), s = Date.now();
207
+ o ? y(o, t, i, s) : b(t, i, i === "live" && !a ? "source-unavailable" : "sample-unavailable", s), x = typeof performance < "u" ? performance.now() : s;
217
208
  }
218
- let T = C(({ now: e }) => {
219
- p || e - x < a || S();
209
+ let C = T(({ now: e }) => {
210
+ f.value || e - x < o || S();
220
211
  }, {
221
212
  immediate: !1,
222
213
  pauseWhenHidden: !0,
223
214
  respectReducedMotion: !0
224
- }), E = w(() => e.value, {
225
- pause: () => T.pause(),
215
+ }), w = D(() => e.value, {
216
+ pause: () => C.pause(),
226
217
  resume: () => {
227
218
  let t = e.value;
228
- t && c(t) || _() && !p && T.resume();
219
+ t && c(t) || g() && !f.value && C.resume();
229
220
  }
230
- }, { rootMargin: "200px" }), D = s(e, () => S());
221
+ }, { rootMargin: "200px" }), E = _(e, () => S());
231
222
  function O() {
232
- p = f.matches;
233
223
  let t = e.value;
234
224
  if (t && c(t)) {
235
- T.stop();
225
+ C.stop();
236
226
  return;
237
227
  }
238
- p ? (T.stop(), S()) : _() && T.start();
228
+ f.value ? (C.stop(), S()) : g() && C.start();
239
229
  }
240
- let k = () => O();
241
- typeof f.addEventListener == "function" && f.addEventListener("change", k);
242
- let A = X(() => e.value, (e) => {
230
+ let k = Z(f, O, { flush: "sync" }), A = Z(() => e.value, (e) => {
243
231
  if (e) {
244
- if (o) e.setAttribute(Le, "");
232
+ if (s) e.setAttribute(je, "");
245
233
  else if (c(e)) return;
246
234
  S(), O();
247
235
  }
@@ -250,335 +238,277 @@ function ze(e, t = {}) {
250
238
  flush: "post"
251
239
  });
252
240
  function j() {
253
- A(), T.dispose(), E.dispose(), D.stop(), typeof f.removeEventListener == "function" && f.removeEventListener("change", k), m = null, h = null;
241
+ A(), k(), C.dispose(), w.dispose(), E.stop(), p = null, m = null;
254
242
  }
255
- return V(j), {
256
- luma: U(l),
257
- bucket: U(u),
258
- sample: U(d),
243
+ return ne(j), {
244
+ luma: W(l),
245
+ bucket: W(u),
246
+ sample: W(d),
259
247
  sampleNow: S,
260
248
  dispose: j
261
249
  };
262
250
  }
263
251
  //#endregion
264
- //#region src/components/dock/composables/isTeleportedTarget.ts
265
- function Be(e, t) {
266
- if (!(e instanceof Element)) return !1;
267
- let n = e.closest("[data-glass-dock-portal]");
268
- return n ? t ? n.getAttribute("data-glass-dock-owner") === t : !0 : !1;
269
- }
270
- //#endregion
271
252
  //#region src/components/dock/composables/useDockState.ts
272
- function Ve(e) {
273
- 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 = k(() => p.value > 0), h = null, g = null, _ = !1, v = null;
274
- function y() {
275
- v &&= (clearTimeout(v), null);
253
+ function Ne(e) {
254
+ let { collapseDelay: t = 3600, rootEl: n, alwaysExpanded: r = !1, interaction: i = "auto", initialExpanded: a = !1, isTransitioning: o, dockId: s, onStateChange: c } = e, l = () => typeof r == "boolean" ? r : r.value, u = () => typeof i == "string" ? i : i.value, d = () => l() || u() === "manual", f = G(l() ? "pinned" : a ? "hover" : "collapsed"), p = A(() => f.value !== "collapsed"), m = A(() => f.value === "pinned"), h = null, g = G(0), _ = G(0), v = A(() => g.value > 0), y = A(() => _.value > 0), b = null, x = null, S = !1, C = null;
255
+ function w() {
256
+ C &&= (clearTimeout(C), null);
276
257
  }
277
- let b = l.value;
278
- function x() {
279
- 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;
258
+ let T = f.value;
259
+ function E() {
260
+ l() && (f.value = "pinned"), c && T !== f.value && c(f.value, T), T = f.value;
280
261
  }
281
- function S() {
282
- f &&= (clearTimeout(f), null);
262
+ function D() {
263
+ h &&= (clearTimeout(h), null);
283
264
  }
284
- function C() {
285
- g !== null && (cancelAnimationFrame(g), g = null);
265
+ function O() {
266
+ x !== null && (cancelAnimationFrame(x), x = null);
286
267
  }
287
- function w() {
288
- C(), h?.();
268
+ function k() {
269
+ O(), b?.();
289
270
  }
290
- function T() {
291
- s() || p.value > 0 || (S(), f = setTimeout(() => {
292
- l.value = "collapsed", x();
271
+ function j() {
272
+ d() || g.value > 0 || (D(), h = setTimeout(() => {
273
+ f.value = "collapsed", E();
293
274
  }, t));
294
275
  }
295
- function E() {
296
- if (s()) {
297
- l.value = "pinned", x();
276
+ function M() {
277
+ if (l()) {
278
+ f.value = "pinned", E();
298
279
  return;
299
280
  }
300
- _ ||= (_ = !0, S(), y(), l.value = "collapsed", x(), !1);
281
+ S ||= (S = !0, D(), w(), f.value = "collapsed", E(), !1);
301
282
  }
302
- function D() {
303
- if (s()) {
304
- l.value = "pinned", x();
283
+ function N() {
284
+ if (l()) {
285
+ f.value = "pinned", E();
305
286
  return;
306
287
  }
307
- S(), y(), l.value = "hover", x();
288
+ D(), w(), f.value = "hover", E();
308
289
  }
309
- function O() {
310
- s() || (S(), l.value === "collapsed" && (y(), v = setTimeout(() => {
311
- v = null, !s() && l.value === "collapsed" && (l.value = "hover", x());
290
+ function P() {
291
+ d() || (D(), f.value === "collapsed" && (w(), C = setTimeout(() => {
292
+ C = null, !d() && f.value === "collapsed" && (f.value = "hover", E());
312
293
  }, 60)));
313
294
  }
314
- function A(e) {
315
- if (!s() && (y(), l.value === "hover")) {
316
- if (p.value > 0) return;
295
+ function F(e) {
296
+ if (!d() && (w(), f.value === "hover")) {
297
+ if (g.value > 0) return;
317
298
  if (e) {
318
299
  let t = n.value;
319
- if (t && e.relatedTarget instanceof Node && t.contains(e.relatedTarget) || Be(e.relatedTarget, a)) return;
300
+ if (t && e.relatedTarget instanceof Node && t.contains(e.relatedTarget) || $(e.relatedTarget, s)) return;
320
301
  }
321
- T();
302
+ j();
322
303
  }
323
304
  }
324
- function j() {
325
- s() || (S(), l.value === "collapsed" && (l.value = "hover", x()));
305
+ function I() {
306
+ d() || (D(), f.value === "collapsed" && (f.value = "hover", E()));
326
307
  }
327
- function M(e) {
328
- if (s() || l.value !== "hover" || p.value > 0) return;
308
+ function ee(e) {
309
+ if (d() || f.value !== "hover" || g.value > 0) return;
329
310
  let t = e.currentTarget;
330
- e.relatedTarget && t.contains(e.relatedTarget) || Be(e.relatedTarget, a) || T();
311
+ e.relatedTarget && t.contains(e.relatedTarget) || $(e.relatedTarget, s) || j();
331
312
  }
332
- function N() {
333
- if (s()) {
334
- l.value = "pinned", x();
335
- return;
336
- }
337
- S(), y(), l.value = "pinned", x();
313
+ function L() {
314
+ d() || (D(), w(), f.value = "pinned", E());
338
315
  }
339
- function P() {
340
- p.value++, S();
316
+ function R(e = "morph") {
317
+ g.value++, e === "grasp" && _.value++, D();
341
318
  }
342
- function F() {
343
- p.value = Math.max(0, p.value - 1), p.value === 0 && l.value === "hover" && (S(), f = setTimeout(() => {
344
- p.value === 0 && l.value === "hover" && T();
319
+ function z(e = "morph") {
320
+ e === "grasp" && (_.value = Math.max(0, _.value - 1)), g.value = Math.max(0, g.value - 1), g.value === 0 && f.value === "hover" && (D(), h = setTimeout(() => {
321
+ g.value === 0 && f.value === "hover" && j();
345
322
  }, Math.min(t, 800)));
346
323
  }
347
- function I(e) {
348
- if (s() || p.value > 0 || i?.value) return;
324
+ function B(e) {
325
+ if (d() || g.value > 0 || o?.value) return;
349
326
  let t = n.value;
350
- !t || t.contains(e.target) || Be(e.target, a) || E();
327
+ !t || t.contains(e.target) || $(e.target, s) || M();
351
328
  }
352
- return X(u, (e) => {
353
- e ? (w(), g = requestAnimationFrame(() => {
354
- g = null, u.value && (document.addEventListener("pointerdown", I, !0), h = () => {
355
- document.removeEventListener("pointerdown", I, !0), h = null;
329
+ return Z(p, (e) => {
330
+ if (e) {
331
+ if (typeof document > "u") return;
332
+ k(), x = requestAnimationFrame(() => {
333
+ x = null, p.value && (document.addEventListener("pointerdown", B, !0), b = () => {
334
+ document.removeEventListener("pointerdown", B, !0), b = null;
335
+ });
356
336
  });
357
- })) : w();
358
- }), typeof r == "boolean" ? r && (l.value = "pinned", x()) : X(r, (e) => {
337
+ } else k();
338
+ }, { immediate: !0 }), typeof r == "boolean" ? r && (f.value = "pinned", E()) : Z(r, (e) => {
359
339
  if (e) {
360
- S(), l.value = "pinned", x();
340
+ D(), f.value = "pinned", E();
361
341
  return;
362
342
  }
363
- l.value = "collapsed", x();
364
- }, { immediate: !0 }), ne(() => {
365
- S(), y(), w();
343
+ f.value = "collapsed", E();
344
+ }), typeof i != "string" && Z(i, (e) => {
345
+ e === "manual" && (D(), w());
346
+ }), H(() => {
347
+ D(), w(), k();
366
348
  }), {
367
- state: l,
368
- expanded: u,
369
- isPinned: d,
370
- isHeld: m,
371
- onMouseEnter: O,
372
- onMouseLeave: A,
373
- onFocusIn: j,
374
- onFocusOut: M,
375
- onClickCollapsed: N,
376
- keepOpen: P,
377
- release: F,
378
- expand: D,
379
- collapse: E
349
+ state: f,
350
+ expanded: p,
351
+ isPinned: m,
352
+ isHeld: v,
353
+ graspHeld: y,
354
+ onMouseEnter: P,
355
+ onMouseLeave: F,
356
+ onFocusIn: I,
357
+ onFocusOut: ee,
358
+ onClickCollapsed: L,
359
+ keepOpen: R,
360
+ release: z,
361
+ expand: N,
362
+ collapse: M
380
363
  };
381
364
  }
382
365
  //#endregion
383
366
  //#region src/components/dock/composables/useDockSpring.ts
384
- function He(e) {
385
- let n = null, r = () => n !== null && !n.settled;
367
+ function Pe(e) {
368
+ let t = null, n = () => t !== null && !t.settled;
386
369
  function i() {
387
- n &&= (n.dispose(), null);
370
+ t &&= (t.dispose(), null);
388
371
  }
389
372
  function a(a, o, s) {
390
- let c = r() ? n.velocity : 0;
373
+ let c = n() ? t.velocity * (s.inheritVelocityScale ?? 1) : 0;
391
374
  i();
392
- let l = new ge({
393
- response: e.response * t(),
375
+ let l = new he({
376
+ response: e.response * r(),
394
377
  dampingFraction: e.dampingFraction,
395
378
  initial: a,
396
379
  respectReducedMotion: !0
397
380
  });
398
- n = l, l.reset(a, c), l.target = o, l.play((e, t) => {
399
- s.onFrame(e, t), l.settled && (s.onSettle?.(), n === l && i());
381
+ t = l, l.reset(a, c), l.target = o, l.play((e, n) => {
382
+ s.onFrame(e, n), l.settled && (s.onSettle?.(), t === l && i());
400
383
  });
401
384
  }
402
385
  function o(e) {
403
- r() && (n.target = e);
386
+ n() && (t.target = e);
404
387
  }
405
388
  return {
406
389
  playTo: a,
407
390
  retarget: o,
408
391
  get live() {
409
- return r();
392
+ return n();
410
393
  },
411
394
  get velocity() {
412
- return r() ? n.velocity : 0;
395
+ return n() ? t.velocity : 0;
413
396
  },
414
397
  dispose: i
415
398
  };
416
399
  }
417
400
  //#endregion
418
- //#region src/components/dock/composables/dockMorphContext.ts
419
- var Ue = f(g), { KEY: We } = Ue;
420
- function Ge(e) {
421
- Ue.provide(e);
422
- }
423
- Ue.use;
424
- function Ke(e) {
425
- let { rootEl: t, outerEl: n, outerActiveLayer: r, outerAxis: i } = e, a = He({
426
- response: v.response,
427
- dampingFraction: v.dampingFraction
428
- }), o = _e("(prefers-reduced-motion: reduce)"), s = /* @__PURE__ */ new Set();
429
- function c() {
401
+ //#region src/components/dock/composables/useDockMorph.ts
402
+ function Fe(e) {
403
+ let { rootEl: t, outerActiveLayer: n } = e, r = G(n.value), i = G(null), a = Pe({
404
+ response: u.response,
405
+ dampingFraction: u.dampingFraction
406
+ }), o = ge("(prefers-reduced-motion: reduce)");
407
+ function s() {
430
408
  return t.value;
431
409
  }
432
- function l() {
433
- let e = c();
434
- return !!e && e.hasAttribute("data-morphing");
435
- }
436
- function u(e) {
437
- e.leavingLayer.value = null;
438
- }
439
- function d() {
440
- let t = c();
441
- t && (t.removeAttribute("data-morphing"), t.removeAttribute("data-pane-swap"), t.style.removeProperty("--dock-morph-t")), e.onMorphActiveChange?.(!1), a.dispose();
442
- }
443
- function f() {
444
- for (let e of s) u(e);
445
- d();
410
+ function c() {
411
+ i.value = null;
412
+ let t = s();
413
+ t && (t.removeAttribute("data-morphing"), t.style.removeProperty("--dock-morph-t")), e.onMorphActiveChange?.(!1), a.dispose();
446
414
  }
447
- X(o, (e) => {
448
- e && l() && f();
415
+ Z(o, (e) => {
416
+ e && s()?.hasAttribute("data-morphing") && c();
449
417
  });
450
- function p(t = !1) {
451
- let n = c();
452
- 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, {
418
+ function l() {
419
+ let t = s();
420
+ if (!t) return;
421
+ e.onMorphActiveChange?.(!0), t.setAttribute("data-morphing", "");
422
+ let n = Number.parseFloat(t.style.getPropertyValue("--dock-morph-t")), r = a.live && !Number.isNaN(n), i = r ? 1 - n : 0;
423
+ t.style.setProperty("--dock-morph-t", `${i}`), a.playTo(i, 1, {
424
+ inheritVelocityScale: r ? -1 : 1,
453
425
  onFrame: (e) => {
454
- let t = c();
455
- t && t.style.setProperty("--dock-morph-t", `${e}`);
426
+ s()?.style.setProperty("--dock-morph-t", `${e}`);
456
427
  },
457
- onSettle: () => {
458
- f();
459
- }
460
- }));
428
+ onSettle: c
429
+ });
461
430
  }
462
- function m(e, t, n) {
463
- if (t !== n) {
464
- if (!c()) {
465
- e.currentLayer.value = t, e.leavingLayer.value = null;
466
- return;
467
- }
468
- e.leavingLayer.value = n, e.currentLayer.value = t, p(!e.isOuter);
431
+ let d = Z(n, (e, t) => {
432
+ if (e === t) return;
433
+ let n = s();
434
+ if (r.value = e, !n) {
435
+ i.value = null;
436
+ return;
469
437
  }
470
- }
471
- function h(e, t = !1) {
472
- let n = {
473
- containerEl: e.containerEl,
474
- axis: e.axis,
475
- activeLayer: e.activeLayer,
476
- currentLayer: W(e.activeLayer.value),
477
- leavingLayer: W(null),
478
- isOuter: t,
479
- stop: () => {}
480
- };
481
- return n.stop = X(e.activeLayer, (e, t) => {
482
- m(n, e, t);
483
- }), s.add(n), n;
484
- }
485
- function g(e) {
486
- e.stop(), s.delete(e), l() || a.dispose();
487
- }
488
- let _ = h({
489
- containerEl: n,
490
- activeLayer: r,
491
- axis: i
492
- }, !0);
493
- return ne(() => {
494
- for (let e of s) e.stop();
495
- s.clear(), a.dispose();
438
+ i.value = t, l();
439
+ });
440
+ return H(() => {
441
+ d(), a.dispose();
496
442
  }), {
497
- context: { registerGroup(e) {
498
- let t = h(e);
499
- return {
500
- currentLayer: U(t.currentLayer),
501
- leavingLayer: U(t.leavingLayer),
502
- release: () => g(t)
503
- };
504
- } },
505
- outerCurrentLayer: U(_.currentLayer),
506
- outerLeavingLayer: U(_.leavingLayer)
443
+ outerCurrentLayer: W(r),
444
+ outerLeavingLayer: W(i)
507
445
  };
508
446
  }
509
447
  //#endregion
510
448
  //#region src/components/dock/composables/dockMorphMeasure.ts
511
- function qe(e) {
512
- return e === "vertical" ? "height" : "width";
513
- }
514
- function Je(e, t) {
515
- return e.getBoundingClientRect()[qe(t)];
516
- }
517
- function Ye(e) {
518
- let t = e.ownerDocument.createElement("i");
519
- t.style.cssText = "position:absolute;visibility:hidden;pointer-events:none;contain:strict;inline-size:var(--dock-morph-min);block-size:0", e.append(t);
520
- let n = Number.parseFloat(e.ownerDocument.defaultView?.getComputedStyle(t).inlineSize ?? "");
521
- return t.remove(), Number.isFinite(n) && n > 0 ? n : null;
449
+ function Ie(e, t) {
450
+ return t === "vertical" ? e.offsetHeight : e.offsetWidth;
522
451
  }
523
- function Xe(e) {
524
- let { rootEl: t, contentEl: n, axis: r, expanded: i } = e, a = W(null), o = null, s = 0, c = 0, l = !1;
525
- function u(e) {
526
- return e.hasAttribute("data-morphing");
527
- }
452
+ function Le(e) {
453
+ let { rootEl: t, contentEl: n, expandedEl: r, collapsedEl: i, axis: a, expanded: o } = e, s = null, c = 0, l = 0, u = !1;
528
454
  function d() {
529
- let e = t.value, o = n.value;
530
- if (!e || !o) return;
531
- let d = r.value, f = Ye(e);
532
- if (f === null) {
533
- let t = e.ownerDocument.defaultView?.getComputedStyle(e).getPropertyValue("--dock-morph-min").trim() ?? "";
534
- a.value?.token !== t && (a.value = {
535
- code: "invalid-morph-min",
536
- token: t
537
- }), e.style.removeProperty("--dock-collapsed-px"), e.style.removeProperty("--dock-expanded-px");
538
- return;
539
- }
540
- if (a.value = null, l || (c = f), !u(e)) {
541
- let t = Je(e, d);
542
- t > 0 && (i.value ? s = t : (c = t, l = !0));
543
- }
544
- let p = s > 0 ? s : Math.max(Je(o, d), c), m = Math.max(p, c);
545
- e.style.setProperty("--dock-collapsed-px", `${c}px`), e.style.setProperty("--dock-expanded-px", `${m}px`);
455
+ let e = t.value, s = n.value, u = r.value, d = i.value;
456
+ if (!e || !s || !u || !d || e.hasAttribute("data-morphing")) return;
457
+ let f = a.value, p = Ie(e, f), m = Ie(u, f), h = Ie(d, f);
458
+ if (p <= 0 || m < 0 || h < 0) return;
459
+ o.value ? c = p : l = p;
460
+ let g = o.value ? m : h, _ = Math.max(0, p - g), v = c || _ + m, y = l || _ + h;
461
+ v <= 0 || y <= 0 || (e.style.setProperty("--dock-collapsed-px", `${y}px`), e.style.setProperty("--dock-expanded-px", `${Math.max(v, y)}px`));
546
462
  }
547
- function f(e) {
548
- o &&= (o.disconnect(), null), !(!e || typeof ResizeObserver > "u") && (o = new ResizeObserver(() => d()), n.value && o.observe(n.value), o.observe(e), d());
463
+ function f() {
464
+ s?.disconnect(), s = null;
465
+ let e = t.value;
466
+ if (e) {
467
+ if (typeof ResizeObserver < "u") {
468
+ s = new ResizeObserver(d);
469
+ for (let t of [
470
+ e,
471
+ n.value,
472
+ r.value,
473
+ i.value
474
+ ]) t && s.observe(t);
475
+ }
476
+ d();
477
+ }
549
478
  }
550
- X(t, (e) => f(e), { immediate: !0 }), X(n, () => f(t.value)), X(i, () => d());
479
+ Z([
480
+ t,
481
+ n,
482
+ r,
483
+ i,
484
+ a
485
+ ], f, { immediate: !0 }), Z(o, d);
551
486
  let p = typeof document < "u" ? document.fonts : void 0;
552
- return p && p.ready.then(() => d()), V(() => {
553
- o && o.disconnect(), o = null;
554
- }), { failure: U(a) };
487
+ p && p.ready.then(() => !u && d()), ne(() => {
488
+ u = !0, s?.disconnect(), s = null;
489
+ });
555
490
  }
556
491
  //#endregion
557
492
  //#region src/components/dock/composables/useDockShellProps.ts
558
- function Ze(e) {
559
- let t = k(() => {
560
- if (e.containerName) return {
561
- "container-type": "inline-size",
562
- "container-name": e.containerName
563
- };
564
- }), n = k(() => e.collapseDelay ?? 3600), r = k(() => e.layout ?? "linear"), i = k(() => e.shape ?? "pill"), a = k(() => e.orientation ?? "horizontal"), o = k(() => e.size ?? "md"), s = k(() => a.value === "vertical" || e.overflow === "wrap" ? null : "dock-scroll-x"), c = k(() => e.alwaysExpanded || r.value === "grid");
493
+ function Re(e) {
494
+ let t = A(() => e.collapseDelay ?? 3600), n = A(() => e.layout ?? "linear"), r = A(() => e.shape ?? "pill"), i = A(() => e.orientation ?? "horizontal"), a = A(() => e.size ?? "md"), o = A(() => i.value === "vertical" || e.overflow === "wrap" ? null : "dock-scroll-x"), s = A(() => e.alwaysExpanded || n.value === "grid");
565
495
  return {
566
- containerStyle: t,
567
- collapseDelay: n,
568
- startCollapsed: k(() => c.value ? !1 : e.startCollapsed ?? !0),
569
- layoutValue: r,
570
- shape: i,
571
- orientation: a,
572
- size: o,
573
- scrollClass: s,
574
- alwaysExpanded: c,
575
- fitContent: k(() => e.fitContent ?? !1)
496
+ collapseDelay: t,
497
+ startCollapsed: A(() => s.value ? !1 : e.startCollapsed ?? !0),
498
+ interaction: A(() => s.value ? "auto" : e.interaction ?? "auto"),
499
+ layoutValue: n,
500
+ shape: r,
501
+ orientation: i,
502
+ size: a,
503
+ scrollClass: o,
504
+ alwaysExpanded: s,
505
+ fitContent: A(() => e.fitContent ?? !1)
576
506
  };
577
507
  }
578
508
  //#endregion
579
509
  //#region src/components/dock/composables/useDockClickIntegrity.ts
580
- function Qe(e) {
581
- let { rootEl: t, visualExpanded: n } = e, r = null, i = !1, a = 0, o = null, s = W(null), c = null, l = [];
510
+ function ze(e) {
511
+ let { rootEl: t, visualExpanded: n } = e, r = null, i = !1, a = 0, o = null, s = G(null), c = null, l = [];
582
512
  function u() {
583
513
  c?.removeAttribute("data-dock-press-origin"), c = null;
584
514
  for (let { element: e, wasInert: t } of l.splice(0)) e.toggleAttribute("inert", t);
@@ -619,9 +549,9 @@ function Qe(e) {
619
549
  return !!e && e.hasAttribute("data-morphing");
620
550
  }
621
551
  function _(e) {
622
- u(), r = e.target, n.value, i = g();
552
+ u(), r = e.target, i = g();
623
553
  }
624
- X(n, (e, t) => {
554
+ Z(n, (e, t) => {
625
555
  t && !e && r && d(r);
626
556
  });
627
557
  function v() {
@@ -648,48 +578,48 @@ function Qe(e) {
648
578
  e.stopPropagation(), e.preventDefault(), r = null;
649
579
  }
650
580
  }
651
- return B(() => {
581
+ return te(() => {
652
582
  f(), u();
653
583
  }), {
654
584
  onPointerDownCapture: _,
655
585
  onPointerCancelCapture: v,
656
586
  onClickCapture: b,
657
587
  markExpandFlip: p,
658
- pressKeepaliveLayer: U(s)
588
+ pressKeepaliveLayer: W(s)
659
589
  };
660
590
  }
661
591
  //#endregion
662
592
  //#region src/components/dock/composables/useDockTouchGate.ts
663
- function $e(e) {
664
- let { collapseDelay: t, rootEl: n, alwaysExpanded: r, visualExpanded: i, expanded: a, isPinned: o, expand: s, collapse: l } = e, u = c(t);
665
- function d() {
593
+ function Be(e) {
594
+ let { collapseDelay: t, rootEl: n, quiet: r, visualExpanded: i, expanded: a, isPinned: o, expand: s, collapse: c } = e, l = y(t);
595
+ function u() {
666
596
  return !r.value;
667
597
  }
668
- function f(e) {
669
- if (!d() || i.value) return;
598
+ function d(e) {
599
+ if (!u() || i.value) return;
670
600
  let t = n.value, r = e.touches[0];
671
- !t || !r || u.handleTouchStart(t, r.clientY);
601
+ !t || !r || l.handleTouchStart(t, r.clientY);
672
602
  }
673
- function p(e) {
674
- d() && u.handleScrollCheck(e);
603
+ function f(e) {
604
+ u() && l.handleScrollCheck(e);
675
605
  }
676
- function m() {
677
- if (!d()) return;
678
- let e = u.isActive.value;
679
- u.handleTouchEnd(), !e && u.isActive.value && !i.value && s();
606
+ function p() {
607
+ if (!u()) return;
608
+ let e = l.isActive.value;
609
+ l.handleTouchEnd(), !e && l.isActive.value && !i.value && s();
680
610
  }
681
- return X(u.isActive, (e) => {
682
- !e && a.value && !o.value && !r.value && l();
611
+ return Z(l.isActive, (e) => {
612
+ !e && a.value && !o.value && !r.value && c();
683
613
  }), {
684
- onTouchStart: f,
685
- onTouchMove: p,
686
- onTouchEnd: m,
687
- deactivate: () => u.deactivate()
614
+ onTouchStart: d,
615
+ onTouchMove: f,
616
+ onTouchEnd: p,
617
+ deactivate: () => l.deactivate()
688
618
  };
689
619
  }
690
620
  //#endregion
691
621
  //#region src/components/dock/composables/useDockOverflowFit.ts
692
- function et(e) {
622
+ function Ve(e) {
693
623
  let t = null, n = null, r = 0;
694
624
  function i() {
695
625
  return e.value?.querySelector(".dock-layer--full") ?? null;
@@ -703,7 +633,7 @@ function et(e) {
703
633
  function o() {
704
634
  cancelAnimationFrame(r), r = requestAnimationFrame(a);
705
635
  }
706
- return te(() => {
636
+ return V(() => {
707
637
  let r = e.value, a = i();
708
638
  o(), r && (t = new ResizeObserver(o), t.observe(r), a && t.observe(a)), r && (n = new MutationObserver(o), n.observe(r, {
709
639
  childList: !0,
@@ -712,28 +642,36 @@ function et(e) {
712
642
  attributes: !0,
713
643
  attributeFilter: ["class", "hidden"]
714
644
  }));
715
- }), X(() => e.value, () => o()), ne(() => {
645
+ }), Z(() => e.value, () => o()), H(() => {
716
646
  t?.disconnect(), n?.disconnect(), cancelAnimationFrame(r);
717
647
  }), { measure: a };
718
648
  }
719
649
  //#endregion
720
650
  //#region src/components/dock/GlassDock.vue?vue&type=script&setup=true&lang.ts
721
- var tt = [
651
+ var He = [
722
652
  "data-size",
723
653
  "data-backdrop-mode",
654
+ "data-interaction",
724
655
  "data-held",
725
- "data-search",
726
- "data-container-name"
727
- ], nt = { class: "dock-controls" }, rt = {
656
+ "data-search"
657
+ ], Ue = ["data-held"], We = { class: "dock-controls" }, Ge = {
728
658
  key: 0,
729
659
  class: "dock-persistent"
730
- }, it = ["inert"], at = ["inert"], ot = {
660
+ }, Ke = ["id", "inert"], qe = [
661
+ "id",
662
+ "inert",
663
+ "role",
664
+ "tabindex",
665
+ "aria-label",
666
+ "aria-expanded",
667
+ "aria-controls"
668
+ ], Je = {
731
669
  key: 0,
732
670
  class: "dock-search-field"
733
- }, st = {
671
+ }, Ye = {
734
672
  key: 1,
735
673
  class: "dock-persistent dock-persistent-end"
736
- }, ct = /* @__PURE__ */ F({
674
+ }, Xe = /* @__PURE__ */ I({
737
675
  inheritAttrs: !1,
738
676
  __name: "GlassDock",
739
677
  props: {
@@ -745,164 +683,203 @@ var tt = [
745
683
  orientation: {},
746
684
  size: {},
747
685
  overflow: {},
748
- containerName: {},
749
686
  collapseDelay: {},
750
687
  startCollapsed: { type: Boolean },
688
+ interaction: {},
751
689
  layout: {},
752
- autoLuminance: {
753
- type: Boolean,
754
- default: !0
755
- },
756
690
  backgroundCanvas: {},
757
691
  search: { type: Boolean }
758
692
  },
759
693
  setup(e, { expose: t }) {
760
- let n = e, { containerStyle: r, collapseDelay: i, startCollapsed: a, layoutValue: o, shape: s, orientation: c, size: l, scrollClass: u, alwaysExpanded: d, fitContent: f } = Ze(n), p = o, m = Y("dockEl"), g = Y("layersEl");
761
- et(m), n.backdropMode === "live" && n.autoLuminance !== !1 && ze(m, { backgroundCanvas: () => {
694
+ let n = e, { collapseDelay: r, startCollapsed: i, interaction: a, layoutValue: o, shape: s, orientation: c, size: l, scrollClass: u, alwaysExpanded: p, fitContent: m } = Re(n), h = o, g = X("dockEl"), _ = X("layersEl"), v = X("fullEl"), y = X("summaryEl");
695
+ Ve(g), n.backdropMode === "live" && Me(g, { backgroundCanvas: () => {
762
696
  let e = n.backgroundCanvas;
763
697
  return typeof e == "function" ? e() : e instanceof HTMLCanvasElement ? e : null;
764
698
  } });
765
- let _ = W(!1), v = `glass-dock-${ae()}`, { expanded: y, isPinned: b, isHeld: x, onMouseEnter: S, onMouseLeave: C, onFocusIn: w, onFocusOut: T, onClickCollapsed: E, keepOpen: D, release: O, expand: A, collapse: P } = Ve({
766
- collapseDelay: i.value,
767
- rootEl: m,
768
- alwaysExpanded: d,
769
- isTransitioning: _,
770
- dockId: v
771
- });
772
- h({
773
- id: v,
699
+ let x = G(!1), S = `glass-dock-${ae()}`, { expanded: C, isPinned: w, isHeld: T, graspHeld: E, onMouseEnter: D, onMouseLeave: O, onFocusIn: j, onFocusOut: F, onClickCollapsed: I, keepOpen: ee, release: B, expand: te, collapse: V } = Ne({
700
+ collapseDelay: r.value,
701
+ rootEl: g,
702
+ alwaysExpanded: p,
703
+ interaction: a,
704
+ initialExpanded: !i.value,
705
+ isTransitioning: x,
706
+ dockId: S
707
+ }), ne = A(() => p.value || a.value === "manual");
708
+ d({
709
+ id: S,
774
710
  orientation: c,
775
- layout: p,
776
- keepOpen: D,
777
- release: O,
778
- held: x
711
+ layout: h,
712
+ keepOpen: ee,
713
+ release: B,
714
+ held: E
779
715
  });
780
- let F = k(() => d.value || y.value), I = k(() => F.value ? "full" : "summary"), ee = k(() => c.value), { context: z, outerCurrentLayer: B, outerLeavingLayer: V } = Ke({
781
- rootEl: m,
782
- outerEl: g,
783
- outerActiveLayer: I,
784
- outerAxis: ee,
716
+ let H = A(() => p.value || C.value), W = A(() => H.value ? "full" : "summary"), re = A(() => c.value), { outerCurrentLayer: q, outerLeavingLayer: ie } = Fe({
717
+ rootEl: g,
718
+ outerActiveLayer: W,
785
719
  onMorphActiveChange: (e) => {
786
- _.value = e;
720
+ x.value = e;
787
721
  }
722
+ }), Y = A(() => a.value === "auto" && q.value === "summary");
723
+ async function Q(e) {
724
+ !Y.value || !["Enter", " "].includes(e.key) || (e.preventDefault(), I(), await R(), (v.value?.querySelector(b) ?? v.value)?.focus({ preventScroll: !0 }));
725
+ }
726
+ async function oe(e) {
727
+ if (a.value !== "auto" || e.key !== "Escape") return;
728
+ let t = e.target?.closest?.(f);
729
+ if (t && v.value?.contains(t)) return;
730
+ V(), await R();
731
+ let n = y.value;
732
+ n && !n.hasAttribute("inert") && n.focus({ preventScroll: !0 });
733
+ }
734
+ Le({
735
+ rootEl: g,
736
+ contentEl: _,
737
+ expandedEl: v,
738
+ collapsedEl: y,
739
+ axis: re,
740
+ expanded: H
788
741
  });
789
- Ge(z), Xe({
790
- rootEl: m,
791
- contentEl: g,
792
- axis: ee,
793
- expanded: F
794
- });
795
- let ne = k(() => ({ "view-transition-name": v.replace(/[^a-zA-Z0-9_-]/g, "-") })), { onPointerDownCapture: U, onPointerCancelCapture: G, onClickCapture: q, markExpandFlip: re, pressKeepaliveLayer: ie } = Qe({
796
- rootEl: m,
797
- visualExpanded: F
742
+ let { onPointerDownCapture: ce, onPointerCancelCapture: le, onClickCapture: ue, markExpandFlip: de, pressKeepaliveLayer: fe } = ze({
743
+ rootEl: g,
744
+ visualExpanded: H
745
+ }), { onTouchStart: pe, onTouchMove: me, onTouchEnd: he, deactivate: ge } = Be({
746
+ collapseDelay: r.value,
747
+ rootEl: g,
748
+ quiet: ne,
749
+ visualExpanded: H,
750
+ expanded: C,
751
+ isPinned: w,
752
+ expand: te,
753
+ collapse: V
798
754
  });
799
- te(() => {
800
- (n.alwaysExpanded || !a.value) && A();
755
+ Z(H, (e) => {
756
+ e ? de() : ge();
801
757
  });
802
- let { onTouchStart: oe, onTouchMove: Z, onTouchEnd: Q, deactivate: se } = $e({
803
- collapseDelay: i.value,
804
- rootEl: m,
805
- alwaysExpanded: d,
806
- visualExpanded: F,
807
- expanded: y,
808
- isPinned: b,
809
- expand: A,
810
- collapse: P
758
+ let $ = G(!1);
759
+ Z(E, (e) => {
760
+ e && ($.value = !0);
811
761
  });
812
- return X(F, (e) => {
813
- e ? re() : se();
814
- }), t({
815
- expanded: y,
816
- isPinned: b,
817
- isHeld: x,
818
- isTransitioning: _,
819
- expand: A,
820
- collapse: P,
821
- keepOpen: D,
822
- release: O
823
- }), (t, i) => (H(), M("div", L({
762
+ function _e(e) {
763
+ e.propertyName === "opacity" && !E.value && ($.value = !1);
764
+ }
765
+ return t({
766
+ expanded: C,
767
+ isPinned: w,
768
+ isHeld: T,
769
+ graspHeld: E,
770
+ isTransitioning: x,
771
+ expand: te,
772
+ collapse: V,
773
+ keepOpen: ee,
774
+ release: B
775
+ }), (t, r) => (U(), N("div", L({
824
776
  ref_key: "dockEl",
825
- ref: m
777
+ ref: g
826
778
  }, t.$attrs, {
827
779
  class: ["glass-dock", [
828
780
  J(c),
829
781
  `shape-${J(s)}`,
830
- `layout-${J(p)}`,
782
+ `layout-${J(h)}`,
831
783
  J(u),
832
784
  {
833
- expanded: F.value,
834
- collapsed: !F.value,
835
- pinned: J(b),
836
- "fit-content": J(f),
837
- "always-expanded": J(d),
785
+ expanded: H.value,
786
+ collapsed: !H.value,
787
+ pinned: J(w),
788
+ "fit-content": J(m),
789
+ "always-expanded": J(p),
838
790
  "dock-overflow-wrap": e.overflow === "wrap" && J(c) !== "vertical"
839
791
  },
840
792
  e.position === "fixed" ? "fixed bottom-(--dock-pos) inset-x-0 mx-auto w-max" : e.position === "sticky" ? "dock-sticky" : "dock-inline"
841
793
  ]],
842
- "data-material": "functional-glass",
843
794
  "data-size": J(l),
844
795
  "data-backdrop-mode": n.backdropMode,
845
- "data-held": J(x) || void 0,
796
+ "data-interaction": J(a) === "manual" ? "manual" : void 0,
797
+ "data-held": J(E) || void 0,
846
798
  "data-search": e.search || void 0,
847
- "data-container-name": e.containerName || void 0,
848
- style: [J(r), ne.value],
849
- onMouseenter: i[1] ||= (...e) => J(S) && J(S)(...e),
850
- onMouseleave: i[2] ||= (e) => J(C)(e),
851
- onFocusin: i[3] ||= (...e) => J(w) && J(w)(...e),
852
- onFocusout: i[4] ||= (...e) => J(T) && J(T)(...e),
853
- onTouchstart: i[5] ||= (...e) => J(oe) && J(oe)(...e),
854
- onTouchmove: i[6] ||= (...e) => J(Z) && J(Z)(...e),
855
- onTouchend: i[7] ||= (...e) => J(Q) && J(Q)(...e),
856
- onPointerdownCapture: i[8] ||= (...e) => J(U) && J(U)(...e),
857
- onPointercancelCapture: i[9] ||= (...e) => J(G) && J(G)(...e),
858
- onClickCapture: i[10] ||= (...e) => J(q) && J(q)(...e)
859
- }), [i[11] ||= N("div", {
799
+ onMouseenter: r[2] ||= (...e) => J(D) && J(D)(...e),
800
+ onMouseleave: r[3] ||= (e) => J(O)(e),
801
+ onFocusin: r[4] ||= (...e) => J(j) && J(j)(...e),
802
+ onFocusout: r[5] ||= (...e) => J(F) && J(F)(...e),
803
+ onTouchstart: r[6] ||= (...e) => J(pe) && J(pe)(...e),
804
+ onTouchmove: r[7] ||= (...e) => J(me) && J(me)(...e),
805
+ onTouchend: r[8] ||= (...e) => J(he) && J(he)(...e),
806
+ onPointerdownCapture: r[9] ||= (...e) => J(ce) && J(ce)(...e),
807
+ onPointercancelCapture: r[10] ||= (...e) => J(le) && J(le)(...e),
808
+ onClickCapture: r[11] ||= (...e) => J(ue) && J(ue)(...e)
809
+ }), [P("div", {
860
810
  class: "dock-plate",
861
- "aria-hidden": "true"
862
- }, null, -1), N("div", nt, [
863
- t.$slots.persistent ? (H(), M("div", rt, [K(t.$slots, "persistent")])) : j("", !0),
864
- N("div", {
811
+ "aria-hidden": "true",
812
+ "data-held": J(E) || void 0
813
+ }, [$.value ? (U(), N(k, { key: 0 }, [r[12] ||= P("span", {
814
+ class: "glass-grasp-carrier",
815
+ "data-grasp": "rest"
816
+ }, null, -1), P("span", {
817
+ class: "glass-grasp-carrier",
818
+ "data-grasp": "grasp",
819
+ onTransitionend: _e
820
+ }, null, 32)], 64)) : M("", !0)], 8, Ue), P("div", We, [
821
+ t.$slots.persistent ? (U(), N("div", Ge, [K(t.$slots, "persistent")])) : M("", !0),
822
+ P("div", {
865
823
  ref_key: "layersEl",
866
- ref: g,
824
+ ref: _,
867
825
  class: "dock-layers"
868
826
  }, [
869
- N("div", {
870
- class: R(["dock-layer dock-layer--full", {
871
- "is-active": J(B) === "full",
872
- "is-leaving": J(V) === "full" || J(ie) === "full" && J(B) !== "full",
873
- "is-press-keepalive": J(ie) === "full"
827
+ P("div", {
828
+ ref_key: "fullEl",
829
+ ref: v,
830
+ id: `${S}-full`,
831
+ class: z(["dock-layer dock-layer--full", {
832
+ "is-active": J(q) === "full",
833
+ "is-leaving": J(ie) === "full" || J(fe) === "full" && J(q) !== "full",
834
+ "is-press-keepalive": J(fe) === "full"
874
835
  }]),
875
- inert: J(B) !== "full" && J(ie) !== "full" || void 0
876
- }, [K(t.$slots, "default")], 10, it),
877
- N("div", {
878
- class: R(["dock-layer dock-layer--summary", {
879
- "is-active": J(B) === "summary",
880
- "is-leaving": J(V) === "summary"
836
+ inert: J(q) !== "full" && J(fe) !== "full" || void 0,
837
+ tabindex: "-1",
838
+ onKeydown: oe
839
+ }, [K(t.$slots, "default")], 42, Ke),
840
+ P("div", {
841
+ ref_key: "summaryEl",
842
+ ref: y,
843
+ id: `${S}-summary`,
844
+ class: z(["dock-layer dock-layer--summary", {
845
+ "is-active": J(q) === "summary",
846
+ "is-leaving": J(ie) === "summary"
881
847
  }]),
882
- inert: J(B) !== "summary" || void 0,
883
- onClick: i[0] ||= (...e) => J(E) && J(E)(...e)
884
- }, [K(t.$slots, "collapsed")], 10, at),
885
- e.search ? (H(), M("div", ot, [K(t.$slots, "search")])) : j("", !0)
848
+ inert: J(q) !== "summary" || void 0,
849
+ role: Y.value ? "button" : void 0,
850
+ tabindex: Y.value ? 0 : void 0,
851
+ "aria-label": Y.value ? "Expand dock" : void 0,
852
+ "aria-expanded": Y.value ? "false" : void 0,
853
+ "aria-controls": Y.value ? `${S}-full` : void 0,
854
+ onFocusin: r[0] ||= se(() => {}, ["stop"]),
855
+ onKeydown: Q,
856
+ onClick: r[1] ||= (...e) => J(I) && J(I)(...e)
857
+ }, [K(t.$slots, "collapsed")], 42, qe),
858
+ e.search ? (U(), N("div", Je, [K(t.$slots, "search")])) : M("", !0)
886
859
  ], 512),
887
- t.$slots["persistent-end"] ? (H(), M("div", st, [K(t.$slots, "persistent-end")])) : j("", !0)
888
- ])], 16, tt));
860
+ t.$slots["persistent-end"] ? (U(), N("div", Ye, [K(t.$slots, "persistent-end")])) : M("", !0)
861
+ ])], 16, He));
889
862
  }
890
- }), lt = d(p, "[glass-ui:dock] <DockLayer> must be used inside <DockCrossfade> (or <DockLayerGroup>)"), { KEY: ut } = lt;
891
- function dt(e) {
892
- lt.provide(e);
863
+ }), Ze = c("glass-ui:dock-switcher-tablist"), { KEY: Qe } = Ze;
864
+ function $e(e) {
865
+ Ze.provide(e);
866
+ }
867
+ var et = Ze.use, tt = s(g, "[glass-ui:dock] <DockLayer> must be used inside <DockCrossfade> (or <DockLayerGroup>)"), { KEY: nt } = tt;
868
+ function rt(e) {
869
+ tt.provide(e);
893
870
  }
894
- var ft = lt.use;
895
- lt.useOptional;
871
+ var it = tt.use;
872
+ tt.useOptional;
896
873
  //#endregion
897
874
  //#region src/components/dock/DockCrossfade.vue
898
- var pt = /* @__PURE__ */ F({
875
+ var at = /* @__PURE__ */ I({
899
876
  __name: "DockCrossfade",
900
877
  props: {
901
878
  active: {},
902
879
  reserve: { default: "block" }
903
880
  },
904
881
  setup(e, { expose: t }) {
905
- let n = e, r = W(null), i = W(/* @__PURE__ */ new Map()), a = k(() => [...i.value.values()].map(({ id: e, label: t, icon: n }) => ({
882
+ let n = e, r = G(null), i = G(/* @__PURE__ */ new Map()), a = A(() => [...i.value.values()].map(({ id: e, label: t, icon: n }) => ({
906
883
  id: e,
907
884
  label: t,
908
885
  icon: n
@@ -911,20 +888,20 @@ var pt = /* @__PURE__ */ F({
911
888
  let t = new Map(i.value);
912
889
  t.set(e.id, e), i.value = t, p();
913
890
  }
914
- function c(e) {
891
+ function s(e) {
915
892
  if (!i.value.has(e)) return;
916
893
  let t = new Map(i.value);
917
894
  t.delete(e), i.value = t, p();
918
895
  }
919
- let l = k(() => n.active), u = W(null);
920
- dt({
896
+ let c = A(() => n.active), l = G(null);
897
+ rt({
921
898
  register: o,
922
- unregister: c,
923
- activeId: l,
924
- leavingId: u,
899
+ unregister: s,
900
+ activeId: c,
901
+ leavingId: l,
925
902
  faces: a
926
903
  });
927
- let d = W(0), f = k(() => n.reserve === "inline" ? "min-inline-size" : "min-block-size");
904
+ let d = G(0), f = A(() => n.reserve === "inline" ? "min-inline-size" : "min-block-size");
928
905
  function p() {
929
906
  let e = 0;
930
907
  for (let { el: t } of i.value.values()) {
@@ -933,19 +910,19 @@ var pt = /* @__PURE__ */ F({
933
910
  }
934
911
  e > d.value && (d.value = e);
935
912
  }
936
- let m = k(() => d.value > 0 ? {
913
+ let m = A(() => d.value > 0 ? {
937
914
  [f.value]: `${d.value}px`,
938
915
  "--dock-crossfade-peak": `${d.value}px`
939
916
  } : void 0);
940
- s(r, () => p());
941
- let h = He({
942
- response: v.response,
943
- dampingFraction: v.dampingFraction
917
+ _(r, () => p());
918
+ let h = Pe({
919
+ response: u.response,
920
+ dampingFraction: u.dampingFraction
944
921
  });
945
922
  function g(e) {
946
923
  return e ? i.value.get(e)?.el : void 0;
947
924
  }
948
- function _(e, t) {
925
+ function v(e, t) {
949
926
  g(e)?.style.setProperty("--dock-t", `${t}`);
950
927
  }
951
928
  function y(e) {
@@ -954,64 +931,64 @@ var pt = /* @__PURE__ */ F({
954
931
  function b(e) {
955
932
  return e < 0 ? 0 : e > 1 ? 1 : e;
956
933
  }
957
- let x = _e("(prefers-reduced-motion: reduce)"), S = null;
958
- X(x, (e) => {
934
+ let x = ge("(prefers-reduced-motion: reduce)"), S = null, C = 1;
935
+ Z(x, (e) => {
959
936
  e && (h.dispose(), S?.());
960
937
  });
961
- async function C(e, t) {
938
+ async function w(e, t) {
962
939
  if (typeof document > "u") return;
963
940
  let n = g(e), r = document.activeElement;
964
- !n || !r || !n.contains(r) || (await ee(), (g(t) ?? document.body).focus?.());
941
+ !n || !r || !n.contains(r) || (await R(), (g(t) ?? document.body).focus?.());
965
942
  }
966
- return X(l, (e, t) => {
943
+ return Z(c, (e, t) => {
967
944
  if (e === t) return;
968
945
  p();
969
946
  let n = g(e), i = g(t);
970
947
  if (!n || !i) {
971
- u.value = null, y(e);
948
+ l.value = null, y(e), C = 1;
972
949
  return;
973
950
  }
974
- let a = u.value;
975
- a && a !== e && a !== t && y(a), u.value = t;
976
- let o = typeof getComputedStyle == "function" ? b(parseFloat(getComputedStyle(n).opacity) || 0) : 0;
977
- _(e, o), _(t, o), C(t, e), r.value?.setAttribute("data-crossfading", "");
978
- let s = () => {
979
- y(e), y(t), r.value?.removeAttribute("data-crossfading"), u.value = null, S === s && (S = null);
951
+ let a = l.value, o = Number.parseFloat(n.style.getPropertyValue("--dock-t")), s = Number.parseFloat(i.style.getPropertyValue("--dock-t")), c = a === e && Number.isFinite(o) ? 1 - b(o) : 0, u = Number.isFinite(s) ? b(s) : 1;
952
+ a && a !== e && a !== t && y(a), l.value = t, v(e, c), v(t, 1 - u), w(t, e), r.value?.setAttribute("data-crossfading", "");
953
+ let d = () => {
954
+ y(e), y(t), r.value?.removeAttribute("data-crossfading"), l.value = null, C = 1, S === d && (S = null);
980
955
  };
981
- if (S = s, x.value) {
982
- s();
956
+ if (S = d, x.value) {
957
+ d();
983
958
  return;
984
959
  }
985
- h.playTo(o, 1, {
960
+ let f = u > .001 ? -C / u : 0;
961
+ C = 1 - c, h.playTo(0, 1, {
962
+ inheritVelocityScale: f,
986
963
  onFrame: (n) => {
987
- let r = b(n);
988
- _(e, r), _(t, r);
964
+ v(e, b(c + (1 - c) * n)), v(t, b(1 - u * (1 - n)));
989
965
  },
990
- onSettle: s
966
+ onSettle: d
991
967
  });
992
- }), B(() => {
968
+ }), te(() => {
993
969
  h.dispose(), S = null;
994
- }), t({ faces: a }), (e, t) => (H(), M("div", {
970
+ }), t({ faces: a }), (e, t) => (U(), N("div", {
995
971
  ref_key: "rootEl",
996
972
  ref: r,
997
973
  class: "dock-crossfade",
998
- style: z(m.value)
974
+ style: B(m.value)
999
975
  }, [K(e.$slots, "default")], 4));
1000
976
  }
1001
- }), mt = ["data-motion"], ht = ["aria-orientation"], gt = [
977
+ }), ot = ["data-motion"], st = ["aria-orientation"], ct = [
978
+ "id",
1002
979
  "tabindex",
1003
- "title",
980
+ "aria-controls",
1004
981
  "aria-label",
1005
982
  "onClick"
1006
- ], _t = { key: 1 }, vt = { key: 2 }, yt = /* @__PURE__ */ F({
983
+ ], lt = { key: 1 }, ut = { key: 2 }, dt = /* @__PURE__ */ I({
1007
984
  __name: "DockLayerGroup",
1008
- props: /* @__PURE__ */ I({
985
+ props: /*@__PURE__*/ ee({
1009
986
  orientation: {},
1010
- showRail: {
987
+ showSwitcher: {
1011
988
  type: Boolean,
1012
989
  default: !0
1013
990
  },
1014
- railPosition: { default: "start" },
991
+ switcherPosition: { default: "start" },
1015
992
  motion: {}
1016
993
  }, {
1017
994
  active: { required: !0 },
@@ -1019,114 +996,117 @@ var pt = /* @__PURE__ */ F({
1019
996
  }),
1020
997
  emits: ["update:active"],
1021
998
  setup(e) {
1022
- let t = e, n = a(() => t.motion), r = oe(e, "active"), i = m(), o = k(() => t.orientation ?? i?.orientation.value ?? "horizontal"), s = Y("crossfade"), c = k(() => s.value?.faces ?? []), l = k(() => o.value === "vertical" ? "horizontal" : "vertical"), u = k(() => l.value === "vertical"), d = W(null), f = W(null), p = W([]), h = E({
1023
- options: k(() => c.value.map((e) => ({ value: e.id }))),
999
+ let t = e, n = o(() => t.motion), r = Y(e, "active"), i = m(), a = A(() => t.orientation ?? i?.orientation.value ?? "horizontal"), s = X("crossfade"), c = A(() => s.value?.faces ?? []), l = A(() => a.value === "vertical" ? "horizontal" : "vertical"), u = A(() => l.value === "vertical"), d = G(null), f = G(null), h = G([]), g = S({
1000
+ options: A(() => c.value.map((e) => ({ value: e.id }))),
1024
1001
  model: r,
1025
1002
  mode: "single",
1026
1003
  role: "tablist",
1027
1004
  vertical: u,
1028
1005
  containerRef: d,
1029
1006
  indicatorRef: f,
1030
- buttonRefs: p
1031
- }), g = k(() => u.value ? "y" : "x");
1032
- function _() {
1007
+ buttonRefs: h
1008
+ }), _ = A(() => t.showSwitcher && c.value.length > 1), v = ae(), y = (e) => e.replace(/[^a-zA-Z0-9_-]/g, ""), b = (e) => `dock-tab-${v}-${y(e)}`, x = (e) => `dock-panel-${v}-${y(e)}`;
1009
+ $e({
1010
+ isTablist: _,
1011
+ tabId: b,
1012
+ panelId: x
1013
+ });
1014
+ let w = A(() => u.value ? "y" : "x");
1015
+ function T() {
1033
1016
  let e = d.value;
1034
1017
  if (!e) return [];
1035
1018
  let t = Array.from(e.querySelectorAll(".dock-layer-tab"));
1036
1019
  return c.value.map((e, n) => {
1037
- let r = t[n]?.getBoundingClientRect(), i = r ? g.value === "y" ? r.top + r.height / 2 : r.left + r.width / 2 : 0;
1020
+ let r = t[n]?.getBoundingClientRect(), i = r ? w.value === "y" ? r.top + r.height / 2 : r.left + r.width / 2 : 0;
1038
1021
  return {
1039
1022
  value: e.id,
1040
1023
  center: i
1041
1024
  };
1042
1025
  });
1043
1026
  }
1044
- let v = x({
1045
- el: d,
1046
- axis: () => g.value,
1047
- snapTargets: _,
1027
+ let E = C({
1028
+ handle: d,
1029
+ surface: f,
1030
+ axis: () => w.value,
1031
+ snapTargets: T,
1048
1032
  onSnap: (e) => {
1049
1033
  n.armed.value && r.value !== e && (r.value = e);
1050
1034
  }
1051
1035
  });
1052
- X(() => [
1036
+ Z(() => [
1053
1037
  c.value.length,
1054
1038
  l.value,
1055
1039
  n.armed.value
1056
1040
  ], () => {
1057
- n.armed.value && ee(() => v.refresh());
1058
- }), te(() => {
1059
- n.armed.value && ee(() => v.refresh());
1041
+ n.armed.value && R(() => E.refresh());
1042
+ }), V(() => {
1043
+ n.armed.value && R(() => E.refresh());
1060
1044
  });
1061
- function y(e) {
1045
+ function D(e) {
1062
1046
  return typeof e == "object" && !!e || typeof e == "function";
1063
1047
  }
1064
- let b = W(!1);
1065
- function S() {
1066
- b.value || (b.value = !0, i?.keepOpen());
1048
+ let O = p(() => i);
1049
+ function I() {
1050
+ O.acquire();
1067
1051
  }
1068
- function C(e) {
1052
+ function ee(e) {
1069
1053
  let t = e.relatedTarget, n = e.currentTarget;
1070
- t && n?.contains(t) || b.value && (b.value = !1, i?.release());
1054
+ t && n?.contains(t) || O.release();
1071
1055
  }
1072
- return B(() => {
1073
- b.value && i?.release();
1074
- }), (t, i) => (H(), M("div", {
1075
- class: R(["dock-layer-group", [o.value, `rail-${e.railPosition}`]]),
1056
+ return (t, i) => (U(), N("div", {
1057
+ class: z(["dock-layer-group", [a.value, `switcher-${e.switcherPosition}`]]),
1076
1058
  "data-motion": J(n).dataMotion.value,
1077
- style: z(J(n).hostStyle.value)
1078
- }, [e.showRail && c.value.length > 1 ? (H(), M("div", {
1059
+ style: B(J(n).hostStyle.value)
1060
+ }, [_.value ? (U(), N("div", {
1079
1061
  key: 0,
1080
- ref_key: "railListEl",
1062
+ ref_key: "switcherListEl",
1081
1063
  ref: d,
1082
1064
  role: "tablist",
1083
- class: R(["dock-layer-rail", [
1084
- e.railPosition,
1085
- J(n).armed.value && "glass-drag-grabbable",
1086
- J(n).armed.value && J(v).dragging.value && "glass-drag-lift"
1087
- ]]),
1065
+ class: z(["dock-layer-switcher", [e.switcherPosition, J(n).armed.value && "glass-drag-grabbable"]]),
1088
1066
  "aria-orientation": l.value,
1089
- style: z(J(n).armed.value ? J(v).dragStyle.value : void 0),
1090
- onKeydown: i[0] ||= (...e) => J(h).onKeydown && J(h).onKeydown(...e),
1091
- onFocusin: S,
1092
- onFocusout: C
1093
- }, [(H(!0), M(O, null, G(c.value, (e, t) => (H(), M("button", L({
1067
+ onKeydown: i[0] ||= (...e) => J(g).onKeydown && J(g).onKeydown(...e),
1068
+ onFocusin: I,
1069
+ onFocusout: ee
1070
+ }, [(U(!0), N(k, null, re(c.value, (e, t) => (U(), N("button", L({
1094
1071
  key: e.id,
1095
1072
  ref_for: !0,
1096
1073
  ref: (e) => {
1097
- e && (p.value[t] = e);
1074
+ e && (h.value[t] = e);
1098
1075
  },
1099
1076
  type: "button",
1100
1077
  class: "dock-layer-tab",
1101
- tabindex: J(h).rovingTabindex(t)
1102
- }, { ref_for: !0 }, J(h).itemAttrs(e.id), {
1103
- title: e.label,
1078
+ id: b(e.id),
1079
+ tabindex: J(g).rovingTabindex(t)
1080
+ }, { ref_for: !0 }, J(g).itemAttrs(e.id), {
1081
+ "aria-controls": x(e.id),
1104
1082
  "aria-label": e.label ?? e.id,
1105
- onClick: (n) => J(h).select(e.id, t)
1106
- }), [y(e.icon) ? (H(), A(q(e.icon), {
1083
+ onClick: (n) => J(g).select(e.id, t)
1084
+ }), [D(e.icon) ? (U(), j(q(e.icon), {
1107
1085
  key: 0,
1108
1086
  class: "size-4"
1109
- })) : typeof e.icon == "string" ? (H(), M("span", _t, re(e.icon), 1)) : (H(), M("span", vt, re((e.label ?? e.id).charAt(0)), 1))], 16, gt))), 128)), N("div", {
1110
- ref_key: "railIndicatorEl",
1087
+ })) : typeof e.icon == "string" ? (U(), N("span", lt, ie(e.icon), 1)) : (U(), N("span", ut, ie((e.label ?? e.id).charAt(0)), 1))], 16, ct))), 128)), P("div", {
1088
+ ref_key: "switcherIndicatorEl",
1111
1089
  ref: f,
1112
- class: "dock-layer-tab-indicator",
1113
- style: z(J(h).singleSliderStyle.value),
1090
+ class: z(["dock-layer-tab-indicator", J(n).armed.value && J(E).dragging.value && "glass-drag-lift"]),
1091
+ style: B(J(g).singleSliderStyle.value),
1114
1092
  "aria-hidden": "true"
1115
- }, null, 4)], 46, ht)) : j("", !0), P(pt, {
1093
+ }, null, 6)], 42, st)) : M("", !0), F(at, {
1116
1094
  ref_key: "crossfade",
1117
1095
  ref: s,
1118
- active: r.value,
1119
- class: "dock-layer-stack"
1096
+ active: r.value
1120
1097
  }, {
1121
- default: Z(() => [K(t.$slots, "default")]),
1098
+ default: Q(() => [K(t.$slots, "default")]),
1122
1099
  _: 3
1123
- }, 8, ["active"])], 14, mt));
1100
+ }, 8, ["active"])], 14, ot));
1124
1101
  }
1125
- }), bt = [
1102
+ }), ft = [
1103
+ "role",
1104
+ "id",
1105
+ "aria-labelledby",
1126
1106
  "inert",
1127
1107
  "aria-hidden",
1128
1108
  "tabindex"
1129
- ], xt = { class: "dock-face-content" }, St = /* @__PURE__ */ F({
1109
+ ], pt = { class: "dock-face-content" }, mt = /* @__PURE__ */ I({
1130
1110
  __name: "DockLayer",
1131
1111
  props: {
1132
1112
  id: {},
@@ -1134,15 +1114,15 @@ var pt = /* @__PURE__ */ F({
1134
1114
  icon: {}
1135
1115
  },
1136
1116
  setup(e) {
1137
- let t = e, n = ft(), r = Y("hostEl");
1138
- te(() => {
1117
+ let t = e, n = it(), r = X("hostEl");
1118
+ V(() => {
1139
1119
  r.value && n.register({
1140
1120
  id: t.id,
1141
1121
  label: t.label,
1142
1122
  icon: t.icon,
1143
1123
  el: r.value
1144
1124
  });
1145
- }), X(() => [
1125
+ }), Z(() => [
1146
1126
  t.id,
1147
1127
  t.label,
1148
1128
  t.icon
@@ -1153,21 +1133,24 @@ var pt = /* @__PURE__ */ F({
1153
1133
  icon: t.icon,
1154
1134
  el: r.value
1155
1135
  });
1156
- }), B(() => n.unregister(t.id));
1157
- let i = k(() => n.activeId.value === t.id), a = k(() => n.leavingId.value === t.id);
1158
- return (e, t) => (H(), M("div", {
1136
+ }), te(() => n.unregister(t.id));
1137
+ let i = A(() => n.activeId.value === t.id), a = A(() => n.leavingId.value === t.id), o = et(), s = A(() => o?.isTablist.value ?? !1), c = A(() => s.value ? o.panelId(t.id) : void 0), l = A(() => s.value ? o.tabId(t.id) : void 0);
1138
+ return (e, t) => (U(), N("div", {
1159
1139
  ref_key: "hostEl",
1160
1140
  ref: r,
1161
- class: R(["dock-face", {
1141
+ class: z(["dock-face", {
1162
1142
  "is-active": i.value,
1163
1143
  "is-leaving": a.value
1164
1144
  }]),
1165
- inert: i.value ? void 0 : !0,
1166
- "aria-hidden": i.value ? void 0 : !0,
1145
+ role: s.value ? "tabpanel" : void 0,
1146
+ id: c.value,
1147
+ "aria-labelledby": l.value,
1148
+ inert: !i.value || void 0,
1149
+ "aria-hidden": !i.value || void 0,
1167
1150
  tabindex: i.value ? -1 : void 0
1168
- }, [N("div", xt, [K(e.$slots, "default")])], 10, bt));
1151
+ }, [P("div", pt, [K(e.$slots, "default")])], 10, ft));
1169
1152
  }
1170
- }), Ct = /* @__PURE__ */ F({
1153
+ }), ht = /* @__PURE__ */ I({
1171
1154
  __name: "DockControl",
1172
1155
  props: {
1173
1156
  shape: { default: "icon" },
@@ -1177,7 +1160,7 @@ var pt = /* @__PURE__ */ F({
1177
1160
  },
1178
1161
  active: {
1179
1162
  type: Boolean,
1180
- default: !1
1163
+ default: void 0
1181
1164
  },
1182
1165
  type: { default: "button" },
1183
1166
  disabled: {
@@ -1198,28 +1181,25 @@ var pt = /* @__PURE__ */ F({
1198
1181
  ] }
1199
1182
  },
1200
1183
  setup(t) {
1201
- let a = t, o = k(() => a.shape === "tab"), s = k(() => 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 = k(() => ({
1202
- ...a.active ? {
1203
- "aria-pressed": "true",
1204
- "data-active": ""
1205
- } : {},
1206
- ...a.disabled ? {
1207
- ...a.as === "button" && !a.asChild ? { disabled: !0 } : {},
1208
- "aria-disabled": "true"
1209
- } : {}
1210
- })), l = k(() => !a.asChild && a.as === "button" ? { type: a.type } : {}), u = n("press"), d = r({
1211
- disabled: () => a.disabled || o.value,
1184
+ let r = t, o = A(() => r.shape === "tab"), s = A(() => o.value ? e("dock-tab-button glass-specular-track", r.class) : e("dock-icon-button glass-specular-track glass-capsule-hover", { "glass-capsule": r.active }, { "dock-icon-button--compact": r.compact }, r.class)), c = A(() => ({
1185
+ ...r.active === void 0 ? {} : {
1186
+ "aria-pressed": String(r.active),
1187
+ ...r.active ? { "data-active": "" } : {}
1188
+ },
1189
+ ...r.disabled ? { "aria-disabled": "true" } : {}
1190
+ })), l = A(() => !r.asChild && r.as === "button" ? { type: r.type } : {}), u = i("press"), d = a({
1191
+ disabled: () => r.disabled || o.value,
1212
1192
  squish: !0,
1213
1193
  response: u.response,
1214
1194
  dampingFraction: u.dampingFraction,
1215
1195
  pressVar: "--dock-press-t",
1216
1196
  shrinkDepth: .04,
1217
1197
  maxStretch: 1.03
1218
- }), f = k(() => o.value ? {} : { ...d.pressStyle.value });
1198
+ }), f = A(() => o.value ? {} : { ...d.pressStyle.value });
1219
1199
  function p(e) {
1220
- a.disabled && (e.preventDefault(), e.stopImmediatePropagation());
1200
+ r.disabled && (e.preventDefault(), e.stopImmediatePropagation());
1221
1201
  }
1222
- return (e, n) => Q((H(), A(J(le), L({
1202
+ return (e, r) => oe((U(), j(J(le), L({
1223
1203
  as: t.as,
1224
1204
  "as-child": t.asChild
1225
1205
  }, {
@@ -1239,7 +1219,7 @@ var pt = /* @__PURE__ */ F({
1239
1219
  onBlur: J(d).handlers.onBlur,
1240
1220
  onClickCapture: p
1241
1221
  }), {
1242
- default: Z(() => [K(e.$slots, "default")]),
1222
+ default: Q(() => [K(e.$slots, "default")]),
1243
1223
  _: 3
1244
1224
  }, 16, [
1245
1225
  "as",
@@ -1255,9 +1235,9 @@ var pt = /* @__PURE__ */ F({
1255
1235
  "onKeydown",
1256
1236
  "onKeyup",
1257
1237
  "onBlur"
1258
- ])), [[J(i)]]);
1238
+ ])), [[J(n)]]);
1259
1239
  }
1260
- }), wt = /* @__PURE__ */ F({
1240
+ }), gt = /* @__PURE__ */ I({
1261
1241
  inheritAttrs: !1,
1262
1242
  __name: "DockTrigger",
1263
1243
  props: {
@@ -1271,28 +1251,28 @@ var pt = /* @__PURE__ */ F({
1271
1251
  ] }
1272
1252
  },
1273
1253
  setup(t) {
1274
- let n = t, r = k(() => e("dock-trigger", n.for === "select" && "dock-select-trigger", n.for !== "select" && "dock-dropdown-trigger", n.class));
1275
- return (e, t) => n.for === "select" ? Q((H(), A(J(de), L({ key: 0 }, e.$attrs, { class: r.value }), {
1276
- default: Z(() => [K(e.$slots, "default"), P(J(ue), { "as-child": "" }, {
1277
- default: Z(() => [K(e.$slots, "icon", {}, () => [P(J(fe), {
1254
+ let r = t, i = A(() => e("dock-trigger", r.for === "select" && "dock-select-trigger", r.for !== "select" && "dock-dropdown-trigger", r.class));
1255
+ return (e, t) => r.for === "select" ? oe((U(), j(J(de), L({ key: 0 }, e.$attrs, { class: i.value }), {
1256
+ default: Q(() => [K(e.$slots, "default"), F(J(ue), { "as-child": "" }, {
1257
+ default: Q(() => [K(e.$slots, "icon", {}, () => [F(J(fe), {
1278
1258
  class: "dock-select-trigger__chevron",
1279
1259
  "aria-hidden": "true"
1280
1260
  })])]),
1281
1261
  _: 3
1282
1262
  })]),
1283
1263
  _: 3
1284
- }, 16, ["class"])), [[J(i)]]) : n.for === "dropdown" ? Q((H(), A(u, L({ key: 1 }, e.$attrs, {
1264
+ }, 16, ["class"])), [[J(n)]]) : r.for === "dropdown" ? oe((U(), j(x, L({ key: 1 }, e.$attrs, {
1285
1265
  action: "pointerdown",
1286
- class: r.value
1266
+ class: i.value
1287
1267
  }), {
1288
- default: Z(() => [K(e.$slots, "default")]),
1268
+ default: Q(() => [K(e.$slots, "default")]),
1289
1269
  _: 3
1290
- }, 16, ["class"])), [[J(i)]]) : Q((H(), A(J(ce), L({ key: 2 }, e.$attrs, { class: r.value }), {
1291
- default: Z(() => [K(e.$slots, "default")]),
1270
+ }, 16, ["class"])), [[J(n)]]) : oe((U(), j(J(ce), L({ key: 2 }, e.$attrs, { class: i.value }), {
1271
+ default: Q(() => [K(e.$slots, "default")]),
1292
1272
  _: 3
1293
- }, 16, ["class"])), [[J(i)]]);
1273
+ }, 16, ["class"])), [[J(n)]]);
1294
1274
  }
1295
- }), Tt = /* @__PURE__ */ F({
1275
+ }), _t = /* @__PURE__ */ I({
1296
1276
  __name: "DockBackgroundToggle",
1297
1277
  props: {
1298
1278
  paused: {
@@ -1304,23 +1284,22 @@ var pt = /* @__PURE__ */ F({
1304
1284
  },
1305
1285
  emits: ["update:paused"],
1306
1286
  setup(e, { emit: t }) {
1307
- let n = e, r = t, i = k(() => n.paused ? n.playLabel : n.pauseLabel);
1287
+ let n = e, r = t, i = A(() => n.paused ? n.playLabel : n.pauseLabel);
1308
1288
  function a() {
1309
1289
  r("update:paused", !n.paused);
1310
1290
  }
1311
- return (t, n) => (H(), A(Ct, {
1291
+ return (t, n) => (U(), j(ht, {
1312
1292
  type: "button",
1313
1293
  active: e.paused,
1314
1294
  "aria-pressed": e.paused,
1315
1295
  "aria-label": i.value,
1316
- title: i.value,
1317
1296
  onClick: a
1318
1297
  }, {
1319
- default: Z(() => [e.paused ? (H(), A(J(he), {
1298
+ default: Q(() => [e.paused ? (U(), j(J(me), {
1320
1299
  key: 0,
1321
1300
  size: 18,
1322
1301
  "aria-hidden": "true"
1323
- })) : (H(), A(J(me), {
1302
+ })) : (U(), j(J(pe), {
1324
1303
  key: 1,
1325
1304
  size: 18,
1326
1305
  "aria-hidden": "true"
@@ -1329,336 +1308,39 @@ var pt = /* @__PURE__ */ F({
1329
1308
  }, 8, [
1330
1309
  "active",
1331
1310
  "aria-pressed",
1332
- "aria-label",
1333
- "title"
1311
+ "aria-label"
1334
1312
  ]));
1335
1313
  }
1336
- }), Et = [
1314
+ }), vt = [
1337
1315
  "data-orientation",
1338
- "data-rail-anchor",
1316
+ "data-dock-hairline",
1339
1317
  "aria-orientation"
1340
- ], Dt = /* @__PURE__ */ F({
1318
+ ], yt = /* @__PURE__ */ I({
1341
1319
  __name: "DockSeparator",
1342
1320
  props: { anchor: {
1343
1321
  type: Boolean,
1344
1322
  default: !1
1345
1323
  } },
1346
1324
  setup(e) {
1347
- let t = m(), n = k(() => t?.orientation.value ?? "horizontal"), r = k(() => n.value), i = k(() => n.value === "vertical" ? "horizontal" : "vertical");
1348
- return (t, n) => (H(), M("div", {
1349
- class: R(["dock-separator", { "dock-separator--anchor": e.anchor }]),
1325
+ let t = m(), n = A(() => t?.orientation.value ?? "horizontal"), r = A(() => n.value), i = A(() => n.value === "vertical" ? "horizontal" : "vertical");
1326
+ return (t, n) => (U(), N("div", {
1327
+ class: z(["dock-separator", { "dock-hairline": e.anchor }]),
1350
1328
  role: "separator",
1351
1329
  "data-orientation": r.value,
1352
- "data-rail-anchor": e.anchor || void 0,
1330
+ "data-dock-hairline": e.anchor || void 0,
1353
1331
  "aria-orientation": i.value
1354
- }, null, 10, Et));
1355
- }
1356
- });
1357
- //#endregion
1358
- //#region src/components/dock/composables/useDockPopover.ts
1359
- function Ot(e) {
1360
- 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, l = !1;
1361
- function u() {
1362
- o != null && (clearTimeout(o), o = null);
1363
- }
1364
- function d() {
1365
- s != null && (clearTimeout(s), s = null);
1366
- }
1367
- function f() {
1368
- let t = e.anchor(), i = e.popover.value;
1369
- if (!t || !i) return;
1370
- let a = t.getBoundingClientRect(), o = i.offsetWidth, s = i.offsetHeight, c = ie(e.side) ?? "top", l = ie(e.align) ?? "center", u = (e, t, n) => l === "start" ? e : l === "end" ? e + t - n : e + t / 2 - n / 2, d = 0, f = 0;
1371
- switch (c) {
1372
- case "bottom":
1373
- d = a.bottom + n, f = u(a.left, a.width, o);
1374
- break;
1375
- case "left":
1376
- f = a.left - o - n, d = u(a.top, a.height, s);
1377
- break;
1378
- case "right":
1379
- f = a.right + n, d = u(a.top, a.height, s);
1380
- break;
1381
- default:
1382
- d = a.top - s - n, f = u(a.left, a.width, o);
1383
- break;
1384
- }
1385
- let p = Math.max(r, window.innerWidth - o - r), m = Math.max(r, window.innerHeight - s - r);
1386
- 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`;
1387
- }
1388
- function p() {
1389
- f();
1390
- }
1391
- function m(t) {
1392
- let n = t.target, r = e.popover.value, i = e.anchor();
1393
- n && (r && r.contains(n) || i && i.contains(n)) || v();
1394
- }
1395
- function h() {
1396
- c || (c = !0, window.addEventListener("resize", p), window.addEventListener("scroll", p, !0), document.addEventListener("pointerdown", m, !0));
1397
- }
1398
- function g() {
1399
- c && (c = !1, window.removeEventListener("resize", p), window.removeEventListener("scroll", p, !0), document.removeEventListener("pointerdown", m, !0));
1400
- }
1401
- function _() {
1402
- u(), d();
1403
- let n = e.popover.value;
1404
- if (!(!n || t.value)) {
1405
- try {
1406
- n.showPopover();
1407
- } catch {
1408
- return;
1409
- }
1410
- t.value = !0, f(), h();
1411
- }
1412
- }
1413
- function v() {
1414
- u(), d();
1415
- let n = e.popover.value;
1416
- if (!n || !t.value) return;
1417
- let r = n.contains(document.activeElement);
1418
- try {
1419
- n.hidePopover();
1420
- } catch {}
1421
- if (t.value = !1, g(), r) {
1422
- l = !0;
1423
- try {
1424
- e.anchor()?.focus();
1425
- } finally {
1426
- l = !1;
1427
- }
1428
- }
1429
- }
1430
- function y() {
1431
- t.value ? v() : _();
1432
- }
1433
- function b() {
1434
- d(), !t.value && (u(), o = setTimeout(() => {
1435
- o = null, _();
1436
- }, i));
1437
- }
1438
- function x() {
1439
- u(), D();
1440
- }
1441
- function S() {
1442
- u(), d();
1443
- }
1444
- function C() {
1445
- D();
1446
- }
1447
- function w() {
1448
- l || (u(), d(), _());
1449
- }
1450
- function T(t) {
1451
- let n = t.relatedTarget, r = e.popover.value, i = e.anchor();
1452
- n && (r && r.contains(n) || i && i.contains(n)) || v();
1453
- }
1454
- function E(e) {
1455
- t.value && (e.preventDefault(), e.stopPropagation(), v());
1456
- }
1457
- function D() {
1458
- d(), s = setTimeout(() => {
1459
- s = null, v();
1460
- }, a);
1461
- }
1462
- return V(() => {
1463
- u(), d(), g();
1464
- let n = e.popover.value;
1465
- if (n && t.value) try {
1466
- n.hidePopover();
1467
- } catch {}
1468
- }), {
1469
- open: t,
1470
- show: _,
1471
- hide: v,
1472
- toggle: y,
1473
- place: f,
1474
- onAnchorEnter: b,
1475
- onAnchorLeave: x,
1476
- onPopoverEnter: S,
1477
- onPopoverLeave: C,
1478
- onFocusIn: w,
1479
- onFocusOut: T,
1480
- onEscape: E
1481
- };
1482
- }
1483
- //#endregion
1484
- //#region src/components/dock/DockStack.vue?vue&type=script&setup=true&lang.ts
1485
- var kt = ["data-orientation", "data-mode"], At = ["data-scrolls", "data-wrap"], jt = /* @__PURE__ */ F({
1486
- __name: "DockStack",
1487
- props: /* @__PURE__ */ I({
1488
- items: {},
1489
- mode: { default: "stack" },
1490
- core: {},
1491
- coreLabel: { default: "Open stack" },
1492
- visibleCount: { default: 3 },
1493
- wrap: {
1494
- type: Boolean,
1495
- default: !1
1496
- },
1497
- position: { default: "end" }
1498
- }, {
1499
- selected: {},
1500
- selectedModifiers: {}
1501
- }),
1502
- emits: /* @__PURE__ */ I(["select"], ["update:selected"]),
1503
- setup(e, { emit: t }) {
1504
- let n = e, r = t, i = oe(e, "selected"), a = m(), o = k(() => a?.orientation.value ?? "vertical"), s = k(() => n.core ?? pe), c = k(() => [...n.items]), l = k(() => n.mode === "facets"), u = k(() => c.value.length > n.visibleCount), d = `dock-stack-fan-${ae()}`, f = Y("stackRoot"), p = Y("fanEl"), h = Ot({
1505
- anchor: () => f.value?.querySelector(".dock-stack-core") ?? null,
1506
- popover: p,
1507
- side: () => o.value === "vertical" ? "right" : "top",
1508
- align: k(() => n.position === "start" ? "start" : "end")
1509
- });
1510
- function g(e) {
1511
- i.value = e.id, e.onSelect?.(), r("select", e.id), h.hide();
1512
- }
1513
- return (t, n) => (H(), M("div", {
1514
- ref_key: "stackRoot",
1515
- ref: f,
1516
- class: R(["dock-stack", [
1517
- o.value,
1518
- `mode-${e.mode}`,
1519
- `at-${e.position}`
1520
- ]]),
1521
- "data-orientation": o.value,
1522
- "data-mode": e.mode,
1523
- onFocusin: n[2] ||= (...e) => J(h).onFocusIn && J(h).onFocusIn(...e),
1524
- onFocusout: n[3] ||= (e) => J(h).onFocusOut(e),
1525
- onKeydown: n[4] ||= se((...e) => J(h).onEscape && J(h).onEscape(...e), ["escape"])
1526
- }, [P(Ct, {
1527
- type: "button",
1528
- class: "dock-stack-core",
1529
- "aria-label": e.coreLabel,
1530
- "aria-expanded": J(h).open.value,
1531
- "aria-controls": d,
1532
- title: e.coreLabel,
1533
- onPointerenter: J(h).onAnchorEnter,
1534
- onPointerleave: J(h).onAnchorLeave,
1535
- onClick: J(h).toggle
1536
- }, {
1537
- default: Z(() => [(H(), A(q(s.value), {
1538
- class: "size-4",
1539
- "aria-hidden": "true"
1540
- }))]),
1541
- _: 1
1542
- }, 8, [
1543
- "aria-label",
1544
- "aria-expanded",
1545
- "title",
1546
- "onPointerenter",
1547
- "onPointerleave",
1548
- "onClick"
1549
- ]), N("div", {
1550
- id: d,
1551
- ref_key: "fanEl",
1552
- ref: p,
1553
- popover: "manual",
1554
- class: R(["dock-stack-fan", [
1555
- o.value,
1556
- `mode-${e.mode}`,
1557
- { "mode-facets": l.value }
1558
- ]]),
1559
- "data-scrolls": u.value && !e.wrap || void 0,
1560
- "data-wrap": e.wrap || void 0,
1561
- onPointerenter: n[0] ||= (...e) => J(h).onPopoverEnter && J(h).onPopoverEnter(...e),
1562
- onPointerleave: n[1] ||= (...e) => J(h).onPopoverLeave && J(h).onPopoverLeave(...e)
1563
- }, [P(b, {
1564
- axis: o.value === "vertical" ? "x" : "y",
1565
- class: "dock-stack-fan-scroll",
1566
- "data-scrolls": u.value && !e.wrap || void 0,
1567
- "data-wrap": e.wrap || void 0
1568
- }, {
1569
- default: Z(() => [(H(!0), M(O, null, G(c.value, (e, t) => (H(), A(Ct, {
1570
- key: e.id,
1571
- type: "button",
1572
- class: R(["dock-stack-member", {
1573
- "is-active": i.value === e.id,
1574
- "dock-facet-chip": l.value
1575
- }]),
1576
- style: z({
1577
- "--i": t,
1578
- ...l.value && e.accent ? {
1579
- "--glass-accent": e.accent,
1580
- "--glass-accent-strength": "var(--dock-facet-accent-strength)"
1581
- } : {}
1582
- }),
1583
- "aria-label": e.label,
1584
- "aria-pressed": i.value === e.id,
1585
- title: e.label,
1586
- onClick: (t) => g(e)
1587
- }, {
1588
- default: Z(() => [(H(), A(q(e.icon ?? s.value), {
1589
- class: "size-4",
1590
- "aria-hidden": "true"
1591
- }))]),
1592
- _: 2
1593
- }, 1032, [
1594
- "class",
1595
- "style",
1596
- "aria-label",
1597
- "aria-pressed",
1598
- "title",
1599
- "onClick"
1600
- ]))), 128))]),
1601
- _: 1
1602
- }, 8, [
1603
- "axis",
1604
- "data-scrolls",
1605
- "data-wrap"
1606
- ])], 42, At)], 42, kt));
1607
- }
1608
- }), Mt = ["aria-label"], Nt = [
1609
- "data-kind",
1610
- "data-section-id",
1611
- "aria-label"
1612
- ], Pt = /* @__PURE__ */ F({
1613
- __name: "DockSection",
1614
- props: {
1615
- sections: {},
1616
- anchorId: {},
1617
- ariaLabel: { default: "Dock sections" }
1618
- },
1619
- setup(e) {
1620
- let t = e, n = k(() => {
1621
- if (t.anchorId) return t.anchorId;
1622
- let e = t.sections.find((e) => e.kind === "nav");
1623
- return e ? e.id : t.sections.find((e) => e.kind !== "rail-core")?.id;
1624
- });
1625
- function r(e) {
1626
- return e > 0;
1627
- }
1628
- function i(e) {
1629
- return e.id === n.value;
1630
- }
1631
- function a(e) {
1632
- return `dock-section-zone--${e === "rail-core" ? "core" : e}`;
1633
- }
1634
- return (t, n) => (H(), M("div", {
1635
- class: "dock-section",
1636
- role: "group",
1637
- "aria-label": e.ariaLabel
1638
- }, [(H(!0), M(O, null, G(e.sections, (e, n) => (H(), M(O, { key: e.id }, [r(n) ? (H(), A(Dt, {
1639
- key: 0,
1640
- anchor: i(e)
1641
- }, null, 8, ["anchor"])) : j("", !0), N("div", {
1642
- class: R(["dock-section-zone", a(e.kind)]),
1643
- "data-kind": e.kind,
1644
- "data-section-id": e.id,
1645
- role: "group",
1646
- "aria-label": e.label || void 0
1647
- }, [K(t.$slots, e.id, {
1648
- section: e,
1649
- kind: e.kind
1650
- })], 10, Nt)], 64))), 128))], 8, Mt));
1332
+ }, null, 10, vt));
1651
1333
  }
1652
1334
  });
1653
1335
  //#endregion
1654
1336
  //#region src/components/dock/composables/useDockSearch.ts
1655
- function Ft(e) {
1656
- let { dockState: t } = e, n = e.debounceMs ?? 120, r = e.maxResults ?? 30, i = W([]), a = null, o = e.items ? e.items : () => i.value;
1337
+ function bt(e) {
1338
+ let { dockState: t } = e, n = e.debounceMs ?? 120, r = e.maxResults ?? 30, i = G([]), a = null, o = e.items ? e.items : () => i.value;
1657
1339
  function s(t) {
1658
1340
  let n = t.item.id;
1659
1341
  e.ensureTargetWindow?.(n), e.scrollTo?.(n), e.onResultSelect?.(t);
1660
1342
  }
1661
- let c = D({
1343
+ let c = O({
1662
1344
  items: o,
1663
1345
  debounceMs: n,
1664
1346
  maxResults: r,
@@ -1666,7 +1348,7 @@ function Ft(e) {
1666
1348
  });
1667
1349
  if (e.onSearch) {
1668
1350
  let t = e.onSearch;
1669
- X(() => c.query.value, (e) => {
1351
+ Z(() => c.query.value, (e) => {
1670
1352
  if (a?.abort(), !e) {
1671
1353
  i.value = [];
1672
1354
  return;
@@ -1679,7 +1361,7 @@ function Ft(e) {
1679
1361
  });
1680
1362
  });
1681
1363
  }
1682
- let l = k(() => {
1364
+ let l = A(() => {
1683
1365
  let e = c.query.value;
1684
1366
  if (!e) return "";
1685
1367
  let t = c.results.value[0];
@@ -1691,100 +1373,28 @@ function Ft(e) {
1691
1373
  let e = l.value;
1692
1374
  e && (c.query.value = c.query.value + e);
1693
1375
  }
1694
- let d = W(!1);
1695
- function f() {
1696
- d.value || (d.value = !0, t.onClickCollapsed(), t.keepOpen(), c.open());
1376
+ let d = p(() => t), f = d.isHeld;
1377
+ function m() {
1378
+ f.value || (t.expand(), d.acquire(), c.open());
1697
1379
  }
1698
- function p() {
1699
- d.value && (d.value = !1, c.close(), t.release());
1380
+ function h() {
1381
+ f.value && (c.close(), d.release());
1700
1382
  }
1701
- let m = null;
1702
- return e.collapseOnScroll && e.scrollContainer && (m = T(e.scrollContainer, {
1383
+ let g = null;
1384
+ return e.collapseOnScroll && e.scrollContainer && (g = E(e.scrollContainer, {
1703
1385
  collapseOnScroll: !0,
1704
1386
  chromeRef: e.chromeRef
1705
- })), V(() => {
1706
- d.value && t.release(), a?.abort(), a = null;
1387
+ })), ne(() => {
1388
+ a?.abort(), a = null;
1707
1389
  }), {
1708
1390
  fuzzy: c,
1709
1391
  autocompleteText: l,
1710
- scrollChrome: m,
1711
- armSearch: f,
1712
- disarmSearch: p,
1392
+ scrollChrome: g,
1393
+ armSearch: m,
1394
+ disarmSearch: h,
1713
1395
  acceptAutocomplete: u,
1714
- isSearchArmed: d
1396
+ isSearchArmed: f
1715
1397
  };
1716
1398
  }
1717
1399
  //#endregion
1718
- //#region src/components/goo-filter/GooFilter.vue?vue&type=script&setup=true&lang.ts
1719
- var It = {
1720
- class: "goo-filter-host",
1721
- "aria-hidden": "true",
1722
- focusable: "false",
1723
- width: "1",
1724
- height: "1"
1725
- }, Lt = ["id"], Rt = ["stdDeviation"], zt = ["values"], Bt = /* @__PURE__ */ o(/* @__PURE__ */ F({
1726
- __name: "GooFilter",
1727
- props: { extra: { default: () => [] } },
1728
- setup(e) {
1729
- let t = [
1730
- {
1731
- id: "glass-goo",
1732
- blur: 10,
1733
- slope: 15,
1734
- offset: -7
1735
- },
1736
- {
1737
- id: "dock-fission-goo",
1738
- blur: 7,
1739
- slope: 20,
1740
- offset: -9
1741
- },
1742
- {
1743
- id: "pager-worm-goo",
1744
- blur: 4,
1745
- slope: 18,
1746
- offset: -6
1747
- },
1748
- {
1749
- id: "dock-morph-goo",
1750
- blur: 16,
1751
- slope: 14,
1752
- offset: -7
1753
- },
1754
- {
1755
- id: "morph-goo",
1756
- blur: 10,
1757
- slope: 18,
1758
- offset: -7
1759
- }
1760
- ], n = e, r = k(() => [...t, ...n.extra]);
1761
- return (e, t) => (H(), M("svg", It, [N("defs", null, [(H(!0), M(O, null, G(r.value, (e) => (H(), M("filter", {
1762
- key: e.id,
1763
- id: e.id,
1764
- "color-interpolation-filters": "sRGB",
1765
- x: "-50%",
1766
- y: "-50%",
1767
- width: "200%",
1768
- height: "200%"
1769
- }, [
1770
- N("feGaussianBlur", {
1771
- in: "SourceGraphic",
1772
- stdDeviation: e.blur,
1773
- result: "blur"
1774
- }, null, 8, Rt),
1775
- N("feColorMatrix", {
1776
- in: "blur",
1777
- mode: "matrix",
1778
- values: `1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 ${e.slope} ${e.offset}`,
1779
- result: "goo"
1780
- }, null, 8, zt),
1781
- t[0] ||= N("feComposite", {
1782
- in: "SourceGraphic",
1783
- in2: "goo",
1784
- operator: "atop"
1785
- }, null, -1)
1786
- ], 8, Lt))), 128))])]));
1787
- }
1788
- }), [["__scopeId", "data-v-0a04b2a9"]]);
1789
- //#endregion
1790
- export { y as DOCK_CONTEXT_KEY, Tt as DockBackgroundToggle, Ct as DockControl, pt as DockCrossfade, St as DockLayer, yt as DockLayerGroup, Pt as DockSection, Dt as DockSeparator, jt as DockStack, wt as DockTrigger, ct as GlassDock, Bt as GooFilter, h as provideDockContext, _ as useDockContext, S as useDockCtaReceive, Ft as useDockSearch, m as useOptionalDockContext };
1400
+ export { h as DOCK_CONTEXT_KEY, _t as DockBackgroundToggle, ht as DockControl, at as DockCrossfade, mt as DockLayer, dt as DockLayerGroup, yt as DockSeparator, gt as DockTrigger, Xe as GlassDock, d as provideDockContext, l as useDockContext, w as useDockCtaReceive, bt as useDockSearch, m as useOptionalDockContext };