@spear-ai/spectral 1.3.62 → 1.3.63
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 +181 -152
- package/dist/Accordion.d.ts +37 -0
- package/dist/Accordion.js +465 -0
- package/dist/Alert/AlertBase.js +2 -2
- package/dist/Alert.js +4 -3
- package/dist/Avatar.js +1 -1
- package/dist/Badge.d.ts +12 -2
- package/dist/Badge.js +28 -4
- package/dist/Button.js +2 -2
- package/dist/ButtonGroup/ButtonGroupButton.d.ts +13 -0
- package/dist/ButtonGroup/ButtonGroupButton.js +51 -0
- package/dist/ButtonGroup.d.ts +29 -0
- package/dist/ButtonGroup.js +89 -0
- package/dist/ButtonIcon.js +2 -1
- package/dist/Checkbox/CheckboxBase.js +1 -1
- package/dist/Checkbox.js +11 -12
- package/dist/Dialog/DialogBase.d.ts +1 -1
- package/dist/Dialog/DialogBase.js +2 -2
- package/dist/Dialog.js +4 -4
- package/dist/Drawer.js +24 -1283
- package/dist/HoverCard.d.ts +29 -0
- package/dist/HoverCard.js +207 -0
- package/dist/Icons/MessagesIcon.d.ts +3 -0
- package/dist/Icons/MessagesIcon.js +31 -0
- package/dist/Icons/index.d.ts +1 -0
- package/dist/Icons.js +50 -48
- package/dist/Input.d.ts +2 -0
- package/dist/Input.js +98 -89
- package/dist/InputGroup.d.ts +16 -0
- package/dist/InputGroup.js +129 -0
- package/dist/InputOTP.d.ts +0 -2
- package/dist/InputOTP.js +138 -142
- package/dist/Label.d.ts +3 -7
- package/dist/Label.js +11 -11
- package/dist/MultiSelect/MultiSelectBase.js +22 -22
- package/dist/Popover.d.ts +6 -7
- package/dist/Popover.js +60 -71
- package/dist/RadioButtonGroup/RadioButtonGroupBase.js +1 -1
- package/dist/RadioButtonGroup.js +1 -1
- package/dist/RadioGroup.d.ts +1 -1
- package/dist/RadioGroup.js +141 -134
- package/dist/Select.js +97 -895
- package/dist/Separator.d.ts +12 -0
- package/dist/Separator.js +24 -0
- package/dist/Skeleton.js +3 -3
- package/dist/Slider.d.ts +15 -3
- package/dist/Slider.js +464 -40
- package/dist/Switch/SwitchBase.js +1 -1
- package/dist/Switch.js +2 -2
- package/dist/Tabs/TabsBase.js +1 -1
- package/dist/Tabs.js +16 -16
- package/dist/Textarea.js +41 -42
- package/dist/Toggle.js +2 -2
- package/dist/ToggleGroup.js +1 -1
- package/dist/Tooltip/TooltipBase.js +29 -29
- package/dist/Tooltip.js +15 -15
- package/dist/Tray/TrayStoriesData.d.ts +39 -0
- package/dist/Tray/TrayStoriesData.js +438 -0
- package/dist/Tray.d.ts +28 -0
- package/dist/Tray.js +227 -0
- package/dist/clsx-OuTLNxxd.js +16 -0
- package/dist/components/Accordion/Accordion.d.ts +37 -0
- package/dist/components/Accordion/Accordion.d.ts.map +1 -0
- package/dist/components/Badge/Badge.d.ts +12 -2
- package/dist/components/Badge/Badge.d.ts.map +1 -1
- package/dist/components/ButtonGroup/ButtonGroup.d.ts +29 -0
- package/dist/components/ButtonGroup/ButtonGroup.d.ts.map +1 -0
- package/dist/components/ButtonGroup/ButtonGroupButton.d.ts +13 -0
- package/dist/components/ButtonGroup/ButtonGroupButton.d.ts.map +1 -0
- package/dist/components/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/components/Dialog/DialogBase.d.ts +1 -1
- package/dist/components/HoverCard/HoverCard.d.ts +29 -0
- package/dist/components/HoverCard/HoverCard.d.ts.map +1 -0
- package/dist/components/Icons/MessagesIcon.d.ts +3 -0
- package/dist/components/Icons/MessagesIcon.d.ts.map +1 -0
- package/dist/components/Icons/index.d.ts +1 -0
- package/dist/components/Icons/index.d.ts.map +1 -1
- package/dist/components/Input/Input.d.ts +2 -0
- package/dist/components/Input/Input.d.ts.map +1 -1
- package/dist/components/InputGroup/InputGroup.d.ts +16 -0
- package/dist/components/InputGroup/InputGroup.d.ts.map +1 -0
- package/dist/components/InputOTP/InputOTP.d.ts +0 -2
- package/dist/components/InputOTP/InputOTP.d.ts.map +1 -1
- package/dist/components/Label/Label.d.ts +3 -7
- package/dist/components/Label/Label.d.ts.map +1 -1
- package/dist/components/Popover/Popover.d.ts +6 -7
- package/dist/components/Popover/Popover.d.ts.map +1 -1
- package/dist/components/RadioGroup/RadioGroup.d.ts +1 -1
- package/dist/components/RadioGroup/RadioGroup.d.ts.map +1 -1
- package/dist/components/Separator/Separator.d.ts +12 -0
- package/dist/components/Separator/Separator.d.ts.map +1 -0
- package/dist/components/Slider/Slider.d.ts +15 -3
- package/dist/components/Slider/Slider.d.ts.map +1 -1
- package/dist/components/Textarea/Textarea.d.ts.map +1 -1
- package/dist/components/Tray/Tray.d.ts +28 -0
- package/dist/components/Tray/Tray.d.ts.map +1 -0
- package/dist/components/Tray/TrayStoriesData.d.ts +39 -0
- package/dist/components/Tray/TrayStoriesData.d.ts.map +1 -0
- package/dist/features/AuthCard/ForgotPasswordEmailForm.js +4 -3
- package/dist/features/AuthCard/ForgotPasswordResetForm.js +9 -9
- package/dist/features/AuthCard/PasswordInput.js +78 -9
- package/dist/features/AuthCard/SignInForm.js +8 -7
- package/dist/features/AuthCard/SignUpForm.js +8 -7
- package/dist/features/AuthCard.js +2 -2
- package/dist/features/LabelingTools.js +7 -6
- package/dist/features/SensorMetadata.js +3 -2
- package/dist/features/SettingsPopover.js +3 -2
- package/dist/index-0ioNhtNM.js +10 -0
- package/dist/{index-CBwRmAsQ.js → index-6Abv_Flm.js} +1 -1
- package/dist/{index-DUK1rxhf.js → index-B-GQStVW.js} +6 -5
- package/dist/index-B2oBi8ng.js +142 -0
- package/dist/index-BIpuW_o8.js +146 -0
- package/dist/index-BZPx6jYI.js +8 -0
- package/dist/index-BhufZRa2.js +232 -0
- package/dist/index-CAKA12cC.js +1265 -0
- package/dist/{index-Cfyte2YO.js → index-CGALWSq_.js} +1 -1
- package/dist/index-CVSxKOPp.js +13 -0
- package/dist/index-CevVJ05e.js +822 -0
- package/dist/{index-CRBC94ik.js → index-D29mdTf5.js} +1 -1
- package/dist/{index-FeGk8zep.js → index-NzygPVvJ.js} +10 -9
- package/dist/index-UEFPWH8U.js +54 -0
- package/dist/index-rKs9bXHr.js +6 -0
- package/dist/{index-Cb7rjMhE.js → index-y6Br5T4h.js} +6 -6
- package/dist/index.d.ts +10 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/linear-cursor-small.png +0 -0
- package/dist/message-alert-matte-glass-gradient.webp +0 -0
- package/dist/primitives/button.d.ts +10 -0
- package/dist/primitives/button.d.ts.map +1 -0
- package/dist/primitives/button.js +42 -0
- package/dist/primitives/input.d.ts +3 -0
- package/dist/primitives/input.d.ts.map +1 -0
- package/dist/primitives/input.js +18 -0
- package/dist/primitives/select.d.ts +16 -0
- package/dist/primitives/select.d.ts.map +1 -0
- package/dist/primitives/select.js +196 -0
- package/dist/primitives/slot.d.ts.map +1 -1
- package/dist/primitives/slot.js +21 -20
- package/dist/primitives/textarea.d.ts +3 -0
- package/dist/primitives/textarea.d.ts.map +1 -0
- package/dist/primitives/textarea.js +16 -0
- package/dist/{proxy-DD79Ok6n.js → proxy-C9AqCss6.js} +1 -1
- package/dist/speech-bubble-fluid-glass-gradient.webp +0 -0
- package/dist/styles/main.css +1 -1
- package/dist/utils/formFieldUtils.js +1 -1
- package/dist/utils/twUtils.js +2728 -2
- package/package.json +13 -8
- package/dist/Accordion/AccordionBase.d.ts +0 -42
- package/dist/Accordion/AccordionBase.js +0 -225
- package/dist/Badge/BadgeBase.d.ts +0 -13
- package/dist/Badge/BadgeBase.js +0 -35
- package/dist/PasswordInput-ClY_hxuN.js +0 -261
- package/dist/components/Accordion/AccordionBase.d.ts +0 -42
- package/dist/components/Accordion/AccordionBase.d.ts.map +0 -1
- package/dist/components/Badge/BadgeBase.d.ts +0 -13
- package/dist/components/Badge/BadgeBase.d.ts.map +0 -1
- package/dist/index-CA7haECj.js +0 -248
- package/dist/index-CbXx14YO.js +0 -59
- package/dist/index-VXXKXen4.js +0 -15
- package/dist/index-cCg4yNa8.js +0 -132
- package/dist/primitives/label.d.ts +0 -5
- package/dist/primitives/label.d.ts.map +0 -1
- package/dist/primitives/label.js +0 -27
- package/dist/twUtils-CRiPKpXj.js +0 -2743
|
@@ -1,6 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import * as SliderBase from '@radix-ui/react-slider';
|
|
3
|
+
export type SliderProps = {
|
|
3
4
|
className?: string;
|
|
5
|
+
defaultValue?: number[];
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
max?: number;
|
|
8
|
+
min?: number;
|
|
9
|
+
minStepsBetweenThumbs?: number;
|
|
10
|
+
name?: string;
|
|
11
|
+
onValueChange?: (value: number[]) => void;
|
|
12
|
+
onValueCommit?: (value: number[]) => void;
|
|
13
|
+
orientation?: 'horizontal' | 'vertical';
|
|
14
|
+
step?: number;
|
|
15
|
+
value?: number[];
|
|
4
16
|
};
|
|
5
|
-
export declare const Slider: ({ className, defaultValue,
|
|
17
|
+
export declare const Slider: ({ className, defaultValue, disabled, max, min, minStepsBetweenThumbs, name, onValueChange, onValueCommit, orientation, step, value, ...props }: ComponentProps<typeof SliderBase.Root>) => import("react/jsx-runtime").JSX.Element;
|
|
6
18
|
//# sourceMappingURL=Slider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../../../src/components/Slider/Slider.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../../../src/components/Slider/Slider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAA;AAEpD,OAAO,EAAW,KAAK,cAAc,EAAE,MAAM,OAAO,CAAA;AAEpD,MAAM,MAAM,WAAW,GAAG;IACxB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAA;IACvB,QAAQ,CAAC,EAAE,OAAO,C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AAG,SAAS,CAAA;IAChC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACvC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACzC,QAAQ,CAAC,KAAK,CAAC,EAAE,aAAa,CAAA;IAC9B,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAC3B,CAAA;AAeD,eAAO,MAAM,QAAQ,4HA2GpB,CAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { ComponentPropsWithoutRef, ForwardRefExoticComponent, ReactNode, RefAttributes } from 'react';
|
|
3
|
+
import { Drawer as TrayBase } from 'vaul';
|
|
4
|
+
declare const TrayContentVariants: (props?: ({
|
|
5
|
+
size?: "sm" | "lg" | "md" | "full" | null | undefined;
|
|
6
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
|
+
export type TrayBaseProps = ComponentPropsWithoutRef<typeof TrayBase.Root> & {
|
|
8
|
+
size?: 'sm' | 'md' | 'lg' | 'full';
|
|
9
|
+
children?: ReactNode;
|
|
10
|
+
};
|
|
11
|
+
export declare const Tray: ForwardRefExoticComponent<TrayBaseProps & RefAttributes<never>>;
|
|
12
|
+
export declare const TrayTrigger: ForwardRefExoticComponent<ComponentPropsWithoutRef<typeof TrayBase.Trigger> & RefAttributes<HTMLButtonElement>>;
|
|
13
|
+
export declare const TrayClose: ForwardRefExoticComponent<ComponentPropsWithoutRef<typeof TrayBase.Close> & RefAttributes<HTMLButtonElement>>;
|
|
14
|
+
export type TrayContentProps = ComponentPropsWithoutRef<typeof TrayBase.Content> & VariantProps<typeof TrayContentVariants> & {
|
|
15
|
+
children?: ReactNode;
|
|
16
|
+
};
|
|
17
|
+
export declare const TrayContent: ForwardRefExoticComponent<TrayContentProps & RefAttributes<HTMLDivElement>>;
|
|
18
|
+
export declare const TrayHeader: ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
19
|
+
export declare const TrayTitle: ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & RefAttributes<HTMLHeadingElement>>;
|
|
20
|
+
export declare const TraySubtitle: ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref"> & RefAttributes<HTMLParagraphElement>>;
|
|
21
|
+
export type TrayBodyProps = ComponentPropsWithoutRef<'div'> & {
|
|
22
|
+
animationKey?: string | number;
|
|
23
|
+
};
|
|
24
|
+
export declare const TrayBody: ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
25
|
+
animationKey?: string | number;
|
|
26
|
+
} & RefAttributes<HTMLDivElement>>;
|
|
27
|
+
export {};
|
|
28
|
+
//# sourceMappingURL=Tray.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tray.d.ts","sourceRoot":"","sources":["../../../src/components/Tray/Tray.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAEjE,OAAO,EAML,KAAK,wBAAwB,EAE7B,KAAK,yBAAyB,EAC9B,KAAK,SAAS,EACd,KAAK,aAAa,EACnB,MAAM,OAAO,CAAA;AAEd,OAAO,EAAE,MAAM,IAAI,QAAQ,EAAE,MAAM,MAAM,CAAA;AAEzC,QAAA,MAAM,mBAAmB;;8EAexB,CAAA;AAkBD,MAAM,MAAM,aAAa,GAAG,wBAAwB,CAAC,OAAO,QAAQ,CAAC,IAAI,CAAC,GAAG;IAC3E,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAA;IAClC,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB,CAAA;AAED,eAAO,MAAM,IAAI,iEAqBhB,CAAA;AAGD,eAAO,MAAM,WAAW,EAAE,yBAAyB,CACjD,wBAAwB,CAAC,OAAO,QAAQ,CAAC,OAAO,CAAC,GAAG,aAAa,CAAC,iBAAiB,CAAC,CAGpF,CAAA;AAGF,eAAO,MAAM,SAAS,EAAE,yBAAyB,CAC/C,wBAAwB,CAAC,OAAO,QAAQ,CAAC,KAAK,CAAC,GAAG,aAAa,CAAC,iBAAiB,CAAC,CAKlF,CAAA;AAUF,MAAM,MAAM,gBAAgB,GAAG,wBAAwB,CAAC,OAAO,QAAQ,CAAC,OAAO,CAAC,GAC9E,YAAY,CAAC,OAAO,mBAAmB,CAAC,GAAG;IACzC,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB,CAAA;AAEH,eAAO,MAAM,WAAW,EAAE,yBAAyB,CAAC,gBAAgB,GAAG,aAAa,CAAC,cAAc,CAAC,CA4BlG,CAAA;AAGF,eAAO,MAAM,UAAU,2KAStB,CAAA;AAGD,eAAO,MAAM,SAAS,uLAMrB,CAAA;AAGD,eAAO,MAAM,YAAY,6LAExB,CAAA;AAGD,MAAM,MAAM,aAAa,GAAG,wBAAwB,CAAC,KAAK,CAAC,GAAG;IAC5D,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CAC/B,CAAA;AAED,eAAO,MAAM,QAAQ;mBAHJ,MAAM,GAAG,MAAM;kCAkD/B,CAAA"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export declare function Button({ children, onClick }: {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
onClick: () => void;
|
|
5
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare function SecondaryButton({ children, onClick, className, }: {
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
onClick: () => void;
|
|
9
|
+
className: string;
|
|
10
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare function Header({ icon, title, description }: {
|
|
12
|
+
icon: ReactNode;
|
|
13
|
+
title: string;
|
|
14
|
+
description: string;
|
|
15
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export declare function Phrase({ setView }: {
|
|
17
|
+
setView: (view: string) => void;
|
|
18
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export declare function Key({ setView }: {
|
|
20
|
+
setView: (view: string) => void;
|
|
21
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export declare function RemoveWallet({ setView }: {
|
|
23
|
+
setView: (view: string) => void;
|
|
24
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export declare function DefaultView({ setView }: {
|
|
26
|
+
setView: (view: string) => void;
|
|
27
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
export declare function RecoveryPhraseIcon(): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
export declare function ShieldIcon(): import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
export declare function PassIcon(): import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
export declare function BannedIcon(): import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
export declare function FaceIDIcon(): import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
export declare function DangerIcon(): import("react/jsx-runtime").JSX.Element;
|
|
34
|
+
export declare function CloseIcon(): import("react/jsx-runtime").JSX.Element;
|
|
35
|
+
export declare function LockIcon(): import("react/jsx-runtime").JSX.Element;
|
|
36
|
+
export declare function WarningIcon(): import("react/jsx-runtime").JSX.Element;
|
|
37
|
+
export declare function PhraseIcon(): import("react/jsx-runtime").JSX.Element;
|
|
38
|
+
export declare function CrossIcon(): import("react/jsx-runtime").JSX.Element;
|
|
39
|
+
//# sourceMappingURL=TrayStoriesData.d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AgB,UAAU,4CAmBzB;AAED,wBAAgB,QAAQ,4CAevB;AAED,wBAAgB,UAAU,4CAWzB;AAED,wBAAgB,UAAU,4CAgBzB;AAED,wBAAgB,UAAU,4CAiBzB;AAED,wBAAgB,SAAS,4CAmBxB;AAED,wBAAgB,QAAQ,4CAsBvB;AAED,wBAAgB,WAAW,4CAe1B;AAED,wBAAgB,UAAU,4CAiBzB;AAED,wBAAgB,SAAS,4CAmBxB"}
|
|
@@ -31,6 +31,7 @@ import "../../Icons/LiveViewIcon.js";
|
|
|
31
31
|
import "../../Icons/LoaderIcon.js";
|
|
32
32
|
import "../../Icons/LocationIcon.js";
|
|
33
33
|
import "../../Icons/LogoutIcon.js";
|
|
34
|
+
import "../../Icons/MessagesIcon.js";
|
|
34
35
|
import "../../Icons/MetadataIcon.js";
|
|
35
36
|
import "../../Icons/MinusIcon.js";
|
|
36
37
|
import "../../Icons/OntologyIcon.js";
|
|
@@ -51,8 +52,8 @@ import "../../Icons/ZoomYIcon.js";
|
|
|
51
52
|
import { Input as c } from "../../Input.js";
|
|
52
53
|
import { Label as n } from "../../Label.js";
|
|
53
54
|
import "react";
|
|
54
|
-
import { m as d } from "../../proxy-
|
|
55
|
-
const
|
|
55
|
+
import { m as d } from "../../proxy-C9AqCss6.js";
|
|
56
|
+
const fo = ({
|
|
56
57
|
email: m,
|
|
57
58
|
onEmailChange: p,
|
|
58
59
|
onSubmit: e,
|
|
@@ -88,5 +89,5 @@ const ho = ({
|
|
|
88
89
|
/* @__PURE__ */ o("div", { className: "flex justify-center", children: /* @__PURE__ */ o(i, { type: "button", label: "Back to sign in", variant: "ghost", className: "text-sm", onClick: a }) })
|
|
89
90
|
] });
|
|
90
91
|
export {
|
|
91
|
-
|
|
92
|
+
fo as ForgotPasswordEmailForm
|
|
92
93
|
};
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import "../../styles/main.css";
|
|
3
3
|
import { jsxs as m, jsx as e } from "react/jsx-runtime";
|
|
4
4
|
import { OTPInput as f } from "./OTPInput.js";
|
|
5
|
-
import {
|
|
6
|
-
import { Button as
|
|
5
|
+
import { PasswordInput as r } from "./PasswordInput.js";
|
|
6
|
+
import { Button as a } from "../../Button.js";
|
|
7
7
|
import { useState as s } from "react";
|
|
8
|
-
import { m as h } from "../../proxy-
|
|
9
|
-
const
|
|
8
|
+
import { m as h } from "../../proxy-C9AqCss6.js";
|
|
9
|
+
const C = ({
|
|
10
10
|
otp: t,
|
|
11
11
|
onOtpChange: l,
|
|
12
12
|
onSubmit: n,
|
|
@@ -27,7 +27,7 @@ const P = ({
|
|
|
27
27
|
}
|
|
28
28
|
),
|
|
29
29
|
/* @__PURE__ */ e(
|
|
30
|
-
|
|
30
|
+
r,
|
|
31
31
|
{
|
|
32
32
|
value: i,
|
|
33
33
|
onChange: w,
|
|
@@ -38,7 +38,7 @@ const P = ({
|
|
|
38
38
|
}
|
|
39
39
|
),
|
|
40
40
|
/* @__PURE__ */ e(
|
|
41
|
-
|
|
41
|
+
r,
|
|
42
42
|
{
|
|
43
43
|
value: c,
|
|
44
44
|
onChange: p,
|
|
@@ -48,7 +48,7 @@ const P = ({
|
|
|
48
48
|
}
|
|
49
49
|
),
|
|
50
50
|
/* @__PURE__ */ e(h.div, { whileHover: { scale: o ? 1 : 1.02 }, whileTap: { scale: o ? 1 : 0.98 }, children: /* @__PURE__ */ e(
|
|
51
|
-
|
|
51
|
+
a,
|
|
52
52
|
{
|
|
53
53
|
type: "button",
|
|
54
54
|
onClick: n,
|
|
@@ -58,9 +58,9 @@ const P = ({
|
|
|
58
58
|
className: "bg-accent w-full"
|
|
59
59
|
}
|
|
60
60
|
) }),
|
|
61
|
-
/* @__PURE__ */ e("div", { className: "flex justify-center", children: /* @__PURE__ */ e(
|
|
61
|
+
/* @__PURE__ */ e("div", { className: "flex justify-center", children: /* @__PURE__ */ e(a, { type: "button", label: "Back to sign in", variant: "ghost", className: "text-sm", onClick: d }) })
|
|
62
62
|
] });
|
|
63
63
|
};
|
|
64
64
|
export {
|
|
65
|
-
|
|
65
|
+
C as ForgotPasswordResetForm
|
|
66
66
|
};
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
"use client";
|
|
2
|
+
import "../../styles/main.css";
|
|
3
|
+
import { jsxs as m, jsx as t } from "react/jsx-runtime";
|
|
2
4
|
import "../../Icons/AnnotationsIcon.js";
|
|
3
5
|
import "../../Icons/CalendarIcon.js";
|
|
4
6
|
import "../../Icons/CheckCircleIcon.js";
|
|
@@ -15,9 +17,9 @@ import "../../Icons/DurationIcon.js";
|
|
|
15
17
|
import "../../Icons/EmailIcon.js";
|
|
16
18
|
import "../../Icons/EraserIcon.js";
|
|
17
19
|
import "../../Icons/ErrorIcon.js";
|
|
18
|
-
import "../../Icons/EyeClosedIcon.js";
|
|
20
|
+
import { EyeClosedIcon as u } from "../../Icons/EyeClosedIcon.js";
|
|
19
21
|
import "../../Icons/EyeClosedIcon2.js";
|
|
20
|
-
import "../../Icons/EyeOpenIcon.js";
|
|
22
|
+
import { EyeOpenIcon as f } from "../../Icons/EyeOpenIcon.js";
|
|
21
23
|
import "../../Icons/GoToFirstIcon.js";
|
|
22
24
|
import "../../Icons/GoToLastIcon.js";
|
|
23
25
|
import "../../Icons/HarmonicCursorsIcon.js";
|
|
@@ -29,6 +31,7 @@ import "../../Icons/LiveViewIcon.js";
|
|
|
29
31
|
import "../../Icons/LoaderIcon.js";
|
|
30
32
|
import "../../Icons/LocationIcon.js";
|
|
31
33
|
import "../../Icons/LogoutIcon.js";
|
|
34
|
+
import "../../Icons/MessagesIcon.js";
|
|
32
35
|
import "../../Icons/MetadataIcon.js";
|
|
33
36
|
import "../../Icons/MinusIcon.js";
|
|
34
37
|
import "../../Icons/OntologyIcon.js";
|
|
@@ -46,11 +49,77 @@ import "../../Icons/WarningIcon.js";
|
|
|
46
49
|
import "../../Icons/ZoomAllIcon.js";
|
|
47
50
|
import "../../Icons/ZoomXIcon.js";
|
|
48
51
|
import "../../Icons/ZoomYIcon.js";
|
|
49
|
-
import "../../Input.js";
|
|
50
|
-
import "../../utils/sharedUtils.js";
|
|
51
|
-
import "react";
|
|
52
|
-
import {
|
|
53
|
-
import "../../proxy-
|
|
52
|
+
import { Input as w } from "../../Input.js";
|
|
53
|
+
import { calculatePasswordStrength as g } from "../../utils/sharedUtils.js";
|
|
54
|
+
import { useState as x } from "react";
|
|
55
|
+
import { A as y } from "../../index-BIpuW_o8.js";
|
|
56
|
+
import { m as s } from "../../proxy-C9AqCss6.js";
|
|
57
|
+
const Nt = ({
|
|
58
|
+
value: r,
|
|
59
|
+
onChange: p,
|
|
60
|
+
id: a,
|
|
61
|
+
label: n,
|
|
62
|
+
placeholder: l = "••••••••",
|
|
63
|
+
showStrength: c = !1,
|
|
64
|
+
className: d = ""
|
|
65
|
+
}) => {
|
|
66
|
+
const [i, e] = x(!1), o = r && c ? g(r) : null;
|
|
67
|
+
return /* @__PURE__ */ m("div", { children: [
|
|
68
|
+
/* @__PURE__ */ t(
|
|
69
|
+
w,
|
|
70
|
+
{
|
|
71
|
+
type: i ? "text" : "password",
|
|
72
|
+
value: r,
|
|
73
|
+
onChange: (h) => p(h.target.value),
|
|
74
|
+
className: d,
|
|
75
|
+
id: a,
|
|
76
|
+
label: n,
|
|
77
|
+
placeholder: l,
|
|
78
|
+
endIcon: i ? /* @__PURE__ */ t(
|
|
79
|
+
u,
|
|
80
|
+
{
|
|
81
|
+
size: 22,
|
|
82
|
+
onClick: () => e(!i),
|
|
83
|
+
className: "absolute top-1/2 right-4 -translate-y-1/2 cursor-pointer transition-colors"
|
|
84
|
+
}
|
|
85
|
+
) : /* @__PURE__ */ t(
|
|
86
|
+
f,
|
|
87
|
+
{
|
|
88
|
+
size: 22,
|
|
89
|
+
onClick: () => e(!i),
|
|
90
|
+
className: "absolute top-1/2 right-4 -translate-y-1/2 cursor-pointer transition-colors"
|
|
91
|
+
}
|
|
92
|
+
)
|
|
93
|
+
}
|
|
94
|
+
),
|
|
95
|
+
/* @__PURE__ */ t(y, { children: o && r.length > 0 && /* @__PURE__ */ m(
|
|
96
|
+
s.div,
|
|
97
|
+
{
|
|
98
|
+
initial: { opacity: 0, height: 0 },
|
|
99
|
+
animate: { opacity: 1, height: "auto" },
|
|
100
|
+
exit: { opacity: 0, height: 0 },
|
|
101
|
+
transition: { duration: 0.2 },
|
|
102
|
+
className: "mt-2",
|
|
103
|
+
children: [
|
|
104
|
+
/* @__PURE__ */ m("div", { className: "mb-1 flex items-center justify-between", children: [
|
|
105
|
+
/* @__PURE__ */ t("span", { className: "text-text-secondary text-xs", children: "Password strength" }),
|
|
106
|
+
/* @__PURE__ */ t("span", { className: "text-xs font-medium", style: { color: o.color }, children: o.label })
|
|
107
|
+
] }),
|
|
108
|
+
/* @__PURE__ */ t("div", { className: "h-1.5 overflow-hidden rounded-full bg-white/5", children: /* @__PURE__ */ t(
|
|
109
|
+
s.div,
|
|
110
|
+
{
|
|
111
|
+
className: "h-full rounded-full",
|
|
112
|
+
style: { backgroundColor: o.color },
|
|
113
|
+
initial: { width: 0 },
|
|
114
|
+
animate: { width: `${o.score / 5 * 100}%` },
|
|
115
|
+
transition: { duration: 0.3, ease: "easeOut" }
|
|
116
|
+
}
|
|
117
|
+
) })
|
|
118
|
+
]
|
|
119
|
+
}
|
|
120
|
+
) })
|
|
121
|
+
] });
|
|
122
|
+
};
|
|
54
123
|
export {
|
|
55
|
-
|
|
124
|
+
Nt as PasswordInput
|
|
56
125
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "../../styles/main.css";
|
|
3
3
|
import { jsxs as o, jsx as r } from "react/jsx-runtime";
|
|
4
|
-
import {
|
|
4
|
+
import { PasswordInput as p } from "./PasswordInput.js";
|
|
5
5
|
import { Button as e } from "../../Button.js";
|
|
6
6
|
import "../../Icons/AnnotationsIcon.js";
|
|
7
7
|
import "../../Icons/CalendarIcon.js";
|
|
@@ -16,7 +16,7 @@ import "../../Icons/CloseIcon.js";
|
|
|
16
16
|
import "../../Icons/DashboardIcon.js";
|
|
17
17
|
import "../../Icons/DeleteIcon.js";
|
|
18
18
|
import "../../Icons/DurationIcon.js";
|
|
19
|
-
import { EmailIcon as
|
|
19
|
+
import { EmailIcon as s } from "../../Icons/EmailIcon.js";
|
|
20
20
|
import "../../Icons/EraserIcon.js";
|
|
21
21
|
import "../../Icons/ErrorIcon.js";
|
|
22
22
|
import "../../Icons/EyeClosedIcon.js";
|
|
@@ -33,6 +33,7 @@ import "../../Icons/LiveViewIcon.js";
|
|
|
33
33
|
import "../../Icons/LoaderIcon.js";
|
|
34
34
|
import "../../Icons/LocationIcon.js";
|
|
35
35
|
import "../../Icons/LogoutIcon.js";
|
|
36
|
+
import "../../Icons/MessagesIcon.js";
|
|
36
37
|
import "../../Icons/MetadataIcon.js";
|
|
37
38
|
import "../../Icons/MinusIcon.js";
|
|
38
39
|
import "../../Icons/OntologyIcon.js";
|
|
@@ -53,8 +54,8 @@ import "../../Icons/ZoomYIcon.js";
|
|
|
53
54
|
import { Input as n } from "../../Input.js";
|
|
54
55
|
import { Label as c } from "../../Label.js";
|
|
55
56
|
import { useState as d } from "react";
|
|
56
|
-
import { m as h } from "../../proxy-
|
|
57
|
-
const
|
|
57
|
+
import { m as h } from "../../proxy-C9AqCss6.js";
|
|
58
|
+
const br = ({ onSubmit: i, onForgotPassword: m, isSubmitting: t }) => {
|
|
58
59
|
const [a, l] = d("");
|
|
59
60
|
return /* @__PURE__ */ o("div", { className: "space-y-6", children: [
|
|
60
61
|
/* @__PURE__ */ o("div", { children: [
|
|
@@ -66,12 +67,12 @@ const ur = ({ onSubmit: i, onForgotPassword: m, isSubmitting: t }) => {
|
|
|
66
67
|
className: "w-full rounded-lg border border-white/10 bg-white/5 px-4 py-3 pr-12 transition-all",
|
|
67
68
|
id: "email",
|
|
68
69
|
placeholder: "you@example.com",
|
|
69
|
-
endIcon: /* @__PURE__ */ r(
|
|
70
|
+
endIcon: /* @__PURE__ */ r(s, { size: 22, className: "absolute top-1/2 right-4 -translate-y-1/2 transition-colors" })
|
|
70
71
|
}
|
|
71
72
|
) })
|
|
72
73
|
] }),
|
|
73
74
|
/* @__PURE__ */ r(
|
|
74
|
-
|
|
75
|
+
p,
|
|
75
76
|
{
|
|
76
77
|
value: a,
|
|
77
78
|
onChange: l,
|
|
@@ -116,5 +117,5 @@ const ur = ({ onSubmit: i, onForgotPassword: m, isSubmitting: t }) => {
|
|
|
116
117
|
] });
|
|
117
118
|
};
|
|
118
119
|
export {
|
|
119
|
-
|
|
120
|
+
br as SignInForm
|
|
120
121
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "../../styles/main.css";
|
|
3
3
|
import { jsxs as o, jsx as r } from "react/jsx-runtime";
|
|
4
|
-
import {
|
|
4
|
+
import { PasswordInput as m } from "./PasswordInput.js";
|
|
5
5
|
import { Button as c } from "../../Button.js";
|
|
6
6
|
import "../../Icons/AnnotationsIcon.js";
|
|
7
7
|
import "../../Icons/CalendarIcon.js";
|
|
@@ -33,6 +33,7 @@ import "../../Icons/LiveViewIcon.js";
|
|
|
33
33
|
import "../../Icons/LoaderIcon.js";
|
|
34
34
|
import "../../Icons/LocationIcon.js";
|
|
35
35
|
import "../../Icons/LogoutIcon.js";
|
|
36
|
+
import "../../Icons/MessagesIcon.js";
|
|
36
37
|
import "../../Icons/MetadataIcon.js";
|
|
37
38
|
import "../../Icons/MinusIcon.js";
|
|
38
39
|
import "../../Icons/OntologyIcon.js";
|
|
@@ -53,9 +54,9 @@ import "../../Icons/ZoomYIcon.js";
|
|
|
53
54
|
import { Input as i } from "../../Input.js";
|
|
54
55
|
import { Label as e } from "../../Label.js";
|
|
55
56
|
import { useState as l } from "react";
|
|
56
|
-
import { m as w } from "../../proxy-
|
|
57
|
-
const
|
|
58
|
-
const [
|
|
57
|
+
import { m as w } from "../../proxy-C9AqCss6.js";
|
|
58
|
+
const ur = ({ onSubmit: p, isSubmitting: t }) => {
|
|
59
|
+
const [a, s] = l(""), [d, n] = l("");
|
|
59
60
|
return /* @__PURE__ */ o("div", { className: "space-y-6", children: [
|
|
60
61
|
/* @__PURE__ */ o("div", { className: "grid grid-cols-2 gap-3", children: [
|
|
61
62
|
/* @__PURE__ */ o("div", { children: [
|
|
@@ -99,7 +100,7 @@ const br = ({ onSubmit: a, isSubmitting: t }) => {
|
|
|
99
100
|
/* @__PURE__ */ r(
|
|
100
101
|
m,
|
|
101
102
|
{
|
|
102
|
-
value:
|
|
103
|
+
value: a,
|
|
103
104
|
onChange: s,
|
|
104
105
|
id: "signup-password",
|
|
105
106
|
label: "Password",
|
|
@@ -121,7 +122,7 @@ const br = ({ onSubmit: a, isSubmitting: t }) => {
|
|
|
121
122
|
c,
|
|
122
123
|
{
|
|
123
124
|
type: "button",
|
|
124
|
-
onClick:
|
|
125
|
+
onClick: p,
|
|
125
126
|
disabled: t,
|
|
126
127
|
state: t ? "loading" : "default",
|
|
127
128
|
label: "Create account",
|
|
@@ -131,5 +132,5 @@ const br = ({ onSubmit: a, isSubmitting: t }) => {
|
|
|
131
132
|
] });
|
|
132
133
|
};
|
|
133
134
|
export {
|
|
134
|
-
|
|
135
|
+
ur as SignUpForm
|
|
135
136
|
};
|
|
@@ -7,8 +7,8 @@ import { ForgotPasswordResetForm as k } from "./AuthCard/ForgotPasswordResetForm
|
|
|
7
7
|
import { SignInForm as v } from "./AuthCard/SignInForm.js";
|
|
8
8
|
import { SignUpForm as S } from "./AuthCard/SignUpForm.js";
|
|
9
9
|
import { useState as o } from "react";
|
|
10
|
-
import { m as i } from "../proxy-
|
|
11
|
-
import { A as N } from "../
|
|
10
|
+
import { m as i } from "../proxy-C9AqCss6.js";
|
|
11
|
+
import { A as N } from "../index-BIpuW_o8.js";
|
|
12
12
|
const O = () => {
|
|
13
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
14
|
n(!0), setTimeout(() => {
|
|
@@ -26,12 +26,13 @@ import "../Icons/HarmonicCursorsIcon.js";
|
|
|
26
26
|
import "../Icons/InfoIcon.js";
|
|
27
27
|
import { LabelIcon as c } from "../Icons/LabelIcon.js";
|
|
28
28
|
import { LassoIcon as n } from "../Icons/LassoIcon.js";
|
|
29
|
-
import { LineToolIcon as
|
|
29
|
+
import { LineToolIcon as p } 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
|
|
34
|
+
import "../Icons/MessagesIcon.js";
|
|
35
|
+
import { MetadataIcon as g } from "../Icons/MetadataIcon.js";
|
|
35
36
|
import "../Icons/MinusIcon.js";
|
|
36
37
|
import "../Icons/OntologyIcon.js";
|
|
37
38
|
import "../Icons/PanelIconClose.js";
|
|
@@ -51,7 +52,7 @@ import "../Icons/ZoomYIcon.js";
|
|
|
51
52
|
import { Toggle as u } from "../Toggle.js";
|
|
52
53
|
import { ToggleGroup as s, ToggleGroupItem as l } from "../ToggleGroup.js";
|
|
53
54
|
import { Tooltip as t, TooltipTrigger as i, TooltipContent as o } from "../Tooltip.js";
|
|
54
|
-
const
|
|
55
|
+
const ue = () => /* @__PURE__ */ r("div", { className: "flex items-center gap-4", children: [
|
|
55
56
|
/* @__PURE__ */ e("div", { className: "flex", children: /* @__PURE__ */ r(s, { type: "single", variant: "outline", children: [
|
|
56
57
|
/* @__PURE__ */ r(t, { children: [
|
|
57
58
|
/* @__PURE__ */ e(i, { asChild: !0, children: /* @__PURE__ */ r(l, { value: "crosshairs", children: [
|
|
@@ -69,7 +70,7 @@ const fe = () => /* @__PURE__ */ r("div", { className: "flex items-center gap-4"
|
|
|
69
70
|
] }),
|
|
70
71
|
/* @__PURE__ */ r(t, { children: [
|
|
71
72
|
/* @__PURE__ */ e(i, { asChild: !0, children: /* @__PURE__ */ r(l, { value: "points", children: [
|
|
72
|
-
/* @__PURE__ */ e(
|
|
73
|
+
/* @__PURE__ */ e(p, { size: 22 }),
|
|
73
74
|
/* @__PURE__ */ e(a, { className: "ml-1", children: "P" })
|
|
74
75
|
] }) }),
|
|
75
76
|
/* @__PURE__ */ e(o, { sideOffset: 8, side: "bottom", children: "Points tool (P)" })
|
|
@@ -150,10 +151,10 @@ const fe = () => /* @__PURE__ */ r("div", { className: "flex items-center gap-4"
|
|
|
150
151
|
] })
|
|
151
152
|
] }) }),
|
|
152
153
|
/* @__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(
|
|
154
|
+
/* @__PURE__ */ e(i, { asChild: !0, children: /* @__PURE__ */ e(u, { pressed: !1, children: /* @__PURE__ */ e(g, { size: 22 }) }) }),
|
|
154
155
|
/* @__PURE__ */ e(o, { sideOffset: 8, side: "bottom", children: "Metadata" })
|
|
155
156
|
] }) })
|
|
156
157
|
] });
|
|
157
158
|
export {
|
|
158
|
-
|
|
159
|
+
ue as LabelingTools
|
|
159
160
|
};
|
|
@@ -31,6 +31,7 @@ import "../Icons/LiveViewIcon.js";
|
|
|
31
31
|
import "../Icons/LoaderIcon.js";
|
|
32
32
|
import { LocationIcon as s } from "../Icons/LocationIcon.js";
|
|
33
33
|
import "../Icons/LogoutIcon.js";
|
|
34
|
+
import "../Icons/MessagesIcon.js";
|
|
34
35
|
import { MetadataIcon as c } from "../Icons/MetadataIcon.js";
|
|
35
36
|
import "../Icons/MinusIcon.js";
|
|
36
37
|
import "../Icons/OntologyIcon.js";
|
|
@@ -48,7 +49,7 @@ import "../Icons/WarningIcon.js";
|
|
|
48
49
|
import "../Icons/ZoomAllIcon.js";
|
|
49
50
|
import "../Icons/ZoomXIcon.js";
|
|
50
51
|
import "../Icons/ZoomYIcon.js";
|
|
51
|
-
const
|
|
52
|
+
const me = () => /* @__PURE__ */ e(r, { description: "Recording Details", title: "Sensor Metadata", trigger: /* @__PURE__ */ e(c, {}), children: /* @__PURE__ */ t("div", { className: "flex flex-col gap-4", children: [
|
|
52
53
|
/* @__PURE__ */ t("div", { className: "bg-card-bg-secondary rounded-md px-4 py-5", children: [
|
|
53
54
|
/* @__PURE__ */ t("div", { className: "flex items-center gap-2 !text-sm font-semibold uppercase", children: [
|
|
54
55
|
/* @__PURE__ */ e(a, { size: 16 }),
|
|
@@ -103,5 +104,5 @@ const ie = () => /* @__PURE__ */ e(r, { description: "Recording Details", title:
|
|
|
103
104
|
] })
|
|
104
105
|
] }) });
|
|
105
106
|
export {
|
|
106
|
-
|
|
107
|
+
me as SensorMetadata
|
|
107
108
|
};
|
|
@@ -31,6 +31,7 @@ import { LiveViewIcon as O } from "../Icons/LiveViewIcon.js";
|
|
|
31
31
|
import "../Icons/LoaderIcon.js";
|
|
32
32
|
import "../Icons/LocationIcon.js";
|
|
33
33
|
import "../Icons/LogoutIcon.js";
|
|
34
|
+
import "../Icons/MessagesIcon.js";
|
|
34
35
|
import "../Icons/MetadataIcon.js";
|
|
35
36
|
import "../Icons/MinusIcon.js";
|
|
36
37
|
import "../Icons/OntologyIcon.js";
|
|
@@ -55,7 +56,7 @@ import { Switch as P } from "../Switch.js";
|
|
|
55
56
|
import { Toggle as m } from "../Toggle.js";
|
|
56
57
|
import { Tooltip as s, TooltipTrigger as a, TooltipContent as n } from "../Tooltip.js";
|
|
57
58
|
import { useState as o } from "react";
|
|
58
|
-
const
|
|
59
|
+
const De = () => {
|
|
59
60
|
const [f, b] = o("green-black"), [u, p] = o(""), [v, c] = o(!1), [g, w] = o(!1), [y, N] = o("");
|
|
60
61
|
return /* @__PURE__ */ r(R, { open: v, onOpenChange: c, children: [
|
|
61
62
|
/* @__PURE__ */ e(S, { children: /* @__PURE__ */ e(m, { pressed: !1, children: /* @__PURE__ */ e(V, {}) }) }),
|
|
@@ -190,5 +191,5 @@ const Be = () => {
|
|
|
190
191
|
] });
|
|
191
192
|
};
|
|
192
193
|
export {
|
|
193
|
-
|
|
194
|
+
De as SettingsPopover
|
|
194
195
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import "./styles/main.css";
|
|
2
2
|
import * as u from "react";
|
|
3
3
|
import { useState as he } from "react";
|
|
4
|
-
import {
|
|
4
|
+
import { a as me, P as pe } from "./index-BhufZRa2.js";
|
|
5
|
+
import { u as z } from "./index-0ioNhtNM.js";
|
|
5
6
|
import { jsx as ge } from "react/jsx-runtime";
|
|
6
7
|
var U = "focusScope.autoFocusOnMount", _ = "focusScope.autoFocusOnUnmount", Z = { bubbles: !1, cancelable: !0 }, ye = "FocusScope", be = u.forwardRef((e, t) => {
|
|
7
8
|
const {
|
|
@@ -132,7 +133,7 @@ function ke(e) {
|
|
|
132
133
|
return e.filter((t) => t.tagName !== "A");
|
|
133
134
|
}
|
|
134
135
|
var j = 0;
|
|
135
|
-
function
|
|
136
|
+
function pt() {
|
|
136
137
|
u.useEffect(() => {
|
|
137
138
|
const e = document.querySelectorAll("[data-radix-focus-guard]");
|
|
138
139
|
return document.body.insertAdjacentElement("afterbegin", e[0] ?? J()), document.body.insertAdjacentElement("beforeend", e[1] ?? J()), j++, () => {
|
|
@@ -658,7 +659,7 @@ var lt = function(e) {
|
|
|
658
659
|
M.set(f, v), i.set(f, h), v || (I.has(f) || f.removeAttribute(r), I.delete(f)), h || f.removeAttribute(n);
|
|
659
660
|
}), X--, X || (M = /* @__PURE__ */ new WeakMap(), M = /* @__PURE__ */ new WeakMap(), I = /* @__PURE__ */ new WeakMap(), x = {});
|
|
660
661
|
};
|
|
661
|
-
},
|
|
662
|
+
}, gt = function(e, t, n) {
|
|
662
663
|
n === void 0 && (n = "data-aria-hidden");
|
|
663
664
|
var r = Array.from(Array.isArray(e) ? e : [e]), c = lt(e);
|
|
664
665
|
return c ? (r.push.apply(r, Array.from(c.querySelectorAll("[aria-live], script"))), ft(r, c, n, "aria-hidden")) : function() {
|
|
@@ -668,6 +669,6 @@ var lt = function(e) {
|
|
|
668
669
|
export {
|
|
669
670
|
be as F,
|
|
670
671
|
it as R,
|
|
671
|
-
|
|
672
|
-
|
|
672
|
+
gt as h,
|
|
673
|
+
pt as u
|
|
673
674
|
};
|