@mkbabb/glass-ui 4.1.0 → 4.2.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 (430) hide show
  1. package/dist/{CardAction-8whJrLWt.js → CardAction-DlVP2evz.js} +58 -54
  2. package/dist/{CommandShortcut-D3yxgHNn.js → CommandShortcut-By-VQcLO.js} +3 -3
  3. package/dist/{ConfiguratorRow-CaP7U3ZA.js → ConfiguratorRow-YMXdINHx.js} +3 -3
  4. package/dist/{ContextMenuContent-B3ZsheLV.js → ContextMenuContent-CMWn6huB.js} +1 -1
  5. package/dist/{ContextMenuSubContent-DDRID3qC.js → ContextMenuSubContent-DvwWCUc0.js} +1 -1
  6. package/dist/{DataTable-Bc9kUtu_.js → DataTable-C4tG3eIJ.js} +4 -4
  7. package/dist/DialogContent-D8U9ZfWS.js +121 -0
  8. package/dist/{DialogScrollContent-TTuovQst.js → DialogScrollContent-BMekN7gq.js} +1 -1
  9. package/dist/{FadingScroll-DLRbH5Xr.js → FadingScroll-P8B30rAD.js} +1 -1
  10. package/dist/{HoverCardContent-Bel1gdLZ.js → HoverCardContent-DAmGYglo.js} +1 -1
  11. package/dist/{HoverPopover-BcIxvyqZ.js → HoverPopover-DYpBOzzF.js} +1 -1
  12. package/dist/{IconChip-DhbdGdFQ.js → IconChip-CQa7XZYc.js} +7 -5
  13. package/dist/{IconTooltip-B0zimd2H.js → IconTooltip-_df8M3xm.js} +1 -1
  14. package/dist/{Input-Cg9DF62r.js → Input-CyU4_hIC.js} +2 -2
  15. package/dist/{MetricBadge-RHdBP72w.js → MetricBadge-DQt_dGah.js} +1 -1
  16. package/dist/{Notification-CphK7AAm.js → Notification-BlSPJhtZ.js} +1 -1
  17. package/dist/{NumberFieldContent-D8cXeyO4.js → NumberFieldContent-Z3VxGu_6.js} +3 -3
  18. package/dist/PagerDots-CYlqVFd4.js +196 -0
  19. package/dist/PaperBackdrop-DYWgrnh8.js +42 -0
  20. package/dist/{PopoverContent-DL7E6vJP.js → PopoverContent-BuKyHZSz.js} +2 -2
  21. package/dist/{Progress-CnqB7gLm.js → Progress-C9SsdwIZ.js} +1 -1
  22. package/dist/{ScrollingText-CTZbA_cG.js → ScrollingText-DY3W1Jfh.js} +2 -2
  23. package/dist/{SelectScrollDownButton-DAKCBEdW.js → SelectScrollDownButton-3mFHX_R-.js} +15 -12
  24. package/dist/{Switch-B8RscmRu.js → Switch-uf-UKPA2.js} +1 -1
  25. package/dist/{Toaster-D9qIHjBI.js → Toaster-ozrsR4mP.js} +1 -1
  26. package/dist/{ToggleGroupItem-BLtr3TJq.js → ToggleGroupItem-BpzaVzNm.js} +4 -4
  27. package/dist/{TooltipProvider-BJ_Y5EGX.js → TooltipProvider-QQVM_80r.js} +1 -1
  28. package/dist/animated-digit.js +2 -2
  29. package/dist/api/index.d.ts +1 -0
  30. package/dist/api/types-extra.d.ts +3 -1
  31. package/dist/api.js +2 -2
  32. package/dist/aurora.js +163 -131
  33. package/dist/badge-Bt14yURi.js +72 -0
  34. package/dist/badge.js +1 -1
  35. package/dist/border-progress.js +1 -1
  36. package/dist/button-D1W9PrzI.js +130 -0
  37. package/dist/button.js +1 -1
  38. package/dist/canvas.js +1 -1
  39. package/dist/card.js +1 -1
  40. package/dist/carousel.js +227 -98
  41. package/dist/chipVariants-BJQ0I2kB.js +18 -0
  42. package/dist/collapsible.js +1 -1
  43. package/dist/color.js +1 -1
  44. package/dist/command.js +1 -1
  45. package/dist/components/custom/aurora/composables/glSetup.d.ts +1 -1
  46. package/dist/components/custom/aurora/composables/uniformBridgeWGPU.d.ts +1 -1
  47. package/dist/components/custom/aurora/constants/presets.d.ts +29 -0
  48. package/dist/components/custom/aurora/constants/shaders/aurora.wgsl.d.ts +1 -1
  49. package/dist/components/custom/aurora/index.d.ts +1 -1
  50. package/dist/components/custom/concentric/Concentric.vue.d.ts +15 -12
  51. package/dist/components/custom/concentric/composables/concentricGLSetup.d.ts +8 -3
  52. package/dist/components/custom/concentric/composables/concentricWGPUSetup.d.ts +8 -4
  53. package/dist/components/custom/concentric/composables/levelField.d.ts +50 -0
  54. package/dist/components/custom/concentric/composables/uniformBridgeWGPU.d.ts +7 -4
  55. package/dist/components/custom/concentric/composables/useConcentric.d.ts +3 -3
  56. package/dist/components/custom/concentric/constants.d.ts +62 -41
  57. package/dist/components/custom/concentric/index.d.ts +2 -2
  58. package/dist/components/custom/concentric/shaders/concentric.glsl.d.ts +2 -2
  59. package/dist/components/custom/concentric/shaders/concentric.wgsl.d.ts +1 -1
  60. package/dist/components/custom/configurator/Configurator.vue.d.ts +23 -2
  61. package/dist/components/custom/configurator/index.d.ts +1 -1
  62. package/dist/components/custom/dock/DockDropdownTrigger.vue.d.ts +4 -3
  63. package/dist/components/custom/dock/DockIconButton.vue.d.ts +10 -0
  64. package/dist/components/custom/dock/DockPopoverTrigger.vue.d.ts +19 -0
  65. package/dist/components/custom/dock/DockStack.vue.d.ts +35 -22
  66. package/dist/components/custom/dock/GlassDock.vue.d.ts +19 -3
  67. package/dist/components/custom/dock/composables/dockMorphContext.d.ts +18 -32
  68. package/dist/components/custom/dock/composables/dockMorphMeasure.d.ts +76 -145
  69. package/dist/components/custom/dock/composables/index.d.ts +1 -0
  70. package/dist/components/custom/dock/composables/railProjection.d.ts +45 -0
  71. package/dist/components/custom/dock/composables/useDockContextSilhouette.d.ts +192 -0
  72. package/dist/components/custom/dock/composables/useDockFission.d.ts +158 -0
  73. package/dist/components/custom/dock/composables/useDockItemDrag.d.ts +18 -0
  74. package/dist/components/custom/dock/composables/useDockShellProps.d.ts +38 -0
  75. package/dist/components/custom/dock/constants.d.ts +14 -3
  76. package/dist/components/custom/dock/index.d.ts +3 -0
  77. package/dist/components/custom/dot-flow-field/composables/flowField.d.ts +21 -0
  78. package/dist/components/custom/dot-flow-field/composables/flowGLProgram.d.ts +8 -0
  79. package/dist/components/custom/dot-flow-field/composables/flowSetupGL.d.ts +9 -0
  80. package/dist/components/custom/dot-flow-field/composables/flowSetupGLFlow.d.ts +12 -0
  81. package/dist/components/custom/dot-flow-field/composables/flowSetupWGPU.d.ts +7 -0
  82. package/dist/components/custom/dot-flow-field/composables/uniformBridgeWGPU.d.ts +28 -2
  83. package/dist/components/custom/dot-flow-field/composables/useFlowParticles.d.ts +18 -17
  84. package/dist/components/custom/dot-flow-field/constants.d.ts +51 -0
  85. package/dist/components/custom/dot-flow-field/index.d.ts +1 -1
  86. package/dist/components/custom/dot-flow-field/shaders/flow-field.compute.wgsl.d.ts +1 -1
  87. package/dist/components/custom/dot-flow-field/shaders/flow-field.glsl.d.ts +29 -0
  88. package/dist/components/custom/dot-flow-field/shaders/flow-field.render.wgsl.d.ts +2 -1
  89. package/dist/components/custom/dot-matrix/composables/uniformBridgeWGPU.d.ts +10 -1
  90. package/dist/components/custom/dot-matrix/composables/useDotSphere.d.ts +7 -0
  91. package/dist/components/custom/dot-matrix/constants.d.ts +14 -0
  92. package/dist/components/custom/dot-matrix/index.d.ts +1 -1
  93. package/dist/components/custom/dot-matrix/shaders/dot-matrix.glsl.d.ts +2 -2
  94. package/dist/components/custom/dot-matrix/shaders/dot-matrix.wgsl.d.ts +1 -1
  95. package/dist/components/custom/fourier-field/FourierField.vue.d.ts +4 -0
  96. package/dist/components/custom/fourier-field/composables/fourierFieldGLSetup.d.ts +9 -0
  97. package/dist/components/custom/fourier-field/composables/fourierFieldWGPUSetup.d.ts +11 -0
  98. package/dist/components/custom/fourier-field/composables/uniformBridgeWGPU.d.ts +16 -1
  99. package/dist/components/custom/fourier-field/composables/useFourierField.d.ts +22 -1
  100. package/dist/components/custom/fourier-field/constants.d.ts +53 -0
  101. package/dist/components/custom/fourier-field/shaders/fourier-field.glsl.d.ts +1 -1
  102. package/dist/components/custom/fourier-field/shaders/fourier-field.render.wgsl.d.ts +1 -1
  103. package/dist/components/custom/goo-blob/composables/easing.d.ts +1 -0
  104. package/dist/components/custom/goo-blob/composables/useBlobSatellites.d.ts +1 -0
  105. package/dist/components/custom/goo-blob/constants.d.ts +26 -1
  106. package/dist/components/custom/goo-blob/shaders/metaball-uniforms.glsl.d.ts +1 -1
  107. package/dist/components/custom/goo-blob/shaders/metaball.wgsl.d.ts +1 -1
  108. package/dist/components/custom/goo-blob/types.d.ts +50 -1
  109. package/dist/components/custom/goo-dot-matrix/composables/gooDotSetup.d.ts +32 -3
  110. package/dist/components/custom/goo-dot-matrix/composables/uniformBridgeWGPU.d.ts +14 -4
  111. package/dist/components/custom/goo-dot-matrix/constants.d.ts +55 -16
  112. package/dist/components/custom/goo-dot-matrix/index.d.ts +1 -1
  113. package/dist/components/custom/goo-dot-matrix/shaders/goo-dot.frag.d.ts +2 -0
  114. package/dist/components/custom/goo-dot-matrix/shaders/goo-dot.wgsl.d.ts +1 -0
  115. package/dist/components/custom/goo-filter/GooFilter.vue.d.ts +22 -0
  116. package/dist/components/custom/goo-filter/index.d.ts +1 -0
  117. package/dist/components/custom/handmark/brush.d.ts +17 -17
  118. package/dist/components/custom/handmark/constants.d.ts +28 -8
  119. package/dist/components/custom/handmark/geometry.d.ts +34 -1
  120. package/dist/components/custom/handmark/index.d.ts +1 -1
  121. package/dist/components/custom/icon-chip/types.d.ts +10 -0
  122. package/dist/components/custom/paper-backdrop/PaperBackdrop.vue.d.ts +18 -0
  123. package/dist/components/custom/paper-grid/composables/paperGrid.d.ts +44 -29
  124. package/dist/components/custom/paper-grid/composables/paperGridGLSetup.d.ts +2 -0
  125. package/dist/components/custom/paper-grid/composables/paperGridWGPUSetup.d.ts +3 -1
  126. package/dist/components/custom/paper-grid/composables/uniformBridgeWGPU.d.ts +2 -2
  127. package/dist/components/custom/paper-grid/constants.d.ts +44 -6
  128. package/dist/components/custom/paper-grid/index.d.ts +2 -2
  129. package/dist/components/custom/paper-grid/shaders/paper-grid.glsl.d.ts +1 -1
  130. package/dist/components/custom/paper-grid/shaders/paper-grid.wgsl.d.ts +1 -1
  131. package/dist/components/custom/selectable-chip/chipVariants.d.ts +39 -0
  132. package/dist/components/custom/selectable-chip/selectableChipVariants.d.ts +12 -20
  133. package/dist/components/custom/tabs/constants.d.ts +16 -8
  134. package/dist/components/custom/timeline/ScrubberTimeline.vue.d.ts +16 -0
  135. package/dist/components/custom/timeline/geometry.d.ts +0 -8
  136. package/dist/components/custom/toggle-chip/index.d.ts +15 -4
  137. package/dist/components/custom/watercolor-dot/WatercolorDot.vue.d.ts +12 -10
  138. package/dist/components/ui/_shared/useSurfaceAxis.d.ts +17 -3
  139. package/dist/components/ui/badge/Badge.vue.d.ts +14 -0
  140. package/dist/components/ui/badge/index.d.ts +1 -0
  141. package/dist/components/ui/button/Button.vue.d.ts +1 -0
  142. package/dist/components/ui/card/Card.vue.d.ts +1 -1
  143. package/dist/components/ui/card/ScrollCard.vue.d.ts +1 -1
  144. package/dist/components/ui/carousel/CarouselContent.vue.d.ts +2 -4
  145. package/dist/components/ui/dialog/DialogContent.vue.d.ts +9 -0
  146. package/dist/components/ui/drawer/Drawer.vue.d.ts +33 -14
  147. package/dist/components/ui/drawer/constants.d.ts +8 -6
  148. package/dist/components/ui/drawer/index.d.ts +12 -2
  149. package/dist/components/ui/select/SelectContent.vue.d.ts +9 -0
  150. package/dist/components/ui/slider/Slider.vue.d.ts +9 -0
  151. package/dist/composables/dom/index.d.ts +1 -0
  152. package/dist/composables/dom/useDragVelocity.d.ts +46 -0
  153. package/dist/composables/glass/wave/index.d.ts +4 -0
  154. package/dist/composables/glass/wave/waveField.d.ts +115 -0
  155. package/dist/composables/glass/wave/waveField.glsl.d.ts +1 -0
  156. package/dist/composables/glass/wave/waveField.wgsl.d.ts +1 -0
  157. package/dist/composables/glass/webgl/createCanvasLifecycle.d.ts +95 -2
  158. package/dist/composables/glass/webgl/useWebGLCanvas.d.ts +40 -2
  159. package/dist/composables/glass/webgpu/index.d.ts +1 -0
  160. package/dist/composables/glass/webgpu/useGpuSubstrate.d.ts +37 -0
  161. package/dist/composables/glass/webgpu/useWebGPUCanvas.d.ts +49 -2
  162. package/dist/composables/glass/webgpu/webgpuDevice.d.ts +1 -1
  163. package/dist/composables/motion/core/index.d.ts +4 -0
  164. package/dist/composables/motion/core/useHaptic.d.ts +48 -0
  165. package/dist/composables/motion/core/writeVelocityWeight.d.ts +31 -0
  166. package/dist/composables/motion/index.d.ts +2 -0
  167. package/dist/composables/motion/springPresets.d.ts +16 -17
  168. package/dist/composables/motion/suite.d.ts +2 -2
  169. package/dist/composables/motion/useBloomUp.d.ts +97 -0
  170. package/dist/composables/motion/useCelebrationBurst.d.ts +50 -0
  171. package/dist/composables/motion/useDockCtaReceive.d.ts +10 -28
  172. package/dist/composables/motion/useGooMorph.d.ts +72 -0
  173. package/dist/composables/motion/useLiquidFlex.d.ts +18 -0
  174. package/dist/composables/motion/useLiquidMorph.d.ts +108 -0
  175. package/dist/composables/motion/useLiquidPress.d.ts +12 -0
  176. package/dist/composables/motion/useLiquidReveal.d.ts +7 -4
  177. package/dist/composables/motion/useMorphField.d.ts +157 -0
  178. package/dist/composables/motion/useScrollPin.d.ts +49 -0
  179. package/dist/composables/motion/useScrollScene.d.ts +67 -0
  180. package/dist/concentric.js +532 -563
  181. package/dist/configurator.js +2 -2
  182. package/dist/confirm-dialog.js +3 -3
  183. package/dist/constellation.js +4 -4
  184. package/dist/context-menu.js +2 -2
  185. package/dist/controls.js +2 -2
  186. package/dist/createCanvasLifecycle-CuCrGRfq.js +173 -0
  187. package/dist/dark.js +1 -1
  188. package/dist/data-table.js +1 -1
  189. package/dist/deck.js +1 -1
  190. package/dist/dialog.js +3 -3
  191. package/dist/dock.js +1163 -618
  192. package/dist/dockContext-gFVS2gMg.js +18 -0
  193. package/dist/dom.js +7 -6
  194. package/dist/dot-flow-field.js +1114 -523
  195. package/dist/dot-matrix.js +348 -204
  196. package/dist/drawer.js +106 -96
  197. package/dist/{dropdown-menu-aJmV5SqE.js → dropdown-menu-CCfcCQ68.js} +3 -3
  198. package/dist/dropdown-menu.js +1 -1
  199. package/dist/easing.js +3 -3
  200. package/dist/expandable-container.js +2 -2
  201. package/dist/fading-scroll.js +1 -1
  202. package/dist/forms.js +6 -6
  203. package/dist/fourier-field.js +441 -197
  204. package/dist/fourier-math.js +1 -1
  205. package/dist/glass-panel.js +2 -2
  206. package/dist/glass-ui.css +1 -1
  207. package/dist/glass-ui.js +139 -135
  208. package/dist/goo-blob.js +11 -9
  209. package/dist/goo-dot-matrix.js +418 -198
  210. package/dist/handmark.js +137 -94
  211. package/dist/header-ribbon.js +1 -1
  212. package/dist/hover-card.js +1 -1
  213. package/dist/hover-popover.js +1 -1
  214. package/dist/icon-chip.js +1 -1
  215. package/dist/icon-tooltip.js +1 -1
  216. package/dist/index.d.ts +3 -0
  217. package/dist/instrument-chassis.js +1 -1
  218. package/dist/keyboard.js +1 -1
  219. package/dist/label.js +1 -1
  220. package/dist/labeled-field.js +7 -7
  221. package/dist/metric-badge.js +1 -1
  222. package/dist/metric-cell.js +1 -1
  223. package/dist/metric-stack.js +1 -1
  224. package/dist/motion-core.js +42 -39
  225. package/dist/motion-curves.js +20 -14
  226. package/dist/motion.js +226 -26
  227. package/dist/notification.js +1 -1
  228. package/dist/number-field.js +1 -1
  229. package/dist/pager-dots.js +1 -1
  230. package/dist/paper-backdrop.js +1 -1
  231. package/dist/paper-grid.js +315 -342
  232. package/dist/paperGrid-CXCSMbZ1.js +191 -0
  233. package/dist/popover.js +1 -1
  234. package/dist/{presets-CvOUqtdY.js → presets-QvYgnFIZ.js} +13 -12
  235. package/dist/progress.js +1 -1
  236. package/dist/pulse.js +1 -1
  237. package/dist/reactive.js +2 -2
  238. package/dist/{resolveCanvasColor-yPyIpJt9.js → resolveCanvasColor-DsSJk06I.js} +5 -5
  239. package/dist/scrolling-text.js +1 -1
  240. package/dist/search.js +7 -7
  241. package/dist/select.js +3 -3
  242. package/dist/selectable-chip.js +18 -35
  243. package/dist/separator.js +1 -1
  244. package/dist/{sheet-B2flBfLH.js → sheet-DUCIoOe0.js} +3 -3
  245. package/dist/sheet.js +1 -1
  246. package/dist/sidebar.js +1 -1
  247. package/dist/slider-CcICPe3u.js +149 -0
  248. package/dist/slider.js +1 -1
  249. package/dist/sortable-list.js +3 -3
  250. package/dist/{spectrum-walk-BVzA7Biz.js → spectrum-walk-cBNSx_zm.js} +1 -1
  251. package/dist/springPresets-DfoQ6XRY.js +64 -0
  252. package/dist/stacked-icons.js +54 -39
  253. package/dist/styles/cards.css +202 -2
  254. package/dist/styles/components.css +1 -3
  255. package/dist/styles/configurator.css +172 -7
  256. package/dist/styles/critical-partition.mjs +35 -2
  257. package/dist/styles/deferred.css +2 -0
  258. package/dist/styles/dock/adaptive-legibility.css +119 -0
  259. package/dist/styles/dock/density.css +18 -10
  260. package/dist/styles/dock/fission-bridge.css +552 -0
  261. package/dist/styles/dock/layers.css +88 -124
  262. package/dist/styles/dock/morph-bridge.css +15 -2
  263. package/dist/styles/dock/morph.css +45 -114
  264. package/dist/styles/dock/shape.css +137 -11
  265. package/dist/styles/dock/shell.css +1 -3
  266. package/dist/styles/dock/stack-rail.css +95 -7
  267. package/dist/styles/dock-controls/icon-button.css +34 -2
  268. package/dist/styles/dock-controls/triggers.css +23 -1
  269. package/dist/styles/dock-controls.css +18 -0
  270. package/dist/styles/dock.css +16 -1
  271. package/dist/styles/drawer.css +166 -0
  272. package/dist/styles/glass/glass-atom.css +244 -0
  273. package/dist/styles/glass/glass-capsule.css +143 -0
  274. package/dist/styles/glass/glass-chip.css +215 -0
  275. package/dist/styles/glass/liquid-enter.css +252 -0
  276. package/dist/styles/glass/liquid-morph.css +850 -0
  277. package/dist/styles/glass/material.css +70 -1
  278. package/dist/styles/glass/reveal.css +22 -2
  279. package/dist/styles/glass/rim.css +13 -1
  280. package/dist/styles/glass/surfaces.css +18 -8
  281. package/dist/styles/glass.css +11 -0
  282. package/dist/styles/icon-chip.css +45 -0
  283. package/dist/styles/index.css +11 -0
  284. package/dist/styles/jubilance.css +65 -0
  285. package/dist/styles/motion/morph-field.css +229 -0
  286. package/dist/styles/paper.css +230 -14
  287. package/dist/styles/scroll-choreography.css +135 -78
  288. package/dist/styles/segmented-tabs.css +85 -51
  289. package/dist/styles/select.css +151 -0
  290. package/dist/styles/tokens/color-radius.css +1 -1
  291. package/dist/styles/tokens/dark-arm.css +57 -8
  292. package/dist/styles/tokens/glass-deep.css +8 -4
  293. package/dist/styles/tokens/glass-fx.css +80 -2
  294. package/dist/styles/tokens/glass.css +140 -8
  295. package/dist/styles/tokens/light-dark.css +2 -2
  296. package/dist/styles/tokens/property-regs.css +144 -0
  297. package/dist/styles/tokens/scale-paper.css +20 -8
  298. package/dist/styles/tokens/scheme-motion.css +92 -157
  299. package/dist/styles/tokens/scheme-spring.css +239 -0
  300. package/dist/styles/tokens/scroll-tokens.css +15 -15
  301. package/dist/styles/tokens/shadow.css +73 -13
  302. package/dist/styles/tokens.css +9 -2
  303. package/dist/styles/utilities/btn.css +70 -0
  304. package/dist/switch.js +1 -1
  305. package/dist/tabs.js +198 -181
  306. package/dist/timeline.js +241 -206
  307. package/dist/toast.js +1 -1
  308. package/dist/toggle-chip.js +14 -41
  309. package/dist/toggle-group.js +1 -1
  310. package/dist/tooltip.js +1 -1
  311. package/dist/typewriter.js +1 -1
  312. package/dist/{uniformBridgeWGPU-CtAKl45L.js → uniformBridgeWGPU-BCse1SHU.js} +191 -127
  313. package/dist/{useAnimatedNumber-CLrxicG9.js → useAnimatedNumber-BntskVdQ.js} +1 -1
  314. package/dist/{useConfiguratorState-4xblKfwd.js → useConfiguratorState-22BcULzF.js} +37 -35
  315. package/dist/useDockCtaReceive-DX7RDb6_.js +88 -0
  316. package/dist/{useDragMorph-BUgAC-zK.js → useDragMorph-DGLSewwB.js} +2 -2
  317. package/dist/useDragVelocity-CjcfX3dA.js +57 -0
  318. package/dist/useGooMorph-Cs13NgYL.js +104 -0
  319. package/dist/useGpuSubstrate-Ceet70xq.js +347 -0
  320. package/dist/{useViewTransition-CUI1nAgn.js → useHaptic-CPz5BT9I.js} +40 -1
  321. package/dist/{useLiquidFlex-UmA6LMZu.js → useLiquidFlex-Cc6PjVJD.js} +8 -3
  322. package/dist/useLiquidPress-CtOQ8Z0_.js +43 -0
  323. package/dist/useMorphField-ogBM7ubT.js +141 -0
  324. package/dist/{useScrollChrome-D66AVP7C.js → useScrollChrome-JuImi1DM.js} +2 -2
  325. package/dist/{useSpringMount-BWDnKIwh.js → useSpringMount-DFxtzmkR.js} +1 -1
  326. package/dist/{useSpringPress-B1-Czp-V.js → useSpringPress-VM9RgVq3.js} +1 -1
  327. package/dist/{useSurfaceAxis-g0NloYEF.js → useSurfaceAxis-Ci7Dnaw2.js} +1 -1
  328. package/dist/{useTouchGate-CBZTD4SD.js → useTouchGate-B1Lf9XqN.js} +1 -1
  329. package/dist/virtual.js +1 -1
  330. package/dist/watercolor-dot.js +16 -26
  331. package/dist/writeVelocityWeight-Bh83xZfs.js +19 -0
  332. package/package.json +14 -3
  333. package/src/styles/cards.css +202 -2
  334. package/src/styles/configurator.css +172 -7
  335. package/src/styles/critical-partition.mjs +35 -2
  336. package/src/styles/dock/adaptive-legibility.css +119 -0
  337. package/src/styles/dock/density.css +18 -10
  338. package/src/styles/dock/fission-bridge.css +552 -0
  339. package/src/styles/dock/layers.css +88 -124
  340. package/src/styles/dock/morph-bridge.css +15 -2
  341. package/src/styles/dock/morph.css +45 -114
  342. package/src/styles/dock/shape.css +137 -11
  343. package/src/styles/dock/shell.css +1 -3
  344. package/src/styles/dock/stack-rail.css +95 -7
  345. package/src/styles/dock-controls/icon-button.css +34 -2
  346. package/src/styles/dock-controls/triggers.css +23 -1
  347. package/src/styles/dock-controls.css +18 -0
  348. package/src/styles/dock.css +16 -1
  349. package/src/styles/drawer.css +164 -0
  350. package/src/styles/glass/glass-atom.css +244 -0
  351. package/src/styles/glass/glass-capsule.css +143 -0
  352. package/src/styles/glass/glass-chip.css +215 -0
  353. package/src/styles/glass/liquid-enter.css +252 -0
  354. package/src/styles/glass/liquid-morph.css +850 -0
  355. package/src/styles/glass/material.css +70 -1
  356. package/src/styles/glass/reveal.css +22 -2
  357. package/src/styles/glass/rim.css +13 -1
  358. package/src/styles/glass/surfaces.css +18 -8
  359. package/src/styles/glass.css +11 -0
  360. package/src/styles/icon-chip.css +45 -0
  361. package/src/styles/index.css +11 -0
  362. package/src/styles/jubilance.css +65 -0
  363. package/src/styles/motion/morph-field.css +229 -0
  364. package/src/styles/paper.css +230 -14
  365. package/src/styles/scroll-choreography.css +135 -78
  366. package/src/styles/segmented-tabs.css +85 -47
  367. package/src/styles/select.css +151 -0
  368. package/src/styles/tokens/color-radius.css +1 -1
  369. package/src/styles/tokens/dark-arm.css +57 -8
  370. package/src/styles/tokens/glass-deep.css +8 -4
  371. package/src/styles/tokens/glass-fx.css +80 -2
  372. package/src/styles/tokens/glass.css +140 -8
  373. package/src/styles/tokens/light-dark.css +2 -2
  374. package/src/styles/tokens/property-regs.css +144 -0
  375. package/src/styles/tokens/scale-paper.css +20 -8
  376. package/src/styles/tokens/scheme-motion.css +92 -157
  377. package/src/styles/tokens/scheme-spring.css +239 -0
  378. package/src/styles/tokens/scroll-tokens.css +15 -15
  379. package/src/styles/tokens/shadow.css +73 -13
  380. package/src/styles/tokens.css +9 -2
  381. package/src/styles/utilities/btn.css +70 -0
  382. package/dist/DialogContent-6JtTB5x2.js +0 -106
  383. package/dist/PagerDots-Cjx96la-.js +0 -98
  384. package/dist/PaperBackdrop-CqwjnfLv.js +0 -31
  385. package/dist/badge-D9XWW4GT.js +0 -53
  386. package/dist/button-5dY1Dvhd.js +0 -125
  387. package/dist/components/custom/concentric/composables/ringField.d.ts +0 -85
  388. package/dist/createCanvasLifecycle-Gh45Ce-p.js +0 -93
  389. package/dist/dockContext-BNfyPLe9.js +0 -17
  390. package/dist/slider-2A0rPn79.js +0 -142
  391. package/dist/springPresets-Ce7OYCm9.js +0 -46
  392. package/dist/useDockCtaReceive-DfFkmgL1.js +0 -82
  393. package/dist/useGpuSubstrate-4pTcp6mX.js +0 -294
  394. package/dist/useLiquidPress-BooG97RY.js +0 -39
  395. /package/dist/{CollapsibleContent-68dEXIAl.js → CollapsibleContent-D7UNsXQr.js} +0 -0
  396. /package/dist/{DialogFooter-9phqcRIS.js → DialogFooter-DoLy0ewI.js} +0 -0
  397. /package/dist/{InstrumentChassis-CxsHSyMj.js → InstrumentChassis-UUJX0-mW.js} +0 -0
  398. /package/dist/{Label-C2ejNWeC.js → Label-B_HPqi_q.js} +0 -0
  399. /package/dist/{ModalOverlay-D1VrWyoi.js → ModalOverlay-DfAf7o15.js} +0 -0
  400. /package/dist/{SelectGroup-BFiod7X2.js → SelectGroup-Dcczq44n.js} +0 -0
  401. /package/dist/{SelectSeparator-C2UGOkXF.js → SelectSeparator-CNRGG7Ew.js} +0 -0
  402. /package/dist/{Separator-DQcwC2TR.js → Separator-Cf9-JFgi.js} +0 -0
  403. /package/dist/{_plugin-vue_export-helper-C1je1s0u.js → _plugin-vue_export-helper-gLzyemvl.js} +0 -0
  404. /package/dist/{color-Cs0-oxYL.js → color-B9jZdhJX.js} +0 -0
  405. /package/dist/{compile-nZ1xVYTp.js → compile-INR_tPk_.js} +0 -0
  406. /package/dist/{constants--C2DkLW8.js → constants-BWj7DkMn.js} +0 -0
  407. /package/dist/{createContext-CpBNTRMI.js → createContext-Cd23P9j0.js} +0 -0
  408. /package/dist/{dotMatrixField-D_x9_1qq.js → dotMatrixField-CRO0ZFk4.js} +0 -0
  409. /package/dist/{flow.glsl-B2P7e0MT.js → flow.glsl-DqEGRpl4.js} +0 -0
  410. /package/dist/{math-Eb0w3LqU.js → math-5RcIgCB4.js} +0 -0
  411. /package/dist/{menuItemVariants-D8VNHq22.js → menuItemVariants-DAXquKja.js} +0 -0
  412. /package/dist/{prng-B-d9eYX8.js → prng-B5tIXTtj.js} +0 -0
  413. /package/dist/{procedural-color.wgsl-m7Zgv35j.js → procedural-color.wgsl-C1Y5PkM6.js} +0 -0
  414. /package/dist/{scrollReader-DI1NWxUw.js → scrollReader-rc3Ns_NM.js} +0 -0
  415. /package/dist/{useControlSize-SH1UmJCi.js → useControlSize-DAZ062x7.js} +0 -0
  416. /package/dist/{useFuzzySearch-DIhcYtcw.js → useFuzzySearch-0fTYOhS4.js} +0 -0
  417. /package/dist/{useGlobalDark-CmjB9E32.js → useGlobalDark-B4HO9LXG.js} +0 -0
  418. /package/dist/{useIntersectionPause-Dbozzjgm.js → useIntersectionPause-DO8Vl4gs.js} +0 -0
  419. /package/dist/{useInterval-CNdua40W.js → useInterval-BVUI-sez.js} +0 -0
  420. /package/dist/{useKeyboardShortcuts-BPRp33Im.js → useKeyboardShortcuts-BEut54Tk.js} +0 -0
  421. /package/dist/{usePointerVelocityField-QLsy3_kv.js → usePointerVelocityField-BrkqZFhj.js} +0 -0
  422. /package/dist/{useResizeObserver-Bpoi7tRE.js → useResizeObserver-DdEn3v2f.js} +0 -0
  423. /package/dist/{useResolveTokenColor-vAylyR0x.js → useResolveTokenColor-ChOnCckA.js} +0 -0
  424. /package/dist/{useScrollProgress-c3yxmH6a.js → useScrollProgress-A0M6qRl7.js} +0 -0
  425. /package/dist/{useSortable-BVqlJRBR.js → useSortable-DQV_UNDw.js} +0 -0
  426. /package/dist/{useTextHighlight-NmBM5V_4.js → useTextHighlight-Bma3UlKA.js} +0 -0
  427. /package/dist/{useTimer-BHJOKr35.js → useTimer-BBLGPXR8.js} +0 -0
  428. /package/dist/{useUserInvalidAria-y5namzeE.js → useUserInvalidAria-EmmwWPOl.js} +0 -0
  429. /package/dist/{useViewportReady-anbac3m6.js → useViewportReady-C9pYnn7K.js} +0 -0
  430. /package/dist/{vReveal-D9k0jADx.js → vReveal-CT1KtwZA.js} +0 -0
package/dist/carousel.js CHANGED
@@ -1,12 +1,14 @@
1
1
  import { t as e } from "./cn-DJXf4yaB.js";
2
2
  import { C as t, b as n, v as r, w as i, x as a, y as o } from "./vendor-B2qOlYY3.js";
3
- import { n as s } from "./button-5dY1Dvhd.js";
4
- import { computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createVNode as p, defineComponent as m, mergeProps as h, normalizeClass as g, onMounted as _, openBlock as v, ref as y, renderSlot as b, resolveDynamicComponent as x, toDisplayString as S, unref as C, watch as w, withCtx as T } from "vue";
5
- import { createInjectionState as E } from "@vueuse/core";
6
- import D from "embla-carousel-vue";
3
+ import { n as s } from "./button-D1W9PrzI.js";
4
+ import { t as c } from "./_plugin-vue_export-helper-gLzyemvl.js";
5
+ import { t as l } from "./useGooMorph-Cs13NgYL.js";
6
+ import { computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createVNode as h, defineComponent as g, mergeProps as _, nextTick as v, normalizeClass as y, onBeforeUnmount as b, onMounted as x, openBlock as S, ref as C, renderSlot as w, resolveDynamicComponent as T, toDisplayString as E, unref as D, watch as O, withCtx as k } from "vue";
7
+ import { createInjectionState as A } from "@vueuse/core";
8
+ import j from "embla-carousel-vue";
7
9
  //#region src/components/ui/carousel/useCarousel.ts
8
- var [O, k] = E(({ opts: e, orientation: t, plugins: n }, r) => {
9
- let [i, a] = D({
10
+ var [M, N] = A(({ opts: e, orientation: t, plugins: n }, r) => {
11
+ let [i, a] = j({
10
12
  ...e,
11
13
  axis: t === "horizontal" ? "x" : "y"
12
14
  }, n);
@@ -16,11 +18,11 @@ var [O, k] = E(({ opts: e, orientation: t, plugins: n }, r) => {
16
18
  function s() {
17
19
  a.value?.scrollNext();
18
20
  }
19
- let c = y(!1), l = y(!1);
21
+ let c = C(!1), l = C(!1);
20
22
  function u(e) {
21
23
  c.value = e?.canScrollNext() || !1, l.value = e?.canScrollPrev() || !1;
22
24
  }
23
- return _(() => {
25
+ return x(() => {
24
26
  a.value && (a.value?.on("init", u), a.value?.on("reInit", u), a.value?.on("select", u), r("init-api", a.value));
25
27
  }), {
26
28
  carouselRef: i,
@@ -32,14 +34,14 @@ var [O, k] = E(({ opts: e, orientation: t, plugins: n }, r) => {
32
34
  orientation: t
33
35
  };
34
36
  });
35
- function A() {
36
- let e = k();
37
+ function P() {
38
+ let e = N();
37
39
  if (!e) throw Error("useCarousel must be used within a <Carousel />");
38
40
  return e;
39
41
  }
40
42
  //#endregion
41
43
  //#region src/components/ui/carousel/Carousel.vue
42
- var j = /* @__PURE__ */ m({
44
+ var F = /* @__PURE__ */ g({
43
45
  __name: "Carousel",
44
46
  props: {
45
47
  opts: {},
@@ -55,7 +57,7 @@ var j = /* @__PURE__ */ m({
55
57
  },
56
58
  emits: ["init-api"],
57
59
  setup(t, { expose: n, emit: r }) {
58
- let i = t, { canScrollNext: a, canScrollPrev: o, carouselApi: s, carouselRef: c, orientation: l, scrollNext: u, scrollPrev: f } = O(i, r);
60
+ let i = t, { canScrollNext: a, canScrollPrev: o, carouselApi: s, carouselRef: c, orientation: l, scrollNext: u, scrollPrev: d } = M(i, r);
59
61
  n({
60
62
  canScrollNext: a,
61
63
  canScrollPrev: o,
@@ -63,34 +65,34 @@ var j = /* @__PURE__ */ m({
63
65
  carouselRef: c,
64
66
  orientation: l,
65
67
  scrollNext: u,
66
- scrollPrev: f
68
+ scrollPrev: d
67
69
  });
68
- function p(e) {
70
+ function f(e) {
69
71
  let t = i.orientation === "vertical" ? "ArrowUp" : "ArrowLeft", n = i.orientation === "vertical" ? "ArrowDown" : "ArrowRight";
70
72
  if (e.key === t) {
71
- e.preventDefault(), f();
73
+ e.preventDefault(), d();
72
74
  return;
73
75
  }
74
76
  e.key === n && (e.preventDefault(), u());
75
77
  }
76
- return (t, n) => (v(), d("div", {
78
+ return (t, n) => (S(), p("div", {
77
79
  "data-slot": "carousel",
78
- class: g(C(e)("relative", i.class)),
80
+ class: y(D(e)("relative", i.class)),
79
81
  role: "region",
80
82
  "aria-roledescription": "carousel",
81
83
  tabindex: "0",
82
- onKeydown: p
83
- }, [b(t.$slots, "default", {
84
- canScrollNext: C(a),
85
- canScrollPrev: C(o),
86
- carouselApi: C(s),
87
- carouselRef: C(c),
88
- orientation: C(l),
89
- scrollNext: C(u),
90
- scrollPrev: C(f)
84
+ onKeydown: f
85
+ }, [w(t.$slots, "default", {
86
+ canScrollNext: D(a),
87
+ canScrollPrev: D(o),
88
+ carouselApi: D(s),
89
+ carouselRef: D(c),
90
+ orientation: D(l),
91
+ scrollNext: D(u),
92
+ scrollPrev: D(d)
91
93
  })], 34));
92
94
  }
93
- }), M = /* @__PURE__ */ m({
95
+ }), I = /* @__PURE__ */ c(/* @__PURE__ */ g({
94
96
  inheritAttrs: !1,
95
97
  __name: "CarouselContent",
96
98
  props: { class: { type: [
@@ -100,16 +102,143 @@ var j = /* @__PURE__ */ m({
100
102
  Object,
101
103
  Array
102
104
  ] } },
103
- setup(t, { expose: n }) {
104
- let r = t, { carouselRef: i, orientation: a } = A();
105
- return n({ carouselRef: i }), (t, n) => (v(), d("div", {
106
- ref_key: "carouselRef",
107
- ref: i,
108
- "data-slot": "carousel-content",
109
- class: "overflow-hidden"
110
- }, [f("div", h({ class: C(e)("flex", C(a) === "horizontal" ? "-ml-4" : "-mt-4 flex-col", r.class) }, t.$attrs), [b(t.$slots, "default")], 16)], 512));
105
+ setup(t) {
106
+ let n = t, { carouselRef: r, carouselApi: i, orientation: a } = P(), o = u(() => a === "vertical"), s = C(null), c = C(null), d = C(null), f = C(null), h = C(null), g = C(0);
107
+ function T() {
108
+ let e = i.value, t = c.value, n = e?.slideNodes() ?? [];
109
+ if (n.length >= 2) {
110
+ let e = n[0].getBoundingClientRect(), t = n[1].getBoundingClientRect(), r = o.value ? Math.abs(t.top - e.top) : Math.abs(t.left - e.left);
111
+ if (r > 1) return r;
112
+ }
113
+ if (t) {
114
+ let e = t.getBoundingClientRect();
115
+ return Math.max(1, o.value ? e.height : e.width);
116
+ }
117
+ return 1;
118
+ }
119
+ function E(e) {
120
+ let t = c.value;
121
+ if (!t) return null;
122
+ let n = t.getBoundingClientRect(), r = o.value ? n.height : n.width, i = T();
123
+ return r / 2 + (e - j) * i;
124
+ }
125
+ function k() {
126
+ return Math.max(24, T());
127
+ }
128
+ let A = l({
129
+ barbellRefs: {
130
+ bodyARef: d,
131
+ bodyBRef: f,
132
+ neckRef: h
133
+ },
134
+ hostRef: c,
135
+ vertical: o,
136
+ centerOf: E,
137
+ restSize: k,
138
+ tokenPrefix: "carousel-goo",
139
+ neckGap: .78
140
+ }), j = 0;
141
+ function M() {
142
+ let e = c.value;
143
+ if (!e) return;
144
+ let t = k() / 1.618033988749895;
145
+ e.style.setProperty("--carousel-body-d", `${t.toFixed(2)}px`);
146
+ }
147
+ let N = !1, F = null;
148
+ function I() {
149
+ N = !0, F && clearTimeout(F), F = setTimeout(() => {
150
+ N = !1, F = null;
151
+ }, 600);
152
+ }
153
+ let L = null;
154
+ function R(e) {
155
+ let t = e.target;
156
+ L && t && L.contains(t) && I();
157
+ }
158
+ let z = null;
159
+ function B() {
160
+ let e = c.value;
161
+ if (!e) return;
162
+ e.setAttribute("data-traveling", ""), N ? e.removeAttribute("data-autoplay") : e.setAttribute("data-autoplay", ""), z && clearTimeout(z);
163
+ let t = (parseFloat(getComputedStyle(e).getPropertyValue("--carousel-goo-duration")) || .95) * 1e3;
164
+ z = setTimeout(() => {
165
+ e.removeAttribute("data-traveling"), z = null;
166
+ }, t + 80);
167
+ }
168
+ function V() {
169
+ let e = i.value;
170
+ if (!e) return;
171
+ let t = e.selectedScrollSnap(), n = e.previousScrollSnap();
172
+ j = t, M(), n === t ? A.snap(t) : (B(), A.travel(n, t));
173
+ }
174
+ function H() {
175
+ let e = i.value;
176
+ if (!e) return;
177
+ let t = Math.max(1, g.value - 1), n = Math.min(1, Math.max(0, e.scrollProgress()));
178
+ n > .001 && n < .999 && B(), A.drive(n * t);
179
+ }
180
+ function U() {
181
+ let e = i.value;
182
+ g.value = e ? e.slideNodes().length : 0;
183
+ }
184
+ let W = null;
185
+ function G(e) {
186
+ !e || W === e || (W = e, U(), e.on("reInit", U), e.on("select", V), e.on("scroll", H), v(() => {
187
+ j = e.selectedScrollSnap(), M(), A.snap(j);
188
+ }));
189
+ }
190
+ return O(i, (e) => G(e), { immediate: !0 }), x(() => {
191
+ v(() => G(i.value)), L = s.value?.closest("[data-slot=\"carousel\"]") ?? null, document.addEventListener("pointerdown", R, !0), document.addEventListener("keydown", R, !0);
192
+ }), b(() => {
193
+ z &&= (clearTimeout(z), null), F &&= (clearTimeout(F), null), document.removeEventListener("pointerdown", R, !0), document.removeEventListener("keydown", R, !0), L = null;
194
+ let e = W;
195
+ e && (e.off("reInit", U), e.off("select", V), e.off("scroll", H), W = null);
196
+ }), (t, i) => (S(), p("div", {
197
+ ref_key: "rootEl",
198
+ ref: s,
199
+ class: "carousel-content-root"
200
+ }, [
201
+ i[0] ||= m("svg", {
202
+ class: "carousel-neck-defs",
203
+ width: "0",
204
+ height: "0",
205
+ "aria-hidden": "true",
206
+ focusable: "false"
207
+ }, [m("defs", null, [m("clipPath", {
208
+ id: "carousel-neck-throat",
209
+ clipPathUnits: "objectBoundingBox"
210
+ }, [m("path", { d: "M0,0 C0.25,0 0.36,0.34 0.5,0.34 C0.64,0.34 0.75,0 1,0 L1,1 C0.75,1 0.64,0.66 0.5,0.66 C0.36,0.66 0.25,1 0,1 Z" })])])], -1),
211
+ m("div", {
212
+ ref_key: "gooLayerEl",
213
+ ref: c,
214
+ class: y(["carousel-goo-layer", D(a) === "vertical" ? "carousel-goo-layer--vertical" : ""]),
215
+ "aria-hidden": "true"
216
+ }, [
217
+ m("span", {
218
+ ref_key: "bodyAEl",
219
+ ref: d,
220
+ class: "carousel-goo-body"
221
+ }, null, 512),
222
+ m("span", {
223
+ ref_key: "neckEl",
224
+ ref: h,
225
+ class: "carousel-goo-neck"
226
+ }, null, 512),
227
+ m("span", {
228
+ ref_key: "bodyBEl",
229
+ ref: f,
230
+ class: "carousel-goo-body"
231
+ }, null, 512)
232
+ ], 2),
233
+ m("div", {
234
+ ref_key: "carouselRef",
235
+ ref: r,
236
+ "data-slot": "carousel-content",
237
+ class: "carousel-viewport overflow-hidden"
238
+ }, [m("div", _({ class: D(e)("carousel-track flex", D(a) === "horizontal" ? "-ml-4" : "-mt-4 flex-col", n.class) }, t.$attrs), [w(t.$slots, "default", {}, void 0, !0)], 16)], 512)
239
+ ], 512));
111
240
  }
112
- }), N = /* @__PURE__ */ m({
241
+ }), [["__scopeId", "data-v-6fa0b5cc"]]), L = /* @__PURE__ */ g({
113
242
  __name: "CarouselItem",
114
243
  props: { class: { type: [
115
244
  Boolean,
@@ -119,15 +248,15 @@ var j = /* @__PURE__ */ m({
119
248
  Array
120
249
  ] } },
121
250
  setup(t) {
122
- let n = t, { orientation: r } = A();
123
- return (t, i) => (v(), d("div", {
251
+ let n = t, { orientation: r } = P();
252
+ return (t, i) => (S(), p("div", {
124
253
  "data-slot": "carousel-item",
125
254
  role: "group",
126
255
  "aria-roledescription": "slide",
127
- class: g(C(e)("min-w-0 shrink-0 grow-0 basis-full", C(r) === "horizontal" ? "pl-4" : "pt-4", n.class))
128
- }, [b(t.$slots, "default")], 2));
256
+ class: y(D(e)("min-w-0 shrink-0 grow-0 basis-full", D(r) === "horizontal" ? "pl-4" : "pt-4", n.class))
257
+ }, [w(t.$slots, "default")], 2));
129
258
  }
130
- }), P = /* @__PURE__ */ m({
259
+ }), R = /* @__PURE__ */ g({
131
260
  __name: "CarouselNext",
132
261
  props: {
133
262
  variant: { default: "outline" },
@@ -141,16 +270,16 @@ var j = /* @__PURE__ */ m({
141
270
  ] }
142
271
  },
143
272
  setup(n) {
144
- let r = n, { orientation: i, canScrollNext: a, scrollNext: o } = A();
145
- return (c, u) => (v(), l(C(s), {
273
+ let r = n, { orientation: i, canScrollNext: a, scrollNext: o } = P();
274
+ return (c, l) => (S(), d(D(s), {
146
275
  "data-slot": "carousel-next",
147
- disabled: !C(a),
148
- class: g(C(e)("absolute h-(--carousel-nav-size) w-(--carousel-nav-size) rounded-pill", C(i) === "horizontal" ? "top-1/2 -translate-y-1/2 right-[calc(-1*var(--carousel-nav-offset))]" : "left-1/2 -translate-x-1/2 rotate-90 bottom-[calc(-1*var(--carousel-nav-offset))]", r.class)),
276
+ disabled: !D(a),
277
+ class: y(D(e)("absolute h-(--carousel-nav-size) w-(--carousel-nav-size) rounded-pill", D(i) === "horizontal" ? "top-1/2 -translate-y-1/2 right-[calc(-1*var(--carousel-nav-offset))]" : "left-1/2 -translate-x-1/2 rotate-90 bottom-[calc(-1*var(--carousel-nav-offset))]", r.class)),
149
278
  variant: n.variant,
150
279
  size: n.size,
151
- onClick: C(o)
280
+ onClick: D(o)
152
281
  }, {
153
- default: T(() => [b(c.$slots, "default", {}, () => [p(C(t)), u[0] ||= f("span", { class: "sr-only" }, "Next Slide", -1)])]),
282
+ default: k(() => [w(c.$slots, "default", {}, () => [h(D(t)), l[0] ||= m("span", { class: "sr-only" }, "Next Slide", -1)])]),
154
283
  _: 3
155
284
  }, 8, [
156
285
  "disabled",
@@ -160,11 +289,11 @@ var j = /* @__PURE__ */ m({
160
289
  "onClick"
161
290
  ]));
162
291
  }
163
- }), F = {
292
+ }), z = {
164
293
  key: 0,
165
294
  "data-slot": "carousel-pager-counter",
166
295
  class: "glass-pager-ring text-mono-caption tabular-nums"
167
- }, I = /* @__PURE__ */ m({
296
+ }, B = /* @__PURE__ */ g({
168
297
  __name: "CarouselPager",
169
298
  props: {
170
299
  showCounter: {
@@ -180,44 +309,44 @@ var j = /* @__PURE__ */ m({
180
309
  ] }
181
310
  },
182
311
  setup(t) {
183
- let i = t, { carouselApi: f, canScrollNext: m, canScrollPrev: h, orientation: b, scrollNext: E, scrollPrev: D } = A(), O = y(0), k = y(0);
184
- function j() {
185
- let e = f.value;
186
- e && (O.value = e.selectedScrollSnap(), k.value = e.scrollSnapList().length);
312
+ let i = t, { carouselApi: c, canScrollNext: l, canScrollPrev: m, orientation: g, scrollNext: _, scrollPrev: v } = P(), b = C(0), w = C(0);
313
+ function A() {
314
+ let e = c.value;
315
+ e && (b.value = e.selectedScrollSnap(), w.value = e.scrollSnapList().length);
187
316
  }
188
- w(f, (e) => {
189
- e && (j(), e.on("select", j), e.on("reInit", j));
190
- }, { immediate: !0 }), _(j);
191
- let M = c(() => b === "vertical" ? r : n), N = c(() => b === "vertical" ? a : o);
192
- return (n, r) => (v(), d("div", {
317
+ O(c, (e) => {
318
+ e && (A(), e.on("select", A), e.on("reInit", A));
319
+ }, { immediate: !0 }), x(A);
320
+ let j = u(() => g === "vertical" ? r : n), M = u(() => g === "vertical" ? a : o);
321
+ return (n, r) => (S(), p("div", {
193
322
  "data-slot": "carousel-pager",
194
- class: g(C(e)("inline-flex items-center gap-2", C(b) === "vertical" && "flex-col", i.class))
323
+ class: y(D(e)("inline-flex items-center gap-2", D(g) === "vertical" && "flex-col", i.class))
195
324
  }, [
196
- p(C(s), {
325
+ h(D(s), {
197
326
  variant: "ghost",
198
327
  size: "icon",
199
- disabled: !C(h),
200
- "aria-label": C(b) === "vertical" ? "Previous slide (up)" : "Previous slide",
328
+ disabled: !D(m),
329
+ "aria-label": D(g) === "vertical" ? "Previous slide (up)" : "Previous slide",
201
330
  "data-slot": "carousel-pager-prev",
202
- onClick: C(D)
331
+ onClick: D(v)
203
332
  }, {
204
- default: T(() => [(v(), l(x(M.value), { class: "size-4" }))]),
333
+ default: k(() => [(S(), d(T(j.value), { class: "size-4" }))]),
205
334
  _: 1
206
335
  }, 8, [
207
336
  "disabled",
208
337
  "aria-label",
209
338
  "onClick"
210
339
  ]),
211
- t.showCounter && k.value > 0 ? (v(), d("span", F, S(O.value + 1) + " / " + S(k.value), 1)) : u("", !0),
212
- p(C(s), {
340
+ t.showCounter && w.value > 0 ? (S(), p("span", z, E(b.value + 1) + " / " + E(w.value), 1)) : f("", !0),
341
+ h(D(s), {
213
342
  variant: "ghost",
214
343
  size: "icon",
215
- disabled: !C(m),
216
- "aria-label": C(b) === "vertical" ? "Next slide (down)" : "Next slide",
344
+ disabled: !D(l),
345
+ "aria-label": D(g) === "vertical" ? "Next slide (down)" : "Next slide",
217
346
  "data-slot": "carousel-pager-next",
218
- onClick: C(E)
347
+ onClick: D(_)
219
348
  }, {
220
- default: T(() => [(v(), l(x(N.value), { class: "size-4" }))]),
349
+ default: k(() => [(S(), d(T(M.value), { class: "size-4" }))]),
221
350
  _: 1
222
351
  }, 8, [
223
352
  "disabled",
@@ -226,7 +355,7 @@ var j = /* @__PURE__ */ m({
226
355
  ])
227
356
  ], 2));
228
357
  }
229
- }), L = /* @__PURE__ */ m({
358
+ }), V = /* @__PURE__ */ g({
230
359
  __name: "CarouselPrevious",
231
360
  props: {
232
361
  variant: { default: "outline" },
@@ -240,16 +369,16 @@ var j = /* @__PURE__ */ m({
240
369
  ] }
241
370
  },
242
371
  setup(t) {
243
- let n = t, { orientation: r, canScrollPrev: a, scrollPrev: o } = A();
244
- return (c, u) => (v(), l(C(s), {
372
+ let n = t, { orientation: r, canScrollPrev: a, scrollPrev: o } = P();
373
+ return (c, l) => (S(), d(D(s), {
245
374
  "data-slot": "carousel-previous",
246
- disabled: !C(a),
247
- class: g(C(e)("absolute h-(--carousel-nav-size) w-(--carousel-nav-size) rounded-pill", C(r) === "horizontal" ? "top-1/2 -translate-y-1/2 left-[calc(-1*var(--carousel-nav-offset))]" : "left-1/2 -translate-x-1/2 rotate-90 top-[calc(-1*var(--carousel-nav-offset))]", n.class)),
375
+ disabled: !D(a),
376
+ class: y(D(e)("absolute h-(--carousel-nav-size) w-(--carousel-nav-size) rounded-pill", D(r) === "horizontal" ? "top-1/2 -translate-y-1/2 left-[calc(-1*var(--carousel-nav-offset))]" : "left-1/2 -translate-x-1/2 rotate-90 top-[calc(-1*var(--carousel-nav-offset))]", n.class)),
248
377
  variant: t.variant,
249
378
  size: t.size,
250
- onClick: C(o)
379
+ onClick: D(o)
251
380
  }, {
252
- default: T(() => [b(c.$slots, "default", {}, () => [p(C(i)), u[0] ||= f("span", { class: "sr-only" }, "Previous Slide", -1)])]),
381
+ default: k(() => [w(c.$slots, "default", {}, () => [h(D(i)), l[0] ||= m("span", { class: "sr-only" }, "Previous Slide", -1)])]),
253
382
  _: 3
254
383
  }, 8, [
255
384
  "disabled",
@@ -259,11 +388,11 @@ var j = /* @__PURE__ */ m({
259
388
  "onClick"
260
389
  ]));
261
390
  }
262
- }), R = {
391
+ }), H = {
263
392
  key: 0,
264
393
  "data-slot": "glass-carousel-pager-counter",
265
394
  class: "rounded-pill border border-border bg-card px-3 py-1 text-mono-caption tabular-nums shadow-cartoon-sm"
266
- }, z = /* @__PURE__ */ m({
395
+ }, U = /* @__PURE__ */ g({
267
396
  __name: "GlassCarouselPager",
268
397
  props: {
269
398
  index: {},
@@ -291,44 +420,44 @@ var j = /* @__PURE__ */ m({
291
420
  "select"
292
421
  ],
293
422
  setup(t, { emit: i }) {
294
- let f = t, m = i, h = c(() => f.loop ? f.total > 1 : f.index > 0), _ = c(() => f.loop ? f.total > 1 : f.index < f.total - 1);
295
- function y() {
296
- h.value && (f.loop ? m("select", (f.index - 1 + f.total) % f.total) : (m("prev"), m("select", Math.max(0, f.index - 1))));
423
+ let c = t, l = i, m = u(() => c.loop ? c.total > 1 : c.index > 0), g = u(() => c.loop ? c.total > 1 : c.index < c.total - 1);
424
+ function _() {
425
+ m.value && (c.loop ? l("select", (c.index - 1 + c.total) % c.total) : (l("prev"), l("select", Math.max(0, c.index - 1))));
297
426
  }
298
- function w() {
299
- _.value && (f.loop ? m("select", (f.index + 1) % f.total) : (m("next"), m("select", Math.min(f.total - 1, f.index + 1))));
427
+ function v() {
428
+ g.value && (c.loop ? l("select", (c.index + 1) % c.total) : (l("next"), l("select", Math.min(c.total - 1, c.index + 1))));
300
429
  }
301
- let E = c(() => f.orientation === "vertical" ? r : n), D = c(() => f.orientation === "vertical" ? a : o);
302
- return (n, r) => (v(), d("div", {
430
+ let b = u(() => c.orientation === "vertical" ? r : n), x = u(() => c.orientation === "vertical" ? a : o);
431
+ return (n, r) => (S(), p("div", {
303
432
  "data-slot": "glass-carousel-pager",
304
- class: g(C(e)("inline-flex items-center gap-2", t.orientation === "vertical" && "flex-col", "max-md:flex-wrap max-md:justify-center max-md:gap-2", f.class))
433
+ class: y(D(e)("inline-flex items-center gap-2", t.orientation === "vertical" && "flex-col", "max-md:flex-wrap max-md:justify-center max-md:gap-2", c.class))
305
434
  }, [
306
- p(C(s), {
435
+ h(D(s), {
307
436
  variant: "outline",
308
437
  size: "icon",
309
- disabled: !h.value,
438
+ disabled: !m.value,
310
439
  "aria-label": t.orientation === "vertical" ? "Previous slide (up)" : "Previous slide",
311
440
  "data-slot": "glass-carousel-pager-prev",
312
- onClick: y
441
+ onClick: _
313
442
  }, {
314
- default: T(() => [(v(), l(x(E.value), { class: "size-4" }))]),
443
+ default: k(() => [(S(), d(T(b.value), { class: "size-4" }))]),
315
444
  _: 1
316
445
  }, 8, ["disabled", "aria-label"]),
317
- t.showCounter && t.total > 0 ? (v(), d("span", R, S(t.index + 1) + " / " + S(t.total), 1)) : u("", !0),
318
- p(C(s), {
446
+ t.showCounter && t.total > 0 ? (S(), p("span", H, E(t.index + 1) + " / " + E(t.total), 1)) : f("", !0),
447
+ h(D(s), {
319
448
  variant: "outline",
320
449
  size: "icon",
321
- disabled: !_.value,
450
+ disabled: !g.value,
322
451
  "aria-label": t.orientation === "vertical" ? "Next slide (down)" : "Next slide",
323
452
  "data-slot": "glass-carousel-pager-next",
324
- onClick: w
453
+ onClick: v
325
454
  }, {
326
- default: T(() => [(v(), l(x(D.value), { class: "size-4" }))]),
455
+ default: k(() => [(S(), d(T(x.value), { class: "size-4" }))]),
327
456
  _: 1
328
457
  }, 8, ["disabled", "aria-label"]),
329
- b(n.$slots, "trailing")
458
+ w(n.$slots, "trailing")
330
459
  ], 2));
331
460
  }
332
461
  });
333
462
  //#endregion
334
- export { j as Carousel, M as CarouselContent, N as CarouselItem, P as CarouselNext, I as CarouselPager, L as CarouselPrevious, z as GlassCarouselPager, A as useCarousel };
463
+ export { F as Carousel, I as CarouselContent, L as CarouselItem, R as CarouselNext, B as CarouselPager, V as CarouselPrevious, U as GlassCarouselPager, P as useCarousel };
@@ -0,0 +1,18 @@
1
+ import { cva as e } from "class-variance-authority";
2
+ //#region src/components/custom/selectable-chip/chipVariants.ts
3
+ var t = e([
4
+ "glass-chip glass-capsule glass-capsule-hover accent-tone",
5
+ "focus-ring select-none cursor-pointer outline-none font-sans",
6
+ "text-muted-foreground",
7
+ "disabled:opacity-disabled disabled:pointer-events-none disabled:cursor-not-allowed"
8
+ ].join(" "), {
9
+ variants: { size: {
10
+ sm: "inline-flex items-center justify-center gap-1 px-2.5 py-1 text-caption",
11
+ md: "inline-flex items-center justify-center gap-1.5 px-3.5 py-1.5 text-small",
12
+ lg: "inline-flex items-center justify-center gap-2 px-5 py-2 text-base",
13
+ cell: "glass-chip--cell flex flex-col items-center justify-center gap-1.5 px-2 py-2.5 text-micro"
14
+ } },
15
+ defaultVariants: { size: "md" }
16
+ });
17
+ //#endregion
18
+ export { t };
@@ -1,2 +1,2 @@
1
- import { n as e, r as t, t as n } from "./CollapsibleContent-68dEXIAl.js";
1
+ import { n as e, r as t, t as n } from "./CollapsibleContent-D7UNsXQr.js";
2
2
  export { t as Collapsible, n as CollapsibleContent, e as CollapsibleTrigger };
package/dist/color.js CHANGED
@@ -1,2 +1,2 @@
1
- import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c, u as l } from "./color-Cs0-oxYL.js";
1
+ import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c, u as l } from "./color-B9jZdhJX.js";
2
2
  export { c as cssToOklch, i as defaultBlobColorResolver, o as deriveBlobPalette, n as deriveHue, e as gamutMapStop, a as oklchStopToHex, s as oklchToGammaRgb, t as oklchToLinear, l as useAccentTone, r as warmCatchLight };
package/dist/command.js CHANGED
@@ -1,2 +1,2 @@
1
- import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c } from "./CommandShortcut-D3yxgHNn.js";
1
+ import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c } from "./CommandShortcut-By-VQcLO.js";
2
2
  export { r as Command, t as CommandDialog, s as CommandEmpty, a as CommandGroup, e as CommandInput, n as CommandItem, o as CommandList, i as CommandSeparator, c as CommandShortcut };
@@ -9,7 +9,7 @@
9
9
  * shader-uniform boundary: a NEW uniform name must be added here, and the cache is
10
10
  * keyed off it, so a fresh uniform always gets a location slot.
11
11
  */
12
- export declare const UNIFORM_NAMES: readonly ["uTime", "uPalette", "uStopCount", "uNucleiCount", "uNucleiPos", "uNucleiRadius", "uNucleiPaletteBias", "uNucleiValueBias", "uNucleiDriftRadius", "uNucleiDriftPhase", "uNucleiElong", "uNucleiAngle", "uSoftmaxBeta", "uValueVariance", "uWarpAmount", "uWarpScale", "uWarpDrift", "uWarpMode", "uNoiseOctaves", "uMedium", "uHuePath", "uFlowPattern", "uFlowFocal", "uFlowAngle", "uFlowCurl", "uCursor", "uCursorStrength", "uCursorRadius", "uCursorVelocity", "uCursorBurst", "uStrokeAmount", "uStrokeScale", "uStrokeAnisotropy", "uStrokeLayers", "uStrokeMode", "uStrokeOrient", "uLightDir", "uLightColor", "uWetEdge", "uGranulation", "uImpasto", "uBrokenColor", "uCanvasGrain", "uNucleiDrift", "uPaletteDrift", "uBreathDepth", "uBreathPeriod", "uSaturation", "uPaperGrain", "uAlpha"];
12
+ export declare const UNIFORM_NAMES: readonly ["uTime", "uPalette", "uStopCount", "uNucleiCount", "uNucleiPos", "uNucleiRadius", "uNucleiPaletteBias", "uNucleiValueBias", "uNucleiDriftRadius", "uNucleiDriftPhase", "uNucleiElong", "uNucleiAngle", "uSoftmaxBeta", "uValueVariance", "uWarpAmount", "uWarpScale", "uWarpDrift", "uWarpMode", "uNoiseOctaves", "uMedium", "uHuePath", "uFlowPattern", "uFlowFocal", "uFlowAngle", "uFlowCurl", "uCursor", "uCursorStrength", "uCursorRadius", "uCursorVelocity", "uCursorBurst", "uStrokeAmount", "uStrokeScale", "uStrokeAnisotropy", "uStrokeLayers", "uStrokeMode", "uStrokeOrient", "uLightDir", "uLightColor", "uWetEdge", "uGranulation", "uImpasto", "uBrokenColor", "uCanvasGrain", "uNucleiDrift", "uPaletteDrift", "uBreathDepth", "uBreathPeriod", "uSaturation", "uPaperGrain", "uAlpha", "uVividness"];
13
13
  export type UniformName = (typeof UNIFORM_NAMES)[number];
14
14
  export type UniformLocations = Record<UniformName, WebGLUniformLocation | null>;
15
15
  export interface GlProgram {
@@ -13,7 +13,7 @@
13
13
  * scalars0 : vec4<f32> off 0 (uTime, uSoftmaxBeta, uValueVariance, uWarpAmount)
14
14
  * scalars1 : vec4<f32> off 16 (uWarpScale, uWarpDrift, uSaturation, uPaperGrain)
15
15
  * scalars2 : vec4<f32> off 32 (uAlpha, uNucleiDrift, uPaletteDrift, uBreathDepth)
16
- * scalars3 : vec4<f32> off 48 (uBreathPeriod, uCursorStrength, uCursorRadius, _)
16
+ * scalars3 : vec4<f32> off 48 (uBreathPeriod, uCursorStrength, uCursorRadius, uVividness)
17
17
  * cursor : vec4<f32> off 64 (uCursor.x, uCursor.y, _, _)
18
18
  * ints0 : vec4<i32> off 80 (uStopCount, uNucleiCount, uWarpMode, uNoiseOctaves)
19
19
  * ints1 : vec4<i32> off 96 (uMedium, uHuePath, _, _)
@@ -149,6 +149,20 @@ export interface AuroraConfig {
149
149
  saturation: number;
150
150
  paperGrain: number;
151
151
  alpha: number;
152
+ /**
153
+ * BD.W-AUR-VIVIDNESS — the §3 chroma FLOOR (the warm-field vividness contract).
154
+ * Optional; omitted = `DEFAULT_VIVIDNESS` (1 — high, the library's vivid identity).
155
+ * A shader-resident OKLab chroma-floor lifts any pale zone toward `VIVID_TARGET`
156
+ * (mode-scaled in the shader) so the field never resolves toward gray BEHIND glass
157
+ * — the literal fix for the "missing colorful field → gray glass" defect. The lift
158
+ * is HUE-PRESERVING (scales chroma along the zone's existing OKLab direction); below
159
+ * `VIVID_EPS` the hue is precision noise, so the floor synthesizes along the WARM
160
+ * anchor (`VIVID_WARM_ANCHOR`) — NEVER teal/navy, the warm-floor guarantee. A
161
+ * deliberately-pale hero surface opts OUT with `vividness: 0` (the new lanes write 0,
162
+ * so a `vividness:0` config is byte-identical to the pre-floor render — the gated
163
+ * identity move). Range 0..1.
164
+ */
165
+ vividness?: number;
152
166
  /**
153
167
  * AW.W6/W8 — the pointer/scroll interactivity opt-in (default OFF — the wispy-sky
154
168
  * default stays static). W6 declares the SHAPE; W8 wires the cursor-as-light /
@@ -194,6 +208,21 @@ export interface AuroraInstance extends AuroraCursorApi {
194
208
  }
195
209
  export declare const MAX_NUCLEI = 6;
196
210
  export declare const MAX_STOPS = 8;
211
+ /**
212
+ * The default `vividness` for a bare `<Aurora>` — HIGH (the library's vivid identity).
213
+ * This INVERTS the pre-floor status quo: vivid is the default, pale is the explicit
214
+ * `vividness: 0` opt-out. The literal §3 fix — a warm glass plate over the default field
215
+ * now reads transmissive-not-gray because the field carries chroma.
216
+ */
217
+ export declare const DEFAULT_VIVIDNESS = 1;
218
+ /**
219
+ * The per-fragment OKLab chroma the floor lifts a pale zone TOWARD at `vividness:1`
220
+ * (the shader scales this by a mode factor — a dim/dark field needs more chroma to read
221
+ * vivid through glass). Tuned so the lifted DEFAULT field clears the §3 transmissive
222
+ * floor (mean OKLab chroma ≥ 0.045) with headroom; a vivid zone above this is untouched.
223
+ * Mirrored as `VIVID_TARGET` in the GLSL + WGSL twins.
224
+ */
225
+ export declare const VIVID_TARGET = 0.115;
197
226
  /**
198
227
  * A neutral starting point for consumers that build their own config from scratch.
199
228
  * Not a themed preset — the demo's 11 authored presets override every field.