impact-nova 1.1.1 → 1.1.2

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 (36) hide show
  1. package/dist/components/ui/accordion.js +37 -33
  2. package/dist/components/ui/alert.d.ts +2 -0
  3. package/dist/components/ui/alert.js +46 -31
  4. package/dist/components/ui/breadcrumb.d.ts +7 -2
  5. package/dist/components/ui/breadcrumb.js +98 -77
  6. package/dist/components/ui/calendar.js +198 -178
  7. package/dist/components/ui/date-picker/date-picker.js +94 -87
  8. package/dist/components/ui/date-picker/date-range-picker.js +124 -117
  9. package/dist/components/ui/date-picker/month-picker.js +98 -91
  10. package/dist/components/ui/date-picker/month-range-picker.js +118 -111
  11. package/dist/components/ui/date-picker/multi-date-picker.js +76 -69
  12. package/dist/components/ui/date-picker/multi-month-picker.js +72 -65
  13. package/dist/components/ui/date-picker/multi-week-picker.js +88 -81
  14. package/dist/components/ui/date-picker/week-picker.js +107 -100
  15. package/dist/components/ui/date-picker/week-range-picker.js +144 -137
  16. package/dist/components/ui/dialog.js +65 -61
  17. package/dist/components/ui/drawer.d.ts +3 -1
  18. package/dist/components/ui/drawer.js +44 -29
  19. package/dist/components/ui/file-upload.d.ts +2 -1
  20. package/dist/components/ui/file-upload.js +159 -135
  21. package/dist/components/ui/filter-panel/filter-panel.js +89 -70
  22. package/dist/components/ui/filter-strip/filter-summary.js +117 -104
  23. package/dist/components/ui/filter-strip/filter-tag-list.js +81 -65
  24. package/dist/components/ui/popover.js +52 -48
  25. package/dist/components/ui/prompt.d.ts +2 -1
  26. package/dist/components/ui/prompt.js +81 -64
  27. package/dist/components/ui/sheet.js +91 -84
  28. package/dist/components/ui/sidebar.js +9 -8
  29. package/dist/components/ui/tabs.d.ts +2 -0
  30. package/dist/components/ui/tabs.js +58 -55
  31. package/dist/components/ui/tag.js +21 -20
  32. package/dist/components/ui/toast.js +41 -37
  33. package/dist/components/ui/tooltip.js +1 -1
  34. package/dist/impact-nova.css +1 -1
  35. package/dist/index.js +250 -248
  36. package/package.json +1 -1
@@ -6,10 +6,10 @@ import { cva as G } from "class-variance-authority";
6
6
  import { ChevronRight as I, HamburgerClosed as H, HamburgerOpen as j } from "../../icons/index.js";
7
7
  import { cn as l } from "../../lib/utils.js";
8
8
  import { Button as K } from "./button.js";
9
- import { Input as P } from "./input.js";
10
- import { Separator as L } from "./separator.js";
9
+ import { Input as L } from "./input.js";
10
+ import { Separator as P } from "./separator.js";
11
11
  import { Skeleton as _ } from "./skeleton.js";
12
- import { Tooltip as W, TooltipTrigger as V, TooltipContent as $, TooltipProvider as F } from "./tooltip.js";
12
+ import { Tooltip as V, TooltipTrigger as W, TooltipContent as $, TooltipProvider as F } from "./tooltip.js";
13
13
  const q = "sidebar_state", U = 3600 * 24 * 7, X = "280px", Y = "64px", J = "b", A = i.createContext(null), z = i.createContext(null);
14
14
  function y() {
15
15
  const a = i.useContext(A);
@@ -53,7 +53,7 @@ const Q = i.forwardRef(
53
53
  }),
54
54
  [u, p, m, h, c]
55
55
  );
56
- return /* @__PURE__ */ t(A.Provider, { value: S, children: /* @__PURE__ */ t(F, { delayDuration: 0, children: /* @__PURE__ */ t(
56
+ return /* @__PURE__ */ t(A.Provider, { value: S, children: /* @__PURE__ */ t(F, { children: /* @__PURE__ */ t(
57
57
  "div",
58
58
  {
59
59
  style: {
@@ -199,7 +199,7 @@ const te = i.forwardRef(({ className: a, ...r }, e) => /* @__PURE__ */ t(
199
199
  ));
200
200
  te.displayName = "SidebarInset";
201
201
  const re = i.forwardRef(({ className: a, ...r }, e) => /* @__PURE__ */ t(
202
- P,
202
+ L,
203
203
  {
204
204
  ref: e,
205
205
  "data-sidebar": "input",
@@ -235,7 +235,7 @@ const ne = i.forwardRef(({ className: a, ...r }, e) => /* @__PURE__ */ t(
235
235
  ));
236
236
  ne.displayName = "SidebarFooter";
237
237
  const oe = i.forwardRef(({ className: a, ...r }, e) => /* @__PURE__ */ t(
238
- L,
238
+ P,
239
239
  {
240
240
  ref: e,
241
241
  "data-sidebar": "separator",
@@ -388,6 +388,7 @@ const B = i.forwardRef(({ className: a, children: r, ...e }, n) => {
388
388
  {
389
389
  onClick: () => c(!d),
390
390
  className: "hover:bg-transparent",
391
+ tooltip: d ? "View Less" : "View More",
391
392
  children: [
392
393
  /* @__PURE__ */ t("div", { className: "text-[#3bb273]", children: /* @__PURE__ */ t(
393
394
  I,
@@ -485,8 +486,8 @@ const be = G(
485
486
  ), S = h ? /* @__PURE__ */ t(M.Trigger, { asChild: !0, children: u }) : u;
486
487
  return o ? (typeof o == "string" && (o = {
487
488
  children: o
488
- }), /* @__PURE__ */ g(W, { children: [
489
- /* @__PURE__ */ t(V, { asChild: !0, children: S }),
489
+ }), /* @__PURE__ */ g(V, { children: [
490
+ /* @__PURE__ */ t(W, { asChild: !0, children: S }),
490
491
  /* @__PURE__ */ t(
491
492
  $,
492
493
  {
@@ -5,10 +5,12 @@ declare const Tabs: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsProps
5
5
  size?: "default" | "sm";
6
6
  hideInactiveLabel?: boolean;
7
7
  tooltipClassName?: string;
8
+ maxWords?: number;
8
9
  } & React.RefAttributes<HTMLDivElement>>;
9
10
  declare const TabsList: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
10
11
  declare const TabsTrigger: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & {
11
12
  icon?: React.ReactNode;
13
+ maxWords?: number;
12
14
  } & React.RefAttributes<HTMLButtonElement>>;
13
15
  declare const TabsContent: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
14
16
  export { Tabs, TabsList, TabsTrigger, TabsContent };
@@ -1,59 +1,66 @@
1
- import { jsx as n, jsxs as h } from "react/jsx-runtime";
2
- import * as e from "react";
3
- import * as o from "@radix-ui/react-tabs";
4
- import { cn as p } from "../../lib/utils.js";
5
- import { Tooltip as v, TooltipTrigger as y, TooltipContent as N } from "./tooltip.js";
6
- const x = e.createContext({
1
+ import { jsx as s, jsxs as w, Fragment as j } from "react/jsx-runtime";
2
+ import * as n from "react";
3
+ import * as r from "@radix-ui/react-tabs";
4
+ import { cn as f } from "../../lib/utils.js";
5
+ import { Tooltip as R, TooltipTrigger as V, TooltipContent as W } from "./tooltip.js";
6
+ const h = n.createContext({
7
7
  variant: "line",
8
8
  size: "default"
9
- }), w = e.forwardRef(({ variant: t = "line", size: a = "default", hideInactiveLabel: i = !1, tooltipClassName: s, value: r, defaultValue: l, onValueChange: m, ...u }, c) => {
10
- const [b, d] = e.useState(r || l);
11
- e.useEffect(() => {
12
- r !== void 0 && d(r);
13
- }, [r]);
14
- const f = (g) => {
15
- r === void 0 && d(g), m?.(g);
9
+ }), L = (t, a) => {
10
+ const e = t.split(/\s+/);
11
+ return e.length <= a ? t : e.slice(0, a).join(" ") + "...";
12
+ }, k = n.forwardRef(({ variant: t = "line", size: a = "default", hideInactiveLabel: e = !1, tooltipClassName: o, maxWords: m, value: i, defaultValue: l, onValueChange: x, ...b }, p) => {
13
+ const [g, u] = n.useState(i || l);
14
+ n.useEffect(() => {
15
+ i !== void 0 && u(i);
16
+ }, [i]);
17
+ const d = (c) => {
18
+ i === void 0 && u(c), x?.(c);
16
19
  };
17
- return /* @__PURE__ */ n(x.Provider, { value: { variant: t, size: a, activeValue: b, hideInactiveLabel: i, tooltipClassName: s }, children: /* @__PURE__ */ n(
18
- o.Root,
20
+ return /* @__PURE__ */ s(h.Provider, { value: { variant: t, size: a, activeValue: g, hideInactiveLabel: e, tooltipClassName: o, maxWords: m }, children: /* @__PURE__ */ s(
21
+ r.Root,
19
22
  {
20
- ref: c,
21
- value: r,
23
+ ref: p,
24
+ value: i,
22
25
  defaultValue: l,
23
- onValueChange: f,
26
+ onValueChange: d,
24
27
  "data-component": "tabs",
25
28
  "data-variant": t,
26
- ...u
29
+ ...b
27
30
  }
28
31
  ) });
29
32
  });
30
- w.displayName = o.Root.displayName;
31
- const C = e.forwardRef(({ className: t, ...a }, i) => {
32
- const { variant: s } = e.useContext(x);
33
- return /* @__PURE__ */ n(
34
- o.List,
33
+ k.displayName = r.Root.displayName;
34
+ const z = n.forwardRef(({ className: t, ...a }, e) => {
35
+ const { variant: o } = n.useContext(h);
36
+ return /* @__PURE__ */ s(
37
+ r.List,
35
38
  {
36
- ref: i,
39
+ ref: e,
37
40
  "data-tabs": "list",
38
- className: p(
41
+ className: f(
39
42
  "inline-flex items-center justify-center rounded-lg",
40
- s === "line" && "h-10 bg-white border w-full justify-start gap-2 px-2 shrink-0 py-0",
41
- s === "pill" && "h-10 p-1 bg-[#eceefd] text-[#4259ee] gap-1",
42
- s === "outline" && "bg-transparent gap-2 p-0 w-full justify-start",
43
+ o === "line" && "h-10 bg-white border w-full justify-start gap-2 px-2 shrink-0 py-0",
44
+ o === "pill" && "h-10 p-1 bg-[#eceefd] text-[#4259ee] gap-1",
45
+ o === "outline" && "bg-transparent gap-2 p-0 w-full justify-start",
43
46
  t
44
47
  ),
45
48
  ...a
46
49
  }
47
50
  );
48
51
  });
49
- C.displayName = o.List.displayName;
50
- const T = e.forwardRef(({ className: t, icon: a, children: i, ...s }, r) => {
51
- const { variant: l, size: m, activeValue: u, hideInactiveLabel: c, tooltipClassName: b } = e.useContext(x), d = u === s.value, f = /* @__PURE__ */ h(
52
- o.Trigger,
52
+ z.displayName = r.List.displayName;
53
+ const M = n.forwardRef(({ className: t, icon: a, children: e, maxWords: o, ...m }, i) => {
54
+ const { variant: l, size: x, activeValue: b, hideInactiveLabel: p, tooltipClassName: g, maxWords: u } = n.useContext(h), d = o ?? u, c = b === m.value, v = typeof e == "string", N = v && d ? L(e, d) : e, C = v && d && e.split(/\s+/).length > d, T = p && !c || C, y = /* @__PURE__ */ w(j, { children: [
55
+ a && /* @__PURE__ */ s("span", { className: f("h-4 w-4 shrink-0", !p || c ? "mr-2" : "mr-0"), children: a }),
56
+ /* @__PURE__ */ s("span", { className: f(p && !c && "sr-only"), children: N })
57
+ ] });
58
+ return /* @__PURE__ */ s(
59
+ r.Trigger,
53
60
  {
54
- ref: r,
61
+ ref: i,
55
62
  "data-tabs": "trigger",
56
- className: p(
63
+ className: f(
57
64
  "relative inline-flex items-center justify-center whitespace-nowrap text-sm font-medium transition-all focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50",
58
65
  l === "line" && [
59
66
  "h-full rounded-none border-b-2 border-transparent px-1 text-[13px] font-medium capitalize text-[#60697d] -mb-[1px]",
@@ -69,39 +76,35 @@ const T = e.forwardRef(({ className: t, icon: a, children: i, ...s }, r) => {
69
76
  "rounded-full border border-[#5f6673] bg-white text-[#5f6673] font-['Manrope']",
70
77
  "hover:bg-slate-50 hover:text-[#1f2b4d]",
71
78
  "data-[state=active]:border-[#4259ee] data-[state=active]:text-[#4259ee]",
72
- m === "sm" ? "h-[24px] px-[8px] py-[2px] text-xs" : "h-9 px-4 py-2"
79
+ x === "sm" ? "h-[24px] px-[8px] py-[2px] text-xs" : "h-9 px-4 py-2"
73
80
  ],
74
81
  t
75
82
  ),
76
- ...s,
77
- children: [
78
- a && /* @__PURE__ */ n("span", { className: p("h-4 w-4 shrink-0", !c || d ? "mr-2" : "mr-0"), children: a }),
79
- /* @__PURE__ */ n("span", { className: p(c && !d && "sr-only"), children: i })
80
- ]
83
+ ...m,
84
+ children: T ? /* @__PURE__ */ w(R, { children: [
85
+ /* @__PURE__ */ s(V, { asChild: !0, children: /* @__PURE__ */ s("span", { className: "inline-flex items-center justify-center h-full w-full", children: y }) }),
86
+ /* @__PURE__ */ s(W, { variant: "tertiary", className: g, children: e })
87
+ ] }) : y
81
88
  }
82
89
  );
83
- return c && !d ? /* @__PURE__ */ h(v, { children: [
84
- /* @__PURE__ */ n(y, { asChild: !0, children: f }),
85
- /* @__PURE__ */ n(N, { variant: "tertiary", className: b, children: i })
86
- ] }) : f;
87
90
  });
88
- T.displayName = o.Trigger.displayName;
89
- const R = e.forwardRef(({ className: t, ...a }, i) => /* @__PURE__ */ n(
90
- o.Content,
91
+ M.displayName = r.Trigger.displayName;
92
+ const P = n.forwardRef(({ className: t, ...a }, e) => /* @__PURE__ */ s(
93
+ r.Content,
91
94
  {
92
- ref: i,
95
+ ref: e,
93
96
  "data-tabs": "content",
94
- className: p(
97
+ className: f(
95
98
  "mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
96
99
  t
97
100
  ),
98
101
  ...a
99
102
  }
100
103
  ));
101
- R.displayName = o.Content.displayName;
104
+ P.displayName = r.Content.displayName;
102
105
  export {
103
- w as Tabs,
104
- R as TabsContent,
105
- C as TabsList,
106
- T as TabsTrigger
106
+ k as Tabs,
107
+ P as TabsContent,
108
+ z as TabsList,
109
+ M as TabsTrigger
107
110
  };
@@ -1,9 +1,10 @@
1
- import { jsxs as s, jsx as e } from "react/jsx-runtime";
1
+ import { jsxs as c, jsx as e } from "react/jsx-runtime";
2
2
  import * as m from "react";
3
3
  import { Slot as x } from "@radix-ui/react-slot";
4
4
  import { cva as h } from "class-variance-authority";
5
5
  import { X as u } from "lucide-react";
6
- import { cn as v } from "../../lib/utils.js";
6
+ import { Button as v } from "./button.js";
7
+ import { cn as w } from "../../lib/utils.js";
7
8
  const y = h(
8
9
  "inline-flex items-center justify-center rounded-full transition-colors whitespace-nowrap focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
9
10
  {
@@ -37,42 +38,42 @@ const y = h(
37
38
  shape: "pill"
38
39
  }
39
40
  }
40
- ), w = m.forwardRef(
41
- ({ className: d, variant: r, size: t, shape: o, leftIcon: a, rightIcon: n, removable: i, onRemove: l, asChild: f = !1, children: c, ...p }, b) => /* @__PURE__ */ s(
42
- f ? x : "span",
41
+ ), j = m.forwardRef(
42
+ ({ className: i, variant: r, size: t, shape: o, leftIcon: a, rightIcon: n, removable: s, onRemove: d, asChild: l = !1, children: p, ...f }, g) => /* @__PURE__ */ c(
43
+ l ? x : "span",
43
44
  {
44
- ref: b,
45
- className: v(y({ variant: r, size: t, shape: o }), d),
45
+ ref: g,
46
+ className: w(y({ variant: r, size: t, shape: o }), i),
46
47
  "data-component": "tag",
47
48
  "data-variant": r ?? "default",
48
49
  "data-size": t ?? "md",
49
50
  "data-shape": o ?? "pill",
50
- ...p,
51
+ ...f,
51
52
  children: [
52
53
  a && /* @__PURE__ */ e("span", { className: "mr-1.5 flex shrink-0 items-center justify-center", children: a }),
53
- c,
54
+ p,
54
55
  n && /* @__PURE__ */ e("span", { className: "ml-1.5 flex shrink-0 items-center justify-center", children: n }),
55
- i && /* @__PURE__ */ s(
56
- "button",
56
+ s && /* @__PURE__ */ e(
57
+ v,
57
58
  {
58
59
  type: "button",
59
- onClick: (g) => {
60
- g.stopPropagation(), l?.();
60
+ variant: "ghost",
61
+ size: "icon",
62
+ "aria-label": "Remove",
63
+ onClick: (b) => {
64
+ b.stopPropagation(), d?.();
61
65
  },
62
- className: "ml-1.5 flex h-3.5 w-3.5 shrink-0 items-center justify-center rounded-full hover:bg-black/10 transition-colors",
66
+ className: "ml-1.5 h-4 w-4 shrink-0 rounded-full hover:bg-black/10 transition-colors p-0 [&_svg]:size-3",
63
67
  "data-component": "tag-remove",
64
- children: [
65
- /* @__PURE__ */ e(u, { className: "h-3 w-3" }),
66
- /* @__PURE__ */ e("span", { className: "sr-only", children: "Remove" })
67
- ]
68
+ children: /* @__PURE__ */ e(u, {})
68
69
  }
69
70
  )
70
71
  ]
71
72
  }
72
73
  )
73
74
  );
74
- w.displayName = "Tag";
75
+ j.displayName = "Tag";
75
76
  export {
76
- w as Tag,
77
+ j as Tag,
77
78
  y as tagVariants
78
79
  };
@@ -1,10 +1,11 @@
1
- import { jsx as a } from "react/jsx-runtime";
1
+ import { jsx as a, jsxs as d } from "react/jsx-runtime";
2
2
  import * as s from "react";
3
3
  import * as o from "@radix-ui/react-toast";
4
- import { cva as d } from "class-variance-authority";
5
- import { X as p } from "lucide-react";
4
+ import { cva as p } from "class-variance-authority";
5
+ import { X as c } from "lucide-react";
6
6
  import { cn as i } from "../../lib/utils.js";
7
- const y = o.Provider, c = s.forwardRef(({ className: t, position: e = "top-right", ...r }, n) => /* @__PURE__ */ a(
7
+ import { Tooltip as f, TooltipTrigger as l, TooltipContent as u } from "./tooltip.js";
8
+ const R = o.Provider, x = s.forwardRef(({ className: t, position: e = "top-right", ...r }, n) => /* @__PURE__ */ a(
8
9
  o.Viewport,
9
10
  {
10
11
  ref: n,
@@ -18,8 +19,8 @@ const y = o.Provider, c = s.forwardRef(({ className: t, position: e = "top-right
18
19
  ...r
19
20
  }
20
21
  ));
21
- c.displayName = o.Viewport.displayName;
22
- const f = d(
22
+ x.displayName = o.Viewport.displayName;
23
+ const m = p(
23
24
  "group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",
24
25
  {
25
26
  variants: {
@@ -38,18 +39,18 @@ const f = d(
38
39
  variant: "default"
39
40
  }
40
41
  }
41
- ), l = s.forwardRef(({ className: t, variant: e, ...r }, n) => /* @__PURE__ */ a(
42
+ ), b = s.forwardRef(({ className: t, variant: e, ...r }, n) => /* @__PURE__ */ a(
42
43
  o.Root,
43
44
  {
44
45
  ref: n,
45
46
  "data-component": "toast",
46
47
  "data-variant": e ?? "default",
47
- className: i(f({ variant: e }), t),
48
+ className: i(m({ variant: e }), t),
48
49
  ...r
49
50
  }
50
51
  ));
51
- l.displayName = o.Root.displayName;
52
- const u = s.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
52
+ b.displayName = o.Root.displayName;
53
+ const g = s.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
53
54
  o.Action,
54
55
  {
55
56
  ref: r,
@@ -61,23 +62,26 @@ const u = s.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
61
62
  ...e
62
63
  }
63
64
  ));
64
- u.displayName = o.Action.displayName;
65
- const x = s.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
66
- o.Close,
67
- {
68
- ref: r,
69
- "data-component": "toast-close",
70
- className: i(
71
- "absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",
72
- t
73
- ),
74
- "toast-close": "",
75
- ...e,
76
- children: /* @__PURE__ */ a(p, { className: "h-4 w-4" })
77
- }
78
- ));
79
- x.displayName = o.Close.displayName;
80
- const m = s.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
65
+ g.displayName = o.Action.displayName;
66
+ const h = s.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ d(f, { children: [
67
+ /* @__PURE__ */ a(l, { asChild: !0, children: /* @__PURE__ */ a(
68
+ o.Close,
69
+ {
70
+ ref: r,
71
+ "data-component": "toast-close",
72
+ className: i(
73
+ "absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",
74
+ t
75
+ ),
76
+ "toast-close": "",
77
+ ...e,
78
+ children: /* @__PURE__ */ a(c, { className: "h-4 w-4" })
79
+ }
80
+ ) }),
81
+ /* @__PURE__ */ a(u, { variant: "tertiary", side: "top", children: "Close" })
82
+ ] }));
83
+ h.displayName = o.Close.displayName;
84
+ const v = s.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
81
85
  o.Title,
82
86
  {
83
87
  ref: r,
@@ -86,8 +90,8 @@ const m = s.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
86
90
  ...e
87
91
  }
88
92
  ));
89
- m.displayName = o.Title.displayName;
90
- const b = s.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
93
+ v.displayName = o.Title.displayName;
94
+ const w = s.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
91
95
  o.Description,
92
96
  {
93
97
  ref: r,
@@ -96,13 +100,13 @@ const b = s.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
96
100
  ...e
97
101
  }
98
102
  ));
99
- b.displayName = o.Description.displayName;
103
+ w.displayName = o.Description.displayName;
100
104
  export {
101
- l as Toast,
102
- u as ToastAction,
103
- x as ToastClose,
104
- b as ToastDescription,
105
- y as ToastProvider,
106
- m as ToastTitle,
107
- c as ToastViewport
105
+ b as Toast,
106
+ g as ToastAction,
107
+ h as ToastClose,
108
+ w as ToastDescription,
109
+ R as ToastProvider,
110
+ v as ToastTitle,
111
+ x as ToastViewport
108
112
  };
@@ -3,7 +3,7 @@ import * as l from "react";
3
3
  import * as o from "@radix-ui/react-tooltip";
4
4
  import { cva as p } from "class-variance-authority";
5
5
  import { cn as d } from "../../lib/utils.js";
6
- const c = o.Provider, x = ({ children: i, ...a }) => /* @__PURE__ */ r(c, { children: /* @__PURE__ */ r(o.Root, { delayDuration: 0, ...a, children: i }) }), h = o.Trigger, f = p(
6
+ const c = o.Provider, x = ({ children: i, ...a }) => /* @__PURE__ */ r(c, { children: /* @__PURE__ */ r(o.Root, { ...a, children: i }) }), h = o.Trigger, f = p(
7
7
  "z-50 overflow-hidden rounded-md px-4 py-2 text-sm animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-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 origin-[--radix-tooltip-content-transform-origin]",
8
8
  {
9
9
  variants: {