@mkbabb/glass-ui 3.8.0 → 3.9.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 (164) hide show
  1. package/README.md +1 -6
  2. package/dist/{CardAction-q2qHCJFG.js → CardAction-DuArVky-.js} +4 -4
  3. package/dist/{CommandShortcut-SzWRhROC.js → CommandShortcut-CefCj5mt.js} +7 -7
  4. package/dist/{ContextMenuSubContent-Do977Cbf.js → ContextMenuSubContent-Bhg4f5jX.js} +3 -3
  5. package/dist/{DataTable-CvlWXz65.js → DataTable-CUHMukiQ.js} +1 -1
  6. package/dist/{DialogContent-DjZWT3lK.js → DialogContent-BRkT1cjP.js} +1 -1
  7. package/dist/{NumberFieldContent-CLNVR1iY.js → NumberFieldContent-BbLOh8RU.js} +2 -2
  8. package/dist/{SelectScrollDownButton-C7TRe-ep.js → SelectScrollDownButton-T32cVFeM.js} +3 -3
  9. package/dist/{SelectSeparator-L8pPEn4L.js → SelectSeparator-C4Ql0gzV.js} +1 -1
  10. package/dist/{TabsList-qyHZ2lKY.js → TabsList-B8CVOQPC.js} +2 -2
  11. package/dist/{Toaster-CabYEEF_.js → Toaster-1rYWrmAm.js} +1 -1
  12. package/dist/{ToggleGroupItem-CkXUcBlt.js → ToggleGroupItem-Cev4pOVK.js} +4 -4
  13. package/dist/animated-digit.js +1 -1
  14. package/dist/api/index.d.ts +1 -1
  15. package/dist/api.js +1 -1
  16. package/dist/aurora.js +10 -10
  17. package/dist/{badge-DHQrc_GQ.js → badge-BvwvT50i.js} +4 -4
  18. package/dist/badge.js +1 -1
  19. package/dist/{button-CAywcrhO.js → button-DN39cGqL.js} +13 -12
  20. package/dist/button.js +1 -1
  21. package/dist/card.js +1 -1
  22. package/dist/carousel.js +1 -1
  23. package/dist/color.js +1 -1
  24. package/dist/command.js +1 -1
  25. package/dist/{compile-BBTRjvQS.js → compile-DAjIoEy2.js} +1 -1
  26. package/dist/components/custom/configurator/ConfiguratorLayer.vue.d.ts +1 -1
  27. package/dist/components/custom/dock/DockSeparator.vue.d.ts +3 -0
  28. package/dist/components/custom/dock/GlassDock.vue.d.ts +45 -63
  29. package/dist/components/custom/dock/composables/dockContext.d.ts +7 -0
  30. package/dist/components/custom/dock/index.d.ts +2 -1
  31. package/dist/components/custom/goo-blob/composables/useBlobMood.d.ts +19 -5
  32. package/dist/components/custom/tabs/SegmentedTabs.vue.d.ts +92 -0
  33. package/dist/components/custom/tabs/composables/useTabIndicator.d.ts +49 -0
  34. package/dist/components/custom/tabs/index.d.ts +2 -5
  35. package/dist/components/ui/button/index.d.ts +1 -1
  36. package/dist/components/ui/card/Card.vue.d.ts +5 -3
  37. package/dist/components/ui/carousel/CarouselNext.vue.d.ts +1 -1
  38. package/dist/components/ui/carousel/CarouselPrevious.vue.d.ts +1 -1
  39. package/dist/components/ui/carousel/GlassCarouselPager.vue.d.ts +3 -4
  40. package/dist/components/ui/slider/index.d.ts +14 -7
  41. package/dist/components/ui/tabs/TabsList.vue.d.ts +1 -1
  42. package/dist/composables/context/createContext.d.ts +1 -1
  43. package/dist/configurator.js +1 -1
  44. package/dist/confirm-dialog.js +1 -1
  45. package/dist/constellation.js +1 -1
  46. package/dist/context-menu.js +1 -1
  47. package/dist/controls.js +1 -1
  48. package/dist/dark.js +1 -1
  49. package/dist/data-table.js +1 -1
  50. package/dist/deck-progress.js +1 -1
  51. package/dist/dialog.js +1 -1
  52. package/dist/dock.js +256 -243
  53. package/dist/{dropdown-menu-B_4bWyyG.js → dropdown-menu-D77jX6Df.js} +3 -3
  54. package/dist/dropdown-menu.js +1 -1
  55. package/dist/expandable-container.js +1 -1
  56. package/dist/forms.js +5 -5
  57. package/dist/fourier-field.js +3 -3
  58. package/dist/glass-ui.css +1 -1
  59. package/dist/glass-ui.js +101 -104
  60. package/dist/goo-blob.js +36 -32
  61. package/dist/hover-popover.js +1 -1
  62. package/dist/icon-tooltip.js +1 -1
  63. package/dist/index.d.ts +0 -2
  64. package/dist/keyboard.js +1 -1
  65. package/dist/labeled-field.js +4 -4
  66. package/dist/{menuItemVariants-DKM85SNE.js → menuItemVariants-CCoBNkU5.js} +1 -1
  67. package/dist/motion-core.js +4 -4
  68. package/dist/motion.js +2 -2
  69. package/dist/number-field.js +1 -1
  70. package/dist/pulse.js +1 -1
  71. package/dist/reactive.js +1 -1
  72. package/dist/scrolling-text.js +1 -1
  73. package/dist/search.js +4 -4
  74. package/dist/select.js +2 -2
  75. package/dist/{slider-D9puf-Ko.js → slider-DC2mwuoe.js} +1 -1
  76. package/dist/slider.js +1 -1
  77. package/dist/sortable-list.js +1 -1
  78. package/dist/status-dot.js +17 -16
  79. package/dist/styles/animations.css +6 -2
  80. package/dist/styles/components.css +1 -1
  81. package/dist/styles/dock/density.css +230 -0
  82. package/dist/styles/dock/layer-group.css +263 -0
  83. package/dist/styles/dock/layers.css +355 -0
  84. package/dist/styles/dock/morph.css +244 -0
  85. package/dist/styles/dock/overflow.css +201 -0
  86. package/dist/styles/dock/shell.css +457 -0
  87. package/dist/styles/dock-controls.css +166 -32
  88. package/dist/styles/dock.css +42 -1349
  89. package/dist/styles/glass.css +396 -75
  90. package/dist/styles/index.css +12 -11
  91. package/dist/styles/theme.css +51 -0
  92. package/dist/styles/tokens.css +501 -55
  93. package/dist/styles/utilities.css +89 -39
  94. package/dist/tabs.js +182 -151
  95. package/dist/timeline.js +1 -1
  96. package/dist/toast.js +1 -1
  97. package/dist/toggle-group.js +1 -1
  98. package/dist/{useAnimatedNumber-C_3wZLx4.js → useAnimatedNumber-C5I3wWd8.js} +1 -1
  99. package/dist/{useConfiguratorState-CMff4GzH.js → useConfiguratorState-DxAqksK6.js} +21 -10
  100. package/dist/watercolor-dot.js +1 -1
  101. package/package.json +32 -33
  102. package/src/styles/animations.css +6 -2
  103. package/src/styles/dock/density.css +230 -0
  104. package/src/styles/dock/layer-group.css +263 -0
  105. package/src/styles/dock/layers.css +355 -0
  106. package/src/styles/dock/morph.css +244 -0
  107. package/src/styles/dock/overflow.css +201 -0
  108. package/src/styles/dock/shell.css +457 -0
  109. package/src/styles/dock-controls.css +166 -32
  110. package/src/styles/dock.css +42 -1349
  111. package/src/styles/glass.css +396 -75
  112. package/src/styles/index.css +12 -11
  113. package/src/styles/theme.css +51 -0
  114. package/src/styles/tokens.css +501 -55
  115. package/src/styles/utilities.css +89 -39
  116. package/dist/DiscoGlyph-CG0F410s.js +0 -132
  117. package/dist/GlyphFace-DRjDkB0s.js +0 -51
  118. package/dist/UnderlineTabs-Uxn-R3MT.js +0 -39
  119. package/dist/components/custom/aurora/constants/shaders/painterly.wgsl.d.ts +0 -7
  120. package/dist/components/custom/aurora/constants/shaders/wake.wgsl.d.ts +0 -4
  121. package/dist/components/custom/disco-glyph/DiscoGlyph.vue.d.ts +0 -58
  122. package/dist/components/custom/disco-glyph/index.d.ts +0 -1
  123. package/dist/components/custom/glass-carousel/GlassCarousel.vue.d.ts +0 -36
  124. package/dist/components/custom/glass-carousel/GlassCarouselItem.vue.d.ts +0 -28
  125. package/dist/components/custom/glass-carousel/index.d.ts +0 -4
  126. package/dist/components/custom/glass-carousel/useGlassCarousel.d.ts +0 -30
  127. package/dist/components/custom/glyph-face/GlyphFace.vue.d.ts +0 -64
  128. package/dist/components/custom/glyph-face/index.d.ts +0 -2
  129. package/dist/components/custom/glyph-face/keys.d.ts +0 -9
  130. package/dist/components/custom/responsive-tabs/ResponsiveTabs.vue.d.ts +0 -73
  131. package/dist/components/custom/responsive-tabs/index.d.ts +0 -2
  132. package/dist/components/custom/tabs/BouncyTabs.vue.d.ts +0 -27
  133. package/dist/components/custom/tabs/BouncyToggle.vue.d.ts +0 -60
  134. package/dist/components/custom/tabs/UnderlineTabs.vue.d.ts +0 -20
  135. package/dist/components/custom/tabs/composables/useBouncySlider.d.ts +0 -39
  136. package/dist/disco-glyph.d.ts +0 -1
  137. package/dist/disco-glyph.js +0 -2
  138. package/dist/glass-carousel.d.ts +0 -1
  139. package/dist/glass-carousel.js +0 -219
  140. package/dist/glyph-face.d.ts +0 -1
  141. package/dist/glyph-face.js +0 -3
  142. package/dist/keys-BsYjEFOW.js +0 -9
  143. package/dist/responsive-tabs.d.ts +0 -1
  144. package/dist/responsive-tabs.js +0 -95
  145. package/dist/styles/disco-glyph.css +0 -26
  146. package/dist/styles/glyph-face.css +0 -92
  147. package/src/styles/disco-glyph.css +0 -26
  148. package/src/styles/glyph-face.css +0 -92
  149. /package/dist/{DeckProgress-AVgbIULY.js → DeckProgress-Dmk4_AKN.js} +0 -0
  150. /package/dist/{HoverPopover-D56O6Ylp.js → HoverPopover-2LOIW34a.js} +0 -0
  151. /package/dist/{IconTooltip-D2T5nYOM.js → IconTooltip-yefK7cJc.js} +0 -0
  152. /package/dist/{Input-DVG_J0ne.js → Input-DWQQIOC4.js} +0 -0
  153. /package/dist/{ScrollingText-CVyqxvfv.js → ScrollingText-BPP84wKo.js} +0 -0
  154. /package/dist/{color-DMLTunJK.js → color-8jBjWiJ6.js} +0 -0
  155. /package/dist/{constants-BPOqYJAm.js → constants-CS75AWHG.js} +0 -0
  156. /package/dist/{presets-D1XPuTj-.js → presets-BKVyQfbt.js} +0 -0
  157. /package/dist/{prng-COGhh02-.js → prng-wHuHlNHE.js} +0 -0
  158. /package/dist/{useGlobalDark-D3EBWzXK.js → useGlobalDark-yhL4Wp-s.js} +0 -0
  159. /package/dist/{useIntersectionPause-Bj4sPkMh.js → useIntersectionPause-Cc-H9ees.js} +0 -0
  160. /package/dist/{useInterval-CcLfq2WU.js → useInterval-Dsmqwi03.js} +0 -0
  161. /package/dist/{useKeyboardShortcuts-BXWXOZ-9.js → useKeyboardShortcuts-Be3w_Rwk.js} +0 -0
  162. /package/dist/{useScrollProgress-C9ysDic5.js → useScrollProgress-CAH8Ofwt.js} +0 -0
  163. /package/dist/{useSortable-MGAbCGVJ.js → useSortable-C8ReQ50P.js} +0 -0
  164. /package/dist/{useTextHighlight-9nMW23Qb.js → useTextHighlight-DON84L8w.js} +0 -0
@@ -1,26 +0,0 @@
1
- /* disco-glyph.css — host rule for <DiscoGlyph>.
2
- *
3
- * Per P.W3 sub-B. The component renders an inline <svg> with a faceted
4
- * gradient + specular cap painted over the silhouette path. The host
5
- * rule scopes layout (block flow, inherit colour) and exposes a
6
- * minimal opt-in selector for phase-tinted state styling.
7
- *
8
- * Self-contained sheet; no token additions. Consumers may override
9
- * via the `--phase-color` cascade established by the chassis layer.
10
- */
11
-
12
- @layer components {
13
- .disco-glyph {
14
- display: inline-block;
15
- width: 100%;
16
- height: 100%;
17
- color: currentColor;
18
- line-height: 0;
19
- }
20
-
21
- .disco-glyph--phase-tinted {
22
- /* Hook for consumers that animate hue under phase changes;
23
- * the gradient stops already read currentColor or an explicit
24
- * phaseColor prop, so this class stays empty by default. */
25
- }
26
- }
@@ -1,92 +0,0 @@
1
- /* glyph-face.css — three-layer composition for <GlyphFace>.
2
- *
3
- * Per W2.7 §19 and Q.W3 §F2 + §F8. Wraps a slotted glyph (lucide stroke
4
- * or DiscoGlyph SVG) with a phase-tinted radial backplate (visible only
5
- * when [data-active="true"]) and a 165° linear-gradient catch-light cap.
6
- * The slotted silhouette stays `currentColor` — Vignelli-clean — while
7
- * the disco punch lives in the surrounding layers.
8
- *
9
- * Q.W3.A.1 inversion: when no silhouette resolves, the cap renders
10
- * nothing (rather than a wrapper-rectangle fallback). Consumers passing
11
- * `silhouette` continue to consume `clip-path: path(var(--gf-silhouette))`;
12
- * the lucide consumer sites in ActionCluster + SettingsCog publish via
13
- * the silhouette table from `@src/components/speedtest/icons/lucide-silhouettes.ts`,
14
- * and DiscoGlyph hands its silhouette upward via provide/inject for
15
- * disco wrappers. The fail-safe is now "no cap" not "wrong cap".
16
- *
17
- * Q.W3.A.2 default raise: --gf-cap-strength 0.35 → 0.55, mix-blend-mode
18
- * overlay → screen. `screen` composes correctly against the translucent
19
- * dock substrates (`--card` at 50–60% opacity); `overlay` collapses
20
- * there because its contrast lift requires an opaque underlay. Consumers
21
- * needing the metallic-overlay punch declare `mix-blend-mode: overlay`
22
- * via class or `--gf-cap-blend` override.
23
- *
24
- * Self-contained sheet; no token additions beyond what's already in
25
- * `tokens.css`. Consumers may override the cap blend mode and backplate
26
- * radius with the documented `--gf-*` custom properties.
27
- */
28
-
29
- @layer components {
30
- .glyph-face {
31
- position: relative;
32
- display: inline-flex;
33
- align-items: center;
34
- justify-content: center;
35
- isolation: isolate;
36
- --gf-tint: transparent;
37
- --gf-cap-strength: 0.55;
38
- --gf-cap-blend: screen;
39
- --gf-cap-radius: 50%;
40
- }
41
-
42
- .glyph-face-backplate {
43
- position: absolute;
44
- inset: -25%;
45
- border-radius: 50%;
46
- background: radial-gradient(
47
- ellipse at 30% 30%,
48
- var(--gf-tint) 0%,
49
- transparent 70%
50
- );
51
- opacity: 0;
52
- transition: opacity var(--duration-fast) var(--spring-snappy);
53
- z-index: -1;
54
- pointer-events: none;
55
- }
56
-
57
- .glyph-face[data-active="true"] .glyph-face-backplate {
58
- opacity: 1;
59
- }
60
-
61
- /* Cap fail-safe: by default render nothing. The cap only paints
62
- when --gf-silhouette resolves (via prop or provide/inject from
63
- a DiscoGlyph descendant). This closes the wrapper-rectangle
64
- leak the lucide consumers in ActionCluster + SettingsCog hit
65
- under the prior opt-in path. */
66
- .glyph-face-cap {
67
- position: absolute;
68
- inset: 0;
69
- background: transparent;
70
- pointer-events: none;
71
- mix-blend-mode: var(--gf-cap-blend);
72
- }
73
-
74
- .glyph-face[style*="--gf-silhouette"] .glyph-face-cap {
75
- background: linear-gradient(
76
- 165deg,
77
- rgba(255, 255, 255, var(--gf-cap-strength, 0.55)) 0%,
78
- transparent 40%
79
- );
80
- clip-path: var(--gf-silhouette);
81
- }
82
-
83
- .dark .glyph-face {
84
- --gf-cap-strength: 0.32;
85
- }
86
-
87
- @media (prefers-reduced-motion: reduce) {
88
- .glyph-face-backplate {
89
- transition: none;
90
- }
91
- }
92
- }
@@ -1,26 +0,0 @@
1
- /* disco-glyph.css — host rule for <DiscoGlyph>.
2
- *
3
- * Per P.W3 sub-B. The component renders an inline <svg> with a faceted
4
- * gradient + specular cap painted over the silhouette path. The host
5
- * rule scopes layout (block flow, inherit colour) and exposes a
6
- * minimal opt-in selector for phase-tinted state styling.
7
- *
8
- * Self-contained sheet; no token additions. Consumers may override
9
- * via the `--phase-color` cascade established by the chassis layer.
10
- */
11
-
12
- @layer components {
13
- .disco-glyph {
14
- display: inline-block;
15
- width: 100%;
16
- height: 100%;
17
- color: currentColor;
18
- line-height: 0;
19
- }
20
-
21
- .disco-glyph--phase-tinted {
22
- /* Hook for consumers that animate hue under phase changes;
23
- * the gradient stops already read currentColor or an explicit
24
- * phaseColor prop, so this class stays empty by default. */
25
- }
26
- }
@@ -1,92 +0,0 @@
1
- /* glyph-face.css — three-layer composition for <GlyphFace>.
2
- *
3
- * Per W2.7 §19 and Q.W3 §F2 + §F8. Wraps a slotted glyph (lucide stroke
4
- * or DiscoGlyph SVG) with a phase-tinted radial backplate (visible only
5
- * when [data-active="true"]) and a 165° linear-gradient catch-light cap.
6
- * The slotted silhouette stays `currentColor` — Vignelli-clean — while
7
- * the disco punch lives in the surrounding layers.
8
- *
9
- * Q.W3.A.1 inversion: when no silhouette resolves, the cap renders
10
- * nothing (rather than a wrapper-rectangle fallback). Consumers passing
11
- * `silhouette` continue to consume `clip-path: path(var(--gf-silhouette))`;
12
- * the lucide consumer sites in ActionCluster + SettingsCog publish via
13
- * the silhouette table from `@src/components/speedtest/icons/lucide-silhouettes.ts`,
14
- * and DiscoGlyph hands its silhouette upward via provide/inject for
15
- * disco wrappers. The fail-safe is now "no cap" not "wrong cap".
16
- *
17
- * Q.W3.A.2 default raise: --gf-cap-strength 0.35 → 0.55, mix-blend-mode
18
- * overlay → screen. `screen` composes correctly against the translucent
19
- * dock substrates (`--card` at 50–60% opacity); `overlay` collapses
20
- * there because its contrast lift requires an opaque underlay. Consumers
21
- * needing the metallic-overlay punch declare `mix-blend-mode: overlay`
22
- * via class or `--gf-cap-blend` override.
23
- *
24
- * Self-contained sheet; no token additions beyond what's already in
25
- * `tokens.css`. Consumers may override the cap blend mode and backplate
26
- * radius with the documented `--gf-*` custom properties.
27
- */
28
-
29
- @layer components {
30
- .glyph-face {
31
- position: relative;
32
- display: inline-flex;
33
- align-items: center;
34
- justify-content: center;
35
- isolation: isolate;
36
- --gf-tint: transparent;
37
- --gf-cap-strength: 0.55;
38
- --gf-cap-blend: screen;
39
- --gf-cap-radius: 50%;
40
- }
41
-
42
- .glyph-face-backplate {
43
- position: absolute;
44
- inset: -25%;
45
- border-radius: 50%;
46
- background: radial-gradient(
47
- ellipse at 30% 30%,
48
- var(--gf-tint) 0%,
49
- transparent 70%
50
- );
51
- opacity: 0;
52
- transition: opacity var(--duration-fast) var(--spring-snappy);
53
- z-index: -1;
54
- pointer-events: none;
55
- }
56
-
57
- .glyph-face[data-active="true"] .glyph-face-backplate {
58
- opacity: 1;
59
- }
60
-
61
- /* Cap fail-safe: by default render nothing. The cap only paints
62
- when --gf-silhouette resolves (via prop or provide/inject from
63
- a DiscoGlyph descendant). This closes the wrapper-rectangle
64
- leak the lucide consumers in ActionCluster + SettingsCog hit
65
- under the prior opt-in path. */
66
- .glyph-face-cap {
67
- position: absolute;
68
- inset: 0;
69
- background: transparent;
70
- pointer-events: none;
71
- mix-blend-mode: var(--gf-cap-blend);
72
- }
73
-
74
- .glyph-face[style*="--gf-silhouette"] .glyph-face-cap {
75
- background: linear-gradient(
76
- 165deg,
77
- rgba(255, 255, 255, var(--gf-cap-strength, 0.55)) 0%,
78
- transparent 40%
79
- );
80
- clip-path: var(--gf-silhouette);
81
- }
82
-
83
- .dark .glyph-face {
84
- --gf-cap-strength: 0.32;
85
- }
86
-
87
- @media (prefers-reduced-motion: reduce) {
88
- .glyph-face-backplate {
89
- transition: none;
90
- }
91
- }
92
- }
File without changes
File without changes
File without changes