@imj_media/imj-ui 1.0.16 → 1.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,6 @@
1
+ import * as React from 'react';
2
+ import * as AvatarPrimitive from '@radix-ui/react-avatar';
3
+ declare const Avatar: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
4
+ declare const AvatarImage: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React.RefAttributes<HTMLImageElement>, "ref"> & React.RefAttributes<HTMLImageElement>>;
5
+ declare const AvatarFallback: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
6
+ export { Avatar, AvatarImage, AvatarFallback };
@@ -1,7 +1,7 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
2
  import * as React from 'react';
3
3
  declare const buttonVariants: (props?: ({
4
- variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | "success" | "danger" | "warning" | null | undefined;
4
+ variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | "success" | "danger" | "warning" | null | undefined;
5
5
  size?: "default" | "sm" | "lg" | "icon" | null | undefined;
6
6
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
7
  export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
package/dist/imj-ui.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),he=require("react"),we=require("@radix-ui/react-slot"),b=require("class-variance-authority"),ye=require("clsx"),ve=require("tailwind-merge"),Ne=require("@radix-ui/react-accordion"),m=require("lucide-react"),je=require("react-day-picker"),De=require("date-fns/locale"),Re=require("@radix-ui/react-checkbox"),Ce=require("@radix-ui/react-label"),Pe=require("@radix-ui/react-select"),Se=require("@radix-ui/react-popover"),Te=require("@radix-ui/react-switch"),ke=require("@radix-ui/react-dropdown-menu"),_e=require("@radix-ui/react-dialog"),x=require("@radix-ui/react-icons");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(he),p=u(Ne),w=u(Re),D=u(Ce),d=u(Pe),f=u(Se),y=u(Te),i=u(ke),c=u(_e);function s(...e){return ve.twMerge(ye.clsx(e))}const g=b.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-10 px-2 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),R=r.forwardRef(({className:e,variant:t,size:a,asChild:n=!1,...l},be)=>{const xe=n?we.Slot:"button";return o.jsx(xe,{className:s(g({variant:t,size:a,className:e})),ref:be,...l})});R.displayName="Button";const Ie=p.Root,C=r.forwardRef(({className:e,...t},a)=>o.jsx(p.Item,{ref:a,className:s("border-b",e),...t}));C.displayName="AccordionItem";const P=r.forwardRef(({className:e,children:t,...a},n)=>o.jsx(p.Header,{className:"flex",children:o.jsxs(p.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(m.ChevronDown,{className:"h-4 w-4 shrink-0 transition-transform duration-200"})]})}));P.displayName=p.Trigger.displayName;const S=r.forwardRef(({className:e,children:t,...a},n)=>o.jsx(p.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})}));S.displayName=p.Content.displayName;const Me=b.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 ze({className:e,variant:t,...a}){return o.jsx("div",{className:s(Me({variant:t}),e),...a})}function T({className:e,classNames:t,showOutsideDays:a=!0,...n}){return o.jsx(je.DayPicker,{locale:De.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:({...l})=>o.jsx(m.ChevronLeft,{className:"h-4 w-4"}),IconRight:({...l})=>o.jsx(m.ChevronRight,{className:"h-4 w-4"})},...n})}T.displayName="Calendar";const k=r.forwardRef(({className:e,...t},a)=>o.jsx(w.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(w.Indicator,{className:s("flex items-center justify-center text-current"),children:o.jsx(m.Check,{className:"h-4 w-4"})})}));k.displayName=w.Root.displayName;const qe=b.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"}}}),_=r.forwardRef(({className:e,variant:t,type:a,...n},l)=>o.jsx("input",{type:a,className:s(qe({variant:t,className:e})),ref:l,...n}));_.displayName="Input";const Le=b.cva("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),I=r.forwardRef(({className:e,...t},a)=>o.jsx(D.Root,{ref:a,className:s(Le(),e),...t}));I.displayName=D.Root.displayName;const Be=d.Root,Ae=d.Group,Ge=d.Value,M=r.forwardRef(({className:e,children:t,...a},n)=>o.jsxs(d.Trigger,{ref:n,className:s("flex h-10 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(d.Icon,{asChild:!0,children:o.jsx(m.ChevronDown,{className:"h-4 w-4 opacity-50"})})]}));M.displayName=d.Trigger.displayName;const v=r.forwardRef(({className:e,...t},a)=>o.jsx(d.ScrollUpButton,{ref:a,className:s("flex cursor-default items-center justify-center py-1",e),...t,children:o.jsx(m.ChevronUp,{className:"h-4 w-4"})}));v.displayName=d.ScrollUpButton.displayName;const N=r.forwardRef(({className:e,...t},a)=>o.jsx(d.ScrollDownButton,{ref:a,className:s("flex cursor-default items-center justify-center py-1",e),...t,children:o.jsx(m.ChevronDown,{className:"h-4 w-4"})}));N.displayName=d.ScrollDownButton.displayName;const z=r.forwardRef(({className:e,children:t,position:a="popper",...n},l)=>o.jsx(d.Portal,{children:o.jsxs(d.Content,{ref:l,className:s("relative z-50 max-h-96 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(v,{}),o.jsx(d.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(N,{})]})}));z.displayName=d.Content.displayName;const q=r.forwardRef(({className:e,...t},a)=>o.jsx(d.Label,{ref:a,className:s("py-1.5 pl-8 pr-2 text-sm font-semibold",e),...t}));q.displayName=d.Label.displayName;const L=r.forwardRef(({className:e,children:t,...a},n)=>o.jsxs(d.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-3.5 w-3.5 items-center justify-center",children:o.jsx(d.ItemIndicator,{children:o.jsx(m.Check,{className:"h-4 w-4"})})}),o.jsx(d.ItemText,{children:t})]}));L.displayName=d.Item.displayName;const B=r.forwardRef(({className:e,...t},a)=>o.jsx(d.Separator,{ref:a,className:s("-mx-1 my-1 h-px bg-muted",e),...t}));B.displayName=d.Separator.displayName;const A=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}));A.displayName="Textarea";const He=f.Root,Ve=f.Trigger,G=r.forwardRef(({className:e,align:t="center",sideOffset:a=4,...n},l)=>o.jsx(f.Portal,{children:o.jsx(f.Content,{ref:l,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})}));G.displayName=f.Content.displayName;const H=r.forwardRef(({className:e,...t},a)=>o.jsx(y.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(y.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")})}));H.displayName=y.Root.displayName;const V=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})}));V.displayName="Table";const O=r.forwardRef(({className:e,...t},a)=>o.jsx("thead",{ref:a,className:s("[&_tr]:border-b",e),...t}));O.displayName="TableHeader";const F=r.forwardRef(({className:e,...t},a)=>o.jsx("tbody",{ref:a,className:s("[&_tr:last-child]:border-0",e),...t}));F.displayName="TableBody";const U=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}));U.displayName="TableFooter";const E=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}));E.displayName="TableRow";const J=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}));J.displayName="TableHead";const K=r.forwardRef(({className:e,...t},a)=>o.jsx("td",{ref:a,className:s("p-4 align-middle [&:has([role=checkbox])]:pr-0",e),...t}));K.displayName="TableCell";const Q=r.forwardRef(({className:e,...t},a)=>o.jsx("caption",{ref:a,className:s("mt-4 text-sm text-muted-foreground",e),...t}));Q.displayName="TableCaption";const Oe=i.Root,Fe=i.Trigger,Ue=i.Group,Ee=i.Portal,Je=i.Sub,Ke=i.RadioGroup,W=r.forwardRef(({className:e,inset:t,children:a,...n},l)=>o.jsxs(i.SubTrigger,{ref:l,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(m.ChevronRight,{className:"ml-auto"})]}));W.displayName=i.SubTrigger.displayName;const X=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}));X.displayName=i.SubContent.displayName;const Y=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})}));Y.displayName=i.Content.displayName;const Z=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}));Z.displayName=i.Item.displayName;const $=r.forwardRef(({className:e,children:t,checked:a,...n},l)=>o.jsxs(i.CheckboxItem,{ref:l,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(m.Check,{className:"h-4 w-4"})})}),t]}));$.displayName=i.CheckboxItem.displayName;const ee=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(m.Circle,{className:"h-2 w-2 fill-current"})})}),t]}));ee.displayName=i.RadioItem.displayName;const te=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}));te.displayName=i.Label.displayName;const ae=r.forwardRef(({className:e,...t},a)=>o.jsx(i.Separator,{ref:a,className:s("-mx-1 my-1 h-px bg-muted",e),...t}));ae.displayName=i.Separator.displayName;const oe=({className:e,...t})=>o.jsx("span",{className:s("ml-auto text-xs tracking-widest opacity-60",e),...t});oe.displayName="DropdownMenuShortcut";const Qe=c.Root,We=c.Trigger,se=c.Portal,Xe=c.Close,j=r.forwardRef(({className:e,...t},a)=>o.jsx(c.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}));j.displayName=c.Overlay.displayName;const re=r.forwardRef(({className:e,children:t,...a},n)=>o.jsxs(se,{children:[o.jsx(j,{}),o.jsxs(c.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),...a,children:[t,o.jsxs(c.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(x.Cross2Icon,{className:"h-4 w-4"}),o.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));re.displayName=c.Content.displayName;const ne=({className:e,...t})=>o.jsx("div",{className:s("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});ne.displayName="DialogHeader";const ie=({className:e,...t})=>o.jsx("div",{className:s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});ie.displayName="DialogFooter";const de=r.forwardRef(({className:e,...t},a)=>o.jsx(c.Title,{ref:a,className:s("text-lg font-semibold leading-none tracking-tight",e),...t}));de.displayName=c.Title.displayName;const le=r.forwardRef(({className:e,...t},a)=>o.jsx(c.Description,{ref:a,className:s("text-sm text-muted-foreground",e),...t}));le.displayName=c.Description.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 me=r.forwardRef(({className:e,...t},a)=>o.jsx("ul",{ref:a,className:s("flex flex-row items-center gap-1",e),...t}));me.displayName="PaginationContent";const ue=r.forwardRef(({className:e,...t},a)=>o.jsx("li",{ref:a,className:s("",e),...t}));ue.displayName="PaginationItem";const h=({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});h.displayName="PaginationLink";const pe=({className:e,...t})=>o.jsx(h,{"aria-label":"Go to previous page",size:"default",className:s("gap-1 pl-2.5",e),...t,children:o.jsx(x.ChevronLeftIcon,{className:"h-4 w-4"})});pe.displayName="PaginationPrevious";const fe=({className:e,...t})=>o.jsx(h,{"aria-label":"Go to next page",size:"default",className:s("gap-1 pr-2.5",e),...t,children:o.jsx(x.ChevronRightIcon,{className:"h-4 w-4"})});fe.displayName="PaginationNext";const ge=({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(x.DotsHorizontalIcon,{className:"h-4 w-4"}),o.jsx("span",{className:"sr-only",children:"More pages"})]});ge.displayName="PaginationEllipsis";exports.Accordion=Ie;exports.AccordionContent=S;exports.AccordionItem=C;exports.AccordionTrigger=P;exports.Badge=ze;exports.Button=R;exports.Calendar=T;exports.Checkbox=k;exports.Dialog=Qe;exports.DialogClose=Xe;exports.DialogContent=re;exports.DialogDescription=le;exports.DialogFooter=ie;exports.DialogHeader=ne;exports.DialogOverlay=j;exports.DialogPortal=se;exports.DialogTitle=de;exports.DialogTrigger=We;exports.DropdownMenu=Oe;exports.DropdownMenuCheckboxItem=$;exports.DropdownMenuContent=Y;exports.DropdownMenuGroup=Ue;exports.DropdownMenuItem=Z;exports.DropdownMenuLabel=te;exports.DropdownMenuPortal=Ee;exports.DropdownMenuRadioGroup=Ke;exports.DropdownMenuRadioItem=ee;exports.DropdownMenuSeparator=ae;exports.DropdownMenuShortcut=oe;exports.DropdownMenuSub=Je;exports.DropdownMenuSubContent=X;exports.DropdownMenuSubTrigger=W;exports.DropdownMenuTrigger=Fe;exports.Input=_;exports.Label=I;exports.Pagination=ce;exports.PaginationContent=me;exports.PaginationEllipsis=ge;exports.PaginationItem=ue;exports.PaginationLink=h;exports.PaginationNext=fe;exports.PaginationPrevious=pe;exports.Popover=He;exports.PopoverContent=G;exports.PopoverTrigger=Ve;exports.Select=Be;exports.SelectContent=z;exports.SelectGroup=Ae;exports.SelectItem=L;exports.SelectLabel=q;exports.SelectScrollDownButton=N;exports.SelectScrollUpButton=v;exports.SelectSeparator=B;exports.SelectTrigger=M;exports.SelectValue=Ge;exports.Switch=H;exports.Table=V;exports.TableBody=F;exports.TableCaption=Q;exports.TableCell=K;exports.TableFooter=U;exports.TableHead=J;exports.TableHeader=O;exports.TableRow=E;exports.Textarea=A;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),Ne=require("react"),je=require("@radix-ui/react-avatar"),De=require("clsx"),Re=require("tailwind-merge"),Ce=require("@radix-ui/react-slot"),x=require("class-variance-authority"),Pe=require("@radix-ui/react-accordion"),m=require("lucide-react"),Se=require("react-day-picker"),Te=require("date-fns/locale"),ke=require("@radix-ui/react-checkbox"),Ie=require("@radix-ui/react-label"),_e=require("@radix-ui/react-select"),Me=require("@radix-ui/react-popover"),ze=require("@radix-ui/react-switch"),qe=require("@radix-ui/react-dropdown-menu"),Ae=require("@radix-ui/react-dialog"),h=require("@radix-ui/react-icons");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(Ne),f=u(je),p=u(Pe),y=u(ke),R=u(Ie),d=u(_e),g=u(Me),v=u(ze),i=u(qe),c=u(Ae);function s(...e){return Re.twMerge(De.clsx(e))}const C=r.forwardRef(({className:e,...t},a)=>o.jsx(f.Root,{ref:a,className:s("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",e),...t}));C.displayName=f.Root.displayName;const P=r.forwardRef(({className:e,...t},a)=>o.jsx(f.Image,{ref:a,className:s("aspect-square h-full w-full",e),...t}));P.displayName=f.Image.displayName;const S=r.forwardRef(({className:e,...t},a)=>o.jsx(f.Fallback,{ref:a,className:s("flex h-full w-full items-center justify-center rounded-full bg-muted",e),...t}));S.displayName=f.Fallback.displayName;const b=x.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-10 px-2 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),T=r.forwardRef(({className:e,variant:t,size:a,asChild:n=!1,...l},ye)=>{const ve=n?Ce.Slot:"button";return o.jsx(ve,{className:s(b({variant:t,size:a,className:e})),ref:ye,...l})});T.displayName="Button";const Le=p.Root,k=r.forwardRef(({className:e,...t},a)=>o.jsx(p.Item,{ref:a,className:s("border-b",e),...t}));k.displayName="AccordionItem";const I=r.forwardRef(({className:e,children:t,...a},n)=>o.jsx(p.Header,{className:"flex",children:o.jsxs(p.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(m.ChevronDown,{className:"h-4 w-4 shrink-0 transition-transform duration-200"})]})}));I.displayName=p.Trigger.displayName;const _=r.forwardRef(({className:e,children:t,...a},n)=>o.jsx(p.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})}));_.displayName=p.Content.displayName;const Be=x.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 Ge({className:e,variant:t,...a}){return o.jsx("div",{className:s(Be({variant:t}),e),...a})}function M({className:e,classNames:t,showOutsideDays:a=!0,...n}){return o.jsx(Se.DayPicker,{locale:Te.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(b({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(b({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:({...l})=>o.jsx(m.ChevronLeft,{className:"h-4 w-4"}),IconRight:({...l})=>o.jsx(m.ChevronRight,{className:"h-4 w-4"})},...n})}M.displayName="Calendar";const z=r.forwardRef(({className:e,...t},a)=>o.jsx(y.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(y.Indicator,{className:s("flex items-center justify-center text-current"),children:o.jsx(m.Check,{className:"h-4 w-4"})})}));z.displayName=y.Root.displayName;const He=x.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"}}}),q=r.forwardRef(({className:e,variant:t,type:a,...n},l)=>o.jsx("input",{type:a,className:s(He({variant:t,className:e})),ref:l,...n}));q.displayName="Input";const Ve=x.cva("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),A=r.forwardRef(({className:e,...t},a)=>o.jsx(R.Root,{ref:a,className:s(Ve(),e),...t}));A.displayName=R.Root.displayName;const Fe=d.Root,Oe=d.Group,Ue=d.Value,L=r.forwardRef(({className:e,children:t,...a},n)=>o.jsxs(d.Trigger,{ref:n,className:s("flex h-10 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(d.Icon,{asChild:!0,children:o.jsx(m.ChevronDown,{className:"h-4 w-4 opacity-50"})})]}));L.displayName=d.Trigger.displayName;const N=r.forwardRef(({className:e,...t},a)=>o.jsx(d.ScrollUpButton,{ref:a,className:s("flex cursor-default items-center justify-center py-1",e),...t,children:o.jsx(m.ChevronUp,{className:"h-4 w-4"})}));N.displayName=d.ScrollUpButton.displayName;const j=r.forwardRef(({className:e,...t},a)=>o.jsx(d.ScrollDownButton,{ref:a,className:s("flex cursor-default items-center justify-center py-1",e),...t,children:o.jsx(m.ChevronDown,{className:"h-4 w-4"})}));j.displayName=d.ScrollDownButton.displayName;const B=r.forwardRef(({className:e,children:t,position:a="popper",...n},l)=>o.jsx(d.Portal,{children:o.jsxs(d.Content,{ref:l,className:s("relative z-50 max-h-96 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(N,{}),o.jsx(d.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(j,{})]})}));B.displayName=d.Content.displayName;const G=r.forwardRef(({className:e,...t},a)=>o.jsx(d.Label,{ref:a,className:s("py-1.5 pl-8 pr-2 text-sm font-semibold",e),...t}));G.displayName=d.Label.displayName;const H=r.forwardRef(({className:e,children:t,...a},n)=>o.jsxs(d.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-3.5 w-3.5 items-center justify-center",children:o.jsx(d.ItemIndicator,{children:o.jsx(m.Check,{className:"h-4 w-4"})})}),o.jsx(d.ItemText,{children:t})]}));H.displayName=d.Item.displayName;const V=r.forwardRef(({className:e,...t},a)=>o.jsx(d.Separator,{ref:a,className:s("-mx-1 my-1 h-px bg-muted",e),...t}));V.displayName=d.Separator.displayName;const F=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}));F.displayName="Textarea";const Ee=g.Root,Je=g.Trigger,O=r.forwardRef(({className:e,align:t="center",sideOffset:a=4,...n},l)=>o.jsx(g.Portal,{children:o.jsx(g.Content,{ref:l,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})}));O.displayName=g.Content.displayName;const U=r.forwardRef(({className:e,...t},a)=>o.jsx(v.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(v.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")})}));U.displayName=v.Root.displayName;const E=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})}));E.displayName="Table";const J=r.forwardRef(({className:e,...t},a)=>o.jsx("thead",{ref:a,className:s("[&_tr]:border-b",e),...t}));J.displayName="TableHeader";const K=r.forwardRef(({className:e,...t},a)=>o.jsx("tbody",{ref:a,className:s("[&_tr:last-child]:border-0",e),...t}));K.displayName="TableBody";const Q=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}));Q.displayName="TableFooter";const W=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}));W.displayName="TableRow";const X=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}));X.displayName="TableHead";const Y=r.forwardRef(({className:e,...t},a)=>o.jsx("td",{ref:a,className:s("p-4 align-middle [&:has([role=checkbox])]:pr-0",e),...t}));Y.displayName="TableCell";const Z=r.forwardRef(({className:e,...t},a)=>o.jsx("caption",{ref:a,className:s("mt-4 text-sm text-muted-foreground",e),...t}));Z.displayName="TableCaption";const Ke=i.Root,Qe=i.Trigger,We=i.Group,Xe=i.Portal,Ye=i.Sub,Ze=i.RadioGroup,$=r.forwardRef(({className:e,inset:t,children:a,...n},l)=>o.jsxs(i.SubTrigger,{ref:l,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(m.ChevronRight,{className:"ml-auto"})]}));$.displayName=i.SubTrigger.displayName;const ee=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}));ee.displayName=i.SubContent.displayName;const te=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})}));te.displayName=i.Content.displayName;const ae=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}));ae.displayName=i.Item.displayName;const oe=r.forwardRef(({className:e,children:t,checked:a,...n},l)=>o.jsxs(i.CheckboxItem,{ref:l,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(m.Check,{className:"h-4 w-4"})})}),t]}));oe.displayName=i.CheckboxItem.displayName;const se=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(m.Circle,{className:"h-2 w-2 fill-current"})})}),t]}));se.displayName=i.RadioItem.displayName;const re=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}));re.displayName=i.Label.displayName;const ne=r.forwardRef(({className:e,...t},a)=>o.jsx(i.Separator,{ref:a,className:s("-mx-1 my-1 h-px bg-muted",e),...t}));ne.displayName=i.Separator.displayName;const ie=({className:e,...t})=>o.jsx("span",{className:s("ml-auto text-xs tracking-widest opacity-60",e),...t});ie.displayName="DropdownMenuShortcut";const $e=c.Root,et=c.Trigger,de=c.Portal,tt=c.Close,D=r.forwardRef(({className:e,...t},a)=>o.jsx(c.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}));D.displayName=c.Overlay.displayName;const le=r.forwardRef(({className:e,children:t,...a},n)=>o.jsxs(de,{children:[o.jsx(D,{}),o.jsxs(c.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),...a,children:[t,o.jsxs(c.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(h.Cross2Icon,{className:"h-4 w-4"}),o.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));le.displayName=c.Content.displayName;const ce=({className:e,...t})=>o.jsx("div",{className:s("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});ce.displayName="DialogHeader";const me=({className:e,...t})=>o.jsx("div",{className:s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});me.displayName="DialogFooter";const ue=r.forwardRef(({className:e,...t},a)=>o.jsx(c.Title,{ref:a,className:s("text-lg font-semibold leading-none tracking-tight",e),...t}));ue.displayName=c.Title.displayName;const pe=r.forwardRef(({className:e,...t},a)=>o.jsx(c.Description,{ref:a,className:s("text-sm text-muted-foreground",e),...t}));pe.displayName=c.Description.displayName;const fe=({className:e,...t})=>o.jsx("nav",{role:"navigation","aria-label":"pagination",className:s("mx-auto flex w-full justify-center",e),...t});fe.displayName="Pagination";const ge=r.forwardRef(({className:e,...t},a)=>o.jsx("ul",{ref:a,className:s("flex flex-row items-center gap-1",e),...t}));ge.displayName="PaginationContent";const be=r.forwardRef(({className:e,...t},a)=>o.jsx("li",{ref:a,className:s("",e),...t}));be.displayName="PaginationItem";const w=({className:e,isActive:t,size:a="icon",...n})=>o.jsx("a",{"aria-current":t?"page":void 0,className:s(b({variant:t?"outline":"ghost",size:a}),e),...n});w.displayName="PaginationLink";const xe=({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(h.ChevronLeftIcon,{className:"h-4 w-4"})});xe.displayName="PaginationPrevious";const he=({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(h.ChevronRightIcon,{className:"h-4 w-4"})});he.displayName="PaginationNext";const we=({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(h.DotsHorizontalIcon,{className:"h-4 w-4"}),o.jsx("span",{className:"sr-only",children:"More pages"})]});we.displayName="PaginationEllipsis";exports.Accordion=Le;exports.AccordionContent=_;exports.AccordionItem=k;exports.AccordionTrigger=I;exports.Avatar=C;exports.AvatarFallback=S;exports.AvatarImage=P;exports.Badge=Ge;exports.Button=T;exports.Calendar=M;exports.Checkbox=z;exports.Dialog=$e;exports.DialogClose=tt;exports.DialogContent=le;exports.DialogDescription=pe;exports.DialogFooter=me;exports.DialogHeader=ce;exports.DialogOverlay=D;exports.DialogPortal=de;exports.DialogTitle=ue;exports.DialogTrigger=et;exports.DropdownMenu=Ke;exports.DropdownMenuCheckboxItem=oe;exports.DropdownMenuContent=te;exports.DropdownMenuGroup=We;exports.DropdownMenuItem=ae;exports.DropdownMenuLabel=re;exports.DropdownMenuPortal=Xe;exports.DropdownMenuRadioGroup=Ze;exports.DropdownMenuRadioItem=se;exports.DropdownMenuSeparator=ne;exports.DropdownMenuShortcut=ie;exports.DropdownMenuSub=Ye;exports.DropdownMenuSubContent=ee;exports.DropdownMenuSubTrigger=$;exports.DropdownMenuTrigger=Qe;exports.Input=q;exports.Label=A;exports.Pagination=fe;exports.PaginationContent=ge;exports.PaginationEllipsis=we;exports.PaginationItem=be;exports.PaginationLink=w;exports.PaginationNext=he;exports.PaginationPrevious=xe;exports.Popover=Ee;exports.PopoverContent=O;exports.PopoverTrigger=Je;exports.Select=Fe;exports.SelectContent=B;exports.SelectGroup=Oe;exports.SelectItem=H;exports.SelectLabel=G;exports.SelectScrollDownButton=j;exports.SelectScrollUpButton=N;exports.SelectSeparator=V;exports.SelectTrigger=L;exports.SelectValue=Ue;exports.Switch=U;exports.Table=E;exports.TableBody=K;exports.TableCaption=Z;exports.TableCell=Y;exports.TableFooter=Q;exports.TableHead=X;exports.TableHeader=J;exports.TableRow=W;exports.Textarea=F;
package/dist/imj-ui.es.js CHANGED
@@ -1,25 +1,56 @@
1
1
  import { jsx as o, jsxs as m } from "react/jsx-runtime";
2
2
  import * as s from "react";
3
- import { Slot as T } from "@radix-ui/react-slot";
4
- import { cva as g } from "class-variance-authority";
5
- import { clsx as P } from "clsx";
6
- import { twMerge as S } from "tailwind-merge";
7
- import * as p from "@radix-ui/react-accordion";
8
- import { ChevronDown as y, ChevronLeft as I, ChevronRight as N, Check as w, ChevronUp as z, Circle as _ } from "lucide-react";
9
- import { DayPicker as M } from "react-day-picker";
10
- import { es as j } from "date-fns/locale";
11
- import * as b from "@radix-ui/react-checkbox";
12
- import * as v from "@radix-ui/react-label";
3
+ import * as p from "@radix-ui/react-avatar";
4
+ import { clsx as I } from "clsx";
5
+ import { twMerge as P } from "tailwind-merge";
6
+ import { Slot as S } from "@radix-ui/react-slot";
7
+ import { cva as b } from "class-variance-authority";
8
+ import * as f from "@radix-ui/react-accordion";
9
+ import { ChevronDown as w, ChevronLeft as z, ChevronRight as v, Check as x, ChevronUp as _, Circle as M } from "lucide-react";
10
+ import { DayPicker as j } from "react-day-picker";
11
+ import { es as L } from "date-fns/locale";
12
+ import * as h from "@radix-ui/react-checkbox";
13
+ import * as R from "@radix-ui/react-label";
13
14
  import * as d from "@radix-ui/react-select";
14
- import * as f from "@radix-ui/react-popover";
15
- import * as h from "@radix-ui/react-switch";
15
+ import * as u from "@radix-ui/react-popover";
16
+ import * as y from "@radix-ui/react-switch";
16
17
  import * as i from "@radix-ui/react-dropdown-menu";
17
18
  import * as c from "@radix-ui/react-dialog";
18
- import { Cross2Icon as L, ChevronLeftIcon as B, ChevronRightIcon as V, DotsHorizontalIcon as G } from "@radix-ui/react-icons";
19
+ import { Cross2Icon as B, ChevronLeftIcon as A, ChevronRightIcon as V, DotsHorizontalIcon as G } from "@radix-ui/react-icons";
19
20
  function r(...e) {
20
- return S(P(e));
21
+ return P(I(e));
21
22
  }
22
- const u = g(
23
+ const H = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
24
+ p.Root,
25
+ {
26
+ ref: a,
27
+ className: r("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full", e),
28
+ ...t
29
+ }
30
+ ));
31
+ H.displayName = p.Root.displayName;
32
+ const F = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
33
+ p.Image,
34
+ {
35
+ ref: a,
36
+ className: r("aspect-square h-full w-full", e),
37
+ ...t
38
+ }
39
+ ));
40
+ F.displayName = p.Image.displayName;
41
+ const U = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
42
+ p.Fallback,
43
+ {
44
+ ref: a,
45
+ className: r(
46
+ "flex h-full w-full items-center justify-center rounded-full bg-muted",
47
+ e
48
+ ),
49
+ ...t
50
+ }
51
+ ));
52
+ U.displayName = p.Fallback.displayName;
53
+ const g = b(
23
54
  "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",
24
55
  {
25
56
  variants: {
@@ -46,21 +77,21 @@ const u = g(
46
77
  size: "default"
47
78
  }
48
79
  }
49
- ), H = s.forwardRef(
50
- ({ className: e, variant: t, size: a, asChild: n = !1, ...l }, D) => /* @__PURE__ */ o(
51
- n ? T : "button",
80
+ ), O = s.forwardRef(
81
+ ({ className: e, variant: t, size: a, asChild: n = !1, ...l }, T) => /* @__PURE__ */ o(
82
+ n ? S : "button",
52
83
  {
53
- className: r(u({ variant: t, size: a, className: e })),
54
- ref: D,
84
+ className: r(g({ variant: t, size: a, className: e })),
85
+ ref: T,
55
86
  ...l
56
87
  }
57
88
  )
58
89
  );
59
- H.displayName = "Button";
60
- const Oe = p.Root, A = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(p.Item, { ref: a, className: r("border-b", e), ...t }));
61
- A.displayName = "AccordionItem";
62
- const F = s.forwardRef(({ className: e, children: t, ...a }, n) => /* @__PURE__ */ o(p.Header, { className: "flex", children: /* @__PURE__ */ m(
63
- p.Trigger,
90
+ O.displayName = "Button";
91
+ const Ke = f.Root, E = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(f.Item, { ref: a, className: r("border-b", e), ...t }));
92
+ E.displayName = "AccordionItem";
93
+ const q = s.forwardRef(({ className: e, children: t, ...a }, n) => /* @__PURE__ */ o(f.Header, { className: "flex", children: /* @__PURE__ */ m(
94
+ f.Trigger,
64
95
  {
65
96
  ref: n,
66
97
  className: r(
@@ -70,13 +101,13 @@ const F = s.forwardRef(({ className: e, children: t, ...a }, n) => /* @__PURE__
70
101
  ...a,
71
102
  children: [
72
103
  t,
73
- /* @__PURE__ */ o(y, { className: "h-4 w-4 shrink-0 transition-transform duration-200" })
104
+ /* @__PURE__ */ o(w, { className: "h-4 w-4 shrink-0 transition-transform duration-200" })
74
105
  ]
75
106
  }
76
107
  ) }));
77
- F.displayName = p.Trigger.displayName;
78
- const U = s.forwardRef(({ className: e, children: t, ...a }, n) => /* @__PURE__ */ o(
79
- p.Content,
108
+ q.displayName = f.Trigger.displayName;
109
+ const J = s.forwardRef(({ className: e, children: t, ...a }, n) => /* @__PURE__ */ o(
110
+ f.Content,
80
111
  {
81
112
  ref: n,
82
113
  className: "overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",
@@ -84,8 +115,8 @@ const U = s.forwardRef(({ className: e, children: t, ...a }, n) => /* @__PURE__
84
115
  children: /* @__PURE__ */ o("div", { className: r("pb-4 pt-0", e), children: t })
85
116
  }
86
117
  ));
87
- U.displayName = p.Content.displayName;
88
- const O = g(
118
+ J.displayName = f.Content.displayName;
119
+ const K = b(
89
120
  "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",
90
121
  {
91
122
  variants: {
@@ -101,14 +132,14 @@ const O = g(
101
132
  }
102
133
  }
103
134
  );
104
- function Ee({ className: e, variant: t, ...a }) {
105
- return /* @__PURE__ */ o("div", { className: r(O({ variant: t }), e), ...a });
135
+ function Qe({ className: e, variant: t, ...a }) {
136
+ return /* @__PURE__ */ o("div", { className: r(K({ variant: t }), e), ...a });
106
137
  }
107
- function E({ className: e, classNames: t, showOutsideDays: a = !0, ...n }) {
138
+ function Q({ className: e, classNames: t, showOutsideDays: a = !0, ...n }) {
108
139
  return /* @__PURE__ */ o(
109
- M,
140
+ j,
110
141
  {
111
- locale: j,
142
+ locale: L,
112
143
  showOutsideDays: a,
113
144
  className: r("p-3 bg-white border-none", e),
114
145
  classNames: {
@@ -118,7 +149,7 @@ function E({ className: e, classNames: t, showOutsideDays: a = !0, ...n }) {
118
149
  caption_label: "text-sm font-medium",
119
150
  nav: "space-x-1 flex items-center",
120
151
  nav_button: r(
121
- u({ variant: "outline" }),
152
+ g({ variant: "outline" }),
122
153
  "h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100"
123
154
  ),
124
155
  nav_button_previous: "absolute left-1",
@@ -129,7 +160,7 @@ function E({ className: e, classNames: t, showOutsideDays: a = !0, ...n }) {
129
160
  row: "flex w-full mt-2",
130
161
  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",
131
162
  day: r(
132
- u({ variant: "ghost" }),
163
+ g({ variant: "ghost" }),
133
164
  "h-9 w-9 p-0 font-normal aria-selected:opacity-100"
134
165
  ),
135
166
  day_range_end: "day-range-end",
@@ -142,16 +173,16 @@ function E({ className: e, classNames: t, showOutsideDays: a = !0, ...n }) {
142
173
  ...t
143
174
  },
144
175
  components: {
145
- IconLeft: ({ ...l }) => /* @__PURE__ */ o(I, { className: "h-4 w-4" }),
146
- IconRight: ({ ...l }) => /* @__PURE__ */ o(N, { className: "h-4 w-4" })
176
+ IconLeft: ({ ...l }) => /* @__PURE__ */ o(z, { className: "h-4 w-4" }),
177
+ IconRight: ({ ...l }) => /* @__PURE__ */ o(v, { className: "h-4 w-4" })
147
178
  },
148
179
  ...n
149
180
  }
150
181
  );
151
182
  }
152
- E.displayName = "Calendar";
153
- const q = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
154
- b.Root,
183
+ Q.displayName = "Calendar";
184
+ const W = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
185
+ h.Root,
155
186
  {
156
187
  ref: a,
157
188
  className: r(
@@ -160,16 +191,16 @@ const q = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
160
191
  ),
161
192
  ...t,
162
193
  children: /* @__PURE__ */ o(
163
- b.Indicator,
194
+ h.Indicator,
164
195
  {
165
196
  className: r("flex items-center justify-center text-current"),
166
- children: /* @__PURE__ */ o(w, { className: "h-4 w-4" })
197
+ children: /* @__PURE__ */ o(x, { className: "h-4 w-4" })
167
198
  }
168
199
  )
169
200
  }
170
201
  ));
171
- q.displayName = b.Root.displayName;
172
- const J = g(
202
+ W.displayName = h.Root.displayName;
203
+ const X = b(
173
204
  "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",
174
205
  {
175
206
  variants: {
@@ -178,23 +209,23 @@ const J = g(
178
209
  }
179
210
  }
180
211
  }
181
- ), K = s.forwardRef(
212
+ ), Y = s.forwardRef(
182
213
  ({ className: e, variant: t, type: a, ...n }, l) => /* @__PURE__ */ o(
183
214
  "input",
184
215
  {
185
216
  type: a,
186
- className: r(J({ variant: t, className: e })),
217
+ className: r(X({ variant: t, className: e })),
187
218
  ref: l,
188
219
  ...n
189
220
  }
190
221
  )
191
222
  );
192
- K.displayName = "Input";
193
- const Q = g(
223
+ Y.displayName = "Input";
224
+ const Z = b(
194
225
  "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
195
- ), W = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(v.Root, { ref: a, className: r(Q(), e), ...t }));
196
- W.displayName = v.Root.displayName;
197
- const qe = d.Root, Je = d.Group, Ke = d.Value, X = s.forwardRef(({ className: e, children: t, ...a }, n) => /* @__PURE__ */ m(
226
+ ), $ = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(R.Root, { ref: a, className: r(Z(), e), ...t }));
227
+ $.displayName = R.Root.displayName;
228
+ const We = d.Root, Xe = d.Group, Ye = d.Value, ee = s.forwardRef(({ className: e, children: t, ...a }, n) => /* @__PURE__ */ m(
198
229
  d.Trigger,
199
230
  {
200
231
  ref: n,
@@ -205,32 +236,32 @@ const qe = d.Root, Je = d.Group, Ke = d.Value, X = s.forwardRef(({ className: e,
205
236
  ...a,
206
237
  children: [
207
238
  t,
208
- /* @__PURE__ */ o(d.Icon, { asChild: !0, children: /* @__PURE__ */ o(y, { className: "h-4 w-4 opacity-50" }) })
239
+ /* @__PURE__ */ o(d.Icon, { asChild: !0, children: /* @__PURE__ */ o(w, { className: "h-4 w-4 opacity-50" }) })
209
240
  ]
210
241
  }
211
242
  ));
212
- X.displayName = d.Trigger.displayName;
213
- const R = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
243
+ ee.displayName = d.Trigger.displayName;
244
+ const C = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
214
245
  d.ScrollUpButton,
215
246
  {
216
247
  ref: a,
217
248
  className: r("flex cursor-default items-center justify-center py-1", e),
218
249
  ...t,
219
- children: /* @__PURE__ */ o(z, { className: "h-4 w-4" })
250
+ children: /* @__PURE__ */ o(_, { className: "h-4 w-4" })
220
251
  }
221
252
  ));
222
- R.displayName = d.ScrollUpButton.displayName;
223
- const C = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
253
+ C.displayName = d.ScrollUpButton.displayName;
254
+ const k = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
224
255
  d.ScrollDownButton,
225
256
  {
226
257
  ref: a,
227
258
  className: r("flex cursor-default items-center justify-center py-1", e),
228
259
  ...t,
229
- children: /* @__PURE__ */ o(y, { className: "h-4 w-4" })
260
+ children: /* @__PURE__ */ o(w, { className: "h-4 w-4" })
230
261
  }
231
262
  ));
232
- C.displayName = d.ScrollDownButton.displayName;
233
- const Y = s.forwardRef(({ className: e, children: t, position: a = "popper", ...n }, l) => /* @__PURE__ */ o(d.Portal, { children: /* @__PURE__ */ m(
263
+ k.displayName = d.ScrollDownButton.displayName;
264
+ const te = s.forwardRef(({ className: e, children: t, position: a = "popper", ...n }, l) => /* @__PURE__ */ o(d.Portal, { children: /* @__PURE__ */ m(
234
265
  d.Content,
235
266
  {
236
267
  ref: l,
@@ -242,7 +273,7 @@ const Y = s.forwardRef(({ className: e, children: t, position: a = "popper", ...
242
273
  position: a,
243
274
  ...n,
244
275
  children: [
245
- /* @__PURE__ */ o(R, {}),
276
+ /* @__PURE__ */ o(C, {}),
246
277
  /* @__PURE__ */ o(
247
278
  d.Viewport,
248
279
  {
@@ -253,12 +284,12 @@ const Y = s.forwardRef(({ className: e, children: t, position: a = "popper", ...
253
284
  children: t
254
285
  }
255
286
  ),
256
- /* @__PURE__ */ o(C, {})
287
+ /* @__PURE__ */ o(k, {})
257
288
  ]
258
289
  }
259
290
  ) }));
260
- Y.displayName = d.Content.displayName;
261
- const Z = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
291
+ te.displayName = d.Content.displayName;
292
+ const ae = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
262
293
  d.Label,
263
294
  {
264
295
  ref: a,
@@ -266,8 +297,8 @@ const Z = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
266
297
  ...t
267
298
  }
268
299
  ));
269
- Z.displayName = d.Label.displayName;
270
- const $ = s.forwardRef(({ className: e, children: t, ...a }, n) => /* @__PURE__ */ m(
300
+ ae.displayName = d.Label.displayName;
301
+ const oe = s.forwardRef(({ className: e, children: t, ...a }, n) => /* @__PURE__ */ m(
271
302
  d.Item,
272
303
  {
273
304
  ref: n,
@@ -277,13 +308,13 @@ const $ = s.forwardRef(({ className: e, children: t, ...a }, n) => /* @__PURE__
277
308
  ),
278
309
  ...a,
279
310
  children: [
280
- /* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(d.ItemIndicator, { children: /* @__PURE__ */ o(w, { className: "h-4 w-4" }) }) }),
311
+ /* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(d.ItemIndicator, { children: /* @__PURE__ */ o(x, { className: "h-4 w-4" }) }) }),
281
312
  /* @__PURE__ */ o(d.ItemText, { children: t })
282
313
  ]
283
314
  }
284
315
  ));
285
- $.displayName = d.Item.displayName;
286
- const ee = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
316
+ oe.displayName = d.Item.displayName;
317
+ const re = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
287
318
  d.Separator,
288
319
  {
289
320
  ref: a,
@@ -291,8 +322,8 @@ const ee = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
291
322
  ...t
292
323
  }
293
324
  ));
294
- ee.displayName = d.Separator.displayName;
295
- const te = s.forwardRef(
325
+ re.displayName = d.Separator.displayName;
326
+ const se = s.forwardRef(
296
327
  ({ className: e, ...t }, a) => /* @__PURE__ */ o(
297
328
  "textarea",
298
329
  {
@@ -305,9 +336,9 @@ const te = s.forwardRef(
305
336
  }
306
337
  )
307
338
  );
308
- te.displayName = "Textarea";
309
- const Qe = f.Root, We = f.Trigger, ae = s.forwardRef(({ className: e, align: t = "center", sideOffset: a = 4, ...n }, l) => /* @__PURE__ */ o(f.Portal, { children: /* @__PURE__ */ o(
310
- f.Content,
339
+ se.displayName = "Textarea";
340
+ const Ze = u.Root, $e = u.Trigger, ne = s.forwardRef(({ className: e, align: t = "center", sideOffset: a = 4, ...n }, l) => /* @__PURE__ */ o(u.Portal, { children: /* @__PURE__ */ o(
341
+ u.Content,
311
342
  {
312
343
  ref: l,
313
344
  align: t,
@@ -319,9 +350,9 @@ const Qe = f.Root, We = f.Trigger, ae = s.forwardRef(({ className: e, align: t =
319
350
  ...n
320
351
  }
321
352
  ) }));
322
- ae.displayName = f.Content.displayName;
323
- const oe = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
324
- h.Root,
353
+ ne.displayName = u.Content.displayName;
354
+ const ie = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
355
+ y.Root,
325
356
  {
326
357
  className: r(
327
358
  "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",
@@ -330,7 +361,7 @@ const oe = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
330
361
  ...t,
331
362
  ref: a,
332
363
  children: /* @__PURE__ */ o(
333
- h.Thumb,
364
+ y.Thumb,
334
365
  {
335
366
  className: r(
336
367
  "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"
@@ -339,8 +370,8 @@ const oe = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
339
370
  )
340
371
  }
341
372
  ));
342
- oe.displayName = h.Root.displayName;
343
- const re = s.forwardRef(
373
+ ie.displayName = y.Root.displayName;
374
+ const de = s.forwardRef(
344
375
  ({ className: e, ...t }, a) => /* @__PURE__ */ o("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ o(
345
376
  "table",
346
377
  {
@@ -350,12 +381,12 @@ const re = s.forwardRef(
350
381
  }
351
382
  ) })
352
383
  );
353
- re.displayName = "Table";
354
- const se = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o("thead", { ref: a, className: r("[&_tr]:border-b", e), ...t }));
355
- se.displayName = "TableHeader";
356
- const ne = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o("tbody", { ref: a, className: r("[&_tr:last-child]:border-0", e), ...t }));
357
- ne.displayName = "TableBody";
358
- const ie = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
384
+ de.displayName = "Table";
385
+ const le = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o("thead", { ref: a, className: r("[&_tr]:border-b", e), ...t }));
386
+ le.displayName = "TableHeader";
387
+ const ce = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o("tbody", { ref: a, className: r("[&_tr:last-child]:border-0", e), ...t }));
388
+ ce.displayName = "TableBody";
389
+ const me = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
359
390
  "tfoot",
360
391
  {
361
392
  ref: a,
@@ -363,8 +394,8 @@ const ie = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
363
394
  ...t
364
395
  }
365
396
  ));
366
- ie.displayName = "TableFooter";
367
- const de = s.forwardRef(
397
+ me.displayName = "TableFooter";
398
+ const fe = s.forwardRef(
368
399
  ({ className: e, ...t }, a) => /* @__PURE__ */ o(
369
400
  "tr",
370
401
  {
@@ -377,8 +408,8 @@ const de = s.forwardRef(
377
408
  }
378
409
  )
379
410
  );
380
- de.displayName = "TableRow";
381
- const le = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
411
+ fe.displayName = "TableRow";
412
+ const pe = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
382
413
  "th",
383
414
  {
384
415
  ref: a,
@@ -389,8 +420,8 @@ const le = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
389
420
  ...t
390
421
  }
391
422
  ));
392
- le.displayName = "TableHead";
393
- const ce = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
423
+ pe.displayName = "TableHead";
424
+ const ue = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
394
425
  "td",
395
426
  {
396
427
  ref: a,
@@ -398,10 +429,10 @@ const ce = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
398
429
  ...t
399
430
  }
400
431
  ));
401
- ce.displayName = "TableCell";
402
- const me = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o("caption", { ref: a, className: r("mt-4 text-sm text-muted-foreground", e), ...t }));
403
- me.displayName = "TableCaption";
404
- const Xe = i.Root, Ye = i.Trigger, Ze = i.Group, $e = i.Portal, et = i.Sub, tt = i.RadioGroup, pe = s.forwardRef(({ className: e, inset: t, children: a, ...n }, l) => /* @__PURE__ */ m(
432
+ ue.displayName = "TableCell";
433
+ const ge = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o("caption", { ref: a, className: r("mt-4 text-sm text-muted-foreground", e), ...t }));
434
+ ge.displayName = "TableCaption";
435
+ const et = i.Root, tt = i.Trigger, at = i.Group, ot = i.Portal, rt = i.Sub, st = i.RadioGroup, be = s.forwardRef(({ className: e, inset: t, children: a, ...n }, l) => /* @__PURE__ */ m(
405
436
  i.SubTrigger,
406
437
  {
407
438
  ref: l,
@@ -413,12 +444,12 @@ const Xe = i.Root, Ye = i.Trigger, Ze = i.Group, $e = i.Portal, et = i.Sub, tt =
413
444
  ...n,
414
445
  children: [
415
446
  a,
416
- /* @__PURE__ */ o(N, { className: "ml-auto" })
447
+ /* @__PURE__ */ o(v, { className: "ml-auto" })
417
448
  ]
418
449
  }
419
450
  ));
420
- pe.displayName = i.SubTrigger.displayName;
421
- const fe = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
451
+ be.displayName = i.SubTrigger.displayName;
452
+ const he = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
422
453
  i.SubContent,
423
454
  {
424
455
  ref: a,
@@ -429,8 +460,8 @@ const fe = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
429
460
  ...t
430
461
  }
431
462
  ));
432
- fe.displayName = i.SubContent.displayName;
433
- const ue = s.forwardRef(({ className: e, sideOffset: t = 4, ...a }, n) => /* @__PURE__ */ o(i.Portal, { children: /* @__PURE__ */ o(
463
+ he.displayName = i.SubContent.displayName;
464
+ const ye = s.forwardRef(({ className: e, sideOffset: t = 4, ...a }, n) => /* @__PURE__ */ o(i.Portal, { children: /* @__PURE__ */ o(
434
465
  i.Content,
435
466
  {
436
467
  ref: n,
@@ -442,8 +473,8 @@ const ue = s.forwardRef(({ className: e, sideOffset: t = 4, ...a }, n) => /* @__
442
473
  ...a
443
474
  }
444
475
  ) }));
445
- ue.displayName = i.Content.displayName;
446
- const ge = s.forwardRef(({ className: e, inset: t, ...a }, n) => /* @__PURE__ */ o(
476
+ ye.displayName = i.Content.displayName;
477
+ const we = s.forwardRef(({ className: e, inset: t, ...a }, n) => /* @__PURE__ */ o(
447
478
  i.Item,
448
479
  {
449
480
  ref: n,
@@ -455,8 +486,8 @@ const ge = s.forwardRef(({ className: e, inset: t, ...a }, n) => /* @__PURE__ */
455
486
  ...a
456
487
  }
457
488
  ));
458
- ge.displayName = i.Item.displayName;
459
- const be = s.forwardRef(({ className: e, children: t, checked: a, ...n }, l) => /* @__PURE__ */ m(
489
+ we.displayName = i.Item.displayName;
490
+ const xe = s.forwardRef(({ className: e, children: t, checked: a, ...n }, l) => /* @__PURE__ */ m(
460
491
  i.CheckboxItem,
461
492
  {
462
493
  ref: l,
@@ -467,13 +498,13 @@ const be = s.forwardRef(({ className: e, children: t, checked: a, ...n }, l) =>
467
498
  checked: a,
468
499
  ...n,
469
500
  children: [
470
- /* @__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(w, { className: "h-4 w-4" }) }) }),
501
+ /* @__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(x, { className: "h-4 w-4" }) }) }),
471
502
  t
472
503
  ]
473
504
  }
474
505
  ));
475
- be.displayName = i.CheckboxItem.displayName;
476
- const he = s.forwardRef(({ className: e, children: t, ...a }, n) => /* @__PURE__ */ m(
506
+ xe.displayName = i.CheckboxItem.displayName;
507
+ const Ne = s.forwardRef(({ className: e, children: t, ...a }, n) => /* @__PURE__ */ m(
477
508
  i.RadioItem,
478
509
  {
479
510
  ref: n,
@@ -483,13 +514,13 @@ const he = s.forwardRef(({ className: e, children: t, ...a }, n) => /* @__PURE__
483
514
  ),
484
515
  ...a,
485
516
  children: [
486
- /* @__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(_, { className: "h-2 w-2 fill-current" }) }) }),
517
+ /* @__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(M, { className: "h-2 w-2 fill-current" }) }) }),
487
518
  t
488
519
  ]
489
520
  }
490
521
  ));
491
- he.displayName = i.RadioItem.displayName;
492
- const ye = s.forwardRef(({ className: e, inset: t, ...a }, n) => /* @__PURE__ */ o(
522
+ Ne.displayName = i.RadioItem.displayName;
523
+ const ve = s.forwardRef(({ className: e, inset: t, ...a }, n) => /* @__PURE__ */ o(
493
524
  i.Label,
494
525
  {
495
526
  ref: n,
@@ -497,8 +528,8 @@ const ye = s.forwardRef(({ className: e, inset: t, ...a }, n) => /* @__PURE__ */
497
528
  ...a
498
529
  }
499
530
  ));
500
- ye.displayName = i.Label.displayName;
501
- const we = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
531
+ ve.displayName = i.Label.displayName;
532
+ const Re = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
502
533
  i.Separator,
503
534
  {
504
535
  ref: a,
@@ -506,10 +537,10 @@ const we = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
506
537
  ...t
507
538
  }
508
539
  ));
509
- we.displayName = i.Separator.displayName;
510
- const xe = ({ className: e, ...t }) => /* @__PURE__ */ o("span", { className: r("ml-auto text-xs tracking-widest opacity-60", e), ...t });
511
- xe.displayName = "DropdownMenuShortcut";
512
- const at = c.Root, ot = c.Trigger, Ne = c.Portal, rt = c.Close, k = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
540
+ Re.displayName = i.Separator.displayName;
541
+ const Ce = ({ className: e, ...t }) => /* @__PURE__ */ o("span", { className: r("ml-auto text-xs tracking-widest opacity-60", e), ...t });
542
+ Ce.displayName = "DropdownMenuShortcut";
543
+ const nt = c.Root, it = c.Trigger, ke = c.Portal, dt = c.Close, D = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
513
544
  c.Overlay,
514
545
  {
515
546
  ref: a,
@@ -520,9 +551,9 @@ const at = c.Root, ot = c.Trigger, Ne = c.Portal, rt = c.Close, k = s.forwardRef
520
551
  ...t
521
552
  }
522
553
  ));
523
- k.displayName = c.Overlay.displayName;
524
- const ve = s.forwardRef(({ className: e, children: t, ...a }, n) => /* @__PURE__ */ m(Ne, { children: [
525
- /* @__PURE__ */ o(k, {}),
554
+ D.displayName = c.Overlay.displayName;
555
+ const De = s.forwardRef(({ className: e, children: t, ...a }, n) => /* @__PURE__ */ m(ke, { children: [
556
+ /* @__PURE__ */ o(D, {}),
526
557
  /* @__PURE__ */ m(
527
558
  c.Content,
528
559
  {
@@ -535,31 +566,31 @@ const ve = s.forwardRef(({ className: e, children: t, ...a }, n) => /* @__PURE__
535
566
  children: [
536
567
  t,
537
568
  /* @__PURE__ */ m(c.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: [
538
- /* @__PURE__ */ o(L, { className: "h-4 w-4" }),
569
+ /* @__PURE__ */ o(B, { className: "h-4 w-4" }),
539
570
  /* @__PURE__ */ o("span", { className: "sr-only", children: "Close" })
540
571
  ] })
541
572
  ]
542
573
  }
543
574
  )
544
575
  ] }));
545
- ve.displayName = c.Content.displayName;
546
- const Re = ({ className: e, ...t }) => /* @__PURE__ */ o(
576
+ De.displayName = c.Content.displayName;
577
+ const Te = ({ className: e, ...t }) => /* @__PURE__ */ o(
547
578
  "div",
548
579
  {
549
580
  className: r("flex flex-col space-y-1.5 text-center sm:text-left", e),
550
581
  ...t
551
582
  }
552
583
  );
553
- Re.displayName = "DialogHeader";
554
- const Ce = ({ className: e, ...t }) => /* @__PURE__ */ o(
584
+ Te.displayName = "DialogHeader";
585
+ const Ie = ({ className: e, ...t }) => /* @__PURE__ */ o(
555
586
  "div",
556
587
  {
557
588
  className: r("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e),
558
589
  ...t
559
590
  }
560
591
  );
561
- Ce.displayName = "DialogFooter";
562
- const ke = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
592
+ Ie.displayName = "DialogFooter";
593
+ const Pe = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
563
594
  c.Title,
564
595
  {
565
596
  ref: a,
@@ -567,8 +598,8 @@ const ke = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
567
598
  ...t
568
599
  }
569
600
  ));
570
- ke.displayName = c.Title.displayName;
571
- const De = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
601
+ Pe.displayName = c.Title.displayName;
602
+ const Se = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
572
603
  c.Description,
573
604
  {
574
605
  ref: a,
@@ -576,8 +607,8 @@ const De = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
576
607
  ...t
577
608
  }
578
609
  ));
579
- De.displayName = c.Description.displayName;
580
- const Te = ({ className: e, ...t }) => /* @__PURE__ */ o(
610
+ Se.displayName = c.Description.displayName;
611
+ const ze = ({ className: e, ...t }) => /* @__PURE__ */ o(
581
612
  "nav",
582
613
  {
583
614
  role: "navigation",
@@ -586,21 +617,21 @@ const Te = ({ className: e, ...t }) => /* @__PURE__ */ o(
586
617
  ...t
587
618
  }
588
619
  );
589
- Te.displayName = "Pagination";
590
- const Pe = s.forwardRef(
620
+ ze.displayName = "Pagination";
621
+ const _e = s.forwardRef(
591
622
  ({ className: e, ...t }, a) => /* @__PURE__ */ o("ul", { ref: a, className: r("flex flex-row items-center gap-1", e), ...t })
592
623
  );
593
- Pe.displayName = "PaginationContent";
594
- const Se = s.forwardRef(
624
+ _e.displayName = "PaginationContent";
625
+ const Me = s.forwardRef(
595
626
  ({ className: e, ...t }, a) => /* @__PURE__ */ o("li", { ref: a, className: r("", e), ...t })
596
627
  );
597
- Se.displayName = "PaginationItem";
598
- const x = ({ className: e, isActive: t, size: a = "icon", ...n }) => /* @__PURE__ */ o(
628
+ Me.displayName = "PaginationItem";
629
+ const N = ({ className: e, isActive: t, size: a = "icon", ...n }) => /* @__PURE__ */ o(
599
630
  "a",
600
631
  {
601
632
  "aria-current": t ? "page" : void 0,
602
633
  className: r(
603
- u({
634
+ g({
604
635
  variant: t ? "outline" : "ghost",
605
636
  size: a
606
637
  }),
@@ -609,23 +640,23 @@ const x = ({ className: e, isActive: t, size: a = "icon", ...n }) => /* @__PURE_
609
640
  ...n
610
641
  }
611
642
  );
612
- x.displayName = "PaginationLink";
613
- const Ie = ({
643
+ N.displayName = "PaginationLink";
644
+ const je = ({
614
645
  className: e,
615
646
  ...t
616
647
  }) => /* @__PURE__ */ o(
617
- x,
648
+ N,
618
649
  {
619
650
  "aria-label": "Go to previous page",
620
651
  size: "default",
621
652
  className: r("gap-1 pl-2.5", e),
622
653
  ...t,
623
- children: /* @__PURE__ */ o(B, { className: "h-4 w-4" })
654
+ children: /* @__PURE__ */ o(A, { className: "h-4 w-4" })
624
655
  }
625
656
  );
626
- Ie.displayName = "PaginationPrevious";
627
- const ze = ({ className: e, ...t }) => /* @__PURE__ */ o(
628
- x,
657
+ je.displayName = "PaginationPrevious";
658
+ const Le = ({ className: e, ...t }) => /* @__PURE__ */ o(
659
+ N,
629
660
  {
630
661
  "aria-label": "Go to next page",
631
662
  size: "default",
@@ -634,8 +665,8 @@ const ze = ({ className: e, ...t }) => /* @__PURE__ */ o(
634
665
  children: /* @__PURE__ */ o(V, { className: "h-4 w-4" })
635
666
  }
636
667
  );
637
- ze.displayName = "PaginationNext";
638
- const _e = ({ className: e, ...t }) => /* @__PURE__ */ m(
668
+ Le.displayName = "PaginationNext";
669
+ const Be = ({ className: e, ...t }) => /* @__PURE__ */ m(
639
670
  "span",
640
671
  {
641
672
  "aria-hidden": !0,
@@ -647,71 +678,74 @@ const _e = ({ className: e, ...t }) => /* @__PURE__ */ m(
647
678
  ]
648
679
  }
649
680
  );
650
- _e.displayName = "PaginationEllipsis";
681
+ Be.displayName = "PaginationEllipsis";
651
682
  export {
652
- Oe as Accordion,
653
- U as AccordionContent,
654
- A as AccordionItem,
655
- F as AccordionTrigger,
656
- Ee as Badge,
657
- H as Button,
658
- E as Calendar,
659
- q as Checkbox,
660
- at as Dialog,
661
- rt as DialogClose,
662
- ve as DialogContent,
663
- De as DialogDescription,
664
- Ce as DialogFooter,
665
- Re as DialogHeader,
666
- k as DialogOverlay,
667
- Ne as DialogPortal,
668
- ke as DialogTitle,
669
- ot as DialogTrigger,
670
- Xe as DropdownMenu,
671
- be as DropdownMenuCheckboxItem,
672
- ue as DropdownMenuContent,
673
- Ze as DropdownMenuGroup,
674
- ge as DropdownMenuItem,
675
- ye as DropdownMenuLabel,
676
- $e as DropdownMenuPortal,
677
- tt as DropdownMenuRadioGroup,
678
- he as DropdownMenuRadioItem,
679
- we as DropdownMenuSeparator,
680
- xe as DropdownMenuShortcut,
681
- et as DropdownMenuSub,
682
- fe as DropdownMenuSubContent,
683
- pe as DropdownMenuSubTrigger,
684
- Ye as DropdownMenuTrigger,
685
- K as Input,
686
- W as Label,
687
- Te as Pagination,
688
- Pe as PaginationContent,
689
- _e as PaginationEllipsis,
690
- Se as PaginationItem,
691
- x as PaginationLink,
692
- ze as PaginationNext,
693
- Ie as PaginationPrevious,
694
- Qe as Popover,
695
- ae as PopoverContent,
696
- We as PopoverTrigger,
697
- qe as Select,
698
- Y as SelectContent,
699
- Je as SelectGroup,
700
- $ as SelectItem,
701
- Z as SelectLabel,
702
- C as SelectScrollDownButton,
703
- R as SelectScrollUpButton,
704
- ee as SelectSeparator,
705
- X as SelectTrigger,
706
- Ke as SelectValue,
707
- oe as Switch,
708
- re as Table,
709
- ne as TableBody,
710
- me as TableCaption,
711
- ce as TableCell,
712
- ie as TableFooter,
713
- le as TableHead,
714
- se as TableHeader,
715
- de as TableRow,
716
- te as Textarea
683
+ Ke as Accordion,
684
+ J as AccordionContent,
685
+ E as AccordionItem,
686
+ q as AccordionTrigger,
687
+ H as Avatar,
688
+ U as AvatarFallback,
689
+ F as AvatarImage,
690
+ Qe as Badge,
691
+ O as Button,
692
+ Q as Calendar,
693
+ W as Checkbox,
694
+ nt as Dialog,
695
+ dt as DialogClose,
696
+ De as DialogContent,
697
+ Se as DialogDescription,
698
+ Ie as DialogFooter,
699
+ Te as DialogHeader,
700
+ D as DialogOverlay,
701
+ ke as DialogPortal,
702
+ Pe as DialogTitle,
703
+ it as DialogTrigger,
704
+ et as DropdownMenu,
705
+ xe as DropdownMenuCheckboxItem,
706
+ ye as DropdownMenuContent,
707
+ at as DropdownMenuGroup,
708
+ we as DropdownMenuItem,
709
+ ve as DropdownMenuLabel,
710
+ ot as DropdownMenuPortal,
711
+ st as DropdownMenuRadioGroup,
712
+ Ne as DropdownMenuRadioItem,
713
+ Re as DropdownMenuSeparator,
714
+ Ce as DropdownMenuShortcut,
715
+ rt as DropdownMenuSub,
716
+ he as DropdownMenuSubContent,
717
+ be as DropdownMenuSubTrigger,
718
+ tt as DropdownMenuTrigger,
719
+ Y as Input,
720
+ $ as Label,
721
+ ze as Pagination,
722
+ _e as PaginationContent,
723
+ Be as PaginationEllipsis,
724
+ Me as PaginationItem,
725
+ N as PaginationLink,
726
+ Le as PaginationNext,
727
+ je as PaginationPrevious,
728
+ Ze as Popover,
729
+ ne as PopoverContent,
730
+ $e as PopoverTrigger,
731
+ We as Select,
732
+ te as SelectContent,
733
+ Xe as SelectGroup,
734
+ oe as SelectItem,
735
+ ae as SelectLabel,
736
+ k as SelectScrollDownButton,
737
+ C as SelectScrollUpButton,
738
+ re as SelectSeparator,
739
+ ee as SelectTrigger,
740
+ Ye as SelectValue,
741
+ ie as Switch,
742
+ de as Table,
743
+ ce as TableBody,
744
+ ge as TableCaption,
745
+ ue as TableCell,
746
+ me as TableFooter,
747
+ pe as TableHead,
748
+ le as TableHeader,
749
+ fe as TableRow,
750
+ se as Textarea
717
751
  };
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ export { Avatar, AvatarImage, AvatarFallback } from './components/atoms/Avatar/avatar';
1
2
  export { Button } from './components/atoms/Button/button';
2
3
  export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, } from './components/atoms/Accordion/accordion';
3
4
  export { Badge } from './components/atoms/Badge/badge';
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.16",
4
+ "version": "1.0.18",
5
5
  "author": {
6
6
  "name": "IMJ - Antonio Diego",
7
7
  "email": "antonio.diego@imjmedia.com.mx"
@@ -16,8 +16,8 @@
16
16
  "require": "./dist/imj-ui.cjs"
17
17
  },
18
18
  "./styles.css": {
19
- "require": "./dist/styles.css",
20
- "default": "./dist/styles.css"
19
+ "require": "./dist/style.css",
20
+ "import": "./dist/style.css"
21
21
  }
22
22
  },
23
23
  "files": [
@@ -34,6 +34,7 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@radix-ui/react-accordion": "^1.2.1",
37
+ "@radix-ui/react-avatar": "^1.1.2",
37
38
  "@radix-ui/react-checkbox": "^1.1.2",
38
39
  "@radix-ui/react-dialog": "^1.1.2",
39
40
  "@radix-ui/react-icons": "^1.3.0",
@@ -94,5 +95,5 @@
94
95
  "access": "public",
95
96
  "registry": "https://registry.npmjs.org/@imjmedia"
96
97
  },
97
- "gitHead": "61c123dd2647301d0df775c32d0b57b92c39d217"
98
+ "gitHead": "a64970b216f38b022a9d9ecbd80261c8013cb86a"
98
99
  }