@spear-ai/spectral 1.3.59 → 1.3.60

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.
@@ -1,23 +1,23 @@
1
1
  "use client";
2
2
  import "../styles/main.css";
3
- import { jsxs as a, jsx as o } from "react/jsx-runtime";
4
- import k from "./IconBase.js";
5
- import { forwardRef as C } from "react";
6
- const c = ({ className: r, ariaHidden: t, title: e = "Dashboard", description: n, size: s = 24, ...d }, i) => /* @__PURE__ */ a(
7
- k,
3
+ import { jsxs as h, jsx as o } from "react/jsx-runtime";
4
+ import i from "./IconBase.js";
5
+ import { forwardRef as c } from "react";
6
+ const k = ({ className: r, ariaHidden: a, title: t = "Dashboard", description: e, size: n = 24, ...s }, d) => /* @__PURE__ */ h(
7
+ i,
8
8
  {
9
- size: s,
9
+ size: n,
10
10
  className: r,
11
- title: e,
12
- description: n,
13
- ariaHidden: t,
14
- ref: i,
15
- ...d,
11
+ title: t,
12
+ description: e,
13
+ ariaHidden: a,
14
+ ref: d,
15
+ ...s,
16
16
  children: [
17
17
  /* @__PURE__ */ o(
18
18
  "path",
19
19
  {
20
- d: "M3.16962 6.91225C3.16962 5.60219 3.16962 4.94715 3.4247 4.44677C3.64907 4.00662 4.0071 3.64877 4.44747 3.42451C4.9481 3.16956 5.60346 3.16956 6.91418 3.16956H10.1907V7.84792H3.16962V6.91225Z",
20
+ d: "M4 4m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v1a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z",
21
21
  stroke: "currentColor",
22
22
  strokeWidth: "2",
23
23
  strokeLinecap: "round",
@@ -27,7 +27,7 @@ const c = ({ className: r, ariaHidden: t, title: e = "Dashboard", description: n
27
27
  /* @__PURE__ */ o(
28
28
  "path",
29
29
  {
30
- d: "M13.345 15.6842H20.3661V16.6199C20.3661 17.9299 20.3661 18.585 20.111 19.0854C19.8867 19.5255 19.5286 19.8834 19.0883 20.1076C18.5877 20.3626 17.9322 20.3626 16.6215 20.3626H13.345V15.6842Z",
30
+ d: "M4 13m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v3a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z",
31
31
  stroke: "currentColor",
32
32
  strokeWidth: "2",
33
33
  strokeLinecap: "round",
@@ -37,17 +37,7 @@ const c = ({ className: r, ariaHidden: t, title: e = "Dashboard", description: n
37
37
  /* @__PURE__ */ o(
38
38
  "path",
39
39
  {
40
- d: "M3.16956 11.0059H10.1906V20.3626H6.91412C5.6034 20.3626 4.94804 20.3626 4.44741 20.1076C4.00704 19.8834 3.64901 19.5255 3.42464 19.0854C3.16956 18.585 3.16956 17.93 3.16956 16.6199V11.0059Z",
41
- stroke: "currentColor",
42
- strokeWidth: "2",
43
- strokeLinecap: "round",
44
- strokeLinejoin: "round"
45
- }
46
- ),
47
- /* @__PURE__ */ o(
48
- "path",
49
- {
50
- d: "M13.345 3.16956H16.6215C17.9322 3.16956 18.5877 3.16956 19.0883 3.42451C19.5286 3.64877 19.8867 4.00662 20.111 4.44677C20.3661 4.94715 20.3661 5.60219 20.3661 6.91225V12.5263H13.345V3.16956Z",
40
+ d: "M14 4m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z",
51
41
  stroke: "currentColor",
52
42
  strokeWidth: "2",
53
43
  strokeLinecap: "round",
@@ -56,8 +46,8 @@ const c = ({ className: r, ariaHidden: t, title: e = "Dashboard", description: n
56
46
  )
57
47
  ]
58
48
  }
59
- ), h = C(c);
60
- h.displayName = "DashboardIcon";
49
+ ), p = c(k);
50
+ p.displayName = "DashboardIcon";
61
51
  export {
62
- h as DashboardIcon
52
+ p as DashboardIcon
63
53
  };
@@ -1 +1 @@
1
- {"version":3,"file":"DashboardIcon.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/DashboardIcon.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAiD5C,eAAO,MAAM,aAAa,qGAA4B,CAAA"}
1
+ {"version":3,"file":"DashboardIcon.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/DashboardIcon.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AA0C5C,eAAO,MAAM,aAAa,qGAA4B,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"LabelingTools.d.ts","sourceRoot":"","sources":["../../../src/features/LabelingTools/LabelingTools.tsx"],"names":[],"mappings":"AAiBA,eAAO,MAAM,aAAa,+CAwJzB,CAAA"}
1
+ {"version":3,"file":"LabelingTools.d.ts","sourceRoot":"","sources":["../../../src/features/LabelingTools/LabelingTools.tsx"],"names":[],"mappings":"AAgBA,eAAO,MAAM,aAAa,+CA8IzB,CAAA"}
@@ -12,10 +12,10 @@ import "../Icons/ClockIcon.js";
12
12
  import "../Icons/CloseCircleIcon.js";
13
13
  import "../Icons/CloseIcon.js";
14
14
  import "../Icons/DashboardIcon.js";
15
- import { DeleteIcon as m } from "../Icons/DeleteIcon.js";
15
+ import { DeleteIcon as d } from "../Icons/DeleteIcon.js";
16
16
  import "../Icons/DurationIcon.js";
17
17
  import "../Icons/EmailIcon.js";
18
- import { EraserIcon as n } from "../Icons/EraserIcon.js";
18
+ import { EraserIcon as m } from "../Icons/EraserIcon.js";
19
19
  import "../Icons/ErrorIcon.js";
20
20
  import "../Icons/EyeClosedIcon.js";
21
21
  import "../Icons/EyeClosedIcon2.js";
@@ -25,73 +25,73 @@ import "../Icons/GoToLastIcon.js";
25
25
  import "../Icons/HarmonicCursorsIcon.js";
26
26
  import "../Icons/InfoIcon.js";
27
27
  import { LabelIcon as c } from "../Icons/LabelIcon.js";
28
- import { LassoIcon as g } from "../Icons/LassoIcon.js";
29
- import { LineToolIcon as p } from "../Icons/LineToolIcon.js";
28
+ import { LassoIcon as n } from "../Icons/LassoIcon.js";
29
+ import { LineToolIcon as g } from "../Icons/LineToolIcon.js";
30
30
  import "../Icons/LiveViewIcon.js";
31
31
  import "../Icons/LoaderIcon.js";
32
32
  import "../Icons/LocationIcon.js";
33
33
  import "../Icons/LogoutIcon.js";
34
- import { MetadataIcon as b } from "../Icons/MetadataIcon.js";
34
+ import { MetadataIcon as p } from "../Icons/MetadataIcon.js";
35
35
  import "../Icons/MinusIcon.js";
36
- import { OntologyIcon as h } from "../Icons/OntologyIcon.js";
36
+ import "../Icons/OntologyIcon.js";
37
37
  import "../Icons/PanelIconClose.js";
38
38
  import "../Icons/PanelIconOpen.js";
39
39
  import "../Icons/PlayIcon.js";
40
- import { PlusIcon as f } from "../Icons/PlusIcon.js";
40
+ import { PlusIcon as h } from "../Icons/PlusIcon.js";
41
41
  import "../Icons/ResetIcon.js";
42
- import { ScissorsIcon as v } from "../Icons/ScissorsIcon.js";
42
+ import { ScissorsIcon as b } from "../Icons/ScissorsIcon.js";
43
43
  import "../Icons/SettingsIcon.js";
44
44
  import "../Icons/TrashIcon.js";
45
- import { UndoIcon as u } from "../Icons/UndoIcon.js";
45
+ import { UndoIcon as f } from "../Icons/UndoIcon.js";
46
46
  import "../Icons/UserIcon.js";
47
47
  import "../Icons/WarningIcon.js";
48
48
  import "../Icons/ZoomAllIcon.js";
49
49
  import "../Icons/ZoomXIcon.js";
50
50
  import "../Icons/ZoomYIcon.js";
51
- import { Toggle as d } from "../Toggle.js";
51
+ import { Toggle as u } from "../Toggle.js";
52
52
  import { ToggleGroup as s, ToggleGroupItem as l } from "../ToggleGroup.js";
53
- import { Tooltip as i, TooltipTrigger as o, TooltipContent as t } from "../Tooltip.js";
54
- const ve = () => /* @__PURE__ */ r("div", { className: "flex items-center gap-4", children: [
53
+ import { Tooltip as t, TooltipTrigger as i, TooltipContent as o } from "../Tooltip.js";
54
+ const fe = () => /* @__PURE__ */ r("div", { className: "flex items-center gap-4", children: [
55
55
  /* @__PURE__ */ e("div", { className: "flex", children: /* @__PURE__ */ r(s, { type: "single", variant: "outline", children: [
56
- /* @__PURE__ */ r(i, { children: [
57
- /* @__PURE__ */ e(o, { children: /* @__PURE__ */ r(l, { value: "crosshairs", children: [
58
- /* @__PURE__ */ e(f, { size: 22 }),
56
+ /* @__PURE__ */ r(t, { children: [
57
+ /* @__PURE__ */ e(i, { asChild: !0, children: /* @__PURE__ */ r(l, { value: "crosshairs", children: [
58
+ /* @__PURE__ */ e(h, { size: 22 }),
59
59
  /* @__PURE__ */ e(a, { className: "ml-1", children: "C" })
60
60
  ] }) }),
61
- /* @__PURE__ */ e(t, { sideOffset: 8, side: "bottom", children: "Crosshairs tool (C)" })
61
+ /* @__PURE__ */ e(o, { sideOffset: 8, side: "bottom", children: "Crosshairs tool (C)" })
62
62
  ] }),
63
- /* @__PURE__ */ r(i, { children: [
64
- /* @__PURE__ */ e(o, { children: /* @__PURE__ */ r(l, { value: "lasso", children: [
65
- /* @__PURE__ */ e(g, { size: 22 }),
63
+ /* @__PURE__ */ r(t, { children: [
64
+ /* @__PURE__ */ e(i, { asChild: !0, children: /* @__PURE__ */ r(l, { value: "lasso", children: [
65
+ /* @__PURE__ */ e(n, { size: 22 }),
66
66
  /* @__PURE__ */ e(a, { className: "ml-1", children: "L" })
67
67
  ] }) }),
68
- /* @__PURE__ */ e(t, { sideOffset: 8, side: "bottom", children: "Lasso tool (L)" })
68
+ /* @__PURE__ */ e(o, { sideOffset: 8, side: "bottom", children: "Lasso tool (L)" })
69
69
  ] }),
70
- /* @__PURE__ */ r(i, { children: [
71
- /* @__PURE__ */ e(o, { children: /* @__PURE__ */ r(l, { value: "points", children: [
72
- /* @__PURE__ */ e(p, { size: 22 }),
70
+ /* @__PURE__ */ r(t, { children: [
71
+ /* @__PURE__ */ e(i, { asChild: !0, children: /* @__PURE__ */ r(l, { value: "points", children: [
72
+ /* @__PURE__ */ e(g, { size: 22 }),
73
73
  /* @__PURE__ */ e(a, { className: "ml-1", children: "P" })
74
74
  ] }) }),
75
- /* @__PURE__ */ e(t, { sideOffset: 8, side: "bottom", children: "Points tool (P)" })
75
+ /* @__PURE__ */ e(o, { sideOffset: 8, side: "bottom", children: "Points tool (P)" })
76
76
  ] })
77
77
  ] }) }),
78
78
  /* @__PURE__ */ e("div", { className: "flex", children: /* @__PURE__ */ r(s, { type: "single", variant: "outline", children: [
79
- /* @__PURE__ */ r(i, { children: [
80
- /* @__PURE__ */ e(o, { children: /* @__PURE__ */ r(
79
+ /* @__PURE__ */ r(t, { children: [
80
+ /* @__PURE__ */ e(i, { asChild: !0, children: /* @__PURE__ */ r(
81
81
  l,
82
82
  {
83
83
  value: "crosshairs",
84
84
  className: "data-[state=on]:bg-toggle-bg data-[state=on]:border-toggle-border",
85
85
  children: [
86
- /* @__PURE__ */ e(v, { size: 22 }),
86
+ /* @__PURE__ */ e(b, { size: 22 }),
87
87
  /* @__PURE__ */ e(a, { className: "group-data-[state=on]:bg-badge-primary-bg active:bg-badge-primary-bg--active ml-1", children: "⌘X" })
88
88
  ]
89
89
  }
90
90
  ) }),
91
- /* @__PURE__ */ e(t, { sideOffset: 8, side: "bottom", children: "Scissor tool (⌘X)" })
91
+ /* @__PURE__ */ e(o, { sideOffset: 8, side: "bottom", children: "Scissor tool (⌘X)" })
92
92
  ] }),
93
- /* @__PURE__ */ r(i, { children: [
94
- /* @__PURE__ */ e(o, { children: /* @__PURE__ */ r(
93
+ /* @__PURE__ */ r(t, { children: [
94
+ /* @__PURE__ */ e(i, { asChild: !0, children: /* @__PURE__ */ r(
95
95
  l,
96
96
  {
97
97
  value: "lasso",
@@ -102,64 +102,58 @@ const ve = () => /* @__PURE__ */ r("div", { className: "flex items-center gap-4"
102
102
  ]
103
103
  }
104
104
  ) }),
105
- /* @__PURE__ */ e(t, { sideOffset: 8, side: "bottom", children: "Label tool (⌘T)" })
105
+ /* @__PURE__ */ e(o, { sideOffset: 8, side: "bottom", children: "Label tool (⌘T)" })
106
106
  ] })
107
107
  ] }) }),
108
108
  /* @__PURE__ */ e("div", { className: "flex", children: /* @__PURE__ */ r(s, { type: "single", variant: "outline", children: [
109
- /* @__PURE__ */ r(i, { children: [
110
- /* @__PURE__ */ e(o, { children: /* @__PURE__ */ r(
109
+ /* @__PURE__ */ r(t, { children: [
110
+ /* @__PURE__ */ e(i, { asChild: !0, children: /* @__PURE__ */ r(
111
111
  l,
112
112
  {
113
113
  value: "undo",
114
114
  className: "data-[state=on]:bg-toggle-bg data-[state=on]:border-toggle-border",
115
115
  children: [
116
- /* @__PURE__ */ e(u, { size: 22 }),
116
+ /* @__PURE__ */ e(f, { size: 22 }),
117
117
  /* @__PURE__ */ e(a, { className: "group-data-[state=on]:bg-badge-primary-bg active:bg-badge-primary-bg--active ml-1", children: "⌘X" })
118
118
  ]
119
119
  }
120
120
  ) }),
121
- /* @__PURE__ */ e(t, { sideOffset: 8, side: "bottom", children: "Undo last (⌘X)" })
121
+ /* @__PURE__ */ e(o, { sideOffset: 8, side: "bottom", children: "Undo last (⌘X)" })
122
122
  ] }),
123
- /* @__PURE__ */ r(i, { children: [
124
- /* @__PURE__ */ e(o, { children: /* @__PURE__ */ r(
123
+ /* @__PURE__ */ r(t, { children: [
124
+ /* @__PURE__ */ e(i, { asChild: !0, children: /* @__PURE__ */ r(
125
125
  l,
126
126
  {
127
127
  value: "delete",
128
128
  className: "data-[state=on]:bg-toggle-bg data-[state=on]:border-toggle-border",
129
129
  children: [
130
- /* @__PURE__ */ e(m, { size: 22 }),
130
+ /* @__PURE__ */ e(d, { size: 22 }),
131
131
  /* @__PURE__ */ e(a, { className: "group-data-[state=on]:bg-badge-primary-bg active:bg-badge-primary-bg--active ml-1", children: "⌫" })
132
132
  ]
133
133
  }
134
134
  ) }),
135
- /* @__PURE__ */ e(t, { sideOffset: 8, side: "bottom", children: "Delete selected (⌫)" })
135
+ /* @__PURE__ */ e(o, { sideOffset: 8, side: "bottom", children: "Delete selected (⌫)" })
136
136
  ] }),
137
- /* @__PURE__ */ r(i, { children: [
138
- /* @__PURE__ */ e(o, { children: /* @__PURE__ */ r(
137
+ /* @__PURE__ */ r(t, { children: [
138
+ /* @__PURE__ */ e(i, { asChild: !0, children: /* @__PURE__ */ r(
139
139
  l,
140
140
  {
141
141
  value: "clear",
142
142
  className: "data-[state=on]:bg-toggle-bg data-[state=on]:border-toggle-border",
143
143
  children: [
144
- /* @__PURE__ */ e(n, { size: 22 }),
144
+ /* @__PURE__ */ e(m, { size: 22 }),
145
145
  /* @__PURE__ */ e(a, { className: "group-data-[state=on]:bg-badge-primary-bg active:bg-badge-primary-bg--active ml-1", children: "⌘⇧A" })
146
146
  ]
147
147
  }
148
148
  ) }),
149
- /* @__PURE__ */ e(t, { sideOffset: 8, side: "bottom", children: "Clear (⌘⇧A)" })
149
+ /* @__PURE__ */ e(o, { sideOffset: 8, side: "bottom", children: "Clear (⌘⇧A)" })
150
150
  ] })
151
151
  ] }) }),
152
- /* @__PURE__ */ r("div", { className: "flex gap-4", children: [
153
- /* @__PURE__ */ r(i, { children: [
154
- /* @__PURE__ */ e(o, { children: /* @__PURE__ */ e(d, { pressed: !1, children: /* @__PURE__ */ e(b, { size: 22 }) }) }),
155
- /* @__PURE__ */ e(t, { sideOffset: 8, side: "bottom", children: "Metadata" })
156
- ] }),
157
- /* @__PURE__ */ r(i, { children: [
158
- /* @__PURE__ */ e(o, { children: /* @__PURE__ */ e(d, { pressed: !1, children: /* @__PURE__ */ e(h, { size: 22 }) }) }),
159
- /* @__PURE__ */ e(t, { sideOffset: 8, side: "bottom", children: "Ontology" })
160
- ] })
161
- ] })
152
+ /* @__PURE__ */ e("div", { className: "flex gap-4", children: /* @__PURE__ */ r(t, { children: [
153
+ /* @__PURE__ */ e(i, { asChild: !0, children: /* @__PURE__ */ e(u, { pressed: !1, children: /* @__PURE__ */ e(p, { size: 22 }) }) }),
154
+ /* @__PURE__ */ e(o, { sideOffset: 8, side: "bottom", children: "Metadata" })
155
+ ] }) })
162
156
  ] });
163
157
  export {
164
- ve as LabelingTools
158
+ fe as LabelingTools
165
159
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spear-ai/spectral",
3
- "version": "1.3.59",
3
+ "version": "1.3.60",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "repository": {