@mkbabb/glass-ui 5.0.0 → 6.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 (470) hide show
  1. package/README.md +30 -27
  2. package/dist/DropdownMenuTrigger-BzQtd9lt.js +65 -0
  3. package/dist/{FadingScroll-BSRLqQCx.js → FadingScroll-C1ZWEjmG.js} +32 -25
  4. package/dist/{Input-DKf-XwUM.js → Input-B4WQ_CMc.js} +1 -1
  5. package/dist/{PagerDots-BP6jh7z4.js → PagerDots-BoTQ7g5l.js} +123 -95
  6. package/dist/{accent-tone-solve-CBw3L0cy.js → accent-tone-solve-Dii9ePhK.js} +1 -1
  7. package/dist/animated-digit.js +1 -1
  8. package/dist/aurora.js +324 -314
  9. package/dist/blob-config.d.ts +0 -4
  10. package/dist/blob-config.js +1 -1
  11. package/dist/blob.js +280 -261
  12. package/dist/{button-BXzhydVB.js → button-32mg6xA8.js} +63 -56
  13. package/dist/button.js +1 -1
  14. package/dist/canvas.js +1 -1
  15. package/dist/{CardAction-2uUvjMQK.js → card-16xmzIr3.js} +29 -11
  16. package/dist/card.js +1 -1
  17. package/dist/carousel.d.ts +1 -2
  18. package/dist/carousel.js +26 -95
  19. package/dist/chip.d.ts +0 -9
  20. package/dist/chip.js +1 -1
  21. package/dist/collapsible.js +1 -1
  22. package/dist/color-swatch.js +1 -0
  23. package/dist/color.js +87 -3
  24. package/dist/{CommandShortcut-fmdbsEJL.js → command-BjPjUU9z.js} +56 -51
  25. package/dist/command.js +1 -1
  26. package/dist/completion-seal.js +64 -55
  27. package/dist/components/_shared/ModalOverlay.vue.d.ts +5 -52
  28. package/dist/components/_shared/field-surfaces.css +1 -0
  29. package/dist/components/_shared/menuItemVariants.d.ts +2 -2
  30. package/dist/components/_shared/useMotionAxis.d.ts +2 -2
  31. package/dist/components/_shared/valueDomain.d.ts +6 -0
  32. package/dist/components/alert/index.d.ts +1 -1
  33. package/dist/components/animated-digit/AnimatedDigit.vue.d.ts +1 -1
  34. package/dist/components/aurora/Aurora.vue.d.ts +7 -1
  35. package/dist/components/aurora/composables/runtime.d.ts +5 -3
  36. package/dist/components/aurora/composables/useAurora.d.ts +4 -2
  37. package/dist/components/avatar/AvatarImage.vue.d.ts +3 -1
  38. package/dist/components/badge/index.d.ts +2 -2
  39. package/dist/components/blob/Blob.vue.d.ts +11 -0
  40. package/dist/components/blob/composables/useMetaballRenderer.d.ts +2 -0
  41. package/dist/components/button/Button.vue.d.ts +4 -2
  42. package/dist/components/button/index.d.ts +2 -2
  43. package/dist/components/card/Card.vue.d.ts +4 -4
  44. package/dist/components/card/ScrollCard.vue.d.ts +1 -1
  45. package/dist/components/card/styles.css +1 -0
  46. package/dist/components/carousel/Carousel.vue.d.ts +2 -2
  47. package/dist/components/carousel/CarouselNext.vue.d.ts +1 -1
  48. package/dist/components/carousel/CarouselPrevious.vue.d.ts +1 -1
  49. package/dist/components/carousel/index.d.ts +0 -1
  50. package/dist/components/carousel/useCarousel.d.ts +2 -2
  51. package/dist/components/combobox/ComboboxList.vue.d.ts +1 -1
  52. package/dist/components/combobox/index.d.ts +1 -3
  53. package/dist/components/command/Command.vue.d.ts +1 -1
  54. package/dist/components/command/CommandDialog.vue.d.ts +9 -6
  55. package/dist/components/completion-seal/styles.css +1 -0
  56. package/dist/components/constellation/Constellation.vue.d.ts +6 -1
  57. package/dist/components/constellation/composables/useConstellation.d.ts +3 -16
  58. package/dist/components/constellation/constants.d.ts +6 -16
  59. package/dist/components/constellation/constellationField.d.ts +3 -5
  60. package/dist/components/constellation/constellationInteraction.d.ts +1 -1
  61. package/dist/components/constellation/constellationRender.d.ts +11 -21
  62. package/dist/components/constellation/constellationTypes.d.ts +12 -9
  63. package/dist/components/constellation/index.d.ts +1 -1
  64. package/dist/components/controls/DarkModeToggle.vue.d.ts +0 -2
  65. package/dist/components/data-table/DataTable.vue.d.ts +14 -2
  66. package/dist/components/data-table/index.d.ts +1 -2
  67. package/dist/components/data-table/types.d.ts +26 -1
  68. package/dist/components/deck/constants.d.ts +0 -10
  69. package/dist/components/deck/index.d.ts +0 -1
  70. package/dist/components/dialog/DialogContent.vue.d.ts +7 -1
  71. package/dist/components/dialog/index.d.ts +0 -1
  72. package/dist/components/dock/DockControl.vue.d.ts +4 -4
  73. package/dist/components/dock/DockStack.vue.d.ts +2 -2
  74. package/dist/components/dock/GlassDock.vue.d.ts +1 -0
  75. package/dist/components/dock/composables/dockMorphContext.d.ts +2 -0
  76. package/dist/components/dock/composables/dockMorphMeasure.d.ts +11 -1
  77. package/dist/components/dock/composables/useDockClickIntegrity.d.ts +4 -0
  78. package/dist/components/dock/composables/useDockOverflowFit.d.ts +3 -3
  79. package/dist/components/dock/composables/useDockPopover.d.ts +2 -0
  80. package/dist/components/dock/composables/useDockShellProps.d.ts +7 -0
  81. package/dist/components/dock/composables/useDockState.d.ts +2 -2
  82. package/dist/components/dock/constants.d.ts +0 -12
  83. package/dist/components/dock/index.d.ts +1 -0
  84. package/dist/components/dock/styles/adaptive-legibility.css +1 -0
  85. package/dist/components/dock/styles/controls/icon-button.css +1 -0
  86. package/dist/{styles/dock-controls → components/dock/styles/controls}/touch-floor.css +1 -1
  87. package/dist/components/dock/styles/controls.css +1 -0
  88. package/dist/{styles/dock → components/dock/styles}/density.css +1 -1
  89. package/dist/components/dock/styles/dock.css +1 -0
  90. package/dist/components/dock/styles/index.css +1 -0
  91. package/dist/components/dock/styles/layer-group.css +1 -0
  92. package/dist/components/dock/styles/layers.css +1 -0
  93. package/dist/components/dock/styles/overflow.css +1 -0
  94. package/dist/components/dock/styles/popover.css +1 -0
  95. package/dist/components/dock/styles/shape.css +1 -0
  96. package/dist/components/dock/styles/shell.css +1 -0
  97. package/dist/components/drawer/Drawer.vue.d.ts +3 -3
  98. package/dist/components/drawer/composables/drawerSnapContext.d.ts +3 -1
  99. package/dist/components/drawer/constants.d.ts +6 -6
  100. package/dist/components/drawer/index.d.ts +4 -6
  101. package/dist/components/drawer/styles.css +1 -0
  102. package/dist/components/dropdown-menu/DropdownMenuContent.vue.d.ts +1 -1
  103. package/dist/components/dropdown-menu/DropdownMenuTrigger.vue.d.ts +9 -3
  104. package/dist/components/dropdown-menu/index.d.ts +0 -1
  105. package/dist/components/easing/EasingConfigurator.vue.d.ts +1 -1
  106. package/dist/components/easing/EasingPicker.vue.d.ts +2 -2
  107. package/dist/components/easing/composables/useEasingPicker.d.ts +4 -0
  108. package/dist/components/easing/constants.d.ts +2 -0
  109. package/dist/components/fading-scroll/composables/useFadingScroll.d.ts +3 -3
  110. package/dist/components/fourier-field/FourierField.vue.d.ts +7 -1
  111. package/dist/components/fourier-field/composables/useFourierField.d.ts +2 -1
  112. package/dist/components/handmark/HandMark.vue.d.ts +1 -1
  113. package/dist/components/handmark/geometry.d.ts +1 -1
  114. package/dist/components/handmark/index.d.ts +4 -6
  115. package/dist/components/icon-chip/styles.css +1 -0
  116. package/dist/components/index.d.ts +0 -1
  117. package/dist/components/infinite-scroll/index.d.ts +1 -0
  118. package/dist/components/instrument-chassis/styles.css +1 -0
  119. package/dist/components/labeled-field/LabeledField.vue.d.ts +12 -2
  120. package/dist/components/labeled-field/LabeledInput.vue.d.ts +10 -3
  121. package/dist/components/liquid-grid/LiquidGrid.vue.d.ts +4 -0
  122. package/dist/components/liquid-grid/composables/useLiquidGrid.d.ts +2 -1
  123. package/dist/components/metric-stack/MetricStack.vue.d.ts +1 -1
  124. package/dist/components/pager-dots/PagerDots.vue.d.ts +1 -1
  125. package/dist/components/popover/PopoverContent.vue.d.ts +1 -1
  126. package/dist/components/progress/Progress.vue.d.ts +5 -40
  127. package/dist/components/progress/ProgressDefault.vue.d.ts +1 -17
  128. package/dist/components/progress/ProgressGradient.vue.d.ts +1 -0
  129. package/dist/components/progress/ProgressLiquid.vue.d.ts +1 -0
  130. package/dist/components/progress/index.d.ts +0 -5
  131. package/dist/components/progress/valueMarks.css +1 -0
  132. package/dist/components/pulse/Pulse.vue.d.ts +2 -2
  133. package/dist/components/scroll-progress-rim/styles.css +1 -0
  134. package/dist/components/search/FuzzySearch.vue.d.ts +4 -2
  135. package/dist/components/search/SearchBar.vue.d.ts +2 -2
  136. package/dist/components/search/searchVariants.d.ts +1 -1
  137. package/dist/components/select/SelectContent.vue.d.ts +1 -1
  138. package/dist/components/select/index.d.ts +0 -2
  139. package/dist/components/skeleton/Skeleton.vue.d.ts +1 -1
  140. package/dist/components/slider/Slider.vue.d.ts +2 -0
  141. package/dist/components/split-chars/SplitChars.vue.d.ts +1 -1
  142. package/dist/components/surface/Surface.vue.d.ts +1 -1
  143. package/dist/components/table/Table.vue.d.ts +4 -0
  144. package/dist/components/tabs/SegmentedTabs.vue.d.ts +10 -0
  145. package/dist/components/tabs/index.d.ts +1 -1
  146. package/dist/components/tabs/styles/drag.css +1 -0
  147. package/dist/components/tags-input/TagsInput.vue.d.ts +2 -2
  148. package/dist/components/timeline/ContinuousTimeline.vue.d.ts +1 -1
  149. package/dist/components/timeline/GlassTimeline.vue.d.ts +4 -4
  150. package/dist/components/toast/Toast.vue.d.ts +3 -3
  151. package/dist/components/toast/use-toast.d.ts +4 -4
  152. package/dist/components/typewriter/TypewriterText.vue.d.ts +1 -4
  153. package/dist/components/typewriter/composables/useTypewriter.d.ts +0 -1
  154. package/dist/components/typewriter/utils/graphemes.d.ts +1 -0
  155. package/dist/components/watercolor-dot/WatercolorDot.vue.d.ts +2 -2
  156. package/dist/composables/glass/useGlassBackdropLuminance.d.ts +31 -0
  157. package/dist/composables/glass/webgpu/rendererStatus.d.ts +13 -0
  158. package/dist/composables/glass/webgpu/useGpuSubstrate.d.ts +3 -0
  159. package/dist/composables/glass/webgpu/webgpuCanvasTypes.d.ts +2 -0
  160. package/dist/composables/motion/springProjection.d.ts +16 -0
  161. package/dist/composables/motion/useAnimatedNumber.d.ts +1 -6
  162. package/dist/composables/motion/useCountup.d.ts +1 -6
  163. package/dist/composables/motion/useDockCtaReceive.d.ts +55 -0
  164. package/dist/composables/motion/useElementMorph.d.ts +8 -0
  165. package/dist/composables/motion/useLiquidPress.d.ts +12 -4
  166. package/dist/composables/motion/useNumericTransition.d.ts +2 -0
  167. package/dist/composables/motion/useTextHighlight.d.ts +2 -1
  168. package/dist/configurator-CSENXXSy.js +311 -0
  169. package/dist/configurator.js +2 -3
  170. package/dist/constellation.js +235 -571
  171. package/dist/controls.js +55 -63
  172. package/dist/{createCanvasLifecycle-DlrcvWbb.js → createCanvasLifecycle-hsFkQVdl.js} +32 -32
  173. package/dist/dark-DIH-blY1.js +70 -0
  174. package/dist/dark.d.ts +1 -2
  175. package/dist/dark.js +2 -20
  176. package/dist/{DataTable-Bxya8nBn.js → data-table-DveMdgBM.js} +231 -120
  177. package/dist/data-table.js +2 -2
  178. package/dist/deck.js +10 -21
  179. package/dist/dialog-BzQxKrUr.js +281 -0
  180. package/dist/dialog.js +2 -3
  181. package/dist/dock.js +561 -428
  182. package/dist/{dockContext-d-WpJN2Z.js → dockContext-4S9qP0Z4.js} +1 -1
  183. package/dist/dom.js +196 -7
  184. package/dist/drawer.js +111 -66
  185. package/dist/dropdown-menu-DORIA52F.js +378 -0
  186. package/dist/dropdown-menu.js +3 -2
  187. package/dist/easing.d.ts +0 -9
  188. package/dist/easing.js +334 -187
  189. package/dist/expandable-container.js +12 -4
  190. package/dist/fading-scroll.js +1 -1
  191. package/dist/focus-scope.js +1 -1
  192. package/dist/forms.js +37 -78
  193. package/dist/fourier-field.js +273 -263
  194. package/dist/fourier-math.d.ts +0 -6
  195. package/dist/fourier-math.js +112 -2
  196. package/dist/glass-ui.css +1 -1
  197. package/dist/glass-ui.js +131 -195
  198. package/dist/handmark.d.ts +0 -2
  199. package/dist/handmark.js +82 -82
  200. package/dist/header-ribbon.js +41 -30
  201. package/dist/{IconChip-CwLmBJ_K.js → icon-chip-BWuxz1-u.js} +1 -1
  202. package/dist/icon-chip.js +1 -1
  203. package/dist/{IconTooltip-D9sbK-Mk.js → icon-tooltip-CO6rw0dZ.js} +1 -1
  204. package/dist/icon-tooltip.js +1 -1
  205. package/dist/index.d.ts +0 -1
  206. package/dist/infinite-scroll.d.ts +0 -1
  207. package/dist/infinite-scroll.js +17 -15
  208. package/dist/instrument-chassis.js +1 -1
  209. package/dist/keyboard.js +104 -2
  210. package/dist/label.js +1 -1
  211. package/dist/labeled-field.js +95 -69
  212. package/dist/liquid-grid.js +173 -162
  213. package/dist/metric-badge.js +3 -3
  214. package/dist/metric-cell.js +2 -2
  215. package/dist/metric-stack.js +1 -1
  216. package/dist/motion-core.js +15 -16
  217. package/dist/motion-curves.d.ts +0 -20
  218. package/dist/motion.js +59 -58
  219. package/dist/{Notification-DQv2cOh9.js → notification-DVs7ODMg.js} +17 -8
  220. package/dist/notification.js +1 -1
  221. package/dist/{NumberFieldContent-BkE7xPS9.js → number-field-PvkGedHk.js} +2 -2
  222. package/dist/number-field.js +1 -1
  223. package/dist/pager-dots.js +1 -1
  224. package/dist/paper-backdrop.js +31 -2
  225. package/dist/{PopoverContent-DOtszFWK.js → popover-WMgyRSyN.js} +7 -2
  226. package/dist/popover.js +1 -1
  227. package/dist/procedural-color.wgsl-B9mLK7v0.js +377 -0
  228. package/dist/progress-C-HHuFZy.js +192 -0
  229. package/dist/progress.js +2 -2
  230. package/dist/pulse.js +3 -1
  231. package/dist/reactive.js +19 -3
  232. package/dist/rendererStatus-C2-zC2Q-.js +40 -0
  233. package/dist/{resolveCanvasColor-B3L-akX0.js → resolveCanvasColor-yarP5bdk.js} +1 -1
  234. package/dist/scroll-progress-rim.js +1 -1
  235. package/dist/search.js +187 -146
  236. package/dist/{SelectScrollDownButton-CDtwaWkZ.js → select-BIv4R3Ir.js} +109 -44
  237. package/dist/select.js +2 -4
  238. package/dist/separator-CBU94kTM.js +62 -0
  239. package/dist/separator.js +1 -1
  240. package/dist/sidebar.js +1 -1
  241. package/dist/slider-Cc_qw6GA.js +166 -0
  242. package/dist/slider.js +1 -1
  243. package/dist/sortable-list.js +43 -43
  244. package/dist/styles/accessibility.css +1 -0
  245. package/dist/styles/components.css +1 -1
  246. package/dist/styles/glass/control-surfaces.css +1 -1
  247. package/dist/styles/glass/glass-capsule.css +1 -1
  248. package/dist/styles/glass/ladder.css +1 -1
  249. package/dist/styles/glass/liquid-fill.css +1 -1
  250. package/dist/styles/glass/material-roles.css +1 -0
  251. package/dist/styles/glass/material.css +1 -1
  252. package/dist/styles/glass/surface-axis.css +1 -1
  253. package/dist/styles/glass/surfaces-pager.css +1 -1
  254. package/dist/styles/glass/surfaces.css +1 -1
  255. package/dist/styles/glass.css +1 -1
  256. package/dist/styles/index.css +1 -1
  257. package/dist/styles/theme/bridges.css +1 -1
  258. package/dist/styles/tokens/glass-fx.css +1 -1
  259. package/dist/styles/tokens/glass.css +1 -1
  260. package/dist/styles/tokens/offsets.css +1 -1
  261. package/dist/styles/tokens/scale-paper.css +1 -1
  262. package/dist/styles/tokens/scheme-spring.css +1 -1
  263. package/dist/styles/tokens/shadow.css +1 -1
  264. package/dist/styles/tokens.d.ts +53 -0
  265. package/dist/styles/tokens.ts +58 -0
  266. package/dist/styles/typography/scale.css +1 -1
  267. package/dist/styles/typography/semantic.css +1 -1
  268. package/dist/styles/typography/utilities.css +1 -1
  269. package/dist/styles/utilities/base.css +1 -1
  270. package/dist/styles/utilities/btn.css +1 -1
  271. package/dist/styles/utilities/components.css +1 -1
  272. package/dist/styles/utilities.css +1 -1
  273. package/dist/{Switch-BPBfhMU3.js → switch-Boj4Ucn5.js} +1 -1
  274. package/dist/switch.js +1 -1
  275. package/dist/tabs.js +51 -45
  276. package/dist/timeline.js +2 -2
  277. package/dist/toast.js +1 -1
  278. package/dist/{ToggleGroupItem-DNWx2aSW.js → toggle-group-BPchFsns.js} +10 -7
  279. package/dist/toggle-group.js +1 -1
  280. package/dist/tokens.d.ts +1 -53
  281. package/dist/tokens.js +1 -1
  282. package/dist/{TooltipProvider-GtfYdSVf.js → tooltip-BmOQJzh0.js} +1 -0
  283. package/dist/tooltip.js +1 -1
  284. package/dist/typewriter.js +151 -166
  285. package/dist/{useAccentTone-D25DxviG.js → useAccentTone-C-p6WdPe.js} +1 -1
  286. package/dist/{useAnimatedNumber-2XC4aRB6.js → useAnimatedNumber-BRVVaFFc.js} +1 -1
  287. package/dist/useDockCtaReceive-CK-RLASa.js +257 -0
  288. package/dist/{useGooMorph-CU1pwuC6.js → useGooMorph-D1F6QJlH.js} +140 -59
  289. package/dist/{useIntersectionPause-Cmt5Tnv9.js → useIntersectionPause-B-dbxl9w.js} +1 -1
  290. package/dist/useLiquidPress-BYcwwGQV.js +68 -0
  291. package/dist/{useRAFLoop-CvOo_kgb.js → useRAFLoop-BtwQ9DyY.js} +1 -1
  292. package/dist/{useScrollProgress-C-yImzhU.js → useScrollProgress-DZI4nf4v.js} +1 -1
  293. package/dist/{useSelectionGroup-Btpf24aY.js → useSelectionGroup-LDzBdR1Y.js} +3 -3
  294. package/dist/{useTabRovingFocus-CG1H1k1J.js → useTabRovingFocus-DkLYwo4L.js} +1 -1
  295. package/dist/{useTouchGate-BlegwvwL.js → useTouchGate-Cj5fOkTv.js} +1 -1
  296. package/dist/valueDomain-B8L04u3U.js +13 -0
  297. package/dist/watercolor-dot.js +5 -3
  298. package/package.json +5 -12
  299. package/src/styles/accessibility.css +48 -0
  300. package/src/styles/glass/glass-capsule.css +2 -2
  301. package/src/styles/glass/ladder.css +1 -1
  302. package/src/styles/glass/material-roles.css +18 -0
  303. package/src/styles/glass/material.css +18 -12
  304. package/src/styles/glass.css +5 -5
  305. package/src/styles/index.css +38 -30
  306. package/src/styles/theme/bridges.css +0 -6
  307. package/src/styles/tokens/glass-fx.css +1 -5
  308. package/src/styles/tokens/glass.css +1 -2
  309. package/src/styles/tokens/offsets.css +0 -1
  310. package/src/styles/tokens/property-regs.css +11 -10
  311. package/src/styles/tokens/scale-paper.css +0 -1
  312. package/src/styles/tokens/scheme-motion.css +3 -0
  313. package/src/styles/tokens/scheme-spring.css +0 -10
  314. package/src/styles/tokens/shadow.css +3 -29
  315. package/src/styles/tokens.ts +58 -0
  316. package/src/styles/typography/scale.css +5 -2
  317. package/src/styles/typography/semantic.css +5 -5
  318. package/src/styles/typography/utilities.css +5 -5
  319. package/src/styles/utilities/base.css +5 -5
  320. package/src/styles/utilities/btn.css +6 -27
  321. package/src/styles/utilities.css +4 -6
  322. package/dist/ConfiguratorRow-BV6zPjTM.js +0 -151
  323. package/dist/DialogContent-Bl4v10AC.js +0 -192
  324. package/dist/DialogFooter-C0v4Hz2F.js +0 -168
  325. package/dist/PaperBackdrop-BYwE8_kg.js +0 -31
  326. package/dist/Progress-uWLyXE7J.js +0 -308
  327. package/dist/SelectGroup-BuEptUsa.js +0 -31
  328. package/dist/SelectSeparator-4QGephvr.js +0 -49
  329. package/dist/Separator-DqJ6PfOd.js +0 -44
  330. package/dist/color-Bp5jmv4Z.js +0 -86
  331. package/dist/components/carousel/GlassCarouselPager.vue.d.ts +0 -50
  332. package/dist/components/combobox/ComboboxSeparator.vue.d.ts +0 -18
  333. package/dist/components/combobox/ComboboxViewport.vue.d.ts +0 -18
  334. package/dist/components/constellation/composables/constellationGLSetup.d.ts +0 -10
  335. package/dist/components/constellation/composables/constellationWGPUSetup.d.ts +0 -19
  336. package/dist/components/constellation/composables/uniformBridgeWGPU.d.ts +0 -66
  337. package/dist/components/constellation/shaders/constellation-lines.glsl.d.ts +0 -2
  338. package/dist/components/constellation/shaders/constellation-lines.wgsl.d.ts +0 -1
  339. package/dist/components/constellation/shaders/constellation-points.glsl.d.ts +0 -2
  340. package/dist/components/constellation/shaders/constellation-points.wgsl.d.ts +0 -1
  341. package/dist/components/deck/composables/useDeckSpring.d.ts +0 -22
  342. package/dist/components/dialog/DialogScrollContent.vue.d.ts +0 -33
  343. package/dist/components/progress/ProgressSectioned.vue.d.ts +0 -47
  344. package/dist/components/progress/useProgressGeometry.d.ts +0 -60
  345. package/dist/components/section/Section.vue.d.ts +0 -73
  346. package/dist/components/section/index.d.ts +0 -1
  347. package/dist/components/stacked-icons/StackedIconGroup.vue.d.ts +0 -30
  348. package/dist/components/stacked-icons/index.d.ts +0 -2
  349. package/dist/components/stacked-icons/types.d.ts +0 -19
  350. package/dist/dropdown-menu-DaGlVdp9.js +0 -421
  351. package/dist/math-CIEcwsYi.js +0 -112
  352. package/dist/procedural-color.wgsl-ByduxnzV.js +0 -4
  353. package/dist/slider-Cxuj_W_H.js +0 -151
  354. package/dist/stacked-icons.d.ts +0 -1
  355. package/dist/stacked-icons.js +0 -98
  356. package/dist/styles/cards.css +0 -1
  357. package/dist/styles/completion-seal.css +0 -1
  358. package/dist/styles/dock/adaptive-legibility.css +0 -1
  359. package/dist/styles/dock/dock.css +0 -1
  360. package/dist/styles/dock/layer-group.css +0 -1
  361. package/dist/styles/dock/layers.css +0 -1
  362. package/dist/styles/dock/overflow.css +0 -1
  363. package/dist/styles/dock/popover.css +0 -1
  364. package/dist/styles/dock/shape.css +0 -1
  365. package/dist/styles/dock/shell.css +0 -1
  366. package/dist/styles/dock-controls/icon-button.css +0 -1
  367. package/dist/styles/dock-controls.css +0 -1
  368. package/dist/styles/dock.css +0 -1
  369. package/dist/styles/drawer.css +0 -1
  370. package/dist/styles/icon-chip.css +0 -1
  371. package/dist/styles/instrument-chassis.css +0 -1
  372. package/dist/styles/scroll-progress-rim.css +0 -1
  373. package/dist/styles/select.css +0 -1
  374. package/dist/styles/tabs/segmented-tabs-drag.css +0 -1
  375. package/dist/styles/utilities/animate.css +0 -0
  376. package/dist/useConfiguratorState-Dq35N_7t.js +0 -167
  377. package/dist/useDockCtaReceive-BgMmeINo.js +0 -161
  378. package/dist/useGlobalDark-DjKMEQE2.js +0 -53
  379. package/dist/useGpuSubstrate-DcY584kE.js +0 -347
  380. package/dist/useInterval-ZATRi-1T.js +0 -18
  381. package/dist/useKeyboardShortcuts-ynVmNFo3.js +0 -104
  382. package/dist/useLiquidPress-BXNHydZh.js +0 -40
  383. package/dist/useTextHighlight-C46Le9u_.js +0 -72
  384. package/dist/useViewportReady-c0isoKL8.js +0 -191
  385. package/src/styles/card-scroll.css +0 -189
  386. package/src/styles/cards.css +0 -485
  387. package/src/styles/completion-seal.css +0 -205
  388. package/src/styles/configurator.css +0 -359
  389. package/src/styles/dialog-placement.css +0 -68
  390. package/src/styles/dock/adaptive-legibility.css +0 -119
  391. package/src/styles/dock/crossfade.css +0 -139
  392. package/src/styles/dock/cta-seat.css +0 -87
  393. package/src/styles/dock/density.css +0 -458
  394. package/src/styles/dock/dock.css +0 -199
  395. package/src/styles/dock/fisheye.css +0 -81
  396. package/src/styles/dock/layer-group.css +0 -329
  397. package/src/styles/dock/layers.css +0 -438
  398. package/src/styles/dock/morph.css +0 -455
  399. package/src/styles/dock/overflow.css +0 -332
  400. package/src/styles/dock/popover.css +0 -249
  401. package/src/styles/dock/search.css +0 -68
  402. package/src/styles/dock/section.css +0 -59
  403. package/src/styles/dock/shape.css +0 -188
  404. package/src/styles/dock/shell-regions.css +0 -73
  405. package/src/styles/dock/shell.css +0 -500
  406. package/src/styles/dock-controls/dark-mode-toggle.css +0 -123
  407. package/src/styles/dock-controls/icon-button.css +0 -221
  408. package/src/styles/dock-controls/tab-button.css +0 -143
  409. package/src/styles/dock-controls/touch-floor.css +0 -119
  410. package/src/styles/dock-controls/triggers.css +0 -157
  411. package/src/styles/dock-controls.css +0 -92
  412. package/src/styles/dock.css +0 -219
  413. package/src/styles/drawer.css +0 -434
  414. package/src/styles/feedback-tone.css +0 -104
  415. package/src/styles/icon-chip.css +0 -256
  416. package/src/styles/instrument-chassis.css +0 -449
  417. package/src/styles/menu.css +0 -187
  418. package/src/styles/scroll-progress-rim.css +0 -87
  419. package/src/styles/segmented-tabs.css +0 -424
  420. package/src/styles/select.css +0 -201
  421. package/src/styles/tabs/segmented-tabs-drag.css +0 -200
  422. package/src/styles/utilities/animate.css +0 -29
  423. /package/dist/{coalesce-metric-B8o7zT9u.js → coalesce-metric-znAcLzkB.js} +0 -0
  424. /package/dist/{CollapsibleContent-DiHcB_HH.js → collapsible-bPzS1aQk.js} +0 -0
  425. /package/dist/{compile-C55K3P9g.js → compile-DK3Fri1B.js} +0 -0
  426. /package/dist/{styles → components/_shared}/feedback-tone.css +0 -0
  427. /package/dist/{styles → components/_shared}/menu.css +0 -0
  428. /package/dist/{styles → components/card}/card-scroll.css +0 -0
  429. /package/dist/{styles/configurator.css → components/configurator/styles.css} +0 -0
  430. /package/dist/{styles/dock-controls → components/controls}/dark-mode-toggle.css +0 -0
  431. /package/dist/{styles/dialog-placement.css → components/dialog/placement.css} +0 -0
  432. /package/dist/{styles/dock-controls → components/dock/styles/controls}/tab-button.css +0 -0
  433. /package/dist/{styles/dock-controls → components/dock/styles/controls}/triggers.css +0 -0
  434. /package/dist/{styles/dock → components/dock/styles}/crossfade.css +0 -0
  435. /package/dist/{styles/dock → components/dock/styles}/cta-seat.css +0 -0
  436. /package/dist/{styles/dock → components/dock/styles}/fisheye.css +0 -0
  437. /package/dist/{styles/dock → components/dock/styles}/morph.css +0 -0
  438. /package/dist/{styles/dock → components/dock/styles}/search.css +0 -0
  439. /package/dist/{styles/dock → components/dock/styles}/section.css +0 -0
  440. /package/dist/{styles/dock → components/dock/styles}/shell-regions.css +0 -0
  441. /package/dist/{styles/segmented-tabs.css → components/tabs/styles/segmented.css} +0 -0
  442. /package/dist/{constants-D8lSMkOz.js → constants-DRZmNIY-.js} +0 -0
  443. /package/dist/{createContext-BQ1Gy_LB.js → createContext-FU0n5MGK.js} +0 -0
  444. /package/dist/{flow.glsl-CVqPSj8_.js → flow.glsl-DEGFGE11.js} +0 -0
  445. /package/dist/{FocusScope-BzKwhsBn.js → focus-scope-DUTKveod.js} +0 -0
  446. /package/dist/{InstrumentChassis-Dss5Tjcm.js → instrument-chassis-Cvstg4_U.js} +0 -0
  447. /package/dist/{Label-C84TaQiw.js → label-Cj38tJKG.js} +0 -0
  448. /package/dist/{menuItemVariants-DbO-Fr74.js → menuItemVariants-D6AOzzND.js} +0 -0
  449. /package/dist/{pointerFieldMappings-4VtmkOWv.js → pointerFieldMappings-CZojkgKj.js} +0 -0
  450. /package/dist/{presets-B07HzyKd.js → presets-CxeNvxuO.js} +0 -0
  451. /package/dist/{prng-B0PLRmR6.js → prng-Dz2_9RJu.js} +0 -0
  452. /package/dist/{scrollReader-DzYqPQ6V.js → scrollReader-C2oK9Hb8.js} +0 -0
  453. /package/dist/{supportsCssTimeline-Ie4xJFbD.js → supportsCssTimeline-Dz-GVxXM.js} +0 -0
  454. /package/dist/{Toaster-C_-WeU9W.js → toast-kAbchIN2.js} +0 -0
  455. /package/dist/{useControlSize-DJwe-7ZQ.js → useControlSize-CFfOk8I-.js} +0 -0
  456. /package/dist/{useDocumentVisibility-CpJGUgcJ.js → useDocumentVisibility-YeBDGqtI.js} +0 -0
  457. /package/dist/{useDragMorph-65ihHePq.js → useDragMorph-7ygF9O0m.js} +0 -0
  458. /package/dist/{useDragVelocity-BWcNMCux.js → useDragVelocity-CbMZEBaC.js} +0 -0
  459. /package/dist/{useFuzzySearch-KslRxiJY.js → useFuzzySearch-BOgep7RE.js} +0 -0
  460. /package/dist/{useLeadTrail-DOH4XkL1.js → useLeadTrail-BYu8dq4G.js} +0 -0
  461. /package/dist/{usePointerVelocityField-CwXyeW0Z.js → usePointerVelocityField-BdvnO0py.js} +0 -0
  462. /package/dist/{useResizeObserver-DDuoBeBo.js → useResizeObserver-BcUTquV7.js} +0 -0
  463. /package/dist/{useResolveTokenColor-DVT5kwv6.js → useResolveTokenColor-C07e-qaT.js} +0 -0
  464. /package/dist/{useRoutePointer-DL7I0gY4.js → useRoutePointer-BDNMFN73.js} +0 -0
  465. /package/dist/{useSpringMount-CNvvgGiC.js → useSpringMount-C6-DBx4e.js} +0 -0
  466. /package/dist/{useTimer-CkDV8SC2.js → useTimer-D8koDvJS.js} +0 -0
  467. /package/dist/{useUserInvalidAria-Bkruei7M.js → useUserInvalidAria-Cr4nR3tu.js} +0 -0
  468. /package/dist/{vReveal-DUmiEkX_.js → vReveal-DZfWl9XI.js} +0 -0
  469. /package/dist/{vSpecular-DlYN0UZy.js → vSpecular-CQFmLNzA.js} +0 -0
  470. /package/dist/{writeVelocityWeight-D1rvdxJu.js → writeVelocityWeight-D_AcvTsE.js} +0 -0
@@ -1,3 +1 @@
1
- // @mkbabb/glass-ui/handmark — the hand-mark family subpath mirror (BA.W-HANDMARK).
2
- // The platform's hand voice: HandMark/InkMark + BRUSHES + the pure L1–L3 stages.
3
1
  export * from "./components/handmark";
package/dist/handmark.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-C1je1s0u.js";
2
- import { n as t } from "./prng-B0PLRmR6.js";
2
+ import { n as t } from "./prng-Dz2_9RJu.js";
3
3
  import { Fragment as n, computed as r, createCommentVNode as i, createElementBlock as a, defineComponent as o, normalizeClass as s, normalizeStyle as c, onBeforeUnmount as l, onMounted as u, openBlock as d, ref as f, renderList as p, renderSlot as m, unref as h, useId as g, watch as _ } from "vue";
4
4
  import { catmullRomToBezier as v, ellipsePoints as y, perturbPoints as b, perturbPointsClosed as x, pointsToLinear as S, useLineBoil as C, wobbleLinePoints as w } from "@mkbabb/pencil-boil";
5
5
  //#region src/components/handmark/brush.ts
@@ -197,10 +197,10 @@ var T = {
197
197
  }, O = 100, k = 40, A = .06, j = .22, M = .66, N = 1.618033988749895, P = 2.5, F = .05, I = .12;
198
198
  //#endregion
199
199
  //#region src/components/handmark/noise.ts
200
- function ee(e) {
200
+ function L(e) {
201
201
  return e * e * e * (e * (e * 6 - 15) + 10);
202
202
  }
203
- function L(e, n, r, i, a, o = 1) {
203
+ function R(e, n, r, i, a, o = 1) {
204
204
  let s = r - e;
205
205
  if (s <= 0) return [[e, n], [r, n]];
206
206
  let c = i >>> 0, l = s * F * o, u = t(c), d = 0, f = Array.from({ length: 4 }, (e, n) => {
@@ -216,7 +216,7 @@ function L(e, n, r, i, a, o = 1) {
216
216
  weight: a,
217
217
  vnoise: (e) => {
218
218
  let t = Math.floor(e), n = e - t, r = l(t);
219
- return r + (l(t + 1) - r) * ee(n);
219
+ return r + (l(t + 1) - r) * L(n);
220
220
  }
221
221
  };
222
222
  }), p = Math.max(6, a), m = [];
@@ -231,14 +231,14 @@ function L(e, n, r, i, a, o = 1) {
231
231
  }
232
232
  //#endregion
233
233
  //#region src/components/handmark/geometry.ts
234
- function R(e, t, n = null, r = null, i = !1, a = 40, o = 1) {
234
+ function z(e, t, n = null, r = null, i = !1, a = 40, o = 1) {
235
235
  let s = n == null && (e === "underline" || e === "strikethrough" || e === "highlight") ? a : 40, c = n ? n.x : 4, l = n ? n.x + n.w : 96, u = n ? n.y + n.h / 2 : s / 2, d = n ? n.y + n.h * .92 : r == null ? s - 8 : s * (r + A), f = t.seed ?? 1, p = t.segments ?? 9, m = (e, n, r, i, a = 0) => w(e, n, r, i, {
236
236
  ...t,
237
237
  seed: f + a
238
238
  });
239
239
  switch (e) {
240
240
  case "underline": return {
241
- lines: [i ? L(c, d, l, f, p, o) : m(c, d, l, d)],
241
+ lines: [i ? R(c, d, l, f, p, o) : m(c, d, l, d)],
242
242
  closed: !1
243
243
  };
244
244
  case "strikethrough": return {
@@ -289,19 +289,19 @@ function R(e, t, n = null, r = null, i = !1, a = 40, o = 1) {
289
289
  };
290
290
  }
291
291
  }
292
- function z({ lines: e, closed: t }, n, r) {
292
+ function B({ lines: e, closed: t }, n, r) {
293
293
  return e.map((e, i) => {
294
294
  if (t) return x(e, n, r + i);
295
295
  let a = e[0], o = e[e.length - 1];
296
296
  return b(e, a[0], a[1], o[0], o[1], n, r + i);
297
297
  });
298
298
  }
299
- function B(e, t = !1) {
299
+ function V(e, t = !1) {
300
300
  return e.map((e) => t ? S(e) : v(e)).join(" ");
301
301
  }
302
302
  //#endregion
303
303
  //#region src/components/handmark/freehand.ts
304
- var V = (e, t) => [e[0] + t[0], e[1] + t[1]], H = (e, t) => [e[0] - t[0], e[1] - t[1]], U = (e, t) => [e[0] * t, e[1] * t], W = (e) => [-e[0], -e[1]], G = (e) => [e[1], -e[0]], te = (e, t) => e[0] * t[0] + e[1] * t[1], ne = (e) => e[0] * e[0] + e[1] * e[1], K = (e, t) => ne(H(e, t)), re = (e, t) => Math.hypot(e[1] - t[1], e[0] - t[0]), ie = (e) => U(e, 1 / (Math.hypot(e[0], e[1]) || 1)), q = (e, t, n) => V(e, U(H(t, e), n)), J = (e, t) => U(V(e, t), .5), Y = (e, t, n) => {
304
+ var H = (e, t) => [e[0] + t[0], e[1] + t[1]], U = (e, t) => [e[0] - t[0], e[1] - t[1]], W = (e, t) => [e[0] * t, e[1] * t], ee = (e) => [-e[0], -e[1]], G = (e) => [e[1], -e[0]], te = (e, t) => e[0] * t[0] + e[1] * t[1], ne = (e) => e[0] * e[0] + e[1] * e[1], K = (e, t) => ne(U(e, t)), re = (e, t) => Math.hypot(e[1] - t[1], e[0] - t[0]), ie = (e) => W(e, 1 / (Math.hypot(e[0], e[1]) || 1)), q = (e, t, n) => H(e, W(U(t, e), n)), J = (e, t) => W(H(e, t), .5), Y = (e, t, n) => {
305
305
  let r = Math.sin(n), i = Math.cos(n), a = e[0] - t[0], o = e[1] - t[1];
306
306
  return [a * i - o * r + t[0], a * r + o * i + t[1]];
307
307
  }, { min: X, PI: ae } = Math, Z = ae + 1e-4, oe = (e) => e;
@@ -317,7 +317,7 @@ function se(e, t = {}) {
317
317
  let e = o[1];
318
318
  o[1] = q(o[0], e, .5), o.push(e);
319
319
  }
320
- o.length === 1 && o.push([...V(o[0], [1, 1]), ...o[0].slice(2)]);
320
+ o.length === 1 && o.push([...H(o[0], [1, 1]), ...o[0].slice(2)]);
321
321
  let s = [{
322
322
  point: [o[0][0], o[0][1]],
323
323
  pressure: o[0][2] >= 0 ? o[0][2] : .25,
@@ -336,7 +336,7 @@ function se(e, t = {}) {
336
336
  u = {
337
337
  point: t,
338
338
  pressure: o[e][2] >= 0 ? o[e][2] : .5,
339
- vector: ie(H(u.point, t)),
339
+ vector: ie(U(u.point, t)),
340
340
  distance: n,
341
341
  runningLength: l
342
342
  }, s.push(u);
@@ -353,7 +353,7 @@ function ce(e, t = {}) {
353
353
  r = X(1, e + (X(1, 1 - i) - e) * (i * .275));
354
354
  }
355
355
  return (e + r) / 2;
356
- }, e[0].pressure), S = le(n, i, e[e.length - 1].pressure, o), C, w = e[0].vector, T = e[0].point, E = T, D = T, O = E, k = !1;
356
+ }, e[0].pressure), S = Q(n, i, e[e.length - 1].pressure, o), C, w = e[0].vector, T = e[0].point, E = T, D = T, O = E, k = !1;
357
357
  for (let t = 0; t < e.length; t++) {
358
358
  let { pressure: r } = e[t], { point: s, vector: c, distance: l, runningLength: u } = e[t];
359
359
  if (t < e.length - 1 && m - u < 3) continue;
@@ -362,30 +362,30 @@ function ce(e, t = {}) {
362
362
  let e = X(1, l / n), t = X(1, 1 - e);
363
363
  r = X(1, x + (t - x) * (e * .275));
364
364
  }
365
- S = le(n, i, r, o);
365
+ S = Q(n, i, r, o);
366
366
  } else S = n / 2;
367
367
  C === void 0 && (C = S);
368
368
  let f = u < h ? d(u / h) : 1, A = m - u < g ? p((m - u) / g) : 1;
369
369
  S = Math.max(.01, S * Math.min(f, A));
370
370
  let j = (t < e.length - 1 ? e[t + 1] : e[t]).vector, M = t < e.length - 1 ? te(c, j) : 1, N = te(c, w) < 0 && !k, P = M !== null && M < .2;
371
371
  if (N || P) {
372
- let e = U(G(w), S);
373
- for (let t = 0; t <= 1; t += .07692307692307693) D = Y(H(s, e), s, Z * t), v.push(D), O = Y(V(s, e), s, Z * -t), y.push(O);
372
+ let e = W(G(w), S);
373
+ for (let t = 0; t <= 1; t += .07692307692307693) D = Y(U(s, e), s, Z * t), v.push(D), O = Y(H(s, e), s, Z * -t), y.push(O);
374
374
  T = D, E = O, P && (k = !0);
375
375
  continue;
376
376
  }
377
377
  if (k = !1, t === e.length - 1) {
378
- let e = U(G(c), S);
379
- v.push(H(s, e)), y.push(V(s, e));
378
+ let e = W(G(c), S);
379
+ v.push(U(s, e)), y.push(H(s, e));
380
380
  continue;
381
381
  }
382
- let F = U(G(q(j, c, M)), S);
383
- D = H(s, F), (t <= 1 || K(T, D) > _) && (v.push(D), T = D), O = V(s, F), (t <= 1 || K(E, O) > _) && (y.push(O), E = O), x = r, w = c, b.push(S);
382
+ let F = W(G(q(j, c, M)), S);
383
+ D = U(s, F), (t <= 1 || K(T, D) > _) && (v.push(D), T = D), O = H(s, F), (t <= 1 || K(E, O) > _) && (y.push(O), E = O), x = r, w = c, b.push(S);
384
384
  }
385
- let A = e[0].point.slice(0, 2), j = e.length > 1 ? e[e.length - 1].point.slice(0, 2) : V(e[0].point, [1, 1]), M = [], N = [];
385
+ let A = e[0].point.slice(0, 2), j = e.length > 1 ? e[e.length - 1].point.slice(0, 2) : H(e[0].point, [1, 1]), M = [], N = [];
386
386
  if (e.length === 1) {
387
387
  if (!(h || g) || l) {
388
- let e = V(A, U(ie(G(H(A, j))), -(C ?? S))), t = [];
388
+ let e = H(A, W(ie(G(U(A, j))), -(C ?? S))), t = [];
389
389
  for (let n = 1 / 13, r = n; r <= 1; r += n) t.push(Y(e, A, Z * 2 * r));
390
390
  return t;
391
391
  }
@@ -395,27 +395,27 @@ function ce(e, t = {}) {
395
395
  M.push(e);
396
396
  }
397
397
  else {
398
- let e = H(v[0], y[0]), t = U(e, .5), n = U(e, .51);
399
- M.push(H(A, t), H(A, n), V(A, n), V(A, t));
398
+ let e = U(v[0], y[0]), t = W(e, .5), n = W(e, .51);
399
+ M.push(U(A, t), U(A, n), H(A, n), H(A, t));
400
400
  }
401
- let t = G(W(e[e.length - 1].vector));
401
+ let t = G(ee(e[e.length - 1].vector));
402
402
  if (g || h && e.length === 1) N.push(j);
403
403
  else if (f) {
404
- let e = V(j, U(t, S));
404
+ let e = H(j, W(t, S));
405
405
  for (let t = 1 / 29, n = t; n < 1; n += t) N.push(Y(e, j, Z * 3 * n));
406
- } else N.push(V(j, U(t, S)), V(j, U(t, S * .99)), H(j, U(t, S * .99)), H(j, U(t, S)));
406
+ } else N.push(H(j, W(t, S)), H(j, W(t, S * .99)), U(j, W(t, S * .99)), U(j, W(t, S)));
407
407
  }
408
408
  return v.concat(N, y.reverse(), M);
409
409
  }
410
- function le(e, t, n, r = oe) {
410
+ function Q(e, t, n, r = oe) {
411
411
  if (!t) return e / 2;
412
412
  let i = n;
413
413
  return i < 0 && (i = 0), i > 1 && (i = 1), e * r(.5 - t * (.5 - i)) * .5 + e / 2 * (1 - Math.abs(t));
414
414
  }
415
- function ue(e, t = {}) {
415
+ function le(e, t = {}) {
416
416
  return ce(se(e, t), t);
417
417
  }
418
- function de(e, t = !0) {
418
+ function ue(e, t = !0) {
419
419
  if (e.length < 4) return "";
420
420
  let n = e[0], r = e[1], i = e[2], a = `M${n[0].toFixed(2)},${n[1].toFixed(2)} Q${r[0].toFixed(2)},${r[1].toFixed(2)} ${J(r, i)[0].toFixed(2)},${J(r, i)[1].toFixed(2)} T`;
421
421
  for (let t = 2, i = e.length - 1; t < i; t++) n = e[t], r = e[t + 1], a += `${J(n, r)[0].toFixed(2)},${J(n, r)[1].toFixed(2)} `;
@@ -423,7 +423,7 @@ function de(e, t = !0) {
423
423
  }
424
424
  //#endregion
425
425
  //#region src/components/handmark/texture.ts
426
- function fe(e, t, n) {
426
+ function de(e, t, n) {
427
427
  if (t.grain <= 0 && t.grainScale <= 0) return "";
428
428
  let r = (n ^ 34283) & 65535, i = (.55 - t.grain * .42).toFixed(3), a = t.grain > 0 ? "in" : "over";
429
429
  return `
@@ -437,17 +437,17 @@ function fe(e, t, n) {
437
437
  <feDisplacementMap in="grained" in2="grain" scale="${(t.grainScale * 2).toFixed(2)}" xChannelSelector="R" yChannelSelector="G"/>
438
438
  </filter>`;
439
439
  }
440
- function Q(e) {
440
+ function $(e) {
441
441
  return e.grain > 0 || e.grainScale > 0;
442
442
  }
443
443
  //#endregion
444
444
  //#region src/components/handmark/ink.ts
445
- function pe(e) {
445
+ function fe(e) {
446
446
  let t = 0;
447
447
  for (let n = 1; n < e.length; n++) t += Math.hypot(e[n][0] - e[n - 1][0], e[n][1] - e[n - 1][1]);
448
448
  return t;
449
449
  }
450
- function me(e) {
450
+ function pe(e) {
451
451
  let t = e.length;
452
452
  if (t < 3) return e;
453
453
  let n = [e[0]];
@@ -457,7 +457,7 @@ function me(e) {
457
457
  }
458
458
  return n.push(e[t - 1]), n;
459
459
  }
460
- function he(e, t) {
460
+ function me(e, t) {
461
461
  let n = e.length;
462
462
  if (t <= 0 || t >= n - 1) return 0;
463
463
  let r = e[t - 1], i = e[t], a = e[t + 1], o = i[0] - r[0], s = i[1] - r[1], c = a[0] - i[0], l = a[1] - i[1], u = Math.hypot(o, s), d = Math.hypot(c, l);
@@ -465,11 +465,11 @@ function he(e, t) {
465
465
  let f = Math.abs(o * l - s * c) / (u * d);
466
466
  return Math.min(1, f);
467
467
  }
468
- var ge = 2.5, _e = .9;
469
- function ve(e, n, r) {
470
- let i = t(r >>> 0), a = me(e);
468
+ var he = 2.5, ge = .9;
469
+ function _e(e, n, r) {
470
+ let i = t(r >>> 0), a = pe(e);
471
471
  return e.map((e, t) => {
472
- let r = _e * (1 - ge * he(a, t)) + (i() - .5) * n.weightJitter * .4;
472
+ let r = ge * (1 - he * me(a, t)) + (i() - .5) * n.weightJitter * .4;
473
473
  return [
474
474
  e[0],
475
475
  e[1],
@@ -477,17 +477,17 @@ function ve(e, n, r) {
477
477
  ];
478
478
  });
479
479
  }
480
- function ye(e) {
480
+ function ve(e) {
481
481
  return e === "out-cubic" ? (e) => 1 - (1 - e) ** 3 : (e) => e;
482
482
  }
483
- function $(e, n, r, i, a, o = !1) {
483
+ function ye(e, n, r, i, a, o = !1) {
484
484
  if (n.stamp) {
485
485
  let a = t(r >>> 0), o = n.stamp({
486
486
  centerline: e,
487
487
  brush: n,
488
488
  rng: a,
489
489
  seed: r,
490
- length: pe(e),
490
+ length: fe(e),
491
491
  color: i
492
492
  });
493
493
  return {
@@ -500,20 +500,20 @@ function $(e, n, r, i, a, o = !1) {
500
500
  for (let t = 0; t < n.passes; t++) {
501
501
  let a = e[0], o = e[e.length - 1], l = b(e, a[0], a[1], o[0], o[1], n.weight * .06, r + 991 * t), u = n.opacity * (1 - n.passOpacity * t);
502
502
  if (n.ribbon === "hull") {
503
- let e = ve(l, n, r + 7 * t), a = Math.max(.12, Math.min(.6, .875 - .75 * n.roughness)), o = ue(e, {
503
+ let e = _e(l, n, r + 7 * t), a = Math.max(.12, Math.min(.6, .875 - .75 * n.roughness)), o = le(e, {
504
504
  size: n.weight,
505
505
  thinning: n.thinning,
506
506
  streamline: a,
507
507
  last: !0,
508
508
  start: {
509
509
  taper: n.taper.start,
510
- easing: ye(n.taper.ease)
510
+ easing: ve(n.taper.ease)
511
511
  },
512
512
  end: {
513
513
  taper: n.taper.end,
514
- easing: ye(n.taper.ease)
514
+ easing: ve(n.taper.ease)
515
515
  }
516
- }), d = de(o);
516
+ }), d = ue(o);
517
517
  o.length < 4 || d === "" ? s.push({
518
518
  d: c(l),
519
519
  stroke: i,
@@ -535,7 +535,7 @@ function $(e, n, r, i, a, o = !1) {
535
535
  cap: n.cap
536
536
  });
537
537
  }
538
- let l = Q(n) ? fe(a, n, r) : "";
538
+ let l = $(n) ? de(a, n, r) : "";
539
539
  return {
540
540
  paths: s,
541
541
  filterId: l ? a : null,
@@ -575,9 +575,9 @@ function Se(e) {
575
575
  let t = r(() => {
576
576
  let t = { ...e.value.overrides ?? {} };
577
577
  return e.value.roughness != null && (t.roughness = e.value.roughness), e.value.segments != null && (t.segments = e.value.segments), E(e.value.brush, t);
578
- }), n = r(() => Q(t.value)), i = r(() => {
578
+ }), n = r(() => $(t.value)), i = r(() => {
579
579
  let n = e.value.amplitude ?? t.value.wobble / 1.4;
580
- return R(e.value.shape, {
580
+ return z(e.value.shape, {
581
581
  roughness: t.value.roughness,
582
582
  segments: t.value.segments,
583
583
  seed: e.value.seed,
@@ -588,10 +588,10 @@ function Se(e) {
588
588
  let n = i.value.lines;
589
589
  if (a.value && c.value) {
590
590
  let r = t.value.wobble * .4 + .4, a = l.currentFrame.value;
591
- n = z(i.value, r, e.value.seed + a * 31);
591
+ n = B(i.value, r, e.value.seed + a * 31);
592
592
  }
593
- return B(n, e.value.jagged);
594
- }), d = r(() => e.value.path ? [] : a.value && c.value ? z(i.value, t.value.wobble * .4 + .4, e.value.seed + l.currentFrame.value * 31) : i.value.lines);
593
+ return V(n, e.value.jagged);
594
+ }), d = r(() => e.value.path ? [] : a.value && c.value ? B(i.value, t.value.wobble * .4 + .4, e.value.seed + l.currentFrame.value * 31) : i.value.lines);
595
595
  return {
596
596
  brush: t,
597
597
  baseGeom: i,
@@ -602,7 +602,7 @@ function Se(e) {
602
602
  defs: []
603
603
  }, r = d.value.length ? d.value : [[]];
604
604
  for (let i of r) {
605
- let r = $(i, t.value, e.value.seed, e.value.color, e.value.filterId, e.value.jagged);
605
+ let r = ye(i, t.value, e.value.seed, e.value.color, e.value.filterId, e.value.jagged);
606
606
  n.paths.push(...r.paths), r.filterId && !n.filterId && (n.filterId = r.filterId, n.defs = r.defs);
607
607
  }
608
608
  return n;
@@ -661,25 +661,25 @@ var Ce = [
661
661
  let o = e, v = `hm-${g().replace(/[^a-zA-Z0-9_-]/g, "")}`, y = f(null), b = f(null), x = r(() => {
662
662
  let e = o.box == null && (o.shape === "underline" || o.shape === "strikethrough" || o.shape === "highlight"), t = b.value;
663
663
  return !e || t == null || t <= 0 ? 40 : 100 / t;
664
- }), { brush: S, fragment: C, grained: w, drawKind: T, draws: E, boils: D, boil: O, boilArmed: k } = Se(r(() => xe(o, v, y.value, x.value))), A = r(() => o.shape === "highlight"), j = r(() => o.path ?? null), M = f(!1), N = f(null), P = r(() => E.value ? `${T.value === "clip" ? "clip-path" : "stroke-dashoffset"} ${o.drawMs}ms var(--ease-out-expo) ${o.drawDelayMs}ms` : "none");
665
- function F() {
664
+ }), { brush: S, fragment: C, grained: w, drawKind: T, draws: E, boils: D, boil: O, boilArmed: k } = Se(r(() => xe(o, v, y.value, x.value))), A = r(() => o.shape === "highlight"), j = r(() => o.path ?? null), M = f(!1), N = f(null), P = null, F = r(() => E.value ? `${T.value === "clip" ? "clip-path" : "stroke-dashoffset"} ${o.drawMs}ms var(--ease-out-expo) ${o.drawDelayMs}ms` : "none");
665
+ function I() {
666
666
  D.value && (k.value = !0, O.start());
667
667
  }
668
- function I() {
668
+ function L() {
669
669
  if (!E.value) {
670
- F();
670
+ I();
671
671
  return;
672
672
  }
673
- M.value = !1, N.value && N.value.offsetWidth, requestAnimationFrame(() => {
674
- M.value = !0;
673
+ P !== null && cancelAnimationFrame(P), M.value = !1, N.value && N.value.offsetWidth, P = requestAnimationFrame(() => {
674
+ P = null, M.value = !0;
675
675
  });
676
676
  }
677
- function ee() {
678
- o.animation === "draw-then-boil" && F();
677
+ function R() {
678
+ o.animation === "draw-then-boil" && I();
679
679
  }
680
- t({ play: I });
681
- let L = r(() => o.box == null && (o.shape === "underline" || o.shape === "strikethrough" || o.shape === "highlight"));
682
- function R(e) {
680
+ t({ play: L });
681
+ let z = r(() => o.box == null && (o.shape === "underline" || o.shape === "strikethrough" || o.shape === "highlight"));
682
+ function B(e) {
683
683
  if (typeof document > "u" || typeof Range > "u") return null;
684
684
  let t = Array.from(e.childNodes).filter((e) => e.nodeType === Node.ELEMENT_NODE ? e.tagName !== "svg" : e.nodeType === Node.TEXT_NODE && (e.textContent ?? "").trim().length > 0);
685
685
  if (t.length === 0) return null;
@@ -688,11 +688,11 @@ var Ce = [
688
688
  let r = n.getBoundingClientRect();
689
689
  return n.detach?.(), r.height > 0 ? r : null;
690
690
  }
691
- function z() {
692
- if (!L.value) return;
691
+ function V() {
692
+ if (!z.value) return;
693
693
  let e = N.value;
694
694
  if (!e) return;
695
- let t = R(e);
695
+ let t = B(e);
696
696
  if (!t) return;
697
697
  let n = e.getBoundingClientRect();
698
698
  if (n.height <= 0) return;
@@ -700,30 +700,30 @@ var Ce = [
700
700
  let r = (t.bottom - n.top) / n.height;
701
701
  y.value = Math.min(1, Math.max(0, r));
702
702
  }
703
- let B = null;
704
- function V() {
705
- !L.value || !N.value || (z(), typeof document < "u" && document.fonts?.ready && document.fonts.ready.then(() => z()), typeof ResizeObserver < "u" && (B = new ResizeObserver(() => z()), B.observe(N.value)));
706
- }
707
703
  let H = null;
704
+ function U() {
705
+ !z.value || !N.value || (V(), typeof document < "u" && document.fonts?.ready && document.fonts.ready.then(() => V()), typeof ResizeObserver < "u" && (H = new ResizeObserver(() => V()), H.observe(N.value)));
706
+ }
707
+ let W = null;
708
708
  u(() => {
709
- V(), o.animation === "boil" && F(), o.appear === "mount" ? I() : o.appear === "visible" && typeof IntersectionObserver < "u" ? (H = new IntersectionObserver((e) => {
710
- e.some((e) => e.isIntersecting) && (I(), H?.disconnect());
711
- }, { threshold: .01 }), N.value && H.observe(N.value)) : o.appear === "visible" && I();
709
+ U(), o.animation === "boil" && I(), o.appear === "mount" ? L() : o.appear === "visible" && typeof IntersectionObserver < "u" ? (W = new IntersectionObserver((e) => {
710
+ e.some((e) => e.isIntersecting) && (L(), W?.disconnect());
711
+ }, { threshold: .01 }), N.value && W.observe(N.value)) : o.appear === "visible" && L();
712
712
  }), l(() => {
713
- H?.disconnect(), B?.disconnect(), O.stop();
713
+ P !== null && cancelAnimationFrame(P), W?.disconnect(), H?.disconnect(), O.stop();
714
714
  }), _(() => o.animation, () => {
715
715
  M.value = !1, k.value = !1;
716
716
  });
717
- let U = {
717
+ let ee = {
718
718
  "source-over": "normal",
719
719
  multiply: "multiply",
720
720
  darken: "darken",
721
721
  screen: "screen"
722
722
  };
723
- function W(e) {
723
+ function G(e) {
724
724
  return {
725
- mixBlendMode: U[e],
726
- transition: P.value
725
+ mixBlendMode: ee[e],
726
+ transition: F.value
727
727
  };
728
728
  }
729
729
  return (t, r) => (d(), a("span", {
@@ -759,10 +759,10 @@ var Ce = [
759
759
  "stroke-linecap": e.cap ?? "round",
760
760
  "stroke-linejoin": "round",
761
761
  filter: h(C).filterId ? `url(#${h(C).filterId})` : void 0,
762
- style: c(W(e.blend)),
763
- onTransitionend: ee
762
+ style: c(G(e.blend)),
763
+ onTransitionend: R
764
764
  }, null, 46, Ee))), 128))], 8, we))], 8, Ce));
765
765
  }
766
- }), [["__scopeId", "data-v-59c97d27"]]);
766
+ }), [["__scopeId", "data-v-1097f080"]]);
767
767
  //#endregion
768
- export { T as BRUSHES, De as HandMark, De as InkMark, A as UNDERLINE_GAP, k as VB_H, O as VB_W, z as boilLines, ue as getStroke, se as getStrokePoints, de as getSvgPathFromStroke, fe as grainFilter, Q as hasGrain, $ as ink, D as lerpBrush, L as naturalUnderlinePoints, xe as normalizeProps, E as resolveBrush, B as serialize, R as shapeGeom, Se as useHandMark };
768
+ export { T as BRUSHES, De as HandMark, A as UNDERLINE_GAP, k as VB_H, O as VB_W, B as boilLines, le as getStroke, se as getStrokePoints, ue as getSvgPathFromStroke, de as grainFilter, $ as hasGrain, ye as ink, D as lerpBrush, R as naturalUnderlinePoints, xe as normalizeProps, E as resolveBrush, V as serialize, z as shapeGeom, Se as useHandMark };
@@ -4,60 +4,71 @@ import { computed as t, createCommentVNode as n, createElementBlock as r, create
4
4
  var d = {
5
5
  key: 0,
6
6
  class: "pointer-events-auto shrink-0 mr-2"
7
- }, f = /* @__PURE__ */ e(/* @__PURE__ */ a({
7
+ }, f = ["inert"], p = ["inert"], m = /* @__PURE__ */ e(/* @__PURE__ */ a({
8
8
  __name: "HeaderRibbon",
9
9
  props: {
10
10
  placement: { default: "left" },
11
11
  hideTimeoutMs: { default: 2e3 }
12
12
  },
13
13
  setup(e, { expose: a }) {
14
- let f = e, p = l(!1), m = l(!1), h = l(!1), g = l(!1), _, v = t(() => p.value || m.value);
15
- function y() {
16
- _ != null && (clearTimeout(_), _ = void 0);
14
+ let m = e, h = l(!1), g = l(!1), _ = l(!1), v = l(!1), y = l(!1), b, x = t(() => h.value || g.value);
15
+ function S() {
16
+ b != null && (clearTimeout(b), b = void 0);
17
17
  }
18
- function b() {
19
- g.value || (y(), _ = setTimeout(() => {
20
- p.value = !1;
21
- }, f.hideTimeoutMs));
18
+ function C() {
19
+ v.value || y.value || (S(), b = setTimeout(() => {
20
+ h.value = !1;
21
+ }, m.hideTimeoutMs));
22
22
  }
23
- function x() {
24
- g.value = !0, y(), p.value = !0;
23
+ function w() {
24
+ v.value = !0, S(), h.value = !0;
25
25
  }
26
- function S() {
27
- g.value = !1, m.value || b();
26
+ function T() {
27
+ v.value = !1, g.value || C();
28
28
  }
29
- function C() {
30
- m.value ? (m.value = !1, h.value = !1, b()) : (m.value = !0, p.value = !0, h.value = !0, y());
29
+ function E() {
30
+ y.value = !0, S(), h.value = !0;
31
+ }
32
+ function D(e) {
33
+ let t = e.currentTarget;
34
+ e.relatedTarget instanceof Node && t.contains(e.relatedTarget) || (y.value = !1, g.value || C());
35
+ }
36
+ function O() {
37
+ g.value ? (g.value = !1, _.value = !1, C()) : (g.value = !0, h.value = !0, _.value = !0, S());
31
38
  }
32
- return s(y), a({
33
- isPinned: m,
34
- isExpanded: p,
35
- isVisible: v,
36
- isToggled: h
39
+ return s(S), a({
40
+ isPinned: g,
41
+ isExpanded: h,
42
+ isVisible: x,
43
+ isToggled: _
37
44
  }), (t, a) => (c(), r("div", {
38
45
  class: o(["fixed z-dock pointer-events-none w-fit flex items-center px-4 pt-4 pb-2", e.placement === "left" ? "top-0 left-0" : "top-0 right-0"]),
39
- onMouseleave: S
46
+ onMouseleave: T,
47
+ onFocusin: E,
48
+ onFocusout: D
40
49
  }, [t.$slots.left ? (c(), r("div", d, [u(t.$slots, "left", {}, void 0, !0)])) : n("", !0), i("div", {
41
50
  class: "pointer-events-auto flex items-center h-6",
42
- onMouseenter: x
51
+ onMouseenter: w
43
52
  }, [
44
53
  e.placement === "right" ? (c(), r("div", {
45
54
  key: 0,
46
- class: o(["header-items-wrapper header-items-right flex items-center gap-3", v.value ? "" : "header-collapsed-right"])
47
- }, [u(t.$slots, "items", {}, void 0, !0)], 2)) : n("", !0),
55
+ class: o(["header-items-wrapper header-items-right flex items-center gap-3", x.value ? "" : "header-collapsed-right"]),
56
+ inert: !x.value || void 0
57
+ }, [u(t.$slots, "items", {}, void 0, !0)], 10, f)) : n("", !0),
48
58
  i("div", {
49
59
  class: "shrink-0",
50
- onClick: C
60
+ onClick: O
51
61
  }, [u(t.$slots, "anchor", {
52
- pinned: m.value,
53
- toggled: h.value
62
+ pinned: g.value,
63
+ toggled: _.value
54
64
  }, void 0, !0)]),
55
65
  e.placement === "left" ? (c(), r("div", {
56
66
  key: 1,
57
- class: o(["header-items-wrapper header-items-left flex items-center gap-3", v.value ? "" : "header-collapsed-left"])
58
- }, [u(t.$slots, "items", {}, void 0, !0)], 2)) : n("", !0)
67
+ class: o(["header-items-wrapper header-items-left flex items-center gap-3", x.value ? "" : "header-collapsed-left"]),
68
+ inert: !x.value || void 0
69
+ }, [u(t.$slots, "items", {}, void 0, !0)], 10, p)) : n("", !0)
59
70
  ], 32)], 34));
60
71
  }
61
- }), [["__scopeId", "data-v-057a6bc6"]]);
72
+ }), [["__scopeId", "data-v-711f1018"]]);
62
73
  //#endregion
63
- export { f as HeaderRibbon };
74
+ export { m as HeaderRibbon };
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./class-names-5jotTFzp.js";
2
- import { t } from "./vReveal-DUmiEkX_.js";
2
+ import { t } from "./vReveal-DZfWl9XI.js";
3
3
  import { computed as n, createBlock as r, createElementBlock as i, defineComponent as a, normalizeClass as o, normalizeStyle as s, openBlock as c, resolveDynamicComponent as l, unref as u, withDirectives as d } from "vue";
4
4
  //#region src/components/icon-chip/IconChip.vue?vue&type=script&setup=true&lang.ts
5
5
  var f = ["data-duotone", "data-surface"], p = 48, m = 22, h = /* @__PURE__ */ a({
package/dist/icon-chip.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as e } from "./IconChip-CwLmBJ_K.js";
1
+ import { t as e } from "./icon-chip-BWuxz1-u.js";
2
2
  export { e as IconChip };
@@ -1,4 +1,4 @@
1
- import { i as e, n as t, r as n, t as r } from "./TooltipProvider-GtfYdSVf.js";
1
+ import { i as e, n as t, r as n, t as r } from "./tooltip-BmOQJzh0.js";
2
2
  import { createBlock as i, createTextVNode as a, createVNode as o, defineComponent as s, openBlock as c, renderSlot as l, toDisplayString as u, unref as d, withCtx as f } from "vue";
3
3
  //#endregion
4
4
  //#region src/components/icon-tooltip/IconTooltip.vue
@@ -1,2 +1,2 @@
1
- import { t as e } from "./IconTooltip-D9sbK-Mk.js";
1
+ import { t as e } from "./icon-tooltip-CO6rw0dZ.js";
2
2
  export { e as IconTooltip };
package/dist/index.d.ts CHANGED
@@ -16,7 +16,6 @@ export * from "./components/number-field";
16
16
  export * from "./components/popover";
17
17
  export * from "./components/progress";
18
18
  export * from "./components/radio-group";
19
- export * from "./components/section";
20
19
  export * from "./components/select";
21
20
  export * from "./components/separator";
22
21
  export * from "./components/skeleton";
@@ -1,2 +1 @@
1
1
  export * from "./components/infinite-scroll";
2
- export * from "./components/infinite-scroll/composables";
@@ -1,33 +1,35 @@
1
1
  import { createCommentVNode as e, createElementBlock as t, createElementVNode as n, defineComponent as r, onScopeDispose as i, openBlock as a, ref as o, renderSlot as s, toRef as c, toValue as l, watch as u } from "vue";
2
2
  //#region src/components/infinite-scroll/composables/useInfiniteScroll.ts
3
3
  function d(e) {
4
- let { threshold: t = 200, hasMore: n, isLoading: r, onLoadMore: a } = e, s = o(null), c = null;
5
- function d() {
4
+ let { threshold: t = 200, hasMore: n, isLoading: r, onLoadMore: a } = e, s = o(null), c = null, d = 0;
5
+ function f() {
6
6
  return l(n) && !l(r);
7
7
  }
8
- function f(e) {
9
- for (let t of e) t.isIntersecting && d() && a();
8
+ function p(e) {
9
+ for (let t of e) t.isIntersecting && f() && a();
10
10
  }
11
- function p(n) {
12
- m(), c = new IntersectionObserver(f, {
11
+ function m(n) {
12
+ h(), c = new IntersectionObserver(p, {
13
13
  root: e.scrollContainer?.value ?? null,
14
14
  rootMargin: `0px 0px ${t}px 0px`
15
15
  }), c.observe(n);
16
16
  }
17
- function m() {
18
- c &&= (c.disconnect(), null);
19
- }
20
17
  function h() {
21
- s.value && d() && a();
18
+ c &&= (c.disconnect(), null), d &&= (cancelAnimationFrame(d), 0);
19
+ }
20
+ function g() {
21
+ s.value && f() && a();
22
22
  }
23
23
  return u(s, (e) => {
24
- e ? p(e) : m();
24
+ e ? m(e) : h();
25
25
  }), u(() => l(r), (e) => {
26
- !e && s.value && requestAnimationFrame(h);
27
- }), i(m), {
26
+ !e && s.value && (d && cancelAnimationFrame(d), d = requestAnimationFrame(() => {
27
+ d = 0, g();
28
+ }));
29
+ }), i(h), {
28
30
  sentinelRef: s,
29
- check: h,
30
- stop: m
31
+ check: g,
32
+ stop: h
31
33
  };
32
34
  }
33
35
  //#endregion
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "./InstrumentChassis-Dss5Tjcm.js";
1
+ import { n as e, t } from "./instrument-chassis-Cvstg4_U.js";
2
2
  export { e as ChassisDivider, t as InstrumentChassis };