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