@mkbabb/glass-ui 6.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 (910) hide show
  1. package/README.md +36 -34
  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-BoTQ7g5l.js → PagerDots-BEq0MgtH.js} +85 -81
  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 +831 -776
  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.js +1 -1
  15. package/dist/blob.js +442 -395
  16. package/dist/button-Bu9F4uU6.js +98 -0
  17. package/dist/button.js +2 -2
  18. package/dist/canvas.js +1 -1
  19. package/dist/card-Bk96VI2R.js +234 -0
  20. package/dist/card.js +2 -2
  21. package/dist/carousel.js +109 -169
  22. package/dist/chip-DFZQr6rV.js +129 -0
  23. package/dist/chip.js +2 -81
  24. package/dist/{class-names-5jotTFzp.js → class-names-Cpy5eaBk.js} +11 -4
  25. package/dist/collapsible-BAP95XTt.js +154 -0
  26. package/dist/collapsible.js +1 -1
  27. package/dist/color.js +46 -50
  28. package/dist/{procedural-color.wgsl-B9mLK7v0.js → color.wgsl-Ct5o9dpf.js} +155 -121
  29. package/dist/command-SFqDQ65h.js +320 -0
  30. package/dist/command.js +1 -1
  31. package/dist/completion-seal.js +54 -54
  32. package/dist/components/_shared/FeedbackMark.vue.d.ts +11 -0
  33. package/dist/components/_shared/axes.d.ts +9 -3
  34. package/dist/components/_shared/class-names.d.ts +9 -8
  35. package/dist/components/_shared/control-size.d.ts +2 -0
  36. package/dist/components/_shared/disclosure-context.d.ts +7 -0
  37. package/dist/components/_shared/disclosure.css +1 -0
  38. package/dist/components/_shared/feedback.d.ts +7 -0
  39. package/dist/components/_shared/field-control.css +1 -0
  40. package/dist/components/_shared/field-surfaces.css +1 -1
  41. package/dist/components/_shared/fieldControl.d.ts +13 -0
  42. package/dist/components/_shared/floating.d.ts +14 -0
  43. package/dist/components/_shared/index.d.ts +2 -6
  44. package/dist/components/_shared/interaction.d.ts +23 -0
  45. package/dist/components/_shared/menu.css +1 -1
  46. package/dist/components/_shared/menuRowClass.d.ts +2 -0
  47. package/dist/components/_shared/primitive.d.ts +19 -0
  48. package/dist/components/_shared/resolveSurfaceClass.d.ts +3 -0
  49. package/dist/components/_shared/selection.d.ts +7 -0
  50. package/dist/components/_shared/useMotionAxis.d.ts +3 -2
  51. package/dist/components/accordion/Accordion.vue.d.ts +41 -16
  52. package/dist/components/accordion/AccordionContent.vue.d.ts +11 -9
  53. package/dist/components/accordion/AccordionItem.vue.d.ts +12 -9
  54. package/dist/components/accordion/AccordionTrigger.vue.d.ts +8 -11
  55. package/dist/components/accordion/index.d.ts +4 -4
  56. package/dist/components/alert/Alert.vue.d.ts +9 -5
  57. package/dist/components/alert/index.d.ts +17 -8
  58. package/dist/components/animated-digit/AnimatedDigit.vue.d.ts +2 -3
  59. package/dist/components/aurora/Aurora.vue.d.ts +37 -42
  60. package/dist/components/aurora/composables/atoms-fields.d.ts +13 -2
  61. package/dist/components/aurora/composables/atoms.d.ts +52 -50
  62. package/dist/components/aurora/composables/auroraFallbackGround.d.ts +13 -13
  63. package/dist/components/aurora/composables/auroraImageSource.d.ts +4 -5
  64. package/dist/components/aurora/composables/color.d.ts +15 -20
  65. package/dist/components/aurora/composables/frameLoop.d.ts +14 -11
  66. package/dist/components/aurora/composables/glSetup.d.ts +19 -2
  67. package/dist/components/aurora/composables/runtime.d.ts +56 -60
  68. package/dist/components/aurora/composables/uniformBridge.d.ts +9 -14
  69. package/dist/components/aurora/composables/uniformBridgeWGPU.d.ts +21 -22
  70. package/dist/components/aurora/composables/uniformBridgeWGPUImage.d.ts +13 -13
  71. package/dist/components/aurora/composables/useAurora.d.ts +19 -30
  72. package/dist/components/aurora/composables/wgpuSetup.d.ts +10 -8
  73. package/dist/components/aurora/constants/budget.d.ts +12 -25
  74. package/dist/components/aurora/constants/presets.d.ts +47 -58
  75. package/dist/components/aurora/constants/renderMode.d.ts +21 -36
  76. package/dist/components/aurora/constants/shaders/aurora-image.wgsl.d.ts +1 -1
  77. package/dist/components/aurora/constants/shaders/aurora-mediums.wgsl.d.ts +1 -1
  78. package/dist/components/aurora/constants/shaders/aurora.wgsl.d.ts +1 -1
  79. package/dist/components/aurora/constants/shaders/brush.glsl.d.ts +1 -1
  80. package/dist/components/aurora/constants/shaders/composition.glsl.d.ts +1 -1
  81. package/dist/components/aurora/constants/shaders/flow.glsl.d.ts +1 -1
  82. package/dist/components/aurora/constants/shaders/metal-medium.glsl.d.ts +2 -2
  83. package/dist/components/aurora/constants/shaders/oil-modes.glsl.d.ts +1 -1
  84. package/dist/components/aurora/constants/shaders/vangogh-medium.glsl.d.ts +1 -1
  85. package/dist/components/aurora/index.d.ts +2 -1
  86. package/dist/components/avatar/Avatar.vue.d.ts +72 -11
  87. package/dist/components/avatar/AvatarFallback.vue.d.ts +1 -2
  88. package/dist/components/avatar/AvatarImage.vue.d.ts +12 -8
  89. package/dist/components/avatar/index.d.ts +3 -9
  90. package/dist/components/avatar/styles.css +1 -0
  91. package/dist/components/badge/Badge.vue.d.ts +2 -9
  92. package/dist/components/badge/index.d.ts +32 -9
  93. package/dist/components/blob/Blob.vue.d.ts +5 -12
  94. package/dist/components/blob/composables/blobSimulation.d.ts +80 -0
  95. package/dist/components/blob/composables/buildMetaballProgram.d.ts +1 -1
  96. package/dist/components/blob/composables/resolveBlobSurface.d.ts +6 -0
  97. package/dist/components/blob/composables/satelliteKinematics.d.ts +3 -3
  98. package/dist/components/blob/composables/uniformBridgeWGPU.d.ts +1 -1
  99. package/dist/components/blob/composables/uploadBlobUniforms.d.ts +4 -31
  100. package/dist/components/blob/composables/useBlobMood.d.ts +5 -5
  101. package/dist/components/blob/composables/useBlobPointer.d.ts +11 -12
  102. package/dist/components/blob/composables/useMetaballRenderer.d.ts +27 -24
  103. package/dist/components/blob/composables/wgpuSetup.d.ts +7 -5
  104. package/dist/components/blob/config.d.ts +1 -1
  105. package/dist/components/blob/index.d.ts +2 -2
  106. package/dist/components/blob/presets.d.ts +2 -2
  107. package/dist/components/blob/shaders/metaball-palette.wgsl.d.ts +1 -1
  108. package/dist/components/blob/shaders/metaball-uniforms.glsl.d.ts +1 -1
  109. package/dist/components/blob/shaders/metaball.wgsl.d.ts +1 -1
  110. package/dist/components/blob/shaders/sdf-body.glsl.d.ts +1 -1
  111. package/dist/components/blob/shaders/watercolor-edges.glsl.d.ts +1 -1
  112. package/dist/components/blob/types.d.ts +28 -60
  113. package/dist/components/button/Button.vue.d.ts +26 -20
  114. package/dist/components/button/index.d.ts +1 -9
  115. package/dist/components/button/styles.css +1 -0
  116. package/dist/components/card/Card.vue.d.ts +20 -155
  117. package/dist/components/card/CardAction.vue.d.ts +0 -7
  118. package/dist/components/card/CardContent.vue.d.ts +2 -2
  119. package/dist/components/card/CardDescription.vue.d.ts +2 -2
  120. package/dist/components/card/CardFooter.vue.d.ts +2 -2
  121. package/dist/components/card/CardHeader.vue.d.ts +3 -42
  122. package/dist/components/card/CardTitle.vue.d.ts +6 -3
  123. package/dist/components/card/card-scroll.css +1 -1
  124. package/dist/components/card/index.d.ts +1 -3
  125. package/dist/components/card/styles.css +1 -1
  126. package/dist/components/carousel/index.d.ts +0 -2
  127. package/dist/components/carousel/interface.d.ts +2 -0
  128. package/dist/components/checkbox/Checkbox.vue.d.ts +17 -9
  129. package/dist/components/checkbox/index.d.ts +1 -1
  130. package/dist/components/checkbox/styles.css +1 -0
  131. package/dist/components/chip/Chip.vue.d.ts +12 -7
  132. package/dist/components/chip/chipVariants.d.ts +20 -43
  133. package/dist/components/chip/index.d.ts +1 -1
  134. package/dist/components/chip/types.d.ts +45 -30
  135. package/dist/components/collapsible/Collapsible.vue.d.ts +22 -9
  136. package/dist/components/collapsible/CollapsibleContent.vue.d.ts +11 -5
  137. package/dist/components/collapsible/CollapsibleTrigger.vue.d.ts +12 -9
  138. package/dist/components/collapsible/index.d.ts +3 -3
  139. package/dist/components/combobox/Combobox.vue.d.ts +10 -20
  140. package/dist/components/combobox/ComboboxAnchor.vue.d.ts +2 -6
  141. package/dist/components/combobox/ComboboxEmpty.vue.d.ts +2 -6
  142. package/dist/components/combobox/ComboboxGroup.vue.d.ts +2 -7
  143. package/dist/components/combobox/ComboboxInput.vue.d.ts +7 -12
  144. package/dist/components/combobox/ComboboxItem.vue.d.ts +7 -11
  145. package/dist/components/combobox/ComboboxItemIndicator.vue.d.ts +2 -6
  146. package/dist/components/combobox/ComboboxList.vue.d.ts +14 -17
  147. package/dist/components/combobox/ComboboxTrigger.vue.d.ts +16 -0
  148. package/dist/components/combobox/index.d.ts +2 -1
  149. package/dist/components/combobox/types.d.ts +87 -0
  150. package/dist/components/command/Command.vue.d.ts +9 -23
  151. package/dist/components/command/CommandDialog.vue.d.ts +4 -9
  152. package/dist/components/command/CommandEmpty.vue.d.ts +2 -6
  153. package/dist/components/command/CommandGroup.vue.d.ts +2 -7
  154. package/dist/components/command/CommandInput.vue.d.ts +6 -7
  155. package/dist/components/command/CommandItem.vue.d.ts +7 -11
  156. package/dist/components/command/CommandList.vue.d.ts +12 -19
  157. package/dist/components/command/CommandSeparator.vue.d.ts +2 -6
  158. package/dist/components/command/CommandShortcut.vue.d.ts +2 -2
  159. package/dist/components/command/dialogContext.d.ts +6 -0
  160. package/dist/components/command/index.d.ts +10 -10
  161. package/dist/components/command/styles.css +1 -0
  162. package/dist/components/command/types.d.ts +27 -0
  163. package/dist/components/completion-seal/CompletionSeal.vue.d.ts +2 -2
  164. package/dist/components/completion-seal/constants.d.ts +2 -2
  165. package/dist/components/configurator/Configurator.vue.d.ts +6 -6
  166. package/dist/components/configurator/ConfiguratorLayer.vue.d.ts +14 -18
  167. package/dist/components/configurator/ConfiguratorRow.vue.d.ts +14 -17
  168. package/dist/components/configurator/size.d.ts +5 -7
  169. package/dist/components/configurator/styles.css +1 -1
  170. package/dist/components/constellation/Constellation.vue.d.ts +1 -1
  171. package/dist/components/constellation/composables/createConstellationField.d.ts +2 -2
  172. package/dist/components/constellation/constants.d.ts +8 -8
  173. package/dist/components/constellation/constellationField.d.ts +5 -6
  174. package/dist/components/constellation/constellationInteraction.d.ts +8 -8
  175. package/dist/components/constellation/constellationTypes.d.ts +53 -54
  176. package/dist/components/constellation/constellationWell.d.ts +2 -2
  177. package/dist/components/dark-mode-toggle/DarkModeToggle.vue.d.ts +12 -0
  178. package/dist/components/dark-mode-toggle/dark-mode-toggle.css +1 -0
  179. package/dist/components/dark-mode-toggle/index.d.ts +2 -0
  180. package/dist/components/data-table/DataTable.vue.d.ts +11 -59
  181. package/dist/components/data-table/composables/useDataTableRowIdentity.d.ts +5 -23
  182. package/dist/components/data-table/index.d.ts +1 -1
  183. package/dist/components/data-table/styles.css +1 -0
  184. package/dist/components/data-table/types.d.ts +10 -12
  185. package/dist/components/deck/index.d.ts +0 -1
  186. package/dist/components/dialog/Dialog.vue.d.ts +8 -3
  187. package/dist/components/dialog/DialogClose.vue.d.ts +3 -1
  188. package/dist/components/dialog/DialogContent.vue.d.ts +27 -90
  189. package/dist/components/dialog/DialogDescription.vue.d.ts +5 -6
  190. package/dist/components/dialog/DialogTitle.vue.d.ts +5 -6
  191. package/dist/components/dialog/DialogTrigger.vue.d.ts +3 -1
  192. package/dist/components/{_shared → dialog}/ModalOverlay.vue.d.ts +18 -16
  193. package/dist/components/dialog/dialogStageContext.d.ts +7 -0
  194. package/dist/components/dialog/index.d.ts +8 -8
  195. package/dist/components/dialog/placement.css +1 -1
  196. package/dist/components/dialog/sheet-motion.d.ts +17 -0
  197. package/dist/components/dock/DockControl.vue.d.ts +9 -12
  198. package/dist/components/dock/DockCrossfade.vue.d.ts +4 -8
  199. package/dist/components/dock/DockLayer.vue.d.ts +2 -3
  200. package/dist/components/dock/DockLayerGroup.vue.d.ts +6 -6
  201. package/dist/components/dock/DockSeparator.vue.d.ts +8 -8
  202. package/dist/components/dock/composables/dockContext.d.ts +4 -14
  203. package/dist/components/dock/composables/dockCrossfadeContext.d.ts +6 -7
  204. package/dist/components/dock/composables/dockMorphMeasure.d.ts +7 -86
  205. package/dist/components/dock/composables/index.d.ts +1 -1
  206. package/dist/components/dock/composables/useDockClickIntegrity.d.ts +1 -1
  207. package/dist/components/dock/composables/useDockHold.d.ts +4 -5
  208. package/dist/components/dock/composables/useDockMorph.d.ts +26 -0
  209. package/dist/components/dock/composables/useDockOverflowFit.d.ts +4 -6
  210. package/dist/components/dock/composables/useDockSearch.d.ts +8 -8
  211. package/dist/components/dock/composables/useDockShellProps.d.ts +46 -43
  212. package/dist/components/dock/composables/useDockSpring.d.ts +7 -11
  213. package/dist/components/dock/composables/useDockState.d.ts +12 -3
  214. package/dist/components/dock/composables/useDockTouchGate.d.ts +14 -23
  215. package/dist/components/dock/constants.d.ts +5 -78
  216. package/dist/components/dock/index.d.ts +2 -7
  217. package/dist/components/dock/styles/controls.css +1 -1
  218. package/dist/components/dock/styles/crossfade.css +1 -1
  219. package/dist/components/dock/styles/density.css +1 -1
  220. package/dist/components/dock/styles/index.css +1 -1
  221. package/dist/components/dock/styles/layer-group.css +1 -1
  222. package/dist/components/dock/styles/layers.css +1 -1
  223. package/dist/components/dock/styles/morph.css +1 -1
  224. package/dist/components/dock/styles/shape.css +1 -1
  225. package/dist/components/dock/styles/shell.css +1 -1
  226. package/dist/components/drawer/Drawer.vue.d.ts +17 -20
  227. package/dist/components/drawer/DrawerContent.vue.d.ts +15 -16
  228. package/dist/components/drawer/DrawerDescription.vue.d.ts +5 -6
  229. package/dist/components/drawer/DrawerOverlay.vue.d.ts +6 -6
  230. package/dist/components/drawer/DrawerTitle.vue.d.ts +5 -6
  231. package/dist/components/drawer/composables/drawerSnapContext.d.ts +7 -1
  232. package/dist/components/drawer/composables/useDrawerSnap.d.ts +3 -1
  233. package/dist/components/drawer/constants.d.ts +7 -25
  234. package/dist/components/drawer/index.d.ts +10 -10
  235. package/dist/components/drawer/styles.css +1 -1
  236. package/dist/components/dropdown-menu/DropdownMenu.vue.d.ts +43 -16
  237. package/dist/components/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +22 -13
  238. package/dist/components/dropdown-menu/DropdownMenuContent.vue.d.ts +28 -19
  239. package/dist/components/dropdown-menu/DropdownMenuGroup.vue.d.ts +6 -4
  240. package/dist/components/dropdown-menu/DropdownMenuItem.vue.d.ts +21 -9
  241. package/dist/components/dropdown-menu/DropdownMenuLabel.vue.d.ts +9 -9
  242. package/dist/components/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +13 -6
  243. package/dist/components/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +18 -11
  244. package/dist/components/dropdown-menu/DropdownMenuSeparator.vue.d.ts +5 -6
  245. package/dist/components/dropdown-menu/DropdownMenuShortcut.vue.d.ts +7 -8
  246. package/dist/components/dropdown-menu/DropdownMenuSub.vue.d.ts +15 -7
  247. package/dist/components/dropdown-menu/DropdownMenuSubContent.vue.d.ts +24 -17
  248. package/dist/components/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +11 -9
  249. package/dist/components/dropdown-menu/DropdownMenuTrigger.vue.d.ts +15 -8
  250. package/dist/components/dropdown-menu/index.d.ts +15 -15
  251. package/dist/components/dropdown-menu/styles.css +1 -0
  252. package/dist/components/dropdown-menu/useMenuTrigger.d.ts +2 -9
  253. package/dist/components/easing/composables/useEasingPicker.d.ts +5 -8
  254. package/dist/components/easing/constants.d.ts +1 -1
  255. package/dist/components/expandable-container/ExpandableContainer.vue.d.ts +1 -25
  256. package/dist/components/expandable-container/styles.css +1 -0
  257. package/dist/components/fading-scroll/FadingScroll.vue.d.ts +4 -0
  258. package/dist/components/fading-scroll/composables/useFadingScroll.d.ts +4 -0
  259. package/dist/components/fading-scroll/constants.d.ts +1 -2
  260. package/dist/components/fourier-field/FourierField.vue.d.ts +3 -5
  261. package/dist/components/fourier-field/composables/fourierFieldGLSetup.d.ts +1 -1
  262. package/dist/components/fourier-field/composables/fourierFieldWGPUSetup.d.ts +1 -1
  263. package/dist/components/fourier-field/composables/useFourierField.d.ts +4 -4
  264. package/dist/components/fourier-field/constants.d.ts +10 -10
  265. package/dist/components/fourier-field/index.d.ts +3 -3
  266. package/dist/components/fourier-field/presets.d.ts +3 -3
  267. package/dist/components/fourier-field/shaders/fourier-field.glsl.d.ts +2 -2
  268. package/dist/components/fourier-field/shaders/fourier-field.render.wgsl.d.ts +1 -1
  269. package/dist/components/handmark/HandMark.vue.d.ts +1 -1
  270. package/dist/components/handmark/brush.d.ts +1 -1
  271. package/dist/components/handmark/composables/useHandMark.d.ts +4 -4
  272. package/dist/components/handmark/constants.d.ts +10 -10
  273. package/dist/components/handmark/geometry.d.ts +8 -8
  274. package/dist/components/handmark/index.d.ts +7 -8
  275. package/dist/components/handmark/noise.d.ts +3 -3
  276. package/dist/components/handmark/types.d.ts +2 -2
  277. package/dist/components/header-ribbon/HeaderRibbon.vue.d.ts +3 -21
  278. package/dist/components/header-ribbon/styles.css +1 -0
  279. package/dist/components/header-ribbon/types.d.ts +5 -2
  280. package/dist/components/index.d.ts +0 -3
  281. package/dist/components/infinite-scroll/composables/types.d.ts +1 -1
  282. package/dist/components/input/Input.vue.d.ts +10 -35
  283. package/dist/components/input/index.d.ts +2 -1
  284. package/dist/components/input/types.d.ts +22 -0
  285. package/dist/components/instrument-chassis/InstrumentChassis.vue.d.ts +10 -84
  286. package/dist/components/instrument-chassis/index.d.ts +1 -2
  287. package/dist/components/instrument-chassis/styles.css +1 -1
  288. package/dist/components/instrument-chassis/types.d.ts +13 -0
  289. package/dist/components/label/Label.vue.d.ts +9 -14
  290. package/dist/components/label/index.d.ts +1 -1
  291. package/dist/components/labeled-field/LabeledField.vue.d.ts +10 -108
  292. package/dist/components/labeled-field/LabeledInput.vue.d.ts +3 -23
  293. package/dist/components/labeled-field/LabeledSelect.vue.d.ts +12 -18
  294. package/dist/components/labeled-field/LabeledSlider.vue.d.ts +12 -18
  295. package/dist/components/labeled-field/LabeledSwitch.vue.d.ts +14 -17
  296. package/dist/components/labeled-field/index.d.ts +1 -0
  297. package/dist/components/labeled-field/types.d.ts +50 -0
  298. package/dist/components/liquid-grid/composables/liquidGrid.d.ts +5 -5
  299. package/dist/components/liquid-grid/constants.d.ts +6 -7
  300. package/dist/components/liquid-grid/shaders/liquid-grid.glsl.d.ts +1 -1
  301. package/dist/components/liquid-grid/shaders/liquid-grid.wgsl.d.ts +1 -1
  302. package/dist/components/metric/Metric.vue.d.ts +24 -0
  303. package/dist/components/metric/MetricCell.vue.d.ts +26 -0
  304. package/dist/components/metric/MetricRow.vue.d.ts +22 -0
  305. package/dist/components/metric/MetricStack.vue.d.ts +16 -0
  306. package/dist/components/metric/coalesce-metric.d.ts +7 -28
  307. package/dist/components/metric/index.d.ts +5 -0
  308. package/dist/components/metric/styles.css +1 -0
  309. package/dist/components/metric/types.d.ts +32 -0
  310. package/dist/components/number-field/NumberField.vue.d.ts +21 -9
  311. package/dist/components/number-field/NumberFieldContent.vue.d.ts +2 -2
  312. package/dist/components/number-field/NumberFieldDecrement.vue.d.ts +6 -6
  313. package/dist/components/number-field/NumberFieldIncrement.vue.d.ts +6 -6
  314. package/dist/components/number-field/NumberFieldInput.vue.d.ts +1 -6
  315. package/dist/components/number-field/context.d.ts +6 -0
  316. package/dist/components/number-field/index.d.ts +5 -5
  317. package/dist/components/number-field/styles.css +1 -0
  318. package/dist/components/pager-dots/constants.d.ts +1 -2
  319. package/dist/components/pager-dots/index.d.ts +0 -2
  320. package/dist/components/paper-backdrop/PaperBackdrop.vue.d.ts +1 -14
  321. package/dist/components/paper-backdrop/index.d.ts +1 -1
  322. package/dist/components/popover/Popover.vue.d.ts +24 -36
  323. package/dist/components/popover/PopoverContent.vue.d.ts +23 -29
  324. package/dist/components/popover/PopoverTrigger.vue.d.ts +12 -7
  325. package/dist/components/popover/index.d.ts +3 -3
  326. package/dist/components/popover/popoverContext.d.ts +3 -4
  327. package/dist/components/progress/Progress.vue.d.ts +5 -13
  328. package/dist/components/progress/index.d.ts +1 -0
  329. package/dist/components/progress/types.d.ts +19 -0
  330. package/dist/components/pulse/Pulse.vue.d.ts +8 -47
  331. package/dist/components/pulse/index.d.ts +1 -0
  332. package/dist/components/radio-group/RadioGroup.vue.d.ts +27 -15
  333. package/dist/components/radio-group/RadioGroupItem.vue.d.ts +9 -6
  334. package/dist/components/radio-group/index.d.ts +2 -0
  335. package/dist/components/radio-group/styles.css +1 -0
  336. package/dist/components/scroll-progress-rim/styles.css +1 -1
  337. package/dist/components/search/FuzzySearch.vue.d.ts +2 -2
  338. package/dist/components/search/SearchBar.vue.d.ts +2 -2
  339. package/dist/components/search/searchVariants.d.ts +15 -17
  340. package/dist/components/select/Select.vue.d.ts +25 -14
  341. package/dist/components/select/SelectContent.vue.d.ts +26 -29
  342. package/dist/components/select/SelectGroup.vue.d.ts +7 -11
  343. package/dist/components/select/SelectItem.vue.d.ts +24 -13
  344. package/dist/components/select/SelectLabel.vue.d.ts +7 -11
  345. package/dist/components/select/SelectScrollDownButton.vue.d.ts +3 -4
  346. package/dist/components/select/SelectScrollUpButton.vue.d.ts +3 -4
  347. package/dist/components/select/SelectSeparator.vue.d.ts +5 -6
  348. package/dist/components/select/SelectTrigger.vue.d.ts +15 -41
  349. package/dist/components/select/SelectValue.vue.d.ts +13 -7
  350. package/dist/components/select/index.d.ts +16 -8
  351. package/dist/components/separator/Separator.vue.d.ts +11 -6
  352. package/dist/components/separator/index.d.ts +1 -1
  353. package/dist/components/skeleton/Skeleton.vue.d.ts +3 -31
  354. package/dist/components/slider/Slider.vue.d.ts +10 -37
  355. package/dist/components/slider/index.d.ts +1 -45
  356. package/dist/components/slider/types.d.ts +25 -0
  357. package/dist/components/sortable-list/SortableList.vue.d.ts +1 -1
  358. package/dist/components/sortable-list/composables/ghostRenderer.d.ts +1 -1
  359. package/dist/components/sortable-list/composables/touchGate.d.ts +1 -1
  360. package/dist/components/sortable-list/composables/transitionTiming.d.ts +1 -1
  361. package/dist/components/status-dot/StatusDot.vue.d.ts +7 -10
  362. package/dist/components/status-dot/index.d.ts +1 -0
  363. package/dist/components/surface/Surface.vue.d.ts +13 -21
  364. package/dist/components/surface/index.d.ts +2 -2
  365. package/dist/components/switch/Switch.vue.d.ts +20 -11
  366. package/dist/components/switch/index.d.ts +2 -1
  367. package/dist/components/switch/styles.css +1 -0
  368. package/dist/components/table/Table.vue.d.ts +1 -1
  369. package/dist/components/tabs/SegmentedTabs.vue.d.ts +21 -13
  370. package/dist/components/tabs/composables/useTabDragMorph.d.ts +6 -6
  371. package/dist/components/tabs/composables/useTabResponsive.d.ts +5 -6
  372. package/dist/components/tabs/composables/useTabRovingFocus.d.ts +16 -16
  373. package/dist/components/tabs/constants.d.ts +1 -1
  374. package/dist/components/tabs/index.d.ts +1 -1
  375. package/dist/components/tabs/styles/drag.css +1 -1
  376. package/dist/components/tabs/styles/segmented.css +1 -1
  377. package/dist/components/tags-input/TagsInput.vue.d.ts +28 -15
  378. package/dist/components/tags-input/TagsInputInput.vue.d.ts +8 -6
  379. package/dist/components/tags-input/TagsInputItem.vue.d.ts +9 -8
  380. package/dist/components/tags-input/TagsInputItemDelete.vue.d.ts +5 -6
  381. package/dist/components/tags-input/TagsInputItemText.vue.d.ts +5 -6
  382. package/dist/components/tags-input/context.d.ts +5 -0
  383. package/dist/components/tags-input/index.d.ts +5 -5
  384. package/dist/components/tags-input/styles.css +1 -0
  385. package/dist/components/textarea/Textarea.vue.d.ts +10 -55
  386. package/dist/components/textarea/index.d.ts +2 -1
  387. package/dist/components/textarea/types.d.ts +22 -0
  388. package/dist/components/timeline/ContinuousMarkers.vue.d.ts +2 -4
  389. package/dist/components/timeline/ContinuousRail.vue.d.ts +3 -6
  390. package/dist/components/timeline/ContinuousTimeline.vue.d.ts +12 -13
  391. package/dist/components/timeline/GlassTimeline.vue.d.ts +7 -8
  392. package/dist/components/timeline/ScrubberTimeline.vue.d.ts +4 -4
  393. package/dist/components/timeline/SegmentedTimeline.vue.d.ts +2 -3
  394. package/dist/components/timeline/geometry.d.ts +3 -4
  395. package/dist/components/timeline/types.d.ts +3 -3
  396. package/dist/components/toast/Toast.vue.d.ts +37 -79
  397. package/dist/components/toast/ToastAction.vue.d.ts +5 -5
  398. package/dist/components/toast/ToastClose.vue.d.ts +4 -5
  399. package/dist/components/toast/ToastDescription.vue.d.ts +4 -5
  400. package/dist/components/toast/ToastTitle.vue.d.ts +4 -5
  401. package/dist/components/toast/Toaster.vue.d.ts +1 -1
  402. package/dist/components/toast/index.d.ts +8 -9
  403. package/dist/components/toast/use-toast.d.ts +20 -163
  404. package/dist/components/toggle-group/ToggleGroup.vue.d.ts +44 -22
  405. package/dist/components/toggle-group/ToggleGroupItem.vue.d.ts +11 -9
  406. package/dist/components/toggle-group/index.d.ts +3 -2
  407. package/dist/components/toggle-group/styles.css +1 -0
  408. package/dist/components/toggle-group/toggleGroupContext.d.ts +4 -15
  409. package/dist/components/tooltip/Tooltip.vue.d.ts +20 -7
  410. package/dist/components/tooltip/TooltipContent.vue.d.ts +20 -12
  411. package/dist/components/tooltip/TooltipProvider.vue.d.ts +12 -5
  412. package/dist/components/tooltip/TooltipTrigger.vue.d.ts +12 -5
  413. package/dist/components/tooltip/index.d.ts +4 -4
  414. package/dist/components/typewriter/composables/useTypewriter.d.ts +1 -0
  415. package/dist/components/typewriter/utils/timing.d.ts +0 -2
  416. package/dist/components/watercolor-dot/WatercolorDot.vue.d.ts +5 -18
  417. package/dist/components/watercolor-dot/useWatercolorBlob.d.ts +1 -4
  418. package/dist/composables/color/accent-tone-solve.d.ts +2 -5
  419. package/dist/composables/color/index.d.ts +31 -38
  420. package/dist/composables/color/useAccentTone.d.ts +0 -3
  421. package/dist/composables/color/value.d.ts +21 -0
  422. package/dist/composables/context/createContext.d.ts +2 -2
  423. package/dist/composables/dark/index.d.ts +1 -1
  424. package/dist/composables/dark/useGlobalDark.d.ts +7 -6
  425. package/dist/composables/dom/useBreakpoint.d.ts +2 -2
  426. package/dist/composables/dom/useClipboard.d.ts +28 -52
  427. package/dist/composables/dom/useDocumentVisibility.d.ts +3 -1
  428. package/dist/composables/dom/useIdleReady.d.ts +5 -6
  429. package/dist/composables/dom/useTokenColor.d.ts +2 -2
  430. package/dist/composables/dom/useUserInvalidAria.d.ts +2 -3
  431. package/dist/composables/dom/useViewportReady.d.ts +4 -4
  432. package/dist/composables/glass/backdropLuminanceSample.d.ts +7 -6
  433. package/dist/composables/glass/canvas2d/useCanvas2D.d.ts +7 -1
  434. package/dist/composables/glass/textureUpload.d.ts +8 -10
  435. package/dist/composables/glass/useGlassBackdropLuminance.d.ts +11 -19
  436. package/dist/composables/glass/useSpecularPointer.d.ts +6 -6
  437. package/dist/composables/glass/useSpecularTracking.d.ts +12 -15
  438. package/dist/composables/glass/wave/waveField.d.ts +2 -2
  439. package/dist/composables/glass/wave/waveField.glsl.d.ts +1 -1
  440. package/dist/composables/glass/wave/waveField.wgsl.d.ts +1 -1
  441. package/dist/composables/glass/webgl/backingSize.d.ts +5 -8
  442. package/dist/composables/glass/webgl/compile.d.ts +1 -1
  443. package/dist/composables/glass/webgl/createCanvasLifecycle.d.ts +20 -20
  444. package/dist/composables/glass/webgl/useWebGLCanvas.d.ts +16 -28
  445. package/dist/composables/glass/webgl/visibility.d.ts +3 -4
  446. package/dist/composables/glass/webgpu/useGpuSubstrate.d.ts +10 -10
  447. package/dist/composables/glass/webgpu/useWebGPUCanvas.d.ts +1 -1
  448. package/dist/composables/glass/webgpu/webgpuCanvasTypes.d.ts +12 -10
  449. package/dist/composables/glass/webgpu/webgpuDevice.d.ts +15 -16
  450. package/dist/composables/motion/core/asElement.d.ts +2 -0
  451. package/dist/composables/motion/{constants.d.ts → core/constants.d.ts} +2 -3
  452. package/dist/composables/motion/core/index.d.ts +20 -23
  453. package/dist/composables/motion/core/useReducedMotion.d.ts +5 -0
  454. package/dist/composables/motion/core/useViewTransition.d.ts +44 -0
  455. package/dist/composables/motion/index.d.ts +14 -16
  456. package/dist/composables/motion/{useDockCtaReceive.d.ts → morph/useDockCtaReceive.d.ts} +2 -3
  457. package/dist/composables/motion/{useDragMorph.d.ts → morph/useDragMorph.d.ts} +7 -7
  458. package/dist/composables/motion/morph/useElementMorph.d.ts +50 -0
  459. package/dist/composables/motion/{useLeadTrail.d.ts → morph/useLeadTrail.d.ts} +6 -6
  460. package/dist/composables/motion/{useSelectionGroup.d.ts → morph/useSelectionGroup.d.ts} +7 -5
  461. package/dist/composables/motion/{useSelectionIndicator.d.ts → morph/useSelectionIndicator.d.ts} +9 -16
  462. package/dist/composables/motion/{useNumericTransition.d.ts → number/useNumericTransition.d.ts} +2 -2
  463. package/dist/composables/motion/{pointerFieldMappings.d.ts → pointer/pointerFieldMappings.d.ts} +7 -10
  464. package/dist/composables/motion/{usePointerVelocityField.d.ts → pointer/usePointerVelocityField.d.ts} +1 -1
  465. package/dist/composables/motion/{bloomUpField.d.ts → reveal/bloomUpField.d.ts} +1 -1
  466. package/dist/composables/motion/reveal/useBloomUp.d.ts +33 -0
  467. package/dist/composables/motion/{useLiquidReveal.d.ts → reveal/useLiquidReveal.d.ts} +5 -5
  468. package/dist/composables/motion/{useStagger.d.ts → reveal/useStagger.d.ts} +3 -3
  469. package/dist/composables/motion/reveal/useStaggerReveal.d.ts +28 -0
  470. package/dist/composables/motion/{useScrollChrome.d.ts → scroll/useScrollChrome.d.ts} +2 -2
  471. package/dist/composables/motion/{useScrollProgress.d.ts → scroll/useScrollProgress.d.ts} +12 -2
  472. package/dist/composables/motion/{springPresets.d.ts → spring/springPresets.d.ts} +8 -7
  473. package/dist/composables/motion/{springProjection.d.ts → spring/springProjection.d.ts} +3 -0
  474. package/dist/composables/motion/{useLiquidFlex.d.ts → spring/useLiquidFlex.d.ts} +11 -12
  475. package/dist/composables/motion/{useLiquidPress.d.ts → spring/useLiquidPress.d.ts} +3 -3
  476. package/dist/composables/motion/{useSpring.d.ts → spring/useSpring.d.ts} +5 -2
  477. package/dist/composables/motion/{useSpringMount.d.ts → spring/useSpringMount.d.ts} +8 -1
  478. package/dist/composables/sidebar/types.d.ts +3 -3
  479. package/dist/{configurator-CSENXXSy.js → configurator-M5OaIlJd.js} +11 -11
  480. package/dist/configurator.js +1 -1
  481. package/dist/{constants-DRZmNIY-.js → constants-nBz23tJE.js} +1 -1
  482. package/dist/constellation.js +125 -124
  483. package/dist/{createCanvasLifecycle-hsFkQVdl.js → createCanvasLifecycle-DbXRwjU_.js} +87 -82
  484. package/dist/dark-mode-toggle.d.ts +1 -0
  485. package/dist/dark-mode-toggle.js +43 -0
  486. package/dist/dark.js +1 -1
  487. package/dist/data-table-BygKg6ZA.js +491 -0
  488. package/dist/data-table.js +1 -1
  489. package/dist/deck.js +3 -3
  490. package/dist/dialog-TNRDkcE4.js +385 -0
  491. package/dist/dialog.js +1 -1
  492. package/dist/dock.js +523 -940
  493. package/dist/dockContext-BUTlGRNJ.js +13 -0
  494. package/dist/dom.js +52 -114
  495. package/dist/drawer.js +262 -209
  496. package/dist/dropdown-menu-BlbnvMaZ.js +507 -0
  497. package/dist/dropdown-menu.js +2 -2
  498. package/dist/easing.js +294 -278
  499. package/dist/expandable-container.js +107 -93
  500. package/dist/fading-scroll-DhxXIhm2.js +96 -0
  501. package/dist/fading-scroll.js +1 -1
  502. package/dist/field-control.css_vue_type_style_index_0_src_true_lang-CeLay9Tk.js +21 -0
  503. package/dist/floating-dB5TD88k.js +7 -0
  504. package/dist/{flow.glsl-DEGFGE11.js → flow.wgsl-Cd2GUkPx.js} +2 -2
  505. package/dist/fonts/README.md +14 -18
  506. package/dist/forms.js +279 -174
  507. package/dist/fourier-field.js +148 -148
  508. package/dist/glass-ui.css +1 -1
  509. package/dist/glass-ui.js +512 -373
  510. package/dist/handmark.js +4 -4
  511. package/dist/header-ribbon.js +37 -68
  512. package/dist/index.d.ts +9 -18
  513. package/dist/infinite-scroll.js +31 -28
  514. package/dist/instrument-chassis.js +54 -2
  515. package/dist/label-DnMqH7jr.js +55 -0
  516. package/dist/label.js +1 -1
  517. package/dist/labeled-field.js +291 -214
  518. package/dist/liquid-grid.js +141 -151
  519. package/dist/menuRowClass-Nh7CtMON.js +12 -0
  520. package/dist/metric.d.ts +1 -0
  521. package/dist/metric.js +192 -0
  522. package/dist/motion-core.js +73 -165
  523. package/dist/motion.js +104 -161
  524. package/dist/number-field-Boe09SvX.js +154 -0
  525. package/dist/number-field.js +1 -1
  526. package/dist/pager-dots.js +2 -2
  527. package/dist/paper-backdrop.js +16 -24
  528. package/dist/{pointerFieldMappings-CZojkgKj.js → pointerFieldMappings-DP5tla5z.js} +4 -7
  529. package/dist/popover-BQGYXZyO.js +244 -0
  530. package/dist/popover.js +1 -1
  531. package/dist/{presets-CxeNvxuO.js → presets-5myqNv59.js} +1 -1
  532. package/dist/primitive-B2t2jdqM.js +11 -0
  533. package/dist/progress-DClbhRAT.js +88 -0
  534. package/dist/progress.js +1 -1
  535. package/dist/pulse.js +29 -43
  536. package/dist/reactive.js +1 -1
  537. package/dist/resolveCanvasColor-DS_6DBxA.js +82 -0
  538. package/dist/resolveSurfaceClass-DCZ4PZcy.js +6 -0
  539. package/dist/{scrollReader-C2oK9Hb8.js → scrollReader-Brf5cQNo.js} +1 -1
  540. package/dist/search.js +241 -213
  541. package/dist/select-BcBAyLXA.js +336 -0
  542. package/dist/select.js +1 -1
  543. package/dist/selection-DqIULxRG.js +6 -0
  544. package/dist/separator-CgZInrX-.js +75 -0
  545. package/dist/separator.js +1 -1
  546. package/dist/sidebar.js +53 -42
  547. package/dist/slider-DzqeQmMu.js +162 -0
  548. package/dist/slider.js +2 -2
  549. package/dist/sortable-list.js +9 -8
  550. package/dist/springPresets-rCii5KqX.js +52 -0
  551. package/dist/status-dot.js +26 -43
  552. package/dist/styles/accessibility.css +1 -1
  553. package/dist/styles/animations.css +1 -1
  554. package/dist/styles/components.css +1 -1
  555. package/dist/styles/glass/a11y-fallback.css +1 -1
  556. package/dist/styles/glass/accent-tone.css +1 -1
  557. package/dist/styles/glass/control-surfaces.css +1 -1
  558. package/dist/styles/glass/defined.css +1 -1
  559. package/dist/styles/glass/glass-atom.css +1 -1
  560. package/dist/styles/glass/glass-capsule.css +1 -1
  561. package/dist/styles/glass/glass-chip.css +1 -1
  562. package/dist/styles/glass/ladder.css +1 -1
  563. package/dist/styles/glass/liquid-fill.css +1 -1
  564. package/dist/styles/glass/material-roles.css +1 -1
  565. package/dist/styles/glass/material.css +1 -1
  566. package/dist/styles/glass/reveal.css +1 -1
  567. package/dist/styles/glass/squircle.css +1 -1
  568. package/dist/styles/glass/surface-axis.css +1 -1
  569. package/dist/styles/glass/surfaces-pager.css +1 -1
  570. package/dist/styles/glass/surfaces.css +1 -1
  571. package/dist/styles/glass-refract.css +1 -1
  572. package/dist/styles/glass.css +1 -1
  573. package/dist/styles/index.css +1 -1
  574. package/dist/styles/paper.css +1 -1
  575. package/dist/styles/scroll-driven.css +1 -1
  576. package/dist/styles/theme/bridges.css +1 -1
  577. package/dist/styles/theme/radius.css +1 -1
  578. package/dist/styles/tokens/color-radius.css +1 -1
  579. package/dist/styles/tokens/dark-arm.css +1 -1
  580. package/dist/styles/tokens/glass-deep.css +1 -1
  581. package/dist/styles/tokens/glass-fx.css +1 -1
  582. package/dist/styles/tokens/glass.css +1 -1
  583. package/dist/styles/tokens/light-dark.css +1 -1
  584. package/dist/styles/tokens/manifest.d.ts +14 -0
  585. package/dist/styles/tokens/manifest.ts +56 -0
  586. package/dist/styles/tokens/motion-registers.css +1 -1
  587. package/dist/styles/tokens/offsets.css +1 -1
  588. package/dist/styles/tokens/property-regs-specular.css +1 -1
  589. package/dist/styles/tokens/property-regs.css +1 -1
  590. package/dist/styles/tokens/scale-paper.css +1 -1
  591. package/dist/styles/tokens/scheme-motion.css +1 -1
  592. package/dist/styles/tokens/scheme-spring.css +1 -1
  593. package/dist/styles/tokens/scroll-tokens.css +1 -1
  594. package/dist/styles/tokens/shadow.css +1 -1
  595. package/dist/styles/tokens/sizing-config.css +1 -1
  596. package/dist/styles/tokens/sizing.css +1 -1
  597. package/dist/styles/tokens.d.ts +4 -9
  598. package/dist/styles/tokens.ts +5 -9
  599. package/dist/styles/transitions.css +1 -1
  600. package/dist/styles/typography/scale.css +1 -1
  601. package/dist/styles/typography/semantic.css +1 -1
  602. package/dist/styles/typography/utilities.css +1 -1
  603. package/dist/styles/utilities/a11y-overrides.css +1 -1
  604. package/dist/styles/utilities/base-misc.css +1 -1
  605. package/dist/styles/utilities/base.css +1 -1
  606. package/dist/styles/utilities/btn.css +1 -1
  607. package/dist/styles/utilities/components.css +1 -1
  608. package/dist/styles/utilities/metal.css +1 -1
  609. package/dist/styles/utilities/responsive.css +1 -0
  610. package/dist/styles/view-transition.css +1 -1
  611. package/dist/{supportsCssTimeline-Dz-GVxXM.js → supportsCssTimeline-C2zyWpl8.js} +1 -1
  612. package/dist/surface.js +2 -3
  613. package/dist/switch-DZjQuFLa.js +54 -0
  614. package/dist/switch.js +1 -1
  615. package/dist/tabs.js +141 -169
  616. package/dist/timeline.js +86 -87
  617. package/dist/toast-CH5mnsYT.js +267 -0
  618. package/dist/toast.js +1 -1
  619. package/dist/toggle-group-O6jBo7AE.js +150 -0
  620. package/dist/toggle-group.js +1 -1
  621. package/dist/tokens.js +96 -5
  622. package/dist/tooltip-Drx5qnw_.js +148 -0
  623. package/dist/tooltip.js +1 -1
  624. package/dist/typewriter.js +222 -193
  625. package/dist/{useAccentTone-C-p6WdPe.js → useAccentTone-DyInfHXE.js} +2 -2
  626. package/dist/{useAnimatedNumber-BRVVaFFc.js → useAnimatedNumber-WPtMz0AN.js} +2 -2
  627. package/dist/useClipboard-D36OTaeT.js +53 -0
  628. package/dist/useDockCtaReceive-DkrOTM0q.js +146 -0
  629. package/dist/useDocumentVisibility-Dh_TGXsU.js +21 -0
  630. package/dist/useDragMorph-BogSV_nv.js +293 -0
  631. package/dist/{useIntersectionPause-B-dbxl9w.js → useIntersectionPause-B5mAU6XY.js} +15 -15
  632. package/dist/useLeadTrail-AW1-zZcd.js +74 -0
  633. package/dist/{useLiquidFlex-Ch4exNvN.js → useLiquidFlex-TJZmRqyY.js} +1 -1
  634. package/dist/useLiquidPress-BOxuDkKa.js +101 -0
  635. package/dist/useMotionAxis-D-rtIhca.js +19 -0
  636. package/dist/usePointerVelocityField-DsIf7yyq.js +121 -0
  637. package/dist/useRAFLoop-B3YlWK4M.js +98 -0
  638. package/dist/useReducedMotion-vCXA_vyM.js +27 -0
  639. package/dist/useRoutePointer-B8itM7Ka.js +53 -0
  640. package/dist/useScrollProgress-CSFYXIZT.js +43 -0
  641. package/dist/useScrollTrigger-BDdqptlc.js +87 -0
  642. package/dist/useSelectionGroup-B5XplBbo.js +132 -0
  643. package/dist/{useSpring-BBSKFx_0.js → useSpring-9u2_shxV.js} +2 -2
  644. package/dist/useSpringMount-uQ8QL9Ff.js +74 -0
  645. package/dist/useTabRovingFocus-YnWh-Ytr.js +169 -0
  646. package/dist/useTextHighlight-mfwNIC1f.js +112 -0
  647. package/dist/{useTouchGate-Cj5fOkTv.js → useTouchGate-B4mzQcHJ.js} +1 -1
  648. package/dist/vSpecular-DMJo8pfD.js +68 -0
  649. package/dist/value-DMhh2R94.js +33 -0
  650. package/dist/watercolor-dot.js +77 -103
  651. package/package.json +163 -232
  652. package/dist/DropdownMenuTrigger-BzQtd9lt.js +0 -65
  653. package/dist/FadingScroll-C1ZWEjmG.js +0 -83
  654. package/dist/Input-B4WQ_CMc.js +0 -57
  655. package/dist/Surface-BWRfwyn8.js +0 -59
  656. package/dist/accent-tone-solve-Dii9ePhK.js +0 -20
  657. package/dist/badge-C0C-rTBu.js +0 -80
  658. package/dist/button-32mg6xA8.js +0 -194
  659. package/dist/card-16xmzIr3.js +0 -303
  660. package/dist/coalesce-metric-znAcLzkB.js +0 -13
  661. package/dist/collapsible-bPzS1aQk.js +0 -63
  662. package/dist/color-swatch.d.ts +0 -1
  663. package/dist/color-swatch.js +0 -48
  664. package/dist/command-BjPjUU9z.js +0 -307
  665. package/dist/components/_shared/menuItemVariants.d.ts +0 -51
  666. package/dist/components/_shared/useControlSize.d.ts +0 -46
  667. package/dist/components/_shared/useStalePropWarning.d.ts +0 -27
  668. package/dist/components/_shared/useSurfaceAxis.d.ts +0 -64
  669. package/dist/components/card/ScrollCard.vue.d.ts +0 -33
  670. package/dist/components/card/ScrollCardHeader.vue.d.ts +0 -17
  671. package/dist/components/carousel/CarouselNext.vue.d.ts +0 -21
  672. package/dist/components/carousel/CarouselPrevious.vue.d.ts +0 -21
  673. package/dist/components/color-swatch/ColorSwatch.vue.d.ts +0 -22
  674. package/dist/components/color-swatch/index.d.ts +0 -1
  675. package/dist/components/controls/DarkModeToggle.vue.d.ts +0 -32
  676. package/dist/components/controls/dark-mode-toggle.css +0 -1
  677. package/dist/components/controls/index.d.ts +0 -1
  678. package/dist/components/data-table/DataTablePagination.vue.d.ts +0 -13
  679. package/dist/components/dock/DockSection.vue.d.ts +0 -69
  680. package/dist/components/dock/DockStack.vue.d.ts +0 -73
  681. package/dist/components/dock/composables/dockMorphContext.d.ts +0 -91
  682. package/dist/components/dock/composables/useDockFisheye.d.ts +0 -24
  683. package/dist/components/dock/composables/useDockPopover.d.ts +0 -70
  684. package/dist/components/dock/styles/fisheye.css +0 -1
  685. package/dist/components/dock/styles/popover.css +0 -1
  686. package/dist/components/dock/styles/section.css +0 -1
  687. package/dist/components/focus-scope/FocusScope.vue.d.ts +0 -20
  688. package/dist/components/focus-scope/index.d.ts +0 -2
  689. package/dist/components/goo-filter/GooFilter.vue.d.ts +0 -22
  690. package/dist/components/goo-filter/index.d.ts +0 -1
  691. package/dist/components/icon-chip/IconChip.vue.d.ts +0 -4
  692. package/dist/components/icon-chip/index.d.ts +0 -2
  693. package/dist/components/icon-chip/styles.css +0 -1
  694. package/dist/components/icon-chip/types.d.ts +0 -92
  695. package/dist/components/icon-tooltip/IconTooltip.vue.d.ts +0 -16
  696. package/dist/components/icon-tooltip/index.d.ts +0 -1
  697. package/dist/components/instrument-chassis/ChassisDivider.vue.d.ts +0 -30
  698. package/dist/components/metric-badge/MetricBadge.vue.d.ts +0 -40
  699. package/dist/components/metric-badge/index.d.ts +0 -2
  700. package/dist/components/metric-cell/MetricCell.vue.d.ts +0 -108
  701. package/dist/components/metric-cell/index.d.ts +0 -2
  702. package/dist/components/metric-stack/MetricRow.vue.d.ts +0 -120
  703. package/dist/components/metric-stack/MetricStack.vue.d.ts +0 -92
  704. package/dist/components/metric-stack/index.d.ts +0 -4
  705. package/dist/components/notification/Notification.vue.d.ts +0 -16
  706. package/dist/components/notification/index.d.ts +0 -1
  707. package/dist/components/progress/ProgressDefault.vue.d.ts +0 -9
  708. package/dist/components/progress/ProgressGradient.vue.d.ts +0 -26
  709. package/dist/components/progress/ProgressLiquid.vue.d.ts +0 -22
  710. package/dist/components/progress/valueMarks.css +0 -1
  711. package/dist/components/spa-view/SpaView.vue.d.ts +0 -50
  712. package/dist/components/spa-view/index.d.ts +0 -2
  713. package/dist/components/split-chars/SplitChars.vue.d.ts +0 -53
  714. package/dist/components/split-chars/index.d.ts +0 -1
  715. package/dist/components/tabs/composables/useEyeglassLive.d.ts +0 -17
  716. package/dist/components/toggle/Toggle.vue.d.ts +0 -29
  717. package/dist/components/toggle/index.d.ts +0 -26
  718. package/dist/composables/glass/webgl/shaders/glass-refract.glsl.d.ts +0 -36
  719. package/dist/composables/motion/curves.d.ts +0 -48
  720. package/dist/composables/motion/gooBarbellGeometry.d.ts +0 -79
  721. package/dist/composables/motion/morphSignatures.d.ts +0 -88
  722. package/dist/composables/motion/suite.d.ts +0 -2
  723. package/dist/composables/motion/useBloomUp.d.ts +0 -97
  724. package/dist/composables/motion/useCharStagger.d.ts +0 -44
  725. package/dist/composables/motion/useElementMorph.d.ts +0 -107
  726. package/dist/composables/motion/useGooMorph.d.ts +0 -72
  727. package/dist/composables/motion/usePrioritizedTask.d.ts +0 -41
  728. package/dist/composables/motion/useStaggerReveal.d.ts +0 -52
  729. package/dist/composables/motion/useViewTransition.d.ts +0 -81
  730. package/dist/composables/virtual/index.d.ts +0 -4
  731. package/dist/composables/virtual/useVirtualSectionWindow.d.ts +0 -72
  732. package/dist/composables/virtual/useWindowedStore.d.ts +0 -43
  733. package/dist/composables/virtual/virtualSectionLayout.d.ts +0 -103
  734. package/dist/controls.d.ts +0 -1
  735. package/dist/controls.js +0 -83
  736. package/dist/data-table-DveMdgBM.js +0 -629
  737. package/dist/dialog-BzQxKrUr.js +0 -281
  738. package/dist/dockContext-4S9qP0Z4.js +0 -13
  739. package/dist/dropdown-menu-DORIA52F.js +0 -378
  740. package/dist/focus-scope-DUTKveod.js +0 -23
  741. package/dist/focus-scope.d.ts +0 -1
  742. package/dist/focus-scope.js +0 -2
  743. package/dist/icon-chip-BWuxz1-u.js +0 -57
  744. package/dist/icon-chip.d.ts +0 -1
  745. package/dist/icon-chip.js +0 -2
  746. package/dist/icon-tooltip-CO6rw0dZ.js +0 -25
  747. package/dist/icon-tooltip.d.ts +0 -1
  748. package/dist/icon-tooltip.js +0 -2
  749. package/dist/instrument-chassis-Cvstg4_U.js +0 -65
  750. package/dist/label-Cj38tJKG.js +0 -36
  751. package/dist/menuItemVariants-D6AOzzND.js +0 -36
  752. package/dist/metric-badge.d.ts +0 -1
  753. package/dist/metric-badge.js +0 -79
  754. package/dist/metric-cell.d.ts +0 -1
  755. package/dist/metric-cell.js +0 -61
  756. package/dist/metric-stack.d.ts +0 -1
  757. package/dist/metric-stack.js +0 -113
  758. package/dist/motion-curves.d.ts +0 -1
  759. package/dist/motion-curves.js +0 -146
  760. package/dist/notification-DVs7ODMg.js +0 -52
  761. package/dist/notification.d.ts +0 -1
  762. package/dist/notification.js +0 -2
  763. package/dist/number-field-PvkGedHk.js +0 -140
  764. package/dist/popover-WMgyRSyN.js +0 -256
  765. package/dist/progress-C-HHuFZy.js +0 -192
  766. package/dist/resolveCanvasColor-yarP5bdk.js +0 -93
  767. package/dist/select-BIv4R3Ir.js +0 -326
  768. package/dist/separator-CBU94kTM.js +0 -62
  769. package/dist/slider-Cc_qw6GA.js +0 -166
  770. package/dist/spa-view.d.ts +0 -1
  771. package/dist/spa-view.js +0 -46
  772. package/dist/springPresets-h5VKJQqG.js +0 -58
  773. package/dist/styles/glass/progress-rail.css +0 -1
  774. package/dist/switch-Boj4Ucn5.js +0 -49
  775. package/dist/toast-kAbchIN2.js +0 -281
  776. package/dist/toggle-group-BPchFsns.js +0 -178
  777. package/dist/tooltip-BmOQJzh0.js +0 -111
  778. package/dist/useControlSize-CFfOk8I-.js +0 -9
  779. package/dist/useDockCtaReceive-CK-RLASa.js +0 -257
  780. package/dist/useDocumentVisibility-YeBDGqtI.js +0 -17
  781. package/dist/useDragMorph-7ygF9O0m.js +0 -93
  782. package/dist/useGooMorph-D1F6QJlH.js +0 -349
  783. package/dist/useLeadTrail-BYu8dq4G.js +0 -74
  784. package/dist/useLiquidPress-BYcwwGQV.js +0 -68
  785. package/dist/useMotionAxis-DCCXMC-i.js +0 -20
  786. package/dist/usePointerVelocityField-BdvnO0py.js +0 -122
  787. package/dist/useRAFLoop-BtwQ9DyY.js +0 -109
  788. package/dist/useRoutePointer-BDNMFN73.js +0 -52
  789. package/dist/useScrollProgress-DZI4nf4v.js +0 -35
  790. package/dist/useSelectionGroup-LDzBdR1Y.js +0 -215
  791. package/dist/useSpringMount-C6-DBx4e.js +0 -71
  792. package/dist/useSpringPress-BypV_KO-.js +0 -36
  793. package/dist/useSurfaceAxis-DudiZVOR.js +0 -10
  794. package/dist/useTabRovingFocus-DkLYwo4L.js +0 -143
  795. package/dist/vReveal-DZfWl9XI.js +0 -10
  796. package/dist/vSpecular-CQFmLNzA.js +0 -68
  797. package/src/fonts/README.md +0 -124
  798. package/src/fonts/fira-code/OFL.txt +0 -93
  799. package/src/fonts/fira-code/fira-code-latin-ext.woff2 +0 -0
  800. package/src/fonts/fira-code/fira-code-latin.woff2 +0 -0
  801. package/src/fonts/plus-jakarta-sans/OFL.txt +0 -93
  802. package/src/fonts/plus-jakarta-sans/plus-jakarta-sans-latin-ext.woff2 +0 -0
  803. package/src/fonts/plus-jakarta-sans/plus-jakarta-sans-latin.woff2 +0 -0
  804. package/src/styles/accessibility.css +0 -48
  805. package/src/styles/animations.css +0 -468
  806. package/src/styles/draw-in.css +0 -89
  807. package/src/styles/fonts.css +0 -143
  808. package/src/styles/glass/a11y-fallback.css +0 -188
  809. package/src/styles/glass/accent-tone.css +0 -66
  810. package/src/styles/glass/control-surfaces.css +0 -171
  811. package/src/styles/glass/deep.css +0 -114
  812. package/src/styles/glass/defined.css +0 -88
  813. package/src/styles/glass/glass-atom.css +0 -247
  814. package/src/styles/glass/glass-capsule.css +0 -175
  815. package/src/styles/glass/glass-chip.css +0 -211
  816. package/src/styles/glass/grain-overlay.css +0 -79
  817. package/src/styles/glass/ladder-undershadow.css +0 -61
  818. package/src/styles/glass/ladder.css +0 -452
  819. package/src/styles/glass/liquid-enter.css +0 -240
  820. package/src/styles/glass/liquid-fill.css +0 -65
  821. package/src/styles/glass/material-roles.css +0 -18
  822. package/src/styles/glass/material.css +0 -500
  823. package/src/styles/glass/progress-rail.css +0 -78
  824. package/src/styles/glass/reveal.css +0 -333
  825. package/src/styles/glass/rim.css +0 -122
  826. package/src/styles/glass/squircle.css +0 -58
  827. package/src/styles/glass/surface-axis.css +0 -136
  828. package/src/styles/glass/surfaces-pager.css +0 -79
  829. package/src/styles/glass/surfaces.css +0 -434
  830. package/src/styles/glass-refract.css +0 -112
  831. package/src/styles/glass-specular-track.css +0 -74
  832. package/src/styles/glass.css +0 -110
  833. package/src/styles/index.css +0 -288
  834. package/src/styles/paper.css +0 -187
  835. package/src/styles/scroll-choreography.css +0 -294
  836. package/src/styles/scroll-chrome.css +0 -123
  837. package/src/styles/scroll-driven.css +0 -123
  838. package/src/styles/theme/bridges.css +0 -380
  839. package/src/styles/theme/dark.css +0 -7
  840. package/src/styles/theme/literals.css +0 -104
  841. package/src/styles/theme/radius.css +0 -148
  842. package/src/styles/theme.css +0 -33
  843. package/src/styles/tokens/color-radius.css +0 -308
  844. package/src/styles/tokens/dark-arm-glass.css +0 -55
  845. package/src/styles/tokens/dark-arm.css +0 -455
  846. package/src/styles/tokens/glass-deep.css +0 -126
  847. package/src/styles/tokens/glass-fx.css +0 -480
  848. package/src/styles/tokens/glass.css +0 -477
  849. package/src/styles/tokens/light-dark.css +0 -216
  850. package/src/styles/tokens/motion-registers.css +0 -93
  851. package/src/styles/tokens/offsets.css +0 -142
  852. package/src/styles/tokens/on-glass-fg.css +0 -39
  853. package/src/styles/tokens/property-regs-specular.css +0 -160
  854. package/src/styles/tokens/property-regs.css +0 -448
  855. package/src/styles/tokens/scale-paper.css +0 -495
  856. package/src/styles/tokens/scheme-motion.css +0 -425
  857. package/src/styles/tokens/scheme-spring.css +0 -282
  858. package/src/styles/tokens/scroll-tokens.css +0 -137
  859. package/src/styles/tokens/shadow.css +0 -206
  860. package/src/styles/tokens/sizing-config.css +0 -110
  861. package/src/styles/tokens/sizing.css +0 -505
  862. package/src/styles/tokens.css +0 -68
  863. package/src/styles/tokens.ts +0 -58
  864. package/src/styles/transitions.css +0 -228
  865. package/src/styles/typography/scale.css +0 -166
  866. package/src/styles/typography/semantic.css +0 -233
  867. package/src/styles/typography/utilities.css +0 -197
  868. package/src/styles/typography.css +0 -46
  869. package/src/styles/utilities/a11y-overrides.css +0 -184
  870. package/src/styles/utilities/base-misc.css +0 -307
  871. package/src/styles/utilities/base.css +0 -337
  872. package/src/styles/utilities/btn.css +0 -306
  873. package/src/styles/utilities/components.css +0 -337
  874. package/src/styles/utilities/metal.css +0 -272
  875. package/src/styles/utilities.css +0 -24
  876. package/src/styles/view-transition.css +0 -67
  877. package/src/styles/viz-reveal.css +0 -63
  878. /package/dist/{_plugin-vue_export-helper-C1je1s0u.js → _plugin-vue_export-helper-B3ysoDQm.js} +0 -0
  879. /package/dist/{compile-DK3Fri1B.js → compile-D7VYG3gi.js} +0 -0
  880. /package/dist/composables/glass/{webgl/shaders/procedural-color.glsl.d.ts → procedural/color.glsl.d.ts} +0 -0
  881. /package/dist/{components/aurora/constants/shaders/procedural-color.wgsl.d.ts → composables/glass/procedural/color.wgsl.d.ts} +0 -0
  882. /package/dist/composables/motion/{motionTempo.d.ts → core/motionTempo.d.ts} +0 -0
  883. /package/dist/composables/motion/{useIntersectionPause.d.ts → core/useIntersectionPause.d.ts} +0 -0
  884. /package/dist/composables/motion/{useRAFLoop.d.ts → core/useRAFLoop.d.ts} +0 -0
  885. /package/dist/composables/motion/{useYieldToMain.d.ts → core/useYieldToMain.d.ts} +0 -0
  886. /package/dist/composables/motion/{useAnimatedNumber.d.ts → number/useAnimatedNumber.d.ts} +0 -0
  887. /package/dist/composables/motion/{useAnimatedNumberMap.d.ts → number/useAnimatedNumberMap.d.ts} +0 -0
  888. /package/dist/composables/motion/{useCountup.d.ts → number/useCountup.d.ts} +0 -0
  889. /package/dist/composables/motion/{useRoutePointer.d.ts → pointer/useRoutePointer.d.ts} +0 -0
  890. /package/dist/composables/motion/{useTextHighlight.d.ts → reveal/useTextHighlight.d.ts} +0 -0
  891. /package/dist/composables/motion/{vReveal.d.ts → reveal/vReveal.d.ts} +0 -0
  892. /package/dist/composables/motion/{scrollReader.d.ts → scroll/scrollReader.d.ts} +0 -0
  893. /package/dist/composables/motion/{supportsCssTimeline.d.ts → scroll/supportsCssTimeline.d.ts} +0 -0
  894. /package/dist/composables/motion/{useScrollPin.d.ts → scroll/useScrollPin.d.ts} +0 -0
  895. /package/dist/composables/motion/{useScrollScene.d.ts → scroll/useScrollScene.d.ts} +0 -0
  896. /package/dist/composables/motion/{useScrollTrigger.d.ts → scroll/useScrollTrigger.d.ts} +0 -0
  897. /package/dist/composables/motion/{useSpringPress.d.ts → spring/useSpringPress.d.ts} +0 -0
  898. /package/dist/{createContext-FU0n5MGK.js → createContext-BhkE9mLH.js} +0 -0
  899. /package/dist/{dark-DIH-blY1.js → dark-z_P5QwqI.js} +0 -0
  900. /package/dist/{motionTempo-CMS5b0Vu.js → motionTempo-tscp92Nm.js} +0 -0
  901. /package/dist/{prng-Dz2_9RJu.js → prng-2uS6J_A1.js} +0 -0
  902. /package/dist/{rendererStatus-C2-zC2Q-.js → rendererStatus-BxUlBLVy.js} +0 -0
  903. /package/dist/{useDragVelocity-CbMZEBaC.js → useDragVelocity-6ONX0sr0.js} +0 -0
  904. /package/dist/{useFuzzySearch-BOgep7RE.js → useFuzzySearch-CUnZknpm.js} +0 -0
  905. /package/dist/{useResizeObserver-BcUTquV7.js → useResizeObserver-CdUlm2QZ.js} +0 -0
  906. /package/dist/{useResolveTokenColor-C07e-qaT.js → useResolveTokenColor-B2FfJnd9.js} +0 -0
  907. /package/dist/{useTimer-D8koDvJS.js → useTimer-C3yfti4C.js} +0 -0
  908. /package/dist/{useUserInvalidAria-Cr4nR3tu.js → useUserInvalidAria-0GNrddMX.js} +0 -0
  909. /package/dist/{valueDomain-B8L04u3U.js → valueDomain-SbVzoHMH.js} +0 -0
  910. /package/dist/{writeVelocityWeight-D_AcvTsE.js → writeVelocityWeight-DoGOCW3e.js} +0 -0
@@ -1,36 +0,0 @@
1
- /**
2
- * The pinned chromatic-dispersion scale — ONE source-of-truth across BOTH refraction
3
- * stacks (this GLSL floor + the WGSL `glassShader.wgsl` twin). An ABSOLUTE rim-offset
4
- * multiplier: `|ca| = inward · rim · uChromatic · CHROMATIC_SCALE`. Pinned here so a
5
- * cross-stack drift (the 0.003/0.004/0.0045 three-way split the Tier-2 literal `0.004`
6
- * carried) is impossible — the shipped WGSL twin replaces its literal with this value.
7
- */
8
- export declare const CHROMATIC_SCALE = 0.0045;
9
- /** The uniform-name contract — the ONE spelling map the JS binder + the fence read. */
10
- export declare const GLASS_REFRACT_UNIFORMS: {
11
- readonly resolution: "uResolution";
12
- readonly time: "uTime";
13
- readonly panelCount: "uPanelCount";
14
- readonly bounds: "uBounds";
15
- readonly lightPos: "uLightPos";
16
- readonly blurRadius: "uBlurRadius";
17
- readonly refractionStrength: "uRefractionStrength";
18
- /** the fence operator — refraction=depth, hue=this absolute rim offset. */
19
- readonly chromatic: "uChromatic";
20
- readonly metalStrength: "uMetalStrength";
21
- readonly valveKnee: "uValveKnee";
22
- readonly plateAlphaMax: "uPlateAlphaMax";
23
- readonly backdrop: "uBackdrop";
24
- };
25
- /** The maximum panel count the fragment loop unrolls (mirrors Tier-2 `MAX_PANELS`). */
26
- export declare const GLASS_REFRACT_MAX_PANELS = 8;
27
- /** The full-screen-triangle vertex pass (the substrate's standard fullscreen pass). */
28
- export declare const GLASS_REFRACT_VERT_GLSL = "#version 300 es\nprecision highp float;\nin vec2 aPosition;\nout vec2 vUv;\nvoid main() {\n vUv = aPosition * 0.5 + 0.5; // [-1,1]\u00B2 clip \u2192 [0,1]\u00B2 UV\n gl_Position = vec4(aPosition, 0.0, 1.0);\n}";
29
- /**
30
- * The Tier-1 WebGL2 refraction fragment source. Renders the FULL ship pass: squircle
31
- * depth-refraction → 3×3 blur → absolute-rim chromatic split → curl drapery sheen →
32
- * ridge-local plate-alpha valve → directional specular + Fresnel rim. Splices the
33
- * SHARED `CURL_FBM_GLSL` chunk (the drapery term); `potentialFBM` is defined below
34
- * the uniforms per the splice-order law (the host owns the noise basis).
35
- */
36
- export declare const GLASS_REFRACT_FRAG_GLSL = "#version 300 es\nprecision highp float;\n\n#define MAX_PANELS 8\n\nin vec2 vUv;\nout vec4 fragColor;\n\nuniform vec2 uResolution;\nuniform float uTime;\nuniform int uPanelCount;\nuniform vec4 uBounds[MAX_PANELS]; // per-panel rect: xy = origin (UV), zw = size (UV)\nuniform vec2 uLightPos; // key-light position (UV)\nuniform float uBlurRadius; // blur kernel px scale\nuniform float uRefractionStrength; // the DEPTH knob (squircle displacement)\nuniform float uChromatic; // the fence operator \u2014 the absolute rim hue split\nuniform float uMetalStrength; // the drapery/metal sheen composite\nuniform float uValveKnee; // the K12 plate valve knee (structLuma threshold)\nuniform float uPlateAlphaMax; // the alpha the valve firms to over a bright ridge\nuniform sampler2D uBackdrop; // the field render (bound by the keystone FBO pass)\n\n// The pinned cross-stack chromatic scale (ONE source-of-truth; see CHROMATIC_SCALE).\nconst float CHROMATIC_SCALE = 0.0045;\n\n// \u2500\u2500 the ONE backdrop-read wrapper (explicit LOD; the Tier-2 sampleBG discipline) \u2500\u2500\nvec3 sampleBG(vec2 uv) {\n return textureLod(uBackdrop, clamp(uv, 0.0, 1.0), 0.0).rgb;\n}\n\n// 4th-order squircle bevel profile: f(x)=\u2074\u221A(1-(1-x)\u2074). 0 at centre, 1 at rim, the\n// edge-concentrated slope (Snell n=1.5 thin-interior lens, NOT a uniform radial).\nfloat squircleProfile(float x) {\n float t = 1.0 - clamp(x, 0.0, 1.0);\n float t4 = t * t * t * t;\n return sqrt(sqrt(max(0.0, 1.0 - t4)));\n}\n\nfloat fresnel(float cosTheta, float ior) {\n float r0 = pow((1.0 - ior) / (1.0 + ior), 2.0);\n return r0 + (1.0 - r0) * pow(1.0 - cosTheta, 5.0);\n}\n\nfloat luma(vec3 c) { return dot(c, vec3(0.2126, 0.7152, 0.0722)); }\n\n// scalar fbm potential \u2014 the host's noise basis, wrapped so curlFBM stays basis-\n// agnostic (the flow.glsl splice-order law). A cheap value-noise fbm for the sheen.\nfloat hash21(vec2 p) {\n vec3 p3 = fract(vec3(p.xyx) * 0.1031);\n p3 += dot(p3, p3.yzx + 33.33);\n return fract((p3.x + p3.y) * p3.z);\n}\nfloat vnoise(vec2 p) {\n vec2 i = floor(p);\n vec2 f = fract(p);\n vec2 w = f * f * (3.0 - 2.0 * f);\n return mix(mix(hash21(i), hash21(i + vec2(1.0, 0.0)), w.x),\n mix(hash21(i + vec2(0.0, 1.0)), hash21(i + vec2(1.0, 1.0)), w.x), w.y);\n}\nfloat potentialFBM(vec2 p) {\n float v = 0.0, a = 0.5;\n vec2 q = p;\n for (int i = 0; i < 3; i++) { v += a * vnoise(q); q = q * 2.02 + vec2(1.7, 9.2); a *= 0.5; }\n return v;\n}\n\n\nconst float CURL_EPS = 0.012;\n\n// Scalar fbm potential psi \u2014 the host's noise basis, wrapped so the curl operator is\n// basis-agnostic. A host carrying its own fbm defines this as: return fbm(p);\nfloat potentialFBM(vec2 p);\n\n// \u2207\u00D7\u03C8 in 2D \u2014 the divergence-free flow direction. Central finite differences of the\n// scalar potential give the partials; the cross-pairing (\u2202y, \u2212\u2202x) is the 2D curl.\nvec2 curlFBM(vec2 p) {\n float dx = potentialFBM(p + vec2(CURL_EPS, 0.0)) - potentialFBM(p - vec2(CURL_EPS, 0.0));\n float dy = potentialFBM(p + vec2(0.0, CURL_EPS)) - potentialFBM(p - vec2(0.0, CURL_EPS));\n // \u03C8-gradient is (dx, dy)/(2\u00B7eps); the curl rotates it 90\u00B0: (\u2202\u03C8/\u2202y, \u2212\u2202\u03C8/\u2202x).\n vec2 g = vec2(dx, dy) / (2.0 * CURL_EPS);\n return vec2(g.y, -g.x);\n}\n\n\n// The glass material over one panel rect. Every sample flows through sampleBG.\nvec4 glassSample(vec2 uv, vec4 b) {\n vec2 gmin = b.xy;\n vec2 size = b.zw;\n vec2 local = (uv - gmin) / size; // 0..1 within panel\n vec2 centered = local - vec2(0.5); // -0.5..0.5\n\n // REFRACTION = DEPTH: rim-concentrated squircle displacement (a pure UV offset).\n float r = clamp(length(centered) * 2.0, 0.0, 1.0);\n float prof = squircleProfile(r);\n vec2 dir = normalize(centered + vec2(1e-5));\n vec2 disp = dir * prof * (uRefractionStrength * 0.04 / 1.5); // n=1.5\n vec2 refrUv = uv + disp;\n\n // the canonical edge-band rim mask (GLSL source-of-truth) \u2014 hue rides the RIM only.\n vec2 toEdge = vec2(0.5) - abs(centered); // 0 at the panel edge, 0.5 at centre\n float edge = min(toEdge.x, toEdge.y);\n float rim = 1.0 - smoothstep(0.0, 0.16, edge); // 1 at the rim band, 0 by 16% inward\n\n vec2 px = 1.0 / uResolution;\n\n // 3\u00D73 blur around the displaced UV (the demoted-blur read carrier) \u2014 explicit LOD.\n vec3 col = vec3(0.0);\n float wsum = 0.0;\n for (int x = -1; x <= 1; x++) {\n for (int y = -1; y <= 1; y++) {\n vec2 o = vec2(float(x), float(y)) * px * max(uBlurRadius, 0.5);\n float wgt = 1.0 - 0.25 * float(abs(x) + abs(y));\n col += sampleBG(refrUv + o) * wgt;\n wsum += wgt;\n }\n }\n col /= wsum;\n\n // HUE = ABSOLUTE rim offset: split R/B by ca = inward \u00B7 rim \u00B7 uChromatic \u00B7 CHROMATIC_SCALE.\n vec2 inward = dir;\n vec2 ca = inward * rim * uChromatic * CHROMATIC_SCALE;\n float cr = sampleBG(refrUv + ca).r;\n float cb = sampleBG(refrUv - ca).b;\n col.r = mix(col.r, cr, rim * 0.6);\n col.b = mix(col.b, cb, rim * 0.6);\n\n // FULL PASS \u2014 the curl-drapery metal sheen (2nd curlFBM), gated by uMetalStrength.\n vec2 flow = curlFBM(local * 3.0 + uTime * 0.05);\n float sheen = potentialFBM(local * 5.0 + flow * 1.5 + uTime * 0.08);\n col += vec3(smoothstep(0.55, 0.95, sheen) * uMetalStrength * 0.12);\n\n // directional specular + Fresnel rim.\n vec3 n = normalize(vec3(centered * 0.6, 1.0));\n float spec = fresnel(max(n.z, 0.0), 1.5);\n vec2 ldir = normalize(uLightPos - uv);\n float ldot = max(dot(centered, ldir), 0.0);\n col += vec3(spec * (0.3 + 0.7 * ldot) * 0.15);\n\n // K12 ridge-local plate VALVE: firm the alpha toward uPlateAlphaMax over a BRIGHT\n // ridge (AA legibility); the dim valley stays translucent so the metal reads.\n float structLuma = luma(col);\n float valve = smoothstep(uValveKnee, 1.0, structLuma);\n float plateA = mix(0.9, uPlateAlphaMax, valve);\n\n return vec4(col, plateA);\n}\n\nvoid main() {\n vec2 uv = vUv;\n vec3 color = sampleBG(uv); // BASE: the field passes through unchanged.\n float alpha = 1.0;\n\n for (int i = 0; i < MAX_PANELS; i++) {\n if (i >= uPanelCount) break;\n vec4 b = uBounds[i];\n vec2 gmin = b.xy;\n vec2 gmax = b.xy + b.zw;\n bool inside = uv.x >= gmin.x && uv.x <= gmax.x && uv.y >= gmin.y && uv.y <= gmax.y;\n if (inside) {\n vec4 s = glassSample(uv, b);\n color = s.rgb;\n alpha = s.a;\n }\n }\n\n fragColor = vec4(color, alpha);\n}";
@@ -1,48 +0,0 @@
1
- import { type easeInQuad } from "@mkbabb/value.js";
2
- import { type Easing, type TimingFunction } from "@mkbabb/keyframes.js";
3
- /** A value.js easing callable `(t: number) => number` (the family's shape). */
4
- export type CurveFn = typeof easeInQuad;
5
- /** The kind of a `MOTION_CURVES` row — a spring `linear()` or a cubic-bezier. */
6
- export type MotionCurveKind = "spring" | "bezier";
7
- /**
8
- * One row of the CSS↔JS curve table. CANONICAL rows carry their own JS twin;
9
- * ALIAS rows resolve through a `canonical` target (no duplicated twin).
10
- */
11
- export interface MotionCurve {
12
- /** The CSS token name, including the leading `--`. */
13
- readonly token: `--${string}`;
14
- /** `spring` (a solved `linear()` token) or `bezier` (a cubic-bezier token). */
15
- readonly kind: MotionCurveKind;
16
- /**
17
- * The JS twin — a callable `Easing` (springs, via `springTimingFunction`) or a
18
- * `TimingFunction` (`(t) => number`, beziers via `CSSCubicBezier`). For ALIAS
19
- * rows this is the canonical row's twin (resolve-through, not a copy).
20
- */
21
- readonly js: Easing | TimingFunction;
22
- /**
23
- * For an ALIAS row: the canonical `--token` this resolves through. `undefined`
24
- * on a canonical row.
25
- */
26
- readonly canonical?: `--${string}`;
27
- /** The register doc (springs lift it from the shared preset table). */
28
- readonly note: string;
29
- }
30
- /**
31
- * The CSS↔JS curve table, keyed by CSS token name. Covers EVERY `--ease-*` /
32
- * `--spring-*` token declared in `tokens.css §2` + `theme.css` (CURVE-TABLE-BOUND
33
- * gate §3.2). Spring rows carry a keyframes.js `Easing`; bezier rows a value.js
34
- * `TimingFunction`; alias rows resolve through their `canonical` target.
35
- *
36
- * @example
37
- * import { MOTION_CURVES } from "@mkbabb/glass-ui/motion";
38
- * const easing = MOTION_CURVES["--spring-snappy"].js; // the iOS-control twin
39
- * new NumericAnimation(frames, { timingFunction: easing });
40
- */
41
- export declare const MOTION_CURVES: Readonly<Record<string, MotionCurve>>;
42
- /** The canonical (non-alias) curve rows, in declaration order. */
43
- export declare const MOTION_CURVES_CANONICAL: readonly MotionCurve[];
44
- /** Look up a curve's JS twin by CSS token name (throws on an unknown token). */
45
- export declare function motionCurve(token: string): MotionCurve;
46
- export { linear, easeInQuad, easeOutQuad, easeInOutQuad, easeInCubic, easeOutCubic, easeInOutCubic, easeInSine, easeOutSine, easeInOutSine, easeInCirc, easeOutCirc, easeInOutCirc, easeInExpo, easeOutExpo, easeInOutExpo, easeInBounce, CSSCubicBezier, } from "@mkbabb/value.js";
47
- export { SPRING_PRESETS, springPreset } from "./springPresets";
48
- export type { SpringPresetRow, SpringPresetName } from "./springPresets";
@@ -1,79 +0,0 @@
1
- /** The golden ratio — the barbell body diameter is the golden-minor of the slot pitch. */
2
- export declare const PHI = 1.618033988749895;
3
- /** sin(π·p)^k — 0 at the ends, peak at the midpoint. The well shape. */
4
- export declare function bell(p: number, k: number): number;
5
- /**
6
- * The barbell body diameter `D = step/φ` (a round BLOB, not a plate — the
7
- * golden-minor of the slot pitch). Floors the step at 1 so a zero pitch never
8
- * collapses D to 0.
9
- */
10
- export declare function bodyDiameter(step: number): number;
11
- /** The inputs to a single barbell projection frame — all numeric, all pure. */
12
- export interface BarbellSpan {
13
- /** The trailing slot center (px on the travel axis). */
14
- A: number;
15
- /** The leading slot center (px on the travel axis). */
16
- B: number;
17
- /** The `from` slot index. */
18
- fromIdx: number;
19
- /** The `to` slot index. */
20
- toIdx: number;
21
- /** The live interpolated `--goo-t` scalar (∈ [fromIdx, toIdx] in flight). */
22
- gooT: number;
23
- /** The resting slot pitch (px) — `D = step/φ` lands the body diameter. */
24
- step: number;
25
- /** The neck-gap fraction: how near the two bodies draw at the midpoint. */
26
- neckGap: number;
27
- /** The cartoon-weight lever (0..1; clamped here — 0 under PRM/auto). */
28
- weight: number;
29
- }
30
- /** The projected barbell geometry the engine writes onto the three elements. */
31
- export interface BarbellGeometry {
32
- /** The body diameter `D = step/φ`. */
33
- D: number;
34
- /** The trailing body center (bodyA). */
35
- cA: number;
36
- /** The leading body center (bodyB). */
37
- cB: number;
38
- /** The neck center (the midpoint of the two bodies). */
39
- mid: number;
40
- /** The on-axis neck span scale `gap/D` (spans the live centre-to-centre gap). */
41
- neckSpanScale: number;
42
- /** The cross-axis neck girth (wells → pinches, ~0 at the ends). */
43
- neckGirth: number;
44
- /** The on-axis body squash (the necking-taffy stretch). */
45
- stretchOn: number;
46
- /** The cross-axis body stretch (volume-preserving reciprocal). */
47
- stretchCross: number;
48
- /** The cross-axis lob arc (overlapping action — the merge LOBS, not slides). */
49
- arc: number;
50
- }
51
- /**
52
- * Project the BARBELL for the in-flight scalar `gooT`. `p` is the NORMALIZED
53
- * progress over the WHOLE from→to travel (a multi-gap morph spans p∈[0,1] over
54
- * the full span, so the barbell necks across the BIG gap on the SAME slow flow
55
- * curve). Pure — no closure, no DOM, no state.
56
- * sep(p) = 1 − bell(p,1)·(1 − neckGap) // 1 at the slots → neckGap at mid
57
- * mid = (A + B) / 2 ; half = (B − A)/2 · sep(p)
58
- * cA = mid − half ; cB = mid + half // bodies travel apart-then-together
59
- * neckGirth(p)= bell(p,1.5) // wells, peaks mid, ~0 at the ends
60
- */
61
- export declare function projectBarbell(span: BarbellSpan): BarbellGeometry;
62
- /**
63
- * Compose a BODY transform on the travel axis: translate(center) → -50% → scale +
64
- * the on-axis squash-&-stretch reciprocal (volume-preserving). `el` is sized to the
65
- * body diameter D, so no scale-to-fit is needed; the squash is the `--stretch` taffy.
66
- * The `arc` lobs the body centre on the CROSS axis (overlapping action). Pure string.
67
- */
68
- export declare function composeBodyTransform(center: number, arc: number, stretchOn: number, stretchCross: number, vertical: boolean): string;
69
- /**
70
- * Compose the NECK transform: translate(mid) on-axis, scaleX(gap/D) on-axis so it
71
- * spans the live gap, scaleY(neckGirth) cross-axis so it WELLS then PINCHES (~0 at
72
- * the ends → the neck vanishes at rest, no ghost throat). Pure string.
73
- */
74
- export declare function composeNeckTransform(mid: number, neckSpanScale: number, neckGirth: number, vertical: boolean): string;
75
- /**
76
- * Compose the RESTING NECK transform — the neck pinched to ~0 at the coalesced
77
- * center (no ghost throat at rest). Pure string.
78
- */
79
- export declare function composeRestNeckTransform(center: number, vertical: boolean): string;
@@ -1,88 +0,0 @@
1
- /** The five motion VECTORS a signature selects (geometry/motion, never an app name). */
2
- export type MorphVector = "lateral" | "radial" | "inward" | "axial" | "directed";
3
- /**
4
- * The motion SIGNATURE — DATA, the only thing that distinguishes the morphs. `vector`
5
- * picks the geometry; `kRest`/`kPeak` are gap-FRACTIONS (not px) the threshold band
6
- * scales by; `neckHold` is how long the neck holds before it pinches; `maxStretch` the
7
- * LOW squish cap (the anti-taffy fence).
8
- */
9
- export interface MorphSignature {
10
- vector: MorphVector;
11
- /** The neck-gap fraction at REST (bodies apart) — the threshold band floor. */
12
- kRest: number;
13
- /** The neck-gap fraction at the PEAK (bodies near, the gooey waist) — the band ceiling. */
14
- kPeak: number;
15
- /** How long (0..1 of t) the neck HOLDS its girth before it pinches (the tense pop). */
16
- neckHold: number;
17
- /** The LOW on-axis squish cap (≤~1.14 — the loud register lives in NECK girth, not body taffy). */
18
- maxStretch: number;
19
- }
20
- /**
21
- * The canonical, motion-named SIGNATURE map (DATA — the FLOOR). Every consumer reads a
22
- * `MorphSignatureName` row. NO app names, NO three code paths.
23
- */
24
- export declare const MORPH_SIGNATURES: {
25
- /** carousel / deck / pager goo: two equal beads bud apart, a concave neck wells, the
26
- * filter merges them into one barbell with a thin pinched waist, then they coalesce. */
27
- readonly lateralNeck: {
28
- readonly vector: "lateral";
29
- readonly kRest: 0.92;
30
- readonly kPeak: 0.34;
31
- readonly neckHold: 0.5;
32
- readonly maxStretch: 1.12;
33
- };
34
- /** dock fission media: the now-playing anchor stays; flanking transport PEELS along
35
- * the cross axis with a long tapering neck tail. */
36
- readonly lateralPeel: {
37
- readonly vector: "lateral";
38
- readonly kRest: 0.88;
39
- readonly kPeak: 0.4;
40
- readonly neckHold: 0.4;
41
- readonly maxStretch: 1.08;
42
- };
43
- /** dock fission search: controls fly outward like a bloom; the neck NECKS LATE (the
44
- * tense radial pop), innermost-first — an outward ripple, not a simultaneous scatter. */
45
- readonly radialBurst: {
46
- readonly vector: "radial";
47
- readonly kRest: 0.85;
48
- readonly kPeak: 0.3;
49
- readonly neckHold: 0.55;
50
- readonly maxStretch: 1.08;
51
- };
52
- /** dock fission nav: the negative radial — N masses collapse INWARD to ONE; the bridge
53
- * runs backward; --stretch peaks at coalescence. */
54
- readonly inwardMerge: {
55
- readonly vector: "inward";
56
- readonly kRest: 0.8;
57
- readonly kPeak: 0.28;
58
- readonly neckHold: 0.35;
59
- readonly maxStretch: 1.1;
60
- };
61
- /** dock V↔H: column-mass + row-mass are two distributions in ONE topology-free field;
62
- * a gooey teardrop LOBS column→row through the midpoint (no crossfade dodge). */
63
- readonly axialNeck: {
64
- readonly vector: "axial";
65
- readonly kRest: 0.9;
66
- readonly kPeak: 0.36;
67
- readonly neckHold: 0.5;
68
- readonly maxStretch: 1.14;
69
- };
70
- /** dock collapse: the DEGENERATE 1-body field — a single mass squishes between two
71
- * footprints (no waist, Tier-C). The ratio-free convex blend. */
72
- readonly collapse: {
73
- readonly vector: "axial";
74
- readonly kRest: 1;
75
- readonly kPeak: 1;
76
- readonly neckHold: 0;
77
- readonly maxStretch: 1.14;
78
- };
79
- /** drag morph: a grabbed rect → drop rect, an optional directed neck. */
80
- readonly directed: {
81
- readonly vector: "directed";
82
- readonly kRest: 0.9;
83
- readonly kPeak: 0.42;
84
- readonly neckHold: 0.45;
85
- readonly maxStretch: 1.1;
86
- };
87
- };
88
- export type MorphSignatureName = keyof typeof MORPH_SIGNATURES;
@@ -1,2 +0,0 @@
1
- export { NumericAnimation, SpringProgress, SmoothProgress, Oscillator, Sequence, Timeline, ManualTimeline, RAFPlayback, KeyframesScrollTimeline, createNativeTimeline, flip, flipShared, ElementMorph, drag, drag2D, Draggable, decay, decayRest, reseatToSpring, probeVelocity, reducedMotionScale, waveformValue, warmEngine, stagger, springTimingFunction, springLinearStops, toEasing, resolveEasing, AnimationOptionError, UnknownEasingError, loadAnimationEngine, } from "@mkbabb/keyframes.js";
2
- export type { Easing, TimingFunction, TimingFunctionNames, SpringProgressOptions, SpringFrameCallback, SpringSubscriber, SpringLinearStopsOptions, SpringTimingFunctionOptions, SmoothProgressOptions, NumericAnimationOptions, NumericFrameCallback, SequenceEntry, SequenceOptions, SequencePosition, TimelineOptions, NativeTimelineSpec, RAFPlaybackOptions, Tickable, FlipOptions, ElementMorphOptions, MorphRect, DragOptions, DragAxis, DragSubscriber, DecayOptions, DecaySample, StaggerFn, StaggerOptions, StaggerOrigin, AnimationEngine, AnimationOptions, AnimationFrame, InputAnimationOptions, ResolvedKeyframes, Vars, } from "@mkbabb/keyframes.js";
@@ -1,97 +0,0 @@
1
- import { type Ref } from "vue";
2
- import { type SpringPresetName } from "./springPresets";
3
- /** The bloom spring register — `snappy` (the quick shared-element default) or `bouncy`
4
- * (the emphatic large-surface bloom). A subset of the named `SPRING_PRESETS` rows,
5
- * matching `useLiquidReveal`/`useDockCtaReceive` so the bloom family reads as ONE. */
6
- export type BloomUpPreset = Extract<SpringPresetName, "snappy" | "bouncy">;
7
- export interface UseBloomUpOptions {
8
- /** The spring register (default `snappy`). */
9
- preset?: BloomUpPreset;
10
- /** The starting filter-blur radius in px on the destination (the decongest start). Default 4. */
11
- blur?: number;
12
- /**
13
- * The dominant source hue the FIELD warms toward — a complete `<color>` (an
14
- * `oklch()`/`#hex`/named). When omitted, the leaf reads `--glass-ambient-hue` off
15
- * the SOURCE element's computed style (the BE.W-AMBIENT-TINT convergence — the
16
- * album card carries its own dominant hue). A `transparent`/empty read is the
17
- * neutral no-op (the field tints nothing — a gray source warms nothing).
18
- */
19
- fieldHue?: string;
20
- /**
21
- * The FIELD CONTAINER the 4th color channel writes onto — the destination's
22
- * ancestor field (the DockStage / now-playing field). When omitted, the leaf walks
23
- * up from `destRef` to the nearest ancestor carrying `[data-glass-field]` (the
24
- * field-marker contract), falling back to `destRef.parentElement`. The hue + the
25
- * ramped strength are written HERE, never on the blooming surface (the
26
- * compositor-only floor de-risk).
27
- */
28
- field?: Ref<HTMLElement | null>;
29
- /**
30
- * The bounded ambient-strength target the field ramps to (a percentage, `0..8`).
31
- * Default 8 (the AMBIENT-TINT ceiling — the loudest sub-perceptual warm). Clamped
32
- * to `[0, 8]` so a consumer can never flood the field past the warm-cream identity.
33
- */
34
- fieldStrength?: number;
35
- /** Honor `prefers-reduced-motion: reduce` (snap surface to settled, land hue instantly). Default true. */
36
- respectReducedMotion?: boolean;
37
- /**
38
- * Auto-prime the destination the moment it mounts — seat it at the collapsed/hidden
39
- * initial state (opacity 0 + the source-FLIP transform) BEFORE the browser paints,
40
- * so a freshly-`v-if`-mounted dest never flashes its full-size frame before `bloom()`
41
- * fires. A `watch(dest, …, { flush: "pre" })` runs in the SAME tick the element
42
- * mounts. Default `true` — the no-flash floor; pass `false` to opt a consumer that
43
- * owns its own initial-state seating out. `prime()` is the explicit imperative twin.
44
- */
45
- autoPrime?: boolean;
46
- /**
47
- * Fired ONCE when the bloom has settled (the hand-off — the consumer marks the
48
- * bloom complete: hides the source, owns the destination). Fires on the animation
49
- * settle AND on the PRM/no-rAF snap (the bloom always completes).
50
- */
51
- onBloomed?: () => void;
52
- }
53
- export interface UseBloomUpReturn {
54
- /**
55
- * Bloom the destination up from the source's rect. Idempotent per call — measures
56
- * the source + destination rects fresh, drives the FLIP inversion spring 1→0 on the
57
- * surface AND ramps the field hue 0→target. A no-op if the destination element is
58
- * not yet mounted (no `onBloomed`).
59
- */
60
- bloom: () => void;
61
- /**
62
- * Clear the bloom transform (restore the destination to its settled identity,
63
- * opacity 1) AND release the field hue (strength → 0). The abort/reset seam —
64
- * cancels any in-flight bloom; does NOT fire `onBloomed`.
65
- */
66
- reset: () => void;
67
- /**
68
- * Seat the destination at its collapsed/hidden initial state (opacity 0 + the
69
- * source-FLIP transform) WITHOUT animating — so a freshly-mounted dest shows
70
- * NOTHING until `bloom()` fires (the no-mount-flash seam). Idempotent; a no-op if
71
- * the dest is not yet mounted. The auto-prime (`autoPrime`, default on) calls this
72
- * for the consumer; `prime()` is the explicit imperative twin.
73
- */
74
- prime: () => void;
75
- /** The reactive bloom state — `true` while a bloom is in flight, `false` at rest. */
76
- blooming: Readonly<Ref<boolean>>;
77
- }
78
- /**
79
- * The iOS-27 shared-element bloom with the 4th color channel. Composes the kf
80
- * `ElementMorph` + `springTimingFunction` into the three-channel geometry bloom on the
81
- * DESTINATION surface (scale+fade+blur-decongest from the SOURCE's origin) PLUS a 4th
82
- * color channel on the destination FIELD (the field warms to the source's hue on the
83
- * SAME spring curve). Compositor-only on the surface + Safari-safe + PRM-snap. See the
84
- * module header for the REUSE + the FLIP inversion + the channel split.
85
- *
86
- * @example
87
- * ```ts
88
- * const { bloom, reset, blooming } = useBloomUp(albumCardRef, fullscreenRef, {
89
- * preset: "bouncy",
90
- * fieldHue: albumDominantHue, // or omit to read --glass-ambient-hue off the card
91
- * field: nowPlayingFieldRef,
92
- * onBloomed: () => (fullscreenOpen.value = true),
93
- * })
94
- * function onTapAlbum() { bloom() }
95
- * ```
96
- */
97
- export declare function useBloomUp(source: Ref<HTMLElement | null>, dest: Ref<HTMLElement | null>, options?: UseBloomUpOptions): UseBloomUpReturn;
@@ -1,44 +0,0 @@
1
- import type { MaybeRefOrGetter, Ref } from "vue";
2
- /** The per-step delay floor matches the shipped `.char-stagger` recipe — the
3
- * glyph spans are mounted via `requestAnimationFrame`-free DOM writes; the CSS
4
- * owns the timing. No magic timing lives here. */
5
- export interface UseCharStaggerOptions {
6
- /**
7
- * Split unit. `"char"` (default) splits per UTF-16 code-unit-safe scalar;
8
- * `"word"` splits on whitespace and keeps each word as ONE `.char` unit;
9
- * `"grapheme"` uses `Intl.Segmenter` so emoji / combining-mark / ZWJ
10
- * sequences (a 👨‍👩‍👧 family) are ONE glyph, never split into pieces.
11
- */
12
- by?: "char" | "word" | "grapheme";
13
- /**
14
- * Preserve whitespace as non-animating spacer spans so the word spacing
15
- * survives the `inline-block` split. Default `true`.
16
- */
17
- preserveWhitespace?: boolean;
18
- /**
19
- * Write `--char-total` (the glyph count) on the wrapper, for a length-
20
- * proportional / center-out / reverse stagger. Default `true`.
21
- */
22
- writeTotal?: boolean;
23
- }
24
- export interface UseCharStaggerReturn {
25
- /** Re-run the split (after a `textContent` change). Idempotent — it restores
26
- * the original text from the cached label and re-mints, so spans never
27
- * accrete across re-splits. */
28
- split: () => void;
29
- /** The resolved glyph (`.char` unit) count. */
30
- count: Ref<number>;
31
- }
32
- /**
33
- * Split a target element's text into per-glyph `.char` spans + the
34
- * `--char-index`/`--char-total` customs the shipped `.char-stagger` CSS reads —
35
- * accessible by construction (the wrapper keeps the full text as its
36
- * `aria-label`, every glyph span is `aria-hidden`).
37
- *
38
- * @example
39
- * const el = ref<HTMLElement | null>(null);
40
- * const { count } = useCharStagger(el, { by: "grapheme" });
41
- * // <span ref="el" class="char-stagger" aria-label="Fourier" style="--char-total:7">
42
- * // <span class="char" style="--char-index:0" aria-hidden>F</span> …
43
- */
44
- export declare function useCharStagger(target: MaybeRefOrGetter<HTMLElement | null>, opts?: UseCharStaggerOptions): UseCharStaggerReturn;
@@ -1,107 +0,0 @@
1
- import { type MorphRect } from "@mkbabb/keyframes.js";
2
- import { type ComponentPublicInstance, type Ref } from "vue";
3
- import { type SpringPresetName } from "./springPresets";
4
- /** A morph endpoint — a templateRef to an element/component, or the literal `"self"`
5
- * (the morphed surface's OWN settled rect). */
6
- export type MorphEndpoint = Ref<HTMLElement | ComponentPublicInstance | null> | "self";
7
- /** The morph register — `snappy` (the quick app-open default) or `bouncy` (the emphatic
8
- * large-surface bloom). A subset of the named `SPRING_PRESETS` rows shared by every
9
- * bloom leaf so the family reads as ONE spring register. */
10
- export type ElementMorphPreset = Extract<SpringPresetName, "snappy" | "bouncy">;
11
- /** The declarative channel set the morph couples onto the spring clock. */
12
- export interface MorphChannels {
13
- /** Fade the surface with the morph (opacity = 1 − morphProgress). Default `true`. */
14
- opacity?: boolean;
15
- /** The `filter: blur()` magnitude in px at the small `to` end (decongest/congest).
16
- * Default `0` (no blur channel). */
17
- blur?: number;
18
- }
19
- export interface UseElementMorphOptions {
20
- /** The `apply(el,0)` endpoint. Default `"self"` (the surface's own settled rect). */
21
- from?: MorphEndpoint;
22
- /** The `apply(el,1)` endpoint (the foreign trigger/source/dock-control). A null-
23
- * resolving ref degrades to a 92%-inset of the surface's own rect (the no-anchor
24
- * self-scale fallback — still spring-clocked, never a flat zoom). */
25
- to?: MorphEndpoint;
26
- /** `"in"` = FLIP inversion 1→0 (arrive at `from`); `"out"` = forward 0→1 (depart to
27
- * `to`). Default `"in"`. */
28
- direction?: "in" | "out";
29
- /** The coupled channels (opacity + blur). */
30
- channels?: MorphChannels;
31
- /** The spring register (default `snappy`). Sampled via `springPreset(name)`. */
32
- preset?: ElementMorphPreset;
33
- /** `transform-origin` resolution: anchor at `from`/`to` (relative to the surface),
34
- * `"center"`, or a raw CSS string. Default `"to"`. */
35
- origin?: "from" | "to" | "center" | string;
36
- /** Honor `prefers-reduced-motion: reduce` (snap to terminal, fade survives). Default `true`. */
37
- respectReducedMotion?: boolean;
38
- /** Fired ONCE at the terminal (animation settle AND the PRM/SSR snap) — the hand-off
39
- * seam (the cta seat clear + onReceived, the bloom field-land + onBloomed). */
40
- onSettled?: () => void;
41
- /** Fired each frame with the clamped [0,1] eased ARRIVAL progress — the extra-channel
42
- * hook (the bloom field-strength ramp). Not called on the PRM/SSR snap; `onSettled`
43
- * lands the terminal value there. */
44
- onFrame?: (progress: number) => void;
45
- }
46
- export interface UseElementMorphReturn {
47
- /** Measure `from`/`to` fresh + drive the morph. Interruptible — a mid-flight `play()`
48
- * re-measures + retargets (never restarts from the current computed value). */
49
- play: () => void;
50
- /** Cancel any in-flight morph + release the transition lock (does NOT clear styles
51
- * or fire `onSettled` — the abort seam). */
52
- cancel: () => void;
53
- /** Clear the inline morph styles (transform/origin/opacity/filter) — the reset seam. */
54
- clear: (el?: HTMLElement | null) => void;
55
- /** Statically seat the morph at a fixed [0,1] progress WITHOUT animating (the no-
56
- * mount-flash prime — transform only, no rAF, no lock). */
57
- seat: (progress: number) => void;
58
- /** `true` while a morph is in flight. */
59
- playing: Readonly<Ref<boolean>>;
60
- /** The live eased ARRIVAL progress (0 at play start → 1 at settle). */
61
- progress: Readonly<Ref<number>>;
62
- /** Geometry and engine horizon measured by this owner for the current play. */
63
- measurement: Readonly<Ref<ElementMorphMeasurement | null>>;
64
- }
65
- export interface ElementMorphMeasurement {
66
- readonly travelPx: number;
67
- readonly scaleX: number;
68
- readonly scaleY: number;
69
- readonly durationMs: number;
70
- }
71
- /**
72
- * Resolve a templateRef value to its root HTMLElement — accepts an element directly OR a
73
- * Vue component public instance (its `.$el`). Returns null for a fragment/text root or a
74
- * nullish ref. THIS is the [[glass-ui binding verification]] cure: a `ref` bound to a
75
- * COMPONENT resolves to the component public INSTANCE (no `getBoundingClientRect`/
76
- * `setAttribute`), so the morph silently no-ops / throws. Every bloom leaf imports this
77
- * ONE resolver (the α binding-verification fix) — a surface/trigger binds either an
78
- * element ref or a component ref without dying.
79
- */
80
- export declare function asElement(v: HTMLElement | ComponentPublicInstance | null | undefined): HTMLElement | null;
81
- /** The 92%-inset self-scale fallback (a null-resolving anchor blooms from a small inset
82
- * of the surface's own rect — never a flat zoom). */
83
- export declare function insetSelf(r: MorphRect): MorphRect;
84
- /**
85
- * The driver-lock seam — set inline `transition-property: none` on `el` (beating the F5.2
86
- * liquid-weight `transition` default + any Tailwind `transition*` utility) so the rAF
87
- * transform writes are not fought; the returned release restores the prior value.
88
- */
89
- export declare function lockSpatialTransition(el: HTMLElement): () => void;
90
- /** The live reduced-motion probe (matchMedia, SSR-safe) — exported so a wrapper that owns
91
- * a NON-animated terminal seat (the cta "snap gone + hand off") shares the ONE probe. */
92
- export declare function prefersReducedMotion(): boolean;
93
- /**
94
- * The ONE compositor FLIP/morph runner. Composes the kf `ElementMorph` +
95
- * `springTimingFunction` into a single interruptible, PRM-safe, compositor-only morph the
96
- * three bloom leaves collapse onto. See the module header for the two directions + the
97
- * channel math + the PRM snap + the driver-lock seam.
98
- *
99
- * @example
100
- * ```ts
101
- * const engine = useElementMorph(surfaceRef, {
102
- * to: triggerRef, direction: "in", channels: { opacity: true, blur: 4 },
103
- * })
104
- * watch(open, (o) => (o ? engine.play() : engine.cancel()))
105
- * ```
106
- */
107
- export declare function useElementMorph(surface: Ref<HTMLElement | ComponentPublicInstance | null>, options?: UseElementMorphOptions): UseElementMorphReturn;
@@ -1,72 +0,0 @@
1
- import { type Ref } from "vue";
2
- /**
3
- * The three barbell silhouette elements the engine projects per frame. NOT
4
- * `morph.children[i]` index-reaching (the fragile KISS-violating path) — three EXPLICIT
5
- * refs the consumer renders + binds.
6
- */
7
- export interface GooBarbellRefs {
8
- /** The trailing round body (the OUTGOING droplet). */
9
- bodyARef: Ref<HTMLElement | null>;
10
- /** The leading round body (the INCOMING droplet). */
11
- bodyBRef: Ref<HTMLElement | null>;
12
- /** The welling concave-throat neck between the two bodies. */
13
- neckRef: Ref<HTMLElement | null>;
14
- }
15
- export interface UseGooMorphParams {
16
- /**
17
- * The barbell silhouette refs — two round bodies + a welling concave neck. The engine
18
- * writes their three transforms each frame (the merge needs ≥2 masses; the neck is the
19
- * bridge). NO single-element `morphRef` — the barbell IS the morph.
20
- */
21
- barbellRefs: GooBarbellRefs;
22
- /** The geometry origin + the `--goo-t` transition host (the rail/track root). */
23
- hostRef: Ref<HTMLElement | null>;
24
- /** Travel axis. `false` → horizontal (translateX), `true` → vertical (translateY). */
25
- vertical: Ref<boolean>;
26
- /**
27
- * Live center reader: the on-axis center (px, relative to the host content box)
28
- * of slot `i`, on the travel axis. MEASURED off the live DOM (windowFit-correct,
29
- * both axes) — never a hardcoded pitch.
30
- */
31
- centerOf: (i: number) => number | null;
32
- /**
33
- * The resting slot pitch (px) on the travel axis. The barbell body diameter is the
34
- * golden-minor `D = restSize()/φ` (a BLOB, not a plate) — so the consumer passes the
35
- * slot STEP, not a pre-shrunk body size.
36
- */
37
- restSize: () => number;
38
- /**
39
- * The token prefix for the flow/duration/max-stretch reads. Default `"pager-worm"`
40
- * (the dot-pip register). The carousel passes `"carousel-goo"`; the deck `"deck-goo"`
41
- * — each reads its OWN `--{prefix}-flow`/`-duration`/`-max-stretch` so a card-scale
42
- * barbell dwells/swells at its own scale, the dot at its own. ONE engine, per-consumer
43
- * tokens (the no-new-spring fence — they all resolve `--spring-*`-derived `linear()`).
44
- */
45
- tokenPrefix?: string;
46
- /**
47
- * The neck-gap fraction — how near the two bodies draw at the midpoint (sep's floor:
48
- * 1 at the slots → `neckGap` at mid). Lower = the bodies near closer → a tighter,
49
- * gooier waist. Default 0.78 (carousel). Pager 0.7, deck 0.85. (= `--{prefix}-neck-gap`
50
- * if the consumer prefers a token; the param is the engine default.)
51
- */
52
- neckGap?: number;
53
- }
54
- export interface UseGooMorphReturn {
55
- /**
56
- * Travel the barbell from `from` to `to` (slot indices). Sets the `--goo-t`
57
- * transition target (the spring glides it) and runs a short rAF that projects the
58
- * interpolated scalar onto the three-element barbell each frame. PRM → instant snap to
59
- * ONE resting body, no squish.
60
- */
61
- travel(from: number, to: number): void;
62
- /** Snap the barbell to ONE resting body on `index` immediately (first paint / resize / PRM). */
63
- snap(index: number): void;
64
- /**
65
- * Drag-driven continuous drive: set `--goo-t` DIRECTLY to a fractional slot position
66
- * (the live drag scrollProgress, e.g. embla's `scrollProgress()*lastIndex`) with NO
67
- * transition, and project the barbell for it. The neck wells with the live drag; call
68
- * `travel()` on the snap to glide the release. PRM → snap.
69
- */
70
- drive(fractionalIndex: number): void;
71
- }
72
- export declare function useGooMorph(params: UseGooMorphParams): UseGooMorphReturn;
@@ -1,41 +0,0 @@
1
- export type TaskPriority = "user-blocking" | "user-visible" | "background";
2
- export interface PostTaskOptions {
3
- /** Scheduling priority. Defaults to the platform default ('user-visible'). */
4
- priority?: TaskPriority;
5
- /** Abort the task before it runs (rejects the returned promise). */
6
- signal?: AbortSignal;
7
- /** Delay in ms before the task becomes eligible to run. */
8
- delay?: number;
9
- }
10
- /**
11
- * Schedule `callback` at an explicit priority, resolving with its result.
12
- * Native `scheduler.postTask` when available; otherwise a `MessageChannel`
13
- * macrotask (honouring `delay` via `setTimeout`, and `signal` via a plain
14
- * `AbortSignal` check) that cannot order by priority but still runs off the
15
- * current task.
16
- *
17
- * @example
18
- * await postTaskSafe(() => recomputeHistory(), { priority: "background" });
19
- */
20
- export declare function postTaskSafe<T>(callback: () => T, options?: PostTaskOptions): Promise<T>;
21
- export interface UsePrioritizedTaskReturn {
22
- /**
23
- * Schedule a unit of work. The controller's `signal` is merged in (its own
24
- * `abort()` cancels every task it scheduled), and an explicit `options.signal`
25
- * still applies on the fallback path.
26
- */
27
- postTask: <T>(callback: () => T, options?: PostTaskOptions) => Promise<T>;
28
- /** Abort every task scheduled through this controller. */
29
- abort: (reason?: unknown) => void;
30
- }
31
- /**
32
- * Composable wrapper over {@link postTaskSafe} that owns a `TaskController`
33
- * (when supported) so a single `abort()` cancels every task it scheduled — the
34
- * controller a consumer constructs once and tears down on unmount. When
35
- * `TaskController` is absent the controller is a no-op shell and per-task
36
- * `options.signal` is the only cancellation channel.
37
- *
38
- * Pure-native (no `vue` import) — owns no reactive state and no lifecycle, so it
39
- * has no cleanup obligation beyond the `abort()` the consumer calls itself.
40
- */
41
- export declare function usePrioritizedTask(priority?: TaskPriority): UsePrioritizedTaskReturn;