@vitrumui/react 2.1.0 → 2.2.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 (68) hide show
  1. package/dist/chunk-2ASVBPU4.js +2 -0
  2. package/dist/chunk-3IIHEP6U.js +2 -0
  3. package/dist/chunk-4NMYG4TZ.js +2 -0
  4. package/dist/chunk-5RKCH57V.js +2 -0
  5. package/dist/chunk-5WUTOVNB.js +2 -0
  6. package/dist/chunk-CUPBYLM4.js +2 -0
  7. package/dist/chunk-EAZ62QSO.js +2 -0
  8. package/dist/chunk-EVRORS2V.js +2 -0
  9. package/dist/chunk-JQBQXLGN.js +2 -0
  10. package/dist/chunk-LMO3IKGQ.js +2 -0
  11. package/dist/chunk-LZNPHZ4X.js +2 -0
  12. package/dist/chunk-NKRH4Q2H.js +2 -0
  13. package/dist/chunk-TUMBPPSO.js +2 -0
  14. package/dist/chunk-VVSLSFDY.js +2 -0
  15. package/dist/chunk-XVVYMZ5F.js +2 -0
  16. package/dist/chunk-ZW3IR2KQ.js +2 -0
  17. package/dist/controls/Checkbox.d.ts +16 -3
  18. package/dist/controls/Checkbox.js +1 -1
  19. package/dist/controls/RangeSlider.d.ts +10 -2
  20. package/dist/controls/RangeSlider.js +1 -1
  21. package/dist/controls/Switch.d.ts +11 -2
  22. package/dist/controls/Switch.js +1 -1
  23. package/dist/controls/glass/runtime.d.ts +88 -0
  24. package/dist/controls/shared.d.ts +25 -1
  25. package/dist/glass-action-button.js +1 -1
  26. package/dist/glass-badge.d.ts +4 -2
  27. package/dist/glass-badge.js +1 -1
  28. package/dist/glass-button-group.js +1 -1
  29. package/dist/glass-button.d.ts +2 -2
  30. package/dist/glass-button.js +1 -1
  31. package/dist/glass-card.js +1 -1
  32. package/dist/glass-dropdown-menu.js +1 -1
  33. package/dist/glass-droplet-row.d.ts +3 -0
  34. package/dist/glass-layer.d.ts +45 -3
  35. package/dist/glass-menu.js +1 -1
  36. package/dist/glass-popover.js +1 -1
  37. package/dist/glass-popup.d.ts +15 -1
  38. package/dist/glass-search.d.ts +11 -1
  39. package/dist/glass-search.js +1 -1
  40. package/dist/glass-select.js +1 -1
  41. package/dist/glass-slide-to-confirm.d.ts +20 -5
  42. package/dist/glass-slide-to-confirm.js +1 -1
  43. package/dist/glass-surface.d.ts +9 -1
  44. package/dist/glass-surface.js +1 -1
  45. package/dist/glass-tabs.d.ts +4 -3
  46. package/dist/glass-tabs.js +1 -1
  47. package/dist/index.js +1 -1
  48. package/dist/runtime-OC3NF25O.js +2 -0
  49. package/dist/styles.css +1 -1
  50. package/dist/theme.d.ts +10 -2
  51. package/dist/theme.js +1 -1
  52. package/package.json +9 -7
  53. package/dist/chunk-64FU3V6M.js +0 -2
  54. package/dist/chunk-6WKVAPHT.js +0 -2
  55. package/dist/chunk-E47S3IAV.js +0 -2
  56. package/dist/chunk-E5F7TQ7I.js +0 -2
  57. package/dist/chunk-G4DHIVZ3.js +0 -2
  58. package/dist/chunk-IY3Z3YRE.js +0 -2
  59. package/dist/chunk-JX2YNK3K.js +0 -2
  60. package/dist/chunk-LEGYEZLT.js +0 -2
  61. package/dist/chunk-MPLXH7C7.js +0 -2
  62. package/dist/chunk-NFXA7OZV.js +0 -2
  63. package/dist/chunk-QRP4FKTZ.js +0 -2
  64. package/dist/chunk-RNQ7YPHJ.js +0 -2
  65. package/dist/chunk-YOR2LMKG.js +0 -2
  66. package/dist/chunk-YZKUQ6ID.js +0 -2
  67. package/dist/chunk-ZCV4ENGP.js +0 -2
  68. package/dist/runtime-WIL6WCEJ.js +0 -2
@@ -1,7 +1,14 @@
1
+ import { type ComponentProps } from "react";
1
2
  import { type Theme } from "./shared.js";
2
- export type SwitchProps = {
3
+ export type SwitchProps = Omit<ComponentProps<"button">, "onChange" | "children" | "value" | "defaultValue" | "defaultChecked" | "type" | "role" | "color"> & {
4
+ /** On or off, controlled: the switch shows this and reports changes through `onCheckedChange`. */
3
5
  checked?: boolean;
6
+ /** Where an uncontrolled switch starts (default `false`). */
7
+ defaultChecked?: boolean;
8
+ onCheckedChange?: (checked: boolean) => void;
9
+ /** @deprecated Use `onCheckedChange`; `onChange` stays as an alias until 3.0. */
4
10
  onChange?: (checked: boolean) => void;
11
+ /** The visible label. Without one, give the switch an `aria-label` or `aria-labelledby`. */
5
12
  label?: string;
6
13
  description?: string;
7
14
  theme?: Theme;
@@ -14,6 +21,8 @@ export type SwitchProps = {
14
21
  lensScale?: number;
15
22
  refraction?: number;
16
23
  knobBounce?: number;
24
+ /** On the outermost element. `ref` and the other props go to the switch itself (the button). */
25
+ className?: string;
17
26
  };
18
- export declare function Switch({ checked, onChange, label, description, theme, color, size, labelSide, disabled, lensScale, refraction, knobBounce, }: SwitchProps): import("react").JSX.Element;
27
+ export declare function Switch({ checked, defaultChecked, onCheckedChange, onChange, label, description, theme, color, size, labelSide, disabled, lensScale, refraction, knobBounce, className, id: idProp, ...rest }: SwitchProps): import("react").JSX.Element;
19
28
  export default Switch;
@@ -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 _0xc42d20=_0x56d7;function _0x56d7(_0x44ba9b,_0x5654bf){_0x44ba9b=_0x44ba9b-0xaa;const _0xe30ab7=_0xe30a();let _0x56d72e=_0xe30ab7[_0x44ba9b];return _0x56d72e;}(function(_0x2a060d,_0x1e27c4){const _0x4b50dd=_0x56d7,_0x2b7ece=_0x2a060d();while(!![]){try{const _0x33ca20=parseInt(_0x4b50dd(0xb3))/0x1+parseInt(_0x4b50dd(0xad))/0x2*(-parseInt(_0x4b50dd(0xb5))/0x3)+parseInt(_0x4b50dd(0xb8))/0x4*(-parseInt(_0x4b50dd(0xc1))/0x5)+parseInt(_0x4b50dd(0xc8))/0x6*(-parseInt(_0x4b50dd(0xc9))/0x7)+-parseInt(_0x4b50dd(0xb2))/0x8+-parseInt(_0x4b50dd(0xb9))/0x9+parseInt(_0x4b50dd(0xb0))/0xa*(parseInt(_0x4b50dd(0xb1))/0xb);if(_0x33ca20===_0x1e27c4)break;else _0x2b7ece['push'](_0x2b7ece['shift']());}catch(_0x5acb33){_0x2b7ece['push'](_0x2b7ece['shift']());}}}(_0xe30a,0x3d916));import{m,l,b,f,c,g,h,d,e,n,i}from'../chunk-E5F7TQ7I.js';function _0xe30a(){const _0x4c1c69=['1007098RVOkwh','current','button','10sGhSFY','11304623Msjnxn','1848080WKcKVr','91580IJxhUw','true','3IMjape','press','startPos','445080RwuRfR','178308rCIPhs','startX','concat','flex-row-reverse','moved','omega','pos','top','5UpDOPB','label','abs','bottom','relative\x20shrink-0\x20cursor-pointer\x20touch-none\x20rounded-full\x20disabled:cursor-not-allowed\x20disabled:opacity-40\x20','currentTarget','pointerId','174lvRbRT','350oZncJy','right','text-[12px]\x20text-neutral-500','dragPos','pointer-events-none\x20absolute','relative\x20flex\x20cursor-pointer\x20flex-col\x20select-none','inline-flex','#ffffff','Notifications','#e9ebef','clientX','pressed','span','left'];_0xe30a=function(){return _0x4c1c69;};return _0xe30a();}import{useId,useRef}from'react';import{jsxs,jsx}from'react/jsx-runtime';var s={'w':0x89,'h':0x3c},a={'w':0x51,'h':0x33},k=(s['h']-a['h'])/0x2,o={'x':0x3c,'top':0x32,'bottom':0x82},et={'sm':0x16,'md':0x1c,'lg':0x24};function nt({checked:_0x534c29=![],onChange:_0x327789,label:_0x466b93=_0xc42d20(0xd1),description:_0x3bff9a,theme:_0x1d22e4,color:_0x4b6866,size:_0x94ef9d='md',labelSide:_0x413d58=_0xc42d20(0xca),disabled:_0x2e2cac=![],lensScale:_0x527d60=1.55,refraction:_0x592b57=0x1a,knobBounce:_0x54229c=0.3}){const _0x11f015=_0xc42d20;let _0x458f59=useId(),[_0xdf534d,_0x4cb86a]=m(_0x534c29,_0x327789),_0x2f714f=et[_0x94ef9d]/s['h'],_0x522a51=s['w']*_0x2f714f,_0x5bc1be=s['h']*_0x2f714f,_0x16ae20=s['w']-a['w']-k*0x2,_0x13b5b9=useRef({'pos':{'x':_0xdf534d?0x1:0x0,'v':0x0},'press':{'x':0x0,'v':0x0},'pressed':![],'dragPos':null}),_0x1855fe=useRef(null),_0x3089de=useRef(![]),{canvasRef:_0x1eec22,ready:_0x42cef8}=l({'width':(s['w']+o['x']*0x2)*_0x2f714f,'height':(s['h']+o[_0x11f015(0xc0)]+o['bottom'])*_0x2f714f,'unit':_0x2f714f,'cursorLight':!![],'step'(_0x324029,_0x17bcfc){const _0xcb7334=_0x11f015;let _0x247ff6=_0x13b5b9[_0xcb7334(0xae)],_0x1e3e5d=_0x247ff6[_0xcb7334(0xcc)]??(_0xdf534d?0x1:0x0);if(_0x17bcfc)return _0x247ff6[_0xcb7334(0xbf)]={'x':_0x1e3e5d,'v':0x0},_0x247ff6[_0xcb7334(0xb6)]={'x':_0x247ff6['pressed']?0x1:0x0,'v':0x0},![];let _0x1a55fe=_0x247ff6[_0xcb7334(0xcc)]===null&&Math[_0xcb7334(0xc3)](_0x247ff6['pos']['x']-_0x1e3e5d)>0.08,_0xec8430=_0x247ff6['dragPos']!==null?d(_0x247ff6[_0xcb7334(0xbf)],_0x1e3e5d,0x28,0x1,_0x324029):d(_0x247ff6[_0xcb7334(0xbf)],_0x1e3e5d,0xf,0x1-_0x54229c,_0x324029),_0x139375=d(_0x247ff6['press'],_0x247ff6[_0xcb7334(0xaa)]||_0x1a55fe?0x1:0x0,e[_0xcb7334(0xbe)],e['zeta'],_0x324029);return _0xec8430||_0x139375;},'draw'(_0x2fd43e,_0x5de9b2,_0x34b1f7){const _0x304fef=_0x11f015;let _0x5b24c5=_0x13b5b9[_0x304fef(0xae)];b(_0x2fd43e,{'x':o['x']*_0x2f714f,'y':(o[_0x304fef(0xc0)]+s['h']/0x2)*_0x2f714f,'length':_0x522a51,'height':_0x5bc1be,'fillEnd':(o['x']+s['w'])*_0x2f714f,'track':_0x34b1f7['track'],'accent':_0x4b6866??_0x34b1f7['accent'],'fillOpacity':f(_0x5b24c5[_0x304fef(0xbf)]['x'])});let _0x5f5b7c=a['h']*_0x527d60/0x78,_0x403452={...c(g,_0x5f5b7c),'refraction':_0x592b57,'cornerRadius':0x3e7};return{...h(_0x5b24c5['press']['x'],a,{'w':a['w']*_0x527d60,'h':a['h']*_0x527d60},0x1,_0x403452),'x':o['x']+k+a['w']/0x2+_0x5b24c5[_0x304fef(0xbf)]['x']*_0x16ae20,'y':o['top']+s['h']/0x2,'stretchX':0x1,'stretchY':0x1,'shiftX':0x0,'frostCenter':_0x304fef(0xd0),'frostEdge':_0x304fef(0xd2)};}}),_0x58d981=_0x13cc26=>_0x13cc26[_0x11f015(0xd3)]-_0x13cc26[_0x11f015(0xc6)]['getBoundingClientRect']()[_0x11f015(0xac)],_0x58a94b=_0x5b73a3=>{const _0x19bbbf=_0x11f015;_0x2e2cac||_0x5b73a3['button']!==0x0||(_0x5b73a3[_0x19bbbf(0xc6)]['setPointerCapture'](_0x5b73a3[_0x19bbbf(0xc7)]),_0x13b5b9[_0x19bbbf(0xae)][_0x19bbbf(0xaa)]=!![],_0x1855fe['current']={'startX':_0x58d981(_0x5b73a3),'startPos':_0xdf534d?0x1:0x0,'moved':![]});},_0x227a3b=_0x2b5067=>{const _0x1939e1=_0x11f015;let _0x171bdf=_0x1855fe['current'];if(!_0x171bdf)return;let _0x1bf97a=_0x58d981(_0x2b5067)-_0x171bdf[_0x1939e1(0xba)];!_0x171bdf[_0x1939e1(0xbd)]&&Math[_0x1939e1(0xc3)](_0x1bf97a)<0x3||(_0x171bdf['moved']=!![],_0x13b5b9['current']['dragPos']=f(_0x171bdf[_0x1939e1(0xb7)]+_0x1bf97a/(_0x16ae20*_0x2f714f)));},_0xb272c=()=>{const _0x11037a=_0x11f015;let _0x1028fc=_0x1855fe[_0x11037a(0xae)];_0x1855fe['current']=null;let _0x223ea9=_0x13b5b9[_0x11037a(0xae)];if(_0x223ea9[_0x11037a(0xaa)]=![],!_0x1028fc)return;let _0x1696c8=_0x1028fc['moved']?(_0x223ea9[_0x11037a(0xcc)]??0x0)>0.5:!_0xdf534d;_0x223ea9[_0x11037a(0xcc)]=null,_0x3089de['current']=!![],_0x4cb86a(_0x1696c8);},_0x55fb73=jsxs(_0x11f015(0xaf),{'id':_0x458f59,'type':'button','role':'switch','aria-checked':_0xdf534d,'disabled':_0x2e2cac,'onClick':()=>{_0x3089de['current']?_0x3089de['current']=![]:_0x4cb86a(!_0xdf534d);},'onPointerDown':_0x58a94b,'onPointerMove':_0x227a3b,'onPointerUp':_0xb272c,'onPointerCancel':_0xb272c,'className':_0x11f015(0xc5)['concat'](n),'style':{'width':_0x522a51,'height':_0x5bc1be},'children':[!_0x42cef8&&jsx(i,{'on':_0xdf534d,'color':_0x4b6866,'width':_0x522a51,'height':_0x5bc1be,'knob':{'w':a['w']*_0x2f714f,'h':a['h']*_0x2f714f},'pad':k*_0x2f714f}),jsx('canvas',{'ref':_0x1eec22,'data-vt-ready':_0x42cef8?'':void 0x0,'aria-hidden':_0x11f015(0xb4),'className':_0x11f015(0xcd),'style':{'left':-0x3c*_0x2f714f,'top':-0x32*_0x2f714f,'width':(s['w']+o['x']*0x2)*_0x2f714f,'height':(s['h']+o['top']+o[_0x11f015(0xc4)])*_0x2f714f}})]});return _0x466b93?jsxs('div',{'data-theme':_0x1d22e4,'className':'inline-flex\x20items-center\x20gap-3\x20'[_0x11f015(0xbb)](_0x413d58===_0x11f015(0xac)?_0x11f015(0xbc):''),'children':[_0x55fb73,jsxs(_0x11f015(0xc2),{'htmlFor':_0x458f59,'className':_0x11f015(0xce),'children':[jsx('span',{'className':'text-[13px]\x20font-medium\x20text-neutral-900\x20dark:text-white','children':_0x466b93}),_0x3bff9a&&jsx(_0x11f015(0xab),{'className':_0x11f015(0xcb),'children':_0x3bff9a})]})]}):jsx('span',{'data-theme':_0x1d22e4,'className':_0x11f015(0xcf),'children':_0x55fb73});}var ut=nt;export{nt as Switch,ut as default};
3
+ function _0x120d(){const _0x2895fb=['switch','current','pointer-events-none\x20absolute','checked','pos','inline-flex\x20items-center\x20gap-3\x20','569035YEwYbj','144BmPXIJ','accent','aria-label','#ffffff','8Wamqih','button','top','onClick','104820NXLywv','#e9ebef','onCheckedChange','dragPos','1073592aLdUlN','aria-labelledby','9429417lcFuLK','omega','startPos','64687qPzTQa','pressed','relative\x20shrink-0\x20cursor-pointer\x20touch-none\x20rounded-full\x20disabled:cursor-not-allowed\x20disabled:opacity-40\x20','relative\x20flex\x20cursor-pointer\x20flex-col\x20select-none','onPointerCancel','Switch','span','pointerId','div','concat','zeta','currentTarget','349432qLeKAY','635718rdEktO','moved','bottom','press'];_0x120d=function(){return _0x2895fb;};return _0x120d();}(function(_0x3788cf,_0x4ff1bb){const _0xdd9597=_0x2ff2,_0x42e050=_0x3788cf();while(!![]){try{const _0x341bdd=parseInt(_0xdd9597(0x10a))/0x1+parseInt(_0xdd9597(0x10b))/0x2+parseInt(_0xdd9597(0x122))/0x3+-parseInt(_0xdd9597(0x11e))/0x4+parseInt(_0xdd9597(0x115))/0x5+parseInt(_0xdd9597(0x116))/0x6*(parseInt(_0xdd9597(0x127))/0x7)+parseInt(_0xdd9597(0x11a))/0x8*(-parseInt(_0xdd9597(0x124))/0x9);if(_0x341bdd===_0x4ff1bb)break;else _0x42e050['push'](_0x42e050['shift']());}catch(_0x7e695){_0x42e050['push'](_0x42e050['shift']());}}}(_0x120d,0x4606c));import{l,b,f,c as _0x141e1d,g,h,d,e,i}from'../chunk-NKRH4Q2H.js';import{a as _0x339a3f,c,d as _0x397f59,b as _0xe8f72f}from'../chunk-TUMBPPSO.js';import{useId,useRef}from'react';import{jsxs,jsx}from'react/jsx-runtime';var s={'w':0x89,'h':0x3c},a={'w':0x51,'h':0x33},S=(s['h']-a['h'])/0x2,o={'x':0x3c,'top':0x32,'bottom':0x82},ie={'sm':0x16,'md':0x1c,'lg':0x24};function de({checked:_0x5cf9d5,defaultChecked:_0x44395e=![],onCheckedChange:_0x512efb,onChange:_0x30aea4,label:_0x30fe49,description:_0x50f401,theme:_0x422502,color:_0x5382d8,size:_0x35c51f='md',labelSide:_0x4c2fee='right',disabled:_0x57fab9=![],lensScale:_0x582579=1.55,refraction:_0x5b627f=0x1a,knobBounce:_0x23b064=0.3,className:_0x44c0a8='',id:_0x2d68b6,..._0x2a0af2}){const _0x1c7fc2=_0x2ff2;let _0x596964=useId(),_0x12a342=_0x2d68b6??_0x596964,[_0x355128,_0x580220]=_0x339a3f(_0x5cf9d5,_0x44395e,_0x2cc22e=>{_0x512efb?.(_0x2cc22e),_0x30aea4?.(_0x2cc22e);},{'hasHandler':!!(_0x512efb||_0x30aea4),'component':'Switch','prop':_0x1c7fc2(0x112),'defaultProp':'defaultChecked','handler':_0x1c7fc2(0x120)});c(_0x1c7fc2(0x103),_0x30fe49||_0x2a0af2[_0x1c7fc2(0x118)]||_0x2a0af2[_0x1c7fc2(0x123)]);let _0xd2e1ad=ie[_0x35c51f]/s['h'],_0x4d19b2=s['w']*_0xd2e1ad,_0x5ce05c=s['h']*_0xd2e1ad,_0x54fc04=s['w']-a['w']-S*0x2,_0x27e384=useRef({'pos':{'x':_0x355128?0x1:0x0,'v':0x0},'press':{'x':0x0,'v':0x0},'pressed':![],'dragPos':null}),_0x58f358=useRef(null),_0x411966=useRef(![]),{canvasRef:_0x3129d1,ready:_0x1269b7}=l({'width':(s['w']+o['x']*0x2)*_0xd2e1ad,'height':(s['h']+o[_0x1c7fc2(0x11c)]+o[_0x1c7fc2(0x10d)])*_0xd2e1ad,'unit':_0xd2e1ad,'cursorLight':!![],'step'(_0x3fd427,_0x5efd89){const _0x52cde4=_0x1c7fc2;let _0x1b7701=_0x27e384['current'],_0x4fc1fc=_0x1b7701['dragPos']??(_0x355128?0x1:0x0);if(_0x5efd89)return _0x1b7701['pos']={'x':_0x4fc1fc,'v':0x0},_0x1b7701[_0x52cde4(0x10e)]={'x':_0x1b7701[_0x52cde4(0x128)]?0x1:0x0,'v':0x0},![];let _0x44da92=_0x1b7701['dragPos']===null&&Math['abs'](_0x1b7701['pos']['x']-_0x4fc1fc)>0.08,_0xb1854f=_0x1b7701['dragPos']!==null?d(_0x1b7701['pos'],_0x4fc1fc,0x28,0x1,_0x3fd427):d(_0x1b7701[_0x52cde4(0x113)],_0x4fc1fc,0xf,0x1-_0x23b064,_0x3fd427),_0x310c41=d(_0x1b7701['press'],_0x1b7701['pressed']||_0x44da92?0x1:0x0,e[_0x52cde4(0x125)],e[_0x52cde4(0x108)],_0x3fd427);return _0xb1854f||_0x310c41;},'draw'(_0x6b4951,_0x14546c,_0x97593f){const _0xe89a7d=_0x1c7fc2;let _0x45f31c=_0x27e384['current'];b(_0x6b4951,{'x':o['x']*_0xd2e1ad,'y':(o[_0xe89a7d(0x11c)]+s['h']/0x2)*_0xd2e1ad,'length':_0x4d19b2,'height':_0x5ce05c,'fillEnd':(o['x']+s['w'])*_0xd2e1ad,'track':_0x97593f['track'],'accent':_0x5382d8??_0x97593f[_0xe89a7d(0x117)],'fillOpacity':f(_0x45f31c['pos']['x'])});let _0x38ec6b=a['h']*_0x582579/0x78,_0xbd43f8={..._0x141e1d(g,_0x38ec6b),'refraction':_0x5b627f,'cornerRadius':0x3e7};return{...h(_0x45f31c['press']['x'],a,{'w':a['w']*_0x582579,'h':a['h']*_0x582579},0x1,_0xbd43f8),'x':o['x']+S+a['w']/0x2+_0x45f31c[_0xe89a7d(0x113)]['x']*_0x54fc04,'y':o['top']+s['h']/0x2,'stretchX':0x1,'stretchY':0x1,'shiftX':0x0,'frostCenter':_0xe89a7d(0x119),'frostEdge':_0xe89a7d(0x11f)};}}),_0x31fe8d=_0x2881d9=>_0x2881d9['clientX']-_0x2881d9['currentTarget']['getBoundingClientRect']()['left'],_0x4d841b=_0x4c2c20=>{const _0x22f587=_0x1c7fc2;_0x57fab9||_0x4c2c20[_0x22f587(0x11b)]!==0x0||(_0x4c2c20[_0x22f587(0x109)]['setPointerCapture'](_0x4c2c20[_0x22f587(0x105)]),_0x27e384[_0x22f587(0x110)][_0x22f587(0x128)]=!![],_0x58f358['current']={'startX':_0x31fe8d(_0x4c2c20),'startPos':_0x355128?0x1:0x0,'moved':![]});},_0x5710f5=_0x216a2d=>{const _0x403e24=_0x1c7fc2;let _0x1c8438=_0x58f358[_0x403e24(0x110)];if(!_0x1c8438)return;let _0x4e4a45=_0x31fe8d(_0x216a2d)-_0x1c8438['startX'];!_0x1c8438[_0x403e24(0x10c)]&&Math['abs'](_0x4e4a45)<0x3||(_0x1c8438[_0x403e24(0x10c)]=!![],_0x27e384[_0x403e24(0x110)][_0x403e24(0x121)]=f(_0x1c8438[_0x403e24(0x126)]+_0x4e4a45/(_0x54fc04*_0xd2e1ad)));},_0x47034e=()=>{const _0x2b1746=_0x1c7fc2;let _0x517c44=_0x58f358['current'];_0x58f358[_0x2b1746(0x110)]=null;let _0x7e46b2=_0x27e384[_0x2b1746(0x110)];if(_0x7e46b2[_0x2b1746(0x128)]=![],!_0x517c44)return;let _0x35089e=_0x517c44[_0x2b1746(0x10c)]?(_0x7e46b2[_0x2b1746(0x121)]??0x0)>0.5:!_0x355128;_0x7e46b2['dragPos']=null,_0x411966['current']=!![],_0x580220(_0x35089e);},_0x292ebb=jsxs(_0x1c7fc2(0x11b),{..._0x2a0af2,'id':_0x12a342,'type':_0x1c7fc2(0x11b),'role':_0x1c7fc2(0x10f),'aria-checked':_0x355128,'disabled':_0x57fab9,'onClick':_0xe8f72f(()=>{_0x411966['current']?_0x411966['current']=![]:_0x580220(!_0x355128);},_0x2a0af2[_0x1c7fc2(0x11d)]),'onPointerDown':_0xe8f72f(_0x4d841b,_0x2a0af2['onPointerDown']),'onPointerMove':_0xe8f72f(_0x5710f5,_0x2a0af2['onPointerMove']),'onPointerUp':_0xe8f72f(_0x47034e,_0x2a0af2['onPointerUp']),'onPointerCancel':_0xe8f72f(_0x47034e,_0x2a0af2[_0x1c7fc2(0x102)]),'className':_0x1c7fc2(0x129)['concat'](_0x397f59),'style':{'width':_0x4d19b2,'height':_0x5ce05c},'children':[!_0x1269b7&&jsx(i,{'on':_0x355128,'color':_0x5382d8,'width':_0x4d19b2,'height':_0x5ce05c,'knob':{'w':a['w']*_0xd2e1ad,'h':a['h']*_0xd2e1ad},'pad':S*_0xd2e1ad}),jsx('canvas',{'ref':_0x3129d1,'data-vt-ready':_0x1269b7?'':void 0x0,'aria-hidden':'true','className':_0x1c7fc2(0x111),'style':{'left':-0x3c*_0xd2e1ad,'top':-0x32*_0xd2e1ad,'width':(s['w']+o['x']*0x2)*_0xd2e1ad,'height':(s['h']+o[_0x1c7fc2(0x11c)]+o['bottom'])*_0xd2e1ad}})]});return _0x30fe49?jsxs(_0x1c7fc2(0x106),{'data-theme':_0x422502,'className':_0x1c7fc2(0x114)[_0x1c7fc2(0x107)](_0x4c2fee==='left'?'flex-row-reverse':'','\x20')['concat'](_0x44c0a8),'children':[_0x292ebb,jsxs('label',{'htmlFor':_0x12a342,'className':_0x1c7fc2(0x101),'children':[jsx('span',{'className':'text-[13px]\x20font-medium\x20text-neutral-900\x20dark:text-white','children':_0x30fe49}),_0x50f401&&jsx('span',{'className':'text-[12px]\x20text-neutral-500','children':_0x50f401})]})]}):jsx(_0x1c7fc2(0x104),{'data-theme':_0x422502,'className':'inline-flex\x20'['concat'](_0x44c0a8),'children':_0x292ebb});}function _0x2ff2(_0x15d2b0,_0x2d4f79){_0x15d2b0=_0x15d2b0-0x101;const _0x120de4=_0x120d();let _0x2ff2cc=_0x120de4[_0x15d2b0];return _0x2ff2cc;}var we=de;export{de as Switch,we as default};
@@ -1,3 +1,4 @@
1
+ import { type Spring } from "@vitrumui/core/internal";
1
2
  import type { LensState } from "./physics.js";
2
3
  import { type GlassThemeName, type GlassTokens } from "./tokens.js";
3
4
  export type GlassViewSpec = {
@@ -26,8 +27,95 @@ export type GlassViewHandle = {
26
27
  invalidate: () => void;
27
28
  dispose: () => void;
28
29
  stats: () => GlassViewStats;
30
+ /**
31
+ * Called with `true` once a frame of glass is on the canvas, and with `false` when the GPU
32
+ * context is lost (the control shows its CSS look until the glass is back). Called at once
33
+ * with where it stands now.
34
+ */
35
+ watch: (fn: (drawn: boolean) => void) => void;
36
+ };
37
+ type View = {
38
+ canvas: HTMLCanvasElement;
39
+ ctx: CanvasRenderingContext2D;
40
+ spec: () => GlassViewSpec;
41
+ bgCanvas: HTMLCanvasElement;
42
+ fgCanvas: HTMLCanvasElement;
43
+ bgTex: any;
44
+ fgTex: any;
45
+ /** This view's uniform values. Copied into the shared material's uniforms before it draws. */
46
+ u: ReturnType<typeof createUniforms>;
47
+ devW: number;
48
+ devH: number;
49
+ dpr: number;
50
+ dirty: boolean;
51
+ visible: boolean;
52
+ ready: boolean;
53
+ /** Renders left to confirm the first frame really reached the canvas. */
54
+ verifyLeft: number;
55
+ surface: string;
56
+ /** Last lens centre in design units, for aiming the cursor light. */
57
+ lensX: number;
58
+ lensY: number;
59
+ /** Where the cursor light last pointed, in half degrees (9999 = nowhere yet). */
60
+ aim: number;
61
+ /** Last lens half size in design units, as drawn (0 while it is hidden). */
62
+ lensHx: number;
63
+ lensHy: number;
64
+ /** Pointer light (LIGHT in engine.ts): how bright, where from the lens centre (CSS px), and why. */
65
+ light: {
66
+ glow: Spring;
67
+ x: number;
68
+ y: number;
69
+ press: boolean;
70
+ key: boolean;
71
+ };
72
+ renders: number;
73
+ renderMs: number;
74
+ /** A frame of glass is on the canvas now (false again while the context is lost). */
75
+ shown: boolean;
76
+ /** Told when `shown` changes (GlassViewHandle.watch). */
77
+ drawn?: (shown: boolean) => void;
78
+ };
79
+ declare function createUniforms(): {
80
+ size: any;
81
+ unit: any;
82
+ devicePx: any;
83
+ blurShift: any;
84
+ center: any;
85
+ half: any;
86
+ radius: any;
87
+ bevel: any;
88
+ refract: any;
89
+ mag: any;
90
+ disp: any;
91
+ blurC: any;
92
+ blurE: any;
93
+ frost: any;
94
+ rim: any;
95
+ caustic: any;
96
+ inner: any;
97
+ topRefl: any;
98
+ shOp: any;
99
+ shSoft: any;
100
+ shOff: any;
101
+ stretch: any;
102
+ shift: any;
103
+ frostCenter: any;
104
+ frostEdge: any;
105
+ surface: any;
106
+ lensOn: any;
107
+ lightDir: any;
108
+ lightMix: any;
109
+ light: any;
110
+ fgHide: any;
29
111
  };
30
112
  /** Lazily creates the shared renderer (client only). */
31
113
  export declare function getGlassRuntime(): Promise<{
114
+ wake: () => void;
115
+ adopt: (view: View, fresh?: boolean) => Promise<void>;
116
+ drop(view: View): void;
117
+ /** Takes this runtime apart, leaving the context to the next one, and hands back its views. */
118
+ dispose(): View[];
32
119
  createView(canvas: HTMLCanvasElement, spec: () => GlassViewSpec): Promise<GlassViewHandle>;
33
120
  }>;
121
+ export {};
@@ -1,6 +1,30 @@
1
1
  /** Per-component theme override; omit it to follow the page (data-theme="dark" or class="dark"). */
2
2
  export type Theme = "light" | "dark";
3
- export declare function useSyncedState<T>(value: T, onChange?: (value: T) => void): readonly [T, (next: T) => void];
3
+ /**
4
+ * The standard controlled/uncontrolled pattern (A4-03): pass `value` with a change handler and
5
+ * the component shows it and only reports changes (a parent that rejects one keeps the control
6
+ * where it was); leave it out and the component keeps its own state, starting at `defaultValue`.
7
+ *
8
+ * `value` WITHOUT a handler keeps the 2.1 behaviour: it is only where the control starts (and
9
+ * where it goes when the prop changes), and the control still moves on its own. Development
10
+ * builds warn once per component type. This fallback is removed in 3.0 (docs/sdlc/REMOVALS-3.0.md).
11
+ */
12
+ export declare function useControllableState<T>(value: T | undefined, defaultValue: T, onChange: ((value: T) => void) | undefined, fallback: {
13
+ hasHandler: boolean;
14
+ component: string;
15
+ prop: string;
16
+ defaultProp: string;
17
+ handler: string;
18
+ }): readonly [T, (next: T) => void];
19
+ /** Test helper: forget which components have warned about a value without a handler. */
20
+ export declare function __resetFallbackWarnings(): void;
21
+ /** Calls both handlers: the component's own first, then the one passed in. */
22
+ export declare function chain<E>(own: (e: E) => void, theirs: ((e: E) => void) | undefined): (e: E) => void;
23
+ /**
24
+ * Warns once, in development only, when a control has no accessible name: no `label`, no
25
+ * `aria-label` and no `aria-labelledby` (A4-02). There are no default labels any more.
26
+ */
27
+ export declare function useNameWarning(component: string, named: boolean | string | undefined): void;
4
28
  export declare const focusRing = "focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-[#3291FF]";
5
29
  export declare function useElementSize<T extends HTMLElement>(): readonly [import("react").RefObject<T | null>, {
6
30
  width: number;
@@ -1,3 +1,3 @@
1
1
  "use client";
2
2
  /*! Vitrum © 2026 Onuzulike Anthony Ifechukwu. All rights reserved. Includes Liquid Glass UI © 2026 Bilal Abdullah Gürşen (MIT), see THIRD_PARTY_NOTICES.md */
3
- function _0x3f43(){var _0x2314f7=['806800rZhsML','2023848lCnXBZ','7rEfOkB','386496wzDnvK','8174862VYNTSk','642959NSKfWB','6054522lAQuGZ','3035487iPxiJo','5qnRZcn'];_0x3f43=function(){return _0x2314f7;};return _0x3f43();}(function(_0x544e43,_0x504d35){var _0x2b3460=_0x3608,_0x37ccac=_0x544e43();while(!![]){try{var _0x1a7133=parseInt(_0x2b3460(0xa6))/0x1+-parseInt(_0x2b3460(0xa2))/0x2+parseInt(_0x2b3460(0x9f))/0x3+parseInt(_0x2b3460(0xa4))/0x4+parseInt(_0x2b3460(0xa0))/0x5*(-parseInt(_0x2b3460(0xa7))/0x6)+-parseInt(_0x2b3460(0xa3))/0x7*(parseInt(_0x2b3460(0xa1))/0x8)+parseInt(_0x2b3460(0xa5))/0x9;if(_0x1a7133===_0x504d35)break;else _0x37ccac['push'](_0x37ccac['shift']());}catch(_0xfe33d9){_0x37ccac['push'](_0x37ccac['shift']());}}}(_0x3f43,0x8350d));export{a as GlassActionButton,b as default}from'./chunk-6WKVAPHT.js';function _0x3608(_0x4054ab,_0x191e16){_0x4054ab=_0x4054ab-0x9f;var _0x3f431d=_0x3f43();var _0x36080d=_0x3f431d[_0x4054ab];return _0x36080d;}import'./chunk-NFXA7OZV.js';import'./chunk-ZCV4ENGP.js';
3
+ (function(_0xcabca5,_0x5805f3){var _0x52da71=_0x33dc,_0x5850a4=_0xcabca5();while(!![]){try{var _0x43d279=-parseInt(_0x52da71(0xbb))/0x1*(parseInt(_0x52da71(0xb5))/0x2)+parseInt(_0x52da71(0xb4))/0x3+parseInt(_0x52da71(0xb9))/0x4+parseInt(_0x52da71(0xb3))/0x5+parseInt(_0x52da71(0xb8))/0x6+-parseInt(_0x52da71(0xb7))/0x7*(-parseInt(_0x52da71(0xb2))/0x8)+-parseInt(_0x52da71(0xba))/0x9*(parseInt(_0x52da71(0xb6))/0xa);if(_0x43d279===_0x5805f3)break;else _0x5850a4['push'](_0x5850a4['shift']());}catch(_0x52680c){_0x5850a4['push'](_0x5850a4['shift']());}}}(_0x5203,0x3f136));function _0x33dc(_0x3ae311,_0x5c7cd5){_0x3ae311=_0x3ae311-0xb2;var _0x520315=_0x5203();var _0x33dca6=_0x520315[_0x3ae311];return _0x33dca6;}function _0x5203(){var _0x59d6a9=['216IjHWaL','1529224JAahXj','1394490rEuRDi','1030341GElUGH','726lWMNtt','239810NzNztO','7eWGvnU','2732442YBQBvF','12480PAKxBo','351BKaLKB'];_0x5203=function(){return _0x59d6a9;};return _0x5203();}export{a as GlassActionButton,b as default}from'./chunk-EAZ62QSO.js';import'./chunk-ZW3IR2KQ.js';import'./chunk-EVRORS2V.js';
@@ -1,4 +1,5 @@
1
- export type GlassBadgeProps = {
1
+ import { type ComponentProps } from "react";
2
+ export type GlassBadgeProps = Omit<ComponentProps<"span">, "children"> & {
2
3
  children: string;
3
4
  /** Separator colour (CSS). Default: the text colour. */
4
5
  dotColor?: string;
@@ -6,7 +7,8 @@ export type GlassBadgeProps = {
6
7
  speed?: number;
7
8
  /** Opacity of the tint over the backdrop (0–1). */
8
9
  tint?: number;
10
+ /** On the badge, like `ref` and the other props. */
9
11
  className?: string;
10
12
  };
11
- export declare function GlassBadge({ children, dotColor, speed, tint, className, }: GlassBadgeProps): import("react").JSX.Element;
13
+ export declare function GlassBadge({ children, dotColor, speed, tint, className, ...rest }: GlassBadgeProps): import("react").JSX.Element;
12
14
  export default GlassBadge;
@@ -1,3 +1,3 @@
1
1
  "use client";
2
2
  /*! Vitrum © 2026 Onuzulike Anthony Ifechukwu. All rights reserved. Includes Liquid Glass UI © 2026 Bilal Abdullah Gürşen (MIT), see THIRD_PARTY_NOTICES.md */
3
- function _0x5682(){var _0x155838=['3pQzixw','959434krXBnQ','99LNaCKF','28iIITrA','54fygAce','4714085GBwYxd','8682876yvBtFJ','409416GGcUYF','182368LBLORh','995418KyttRL','976230nKTxwR','4btqmfd'];_0x5682=function(){return _0x155838;};return _0x5682();}(function(_0x2eef40,_0x1f47e3){var _0x495cf8=_0x4d1a,_0x133c23=_0x2eef40();while(!![]){try{var _0x17904c=-parseInt(_0x495cf8(0x169))/0x1+-parseInt(_0x495cf8(0x162))/0x2*(-parseInt(_0x495cf8(0x161))/0x3)+-parseInt(_0x495cf8(0x160))/0x4*(parseInt(_0x495cf8(0x166))/0x5)+-parseInt(_0x495cf8(0x16a))/0x6*(-parseInt(_0x495cf8(0x164))/0x7)+parseInt(_0x495cf8(0x168))/0x8*(parseInt(_0x495cf8(0x165))/0x9)+-parseInt(_0x495cf8(0x15f))/0xa*(-parseInt(_0x495cf8(0x163))/0xb)+-parseInt(_0x495cf8(0x167))/0xc;if(_0x17904c===_0x1f47e3)break;else _0x133c23['push'](_0x133c23['shift']());}catch(_0xdd28e3){_0x133c23['push'](_0x133c23['shift']());}}}(_0x5682,0x753f0));export{a as GlassBadge,b as default}from'./chunk-E47S3IAV.js';import'./chunk-NFXA7OZV.js';function _0x4d1a(_0x4b0388,_0x53fdbd){_0x4b0388=_0x4b0388-0x15f;var _0x5682ca=_0x5682();var _0x4d1a35=_0x5682ca[_0x4b0388];return _0x4d1a35;}import'./chunk-ZCV4ENGP.js';
3
+ function _0x1a2c(_0x3eb4ea,_0x55d644){_0x3eb4ea=_0x3eb4ea-0x18a;var _0x200844=_0x2008();var _0x1a2ce6=_0x200844[_0x3eb4ea];return _0x1a2ce6;}(function(_0x2c1b94,_0x36866e){var _0x385c54=_0x1a2c,_0x1e6f71=_0x2c1b94();while(!![]){try{var _0x2000e9=parseInt(_0x385c54(0x18d))/0x1+-parseInt(_0x385c54(0x191))/0x2+-parseInt(_0x385c54(0x18f))/0x3+-parseInt(_0x385c54(0x18a))/0x4*(-parseInt(_0x385c54(0x192))/0x5)+parseInt(_0x385c54(0x18b))/0x6*(-parseInt(_0x385c54(0x18e))/0x7)+parseInt(_0x385c54(0x18c))/0x8+parseInt(_0x385c54(0x190))/0x9;if(_0x2000e9===_0x36866e)break;else _0x1e6f71['push'](_0x1e6f71['shift']());}catch(_0x3029ab){_0x1e6f71['push'](_0x1e6f71['shift']());}}}(_0x2008,0xdc44a));export{a as GlassBadge,b as default}from'./chunk-XVVYMZ5F.js';function _0x2008(){var _0x57e050=['8031762rBMNHa','376712DvXCkC','1494637vAFPKI','7dXMWlg','2167707BGEANJ','17473797gEnlII','1654536QTyQKd','5jTWNnk','1229692CTJxuN'];_0x2008=function(){return _0x57e050;};return _0x2008();}import'./chunk-ZW3IR2KQ.js';import'./chunk-EVRORS2V.js';
@@ -1,3 +1,3 @@
1
1
  "use client";
2
2
  /*! Vitrum © 2026 Onuzulike Anthony Ifechukwu. All rights reserved. Includes Liquid Glass UI © 2026 Bilal Abdullah Gürşen (MIT), see THIRD_PARTY_NOTICES.md */
3
- function _0x5589(_0x449719,_0x54e4b0){_0x449719=_0x449719-0x1ca;var _0x59276a=_0x5927();var _0x55895c=_0x59276a[_0x449719];return _0x55895c;}(function(_0x1e4d14,_0x315d71){var _0x2b7d7c=_0x5589,_0x9a5264=_0x1e4d14();while(!![]){try{var _0x32f1e9=-parseInt(_0x2b7d7c(0x1ca))/0x1+parseInt(_0x2b7d7c(0x1d2))/0x2+parseInt(_0x2b7d7c(0x1cf))/0x3+parseInt(_0x2b7d7c(0x1d1))/0x4*(parseInt(_0x2b7d7c(0x1cc))/0x5)+parseInt(_0x2b7d7c(0x1d3))/0x6*(-parseInt(_0x2b7d7c(0x1ce))/0x7)+parseInt(_0x2b7d7c(0x1cb))/0x8+parseInt(_0x2b7d7c(0x1cd))/0x9*(parseInt(_0x2b7d7c(0x1d0))/0xa);if(_0x32f1e9===_0x315d71)break;else _0x9a5264['push'](_0x9a5264['shift']());}catch(_0x95c997){_0x9a5264['push'](_0x9a5264['shift']());}}}(_0x5927,0x6a7e0));export{a as GlassButtonGroup,b as GlassButtonGroupItem,c as GlassButtonGroupSeparator,d as GlassButtonGroupText,e as default}from'./chunk-64FU3V6M.js';import'./chunk-IY3Z3YRE.js';import'./chunk-NFXA7OZV.js';import'./chunk-ZCV4ENGP.js';function _0x5927(){var _0x538e77=['849726UVVkZf','47154VwauLx','616572VjVSkN','3925408nHNOer','20tDAWcl','519894vbiWti','679VKinDJ','286104FZVBQi','80CTKlZL','342052wvxEjN'];_0x5927=function(){return _0x538e77;};return _0x5927();}
3
+ function _0x7570(_0x159fc8,_0x95e81b){_0x159fc8=_0x159fc8-0x1a0;var _0x149111=_0x1491();var _0x757060=_0x149111[_0x159fc8];return _0x757060;}function _0x1491(){var _0x3ea02f=['457945VgPhhS','132chLjxJ','524wwfyTf','2792816YFWtMc','295561PkRoZt','3332318cuLUSl','4215ctvtVp','10801350fDyZwq','4207518eQzMly'];_0x1491=function(){return _0x3ea02f;};return _0x1491();}(function(_0x25ed0b,_0x15ec65){var _0x50fc62=_0x7570,_0x1b2169=_0x25ed0b();while(!![]){try{var _0x19bbc3=parseInt(_0x50fc62(0x1a0))/0x1+parseInt(_0x50fc62(0x1a5))/0x2+-parseInt(_0x50fc62(0x1a8))/0x3+parseInt(_0x50fc62(0x1a2))/0x4*(parseInt(_0x50fc62(0x1a6))/0x5)+-parseInt(_0x50fc62(0x1a1))/0x6*(-parseInt(_0x50fc62(0x1a4))/0x7)+parseInt(_0x50fc62(0x1a3))/0x8+-parseInt(_0x50fc62(0x1a7))/0x9;if(_0x19bbc3===_0x15ec65)break;else _0x1b2169['push'](_0x1b2169['shift']());}catch(_0x33e775){_0x1b2169['push'](_0x1b2169['shift']());}}}(_0x1491,0xde241));export{a as GlassButtonGroup,b as GlassButtonGroupItem,c as GlassButtonGroupSeparator,d as GlassButtonGroupText,e as default}from'./chunk-3IIHEP6U.js';import'./chunk-LZNPHZ4X.js';import'./chunk-ZW3IR2KQ.js';import'./chunk-EVRORS2V.js';
@@ -1,4 +1,4 @@
1
- import { type ButtonHTMLAttributes, type ReactNode } from "react";
1
+ import { type ComponentProps, type ReactNode } from "react";
2
2
  import { type GlassMaterial } from "./glass-layer.js";
3
3
  export type GlassButtonSize = "sm" | "md" | "lg" | "xl";
4
4
  export type GlassButtonProps = {
@@ -16,6 +16,6 @@ export type GlassButtonProps = {
16
16
  /** Render the glass on the single child element (e.g. a router `<Link>`) instead of a `<button>`. */
17
17
  asChild?: boolean;
18
18
  className?: string;
19
- } & Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children" | "className">;
19
+ } & Omit<ComponentProps<"button">, "children" | "className">;
20
20
  export declare function GlassButton({ children, material, size, icon, iconPosition, tint, pull, asChild, className, type, ...rest }: GlassButtonProps): import("react").JSX.Element;
21
21
  export default GlassButton;
@@ -1,3 +1,3 @@
1
1
  "use client";
2
2
  /*! Vitrum © 2026 Onuzulike Anthony Ifechukwu. All rights reserved. Includes Liquid Glass UI © 2026 Bilal Abdullah Gürşen (MIT), see THIRD_PARTY_NOTICES.md */
3
- (function(_0x2dedac,_0x2b6996){var _0x20b931=_0x3d88,_0x1af139=_0x2dedac();while(!![]){try{var _0x2337e7=parseInt(_0x20b931(0xa8))/0x1+parseInt(_0x20b931(0xae))/0x2+-parseInt(_0x20b931(0xaf))/0x3+parseInt(_0x20b931(0xa9))/0x4+-parseInt(_0x20b931(0xa7))/0x5*(-parseInt(_0x20b931(0xac))/0x6)+parseInt(_0x20b931(0xaa))/0x7+parseInt(_0x20b931(0xad))/0x8*(-parseInt(_0x20b931(0xab))/0x9);if(_0x2337e7===_0x2b6996)break;else _0x1af139['push'](_0x1af139['shift']());}catch(_0x1c891c){_0x1af139['push'](_0x1af139['shift']());}}}(_0x15ce,0x834d4));function _0x15ce(){var _0x2add23=['106547YgwRwr','3912908ZIBASS','4359404eDqsbj','21024Riejis','126dlJEYc','3512SdHduo','291904psXsYF','1268139yxkIyq','31555YubVoj'];_0x15ce=function(){return _0x2add23;};return _0x15ce();}export{a as GlassButton,b as default}from'./chunk-QRP4FKTZ.js';import'./chunk-NFXA7OZV.js';function _0x3d88(_0x1f0bb4,_0x1937ea){_0x1f0bb4=_0x1f0bb4-0xa7;var _0x15ce58=_0x15ce();var _0x3d8883=_0x15ce58[_0x1f0bb4];return _0x3d8883;}import'./chunk-ZCV4ENGP.js';
3
+ function _0x152b(){var _0x2253c0=['16723652ZbbhiB','30EwoHck','2knERiZ','2572443wESOxh','2411121EHKFKl','5iHnSuu','123634xzksTB','2010640ibKuLg','276NyAINY','3410756CArMdm','47346YOpiTe'];_0x152b=function(){return _0x2253c0;};return _0x152b();}(function(_0x469a7e,_0x210153){var _0xd5dc29=_0x2a12,_0x1f6e2e=_0x469a7e();while(!![]){try{var _0x15c5c7=parseInt(_0xd5dc29(0x1b7))/0x1+-parseInt(_0xd5dc29(0x1af))/0x2*(parseInt(_0xd5dc29(0x1b1))/0x3)+-parseInt(_0xd5dc29(0x1b6))/0x4*(-parseInt(_0xd5dc29(0x1b2))/0x5)+-parseInt(_0xd5dc29(0x1b5))/0x6*(-parseInt(_0xd5dc29(0x1b3))/0x7)+parseInt(_0xd5dc29(0x1b4))/0x8+-parseInt(_0xd5dc29(0x1b0))/0x9*(-parseInt(_0xd5dc29(0x1ae))/0xa)+-parseInt(_0xd5dc29(0x1ad))/0xb;if(_0x15c5c7===_0x210153)break;else _0x1f6e2e['push'](_0x1f6e2e['shift']());}catch(_0x4ba9b5){_0x1f6e2e['push'](_0x1f6e2e['shift']());}}}(_0x152b,0x7966b));export{a as GlassButton,b as default}from'./chunk-JQBQXLGN.js';function _0x2a12(_0x1530d6,_0x234d69){_0x1530d6=_0x1530d6-0x1ad;var _0x152b59=_0x152b();var _0x2a12e9=_0x152b59[_0x1530d6];return _0x2a12e9;}import'./chunk-ZW3IR2KQ.js';import'./chunk-EVRORS2V.js';
@@ -1,3 +1,3 @@
1
1
  "use client";
2
2
  /*! Vitrum © 2026 Onuzulike Anthony Ifechukwu. All rights reserved. Includes Liquid Glass UI © 2026 Bilal Abdullah Gürşen (MIT), see THIRD_PARTY_NOTICES.md */
3
- (function(_0xdf763c,_0x392f58){var _0x223296=_0x17ca,_0x1c93b1=_0xdf763c();while(!![]){try{var _0x5e7d6d=-parseInt(_0x223296(0x13d))/0x1+parseInt(_0x223296(0x145))/0x2+-parseInt(_0x223296(0x13e))/0x3+parseInt(_0x223296(0x144))/0x4*(parseInt(_0x223296(0x142))/0x5)+parseInt(_0x223296(0x140))/0x6*(-parseInt(_0x223296(0x141))/0x7)+-parseInt(_0x223296(0x143))/0x8+-parseInt(_0x223296(0x146))/0x9*(-parseInt(_0x223296(0x13f))/0xa);if(_0x5e7d6d===_0x392f58)break;else _0x1c93b1['push'](_0x1c93b1['shift']());}catch(_0x282c32){_0x1c93b1['push'](_0x1c93b1['shift']());}}}(_0x1fef,0x89ea8));export{a as GlassCard,b as default}from'./chunk-G4DHIVZ3.js';function _0x17ca(_0x1ad51b,_0x254413){_0x1ad51b=_0x1ad51b-0x13d;var _0x1fefa6=_0x1fef();var _0x17ca19=_0x1fefa6[_0x1ad51b];return _0x17ca19;}import'./chunk-NFXA7OZV.js';function _0x1fef(){var _0x22026f=['250515fGRgDN','258771xyRnlE','295395sKrdTz','450OROYrR','6DHpinf','5225367ojVUCc','5dZbaVf','5405240eOEQEN','3560236SGxHOB','403284LAIfTJ'];_0x1fef=function(){return _0x22026f;};return _0x1fef();}import'./chunk-ZCV4ENGP.js';
3
+ function _0x53da(_0x43d359,_0x1fb6b0){_0x43d359=_0x43d359-0x1e8;var _0x1d45a7=_0x1d45();var _0x53dadb=_0x1d45a7[_0x43d359];return _0x53dadb;}(function(_0x1faca8,_0x2ab1c8){var _0x5ab728=_0x53da,_0x304184=_0x1faca8();while(!![]){try{var _0x33c437=-parseInt(_0x5ab728(0x1e8))/0x1+-parseInt(_0x5ab728(0x1ed))/0x2+parseInt(_0x5ab728(0x1ec))/0x3+-parseInt(_0x5ab728(0x1ee))/0x4+parseInt(_0x5ab728(0x1ea))/0x5*(-parseInt(_0x5ab728(0x1ef))/0x6)+parseInt(_0x5ab728(0x1e9))/0x7*(parseInt(_0x5ab728(0x1f0))/0x8)+parseInt(_0x5ab728(0x1eb))/0x9;if(_0x33c437===_0x2ab1c8)break;else _0x304184['push'](_0x304184['shift']());}catch(_0x8f0fcb){_0x304184['push'](_0x304184['shift']());}}}(_0x1d45,0x1b19c));export{a as GlassCard,b as default}from'./chunk-VVSLSFDY.js';function _0x1d45(){var _0xb84840=['101348KUDVow','737132eCYibI','745782iuOpNu','8mqtRwg','108698sIqJAA','1360198XkzYVQ','5LwHTSL','2396358XKImGm','355140UZKfgL'];_0x1d45=function(){return _0xb84840;};return _0x1d45();}import'./chunk-ZW3IR2KQ.js';import'./chunk-EVRORS2V.js';
@@ -1,3 +1,3 @@
1
1
  "use client";
2
2
  /*! Vitrum © 2026 Onuzulike Anthony Ifechukwu. All rights reserved. Includes Liquid Glass UI © 2026 Bilal Abdullah Gürşen (MIT), see THIRD_PARTY_NOTICES.md */
3
- const _0xd32ac7=_0x2a81;(function(_0x529b09,_0x3dd966){const _0x470e49=_0x2a81,_0xff145b=_0x529b09();while(!![]){try{const _0x53cb99=-parseInt(_0x470e49(0x15e))/0x1*(parseInt(_0x470e49(0x15d))/0x2)+parseInt(_0x470e49(0x14f))/0x3*(-parseInt(_0x470e49(0x158))/0x4)+parseInt(_0x470e49(0x159))/0x5+-parseInt(_0x470e49(0x15a))/0x6+parseInt(_0x470e49(0x151))/0x7*(-parseInt(_0x470e49(0x15f))/0x8)+-parseInt(_0x470e49(0x157))/0x9*(parseInt(_0x470e49(0x155))/0xa)+parseInt(_0x470e49(0x14a))/0xb;if(_0x53cb99===_0x3dd966)break;else _0xff145b['push'](_0xff145b['shift']());}catch(_0x376574){_0xff145b['push'](_0xff145b['shift']());}}}(_0x4bae,0x6f918));import{h,c,e,g,a,b,d as _0x44455c}from'./chunk-IY3Z3YRE.js';import'./chunk-NFXA7OZV.js';import'./chunk-ZCV4ENGP.js';function _0x4bae(){const _0x5613d9=['bottom','20661uFozNA','concat','7yyRIAt','span','div','inline-flex\x20h-10\x20shrink-0\x20cursor-pointer\x20items-center\x20justify-center\x20gap-2\x20rounded-full\x20border\x20border-black/10\x20bg-white/60\x20px-5\x20text-sm\x20font-semibold\x20whitespace-nowrap\x20text-neutral-900\x20outline-none\x20select-none\x20focus-visible:ring-2\x20focus-visible:ring-[#3291FF]\x20focus-visible:ring-offset-2\x20disabled:cursor-not-allowed\x20disabled:opacity-40\x20dark:border-white/15\x20dark:bg-white/10\x20dark:text-white\x20data-[vt-tone=dark]:text-white\x20data-[vt-tone=light]:text-neutral-900\x20[&_svg]:size-4\x20[&_svg]:shrink-0\x20','5784370doOFqS','props','9bBQoiR','188PoarTc','2529280lAbtBw','4973646asZbmg','Provider','group/vt\x20min-w-44\x20rounded-3xl\x20p-1.5\x20text-[15px]\x20text-neutral-900\x20outline-none\x20data-[vt-tone=dark]:text-white\x20data-[vt-tone=light]:text-neutral-900\x20','254zSYJSi','6731TagWCX','12816aSPeKr','inline-flex\x20items-center\x20gap-[inherit]','27924974PBWypv','center','relative\x20flex\x20h-10\x20cursor-pointer\x20items-center\x20gap-2.5\x20rounded-2xl\x20px-3.5\x20font-medium\x20whitespace-nowrap\x20outline-none\x20select-none\x20transition-colors\x20duration-100\x20data-disabled:cursor-not-allowed\x20data-highlighted:bg-current/10\x20data-destructive:text-red-600\x20group-data-[vt-tone=dark]/vt:data-destructive:text-red-400\x20[&_svg]:size-4\x20[&_svg]:shrink-0\x20','stretch'];_0x4bae=function(){return _0x5613d9;};return _0x4bae();}import{Menu,MenuTrigger,MenuContent,MenuItem,MenuSeparator}from'@ui-sdk/react/menu';function _0x2a81(_0x240137,_0x27e979){_0x240137=_0x240137-0x149;const _0x4bae27=_0x4bae();let _0x2a8182=_0x4bae27[_0x240137];return _0x2a8182;}import{createContext,useContext,Children,isValidElement,cloneElement}from'react';import{jsx,jsxs}from'react/jsx-runtime';var d=createContext(void 0x0);function E({children:_0x3e25b4,over:_0x511b1b,from:_0x406e3b='top',..._0x554b0b}){const _0x4f06a5=_0x2a81;let _0x83b00f=h({'opening':_0x511b1b?'morph':_0x4f06a5(0x14d),'from':_0x406e3b});return jsx(Menu,{..._0x554b0b,'children':jsx(d[_0x4f06a5(0x15b)],{'value':_0x511b1b,'children':jsx(c[_0x4f06a5(0x15b)],{'value':_0x83b00f,'children':_0x3e25b4})})});}function _({children:_0x43e645,asChild:_0x3e32a7=![],className:_0x53fae7='',..._0x451659}){const _0x559a8a=_0x2a81;let _0x4a0c95=useContext(c),_0x514d38=useContext(d);return _0x3e32a7||!_0x4a0c95?jsx(MenuTrigger,{'render':Children['only'](_0x43e645),..._0x451659}):jsxs(MenuTrigger,{'data-vt-host':'','className':_0x559a8a(0x154)[_0x559a8a(0x150)](_0x53fae7),..._0x451659,'children':[jsx(e,{'popup':_0x4a0c95}),jsx(_0x559a8a(0x152),{'className':_0x559a8a(0x149),'children':_0x514d38?g(_0x43e645):_0x43e645})]});}function I({children:_0x585deb,className:_0x3cd546='',sideOffset:_0x493a8a,align:_0x10b978=_0xd32ac7(0x14b),..._0x8b1c4e}){const _0x1a437b=_0xd32ac7;let _0x4d01e1=useContext(c),_0x38aa10=useContext(d),_0x190d7d=_0x38aa10===_0x1a437b(0x14b);return jsxs(MenuContent,{'data-vt-popup':'','data-vt-skip':'','sideOffset':_0x493a8a??(_0x38aa10?0x0:0xc),'align':_0x10b978,'className':_0x1a437b(0x15c)[_0x1a437b(0x150)](_0x38aa10&&_0x493a8a===void 0x0?_0x190d7d?a:b:'','\x20')[_0x1a437b(0x150)](_0x3cd546),..._0x8b1c4e,..._0x190d7d?{'side':_0x1a437b(0x14e)}:null,'children':[_0x4d01e1&&jsx(_0x44455c,{'popup':_0x4d01e1}),jsx(_0x1a437b(0x153),{'data-vt-list':'','className':'flex\x20flex-col','children':Children['toArray'](_0x585deb)['map']((_0x322ada,_0xdf059d)=>isValidElement(_0x322ada)?cloneElement(_0x322ada,{'style':{'--vt-i':_0xdf059d,..._0x322ada[_0x1a437b(0x156)]['style']}}):_0x322ada)})]});}function $({className:_0x86ddf4='',..._0xcc7075}){const _0x178c3d=_0xd32ac7;return jsx(MenuItem,{'className':_0x178c3d(0x14c)['concat'](_0x86ddf4),..._0xcc7075});}function V({className:_0x38d452='',style:_0x5e0fb3}){const _0x4c2e0e=_0xd32ac7;return jsx(MenuSeparator,{'data-vt-item':'','style':_0x5e0fb3,'className':'mx-3.5\x20my-1\x20h-px\x20shrink-0\x20bg-current/15\x20'[_0x4c2e0e(0x150)](_0x38d452)});}var z=E;export{E as GlassDropdownMenu,I as GlassDropdownMenuContent,$ as GlassDropdownMenuItem,V as GlassDropdownMenuSeparator,_ as GlassDropdownMenuTrigger,z as default};
3
+ const _0x36f842=_0x3ee6;(function(_0xc48a0e,_0x2e24a6){const _0xe54ba=_0x3ee6,_0x30b63d=_0xc48a0e();while(!![]){try{const _0x4b56dc=parseInt(_0xe54ba(0x192))/0x1+-parseInt(_0xe54ba(0x188))/0x2*(-parseInt(_0xe54ba(0x18c))/0x3)+parseInt(_0xe54ba(0x182))/0x4+parseInt(_0xe54ba(0x191))/0x5+parseInt(_0xe54ba(0x185))/0x6*(parseInt(_0xe54ba(0x193))/0x7)+parseInt(_0xe54ba(0x184))/0x8*(parseInt(_0xe54ba(0x195))/0x9)+parseInt(_0xe54ba(0x180))/0xa*(-parseInt(_0xe54ba(0x18e))/0xb);if(_0x4b56dc===_0x2e24a6)break;else _0x30b63d['push'](_0x30b63d['shift']());}catch(_0x2110ae){_0x30b63d['push'](_0x30b63d['shift']());}}}(_0x4031,0x9643f));import{h,c,e,g,a,b,d as _0x4b2997}from'./chunk-LZNPHZ4X.js';import'./chunk-ZW3IR2KQ.js';import'./chunk-EVRORS2V.js';import{Menu,MenuTrigger,MenuContent,MenuItem,MenuSeparator}from'@ui-sdk/react/menu';import{createContext,useContext,Children,isValidElement,cloneElement}from'react';function _0x3ee6(_0x4110ad,_0x2ecc58){_0x4110ad=_0x4110ad-0x180;const _0x403199=_0x4031();let _0x3ee60d=_0x403199[_0x4110ad];return _0x3ee60d;}import{jsx,jsxs}from'react/jsx-runtime';var d=createContext(void 0x0);function E({children:_0x4681e2,over:_0x197df4,from:_0x1dc143=_0x36f842(0x187),..._0x48d61a}){const _0x1cdd9f=_0x36f842;let _0x3a1034=h({'opening':_0x197df4?_0x1cdd9f(0x197):'stretch','from':_0x1dc143});return jsx(Menu,{..._0x48d61a,'children':jsx(d[_0x1cdd9f(0x186)],{'value':_0x197df4,'children':jsx(c['Provider'],{'value':_0x3a1034,'children':_0x4681e2})})});}function _0x4031(){const _0x2e19cf=['div','2002593FlaFtG','mx-3.5\x20my-1\x20h-px\x20shrink-0\x20bg-current/15\x20','66ERoOTf','props','inline-flex\x20items-center\x20gap-[inherit]','5110640dwvCdP','137375LAOdYC','3822VcjXlm','span','2057139giqtsK','concat','morph','5333530nWsSYe','toArray','4748424YvyycE','center','24YQWCDI','1272QANaDc','Provider','top','2ebljfH','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','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'];_0x4031=function(){return _0x2e19cf;};return _0x4031();}function _({children:_0xb8bae2,asChild:_0x87dc63=![],className:_0x81656a='',..._0x16f80b}){const _0xfba57d=_0x36f842;let _0x5a9753=useContext(c),_0x31f269=useContext(d);return _0x87dc63||!_0x5a9753?jsx(MenuTrigger,{'render':Children['only'](_0xb8bae2),..._0x16f80b}):jsxs(MenuTrigger,{'data-vt-host':'','className':_0xfba57d(0x18a)[_0xfba57d(0x196)](_0x81656a),..._0x16f80b,'children':[jsx(e,{'popup':_0x5a9753}),jsx(_0xfba57d(0x194),{'className':_0xfba57d(0x190),'children':_0x31f269?g(_0xb8bae2):_0xb8bae2})]});}function I({children:_0x5b2243,className:_0x72d8f9='',sideOffset:_0x256647,align:_0x1bbd44='center',..._0x300467}){const _0x52c2ba=_0x36f842;let _0x2974f2=useContext(c),_0x43b5e6=useContext(d),_0x2c6f12=_0x43b5e6===_0x52c2ba(0x183);return jsxs(MenuContent,{'data-vt-popup':'','data-vt-skip':'','sideOffset':_0x256647??(_0x43b5e6?0x0:0xc),'align':_0x1bbd44,'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'[_0x52c2ba(0x196)](_0x43b5e6&&_0x256647===void 0x0?_0x2c6f12?a:b:'','\x20')[_0x52c2ba(0x196)](_0x72d8f9),..._0x300467,..._0x2c6f12?{'side':'bottom'}:null,'children':[_0x2974f2&&jsx(_0x4b2997,{'popup':_0x2974f2}),jsx(_0x52c2ba(0x18b),{'data-vt-list':'','className':'flex\x20flex-col','children':Children[_0x52c2ba(0x181)](_0x5b2243)['map']((_0x10d159,_0xe9004b)=>isValidElement(_0x10d159)?cloneElement(_0x10d159,{'style':{'--vt-i':_0xe9004b,..._0x10d159[_0x52c2ba(0x18f)]['style']}}):_0x10d159)})]});}function $({className:_0x3981cd='',..._0x1cdb7d}){const _0x53d39b=_0x36f842;return jsx(MenuItem,{'className':_0x53d39b(0x189)[_0x53d39b(0x196)](_0x3981cd),..._0x1cdb7d});}function V({className:_0xd8228e='',style:_0x14313a}){const _0x3b834e=_0x36f842;return jsx(MenuSeparator,{'data-vt-item':'','style':_0x14313a,'className':_0x3b834e(0x18d)['concat'](_0xd8228e)});}var z=E;export{E as GlassDropdownMenu,I as GlassDropdownMenuContent,$ as GlassDropdownMenuItem,V as GlassDropdownMenuSeparator,_ as GlassDropdownMenuTrigger,z as default};
@@ -0,0 +1,3 @@
1
+ import type { GlassDropletRow } from "./glass-layer.js";
2
+ /** A row for GlassLayer's `row` prop. Each glass gets its own (GlassLayer calls this once per mount). */
3
+ export declare function createDropletRow(): GlassDropletRow;
@@ -1,3 +1,4 @@
1
+ import { type SpringConfig } from "@vitrumui/core/internal";
1
2
  export type GlassMaterial = "clear" | "tinted";
2
3
  export type GlassDroplet = "none" | "apart" | "merged";
3
4
  /**
@@ -71,6 +72,33 @@ export type GlassOptics = {
71
72
  outlineAlpha?: number;
72
73
  };
73
74
  };
75
+ /**
76
+ * A row of droplets budding off the glass's end (see glass-droplet-row.ts). GlassLayer measures
77
+ * the host, steps its own springs and asks the row for the rest.
78
+ * @internal Used by GlassSearch; its shape may change in a minor release.
79
+ */
80
+ export type GlassDropletRow = {
81
+ /** How far the body pulls back once the row is all out, and the canvas room beside it for the furthest droplet's swing (px). */
82
+ pull: number;
83
+ swing: number;
84
+ /** Reads where each marked child rests. `false`: no row (fewer than two). */
85
+ measure: (host: HTMLElement, marked: HTMLElement[], w: number, h: number) => boolean;
86
+ /** The body's spring while the row comes out or goes back in. */
87
+ body: (apart: boolean) => SpringConfig;
88
+ /** Steps the droplets' own springs; `true` while any moves. */
89
+ step: (apart: boolean, dt: number) => boolean;
90
+ /** Puts every droplet at rest at once (out or in). */
91
+ still: (out: boolean) => void;
92
+ /** The droplets to draw (GlassLens.droplets), for glass shaded `sh` px tall. */
93
+ shape: (sh: number) => {
94
+ x: number;
95
+ y: number;
96
+ r: number;
97
+ k: number;
98
+ }[];
99
+ /** Takes back what it wrote on the droplets' elements. */
100
+ clear: () => void;
101
+ };
74
102
  export type GlassLayerProps = {
75
103
  /**
76
104
  * `clear`: transparent glass that bends the page behind it (default).
@@ -115,12 +143,26 @@ export type GlassLayerProps = {
115
143
  * height it has at rest.
116
144
  */
117
145
  restHeight?: number;
146
+ /**
147
+ * Bud the host's `[data-vt-drop]` children off its end as one chain (more than one of them):
148
+ * pass `createDropletRow` from glass-droplet-row.ts. Read when the glass mounts.
149
+ * @internal Used by GlassSearch.
150
+ */
151
+ row?: () => GlassDropletRow;
118
152
  /** Fine-tuning: tint colour, a rim line, frost mix, bend, light and shadow (see GlassOptics). */
119
153
  optics?: GlassOptics;
120
154
  };
121
- /** The CSS the glass relies on. Rendered once per page by <GlassStyles /> (React 19 dedupes it). */
155
+ /**
156
+ * The CSS the glass relies on. Rendered once per page by <GlassStyles /> (React 19 dedupes it).
157
+ * @deprecated Internal to Vitrum, not a public API. Leaves the public exports in 3.0.
158
+ * @internal
159
+ */
122
160
  export declare const GLASS_CSS = "\n/* Layered, so a utility class on the host (absolute, fixed) still wins over relative. */\n@layer components{:where([data-vt-host]){position:relative;isolation:isolate}}\n/* Unlayered on purpose: once the glass draws, it must beat the host's own fill utilities. */\n[data-vt-host][data-vt-ready]{background:transparent!important;border-color:transparent!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}\n@keyframes vt-marquee{to{transform:translateX(-50%)}}\n[data-vt-marquee]{animation:vt-marquee var(--vt-marquee-duration,5s) linear infinite}\n/* Swapped labels and icons rise from a soft blur; a check draws itself in. */\n@keyframes vt-in{from{opacity:0;filter:blur(3px);transform:translateY(4px)}}\n[data-vt-in]{animation:vt-in .38s cubic-bezier(.2,.8,.2,1) both}\n@keyframes vt-draw{from{stroke-dashoffset:25}}\n[data-vt-draw]{stroke-dasharray:25;animation:vt-draw .42s cubic-bezier(.65,0,.35,1) .12s both}\n@keyframes vt-spin{to{transform:rotate(1turn)}}\n[data-vt-spin]{animation:vt-spin .8s linear infinite}\n[data-vt-ready] [data-vt-fallback]{visibility:hidden}\n/* A hidden fallback stops moving too. Its marquee ran on unseen, on the main thread, and made the browser work out the page's layers again on every frame of anything else on the page. */\n[data-vt-ready] [data-vt-fallback] [data-vt-marquee]{animation:none}\n@media (prefers-reduced-motion:reduce){[data-vt-marquee],[data-vt-in],[data-vt-draw],[data-vt-spin]{animation:none}}\n";
123
- /** Injects GLASS_CSS once (React 19 hoists and dedupes `<style href precedence>`). */
161
+ /**
162
+ * Injects GLASS_CSS once (React 19 hoists and dedupes `<style href precedence>`).
163
+ * @deprecated Internal to Vitrum, not a public API. Leaves the public exports in 3.0.
164
+ * @internal
165
+ */
124
166
  export declare function GlassStyles(): import("react").JSX.Element;
125
- export declare function GlassLayer({ material, droplet, tint, blur, backdrop, live, trigger, disabled, swell, pulse, pulseHold, pull, restHeight, optics, }: GlassLayerProps): import("react").JSX.Element;
167
+ export declare function GlassLayer({ material, droplet, tint, blur, backdrop, live, trigger, disabled, swell, pulse, pulseHold, pull, restHeight, row: makeRow, optics, }: GlassLayerProps): import("react").JSX.Element;
126
168
  export default GlassLayer;
@@ -1,3 +1,3 @@
1
1
  "use client";
2
2
  /*! Vitrum © 2026 Onuzulike Anthony Ifechukwu. All rights reserved. Includes Liquid Glass UI © 2026 Bilal Abdullah Gürşen (MIT), see THIRD_PARTY_NOTICES.md */
3
- (function(_0x196df5,_0x55d669){var _0x1924ed=_0x2a9b,_0x6bb4f9=_0x196df5();while(!![]){try{var _0x1c26b1=-parseInt(_0x1924ed(0xb5))/0x1*(-parseInt(_0x1924ed(0xb3))/0x2)+parseInt(_0x1924ed(0xb1))/0x3*(parseInt(_0x1924ed(0xb0))/0x4)+parseInt(_0x1924ed(0xb4))/0x5+parseInt(_0x1924ed(0xb6))/0x6+-parseInt(_0x1924ed(0xb7))/0x7+parseInt(_0x1924ed(0xb2))/0x8+-parseInt(_0x1924ed(0xb8))/0x9*(parseInt(_0x1924ed(0xb9))/0xa);if(_0x1c26b1===_0x55d669)break;else _0x6bb4f9['push'](_0x6bb4f9['shift']());}catch(_0x493c7f){_0x6bb4f9['push'](_0x6bb4f9['shift']());}}}(_0xead6,0x36459));export{a as GlassMenu,e as GlassMenuCheckboxItem,c as GlassMenuContent,h as GlassMenuGroup,d as GlassMenuItem,i as GlassMenuLabel,f as GlassMenuRadioGroup,g as GlassMenuRadioItem,k as GlassMenuSeparator,j as GlassMenuShortcut,l as GlassMenuSub,n as GlassMenuSubContent,m as GlassMenuSubTrigger,b as GlassMenuTrigger,o as default}from'./chunk-MPLXH7C7.js';import'./chunk-G4DHIVZ3.js';import'./chunk-IY3Z3YRE.js';function _0x2a9b(_0x24bdd4,_0x290c0f){_0x24bdd4=_0x24bdd4-0xb0;var _0xead608=_0xead6();var _0x2a9be8=_0xead608[_0x24bdd4];return _0x2a9be8;}function _0xead6(){var _0xab9bb9=['4uNmDGi','1109862XmqZzJ','2851496auvUOF','11830LLvNTA','1416105HIaRYi','71EPbGgr','402144VdKazs','2471889KPXPXM','171PXTyZQ','484830vTSucp'];_0xead6=function(){return _0xab9bb9;};return _0xead6();}import'./chunk-NFXA7OZV.js';import'./chunk-ZCV4ENGP.js';
3
+ (function(_0x102707,_0x3f5939){var _0x52f7b1=_0x33c0,_0xfcefab=_0x102707();while(!![]){try{var _0x25d336=parseInt(_0x52f7b1(0x1ef))/0x1*(-parseInt(_0x52f7b1(0x1eb))/0x2)+-parseInt(_0x52f7b1(0x1ea))/0x3+parseInt(_0x52f7b1(0x1ee))/0x4+-parseInt(_0x52f7b1(0x1f1))/0x5+-parseInt(_0x52f7b1(0x1ec))/0x6+-parseInt(_0x52f7b1(0x1f0))/0x7+parseInt(_0x52f7b1(0x1ed))/0x8;if(_0x25d336===_0x3f5939)break;else _0xfcefab['push'](_0xfcefab['shift']());}catch(_0xc6e832){_0xfcefab['push'](_0xfcefab['shift']());}}}(_0x1501,0x6f7fa));function _0x1501(){var _0x4a7583=['2QcYcoc','4181526Uvjhzz','20548320yxdUNl','1091960LpWpEK','300284vABNQC','3099789YLtSCN','2411255jpERbJ','1387647OqKnum'];_0x1501=function(){return _0x4a7583;};return _0x1501();}function _0x33c0(_0xa29807,_0x460ed0){_0xa29807=_0xa29807-0x1ea;var _0x1501ac=_0x1501();var _0x33c09a=_0x1501ac[_0xa29807];return _0x33c09a;}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-5WUTOVNB.js';import'./chunk-VVSLSFDY.js';import'./chunk-LZNPHZ4X.js';import'./chunk-ZW3IR2KQ.js';import'./chunk-EVRORS2V.js';
@@ -1,3 +1,3 @@
1
1
  "use client";
2
2
  /*! Vitrum © 2026 Onuzulike Anthony Ifechukwu. All rights reserved. Includes Liquid Glass UI © 2026 Bilal Abdullah Gürşen (MIT), see THIRD_PARTY_NOTICES.md */
3
- (function(_0x54db2f,_0x3ece7e){var _0x2d75cb=_0x43d9,_0x144a1b=_0x54db2f();while(!![]){try{var _0x186f70=parseInt(_0x2d75cb(0xc9))/0x1*(parseInt(_0x2d75cb(0xcd))/0x2)+parseInt(_0x2d75cb(0xc8))/0x3+parseInt(_0x2d75cb(0xcb))/0x4+parseInt(_0x2d75cb(0xcc))/0x5*(-parseInt(_0x2d75cb(0xd0))/0x6)+-parseInt(_0x2d75cb(0xcf))/0x7+parseInt(_0x2d75cb(0xd1))/0x8*(parseInt(_0x2d75cb(0xce))/0x9)+-parseInt(_0x2d75cb(0xca))/0xa;if(_0x186f70===_0x3ece7e)break;else _0x144a1b['push'](_0x144a1b['shift']());}catch(_0x148a54){_0x144a1b['push'](_0x144a1b['shift']());}}}(_0x5462,0x7d351));export{a as GlassPopover,f as GlassPopoverClose,c as GlassPopoverContent,e as GlassPopoverDescription,d as GlassPopoverTitle,b as GlassPopoverTrigger,g as default}from'./chunk-RNQ7YPHJ.js';function _0x5462(){var _0x58c3a1=['7399670AZhMRW','2252396ouWhBE','246605gRdpYW','375640OtzWwI','18NGGqEX','870072XwfKPH','114BGyrae','2983600aiupWL','2452176GZurOL','1cVWYyM'];_0x5462=function(){return _0x58c3a1;};return _0x5462();}import'./chunk-IY3Z3YRE.js';import'./chunk-NFXA7OZV.js';function _0x43d9(_0x429f69,_0x1cfcf0){_0x429f69=_0x429f69-0xc8;var _0x546283=_0x5462();var _0x43d9f0=_0x546283[_0x429f69];return _0x43d9f0;}import'./chunk-ZCV4ENGP.js';
3
+ (function(_0x42c475,_0x3aadc3){var _0x39e3af=_0x2742,_0x41b6da=_0x42c475();while(!![]){try{var _0x1772d0=parseInt(_0x39e3af(0x179))/0x1*(parseInt(_0x39e3af(0x174))/0x2)+parseInt(_0x39e3af(0x17b))/0x3*(-parseInt(_0x39e3af(0x175))/0x4)+-parseInt(_0x39e3af(0x172))/0x5+parseInt(_0x39e3af(0x17a))/0x6+-parseInt(_0x39e3af(0x17c))/0x7*(-parseInt(_0x39e3af(0x177))/0x8)+-parseInt(_0x39e3af(0x173))/0x9*(-parseInt(_0x39e3af(0x178))/0xa)+parseInt(_0x39e3af(0x176))/0xb;if(_0x1772d0===_0x3aadc3)break;else _0x41b6da['push'](_0x41b6da['shift']());}catch(_0x2ef774){_0x41b6da['push'](_0x41b6da['shift']());}}}(_0x12e8,0x489c8));export{a as GlassPopover,f as GlassPopoverClose,c as GlassPopoverContent,e as GlassPopoverDescription,d as GlassPopoverTitle,b as GlassPopoverTrigger,g as default}from'./chunk-CUPBYLM4.js';import'./chunk-LZNPHZ4X.js';function _0x12e8(){var _0x2367c8=['37970ijbmKD','107269ZoMpUi','650388eyAfIj','523797jHhBKy','450793cnJtNv','2768185xtskSt','603avHdSQ','6uvhSlF','12tYOQtW','6175928DBWlcb','16CiFdnD'];_0x12e8=function(){return _0x2367c8;};return _0x12e8();}function _0x2742(_0x2a2112,_0x354bbb){_0x2a2112=_0x2a2112-0x172;var _0x12e819=_0x12e8();var _0x27429f=_0x12e819[_0x2a2112];return _0x27429f;}import'./chunk-ZW3IR2KQ.js';import'./chunk-EVRORS2V.js';
@@ -23,6 +23,8 @@ export type GlassPopupFrom = "top" | "bottom";
23
23
  * height on the content (`--anchor-height`), so it is pulled back by half of it and then by half
24
24
  * of its own height. Always with a transform: UI SDK places the box as if it had none, while a
25
25
  * margin it would take for its own error and undo the moment the control moves (a hover's swell).
26
+ * @deprecated Internal to Vitrum, not a public API. Leaves the public exports in 3.0.
27
+ * @internal
26
28
  */
27
29
  export declare const OVER_CENTER = "[position-try-fallbacks:none]! data-[side=bottom]:-translate-y-1/2 data-[side=top]:translate-y-1/2 data-[side=bottom]:[transform:translateY(calc(var(--anchor-height)*-0.5))] data-[side=top]:[transform:translateY(calc(var(--anchor-height)*0.5))]";
28
30
  /**
@@ -32,8 +34,14 @@ export declare const OVER_CENTER = "[position-try-fallbacks:none]! data-[side=bo
32
34
  /**
33
35
  * And classes that lay a popup edge on edge with its control, growing away from it: pulled back
34
36
  * by the control's whole height, from whichever side it landed on.
37
+ * @deprecated Internal to Vitrum, not a public API. Leaves the public exports in 3.0.
38
+ * @internal
35
39
  */
36
40
  export declare const OVER_EDGE = "data-[side=bottom]:[transform:translateY(calc(var(--anchor-height)*-1))] data-[side=top]:[transform:translateY(var(--anchor-height))]";
41
+ /**
42
+ * @deprecated Internal to Vitrum, not a public API. Leaves the public exports in 3.0.
43
+ * @internal
44
+ */
37
45
  export declare const GlassPopupContext: import("react").Context<{
38
46
  setTrigger: (canvas: HTMLCanvasElement | null) => () => void;
39
47
  setPanel: (canvas: HTMLCanvasElement | null, hold: HTMLElement | null, cardShadow: HTMLElement | null) => () => void;
@@ -49,13 +57,19 @@ export declare function GlassPopupAnchor({ popup }: {
49
57
  /**
50
58
  * The label of a morphing control, coming back letter by letter the moment the surface is back in,
51
59
  * with the control's swell. `delay` (seconds) starts it that much later. Read aloud as one string.
60
+ * @deprecated Internal to Vitrum, not a public API. Leaves the public exports in 3.0.
61
+ * @internal
52
62
  */
53
63
  export declare function GlassPopupText({ children, delay, className, }: {
54
64
  children: string;
55
65
  delay?: number;
56
66
  className?: string;
57
67
  }): import("react").JSX.Element;
58
- /** A control's children, each plain text among them in GlassPopupText: its label comes back letter by letter. */
68
+ /**
69
+ * A control's children, each plain text among them in GlassPopupText: its label comes back letter by letter.
70
+ * @deprecated Internal to Vitrum, not a public API. Leaves the public exports in 3.0.
71
+ * @internal
72
+ */
59
73
  export declare const spellLabel: (children: ReactNode) => (string | number | bigint | import("react").JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | Iterable<ReactNode> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ReactPortal | null | undefined>)[] | null | undefined;
60
74
  /** One gooey popup: hand the result to its GlassPopupAnchor and GlassPopupSurface. `matchWidth` keeps the surface as wide as the anchor; `opening` picks the motion (see GlassPopupOpening) and `from` the way a morphing surface comes in (see GlassPopupFrom). */
61
75
  export declare function useGlassPopup({ matchWidth, mode, opening, from, }?: {
@@ -62,6 +62,8 @@ export type GlassSearchProps = OwnProps & Omit<HTMLAttributes<HTMLDivElement>, k
62
62
  /**
63
63
  * The field's own timing and measures, read on every render (the droplets' motion itself is the
64
64
  * engine's: BUD and SPRINGS.bud* in @vitrumui/core). These values are the look: do not tune them casually.
65
+ * @deprecated Internal to Vitrum, not a public API. Leaves the public exports in 3.0.
66
+ * @internal
65
67
  */
66
68
  export declare const SEARCH: {
67
69
  /** The gap between droplets, and between the field and the first one (px). */
@@ -106,8 +108,16 @@ export declare const SEARCH: {
106
108
  arriveMs: number;
107
109
  arriveScale: number;
108
110
  };
111
+ /**
112
+ * @deprecated Internal to Vitrum, not a public API. Leaves the public exports in 3.0.
113
+ * @internal
114
+ */
109
115
  export declare const fold: (text: string) => string;
110
- /** How well a result answers what was typed (already folded): 0 = not at all. The start of the label counts most, then the start of a word, then anywhere, then a keyword. */
116
+ /**
117
+ * How well a result answers what was typed (already folded): 0 = not at all. The start of the label counts most, then the start of a word, then anywhere, then a keyword.
118
+ * @deprecated Internal to Vitrum, not a public API. Leaves the public exports in 3.0.
119
+ * @internal
120
+ */
111
121
  export declare function rank(item: GlassSearchItem, typed: string): 0 | 1 | 2 | 3 | 4 | 5;
112
122
  export declare function GlassSearch({ layers, label, placeholder, onAction, onQueryChange, defaultLayer, onLayerChange, layersAfter, arrive, empty, limit, material, tint, blur, optics, className, ref, style, onFocus, onBlur, onPointerEnter, onPointerLeave, ...rest }: GlassSearchProps): import("react").JSX.Element;
113
123
  export default GlassSearch;
@@ -1,3 +1,3 @@
1
1
  "use client";
2
2
  /*! Vitrum © 2026 Onuzulike Anthony Ifechukwu. All rights reserved. Includes Liquid Glass UI © 2026 Bilal Abdullah Gürşen (MIT), see THIRD_PARTY_NOTICES.md */
3
- function _0x42cc(){var _0x2e5ba8=['2099265HszhQl','33174650yYvtuC','7961408rjxOkF','12fEmzwe','76668dgAVvB','2101442qLRdxi','395hPqioL','205062MWsHPB','2301462LCOksL','4NBkkHW'];_0x42cc=function(){return _0x2e5ba8;};return _0x42cc();}(function(_0xff039d,_0x12fc83){var _0x17d8f1=_0x5e4d,_0x32faab=_0xff039d();while(!![]){try{var _0x320690=-parseInt(_0x17d8f1(0x1a6))/0x1*(parseInt(_0x17d8f1(0x1ac))/0x2)+parseInt(_0x17d8f1(0x1a9))/0x3*(parseInt(_0x17d8f1(0x1a8))/0x4)+-parseInt(_0x17d8f1(0x1a5))/0x5*(parseInt(_0x17d8f1(0x1a3))/0x6)+parseInt(_0x17d8f1(0x1a4))/0x7+-parseInt(_0x17d8f1(0x1ab))/0x8+-parseInt(_0x17d8f1(0x1a7))/0x9+parseInt(_0x17d8f1(0x1aa))/0xa;if(_0x320690===_0x12fc83)break;else _0x32faab['push'](_0x32faab['shift']());}catch(_0x45b663){_0x32faab['push'](_0x32faab['shift']());}}}(_0x42cc,0xc9d4a));export{d as GlassSearch,a as SEARCH,e as default,b as fold,c as rank}from'./chunk-JX2YNK3K.js';function _0x5e4d(_0x581c14,_0x1cfd4c){_0x581c14=_0x581c14-0x1a3;var _0x42cca0=_0x42cc();var _0x5e4dab=_0x42cca0[_0x581c14];return _0x5e4dab;}import'./chunk-NFXA7OZV.js';import'./chunk-ZCV4ENGP.js';
3
+ (function(_0x199306,_0x48f345){var _0x5f0a71=_0x13e5,_0x2ba0d1=_0x199306();while(!![]){try{var _0x5698aa=-parseInt(_0x5f0a71(0x8e))/0x1*(-parseInt(_0x5f0a71(0x8d))/0x2)+parseInt(_0x5f0a71(0x8a))/0x3*(parseInt(_0x5f0a71(0x8f))/0x4)+parseInt(_0x5f0a71(0x91))/0x5*(parseInt(_0x5f0a71(0x93))/0x6)+-parseInt(_0x5f0a71(0x89))/0x7+-parseInt(_0x5f0a71(0x95))/0x8*(-parseInt(_0x5f0a71(0x90))/0x9)+parseInt(_0x5f0a71(0x8c))/0xa*(parseInt(_0x5f0a71(0x94))/0xb)+-parseInt(_0x5f0a71(0x8b))/0xc*(parseInt(_0x5f0a71(0x92))/0xd);if(_0x5698aa===_0x48f345)break;else _0x2ba0d1['push'](_0x2ba0d1['shift']());}catch(_0x4482bc){_0x2ba0d1['push'](_0x2ba0d1['shift']());}}}(_0x2064,0x7495c));export{d as GlassSearch,a as SEARCH,e as default,b as fold,c as rank}from'./chunk-5RKCH57V.js';function _0x2064(){var _0x3b9a16=['4EJRtPI','8ZNYJJT','237996SuTjHA','1580xcPjGC','2834mskDmi','7098PitCcB','1272458QTBRXY','16uzsxUL','2831570haBirv','1405581reRrPk','92604ggMDVa','30swkdHJ','426772lIHklx'];_0x2064=function(){return _0x3b9a16;};return _0x2064();}function _0x13e5(_0x939576,_0x82f2f5){_0x939576=_0x939576-0x89;var _0x2064e4=_0x2064();var _0x13e56b=_0x2064e4[_0x939576];return _0x13e56b;}import'./chunk-ZW3IR2KQ.js';import'./chunk-EVRORS2V.js';
@@ -1,3 +1,3 @@
1
1
  "use client";
2
2
  /*! Vitrum © 2026 Onuzulike Anthony Ifechukwu. All rights reserved. Includes Liquid Glass UI © 2026 Bilal Abdullah Gürşen (MIT), see THIRD_PARTY_NOTICES.md */
3
- (function(_0xdcebce,_0x37dd62){const _0x884bd6=_0x4267,_0x18fda0=_0xdcebce();while(!![]){try{const _0x334093=-parseInt(_0x884bd6(0x9b))/0x1*(-parseInt(_0x884bd6(0x97))/0x2)+-parseInt(_0x884bd6(0x8b))/0x3*(-parseInt(_0x884bd6(0x9a))/0x4)+parseInt(_0x884bd6(0x94))/0x5+parseInt(_0x884bd6(0x98))/0x6+parseInt(_0x884bd6(0x8f))/0x7*(parseInt(_0x884bd6(0x8e))/0x8)+-parseInt(_0x884bd6(0x90))/0x9*(-parseInt(_0x884bd6(0x91))/0xa)+parseInt(_0x884bd6(0x9c))/0xb*(-parseInt(_0x884bd6(0x92))/0xc);if(_0x334093===_0x37dd62)break;else _0x18fda0['push'](_0x18fda0['shift']());}catch(_0xf3267f){_0x18fda0['push'](_0x18fda0['shift']());}}}(_0x15b8,0xa961e));import{h,e,d}from'./chunk-IY3Z3YRE.js';function _0x15b8(){const _0x342f5d=['round','139584yETXiM','flex\x20h-12\x20w-full\x20cursor-pointer\x20items-center\x20justify-between\x20rounded-full\x20border\x20border-black/10\x20bg-white/60\x20pr-4\x20pl-5\x20text-[15px]\x20font-medium\x20text-neutral-900\x20outline-none\x20select-none\x20focus-visible:ring-2\x20focus-visible:ring-[#3291FF]\x20focus-visible:ring-offset-2\x20disabled:cursor-not-allowed\x20disabled:opacity-40\x20dark:border-white/15\x20dark:bg-white/10\x20dark:text-white\x20data-[vt-tone=dark]:text-white\x20data-[vt-tone=light]:text-neutral-900','rounded-3xl\x20p-1.5\x20text-[15px]\x20text-neutral-900\x20outline-none\x20data-[vt-tone=dark]:text-white\x20data-[vt-tone=light]:text-neutral-900','26384LmgZeH','2758sjJXvg','2985741pRRzMA','30EAYxFN','1317636VWKbxZ','map','642635VgPrNm','value','flex\x20w-64\x20flex-col\x20gap-2\x20','1372492pFHHKv','8207406fxWSem','path','24gUdGKz','1jbYmUP','407OscErD','text-sm\x20font-medium\x20text-neutral-900\x20dark:text-white','size-4\x20shrink-0\x20opacity-60','currentColor'];_0x15b8=function(){return _0x342f5d;};return _0x15b8();}function _0x4267(_0x1d596f,_0x4451c3){_0x1d596f=_0x1d596f-0x87;const _0x15b8bd=_0x15b8();let _0x4267fd=_0x15b8bd[_0x1d596f];return _0x4267fd;}import'./chunk-NFXA7OZV.js';import'./chunk-ZCV4ENGP.js';import{Select,SelectLabel,SelectTrigger,SelectValue,SelectContent,SelectList,SelectItem}from'@ui-sdk/react/select';import{jsxs,jsx}from'react/jsx-runtime';function y({label:_0x54d9ad,options:_0x47930a,value:_0x55bfcf,defaultValue:_0x4f7cc1,onValueChange:_0x4d7f06,placeholder:_0x53e81c,disabled:_0x56508d,name:_0x15e836,className:_0x101bc9=''}){const _0x2478ea=_0x4267;let _0x508ac8=h({'matchWidth':!![]});return jsxs(Select,{..._0x55bfcf!==void 0x0?{'value':_0x55bfcf}:{},..._0x4f7cc1!==void 0x0?{'defaultValue':_0x4f7cc1}:{},'onValueChange':_0x2ead0a=>_0x4d7f06?.(_0x2ead0a??null),'placeholder':_0x53e81c,'disabled':_0x56508d,'name':_0x15e836,'children':[jsxs('div',{'className':_0x2478ea(0x96)['concat'](_0x101bc9),'children':[jsx(SelectLabel,{'className':_0x2478ea(0x87),'children':_0x54d9ad}),jsxs(SelectTrigger,{'data-vt-host':'','className':_0x2478ea(0x8c),'children':[jsx(e,{'popup':_0x508ac8}),jsx(SelectValue,{}),jsx('svg',{'aria-hidden':!![],'viewBox':'0\x200\x2024\x2024','fill':'none','stroke':_0x2478ea(0x89),'strokeWidth':'2','strokeLinecap':'round','strokeLinejoin':_0x2478ea(0x8a),'className':_0x2478ea(0x88),'children':jsx(_0x2478ea(0x99),{'d':'m6\x209\x206\x206\x206-6'})})]})]}),jsxs(SelectContent,{'data-vt-popup':'','data-vt-skip':'','sideOffset':0xc,'className':_0x2478ea(0x8d),'children':[jsx(d,{'popup':_0x508ac8}),jsx(SelectList,{'className':'max-h-72\x20overflow-y-auto\x20rounded-[18px]\x20outline-none','children':_0x47930a[_0x2478ea(0x93)]((_0xdbe56b,_0x523ce1)=>jsx(SelectItem,{'value':_0xdbe56b['value'],'disabled':_0xdbe56b['disabled'],'style':{'--vt-i':_0x523ce1},'className':'relative\x20flex\x20h-10\x20cursor-pointer\x20items-center\x20rounded-2xl\x20px-3.5\x20font-medium\x20outline-none\x20select-none\x20data-disabled:cursor-not-allowed\x20data-disabled:opacity-40\x20data-highlighted:bg-black/8\x20data-selected:font-semibold\x20dark:data-highlighted:bg-white/12','children':_0xdbe56b['label']},_0xdbe56b[_0x2478ea(0x95)]))})]})]});}var O=y;export{y as GlassSelect,O as default};
3
+ (function(_0x3d83dd,_0x23be29){const _0x42502e=_0x1255,_0x11d3c4=_0x3d83dd();while(!![]){try{const _0x2b1c38=parseInt(_0x42502e(0x130))/0x1*(-parseInt(_0x42502e(0x125))/0x2)+parseInt(_0x42502e(0x133))/0x3*(-parseInt(_0x42502e(0x124))/0x4)+parseInt(_0x42502e(0x123))/0x5*(-parseInt(_0x42502e(0x128))/0x6)+parseInt(_0x42502e(0x122))/0x7*(parseInt(_0x42502e(0x12b))/0x8)+-parseInt(_0x42502e(0x137))/0x9*(parseInt(_0x42502e(0x138))/0xa)+-parseInt(_0x42502e(0x134))/0xb+-parseInt(_0x42502e(0x129))/0xc*(-parseInt(_0x42502e(0x12f))/0xd);if(_0x2b1c38===_0x23be29)break;else _0x11d3c4['push'](_0x11d3c4['shift']());}catch(_0x4470a5){_0x11d3c4['push'](_0x11d3c4['shift']());}}}(_0x125f,0x81446));function _0x125f(){const _0x58e272=['path','0\x200\x2024\x2024','48eYenJj','36422472HYphjr','div','487624ZcwqiX','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','map','value','13gOFhBo','9217gHIQKV','text-sm\x20font-medium\x20text-neutral-900\x20dark:text-white','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','6jNdVyr','1926122THWaND','round','none','1607481QZaPAk','40WdFijp','7IXoHOK','352745TkfxTf','548008JgsgSc','182HLSwXx'];_0x125f=function(){return _0x58e272;};return _0x125f();}import{h,e,d}from'./chunk-LZNPHZ4X.js';import'./chunk-ZW3IR2KQ.js';import'./chunk-EVRORS2V.js';import{Select,SelectLabel,SelectTrigger,SelectValue,SelectContent,SelectList,SelectItem}from'@ui-sdk/react/select';import{jsxs,jsx}from'react/jsx-runtime';function y({label:_0x449a28,options:_0x11cbc7,value:_0x4dfd7c,defaultValue:_0x15c39d,onValueChange:_0x2f8ef8,placeholder:_0x52e249,disabled:_0x5bad36,name:_0x1f0a2a,className:_0x4395a7=''}){const _0x48cac8=_0x1255;let _0x35f0c0=h({'matchWidth':!![]});return jsxs(Select,{..._0x4dfd7c!==void 0x0?{'value':_0x4dfd7c}:{},..._0x15c39d!==void 0x0?{'defaultValue':_0x15c39d}:{},'onValueChange':_0x23b148=>_0x2f8ef8?.(_0x23b148??null),'placeholder':_0x52e249,'disabled':_0x5bad36,'name':_0x1f0a2a,'children':[jsxs(_0x48cac8(0x12a),{'className':'flex\x20w-64\x20flex-col\x20gap-2\x20'['concat'](_0x4395a7),'children':[jsx(SelectLabel,{'className':_0x48cac8(0x131),'children':_0x449a28}),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':_0x35f0c0}),jsx(SelectValue,{}),jsx('svg',{'aria-hidden':!![],'viewBox':_0x48cac8(0x127),'fill':_0x48cac8(0x136),'stroke':'currentColor','strokeWidth':'2','strokeLinecap':_0x48cac8(0x135),'strokeLinejoin':'round','className':'size-4\x20shrink-0\x20opacity-60','children':jsx(_0x48cac8(0x126),{'d':'m6\x209\x206\x206\x206-6'})})]})]}),jsxs(SelectContent,{'data-vt-popup':'','data-vt-skip':'','sideOffset':0xc,'className':_0x48cac8(0x132),'children':[jsx(d,{'popup':_0x35f0c0}),jsx(SelectList,{'className':'max-h-72\x20overflow-y-auto\x20rounded-[18px]\x20outline-none','children':_0x11cbc7[_0x48cac8(0x12d)]((_0x4bc2d3,_0x8abb2b)=>jsx(SelectItem,{'value':_0x4bc2d3['value'],'disabled':_0x4bc2d3['disabled'],'style':{'--vt-i':_0x8abb2b},'className':_0x48cac8(0x12c),'children':_0x4bc2d3['label']},_0x4bc2d3[_0x48cac8(0x12e)]))})]})]});}function _0x1255(_0x4ee365,_0x1f6ce6){_0x4ee365=_0x4ee365-0x122;const _0x125f56=_0x125f();let _0x12550b=_0x125f56[_0x4ee365];return _0x12550b;}var O=y;export{y as GlassSelect,O as default};