@spear-ai/spectral 1.3.62 → 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.
- package/dist/.js +181 -152
- package/dist/Accordion.d.ts +37 -0
- package/dist/Accordion.js +465 -0
- package/dist/Alert/AlertBase.js +2 -2
- package/dist/Alert.js +4 -3
- package/dist/Avatar.js +1 -1
- package/dist/Badge.d.ts +12 -2
- package/dist/Badge.js +28 -4
- package/dist/Button.js +2 -2
- package/dist/ButtonGroup/ButtonGroupButton.d.ts +13 -0
- package/dist/ButtonGroup/ButtonGroupButton.js +51 -0
- package/dist/ButtonGroup.d.ts +29 -0
- package/dist/ButtonGroup.js +89 -0
- package/dist/ButtonIcon.js +2 -1
- package/dist/Checkbox/CheckboxBase.js +1 -1
- package/dist/Checkbox.js +11 -12
- package/dist/Dialog/DialogBase.d.ts +1 -1
- package/dist/Dialog/DialogBase.js +2 -2
- package/dist/Dialog.js +4 -4
- package/dist/Drawer.js +24 -1283
- package/dist/HoverCard.d.ts +29 -0
- package/dist/HoverCard.js +207 -0
- package/dist/Icons/MessagesIcon.d.ts +3 -0
- package/dist/Icons/MessagesIcon.js +31 -0
- package/dist/Icons/index.d.ts +1 -0
- package/dist/Icons.js +50 -48
- package/dist/Input.d.ts +2 -0
- package/dist/Input.js +98 -89
- package/dist/InputGroup.d.ts +16 -0
- package/dist/InputGroup.js +129 -0
- package/dist/InputOTP.d.ts +0 -2
- package/dist/InputOTP.js +138 -142
- package/dist/Label.d.ts +3 -7
- package/dist/Label.js +11 -11
- package/dist/MultiSelect/MultiSelectBase.js +22 -22
- package/dist/Popover.d.ts +6 -7
- package/dist/Popover.js +60 -71
- package/dist/RadioButtonGroup/RadioButtonGroupBase.js +1 -1
- package/dist/RadioButtonGroup.js +1 -1
- package/dist/RadioGroup.d.ts +1 -1
- package/dist/RadioGroup.js +141 -134
- package/dist/Select.js +97 -895
- package/dist/Separator.d.ts +12 -0
- package/dist/Separator.js +24 -0
- package/dist/Skeleton.js +3 -3
- package/dist/Slider.d.ts +15 -3
- package/dist/Slider.js +464 -40
- package/dist/Switch/SwitchBase.js +1 -1
- package/dist/Switch.js +2 -2
- package/dist/Tabs/TabsBase.js +1 -1
- package/dist/Tabs.js +16 -16
- package/dist/Textarea.js +41 -42
- package/dist/Toggle.js +2 -2
- package/dist/ToggleGroup.js +1 -1
- package/dist/Tooltip/TooltipBase.js +29 -29
- package/dist/Tooltip.js +15 -15
- package/dist/Tray/TrayStoriesData.d.ts +39 -0
- package/dist/Tray/TrayStoriesData.js +438 -0
- package/dist/Tray.d.ts +28 -0
- package/dist/Tray.js +227 -0
- package/dist/clsx-OuTLNxxd.js +16 -0
- package/dist/components/Accordion/Accordion.d.ts +37 -0
- package/dist/components/Accordion/Accordion.d.ts.map +1 -0
- package/dist/components/Badge/Badge.d.ts +12 -2
- package/dist/components/Badge/Badge.d.ts.map +1 -1
- package/dist/components/ButtonGroup/ButtonGroup.d.ts +29 -0
- package/dist/components/ButtonGroup/ButtonGroup.d.ts.map +1 -0
- package/dist/components/ButtonGroup/ButtonGroupButton.d.ts +13 -0
- package/dist/components/ButtonGroup/ButtonGroupButton.d.ts.map +1 -0
- package/dist/components/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/components/Dialog/DialogBase.d.ts +1 -1
- package/dist/components/HoverCard/HoverCard.d.ts +29 -0
- package/dist/components/HoverCard/HoverCard.d.ts.map +1 -0
- package/dist/components/Icons/MessagesIcon.d.ts +3 -0
- package/dist/components/Icons/MessagesIcon.d.ts.map +1 -0
- package/dist/components/Icons/index.d.ts +1 -0
- package/dist/components/Icons/index.d.ts.map +1 -1
- package/dist/components/Input/Input.d.ts +2 -0
- package/dist/components/Input/Input.d.ts.map +1 -1
- package/dist/components/InputGroup/InputGroup.d.ts +16 -0
- package/dist/components/InputGroup/InputGroup.d.ts.map +1 -0
- package/dist/components/InputOTP/InputOTP.d.ts +0 -2
- package/dist/components/InputOTP/InputOTP.d.ts.map +1 -1
- package/dist/components/Label/Label.d.ts +3 -7
- package/dist/components/Label/Label.d.ts.map +1 -1
- package/dist/components/Popover/Popover.d.ts +6 -7
- package/dist/components/Popover/Popover.d.ts.map +1 -1
- package/dist/components/RadioGroup/RadioGroup.d.ts +1 -1
- package/dist/components/RadioGroup/RadioGroup.d.ts.map +1 -1
- package/dist/components/Separator/Separator.d.ts +12 -0
- package/dist/components/Separator/Separator.d.ts.map +1 -0
- package/dist/components/Slider/Slider.d.ts +15 -3
- package/dist/components/Slider/Slider.d.ts.map +1 -1
- package/dist/components/Textarea/Textarea.d.ts.map +1 -1
- package/dist/components/Tray/Tray.d.ts +28 -0
- package/dist/components/Tray/Tray.d.ts.map +1 -0
- package/dist/components/Tray/TrayStoriesData.d.ts +39 -0
- package/dist/components/Tray/TrayStoriesData.d.ts.map +1 -0
- package/dist/features/AuthCard/ForgotPasswordEmailForm.js +4 -3
- package/dist/features/AuthCard/ForgotPasswordResetForm.js +9 -9
- package/dist/features/AuthCard/PasswordInput.js +78 -9
- package/dist/features/AuthCard/SignInForm.js +8 -7
- package/dist/features/AuthCard/SignUpForm.js +8 -7
- package/dist/features/AuthCard.js +2 -2
- package/dist/features/LabelingTools.js +7 -6
- package/dist/features/SensorMetadata.js +3 -2
- package/dist/features/SettingsPopover.js +3 -2
- package/dist/index-0ioNhtNM.js +10 -0
- package/dist/{index-CBwRmAsQ.js → index-6Abv_Flm.js} +1 -1
- package/dist/{index-DUK1rxhf.js → index-B-GQStVW.js} +6 -5
- package/dist/index-B2oBi8ng.js +142 -0
- package/dist/index-BIpuW_o8.js +146 -0
- package/dist/index-BZPx6jYI.js +8 -0
- package/dist/index-BhufZRa2.js +232 -0
- package/dist/index-CAKA12cC.js +1265 -0
- package/dist/{index-Cfyte2YO.js → index-CGALWSq_.js} +1 -1
- package/dist/index-CVSxKOPp.js +13 -0
- package/dist/index-CevVJ05e.js +822 -0
- package/dist/{index-CRBC94ik.js → index-D29mdTf5.js} +1 -1
- package/dist/{index-FeGk8zep.js → index-NzygPVvJ.js} +10 -9
- package/dist/index-UEFPWH8U.js +54 -0
- package/dist/index-rKs9bXHr.js +6 -0
- package/dist/{index-Cb7rjMhE.js → index-y6Br5T4h.js} +6 -6
- package/dist/index.d.ts +10 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/linear-cursor-small.png +0 -0
- package/dist/message-alert-matte-glass-gradient.webp +0 -0
- package/dist/primitives/button.d.ts +10 -0
- package/dist/primitives/button.d.ts.map +1 -0
- package/dist/primitives/button.js +42 -0
- package/dist/primitives/input.d.ts +3 -0
- package/dist/primitives/input.d.ts.map +1 -0
- package/dist/primitives/input.js +18 -0
- package/dist/primitives/select.d.ts +16 -0
- package/dist/primitives/select.d.ts.map +1 -0
- package/dist/primitives/select.js +196 -0
- package/dist/primitives/slot.d.ts.map +1 -1
- package/dist/primitives/slot.js +21 -20
- package/dist/primitives/textarea.d.ts +3 -0
- package/dist/primitives/textarea.d.ts.map +1 -0
- package/dist/primitives/textarea.js +16 -0
- package/dist/{proxy-DD79Ok6n.js → proxy-C9AqCss6.js} +1 -1
- package/dist/speech-bubble-fluid-glass-gradient.webp +0 -0
- package/dist/styles/main.css +1 -1
- package/dist/utils/formFieldUtils.js +1 -1
- package/dist/utils/twUtils.js +2728 -2
- package/package.json +13 -8
- package/dist/Accordion/AccordionBase.d.ts +0 -42
- package/dist/Accordion/AccordionBase.js +0 -225
- package/dist/Badge/BadgeBase.d.ts +0 -13
- package/dist/Badge/BadgeBase.js +0 -35
- package/dist/PasswordInput-ClY_hxuN.js +0 -261
- package/dist/components/Accordion/AccordionBase.d.ts +0 -42
- package/dist/components/Accordion/AccordionBase.d.ts.map +0 -1
- package/dist/components/Badge/BadgeBase.d.ts +0 -13
- package/dist/components/Badge/BadgeBase.d.ts.map +0 -1
- package/dist/index-CA7haECj.js +0 -248
- package/dist/index-CbXx14YO.js +0 -59
- package/dist/index-VXXKXen4.js +0 -15
- package/dist/index-cCg4yNa8.js +0 -132
- package/dist/primitives/label.d.ts +0 -5
- package/dist/primitives/label.d.ts.map +0 -1
- package/dist/primitives/label.js +0 -27
- 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
|
+
};
|
|
@@ -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
|
+
};
|
package/dist/Icons/index.d.ts
CHANGED
|
@@ -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
|
|
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
|
|
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
|
|
15
|
-
import { EraserIcon as
|
|
16
|
-
import { ErrorIcon as
|
|
17
|
-
import { EyeClosedIcon as
|
|
18
|
-
import { EyeClosedIcon2 as
|
|
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 {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
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
|
-
|
|
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
|
-
|
|
60
|
+
k as DashboardIcon,
|
|
60
61
|
D as DeleteIcon,
|
|
61
62
|
T as DurationIcon,
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
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
|
|
80
|
-
xo as
|
|
81
|
-
|
|
82
|
-
io as
|
|
83
|
-
Lo as
|
|
84
|
-
uo as
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
Po as
|
|
88
|
-
vo as
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
qo as
|
|
94
|
-
Ho as
|
|
95
|
-
Vo as
|
|
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;
|