@spear-ai/spectral 1.3.43 → 1.3.44
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 -110
- package/dist/Alert.js +17 -12
- package/dist/Avatar.d.ts +2 -0
- package/dist/Avatar.js +1 -0
- package/dist/Button.js +24 -30
- package/dist/Dialog/DialogBase.d.ts +5 -5
- package/dist/Dialog/DialogBase.js +87 -86
- package/dist/Icons/CheckCircleIcon.d.ts +3 -0
- package/dist/Icons/CheckCircleIcon.js +29 -0
- package/dist/Icons/CheckSquareIcon.d.ts +3 -0
- package/dist/Icons/CheckSquareIcon.js +29 -0
- package/dist/Icons/ChevronDownIcon.d.ts +3 -0
- package/dist/Icons/ChevronDownIcon.js +28 -0
- package/dist/Icons/ChevronUpIcon.d.ts +3 -0
- package/dist/Icons/ChevronUpIcon.js +28 -0
- package/dist/Icons/{CheckIcon.d.ts → ErrorIcon.d.ts} +2 -2
- package/dist/Icons/ErrorIcon.js +30 -0
- package/dist/Icons/LoaderIcon.d.ts +3 -0
- package/dist/Icons/LoaderIcon.js +53 -0
- package/dist/Icons/index.d.ts +6 -1
- package/dist/Icons.js +82 -72
- package/dist/Input/InputUtils.d.ts +15 -0
- package/dist/Input/InputUtils.js +54 -0
- package/dist/Input.d.ts +24 -0
- package/dist/Input.js +170 -0
- package/dist/MultiSelect/MultiSelectBase.d.ts +34 -0
- package/dist/MultiSelect/MultiSelectBase.js +321 -0
- package/dist/MultiSelect/MutiSelect.d.ts +15 -0
- package/dist/MultiSelect/MutiSelect.js +30 -0
- package/dist/Popover.d.ts +1 -1
- package/dist/Popover.js +61 -59
- package/dist/RadioButtonGroup/RadioButtonGroupBase.js +18 -17
- package/dist/Select/SelectBase.d.ts +26 -0
- package/dist/Select/SelectBase.js +233 -0
- package/dist/Select.d.ts +50 -0
- package/dist/Select.js +136 -0
- package/dist/Textarea/TextareaUtils.d.ts +19 -0
- package/dist/Textarea/TextareaUtils.js +54 -0
- package/dist/Textarea.d.ts +17 -0
- package/dist/Textarea.js +160 -0
- package/dist/chevron-down-UbkgS76q.js +19 -0
- package/dist/components/Avatar/Avatar.d.ts +2 -0
- package/dist/components/Avatar/Avatar.d.ts.map +1 -0
- package/dist/components/Dialog/DialogBase.d.ts +5 -5
- package/dist/components/Dialog/DialogBase.d.ts.map +1 -1
- package/dist/components/Icons/CheckCircleIcon.d.ts +3 -0
- package/dist/components/Icons/CheckCircleIcon.d.ts.map +1 -0
- package/dist/components/Icons/CheckSquareIcon.d.ts +3 -0
- package/dist/components/Icons/CheckSquareIcon.d.ts.map +1 -0
- package/dist/components/Icons/ChevronDownIcon.d.ts +3 -0
- package/dist/components/Icons/ChevronDownIcon.d.ts.map +1 -0
- package/dist/components/Icons/ChevronUpIcon.d.ts +3 -0
- package/dist/components/Icons/ChevronUpIcon.d.ts.map +1 -0
- package/dist/components/Icons/{CheckIcon.d.ts → ErrorIcon.d.ts} +2 -2
- package/dist/components/Icons/ErrorIcon.d.ts.map +1 -0
- package/dist/components/Icons/LoaderIcon.d.ts +3 -0
- package/dist/components/Icons/LoaderIcon.d.ts.map +1 -0
- package/dist/components/Icons/index.d.ts +6 -1
- package/dist/components/Icons/index.d.ts.map +1 -1
- package/dist/components/Input/Input.d.ts +24 -0
- package/dist/components/Input/Input.d.ts.map +1 -0
- package/dist/components/Input/InputUtils.d.ts +15 -0
- package/dist/components/Input/InputUtils.d.ts.map +1 -0
- package/dist/components/MultiSelect/MultiSelectBase.d.ts +34 -0
- package/dist/components/MultiSelect/MultiSelectBase.d.ts.map +1 -0
- package/dist/components/MultiSelect/MutiSelect.d.ts +15 -0
- package/dist/components/MultiSelect/MutiSelect.d.ts.map +1 -0
- package/dist/components/Popover/Popover.d.ts +1 -1
- package/dist/components/Popover/Popover.d.ts.map +1 -1
- package/dist/components/RadioButtonGroup/RadioButtonGroupBase.d.ts.map +1 -1
- package/dist/components/Select/Select.d.ts +50 -0
- package/dist/components/Select/Select.d.ts.map +1 -0
- package/dist/components/Select/SelectBase.d.ts +26 -0
- package/dist/components/Select/SelectBase.d.ts.map +1 -0
- package/dist/components/Textarea/Textarea.d.ts +17 -0
- package/dist/components/Textarea/Textarea.d.ts.map +1 -0
- package/dist/components/Textarea/TextareaUtils.d.ts +19 -0
- package/dist/components/Textarea/TextareaUtils.d.ts.map +1 -0
- package/dist/features/LabelingTools.js +8 -3
- package/dist/features/SensorMetadata.js +12 -7
- package/dist/features/SettingsPopover.js +18 -13
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/loader-circle-CvdzOiQ_.js +11 -0
- package/dist/styles/base-colors.css +33 -33
- package/dist/styles/main.css +1 -1
- package/dist/utils/formFieldUtils.d.ts +70 -0
- package/dist/utils/formFieldUtils.d.ts.map +1 -0
- package/dist/utils/formFieldUtils.js +178 -0
- package/dist/x-BBpi7a_7.js +14 -0
- package/package.json +1 -1
- package/dist/Icons/CheckIcon.js +0 -29
- package/dist/components/Icons/CheckIcon.d.ts.map +0 -1
|
@@ -1,93 +1,92 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "../styles/main.css";
|
|
3
|
-
import { jsx as a, jsxs as
|
|
4
|
-
import { c as
|
|
3
|
+
import { jsx as a, jsxs as w } from "react/jsx-runtime";
|
|
4
|
+
import { c as d } from "../twUtils-CRiPKpXj.js";
|
|
5
5
|
import { c as N } from "../index-CRBC94ik.js";
|
|
6
|
-
import { createContext as
|
|
7
|
-
import { createPortal as
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
* @license lucide-react v0.542.0 - ISC
|
|
11
|
-
*
|
|
12
|
-
* This source code is licensed under the ISC license.
|
|
13
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
14
|
-
*/
|
|
15
|
-
const V = [
|
|
16
|
-
["path", { d: "M18 6 6 18", key: "1bl5f8" }],
|
|
17
|
-
["path", { d: "m6 6 12 12", key: "d8bk6v" }]
|
|
18
|
-
], R = T("x", V), D = z(null);
|
|
6
|
+
import { createContext as O, useContext as z, useState as y, useMemo as C, useCallback as b, cloneElement as D, useEffect as x, useRef as P, isValidElement as h } from "react";
|
|
7
|
+
import { createPortal as T } from "react-dom";
|
|
8
|
+
import { X as V } from "../x-BBpi7a_7.js";
|
|
9
|
+
const k = O(null);
|
|
19
10
|
function f() {
|
|
20
|
-
const e =
|
|
11
|
+
const e = z(k);
|
|
21
12
|
if (!e)
|
|
22
13
|
throw new Error("Dialog components must be used within <Dialog>");
|
|
23
14
|
return e;
|
|
24
15
|
}
|
|
25
|
-
function
|
|
26
|
-
return
|
|
16
|
+
function I(e) {
|
|
17
|
+
return h(e) && typeof e.type != "string" ? !0 : h(e);
|
|
27
18
|
}
|
|
28
|
-
let
|
|
29
|
-
function
|
|
30
|
-
const [c,
|
|
19
|
+
let v = 0;
|
|
20
|
+
function S({ isOpen: e, defaultOpen: t = !1, onOpenChange: n, children: o }) {
|
|
21
|
+
const [c, r] = y(t), l = e !== void 0, m = l ? e : c, p = C(
|
|
31
22
|
() => ({
|
|
32
|
-
contentId: `dialog-content-${++
|
|
33
|
-
titleId: `dialog-title-${
|
|
34
|
-
descriptionId: `dialog-description-${
|
|
23
|
+
contentId: `dialog-content-${++v}`,
|
|
24
|
+
titleId: `dialog-title-${v}`,
|
|
25
|
+
descriptionId: `dialog-description-${v}`
|
|
35
26
|
}),
|
|
36
27
|
[]
|
|
37
28
|
), g = b(
|
|
38
29
|
(i) => {
|
|
39
|
-
l ||
|
|
30
|
+
l || r(i), n?.(i);
|
|
40
31
|
},
|
|
41
32
|
[l, n]
|
|
42
|
-
),
|
|
33
|
+
), u = C(
|
|
43
34
|
() => ({
|
|
44
|
-
|
|
45
|
-
|
|
35
|
+
isOpen: m,
|
|
36
|
+
setIsOpen: g,
|
|
46
37
|
...p
|
|
47
38
|
}),
|
|
48
39
|
[m, g, p]
|
|
49
40
|
);
|
|
50
|
-
return /* @__PURE__ */ a(
|
|
41
|
+
return /* @__PURE__ */ a(k.Provider, { value: u, children: o });
|
|
51
42
|
}
|
|
52
|
-
function
|
|
53
|
-
const {
|
|
43
|
+
function U({ children: e, asChild: t = !0 }) {
|
|
44
|
+
const { setIsOpen: n } = f(), o = b(() => {
|
|
54
45
|
n(!0);
|
|
55
46
|
}, [n]);
|
|
56
47
|
if (!t)
|
|
57
48
|
return /* @__PURE__ */ a("button", { onClick: o, children: e });
|
|
58
|
-
if (!
|
|
49
|
+
if (!I(e))
|
|
59
50
|
throw new Error("DialogTrigger expects a single React element as child");
|
|
60
|
-
return
|
|
51
|
+
return D(e, {
|
|
61
52
|
onClick: o
|
|
62
53
|
});
|
|
63
54
|
}
|
|
64
|
-
function
|
|
65
|
-
const {
|
|
55
|
+
function L({ children: e, asChild: t = !0 }) {
|
|
56
|
+
const { setIsOpen: n } = f(), o = b(() => {
|
|
66
57
|
n(!1);
|
|
67
58
|
}, [n]);
|
|
68
59
|
if (!t)
|
|
69
|
-
return /* @__PURE__ */ a(
|
|
70
|
-
|
|
60
|
+
return /* @__PURE__ */ a(
|
|
61
|
+
"button",
|
|
62
|
+
{
|
|
63
|
+
onClick: o,
|
|
64
|
+
className: "focus-visible:ring-ring cursor-pointer outline-transparent focus-visible:ring-1 focus-visible:ring-offset-1 focus-visible:outline-none",
|
|
65
|
+
tabIndex: 0,
|
|
66
|
+
children: e
|
|
67
|
+
}
|
|
68
|
+
);
|
|
69
|
+
if (!I(e))
|
|
71
70
|
throw new Error("DialogClose expects a single React element as child");
|
|
72
|
-
return
|
|
71
|
+
return D(e, {
|
|
73
72
|
onClick: o
|
|
74
73
|
});
|
|
75
74
|
}
|
|
76
|
-
function
|
|
77
|
-
const [n, o] =
|
|
78
|
-
return x(() => (o(!0), () => o(!1)), []), n ?
|
|
75
|
+
function E({ children: e, container: t }) {
|
|
76
|
+
const [n, o] = y(!1);
|
|
77
|
+
return x(() => (o(!0), () => o(!1)), []), n ? T(e, t ?? document.body) : null;
|
|
79
78
|
}
|
|
80
|
-
function
|
|
81
|
-
const {
|
|
79
|
+
function X({ className: e }) {
|
|
80
|
+
const { isOpen: t, setIsOpen: n } = f(), o = b(
|
|
82
81
|
(c) => {
|
|
83
82
|
c.target === c.currentTarget && n(!1);
|
|
84
83
|
},
|
|
85
84
|
[n]
|
|
86
85
|
);
|
|
87
|
-
return t ? /* @__PURE__ */ a(
|
|
86
|
+
return t ? /* @__PURE__ */ a(E, { children: /* @__PURE__ */ a(
|
|
88
87
|
"div",
|
|
89
88
|
{
|
|
90
|
-
className:
|
|
89
|
+
className: d(
|
|
91
90
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0 fixed inset-0 z-40 bg-black/50 backdrop-blur-sm",
|
|
92
91
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0",
|
|
93
92
|
e
|
|
@@ -98,7 +97,7 @@ function q({ className: e }) {
|
|
|
98
97
|
}
|
|
99
98
|
) }) : null;
|
|
100
99
|
}
|
|
101
|
-
const
|
|
100
|
+
const R = N(
|
|
102
101
|
[
|
|
103
102
|
"fixed left-1/2 top-1/2 z-50 w-full -translate-x-1/2 -translate-y-1/2 rounded-lg p-6 shadow-lg outline-none data-[state=open]:animate-in data-[state=open]:fade-in-0",
|
|
104
103
|
"data-[state=open]:zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95"
|
|
@@ -118,56 +117,58 @@ const M = N(
|
|
|
118
117
|
}
|
|
119
118
|
}
|
|
120
119
|
);
|
|
121
|
-
function
|
|
120
|
+
function q({
|
|
122
121
|
children: e,
|
|
123
122
|
className: t,
|
|
124
123
|
size: n,
|
|
125
124
|
onPointerDownOutside: o,
|
|
126
125
|
onEscapeKeyDown: c
|
|
127
126
|
}) {
|
|
128
|
-
const {
|
|
127
|
+
const { isOpen: r, setIsOpen: l, contentId: m, titleId: p, descriptionId: g } = f(), u = P(null);
|
|
129
128
|
return x(() => {
|
|
130
|
-
if (!
|
|
131
|
-
const i =
|
|
129
|
+
if (!r || !u.current) return;
|
|
130
|
+
const i = u.current, s = document.activeElement;
|
|
132
131
|
return i.focus(), () => {
|
|
133
|
-
|
|
132
|
+
s && typeof s.focus == "function" && s.focus();
|
|
133
|
+
};
|
|
134
|
+
}, [r]), x(() => {
|
|
135
|
+
if (!r) return;
|
|
136
|
+
const i = (s) => {
|
|
137
|
+
s.key === "Escape" && (c?.(s), s.defaultPrevented || (s.preventDefault(), l(!1)));
|
|
134
138
|
};
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
const i = (r) => {
|
|
138
|
-
r.key === "Escape" && (r.preventDefault(), c?.(r), r.defaultPrevented || l(!1));
|
|
139
|
+
return document.addEventListener("keydown", i, { capture: !0 }), () => {
|
|
140
|
+
document.removeEventListener("keydown", i, { capture: !0 });
|
|
139
141
|
};
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
d.current && !d.current.contains(I) && (o?.(r), r.defaultPrevented || l(!1));
|
|
142
|
+
}, [r, c, l]), x(() => {
|
|
143
|
+
if (!r) return;
|
|
144
|
+
const i = (s) => {
|
|
145
|
+
const B = s.target;
|
|
146
|
+
u.current && !u.current.contains(B) && (o?.(s), s.defaultPrevented || l(!1));
|
|
146
147
|
};
|
|
147
148
|
return document.addEventListener("pointerdown", i, { capture: !0 }), () => document.removeEventListener("pointerdown", i, { capture: !0 });
|
|
148
|
-
}, [
|
|
149
|
+
}, [r, o, l]), r ? /* @__PURE__ */ a(E, { children: /* @__PURE__ */ w(
|
|
149
150
|
"div",
|
|
150
151
|
{
|
|
151
|
-
ref:
|
|
152
|
+
ref: u,
|
|
152
153
|
id: m,
|
|
153
154
|
role: "dialog",
|
|
154
155
|
"aria-modal": "true",
|
|
155
156
|
"aria-labelledby": p,
|
|
156
157
|
"aria-describedby": g,
|
|
157
|
-
"data-state":
|
|
158
|
+
"data-state": r ? "open" : "closed",
|
|
158
159
|
tabIndex: -1,
|
|
159
|
-
className:
|
|
160
|
+
className: d(R({ size: n }), t),
|
|
160
161
|
children: [
|
|
161
|
-
/* @__PURE__ */ a(
|
|
162
|
+
/* @__PURE__ */ a(L, { asChild: !0, children: /* @__PURE__ */ w(
|
|
162
163
|
"button",
|
|
163
164
|
{
|
|
164
|
-
className:
|
|
165
|
+
className: d(
|
|
165
166
|
"ring-offset-background absolute top-4 right-4 rounded-sm opacity-70 transition-opacity hover:opacity-100",
|
|
166
167
|
"focus:ring-ring focus:ring-2 focus:ring-offset-2 focus:outline-none disabled:pointer-events-none"
|
|
167
168
|
),
|
|
168
169
|
"aria-label": "Close dialog",
|
|
169
170
|
children: [
|
|
170
|
-
/* @__PURE__ */ a(
|
|
171
|
+
/* @__PURE__ */ a(V, { className: "h-4 w-4" }),
|
|
171
172
|
/* @__PURE__ */ a("span", { className: "sr-only", children: "Close" })
|
|
172
173
|
]
|
|
173
174
|
}
|
|
@@ -177,30 +178,30 @@ function G({
|
|
|
177
178
|
}
|
|
178
179
|
) }) : null;
|
|
179
180
|
}
|
|
180
|
-
function
|
|
181
|
+
function G({ children: e, className: t }) {
|
|
181
182
|
const { titleId: n } = f();
|
|
182
|
-
return /* @__PURE__ */ a("h2", { id: n, className:
|
|
183
|
+
return /* @__PURE__ */ a("h2", { id: n, className: d("text-lg leading-none font-semibold tracking-tight", t), children: e });
|
|
183
184
|
}
|
|
184
|
-
function
|
|
185
|
+
function J({ children: e, className: t }) {
|
|
185
186
|
const { descriptionId: n } = f();
|
|
186
|
-
return /* @__PURE__ */ a("p", { id: n, className:
|
|
187
|
+
return /* @__PURE__ */ a("p", { id: n, className: d("text-text-secondary text-sm", t), children: e });
|
|
187
188
|
}
|
|
188
|
-
function
|
|
189
|
-
return /* @__PURE__ */ a("div", { className:
|
|
189
|
+
function K({ children: e, className: t }) {
|
|
190
|
+
return /* @__PURE__ */ a("div", { className: d("flex flex-col space-y-1.5 text-center text-left", t), children: e });
|
|
190
191
|
}
|
|
191
|
-
function
|
|
192
|
-
return /* @__PURE__ */ a("div", { className:
|
|
192
|
+
function Q({ children: e, className: t }) {
|
|
193
|
+
return /* @__PURE__ */ a("div", { className: d("flex flex-col-reverse flex-row justify-end space-x-2", t), children: e });
|
|
193
194
|
}
|
|
194
195
|
export {
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
196
|
+
S as DialogBase,
|
|
197
|
+
L as DialogCloseBase,
|
|
198
|
+
q as DialogContentBase,
|
|
199
|
+
J as DialogDescriptionBase,
|
|
200
|
+
Q as DialogFooterBase,
|
|
201
|
+
K as DialogHeaderBase,
|
|
202
|
+
X as DialogOverlayBase,
|
|
203
|
+
E as DialogPortalBase,
|
|
204
|
+
G as DialogTitleBase,
|
|
205
|
+
U as DialogTriggerBase,
|
|
205
206
|
f as useDialogContext
|
|
206
207
|
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import "../styles/main.css";
|
|
3
|
+
import { jsxs as s, jsx as r } from "react/jsx-runtime";
|
|
4
|
+
import d from "./IconBase.js";
|
|
5
|
+
import { forwardRef as h } from "react";
|
|
6
|
+
const k = ({ className: o, ariaHidden: e, title: n = "Checkmark in Circle", description: t, size: i = 24, ...c }, a) => /* @__PURE__ */ s(
|
|
7
|
+
d,
|
|
8
|
+
{
|
|
9
|
+
size: i,
|
|
10
|
+
className: o,
|
|
11
|
+
title: n,
|
|
12
|
+
description: t,
|
|
13
|
+
"aria-hidden": e,
|
|
14
|
+
ref: a,
|
|
15
|
+
...c,
|
|
16
|
+
stroke: "currentColor",
|
|
17
|
+
strokeWidth: "2",
|
|
18
|
+
strokeLinecap: "round",
|
|
19
|
+
strokeLinejoin: "round",
|
|
20
|
+
children: [
|
|
21
|
+
/* @__PURE__ */ r("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
|
|
22
|
+
/* @__PURE__ */ r("path", { d: "M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" }),
|
|
23
|
+
/* @__PURE__ */ r("path", { d: "M9 12l2 2l4 -4" })
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
), C = h(k);
|
|
27
|
+
export {
|
|
28
|
+
C as CheckCircleIcon
|
|
29
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import "../styles/main.css";
|
|
3
|
+
import { jsxs as i, jsx as r } from "react/jsx-runtime";
|
|
4
|
+
import d from "./IconBase.js";
|
|
5
|
+
import { forwardRef as h } from "react";
|
|
6
|
+
const k = ({ className: o, ariaHidden: e, title: n = "Checkmark in Square", description: t, size: s = 24, ...a }, c) => /* @__PURE__ */ i(
|
|
7
|
+
d,
|
|
8
|
+
{
|
|
9
|
+
size: s,
|
|
10
|
+
className: o,
|
|
11
|
+
title: n,
|
|
12
|
+
description: t,
|
|
13
|
+
"aria-hidden": e,
|
|
14
|
+
ref: c,
|
|
15
|
+
...a,
|
|
16
|
+
stroke: "currentColor",
|
|
17
|
+
strokeWidth: "2",
|
|
18
|
+
strokeLinecap: "round",
|
|
19
|
+
strokeLinejoin: "round",
|
|
20
|
+
children: [
|
|
21
|
+
/* @__PURE__ */ r("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
|
|
22
|
+
/* @__PURE__ */ r("path", { d: "M9 12l2 2l4 -4" }),
|
|
23
|
+
/* @__PURE__ */ r("path", { d: "M12 3c7.2 0 9 1.8 9 9s-1.8 9 -9 9s-9 -1.8 -9 -9s1.8 -9 9 -9z" })
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
), f = h(k);
|
|
27
|
+
export {
|
|
28
|
+
f as CheckSquareIcon
|
|
29
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import "../styles/main.css";
|
|
3
|
+
import { jsxs as h, jsx as o } from "react/jsx-runtime";
|
|
4
|
+
import c from "./IconBase.js";
|
|
5
|
+
import { forwardRef as a } from "react";
|
|
6
|
+
const p = ({ className: r, ariaHidden: n, title: e = "Chevron", description: t, size: i = 24, ...s }, d) => /* @__PURE__ */ h(
|
|
7
|
+
c,
|
|
8
|
+
{
|
|
9
|
+
size: i,
|
|
10
|
+
className: r,
|
|
11
|
+
title: e,
|
|
12
|
+
description: t,
|
|
13
|
+
"aria-hidden": n,
|
|
14
|
+
ref: d,
|
|
15
|
+
...s,
|
|
16
|
+
stroke: "currentColor",
|
|
17
|
+
strokeWidth: "2",
|
|
18
|
+
strokeLinecap: "round",
|
|
19
|
+
strokeLinejoin: "round",
|
|
20
|
+
children: [
|
|
21
|
+
/* @__PURE__ */ o("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
|
|
22
|
+
/* @__PURE__ */ o("path", { d: "M6 9l6 6l6 -6" })
|
|
23
|
+
]
|
|
24
|
+
}
|
|
25
|
+
), k = a(p);
|
|
26
|
+
export {
|
|
27
|
+
k as ChevronDownIcon
|
|
28
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import "../styles/main.css";
|
|
3
|
+
import { jsxs as h, jsx as o } from "react/jsx-runtime";
|
|
4
|
+
import p from "./IconBase.js";
|
|
5
|
+
import { forwardRef as c } from "react";
|
|
6
|
+
const a = ({ className: r, ariaHidden: n, title: e = "Chevron", description: t, size: i = 24, ...s }, d) => /* @__PURE__ */ h(
|
|
7
|
+
p,
|
|
8
|
+
{
|
|
9
|
+
size: i,
|
|
10
|
+
className: r,
|
|
11
|
+
title: e,
|
|
12
|
+
description: t,
|
|
13
|
+
"aria-hidden": n,
|
|
14
|
+
ref: d,
|
|
15
|
+
...s,
|
|
16
|
+
stroke: "currentColor",
|
|
17
|
+
strokeWidth: "2",
|
|
18
|
+
strokeLinecap: "round",
|
|
19
|
+
strokeLinejoin: "round",
|
|
20
|
+
children: [
|
|
21
|
+
/* @__PURE__ */ o("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
|
|
22
|
+
/* @__PURE__ */ o("path", { d: "M6 15l6 -6l6 6" })
|
|
23
|
+
]
|
|
24
|
+
}
|
|
25
|
+
), k = c(a);
|
|
26
|
+
export {
|
|
27
|
+
k as ChevronUpIcon
|
|
28
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IconProps } from './iconTypes';
|
|
2
|
-
export declare const
|
|
3
|
-
//# sourceMappingURL=
|
|
2
|
+
export declare const ErrorIcon: import('react').ForwardRefExoticComponent<IconProps & import('react').RefAttributes<SVGSVGElement>>;
|
|
3
|
+
//# sourceMappingURL=ErrorIcon.d.ts.map
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import "../styles/main.css";
|
|
3
|
+
import { jsxs as s, jsx as r } from "react/jsx-runtime";
|
|
4
|
+
import p from "./IconBase.js";
|
|
5
|
+
import { forwardRef as c } from "react";
|
|
6
|
+
const h = ({ className: o, ariaHidden: n, title: t = "Error", description: e, size: a = 24, ...d }, i) => /* @__PURE__ */ s(
|
|
7
|
+
p,
|
|
8
|
+
{
|
|
9
|
+
size: a,
|
|
10
|
+
className: o,
|
|
11
|
+
title: t,
|
|
12
|
+
description: e,
|
|
13
|
+
"aria-hidden": n,
|
|
14
|
+
ref: i,
|
|
15
|
+
...d,
|
|
16
|
+
stroke: "currentColor",
|
|
17
|
+
strokeWidth: "2",
|
|
18
|
+
strokeLinecap: "round",
|
|
19
|
+
strokeLinejoin: "round",
|
|
20
|
+
children: [
|
|
21
|
+
/* @__PURE__ */ r("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
|
|
22
|
+
/* @__PURE__ */ r("path", { d: "M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" }),
|
|
23
|
+
/* @__PURE__ */ r("path", { d: "M12 9v4" }),
|
|
24
|
+
/* @__PURE__ */ r("path", { d: "M12 16v.01" })
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
), l = c(h);
|
|
28
|
+
export {
|
|
29
|
+
l as ErrorIcon
|
|
30
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import "../styles/main.css";
|
|
3
|
+
import { jsxs as t, jsx as o } from "react/jsx-runtime";
|
|
4
|
+
import c, { SvgIdContext as f } from "./IconBase.js";
|
|
5
|
+
import { forwardRef as l, useContext as h } from "react";
|
|
6
|
+
const m = ({ className: e, ariaHidden: s, title: n = "Loader", description: i, size: a = 24, ...p }, d) => {
|
|
7
|
+
const r = h(f);
|
|
8
|
+
return /* @__PURE__ */ t(
|
|
9
|
+
c,
|
|
10
|
+
{
|
|
11
|
+
size: a,
|
|
12
|
+
className: e,
|
|
13
|
+
title: n,
|
|
14
|
+
description: i,
|
|
15
|
+
"aria-hidden": s,
|
|
16
|
+
ref: d,
|
|
17
|
+
...p,
|
|
18
|
+
color: "oklch(92.53% 0.1976 123.38)",
|
|
19
|
+
viewBox: "0 0 240 240",
|
|
20
|
+
children: [
|
|
21
|
+
/* @__PURE__ */ t("defs", { children: [
|
|
22
|
+
/* @__PURE__ */ t("linearGradient", { id: `${r}-spinner-secondHalf`, children: [
|
|
23
|
+
/* @__PURE__ */ o("stop", { offset: "0%", stopOpacity: "0", stopColor: "oklch(92.53% 0.1976 123.38)" }),
|
|
24
|
+
/* @__PURE__ */ o("stop", { offset: "100%", stopOpacity: "0.5", stopColor: "oklch(95.78% 0.1105 120.84)" })
|
|
25
|
+
] }),
|
|
26
|
+
/* @__PURE__ */ t("linearGradient", { id: `${r}-spinner-firstHalf`, children: [
|
|
27
|
+
/* @__PURE__ */ o("stop", { offset: "0%", stopOpacity: "1", stopColor: "oklch(92.53% 0.1976 123.38)" }),
|
|
28
|
+
/* @__PURE__ */ o("stop", { offset: "100%", stopOpacity: "0.5", stopColor: "oklch(95.78% 0.1105 120.84)" })
|
|
29
|
+
] })
|
|
30
|
+
] }),
|
|
31
|
+
/* @__PURE__ */ t("g", { strokeWidth: "24", children: [
|
|
32
|
+
/* @__PURE__ */ o(
|
|
33
|
+
"animateTransform",
|
|
34
|
+
{
|
|
35
|
+
from: "0 120 120",
|
|
36
|
+
to: "360 120 120",
|
|
37
|
+
attributeName: "transform",
|
|
38
|
+
type: "rotate",
|
|
39
|
+
repeatCount: "indefinite",
|
|
40
|
+
dur: "1300ms"
|
|
41
|
+
}
|
|
42
|
+
),
|
|
43
|
+
/* @__PURE__ */ o("path", { stroke: `url(#${r}-spinner-secondHalf)`, d: "M 40 120 A 80 80 0 0 1 200 120" }),
|
|
44
|
+
/* @__PURE__ */ o("path", { stroke: `url(#${r}-spinner-firstHalf)`, d: "M 200 120 A 80 80 0 0 1 40 120" }),
|
|
45
|
+
/* @__PURE__ */ o("path", { stroke: "currentColor", strokeLinecap: "round", d: "M 40 120 A 100 100 0 0 1 40 118" })
|
|
46
|
+
] })
|
|
47
|
+
]
|
|
48
|
+
}
|
|
49
|
+
);
|
|
50
|
+
}, x = l(m);
|
|
51
|
+
export {
|
|
52
|
+
x as LoaderIcon
|
|
53
|
+
};
|
package/dist/Icons/index.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export { AnnotationsIcon } from './AnnotationsIcon';
|
|
2
2
|
export { CalendarIcon } from './CalendarIcon';
|
|
3
|
-
export {
|
|
3
|
+
export { CheckCircleIcon } from './CheckCircleIcon';
|
|
4
|
+
export { CheckSquareIcon } from './CheckSquareIcon';
|
|
5
|
+
export { ChevronDownIcon } from './ChevronDownIcon';
|
|
6
|
+
export { ChevronUpIcon } from './ChevronUpIcon';
|
|
4
7
|
export { ClockIcon } from './ClockIcon';
|
|
5
8
|
export { CloseCircleIcon } from './CloseCircleIcon';
|
|
6
9
|
export { CloseIcon } from './CloseIcon';
|
|
@@ -8,6 +11,7 @@ export { DashboardIcon } from './DashboardIcon';
|
|
|
8
11
|
export { DeleteIcon } from './DeleteIcon';
|
|
9
12
|
export { DurationIcon } from './DurationIcon';
|
|
10
13
|
export { EraserIcon } from './EraserIcon';
|
|
14
|
+
export { ErrorIcon } from './ErrorIcon';
|
|
11
15
|
export { EyeClosedIcon } from './EyeClosedIcon';
|
|
12
16
|
export { EyeClosedIcon2 } from './EyeClosedIcon2';
|
|
13
17
|
export { EyeOpenIcon } from './EyeOpenIcon';
|
|
@@ -19,6 +23,7 @@ export { LabelIcon } from './LabelIcon';
|
|
|
19
23
|
export { LassoIcon } from './LassoIcon';
|
|
20
24
|
export { LineToolIcon } from './LineToolIcon';
|
|
21
25
|
export { LiveViewIcon } from './LiveViewIcon';
|
|
26
|
+
export { LoaderIcon } from './LoaderIcon';
|
|
22
27
|
export { LocationIcon } from './LocationIcon';
|
|
23
28
|
export { LogoutIcon } from './LogoutIcon';
|
|
24
29
|
export { MetadataIcon } from './MetadataIcon';
|