@spear-ai/spectral 1.4.2 → 1.4.4
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/Accordion.d.ts +7 -7
- package/dist/Accordion.js +53 -51
- package/dist/Alert/AlertBase.js +7 -7
- package/dist/Alert.js +1 -1
- package/dist/Avatar.d.ts +2 -2
- package/dist/Avatar.js +46 -46
- package/dist/Badge.js +3 -3
- package/dist/Button.js +22 -15
- package/dist/ButtonGroup/ButtonGroupButton.d.ts +1 -1
- package/dist/ButtonGroup/ButtonGroupButton.js +10 -10
- package/dist/ButtonGroup.d.ts +8 -5
- package/dist/ButtonGroup.js +23 -15
- package/dist/ButtonIcon.d.ts +1 -1
- package/dist/ButtonIcon.js +5 -5
- package/dist/Card.d.ts +2 -7
- package/dist/Card.js +9 -20
- package/dist/Checkbox/CheckboxBase.d.ts +6 -6
- package/dist/Checkbox/CheckboxBase.js +65 -63
- package/dist/Checkbox.js +16 -14
- package/dist/DataCard.d.ts +11 -0
- package/dist/DataCard.js +18 -0
- package/dist/Dialog/DialogBase.d.ts +37 -25
- package/dist/Dialog/DialogBase.js +130 -104
- package/dist/Dialog.d.ts +8 -8
- package/dist/Dialog.js +46 -36
- package/dist/Drawer.js +17 -17
- package/dist/HoverCard.d.ts +4 -4
- package/dist/HoverCard.js +34 -33
- package/dist/Input.js +58 -58
- package/dist/InputOTP.d.ts +1 -1
- package/dist/InputOTP.js +113 -112
- package/dist/MultiSelect/MultiSelectBase.d.ts +16 -16
- package/dist/MultiSelect/MultiSelectBase.js +236 -177
- package/dist/MultiSelect/MutiSelect.d.ts +6 -4
- package/dist/MultiSelect/MutiSelect.js +13 -12
- package/dist/Popover.js +2 -1
- package/dist/RadioButtonGroup/RadioButtonGroupBase.js +18 -17
- package/dist/RadioGroup.js +5 -3
- package/dist/Select.js +70 -51
- package/dist/Slider.js +8 -4
- package/dist/Switch/SwitchBase.d.ts +6 -6
- package/dist/Switch/SwitchBase.js +39 -38
- package/dist/Switch.js +17 -16
- package/dist/Tabs/TabsBase.js +40 -25
- package/dist/Tabs.js +18 -21
- package/dist/Textarea.d.ts +1 -0
- package/dist/Textarea.js +33 -33
- package/dist/Toggle.js +4 -4
- package/dist/ToggleGroup/ToggleGroupBase.d.ts +7 -7
- package/dist/ToggleGroup/ToggleGroupBase.js +64 -64
- package/dist/ToggleGroup.js +19 -17
- package/dist/Tooltip/TooltipBase.d.ts +8 -8
- package/dist/Tooltip/TooltipBase.js +76 -74
- package/dist/Tooltip.d.ts +1 -1
- package/dist/Tooltip.js +12 -11
- package/dist/Tray.d.ts +1 -1
- package/dist/Tray.js +4910 -117
- package/dist/primitives/input.js +4 -4
- package/dist/primitives/select.d.ts +11 -11
- package/dist/primitives/select.d.ts.map +1 -1
- package/dist/primitives/select.js +28 -21
- package/dist/styles/base-colors.css +12 -12
- package/dist/styles/main.css +1 -1
- package/dist/utils/{refs.d.ts → createForwardRef.d.ts} +1 -1
- package/dist/utils/createForwardRef.d.ts.map +1 -0
- package/dist/utils/formFieldUtils.d.ts +22 -18
- package/dist/utils/formFieldUtils.d.ts.map +1 -1
- package/dist/utils/formFieldUtils.js +46 -46
- package/package.json +9 -3
- package/dist/analyzer/list.yml.webp +0 -0
- package/dist/analyzer/network.webp +0 -0
- package/dist/analyzer/sunburst.webp +0 -0
- package/dist/analyzer/visual.webp +0 -0
- package/dist/auth-background.json +0 -90
- package/dist/favicon-invert.svg +0 -5
- package/dist/favicon.svg +0 -5
- package/dist/features/AuthCard/AuthCard.d.ts +0 -3
- package/dist/features/AuthCard/AuthCard.d.ts.map +0 -1
- package/dist/features/AuthCard/AuthToggle.d.ts +0 -9
- package/dist/features/AuthCard/AuthToggle.d.ts.map +0 -1
- package/dist/features/AuthCard/AuthToggle.js +0 -20
- package/dist/features/AuthCard/ForgotPasswordEmailForm.d.ts +0 -11
- package/dist/features/AuthCard/ForgotPasswordEmailForm.d.ts.map +0 -1
- package/dist/features/AuthCard/ForgotPasswordEmailForm.js +0 -86
- package/dist/features/AuthCard/ForgotPasswordResetForm.d.ts +0 -11
- package/dist/features/AuthCard/ForgotPasswordResetForm.d.ts.map +0 -1
- package/dist/features/AuthCard/ForgotPasswordResetForm.js +0 -21
- package/dist/features/AuthCard/OTPInput.d.ts +0 -12
- package/dist/features/AuthCard/OTPInput.d.ts.map +0 -1
- package/dist/features/AuthCard/OTPInput.js +0 -12
- package/dist/features/AuthCard/PasswordInput.d.ts +0 -13
- package/dist/features/AuthCard/PasswordInput.d.ts.map +0 -1
- package/dist/features/AuthCard/PasswordInput.js +0 -93
- package/dist/features/AuthCard/SignInForm.d.ts +0 -9
- package/dist/features/AuthCard/SignInForm.d.ts.map +0 -1
- package/dist/features/AuthCard/SignInForm.js +0 -86
- package/dist/features/AuthCard/SignUpForm.d.ts +0 -8
- package/dist/features/AuthCard/SignUpForm.d.ts.map +0 -1
- package/dist/features/AuthCard/SignUpForm.js +0 -100
- package/dist/features/AuthCard.js +0 -202
- package/dist/features/ClearDialog/ClearDialog.d.ts +0 -2
- package/dist/features/ClearDialog/ClearDialog.d.ts.map +0 -1
- package/dist/features/ClearDialog.js +0 -31
- package/dist/features/LabelingToolbar/LabelingToolbar.d.ts +0 -8
- package/dist/features/LabelingToolbar/LabelingToolbar.d.ts.map +0 -1
- package/dist/features/LabelingToolbar.js +0 -13
- package/dist/features/LabelingTools/LabelingTools.d.ts +0 -2
- package/dist/features/LabelingTools/LabelingTools.d.ts.map +0 -1
- package/dist/features/LabelingTools.js +0 -134
- package/dist/features/SensorMetadata/SensorMetadata.d.ts +0 -2
- package/dist/features/SensorMetadata/SensorMetadata.d.ts.map +0 -1
- package/dist/features/SensorMetadata.js +0 -117
- package/dist/features/SettingsPopover/SettingsPopover.d.ts +0 -2
- package/dist/features/SettingsPopover/SettingsPopover.d.ts.map +0 -1
- package/dist/features/SettingsPopover.js +0 -204
- package/dist/index-BIpuW_o8.js +0 -146
- package/dist/linear-cursor-small.png +0 -0
- package/dist/loader-circle-CdRVlFhN.js +0 -11
- package/dist/logo/wordmark-dark-side-by-side.svg +0 -6
- package/dist/logo/wordmark-light-side-by-side.svg +0 -6
- package/dist/message-alert-matte-glass-gradient.webp +0 -0
- package/dist/proxy-C9AqCss6.js +0 -4670
- package/dist/speech-bubble-fluid-glass-gradient.webp +0 -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/dist/utils/refs.d.ts.map +0 -1
- package/dist/x-Dl66o_vF.js +0 -14
- /package/dist/utils/{refs.js → createForwardRef.js} +0 -0
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import "../../styles/main.css";
|
|
3
|
-
import { jsxs as m, jsx as t } from "react/jsx-runtime";
|
|
4
|
-
import "../../Icons/AnalyzeIcon.js";
|
|
5
|
-
import "../../Icons/AnnotationsIcon.js";
|
|
6
|
-
import "../../Icons/ApprovedIcon.js";
|
|
7
|
-
import "../../Icons/CalendarIcon.js";
|
|
8
|
-
import "../../Icons/CheckCircleIcon.js";
|
|
9
|
-
import "../../Icons/CheckSquareIcon.js";
|
|
10
|
-
import "../../Icons/CheckmarkIcon.js";
|
|
11
|
-
import "../../Icons/ChevronDownIcon.js";
|
|
12
|
-
import "../../Icons/ChevronUpIcon.js";
|
|
13
|
-
import "../../Icons/ClockIcon.js";
|
|
14
|
-
import "../../Icons/CloseCircleIcon.js";
|
|
15
|
-
import "../../Icons/CloseIcon.js";
|
|
16
|
-
import "../../Icons/DashboardIcon.js";
|
|
17
|
-
import "../../Icons/DatabaseIcon.js";
|
|
18
|
-
import "../../Icons/DeleteIcon.js";
|
|
19
|
-
import "../../Icons/DurationIcon.js";
|
|
20
|
-
import "../../Icons/EmailIcon.js";
|
|
21
|
-
import "../../Icons/EraserIcon.js";
|
|
22
|
-
import "../../Icons/ErrorIcon.js";
|
|
23
|
-
import { EyeClosedIcon as h } from "../../Icons/EyeClosedIcon.js";
|
|
24
|
-
import "../../Icons/EyeClosedIcon2.js";
|
|
25
|
-
import { EyeOpenIcon as u } from "../../Icons/EyeOpenIcon.js";
|
|
26
|
-
import "../../Icons/GoToFirstIcon.js";
|
|
27
|
-
import "../../Icons/GoToLastIcon.js";
|
|
28
|
-
import "../../Icons/HarmonicCursorsIcon.js";
|
|
29
|
-
import "../../Icons/InfoIcon.js";
|
|
30
|
-
import "../../Icons/LabelIcon.js";
|
|
31
|
-
import "../../Icons/LassoIcon.js";
|
|
32
|
-
import "../../Icons/LineToolIcon.js";
|
|
33
|
-
import "../../Icons/LineToolIcon2.js";
|
|
34
|
-
import "../../Icons/LiveViewIcon.js";
|
|
35
|
-
import "../../Icons/LoaderIcon.js";
|
|
36
|
-
import "../../Icons/LocationIcon.js";
|
|
37
|
-
import "../../Icons/LogoutIcon.js";
|
|
38
|
-
import "../../Icons/MessagesIcon.js";
|
|
39
|
-
import "../../Icons/MetadataIcon.js";
|
|
40
|
-
import "../../Icons/MinusIcon.js";
|
|
41
|
-
import "../../Icons/OntologyIcon.js";
|
|
42
|
-
import "../../Icons/PanelIconClose.js";
|
|
43
|
-
import "../../Icons/PanelIconOpen.js";
|
|
44
|
-
import "../../Icons/PlayIcon.js";
|
|
45
|
-
import "../../Icons/PlusIcon.js";
|
|
46
|
-
import "../../Icons/ResetIcon.js";
|
|
47
|
-
import "../../Icons/ReviewedIcon.js";
|
|
48
|
-
import "../../Icons/ScissorsIcon.js";
|
|
49
|
-
import "../../Icons/SettingsIcon.js";
|
|
50
|
-
import "../../Icons/SortAscendingIcon.js";
|
|
51
|
-
import "../../Icons/SortDescendingIcon.js";
|
|
52
|
-
import "../../Icons/StackIcon.js";
|
|
53
|
-
import "../../Icons/StarIcon.js";
|
|
54
|
-
import "../../Icons/TrashIcon.js";
|
|
55
|
-
import "../../Icons/UndoIcon.js";
|
|
56
|
-
import "../../Icons/UserIcon.js";
|
|
57
|
-
import "../../Icons/WarningIcon.js";
|
|
58
|
-
import "../../Icons/ZoomAllIcon.js";
|
|
59
|
-
import "../../Icons/ZoomXIcon.js";
|
|
60
|
-
import "../../Icons/ZoomYIcon.js";
|
|
61
|
-
import { Input as f } from "../../Input.js";
|
|
62
|
-
import { calculatePasswordStrength as w } from "../../utils/sharedUtils.js";
|
|
63
|
-
import { useState as x } from "react";
|
|
64
|
-
import { A as y } from "../../index-BIpuW_o8.js";
|
|
65
|
-
import { m as e } from "../../proxy-C9AqCss6.js";
|
|
66
|
-
const vt = ({ value: r, onChange: s, id: a, label: n, placeholder: l = "••••••••", showStrength: c = !1, className: d = "" }) => {
|
|
67
|
-
const [i, p] = x(!1), o = r && c ? w(r) : null;
|
|
68
|
-
return /* @__PURE__ */ m("div", { children: [
|
|
69
|
-
/* @__PURE__ */ t(
|
|
70
|
-
f,
|
|
71
|
-
{
|
|
72
|
-
type: i ? "text" : "password",
|
|
73
|
-
value: r,
|
|
74
|
-
onChange: s,
|
|
75
|
-
className: d,
|
|
76
|
-
id: a,
|
|
77
|
-
label: n,
|
|
78
|
-
placeholder: l,
|
|
79
|
-
endIcon: i ? /* @__PURE__ */ t(h, { size: 22, onClick: () => p(!i), className: "absolute right-4 top-1/2 -translate-y-1/2 transition-colors cursor-pointer" }) : /* @__PURE__ */ t(u, { size: 22, onClick: () => p(!i), className: "absolute right-4 top-1/2 -translate-y-1/2 transition-colors cursor-pointer" })
|
|
80
|
-
}
|
|
81
|
-
),
|
|
82
|
-
/* @__PURE__ */ t(y, { children: o && r.length > 0 && /* @__PURE__ */ m(e.div, { initial: { opacity: 0, height: 0 }, animate: { opacity: 1, height: "auto" }, exit: { opacity: 0, height: 0 }, transition: { duration: 0.2 }, className: "mt-2", children: [
|
|
83
|
-
/* @__PURE__ */ m("div", { className: "flex items-center justify-between mb-1", children: [
|
|
84
|
-
/* @__PURE__ */ t("span", { className: "text-xs text-text-secondary", children: "Password strength" }),
|
|
85
|
-
/* @__PURE__ */ t("span", { className: "text-xs font-medium", style: { color: o.color }, children: o.label })
|
|
86
|
-
] }),
|
|
87
|
-
/* @__PURE__ */ t("div", { className: "h-1.5 bg-white/5 rounded-full overflow-hidden", children: /* @__PURE__ */ t(e.div, { className: "h-full rounded-full", style: { backgroundColor: o.color }, initial: { width: 0 }, animate: { width: `${o.score / 5 * 100}%` }, transition: { duration: 0.3, ease: "easeOut" } }) })
|
|
88
|
-
] }) })
|
|
89
|
-
] });
|
|
90
|
-
};
|
|
91
|
-
export {
|
|
92
|
-
vt as PasswordInput
|
|
93
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
interface SignInFormProps {
|
|
3
|
-
onSubmit: () => void;
|
|
4
|
-
onForgotPassword: () => void;
|
|
5
|
-
isSubmitting: boolean;
|
|
6
|
-
}
|
|
7
|
-
export declare const SignInForm: ({ onSubmit, onForgotPassword, isSubmitting }: SignInFormProps) => ReactElement;
|
|
8
|
-
export {};
|
|
9
|
-
//# sourceMappingURL=SignInForm.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SignInForm.d.ts","sourceRoot":"","sources":["../../../src/features/AuthCard/SignInForm.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAY,KAAK,YAAY,EAAE,MAAM,OAAO,CAAA;AAEnD,UAAU,eAAe;IACvB,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,gBAAgB,EAAE,MAAM,IAAI,CAAA;IAC5B,YAAY,EAAE,OAAO,CAAA;CACtB;AAED,eAAO,MAAM,UAAU,GAAI,8CAA8C,eAAe,KAAG,YAsC1F,CAAA"}
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import "../../styles/main.css";
|
|
3
|
-
import { jsxs as o, jsx as r } from "react/jsx-runtime";
|
|
4
|
-
import { PasswordInput as l } from "./PasswordInput.js";
|
|
5
|
-
import { Button as i } from "../../Button.js";
|
|
6
|
-
import "../../Icons/AnalyzeIcon.js";
|
|
7
|
-
import "../../Icons/AnnotationsIcon.js";
|
|
8
|
-
import "../../Icons/ApprovedIcon.js";
|
|
9
|
-
import "../../Icons/CalendarIcon.js";
|
|
10
|
-
import "../../Icons/CheckCircleIcon.js";
|
|
11
|
-
import "../../Icons/CheckSquareIcon.js";
|
|
12
|
-
import "../../Icons/CheckmarkIcon.js";
|
|
13
|
-
import "../../Icons/ChevronDownIcon.js";
|
|
14
|
-
import "../../Icons/ChevronUpIcon.js";
|
|
15
|
-
import "../../Icons/ClockIcon.js";
|
|
16
|
-
import "../../Icons/CloseCircleIcon.js";
|
|
17
|
-
import "../../Icons/CloseIcon.js";
|
|
18
|
-
import "../../Icons/DashboardIcon.js";
|
|
19
|
-
import "../../Icons/DatabaseIcon.js";
|
|
20
|
-
import "../../Icons/DeleteIcon.js";
|
|
21
|
-
import "../../Icons/DurationIcon.js";
|
|
22
|
-
import { EmailIcon as s } from "../../Icons/EmailIcon.js";
|
|
23
|
-
import "../../Icons/EraserIcon.js";
|
|
24
|
-
import "../../Icons/ErrorIcon.js";
|
|
25
|
-
import "../../Icons/EyeClosedIcon.js";
|
|
26
|
-
import "../../Icons/EyeClosedIcon2.js";
|
|
27
|
-
import "../../Icons/EyeOpenIcon.js";
|
|
28
|
-
import "../../Icons/GoToFirstIcon.js";
|
|
29
|
-
import "../../Icons/GoToLastIcon.js";
|
|
30
|
-
import "../../Icons/HarmonicCursorsIcon.js";
|
|
31
|
-
import "../../Icons/InfoIcon.js";
|
|
32
|
-
import "../../Icons/LabelIcon.js";
|
|
33
|
-
import "../../Icons/LassoIcon.js";
|
|
34
|
-
import "../../Icons/LineToolIcon.js";
|
|
35
|
-
import "../../Icons/LineToolIcon2.js";
|
|
36
|
-
import "../../Icons/LiveViewIcon.js";
|
|
37
|
-
import "../../Icons/LoaderIcon.js";
|
|
38
|
-
import "../../Icons/LocationIcon.js";
|
|
39
|
-
import "../../Icons/LogoutIcon.js";
|
|
40
|
-
import "../../Icons/MessagesIcon.js";
|
|
41
|
-
import "../../Icons/MetadataIcon.js";
|
|
42
|
-
import "../../Icons/MinusIcon.js";
|
|
43
|
-
import "../../Icons/OntologyIcon.js";
|
|
44
|
-
import "../../Icons/PanelIconClose.js";
|
|
45
|
-
import "../../Icons/PanelIconOpen.js";
|
|
46
|
-
import "../../Icons/PlayIcon.js";
|
|
47
|
-
import "../../Icons/PlusIcon.js";
|
|
48
|
-
import "../../Icons/ResetIcon.js";
|
|
49
|
-
import "../../Icons/ReviewedIcon.js";
|
|
50
|
-
import "../../Icons/ScissorsIcon.js";
|
|
51
|
-
import "../../Icons/SettingsIcon.js";
|
|
52
|
-
import "../../Icons/SortAscendingIcon.js";
|
|
53
|
-
import "../../Icons/SortDescendingIcon.js";
|
|
54
|
-
import "../../Icons/StackIcon.js";
|
|
55
|
-
import "../../Icons/StarIcon.js";
|
|
56
|
-
import "../../Icons/TrashIcon.js";
|
|
57
|
-
import "../../Icons/UndoIcon.js";
|
|
58
|
-
import "../../Icons/UserIcon.js";
|
|
59
|
-
import "../../Icons/WarningIcon.js";
|
|
60
|
-
import "../../Icons/ZoomAllIcon.js";
|
|
61
|
-
import "../../Icons/ZoomXIcon.js";
|
|
62
|
-
import "../../Icons/ZoomYIcon.js";
|
|
63
|
-
import { Input as n } from "../../Input.js";
|
|
64
|
-
import { Label as c } from "../../Label.js";
|
|
65
|
-
import { useState as d } from "react";
|
|
66
|
-
import { m as h } from "../../proxy-C9AqCss6.js";
|
|
67
|
-
const Ir = ({ onSubmit: e, onForgotPassword: m, isSubmitting: t }) => {
|
|
68
|
-
const [p, a] = d("");
|
|
69
|
-
return /* @__PURE__ */ o("div", { className: "space-y-6", children: [
|
|
70
|
-
/* @__PURE__ */ o("div", { children: [
|
|
71
|
-
/* @__PURE__ */ r(c, { htmlFor: "email", className: "block mb-2", children: "Email" }),
|
|
72
|
-
/* @__PURE__ */ r("div", { className: "relative", children: /* @__PURE__ */ r(n, { type: "email", className: "w-full px-4 py-3 pr-12 rounded-lg bg-white/5 border border-white/10 transition-all", id: "email", placeholder: "you@example.com", endIcon: /* @__PURE__ */ r(s, { size: 22, className: "absolute right-4 top-1/2 -translate-y-1/2 transition-colors" }) }) })
|
|
73
|
-
] }),
|
|
74
|
-
/* @__PURE__ */ r(l, { value: p, onChange: a, id: "password", label: "Password", className: "w-full px-4 py-3 pr-12 rounded-lg bg-white/5 border border-white/10 transition-all" }),
|
|
75
|
-
/* @__PURE__ */ r(h.div, { whileHover: { scale: t ? 1 : 1.02 }, whileTap: { scale: t ? 1 : 0.98 }, children: /* @__PURE__ */ r(i, { type: "button", onClick: e, disabled: t, state: t ? "loading" : "default", label: "Sign in", className: "w-full bg-accent" }) }),
|
|
76
|
-
/* @__PURE__ */ o("div", { className: "relative mb-6", children: [
|
|
77
|
-
/* @__PURE__ */ r("div", { className: "absolute inset-0 flex items-center", children: /* @__PURE__ */ r("div", { className: "w-full border-t border-white/15" }) }),
|
|
78
|
-
/* @__PURE__ */ r("div", { className: "relative flex justify-center text-sm", children: /* @__PURE__ */ r("span", { className: "px-4 text-text-secondary bg-transparent", children: "or" }) })
|
|
79
|
-
] }),
|
|
80
|
-
/* @__PURE__ */ r("div", { className: "flex justify-center", children: /* @__PURE__ */ r(i, { type: "button", label: "Request a one-time password", className: "transition-all duration-200 ease-out hover:scale-102" }) }),
|
|
81
|
-
/* @__PURE__ */ r("div", { className: "flex justify-center mt-4", children: /* @__PURE__ */ r(i, { type: "button", label: "Forgot your password?", variant: "ghost", className: "text-sm", onClick: m }) })
|
|
82
|
-
] });
|
|
83
|
-
};
|
|
84
|
-
export {
|
|
85
|
-
Ir as SignInForm
|
|
86
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
interface SignUpFormProps {
|
|
3
|
-
onSubmit: () => void;
|
|
4
|
-
isSubmitting: boolean;
|
|
5
|
-
}
|
|
6
|
-
export declare const SignUpForm: ({ onSubmit, isSubmitting }: SignUpFormProps) => ReactElement;
|
|
7
|
-
export {};
|
|
8
|
-
//# sourceMappingURL=SignUpForm.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SignUpForm.d.ts","sourceRoot":"","sources":["../../../src/features/AuthCard/SignUpForm.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAY,KAAK,YAAY,EAAE,MAAM,OAAO,CAAA;AAEnD,UAAU,eAAe;IACvB,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,YAAY,EAAE,OAAO,CAAA;CACtB;AAED,eAAO,MAAM,UAAU,GAAI,4BAA4B,eAAe,KAAG,YA6CxE,CAAA"}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import "../../styles/main.css";
|
|
3
|
-
import { jsxs as o, jsx as r } from "react/jsx-runtime";
|
|
4
|
-
import { PasswordInput as e } from "./PasswordInput.js";
|
|
5
|
-
import { Button as c } from "../../Button.js";
|
|
6
|
-
import "../../Icons/AnalyzeIcon.js";
|
|
7
|
-
import "../../Icons/AnnotationsIcon.js";
|
|
8
|
-
import "../../Icons/ApprovedIcon.js";
|
|
9
|
-
import "../../Icons/CalendarIcon.js";
|
|
10
|
-
import "../../Icons/CheckCircleIcon.js";
|
|
11
|
-
import "../../Icons/CheckSquareIcon.js";
|
|
12
|
-
import "../../Icons/CheckmarkIcon.js";
|
|
13
|
-
import "../../Icons/ChevronDownIcon.js";
|
|
14
|
-
import "../../Icons/ChevronUpIcon.js";
|
|
15
|
-
import "../../Icons/ClockIcon.js";
|
|
16
|
-
import "../../Icons/CloseCircleIcon.js";
|
|
17
|
-
import "../../Icons/CloseIcon.js";
|
|
18
|
-
import "../../Icons/DashboardIcon.js";
|
|
19
|
-
import "../../Icons/DatabaseIcon.js";
|
|
20
|
-
import "../../Icons/DeleteIcon.js";
|
|
21
|
-
import "../../Icons/DurationIcon.js";
|
|
22
|
-
import { EmailIcon as h } from "../../Icons/EmailIcon.js";
|
|
23
|
-
import "../../Icons/EraserIcon.js";
|
|
24
|
-
import "../../Icons/ErrorIcon.js";
|
|
25
|
-
import "../../Icons/EyeClosedIcon.js";
|
|
26
|
-
import "../../Icons/EyeClosedIcon2.js";
|
|
27
|
-
import "../../Icons/EyeOpenIcon.js";
|
|
28
|
-
import "../../Icons/GoToFirstIcon.js";
|
|
29
|
-
import "../../Icons/GoToLastIcon.js";
|
|
30
|
-
import "../../Icons/HarmonicCursorsIcon.js";
|
|
31
|
-
import "../../Icons/InfoIcon.js";
|
|
32
|
-
import "../../Icons/LabelIcon.js";
|
|
33
|
-
import "../../Icons/LassoIcon.js";
|
|
34
|
-
import "../../Icons/LineToolIcon.js";
|
|
35
|
-
import "../../Icons/LineToolIcon2.js";
|
|
36
|
-
import "../../Icons/LiveViewIcon.js";
|
|
37
|
-
import "../../Icons/LoaderIcon.js";
|
|
38
|
-
import "../../Icons/LocationIcon.js";
|
|
39
|
-
import "../../Icons/LogoutIcon.js";
|
|
40
|
-
import "../../Icons/MessagesIcon.js";
|
|
41
|
-
import "../../Icons/MetadataIcon.js";
|
|
42
|
-
import "../../Icons/MinusIcon.js";
|
|
43
|
-
import "../../Icons/OntologyIcon.js";
|
|
44
|
-
import "../../Icons/PanelIconClose.js";
|
|
45
|
-
import "../../Icons/PanelIconOpen.js";
|
|
46
|
-
import "../../Icons/PlayIcon.js";
|
|
47
|
-
import "../../Icons/PlusIcon.js";
|
|
48
|
-
import "../../Icons/ResetIcon.js";
|
|
49
|
-
import "../../Icons/ReviewedIcon.js";
|
|
50
|
-
import "../../Icons/ScissorsIcon.js";
|
|
51
|
-
import "../../Icons/SettingsIcon.js";
|
|
52
|
-
import "../../Icons/SortAscendingIcon.js";
|
|
53
|
-
import "../../Icons/SortDescendingIcon.js";
|
|
54
|
-
import "../../Icons/StackIcon.js";
|
|
55
|
-
import "../../Icons/StarIcon.js";
|
|
56
|
-
import "../../Icons/TrashIcon.js";
|
|
57
|
-
import "../../Icons/UndoIcon.js";
|
|
58
|
-
import "../../Icons/UserIcon.js";
|
|
59
|
-
import "../../Icons/WarningIcon.js";
|
|
60
|
-
import "../../Icons/ZoomAllIcon.js";
|
|
61
|
-
import "../../Icons/ZoomXIcon.js";
|
|
62
|
-
import "../../Icons/ZoomYIcon.js";
|
|
63
|
-
import { Input as i } from "../../Input.js";
|
|
64
|
-
import { Label as m } from "../../Label.js";
|
|
65
|
-
import { useState as p } from "react";
|
|
66
|
-
import { m as w } from "../../proxy-C9AqCss6.js";
|
|
67
|
-
const Pr = ({ onSubmit: l, isSubmitting: t }) => {
|
|
68
|
-
const [a, s] = p(""), [d, n] = p("");
|
|
69
|
-
return /* @__PURE__ */ o("div", { className: "space-y-6", children: [
|
|
70
|
-
/* @__PURE__ */ o("div", { className: "grid grid-cols-2 gap-3", children: [
|
|
71
|
-
/* @__PURE__ */ o("div", { children: [
|
|
72
|
-
/* @__PURE__ */ r(m, { htmlFor: "first-name", className: "block mb-2", children: "First name" }),
|
|
73
|
-
/* @__PURE__ */ r(i, { type: "text", className: "w-full px-4 py-3 rounded-lg bg-white/5 border border-white/10 transition-all", id: "first-name", placeholder: "John" })
|
|
74
|
-
] }),
|
|
75
|
-
/* @__PURE__ */ o("div", { children: [
|
|
76
|
-
/* @__PURE__ */ r(m, { htmlFor: "last-name", className: "block mb-2", children: "Last name" }),
|
|
77
|
-
/* @__PURE__ */ r(i, { type: "text", id: "last-name", className: "w-full px-4 py-3 rounded-lg bg-white/5 border border-white/10 transition-all", placeholder: "Doe" })
|
|
78
|
-
] })
|
|
79
|
-
] }),
|
|
80
|
-
/* @__PURE__ */ o("div", { children: [
|
|
81
|
-
/* @__PURE__ */ r(m, { htmlFor: "signup-email", className: "block mb-2", children: "Email" }),
|
|
82
|
-
/* @__PURE__ */ r("div", { className: "relative", children: /* @__PURE__ */ r(
|
|
83
|
-
i,
|
|
84
|
-
{
|
|
85
|
-
type: "email",
|
|
86
|
-
className: "w-full px-4 py-3 pr-12 rounded-lg bg-white/5 border border-white/10 transition-all",
|
|
87
|
-
id: "signup-email",
|
|
88
|
-
placeholder: "you@example.com",
|
|
89
|
-
endIcon: /* @__PURE__ */ r(h, { size: 22, className: "absolute right-4 top-1/2 -translate-y-1/2 transition-colors" })
|
|
90
|
-
}
|
|
91
|
-
) })
|
|
92
|
-
] }),
|
|
93
|
-
/* @__PURE__ */ r(e, { value: a, onChange: s, id: "signup-password", label: "Password", showStrength: !0, className: "w-full px-4 py-3 pr-12 rounded-lg bg-white/5 border border-white/10 transition-all" }),
|
|
94
|
-
/* @__PURE__ */ r(e, { value: d, onChange: n, id: "confirm-password", label: "Confirm password", className: "w-full px-4 py-3 pr-12 rounded-lg bg-white/5 border border-white/10 transition-all" }),
|
|
95
|
-
/* @__PURE__ */ r(w.div, { whileHover: { scale: t ? 1 : 1.02 }, whileTap: { scale: t ? 1 : 0.98 }, children: /* @__PURE__ */ r(c, { type: "button", onClick: l, disabled: t, state: t ? "loading" : "default", label: "Create account", className: "w-full bg-accent" }) })
|
|
96
|
-
] });
|
|
97
|
-
};
|
|
98
|
-
export {
|
|
99
|
-
Pr as SignUpForm
|
|
100
|
-
};
|
|
@@ -1,202 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import "../styles/main.css";
|
|
3
|
-
import { jsx as t, jsxs as e } from "react/jsx-runtime";
|
|
4
|
-
import { AuthToggle as w } from "./AuthCard/AuthToggle.js";
|
|
5
|
-
import { ForgotPasswordEmailForm as b } from "./AuthCard/ForgotPasswordEmailForm.js";
|
|
6
|
-
import { ForgotPasswordResetForm as k } from "./AuthCard/ForgotPasswordResetForm.js";
|
|
7
|
-
import { SignInForm as v } from "./AuthCard/SignInForm.js";
|
|
8
|
-
import { SignUpForm as S } from "./AuthCard/SignUpForm.js";
|
|
9
|
-
import { useState as o } from "react";
|
|
10
|
-
import { m as i } from "../proxy-C9AqCss6.js";
|
|
11
|
-
import { A as N } from "../index-BIpuW_o8.js";
|
|
12
|
-
const O = () => {
|
|
13
|
-
const [a, m] = o("signin"), [s, r] = o(null), [l, n] = o(!1), [u, d] = o(""), [y, c] = o(""), p = s !== null, h = () => {
|
|
14
|
-
n(!0), setTimeout(() => {
|
|
15
|
-
n(!1);
|
|
16
|
-
}, 2e3);
|
|
17
|
-
}, x = () => {
|
|
18
|
-
r("email");
|
|
19
|
-
}, g = () => {
|
|
20
|
-
n(!0), setTimeout(() => {
|
|
21
|
-
n(!1), r("reset");
|
|
22
|
-
}, 1500);
|
|
23
|
-
}, f = () => {
|
|
24
|
-
n(!0), setTimeout(() => {
|
|
25
|
-
n(!1), r(null), m("signin"), d(""), c("");
|
|
26
|
-
}, 2e3);
|
|
27
|
-
}, C = () => {
|
|
28
|
-
r(null), d(""), c("");
|
|
29
|
-
};
|
|
30
|
-
return /* @__PURE__ */ t(i.div, { className: "min-h-screen flex items-center justify-center p-4", initial: { opacity: 0 }, animate: { opacity: 1 }, transition: { duration: 0.8, ease: "easeOut" }, children: /* @__PURE__ */ t(
|
|
31
|
-
i.div,
|
|
32
|
-
{
|
|
33
|
-
className: "w-full max-w-md",
|
|
34
|
-
initial: { opacity: 0, y: 20, scale: 0.95 },
|
|
35
|
-
animate: { opacity: 1, y: 0, scale: 1 },
|
|
36
|
-
transition: {
|
|
37
|
-
duration: 0.6,
|
|
38
|
-
delay: 0.2,
|
|
39
|
-
ease: [0.16, 1, 0.3, 1]
|
|
40
|
-
},
|
|
41
|
-
style: { perspective: "1000px" },
|
|
42
|
-
children: /* @__PURE__ */ e(
|
|
43
|
-
i.div,
|
|
44
|
-
{
|
|
45
|
-
animate: {
|
|
46
|
-
rotateY: p ? 180 : 0
|
|
47
|
-
},
|
|
48
|
-
transition: {
|
|
49
|
-
duration: 0.6,
|
|
50
|
-
ease: [0.16, 1, 0.3, 1]
|
|
51
|
-
},
|
|
52
|
-
style: {
|
|
53
|
-
transformStyle: "preserve-3d",
|
|
54
|
-
position: "relative",
|
|
55
|
-
minHeight: "600px"
|
|
56
|
-
},
|
|
57
|
-
children: [
|
|
58
|
-
/* @__PURE__ */ e(
|
|
59
|
-
i.div,
|
|
60
|
-
{
|
|
61
|
-
className: "rounded-2xl p-6 shadow-2xl",
|
|
62
|
-
style: {
|
|
63
|
-
background: "rgba(0, 0, 0, 0.43)",
|
|
64
|
-
backdropFilter: "blur(12.3px)",
|
|
65
|
-
WebkitBackdropFilter: "blur(12.3px)",
|
|
66
|
-
border: "1px solid rgba(205, 251, 80, 0.15)",
|
|
67
|
-
backfaceVisibility: "hidden",
|
|
68
|
-
position: p ? "absolute" : "relative",
|
|
69
|
-
width: "100%"
|
|
70
|
-
},
|
|
71
|
-
children: [
|
|
72
|
-
/* @__PURE__ */ t(i.div, { className: "text-center", initial: { opacity: 0, y: -10 }, animate: { opacity: 1, y: 0 }, transition: { delay: 0.4, duration: 0.5 }, children: /* @__PURE__ */ e("div", { className: "inline-flex items-center gap-3 mb-6", children: [
|
|
73
|
-
/* @__PURE__ */ e(
|
|
74
|
-
i.svg,
|
|
75
|
-
{
|
|
76
|
-
width: "40",
|
|
77
|
-
height: "40",
|
|
78
|
-
viewBox: "0 0 200 200",
|
|
79
|
-
fill: "none",
|
|
80
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
81
|
-
className: "drop-shadow-lg",
|
|
82
|
-
initial: { rotate: -180, opacity: 0 },
|
|
83
|
-
animate: { rotate: 0, opacity: 1 },
|
|
84
|
-
transition: { delay: 0.5, duration: 0.8, ease: "easeOut" },
|
|
85
|
-
children: [
|
|
86
|
-
/* @__PURE__ */ t("mask", { id: "mask0_2177_2", style: { maskType: "luminance" }, maskUnits: "userSpaceOnUse", x: "10", y: "14", width: "180", height: "172", children: /* @__PURE__ */ t("path", { d: "M190 14.5H10V185.5H190V14.5Z", fill: "white" }) }),
|
|
87
|
-
/* @__PURE__ */ e("g", { mask: "url(#mask0_2177_2)", children: [
|
|
88
|
-
/* @__PURE__ */ t(
|
|
89
|
-
"path",
|
|
90
|
-
{
|
|
91
|
-
d: "M74.6163 42.2071C60.9241 57.4826 45.1526 75.0738 39.5423 81.3302C33.932 87.5867 25.0261 97.5401 19.7297 103.431C14.4333 109.322 10.0784 114.278 9.99997 114.481C9.88228 114.806 24.5161 131.422 25.4577 132.032C25.7716 132.194 26.36 131.951 26.9485 131.422C27.4586 130.894 35.1874 122.363 44.0933 112.409C88.1124 63.2109 98.9014 51.2261 99.4507 50.7793C100.196 50.1292 95.3705 44.8884 162.498 119.722C168.422 126.303 173.522 131.869 173.836 132.072C174.503 132.479 173.797 133.169 183.095 122.81C186.901 118.584 190 114.969 190 114.766C190 114.237 189.451 113.628 168.422 90.2274C158.614 79.2989 148.021 67.5173 144.882 64.0234C141.744 60.5702 131.7 49.398 122.559 39.2414C113.378 29.0848 104.629 19.3752 103.06 17.6282C101.53 15.9219 100.078 14.5 99.8822 14.5C99.6468 14.5 88.3086 26.9723 74.6163 42.2071Z",
|
|
92
|
-
fill: "oklch(92.53% 0.1976 123.38)"
|
|
93
|
-
}
|
|
94
|
-
),
|
|
95
|
-
/* @__PURE__ */ t(
|
|
96
|
-
"path",
|
|
97
|
-
{
|
|
98
|
-
d: "M96.7437 64.9172C95.0175 66.7861 92.3104 69.7924 90.7411 71.58C86.2685 76.6176 51.5868 115.456 41.1901 127.035C36.0899 132.722 31.8919 137.679 31.8919 138.004C31.9311 138.938 47.9381 156.489 48.762 156.489C49.429 156.489 60.4534 144.382 91.0549 110.053C95.6844 104.853 99.6862 100.628 99.9608 100.709C100.432 100.831 106.983 108.022 120.362 122.972C148.531 154.539 150.846 157.098 151.356 156.773C152.219 156.286 168.422 138.248 168.422 137.801C168.422 137.598 166.068 134.835 163.204 131.666C156.888 124.678 140.92 106.965 129.778 94.5744C119.067 82.5897 105.728 67.8423 102.472 64.3079L99.8823 61.5046L96.7437 64.9172Z",
|
|
99
|
-
fill: "oklch(92.53% 0.1976 123.38)"
|
|
100
|
-
}
|
|
101
|
-
),
|
|
102
|
-
/* @__PURE__ */ t(
|
|
103
|
-
"path",
|
|
104
|
-
{
|
|
105
|
-
d: "M97.7245 154.701C88.034 156.326 82.1491 167.458 86.2685 176.396C87.6417 179.443 90.898 182.855 93.762 184.196C96.7045 185.577 101.059 185.902 104.159 184.968C108.317 183.708 112.476 179.564 114.124 174.974C115.065 172.414 115.026 167.62 114.085 164.939C111.613 157.911 104.59 153.523 97.7245 154.701Z",
|
|
106
|
-
fill: "oklch(92.53% 0.1976 123.38)"
|
|
107
|
-
}
|
|
108
|
-
)
|
|
109
|
-
] })
|
|
110
|
-
]
|
|
111
|
-
}
|
|
112
|
-
),
|
|
113
|
-
/* @__PURE__ */ t(i.h1, { className: "text-2xl font-bold text-text-primary", initial: { opacity: 0, x: -10 }, animate: { opacity: 1, x: 0 }, transition: { delay: 0.6, duration: 0.5 }, children: "Horizon" })
|
|
114
|
-
] }) }),
|
|
115
|
-
/* @__PURE__ */ t(i.div, { initial: { opacity: 0, y: 10 }, animate: { opacity: 1, y: 0 }, transition: { delay: 0.5, duration: 0.5 }, children: /* @__PURE__ */ t(w, { mode: a, onModeChange: m }) }),
|
|
116
|
-
/* @__PURE__ */ e(i.div, { initial: { opacity: 0 }, animate: { opacity: 1 }, transition: { delay: 0.6, duration: 0.7 }, children: [
|
|
117
|
-
/* @__PURE__ */ t(
|
|
118
|
-
"div",
|
|
119
|
-
{
|
|
120
|
-
className: "overflow-hidden transition-all duration-500 ease-out",
|
|
121
|
-
style: {
|
|
122
|
-
maxHeight: a === "signup" ? "800px" : "0",
|
|
123
|
-
opacity: a === "signup" ? 1 : 0,
|
|
124
|
-
transform: a === "signup" ? "translateY(0)" : "translateY(-10px)"
|
|
125
|
-
},
|
|
126
|
-
children: /* @__PURE__ */ t(S, { onSubmit: h, isSubmitting: l })
|
|
127
|
-
}
|
|
128
|
-
),
|
|
129
|
-
/* @__PURE__ */ t(
|
|
130
|
-
"div",
|
|
131
|
-
{
|
|
132
|
-
className: "overflow-hidden transition-all duration-500 ease-out",
|
|
133
|
-
style: {
|
|
134
|
-
maxHeight: a === "signin" ? "800px" : "0",
|
|
135
|
-
opacity: a === "signin" ? 1 : 0,
|
|
136
|
-
transform: a === "signin" ? "translateY(0)" : "translateY(-10px)"
|
|
137
|
-
},
|
|
138
|
-
children: /* @__PURE__ */ t(v, { onSubmit: h, onForgotPassword: x, isSubmitting: l })
|
|
139
|
-
}
|
|
140
|
-
)
|
|
141
|
-
] })
|
|
142
|
-
]
|
|
143
|
-
}
|
|
144
|
-
),
|
|
145
|
-
/* @__PURE__ */ e(
|
|
146
|
-
i.div,
|
|
147
|
-
{
|
|
148
|
-
className: "rounded-2xl p-6 shadow-2xl absolute top-0 left-0 w-full",
|
|
149
|
-
style: {
|
|
150
|
-
background: "rgba(0, 0, 0, 0.43)",
|
|
151
|
-
backdropFilter: "blur(12.3px)",
|
|
152
|
-
WebkitBackdropFilter: "blur(12.3px)",
|
|
153
|
-
border: "1px solid rgba(205, 251, 80, 0.15)",
|
|
154
|
-
backfaceVisibility: "hidden",
|
|
155
|
-
transform: "rotateY(180deg)"
|
|
156
|
-
},
|
|
157
|
-
children: [
|
|
158
|
-
/* @__PURE__ */ e("div", { className: "text-center mb-6", children: [
|
|
159
|
-
/* @__PURE__ */ e("div", { className: "inline-flex items-center gap-3", children: [
|
|
160
|
-
/* @__PURE__ */ e("svg", { width: "40", height: "40", viewBox: "0 0 200 200", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
161
|
-
/* @__PURE__ */ t("mask", { id: "mask0_2177_3", style: { maskType: "luminance" }, maskUnits: "userSpaceOnUse", x: "10", y: "14", width: "180", height: "172", children: /* @__PURE__ */ t("path", { d: "M190 14.5H10V185.5H190V14.5Z", fill: "white" }) }),
|
|
162
|
-
/* @__PURE__ */ e("g", { mask: "url(#mask0_2177_3)", children: [
|
|
163
|
-
/* @__PURE__ */ t(
|
|
164
|
-
"path",
|
|
165
|
-
{
|
|
166
|
-
d: "M74.6163 42.2071C60.9241 57.4826 45.1526 75.0738 39.5423 81.3302C33.932 87.5867 25.0261 97.5401 19.7297 103.431C14.4333 109.322 10.0784 114.278 9.99997 114.481C9.88228 114.806 24.5161 131.422 25.4577 132.032C25.7716 132.194 26.36 131.951 26.9485 131.422C27.4586 130.894 35.1874 122.363 44.0933 112.409C88.1124 63.2109 98.9014 51.2261 99.4507 50.7793C100.196 50.1292 95.3705 44.8884 162.498 119.722C168.422 126.303 173.522 131.869 173.836 132.072C174.503 132.479 173.797 133.169 183.095 122.81C186.901 118.584 190 114.969 190 114.766C190 114.237 189.451 113.628 168.422 90.2274C158.614 79.2989 148.021 67.5173 144.882 64.0234C141.744 60.5702 131.7 49.398 122.559 39.2414C113.378 29.0848 104.629 19.3752 103.06 17.6282C101.53 15.9219 100.078 14.5 99.8822 14.5C99.6468 14.5 88.3086 26.9723 74.6163 42.2071Z",
|
|
167
|
-
fill: "oklch(92.53% 0.1976 123.38)"
|
|
168
|
-
}
|
|
169
|
-
),
|
|
170
|
-
/* @__PURE__ */ t(
|
|
171
|
-
"path",
|
|
172
|
-
{
|
|
173
|
-
d: "M96.7437 64.9172C95.0175 66.7861 92.3104 69.7924 90.7411 71.58C86.2685 76.6176 51.5868 115.456 41.1901 127.035C36.0899 132.722 31.8919 137.679 31.8919 138.004C31.9311 138.938 47.9381 156.489 48.762 156.489C49.429 156.489 60.4534 144.382 91.0549 110.053C95.6844 104.853 99.6862 100.628 99.9608 100.709C100.432 100.831 106.983 108.022 120.362 122.972C148.531 154.539 150.846 157.098 151.356 156.773C152.219 156.286 168.422 138.248 168.422 137.801C168.422 137.598 166.068 134.835 163.204 131.666C156.888 124.678 140.92 106.965 129.778 94.5744C119.067 82.5897 105.728 67.8423 102.472 64.3079L99.8823 61.5046L96.7437 64.9172Z",
|
|
174
|
-
fill: "oklch(92.53% 0.1976 123.38)"
|
|
175
|
-
}
|
|
176
|
-
),
|
|
177
|
-
/* @__PURE__ */ t(
|
|
178
|
-
"path",
|
|
179
|
-
{
|
|
180
|
-
d: "M97.7245 154.701C88.034 156.326 82.1491 167.458 86.2685 176.396C87.6417 179.443 90.898 182.855 93.762 184.196C96.7045 185.577 101.059 185.902 104.159 184.968C108.317 183.708 112.476 179.564 114.124 174.974C115.065 172.414 115.026 167.62 114.085 164.939C111.613 157.911 104.59 153.523 97.7245 154.701Z",
|
|
181
|
-
fill: "oklch(92.53% 0.1976 123.38)"
|
|
182
|
-
}
|
|
183
|
-
)
|
|
184
|
-
] })
|
|
185
|
-
] }),
|
|
186
|
-
/* @__PURE__ */ t("h1", { className: "text-2xl font-bold text-text-primary", children: s === "email" ? "Reset Password" : "Create New Password" })
|
|
187
|
-
] }),
|
|
188
|
-
/* @__PURE__ */ t("p", { className: "text-sm text-text-secondary mt-2", children: s === "email" ? "Enter your email to receive a verification code" : "Enter the code and create your new password" })
|
|
189
|
-
] }),
|
|
190
|
-
/* @__PURE__ */ t(N, { mode: "wait", children: s === "email" ? /* @__PURE__ */ t(i.div, { initial: { opacity: 0, x: 20 }, animate: { opacity: 1, x: 0 }, exit: { opacity: 0, x: -20 }, transition: { duration: 0.3 }, children: /* @__PURE__ */ t(b, { email: u, onEmailChange: d, onSubmit: g, onBack: C, isSubmitting: l }) }, "email-step") : /* @__PURE__ */ t(i.div, { initial: { opacity: 0, x: 20 }, animate: { opacity: 1, x: 0 }, exit: { opacity: 0, x: -20 }, transition: { duration: 0.3 }, children: /* @__PURE__ */ t(k, { otp: y, onOtpChange: c, onSubmit: f, onBack: C, isSubmitting: l }) }, "reset-step") })
|
|
191
|
-
]
|
|
192
|
-
}
|
|
193
|
-
)
|
|
194
|
-
]
|
|
195
|
-
}
|
|
196
|
-
)
|
|
197
|
-
}
|
|
198
|
-
) });
|
|
199
|
-
};
|
|
200
|
-
export {
|
|
201
|
-
O as AuthCard
|
|
202
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ClearDialog.d.ts","sourceRoot":"","sources":["../../../src/features/ClearDialog/ClearDialog.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW,+CAgCvB,CAAA"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import "../styles/main.css";
|
|
2
|
-
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
3
|
-
import { Button as a } from "../Button.js";
|
|
4
|
-
import { Dialog as r, DialogTrigger as n, DialogContent as t, DialogFooter as i, DialogClose as s } from "../Dialog.js";
|
|
5
|
-
import { WarningIcon as o } from "../Icons/WarningIcon.js";
|
|
6
|
-
const b = () => /* @__PURE__ */ l(r, { children: [
|
|
7
|
-
/* @__PURE__ */ e(n, { children: /* @__PURE__ */ e(a, { label: "Clear", variant: "outline" }) }),
|
|
8
|
-
/* @__PURE__ */ l(t, { children: [
|
|
9
|
-
/* @__PURE__ */ l("div", { className: "flex flex-col gap-4", children: [
|
|
10
|
-
/* @__PURE__ */ e("h3", { children: "Clear Options" }),
|
|
11
|
-
/* @__PURE__ */ l("div", { className: "flex flex-col bg-level-two rounded-lg p-4", children: [
|
|
12
|
-
/* @__PURE__ */ e("p", { className: "!text-lg font-semibold mb-1", children: "Clear Current View" }),
|
|
13
|
-
/* @__PURE__ */ e("p", { className: "!text-sm text-text-secondary mb-5", children: "Delete all drawings and labels currently visible in your screen." }),
|
|
14
|
-
/* @__PURE__ */ e(a, { label: "Clear View", variant: "primary", className: "!bg-danger-100 self-end hover:!bg-danger-300" })
|
|
15
|
-
] }),
|
|
16
|
-
/* @__PURE__ */ l("div", { className: "flex flex-col bg-level-two rounded-lg p-4", children: [
|
|
17
|
-
/* @__PURE__ */ e("p", { className: "!text-lg font-semibold mb-1", children: "Clear Entire BTR" }),
|
|
18
|
-
/* @__PURE__ */ e("p", { className: "!text-sm text-text-secondary mb-5", children: "Delete all drawings, labels, and scissorgrams on the BTR chart." }),
|
|
19
|
-
/* @__PURE__ */ e(a, { label: "Clear All", variant: "primary", className: "!bg-danger-100 self-end hover:!bg-danger-300" })
|
|
20
|
-
] })
|
|
21
|
-
] }),
|
|
22
|
-
/* @__PURE__ */ l("div", { className: "flex my-2 gap-2 items-center", children: [
|
|
23
|
-
/* @__PURE__ */ e(o, { size: 24, className: "text-danger-300" }),
|
|
24
|
-
/* @__PURE__ */ e("p", { className: "!text-sm !text-danger-300 font-semibold", children: "These actions cannot be undone." })
|
|
25
|
-
] }),
|
|
26
|
-
/* @__PURE__ */ e(i, { children: /* @__PURE__ */ e(s, { children: /* @__PURE__ */ e(a, { label: "Cancel", variant: "outline" }) }) })
|
|
27
|
-
] })
|
|
28
|
-
] });
|
|
29
|
-
export {
|
|
30
|
-
b as ClearDialog
|
|
31
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
export interface LabelingToolbarProps {
|
|
3
|
-
title?: string;
|
|
4
|
-
description?: string;
|
|
5
|
-
children?: ReactNode;
|
|
6
|
-
}
|
|
7
|
-
export declare const LabelingToolbar: ({ title, description, children }: LabelingToolbarProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
//# sourceMappingURL=LabelingToolbar.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LabelingToolbar.d.ts","sourceRoot":"","sources":["../../../src/features/LabelingToolbar/LabelingToolbar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,MAAM,WAAW,oBAAoB;IACnC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB;AAED,eAAO,MAAM,eAAe,GAAI,kCAAkC,oBAAoB,4CAUrF,CAAA"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import "../styles/main.css";
|
|
2
|
-
import { jsxs as s, jsx as e } from "react/jsx-runtime";
|
|
3
|
-
import "react";
|
|
4
|
-
const o = ({ title: r, description: t, children: l }) => /* @__PURE__ */ s("div", { className: "bg-background text-text-primary border-border-primary flex h-[72px] w-full justify-between border-b", children: [
|
|
5
|
-
/* @__PURE__ */ s("div", { className: "flex w-auto flex-col justify-center", children: [
|
|
6
|
-
r && /* @__PURE__ */ e("h3", { className: "w-fit font-semibold", children: r }),
|
|
7
|
-
t && /* @__PURE__ */ e("p", { className: "text-text-secondary m-0 w-fit text-sm", children: t })
|
|
8
|
-
] }),
|
|
9
|
-
/* @__PURE__ */ e("div", { className: "flex items-center", children: l })
|
|
10
|
-
] });
|
|
11
|
-
export {
|
|
12
|
-
o as LabelingToolbar
|
|
13
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LabelingTools.d.ts","sourceRoot":"","sources":["../../../src/features/LabelingTools/LabelingTools.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,aAAa,+CAqHzB,CAAA"}
|