@mkbabb/glass-ui 7.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 (885) hide show
  1. package/README.md +4 -3
  2. package/dist/DialogContent-4hzLiaCQ.js +152 -0
  3. package/dist/DotRing-Blh4Mc3Q.js +27 -0
  4. package/dist/{DropdownMenuTrigger-ClIq8RJE.js → DropdownMenuTrigger-8UZsBtZ8.js} +5 -5
  5. package/dist/Surface-i1tWC-Ga.js +48 -0
  6. package/dist/aurora.d.ts +1 -1
  7. package/dist/aurora.js +219 -209
  8. package/dist/axes.d.ts +1 -1
  9. package/dist/axes.js +1 -22
  10. package/dist/badge-owUOaaba.js +63 -0
  11. package/dist/badge.d.ts +1 -1
  12. package/dist/badge.js +2 -2
  13. package/dist/blob-config.d.ts +1 -1
  14. package/dist/blob.d.ts +1 -1
  15. package/dist/blob.js +5 -5
  16. package/dist/button-yvGPb0Bx.js +110 -0
  17. package/dist/button.d.ts +1 -1
  18. package/dist/button.js +1 -1
  19. package/dist/canvas.d.ts +1 -1
  20. package/dist/canvas.js +2 -2
  21. package/dist/{card-Bk96VI2R.js → card-3HFFpC7_.js} +51 -95
  22. package/dist/card.d.ts +1 -1
  23. package/dist/card.js +2 -2
  24. package/dist/carousel.d.ts +1 -1
  25. package/dist/carousel.js +187 -175
  26. package/dist/checkbox-BnXuGgJ3.js +64 -0
  27. package/dist/checkbox.d.ts +1 -0
  28. package/dist/checkbox.js +2 -0
  29. package/dist/chip.d.ts +1 -1
  30. package/dist/chip.js +129 -2
  31. package/dist/{class-names-Cpy5eaBk.js → class-names-q-UGOkHH.js} +15 -1
  32. package/dist/{collapsible-BAP95XTt.js → collapsible-B7O6m-Ch.js} +2 -2
  33. package/dist/collapsible.d.ts +1 -1
  34. package/dist/collapsible.js +1 -1
  35. package/dist/color.d.ts +1 -1
  36. package/dist/color.js +18 -18
  37. package/dist/{color.wgsl-Ct5o9dpf.js → color.wgsl-B0N3mKMb.js} +168 -167
  38. package/dist/command-BuBnYpxF.js +340 -0
  39. package/dist/command.d.ts +1 -1
  40. package/dist/command.js +1 -1
  41. package/dist/component-styles.css +4 -0
  42. package/dist/components/_shared/axes.d.ts +4 -1
  43. package/dist/components/_shared/class-names.d.ts +1 -1
  44. package/dist/components/_shared/control.d.ts +11 -0
  45. package/dist/components/_shared/feedback/DotRing.vue.d.ts +3 -0
  46. package/dist/components/_shared/feedback/dot-ring.css +1 -0
  47. package/dist/components/_shared/feedback/feedback-tone.css +1 -0
  48. package/dist/components/_shared/{fieldControl.d.ts → field/control.d.ts} +1 -1
  49. package/dist/components/_shared/focus.d.ts +11 -0
  50. package/dist/components/_shared/index.d.ts +2 -2
  51. package/dist/components/_shared/interaction.d.ts +1 -1
  52. package/dist/components/_shared/menu/menu.css +1 -0
  53. package/dist/components/_shared/menu/rowClass.d.ts +2 -0
  54. package/dist/components/_shared/overlay/content.d.ts +40 -0
  55. package/dist/components/_shared/overlay/index.d.ts +12 -0
  56. package/dist/components/{dock/composables → _shared/overlay}/isTeleportedTarget.d.ts +5 -0
  57. package/dist/components/_shared/overlay/participation.d.ts +66 -0
  58. package/dist/components/_shared/overlay/placement.d.ts +22 -0
  59. package/dist/components/_shared/selection.d.ts +39 -0
  60. package/dist/components/_shared/surface/resolve.d.ts +17 -0
  61. package/dist/components/_shared/useMotionAxis.d.ts +1 -7
  62. package/dist/components/accordion/Accordion.vue.d.ts +1 -1
  63. package/dist/components/accordion/index.d.ts +4 -4
  64. package/dist/components/alert/Alert.vue.d.ts +1 -1
  65. package/dist/components/alert/AlertDescription.vue.d.ts +2 -2
  66. package/dist/components/alert/AlertTitle.vue.d.ts +2 -2
  67. package/dist/components/alert/index.d.ts +9 -9
  68. package/dist/components/aurora/Aurora.vue.d.ts +4 -4
  69. package/dist/components/aurora/composables/atoms-fields.d.ts +1 -1
  70. package/dist/components/aurora/composables/atoms.d.ts +3 -3
  71. package/dist/components/aurora/composables/auroraFallbackGround.d.ts +1 -1
  72. package/dist/components/aurora/composables/auroraImageSource.d.ts +2 -2
  73. package/dist/components/aurora/composables/color.d.ts +3 -4
  74. package/dist/components/aurora/composables/frameLoop.d.ts +4 -4
  75. package/dist/components/aurora/composables/glSetup.d.ts +5 -10
  76. package/dist/components/aurora/composables/runtime.d.ts +2 -2
  77. package/dist/{composables/glass → components/aurora/composables}/textureUpload.d.ts +0 -13
  78. package/dist/components/aurora/composables/uniformBridge.d.ts +3 -20
  79. package/dist/components/aurora/composables/uniformBridgeWGPU.d.ts +2 -2
  80. package/dist/components/aurora/composables/uniformBridgeWGPUImage.d.ts +2 -2
  81. package/dist/components/aurora/composables/useAurora.d.ts +4 -4
  82. package/dist/components/aurora/composables/useCursorInteraction.d.ts +2 -2
  83. package/dist/components/aurora/composables/wgpuSetup.d.ts +5 -5
  84. package/dist/components/aurora/constants/budget.d.ts +0 -36
  85. package/dist/components/aurora/constants/presets.d.ts +2 -2
  86. package/dist/components/aurora/constants/shaders/aurora-image.frag.d.ts +0 -2
  87. package/dist/components/aurora/constants/shaders/aurora-image.wgsl.d.ts +0 -2
  88. package/dist/components/aurora/index.d.ts +15 -14
  89. package/dist/components/avatar/AvatarImage.vue.d.ts +1 -6
  90. package/dist/components/avatar/index.d.ts +3 -3
  91. package/dist/components/badge/Badge.vue.d.ts +2 -9
  92. package/dist/components/badge/index.d.ts +12 -11
  93. package/dist/components/blob/Blob.vue.d.ts +4 -4
  94. package/dist/components/blob/composables/blobSimulation.d.ts +5 -5
  95. package/dist/components/blob/composables/buildMetaballProgram.d.ts +1 -1
  96. package/dist/components/blob/composables/resolveBlobSurface.d.ts +1 -1
  97. package/dist/components/blob/composables/satelliteKinematics.d.ts +1 -1
  98. package/dist/components/blob/composables/uniformBridgeWGPU.d.ts +4 -4
  99. package/dist/components/blob/composables/uploadBlobUniforms.d.ts +5 -5
  100. package/dist/components/blob/composables/useBlobMood.d.ts +1 -1
  101. package/dist/components/blob/composables/useBlobPointer.d.ts +0 -3
  102. package/dist/components/blob/composables/useBlobSatellites.d.ts +1 -1
  103. package/dist/components/blob/composables/useMetaballRenderer.d.ts +6 -6
  104. package/dist/components/blob/composables/wgpuSetup.d.ts +5 -5
  105. package/dist/components/blob/config.d.ts +3 -3
  106. package/dist/components/blob/constants.d.ts +1 -3
  107. package/dist/components/blob/index.d.ts +8 -8
  108. package/dist/components/blob/presets.d.ts +1 -1
  109. package/dist/components/button/Button.vue.d.ts +15 -9
  110. package/dist/components/button/index.d.ts +1 -1
  111. package/dist/components/button/styles.css +1 -1
  112. package/dist/components/card/Card.vue.d.ts +20 -23
  113. package/dist/components/card/CardHeader.vue.d.ts +8 -1
  114. package/dist/components/card/index.d.ts +6 -7
  115. package/dist/components/card/scroll.css +1 -0
  116. package/dist/components/card/styles.css +1 -1
  117. package/dist/components/carousel/Carousel.vue.d.ts +14 -19
  118. package/dist/components/carousel/CarouselContent.vue.d.ts +2 -12
  119. package/dist/components/carousel/CarouselItem.vue.d.ts +14 -3
  120. package/dist/components/carousel/CarouselPager.vue.d.ts +2 -2
  121. package/dist/components/carousel/index.d.ts +7 -6
  122. package/dist/components/carousel/projection.d.ts +23 -0
  123. package/dist/components/carousel/styles.css +1 -0
  124. package/dist/components/carousel/types.d.ts +47 -0
  125. package/dist/components/carousel/useCarousel.d.ts +4 -21
  126. package/dist/components/checkbox/Checkbox.vue.d.ts +6 -6
  127. package/dist/components/checkbox/index.d.ts +1 -1
  128. package/dist/components/chip/Chip.vue.d.ts +2 -2
  129. package/dist/components/chip/accent-tone.css +1 -0
  130. package/dist/components/chip/chipVariants.d.ts +1 -1
  131. package/dist/components/chip/index.d.ts +3 -3
  132. package/dist/components/chip/types.d.ts +2 -2
  133. package/dist/components/collapsible/CollapsibleTrigger.vue.d.ts +1 -1
  134. package/dist/components/collapsible/index.d.ts +3 -3
  135. package/dist/components/command/Command.vue.d.ts +5 -3
  136. package/dist/components/command/CommandDialog.vue.d.ts +9 -5
  137. package/dist/components/command/CommandEmpty.vue.d.ts +1 -1
  138. package/dist/components/command/CommandGroup.vue.d.ts +1 -1
  139. package/dist/components/command/CommandInput.vue.d.ts +1 -1
  140. package/dist/components/command/CommandItem.vue.d.ts +3 -3
  141. package/dist/components/command/CommandList.vue.d.ts +8 -8
  142. package/dist/components/command/CommandSeparator.vue.d.ts +1 -1
  143. package/dist/components/command/index.d.ts +11 -10
  144. package/dist/components/command/types.d.ts +8 -3
  145. package/dist/components/configurator/Configurator.vue.d.ts +1 -1
  146. package/dist/components/configurator/ConfiguratorRow.vue.d.ts +1 -1
  147. package/dist/components/configurator/index.d.ts +6 -6
  148. package/dist/components/configurator/styles.css +1 -1
  149. package/dist/components/configurator/useConfiguratorState.d.ts +1 -1
  150. package/dist/components/constellation/Constellation.vue.d.ts +3 -5
  151. package/dist/components/constellation/composables/createConstellationField.d.ts +1 -1
  152. package/dist/components/constellation/composables/useConstellation.d.ts +2 -2
  153. package/dist/components/constellation/constants.d.ts +1 -1
  154. package/dist/components/constellation/constellationField.d.ts +3 -4
  155. package/dist/components/constellation/constellationInteraction.d.ts +1 -5
  156. package/dist/components/constellation/constellationRender.d.ts +1 -3
  157. package/dist/components/constellation/constellationTypes.d.ts +0 -11
  158. package/dist/components/constellation/constellationWell.d.ts +1 -1
  159. package/dist/components/constellation/index.d.ts +8 -6
  160. package/dist/components/dark-mode-toggle/dark-mode-toggle.css +1 -1
  161. package/dist/components/dark-mode-toggle/index.d.ts +2 -2
  162. package/dist/components/data-table/DataTable.vue.d.ts +1 -1
  163. package/dist/components/data-table/composables/useDataTableResponsive.d.ts +1 -1
  164. package/dist/components/data-table/index.d.ts +2 -2
  165. package/dist/components/{number-field/NumberFieldContent.vue.d.ts → deck/DeckSlide.vue.d.ts} +12 -1
  166. package/dist/components/deck/DeckStage.vue.d.ts +36 -0
  167. package/dist/components/deck/composables/useDeck.d.ts +35 -10
  168. package/dist/components/deck/composables/useDeckCapture.d.ts +26 -0
  169. package/dist/components/deck/composables/useDeckHashSync.d.ts +8 -0
  170. package/dist/components/deck/composables/useDeckKeyboard.d.ts +16 -8
  171. package/dist/components/deck/composables/useDeckSnap.d.ts +20 -0
  172. package/dist/components/deck/composables/useDeckSwipe.d.ts +13 -0
  173. package/dist/components/deck/composables/useEdgeZones.d.ts +14 -0
  174. package/dist/components/deck/constants.d.ts +0 -3
  175. package/dist/components/deck/index.d.ts +22 -6
  176. package/dist/components/deck/slideContext.d.ts +21 -0
  177. package/dist/components/deck/styles/capture.css +1 -0
  178. package/dist/components/deck/styles/index.css +1 -0
  179. package/dist/components/deck/styles/reveal.css +1 -0
  180. package/dist/components/deck/styles/stage.css +1 -0
  181. package/dist/components/deck/styles/turn.css +1 -0
  182. package/dist/components/deck/types.d.ts +26 -0
  183. package/dist/components/deck/window.d.ts +27 -0
  184. package/dist/components/dialog/Dialog.vue.d.ts +13 -0
  185. package/dist/components/dialog/DialogContent.vue.d.ts +23 -27
  186. package/dist/components/dialog/DialogFooter.vue.d.ts +2 -2
  187. package/dist/components/dialog/DialogHeader.vue.d.ts +2 -2
  188. package/dist/components/dialog/ModalOverlay.vue.d.ts +44 -23
  189. package/dist/components/dialog/index.d.ts +7 -8
  190. package/dist/components/dialog/styles.css +1 -0
  191. package/dist/components/dock/DockControl.vue.d.ts +8 -4
  192. package/dist/components/dock/DockCrossfade.vue.d.ts +3 -3
  193. package/dist/components/dock/DockLayer.vue.d.ts +1 -1
  194. package/dist/components/dock/DockLayerGroup.vue.d.ts +13 -13
  195. package/dist/components/dock/DockSeparator.vue.d.ts +23 -18
  196. package/dist/components/dock/GlassDock.vue.d.ts +4 -4
  197. package/dist/components/dock/composables/dockContext.d.ts +29 -5
  198. package/dist/components/dock/composables/dockCrossfadeContext.d.ts +5 -5
  199. package/dist/components/dock/composables/dockMorphMeasure.d.ts +0 -1
  200. package/dist/components/dock/composables/dockSwitcherContext.d.ts +29 -0
  201. package/dist/components/dock/composables/index.d.ts +10 -10
  202. package/dist/components/dock/composables/useDockHold.d.ts +21 -6
  203. package/dist/components/dock/composables/useDockSearch.d.ts +5 -5
  204. package/dist/components/dock/composables/useDockShellProps.d.ts +10 -34
  205. package/dist/components/dock/composables/useDockState.d.ts +17 -4
  206. package/dist/components/dock/constants.d.ts +17 -3
  207. package/dist/components/dock/index.d.ts +15 -15
  208. package/dist/components/dock/styles/adaptive-legibility.css +1 -1
  209. package/dist/components/dock/styles/controls/icon-button.css +1 -1
  210. package/dist/components/dock/styles/controls/tab-button.css +1 -1
  211. package/dist/components/dock/styles/controls/touch-floor.css +1 -1
  212. package/dist/components/dock/styles/controls/triggers.css +1 -1
  213. package/dist/components/dock/styles/controls.css +1 -1
  214. package/dist/components/dock/styles/crossfade.css +1 -1
  215. package/dist/components/dock/styles/cta-seat.css +1 -1
  216. package/dist/components/dock/styles/density.css +1 -1
  217. package/dist/components/dock/styles/dock.css +1 -1
  218. package/dist/components/dock/styles/index.css +1 -1
  219. package/dist/components/dock/styles/layer-group.css +1 -1
  220. package/dist/components/dock/styles/layers.css +1 -1
  221. package/dist/components/dock/styles/morph.css +1 -1
  222. package/dist/components/dock/styles/overflow.css +1 -1
  223. package/dist/components/dock/styles/search.css +1 -1
  224. package/dist/components/dock/styles/shape.css +1 -1
  225. package/dist/components/dock/styles/shell-regions.css +1 -1
  226. package/dist/components/dock/styles/shell.css +1 -1
  227. package/dist/components/easing/EasingCurve.vue.d.ts +51 -0
  228. package/dist/components/easing/EasingPicker.vue.d.ts +16 -32
  229. package/dist/components/easing/constants.d.ts +15 -13
  230. package/dist/components/easing/index.d.ts +5 -3
  231. package/dist/components/easing/{composables/useEasingPicker.d.ts → usePicker.d.ts} +27 -23
  232. package/dist/components/expandable-container/ExpandableContainer.vue.d.ts +1 -1
  233. package/dist/components/expandable-container/index.d.ts +1 -1
  234. package/dist/components/fading-scroll/constants.d.ts +2 -9
  235. package/dist/components/fading-scroll/index.d.ts +2 -2
  236. package/dist/components/fourier-field/FourierField.vue.d.ts +6 -8
  237. package/dist/components/fourier-field/composables/fourierFieldGLSetup.d.ts +4 -4
  238. package/dist/components/fourier-field/composables/fourierFieldWGPUSetup.d.ts +4 -4
  239. package/dist/components/fourier-field/composables/uniformBridgeWGPU.d.ts +2 -4
  240. package/dist/components/fourier-field/composables/useFourierField.d.ts +4 -4
  241. package/dist/components/fourier-field/constants.d.ts +1 -1
  242. package/dist/components/fourier-field/index.d.ts +7 -9
  243. package/dist/components/handmark/HandMark.vue.d.ts +5 -5
  244. package/dist/components/handmark/composables/useHandMark.d.ts +4 -4
  245. package/dist/components/handmark/geometry.d.ts +1 -4
  246. package/dist/components/handmark/index.d.ts +10 -8
  247. package/dist/components/handmark/ink.d.ts +1 -1
  248. package/dist/components/handmark/texture.d.ts +2 -2
  249. package/dist/components/handmark/types.d.ts +1 -1
  250. package/dist/components/index.d.ts +30 -32
  251. package/dist/components/infinite-scroll/InfiniteScroll.vue.d.ts +3 -3
  252. package/dist/components/infinite-scroll/composables/index.d.ts +2 -2
  253. package/dist/components/infinite-scroll/composables/useInfiniteScroll.d.ts +1 -1
  254. package/dist/components/infinite-scroll/index.d.ts +2 -2
  255. package/dist/components/input/Input.vue.d.ts +10 -5
  256. package/dist/components/input/index.d.ts +3 -2
  257. package/dist/components/input/types.d.ts +49 -9
  258. package/dist/components/label/index.d.ts +1 -1
  259. package/dist/components/labeled-field/LabeledField.vue.d.ts +4 -4
  260. package/dist/components/labeled-field/LabeledInput.vue.d.ts +1 -1
  261. package/dist/components/labeled-field/LabeledSlider.vue.d.ts +1 -1
  262. package/dist/components/labeled-field/LabeledSwitch.vue.d.ts +1 -1
  263. package/dist/components/labeled-field/index.d.ts +5 -6
  264. package/dist/components/labeled-field/types.d.ts +5 -14
  265. package/dist/components/{dropdown-menu → menu}/DropdownMenu.vue.d.ts +2 -2
  266. package/dist/components/{dropdown-menu → menu}/DropdownMenuCheckboxItem.vue.d.ts +2 -2
  267. package/dist/components/{dropdown-menu → menu}/DropdownMenuContent.vue.d.ts +4 -7
  268. package/dist/components/{dropdown-menu → menu}/DropdownMenuRadioGroup.vue.d.ts +1 -1
  269. package/dist/components/{dropdown-menu → menu}/DropdownMenuRadioItem.vue.d.ts +1 -1
  270. package/dist/components/{dropdown-menu → menu}/DropdownMenuSubContent.vue.d.ts +7 -7
  271. package/dist/components/{dropdown-menu → menu}/DropdownMenuTrigger.vue.d.ts +1 -1
  272. package/dist/components/{dropdown-menu → menu}/index.d.ts +15 -15
  273. package/dist/components/metric/Metric.vue.d.ts +7 -5
  274. package/dist/components/metric/MetricRow.vue.d.ts +4 -12
  275. package/dist/components/metric/MetricStack.vue.d.ts +2 -2
  276. package/dist/components/metric/coalesce-metric.d.ts +30 -2
  277. package/dist/components/metric/index.d.ts +6 -5
  278. package/dist/components/metric/styles.css +1 -1
  279. package/dist/components/metric/types.d.ts +25 -13
  280. package/dist/components/music-staff/MusicStaff.vue.d.ts +22 -0
  281. package/dist/components/music-staff/glyphs.d.ts +74 -0
  282. package/dist/components/music-staff/index.d.ts +4 -0
  283. package/dist/components/music-staff/midiAdapter.d.ts +22 -0
  284. package/dist/components/music-staff/staffGeometry.d.ts +216 -0
  285. package/dist/components/music-staff/styles.css +1 -0
  286. package/dist/components/number-field/NumberField.vue.d.ts +7 -2
  287. package/dist/components/number-field/NumberFieldStep.vue.d.ts +31 -0
  288. package/dist/components/number-field/context.d.ts +4 -0
  289. package/dist/components/number-field/index.d.ts +3 -5
  290. package/dist/components/pager-dots/PagerDots.vue.d.ts +22 -10
  291. package/dist/components/pager-dots/index.d.ts +3 -2
  292. package/dist/components/pager-dots/worm.d.ts +42 -0
  293. package/dist/components/popover/Popover.vue.d.ts +23 -1
  294. package/dist/components/popover/PopoverContent.vue.d.ts +17 -14
  295. package/dist/components/popover/PopoverTrigger.vue.d.ts +1 -1
  296. package/dist/components/popover/index.d.ts +3 -3
  297. package/dist/components/popover/popoverContext.d.ts +10 -0
  298. package/dist/components/progress/Progress.vue.d.ts +5 -5
  299. package/dist/components/progress/index.d.ts +2 -2
  300. package/dist/components/progress/types.d.ts +16 -6
  301. package/dist/components/radio-group/RadioGroup.vue.d.ts +5 -7
  302. package/dist/components/radio-group/RadioGroupItem.vue.d.ts +3 -2
  303. package/dist/components/radio-group/index.d.ts +4 -4
  304. package/dist/components/scroll-progress-rim/ScrollProgressRim.vue.d.ts +2 -14
  305. package/dist/components/scroll-progress-rim/index.d.ts +2 -3
  306. package/dist/components/scroll-progress-rim/styles.css +1 -1
  307. package/dist/components/scroll-progress-rim/types.d.ts +20 -2
  308. package/dist/components/search/SearchBar.vue.d.ts +3 -3
  309. package/dist/components/search/composables/fuzzySearchIndex.d.ts +1 -1
  310. package/dist/components/search/composables/index.d.ts +5 -5
  311. package/dist/components/search/composables/useFuzzySearch.d.ts +1 -1
  312. package/dist/components/search/index.d.ts +8 -9
  313. package/dist/components/search/searchVariants.d.ts +3 -4
  314. package/dist/components/select/Select.vue.d.ts +2 -2
  315. package/dist/components/select/SelectContent.vue.d.ts +4 -9
  316. package/dist/components/select/SelectItem.vue.d.ts +1 -1
  317. package/dist/components/select/SelectScrollButton.vue.d.ts +18 -0
  318. package/dist/components/select/SelectTrigger.vue.d.ts +1 -8
  319. package/dist/components/select/SelectValue.vue.d.ts +4 -6
  320. package/dist/components/select/index.d.ts +18 -16
  321. package/dist/components/separator/Separator.vue.d.ts +1 -1
  322. package/dist/components/separator/index.d.ts +1 -1
  323. package/dist/components/sheet/SheetContent.vue.d.ts +60 -0
  324. package/dist/components/sheet/detents/projection.d.ts +42 -0
  325. package/dist/components/sheet/detents/use.d.ts +27 -0
  326. package/dist/components/sheet/index.d.ts +4 -0
  327. package/dist/components/sheet/motion.d.ts +29 -0
  328. package/dist/components/sheet/styles.css +1 -0
  329. package/dist/components/skeleton/index.d.ts +1 -1
  330. package/dist/components/slider/Slider.vue.d.ts +2 -3
  331. package/dist/components/slider/index.d.ts +2 -2
  332. package/dist/components/slider/styles.css +1 -0
  333. package/dist/components/slider/types.d.ts +13 -4
  334. package/dist/components/sortable-list/SortableItem.vue.d.ts +1 -1
  335. package/dist/components/sortable-list/SortableList.vue.d.ts +1 -2
  336. package/dist/components/sortable-list/context.d.ts +1 -1
  337. package/dist/components/sortable-list/drag.d.ts +52 -0
  338. package/dist/components/sortable-list/ghost.d.ts +40 -0
  339. package/dist/components/sortable-list/index.d.ts +4 -4
  340. package/dist/components/sortable-list/motion.d.ts +75 -0
  341. package/dist/components/sortable-list/resolve.d.ts +56 -0
  342. package/dist/components/sortable-list/{composables/types.d.ts → types.d.ts} +14 -7
  343. package/dist/components/sortable-list/{composables/useSortable.d.ts → useSortable.d.ts} +2 -4
  344. package/dist/components/status-dot/StatusDot.vue.d.ts +10 -3
  345. package/dist/components/status-dot/index.d.ts +3 -2
  346. package/dist/components/status-dot/states.d.ts +4 -0
  347. package/dist/components/surface/Surface.vue.d.ts +31 -14
  348. package/dist/components/surface/index.d.ts +2 -2
  349. package/dist/components/switch/Switch.vue.d.ts +7 -12
  350. package/dist/components/switch/index.d.ts +2 -2
  351. package/dist/components/table/index.d.ts +8 -8
  352. package/dist/components/tabs/SegmentedTabs.vue.d.ts +9 -13
  353. package/dist/components/tabs/composables/useTabDragMorph.d.ts +2 -2
  354. package/dist/components/tabs/composables/useTabResponsive.d.ts +1 -1
  355. package/dist/components/tabs/composables/useTabRovingFocus.d.ts +15 -7
  356. package/dist/components/tabs/index.d.ts +2 -2
  357. package/dist/components/tabs/styles/drag.css +1 -1
  358. package/dist/components/tabs/styles/segmented.css +1 -1
  359. package/dist/components/textarea/Textarea.vue.d.ts +10 -5
  360. package/dist/components/textarea/index.d.ts +2 -2
  361. package/dist/components/textarea/types.d.ts +34 -11
  362. package/dist/components/timeline/Timeline.vue.d.ts +41 -0
  363. package/dist/components/timeline/geometry.d.ts +53 -78
  364. package/dist/components/timeline/index.d.ts +2 -2
  365. package/dist/components/timeline/types.d.ts +42 -42
  366. package/dist/components/toast/Toast.vue.d.ts +3 -3
  367. package/dist/components/toast/index.d.ts +8 -8
  368. package/dist/components/toast/use-toast.d.ts +9 -2
  369. package/dist/components/toggle-group/ToggleGroup.vue.d.ts +29 -40
  370. package/dist/components/toggle-group/ToggleGroupItem.vue.d.ts +7 -7
  371. package/dist/components/toggle-group/context.d.ts +28 -0
  372. package/dist/components/toggle-group/index.d.ts +2 -3
  373. package/dist/components/tooltip/TooltipContent.vue.d.ts +3 -8
  374. package/dist/components/tooltip/TooltipTrigger.vue.d.ts +1 -1
  375. package/dist/components/tooltip/index.d.ts +4 -4
  376. package/dist/components/typewriter/TypewriterText.vue.d.ts +12 -32
  377. package/dist/components/typewriter/composables/useTypewriter.d.ts +1 -1
  378. package/dist/components/typewriter/index.d.ts +7 -7
  379. package/dist/components/typewriter/types.d.ts +1 -1
  380. package/dist/components/typewriter/utils/timing.d.ts +1 -1
  381. package/dist/components/typewriter/utils/typoStateMachine.d.ts +1 -1
  382. package/dist/composables/color/accent-tone-solve.d.ts +1 -1
  383. package/dist/composables/color/index.d.ts +7 -7
  384. package/dist/composables/context/index.d.ts +1 -1
  385. package/dist/composables/dark/index.d.ts +5 -5
  386. package/dist/composables/dom/index.d.ts +10 -10
  387. package/dist/composables/dom/useDragVelocity.d.ts +7 -0
  388. package/dist/composables/glass/backdropLuminanceSample.d.ts +20 -22
  389. package/dist/composables/glass/backdropSampleMath.d.ts +10 -0
  390. package/dist/composables/glass/canvas2d/index.d.ts +3 -3
  391. package/dist/composables/glass/canvas2d/useCanvas2D.d.ts +2 -10
  392. package/dist/composables/glass/index.d.ts +5 -7
  393. package/dist/composables/glass/useGlassBackdropLuminance.d.ts +3 -4
  394. package/dist/composables/glass/useSpecularTracking.d.ts +1 -1
  395. package/dist/composables/glass/webgl/createCanvasLifecycle.d.ts +13 -22
  396. package/dist/composables/glass/webgl/useWebGLCanvas.d.ts +10 -13
  397. package/dist/composables/glass/webgl/visibility.d.ts +1 -1
  398. package/dist/composables/glass/webgpu/useGpuSubstrate.d.ts +10 -13
  399. package/dist/composables/glass/webgpu/useWebGPUCanvas.d.ts +3 -4
  400. package/dist/composables/glass/webgpu/webgpuCanvasTypes.d.ts +9 -11
  401. package/dist/composables/glass/webgpu/webgpuDevice.d.ts +0 -17
  402. package/dist/composables/keyboard/index.d.ts +1 -1
  403. package/dist/composables/motion/core/constants.d.ts +7 -0
  404. package/dist/composables/motion/core/index.d.ts +21 -21
  405. package/dist/composables/motion/core/motionTempo.d.ts +0 -2
  406. package/dist/composables/motion/dissolve/dissolveGrammar.d.ts +88 -0
  407. package/dist/composables/motion/engage/engageEnvelopes.d.ts +45 -0
  408. package/dist/composables/motion/engage/engageLadder.d.ts +86 -0
  409. package/dist/composables/motion/index.d.ts +14 -14
  410. package/dist/composables/motion/morph/eyeglass.d.ts +141 -0
  411. package/dist/composables/motion/morph/useDockCtaReceive.d.ts +6 -6
  412. package/dist/composables/motion/morph/useElementMorph.d.ts +4 -4
  413. package/dist/composables/motion/morph/useLeadTrail.d.ts +30 -28
  414. package/dist/composables/motion/morph/useSelectionGroup.d.ts +61 -23
  415. package/dist/composables/motion/morph/useSelectionIndicator.d.ts +52 -22
  416. package/dist/composables/motion/number/useAnimatedNumberMap.d.ts +1 -1
  417. package/dist/composables/motion/pointer/pointerFieldMappings.d.ts +1 -1
  418. package/dist/composables/motion/pointer/useRoutePointer.d.ts +1 -1
  419. package/dist/composables/motion/reveal/useLiquidReveal.d.ts +7 -6
  420. package/dist/composables/motion/route/routeGrammar.d.ts +60 -0
  421. package/dist/composables/motion/route/useRouteTransition.d.ts +45 -0
  422. package/dist/composables/motion/scroll/useScrollProgress.d.ts +7 -14
  423. package/dist/composables/motion/scroll/useScrollScene.d.ts +5 -4
  424. package/dist/composables/motion/spring/springPresets.d.ts +13 -27
  425. package/dist/composables/motion/spring/springProjection.d.ts +3 -4
  426. package/dist/composables/motion/spring/useLiquidPress.d.ts +2 -2
  427. package/dist/composables/motion/spring/useSpring.d.ts +3 -3
  428. package/dist/composables/motion/spring/useSpringMount.d.ts +6 -3
  429. package/dist/composables/motion/spring/useSpringPress.d.ts +6 -6
  430. package/dist/composables/reactive/index.d.ts +2 -2
  431. package/dist/composables/sidebar/index.d.ts +10 -10
  432. package/dist/composables/sidebar/useClickDelegate.d.ts +1 -1
  433. package/dist/composables/sidebar/useLazyLoader.d.ts +1 -1
  434. package/dist/composables/sidebar/useScrollTo.d.ts +1 -1
  435. package/dist/composables/sidebar/useScrollTracker.d.ts +1 -1
  436. package/dist/composables/sidebar/useSidebarState.d.ts +1 -1
  437. package/dist/composables/sidebar/useTreeIndex.d.ts +1 -1
  438. package/dist/{configurator-M5OaIlJd.js → configurator-BoeScnDL.js} +5 -5
  439. package/dist/configurator.d.ts +1 -1
  440. package/dist/configurator.js +1 -1
  441. package/dist/{constants-nBz23tJE.js → constants-Dk96HZHu.js} +2 -2
  442. package/dist/constellation.d.ts +1 -1
  443. package/dist/constellation.js +136 -135
  444. package/dist/content-CWO-XL7o.js +18 -0
  445. package/dist/control-Da4XeT43.js +11 -0
  446. package/dist/{field-control.css_vue_type_style_index_0_src_true_lang-CeLay9Tk.js → control.css_vue_type_style_index_0_src_true_lang-BIdufaDG.js} +1 -1
  447. package/dist/{createCanvasLifecycle-DbXRwjU_.js → createCanvasLifecycle-hJHobVTn.js} +2 -5
  448. package/dist/dark-mode-toggle.d.ts +1 -1
  449. package/dist/dark-mode-toggle.js +2 -2
  450. package/dist/dark.d.ts +1 -1
  451. package/dist/data-table-_RrOEdiw.js +493 -0
  452. package/dist/data-table.d.ts +1 -1
  453. package/dist/data-table.js +1 -1
  454. package/dist/deck-Ci6YjB5e.js +453 -0
  455. package/dist/deck.d.ts +1 -1
  456. package/dist/deck.js +2 -94
  457. package/dist/dialog-CbRnTRtg.js +78 -0
  458. package/dist/dialog.d.ts +1 -1
  459. package/dist/dialog.js +3 -2
  460. package/dist/dock.d.ts +1 -1
  461. package/dist/dock.js +546 -519
  462. package/dist/dom.d.ts +1 -1
  463. package/dist/dom.js +57 -35
  464. package/dist/easing.d.ts +1 -1
  465. package/dist/easing.js +686 -515
  466. package/dist/expandable-container.d.ts +1 -1
  467. package/dist/expandable-container.js +80 -78
  468. package/dist/{fading-scroll-DhxXIhm2.js → fading-scroll-CTeW3KNS.js} +30 -30
  469. package/dist/fading-scroll.d.ts +1 -1
  470. package/dist/fading-scroll.js +1 -1
  471. package/dist/focus-Duf7EpUu.js +13 -0
  472. package/dist/fourier-field.d.ts +1 -1
  473. package/dist/fourier-field.js +84 -86
  474. package/dist/fourier-math.d.ts +1 -1
  475. package/dist/glass-ui.css +1 -1
  476. package/dist/glass-ui.js +123 -472
  477. package/dist/handmark.d.ts +1 -1
  478. package/dist/handmark.js +1 -1
  479. package/dist/index.d.ts +41 -42
  480. package/dist/infinite-scroll.d.ts +1 -1
  481. package/dist/infinite-scroll.js +56 -43
  482. package/dist/input-Bls2A4Tt.js +54 -0
  483. package/dist/input.d.ts +1 -0
  484. package/dist/input.js +2 -0
  485. package/dist/keyboard.d.ts +1 -1
  486. package/dist/label-BQEZhnK_.js +53 -0
  487. package/dist/label.d.ts +1 -1
  488. package/dist/label.js +1 -1
  489. package/dist/labeled-field.d.ts +1 -1
  490. package/dist/labeled-field.js +64 -148
  491. package/dist/menu-wLu1XGKn.js +501 -0
  492. package/dist/menu.d.ts +1 -0
  493. package/dist/{dropdown-menu.js → menu.js} +2 -2
  494. package/dist/metric.d.ts +1 -1
  495. package/dist/metric.js +79 -132
  496. package/dist/motion-D4uYE0UM.js +61 -0
  497. package/dist/motion-core.d.ts +1 -1
  498. package/dist/motion-core.js +185 -52
  499. package/dist/motion.d.ts +1 -1
  500. package/dist/motion.js +160 -178
  501. package/dist/music-staff.d.ts +1 -0
  502. package/dist/music-staff.js +915 -0
  503. package/dist/number-field-NFAwQ0HK.js +111 -0
  504. package/dist/number-field.d.ts +1 -1
  505. package/dist/number-field.js +2 -2
  506. package/dist/pager-dots.d.ts +1 -1
  507. package/dist/pager-dots.js +362 -2
  508. package/dist/participation-B0hdsIRo.js +42 -0
  509. package/dist/popover-DBMKTPkL.js +181 -0
  510. package/dist/popover.d.ts +1 -1
  511. package/dist/popover.js +1 -1
  512. package/dist/progress-DF8dWZIX.js +74 -0
  513. package/dist/progress.d.ts +1 -1
  514. package/dist/progress.js +1 -1
  515. package/dist/radio-group-Ci8o-pDx.js +85 -0
  516. package/dist/radio-group.d.ts +1 -0
  517. package/dist/radio-group.js +2 -0
  518. package/dist/reactive.d.ts +1 -1
  519. package/dist/resolve-DdrNvBby.js +6 -0
  520. package/dist/{resolveCanvasColor-DS_6DBxA.js → resolveCanvasColor-6MCrswTB.js} +3 -4
  521. package/dist/rowClass-DYOXwxhO.js +10 -0
  522. package/dist/scroll-progress-rim.d.ts +1 -1
  523. package/dist/scroll-progress-rim.js +48 -42
  524. package/dist/search.d.ts +1 -1
  525. package/dist/search.js +28 -319
  526. package/dist/select-CDgwGH_P.js +290 -0
  527. package/dist/select.d.ts +1 -1
  528. package/dist/select.js +2 -2
  529. package/dist/separator-CN11t406.js +73 -0
  530. package/dist/separator.d.ts +1 -1
  531. package/dist/separator.js +1 -1
  532. package/dist/sheet-BEFvnO_u.js +340 -0
  533. package/dist/sheet.d.ts +1 -0
  534. package/dist/sheet.js +3 -0
  535. package/dist/sidebar.d.ts +1 -1
  536. package/dist/slider-gsc8jDIo.js +227 -0
  537. package/dist/slider.d.ts +1 -1
  538. package/dist/slider.js +1 -1
  539. package/dist/sortable-list.d.ts +1 -1
  540. package/dist/sortable-list.js +411 -286
  541. package/dist/springPresets-Cbe0Voqg.js +52 -0
  542. package/dist/status-dot-BpnqOP5N.js +56 -0
  543. package/dist/status-dot.d.ts +1 -1
  544. package/dist/status-dot.js +2 -42
  545. package/dist/styles/accessibility.css +1 -1
  546. package/dist/styles/animations.css +1 -1
  547. package/dist/styles/components.css +1 -1
  548. package/dist/styles/fonts.css +1 -1
  549. package/dist/styles/glass/a11y-fallback.css +1 -1
  550. package/dist/styles/glass/control-bit.css +1 -0
  551. package/dist/styles/glass/control-edge.css +1 -0
  552. package/dist/styles/glass/control-surfaces.css +1 -1
  553. package/dist/styles/glass/deep.css +1 -1
  554. package/dist/styles/glass/defined.css +1 -1
  555. package/dist/styles/glass/dissolve.css +1 -0
  556. package/dist/styles/glass/focus-veil.css +1 -0
  557. package/dist/styles/glass/glass-atom.css +1 -1
  558. package/dist/styles/glass/glass-capsule.css +1 -1
  559. package/dist/styles/glass/glass-chip.css +1 -1
  560. package/dist/styles/glass/grasp.css +1 -0
  561. package/dist/styles/glass/ladder-undershadow.css +1 -1
  562. package/dist/styles/glass/ladder.css +1 -1
  563. package/dist/styles/glass/liquid-enter.css +1 -1
  564. package/dist/styles/glass/liquid-fill.css +1 -1
  565. package/dist/styles/glass/mark.css +1 -0
  566. package/dist/styles/glass/material.css +1 -1
  567. package/dist/styles/glass/overlay-plate.css +1 -0
  568. package/dist/styles/glass/reveal.css +1 -1
  569. package/dist/styles/glass/rim.css +1 -1
  570. package/dist/styles/glass/squircle.css +1 -1
  571. package/dist/styles/glass/surface-axis.css +1 -1
  572. package/dist/styles/glass/surfaces-pager.css +1 -1
  573. package/dist/styles/glass/surfaces.css +1 -1
  574. package/dist/styles/glass/track-flow.css +1 -0
  575. package/dist/styles/glass/value-marks.css +1 -0
  576. package/dist/styles/glass/veil.css +1 -0
  577. package/dist/styles/glass-specular-track.css +1 -1
  578. package/dist/styles/glass.css +1 -1
  579. package/dist/styles/index.css +1 -1
  580. package/dist/styles/paper.css +1 -1
  581. package/dist/styles/scroll-choreography.css +1 -1
  582. package/dist/styles/scroll-chrome.css +1 -1
  583. package/dist/styles/scroll-driven.css +1 -1
  584. package/dist/styles/theme/bridges.css +1 -1
  585. package/dist/styles/theme/dark.css +1 -1
  586. package/dist/styles/theme/literals.css +1 -1
  587. package/dist/styles/theme/radius.css +1 -1
  588. package/dist/styles/theme.css +1 -1
  589. package/dist/styles/tokens/color-radius.css +1 -1
  590. package/dist/styles/tokens/dark-arm-glass.css +1 -1
  591. package/dist/styles/tokens/dark-arm.css +1 -1
  592. package/dist/styles/tokens/glass-deep.css +1 -1
  593. package/dist/styles/tokens/glass-fx.css +1 -1
  594. package/dist/styles/tokens/glass.css +1 -1
  595. package/dist/styles/tokens/light-dark.css +1 -1
  596. package/dist/styles/tokens/manifest.d.ts +4 -4
  597. package/dist/styles/tokens/motion-registers.css +1 -1
  598. package/dist/styles/tokens/offsets.css +1 -1
  599. package/dist/styles/tokens/on-glass-fg.css +1 -1
  600. package/dist/styles/tokens/property-regs-specular.css +1 -1
  601. package/dist/styles/tokens/property-regs.css +1 -1
  602. package/dist/styles/tokens/scale-paper.css +1 -1
  603. package/dist/styles/tokens/scheme-motion.css +1 -1
  604. package/dist/styles/tokens/scheme-spring.css +1 -1
  605. package/dist/styles/tokens/scroll-tokens.css +1 -1
  606. package/dist/styles/tokens/shadow.css +1 -1
  607. package/dist/styles/tokens/sizing-config.css +1 -1
  608. package/dist/styles/tokens/sizing.css +1 -1
  609. package/dist/styles/tokens.css +1 -1
  610. package/dist/styles/tokens.d.ts +2 -2
  611. package/dist/styles/track-well.css +1 -0
  612. package/dist/styles/transitions.css +1 -1
  613. package/dist/styles/typography/scale.css +1 -1
  614. package/dist/styles/typography/semantic.css +1 -1
  615. package/dist/styles/typography/utilities.css +1 -1
  616. package/dist/styles/typography.css +1 -1
  617. package/dist/styles/utilities/a11y-overrides.css +1 -1
  618. package/dist/styles/utilities/base-misc.css +1 -1
  619. package/dist/styles/utilities/base.css +1 -1
  620. package/dist/styles/utilities/btn.css +1 -1
  621. package/dist/styles/utilities/components.css +1 -1
  622. package/dist/styles/utilities/metal.css +1 -1
  623. package/dist/styles/utilities/responsive.css +1 -1
  624. package/dist/styles/utilities.css +1 -1
  625. package/dist/styles/view-transition.css +1 -1
  626. package/dist/styles/viz-reveal.css +1 -1
  627. package/dist/{supportsCssTimeline-C2zyWpl8.js → supportsCssTimeline-Di9gzleG.js} +5 -4
  628. package/dist/surface.d.ts +1 -1
  629. package/dist/surface.js +1 -1
  630. package/dist/switch-DxZzDrmV.js +49 -0
  631. package/dist/switch.d.ts +1 -1
  632. package/dist/switch.js +1 -1
  633. package/dist/tabs-CYscnq5H.js +268 -0
  634. package/dist/tabs.d.ts +1 -1
  635. package/dist/tabs.js +2 -311
  636. package/dist/textarea.d.ts +1 -0
  637. package/dist/textarea.js +58 -0
  638. package/dist/timeline.d.ts +1 -1
  639. package/dist/timeline.js +238 -528
  640. package/dist/{toast-CH5mnsYT.js → toast-9c6Kp58L.js} +52 -50
  641. package/dist/toast.d.ts +1 -1
  642. package/dist/toast.js +1 -1
  643. package/dist/toggle-group-11aPGMfE.js +125 -0
  644. package/dist/toggle-group.d.ts +1 -1
  645. package/dist/toggle-group.js +1 -1
  646. package/dist/tokens.d.ts +1 -1
  647. package/dist/tokens.js +12 -10
  648. package/dist/tooltip-DqKMZ4dn.js +142 -0
  649. package/dist/tooltip.d.ts +1 -1
  650. package/dist/tooltip.js +1 -1
  651. package/dist/typewriter.d.ts +1 -1
  652. package/dist/typewriter.js +10 -32
  653. package/dist/useAccentTone-DFAh1osB.js +47 -0
  654. package/dist/{useDockCtaReceive-DkrOTM0q.js → useDockCtaReceive-BSSgD6mu.js} +2 -2
  655. package/dist/{useDragMorph-BogSV_nv.js → useDragMorph-B363RUbF.js} +59 -59
  656. package/dist/{useDragVelocity-6ONX0sr0.js → useDragVelocity-C5BkKiNf.js} +28 -24
  657. package/dist/useIntersectionPause-CzKR3EyP.js +57 -0
  658. package/dist/useLeadTrail-DQWdpFN1.js +83 -0
  659. package/dist/{useLiquidPress-BOxuDkKa.js → useLiquidPress-h1scrPtP.js} +1 -1
  660. package/dist/{useTouchGate-B4mzQcHJ.js → useResolveTokenColor-CspQv_ik.js} +24 -1
  661. package/dist/useScrollChrome-BJbWV32F.js +162 -0
  662. package/dist/useScrollProgress-Bq-KPaKM.js +41 -0
  663. package/dist/{useScrollTrigger-BDdqptlc.js → useScrollTrigger-Abe5dEeO.js} +25 -26
  664. package/dist/useSelectionGroup-zsEwitF6.js +291 -0
  665. package/dist/{useSpringMount-uQ8QL9Ff.js → useSpringMount-OA-0mTNv.js} +5 -6
  666. package/dist/vReveal-B5WYGofz.js +44 -0
  667. package/dist/{valueDomain-SbVzoHMH.js → valueDomain-DXRzfc8l.js} +1 -1
  668. package/package.json +53 -92
  669. package/dist/FeedbackMark-DZq5001h.js +0 -23
  670. package/dist/Input-9BlLluik.js +0 -77
  671. package/dist/PagerDots-BEq0MgtH.js +0 -311
  672. package/dist/Surface-kFQeYrYv.js +0 -82
  673. package/dist/animated-digit.d.ts +0 -1
  674. package/dist/animated-digit.js +0 -44
  675. package/dist/badge-u65NClWn.js +0 -62
  676. package/dist/button-Bu9F4uU6.js +0 -98
  677. package/dist/chip-DFZQr6rV.js +0 -129
  678. package/dist/command-SFqDQ65h.js +0 -320
  679. package/dist/completion-seal.d.ts +0 -1
  680. package/dist/completion-seal.js +0 -132
  681. package/dist/components/_shared/FeedbackMark.vue.d.ts +0 -11
  682. package/dist/components/_shared/control-size.d.ts +0 -2
  683. package/dist/components/_shared/disclosure.css +0 -1
  684. package/dist/components/_shared/feedback-tone.css +0 -1
  685. package/dist/components/_shared/feedback.d.ts +0 -7
  686. package/dist/components/_shared/field-control.css +0 -1
  687. package/dist/components/_shared/field-surfaces.css +0 -1
  688. package/dist/components/_shared/floating.d.ts +0 -14
  689. package/dist/components/_shared/menu.css +0 -1
  690. package/dist/components/_shared/menuRowClass.d.ts +0 -2
  691. package/dist/components/_shared/resolveSurfaceClass.d.ts +0 -3
  692. package/dist/components/animated-digit/AnimatedDigit.vue.d.ts +0 -55
  693. package/dist/components/animated-digit/index.d.ts +0 -2
  694. package/dist/components/avatar/styles.css +0 -1
  695. package/dist/components/card/CardAction.vue.d.ts +0 -17
  696. package/dist/components/card/card-scroll.css +0 -1
  697. package/dist/components/carousel/interface.d.ts +0 -22
  698. package/dist/components/checkbox/styles.css +0 -1
  699. package/dist/components/combobox/Combobox.vue.d.ts +0 -22
  700. package/dist/components/combobox/ComboboxAnchor.vue.d.ts +0 -14
  701. package/dist/components/combobox/ComboboxEmpty.vue.d.ts +0 -14
  702. package/dist/components/combobox/ComboboxGroup.vue.d.ts +0 -14
  703. package/dist/components/combobox/ComboboxInput.vue.d.ts +0 -18
  704. package/dist/components/combobox/ComboboxItem.vue.d.ts +0 -18
  705. package/dist/components/combobox/ComboboxItemIndicator.vue.d.ts +0 -14
  706. package/dist/components/combobox/ComboboxList.vue.d.ts +0 -29
  707. package/dist/components/combobox/ComboboxTrigger.vue.d.ts +0 -16
  708. package/dist/components/combobox/index.d.ts +0 -10
  709. package/dist/components/combobox/types.d.ts +0 -87
  710. package/dist/components/command/dialogContext.d.ts +0 -6
  711. package/dist/components/command/styles.css +0 -1
  712. package/dist/components/completion-seal/CompletionSeal.vue.d.ts +0 -28
  713. package/dist/components/completion-seal/composables/useCompletionSeal.d.ts +0 -37
  714. package/dist/components/completion-seal/constants.d.ts +0 -66
  715. package/dist/components/completion-seal/index.d.ts +0 -4
  716. package/dist/components/completion-seal/styles.css +0 -1
  717. package/dist/components/data-table/styles.css +0 -1
  718. package/dist/components/deck/DeckPager.vue.d.ts +0 -29
  719. package/dist/components/dialog/DialogClose.vue.d.ts +0 -16
  720. package/dist/components/dialog/DialogTrigger.vue.d.ts +0 -16
  721. package/dist/components/dialog/dialogStageContext.d.ts +0 -7
  722. package/dist/components/dialog/placement.css +0 -1
  723. package/dist/components/dialog/sheet-motion.d.ts +0 -17
  724. package/dist/components/drawer/Drawer.vue.d.ts +0 -82
  725. package/dist/components/drawer/DrawerContent.vue.d.ts +0 -39
  726. package/dist/components/drawer/DrawerDescription.vue.d.ts +0 -17
  727. package/dist/components/drawer/DrawerFooter.vue.d.ts +0 -17
  728. package/dist/components/drawer/DrawerHeader.vue.d.ts +0 -17
  729. package/dist/components/drawer/DrawerOverlay.vue.d.ts +0 -8
  730. package/dist/components/drawer/DrawerTitle.vue.d.ts +0 -17
  731. package/dist/components/drawer/composables/drawerSnapContext.d.ts +0 -34
  732. package/dist/components/drawer/composables/useDrawerSnap.d.ts +0 -26
  733. package/dist/components/drawer/constants.d.ts +0 -32
  734. package/dist/components/drawer/index.d.ts +0 -33
  735. package/dist/components/drawer/styles.css +0 -1
  736. package/dist/components/dropdown-menu/styles.css +0 -1
  737. package/dist/components/easing/EasingConfigurator.vue.d.ts +0 -33
  738. package/dist/components/expandable-container/styles.css +0 -1
  739. package/dist/components/fourier-field/presets.d.ts +0 -54
  740. package/dist/components/header-ribbon/HeaderRibbon.vue.d.ts +0 -13
  741. package/dist/components/header-ribbon/index.d.ts +0 -2
  742. package/dist/components/header-ribbon/styles.css +0 -1
  743. package/dist/components/header-ribbon/types.d.ts +0 -10
  744. package/dist/components/instrument-chassis/InstrumentChassis.vue.d.ts +0 -23
  745. package/dist/components/instrument-chassis/index.d.ts +0 -2
  746. package/dist/components/instrument-chassis/styles.css +0 -1
  747. package/dist/components/instrument-chassis/types.d.ts +0 -13
  748. package/dist/components/labeled-field/LabeledSelect.vue.d.ts +0 -20
  749. package/dist/components/liquid-grid/LiquidGrid.vue.d.ts +0 -46
  750. package/dist/components/liquid-grid/composables/liquidGrid.d.ts +0 -113
  751. package/dist/components/liquid-grid/composables/liquidGridGLSetup.d.ts +0 -18
  752. package/dist/components/liquid-grid/composables/liquidGridWGPUSetup.d.ts +0 -21
  753. package/dist/components/liquid-grid/composables/uniformBridgeWGPU.d.ts +0 -16
  754. package/dist/components/liquid-grid/composables/useLiquidGrid.d.ts +0 -32
  755. package/dist/components/liquid-grid/constants.d.ts +0 -92
  756. package/dist/components/liquid-grid/index.d.ts +0 -5
  757. package/dist/components/liquid-grid/shaders/liquid-grid.glsl.d.ts +0 -4
  758. package/dist/components/liquid-grid/shaders/liquid-grid.wgsl.d.ts +0 -1
  759. package/dist/components/metric/MetricCell.vue.d.ts +0 -26
  760. package/dist/components/number-field/NumberFieldDecrement.vue.d.ts +0 -18
  761. package/dist/components/number-field/NumberFieldIncrement.vue.d.ts +0 -18
  762. package/dist/components/number-field/styles.css +0 -1
  763. package/dist/components/pager-dots/composables/usePagerWorm.d.ts +0 -26
  764. package/dist/components/pager-dots/constants.d.ts +0 -14
  765. package/dist/components/pager-dots/pagerWindow.d.ts +0 -9
  766. package/dist/components/paper-backdrop/PaperBackdrop.vue.d.ts +0 -8
  767. package/dist/components/paper-backdrop/index.d.ts +0 -2
  768. package/dist/components/pulse/Pulse.vue.d.ts +0 -14
  769. package/dist/components/pulse/index.d.ts +0 -2
  770. package/dist/components/radio-group/styles.css +0 -1
  771. package/dist/components/search/FuzzySearch.vue.d.ts +0 -24
  772. package/dist/components/select/SelectScrollDownButton.vue.d.ts +0 -17
  773. package/dist/components/select/SelectScrollUpButton.vue.d.ts +0 -17
  774. package/dist/components/sortable-list/composables/dragController.d.ts +0 -29
  775. package/dist/components/sortable-list/composables/dropResolver.d.ts +0 -34
  776. package/dist/components/sortable-list/composables/ghostRenderer.d.ts +0 -44
  777. package/dist/components/sortable-list/composables/index.d.ts +0 -1
  778. package/dist/components/sortable-list/composables/touchGate.d.ts +0 -26
  779. package/dist/components/sortable-list/composables/transitionTiming.d.ts +0 -50
  780. package/dist/components/switch/styles.css +0 -1
  781. package/dist/components/tabs/constants.d.ts +0 -1
  782. package/dist/components/tags-input/TagsInput.vue.d.ts +0 -41
  783. package/dist/components/tags-input/TagsInputInput.vue.d.ts +0 -10
  784. package/dist/components/tags-input/TagsInputItem.vue.d.ts +0 -19
  785. package/dist/components/tags-input/TagsInputItemDelete.vue.d.ts +0 -17
  786. package/dist/components/tags-input/TagsInputItemText.vue.d.ts +0 -7
  787. package/dist/components/tags-input/context.d.ts +0 -5
  788. package/dist/components/tags-input/index.d.ts +0 -5
  789. package/dist/components/tags-input/styles.css +0 -1
  790. package/dist/components/timeline/ContinuousMarkers.vue.d.ts +0 -47
  791. package/dist/components/timeline/ContinuousRail.vue.d.ts +0 -23
  792. package/dist/components/timeline/ContinuousTimeline.vue.d.ts +0 -117
  793. package/dist/components/timeline/GlassTimeline.vue.d.ts +0 -113
  794. package/dist/components/timeline/ScrubberTimeline.vue.d.ts +0 -45
  795. package/dist/components/timeline/SegmentedTimeline.vue.d.ts +0 -45
  796. package/dist/components/toggle-group/styles.css +0 -1
  797. package/dist/components/toggle-group/toggleGroupContext.d.ts +0 -9
  798. package/dist/components/typewriter/composables/index.d.ts +0 -1
  799. package/dist/components/watercolor-dot/WatercolorDot.vue.d.ts +0 -61
  800. package/dist/components/watercolor-dot/index.d.ts +0 -3
  801. package/dist/components/watercolor-dot/prng.d.ts +0 -5
  802. package/dist/components/watercolor-dot/useWatercolorBlob.d.ts +0 -28
  803. package/dist/composables/glass/ambientHueHistogram.d.ts +0 -27
  804. package/dist/composables/glass/useSpecularPointer.d.ts +0 -52
  805. package/dist/composables/glass/wave/index.d.ts +0 -4
  806. package/dist/composables/glass/wave/waveField.d.ts +0 -136
  807. package/dist/composables/glass/wave/waveField.glsl.d.ts +0 -1
  808. package/dist/composables/glass/wave/waveField.wgsl.d.ts +0 -1
  809. package/dist/composables/glass/webgpu/index.d.ts +0 -3
  810. package/dist/composables/index.d.ts +0 -9
  811. package/dist/composables/motion/number/useCountup.d.ts +0 -30
  812. package/dist/composables/motion/number/useNumericTransition.d.ts +0 -56
  813. package/dist/composables/motion/reveal/bloomUpField.d.ts +0 -29
  814. package/dist/composables/motion/reveal/useBloomUp.d.ts +0 -33
  815. package/dist/composables/motion/reveal/useStaggerReveal.d.ts +0 -28
  816. package/dist/composables/motion/reveal/useTextHighlight.d.ts +0 -41
  817. package/dist/composables/motion/scroll/useScrollPin.d.ts +0 -49
  818. package/dist/data-table-BygKg6ZA.js +0 -491
  819. package/dist/dialog-TNRDkcE4.js +0 -385
  820. package/dist/dockContext-BUTlGRNJ.js +0 -13
  821. package/dist/drawer.d.ts +0 -1
  822. package/dist/drawer.js +0 -496
  823. package/dist/dropdown-menu-BlbnvMaZ.js +0 -507
  824. package/dist/dropdown-menu.d.ts +0 -1
  825. package/dist/floating-dB5TD88k.js +0 -7
  826. package/dist/flow.wgsl-Cd2GUkPx.js +0 -4
  827. package/dist/fonts/README.md +0 -120
  828. package/dist/fonts/fira-code/OFL.txt +0 -93
  829. package/dist/fonts/plus-jakarta-sans/OFL.txt +0 -93
  830. package/dist/forms.d.ts +0 -5
  831. package/dist/forms.js +0 -403
  832. package/dist/header-ribbon.d.ts +0 -1
  833. package/dist/header-ribbon.js +0 -43
  834. package/dist/instrument-chassis.d.ts +0 -1
  835. package/dist/instrument-chassis.js +0 -54
  836. package/dist/label-DnMqH7jr.js +0 -55
  837. package/dist/liquid-grid.d.ts +0 -1
  838. package/dist/liquid-grid.js +0 -1065
  839. package/dist/menuRowClass-Nh7CtMON.js +0 -12
  840. package/dist/number-field-Boe09SvX.js +0 -154
  841. package/dist/paper-backdrop.d.ts +0 -1
  842. package/dist/paper-backdrop.js +0 -23
  843. package/dist/popover-BQGYXZyO.js +0 -244
  844. package/dist/progress-DClbhRAT.js +0 -88
  845. package/dist/pulse.d.ts +0 -1
  846. package/dist/pulse.js +0 -42
  847. package/dist/resolveSurfaceClass-DCZ4PZcy.js +0 -6
  848. package/dist/select-BcBAyLXA.js +0 -336
  849. package/dist/separator-CgZInrX-.js +0 -75
  850. package/dist/slider-DzqeQmMu.js +0 -162
  851. package/dist/springPresets-rCii5KqX.js +0 -52
  852. package/dist/styles/draw-in.css +0 -1
  853. package/dist/styles/glass/accent-tone.css +0 -1
  854. package/dist/styles/glass/grain-overlay.css +0 -1
  855. package/dist/styles/glass/material-roles.css +0 -1
  856. package/dist/styles/glass-refract.css +0 -1
  857. package/dist/styles/tokens/manifest.ts +0 -56
  858. package/dist/styles/tokens.ts +0 -54
  859. package/dist/switch-DZjQuFLa.js +0 -54
  860. package/dist/toggle-group-O6jBo7AE.js +0 -150
  861. package/dist/tooltip-Drx5qnw_.js +0 -148
  862. package/dist/useAccentTone-DyInfHXE.js +0 -23
  863. package/dist/useAnimatedNumber-WPtMz0AN.js +0 -40
  864. package/dist/useDocumentVisibility-Dh_TGXsU.js +0 -21
  865. package/dist/useIntersectionPause-B5mAU6XY.js +0 -39
  866. package/dist/useLeadTrail-AW1-zZcd.js +0 -74
  867. package/dist/useRAFLoop-B3YlWK4M.js +0 -98
  868. package/dist/useResolveTokenColor-B2FfJnd9.js +0 -24
  869. package/dist/useScrollProgress-CSFYXIZT.js +0 -43
  870. package/dist/useSelectionGroup-B5XplBbo.js +0 -132
  871. package/dist/useTabRovingFocus-YnWh-Ytr.js +0 -169
  872. package/dist/useTextHighlight-mfwNIC1f.js +0 -112
  873. package/dist/useUserInvalidAria-0GNrddMX.js +0 -25
  874. package/dist/watercolor-dot.d.ts +0 -1
  875. package/dist/watercolor-dot.js +0 -149
  876. /package/dist/components/_shared/{disclosure-context.d.ts → disclosure/disclosure-context.d.ts} +0 -0
  877. /package/dist/components/_shared/{valueDomain.d.ts → field/valueDomain.d.ts} +0 -0
  878. /package/dist/components/{dropdown-menu → menu}/DropdownMenuGroup.vue.d.ts +0 -0
  879. /package/dist/components/{dropdown-menu → menu}/DropdownMenuItem.vue.d.ts +0 -0
  880. /package/dist/components/{dropdown-menu → menu}/DropdownMenuLabel.vue.d.ts +0 -0
  881. /package/dist/components/{dropdown-menu → menu}/DropdownMenuSeparator.vue.d.ts +0 -0
  882. /package/dist/components/{dropdown-menu → menu}/DropdownMenuShortcut.vue.d.ts +0 -0
  883. /package/dist/components/{dropdown-menu → menu}/DropdownMenuSub.vue.d.ts +0 -0
  884. /package/dist/components/{dropdown-menu → menu}/DropdownMenuSubTrigger.vue.d.ts +0 -0
  885. /package/dist/components/{dropdown-menu/useMenuTrigger.d.ts → menu/context.d.ts} +0 -0
package/dist/dock.js CHANGED
@@ -1,38 +1,50 @@
1
- import { t as e } from "./class-names-Cpy5eaBk.js";
1
+ import { t as e } from "./class-names-q-UGOkHH.js";
2
2
  import { n as t } from "./useReducedMotion-vCXA_vyM.js";
3
3
  import { t as n } from "./vSpecular-DMJo8pfD.js";
4
4
  import { t as r } from "./motionTempo-tscp92Nm.js";
5
- import { n as i } from "./springPresets-rCii5KqX.js";
6
- import { t as a } from "./useLiquidPress-BOxuDkKa.js";
7
- import { n as o } from "./createContext-BhkE9mLH.js";
8
- import { t as s } from "./useMotionAxis-D-rtIhca.js";
9
- import { t as c } from "./useResizeObserver-CdUlm2QZ.js";
10
- import { t as l } from "./useTouchGate-B4mzQcHJ.js";
11
- import { n as u } from "./useResolveTokenColor-B2FfJnd9.js";
12
- import { t as d } from "./DropdownMenuTrigger-ClIq8RJE.js";
13
- import { a as f, i as p, n as m, o as h, r as g, t as _ } from "./dockContext-BUTlGRNJ.js";
14
- import { t as v } from "./useDragMorph-BogSV_nv.js";
15
- import { n as y } from "./useDockCtaReceive-DkrOTM0q.js";
16
- import { t as b } from "./useRAFLoop-B3YlWK4M.js";
17
- import { t as x } from "./useIntersectionPause-B5mAU6XY.js";
18
- import { n as S, t as C } from "./useSelectionGroup-B5XplBbo.js";
19
- import { n as w, t as T } from "./value-DMhh2R94.js";
20
- import { t as E } from "./useFuzzySearch-CUnZknpm.js";
21
- import { Fragment as D, computed as O, createBlock as k, createCommentVNode as A, createElementBlock as j, createElementVNode as M, createVNode as N, defineComponent as P, mergeModels as ee, mergeProps as F, nextTick as I, normalizeClass as L, normalizeStyle as R, onBeforeUnmount as z, onMounted as B, onScopeDispose as V, onUnmounted as H, openBlock as U, readonly as W, ref as G, renderList as te, renderSlot as K, resolveDynamicComponent as ne, toDisplayString as q, unref as J, useId as re, useModel as ie, useTemplateRef as Y, watch as X, withCtx as Z, withDirectives as Q } from "vue";
22
- import { PopoverTrigger as ae, Primitive as oe, SelectIcon as se, SelectTrigger as ce } from "reka-ui";
23
- import { ChevronDown as le, Pause as ue, Play as de } from "@lucide/vue";
24
- import { SpringProgress as fe } from "@mkbabb/keyframes.js";
25
- import { useMediaQuery as pe } from "@vueuse/core";
26
- import { convertColor as me, rgb as he } from "@mkbabb/value.js/color";
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";
21
+ import { PopoverTrigger as ce, Primitive as le, SelectIcon as ue, SelectTrigger as de } from "reka-ui";
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 ge(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 _e(e, t, n) {
33
- return .2126 * ge(e) + .7152 * ge(t) + .0722 * ge(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 ve(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 ve(e) {
41
53
  t[4] === void 0 ? 1 : Number(t[4])
42
54
  ] : null;
43
55
  }
44
- function ye(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, be = .72, xe = .06, Se = .004;
50
- function Ce() {
51
- return {
52
- weight: new Float64Array($),
53
- sumCos: new Float64Array($),
54
- sumSin: new Float64Array($),
55
- totalMass: 0,
56
- n: 0
57
- };
58
- }
59
- function we(e, t, n, r, i) {
60
- e.n++;
61
- let [, a, o] = T("accumulateHuePixel:oklch", me(T("accumulateHuePixel:rgb", he(t, n, r)), "oklch")).channels, s = w(a, "accumulateHuePixel"), c = w(o, "accumulateHuePixel");
62
- if (!Number.isFinite(s) || !Number.isFinite(c) || s <= 0) return;
63
- let l = s * i;
64
- if (l <= 0) return;
65
- let u = c * Math.PI / 180, d = Math.floor(c / 360 * $) % $;
66
- d < 0 && (d += $), e.weight[d] += l, e.sumCos[d] += l * Math.cos(u), e.sumSin[d] += l * Math.sin(u), e.totalMass += l;
67
- }
68
- function Te(e) {
69
- if (e.n === 0 || e.totalMass / e.n < Se) 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(${be} ${xe} ${n.toFixed(1)})`;
75
- }
76
- var Ee = "[data-glass-field-canvas] canvas, canvas[data-glass-field-canvas]";
77
- function De(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(Ee);
81
- if (ye(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 (ye(e)) return e;
68
+ if (xe(e)) return e;
86
69
  if (typeof e == "function") {
87
70
  let t = e();
88
- return ye(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 ye(t) ? t : null;
75
+ return xe(t) ? t : null;
93
76
  }
94
77
  return null;
95
78
  }
96
- function Oe(e, t) {
97
- let n = ve(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 Oe(e, t) {
110
93
  return null;
111
94
  }
112
95
  }
113
- function ke(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 = Ce();
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 += _e(s, c, l), i += n, we(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: Te(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 Ae(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 = Oe(u(r, e), t);
139
- if (i && !(i[3] < .5)) return je(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 = Oe(u(getComputedStyle(document.body).backgroundColor, e), t);
142
- return o ? je(o) : null;
121
+ return we(v(getComputedStyle(document.body).backgroundColor, e), t);
143
122
  }
144
- function je(e) {
145
- let t = Ce();
146
- return we(t, e[0], e[1], e[2], e[3]), {
147
- luma: _e(e[0], e[1], e[2]),
148
- ambientHue: Te(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 Me = "data-glass-backdrop-shared", Ne = "8%";
154
- function Pe(e, n = {}) {
145
+ var je = "data-glass-backdrop-shared";
146
+ function Me(e, n = {}) {
155
147
  let { lightThreshold: r = .6, minSampleIntervalMs: i = 250, writeBucket: a = !0 } = n, o = Math.max(250, i), s = n.shared === !0;
156
- function l(e) {
157
- return !s && e.closest(`[${Me}]`) !== null;
148
+ function c(e) {
149
+ return !s && e.closest(`[${je}]`) !== null;
158
150
  }
159
- let u = G(null), d = G(null), f = G({
151
+ let l = G(null), u = G(null), d = G({
160
152
  state: "pending",
161
153
  mode: n.live === !0 ? "live" : "static",
162
154
  source: n.live === !0 ? "canvas" : "elements"
163
155
  });
164
156
  if (typeof window > "u") return {
165
- luma: W(u),
166
- bucket: W(d),
167
- sample: W(f),
157
+ luma: W(l),
158
+ bucket: W(u),
159
+ sample: W(d),
168
160
  sampleNow: () => {},
169
161
  dispose: () => {}
170
162
  };
171
- let p = t(), 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 n.live === void 0 ? e.value?.dataset.glassSample === "live" || n.backgroundCanvas != null || De(void 0) !== null : n.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();
@@ -186,200 +178,193 @@ function Pe(e, n = {}) {
186
178
  }
187
179
  function y(e, t, n, i) {
188
180
  let o = e.luma;
189
- u.value = o;
181
+ l.value = o;
190
182
  let s = o >= r ? "light" : "dark";
191
- d.value = s, f.value = {
183
+ u.value = s, d.value = {
192
184
  state: "sampled",
193
185
  mode: n,
194
186
  source: n === "live" ? "canvas" : "elements",
195
187
  luma: o,
196
- ambientHue: e.ambientHue,
197
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%" : Ne), 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);
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
- function S(e, t, n, r) {
202
- u.value = null, d.value = null, f.value = {
192
+ function b(e, t, n, r) {
193
+ l.value = null, u.value = null, d.value = {
203
194
  state: "unavailable",
204
195
  mode: t,
205
196
  source: t === "live" ? "canvas" : "elements",
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"), 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);
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
- let C = 0;
212
- function w() {
202
+ let x = 0;
203
+ function S() {
213
204
  let t = e.value;
214
- if (!t || l(t)) return;
215
- let r = g(), i = _() ? "live" : "static", a = i === "live" ? De(n.backgroundCanvas) : null, o = i === "live" ? ke(t, a, r) : Ae(t, r), s = Date.now();
216
- o ? y(o, t, i, s) : S(t, i, i === "live" && !a ? "source-unavailable" : "sample-unavailable", s), C = typeof performance < "u" ? performance.now() : s;
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 = b(({ now: e }) => {
219
- p.value || e - C < o || w();
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 = x(() => 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 && l(t) || _() && !p.value && T.resume();
219
+ t && c(t) || g() && !f.value && C.resume();
229
220
  }
230
- }, { rootMargin: "200px" }), D = c(e, () => w());
221
+ }, { rootMargin: "200px" }), E = _(e, () => S());
231
222
  function O() {
232
223
  let t = e.value;
233
- if (t && l(t)) {
234
- T.stop();
224
+ if (t && c(t)) {
225
+ C.stop();
235
226
  return;
236
227
  }
237
- p.value ? (T.stop(), w()) : _() && T.start();
228
+ f.value ? (C.stop(), S()) : g() && C.start();
238
229
  }
239
- let k = X(p, O, { flush: "sync" }), A = X(() => e.value, (e) => {
230
+ let k = Z(f, O, { flush: "sync" }), A = Z(() => e.value, (e) => {
240
231
  if (e) {
241
- if (s) e.setAttribute(Me, "");
242
- else if (l(e)) return;
243
- w(), O();
232
+ if (s) e.setAttribute(je, "");
233
+ else if (c(e)) return;
234
+ S(), O();
244
235
  }
245
236
  }, {
246
237
  immediate: !0,
247
238
  flush: "post"
248
239
  });
249
240
  function j() {
250
- A(), k(), T.dispose(), E.dispose(), D.stop(), m = null, h = null;
241
+ A(), k(), C.dispose(), w.dispose(), E.stop(), p = null, m = null;
251
242
  }
252
- return V(j), {
253
- luma: W(u),
254
- bucket: W(d),
255
- sample: W(f),
256
- sampleNow: w,
243
+ return ne(j), {
244
+ luma: W(l),
245
+ bucket: W(u),
246
+ sample: W(d),
247
+ sampleNow: S,
257
248
  dispose: j
258
249
  };
259
250
  }
260
251
  //#endregion
261
- //#region src/components/dock/composables/isTeleportedTarget.ts
262
- function Fe(e, t) {
263
- if (!(e instanceof Element)) return !1;
264
- let n = e.closest("[data-glass-dock-portal]");
265
- return n ? !t || n.getAttribute("data-glass-dock-owner") === t : !1;
266
- }
267
- //#endregion
268
252
  //#region src/components/dock/composables/useDockState.ts
269
- function Ie(e) {
270
- 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 = O(() => f.value !== "collapsed"), m = O(() => f.value === "pinned"), h = null, g = G(0), _ = O(() => g.value > 0), v = null, y = null, b = !1, x = null;
271
- function S() {
272
- x &&= (clearTimeout(x), null);
273
- }
274
- let C = f.value;
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;
275
255
  function w() {
276
- l() && (f.value = "pinned"), c && C !== f.value && c(f.value, C), C = f.value;
277
- }
278
- function T() {
279
- h &&= (clearTimeout(h), null);
256
+ C &&= (clearTimeout(C), null);
280
257
  }
258
+ let T = f.value;
281
259
  function E() {
282
- y !== null && (cancelAnimationFrame(y), y = null);
260
+ l() && (f.value = "pinned"), c && T !== f.value && c(f.value, T), T = f.value;
283
261
  }
284
262
  function D() {
285
- E(), v?.();
263
+ h &&= (clearTimeout(h), null);
264
+ }
265
+ function O() {
266
+ x !== null && (cancelAnimationFrame(x), x = null);
286
267
  }
287
268
  function k() {
288
- d() || g.value > 0 || (T(), h = setTimeout(() => {
289
- f.value = "collapsed", w();
269
+ O(), b?.();
270
+ }
271
+ function j() {
272
+ d() || g.value > 0 || (D(), h = setTimeout(() => {
273
+ f.value = "collapsed", E();
290
274
  }, t));
291
275
  }
292
- function A() {
276
+ function M() {
293
277
  if (l()) {
294
- f.value = "pinned", w();
278
+ f.value = "pinned", E();
295
279
  return;
296
280
  }
297
- b ||= (b = !0, T(), S(), f.value = "collapsed", w(), !1);
281
+ S ||= (S = !0, D(), w(), f.value = "collapsed", E(), !1);
298
282
  }
299
- function j() {
283
+ function N() {
300
284
  if (l()) {
301
- f.value = "pinned", w();
285
+ f.value = "pinned", E();
302
286
  return;
303
287
  }
304
- T(), S(), f.value = "hover", w();
288
+ D(), w(), f.value = "hover", E();
305
289
  }
306
- function M() {
307
- d() || (T(), f.value === "collapsed" && (S(), x = setTimeout(() => {
308
- x = null, !d() && f.value === "collapsed" && (f.value = "hover", w());
290
+ function P() {
291
+ d() || (D(), f.value === "collapsed" && (w(), C = setTimeout(() => {
292
+ C = null, !d() && f.value === "collapsed" && (f.value = "hover", E());
309
293
  }, 60)));
310
294
  }
311
- function N(e) {
312
- if (!d() && (S(), f.value === "hover")) {
295
+ function F(e) {
296
+ if (!d() && (w(), f.value === "hover")) {
313
297
  if (g.value > 0) return;
314
298
  if (e) {
315
299
  let t = n.value;
316
- if (t && e.relatedTarget instanceof Node && t.contains(e.relatedTarget) || Fe(e.relatedTarget, s)) return;
300
+ if (t && e.relatedTarget instanceof Node && t.contains(e.relatedTarget) || $(e.relatedTarget, s)) return;
317
301
  }
318
- k();
302
+ j();
319
303
  }
320
304
  }
321
- function P() {
322
- d() || (T(), f.value === "collapsed" && (f.value = "hover", w()));
305
+ function I() {
306
+ d() || (D(), f.value === "collapsed" && (f.value = "hover", E()));
323
307
  }
324
308
  function ee(e) {
325
309
  if (d() || f.value !== "hover" || g.value > 0) return;
326
310
  let t = e.currentTarget;
327
- e.relatedTarget && t.contains(e.relatedTarget) || Fe(e.relatedTarget, s) || k();
311
+ e.relatedTarget && t.contains(e.relatedTarget) || $(e.relatedTarget, s) || j();
328
312
  }
329
- function F() {
330
- d() || (T(), S(), f.value = "pinned", w());
313
+ function L() {
314
+ d() || (D(), w(), f.value = "pinned", E());
331
315
  }
332
- function I() {
333
- g.value++, T();
316
+ function R(e = "morph") {
317
+ g.value++, e === "grasp" && _.value++, D();
334
318
  }
335
- function L() {
336
- g.value = Math.max(0, g.value - 1), g.value === 0 && f.value === "hover" && (T(), h = setTimeout(() => {
337
- g.value === 0 && f.value === "hover" && k();
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();
338
322
  }, Math.min(t, 800)));
339
323
  }
340
- function R(e) {
324
+ function B(e) {
341
325
  if (d() || g.value > 0 || o?.value) return;
342
326
  let t = n.value;
343
- !t || t.contains(e.target) || Fe(e.target, s) || A();
327
+ !t || t.contains(e.target) || $(e.target, s) || M();
344
328
  }
345
- return X(p, (e) => {
329
+ return Z(p, (e) => {
346
330
  if (e) {
347
331
  if (typeof document > "u") return;
348
- D(), y = requestAnimationFrame(() => {
349
- y = null, p.value && (document.addEventListener("pointerdown", R, !0), v = () => {
350
- document.removeEventListener("pointerdown", R, !0), v = null;
332
+ k(), x = requestAnimationFrame(() => {
333
+ x = null, p.value && (document.addEventListener("pointerdown", B, !0), b = () => {
334
+ document.removeEventListener("pointerdown", B, !0), b = null;
351
335
  });
352
336
  });
353
- } else D();
354
- }, { immediate: !0 }), typeof r == "boolean" ? r && (f.value = "pinned", w()) : X(r, (e) => {
337
+ } else k();
338
+ }, { immediate: !0 }), typeof r == "boolean" ? r && (f.value = "pinned", E()) : Z(r, (e) => {
355
339
  if (e) {
356
- T(), f.value = "pinned", w();
340
+ D(), f.value = "pinned", E();
357
341
  return;
358
342
  }
359
- f.value = "collapsed", w();
360
- }), typeof i != "string" && X(i, (e) => {
361
- e === "manual" && (T(), S());
343
+ f.value = "collapsed", E();
344
+ }), typeof i != "string" && Z(i, (e) => {
345
+ e === "manual" && (D(), w());
362
346
  }), H(() => {
363
- T(), S(), D();
347
+ D(), w(), k();
364
348
  }), {
365
349
  state: f,
366
350
  expanded: p,
367
351
  isPinned: m,
368
- isHeld: _,
369
- onMouseEnter: M,
370
- onMouseLeave: N,
371
- onFocusIn: P,
352
+ isHeld: v,
353
+ graspHeld: y,
354
+ onMouseEnter: P,
355
+ onMouseLeave: F,
356
+ onFocusIn: I,
372
357
  onFocusOut: ee,
373
- onClickCollapsed: F,
374
- keepOpen: I,
375
- release: L,
376
- expand: j,
377
- collapse: A
358
+ onClickCollapsed: L,
359
+ keepOpen: R,
360
+ release: z,
361
+ expand: N,
362
+ collapse: M
378
363
  };
379
364
  }
380
365
  //#endregion
381
366
  //#region src/components/dock/composables/useDockSpring.ts
382
- function Le(e) {
367
+ function Pe(e) {
383
368
  let t = null, n = () => t !== null && !t.settled;
384
369
  function i() {
385
370
  t &&= (t.dispose(), null);
@@ -387,7 +372,7 @@ function Le(e) {
387
372
  function a(a, o, s) {
388
373
  let c = n() ? t.velocity * (s.inheritVelocityScale ?? 1) : 0;
389
374
  i();
390
- let l = new fe({
375
+ let l = new he({
391
376
  response: e.response * r(),
392
377
  dampingFraction: e.dampingFraction,
393
378
  initial: a,
@@ -414,11 +399,11 @@ function Le(e) {
414
399
  }
415
400
  //#endregion
416
401
  //#region src/components/dock/composables/useDockMorph.ts
417
- function Re(e) {
418
- let { rootEl: t, outerActiveLayer: n } = e, r = G(n.value), i = G(null), a = Le({
419
- response: h.response,
420
- dampingFraction: h.dampingFraction
421
- }), o = pe("(prefers-reduced-motion: reduce)");
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)");
422
407
  function s() {
423
408
  return t.value;
424
409
  }
@@ -427,7 +412,7 @@ function Re(e) {
427
412
  let t = s();
428
413
  t && (t.removeAttribute("data-morphing"), t.style.removeProperty("--dock-morph-t")), e.onMorphActiveChange?.(!1), a.dispose();
429
414
  }
430
- X(o, (e) => {
415
+ Z(o, (e) => {
431
416
  e && s()?.hasAttribute("data-morphing") && c();
432
417
  });
433
418
  function l() {
@@ -443,7 +428,7 @@ function Re(e) {
443
428
  onSettle: c
444
429
  });
445
430
  }
446
- let u = X(n, (e, t) => {
431
+ let d = Z(n, (e, t) => {
447
432
  if (e === t) return;
448
433
  let n = s();
449
434
  if (r.value = e, !n) {
@@ -453,7 +438,7 @@ function Re(e) {
453
438
  i.value = t, l();
454
439
  });
455
440
  return H(() => {
456
- u(), a.dispose();
441
+ d(), a.dispose();
457
442
  }), {
458
443
  outerCurrentLayer: W(r),
459
444
  outerLeavingLayer: W(i)
@@ -461,15 +446,15 @@ function Re(e) {
461
446
  }
462
447
  //#endregion
463
448
  //#region src/components/dock/composables/dockMorphMeasure.ts
464
- function ze(e, t) {
449
+ function Ie(e, t) {
465
450
  return t === "vertical" ? e.offsetHeight : e.offsetWidth;
466
451
  }
467
- function Be(e) {
452
+ function Le(e) {
468
453
  let { rootEl: t, contentEl: n, expandedEl: r, collapsedEl: i, axis: a, expanded: o } = e, s = null, c = 0, l = 0, u = !1;
469
454
  function d() {
470
455
  let e = t.value, s = n.value, u = r.value, d = i.value;
471
456
  if (!e || !s || !u || !d || e.hasAttribute("data-morphing")) return;
472
- let f = a.value, p = ze(e, f), m = ze(u, f), h = ze(d, f);
457
+ let f = a.value, p = Ie(e, f), m = Ie(u, f), h = Ie(d, f);
473
458
  if (p <= 0 || m < 0 || h < 0) return;
474
459
  o.value ? c = p : l = p;
475
460
  let g = o.value ? m : h, _ = Math.max(0, p - g), v = c || _ + m, y = l || _ + h;
@@ -491,44 +476,38 @@ function Be(e) {
491
476
  d();
492
477
  }
493
478
  }
494
- X([
479
+ Z([
495
480
  t,
496
481
  n,
497
482
  r,
498
483
  i,
499
484
  a
500
- ], f, { immediate: !0 }), X(o, d);
485
+ ], f, { immediate: !0 }), Z(o, d);
501
486
  let p = typeof document < "u" ? document.fonts : void 0;
502
- p && p.ready.then(() => !u && d()), V(() => {
487
+ p && p.ready.then(() => !u && d()), ne(() => {
503
488
  u = !0, s?.disconnect(), s = null;
504
489
  });
505
490
  }
506
491
  //#endregion
507
492
  //#region src/components/dock/composables/useDockShellProps.ts
508
- function Ve(e) {
509
- let t = O(() => {
510
- if (e.containerName) return {
511
- "container-type": "inline-size",
512
- "container-name": e.containerName
513
- };
514
- }), n = O(() => e.collapseDelay ?? 3600), r = O(() => e.layout ?? "linear"), i = O(() => e.shape ?? "pill"), a = O(() => e.orientation ?? "horizontal"), o = O(() => e.size ?? "md"), s = O(() => a.value === "vertical" || e.overflow === "wrap" ? null : "dock-scroll-x"), c = O(() => e.alwaysExpanded || r.value === "grid");
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");
515
495
  return {
516
- containerStyle: t,
517
- collapseDelay: n,
518
- startCollapsed: O(() => c.value ? !1 : e.startCollapsed ?? !0),
519
- interaction: O(() => c.value ? "auto" : e.interaction ?? "auto"),
520
- layoutValue: r,
521
- shape: i,
522
- orientation: a,
523
- size: o,
524
- scrollClass: s,
525
- alwaysExpanded: c,
526
- fitContent: O(() => 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)
527
506
  };
528
507
  }
529
508
  //#endregion
530
509
  //#region src/components/dock/composables/useDockClickIntegrity.ts
531
- function He(e) {
510
+ function ze(e) {
532
511
  let { rootEl: t, visualExpanded: n } = e, r = null, i = !1, a = 0, o = null, s = G(null), c = null, l = [];
533
512
  function u() {
534
513
  c?.removeAttribute("data-dock-press-origin"), c = null;
@@ -570,9 +549,9 @@ function He(e) {
570
549
  return !!e && e.hasAttribute("data-morphing");
571
550
  }
572
551
  function _(e) {
573
- u(), r = e.target, n.value, i = g();
552
+ u(), r = e.target, i = g();
574
553
  }
575
- X(n, (e, t) => {
554
+ Z(n, (e, t) => {
576
555
  t && !e && r && d(r);
577
556
  });
578
557
  function v() {
@@ -599,7 +578,7 @@ function He(e) {
599
578
  e.stopPropagation(), e.preventDefault(), r = null;
600
579
  }
601
580
  }
602
- return z(() => {
581
+ return te(() => {
603
582
  f(), u();
604
583
  }), {
605
584
  onPointerDownCapture: _,
@@ -611,36 +590,36 @@ function He(e) {
611
590
  }
612
591
  //#endregion
613
592
  //#region src/components/dock/composables/useDockTouchGate.ts
614
- function Ue(e) {
615
- let { collapseDelay: t, rootEl: n, quiet: r, visualExpanded: i, expanded: a, isPinned: o, expand: s, collapse: c } = e, u = l(t);
616
- 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() {
617
596
  return !r.value;
618
597
  }
619
- function f(e) {
620
- if (!d() || i.value) return;
598
+ function d(e) {
599
+ if (!u() || i.value) return;
621
600
  let t = n.value, r = e.touches[0];
622
- !t || !r || u.handleTouchStart(t, r.clientY);
601
+ !t || !r || l.handleTouchStart(t, r.clientY);
623
602
  }
624
- function p(e) {
625
- d() && u.handleScrollCheck(e);
603
+ function f(e) {
604
+ u() && l.handleScrollCheck(e);
626
605
  }
627
- function m() {
628
- if (!d()) return;
629
- let e = u.isActive.value;
630
- 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();
631
610
  }
632
- return X(u.isActive, (e) => {
611
+ return Z(l.isActive, (e) => {
633
612
  !e && a.value && !o.value && !r.value && c();
634
613
  }), {
635
- onTouchStart: f,
636
- onTouchMove: p,
637
- onTouchEnd: m,
638
- deactivate: () => u.deactivate()
614
+ onTouchStart: d,
615
+ onTouchMove: f,
616
+ onTouchEnd: p,
617
+ deactivate: () => l.deactivate()
639
618
  };
640
619
  }
641
620
  //#endregion
642
621
  //#region src/components/dock/composables/useDockOverflowFit.ts
643
- function We(e) {
622
+ function Ve(e) {
644
623
  let t = null, n = null, r = 0;
645
624
  function i() {
646
625
  return e.value?.querySelector(".dock-layer--full") ?? null;
@@ -654,7 +633,7 @@ function We(e) {
654
633
  function o() {
655
634
  cancelAnimationFrame(r), r = requestAnimationFrame(a);
656
635
  }
657
- return B(() => {
636
+ return V(() => {
658
637
  let r = e.value, a = i();
659
638
  o(), r && (t = new ResizeObserver(o), t.observe(r), a && t.observe(a)), r && (n = new MutationObserver(o), n.observe(r, {
660
639
  childList: !0,
@@ -663,29 +642,36 @@ function We(e) {
663
642
  attributes: !0,
664
643
  attributeFilter: ["class", "hidden"]
665
644
  }));
666
- }), X(() => e.value, () => o()), H(() => {
645
+ }), Z(() => e.value, () => o()), H(() => {
667
646
  t?.disconnect(), n?.disconnect(), cancelAnimationFrame(r);
668
647
  }), { measure: a };
669
648
  }
670
649
  //#endregion
671
650
  //#region src/components/dock/GlassDock.vue?vue&type=script&setup=true&lang.ts
672
- var Ge = [
651
+ var He = [
673
652
  "data-size",
674
653
  "data-backdrop-mode",
675
654
  "data-interaction",
676
655
  "data-held",
677
- "data-search",
678
- "data-container-name"
679
- ], Ke = { class: "dock-controls" }, qe = {
656
+ "data-search"
657
+ ], Ue = ["data-held"], We = { class: "dock-controls" }, Ge = {
680
658
  key: 0,
681
659
  class: "dock-persistent"
682
- }, Je = ["inert"], Ye = ["inert"], Xe = {
660
+ }, Ke = ["id", "inert"], qe = [
661
+ "id",
662
+ "inert",
663
+ "role",
664
+ "tabindex",
665
+ "aria-label",
666
+ "aria-expanded",
667
+ "aria-controls"
668
+ ], Je = {
683
669
  key: 0,
684
670
  class: "dock-search-field"
685
- }, Ze = {
671
+ }, Ye = {
686
672
  key: 1,
687
673
  class: "dock-persistent dock-persistent-end"
688
- }, Qe = /* @__PURE__ */ P({
674
+ }, Xe = /* @__PURE__ */ I({
689
675
  inheritAttrs: !1,
690
676
  __name: "GlassDock",
691
677
  props: {
@@ -697,169 +683,203 @@ var Ge = [
697
683
  orientation: {},
698
684
  size: {},
699
685
  overflow: {},
700
- containerName: {},
701
- viewTransitionName: {},
702
686
  collapseDelay: {},
703
687
  startCollapsed: { type: Boolean },
704
688
  interaction: {},
705
689
  layout: {},
706
- autoLuminance: {
707
- type: Boolean,
708
- default: !0
709
- },
710
690
  backgroundCanvas: {},
711
691
  search: { type: Boolean }
712
692
  },
713
693
  setup(e, { expose: t }) {
714
- let n = e, { containerStyle: r, collapseDelay: i, startCollapsed: a, interaction: o, layoutValue: s, shape: c, orientation: l, size: u, scrollClass: d, alwaysExpanded: f, fitContent: p } = Ve(n), h = s, g = Y("dockEl"), _ = Y("layersEl"), v = Y("fullEl"), y = Y("summaryEl");
715
- We(g), n.backdropMode === "live" && n.autoLuminance !== !1 && Pe(g, { 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: () => {
716
696
  let e = n.backgroundCanvas;
717
697
  return typeof e == "function" ? e() : e instanceof HTMLCanvasElement ? e : null;
718
698
  } });
719
- let b = G(!1), x = `glass-dock-${re()}`, { expanded: S, isPinned: C, isHeld: w, onMouseEnter: T, onMouseLeave: E, onFocusIn: D, onFocusOut: k, onClickCollapsed: N, keepOpen: P, release: ee, expand: I, collapse: R } = Ie({
720
- collapseDelay: i.value,
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,
721
701
  rootEl: g,
722
- alwaysExpanded: f,
723
- interaction: o,
724
- initialExpanded: !a.value,
725
- isTransitioning: b,
726
- dockId: x
727
- }), z = O(() => f.value || o.value === "manual");
728
- m({
729
- id: x,
730
- orientation: l,
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,
710
+ orientation: c,
731
711
  layout: h,
732
- keepOpen: P,
733
- release: ee,
734
- held: w
712
+ keepOpen: ee,
713
+ release: B,
714
+ held: E
735
715
  });
736
- let B = O(() => f.value || S.value), V = O(() => B.value ? "full" : "summary"), H = O(() => l.value), { outerCurrentLayer: W, outerLeavingLayer: te } = Re({
716
+ let H = A(() => p.value || C.value), W = A(() => H.value ? "full" : "summary"), re = A(() => c.value), { outerCurrentLayer: q, outerLeavingLayer: ie } = Fe({
737
717
  rootEl: g,
738
- outerActiveLayer: V,
718
+ outerActiveLayer: W,
739
719
  onMorphActiveChange: (e) => {
740
- b.value = e;
720
+ x.value = e;
741
721
  }
742
- });
743
- Be({
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({
744
735
  rootEl: g,
745
736
  contentEl: _,
746
737
  expandedEl: v,
747
738
  collapsedEl: y,
748
- axis: H,
749
- expanded: B
739
+ axis: re,
740
+ expanded: H
750
741
  });
751
- let ne = O(() => n.viewTransitionName ? { "view-transition-name": n.viewTransitionName } : void 0), { onPointerDownCapture: q, onPointerCancelCapture: ie, onClickCapture: Z, markExpandFlip: Q, pressKeepaliveLayer: ae } = He({
742
+ let { onPointerDownCapture: ce, onPointerCancelCapture: le, onClickCapture: ue, markExpandFlip: de, pressKeepaliveLayer: fe } = ze({
752
743
  rootEl: g,
753
- visualExpanded: B
754
- }), { onTouchStart: oe, onTouchMove: se, onTouchEnd: ce, deactivate: le } = Ue({
755
- collapseDelay: i.value,
744
+ visualExpanded: H
745
+ }), { onTouchStart: pe, onTouchMove: me, onTouchEnd: he, deactivate: ge } = Be({
746
+ collapseDelay: r.value,
756
747
  rootEl: g,
757
- quiet: z,
758
- visualExpanded: B,
759
- expanded: S,
760
- isPinned: C,
761
- expand: I,
762
- collapse: R
748
+ quiet: ne,
749
+ visualExpanded: H,
750
+ expanded: C,
751
+ isPinned: w,
752
+ expand: te,
753
+ collapse: V
754
+ });
755
+ Z(H, (e) => {
756
+ e ? de() : ge();
757
+ });
758
+ let $ = G(!1);
759
+ Z(E, (e) => {
760
+ e && ($.value = !0);
763
761
  });
764
- return X(B, (e) => {
765
- e ? Q() : le();
766
- }), t({
767
- expanded: S,
768
- isPinned: C,
769
- isHeld: w,
770
- isTransitioning: b,
771
- expand: I,
772
- collapse: R,
773
- keepOpen: P,
774
- release: ee
775
- }), (t, i) => (U(), j("div", F({
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({
776
776
  ref_key: "dockEl",
777
777
  ref: g
778
778
  }, t.$attrs, {
779
779
  class: ["glass-dock", [
780
- J(l),
781
- `shape-${J(c)}`,
780
+ J(c),
781
+ `shape-${J(s)}`,
782
782
  `layout-${J(h)}`,
783
- J(d),
783
+ J(u),
784
784
  {
785
- expanded: B.value,
786
- collapsed: !B.value,
787
- pinned: J(C),
788
- "fit-content": J(p),
789
- "always-expanded": J(f),
790
- "dock-overflow-wrap": e.overflow === "wrap" && J(l) !== "vertical"
785
+ expanded: H.value,
786
+ collapsed: !H.value,
787
+ pinned: J(w),
788
+ "fit-content": J(m),
789
+ "always-expanded": J(p),
790
+ "dock-overflow-wrap": e.overflow === "wrap" && J(c) !== "vertical"
791
791
  },
792
792
  e.position === "fixed" ? "fixed bottom-(--dock-pos) inset-x-0 mx-auto w-max" : e.position === "sticky" ? "dock-sticky" : "dock-inline"
793
793
  ]],
794
- "data-material": "functional",
795
- "data-size": J(u),
794
+ "data-size": J(l),
796
795
  "data-backdrop-mode": n.backdropMode,
797
- "data-interaction": J(o) === "manual" ? "manual" : void 0,
798
- "data-held": J(w) || void 0,
796
+ "data-interaction": J(a) === "manual" ? "manual" : void 0,
797
+ "data-held": J(E) || void 0,
799
798
  "data-search": e.search || void 0,
800
- "data-container-name": e.containerName || void 0,
801
- style: [J(r), ne.value],
802
- onMouseenter: i[1] ||= (...e) => J(T) && J(T)(...e),
803
- onMouseleave: i[2] ||= (e) => J(E)(e),
804
- onFocusin: i[3] ||= (...e) => J(D) && J(D)(...e),
805
- onFocusout: i[4] ||= (...e) => J(k) && J(k)(...e),
806
- onTouchstart: i[5] ||= (...e) => J(oe) && J(oe)(...e),
807
- onTouchmove: i[6] ||= (...e) => J(se) && J(se)(...e),
808
- onTouchend: i[7] ||= (...e) => J(ce) && J(ce)(...e),
809
- onPointerdownCapture: i[8] ||= (...e) => J(q) && J(q)(...e),
810
- onPointercancelCapture: i[9] ||= (...e) => J(ie) && J(ie)(...e),
811
- onClickCapture: i[10] ||= (...e) => J(Z) && J(Z)(...e)
812
- }), [i[11] ||= M("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", {
813
810
  class: "dock-plate",
814
- "aria-hidden": "true"
815
- }, null, -1), M("div", Ke, [
816
- t.$slots.persistent ? (U(), j("div", qe, [K(t.$slots, "persistent")])) : A("", !0),
817
- M("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", {
818
823
  ref_key: "layersEl",
819
824
  ref: _,
820
825
  class: "dock-layers"
821
826
  }, [
822
- M("div", {
827
+ P("div", {
823
828
  ref_key: "fullEl",
824
829
  ref: v,
825
- class: L(["dock-layer dock-layer--full", {
826
- "is-active": J(W) === "full",
827
- "is-leaving": J(te) === "full" || J(ae) === "full" && J(W) !== "full",
828
- "is-press-keepalive": J(ae) === "full"
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"
829
835
  }]),
830
- inert: J(W) !== "full" && J(ae) !== "full" || void 0
831
- }, [K(t.$slots, "default")], 10, Je),
832
- M("div", {
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", {
833
841
  ref_key: "summaryEl",
834
842
  ref: y,
835
- class: L(["dock-layer dock-layer--summary", {
836
- "is-active": J(W) === "summary",
837
- "is-leaving": J(te) === "summary"
843
+ id: `${S}-summary`,
844
+ class: z(["dock-layer dock-layer--summary", {
845
+ "is-active": J(q) === "summary",
846
+ "is-leaving": J(ie) === "summary"
838
847
  }]),
839
- inert: J(W) !== "summary" || void 0,
840
- onClick: i[0] ||= (...e) => J(N) && J(N)(...e)
841
- }, [K(t.$slots, "collapsed")], 10, Ye),
842
- e.search ? (U(), j("div", Xe, [K(t.$slots, "search")])) : A("", !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)
843
859
  ], 512),
844
- t.$slots["persistent-end"] ? (U(), j("div", Ze, [K(t.$slots, "persistent-end")])) : A("", !0)
845
- ])], 16, Ge));
860
+ t.$slots["persistent-end"] ? (U(), N("div", Ye, [K(t.$slots, "persistent-end")])) : M("", !0)
861
+ ])], 16, He));
846
862
  }
847
- }), $e = o(f, "[glass-ui:dock] <DockLayer> must be used inside <DockCrossfade> (or <DockLayerGroup>)"), { KEY: et } = $e;
848
- function tt(e) {
849
- $e.provide(e);
863
+ }), Ze = c("glass-ui:dock-switcher-tablist"), { KEY: Qe } = Ze;
864
+ function $e(e) {
865
+ Ze.provide(e);
850
866
  }
851
- var nt = $e.use;
852
- $e.useOptional;
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);
870
+ }
871
+ var it = tt.use;
872
+ tt.useOptional;
853
873
  //#endregion
854
874
  //#region src/components/dock/DockCrossfade.vue
855
- var rt = /* @__PURE__ */ P({
875
+ var at = /* @__PURE__ */ I({
856
876
  __name: "DockCrossfade",
857
877
  props: {
858
878
  active: {},
859
879
  reserve: { default: "block" }
860
880
  },
861
881
  setup(e, { expose: t }) {
862
- let n = e, r = G(null), i = G(/* @__PURE__ */ new Map()), a = O(() => [...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 }) => ({
863
883
  id: e,
864
884
  label: t,
865
885
  icon: n
@@ -873,15 +893,15 @@ var rt = /* @__PURE__ */ P({
873
893
  let t = new Map(i.value);
874
894
  t.delete(e), i.value = t, p();
875
895
  }
876
- let l = O(() => n.active), u = G(null);
877
- tt({
896
+ let c = A(() => n.active), l = G(null);
897
+ rt({
878
898
  register: o,
879
899
  unregister: s,
880
- activeId: l,
881
- leavingId: u,
900
+ activeId: c,
901
+ leavingId: l,
882
902
  faces: a
883
903
  });
884
- let d = G(0), f = O(() => 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");
885
905
  function p() {
886
906
  let e = 0;
887
907
  for (let { el: t } of i.value.values()) {
@@ -890,84 +910,85 @@ var rt = /* @__PURE__ */ P({
890
910
  }
891
911
  e > d.value && (d.value = e);
892
912
  }
893
- let m = O(() => d.value > 0 ? {
913
+ let m = A(() => d.value > 0 ? {
894
914
  [f.value]: `${d.value}px`,
895
915
  "--dock-crossfade-peak": `${d.value}px`
896
916
  } : void 0);
897
- c(r, () => p());
898
- let g = Le({
899
- response: h.response,
900
- dampingFraction: h.dampingFraction
917
+ _(r, () => p());
918
+ let h = Pe({
919
+ response: u.response,
920
+ dampingFraction: u.dampingFraction
901
921
  });
902
- function _(e) {
922
+ function g(e) {
903
923
  return e ? i.value.get(e)?.el : void 0;
904
924
  }
905
925
  function v(e, t) {
906
- _(e)?.style.setProperty("--dock-t", `${t}`);
926
+ g(e)?.style.setProperty("--dock-t", `${t}`);
907
927
  }
908
928
  function y(e) {
909
- _(e)?.style.removeProperty("--dock-t");
929
+ g(e)?.style.removeProperty("--dock-t");
910
930
  }
911
931
  function b(e) {
912
932
  return e < 0 ? 0 : e > 1 ? 1 : e;
913
933
  }
914
- let x = pe("(prefers-reduced-motion: reduce)"), S = null, C = 1;
915
- X(x, (e) => {
916
- e && (g.dispose(), S?.());
934
+ let x = ge("(prefers-reduced-motion: reduce)"), S = null, C = 1;
935
+ Z(x, (e) => {
936
+ e && (h.dispose(), S?.());
917
937
  });
918
938
  async function w(e, t) {
919
939
  if (typeof document > "u") return;
920
- let n = _(e), r = document.activeElement;
921
- !n || !r || !n.contains(r) || (await I(), (_(t) ?? document.body).focus?.());
940
+ let n = g(e), r = document.activeElement;
941
+ !n || !r || !n.contains(r) || (await R(), (g(t) ?? document.body).focus?.());
922
942
  }
923
- return X(l, (e, t) => {
943
+ return Z(c, (e, t) => {
924
944
  if (e === t) return;
925
945
  p();
926
- let n = _(e), i = _(t);
946
+ let n = g(e), i = g(t);
927
947
  if (!n || !i) {
928
- u.value = null, y(e), C = 1;
948
+ l.value = null, y(e), C = 1;
929
949
  return;
930
950
  }
931
- let a = u.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, l = Number.isFinite(s) ? b(s) : 1;
932
- a && a !== e && a !== t && y(a), u.value = t, v(e, c), v(t, 1 - l), w(t, e), r.value?.setAttribute("data-crossfading", "");
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", "");
933
953
  let d = () => {
934
- y(e), y(t), r.value?.removeAttribute("data-crossfading"), u.value = null, C = 1, S === d && (S = null);
954
+ y(e), y(t), r.value?.removeAttribute("data-crossfading"), l.value = null, C = 1, S === d && (S = null);
935
955
  };
936
956
  if (S = d, x.value) {
937
957
  d();
938
958
  return;
939
959
  }
940
- let f = l > .001 ? -C / l : 0;
941
- C = 1 - c, g.playTo(0, 1, {
960
+ let f = u > .001 ? -C / u : 0;
961
+ C = 1 - c, h.playTo(0, 1, {
942
962
  inheritVelocityScale: f,
943
963
  onFrame: (n) => {
944
- v(e, b(c + (1 - c) * n)), v(t, b(1 - l * (1 - n)));
964
+ v(e, b(c + (1 - c) * n)), v(t, b(1 - u * (1 - n)));
945
965
  },
946
966
  onSettle: d
947
967
  });
948
- }), z(() => {
949
- g.dispose(), S = null;
950
- }), t({ faces: a }), (e, t) => (U(), j("div", {
968
+ }), te(() => {
969
+ h.dispose(), S = null;
970
+ }), t({ faces: a }), (e, t) => (U(), N("div", {
951
971
  ref_key: "rootEl",
952
972
  ref: r,
953
973
  class: "dock-crossfade",
954
- style: R(m.value)
974
+ style: B(m.value)
955
975
  }, [K(e.$slots, "default")], 4));
956
976
  }
957
- }), it = ["data-motion"], at = ["aria-orientation"], ot = [
977
+ }), ot = ["data-motion"], st = ["aria-orientation"], ct = [
978
+ "id",
958
979
  "tabindex",
959
- "title",
980
+ "aria-controls",
960
981
  "aria-label",
961
982
  "onClick"
962
- ], st = { key: 1 }, ct = { key: 2 }, lt = /* @__PURE__ */ P({
983
+ ], lt = { key: 1 }, ut = { key: 2 }, dt = /* @__PURE__ */ I({
963
984
  __name: "DockLayerGroup",
964
985
  props: /*@__PURE__*/ ee({
965
986
  orientation: {},
966
- showRail: {
987
+ showSwitcher: {
967
988
  type: Boolean,
968
989
  default: !0
969
990
  },
970
- railPosition: { default: "start" },
991
+ switcherPosition: { default: "start" },
971
992
  motion: {}
972
993
  }, {
973
994
  active: { required: !0 },
@@ -975,109 +996,117 @@ var rt = /* @__PURE__ */ P({
975
996
  }),
976
997
  emits: ["update:active"],
977
998
  setup(e) {
978
- let t = e, n = s(() => t.motion), r = ie(e, "active"), i = p(), a = O(() => t.orientation ?? i?.orientation.value ?? "horizontal"), o = Y("crossfade"), c = O(() => o.value?.faces ?? []), l = O(() => a.value === "vertical" ? "horizontal" : "vertical"), u = O(() => l.value === "vertical"), d = G(null), f = G(null), m = G([]), h = C({
979
- options: O(() => 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 }))),
980
1001
  model: r,
981
1002
  mode: "single",
982
1003
  role: "tablist",
983
1004
  vertical: u,
984
1005
  containerRef: d,
985
1006
  indicatorRef: f,
986
- buttonRefs: m
987
- }), g = O(() => u.value ? "y" : "x");
988
- 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() {
989
1016
  let e = d.value;
990
1017
  if (!e) return [];
991
1018
  let t = Array.from(e.querySelectorAll(".dock-layer-tab"));
992
1019
  return c.value.map((e, n) => {
993
- 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;
994
1021
  return {
995
1022
  value: e.id,
996
1023
  center: i
997
1024
  };
998
1025
  });
999
1026
  }
1000
- let y = v({
1027
+ let E = C({
1001
1028
  handle: d,
1002
1029
  surface: f,
1003
- axis: () => g.value,
1004
- snapTargets: _,
1030
+ axis: () => w.value,
1031
+ snapTargets: T,
1005
1032
  onSnap: (e) => {
1006
1033
  n.armed.value && r.value !== e && (r.value = e);
1007
1034
  }
1008
1035
  });
1009
- X(() => [
1036
+ Z(() => [
1010
1037
  c.value.length,
1011
1038
  l.value,
1012
1039
  n.armed.value
1013
1040
  ], () => {
1014
- n.armed.value && I(() => y.refresh());
1015
- }), B(() => {
1016
- n.armed.value && I(() => y.refresh());
1041
+ n.armed.value && R(() => E.refresh());
1042
+ }), V(() => {
1043
+ n.armed.value && R(() => E.refresh());
1017
1044
  });
1018
- function b(e) {
1045
+ function D(e) {
1019
1046
  return typeof e == "object" && !!e || typeof e == "function";
1020
1047
  }
1021
- let x = G(!1);
1022
- function S() {
1023
- x.value || (x.value = !0, i?.keepOpen());
1048
+ let O = p(() => i);
1049
+ function I() {
1050
+ O.acquire();
1024
1051
  }
1025
- function w(e) {
1052
+ function ee(e) {
1026
1053
  let t = e.relatedTarget, n = e.currentTarget;
1027
- t && n?.contains(t) || x.value && (x.value = !1, i?.release());
1054
+ t && n?.contains(t) || O.release();
1028
1055
  }
1029
- return z(() => {
1030
- x.value && i?.release();
1031
- }), (t, i) => (U(), j("div", {
1032
- class: L(["dock-layer-group", [a.value, `rail-${e.railPosition}`]]),
1056
+ return (t, i) => (U(), N("div", {
1057
+ class: z(["dock-layer-group", [a.value, `switcher-${e.switcherPosition}`]]),
1033
1058
  "data-motion": J(n).dataMotion.value,
1034
- style: R(J(n).hostStyle.value)
1035
- }, [e.showRail && c.value.length > 1 ? (U(), j("div", {
1059
+ style: B(J(n).hostStyle.value)
1060
+ }, [_.value ? (U(), N("div", {
1036
1061
  key: 0,
1037
- ref_key: "railListEl",
1062
+ ref_key: "switcherListEl",
1038
1063
  ref: d,
1039
1064
  role: "tablist",
1040
- class: L(["dock-layer-rail", [e.railPosition, J(n).armed.value && "glass-drag-grabbable"]]),
1065
+ class: z(["dock-layer-switcher", [e.switcherPosition, J(n).armed.value && "glass-drag-grabbable"]]),
1041
1066
  "aria-orientation": l.value,
1042
- onKeydown: i[0] ||= (...e) => J(h).onKeydown && J(h).onKeydown(...e),
1043
- onFocusin: S,
1044
- onFocusout: w
1045
- }, [(U(!0), j(D, null, te(c.value, (e, t) => (U(), j("button", F({
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({
1046
1071
  key: e.id,
1047
1072
  ref_for: !0,
1048
1073
  ref: (e) => {
1049
- e && (m.value[t] = e);
1074
+ e && (h.value[t] = e);
1050
1075
  },
1051
1076
  type: "button",
1052
1077
  class: "dock-layer-tab",
1053
- tabindex: J(h).rovingTabindex(t)
1054
- }, { ref_for: !0 }, J(h).itemAttrs(e.id), {
1055
- 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),
1056
1082
  "aria-label": e.label ?? e.id,
1057
- onClick: (n) => J(h).select(e.id, t)
1058
- }), [b(e.icon) ? (U(), k(ne(e.icon), {
1083
+ onClick: (n) => J(g).select(e.id, t)
1084
+ }), [D(e.icon) ? (U(), j(q(e.icon), {
1059
1085
  key: 0,
1060
1086
  class: "size-4"
1061
- })) : typeof e.icon == "string" ? (U(), j("span", st, q(e.icon), 1)) : (U(), j("span", ct, q((e.label ?? e.id).charAt(0)), 1))], 16, ot))), 128)), M("div", {
1062
- 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",
1063
1089
  ref: f,
1064
- class: L(["dock-layer-tab-indicator", J(n).armed.value && J(y).dragging.value && "glass-drag-lift"]),
1065
- style: R(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),
1066
1092
  "aria-hidden": "true"
1067
- }, null, 6)], 42, at)) : A("", !0), N(rt, {
1093
+ }, null, 6)], 42, st)) : M("", !0), F(at, {
1068
1094
  ref_key: "crossfade",
1069
- ref: o,
1095
+ ref: s,
1070
1096
  active: r.value
1071
1097
  }, {
1072
- default: Z(() => [K(t.$slots, "default")]),
1098
+ default: Q(() => [K(t.$slots, "default")]),
1073
1099
  _: 3
1074
- }, 8, ["active"])], 14, it));
1100
+ }, 8, ["active"])], 14, ot));
1075
1101
  }
1076
- }), ut = [
1102
+ }), ft = [
1103
+ "role",
1104
+ "id",
1105
+ "aria-labelledby",
1077
1106
  "inert",
1078
1107
  "aria-hidden",
1079
1108
  "tabindex"
1080
- ], dt = { class: "dock-face-content" }, ft = /* @__PURE__ */ P({
1109
+ ], pt = { class: "dock-face-content" }, mt = /* @__PURE__ */ I({
1081
1110
  __name: "DockLayer",
1082
1111
  props: {
1083
1112
  id: {},
@@ -1085,15 +1114,15 @@ var rt = /* @__PURE__ */ P({
1085
1114
  icon: {}
1086
1115
  },
1087
1116
  setup(e) {
1088
- let t = e, n = nt(), r = Y("hostEl");
1089
- B(() => {
1117
+ let t = e, n = it(), r = X("hostEl");
1118
+ V(() => {
1090
1119
  r.value && n.register({
1091
1120
  id: t.id,
1092
1121
  label: t.label,
1093
1122
  icon: t.icon,
1094
1123
  el: r.value
1095
1124
  });
1096
- }), X(() => [
1125
+ }), Z(() => [
1097
1126
  t.id,
1098
1127
  t.label,
1099
1128
  t.icon
@@ -1104,21 +1133,24 @@ var rt = /* @__PURE__ */ P({
1104
1133
  icon: t.icon,
1105
1134
  el: r.value
1106
1135
  });
1107
- }), z(() => n.unregister(t.id));
1108
- let i = O(() => n.activeId.value === t.id), a = O(() => n.leavingId.value === t.id);
1109
- return (e, t) => (U(), j("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", {
1110
1139
  ref_key: "hostEl",
1111
1140
  ref: r,
1112
- class: L(["dock-face", {
1141
+ class: z(["dock-face", {
1113
1142
  "is-active": i.value,
1114
1143
  "is-leaving": a.value
1115
1144
  }]),
1145
+ role: s.value ? "tabpanel" : void 0,
1146
+ id: c.value,
1147
+ "aria-labelledby": l.value,
1116
1148
  inert: !i.value || void 0,
1117
1149
  "aria-hidden": !i.value || void 0,
1118
1150
  tabindex: i.value ? -1 : void 0
1119
- }, [M("div", dt, [K(e.$slots, "default")])], 10, ut));
1151
+ }, [P("div", pt, [K(e.$slots, "default")])], 10, ft));
1120
1152
  }
1121
- }), pt = /* @__PURE__ */ P({
1153
+ }), ht = /* @__PURE__ */ I({
1122
1154
  __name: "DockControl",
1123
1155
  props: {
1124
1156
  shape: { default: "icon" },
@@ -1128,7 +1160,7 @@ var rt = /* @__PURE__ */ P({
1128
1160
  },
1129
1161
  active: {
1130
1162
  type: Boolean,
1131
- default: !1
1163
+ default: void 0
1132
1164
  },
1133
1165
  type: { default: "button" },
1134
1166
  disabled: {
@@ -1149,16 +1181,13 @@ var rt = /* @__PURE__ */ P({
1149
1181
  ] }
1150
1182
  },
1151
1183
  setup(t) {
1152
- let r = t, o = O(() => r.shape === "tab"), s = O(() => 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 = O(() => ({
1153
- ...r.active ? {
1154
- "aria-pressed": "true",
1155
- "data-active": ""
1156
- } : {},
1157
- ...r.disabled ? {
1158
- ...r.as === "button" && !r.asChild ? { disabled: !0 } : {},
1159
- "aria-disabled": "true"
1160
- } : {}
1161
- })), l = O(() => !r.asChild && r.as === "button" ? { type: r.type } : {}), u = i("press"), d = a({
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({
1162
1191
  disabled: () => r.disabled || o.value,
1163
1192
  squish: !0,
1164
1193
  response: u.response,
@@ -1166,11 +1195,11 @@ var rt = /* @__PURE__ */ P({
1166
1195
  pressVar: "--dock-press-t",
1167
1196
  shrinkDepth: .04,
1168
1197
  maxStretch: 1.03
1169
- }), f = O(() => o.value ? {} : { ...d.pressStyle.value });
1198
+ }), f = A(() => o.value ? {} : { ...d.pressStyle.value });
1170
1199
  function p(e) {
1171
1200
  r.disabled && (e.preventDefault(), e.stopImmediatePropagation());
1172
1201
  }
1173
- return (e, r) => Q((U(), k(J(oe), F({
1202
+ return (e, r) => oe((U(), j(J(le), L({
1174
1203
  as: t.as,
1175
1204
  "as-child": t.asChild
1176
1205
  }, {
@@ -1190,7 +1219,7 @@ var rt = /* @__PURE__ */ P({
1190
1219
  onBlur: J(d).handlers.onBlur,
1191
1220
  onClickCapture: p
1192
1221
  }), {
1193
- default: Z(() => [K(e.$slots, "default")]),
1222
+ default: Q(() => [K(e.$slots, "default")]),
1194
1223
  _: 3
1195
1224
  }, 16, [
1196
1225
  "as",
@@ -1208,7 +1237,7 @@ var rt = /* @__PURE__ */ P({
1208
1237
  "onBlur"
1209
1238
  ])), [[J(n)]]);
1210
1239
  }
1211
- }), mt = /* @__PURE__ */ P({
1240
+ }), gt = /* @__PURE__ */ I({
1212
1241
  inheritAttrs: !1,
1213
1242
  __name: "DockTrigger",
1214
1243
  props: {
@@ -1222,28 +1251,28 @@ var rt = /* @__PURE__ */ P({
1222
1251
  ] }
1223
1252
  },
1224
1253
  setup(t) {
1225
- let r = t, i = O(() => e("dock-trigger", r.for === "select" && "dock-select-trigger", r.for !== "select" && "dock-dropdown-trigger", r.class));
1226
- return (e, t) => r.for === "select" ? Q((U(), k(J(ce), F({ key: 0 }, e.$attrs, { class: i.value }), {
1227
- default: Z(() => [K(e.$slots, "default"), N(J(se), { "as-child": "" }, {
1228
- default: Z(() => [K(e.$slots, "icon", {}, () => [N(J(le), {
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), {
1229
1258
  class: "dock-select-trigger__chevron",
1230
1259
  "aria-hidden": "true"
1231
1260
  })])]),
1232
1261
  _: 3
1233
1262
  })]),
1234
1263
  _: 3
1235
- }, 16, ["class"])), [[J(n)]]) : r.for === "dropdown" ? Q((U(), k(d, F({ key: 1 }, e.$attrs, {
1264
+ }, 16, ["class"])), [[J(n)]]) : r.for === "dropdown" ? oe((U(), j(x, L({ key: 1 }, e.$attrs, {
1236
1265
  action: "pointerdown",
1237
1266
  class: i.value
1238
1267
  }), {
1239
- default: Z(() => [K(e.$slots, "default")]),
1268
+ default: Q(() => [K(e.$slots, "default")]),
1240
1269
  _: 3
1241
- }, 16, ["class"])), [[J(n)]]) : Q((U(), k(J(ae), F({ key: 2 }, e.$attrs, { class: i.value }), {
1242
- 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")]),
1243
1272
  _: 3
1244
1273
  }, 16, ["class"])), [[J(n)]]);
1245
1274
  }
1246
- }), ht = /* @__PURE__ */ P({
1275
+ }), _t = /* @__PURE__ */ I({
1247
1276
  __name: "DockBackgroundToggle",
1248
1277
  props: {
1249
1278
  paused: {
@@ -1255,23 +1284,22 @@ var rt = /* @__PURE__ */ P({
1255
1284
  },
1256
1285
  emits: ["update:paused"],
1257
1286
  setup(e, { emit: t }) {
1258
- let n = e, r = t, i = O(() => n.paused ? n.playLabel : n.pauseLabel);
1287
+ let n = e, r = t, i = A(() => n.paused ? n.playLabel : n.pauseLabel);
1259
1288
  function a() {
1260
1289
  r("update:paused", !n.paused);
1261
1290
  }
1262
- return (t, n) => (U(), k(pt, {
1291
+ return (t, n) => (U(), j(ht, {
1263
1292
  type: "button",
1264
1293
  active: e.paused,
1265
1294
  "aria-pressed": e.paused,
1266
1295
  "aria-label": i.value,
1267
- title: i.value,
1268
1296
  onClick: a
1269
1297
  }, {
1270
- default: Z(() => [e.paused ? (U(), k(J(de), {
1298
+ default: Q(() => [e.paused ? (U(), j(J(me), {
1271
1299
  key: 0,
1272
1300
  size: 18,
1273
1301
  "aria-hidden": "true"
1274
- })) : (U(), k(J(ue), {
1302
+ })) : (U(), j(J(pe), {
1275
1303
  key: 1,
1276
1304
  size: 18,
1277
1305
  "aria-hidden": "true"
@@ -1280,40 +1308,39 @@ var rt = /* @__PURE__ */ P({
1280
1308
  }, 8, [
1281
1309
  "active",
1282
1310
  "aria-pressed",
1283
- "aria-label",
1284
- "title"
1311
+ "aria-label"
1285
1312
  ]));
1286
1313
  }
1287
- }), gt = [
1314
+ }), vt = [
1288
1315
  "data-orientation",
1289
- "data-rail-anchor",
1316
+ "data-dock-hairline",
1290
1317
  "aria-orientation"
1291
- ], _t = /* @__PURE__ */ P({
1318
+ ], yt = /* @__PURE__ */ I({
1292
1319
  __name: "DockSeparator",
1293
1320
  props: { anchor: {
1294
1321
  type: Boolean,
1295
1322
  default: !1
1296
1323
  } },
1297
1324
  setup(e) {
1298
- let t = p(), n = O(() => t?.orientation.value ?? "horizontal"), r = O(() => n.value), i = O(() => n.value === "vertical" ? "horizontal" : "vertical");
1299
- return (t, n) => (U(), j("div", {
1300
- class: L(["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 }]),
1301
1328
  role: "separator",
1302
1329
  "data-orientation": r.value,
1303
- "data-rail-anchor": e.anchor || void 0,
1330
+ "data-dock-hairline": e.anchor || void 0,
1304
1331
  "aria-orientation": i.value
1305
- }, null, 10, gt));
1332
+ }, null, 10, vt));
1306
1333
  }
1307
1334
  });
1308
1335
  //#endregion
1309
1336
  //#region src/components/dock/composables/useDockSearch.ts
1310
- function vt(e) {
1337
+ function bt(e) {
1311
1338
  let { dockState: t } = e, n = e.debounceMs ?? 120, r = e.maxResults ?? 30, i = G([]), a = null, o = e.items ? e.items : () => i.value;
1312
1339
  function s(t) {
1313
1340
  let n = t.item.id;
1314
1341
  e.ensureTargetWindow?.(n), e.scrollTo?.(n), e.onResultSelect?.(t);
1315
1342
  }
1316
- let c = E({
1343
+ let c = O({
1317
1344
  items: o,
1318
1345
  debounceMs: n,
1319
1346
  maxResults: r,
@@ -1321,7 +1348,7 @@ function vt(e) {
1321
1348
  });
1322
1349
  if (e.onSearch) {
1323
1350
  let t = e.onSearch;
1324
- X(() => c.query.value, (e) => {
1351
+ Z(() => c.query.value, (e) => {
1325
1352
  if (a?.abort(), !e) {
1326
1353
  i.value = [];
1327
1354
  return;
@@ -1334,7 +1361,7 @@ function vt(e) {
1334
1361
  });
1335
1362
  });
1336
1363
  }
1337
- let l = O(() => {
1364
+ let l = A(() => {
1338
1365
  let e = c.query.value;
1339
1366
  if (!e) return "";
1340
1367
  let t = c.results.value[0];
@@ -1346,28 +1373,28 @@ function vt(e) {
1346
1373
  let e = l.value;
1347
1374
  e && (c.query.value = c.query.value + e);
1348
1375
  }
1349
- let d = G(!1);
1350
- function f() {
1351
- d.value || (d.value = !0, t.expand(), t.keepOpen(), c.open());
1376
+ let d = p(() => t), f = d.isHeld;
1377
+ function m() {
1378
+ f.value || (t.expand(), d.acquire(), c.open());
1352
1379
  }
1353
- function p() {
1354
- d.value && (d.value = !1, c.close(), t.release());
1380
+ function h() {
1381
+ f.value && (c.close(), d.release());
1355
1382
  }
1356
- let m = null;
1357
- return e.collapseOnScroll && e.scrollContainer && (m = S(e.scrollContainer, {
1383
+ let g = null;
1384
+ return e.collapseOnScroll && e.scrollContainer && (g = E(e.scrollContainer, {
1358
1385
  collapseOnScroll: !0,
1359
1386
  chromeRef: e.chromeRef
1360
- })), V(() => {
1361
- d.value && t.release(), a?.abort(), a = null;
1387
+ })), ne(() => {
1388
+ a?.abort(), a = null;
1362
1389
  }), {
1363
1390
  fuzzy: c,
1364
1391
  autocompleteText: l,
1365
- scrollChrome: m,
1366
- armSearch: f,
1367
- disarmSearch: p,
1392
+ scrollChrome: g,
1393
+ armSearch: m,
1394
+ disarmSearch: h,
1368
1395
  acceptAutocomplete: u,
1369
- isSearchArmed: d
1396
+ isSearchArmed: f
1370
1397
  };
1371
1398
  }
1372
1399
  //#endregion
1373
- export { _ as DOCK_CONTEXT_KEY, ht as DockBackgroundToggle, pt as DockControl, rt as DockCrossfade, ft as DockLayer, lt as DockLayerGroup, _t as DockSeparator, mt as DockTrigger, Qe as GlassDock, m as provideDockContext, g as useDockContext, y as useDockCtaReceive, vt as useDockSearch, p 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 };