@spear-ai/spectral 1.3.42 → 1.3.43
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 +117 -103
- package/dist/Accordion/AccordionBase.d.ts +8 -8
- package/dist/Alert/AlertBase.d.ts +14 -0
- package/dist/Alert/AlertBase.js +63 -0
- package/dist/Alert.d.ts +12 -0
- package/dist/Alert.js +97 -0
- package/dist/Badge/BadgeBase.d.ts +1 -1
- package/dist/Button.d.ts +2 -2
- package/dist/Checkbox/CheckboxBase.d.ts +5 -5
- package/dist/Dialog/DialogBase.d.ts +2 -2
- package/dist/Dialog.d.ts +1 -1
- package/dist/Drawer.d.ts +1 -1
- package/dist/Drawer.js +141 -139
- package/dist/Icons/AnnotationsIcon.d.ts +1 -1
- package/dist/Icons/AnnotationsIcon.js +8 -7
- package/dist/Icons/CalendarIcon.d.ts +1 -1
- package/dist/Icons/CalendarIcon.js +9 -8
- package/dist/Icons/CheckIcon.d.ts +3 -0
- package/dist/Icons/CheckIcon.js +29 -0
- package/dist/Icons/ClockIcon.d.ts +1 -1
- package/dist/Icons/ClockIcon.js +9 -8
- package/dist/Icons/CloseCircleIcon.d.ts +3 -0
- package/dist/Icons/CloseCircleIcon.js +29 -0
- package/dist/Icons/CloseIcon.d.ts +3 -0
- package/dist/Icons/CloseIcon.js +28 -0
- package/dist/Icons/DashboardIcon.d.ts +1 -1
- package/dist/Icons/DashboardIcon.js +9 -8
- package/dist/Icons/DeleteIcon.d.ts +1 -1
- package/dist/Icons/DeleteIcon.js +9 -8
- package/dist/Icons/DurationIcon.d.ts +1 -1
- package/dist/Icons/DurationIcon.js +9 -8
- package/dist/Icons/EraserIcon.d.ts +1 -1
- package/dist/Icons/EraserIcon.js +9 -8
- package/dist/Icons/EyeClosedIcon.d.ts +3 -0
- package/dist/Icons/EyeClosedIcon.js +32 -0
- package/dist/Icons/EyeClosedIcon2.d.ts +3 -0
- package/dist/Icons/EyeClosedIcon2.js +30 -0
- package/dist/Icons/EyeOpenIcon.d.ts +3 -0
- package/dist/Icons/EyeOpenIcon.js +28 -0
- package/dist/Icons/GoToFirstIcon.d.ts +1 -1
- package/dist/Icons/GoToFirstIcon.js +9 -8
- package/dist/Icons/GoToLastIcon.d.ts +1 -1
- package/dist/Icons/GoToLastIcon.js +9 -8
- package/dist/Icons/HarmonicCursorsIcon.d.ts +1 -1
- package/dist/Icons/HarmonicCursorsIcon.js +9 -8
- package/dist/Icons/IconBase.d.ts +3 -3
- package/dist/Icons/InfoIcon.d.ts +1 -1
- package/dist/Icons/InfoIcon.js +9 -8
- package/dist/Icons/LabelIcon.d.ts +1 -1
- package/dist/Icons/LabelIcon.js +8 -7
- package/dist/Icons/LassoIcon.d.ts +1 -1
- package/dist/Icons/LassoIcon.js +9 -8
- package/dist/Icons/LineToolIcon.d.ts +1 -1
- package/dist/Icons/LineToolIcon.js +9 -8
- package/dist/Icons/LiveViewIcon.d.ts +1 -1
- package/dist/Icons/LiveViewIcon.js +9 -8
- package/dist/Icons/LocationIcon.d.ts +1 -1
- package/dist/Icons/LocationIcon.js +9 -8
- package/dist/Icons/LogoutIcon.d.ts +1 -1
- package/dist/Icons/LogoutIcon.js +8 -7
- package/dist/Icons/MetadataIcon.d.ts +1 -1
- package/dist/Icons/MetadataIcon.js +8 -7
- package/dist/Icons/OntologyIcon.d.ts +1 -1
- package/dist/Icons/OntologyIcon.js +9 -8
- package/dist/Icons/PanelIcon.d.ts +1 -1
- package/dist/Icons/PanelIcon.js +9 -8
- package/dist/Icons/PlayIcon.d.ts +1 -1
- package/dist/Icons/PlayIcon.js +8 -7
- package/dist/Icons/PlusIcon.d.ts +1 -1
- package/dist/Icons/PlusIcon.js +8 -7
- package/dist/Icons/ResetIcon.d.ts +1 -1
- package/dist/Icons/ResetIcon.js +8 -7
- package/dist/Icons/ScissorsIcon.d.ts +1 -1
- package/dist/Icons/ScissorsIcon.js +9 -8
- package/dist/Icons/SettingsIcon.d.ts +1 -1
- package/dist/Icons/SettingsIcon.js +9 -8
- package/dist/Icons/TrashIcon.d.ts +1 -1
- package/dist/Icons/TrashIcon.js +8 -7
- package/dist/Icons/UndoIcon.d.ts +1 -1
- package/dist/Icons/UndoIcon.js +8 -7
- package/dist/Icons/UserIcon.d.ts +1 -1
- package/dist/Icons/UserIcon.js +8 -7
- package/dist/Icons/WarningIcon.d.ts +1 -1
- package/dist/Icons/WarningIcon.js +8 -7
- package/dist/Icons/ZoomAllIcon.d.ts +1 -1
- package/dist/Icons/ZoomAllIcon.js +9 -8
- package/dist/Icons/ZoomXIcon.d.ts +1 -1
- package/dist/Icons/ZoomXIcon.js +9 -8
- package/dist/Icons/ZoomYIcon.d.ts +1 -1
- package/dist/Icons/ZoomYIcon.js +9 -8
- package/dist/Icons/index.d.ts +6 -0
- package/dist/Icons.js +72 -60
- package/dist/Label.d.ts +2 -2
- package/dist/Popover.d.ts +1 -1
- package/dist/RadioButtonGroup/RadioButtonGroupBase.d.ts +5 -3
- package/dist/RadioButtonGroup/RadioButtonGroupBase.js +41 -39
- package/dist/RadioButtonGroup.d.ts +2 -2
- package/dist/RadioButtonGroup.js +6 -6
- package/dist/RadioGroup/RadioGroupBase.d.ts +7 -7
- package/dist/RadioGroup.d.ts +1 -1
- package/dist/Skeleton.d.ts +1 -1
- package/dist/Slider/SliderBase.d.ts +7 -7
- package/dist/SpectralProvider.d.ts +1 -1
- package/dist/Switch/SwitchBase.d.ts +4 -4
- package/dist/Switch.d.ts +2 -2
- package/dist/Toggle/ToggleBase.d.ts +5 -4
- package/dist/Toggle/ToggleBase.js +30 -28
- package/dist/Toggle.d.ts +2 -2
- package/dist/ToggleGroup/ToggleGroupBase.d.ts +2 -2
- package/dist/ToggleGroup.d.ts +3 -3
- package/dist/Tooltip/TooltipBase.d.ts +8 -8
- package/dist/Tooltip.d.ts +1 -1
- package/dist/components/Accordion/AccordionBase.d.ts +8 -8
- package/dist/components/Alert/Alert.d.ts +12 -0
- package/dist/components/Alert/Alert.d.ts.map +1 -0
- package/dist/components/Alert/AlertBase.d.ts +14 -0
- package/dist/components/Alert/AlertBase.d.ts.map +1 -0
- package/dist/components/Badge/BadgeBase.d.ts +1 -1
- package/dist/components/Button/Button.d.ts +2 -2
- package/dist/components/Checkbox/CheckboxBase.d.ts +5 -5
- package/dist/components/Dialog/Dialog.d.ts +1 -1
- package/dist/components/Dialog/DialogBase.d.ts +2 -2
- package/dist/components/Drawer/Drawer.d.ts +1 -1
- package/dist/components/Drawer/Drawer.d.ts.map +1 -1
- package/dist/components/Icons/AnnotationsIcon.d.ts +1 -1
- package/dist/components/Icons/AnnotationsIcon.d.ts.map +1 -1
- package/dist/components/Icons/CalendarIcon.d.ts +1 -1
- package/dist/components/Icons/CalendarIcon.d.ts.map +1 -1
- package/dist/components/Icons/CheckIcon.d.ts +3 -0
- package/dist/components/Icons/CheckIcon.d.ts.map +1 -0
- package/dist/components/Icons/ClockIcon.d.ts +1 -1
- package/dist/components/Icons/ClockIcon.d.ts.map +1 -1
- package/dist/components/Icons/CloseCircleIcon.d.ts +3 -0
- package/dist/components/Icons/CloseCircleIcon.d.ts.map +1 -0
- package/dist/components/Icons/CloseIcon.d.ts +3 -0
- package/dist/components/Icons/CloseIcon.d.ts.map +1 -0
- package/dist/components/Icons/DashboardIcon.d.ts +1 -1
- package/dist/components/Icons/DashboardIcon.d.ts.map +1 -1
- package/dist/components/Icons/DeleteIcon.d.ts +1 -1
- package/dist/components/Icons/DeleteIcon.d.ts.map +1 -1
- package/dist/components/Icons/DurationIcon.d.ts +1 -1
- package/dist/components/Icons/DurationIcon.d.ts.map +1 -1
- package/dist/components/Icons/EraserIcon.d.ts +1 -1
- package/dist/components/Icons/EraserIcon.d.ts.map +1 -1
- package/dist/components/Icons/EyeClosedIcon.d.ts +3 -0
- package/dist/components/Icons/EyeClosedIcon.d.ts.map +1 -0
- package/dist/components/Icons/EyeClosedIcon2.d.ts +3 -0
- package/dist/components/Icons/EyeClosedIcon2.d.ts.map +1 -0
- package/dist/components/Icons/EyeOpenIcon.d.ts +3 -0
- package/dist/components/Icons/EyeOpenIcon.d.ts.map +1 -0
- package/dist/components/Icons/GoToFirstIcon.d.ts +1 -1
- package/dist/components/Icons/GoToFirstIcon.d.ts.map +1 -1
- package/dist/components/Icons/GoToLastIcon.d.ts +1 -1
- package/dist/components/Icons/GoToLastIcon.d.ts.map +1 -1
- package/dist/components/Icons/HarmonicCursorsIcon.d.ts +1 -1
- package/dist/components/Icons/HarmonicCursorsIcon.d.ts.map +1 -1
- package/dist/components/Icons/IconBase.d.ts +3 -3
- package/dist/components/Icons/InfoIcon.d.ts +1 -1
- package/dist/components/Icons/InfoIcon.d.ts.map +1 -1
- package/dist/components/Icons/LabelIcon.d.ts +1 -1
- package/dist/components/Icons/LabelIcon.d.ts.map +1 -1
- package/dist/components/Icons/LassoIcon.d.ts +1 -1
- package/dist/components/Icons/LassoIcon.d.ts.map +1 -1
- package/dist/components/Icons/LineToolIcon.d.ts +1 -1
- package/dist/components/Icons/LineToolIcon.d.ts.map +1 -1
- package/dist/components/Icons/LiveViewIcon.d.ts +1 -1
- package/dist/components/Icons/LiveViewIcon.d.ts.map +1 -1
- package/dist/components/Icons/LocationIcon.d.ts +1 -1
- package/dist/components/Icons/LocationIcon.d.ts.map +1 -1
- package/dist/components/Icons/LogoutIcon.d.ts +1 -1
- package/dist/components/Icons/LogoutIcon.d.ts.map +1 -1
- package/dist/components/Icons/MetadataIcon.d.ts +1 -1
- package/dist/components/Icons/MetadataIcon.d.ts.map +1 -1
- package/dist/components/Icons/OntologyIcon.d.ts +1 -1
- package/dist/components/Icons/OntologyIcon.d.ts.map +1 -1
- package/dist/components/Icons/PanelIcon.d.ts +1 -1
- package/dist/components/Icons/PanelIcon.d.ts.map +1 -1
- package/dist/components/Icons/PlayIcon.d.ts +1 -1
- package/dist/components/Icons/PlayIcon.d.ts.map +1 -1
- package/dist/components/Icons/PlusIcon.d.ts +1 -1
- package/dist/components/Icons/PlusIcon.d.ts.map +1 -1
- package/dist/components/Icons/ResetIcon.d.ts +1 -1
- package/dist/components/Icons/ResetIcon.d.ts.map +1 -1
- package/dist/components/Icons/ScissorsIcon.d.ts +1 -1
- package/dist/components/Icons/ScissorsIcon.d.ts.map +1 -1
- package/dist/components/Icons/SettingsIcon.d.ts +1 -1
- package/dist/components/Icons/SettingsIcon.d.ts.map +1 -1
- package/dist/components/Icons/TrashIcon.d.ts +1 -1
- package/dist/components/Icons/TrashIcon.d.ts.map +1 -1
- package/dist/components/Icons/UndoIcon.d.ts +1 -1
- package/dist/components/Icons/UndoIcon.d.ts.map +1 -1
- package/dist/components/Icons/UserIcon.d.ts +1 -1
- package/dist/components/Icons/UserIcon.d.ts.map +1 -1
- package/dist/components/Icons/WarningIcon.d.ts +1 -1
- package/dist/components/Icons/WarningIcon.d.ts.map +1 -1
- package/dist/components/Icons/ZoomAllIcon.d.ts +1 -1
- package/dist/components/Icons/ZoomAllIcon.d.ts.map +1 -1
- package/dist/components/Icons/ZoomXIcon.d.ts +1 -1
- package/dist/components/Icons/ZoomXIcon.d.ts.map +1 -1
- package/dist/components/Icons/ZoomYIcon.d.ts +1 -1
- package/dist/components/Icons/ZoomYIcon.d.ts.map +1 -1
- package/dist/components/Icons/iconTypes.d.ts +3 -3
- package/dist/components/Icons/iconTypes.d.ts.map +1 -1
- package/dist/components/Icons/index.d.ts +6 -0
- package/dist/components/Icons/index.d.ts.map +1 -1
- package/dist/components/Label/Label.d.ts +2 -2
- package/dist/components/Popover/Popover.d.ts +1 -1
- package/dist/components/RadioButtonGroup/RadioButtonGroup.d.ts +2 -2
- package/dist/components/RadioButtonGroup/RadioButtonGroup.d.ts.map +1 -1
- package/dist/components/RadioButtonGroup/RadioButtonGroupBase.d.ts +5 -3
- package/dist/components/RadioButtonGroup/RadioButtonGroupBase.d.ts.map +1 -1
- package/dist/components/RadioGroup/RadioGroup.d.ts +1 -1
- package/dist/components/RadioGroup/RadioGroupBase.d.ts +7 -7
- package/dist/components/Skeleton/Skeleton.d.ts +1 -1
- package/dist/components/Slider/SliderBase.d.ts +7 -7
- package/dist/components/SpectralProvider/SpectralProvider.d.ts +1 -1
- package/dist/components/Switch/Switch.d.ts +2 -2
- package/dist/components/Switch/SwitchBase.d.ts +4 -4
- package/dist/components/Toggle/Toggle.d.ts +2 -2
- package/dist/components/Toggle/ToggleBase.d.ts +5 -4
- package/dist/components/Toggle/ToggleBase.d.ts.map +1 -1
- package/dist/components/ToggleGroup/ToggleGroup.d.ts +3 -3
- package/dist/components/ToggleGroup/ToggleGroupBase.d.ts +2 -2
- package/dist/components/Tooltip/Tooltip.d.ts +1 -1
- package/dist/components/Tooltip/TooltipBase.d.ts +8 -8
- package/dist/features/HorizonColorGrid/HorizonColorGrid.d.ts +1 -1
- package/dist/features/LabelingToolbar/LabelingToolbar.d.ts +1 -1
- package/dist/features/LabelingTools.js +14 -8
- package/dist/features/SensorMetadata.js +14 -8
- package/dist/features/SettingsPopover/SettingsPopover.d.ts.map +1 -1
- package/dist/features/SettingsPopover.js +26 -19
- package/dist/hooks/useAccordionAutoScroll.d.ts +1 -1
- package/dist/hooks/useOutsideClick.d.ts +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/primitives/label.d.ts +2 -2
- package/dist/primitives/slot.d.ts +3 -3
- package/dist/styles/base-colors.css +19 -9
- package/dist/styles/main.css +1 -1
- package/dist/utils/refs.d.ts +1 -1
- package/package.json +2 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AsChildProp } from '../../primitives/slot';
|
|
2
|
-
import { ButtonHTMLAttributes, HTMLAttributes } from '
|
|
2
|
+
import { ButtonHTMLAttributes, HTMLAttributes } from 'react';
|
|
3
3
|
type Orientation = 'horizontal' | 'vertical';
|
|
4
4
|
type Dir = 'ltr' | 'rtl';
|
|
5
5
|
export type SliderBaseProps = HTMLAttributes<HTMLDivElement> & AsChildProp & {
|
|
@@ -18,7 +18,7 @@ export type SliderBaseProps = HTMLAttributes<HTMLDivElement> & AsChildProp & {
|
|
|
18
18
|
form?: string;
|
|
19
19
|
required?: boolean;
|
|
20
20
|
};
|
|
21
|
-
export declare const SliderBase: import('
|
|
21
|
+
export declare const SliderBase: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & AsChildProp & {
|
|
22
22
|
value?: number[];
|
|
23
23
|
defaultValue?: number[];
|
|
24
24
|
onValueChange?: (values: number[]) => void;
|
|
@@ -33,22 +33,22 @@ export declare const SliderBase: import('../../../node_modules/react').ForwardRe
|
|
|
33
33
|
name?: string;
|
|
34
34
|
form?: string;
|
|
35
35
|
required?: boolean;
|
|
36
|
-
} & import('
|
|
36
|
+
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
37
37
|
export type SliderTrackProps = HTMLAttributes<HTMLDivElement> & AsChildProp;
|
|
38
|
-
export declare const SliderTrack: import('
|
|
38
|
+
export declare const SliderTrack: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & AsChildProp & import('react').RefAttributes<HTMLDivElement>>;
|
|
39
39
|
export type SliderRangeProps = HTMLAttributes<HTMLDivElement> & AsChildProp;
|
|
40
|
-
export declare const SliderRange: import('
|
|
40
|
+
export declare const SliderRange: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & AsChildProp & import('react').RefAttributes<HTMLDivElement>>;
|
|
41
41
|
export type SliderThumbProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'value'> & AsChildProp & {
|
|
42
42
|
index?: number;
|
|
43
43
|
'aria-label'?: string;
|
|
44
44
|
'aria-labelledby'?: string;
|
|
45
45
|
'aria-valuetext'?: string;
|
|
46
46
|
};
|
|
47
|
-
export declare const SliderThumb: import('
|
|
47
|
+
export declare const SliderThumb: import('react').ForwardRefExoticComponent<Omit<ButtonHTMLAttributes<HTMLButtonElement>, "value"> & AsChildProp & {
|
|
48
48
|
index?: number;
|
|
49
49
|
'aria-label'?: string;
|
|
50
50
|
'aria-labelledby'?: string;
|
|
51
51
|
'aria-valuetext'?: string;
|
|
52
|
-
} & import('
|
|
52
|
+
} & import('react').RefAttributes<HTMLButtonElement>>;
|
|
53
53
|
export {};
|
|
54
54
|
//# sourceMappingURL=SliderBase.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SwitchProps as SwitchBaseProps } from './SwitchBase';
|
|
2
|
-
export declare const Switch: import('
|
|
2
|
+
export declare const Switch: import('react').ForwardRefExoticComponent<Omit<SwitchBaseProps, "onCheckedChange"> & {
|
|
3
3
|
labelPosition?: "left" | "right";
|
|
4
4
|
labelText: string;
|
|
5
5
|
id: string;
|
|
@@ -8,5 +8,5 @@ export declare const Switch: import('../../../node_modules/react').ForwardRefExo
|
|
|
8
8
|
required?: boolean;
|
|
9
9
|
value?: string;
|
|
10
10
|
variant?: "default" | "squared";
|
|
11
|
-
} & import('
|
|
11
|
+
} & import('react').RefAttributes<HTMLButtonElement>>;
|
|
12
12
|
//# sourceMappingURL=Switch.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AsChildProp } from '../../primitives/slot';
|
|
2
|
-
import { ButtonHTMLAttributes, HTMLAttributes } from '
|
|
2
|
+
import { ButtonHTMLAttributes, HTMLAttributes } from 'react';
|
|
3
3
|
type BaseButtonProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onChange' | 'value'>;
|
|
4
4
|
export type SwitchProps = BaseButtonProps & AsChildProp & {
|
|
5
5
|
checked?: boolean;
|
|
@@ -10,7 +10,7 @@ export type SwitchProps = BaseButtonProps & AsChildProp & {
|
|
|
10
10
|
required?: boolean;
|
|
11
11
|
form?: string;
|
|
12
12
|
};
|
|
13
|
-
export declare const Switch: import('
|
|
13
|
+
export declare const Switch: import('react').ForwardRefExoticComponent<BaseButtonProps & AsChildProp & {
|
|
14
14
|
checked?: boolean;
|
|
15
15
|
defaultChecked?: boolean;
|
|
16
16
|
onCheckedChange?: (checked: boolean) => void;
|
|
@@ -18,8 +18,8 @@ export declare const Switch: import('../../../node_modules/react').ForwardRefExo
|
|
|
18
18
|
value?: string;
|
|
19
19
|
required?: boolean;
|
|
20
20
|
form?: string;
|
|
21
|
-
} & import('
|
|
21
|
+
} & import('react').RefAttributes<HTMLButtonElement>>;
|
|
22
22
|
export type SwitchThumbProps = HTMLAttributes<HTMLSpanElement> & AsChildProp;
|
|
23
|
-
export declare const SwitchThumb: import('
|
|
23
|
+
export declare const SwitchThumb: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLSpanElement> & AsChildProp & import('react').RefAttributes<HTMLSpanElement>>;
|
|
24
24
|
export {};
|
|
25
25
|
//# sourceMappingURL=SwitchBase.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ToggleBase } from './ToggleBase';
|
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
|
3
|
-
import { ComponentProps } from '
|
|
3
|
+
import { ComponentProps } from 'react';
|
|
4
4
|
export type ToggleProps = ComponentProps<typeof ToggleBase> & VariantProps<typeof toggleVariants>;
|
|
5
5
|
export declare const toggleVariants: (props?: ({
|
|
6
6
|
variant?: "default" | "outline" | null | undefined;
|
|
7
7
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
8
8
|
layout?: "default" | "expanded" | null | undefined;
|
|
9
9
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
10
|
-
export declare const Toggle: import('
|
|
10
|
+
export declare const Toggle: import('react').ForwardRefExoticComponent<Omit<ToggleProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
11
11
|
//# sourceMappingURL=Toggle.d.ts.map
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { AsChildProp } from '../../primitives/slot';
|
|
2
|
+
import { ButtonHTMLAttributes } from 'react';
|
|
3
|
+
export type ToggleProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onChange'> & AsChildProp & {
|
|
3
4
|
pressed?: boolean;
|
|
4
5
|
defaultPressed?: boolean;
|
|
5
6
|
onPressedChange?: (pressed: boolean) => void;
|
|
6
7
|
disabled?: boolean;
|
|
7
8
|
};
|
|
8
|
-
export declare const ToggleBase: import('
|
|
9
|
+
export declare const ToggleBase: import('react').ForwardRefExoticComponent<Omit<ButtonHTMLAttributes<HTMLButtonElement>, "onChange"> & AsChildProp & {
|
|
9
10
|
pressed?: boolean;
|
|
10
11
|
defaultPressed?: boolean;
|
|
11
12
|
onPressedChange?: (pressed: boolean) => void;
|
|
12
13
|
disabled?: boolean;
|
|
13
|
-
} & import('
|
|
14
|
+
} & import('react').RefAttributes<HTMLButtonElement>>;
|
|
14
15
|
//# sourceMappingURL=ToggleBase.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToggleBase.d.ts","sourceRoot":"","sources":["../../../src/components/Toggle/ToggleBase.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ToggleBase.d.ts","sourceRoot":"","sources":["../../../src/components/Toggle/ToggleBase.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAE9D,OAAO,EAA2B,KAAK,oBAAoB,EAAuC,MAAM,OAAO,CAAA;AAE/G,MAAM,MAAM,WAAW,GAAG,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,UAAU,CAAC,GACjF,WAAW,GAAG;IACZ,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAA;IAC5C,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;AAEH,eAAO,MAAM,UAAU;cANT,OAAO;qBACA,OAAO;sBACN,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI;eACjC,OAAO;qDAkEpB,CAAA"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ToggleGroupBase } from './ToggleGroupBase';
|
|
2
2
|
import { toggleVariants } from '../Toggle/Toggle';
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
|
-
import { ComponentProps } from '
|
|
4
|
+
import { ComponentProps } from 'react';
|
|
5
5
|
export type ToggleGroupProps = ComponentProps<typeof ToggleGroupBase> & VariantProps<typeof toggleVariants>;
|
|
6
6
|
export declare const ToggleGroup: ({ className, variant, size, layout, children, ...props }: ToggleGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export declare const ToggleGroupItem: import('
|
|
7
|
+
export declare const ToggleGroupItem: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "pressed" | "defaultPressed" | "onPressedChange"> & import('./ToggleGroupBase').ItemRenderProps & import('react').RefAttributes<HTMLButtonElement> & VariantProps<(props?: ({
|
|
8
8
|
variant?: "default" | "outline" | null | undefined;
|
|
9
9
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
10
10
|
layout?: "default" | "expanded" | null | undefined;
|
|
11
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string>, "ref"> & import('
|
|
11
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string>, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
12
12
|
//# sourceMappingURL=ToggleGroup.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ButtonHTMLAttributes, HTMLAttributes, ReactNode } from '
|
|
1
|
+
import { ButtonHTMLAttributes, HTMLAttributes, ReactNode } from 'react';
|
|
2
2
|
type Orientation = 'horizontal' | 'vertical';
|
|
3
3
|
export type CommonGroupProps = {
|
|
4
4
|
orientation?: Orientation;
|
|
@@ -25,6 +25,6 @@ export type ItemRenderProps = {
|
|
|
25
25
|
};
|
|
26
26
|
export declare const ToggleGroupBase: (props: ToggleGroupProps & Record<`data-${string}`, any>) => import("react/jsx-runtime").JSX.Element;
|
|
27
27
|
export type ToggleGroupItemProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onChange' | 'onPressedChange' | 'pressed' | 'defaultPressed'> & ItemRenderProps;
|
|
28
|
-
export declare const ToggleGroupItemBase: import('
|
|
28
|
+
export declare const ToggleGroupItemBase: import('react').ForwardRefExoticComponent<Omit<ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "pressed" | "defaultPressed" | "onPressedChange"> & ItemRenderProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
29
29
|
export {};
|
|
30
30
|
//# sourceMappingURL=ToggleGroupBase.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentProps } from '
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
2
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
3
3
|
export declare const TooltipProvider: ({ delayDuration, ...props }: ComponentProps<typeof TooltipPrimitive.Provider>) => import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export declare const Tooltip: ({ ...props }: ComponentProps<typeof TooltipPrimitive.Root>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, ReactNode } from '
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
2
|
type Side = 'top' | 'right' | 'bottom' | 'left';
|
|
3
3
|
type Align = 'start' | 'center' | 'end';
|
|
4
4
|
export type TooltipProviderProps = {
|
|
@@ -7,7 +7,7 @@ export type TooltipProviderProps = {
|
|
|
7
7
|
skipDelayDuration?: number;
|
|
8
8
|
disableHoverableContent?: boolean;
|
|
9
9
|
};
|
|
10
|
-
export declare const TooltipProviderBase: import('
|
|
10
|
+
export declare const TooltipProviderBase: import('react').ForwardRefExoticComponent<TooltipProviderProps & import('react').RefAttributes<HTMLElement>>;
|
|
11
11
|
export type TooltipRootProps = {
|
|
12
12
|
align?: Align;
|
|
13
13
|
alignOffset?: number;
|
|
@@ -24,28 +24,28 @@ export declare const TooltipRootBase: ({ children, open: openProp, defaultOpen,
|
|
|
24
24
|
export type TooltipTriggerProps = ComponentPropsWithoutRef<'button'> & {
|
|
25
25
|
asChild?: boolean;
|
|
26
26
|
};
|
|
27
|
-
export declare const TooltipTriggerBase: import('
|
|
27
|
+
export declare const TooltipTriggerBase: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
28
28
|
asChild?: boolean;
|
|
29
|
-
} & import('
|
|
29
|
+
} & import('react').RefAttributes<HTMLElement>>;
|
|
30
30
|
export type TooltipContentProps = ComponentPropsWithoutRef<'div'> & {
|
|
31
31
|
forceMount?: boolean;
|
|
32
32
|
container?: Element | DocumentFragment | null | undefined;
|
|
33
33
|
arrowPadding?: number;
|
|
34
34
|
variant?: 'default' | 'outline';
|
|
35
35
|
};
|
|
36
|
-
export declare const TooltipContentBase: import('
|
|
36
|
+
export declare const TooltipContentBase: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
37
37
|
forceMount?: boolean;
|
|
38
38
|
container?: Element | DocumentFragment | null | undefined;
|
|
39
39
|
arrowPadding?: number;
|
|
40
40
|
variant?: "default" | "outline";
|
|
41
|
-
} & import('
|
|
41
|
+
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
42
42
|
export type TooltipArrowProps = ComponentPropsWithoutRef<'div'> & {
|
|
43
43
|
width?: number;
|
|
44
44
|
height?: number;
|
|
45
45
|
};
|
|
46
|
-
export declare const TooltipArrowBase: import('
|
|
46
|
+
export declare const TooltipArrowBase: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
47
47
|
width?: number;
|
|
48
48
|
height?: number;
|
|
49
|
-
} & import('
|
|
49
|
+
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
50
50
|
export {};
|
|
51
51
|
//# sourceMappingURL=TooltipBase.d.ts.map
|
|
@@ -3,16 +3,22 @@ import { jsxs as r, jsx as e } from "react/jsx-runtime";
|
|
|
3
3
|
import { Badge as a } from "../Badge.js";
|
|
4
4
|
import "../Icons/AnnotationsIcon.js";
|
|
5
5
|
import "../Icons/CalendarIcon.js";
|
|
6
|
+
import "../Icons/CheckIcon.js";
|
|
6
7
|
import "../Icons/ClockIcon.js";
|
|
8
|
+
import "../Icons/CloseCircleIcon.js";
|
|
9
|
+
import "../Icons/CloseIcon.js";
|
|
7
10
|
import "../Icons/DashboardIcon.js";
|
|
8
|
-
import { DeleteIcon as
|
|
11
|
+
import { DeleteIcon as m } from "../Icons/DeleteIcon.js";
|
|
9
12
|
import "../Icons/DurationIcon.js";
|
|
10
|
-
import { EraserIcon as
|
|
13
|
+
import { EraserIcon as n } from "../Icons/EraserIcon.js";
|
|
14
|
+
import "../Icons/EyeClosedIcon.js";
|
|
15
|
+
import "../Icons/EyeClosedIcon2.js";
|
|
16
|
+
import "../Icons/EyeOpenIcon.js";
|
|
11
17
|
import "../Icons/GoToFirstIcon.js";
|
|
12
18
|
import "../Icons/GoToLastIcon.js";
|
|
13
19
|
import "../Icons/HarmonicCursorsIcon.js";
|
|
14
20
|
import "../Icons/InfoIcon.js";
|
|
15
|
-
import { LabelIcon as
|
|
21
|
+
import { LabelIcon as c } from "../Icons/LabelIcon.js";
|
|
16
22
|
import { LassoIcon as g } from "../Icons/LassoIcon.js";
|
|
17
23
|
import { LineToolIcon as p } from "../Icons/LineToolIcon.js";
|
|
18
24
|
import "../Icons/LiveViewIcon.js";
|
|
@@ -36,7 +42,7 @@ import "../Icons/ZoomYIcon.js";
|
|
|
36
42
|
import { Toggle as d } from "../Toggle.js";
|
|
37
43
|
import { ToggleGroup as s, ToggleGroupItem as l } from "../ToggleGroup.js";
|
|
38
44
|
import { Tooltip as i, TooltipTrigger as o, TooltipContent as t } from "../Tooltip.js";
|
|
39
|
-
const
|
|
45
|
+
const de = () => /* @__PURE__ */ r("div", { className: "align-center flex gap-4", children: [
|
|
40
46
|
/* @__PURE__ */ e("div", { className: "flex", children: /* @__PURE__ */ r(s, { type: "single", variant: "outline", children: [
|
|
41
47
|
/* @__PURE__ */ r(i, { children: [
|
|
42
48
|
/* @__PURE__ */ e(o, { children: /* @__PURE__ */ r(l, { value: "crosshairs", children: [
|
|
@@ -82,7 +88,7 @@ const ie = () => /* @__PURE__ */ r("div", { className: "align-center flex gap-4"
|
|
|
82
88
|
value: "lasso",
|
|
83
89
|
className: "data-[state=on]:bg-toggle-bg data-[state=on]:border-toggle-border",
|
|
84
90
|
children: [
|
|
85
|
-
/* @__PURE__ */ e(
|
|
91
|
+
/* @__PURE__ */ e(c, { size: 22 }),
|
|
86
92
|
/* @__PURE__ */ e(a, { className: "group-data-[state=on]:bg-badge-primary-bg active:bg-badge-primary-bg--active ml-1", children: "⌘T" })
|
|
87
93
|
]
|
|
88
94
|
}
|
|
@@ -112,7 +118,7 @@ const ie = () => /* @__PURE__ */ r("div", { className: "align-center flex gap-4"
|
|
|
112
118
|
value: "delete",
|
|
113
119
|
className: "data-[state=on]:bg-toggle-bg data-[state=on]:border-toggle-border",
|
|
114
120
|
children: [
|
|
115
|
-
/* @__PURE__ */ e(
|
|
121
|
+
/* @__PURE__ */ e(m, { size: 22 }),
|
|
116
122
|
/* @__PURE__ */ e(a, { className: "group-data-[state=on]:bg-badge-primary-bg active:bg-badge-primary-bg--active ml-1", children: "⌫" })
|
|
117
123
|
]
|
|
118
124
|
}
|
|
@@ -126,7 +132,7 @@ const ie = () => /* @__PURE__ */ r("div", { className: "align-center flex gap-4"
|
|
|
126
132
|
value: "clear",
|
|
127
133
|
className: "data-[state=on]:bg-toggle-bg data-[state=on]:border-toggle-border",
|
|
128
134
|
children: [
|
|
129
|
-
/* @__PURE__ */ e(
|
|
135
|
+
/* @__PURE__ */ e(n, { size: 22 }),
|
|
130
136
|
/* @__PURE__ */ e(a, { className: "group-data-[state=on]:bg-badge-primary-bg active:bg-badge-primary-bg--active ml-1", children: "⌘⇧A" })
|
|
131
137
|
]
|
|
132
138
|
}
|
|
@@ -146,5 +152,5 @@ const ie = () => /* @__PURE__ */ r("div", { className: "align-center flex gap-4"
|
|
|
146
152
|
] })
|
|
147
153
|
] });
|
|
148
154
|
export {
|
|
149
|
-
|
|
155
|
+
de as LabelingTools
|
|
150
156
|
};
|
|
@@ -3,22 +3,28 @@ import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
|
3
3
|
import { Drawer as r } from "../Drawer.js";
|
|
4
4
|
import "../Icons/AnnotationsIcon.js";
|
|
5
5
|
import "../Icons/CalendarIcon.js";
|
|
6
|
+
import "../Icons/CheckIcon.js";
|
|
6
7
|
import { ClockIcon as i } from "../Icons/ClockIcon.js";
|
|
8
|
+
import "../Icons/CloseCircleIcon.js";
|
|
9
|
+
import "../Icons/CloseIcon.js";
|
|
7
10
|
import "../Icons/DashboardIcon.js";
|
|
8
11
|
import "../Icons/DeleteIcon.js";
|
|
9
12
|
import { DurationIcon as a } from "../Icons/DurationIcon.js";
|
|
10
13
|
import "../Icons/EraserIcon.js";
|
|
14
|
+
import "../Icons/EyeClosedIcon.js";
|
|
15
|
+
import "../Icons/EyeClosedIcon2.js";
|
|
16
|
+
import "../Icons/EyeOpenIcon.js";
|
|
11
17
|
import "../Icons/GoToFirstIcon.js";
|
|
12
18
|
import "../Icons/GoToLastIcon.js";
|
|
13
19
|
import "../Icons/HarmonicCursorsIcon.js";
|
|
14
|
-
import { InfoIcon as
|
|
20
|
+
import { InfoIcon as m } from "../Icons/InfoIcon.js";
|
|
15
21
|
import "../Icons/LabelIcon.js";
|
|
16
22
|
import "../Icons/LassoIcon.js";
|
|
17
23
|
import "../Icons/LineToolIcon.js";
|
|
18
24
|
import "../Icons/LiveViewIcon.js";
|
|
19
|
-
import { LocationIcon as
|
|
25
|
+
import { LocationIcon as s } from "../Icons/LocationIcon.js";
|
|
20
26
|
import "../Icons/LogoutIcon.js";
|
|
21
|
-
import { MetadataIcon as
|
|
27
|
+
import { MetadataIcon as c } from "../Icons/MetadataIcon.js";
|
|
22
28
|
import "../Icons/OntologyIcon.js";
|
|
23
29
|
import "../Icons/PanelIcon.js";
|
|
24
30
|
import "../Icons/PlayIcon.js";
|
|
@@ -33,17 +39,17 @@ import "../Icons/WarningIcon.js";
|
|
|
33
39
|
import "../Icons/ZoomAllIcon.js";
|
|
34
40
|
import "../Icons/ZoomXIcon.js";
|
|
35
41
|
import "../Icons/ZoomYIcon.js";
|
|
36
|
-
const
|
|
42
|
+
const V = () => /* @__PURE__ */ e(r, { description: "Recording Details", title: "Sensor Metadata", trigger: /* @__PURE__ */ e(c, {}), children: /* @__PURE__ */ t("div", { className: "flex flex-col gap-4", children: [
|
|
37
43
|
/* @__PURE__ */ t("div", { className: "bg-card-bg-secondary rounded-md px-4 py-5", children: [
|
|
38
44
|
/* @__PURE__ */ t("div", { className: "flex items-center gap-2 !text-sm font-semibold uppercase", children: [
|
|
39
|
-
/* @__PURE__ */ e(
|
|
45
|
+
/* @__PURE__ */ e(m, { size: 16 }),
|
|
40
46
|
"sensor type"
|
|
41
47
|
] }),
|
|
42
48
|
/* @__PURE__ */ e("div", { className: "!text-text-accent-primary mt-4 flex text-center !text-xl", children: "Omnidirectional Hydrophone Array" })
|
|
43
49
|
] }),
|
|
44
50
|
/* @__PURE__ */ t("div", { className: "bg-card-bg-secondary rounded-md px-4 py-5", children: [
|
|
45
51
|
/* @__PURE__ */ t("div", { className: "flex items-center gap-2 !text-sm font-semibold uppercase", children: [
|
|
46
|
-
/* @__PURE__ */ e(
|
|
52
|
+
/* @__PURE__ */ e(s, { size: 16 }),
|
|
47
53
|
"location"
|
|
48
54
|
] }),
|
|
49
55
|
/* @__PURE__ */ e("div", { className: "!text-text-accent-primary mt-4 flex justify-center !text-xl", children: "42.3601° N, 71.0589° W" }),
|
|
@@ -58,7 +64,7 @@ const G = () => /* @__PURE__ */ e(r, { description: "Recording Details", title:
|
|
|
58
64
|
/* @__PURE__ */ e("div", { className: "!text-sm font-medium uppercase", children: "water depth" })
|
|
59
65
|
] }) }),
|
|
60
66
|
/* @__PURE__ */ e("div", { className: "bg-card-bg-secondary w-1/2 rounded-md px-4 py-5", children: /* @__PURE__ */ t("div", { className: "flex flex-col items-center gap-1 font-semibold", children: [
|
|
61
|
-
/* @__PURE__ */ e("div", { className: "!text-
|
|
67
|
+
/* @__PURE__ */ e("div", { className: "!text-success-400 !text-lg font-semibold", children: "Active" }),
|
|
62
68
|
/* @__PURE__ */ e("div", { className: "!text-sm font-medium uppercase", children: "status" })
|
|
63
69
|
] }) })
|
|
64
70
|
] }),
|
|
@@ -88,5 +94,5 @@ const G = () => /* @__PURE__ */ e(r, { description: "Recording Details", title:
|
|
|
88
94
|
] })
|
|
89
95
|
] }) });
|
|
90
96
|
export {
|
|
91
|
-
|
|
97
|
+
V as SensorMetadata
|
|
92
98
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SettingsPopover.d.ts","sourceRoot":"","sources":["../../../src/features/SettingsPopover/SettingsPopover.tsx"],"names":[],"mappings":"AAmBA,eAAO,MAAM,eAAe,+
|
|
1
|
+
{"version":3,"file":"SettingsPopover.d.ts","sourceRoot":"","sources":["../../../src/features/SettingsPopover/SettingsPopover.tsx"],"names":[],"mappings":"AAmBA,eAAO,MAAM,eAAe,+CA8J3B,CAAA"}
|
|
@@ -3,13 +3,19 @@ import "../styles/main.css";
|
|
|
3
3
|
import { jsxs as r, jsx as e } from "react/jsx-runtime";
|
|
4
4
|
import "../Icons/AnnotationsIcon.js";
|
|
5
5
|
import "../Icons/CalendarIcon.js";
|
|
6
|
+
import "../Icons/CheckIcon.js";
|
|
6
7
|
import "../Icons/ClockIcon.js";
|
|
8
|
+
import "../Icons/CloseCircleIcon.js";
|
|
9
|
+
import "../Icons/CloseIcon.js";
|
|
7
10
|
import "../Icons/DashboardIcon.js";
|
|
8
11
|
import "../Icons/DeleteIcon.js";
|
|
9
12
|
import "../Icons/DurationIcon.js";
|
|
10
13
|
import "../Icons/EraserIcon.js";
|
|
11
|
-
import
|
|
12
|
-
import
|
|
14
|
+
import "../Icons/EyeClosedIcon.js";
|
|
15
|
+
import "../Icons/EyeClosedIcon2.js";
|
|
16
|
+
import "../Icons/EyeOpenIcon.js";
|
|
17
|
+
import { GoToFirstIcon as x } from "../Icons/GoToFirstIcon.js";
|
|
18
|
+
import { GoToLastIcon as T } from "../Icons/GoToLastIcon.js";
|
|
13
19
|
import { HarmonicCursorsIcon as z } from "../Icons/HarmonicCursorsIcon.js";
|
|
14
20
|
import "../Icons/InfoIcon.js";
|
|
15
21
|
import "../Icons/LabelIcon.js";
|
|
@@ -38,11 +44,11 @@ import { RadioButtonGroup as h, RadioButtonGroupItem as i } from "../RadioButton
|
|
|
38
44
|
import { RadioGroup as Z, RadioGroupItem as l } from "../RadioGroup.js";
|
|
39
45
|
import { Switch as P } from "../Switch.js";
|
|
40
46
|
import { Toggle as s } from "../Toggle.js";
|
|
41
|
-
import { Tooltip as
|
|
47
|
+
import { Tooltip as m, TooltipTrigger as a, TooltipContent as n } from "../Tooltip.js";
|
|
42
48
|
import { useState as o } from "react";
|
|
43
|
-
const
|
|
44
|
-
const [f, b] = o("green-black"), [
|
|
45
|
-
return /* @__PURE__ */ r(R, { open:
|
|
49
|
+
const Ce = () => {
|
|
50
|
+
const [f, b] = o("green-black"), [u, p] = o(""), [v, c] = o(!1), [g, w] = o(!1), [y, N] = o("");
|
|
51
|
+
return /* @__PURE__ */ r(R, { open: v, onOpenChange: c, children: [
|
|
46
52
|
/* @__PURE__ */ e(S, { children: /* @__PURE__ */ e(s, { pressed: !1, children: /* @__PURE__ */ e(V, {}) }) }),
|
|
47
53
|
/* @__PURE__ */ r(A, { side: "bottom", align: "end", width: 420, children: [
|
|
48
54
|
/* @__PURE__ */ r("div", { className: "mb-6 w-full", children: [
|
|
@@ -50,7 +56,8 @@ const Te = () => {
|
|
|
50
56
|
/* @__PURE__ */ r(
|
|
51
57
|
h,
|
|
52
58
|
{
|
|
53
|
-
value:
|
|
59
|
+
value: u,
|
|
60
|
+
expanded: !0,
|
|
54
61
|
isKeptActive: !0,
|
|
55
62
|
onValueChange: (t) => {
|
|
56
63
|
p(t), t && c(!1);
|
|
@@ -94,7 +101,7 @@ const Te = () => {
|
|
|
94
101
|
/* @__PURE__ */ e(
|
|
95
102
|
P,
|
|
96
103
|
{
|
|
97
|
-
checked:
|
|
104
|
+
checked: g,
|
|
98
105
|
onChange: (t) => {
|
|
99
106
|
w(t);
|
|
100
107
|
},
|
|
@@ -122,20 +129,20 @@ const Te = () => {
|
|
|
122
129
|
},
|
|
123
130
|
variant: "unstyled",
|
|
124
131
|
children: [
|
|
125
|
-
/* @__PURE__ */ e(l, { value: "green-black", "aria-label": "green & black theme", children: /* @__PURE__ */ r(
|
|
126
|
-
/* @__PURE__ */ e(
|
|
132
|
+
/* @__PURE__ */ e(l, { value: "green-black", "aria-label": "green & black theme", children: /* @__PURE__ */ r(m, { children: [
|
|
133
|
+
/* @__PURE__ */ e(a, { children: /* @__PURE__ */ e("img", { src: "/themes/green-black-theme.webp", alt: "green & black theme", className: "h-8 w-8" }) }),
|
|
127
134
|
/* @__PURE__ */ e(n, { side: "bottom", sideOffset: 8, children: /* @__PURE__ */ e("p", { children: "Green & Black Theme" }) })
|
|
128
135
|
] }) }),
|
|
129
|
-
/* @__PURE__ */ e(l, { value: "grayscale", "aria-label": "grayscale theme", children: /* @__PURE__ */ r(
|
|
130
|
-
/* @__PURE__ */ e(
|
|
136
|
+
/* @__PURE__ */ e(l, { value: "grayscale", "aria-label": "grayscale theme", children: /* @__PURE__ */ r(m, { children: [
|
|
137
|
+
/* @__PURE__ */ e(a, { children: /* @__PURE__ */ e("img", { src: "/themes/grayscale-theme.webp", alt: "grayscale theme", className: "h-8 w-8" }) }),
|
|
131
138
|
/* @__PURE__ */ e(n, { side: "bottom", sideOffset: 8, children: /* @__PURE__ */ e("p", { children: "Grayscale Theme" }) })
|
|
132
139
|
] }) }),
|
|
133
|
-
/* @__PURE__ */ e(l, { value: "reverse-grayscale", "aria-label": "reverse grayscale theme", children: /* @__PURE__ */ r(
|
|
134
|
-
/* @__PURE__ */ e(
|
|
140
|
+
/* @__PURE__ */ e(l, { value: "reverse-grayscale", "aria-label": "reverse grayscale theme", children: /* @__PURE__ */ r(m, { children: [
|
|
141
|
+
/* @__PURE__ */ e(a, { children: /* @__PURE__ */ e("img", { src: "/themes/reverse-grayscale-theme.webp", alt: "reverse grayscale theme", className: "h-8 w-8" }) }),
|
|
135
142
|
/* @__PURE__ */ e(n, { side: "bottom", sideOffset: 8, children: /* @__PURE__ */ e("p", { children: "Reverse Grayscale Theme" }) })
|
|
136
143
|
] }) }),
|
|
137
|
-
/* @__PURE__ */ e(l, { value: "viridis", "aria-label": "viridis theme", children: /* @__PURE__ */ r(
|
|
138
|
-
/* @__PURE__ */ e(
|
|
144
|
+
/* @__PURE__ */ e(l, { value: "viridis", "aria-label": "viridis theme", children: /* @__PURE__ */ r(m, { children: [
|
|
145
|
+
/* @__PURE__ */ e(a, { children: /* @__PURE__ */ e("img", { src: "/themes/viridis-theme.webp", alt: "viridis theme", className: "h-8 w-8" }) }),
|
|
139
146
|
/* @__PURE__ */ e(n, { side: "bottom", sideOffset: 8, children: /* @__PURE__ */ e("p", { children: "Viridis Theme" }) })
|
|
140
147
|
] }) })
|
|
141
148
|
]
|
|
@@ -159,11 +166,11 @@ const Te = () => {
|
|
|
159
166
|
},
|
|
160
167
|
children: [
|
|
161
168
|
/* @__PURE__ */ r(i, { value: "oldest-data", "aria-label": "oldest data", children: [
|
|
162
|
-
/* @__PURE__ */ e(
|
|
169
|
+
/* @__PURE__ */ e(x, { size: 16 }),
|
|
163
170
|
"Oldest Data"
|
|
164
171
|
] }),
|
|
165
172
|
/* @__PURE__ */ r(i, { value: "newest-data", "aria-label": "newest data", children: [
|
|
166
|
-
/* @__PURE__ */ e(
|
|
173
|
+
/* @__PURE__ */ e(T, { size: 16 }),
|
|
167
174
|
"Newest Data"
|
|
168
175
|
] })
|
|
169
176
|
]
|
|
@@ -174,5 +181,5 @@ const Te = () => {
|
|
|
174
181
|
] });
|
|
175
182
|
};
|
|
176
183
|
export {
|
|
177
|
-
|
|
184
|
+
Ce as SettingsPopover
|
|
178
185
|
};
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAA;AAChD,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,4BAA4B,CAAA;AACrE,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,4BAA4B,CAAA;AACrE,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAA;AACtF,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAA;AACvG,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAA;AAC/E,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAA;AACzD,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,4BAA4B,CAAA;AACrE,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,MAAM,+BAA+B,CAAA;AAC5F,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AACnD,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,4BAA4B,CAAA;AACrE,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,KAAK,gBAAgB,EAAE,MAAM,sCAAsC,CAAA;AAC1G,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAA;AAGtF,cAAc,oBAAoB,CAAA;AAClC,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAG/E,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAA;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAG3C,OAAO,EAAE,EAAE,EAAE,MAAM,iBAAiB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAA;AAChD,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,4BAA4B,CAAA;AACrE,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,4BAA4B,CAAA;AACrE,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAA;AACtF,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAA;AACvG,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAA;AAC/E,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAA;AACzD,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,4BAA4B,CAAA;AACrE,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,MAAM,+BAA+B,CAAA;AAC5F,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AACnD,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,4BAA4B,CAAA;AACrE,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,KAAK,gBAAgB,EAAE,MAAM,sCAAsC,CAAA;AAC1G,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAA;AAGtF,cAAc,oBAAoB,CAAA;AAClC,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAG/E,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAA;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAG3C,OAAO,EAAE,EAAE,EAAE,MAAM,iBAAiB,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AsChildProp } from './slot';
|
|
2
|
-
import { LabelHTMLAttributes } from '
|
|
2
|
+
import { LabelHTMLAttributes } from 'react';
|
|
3
3
|
export type LabelProps = LabelHTMLAttributes<HTMLLabelElement> & AsChildProp;
|
|
4
|
-
export declare const Label: import('
|
|
4
|
+
export declare const Label: import('react').ForwardRefExoticComponent<LabelHTMLAttributes<HTMLLabelElement> & AsChildProp & import('react').RefAttributes<HTMLLabelElement>>;
|
|
5
5
|
//# sourceMappingURL=label.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { HTMLAttributes, ReactNode } from '
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
2
|
export declare function Slottable(props: {
|
|
3
3
|
children?: ReactNode;
|
|
4
4
|
}): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
export declare const Slot: import('
|
|
5
|
+
export declare const Slot: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLElement> & {
|
|
6
6
|
children?: ReactNode;
|
|
7
|
-
} & import('
|
|
7
|
+
} & import('react').RefAttributes<HTMLElement>>;
|
|
8
8
|
export type AsChildProp = {
|
|
9
9
|
asChild?: boolean;
|
|
10
10
|
};
|
|
@@ -35,17 +35,27 @@
|
|
|
35
35
|
--horizon-color-level-four: oklch(35.77% 0.0088 248.07); /* #393d41 */
|
|
36
36
|
--horizon-color-level-five: oklch(38.75% 0.0073 242.06); /* #40454a */
|
|
37
37
|
|
|
38
|
-
--horizon-color-
|
|
39
|
-
--horizon-color-
|
|
40
|
-
--horizon-color-
|
|
38
|
+
--horizon-color-success-50: oklch(96.27% 0.04 158.08);
|
|
39
|
+
--horizon-color-success-100: oklch(92.53% 0.08 156.69);
|
|
40
|
+
--horizon-color-success-200: oklch(87.14% 0.14 154.83);
|
|
41
|
+
--horizon-color-success-300: oklch(80.03% 0.18 151.71);
|
|
42
|
+
--horizon-color-success-400: oklch(72.27% 0.19 149.58);
|
|
43
|
+
--horizon-color-success-500: oklch(62.71% 0.17 149.21);
|
|
41
44
|
|
|
42
|
-
--horizon-color-
|
|
43
|
-
--horizon-color-
|
|
44
|
-
--horizon-color-
|
|
45
|
+
--horizon-color-warning-50: oklch(95.15% 0.02 73.61);
|
|
46
|
+
--horizon-color-warning-100: oklch(95.40% 0.04 76.20);
|
|
47
|
+
--horizon-color-warning-200: oklch(90.9% 0.095 52.355);
|
|
48
|
+
--horizon-color-warning-300: oklch(84.9% 0.144 52.438);
|
|
49
|
+
--horizon-color-warning-400: oklch(76.9% 0.178 52.325);
|
|
50
|
+
--horizon-color-warning-500: oklch(71.06% 0.19 46.76);
|
|
51
|
+
--horizon-color-warning-600: oklch(70.5% 0.213 47.604);
|
|
45
52
|
|
|
46
|
-
--horizon-color-
|
|
47
|
-
--horizon-color-
|
|
48
|
-
--horizon-color-
|
|
53
|
+
--horizon-color-danger-50: oklch(88.5% 0.062 18.334);
|
|
54
|
+
--horizon-color-danger-100: oklch(80.8% 0.114 19.571);
|
|
55
|
+
--horizon-color-danger-200: oklch(70.4% 0.191 22.216);
|
|
56
|
+
--horizon-color-danger-300: oklch(63.7% 0.237 25.331);
|
|
57
|
+
--horizon-color-danger-400: oklch(57.7% 0.245 27.325);
|
|
58
|
+
--horizon-color-danger-500: oklch(50.5% 0.213 27.518);
|
|
49
59
|
}
|
|
50
60
|
|
|
51
61
|
:root[data-theme='light'] {
|