@spear-ai/spectral 1.3.58 → 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.
Files changed (87) hide show
  1. package/dist/.js +51 -49
  2. package/dist/Alert.d.ts +1 -1
  3. package/dist/Alert.js +3 -2
  4. package/dist/Button.d.ts +5 -5
  5. package/dist/Button.js +4 -5
  6. package/dist/ButtonIcon.d.ts +4 -4
  7. package/dist/ButtonIcon.js +1 -0
  8. package/dist/Dialog/DialogBase.d.ts +14 -14
  9. package/dist/Dialog/DialogBase.js +1 -1
  10. package/dist/Drawer.d.ts +6 -6
  11. package/dist/Icons/DashboardIcon.js +17 -27
  12. package/dist/Icons/MinusIcon.d.ts +3 -0
  13. package/dist/Icons/MinusIcon.js +26 -0
  14. package/dist/Icons/index.d.ts +1 -0
  15. package/dist/Icons.js +40 -38
  16. package/dist/Input.js +1 -0
  17. package/dist/InputOTP.d.ts +29 -0
  18. package/dist/InputOTP.js +302 -0
  19. package/dist/PasswordInput-ClY_hxuN.js +261 -0
  20. package/dist/RadioButtonGroup/RadioButtonGroupBase.d.ts +6 -6
  21. package/dist/RadioGroup.d.ts +7 -7
  22. package/dist/Select.d.ts +12 -12
  23. package/dist/Select.js +1 -0
  24. package/dist/Switch.d.ts +6 -6
  25. package/dist/Textarea.js +1 -0
  26. package/dist/Toggle/ToggleBase.d.ts +6 -4
  27. package/dist/ToggleGroup/ToggleGroupBase.d.ts +8 -8
  28. package/dist/components/Alert/Alert.d.ts +1 -1
  29. package/dist/components/Alert/Alert.d.ts.map +1 -1
  30. package/dist/components/Button/Button.d.ts +5 -5
  31. package/dist/components/Button/Button.d.ts.map +1 -1
  32. package/dist/components/ButtonIcon/ButtonIcon.d.ts +4 -4
  33. package/dist/components/ButtonIcon/ButtonIcon.d.ts.map +1 -1
  34. package/dist/components/Dialog/DialogBase.d.ts +14 -14
  35. package/dist/components/Dialog/DialogBase.d.ts.map +1 -1
  36. package/dist/components/Drawer/Drawer.d.ts +6 -6
  37. package/dist/components/Drawer/Drawer.d.ts.map +1 -1
  38. package/dist/components/Icons/DashboardIcon.d.ts.map +1 -1
  39. package/dist/components/Icons/MinusIcon.d.ts +3 -0
  40. package/dist/components/Icons/MinusIcon.d.ts.map +1 -0
  41. package/dist/components/Icons/index.d.ts +1 -0
  42. package/dist/components/Icons/index.d.ts.map +1 -1
  43. package/dist/components/InputOTP/InputOTP.d.ts +29 -0
  44. package/dist/components/InputOTP/InputOTP.d.ts.map +1 -0
  45. package/dist/components/RadioButtonGroup/RadioButtonGroupBase.d.ts +6 -6
  46. package/dist/components/RadioButtonGroup/RadioButtonGroupBase.d.ts.map +1 -1
  47. package/dist/components/RadioGroup/RadioGroup.d.ts +7 -7
  48. package/dist/components/RadioGroup/RadioGroup.d.ts.map +1 -1
  49. package/dist/components/Select/Select.d.ts +12 -12
  50. package/dist/components/Select/Select.d.ts.map +1 -1
  51. package/dist/components/Switch/Switch.d.ts +6 -6
  52. package/dist/components/Switch/Switch.d.ts.map +1 -1
  53. package/dist/components/Toggle/ToggleBase.d.ts +6 -4
  54. package/dist/components/Toggle/ToggleBase.d.ts.map +1 -1
  55. package/dist/components/ToggleGroup/ToggleGroupBase.d.ts +8 -8
  56. package/dist/components/ToggleGroup/ToggleGroupBase.d.ts.map +1 -1
  57. package/dist/features/AuthCard/AuthCard.d.ts.map +1 -1
  58. package/dist/features/AuthCard/AuthToggle.d.ts +9 -0
  59. package/dist/features/AuthCard/AuthToggle.d.ts.map +1 -0
  60. package/dist/features/AuthCard/AuthToggle.js +36 -0
  61. package/dist/features/AuthCard/ForgotPasswordEmailForm.d.ts +11 -0
  62. package/dist/features/AuthCard/ForgotPasswordEmailForm.d.ts.map +1 -0
  63. package/dist/features/AuthCard/ForgotPasswordEmailForm.js +92 -0
  64. package/dist/features/AuthCard/ForgotPasswordResetForm.d.ts +11 -0
  65. package/dist/features/AuthCard/ForgotPasswordResetForm.d.ts.map +1 -0
  66. package/dist/features/AuthCard/ForgotPasswordResetForm.js +66 -0
  67. package/dist/features/AuthCard/OTPInput.d.ts +12 -0
  68. package/dist/features/AuthCard/OTPInput.d.ts.map +1 -0
  69. package/dist/features/AuthCard/OTPInput.js +30 -0
  70. package/dist/features/AuthCard/PasswordInput.d.ts +13 -0
  71. package/dist/features/AuthCard/PasswordInput.d.ts.map +1 -0
  72. package/dist/features/AuthCard/PasswordInput.js +56 -0
  73. package/dist/features/AuthCard/SignInForm.d.ts +9 -0
  74. package/dist/features/AuthCard/SignInForm.d.ts.map +1 -0
  75. package/dist/features/AuthCard/SignInForm.js +120 -0
  76. package/dist/features/AuthCard/SignUpForm.d.ts +8 -0
  77. package/dist/features/AuthCard/SignUpForm.d.ts.map +1 -0
  78. package/dist/features/AuthCard/SignUpForm.js +135 -0
  79. package/dist/features/AuthCard.js +234 -5124
  80. package/dist/features/LabelingTools/LabelingTools.d.ts.map +1 -1
  81. package/dist/features/LabelingTools.js +47 -52
  82. package/dist/features/SensorMetadata.js +3 -2
  83. package/dist/features/SettingsPopover.js +3 -2
  84. package/dist/proxy-DD79Ok6n.js +4670 -0
  85. package/dist/styles/main.css +1 -1
  86. package/dist/utils/formFieldUtils.js +1 -1
  87. package/package.json +1 -1
@@ -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,72 +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";
35
- import { OntologyIcon as h } from "../Icons/OntologyIcon.js";
34
+ import { MetadataIcon as p } from "../Icons/MetadataIcon.js";
35
+ import "../Icons/MinusIcon.js";
36
+ import "../Icons/OntologyIcon.js";
36
37
  import "../Icons/PanelIconClose.js";
37
38
  import "../Icons/PanelIconOpen.js";
38
39
  import "../Icons/PlayIcon.js";
39
- import { PlusIcon as f } from "../Icons/PlusIcon.js";
40
+ import { PlusIcon as h } from "../Icons/PlusIcon.js";
40
41
  import "../Icons/ResetIcon.js";
41
- import { ScissorsIcon as v } from "../Icons/ScissorsIcon.js";
42
+ import { ScissorsIcon as b } from "../Icons/ScissorsIcon.js";
42
43
  import "../Icons/SettingsIcon.js";
43
44
  import "../Icons/TrashIcon.js";
44
- import { UndoIcon as u } from "../Icons/UndoIcon.js";
45
+ import { UndoIcon as f } from "../Icons/UndoIcon.js";
45
46
  import "../Icons/UserIcon.js";
46
47
  import "../Icons/WarningIcon.js";
47
48
  import "../Icons/ZoomAllIcon.js";
48
49
  import "../Icons/ZoomXIcon.js";
49
50
  import "../Icons/ZoomYIcon.js";
50
- import { Toggle as d } from "../Toggle.js";
51
+ import { Toggle as u } from "../Toggle.js";
51
52
  import { ToggleGroup as s, ToggleGroupItem as l } from "../ToggleGroup.js";
52
- import { Tooltip as i, TooltipTrigger as o, TooltipContent as t } from "../Tooltip.js";
53
+ import { Tooltip as t, TooltipTrigger as i, TooltipContent as o } from "../Tooltip.js";
53
54
  const fe = () => /* @__PURE__ */ r("div", { className: "flex items-center gap-4", children: [
54
55
  /* @__PURE__ */ e("div", { className: "flex", children: /* @__PURE__ */ r(s, { type: "single", variant: "outline", children: [
55
- /* @__PURE__ */ r(i, { children: [
56
- /* @__PURE__ */ e(o, { children: /* @__PURE__ */ r(l, { value: "crosshairs", children: [
57
- /* @__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 }),
58
59
  /* @__PURE__ */ e(a, { className: "ml-1", children: "C" })
59
60
  ] }) }),
60
- /* @__PURE__ */ e(t, { sideOffset: 8, side: "bottom", children: "Crosshairs tool (C)" })
61
+ /* @__PURE__ */ e(o, { sideOffset: 8, side: "bottom", children: "Crosshairs tool (C)" })
61
62
  ] }),
62
- /* @__PURE__ */ r(i, { children: [
63
- /* @__PURE__ */ e(o, { children: /* @__PURE__ */ r(l, { value: "lasso", children: [
64
- /* @__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 }),
65
66
  /* @__PURE__ */ e(a, { className: "ml-1", children: "L" })
66
67
  ] }) }),
67
- /* @__PURE__ */ e(t, { sideOffset: 8, side: "bottom", children: "Lasso tool (L)" })
68
+ /* @__PURE__ */ e(o, { sideOffset: 8, side: "bottom", children: "Lasso tool (L)" })
68
69
  ] }),
69
- /* @__PURE__ */ r(i, { children: [
70
- /* @__PURE__ */ e(o, { children: /* @__PURE__ */ r(l, { value: "points", children: [
71
- /* @__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 }),
72
73
  /* @__PURE__ */ e(a, { className: "ml-1", children: "P" })
73
74
  ] }) }),
74
- /* @__PURE__ */ e(t, { sideOffset: 8, side: "bottom", children: "Points tool (P)" })
75
+ /* @__PURE__ */ e(o, { sideOffset: 8, side: "bottom", children: "Points tool (P)" })
75
76
  ] })
76
77
  ] }) }),
77
78
  /* @__PURE__ */ e("div", { className: "flex", children: /* @__PURE__ */ r(s, { type: "single", variant: "outline", children: [
78
- /* @__PURE__ */ r(i, { children: [
79
- /* @__PURE__ */ e(o, { children: /* @__PURE__ */ r(
79
+ /* @__PURE__ */ r(t, { children: [
80
+ /* @__PURE__ */ e(i, { asChild: !0, children: /* @__PURE__ */ r(
80
81
  l,
81
82
  {
82
83
  value: "crosshairs",
83
84
  className: "data-[state=on]:bg-toggle-bg data-[state=on]:border-toggle-border",
84
85
  children: [
85
- /* @__PURE__ */ e(v, { size: 22 }),
86
+ /* @__PURE__ */ e(b, { size: 22 }),
86
87
  /* @__PURE__ */ e(a, { className: "group-data-[state=on]:bg-badge-primary-bg active:bg-badge-primary-bg--active ml-1", children: "⌘X" })
87
88
  ]
88
89
  }
89
90
  ) }),
90
- /* @__PURE__ */ e(t, { sideOffset: 8, side: "bottom", children: "Scissor tool (⌘X)" })
91
+ /* @__PURE__ */ e(o, { sideOffset: 8, side: "bottom", children: "Scissor tool (⌘X)" })
91
92
  ] }),
92
- /* @__PURE__ */ r(i, { children: [
93
- /* @__PURE__ */ e(o, { children: /* @__PURE__ */ r(
93
+ /* @__PURE__ */ r(t, { children: [
94
+ /* @__PURE__ */ e(i, { asChild: !0, children: /* @__PURE__ */ r(
94
95
  l,
95
96
  {
96
97
  value: "lasso",
@@ -101,63 +102,57 @@ const fe = () => /* @__PURE__ */ r("div", { className: "flex items-center gap-4"
101
102
  ]
102
103
  }
103
104
  ) }),
104
- /* @__PURE__ */ e(t, { sideOffset: 8, side: "bottom", children: "Label tool (⌘T)" })
105
+ /* @__PURE__ */ e(o, { sideOffset: 8, side: "bottom", children: "Label tool (⌘T)" })
105
106
  ] })
106
107
  ] }) }),
107
108
  /* @__PURE__ */ e("div", { className: "flex", children: /* @__PURE__ */ r(s, { type: "single", variant: "outline", children: [
108
- /* @__PURE__ */ r(i, { children: [
109
- /* @__PURE__ */ e(o, { children: /* @__PURE__ */ r(
109
+ /* @__PURE__ */ r(t, { children: [
110
+ /* @__PURE__ */ e(i, { asChild: !0, children: /* @__PURE__ */ r(
110
111
  l,
111
112
  {
112
113
  value: "undo",
113
114
  className: "data-[state=on]:bg-toggle-bg data-[state=on]:border-toggle-border",
114
115
  children: [
115
- /* @__PURE__ */ e(u, { size: 22 }),
116
+ /* @__PURE__ */ e(f, { size: 22 }),
116
117
  /* @__PURE__ */ e(a, { className: "group-data-[state=on]:bg-badge-primary-bg active:bg-badge-primary-bg--active ml-1", children: "⌘X" })
117
118
  ]
118
119
  }
119
120
  ) }),
120
- /* @__PURE__ */ e(t, { sideOffset: 8, side: "bottom", children: "Undo last (⌘X)" })
121
+ /* @__PURE__ */ e(o, { sideOffset: 8, side: "bottom", children: "Undo last (⌘X)" })
121
122
  ] }),
122
- /* @__PURE__ */ r(i, { children: [
123
- /* @__PURE__ */ e(o, { children: /* @__PURE__ */ r(
123
+ /* @__PURE__ */ r(t, { children: [
124
+ /* @__PURE__ */ e(i, { asChild: !0, children: /* @__PURE__ */ r(
124
125
  l,
125
126
  {
126
127
  value: "delete",
127
128
  className: "data-[state=on]:bg-toggle-bg data-[state=on]:border-toggle-border",
128
129
  children: [
129
- /* @__PURE__ */ e(m, { size: 22 }),
130
+ /* @__PURE__ */ e(d, { size: 22 }),
130
131
  /* @__PURE__ */ e(a, { className: "group-data-[state=on]:bg-badge-primary-bg active:bg-badge-primary-bg--active ml-1", children: "⌫" })
131
132
  ]
132
133
  }
133
134
  ) }),
134
- /* @__PURE__ */ e(t, { sideOffset: 8, side: "bottom", children: "Delete selected (⌫)" })
135
+ /* @__PURE__ */ e(o, { sideOffset: 8, side: "bottom", children: "Delete selected (⌫)" })
135
136
  ] }),
136
- /* @__PURE__ */ r(i, { children: [
137
- /* @__PURE__ */ e(o, { children: /* @__PURE__ */ r(
137
+ /* @__PURE__ */ r(t, { children: [
138
+ /* @__PURE__ */ e(i, { asChild: !0, children: /* @__PURE__ */ r(
138
139
  l,
139
140
  {
140
141
  value: "clear",
141
142
  className: "data-[state=on]:bg-toggle-bg data-[state=on]:border-toggle-border",
142
143
  children: [
143
- /* @__PURE__ */ e(n, { size: 22 }),
144
+ /* @__PURE__ */ e(m, { size: 22 }),
144
145
  /* @__PURE__ */ e(a, { className: "group-data-[state=on]:bg-badge-primary-bg active:bg-badge-primary-bg--active ml-1", children: "⌘⇧A" })
145
146
  ]
146
147
  }
147
148
  ) }),
148
- /* @__PURE__ */ e(t, { sideOffset: 8, side: "bottom", children: "Clear (⌘⇧A)" })
149
+ /* @__PURE__ */ e(o, { sideOffset: 8, side: "bottom", children: "Clear (⌘⇧A)" })
149
150
  ] })
150
151
  ] }) }),
151
- /* @__PURE__ */ r("div", { className: "flex gap-4", children: [
152
- /* @__PURE__ */ r(i, { children: [
153
- /* @__PURE__ */ e(o, { children: /* @__PURE__ */ e(d, { pressed: !1, children: /* @__PURE__ */ e(b, { size: 22 }) }) }),
154
- /* @__PURE__ */ e(t, { sideOffset: 8, side: "bottom", children: "Metadata" })
155
- ] }),
156
- /* @__PURE__ */ r(i, { children: [
157
- /* @__PURE__ */ e(o, { children: /* @__PURE__ */ e(d, { pressed: !1, children: /* @__PURE__ */ e(h, { size: 22 }) }) }),
158
- /* @__PURE__ */ e(t, { sideOffset: 8, side: "bottom", children: "Ontology" })
159
- ] })
160
- ] })
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
+ ] }) })
161
156
  ] });
162
157
  export {
163
158
  fe as LabelingTools
@@ -32,6 +32,7 @@ import "../Icons/LoaderIcon.js";
32
32
  import { LocationIcon as s } from "../Icons/LocationIcon.js";
33
33
  import "../Icons/LogoutIcon.js";
34
34
  import { MetadataIcon as c } from "../Icons/MetadataIcon.js";
35
+ import "../Icons/MinusIcon.js";
35
36
  import "../Icons/OntologyIcon.js";
36
37
  import "../Icons/PanelIconClose.js";
37
38
  import "../Icons/PanelIconOpen.js";
@@ -47,7 +48,7 @@ import "../Icons/WarningIcon.js";
47
48
  import "../Icons/ZoomAllIcon.js";
48
49
  import "../Icons/ZoomXIcon.js";
49
50
  import "../Icons/ZoomYIcon.js";
50
- const re = () => /* @__PURE__ */ e(r, { description: "Recording Details", title: "Sensor Metadata", trigger: /* @__PURE__ */ e(c, {}), children: /* @__PURE__ */ t("div", { className: "flex flex-col gap-4", children: [
51
+ const ie = () => /* @__PURE__ */ e(r, { description: "Recording Details", title: "Sensor Metadata", trigger: /* @__PURE__ */ e(c, {}), children: /* @__PURE__ */ t("div", { className: "flex flex-col gap-4", children: [
51
52
  /* @__PURE__ */ t("div", { className: "bg-card-bg-secondary rounded-md px-4 py-5", children: [
52
53
  /* @__PURE__ */ t("div", { className: "flex items-center gap-2 !text-sm font-semibold uppercase", children: [
53
54
  /* @__PURE__ */ e(a, { size: 16 }),
@@ -102,5 +103,5 @@ const re = () => /* @__PURE__ */ e(r, { description: "Recording Details", title:
102
103
  ] })
103
104
  ] }) });
104
105
  export {
105
- re as SensorMetadata
106
+ ie as SensorMetadata
106
107
  };
@@ -32,6 +32,7 @@ import "../Icons/LoaderIcon.js";
32
32
  import "../Icons/LocationIcon.js";
33
33
  import "../Icons/LogoutIcon.js";
34
34
  import "../Icons/MetadataIcon.js";
35
+ import "../Icons/MinusIcon.js";
35
36
  import "../Icons/OntologyIcon.js";
36
37
  import "../Icons/PanelIconClose.js";
37
38
  import "../Icons/PanelIconOpen.js";
@@ -54,7 +55,7 @@ import { Switch as P } from "../Switch.js";
54
55
  import { Toggle as m } from "../Toggle.js";
55
56
  import { Tooltip as s, TooltipTrigger as a, TooltipContent as n } from "../Tooltip.js";
56
57
  import { useState as o } from "react";
57
- const je = () => {
58
+ const Be = () => {
58
59
  const [f, b] = o("green-black"), [u, p] = o(""), [v, c] = o(!1), [g, w] = o(!1), [y, N] = o("");
59
60
  return /* @__PURE__ */ r(R, { open: v, onOpenChange: c, children: [
60
61
  /* @__PURE__ */ e(S, { children: /* @__PURE__ */ e(m, { pressed: !1, children: /* @__PURE__ */ e(V, {}) }) }),
@@ -189,5 +190,5 @@ const je = () => {
189
190
  ] });
190
191
  };
191
192
  export {
192
- je as SettingsPopover
193
+ Be as SettingsPopover
193
194
  };