@imj_media/imj-ui 1.0.28 → 1.0.29

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.
package/dist/imj-ui.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),_e=require("react"),Ie=require("@radix-ui/react-avatar"),Me=require("clsx"),ze=require("tailwind-merge"),qe=require("@radix-ui/react-slot"),h=require("class-variance-authority"),Le=require("@radix-ui/react-accordion"),p=require("lucide-react"),Be=require("react-day-picker"),He=require("date-fns/locale"),Oe=require("@radix-ui/react-checkbox"),Fe=require("@radix-ui/react-label"),Ge=require("@radix-ui/react-select"),Ve=require("@radix-ui/react-popover"),Ue=require("@radix-ui/react-switch"),Ee=require("@radix-ui/react-dropdown-menu"),Je=require("@radix-ui/react-dialog"),y=require("@radix-ui/react-icons"),Ke=require("@radix-ui/react-alert-dialog");function u(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const a in e)if(a!=="default"){const n=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(t,a,n.get?n:{enumerable:!0,get:()=>e[a]})}}return t.default=e,Object.freeze(t)}const r=u(_e),x=u(Ie),f=u(Le),v=u(Oe),T=u(Fe),l=u(Ge),b=u(Ve),j=u(Ue),i=u(Ee),m=u(Je),c=u(Ke);function s(...e){return ze.twMerge(Me.clsx(e))}const S=r.forwardRef(({className:e,...t},a)=>o.jsx(x.Root,{ref:a,className:s("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",e),...t}));S.displayName=x.Root.displayName;const k=r.forwardRef(({className:e,...t},a)=>o.jsx(x.Image,{ref:a,className:s("aspect-square h-full w-full",e),...t}));k.displayName=x.Image.displayName;const A=r.forwardRef(({className:e,...t},a)=>o.jsx(x.Fallback,{ref:a,className:s("flex h-full w-full items-center justify-center rounded-full bg-muted",e),...t}));A.displayName=x.Fallback.displayName;const g=h.cva("inline-flex items-center gap-1 justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-white shadow hover:opacity-70",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline",success:"bg-success-regular text-white shadow-sm hover:opacity-70",danger:"bg-danger-regular text-white shadow-sm hover:opacity-70",warning:"bg-warning-regular text-white shadow-sm hover:opacity-70"},size:{default:"h-[2.5rem] px-2 py-2",sm:"h-[2rem] rounded-md px-3 text-xs",lg:"h-[2.5rem] rounded-md px-8",icon:"h-[2.25rem] w-[2.25rem]"}},defaultVariants:{variant:"default",size:"default"}}),_=r.forwardRef(({className:e,variant:t,size:a,asChild:n=!1,...d},N)=>{const Ae=n?qe.Slot:"button";return o.jsx(Ae,{className:s(g({variant:t,size:a,className:e})),ref:N,...d})});_.displayName="Button";const Qe=f.Root,I=r.forwardRef(({className:e,...t},a)=>o.jsx(f.Item,{ref:a,className:s("border-b",e),...t}));I.displayName="AccordionItem";const M=r.forwardRef(({className:e,children:t,...a},n)=>o.jsx(f.Header,{className:"flex",children:o.jsxs(f.Trigger,{ref:n,className:s("flex flex-1 items-center justify-between py-4 font-medium transition-all [&[data-state=open]>svg]:rotate-180",e),...a,children:[t,o.jsx(p.ChevronDown,{className:"h-4 w-4 shrink-0 transition-transform duration-200"})]})}));M.displayName=f.Trigger.displayName;const z=r.forwardRef(({className:e,children:t,...a},n)=>o.jsx(f.Content,{ref:n,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...a,children:o.jsx("div",{className:s("pb-4 pt-0",e),children:t})}));z.displayName=f.Content.displayName;const We=h.cva("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function Xe({className:e,variant:t,...a}){return o.jsx("div",{className:s(We({variant:t}),e),...a})}function q({className:e,classNames:t,showOutsideDays:a=!0,...n}){return o.jsx(Be.DayPicker,{locale:He.es,showOutsideDays:a,className:s("p-3 bg-white border-none",e),classNames:{months:"flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0",month:"space-y-4",caption:"flex justify-center pt-1 relative items-center",caption_label:"text-sm font-medium",nav:"space-x-1 flex items-center",nav_button:s(g({variant:"outline"}),"h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100"),nav_button_previous:"absolute left-1",nav_button_next:"absolute right-1",table:"w-full border-collapse space-y-1",head_row:"flex",head_cell:"text-muted-foreground rounded-md w-9 font-normal text-[0.8rem]",row:"flex w-full mt-2",cell:"h-9 w-9 text-center text-sm p-0 relative [&:has([aria-selected].day-range-end)]:rounded-r-md [&:has([aria-selected].day-outside)]:bg-accent/50 [&:has([aria-selected])]:bg-accent first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md focus-within:relative focus-within:z-20",day:s(g({variant:"ghost"}),"h-9 w-9 p-0 font-normal aria-selected:opacity-100"),day_range_end:"day-range-end",day_selected:"bg-primary text-white hover:bg-primary hover:text-white focus:bg-primary focus:text-white",day_today:"bg-accent text-accent-foreground",day_outside:"day-outside text-muted-foreground aria-selected:bg-accent/50 aria-selected:text-muted-foreground",day_disabled:"text-muted-foreground opacity-50",day_range_middle:"aria-selected:bg-accent aria-selected:text-accent-foreground",day_hidden:"invisible",...t},components:{IconLeft:({...d})=>o.jsx(p.ChevronLeft,{className:"h-4 w-4"}),IconRight:({...d})=>o.jsx(p.ChevronRight,{className:"h-4 w-4"})},...n})}q.displayName="Calendar";const L=r.forwardRef(({className:e,...t},a)=>o.jsx(v.Root,{ref:a,className:s("peer h-4 w-4 shrink-0 rounded-sm border-[0.5px] border-black-light ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-white data-[state=checked]:text-primary-foreground",e),...t,children:o.jsx(v.Indicator,{className:s("flex items-center justify-center text-current"),children:o.jsx(p.Check,{className:"h-4 w-4"})})}));L.displayName=v.Root.displayName;const Ye=h.cva("flex h-8 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-0 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",{variants:{variant:{ghost:"bg-white/10 border-zinc-300 text-white font-medium"}}}),B=r.forwardRef(({className:e,variant:t,type:a,...n},d)=>o.jsx("input",{type:a,className:s(Ye({variant:t,className:e})),ref:d,...n}));B.displayName="Input";const Ze=h.cva("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),H=r.forwardRef(({className:e,...t},a)=>o.jsx(T.Root,{ref:a,className:s(Ze(),e),...t}));H.displayName=T.Root.displayName;const $e=l.Root,et=l.Group,tt=l.Value,O=r.forwardRef(({className:e,children:t,...a},n)=>o.jsxs(l.Trigger,{ref:n,className:s("flex h-[2.5rem] w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",e),...a,children:[t,o.jsx(l.Icon,{asChild:!0,children:o.jsx(p.ChevronDown,{className:"h-4 w-4 opacity-50"})})]}));O.displayName=l.Trigger.displayName;const D=r.forwardRef(({className:e,...t},a)=>o.jsx(l.ScrollUpButton,{ref:a,className:s("flex cursor-default items-center justify-center py-1",e),...t,children:o.jsx(p.ChevronUp,{className:"h-4 w-4"})}));D.displayName=l.ScrollUpButton.displayName;const R=r.forwardRef(({className:e,...t},a)=>o.jsx(l.ScrollDownButton,{ref:a,className:s("flex cursor-default items-center justify-center py-1",e),...t,children:o.jsx(p.ChevronDown,{className:"h-4 w-4"})}));R.displayName=l.ScrollDownButton.displayName;const F=r.forwardRef(({className:e,children:t,position:a="popper",...n},d)=>o.jsx(l.Portal,{children:o.jsxs(l.Content,{ref:d,className:s("relative z-50 max-h-[24rem] min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md 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-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:a,...n,children:[o.jsx(D,{}),o.jsx(l.Viewport,{className:s("p-1",a==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),o.jsx(R,{})]})}));F.displayName=l.Content.displayName;const G=r.forwardRef(({className:e,...t},a)=>o.jsx(l.Label,{ref:a,className:s("py-1.5 pl-8 pr-2 text-sm font-semibold",e),...t}));G.displayName=l.Label.displayName;const V=r.forwardRef(({className:e,children:t,...a},n)=>o.jsxs(l.Item,{ref:n,className:s("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...a,children:[o.jsx("span",{className:"absolute left-2 flex h-[0.875rem] w-[0.875rem] items-center justify-center",children:o.jsx(l.ItemIndicator,{children:o.jsx(p.Check,{className:"h-4 w-4"})})}),o.jsx(l.ItemText,{children:t})]}));V.displayName=l.Item.displayName;const U=r.forwardRef(({className:e,...t},a)=>o.jsx(l.Separator,{ref:a,className:s("-mx-1 my-1 h-px bg-muted",e),...t}));U.displayName=l.Separator.displayName;const E=r.forwardRef(({className:e,...t},a)=>o.jsx("textarea",{className:s("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:a,...t}));E.displayName="Textarea";const at=b.Root,ot=b.Trigger,J=r.forwardRef(({className:e,align:t="center",sideOffset:a=4,...n},d)=>o.jsx(b.Portal,{children:o.jsx(b.Content,{ref:d,align:t,sideOffset:a,className:s("z-50 w-72 rounded-md border border-black-light bg-popover p-4 text-popover-foreground shadow-md outline-none 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-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n})}));J.displayName=b.Content.displayName;const K=r.forwardRef(({className:e,...t},a)=>o.jsx(j.Root,{className:s("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-silver transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-white data-[state=unchecked]:bg-white",e),...t,ref:a,children:o.jsx(j.Thumb,{className:s("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:bg-black-light data-[state=checked]:bg-primary data-[state=unchecked]:translate-x-0")})}));K.displayName=j.Root.displayName;const Q=r.forwardRef(({className:e,...t},a)=>o.jsx("div",{className:"relative w-full overflow-auto",children:o.jsx("table",{ref:a,className:s("w-full caption-bottom text-sm",e),...t})}));Q.displayName="Table";const W=r.forwardRef(({className:e,...t},a)=>o.jsx("thead",{ref:a,className:s("[&_tr]:border-b",e),...t}));W.displayName="TableHeader";const X=r.forwardRef(({className:e,...t},a)=>o.jsx("tbody",{ref:a,className:s("[&_tr:last-child]:border-0",e),...t}));X.displayName="TableBody";const Y=r.forwardRef(({className:e,...t},a)=>o.jsx("tfoot",{ref:a,className:s("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",e),...t}));Y.displayName="TableFooter";const Z=r.forwardRef(({className:e,...t},a)=>o.jsx("tr",{ref:a,className:s("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",e),...t}));Z.displayName="TableRow";const $=r.forwardRef(({className:e,...t},a)=>o.jsx("th",{ref:a,className:s("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",e),...t}));$.displayName="TableHead";const ee=r.forwardRef(({className:e,...t},a)=>o.jsx("td",{ref:a,className:s("p-4 align-middle [&:has([role=checkbox])]:pr-0",e),...t}));ee.displayName="TableCell";const te=r.forwardRef(({className:e,...t},a)=>o.jsx("caption",{ref:a,className:s("mt-4 text-sm text-muted-foreground",e),...t}));te.displayName="TableCaption";const st=i.Root,rt=i.Trigger,nt=i.Group,it=i.Portal,lt=i.Sub,dt=i.RadioGroup,ae=r.forwardRef(({className:e,inset:t,children:a,...n},d)=>o.jsxs(i.SubTrigger,{ref:d,className:s("flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",t&&"pl-8",e),...n,children:[a,o.jsx(p.ChevronRight,{className:"ml-auto"})]}));ae.displayName=i.SubTrigger.displayName;const oe=r.forwardRef(({className:e,...t},a)=>o.jsx(i.SubContent,{ref:a,className:s("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg 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-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));oe.displayName=i.SubContent.displayName;const se=r.forwardRef(({className:e,sideOffset:t=4,...a},n)=>o.jsx(i.Portal,{children:o.jsx(i.Content,{ref:n,sideOffset:t,className:s("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md 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-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...a})}));se.displayName=i.Content.displayName;const re=r.forwardRef(({className:e,inset:t,...a},n)=>o.jsx(i.Item,{ref:n,className:s("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",t&&"pl-8",e),...a}));re.displayName=i.Item.displayName;const ne=r.forwardRef(({className:e,children:t,checked:a,...n},d)=>o.jsxs(i.CheckboxItem,{ref:d,className:s("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:a,...n,children:[o.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:o.jsx(i.ItemIndicator,{children:o.jsx(p.Check,{className:"h-4 w-4"})})}),t]}));ne.displayName=i.CheckboxItem.displayName;const ie=r.forwardRef(({className:e,children:t,...a},n)=>o.jsxs(i.RadioItem,{ref:n,className:s("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...a,children:[o.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:o.jsx(i.ItemIndicator,{children:o.jsx(p.Circle,{className:"h-2 w-2 fill-current"})})}),t]}));ie.displayName=i.RadioItem.displayName;const le=r.forwardRef(({className:e,inset:t,...a},n)=>o.jsx(i.Label,{ref:n,className:s("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...a}));le.displayName=i.Label.displayName;const de=r.forwardRef(({className:e,...t},a)=>o.jsx(i.Separator,{ref:a,className:s("-mx-1 my-1 h-px bg-muted",e),...t}));de.displayName=i.Separator.displayName;const ce=({className:e,...t})=>o.jsx("span",{className:s("ml-auto text-xs tracking-widest opacity-60",e),...t});ce.displayName="DropdownMenuShortcut";const ct=m.Root,mt=m.Trigger,me=m.Portal,pt=m.Close,C=r.forwardRef(({className:e,...t},a)=>o.jsx(m.Overlay,{ref:a,className:s("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));C.displayName=m.Overlay.displayName;const pe=r.forwardRef(({className:e,children:t,classNameOverlay:a,classNameClose:n,...d},N)=>o.jsxs(me,{children:[o.jsx(C,{className:a}),o.jsxs(m.Content,{ref:N,className:s("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg 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%] sm:rounded-lg",e),...d,children:[t,o.jsxs(m.Close,{className:"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-accent data-[state=open]:text-muted-foreground",children:[o.jsx(y.Cross2Icon,{className:"h-4 w-4"}),o.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));pe.displayName=m.Content.displayName;const ue=({className:e,...t})=>o.jsx("div",{className:s("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});ue.displayName="DialogHeader";const fe=({className:e,...t})=>o.jsx("div",{className:s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});fe.displayName="DialogFooter";const ge=r.forwardRef(({className:e,...t},a)=>o.jsx(m.Title,{ref:a,className:s("text-lg font-semibold leading-none tracking-tight",e),...t}));ge.displayName=m.Title.displayName;const xe=r.forwardRef(({className:e,...t},a)=>o.jsx(m.Description,{ref:a,className:s("text-sm text-muted-foreground",e),...t}));xe.displayName=m.Description.displayName;const ut=c.Root,ft=c.Trigger,be=c.Portal,P=r.forwardRef(({className:e,...t},a)=>o.jsx(c.Overlay,{className:s("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:a}));P.displayName=c.Overlay.displayName;const he=r.forwardRef(({className:e,...t},a)=>o.jsxs(be,{children:[o.jsx(P,{}),o.jsx(c.Content,{ref:a,className:s("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg 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%] sm:rounded-lg",e),...t})]}));he.displayName=c.Content.displayName;const ye=({className:e,...t})=>o.jsx("div",{className:s("flex flex-col space-y-2 text-center sm:text-left",e),...t});ye.displayName="AlertDialogHeader";const we=({className:e,...t})=>o.jsx("div",{className:s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});we.displayName="AlertDialogFooter";const Ne=r.forwardRef(({className:e,...t},a)=>o.jsx(c.Title,{ref:a,className:s("text-lg font-semibold",e),...t}));Ne.displayName=c.Title.displayName;const ve=r.forwardRef(({className:e,...t},a)=>o.jsx(c.Description,{ref:a,className:s("text-sm text-muted-foreground",e),...t}));ve.displayName=c.Description.displayName;const je=r.forwardRef(({className:e,...t},a)=>o.jsx(c.Action,{ref:a,className:s(g(),e),...t}));je.displayName=c.Action.displayName;const De=r.forwardRef(({className:e,...t},a)=>o.jsx(c.Cancel,{ref:a,className:s(g({variant:"outline"}),"mt-0",e),...t}));De.displayName=c.Cancel.displayName;const Re=({className:e,...t})=>o.jsx("nav",{role:"navigation","aria-label":"pagination",className:s("mx-auto flex w-full justify-center",e),...t});Re.displayName="Pagination";const Ce=r.forwardRef(({className:e,...t},a)=>o.jsx("ul",{ref:a,className:s("flex flex-row items-center gap-1",e),...t}));Ce.displayName="PaginationContent";const Pe=r.forwardRef(({className:e,...t},a)=>o.jsx("li",{ref:a,className:s("",e),...t}));Pe.displayName="PaginationItem";const w=({className:e,isActive:t,size:a="icon",...n})=>o.jsx("a",{"aria-current":t?"page":void 0,className:s(g({variant:t?"outline":"ghost",size:a}),e),...n});w.displayName="PaginationLink";const Te=({className:e,...t})=>o.jsx(w,{"aria-label":"Go to previous page",size:"default",className:s("gap-1 pl-2.5",e),...t,children:o.jsx(y.ChevronLeftIcon,{className:"h-4 w-4"})});Te.displayName="PaginationPrevious";const Se=({className:e,...t})=>o.jsx(w,{"aria-label":"Go to next page",size:"default",className:s("gap-1 pr-2.5",e),...t,children:o.jsx(y.ChevronRightIcon,{className:"h-4 w-4"})});Se.displayName="PaginationNext";const ke=({className:e,...t})=>o.jsxs("span",{"aria-hidden":!0,className:s("flex h-9 w-9 items-center justify-center",e),...t,children:[o.jsx(y.DotsHorizontalIcon,{className:"h-4 w-4"}),o.jsx("span",{className:"sr-only",children:"More pages"})]});ke.displayName="PaginationEllipsis";exports.Accordion=Qe;exports.AccordionContent=z;exports.AccordionItem=I;exports.AccordionTrigger=M;exports.AlertDialog=ut;exports.AlertDialogAction=je;exports.AlertDialogCancel=De;exports.AlertDialogContent=he;exports.AlertDialogDescription=ve;exports.AlertDialogFooter=we;exports.AlertDialogHeader=ye;exports.AlertDialogOverlay=P;exports.AlertDialogPortal=be;exports.AlertDialogTitle=Ne;exports.AlertDialogTrigger=ft;exports.Avatar=S;exports.AvatarFallback=A;exports.AvatarImage=k;exports.Badge=Xe;exports.Button=_;exports.Calendar=q;exports.Checkbox=L;exports.Dialog=ct;exports.DialogClose=pt;exports.DialogContent=pe;exports.DialogDescription=xe;exports.DialogFooter=fe;exports.DialogHeader=ue;exports.DialogOverlay=C;exports.DialogPortal=me;exports.DialogTitle=ge;exports.DialogTrigger=mt;exports.DropdownMenu=st;exports.DropdownMenuCheckboxItem=ne;exports.DropdownMenuContent=se;exports.DropdownMenuGroup=nt;exports.DropdownMenuItem=re;exports.DropdownMenuLabel=le;exports.DropdownMenuPortal=it;exports.DropdownMenuRadioGroup=dt;exports.DropdownMenuRadioItem=ie;exports.DropdownMenuSeparator=de;exports.DropdownMenuShortcut=ce;exports.DropdownMenuSub=lt;exports.DropdownMenuSubContent=oe;exports.DropdownMenuSubTrigger=ae;exports.DropdownMenuTrigger=rt;exports.Input=B;exports.Label=H;exports.Pagination=Re;exports.PaginationContent=Ce;exports.PaginationEllipsis=ke;exports.PaginationItem=Pe;exports.PaginationLink=w;exports.PaginationNext=Se;exports.PaginationPrevious=Te;exports.Popover=at;exports.PopoverContent=J;exports.PopoverTrigger=ot;exports.Select=$e;exports.SelectContent=F;exports.SelectGroup=et;exports.SelectItem=V;exports.SelectLabel=G;exports.SelectScrollDownButton=R;exports.SelectScrollUpButton=D;exports.SelectSeparator=U;exports.SelectTrigger=O;exports.SelectValue=tt;exports.Switch=K;exports.Table=Q;exports.TableBody=X;exports.TableCaption=te;exports.TableCell=ee;exports.TableFooter=Y;exports.TableHead=$;exports.TableHeader=W;exports.TableRow=Z;exports.Textarea=E;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),Ie=require("react"),Me=require("@radix-ui/react-avatar"),ze=require("clsx"),qe=require("tailwind-merge"),Le=require("@radix-ui/react-slot"),h=require("class-variance-authority"),Be=require("@radix-ui/react-accordion"),u=require("lucide-react"),He=require("react-day-picker"),Oe=require("date-fns/locale"),Fe=require("@radix-ui/react-checkbox"),Ge=require("@radix-ui/react-label"),Ve=require("@radix-ui/react-select"),Ue=require("@radix-ui/react-popover"),Ee=require("@radix-ui/react-switch"),Je=require("@radix-ui/react-dropdown-menu"),Ke=require("@radix-ui/react-dialog"),y=require("@radix-ui/react-icons"),Qe=require("@radix-ui/react-alert-dialog");function p(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const a in e)if(a!=="default"){const n=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(t,a,n.get?n:{enumerable:!0,get:()=>e[a]})}}return t.default=e,Object.freeze(t)}const r=p(Ie),x=p(Me),f=p(Be),j=p(Fe),S=p(Ge),l=p(Ve),b=p(Ue),D=p(Ee),i=p(Je),m=p(Ke),c=p(Qe);function s(...e){return qe.twMerge(ze.clsx(e))}const k=r.forwardRef(({className:e,...t},a)=>o.jsx(x.Root,{ref:a,className:s("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",e),...t}));k.displayName=x.Root.displayName;const A=r.forwardRef(({className:e,...t},a)=>o.jsx(x.Image,{ref:a,className:s("aspect-square h-full w-full",e),...t}));A.displayName=x.Image.displayName;const _=r.forwardRef(({className:e,...t},a)=>o.jsx(x.Fallback,{ref:a,className:s("flex h-full w-full items-center justify-center rounded-full bg-muted",e),...t}));_.displayName=x.Fallback.displayName;const g=h.cva("inline-flex items-center gap-1 justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-white shadow hover:opacity-70",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline",success:"bg-success-regular text-white shadow-sm hover:opacity-70",danger:"bg-danger-regular text-white shadow-sm hover:opacity-70",warning:"bg-warning-regular text-white shadow-sm hover:opacity-70"},size:{default:"h-[2.5rem] px-2 py-2",sm:"h-[2rem] rounded-md px-3 text-xs",lg:"h-[2.5rem] rounded-md px-8",icon:"h-[2.25rem] w-[2.25rem]"}},defaultVariants:{variant:"default",size:"default"}}),I=r.forwardRef(({className:e,variant:t,size:a,asChild:n=!1,...d},N)=>{const v=n?Le.Slot:"button";return o.jsx(v,{className:s(g({variant:t,size:a,className:e})),ref:N,...d})});I.displayName="Button";const We=f.Root,M=r.forwardRef(({className:e,...t},a)=>o.jsx(f.Item,{ref:a,className:s("border-b",e),...t}));M.displayName="AccordionItem";const z=r.forwardRef(({className:e,children:t,...a},n)=>o.jsx(f.Header,{className:"flex",children:o.jsxs(f.Trigger,{ref:n,className:s("flex flex-1 items-center justify-between py-4 font-medium transition-all [&[data-state=open]>svg]:rotate-180",e),...a,children:[t,o.jsx(u.ChevronDown,{className:"h-4 w-4 shrink-0 transition-transform duration-200"})]})}));z.displayName=f.Trigger.displayName;const q=r.forwardRef(({className:e,children:t,...a},n)=>o.jsx(f.Content,{ref:n,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...a,children:o.jsx("div",{className:s("pb-4 pt-0",e),children:t})}));q.displayName=f.Content.displayName;const Xe=h.cva("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function Ye({className:e,variant:t,...a}){return o.jsx("div",{className:s(Xe({variant:t}),e),...a})}function L({className:e,classNames:t,showOutsideDays:a=!0,...n}){return o.jsx(He.DayPicker,{locale:Oe.es,showOutsideDays:a,className:s("p-3 bg-white border-none",e),classNames:{months:"flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0",month:"space-y-4",caption:"flex justify-center pt-1 relative items-center",caption_label:"text-sm font-medium",nav:"space-x-1 flex items-center",nav_button:s(g({variant:"outline"}),"h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100"),nav_button_previous:"absolute left-1",nav_button_next:"absolute right-1",table:"w-full border-collapse space-y-1",head_row:"flex",head_cell:"text-muted-foreground rounded-md w-9 font-normal text-[0.8rem]",row:"flex w-full mt-2",cell:"h-9 w-9 text-center text-sm p-0 relative [&:has([aria-selected].day-range-end)]:rounded-r-md [&:has([aria-selected].day-outside)]:bg-accent/50 [&:has([aria-selected])]:bg-accent first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md focus-within:relative focus-within:z-20",day:s(g({variant:"ghost"}),"h-9 w-9 p-0 font-normal aria-selected:opacity-100"),day_range_end:"day-range-end",day_selected:"bg-primary text-white hover:bg-primary hover:text-white focus:bg-primary focus:text-white",day_today:"bg-accent text-accent-foreground",day_outside:"day-outside text-muted-foreground aria-selected:bg-accent/50 aria-selected:text-muted-foreground",day_disabled:"text-muted-foreground opacity-50",day_range_middle:"aria-selected:bg-accent aria-selected:text-accent-foreground",day_hidden:"invisible",...t},components:{IconLeft:({...d})=>o.jsx(u.ChevronLeft,{className:"h-4 w-4"}),IconRight:({...d})=>o.jsx(u.ChevronRight,{className:"h-4 w-4"})},...n})}L.displayName="Calendar";const B=r.forwardRef(({className:e,...t},a)=>o.jsx(j.Root,{ref:a,className:s("peer h-4 w-4 shrink-0 rounded-sm border-[0.5px] border-black-light ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-white data-[state=checked]:text-primary-foreground",e),...t,children:o.jsx(j.Indicator,{className:s("flex items-center justify-center text-current"),children:o.jsx(u.Check,{className:"h-4 w-4"})})}));B.displayName=j.Root.displayName;const Ze=h.cva("flex h-8 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-0 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",{variants:{variant:{ghost:"bg-white/10 border-zinc-300 text-white font-medium"}}}),H=r.forwardRef(({className:e,variant:t,type:a,...n},d)=>o.jsx("input",{type:a,className:s(Ze({variant:t,className:e})),ref:d,...n}));H.displayName="Input";const $e=h.cva("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),O=r.forwardRef(({className:e,...t},a)=>o.jsx(S.Root,{ref:a,className:s($e(),e),...t}));O.displayName=S.Root.displayName;const et=l.Root,tt=l.Group,at=l.Value,F=r.forwardRef(({className:e,children:t,...a},n)=>o.jsxs(l.Trigger,{ref:n,className:s("flex h-[2.5rem] w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",e),...a,children:[t,o.jsx(l.Icon,{asChild:!0,children:o.jsx(u.ChevronDown,{className:"h-4 w-4 opacity-50"})})]}));F.displayName=l.Trigger.displayName;const R=r.forwardRef(({className:e,...t},a)=>o.jsx(l.ScrollUpButton,{ref:a,className:s("flex cursor-default items-center justify-center py-1",e),...t,children:o.jsx(u.ChevronUp,{className:"h-4 w-4"})}));R.displayName=l.ScrollUpButton.displayName;const C=r.forwardRef(({className:e,...t},a)=>o.jsx(l.ScrollDownButton,{ref:a,className:s("flex cursor-default items-center justify-center py-1",e),...t,children:o.jsx(u.ChevronDown,{className:"h-4 w-4"})}));C.displayName=l.ScrollDownButton.displayName;const G=r.forwardRef(({className:e,children:t,position:a="popper",...n},d)=>o.jsx(l.Portal,{children:o.jsxs(l.Content,{ref:d,className:s("relative z-50 max-h-[24rem] min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md 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-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:a,...n,children:[o.jsx(R,{}),o.jsx(l.Viewport,{className:s("p-1",a==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),o.jsx(C,{})]})}));G.displayName=l.Content.displayName;const V=r.forwardRef(({className:e,...t},a)=>o.jsx(l.Label,{ref:a,className:s("py-1.5 pl-8 pr-2 text-sm font-semibold",e),...t}));V.displayName=l.Label.displayName;const U=r.forwardRef(({className:e,children:t,...a},n)=>o.jsxs(l.Item,{ref:n,className:s("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...a,children:[o.jsx("span",{className:"absolute left-2 flex h-[0.875rem] w-[0.875rem] items-center justify-center",children:o.jsx(l.ItemIndicator,{children:o.jsx(u.Check,{className:"h-4 w-4"})})}),o.jsx(l.ItemText,{children:t})]}));U.displayName=l.Item.displayName;const E=r.forwardRef(({className:e,...t},a)=>o.jsx(l.Separator,{ref:a,className:s("-mx-1 my-1 h-px bg-muted",e),...t}));E.displayName=l.Separator.displayName;const J=r.forwardRef(({className:e,...t},a)=>o.jsx("textarea",{className:s("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:a,...t}));J.displayName="Textarea";const ot=b.Root,st=b.Trigger,K=r.forwardRef(({className:e,align:t="center",sideOffset:a=4,...n},d)=>o.jsx(b.Portal,{children:o.jsx(b.Content,{ref:d,align:t,sideOffset:a,className:s("z-50 w-72 rounded-md border border-black-light bg-popover p-4 text-popover-foreground shadow-md outline-none 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-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n})}));K.displayName=b.Content.displayName;const Q=r.forwardRef(({className:e,...t},a)=>o.jsx(D.Root,{className:s("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-silver transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-white data-[state=unchecked]:bg-white",e),...t,ref:a,children:o.jsx(D.Thumb,{className:s("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:bg-black-light data-[state=checked]:bg-primary data-[state=unchecked]:translate-x-0")})}));Q.displayName=D.Root.displayName;const W=r.forwardRef(({className:e,...t},a)=>o.jsx("div",{className:"relative w-full overflow-auto",children:o.jsx("table",{ref:a,className:s("w-full caption-bottom text-sm",e),...t})}));W.displayName="Table";const X=r.forwardRef(({className:e,...t},a)=>o.jsx("thead",{ref:a,className:s("[&_tr]:border-b",e),...t}));X.displayName="TableHeader";const Y=r.forwardRef(({className:e,...t},a)=>o.jsx("tbody",{ref:a,className:s("[&_tr:last-child]:border-0",e),...t}));Y.displayName="TableBody";const Z=r.forwardRef(({className:e,...t},a)=>o.jsx("tfoot",{ref:a,className:s("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",e),...t}));Z.displayName="TableFooter";const $=r.forwardRef(({className:e,...t},a)=>o.jsx("tr",{ref:a,className:s("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",e),...t}));$.displayName="TableRow";const ee=r.forwardRef(({className:e,...t},a)=>o.jsx("th",{ref:a,className:s("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",e),...t}));ee.displayName="TableHead";const te=r.forwardRef(({className:e,...t},a)=>o.jsx("td",{ref:a,className:s("p-4 align-middle [&:has([role=checkbox])]:pr-0",e),...t}));te.displayName="TableCell";const ae=r.forwardRef(({className:e,...t},a)=>o.jsx("caption",{ref:a,className:s("mt-4 text-sm text-muted-foreground",e),...t}));ae.displayName="TableCaption";const rt=i.Root,nt=i.Trigger,it=i.Group,lt=i.Portal,dt=i.Sub,ct=i.RadioGroup,oe=r.forwardRef(({className:e,inset:t,children:a,...n},d)=>o.jsxs(i.SubTrigger,{ref:d,className:s("flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",t&&"pl-8",e),...n,children:[a,o.jsx(u.ChevronRight,{className:"ml-auto"})]}));oe.displayName=i.SubTrigger.displayName;const se=r.forwardRef(({className:e,...t},a)=>o.jsx(i.SubContent,{ref:a,className:s("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg 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-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));se.displayName=i.SubContent.displayName;const re=r.forwardRef(({className:e,sideOffset:t=4,...a},n)=>o.jsx(i.Portal,{children:o.jsx(i.Content,{ref:n,sideOffset:t,className:s("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md 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-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...a})}));re.displayName=i.Content.displayName;const ne=r.forwardRef(({className:e,inset:t,...a},n)=>o.jsx(i.Item,{ref:n,className:s("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",t&&"pl-8",e),...a}));ne.displayName=i.Item.displayName;const ie=r.forwardRef(({className:e,children:t,checked:a,...n},d)=>o.jsxs(i.CheckboxItem,{ref:d,className:s("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:a,...n,children:[o.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:o.jsx(i.ItemIndicator,{children:o.jsx(u.Check,{className:"h-4 w-4"})})}),t]}));ie.displayName=i.CheckboxItem.displayName;const le=r.forwardRef(({className:e,children:t,...a},n)=>o.jsxs(i.RadioItem,{ref:n,className:s("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...a,children:[o.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:o.jsx(i.ItemIndicator,{children:o.jsx(u.Circle,{className:"h-2 w-2 fill-current"})})}),t]}));le.displayName=i.RadioItem.displayName;const de=r.forwardRef(({className:e,inset:t,...a},n)=>o.jsx(i.Label,{ref:n,className:s("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...a}));de.displayName=i.Label.displayName;const ce=r.forwardRef(({className:e,...t},a)=>o.jsx(i.Separator,{ref:a,className:s("-mx-1 my-1 h-px bg-muted",e),...t}));ce.displayName=i.Separator.displayName;const me=({className:e,...t})=>o.jsx("span",{className:s("ml-auto text-xs tracking-widest opacity-60",e),...t});me.displayName="DropdownMenuShortcut";const mt=m.Root,ut=m.Trigger,ue=m.Portal,pt=m.Close,P=r.forwardRef(({className:e,...t},a)=>o.jsx(m.Overlay,{ref:a,className:s("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));P.displayName=m.Overlay.displayName;const pe=r.forwardRef(({className:e,children:t,classNameOverlay:a,classNameClose:n,classNameIcon:d,isButtonClose:N=!0,...v},_e)=>o.jsxs(ue,{children:[o.jsx(P,{forceMount:!0,className:a}),o.jsxs(m.Content,{ref:_e,className:s("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg 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%] sm:rounded-lg",e),...v,children:[t,N&&o.jsxs(m.Close,{className:s("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-accent data-[state=open]:text-muted-foreground",n),children:[o.jsx(y.Cross2Icon,{className:s("h-4 w-4",d)}),o.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));pe.displayName=m.Content.displayName;const fe=({className:e,...t})=>o.jsx("div",{className:s("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});fe.displayName="DialogHeader";const ge=({className:e,...t})=>o.jsx("div",{className:s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});ge.displayName="DialogFooter";const xe=r.forwardRef(({className:e,...t},a)=>o.jsx(m.Title,{ref:a,className:s("text-lg font-semibold leading-none tracking-tight",e),...t}));xe.displayName=m.Title.displayName;const be=r.forwardRef(({className:e,...t},a)=>o.jsx(m.Description,{ref:a,className:s("text-sm text-muted-foreground",e),...t}));be.displayName=m.Description.displayName;const ft=c.Root,gt=c.Trigger,he=c.Portal,T=r.forwardRef(({className:e,...t},a)=>o.jsx(c.Overlay,{className:s("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:a}));T.displayName=c.Overlay.displayName;const ye=r.forwardRef(({className:e,...t},a)=>o.jsxs(he,{children:[o.jsx(T,{}),o.jsx(c.Content,{ref:a,className:s("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg 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%] sm:rounded-lg",e),...t})]}));ye.displayName=c.Content.displayName;const we=({className:e,...t})=>o.jsx("div",{className:s("flex flex-col space-y-2 text-center sm:text-left",e),...t});we.displayName="AlertDialogHeader";const Ne=({className:e,...t})=>o.jsx("div",{className:s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});Ne.displayName="AlertDialogFooter";const ve=r.forwardRef(({className:e,...t},a)=>o.jsx(c.Title,{ref:a,className:s("text-lg font-semibold",e),...t}));ve.displayName=c.Title.displayName;const je=r.forwardRef(({className:e,...t},a)=>o.jsx(c.Description,{ref:a,className:s("text-sm text-muted-foreground",e),...t}));je.displayName=c.Description.displayName;const De=r.forwardRef(({className:e,...t},a)=>o.jsx(c.Action,{ref:a,className:s(g(),e),...t}));De.displayName=c.Action.displayName;const Re=r.forwardRef(({className:e,...t},a)=>o.jsx(c.Cancel,{ref:a,className:s(g({variant:"outline"}),"mt-0",e),...t}));Re.displayName=c.Cancel.displayName;const Ce=({className:e,...t})=>o.jsx("nav",{role:"navigation","aria-label":"pagination",className:s("mx-auto flex w-full justify-center",e),...t});Ce.displayName="Pagination";const Pe=r.forwardRef(({className:e,...t},a)=>o.jsx("ul",{ref:a,className:s("flex flex-row items-center gap-1",e),...t}));Pe.displayName="PaginationContent";const Te=r.forwardRef(({className:e,...t},a)=>o.jsx("li",{ref:a,className:s("",e),...t}));Te.displayName="PaginationItem";const w=({className:e,isActive:t,size:a="icon",...n})=>o.jsx("a",{"aria-current":t?"page":void 0,className:s(g({variant:t?"outline":"ghost",size:a}),e),...n});w.displayName="PaginationLink";const Se=({className:e,...t})=>o.jsx(w,{"aria-label":"Go to previous page",size:"default",className:s("gap-1 pl-2.5",e),...t,children:o.jsx(y.ChevronLeftIcon,{className:"h-4 w-4"})});Se.displayName="PaginationPrevious";const ke=({className:e,...t})=>o.jsx(w,{"aria-label":"Go to next page",size:"default",className:s("gap-1 pr-2.5",e),...t,children:o.jsx(y.ChevronRightIcon,{className:"h-4 w-4"})});ke.displayName="PaginationNext";const Ae=({className:e,...t})=>o.jsxs("span",{"aria-hidden":!0,className:s("flex h-9 w-9 items-center justify-center",e),...t,children:[o.jsx(y.DotsHorizontalIcon,{className:"h-4 w-4"}),o.jsx("span",{className:"sr-only",children:"More pages"})]});Ae.displayName="PaginationEllipsis";exports.Accordion=We;exports.AccordionContent=q;exports.AccordionItem=M;exports.AccordionTrigger=z;exports.AlertDialog=ft;exports.AlertDialogAction=De;exports.AlertDialogCancel=Re;exports.AlertDialogContent=ye;exports.AlertDialogDescription=je;exports.AlertDialogFooter=Ne;exports.AlertDialogHeader=we;exports.AlertDialogOverlay=T;exports.AlertDialogPortal=he;exports.AlertDialogTitle=ve;exports.AlertDialogTrigger=gt;exports.Avatar=k;exports.AvatarFallback=_;exports.AvatarImage=A;exports.Badge=Ye;exports.Button=I;exports.Calendar=L;exports.Checkbox=B;exports.Dialog=mt;exports.DialogClose=pt;exports.DialogContent=pe;exports.DialogDescription=be;exports.DialogFooter=ge;exports.DialogHeader=fe;exports.DialogOverlay=P;exports.DialogPortal=ue;exports.DialogTitle=xe;exports.DialogTrigger=ut;exports.DropdownMenu=rt;exports.DropdownMenuCheckboxItem=ie;exports.DropdownMenuContent=re;exports.DropdownMenuGroup=it;exports.DropdownMenuItem=ne;exports.DropdownMenuLabel=de;exports.DropdownMenuPortal=lt;exports.DropdownMenuRadioGroup=ct;exports.DropdownMenuRadioItem=le;exports.DropdownMenuSeparator=ce;exports.DropdownMenuShortcut=me;exports.DropdownMenuSub=dt;exports.DropdownMenuSubContent=se;exports.DropdownMenuSubTrigger=oe;exports.DropdownMenuTrigger=nt;exports.Input=H;exports.Label=O;exports.Pagination=Ce;exports.PaginationContent=Pe;exports.PaginationEllipsis=Ae;exports.PaginationItem=Te;exports.PaginationLink=w;exports.PaginationNext=ke;exports.PaginationPrevious=Se;exports.Popover=ot;exports.PopoverContent=K;exports.PopoverTrigger=st;exports.Select=et;exports.SelectContent=G;exports.SelectGroup=tt;exports.SelectItem=U;exports.SelectLabel=V;exports.SelectScrollDownButton=C;exports.SelectScrollUpButton=R;exports.SelectSeparator=E;exports.SelectTrigger=F;exports.SelectValue=at;exports.Switch=Q;exports.Table=W;exports.TableBody=Y;exports.TableCaption=ae;exports.TableCell=te;exports.TableFooter=Z;exports.TableHead=ee;exports.TableHeader=X;exports.TableRow=$;exports.Textarea=J;
package/dist/imj-ui.es.js CHANGED
@@ -1,27 +1,27 @@
1
1
  import { jsx as o, jsxs as f } from "react/jsx-runtime";
2
2
  import * as s from "react";
3
3
  import * as g from "@radix-ui/react-avatar";
4
- import { clsx as S } from "clsx";
5
- import { twMerge as z } from "tailwind-merge";
6
- import { Slot as A } from "@radix-ui/react-slot";
4
+ import { clsx as A } from "clsx";
5
+ import { twMerge as _ } from "tailwind-merge";
6
+ import { Slot as M } from "@radix-ui/react-slot";
7
7
  import { cva as h } from "class-variance-authority";
8
8
  import * as p from "@radix-ui/react-accordion";
9
- import { ChevronDown as x, ChevronRight as D, ChevronLeft as _, Check as v, ChevronUp as M, Circle as j } from "lucide-react";
10
- import { DayPicker as L } from "react-day-picker";
11
- import { es as B } from "date-fns/locale";
9
+ import { ChevronDown as x, ChevronRight as C, ChevronLeft as j, Check as v, ChevronUp as L, Circle as B } from "lucide-react";
10
+ import { DayPicker as H } from "react-day-picker";
11
+ import { es as F } from "date-fns/locale";
12
12
  import * as N from "@radix-ui/react-checkbox";
13
- import * as C from "@radix-ui/react-label";
13
+ import * as k from "@radix-ui/react-label";
14
14
  import * as d from "@radix-ui/react-select";
15
15
  import * as b from "@radix-ui/react-popover";
16
16
  import * as w from "@radix-ui/react-switch";
17
17
  import * as i from "@radix-ui/react-dropdown-menu";
18
18
  import * as m from "@radix-ui/react-dialog";
19
- import { Cross2Icon as H, ChevronLeftIcon as F, ChevronRightIcon as V, DotsHorizontalIcon as G } from "@radix-ui/react-icons";
19
+ import { Cross2Icon as V, ChevronLeftIcon as G, ChevronRightIcon as O, DotsHorizontalIcon as U } from "@radix-ui/react-icons";
20
20
  import * as c from "@radix-ui/react-alert-dialog";
21
21
  function r(...e) {
22
- return z(S(e));
22
+ return _(A(e));
23
23
  }
24
- const O = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
24
+ const E = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
25
25
  g.Root,
26
26
  {
27
27
  ref: t,
@@ -29,8 +29,8 @@ const O = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
29
29
  ...a
30
30
  }
31
31
  ));
32
- O.displayName = g.Root.displayName;
33
- const U = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
32
+ E.displayName = g.Root.displayName;
33
+ const q = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
34
34
  g.Image,
35
35
  {
36
36
  ref: t,
@@ -38,8 +38,8 @@ const U = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
38
38
  ...a
39
39
  }
40
40
  ));
41
- U.displayName = g.Image.displayName;
42
- const E = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
41
+ q.displayName = g.Image.displayName;
42
+ const J = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
43
43
  g.Fallback,
44
44
  {
45
45
  ref: t,
@@ -50,7 +50,7 @@ const E = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
50
50
  ...a
51
51
  }
52
52
  ));
53
- E.displayName = g.Fallback.displayName;
53
+ J.displayName = g.Fallback.displayName;
54
54
  const u = h(
55
55
  "inline-flex items-center gap-1 justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",
56
56
  {
@@ -78,9 +78,9 @@ const u = h(
78
78
  size: "default"
79
79
  }
80
80
  }
81
- ), q = s.forwardRef(
81
+ ), K = s.forwardRef(
82
82
  ({ className: e, variant: a, size: t, asChild: n = !1, ...l }, y) => /* @__PURE__ */ o(
83
- n ? A : "button",
83
+ n ? M : "button",
84
84
  {
85
85
  className: r(u({ variant: a, size: t, className: e })),
86
86
  ref: y,
@@ -88,10 +88,10 @@ const u = h(
88
88
  }
89
89
  )
90
90
  );
91
- q.displayName = "Button";
92
- const oa = p.Root, J = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(p.Item, { ref: t, className: r("border-b", e), ...a }));
93
- J.displayName = "AccordionItem";
94
- const K = s.forwardRef(({ className: e, children: a, ...t }, n) => /* @__PURE__ */ o(p.Header, { className: "flex", children: /* @__PURE__ */ f(
91
+ K.displayName = "Button";
92
+ const ra = p.Root, Q = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(p.Item, { ref: t, className: r("border-b", e), ...a }));
93
+ Q.displayName = "AccordionItem";
94
+ const W = s.forwardRef(({ className: e, children: a, ...t }, n) => /* @__PURE__ */ o(p.Header, { className: "flex", children: /* @__PURE__ */ f(
95
95
  p.Trigger,
96
96
  {
97
97
  ref: n,
@@ -106,8 +106,8 @@ const K = s.forwardRef(({ className: e, children: a, ...t }, n) => /* @__PURE__
106
106
  ]
107
107
  }
108
108
  ) }));
109
- K.displayName = p.Trigger.displayName;
110
- const Q = s.forwardRef(({ className: e, children: a, ...t }, n) => /* @__PURE__ */ o(
109
+ W.displayName = p.Trigger.displayName;
110
+ const X = s.forwardRef(({ className: e, children: a, ...t }, n) => /* @__PURE__ */ o(
111
111
  p.Content,
112
112
  {
113
113
  ref: n,
@@ -116,8 +116,8 @@ const Q = s.forwardRef(({ className: e, children: a, ...t }, n) => /* @__PURE__
116
116
  children: /* @__PURE__ */ o("div", { className: r("pb-4 pt-0", e), children: a })
117
117
  }
118
118
  ));
119
- Q.displayName = p.Content.displayName;
120
- const W = h(
119
+ X.displayName = p.Content.displayName;
120
+ const Y = h(
121
121
  "inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
122
122
  {
123
123
  variants: {
@@ -133,14 +133,14 @@ const W = h(
133
133
  }
134
134
  }
135
135
  );
136
- function ra({ className: e, variant: a, ...t }) {
137
- return /* @__PURE__ */ o("div", { className: r(W({ variant: a }), e), ...t });
136
+ function sa({ className: e, variant: a, ...t }) {
137
+ return /* @__PURE__ */ o("div", { className: r(Y({ variant: a }), e), ...t });
138
138
  }
139
- function X({ className: e, classNames: a, showOutsideDays: t = !0, ...n }) {
139
+ function Z({ className: e, classNames: a, showOutsideDays: t = !0, ...n }) {
140
140
  return /* @__PURE__ */ o(
141
- L,
141
+ H,
142
142
  {
143
- locale: B,
143
+ locale: F,
144
144
  showOutsideDays: t,
145
145
  className: r("p-3 bg-white border-none", e),
146
146
  classNames: {
@@ -174,15 +174,15 @@ function X({ className: e, classNames: a, showOutsideDays: t = !0, ...n }) {
174
174
  ...a
175
175
  },
176
176
  components: {
177
- IconLeft: ({ ...l }) => /* @__PURE__ */ o(_, { className: "h-4 w-4" }),
178
- IconRight: ({ ...l }) => /* @__PURE__ */ o(D, { className: "h-4 w-4" })
177
+ IconLeft: ({ ...l }) => /* @__PURE__ */ o(j, { className: "h-4 w-4" }),
178
+ IconRight: ({ ...l }) => /* @__PURE__ */ o(C, { className: "h-4 w-4" })
179
179
  },
180
180
  ...n
181
181
  }
182
182
  );
183
183
  }
184
- X.displayName = "Calendar";
185
- const Y = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
184
+ Z.displayName = "Calendar";
185
+ const $ = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
186
186
  N.Root,
187
187
  {
188
188
  ref: t,
@@ -200,8 +200,8 @@ const Y = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
200
200
  )
201
201
  }
202
202
  ));
203
- Y.displayName = N.Root.displayName;
204
- const Z = h(
203
+ $.displayName = N.Root.displayName;
204
+ const ee = h(
205
205
  "flex h-8 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-0 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",
206
206
  {
207
207
  variants: {
@@ -210,23 +210,23 @@ const Z = h(
210
210
  }
211
211
  }
212
212
  }
213
- ), $ = s.forwardRef(
213
+ ), ae = s.forwardRef(
214
214
  ({ className: e, variant: a, type: t, ...n }, l) => /* @__PURE__ */ o(
215
215
  "input",
216
216
  {
217
217
  type: t,
218
- className: r(Z({ variant: a, className: e })),
218
+ className: r(ee({ variant: a, className: e })),
219
219
  ref: l,
220
220
  ...n
221
221
  }
222
222
  )
223
223
  );
224
- $.displayName = "Input";
225
- const ee = h(
224
+ ae.displayName = "Input";
225
+ const te = h(
226
226
  "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
227
- ), ae = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(C.Root, { ref: t, className: r(ee(), e), ...a }));
228
- ae.displayName = C.Root.displayName;
229
- const sa = d.Root, na = d.Group, ia = d.Value, te = s.forwardRef(({ className: e, children: a, ...t }, n) => /* @__PURE__ */ f(
227
+ ), oe = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(k.Root, { ref: t, className: r(te(), e), ...a }));
228
+ oe.displayName = k.Root.displayName;
229
+ const na = d.Root, ia = d.Group, da = d.Value, re = s.forwardRef(({ className: e, children: a, ...t }, n) => /* @__PURE__ */ f(
230
230
  d.Trigger,
231
231
  {
232
232
  ref: n,
@@ -241,18 +241,18 @@ const sa = d.Root, na = d.Group, ia = d.Value, te = s.forwardRef(({ className: e
241
241
  ]
242
242
  }
243
243
  ));
244
- te.displayName = d.Trigger.displayName;
245
- const k = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
244
+ re.displayName = d.Trigger.displayName;
245
+ const T = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
246
246
  d.ScrollUpButton,
247
247
  {
248
248
  ref: t,
249
249
  className: r("flex cursor-default items-center justify-center py-1", e),
250
250
  ...a,
251
- children: /* @__PURE__ */ o(M, { className: "h-4 w-4" })
251
+ children: /* @__PURE__ */ o(L, { className: "h-4 w-4" })
252
252
  }
253
253
  ));
254
- k.displayName = d.ScrollUpButton.displayName;
255
- const T = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
254
+ T.displayName = d.ScrollUpButton.displayName;
255
+ const P = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
256
256
  d.ScrollDownButton,
257
257
  {
258
258
  ref: t,
@@ -261,8 +261,8 @@ const T = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
261
261
  children: /* @__PURE__ */ o(x, { className: "h-4 w-4" })
262
262
  }
263
263
  ));
264
- T.displayName = d.ScrollDownButton.displayName;
265
- const oe = s.forwardRef(({ className: e, children: a, position: t = "popper", ...n }, l) => /* @__PURE__ */ o(d.Portal, { children: /* @__PURE__ */ f(
264
+ P.displayName = d.ScrollDownButton.displayName;
265
+ const se = s.forwardRef(({ className: e, children: a, position: t = "popper", ...n }, l) => /* @__PURE__ */ o(d.Portal, { children: /* @__PURE__ */ f(
266
266
  d.Content,
267
267
  {
268
268
  ref: l,
@@ -274,7 +274,7 @@ const oe = s.forwardRef(({ className: e, children: a, position: t = "popper", ..
274
274
  position: t,
275
275
  ...n,
276
276
  children: [
277
- /* @__PURE__ */ o(k, {}),
277
+ /* @__PURE__ */ o(T, {}),
278
278
  /* @__PURE__ */ o(
279
279
  d.Viewport,
280
280
  {
@@ -285,12 +285,12 @@ const oe = s.forwardRef(({ className: e, children: a, position: t = "popper", ..
285
285
  children: a
286
286
  }
287
287
  ),
288
- /* @__PURE__ */ o(T, {})
288
+ /* @__PURE__ */ o(P, {})
289
289
  ]
290
290
  }
291
291
  ) }));
292
- oe.displayName = d.Content.displayName;
293
- const re = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
292
+ se.displayName = d.Content.displayName;
293
+ const ne = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
294
294
  d.Label,
295
295
  {
296
296
  ref: t,
@@ -298,8 +298,8 @@ const re = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
298
298
  ...a
299
299
  }
300
300
  ));
301
- re.displayName = d.Label.displayName;
302
- const se = s.forwardRef(({ className: e, children: a, ...t }, n) => /* @__PURE__ */ f(
301
+ ne.displayName = d.Label.displayName;
302
+ const ie = s.forwardRef(({ className: e, children: a, ...t }, n) => /* @__PURE__ */ f(
303
303
  d.Item,
304
304
  {
305
305
  ref: n,
@@ -314,8 +314,8 @@ const se = s.forwardRef(({ className: e, children: a, ...t }, n) => /* @__PURE__
314
314
  ]
315
315
  }
316
316
  ));
317
- se.displayName = d.Item.displayName;
318
- const ne = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
317
+ ie.displayName = d.Item.displayName;
318
+ const de = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
319
319
  d.Separator,
320
320
  {
321
321
  ref: t,
@@ -323,8 +323,8 @@ const ne = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
323
323
  ...a
324
324
  }
325
325
  ));
326
- ne.displayName = d.Separator.displayName;
327
- const ie = s.forwardRef(
326
+ de.displayName = d.Separator.displayName;
327
+ const le = s.forwardRef(
328
328
  ({ className: e, ...a }, t) => /* @__PURE__ */ o(
329
329
  "textarea",
330
330
  {
@@ -337,8 +337,8 @@ const ie = s.forwardRef(
337
337
  }
338
338
  )
339
339
  );
340
- ie.displayName = "Textarea";
341
- const da = b.Root, la = b.Trigger, de = s.forwardRef(({ className: e, align: a = "center", sideOffset: t = 4, ...n }, l) => /* @__PURE__ */ o(b.Portal, { children: /* @__PURE__ */ o(
340
+ le.displayName = "Textarea";
341
+ const la = b.Root, ca = b.Trigger, ce = s.forwardRef(({ className: e, align: a = "center", sideOffset: t = 4, ...n }, l) => /* @__PURE__ */ o(b.Portal, { children: /* @__PURE__ */ o(
342
342
  b.Content,
343
343
  {
344
344
  ref: l,
@@ -351,8 +351,8 @@ const da = b.Root, la = b.Trigger, de = s.forwardRef(({ className: e, align: a =
351
351
  ...n
352
352
  }
353
353
  ) }));
354
- de.displayName = b.Content.displayName;
355
- const le = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
354
+ ce.displayName = b.Content.displayName;
355
+ const me = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
356
356
  w.Root,
357
357
  {
358
358
  className: r(
@@ -371,8 +371,8 @@ const le = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
371
371
  )
372
372
  }
373
373
  ));
374
- le.displayName = w.Root.displayName;
375
- const ce = s.forwardRef(
374
+ me.displayName = w.Root.displayName;
375
+ const fe = s.forwardRef(
376
376
  ({ className: e, ...a }, t) => /* @__PURE__ */ o("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ o(
377
377
  "table",
378
378
  {
@@ -382,12 +382,12 @@ const ce = s.forwardRef(
382
382
  }
383
383
  ) })
384
384
  );
385
- ce.displayName = "Table";
386
- const me = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("thead", { ref: t, className: r("[&_tr]:border-b", e), ...a }));
387
- me.displayName = "TableHeader";
388
- const fe = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("tbody", { ref: t, className: r("[&_tr:last-child]:border-0", e), ...a }));
389
- fe.displayName = "TableBody";
390
- const pe = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
385
+ fe.displayName = "Table";
386
+ const pe = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("thead", { ref: t, className: r("[&_tr]:border-b", e), ...a }));
387
+ pe.displayName = "TableHeader";
388
+ const ue = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("tbody", { ref: t, className: r("[&_tr:last-child]:border-0", e), ...a }));
389
+ ue.displayName = "TableBody";
390
+ const ge = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
391
391
  "tfoot",
392
392
  {
393
393
  ref: t,
@@ -395,8 +395,8 @@ const pe = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
395
395
  ...a
396
396
  }
397
397
  ));
398
- pe.displayName = "TableFooter";
399
- const ue = s.forwardRef(
398
+ ge.displayName = "TableFooter";
399
+ const be = s.forwardRef(
400
400
  ({ className: e, ...a }, t) => /* @__PURE__ */ o(
401
401
  "tr",
402
402
  {
@@ -409,8 +409,8 @@ const ue = s.forwardRef(
409
409
  }
410
410
  )
411
411
  );
412
- ue.displayName = "TableRow";
413
- const ge = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
412
+ be.displayName = "TableRow";
413
+ const he = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
414
414
  "th",
415
415
  {
416
416
  ref: t,
@@ -421,8 +421,8 @@ const ge = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
421
421
  ...a
422
422
  }
423
423
  ));
424
- ge.displayName = "TableHead";
425
- const be = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
424
+ he.displayName = "TableHead";
425
+ const ye = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
426
426
  "td",
427
427
  {
428
428
  ref: t,
@@ -430,10 +430,10 @@ const be = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
430
430
  ...a
431
431
  }
432
432
  ));
433
- be.displayName = "TableCell";
434
- const he = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("caption", { ref: t, className: r("mt-4 text-sm text-muted-foreground", e), ...a }));
435
- he.displayName = "TableCaption";
436
- const ca = i.Root, ma = i.Trigger, fa = i.Group, pa = i.Portal, ua = i.Sub, ga = i.RadioGroup, ye = s.forwardRef(({ className: e, inset: a, children: t, ...n }, l) => /* @__PURE__ */ f(
433
+ ye.displayName = "TableCell";
434
+ const Ne = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("caption", { ref: t, className: r("mt-4 text-sm text-muted-foreground", e), ...a }));
435
+ Ne.displayName = "TableCaption";
436
+ const ma = i.Root, fa = i.Trigger, pa = i.Group, ua = i.Portal, ga = i.Sub, ba = i.RadioGroup, we = s.forwardRef(({ className: e, inset: a, children: t, ...n }, l) => /* @__PURE__ */ f(
437
437
  i.SubTrigger,
438
438
  {
439
439
  ref: l,
@@ -445,12 +445,12 @@ const ca = i.Root, ma = i.Trigger, fa = i.Group, pa = i.Portal, ua = i.Sub, ga =
445
445
  ...n,
446
446
  children: [
447
447
  t,
448
- /* @__PURE__ */ o(D, { className: "ml-auto" })
448
+ /* @__PURE__ */ o(C, { className: "ml-auto" })
449
449
  ]
450
450
  }
451
451
  ));
452
- ye.displayName = i.SubTrigger.displayName;
453
- const Ne = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
452
+ we.displayName = i.SubTrigger.displayName;
453
+ const xe = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
454
454
  i.SubContent,
455
455
  {
456
456
  ref: t,
@@ -461,8 +461,8 @@ const Ne = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
461
461
  ...a
462
462
  }
463
463
  ));
464
- Ne.displayName = i.SubContent.displayName;
465
- const we = s.forwardRef(({ className: e, sideOffset: a = 4, ...t }, n) => /* @__PURE__ */ o(i.Portal, { children: /* @__PURE__ */ o(
464
+ xe.displayName = i.SubContent.displayName;
465
+ const ve = s.forwardRef(({ className: e, sideOffset: a = 4, ...t }, n) => /* @__PURE__ */ o(i.Portal, { children: /* @__PURE__ */ o(
466
466
  i.Content,
467
467
  {
468
468
  ref: n,
@@ -474,8 +474,8 @@ const we = s.forwardRef(({ className: e, sideOffset: a = 4, ...t }, n) => /* @__
474
474
  ...t
475
475
  }
476
476
  ) }));
477
- we.displayName = i.Content.displayName;
478
- const xe = s.forwardRef(({ className: e, inset: a, ...t }, n) => /* @__PURE__ */ o(
477
+ ve.displayName = i.Content.displayName;
478
+ const Re = s.forwardRef(({ className: e, inset: a, ...t }, n) => /* @__PURE__ */ o(
479
479
  i.Item,
480
480
  {
481
481
  ref: n,
@@ -487,8 +487,8 @@ const xe = s.forwardRef(({ className: e, inset: a, ...t }, n) => /* @__PURE__ */
487
487
  ...t
488
488
  }
489
489
  ));
490
- xe.displayName = i.Item.displayName;
491
- const ve = s.forwardRef(({ className: e, children: a, checked: t, ...n }, l) => /* @__PURE__ */ f(
490
+ Re.displayName = i.Item.displayName;
491
+ const De = s.forwardRef(({ className: e, children: a, checked: t, ...n }, l) => /* @__PURE__ */ f(
492
492
  i.CheckboxItem,
493
493
  {
494
494
  ref: l,
@@ -504,8 +504,8 @@ const ve = s.forwardRef(({ className: e, children: a, checked: t, ...n }, l) =>
504
504
  ]
505
505
  }
506
506
  ));
507
- ve.displayName = i.CheckboxItem.displayName;
508
- const Re = s.forwardRef(({ className: e, children: a, ...t }, n) => /* @__PURE__ */ f(
507
+ De.displayName = i.CheckboxItem.displayName;
508
+ const Ce = s.forwardRef(({ className: e, children: a, ...t }, n) => /* @__PURE__ */ f(
509
509
  i.RadioItem,
510
510
  {
511
511
  ref: n,
@@ -515,13 +515,13 @@ const Re = s.forwardRef(({ className: e, children: a, ...t }, n) => /* @__PURE__
515
515
  ),
516
516
  ...t,
517
517
  children: [
518
- /* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(i.ItemIndicator, { children: /* @__PURE__ */ o(j, { className: "h-2 w-2 fill-current" }) }) }),
518
+ /* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(i.ItemIndicator, { children: /* @__PURE__ */ o(B, { className: "h-2 w-2 fill-current" }) }) }),
519
519
  a
520
520
  ]
521
521
  }
522
522
  ));
523
- Re.displayName = i.RadioItem.displayName;
524
- const De = s.forwardRef(({ className: e, inset: a, ...t }, n) => /* @__PURE__ */ o(
523
+ Ce.displayName = i.RadioItem.displayName;
524
+ const ke = s.forwardRef(({ className: e, inset: a, ...t }, n) => /* @__PURE__ */ o(
525
525
  i.Label,
526
526
  {
527
527
  ref: n,
@@ -529,8 +529,8 @@ const De = s.forwardRef(({ className: e, inset: a, ...t }, n) => /* @__PURE__ */
529
529
  ...t
530
530
  }
531
531
  ));
532
- De.displayName = i.Label.displayName;
533
- const Ce = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
532
+ ke.displayName = i.Label.displayName;
533
+ const Te = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
534
534
  i.Separator,
535
535
  {
536
536
  ref: t,
@@ -538,10 +538,10 @@ const Ce = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
538
538
  ...a
539
539
  }
540
540
  ));
541
- Ce.displayName = i.Separator.displayName;
542
- const ke = ({ className: e, ...a }) => /* @__PURE__ */ o("span", { className: r("ml-auto text-xs tracking-widest opacity-60", e), ...a });
543
- ke.displayName = "DropdownMenuShortcut";
544
- const ba = m.Root, ha = m.Trigger, Te = m.Portal, ya = m.Close, P = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
541
+ Te.displayName = i.Separator.displayName;
542
+ const Pe = ({ className: e, ...a }) => /* @__PURE__ */ o("span", { className: r("ml-auto text-xs tracking-widest opacity-60", e), ...a });
543
+ Pe.displayName = "DropdownMenuShortcut";
544
+ const ha = m.Root, ya = m.Trigger, Ie = m.Portal, Na = m.Close, I = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
545
545
  m.Overlay,
546
546
  {
547
547
  ref: t,
@@ -552,46 +552,65 @@ const ba = m.Root, ha = m.Trigger, Te = m.Portal, ya = m.Close, P = s.forwardRef
552
552
  ...a
553
553
  }
554
554
  ));
555
- P.displayName = m.Overlay.displayName;
556
- const Pe = s.forwardRef(({ className: e, children: a, classNameOverlay: t, classNameClose: n, ...l }, y) => /* @__PURE__ */ f(Te, { children: [
557
- /* @__PURE__ */ o(P, { className: t }),
558
- /* @__PURE__ */ f(
559
- m.Content,
560
- {
561
- ref: y,
562
- className: r(
563
- "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg 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%] sm:rounded-lg",
564
- e
565
- ),
566
- ...l,
567
- children: [
568
- a,
569
- /* @__PURE__ */ f(m.Close, { className: "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-accent data-[state=open]:text-muted-foreground", children: [
570
- /* @__PURE__ */ o(H, { className: "h-4 w-4" }),
571
- /* @__PURE__ */ o("span", { className: "sr-only", children: "Close" })
572
- ] })
573
- ]
574
- }
575
- )
576
- ] }));
577
- Pe.displayName = m.Content.displayName;
578
- const Ie = ({ className: e, ...a }) => /* @__PURE__ */ o(
555
+ I.displayName = m.Overlay.displayName;
556
+ const Se = s.forwardRef(
557
+ ({
558
+ className: e,
559
+ children: a,
560
+ classNameOverlay: t,
561
+ classNameClose: n,
562
+ classNameIcon: l,
563
+ isButtonClose: y = !0,
564
+ ...D
565
+ }, z) => /* @__PURE__ */ f(Ie, { children: [
566
+ /* @__PURE__ */ o(I, { forceMount: !0, className: t }),
567
+ /* @__PURE__ */ f(
568
+ m.Content,
569
+ {
570
+ ref: z,
571
+ className: r(
572
+ "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg 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%] sm:rounded-lg",
573
+ e
574
+ ),
575
+ ...D,
576
+ children: [
577
+ a,
578
+ y && /* @__PURE__ */ f(
579
+ m.Close,
580
+ {
581
+ className: r(
582
+ "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-accent data-[state=open]:text-muted-foreground",
583
+ n
584
+ ),
585
+ children: [
586
+ /* @__PURE__ */ o(V, { className: r("h-4 w-4", l) }),
587
+ /* @__PURE__ */ o("span", { className: "sr-only", children: "Close" })
588
+ ]
589
+ }
590
+ )
591
+ ]
592
+ }
593
+ )
594
+ ] })
595
+ );
596
+ Se.displayName = m.Content.displayName;
597
+ const ze = ({ className: e, ...a }) => /* @__PURE__ */ o(
579
598
  "div",
580
599
  {
581
600
  className: r("flex flex-col space-y-1.5 text-center sm:text-left", e),
582
601
  ...a
583
602
  }
584
603
  );
585
- Ie.displayName = "DialogHeader";
586
- const Se = ({ className: e, ...a }) => /* @__PURE__ */ o(
604
+ ze.displayName = "DialogHeader";
605
+ const Ae = ({ className: e, ...a }) => /* @__PURE__ */ o(
587
606
  "div",
588
607
  {
589
608
  className: r("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e),
590
609
  ...a
591
610
  }
592
611
  );
593
- Se.displayName = "DialogFooter";
594
- const ze = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
612
+ Ae.displayName = "DialogFooter";
613
+ const _e = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
595
614
  m.Title,
596
615
  {
597
616
  ref: t,
@@ -599,8 +618,8 @@ const ze = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
599
618
  ...a
600
619
  }
601
620
  ));
602
- ze.displayName = m.Title.displayName;
603
- const Ae = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
621
+ _e.displayName = m.Title.displayName;
622
+ const Me = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
604
623
  m.Description,
605
624
  {
606
625
  ref: t,
@@ -608,8 +627,8 @@ const Ae = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
608
627
  ...a
609
628
  }
610
629
  ));
611
- Ae.displayName = m.Description.displayName;
612
- const Na = c.Root, wa = c.Trigger, _e = c.Portal, I = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
630
+ Me.displayName = m.Description.displayName;
631
+ const wa = c.Root, xa = c.Trigger, je = c.Portal, S = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
613
632
  c.Overlay,
614
633
  {
615
634
  className: r(
@@ -620,9 +639,9 @@ const Na = c.Root, wa = c.Trigger, _e = c.Portal, I = s.forwardRef(({ className:
620
639
  ref: t
621
640
  }
622
641
  ));
623
- I.displayName = c.Overlay.displayName;
624
- const Me = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ f(_e, { children: [
625
- /* @__PURE__ */ o(I, {}),
642
+ S.displayName = c.Overlay.displayName;
643
+ const Le = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ f(je, { children: [
644
+ /* @__PURE__ */ o(S, {}),
626
645
  /* @__PURE__ */ o(
627
646
  c.Content,
628
647
  {
@@ -635,18 +654,18 @@ const Me = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ f(_e, { c
635
654
  }
636
655
  )
637
656
  ] }));
638
- Me.displayName = c.Content.displayName;
639
- const je = ({ className: e, ...a }) => /* @__PURE__ */ o("div", { className: r("flex flex-col space-y-2 text-center sm:text-left", e), ...a });
640
- je.displayName = "AlertDialogHeader";
641
- const Le = ({ className: e, ...a }) => /* @__PURE__ */ o(
657
+ Le.displayName = c.Content.displayName;
658
+ const Be = ({ className: e, ...a }) => /* @__PURE__ */ o("div", { className: r("flex flex-col space-y-2 text-center sm:text-left", e), ...a });
659
+ Be.displayName = "AlertDialogHeader";
660
+ const He = ({ className: e, ...a }) => /* @__PURE__ */ o(
642
661
  "div",
643
662
  {
644
663
  className: r("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e),
645
664
  ...a
646
665
  }
647
666
  );
648
- Le.displayName = "AlertDialogFooter";
649
- const Be = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
667
+ He.displayName = "AlertDialogFooter";
668
+ const Fe = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
650
669
  c.Title,
651
670
  {
652
671
  ref: t,
@@ -654,8 +673,8 @@ const Be = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
654
673
  ...a
655
674
  }
656
675
  ));
657
- Be.displayName = c.Title.displayName;
658
- const He = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
676
+ Fe.displayName = c.Title.displayName;
677
+ const Ve = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
659
678
  c.Description,
660
679
  {
661
680
  ref: t,
@@ -663,10 +682,10 @@ const He = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
663
682
  ...a
664
683
  }
665
684
  ));
666
- He.displayName = c.Description.displayName;
667
- const Fe = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(c.Action, { ref: t, className: r(u(), e), ...a }));
668
- Fe.displayName = c.Action.displayName;
669
- const Ve = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
685
+ Ve.displayName = c.Description.displayName;
686
+ const Ge = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(c.Action, { ref: t, className: r(u(), e), ...a }));
687
+ Ge.displayName = c.Action.displayName;
688
+ const Oe = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
670
689
  c.Cancel,
671
690
  {
672
691
  ref: t,
@@ -674,8 +693,8 @@ const Ve = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
674
693
  ...a
675
694
  }
676
695
  ));
677
- Ve.displayName = c.Cancel.displayName;
678
- const Ge = ({ className: e, ...a }) => /* @__PURE__ */ o(
696
+ Oe.displayName = c.Cancel.displayName;
697
+ const Ue = ({ className: e, ...a }) => /* @__PURE__ */ o(
679
698
  "nav",
680
699
  {
681
700
  role: "navigation",
@@ -684,15 +703,15 @@ const Ge = ({ className: e, ...a }) => /* @__PURE__ */ o(
684
703
  ...a
685
704
  }
686
705
  );
687
- Ge.displayName = "Pagination";
688
- const Oe = s.forwardRef(
706
+ Ue.displayName = "Pagination";
707
+ const Ee = s.forwardRef(
689
708
  ({ className: e, ...a }, t) => /* @__PURE__ */ o("ul", { ref: t, className: r("flex flex-row items-center gap-1", e), ...a })
690
709
  );
691
- Oe.displayName = "PaginationContent";
692
- const Ue = s.forwardRef(
710
+ Ee.displayName = "PaginationContent";
711
+ const qe = s.forwardRef(
693
712
  ({ className: e, ...a }, t) => /* @__PURE__ */ o("li", { ref: t, className: r("", e), ...a })
694
713
  );
695
- Ue.displayName = "PaginationItem";
714
+ qe.displayName = "PaginationItem";
696
715
  const R = ({ className: e, isActive: a, size: t = "icon", ...n }) => /* @__PURE__ */ o(
697
716
  "a",
698
717
  {
@@ -708,7 +727,7 @@ const R = ({ className: e, isActive: a, size: t = "icon", ...n }) => /* @__PURE_
708
727
  }
709
728
  );
710
729
  R.displayName = "PaginationLink";
711
- const Ee = ({
730
+ const Je = ({
712
731
  className: e,
713
732
  ...a
714
733
  }) => /* @__PURE__ */ o(
@@ -718,112 +737,112 @@ const Ee = ({
718
737
  size: "default",
719
738
  className: r("gap-1 pl-2.5", e),
720
739
  ...a,
721
- children: /* @__PURE__ */ o(F, { className: "h-4 w-4" })
740
+ children: /* @__PURE__ */ o(G, { className: "h-4 w-4" })
722
741
  }
723
742
  );
724
- Ee.displayName = "PaginationPrevious";
725
- const qe = ({ className: e, ...a }) => /* @__PURE__ */ o(
743
+ Je.displayName = "PaginationPrevious";
744
+ const Ke = ({ className: e, ...a }) => /* @__PURE__ */ o(
726
745
  R,
727
746
  {
728
747
  "aria-label": "Go to next page",
729
748
  size: "default",
730
749
  className: r("gap-1 pr-2.5", e),
731
750
  ...a,
732
- children: /* @__PURE__ */ o(V, { className: "h-4 w-4" })
751
+ children: /* @__PURE__ */ o(O, { className: "h-4 w-4" })
733
752
  }
734
753
  );
735
- qe.displayName = "PaginationNext";
736
- const Je = ({ className: e, ...a }) => /* @__PURE__ */ f(
754
+ Ke.displayName = "PaginationNext";
755
+ const Qe = ({ className: e, ...a }) => /* @__PURE__ */ f(
737
756
  "span",
738
757
  {
739
758
  "aria-hidden": !0,
740
759
  className: r("flex h-9 w-9 items-center justify-center", e),
741
760
  ...a,
742
761
  children: [
743
- /* @__PURE__ */ o(G, { className: "h-4 w-4" }),
762
+ /* @__PURE__ */ o(U, { className: "h-4 w-4" }),
744
763
  /* @__PURE__ */ o("span", { className: "sr-only", children: "More pages" })
745
764
  ]
746
765
  }
747
766
  );
748
- Je.displayName = "PaginationEllipsis";
767
+ Qe.displayName = "PaginationEllipsis";
749
768
  export {
750
- oa as Accordion,
751
- Q as AccordionContent,
752
- J as AccordionItem,
753
- K as AccordionTrigger,
754
- Na as AlertDialog,
755
- Fe as AlertDialogAction,
756
- Ve as AlertDialogCancel,
757
- Me as AlertDialogContent,
758
- He as AlertDialogDescription,
759
- Le as AlertDialogFooter,
760
- je as AlertDialogHeader,
761
- I as AlertDialogOverlay,
762
- _e as AlertDialogPortal,
763
- Be as AlertDialogTitle,
764
- wa as AlertDialogTrigger,
765
- O as Avatar,
766
- E as AvatarFallback,
767
- U as AvatarImage,
768
- ra as Badge,
769
- q as Button,
770
- X as Calendar,
771
- Y as Checkbox,
772
- ba as Dialog,
773
- ya as DialogClose,
774
- Pe as DialogContent,
775
- Ae as DialogDescription,
776
- Se as DialogFooter,
777
- Ie as DialogHeader,
778
- P as DialogOverlay,
779
- Te as DialogPortal,
780
- ze as DialogTitle,
781
- ha as DialogTrigger,
782
- ca as DropdownMenu,
783
- ve as DropdownMenuCheckboxItem,
784
- we as DropdownMenuContent,
785
- fa as DropdownMenuGroup,
786
- xe as DropdownMenuItem,
787
- De as DropdownMenuLabel,
788
- pa as DropdownMenuPortal,
789
- ga as DropdownMenuRadioGroup,
790
- Re as DropdownMenuRadioItem,
791
- Ce as DropdownMenuSeparator,
792
- ke as DropdownMenuShortcut,
793
- ua as DropdownMenuSub,
794
- Ne as DropdownMenuSubContent,
795
- ye as DropdownMenuSubTrigger,
796
- ma as DropdownMenuTrigger,
797
- $ as Input,
798
- ae as Label,
799
- Ge as Pagination,
800
- Oe as PaginationContent,
801
- Je as PaginationEllipsis,
802
- Ue as PaginationItem,
769
+ ra as Accordion,
770
+ X as AccordionContent,
771
+ Q as AccordionItem,
772
+ W as AccordionTrigger,
773
+ wa as AlertDialog,
774
+ Ge as AlertDialogAction,
775
+ Oe as AlertDialogCancel,
776
+ Le as AlertDialogContent,
777
+ Ve as AlertDialogDescription,
778
+ He as AlertDialogFooter,
779
+ Be as AlertDialogHeader,
780
+ S as AlertDialogOverlay,
781
+ je as AlertDialogPortal,
782
+ Fe as AlertDialogTitle,
783
+ xa as AlertDialogTrigger,
784
+ E as Avatar,
785
+ J as AvatarFallback,
786
+ q as AvatarImage,
787
+ sa as Badge,
788
+ K as Button,
789
+ Z as Calendar,
790
+ $ as Checkbox,
791
+ ha as Dialog,
792
+ Na as DialogClose,
793
+ Se as DialogContent,
794
+ Me as DialogDescription,
795
+ Ae as DialogFooter,
796
+ ze as DialogHeader,
797
+ I as DialogOverlay,
798
+ Ie as DialogPortal,
799
+ _e as DialogTitle,
800
+ ya as DialogTrigger,
801
+ ma as DropdownMenu,
802
+ De as DropdownMenuCheckboxItem,
803
+ ve as DropdownMenuContent,
804
+ pa as DropdownMenuGroup,
805
+ Re as DropdownMenuItem,
806
+ ke as DropdownMenuLabel,
807
+ ua as DropdownMenuPortal,
808
+ ba as DropdownMenuRadioGroup,
809
+ Ce as DropdownMenuRadioItem,
810
+ Te as DropdownMenuSeparator,
811
+ Pe as DropdownMenuShortcut,
812
+ ga as DropdownMenuSub,
813
+ xe as DropdownMenuSubContent,
814
+ we as DropdownMenuSubTrigger,
815
+ fa as DropdownMenuTrigger,
816
+ ae as Input,
817
+ oe as Label,
818
+ Ue as Pagination,
819
+ Ee as PaginationContent,
820
+ Qe as PaginationEllipsis,
821
+ qe as PaginationItem,
803
822
  R as PaginationLink,
804
- qe as PaginationNext,
805
- Ee as PaginationPrevious,
806
- da as Popover,
807
- de as PopoverContent,
808
- la as PopoverTrigger,
809
- sa as Select,
810
- oe as SelectContent,
811
- na as SelectGroup,
812
- se as SelectItem,
813
- re as SelectLabel,
814
- T as SelectScrollDownButton,
815
- k as SelectScrollUpButton,
816
- ne as SelectSeparator,
817
- te as SelectTrigger,
818
- ia as SelectValue,
819
- le as Switch,
820
- ce as Table,
821
- fe as TableBody,
822
- he as TableCaption,
823
- be as TableCell,
824
- pe as TableFooter,
825
- ge as TableHead,
826
- me as TableHeader,
827
- ue as TableRow,
828
- ie as Textarea
823
+ Ke as PaginationNext,
824
+ Je as PaginationPrevious,
825
+ la as Popover,
826
+ ce as PopoverContent,
827
+ ca as PopoverTrigger,
828
+ na as Select,
829
+ se as SelectContent,
830
+ ia as SelectGroup,
831
+ ie as SelectItem,
832
+ ne as SelectLabel,
833
+ P as SelectScrollDownButton,
834
+ T as SelectScrollUpButton,
835
+ de as SelectSeparator,
836
+ re as SelectTrigger,
837
+ da as SelectValue,
838
+ me as Switch,
839
+ fe as Table,
840
+ ue as TableBody,
841
+ Ne as TableCaption,
842
+ ye as TableCell,
843
+ ge as TableFooter,
844
+ he as TableHead,
845
+ pe as TableHeader,
846
+ be as TableRow,
847
+ le as Textarea
829
848
  };
@@ -8,6 +8,8 @@ declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitiv
8
8
  declare const DialogContent: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
9
9
  classNameOverlay?: string;
10
10
  classNameClose?: string;
11
+ classNameIcon?: string;
12
+ isButtonClose?: boolean;
11
13
  } & React.RefAttributes<HTMLDivElement>>;
12
14
  declare const DialogHeader: {
13
15
  ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@imj_media/imj-ui",
3
3
  "private": false,
4
- "version": "1.0.28",
4
+ "version": "1.0.29",
5
5
  "author": {
6
6
  "name": "IMJ - Antonio Diego",
7
7
  "email": "antonio.diego@imjmedia.com.mx"