impact-nova 0.1.13 → 1.0.0

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 (115) hide show
  1. package/dist/components/layout/dashboard-layout.d.ts +21 -6
  2. package/dist/components/ui/accordion-nested-list/accordion-nested-list.js +32 -33
  3. package/dist/components/ui/accordion.js +25 -23
  4. package/dist/components/ui/ag-grid-react/cell-renderers/editors/split-cell-editor.d.ts +5 -0
  5. package/dist/components/ui/ag-grid-react/cell-renderers/editors/split-cell-editor.js +50 -52
  6. package/dist/components/ui/ag-grid-react/cell-renderers/input-display-renderer.d.ts +1 -1
  7. package/dist/components/ui/ag-grid-react/cell-renderers/split-cell-renderer.js +34 -34
  8. package/dist/components/ui/ag-grid-react/headers/advanced-filter/column-filter-section.js +8 -11
  9. package/dist/components/ui/ag-grid-react/headers/column-menu/column-settings-menu.js +17 -17
  10. package/dist/components/ui/ag-grid-react/headers/header-search-input.js +3 -3
  11. package/dist/components/ui/alert-dialog.js +45 -40
  12. package/dist/components/ui/alert.d.ts +21 -4
  13. package/dist/components/ui/alert.js +45 -25
  14. package/dist/components/ui/avatar.js +19 -16
  15. package/dist/components/ui/badge.js +8 -1
  16. package/dist/components/ui/breadcrumb.js +1 -0
  17. package/dist/components/ui/button-group.d.ts +1 -1
  18. package/dist/components/ui/button-group.js +27 -32
  19. package/dist/components/ui/button-variants.d.ts +1 -1
  20. package/dist/components/ui/button.d.ts +11 -0
  21. package/dist/components/ui/button.js +11 -9
  22. package/dist/components/ui/calendar.d.ts +14 -2
  23. package/dist/components/ui/calendar.js +443 -376
  24. package/dist/components/ui/card.js +7 -6
  25. package/dist/components/ui/checkbox.js +64 -48
  26. package/dist/components/ui/chips.d.ts +1 -0
  27. package/dist/components/ui/chips.js +27 -19
  28. package/dist/components/ui/data-table/data-table-column-list.d.ts +4 -1
  29. package/dist/components/ui/data-table/data-table-column-list.js +58 -54
  30. package/dist/components/ui/data-table/data-table-sheet.d.ts +1 -1
  31. package/dist/components/ui/data-table/data-table-sheet.js +43 -40
  32. package/dist/components/ui/data-table/data-table-view-options.js +17 -17
  33. package/dist/components/ui/data-table/data-table.js +21 -20
  34. package/dist/components/ui/date-picker/date-picker.js +83 -87
  35. package/dist/components/ui/date-picker/date-range-picker.js +129 -125
  36. package/dist/components/ui/date-picker/month-picker.js +90 -93
  37. package/dist/components/ui/date-picker/month-range-picker.js +132 -129
  38. package/dist/components/ui/date-picker/multi-date-picker.js +37 -38
  39. package/dist/components/ui/date-picker/multi-month-picker.js +29 -30
  40. package/dist/components/ui/date-picker/multi-week-picker.js +49 -38
  41. package/dist/components/ui/date-picker/week-picker.js +116 -112
  42. package/dist/components/ui/date-picker/week-range-picker.js +153 -142
  43. package/dist/components/ui/dialog.js +15 -6
  44. package/dist/components/ui/drawer.js +16 -13
  45. package/dist/components/ui/dropdown-menu.js +4 -2
  46. package/dist/components/ui/dynamic-layout.d.ts +2 -2
  47. package/dist/components/ui/dynamic-layout.js +18 -15
  48. package/dist/components/ui/empty-container.js +69 -64
  49. package/dist/components/ui/file-upload.js +113 -106
  50. package/dist/components/ui/filter-panel/filter-panel.js +49 -46
  51. package/dist/components/ui/filter-strip/filter-strip.js +41 -37
  52. package/dist/components/ui/header.js +26 -25
  53. package/dist/components/ui/horizontal-scroller/horizontal-scroller.js +43 -40
  54. package/dist/components/ui/hover-card.js +6 -5
  55. package/dist/components/ui/input.d.ts +1 -1
  56. package/dist/components/ui/input.js +79 -68
  57. package/dist/components/ui/loader.d.ts +1 -0
  58. package/dist/components/ui/loader.js +23 -13
  59. package/dist/components/ui/nested-list/components/NestedListContent.d.ts +1 -3
  60. package/dist/components/ui/nested-list/components/NestedListContent.js +16 -15
  61. package/dist/components/ui/nested-list/components/SortableItem.js +116 -80
  62. package/dist/components/ui/nested-list/hooks/useNestedListDragDrop.d.ts +13 -1
  63. package/dist/components/ui/nested-list/hooks/useNestedListDragDrop.js +162 -112
  64. package/dist/components/ui/nested-list/nested-list.js +182 -189
  65. package/dist/components/ui/notification-panel/notification-item.js +19 -17
  66. package/dist/components/ui/notification-panel/notification-list.js +21 -21
  67. package/dist/components/ui/notification-panel/notification-panel.js +25 -25
  68. package/dist/components/ui/popover.js +37 -34
  69. package/dist/components/ui/progress.js +12 -10
  70. package/dist/components/ui/prompt.js +29 -27
  71. package/dist/components/ui/radio-group.js +55 -46
  72. package/dist/components/ui/select/components/Submenu.d.ts +1 -2
  73. package/dist/components/ui/select/components/Submenu.js +52 -48
  74. package/dist/components/ui/select/select.js +321 -324
  75. package/dist/components/ui/sheet.js +18 -15
  76. package/dist/components/ui/sidebar.d.ts +2 -2
  77. package/dist/components/ui/sidebar.js +3 -3
  78. package/dist/components/ui/skeleton.d.ts +2 -1
  79. package/dist/components/ui/skeleton.js +12 -11
  80. package/dist/components/ui/slider.js +39 -12
  81. package/dist/components/ui/smart-input.js +44 -39
  82. package/dist/components/ui/stepper.js +33 -29
  83. package/dist/components/ui/switch.js +6 -4
  84. package/dist/components/ui/tabs.js +50 -45
  85. package/dist/components/ui/tag-group.d.ts +2 -1
  86. package/dist/components/ui/tag-group.js +29 -25
  87. package/dist/components/ui/tag.d.ts +1 -0
  88. package/dist/components/ui/tag.js +26 -20
  89. package/dist/components/ui/textarea.js +18 -17
  90. package/dist/components/ui/toast.d.ts +1 -1
  91. package/dist/components/ui/toast.js +47 -41
  92. package/dist/components/ui/toaster.js +42 -42
  93. package/dist/components/ui/tooltip.js +18 -16
  94. package/dist/components/ui/types/date-picker.types.d.ts +33 -0
  95. package/dist/components/ui/types/empty-container.types.d.ts +5 -0
  96. package/dist/components/ui/types/nested-list.types.d.ts +1 -0
  97. package/dist/components/ui/types/select.types.d.ts +0 -1
  98. package/dist/icons/assets/bookmark.svg.js +4 -0
  99. package/dist/icons/assets/bookmark.svg2.js +5 -0
  100. package/dist/icons/assets/bookmarkFilled.svg.js +4 -0
  101. package/dist/icons/assets/bookmarkFilled.svg2.js +5 -0
  102. package/dist/icons/assets/download.svg.js +4 -0
  103. package/dist/icons/assets/download.svg2.js +5 -0
  104. package/dist/icons/index.d.ts +20 -6
  105. package/dist/icons/index.js +398 -370
  106. package/dist/impact-nova.css +1 -1
  107. package/dist/index.d.ts +1 -0
  108. package/dist/index.js +318 -314
  109. package/dist/lib/fiscal-calendar.d.ts +62 -0
  110. package/dist/lib/fiscal-calendar.js +99 -0
  111. package/package.json +5 -5
  112. package/dist/components/ui/select/hooks/useClickOutside.d.ts +0 -15
  113. package/dist/components/ui/select/hooks/useClickOutside.js +0 -43
  114. package/dist/components/ui/select/hooks/useMenuPosition.d.ts +0 -2
  115. package/dist/components/ui/select/hooks/useMenuPosition.js +0 -89
@@ -1,93 +1,93 @@
1
- import { jsx as i, jsxs as T, Fragment as j } from "react/jsx-runtime";
1
+ import { jsx as l, jsxs as T, Fragment as j } from "react/jsx-runtime";
2
2
  import * as u from "react";
3
3
  import { useToast as z } from "../../hooks/use-toast.js";
4
4
  import { ToastProvider as A, Toast as D, ToastTitle as F, ToastDescription as M, ToastClose as P, ToastViewport as W } from "./toast.js";
5
5
  import { cn as v } from "../../lib/utils.js";
6
6
  function _({
7
- stacked: e = !1,
8
- position: d = "top-right"
7
+ stacked: t = !1,
8
+ position: p = "top-right"
9
9
  }) {
10
- const { toasts: m } = z(), [p, b] = u.useState(!1), [x, H] = u.useState({}), E = u.useRef({});
10
+ const { toasts: m } = z(), [d, b] = u.useState(!1), [x, H] = u.useState({}), E = u.useRef({});
11
11
  u.useEffect(() => {
12
- const t = [], l = setTimeout(() => {
13
- m.forEach((n) => {
14
- const c = E.current[n.id];
12
+ const e = [], a = setTimeout(() => {
13
+ m.forEach((r) => {
14
+ const c = E.current[r.id];
15
15
  if (c) {
16
- const r = new ResizeObserver(() => {
16
+ const i = new ResizeObserver(() => {
17
17
  const s = c.offsetHeight;
18
- s > 0 && H((o) => o[n.id] === s ? o : { ...o, [n.id]: s });
18
+ s > 0 && H((o) => o[r.id] === s ? o : { ...o, [r.id]: s });
19
19
  });
20
- r.observe(c), t.push(r);
20
+ i.observe(c), e.push(i);
21
21
  }
22
22
  });
23
23
  }, 32);
24
24
  return () => {
25
- clearTimeout(l), t.forEach((n) => n.disconnect());
25
+ clearTimeout(a), e.forEach((r) => r.disconnect());
26
26
  };
27
27
  }, [m]);
28
- const a = m.filter((t) => t.open !== !1), g = d.startsWith("bottom"), w = d.endsWith("left"), N = g ? -1 : 1, O = 10, R = 12, y = u.useMemo(() => {
29
- let t = 0;
30
- return a.map((f) => {
31
- const l = t;
32
- return t += (x[f.id] || 70) + R, l;
28
+ const n = m.filter((e) => e.open !== !1), g = p.startsWith("bottom"), w = p.endsWith("left"), N = g ? -1 : 1, O = 10, R = 12, y = u.useMemo(() => {
29
+ let e = 0;
30
+ return n.map((f) => {
31
+ const a = e;
32
+ return e += (x[f.id] || 70) + R, a;
33
33
  });
34
- }, [a, x]), I = (y[a.length - 1] || 0) + (x[a[a.length - 1]?.id] || 70);
35
- return /* @__PURE__ */ i(A, { children: /* @__PURE__ */ T(
34
+ }, [n, x]), I = (y[n.length - 1] || 0) + (x[n[n.length - 1]?.id] || 70);
35
+ return /* @__PURE__ */ l(A, { children: /* @__PURE__ */ T(
36
36
  "div",
37
37
  {
38
- onMouseEnter: () => e && b(!0),
39
- onMouseLeave: () => e && b(!1),
38
+ onMouseEnter: () => t && b(!0),
39
+ onMouseLeave: () => t && b(!1),
40
40
  className: v(
41
- "fixed z-[400] md:max-w-[420px] w-full sm:w-[420px] pointer-events-none transition-all duration-300",
41
+ "fixed z-[60] md:max-w-[420px] w-full sm:w-[420px] pointer-events-none transition-all duration-300",
42
42
  g ? "bottom-4 sm:bottom-8" : "top-4 sm:top-8",
43
43
  w ? "left-4 sm:left-8" : "right-4 sm:right-8"
44
44
  ),
45
45
  style: {
46
- height: e ? p ? `${I + 100}px` : "140px" : "auto",
47
- pointerEvents: e ? "auto" : "none"
46
+ height: t && n.length > 0 ? d ? `${I + 100}px` : "140px" : t ? "0px" : "auto",
47
+ pointerEvents: t && n.length > 0 ? "auto" : "none"
48
48
  },
49
49
  children: [
50
- /* @__PURE__ */ i("div", { className: "relative w-full h-full pointer-events-none", children: m.map(function({ id: t, title: f, description: l, action: n, children: c, ...r }) {
51
- const s = a.findIndex((h) => h.id === t), o = s !== -1, S = o && (!e || p || s < 3), $ = e ? p ? `translateY(${(o ? y[s] : 0) * N}px) scale(1)` : `translateY(${(o ? s : 0) * N * O}px) scale(${1 - (o ? s : 0) * 0.02})` : void 0;
52
- return /* @__PURE__ */ i(
50
+ /* @__PURE__ */ l("div", { className: "relative w-full h-full pointer-events-none", children: m.map(function({ id: e, title: f, description: a, action: r, children: c, ...i }) {
51
+ const s = n.findIndex((h) => h.id === e), o = s !== -1, S = o && (!t || d || s < 3), $ = t ? d ? `translateY(${(o ? y[s] : 0) * N}px) scale(1)` : `translateY(${(o ? s : 0) * N * O}px) scale(${1 - (o ? s : 0) * 0.02})` : void 0;
52
+ return /* @__PURE__ */ l(
53
53
  D,
54
54
  {
55
- ...r,
55
+ ...i,
56
56
  ref: (h) => {
57
- h && (E.current[t] = h);
57
+ h && (E.current[e] = h);
58
58
  },
59
59
  className: v(
60
- r.className,
60
+ i.className,
61
61
  "transition-all duration-500 ease-in-out",
62
- e && "absolute w-full pointer-events-auto",
63
- e && (w ? "left-0" : "right-0"),
64
- e && (g ? "bottom-0" : "top-0"),
62
+ t && "absolute w-full pointer-events-auto",
63
+ t && (w ? "left-0" : "right-0"),
64
+ t && (g ? "bottom-0" : "top-0"),
65
65
  S ? "opacity-100" : "opacity-0 pointer-events-none"
66
66
  ),
67
67
  style: {
68
68
  zIndex: 100 - (o ? s : 0),
69
69
  transform: $,
70
- ...r.style
70
+ ...i.style
71
71
  },
72
72
  children: c || /* @__PURE__ */ T(j, { children: [
73
- /* @__PURE__ */ T("div", { className: v("grid gap-1", r.variant?.toString().startsWith("basic") && "flex flex-col items-center justify-center w-full"), children: [
74
- f && /* @__PURE__ */ i(F, { children: f }),
75
- l && /* @__PURE__ */ i(M, { children: l })
73
+ /* @__PURE__ */ T("div", { className: v("grid gap-1", i.variant?.toString().startsWith("basic") && "flex flex-col items-center justify-center w-full"), children: [
74
+ f && /* @__PURE__ */ l(F, { children: f }),
75
+ a && /* @__PURE__ */ l(M, { children: a })
76
76
  ] }),
77
- n,
78
- /* @__PURE__ */ i(P, {})
77
+ r,
78
+ /* @__PURE__ */ l(P, {})
79
79
  ] })
80
80
  },
81
- t
81
+ e
82
82
  );
83
83
  }) }),
84
- /* @__PURE__ */ i(
84
+ /* @__PURE__ */ l(
85
85
  W,
86
86
  {
87
- position: d,
87
+ position: p,
88
88
  className: v(
89
89
  "relative w-full h-full p-0 m-0 pointer-events-none",
90
- e && "static"
90
+ t && "static"
91
91
  )
92
92
  }
93
93
  )
@@ -1,10 +1,10 @@
1
- import { jsx as t, jsxs as m } from "react/jsx-runtime";
1
+ import { jsx as r, jsxs as s } from "react/jsx-runtime";
2
2
  import * as l from "react";
3
- import * as r from "@radix-ui/react-tooltip";
4
- import { cva as f } from "class-variance-authority";
3
+ import * as o from "@radix-ui/react-tooltip";
4
+ import { cva as p } from "class-variance-authority";
5
5
  import { cn as d } from "../../lib/utils.js";
6
- const p = r.Provider, x = ({ children: i, ...a }) => /* @__PURE__ */ t(p, { children: /* @__PURE__ */ t(r.Root, { delayDuration: 0, ...a, children: i }) }), h = r.Trigger, c = f(
7
- "z-[350] 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]",
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(
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: {
10
10
  variant: {
@@ -17,33 +17,35 @@ const p = r.Provider, x = ({ children: i, ...a }) => /* @__PURE__ */ t(p, { chil
17
17
  variant: "primary"
18
18
  }
19
19
  }
20
- ), g = l.forwardRef(({ className: i, sideOffset: a = 4, variant: o = "primary", showArrow: n = !0, ...e }, s) => /* @__PURE__ */ t(r.Portal, { children: /* @__PURE__ */ m(
21
- r.Content,
20
+ ), g = l.forwardRef(({ className: i, sideOffset: a = 4, variant: t = "primary", showArrow: n = !0, ...e }, m) => /* @__PURE__ */ r(o.Portal, { children: /* @__PURE__ */ s(
21
+ o.Content,
22
22
  {
23
- ref: s,
23
+ ref: m,
24
24
  sideOffset: a,
25
- className: d(c({ variant: o }), i),
25
+ "data-component": "tooltip-content",
26
+ "data-variant": t ?? "primary",
27
+ className: d(f({ variant: t }), i),
26
28
  ...e,
27
29
  children: [
28
30
  e.children,
29
- n && /* @__PURE__ */ t(
30
- r.Arrow,
31
+ n && /* @__PURE__ */ r(
32
+ o.Arrow,
31
33
  {
32
34
  className: d(
33
35
  "fill-current",
34
- o === "primary" && "fill-primary",
35
- o === "secondary" && "fill-background stroke-border",
36
- o === "tertiary" && "fill-foreground"
36
+ t === "primary" && "fill-primary",
37
+ t === "secondary" && "fill-background stroke-border",
38
+ t === "tertiary" && "fill-foreground"
37
39
  )
38
40
  }
39
41
  )
40
42
  ]
41
43
  }
42
44
  ) }));
43
- g.displayName = r.Content.displayName;
45
+ g.displayName = o.Content.displayName;
44
46
  export {
45
47
  x as Tooltip,
46
48
  g as TooltipContent,
47
- p as TooltipProvider,
49
+ c as TooltipProvider,
48
50
  h as TooltipTrigger
49
51
  };
@@ -54,6 +54,17 @@ export interface WeekPickerProps extends Omit<InputProps, 'value' | 'onChange' |
54
54
  fromYear?: number;
55
55
  toYear?: number;
56
56
  showFooter?: boolean;
57
+ /** Whether to use standard calendar weeks or fiscal weeks. Default: "calendar" */
58
+ calendarType?: "calendar" | "fiscal";
59
+ /** Only relevant when calendarType="fiscal". Default: "basic" */
60
+ fiscalMode?: "basic" | "advanced" | "custom";
61
+ /** What a click selects. "fiscalMonth" only applies with fiscalMode="advanced"|"custom". Default: "week" */
62
+ selectionMode?: "week" | "fiscalMonth";
63
+ /** Array of 12 week-counts per fiscal month, e.g. [4,4,5,4,4,5,4,4,5,4,4,5]. Required for fiscalMode="custom", optional for "advanced" (defaults to 4-4-5). */
64
+ fiscalMonthPattern?: number[];
65
+ /** 1-based month where the fiscal year starts. Default: 1 (January) */
66
+ fiscalYearStartMonth?: number;
67
+ weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
57
68
  }
58
69
  export interface WeekRangePickerProps extends Omit<InputProps, 'value' | 'onChange' | 'type' | 'suffix' | 'suffixClick'> {
59
70
  value?: WeekRange;
@@ -65,6 +76,17 @@ export interface WeekRangePickerProps extends Omit<InputProps, 'value' | 'onChan
65
76
  fromYear?: number;
66
77
  toYear?: number;
67
78
  showFooter?: boolean;
79
+ /** Whether to use standard calendar weeks or fiscal weeks. Default: "calendar" */
80
+ calendarType?: "calendar" | "fiscal";
81
+ /** Only relevant when calendarType="fiscal". Default: "basic" */
82
+ fiscalMode?: "basic" | "advanced" | "custom";
83
+ /** What a click selects. "fiscalMonth" only applies with fiscalMode="advanced"|"custom". Default: "week" */
84
+ selectionMode?: "week" | "fiscalMonth";
85
+ /** Array of 12 week-counts per fiscal month, e.g. [4,4,5,4,4,5,4,4,5,4,4,5]. Required for fiscalMode="custom", optional for "advanced" (defaults to 4-4-5). */
86
+ fiscalMonthPattern?: number[];
87
+ /** 1-based month where the fiscal year starts. Default: 1 (January) */
88
+ fiscalYearStartMonth?: number;
89
+ weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
68
90
  }
69
91
  export interface MultiDatePickerProps extends Omit<InputProps, 'value' | 'onChange' | 'type' | 'suffix' | 'suffixClick'> {
70
92
  value?: Date[];
@@ -97,4 +119,15 @@ export interface MultiWeekPickerProps extends Omit<InputProps, 'value' | 'onChan
97
119
  fromYear?: number;
98
120
  toYear?: number;
99
121
  showFooter?: boolean;
122
+ /** Whether to use standard calendar weeks or fiscal weeks. Default: "calendar" */
123
+ calendarType?: "calendar" | "fiscal";
124
+ /** Only relevant when calendarType="fiscal". Default: "basic" */
125
+ fiscalMode?: "basic" | "advanced" | "custom";
126
+ /** What a click selects. "fiscalMonth" selects an entire fiscal month block. Default: "week" */
127
+ selectionMode?: "week" | "fiscalMonth";
128
+ /** Array of 12 week-counts per fiscal month. Required for fiscalMode="custom", optional for "advanced". */
129
+ fiscalMonthPattern?: number[];
130
+ /** 1-based month where the fiscal year starts. Default: 1 (January) */
131
+ fiscalYearStartMonth?: number;
132
+ weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
100
133
  }
@@ -1,18 +1,23 @@
1
1
  import { ReactNode, HTMLAttributes } from 'react';
2
2
  export interface EmptyContainerProps extends HTMLAttributes<HTMLDivElement> {
3
3
  children: ReactNode;
4
+ asChild?: boolean;
4
5
  }
5
6
  export interface EmptyContainerImageProps extends HTMLAttributes<HTMLDivElement> {
6
7
  children?: ReactNode;
7
8
  width?: number | string;
8
9
  height?: number | string;
10
+ asChild?: boolean;
9
11
  }
10
12
  export interface EmptyContainerTitleProps extends HTMLAttributes<HTMLHeadingElement> {
11
13
  children: ReactNode;
14
+ asChild?: boolean;
12
15
  }
13
16
  export interface EmptyContainerDescriptionProps extends HTMLAttributes<HTMLParagraphElement> {
14
17
  children: ReactNode;
18
+ asChild?: boolean;
15
19
  }
16
20
  export interface EmptyContainerActionProps extends HTMLAttributes<HTMLDivElement> {
17
21
  children: ReactNode;
22
+ asChild?: boolean;
18
23
  }
@@ -53,6 +53,7 @@ export interface NestedListProps {
53
53
  enableGroupBy?: boolean;
54
54
  enableApplyDiscard?: boolean;
55
55
  enableCollapse?: boolean;
56
+ enableGlobalCollapse?: boolean;
56
57
  selectionMode?: SelectionMode;
57
58
  getCategory?: (item: NestedListItem) => string | undefined;
58
59
  searchPlaceholder?: string;
@@ -63,7 +63,6 @@ export interface SelectComponentsConfig {
63
63
  MultiValueRemove?: React.ComponentType<Record<string, unknown>>;
64
64
  }
65
65
  export interface SelectProps<OptionType extends Option = Option, IsMulti extends boolean = boolean, GroupType extends Group = Group> {
66
- dropdownZIndex?: number;
67
66
  /**
68
67
  * The width of the dropdown menu.
69
68
  */
@@ -0,0 +1,4 @@
1
+ const e = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3e%3cpath%20d='M19%2021l-7-5-7%205V5a2%202%200%200%201%202-2h10a2%202%200%200%201%202%202z'/%3e%3c/svg%3e";
2
+ export {
3
+ e as default
4
+ };
@@ -0,0 +1,5 @@
1
+ import * as e from "react";
2
+ const t = (o) => /* @__PURE__ */ e.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", ...o }, /* @__PURE__ */ e.createElement("path", { d: "M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z" }));
3
+ export {
4
+ t as default
5
+ };
@@ -0,0 +1,4 @@
1
+ const e = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='currentColor'%20stroke='none'%3e%3cpath%20d='M19%2021l-7-5-7%205V5a2%202%200%200%201%202-2h10a2%202%200%200%201%202%202z'/%3e%3c/svg%3e";
2
+ export {
3
+ e as default
4
+ };
@@ -0,0 +1,5 @@
1
+ import * as e from "react";
2
+ const o = (t) => /* @__PURE__ */ e.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", stroke: "none", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z" }));
3
+ export {
4
+ o as default
5
+ };
@@ -0,0 +1,4 @@
1
+ const e = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3e%3cpath%20d='M21%2015v4a2%202%200%200%201-2%202H5a2%202%200%200%201-2-2v-4'/%3e%3cpolyline%20points='7%2010%2012%2015%2017%2010'/%3e%3cline%20x1='12'%20y1='15'%20x2='12'%20y2='3'/%3e%3c/svg%3e";
2
+ export {
3
+ e as default
4
+ };
@@ -0,0 +1,5 @@
1
+ import * as e from "react";
2
+ const o = (t) => /* @__PURE__ */ e.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }), /* @__PURE__ */ e.createElement("polyline", { points: "7 10 12 15 17 10" }), /* @__PURE__ */ e.createElement("line", { x1: 12, y1: 15, x2: 12, y2: 3 }));
3
+ export {
4
+ o as default
5
+ };
@@ -1,17 +1,28 @@
1
1
  import { default as React } from 'react';
2
+ export declare const ICON_SIZE_MAP: {
3
+ readonly xs: 12;
4
+ readonly sm: 14;
5
+ readonly md: 16;
6
+ readonly lg: 20;
7
+ readonly xl: 24;
8
+ readonly "2xl": 32;
9
+ readonly "3xl": 40;
10
+ readonly default: 24;
11
+ };
12
+ export type IconNamedSize = keyof typeof ICON_SIZE_MAP;
2
13
  export interface IconProps extends React.SVGProps<SVGSVGElement> {
3
14
  /**
4
- * Size of the icon in pixels or CSS units.
5
- * @default 24
15
+ * Size of the icon in pixels, CSS units, or a standard named size.
16
+ * @default 24 (lg)
6
17
  */
7
- size?: number | string;
18
+ size?: number | string | IconNamedSize;
8
19
  }
9
20
  export interface ImageProps extends React.ImgHTMLAttributes<HTMLImageElement> {
10
21
  /**
11
- * Size of the image in pixels or CSS units.
12
- * @default 24
22
+ * Size of the image in pixels, CSS units, or a standard named size.
23
+ * @default 24 (lg)
13
24
  */
14
- size?: number | string;
25
+ size?: number | string | IconNamedSize;
15
26
  }
16
27
  export type IconComponent = React.ForwardRefExoticComponent<IconProps & React.RefAttributes<SVGSVGElement>> & {
17
28
  src?: string;
@@ -36,6 +47,9 @@ export declare const Globe: IconComponent;
36
47
  export declare const Pencil: IconComponent;
37
48
  export declare const Person: IconComponent;
38
49
  export declare const Plus: IconComponent;
50
+ export declare const Bookmark: IconComponent;
51
+ export declare const BookmarkFilled: IconComponent;
52
+ export declare const Download: IconComponent;
39
53
  export declare const Info: IconComponent;
40
54
  export declare const Blocks: IconComponent;
41
55
  export declare const Document: IconComponent;