@spear-ai/spectral 1.4.25 → 1.4.27

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 (203) hide show
  1. package/dist/Accordion.d.ts +28 -9
  2. package/dist/Accordion.js +203 -183
  3. package/dist/Alert/AlertBase.d.ts +24 -16
  4. package/dist/Alert/AlertBase.js +33 -18
  5. package/dist/Alert.js +1 -1
  6. package/dist/Avatar.js +11 -11
  7. package/dist/Button.d.ts +7 -2
  8. package/dist/Button.js +25 -12
  9. package/dist/ButtonIcon.d.ts +7 -2
  10. package/dist/ButtonIcon.js +25 -16
  11. package/dist/Card.js +1 -1
  12. package/dist/Checkbox/CheckboxBase.d.ts +13 -13
  13. package/dist/Checkbox/CheckboxBase.js +128 -125
  14. package/dist/Checkbox.d.ts +7 -2
  15. package/dist/Checkbox.js +29 -22
  16. package/dist/DataCard.js +3 -3
  17. package/dist/Dialog.js +2 -2
  18. package/dist/Drawer.js +2 -2
  19. package/dist/HoverCard.js +1 -1
  20. package/dist/Icons/AnalyzeIcon.d.ts +3 -1
  21. package/dist/Icons/AnalyzeIcon.js +3 -6
  22. package/dist/Icons/AnnotationsIcon.d.ts +3 -1
  23. package/dist/Icons/AnnotationsIcon.js +3 -6
  24. package/dist/Icons/ApprovedIcon.d.ts +3 -1
  25. package/dist/Icons/ApprovedIcon.js +3 -6
  26. package/dist/Icons/ArrowDownIcon.d.ts +3 -1
  27. package/dist/Icons/ArrowDownIcon.js +3 -6
  28. package/dist/Icons/ArrowUpIcon.d.ts +3 -1
  29. package/dist/Icons/ArrowUpIcon.js +4 -7
  30. package/dist/Icons/CalendarIcon.d.ts +3 -1
  31. package/dist/Icons/CalendarIcon.js +9 -12
  32. package/dist/Icons/CheckCircleIcon.d.ts +3 -1
  33. package/dist/Icons/CheckCircleIcon.js +2 -5
  34. package/dist/Icons/CheckSquareIcon.d.ts +3 -1
  35. package/dist/Icons/CheckSquareIcon.js +4 -7
  36. package/dist/Icons/CheckmarkIcon.d.ts +3 -1
  37. package/dist/Icons/CheckmarkIcon.js +5 -8
  38. package/dist/Icons/ChevronDownIcon.d.ts +3 -1
  39. package/dist/Icons/ChevronDownIcon.js +5 -8
  40. package/dist/Icons/ChevronUpIcon.d.ts +3 -1
  41. package/dist/Icons/ChevronUpIcon.js +5 -8
  42. package/dist/Icons/ClockIcon.d.ts +3 -1
  43. package/dist/Icons/ClockIcon.js +5 -8
  44. package/dist/Icons/CloseCircleIcon.d.ts +3 -1
  45. package/dist/Icons/CloseCircleIcon.js +4 -7
  46. package/dist/Icons/CloseIcon.d.ts +3 -1
  47. package/dist/Icons/CloseIcon.js +5 -8
  48. package/dist/Icons/DashboardIcon.d.ts +3 -1
  49. package/dist/Icons/DashboardIcon.js +3 -6
  50. package/dist/Icons/DatabaseIcon.d.ts +3 -1
  51. package/dist/Icons/DatabaseIcon.js +4 -7
  52. package/dist/Icons/DeleteIcon.d.ts +3 -1
  53. package/dist/Icons/DeleteIcon.js +4 -7
  54. package/dist/Icons/DurationIcon.d.ts +3 -1
  55. package/dist/Icons/DurationIcon.js +3 -6
  56. package/dist/Icons/EditIcon.d.ts +3 -1
  57. package/dist/Icons/EditIcon.js +3 -6
  58. package/dist/Icons/EmailIcon.d.ts +3 -1
  59. package/dist/Icons/EmailIcon.js +4 -7
  60. package/dist/Icons/EraserIcon.d.ts +3 -1
  61. package/dist/Icons/EraserIcon.js +9 -10
  62. package/dist/Icons/ErrorIcon.d.ts +3 -1
  63. package/dist/Icons/ErrorIcon.js +4 -7
  64. package/dist/Icons/EyeClosedIcon.d.ts +3 -1
  65. package/dist/Icons/EyeClosedIcon.js +4 -7
  66. package/dist/Icons/EyeClosedIcon2.d.ts +3 -1
  67. package/dist/Icons/EyeClosedIcon2.js +3 -6
  68. package/dist/Icons/EyeOpenIcon.d.ts +3 -1
  69. package/dist/Icons/EyeOpenIcon.js +6 -9
  70. package/dist/Icons/GoToFirstIcon.d.ts +3 -1
  71. package/dist/Icons/GoToFirstIcon.js +4 -7
  72. package/dist/Icons/GoToLastIcon.d.ts +3 -1
  73. package/dist/Icons/GoToLastIcon.js +4 -7
  74. package/dist/Icons/HarmonicCursorsIcon.d.ts +3 -1
  75. package/dist/Icons/HarmonicCursorsIcon.js +4 -7
  76. package/dist/Icons/IconBase.d.ts +4 -2
  77. package/dist/Icons/IconBase.js +17 -8
  78. package/dist/Icons/InfoIcon.d.ts +3 -1
  79. package/dist/Icons/InfoIcon.js +4 -7
  80. package/dist/Icons/LabelIcon.d.ts +3 -1
  81. package/dist/Icons/LabelIcon.js +3 -6
  82. package/dist/Icons/LassoIcon.d.ts +3 -1
  83. package/dist/Icons/LassoIcon.js +5 -8
  84. package/dist/Icons/LineToolIcon.d.ts +3 -1
  85. package/dist/Icons/LineToolIcon.js +3 -6
  86. package/dist/Icons/LineToolIcon2.d.ts +3 -1
  87. package/dist/Icons/LineToolIcon2.js +3 -6
  88. package/dist/Icons/LiveViewIcon.d.ts +3 -1
  89. package/dist/Icons/LiveViewIcon.js +2 -5
  90. package/dist/Icons/LoaderIcon.d.ts +3 -1
  91. package/dist/Icons/LoaderIcon.js +6 -7
  92. package/dist/Icons/LocationIcon.d.ts +3 -1
  93. package/dist/Icons/LocationIcon.js +3 -6
  94. package/dist/Icons/LogoutIcon.d.ts +3 -1
  95. package/dist/Icons/LogoutIcon.js +4 -7
  96. package/dist/Icons/MessagesIcon.d.ts +3 -1
  97. package/dist/Icons/MessagesIcon.js +5 -8
  98. package/dist/Icons/MetadataIcon.d.ts +3 -1
  99. package/dist/Icons/MetadataIcon.js +4 -7
  100. package/dist/Icons/MinusIcon.d.ts +3 -1
  101. package/dist/Icons/MinusIcon.js +3 -6
  102. package/dist/Icons/OntologyIcon.d.ts +3 -1
  103. package/dist/Icons/OntologyIcon.js +2 -5
  104. package/dist/Icons/PanelIconClose.d.ts +3 -1
  105. package/dist/Icons/PanelIconClose.js +4 -7
  106. package/dist/Icons/PanelIconOpen.d.ts +3 -1
  107. package/dist/Icons/PanelIconOpen.js +8 -11
  108. package/dist/Icons/PlayIcon.d.ts +3 -1
  109. package/dist/Icons/PlayIcon.js +3 -6
  110. package/dist/Icons/PlusIcon.d.ts +3 -1
  111. package/dist/Icons/PlusIcon.js +4 -7
  112. package/dist/Icons/ResetIcon.d.ts +3 -1
  113. package/dist/Icons/ResetIcon.js +4 -7
  114. package/dist/Icons/ReviewedIcon.d.ts +3 -1
  115. package/dist/Icons/ReviewedIcon.js +3 -6
  116. package/dist/Icons/ScissorsIcon.d.ts +3 -1
  117. package/dist/Icons/ScissorsIcon.js +6 -9
  118. package/dist/Icons/SettingsIcon.d.ts +3 -1
  119. package/dist/Icons/SettingsIcon.js +3 -6
  120. package/dist/Icons/SortAscendingIcon.d.ts +3 -1
  121. package/dist/Icons/SortAscendingIcon.js +3 -6
  122. package/dist/Icons/SortAtoZIcon.d.ts +3 -1
  123. package/dist/Icons/SortAtoZIcon.js +3 -6
  124. package/dist/Icons/SortDescendingIcon.d.ts +3 -1
  125. package/dist/Icons/SortDescendingIcon.js +3 -6
  126. package/dist/Icons/SortZtoAIcon.d.ts +3 -1
  127. package/dist/Icons/SortZtoAIcon.js +3 -6
  128. package/dist/Icons/StackIcon.d.ts +3 -1
  129. package/dist/Icons/StackIcon.js +4 -7
  130. package/dist/Icons/StarIcon.d.ts +3 -1
  131. package/dist/Icons/StarIcon.js +3 -6
  132. package/dist/Icons/TrashIcon.d.ts +3 -1
  133. package/dist/Icons/TrashIcon.js +3 -6
  134. package/dist/Icons/UndoIcon.d.ts +3 -1
  135. package/dist/Icons/UndoIcon.js +4 -7
  136. package/dist/Icons/UserIcon.d.ts +3 -1
  137. package/dist/Icons/UserIcon.js +3 -6
  138. package/dist/Icons/WarningIcon.d.ts +3 -1
  139. package/dist/Icons/WarningIcon.js +5 -8
  140. package/dist/Icons/ZoomAllIcon.d.ts +3 -1
  141. package/dist/Icons/ZoomAllIcon.js +3 -6
  142. package/dist/Icons/ZoomXIcon.d.ts +3 -1
  143. package/dist/Icons/ZoomXIcon.js +4 -7
  144. package/dist/Icons/ZoomYIcon.d.ts +3 -1
  145. package/dist/Icons/ZoomYIcon.js +4 -7
  146. package/dist/Input/InputUtils.d.ts +4 -4
  147. package/dist/Input/InputUtils.js +1 -1
  148. package/dist/Input.d.ts +7 -17
  149. package/dist/Input.js +105 -101
  150. package/dist/InputOTP.d.ts +27 -7
  151. package/dist/InputOTP.js +171 -146
  152. package/dist/Label.d.ts +7 -2
  153. package/dist/Label.js +12 -9
  154. package/dist/MultiSelect/MultiSelectBase.d.ts +7 -2
  155. package/dist/MultiSelect/MultiSelectBase.js +212 -213
  156. package/dist/{MultiSelect/MutiSelect.d.ts → MultiSelect.d.ts} +8 -2
  157. package/dist/MultiSelect.js +27 -0
  158. package/dist/Popover.js +1 -1
  159. package/dist/RadioButtonGroup.js +1 -1
  160. package/dist/RadioGroup.d.ts +20 -14
  161. package/dist/RadioGroup.js +177 -148
  162. package/dist/Select.d.ts +7 -2
  163. package/dist/Select.js +108 -109
  164. package/dist/Separator.d.ts +8 -8
  165. package/dist/Separator.js +14 -15
  166. package/dist/Switch/SwitchBase.d.ts +13 -11
  167. package/dist/Switch/SwitchBase.js +84 -61
  168. package/dist/Switch.d.ts +11 -4
  169. package/dist/Switch.js +19 -20
  170. package/dist/Tabs/TabsBase.d.ts +16 -6
  171. package/dist/Tabs/TabsBase.js +133 -96
  172. package/dist/Tabs/tabsUtils.d.ts +6 -2
  173. package/dist/Tabs/tabsUtils.js +5 -2
  174. package/dist/Tabs.js +18 -18
  175. package/dist/Textarea.d.ts +7 -2
  176. package/dist/Textarea.js +78 -61
  177. package/dist/Toggle/ToggleBase.d.ts +4 -8
  178. package/dist/Toggle/ToggleBase.js +29 -16
  179. package/dist/Toggle.d.ts +4 -2
  180. package/dist/Toggle.js +23 -13
  181. package/dist/ToggleGroup/ToggleGroupBase.d.ts +4 -7
  182. package/dist/ToggleGroup/ToggleGroupBase.js +82 -73
  183. package/dist/ToggleGroup.d.ts +7 -2
  184. package/dist/ToggleGroup.js +31 -19
  185. package/dist/Tray.d.ts +47 -15
  186. package/dist/Tray.js +98 -60
  187. package/dist/hooks/useAccordionAutoScroll.d.ts +1 -1
  188. package/dist/hooks/useAccordionAutoScroll.d.ts.map +1 -1
  189. package/dist/hooks/useAccordionAutoScroll.js +35 -34
  190. package/dist/{index-BSCg4Mei.js → index-B0Kp8R0j.js} +3 -3
  191. package/dist/{index-jgQ7sgLl.js → index-D4jMMaAi.js} +5 -5
  192. package/dist/primitives/input.d.ts.map +1 -1
  193. package/dist/primitives/input.js +1 -4
  194. package/dist/primitives/select.d.ts.map +1 -1
  195. package/dist/primitives/select.js +4 -11
  196. package/dist/primitives/slot.d.ts +11 -4
  197. package/dist/primitives/slot.d.ts.map +1 -1
  198. package/dist/primitives/slot.js +32 -28
  199. package/dist/primitives/textarea.d.ts.map +1 -1
  200. package/dist/primitives/textarea.js +1 -3
  201. package/dist/utils/formFieldUtils.js +2 -2
  202. package/package.json +1 -1
  203. package/dist/MultiSelect/MutiSelect.js +0 -19
@@ -1,134 +1,137 @@
1
1
  "use client";
2
2
  import "../styles/main.css";
3
- import { jsx as b, jsxs as K } from "react/jsx-runtime";
4
- import { useControllableState as M } from "../hooks/useControllableState.js";
5
- import { Slot as C } from "../primitives/slot.js";
6
- import { cn as w } from "../utils/twUtils.js";
7
- import { createContext as O, forwardRef as E, useRef as T, useId as V, useEffect as y, useCallback as d, useContext as $ } from "react";
8
- const I = O(null);
9
- function R(n) {
3
+ import { jsx as f, jsxs as q } from "react/jsx-runtime";
4
+ import { useControllableState as F } from "../hooks/useControllableState.js";
5
+ import { Slot as y } from "../primitives/slot.js";
6
+ import { cn as C } from "../utils/twUtils.js";
7
+ import { createContext as K, useRef as M, useId as O, useEffect as g, useCallback as u, useContext as T } from "react";
8
+ const E = K(null);
9
+ function I(n) {
10
10
  return n === "indeterminate" ? "indeterminate" : n ? "checked" : "unchecked";
11
11
  }
12
- function z(n) {
12
+ function V(n) {
13
13
  return n === "indeterminate" ? !0 : !n;
14
14
  }
15
- const A = E(
16
- ({
17
- asChild: n,
18
- checked: l,
19
- className: f,
20
- disabled: r,
21
- defaultChecked: o = !1,
22
- form: i,
23
- id: p,
24
- name: m,
25
- onCheckedChange: h,
26
- onClick: v,
27
- onKeyDown: x,
28
- required: N,
29
- type: H,
30
- // oxlint-disable-line no-unused-vars
31
- value: j = "on",
32
- ...k
33
- }, S) => {
34
- const a = T(null), P = V(), B = p ?? `chk-${P}`, [t, s] = M({
35
- defaultValue: o,
36
- onChange: h,
37
- value: l
38
- });
39
- y(() => {
40
- a.current && (a.current.indeterminate = t === "indeterminate");
41
- }, [t]), y(() => {
42
- const e = a.current?.form ?? null;
43
- if (!e) return;
44
- const u = () => {
45
- s(o);
46
- };
47
- return e.addEventListener("reset", u), () => e.removeEventListener("reset", u);
48
- }, [o, s]);
49
- const g = d(() => {
50
- const e = a.current;
51
- if (!e) return;
52
- e.checked = t === !0, e.indeterminate = t === "indeterminate";
53
- const u = new Event("change", { bubbles: !0 });
54
- e.dispatchEvent(u);
55
- }, [t]), c = d(() => {
56
- if (r) return;
57
- const e = z(t);
58
- s(e), queueMicrotask(() => g());
59
- }, [r, g, s, t]), D = d(
60
- (e) => {
61
- v?.(e), !e.defaultPrevented && c();
62
- },
63
- [c, v]
64
- ), L = d(
65
- (e) => {
66
- x?.(e), !e.defaultPrevented && e.key === " " && (e.preventDefault(), c());
67
- },
68
- [c, x]
69
- ), q = n ? C : "button", F = S;
70
- return /* @__PURE__ */ b(I.Provider, { value: { state: t, disabled: r }, children: /* @__PURE__ */ K(
71
- q,
72
- {
73
- "aria-checked": t === "indeterminate" ? "mixed" : t,
74
- "aria-disabled": r || void 0,
75
- className: w(
76
- "inline-flex h-4 w-4 shrink-0 items-center justify-center",
77
- "border-input bg-background rounded-sm border",
78
- "focus-visible:ring-ring focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none",
79
- "disabled:cursor-not-allowed disabled:opacity-50",
80
- "data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",
81
- f
82
- ),
83
- "data-indeterminate": t === "indeterminate" ? "" : void 0,
84
- "data-state": R(t),
85
- disabled: r,
86
- id: B,
87
- ref: F,
88
- role: "checkbox",
89
- type: "button",
90
- onClick: D,
91
- onKeyDown: L,
92
- ...k,
93
- children: [
94
- /* @__PURE__ */ b(
95
- "input",
96
- {
97
- "aria-hidden": "true",
98
- checked: t === !0,
99
- disabled: r,
100
- form: i,
101
- name: m,
102
- ref: a,
103
- readOnly: !0,
104
- required: N,
105
- tabIndex: -1,
106
- type: "checkbox",
107
- value: j,
108
- style: {
109
- position: "absolute",
110
- opacity: 0,
111
- width: 0,
112
- height: 0,
113
- pointerEvents: "none"
114
- }
15
+ const $ = ({
16
+ ref: n,
17
+ asChild: d,
18
+ checked: l,
19
+ className: m,
20
+ disabled: i,
21
+ defaultChecked: r = !1,
22
+ form: h,
23
+ id: p,
24
+ name: w,
25
+ onCheckedChange: N,
26
+ onClick: b,
27
+ onKeyDown: v,
28
+ required: j,
29
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
30
+ type: A,
31
+ value: S = "on",
32
+ ...x
33
+ }) => {
34
+ const o = M(null), P = O(), R = p ?? `chk-${P}`, [t, a] = F({
35
+ defaultValue: r,
36
+ onChange: N,
37
+ value: l
38
+ });
39
+ g(() => {
40
+ o.current && (o.current.indeterminate = t === "indeterminate");
41
+ }, [t]), g(() => {
42
+ const e = o.current?.form ?? null;
43
+ if (!e) return;
44
+ const c = () => {
45
+ a(r);
46
+ };
47
+ return e.addEventListener("reset", c), () => e.removeEventListener("reset", c);
48
+ }, [r, a]);
49
+ const k = u(() => {
50
+ const e = o.current;
51
+ if (!e) return;
52
+ e.checked = t === !0, e.indeterminate = t === "indeterminate";
53
+ const c = new Event("change", { bubbles: !0 });
54
+ e.dispatchEvent(c);
55
+ }, [t]), s = u(() => {
56
+ if (i) return;
57
+ const e = V(t);
58
+ a(e), queueMicrotask(() => k());
59
+ }, [i, k, a, t]), B = u(
60
+ (e) => {
61
+ b?.(e), !e.defaultPrevented && s();
62
+ },
63
+ [s, b]
64
+ ), D = u(
65
+ (e) => {
66
+ v?.(e), !e.defaultPrevented && e.key === " " && (e.preventDefault(), s());
67
+ },
68
+ [s, v]
69
+ ), L = d ? y : "button";
70
+ return /* @__PURE__ */ f(E.Provider, { value: { state: t, disabled: i }, children: /* @__PURE__ */ q(
71
+ L,
72
+ {
73
+ "aria-checked": t === "indeterminate" ? "mixed" : t,
74
+ "aria-disabled": i || void 0,
75
+ className: C(
76
+ "inline-flex h-4 w-4 shrink-0 items-center justify-center",
77
+ "border-input bg-background rounded-sm border",
78
+ "focus-visible:ring-ring focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none",
79
+ "disabled:cursor-not-allowed disabled:opacity-50",
80
+ "data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",
81
+ m
82
+ ),
83
+ "data-indeterminate": t === "indeterminate" ? "" : void 0,
84
+ "data-state": I(t),
85
+ disabled: i,
86
+ id: R,
87
+ ref: n,
88
+ role: "checkbox",
89
+ type: "button",
90
+ onClick: B,
91
+ onKeyDown: D,
92
+ ...x,
93
+ children: [
94
+ /* @__PURE__ */ f(
95
+ "input",
96
+ {
97
+ "aria-hidden": "true",
98
+ checked: t === !0,
99
+ disabled: i,
100
+ form: h,
101
+ name: w,
102
+ ref: o,
103
+ readOnly: !0,
104
+ required: j,
105
+ tabIndex: -1,
106
+ type: "checkbox",
107
+ value: S,
108
+ style: {
109
+ position: "absolute",
110
+ opacity: 0,
111
+ width: 0,
112
+ height: 0,
113
+ pointerEvents: "none"
115
114
  }
116
- ),
117
- k.children
118
- ]
119
- }
120
- ) });
121
- }
122
- );
123
- A.displayName = "CheckboxBase";
124
- const G = E(({ asChild: n, className: l, forceMount: f, ...r }, o) => {
125
- const i = $(I);
126
- if (!i || !(i.state === !0 || i.state === "indeterminate") && !f) return null;
127
- const m = n ? C : "span", h = o;
128
- return /* @__PURE__ */ b(m, { className: w("flex items-center justify-center text-current", l), "data-indeterminate": i.state === "indeterminate" ? "" : void 0, "data-state": R(i.state), ref: h, ...r });
129
- });
130
- G.displayName = "CheckboxIndicator";
115
+ }
116
+ ),
117
+ x.children
118
+ ]
119
+ }
120
+ ) });
121
+ };
122
+ $.displayName = "CheckboxBase";
123
+ const z = ({
124
+ ref: n,
125
+ asChild: d,
126
+ className: l,
127
+ forceMount: m,
128
+ ...i
129
+ }) => {
130
+ const r = T(E);
131
+ return !r || !(r.state === !0 || r.state === "indeterminate") && !m ? null : /* @__PURE__ */ f(d ? y : "span", { className: C("flex items-center justify-center text-current", l), "data-indeterminate": r.state === "indeterminate" ? "" : void 0, "data-state": I(r.state), ref: n, ...i });
132
+ };
133
+ z.displayName = "CheckboxIndicator";
131
134
  export {
132
- A as CheckboxBase,
133
- G as CheckboxIndicator
135
+ $ as CheckboxBase,
136
+ z as CheckboxIndicator
134
137
  };
@@ -1,5 +1,5 @@
1
1
  import { CheckboxBase } from './CheckboxBase';
2
- import { ComponentPropsWithoutRef } from 'react';
2
+ import { ComponentPropsWithoutRef, ComponentRef, Ref } from 'react';
3
3
  export interface CheckboxProps extends Omit<ComponentPropsWithoutRef<typeof CheckboxBase>, 'onCheckedChange'> {
4
4
  checked?: boolean | 'indeterminate';
5
5
  disabled?: boolean;
@@ -10,5 +10,10 @@ export interface CheckboxProps extends Omit<ComponentPropsWithoutRef<typeof Chec
10
10
  required?: boolean;
11
11
  value?: string;
12
12
  }
13
- export declare const Checkbox: import('react').ForwardRefExoticComponent<CheckboxProps & import('react').RefAttributes<HTMLButtonElement>>;
13
+ export declare const Checkbox: {
14
+ ({ checked, className, id, labelText, onCheckedChange, ref, required, ...props }: CheckboxProps & {
15
+ ref?: Ref<ComponentRef<typeof CheckboxBase>>;
16
+ }): import("react/jsx-runtime").JSX.Element;
17
+ displayName: string;
18
+ };
14
19
  //# sourceMappingURL=Checkbox.d.ts.map
package/dist/Checkbox.js CHANGED
@@ -1,7 +1,6 @@
1
- "use client";
2
1
  import "./styles/main.css";
3
- import { jsxs as d, jsx as t } from "react/jsx-runtime";
4
- import { CheckboxBase as l, CheckboxIndicator as n } from "./Checkbox/CheckboxBase.js";
2
+ import { jsxs as d, jsx as o } from "react/jsx-runtime";
3
+ import { CheckboxBase as l, CheckboxIndicator as b } from "./Checkbox/CheckboxBase.js";
5
4
  import "./Icons/AnalyzeIcon.js";
6
5
  import "./Icons/AnnotationsIcon.js";
7
6
  import "./Icons/ApprovedIcon.js";
@@ -10,7 +9,7 @@ import "./Icons/ArrowUpIcon.js";
10
9
  import "./Icons/CalendarIcon.js";
11
10
  import "./Icons/CheckCircleIcon.js";
12
11
  import "./Icons/CheckSquareIcon.js";
13
- import { CheckmarkIcon as b } from "./Icons/CheckmarkIcon.js";
12
+ import { CheckmarkIcon as n } from "./Icons/CheckmarkIcon.js";
14
13
  import "./Icons/ChevronDownIcon.js";
15
14
  import "./Icons/ChevronUpIcon.js";
16
15
  import "./Icons/ClockIcon.js";
@@ -65,34 +64,42 @@ import "./Icons/ZoomAllIcon.js";
65
64
  import "./Icons/ZoomXIcon.js";
66
65
  import "./Icons/ZoomYIcon.js";
67
66
  import { cn as i } from "./utils/twUtils.js";
68
- import { forwardRef as x } from "react";
69
- const k = x(({ className: e, id: r, labelText: m, onCheckedChange: p, checked: o, required: c, ...a }, s) => /* @__PURE__ */ d("div", { className: "flex items-center gap-2", children: [
70
- /* @__PURE__ */ t(
67
+ import "react";
68
+ const x = ({
69
+ checked: r,
70
+ className: e,
71
+ id: t,
72
+ labelText: m,
73
+ onCheckedChange: p,
74
+ ref: c,
75
+ required: a,
76
+ ...s
77
+ }) => /* @__PURE__ */ d("div", { className: "flex items-center gap-2", children: [
78
+ /* @__PURE__ */ o(
71
79
  l,
72
80
  {
73
- "aria-labelledby": `${r}-label`,
74
- "aria-required": c,
75
- checked: o,
81
+ "aria-labelledby": `${t}-label`,
82
+ "aria-required": a,
83
+ checked: r,
76
84
  className: i(
77
85
  [
78
- "checkbox peer h-5 w-5 shrink-0 rounded-sm border border-checkbox-border hover:opacity-80",
79
- "focus:outline-none focus-visible:outline-1 focus-visible:outline-checkbox-border--focus focus-visible:outline-offset-2 disabled:cursor-not-allowed",
80
- "disabled:opacity-50 data-[state=checked]:border-checkbox-border--checked"
86
+ "checkbox peer border-checkbox-border h-5 w-5 shrink-0 rounded-sm border hover:opacity-80",
87
+ "focus-visible:outline-checkbox-border--focus focus:outline-none focus-visible:outline-1 focus-visible:outline-offset-2 disabled:cursor-not-allowed",
88
+ "data-[state=checked]:border-checkbox-border--checked disabled:opacity-50"
81
89
  ].join(" "),
82
90
  e
83
91
  ),
84
- "data-state": o === !0 ? "checked" : o === "indeterminate" ? "indeterminate" : "unchecked",
85
92
  "data-testid": "spectral-checkbox",
86
- id: r,
93
+ id: t,
87
94
  onCheckedChange: p,
88
- ref: s,
89
- ...a,
90
- children: /* @__PURE__ */ t(n, { "data-testid": "spectral-checkbox-indicator", className: i("checkbox-indicator flex items-center justify-center text-checkbox-indicator--checked"), children: o === "indeterminate" ? /* @__PURE__ */ t(h, { className: "checkbox-indeterminate", size: 16, strokeWidth: 4 }) : /* @__PURE__ */ t(b, { className: "checkbox-check", size: 16, strokeWidth: 4 }) })
95
+ ref: c,
96
+ ...s,
97
+ children: /* @__PURE__ */ o(b, { "data-testid": "spectral-checkbox-indicator", className: i("checkbox-indicator text-checkbox-indicator--checked flex items-center justify-center"), children: r === "indeterminate" ? /* @__PURE__ */ o(h, { className: "checkbox-indeterminate", size: 16, strokeWidth: 4 }) : /* @__PURE__ */ o(n, { className: "checkbox-check", size: 16, strokeWidth: 4 }) })
91
98
  }
92
99
  ),
93
- /* @__PURE__ */ t("label", { className: "text-md text-text-primary peer-disabled:text-neutral-400", "data-testid": "spectral-checkbox-label", htmlFor: r, children: m })
94
- ] }));
95
- k.displayName = "Checkbox";
100
+ /* @__PURE__ */ o("label", { className: "text-md text-text-primary peer-disabled:text-neutral-400", "data-testid": "spectral-checkbox-label", htmlFor: t, children: m })
101
+ ] });
102
+ x.displayName = "Checkbox";
96
103
  export {
97
- k as Checkbox
104
+ x as Checkbox
98
105
  };
package/dist/DataCard.js CHANGED
@@ -3,14 +3,14 @@ import { jsxs as t, jsx as a } from "react/jsx-runtime";
3
3
  import { Card as o, CardHeader as p, CardTitle as n, CardContent as m } from "./Card.js";
4
4
  import { cn as x } from "./utils/twUtils.js";
5
5
  import "react";
6
- const C = ({ accentColor: d, cardHeaderEndSlot: e, className: r, dataDescription: s, dataValue: c, title: l, ...i }) => /* @__PURE__ */ t(o, { className: x("gap-4 card-effects", r), ...i, "data-testid": "spectral-datacard", children: [
6
+ const C = ({ accentColor: d, cardHeaderEndSlot: e, className: r, dataDescription: s, dataValue: c, title: l, ...i }) => /* @__PURE__ */ t(o, { className: x("card-effects gap-4", r), ...i, "data-testid": "spectral-datacard", children: [
7
7
  /* @__PURE__ */ t(p, { className: "pb-0", "data-testid": "spectral-datacard-header", children: [
8
- /* @__PURE__ */ a(n, { className: "uppercase text-sm font-bold", "data-testid": "spectral-datacard-title", children: l }),
8
+ /* @__PURE__ */ a(n, { className: "text-sm font-bold uppercase", "data-testid": "spectral-datacard-title", children: l }),
9
9
  /* @__PURE__ */ a("div", { style: { color: d }, "data-testid": "spectral-datacard-end-slot", children: e })
10
10
  ] }),
11
11
  /* @__PURE__ */ a(m, { children: /* @__PURE__ */ t("div", { className: "flex flex-col gap-4", children: [
12
12
  /* @__PURE__ */ a("div", { className: "text-4xl font-bold", style: { color: d }, "data-testid": "spectral-datacard-data-value", children: c }),
13
- /* @__PURE__ */ a("div", { className: "text-xs text-data-card-description", "data-testid": "spectral-datacard-data-description", children: s })
13
+ /* @__PURE__ */ a("div", { className: "text-data-card-description text-xs", "data-testid": "spectral-datacard-data-description", children: s })
14
14
  ] }) })
15
15
  ] });
16
16
  export {
package/dist/Dialog.js CHANGED
@@ -45,7 +45,7 @@ function O({
45
45
  /* @__PURE__ */ s(
46
46
  f,
47
47
  {
48
- className: o("bg-dialog-bg fixed px-6 pt-6 pb-6 has-[[data-slot=dialog-footer]]:pb-0 top-[50%] left-[50%] z-50 flex flex-col w-full max-w-xl translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg shadow-lg duration-200 max-h-[80vh] overflow-y-auto", t),
48
+ className: o("bg-dialog-bg fixed top-[50%] left-[50%] z-50 flex max-h-[80vh] w-full max-w-xl translate-x-[-50%] translate-y-[-50%] flex-col gap-4 overflow-y-auto rounded-lg px-6 pt-6 pb-6 shadow-lg duration-200 has-[[data-slot=dialog-footer]]:pb-0", t),
49
49
  "data-slot": "dialog-content",
50
50
  "data-testid": "spectral-dialog-content",
51
51
  onEscapeKeyDown: d,
@@ -75,7 +75,7 @@ function P({ className: t, ...a }) {
75
75
  return /* @__PURE__ */ e("div", { className: o("flex flex-col gap-2 text-center sm:text-left", t), "data-slot": "dialog-header", "data-testid": "spectral-dialog-header", ...a });
76
76
  }
77
77
  function R({ className: t, ...a }) {
78
- return /* @__PURE__ */ e("div", { className: o("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end sticky bottom-0 z-10 bg-dialog-bg/85 py-4 px-6 -mx-6", t), "data-slot": "dialog-footer", "data-testid": "spectral-dialog-footer", ...a });
78
+ return /* @__PURE__ */ e("div", { className: o("bg-dialog-bg/85 sticky bottom-0 z-10 -mx-6 flex flex-col-reverse gap-2 px-6 py-4 sm:flex-row sm:justify-end", t), "data-slot": "dialog-footer", "data-testid": "spectral-dialog-footer", ...a });
79
79
  }
80
80
  function _({ className: t, ...a }) {
81
81
  return /* @__PURE__ */ e(b, { className: o("text-2xl leading-none font-semibold", t), "data-slot": "dialog-title", "data-testid": "spectral-dialog-title", ...a });
package/dist/Drawer.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import "./styles/main.css";
2
2
  import { jsx as t, jsxs as s } from "react/jsx-runtime";
3
3
  import { SpectralProvider as f } from "./SpectralProvider.js";
4
- import { D as e } from "./index-jgQ7sgLl.js";
4
+ import { D as e } from "./index-D4jMMaAi.js";
5
5
  const u = ({ children: d, defaultOpen: o = !1, description: i, direction: l = "right", dismissible: c = !0, modal: p = !0, onOpenChange: n, open: m, size: r = "380px", title: x, trigger: h }) => {
6
6
  const a = "!font-sans fixed", w = {
7
7
  left: {
@@ -29,7 +29,7 @@ const u = ({ children: d, defaultOpen: o = !1, description: i, direction: l = "r
29
29
  /* @__PURE__ */ t(e.Close, {}),
30
30
  /* @__PURE__ */ t(e.Title, { className: "text-text-primary px-3 pt-4 text-lg font-medium", "data-testid": "spectral-drawer-title", children: x }),
31
31
  /* @__PURE__ */ t(e.Description, { className: "!text-text-secondary mb-2 px-3 !text-xs uppercase", "data-testid": "spectral-drawer-description", children: i }),
32
- /* @__PURE__ */ t("div", { className: "py-2 px-3 min-w-0 w-auto overflow-hidden [&>*]:min-w-0 [&_*]:min-w-0", "data-testid": "spectral-drawer-body", children: d })
32
+ /* @__PURE__ */ t("div", { className: "w-auto min-w-0 overflow-hidden px-3 py-2 [&_*]:min-w-0 [&>*]:min-w-0", "data-testid": "spectral-drawer-body", children: d })
33
33
  ] }) })
34
34
  ] })
35
35
  ] }) });
package/dist/HoverCard.js CHANGED
@@ -194,7 +194,7 @@ const de = ({
194
194
  align: f,
195
195
  alignOffset: t,
196
196
  className: J(
197
- "bg-popover-bg text-text-primary data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 origin-[--radix-hover-card-content-transform-origin] rounded-lg shadow-lg p-5 outline-none",
197
+ "bg-popover-bg text-text-primary data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 origin-[--radix-hover-card-content-transform-origin] rounded-lg p-5 shadow-lg outline-none",
198
198
  r
199
199
  ),
200
200
  collisionBoundary: g,
@@ -1,3 +1,5 @@
1
1
  import { IconProps } from './iconTypes';
2
- export declare const AnalyzeIcon: import('react').ForwardRefExoticComponent<IconProps & import('react').RefAttributes<SVGSVGElement>>;
2
+ export declare const AnalyzeIcon: (({ ref, className, ariaHidden, title, description, size, ...rest }: IconProps) => import("react/jsx-runtime").JSX.Element) & {
3
+ displayName: string;
4
+ };
3
5
  //# sourceMappingURL=AnalyzeIcon.d.ts.map
@@ -1,9 +1,7 @@
1
- "use client";
2
1
  import "../styles/main.css";
3
2
  import { jsxs as d, jsx as o } from "react/jsx-runtime";
4
3
  import k from "./IconBase.js";
5
- import { forwardRef as a } from "react";
6
- const c = ({ className: r, ariaHidden: e, title: t, description: n, size: C = 24, ...s }, i) => /* @__PURE__ */ d(k, { size: C, className: r, title: t, description: n, ariaHidden: e, ref: i, ...s, children: [
4
+ const c = ({ ref: r, className: e, ariaHidden: n, title: t, description: C, size: s = 24, ...i }) => /* @__PURE__ */ d(k, { size: s, className: e, title: t, description: C, ariaHidden: n, ref: r, ...i, children: [
7
5
  /* @__PURE__ */ o(
8
6
  "path",
9
7
  {
@@ -54,8 +52,7 @@ const c = ({ className: r, ariaHidden: e, title: t, description: n, size: C = 24
54
52
  strokeLinejoin: "round"
55
53
  }
56
54
  )
57
- ] }), u = a(c);
58
- u.displayName = "AnalyzeIcon";
55
+ ] }), p = Object.assign(c, { displayName: "AnalyzeIcon" });
59
56
  export {
60
- u as AnalyzeIcon
57
+ p as AnalyzeIcon
61
58
  };
@@ -1,3 +1,5 @@
1
1
  import { IconProps } from './iconTypes';
2
- export declare const AnnotationsIcon: import('react').ForwardRefExoticComponent<IconProps & import('react').RefAttributes<SVGSVGElement>>;
2
+ export declare const AnnotationsIcon: (({ ref, className, ariaHidden, title, description, size, ...rest }: IconProps) => import("react/jsx-runtime").JSX.Element) & {
3
+ displayName: string;
4
+ };
3
5
  //# sourceMappingURL=AnnotationsIcon.d.ts.map
@@ -1,9 +1,7 @@
1
- "use client";
2
1
  import "../styles/main.css";
3
2
  import { jsx as o } from "react/jsx-runtime";
4
- import c from "./IconBase.js";
5
- import { forwardRef as L } from "react";
6
- const d = ({ className: n, ariaHidden: r, title: t, description: e, size: i = 24, ...s }, a) => /* @__PURE__ */ o(c, { size: i, className: n, title: t, description: e, ariaHidden: r, ref: a, ...s, children: /* @__PURE__ */ o(
3
+ import a from "./IconBase.js";
4
+ const L = ({ ref: n, className: t, ariaHidden: r, title: s, description: e, size: i = 24, ...c }) => /* @__PURE__ */ o(a, { size: i, className: t, title: s, description: e, ariaHidden: r, ref: n, ...c, children: /* @__PURE__ */ o(
7
5
  "path",
8
6
  {
9
7
  d: "M13.6952 5.72122L15.8197 3.59668C16.6152 2.80111 17.9052 2.80111 18.7007 3.59668L20.4034 5.29931C21.1989 6.09488 21.1989 7.38475 20.4034 8.18031L18.2788 10.3049M13.6952 5.72122L3.29833 16.118C3.10732 16.309 3 16.5681 3 16.8383V21H7.16173C7.43187 21 7.69096 20.8927 7.88197 20.7017L18.2788 10.3049M13.6952 5.72122L18.2788 10.3049",
@@ -12,8 +10,7 @@ const d = ({ className: n, ariaHidden: r, title: t, description: e, size: i = 24
12
10
  strokeLinecap: "round",
13
11
  strokeLinejoin: "round"
14
12
  }
15
- ) }), m = L(d);
16
- m.displayName = "AnnotationsIcon";
13
+ ) }), m = Object.assign(L, { displayName: "AnnotationsIcon" });
17
14
  export {
18
15
  m as AnnotationsIcon
19
16
  };
@@ -1,3 +1,5 @@
1
1
  import { IconProps } from './iconTypes';
2
- export declare const ApprovedIcon: import('react').ForwardRefExoticComponent<IconProps & import('react').RefAttributes<SVGSVGElement>>;
2
+ export declare const ApprovedIcon: (({ ref, className, ariaHidden, title, description, size, ...rest }: IconProps) => import("react/jsx-runtime").JSX.Element) & {
3
+ displayName: string;
4
+ };
3
5
  //# sourceMappingURL=ApprovedIcon.d.ts.map
@@ -1,9 +1,7 @@
1
- "use client";
2
1
  import "../styles/main.css";
3
2
  import { jsxs as i, jsx as o } from "react/jsx-runtime";
4
3
  import c from "./IconBase.js";
5
- import { forwardRef as C } from "react";
6
- const a = ({ className: r, ariaHidden: e, title: t, description: n, size: p = 24, ...s }, d) => /* @__PURE__ */ i(c, { size: p, className: r, title: t, description: n, ariaHidden: e, ref: d, ...s, children: [
4
+ const C = ({ ref: r, className: e, ariaHidden: n, title: t, description: s, size: p = 24, ...d }) => /* @__PURE__ */ i(c, { size: p, className: e, title: t, description: s, ariaHidden: n, ref: r, ...d, children: [
7
5
  /* @__PURE__ */ o(
8
6
  "path",
9
7
  {
@@ -15,8 +13,7 @@ const a = ({ className: r, ariaHidden: e, title: t, description: n, size: p = 24
15
13
  }
16
14
  ),
17
15
  /* @__PURE__ */ o("path", { d: "M19.8125 5.75L12 13.5703L9.65625 11.2266", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" })
18
- ] }), k = C(a);
19
- k.displayName = "ApprovedIcon";
16
+ ] }), u = Object.assign(C, { displayName: "ApprovedIcon" });
20
17
  export {
21
- k as ApprovedIcon
18
+ u as ApprovedIcon
22
19
  };
@@ -1,3 +1,5 @@
1
1
  import { IconProps } from './iconTypes';
2
- export declare const ArrowDownIcon: import('react').ForwardRefExoticComponent<IconProps & import('react').RefAttributes<SVGSVGElement>>;
2
+ export declare const ArrowDownIcon: (({ ref, className, ariaHidden, title, description, size, ...rest }: IconProps) => import("react/jsx-runtime").JSX.Element) & {
3
+ displayName: string;
4
+ };
3
5
  //# sourceMappingURL=ArrowDownIcon.d.ts.map
@@ -1,10 +1,7 @@
1
- "use client";
2
1
  import "../styles/main.css";
3
2
  import { jsx as o } from "react/jsx-runtime";
4
- import d from "./IconBase.js";
5
- import { forwardRef as m } from "react";
6
- const p = ({ className: r, ariaHidden: n, title: t, description: e, size: c = 24, ...i }, s) => /* @__PURE__ */ o(d, { size: c, className: r, title: t, description: e, ariaHidden: n, ref: s, ...i, children: /* @__PURE__ */ o("path", { d: "M18 14L12 20L6 14M12 19V4", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) }), w = m(p);
7
- w.displayName = "ArrowDownIcon";
3
+ import a from "./IconBase.js";
4
+ const d = ({ ref: r, className: n, ariaHidden: t, title: e, description: s, size: c = 24, ...i }) => /* @__PURE__ */ o(a, { size: c, className: n, title: e, description: s, ariaHidden: t, ref: r, ...i, children: /* @__PURE__ */ o("path", { d: "M18 14L12 20L6 14M12 19V4", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) }), m = Object.assign(d, { displayName: "ArrowDownIcon" });
8
5
  export {
9
- w as ArrowDownIcon
6
+ m as ArrowDownIcon
10
7
  };
@@ -1,3 +1,5 @@
1
1
  import { IconProps } from './iconTypes';
2
- export declare const ArrowUpIcon: import('react').ForwardRefExoticComponent<IconProps & import('react').RefAttributes<SVGSVGElement>>;
2
+ export declare const ArrowUpIcon: (({ ref, className, ariaHidden, title, description, size, ...rest }: IconProps) => import("react/jsx-runtime").JSX.Element) & {
3
+ displayName: string;
4
+ };
3
5
  //# sourceMappingURL=ArrowUpIcon.d.ts.map
@@ -1,10 +1,7 @@
1
- "use client";
2
1
  import "../styles/main.css";
3
- import { jsx as r } from "react/jsx-runtime";
4
- import s from "./IconBase.js";
5
- import { forwardRef as d } from "react";
6
- const m = ({ className: o, ariaHidden: n, title: t, description: e, size: p = 24, ...c }, i) => /* @__PURE__ */ r(s, { size: p, className: o, title: t, description: e, ariaHidden: n, ref: i, ...c, children: /* @__PURE__ */ r("path", { d: "M6 10L12 4L18 10M12 5V20", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) }), a = d(m);
7
- a.displayName = "ArrowUpIcon";
2
+ import { jsx as o } from "react/jsx-runtime";
3
+ import p from "./IconBase.js";
4
+ const a = ({ ref: r, className: n, ariaHidden: t, title: e, description: s, size: c = 24, ...i }) => /* @__PURE__ */ o(p, { size: c, className: n, title: e, description: s, ariaHidden: t, ref: r, ...i, children: /* @__PURE__ */ o("path", { d: "M6 10L12 4L18 10M12 5V20", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) }), k = Object.assign(a, { displayName: "ArrowUpIcon" });
8
5
  export {
9
- a as ArrowUpIcon
6
+ k as ArrowUpIcon
10
7
  };
@@ -1,3 +1,5 @@
1
1
  import { IconProps } from './iconTypes';
2
- export declare const CalendarIcon: import('react').ForwardRefExoticComponent<IconProps & import('react').RefAttributes<SVGSVGElement>>;
2
+ export declare const CalendarIcon: (({ ref, className, ariaHidden, title, description, size, ...rest }: IconProps) => import("react/jsx-runtime").JSX.Element) & {
3
+ displayName: string;
4
+ };
3
5
  //# sourceMappingURL=CalendarIcon.d.ts.map
@@ -1,12 +1,10 @@
1
- "use client";
2
1
  import "../styles/main.css";
3
- import { jsxs as a, jsx as r } from "react/jsx-runtime";
4
- import k from "./IconBase.js";
5
- import { forwardRef as c } from "react";
6
- const p = ({ className: o, ariaHidden: e, title: n, description: t, size: s = 24, ...d }, i) => /* @__PURE__ */ a(k, { size: s, className: o, title: n, description: t, ariaHidden: e, ref: i, ...d, children: [
7
- /* @__PURE__ */ r("path", { d: "M8.40002 2.90912V6.54548", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
8
- /* @__PURE__ */ r("path", { d: "M15.6 2.90912V6.54548", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
9
- /* @__PURE__ */ r(
2
+ import { jsxs as a, jsx as o } from "react/jsx-runtime";
3
+ import c from "./IconBase.js";
4
+ const k = ({ ref: r, className: e, ariaHidden: n, title: t, description: s, size: d = 24, ...i }) => /* @__PURE__ */ a(c, { size: d, className: e, title: t, description: s, ariaHidden: n, ref: r, ...i, children: [
5
+ /* @__PURE__ */ o("path", { d: "M8.40002 2.90912V6.54548", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
6
+ /* @__PURE__ */ o("path", { d: "M15.6 2.90912V6.54548", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
7
+ /* @__PURE__ */ o(
10
8
  "path",
11
9
  {
12
10
  d: "M18.3 4.72729H5.70002C4.70591 4.72729 3.90002 5.54132 3.90002 6.54548V19.2727C3.90002 20.2769 4.70591 21.0909 5.70002 21.0909H18.3C19.2941 21.0909 20.1 20.2769 20.1 19.2727V6.54548C20.1 5.54132 19.2941 4.72729 18.3 4.72729Z",
@@ -16,9 +14,8 @@ const p = ({ className: o, ariaHidden: e, title: n, description: t, size: s = 24
16
14
  strokeLinejoin: "round"
17
15
  }
18
16
  ),
19
- /* @__PURE__ */ r("path", { d: "M3.90002 10.1818H20.1", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" })
20
- ] }), u = c(p);
21
- u.displayName = "CalendarIcon";
17
+ /* @__PURE__ */ o("path", { d: "M3.90002 10.1818H20.1", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" })
18
+ ] }), C = Object.assign(k, { displayName: "CalendarIcon" });
22
19
  export {
23
- u as CalendarIcon
20
+ C as CalendarIcon
24
21
  };