@spear-ai/spectral 1.3.9 → 1.3.11
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 +91 -0
- package/dist/Accordion/AccordionBase.js +233 -0
- package/dist/App.js +8 -0
- package/dist/Badge/BadgeBase.js +35 -0
- package/dist/Badge.js +7 -0
- package/dist/Button.js +99 -0
- package/dist/Card.js +35 -0
- package/dist/Checkbox/CheckboxBase.js +141 -0
- package/dist/Drawer.js +1293 -0
- package/dist/Icons/AnnotationsIcon.js +28 -0
- package/dist/Icons/CalendarIcon.js +60 -0
- package/dist/Icons/ClockIcon.js +40 -0
- package/dist/Icons/DeleteIcon.js +32 -0
- package/dist/Icons/DurationIcon.js +80 -0
- package/dist/Icons/EraserIcon.js +37 -0
- package/dist/Icons/GoToFirstIcon.js +40 -0
- package/dist/Icons/GoToLastIcon.js +40 -0
- package/dist/Icons/IconBase.js +33 -0
- package/dist/Icons/LabelIcon.js +27 -0
- package/dist/Icons/LassoIcon.js +50 -0
- package/dist/Icons/LineToolIcon.js +96 -0
- package/dist/Icons/LiveViewIcon.js +70 -0
- package/dist/Icons/LocationIcon.js +40 -0
- package/dist/Icons/MetadataIcon.js +28 -0
- package/dist/Icons/OntologyIcon.js +31 -0
- package/dist/Icons/PlayIcon.js +28 -0
- package/dist/Icons/PlusIcon.js +27 -0
- package/dist/Icons/ResetIcon.js +25 -0
- package/dist/Icons/ScissorsIcon.js +36 -0
- package/dist/Icons/TrashIcon.js +25 -0
- package/dist/Icons/UndoIcon.js +28 -0
- package/dist/Icons/ZoomAllIcon.js +28 -0
- package/dist/Icons/ZoomXIcon.js +41 -0
- package/dist/Icons/ZoomYIcon.js +41 -0
- package/dist/Icons/iconTypes.js +2 -0
- package/dist/Icons.js +51 -0
- package/dist/Label.js +13 -0
- package/dist/Popover.js +250 -0
- package/dist/RadioGroup/RadioGroupBase.js +254 -0
- package/dist/Skeleton.js +10 -0
- package/dist/Slider/SliderBase.js +315 -0
- package/dist/Slider.js +74 -0
- package/dist/Switch/SwitchBase.js +131 -0
- package/dist/Switch.js +59 -0
- package/dist/Toggle/ToggleBase.js +51 -0
- package/dist/Toggle.js +51 -0
- package/dist/ToggleGroup/ToggleGroupBase.js +125 -0
- package/dist/ToggleGroup.js +53 -0
- package/dist/Toolbar.js +13 -0
- package/dist/Tooltip/TooltipBase.js +225 -0
- package/dist/Tooltip.js +371 -0
- package/dist/features/LabelingTools/LabelingTools.d.ts.map +1 -0
- package/dist/features/LabelingTools.js +107 -0
- package/dist/hooks/useAccordionAutoScroll.js +65 -0
- package/dist/hooks/useOutsideClick.js +16 -0
- package/dist/hooks/useTheme.js +19 -0
- package/dist/index-B7LSgz_k.js +446 -0
- package/dist/index-CRBC94ik.js +34 -0
- package/dist/index-gg2zpNk0.js +672 -0
- package/dist/index-sDEISz8i.js +1558 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/loader-circle-Btf6jOd5.js +101 -0
- package/dist/main.js +25212 -0
- package/dist/primitives/label.js +27 -0
- package/dist/primitives/slot.js +40 -0
- package/dist/twUtils-CRiPKpXj.js +2743 -0
- package/dist/utils/refs.js +10 -0
- package/dist/utils/shared.js +29 -0
- package/dist/utils/twUtils.js +5 -0
- package/package.json +19 -15
- package/dist/components/LabelingTools/LabelingTools.d.ts.map +0 -1
- package/dist/index.js +0 -8443
- package/dist/spectral.cjs.js +0 -83
- /package/dist/{components → features}/LabelingTools/LabelingTools.d.ts +0 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import './assets/main.css'
|
|
2
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
3
|
+
import i from "./IconBase.js";
|
|
4
|
+
import { forwardRef as s } from "react";
|
|
5
|
+
const c = ({ className: o, ariaHidden: t, title: e = "Instagram", description: n, size: a = 24 }, d) => /* @__PURE__ */ r(
|
|
6
|
+
i,
|
|
7
|
+
{
|
|
8
|
+
size: a,
|
|
9
|
+
className: o,
|
|
10
|
+
title: e,
|
|
11
|
+
description: n,
|
|
12
|
+
"aria-hidden": t,
|
|
13
|
+
ref: d,
|
|
14
|
+
children: /* @__PURE__ */ r(
|
|
15
|
+
"path",
|
|
16
|
+
{
|
|
17
|
+
d: "M3 12H6.80472C7.23083 12 7.62038 12.2408 7.81094 12.6219L9.75 16.5L14.25 7.5L16.1891 11.3781C16.3796 11.7592 16.7692 12 17.1953 12H21M5.25 21H18.75C19.9927 21 21 19.9927 21 18.75V5.25C21 4.00736 19.9927 3 18.75 3H5.25C4.00736 3 3 4.00736 3 5.25V18.75C3 19.9927 4.00736 21 5.25 21Z",
|
|
18
|
+
stroke: "currentColor",
|
|
19
|
+
strokeWidth: "2",
|
|
20
|
+
strokeLinecap: "round",
|
|
21
|
+
strokeLinejoin: "round"
|
|
22
|
+
}
|
|
23
|
+
)
|
|
24
|
+
}
|
|
25
|
+
), f = s(c);
|
|
26
|
+
export {
|
|
27
|
+
f as MetadataIcon
|
|
28
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import './assets/main.css'
|
|
2
|
+
import { jsxs as k, jsx as r } from "react/jsx-runtime";
|
|
3
|
+
import a from "./IconBase.js";
|
|
4
|
+
import { forwardRef as c } from "react";
|
|
5
|
+
const i = ({ className: o, ariaHidden: t, title: e = "Instagram", description: n, size: s = 24 }, d) => /* @__PURE__ */ k(
|
|
6
|
+
a,
|
|
7
|
+
{
|
|
8
|
+
size: s,
|
|
9
|
+
className: o,
|
|
10
|
+
title: e,
|
|
11
|
+
description: n,
|
|
12
|
+
"aria-hidden": t,
|
|
13
|
+
ref: d,
|
|
14
|
+
children: [
|
|
15
|
+
/* @__PURE__ */ r("path", { d: "M15.5 19.0625V19.0626", stroke: "currentColor", strokeWidth: "4.2", strokeLinecap: "round" }),
|
|
16
|
+
/* @__PURE__ */ r("path", { d: "M19.475 12.7126V12.7127", stroke: "currentColor", strokeWidth: "4.4", strokeLinecap: "round" }),
|
|
17
|
+
/* @__PURE__ */ r("path", { d: "M16.3375 5.6123V5.6124", stroke: "currentColor", strokeWidth: "4.3", strokeLinecap: "round" }),
|
|
18
|
+
/* @__PURE__ */ r("path", { d: "M5.25 4.8125V4.8126", stroke: "currentColor", strokeWidth: "4.5", strokeLinecap: "round" }),
|
|
19
|
+
/* @__PURE__ */ r("path", { d: "M5.25 19.1875V19.1876", stroke: "currentColor", strokeWidth: "4.3", strokeLinecap: "round" }),
|
|
20
|
+
/* @__PURE__ */ r("path", { d: "M8.875 11.5625V11.5626", stroke: "currentColor", strokeWidth: "6", strokeLinecap: "round" }),
|
|
21
|
+
/* @__PURE__ */ r("path", { d: "M7.95976 13.5L5.94999 17.8039", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round" }),
|
|
22
|
+
/* @__PURE__ */ r("path", { d: "M5.66249 5.80737L7.49574 9.08025", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round" }),
|
|
23
|
+
/* @__PURE__ */ r("path", { d: "M14.6209 7L10.75 10.1648", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round" }),
|
|
24
|
+
/* @__PURE__ */ r("path", { d: "M17.9705 12.6067L11.75 11.9999", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round" }),
|
|
25
|
+
/* @__PURE__ */ r("path", { d: "M14.4062 17.8035L10.125 13.25", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round" })
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
), L = c(i);
|
|
29
|
+
export {
|
|
30
|
+
L as OntologyIcon
|
|
31
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import './assets/main.css'
|
|
2
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
3
|
+
import s from "./IconBase.js";
|
|
4
|
+
import { forwardRef as c } from "react";
|
|
5
|
+
const d = ({ className: o, ariaHidden: n, title: t = "Instagram", description: e, size: a = 24 }, i) => /* @__PURE__ */ r(
|
|
6
|
+
s,
|
|
7
|
+
{
|
|
8
|
+
size: a,
|
|
9
|
+
className: o,
|
|
10
|
+
title: t,
|
|
11
|
+
description: e,
|
|
12
|
+
"aria-hidden": n,
|
|
13
|
+
ref: i,
|
|
14
|
+
children: /* @__PURE__ */ r(
|
|
15
|
+
"path",
|
|
16
|
+
{
|
|
17
|
+
d: "M4.63333 3.11108V20.8889L19.3667 12L4.63333 3.11108Z",
|
|
18
|
+
stroke: "currentColor",
|
|
19
|
+
strokeWidth: "2",
|
|
20
|
+
strokeLinecap: "round",
|
|
21
|
+
strokeLinejoin: "round"
|
|
22
|
+
}
|
|
23
|
+
)
|
|
24
|
+
}
|
|
25
|
+
), h = c(d);
|
|
26
|
+
export {
|
|
27
|
+
h as PlayIcon
|
|
28
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import './assets/main.css'
|
|
2
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
3
|
+
import i from "./IconBase.js";
|
|
4
|
+
import { forwardRef as C } from "react";
|
|
5
|
+
const c = ({ className: r, ariaHidden: e, title: n = "Instagram", description: l, size: t = 24 }, d) => /* @__PURE__ */ o(
|
|
6
|
+
i,
|
|
7
|
+
{
|
|
8
|
+
size: t,
|
|
9
|
+
className: r,
|
|
10
|
+
title: n,
|
|
11
|
+
description: l,
|
|
12
|
+
"aria-hidden": e,
|
|
13
|
+
ref: d,
|
|
14
|
+
children: /* @__PURE__ */ o(
|
|
15
|
+
"path",
|
|
16
|
+
{
|
|
17
|
+
fillRule: "evenodd",
|
|
18
|
+
clipRule: "evenodd",
|
|
19
|
+
d: "M12 3C12.5523 3 13 3.44772 13 4V11H20C20.5523 11 21 11.4477 21 12C21 12.5523 20.5523 13 20 13H13V20C13 20.5523 12.5523 21 12 21C11.4477 21 11 20.5523 11 20V13H4C3.44772 13 3 12.5523 3 12C3 11.4477 3.44772 11 4 11H11V4C11 3.44772 11.4477 3 12 3Z",
|
|
20
|
+
fill: "currentColor"
|
|
21
|
+
}
|
|
22
|
+
)
|
|
23
|
+
}
|
|
24
|
+
), s = C(c);
|
|
25
|
+
export {
|
|
26
|
+
s as PlusIcon
|
|
27
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import './assets/main.css'
|
|
2
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
3
|
+
import c from "./IconBase.js";
|
|
4
|
+
import { forwardRef as i } from "react";
|
|
5
|
+
const m = ({ className: C, ariaHidden: o, title: t = "Instagram", description: e, size: n = 24 }, a) => /* @__PURE__ */ r(
|
|
6
|
+
c,
|
|
7
|
+
{
|
|
8
|
+
size: n,
|
|
9
|
+
className: C,
|
|
10
|
+
title: t,
|
|
11
|
+
description: e,
|
|
12
|
+
"aria-hidden": o,
|
|
13
|
+
ref: a,
|
|
14
|
+
children: /* @__PURE__ */ r(
|
|
15
|
+
"path",
|
|
16
|
+
{
|
|
17
|
+
d: "M4.97266 12C4.97266 8.13401 8.10666 5 11.9727 5C13.9466 5 15.3753 5.67948 16.7591 7H15C14.4477 7 14 7.44772 14 8C14 8.55228 14.4477 9 15 9H18.25C19.2165 9 20 8.2165 20 7.25V4C20 3.44772 19.5523 3 19 3C18.4477 3 18 3.44772 18 4V5.42301C16.3778 3.9219 14.5241 3 11.9727 3C7.00209 3 2.97266 7.02944 2.97266 12C2.97266 16.9706 7.00209 21 11.9727 21C15.8929 21 19.2253 18.4941 20.4603 14.9999C20.6443 14.4792 20.3714 13.9079 19.8507 13.7238C19.33 13.5398 18.7586 13.8127 18.5746 14.3334C17.6132 17.0536 15.0189 19 11.9727 19C8.10666 19 4.97266 15.866 4.97266 12Z",
|
|
18
|
+
fill: "currentColor"
|
|
19
|
+
}
|
|
20
|
+
)
|
|
21
|
+
}
|
|
22
|
+
), p = i(m);
|
|
23
|
+
export {
|
|
24
|
+
p as ResetIcon
|
|
25
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import './assets/main.css'
|
|
2
|
+
import { jsxs as l, jsx as r } from "react/jsx-runtime";
|
|
3
|
+
import t from "./IconBase.js";
|
|
4
|
+
import { forwardRef as c } from "react";
|
|
5
|
+
const d = ({ className: C, ariaHidden: o, title: e = "Instagram", description: n, size: s = 24 }, i) => /* @__PURE__ */ l(
|
|
6
|
+
t,
|
|
7
|
+
{
|
|
8
|
+
size: s,
|
|
9
|
+
className: C,
|
|
10
|
+
title: e,
|
|
11
|
+
description: n,
|
|
12
|
+
"aria-hidden": o,
|
|
13
|
+
ref: i,
|
|
14
|
+
children: [
|
|
15
|
+
/* @__PURE__ */ r(
|
|
16
|
+
"path",
|
|
17
|
+
{
|
|
18
|
+
fillRule: "evenodd",
|
|
19
|
+
clipRule: "evenodd",
|
|
20
|
+
d: "M6 3C3.79086 3 2 4.79086 2 7C2 9.20914 3.79086 11 6 11C7.02505 11 7.96004 10.6144 8.66786 9.9804L11.6973 12L8.66786 14.0196C7.96005 13.3856 7.02505 13 6 13C3.79086 13 2 14.7909 2 17C2 19.2091 3.79086 21 6 21C8.20914 21 10 19.2091 10 17C10 16.5386 9.92189 16.0955 9.77816 15.6831L22.3868 7.27735C21.7741 6.35829 20.5323 6.10995 19.6133 6.72265L13.5 10.7982L9.77816 8.3169C9.92189 7.90452 10 7.46138 10 7C10 4.79086 8.20914 3 6 3ZM4 7C4 5.89543 4.89543 5 6 5C7.10457 5 8 5.89543 8 7C8 8.10457 7.10457 9 6 9C4.89543 9 4 8.10457 4 7ZM4 17C4 15.8954 4.89543 15 6 15C7.10457 15 8 15.8954 8 17C8 18.1046 7.10457 19 6 19C4.89543 19 4 18.1046 4 17Z",
|
|
21
|
+
fill: "currentColor"
|
|
22
|
+
}
|
|
23
|
+
),
|
|
24
|
+
/* @__PURE__ */ r(
|
|
25
|
+
"path",
|
|
26
|
+
{
|
|
27
|
+
d: "M19.6133 17.2773L14.4014 13.8027L16.2042 12.6008L22.3868 16.7226C21.7741 17.6416 20.5323 17.89 19.6133 17.2773Z",
|
|
28
|
+
fill: "currentColor"
|
|
29
|
+
}
|
|
30
|
+
)
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
), m = c(d);
|
|
34
|
+
export {
|
|
35
|
+
m as ScissorsIcon
|
|
36
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import './assets/main.css'
|
|
2
|
+
import { jsx as C } from "react/jsx-runtime";
|
|
3
|
+
import L from "./IconBase.js";
|
|
4
|
+
import { forwardRef as n } from "react";
|
|
5
|
+
const t = ({ className: r, ariaHidden: M, title: Z = "Instagram", description: V, size: H = 24 }, o) => /* @__PURE__ */ C(
|
|
6
|
+
L,
|
|
7
|
+
{
|
|
8
|
+
size: H,
|
|
9
|
+
className: r,
|
|
10
|
+
title: Z,
|
|
11
|
+
description: V,
|
|
12
|
+
"aria-hidden": M,
|
|
13
|
+
ref: o,
|
|
14
|
+
children: /* @__PURE__ */ C(
|
|
15
|
+
"path",
|
|
16
|
+
{
|
|
17
|
+
d: "M3 5C2.44772 5 2 5.44772 2 6C2 6.55228 2.44772 7 3 7V5ZM21 7C21.5523 7 22 6.55228 22 6C22 5.44772 21.5523 5 21 5V7ZM11 11C11 10.4477 10.5523 10 10 10C9.44772 10 9 10.4477 9 11H11ZM9 16C9 16.5523 9.44772 17 10 17C10.5523 17 11 16.5523 11 16H9ZM15 11C15 10.4477 14.5523 10 14 10C13.4477 10 13 10.4477 13 11H15ZM13 16C13 16.5523 13.4477 17 14 17C14.5523 17 15 16.5523 15 16H13ZM14.9056 6.24926C15.0432 6.78411 15.5884 7.1061 16.1233 6.96844C16.6581 6.83078 16.9801 6.28559 16.8424 5.75074L14.9056 6.24926ZM4.00221 6.06652L4.87775 19.1996L6.87332 19.0665L5.99779 5.93348L4.00221 6.06652ZM7.87111 22H16.1289V20H7.87111V22ZM19.1222 19.1996L19.9978 6.06652L18.0022 5.93348L17.1267 19.0665L19.1222 19.1996ZM19 5H5V7H19V5ZM3 7H5V5H3V7ZM19 7H21V5H19V7ZM16.1289 22C17.7083 22 19.0172 20.7754 19.1222 19.1996L17.1267 19.0665C17.0917 19.5918 16.6554 20 16.1289 20V22ZM4.87775 19.1996C4.98281 20.7754 6.29171 22 7.87111 22V20C7.34464 20 6.90834 19.5918 6.87332 19.0665L4.87775 19.1996ZM9 11V16H11V11H9ZM13 11V16H15V11H13ZM12 4C13.3965 4 14.5725 4.95512 14.9056 6.24926L16.8424 5.75074C16.2874 3.59442 14.3312 2 12 2V4ZM9.09447 6.24926C9.42756 4.95512 10.6035 4 12 4V2C9.66885 2 7.7126 3.59442 7.1576 5.75074L9.09447 6.24926Z",
|
|
18
|
+
fill: "currentColor"
|
|
19
|
+
}
|
|
20
|
+
)
|
|
21
|
+
}
|
|
22
|
+
), i = n(t);
|
|
23
|
+
export {
|
|
24
|
+
i as TrashIcon
|
|
25
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import './assets/main.css'
|
|
2
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
3
|
+
import s from "./IconBase.js";
|
|
4
|
+
import { forwardRef as a } from "react";
|
|
5
|
+
const c = ({ className: r, ariaHidden: n, title: t = "Instagram", description: e, size: d = 24 }, i) => /* @__PURE__ */ o(
|
|
6
|
+
s,
|
|
7
|
+
{
|
|
8
|
+
size: d,
|
|
9
|
+
className: r,
|
|
10
|
+
title: t,
|
|
11
|
+
description: e,
|
|
12
|
+
"aria-hidden": n,
|
|
13
|
+
ref: i,
|
|
14
|
+
children: /* @__PURE__ */ o(
|
|
15
|
+
"path",
|
|
16
|
+
{
|
|
17
|
+
d: "M7.8 9.66667L3 14.3333M3 14.3333L7.8 19M3 14.3333H16.2C17.473 14.3333 18.6939 13.8417 19.5941 12.9665C20.4943 12.0913 21 10.9043 21 9.66667C21 8.42899 20.4943 7.242 19.5941 6.36683C18.6939 5.49167 17.473 5 16.2 5H15",
|
|
18
|
+
stroke: "currentColor",
|
|
19
|
+
strokeWidth: "2",
|
|
20
|
+
strokeLinecap: "round",
|
|
21
|
+
strokeLinejoin: "round"
|
|
22
|
+
}
|
|
23
|
+
)
|
|
24
|
+
}
|
|
25
|
+
), C = a(c);
|
|
26
|
+
export {
|
|
27
|
+
C as UndoIcon
|
|
28
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import './assets/main.css'
|
|
2
|
+
import { jsxs as d, jsx as o } from "react/jsx-runtime";
|
|
3
|
+
import k from "./IconBase.js";
|
|
4
|
+
import { forwardRef as u } from "react";
|
|
5
|
+
const L = ({ className: r, ariaHidden: t, title: e = "Instagram", description: n, size: s = 24 }, i) => /* @__PURE__ */ d(
|
|
6
|
+
k,
|
|
7
|
+
{
|
|
8
|
+
size: s,
|
|
9
|
+
className: r,
|
|
10
|
+
title: e,
|
|
11
|
+
description: n,
|
|
12
|
+
"aria-hidden": t,
|
|
13
|
+
ref: i,
|
|
14
|
+
children: [
|
|
15
|
+
/* @__PURE__ */ o("path", { d: "M18 9L21 12L18 15", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
16
|
+
/* @__PURE__ */ o("path", { d: "M15 12H21", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
17
|
+
/* @__PURE__ */ o("path", { d: "M6 9L3 12L6 15", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
18
|
+
/* @__PURE__ */ o("path", { d: "M3 12H9", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
19
|
+
/* @__PURE__ */ o("path", { d: "M9 18L12 21L15 18", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
20
|
+
/* @__PURE__ */ o("path", { d: "M12 15V21", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
21
|
+
/* @__PURE__ */ o("path", { d: "M15 6L12 3L9 6", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
22
|
+
/* @__PURE__ */ o("path", { d: "M12 3V9", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" })
|
|
23
|
+
]
|
|
24
|
+
}
|
|
25
|
+
), h = u(L);
|
|
26
|
+
export {
|
|
27
|
+
h as ZoomAllIcon
|
|
28
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import './assets/main.css'
|
|
2
|
+
import { jsxs as d, jsx as o } from "react/jsx-runtime";
|
|
3
|
+
import a from "./IconBase.js";
|
|
4
|
+
import { forwardRef as c } from "react";
|
|
5
|
+
const k = ({ className: r, ariaHidden: t, title: e = "Instagram", description: n, size: s = 24 }, i) => /* @__PURE__ */ d(
|
|
6
|
+
a,
|
|
7
|
+
{
|
|
8
|
+
size: s,
|
|
9
|
+
className: r,
|
|
10
|
+
title: e,
|
|
11
|
+
description: n,
|
|
12
|
+
"aria-hidden": t,
|
|
13
|
+
ref: i,
|
|
14
|
+
children: [
|
|
15
|
+
/* @__PURE__ */ o(
|
|
16
|
+
"path",
|
|
17
|
+
{
|
|
18
|
+
d: "M6.65278 7.875L2.375 12L6.65278 16.125",
|
|
19
|
+
stroke: "currentColor",
|
|
20
|
+
strokeWidth: "2",
|
|
21
|
+
strokeLinecap: "round",
|
|
22
|
+
strokeLinejoin: "round"
|
|
23
|
+
}
|
|
24
|
+
),
|
|
25
|
+
/* @__PURE__ */ o(
|
|
26
|
+
"path",
|
|
27
|
+
{
|
|
28
|
+
d: "M17.3472 7.875L21.625 12L17.3472 16.125",
|
|
29
|
+
stroke: "currentColor",
|
|
30
|
+
strokeWidth: "2",
|
|
31
|
+
strokeLinecap: "round",
|
|
32
|
+
strokeLinejoin: "round"
|
|
33
|
+
}
|
|
34
|
+
),
|
|
35
|
+
/* @__PURE__ */ o("path", { d: "M2.375 12H21.625", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" })
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
), m = c(k);
|
|
39
|
+
export {
|
|
40
|
+
m as ZoomXIcon
|
|
41
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import './assets/main.css'
|
|
2
|
+
import { jsxs as d, jsx as o } from "react/jsx-runtime";
|
|
3
|
+
import c from "./IconBase.js";
|
|
4
|
+
import { forwardRef as k } from "react";
|
|
5
|
+
const a = ({ className: r, ariaHidden: t, title: e = "Zoom Y Axis", description: n, size: i = 24 }, s) => /* @__PURE__ */ d(
|
|
6
|
+
c,
|
|
7
|
+
{
|
|
8
|
+
size: i,
|
|
9
|
+
className: r,
|
|
10
|
+
title: e,
|
|
11
|
+
description: n,
|
|
12
|
+
"aria-hidden": t,
|
|
13
|
+
ref: s,
|
|
14
|
+
children: [
|
|
15
|
+
/* @__PURE__ */ o(
|
|
16
|
+
"path",
|
|
17
|
+
{
|
|
18
|
+
d: "M7.90909 6.94958L12 2.90918L16.0909 6.94958",
|
|
19
|
+
stroke: "currentColor",
|
|
20
|
+
strokeWidth: "2",
|
|
21
|
+
strokeLinecap: "round",
|
|
22
|
+
strokeLinejoin: "round"
|
|
23
|
+
}
|
|
24
|
+
),
|
|
25
|
+
/* @__PURE__ */ o(
|
|
26
|
+
"path",
|
|
27
|
+
{
|
|
28
|
+
d: "M7.90909 17.0505L12 21.0909L16.0909 17.0505",
|
|
29
|
+
stroke: "currentColor",
|
|
30
|
+
strokeWidth: "2",
|
|
31
|
+
strokeLinecap: "round",
|
|
32
|
+
strokeLinejoin: "round"
|
|
33
|
+
}
|
|
34
|
+
),
|
|
35
|
+
/* @__PURE__ */ o("path", { d: "M12 2.90918V21.091", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" })
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
), m = k(a);
|
|
39
|
+
export {
|
|
40
|
+
m as ZoomYIcon
|
|
41
|
+
};
|
package/dist/Icons.js
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import './assets/main.css'
|
|
2
|
+
import { AnnotationsIcon as e } from "./Icons/AnnotationsIcon.js";
|
|
3
|
+
import { CalendarIcon as n } from "./Icons/CalendarIcon.js";
|
|
4
|
+
import { ClockIcon as m } from "./Icons/ClockIcon.js";
|
|
5
|
+
import { DeleteIcon as p } from "./Icons/DeleteIcon.js";
|
|
6
|
+
import { DurationIcon as I } from "./Icons/DurationIcon.js";
|
|
7
|
+
import { EraserIcon as s } from "./Icons/EraserIcon.js";
|
|
8
|
+
import { GoToFirstIcon as i } from "./Icons/GoToFirstIcon.js";
|
|
9
|
+
import { GoToLastIcon as T } from "./Icons/GoToLastIcon.js";
|
|
10
|
+
import { LabelIcon as Z } from "./Icons/LabelIcon.js";
|
|
11
|
+
import { LassoIcon as y } from "./Icons/LassoIcon.js";
|
|
12
|
+
import { LineToolIcon as C } from "./Icons/LineToolIcon.js";
|
|
13
|
+
import { LiveViewIcon as G } from "./Icons/LiveViewIcon.js";
|
|
14
|
+
import { LocationIcon as b } from "./Icons/LocationIcon.js";
|
|
15
|
+
import { MetadataIcon as h } from "./Icons/MetadataIcon.js";
|
|
16
|
+
import { OntologyIcon as v } from "./Icons/OntologyIcon.js";
|
|
17
|
+
import { PlayIcon as E } from "./Icons/PlayIcon.js";
|
|
18
|
+
import { PlusIcon as M } from "./Icons/PlusIcon.js";
|
|
19
|
+
import { ResetIcon as R } from "./Icons/ResetIcon.js";
|
|
20
|
+
import { ScissorsIcon as U } from "./Icons/ScissorsIcon.js";
|
|
21
|
+
import { TrashIcon as X } from "./Icons/TrashIcon.js";
|
|
22
|
+
import { UndoIcon as j } from "./Icons/UndoIcon.js";
|
|
23
|
+
import { ZoomAllIcon as z } from "./Icons/ZoomAllIcon.js";
|
|
24
|
+
import { ZoomXIcon as H } from "./Icons/ZoomXIcon.js";
|
|
25
|
+
import { ZoomYIcon as K } from "./Icons/ZoomYIcon.js";
|
|
26
|
+
export {
|
|
27
|
+
e as AnnotationsIcon,
|
|
28
|
+
n as CalendarIcon,
|
|
29
|
+
m as ClockIcon,
|
|
30
|
+
p as DeleteIcon,
|
|
31
|
+
I as DurationIcon,
|
|
32
|
+
s as EraserIcon,
|
|
33
|
+
i as GoToFirstIcon,
|
|
34
|
+
T as GoToLastIcon,
|
|
35
|
+
Z as LabelIcon,
|
|
36
|
+
y as LassoIcon,
|
|
37
|
+
C as LineToolIcon,
|
|
38
|
+
G as LiveViewIcon,
|
|
39
|
+
b as LocationIcon,
|
|
40
|
+
h as MetadataIcon,
|
|
41
|
+
v as OntologyIcon,
|
|
42
|
+
E as PlayIcon,
|
|
43
|
+
M as PlusIcon,
|
|
44
|
+
R as ResetIcon,
|
|
45
|
+
U as ScissorsIcon,
|
|
46
|
+
X as TrashIcon,
|
|
47
|
+
j as UndoIcon,
|
|
48
|
+
z as ZoomAllIcon,
|
|
49
|
+
H as ZoomXIcon,
|
|
50
|
+
K as ZoomYIcon
|
|
51
|
+
};
|
package/dist/Label.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import './assets/main.css'
|
|
2
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
3
|
+
import { c as s } from "./twUtils-CRiPKpXj.js";
|
|
4
|
+
import { c as t } from "./index-CRBC94ik.js";
|
|
5
|
+
import { forwardRef as m } from "react";
|
|
6
|
+
const i = t("text-sm leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"), c = m(({ className: a, htmlFor: e, ...o }, r) => (
|
|
7
|
+
// eslint-disable-next-line jsx-a11y/label-has-associated-control
|
|
8
|
+
/* @__PURE__ */ l("label", { htmlFor: e, ref: r, className: s(i(), a), ...o })
|
|
9
|
+
));
|
|
10
|
+
c.displayName = "Label";
|
|
11
|
+
export {
|
|
12
|
+
c as Label
|
|
13
|
+
};
|
package/dist/Popover.js
ADDED
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
import './assets/main.css'
|
|
2
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
3
|
+
import * as i from "react";
|
|
4
|
+
import { u as L, c as z, a as G, P as x, b as H, d as O, e as _, f as P, g as K, D as j } from "./index-B7LSgz_k.js";
|
|
5
|
+
import { h as U, R as V, u as W, F as Z } from "./index-gg2zpNk0.js";
|
|
6
|
+
import { c as b, R as q, A as w, C as B, a as J } from "./index-sDEISz8i.js";
|
|
7
|
+
import { c as Q } from "./twUtils-CRiPKpXj.js";
|
|
8
|
+
var C = "Popover", [E, he] = z(C, [
|
|
9
|
+
b
|
|
10
|
+
]), g = b(), [X, l] = E(C), F = (e) => {
|
|
11
|
+
const {
|
|
12
|
+
__scopePopover: n,
|
|
13
|
+
children: t,
|
|
14
|
+
open: a,
|
|
15
|
+
defaultOpen: o,
|
|
16
|
+
onOpenChange: r,
|
|
17
|
+
modal: c = !1
|
|
18
|
+
} = e, p = g(n), f = i.useRef(null), [v, h] = i.useState(!1), [m, u] = L({
|
|
19
|
+
prop: a,
|
|
20
|
+
defaultProp: o ?? !1,
|
|
21
|
+
onChange: r,
|
|
22
|
+
caller: C
|
|
23
|
+
});
|
|
24
|
+
return /* @__PURE__ */ s(q, { ...p, children: /* @__PURE__ */ s(
|
|
25
|
+
X,
|
|
26
|
+
{
|
|
27
|
+
scope: n,
|
|
28
|
+
contentId: G(),
|
|
29
|
+
triggerRef: f,
|
|
30
|
+
open: m,
|
|
31
|
+
onOpenChange: u,
|
|
32
|
+
onOpenToggle: i.useCallback(() => u((R) => !R), [u]),
|
|
33
|
+
hasCustomAnchor: v,
|
|
34
|
+
onCustomAnchorAdd: i.useCallback(() => h(!0), []),
|
|
35
|
+
onCustomAnchorRemove: i.useCallback(() => h(!1), []),
|
|
36
|
+
modal: c,
|
|
37
|
+
children: t
|
|
38
|
+
}
|
|
39
|
+
) });
|
|
40
|
+
};
|
|
41
|
+
F.displayName = C;
|
|
42
|
+
var N = "PopoverAnchor", S = i.forwardRef(
|
|
43
|
+
(e, n) => {
|
|
44
|
+
const { __scopePopover: t, ...a } = e, o = l(N, t), r = g(t), { onCustomAnchorAdd: c, onCustomAnchorRemove: p } = o;
|
|
45
|
+
return i.useEffect(() => (c(), () => p()), [c, p]), /* @__PURE__ */ s(w, { ...r, ...a, ref: n });
|
|
46
|
+
}
|
|
47
|
+
);
|
|
48
|
+
S.displayName = N;
|
|
49
|
+
var y = "PopoverTrigger", D = i.forwardRef(
|
|
50
|
+
(e, n) => {
|
|
51
|
+
const { __scopePopover: t, ...a } = e, o = l(y, t), r = g(t), c = O(n, o.triggerRef), p = /* @__PURE__ */ s(
|
|
52
|
+
_.button,
|
|
53
|
+
{
|
|
54
|
+
type: "button",
|
|
55
|
+
"aria-haspopup": "dialog",
|
|
56
|
+
"aria-expanded": o.open,
|
|
57
|
+
"aria-controls": o.contentId,
|
|
58
|
+
"data-state": $(o.open),
|
|
59
|
+
...a,
|
|
60
|
+
ref: c,
|
|
61
|
+
onClick: P(e.onClick, o.onOpenToggle)
|
|
62
|
+
}
|
|
63
|
+
);
|
|
64
|
+
return o.hasCustomAnchor ? p : /* @__PURE__ */ s(w, { asChild: !0, ...r, children: p });
|
|
65
|
+
}
|
|
66
|
+
);
|
|
67
|
+
D.displayName = y;
|
|
68
|
+
var A = "PopoverPortal", [Y, ee] = E(A, {
|
|
69
|
+
forceMount: void 0
|
|
70
|
+
}), M = (e) => {
|
|
71
|
+
const { __scopePopover: n, forceMount: t, children: a, container: o } = e, r = l(A, n);
|
|
72
|
+
return /* @__PURE__ */ s(Y, { scope: n, forceMount: t, children: /* @__PURE__ */ s(x, { present: t || r.open, children: /* @__PURE__ */ s(H, { asChild: !0, container: o, children: a }) }) });
|
|
73
|
+
};
|
|
74
|
+
M.displayName = A;
|
|
75
|
+
var d = "PopoverContent", T = i.forwardRef(
|
|
76
|
+
(e, n) => {
|
|
77
|
+
const t = ee(d, e.__scopePopover), { forceMount: a = t.forceMount, ...o } = e, r = l(d, e.__scopePopover);
|
|
78
|
+
return /* @__PURE__ */ s(x, { present: a || r.open, children: r.modal ? /* @__PURE__ */ s(te, { ...o, ref: n }) : /* @__PURE__ */ s(re, { ...o, ref: n }) });
|
|
79
|
+
}
|
|
80
|
+
);
|
|
81
|
+
T.displayName = d;
|
|
82
|
+
var oe = K("PopoverContent.RemoveScroll"), te = i.forwardRef(
|
|
83
|
+
(e, n) => {
|
|
84
|
+
const t = l(d, e.__scopePopover), a = i.useRef(null), o = O(n, a), r = i.useRef(!1);
|
|
85
|
+
return i.useEffect(() => {
|
|
86
|
+
const c = a.current;
|
|
87
|
+
if (c) return U(c);
|
|
88
|
+
}, []), /* @__PURE__ */ s(V, { as: oe, allowPinchZoom: !0, children: /* @__PURE__ */ s(
|
|
89
|
+
k,
|
|
90
|
+
{
|
|
91
|
+
...e,
|
|
92
|
+
ref: o,
|
|
93
|
+
trapFocus: t.open,
|
|
94
|
+
disableOutsidePointerEvents: !0,
|
|
95
|
+
onCloseAutoFocus: P(e.onCloseAutoFocus, (c) => {
|
|
96
|
+
c.preventDefault(), r.current || t.triggerRef.current?.focus();
|
|
97
|
+
}),
|
|
98
|
+
onPointerDownOutside: P(
|
|
99
|
+
e.onPointerDownOutside,
|
|
100
|
+
(c) => {
|
|
101
|
+
const p = c.detail.originalEvent, f = p.button === 0 && p.ctrlKey === !0, v = p.button === 2 || f;
|
|
102
|
+
r.current = v;
|
|
103
|
+
},
|
|
104
|
+
{ checkForDefaultPrevented: !1 }
|
|
105
|
+
),
|
|
106
|
+
onFocusOutside: P(
|
|
107
|
+
e.onFocusOutside,
|
|
108
|
+
(c) => c.preventDefault(),
|
|
109
|
+
{ checkForDefaultPrevented: !1 }
|
|
110
|
+
)
|
|
111
|
+
}
|
|
112
|
+
) });
|
|
113
|
+
}
|
|
114
|
+
), re = i.forwardRef(
|
|
115
|
+
(e, n) => {
|
|
116
|
+
const t = l(d, e.__scopePopover), a = i.useRef(!1), o = i.useRef(!1);
|
|
117
|
+
return /* @__PURE__ */ s(
|
|
118
|
+
k,
|
|
119
|
+
{
|
|
120
|
+
...e,
|
|
121
|
+
ref: n,
|
|
122
|
+
trapFocus: !1,
|
|
123
|
+
disableOutsidePointerEvents: !1,
|
|
124
|
+
onCloseAutoFocus: (r) => {
|
|
125
|
+
e.onCloseAutoFocus?.(r), r.defaultPrevented || (a.current || t.triggerRef.current?.focus(), r.preventDefault()), a.current = !1, o.current = !1;
|
|
126
|
+
},
|
|
127
|
+
onInteractOutside: (r) => {
|
|
128
|
+
e.onInteractOutside?.(r), r.defaultPrevented || (a.current = !0, r.detail.originalEvent.type === "pointerdown" && (o.current = !0));
|
|
129
|
+
const c = r.target;
|
|
130
|
+
t.triggerRef.current?.contains(c) && r.preventDefault(), r.detail.originalEvent.type === "focusin" && o.current && r.preventDefault();
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
);
|
|
134
|
+
}
|
|
135
|
+
), k = i.forwardRef(
|
|
136
|
+
(e, n) => {
|
|
137
|
+
const {
|
|
138
|
+
__scopePopover: t,
|
|
139
|
+
trapFocus: a,
|
|
140
|
+
onOpenAutoFocus: o,
|
|
141
|
+
onCloseAutoFocus: r,
|
|
142
|
+
disableOutsidePointerEvents: c,
|
|
143
|
+
onEscapeKeyDown: p,
|
|
144
|
+
onPointerDownOutside: f,
|
|
145
|
+
onFocusOutside: v,
|
|
146
|
+
onInteractOutside: h,
|
|
147
|
+
...m
|
|
148
|
+
} = e, u = l(d, t), R = g(t);
|
|
149
|
+
return W(), /* @__PURE__ */ s(
|
|
150
|
+
Z,
|
|
151
|
+
{
|
|
152
|
+
asChild: !0,
|
|
153
|
+
loop: !0,
|
|
154
|
+
trapped: a,
|
|
155
|
+
onMountAutoFocus: o,
|
|
156
|
+
onUnmountAutoFocus: r,
|
|
157
|
+
children: /* @__PURE__ */ s(
|
|
158
|
+
j,
|
|
159
|
+
{
|
|
160
|
+
asChild: !0,
|
|
161
|
+
disableOutsidePointerEvents: c,
|
|
162
|
+
onInteractOutside: h,
|
|
163
|
+
onEscapeKeyDown: p,
|
|
164
|
+
onPointerDownOutside: f,
|
|
165
|
+
onFocusOutside: v,
|
|
166
|
+
onDismiss: () => u.onOpenChange(!1),
|
|
167
|
+
children: /* @__PURE__ */ s(
|
|
168
|
+
B,
|
|
169
|
+
{
|
|
170
|
+
"data-state": $(u.open),
|
|
171
|
+
role: "dialog",
|
|
172
|
+
id: u.contentId,
|
|
173
|
+
...R,
|
|
174
|
+
...m,
|
|
175
|
+
ref: n,
|
|
176
|
+
style: {
|
|
177
|
+
...m.style,
|
|
178
|
+
"--radix-popover-content-transform-origin": "var(--radix-popper-transform-origin)",
|
|
179
|
+
"--radix-popover-content-available-width": "var(--radix-popper-available-width)",
|
|
180
|
+
"--radix-popover-content-available-height": "var(--radix-popper-available-height)",
|
|
181
|
+
"--radix-popover-trigger-width": "var(--radix-popper-anchor-width)",
|
|
182
|
+
"--radix-popover-trigger-height": "var(--radix-popper-anchor-height)"
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
)
|
|
186
|
+
}
|
|
187
|
+
)
|
|
188
|
+
}
|
|
189
|
+
);
|
|
190
|
+
}
|
|
191
|
+
), I = "PopoverClose", ne = i.forwardRef(
|
|
192
|
+
(e, n) => {
|
|
193
|
+
const { __scopePopover: t, ...a } = e, o = l(I, t);
|
|
194
|
+
return /* @__PURE__ */ s(
|
|
195
|
+
_.button,
|
|
196
|
+
{
|
|
197
|
+
type: "button",
|
|
198
|
+
...a,
|
|
199
|
+
ref: n,
|
|
200
|
+
onClick: P(e.onClick, () => o.onOpenChange(!1))
|
|
201
|
+
}
|
|
202
|
+
);
|
|
203
|
+
}
|
|
204
|
+
);
|
|
205
|
+
ne.displayName = I;
|
|
206
|
+
var ae = "PopoverArrow", se = i.forwardRef(
|
|
207
|
+
(e, n) => {
|
|
208
|
+
const { __scopePopover: t, ...a } = e, o = g(t);
|
|
209
|
+
return /* @__PURE__ */ s(J, { ...o, ...a, ref: n });
|
|
210
|
+
}
|
|
211
|
+
);
|
|
212
|
+
se.displayName = ae;
|
|
213
|
+
function $(e) {
|
|
214
|
+
return e ? "open" : "closed";
|
|
215
|
+
}
|
|
216
|
+
var ce = F, ie = S, pe = D, le = M, ue = T;
|
|
217
|
+
function me({ ...e }) {
|
|
218
|
+
return /* @__PURE__ */ s(ce, { "data-slot": "popover", ...e });
|
|
219
|
+
}
|
|
220
|
+
function Ce({ ...e }) {
|
|
221
|
+
return /* @__PURE__ */ s(pe, { asChild: !0, "data-slot": "popover-trigger", ...e });
|
|
222
|
+
}
|
|
223
|
+
function Re({ className: e, align: n = "center", sideOffset: t = 4, width: a = 320, ...o }) {
|
|
224
|
+
return /* @__PURE__ */ s(le, { children: /* @__PURE__ */ s(
|
|
225
|
+
ue,
|
|
226
|
+
{
|
|
227
|
+
"data-slot": "popover-content",
|
|
228
|
+
align: n,
|
|
229
|
+
sideOffset: t,
|
|
230
|
+
className: Q(
|
|
231
|
+
"bg-popover-bg text-popover-text data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0",
|
|
232
|
+
"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",
|
|
233
|
+
"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 h-fit",
|
|
234
|
+
"max-h-[var(--radix-popover-content-max-height)] origin-(--radix-popover-content-transform-origin) rounded-lg border-none p-4 shadow-md outline-hidden",
|
|
235
|
+
e
|
|
236
|
+
),
|
|
237
|
+
style: { width: `${a}px` },
|
|
238
|
+
...o
|
|
239
|
+
}
|
|
240
|
+
) });
|
|
241
|
+
}
|
|
242
|
+
function Ae({ ...e }) {
|
|
243
|
+
return /* @__PURE__ */ s(ie, { "data-slot": "popover-anchor", ...e });
|
|
244
|
+
}
|
|
245
|
+
export {
|
|
246
|
+
me as Popover,
|
|
247
|
+
Ae as PopoverAnchor,
|
|
248
|
+
Re as PopoverContent,
|
|
249
|
+
Ce as PopoverTrigger
|
|
250
|
+
};
|