@xebecship/ui 0.0.3 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/README.md +3 -0
  2. package/dist/components/ui/accordion.js +2 -2
  3. package/dist/components/ui/alert-dialog.js +2 -2
  4. package/dist/components/ui/alert.js +2 -2
  5. package/dist/components/ui/avatar.js +4 -4
  6. package/dist/components/ui/breadcrumb.js +3 -3
  7. package/dist/components/ui/calendar.js +1 -1
  8. package/dist/components/ui/card.js +3 -3
  9. package/dist/components/ui/chart.js +1 -1
  10. package/dist/components/ui/checkbox.js +1 -1
  11. package/dist/components/ui/command.js +4 -4
  12. package/dist/components/ui/context-menu.js +7 -7
  13. package/dist/components/ui/dialog.js +3 -3
  14. package/dist/components/ui/drawer.js +5 -5
  15. package/dist/components/ui/dropdown-menu.js +8 -8
  16. package/dist/components/ui/empty.js +4 -4
  17. package/dist/components/ui/field.js +8 -8
  18. package/dist/components/ui/hover-card.js +1 -1
  19. package/dist/components/ui/input-group.js +4 -4
  20. package/dist/components/ui/input-otp.js +3 -3
  21. package/dist/components/ui/input.js +1 -1
  22. package/dist/components/ui/item.js +7 -7
  23. package/dist/components/ui/kbd.js +2 -2
  24. package/dist/components/ui/label.js +1 -1
  25. package/dist/components/ui/menubar.js +8 -8
  26. package/dist/components/ui/navigation-menu.js +6 -6
  27. package/dist/components/ui/pagination.js +7 -7
  28. package/dist/components/ui/popover.js +1 -1
  29. package/dist/components/ui/progress.js +1 -1
  30. package/dist/components/ui/radio-group.js +2 -2
  31. package/dist/components/ui/resizable.js +1 -1
  32. package/dist/components/ui/scroll-area.js +1 -1
  33. package/dist/components/ui/select.js +15 -15
  34. package/dist/components/ui/sheet.js +3 -3
  35. package/dist/components/ui/sidebar.js +12 -12
  36. package/dist/components/ui/skeleton.js +1 -1
  37. package/dist/components/ui/slider.js +2 -2
  38. package/dist/components/ui/sonner.js +2 -2
  39. package/dist/components/ui/switch.js +1 -1
  40. package/dist/components/ui/tabs.js +3 -3
  41. package/dist/components/ui/textarea.js +1 -1
  42. package/dist/components/ui/toggle-group.js +2 -2
  43. package/dist/components/ui/tooltip.js +2 -2
  44. package/dist/index.d.ts +5 -2
  45. package/dist/index.js +1 -1
  46. package/package.json +3 -5
package/README.md CHANGED
@@ -2,6 +2,9 @@
2
2
 
3
3
  A high-performance, tree-shakable component library built on top of **Shadcn UI**, powered by **Tailwind CSS v4** and **React 19**.
4
4
 
5
+ > [!WARNING]
6
+ > **Alpha Release:** This package is currently in active development. APIs and configurations are subject to breaking changes until version `1.0.0`. Use with caution in production environments.
7
+
5
8
  ## **Features**
6
9
 
7
10
  - **Tree-shakable**: Import only what you use.
@@ -1,7 +1,7 @@
1
1
  import{jsx as e,jsxs as r}from"react/jsx-runtime";import{cn as o}from"../../lib/utils.js";import{IconChevronDown as a,IconChevronUp as t}from"@tabler/icons-react";import{AccordionRoot as n}from"../../node_modules/.pnpm/@base-ui_react@1.0.0_@types_react@19.2.7_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@base-ui/react/esm/accordion/root/AccordionRoot.js";import{AccordionItem as i}from"../../node_modules/.pnpm/@base-ui_react@1.0.0_@types_react@19.2.7_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@base-ui/react/esm/accordion/item/AccordionItem.js";import{AccordionHeader as c}from"../../node_modules/.pnpm/@base-ui_react@1.0.0_@types_react@19.2.7_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@base-ui/react/esm/accordion/header/AccordionHeader.js";import{AccordionTrigger as d}from"../../node_modules/.pnpm/@base-ui_react@1.0.0_@types_react@19.2.7_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@base-ui/react/esm/accordion/trigger/AccordionTrigger.js";import{AccordionPanel as s}from"../../node_modules/.pnpm/@base-ui_react@1.0.0_@types_react@19.2.7_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@base-ui/react/esm/accordion/panel/AccordionPanel.js";function l({className:r,...a}){/* @__PURE__ */
2
2
  return e(n,{"data-slot":"accordion",className:o("flex w-full flex-col",r),...a})}function m({className:r,...a}){/* @__PURE__ */
3
3
  return e(i,{"data-slot":"accordion-item",className:o("not-last:border-b",r),...a})}function u({className:n,children:i,...s}){/* @__PURE__ */
4
- return e(c,{className:"flex",children:/* @__PURE__ */r(d,{"data-slot":"accordion-trigger",className:o("focus-visible:ring-ring/50 focus-visible:border-ring focus-visible:after:border-ring **:data-[slot=accordion-trigger-icon]:text-muted-foreground rounded-none py-2.5 text-left text-xs font-medium hover:underline focus-visible:ring-1 **:data-[slot=accordion-trigger-icon]:ml-auto **:data-[slot=accordion-trigger-icon]:size-4 group/accordion-trigger relative flex flex-1 items-start justify-between border border-transparent transition-all outline-none disabled:pointer-events-none disabled:opacity-50",n),...s,children:[i,
4
+ return e(c,{className:"flex",children:/* @__PURE__ */r(d,{"data-slot":"accordion-trigger",className:o("focus-visible:ring-ring/50 focus-visible:border-ring focus-visible:after:border-ring **:data-[slot=accordion-trigger-icon]:text-muted-foreground group/accordion-trigger relative flex flex-1 items-start justify-between rounded-none border border-transparent py-2.5 text-left text-xs font-medium transition-all outline-none hover:underline focus-visible:ring-1 disabled:pointer-events-none disabled:opacity-50 **:data-[slot=accordion-trigger-icon]:ml-auto **:data-[slot=accordion-trigger-icon]:size-4",n),...s,children:[i,
5
5
  /* @__PURE__ */e(a,{"data-slot":"accordion-trigger-icon",className:"pointer-events-none shrink-0 group-aria-expanded/accordion-trigger:hidden"}),
6
6
  /* @__PURE__ */e(t,{"data-slot":"accordion-trigger-icon",className:"pointer-events-none hidden shrink-0 group-aria-expanded/accordion-trigger:inline"})]})})}function _({className:r,children:a,...t}){/* @__PURE__ */
7
- return e(s,{"data-slot":"accordion-content",className:"data-open:animate-accordion-down data-closed:animate-accordion-up text-xs overflow-hidden",...t,children:/* @__PURE__ */e("div",{className:o("pt-0 pb-2.5 [&_a]:hover:text-foreground h-(--accordion-panel-height) data-ending-style:h-0 data-starting-style:h-0 [&_a]:underline [&_a]:underline-offset-3 [&_p:not(:last-child)]:mb-4",r),children:a})})}export{l as Accordion,_ as AccordionContent,m as AccordionItem,u as AccordionTrigger};
7
+ return e(s,{"data-slot":"accordion-content",className:"data-open:animate-accordion-down data-closed:animate-accordion-up overflow-hidden text-xs",...t,children:/* @__PURE__ */e("div",{className:o("[&_a]:hover:text-foreground h-(--accordion-panel-height) pt-0 pb-2.5 data-ending-style:h-0 data-starting-style:h-0 [&_a]:underline [&_a]:underline-offset-3 [&_p:not(:last-child)]:mb-4",r),children:a})})}export{l as Accordion,_ as AccordionContent,m as AccordionItem,u as AccordionTrigger};
@@ -2,10 +2,10 @@ import{jsx as a,jsxs as e}from"react/jsx-runtime";import"react";import{cn as t}f
2
2
  return a(r,{"data-slot":"alert-dialog",...e})}function g({...e}){/* @__PURE__ */
3
3
  return a(m,{"data-slot":"alert-dialog-trigger",...e})}function p({...e}){/* @__PURE__ */
4
4
  return a(n,{"data-slot":"alert-dialog-portal",...e})}function _({className:e,...o}){/* @__PURE__ */
5
- return a(i,{"data-slot":"alert-dialog-overlay",className:t("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs fixed inset-0 isolate z-50",e),...o})}function f({className:o,size:r="default",...s}){/* @__PURE__ */
5
+ return a(i,{"data-slot":"alert-dialog-overlay",className:t("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 fixed inset-0 isolate z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs",e),...o})}function f({className:o,size:r="default",...s}){/* @__PURE__ */
6
6
  return e(p,{children:[
7
7
  /* @__PURE__ */a(_,{}),
8
- /* @__PURE__ */a(d,{"data-slot":"alert-dialog-content","data-size":r,className:t("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 bg-background ring-foreground/10 gap-4 rounded-none p-4 ring-1 duration-100 data-[size=default]:max-w-xs data-[size=sm]:max-w-xs data-[size=default]:sm:max-w-sm group/alert-dialog-content fixed top-1/2 left-1/2 z-50 grid w-full -translate-x-1/2 -translate-y-1/2 outline-none",o),...s})]})}function b({className:e,...o}){/* @__PURE__ */
8
+ /* @__PURE__ */a(d,{"data-slot":"alert-dialog-content","data-size":r,className:t("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 bg-background ring-foreground/10 group/alert-dialog-content fixed top-1/2 left-1/2 z-50 grid w-full -translate-x-1/2 -translate-y-1/2 gap-4 rounded-none p-4 ring-1 duration-100 outline-none data-[size=default]:max-w-xs data-[size=sm]:max-w-xs data-[size=default]:sm:max-w-sm",o),...s})]})}function b({className:e,...o}){/* @__PURE__ */
9
9
  return a("div",{"data-slot":"alert-dialog-header",className:t("grid grid-rows-[auto_1fr] place-items-center gap-1.5 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-4 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-left sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]",e),...o})}function x({className:e,...o}){/* @__PURE__ */
10
10
  return a("div",{"data-slot":"alert-dialog-footer",className:t("flex flex-col-reverse gap-2 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end",e),...o})}function z({className:e,...o}){/* @__PURE__ */
11
11
  return a("div",{"data-slot":"alert-dialog-media",className:t("bg-muted mb-2 inline-flex size-10 items-center justify-center rounded-none sm:group-data-[size=default]/alert-dialog-content:row-span-2 *:[svg:not([class*='size-'])]:size-6",e),...o})}function N({className:e,...o}){/* @__PURE__ */
@@ -1,5 +1,5 @@
1
1
  import{jsx as t}from"react/jsx-runtime";import"react";import{cva as a}from"class-variance-authority";import{cn as e}from"../../lib/utils.js";const r=a("grid gap-0.5 rounded-none border px-2.5 py-2 text-left text-xs has-data-[slot=alert-action]:relative has-data-[slot=alert-action]:pr-18 has-[>svg]:grid-cols-[auto_1fr] has-[>svg]:gap-x-2 *:[svg]:row-span-2 *:[svg]:translate-y-0 *:[svg]:text-current *:[svg:not([class*='size-'])]:size-4 w-full relative group/alert",{variants:{variant:{default:"bg-card text-card-foreground",destructive:"text-destructive bg-card *:data-[slot=alert-description]:text-destructive/90 *:[svg]:text-current"}},defaultVariants:{variant:"default"}});function s({className:a,variant:s,...l}){/* @__PURE__ */
2
2
  return t("div",{"data-slot":"alert",role:"alert",className:e(r({variant:s}),a),...l})}function l({className:a,...r}){/* @__PURE__ */
3
- return t("div",{"data-slot":"alert-title",className:e("font-medium group-has-[>svg]/alert:col-start-2 [&_a]:hover:text-foreground [&_a]:underline [&_a]:underline-offset-3",a),...r})}function o({className:a,...r}){/* @__PURE__ */
4
- return t("div",{"data-slot":"alert-description",className:e("text-muted-foreground text-xs/relaxed text-balance md:text-pretty [&_p:not(:last-child)]:mb-2 [&_a]:hover:text-foreground [&_a]:underline [&_a]:underline-offset-3",a),...r})}function n({className:a,...r}){/* @__PURE__ */
3
+ return t("div",{"data-slot":"alert-title",className:e("[&_a]:hover:text-foreground font-medium group-has-[>svg]/alert:col-start-2 [&_a]:underline [&_a]:underline-offset-3",a),...r})}function o({className:a,...r}){/* @__PURE__ */
4
+ return t("div",{"data-slot":"alert-description",className:e("text-muted-foreground [&_a]:hover:text-foreground text-xs/relaxed text-balance md:text-pretty [&_a]:underline [&_a]:underline-offset-3 [&_p:not(:last-child)]:mb-2",a),...r})}function n({className:a,...r}){/* @__PURE__ */
5
5
  return t("div",{"data-slot":"alert-action",className:e("absolute top-[calc(--spacing(1.25))] right-[calc(--spacing(1.25))]",a),...r})}export{s as Alert,n as AlertAction,o as AlertDescription,l as AlertTitle};
@@ -1,7 +1,7 @@
1
1
  import{jsx as a}from"react/jsx-runtime";import"react";import{cn as e}from"../../lib/utils.js";import{AvatarRoot as t}from"../../node_modules/.pnpm/@base-ui_react@1.0.0_@types_react@19.2.7_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@base-ui/react/esm/avatar/root/AvatarRoot.js";import{AvatarImage as r}from"../../node_modules/.pnpm/@base-ui_react@1.0.0_@types_react@19.2.7_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@base-ui/react/esm/avatar/image/AvatarImage.js";import{AvatarFallback as s}from"../../node_modules/.pnpm/@base-ui_react@1.0.0_@types_react@19.2.7_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@base-ui/react/esm/avatar/fallback/AvatarFallback.js";function o({className:r,size:s="default",...o}){/* @__PURE__ */
2
- return a(t,{"data-slot":"avatar","data-size":s,className:e("size-8 rounded-full after:rounded-full data-[size=lg]:size-10 data-[size=sm]:size-6 after:border-border group/avatar relative flex shrink-0 select-none after:absolute after:inset-0 after:border after:mix-blend-darken dark:after:mix-blend-lighten",r),...o})}function i({className:t,...s}){/* @__PURE__ */
3
- return a(r,{"data-slot":"avatar-image",className:e("rounded-full aspect-square size-full object-cover",t),...s})}function u({className:t,...r}){/* @__PURE__ */
4
- return a(s,{"data-slot":"avatar-fallback",className:e("bg-muted text-muted-foreground rounded-full flex size-full items-center justify-center text-sm group-data-[size=sm]/avatar:text-xs",t),...r})}function l({className:t,...r}){/* @__PURE__ */
2
+ return a(t,{"data-slot":"avatar","data-size":s,className:e("after:border-border group/avatar relative flex size-8 shrink-0 rounded-full select-none after:absolute after:inset-0 after:rounded-full after:border after:mix-blend-darken data-[size=lg]:size-10 data-[size=sm]:size-6 dark:after:mix-blend-lighten",r),...o})}function i({className:t,...s}){/* @__PURE__ */
3
+ return a(r,{"data-slot":"avatar-image",className:e("aspect-square size-full rounded-full object-cover",t),...s})}function u({className:t,...r}){/* @__PURE__ */
4
+ return a(s,{"data-slot":"avatar-fallback",className:e("bg-muted text-muted-foreground flex size-full items-center justify-center rounded-full text-sm group-data-[size=sm]/avatar:text-xs",t),...r})}function l({className:t,...r}){/* @__PURE__ */
5
5
  return a("span",{"data-slot":"avatar-badge",className:e("bg-primary text-primary-foreground ring-background absolute right-0 bottom-0 z-10 inline-flex items-center justify-center rounded-full bg-blend-color ring-2 select-none","group-data-[size=sm]/avatar:size-2 group-data-[size=sm]/avatar:[&>svg]:hidden","group-data-[size=default]/avatar:size-2.5 group-data-[size=default]/avatar:[&>svg]:size-2","group-data-[size=lg]/avatar:size-3 group-data-[size=lg]/avatar:[&>svg]:size-2",t),...r})}function d({className:t,...r}){/* @__PURE__ */
6
6
  return a("div",{"data-slot":"avatar-group",className:e("*:data-[slot=avatar]:ring-background group/avatar-group flex -space-x-2 *:data-[slot=avatar]:ring-2",t),...r})}function n({className:t,...r}){/* @__PURE__ */
7
- return a("div",{"data-slot":"avatar-group-count",className:e("bg-muted text-muted-foreground size-8 rounded-full text-xs group-has-data-[size=lg]/avatar-group:size-10 group-has-data-[size=sm]/avatar-group:size-6 [&>svg]:size-4 group-has-data-[size=lg]/avatar-group:[&>svg]:size-5 group-has-data-[size=sm]/avatar-group:[&>svg]:size-3 ring-background relative flex shrink-0 items-center justify-center ring-2",t),...r})}export{o as Avatar,l as AvatarBadge,u as AvatarFallback,d as AvatarGroup,n as AvatarGroupCount,i as AvatarImage};
7
+ return a("div",{"data-slot":"avatar-group-count",className:e("bg-muted text-muted-foreground ring-background relative flex size-8 shrink-0 items-center justify-center rounded-full text-xs ring-2 group-has-data-[size=lg]/avatar-group:size-10 group-has-data-[size=sm]/avatar-group:size-6 [&>svg]:size-4 group-has-data-[size=lg]/avatar-group:[&>svg]:size-5 group-has-data-[size=sm]/avatar-group:[&>svg]:size-3",t),...r})}export{o as Avatar,l as AvatarBadge,u as AvatarFallback,d as AvatarGroup,n as AvatarGroupCount,i as AvatarImage};
@@ -1,9 +1,9 @@
1
1
  import{jsx as e,jsxs as r}from"react/jsx-runtime";import"react";import{cn as a}from"../../lib/utils.js";import{IconChevronRight as t,IconDots as s}from"@tabler/icons-react";import{useRender as n}from"../../node_modules/.pnpm/@base-ui_react@1.0.0_@types_react@19.2.7_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@base-ui/react/esm/use-render/useRender.js";import{mergeProps as o}from"../../node_modules/.pnpm/@base-ui_react@1.0.0_@types_react@19.2.7_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@base-ui/react/esm/merge-props/mergeProps.js";function c({className:r,...t}){/* @__PURE__ */
2
2
  return e("nav",{"aria-label":"breadcrumb","data-slot":"breadcrumb",className:a(r),...t})}function l({className:r,...t}){/* @__PURE__ */
3
- return e("ol",{"data-slot":"breadcrumb-list",className:a("text-muted-foreground gap-1.5 text-xs flex flex-wrap items-center break-words",r),...t})}function i({className:r,...t}){/* @__PURE__ */
4
- return e("li",{"data-slot":"breadcrumb-item",className:a("gap-1 inline-flex items-center",r),...t})}function m({className:e,render:r,...t}){return n({defaultTagName:"a",props:o({className:a("hover:text-foreground transition-colors",e)},t),render:r,state:{slot:"breadcrumb-link"}})}function d({className:r,...t}){/* @__PURE__ */
3
+ return e("ol",{"data-slot":"breadcrumb-list",className:a("text-muted-foreground flex flex-wrap items-center gap-1.5 text-xs break-words",r),...t})}function i({className:r,...t}){/* @__PURE__ */
4
+ return e("li",{"data-slot":"breadcrumb-item",className:a("inline-flex items-center gap-1",r),...t})}function m({className:e,render:r,...t}){return n({defaultTagName:"a",props:o({className:a("hover:text-foreground transition-colors",e)},t),render:r,state:{slot:"breadcrumb-link"}})}function d({className:r,...t}){/* @__PURE__ */
5
5
  return e("span",{"data-slot":"breadcrumb-page",role:"link","aria-disabled":"true","aria-current":"page",className:a("text-foreground font-normal",r),...t})}function u({children:r,className:s,...n}){/* @__PURE__ */
6
6
  return e("li",{"data-slot":"breadcrumb-separator",role:"presentation","aria-hidden":"true",className:a("[&>svg]:size-3.5",s),...n,children:r??/* @__PURE__ */e(t,{})})}function p({className:t,...n}){/* @__PURE__ */
7
- return r("span",{"data-slot":"breadcrumb-ellipsis",role:"presentation","aria-hidden":"true",className:a("size-5 [&>svg]:size-4 flex items-center justify-center",t),...n,children:[
7
+ return r("span",{"data-slot":"breadcrumb-ellipsis",role:"presentation","aria-hidden":"true",className:a("flex size-5 items-center justify-center [&>svg]:size-4",t),...n,children:[
8
8
  /* @__PURE__ */e(s,{}),
9
9
  /* @__PURE__ */e("span",{className:"sr-only",children:"More"})]})}export{c as Breadcrumb,p as BreadcrumbEllipsis,i as BreadcrumbItem,m as BreadcrumbLink,l as BreadcrumbList,d as BreadcrumbPage,u as BreadcrumbSeparator};
@@ -1,2 +1,2 @@
1
1
  import{jsx as e}from"react/jsx-runtime";import*as t from"react";import{getDefaultClassNames as a,DayPicker as r}from"react-day-picker";import{cn as d}from"../../lib/utils.js";import{buttonVariants as o,Button as n}from"./button.js";import{IconChevronLeft as l,IconChevronRight as s,IconChevronDown as u}from"@tabler/icons-react";function i({className:t,classNames:n,showOutsideDays:i=!0,captionLayout:m="label",buttonVariant:g="ghost",formatters:f,components:p,...b}){const x=a();/* @__PURE__ */
2
- return e(r,{showOutsideDays:i,className:d("p-2 [--cell-size:--spacing(7)] bg-background group/calendar [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent",String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`,String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`,t),captionLayout:m,formatters:{formatMonthDropdown:e=>e.toLocaleString("default",{month:"short"}),...f},classNames:{root:d("w-fit",x.root),months:d("flex gap-4 flex-col md:flex-row relative",x.months),month:d("flex flex-col w-full gap-4",x.month),nav:d("flex items-center gap-1 w-full absolute top-0 inset-x-0 justify-between",x.nav),button_previous:d(o({variant:g}),"size-(--cell-size) aria-disabled:opacity-50 p-0 select-none",x.button_previous),button_next:d(o({variant:g}),"size-(--cell-size) aria-disabled:opacity-50 p-0 select-none",x.button_next),month_caption:d("flex items-center justify-center h-(--cell-size) w-full px-(--cell-size)",x.month_caption),dropdowns:d("w-full flex items-center text-sm font-medium justify-center h-(--cell-size) gap-1.5",x.dropdowns),dropdown_root:d("relative cn-calendar-dropdown-root rounded-(--cell-radius)",x.dropdown_root),dropdown:d("absolute bg-popover inset-0 opacity-0",x.dropdown),caption_label:d("select-none font-medium","label"===m?"text-sm":"cn-calendar-caption-label rounded-(--cell-radius) flex items-center gap-1 text-sm [&>svg]:text-muted-foreground [&>svg]:size-3.5",x.caption_label),table:"w-full border-collapse",weekdays:d("flex",x.weekdays),weekday:d("text-muted-foreground rounded-(--cell-radius) flex-1 font-normal text-[0.8rem] select-none",x.weekday),week:d("flex w-full mt-2",x.week),week_number_header:d("select-none w-(--cell-size)",x.week_number_header),week_number:d("text-[0.8rem] select-none text-muted-foreground",x.week_number),day:d("relative w-full rounded-(--cell-radius) h-full p-0 text-center [&:last-child[data-selected=true]_button]:rounded-r-(--cell-radius) group/day aspect-square select-none",b.showWeekNumber?"[&:nth-child(2)[data-selected=true]_button]:rounded-l-(--cell-radius)":"[&:first-child[data-selected=true]_button]:rounded-l-(--cell-radius)",x.day),range_start:d("rounded-l-(--cell-radius) bg-muted elative after:bg-muted after:absolute after:inset-y-0 after:w-4 after:right-0 -z-0 isolate",x.range_start),range_middle:d("rounded-none",x.range_middle),range_end:d("rounded-r-(--cell-radius) bg-muted relative after:bg-muted after:absolute after:inset-y-0 after:w-4 after:left-0 -z-0 isolate",x.range_end),today:d("bg-muted text-foreground rounded-(--cell-radius) data-[selected=true]:rounded-none",x.today),outside:d("text-muted-foreground aria-selected:text-muted-foreground",x.outside),disabled:d("text-muted-foreground opacity-50",x.disabled),hidden:d("invisible",x.hidden),...n},components:{Root:({className:t,rootRef:a,...r})=>/* @__PURE__ */e("div",{"data-slot":"calendar",ref:a,className:d(t),...r}),Chevron:({className:t,orientation:a,...r})=>/* @__PURE__ */e("left"===a?l:"right"===a?s:u,{className:d("size-4",t),...r}),DayButton:c,WeekNumber:({children:t,...a})=>/* @__PURE__ */e("td",{...a,children:/* @__PURE__ */e("div",{className:"flex size-(--cell-size) items-center justify-center text-center",children:t})}),...p},...b})}function c({className:r,day:o,modifiers:l,...s}){const u=a(),i=t.useRef(null);return t.useEffect(()=>{l.focused&&i.current?.focus()},[l.focused]),/* @__PURE__ */e(n,{variant:"ghost",size:"icon","data-day":o.date.toLocaleDateString(),"data-selected-single":l.selected&&!l.range_start&&!l.range_end&&!l.range_middle,"data-range-start":l.range_start,"data-range-end":l.range_end,"data-range-middle":l.range_middle,className:d("data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground data-[range-middle=true]:bg-muted data-[range-middle=true]:text-foreground data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-ring/50 dark:hover:text-foreground relative isolate z-10 flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 border-0 leading-none font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:ring-[3px] data-[range-end=true]:rounded-(--cell-radius) data-[range-end=true]:rounded-r-(--cell-radius) data-[range-middle=true]:rounded-none data-[range-start=true]:rounded-(--cell-radius) data-[range-start=true]:rounded-l-(--cell-radius) [&>span]:text-xs [&>span]:opacity-70",u.day,r),...s})}export{i as Calendar,c as CalendarDayButton};
2
+ return e(r,{showOutsideDays:i,className:d("bg-background group/calendar p-2 [--cell-size:--spacing(7)] [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent",String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`,String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`,t),captionLayout:m,formatters:{formatMonthDropdown:e=>e.toLocaleString("default",{month:"short"}),...f},classNames:{root:d("w-fit",x.root),months:d("flex gap-4 flex-col md:flex-row relative",x.months),month:d("flex flex-col w-full gap-4",x.month),nav:d("flex items-center gap-1 w-full absolute top-0 inset-x-0 justify-between",x.nav),button_previous:d(o({variant:g}),"size-(--cell-size) aria-disabled:opacity-50 p-0 select-none",x.button_previous),button_next:d(o({variant:g}),"size-(--cell-size) aria-disabled:opacity-50 p-0 select-none",x.button_next),month_caption:d("flex items-center justify-center h-(--cell-size) w-full px-(--cell-size)",x.month_caption),dropdowns:d("w-full flex items-center text-sm font-medium justify-center h-(--cell-size) gap-1.5",x.dropdowns),dropdown_root:d("relative cn-calendar-dropdown-root rounded-(--cell-radius)",x.dropdown_root),dropdown:d("absolute bg-popover inset-0 opacity-0",x.dropdown),caption_label:d("select-none font-medium","label"===m?"text-sm":"cn-calendar-caption-label rounded-(--cell-radius) flex items-center gap-1 text-sm [&>svg]:text-muted-foreground [&>svg]:size-3.5",x.caption_label),table:"w-full border-collapse",weekdays:d("flex",x.weekdays),weekday:d("text-muted-foreground rounded-(--cell-radius) flex-1 font-normal text-[0.8rem] select-none",x.weekday),week:d("flex w-full mt-2",x.week),week_number_header:d("select-none w-(--cell-size)",x.week_number_header),week_number:d("text-[0.8rem] select-none text-muted-foreground",x.week_number),day:d("relative w-full rounded-(--cell-radius) h-full p-0 text-center [&:last-child[data-selected=true]_button]:rounded-r-(--cell-radius) group/day aspect-square select-none",b.showWeekNumber?"[&:nth-child(2)[data-selected=true]_button]:rounded-l-(--cell-radius)":"[&:first-child[data-selected=true]_button]:rounded-l-(--cell-radius)",x.day),range_start:d("rounded-l-(--cell-radius) bg-muted elative after:bg-muted after:absolute after:inset-y-0 after:w-4 after:right-0 -z-0 isolate",x.range_start),range_middle:d("rounded-none",x.range_middle),range_end:d("rounded-r-(--cell-radius) bg-muted relative after:bg-muted after:absolute after:inset-y-0 after:w-4 after:left-0 -z-0 isolate",x.range_end),today:d("bg-muted text-foreground rounded-(--cell-radius) data-[selected=true]:rounded-none",x.today),outside:d("text-muted-foreground aria-selected:text-muted-foreground",x.outside),disabled:d("text-muted-foreground opacity-50",x.disabled),hidden:d("invisible",x.hidden),...n},components:{Root:({className:t,rootRef:a,...r})=>/* @__PURE__ */e("div",{"data-slot":"calendar",ref:a,className:d(t),...r}),Chevron:({className:t,orientation:a,...r})=>/* @__PURE__ */e("left"===a?l:"right"===a?s:u,{className:d("size-4",t),...r}),DayButton:c,WeekNumber:({children:t,...a})=>/* @__PURE__ */e("td",{...a,children:/* @__PURE__ */e("div",{className:"flex size-(--cell-size) items-center justify-center text-center",children:t})}),...p},...b})}function c({className:r,day:o,modifiers:l,...s}){const u=a(),i=t.useRef(null);return t.useEffect(()=>{l.focused&&i.current?.focus()},[l.focused]),/* @__PURE__ */e(n,{variant:"ghost",size:"icon","data-day":o.date.toLocaleDateString(),"data-selected-single":l.selected&&!l.range_start&&!l.range_end&&!l.range_middle,"data-range-start":l.range_start,"data-range-end":l.range_end,"data-range-middle":l.range_middle,className:d("data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground data-[range-middle=true]:bg-muted data-[range-middle=true]:text-foreground data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-ring/50 dark:hover:text-foreground relative isolate z-10 flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 border-0 leading-none font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:ring-[3px] data-[range-end=true]:rounded-(--cell-radius) data-[range-end=true]:rounded-r-(--cell-radius) data-[range-middle=true]:rounded-none data-[range-start=true]:rounded-(--cell-radius) data-[range-start=true]:rounded-l-(--cell-radius) [&>span]:text-xs [&>span]:opacity-70",u.day,r),...s})}export{i as Calendar,c as CalendarDayButton};
@@ -1,8 +1,8 @@
1
1
  import{jsx as a}from"react/jsx-runtime";import"react";import{cn as t}from"../../lib/utils.js";function r({className:r,size:e="default",...s}){/* @__PURE__ */
2
- return a("div",{"data-slot":"card","data-size":e,className:t("ring-foreground/10 bg-card text-card-foreground gap-4 overflow-hidden rounded-none py-4 text-xs/relaxed ring-1 has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:gap-2 data-[size=sm]:py-3 data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-none *:[img:last-child]:rounded-none group/card flex flex-col",r),...s})}function e({className:r,...e}){/* @__PURE__ */
3
- return a("div",{"data-slot":"card-header",className:t("gap-1 rounded-none px-4 group-data-[size=sm]/card:px-3 [.border-b]:pb-4 group-data-[size=sm]/card:[.border-b]:pb-3 group/card-header @container/card-header grid auto-rows-min items-start has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto]",r),...e})}function s({className:r,...e}){/* @__PURE__ */
2
+ return a("div",{"data-slot":"card","data-size":e,className:t("ring-foreground/10 bg-card text-card-foreground group/card flex flex-col gap-4 overflow-hidden rounded-none py-4 text-xs/relaxed ring-1 has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:gap-2 data-[size=sm]:py-3 data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-none *:[img:last-child]:rounded-none",r),...s})}function e({className:r,...e}){/* @__PURE__ */
3
+ return a("div",{"data-slot":"card-header",className:t("group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-none px-4 group-data-[size=sm]/card:px-3 has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-4 group-data-[size=sm]/card:[.border-b]:pb-3",r),...e})}function s({className:r,...e}){/* @__PURE__ */
4
4
  return a("div",{"data-slot":"card-title",className:t("text-sm font-medium group-data-[size=sm]/card:text-sm",r),...e})}function d({className:r,...e}){/* @__PURE__ */
5
5
  return a("div",{"data-slot":"card-description",className:t("text-muted-foreground text-xs/relaxed",r),...e})}function o({className:r,...e}){/* @__PURE__ */
6
6
  return a("div",{"data-slot":"card-action",className:t("col-start-2 row-span-2 row-start-1 self-start justify-self-end",r),...e})}function c({className:r,...e}){/* @__PURE__ */
7
7
  return a("div",{"data-slot":"card-content",className:t("px-4 group-data-[size=sm]/card:px-3",r),...e})}function i({className:r,...e}){/* @__PURE__ */
8
- return a("div",{"data-slot":"card-footer",className:t("rounded-none border-t p-4 group-data-[size=sm]/card:p-3 flex items-center",r),...e})}export{r as Card,o as CardAction,c as CardContent,d as CardDescription,i as CardFooter,e as CardHeader,s as CardTitle};
8
+ return a("div",{"data-slot":"card-footer",className:t("flex items-center rounded-none border-t p-4 group-data-[size=sm]/card:p-3",r),...e})}export{r as Card,o as CardAction,c as CardContent,d as CardDescription,i as CardFooter,e as CardHeader,s as CardTitle};
@@ -2,7 +2,7 @@ import{jsx as e,jsxs as r,Fragment as t}from"react/jsx-runtime";import*as n from
2
2
  return e(s.Provider,{value:{config:i},children:/* @__PURE__ */r("div",{"data-slot":"chart","data-chart":h,className:o("[&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border flex aspect-video justify-center text-xs [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden",l),...u,children:[
3
3
  /* @__PURE__ */e(d,{id:h,config:i}),
4
4
  /* @__PURE__ */e(a.ResponsiveContainer,{children:c})]})})}const d=({id:r,config:t})=>{const n=Object.entries(t).filter(([,e])=>e.theme||e.color);return n.length?/* @__PURE__ */e("style",{dangerouslySetInnerHTML:{__html:Object.entries(l).map(([e,t])=>`\n${t} [data-chart=${r}] {\n${n.map(([r,t])=>{const n=t.theme?.[e]||t.color;return n?` --color-${r}: ${n};`:null}).join("\n")}\n}\n`).join("\n")}}):null},u=a.Tooltip;function m({active:a,payload:l,className:s,indicator:i="dot",hideLabel:d=!1,hideIndicator:u=!1,label:m,labelFormatter:h,labelClassName:f,formatter:p,color:b,nameKey:v,labelKey:y}){const{config:x}=c(),k=n.useMemo(()=>{if(d||!l?.length)return null;const[r]=l,t=g(x,r,`${y||r?.dataKey||r?.name||"value"}`),n=y||"string"!=typeof m?t?.label:x[m]?.label||m;return h?/* @__PURE__ */e("div",{className:o("font-medium",f),children:h(n,l)}):n?/* @__PURE__ */e("div",{className:o("font-medium",f),children:n}):null},[m,h,l,d,f,x,y]);if(!a||!l?.length)return null;const N=1===l.length&&"dot"!==i;/* @__PURE__ */
5
- return r("div",{className:o("border-border/50 bg-background gap-1.5 rounded-none border px-2.5 py-1.5 text-xs shadow-xl grid min-w-[8rem] items-start",s),children:[N?null:k,
5
+ return r("div",{className:o("border-border/50 bg-background grid min-w-[8rem] items-start gap-1.5 rounded-none border px-2.5 py-1.5 text-xs shadow-xl",s),children:[N?null:k,
6
6
  /* @__PURE__ */e("div",{className:"grid gap-1.5",children:l.filter(e=>"none"!==e.type).map((n,a)=>{const l=`${v||n.name||n.dataKey||"value"}`,s=g(x,n,l),c=b||n.payload.fill||n.color;/* @__PURE__ */
7
7
  return e("div",{className:o("[&>svg]:text-muted-foreground flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5","dot"===i&&"items-center"),children:p&&void 0!==n?.value&&n.name?p(n.value,n.name,n,a,n.payload):/* @__PURE__ */r(t,{children:[s?.icon?/* @__PURE__ */e(s.icon,{}):!u&&/* @__PURE__ */e("div",{className:o("shrink-0 rounded-[2px] border-(--color-border) bg-(--color-bg)",{"h-2.5 w-2.5":"dot"===i,"w-1":"line"===i,"w-0 border-[1.5px] border-dashed bg-transparent":"dashed"===i,"my-0.5":N&&"dashed"===i}),style:{"--color-bg":c,"--color-border":c}}),
8
8
  /* @__PURE__ */r("div",{className:o("flex flex-1 justify-between leading-none",N?"items-end":"items-center"),children:[
@@ -1,2 +1,2 @@
1
1
  import{jsx as e}from"react/jsx-runtime";import{cn as r}from"../../lib/utils.js";import{IconCheck as a}from"@tabler/icons-react";import{CheckboxRoot as i}from"../../node_modules/.pnpm/@base-ui_react@1.0.0_@types_react@19.2.7_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@base-ui/react/esm/checkbox/root/CheckboxRoot.js";import{CheckboxIndicator as t}from"../../node_modules/.pnpm/@base-ui_react@1.0.0_@types_react@19.2.7_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@base-ui/react/esm/checkbox/indicator/CheckboxIndicator.js";function o({className:o,...c}){/* @__PURE__ */
2
- return e(i,{"data-slot":"checkbox",className:r("border-input dark:bg-input/30 data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary data-checked:border-primary aria-invalid:aria-checked:border-primary aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 flex size-4 items-center justify-center rounded-none border transition-colors group-has-disabled/field:opacity-50 focus-visible:ring-1 aria-invalid:ring-1 peer relative shrink-0 outline-none after:absolute after:-inset-x-3 after:-inset-y-2 disabled:cursor-not-allowed disabled:opacity-50",o),...c,children:/* @__PURE__ */e(t,{"data-slot":"checkbox-indicator",className:"[&>svg]:size-3.5 grid place-content-center text-current transition-none",children:/* @__PURE__ */e(a,{})})})}export{o as Checkbox};
2
+ return e(i,{"data-slot":"checkbox",className:r("border-input dark:bg-input/30 data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary data-checked:border-primary aria-invalid:aria-checked:border-primary aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 peer relative flex size-4 shrink-0 items-center justify-center rounded-none border transition-colors outline-none group-has-disabled/field:opacity-50 after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:ring-1 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:ring-1",o),...c,children:/* @__PURE__ */e(t,{"data-slot":"checkbox-indicator",className:"grid place-content-center text-current transition-none [&>svg]:size-3.5",children:/* @__PURE__ */e(a,{})})})}export{o as Checkbox};
@@ -1,17 +1,17 @@
1
1
  import{jsx as e,jsxs as t}from"react/jsx-runtime";import"react";import{Command as o}from"cmdk";import{cn as a}from"../../lib/utils.js";import{Dialog as n,DialogHeader as r,DialogTitle as d,DialogDescription as s,DialogContent as l}from"./dialog.js";import{InputGroup as c,InputGroupAddon as m}from"./input-group.js";import{IconSearch as i,IconCheck as u}from"@tabler/icons-react";function p({className:t,...n}){/* @__PURE__ */
2
- return e(o,{"data-slot":"command",className:a("bg-popover text-popover-foreground rounded-none flex size-full flex-col overflow-hidden",t),...n})}function h({title:o="Command Palette",description:c="Search for a command to run...",children:m,className:i,showCloseButton:u=!1,...p}){/* @__PURE__ */
2
+ return e(o,{"data-slot":"command",className:a("bg-popover text-popover-foreground flex size-full flex-col overflow-hidden rounded-none",t),...n})}function h({title:o="Command Palette",description:c="Search for a command to run...",children:m,className:i,showCloseButton:u=!1,...p}){/* @__PURE__ */
3
3
  return t(n,{...p,children:[
4
4
  /* @__PURE__ */t(r,{className:"sr-only",children:[
5
5
  /* @__PURE__ */e(d,{children:o}),
6
6
  /* @__PURE__ */e(s,{children:c})]}),
7
- /* @__PURE__ */e(l,{className:a("rounded-none overflow-hidden p-0",i),showCloseButton:u,children:m})]})}function f({className:n,...r}){/* @__PURE__ */
7
+ /* @__PURE__ */e(l,{className:a("overflow-hidden rounded-none p-0",i),showCloseButton:u,children:m})]})}function f({className:n,...r}){/* @__PURE__ */
8
8
  return e("div",{"data-slot":"command-input-wrapper",className:"border-b pb-0",children:/* @__PURE__ */t(c,{className:"bg-input/30 border-input/30 h-8 border-none shadow-none! *:data-[slot=input-group-addon]:pl-2!",children:[
9
9
  /* @__PURE__ */e(o.Input,{"data-slot":"command-input",className:a("w-full text-xs outline-hidden disabled:cursor-not-allowed disabled:opacity-50",n),...r}),
10
10
  /* @__PURE__ */e(m,{children:/* @__PURE__ */e(i,{className:"size-4 shrink-0 opacity-50"})})]})})}function g({className:t,...n}){/* @__PURE__ */
11
- return e(o.List,{"data-slot":"command-list",className:a("no-scrollbar max-h-72 scroll-py-0 outline-none overflow-x-hidden overflow-y-auto",t),...n})}function x({className:t,...n}){/* @__PURE__ */
11
+ return e(o.List,{"data-slot":"command-list",className:a("no-scrollbar max-h-72 scroll-py-0 overflow-x-hidden overflow-y-auto outline-none",t),...n})}function x({className:t,...n}){/* @__PURE__ */
12
12
  return e(o.Empty,{"data-slot":"command-empty",className:a("py-6 text-center text-xs",t),...n})}function N({className:t,...n}){/* @__PURE__ */
13
13
  return e(o.Group,{"data-slot":"command-group",className:a("text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs",t),...n})}function b({className:t,...n}){/* @__PURE__ */
14
14
  return e(o.Separator,{"data-slot":"command-separator",className:a("bg-border -mx-1 h-px",t),...n})}function v({className:n,children:r,...d}){/* @__PURE__ */
15
- return t(o.Item,{"data-slot":"command-item",className:a("data-selected:bg-muted data-selected:text-foreground data-selected:*:[svg]:text-foreground relative flex cursor-default items-center gap-2 rounded-none px-2 py-2 text-xs outline-hidden select-none [&_svg:not([class*='size-'])]:size-4 [[data-slot=dialog-content]_&]:rounded-none! group/command-item data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",n),...d,children:[r,
15
+ return t(o.Item,{"data-slot":"command-item",className:a("data-selected:bg-muted data-selected:text-foreground data-selected:*:[svg]:text-foreground group/command-item relative flex cursor-default items-center gap-2 rounded-none px-2 py-2 text-xs outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [[data-slot=dialog-content]_&]:rounded-none!",n),...d,children:[r,
16
16
  /* @__PURE__ */e(u,{className:"ml-auto opacity-0 group-has-[[data-slot=command-shortcut]]/command-item:hidden group-data-[checked=true]/command-item:opacity-100"})]})}function y({className:t,...o}){/* @__PURE__ */
17
17
  return e("span",{"data-slot":"command-shortcut",className:a("text-muted-foreground group-data-selected/command-item:text-foreground ml-auto text-xs tracking-widest",t),...o})}export{p as Command,h as CommandDialog,x as CommandEmpty,N as CommandGroup,f as CommandInput,v as CommandItem,g as CommandList,b as CommandSeparator,y as CommandShortcut};
@@ -2,18 +2,18 @@ import{jsx as e,jsxs as t}from"react/jsx-runtime";import"react";import{cn as a}f
2
2
  return e(r,{"data-slot":"context-menu",...t})}function N({...t}){/* @__PURE__ */
3
3
  return e(c,{"data-slot":"context-menu-portal",...t})}function j({className:t,...o}){/* @__PURE__ */
4
4
  return e(s,{"data-slot":"context-menu-trigger",className:a("select-none",t),...o})}function M({className:t,align:o="start",alignOffset:n=4,side:r="right",sideOffset:s=0,...u}){/* @__PURE__ */
5
- return e(c,{children:/* @__PURE__ */e(i,{className:"isolate z-50 outline-none",align:o,alignOffset:n,side:r,sideOffset:s,children:/* @__PURE__ */e(d,{"data-slot":"context-menu-content",className:a("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-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 ring-foreground/10 bg-popover text-popover-foreground min-w-36 rounded-none shadow-md ring-1 duration-100 z-50 max-h-(--available-height) origin-(--transform-origin) overflow-x-hidden overflow-y-auto outline-none",t),...u})})})}function k({...t}){/* @__PURE__ */
5
+ return e(c,{children:/* @__PURE__ */e(i,{className:"isolate z-50 outline-none",align:o,alignOffset:n,side:r,sideOffset:s,children:/* @__PURE__ */e(d,{"data-slot":"context-menu-content",className:a("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-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 ring-foreground/10 bg-popover text-popover-foreground z-50 max-h-(--available-height) min-w-36 origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-none shadow-md ring-1 duration-100 outline-none",t),...u})})})}function k({...t}){/* @__PURE__ */
6
6
  return e(b,{"data-slot":"context-menu-group",...t})}function z({className:t,inset:o,...n}){/* @__PURE__ */
7
7
  return e(f,{"data-slot":"context-menu-label","data-inset":o,className:a("text-muted-foreground px-2 py-2 text-xs data-[inset]:pl-8",t),...n})}function I({className:t,inset:o,variant:n="default",...r}){/* @__PURE__ */
8
- return e(u,{"data-slot":"context-menu-item","data-inset":o,"data-variant":n,className:a("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:text-destructive focus:*:[svg]:text-accent-foreground gap-2 rounded-none px-2 py-2 text-xs [&_svg:not([class*='size-'])]:size-4 group/context-menu-item relative flex cursor-default items-center outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0",t),...r})}function w({...t}){/* @__PURE__ */
8
+ return e(u,{"data-slot":"context-menu-item","data-inset":o,"data-variant":n,className:a("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:text-destructive focus:*:[svg]:text-accent-foreground group/context-menu-item relative flex cursor-default items-center gap-2 rounded-none px-2 py-2 text-xs outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t),...r})}function w({...t}){/* @__PURE__ */
9
9
  return e(x,{"data-slot":"context-menu-sub",...t})}function C({className:o,inset:r,children:s,...c}){/* @__PURE__ */
10
- return t(v,{"data-slot":"context-menu-sub-trigger","data-inset":r,className:a("focus:bg-accent focus:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground gap-2 rounded-none px-2 py-2 text-xs [&_svg:not([class*='size-'])]:size-4 flex cursor-default items-center outline-hidden select-none data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0",o),...c,children:[s,
10
+ return t(v,{"data-slot":"context-menu-sub-trigger","data-inset":r,className:a("focus:bg-accent focus:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground flex cursor-default items-center gap-2 rounded-none px-2 py-2 text-xs outline-hidden select-none data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",o),...c,children:[s,
11
11
  /* @__PURE__ */e(n,{className:"ml-auto"})]})}function R({...t}){/* @__PURE__ */
12
12
  return e(M,{"data-slot":"context-menu-sub-content",className:"shadow-lg",side:"right",...t})}function O({className:n,children:r,checked:s,...c}){/* @__PURE__ */
13
- return t(m,{"data-slot":"context-menu-checkbox-item",className:a("focus:bg-accent focus:text-accent-foreground gap-2 rounded-none py-2 pr-8 pl-2 text-xs [&_svg:not([class*='size-'])]:size-4 relative flex cursor-default items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",n),checked:s,...c,children:[
14
- /* @__PURE__ */e("span",{className:"absolute right-2 pointer-events-none",children:/* @__PURE__ */e(_,{children:/* @__PURE__ */e(o,{})})}),r]})}function G({...t}){/* @__PURE__ */
13
+ return t(m,{"data-slot":"context-menu-checkbox-item",className:a("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-none py-2 pr-8 pl-2 text-xs outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",n),checked:s,...c,children:[
14
+ /* @__PURE__ */e("span",{className:"pointer-events-none absolute right-2",children:/* @__PURE__ */e(_,{children:/* @__PURE__ */e(o,{})})}),r]})}function G({...t}){/* @__PURE__ */
15
15
  return e(h,{"data-slot":"context-menu-radio-group",...t})}function P({className:n,children:r,...s}){/* @__PURE__ */
16
- return t(l,{"data-slot":"context-menu-radio-item",className:a("focus:bg-accent focus:text-accent-foreground gap-2 rounded-none py-2 pr-8 pl-2 text-xs [&_svg:not([class*='size-'])]:size-4 relative flex cursor-default items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",n),...s,children:[
17
- /* @__PURE__ */e("span",{className:"absolute right-2 pointer-events-none",children:/* @__PURE__ */e(p,{children:/* @__PURE__ */e(o,{})})}),r]})}function S({className:t,...o}){/* @__PURE__ */
16
+ return t(l,{"data-slot":"context-menu-radio-item",className:a("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-none py-2 pr-8 pl-2 text-xs outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",n),...s,children:[
17
+ /* @__PURE__ */e("span",{className:"pointer-events-none absolute right-2",children:/* @__PURE__ */e(p,{children:/* @__PURE__ */e(o,{})})}),r]})}function S({className:t,...o}){/* @__PURE__ */
18
18
  return e(g,{"data-slot":"context-menu-separator",className:a("bg-border -mx-1 h-px",t),...o})}function T({className:t,...o}){/* @__PURE__ */
19
19
  return e("span",{"data-slot":"context-menu-shortcut",className:a("text-muted-foreground group-focus/context-menu-item:text-accent-foreground ml-auto text-xs tracking-widest",t),...o})}export{y as ContextMenu,O as ContextMenuCheckboxItem,M as ContextMenuContent,k as ContextMenuGroup,I as ContextMenuItem,z as ContextMenuLabel,N as ContextMenuPortal,G as ContextMenuRadioGroup,P as ContextMenuRadioItem,S as ContextMenuSeparator,T as ContextMenuShortcut,w as ContextMenuSub,R as ContextMenuSubContent,C as ContextMenuSubTrigger,j as ContextMenuTrigger};
@@ -3,13 +3,13 @@ return e(s,{"data-slot":"dialog",...a})}function p({...a}){/* @__PURE__ */
3
3
  return e(u,{"data-slot":"dialog-trigger",...a})}function g({...a}){/* @__PURE__ */
4
4
  return e(c,{"data-slot":"dialog-portal",...a})}function f({...a}){/* @__PURE__ */
5
5
  return e(l,{"data-slot":"dialog-close",...a})}function b({className:a,...t}){/* @__PURE__ */
6
- return e(n,{"data-slot":"dialog-overlay",className:o("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs fixed inset-0 isolate z-50",a),...t})}function x({className:s,children:d,showCloseButton:n=!0,...c}){/* @__PURE__ */
6
+ return e(n,{"data-slot":"dialog-overlay",className:o("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 fixed inset-0 isolate z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs",a),...t})}function x({className:s,children:d,showCloseButton:n=!0,...c}){/* @__PURE__ */
7
7
  return a(g,{children:[
8
8
  /* @__PURE__ */e(b,{}),
9
- /* @__PURE__ */a(i,{"data-slot":"dialog-content",className:o("bg-background data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 ring-foreground/10 grid max-w-[calc(100%-2rem)] gap-4 rounded-none p-4 text-xs/relaxed ring-1 duration-100 sm:max-w-sm fixed top-1/2 left-1/2 z-50 w-full -translate-x-1/2 -translate-y-1/2 outline-none",s),...c,children:[d,n&&/* @__PURE__ */a(l,{"data-slot":"dialog-close",render:/* @__PURE__ */e(t,{variant:"ghost",className:"absolute top-2 right-2",size:"icon-sm"}),children:[
9
+ /* @__PURE__ */a(i,{"data-slot":"dialog-content",className:o("bg-background data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 ring-foreground/10 fixed top-1/2 left-1/2 z-50 grid w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-4 rounded-none p-4 text-xs/relaxed ring-1 duration-100 outline-none sm:max-w-sm",s),...c,children:[d,n&&/* @__PURE__ */a(l,{"data-slot":"dialog-close",render:/* @__PURE__ */e(t,{variant:"ghost",className:"absolute top-2 right-2",size:"icon-sm"}),children:[
10
10
  /* @__PURE__ */e(r,{}),
11
11
  /* @__PURE__ */e("span",{className:"sr-only",children:"Close"})]})]})]})}function D({className:a,...t}){/* @__PURE__ */
12
- return e("div",{"data-slot":"dialog-header",className:o("gap-1 text-left flex flex-col",a),...t})}function h({className:r,showCloseButton:s=!1,children:i,...d}){/* @__PURE__ */
12
+ return e("div",{"data-slot":"dialog-header",className:o("flex flex-col gap-1 text-left",a),...t})}function h({className:r,showCloseButton:s=!1,children:i,...d}){/* @__PURE__ */
13
13
  return a("div",{"data-slot":"dialog-footer",className:o("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",r),...d,children:[i,s&&/* @__PURE__ */e(l,{render:/* @__PURE__ */e(t,{variant:"outline"}),children:"Close"})]})}function N({className:a,...t}){/* @__PURE__ */
14
14
  return e(m,{"data-slot":"dialog-title",className:o("text-sm font-medium",a),...t})}function j({className:a,...t}){/* @__PURE__ */
15
15
  return e(d,{"data-slot":"dialog-description",className:o("text-muted-foreground *:[a]:hover:text-foreground text-xs/relaxed *:[a]:underline *:[a]:underline-offset-3",a),...t})}export{_ as Dialog,f as DialogClose,x as DialogContent,j as DialogDescription,h as DialogFooter,D as DialogHeader,b as DialogOverlay,g as DialogPortal,N as DialogTitle,p as DialogTrigger};
@@ -3,12 +3,12 @@ return t(r.Root,{"data-slot":"drawer",...a})}function o({...a}){/* @__PURE__ */
3
3
  return t(r.Trigger,{"data-slot":"drawer-trigger",...a})}function n({...a}){/* @__PURE__ */
4
4
  return t(r.Portal,{"data-slot":"drawer-portal",...a})}function i({...a}){/* @__PURE__ */
5
5
  return t(r.Close,{"data-slot":"drawer-close",...a})}function l({className:a,...d}){/* @__PURE__ */
6
- return t(r.Overlay,{"data-slot":"drawer-overlay",className:e("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/10 supports-backdrop-filter:backdrop-blur-xs fixed inset-0 z-50",a),...d})}function c({className:d,children:o,...i}){/* @__PURE__ */
6
+ return t(r.Overlay,{"data-slot":"drawer-overlay",className:e("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 fixed inset-0 z-50 bg-black/10 supports-backdrop-filter:backdrop-blur-xs",a),...d})}function c({className:d,children:o,...i}){/* @__PURE__ */
7
7
  return a(n,{"data-slot":"drawer-portal",children:[
8
8
  /* @__PURE__ */t(l,{}),
9
- /* @__PURE__ */a(r.Content,{"data-slot":"drawer-content",className:e("bg-background flex h-auto flex-col text-xs/relaxed data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-none data-[vaul-drawer-direction=bottom]:border-t data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:rounded-none data-[vaul-drawer-direction=left]:border-r data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:rounded-none data-[vaul-drawer-direction=right]:border-l data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-none data-[vaul-drawer-direction=top]:border-b data-[vaul-drawer-direction=left]:sm:max-w-sm data-[vaul-drawer-direction=right]:sm:max-w-sm group/drawer-content fixed z-50",d),...i,children:[
10
- /* @__PURE__ */t("div",{className:"bg-muted mx-auto mt-4 hidden h-1 w-[100px] shrink-0 rounded-none group-data-[vaul-drawer-direction=bottom]/drawer-content:block bg-muted mx-auto hidden shrink-0 group-data-[vaul-drawer-direction=bottom]/drawer-content:block"}),o]})]})}function u({className:a,...r}){/* @__PURE__ */
11
- return t("div",{"data-slot":"drawer-header",className:e("gap-0.5 p-4 group-data-[vaul-drawer-direction=bottom]/drawer-content:text-center group-data-[vaul-drawer-direction=top]/drawer-content:text-center md:gap-0.5 md:text-left flex flex-col",a),...r})}function s({className:a,...r}){/* @__PURE__ */
12
- return t("div",{"data-slot":"drawer-footer",className:e("gap-2 p-4 mt-auto flex flex-col",a),...r})}function m({className:a,...d}){/* @__PURE__ */
9
+ /* @__PURE__ */a(r.Content,{"data-slot":"drawer-content",className:e("bg-background group/drawer-content fixed z-50 flex h-auto flex-col text-xs/relaxed data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-none data-[vaul-drawer-direction=bottom]:border-t data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:rounded-none data-[vaul-drawer-direction=left]:border-r data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:rounded-none data-[vaul-drawer-direction=right]:border-l data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-none data-[vaul-drawer-direction=top]:border-b data-[vaul-drawer-direction=left]:sm:max-w-sm data-[vaul-drawer-direction=right]:sm:max-w-sm",d),...i,children:[
10
+ /* @__PURE__ */t("div",{className:"bg-muted bg-muted mx-auto mt-4 hidden h-1 w-[100px] shrink-0 rounded-none group-data-[vaul-drawer-direction=bottom]/drawer-content:block"}),o]})]})}function u({className:a,...r}){/* @__PURE__ */
11
+ return t("div",{"data-slot":"drawer-header",className:e("flex flex-col gap-0.5 p-4 group-data-[vaul-drawer-direction=bottom]/drawer-content:text-center group-data-[vaul-drawer-direction=top]/drawer-content:text-center md:gap-0.5 md:text-left",a),...r})}function s({className:a,...r}){/* @__PURE__ */
12
+ return t("div",{"data-slot":"drawer-footer",className:e("mt-auto flex flex-col gap-2 p-4",a),...r})}function m({className:a,...d}){/* @__PURE__ */
13
13
  return t(r.Title,{"data-slot":"drawer-title",className:e("text-foreground text-sm font-medium",a),...d})}function w({className:a,...d}){/* @__PURE__ */
14
14
  return t(r.Description,{"data-slot":"drawer-description",className:e("text-muted-foreground text-xs/relaxed",a),...d})}export{d as Drawer,i as DrawerClose,c as DrawerContent,w as DrawerDescription,s as DrawerFooter,u as DrawerHeader,l as DrawerOverlay,n as DrawerPortal,m as DrawerTitle,o as DrawerTrigger};
@@ -2,18 +2,18 @@ import{jsx as e,jsxs as t}from"react/jsx-runtime";import"react";import{cn as o}f
2
2
  return e(r,{"data-slot":"dropdown-menu",...t})}function y({...t}){/* @__PURE__ */
3
3
  return e(s,{"data-slot":"dropdown-menu-portal",...t})}function N({...t}){/* @__PURE__ */
4
4
  return e(d,{"data-slot":"dropdown-menu-trigger",...t})}function j({align:t="start",alignOffset:a=0,side:n="bottom",sideOffset:r=4,className:d,...u}){/* @__PURE__ */
5
- return e(s,{children:/* @__PURE__ */e(i,{className:"isolate z-50 outline-none",align:t,alignOffset:a,side:n,sideOffset:r,children:/* @__PURE__ */e(c,{"data-slot":"dropdown-menu-content",className:o("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-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 ring-foreground/10 bg-popover text-popover-foreground min-w-32 rounded-none shadow-md ring-1 duration-100 z-50 max-h-(--available-height) w-(--anchor-width) origin-(--transform-origin) overflow-x-hidden overflow-y-auto outline-none data-closed:overflow-hidden",d),...u})})})}function M({...t}){/* @__PURE__ */
5
+ return e(s,{children:/* @__PURE__ */e(i,{className:"isolate z-50 outline-none",align:t,alignOffset:a,side:n,sideOffset:r,children:/* @__PURE__ */e(c,{"data-slot":"dropdown-menu-content",className:o("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-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 ring-foreground/10 bg-popover text-popover-foreground z-50 max-h-(--available-height) w-(--anchor-width) min-w-32 origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-none shadow-md ring-1 duration-100 outline-none data-closed:overflow-hidden",d),...u})})})}function M({...t}){/* @__PURE__ */
6
6
  return e(u,{"data-slot":"dropdown-menu-group",...t})}function k({className:t,inset:a,...n}){/* @__PURE__ */
7
7
  return e(m,{"data-slot":"dropdown-menu-label","data-inset":a,className:o("text-muted-foreground px-2 py-2 text-xs data-[inset]:pl-8",t),...n})}function z({className:t,inset:a,variant:n="default",...r}){/* @__PURE__ */
8
- return e(l,{"data-slot":"dropdown-menu-item","data-inset":a,"data-variant":n,className:o("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:text-destructive not-data-[variant=destructive]:focus:**:text-accent-foreground gap-2 rounded-none px-2 py-2 text-xs [&_svg:not([class*='size-'])]:size-4 group/dropdown-menu-item relative flex cursor-default items-center outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0",t),...r})}function O({...t}){/* @__PURE__ */
8
+ return e(l,{"data-slot":"dropdown-menu-item","data-inset":a,"data-variant":n,className:o("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:text-destructive not-data-[variant=destructive]:focus:**:text-accent-foreground group/dropdown-menu-item relative flex cursor-default items-center gap-2 rounded-none px-2 py-2 text-xs outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t),...r})}function O({...t}){/* @__PURE__ */
9
9
  return e(x,{"data-slot":"dropdown-menu-sub",...t})}function I({className:a,inset:r,children:s,...d}){/* @__PURE__ */
10
- return t(h,{"data-slot":"dropdown-menu-sub-trigger","data-inset":r,className:o("focus:bg-accent focus:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground gap-2 rounded-none px-2 py-2 text-xs [&_svg:not([class*='size-'])]:size-4 flex cursor-default items-center outline-hidden select-none data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0",a),...d,children:[s,
10
+ return t(h,{"data-slot":"dropdown-menu-sub-trigger","data-inset":r,className:o("focus:bg-accent focus:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground flex cursor-default items-center gap-2 rounded-none px-2 py-2 text-xs outline-hidden select-none data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",a),...d,children:[s,
11
11
  /* @__PURE__ */e(n,{className:"ml-auto"})]})}function R({align:t="start",alignOffset:a=-3,side:n="right",sideOffset:r=0,className:s,...d}){/* @__PURE__ */
12
- return e(j,{"data-slot":"dropdown-menu-sub-content",className:o("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-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 ring-foreground/10 bg-popover text-popover-foreground min-w-[96px] rounded-none shadow-lg ring-1 duration-100 w-auto",s),align:t,alignOffset:a,side:n,sideOffset:r,...d})}function G({className:n,children:r,checked:s,...d}){/* @__PURE__ */
13
- return t(p,{"data-slot":"dropdown-menu-checkbox-item",className:o("focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground gap-2 rounded-none py-2 pr-8 pl-2 text-xs [&_svg:not([class*='size-'])]:size-4 relative flex cursor-default items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",n),checked:s,...d,children:[
14
- /* @__PURE__ */e("span",{className:"pointer-events-none absolute right-2 flex items-center justify-center pointer-events-none","data-slot":"dropdown-menu-checkbox-item-indicator",children:/* @__PURE__ */e(_,{children:/* @__PURE__ */e(a,{})})}),r]})}function P({...t}){/* @__PURE__ */
12
+ return e(j,{"data-slot":"dropdown-menu-sub-content",className:o("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-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 ring-foreground/10 bg-popover text-popover-foreground w-auto min-w-[96px] rounded-none shadow-lg ring-1 duration-100",s),align:t,alignOffset:a,side:n,sideOffset:r,...d})}function G({className:n,children:r,checked:s,...d}){/* @__PURE__ */
13
+ return t(p,{"data-slot":"dropdown-menu-checkbox-item",className:o("focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-none py-2 pr-8 pl-2 text-xs outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",n),checked:s,...d,children:[
14
+ /* @__PURE__ */e("span",{className:"pointer-events-none absolute right-2 flex items-center justify-center","data-slot":"dropdown-menu-checkbox-item-indicator",children:/* @__PURE__ */e(_,{children:/* @__PURE__ */e(a,{})})}),r]})}function P({...t}){/* @__PURE__ */
15
15
  return e(f,{"data-slot":"dropdown-menu-radio-group",...t})}function S({className:n,children:r,...s}){/* @__PURE__ */
16
- return t(g,{"data-slot":"dropdown-menu-radio-item",className:o("focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground gap-2 rounded-none py-2 pr-8 pl-2 text-xs [&_svg:not([class*='size-'])]:size-4 relative flex cursor-default items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",n),...s,children:[
17
- /* @__PURE__ */e("span",{className:"pointer-events-none absolute right-2 flex items-center justify-center pointer-events-none","data-slot":"dropdown-menu-radio-item-indicator",children:/* @__PURE__ */e(b,{children:/* @__PURE__ */e(a,{})})}),r]})}function C({className:t,...a}){/* @__PURE__ */
16
+ return t(g,{"data-slot":"dropdown-menu-radio-item",className:o("focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-none py-2 pr-8 pl-2 text-xs outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",n),...s,children:[
17
+ /* @__PURE__ */e("span",{className:"pointer-events-none absolute right-2 flex items-center justify-center","data-slot":"dropdown-menu-radio-item-indicator",children:/* @__PURE__ */e(b,{children:/* @__PURE__ */e(a,{})})}),r]})}function C({className:t,...a}){/* @__PURE__ */
18
18
  return e(v,{"data-slot":"dropdown-menu-separator",className:o("bg-border -mx-1 h-px",t),...a})}function T({className:t,...a}){/* @__PURE__ */
19
19
  return e("span",{"data-slot":"dropdown-menu-shortcut",className:o("text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground ml-auto text-xs tracking-widest",t),...a})}export{w as DropdownMenu,G as DropdownMenuCheckboxItem,j as DropdownMenuContent,M as DropdownMenuGroup,z as DropdownMenuItem,k as DropdownMenuLabel,y as DropdownMenuPortal,P as DropdownMenuRadioGroup,S as DropdownMenuRadioItem,C as DropdownMenuSeparator,T as DropdownMenuShortcut,O as DropdownMenuSub,R as DropdownMenuSubContent,I as DropdownMenuSubTrigger,N as DropdownMenuTrigger};
@@ -1,7 +1,7 @@
1
1
  import{jsx as e}from"react/jsx-runtime";import{cva as t}from"class-variance-authority";import{cn as a}from"../../lib/utils.js";function n({className:t,...n}){/* @__PURE__ */
2
- return e("div",{"data-slot":"empty",className:a("gap-4 rounded-none border-dashed p-6 flex w-full min-w-0 flex-1 flex-col items-center justify-center text-center text-balance",t),...n})}function s({className:t,...n}){/* @__PURE__ */
3
- return e("div",{"data-slot":"empty-header",className:a("gap-2 flex max-w-sm flex-col items-center",t),...n})}const r=t("mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0",{variants:{variant:{default:"bg-transparent",icon:"bg-muted text-foreground flex size-8 shrink-0 items-center justify-center rounded-none [&_svg:not([class*='size-'])]:size-4"}},defaultVariants:{variant:"default"}});function i({className:t,variant:n="default",...s}){/* @__PURE__ */
2
+ return e("div",{"data-slot":"empty",className:a("flex w-full min-w-0 flex-1 flex-col items-center justify-center gap-4 rounded-none border-dashed p-6 text-center text-balance",t),...n})}function s({className:t,...n}){/* @__PURE__ */
3
+ return e("div",{"data-slot":"empty-header",className:a("flex max-w-sm flex-col items-center gap-2",t),...n})}const r=t("mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0",{variants:{variant:{default:"bg-transparent",icon:"bg-muted text-foreground flex size-8 shrink-0 items-center justify-center rounded-none [&_svg:not([class*='size-'])]:size-4"}},defaultVariants:{variant:"default"}});function i({className:t,variant:n="default",...s}){/* @__PURE__ */
4
4
  return e("div",{"data-slot":"empty-icon","data-variant":n,className:a(r({variant:n,className:t})),...s})}function l({className:t,...n}){/* @__PURE__ */
5
5
  return e("div",{"data-slot":"empty-title",className:a("text-sm font-medium",t),...n})}function m({className:t,...n}){/* @__PURE__ */
6
- return e("div",{"data-slot":"empty-description",className:a("text-xs/relaxed text-muted-foreground [&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4",t),...n})}function o({className:t,...n}){/* @__PURE__ */
7
- return e("div",{"data-slot":"empty-content",className:a("gap-2.5 text-xs flex w-full max-w-sm min-w-0 flex-col items-center text-balance",t),...n})}export{n as Empty,o as EmptyContent,m as EmptyDescription,s as EmptyHeader,i as EmptyMedia,l as EmptyTitle};
6
+ return e("div",{"data-slot":"empty-description",className:a("text-muted-foreground [&>a:hover]:text-primary text-xs/relaxed [&>a]:underline [&>a]:underline-offset-4",t),...n})}function o({className:t,...n}){/* @__PURE__ */
7
+ return e("div",{"data-slot":"empty-content",className:a("flex w-full max-w-sm min-w-0 flex-col items-center gap-2.5 text-xs text-balance",t),...n})}export{n as Empty,o as EmptyContent,m as EmptyDescription,s as EmptyHeader,i as EmptyMedia,l as EmptyTitle};
@@ -1,11 +1,11 @@
1
1
  import{jsx as a,jsxs as e}from"react/jsx-runtime";import{useMemo as t}from"react";import{cva as l}from"class-variance-authority";import{cn as r}from"../../lib/utils.js";import{Label as o}from"./label.js";import{Separator as s}from"./separator.js";function i({className:e,...t}){/* @__PURE__ */
2
- return a("fieldset",{"data-slot":"field-set",className:r("gap-4 has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3 flex flex-col",e),...t})}function d({className:e,variant:t="legend",...l}){/* @__PURE__ */
2
+ return a("fieldset",{"data-slot":"field-set",className:r("flex flex-col gap-4 has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3",e),...t})}function d({className:e,variant:t="legend",...l}){/* @__PURE__ */
3
3
  return a("legend",{"data-slot":"field-legend","data-variant":t,className:r("mb-2.5 font-medium data-[variant=label]:text-xs data-[variant=legend]:text-sm",e),...l})}function n({className:e,...t}){/* @__PURE__ */
4
- return a("div",{"data-slot":"field-group",className:r("gap-5 data-[slot=checkbox-group]:gap-3 [&>[data-slot=field-group]]:gap-4 group/field-group @container/field-group flex w-full flex-col",e),...t})}const f=l("data-[invalid=true]:text-destructive gap-2 group/field flex w-full",{variants:{orientation:{vertical:"flex-col [&>*]:w-full [&>.sr-only]:w-auto",horizontal:"flex-row items-center [&>[data-slot=field-label]]:flex-auto has-[>[data-slot=field-content]]:items-start has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px",responsive:"flex-col [&>*]:w-full [&>.sr-only]:w-auto @md/field-group:flex-row @md/field-group:items-center @md/field-group:[&>*]:w-auto @md/field-group:[&>[data-slot=field-label]]:flex-auto @md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"}},defaultVariants:{orientation:"vertical"}});function c({className:e,orientation:t="vertical",...l}){/* @__PURE__ */
4
+ return a("div",{"data-slot":"field-group",className:r("group/field-group @container/field-group flex w-full flex-col gap-5 data-[slot=checkbox-group]:gap-3 [&>[data-slot=field-group]]:gap-4",e),...t})}const f=l("data-[invalid=true]:text-destructive gap-2 group/field flex w-full",{variants:{orientation:{vertical:"flex-col [&>*]:w-full [&>.sr-only]:w-auto",horizontal:"flex-row items-center [&>[data-slot=field-label]]:flex-auto has-[>[data-slot=field-content]]:items-start has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px",responsive:"flex-col [&>*]:w-full [&>.sr-only]:w-auto @md/field-group:flex-row @md/field-group:items-center @md/field-group:[&>*]:w-auto @md/field-group:[&>[data-slot=field-label]]:flex-auto @md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"}},defaultVariants:{orientation:"vertical"}});function c({className:e,orientation:t="vertical",...l}){/* @__PURE__ */
5
5
  return a("div",{role:"group","data-slot":"field","data-orientation":t,className:r(f({orientation:t}),e),...l})}function u({className:e,...t}){/* @__PURE__ */
6
- return a("div",{"data-slot":"field-content",className:r("gap-0.5 group/field-content flex flex-1 flex-col leading-snug",e),...t})}function m({className:e,...t}){/* @__PURE__ */
7
- return a(o,{"data-slot":"field-label",className:r("has-data-checked:bg-primary/5 has-data-checked:border-primary dark:has-data-checked:bg-primary/10 gap-2 group-data-[disabled=true]/field:opacity-50 has-[>[data-slot=field]]:rounded-none has-[>[data-slot=field]]:border [&>*]:data-[slot=field]:p-2 group/field-label peer/field-label flex w-fit leading-snug","has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col",e),...t})}function p({className:e,...t}){/* @__PURE__ */
8
- return a("div",{"data-slot":"field-label",className:r("gap-2 text-xs/relaxed group-data-[disabled=true]/field:opacity-50 flex w-fit items-center leading-snug",e),...t})}function g({className:e,...t}){/* @__PURE__ */
9
- return a("p",{"data-slot":"field-description",className:r("text-muted-foreground text-left text-xs/relaxed [[data-variant=legend]+&]:-mt-1.5 leading-normal font-normal group-has-[[data-orientation=horizontal]]/field:text-balance","last:mt-0 nth-last-2:-mt-1","[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4",e),...t})}function x({children:t,className:l,...o}){/* @__PURE__ */
10
- return e("div",{"data-slot":"field-separator","data-content":!!t,className:r("-my-2 h-5 text-xs group-data-[variant=outline]/field-group:-mb-2 relative",l),...o,children:[
11
- /* @__PURE__ */a(s,{className:"absolute inset-0 top-1/2"}),t&&/* @__PURE__ */a("span",{className:"text-muted-foreground px-2 bg-background relative mx-auto block w-fit","data-slot":"field-separator-content",children:t})]})}function h({className:e,children:l,errors:o,...s}){const i=t(()=>{if(l)return l;if(!o?.length)return null;const e=[...new Map(o.map(a=>[a?.message,a])).values()];return 1==e?.length?e[0]?.message:/* @__PURE__ */a("ul",{className:"ml-4 flex list-disc flex-col gap-1",children:e.map((e,t)=>e?.message&&/* @__PURE__ */a("li",{children:e.message},t))})},[l,o]);return i?/* @__PURE__ */a("div",{role:"alert","data-slot":"field-error",className:r("text-destructive text-xs font-normal",e),...s,children:i}):null}export{c as Field,u as FieldContent,g as FieldDescription,h as FieldError,n as FieldGroup,m as FieldLabel,d as FieldLegend,x as FieldSeparator,i as FieldSet,p as FieldTitle};
6
+ return a("div",{"data-slot":"field-content",className:r("group/field-content flex flex-1 flex-col gap-0.5 leading-snug",e),...t})}function m({className:e,...t}){/* @__PURE__ */
7
+ return a(o,{"data-slot":"field-label",className:r("has-data-checked:bg-primary/5 has-data-checked:border-primary dark:has-data-checked:bg-primary/10 group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50 has-[>[data-slot=field]]:rounded-none has-[>[data-slot=field]]:border [&>*]:data-[slot=field]:p-2","has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col",e),...t})}function p({className:e,...t}){/* @__PURE__ */
8
+ return a("div",{"data-slot":"field-label",className:r("flex w-fit items-center gap-2 text-xs/relaxed leading-snug group-data-[disabled=true]/field:opacity-50",e),...t})}function g({className:e,...t}){/* @__PURE__ */
9
+ return a("p",{"data-slot":"field-description",className:r("text-muted-foreground text-left text-xs/relaxed leading-normal font-normal group-has-[[data-orientation=horizontal]]/field:text-balance [[data-variant=legend]+&]:-mt-1.5","last:mt-0 nth-last-2:-mt-1","[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4",e),...t})}function x({children:t,className:l,...o}){/* @__PURE__ */
10
+ return e("div",{"data-slot":"field-separator","data-content":!!t,className:r("relative -my-2 h-5 text-xs group-data-[variant=outline]/field-group:-mb-2",l),...o,children:[
11
+ /* @__PURE__ */a(s,{className:"absolute inset-0 top-1/2"}),t&&/* @__PURE__ */a("span",{className:"text-muted-foreground bg-background relative mx-auto block w-fit px-2","data-slot":"field-separator-content",children:t})]})}function h({className:e,children:l,errors:o,...s}){const i=t(()=>{if(l)return l;if(!o?.length)return null;const e=[...new Map(o.map(a=>[a?.message,a])).values()];return 1==e?.length?e[0]?.message:/* @__PURE__ */a("ul",{className:"ml-4 flex list-disc flex-col gap-1",children:e.map((e,t)=>e?.message&&/* @__PURE__ */a("li",{children:e.message},t))})},[l,o]);return i?/* @__PURE__ */a("div",{role:"alert","data-slot":"field-error",className:r("text-destructive text-xs font-normal",e),...s,children:i}):null}export{c as Field,u as FieldContent,g as FieldDescription,h as FieldError,n as FieldGroup,m as FieldLabel,d as FieldLegend,x as FieldSeparator,i as FieldSet,p as FieldTitle};
@@ -1,4 +1,4 @@
1
1
  import{jsx as e}from"react/jsx-runtime";import{cn as r}from"../../lib/utils.js";import{PreviewCardRoot as t}from"../../node_modules/.pnpm/@base-ui_react@1.0.0_@types_react@19.2.7_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@base-ui/react/esm/preview-card/root/PreviewCardRoot.js";import{PreviewCardTrigger as a}from"../../node_modules/.pnpm/@base-ui_react@1.0.0_@types_react@19.2.7_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@base-ui/react/esm/preview-card/trigger/PreviewCardTrigger.js";import{PreviewCardPortal as o}from"../../node_modules/.pnpm/@base-ui_react@1.0.0_@types_react@19.2.7_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@base-ui/react/esm/preview-card/portal/PreviewCardPortal.js";import{PreviewCardPositioner as d}from"../../node_modules/.pnpm/@base-ui_react@1.0.0_@types_react@19.2.7_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@base-ui/react/esm/preview-card/positioner/PreviewCardPositioner.js";import{PreviewCardPopup as i}from"../../node_modules/.pnpm/@base-ui_react@1.0.0_@types_react@19.2.7_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@base-ui/react/esm/preview-card/popup/PreviewCardPopup.js";function s({...r}){/* @__PURE__ */
2
2
  return e(t,{"data-slot":"hover-card",...r})}function n({...r}){/* @__PURE__ */
3
3
  return e(a,{"data-slot":"hover-card-trigger",...r})}function m({className:t,side:a="bottom",sideOffset:s=4,align:n="center",alignOffset:m=4,...c}){/* @__PURE__ */
4
- return e(o,{"data-slot":"hover-card-portal",children:/* @__PURE__ */e(d,{align:n,alignOffset:m,side:a,sideOffset:s,className:"isolate z-50",children:/* @__PURE__ */e(i,{"data-slot":"hover-card-content",className:r("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-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 ring-foreground/10 bg-popover text-popover-foreground w-64 rounded-none p-2.5 text-xs/relaxed shadow-md ring-1 duration-100 z-50 origin-(--transform-origin) outline-hidden",t),...c})})})}export{s as HoverCard,m as HoverCardContent,n as HoverCardTrigger};
4
+ return e(o,{"data-slot":"hover-card-portal",children:/* @__PURE__ */e(d,{align:n,alignOffset:m,side:a,sideOffset:s,className:"isolate z-50",children:/* @__PURE__ */e(i,{"data-slot":"hover-card-content",className:r("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-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 ring-foreground/10 bg-popover text-popover-foreground z-50 w-64 origin-(--transform-origin) rounded-none p-2.5 text-xs/relaxed shadow-md ring-1 outline-hidden duration-100",t),...c})})})}export{s as HoverCard,m as HoverCardContent,n as HoverCardTrigger};
@@ -1,7 +1,7 @@
1
1
  import{jsx as t}from"react/jsx-runtime";import"react";import{cva as a}from"class-variance-authority";import{cn as n}from"../../lib/utils.js";import{Button as r}from"./button.js";import{Input as e}from"./input.js";import{Textarea as s}from"./textarea.js";function i({className:a,...r}){/* @__PURE__ */
2
- return t("div",{"data-slot":"input-group",role:"group",className:n("border-input dark:bg-input/30 has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot][aria-invalid=true]]:ring-destructive/20 has-[[data-slot][aria-invalid=true]]:border-destructive dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40 has-disabled:bg-input/50 dark:has-disabled:bg-input/80 h-8 rounded-none border transition-colors has-disabled:opacity-50 has-[[data-slot=input-group-control]:focus-visible]:ring-1 has-[[data-slot][aria-invalid=true]]:ring-1 has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pr-1.5 has-[>[data-align=inline-start]]:[&>input]:pl-1.5 [[data-slot=combobox-content]_&]:focus-within:border-inherit [[data-slot=combobox-content]_&]:focus-within:ring-0 group/input-group relative flex w-full min-w-0 items-center outline-none has-[>textarea]:h-auto",a),...r})}const o=a("text-muted-foreground h-auto gap-2 py-1.5 text-xs font-medium group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-none [&>svg:not([class*='size-'])]:size-4 flex cursor-text items-center justify-center select-none",{variants:{align:{"inline-start":"pl-2 has-[>button]:ml-[-0.3rem] has-[>kbd]:ml-[-0.15rem] order-first","inline-end":"pr-2 has-[>button]:mr-[-0.3rem] has-[>kbd]:mr-[-0.15rem] order-last","block-start":"px-2.5 pt-2 group-has-[>input]/input-group:pt-2 [.border-b]:pb-2 order-first w-full justify-start","block-end":"px-2.5 pb-2 group-has-[>input]/input-group:pb-2 [.border-t]:pt-2 order-last w-full justify-start"}},defaultVariants:{align:"inline-start"}});function l({className:a,align:r="inline-start",...e}){/* @__PURE__ */
2
+ return t("div",{"data-slot":"input-group",role:"group",className:n("border-input dark:bg-input/30 has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot][aria-invalid=true]]:ring-destructive/20 has-[[data-slot][aria-invalid=true]]:border-destructive dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40 has-disabled:bg-input/50 dark:has-disabled:bg-input/80 group/input-group relative flex h-8 w-full min-w-0 items-center rounded-none border transition-colors outline-none has-disabled:opacity-50 has-[[data-slot=input-group-control]:focus-visible]:ring-1 has-[[data-slot][aria-invalid=true]]:ring-1 has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>textarea]:h-auto has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pr-1.5 has-[>[data-align=inline-start]]:[&>input]:pl-1.5 [[data-slot=combobox-content]_&]:focus-within:border-inherit [[data-slot=combobox-content]_&]:focus-within:ring-0",a),...r})}const o=a("text-muted-foreground h-auto gap-2 py-1.5 text-xs font-medium group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-none [&>svg:not([class*='size-'])]:size-4 flex cursor-text items-center justify-center select-none",{variants:{align:{"inline-start":"pl-2 has-[>button]:ml-[-0.3rem] has-[>kbd]:ml-[-0.15rem] order-first","inline-end":"pr-2 has-[>button]:mr-[-0.3rem] has-[>kbd]:mr-[-0.15rem] order-last","block-start":"px-2.5 pt-2 group-has-[>input]/input-group:pt-2 [.border-b]:pb-2 order-first w-full justify-start","block-end":"px-2.5 pb-2 group-has-[>input]/input-group:pb-2 [.border-t]:pt-2 order-last w-full justify-start"}},defaultVariants:{align:"inline-start"}});function l({className:a,align:r="inline-start",...e}){/* @__PURE__ */
3
3
  return t("div",{role:"group","data-slot":"input-group-addon","data-align":r,className:n(o({align:r}),a),onClick:t=>{t.target.closest("button")||t.currentTarget.parentElement?.querySelector("input")?.focus()},...e})}const d=a("gap-2 text-xs shadow-none flex items-center",{variants:{size:{xs:"h-6 gap-1 rounded-none px-1.5 [&>svg:not([class*='size-'])]:size-3.5",sm:"","icon-xs":"size-6 rounded-none p-0 has-[>svg]:p-0","icon-sm":"size-8 p-0 has-[>svg]:p-0"}},defaultVariants:{size:"xs"}});function u({className:a,type:e="button",variant:s="ghost",size:i="xs",...o}){/* @__PURE__ */
4
4
  return t(r,{type:e,"data-size":i,variant:s,className:n(d({size:i}),a),...o})}function p({className:a,...r}){/* @__PURE__ */
5
- return t("span",{className:n("text-muted-foreground gap-2 text-xs [&_svg:not([class*='size-'])]:size-4 flex items-center [&_svg]:pointer-events-none",a),...r})}function c({className:a,...r}){/* @__PURE__ */
6
- return t(e,{"data-slot":"input-group-control",className:n("rounded-none border-0 bg-transparent shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent aria-invalid:ring-0 dark:bg-transparent dark:disabled:bg-transparent flex-1",a),...r})}function g({className:a,...r}){/* @__PURE__ */
7
- return t(s,{"data-slot":"input-group-control",className:n("rounded-none border-0 bg-transparent py-2 shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent aria-invalid:ring-0 dark:bg-transparent dark:disabled:bg-transparent flex-1 resize-none",a),...r})}export{i as InputGroup,l as InputGroupAddon,u as InputGroupButton,c as InputGroupInput,p as InputGroupText,g as InputGroupTextarea};
5
+ return t("span",{className:n("text-muted-foreground flex items-center gap-2 text-xs [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4",a),...r})}function c({className:a,...r}){/* @__PURE__ */
6
+ return t(e,{"data-slot":"input-group-control",className:n("flex-1 rounded-none border-0 bg-transparent shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent aria-invalid:ring-0 dark:bg-transparent dark:disabled:bg-transparent",a),...r})}function g({className:a,...r}){/* @__PURE__ */
7
+ return t(s,{"data-slot":"input-group-control",className:n("flex-1 resize-none rounded-none border-0 bg-transparent py-2 shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent aria-invalid:ring-0 dark:bg-transparent dark:disabled:bg-transparent",a),...r})}export{i as InputGroup,l as InputGroupAddon,u as InputGroupButton,c as InputGroupInput,p as InputGroupText,g as InputGroupTextarea};
@@ -1,5 +1,5 @@
1
1
  import{jsx as e,jsxs as t}from"react/jsx-runtime";import*as a from"react";import{OTPInput as r,OTPInputContext as i}from"input-otp";import{cn as n}from"../../lib/utils.js";import{IconMinus as s}from"@tabler/icons-react";function o({className:t,containerClassName:a,...i}){/* @__PURE__ */
2
2
  return e(r,{"data-slot":"input-otp",containerClassName:n("cn-input-otp flex items-center has-disabled:opacity-50",a),spellCheck:!1,className:n("disabled:cursor-not-allowed",t),...i})}function d({className:t,...a}){/* @__PURE__ */
3
- return e("div",{"data-slot":"input-otp-group",className:n("has-aria-invalid:ring-destructive/20 dark:has-aria-invalid:ring-destructive/40 has-aria-invalid:border-destructive rounded-none has-aria-invalid:ring-1 flex items-center",t),...a})}function c({index:r,className:s,...o}){const d=a.useContext(i),{char:c,hasFakeCaret:l,isActive:u}=d?.slots[r]??{};/* @__PURE__ */
4
- return t("div",{"data-slot":"input-otp-slot","data-active":u,className:n("dark:bg-input/30 border-input data-[active=true]:border-ring data-[active=true]:ring-ring/50 data-[active=true]:aria-invalid:ring-destructive/20 dark:data-[active=true]:aria-invalid:ring-destructive/40 aria-invalid:border-destructive data-[active=true]:aria-invalid:border-destructive size-8 border-y border-r text-xs transition-all outline-none first:rounded-none first:border-l last:rounded-none data-[active=true]:ring-1 relative flex items-center justify-center data-[active=true]:z-10",s),...o,children:[c,l&&/* @__PURE__ */e("div",{className:"pointer-events-none absolute inset-0 flex items-center justify-center",children:/* @__PURE__ */e("div",{className:"animate-caret-blink bg-foreground h-4 w-px duration-1000 bg-foreground h-4 w-px"})})]})}function l({...t}){/* @__PURE__ */
5
- return e("div",{"data-slot":"input-otp-separator",className:"[&_svg:not([class*='size-'])]:size-4 flex items-center",role:"separator",...t,children:/* @__PURE__ */e(s,{})})}export{o as InputOTP,d as InputOTPGroup,l as InputOTPSeparator,c as InputOTPSlot};
3
+ return e("div",{"data-slot":"input-otp-group",className:n("has-aria-invalid:ring-destructive/20 dark:has-aria-invalid:ring-destructive/40 has-aria-invalid:border-destructive flex items-center rounded-none has-aria-invalid:ring-1",t),...a})}function c({index:r,className:s,...o}){const d=a.useContext(i),{char:c,hasFakeCaret:l,isActive:u}=d?.slots[r]??{};/* @__PURE__ */
4
+ return t("div",{"data-slot":"input-otp-slot","data-active":u,className:n("dark:bg-input/30 border-input data-[active=true]:border-ring data-[active=true]:ring-ring/50 data-[active=true]:aria-invalid:ring-destructive/20 dark:data-[active=true]:aria-invalid:ring-destructive/40 aria-invalid:border-destructive data-[active=true]:aria-invalid:border-destructive relative flex size-8 items-center justify-center border-y border-r text-xs transition-all outline-none first:rounded-none first:border-l last:rounded-none data-[active=true]:z-10 data-[active=true]:ring-1",s),...o,children:[c,l&&/* @__PURE__ */e("div",{className:"pointer-events-none absolute inset-0 flex items-center justify-center",children:/* @__PURE__ */e("div",{className:"animate-caret-blink bg-foreground bg-foreground h-4 w-px duration-1000"})})]})}function l({...t}){/* @__PURE__ */
5
+ return e("div",{"data-slot":"input-otp-separator",className:"flex items-center [&_svg:not([class*='size-'])]:size-4",role:"separator",...t,children:/* @__PURE__ */e(s,{})})}export{o as InputOTP,d as InputOTPGroup,l as InputOTPSeparator,c as InputOTPSlot};
@@ -1,2 +1,2 @@
1
1
  import{jsx as e}from"react/jsx-runtime";import"react";import{cn as i}from"../../lib/utils.js";import{Input as r}from"../../node_modules/.pnpm/@base-ui_react@1.0.0_@types_react@19.2.7_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@base-ui/react/esm/input/Input.js";function t({className:t,type:n,...a}){/* @__PURE__ */
2
- return e(r,{type:n,"data-slot":"input",className:i("dark:bg-input/30 border-input focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 disabled:bg-input/50 dark:disabled:bg-input/80 h-8 rounded-none border bg-transparent px-2.5 py-1 text-xs transition-colors file:h-6 file:text-xs file:font-medium focus-visible:ring-1 aria-invalid:ring-1 md:text-xs file:text-foreground placeholder:text-muted-foreground w-full min-w-0 outline-none file:inline-flex file:border-0 file:bg-transparent disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50",t),...a})}export{t as Input};
2
+ return e(r,{type:n,"data-slot":"input",className:i("dark:bg-input/30 border-input focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 disabled:bg-input/50 dark:disabled:bg-input/80 file:text-foreground placeholder:text-muted-foreground h-8 w-full min-w-0 rounded-none border bg-transparent px-2.5 py-1 text-xs transition-colors outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-xs file:font-medium focus-visible:ring-1 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:ring-1 md:text-xs",t),...a})}export{t as Input};
@@ -1,10 +1,10 @@
1
1
  import{jsx as e}from"react/jsx-runtime";import"react";import{cva as t}from"class-variance-authority";import{cn as a}from"../../lib/utils.js";import{Separator as s}from"./separator.js";import{useRender as r}from"../../node_modules/.pnpm/@base-ui_react@1.0.0_@types_react@19.2.7_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@base-ui/react/esm/use-render/useRender.js";import{mergeProps as i}from"../../node_modules/.pnpm/@base-ui_react@1.0.0_@types_react@19.2.7_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@base-ui/react/esm/merge-props/mergeProps.js";function n({className:t,...s}){/* @__PURE__ */
2
- return e("div",{role:"list","data-slot":"item-group",className:a("gap-4 has-[[data-size=sm]]:gap-2.5 has-[[data-size=xs]]:gap-2 group/item-group flex w-full flex-col",t),...s})}function o({className:t,...r}){/* @__PURE__ */
2
+ return e("div",{role:"list","data-slot":"item-group",className:a("group/item-group flex w-full flex-col gap-4 has-[[data-size=sm]]:gap-2.5 has-[[data-size=xs]]:gap-2",t),...s})}function o({className:t,...r}){/* @__PURE__ */
3
3
  return e(s,{"data-slot":"item-separator",orientation:"horizontal",className:a("my-2",t),...r})}const l=t("[a]:hover:bg-muted rounded-none border text-xs w-full group/item focus-visible:border-ring focus-visible:ring-ring/50 flex items-center flex-wrap outline-none transition-colors duration-100 focus-visible:ring-[3px] [a]:transition-colors",{variants:{variant:{default:"border-transparent",outline:"border-border",muted:"bg-muted/50 border-transparent"},size:{default:"gap-2.5 px-3 py-2.5",sm:"gap-2.5 px-3 py-2.5",xs:"gap-2 px-2.5 py-2 [[data-slot=dropdown-menu-content]_&]:p-0"}},defaultVariants:{variant:"default",size:"default"}});function m({className:e,variant:t="default",size:s="default",render:n,...o}){return r({defaultTagName:"div",props:i({className:a(l({variant:t,size:s,className:e}))},o),render:n,state:{slot:"item",variant:t,size:s}})}const d=t("gap-2 group-has-[[data-slot=item-description]]/item:translate-y-0.5 group-has-[[data-slot=item-description]]/item:self-start flex shrink-0 items-center justify-center [&_svg]:pointer-events-none",{variants:{variant:{default:"bg-transparent",icon:"[&_svg:not([class*='size-'])]:size-4",image:"size-10 overflow-hidden rounded-none group-data-[size=sm]/item:size-8 group-data-[size=xs]/item:size-6 [&_img]:size-full [&_img]:object-cover"}},defaultVariants:{variant:"default"}});function u({className:t,variant:s="default",...r}){/* @__PURE__ */
4
4
  return e("div",{"data-slot":"item-media","data-variant":s,className:a(d({variant:s,className:t})),...r})}function c({className:t,...s}){/* @__PURE__ */
5
- return e("div",{"data-slot":"item-content",className:a("gap-1 group-data-[size=xs]/item:gap-0 flex flex-1 flex-col [&+[data-slot=item-content]]:flex-none",t),...s})}function p({className:t,...s}){/* @__PURE__ */
6
- return e("div",{"data-slot":"item-title",className:a("gap-2 text-xs font-medium underline-offset-4 line-clamp-1 flex w-fit items-center",t),...s})}function f({className:t,...s}){/* @__PURE__ */
7
- return e("p",{"data-slot":"item-description",className:a("text-muted-foreground text-left text-xs/relaxed group-data-[size=xs]/item:text-xs/relaxed [&>a:hover]:text-primary line-clamp-2 font-normal [&>a]:underline [&>a]:underline-offset-4",t),...s})}function g({className:t,...s}){/* @__PURE__ */
8
- return e("div",{"data-slot":"item-actions",className:a("gap-2 flex items-center",t),...s})}function x({className:t,...s}){/* @__PURE__ */
9
- return e("div",{"data-slot":"item-header",className:a("gap-2 flex basis-full items-center justify-between",t),...s})}function v({className:t,...s}){/* @__PURE__ */
10
- return e("div",{"data-slot":"item-footer",className:a("gap-2 flex basis-full items-center justify-between",t),...s})}export{m as Item,g as ItemActions,c as ItemContent,f as ItemDescription,v as ItemFooter,n as ItemGroup,x as ItemHeader,u as ItemMedia,o as ItemSeparator,p as ItemTitle};
5
+ return e("div",{"data-slot":"item-content",className:a("flex flex-1 flex-col gap-1 group-data-[size=xs]/item:gap-0 [&+[data-slot=item-content]]:flex-none",t),...s})}function p({className:t,...s}){/* @__PURE__ */
6
+ return e("div",{"data-slot":"item-title",className:a("line-clamp-1 flex w-fit items-center gap-2 text-xs font-medium underline-offset-4",t),...s})}function f({className:t,...s}){/* @__PURE__ */
7
+ return e("p",{"data-slot":"item-description",className:a("text-muted-foreground [&>a:hover]:text-primary line-clamp-2 text-left text-xs/relaxed font-normal group-data-[size=xs]/item:text-xs/relaxed [&>a]:underline [&>a]:underline-offset-4",t),...s})}function g({className:t,...s}){/* @__PURE__ */
8
+ return e("div",{"data-slot":"item-actions",className:a("flex items-center gap-2",t),...s})}function x({className:t,...s}){/* @__PURE__ */
9
+ return e("div",{"data-slot":"item-header",className:a("flex basis-full items-center justify-between gap-2",t),...s})}function v({className:t,...s}){/* @__PURE__ */
10
+ return e("div",{"data-slot":"item-footer",className:a("flex basis-full items-center justify-between gap-2",t),...s})}export{m as Item,g as ItemActions,c as ItemContent,f as ItemDescription,v as ItemFooter,n as ItemGroup,x as ItemHeader,u as ItemMedia,o as ItemSeparator,p as ItemTitle};
@@ -1,3 +1,3 @@
1
1
  import{jsx as t}from"react/jsx-runtime";import{cn as e}from"../../lib/utils.js";function n({className:n,...o}){/* @__PURE__ */
2
- return t("kbd",{"data-slot":"kbd",className:e("bg-muted text-muted-foreground [[data-slot=tooltip-content]_&]:bg-background/20 [[data-slot=tooltip-content]_&]:text-background dark:[[data-slot=tooltip-content]_&]:bg-background/10 h-5 w-fit min-w-5 gap-1 rounded-none px-1 font-sans text-xs font-medium [&_svg:not([class*='size-'])]:size-3 pointer-events-none inline-flex items-center justify-center select-none",n),...o})}function o({className:n,...o}){/* @__PURE__ */
3
- return t("kbd",{"data-slot":"kbd-group",className:e("gap-1 inline-flex items-center",n),...o})}export{n as Kbd,o as KbdGroup};
2
+ return t("kbd",{"data-slot":"kbd",className:e("bg-muted text-muted-foreground [[data-slot=tooltip-content]_&]:bg-background/20 [[data-slot=tooltip-content]_&]:text-background dark:[[data-slot=tooltip-content]_&]:bg-background/10 pointer-events-none inline-flex h-5 w-fit min-w-5 items-center justify-center gap-1 rounded-none px-1 font-sans text-xs font-medium select-none [&_svg:not([class*='size-'])]:size-3",n),...o})}function o({className:n,...o}){/* @__PURE__ */
3
+ return t("kbd",{"data-slot":"kbd-group",className:e("inline-flex items-center gap-1",n),...o})}export{n as Kbd,o as KbdGroup};
@@ -1,2 +1,2 @@
1
1
  import{jsx as e}from"react/jsx-runtime";import"react";import{cn as t}from"../../lib/utils.js";function a({className:a,...r}){/* @__PURE__ */
2
- return e("label",{"data-slot":"label",className:t("gap-2 text-xs leading-none group-data-[disabled=true]:opacity-50 peer-disabled:opacity-50 flex items-center select-none group-data-[disabled=true]:pointer-events-none peer-disabled:cursor-not-allowed",a),...r})}export{a as Label};
2
+ return e("label",{"data-slot":"label",className:t("flex items-center gap-2 text-xs leading-none select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",a),...r})}export{a as Label};