@spear-ai/spectral 1.3.61 → 1.3.63

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 (177) hide show
  1. package/dist/.js +181 -152
  2. package/dist/Accordion.d.ts +37 -0
  3. package/dist/Accordion.js +465 -0
  4. package/dist/Alert/AlertBase.js +2 -2
  5. package/dist/Alert.js +4 -3
  6. package/dist/Avatar.d.ts +12 -0
  7. package/dist/Avatar.js +88 -1
  8. package/dist/Badge.d.ts +12 -2
  9. package/dist/Badge.js +28 -4
  10. package/dist/Button.js +2 -2
  11. package/dist/ButtonGroup/ButtonGroupButton.d.ts +13 -0
  12. package/dist/ButtonGroup/ButtonGroupButton.js +51 -0
  13. package/dist/ButtonGroup.d.ts +29 -0
  14. package/dist/ButtonGroup.js +89 -0
  15. package/dist/ButtonIcon.js +2 -1
  16. package/dist/Checkbox/CheckboxBase.d.ts +2 -2
  17. package/dist/Checkbox/CheckboxBase.js +21 -21
  18. package/dist/Checkbox.d.ts +14 -0
  19. package/dist/Checkbox.js +98 -0
  20. package/dist/Dialog/DialogBase.d.ts +1 -1
  21. package/dist/Dialog/DialogBase.js +2 -2
  22. package/dist/Dialog.js +4 -4
  23. package/dist/Drawer.js +24 -1283
  24. package/dist/HoverCard.d.ts +29 -0
  25. package/dist/HoverCard.js +207 -0
  26. package/dist/Icons/CheckmarkIcon.js +9 -9
  27. package/dist/Icons/MessagesIcon.d.ts +3 -0
  28. package/dist/Icons/MessagesIcon.js +31 -0
  29. package/dist/Icons/MinusIcon.js +13 -13
  30. package/dist/Icons/index.d.ts +1 -0
  31. package/dist/Icons.js +50 -48
  32. package/dist/Input.d.ts +2 -0
  33. package/dist/Input.js +98 -89
  34. package/dist/InputGroup.d.ts +16 -0
  35. package/dist/InputGroup.js +129 -0
  36. package/dist/InputOTP.d.ts +0 -2
  37. package/dist/InputOTP.js +138 -142
  38. package/dist/Label.d.ts +3 -7
  39. package/dist/Label.js +11 -11
  40. package/dist/MultiSelect/MultiSelectBase.js +22 -22
  41. package/dist/Popover.d.ts +6 -7
  42. package/dist/Popover.js +60 -71
  43. package/dist/RadioButtonGroup/RadioButtonGroupBase.js +1 -1
  44. package/dist/RadioButtonGroup.js +1 -1
  45. package/dist/RadioGroup.d.ts +1 -1
  46. package/dist/RadioGroup.js +141 -134
  47. package/dist/Select.js +97 -895
  48. package/dist/Separator.d.ts +12 -0
  49. package/dist/Separator.js +24 -0
  50. package/dist/Skeleton.js +3 -3
  51. package/dist/Slider.d.ts +15 -3
  52. package/dist/Slider.js +464 -40
  53. package/dist/Switch/SwitchBase.js +1 -1
  54. package/dist/Switch.js +2 -2
  55. package/dist/Tabs/TabsBase.js +1 -1
  56. package/dist/Tabs.js +16 -16
  57. package/dist/Textarea.js +41 -42
  58. package/dist/Toggle.js +2 -2
  59. package/dist/ToggleGroup.js +1 -1
  60. package/dist/Tooltip/TooltipBase.js +29 -29
  61. package/dist/Tooltip.js +15 -15
  62. package/dist/Tray/TrayStoriesData.d.ts +39 -0
  63. package/dist/Tray/TrayStoriesData.js +438 -0
  64. package/dist/Tray.d.ts +28 -0
  65. package/dist/Tray.js +227 -0
  66. package/dist/clsx-OuTLNxxd.js +16 -0
  67. package/dist/components/Accordion/Accordion.d.ts +37 -0
  68. package/dist/components/Accordion/Accordion.d.ts.map +1 -0
  69. package/dist/components/Avatar/Avatar.d.ts +12 -0
  70. package/dist/components/Avatar/Avatar.d.ts.map +1 -1
  71. package/dist/components/Badge/Badge.d.ts +12 -2
  72. package/dist/components/Badge/Badge.d.ts.map +1 -1
  73. package/dist/components/ButtonGroup/ButtonGroup.d.ts +29 -0
  74. package/dist/components/ButtonGroup/ButtonGroup.d.ts.map +1 -0
  75. package/dist/components/ButtonGroup/ButtonGroupButton.d.ts +13 -0
  76. package/dist/components/ButtonGroup/ButtonGroupButton.d.ts.map +1 -0
  77. package/dist/components/Checkbox/Checkbox.d.ts +14 -0
  78. package/dist/components/Checkbox/Checkbox.d.ts.map +1 -0
  79. package/dist/components/Checkbox/CheckboxBase.d.ts +2 -2
  80. package/dist/components/Checkbox/CheckboxBase.d.ts.map +1 -1
  81. package/dist/components/Dialog/DialogBase.d.ts +1 -1
  82. package/dist/components/HoverCard/HoverCard.d.ts +29 -0
  83. package/dist/components/HoverCard/HoverCard.d.ts.map +1 -0
  84. package/dist/components/Icons/MessagesIcon.d.ts +3 -0
  85. package/dist/components/Icons/MessagesIcon.d.ts.map +1 -0
  86. package/dist/components/Icons/iconTypes.d.ts +1 -0
  87. package/dist/components/Icons/iconTypes.d.ts.map +1 -1
  88. package/dist/components/Icons/index.d.ts +1 -0
  89. package/dist/components/Icons/index.d.ts.map +1 -1
  90. package/dist/components/Input/Input.d.ts +2 -0
  91. package/dist/components/Input/Input.d.ts.map +1 -1
  92. package/dist/components/InputGroup/InputGroup.d.ts +16 -0
  93. package/dist/components/InputGroup/InputGroup.d.ts.map +1 -0
  94. package/dist/components/InputOTP/InputOTP.d.ts +0 -2
  95. package/dist/components/InputOTP/InputOTP.d.ts.map +1 -1
  96. package/dist/components/Label/Label.d.ts +3 -7
  97. package/dist/components/Label/Label.d.ts.map +1 -1
  98. package/dist/components/Popover/Popover.d.ts +6 -7
  99. package/dist/components/Popover/Popover.d.ts.map +1 -1
  100. package/dist/components/RadioGroup/RadioGroup.d.ts +1 -1
  101. package/dist/components/RadioGroup/RadioGroup.d.ts.map +1 -1
  102. package/dist/components/Separator/Separator.d.ts +12 -0
  103. package/dist/components/Separator/Separator.d.ts.map +1 -0
  104. package/dist/components/Slider/Slider.d.ts +15 -3
  105. package/dist/components/Slider/Slider.d.ts.map +1 -1
  106. package/dist/components/Textarea/Textarea.d.ts.map +1 -1
  107. package/dist/components/Tray/Tray.d.ts +28 -0
  108. package/dist/components/Tray/Tray.d.ts.map +1 -0
  109. package/dist/components/Tray/TrayStoriesData.d.ts +39 -0
  110. package/dist/components/Tray/TrayStoriesData.d.ts.map +1 -0
  111. package/dist/features/AuthCard/ForgotPasswordEmailForm.js +4 -3
  112. package/dist/features/AuthCard/ForgotPasswordResetForm.js +9 -9
  113. package/dist/features/AuthCard/PasswordInput.js +78 -9
  114. package/dist/features/AuthCard/SignInForm.js +8 -7
  115. package/dist/features/AuthCard/SignUpForm.js +8 -7
  116. package/dist/features/AuthCard.js +2 -2
  117. package/dist/features/LabelingTools.js +7 -6
  118. package/dist/features/SensorMetadata.js +3 -2
  119. package/dist/features/SettingsPopover.js +3 -2
  120. package/dist/index-0ioNhtNM.js +10 -0
  121. package/dist/{index-CBwRmAsQ.js → index-6Abv_Flm.js} +1 -1
  122. package/dist/{index-DUK1rxhf.js → index-B-GQStVW.js} +6 -5
  123. package/dist/index-B2oBi8ng.js +142 -0
  124. package/dist/index-BIpuW_o8.js +146 -0
  125. package/dist/index-BZPx6jYI.js +8 -0
  126. package/dist/index-BhufZRa2.js +232 -0
  127. package/dist/index-CAKA12cC.js +1265 -0
  128. package/dist/{index-Cfyte2YO.js → index-CGALWSq_.js} +1 -1
  129. package/dist/index-CVSxKOPp.js +13 -0
  130. package/dist/index-CevVJ05e.js +822 -0
  131. package/dist/{index-CRBC94ik.js → index-D29mdTf5.js} +1 -1
  132. package/dist/{index-FeGk8zep.js → index-NzygPVvJ.js} +10 -9
  133. package/dist/index-UEFPWH8U.js +54 -0
  134. package/dist/index-rKs9bXHr.js +6 -0
  135. package/dist/{index-Cb7rjMhE.js → index-y6Br5T4h.js} +6 -6
  136. package/dist/index.d.ts +10 -1
  137. package/dist/index.d.ts.map +1 -1
  138. package/dist/linear-cursor-small.png +0 -0
  139. package/dist/list.yml.webp +0 -0
  140. package/dist/message-alert-matte-glass-gradient.webp +0 -0
  141. package/dist/primitives/button.d.ts +10 -0
  142. package/dist/primitives/button.d.ts.map +1 -0
  143. package/dist/primitives/button.js +42 -0
  144. package/dist/primitives/input.d.ts +3 -0
  145. package/dist/primitives/input.d.ts.map +1 -0
  146. package/dist/primitives/input.js +18 -0
  147. package/dist/primitives/select.d.ts +16 -0
  148. package/dist/primitives/select.d.ts.map +1 -0
  149. package/dist/primitives/select.js +196 -0
  150. package/dist/primitives/slot.d.ts.map +1 -1
  151. package/dist/primitives/slot.js +21 -20
  152. package/dist/primitives/textarea.d.ts +3 -0
  153. package/dist/primitives/textarea.d.ts.map +1 -0
  154. package/dist/primitives/textarea.js +16 -0
  155. package/dist/{proxy-DD79Ok6n.js → proxy-C9AqCss6.js} +1 -1
  156. package/dist/speech-bubble-fluid-glass-gradient.webp +0 -0
  157. package/dist/styles/main.css +1 -1
  158. package/dist/utils/formFieldUtils.js +1 -1
  159. package/dist/utils/twUtils.js +2728 -2
  160. package/package.json +13 -8
  161. package/dist/Accordion/AccordionBase.d.ts +0 -42
  162. package/dist/Accordion/AccordionBase.js +0 -225
  163. package/dist/Badge/BadgeBase.d.ts +0 -13
  164. package/dist/Badge/BadgeBase.js +0 -35
  165. package/dist/PasswordInput-ClY_hxuN.js +0 -261
  166. package/dist/components/Accordion/AccordionBase.d.ts +0 -42
  167. package/dist/components/Accordion/AccordionBase.d.ts.map +0 -1
  168. package/dist/components/Badge/BadgeBase.d.ts +0 -13
  169. package/dist/components/Badge/BadgeBase.d.ts.map +0 -1
  170. package/dist/index-CA7haECj.js +0 -248
  171. package/dist/index-CbXx14YO.js +0 -59
  172. package/dist/index-VXXKXen4.js +0 -15
  173. package/dist/index-cCg4yNa8.js +0 -132
  174. package/dist/primitives/label.d.ts +0 -5
  175. package/dist/primitives/label.d.ts.map +0 -1
  176. package/dist/primitives/label.js +0 -27
  177. package/dist/twUtils-CRiPKpXj.js +0 -2743
@@ -0,0 +1,29 @@
1
+ import { ComponentProps } from 'react';
2
+ import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
3
+ type Side = 'top' | 'right' | 'bottom' | 'left';
4
+ type Align = 'start' | 'center' | 'end';
5
+ export type HoverCardProps = ComponentProps<typeof HoverCardPrimitive.Root> & {
6
+ side?: Side;
7
+ sideOffset?: number;
8
+ align?: Align;
9
+ alignOffset?: number;
10
+ collisionBoundary?: Element | null | Array<Element | null>;
11
+ collisionPadding?: number | Partial<Record<Side, number>>;
12
+ width?: number | string;
13
+ };
14
+ export declare const HoverCard: {
15
+ ({ ...props }: ComponentProps<typeof HoverCardPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
16
+ displayName: string;
17
+ };
18
+ export declare const HoverCardTrigger: {
19
+ ({ ...props }: ComponentProps<typeof HoverCardPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
20
+ displayName: string;
21
+ };
22
+ export declare const HoverCardContent: {
23
+ ({ className, align, sideOffset, side, width, ...props }: ComponentProps<typeof HoverCardPrimitive.Content> & {
24
+ width?: number | "w-fit" | "trigger-width";
25
+ }): import("react/jsx-runtime").JSX.Element;
26
+ displayName: string;
27
+ };
28
+ export {};
29
+ //# sourceMappingURL=HoverCard.d.ts.map
@@ -0,0 +1,207 @@
1
+ "use client";
2
+ import "./styles/main.css";
3
+ import { jsx as s } from "react/jsx-runtime";
4
+ import * as a from "react";
5
+ import { u as k, c as F, b as l, P as I, a as U } from "./index-BhufZRa2.js";
6
+ import { c as T, R as $, A as W, C as z, a as B } from "./index-NzygPVvJ.js";
7
+ import { P as G, D as K } from "./index-B2oBi8ng.js";
8
+ import { P as E } from "./index-6Abv_Flm.js";
9
+ import { cn as j } from "./utils/twUtils.js";
10
+ var x, b = "HoverCard", [y] = F(b, [
11
+ T
12
+ ]), S = T(), [V, w] = y(b), N = (e) => {
13
+ const {
14
+ __scopeHoverCard: t,
15
+ children: o,
16
+ open: i,
17
+ defaultOpen: n,
18
+ onOpenChange: c,
19
+ openDelay: f = 700,
20
+ closeDelay: v = 300
21
+ } = e, d = S(t), C = a.useRef(0), u = a.useRef(0), m = a.useRef(!1), p = a.useRef(!1), [h, r] = k({
22
+ prop: i,
23
+ defaultProp: n ?? !1,
24
+ onChange: c,
25
+ caller: b
26
+ }), g = a.useCallback(() => {
27
+ clearTimeout(u.current), C.current = window.setTimeout(() => r(!0), f);
28
+ }, [f, r]), L = a.useCallback(() => {
29
+ clearTimeout(C.current), !m.current && !p.current && (u.current = window.setTimeout(() => r(!1), v));
30
+ }, [v, r]), M = a.useCallback(() => r(!1), [r]);
31
+ return a.useEffect(() => () => {
32
+ clearTimeout(C.current), clearTimeout(u.current);
33
+ }, []), /* @__PURE__ */ s(
34
+ V,
35
+ {
36
+ scope: t,
37
+ open: h,
38
+ onOpenChange: r,
39
+ onOpen: g,
40
+ onClose: L,
41
+ onDismiss: M,
42
+ hasSelectionRef: m,
43
+ isPointerDownOnContentRef: p,
44
+ children: /* @__PURE__ */ s($, { ...d, children: o })
45
+ }
46
+ );
47
+ };
48
+ N.displayName = b;
49
+ var O = "HoverCardTrigger", _ = a.forwardRef(
50
+ (e, t) => {
51
+ const { __scopeHoverCard: o, ...i } = e, n = w(O, o), c = S(o);
52
+ return /* @__PURE__ */ s(W, { asChild: !0, ...c, children: /* @__PURE__ */ s(
53
+ I.a,
54
+ {
55
+ "data-state": n.open ? "open" : "closed",
56
+ ...i,
57
+ ref: t,
58
+ onPointerEnter: l(e.onPointerEnter, R(n.onOpen)),
59
+ onPointerLeave: l(e.onPointerLeave, R(n.onClose)),
60
+ onFocus: l(e.onFocus, n.onOpen),
61
+ onBlur: l(e.onBlur, n.onClose),
62
+ onTouchStart: l(e.onTouchStart, (f) => f.preventDefault())
63
+ }
64
+ ) });
65
+ }
66
+ );
67
+ _.displayName = O;
68
+ var H = "HoverCardPortal", [q, J] = y(H, {
69
+ forceMount: void 0
70
+ }), D = (e) => {
71
+ const { __scopeHoverCard: t, forceMount: o, children: i, container: n } = e, c = w(H, t);
72
+ return /* @__PURE__ */ s(q, { scope: t, forceMount: o, children: /* @__PURE__ */ s(E, { present: o || c.open, children: /* @__PURE__ */ s(G, { asChild: !0, container: n, children: i }) }) });
73
+ };
74
+ D.displayName = H;
75
+ var P = "HoverCardContent", A = a.forwardRef(
76
+ (e, t) => {
77
+ const o = J(P, e.__scopeHoverCard), { forceMount: i = o.forceMount, ...n } = e, c = w(P, e.__scopeHoverCard);
78
+ return /* @__PURE__ */ s(E, { present: i || c.open, children: /* @__PURE__ */ s(
79
+ Q,
80
+ {
81
+ "data-state": c.open ? "open" : "closed",
82
+ ...n,
83
+ onPointerEnter: l(e.onPointerEnter, R(c.onOpen)),
84
+ onPointerLeave: l(e.onPointerLeave, R(c.onClose)),
85
+ ref: t
86
+ }
87
+ ) });
88
+ }
89
+ );
90
+ A.displayName = P;
91
+ var Q = a.forwardRef((e, t) => {
92
+ const {
93
+ __scopeHoverCard: o,
94
+ onEscapeKeyDown: i,
95
+ onPointerDownOutside: n,
96
+ onFocusOutside: c,
97
+ onInteractOutside: f,
98
+ ...v
99
+ } = e, d = w(P, o), C = S(o), u = a.useRef(null), m = U(t, u), [p, h] = a.useState(!1);
100
+ return a.useEffect(() => {
101
+ if (p) {
102
+ const r = document.body;
103
+ return x = r.style.userSelect || r.style.webkitUserSelect, r.style.userSelect = "none", r.style.webkitUserSelect = "none", () => {
104
+ r.style.userSelect = x, r.style.webkitUserSelect = x;
105
+ };
106
+ }
107
+ }, [p]), a.useEffect(() => {
108
+ if (u.current) {
109
+ const r = () => {
110
+ h(!1), d.isPointerDownOnContentRef.current = !1, setTimeout(() => {
111
+ document.getSelection()?.toString() !== "" && (d.hasSelectionRef.current = !0);
112
+ });
113
+ };
114
+ return document.addEventListener("pointerup", r), () => {
115
+ document.removeEventListener("pointerup", r), d.hasSelectionRef.current = !1, d.isPointerDownOnContentRef.current = !1;
116
+ };
117
+ }
118
+ }, [d.isPointerDownOnContentRef, d.hasSelectionRef]), a.useEffect(() => {
119
+ u.current && Z(u.current).forEach((g) => g.setAttribute("tabindex", "-1"));
120
+ }), /* @__PURE__ */ s(
121
+ K,
122
+ {
123
+ asChild: !0,
124
+ disableOutsidePointerEvents: !1,
125
+ onInteractOutside: f,
126
+ onEscapeKeyDown: i,
127
+ onPointerDownOutside: n,
128
+ onFocusOutside: l(c, (r) => {
129
+ r.preventDefault();
130
+ }),
131
+ onDismiss: d.onDismiss,
132
+ children: /* @__PURE__ */ s(
133
+ z,
134
+ {
135
+ ...C,
136
+ ...v,
137
+ onPointerDown: l(v.onPointerDown, (r) => {
138
+ r.currentTarget.contains(r.target) && h(!0), d.hasSelectionRef.current = !1, d.isPointerDownOnContentRef.current = !0;
139
+ }),
140
+ ref: m,
141
+ style: {
142
+ ...v.style,
143
+ userSelect: p ? "text" : void 0,
144
+ // Safari requires prefix
145
+ WebkitUserSelect: p ? "text" : void 0,
146
+ "--radix-hover-card-content-transform-origin": "var(--radix-popper-transform-origin)",
147
+ "--radix-hover-card-content-available-width": "var(--radix-popper-available-width)",
148
+ "--radix-hover-card-content-available-height": "var(--radix-popper-available-height)",
149
+ "--radix-hover-card-trigger-width": "var(--radix-popper-anchor-width)",
150
+ "--radix-hover-card-trigger-height": "var(--radix-popper-anchor-height)"
151
+ }
152
+ }
153
+ )
154
+ }
155
+ );
156
+ }), X = "HoverCardArrow", Y = a.forwardRef(
157
+ (e, t) => {
158
+ const { __scopeHoverCard: o, ...i } = e, n = S(o);
159
+ return /* @__PURE__ */ s(B, { ...n, ...i, ref: t });
160
+ }
161
+ );
162
+ Y.displayName = X;
163
+ function R(e) {
164
+ return (t) => t.pointerType === "touch" ? void 0 : e();
165
+ }
166
+ function Z(e) {
167
+ const t = [], o = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, {
168
+ acceptNode: (i) => i.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP
169
+ });
170
+ for (; o.nextNode(); ) t.push(o.currentNode);
171
+ return t;
172
+ }
173
+ var ee = N, re = _, te = D, oe = A;
174
+ const ne = ({ ...e }) => /* @__PURE__ */ s(ee, { "data-slot": "hover-card", ...e });
175
+ ne.displayName = "HoverCard";
176
+ const ae = ({ ...e }) => /* @__PURE__ */ s(re, { "data-slot": "hover-card-trigger", ...e });
177
+ ae.displayName = "HoverCardTrigger";
178
+ const se = ({
179
+ className: e,
180
+ align: t = "center",
181
+ sideOffset: o = 4,
182
+ side: i = "bottom",
183
+ width: n = 380,
184
+ ...c
185
+ }) => /* @__PURE__ */ s(te, { "data-slot": "hover-card-portal", children: /* @__PURE__ */ s(
186
+ oe,
187
+ {
188
+ "data-slot": "hover-card-content",
189
+ align: t,
190
+ side: i,
191
+ sideOffset: o,
192
+ className: j(
193
+ "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",
194
+ e
195
+ ),
196
+ style: {
197
+ width: typeof n == "number" ? `${n}px` : n === "trigger-width" ? "var(--radix-hover-card-trigger-width)" : "fit-content"
198
+ },
199
+ ...c
200
+ }
201
+ ) });
202
+ se.displayName = "HoverCardContent";
203
+ export {
204
+ ne as HoverCard,
205
+ se as HoverCardContent,
206
+ ae as HoverCardTrigger
207
+ };
@@ -1,20 +1,20 @@
1
1
  "use client";
2
2
  import "../styles/main.css";
3
- import { jsxs as a, jsx as o } from "react/jsx-runtime";
4
- import m from "./IconBase.js";
5
- import { forwardRef as i } from "react";
6
- const h = ({ className: r, ariaHidden: e, title: n = "Checkmark", description: t, size: c = 24, ...k }, s) => /* @__PURE__ */ a(
7
- m,
3
+ import { jsxs as s, jsx as o } from "react/jsx-runtime";
4
+ import i from "./IconBase.js";
5
+ import { forwardRef as h } from "react";
6
+ const p = ({ className: r, ariaHidden: e, title: n = "Checkmark", description: t, size: c = 24, strokeWidth: k = 2, ...a }, m) => /* @__PURE__ */ s(
7
+ i,
8
8
  {
9
9
  size: c,
10
10
  className: r,
11
11
  title: n,
12
12
  description: t,
13
13
  ariaHidden: e,
14
- ref: s,
15
- ...k,
14
+ ref: m,
15
+ ...a,
16
16
  stroke: "currentColor",
17
- strokeWidth: "2",
17
+ strokeWidth: k,
18
18
  strokeLinecap: "round",
19
19
  strokeLinejoin: "round",
20
20
  children: [
@@ -22,7 +22,7 @@ const h = ({ className: r, ariaHidden: e, title: n = "Checkmark", description: t
22
22
  /* @__PURE__ */ o("path", { d: "M5 12l5 5l10 -10" })
23
23
  ]
24
24
  }
25
- ), d = i(h);
25
+ ), d = h(p);
26
26
  d.displayName = "CheckmarkIcon";
27
27
  export {
28
28
  d as CheckmarkIcon
@@ -0,0 +1,3 @@
1
+ import { IconProps } from './iconTypes';
2
+ export declare const MessagesIcon: import('react').ForwardRefExoticComponent<IconProps & import('react').RefAttributes<SVGSVGElement>>;
3
+ //# sourceMappingURL=MessagesIcon.d.ts.map
@@ -0,0 +1,31 @@
1
+ "use client";
2
+ import "../styles/main.css";
3
+ import { jsxs as d, jsx as o } from "react/jsx-runtime";
4
+ import i from "./IconBase.js";
5
+ import { forwardRef as p } from "react";
6
+ const c = ({ className: e, ariaHidden: s, title: r = "Messages", description: n, size: t = 24, ...a }, h) => /* @__PURE__ */ d(
7
+ i,
8
+ {
9
+ size: t,
10
+ className: e,
11
+ title: r,
12
+ description: n,
13
+ ariaHidden: s,
14
+ ref: h,
15
+ stroke: "currentColor",
16
+ strokeWidth: 2,
17
+ strokeLinecap: "round",
18
+ strokeLinejoin: "round",
19
+ ...a,
20
+ children: [
21
+ /* @__PURE__ */ o("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
22
+ /* @__PURE__ */ o("path", { d: "M8 9h8" }),
23
+ /* @__PURE__ */ o("path", { d: "M8 13h6" }),
24
+ /* @__PURE__ */ o("path", { d: "M18 4a3 3 0 0 1 3 3v8a3 3 0 0 1 -3 3h-5l-5 3v-3h-2a3 3 0 0 1 -3 -3v-8a3 3 0 0 1 3 -3h12z" })
25
+ ]
26
+ }
27
+ ), M = p(c);
28
+ M.displayName = "MessagesIcon";
29
+ export {
30
+ M as MessagesIcon
31
+ };
@@ -1,26 +1,26 @@
1
1
  "use client";
2
2
  import "../styles/main.css";
3
3
  import { jsx as o } from "react/jsx-runtime";
4
- import u from "./IconBase.js";
5
- import { forwardRef as d } from "react";
6
- const m = ({ className: r, ariaHidden: n, title: t = "Minus", description: e, size: i = 24, ...s }, c) => /* @__PURE__ */ o(
7
- u,
4
+ import m from "./IconBase.js";
5
+ import { forwardRef as p } from "react";
6
+ const a = ({ className: r, ariaHidden: n, title: e = "Minus", description: i, strokeWidth: s = 2, size: t = 24, ...c }, u) => /* @__PURE__ */ o(
7
+ m,
8
8
  {
9
- size: i,
9
+ size: t,
10
10
  className: r,
11
- title: t,
12
- description: e,
11
+ title: e,
12
+ description: i,
13
13
  ariaHidden: n,
14
- ref: c,
14
+ ref: u,
15
15
  stroke: "currentColor",
16
- strokeWidth: "2",
16
+ strokeWidth: s,
17
17
  strokeLinecap: "round",
18
18
  strokeLinejoin: "round",
19
- ...s,
19
+ ...c,
20
20
  children: /* @__PURE__ */ o("path", { d: "M5 12l14 0" })
21
21
  }
22
- ), p = d(m);
23
- p.displayName = "MinusIcon";
22
+ ), d = p(a);
23
+ d.displayName = "MinusIcon";
24
24
  export {
25
- p as MinusIcon
25
+ d as MinusIcon
26
26
  };
@@ -28,6 +28,7 @@ export { LiveViewIcon } from './LiveViewIcon';
28
28
  export { LoaderIcon } from './LoaderIcon';
29
29
  export { LocationIcon } from './LocationIcon';
30
30
  export { LogoutIcon } from './LogoutIcon';
31
+ export { MessagesIcon } from './MessagesIcon';
31
32
  export { MetadataIcon } from './MetadataIcon';
32
33
  export { MinusIcon } from './MinusIcon';
33
34
  export { OntologyIcon } from './OntologyIcon';
package/dist/Icons.js CHANGED
@@ -3,19 +3,19 @@ import { CalendarIcon as t } from "./Icons/CalendarIcon.js";
3
3
  import { CheckCircleIcon as m } from "./Icons/CheckCircleIcon.js";
4
4
  import { CheckSquareIcon as f } from "./Icons/CheckSquareIcon.js";
5
5
  import { CheckmarkIcon as x } from "./Icons/CheckmarkIcon.js";
6
- import { ChevronDownIcon as s } from "./Icons/ChevronDownIcon.js";
6
+ import { ChevronDownIcon as a } from "./Icons/ChevronDownIcon.js";
7
7
  import { ChevronUpIcon as i } from "./Icons/ChevronUpIcon.js";
8
8
  import { ClockIcon as L } from "./Icons/ClockIcon.js";
9
9
  import { CloseCircleIcon as h } from "./Icons/CloseCircleIcon.js";
10
10
  import { CloseIcon as E } from "./Icons/CloseIcon.js";
11
- import { DashboardIcon as y } from "./Icons/DashboardIcon.js";
11
+ import { DashboardIcon as k } from "./Icons/DashboardIcon.js";
12
12
  import { DeleteIcon as D } from "./Icons/DeleteIcon.js";
13
13
  import { DurationIcon as T } from "./Icons/DurationIcon.js";
14
- import { EmailIcon as O } from "./Icons/EmailIcon.js";
15
- import { EraserIcon as U } from "./Icons/EraserIcon.js";
16
- import { ErrorIcon as b } from "./Icons/ErrorIcon.js";
17
- import { EyeClosedIcon as A } from "./Icons/EyeClosedIcon.js";
18
- import { EyeClosedIcon2 as M } from "./Icons/EyeClosedIcon2.js";
14
+ import { EmailIcon as M } from "./Icons/EmailIcon.js";
15
+ import { EraserIcon as S } from "./Icons/EraserIcon.js";
16
+ import { ErrorIcon as Z } from "./Icons/ErrorIcon.js";
17
+ import { EyeClosedIcon as w } from "./Icons/EyeClosedIcon.js";
18
+ import { EyeClosedIcon2 as G } from "./Icons/EyeClosedIcon2.js";
19
19
  import { EyeOpenIcon as F } from "./Icons/EyeOpenIcon.js";
20
20
  import { GoToFirstIcon as R } from "./Icons/GoToFirstIcon.js";
21
21
  import { GoToLastIcon as W } from "./Icons/GoToLastIcon.js";
@@ -28,42 +28,43 @@ import { LiveViewIcon as oo } from "./Icons/LiveViewIcon.js";
28
28
  import { LoaderIcon as eo } from "./Icons/LoaderIcon.js";
29
29
  import { LocationIcon as to } from "./Icons/LocationIcon.js";
30
30
  import { LogoutIcon as mo } from "./Icons/LogoutIcon.js";
31
- import { MetadataIcon as fo } from "./Icons/MetadataIcon.js";
32
- import { MinusIcon as xo } from "./Icons/MinusIcon.js";
33
- import { OntologyIcon as so } from "./Icons/OntologyIcon.js";
34
- import { PanelIconClose as io } from "./Icons/PanelIconClose.js";
35
- import { PanelIconOpen as Lo } from "./Icons/PanelIconOpen.js";
36
- import { PlayIcon as uo } from "./Icons/PlayIcon.js";
37
- import { PlusIcon as ko } from "./Icons/PlusIcon.js";
38
- import { ResetIcon as go } from "./Icons/ResetIcon.js";
39
- import { ScissorsIcon as Po } from "./Icons/ScissorsIcon.js";
40
- import { SettingsIcon as vo } from "./Icons/SettingsIcon.js";
41
- import { TrashIcon as So } from "./Icons/TrashIcon.js";
42
- import { UndoIcon as Zo } from "./Icons/UndoIcon.js";
43
- import { UserIcon as wo } from "./Icons/UserIcon.js";
44
- import { WarningIcon as Go } from "./Icons/WarningIcon.js";
45
- import { ZoomAllIcon as qo } from "./Icons/ZoomAllIcon.js";
46
- import { ZoomXIcon as Ho } from "./Icons/ZoomXIcon.js";
47
- import { ZoomYIcon as Vo } from "./Icons/ZoomYIcon.js";
31
+ import { MessagesIcon as fo } from "./Icons/MessagesIcon.js";
32
+ import { MetadataIcon as xo } from "./Icons/MetadataIcon.js";
33
+ import { MinusIcon as ao } from "./Icons/MinusIcon.js";
34
+ import { OntologyIcon as io } from "./Icons/OntologyIcon.js";
35
+ import { PanelIconClose as Lo } from "./Icons/PanelIconClose.js";
36
+ import { PanelIconOpen as uo } from "./Icons/PanelIconOpen.js";
37
+ import { PlayIcon as go } from "./Icons/PlayIcon.js";
38
+ import { PlusIcon as yo } from "./Icons/PlusIcon.js";
39
+ import { ResetIcon as Po } from "./Icons/ResetIcon.js";
40
+ import { ScissorsIcon as vo } from "./Icons/ScissorsIcon.js";
41
+ import { SettingsIcon as Oo } from "./Icons/SettingsIcon.js";
42
+ import { TrashIcon as Uo } from "./Icons/TrashIcon.js";
43
+ import { UndoIcon as bo } from "./Icons/UndoIcon.js";
44
+ import { UserIcon as Ao } from "./Icons/UserIcon.js";
45
+ import { WarningIcon as qo } from "./Icons/WarningIcon.js";
46
+ import { ZoomAllIcon as Ho } from "./Icons/ZoomAllIcon.js";
47
+ import { ZoomXIcon as Vo } from "./Icons/ZoomXIcon.js";
48
+ import { ZoomYIcon as Xo } from "./Icons/ZoomYIcon.js";
48
49
  export {
49
50
  e as AnnotationsIcon,
50
51
  t as CalendarIcon,
51
52
  m as CheckCircleIcon,
52
53
  f as CheckSquareIcon,
53
54
  x as CheckmarkIcon,
54
- s as ChevronDownIcon,
55
+ a as ChevronDownIcon,
55
56
  i as ChevronUpIcon,
56
57
  L as ClockIcon,
57
58
  h as CloseCircleIcon,
58
59
  E as CloseIcon,
59
- y as DashboardIcon,
60
+ k as DashboardIcon,
60
61
  D as DeleteIcon,
61
62
  T as DurationIcon,
62
- O as EmailIcon,
63
- U as EraserIcon,
64
- b as ErrorIcon,
65
- A as EyeClosedIcon,
66
- M as EyeClosedIcon2,
63
+ M as EmailIcon,
64
+ S as EraserIcon,
65
+ Z as ErrorIcon,
66
+ w as EyeClosedIcon,
67
+ G as EyeClosedIcon2,
67
68
  F as EyeOpenIcon,
68
69
  R as GoToFirstIcon,
69
70
  W as GoToLastIcon,
@@ -76,21 +77,22 @@ export {
76
77
  eo as LoaderIcon,
77
78
  to as LocationIcon,
78
79
  mo as LogoutIcon,
79
- fo as MetadataIcon,
80
- xo as MinusIcon,
81
- so as OntologyIcon,
82
- io as PanelIconClose,
83
- Lo as PanelIconOpen,
84
- uo as PlayIcon,
85
- ko as PlusIcon,
86
- go as ResetIcon,
87
- Po as ScissorsIcon,
88
- vo as SettingsIcon,
89
- So as TrashIcon,
90
- Zo as UndoIcon,
91
- wo as UserIcon,
92
- Go as WarningIcon,
93
- qo as ZoomAllIcon,
94
- Ho as ZoomXIcon,
95
- Vo as ZoomYIcon
80
+ fo as MessagesIcon,
81
+ xo as MetadataIcon,
82
+ ao as MinusIcon,
83
+ io as OntologyIcon,
84
+ Lo as PanelIconClose,
85
+ uo as PanelIconOpen,
86
+ go as PlayIcon,
87
+ yo as PlusIcon,
88
+ Po as ResetIcon,
89
+ vo as ScissorsIcon,
90
+ Oo as SettingsIcon,
91
+ Uo as TrashIcon,
92
+ bo as UndoIcon,
93
+ Ao as UserIcon,
94
+ qo as WarningIcon,
95
+ Ho as ZoomAllIcon,
96
+ Vo as ZoomXIcon,
97
+ Xo as ZoomYIcon
96
98
  };
package/dist/Input.d.ts CHANGED
@@ -4,6 +4,7 @@ export type InputType = 'text' | 'email' | 'url' | 'tel' | 'password' | 'number'
4
4
  export type InputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'id'> & BaseFormFieldProps & {
5
5
  onBlur?: (e: FocusEvent<HTMLInputElement>) => void;
6
6
  onFocus?: (e: FocusEvent<HTMLInputElement>) => void;
7
+ onValueChange?: (value: string) => void;
7
8
  readonly className?: string;
8
9
  readonly clearOnFocus?: boolean;
9
10
  readonly placeholder?: string;
@@ -18,6 +19,7 @@ export type InputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'id'> & Bas
18
19
  export declare const Input: import('react').ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "id"> & BaseFormFieldProps & {
19
20
  onBlur?: (e: FocusEvent<HTMLInputElement>) => void;
20
21
  onFocus?: (e: FocusEvent<HTMLInputElement>) => void;
22
+ onValueChange?: (value: string) => void;
21
23
  readonly className?: string;
22
24
  readonly clearOnFocus?: boolean;
23
25
  readonly placeholder?: string;