@spear-ai/spectral 1.4.5 → 1.4.7
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 +142 -138
- package/dist/Accordion.js +2 -0
- package/dist/Alert/AlertBase.d.ts +5 -3
- package/dist/Alert/AlertBase.js +31 -31
- package/dist/Alert.js +14 -12
- package/dist/Avatar.js +14 -14
- package/dist/Button.js +1 -7
- package/dist/ButtonGroup/ButtonGroupButton.js +1 -1
- package/dist/ButtonIcon.js +2 -0
- package/dist/Checkbox.js +2 -0
- package/dist/Dialog.js +11 -11
- package/dist/Drawer.d.ts +6 -3
- package/dist/Drawer.js +10 -10
- package/dist/Icons/ArrowDownIcon.d.ts +3 -0
- package/dist/Icons/ArrowDownIcon.js +10 -0
- package/dist/Icons/ArrowUpIcon.d.ts +3 -0
- package/dist/Icons/ArrowUpIcon.js +10 -0
- package/dist/Icons/index.d.ts +2 -0
- package/dist/Icons.js +112 -108
- package/dist/Input.js +2 -0
- package/dist/InputOTP.js +5 -2
- package/dist/MultiSelect/MultiSelectBase.js +39 -43
- package/dist/RadioGroup.js +1 -1
- package/dist/Select.js +2 -0
- package/dist/Textarea.js +2 -0
- package/dist/Toggle/ToggleBase.d.ts +1 -1
- package/dist/Toggle/ToggleBase.js +36 -18
- package/dist/Toggle.js +10 -10
- package/dist/Tooltip.d.ts +7 -2
- package/dist/Tooltip.js +156 -143
- package/dist/Tray.js +2 -0
- package/dist/{createLucideIcon-B_8CJpcQ.js → createLucideIcon-D4r5Phnh.js} +0 -24
- package/dist/main.js +0 -36
- package/dist/primitives/select.js +18 -16
- package/dist/styles/base-colors.css +9 -9
- package/dist/styles/main.css +1 -1
- package/package.json +20 -20
package/dist/Checkbox.js
CHANGED
|
@@ -5,6 +5,8 @@ import { CheckboxBase as l, CheckboxIndicator as n } from "./Checkbox/CheckboxBa
|
|
|
5
5
|
import "./Icons/AnalyzeIcon.js";
|
|
6
6
|
import "./Icons/AnnotationsIcon.js";
|
|
7
7
|
import "./Icons/ApprovedIcon.js";
|
|
8
|
+
import "./Icons/ArrowDownIcon.js";
|
|
9
|
+
import "./Icons/ArrowUpIcon.js";
|
|
8
10
|
import "./Icons/CalendarIcon.js";
|
|
9
11
|
import "./Icons/CheckCircleIcon.js";
|
|
10
12
|
import "./Icons/CheckSquareIcon.js";
|
package/dist/Dialog.js
CHANGED
|
@@ -3,19 +3,19 @@ import { jsx as o, Fragment as n } from "react/jsx-runtime";
|
|
|
3
3
|
import { DialogBase as g, DialogCloseBase as c, DialogContentBase as f, DialogDescriptionBase as u, DialogFooterBase as m, DialogHeaderBase as p, DialogOverlayBase as D, DialogPortalBase as x, DialogTitleBase as T, DialogTriggerBase as B } from "./Dialog/DialogBase.js";
|
|
4
4
|
import { cn as l } from "./utils/twUtils.js";
|
|
5
5
|
import "react";
|
|
6
|
-
function
|
|
6
|
+
function v({ ...a }) {
|
|
7
7
|
return /* @__PURE__ */ o(g, { "data-slot": "dialog", "data-testid": "spectral-dialog", ...a });
|
|
8
8
|
}
|
|
9
|
-
function
|
|
10
|
-
return /* @__PURE__ */ o(B, {
|
|
9
|
+
function w({ dataTestId: a, ...t }) {
|
|
10
|
+
return /* @__PURE__ */ o(B, { "data-slot": "dialog-trigger", dataTestId: a || "dialog-trigger", ...t });
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function h({ ...a }) {
|
|
13
13
|
return /* @__PURE__ */ o(x, { "data-slot": "dialog-portal", "data-testid": "dialog-portal", ...a });
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function z({ dataTestId: a, ...t }) {
|
|
16
16
|
return /* @__PURE__ */ o(c, { "data-slot": "dialog-close", dataTestId: a || "dialog-close", ...t });
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function C({ className: a, dataTestId: t, ...e }) {
|
|
19
19
|
return /* @__PURE__ */ o(
|
|
20
20
|
D,
|
|
21
21
|
{
|
|
@@ -65,14 +65,14 @@ function P({ className: a, dataTestId: t, ...e }) {
|
|
|
65
65
|
return /* @__PURE__ */ o(u, { className: l("text-muted-foreground text-sm", a), "data-slot": "dialog-description", dataTestId: t || "dialog-description", ...e });
|
|
66
66
|
}
|
|
67
67
|
export {
|
|
68
|
-
|
|
69
|
-
|
|
68
|
+
v as Dialog,
|
|
69
|
+
z as DialogClose,
|
|
70
70
|
F as DialogContent,
|
|
71
71
|
P as DialogDescription,
|
|
72
72
|
H as DialogFooter,
|
|
73
73
|
j as DialogHeader,
|
|
74
|
-
|
|
75
|
-
|
|
74
|
+
C as DialogOverlay,
|
|
75
|
+
h as DialogPortal,
|
|
76
76
|
O as DialogTitle,
|
|
77
|
-
|
|
77
|
+
w as DialogTrigger
|
|
78
78
|
};
|
package/dist/Drawer.d.ts
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
export type DrawerProps = {
|
|
3
3
|
children?: ReactNode;
|
|
4
|
+
defaultOpen?: boolean;
|
|
4
5
|
description?: string;
|
|
5
6
|
direction?: 'left' | 'right' | 'top' | 'bottom';
|
|
7
|
+
dismissible?: boolean;
|
|
8
|
+
modal?: boolean;
|
|
9
|
+
onOpenChange?: (open: boolean) => void;
|
|
10
|
+
open?: boolean;
|
|
6
11
|
size?: string;
|
|
7
12
|
title?: string;
|
|
8
13
|
trigger: ReactNode;
|
|
9
|
-
open?: boolean;
|
|
10
|
-
onOpenChange?: (open: boolean) => void;
|
|
11
14
|
};
|
|
12
|
-
export declare const Drawer: ({
|
|
15
|
+
export declare const Drawer: ({ children, defaultOpen, description, direction, dismissible, modal, onOpenChange, open, size, title, trigger }: DrawerProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
16
|
//# sourceMappingURL=Drawer.d.ts.map
|
package/dist/Drawer.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./styles/main.css";
|
|
2
2
|
import { jsx as t, jsxs as s } from "react/jsx-runtime";
|
|
3
|
-
import { SpectralProvider as
|
|
3
|
+
import { SpectralProvider as f } from "./SpectralProvider.js";
|
|
4
4
|
import { D as e } from "./index-CAKA12cC.js";
|
|
5
|
-
const
|
|
6
|
-
const a = "!font-sans fixed",
|
|
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
|
+
const a = "!font-sans fixed", w = {
|
|
7
7
|
left: {
|
|
8
8
|
className: `${a} top-0 bottom-0 left-0 shadow-[20px_0_20px_rgba(0,0,0,0.4)]`,
|
|
9
9
|
style: { width: r }
|
|
@@ -20,20 +20,20 @@ const b = ({ trigger: d, title: o, description: i, children: c, direction: l = "
|
|
|
20
20
|
className: `${a} bottom-0 left-0 right-0 shadow-[0_-20px_20px_rgba(0,0,0,0.4)]`,
|
|
21
21
|
style: { height: r }
|
|
22
22
|
}
|
|
23
|
-
}, { className:
|
|
24
|
-
return /* @__PURE__ */ t(
|
|
25
|
-
/* @__PURE__ */ t(e.Trigger, { asChild: !0, "data-testid": "spectral-drawer-trigger", children:
|
|
23
|
+
}, { className: g, style: b } = w[l];
|
|
24
|
+
return /* @__PURE__ */ t(f, { children: /* @__PURE__ */ s(e.Root, { defaultOpen: o, dismissible: c, open: m, onOpenChange: n, direction: l, modal: p, "data-testid": "spectral-drawer", children: [
|
|
25
|
+
/* @__PURE__ */ t(e.Trigger, { asChild: !0, "data-testid": "spectral-drawer-trigger", children: h }),
|
|
26
26
|
/* @__PURE__ */ s(e.Portal, { children: [
|
|
27
27
|
/* @__PURE__ */ t(e.Overlay, { className: "fixed inset-0 bg-transparent", "data-testid": "spectral-drawer-overlay" }),
|
|
28
|
-
/* @__PURE__ */ t(e.Content, { asChild: !0, className: `bg-drawer-bg z-10 flex flex-col outline-none [&_*]:box-border ${
|
|
28
|
+
/* @__PURE__ */ t(e.Content, { asChild: !0, className: `bg-drawer-bg z-10 flex flex-col outline-none [&_*]:box-border ${g}`, style: b, "data-testid": "spectral-drawer-content", children: /* @__PURE__ */ s("div", { children: [
|
|
29
29
|
/* @__PURE__ */ t(e.Close, {}),
|
|
30
|
-
/* @__PURE__ */ t(e.Title, { className: "text-text-primary px-3 pt-4 text-lg font-medium", "data-testid": "spectral-drawer-title", children:
|
|
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:
|
|
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 })
|
|
33
33
|
] }) })
|
|
34
34
|
] })
|
|
35
35
|
] }) });
|
|
36
36
|
};
|
|
37
37
|
export {
|
|
38
|
-
|
|
38
|
+
u as Drawer
|
|
39
39
|
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import "../styles/main.css";
|
|
3
|
+
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";
|
|
8
|
+
export {
|
|
9
|
+
w as ArrowDownIcon
|
|
10
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
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";
|
|
8
|
+
export {
|
|
9
|
+
a as ArrowUpIcon
|
|
10
|
+
};
|
package/dist/Icons/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export { AnalyzeIcon } from './AnalyzeIcon';
|
|
2
2
|
export { AnnotationsIcon } from './AnnotationsIcon';
|
|
3
3
|
export { ApprovedIcon } from './ApprovedIcon';
|
|
4
|
+
export { ArrowDownIcon } from './ArrowDownIcon';
|
|
5
|
+
export { ArrowUpIcon } from './ArrowUpIcon';
|
|
4
6
|
export { CalendarIcon } from './CalendarIcon';
|
|
5
7
|
export { CheckCircleIcon } from './CheckCircleIcon';
|
|
6
8
|
export { CheckSquareIcon } from './CheckSquareIcon';
|
package/dist/Icons.js
CHANGED
|
@@ -1,116 +1,120 @@
|
|
|
1
1
|
import { AnalyzeIcon as e } from "./Icons/AnalyzeIcon.js";
|
|
2
2
|
import { AnnotationsIcon as t } from "./Icons/AnnotationsIcon.js";
|
|
3
3
|
import { ApprovedIcon as m } from "./Icons/ApprovedIcon.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
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 {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
4
|
+
import { ArrowDownIcon as f } from "./Icons/ArrowDownIcon.js";
|
|
5
|
+
import { ArrowUpIcon as x } from "./Icons/ArrowUpIcon.js";
|
|
6
|
+
import { CalendarIcon as s } from "./Icons/CalendarIcon.js";
|
|
7
|
+
import { CheckCircleIcon as i } from "./Icons/CheckCircleIcon.js";
|
|
8
|
+
import { CheckSquareIcon as d } from "./Icons/CheckSquareIcon.js";
|
|
9
|
+
import { CheckmarkIcon as g } from "./Icons/CheckmarkIcon.js";
|
|
10
|
+
import { ChevronDownIcon as A } from "./Icons/ChevronDownIcon.js";
|
|
11
|
+
import { ChevronUpIcon as S } from "./Icons/ChevronUpIcon.js";
|
|
12
|
+
import { ClockIcon as u } from "./Icons/ClockIcon.js";
|
|
13
|
+
import { CloseCircleIcon as y } from "./Icons/CloseCircleIcon.js";
|
|
14
|
+
import { CloseIcon as v } from "./Icons/CloseIcon.js";
|
|
15
|
+
import { DashboardIcon as P } from "./Icons/DashboardIcon.js";
|
|
16
|
+
import { DatabaseIcon as b } from "./Icons/DatabaseIcon.js";
|
|
17
|
+
import { DeleteIcon as O } from "./Icons/DeleteIcon.js";
|
|
18
|
+
import { DurationIcon as G } from "./Icons/DurationIcon.js";
|
|
19
|
+
import { EmailIcon as q } from "./Icons/EmailIcon.js";
|
|
20
|
+
import { EraserIcon as F } from "./Icons/EraserIcon.js";
|
|
21
|
+
import { ErrorIcon as V } from "./Icons/ErrorIcon.js";
|
|
22
|
+
import { EyeClosedIcon as X } from "./Icons/EyeClosedIcon.js";
|
|
23
|
+
import { EyeClosedIcon2 as j } from "./Icons/EyeClosedIcon2.js";
|
|
24
|
+
import { EyeOpenIcon as J } from "./Icons/EyeOpenIcon.js";
|
|
25
|
+
import { GoToFirstIcon as N } from "./Icons/GoToFirstIcon.js";
|
|
26
|
+
import { GoToLastIcon as _ } from "./Icons/GoToLastIcon.js";
|
|
27
|
+
import { HarmonicCursorsIcon as oo } from "./Icons/HarmonicCursorsIcon.js";
|
|
28
|
+
import { InfoIcon as eo } from "./Icons/InfoIcon.js";
|
|
29
|
+
import { LabelIcon as to } from "./Icons/LabelIcon.js";
|
|
30
|
+
import { LassoIcon as mo } from "./Icons/LassoIcon.js";
|
|
31
|
+
import { LineToolIcon as fo } from "./Icons/LineToolIcon.js";
|
|
32
|
+
import { LineToolIcon2 as xo } from "./Icons/LineToolIcon2.js";
|
|
33
|
+
import { LiveViewIcon as so } from "./Icons/LiveViewIcon.js";
|
|
34
|
+
import { LoaderIcon as io } from "./Icons/LoaderIcon.js";
|
|
35
|
+
import { LocationIcon as Lo } from "./Icons/LocationIcon.js";
|
|
36
|
+
import { LogoutIcon as ho } from "./Icons/LogoutIcon.js";
|
|
37
|
+
import { MessagesIcon as Do } from "./Icons/MessagesIcon.js";
|
|
38
|
+
import { MetadataIcon as ko } from "./Icons/MetadataIcon.js";
|
|
39
|
+
import { MinusIcon as wo } from "./Icons/MinusIcon.js";
|
|
40
|
+
import { OntologyIcon as Eo } from "./Icons/OntologyIcon.js";
|
|
41
|
+
import { PanelIconClose as To } from "./Icons/PanelIconClose.js";
|
|
42
|
+
import { PanelIconOpen as Uo } from "./Icons/PanelIconOpen.js";
|
|
43
|
+
import { PlayIcon as Mo } from "./Icons/PlayIcon.js";
|
|
44
|
+
import { PlusIcon as Zo } from "./Icons/PlusIcon.js";
|
|
45
|
+
import { ResetIcon as Ro } from "./Icons/ResetIcon.js";
|
|
46
|
+
import { ReviewedIcon as zo } from "./Icons/ReviewedIcon.js";
|
|
47
|
+
import { ScissorsIcon as Ho } from "./Icons/ScissorsIcon.js";
|
|
48
|
+
import { SettingsIcon as Wo } from "./Icons/SettingsIcon.js";
|
|
49
|
+
import { SortAscendingIcon as Yo } from "./Icons/SortAscendingIcon.js";
|
|
50
|
+
import { SortDescendingIcon as Bo } from "./Icons/SortDescendingIcon.js";
|
|
51
|
+
import { StackIcon as Ko } from "./Icons/StackIcon.js";
|
|
52
|
+
import { StarIcon as Qo } from "./Icons/StarIcon.js";
|
|
53
|
+
import { TrashIcon as $o } from "./Icons/TrashIcon.js";
|
|
54
|
+
import { UndoIcon as rr } from "./Icons/UndoIcon.js";
|
|
55
|
+
import { UserIcon as nr } from "./Icons/UserIcon.js";
|
|
56
|
+
import { WarningIcon as cr } from "./Icons/WarningIcon.js";
|
|
57
|
+
import { ZoomAllIcon as pr } from "./Icons/ZoomAllIcon.js";
|
|
58
|
+
import { ZoomXIcon as Ir } from "./Icons/ZoomXIcon.js";
|
|
59
|
+
import { ZoomYIcon as ar } from "./Icons/ZoomYIcon.js";
|
|
58
60
|
export {
|
|
59
61
|
e as AnalyzeIcon,
|
|
60
62
|
t as AnnotationsIcon,
|
|
61
63
|
m as ApprovedIcon,
|
|
62
|
-
f as
|
|
63
|
-
x as
|
|
64
|
-
s as
|
|
65
|
-
i as
|
|
66
|
-
d as
|
|
67
|
-
g as
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
G as
|
|
77
|
-
q as
|
|
78
|
-
F as
|
|
79
|
-
V as
|
|
80
|
-
X as
|
|
81
|
-
j as
|
|
82
|
-
J as
|
|
83
|
-
N as
|
|
84
|
-
_ as
|
|
85
|
-
oo as
|
|
86
|
-
eo as
|
|
87
|
-
to as
|
|
88
|
-
mo as
|
|
89
|
-
fo as
|
|
90
|
-
xo as
|
|
91
|
-
so as
|
|
92
|
-
io as
|
|
93
|
-
Lo as
|
|
94
|
-
ho as
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
Zo as
|
|
103
|
-
Ro as
|
|
104
|
-
zo as
|
|
105
|
-
Ho as
|
|
106
|
-
Wo as
|
|
107
|
-
Yo as
|
|
108
|
-
Bo as
|
|
109
|
-
Ko as
|
|
110
|
-
Qo as
|
|
111
|
-
$o as
|
|
112
|
-
rr as
|
|
113
|
-
nr as
|
|
114
|
-
cr as
|
|
115
|
-
pr as
|
|
64
|
+
f as ArrowDownIcon,
|
|
65
|
+
x as ArrowUpIcon,
|
|
66
|
+
s as CalendarIcon,
|
|
67
|
+
i as CheckCircleIcon,
|
|
68
|
+
d as CheckSquareIcon,
|
|
69
|
+
g as CheckmarkIcon,
|
|
70
|
+
A as ChevronDownIcon,
|
|
71
|
+
S as ChevronUpIcon,
|
|
72
|
+
u as ClockIcon,
|
|
73
|
+
y as CloseCircleIcon,
|
|
74
|
+
v as CloseIcon,
|
|
75
|
+
P as DashboardIcon,
|
|
76
|
+
b as DatabaseIcon,
|
|
77
|
+
O as DeleteIcon,
|
|
78
|
+
G as DurationIcon,
|
|
79
|
+
q as EmailIcon,
|
|
80
|
+
F as EraserIcon,
|
|
81
|
+
V as ErrorIcon,
|
|
82
|
+
X as EyeClosedIcon,
|
|
83
|
+
j as EyeClosedIcon2,
|
|
84
|
+
J as EyeOpenIcon,
|
|
85
|
+
N as GoToFirstIcon,
|
|
86
|
+
_ as GoToLastIcon,
|
|
87
|
+
oo as HarmonicCursorsIcon,
|
|
88
|
+
eo as InfoIcon,
|
|
89
|
+
to as LabelIcon,
|
|
90
|
+
mo as LassoIcon,
|
|
91
|
+
fo as LineToolIcon,
|
|
92
|
+
xo as LineToolIcon2,
|
|
93
|
+
so as LiveViewIcon,
|
|
94
|
+
io as LoaderIcon,
|
|
95
|
+
Lo as LocationIcon,
|
|
96
|
+
ho as LogoutIcon,
|
|
97
|
+
Do as MessagesIcon,
|
|
98
|
+
ko as MetadataIcon,
|
|
99
|
+
wo as MinusIcon,
|
|
100
|
+
Eo as OntologyIcon,
|
|
101
|
+
To as PanelIconClose,
|
|
102
|
+
Uo as PanelIconOpen,
|
|
103
|
+
Mo as PlayIcon,
|
|
104
|
+
Zo as PlusIcon,
|
|
105
|
+
Ro as ResetIcon,
|
|
106
|
+
zo as ReviewedIcon,
|
|
107
|
+
Ho as ScissorsIcon,
|
|
108
|
+
Wo as SettingsIcon,
|
|
109
|
+
Yo as SortAscendingIcon,
|
|
110
|
+
Bo as SortDescendingIcon,
|
|
111
|
+
Ko as StackIcon,
|
|
112
|
+
Qo as StarIcon,
|
|
113
|
+
$o as TrashIcon,
|
|
114
|
+
rr as UndoIcon,
|
|
115
|
+
nr as UserIcon,
|
|
116
|
+
cr as WarningIcon,
|
|
117
|
+
pr as ZoomAllIcon,
|
|
118
|
+
Ir as ZoomXIcon,
|
|
119
|
+
ar as ZoomYIcon
|
|
116
120
|
};
|
package/dist/Input.js
CHANGED
|
@@ -5,6 +5,8 @@ import { usePasswordVisibility as tt, usePrefixWidth as et, useClearOnFocus as r
|
|
|
5
5
|
import "./Icons/AnalyzeIcon.js";
|
|
6
6
|
import "./Icons/AnnotationsIcon.js";
|
|
7
7
|
import "./Icons/ApprovedIcon.js";
|
|
8
|
+
import "./Icons/ArrowDownIcon.js";
|
|
9
|
+
import "./Icons/ArrowUpIcon.js";
|
|
8
10
|
import "./Icons/CalendarIcon.js";
|
|
9
11
|
import { CheckCircleIcon as ot } from "./Icons/CheckCircleIcon.js";
|
|
10
12
|
import "./Icons/CheckSquareIcon.js";
|
package/dist/InputOTP.js
CHANGED
|
@@ -4,6 +4,8 @@ import { jsx as T, jsxs as vt } from "react/jsx-runtime";
|
|
|
4
4
|
import "./Icons/AnalyzeIcon.js";
|
|
5
5
|
import "./Icons/AnnotationsIcon.js";
|
|
6
6
|
import "./Icons/ApprovedIcon.js";
|
|
7
|
+
import "./Icons/ArrowDownIcon.js";
|
|
8
|
+
import "./Icons/ArrowUpIcon.js";
|
|
7
9
|
import "./Icons/CalendarIcon.js";
|
|
8
10
|
import "./Icons/CheckCircleIcon.js";
|
|
9
11
|
import "./Icons/CheckSquareIcon.js";
|
|
@@ -280,6 +282,7 @@ const St = ht({}), Pt = ht(null), Ct = () => {
|
|
|
280
282
|
onChange: E,
|
|
281
283
|
onComplete: A,
|
|
282
284
|
onPaste: I,
|
|
285
|
+
pasteTransformer: (l) => l.replaceAll("-", ""),
|
|
283
286
|
pushPasswordManagerStrategy: "none",
|
|
284
287
|
ref: g,
|
|
285
288
|
role: "textbox",
|
|
@@ -327,11 +330,11 @@ const Rt = Q(({ ...t }, n) => {
|
|
|
327
330
|
return /* @__PURE__ */ T("div", { ref: n, role: "separator", ...t, "data-testid": "spectral-input-otp-separator", "data-variant": a, children: /* @__PURE__ */ T(_t, { size: 24, color: a === "filled" ? "var(--color-input-otp-filled-separator)" : "var(--color-input-otp-border)" }) });
|
|
328
331
|
});
|
|
329
332
|
Rt.displayName = "InputOTP.Separator";
|
|
330
|
-
const
|
|
333
|
+
const dr = Object.assign(Mt, {
|
|
331
334
|
Group: Tt,
|
|
332
335
|
Slot: kt,
|
|
333
336
|
Separator: Rt
|
|
334
337
|
});
|
|
335
338
|
export {
|
|
336
|
-
|
|
339
|
+
dr as InputOTP
|
|
337
340
|
};
|