@spear-ai/spectral 1.3.20 → 1.3.22
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 +84 -77
- package/dist/Button.js +1 -1
- package/dist/Card.js +4 -4
- package/dist/Drawer.js +15 -8
- package/dist/Icons/AnnotationsIcon.js +3 -3
- package/dist/Icons/CalendarIcon.js +8 -8
- package/dist/Icons/DeleteIcon.js +10 -10
- package/dist/Icons/DurationIcon.js +9 -9
- package/dist/Icons/EraserIcon.js +7 -7
- package/dist/Icons/GoToFirstIcon.js +10 -10
- package/dist/Icons/GoToLastIcon.js +8 -8
- package/dist/Icons/IconBase.js +8 -7
- package/dist/Icons/InfoIcon.js +32 -0
- package/dist/Icons/LabelIcon.js +6 -6
- package/dist/Icons/LassoIcon.js +3 -3
- package/dist/Icons/LineToolIcon.js +14 -14
- package/dist/Icons/LiveViewIcon.js +30 -30
- package/dist/Icons/LocationIcon.js +6 -6
- package/dist/Icons/MetadataIcon.js +8 -8
- package/dist/Icons/OntologyIcon.js +5 -5
- package/dist/Icons/PlayIcon.js +11 -11
- package/dist/Icons/PlusIcon.js +9 -9
- package/dist/Icons/ResetIcon.js +8 -8
- package/dist/Icons/ScissorsIcon.js +15 -15
- package/dist/Icons/SettingsIcon.js +42 -0
- package/dist/Icons/TrashIcon.js +1 -1
- package/dist/Icons/UndoIcon.js +5 -5
- package/dist/Icons/ZoomAllIcon.js +57 -25
- package/dist/Icons/ZoomXIcon.js +7 -7
- package/dist/Icons.js +38 -34
- package/dist/Popover.js +48 -42
- package/dist/RadioGroup/RadioGroupBase.js +120 -118
- package/dist/RadioGroup.js +41 -0
- package/dist/Slider/SliderBase.js +98 -99
- package/dist/Slider.js +3 -3
- package/dist/ToggleGroup.js +9 -9
- package/dist/assets/main.css +1 -1
- package/dist/components/Drawer/Drawer.d.ts +2 -0
- package/dist/components/Drawer/Drawer.d.ts.map +1 -1
- package/dist/components/Icons/IconBase.d.ts +5 -5
- package/dist/components/Icons/IconBase.d.ts.map +1 -1
- package/dist/components/Icons/InfoIcon.d.ts +3 -0
- package/dist/components/Icons/InfoIcon.d.ts.map +1 -0
- package/dist/components/Icons/SettingsIcon.d.ts +3 -0
- package/dist/components/Icons/SettingsIcon.d.ts.map +1 -0
- package/dist/components/Icons/ZoomAllIcon.d.ts.map +1 -1
- package/dist/components/Icons/index.d.ts +2 -0
- package/dist/components/Icons/index.d.ts.map +1 -1
- package/dist/components/Popover/Popover.d.ts +1 -1
- package/dist/components/Popover/Popover.d.ts.map +1 -1
- package/dist/components/RadioGroup/RadioGroup.d.ts +11 -0
- package/dist/components/RadioGroup/RadioGroup.d.ts.map +1 -0
- package/dist/components/RadioGroup/RadioGroupBase.d.ts +2 -0
- package/dist/components/RadioGroup/RadioGroupBase.d.ts.map +1 -1
- package/dist/components/Slider/Slider.d.ts +1 -1
- package/dist/components/Slider/Slider.d.ts.map +1 -1
- package/dist/components/Slider/SliderBase.d.ts +2 -2
- package/dist/components/Slider/SliderBase.d.ts.map +1 -1
- package/dist/{loader-circle-Btf6jOd5.js → createLucideIcon-CI1yJrZf.js} +9 -16
- package/dist/features/HorizonColorGrid/HorizonColorGrid.d.ts +3 -0
- package/dist/features/HorizonColorGrid/HorizonColorGrid.d.ts.map +1 -0
- package/dist/features/HorizonColorGrid.js +70 -0
- package/dist/features/LabelingTools.js +4 -2
- package/dist/features/SensorMetadata/SensorMetadata.d.ts +2 -0
- package/dist/features/SensorMetadata/SensorMetadata.d.ts.map +1 -0
- package/dist/features/SensorMetadata.js +85 -0
- package/dist/features/SettingsPopover/SettingsPopover.d.ts +2 -0
- package/dist/features/SettingsPopover/SettingsPopover.d.ts.map +1 -0
- package/dist/features/SettingsPopover.js +194 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/loader-circle-CvdzOiQ_.js +11 -0
- package/dist/themes/grayscale-theme.webp +0 -0
- package/dist/themes/green-black-theme.webp +0 -0
- package/dist/themes/reverse-grayscale-theme.webp +0 -0
- package/dist/themes/viridis-theme.webp +0 -0
- package/package.json +5 -2
- package/src/styles/main.css +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SensorMetadata.d.ts","sourceRoot":"","sources":["../../../src/features/SensorMetadata/SensorMetadata.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,cAAc,+CAgE1B,CAAA"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
2
|
+
import { Drawer as r } from "../Drawer.js";
|
|
3
|
+
import "../Icons/AnnotationsIcon.js";
|
|
4
|
+
import "../Icons/CalendarIcon.js";
|
|
5
|
+
import { ClockIcon as i } from "../Icons/ClockIcon.js";
|
|
6
|
+
import "../Icons/DeleteIcon.js";
|
|
7
|
+
import { DurationIcon as a } from "../Icons/DurationIcon.js";
|
|
8
|
+
import "../Icons/EraserIcon.js";
|
|
9
|
+
import "../Icons/GoToFirstIcon.js";
|
|
10
|
+
import "../Icons/GoToLastIcon.js";
|
|
11
|
+
import { InfoIcon as s } from "../Icons/InfoIcon.js";
|
|
12
|
+
import "../Icons/LabelIcon.js";
|
|
13
|
+
import "../Icons/LassoIcon.js";
|
|
14
|
+
import "../Icons/LineToolIcon.js";
|
|
15
|
+
import "../Icons/LiveViewIcon.js";
|
|
16
|
+
import { LocationIcon as c } from "../Icons/LocationIcon.js";
|
|
17
|
+
import { MetadataIcon as m } from "../Icons/MetadataIcon.js";
|
|
18
|
+
import "../Icons/OntologyIcon.js";
|
|
19
|
+
import "../Icons/PlayIcon.js";
|
|
20
|
+
import "../Icons/PlusIcon.js";
|
|
21
|
+
import "../Icons/ResetIcon.js";
|
|
22
|
+
import "../Icons/ScissorsIcon.js";
|
|
23
|
+
import "../Icons/SettingsIcon.js";
|
|
24
|
+
import "../Icons/TrashIcon.js";
|
|
25
|
+
import "../Icons/UndoIcon.js";
|
|
26
|
+
import "../Icons/ZoomAllIcon.js";
|
|
27
|
+
import "../Icons/ZoomXIcon.js";
|
|
28
|
+
import "../Icons/ZoomYIcon.js";
|
|
29
|
+
const T = () => /* @__PURE__ */ e(r, { description: "Recording Details", title: "Sensor Metadata", trigger: /* @__PURE__ */ e(m, {}), children: /* @__PURE__ */ t("div", { className: "flex flex-col gap-4", children: [
|
|
30
|
+
/* @__PURE__ */ t("div", { className: "bg-card-bg-secondary rounded-md px-4 py-5", children: [
|
|
31
|
+
/* @__PURE__ */ t("div", { className: "flex items-center gap-2 !text-sm font-semibold uppercase", children: [
|
|
32
|
+
/* @__PURE__ */ e(s, { size: 16 }),
|
|
33
|
+
"sensor type"
|
|
34
|
+
] }),
|
|
35
|
+
/* @__PURE__ */ e("div", { className: "!text-text-accent-primary mt-4 flex text-center !text-xl", children: "Omnidirectional Hydrophone Array" })
|
|
36
|
+
] }),
|
|
37
|
+
/* @__PURE__ */ t("div", { className: "bg-card-bg-secondary rounded-md px-4 py-5", children: [
|
|
38
|
+
/* @__PURE__ */ t("div", { className: "flex items-center gap-2 !text-sm font-semibold uppercase", children: [
|
|
39
|
+
/* @__PURE__ */ e(c, { size: 16 }),
|
|
40
|
+
"location"
|
|
41
|
+
] }),
|
|
42
|
+
/* @__PURE__ */ e("div", { className: "!text-text-accent-primary mt-4 flex justify-center !text-xl", children: "42.3601° N, 71.0589° W" }),
|
|
43
|
+
/* @__PURE__ */ e("div", { className: "!text-text-primary flex justify-center text-sm", children: "North Atlantic Ocean" })
|
|
44
|
+
] }),
|
|
45
|
+
/* @__PURE__ */ t("div", { className: "flex gap-4", children: [
|
|
46
|
+
/* @__PURE__ */ e("div", { className: "bg-card-bg-secondary w-1/2 rounded-md px-4 py-5", children: /* @__PURE__ */ t("div", { className: "flex flex-col items-center gap-1 font-semibold", children: [
|
|
47
|
+
/* @__PURE__ */ t("div", { className: "!text-text-accent-primary flex items-baseline !text-xl", children: [
|
|
48
|
+
"45.2",
|
|
49
|
+
/* @__PURE__ */ e("span", { className: "!text-text-primary !text-sm font-normal", children: "m" })
|
|
50
|
+
] }),
|
|
51
|
+
/* @__PURE__ */ e("div", { className: "!text-sm font-medium uppercase", children: "water depth" })
|
|
52
|
+
] }) }),
|
|
53
|
+
/* @__PURE__ */ e("div", { className: "bg-card-bg-secondary w-1/2 rounded-md px-4 py-5", children: /* @__PURE__ */ t("div", { className: "flex flex-col items-center gap-1 font-semibold", children: [
|
|
54
|
+
/* @__PURE__ */ e("div", { className: "!text-text-success !text-lg font-semibold", children: "Active" }),
|
|
55
|
+
/* @__PURE__ */ e("div", { className: "!text-sm font-medium uppercase", children: "status" })
|
|
56
|
+
] }) })
|
|
57
|
+
] }),
|
|
58
|
+
/* @__PURE__ */ t("div", { className: "bg-card-bg-secondary rounded-md px-4 py-5", children: [
|
|
59
|
+
/* @__PURE__ */ t("div", { className: "flex items-center gap-2 !text-sm font-semibold uppercase", children: [
|
|
60
|
+
/* @__PURE__ */ e(i, { size: 16 }),
|
|
61
|
+
"time details"
|
|
62
|
+
] }),
|
|
63
|
+
/* @__PURE__ */ t("div", { className: "mt-5 flex justify-between", children: [
|
|
64
|
+
/* @__PURE__ */ e("div", { className: "!text-text-secondary", children: "Start Date" }),
|
|
65
|
+
/* @__PURE__ */ e("div", { className: "!text-text-accent-primary", children: "March 1, 2025" })
|
|
66
|
+
] }),
|
|
67
|
+
/* @__PURE__ */ t("div", { className: "border-border-secondary mt-3 flex justify-between border-t pt-3", children: [
|
|
68
|
+
/* @__PURE__ */ e("div", { className: "!text-text-secondary", children: "Time Range" }),
|
|
69
|
+
/* @__PURE__ */ e("div", { className: "!text-text-accent-primary", children: "8:43am - 9:26am" })
|
|
70
|
+
] })
|
|
71
|
+
] }),
|
|
72
|
+
/* @__PURE__ */ t("div", { className: "bg-card-bg-secondary rounded-md px-4 py-5", children: [
|
|
73
|
+
/* @__PURE__ */ t("div", { className: "flex items-center gap-2 !text-sm font-semibold uppercase", children: [
|
|
74
|
+
/* @__PURE__ */ e(a, { size: 16 }),
|
|
75
|
+
"active duration"
|
|
76
|
+
] }),
|
|
77
|
+
/* @__PURE__ */ t("div", { className: "sb-unstyled mt-4 flex flex-col justify-between", children: [
|
|
78
|
+
/* @__PURE__ */ e("div", { className: "!text-text-accent-primary flex justify-center !text-xl font-semibold", children: "44.3 minutes" }),
|
|
79
|
+
/* @__PURE__ */ e("div", { className: "flex justify-center !text-sm font-medium uppercase", children: "total active time" })
|
|
80
|
+
] })
|
|
81
|
+
] })
|
|
82
|
+
] }) });
|
|
83
|
+
export {
|
|
84
|
+
T as SensorMetadata
|
|
85
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SettingsPopover.d.ts","sourceRoot":"","sources":["../../../src/features/SettingsPopover/SettingsPopover.tsx"],"names":[],"mappings":"AAkBA,eAAO,MAAM,eAAe,+CAqK3B,CAAA"}
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs as r, jsx as e } from "react/jsx-runtime";
|
|
3
|
+
import "../Icons/AnnotationsIcon.js";
|
|
4
|
+
import "../Icons/CalendarIcon.js";
|
|
5
|
+
import "../Icons/ClockIcon.js";
|
|
6
|
+
import "../Icons/DeleteIcon.js";
|
|
7
|
+
import "../Icons/DurationIcon.js";
|
|
8
|
+
import "../Icons/EraserIcon.js";
|
|
9
|
+
import { GoToFirstIcon as w } from "../Icons/GoToFirstIcon.js";
|
|
10
|
+
import { GoToLastIcon as N } from "../Icons/GoToLastIcon.js";
|
|
11
|
+
import "../Icons/InfoIcon.js";
|
|
12
|
+
import "../Icons/LabelIcon.js";
|
|
13
|
+
import "../Icons/LassoIcon.js";
|
|
14
|
+
import "../Icons/LineToolIcon.js";
|
|
15
|
+
import { LiveViewIcon as T } from "../Icons/LiveViewIcon.js";
|
|
16
|
+
import "../Icons/LocationIcon.js";
|
|
17
|
+
import "../Icons/MetadataIcon.js";
|
|
18
|
+
import "../Icons/OntologyIcon.js";
|
|
19
|
+
import "../Icons/PlayIcon.js";
|
|
20
|
+
import "../Icons/PlusIcon.js";
|
|
21
|
+
import { ResetIcon as x } from "../Icons/ResetIcon.js";
|
|
22
|
+
import "../Icons/ScissorsIcon.js";
|
|
23
|
+
import { SettingsIcon as z } from "../Icons/SettingsIcon.js";
|
|
24
|
+
import "../Icons/TrashIcon.js";
|
|
25
|
+
import "../Icons/UndoIcon.js";
|
|
26
|
+
import { ZoomAllIcon as O } from "../Icons/ZoomAllIcon.js";
|
|
27
|
+
import { ZoomXIcon as I } from "../Icons/ZoomXIcon.js";
|
|
28
|
+
import { ZoomYIcon as k } from "../Icons/ZoomYIcon.js";
|
|
29
|
+
import { Popover as C, PopoverTrigger as G, PopoverContent as V } from "../Popover.js";
|
|
30
|
+
import { RadioGroup as R, RadioGroupItem as a } from "../RadioGroup.js";
|
|
31
|
+
import { Switch as S } from "../Switch.js";
|
|
32
|
+
import { Toggle as p } from "../Toggle.js";
|
|
33
|
+
import { ToggleGroup as h, ToggleGroupItem as l } from "../ToggleGroup.js";
|
|
34
|
+
import { Tooltip as s, TooltipTrigger as m, TooltipContent as n } from "../Tooltip.js";
|
|
35
|
+
import { useState as c } from "react";
|
|
36
|
+
const he = () => {
|
|
37
|
+
const [g, b] = c("green-black"), [f, d] = c(""), [v, i] = c(!1), [u, y] = c(!1);
|
|
38
|
+
return /* @__PURE__ */ r(C, { open: v, onOpenChange: i, children: [
|
|
39
|
+
/* @__PURE__ */ e(G, { children: /* @__PURE__ */ e(p, { pressed: !1, children: /* @__PURE__ */ e(z, {}) }) }),
|
|
40
|
+
/* @__PURE__ */ r(V, { side: "bottom", align: "end", children: [
|
|
41
|
+
/* @__PURE__ */ r("div", { className: "mb-6 w-full", children: [
|
|
42
|
+
/* @__PURE__ */ e("p", { className: "text-md text-md mb-3 font-semibold", children: "Zoom Options" }),
|
|
43
|
+
/* @__PURE__ */ r(
|
|
44
|
+
h,
|
|
45
|
+
{
|
|
46
|
+
type: "single",
|
|
47
|
+
layout: "expanded",
|
|
48
|
+
value: f,
|
|
49
|
+
onValueChange: (t) => {
|
|
50
|
+
const o = typeof t == "string" ? t : "";
|
|
51
|
+
d(o), o && i(!1);
|
|
52
|
+
},
|
|
53
|
+
children: [
|
|
54
|
+
/* @__PURE__ */ r(l, { value: "zoom-all", children: [
|
|
55
|
+
/* @__PURE__ */ e(O, { size: 16 }),
|
|
56
|
+
"All"
|
|
57
|
+
] }),
|
|
58
|
+
/* @__PURE__ */ r(l, { value: "zoom-bearing", children: [
|
|
59
|
+
/* @__PURE__ */ e(I, { size: 16 }),
|
|
60
|
+
"Bearing"
|
|
61
|
+
] }),
|
|
62
|
+
/* @__PURE__ */ r(l, { value: "zoom-time", children: [
|
|
63
|
+
/* @__PURE__ */ e(k, { size: 16 }),
|
|
64
|
+
"Time"
|
|
65
|
+
] })
|
|
66
|
+
]
|
|
67
|
+
}
|
|
68
|
+
),
|
|
69
|
+
/* @__PURE__ */ r(
|
|
70
|
+
p,
|
|
71
|
+
{
|
|
72
|
+
pressed: !1,
|
|
73
|
+
"aria-label": "Reset zoom",
|
|
74
|
+
className: "active:bg-selected-primary",
|
|
75
|
+
onClick: () => {
|
|
76
|
+
d("");
|
|
77
|
+
},
|
|
78
|
+
children: [
|
|
79
|
+
/* @__PURE__ */ e(x, { size: 16 }),
|
|
80
|
+
"Reset"
|
|
81
|
+
]
|
|
82
|
+
}
|
|
83
|
+
)
|
|
84
|
+
] }),
|
|
85
|
+
/* @__PURE__ */ r("div", { className: "border-border-secondary mb-6 w-full border-t pt-4", children: [
|
|
86
|
+
/* @__PURE__ */ e("p", { className: "text-md text-md mb-3 font-semibold", children: "Display Options" }),
|
|
87
|
+
/* @__PURE__ */ r("div", { className: "flex items-center justify-between", children: [
|
|
88
|
+
"View Annotations",
|
|
89
|
+
/* @__PURE__ */ e(
|
|
90
|
+
S,
|
|
91
|
+
{
|
|
92
|
+
checked: u,
|
|
93
|
+
onChange: (t) => {
|
|
94
|
+
y(t), t && i(!1);
|
|
95
|
+
},
|
|
96
|
+
labelText: "View Annotations",
|
|
97
|
+
hideLabel: !0,
|
|
98
|
+
id: "view-annotations"
|
|
99
|
+
}
|
|
100
|
+
)
|
|
101
|
+
] })
|
|
102
|
+
] }),
|
|
103
|
+
/* @__PURE__ */ r("div", { className: "border-border-secondary mb-6 w-full border-t pt-4", children: [
|
|
104
|
+
/* @__PURE__ */ e("p", { className: "text-md text-md mb-3 font-semibold", children: "Theme Options" }),
|
|
105
|
+
/* @__PURE__ */ r(
|
|
106
|
+
R,
|
|
107
|
+
{
|
|
108
|
+
orientation: "horizontal",
|
|
109
|
+
className: "flex items-center gap-3",
|
|
110
|
+
value: g,
|
|
111
|
+
onValueChange: (t) => {
|
|
112
|
+
const o = typeof t == "string" ? t : "green-black";
|
|
113
|
+
b(o), o && i(!1);
|
|
114
|
+
},
|
|
115
|
+
variant: "unstyled",
|
|
116
|
+
children: [
|
|
117
|
+
/* @__PURE__ */ e(a, { value: "green-black", "aria-label": "green & black theme", children: /* @__PURE__ */ r(s, { children: [
|
|
118
|
+
/* @__PURE__ */ e(m, { children: /* @__PURE__ */ e("img", { src: "/themes/green-black-theme.webp", alt: "green & black theme", className: "h-8 w-8" }) }),
|
|
119
|
+
/* @__PURE__ */ e(n, { side: "bottom", sideOffset: 8, children: /* @__PURE__ */ e("p", { children: "Green & Black Theme" }) })
|
|
120
|
+
] }) }),
|
|
121
|
+
/* @__PURE__ */ e(a, { value: "grayscale", "aria-label": "grayscale theme", children: /* @__PURE__ */ r(s, { children: [
|
|
122
|
+
/* @__PURE__ */ e(m, { children: /* @__PURE__ */ e("img", { src: "/themes/grayscale-theme.webp", alt: "grayscale theme", className: "h-8 w-8" }) }),
|
|
123
|
+
/* @__PURE__ */ e(n, { side: "bottom", sideOffset: 8, children: /* @__PURE__ */ e("p", { children: "Grayscale Theme" }) })
|
|
124
|
+
] }) }),
|
|
125
|
+
/* @__PURE__ */ e(a, { value: "reverse-grayscale", "aria-label": "reverse grayscale theme", children: /* @__PURE__ */ r(s, { children: [
|
|
126
|
+
/* @__PURE__ */ e(m, { children: /* @__PURE__ */ e("img", { src: "/themes/reverse-grayscale-theme.webp", alt: "reverse grayscale theme", className: "h-8 w-8" }) }),
|
|
127
|
+
/* @__PURE__ */ e(n, { side: "bottom", sideOffset: 8, children: /* @__PURE__ */ e("p", { children: "Reverse Grayscale Theme" }) })
|
|
128
|
+
] }) }),
|
|
129
|
+
/* @__PURE__ */ e(a, { value: "viridis", "aria-label": "viridis theme", children: /* @__PURE__ */ r(s, { children: [
|
|
130
|
+
/* @__PURE__ */ e(m, { children: /* @__PURE__ */ e("img", { src: "/themes/viridis-theme.webp", alt: "viridis theme", className: "h-8 w-8" }) }),
|
|
131
|
+
/* @__PURE__ */ e(n, { side: "bottom", sideOffset: 8, children: /* @__PURE__ */ e("p", { children: "Viridis Theme" }) })
|
|
132
|
+
] }) })
|
|
133
|
+
]
|
|
134
|
+
}
|
|
135
|
+
)
|
|
136
|
+
] }),
|
|
137
|
+
/* @__PURE__ */ r("div", { className: "border-border-secondary mb-2 w-full border-t pt-4", children: [
|
|
138
|
+
/* @__PURE__ */ e("p", { className: "text-md text-md mb-3 font-semibold", children: "View Options" }),
|
|
139
|
+
/* @__PURE__ */ r(
|
|
140
|
+
p,
|
|
141
|
+
{
|
|
142
|
+
pressed: !1,
|
|
143
|
+
className: "active:bg-selected-primary mb-4 w-full",
|
|
144
|
+
onClick: () => {
|
|
145
|
+
i(!1);
|
|
146
|
+
},
|
|
147
|
+
children: [
|
|
148
|
+
/* @__PURE__ */ e(T, { size: 18 }),
|
|
149
|
+
"Realtime Stream"
|
|
150
|
+
]
|
|
151
|
+
}
|
|
152
|
+
),
|
|
153
|
+
/* @__PURE__ */ r(
|
|
154
|
+
h,
|
|
155
|
+
{
|
|
156
|
+
type: "single",
|
|
157
|
+
layout: "expanded",
|
|
158
|
+
onValueChange: (t) => {
|
|
159
|
+
const o = typeof t == "string" ? t : "";
|
|
160
|
+
d(o), o && i(!1);
|
|
161
|
+
},
|
|
162
|
+
children: [
|
|
163
|
+
/* @__PURE__ */ r(
|
|
164
|
+
l,
|
|
165
|
+
{
|
|
166
|
+
value: "zoom-time",
|
|
167
|
+
className: "active:bg-selected-primary data-[state=on]:bg-toggle-bg data-[state=on]:border-toggle-border",
|
|
168
|
+
children: [
|
|
169
|
+
/* @__PURE__ */ e(w, { size: 16 }),
|
|
170
|
+
"Oldest Data"
|
|
171
|
+
]
|
|
172
|
+
}
|
|
173
|
+
),
|
|
174
|
+
/* @__PURE__ */ r(
|
|
175
|
+
l,
|
|
176
|
+
{
|
|
177
|
+
value: "zoom-bearing",
|
|
178
|
+
className: "active:bg-selected-primary data-[state=on]:bg-toggle-bg data-[state=on]:border-toggle-border",
|
|
179
|
+
children: [
|
|
180
|
+
/* @__PURE__ */ e(N, { size: 16 }),
|
|
181
|
+
"Newest Data"
|
|
182
|
+
]
|
|
183
|
+
}
|
|
184
|
+
)
|
|
185
|
+
]
|
|
186
|
+
}
|
|
187
|
+
)
|
|
188
|
+
] })
|
|
189
|
+
] })
|
|
190
|
+
] });
|
|
191
|
+
};
|
|
192
|
+
export {
|
|
193
|
+
he as SettingsPopover
|
|
194
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export { Button, type ButtonProps } from './components/Button/Button';
|
|
|
3
3
|
export { Card, type CardProps } from './components/Card/Card';
|
|
4
4
|
export { Drawer, type DrawerProps } from './components/Drawer/Drawer';
|
|
5
5
|
export { Popover, PopoverContent, PopoverTrigger } from './components/Popover/Popover';
|
|
6
|
+
export { RadioGroup, RadioGroupItem } from './components/RadioGroup/RadioGroup';
|
|
6
7
|
export { Skeleton } from './components/Skeleton/Skeleton';
|
|
7
8
|
export { Slider, type SliderProps } from './components/Slider/Slider';
|
|
8
9
|
export { Switch } from './components/Switch/Switch';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO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 +1,11 @@
|
|
|
1
|
+
import { c } from "./createLucideIcon-CI1yJrZf.js";
|
|
2
|
+
/**
|
|
3
|
+
* @license lucide-react v0.542.0 - ISC
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the ISC license.
|
|
6
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
const e = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]], a = c("loader-circle", e);
|
|
9
|
+
export {
|
|
10
|
+
a as L
|
|
11
|
+
};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spear-ai/spectral",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.22",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": false,
|
|
6
6
|
"repository": {
|
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
"import": "./dist/*.js",
|
|
20
20
|
"types": "./dist/*.d.ts"
|
|
21
21
|
},
|
|
22
|
-
"./styles": "./dist/assets/main.css"
|
|
22
|
+
"./styles": "./dist/assets/main.css",
|
|
23
|
+
"./styles/base-colors.css": "./dist/styles/base-colors.css"
|
|
23
24
|
},
|
|
24
25
|
"typesVersions": {
|
|
25
26
|
"*": {
|
|
@@ -58,6 +59,8 @@
|
|
|
58
59
|
"@storybook/react": "^9.1.4",
|
|
59
60
|
"@storybook/react-vite": "^9.1.3",
|
|
60
61
|
"@tailwindcss/vite": "^4.1.12",
|
|
62
|
+
"@testing-library/jest-dom": "^6.8.0",
|
|
63
|
+
"@testing-library/react": "^16.3.0",
|
|
61
64
|
"@types/node": "^24.3.1",
|
|
62
65
|
"@types/react": "^19.1.12",
|
|
63
66
|
"@types/react-dom": "^19.1.9",
|