@vitrumui/react 1.0.0 → 2.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 (60) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +5 -1
  3. package/THIRD_PARTY_NOTICES.md +56 -0
  4. package/dist/chunk-3FVJ6IEM.js +2 -0
  5. package/dist/chunk-5QIW5GHV.js +2 -0
  6. package/dist/chunk-5SBAJLEI.js +2 -0
  7. package/dist/chunk-AOEWAIGE.js +2 -0
  8. package/dist/chunk-BHVG3AD3.js +2 -0
  9. package/dist/chunk-FVKDZFPR.js +2 -0
  10. package/dist/chunk-IHAKQPCJ.js +2 -0
  11. package/dist/chunk-OXVTAI36.js +2 -0
  12. package/dist/chunk-QZRTCDJH.js +2 -0
  13. package/dist/chunk-RDUUCXZF.js +2 -0
  14. package/dist/chunk-Y7JTQQBA.js +2 -0
  15. package/dist/chunk-YOENTAPC.js +2 -0
  16. package/dist/chunk-YPSGSD6W.js +2 -0
  17. package/dist/chunk-ZCV4ENGP.js +2 -0
  18. package/dist/controls/Checkbox.js +1 -1
  19. package/dist/controls/RangeSlider.js +1 -1
  20. package/dist/controls/Switch.js +1 -1
  21. package/dist/glass-action-button.d.ts +3 -1
  22. package/dist/glass-action-button.js +1 -1
  23. package/dist/glass-badge.js +1 -1
  24. package/dist/glass-button-group.js +1 -1
  25. package/dist/glass-button.d.ts +3 -1
  26. package/dist/glass-button.js +1 -1
  27. package/dist/glass-card.d.ts +2 -2
  28. package/dist/glass-card.js +1 -1
  29. package/dist/glass-dropdown-menu.d.ts +15 -3
  30. package/dist/glass-dropdown-menu.js +1 -1
  31. package/dist/glass-layer.d.ts +17 -2
  32. package/dist/glass-menu.d.ts +86 -0
  33. package/dist/glass-menu.js +3 -0
  34. package/dist/glass-popover.d.ts +49 -0
  35. package/dist/glass-popover.js +3 -0
  36. package/dist/glass-popup.d.ts +43 -3
  37. package/dist/glass-select.js +1 -1
  38. package/dist/glass-slide-to-confirm.d.ts +19 -1
  39. package/dist/glass-slide-to-confirm.js +1 -1
  40. package/dist/glass-surface.d.ts +71 -0
  41. package/dist/glass-surface.js +3 -0
  42. package/dist/glass-tabs.js +1 -1
  43. package/dist/index.d.ts +5 -1
  44. package/dist/index.js +1 -1
  45. package/dist/runtime-SFKGJUVX.js +2 -0
  46. package/dist/styles.css +1 -1
  47. package/dist/theme.d.ts +115 -0
  48. package/dist/theme.js +3 -0
  49. package/package.json +20 -3
  50. package/dist/chunk-3PB7SR7K.js +0 -2
  51. package/dist/chunk-5FQVPDYS.js +0 -2
  52. package/dist/chunk-7P4WUQQK.js +0 -2
  53. package/dist/chunk-NIACCP5E.js +0 -2
  54. package/dist/chunk-NIB24TKN.js +0 -2
  55. package/dist/chunk-NRK2HJTE.js +0 -2
  56. package/dist/chunk-QM4IN3YJ.js +0 -2
  57. package/dist/chunk-RNHRKD6Z.js +0 -2
  58. package/dist/chunk-SQYCOYYN.js +0 -2
  59. package/dist/chunk-U3CZMSFP.js +0 -2
  60. package/dist/runtime-2U4MAR2W.js +0 -2
@@ -1,6 +1,18 @@
1
1
  import { MenuContent, MenuItem, MenuTrigger, type MenuProps } from "@ui-sdk/react/menu";
2
2
  import { type CSSProperties, type ComponentProps, type ReactNode } from "react";
3
- export type GlassDropdownMenuProps = MenuProps;
3
+ export type GlassDropdownMenuProps = MenuProps & {
4
+ /**
5
+ * The control itself unfolds into the menu (Popover's opening). `center`: the menu lies around
6
+ * it. `edge`: from the control's own edge, growing away from it. Left out, the list swells out
7
+ * of the control on a neck.
8
+ */
9
+ over?: "center" | "edge";
10
+ /**
11
+ * With `over`: which way the menu comes into place. `top` (default): the control is thrown down
12
+ * and the menu comes down from above. `bottom`: the other way up.
13
+ */
14
+ from?: "top" | "bottom";
15
+ };
4
16
  export type GlassDropdownMenuTriggerProps = {
5
17
  children?: ReactNode;
6
18
  /** Put the trigger on the single child element (a GlassButtonGroupItem) instead of a glass button of its own. */
@@ -14,10 +26,10 @@ export type GlassDropdownMenuContentProps = {
14
26
  export type GlassDropdownMenuItemProps = {
15
27
  className?: string;
16
28
  } & Omit<ComponentProps<typeof MenuItem>, "className" | "render">;
17
- export declare function GlassDropdownMenu({ children, ...options }: GlassDropdownMenuProps): import("react").JSX.Element;
29
+ export declare function GlassDropdownMenu({ children, over, from, ...options }: GlassDropdownMenuProps): import("react").JSX.Element;
18
30
  /** The control that opens the menu: a glass button of its own, or with `asChild` your own element inside a GlassButtonGroup. */
19
31
  export declare function GlassDropdownMenuTrigger({ children, asChild, className, ...rest }: GlassDropdownMenuTriggerProps): import("react").JSX.Element;
20
- /** The list, centred on its control unless `align` says otherwise. Its children are items and separators; they arrive one after another. */
32
+ /** The list, centred on its control unless `align` says otherwise. Its children are items and separators; they arrive one after another (with `over`, together). */
21
33
  export declare function GlassDropdownMenuContent({ children, className, sideOffset, align, ...rest }: GlassDropdownMenuContentProps): import("react").JSX.Element;
22
34
  /** An action. Pressing it runs `onSelect` and closes the menu. `destructive` paints it red. */
23
35
  export declare function GlassDropdownMenuItem({ className, ...rest }: GlassDropdownMenuItemProps): import("react").JSX.Element;
@@ -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 _0x34c6d4=_0x3d23;(function(_0x5e0e28,_0x589338){const _0x2cc88b=_0x3d23,_0xd34561=_0x5e0e28();while(!![]){try{const _0x545c71=-parseInt(_0x2cc88b(0x1cf))/0x1*(-parseInt(_0x2cc88b(0x1d1))/0x2)+parseInt(_0x2cc88b(0x1d2))/0x3*(-parseInt(_0x2cc88b(0x1d5))/0x4)+parseInt(_0x2cc88b(0x1c8))/0x5+parseInt(_0x2cc88b(0x1cd))/0x6+parseInt(_0x2cc88b(0x1d6))/0x7*(-parseInt(_0x2cc88b(0x1d0))/0x8)+-parseInt(_0x2cc88b(0x1d9))/0x9*(-parseInt(_0x2cc88b(0x1d8))/0xa)+-parseInt(_0x2cc88b(0x1c9))/0xb*(-parseInt(_0x2cc88b(0x1ce))/0xc);if(_0x545c71===_0x589338)break;else _0xd34561['push'](_0xd34561['shift']());}catch(_0x15b823){_0xd34561['push'](_0xd34561['shift']());}}}(_0x793d,0x95536));function _0x793d(){const _0x847f0=['187KJfRbo','div','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','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','1415202SnUWfA','118764nSSUrq','165810azvXhm','10072xvLxFl','2DViiMu','2778JJtkHM','concat','center','1160dVyauR','3311TYfOas','style','237410OGHJTe','243KVAwPn','mx-3.5\x20my-1\x20h-px\x20shrink-0\x20bg-current/15\x20','only','1323760pJQhOx'];_0x793d=function(){return _0x847f0;};return _0x793d();}import{d,a,c,b}from'./chunk-3PB7SR7K.js';import'./chunk-QM4IN3YJ.js';import{Menu,MenuTrigger,MenuContent,MenuItem,MenuSeparator}from'@ui-sdk/react/menu';import{useContext,Children,isValidElement,cloneElement}from'react';function _0x3d23(_0x5217e0,_0x2ecd43){_0x5217e0=_0x5217e0-0x1c6;const _0x793ded=_0x793d();let _0x3d2365=_0x793ded[_0x5217e0];return _0x3d2365;}import{jsx,jsxs}from'react/jsx-runtime';function C({children:_0x33fffe,..._0x57190d}){let _0x531a65=d();return jsx(Menu,{..._0x57190d,'children':jsx(a['Provider'],{'value':_0x531a65,'children':_0x33fffe})});}function D({children:_0x3bf3d8,asChild:_0x4404d9=![],className:_0x1d4a26='',..._0x100712}){const _0x22e09a=_0x3d23;let _0x48e114=useContext(a);return _0x4404d9||!_0x48e114?jsx(MenuTrigger,{'render':Children[_0x22e09a(0x1c7)](_0x3bf3d8),..._0x100712}):jsxs(MenuTrigger,{'data-vt-host':'','className':'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'['concat'](_0x1d4a26),..._0x100712,'children':[jsx(c,{'popup':_0x48e114}),jsx('span',{'className':'inline-flex\x20items-center\x20gap-[inherit]','children':_0x3bf3d8})]});}function k({children:_0x44c30e,className:_0x298e0a='',sideOffset:_0x1747ad=0xc,align:_0xdb5318=_0x34c6d4(0x1d4),..._0x193246}){const _0x2e98ab=_0x34c6d4;let _0x42f6fd=useContext(a);return jsxs(MenuContent,{'data-vt-popup':'','data-vt-skip':'','sideOffset':_0x1747ad,'align':_0xdb5318,'className':_0x2e98ab(0x1cb)['concat'](_0x298e0a),..._0x193246,'children':[_0x42f6fd&&jsx(b,{'popup':_0x42f6fd}),jsx(_0x2e98ab(0x1ca),{'data-vt-list':'','className':'flex\x20flex-col','children':Children['toArray'](_0x44c30e)['map']((_0x17fe2f,_0x4c0d39)=>isValidElement(_0x17fe2f)?cloneElement(_0x17fe2f,{'style':{'--vt-i':_0x4c0d39,..._0x17fe2f['props'][_0x2e98ab(0x1d7)]}}):_0x17fe2f)})]});}function S({className:_0x40d089='',..._0x563f33}){const _0x423d47=_0x34c6d4;return jsx(MenuItem,{'className':_0x423d47(0x1cc)[_0x423d47(0x1d3)](_0x40d089),..._0x563f33});}function T({className:_0x4b8ad7='',style:_0x7afb9}){const _0x56dea5=_0x34c6d4;return jsx(MenuSeparator,{'data-vt-item':'','style':_0x7afb9,'className':_0x56dea5(0x1c6)[_0x56dea5(0x1d3)](_0x4b8ad7)});}var I=C;export{C as GlassDropdownMenu,k as GlassDropdownMenuContent,S as GlassDropdownMenuItem,T as GlassDropdownMenuSeparator,D as GlassDropdownMenuTrigger,I as default};
3
+ (function(_0x390a49,_0x93733){const _0x1a3f4f=_0x4bf1,_0x34a509=_0x390a49();while(!![]){try{const _0x996211=parseInt(_0x1a3f4f(0x87))/0x1*(-parseInt(_0x1a3f4f(0x81))/0x2)+-parseInt(_0x1a3f4f(0x76))/0x3+parseInt(_0x1a3f4f(0x80))/0x4*(-parseInt(_0x1a3f4f(0x82))/0x5)+-parseInt(_0x1a3f4f(0x7a))/0x6*(-parseInt(_0x1a3f4f(0x7d))/0x7)+parseInt(_0x1a3f4f(0x7c))/0x8+parseInt(_0x1a3f4f(0x83))/0x9*(parseInt(_0x1a3f4f(0x7f))/0xa)+-parseInt(_0x1a3f4f(0x7e))/0xb;if(_0x996211===_0x93733)break;else _0x34a509['push'](_0x34a509['shift']());}catch(_0x32ec2e){_0x34a509['push'](_0x34a509['shift']());}}}(_0x4232,0x8fb98));import{h,c,e,g,a,b,d as _0x4e0d3d}from'./chunk-YOENTAPC.js';import'./chunk-QZRTCDJH.js';import'./chunk-ZCV4ENGP.js';import{Menu,MenuTrigger,MenuContent,MenuItem,MenuSeparator}from'@ui-sdk/react/menu';import{createContext,useContext,Children,isValidElement,cloneElement}from'react';function _0x4232(){const _0x17a44a=['concat','86235CPMIgI','toArray','3143238SKFEWF','center','Provider','bottom','6364458dPQcnb','flex\x20flex-col','5819352trcDdk','7VrRoID','2055086NXqJLJ','588680EOrRlD','156thzTRB','2XQDzKc','7085EMjtqM','27POlRga','props','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'];_0x4232=function(){return _0x17a44a;};return _0x4232();}import{jsx,jsxs}from'react/jsx-runtime';var d=createContext(void 0x0);function E({children:_0x1a5a28,over:_0x562e4b,from:_0x811946='top',..._0x2af5b9}){const _0x230468=_0x4bf1;let _0xc42381=h({'opening':_0x562e4b?'morph':'stretch','from':_0x811946});return jsx(Menu,{..._0x2af5b9,'children':jsx(d[_0x230468(0x78)],{'value':_0x562e4b,'children':jsx(c['Provider'],{'value':_0xc42381,'children':_0x1a5a28})})});}function _({children:_0x5ae15d,asChild:_0x23ff21=![],className:_0x3b2997='',..._0x454861}){let _0x5407b9=useContext(c),_0x5e79d3=useContext(d);return _0x23ff21||!_0x5407b9?jsx(MenuTrigger,{'render':Children['only'](_0x5ae15d),..._0x454861}):jsxs(MenuTrigger,{'data-vt-host':'','className':'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'['concat'](_0x3b2997),..._0x454861,'children':[jsx(e,{'popup':_0x5407b9}),jsx('span',{'className':'inline-flex\x20items-center\x20gap-[inherit]','children':_0x5e79d3?g(_0x5ae15d):_0x5ae15d})]});}function I({children:_0x28a5cd,className:_0x1d0119='',sideOffset:_0xc99d88,align:_0x126a4e='center',..._0x312006}){const _0x3e3666=_0x4bf1;let _0x374fb6=useContext(c),_0x2d6a7a=useContext(d),_0x43f173=_0x2d6a7a===_0x3e3666(0x77);return jsxs(MenuContent,{'data-vt-popup':'','data-vt-skip':'','sideOffset':_0xc99d88??(_0x2d6a7a?0x0:0xc),'align':_0x126a4e,'className':_0x3e3666(0x85)[_0x3e3666(0x86)](_0x2d6a7a&&_0xc99d88===void 0x0?_0x43f173?a:b:'','\x20')['concat'](_0x1d0119),..._0x312006,..._0x43f173?{'side':_0x3e3666(0x79)}:null,'children':[_0x374fb6&&jsx(_0x4e0d3d,{'popup':_0x374fb6}),jsx('div',{'data-vt-list':'','className':_0x3e3666(0x7b),'children':Children[_0x3e3666(0x88)](_0x28a5cd)['map']((_0xf3c30d,_0x5a3d92)=>isValidElement(_0xf3c30d)?cloneElement(_0xf3c30d,{'style':{'--vt-i':_0x5a3d92,..._0xf3c30d[_0x3e3666(0x84)]['style']}}):_0xf3c30d)})]});}function $({className:_0xca7fed='',..._0x1cd31e}){const _0xa9e82d=_0x4bf1;return jsx(MenuItem,{'className':'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'[_0xa9e82d(0x86)](_0xca7fed),..._0x1cd31e});}function V({className:_0x3947ac='',style:_0x4d169e}){const _0x23eabf=_0x4bf1;return jsx(MenuSeparator,{'data-vt-item':'','style':_0x4d169e,'className':'mx-3.5\x20my-1\x20h-px\x20shrink-0\x20bg-current/15\x20'[_0x23eabf(0x86)](_0x3947ac)});}var z=E;function _0x4bf1(_0x35ffe2,_0x2831f8){_0x35ffe2=_0x35ffe2-0x76;const _0x4232d0=_0x4232();let _0x4bf1a8=_0x4232d0[_0x35ffe2];return _0x4bf1a8;}export{E as GlassDropdownMenu,I as GlassDropdownMenuContent,$ as GlassDropdownMenuItem,V as GlassDropdownMenuSeparator,_ as GlassDropdownMenuTrigger,z as default};
@@ -48,6 +48,8 @@ export type GlassOptics = {
48
48
  inner?: number;
49
49
  reflection?: number;
50
50
  caustic?: number;
51
+ /** Clear glass: × what the rim mirrors of the page around it (default 1, 0 = nothing). Tinted glass mirrors nothing. */
52
+ mirror?: number;
51
53
  /** The rim light leans towards the cursor (default true). */
52
54
  cursorLight?: boolean;
53
55
  /** The drop shadow: × its strength, softness and offset (each default 1). */
@@ -86,12 +88,25 @@ export type GlassLayerProps = {
86
88
  disabled?: boolean;
87
89
  /** Swell on hover and grow when pressed (default). `false` keeps the glass still under the pointer. */
88
90
  swell?: boolean;
91
+ /**
92
+ * Change it (a counter) and the glass answers once: it swells as if hovered and pressed for a
93
+ * moment. Meanwhile the host has `--vt-bend`, for content that stretches with it
94
+ * (`scale: var(--vt-bend, 1)`). Nothing happens on mount, or under reduced motion.
95
+ */
96
+ pulse?: unknown;
97
+ /** How long a pulse stays swollen before it lets go, in seconds (default 0.16: a nod). */
98
+ pulseHold?: number;
99
+ /**
100
+ * Hold the glass and drag: it follows the pointer a little way through a rubber band, stretches
101
+ * along the pull and thins across it, and swings back like gel when let go. Default `true`.
102
+ */
103
+ pull?: boolean;
89
104
  /** Fine-tuning: tint colour, a rim line, frost mix, bend, light and shadow (see GlassOptics). */
90
105
  optics?: GlassOptics;
91
106
  };
92
107
  /** The CSS the glass relies on. Rendered once per page by <GlassStyles /> (React 19 dedupes it). */
93
- 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@media (prefers-reduced-motion:reduce){[data-vt-marquee],[data-vt-in],[data-vt-draw],[data-vt-spin]{animation:none}}\n";
108
+ 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";
94
109
  /** Injects GLASS_CSS once (React 19 hoists and dedupes `<style href precedence>`). */
95
110
  export declare function GlassStyles(): import("react").JSX.Element;
96
- export declare function GlassLayer({ material, droplet, tint, blur, backdrop, live, trigger, disabled, swell, optics, }: GlassLayerProps): import("react").JSX.Element;
111
+ export declare function GlassLayer({ material, droplet, tint, blur, backdrop, live, trigger, disabled, swell, pulse, pulseHold, pull, optics, }: GlassLayerProps): import("react").JSX.Element;
97
112
  export default GlassLayer;
@@ -0,0 +1,86 @@
1
+ import { MenuCheckboxItem, MenuContent, MenuGroup, MenuGroupLabel, MenuItem, MenuRadioGroup, MenuRadioItem, MenuShortcut, MenuSubContent, MenuSubTrigger, MenuTrigger, type MenuProps, type MenuSubProps } from "@ui-sdk/react/menu";
2
+ import { type ComponentProps, type ReactNode } from "react";
3
+ export type GlassMenuSide = "top" | "right" | "bottom" | "left";
4
+ export type GlassMenuAlign = "start" | "center" | "end";
5
+ export type GlassMenuProps = MenuProps;
6
+ export type GlassMenuSubProps = MenuSubProps;
7
+ export type GlassMenuTriggerProps = {
8
+ children?: ReactNode;
9
+ /** Render the trigger on the single child element: a GlassButtonGroupItem, whose group's glass then grows into the menu. */
10
+ asChild?: boolean;
11
+ className?: string;
12
+ } & Omit<ComponentProps<typeof MenuTrigger>, "children" | "className" | "render">;
13
+ export type GlassMenuContentProps = {
14
+ children?: ReactNode;
15
+ className?: string;
16
+ } & Omit<ComponentProps<typeof MenuContent>, "children" | "className" | "render">;
17
+ export type GlassMenuSubContentProps = {
18
+ children?: ReactNode;
19
+ className?: string;
20
+ } & Omit<ComponentProps<typeof MenuSubContent>, "children" | "className" | "render">;
21
+ export type GlassMenuItemProps = {
22
+ children?: ReactNode;
23
+ /** Optional leading icon rendered before the label. */
24
+ icon?: ReactNode;
25
+ /** Optional trailing keyboard shortcut badge (e.g. "⌘E"). */
26
+ shortcut?: ReactNode;
27
+ className?: string;
28
+ } & Omit<ComponentProps<typeof MenuItem>, "children" | "className" | "render">;
29
+ export type GlassMenuCheckboxItemProps = {
30
+ children?: ReactNode;
31
+ className?: string;
32
+ } & Omit<ComponentProps<typeof MenuCheckboxItem>, "children" | "className" | "render">;
33
+ export type GlassMenuRadioGroupProps = {
34
+ className?: string;
35
+ } & Omit<ComponentProps<typeof MenuRadioGroup>, "className" | "render">;
36
+ export type GlassMenuRadioItemProps = {
37
+ children?: ReactNode;
38
+ className?: string;
39
+ } & Omit<ComponentProps<typeof MenuRadioItem>, "children" | "className" | "render">;
40
+ export type GlassMenuGroupProps = {
41
+ className?: string;
42
+ } & Omit<ComponentProps<typeof MenuGroup>, "className" | "render">;
43
+ export type GlassMenuLabelProps = {
44
+ className?: string;
45
+ } & Omit<ComponentProps<typeof MenuGroupLabel>, "className" | "render">;
46
+ export type GlassMenuShortcutProps = {
47
+ className?: string;
48
+ } & Omit<ComponentProps<typeof MenuShortcut>, "className" | "render">;
49
+ export type GlassMenuSeparatorProps = {
50
+ className?: string;
51
+ };
52
+ export type GlassMenuSubTriggerProps = {
53
+ children?: ReactNode;
54
+ className?: string;
55
+ } & Omit<ComponentProps<typeof MenuSubTrigger>, "children" | "className" | "render">;
56
+ export declare function GlassMenu({ children, ...options }: GlassMenuProps): import("react").JSX.Element;
57
+ /**
58
+ * The button whose glass becomes the menu. Round it for a single icon (`className="w-12 px-0"`, with an `aria-label`).
59
+ * With `asChild`, an item of a GlassButtonGroup inside the GlassMenu: the group's glass is the one that grows.
60
+ */
61
+ export declare function GlassMenuTrigger({ children, asChild, className, ...rest }: GlassMenuTriggerProps): import("react").JSX.Element;
62
+ /** The menu. `side` (default `bottom`) and `align` (default `start`) say where it lies against its button; it flips when there is no room. */
63
+ export declare function GlassMenuContent({ children, className, side, align, sideOffset, ...rest }: GlassMenuContentProps): import("react").JSX.Element;
64
+ /** An action. Pressing it runs `onSelect` and closes the menu. `destructive` paints it red. */
65
+ export declare function GlassMenuItem({ children, icon, shortcut, className, ...rest }: GlassMenuItemProps): import("react").JSX.Element;
66
+ /** An option that is on or off: `checked` / `defaultChecked` / `onCheckedChange`. The menu stays open unless `closeOnSelect`. */
67
+ export declare function GlassMenuCheckboxItem({ children, className, ...rest }: GlassMenuCheckboxItemProps): import("react").JSX.Element;
68
+ /** Radio items that share one value: `value` / `defaultValue` / `onValueChange`. */
69
+ export declare function GlassMenuRadioGroup({ className, ...rest }: GlassMenuRadioGroupProps): import("react").JSX.Element;
70
+ /** One choice in a GlassMenuRadioGroup. */
71
+ export declare function GlassMenuRadioItem({ children, className, ...rest }: GlassMenuRadioItemProps): import("react").JSX.Element;
72
+ /** Items that belong together, named by a GlassMenuLabel inside. */
73
+ export declare function GlassMenuGroup({ className, ...rest }: GlassMenuGroupProps): import("react").JSX.Element;
74
+ /** The quiet heading of a group. */
75
+ export declare function GlassMenuLabel({ className, ...rest }: GlassMenuLabelProps): import("react").JSX.Element;
76
+ /** The keys of an item's shortcut, at its end: `⌘S`. */
77
+ export declare function GlassMenuShortcut({ className, ...rest }: GlassMenuShortcutProps): import("react").JSX.Element;
78
+ /** A hairline between items. */
79
+ export declare function GlassMenuSeparator({ className, }: GlassMenuSeparatorProps): import("react").JSX.Element;
80
+ /** A submenu: a GlassMenuSubTrigger and a GlassMenuSubContent, inside a menu's content. */
81
+ export declare function GlassMenuSub(props: GlassMenuSubProps): import("react").JSX.Element;
82
+ /** The row that opens its submenu, on hover, a press or the arrow key. */
83
+ export declare function GlassMenuSubTrigger({ children, className, ...rest }: GlassMenuSubTriggerProps): import("react").JSX.Element;
84
+ /** The submenu: a card of the same glass beside its row. It fades in where it lies, and out again. */
85
+ export declare function GlassMenuSubContent({ children, className, sideOffset, alignOffset, ...rest }: GlassMenuSubContentProps): import("react").JSX.Element;
86
+ export default GlassMenu;
@@ -0,0 +1,3 @@
1
+ "use client";
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(_0xcca45d,_0x5d2bdf){var _0x43f3c5=_0xe2f1,_0x36bedb=_0xcca45d();while(!![]){try{var _0x1e0b6e=parseInt(_0x43f3c5(0x127))/0x1+parseInt(_0x43f3c5(0x12a))/0x2*(-parseInt(_0x43f3c5(0x122))/0x3)+-parseInt(_0x43f3c5(0x121))/0x4+-parseInt(_0x43f3c5(0x124))/0x5+parseInt(_0x43f3c5(0x128))/0x6+parseInt(_0x43f3c5(0x126))/0x7*(-parseInt(_0x43f3c5(0x129))/0x8)+parseInt(_0x43f3c5(0x125))/0x9*(parseInt(_0x43f3c5(0x123))/0xa);if(_0x1e0b6e===_0x5d2bdf)break;else _0x36bedb['push'](_0x36bedb['shift']());}catch(_0x98888a){_0x36bedb['push'](_0x36bedb['shift']());}}}(_0x328b,0xa7897));function _0x328b(){var _0x47a857=['6392225zpkuWQ','9Kghhmz','28VGQXdN','407827zRwurH','3409794TplnQA','1542664HcORrI','2195512XfUCJv','5132984xXSsCM','3faOrIA','41408840iDqgtN'];_0x328b=function(){return _0x47a857;};return _0x328b();}function _0xe2f1(_0x1bf33c,_0x41a69c){_0x1bf33c=_0x1bf33c-0x121;var _0x328be9=_0x328b();var _0xe2f1c1=_0x328be9[_0x1bf33c];return _0xe2f1c1;}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-OXVTAI36.js';import'./chunk-5QIW5GHV.js';import'./chunk-YOENTAPC.js';import'./chunk-QZRTCDJH.js';import'./chunk-ZCV4ENGP.js';
@@ -0,0 +1,49 @@
1
+ import { PopoverClose, PopoverContent, PopoverDescription, PopoverTitle, PopoverTrigger, type PopoverProps } from "@ui-sdk/react/popover";
2
+ import { type ComponentProps, type ReactNode } from "react";
3
+ export type GlassPopoverProps = PopoverProps & {
4
+ /**
5
+ * Which way the popover comes into place. `bottom` (default): the button is thrown up and the
6
+ * popover comes up from below. `top`: the button is thrown down and it comes down from above.
7
+ */
8
+ from?: "top" | "bottom";
9
+ };
10
+ export type GlassPopoverTriggerProps = {
11
+ children?: ReactNode;
12
+ /** Put the trigger on the single child element instead of rendering a glass button of its own. */
13
+ asChild?: boolean;
14
+ className?: string;
15
+ } & Omit<ComponentProps<typeof PopoverTrigger>, "children" | "className" | "render">;
16
+ export type GlassPopoverContentProps = {
17
+ children?: ReactNode;
18
+ className?: string;
19
+ /**
20
+ * Where the popover lies over its button. `center` (default): around it, the button in its
21
+ * middle. `edge`: from the button's own edge, growing away from it (see `side`).
22
+ */
23
+ over?: "center" | "edge";
24
+ /** With `over="edge"`: which way the popover grows from its button, down (`bottom`) or up (`top`). It flips when there is no room. */
25
+ side?: "top" | "bottom";
26
+ } & Omit<ComponentProps<typeof PopoverContent>, "children" | "className" | "render" | "side" | "inline">;
27
+ export type GlassPopoverTitleProps = {
28
+ className?: string;
29
+ } & Omit<ComponentProps<typeof PopoverTitle>, "className" | "render">;
30
+ export type GlassPopoverDescriptionProps = {
31
+ className?: string;
32
+ } & Omit<ComponentProps<typeof PopoverDescription>, "className" | "render">;
33
+ export type GlassPopoverCloseProps = {
34
+ /** `quiet`: a soft button in the popover's own tone. `solid`: the main action. */
35
+ variant?: "quiet" | "solid";
36
+ className?: string;
37
+ } & Omit<ComponentProps<typeof PopoverClose>, "className" | "render">;
38
+ export declare function GlassPopover({ children, from, ...options }: GlassPopoverProps): import("react").JSX.Element;
39
+ /** The button that unfolds into the popover: Select's button, in Button's glass with its light and shadow. */
40
+ export declare function GlassPopoverTrigger({ children, asChild, className, ...rest }: GlassPopoverTriggerProps): import("react").JSX.Element;
41
+ /** The popover, around its button (`over="edge"`: from its edge) and centred on it unless `align` says otherwise. Its children are yours. Pass `sideOffset` to place it yourself. */
42
+ export declare function GlassPopoverContent({ children, className, over, side, align, sideOffset, ...rest }: GlassPopoverContentProps): import("react").JSX.Element;
43
+ /** Names the popover (an `h2`). */
44
+ export declare function GlassPopoverTitle({ className, ...rest }: GlassPopoverTitleProps): import("react").JSX.Element;
45
+ /** Says what the popover is for (a `p`). */
46
+ export declare function GlassPopoverDescription({ className, ...rest }: GlassPopoverDescriptionProps): import("react").JSX.Element;
47
+ /** A button that closes the popover; `onClick` runs as it does. */
48
+ export declare function GlassPopoverClose({ variant, className, ...rest }: GlassPopoverCloseProps): import("react").JSX.Element;
49
+ export default GlassPopover;
@@ -0,0 +1,3 @@
1
+ "use client";
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(_0x407eeb,_0x36731c){var _0x228eb8=_0x1b8e,_0x12f95f=_0x407eeb();while(!![]){try{var _0x213196=parseInt(_0x228eb8(0x69))/0x1+parseInt(_0x228eb8(0x6a))/0x2+parseInt(_0x228eb8(0x68))/0x3+parseInt(_0x228eb8(0x6c))/0x4*(-parseInt(_0x228eb8(0x6d))/0x5)+-parseInt(_0x228eb8(0x6b))/0x6*(-parseInt(_0x228eb8(0x67))/0x7)+parseInt(_0x228eb8(0x66))/0x8+-parseInt(_0x228eb8(0x65))/0x9;if(_0x213196===_0x36731c)break;else _0x12f95f['push'](_0x12f95f['shift']());}catch(_0x527232){_0x12f95f['push'](_0x12f95f['shift']());}}}(_0x563f,0xdc556));export{a as GlassPopover,f as GlassPopoverClose,c as GlassPopoverContent,e as GlassPopoverDescription,d as GlassPopoverTitle,b as GlassPopoverTrigger,g as default}from'./chunk-YPSGSD6W.js';import'./chunk-YOENTAPC.js';function _0x1b8e(_0x141b8a,_0x53785b){_0x141b8a=_0x141b8a-0x65;var _0x563fee=_0x563f();var _0x1b8ebf=_0x563fee[_0x141b8a];return _0x1b8ebf;}function _0x563f(){var _0x1c04fb=['98685HsZUVw','23202873JvEmpS','12416720uHrITV','11424kbZgcS','2370183oAgUVf','568625kmNFGN','84934HRUdyL','3390eFJwdF','80nxXzew'];_0x563f=function(){return _0x1c04fb;};return _0x563f();}import'./chunk-QZRTCDJH.js';import'./chunk-ZCV4ENGP.js';
@@ -1,13 +1,39 @@
1
+ import { type ReactNode } from 'react';
1
2
  /** The shared physics and shape of one popup: the anchor's canvas and the surface's both draw it. */
2
- declare function createMorph(matchWidth: boolean): {
3
+ declare function createMorph(matchWidth: boolean, opening: GlassPopupOpening, from: GlassPopupFrom): {
3
4
  setTrigger: (canvas: HTMLCanvasElement | null) => () => void;
4
5
  setPanel: (canvas: HTMLCanvasElement | null, hold: HTMLElement | null, cardShadow: HTMLElement | null) => () => void;
5
6
  };
6
7
  export type GlassPopup = ReturnType<typeof createMorph>;
8
+ /**
9
+ * How the surface comes out. `stretch`: it swells out of the control and holds on by a neck that
10
+ * thins and snaps. `morph`: the control itself becomes the surface, which then lies over it (give
11
+ * the content a negative `sideOffset`, the control's height). `grow`: the control's glass grows
12
+ * into the surface wherever it lies (below, above or beside the control) and shrinks back.
13
+ */
14
+ export type GlassPopupMode = 'detach' | 'unfold' | 'pour';
15
+ export type GlassPopupOpening = 'stretch' | 'morph' | 'grow';
16
+ /**
17
+ * With `opening: 'morph'`, which way the surface comes into place. `top`: the control is thrown
18
+ * down and the surface comes down from above. `bottom`: the other way up.
19
+ */
20
+ export type GlassPopupFrom = 'top' | 'bottom';
21
+ /**
22
+ * Classes that centre a popup over its control, whatever the control's height: UI SDK keeps that
23
+ * height on the content (`--anchor-height`), so it is pulled back by half of it and then by half
24
+ * of its own height. Always with a transform: UI SDK places the box as if it had none, while a
25
+ * margin it would take for its own error and undo the moment the control moves (a hover's swell).
26
+ */
27
+ 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))]";
7
28
  /**
8
29
  * The popup a control inside may anchor: GlassDropdownMenu provides it, and a GlassButtonGroup
9
30
  * under it becomes the anchor, so the menu swells out of the whole group.
10
31
  */
32
+ /**
33
+ * And classes that lay a popup edge on edge with its control, growing away from it: pulled back
34
+ * by the control's whole height, from whichever side it landed on.
35
+ */
36
+ export declare const OVER_EDGE = "data-[side=bottom]:[transform:translateY(calc(var(--anchor-height)*-1))] data-[side=top]:[transform:translateY(var(--anchor-height))]";
11
37
  export declare const GlassPopupContext: import("react").Context<{
12
38
  setTrigger: (canvas: HTMLCanvasElement | null) => () => void;
13
39
  setPanel: (canvas: HTMLCanvasElement | null, hold: HTMLElement | null, cardShadow: HTMLElement | null) => () => void;
@@ -20,8 +46,22 @@ export declare function GlassPopupSurface({ popup: morph }: {
20
46
  export declare function GlassPopupAnchor({ popup }: {
21
47
  popup: GlassPopup;
22
48
  }): import("react").JSX.Element;
23
- /** One gooey popup: hand the result to its GlassPopupAnchor and GlassPopupSurface. `matchWidth` keeps the surface as wide as the anchor. */
24
- export declare function useGlassPopup({ matchWidth, }?: {
49
+ /**
50
+ * The label of a morphing control, coming back letter by letter the moment the surface is back in,
51
+ * with the control's swell. `delay` (seconds) starts it that much later. Read aloud as one string.
52
+ */
53
+ export declare function GlassPopupText({ children, delay, className }: {
54
+ children: string;
55
+ delay?: number;
56
+ className?: string;
57
+ }): import("react").JSX.Element;
58
+ /** A control's children, each plain text among them in GlassPopupText: its label comes back letter by letter. */
59
+ 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
+ /** 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
+ export declare function useGlassPopup({ matchWidth, mode, opening, from, }?: {
25
62
  matchWidth?: boolean;
63
+ mode?: GlassPopupMode;
64
+ opening?: GlassPopupOpening;
65
+ from?: GlassPopupFrom;
26
66
  }): GlassPopup;
27
67
  export {};
@@ -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(_0x207bff,_0x4aba3d){const _0x33b05a=_0x371e,_0x40f8af=_0x207bff();while(!![]){try{const _0x366349=-parseInt(_0x33b05a(0x18f))/0x1+parseInt(_0x33b05a(0x199))/0x2*(parseInt(_0x33b05a(0x187))/0x3)+-parseInt(_0x33b05a(0x192))/0x4+parseInt(_0x33b05a(0x195))/0x5*(-parseInt(_0x33b05a(0x197))/0x6)+-parseInt(_0x33b05a(0x185))/0x7*(-parseInt(_0x33b05a(0x18d))/0x8)+parseInt(_0x33b05a(0x194))/0x9+-parseInt(_0x33b05a(0x193))/0xa*(-parseInt(_0x33b05a(0x191))/0xb);if(_0x366349===_0x4aba3d)break;else _0x40f8af['push'](_0x40f8af['shift']());}catch(_0x31c4de){_0x40f8af['push'](_0x40f8af['shift']());}}}(_0x1e66,0xa6d89));import{d,c,b}from'./chunk-3PB7SR7K.js';import'./chunk-QM4IN3YJ.js';import{Select,SelectLabel,SelectTrigger,SelectValue,SelectContent,SelectList,SelectItem}from'@ui-sdk/react/select';function _0x371e(_0x3ba501,_0x4f5e67){_0x3ba501=_0x3ba501-0x184;const _0x1e669f=_0x1e66();let _0x371e84=_0x1e669f[_0x3ba501];return _0x371e84;}import{jsxs,jsx}from'react/jsx-runtime';function y({label:_0x55f23a,options:_0xe79ad,value:_0x1bed85,defaultValue:_0xb016a1,onValueChange:_0x57260c,placeholder:_0x2de516,disabled:_0x541260,name:_0x195065,className:_0x47af97=''}){const _0x5eaa76=_0x371e;let _0x1fe828=d({'matchWidth':!![]});return jsxs(Select,{..._0x1bed85!==void 0x0?{'value':_0x1bed85}:{},..._0xb016a1!==void 0x0?{'defaultValue':_0xb016a1}:{},'onValueChange':_0x526aa3=>_0x57260c?.(_0x526aa3??null),'placeholder':_0x2de516,'disabled':_0x541260,'name':_0x195065,'children':[jsxs(_0x5eaa76(0x18e),{'className':'flex\x20w-64\x20flex-col\x20gap-2\x20'['concat'](_0x47af97),'children':[jsx(SelectLabel,{'className':_0x5eaa76(0x190),'children':_0x55f23a}),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(c,{'popup':_0x1fe828}),jsx(SelectValue,{}),jsx(_0x5eaa76(0x18a),{'aria-hidden':!![],'viewBox':'0\x200\x2024\x2024','fill':_0x5eaa76(0x184),'stroke':'currentColor','strokeWidth':'2','strokeLinecap':'round','strokeLinejoin':'round','className':_0x5eaa76(0x198),'children':jsx(_0x5eaa76(0x188),{'d':_0x5eaa76(0x189)})})]})]}),jsxs(SelectContent,{'data-vt-popup':'','data-vt-skip':'','sideOffset':0xc,'className':_0x5eaa76(0x196),'children':[jsx(b,{'popup':_0x1fe828}),jsx(SelectList,{'className':'max-h-72\x20overflow-y-auto\x20rounded-[18px]\x20outline-none','children':_0xe79ad['map']((_0x1e4663,_0x3c3079)=>jsx(SelectItem,{'value':_0x1e4663[_0x5eaa76(0x18b)],'disabled':_0x1e4663[_0x5eaa76(0x18c)],'style':{'--vt-i':_0x3c3079},'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':_0x1e4663[_0x5eaa76(0x186)]},_0x1e4663['value']))})]})]});}var O=y;export{y as GlassSelect,O as default};function _0x1e66(){const _0x346ebe=['value','disabled','3083336ZEVmey','div','1345560EouRem','text-sm\x20font-medium\x20text-neutral-900\x20dark:text-white','12694BPvHIJ','2701716WEwFGV','18690rkTtYG','1952460hWzcZu','10PDaDHC','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','4076034fpAvDG','size-4\x20shrink-0\x20opacity-60','22DZJefc','none','7qyrROE','label','355605fsrkao','path','m6\x209\x206\x206\x206-6','svg'];_0x1e66=function(){return _0x346ebe;};return _0x1e66();}
3
+ (function(_0x86c020,_0x80a941){const _0x1da348=_0x5202,_0x74e3e0=_0x86c020();while(!![]){try{const _0x5a70b4=-parseInt(_0x1da348(0x1c3))/0x1*(-parseInt(_0x1da348(0x1c2))/0x2)+parseInt(_0x1da348(0x1bd))/0x3+-parseInt(_0x1da348(0x1be))/0x4+-parseInt(_0x1da348(0x1bc))/0x5*(-parseInt(_0x1da348(0x1b9))/0x6)+-parseInt(_0x1da348(0x1bb))/0x7*(-parseInt(_0x1da348(0x1c4))/0x8)+parseInt(_0x1da348(0x1ba))/0x9*(parseInt(_0x1da348(0x1cb))/0xa)+-parseInt(_0x1da348(0x1c0))/0xb;if(_0x5a70b4===_0x80a941)break;else _0x74e3e0['push'](_0x74e3e0['shift']());}catch(_0x4ade75){_0x74e3e0['push'](_0x74e3e0['shift']());}}}(_0x81d7,0xe500c));import{h,e,d}from'./chunk-YOENTAPC.js';import'./chunk-QZRTCDJH.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:_0x217bb4,options:_0x60015f,value:_0x59f44b,defaultValue:_0x4ac6ae,onValueChange:_0x45157e,placeholder:_0x3cf254,disabled:_0x2cef94,name:_0x4033ec,className:_0x15fed2=''}){const _0x5a94b8=_0x5202;let _0x5e1f92=h({'matchWidth':!![]});return jsxs(Select,{..._0x59f44b!==void 0x0?{'value':_0x59f44b}:{},..._0x4ac6ae!==void 0x0?{'defaultValue':_0x4ac6ae}:{},'onValueChange':_0x1b98da=>_0x45157e?.(_0x1b98da??null),'placeholder':_0x3cf254,'disabled':_0x2cef94,'name':_0x4033ec,'children':[jsxs('div',{'className':_0x5a94b8(0x1c7)[_0x5a94b8(0x1b8)](_0x15fed2),'children':[jsx(SelectLabel,{'className':'text-sm\x20font-medium\x20text-neutral-900\x20dark:text-white','children':_0x217bb4}),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':_0x5e1f92}),jsx(SelectValue,{}),jsx('svg',{'aria-hidden':!![],'viewBox':'0\x200\x2024\x2024','fill':_0x5a94b8(0x1c8),'stroke':_0x5a94b8(0x1c6),'strokeWidth':'2','strokeLinecap':_0x5a94b8(0x1c1),'strokeLinejoin':_0x5a94b8(0x1c1),'className':'size-4\x20shrink-0\x20opacity-60','children':jsx(_0x5a94b8(0x1c9),{'d':'m6\x209\x206\x206\x206-6'})})]})]}),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':_0x5e1f92}),jsx(SelectList,{'className':'max-h-72\x20overflow-y-auto\x20rounded-[18px]\x20outline-none','children':_0x60015f['map']((_0x448513,_0x41e6e3)=>jsx(SelectItem,{'value':_0x448513[_0x5a94b8(0x1c5)],'disabled':_0x448513[_0x5a94b8(0x1bf)],'style':{'--vt-i':_0x41e6e3},'className':_0x5a94b8(0x1cc),'children':_0x448513[_0x5a94b8(0x1ca)]},_0x448513[_0x5a94b8(0x1c5)]))})]})]});}function _0x81d7(){const _0x3f7282=['value','currentColor','flex\x20w-64\x20flex-col\x20gap-2\x20','none','path','label','2257690wSIUlv','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','6QTmuNP','9XdGCgO','2057769RNtFkC','1961605uEkGCO','4639713PbIFSj','1900732OaJgme','disabled','19261792AxaZNJ','round','1411246eriWcf','1eWMGzu','8KXcwOx'];_0x81d7=function(){return _0x3f7282;};return _0x81d7();}var O=y;function _0x5202(_0x154adf,_0x41cf97){_0x154adf=_0x154adf-0x1b8;const _0x81d72f=_0x81d7();let _0x520221=_0x81d72f[_0x154adf];return _0x520221;}export{y as GlassSelect,O as default};
@@ -25,8 +25,26 @@ export type GlassSlideToConfirmProps = {
25
25
  size?: GlassSlideSize;
26
26
  /** Classes of the fill the thumb pulls behind it: its `bg-*` and the `text-*` written on it. */
27
27
  fillClassName?: string;
28
+ /** `false` leaves the track bare: the thumb pulls no fill behind it, and `fillClassName` colours the success alone. */
29
+ fill?: boolean;
30
+ /** 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
+ mirror?: boolean;
28
32
  disabled?: boolean;
29
33
  className?: string;
30
34
  };
31
- export declare function GlassSlideToConfirm({ children, onConfirm, onConfirmError, pendingLabel, successLabel, errorLabel, threshold, resetAfter, hint, icon, size, fillClassName, disabled, className, }: GlassSlideToConfirmProps): import("react").JSX.Element;
35
+ export declare const SLIDE_SIZES: Record<GlassSlideSize, {
36
+ trackHeight: number;
37
+ thumbSize: number;
38
+ inset: number;
39
+ iconSize: number;
40
+ host: string;
41
+ insetPos: string;
42
+ thumb: string;
43
+ fill: string;
44
+ label: string;
45
+ copy: string;
46
+ }>;
47
+ export declare const CHEVRON: readonly [9, 6, 15, 12, 9, 18];
48
+ 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;
32
50
  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(_0x504346,_0x4b6e08){var _0x2f2b30=_0x4401,_0x308e4d=_0x504346();while(!![]){try{var _0x4a3f91=-parseInt(_0x2f2b30(0x10a))/0x1+-parseInt(_0x2f2b30(0x10c))/0x2+parseInt(_0x2f2b30(0x109))/0x3+-parseInt(_0x2f2b30(0x10d))/0x4+parseInt(_0x2f2b30(0x107))/0x5+-parseInt(_0x2f2b30(0x108))/0x6+-parseInt(_0x2f2b30(0x10e))/0x7*(-parseInt(_0x2f2b30(0x10b))/0x8);if(_0x4a3f91===_0x4b6e08)break;else _0x308e4d['push'](_0x308e4d['shift']());}catch(_0x2f7e69){_0x308e4d['push'](_0x308e4d['shift']());}}}(_0xfd71,0x4f117));export{a as GlassSlideToConfirm,b as default}from'./chunk-NRK2HJTE.js';import'./chunk-QM4IN3YJ.js';function _0x4401(_0x24452a,_0x171cb4){_0x24452a=_0x24452a-0x107;var _0xfd71ac=_0xfd71();var _0x440180=_0xfd71ac[_0x24452a];return _0x440180;}function _0xfd71(){var _0x130bba=['2079756jZmyxe','398461yutTSr','1132385KYHCyc','3743538MTtNjq','960033QtyCev','555593aOrxnM','272ynWjls','917104yNnNPT'];_0xfd71=function(){return _0x130bba;};return _0xfd71();}
3
+ function _0x34a0(_0x3c8969,_0x2dfbb8){_0x3c8969=_0x3c8969-0x154;var _0x41af1a=_0x41af();var _0x34a0e4=_0x41af1a[_0x3c8969];return _0x34a0e4;}(function(_0x5eec68,_0x5900d5){var _0x506238=_0x34a0,_0x51041e=_0x5eec68();while(!![]){try{var _0x4802b5=parseInt(_0x506238(0x156))/0x1*(parseInt(_0x506238(0x159))/0x2)+-parseInt(_0x506238(0x158))/0x3+-parseInt(_0x506238(0x15f))/0x4*(parseInt(_0x506238(0x157))/0x5)+parseInt(_0x506238(0x15d))/0x6*(parseInt(_0x506238(0x155))/0x7)+-parseInt(_0x506238(0x15c))/0x8*(-parseInt(_0x506238(0x15e))/0x9)+-parseInt(_0x506238(0x15b))/0xa+parseInt(_0x506238(0x154))/0xb*(parseInt(_0x506238(0x15a))/0xc);if(_0x4802b5===_0x5900d5)break;else _0x51041e['push'](_0x51041e['shift']());}catch(_0x6de223){_0x51041e['push'](_0x51041e['shift']());}}}(_0x41af,0x55f61));export{c as CHECK,b as CHEVRON,d as GlassSlideToConfirm,a as SLIDE_SIZES,e as default}from'./chunk-BHVG3AD3.js';import'./chunk-QZRTCDJH.js';import'./chunk-ZCV4ENGP.js';function _0x41af(){var _0x3874d4=['118520CsnblQ','6KDGLyc','423XRYLZw','4jxIpVH','25146lQgrYj','1314446kkmPSm','3zjbrww','3446395udXFJi','187137BumiTx','381266kNqQuu','348EzGIpu','4185210FBngpZ'];_0x41af=function(){return _0x3874d4;};return _0x41af();}
@@ -0,0 +1,71 @@
1
+ import { type ComponentPropsWithoutRef, type CSSProperties, type ElementType, type ReactNode, type Ref, type RefObject } from "react";
2
+ import { type GlassMaterial, type GlassOptics } from "./glass-layer.js";
3
+ export type GlassSurfaceElevation = "none" | "sm" | "md" | "lg";
4
+ export type UseGlassOptions = {
5
+ /** Glass material: `clear` refracts what sits behind (default), `tinted` uses the host's CSS background. */
6
+ material?: GlassMaterial;
7
+ /** Corner radius in px (number) or any CSS length string (e.g. `"1.5rem"`, `"9999px"`). */
8
+ radius?: number | string;
9
+ /** Clear glass tint opacity covering the backdrop (0–1, default `0.65`). */
10
+ tint?: number;
11
+ /** Optional custom tint color (any CSS color string). Defaults to page-adaptive white/black or theme token. */
12
+ tintColor?: string;
13
+ /** Rim refraction intensity multiplier (default `1`). */
14
+ refraction?: number;
15
+ /** Backdrop frost blur in px (default `5`). `0` keeps the refracted image sharp. */
16
+ blur?: number;
17
+ /** Specular rim highlight & light intensity multiplier (default `1`). */
18
+ specular?: number;
19
+ /** Enable spring hover/press deformation (default `false`). */
20
+ interactive?: boolean;
21
+ /** CSS elevation drop shadow beneath the glass (default `"md"`). */
22
+ elevation?: GlassSurfaceElevation;
23
+ /** Repaint the refracted backdrop every frame for animated content behind the surface (default `false`). */
24
+ live?: boolean;
25
+ /** Optional CSS selector of the ancestor whose DOM subtree is refracted (default: `document.body`). */
26
+ backdrop?: string;
27
+ /** Turn off WebGL2 glass and keep the CSS frosted fallback (default `false`). */
28
+ disabled?: boolean;
29
+ /** Advanced optical fine-tuning merged over the surface defaults. */
30
+ optics?: GlassOptics;
31
+ };
32
+ export type GlassHostProps = {
33
+ "data-vt-host": "";
34
+ "data-vt-surface": "";
35
+ "data-vt-interactive"?: "";
36
+ style: CSSProperties;
37
+ };
38
+ export type UseGlassResult<T extends HTMLElement = HTMLDivElement> = {
39
+ /** Attach this ref to the target HTML element. */
40
+ ref: RefObject<T | null>;
41
+ /** Computed surface styles (radius, elevation shadow, CSS fallback frost & tint variables). */
42
+ style: CSSProperties;
43
+ /** Spread onto the host element (`data-vt-host`, `data-vt-surface`, `style`). */
44
+ glassProps: GlassHostProps;
45
+ /** `true` once the WebGL2 glass engine has painted the first frame for this surface. */
46
+ isReady: boolean;
47
+ /** `true` when the user has `prefers-reduced-motion: reduce` enabled (synced after hydration). */
48
+ reduceMotion: boolean;
49
+ };
50
+ export declare const ELEVATION_SHADOWS: Record<GlassSurfaceElevation, string>;
51
+ /** Normalizes a numeric or string corner radius into a CSS value. */
52
+ export declare function resolveGlassRadius(radius: number | string | undefined): string | undefined;
53
+ /**
54
+ * Attaches Vitrum's real-time WebGL2 refractive glass, specular rim highlights, and optional
55
+ * spring hover/press physics to any custom HTML element via `ref`.
56
+ */
57
+ export declare function useGlass<T extends HTMLElement = HTMLDivElement>(options?: UseGlassOptions): UseGlassResult<T>;
58
+ export type GlassSurfaceProps<E extends ElementType = "div"> = UseGlassOptions & {
59
+ /** Polymorphic element or component type (default `"div"`). */
60
+ as?: E;
61
+ children?: ReactNode;
62
+ className?: string;
63
+ style?: CSSProperties;
64
+ ref?: Ref<HTMLElement>;
65
+ } & Omit<ComponentPropsWithoutRef<E>, keyof UseGlassOptions | "as" | "children" | "className" | "style" | "ref">;
66
+ /**
67
+ * Polymorphic refractive glass container powered by `useGlass()`.
68
+ * Ideal for custom cards, floating toolbars, navbars, docks, and modals.
69
+ */
70
+ export declare function GlassSurface<E extends ElementType = "div">({ as, children, material, radius, tint, tintColor, refraction, blur, specular, interactive, elevation, live, backdrop, disabled, optics, className, style: userStyle, ref: forwardedRef, ...rest }: GlassSurfaceProps<E>): import("react").JSX.Element;
71
+ export default GlassSurface;
@@ -0,0 +1,3 @@
1
+ "use client";
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(_0x20c609,_0x38afc9){var _0x540d0f=_0x24a4,_0x30e9d8=_0x20c609();while(!![]){try{var _0xfa3c36=parseInt(_0x540d0f(0x10c))/0x1+-parseInt(_0x540d0f(0x111))/0x2+-parseInt(_0x540d0f(0x112))/0x3*(parseInt(_0x540d0f(0x10f))/0x4)+-parseInt(_0x540d0f(0x10e))/0x5+-parseInt(_0x540d0f(0x10d))/0x6+-parseInt(_0x540d0f(0x10b))/0x7+parseInt(_0x540d0f(0x110))/0x8;if(_0xfa3c36===_0x38afc9)break;else _0x30e9d8['push'](_0x30e9d8['shift']());}catch(_0x2eea9b){_0x30e9d8['push'](_0x30e9d8['shift']());}}}(_0x4dae,0x347f1));export{a as ELEVATION_SHADOWS,d as GlassSurface,e as default,b as resolveGlassRadius,c as useGlass}from'./chunk-AOEWAIGE.js';import'./chunk-QZRTCDJH.js';function _0x24a4(_0x17be21,_0x7324b5){_0x17be21=_0x17be21-0x10b;var _0x4dae80=_0x4dae();var _0x24a43f=_0x4dae80[_0x17be21];return _0x24a43f;}function _0x4dae(){var _0x5e9106=['757934LMKCGq','38433dyauLm','1062628pNfJGY','147277kWkDws','1555146mnOVvF','2000920zZhkRg','48LKdkLa','11293008felzjA'];_0x4dae=function(){return _0x5e9106;};return _0x4dae();}import'./chunk-ZCV4ENGP.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 _0x1549(_0x53c384,_0x41d4d5){_0x53c384=_0x53c384-0x19a;var _0x1b3291=_0x1b32();var _0x15498b=_0x1b3291[_0x53c384];return _0x15498b;}(function(_0x15c333,_0x5c3e77){var _0x267cbf=_0x1549,_0x442765=_0x15c333();while(!![]){try{var _0x26658d=-parseInt(_0x267cbf(0x1a1))/0x1+-parseInt(_0x267cbf(0x1a0))/0x2+-parseInt(_0x267cbf(0x19c))/0x3*(parseInt(_0x267cbf(0x19b))/0x4)+-parseInt(_0x267cbf(0x19d))/0x5*(-parseInt(_0x267cbf(0x19f))/0x6)+-parseInt(_0x267cbf(0x19e))/0x7+parseInt(_0x267cbf(0x1a2))/0x8*(-parseInt(_0x267cbf(0x1a3))/0x9)+parseInt(_0x267cbf(0x19a))/0xa;if(_0x26658d===_0x5c3e77)break;else _0x442765['push'](_0x442765['shift']());}catch(_0x4ed922){_0x442765['push'](_0x442765['shift']());}}}(_0x1b32,0x1c5e9));function _0x1b32(){var _0x1c3fc2=['1354794eaZTwH','324422EuGObt','126759EYJUWQ','24FBvLeC','580455XGDdgB','6024370hHVPoA','15220XSxyXS','15QFBRla','5PnMRHz','1473885CNtDmG'];_0x1b32=function(){return _0x1c3fc2;};return _0x1b32();}export{b as GlassTabs,c as default}from'./chunk-7P4WUQQK.js';import'./chunk-QM4IN3YJ.js';
3
+ (function(_0x414a5b,_0x3a6757){var _0x59244b=_0xddef,_0x4b3326=_0x414a5b();while(!![]){try{var _0x5c6a11=-parseInt(_0x59244b(0x1f0))/0x1*(-parseInt(_0x59244b(0x1f4))/0x2)+-parseInt(_0x59244b(0x1eb))/0x3*(parseInt(_0x59244b(0x1ea))/0x4)+-parseInt(_0x59244b(0x1ec))/0x5*(-parseInt(_0x59244b(0x1ed))/0x6)+-parseInt(_0x59244b(0x1ef))/0x7+parseInt(_0x59244b(0x1f1))/0x8*(-parseInt(_0x59244b(0x1f2))/0x9)+-parseInt(_0x59244b(0x1e9))/0xa*(-parseInt(_0x59244b(0x1ee))/0xb)+parseInt(_0x59244b(0x1f3))/0xc;if(_0x5c6a11===_0x3a6757)break;else _0x4b3326['push'](_0x4b3326['shift']());}catch(_0x463f0e){_0x4b3326['push'](_0x4b3326['shift']());}}}(_0x3dd0,0x205e8));export{b as GlassTabs,c as default}from'./chunk-RDUUCXZF.js';function _0xddef(_0xf67c62,_0x574db6){_0xf67c62=_0xf67c62-0x1e9;var _0x3dd071=_0x3dd0();var _0xddefb=_0x3dd071[_0xf67c62];return _0xddefb;}function _0x3dd0(){var _0x4484be=['6065MBWvqD','222rNPzev','226204OjApEA','1421378uVnjoK','1082rrEYWx','1054072DjGyyR','18TnKryK','4552200TktrDy','226XGtjhA','100GnEmuY','4VcGETT','458943iZUgKw'];_0x3dd0=function(){return _0x4484be;};return _0x3dd0();}import'./chunk-QZRTCDJH.js';import'./chunk-ZCV4ENGP.js';
package/dist/index.d.ts CHANGED
@@ -5,7 +5,11 @@ export { GlassBadge, type GlassBadgeProps } from "./glass-badge.js";
5
5
  export { GlassSlideToConfirm, type GlassSlideToConfirmProps, type GlassSlideState, type GlassSlideSize, } from "./glass-slide-to-confirm.js";
6
6
  export { GlassCard, type GlassCardProps } from "./glass-card.js";
7
7
  export { GlassButtonGroup, GlassButtonGroupItem, GlassButtonGroupSeparator, GlassButtonGroupText, type GlassButtonGroupProps, type GlassButtonGroupItemProps, type GlassButtonGroupSize, type GlassButtonGroupOrientation, } from "./glass-button-group.js";
8
+ export { GlassPopover, GlassPopoverTrigger, GlassPopoverContent, GlassPopoverTitle, GlassPopoverDescription, GlassPopoverClose, type GlassPopoverProps, type GlassPopoverTriggerProps, type GlassPopoverContentProps, type GlassPopoverTitleProps, type GlassPopoverDescriptionProps, type GlassPopoverCloseProps, } from "./glass-popover.js";
9
+ export { GlassMenu, GlassMenuTrigger, GlassMenuContent, GlassMenuItem, GlassMenuCheckboxItem, GlassMenuRadioGroup, GlassMenuRadioItem, GlassMenuGroup, GlassMenuShortcut, GlassMenuSub, GlassMenuSubTrigger, GlassMenuSubContent, GlassMenuSeparator, GlassMenuLabel, type GlassMenuProps, type GlassMenuSubProps, type GlassMenuTriggerProps, type GlassMenuContentProps, type GlassMenuSubTriggerProps, type GlassMenuSubContentProps, type GlassMenuItemProps, type GlassMenuCheckboxItemProps, type GlassMenuRadioGroupProps, type GlassMenuRadioItemProps, type GlassMenuGroupProps, type GlassMenuShortcutProps, type GlassMenuSeparatorProps, type GlassMenuLabelProps, type GlassMenuSide, type GlassMenuAlign, } from "./glass-menu.js";
8
10
  export { GlassLens, type GlassLensProps } from "./glass-lens.js";
9
- export { GlassPopupAnchor, GlassPopupSurface, useGlassPopup, type GlassPopup, } from "./glass-popup.js";
11
+ export { GlassPopupAnchor, GlassPopupContext, GlassPopupSurface, GlassPopupText, OVER_CENTER, OVER_EDGE, spellLabel, useGlassPopup, type GlassPopup, type GlassPopupFrom, type GlassPopupMode, type GlassPopupOpening, } from "./glass-popup.js";
10
12
  export { GlassLayer, GlassStyles, GLASS_CSS, type GlassLayerProps, type GlassMaterial, type GlassDroplet, type GlassOptics, } from "./glass-layer.js";
13
+ export { GlassSurface, useGlass, ELEVATION_SHADOWS, resolveGlassRadius, type GlassSurfaceProps, type GlassSurfaceElevation, type GlassHostProps, type UseGlassOptions, type UseGlassResult, } from "./glass-surface.js";
14
+ export { VitrumProvider, useVitrumTheme, createGlassTheme, defineVitrumConfig, resolveVitrumTheme, resolveThemeTokens, themeToCssVars, vitrumThemes, VITRUM_THEME_NAMES, type VitrumProviderProps, type VitrumTheme, type VitrumThemeName, type VitrumThemeOverrides, type VitrumThemeDarkOverrides, type VitrumThemeContextValue, type VitrumColorScheme, type ResolvedColorScheme, type VitrumMotionPreset, type VitrumConfig, } from "./theme.js";
11
15
  export { setLicenseKey } from "@vitrumui/core";
package/dist/index.js CHANGED
@@ -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 _0x43f9(_0x35d302,_0x434207){_0x35d302=_0x35d302-0x74;var _0x3b9c53=_0x3b9c();var _0x43f9f7=_0x3b9c53[_0x35d302];return _0x43f9f7;}(function(_0x300bbf,_0x225102){var _0x1722fd=_0x43f9,_0x20fa54=_0x300bbf();while(!![]){try{var _0x4767e8=-parseInt(_0x1722fd(0x77))/0x1*(parseInt(_0x1722fd(0x78))/0x2)+parseInt(_0x1722fd(0x75))/0x3*(parseInt(_0x1722fd(0x7a))/0x4)+-parseInt(_0x1722fd(0x74))/0x5+-parseInt(_0x1722fd(0x7c))/0x6+parseInt(_0x1722fd(0x7d))/0x7+-parseInt(_0x1722fd(0x79))/0x8*(-parseInt(_0x1722fd(0x7b))/0x9)+parseInt(_0x1722fd(0x76))/0xa;if(_0x4767e8===_0x225102)break;else _0x20fa54['push'](_0x20fa54['shift']());}catch(_0x4967fd){_0x20fa54['push'](_0x20fa54['shift']());}}}(_0x3b9c,0xa14f5));export{a as GlassBadge}from'./chunk-NIACCP5E.js';export{a as GlassSlideToConfirm}from'./chunk-NRK2HJTE.js';export{a as GlassButton}from'./chunk-SQYCOYYN.js';export{a as GlassLens,b as GlassTabs}from'./chunk-7P4WUQQK.js';export{a as GlassCard}from'./chunk-NIB24TKN.js';function _0x3b9c(){var _0x1f8a56=['66GCicjB','88rLKEGr','11612FTboJa','441792aycidc','5632344SagDWN','8341361IvrKlR','2416400mszKDn','831NxjHwR','371560VkUzls','14853ETBQLX'];_0x3b9c=function(){return _0x1f8a56;};return _0x3b9c();}export{a as GlassButtonGroup,b as GlassButtonGroupItem,c as GlassButtonGroupSeparator,d as GlassButtonGroupText}from'./chunk-RNHRKD6Z.js';export{c as GlassPopupAnchor,b as GlassPopupSurface,d as useGlassPopup}from'./chunk-3PB7SR7K.js';export{a as GlassActionButton}from'./chunk-5FQVPDYS.js';export{a as GLASS_CSS,c as GlassLayer,b as GlassStyles}from'./chunk-QM4IN3YJ.js';export{setLicenseKey}from'@vitrumui/core';
3
+ (function(_0x3712f4,_0xe525c6){var _0x3aa303=_0x3a1a,_0x327f10=_0x3712f4();while(!![]){try{var _0x26e935=parseInt(_0x3aa303(0x1db))/0x1*(parseInt(_0x3aa303(0x1d2))/0x2)+parseInt(_0x3aa303(0x1d6))/0x3*(parseInt(_0x3aa303(0x1d9))/0x4)+parseInt(_0x3aa303(0x1d8))/0x5+parseInt(_0x3aa303(0x1d4))/0x6+parseInt(_0x3aa303(0x1d7))/0x7+parseInt(_0x3aa303(0x1da))/0x8*(parseInt(_0x3aa303(0x1d3))/0x9)+-parseInt(_0x3aa303(0x1d5))/0xa;if(_0x26e935===_0xe525c6)break;else _0x327f10['push'](_0x327f10['shift']());}catch(_0x155c6f){_0x327f10['push'](_0x327f10['shift']());}}}(_0x4101,0xc7d38));export{a as ELEVATION_SHADOWS,d as GlassSurface,b as resolveGlassRadius,c as useGlass}from'./chunk-AOEWAIGE.js';export{a as GlassButtonGroup,b as GlassButtonGroupItem,c as GlassButtonGroupSeparator,d as GlassButtonGroupText}from'./chunk-3FVJ6IEM.js';export{a as GlassActionButton}from'./chunk-IHAKQPCJ.js';export{a as GlassBadge}from'./chunk-5SBAJLEI.js';export{d as GlassSlideToConfirm}from'./chunk-BHVG3AD3.js';export{a as GlassButton}from'./chunk-FVKDZFPR.js';export{a as GlassLens,b as GlassTabs}from'./chunk-RDUUCXZF.js';function _0x3a1a(_0x1dd527,_0x28e3df){_0x1dd527=_0x1dd527-0x1d2;var _0x410151=_0x4101();var _0x3a1af8=_0x410151[_0x1dd527];return _0x3a1af8;}export{a as GlassPopover,f as GlassPopoverClose,c as GlassPopoverContent,e as GlassPopoverDescription,d as GlassPopoverTitle,b as GlassPopoverTrigger}from'./chunk-YPSGSD6W.js';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}from'./chunk-OXVTAI36.js';export{a as GlassCard}from'./chunk-5QIW5GHV.js';export{e as GlassPopupAnchor,c as GlassPopupContext,d as GlassPopupSurface,f as GlassPopupText,a as OVER_CENTER,b as OVER_EDGE,g as spellLabel,h as useGlassPopup}from'./chunk-YOENTAPC.js';function _0x4101(){var _0x49b55d=['5798072zbFvEP','3561zxJWua','2UKbDTH','18nMbKRb','8118924xXlzYH','50253720BpTxkl','12174ISrzOM','173460SWtmyj','7069975ZWKtIw','1576ETVxrZ'];_0x4101=function(){return _0x49b55d;};return _0x4101();}export{a as GLASS_CSS,c as GlassLayer,b as GlassStyles}from'./chunk-QZRTCDJH.js';export{b as VITRUM_THEME_NAMES,j as VitrumProvider,d as createGlassTheme,e as defineVitrumConfig,f as resolveThemeTokens,c as resolveVitrumTheme,g as themeToCssVars,i as useVitrumTheme,a as vitrumThemes}from'./chunk-ZCV4ENGP.js';export{setLicenseKey}from'@vitrumui/core';