@vitrumui/react 1.1.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 (61) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +1 -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 +1 -1
  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 +60 -17
  33. package/dist/glass-menu.js +1 -1
  34. package/dist/glass-popover.d.ts +38 -8
  35. package/dist/glass-popover.js +1 -1
  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.js +1 -1
  41. package/dist/glass-tabs.js +1 -1
  42. package/dist/index.d.ts +3 -3
  43. package/dist/index.js +1 -1
  44. package/dist/runtime-SFKGJUVX.js +2 -0
  45. package/dist/styles.css +1 -1
  46. package/dist/theme.js +1 -1
  47. package/package.json +3 -3
  48. package/dist/chunk-5H6FHJ6K.js +0 -2
  49. package/dist/chunk-BCPB75TR.js +0 -2
  50. package/dist/chunk-D6ZLXL4J.js +0 -2
  51. package/dist/chunk-E2KN4H6B.js +0 -2
  52. package/dist/chunk-IMUNBL7U.js +0 -2
  53. package/dist/chunk-KL26ZVD4.js +0 -2
  54. package/dist/chunk-P3SF73HG.js +0 -2
  55. package/dist/chunk-Q5GOHPZ3.js +0 -2
  56. package/dist/chunk-TIG2HRDS.js +0 -2
  57. package/dist/chunk-U3CZMSFP.js +0 -2
  58. package/dist/chunk-ULHSS732.js +0 -2
  59. package/dist/chunk-UMMRBERM.js +0 -2
  60. package/dist/chunk-YZILLPGA.js +0 -2
  61. package/dist/runtime-2U4MAR2W.js +0 -2
@@ -1,4 +1,4 @@
1
- import { type HTMLAttributes, type ReactNode } from "react";
1
+ import { type ComponentProps, type ReactNode } from "react";
2
2
  import { type GlassMaterial, type GlassOptics } from "./glass-layer.js";
3
3
  export type GlassCardProps = {
4
4
  children?: ReactNode;
@@ -13,6 +13,6 @@ export type GlassCardProps = {
13
13
  /** Fine-tuning of the glass: tint colour, a rim line, frost mix, bend, light and shadow. Merged over the card's own. */
14
14
  optics?: GlassOptics;
15
15
  className?: string;
16
- } & Omit<HTMLAttributes<HTMLDivElement>, "children" | "className">;
16
+ } & Omit<ComponentProps<"div">, "children" | "className">;
17
17
  export declare function GlassCard({ children, material, tint, blur, live, optics, className, style, ...rest }: GlassCardProps): import("react").JSX.Element;
18
18
  export default GlassCard;
@@ -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(_0x5c94a9,_0x606383){var _0x1cfc23=_0x393a,_0x275a47=_0x5c94a9();while(!![]){try{var _0x2191ab=parseInt(_0x1cfc23(0xcd))/0x1+-parseInt(_0x1cfc23(0xd0))/0x2+-parseInt(_0x1cfc23(0xcf))/0x3*(-parseInt(_0x1cfc23(0xc9))/0x4)+parseInt(_0x1cfc23(0xd1))/0x5+-parseInt(_0x1cfc23(0xd2))/0x6+parseInt(_0x1cfc23(0xcc))/0x7*(-parseInt(_0x1cfc23(0xce))/0x8)+parseInt(_0x1cfc23(0xcb))/0x9*(parseInt(_0x1cfc23(0xca))/0xa);if(_0x2191ab===_0x606383)break;else _0x275a47['push'](_0x275a47['shift']());}catch(_0x3a9eec){_0x275a47['push'](_0x275a47['shift']());}}}(_0x3036,0x3ee78));export{a as GlassCard,b as default}from'./chunk-KL26ZVD4.js';import'./chunk-IMUNBL7U.js';function _0x393a(_0x261350,_0x5032e5){_0x261350=_0x261350-0xc9;var _0x303603=_0x3036();var _0x393a02=_0x303603[_0x261350];return _0x393a02;}function _0x3036(){var _0x51f8c7=['1708782XwZheD','60TWRrIJ','4063310WLvarM','9hAsrLi','1133461FsEKyQ','435706Ftsial','16lPAPTe','14733MHGmOd','260192CyjkME','403465sFPcdy'];_0x3036=function(){return _0x51f8c7;};return _0x3036();}import'./chunk-ZCV4ENGP.js';
3
+ (function(_0x1649e1,_0x1e5934){var _0x12eca8=_0xca51,_0x3188e5=_0x1649e1();while(!![]){try{var _0xb4b57=-parseInt(_0x12eca8(0x12a))/0x1*(parseInt(_0x12eca8(0x129))/0x2)+-parseInt(_0x12eca8(0x12f))/0x3*(-parseInt(_0x12eca8(0x128))/0x4)+-parseInt(_0x12eca8(0x12e))/0x5*(-parseInt(_0x12eca8(0x130))/0x6)+-parseInt(_0x12eca8(0x127))/0x7+-parseInt(_0x12eca8(0x12d))/0x8+-parseInt(_0x12eca8(0x132))/0x9*(parseInt(_0x12eca8(0x12b))/0xa)+parseInt(_0x12eca8(0x131))/0xb*(parseInt(_0x12eca8(0x12c))/0xc);if(_0xb4b57===_0x1e5934)break;else _0x3188e5['push'](_0x3188e5['shift']());}catch(_0x3ab89e){_0x3188e5['push'](_0x3188e5['shift']());}}}(_0xd70f,0x4468e));function _0xd70f(){var _0x5259bd=['52ZEkRRJ','8hfDkFm','57089gMSQLP','50NBipXL','6744BUMQHD','1829520KJqOxc','15XcrQKX','108597hkRXSA','879144YFgKlS','11143yEZQpW','544815cBLPmd','3076766JjmLFA'];_0xd70f=function(){return _0x5259bd;};return _0xd70f();}export{a as GlassCard,b as default}from'./chunk-5QIW5GHV.js';function _0xca51(_0x52070a,_0x51553a){_0x52070a=_0x52070a-0x127;var _0xd70fb3=_0xd70f();var _0xca51f0=_0xd70fb3[_0x52070a];return _0xca51f0;}import'./chunk-QZRTCDJH.js';import'./chunk-ZCV4ENGP.js';
@@ -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 _0x5551ef=_0x18f1;(function(_0x506446,_0x86f9ca){const _0x1ff03a=_0x18f1,_0x2bcf05=_0x506446();while(!![]){try{const _0x15807a=-parseInt(_0x1ff03a(0xfa))/0x1+-parseInt(_0x1ff03a(0xff))/0x2+parseInt(_0x1ff03a(0xf3))/0x3+-parseInt(_0x1ff03a(0xfc))/0x4*(parseInt(_0x1ff03a(0x101))/0x5)+parseInt(_0x1ff03a(0xf5))/0x6*(parseInt(_0x1ff03a(0xf7))/0x7)+-parseInt(_0x1ff03a(0x102))/0x8*(-parseInt(_0x1ff03a(0x103))/0x9)+-parseInt(_0x1ff03a(0xf2))/0xa*(-parseInt(_0x1ff03a(0xf8))/0xb);if(_0x15807a===_0x86f9ca)break;else _0x2bcf05['push'](_0x2bcf05['shift']());}catch(_0x12f7c2){_0x2bcf05['push'](_0x2bcf05['shift']());}}}(_0x4370,0x4a602));import{d,a,c,b}from'./chunk-ULHSS732.js';import'./chunk-IMUNBL7U.js';import'./chunk-ZCV4ENGP.js';import{Menu,MenuTrigger,MenuContent,MenuItem,MenuSeparator}from'@ui-sdk/react/menu';function _0x18f1(_0x33a35e,_0x1943fb){_0x33a35e=_0x33a35e-0xf2;const _0x437090=_0x4370();let _0x18f114=_0x437090[_0x33a35e];return _0x18f114;}import{useContext,Children,isValidElement,cloneElement}from'react';import{jsx,jsxs}from'react/jsx-runtime';function C({children:_0x12b43d,..._0x341771}){let _0x427d5a=d();return jsx(Menu,{..._0x341771,'children':jsx(a['Provider'],{'value':_0x427d5a,'children':_0x12b43d})});}function D({children:_0x1b47ae,asChild:_0x3bb8a9=![],className:_0x5f4861='',..._0x230cdd}){let _0x3e98f2=useContext(a);return _0x3bb8a9||!_0x3e98f2?jsx(MenuTrigger,{'render':Children['only'](_0x1b47ae),..._0x230cdd}):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'](_0x5f4861),..._0x230cdd,'children':[jsx(c,{'popup':_0x3e98f2}),jsx('span',{'className':'inline-flex\x20items-center\x20gap-[inherit]','children':_0x1b47ae})]});}function k({children:_0x393f6a,className:_0x4fa734='',sideOffset:_0x3e7e03=0xc,align:_0x23b88e=_0x5551ef(0xf6),..._0x1a6b60}){const _0x270a71=_0x5551ef;let _0x5e02aa=useContext(a);return jsxs(MenuContent,{'data-vt-popup':'','data-vt-skip':'','sideOffset':_0x3e7e03,'align':_0x23b88e,'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'[_0x270a71(0xf9)](_0x4fa734),..._0x1a6b60,'children':[_0x5e02aa&&jsx(b,{'popup':_0x5e02aa}),jsx('div',{'data-vt-list':'','className':_0x270a71(0xf4),'children':Children[_0x270a71(0xfb)](_0x393f6a)['map']((_0x41b802,_0x57252e)=>isValidElement(_0x41b802)?cloneElement(_0x41b802,{'style':{'--vt-i':_0x57252e,..._0x41b802[_0x270a71(0xfd)]['style']}}):_0x41b802)})]});}function S({className:_0x696806='',..._0x575bd0}){const _0x146092=_0x5551ef;return jsx(MenuItem,{'className':_0x146092(0x100)[_0x146092(0xf9)](_0x696806),..._0x575bd0});}function T({className:_0x42761d='',style:_0x28717f}){const _0x4ad749=_0x5551ef;return jsx(MenuSeparator,{'data-vt-item':'','style':_0x28717f,'className':_0x4ad749(0xfe)['concat'](_0x42761d)});}var I=C;export{C as GlassDropdownMenu,k as GlassDropdownMenuContent,S as GlassDropdownMenuItem,T as GlassDropdownMenuSeparator,D as GlassDropdownMenuTrigger,I as default};function _0x4370(){const _0x2e2a7f=['2912418sRwiqp','center','7xXTkbk','517Tngmhk','concat','539379hHldDP','toArray','80RuBadt','props','mx-3.5\x20my-1\x20h-px\x20shrink-0\x20bg-current/15\x20','469668TBlRyN','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','14745qRwlqW','4158424iMlFFA','9BFEHRs','13810MiWOHM','203166tcoCzq','flex\x20flex-col'];_0x4370=function(){return _0x2e2a7f;};return _0x4370();}
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;
@@ -1,43 +1,86 @@
1
- import { MenuContent, MenuItem, MenuTrigger, type MenuProps } from "@ui-sdk/react/menu";
2
- import { type CSSProperties, type ComponentProps, type HTMLAttributes, type ReactNode } from "react";
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
3
  export type GlassMenuSide = "top" | "right" | "bottom" | "left";
4
4
  export type GlassMenuAlign = "start" | "center" | "end";
5
5
  export type GlassMenuProps = MenuProps;
6
+ export type GlassMenuSubProps = MenuSubProps;
6
7
  export type GlassMenuTriggerProps = {
7
8
  children?: ReactNode;
8
- /** Put the trigger on the single child element instead of a glass button of its own. */
9
+ /** Render the trigger on the single child element: a GlassButtonGroupItem, whose group's glass then grows into the menu. */
9
10
  asChild?: boolean;
10
11
  className?: string;
11
12
  } & Omit<ComponentProps<typeof MenuTrigger>, "children" | "className" | "render">;
12
13
  export type GlassMenuContentProps = {
13
14
  children?: ReactNode;
14
15
  className?: string;
15
- side?: GlassMenuSide;
16
- align?: GlassMenuAlign;
17
- sideOffset?: number;
18
- } & Omit<ComponentProps<typeof MenuContent>, "children" | "className" | "render" | "side" | "align" | "sideOffset">;
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">;
19
21
  export type GlassMenuItemProps = {
20
22
  children?: ReactNode;
21
23
  /** Optional leading icon rendered before the label. */
22
24
  icon?: ReactNode;
23
- /** Optional trailing keyboard shortcut hint (e.g. "⌘D" or "⌫"). */
25
+ /** Optional trailing keyboard shortcut badge (e.g. "⌘E"). */
24
26
  shortcut?: ReactNode;
25
27
  className?: string;
26
- } & Omit<ComponentProps<typeof MenuItem>, "children" | "className" | "render" | "shortcut">;
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">;
27
49
  export type GlassMenuSeparatorProps = {
28
50
  className?: string;
29
- style?: CSSProperties;
30
51
  };
31
- export type GlassMenuLabelProps = HTMLAttributes<HTMLDivElement>;
52
+ export type GlassMenuSubTriggerProps = {
53
+ children?: ReactNode;
54
+ className?: string;
55
+ } & Omit<ComponentProps<typeof MenuSubTrigger>, "children" | "className" | "render">;
32
56
  export declare function GlassMenu({ children, ...options }: GlassMenuProps): import("react").JSX.Element;
33
- /** The button whose glass grows into the menu, or with `asChild` your own 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
+ */
34
61
  export declare function GlassMenuTrigger({ children, asChild, className, ...rest }: GlassMenuTriggerProps): import("react").JSX.Element;
35
- /** The unified refractive glass menu surface, positioned on any side (`top`, `right`, `bottom`, `left`). */
62
+ /** The menu. `side` (default `bottom`) and `align` (default `start`) say where it lies against its button; it flips when there is no room. */
36
63
  export declare function GlassMenuContent({ children, className, side, align, sideOffset, ...rest }: GlassMenuContentProps): import("react").JSX.Element;
37
- /** A menu action with optional leading `icon`, trailing `shortcut`, `destructive` tone, and `disabled` state. */
64
+ /** An action. Pressing it runs `onSelect` and closes the menu. `destructive` paints it red. */
38
65
  export declare function GlassMenuItem({ children, icon, shortcut, className, ...rest }: GlassMenuItemProps): import("react").JSX.Element;
39
- /** A hairline separator between groups of items. */
40
- export declare function GlassMenuSeparator({ className, style, }: GlassMenuSeparatorProps): import("react").JSX.Element;
41
- /** A non-interactive section heading inside the menu. */
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. */
42
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;
43
86
  export default GlassMenu;
@@ -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(_0x1cc502,_0x1061f9){var _0x3fe91d=_0x3b11,_0x3ad459=_0x1cc502();while(!![]){try{var _0x57b046=-parseInt(_0x3fe91d(0x15e))/0x1+parseInt(_0x3fe91d(0x160))/0x2*(parseInt(_0x3fe91d(0x164))/0x3)+parseInt(_0x3fe91d(0x15d))/0x4+-parseInt(_0x3fe91d(0x165))/0x5*(-parseInt(_0x3fe91d(0x163))/0x6)+-parseInt(_0x3fe91d(0x15f))/0x7+-parseInt(_0x3fe91d(0x162))/0x8+parseInt(_0x3fe91d(0x15c))/0x9*(parseInt(_0x3fe91d(0x161))/0xa);if(_0x57b046===_0x1061f9)break;else _0x3ad459['push'](_0x3ad459['shift']());}catch(_0x2bbc1b){_0x3ad459['push'](_0x3ad459['shift']());}}}(_0x881b,0x76f32));export{a as GlassMenu,c as GlassMenuContent,d as GlassMenuItem,f as GlassMenuLabel,e as GlassMenuSeparator,b as GlassMenuTrigger,g as default}from'./chunk-5H6FHJ6K.js';import'./chunk-ULHSS732.js';function _0x3b11(_0x5a84f5,_0x38e70b){_0x5a84f5=_0x5a84f5-0x15c;var _0x881b07=_0x881b();var _0x3b1111=_0x881b07[_0x5a84f5];return _0x3b1111;}import'./chunk-IMUNBL7U.js';function _0x881b(){var _0x59cf0e=['4883800DcOjmX','5904784EDYizI','332220JoXnUm','168WXdbdy','10FBpHDB','45sHvmWX','830560rsDkcs','809414xLewsc','6026706XOvtDl','4836KqNyFA'];_0x881b=function(){return _0x59cf0e;};return _0x881b();}import'./chunk-ZCV4ENGP.js';
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';
@@ -1,19 +1,49 @@
1
- import { PopoverContent, PopoverTrigger, type PopoverProps } from "@ui-sdk/react/popover";
1
+ import { PopoverClose, PopoverContent, PopoverDescription, PopoverTitle, PopoverTrigger, type PopoverProps } from "@ui-sdk/react/popover";
2
2
  import { type ComponentProps, type ReactNode } from "react";
3
- export type GlassPopoverProps = PopoverProps;
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
+ };
4
10
  export type GlassPopoverTriggerProps = {
5
11
  children?: ReactNode;
6
- /** Put the trigger on the single child element instead of a glass button of its own. */
12
+ /** Put the trigger on the single child element instead of rendering a glass button of its own. */
7
13
  asChild?: boolean;
8
14
  className?: string;
9
15
  } & Omit<ComponentProps<typeof PopoverTrigger>, "children" | "className" | "render">;
10
16
  export type GlassPopoverContentProps = {
11
17
  children?: ReactNode;
12
18
  className?: string;
13
- } & Omit<ComponentProps<typeof PopoverContent>, "children" | "className" | "render">;
14
- export declare function GlassPopover({ children, ...options }: GlassPopoverProps): import("react").JSX.Element;
15
- /** The button that unfolds into the popover, or with `asChild` your own interactive element. */
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. */
16
40
  export declare function GlassPopoverTrigger({ children, asChild, className, ...rest }: GlassPopoverTriggerProps): import("react").JSX.Element;
17
- /** The small glass surface the button unfolds into. Supports `side`, `align` and `sideOffset`. */
18
- export declare function GlassPopoverContent({ children, className, side, align, sideOffset, ...rest }: GlassPopoverContentProps): 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;
19
49
  export default GlassPopover;
@@ -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(_0x400b5f,_0x17f1a5){var _0x2f61f1=_0x4b68,_0x54ebf7=_0x400b5f();while(!![]){try{var _0x10eb33=parseInt(_0x2f61f1(0x11c))/0x1+parseInt(_0x2f61f1(0x120))/0x2*(-parseInt(_0x2f61f1(0x11e))/0x3)+parseInt(_0x2f61f1(0x11d))/0x4+-parseInt(_0x2f61f1(0x116))/0x5*(-parseInt(_0x2f61f1(0x119))/0x6)+-parseInt(_0x2f61f1(0x11b))/0x7*(parseInt(_0x2f61f1(0x117))/0x8)+parseInt(_0x2f61f1(0x11f))/0x9*(-parseInt(_0x2f61f1(0x11a))/0xa)+-parseInt(_0x2f61f1(0x115))/0xb*(-parseInt(_0x2f61f1(0x118))/0xc);if(_0x10eb33===_0x17f1a5)break;else _0x54ebf7['push'](_0x54ebf7['shift']());}catch(_0x16d71d){_0x54ebf7['push'](_0x54ebf7['shift']());}}}(_0x41bd,0xee0d9));export{a as GlassPopover,c as GlassPopoverContent,b as GlassPopoverTrigger,d as default}from'./chunk-D6ZLXL4J.js';import'./chunk-ULHSS732.js';import'./chunk-IMUNBL7U.js';function _0x4b68(_0x36b252,_0x1d2953){_0x36b252=_0x36b252-0x115;var _0x41bde7=_0x41bd();var _0x4b6861=_0x41bde7[_0x36b252];return _0x4b6861;}import'./chunk-ZCV4ENGP.js';function _0x41bd(){var _0xe79526=['5464716GkCjWK','13167DGUaQK','279XiusVR','462mVBjvL','33nHaDSM','100255bvaPFt','208GRlcEn','354492XHQdVf','198xLaqII','191010CSYnjX','210847fiwfbI','1247716xHAYFc'];_0x41bd=function(){return _0xe79526;};return _0x41bd();}
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 _0x1009(_0x4a6a6c,_0xf9fe93){_0x4a6a6c=_0x4a6a6c-0x192;const _0x14f3f2=_0x14f3();let _0x10097c=_0x14f3f2[_0x4a6a6c];return _0x10097c;}(function(_0x2066cc,_0x414bcb){const _0x4cf17e=_0x1009,_0x4b8c5e=_0x2066cc();while(!![]){try{const _0x2a7f1d=parseInt(_0x4cf17e(0x19b))/0x1*(-parseInt(_0x4cf17e(0x192))/0x2)+-parseInt(_0x4cf17e(0x1a0))/0x3+parseInt(_0x4cf17e(0x196))/0x4+parseInt(_0x4cf17e(0x197))/0x5+-parseInt(_0x4cf17e(0x19d))/0x6+-parseInt(_0x4cf17e(0x1a1))/0x7*(parseInt(_0x4cf17e(0x1a3))/0x8)+parseInt(_0x4cf17e(0x1a2))/0x9*(parseInt(_0x4cf17e(0x19c))/0xa);if(_0x2a7f1d===_0x414bcb)break;else _0x4b8c5e['push'](_0x4b8c5e['shift']());}catch(_0x4074fc){_0x4b8c5e['push'](_0x4b8c5e['shift']());}}}(_0x14f3,0x1cb0f));import{d,c,b}from'./chunk-ULHSS732.js';import'./chunk-IMUNBL7U.js';function _0x14f3(){const _0x204315=['label','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','1yBxDFI','2704210JHjnMD','760008bhNNUS','m6\x209\x206\x206\x206-6','concat','97323RrxwuJ','631834qCZmrZ','9BiSXKV','8yylPRM','disabled','map','98624EvIvtf','value','svg','path','389708SOVHqt','241770YcjWnA','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'];_0x14f3=function(){return _0x204315;};return _0x14f3();}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:_0x2fad7f,options:_0x198f1a,value:_0x14a914,defaultValue:_0x1e936e,onValueChange:_0x4b01c4,placeholder:_0x39a9d4,disabled:_0x4c0e9c,name:_0x47b720,className:_0x372ce4=''}){const _0x2d0c4a=_0x1009;let _0x353141=d({'matchWidth':!![]});return jsxs(Select,{..._0x14a914!==void 0x0?{'value':_0x14a914}:{},..._0x1e936e!==void 0x0?{'defaultValue':_0x1e936e}:{},'onValueChange':_0x4c6624=>_0x4b01c4?.(_0x4c6624??null),'placeholder':_0x39a9d4,'disabled':_0x4c0e9c,'name':_0x47b720,'children':[jsxs('div',{'className':'flex\x20w-64\x20flex-col\x20gap-2\x20'[_0x2d0c4a(0x19f)](_0x372ce4),'children':[jsx(SelectLabel,{'className':'text-sm\x20font-medium\x20text-neutral-900\x20dark:text-white','children':_0x2fad7f}),jsxs(SelectTrigger,{'data-vt-host':'','className':_0x2d0c4a(0x198),'children':[jsx(c,{'popup':_0x353141}),jsx(SelectValue,{}),jsx(_0x2d0c4a(0x194),{'aria-hidden':!![],'viewBox':'0\x200\x2024\x2024','fill':'none','stroke':'currentColor','strokeWidth':'2','strokeLinecap':'round','strokeLinejoin':'round','className':'size-4\x20shrink-0\x20opacity-60','children':jsx(_0x2d0c4a(0x195),{'d':_0x2d0c4a(0x19e)})})]})]}),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(b,{'popup':_0x353141}),jsx(SelectList,{'className':'max-h-72\x20overflow-y-auto\x20rounded-[18px]\x20outline-none','children':_0x198f1a[_0x2d0c4a(0x1a5)]((_0x17fb8c,_0x157908)=>jsx(SelectItem,{'value':_0x17fb8c['value'],'disabled':_0x17fb8c[_0x2d0c4a(0x1a4)],'style':{'--vt-i':_0x157908},'className':_0x2d0c4a(0x19a),'children':_0x17fb8c[_0x2d0c4a(0x199)]},_0x17fb8c[_0x2d0c4a(0x193)]))})]})]});}var O=y;export{y as GlassSelect,O as default};
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 _0xf1e3(){var _0xcb94c3=['20eTYoXy','8VmbWiN','2580545dVYvts','1464239KaxhhV','71811fHwusV','1566000OexrIB','10917iSRziL','104SzgOJV','1504071FAcUoO','4FwkGPX','707890tWYpem'];_0xf1e3=function(){return _0xcb94c3;};return _0xf1e3();}(function(_0x5ae267,_0x3b8017){var _0x525aa6=_0x4e3e,_0xb4e8b1=_0x5ae267();while(!![]){try{var _0x3b91f7=-parseInt(_0x525aa6(0x132))/0x1+parseInt(_0x525aa6(0x135))/0x2*(-parseInt(_0x525aa6(0x134))/0x3)+-parseInt(_0x525aa6(0x137))/0x4*(-parseInt(_0x525aa6(0x138))/0x5)+-parseInt(_0x525aa6(0x133))/0x6+-parseInt(_0x525aa6(0x13c))/0x7*(-parseInt(_0x525aa6(0x13a))/0x8)+-parseInt(_0x525aa6(0x136))/0x9+parseInt(_0x525aa6(0x139))/0xa*(parseInt(_0x525aa6(0x13b))/0xb);if(_0x3b91f7===_0x3b8017)break;else _0xb4e8b1['push'](_0xb4e8b1['shift']());}catch(_0x329755){_0xb4e8b1['push'](_0xb4e8b1['shift']());}}}(_0xf1e3,0x1fee3));export{a as GlassSlideToConfirm,b as default}from'./chunk-TIG2HRDS.js';import'./chunk-IMUNBL7U.js';function _0x4e3e(_0x117607,_0x1688bb){_0x117607=_0x117607-0x132;var _0xf1e3e3=_0xf1e3();var _0x4e3ecc=_0xf1e3e3[_0x117607];return _0x4e3ecc;}import'./chunk-ZCV4ENGP.js';
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();}
@@ -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(_0x7f305d,_0x3b6925){var _0x2e213a=_0x2ee3,_0x2f1f16=_0x7f305d();while(!![]){try{var _0xfcb1d5=parseInt(_0x2e213a(0x1d8))/0x1+parseInt(_0x2e213a(0x1d9))/0x2+parseInt(_0x2e213a(0x1d6))/0x3*(parseInt(_0x2e213a(0x1cf))/0x4)+parseInt(_0x2e213a(0x1d7))/0x5+parseInt(_0x2e213a(0x1d2))/0x6*(-parseInt(_0x2e213a(0x1d1))/0x7)+parseInt(_0x2e213a(0x1d0))/0x8*(parseInt(_0x2e213a(0x1d4))/0x9)+parseInt(_0x2e213a(0x1d5))/0xa*(-parseInt(_0x2e213a(0x1d3))/0xb);if(_0xfcb1d5===_0x3b6925)break;else _0x2f1f16['push'](_0x2f1f16['shift']());}catch(_0x6e0b24){_0x2f1f16['push'](_0x2f1f16['shift']());}}}(_0x9656,0x244ba));function _0x2ee3(_0xf52dbf,_0x1503e4){_0xf52dbf=_0xf52dbf-0x1cf;var _0x965636=_0x9656();var _0x2ee3a1=_0x965636[_0xf52dbf];return _0x2ee3a1;}function _0x9656(){var _0x1a20a2=['68454dzqrYL','6170qdOeKO','200967FhIuCy','354640dKxewC','57711TmDzxK','536172xSBVaX','4EUXVSc','304kIredH','7meNyuU','822042LkRsPD','8327hiOjBT'];_0x9656=function(){return _0x1a20a2;};return _0x9656();}export{a as ELEVATION_SHADOWS,d as GlassSurface,e as default,b as resolveGlassRadius,c as useGlass}from'./chunk-P3SF73HG.js';import'./chunk-IMUNBL7U.js';import'./chunk-ZCV4ENGP.js';
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 _0x2926(_0x3afa53,_0x12f42c){_0x3afa53=_0x3afa53-0x16a;var _0x2d7ae0=_0x2d7a();var _0x2926f9=_0x2d7ae0[_0x3afa53];return _0x2926f9;}(function(_0x58d060,_0x142e9f){var _0x305c65=_0x2926,_0xf6c69c=_0x58d060();while(!![]){try{var _0x899363=-parseInt(_0x305c65(0x16a))/0x1+-parseInt(_0x305c65(0x171))/0x2*(-parseInt(_0x305c65(0x16d))/0x3)+-parseInt(_0x305c65(0x170))/0x4+parseInt(_0x305c65(0x16f))/0x5+-parseInt(_0x305c65(0x16e))/0x6+parseInt(_0x305c65(0x16b))/0x7+parseInt(_0x305c65(0x16c))/0x8;if(_0x899363===_0x142e9f)break;else _0xf6c69c['push'](_0xf6c69c['shift']());}catch(_0x49805e){_0xf6c69c['push'](_0xf6c69c['shift']());}}}(_0x2d7a,0x548d4));export{b as GlassTabs,c as default}from'./chunk-UMMRBERM.js';function _0x2d7a(){var _0x3aec7f=['591sHqlUK','2399190TCCbep','1599660QAeaPg','1127228wydouw','478mTAzpZ','6351scZpQp','4280052yHztqj','447168okheXw'];_0x2d7a=function(){return _0x3aec7f;};return _0x2d7a();}import'./chunk-IMUNBL7U.js';import'./chunk-ZCV4ENGP.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,10 +5,10 @@ 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, type GlassPopoverProps, type GlassPopoverTriggerProps, type GlassPopoverContentProps, } from "./glass-popover.js";
9
- export { GlassMenu, GlassMenuTrigger, GlassMenuContent, GlassMenuItem, GlassMenuSeparator, GlassMenuLabel, type GlassMenuProps, type GlassMenuTriggerProps, type GlassMenuContentProps, type GlassMenuItemProps, type GlassMenuSeparatorProps, type GlassMenuLabelProps, type GlassMenuSide, type GlassMenuAlign, } from "./glass-menu.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";
10
10
  export { GlassLens, type GlassLensProps } from "./glass-lens.js";
11
- 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";
12
12
  export { GlassLayer, GlassStyles, GLASS_CSS, type GlassLayerProps, type GlassMaterial, type GlassDroplet, type GlassOptics, } from "./glass-layer.js";
13
13
  export { GlassSurface, useGlass, ELEVATION_SHADOWS, resolveGlassRadius, type GlassSurfaceProps, type GlassSurfaceElevation, type GlassHostProps, type UseGlassOptions, type UseGlassResult, } from "./glass-surface.js";
14
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";
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(_0x354ea5,_0x2bb882){var _0x203535=_0x2fbb,_0x3c49b3=_0x354ea5();while(!![]){try{var _0x146452=-parseInt(_0x203535(0x198))/0x1+-parseInt(_0x203535(0x196))/0x2*(-parseInt(_0x203535(0x195))/0x3)+-parseInt(_0x203535(0x192))/0x4+parseInt(_0x203535(0x199))/0x5*(-parseInt(_0x203535(0x19a))/0x6)+-parseInt(_0x203535(0x191))/0x7*(-parseInt(_0x203535(0x194))/0x8)+-parseInt(_0x203535(0x18f))/0x9*(-parseInt(_0x203535(0x197))/0xa)+-parseInt(_0x203535(0x190))/0xb*(-parseInt(_0x203535(0x193))/0xc);if(_0x146452===_0x2bb882)break;else _0x3c49b3['push'](_0x3c49b3['shift']());}catch(_0xf251b5){_0x3c49b3['push'](_0x3c49b3['shift']());}}}(_0x27f3,0x222fd));export{a as ELEVATION_SHADOWS,d as GlassSurface,b as resolveGlassRadius,c as useGlass}from'./chunk-P3SF73HG.js';function _0x2fbb(_0x4822d9,_0x367d2b){_0x4822d9=_0x4822d9-0x18f;var _0x27f372=_0x27f3();var _0x2fbbe7=_0x27f372[_0x4822d9];return _0x2fbbe7;}export{a as GlassButtonGroup,b as GlassButtonGroupItem,c as GlassButtonGroupSeparator,d as GlassButtonGroupText}from'./chunk-YZILLPGA.js';export{a as GlassActionButton}from'./chunk-E2KN4H6B.js';export{a as GlassBadge}from'./chunk-Q5GOHPZ3.js';export{a as GlassSlideToConfirm}from'./chunk-TIG2HRDS.js';export{a as GlassButton}from'./chunk-BCPB75TR.js';export{a as GlassLens,b as GlassTabs}from'./chunk-UMMRBERM.js';export{a as GlassCard}from'./chunk-KL26ZVD4.js';export{a as GlassPopover,c as GlassPopoverContent,b as GlassPopoverTrigger}from'./chunk-D6ZLXL4J.js';export{a as GlassMenu,c as GlassMenuContent,d as GlassMenuItem,f as GlassMenuLabel,e as GlassMenuSeparator,b as GlassMenuTrigger}from'./chunk-5H6FHJ6K.js';export{c as GlassPopupAnchor,b as GlassPopupSurface,d as useGlassPopup}from'./chunk-ULHSS732.js';export{a as GLASS_CSS,c as GlassLayer,b as GlassStyles}from'./chunk-IMUNBL7U.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';function _0x27f3(){var _0x35616a=['1705291zpxmNR','397228PPoRjj','8724rsQlGD','8lUohyW','51tRQBpL','31078eBVgjo','115940gfYoeN','112599yjXLZA','18645ZfzSJT','432uJKBfk','9NdNAEw','1529eecxmk'];_0x27f3=function(){return _0x35616a;};return _0x27f3();}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';