@vitrumui/react 2.1.0 → 2.2.1

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 (68) hide show
  1. package/dist/chunk-3PI52YDW.js +2 -0
  2. package/dist/chunk-5SFK3G6B.js +2 -0
  3. package/dist/chunk-ASEUOSAG.js +2 -0
  4. package/dist/chunk-DQXR25V7.js +2 -0
  5. package/dist/chunk-DZ5R2SIY.js +2 -0
  6. package/dist/chunk-EVRORS2V.js +2 -0
  7. package/dist/chunk-FD4ZDHK5.js +2 -0
  8. package/dist/chunk-M2P35UPM.js +2 -0
  9. package/dist/chunk-M56667YV.js +2 -0
  10. package/dist/chunk-NKRH4Q2H.js +2 -0
  11. package/dist/chunk-NMLNS3EY.js +2 -0
  12. package/dist/chunk-QNDTUM4A.js +2 -0
  13. package/dist/chunk-SZZKVHNS.js +2 -0
  14. package/dist/chunk-TUMBPPSO.js +2 -0
  15. package/dist/chunk-VZQYTEGC.js +2 -0
  16. package/dist/chunk-WZESQXKC.js +2 -0
  17. package/dist/controls/Checkbox.d.ts +21 -3
  18. package/dist/controls/Checkbox.js +1 -1
  19. package/dist/controls/RangeSlider.d.ts +10 -2
  20. package/dist/controls/RangeSlider.js +1 -1
  21. package/dist/controls/Switch.d.ts +11 -2
  22. package/dist/controls/Switch.js +1 -1
  23. package/dist/controls/glass/runtime.d.ts +88 -0
  24. package/dist/controls/shared.d.ts +25 -1
  25. package/dist/glass-action-button.js +1 -1
  26. package/dist/glass-badge.d.ts +4 -2
  27. package/dist/glass-badge.js +1 -1
  28. package/dist/glass-button-group.js +1 -1
  29. package/dist/glass-button.d.ts +2 -2
  30. package/dist/glass-button.js +1 -1
  31. package/dist/glass-card.js +1 -1
  32. package/dist/glass-dropdown-menu.js +1 -1
  33. package/dist/glass-droplet-row.d.ts +3 -0
  34. package/dist/glass-layer.d.ts +52 -3
  35. package/dist/glass-menu.js +1 -1
  36. package/dist/glass-popover.js +1 -1
  37. package/dist/glass-popup.d.ts +15 -1
  38. package/dist/glass-search.d.ts +11 -1
  39. package/dist/glass-search.js +1 -1
  40. package/dist/glass-select.js +1 -1
  41. package/dist/glass-slide-to-confirm.d.ts +20 -5
  42. package/dist/glass-slide-to-confirm.js +1 -1
  43. package/dist/glass-surface.d.ts +9 -1
  44. package/dist/glass-surface.js +1 -1
  45. package/dist/glass-tabs.d.ts +4 -3
  46. package/dist/glass-tabs.js +1 -1
  47. package/dist/index.js +1 -1
  48. package/dist/runtime-OC3NF25O.js +2 -0
  49. package/dist/styles.css +1 -1
  50. package/dist/theme.d.ts +10 -2
  51. package/dist/theme.js +1 -1
  52. package/package.json +9 -7
  53. package/dist/chunk-64FU3V6M.js +0 -2
  54. package/dist/chunk-6WKVAPHT.js +0 -2
  55. package/dist/chunk-E47S3IAV.js +0 -2
  56. package/dist/chunk-E5F7TQ7I.js +0 -2
  57. package/dist/chunk-G4DHIVZ3.js +0 -2
  58. package/dist/chunk-IY3Z3YRE.js +0 -2
  59. package/dist/chunk-JX2YNK3K.js +0 -2
  60. package/dist/chunk-LEGYEZLT.js +0 -2
  61. package/dist/chunk-MPLXH7C7.js +0 -2
  62. package/dist/chunk-NFXA7OZV.js +0 -2
  63. package/dist/chunk-QRP4FKTZ.js +0 -2
  64. package/dist/chunk-RNQ7YPHJ.js +0 -2
  65. package/dist/chunk-YOR2LMKG.js +0 -2
  66. package/dist/chunk-YZKUQ6ID.js +0 -2
  67. package/dist/chunk-ZCV4ENGP.js +0 -2
  68. package/dist/runtime-WIL6WCEJ.js +0 -2
@@ -1,3 +1,4 @@
1
+ import { type Spring } from "@vitrumui/core/internal";
1
2
  import type { LensState } from "./physics.js";
2
3
  import { type GlassThemeName, type GlassTokens } from "./tokens.js";
3
4
  export type GlassViewSpec = {
@@ -26,8 +27,95 @@ export type GlassViewHandle = {
26
27
  invalidate: () => void;
27
28
  dispose: () => void;
28
29
  stats: () => GlassViewStats;
30
+ /**
31
+ * Called with `true` once a frame of glass is on the canvas, and with `false` when the GPU
32
+ * context is lost (the control shows its CSS look until the glass is back). Called at once
33
+ * with where it stands now.
34
+ */
35
+ watch: (fn: (drawn: boolean) => void) => void;
36
+ };
37
+ type View = {
38
+ canvas: HTMLCanvasElement;
39
+ ctx: CanvasRenderingContext2D;
40
+ spec: () => GlassViewSpec;
41
+ bgCanvas: HTMLCanvasElement;
42
+ fgCanvas: HTMLCanvasElement;
43
+ bgTex: any;
44
+ fgTex: any;
45
+ /** This view's uniform values. Copied into the shared material's uniforms before it draws. */
46
+ u: ReturnType<typeof createUniforms>;
47
+ devW: number;
48
+ devH: number;
49
+ dpr: number;
50
+ dirty: boolean;
51
+ visible: boolean;
52
+ ready: boolean;
53
+ /** Renders left to confirm the first frame really reached the canvas. */
54
+ verifyLeft: number;
55
+ surface: string;
56
+ /** Last lens centre in design units, for aiming the cursor light. */
57
+ lensX: number;
58
+ lensY: number;
59
+ /** Where the cursor light last pointed, in half degrees (9999 = nowhere yet). */
60
+ aim: number;
61
+ /** Last lens half size in design units, as drawn (0 while it is hidden). */
62
+ lensHx: number;
63
+ lensHy: number;
64
+ /** Pointer light (LIGHT in engine.ts): how bright, where from the lens centre (CSS px), and why. */
65
+ light: {
66
+ glow: Spring;
67
+ x: number;
68
+ y: number;
69
+ press: boolean;
70
+ key: boolean;
71
+ };
72
+ renders: number;
73
+ renderMs: number;
74
+ /** A frame of glass is on the canvas now (false again while the context is lost). */
75
+ shown: boolean;
76
+ /** Told when `shown` changes (GlassViewHandle.watch). */
77
+ drawn?: (shown: boolean) => void;
78
+ };
79
+ declare function createUniforms(): {
80
+ size: any;
81
+ unit: any;
82
+ devicePx: any;
83
+ blurShift: any;
84
+ center: any;
85
+ half: any;
86
+ radius: any;
87
+ bevel: any;
88
+ refract: any;
89
+ mag: any;
90
+ disp: any;
91
+ blurC: any;
92
+ blurE: any;
93
+ frost: any;
94
+ rim: any;
95
+ caustic: any;
96
+ inner: any;
97
+ topRefl: any;
98
+ shOp: any;
99
+ shSoft: any;
100
+ shOff: any;
101
+ stretch: any;
102
+ shift: any;
103
+ frostCenter: any;
104
+ frostEdge: any;
105
+ surface: any;
106
+ lensOn: any;
107
+ lightDir: any;
108
+ lightMix: any;
109
+ light: any;
110
+ fgHide: any;
29
111
  };
30
112
  /** Lazily creates the shared renderer (client only). */
31
113
  export declare function getGlassRuntime(): Promise<{
114
+ wake: () => void;
115
+ adopt: (view: View, fresh?: boolean) => Promise<void>;
116
+ drop(view: View): void;
117
+ /** Takes this runtime apart, leaving the context to the next one, and hands back its views. */
118
+ dispose(): View[];
32
119
  createView(canvas: HTMLCanvasElement, spec: () => GlassViewSpec): Promise<GlassViewHandle>;
33
120
  }>;
121
+ export {};
@@ -1,6 +1,30 @@
1
1
  /** Per-component theme override; omit it to follow the page (data-theme="dark" or class="dark"). */
2
2
  export type Theme = "light" | "dark";
3
- export declare function useSyncedState<T>(value: T, onChange?: (value: T) => void): readonly [T, (next: T) => void];
3
+ /**
4
+ * The standard controlled/uncontrolled pattern (A4-03): pass `value` with a change handler and
5
+ * the component shows it and only reports changes (a parent that rejects one keeps the control
6
+ * where it was); leave it out and the component keeps its own state, starting at `defaultValue`.
7
+ *
8
+ * `value` WITHOUT a handler keeps the 2.1 behaviour: it is only where the control starts (and
9
+ * where it goes when the prop changes), and the control still moves on its own. Development
10
+ * builds warn once per component type. This fallback is removed in 3.0 (docs/sdlc/REMOVALS-3.0.md).
11
+ */
12
+ export declare function useControllableState<T>(value: T | undefined, defaultValue: T, onChange: ((value: T) => void) | undefined, fallback: {
13
+ hasHandler: boolean;
14
+ component: string;
15
+ prop: string;
16
+ defaultProp: string;
17
+ handler: string;
18
+ }): readonly [T, (next: T) => void];
19
+ /** Test helper: forget which components have warned about a value without a handler. */
20
+ export declare function __resetFallbackWarnings(): void;
21
+ /** Calls both handlers: the component's own first, then the one passed in. */
22
+ export declare function chain<E>(own: (e: E) => void, theirs: ((e: E) => void) | undefined): (e: E) => void;
23
+ /**
24
+ * Warns once, in development only, when a control has no accessible name: no `label`, no
25
+ * `aria-label` and no `aria-labelledby` (A4-02). There are no default labels any more.
26
+ */
27
+ export declare function useNameWarning(component: string, named: boolean | string | undefined): void;
4
28
  export declare const focusRing = "focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-[#3291FF]";
5
29
  export declare function useElementSize<T extends HTMLElement>(): readonly [import("react").RefObject<T | null>, {
6
30
  width: number;
@@ -1,3 +1,3 @@
1
1
  "use client";
2
2
  /*! Vitrum © 2026 Onuzulike Anthony Ifechukwu. All rights reserved. Includes Liquid Glass UI © 2026 Bilal Abdullah Gürşen (MIT), see THIRD_PARTY_NOTICES.md */
3
- function _0x3f43(){var _0x2314f7=['806800rZhsML','2023848lCnXBZ','7rEfOkB','386496wzDnvK','8174862VYNTSk','642959NSKfWB','6054522lAQuGZ','3035487iPxiJo','5qnRZcn'];_0x3f43=function(){return _0x2314f7;};return _0x3f43();}(function(_0x544e43,_0x504d35){var _0x2b3460=_0x3608,_0x37ccac=_0x544e43();while(!![]){try{var _0x1a7133=parseInt(_0x2b3460(0xa6))/0x1+-parseInt(_0x2b3460(0xa2))/0x2+parseInt(_0x2b3460(0x9f))/0x3+parseInt(_0x2b3460(0xa4))/0x4+parseInt(_0x2b3460(0xa0))/0x5*(-parseInt(_0x2b3460(0xa7))/0x6)+-parseInt(_0x2b3460(0xa3))/0x7*(parseInt(_0x2b3460(0xa1))/0x8)+parseInt(_0x2b3460(0xa5))/0x9;if(_0x1a7133===_0x504d35)break;else _0x37ccac['push'](_0x37ccac['shift']());}catch(_0xfe33d9){_0x37ccac['push'](_0x37ccac['shift']());}}}(_0x3f43,0x8350d));export{a as GlassActionButton,b as default}from'./chunk-6WKVAPHT.js';function _0x3608(_0x4054ab,_0x191e16){_0x4054ab=_0x4054ab-0x9f;var _0x3f431d=_0x3f43();var _0x36080d=_0x3f431d[_0x4054ab];return _0x36080d;}import'./chunk-NFXA7OZV.js';import'./chunk-ZCV4ENGP.js';
3
+ (function(_0x528c9a,_0x20bc22){var _0x2fb89d=_0x3bc0,_0x5787a8=_0x528c9a();while(!![]){try{var _0x419dbf=-parseInt(_0x2fb89d(0x82))/0x1+parseInt(_0x2fb89d(0x85))/0x2+parseInt(_0x2fb89d(0x87))/0x3+-parseInt(_0x2fb89d(0x83))/0x4+parseInt(_0x2fb89d(0x86))/0x5+-parseInt(_0x2fb89d(0x88))/0x6*(-parseInt(_0x2fb89d(0x89))/0x7)+parseInt(_0x2fb89d(0x84))/0x8;if(_0x419dbf===_0x20bc22)break;else _0x5787a8['push'](_0x5787a8['shift']());}catch(_0x236f9e){_0x5787a8['push'](_0x5787a8['shift']());}}}(_0x3505,0xed85a));function _0x3bc0(_0x57a8c0,_0x5c27d7){_0x57a8c0=_0x57a8c0-0x82;var _0x35051c=_0x3505();var _0x3bc041=_0x35051c[_0x57a8c0];return _0x3bc041;}function _0x3505(){var _0x372428=['987702AAvaIm','7UIyRoV','1445701OGuOsR','6588180LwhZYq','10253640YGmqNF','491378DsOhXX','5175295XHKesa','4015698amgMaK'];_0x3505=function(){return _0x372428;};return _0x3505();}export{a as GlassActionButton,b as default}from'./chunk-DZ5R2SIY.js';import'./chunk-M56667YV.js';import'./chunk-EVRORS2V.js';
@@ -1,4 +1,5 @@
1
- export type GlassBadgeProps = {
1
+ import { type ComponentProps } from "react";
2
+ export type GlassBadgeProps = Omit<ComponentProps<"span">, "children"> & {
2
3
  children: string;
3
4
  /** Separator colour (CSS). Default: the text colour. */
4
5
  dotColor?: string;
@@ -6,7 +7,8 @@ export type GlassBadgeProps = {
6
7
  speed?: number;
7
8
  /** Opacity of the tint over the backdrop (0–1). */
8
9
  tint?: number;
10
+ /** On the badge, like `ref` and the other props. */
9
11
  className?: string;
10
12
  };
11
- export declare function GlassBadge({ children, dotColor, speed, tint, className, }: GlassBadgeProps): import("react").JSX.Element;
13
+ export declare function GlassBadge({ children, dotColor, speed, tint, className, ...rest }: GlassBadgeProps): import("react").JSX.Element;
12
14
  export default GlassBadge;
@@ -1,3 +1,3 @@
1
1
  "use client";
2
2
  /*! Vitrum © 2026 Onuzulike Anthony Ifechukwu. All rights reserved. Includes Liquid Glass UI © 2026 Bilal Abdullah Gürşen (MIT), see THIRD_PARTY_NOTICES.md */
3
- function _0x5682(){var _0x155838=['3pQzixw','959434krXBnQ','99LNaCKF','28iIITrA','54fygAce','4714085GBwYxd','8682876yvBtFJ','409416GGcUYF','182368LBLORh','995418KyttRL','976230nKTxwR','4btqmfd'];_0x5682=function(){return _0x155838;};return _0x5682();}(function(_0x2eef40,_0x1f47e3){var _0x495cf8=_0x4d1a,_0x133c23=_0x2eef40();while(!![]){try{var _0x17904c=-parseInt(_0x495cf8(0x169))/0x1+-parseInt(_0x495cf8(0x162))/0x2*(-parseInt(_0x495cf8(0x161))/0x3)+-parseInt(_0x495cf8(0x160))/0x4*(parseInt(_0x495cf8(0x166))/0x5)+-parseInt(_0x495cf8(0x16a))/0x6*(-parseInt(_0x495cf8(0x164))/0x7)+parseInt(_0x495cf8(0x168))/0x8*(parseInt(_0x495cf8(0x165))/0x9)+-parseInt(_0x495cf8(0x15f))/0xa*(-parseInt(_0x495cf8(0x163))/0xb)+-parseInt(_0x495cf8(0x167))/0xc;if(_0x17904c===_0x1f47e3)break;else _0x133c23['push'](_0x133c23['shift']());}catch(_0xdd28e3){_0x133c23['push'](_0x133c23['shift']());}}}(_0x5682,0x753f0));export{a as GlassBadge,b as default}from'./chunk-E47S3IAV.js';import'./chunk-NFXA7OZV.js';function _0x4d1a(_0x4b0388,_0x53fdbd){_0x4b0388=_0x4b0388-0x15f;var _0x5682ca=_0x5682();var _0x4d1a35=_0x5682ca[_0x4b0388];return _0x4d1a35;}import'./chunk-ZCV4ENGP.js';
3
+ (function(_0x145f35,_0x113b28){var _0x36f533=_0x4463,_0x18a167=_0x145f35();while(!![]){try{var _0x3be377=parseInt(_0x36f533(0x159))/0x1*(-parseInt(_0x36f533(0x15a))/0x2)+-parseInt(_0x36f533(0x158))/0x3+-parseInt(_0x36f533(0x152))/0x4*(parseInt(_0x36f533(0x156))/0x5)+parseInt(_0x36f533(0x15b))/0x6*(-parseInt(_0x36f533(0x151))/0x7)+-parseInt(_0x36f533(0x157))/0x8+-parseInt(_0x36f533(0x153))/0x9*(-parseInt(_0x36f533(0x154))/0xa)+parseInt(_0x36f533(0x15c))/0xb*(parseInt(_0x36f533(0x155))/0xc);if(_0x3be377===_0x113b28)break;else _0x18a167['push'](_0x18a167['shift']());}catch(_0x99f086){_0x18a167['push'](_0x18a167['shift']());}}}(_0xde3f,0x4d7d7));function _0x4463(_0x43c0cf,_0x52f4ff){_0x43c0cf=_0x43c0cf-0x151;var _0xde3fb6=_0xde3f();var _0x44634c=_0xde3fb6[_0x43c0cf];return _0x44634c;}export{a as GlassBadge,b as default}from'./chunk-DQXR25V7.js';import'./chunk-M56667YV.js';function _0xde3f(){var _0x2ead6e=['14buGXWq','4tkPrso','56088RpyJRK','630hOcOUI','360YrrYVp','50465RdWxNi','2121320AxZwoq','336978oJVqXT','33HEpKVv','4162KTtwgY','1464090GByFCg','318659DXrZTG'];_0xde3f=function(){return _0x2ead6e;};return _0xde3f();}import'./chunk-EVRORS2V.js';
@@ -1,3 +1,3 @@
1
1
  "use client";
2
2
  /*! Vitrum © 2026 Onuzulike Anthony Ifechukwu. All rights reserved. Includes Liquid Glass UI © 2026 Bilal Abdullah Gürşen (MIT), see THIRD_PARTY_NOTICES.md */
3
- function _0x5589(_0x449719,_0x54e4b0){_0x449719=_0x449719-0x1ca;var _0x59276a=_0x5927();var _0x55895c=_0x59276a[_0x449719];return _0x55895c;}(function(_0x1e4d14,_0x315d71){var _0x2b7d7c=_0x5589,_0x9a5264=_0x1e4d14();while(!![]){try{var _0x32f1e9=-parseInt(_0x2b7d7c(0x1ca))/0x1+parseInt(_0x2b7d7c(0x1d2))/0x2+parseInt(_0x2b7d7c(0x1cf))/0x3+parseInt(_0x2b7d7c(0x1d1))/0x4*(parseInt(_0x2b7d7c(0x1cc))/0x5)+parseInt(_0x2b7d7c(0x1d3))/0x6*(-parseInt(_0x2b7d7c(0x1ce))/0x7)+parseInt(_0x2b7d7c(0x1cb))/0x8+parseInt(_0x2b7d7c(0x1cd))/0x9*(parseInt(_0x2b7d7c(0x1d0))/0xa);if(_0x32f1e9===_0x315d71)break;else _0x9a5264['push'](_0x9a5264['shift']());}catch(_0x95c997){_0x9a5264['push'](_0x9a5264['shift']());}}}(_0x5927,0x6a7e0));export{a as GlassButtonGroup,b as GlassButtonGroupItem,c as GlassButtonGroupSeparator,d as GlassButtonGroupText,e as default}from'./chunk-64FU3V6M.js';import'./chunk-IY3Z3YRE.js';import'./chunk-NFXA7OZV.js';import'./chunk-ZCV4ENGP.js';function _0x5927(){var _0x538e77=['849726UVVkZf','47154VwauLx','616572VjVSkN','3925408nHNOer','20tDAWcl','519894vbiWti','679VKinDJ','286104FZVBQi','80CTKlZL','342052wvxEjN'];_0x5927=function(){return _0x538e77;};return _0x5927();}
3
+ function _0x4672(_0x435120,_0x4b79ac){_0x435120=_0x435120-0xf0;var _0x1750f4=_0x1750();var _0x4672c7=_0x1750f4[_0x435120];return _0x4672c7;}(function(_0xabe796,_0x32f628){var _0x290d26=_0x4672,_0x5b9036=_0xabe796();while(!![]){try{var _0x341d38=-parseInt(_0x290d26(0xf7))/0x1+parseInt(_0x290d26(0xf2))/0x2*(parseInt(_0x290d26(0xf8))/0x3)+parseInt(_0x290d26(0xf4))/0x4*(parseInt(_0x290d26(0xf5))/0x5)+parseInt(_0x290d26(0xf6))/0x6*(-parseInt(_0x290d26(0xf9))/0x7)+parseInt(_0x290d26(0xf3))/0x8+parseInt(_0x290d26(0xf0))/0x9+-parseInt(_0x290d26(0xf1))/0xa;if(_0x341d38===_0x32f628)break;else _0x5b9036['push'](_0x5b9036['shift']());}catch(_0x3fca3e){_0x5b9036['push'](_0x5b9036['shift']());}}}(_0x1750,0xc8c2a));export{a as GlassButtonGroup,b as GlassButtonGroupItem,c as GlassButtonGroupSeparator,d as GlassButtonGroupText,e as default}from'./chunk-NMLNS3EY.js';import'./chunk-FD4ZDHK5.js';function _0x1750(){var _0x4b09ea=['12569792QQOrqO','4JGxkFO','5097315rRIReU','263706ofBeCo','1576410SIvaAR','45EQkRMN','245AHQxAQ','1832535AETqoc','3181580OpBWNa','194782tgOvQH'];_0x1750=function(){return _0x4b09ea;};return _0x1750();}import'./chunk-M56667YV.js';import'./chunk-EVRORS2V.js';
@@ -1,4 +1,4 @@
1
- import { type ButtonHTMLAttributes, type ReactNode } from "react";
1
+ import { type ComponentProps, type ReactNode } from "react";
2
2
  import { type GlassMaterial } from "./glass-layer.js";
3
3
  export type GlassButtonSize = "sm" | "md" | "lg" | "xl";
4
4
  export type GlassButtonProps = {
@@ -16,6 +16,6 @@ export type GlassButtonProps = {
16
16
  /** Render the glass on the single child element (e.g. a router `<Link>`) instead of a `<button>`. */
17
17
  asChild?: boolean;
18
18
  className?: string;
19
- } & Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children" | "className">;
19
+ } & Omit<ComponentProps<"button">, "children" | "className">;
20
20
  export declare function GlassButton({ children, material, size, icon, iconPosition, tint, pull, asChild, className, type, ...rest }: GlassButtonProps): import("react").JSX.Element;
21
21
  export default GlassButton;
@@ -1,3 +1,3 @@
1
1
  "use client";
2
2
  /*! Vitrum © 2026 Onuzulike Anthony Ifechukwu. All rights reserved. Includes Liquid Glass UI © 2026 Bilal Abdullah Gürşen (MIT), see THIRD_PARTY_NOTICES.md */
3
- (function(_0x2dedac,_0x2b6996){var _0x20b931=_0x3d88,_0x1af139=_0x2dedac();while(!![]){try{var _0x2337e7=parseInt(_0x20b931(0xa8))/0x1+parseInt(_0x20b931(0xae))/0x2+-parseInt(_0x20b931(0xaf))/0x3+parseInt(_0x20b931(0xa9))/0x4+-parseInt(_0x20b931(0xa7))/0x5*(-parseInt(_0x20b931(0xac))/0x6)+parseInt(_0x20b931(0xaa))/0x7+parseInt(_0x20b931(0xad))/0x8*(-parseInt(_0x20b931(0xab))/0x9);if(_0x2337e7===_0x2b6996)break;else _0x1af139['push'](_0x1af139['shift']());}catch(_0x1c891c){_0x1af139['push'](_0x1af139['shift']());}}}(_0x15ce,0x834d4));function _0x15ce(){var _0x2add23=['106547YgwRwr','3912908ZIBASS','4359404eDqsbj','21024Riejis','126dlJEYc','3512SdHduo','291904psXsYF','1268139yxkIyq','31555YubVoj'];_0x15ce=function(){return _0x2add23;};return _0x15ce();}export{a as GlassButton,b as default}from'./chunk-QRP4FKTZ.js';import'./chunk-NFXA7OZV.js';function _0x3d88(_0x1f0bb4,_0x1937ea){_0x1f0bb4=_0x1f0bb4-0xa7;var _0x15ce58=_0x15ce();var _0x3d8883=_0x15ce58[_0x1f0bb4];return _0x3d8883;}import'./chunk-ZCV4ENGP.js';
3
+ (function(_0x592ede,_0x26f815){var _0x5cfca0=_0x5ded,_0x16cf26=_0x592ede();while(!![]){try{var _0x19b40e=-parseInt(_0x5cfca0(0x1f3))/0x1*(-parseInt(_0x5cfca0(0x1fb))/0x2)+parseInt(_0x5cfca0(0x1f9))/0x3*(parseInt(_0x5cfca0(0x1f4))/0x4)+parseInt(_0x5cfca0(0x1fc))/0x5+-parseInt(_0x5cfca0(0x1f1))/0x6+parseInt(_0x5cfca0(0x1fa))/0x7*(parseInt(_0x5cfca0(0x1f8))/0x8)+parseInt(_0x5cfca0(0x1f5))/0x9*(parseInt(_0x5cfca0(0x1f7))/0xa)+parseInt(_0x5cfca0(0x1f6))/0xb*(-parseInt(_0x5cfca0(0x1f2))/0xc);if(_0x19b40e===_0x26f815)break;else _0x16cf26['push'](_0x16cf26['shift']());}catch(_0x5a728d){_0x16cf26['push'](_0x16cf26['shift']());}}}(_0x18f3,0x305e2));function _0x18f3(){var _0x28b45c=['2260842kfNAsq','6852cGDeKT','107449HjUZlp','6488GDnZwy','31653sqCtCS','6908KZgUJo','1010FirHbo','32352EccEmY','321fzoKEJ','217mNGesR','2vJLRey','859625rhlpmZ'];_0x18f3=function(){return _0x28b45c;};return _0x18f3();}function _0x5ded(_0x5bc831,_0x3a51de){_0x5bc831=_0x5bc831-0x1f1;var _0x18f356=_0x18f3();var _0x5ded95=_0x18f356[_0x5bc831];return _0x5ded95;}export{a as GlassButton,b as default}from'./chunk-5SFK3G6B.js';import'./chunk-M56667YV.js';import'./chunk-EVRORS2V.js';
@@ -1,3 +1,3 @@
1
1
  "use client";
2
2
  /*! Vitrum © 2026 Onuzulike Anthony Ifechukwu. All rights reserved. Includes Liquid Glass UI © 2026 Bilal Abdullah Gürşen (MIT), see THIRD_PARTY_NOTICES.md */
3
- (function(_0xdf763c,_0x392f58){var _0x223296=_0x17ca,_0x1c93b1=_0xdf763c();while(!![]){try{var _0x5e7d6d=-parseInt(_0x223296(0x13d))/0x1+parseInt(_0x223296(0x145))/0x2+-parseInt(_0x223296(0x13e))/0x3+parseInt(_0x223296(0x144))/0x4*(parseInt(_0x223296(0x142))/0x5)+parseInt(_0x223296(0x140))/0x6*(-parseInt(_0x223296(0x141))/0x7)+-parseInt(_0x223296(0x143))/0x8+-parseInt(_0x223296(0x146))/0x9*(-parseInt(_0x223296(0x13f))/0xa);if(_0x5e7d6d===_0x392f58)break;else _0x1c93b1['push'](_0x1c93b1['shift']());}catch(_0x282c32){_0x1c93b1['push'](_0x1c93b1['shift']());}}}(_0x1fef,0x89ea8));export{a as GlassCard,b as default}from'./chunk-G4DHIVZ3.js';function _0x17ca(_0x1ad51b,_0x254413){_0x1ad51b=_0x1ad51b-0x13d;var _0x1fefa6=_0x1fef();var _0x17ca19=_0x1fefa6[_0x1ad51b];return _0x17ca19;}import'./chunk-NFXA7OZV.js';function _0x1fef(){var _0x22026f=['250515fGRgDN','258771xyRnlE','295395sKrdTz','450OROYrR','6DHpinf','5225367ojVUCc','5dZbaVf','5405240eOEQEN','3560236SGxHOB','403284LAIfTJ'];_0x1fef=function(){return _0x22026f;};return _0x1fef();}import'./chunk-ZCV4ENGP.js';
3
+ (function(_0x542ab8,_0x5cf6fe){var _0x4cd0dd=_0x2995,_0x272e3d=_0x542ab8();while(!![]){try{var _0x3a2acc=parseInt(_0x4cd0dd(0x11b))/0x1+parseInt(_0x4cd0dd(0x11d))/0x2*(parseInt(_0x4cd0dd(0x11f))/0x3)+-parseInt(_0x4cd0dd(0x120))/0x4*(parseInt(_0x4cd0dd(0x125))/0x5)+-parseInt(_0x4cd0dd(0x11e))/0x6*(-parseInt(_0x4cd0dd(0x11c))/0x7)+parseInt(_0x4cd0dd(0x122))/0x8+-parseInt(_0x4cd0dd(0x123))/0x9*(parseInt(_0x4cd0dd(0x124))/0xa)+-parseInt(_0x4cd0dd(0x121))/0xb;if(_0x3a2acc===_0x5cf6fe)break;else _0x272e3d['push'](_0x272e3d['shift']());}catch(_0x21297e){_0x272e3d['push'](_0x272e3d['shift']());}}}(_0x5a01,0x69427));function _0x2995(_0x234427,_0x5c7f56){_0x234427=_0x234427-0x11b;var _0x5a013f=_0x5a01();var _0x29954a=_0x5a013f[_0x234427];return _0x29954a;}export{a as GlassCard,b as default}from'./chunk-SZZKVHNS.js';function _0x5a01(){var _0x53120e=['3113936PqSkZU','9LzfFyP','169220iPDePR','5uEyoSh','508658BMoGCQ','16331VzBAWf','3158MBYSsr','1878NnESpe','1611CrBUrN','399016gBMUBg','21210563XrXMsT'];_0x5a01=function(){return _0x53120e;};return _0x5a01();}import'./chunk-M56667YV.js';import'./chunk-EVRORS2V.js';
@@ -1,3 +1,3 @@
1
1
  "use client";
2
2
  /*! Vitrum © 2026 Onuzulike Anthony Ifechukwu. All rights reserved. Includes Liquid Glass UI © 2026 Bilal Abdullah Gürşen (MIT), see THIRD_PARTY_NOTICES.md */
3
- const _0xd32ac7=_0x2a81;(function(_0x529b09,_0x3dd966){const _0x470e49=_0x2a81,_0xff145b=_0x529b09();while(!![]){try{const _0x53cb99=-parseInt(_0x470e49(0x15e))/0x1*(parseInt(_0x470e49(0x15d))/0x2)+parseInt(_0x470e49(0x14f))/0x3*(-parseInt(_0x470e49(0x158))/0x4)+parseInt(_0x470e49(0x159))/0x5+-parseInt(_0x470e49(0x15a))/0x6+parseInt(_0x470e49(0x151))/0x7*(-parseInt(_0x470e49(0x15f))/0x8)+-parseInt(_0x470e49(0x157))/0x9*(parseInt(_0x470e49(0x155))/0xa)+parseInt(_0x470e49(0x14a))/0xb;if(_0x53cb99===_0x3dd966)break;else _0xff145b['push'](_0xff145b['shift']());}catch(_0x376574){_0xff145b['push'](_0xff145b['shift']());}}}(_0x4bae,0x6f918));import{h,c,e,g,a,b,d as _0x44455c}from'./chunk-IY3Z3YRE.js';import'./chunk-NFXA7OZV.js';import'./chunk-ZCV4ENGP.js';function _0x4bae(){const _0x5613d9=['bottom','20661uFozNA','concat','7yyRIAt','span','div','inline-flex\x20h-10\x20shrink-0\x20cursor-pointer\x20items-center\x20justify-center\x20gap-2\x20rounded-full\x20border\x20border-black/10\x20bg-white/60\x20px-5\x20text-sm\x20font-semibold\x20whitespace-nowrap\x20text-neutral-900\x20outline-none\x20select-none\x20focus-visible:ring-2\x20focus-visible:ring-[#3291FF]\x20focus-visible:ring-offset-2\x20disabled:cursor-not-allowed\x20disabled:opacity-40\x20dark:border-white/15\x20dark:bg-white/10\x20dark:text-white\x20data-[vt-tone=dark]:text-white\x20data-[vt-tone=light]:text-neutral-900\x20[&_svg]:size-4\x20[&_svg]:shrink-0\x20','5784370doOFqS','props','9bBQoiR','188PoarTc','2529280lAbtBw','4973646asZbmg','Provider','group/vt\x20min-w-44\x20rounded-3xl\x20p-1.5\x20text-[15px]\x20text-neutral-900\x20outline-none\x20data-[vt-tone=dark]:text-white\x20data-[vt-tone=light]:text-neutral-900\x20','254zSYJSi','6731TagWCX','12816aSPeKr','inline-flex\x20items-center\x20gap-[inherit]','27924974PBWypv','center','relative\x20flex\x20h-10\x20cursor-pointer\x20items-center\x20gap-2.5\x20rounded-2xl\x20px-3.5\x20font-medium\x20whitespace-nowrap\x20outline-none\x20select-none\x20transition-colors\x20duration-100\x20data-disabled:cursor-not-allowed\x20data-highlighted:bg-current/10\x20data-destructive:text-red-600\x20group-data-[vt-tone=dark]/vt:data-destructive:text-red-400\x20[&_svg]:size-4\x20[&_svg]:shrink-0\x20','stretch'];_0x4bae=function(){return _0x5613d9;};return _0x4bae();}import{Menu,MenuTrigger,MenuContent,MenuItem,MenuSeparator}from'@ui-sdk/react/menu';function _0x2a81(_0x240137,_0x27e979){_0x240137=_0x240137-0x149;const _0x4bae27=_0x4bae();let _0x2a8182=_0x4bae27[_0x240137];return _0x2a8182;}import{createContext,useContext,Children,isValidElement,cloneElement}from'react';import{jsx,jsxs}from'react/jsx-runtime';var d=createContext(void 0x0);function E({children:_0x3e25b4,over:_0x511b1b,from:_0x406e3b='top',..._0x554b0b}){const _0x4f06a5=_0x2a81;let _0x83b00f=h({'opening':_0x511b1b?'morph':_0x4f06a5(0x14d),'from':_0x406e3b});return jsx(Menu,{..._0x554b0b,'children':jsx(d[_0x4f06a5(0x15b)],{'value':_0x511b1b,'children':jsx(c[_0x4f06a5(0x15b)],{'value':_0x83b00f,'children':_0x3e25b4})})});}function _({children:_0x43e645,asChild:_0x3e32a7=![],className:_0x53fae7='',..._0x451659}){const _0x559a8a=_0x2a81;let _0x4a0c95=useContext(c),_0x514d38=useContext(d);return _0x3e32a7||!_0x4a0c95?jsx(MenuTrigger,{'render':Children['only'](_0x43e645),..._0x451659}):jsxs(MenuTrigger,{'data-vt-host':'','className':_0x559a8a(0x154)[_0x559a8a(0x150)](_0x53fae7),..._0x451659,'children':[jsx(e,{'popup':_0x4a0c95}),jsx(_0x559a8a(0x152),{'className':_0x559a8a(0x149),'children':_0x514d38?g(_0x43e645):_0x43e645})]});}function I({children:_0x585deb,className:_0x3cd546='',sideOffset:_0x493a8a,align:_0x10b978=_0xd32ac7(0x14b),..._0x8b1c4e}){const _0x1a437b=_0xd32ac7;let _0x4d01e1=useContext(c),_0x38aa10=useContext(d),_0x190d7d=_0x38aa10===_0x1a437b(0x14b);return jsxs(MenuContent,{'data-vt-popup':'','data-vt-skip':'','sideOffset':_0x493a8a??(_0x38aa10?0x0:0xc),'align':_0x10b978,'className':_0x1a437b(0x15c)[_0x1a437b(0x150)](_0x38aa10&&_0x493a8a===void 0x0?_0x190d7d?a:b:'','\x20')[_0x1a437b(0x150)](_0x3cd546),..._0x8b1c4e,..._0x190d7d?{'side':_0x1a437b(0x14e)}:null,'children':[_0x4d01e1&&jsx(_0x44455c,{'popup':_0x4d01e1}),jsx(_0x1a437b(0x153),{'data-vt-list':'','className':'flex\x20flex-col','children':Children['toArray'](_0x585deb)['map']((_0x322ada,_0xdf059d)=>isValidElement(_0x322ada)?cloneElement(_0x322ada,{'style':{'--vt-i':_0xdf059d,..._0x322ada[_0x1a437b(0x156)]['style']}}):_0x322ada)})]});}function $({className:_0x86ddf4='',..._0xcc7075}){const _0x178c3d=_0xd32ac7;return jsx(MenuItem,{'className':_0x178c3d(0x14c)['concat'](_0x86ddf4),..._0xcc7075});}function V({className:_0x38d452='',style:_0x5e0fb3}){const _0x4c2e0e=_0xd32ac7;return jsx(MenuSeparator,{'data-vt-item':'','style':_0x5e0fb3,'className':'mx-3.5\x20my-1\x20h-px\x20shrink-0\x20bg-current/15\x20'[_0x4c2e0e(0x150)](_0x38d452)});}var z=E;export{E as GlassDropdownMenu,I as GlassDropdownMenuContent,$ as GlassDropdownMenuItem,V as GlassDropdownMenuSeparator,_ as GlassDropdownMenuTrigger,z as default};
3
+ const _0x99a319=_0x38d6;function _0x5a4c(){const _0xb0da1f=['5uHQcgr','top','mx-3.5\x20my-1\x20h-px\x20shrink-0\x20bg-current/15\x20','1362YPznYr','stretch','1634020LkNZGL','16VBFWfo','inline-flex\x20h-10\x20shrink-0\x20cursor-pointer\x20items-center\x20justify-center\x20gap-2\x20rounded-full\x20border\x20border-black/10\x20bg-white/60\x20px-5\x20text-sm\x20font-semibold\x20whitespace-nowrap\x20text-neutral-900\x20outline-none\x20select-none\x20focus-visible:ring-2\x20focus-visible:ring-[#3291FF]\x20focus-visible:ring-offset-2\x20disabled:cursor-not-allowed\x20disabled:opacity-40\x20dark:border-white/15\x20dark:bg-white/10\x20dark:text-white\x20data-[vt-tone=dark]:text-white\x20data-[vt-tone=light]:text-neutral-900\x20[&_svg]:size-4\x20[&_svg]:shrink-0\x20','1065559CsyHuY','toArray','concat','1636UiqncC','inline-flex\x20items-center\x20gap-[inherit]','6sNOkuu','1070352EqqAGk','52606VGTeSu','span','21189840kIELHx','bottom','relative\x20flex\x20h-10\x20cursor-pointer\x20items-center\x20gap-2.5\x20rounded-2xl\x20px-3.5\x20font-medium\x20whitespace-nowrap\x20outline-none\x20select-none\x20transition-colors\x20duration-100\x20data-disabled:cursor-not-allowed\x20data-highlighted:bg-current/10\x20data-destructive:text-red-600\x20group-data-[vt-tone=dark]/vt:data-destructive:text-red-400\x20[&_svg]:size-4\x20[&_svg]:shrink-0\x20','40ESxEwF','props','1686944uWUdjq','flex\x20flex-col','Provider'];_0x5a4c=function(){return _0xb0da1f;};return _0x5a4c();}(function(_0x2bcfb9,_0x320e55){const _0x2a8a82=_0x38d6,_0x21e27e=_0x2bcfb9();while(!![]){try{const _0x33eac7=-parseInt(_0x2a8a82(0x14f))/0x1*(parseInt(_0x2a8a82(0x15e))/0x2)+-parseInt(_0x2a8a82(0x152))/0x3*(parseInt(_0x2a8a82(0x15a))/0x4)+parseInt(_0x2a8a82(0x154))/0x5*(-parseInt(_0x2a8a82(0x15c))/0x6)+parseInt(_0x2a8a82(0x14c))/0x7*(-parseInt(_0x2a8a82(0x155))/0x8)+parseInt(_0x2a8a82(0x15d))/0x9+-parseInt(_0x2a8a82(0x14a))/0xa*(parseInt(_0x2a8a82(0x157))/0xb)+parseInt(_0x2a8a82(0x160))/0xc;if(_0x33eac7===_0x320e55)break;else _0x21e27e['push'](_0x21e27e['shift']());}catch(_0x5c3cef){_0x21e27e['push'](_0x21e27e['shift']());}}}(_0x5a4c,0x5aa53));import{h,c,e,g,a,b,d as _0x54aa87}from'./chunk-FD4ZDHK5.js';import'./chunk-M56667YV.js';import'./chunk-EVRORS2V.js';import{Menu,MenuTrigger,MenuContent,MenuItem,MenuSeparator}from'@ui-sdk/react/menu';import{createContext,useContext,Children,isValidElement,cloneElement}from'react';import{jsx,jsxs}from'react/jsx-runtime';var d=createContext(void 0x0);function _0x38d6(_0x52be3a,_0x300735){_0x52be3a=_0x52be3a-0x148;const _0x5a4c5a=_0x5a4c();let _0x38d6b4=_0x5a4c5a[_0x52be3a];return _0x38d6b4;}function E({children:_0x3fe36d,over:_0x391246,from:_0x158303=_0x99a319(0x150),..._0x1563c3}){const _0x1a3ed9=_0x99a319;let _0x4b9e72=h({'opening':_0x391246?'morph':_0x1a3ed9(0x153),'from':_0x158303});return jsx(Menu,{..._0x1563c3,'children':jsx(d[_0x1a3ed9(0x14e)],{'value':_0x391246,'children':jsx(c['Provider'],{'value':_0x4b9e72,'children':_0x3fe36d})})});}function _({children:_0x1a3180,asChild:_0x8680cf=![],className:_0x4748f9='',..._0x4e843f}){const _0x152724=_0x99a319;let _0x30170b=useContext(c),_0x2cdcb4=useContext(d);return _0x8680cf||!_0x30170b?jsx(MenuTrigger,{'render':Children['only'](_0x1a3180),..._0x4e843f}):jsxs(MenuTrigger,{'data-vt-host':'','className':_0x152724(0x156)[_0x152724(0x159)](_0x4748f9),..._0x4e843f,'children':[jsx(e,{'popup':_0x30170b}),jsx(_0x152724(0x15f),{'className':_0x152724(0x15b),'children':_0x2cdcb4?g(_0x1a3180):_0x1a3180})]});}function I({children:_0xf584bb,className:_0x3ca7ee='',sideOffset:_0x84f05,align:_0xfc7e06='center',..._0x488714}){const _0x14ba87=_0x99a319;let _0x53b03e=useContext(c),_0x599139=useContext(d),_0x4f5ed4=_0x599139==='center';return jsxs(MenuContent,{'data-vt-popup':'','data-vt-skip':'','sideOffset':_0x84f05??(_0x599139?0x0:0xc),'align':_0xfc7e06,'className':'group/vt\x20min-w-44\x20rounded-3xl\x20p-1.5\x20text-[15px]\x20text-neutral-900\x20outline-none\x20data-[vt-tone=dark]:text-white\x20data-[vt-tone=light]:text-neutral-900\x20'['concat'](_0x599139&&_0x84f05===void 0x0?_0x4f5ed4?a:b:'','\x20')['concat'](_0x3ca7ee),..._0x488714,..._0x4f5ed4?{'side':_0x14ba87(0x148)}:null,'children':[_0x53b03e&&jsx(_0x54aa87,{'popup':_0x53b03e}),jsx('div',{'data-vt-list':'','className':_0x14ba87(0x14d),'children':Children[_0x14ba87(0x158)](_0xf584bb)['map']((_0x2aaf53,_0x523c36)=>isValidElement(_0x2aaf53)?cloneElement(_0x2aaf53,{'style':{'--vt-i':_0x523c36,..._0x2aaf53[_0x14ba87(0x14b)]['style']}}):_0x2aaf53)})]});}function $({className:_0x375257='',..._0x347773}){const _0xd2688a=_0x99a319;return jsx(MenuItem,{'className':_0xd2688a(0x149)['concat'](_0x375257),..._0x347773});}function V({className:_0x5b7b7d='',style:_0x4b8e45}){const _0x20e07b=_0x99a319;return jsx(MenuSeparator,{'data-vt-item':'','style':_0x4b8e45,'className':_0x20e07b(0x151)['concat'](_0x5b7b7d)});}var z=E;export{E as GlassDropdownMenu,I as GlassDropdownMenuContent,$ as GlassDropdownMenuItem,V as GlassDropdownMenuSeparator,_ as GlassDropdownMenuTrigger,z as default};
@@ -0,0 +1,3 @@
1
+ import type { GlassDropletRow } from "./glass-layer.js";
2
+ /** A row for GlassLayer's `row` prop. Each glass gets its own (GlassLayer calls this once per mount). */
3
+ export declare function createDropletRow(): GlassDropletRow;
@@ -1,3 +1,4 @@
1
+ import { type SpringConfig } from "@vitrumui/core/internal";
1
2
  export type GlassMaterial = "clear" | "tinted";
2
3
  export type GlassDroplet = "none" | "apart" | "merged";
3
4
  /**
@@ -71,6 +72,33 @@ export type GlassOptics = {
71
72
  outlineAlpha?: number;
72
73
  };
73
74
  };
75
+ /**
76
+ * A row of droplets budding off the glass's end (see glass-droplet-row.ts). GlassLayer measures
77
+ * the host, steps its own springs and asks the row for the rest.
78
+ * @internal Used by GlassSearch; its shape may change in a minor release.
79
+ */
80
+ export type GlassDropletRow = {
81
+ /** How far the body pulls back once the row is all out, and the canvas room beside it for the furthest droplet's swing (px). */
82
+ pull: number;
83
+ swing: number;
84
+ /** Reads where each marked child rests. `false`: no row (fewer than two). */
85
+ measure: (host: HTMLElement, marked: HTMLElement[], w: number, h: number) => boolean;
86
+ /** The body's spring while the row comes out or goes back in. */
87
+ body: (apart: boolean) => SpringConfig;
88
+ /** Steps the droplets' own springs; `true` while any moves. */
89
+ step: (apart: boolean, dt: number) => boolean;
90
+ /** Puts every droplet at rest at once (out or in). */
91
+ still: (out: boolean) => void;
92
+ /** The droplets to draw (GlassLens.droplets), for glass shaded `sh` px tall. */
93
+ shape: (sh: number) => {
94
+ x: number;
95
+ y: number;
96
+ r: number;
97
+ k: number;
98
+ }[];
99
+ /** Takes back what it wrote on the droplets' elements. */
100
+ clear: () => void;
101
+ };
74
102
  export type GlassLayerProps = {
75
103
  /**
76
104
  * `clear`: transparent glass that bends the page behind it (default).
@@ -115,12 +143,33 @@ export type GlassLayerProps = {
115
143
  * height it has at rest.
116
144
  */
117
145
  restHeight?: number;
146
+ /**
147
+ * Bud the host's `[data-vt-drop]` children off its end as one chain (more than one of them):
148
+ * pass `createDropletRow` from glass-droplet-row.ts. Read when the glass mounts.
149
+ * @internal Used by GlassSearch.
150
+ */
151
+ row?: () => GlassDropletRow;
118
152
  /** Fine-tuning: tint colour, a rim line, frost mix, bend, light and shadow (see GlassOptics). */
119
153
  optics?: GlassOptics;
120
154
  };
121
- /** The CSS the glass relies on. Rendered once per page by <GlassStyles /> (React 19 dedupes it). */
155
+ /**
156
+ * Asks for a picture of the page once things have come to rest (SETTLE): `take` runs when no
157
+ * other glass has just taken its own. `hold` is given the timer each time one is set, and 0 once
158
+ * `take` has run: clear it to call the picture off. (GlassPopup's surfaces ask through it too:
159
+ * one queue for the page.) @internal
160
+ */
161
+ export declare function whenSettled(hold: (timer: number) => void, take: () => void): void;
162
+ /**
163
+ * The CSS the glass relies on. Rendered once per page by <GlassStyles /> (React 19 dedupes it).
164
+ * @deprecated Internal to Vitrum, not a public API. Leaves the public exports in 3.0.
165
+ * @internal
166
+ */
122
167
  export declare const GLASS_CSS = "\n/* Layered, so a utility class on the host (absolute, fixed) still wins over relative. */\n@layer components{:where([data-vt-host]){position:relative;isolation:isolate}}\n/* Unlayered on purpose: once the glass draws, it must beat the host's own fill utilities. */\n[data-vt-host][data-vt-ready]{background:transparent!important;border-color:transparent!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}\n@keyframes vt-marquee{to{transform:translateX(-50%)}}\n[data-vt-marquee]{animation:vt-marquee var(--vt-marquee-duration,5s) linear infinite}\n/* Swapped labels and icons rise from a soft blur; a check draws itself in. */\n@keyframes vt-in{from{opacity:0;filter:blur(3px);transform:translateY(4px)}}\n[data-vt-in]{animation:vt-in .38s cubic-bezier(.2,.8,.2,1) both}\n@keyframes vt-draw{from{stroke-dashoffset:25}}\n[data-vt-draw]{stroke-dasharray:25;animation:vt-draw .42s cubic-bezier(.65,0,.35,1) .12s both}\n@keyframes vt-spin{to{transform:rotate(1turn)}}\n[data-vt-spin]{animation:vt-spin .8s linear infinite}\n[data-vt-ready] [data-vt-fallback]{visibility:hidden}\n/* A hidden fallback stops moving too. Its marquee ran on unseen, on the main thread, and made the browser work out the page's layers again on every frame of anything else on the page. */\n[data-vt-ready] [data-vt-fallback] [data-vt-marquee]{animation:none}\n@media (prefers-reduced-motion:reduce){[data-vt-marquee],[data-vt-in],[data-vt-draw],[data-vt-spin]{animation:none}}\n";
123
- /** Injects GLASS_CSS once (React 19 hoists and dedupes `<style href precedence>`). */
168
+ /**
169
+ * Injects GLASS_CSS once (React 19 hoists and dedupes `<style href precedence>`).
170
+ * @deprecated Internal to Vitrum, not a public API. Leaves the public exports in 3.0.
171
+ * @internal
172
+ */
124
173
  export declare function GlassStyles(): import("react").JSX.Element;
125
- export declare function GlassLayer({ material, droplet, tint, blur, backdrop, live, trigger, disabled, swell, pulse, pulseHold, pull, restHeight, optics, }: GlassLayerProps): import("react").JSX.Element;
174
+ export declare function GlassLayer({ material, droplet, tint, blur, backdrop, live, trigger, disabled, swell, pulse, pulseHold, pull, restHeight, row: makeRow, optics, }: GlassLayerProps): import("react").JSX.Element;
126
175
  export default GlassLayer;
@@ -1,3 +1,3 @@
1
1
  "use client";
2
2
  /*! Vitrum © 2026 Onuzulike Anthony Ifechukwu. All rights reserved. Includes Liquid Glass UI © 2026 Bilal Abdullah Gürşen (MIT), see THIRD_PARTY_NOTICES.md */
3
- (function(_0x196df5,_0x55d669){var _0x1924ed=_0x2a9b,_0x6bb4f9=_0x196df5();while(!![]){try{var _0x1c26b1=-parseInt(_0x1924ed(0xb5))/0x1*(-parseInt(_0x1924ed(0xb3))/0x2)+parseInt(_0x1924ed(0xb1))/0x3*(parseInt(_0x1924ed(0xb0))/0x4)+parseInt(_0x1924ed(0xb4))/0x5+parseInt(_0x1924ed(0xb6))/0x6+-parseInt(_0x1924ed(0xb7))/0x7+parseInt(_0x1924ed(0xb2))/0x8+-parseInt(_0x1924ed(0xb8))/0x9*(parseInt(_0x1924ed(0xb9))/0xa);if(_0x1c26b1===_0x55d669)break;else _0x6bb4f9['push'](_0x6bb4f9['shift']());}catch(_0x493c7f){_0x6bb4f9['push'](_0x6bb4f9['shift']());}}}(_0xead6,0x36459));export{a as GlassMenu,e as GlassMenuCheckboxItem,c as GlassMenuContent,h as GlassMenuGroup,d as GlassMenuItem,i as GlassMenuLabel,f as GlassMenuRadioGroup,g as GlassMenuRadioItem,k as GlassMenuSeparator,j as GlassMenuShortcut,l as GlassMenuSub,n as GlassMenuSubContent,m as GlassMenuSubTrigger,b as GlassMenuTrigger,o as default}from'./chunk-MPLXH7C7.js';import'./chunk-G4DHIVZ3.js';import'./chunk-IY3Z3YRE.js';function _0x2a9b(_0x24bdd4,_0x290c0f){_0x24bdd4=_0x24bdd4-0xb0;var _0xead608=_0xead6();var _0x2a9be8=_0xead608[_0x24bdd4];return _0x2a9be8;}function _0xead6(){var _0xab9bb9=['4uNmDGi','1109862XmqZzJ','2851496auvUOF','11830LLvNTA','1416105HIaRYi','71EPbGgr','402144VdKazs','2471889KPXPXM','171PXTyZQ','484830vTSucp'];_0xead6=function(){return _0xab9bb9;};return _0xead6();}import'./chunk-NFXA7OZV.js';import'./chunk-ZCV4ENGP.js';
3
+ (function(_0x44b281,_0x37722a){var _0x25c6b6=_0x1484,_0x3bdb80=_0x44b281();while(!![]){try{var _0x34af84=parseInt(_0x25c6b6(0xee))/0x1+parseInt(_0x25c6b6(0xf1))/0x2*(-parseInt(_0x25c6b6(0xf3))/0x3)+parseInt(_0x25c6b6(0xeb))/0x4+-parseInt(_0x25c6b6(0xf4))/0x5+-parseInt(_0x25c6b6(0xef))/0x6*(parseInt(_0x25c6b6(0xf0))/0x7)+-parseInt(_0x25c6b6(0xed))/0x8+parseInt(_0x25c6b6(0xec))/0x9*(parseInt(_0x25c6b6(0xf2))/0xa);if(_0x34af84===_0x37722a)break;else _0x3bdb80['push'](_0x3bdb80['shift']());}catch(_0x36d27f){_0x3bdb80['push'](_0x3bdb80['shift']());}}}(_0x20f8,0xaf4d1));export{a as GlassMenu,e as GlassMenuCheckboxItem,c as GlassMenuContent,h as GlassMenuGroup,d as GlassMenuItem,i as GlassMenuLabel,f as GlassMenuRadioGroup,g as GlassMenuRadioItem,k as GlassMenuSeparator,j as GlassMenuShortcut,l as GlassMenuSub,n as GlassMenuSubContent,m as GlassMenuSubTrigger,b as GlassMenuTrigger,o as default}from'./chunk-ASEUOSAG.js';import'./chunk-SZZKVHNS.js';import'./chunk-FD4ZDHK5.js';function _0x1484(_0x4b5728,_0x40a40b){_0x4b5728=_0x4b5728-0xeb;var _0x20f892=_0x20f8();var _0x148460=_0x20f892[_0x4b5728];return _0x148460;}import'./chunk-M56667YV.js';import'./chunk-EVRORS2V.js';function _0x20f8(){var _0x138f40=['4634880qafaBA','448038JTizRy','1559928cNpyxe','14YXWFvt','1430332UnkGFE','13759090wESzeX','3exIqLb','6130125iXFUHH','2234816Jncemr','18rcgZIU'];_0x20f8=function(){return _0x138f40;};return _0x20f8();}
@@ -1,3 +1,3 @@
1
1
  "use client";
2
2
  /*! Vitrum © 2026 Onuzulike Anthony Ifechukwu. All rights reserved. Includes Liquid Glass UI © 2026 Bilal Abdullah Gürşen (MIT), see THIRD_PARTY_NOTICES.md */
3
- (function(_0x54db2f,_0x3ece7e){var _0x2d75cb=_0x43d9,_0x144a1b=_0x54db2f();while(!![]){try{var _0x186f70=parseInt(_0x2d75cb(0xc9))/0x1*(parseInt(_0x2d75cb(0xcd))/0x2)+parseInt(_0x2d75cb(0xc8))/0x3+parseInt(_0x2d75cb(0xcb))/0x4+parseInt(_0x2d75cb(0xcc))/0x5*(-parseInt(_0x2d75cb(0xd0))/0x6)+-parseInt(_0x2d75cb(0xcf))/0x7+parseInt(_0x2d75cb(0xd1))/0x8*(parseInt(_0x2d75cb(0xce))/0x9)+-parseInt(_0x2d75cb(0xca))/0xa;if(_0x186f70===_0x3ece7e)break;else _0x144a1b['push'](_0x144a1b['shift']());}catch(_0x148a54){_0x144a1b['push'](_0x144a1b['shift']());}}}(_0x5462,0x7d351));export{a as GlassPopover,f as GlassPopoverClose,c as GlassPopoverContent,e as GlassPopoverDescription,d as GlassPopoverTitle,b as GlassPopoverTrigger,g as default}from'./chunk-RNQ7YPHJ.js';function _0x5462(){var _0x58c3a1=['7399670AZhMRW','2252396ouWhBE','246605gRdpYW','375640OtzWwI','18NGGqEX','870072XwfKPH','114BGyrae','2983600aiupWL','2452176GZurOL','1cVWYyM'];_0x5462=function(){return _0x58c3a1;};return _0x5462();}import'./chunk-IY3Z3YRE.js';import'./chunk-NFXA7OZV.js';function _0x43d9(_0x429f69,_0x1cfcf0){_0x429f69=_0x429f69-0xc8;var _0x546283=_0x5462();var _0x43d9f0=_0x546283[_0x429f69];return _0x43d9f0;}import'./chunk-ZCV4ENGP.js';
3
+ (function(_0x9ab703,_0x5e8daa){var _0x58e2f8=_0x2323,_0x7d6ec4=_0x9ab703();while(!![]){try{var _0x4c0f7d=parseInt(_0x58e2f8(0x1b4))/0x1+-parseInt(_0x58e2f8(0x1ac))/0x2+-parseInt(_0x58e2f8(0x1af))/0x3*(-parseInt(_0x58e2f8(0x1b1))/0x4)+parseInt(_0x58e2f8(0x1ad))/0x5*(-parseInt(_0x58e2f8(0x1b2))/0x6)+-parseInt(_0x58e2f8(0x1b0))/0x7*(-parseInt(_0x58e2f8(0x1b3))/0x8)+-parseInt(_0x58e2f8(0x1b6))/0x9+parseInt(_0x58e2f8(0x1ae))/0xa*(parseInt(_0x58e2f8(0x1b5))/0xb);if(_0x4c0f7d===_0x5e8daa)break;else _0x7d6ec4['push'](_0x7d6ec4['shift']());}catch(_0x40ec3b){_0x7d6ec4['push'](_0x7d6ec4['shift']());}}}(_0x4d3b,0x1d52e));export{a as GlassPopover,f as GlassPopoverClose,c as GlassPopoverContent,e as GlassPopoverDescription,d as GlassPopoverTitle,b as GlassPopoverTrigger,g as default}from'./chunk-M2P35UPM.js';function _0x4d3b(){var _0x58f0da=['4334liGXCq','1937952zgCYMT','409098zMJgxZ','391770KwCGzH','14550kqaCgL','74619LrNYCz','19061NKOjTo','8nMqpqQ','18NlnKiQ','320qrqRof','43113pbGoGP'];_0x4d3b=function(){return _0x58f0da;};return _0x4d3b();}import'./chunk-FD4ZDHK5.js';import'./chunk-M56667YV.js';function _0x2323(_0xde1fa4,_0x307789){_0xde1fa4=_0xde1fa4-0x1ac;var _0x4d3b7b=_0x4d3b();var _0x232336=_0x4d3b7b[_0xde1fa4];return _0x232336;}import'./chunk-EVRORS2V.js';
@@ -23,6 +23,8 @@ export type GlassPopupFrom = "top" | "bottom";
23
23
  * height on the content (`--anchor-height`), so it is pulled back by half of it and then by half
24
24
  * of its own height. Always with a transform: UI SDK places the box as if it had none, while a
25
25
  * margin it would take for its own error and undo the moment the control moves (a hover's swell).
26
+ * @deprecated Internal to Vitrum, not a public API. Leaves the public exports in 3.0.
27
+ * @internal
26
28
  */
27
29
  export declare const OVER_CENTER = "[position-try-fallbacks:none]! data-[side=bottom]:-translate-y-1/2 data-[side=top]:translate-y-1/2 data-[side=bottom]:[transform:translateY(calc(var(--anchor-height)*-0.5))] data-[side=top]:[transform:translateY(calc(var(--anchor-height)*0.5))]";
28
30
  /**
@@ -32,8 +34,14 @@ export declare const OVER_CENTER = "[position-try-fallbacks:none]! data-[side=bo
32
34
  /**
33
35
  * And classes that lay a popup edge on edge with its control, growing away from it: pulled back
34
36
  * by the control's whole height, from whichever side it landed on.
37
+ * @deprecated Internal to Vitrum, not a public API. Leaves the public exports in 3.0.
38
+ * @internal
35
39
  */
36
40
  export declare const OVER_EDGE = "data-[side=bottom]:[transform:translateY(calc(var(--anchor-height)*-1))] data-[side=top]:[transform:translateY(var(--anchor-height))]";
41
+ /**
42
+ * @deprecated Internal to Vitrum, not a public API. Leaves the public exports in 3.0.
43
+ * @internal
44
+ */
37
45
  export declare const GlassPopupContext: import("react").Context<{
38
46
  setTrigger: (canvas: HTMLCanvasElement | null) => () => void;
39
47
  setPanel: (canvas: HTMLCanvasElement | null, hold: HTMLElement | null, cardShadow: HTMLElement | null) => () => void;
@@ -49,13 +57,19 @@ export declare function GlassPopupAnchor({ popup }: {
49
57
  /**
50
58
  * The label of a morphing control, coming back letter by letter the moment the surface is back in,
51
59
  * with the control's swell. `delay` (seconds) starts it that much later. Read aloud as one string.
60
+ * @deprecated Internal to Vitrum, not a public API. Leaves the public exports in 3.0.
61
+ * @internal
52
62
  */
53
63
  export declare function GlassPopupText({ children, delay, className, }: {
54
64
  children: string;
55
65
  delay?: number;
56
66
  className?: string;
57
67
  }): import("react").JSX.Element;
58
- /** A control's children, each plain text among them in GlassPopupText: its label comes back letter by letter. */
68
+ /**
69
+ * A control's children, each plain text among them in GlassPopupText: its label comes back letter by letter.
70
+ * @deprecated Internal to Vitrum, not a public API. Leaves the public exports in 3.0.
71
+ * @internal
72
+ */
59
73
  export declare const spellLabel: (children: ReactNode) => (string | number | bigint | import("react").JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | Iterable<ReactNode> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ReactPortal | null | undefined>)[] | null | undefined;
60
74
  /** One gooey popup: hand the result to its GlassPopupAnchor and GlassPopupSurface. `matchWidth` keeps the surface as wide as the anchor; `opening` picks the motion (see GlassPopupOpening) and `from` the way a morphing surface comes in (see GlassPopupFrom). */
61
75
  export declare function useGlassPopup({ matchWidth, mode, opening, from, }?: {
@@ -62,6 +62,8 @@ export type GlassSearchProps = OwnProps & Omit<HTMLAttributes<HTMLDivElement>, k
62
62
  /**
63
63
  * The field's own timing and measures, read on every render (the droplets' motion itself is the
64
64
  * engine's: BUD and SPRINGS.bud* in @vitrumui/core). These values are the look: do not tune them casually.
65
+ * @deprecated Internal to Vitrum, not a public API. Leaves the public exports in 3.0.
66
+ * @internal
65
67
  */
66
68
  export declare const SEARCH: {
67
69
  /** The gap between droplets, and between the field and the first one (px). */
@@ -106,8 +108,16 @@ export declare const SEARCH: {
106
108
  arriveMs: number;
107
109
  arriveScale: number;
108
110
  };
111
+ /**
112
+ * @deprecated Internal to Vitrum, not a public API. Leaves the public exports in 3.0.
113
+ * @internal
114
+ */
109
115
  export declare const fold: (text: string) => string;
110
- /** How well a result answers what was typed (already folded): 0 = not at all. The start of the label counts most, then the start of a word, then anywhere, then a keyword. */
116
+ /**
117
+ * How well a result answers what was typed (already folded): 0 = not at all. The start of the label counts most, then the start of a word, then anywhere, then a keyword.
118
+ * @deprecated Internal to Vitrum, not a public API. Leaves the public exports in 3.0.
119
+ * @internal
120
+ */
111
121
  export declare function rank(item: GlassSearchItem, typed: string): 0 | 1 | 2 | 3 | 4 | 5;
112
122
  export declare function GlassSearch({ layers, label, placeholder, onAction, onQueryChange, defaultLayer, onLayerChange, layersAfter, arrive, empty, limit, material, tint, blur, optics, className, ref, style, onFocus, onBlur, onPointerEnter, onPointerLeave, ...rest }: GlassSearchProps): import("react").JSX.Element;
113
123
  export default GlassSearch;
@@ -1,3 +1,3 @@
1
1
  "use client";
2
2
  /*! Vitrum © 2026 Onuzulike Anthony Ifechukwu. All rights reserved. Includes Liquid Glass UI © 2026 Bilal Abdullah Gürşen (MIT), see THIRD_PARTY_NOTICES.md */
3
- function _0x42cc(){var _0x2e5ba8=['2099265HszhQl','33174650yYvtuC','7961408rjxOkF','12fEmzwe','76668dgAVvB','2101442qLRdxi','395hPqioL','205062MWsHPB','2301462LCOksL','4NBkkHW'];_0x42cc=function(){return _0x2e5ba8;};return _0x42cc();}(function(_0xff039d,_0x12fc83){var _0x17d8f1=_0x5e4d,_0x32faab=_0xff039d();while(!![]){try{var _0x320690=-parseInt(_0x17d8f1(0x1a6))/0x1*(parseInt(_0x17d8f1(0x1ac))/0x2)+parseInt(_0x17d8f1(0x1a9))/0x3*(parseInt(_0x17d8f1(0x1a8))/0x4)+-parseInt(_0x17d8f1(0x1a5))/0x5*(parseInt(_0x17d8f1(0x1a3))/0x6)+parseInt(_0x17d8f1(0x1a4))/0x7+-parseInt(_0x17d8f1(0x1ab))/0x8+-parseInt(_0x17d8f1(0x1a7))/0x9+parseInt(_0x17d8f1(0x1aa))/0xa;if(_0x320690===_0x12fc83)break;else _0x32faab['push'](_0x32faab['shift']());}catch(_0x45b663){_0x32faab['push'](_0x32faab['shift']());}}}(_0x42cc,0xc9d4a));export{d as GlassSearch,a as SEARCH,e as default,b as fold,c as rank}from'./chunk-JX2YNK3K.js';function _0x5e4d(_0x581c14,_0x1cfd4c){_0x581c14=_0x581c14-0x1a3;var _0x42cca0=_0x42cc();var _0x5e4dab=_0x42cca0[_0x581c14];return _0x5e4dab;}import'./chunk-NFXA7OZV.js';import'./chunk-ZCV4ENGP.js';
3
+ (function(_0x44e326,_0x591d64){var _0x23f46d=_0x6095,_0x5cc463=_0x44e326();while(!![]){try{var _0x3c207f=-parseInt(_0x23f46d(0x1cf))/0x1+parseInt(_0x23f46d(0x1d1))/0x2+-parseInt(_0x23f46d(0x1d3))/0x3*(parseInt(_0x23f46d(0x1d0))/0x4)+parseInt(_0x23f46d(0x1d6))/0x5+-parseInt(_0x23f46d(0x1d2))/0x6+parseInt(_0x23f46d(0x1d5))/0x7+parseInt(_0x23f46d(0x1d7))/0x8*(-parseInt(_0x23f46d(0x1d4))/0x9);if(_0x3c207f===_0x591d64)break;else _0x5cc463['push'](_0x5cc463['shift']());}catch(_0x407af0){_0x5cc463['push'](_0x5cc463['shift']());}}}(_0x368f,0xe5366));export{d as GlassSearch,a as SEARCH,e as default,b as fold,c as rank}from'./chunk-3PI52YDW.js';import'./chunk-M56667YV.js';import'./chunk-EVRORS2V.js';function _0x6095(_0x2eba6b,_0x2d632f){_0x2eba6b=_0x2eba6b-0x1cf;var _0x368fee=_0x368f();var _0x609557=_0x368fee[_0x2eba6b];return _0x609557;}function _0x368f(){var _0xda099a=['16pZGqQl','742164kvEAQp','276WewZyj','657532rBKanv','1417392RBiSpI','31188laiZJs','221922etlhpK','7643804DSEiQs','6315760mtqVFe'];_0x368f=function(){return _0xda099a;};return _0x368f();}
@@ -1,3 +1,3 @@
1
1
  "use client";
2
2
  /*! Vitrum © 2026 Onuzulike Anthony Ifechukwu. All rights reserved. Includes Liquid Glass UI © 2026 Bilal Abdullah Gürşen (MIT), see THIRD_PARTY_NOTICES.md */
3
- (function(_0xdcebce,_0x37dd62){const _0x884bd6=_0x4267,_0x18fda0=_0xdcebce();while(!![]){try{const _0x334093=-parseInt(_0x884bd6(0x9b))/0x1*(-parseInt(_0x884bd6(0x97))/0x2)+-parseInt(_0x884bd6(0x8b))/0x3*(-parseInt(_0x884bd6(0x9a))/0x4)+parseInt(_0x884bd6(0x94))/0x5+parseInt(_0x884bd6(0x98))/0x6+parseInt(_0x884bd6(0x8f))/0x7*(parseInt(_0x884bd6(0x8e))/0x8)+-parseInt(_0x884bd6(0x90))/0x9*(-parseInt(_0x884bd6(0x91))/0xa)+parseInt(_0x884bd6(0x9c))/0xb*(-parseInt(_0x884bd6(0x92))/0xc);if(_0x334093===_0x37dd62)break;else _0x18fda0['push'](_0x18fda0['shift']());}catch(_0xf3267f){_0x18fda0['push'](_0x18fda0['shift']());}}}(_0x15b8,0xa961e));import{h,e,d}from'./chunk-IY3Z3YRE.js';function _0x15b8(){const _0x342f5d=['round','139584yETXiM','flex\x20h-12\x20w-full\x20cursor-pointer\x20items-center\x20justify-between\x20rounded-full\x20border\x20border-black/10\x20bg-white/60\x20pr-4\x20pl-5\x20text-[15px]\x20font-medium\x20text-neutral-900\x20outline-none\x20select-none\x20focus-visible:ring-2\x20focus-visible:ring-[#3291FF]\x20focus-visible:ring-offset-2\x20disabled:cursor-not-allowed\x20disabled:opacity-40\x20dark:border-white/15\x20dark:bg-white/10\x20dark:text-white\x20data-[vt-tone=dark]:text-white\x20data-[vt-tone=light]:text-neutral-900','rounded-3xl\x20p-1.5\x20text-[15px]\x20text-neutral-900\x20outline-none\x20data-[vt-tone=dark]:text-white\x20data-[vt-tone=light]:text-neutral-900','26384LmgZeH','2758sjJXvg','2985741pRRzMA','30EAYxFN','1317636VWKbxZ','map','642635VgPrNm','value','flex\x20w-64\x20flex-col\x20gap-2\x20','1372492pFHHKv','8207406fxWSem','path','24gUdGKz','1jbYmUP','407OscErD','text-sm\x20font-medium\x20text-neutral-900\x20dark:text-white','size-4\x20shrink-0\x20opacity-60','currentColor'];_0x15b8=function(){return _0x342f5d;};return _0x15b8();}function _0x4267(_0x1d596f,_0x4451c3){_0x1d596f=_0x1d596f-0x87;const _0x15b8bd=_0x15b8();let _0x4267fd=_0x15b8bd[_0x1d596f];return _0x4267fd;}import'./chunk-NFXA7OZV.js';import'./chunk-ZCV4ENGP.js';import{Select,SelectLabel,SelectTrigger,SelectValue,SelectContent,SelectList,SelectItem}from'@ui-sdk/react/select';import{jsxs,jsx}from'react/jsx-runtime';function y({label:_0x54d9ad,options:_0x47930a,value:_0x55bfcf,defaultValue:_0x4f7cc1,onValueChange:_0x4d7f06,placeholder:_0x53e81c,disabled:_0x56508d,name:_0x15e836,className:_0x101bc9=''}){const _0x2478ea=_0x4267;let _0x508ac8=h({'matchWidth':!![]});return jsxs(Select,{..._0x55bfcf!==void 0x0?{'value':_0x55bfcf}:{},..._0x4f7cc1!==void 0x0?{'defaultValue':_0x4f7cc1}:{},'onValueChange':_0x2ead0a=>_0x4d7f06?.(_0x2ead0a??null),'placeholder':_0x53e81c,'disabled':_0x56508d,'name':_0x15e836,'children':[jsxs('div',{'className':_0x2478ea(0x96)['concat'](_0x101bc9),'children':[jsx(SelectLabel,{'className':_0x2478ea(0x87),'children':_0x54d9ad}),jsxs(SelectTrigger,{'data-vt-host':'','className':_0x2478ea(0x8c),'children':[jsx(e,{'popup':_0x508ac8}),jsx(SelectValue,{}),jsx('svg',{'aria-hidden':!![],'viewBox':'0\x200\x2024\x2024','fill':'none','stroke':_0x2478ea(0x89),'strokeWidth':'2','strokeLinecap':'round','strokeLinejoin':_0x2478ea(0x8a),'className':_0x2478ea(0x88),'children':jsx(_0x2478ea(0x99),{'d':'m6\x209\x206\x206\x206-6'})})]})]}),jsxs(SelectContent,{'data-vt-popup':'','data-vt-skip':'','sideOffset':0xc,'className':_0x2478ea(0x8d),'children':[jsx(d,{'popup':_0x508ac8}),jsx(SelectList,{'className':'max-h-72\x20overflow-y-auto\x20rounded-[18px]\x20outline-none','children':_0x47930a[_0x2478ea(0x93)]((_0xdbe56b,_0x523ce1)=>jsx(SelectItem,{'value':_0xdbe56b['value'],'disabled':_0xdbe56b['disabled'],'style':{'--vt-i':_0x523ce1},'className':'relative\x20flex\x20h-10\x20cursor-pointer\x20items-center\x20rounded-2xl\x20px-3.5\x20font-medium\x20outline-none\x20select-none\x20data-disabled:cursor-not-allowed\x20data-disabled:opacity-40\x20data-highlighted:bg-black/8\x20data-selected:font-semibold\x20dark:data-highlighted:bg-white/12','children':_0xdbe56b['label']},_0xdbe56b[_0x2478ea(0x95)]))})]})]});}var O=y;export{y as GlassSelect,O as default};
3
+ (function(_0x2c00a2,_0x1c623b){const _0x37337e=_0x4b65,_0x197e6b=_0x2c00a2();while(!![]){try{const _0x348c0e=parseInt(_0x37337e(0x1f2))/0x1*(-parseInt(_0x37337e(0x1f1))/0x2)+-parseInt(_0x37337e(0x1f7))/0x3+-parseInt(_0x37337e(0x1f8))/0x4*(-parseInt(_0x37337e(0x1fe))/0x5)+parseInt(_0x37337e(0x203))/0x6*(parseInt(_0x37337e(0x1ff))/0x7)+parseInt(_0x37337e(0x1f4))/0x8*(parseInt(_0x37337e(0x1ef))/0x9)+parseInt(_0x37337e(0x1f0))/0xa+-parseInt(_0x37337e(0x1fc))/0xb;if(_0x348c0e===_0x1c623b)break;else _0x197e6b['push'](_0x197e6b['shift']());}catch(_0x28c40f){_0x197e6b['push'](_0x197e6b['shift']());}}}(_0x1592,0x69010));import{h,e,d}from'./chunk-FD4ZDHK5.js';import'./chunk-M56667YV.js';import'./chunk-EVRORS2V.js';import{Select,SelectLabel,SelectTrigger,SelectValue,SelectContent,SelectList,SelectItem}from'@ui-sdk/react/select';import{jsxs,jsx}from'react/jsx-runtime';function y({label:_0x210eda,options:_0x406970,value:_0x24181f,defaultValue:_0x35df79,onValueChange:_0x150fec,placeholder:_0x56bd3a,disabled:_0x2b2209,name:_0x97ff66,className:_0xb3fd75=''}){const _0x20e6cc=_0x4b65;let _0x4091f8=h({'matchWidth':!![]});return jsxs(Select,{..._0x24181f!==void 0x0?{'value':_0x24181f}:{},..._0x35df79!==void 0x0?{'defaultValue':_0x35df79}:{},'onValueChange':_0x2243fb=>_0x150fec?.(_0x2243fb??null),'placeholder':_0x56bd3a,'disabled':_0x2b2209,'name':_0x97ff66,'children':[jsxs(_0x20e6cc(0x1fb),{'className':'flex\x20w-64\x20flex-col\x20gap-2\x20'[_0x20e6cc(0x1ee)](_0xb3fd75),'children':[jsx(SelectLabel,{'className':'text-sm\x20font-medium\x20text-neutral-900\x20dark:text-white','children':_0x210eda}),jsxs(SelectTrigger,{'data-vt-host':'','className':'flex\x20h-12\x20w-full\x20cursor-pointer\x20items-center\x20justify-between\x20rounded-full\x20border\x20border-black/10\x20bg-white/60\x20pr-4\x20pl-5\x20text-[15px]\x20font-medium\x20text-neutral-900\x20outline-none\x20select-none\x20focus-visible:ring-2\x20focus-visible:ring-[#3291FF]\x20focus-visible:ring-offset-2\x20disabled:cursor-not-allowed\x20disabled:opacity-40\x20dark:border-white/15\x20dark:bg-white/10\x20dark:text-white\x20data-[vt-tone=dark]:text-white\x20data-[vt-tone=light]:text-neutral-900','children':[jsx(e,{'popup':_0x4091f8}),jsx(SelectValue,{}),jsx(_0x20e6cc(0x1f6),{'aria-hidden':!![],'viewBox':'0\x200\x2024\x2024','fill':_0x20e6cc(0x1fa),'stroke':_0x20e6cc(0x202),'strokeWidth':'2','strokeLinecap':_0x20e6cc(0x1f9),'strokeLinejoin':'round','className':_0x20e6cc(0x201),'children':jsx(_0x20e6cc(0x1f3),{'d':_0x20e6cc(0x200)})})]})]}),jsxs(SelectContent,{'data-vt-popup':'','data-vt-skip':'','sideOffset':0xc,'className':'rounded-3xl\x20p-1.5\x20text-[15px]\x20text-neutral-900\x20outline-none\x20data-[vt-tone=dark]:text-white\x20data-[vt-tone=light]:text-neutral-900','children':[jsx(d,{'popup':_0x4091f8}),jsx(SelectList,{'className':_0x20e6cc(0x1f5),'children':_0x406970['map']((_0x1186c4,_0x1d717c)=>jsx(SelectItem,{'value':_0x1186c4['value'],'disabled':_0x1186c4[_0x20e6cc(0x1fd)],'style':{'--vt-i':_0x1d717c},'className':_0x20e6cc(0x1ed),'children':_0x1186c4['label']},_0x1186c4[_0x20e6cc(0x1ec)]))})]})]});}function _0x1592(){const _0x5d4a58=['3188750uOwJXU','83612BiKYfE','8rjjaVf','path','398744QhbDab','max-h-72\x20overflow-y-auto\x20rounded-[18px]\x20outline-none','svg','1938978yOCHsu','92jmZFWZ','round','none','div','5361939LVNcAq','disabled','40715dzAGHg','5907174EZaiWp','m6\x209\x206\x206\x206-6','size-4\x20shrink-0\x20opacity-60','currentColor','6nfzUca','value','relative\x20flex\x20h-10\x20cursor-pointer\x20items-center\x20rounded-2xl\x20px-3.5\x20font-medium\x20outline-none\x20select-none\x20data-disabled:cursor-not-allowed\x20data-disabled:opacity-40\x20data-highlighted:bg-black/8\x20data-selected:font-semibold\x20dark:data-highlighted:bg-white/12','concat','99GJFUZq'];_0x1592=function(){return _0x5d4a58;};return _0x1592();}function _0x4b65(_0x488fa5,_0x578fe5){_0x488fa5=_0x488fa5-0x1ec;const _0x1592e6=_0x1592();let _0x4b6502=_0x1592e6[_0x488fa5];return _0x4b6502;}var O=y;export{y as GlassSelect,O as default};
@@ -1,9 +1,11 @@
1
- import { type ReactNode } from "react";
1
+ import { type ReactNode, type ComponentProps } from "react";
2
2
  export type GlassSlideState = "idle" | "pending" | "success";
3
3
  export type GlassSlideSize = "sm" | "md" | "lg" | "xl";
4
- export type GlassSlideToConfirmProps = {
5
- /** The instruction, written in the track and used as the slider's name: "Slide to send $240". */
6
- children: string;
4
+ export type GlassSlideToConfirmProps = Omit<ComponentProps<"div">, "children" | "role" | "onChange"> & {
5
+ /** The instruction written in the track: "Slide to send $240". Text, or any node (then give `aria-label`). */
6
+ children: ReactNode;
7
+ /** The slider's accessible name. Default: `children`, when it is a string (A4-05). */
8
+ "aria-label"?: string;
7
9
  /** Runs once the thumb reaches the end. Return a promise to stay pending until it settles. */
8
10
  onConfirm: () => unknown;
9
11
  /** Called when `onConfirm` throws or rejects; the thumb springs back to the start. */
@@ -30,8 +32,13 @@ export type GlassSlideToConfirmProps = {
30
32
  /** The held thumb's rim mirrors the page around the track: a colourful neighbour lights the rim that faces it, and the icon glows. */
31
33
  mirror?: boolean;
32
34
  disabled?: boolean;
35
+ /** On the slider itself, like `ref` and the other props. */
33
36
  className?: string;
34
37
  };
38
+ /**
39
+ * @deprecated Internal to Vitrum, not a public API. Leaves the public exports in 3.0.
40
+ * @internal
41
+ */
35
42
  export declare const SLIDE_SIZES: Record<GlassSlideSize, {
36
43
  trackHeight: number;
37
44
  thumbSize: number;
@@ -44,7 +51,15 @@ export declare const SLIDE_SIZES: Record<GlassSlideSize, {
44
51
  label: string;
45
52
  copy: string;
46
53
  }>;
54
+ /**
55
+ * @deprecated Internal to Vitrum, not a public API. Leaves the public exports in 3.0.
56
+ * @internal
57
+ */
47
58
  export declare const CHEVRON: readonly [9, 6, 15, 12, 9, 18];
59
+ /**
60
+ * @deprecated Internal to Vitrum, not a public API. Leaves the public exports in 3.0.
61
+ * @internal
62
+ */
48
63
  export declare const CHECK: readonly [4.5, 12.75, 10.5, 18.75, 19.5, 5.25];
49
- export declare function GlassSlideToConfirm({ children, onConfirm, onConfirmError, pendingLabel, successLabel, errorLabel, threshold, resetAfter, hint, icon, size, fillClassName, fill, mirror, disabled, className, }: GlassSlideToConfirmProps): import("react").JSX.Element;
64
+ export declare function GlassSlideToConfirm({ children, onConfirm, onConfirmError, pendingLabel, successLabel, errorLabel, threshold, resetAfter, hint, icon, size, fillClassName, fill, mirror, disabled, className, ref, "aria-label": ariaLabel, ...rest }: GlassSlideToConfirmProps): import("react").JSX.Element;
50
65
  export default GlassSlideToConfirm;
@@ -1,3 +1,3 @@
1
1
  "use client";
2
2
  /*! Vitrum © 2026 Onuzulike Anthony Ifechukwu. All rights reserved. Includes Liquid Glass UI © 2026 Bilal Abdullah Gürşen (MIT), see THIRD_PARTY_NOTICES.md */
3
- (function(_0x7b7c64,_0x511722){var _0x1e8992=_0x175d,_0x9cb944=_0x7b7c64();while(!![]){try{var _0x27f53c=parseInt(_0x1e8992(0x1b6))/0x1*(-parseInt(_0x1e8992(0x1ba))/0x2)+-parseInt(_0x1e8992(0x1bf))/0x3+parseInt(_0x1e8992(0x1b9))/0x4+parseInt(_0x1e8992(0x1bc))/0x5+-parseInt(_0x1e8992(0x1bd))/0x6*(-parseInt(_0x1e8992(0x1b8))/0x7)+parseInt(_0x1e8992(0x1be))/0x8*(parseInt(_0x1e8992(0x1c0))/0x9)+-parseInt(_0x1e8992(0x1bb))/0xa*(-parseInt(_0x1e8992(0x1b7))/0xb);if(_0x27f53c===_0x511722)break;else _0x9cb944['push'](_0x9cb944['shift']());}catch(_0x2654f0){_0x9cb944['push'](_0x9cb944['shift']());}}}(_0x6822,0x64287));function _0x6822(){var _0x1aa310=['208vtsAQT','1786785SWRnaX','233307ZWzjLv','444394rHiNfB','241505HRCJcy','144424UhiilA','580776JBOQMe','2pcYOBW','110tDlGYV','1844535KdPsSA','6jgJvsp'];_0x6822=function(){return _0x1aa310;};return _0x6822();}export{c as CHECK,b as CHEVRON,d as GlassSlideToConfirm,a as SLIDE_SIZES,e as default}from'./chunk-YZKUQ6ID.js';import'./chunk-NFXA7OZV.js';function _0x175d(_0x340f58,_0x3b1da3){_0x340f58=_0x340f58-0x1b6;var _0x6822c8=_0x6822();var _0x175dd9=_0x6822c8[_0x340f58];return _0x175dd9;}import'./chunk-ZCV4ENGP.js';
3
+ (function(_0x4d3201,_0x3d0ccf){var _0x447178=_0x42f0,_0x5eacd3=_0x4d3201();while(!![]){try{var _0x1805cc=parseInt(_0x447178(0x195))/0x1*(-parseInt(_0x447178(0x194))/0x2)+parseInt(_0x447178(0x199))/0x3*(-parseInt(_0x447178(0x196))/0x4)+-parseInt(_0x447178(0x19a))/0x5*(parseInt(_0x447178(0x192))/0x6)+-parseInt(_0x447178(0x18f))/0x7+parseInt(_0x447178(0x193))/0x8*(parseInt(_0x447178(0x197))/0x9)+-parseInt(_0x447178(0x190))/0xa+parseInt(_0x447178(0x198))/0xb*(parseInt(_0x447178(0x191))/0xc);if(_0x1805cc===_0x3d0ccf)break;else _0x5eacd3['push'](_0x5eacd3['shift']());}catch(_0x4f8b49){_0x5eacd3['push'](_0x5eacd3['shift']());}}}(_0x54a8,0x97aec));export{c as CHECK,b as CHEVRON,d as GlassSlideToConfirm,a as SLIDE_SIZES,e as default}from'./chunk-QNDTUM4A.js';function _0x42f0(_0x1160e8,_0x20078e){_0x1160e8=_0x1160e8-0x18f;var _0x54a841=_0x54a8();var _0x42f0ec=_0x54a841[_0x1160e8];return _0x42f0ec;}import'./chunk-TUMBPPSO.js';function _0x54a8(){var _0x25b75e=['215xPsbWk','5622043srERPq','8546780lTwJKk','444gmxXor','87486lpHrWW','168032TcnAGZ','116TnbAjs','8263cJbRBn','4dPFJtb','36PUcYyL','1186141razzQj','2065221ztZNku'];_0x54a8=function(){return _0x25b75e;};return _0x54a8();}import'./chunk-M56667YV.js';import'./chunk-EVRORS2V.js';
@@ -47,8 +47,16 @@ export type UseGlassResult<T extends HTMLElement = HTMLDivElement> = {
47
47
  /** `true` when the user has `prefers-reduced-motion: reduce` enabled (synced after hydration). */
48
48
  reduceMotion: boolean;
49
49
  };
50
+ /**
51
+ * @deprecated Internal to Vitrum, not a public API. Leaves the public exports in 3.0.
52
+ * @internal
53
+ */
50
54
  export declare const ELEVATION_SHADOWS: Record<GlassSurfaceElevation, string>;
51
- /** Normalizes a numeric or string corner radius into a CSS value. */
55
+ /**
56
+ * Normalizes a numeric or string corner radius into a CSS value.
57
+ * @deprecated Internal to Vitrum, not a public API. Leaves the public exports in 3.0.
58
+ * @internal
59
+ */
52
60
  export declare function resolveGlassRadius(radius: number | string | undefined): string | undefined;
53
61
  /**
54
62
  * Attaches Vitrum's real-time WebGL2 refractive glass, specular rim highlights, and optional
@@ -1,3 +1,3 @@
1
1
  "use client";
2
2
  /*! Vitrum © 2026 Onuzulike Anthony Ifechukwu. All rights reserved. Includes Liquid Glass UI © 2026 Bilal Abdullah Gürşen (MIT), see THIRD_PARTY_NOTICES.md */
3
- function _0x456a(){var _0x1c9e91=['756792xokqQy','321812gkgiYm','619195MCZgjV','6AUdqNf','402794Rcinnl','203306VBimXe','1274772DwuUNr','1beRbzw','9416693iriFQW','10tRLHqr','9XQkaKo'];_0x456a=function(){return _0x1c9e91;};return _0x456a();}(function(_0x26ae76,_0x57a806){var _0x2bd8f7=_0x1cee,_0x3ccd19=_0x26ae76();while(!![]){try{var _0x5777de=-parseInt(_0x2bd8f7(0x10e))/0x1*(parseInt(_0x2bd8f7(0x117))/0x2)+-parseInt(_0x2bd8f7(0x10d))/0x3+-parseInt(_0x2bd8f7(0x113))/0x4+parseInt(_0x2bd8f7(0x114))/0x5+-parseInt(_0x2bd8f7(0x115))/0x6*(-parseInt(_0x2bd8f7(0x116))/0x7)+-parseInt(_0x2bd8f7(0x112))/0x8*(parseInt(_0x2bd8f7(0x111))/0x9)+-parseInt(_0x2bd8f7(0x110))/0xa*(-parseInt(_0x2bd8f7(0x10f))/0xb);if(_0x5777de===_0x57a806)break;else _0x3ccd19['push'](_0x3ccd19['shift']());}catch(_0x435a37){_0x3ccd19['push'](_0x3ccd19['shift']());}}}(_0x456a,0x51fc7));function _0x1cee(_0x20daa1,_0x22726a){_0x20daa1=_0x20daa1-0x10d;var _0x456a1e=_0x456a();var _0x1ceeb1=_0x456a1e[_0x20daa1];return _0x1ceeb1;}export{a as ELEVATION_SHADOWS,d as GlassSurface,e as default,b as resolveGlassRadius,c as useGlass}from'./chunk-LEGYEZLT.js';import'./chunk-NFXA7OZV.js';import'./chunk-ZCV4ENGP.js';
3
+ (function(_0x13db6a,_0x1fac0f){var _0x46c621=_0x3e11,_0x55b8d3=_0x13db6a();while(!![]){try{var _0x1e2ab3=parseInt(_0x46c621(0x1d5))/0x1+-parseInt(_0x46c621(0x1d2))/0x2*(-parseInt(_0x46c621(0x1d3))/0x3)+-parseInt(_0x46c621(0x1d9))/0x4*(parseInt(_0x46c621(0x1d4))/0x5)+-parseInt(_0x46c621(0x1d8))/0x6+parseInt(_0x46c621(0x1d0))/0x7*(parseInt(_0x46c621(0x1d1))/0x8)+parseInt(_0x46c621(0x1d7))/0x9*(-parseInt(_0x46c621(0x1d6))/0xa)+parseInt(_0x46c621(0x1cf))/0xb;if(_0x1e2ab3===_0x1fac0f)break;else _0x55b8d3['push'](_0x55b8d3['shift']());}catch(_0x3157b7){_0x55b8d3['push'](_0x55b8d3['shift']());}}}(_0x4606,0xf040f));function _0x4606(){var _0x34318a=['32JFSYFS','206rbQjDj','43269FDnvhg','562025JcgPEB','351071tHQoum','10UpSZsx','16247403mOfeej','4601718rbqkdU','4XvqEEi','2485736TKekcQ','2810654PWEwsU'];_0x4606=function(){return _0x34318a;};return _0x4606();}export{a as ELEVATION_SHADOWS,d as GlassSurface,e as default,b as resolveGlassRadius,c as useGlass}from'./chunk-VZQYTEGC.js';function _0x3e11(_0x8935e0,_0x1d9d41){_0x8935e0=_0x8935e0-0x1cf;var _0x4606ac=_0x4606();var _0x3e1113=_0x4606ac[_0x8935e0];return _0x3e1113;}import'./chunk-M56667YV.js';import'./chunk-EVRORS2V.js';