impact-nova 1.1.0 → 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 (38) 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.d.ts +4 -4
  7. package/dist/components/ui/calendar.js +292 -286
  8. package/dist/components/ui/date-picker/date-picker.js +96 -90
  9. package/dist/components/ui/date-picker/date-range-picker.js +124 -117
  10. package/dist/components/ui/date-picker/month-picker.js +98 -91
  11. package/dist/components/ui/date-picker/month-range-picker.js +118 -111
  12. package/dist/components/ui/date-picker/multi-date-picker.js +76 -69
  13. package/dist/components/ui/date-picker/multi-month-picker.js +72 -65
  14. package/dist/components/ui/date-picker/multi-week-picker.js +88 -81
  15. package/dist/components/ui/date-picker/week-picker.js +107 -100
  16. package/dist/components/ui/date-picker/week-range-picker.js +144 -137
  17. package/dist/components/ui/dialog.js +65 -61
  18. package/dist/components/ui/drawer.d.ts +3 -1
  19. package/dist/components/ui/drawer.js +44 -29
  20. package/dist/components/ui/file-upload.d.ts +2 -1
  21. package/dist/components/ui/file-upload.js +159 -135
  22. package/dist/components/ui/filter-panel/filter-panel.js +89 -70
  23. package/dist/components/ui/filter-strip/filter-summary.js +117 -104
  24. package/dist/components/ui/filter-strip/filter-tag-list.js +81 -65
  25. package/dist/components/ui/popover.js +52 -48
  26. package/dist/components/ui/prompt.d.ts +2 -1
  27. package/dist/components/ui/prompt.js +81 -64
  28. package/dist/components/ui/sheet.js +91 -84
  29. package/dist/components/ui/sidebar.js +9 -8
  30. package/dist/components/ui/tabs.d.ts +2 -0
  31. package/dist/components/ui/tabs.js +58 -55
  32. package/dist/components/ui/tag.js +21 -20
  33. package/dist/components/ui/toast.js +41 -37
  34. package/dist/components/ui/tooltip.js +1 -1
  35. package/dist/components/ui/types/date-picker.types.d.ts +18 -18
  36. package/dist/impact-nova.css +1 -1
  37. package/dist/index.js +250 -248
  38. package/package.json +1 -1
@@ -1,54 +1,58 @@
1
- import { jsx as a, jsxs as d } from "react/jsx-runtime";
2
- import * as n from "react";
3
- import * as t from "@radix-ui/react-accordion";
4
- import { ChevronRight as l } from "lucide-react";
1
+ import { jsx as e, jsxs as i } from "react/jsx-runtime";
2
+ import * as d from "react";
3
+ import * as r from "@radix-ui/react-accordion";
4
+ import { ChevronRight as m } from "lucide-react";
5
5
  import { cn as s } from "../../lib/utils.js";
6
- const v = t.Root, f = n.forwardRef(({ className: r, ...e }, o) => /* @__PURE__ */ a(
7
- t.Item,
6
+ import { Tooltip as f, TooltipTrigger as p, TooltipContent as g } from "./tooltip.js";
7
+ const w = r.Root, h = d.forwardRef(({ className: o, ...t }, a) => /* @__PURE__ */ e(
8
+ r.Item,
8
9
  {
9
- ref: o,
10
- "data-item": e.value,
11
- "data-disabled": e.disabled ? "" : void 0,
12
- className: s("border-b rounded-lg bg-white overflow-hidden border-b-[#D9DDE7]", r),
13
- ...e
10
+ ref: a,
11
+ "data-item": t.value,
12
+ "data-disabled": t.disabled ? "" : void 0,
13
+ className: s("border-b rounded-lg bg-white overflow-hidden border-b-[#D9DDE7]", o),
14
+ ...t
14
15
  }
15
16
  ));
16
- f.displayName = "AccordionItem";
17
- const p = n.forwardRef(({ className: r, children: e, badge: o, rightActions: i, ...c }, m) => /* @__PURE__ */ a(t.Header, { className: "flex", children: /* @__PURE__ */ d(
18
- t.Trigger,
17
+ h.displayName = "AccordionItem";
18
+ const x = d.forwardRef(({ className: o, children: t, badge: a, rightActions: n, ...c }, l) => /* @__PURE__ */ e(r.Header, { className: "flex", children: /* @__PURE__ */ i(
19
+ r.Trigger,
19
20
  {
20
- ref: m,
21
+ ref: l,
21
22
  className: s(
22
23
  "flex flex-1 items-center gap-3 px-4 py-2 text-sm font-semibold transition-all text-left [&[data-state=open]>div>svg]:-rotate-90",
23
- r
24
+ o
24
25
  ),
25
26
  ...c,
26
27
  children: [
27
- /* @__PURE__ */ a("div", { className: "flex items-center justify-center h-8 w-8 shrink-0 rounded-lg bg-secondary text-secondary-foreground transition-transform duration-200", children: /* @__PURE__ */ a(l, { className: "h-4 w-4 transition-transform duration-200" }) }),
28
- /* @__PURE__ */ d("div", { className: "flex flex-1 items-center justify-between", children: [
29
- /* @__PURE__ */ d("div", { className: "flex items-center gap-3", children: [
30
- e,
31
- o
28
+ /* @__PURE__ */ i(f, { children: [
29
+ /* @__PURE__ */ e(p, { asChild: !0, children: /* @__PURE__ */ e("div", { className: "flex items-center justify-center h-8 w-8 shrink-0 rounded-lg bg-secondary text-secondary-foreground transition-transform duration-200", children: /* @__PURE__ */ e(m, { className: "h-4 w-4 transition-transform duration-200" }) }) }),
30
+ /* @__PURE__ */ e(g, { side: "top", variant: "tertiary", children: "Toggle" })
31
+ ] }),
32
+ /* @__PURE__ */ i("div", { className: "flex flex-1 items-center justify-between", children: [
33
+ /* @__PURE__ */ i("div", { className: "flex items-center gap-3", children: [
34
+ t,
35
+ a
32
36
  ] }),
33
- i
37
+ n
34
38
  ] })
35
39
  ]
36
40
  }
37
41
  ) }));
38
- p.displayName = t.Trigger.displayName;
39
- const x = n.forwardRef(({ className: r, children: e, ...o }, i) => /* @__PURE__ */ a(
40
- t.Content,
42
+ x.displayName = r.Trigger.displayName;
43
+ const N = d.forwardRef(({ className: o, children: t, ...a }, n) => /* @__PURE__ */ e(
44
+ r.Content,
41
45
  {
42
- ref: i,
46
+ ref: n,
43
47
  className: "overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",
44
- ...o,
45
- children: /* @__PURE__ */ a("div", { className: s("px-4 pb-4 pt-2", r), children: e })
48
+ ...a,
49
+ children: /* @__PURE__ */ e("div", { className: s("px-4 pb-4 pt-2", o), children: t })
46
50
  }
47
51
  ));
48
- x.displayName = t.Content.displayName;
52
+ N.displayName = r.Content.displayName;
49
53
  export {
50
- v as Accordion,
51
- x as AccordionContent,
52
- f as AccordionItem,
53
- p as AccordionTrigger
54
+ w as Accordion,
55
+ N as AccordionContent,
56
+ h as AccordionItem,
57
+ x as AccordionTrigger
54
58
  };
@@ -5,6 +5,8 @@ declare const alertVariants: (props?: {
5
5
  } & import('class-variance-authority/types').ClassProp) => string;
6
6
  export interface AlertProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariants> {
7
7
  asChild?: boolean;
8
+ removable?: boolean;
9
+ onClose?: () => void;
8
10
  }
9
11
  declare const Alert: React.ForwardRefExoticComponent<AlertProps & React.RefAttributes<HTMLDivElement>>;
10
12
  declare const AlertTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLParagraphElement>>;
@@ -1,10 +1,11 @@
1
- import { jsx as a } from "react/jsx-runtime";
1
+ import { jsxs as f, jsx as o } from "react/jsx-runtime";
2
2
  import * as n from "react";
3
- import { Slot as c } from "@radix-ui/react-slot";
4
- import { cva as d } from "class-variance-authority";
3
+ import { Slot as m } from "@radix-ui/react-slot";
4
+ import { cva as p } from "class-variance-authority";
5
5
  import { cn as s } from "../../lib/utils.js";
6
- import { XCircle as f, AlertTriangle as g, CheckCircle as m, Info as o } from "lucide-react";
7
- const p = d(
6
+ import { Button as b } from "./button.js";
7
+ import { X as u, XCircle as x, AlertTriangle as v, CheckCircle as h, Info as a } from "lucide-react";
8
+ const w = p(
8
9
  "relative w-full rounded-lg border px-4 py-3 text-sm flex gap-3 items-start",
9
10
  {
10
11
  variants: {
@@ -20,21 +21,35 @@ const p = d(
20
21
  variant: "default"
21
22
  }
22
23
  }
23
- ), b = n.forwardRef(
24
- ({ className: e, variant: r, asChild: t = !1, ...l }, i) => /* @__PURE__ */ a(
25
- t ? c : "div",
24
+ ), A = n.forwardRef(
25
+ ({ className: e, variant: r, asChild: t = !1, removable: l, onClose: i, children: c, ...d }, g) => /* @__PURE__ */ f(
26
+ t ? m : "div",
26
27
  {
27
- ref: i,
28
+ ref: g,
28
29
  role: "alert",
29
30
  "data-component": "alert",
30
31
  "data-variant": r ?? "default",
31
- className: s(p({ variant: r }), e),
32
- ...l
32
+ className: s(w({ variant: r }), e),
33
+ ...d,
34
+ children: [
35
+ c,
36
+ l && /* @__PURE__ */ o(
37
+ b,
38
+ {
39
+ variant: "ghost",
40
+ size: "icon",
41
+ className: "absolute right-4 top-3 h-4 w-4 p-0 text-secondary-foreground hover:text-foreground hover:bg-transparent",
42
+ onClick: i,
43
+ "aria-label": "Close",
44
+ children: /* @__PURE__ */ o(u, { className: "h-4 w-4" })
45
+ }
46
+ )
47
+ ]
33
48
  }
34
49
  )
35
50
  );
36
- b.displayName = "Alert";
37
- const u = n.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ a(
51
+ A.displayName = "Alert";
52
+ const N = n.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ o(
38
53
  "h5",
39
54
  {
40
55
  ref: t,
@@ -43,8 +58,8 @@ const u = n.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ a(
43
58
  ...r
44
59
  }
45
60
  ));
46
- u.displayName = "AlertTitle";
47
- const x = n.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ a(
61
+ N.displayName = "AlertTitle";
62
+ const y = n.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ o(
48
63
  "div",
49
64
  {
50
65
  ref: t,
@@ -53,22 +68,22 @@ const x = n.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ a(
53
68
  ...r
54
69
  }
55
70
  ));
56
- x.displayName = "AlertDescription";
57
- const v = {
58
- default: o,
59
- info: o,
60
- success: m,
61
- warning: g,
62
- error: f
63
- }, w = ({ variant: e = "info", className: r = "h-4 w-4 shrink-0 mt-1" }) => {
64
- const t = v[e] || o;
65
- return /* @__PURE__ */ a(t, { className: r });
71
+ y.displayName = "AlertDescription";
72
+ const C = {
73
+ default: a,
74
+ info: a,
75
+ success: h,
76
+ warning: v,
77
+ error: x
78
+ }, k = ({ variant: e = "info", className: r = "h-4 w-4 shrink-0 mt-1" }) => {
79
+ const t = C[e] || a;
80
+ return /* @__PURE__ */ o(t, { className: r });
66
81
  };
67
- w.displayName = "AlertIcon";
82
+ k.displayName = "AlertIcon";
68
83
  export {
69
- b as Alert,
70
- x as AlertDescription,
71
- w as AlertIcon,
72
- u as AlertTitle,
73
- p as alertVariants
84
+ A as Alert,
85
+ y as AlertDescription,
86
+ k as AlertIcon,
87
+ N as AlertTitle,
88
+ w as alertVariants
74
89
  };
@@ -5,12 +5,17 @@ declare const HomeIcon: ({ className }: {
5
5
  declare const Breadcrumb: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
6
6
  separator?: React.ReactNode;
7
7
  } & React.RefAttributes<HTMLElement>>;
8
- declare const BreadcrumbList: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & React.RefAttributes<HTMLOListElement>>;
8
+ declare const BreadcrumbList: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & {
9
+ maxWords?: number;
10
+ } & React.RefAttributes<HTMLOListElement>>;
9
11
  declare const BreadcrumbItem: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React.RefAttributes<HTMLLIElement>>;
10
12
  declare const BreadcrumbLink: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
11
13
  asChild?: boolean;
14
+ maxWords?: number;
12
15
  } & React.RefAttributes<HTMLAnchorElement>>;
13
- declare const BreadcrumbPage: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
16
+ declare const BreadcrumbPage: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
17
+ maxWords?: number;
18
+ } & React.RefAttributes<HTMLSpanElement>>;
14
19
  declare const BreadcrumbSeparator: {
15
20
  ({ children, className, ...props }: React.ComponentProps<"li">): import("react/jsx-runtime").JSX.Element;
16
21
  displayName: string;
@@ -1,10 +1,14 @@
1
- import { jsx as a, jsxs as m } from "react/jsx-runtime";
2
- import * as o from "react";
3
- import { Slot as l } from "@radix-ui/react-slot";
4
- import { MoreHorizontal as n } from "lucide-react";
5
- import { ClickMeArrow as c } from "../../icons/index.js";
6
- import { cn as s } from "../../lib/utils.js";
7
- const L = ({ className: e }) => /* @__PURE__ */ a(
1
+ import { jsx as a, jsxs as f } from "react/jsx-runtime";
2
+ import * as s from "react";
3
+ import { Slot as N } from "@radix-ui/react-slot";
4
+ import { MoreHorizontal as y } from "lucide-react";
5
+ import { ClickMeArrow as v } from "../../icons/index.js";
6
+ import { Tooltip as h, TooltipTrigger as w, TooltipContent as g } from "./tooltip.js";
7
+ import { cn as n } from "../../lib/utils.js";
8
+ const x = s.createContext({}), b = (r, e) => {
9
+ const t = r.split(/\s+/);
10
+ return t.length <= e ? r : t.slice(0, e).join(" ") + "...";
11
+ }, Z = ({ className: r }) => /* @__PURE__ */ a(
8
12
  "svg",
9
13
  {
10
14
  width: "13",
@@ -12,7 +16,7 @@ const L = ({ className: e }) => /* @__PURE__ */ a(
12
16
  viewBox: "0 0 12 13",
13
17
  fill: "none",
14
18
  xmlns: "http://www.w3.org/2000/svg",
15
- className: s("h-3.5 w-3.5", e),
19
+ className: n("h-3.5 w-3.5", r),
16
20
  children: /* @__PURE__ */ a(
17
21
  "path",
18
22
  {
@@ -21,63 +25,80 @@ const L = ({ className: e }) => /* @__PURE__ */ a(
21
25
  }
22
26
  )
23
27
  }
24
- ), d = o.forwardRef(({ ...e }, r) => /* @__PURE__ */ a("nav", { ref: r, "aria-label": "breadcrumb", ...e }));
25
- d.displayName = "Breadcrumb";
26
- const p = o.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ a(
28
+ ), H = s.forwardRef(({ ...r }, e) => /* @__PURE__ */ a("nav", { ref: e, "aria-label": "breadcrumb", ...r }));
29
+ H.displayName = "Breadcrumb";
30
+ const W = s.forwardRef(({ className: r, maxWords: e, ...t }, o) => /* @__PURE__ */ a(x.Provider, { value: { maxWords: e }, children: /* @__PURE__ */ a(
27
31
  "ol",
28
32
  {
29
- ref: t,
30
- className: s(
33
+ ref: o,
34
+ className: n(
31
35
  "flex flex-wrap items-center gap-2 text-[14px] font-medium text-secondary-foreground",
32
- e
36
+ r
33
37
  ),
34
- ...r
35
- }
36
- ));
37
- p.displayName = "BreadcrumbList";
38
- const f = o.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ a(
39
- "li",
40
- {
41
- ref: t,
42
- className: s("inline-flex items-center gap-1.5", e),
43
- ...r
44
- }
45
- ));
46
- f.displayName = "BreadcrumbItem";
47
- const u = o.forwardRef(({ asChild: e, className: r, ...t }, i) => /* @__PURE__ */ a(
48
- e ? l : "a",
49
- {
50
- ref: i,
51
- className: s("transition-colors text-primary hover:text-primary-700 font-medium", r),
52
38
  ...t
53
39
  }
54
- ));
55
- u.displayName = "BreadcrumbLink";
56
- const w = o.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ a(
57
- "span",
40
+ ) }));
41
+ W.displayName = "BreadcrumbList";
42
+ const L = s.forwardRef(({ className: r, ...e }, t) => /* @__PURE__ */ a(
43
+ "li",
58
44
  {
59
45
  ref: t,
60
- role: "link",
61
- "aria-disabled": "true",
62
- "aria-current": "page",
63
- "data-current": "page",
64
- className: s("font-extrabold text-[#1f2b4d]", e),
65
- ...r
46
+ className: n("inline-flex items-center gap-1.5", r),
47
+ ...e
66
48
  }
67
49
  ));
68
- w.displayName = "BreadcrumbPage";
69
- const h = ({
70
- children: e,
71
- className: r,
50
+ L.displayName = "BreadcrumbItem";
51
+ const M = s.forwardRef(({ asChild: r, className: e, maxWords: t, children: o, ...p }, u) => {
52
+ const i = r ? N : "a", { maxWords: d } = s.useContext(x), c = t ?? d, l = typeof o == "string", m = l && c ? b(o, c) : o, B = l && c && o.split(/\s+/).length > c, C = /* @__PURE__ */ a(
53
+ i,
54
+ {
55
+ ref: u,
56
+ className: n(
57
+ "transition-colors text-primary hover:text-primary-700 font-medium",
58
+ e
59
+ ),
60
+ ...p,
61
+ children: m
62
+ }
63
+ );
64
+ return B ? /* @__PURE__ */ f(h, { children: [
65
+ /* @__PURE__ */ a(w, { asChild: !0, children: C }),
66
+ /* @__PURE__ */ a(g, { side: "top", variant: "tertiary", children: o })
67
+ ] }) : C;
68
+ });
69
+ M.displayName = "BreadcrumbLink";
70
+ const R = s.forwardRef(({ className: r, maxWords: e, children: t, ...o }, p) => {
71
+ const { maxWords: u } = s.useContext(x), i = e ?? u, d = typeof t == "string", c = d && i ? b(t, i) : t, l = d && i && t.split(/\s+/).length > i, m = /* @__PURE__ */ a(
72
+ "span",
73
+ {
74
+ ref: p,
75
+ role: "link",
76
+ "aria-disabled": "true",
77
+ "aria-current": "page",
78
+ "data-current": "page",
79
+ className: n("font-extrabold text-[#1f2b4d]", r),
80
+ ...o,
81
+ children: c
82
+ }
83
+ );
84
+ return l ? /* @__PURE__ */ f(h, { children: [
85
+ /* @__PURE__ */ a(w, { asChild: !0, children: m }),
86
+ /* @__PURE__ */ a(g, { side: "top", variant: "tertiary", children: t })
87
+ ] }) : m;
88
+ });
89
+ R.displayName = "BreadcrumbPage";
90
+ const V = ({
91
+ children: r,
92
+ className: e,
72
93
  ...t
73
94
  }) => /* @__PURE__ */ a(
74
95
  "li",
75
96
  {
76
97
  role: "presentation",
77
98
  "aria-hidden": "true",
78
- className: s("[&>svg]:w-3.5 [&>svg]:h-3.5 text-secondary-foreground", r),
99
+ className: n("[&>svg]:w-3.5 [&>svg]:h-3.5 text-secondary-foreground", e),
79
100
  ...t,
80
- children: e ?? /* @__PURE__ */ a(
101
+ children: r ?? /* @__PURE__ */ a(
81
102
  "svg",
82
103
  {
83
104
  width: "16",
@@ -97,55 +118,55 @@ const h = ({
97
118
  )
98
119
  }
99
120
  );
100
- h.displayName = "BreadcrumbSeparator";
101
- const b = ({
102
- className: e,
103
- ...r
104
- }) => /* @__PURE__ */ m(
121
+ V.displayName = "BreadcrumbSeparator";
122
+ const S = ({
123
+ className: r,
124
+ ...e
125
+ }) => /* @__PURE__ */ f(
105
126
  "span",
106
127
  {
107
128
  role: "presentation",
108
129
  "aria-hidden": "true",
109
- className: s("flex h-9 w-9 items-center justify-center", e),
110
- ...r,
130
+ className: n("flex h-9 w-9 items-center justify-center", r),
131
+ ...e,
111
132
  children: [
112
- /* @__PURE__ */ a(n, { className: "h-4 w-4" }),
133
+ /* @__PURE__ */ a(y, { className: "h-4 w-4" }),
113
134
  /* @__PURE__ */ a("span", { className: "sr-only", children: "More" })
114
135
  ]
115
136
  }
116
137
  );
117
- b.displayName = "BreadcrumbElipssis";
118
- const C = o.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ a(
138
+ S.displayName = "BreadcrumbElipssis";
139
+ const T = s.forwardRef(({ className: r, ...e }, t) => /* @__PURE__ */ a(
119
140
  "div",
120
141
  {
121
142
  ref: t,
122
- className: s("flex h-14 items-center justify-between px-6", e),
123
- ...r
143
+ className: n("flex h-14 items-center justify-between px-6", r),
144
+ ...e
124
145
  }
125
146
  ));
126
- C.displayName = "BreadcrumbHeader";
127
- const x = o.forwardRef(({ className: e, style: r, ...t }, i) => /* @__PURE__ */ a(
147
+ T.displayName = "BreadcrumbHeader";
148
+ const j = s.forwardRef(({ className: r, style: e, ...t }, o) => /* @__PURE__ */ a(
128
149
  "li",
129
150
  {
130
- ref: i,
151
+ ref: o,
131
152
  role: "presentation",
132
153
  "aria-hidden": "true",
133
- className: s("inline-flex items-center", e),
134
- style: r,
154
+ className: n("inline-flex items-center", r),
155
+ style: e,
135
156
  ...t,
136
- children: /* @__PURE__ */ a(c, { size: 12 })
157
+ children: /* @__PURE__ */ a(v, { size: 12 })
137
158
  }
138
159
  ));
139
- x.displayName = "BreadcrumbArrowSeparator";
160
+ j.displayName = "BreadcrumbArrowSeparator";
140
161
  export {
141
- d as Breadcrumb,
142
- x as BreadcrumbArrowSeparator,
143
- b as BreadcrumbEllipsis,
144
- C as BreadcrumbHeader,
145
- f as BreadcrumbItem,
146
- u as BreadcrumbLink,
147
- p as BreadcrumbList,
148
- w as BreadcrumbPage,
149
- h as BreadcrumbSeparator,
150
- L as HomeIcon
162
+ H as Breadcrumb,
163
+ j as BreadcrumbArrowSeparator,
164
+ S as BreadcrumbEllipsis,
165
+ T as BreadcrumbHeader,
166
+ L as BreadcrumbItem,
167
+ M as BreadcrumbLink,
168
+ W as BreadcrumbList,
169
+ R as BreadcrumbPage,
170
+ V as BreadcrumbSeparator,
171
+ Z as HomeIcon
151
172
  };
@@ -27,8 +27,8 @@ export interface CalendarProps extends Omit<React.ComponentProps<typeof DayPicke
27
27
  onApply?: (date: Date | Date[] | DateRange | undefined) => void;
28
28
  onCancel?: () => void;
29
29
  onClear?: () => void;
30
- fromYear?: number;
31
- toYear?: number;
30
+ startMonth?: Date;
31
+ endMonth?: Date;
32
32
  mode?: "single" | "multiple" | "range";
33
33
  selected?: Date | Date[] | DateRange;
34
34
  onSelect?: (date: Date | Date[] | DateRange | undefined) => void;
@@ -51,8 +51,8 @@ export interface CalendarProps extends Omit<React.ComponentProps<typeof DayPicke
51
51
  selectedMonths?: MonthSelection | MonthSelection[] | MonthRange;
52
52
  onMonthSelect?: (months: MonthSelection | MonthSelection[] | MonthRange | undefined) => void;
53
53
  }
54
- declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, showFooter, onApply, onCancel, onClear, fromYear, toYear, mode, selected, onSelect, fromDate, toDate, fromMonth, toMonth, pickerType, weekMode, selectedWeeks, onWeekSelect, calendarType, fiscalMode, selectionMode, fiscalMonthPattern, fiscalYearStartMonth, weekStartsOn, // Default Monday
55
- monthMode, selectedMonths, onMonthSelect, month, defaultMonth, onMonthChange, ...props }: CalendarProps): import("react/jsx-runtime").JSX.Element;
54
+ declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, showFooter, onApply, onCancel, onClear, mode, selected, onSelect, pickerType, weekMode, selectedWeeks, onWeekSelect, calendarType, fiscalMode, selectionMode, fiscalMonthPattern, fiscalYearStartMonth, weekStartsOn, // Default Monday
55
+ monthMode, selectedMonths, onMonthSelect, month, defaultMonth, onMonthChange, startMonth, endMonth, ...props }: CalendarProps): import("react/jsx-runtime").JSX.Element;
56
56
  declare function CalendarDayButton({ className, day, modifiers, pickerType, ...props }: React.ComponentProps<typeof DayButton> & {
57
57
  pickerType?: "date" | "week" | "month";
58
58
  }): import("react/jsx-runtime").JSX.Element;