@spear-ai/spectral 1.3.50 → 1.3.52
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 +96 -94
- package/dist/Alert.js +3 -2
- package/dist/ButtonIcon.d.ts +1 -1
- package/dist/ButtonIcon.js +45 -50
- package/dist/Icons/EmailIcon.d.ts +3 -0
- package/dist/Icons/EmailIcon.js +30 -0
- package/dist/Icons/index.d.ts +1 -0
- package/dist/Icons.js +70 -68
- package/dist/Input.d.ts +5 -1
- package/dist/Input.js +66 -62
- package/dist/Select.js +1 -0
- package/dist/Textarea.js +1 -0
- package/dist/auth-background.json +90 -0
- package/dist/components/ButtonIcon/ButtonIcon.d.ts +1 -1
- package/dist/components/ButtonIcon/ButtonIcon.d.ts.map +1 -1
- package/dist/components/Icons/EmailIcon.d.ts +3 -0
- package/dist/components/Icons/EmailIcon.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 +5 -1
- package/dist/components/Input/Input.d.ts.map +1 -1
- package/dist/features/AuthCard/AuthCard.d.ts +3 -0
- package/dist/features/AuthCard/AuthCard.d.ts.map +1 -0
- package/dist/features/AuthCard.js +5195 -0
- package/dist/features/LabelingTools.js +3 -2
- package/dist/features/SensorMetadata.js +3 -2
- package/dist/features/SettingsPopover.js +3 -2
- package/dist/styles/base-colors.css +15 -4
- package/dist/styles/main.css +1 -1
- package/dist/utils/sharedUtils.d.ts +6 -0
- package/dist/utils/sharedUtils.d.ts.map +1 -1
- package/dist/utils/sharedUtils.js +8 -3
- package/package.json +3 -1
package/dist/.js
CHANGED
|
@@ -7,7 +7,7 @@ import { Input as a } from "./Input.js";
|
|
|
7
7
|
import { Popover as i, PopoverContent as g, PopoverTrigger as u } from "./Popover.js";
|
|
8
8
|
import { RadioButtonGroup as d, RadioButtonGroupItem as S } from "./RadioButtonGroup.js";
|
|
9
9
|
import { RadioGroup as h, RadioGroupItem as v } from "./RadioGroup.js";
|
|
10
|
-
import { Select as
|
|
10
|
+
import { Select as L } from "./Select.js";
|
|
11
11
|
import { Skeleton as G } from "./Skeleton.js";
|
|
12
12
|
import { Slider as y } from "./Slider.js";
|
|
13
13
|
import { Switch as w } from "./Switch.js";
|
|
@@ -28,43 +28,44 @@ import { CloseIcon as fo } from "./Icons/CloseIcon.js";
|
|
|
28
28
|
import { DashboardIcon as co } from "./Icons/DashboardIcon.js";
|
|
29
29
|
import { DeleteIcon as Io } from "./Icons/DeleteIcon.js";
|
|
30
30
|
import { DurationIcon as lo } from "./Icons/DurationIcon.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 {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
31
|
+
import { EmailIcon as go } from "./Icons/EmailIcon.js";
|
|
32
|
+
import { EraserIcon as Co } from "./Icons/EraserIcon.js";
|
|
33
|
+
import { ErrorIcon as To } from "./Icons/ErrorIcon.js";
|
|
34
|
+
import { EyeClosedIcon as vo } from "./Icons/EyeClosedIcon.js";
|
|
35
|
+
import { EyeClosedIcon2 as Lo } from "./Icons/EyeClosedIcon2.js";
|
|
36
|
+
import { EyeOpenIcon as Go } from "./Icons/EyeOpenIcon.js";
|
|
37
|
+
import { GoToFirstIcon as yo } from "./Icons/GoToFirstIcon.js";
|
|
38
|
+
import { GoToLastIcon as wo } from "./Icons/GoToLastIcon.js";
|
|
39
|
+
import { HarmonicCursorsIcon as Do } from "./Icons/HarmonicCursorsIcon.js";
|
|
40
|
+
import { InfoIcon as Oo } from "./Icons/InfoIcon.js";
|
|
41
|
+
import { LabelIcon as Ao } from "./Icons/LabelIcon.js";
|
|
42
|
+
import { LassoIcon as Uo } from "./Icons/LassoIcon.js";
|
|
43
|
+
import { LineToolIcon as Vo } from "./Icons/LineToolIcon.js";
|
|
44
|
+
import { LiveViewIcon as Ho } from "./Icons/LiveViewIcon.js";
|
|
45
|
+
import { LoaderIcon as No } from "./Icons/LoaderIcon.js";
|
|
46
|
+
import { LocationIcon as Xo } from "./Icons/LocationIcon.js";
|
|
47
|
+
import { LogoutIcon as jo } from "./Icons/LogoutIcon.js";
|
|
48
|
+
import { MetadataIcon as Jo } from "./Icons/MetadataIcon.js";
|
|
49
|
+
import { OntologyIcon as _o } from "./Icons/OntologyIcon.js";
|
|
50
|
+
import { PanelIcon as or } from "./Icons/PanelIcon.js";
|
|
51
|
+
import { PlayIcon as er } from "./Icons/PlayIcon.js";
|
|
52
|
+
import { PlusIcon as pr } from "./Icons/PlusIcon.js";
|
|
53
|
+
import { ResetIcon as mr } from "./Icons/ResetIcon.js";
|
|
54
|
+
import { ScissorsIcon as xr } from "./Icons/ScissorsIcon.js";
|
|
55
|
+
import { SettingsIcon as sr } from "./Icons/SettingsIcon.js";
|
|
56
|
+
import { TrashIcon as ar } from "./Icons/TrashIcon.js";
|
|
57
|
+
import { UndoIcon as ir } from "./Icons/UndoIcon.js";
|
|
58
|
+
import { UserIcon as ur } from "./Icons/UserIcon.js";
|
|
59
|
+
import { WarningIcon as dr } from "./Icons/WarningIcon.js";
|
|
60
|
+
import { ZoomAllIcon as Tr } from "./Icons/ZoomAllIcon.js";
|
|
61
|
+
import { ZoomXIcon as vr } from "./Icons/ZoomXIcon.js";
|
|
62
|
+
import { ZoomYIcon as Lr } from "./Icons/ZoomYIcon.js";
|
|
63
|
+
import { default as Gr, SvgIdContext as kr } from "./Icons/IconBase.js";
|
|
64
|
+
import { useControllableState as Fr } from "./hooks/useControllableState.js";
|
|
65
|
+
import { useTheme as Br } from "./hooks/useTheme.js";
|
|
66
|
+
import { EmptyState as br, ErrorMessage as Or, LoadingState as Rr, getAriaProps as Ar, getDropdownClasses as Mr, getErrorMessageId as Ur, getFormFieldCSSProperties as Zr, getInputClasses as Vr, getOptionClasses as qr, getStateClasses as Hr, getTextareaClasses as Kr, getTriggerClasses as Nr, groupOptions as Wr, scrollIntoView as Xr, useClickOutside as Yr, useFormFieldId as jr, useFormFieldState as zr, useKeyboardNavigation as Jr } from "./utils/formFieldUtils.js";
|
|
67
|
+
import { c as _r } from "./twUtils-CRiPKpXj.js";
|
|
68
|
+
import { SpectralProvider as oe } from "./SpectralProvider.js";
|
|
68
69
|
export {
|
|
69
70
|
e as Alert,
|
|
70
71
|
K as AnnotationsIcon,
|
|
@@ -84,32 +85,33 @@ export {
|
|
|
84
85
|
Io as DeleteIcon,
|
|
85
86
|
s as Drawer,
|
|
86
87
|
lo as DurationIcon,
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
Co as
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
vo as
|
|
93
|
-
|
|
94
|
-
Go as
|
|
95
|
-
yo as
|
|
96
|
-
wo as
|
|
97
|
-
|
|
98
|
-
|
|
88
|
+
go as EmailIcon,
|
|
89
|
+
br as EmptyState,
|
|
90
|
+
Co as EraserIcon,
|
|
91
|
+
To as ErrorIcon,
|
|
92
|
+
Or as ErrorMessage,
|
|
93
|
+
vo as EyeClosedIcon,
|
|
94
|
+
Lo as EyeClosedIcon2,
|
|
95
|
+
Go as EyeOpenIcon,
|
|
96
|
+
yo as GoToFirstIcon,
|
|
97
|
+
wo as GoToLastIcon,
|
|
98
|
+
Do as HarmonicCursorsIcon,
|
|
99
|
+
Gr as IconBase,
|
|
100
|
+
Oo as InfoIcon,
|
|
99
101
|
a as Input,
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
102
|
+
Ao as LabelIcon,
|
|
103
|
+
Uo as LassoIcon,
|
|
104
|
+
Vo as LineToolIcon,
|
|
105
|
+
Ho as LiveViewIcon,
|
|
106
|
+
No as LoaderIcon,
|
|
107
|
+
Rr as LoadingState,
|
|
108
|
+
Xo as LocationIcon,
|
|
109
|
+
jo as LogoutIcon,
|
|
110
|
+
Jo as MetadataIcon,
|
|
111
|
+
_o as OntologyIcon,
|
|
112
|
+
or as PanelIcon,
|
|
113
|
+
er as PlayIcon,
|
|
114
|
+
pr as PlusIcon,
|
|
113
115
|
i as Popover,
|
|
114
116
|
g as PopoverContent,
|
|
115
117
|
u as PopoverTrigger,
|
|
@@ -117,14 +119,14 @@ export {
|
|
|
117
119
|
S as RadioButtonGroupItem,
|
|
118
120
|
h as RadioGroup,
|
|
119
121
|
v as RadioGroupItem,
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
122
|
+
mr as ResetIcon,
|
|
123
|
+
xr as ScissorsIcon,
|
|
124
|
+
L as Select,
|
|
125
|
+
sr as SettingsIcon,
|
|
124
126
|
G as Skeleton,
|
|
125
127
|
y as Slider,
|
|
126
|
-
|
|
127
|
-
|
|
128
|
+
oe as SpectralProvider,
|
|
129
|
+
kr as SvgIdContext,
|
|
128
130
|
w as Switch,
|
|
129
131
|
D as Tabs,
|
|
130
132
|
O as Toggle,
|
|
@@ -133,29 +135,29 @@ export {
|
|
|
133
135
|
Z as Tooltip,
|
|
134
136
|
V as TooltipContent,
|
|
135
137
|
q as TooltipTrigger,
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
138
|
+
ar as TrashIcon,
|
|
139
|
+
ir as UndoIcon,
|
|
140
|
+
ur as UserIcon,
|
|
141
|
+
dr as WarningIcon,
|
|
142
|
+
Tr as ZoomAllIcon,
|
|
143
|
+
vr as ZoomXIcon,
|
|
144
|
+
Lr as ZoomYIcon,
|
|
145
|
+
_r as cn,
|
|
146
|
+
Ar as getAriaProps,
|
|
147
|
+
Mr as getDropdownClasses,
|
|
148
|
+
Ur as getErrorMessageId,
|
|
149
|
+
Zr as getFormFieldCSSProperties,
|
|
150
|
+
Vr as getInputClasses,
|
|
151
|
+
qr as getOptionClasses,
|
|
152
|
+
Hr as getStateClasses,
|
|
153
|
+
Kr as getTextareaClasses,
|
|
154
|
+
Nr as getTriggerClasses,
|
|
155
|
+
Wr as groupOptions,
|
|
156
|
+
Xr as scrollIntoView,
|
|
157
|
+
Yr as useClickOutside,
|
|
158
|
+
Fr as useControllableState,
|
|
159
|
+
jr as useFormFieldId,
|
|
160
|
+
zr as useFormFieldState,
|
|
161
|
+
Jr as useKeyboardNavigation,
|
|
162
|
+
Br as useTheme
|
|
161
163
|
};
|
package/dist/Alert.js
CHANGED
|
@@ -15,6 +15,7 @@ import { CloseIcon as N } from "./Icons/CloseIcon.js";
|
|
|
15
15
|
import "./Icons/DashboardIcon.js";
|
|
16
16
|
import "./Icons/DeleteIcon.js";
|
|
17
17
|
import "./Icons/DurationIcon.js";
|
|
18
|
+
import "./Icons/EmailIcon.js";
|
|
18
19
|
import "./Icons/EraserIcon.js";
|
|
19
20
|
import "./Icons/ErrorIcon.js";
|
|
20
21
|
import "./Icons/EyeClosedIcon.js";
|
|
@@ -48,7 +49,7 @@ import "./Icons/ZoomXIcon.js";
|
|
|
48
49
|
import "./Icons/ZoomYIcon.js";
|
|
49
50
|
import { c as g } from "./twUtils-CRiPKpXj.js";
|
|
50
51
|
import { useRef as x, useEffect as R } from "react";
|
|
51
|
-
const
|
|
52
|
+
const gr = ({ id: a, description: s, onClose: c, icon: l, title: d, className: u, variant: o = "default" }) => {
|
|
52
53
|
const t = x(null), e = l || {
|
|
53
54
|
info: /* @__PURE__ */ r(C, {}),
|
|
54
55
|
success: /* @__PURE__ */ r(A, {}),
|
|
@@ -103,5 +104,5 @@ const Er = ({ id: a, description: s, onClose: c, icon: l, title: d, className: u
|
|
|
103
104
|
) });
|
|
104
105
|
};
|
|
105
106
|
export {
|
|
106
|
-
|
|
107
|
+
gr as Alert
|
|
107
108
|
};
|
package/dist/ButtonIcon.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export interface ButtonIconProps extends Omit<ButtonHTMLAttributes<HTMLButtonEle
|
|
|
5
5
|
className?: string;
|
|
6
6
|
isLoading?: boolean;
|
|
7
7
|
label: string;
|
|
8
|
-
onClick?: (event: MouseEvent<HTMLButtonElement
|
|
8
|
+
onClick?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
9
9
|
shape?: 'circle' | 'square';
|
|
10
10
|
size?: 'small' | 'default' | 'large';
|
|
11
11
|
}
|
package/dist/ButtonIcon.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "./styles/main.css";
|
|
3
|
-
import { jsx as
|
|
3
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
4
4
|
import "./Icons/AnnotationsIcon.js";
|
|
5
5
|
import "./Icons/CalendarIcon.js";
|
|
6
6
|
import "./Icons/CheckCircleIcon.js";
|
|
@@ -14,6 +14,7 @@ import "./Icons/CloseIcon.js";
|
|
|
14
14
|
import "./Icons/DashboardIcon.js";
|
|
15
15
|
import "./Icons/DeleteIcon.js";
|
|
16
16
|
import "./Icons/DurationIcon.js";
|
|
17
|
+
import "./Icons/EmailIcon.js";
|
|
17
18
|
import "./Icons/EraserIcon.js";
|
|
18
19
|
import "./Icons/ErrorIcon.js";
|
|
19
20
|
import "./Icons/EyeClosedIcon.js";
|
|
@@ -27,7 +28,7 @@ import "./Icons/LabelIcon.js";
|
|
|
27
28
|
import "./Icons/LassoIcon.js";
|
|
28
29
|
import "./Icons/LineToolIcon.js";
|
|
29
30
|
import "./Icons/LiveViewIcon.js";
|
|
30
|
-
import { LoaderIcon as
|
|
31
|
+
import { LoaderIcon as N } from "./Icons/LoaderIcon.js";
|
|
31
32
|
import "./Icons/LocationIcon.js";
|
|
32
33
|
import "./Icons/LogoutIcon.js";
|
|
33
34
|
import "./Icons/MetadataIcon.js";
|
|
@@ -45,76 +46,70 @@ import "./Icons/WarningIcon.js";
|
|
|
45
46
|
import "./Icons/ZoomAllIcon.js";
|
|
46
47
|
import "./Icons/ZoomXIcon.js";
|
|
47
48
|
import "./Icons/ZoomYIcon.js";
|
|
48
|
-
import { c as
|
|
49
|
-
import { forwardRef as
|
|
50
|
-
const
|
|
49
|
+
import { c as n } from "./twUtils-CRiPKpXj.js";
|
|
50
|
+
import { forwardRef as g, isValidElement as k, cloneElement as p } from "react";
|
|
51
|
+
const x = `bg-transparent hover:bg-level-one text-text-primary inline-flex items-center justify-center whitespace-nowrap transition-colors focus:outline-none focus-visible:outline-2
|
|
51
52
|
focus-visible:outline-offset-2 focus-visible:outline-level-two cursor-pointer [&_svg]:pointer-events-none [&_svg]:shrink-0`, m = {
|
|
52
53
|
small: { button: "h-8 w-8", icon: 16 },
|
|
53
|
-
default: { button: "h-
|
|
54
|
-
large: { button: "h-
|
|
55
|
-
},
|
|
56
|
-
({ className:
|
|
57
|
-
const
|
|
58
|
-
(t)
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
return /* @__PURE__ */ f(S, { size: m[n].icon, "aria-hidden": "true" });
|
|
66
|
-
const t = typeof i == "function" ? i() : i;
|
|
67
|
-
if (z(t)) {
|
|
68
|
-
const o = m[n].icon;
|
|
54
|
+
default: { button: "h-10 w-10", icon: 24 },
|
|
55
|
+
large: { button: "h-12 w-12", icon: 32 }
|
|
56
|
+
}, C = g(
|
|
57
|
+
({ className: u, disabled: s, icon: r, isLoading: o = !1, label: c, onClick: f, shape: d = "square", size: i = "default", ...h }, b) => {
|
|
58
|
+
const v = (t) => {
|
|
59
|
+
f?.(t);
|
|
60
|
+
}, y = o ? `${c} - Loading` : c, w = () => {
|
|
61
|
+
if (o)
|
|
62
|
+
return /* @__PURE__ */ a(N, { size: m[i].icon, "aria-hidden": "true" });
|
|
63
|
+
const t = typeof r == "function" ? r() : r;
|
|
64
|
+
if (k(t)) {
|
|
65
|
+
const e = m[i].icon;
|
|
69
66
|
if (t.type === "svg")
|
|
70
|
-
return
|
|
71
|
-
width:
|
|
72
|
-
height:
|
|
73
|
-
className:
|
|
67
|
+
return p(t, {
|
|
68
|
+
width: e,
|
|
69
|
+
height: e,
|
|
70
|
+
className: n("shrink-0", t.props.className),
|
|
74
71
|
"aria-hidden": "true"
|
|
75
72
|
});
|
|
76
73
|
{
|
|
77
|
-
const
|
|
78
|
-
className:
|
|
74
|
+
const l = {
|
|
75
|
+
className: n("shrink-0", t.props.className),
|
|
79
76
|
"aria-hidden": "true"
|
|
80
77
|
};
|
|
81
78
|
if (t.type.displayName?.includes("Icon") ?? !1) {
|
|
82
|
-
const
|
|
83
|
-
...
|
|
84
|
-
size:
|
|
79
|
+
const I = {
|
|
80
|
+
...l,
|
|
81
|
+
size: e
|
|
85
82
|
};
|
|
86
|
-
return
|
|
83
|
+
return p(t, I);
|
|
87
84
|
}
|
|
88
|
-
return
|
|
85
|
+
return p(t, l);
|
|
89
86
|
}
|
|
90
87
|
}
|
|
91
88
|
return t;
|
|
92
89
|
};
|
|
93
|
-
return /* @__PURE__ */
|
|
90
|
+
return /* @__PURE__ */ a(
|
|
94
91
|
"button",
|
|
95
92
|
{
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
93
|
+
"aria-label": y,
|
|
94
|
+
className: n(
|
|
95
|
+
x,
|
|
96
|
+
d === "circle" ? "rounded-full" : "rounded-[0.75rem]",
|
|
97
|
+
m[i].button,
|
|
98
|
+
o && "cursor-wait",
|
|
99
|
+
s && "cursor-not-allowed opacity-50",
|
|
100
|
+
u
|
|
104
101
|
),
|
|
105
|
-
ref: v,
|
|
106
|
-
disabled: a || e,
|
|
107
|
-
"aria-label": I,
|
|
108
|
-
"aria-pressed": r,
|
|
109
102
|
"data-testid": "button-icon",
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
103
|
+
disabled: s || o,
|
|
104
|
+
onClick: v,
|
|
105
|
+
ref: b,
|
|
106
|
+
...h,
|
|
107
|
+
children: w()
|
|
113
108
|
}
|
|
114
109
|
);
|
|
115
110
|
}
|
|
116
111
|
);
|
|
117
|
-
|
|
112
|
+
C.displayName = "ButtonIcon";
|
|
118
113
|
export {
|
|
119
|
-
|
|
114
|
+
C as ButtonIcon
|
|
120
115
|
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import "../styles/main.css";
|
|
3
|
+
import { jsxs as d, jsx as o } from "react/jsx-runtime";
|
|
4
|
+
import l from "./IconBase.js";
|
|
5
|
+
import { forwardRef as m } from "react";
|
|
6
|
+
const c = ({ className: r, ariaHidden: n, title: a = "Email", description: e, size: t = 24, ...i }, s) => /* @__PURE__ */ d(
|
|
7
|
+
l,
|
|
8
|
+
{
|
|
9
|
+
size: t,
|
|
10
|
+
className: r,
|
|
11
|
+
title: a,
|
|
12
|
+
description: e,
|
|
13
|
+
"aria-hidden": n,
|
|
14
|
+
ref: s,
|
|
15
|
+
stroke: "currentColor",
|
|
16
|
+
strokeWidth: "2",
|
|
17
|
+
strokeLinecap: "round",
|
|
18
|
+
strokeLinejoin: "round",
|
|
19
|
+
...i,
|
|
20
|
+
children: [
|
|
21
|
+
/* @__PURE__ */ o("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
|
|
22
|
+
/* @__PURE__ */ o("path", { d: "M3 7a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-10z" }),
|
|
23
|
+
/* @__PURE__ */ o("path", { d: "M3 7l9 6l9 -6" })
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
), h = m(c);
|
|
27
|
+
h.displayName = "EmailIcon";
|
|
28
|
+
export {
|
|
29
|
+
h as EmailIcon
|
|
30
|
+
};
|
package/dist/Icons/index.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export { CloseIcon } from './CloseIcon';
|
|
|
11
11
|
export { DashboardIcon } from './DashboardIcon';
|
|
12
12
|
export { DeleteIcon } from './DeleteIcon';
|
|
13
13
|
export { DurationIcon } from './DurationIcon';
|
|
14
|
+
export { EmailIcon } from './EmailIcon';
|
|
14
15
|
export { EraserIcon } from './EraserIcon';
|
|
15
16
|
export { ErrorIcon } from './ErrorIcon';
|
|
16
17
|
export { EyeClosedIcon } from './EyeClosedIcon';
|
package/dist/Icons.js
CHANGED
|
@@ -4,44 +4,45 @@ 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
6
|
import { ChevronDownIcon as s } from "./Icons/ChevronDownIcon.js";
|
|
7
|
-
import { ChevronUpIcon as
|
|
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
|
-
import { CloseIcon as
|
|
11
|
-
import { DashboardIcon as
|
|
10
|
+
import { CloseIcon as k } from "./Icons/CloseIcon.js";
|
|
11
|
+
import { DashboardIcon as y } from "./Icons/DashboardIcon.js";
|
|
12
12
|
import { DeleteIcon as D } from "./Icons/DeleteIcon.js";
|
|
13
13
|
import { DurationIcon as v } from "./Icons/DurationIcon.js";
|
|
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 {
|
|
14
|
+
import { EmailIcon as S } from "./Icons/EmailIcon.js";
|
|
15
|
+
import { EraserIcon as Z } from "./Icons/EraserIcon.js";
|
|
16
|
+
import { ErrorIcon as w } from "./Icons/ErrorIcon.js";
|
|
17
|
+
import { EyeClosedIcon as G } from "./Icons/EyeClosedIcon.js";
|
|
18
|
+
import { EyeClosedIcon2 as q } from "./Icons/EyeClosedIcon2.js";
|
|
19
|
+
import { EyeOpenIcon as H } from "./Icons/EyeOpenIcon.js";
|
|
20
|
+
import { GoToFirstIcon as R } from "./Icons/GoToFirstIcon.js";
|
|
21
|
+
import { GoToLastIcon as W } from "./Icons/GoToLastIcon.js";
|
|
22
|
+
import { HarmonicCursorsIcon as Y } from "./Icons/HarmonicCursorsIcon.js";
|
|
23
|
+
import { InfoIcon as z } from "./Icons/InfoIcon.js";
|
|
24
|
+
import { LabelIcon as J } from "./Icons/LabelIcon.js";
|
|
25
|
+
import { LassoIcon as N } from "./Icons/LassoIcon.js";
|
|
26
|
+
import { LineToolIcon as _ } from "./Icons/LineToolIcon.js";
|
|
27
|
+
import { LiveViewIcon as oo } from "./Icons/LiveViewIcon.js";
|
|
28
|
+
import { LoaderIcon as eo } from "./Icons/LoaderIcon.js";
|
|
29
|
+
import { LocationIcon as to } from "./Icons/LocationIcon.js";
|
|
30
|
+
import { LogoutIcon as mo } from "./Icons/LogoutIcon.js";
|
|
31
|
+
import { MetadataIcon as fo } from "./Icons/MetadataIcon.js";
|
|
32
|
+
import { OntologyIcon as xo } from "./Icons/OntologyIcon.js";
|
|
33
|
+
import { PanelIcon as so } from "./Icons/PanelIcon.js";
|
|
34
|
+
import { PlayIcon as io } from "./Icons/PlayIcon.js";
|
|
35
|
+
import { PlusIcon as Lo } from "./Icons/PlusIcon.js";
|
|
36
|
+
import { ResetIcon as Eo } from "./Icons/ResetIcon.js";
|
|
37
|
+
import { ScissorsIcon as uo } from "./Icons/ScissorsIcon.js";
|
|
38
|
+
import { SettingsIcon as go } from "./Icons/SettingsIcon.js";
|
|
39
|
+
import { TrashIcon as To } from "./Icons/TrashIcon.js";
|
|
40
|
+
import { UndoIcon as Po } from "./Icons/UndoIcon.js";
|
|
41
|
+
import { UserIcon as Uo } from "./Icons/UserIcon.js";
|
|
42
|
+
import { WarningIcon as bo } from "./Icons/WarningIcon.js";
|
|
43
|
+
import { ZoomAllIcon as Ao } from "./Icons/ZoomAllIcon.js";
|
|
44
|
+
import { ZoomXIcon as Oo } from "./Icons/ZoomXIcon.js";
|
|
45
|
+
import { ZoomYIcon as Fo } from "./Icons/ZoomYIcon.js";
|
|
45
46
|
export {
|
|
46
47
|
e as AnnotationsIcon,
|
|
47
48
|
t as CalendarIcon,
|
|
@@ -49,42 +50,43 @@ export {
|
|
|
49
50
|
f as CheckSquareIcon,
|
|
50
51
|
x as CheckmarkIcon,
|
|
51
52
|
s as ChevronDownIcon,
|
|
52
|
-
|
|
53
|
+
i as ChevronUpIcon,
|
|
53
54
|
L as ClockIcon,
|
|
54
55
|
h as CloseCircleIcon,
|
|
55
|
-
|
|
56
|
-
|
|
56
|
+
k as CloseIcon,
|
|
57
|
+
y as DashboardIcon,
|
|
57
58
|
D as DeleteIcon,
|
|
58
59
|
v as DurationIcon,
|
|
59
|
-
S as
|
|
60
|
-
Z as
|
|
61
|
-
w as
|
|
62
|
-
G as
|
|
63
|
-
q as
|
|
64
|
-
H as
|
|
65
|
-
R as
|
|
66
|
-
W as
|
|
67
|
-
Y as
|
|
68
|
-
z as
|
|
69
|
-
J as
|
|
70
|
-
N as
|
|
71
|
-
_ as
|
|
72
|
-
oo as
|
|
73
|
-
eo as
|
|
74
|
-
to as
|
|
75
|
-
mo as
|
|
76
|
-
fo as
|
|
77
|
-
xo as
|
|
78
|
-
so as
|
|
79
|
-
|
|
80
|
-
Lo as
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
go as
|
|
84
|
-
To as
|
|
85
|
-
Po as
|
|
86
|
-
Uo as
|
|
87
|
-
bo as
|
|
88
|
-
Ao as
|
|
89
|
-
Oo as
|
|
60
|
+
S as EmailIcon,
|
|
61
|
+
Z as EraserIcon,
|
|
62
|
+
w as ErrorIcon,
|
|
63
|
+
G as EyeClosedIcon,
|
|
64
|
+
q as EyeClosedIcon2,
|
|
65
|
+
H as EyeOpenIcon,
|
|
66
|
+
R as GoToFirstIcon,
|
|
67
|
+
W as GoToLastIcon,
|
|
68
|
+
Y as HarmonicCursorsIcon,
|
|
69
|
+
z as InfoIcon,
|
|
70
|
+
J as LabelIcon,
|
|
71
|
+
N as LassoIcon,
|
|
72
|
+
_ as LineToolIcon,
|
|
73
|
+
oo as LiveViewIcon,
|
|
74
|
+
eo as LoaderIcon,
|
|
75
|
+
to as LocationIcon,
|
|
76
|
+
mo as LogoutIcon,
|
|
77
|
+
fo as MetadataIcon,
|
|
78
|
+
xo as OntologyIcon,
|
|
79
|
+
so as PanelIcon,
|
|
80
|
+
io as PlayIcon,
|
|
81
|
+
Lo as PlusIcon,
|
|
82
|
+
Eo as ResetIcon,
|
|
83
|
+
uo as ScissorsIcon,
|
|
84
|
+
go as SettingsIcon,
|
|
85
|
+
To as TrashIcon,
|
|
86
|
+
Po as UndoIcon,
|
|
87
|
+
Uo as UserIcon,
|
|
88
|
+
bo as WarningIcon,
|
|
89
|
+
Ao as ZoomAllIcon,
|
|
90
|
+
Oo as ZoomXIcon,
|
|
91
|
+
Fo as ZoomYIcon
|
|
90
92
|
};
|
package/dist/Input.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseFormFieldProps } from '../../utils/formFieldUtils';
|
|
2
|
-
import { FocusEvent, InputHTMLAttributes } from 'react';
|
|
2
|
+
import { FocusEvent, InputHTMLAttributes, ReactElement } from 'react';
|
|
3
3
|
export type InputType = 'text' | 'email' | 'url' | 'tel' | 'password' | 'number' | 'date' | 'datetime-local';
|
|
4
4
|
export type InputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'id'> & BaseFormFieldProps & {
|
|
5
5
|
onBlur?: (e: FocusEvent<HTMLInputElement>) => void;
|
|
@@ -11,6 +11,8 @@ export type InputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'id'> & Bas
|
|
|
11
11
|
readonly showClearButton?: boolean;
|
|
12
12
|
readonly suppressHydrationWarning?: boolean;
|
|
13
13
|
readonly type?: InputType;
|
|
14
|
+
readonly startIcon?: ReactElement;
|
|
15
|
+
readonly endIcon?: ReactElement;
|
|
14
16
|
value?: string;
|
|
15
17
|
};
|
|
16
18
|
export declare const Input: import('react').ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "id"> & BaseFormFieldProps & {
|
|
@@ -23,6 +25,8 @@ export declare const Input: import('react').ForwardRefExoticComponent<Omit<Input
|
|
|
23
25
|
readonly showClearButton?: boolean;
|
|
24
26
|
readonly suppressHydrationWarning?: boolean;
|
|
25
27
|
readonly type?: InputType;
|
|
28
|
+
readonly startIcon?: ReactElement;
|
|
29
|
+
readonly endIcon?: ReactElement;
|
|
26
30
|
value?: string;
|
|
27
31
|
} & import('react').RefAttributes<HTMLInputElement>>;
|
|
28
32
|
//# sourceMappingURL=Input.d.ts.map
|