ics-ui-kit 0.1.0-alpha.73 → 0.1.0-alpha.74

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.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Command-BhbfL5wm.js","sources":["../node_modules/.pnpm/cmdk@1.1.1_@types+react-dom@18.3.6_@types+react@18.3.20__@types+react@18.3.20_react-dom_e52941dcd4eb4b3a60339c5aac444699/node_modules/cmdk/dist/chunk-NZJY6EH4.mjs","../node_modules/.pnpm/cmdk@1.1.1_@types+react-dom@18.3.6_@types+react@18.3.20__@types+react@18.3.20_react-dom_e52941dcd4eb4b3a60339c5aac444699/node_modules/cmdk/dist/index.mjs","../src/components/command/Command.tsx"],"sourcesContent":["var U=1,Y=.9,H=.8,J=.17,p=.1,u=.999,$=.9999;var k=.99,m=/[\\\\\\/_+.#\"@\\[\\(\\{&]/,B=/[\\\\\\/_+.#\"@\\[\\(\\{&]/g,K=/[\\s-]/,X=/[\\s-]/g;function G(_,C,h,P,A,f,O){if(f===C.length)return A===_.length?U:k;var T=`${A},${f}`;if(O[T]!==void 0)return O[T];for(var L=P.charAt(f),c=h.indexOf(L,A),S=0,E,N,R,M;c>=0;)E=G(_,C,h,P,c+1,f+1,O),E>S&&(c===A?E*=U:m.test(_.charAt(c-1))?(E*=H,R=_.slice(A,c-1).match(B),R&&A>0&&(E*=Math.pow(u,R.length))):K.test(_.charAt(c-1))?(E*=Y,M=_.slice(A,c-1).match(X),M&&A>0&&(E*=Math.pow(u,M.length))):(E*=J,A>0&&(E*=Math.pow(u,c-A))),_.charAt(c)!==C.charAt(f)&&(E*=$)),(E<p&&h.charAt(c-1)===P.charAt(f+1)||P.charAt(f+1)===P.charAt(f)&&h.charAt(c-1)!==P.charAt(f))&&(N=G(_,C,h,P,c+1,f+2,O),N*p>E&&(E=N*p)),E>S&&(S=E),c=h.indexOf(L,c+1);return O[T]=S,S}function D(_){return _.toLowerCase().replace(X,\" \")}function W(_,C,h){return _=h&&h.length>0?`${_+\" \"+h.join(\" \")}`:_,G(_,C,D(_),D(C),0,0,{})}export{W as a};\n","\"use client\";import{a as ae}from\"./chunk-NZJY6EH4.mjs\";import*as w from\"@radix-ui/react-dialog\";import*as t from\"react\";import{Primitive as D}from\"@radix-ui/react-primitive\";import{useId as H}from\"@radix-ui/react-id\";import{composeRefs as G}from\"@radix-ui/react-compose-refs\";var N='[cmdk-group=\"\"]',Y='[cmdk-group-items=\"\"]',be='[cmdk-group-heading=\"\"]',le='[cmdk-item=\"\"]',ce=`${le}:not([aria-disabled=\"true\"])`,Z=\"cmdk-item-select\",T=\"data-value\",Re=(r,o,n)=>ae(r,o,n),ue=t.createContext(void 0),K=()=>t.useContext(ue),de=t.createContext(void 0),ee=()=>t.useContext(de),fe=t.createContext(void 0),me=t.forwardRef((r,o)=>{let n=L(()=>{var e,a;return{search:\"\",value:(a=(e=r.value)!=null?e:r.defaultValue)!=null?a:\"\",selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}}}),u=L(()=>new Set),c=L(()=>new Map),d=L(()=>new Map),f=L(()=>new Set),p=pe(r),{label:b,children:m,value:R,onValueChange:x,filter:C,shouldFilter:S,loop:A,disablePointerSelection:ge=!1,vimBindings:j=!0,...O}=r,$=H(),q=H(),_=H(),I=t.useRef(null),v=ke();k(()=>{if(R!==void 0){let e=R.trim();n.current.value=e,E.emit()}},[R]),k(()=>{v(6,ne)},[]);let E=t.useMemo(()=>({subscribe:e=>(f.current.add(e),()=>f.current.delete(e)),snapshot:()=>n.current,setState:(e,a,s)=>{var i,l,g,y;if(!Object.is(n.current[e],a)){if(n.current[e]=a,e===\"search\")J(),z(),v(1,W);else if(e===\"value\"){if(document.activeElement.hasAttribute(\"cmdk-input\")||document.activeElement.hasAttribute(\"cmdk-root\")){let h=document.getElementById(_);h?h.focus():(i=document.getElementById($))==null||i.focus()}if(v(7,()=>{var h;n.current.selectedItemId=(h=M())==null?void 0:h.id,E.emit()}),s||v(5,ne),((l=p.current)==null?void 0:l.value)!==void 0){let h=a!=null?a:\"\";(y=(g=p.current).onValueChange)==null||y.call(g,h);return}}E.emit()}},emit:()=>{f.current.forEach(e=>e())}}),[]),U=t.useMemo(()=>({value:(e,a,s)=>{var i;a!==((i=d.current.get(e))==null?void 0:i.value)&&(d.current.set(e,{value:a,keywords:s}),n.current.filtered.items.set(e,te(a,s)),v(2,()=>{z(),E.emit()}))},item:(e,a)=>(u.current.add(e),a&&(c.current.has(a)?c.current.get(a).add(e):c.current.set(a,new Set([e]))),v(3,()=>{J(),z(),n.current.value||W(),E.emit()}),()=>{d.current.delete(e),u.current.delete(e),n.current.filtered.items.delete(e);let s=M();v(4,()=>{J(),(s==null?void 0:s.getAttribute(\"id\"))===e&&W(),E.emit()})}),group:e=>(c.current.has(e)||c.current.set(e,new Set),()=>{d.current.delete(e),c.current.delete(e)}),filter:()=>p.current.shouldFilter,label:b||r[\"aria-label\"],getDisablePointerSelection:()=>p.current.disablePointerSelection,listId:$,inputId:_,labelId:q,listInnerRef:I}),[]);function te(e,a){var i,l;let s=(l=(i=p.current)==null?void 0:i.filter)!=null?l:Re;return e?s(e,n.current.search,a):0}function z(){if(!n.current.search||p.current.shouldFilter===!1)return;let e=n.current.filtered.items,a=[];n.current.filtered.groups.forEach(i=>{let l=c.current.get(i),g=0;l.forEach(y=>{let h=e.get(y);g=Math.max(h,g)}),a.push([i,g])});let s=I.current;V().sort((i,l)=>{var h,F;let g=i.getAttribute(\"id\"),y=l.getAttribute(\"id\");return((h=e.get(y))!=null?h:0)-((F=e.get(g))!=null?F:0)}).forEach(i=>{let l=i.closest(Y);l?l.appendChild(i.parentElement===l?i:i.closest(`${Y} > *`)):s.appendChild(i.parentElement===s?i:i.closest(`${Y} > *`))}),a.sort((i,l)=>l[1]-i[1]).forEach(i=>{var g;let l=(g=I.current)==null?void 0:g.querySelector(`${N}[${T}=\"${encodeURIComponent(i[0])}\"]`);l==null||l.parentElement.appendChild(l)})}function W(){let e=V().find(s=>s.getAttribute(\"aria-disabled\")!==\"true\"),a=e==null?void 0:e.getAttribute(T);E.setState(\"value\",a||void 0)}function J(){var a,s,i,l;if(!n.current.search||p.current.shouldFilter===!1){n.current.filtered.count=u.current.size;return}n.current.filtered.groups=new Set;let e=0;for(let g of u.current){let y=(s=(a=d.current.get(g))==null?void 0:a.value)!=null?s:\"\",h=(l=(i=d.current.get(g))==null?void 0:i.keywords)!=null?l:[],F=te(y,h);n.current.filtered.items.set(g,F),F>0&&e++}for(let[g,y]of c.current)for(let h of y)if(n.current.filtered.items.get(h)>0){n.current.filtered.groups.add(g);break}n.current.filtered.count=e}function ne(){var a,s,i;let e=M();e&&(((a=e.parentElement)==null?void 0:a.firstChild)===e&&((i=(s=e.closest(N))==null?void 0:s.querySelector(be))==null||i.scrollIntoView({block:\"nearest\"})),e.scrollIntoView({block:\"nearest\"}))}function M(){var e;return(e=I.current)==null?void 0:e.querySelector(`${le}[aria-selected=\"true\"]`)}function V(){var e;return Array.from(((e=I.current)==null?void 0:e.querySelectorAll(ce))||[])}function X(e){let s=V()[e];s&&E.setState(\"value\",s.getAttribute(T))}function Q(e){var g;let a=M(),s=V(),i=s.findIndex(y=>y===a),l=s[i+e];(g=p.current)!=null&&g.loop&&(l=i+e<0?s[s.length-1]:i+e===s.length?s[0]:s[i+e]),l&&E.setState(\"value\",l.getAttribute(T))}function re(e){let a=M(),s=a==null?void 0:a.closest(N),i;for(;s&&!i;)s=e>0?we(s,N):De(s,N),i=s==null?void 0:s.querySelector(ce);i?E.setState(\"value\",i.getAttribute(T)):Q(e)}let oe=()=>X(V().length-1),ie=e=>{e.preventDefault(),e.metaKey?oe():e.altKey?re(1):Q(1)},se=e=>{e.preventDefault(),e.metaKey?X(0):e.altKey?re(-1):Q(-1)};return t.createElement(D.div,{ref:o,tabIndex:-1,...O,\"cmdk-root\":\"\",onKeyDown:e=>{var s;(s=O.onKeyDown)==null||s.call(O,e);let a=e.nativeEvent.isComposing||e.keyCode===229;if(!(e.defaultPrevented||a))switch(e.key){case\"n\":case\"j\":{j&&e.ctrlKey&&ie(e);break}case\"ArrowDown\":{ie(e);break}case\"p\":case\"k\":{j&&e.ctrlKey&&se(e);break}case\"ArrowUp\":{se(e);break}case\"Home\":{e.preventDefault(),X(0);break}case\"End\":{e.preventDefault(),oe();break}case\"Enter\":{e.preventDefault();let i=M();if(i){let l=new Event(Z);i.dispatchEvent(l)}}}}},t.createElement(\"label\",{\"cmdk-label\":\"\",htmlFor:U.inputId,id:U.labelId,style:Te},b),B(r,e=>t.createElement(de.Provider,{value:E},t.createElement(ue.Provider,{value:U},e))))}),he=t.forwardRef((r,o)=>{var _,I;let n=H(),u=t.useRef(null),c=t.useContext(fe),d=K(),f=pe(r),p=(I=(_=f.current)==null?void 0:_.forceMount)!=null?I:c==null?void 0:c.forceMount;k(()=>{if(!p)return d.item(n,c==null?void 0:c.id)},[p]);let b=ve(n,u,[r.value,r.children,u],r.keywords),m=ee(),R=P(v=>v.value&&v.value===b.current),x=P(v=>p||d.filter()===!1?!0:v.search?v.filtered.items.get(n)>0:!0);t.useEffect(()=>{let v=u.current;if(!(!v||r.disabled))return v.addEventListener(Z,C),()=>v.removeEventListener(Z,C)},[x,r.onSelect,r.disabled]);function C(){var v,E;S(),(E=(v=f.current).onSelect)==null||E.call(v,b.current)}function S(){m.setState(\"value\",b.current,!0)}if(!x)return null;let{disabled:A,value:ge,onSelect:j,forceMount:O,keywords:$,...q}=r;return t.createElement(D.div,{ref:G(u,o),...q,id:n,\"cmdk-item\":\"\",role:\"option\",\"aria-disabled\":!!A,\"aria-selected\":!!R,\"data-disabled\":!!A,\"data-selected\":!!R,onPointerMove:A||d.getDisablePointerSelection()?void 0:S,onClick:A?void 0:C},r.children)}),Ee=t.forwardRef((r,o)=>{let{heading:n,children:u,forceMount:c,...d}=r,f=H(),p=t.useRef(null),b=t.useRef(null),m=H(),R=K(),x=P(S=>c||R.filter()===!1?!0:S.search?S.filtered.groups.has(f):!0);k(()=>R.group(f),[]),ve(f,p,[r.value,r.heading,b]);let C=t.useMemo(()=>({id:f,forceMount:c}),[c]);return t.createElement(D.div,{ref:G(p,o),...d,\"cmdk-group\":\"\",role:\"presentation\",hidden:x?void 0:!0},n&&t.createElement(\"div\",{ref:b,\"cmdk-group-heading\":\"\",\"aria-hidden\":!0,id:m},n),B(r,S=>t.createElement(\"div\",{\"cmdk-group-items\":\"\",role:\"group\",\"aria-labelledby\":n?m:void 0},t.createElement(fe.Provider,{value:C},S))))}),ye=t.forwardRef((r,o)=>{let{alwaysRender:n,...u}=r,c=t.useRef(null),d=P(f=>!f.search);return!n&&!d?null:t.createElement(D.div,{ref:G(c,o),...u,\"cmdk-separator\":\"\",role:\"separator\"})}),Se=t.forwardRef((r,o)=>{let{onValueChange:n,...u}=r,c=r.value!=null,d=ee(),f=P(m=>m.search),p=P(m=>m.selectedItemId),b=K();return t.useEffect(()=>{r.value!=null&&d.setState(\"search\",r.value)},[r.value]),t.createElement(D.input,{ref:o,...u,\"cmdk-input\":\"\",autoComplete:\"off\",autoCorrect:\"off\",spellCheck:!1,\"aria-autocomplete\":\"list\",role:\"combobox\",\"aria-expanded\":!0,\"aria-controls\":b.listId,\"aria-labelledby\":b.labelId,\"aria-activedescendant\":p,id:b.inputId,type:\"text\",value:c?r.value:f,onChange:m=>{c||d.setState(\"search\",m.target.value),n==null||n(m.target.value)}})}),Ce=t.forwardRef((r,o)=>{let{children:n,label:u=\"Suggestions\",...c}=r,d=t.useRef(null),f=t.useRef(null),p=P(m=>m.selectedItemId),b=K();return t.useEffect(()=>{if(f.current&&d.current){let m=f.current,R=d.current,x,C=new ResizeObserver(()=>{x=requestAnimationFrame(()=>{let S=m.offsetHeight;R.style.setProperty(\"--cmdk-list-height\",S.toFixed(1)+\"px\")})});return C.observe(m),()=>{cancelAnimationFrame(x),C.unobserve(m)}}},[]),t.createElement(D.div,{ref:G(d,o),...c,\"cmdk-list\":\"\",role:\"listbox\",tabIndex:-1,\"aria-activedescendant\":p,\"aria-label\":u,id:b.listId},B(r,m=>t.createElement(\"div\",{ref:G(f,b.listInnerRef),\"cmdk-list-sizer\":\"\"},m)))}),xe=t.forwardRef((r,o)=>{let{open:n,onOpenChange:u,overlayClassName:c,contentClassName:d,container:f,...p}=r;return t.createElement(w.Root,{open:n,onOpenChange:u},t.createElement(w.Portal,{container:f},t.createElement(w.Overlay,{\"cmdk-overlay\":\"\",className:c}),t.createElement(w.Content,{\"aria-label\":r.label,\"cmdk-dialog\":\"\",className:d},t.createElement(me,{ref:o,...p}))))}),Ie=t.forwardRef((r,o)=>P(u=>u.filtered.count===0)?t.createElement(D.div,{ref:o,...r,\"cmdk-empty\":\"\",role:\"presentation\"}):null),Pe=t.forwardRef((r,o)=>{let{progress:n,children:u,label:c=\"Loading...\",...d}=r;return t.createElement(D.div,{ref:o,...d,\"cmdk-loading\":\"\",role:\"progressbar\",\"aria-valuenow\":n,\"aria-valuemin\":0,\"aria-valuemax\":100,\"aria-label\":c},B(r,f=>t.createElement(\"div\",{\"aria-hidden\":!0},f)))}),_e=Object.assign(me,{List:Ce,Item:he,Input:Se,Group:Ee,Separator:ye,Dialog:xe,Empty:Ie,Loading:Pe});function we(r,o){let n=r.nextElementSibling;for(;n;){if(n.matches(o))return n;n=n.nextElementSibling}}function De(r,o){let n=r.previousElementSibling;for(;n;){if(n.matches(o))return n;n=n.previousElementSibling}}function pe(r){let o=t.useRef(r);return k(()=>{o.current=r}),o}var k=typeof window==\"undefined\"?t.useEffect:t.useLayoutEffect;function L(r){let o=t.useRef();return o.current===void 0&&(o.current=r()),o}function P(r){let o=ee(),n=()=>r(o.snapshot());return t.useSyncExternalStore(o.subscribe,n,n)}function ve(r,o,n,u=[]){let c=t.useRef(),d=K();return k(()=>{var b;let f=(()=>{var m;for(let R of n){if(typeof R==\"string\")return R.trim();if(typeof R==\"object\"&&\"current\"in R)return R.current?(m=R.current.textContent)==null?void 0:m.trim():c.current}})(),p=u.map(m=>m.trim());d.value(r,f,p),(b=o.current)==null||b.setAttribute(T,f),c.current=f}),c}var ke=()=>{let[r,o]=t.useState(),n=L(()=>new Map);return k(()=>{n.current.forEach(u=>u()),n.current=new Map},[r]),(u,c)=>{n.current.set(u,c),o({})}};function Me(r){let o=r.type;return typeof o==\"function\"?o(r.props):\"render\"in o?o.render(r.props):r}function B({asChild:r,children:o},n){return r&&t.isValidElement(o)?t.cloneElement(Me(o),{ref:o.ref},n(o.props.children)):n(o)}var Te={position:\"absolute\",width:\"1px\",height:\"1px\",padding:\"0\",margin:\"-1px\",overflow:\"hidden\",clip:\"rect(0, 0, 0, 0)\",whiteSpace:\"nowrap\",borderWidth:\"0\"};export{_e as Command,xe as CommandDialog,Ie as CommandEmpty,Ee as CommandGroup,Se as CommandInput,he as CommandItem,Ce as CommandList,Pe as CommandLoading,me as CommandRoot,ye as CommandSeparator,Re as defaultFilter,P as useCommandState};\n","import * as React from \"react\";\nimport { type DialogProps } from \"@radix-ui/react-dialog\";\nimport { Command as CommandPrimitive } from \"cmdk\";\nimport { Search } from \"lucide-react\";\nimport { tv } from \"tailwind-variants\";\nimport { menuItemStyles } from \"../menu-item\";\nimport { Icon } from \"../icon\";\nimport { useComponentVariant } from \"@/providers/component-variant-context\";\nimport { menuItemShortcutStyles } from \"../menu-item/components/menu-item-shortcut/MenuItemShortcut\";\nimport { menuItemTextStyles } from \"../menu-item/components/menu-item-text/MenuItemText\";\nimport { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle } from \"../dialog\";\nimport { ScrollShadowContainer } from \"../scroll-shadow-container\";\nimport { ScrollShadowContainerProps } from \"../scroll-shadow-container/ScrollShadowContainer\";\n\nconst commandStyles = tv({\n\tbase: \"flex h-full w-full flex-col overflow-hidden rounded-lg bg-secondary-bg text-primary-fg shadow-soft-md\",\n\tvariants: {\n\t\ttheme: {\n\t\t\tinverse: \"border-inverse-border bg-inverse-primary-bg text-inverse-primary-fg shadow-hard-md\"\n\t\t}\n\t}\n});\n\nconst Command = React.forwardRef<\n\tReact.ElementRef<typeof CommandPrimitive>,\n\tReact.ComponentPropsWithoutRef<typeof CommandPrimitive>\n>(({ className, ...props }, ref) => {\n\tconst { variant: theme } = useComponentVariant();\n\n\treturn (\n\t\t<CommandPrimitive ref={ref} data-slot=\"command\" className={commandStyles({ className, theme })} {...props} />\n\t);\n});\nCommand.displayName = CommandPrimitive.displayName;\n\nconst commandDialogStyles = tv({\n\tslots: {\n\t\tcontent: \"overflow-hidden border-none p-0 shadow-soft-2xl\",\n\t\tcommand: [\n\t\t\t\"rounded-xl\",\n\t\t\t\"[&_[cmdk-group-heading]]:px-3 [&_[cmdk-group-heading]]:font-normal [&_[cmdk-group-heading]]:text-muted\",\n\t\t\t\"[&_[cmdk-group]]:px-1\",\n\t\t\t\"[&_[cmdk-input-wrapper]_svg]:h-4 [&_[cmdk-input-wrapper]_svg]:w-4\",\n\t\t\t\"[&_[cmdk-input-wrapper]]:pl-4\",\n\t\t\t\"[&_[cmdk-group-items]]:p-1\",\n\t\t\t\"[&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-1.5\",\n\t\t\t\"[&_[cmdk-item]_svg]:h-4 [&_[cmdk-item]_svg]:w-4\"\n\t\t]\n\t},\n\tvariants: {\n\t\ttheme: {\n\t\t\tinverse: {\n\t\t\t\tcommand: \"border-inverse-border\"\n\t\t\t}\n\t\t}\n\t}\n});\n\nconst CommandDialog = ({\n\ttitle = \"Command Palette\",\n\tdescription = \"Search for a command to run...\",\n\tchildren,\n\tclassName,\n\toverlayType,\n\toverlayBlur,\n\t...props\n}: DialogProps & {\n\ttitle?: string;\n\tdescription?: string;\n\tclassName?: string;\n\toverlayType?: React.ComponentProps<typeof DialogContent>[\"overlayType\"];\n\toverlayBlur?: React.ComponentProps<typeof DialogContent>[\"overlayBlur\"];\n}) => {\n\tconst styles = commandDialogStyles();\n\treturn (\n\t\t<Dialog {...props}>\n\t\t\t<DialogHeader className=\"!sr-only\">\n\t\t\t\t<DialogTitle>{title}</DialogTitle>\n\t\t\t\t<DialogDescription>{description}</DialogDescription>\n\t\t\t</DialogHeader>\n\t\t\t<DialogContent\n\t\t\t\tclassName={styles.content({ className })}\n\t\t\t\toverlayType={overlayType}\n\t\t\t\toverlayBlur={overlayBlur}\n\t\t\t\tshowCloseButton={false}\n\t\t\t>\n\t\t\t\t<Command className={styles.command()}>{children}</Command>\n\t\t\t</DialogContent>\n\t\t</Dialog>\n\t);\n};\n\nconst commandInputStyles = tv({\n\tslots: {\n\t\twrapper: \"flex items-center border-b border-secondary-border pl-3 pr-2\",\n\t\tsearch: \"mr-2 h-4 w-4 shrink-0 text-muted\",\n\t\tinput: \"flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted disabled:cursor-not-allowed disabled:opacity-50\"\n\t},\n\tvariants: {\n\t\ttheme: {\n\t\t\tinverse: {\n\t\t\t\twrapper: \"border-inverse-border\",\n\t\t\t\tsearch: \"text-inverse-muted\",\n\t\t\t\tinput: \"placeholder:text-inverse-muted\"\n\t\t\t}\n\t\t}\n\t}\n});\n\ntype CommandInputProps = React.ComponentPropsWithoutRef<typeof CommandPrimitive.Input> & {\n\twrapperClassName?: string;\n};\n\nconst CommandInput = React.forwardRef<React.ElementRef<typeof CommandPrimitive.Input>, CommandInputProps>(\n\t({ className, wrapperClassName, ...props }, ref) => {\n\t\tconst { variant: theme } = useComponentVariant();\n\t\tconst styles = commandInputStyles({ theme });\n\n\t\treturn (\n\t\t\t<div\n\t\t\t\tclassName={styles.wrapper({ className: wrapperClassName })}\n\t\t\t\tdata-slot=\"command-input-wrapper\"\n\t\t\t\tcmdk-input-wrapper=\"\"\n\t\t\t>\n\t\t\t\t<Icon icon={Search} className={styles.search()} />\n\t\t\t\t<CommandPrimitive.Input\n\t\t\t\t\tref={ref}\n\t\t\t\t\tdata-slot=\"command-input\"\n\t\t\t\t\tclassName={styles.input({ className })}\n\t\t\t\t\t{...props}\n\t\t\t\t/>\n\t\t\t</div>\n\t\t);\n\t}\n);\n\nCommandInput.displayName = CommandPrimitive.Input.displayName;\n\nconst commandListStyles = tv({\n\tbase: \"max-h-[300px] overflow-y-auto overflow-x-hidden outline-none\"\n});\n\nconst CommandList = React.forwardRef<\n\tReact.ElementRef<typeof CommandPrimitive.List>,\n\tReact.ComponentPropsWithoutRef<typeof CommandPrimitive.List>\n>(({ className, ...props }, ref) => (\n\t<CommandPrimitive.List ref={ref} data-slot=\"command-list\" className={commandListStyles({ className })} {...props} />\n));\n\nconst commandListContainerStyles = tv({\n\tbase: \"max-h-[300px] overflow-x-hidden outline-none\"\n});\n\nexport type CommandListScrollShadowProps = React.ComponentPropsWithoutRef<typeof CommandPrimitive.List> & {\n\tcontainerClassName?: string;\n\tshadowSize?: ScrollShadowContainerProps[\"shadowSize\"];\n};\n\nconst CommandListContainer = React.forwardRef<\n\tReact.ElementRef<typeof CommandPrimitive.List>,\n\tCommandListScrollShadowProps\n>(({ className, containerClassName, shadowSize, ...props }, ref) => (\n\t<ScrollShadowContainer\n\t\tclassName={commandListContainerStyles({ className: containerClassName })}\n\t\tdata-slot=\"command-list-scroll-shadow\"\n\t\tshadowSize={shadowSize}\n\t>\n\t\t<CommandPrimitive.List ref={ref} data-slot=\"command-list\" className={className} {...props} />\n\t</ScrollShadowContainer>\n));\n\nCommandList.displayName = CommandPrimitive.List.displayName;\nCommandListContainer.displayName = \"CommandListContainer\";\n\nconst commandEmptyStyles = tv({\n\textend: menuItemTextStyles,\n\tbase: \"flex items-center justify-center px-3 py-6 text-secondary-fg\"\n});\n\nconst CommandEmpty = React.forwardRef<\n\tReact.ElementRef<typeof CommandPrimitive.Empty>,\n\tReact.ComponentPropsWithoutRef<typeof CommandPrimitive.Empty>\n>(({ className, ...props }, ref) => {\n\tconst { variant: theme } = useComponentVariant();\n\n\treturn (\n\t\t<CommandPrimitive.Empty\n\t\t\tref={ref}\n\t\t\tdata-slot=\"command-empty\"\n\t\t\tclassName={commandEmptyStyles({ className, theme })}\n\t\t\t{...props}\n\t\t/>\n\t);\n});\n\nCommandEmpty.displayName = CommandPrimitive.Empty.displayName;\n\nconst commandGroupStyles = tv({\n\tbase: \"overflow-hidden p-1 text-primary-fg [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:text-muted\",\n\tvariants: {\n\t\ttheme: {\n\t\t\tinverse: \"text-inverse-primary-fg [&_[cmdk-group-heading]]:text-inverse-muted\"\n\t\t}\n\t}\n});\n\nconst CommandGroup = React.forwardRef<\n\tReact.ElementRef<typeof CommandPrimitive.Group>,\n\tReact.ComponentPropsWithoutRef<typeof CommandPrimitive.Group>\n>(({ className, ...props }, ref) => {\n\tconst { variant: theme } = useComponentVariant();\n\n\treturn (\n\t\t<CommandPrimitive.Group\n\t\t\tref={ref}\n\t\t\tdata-slot=\"command-group\"\n\t\t\tclassName={commandGroupStyles({ className, theme })}\n\t\t\t{...props}\n\t\t/>\n\t);\n});\n\nCommandGroup.displayName = CommandPrimitive.Group.displayName;\n\nconst commandSeparatorStyles = tv({\n\tbase: \"mx-1 h-px bg-secondary-border\",\n\tvariants: {\n\t\ttheme: {\n\t\t\tinverse: \"bg-inverse-border\"\n\t\t}\n\t}\n});\n\nconst CommandSeparator = React.forwardRef<\n\tReact.ElementRef<typeof CommandPrimitive.Separator>,\n\tReact.ComponentPropsWithoutRef<typeof CommandPrimitive.Separator>\n>(({ className, ...props }, ref) => {\n\tconst { variant: theme } = useComponentVariant();\n\n\treturn (\n\t\t<CommandPrimitive.Separator\n\t\t\tref={ref}\n\t\t\tdata-slot=\"command-separator\"\n\t\t\tclassName={commandSeparatorStyles({ className, theme })}\n\t\t\t{...props}\n\t\t/>\n\t);\n});\nCommandSeparator.displayName = CommandPrimitive.Separator.displayName;\n\nconst commandItemStyles = tv({\n\textend: menuItemStyles,\n\tbase: \"pr-2 data-[disabled=true]:pointer-events-none data-[selected=true]:bg-secondary-bg-hover data-[selected=true]:text-primary-fg data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0\"\n});\n\nconst CommandItem = React.forwardRef<\n\tReact.ElementRef<typeof CommandPrimitive.Item>,\n\tReact.ComponentPropsWithoutRef<typeof CommandPrimitive.Item>\n>(({ className, disabled, children, ...props }, ref) => {\n\tconst { variant: theme } = useComponentVariant();\n\n\treturn (\n\t\t<CommandPrimitive.Item\n\t\t\tdisabled={disabled}\n\t\t\tref={ref}\n\t\t\tdata-slot=\"command-item\"\n\t\t\tclassName={commandItemStyles({ className, disabled, theme })}\n\t\t\t{...props}\n\t\t>\n\t\t\t{children}\n\t\t</CommandPrimitive.Item>\n\t);\n});\n\nCommandItem.displayName = CommandPrimitive.Item.displayName;\n\nconst commandShortcutStyles = tv({\n\textend: menuItemShortcutStyles,\n\tbase: \"ml-auto text-xs tracking-widest\"\n});\n\nconst CommandShortcut = ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>) => {\n\tconst { variant: theme } = useComponentVariant();\n\n\treturn <span data-slot=\"command-shortcut\" className={commandShortcutStyles({ className, theme })} {...props} />;\n};\nCommandShortcut.displayName = \"CommandShortcut\";\n\nconst commandFooterStyles = tv({\n\tbase: \"flex items-center gap-1 border-t border-secondary-border bg-alpha-60 px-4 py-2.5 text-xs text-secondary-fg\",\n\tvariants: {\n\t\ttheme: {\n\t\t\tinverse: \"border-inverse-border bg-alpha-high-60 text-inverse-secondary-fg\"\n\t\t}\n\t}\n});\n\nconst CommandFooter = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(\n\t({ className, ...props }, ref) => {\n\t\tconst { variant: theme } = useComponentVariant();\n\n\t\treturn (\n\t\t\t<div\n\t\t\t\tref={ref}\n\t\t\t\tdata-slot=\"command-footer\"\n\t\t\t\tclassName={commandFooterStyles({ className, theme })}\n\t\t\t\t{...props}\n\t\t\t/>\n\t\t);\n\t}\n);\nCommandFooter.displayName = \"CommandFooter\";\n\nexport {\n\tCommand,\n\tCommandDialog,\n\tCommandInput,\n\tCommandList,\n\tCommandListContainer,\n\tCommandEmpty,\n\tCommandGroup,\n\tCommandItem,\n\tCommandShortcut,\n\tCommandSeparator,\n\tCommandFooter\n};\n"],"names":["U","Y","H","J","p","u","$","k","m","B","K","X","G","_","C","h","P","A","f","O","T","L","c","S","E","N","R","M","D","W","be","le","ce","Z","Re","r","o","n","ae","ue","t","de","ee","fe","me","e","a","d","pe","x","ge","j","q","I","v","ke","ne","s","i","l","y","z","te","F","g","Q","re","we","De","oe","ie","se","Te","he","b","ve","Ee","ye","Se","Ce","xe","w.Root","w.Portal","w.Overlay","w.Content","Ie","Pe","_e","Me","commandStyles","tv","Command","React","className","props","ref","theme","useComponentVariant","jsx","CommandPrimitive","commandDialogStyles","CommandDialog","title","description","children","overlayType","overlayBlur","styles","jsxs","Dialog","DialogHeader","DialogTitle","DialogDescription","DialogContent","commandInputStyles","CommandInput","wrapperClassName","Icon","Search","commandListStyles","CommandList","commandListContainerStyles","CommandListContainer","containerClassName","shadowSize","ScrollShadowContainer","commandEmptyStyles","menuItemTextStyles","CommandEmpty","commandGroupStyles","CommandGroup","commandSeparatorStyles","CommandSeparator","commandItemStyles","menuItemStyles","CommandItem","disabled","commandShortcutStyles","menuItemShortcutStyles","CommandShortcut","commandFooterStyles","CommandFooter"],"mappings":";;;;;;;;;;;;;;;AAAA,IAAIA,KAAE,GAAEC,KAAE,KAAGC,KAAE,KAAGC,KAAE,MAAIC,KAAE,KAAGC,KAAE,OAAKC,KAAE,QAAUC,KAAE,MAAIC,KAAE,uBAAsBC,KAAE,wBAAuBC,KAAE,SAAQC,KAAE;AAAS,SAASC,GAAEC,GAAEC,GAAEC,GAAEC,GAAEC,GAAEC,GAAEC,GAAE;AAAC,MAAGD,MAAIJ,EAAE,OAAO,QAAOG,MAAIJ,EAAE,SAAOb,KAAEO;AAAE,MAAIa,IAAE,GAAGH,CAAC,IAAIC,CAAC;AAAG,MAAGC,EAAEC,CAAC,MAAI,OAAO,QAAOD,EAAEC,CAAC;AAAE,WAAQC,IAAEL,EAAE,OAAOE,CAAC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AACA6C,GAAgB,cAAc;AAE9B,MAAMC,KAAsBlD,EAAG;AAAA,EAC9B,MAAM;AAAA,EACN,UAAU;AAAA,IACT,OAAO;AAAA,MACN,SAAS;AAAA,IAAA;AAAA,EACV;AAEF,CAAC,GAEKmD,KAAgBjD,EAAM;AAAA,EAC3B,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAASC,MAAQ;AACjC,UAAM,EAAE,SAASC,EAAM,IAAIC,EAAoB;AAG9C,WAAA,gBAAAC;AAAA,MAAC;AAAA,MAAA;AAAA,QACA,KAAAH;AAAA,QACA,aAAU;AAAA,QACV,WAAW6C,GAAoB,EAAE,WAAA/C,GAAW,OAAAG,GAAO;AAAA,QAClD,GAAGF;AAAA,MAAA;AAAA,IACL;AAAA,EAAA;AAGH;AACA+C,GAAc,cAAc;","x_google_ignoreList":[0,1]}
@@ -4,7 +4,7 @@ import * as l from "react";
4
4
  import { T as g } from "./index-BVqs-uqP.js";
5
5
  import { F as H, a as I, b as j, f as k, c as q } from "./FormHeader--F6b2aRk.js";
6
6
  import { I as X } from "./Icon-DH3ev9GK.js";
7
- import { o as A } from "./Overlay-tQGhsBQR.js";
7
+ import { o as A } from "./Overlay-2XMlxApi.js";
8
8
  import { u as E } from "./usePortalContainer-ae6EzS08.js";
9
9
  import { X as G } from "./x-tDTt7hTQ.js";
10
10
  const y = P;
@@ -96,4 +96,4 @@ export {
96
96
  na as s,
97
97
  da as t
98
98
  };
99
- //# sourceMappingURL=Dialog-Dthc9c-1.js.map
99
+ //# sourceMappingURL=Dialog-ByiJIDhl.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Dialog-Dthc9c-1.js","sources":["../src/components/dialog/Dialog.tsx"],"sourcesContent":["import * as DialogPrimitive from \"@radix-ui/react-dialog\";\nimport { X } from \"lucide-react\";\nimport * as React from \"react\";\nimport { tv } from \"tailwind-variants\";\nimport { FormBody } from \"../form/components/form-body/FormBody\";\nimport { FormFooter } from \"../form/components/form-footer/FormFooter\";\nimport { formDescriptionStyles, FormHeader, formTitleStyles } from \"../form/components/form-header/FormHeader\";\nimport { Icon } from \"../icon\";\nimport { overlayStyles, OverlayVariants } from \"../overlay/Overlay\";\nimport { usePortalContainer } from \"../portal-container\";\n\nconst Dialog = DialogPrimitive.Root;\nDialog.displayName = \"Dialog\";\n\nconst DialogTrigger = DialogPrimitive.Trigger;\nDialogTrigger.displayName = \"DialogTrigger\";\n\nconst DialogPortal = DialogPrimitive.Portal;\nDialogPortal.displayName = \"DialogPortal\";\n\nconst DialogTitle = React.forwardRef<\n\tReact.ElementRef<typeof DialogPrimitive.Title>,\n\tReact.ComponentPropsWithoutRef<typeof DialogPrimitive.Title>\n>(({ className, ...props }, ref) => {\n\tconst styles = formTitleStyles({ class: className });\n\treturn <DialogPrimitive.Title ref={ref} className={styles} {...props} />;\n});\nDialogTitle.displayName = \"DialogTitle\";\n\nconst DialogDescription = React.forwardRef<\n\tReact.ElementRef<typeof DialogPrimitive.Description>,\n\tReact.ComponentPropsWithoutRef<typeof DialogPrimitive.Description>\n>(({ className, ...props }, ref) => {\n\tconst styles = formDescriptionStyles({ class: className });\n\treturn <DialogPrimitive.Description ref={ref} className={styles} {...props} />;\n});\nDialogDescription.displayName = \"DialogDescription\";\n\nconst DialogHeader = FormHeader;\nDialogHeader.displayName = \"DialogHeader\";\n\nconst DialogBody = FormBody;\nDialogBody.displayName = \"DialogBody\";\n\nconst DialogFooter = FormFooter;\nDialogFooter.displayName = \"DialogFooter\";\n\nconst DialogClose = DialogPrimitive.Close;\nDialogClose.displayName = \"DialogClose\";\n\nconst dialogOverlayStyles = tv({ extend: overlayStyles });\n\ninterface DialogOverlayProps extends React.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>, OverlayVariants {}\n\nconst DialogOverlay = React.forwardRef<React.ElementRef<typeof DialogPrimitive.Overlay>, DialogOverlayProps>(\n\t({ className, blur, type, ...props }, ref) => (\n\t\t<DialogPrimitive.Overlay\n\t\t\tref={ref}\n\t\t\tclassName={dialogOverlayStyles({ class: className, blur, type })}\n\t\t\t{...props}\n\t\t/>\n\t)\n);\nDialogOverlay.displayName = DialogPrimitive.Overlay.displayName;\n\nconst dialogContentStyles = tv({\n\tbase: [\n\t\t\"fixed left-[50%] top-[45%] z-50 max-h-[min(90vh,calc(100vh-44px))] w-full max-w-[min(480px,calc(100vw-32px))] translate-x-[-50%] translate-y-[-45%] lg:top-[35%] lg:max-h-[min(90vh,830px)] lg:max-w-[min(544px,calc(100vw-32px))] lg:translate-y-[-35%]\",\n\t\t\"flex flex-col gap-0 overflow-hidden rounded-xl border border-secondary-border bg-secondary-bg p-0 shadow-soft-lg\",\n\t\t\"duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]\"\n\t],\n\tslots: {\n\t\tcloseButton: \"absolute right-0 top-0 z-50 h-11 w-11 p-3.5 text-muted\",\n\t\tcloseIcon: \"h-4 w-4\"\n\t}\n});\n\ntype BackgroundProps = OverlayVariants;\n\nconst DialogContent = React.forwardRef<\n\tReact.ElementRef<typeof DialogPrimitive.Content>,\n\tReact.ComponentPropsWithoutRef<typeof DialogPrimitive.Content> & {\n\t\toverlayBlur?: BackgroundProps[\"blur\"];\n\t\toverlayType?: BackgroundProps[\"type\"];\n\t\tshowCloseButton?: boolean;\n\t\t/**\n\t\t * Контейнер для портала. Если не указан, используется хук usePortalContainer\n\t\t * для поиска PortalContainer\n\t\t */\n\t\tportalContainer?: HTMLElement;\n\t}\n>((props, ref) => {\n\tconst {\n\t\tclassName,\n\t\tchildren,\n\t\toverlayBlur,\n\t\toverlayType,\n\t\tshowCloseButton = true,\n\t\tportalContainer,\n\t\t...restProps\n\t} = props;\n\tconst styles = dialogContentStyles();\n\tconst container = usePortalContainer(portalContainer);\n\treturn (\n\t\t<DialogPrimitive.Portal container={container}>\n\t\t\t<DialogOverlay blur={overlayBlur} type={overlayType} />\n\t\t\t<DialogPrimitive.Content ref={ref} className={styles.base({ className })} {...restProps}>\n\t\t\t\t{children}\n\t\t\t\t{showCloseButton && (\n\t\t\t\t\t<DialogPrimitive.Close className={styles.closeButton()}>\n\t\t\t\t\t\t<Icon className={styles.closeIcon()} size=\"lg\" icon={X}></Icon>\n\t\t\t\t\t</DialogPrimitive.Close>\n\t\t\t\t)}\n\t\t\t</DialogPrimitive.Content>\n\t\t</DialogPrimitive.Portal>\n\t);\n});\nDialogContent.displayName = \"DialogContent\";\n\nexport {\n\tDialog,\n\tDialogBody,\n\tDialogClose,\n\tDialogContent,\n\tDialogDescription,\n\tDialogFooter,\n\tDialogHeader,\n\tDialogOverlay,\n\tDialogPortal,\n\tDialogTitle,\n\tDialogTrigger\n};\n\n/** @deprecated Используйте Dialog вместо Modal */\nexport const Modal = Dialog;\n/** @deprecated Используйте DialogBody вместо ModalBody */\nexport const ModalBody = DialogBody;\n/** @deprecated Используйте DialogClose вместо ModalClose */\nexport const ModalClose = DialogClose;\n/** @deprecated Используйте DialogContent вместо ModalContent */\nexport const ModalContent = DialogContent;\n/** @deprecated Используйте DialogDescription вместо ModalDescription */\nexport const ModalDescription = DialogDescription;\n/** @deprecated Используйте DialogFooter вместо ModalFooter */\nexport const ModalFooter = DialogFooter;\n/** @deprecated Используйте DialogHeader вместо ModalHeader */\nexport const ModalHeader = DialogHeader;\n/** @deprecated Используйте DialogOverlay вместо ModalOverlay */\nexport const ModalOverlay = DialogOverlay;\n/** @deprecated Используйте DialogPortal вместо ModalPortal */\nexport const ModalPortal = DialogPortal;\n/** @deprecated Используйте DialogTitle вместо ModalTitle */\nexport const ModalTitle = DialogTitle;\n/** @deprecated Используйте DialogTrigger вместо ModalTrigger */\nexport const ModalTrigger = DialogTrigger;\n"],"names":["Dialog","DialogPrimitive.Root","DialogTrigger","DialogPrimitive.Trigger","DialogPortal","DialogPrimitive.Portal","DialogTitle","React","className","props","ref","styles","formTitleStyles","jsx","DialogPrimitive.Title","DialogDescription","formDescriptionStyles","DialogPrimitive.Description","DialogHeader","FormHeader","DialogBody","FormBody","DialogFooter","FormFooter","DialogClose","DialogPrimitive.Close","dialogOverlayStyles","tv","overlayStyles","DialogOverlay","blur","type","DialogPrimitive.Overlay","dialogContentStyles","DialogContent","children","overlayBlur","overlayType","showCloseButton","portalContainer","restProps","container","usePortalContainer","jsxs","DialogPrimitive.Content","Icon","X","Modal","ModalBody","ModalClose","ModalContent","ModalDescription","ModalFooter","ModalHeader","ModalOverlay","ModalPortal","ModalTitle","ModalTrigger"],"mappings":";;;;;;;;;AAWA,MAAMA,IAASC;AACfD,EAAO,cAAc;AAErB,MAAME,IAAgBC;AACtBD,EAAc,cAAc;AAE5B,MAAME,IAAeC;AACrBD,EAAa,cAAc;AAErB,MAAAE,IAAcC,EAAM,WAGxB,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAM,GAAGC,MAAQ;AACnC,QAAMC,IAASC,EAAgB,EAAE,OAAOJ,GAAW;AAC5C,SAAA,gBAAAK,EAACC,GAAA,EAAsB,KAAAJ,GAAU,WAAWC,GAAS,GAAGF,GAAO;AACvE,CAAC;AACDH,EAAY,cAAc;AAEpB,MAAAS,IAAoBR,EAAM,WAG9B,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAM,GAAGC,MAAQ;AACnC,QAAMC,IAASK,EAAsB,EAAE,OAAOR,GAAW;AAClD,SAAA,gBAAAK,EAACI,GAAA,EAA4B,KAAAP,GAAU,WAAWC,GAAS,GAAGF,GAAO;AAC7E,CAAC;AACDM,EAAkB,cAAc;AAEhC,MAAMG,IAAeC;AACrBD,EAAa,cAAc;AAE3B,MAAME,IAAaC;AACnBD,EAAW,cAAc;AAEzB,MAAME,IAAeC;AACrBD,EAAa,cAAc;AAE3B,MAAME,IAAcC;AACpBD,EAAY,cAAc;AAE1B,MAAME,IA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EAEF,CAAA;AAAA,EAAA,GACD;AAEF,CAAC;AACDZ,EAAc,cAAc;AAiBrB,MAAMa,IAAQ/C,GAERgD,KAAY5B,GAEZ6B,KAAazB,GAEb0B,KAAehB,GAEfiB,KAAmBpC,GAEnBqC,KAAc9B,GAEd+B,KAAcnC,GAEdoC,KAAezB,GAEf0B,KAAcnD,GAEdoD,KAAalD,GAEbmD,KAAevD;"}
1
+ {"version":3,"file":"Dialog-ByiJIDhl.js","sources":["../src/components/dialog/Dialog.tsx"],"sourcesContent":["import * as DialogPrimitive from \"@radix-ui/react-dialog\";\nimport { X } from \"lucide-react\";\nimport * as React from \"react\";\nimport { tv } from \"tailwind-variants\";\nimport { FormBody } from \"../form/components/form-body/FormBody\";\nimport { FormFooter } from \"../form/components/form-footer/FormFooter\";\nimport { formDescriptionStyles, FormHeader, formTitleStyles } from \"../form/components/form-header/FormHeader\";\nimport { Icon } from \"../icon\";\nimport { overlayStyles, OverlayVariants } from \"../overlay/Overlay\";\nimport { usePortalContainer } from \"../portal-container\";\n\nconst Dialog = DialogPrimitive.Root;\nDialog.displayName = \"Dialog\";\n\nconst DialogTrigger = DialogPrimitive.Trigger;\nDialogTrigger.displayName = \"DialogTrigger\";\n\nconst DialogPortal = DialogPrimitive.Portal;\nDialogPortal.displayName = \"DialogPortal\";\n\nconst DialogTitle = React.forwardRef<\n\tReact.ElementRef<typeof DialogPrimitive.Title>,\n\tReact.ComponentPropsWithoutRef<typeof DialogPrimitive.Title>\n>(({ className, ...props }, ref) => {\n\tconst styles = formTitleStyles({ class: className });\n\treturn <DialogPrimitive.Title ref={ref} className={styles} {...props} />;\n});\nDialogTitle.displayName = \"DialogTitle\";\n\nconst DialogDescription = React.forwardRef<\n\tReact.ElementRef<typeof DialogPrimitive.Description>,\n\tReact.ComponentPropsWithoutRef<typeof DialogPrimitive.Description>\n>(({ className, ...props }, ref) => {\n\tconst styles = formDescriptionStyles({ class: className });\n\treturn <DialogPrimitive.Description ref={ref} className={styles} {...props} />;\n});\nDialogDescription.displayName = \"DialogDescription\";\n\nconst DialogHeader = FormHeader;\nDialogHeader.displayName = \"DialogHeader\";\n\nconst DialogBody = FormBody;\nDialogBody.displayName = \"DialogBody\";\n\nconst DialogFooter = FormFooter;\nDialogFooter.displayName = \"DialogFooter\";\n\nconst DialogClose = DialogPrimitive.Close;\nDialogClose.displayName = \"DialogClose\";\n\nconst dialogOverlayStyles = tv({ extend: overlayStyles });\n\ninterface DialogOverlayProps extends React.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>, OverlayVariants {}\n\nconst DialogOverlay = React.forwardRef<React.ElementRef<typeof DialogPrimitive.Overlay>, DialogOverlayProps>(\n\t({ className, blur, type, ...props }, ref) => (\n\t\t<DialogPrimitive.Overlay\n\t\t\tref={ref}\n\t\t\tclassName={dialogOverlayStyles({ class: className, blur, type })}\n\t\t\t{...props}\n\t\t/>\n\t)\n);\nDialogOverlay.displayName = DialogPrimitive.Overlay.displayName;\n\nconst dialogContentStyles = tv({\n\tbase: [\n\t\t\"fixed left-[50%] top-[45%] z-50 max-h-[min(90vh,calc(100vh-44px))] w-full max-w-[min(480px,calc(100vw-32px))] translate-x-[-50%] translate-y-[-45%] lg:top-[35%] lg:max-h-[min(90vh,830px)] lg:max-w-[min(544px,calc(100vw-32px))] lg:translate-y-[-35%]\",\n\t\t\"flex flex-col gap-0 overflow-hidden rounded-xl border border-secondary-border bg-secondary-bg p-0 shadow-soft-lg\",\n\t\t\"duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]\"\n\t],\n\tslots: {\n\t\tcloseButton: \"absolute right-0 top-0 z-50 h-11 w-11 p-3.5 text-muted\",\n\t\tcloseIcon: \"h-4 w-4\"\n\t}\n});\n\ntype BackgroundProps = OverlayVariants;\n\nconst DialogContent = React.forwardRef<\n\tReact.ElementRef<typeof DialogPrimitive.Content>,\n\tReact.ComponentPropsWithoutRef<typeof DialogPrimitive.Content> & {\n\t\toverlayBlur?: BackgroundProps[\"blur\"];\n\t\toverlayType?: BackgroundProps[\"type\"];\n\t\tshowCloseButton?: boolean;\n\t\t/**\n\t\t * Контейнер для портала. Если не указан, используется хук usePortalContainer\n\t\t * для поиска PortalContainer\n\t\t */\n\t\tportalContainer?: HTMLElement;\n\t}\n>((props, ref) => {\n\tconst {\n\t\tclassName,\n\t\tchildren,\n\t\toverlayBlur,\n\t\toverlayType,\n\t\tshowCloseButton = true,\n\t\tportalContainer,\n\t\t...restProps\n\t} = props;\n\tconst styles = dialogContentStyles();\n\tconst container = usePortalContainer(portalContainer);\n\treturn (\n\t\t<DialogPrimitive.Portal container={container}>\n\t\t\t<DialogOverlay blur={overlayBlur} type={overlayType} />\n\t\t\t<DialogPrimitive.Content ref={ref} className={styles.base({ className })} {...restProps}>\n\t\t\t\t{children}\n\t\t\t\t{showCloseButton && (\n\t\t\t\t\t<DialogPrimitive.Close className={styles.closeButton()}>\n\t\t\t\t\t\t<Icon className={styles.closeIcon()} size=\"lg\" icon={X}></Icon>\n\t\t\t\t\t</DialogPrimitive.Close>\n\t\t\t\t)}\n\t\t\t</DialogPrimitive.Content>\n\t\t</DialogPrimitive.Portal>\n\t);\n});\nDialogContent.displayName = \"DialogContent\";\n\nexport {\n\tDialog,\n\tDialogBody,\n\tDialogClose,\n\tDialogContent,\n\tDialogDescription,\n\tDialogFooter,\n\tDialogHeader,\n\tDialogOverlay,\n\tDialogPortal,\n\tDialogTitle,\n\tDialogTrigger\n};\n\n/** @deprecated Используйте Dialog вместо Modal */\nexport const Modal = Dialog;\n/** @deprecated Используйте DialogBody вместо ModalBody */\nexport const ModalBody = DialogBody;\n/** @deprecated Используйте DialogClose вместо ModalClose */\nexport const ModalClose = DialogClose;\n/** @deprecated Используйте DialogContent вместо ModalContent */\nexport const ModalContent = DialogContent;\n/** @deprecated Используйте DialogDescription вместо ModalDescription */\nexport const ModalDescription = DialogDescription;\n/** @deprecated Используйте DialogFooter вместо ModalFooter */\nexport const ModalFooter = DialogFooter;\n/** @deprecated Используйте DialogHeader вместо ModalHeader */\nexport const ModalHeader = DialogHeader;\n/** @deprecated Используйте DialogOverlay вместо ModalOverlay */\nexport const ModalOverlay = DialogOverlay;\n/** @deprecated Используйте DialogPortal вместо ModalPortal */\nexport const ModalPortal = DialogPortal;\n/** @deprecated Используйте DialogTitle вместо ModalTitle */\nexport const ModalTitle = DialogTitle;\n/** @deprecated Используйте DialogTrigger вместо ModalTrigger */\nexport const ModalTrigger = DialogTrigger;\n"],"names":["Dialog","DialogPrimitive.Root","DialogTrigger","DialogPrimitive.Trigger","DialogPortal","DialogPrimitive.Portal","DialogTitle","React","className","props","ref","styles","formTitleStyles","jsx","DialogPrimitive.Title","DialogDescription","formDescriptionStyles","DialogPrimitive.Description","DialogHeader","FormHeader","DialogBody","FormBody","DialogFooter","FormFooter","DialogClose","DialogPrimitive.Close","dialogOverlayStyles","tv","overlayStyles","DialogOverlay","blur","type","DialogPrimitive.Overlay","dialogContentStyles","DialogContent","children","overlayBlur","overlayType","showCloseButton","portalContainer","restProps","container","usePortalContainer","jsxs","DialogPrimitive.Content","Icon","X","Modal","ModalBody","ModalClose","ModalContent","ModalDescription","ModalFooter","ModalHeader","ModalOverlay","ModalPortal","ModalTitle","ModalTrigger"],"mappings":";;;;;;;;;AAWA,MAAMA,IAASC;AACfD,EAAO,cAAc;AAErB,MAAME,IAAgBC;AACtBD,EAAc,cAAc;AAE5B,MAAME,IAAeC;AACrBD,EAAa,cAAc;AAErB,MAAAE,IAAcC,EAAM,WAGxB,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAM,GAAGC,MAAQ;AACnC,QAAMC,IAASC,EAAgB,EAAE,OAAOJ,GAAW;AAC5C,SAAA,gBAAAK,EAACC,GAAA,EAAs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A/B,GACEE,IAASsB,EAAoB,GAC7BQ,IAAYC,EAAmBH,CAAe;AACpD,SACE,gBAAAI,EAAAtC,GAAA,EAAuB,WAAAoC,GACvB,UAAA;AAAA,IAAA,gBAAA5B,EAACgB,GAAc,EAAA,MAAMO,GAAa,MAAMC,GAAa;AAAA,IACpD,gBAAAM,EAAAC,GAAA,EAAwB,KAAAlC,GAAU,WAAWC,EAAO,KAAK,EAAE,WAAAH,EAAW,CAAA,GAAI,GAAGgC,GAC5E,UAAA;AAAA,MAAAL;AAAA,MACAG,KACC,gBAAAzB,EAAAY,GAAA,EAAsB,WAAWd,EAAO,YAAY,GACpD,4BAACkC,GAAK,EAAA,WAAWlC,EAAO,UAAU,GAAG,MAAK,MAAK,MAAMmC,GAAG,EACzD,CAAA;AAAA,IAAA,EAEF,CAAA;AAAA,EAAA,GACD;AAEF,CAAC;AACDZ,EAAc,cAAc;AAiBrB,MAAMa,IAAQ/C,GAERgD,KAAY5B,GAEZ6B,KAAazB,GAEb0B,KAAehB,GAEfiB,KAAmBpC,GAEnBqC,KAAc9B,GAEd+B,KAAcnC,GAEdoC,KAAezB,GAEf0B,KAAcnD,GAEdoD,KAAalD,GAEbmD,KAAevD;"}
@@ -5,12 +5,12 @@ const d = o({
5
5
  base: "fixed inset-0 z-50 h-full w-full data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
6
6
  variants: {
7
7
  blur: {
8
- true: "backdrop-blur-lg"
8
+ true: "backdrop-blur-sm"
9
9
  },
10
10
  type: {
11
11
  default: "bg-slate-950/80",
12
12
  gradient: "bg-gradient-to-b from-slate-950/50 to-slate-950/80",
13
- dimmed: "bg-alpha-high-30",
13
+ dimmed: "bg-slate-950/20",
14
14
  transparent: "bg-transparent"
15
15
  }
16
16
  },
@@ -25,4 +25,4 @@ export {
25
25
  n as O,
26
26
  d as o
27
27
  };
28
- //# sourceMappingURL=Overlay-tQGhsBQR.js.map
28
+ //# sourceMappingURL=Overlay-2XMlxApi.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Overlay-2XMlxApi.js","sources":["../src/components/overlay/Overlay.tsx"],"sourcesContent":["import { VariantsConfig } from \"@/lib/utils/variants\";\nimport React, { PropsWithChildren } from \"react\";\nimport { tv } from \"tailwind-variants\";\n\nexport interface OverlayVariants {\n\tblur?: boolean;\n\ttype?: \"default\" | \"gradient\" | \"dimmed\" | \"transparent\";\n}\n\nexport const overlayStyles = tv({\n\tbase: \"fixed inset-0 z-50 h-full w-full data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0\",\n\tvariants: {\n\t\tblur: {\n\t\t\ttrue: \"backdrop-blur-sm\"\n\t\t},\n\t\ttype: {\n\t\t\tdefault: \"bg-slate-950/80\",\n\t\t\tgradient: \"bg-gradient-to-b from-slate-950/50 to-slate-950/80\",\n\t\t\tdimmed: \"bg-slate-950/20\",\n\t\t\ttransparent: \"bg-transparent\"\n\t\t}\n\t} satisfies VariantsConfig<OverlayVariants>,\n\tdefaultVariants: {\n\t\ttype: \"default\"\n\t}\n});\n\nexport type OverlayProps = OverlayVariants & {\n\tclassName?: string;\n};\n\nexport const Overlay = React.forwardRef<HTMLDivElement, PropsWithChildren<OverlayProps>>(\n\t({ className, children, ...props }, ref) => {\n\t\treturn (\n\t\t\t<div ref={ref} className={overlayStyles({ className, ...props })}>\n\t\t\t\t{children}\n\t\t\t</div>\n\t\t);\n\t}\n);\n\nOverlay.displayName = \"Overlay\";\n"],"names":["overlayStyles","tv","Overlay","React","className","children","props","ref","jsx"],"mappings":";;;AASO,MAAMA,IAAgBC,EAAG;AAAA,EAC/B,MAAM;AAAA,EACN,UAAU;AAAA,IACT,MAAM;AAAA,MACL,MAAM;AAAA,IACP;AAAA,IACA,MAAM;AAAA,MACL,SAAS;AAAA,MACT,UAAU;AAAA,MACV,QAAQ;AAAA,MACR,aAAa;AAAA,IAAA;AAAA,EAEf;AAAA,EACA,iBAAiB;AAAA,IAChB,MAAM;AAAA,EAAA;AAER,CAAC,GAMYC,IAAUC,EAAM;AAAA,EAC5B,CAAC,EAAE,WAAAC,GAAW,UAAAC,GAAU,GAAGC,EAAA,GAASC,MAElC,gBAAAC,EAAC,OAAI,EAAA,KAAAD,GAAU,WAAWP,EAAc,EAAE,WAAAI,GAAW,GAAGE,GAAO,GAC7D,UAAAD,EACF,CAAA;AAGH;AAEAH,EAAQ,cAAc;"}
@@ -2,7 +2,7 @@ import { jsx as a, jsxs as l } from "react/jsx-runtime";
2
2
  import * as r from "react";
3
3
  import { R as w, T as v, C as d, P as C, a as c, b as m, D as f, O as p } from "./index-CQD-Njgt.js";
4
4
  import { T as o } from "./index-BVqs-uqP.js";
5
- import { o as R } from "./Overlay-tQGhsBQR.js";
5
+ import { o as R } from "./Overlay-2XMlxApi.js";
6
6
  import { u as T } from "./usePortalContainer-ae6EzS08.js";
7
7
  import { I as D } from "./Icon-DH3ev9GK.js";
8
8
  import { X as O } from "./x-tDTt7hTQ.js";
@@ -80,4 +80,4 @@ export {
80
80
  P as h,
81
81
  h as i
82
82
  };
83
- //# sourceMappingURL=Sheet-N4re9u9_.js.map
83
+ //# sourceMappingURL=Sheet-rtwmzm2-.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Sheet-N4re9u9_.js","sources":["../src/components/sheet/Sheet.tsx"],"sourcesContent":["import * as React from \"react\";\nimport * as SheetPrimitive from \"@radix-ui/react-dialog\";\nimport { tv } from \"tailwind-variants\";\nimport { X } from \"lucide-react\";\nimport { overlayStyles, OverlayVariants } from \"../overlay/Overlay\";\nimport { usePortalContainer } from \"../portal-container\";\nimport { Icon } from \"../icon\";\nimport { VariantsConfig } from \"@/lib/utils/variants\";\n\nconst Sheet = SheetPrimitive.Root;\n\nconst SheetTrigger = SheetPrimitive.Trigger;\n\nconst SheetClose = SheetPrimitive.Close;\n\nconst SheetPortal = SheetPrimitive.Portal;\n\nconst sheetOverlayStyles = tv({ extend: overlayStyles });\n\ninterface SheetOverlayProps extends React.ComponentPropsWithoutRef<typeof SheetPrimitive.Overlay>, OverlayVariants {}\n\nconst SheetOverlay = React.forwardRef<React.ElementRef<typeof SheetPrimitive.Overlay>, SheetOverlayProps>(\n\t({ className, blur, type, ...props }, ref) => (\n\t\t<SheetPrimitive.Overlay className={sheetOverlayStyles({ blur, type, className })} {...props} ref={ref} />\n\t)\n);\nSheetOverlay.displayName = SheetPrimitive.Overlay.displayName;\n\nconst sheetCloseButtonStyles = tv({\n\tbase: \"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary\"\n});\n\nconst SheetCloseButton = React.forwardRef<\n\tReact.ElementRef<typeof SheetPrimitive.Close>,\n\tReact.ComponentPropsWithoutRef<typeof SheetPrimitive.Close>\n>(({ className, ...props }, ref) => (\n\t<SheetPrimitive.Close ref={ref} className={sheetCloseButtonStyles({ className })} {...props}>\n\t\t<Icon icon={X} />\n\t\t<span className=\"sr-only\">Close</span>\n\t</SheetPrimitive.Close>\n));\n\nSheetCloseButton.displayName = SheetPrimitive.Close.displayName;\n\nexport interface SheetContentVariants {\n\tside?: \"top\" | \"bottom\" | \"left\" | \"right\";\n}\n\nconst sheetContentStyles = tv({\n\tbase: \"shadow-soft-lg fixed z-50 flex flex-col bg-background transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out\",\n\tvariants: {\n\t\tside: {\n\t\t\ttop: \"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top\",\n\t\t\tbottom: \"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom\",\n\t\t\tleft: \"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm\",\n\t\t\tright: \"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm\"\n\t\t}\n\t} satisfies VariantsConfig<SheetContentVariants>,\n\tdefaultVariants: {\n\t\tside: \"right\"\n\t}\n});\n\ninterface SheetContentProps\n\textends React.ComponentPropsWithoutRef<typeof SheetPrimitive.Content>,\n\t\tSheetContentVariants {\n\tshowCloseButton?: boolean;\n\toverlayType?: OverlayVariants[\"type\"];\n\toverlayBlur?: OverlayVariants[\"blur\"];\n\t/**\n\t * Контейнер для портала. Если не указан, используется хук usePortalContainer\n\t * для поиска PortalContainer\n\t */\n\tportalContainer?: HTMLElement;\n}\n\nconst SheetContent = React.forwardRef<React.ElementRef<typeof SheetPrimitive.Content>, SheetContentProps>(\n\t(\n\t\t{\n\t\t\tside = \"right\",\n\t\t\tclassName,\n\t\t\tchildren,\n\t\t\tshowCloseButton = true,\n\t\t\toverlayType,\n\t\t\toverlayBlur,\n\t\t\tportalContainer,\n\t\t\t...props\n\t\t},\n\t\tref\n\t) => {\n\t\tconst styles = sheetContentStyles({ side, className });\n\t\tconst container = usePortalContainer(portalContainer);\n\n\t\treturn (\n\t\t\t<SheetPortal container={container}>\n\t\t\t\t<SheetOverlay type={overlayType} blur={overlayBlur} />\n\t\t\t\t<SheetPrimitive.Content ref={ref} className={styles} {...props}>\n\t\t\t\t\t{children}\n\t\t\t\t\t{showCloseButton && <SheetCloseButton />}\n\t\t\t\t</SheetPrimitive.Content>\n\t\t\t</SheetPortal>\n\t\t);\n\t}\n);\n\nSheetContent.displayName = SheetPrimitive.Content.displayName;\n\nconst sheetHeaderStyles = tv({\n\tbase: \"flex flex-col space-y-2 p-6 text-center sm:text-left\"\n});\n\nconst SheetHeader = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (\n\t<div className={sheetHeaderStyles({ className })} {...props} />\n);\n\nSheetHeader.displayName = \"SheetHeader\";\n\nconst sheetFooterStyles = tv({\n\tbase: \"flex flex-col-reverse p-6 pt-0 sm:flex-row sm:justify-end sm:space-x-2\"\n});\n\nconst SheetFooter = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (\n\t<div className={sheetFooterStyles({ className })} {...props} />\n);\n\nSheetFooter.displayName = \"SheetFooter\";\n\nconst sheetTitleStyles = tv({\n\tbase: \"text-lg font-semibold text-foreground\"\n});\n\nconst SheetTitle = React.forwardRef<\n\tReact.ElementRef<typeof SheetPrimitive.Title>,\n\tReact.ComponentPropsWithoutRef<typeof SheetPrimitive.Title>\n>(({ className, ...props }, ref) => (\n\t<SheetPrimitive.Title ref={ref} className={sheetTitleStyles({ className })} {...props} />\n));\n\nSheetTitle.displayName = SheetPrimitive.Title.displayName;\n\nconst sheetDescriptionStyles = tv({\n\tbase: \"text-sm text-muted-foreground\"\n});\n\nconst SheetDescription = React.forwardRef<\n\tReact.ElementRef<typeof SheetPrimitive.Description>,\n\tReact.ComponentPropsWithoutRef<typeof SheetPrimitive.Description>\n>(({ className, ...props }, ref) => (\n\t<SheetPrimitive.Description ref={ref} className={sheetDescriptionStyles({ className })} {...props} />\n));\n\nSheetDescription.displayName = SheetPrimitive.Description.displayName;\n\nexport {\n\tSheet,\n\tSheetPortal,\n\tSheetOverlay,\n\tSheetTrigger,\n\tSheetClose,\n\tSheetContent,\n\tSheetHeader,\n\tSheetFooter,\n\tSheetTitle,\n\tSheetDescription\n};\n"],"names":["Sheet","SheetPrimitive.Root","SheetTrigger","SheetPrimitive.Trigger","SheetClose","SheetPrimitive.Close","SheetPortal","SheetPrimitive.Portal","sheetOverlayStyles","tv","overlayStyles","SheetOverlay","React","className","blur","type","props","ref","jsx","SheetPrimitive.Overlay","sheetCloseButtonStyles","SheetCloseButton","jsxs","Icon","X","sheetContentStyles","SheetContent","side","children","showCloseButton","overlayType","overlayBlur","portalContainer","styles","container","usePortalContainer","SheetPrimitive.Content","sheetHeaderStyles","SheetHeader","sheetFooterStyles","SheetFooter","sheetTitleStyles","SheetTitle","SheetPrimitive.Title","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W,cAAcC,EAAqB;AAE9C,MAAMC,IAAyBnC,EAAG;AAAA,EACjC,MAAM;AACP,CAAC,GAEKoC,IAAmBjC,EAAM,WAG7B,CAAC,EAAE,WAAAC,GAAW,GAAGG,EAAM,GAAGC,MAC3B,gBAAAC,EAAC4B,GAAA,EAA2B,KAAA7B,GAAU,WAAW2B,EAAuB,EAAE,WAAA/B,GAAW,GAAI,GAAGG,GAAO,CACnG;AAED6B,EAAiB,cAAcC,EAA2B;"}
1
+ {"version":3,"file":"Sheet-rtwmzm2-.js","sources":["../src/components/sheet/Sheet.tsx"],"sourcesContent":["import * as React from \"react\";\nimport * as SheetPrimitive from \"@radix-ui/react-dialog\";\nimport { tv } from \"tailwind-variants\";\nimport { X } from \"lucide-react\";\nimport { overlayStyles, OverlayVariants } from \"../overlay/Overlay\";\nimport { usePortalContainer } from \"../portal-container\";\nimport { Icon } from \"../icon\";\nimport { VariantsConfig } from \"@/lib/utils/variants\";\n\nconst Sheet = SheetPrimitive.Root;\n\nconst SheetTrigger = SheetPrimitive.Trigger;\n\nconst SheetClose = SheetPrimitive.Close;\n\nconst SheetPortal = SheetPrimitive.Portal;\n\nconst sheetOverlayStyles = tv({ extend: overlayStyles });\n\ninterface SheetOverlayProps extends React.ComponentPropsWithoutRef<typeof SheetPrimitive.Overlay>, OverlayVariants {}\n\nconst SheetOverlay = React.forwardRef<React.ElementRef<typeof SheetPrimitive.Overlay>, SheetOverlayProps>(\n\t({ className, blur, type, ...props }, ref) => (\n\t\t<SheetPrimitive.Overlay className={sheetOverlayStyles({ blur, type, className })} {...props} ref={ref} />\n\t)\n);\nSheetOverlay.displayName = SheetPrimitive.Overlay.displayName;\n\nconst sheetCloseButtonStyles = tv({\n\tbase: \"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary\"\n});\n\nconst SheetCloseButton = React.forwardRef<\n\tReact.ElementRef<typeof SheetPrimitive.Close>,\n\tReact.ComponentPropsWithoutRef<typeof SheetPrimitive.Close>\n>(({ className, ...props }, ref) => (\n\t<SheetPrimitive.Close ref={ref} className={sheetCloseButtonStyles({ className })} {...props}>\n\t\t<Icon icon={X} />\n\t\t<span className=\"sr-only\">Close</span>\n\t</SheetPrimitive.Close>\n));\n\nSheetCloseButton.displayName = SheetPrimitive.Close.displayName;\n\nexport interface SheetContentVariants {\n\tside?: \"top\" | \"bottom\" | \"left\" | \"right\";\n}\n\nconst sheetContentStyles = tv({\n\tbase: \"shadow-soft-lg fixed z-50 flex flex-col bg-background transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out\",\n\tvariants: {\n\t\tside: {\n\t\t\ttop: \"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top\",\n\t\t\tbottom: \"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom\",\n\t\t\tleft: \"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm\",\n\t\t\tright: \"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm\"\n\t\t}\n\t} satisfies VariantsConfig<SheetContentVariants>,\n\tdefaultVariants: {\n\t\tside: \"right\"\n\t}\n});\n\ninterface SheetContentProps\n\textends React.ComponentPropsWithoutRef<typeof SheetPrimitive.Content>,\n\t\tSheetContentVariants {\n\tshowCloseButton?: boolean;\n\toverlayType?: OverlayVariants[\"type\"];\n\toverlayBlur?: OverlayVariants[\"blur\"];\n\t/**\n\t * Контейнер для портала. Если не указан, используется хук usePortalContainer\n\t * для поиска PortalContainer\n\t */\n\tportalContainer?: HTMLElement;\n}\n\nconst SheetContent = React.forwardRef<React.ElementRef<typeof SheetPrimitive.Content>, SheetContentProps>(\n\t(\n\t\t{\n\t\t\tside = \"right\",\n\t\t\tclassName,\n\t\t\tchildren,\n\t\t\tshowCloseButton = true,\n\t\t\toverlayType,\n\t\t\toverlayBlur,\n\t\t\tportalContainer,\n\t\t\t...props\n\t\t},\n\t\tref\n\t) => {\n\t\tconst styles = sheetContentStyles({ side, className });\n\t\tconst container = usePortalContainer(portalContainer);\n\n\t\treturn (\n\t\t\t<SheetPortal container={container}>\n\t\t\t\t<SheetOverlay type={overlayType} blur={overlayBlur} />\n\t\t\t\t<SheetPrimitive.Content ref={ref} className={styles} {...props}>\n\t\t\t\t\t{children}\n\t\t\t\t\t{showCloseButton && <SheetCloseButton />}\n\t\t\t\t</SheetPrimitive.Content>\n\t\t\t</SheetPortal>\n\t\t);\n\t}\n);\n\nSheetContent.displayName = SheetPrimitive.Content.displayName;\n\nconst sheetHeaderStyles = tv({\n\tbase: \"flex flex-col space-y-2 p-6 text-center sm:text-left\"\n});\n\nconst SheetHeader = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (\n\t<div className={sheetHeaderStyles({ className })} {...props} />\n);\n\nSheetHeader.displayName = \"SheetHeader\";\n\nconst sheetFooterStyles = tv({\n\tbase: \"flex flex-col-reverse p-6 pt-0 sm:flex-row sm:justify-end sm:space-x-2\"\n});\n\nconst SheetFooter = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (\n\t<div className={sheetFooterStyles({ className })} {...props} />\n);\n\nSheetFooter.displayName = \"SheetFooter\";\n\nconst sheetTitleStyles = tv({\n\tbase: \"text-lg font-semibold text-foreground\"\n});\n\nconst SheetTitle = React.forwardRef<\n\tReact.ElementRef<typeof SheetPrimitive.Title>,\n\tReact.ComponentPropsWithoutRef<typeof SheetPrimitive.Title>\n>(({ className, ...props }, ref) => (\n\t<SheetPrimitive.Title ref={ref} className={sheetTitleStyles({ className })} {...props} />\n));\n\nSheetTitle.displayName = SheetPrimitive.Title.displayName;\n\nconst sheetDescriptionStyles = tv({\n\tbase: \"text-sm text-muted-foreground\"\n});\n\nconst SheetDescription = React.forwardRef<\n\tReact.ElementRef<typeof SheetPrimitive.Description>,\n\tReact.ComponentPropsWithoutRef<typeof SheetPrimitive.Description>\n>(({ className, ...props }, ref) => (\n\t<SheetPrimitive.Description ref={ref} className={sheetDescriptionStyles({ className })} {...props} />\n));\n\nSheetDescription.displayName = SheetPrimitive.Description.displayName;\n\nexport {\n\tSheet,\n\tSheetPortal,\n\tSheetOverlay,\n\tSheetTrigger,\n\tSheetClose,\n\tSheetContent,\n\tSheetHeader,\n\tSheetFooter,\n\tSheetTitle,\n\tSheetDescription\n};\n"],"names":["Sheet","SheetPrimitive.Root","SheetTrigger","SheetPrimitive.Trigger","SheetClose","SheetPrimitive.Close","SheetPortal","SheetPrimitive.Portal","sheetOverlayStyles","tv","overlayStyles","SheetOverlay","React","className","blur","type","props","ref","jsx","SheetPrimitive.Overlay","sheetCloseButtonStyles","SheetCloseButton","jsxs","Icon","X","sheetContentStyles","SheetContent","side","children","showCloseButton","overlayType","overlayBlur","portalContainer","styles","container","usePortalContainer","SheetPrimitive.Content","sheetHeaderStyles","SheetHeader","sheetFooterStyles","SheetFooter","sheetTitleStyles","SheetTitle","SheetPrimitive.Title","sheetDescriptionStyles","SheetDescription","SheetPrimitive.Description"],"mappings":";;;;;;;;AASA,MAAMA,IAAQC,GAERC,IAAeC,GAEfC,IAAaC,GAEbC,IAAcC,GAEdC,IAAqBC,EAAG,EAAE,QAAQC,GAAe,GAIjDC,IAAeC,EAAM;AAAA,EAC1B,CAAC,EAAE,WAAAC,GAAW,MAAAC,GAAM,MAAAC,GAAM,GAAGC,KAASC,MACpC,gBAAAC,EAAAC,GAAA,EAAuB,WAAWX,EAAmB,EAAE,MAAAM,GAAM,MAAAC,GAAM,WAAAF,GAAW,GAAI,GAAGG,GAAO,KAAAC,EAAU,CAAA;AAEzG;AACAN,EAAa,cAAcQ,EAAuB;AAElD,MAAMC,IAAyBX,EAAG;AAAA,EACjC,MAAM;AACP,CAA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A;AAGH;AAEAK,EAAa,cAAcU,EAAuB;AAElD,MAAMC,IAAoB5B,EAAG;AAAA,EAC5B,MAAM;AACP,CAAC,GAEK6B,IAAc,CAAC,EAAE,WAAAzB,GAAW,GAAGG,QACpC,gBAAAE,EAAC,OAAI,EAAA,WAAWmB,EAAkB,EAAE,WAAAxB,EAAA,CAAW,GAAI,GAAGG,EAAO,CAAA;AAG9DsB,EAAY,cAAc;AAE1B,MAAMC,IAAoB9B,EAAG;AAAA,EAC5B,MAAM;AACP,CAAC,GAEK+B,IAAc,CAAC,EAAE,WAAA3B,GAAW,GAAGG,QACpC,gBAAAE,EAAC,OAAI,EAAA,WAAWqB,EAAkB,EAAE,WAAA1B,EAAA,CAAW,GAAI,GAAGG,EAAO,CAAA;AAG9DwB,EAAY,cAAc;AAE1B,MAAMC,IAAmBhC,EAAG;AAAA,EAC3B,MAAM;AACP,CAAC,GAEKiC,IAAa9B,EAAM,WAGvB,CAAC,EAAE,WAAAC,GAAW,GAAGG,EAAM,GAAGC,MAC3B,gBAAAC,EAACyB,GAAA,EAAqB,KAAA1B,GAAU,WAAWwB,EAAiB,EAAE,WAAA5B,GAAW,GAAI,GAAGG,GAAO,CACvF;AAED0B,EAAW,cAAcC,EAAqB;AAE9C,MAAMC,IAAyBnC,EAAG;AAAA,EACjC,MAAM;AACP,CAAC,GAEKoC,IAAmBjC,EAAM,WAG7B,CAAC,EAAE,WAAAC,GAAW,GAAGG,EAAM,GAAGC,MAC3B,gBAAAC,EAAC4B,GAAA,EAA2B,KAAA7B,GAAU,WAAW2B,EAAuB,EAAE,WAAA/B,GAAW,GAAI,GAAGG,GAAO,CACnG;AAED6B,EAAiB,cAAcC,EAA2B;"}
@@ -6,7 +6,7 @@ import { c as b, R as W, P as Y, T as q, O as k, W as J, a as K, b as Q, D as U,
6
6
  import { c as X, b as Z } from "../index-CFaU3UXv.js";
7
7
  import { T as d } from "../index-BVqs-uqP.js";
8
8
  import { u as ee } from "../usePortalContainer-ae6EzS08.js";
9
- import { o as te } from "../Overlay-tQGhsBQR.js";
9
+ import { o as te } from "../Overlay-2XMlxApi.js";
10
10
  import { B as N } from "../Button-Dg89xRSi.js";
11
11
  import { A as ae, u as f } from "../AlertContext-CxjW1LVL.js";
12
12
  import { I as oe } from "../Icon-DH3ev9GK.js";
@@ -4,7 +4,7 @@ import { T as d } from "../index-BVqs-uqP.js";
4
4
  const c = d({
5
5
  slots: {
6
6
  wrapper: "flex aspect-square h-[1.375rem] w-[1.375rem] items-center justify-center rounded-md",
7
- color: "aspect-square h-4 w-4 rounded-sm border border-alpha-high-90 hover:cursor-pointer"
7
+ color: "aspect-square h-4 w-4 rounded-sm border border-alpha-high-70 hover:cursor-pointer"
8
8
  },
9
9
  variants: {
10
10
  selected: {
@@ -1 +1 @@
1
- {"version":3,"file":"color-tile.js","sources":["../../src/components/color-tile/ColorTile.tsx"],"sourcesContent":["import { VariantsConfig } from \"@/lib/utils/variants\";\nimport React from \"react\";\nimport { PropsWithChildren } from \"react\";\nimport { tv } from \"tailwind-variants\";\n\ninterface ColorTileVariants {\n\tselected?: boolean;\n}\n\nconst colorTileVariants = tv({\n\tslots: {\n\t\twrapper: \"flex aspect-square h-[1.375rem] w-[1.375rem] items-center justify-center rounded-md\",\n\t\tcolor: \"aspect-square h-4 w-4 rounded-sm border border-alpha-high-90 hover:cursor-pointer\"\n\t},\n\tvariants: {\n\t\tselected: {\n\t\t\ttrue: {\n\t\t\t\twrapper: \"border border-muted\"\n\t\t\t}\n\t\t}\n\t} satisfies VariantsConfig<ColorTileVariants>\n});\n\nexport type ColorTileProps = ColorTileVariants & React.HTMLAttributes<HTMLDivElement>;\n\nexport const ColorTile = React.forwardRef<HTMLDivElement, PropsWithChildren<ColorTileProps>>(\n\t({ className, selected, ...props }, ref) => {\n\t\tconst styles = colorTileVariants({ selected });\n\n\t\treturn (\n\t\t\t<div className={styles.wrapper()}>\n\t\t\t\t<div className={styles.color({ className })} ref={ref} {...props} />\n\t\t\t</div>\n\t\t);\n\t}\n);\n\nColorTile.displayName = \"ColorTile\";\n"],"names":["colorTileVariants","tv","ColorTile","React","className","selected","props","ref","styles"],"mappings":";;;AASA,MAAMA,IAAoBC,EAAG;AAAA,EAC5B,OAAO;AAAA,IACN,SAAS;AAAA,IACT,OAAO;AAAA,EACR;AAAA,EACA,UAAU;AAAA,IACT,UAAU;AAAA,MACT,MAAM;AAAA,QACL,SAAS;AAAA,MAAA;AAAA,IACV;AAAA,EACD;AAEF,CAAC,GAIYC,IAAYC,EAAM;AAAA,EAC9B,CAAC,EAAE,WAAAC,GAAW,UAAAC,GAAU,GAAGC,EAAA,GAASC,MAAQ;AAC3C,UAAMC,IAASR,EAAkB,EAAE,UAAAK,GAAU;AAE7C,6BACE,OAAI,EAAA,WAAWG,EAAO,QAAQ,GAC9B,4BAAC,OAAI,EAAA,WAAWA,EAAO,MAAM,EAAE,WAAAJ,EAAU,CAAC,GAAG,KAAAG,GAAW,GAAGD,EAAO,CAAA,GACnE;AAAA,EAAA;AAGH;AAEAJ,EAAU,cAAc;"}
1
+ {"version":3,"file":"color-tile.js","sources":["../../src/components/color-tile/ColorTile.tsx"],"sourcesContent":["import { VariantsConfig } from \"@/lib/utils/variants\";\nimport React from \"react\";\nimport { PropsWithChildren } from \"react\";\nimport { tv } from \"tailwind-variants\";\n\ninterface ColorTileVariants {\n\tselected?: boolean;\n}\n\nconst colorTileVariants = tv({\n\tslots: {\n\t\twrapper: \"flex aspect-square h-[1.375rem] w-[1.375rem] items-center justify-center rounded-md\",\n\t\tcolor: \"aspect-square h-4 w-4 rounded-sm border border-alpha-high-70 hover:cursor-pointer\"\n\t},\n\tvariants: {\n\t\tselected: {\n\t\t\ttrue: {\n\t\t\t\twrapper: \"border border-muted\"\n\t\t\t}\n\t\t}\n\t} satisfies VariantsConfig<ColorTileVariants>\n});\n\nexport type ColorTileProps = ColorTileVariants & React.HTMLAttributes<HTMLDivElement>;\n\nexport const ColorTile = React.forwardRef<HTMLDivElement, PropsWithChildren<ColorTileProps>>(\n\t({ className, selected, ...props }, ref) => {\n\t\tconst styles = colorTileVariants({ selected });\n\n\t\treturn (\n\t\t\t<div className={styles.wrapper()}>\n\t\t\t\t<div className={styles.color({ className })} ref={ref} {...props} />\n\t\t\t</div>\n\t\t);\n\t}\n);\n\nColorTile.displayName = \"ColorTile\";\n"],"names":["colorTileVariants","tv","ColorTile","React","className","selected","props","ref","styles"],"mappings":";;;AASA,MAAMA,IAAoBC,EAAG;AAAA,EAC5B,OAAO;AAAA,IACN,SAAS;AAAA,IACT,OAAO;AAAA,EACR;AAAA,EACA,UAAU;AAAA,IACT,UAAU;AAAA,MACT,MAAM;AAAA,QACL,SAAS;AAAA,MAAA;AAAA,IACV;AAAA,EACD;AAEF,CAAC,GAIYC,IAAYC,EAAM;AAAA,EAC9B,CAAC,EAAE,WAAAC,GAAW,UAAAC,GAAU,GAAGC,EAAA,GAASC,MAAQ;AAC3C,UAAMC,IAASR,EAAkB,EAAE,UAAAK,GAAU;AAE7C,6BACE,OAAI,EAAA,WAAWG,EAAO,QAAQ,GAC9B,4BAAC,OAAI,EAAA,WAAWA,EAAO,MAAM,EAAE,WAAAJ,EAAU,CAAC,GAAG,KAAAG,GAAW,GAAGD,EAAO,CAAA,GACnE;AAAA,EAAA;AAGH;AAEAJ,EAAU,cAAc;"}
@@ -1,5 +1,6 @@
1
1
  import { DialogProps } from '@radix-ui/react-dialog';
2
2
  import { Command as CommandPrimitive } from 'cmdk';
3
+ import { DialogContent } from '../dialog';
3
4
  import { ScrollShadowContainerProps } from '../scroll-shadow-container/ScrollShadowContainer';
4
5
  import * as React from "react";
5
6
  declare const Command: React.ForwardRefExoticComponent<Omit<{
@@ -19,10 +20,12 @@ declare const Command: React.ForwardRefExoticComponent<Omit<{
19
20
  disablePointerSelection?: boolean;
20
21
  vimBindings?: boolean;
21
22
  } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
22
- declare const CommandDialog: ({ title, description, children, className, ...props }: DialogProps & {
23
+ declare const CommandDialog: ({ title, description, children, className, overlayType, overlayBlur, ...props }: DialogProps & {
23
24
  title?: string;
24
25
  description?: string;
25
26
  className?: string;
27
+ overlayType?: React.ComponentProps<typeof DialogContent>["overlayType"];
28
+ overlayBlur?: React.ComponentProps<typeof DialogContent>["overlayBlur"];
26
29
  }) => import("react/jsx-runtime").JSX.Element;
27
30
  declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & {
28
31
  ref?: React.Ref<HTMLInputElement>;
@@ -1,4 +1,4 @@
1
- import { C as o, a as n, e as s, j as C, f as d, b as t, g as r, c as e, d as i, i as p, h as u } from "../Command-DR9YRwlX.js";
1
+ import { C as o, a as n, e as s, j as C, f as d, b as t, g as r, c as e, d as i, i as p, h as u } from "../Command-BhbfL5wm.js";
2
2
  export {
3
3
  o as Command,
4
4
  n as CommandDialog,
@@ -1,5 +1,5 @@
1
- import { D as s, a as i } from "../Dialog-Dthc9c-1.js";
2
- import { b as y, c as B, d as C, e as h, f as x, g as j, h as u, i as v, j as O, M as P, k as R, l as _, m as b, n as k, o as q, p as w, q as N, r as z, s as A, t as E } from "../Dialog-Dthc9c-1.js";
1
+ import { D as s, a as i } from "../Dialog-ByiJIDhl.js";
2
+ import { b as y, c as B, d as C, e as h, f as x, g as j, h as u, i as v, j as O, M as P, k as R, l as _, m as b, n as k, o as q, p as w, q as N, r as z, s as A, t as E } from "../Dialog-ByiJIDhl.js";
3
3
  import { jsx as a } from "react/jsx-runtime";
4
4
  import d from "react";
5
5
  import { F as g, B as m } from "../FormFooterTemplate-BPspyDbr.js";
@@ -4,7 +4,7 @@ import r, { useLayoutEffect as Oe, useEffect as Ne, useMemo as $e } from "react"
4
4
  import { T as Ae, C as Me, P as He, b as Pe, D as Ie, R as _e, a as Le, O as ke } from "../index-CQD-Njgt.js";
5
5
  import { c as Ht } from "../cn-dsXlqdJg.js";
6
6
  import { S as Be } from "../ScrollShadowContainer-DdrnF8qU.js";
7
- import { o as Fe } from "../Overlay-tQGhsBQR.js";
7
+ import { o as Fe } from "../Overlay-2XMlxApi.js";
8
8
  import { T as Q } from "../index-BVqs-uqP.js";
9
9
  import { u as ze } from "../usePortalContainer-ae6EzS08.js";
10
10
  import { B as bt } from "../Button-Dg89xRSi.js";
@@ -1,4 +1,4 @@
1
- import { O as e } from "../Overlay-tQGhsBQR.js";
1
+ import { O as e } from "../Overlay-2XMlxApi.js";
2
2
  export {
3
3
  e as Overlay
4
4
  };
@@ -2,7 +2,7 @@ import { jsx as e, jsxs as D, Fragment as B } from "react/jsx-runtime";
2
2
  import M, { useState as L, useCallback as x, useEffect as E, forwardRef as Z, useMemo as P, useRef as q } from "react";
3
3
  import { T as F } from "../index-BVqs-uqP.js";
4
4
  import { u as H, S as fe } from "../SearchSelectTag-DFCX9zT1.js";
5
- import { b as Se, g as ee, C as re, c as te, e as ge, i as ve } from "../Command-DR9YRwlX.js";
5
+ import { b as Se, g as ee, C as re, c as te, e as ge, i as ve } from "../Command-BhbfL5wm.js";
6
6
  import { I as K } from "../Icon-DH3ev9GK.js";
7
7
  import { b as ye, P as j, a as _ } from "../Popover-Dvr7y0YY.js";
8
8
  import { m as be, s as Ce } from "../Select-d1VUmFM3.js";
@@ -1,4 +1,4 @@
1
- import { S as a, g as s, a as h, e as S, c as r, b as o, i, h as l, d as g, f as n } from "../Sheet-N4re9u9_.js";
1
+ import { S as a, g as s, a as h, e as S, c as r, b as o, i, h as l, d as g, f as n } from "../Sheet-rtwmzm2-.js";
2
2
  export {
3
3
  a as Sheet,
4
4
  s as SheetClose,
@@ -3,7 +3,7 @@ import { e as T } from "../useBreakpoints-D8wKOvil.js";
3
3
  import o from "react";
4
4
  import { T as B, b as D, c as A, a as E } from "../Tooltip-C4rVuWr4.js";
5
5
  import { c as w } from "../cn-dsXlqdJg.js";
6
- import { S as G, a as L, b as O, d as H, e as P } from "../Sheet-N4re9u9_.js";
6
+ import { S as G, a as L, b as O, d as H, e as P } from "../Sheet-rtwmzm2-.js";
7
7
  import { I as R } from "../IconButton-DwkpNgn3.js";
8
8
  import { T as K } from "../TextInput-Cj50ImXi.js";
9
9
  import { D as j } from "../Divider-DPW5ZhZ8.js";
@@ -148,7 +148,7 @@
148
148
  --autofill-bg: 213 100% 96%;
149
149
 
150
150
  /** Palette **/
151
- --peony: 340 100% 91%;
151
+ --peony: 351 100% 81%;
152
152
  --garnet: 0 100% 91%;
153
153
  --cinnamon: 16 100% 89%;
154
154
  --caramel: 28 100% 86%;
@@ -285,18 +285,18 @@
285
285
  --alpha-80: 222 47% 11% / 80%;
286
286
  --alpha-90: 222 47% 11% / 90%;
287
287
 
288
- --alpha-high-03: 0 0% 100% / 3%;
289
- --alpha-high-05: 0 0% 100% / 5%;
290
- --alpha-high-08: 0 0% 100% / 8%;
291
- --alpha-high-10: 0 0% 100% / 10%;
292
- --alpha-high-20: 0 0% 100% / 20%;
293
- --alpha-high-30: 0 0% 100% / 30%;
294
- --alpha-high-40: 0 0% 100% / 40%;
295
- --alpha-high-50: 0 0% 100% / 50%;
296
- --alpha-high-60: 0 0% 100% / 60%;
297
- --alpha-high-70: 0 0% 100% / 70%;
298
- --alpha-high-80: 0 0% 100% / 80%;
299
- --alpha-high-90: 0 0% 100% / 90%;
288
+ --alpha-high-03: 210 40% 96% / 3%;
289
+ --alpha-high-05: 210 40% 96% / 5%;
290
+ --alpha-high-08: 210 40% 96% / 8%;
291
+ --alpha-high-10: 210 40% 96% / 10%;
292
+ --alpha-high-20: 210 40% 96% / 20%;
293
+ --alpha-high-30: 210 40% 96% / 30%;
294
+ --alpha-high-40: 210 40% 96% / 40%;
295
+ --alpha-high-50: 210 40% 96% / 50%;
296
+ --alpha-high-60: 210 40% 96% / 60%;
297
+ --alpha-high-70: 210 40% 96% / 70%;
298
+ --alpha-high-80: 210 40% 96% / 80%;
299
+ --alpha-high-90: 210 40% 96% / 90%;
300
300
 
301
301
  --alpha-accent-primary: 222 47% 11% / 8%;
302
302
  --alpha-accent-secondary: 222 47% 11% / 5%;
@@ -1946,9 +1946,6 @@
1946
1946
  .ui-kit .max-h-\[10em\] {
1947
1947
  max-height: 10em;
1948
1948
  }
1949
- .ui-kit .max-h-\[200px\] {
1950
- max-height: 200px;
1951
- }
1952
1949
  .ui-kit .max-h-\[300px\] {
1953
1950
  max-height: 300px;
1954
1951
  }
@@ -2848,8 +2845,8 @@
2848
2845
  .ui-kit .border-\[\#ffffff4d\] {
2849
2846
  border-color: #ffffff4d;
2850
2847
  }
2851
- .ui-kit .border-alpha-high-90 {
2852
- border-color: hsl(var(--alpha-high-10));
2848
+ .ui-kit .border-alpha-high-70 {
2849
+ border-color: hsl(var(--alpha-high-30));
2853
2850
  }
2854
2851
  .ui-kit .border-blue-200 {
2855
2852
  --tw-border-opacity: 1;
@@ -2955,9 +2952,6 @@
2955
2952
  .ui-kit .bg-alpha-high-20 {
2956
2953
  background-color: hsl(var(--alpha-high-80));
2957
2954
  }
2958
- .ui-kit .bg-alpha-high-30 {
2959
- background-color: hsl(var(--alpha-high-70));
2960
- }
2961
2955
  .ui-kit .bg-alpha-high-60 {
2962
2956
  background-color: hsl(var(--alpha-high-50));
2963
2957
  }
@@ -3058,6 +3052,9 @@
3058
3052
  .ui-kit .bg-sidebar-bg {
3059
3053
  background-color: hsl(var(--sidebar-bg));
3060
3054
  }
3055
+ .ui-kit .bg-slate-950\/20 {
3056
+ background-color: rgb(2 6 23 / 0.2);
3057
+ }
3061
3058
  .ui-kit .bg-slate-950\/80 {
3062
3059
  background-color: rgb(2 6 23 / 0.8);
3063
3060
  }
@@ -3853,6 +3850,11 @@
3853
3850
  --tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color), 0 0 0 2px var(--tw-shadow-color);
3854
3851
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
3855
3852
  }
3853
+ .ui-kit .shadow-hard-md {
3854
+ --tw-shadow: 0 1px 3px 0 rgba(15, 23, 42, 0.50), 0 0 0.5px 0 rgba(255, 255, 255, 0.30) inset, 0 5px 12px 0 rgba(15, 23, 42, 0.35), 0 0.5px 0 0 rgba(255, 255, 255, 0.08) inset;
3855
+ --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), inset 0 0 0.5px 0 var(--tw-shadow-color), 0 5px 12px 0 var(--tw-shadow-color), inset 0 0.5px 0 0 var(--tw-shadow-color);
3856
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
3857
+ }
3856
3858
  .ui-kit .shadow-none {
3857
3859
  --tw-shadow: 0 0 #0000;
3858
3860
  --tw-shadow-colored: 0 0 #0000;
@@ -3863,6 +3865,11 @@
3863
3865
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
3864
3866
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
3865
3867
  }
3868
+ .ui-kit .shadow-soft-2xl {
3869
+ --tw-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.24);
3870
+ --tw-shadow-colored: 0 24px 48px -12px var(--tw-shadow-color);
3871
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
3872
+ }
3866
3873
  .ui-kit .shadow-soft-base {
3867
3874
  --tw-shadow: 0 2px 4px 0 rgba(15, 23, 42, 0.12), 0 1px 2px -1px rgba(15, 23, 42, 0.12);
3868
3875
  --tw-shadow-colored: 0 2px 4px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
@@ -3970,11 +3977,6 @@
3970
3977
  -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
3971
3978
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
3972
3979
  }
3973
- .ui-kit .backdrop-blur-lg {
3974
- --tw-backdrop-blur: blur(16px);
3975
- -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
3976
- backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
3977
- }
3978
3980
  .ui-kit .backdrop-blur-sm {
3979
3981
  --tw-backdrop-blur: blur(4px);
3980
3982
  -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
@@ -6069,6 +6071,10 @@
6069
6071
  padding-left: 0.5rem;
6070
6072
  padding-right: 0.5rem;
6071
6073
  }
6074
+ .ui-kit :is(.\[\&_\[cmdk-group-heading\]\]\:px-3 [cmdk-group-heading]) {
6075
+ padding-left: 0.75rem;
6076
+ padding-right: 0.75rem;
6077
+ }
6072
6078
  .ui-kit :is(.\[\&_\[cmdk-group-heading\]\]\:py-1\.5 [cmdk-group-heading]) {
6073
6079
  padding-top: 0.375rem;
6074
6080
  padding-bottom: 0.375rem;
@@ -6077,8 +6083,8 @@
6077
6083
  font-size: 0.75rem;
6078
6084
  line-height: 1rem;
6079
6085
  }
6080
- .ui-kit :is(.\[\&_\[cmdk-group-heading\]\]\:font-medium [cmdk-group-heading]) {
6081
- font-weight: 500;
6086
+ .ui-kit :is(.\[\&_\[cmdk-group-heading\]\]\:font-normal [cmdk-group-heading]) {
6087
+ font-weight: 400;
6082
6088
  }
6083
6089
  .ui-kit :is(.\[\&_\[cmdk-group-heading\]\]\:text-inverse-muted [cmdk-group-heading]) {
6084
6090
  color: hsl(var(--inverse-muted));
@@ -6086,21 +6092,21 @@
6086
6092
  .ui-kit :is(.\[\&_\[cmdk-group-heading\]\]\:text-muted [cmdk-group-heading]) {
6087
6093
  color: hsl(var(--muted));
6088
6094
  }
6089
- .ui-kit :is(.\[\&_\[cmdk-group-heading\]\]\:text-muted-foreground [cmdk-group-heading]) {
6090
- color: hsl(var(--muted-foreground));
6095
+ .ui-kit :is(.\[\&_\[cmdk-group-items\]\]\:p-1 [cmdk-group-items]) {
6096
+ padding: 0.25rem;
6091
6097
  }
6092
6098
  .ui-kit :is(.\[\&_\[cmdk-group\]\]\:px-1 [cmdk-group]) {
6093
6099
  padding-left: 0.25rem;
6094
6100
  padding-right: 0.25rem;
6095
6101
  }
6096
- .ui-kit :is(.\[\&_\[cmdk-input-wrapper\]_svg\]\:h-5 [cmdk-input-wrapper] svg) {
6097
- height: 1.25rem;
6102
+ .ui-kit :is(.\[\&_\[cmdk-input-wrapper\]\]\:pl-4 [cmdk-input-wrapper]) {
6103
+ padding-left: 1rem;
6098
6104
  }
6099
- .ui-kit :is(.\[\&_\[cmdk-input-wrapper\]_svg\]\:w-5 [cmdk-input-wrapper] svg) {
6100
- width: 1.25rem;
6105
+ .ui-kit :is(.\[\&_\[cmdk-input-wrapper\]_svg\]\:h-4 [cmdk-input-wrapper] svg) {
6106
+ height: 1rem;
6101
6107
  }
6102
- .ui-kit :is(.\[\&_\[cmdk-input\]\]\:h-12 [cmdk-input]) {
6103
- height: 3rem;
6108
+ .ui-kit :is(.\[\&_\[cmdk-input-wrapper\]_svg\]\:w-4 [cmdk-input-wrapper] svg) {
6109
+ width: 1rem;
6104
6110
  }
6105
6111
  .ui-kit :is(.\[\&_\[cmdk-item\]\]\:px-2 [cmdk-item]) {
6106
6112
  padding-left: 0.5rem;
@@ -6110,11 +6116,11 @@
6110
6116
  padding-top: 0.375rem;
6111
6117
  padding-bottom: 0.375rem;
6112
6118
  }
6113
- .ui-kit :is(.\[\&_\[cmdk-item\]_svg\]\:h-5 [cmdk-item] svg) {
6114
- height: 1.25rem;
6119
+ .ui-kit :is(.\[\&_\[cmdk-item\]_svg\]\:h-4 [cmdk-item] svg) {
6120
+ height: 1rem;
6115
6121
  }
6116
- .ui-kit :is(.\[\&_\[cmdk-item\]_svg\]\:w-5 [cmdk-item] svg) {
6117
- width: 1.25rem;
6122
+ .ui-kit :is(.\[\&_\[cmdk-item\]_svg\]\:w-4 [cmdk-item] svg) {
6123
+ width: 1rem;
6118
6124
  }
6119
6125
  .ui-kit :is(.\[\&_svg\]\:pointer-events-none svg) {
6120
6126
  pointer-events: none;