@adamosuiteservices/ui 2.11.20 → 2.12.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 (53) hide show
  1. package/dist/accordion-rounded.cjs +1 -1
  2. package/dist/accordion-rounded.js +1 -1
  3. package/dist/{button-BzVY7053.js → button-CMWUcYpz.js} +54 -54
  4. package/dist/button-CmLeuaI0.cjs +75 -0
  5. package/dist/button-group.cjs +6 -6
  6. package/dist/button-group.js +20 -20
  7. package/dist/button.cjs +1 -1
  8. package/dist/button.js +1 -1
  9. package/dist/{calendar-IAVS_7up.cjs → calendar-DUvRetFW.cjs} +1 -1
  10. package/dist/{calendar-BIttOd3g.js → calendar-yJWQTCer.js} +1 -1
  11. package/dist/calendar.cjs +1 -1
  12. package/dist/calendar.js +1 -1
  13. package/dist/combobox-BhDOduAb.cjs +40 -0
  14. package/dist/{combobox-DI-WK3Ng.js → combobox-CYOGlfQe.js} +91 -88
  15. package/dist/combobox.cjs +1 -1
  16. package/dist/combobox.js +1 -1
  17. package/dist/components/ui/button/button.d.ts +1 -1
  18. package/dist/components/ui/input-otp/index.d.ts +1 -0
  19. package/dist/components/ui/input-otp/input-otp.d.ts +11 -0
  20. package/dist/components/ui/input-otp.d.ts +11 -0
  21. package/dist/context-menu.cjs +38 -36
  22. package/dist/context-menu.js +54 -52
  23. package/dist/date-picker-selector.cjs +1 -1
  24. package/dist/date-picker-selector.js +4 -4
  25. package/dist/dropdown-menu.cjs +48 -52
  26. package/dist/dropdown-menu.js +164 -168
  27. package/dist/{input-DFvZLcgm.js → input-BCiOr4Fy.js} +7 -6
  28. package/dist/{input-CWDpI1Ua.cjs → input-Bz5k4w94.cjs} +7 -6
  29. package/dist/input-group.cjs +5 -5
  30. package/dist/input-group.js +10 -10
  31. package/dist/input-otp.cjs +68 -0
  32. package/dist/input-otp.js +384 -0
  33. package/dist/input.cjs +1 -1
  34. package/dist/input.js +1 -1
  35. package/dist/pagination.cjs +2 -2
  36. package/dist/pagination.js +4 -3
  37. package/dist/select.cjs +22 -20
  38. package/dist/select.js +112 -111
  39. package/dist/sidebar.cjs +1 -1
  40. package/dist/sidebar.js +1 -1
  41. package/dist/styles.css +1 -1
  42. package/docs/components/ui/accordion-rounded.md +2 -2
  43. package/docs/components/ui/button-group.md +986 -984
  44. package/docs/components/ui/button.md +1156 -1137
  45. package/docs/components/ui/combobox.md +33 -2
  46. package/docs/components/ui/command.md +484 -454
  47. package/docs/components/ui/context-menu.md +574 -540
  48. package/docs/components/ui/dropdown-menu.md +743 -709
  49. package/docs/components/ui/input.md +362 -362
  50. package/docs/components/ui/select.md +357 -352
  51. package/package.json +8 -3
  52. package/dist/button-B_VHdPPV.cjs +0 -76
  53. package/dist/combobox-DplJzBX6.cjs +0 -37
@@ -1,9 +1,9 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./jsx-runtime-BB_1_6y_.cjs"),L=require("react"),x=require("./index-BWaO7kQK.cjs"),H=require("./index-_XxjJPRD.cjs"),K=require("./index-cwZN7ZY3.cjs"),U=require("./index-CocSS1YK.cjs"),d=require("./index-8iwAKZIp.cjs"),b=require("./index-WIv2ndLu.cjs"),M=require("./icon-DPMQJBkA.cjs"),c=require("./index-DoxiiusW.cjs");function B(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const u=B(L);var g="DropdownMenu",[F]=K.createContextScope(g,[d.createMenuScope]),m=d.createMenuScope(),[W,D]=F(g),R=e=>{const{__scopeDropdownMenu:o,children:t,dir:n,open:r,defaultOpen:i,onOpenChange:p,modal:s=!0}=e,l=m(o),v=u.useRef(null),[f,w]=x.useControllableState({prop:r,defaultProp:i??!1,onChange:p,caller:g});return a.jsxRuntimeExports.jsx(W,{scope:o,triggerId:b.useId(),triggerRef:v,contentId:b.useId(),open:f,onOpenChange:w,onOpenToggle:u.useCallback(()=>w(q=>!q),[w]),modal:s,children:a.jsxRuntimeExports.jsx(d.Root3,{...l,open:f,onOpenChange:w,dir:n,modal:s,children:t})})};R.displayName=g;var h="DropdownMenuTrigger",j=u.forwardRef((e,o)=>{const{__scopeDropdownMenu:t,disabled:n=!1,...r}=e,i=D(h,t),p=m(t);return a.jsxRuntimeExports.jsx(d.Anchor2,{asChild:!0,...p,children:a.jsxRuntimeExports.jsx(U.Primitive.button,{type:"button",id:i.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":i.open?"open":"closed","data-disabled":n?"":void 0,disabled:n,...r,ref:H.composeRefs(o,i.triggerRef),onPointerDown:x.composeEventHandlers(e.onPointerDown,s=>{!n&&s.button===0&&s.ctrlKey===!1&&(i.onOpenToggle(),i.open||s.preventDefault())}),onKeyDown:x.composeEventHandlers(e.onKeyDown,s=>{n||(["Enter"," "].includes(s.key)&&i.onOpenToggle(),s.key==="ArrowDown"&&i.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(s.key)&&s.preventDefault())})})})});j.displayName=h;var X="DropdownMenuPortal",_=e=>{const{__scopeDropdownMenu:o,...t}=e,n=m(o);return a.jsxRuntimeExports.jsx(d.Portal,{...n,...t})};_.displayName=X;var E="DropdownMenuContent",S=u.forwardRef((e,o)=>{const{__scopeDropdownMenu:t,...n}=e,r=D(E,t),i=m(t),p=u.useRef(!1);return a.jsxRuntimeExports.jsx(d.Content2,{id:r.contentId,"aria-labelledby":r.triggerId,...i,...n,ref:o,onCloseAutoFocus:x.composeEventHandlers(e.onCloseAutoFocus,s=>{p.current||r.triggerRef.current?.focus(),p.current=!1,s.preventDefault()}),onInteractOutside:x.composeEventHandlers(e.onInteractOutside,s=>{const l=s.detail.originalEvent,v=l.button===0&&l.ctrlKey===!0,f=l.button===2||v;(!r.modal||f)&&(p.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});S.displayName=E;var J="DropdownMenuGroup",I=u.forwardRef((e,o)=>{const{__scopeDropdownMenu:t,...n}=e,r=m(t);return a.jsxRuntimeExports.jsx(d.Group,{...r,...n,ref:o})});I.displayName=J;var Q="DropdownMenuLabel",N=u.forwardRef((e,o)=>{const{__scopeDropdownMenu:t,...n}=e,r=m(t);return a.jsxRuntimeExports.jsx(d.Label,{...r,...n,ref:o})});N.displayName=Q;var V="DropdownMenuItem",y=u.forwardRef((e,o)=>{const{__scopeDropdownMenu:t,...n}=e,r=m(t);return a.jsxRuntimeExports.jsx(d.Item2,{...r,...n,ref:o})});y.displayName=V;var Y="DropdownMenuCheckboxItem",C=u.forwardRef((e,o)=>{const{__scopeDropdownMenu:t,...n}=e,r=m(t);return a.jsxRuntimeExports.jsx(d.CheckboxItem,{...r,...n,ref:o})});C.displayName=Y;var Z="DropdownMenuRadioGroup",P=u.forwardRef((e,o)=>{const{__scopeDropdownMenu:t,...n}=e,r=m(t);return a.jsxRuntimeExports.jsx(d.RadioGroup,{...r,...n,ref:o})});P.displayName=Z;var ee="DropdownMenuRadioItem",O=u.forwardRef((e,o)=>{const{__scopeDropdownMenu:t,...n}=e,r=m(t);return a.jsxRuntimeExports.jsx(d.RadioItem,{...r,...n,ref:o})});O.displayName=ee;var oe="DropdownMenuItemIndicator",A=u.forwardRef((e,o)=>{const{__scopeDropdownMenu:t,...n}=e,r=m(t);return a.jsxRuntimeExports.jsx(d.ItemIndicator,{...r,...n,ref:o})});A.displayName=oe;var te="DropdownMenuSeparator",T=u.forwardRef((e,o)=>{const{__scopeDropdownMenu:t,...n}=e,r=m(t);return a.jsxRuntimeExports.jsx(d.Separator,{...r,...n,ref:o})});T.displayName=te;var ne="DropdownMenuArrow",ae=u.forwardRef((e,o)=>{const{__scopeDropdownMenu:t,...n}=e,r=m(t);return a.jsxRuntimeExports.jsx(d.Arrow2,{...r,...n,ref:o})});ae.displayName=ne;var re=e=>{const{__scopeDropdownMenu:o,children:t,open:n,onOpenChange:r,defaultOpen:i}=e,p=m(o),[s,l]=x.useControllableState({prop:n,defaultProp:i??!1,onChange:r,caller:"DropdownMenuSub"});return a.jsxRuntimeExports.jsx(d.Sub,{...p,open:s,onOpenChange:l,children:t})},de="DropdownMenuSubTrigger",k=u.forwardRef((e,o)=>{const{__scopeDropdownMenu:t,...n}=e,r=m(t);return a.jsxRuntimeExports.jsx(d.SubTrigger,{...r,...n,ref:o})});k.displayName=de;var se="DropdownMenuSubContent",G=u.forwardRef((e,o)=>{const{__scopeDropdownMenu:t,...n}=e,r=m(t);return a.jsxRuntimeExports.jsx(d.SubContent,{...r,...n,ref:o,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});G.displayName=se;var ie=R,ue=j,$=_,me=S,pe=I,ce=N,le=y,xe=C,fe=P,we=O,z=A,ge=T,ve=re,Me=k,be=G;function De({...e}){return a.jsxRuntimeExports.jsx(ie,{"data-slot":"dropdown-menu",...e})}function Re({...e}){return a.jsxRuntimeExports.jsx($,{"data-slot":"dropdown-menu-portal",...e})}function he({...e}){return a.jsxRuntimeExports.jsx(ue,{"data-slot":"dropdown-menu-trigger",...e})}function je({className:e,sideOffset:o=4,...t}){return a.jsxRuntimeExports.jsx($,{children:a.jsxRuntimeExports.jsx(me,{"data-slot":"dropdown-menu-content",sideOffset:o,className:c.cn(`
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./jsx-runtime-BB_1_6y_.cjs"),z=require("react"),x=require("./index-BWaO7kQK.cjs"),H=require("./index-_XxjJPRD.cjs"),K=require("./index-cwZN7ZY3.cjs"),U=require("./index-CocSS1YK.cjs"),d=require("./index-8iwAKZIp.cjs"),b=require("./index-WIv2ndLu.cjs"),M=require("./icon-DPMQJBkA.cjs"),c=require("./index-DoxiiusW.cjs");function B(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const t=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(o,n,t.get?t:{enumerable:!0,get:()=>e[n]})}}return o.default=e,Object.freeze(o)}const u=B(z);var g="DropdownMenu",[F]=K.createContextScope(g,[d.createMenuScope]),m=d.createMenuScope(),[W,h]=F(g),D=e=>{const{__scopeDropdownMenu:o,children:n,dir:t,open:a,defaultOpen:i,onOpenChange:p,modal:s=!0}=e,l=m(o),v=u.useRef(null),[f,w]=x.useControllableState({prop:a,defaultProp:i??!1,onChange:p,caller:g});return r.jsxRuntimeExports.jsx(W,{scope:o,triggerId:b.useId(),triggerRef:v,contentId:b.useId(),open:f,onOpenChange:w,onOpenToggle:u.useCallback(()=>w(L=>!L),[w]),modal:s,children:r.jsxRuntimeExports.jsx(d.Root3,{...l,open:f,onOpenChange:w,dir:t,modal:s,children:n})})};D.displayName=g;var R="DropdownMenuTrigger",j=u.forwardRef((e,o)=>{const{__scopeDropdownMenu:n,disabled:t=!1,...a}=e,i=h(R,n),p=m(n);return r.jsxRuntimeExports.jsx(d.Anchor2,{asChild:!0,...p,children:r.jsxRuntimeExports.jsx(U.Primitive.button,{type:"button",id:i.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":i.open?"open":"closed","data-disabled":t?"":void 0,disabled:t,...a,ref:H.composeRefs(o,i.triggerRef),onPointerDown:x.composeEventHandlers(e.onPointerDown,s=>{!t&&s.button===0&&s.ctrlKey===!1&&(i.onOpenToggle(),i.open||s.preventDefault())}),onKeyDown:x.composeEventHandlers(e.onKeyDown,s=>{t||(["Enter"," "].includes(s.key)&&i.onOpenToggle(),s.key==="ArrowDown"&&i.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(s.key)&&s.preventDefault())})})})});j.displayName=R;var X="DropdownMenuPortal",E=e=>{const{__scopeDropdownMenu:o,...n}=e,t=m(o);return r.jsxRuntimeExports.jsx(d.Portal,{...t,...n})};E.displayName=X;var _="DropdownMenuContent",S=u.forwardRef((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,a=h(_,n),i=m(n),p=u.useRef(!1);return r.jsxRuntimeExports.jsx(d.Content2,{id:a.contentId,"aria-labelledby":a.triggerId,...i,...t,ref:o,onCloseAutoFocus:x.composeEventHandlers(e.onCloseAutoFocus,s=>{p.current||a.triggerRef.current?.focus(),p.current=!1,s.preventDefault()}),onInteractOutside:x.composeEventHandlers(e.onInteractOutside,s=>{const l=s.detail.originalEvent,v=l.button===0&&l.ctrlKey===!0,f=l.button===2||v;(!a.modal||f)&&(p.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});S.displayName=_;var J="DropdownMenuGroup",I=u.forwardRef((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,a=m(n);return r.jsxRuntimeExports.jsx(d.Group,{...a,...t,ref:o})});I.displayName=J;var Q="DropdownMenuLabel",N=u.forwardRef((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,a=m(n);return r.jsxRuntimeExports.jsx(d.Label,{...a,...t,ref:o})});N.displayName=Q;var V="DropdownMenuItem",C=u.forwardRef((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,a=m(n);return r.jsxRuntimeExports.jsx(d.Item2,{...a,...t,ref:o})});C.displayName=V;var Y="DropdownMenuCheckboxItem",y=u.forwardRef((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,a=m(n);return r.jsxRuntimeExports.jsx(d.CheckboxItem,{...a,...t,ref:o})});y.displayName=Y;var Z="DropdownMenuRadioGroup",P=u.forwardRef((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,a=m(n);return r.jsxRuntimeExports.jsx(d.RadioGroup,{...a,...t,ref:o})});P.displayName=Z;var ee="DropdownMenuRadioItem",O=u.forwardRef((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,a=m(n);return r.jsxRuntimeExports.jsx(d.RadioItem,{...a,...t,ref:o})});O.displayName=ee;var oe="DropdownMenuItemIndicator",A=u.forwardRef((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,a=m(n);return r.jsxRuntimeExports.jsx(d.ItemIndicator,{...a,...t,ref:o})});A.displayName=oe;var ne="DropdownMenuSeparator",T=u.forwardRef((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,a=m(n);return r.jsxRuntimeExports.jsx(d.Separator,{...a,...t,ref:o})});T.displayName=ne;var te="DropdownMenuArrow",re=u.forwardRef((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,a=m(n);return r.jsxRuntimeExports.jsx(d.Arrow2,{...a,...t,ref:o})});re.displayName=te;var ae=e=>{const{__scopeDropdownMenu:o,children:n,open:t,onOpenChange:a,defaultOpen:i}=e,p=m(o),[s,l]=x.useControllableState({prop:t,defaultProp:i??!1,onChange:a,caller:"DropdownMenuSub"});return r.jsxRuntimeExports.jsx(d.Sub,{...p,open:s,onOpenChange:l,children:n})},de="DropdownMenuSubTrigger",k=u.forwardRef((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,a=m(n);return r.jsxRuntimeExports.jsx(d.SubTrigger,{...a,...t,ref:o})});k.displayName=de;var se="DropdownMenuSubContent",G=u.forwardRef((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,a=m(n);return r.jsxRuntimeExports.jsx(d.SubContent,{...a,...t,ref:o,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});G.displayName=se;var ie=D,ue=j,$=E,me=S,pe=I,ce=N,le=C,xe=y,fe=P,we=O,q=A,ge=T,ve=ae,Me=k,be=G;function he({...e}){return r.jsxRuntimeExports.jsx(ie,{"data-slot":"dropdown-menu",...e})}function De({...e}){return r.jsxRuntimeExports.jsx($,{"data-slot":"dropdown-menu-portal",...e})}function Re({...e}){return r.jsxRuntimeExports.jsx(ue,{"data-slot":"dropdown-menu-trigger",...e})}function je({className:e,sideOffset:o=4,...n}){return r.jsxRuntimeExports.jsx($,{children:r.jsxRuntimeExports.jsx(me,{"data-slot":"dropdown-menu-content",sideOffset:o,className:c.cn(`
2
2
  adm:z-50 adm:max-h-(--radix-dropdown-menu-content-available-height)
3
3
  adm:min-w-[8rem]
4
4
  adm:origin-(--radix-dropdown-menu-content-transform-origin)
5
5
  adm:overflow-x-hidden adm:overflow-y-auto adm:rounded-md adm:border
6
- adm:bg-popover adm:p-1 adm:text-popover-foreground adm:shadow-xs
6
+ adm:bg-popover adm:text-popover-foreground adm:shadow-xs
7
7
  adm:data-[side=bottom]:slide-in-from-top-2
8
8
  adm:data-[side=left]:slide-in-from-right-2
9
9
  adm:data-[side=right]:slide-in-from-left-2
@@ -13,75 +13,71 @@
13
13
  adm:data-[state=closed]:zoom-out-95
14
14
  adm:data-[state=open]:animate-in adm:data-[state=open]:fade-in-0
15
15
  adm:data-[state=open]:zoom-in-95
16
- `,e),...t})})}function _e({...e}){return a.jsxRuntimeExports.jsx(pe,{"data-slot":"dropdown-menu-group",...e})}function Ee({className:e,inset:o,variant:t="default",...n}){return a.jsxRuntimeExports.jsx(le,{"data-slot":"dropdown-menu-item","data-inset":o,"data-variant":t,className:c.cn(`
17
- adm:relative adm:flex adm:cursor-default adm:items-center adm:gap-2
18
- adm:rounded-sm adm:px-2 adm:py-1.5 adm:text-sm adm:outline-hidden
19
- adm:select-none
16
+ `,e),...n})})}function Ee({...e}){return r.jsxRuntimeExports.jsx(pe,{"data-slot":"dropdown-menu-group",...e})}function _e({className:e,inset:o,variant:n="default",...t}){return r.jsxRuntimeExports.jsx(le,{"data-slot":"dropdown-menu-item","data-inset":o,"data-variant":n,className:c.cn(`
17
+ adm:relative adm:flex adm:h-10 adm:cursor-default adm:items-center
18
+ adm:gap-2 adm:px-3 adm:text-sm adm:outline-hidden adm:select-none
19
+ adm:first:rounded-t-sm
20
+ adm:last:rounded-b-sm
20
21
  adm:focus:bg-accent adm:focus:text-accent-foreground
21
- adm:data-[disabled]:pointer-events-none adm:data-[disabled]:opacity-50
22
- adm:data-[inset]:pl-8
22
+ adm:data-disabled:pointer-events-none adm:data-disabled:opacity-50
23
+ adm:data-inset:pl-8
24
+ adm:**:data-[slot=icon]:pointer-events-none
25
+ adm:**:data-[slot=icon]:shrink-0
23
26
  adm:data-[variant=destructive]:text-destructive
24
27
  adm:data-[variant=destructive]:focus:bg-destructive/10
25
28
  adm:data-[variant=destructive]:focus:text-destructive
26
29
  adm:dark:data-[variant=destructive]:focus:bg-destructive/20
27
- adm:[&_[data-slot=icon]]:pointer-events-none
28
- adm:[&_[data-slot=icon]]:shrink-0
29
- adm:[&_[data-slot=icon]:not([class*=text-])]:text-lg
30
- adm:[&_[data-slot=icon]:not([class*=text-])]:text-muted-foreground
31
30
  adm:[&_svg]:pointer-events-none adm:[&_svg]:shrink-0
32
- adm:[&_svg:not([class*=size-])]:size-4
33
- adm:[&_svg:not([class*=text-])]:text-muted-foreground
34
- adm:data-[variant=destructive]:*:[data-slot=icon]:!text-destructive
35
- adm:data-[variant=destructive]:*:[svg]:!text-destructive
36
- `,e),...n})}function Se({className:e,children:o,checked:t,...n}){return a.jsxRuntimeExports.jsxs(xe,{"data-slot":"dropdown-menu-checkbox-item",className:c.cn(`
37
- adm:relative adm:flex adm:cursor-default adm:items-center adm:gap-2
38
- adm:rounded-sm adm:py-1.5 adm:pr-2 adm:pl-8 adm:text-sm
39
- adm:outline-hidden adm:select-none
31
+ adm:data-[variant=destructive]:*:[data-slot=icon]:text-destructive!
32
+ adm:data-[variant=destructive]:*:[svg]:text-destructive!
33
+ `,e),...t})}function Se({className:e,children:o,checked:n,...t}){return r.jsxRuntimeExports.jsxs(xe,{"data-slot":"dropdown-menu-checkbox-item",className:c.cn(`
34
+ adm:relative adm:flex adm:h-10 adm:cursor-default adm:items-center
35
+ adm:gap-2 adm:pr-10 adm:pl-8 adm:text-sm adm:outline-hidden
36
+ adm:select-none
37
+ adm:first:rounded-t-sm
38
+ adm:last:rounded-b-sm
40
39
  adm:focus:bg-accent adm:focus:text-accent-foreground
41
- adm:data-[disabled]:pointer-events-none adm:data-[disabled]:opacity-50
42
- adm:[&_[data-slot=icon]]:pointer-events-none
43
- adm:[&_[data-slot=icon]]:shrink-0
44
- adm:[&_[data-slot=icon]:not([class*=text-])]:text-lg
40
+ adm:data-disabled:pointer-events-none adm:data-disabled:opacity-50
41
+ adm:**:data-[slot=icon]:pointer-events-none
42
+ adm:**:data-[slot=icon]:shrink-0
45
43
  adm:[&_svg]:pointer-events-none adm:[&_svg]:shrink-0
46
- adm:[&_svg:not([class*=size-])]:size-4
47
- `,e),checked:t,...n,children:[a.jsxRuntimeExports.jsx("span",{className:`
44
+ `,e),checked:n,...t,children:[r.jsxRuntimeExports.jsx("span",{className:`
48
45
  adm:pointer-events-none adm:absolute adm:left-2 adm:flex adm:size-3.5
49
46
  adm:items-center adm:justify-center
50
- `,children:a.jsxRuntimeExports.jsx(z,{children:a.jsxRuntimeExports.jsx(M.Icon,{symbol:"check"})})}),o]})}function Ie({...e}){return a.jsxRuntimeExports.jsx(fe,{"data-slot":"dropdown-menu-radio-group",...e})}function Ne({className:e,children:o,...t}){return a.jsxRuntimeExports.jsxs(we,{"data-slot":"dropdown-menu-radio-item",className:c.cn(`
51
- adm:relative adm:flex adm:cursor-default adm:items-center adm:gap-2
52
- adm:rounded-sm adm:py-1.5 adm:pr-2 adm:pl-8 adm:text-sm
53
- adm:outline-hidden adm:select-none
47
+ `,children:r.jsxRuntimeExports.jsx(q,{children:r.jsxRuntimeExports.jsx(M.Icon,{symbol:"check"})})}),o]})}function Ie({...e}){return r.jsxRuntimeExports.jsx(fe,{"data-slot":"dropdown-menu-radio-group",...e})}function Ne({className:e,children:o,...n}){return r.jsxRuntimeExports.jsxs(we,{"data-slot":"dropdown-menu-radio-item",className:c.cn(`
48
+ adm:relative adm:flex adm:h-10 adm:cursor-default adm:items-center
49
+ adm:gap-2 adm:pr-10 adm:pl-8 adm:text-sm adm:outline-hidden
50
+ adm:select-none
51
+ adm:first:rounded-t-sm
52
+ adm:last:rounded-b-sm
54
53
  adm:focus:bg-accent adm:focus:text-accent-foreground
55
- adm:data-[disabled]:pointer-events-none adm:data-[disabled]:opacity-50
56
- adm:[&_[data-slot=icon]]:pointer-events-none
57
- adm:[&_[data-slot=icon]]:shrink-0
58
- adm:[&_[data-slot=icon]:not([class*=text-])]:text-sm
54
+ adm:data-disabled:pointer-events-none adm:data-disabled:opacity-50
55
+ adm:**:data-[slot=icon]:pointer-events-none
56
+ adm:**:data-[slot=icon]:shrink-0
59
57
  adm:[&_svg]:pointer-events-none adm:[&_svg]:shrink-0
60
- adm:[&_svg:not([class*=size-])]:size-4
61
- `,e),...t,children:[a.jsxRuntimeExports.jsx("span",{className:`
58
+ `,e),...n,children:[r.jsxRuntimeExports.jsx("span",{className:`
62
59
  adm:pointer-events-none adm:absolute adm:left-2 adm:flex adm:size-3.5
63
60
  adm:items-center adm:justify-center
64
- `,children:a.jsxRuntimeExports.jsx(z,{children:a.jsxRuntimeExports.jsx(M.Icon,{symbol:"circle",fill:1,className:"adm:text-xs"})})}),o]})}function ye({className:e,inset:o,...t}){return a.jsxRuntimeExports.jsx(ce,{"data-slot":"dropdown-menu-label","data-inset":o,className:c.cn(`
65
- adm:px-2 adm:py-1.5 adm:text-sm adm:font-medium
66
- adm:data-[inset]:pl-8
67
- `,e),...t})}function Ce({className:e,...o}){return a.jsxRuntimeExports.jsx(ge,{"data-slot":"dropdown-menu-separator",className:c.cn("adm:-mx-1 adm:my-1 adm:h-px adm:bg-border",e),...o})}function Pe({className:e,...o}){return a.jsxRuntimeExports.jsx("span",{"data-slot":"dropdown-menu-shortcut",className:c.cn("adm:ml-auto adm:text-xs adm:tracking-widest adm:text-muted-foreground",e),...o})}function Oe({...e}){return a.jsxRuntimeExports.jsx(ve,{"data-slot":"dropdown-menu-sub",...e})}function Ae({className:e,inset:o,children:t,...n}){return a.jsxRuntimeExports.jsxs(Me,{"data-slot":"dropdown-menu-sub-trigger","data-inset":o,className:c.cn(`
68
- adm:flex adm:cursor-default adm:items-center adm:gap-2 adm:rounded-sm
69
- adm:px-2 adm:py-1.5 adm:text-sm adm:outline-hidden adm:select-none
61
+ `,children:r.jsxRuntimeExports.jsx(q,{children:r.jsxRuntimeExports.jsx(M.Icon,{symbol:"circle",fill:1,className:"adm:text-xs"})})}),o]})}function Ce({className:e,inset:o,...n}){return r.jsxRuntimeExports.jsx(ce,{"data-slot":"dropdown-menu-label","data-inset":o,className:c.cn(`
62
+ adm:flex adm:h-10 adm:items-center adm:px-3 adm:text-sm
63
+ adm:font-medium
64
+ adm:data-inset:pl-8
65
+ `,e),...n})}function ye({className:e,...o}){return r.jsxRuntimeExports.jsx(ge,{"data-slot":"dropdown-menu-separator",className:c.cn("adm:h-px adm:bg-border",e),...o})}function Pe({className:e,...o}){return r.jsxRuntimeExports.jsx("span",{"data-slot":"dropdown-menu-shortcut",className:c.cn("adm:ml-auto adm:text-xs adm:tracking-widest adm:text-muted-foreground",e),...o})}function Oe({...e}){return r.jsxRuntimeExports.jsx(ve,{"data-slot":"dropdown-menu-sub",...e})}function Ae({className:e,inset:o,children:n,...t}){return r.jsxRuntimeExports.jsxs(Me,{"data-slot":"dropdown-menu-sub-trigger","data-inset":o,className:c.cn(`
66
+ adm:flex adm:h-10 adm:cursor-default adm:items-center adm:gap-2
67
+ adm:px-3 adm:text-sm adm:outline-hidden adm:select-none
68
+ adm:first:rounded-t-sm
69
+ adm:last:rounded-b-sm
70
70
  adm:focus:bg-accent adm:focus:text-accent-foreground
71
- adm:data-[inset]:pl-8
71
+ adm:data-inset:pl-8
72
+ adm:**:data-[slot=icon]:pointer-events-none
73
+ adm:**:data-[slot=icon]:shrink-0
72
74
  adm:data-[state=open]:bg-accent
73
75
  adm:data-[state=open]:text-accent-foreground
74
- adm:[&_[data-slot=icon]]:pointer-events-none
75
- adm:[&_[data-slot=icon]]:shrink-0
76
- adm:[&_[data-slot=icon]:not([class*=text-])]:text-lg
77
- adm:[&_[data-slot=icon]:not([class*=text-])]:text-muted-foreground
78
76
  adm:[&_svg]:pointer-events-none adm:[&_svg]:shrink-0
79
- adm:[&_svg:not([class*=size-])]:size-4
80
- adm:[&_svg:not([class*=text-])]:text-muted-foreground
81
- `,e),...n,children:[t,a.jsxRuntimeExports.jsx(M.Icon,{symbol:"chevron_right",className:"adm:ml-auto adm:shrink-0"})]})}function Te({className:e,...o}){return a.jsxRuntimeExports.jsx(be,{"data-slot":"dropdown-menu-sub-content",className:c.cn(`
77
+ `,e),...t,children:[n,r.jsxRuntimeExports.jsx(M.Icon,{symbol:"chevron_right",className:"adm:ml-auto adm:shrink-0"})]})}function Te({className:e,...o}){return r.jsxRuntimeExports.jsx(be,{"data-slot":"dropdown-menu-sub-content",className:c.cn(`
82
78
  adm:z-50 adm:min-w-[8rem]
83
79
  adm:origin-(--radix-dropdown-menu-content-transform-origin)
84
- adm:overflow-hidden adm:rounded-md adm:border adm:bg-popover adm:p-1
80
+ adm:overflow-hidden adm:rounded-md adm:border adm:bg-popover
85
81
  adm:text-popover-foreground adm:shadow-xs
86
82
  adm:data-[side=bottom]:slide-in-from-top-2
87
83
  adm:data-[side=left]:slide-in-from-right-2
@@ -91,4 +87,4 @@
91
87
  adm:data-[state=closed]:zoom-out-95
92
88
  adm:data-[state=open]:animate-in adm:data-[state=open]:fade-in-0
93
89
  adm:data-[state=open]:zoom-in-95
94
- `,e),...o})}exports.DropdownMenu=De;exports.DropdownMenuCheckboxItem=Se;exports.DropdownMenuContent=je;exports.DropdownMenuGroup=_e;exports.DropdownMenuItem=Ee;exports.DropdownMenuLabel=ye;exports.DropdownMenuPortal=Re;exports.DropdownMenuRadioGroup=Ie;exports.DropdownMenuRadioItem=Ne;exports.DropdownMenuSeparator=Ce;exports.DropdownMenuShortcut=Pe;exports.DropdownMenuSub=Oe;exports.DropdownMenuSubContent=Te;exports.DropdownMenuSubTrigger=Ae;exports.DropdownMenuTrigger=he;
90
+ `,e),...o})}exports.DropdownMenu=he;exports.DropdownMenuCheckboxItem=Se;exports.DropdownMenuContent=je;exports.DropdownMenuGroup=Ee;exports.DropdownMenuItem=_e;exports.DropdownMenuLabel=Ce;exports.DropdownMenuPortal=De;exports.DropdownMenuRadioGroup=Ie;exports.DropdownMenuRadioItem=Ne;exports.DropdownMenuSeparator=ye;exports.DropdownMenuShortcut=Pe;exports.DropdownMenuSub=Oe;exports.DropdownMenuSubContent=Te;exports.DropdownMenuSubTrigger=Ae;exports.DropdownMenuTrigger=Re;