@spear-ai/spectral 1.3.57 → 1.3.59

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/dist/.js +51 -49
  2. package/dist/Alert.d.ts +1 -1
  3. package/dist/Alert.js +3 -2
  4. package/dist/Button.d.ts +5 -5
  5. package/dist/Button.js +4 -5
  6. package/dist/ButtonIcon.d.ts +4 -4
  7. package/dist/ButtonIcon.js +1 -0
  8. package/dist/Dialog/DialogBase.d.ts +14 -14
  9. package/dist/Dialog/DialogBase.js +1 -1
  10. package/dist/Drawer.d.ts +6 -6
  11. package/dist/Icons/MinusIcon.d.ts +3 -0
  12. package/dist/Icons/MinusIcon.js +26 -0
  13. package/dist/Icons/index.d.ts +1 -0
  14. package/dist/Icons.js +40 -38
  15. package/dist/Input.js +1 -0
  16. package/dist/InputOTP.d.ts +29 -0
  17. package/dist/InputOTP.js +302 -0
  18. package/dist/PasswordInput-ClY_hxuN.js +261 -0
  19. package/dist/RadioButtonGroup/RadioButtonGroupBase.d.ts +6 -6
  20. package/dist/RadioGroup.d.ts +7 -7
  21. package/dist/Select.d.ts +12 -12
  22. package/dist/Select.js +1 -0
  23. package/dist/Switch.d.ts +6 -6
  24. package/dist/Textarea.js +1 -0
  25. package/dist/Toggle/ToggleBase.d.ts +6 -4
  26. package/dist/ToggleGroup/ToggleGroupBase.d.ts +8 -8
  27. package/dist/components/Alert/Alert.d.ts +1 -1
  28. package/dist/components/Alert/Alert.d.ts.map +1 -1
  29. package/dist/components/Button/Button.d.ts +5 -5
  30. package/dist/components/Button/Button.d.ts.map +1 -1
  31. package/dist/components/ButtonIcon/ButtonIcon.d.ts +4 -4
  32. package/dist/components/ButtonIcon/ButtonIcon.d.ts.map +1 -1
  33. package/dist/components/Dialog/DialogBase.d.ts +14 -14
  34. package/dist/components/Dialog/DialogBase.d.ts.map +1 -1
  35. package/dist/components/Drawer/Drawer.d.ts +6 -6
  36. package/dist/components/Drawer/Drawer.d.ts.map +1 -1
  37. package/dist/components/Icons/MinusIcon.d.ts +3 -0
  38. package/dist/components/Icons/MinusIcon.d.ts.map +1 -0
  39. package/dist/components/Icons/index.d.ts +1 -0
  40. package/dist/components/Icons/index.d.ts.map +1 -1
  41. package/dist/components/InputOTP/InputOTP.d.ts +29 -0
  42. package/dist/components/InputOTP/InputOTP.d.ts.map +1 -0
  43. package/dist/components/RadioButtonGroup/RadioButtonGroupBase.d.ts +6 -6
  44. package/dist/components/RadioButtonGroup/RadioButtonGroupBase.d.ts.map +1 -1
  45. package/dist/components/RadioGroup/RadioGroup.d.ts +7 -7
  46. package/dist/components/RadioGroup/RadioGroup.d.ts.map +1 -1
  47. package/dist/components/Select/Select.d.ts +12 -12
  48. package/dist/components/Select/Select.d.ts.map +1 -1
  49. package/dist/components/Switch/Switch.d.ts +6 -6
  50. package/dist/components/Switch/Switch.d.ts.map +1 -1
  51. package/dist/components/Toggle/ToggleBase.d.ts +6 -4
  52. package/dist/components/Toggle/ToggleBase.d.ts.map +1 -1
  53. package/dist/components/ToggleGroup/ToggleGroupBase.d.ts +8 -8
  54. package/dist/components/ToggleGroup/ToggleGroupBase.d.ts.map +1 -1
  55. package/dist/features/AuthCard/AuthCard.d.ts.map +1 -1
  56. package/dist/features/AuthCard/AuthToggle.d.ts +9 -0
  57. package/dist/features/AuthCard/AuthToggle.d.ts.map +1 -0
  58. package/dist/features/AuthCard/AuthToggle.js +36 -0
  59. package/dist/features/AuthCard/ForgotPasswordEmailForm.d.ts +11 -0
  60. package/dist/features/AuthCard/ForgotPasswordEmailForm.d.ts.map +1 -0
  61. package/dist/features/AuthCard/ForgotPasswordEmailForm.js +92 -0
  62. package/dist/features/AuthCard/ForgotPasswordResetForm.d.ts +11 -0
  63. package/dist/features/AuthCard/ForgotPasswordResetForm.d.ts.map +1 -0
  64. package/dist/features/AuthCard/ForgotPasswordResetForm.js +66 -0
  65. package/dist/features/AuthCard/OTPInput.d.ts +12 -0
  66. package/dist/features/AuthCard/OTPInput.d.ts.map +1 -0
  67. package/dist/features/AuthCard/OTPInput.js +30 -0
  68. package/dist/features/AuthCard/PasswordInput.d.ts +13 -0
  69. package/dist/features/AuthCard/PasswordInput.d.ts.map +1 -0
  70. package/dist/features/AuthCard/PasswordInput.js +56 -0
  71. package/dist/features/AuthCard/SignInForm.d.ts +9 -0
  72. package/dist/features/AuthCard/SignInForm.d.ts.map +1 -0
  73. package/dist/features/AuthCard/SignInForm.js +120 -0
  74. package/dist/features/AuthCard/SignUpForm.d.ts +8 -0
  75. package/dist/features/AuthCard/SignUpForm.d.ts.map +1 -0
  76. package/dist/features/AuthCard/SignUpForm.js +135 -0
  77. package/dist/features/AuthCard.js +234 -5124
  78. package/dist/features/LabelingTools.js +3 -2
  79. package/dist/features/SensorMetadata.js +3 -2
  80. package/dist/features/SettingsPopover.js +3 -2
  81. package/dist/index.d.ts +1 -1
  82. package/dist/index.d.ts.map +1 -1
  83. package/dist/proxy-DD79Ok6n.js +4670 -0
  84. package/dist/styles/main.css +1 -1
  85. package/dist/utils/formFieldUtils.js +1 -1
  86. package/package.json +1 -1
  87. package/dist/RadioGroup/RadioGroupBase.d.ts +0 -52
  88. package/dist/RadioGroup/RadioGroupBase.js +0 -249
  89. package/dist/components/RadioGroup/RadioGroupBase.d.ts +0 -52
  90. package/dist/components/RadioGroup/RadioGroupBase.d.ts.map +0 -1
package/dist/.js CHANGED
@@ -14,8 +14,8 @@ import { Skeleton as b } from "./Skeleton.js";
14
14
  import { Slider as R } from "./Slider.js";
15
15
  import { Switch as A } from "./Switch.js";
16
16
  import { Tabs as U } from "./Tabs.js";
17
- import { Textarea as q } from "./Textarea.js";
18
- import { Toggle as H } from "./Toggle.js";
17
+ import { Textarea as M } from "./Textarea.js";
18
+ import { Toggle as F } from "./Toggle.js";
19
19
  import { ToggleGroup as V, ToggleGroupItem as W } from "./ToggleGroup.js";
20
20
  import { Tooltip as Y, TooltipContent as j, TooltipTrigger as z } from "./Tooltip.js";
21
21
  import { AnnotationsIcon as K } from "./Icons/AnnotationsIcon.js";
@@ -39,8 +39,8 @@ import { EyeClosedIcon2 as bo } from "./Icons/EyeClosedIcon2.js";
39
39
  import { EyeOpenIcon as Ro } from "./Icons/EyeOpenIcon.js";
40
40
  import { GoToFirstIcon as Ao } from "./Icons/GoToFirstIcon.js";
41
41
  import { GoToLastIcon as Uo } from "./Icons/GoToLastIcon.js";
42
- import { HarmonicCursorsIcon as qo } from "./Icons/HarmonicCursorsIcon.js";
43
- import { InfoIcon as Ho } from "./Icons/InfoIcon.js";
42
+ import { HarmonicCursorsIcon as Mo } from "./Icons/HarmonicCursorsIcon.js";
43
+ import { InfoIcon as Fo } from "./Icons/InfoIcon.js";
44
44
  import { LabelIcon as Vo } from "./Icons/LabelIcon.js";
45
45
  import { LassoIcon as Xo } from "./Icons/LassoIcon.js";
46
46
  import { LineToolIcon as jo } from "./Icons/LineToolIcon.js";
@@ -49,26 +49,27 @@ import { LoaderIcon as No } from "./Icons/LoaderIcon.js";
49
49
  import { LocationIcon as _o } from "./Icons/LocationIcon.js";
50
50
  import { LogoutIcon as or } from "./Icons/LogoutIcon.js";
51
51
  import { MetadataIcon as er } from "./Icons/MetadataIcon.js";
52
- import { OntologyIcon as pr } from "./Icons/OntologyIcon.js";
53
- import { PanelIconClose as mr } from "./Icons/PanelIconClose.js";
54
- import { PanelIconOpen as xr } from "./Icons/PanelIconOpen.js";
55
- import { PlayIcon as Ir } from "./Icons/PlayIcon.js";
56
- import { PlusIcon as lr } from "./Icons/PlusIcon.js";
57
- import { ResetIcon as ir } from "./Icons/ResetIcon.js";
58
- import { ScissorsIcon as Cr } from "./Icons/ScissorsIcon.js";
59
- import { SettingsIcon as dr } from "./Icons/SettingsIcon.js";
60
- import { TrashIcon as Sr } from "./Icons/TrashIcon.js";
61
- import { UndoIcon as Lr } from "./Icons/UndoIcon.js";
62
- import { UserIcon as Gr } from "./Icons/UserIcon.js";
63
- import { WarningIcon as kr } from "./Icons/WarningIcon.js";
64
- import { ZoomAllIcon as Dr } from "./Icons/ZoomAllIcon.js";
65
- import { ZoomXIcon as br } from "./Icons/ZoomXIcon.js";
66
- import { ZoomYIcon as Rr } from "./Icons/ZoomYIcon.js";
67
- import { default as Ar, SvgIdContext as Or } from "./Icons/IconBase.js";
68
- import { useControllableState as Zr } from "./hooks/useControllableState.js";
69
- import { useTheme as Fr } from "./hooks/useTheme.js";
70
- import { c as Mr } from "./twUtils-CRiPKpXj.js";
71
- import { SpectralProvider as Wr } from "./SpectralProvider.js";
52
+ import { MinusIcon as pr } from "./Icons/MinusIcon.js";
53
+ import { OntologyIcon as mr } from "./Icons/OntologyIcon.js";
54
+ import { PanelIconClose as xr } from "./Icons/PanelIconClose.js";
55
+ import { PanelIconOpen as Ir } from "./Icons/PanelIconOpen.js";
56
+ import { PlayIcon as lr } from "./Icons/PlayIcon.js";
57
+ import { PlusIcon as ir } from "./Icons/PlusIcon.js";
58
+ import { ResetIcon as Cr } from "./Icons/ResetIcon.js";
59
+ import { ScissorsIcon as dr } from "./Icons/ScissorsIcon.js";
60
+ import { SettingsIcon as Sr } from "./Icons/SettingsIcon.js";
61
+ import { TrashIcon as Lr } from "./Icons/TrashIcon.js";
62
+ import { UndoIcon as Gr } from "./Icons/UndoIcon.js";
63
+ import { UserIcon as kr } from "./Icons/UserIcon.js";
64
+ import { WarningIcon as Dr } from "./Icons/WarningIcon.js";
65
+ import { ZoomAllIcon as br } from "./Icons/ZoomAllIcon.js";
66
+ import { ZoomXIcon as Rr } from "./Icons/ZoomXIcon.js";
67
+ import { ZoomYIcon as Ar } from "./Icons/ZoomYIcon.js";
68
+ import { default as Ur, SvgIdContext as Zr } from "./Icons/IconBase.js";
69
+ import { useControllableState as qr } from "./hooks/useControllableState.js";
70
+ import { useTheme as Hr } from "./hooks/useTheme.js";
71
+ import { c as Wr } from "./twUtils-CRiPKpXj.js";
72
+ import { SpectralProvider as Yr } from "./SpectralProvider.js";
72
73
  export {
73
74
  e as Alert,
74
75
  K as AnnotationsIcon,
@@ -97,9 +98,9 @@ export {
97
98
  Ro as EyeOpenIcon,
98
99
  Ao as GoToFirstIcon,
99
100
  Uo as GoToLastIcon,
100
- qo as HarmonicCursorsIcon,
101
- Ar as IconBase,
102
- Ho as InfoIcon,
101
+ Mo as HarmonicCursorsIcon,
102
+ Ur as IconBase,
103
+ Fo as InfoIcon,
103
104
  i as Input,
104
105
  C as Label,
105
106
  Vo as LabelIcon,
@@ -110,11 +111,12 @@ export {
110
111
  _o as LocationIcon,
111
112
  or as LogoutIcon,
112
113
  er as MetadataIcon,
113
- pr as OntologyIcon,
114
- mr as PanelIconClose,
115
- xr as PanelIconOpen,
116
- Ir as PlayIcon,
117
- lr as PlusIcon,
114
+ pr as MinusIcon,
115
+ mr as OntologyIcon,
116
+ xr as PanelIconClose,
117
+ Ir as PanelIconOpen,
118
+ lr as PlayIcon,
119
+ ir as PlusIcon,
118
120
  d as Popover,
119
121
  T as PopoverContent,
120
122
  S as PopoverTrigger,
@@ -122,31 +124,31 @@ export {
122
124
  v as RadioButtonGroupItem,
123
125
  P as RadioGroup,
124
126
  k as RadioGroupItem,
125
- ir as ResetIcon,
126
- Cr as ScissorsIcon,
127
+ Cr as ResetIcon,
128
+ dr as ScissorsIcon,
127
129
  D as Select,
128
- dr as SettingsIcon,
130
+ Sr as SettingsIcon,
129
131
  b as Skeleton,
130
132
  R as Slider,
131
- Wr as SpectralProvider,
132
- Or as SvgIdContext,
133
+ Yr as SpectralProvider,
134
+ Zr as SvgIdContext,
133
135
  A as Switch,
134
136
  U as Tabs,
135
- q as Textarea,
136
- H as Toggle,
137
+ M as Textarea,
138
+ F as Toggle,
137
139
  V as ToggleGroup,
138
140
  W as ToggleGroupItem,
139
141
  Y as Tooltip,
140
142
  j as TooltipContent,
141
143
  z as TooltipTrigger,
142
- Sr as TrashIcon,
143
- Lr as UndoIcon,
144
- Gr as UserIcon,
145
- kr as WarningIcon,
146
- Dr as ZoomAllIcon,
147
- br as ZoomXIcon,
148
- Rr as ZoomYIcon,
149
- Mr as cn,
150
- Zr as useControllableState,
151
- Fr as useTheme
144
+ Lr as TrashIcon,
145
+ Gr as UndoIcon,
146
+ kr as UserIcon,
147
+ Dr as WarningIcon,
148
+ br as ZoomAllIcon,
149
+ Rr as ZoomXIcon,
150
+ Ar as ZoomYIcon,
151
+ Wr as cn,
152
+ qr as useControllableState,
153
+ Hr as useTheme
152
154
  };
package/dist/Alert.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { ReactNode } from 'react';
2
2
  export interface AlertProps {
3
3
  onClose?: () => void;
4
- readonly className?: string;
4
+ className?: string;
5
5
  readonly description: string | ReactNode | undefined;
6
6
  readonly icon?: ReactNode;
7
7
  readonly id: string | undefined;
package/dist/Alert.js CHANGED
@@ -33,6 +33,7 @@ import "./Icons/LoaderIcon.js";
33
33
  import "./Icons/LocationIcon.js";
34
34
  import "./Icons/LogoutIcon.js";
35
35
  import "./Icons/MetadataIcon.js";
36
+ import "./Icons/MinusIcon.js";
36
37
  import "./Icons/OntologyIcon.js";
37
38
  import "./Icons/PanelIconClose.js";
38
39
  import "./Icons/PanelIconOpen.js";
@@ -50,7 +51,7 @@ import "./Icons/ZoomXIcon.js";
50
51
  import "./Icons/ZoomYIcon.js";
51
52
  import { c as g } from "./twUtils-CRiPKpXj.js";
52
53
  import { useRef as x, useEffect as R } from "react";
53
- const xr = ({ id: a, description: s, onClose: c, icon: l, title: d, className: u, variant: o = "default" }) => {
54
+ const Rr = ({ id: a, description: s, onClose: c, icon: l, title: d, className: u, variant: o = "default" }) => {
54
55
  const t = x(null), e = l || {
55
56
  info: /* @__PURE__ */ r(C, {}),
56
57
  success: /* @__PURE__ */ r(A, {}),
@@ -105,5 +106,5 @@ const xr = ({ id: a, description: s, onClose: c, icon: l, title: d, className: u
105
106
  ) });
106
107
  };
107
108
  export {
108
- xr as Alert
109
+ Rr as Alert
109
110
  };
package/dist/Button.d.ts CHANGED
@@ -6,17 +6,17 @@ declare const buttonVariants: (props?: ({
6
6
  state?: "default" | "error" | "loading" | null | undefined;
7
7
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
8
8
  export interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'color'>, VariantProps<typeof buttonVariants> {
9
- children?: ReactNode;
10
9
  disabled?: boolean;
11
- endIcon?: ReactNode;
12
- errorMessage?: string | ReactNode;
10
+ readonly endIcon?: ReactNode;
11
+ readonly errorMessage?: string | ReactNode;
13
12
  onClick?: (event: MouseEvent<HTMLButtonElement>) => void;
14
13
  readonly dataTestId?: string;
15
14
  readonly label: string;
16
15
  readonly size?: 'default' | 'fullWidth';
17
- readonly state?: 'loading' | 'error' | 'default';
16
+ readonly startIcon?: ReactNode;
17
+ readonly state?: 'default' | 'error' | 'loading';
18
18
  readonly type?: 'button' | 'submit' | 'reset';
19
- startIcon?: ReactNode;
19
+ readonly variant?: 'primary' | 'secondary' | 'outline' | 'ghost';
20
20
  }
21
21
  export declare const Button: import('react').ForwardRefExoticComponent<ButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
22
22
  export {};
package/dist/Button.js CHANGED
@@ -36,7 +36,6 @@ const N = y(
36
36
  }
37
37
  ), w = h(
38
38
  ({
39
- children: j,
40
39
  className: l,
41
40
  dataTestId: g,
42
41
  disabled: n,
@@ -46,9 +45,9 @@ const N = y(
46
45
  size: r,
47
46
  startIcon: d,
48
47
  state: t,
49
- type: c = "button",
48
+ type: x = "button",
50
49
  variant: e,
51
- ...x
50
+ ...c
52
51
  }, v) => {
53
52
  const a = {
54
53
  error: {
@@ -80,8 +79,8 @@ const N = y(
80
79
  "data-testid": g || `button-${e}`,
81
80
  disabled: n,
82
81
  ref: v,
83
- type: c,
84
- ...x,
82
+ type: x,
83
+ ...c,
85
84
  children: [
86
85
  d && /* @__PURE__ */ o("span", { className: "flex pr-2", "aria-hidden": !0, children: d }),
87
86
  t === "loading" && /* @__PURE__ */ o(f, { className: "ml-2 animate-spin", size: 16 }),
@@ -1,13 +1,13 @@
1
1
  import { ButtonHTMLAttributes, MouseEvent, ReactElement } from 'react';
2
2
  type IconOrSVG = ReactElement | (() => ReactElement);
3
3
  export interface ButtonIconProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onClick'> {
4
- icon: IconOrSVG;
4
+ readonly icon: IconOrSVG;
5
5
  className?: string;
6
6
  isLoading?: boolean;
7
- label: string;
7
+ readonly label: string;
8
8
  onClick?: (event: MouseEvent<HTMLButtonElement>) => void;
9
- shape?: 'circle' | 'square';
10
- size?: 'small' | 'default' | 'large';
9
+ readonly shape?: 'circle' | 'square';
10
+ readonly size?: 'small' | 'default' | 'large';
11
11
  }
12
12
  export declare const ButtonIcon: import('react').ForwardRefExoticComponent<ButtonIconProps & import('react').RefAttributes<HTMLButtonElement>>;
13
13
  export {};
@@ -32,6 +32,7 @@ import { LoaderIcon as N } from "./Icons/LoaderIcon.js";
32
32
  import "./Icons/LocationIcon.js";
33
33
  import "./Icons/LogoutIcon.js";
34
34
  import "./Icons/MetadataIcon.js";
35
+ import "./Icons/MinusIcon.js";
35
36
  import "./Icons/OntologyIcon.js";
36
37
  import "./Icons/PanelIconClose.js";
37
38
  import "./Icons/PanelIconOpen.js";
@@ -2,9 +2,9 @@ import { VariantProps } from 'class-variance-authority';
2
2
  import { ReactElement, ReactNode } from 'react';
3
3
  export type DialogBaseProps = {
4
4
  isOpen?: boolean;
5
- defaultOpen?: boolean;
5
+ readonly defaultOpen?: boolean;
6
6
  onOpenChange?: (isOpen: boolean) => void;
7
- children: ReactNode;
7
+ readonly children: ReactNode;
8
8
  };
9
9
  export type DialogContextValue = {
10
10
  isOpen: boolean;
@@ -19,18 +19,18 @@ export type TriggerableElement = ReactElement<{
19
19
  export declare function useDialogContext(): DialogContextValue;
20
20
  export declare function DialogBase({ isOpen: controlledOpen, defaultOpen, onOpenChange, children }: DialogBaseProps): import("react/jsx-runtime").JSX.Element;
21
21
  type DialogTriggerProps = {
22
- children: ReactNode;
23
- asChild?: boolean;
22
+ readonly children: ReactNode;
23
+ readonly asChild?: boolean;
24
24
  };
25
25
  export declare function DialogTriggerBase({ children, asChild }: DialogTriggerProps): import("react/jsx-runtime").JSX.Element;
26
26
  type DialogCloseProps = {
27
- children: ReactNode;
28
- asChild?: boolean;
27
+ readonly children: ReactNode;
28
+ readonly asChild?: boolean;
29
29
  };
30
30
  export declare function DialogCloseBase({ children, asChild }: DialogCloseProps): import("react/jsx-runtime").JSX.Element;
31
31
  type DialogPortalProps = {
32
- children: ReactNode;
33
- container?: Element | DocumentFragment;
32
+ readonly children: ReactNode;
33
+ readonly container?: Element | DocumentFragment;
34
34
  };
35
35
  export declare function DialogPortalBase({ children, container }: DialogPortalProps): import('react').ReactPortal | null;
36
36
  type DialogOverlayProps = {
@@ -42,29 +42,29 @@ declare const contentVariants: (props?: ({
42
42
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
43
43
  export type DialogSize = 'sm' | 'md' | 'lg' | 'xl' | '2xl';
44
44
  export type DialogContentProps = {
45
- children: ReactNode;
45
+ readonly children: ReactNode;
46
46
  className?: string;
47
- size?: DialogSize;
47
+ readonly size?: DialogSize;
48
48
  onPointerDownOutside?: (event: PointerEvent) => void;
49
49
  onEscapeKeyDown?: (event: KeyboardEvent) => void;
50
50
  } & VariantProps<typeof contentVariants>;
51
51
  export declare function DialogContentBase({ children, className, size, onPointerDownOutside, onEscapeKeyDown, }: DialogContentProps): import("react/jsx-runtime").JSX.Element | null;
52
52
  type DialogTitleProps = {
53
- children: ReactNode;
53
+ readonly children: ReactNode;
54
54
  className?: string;
55
55
  };
56
56
  export declare function DialogTitleBase({ children, className }: DialogTitleProps): import("react/jsx-runtime").JSX.Element;
57
57
  type DialogDescriptionProps = {
58
- children: ReactNode;
58
+ readonly children?: ReactNode;
59
59
  className?: string;
60
60
  };
61
61
  export declare function DialogDescriptionBase({ children, className }: DialogDescriptionProps): import("react/jsx-runtime").JSX.Element;
62
62
  export declare function DialogHeaderBase({ children, className }: {
63
- children: ReactNode;
63
+ readonly children: ReactNode;
64
64
  className?: string;
65
65
  }): import("react/jsx-runtime").JSX.Element;
66
66
  export declare function DialogFooterBase({ children, className }: {
67
- children: ReactNode;
67
+ readonly children: ReactNode;
68
68
  className?: string;
69
69
  }): import("react/jsx-runtime").JSX.Element;
70
70
  export {};
@@ -186,7 +186,7 @@ function q({
186
186
  }
187
187
  function G({ children: e, className: t }) {
188
188
  const { titleId: n } = f();
189
- return /* @__PURE__ */ s("h2", { id: n, className: d("text-lg leading-none font-semibold tracking-tight", t), children: e });
189
+ return /* @__PURE__ */ s("h2", { id: n, className: d("text-base leading-none font-semibold tracking-tight", t), children: e });
190
190
  }
191
191
  function J({ children: e, className: t }) {
192
192
  const { descriptionId: n } = f();
package/dist/Drawer.d.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  import { ReactNode } from 'react';
2
2
  export type DrawerProps = {
3
- children?: ReactNode;
4
- description?: string;
5
- direction?: 'left' | 'right' | 'top' | 'bottom';
6
- size?: string;
7
- title?: string;
8
- trigger: ReactNode;
3
+ readonly children?: ReactNode;
4
+ readonly description?: string;
5
+ readonly direction?: 'left' | 'right' | 'top' | 'bottom';
6
+ readonly size?: string;
7
+ readonly title?: string;
8
+ readonly trigger: ReactNode;
9
9
  open?: boolean;
10
10
  onOpenChange?: (open: boolean) => void;
11
11
  };
@@ -0,0 +1,3 @@
1
+ import { IconProps } from './iconTypes';
2
+ export declare const MinusIcon: import('react').ForwardRefExoticComponent<IconProps & import('react').RefAttributes<SVGSVGElement>>;
3
+ //# sourceMappingURL=MinusIcon.d.ts.map
@@ -0,0 +1,26 @@
1
+ "use client";
2
+ import "../styles/main.css";
3
+ import { jsx as o } from "react/jsx-runtime";
4
+ import u from "./IconBase.js";
5
+ import { forwardRef as d } from "react";
6
+ const m = ({ className: r, ariaHidden: n, title: t = "Minus", description: e, size: i = 24, ...s }, c) => /* @__PURE__ */ o(
7
+ u,
8
+ {
9
+ size: i,
10
+ className: r,
11
+ title: t,
12
+ description: e,
13
+ ariaHidden: n,
14
+ ref: c,
15
+ stroke: "currentColor",
16
+ strokeWidth: "2",
17
+ strokeLinecap: "round",
18
+ strokeLinejoin: "round",
19
+ ...s,
20
+ children: /* @__PURE__ */ o("path", { d: "M5 12l14 0" })
21
+ }
22
+ ), p = d(m);
23
+ p.displayName = "MinusIcon";
24
+ export {
25
+ p as MinusIcon
26
+ };
@@ -29,6 +29,7 @@ export { LoaderIcon } from './LoaderIcon';
29
29
  export { LocationIcon } from './LocationIcon';
30
30
  export { LogoutIcon } from './LogoutIcon';
31
31
  export { MetadataIcon } from './MetadataIcon';
32
+ export { MinusIcon } from './MinusIcon';
32
33
  export { OntologyIcon } from './OntologyIcon';
33
34
  export { PanelIconClose } from './PanelIconClose';
34
35
  export { PanelIconOpen } from './PanelIconOpen';
package/dist/Icons.js CHANGED
@@ -4,10 +4,10 @@ import { CheckCircleIcon as m } from "./Icons/CheckCircleIcon.js";
4
4
  import { CheckSquareIcon as f } from "./Icons/CheckSquareIcon.js";
5
5
  import { CheckmarkIcon as x } from "./Icons/CheckmarkIcon.js";
6
6
  import { ChevronDownIcon as s } from "./Icons/ChevronDownIcon.js";
7
- import { ChevronUpIcon as C } from "./Icons/ChevronUpIcon.js";
7
+ import { ChevronUpIcon as i } from "./Icons/ChevronUpIcon.js";
8
8
  import { ClockIcon as L } from "./Icons/ClockIcon.js";
9
9
  import { CloseCircleIcon as h } from "./Icons/CloseCircleIcon.js";
10
- import { CloseIcon as k } from "./Icons/CloseIcon.js";
10
+ import { CloseIcon as E } from "./Icons/CloseIcon.js";
11
11
  import { DashboardIcon as y } from "./Icons/DashboardIcon.js";
12
12
  import { DeleteIcon as D } from "./Icons/DeleteIcon.js";
13
13
  import { DurationIcon as T } from "./Icons/DurationIcon.js";
@@ -15,8 +15,8 @@ import { EmailIcon as O } from "./Icons/EmailIcon.js";
15
15
  import { EraserIcon as U } from "./Icons/EraserIcon.js";
16
16
  import { ErrorIcon as b } from "./Icons/ErrorIcon.js";
17
17
  import { EyeClosedIcon as A } from "./Icons/EyeClosedIcon.js";
18
- import { EyeClosedIcon2 as q } from "./Icons/EyeClosedIcon2.js";
19
- import { EyeOpenIcon as H } from "./Icons/EyeOpenIcon.js";
18
+ import { EyeClosedIcon2 as M } from "./Icons/EyeClosedIcon2.js";
19
+ import { EyeOpenIcon as F } from "./Icons/EyeOpenIcon.js";
20
20
  import { GoToFirstIcon as R } from "./Icons/GoToFirstIcon.js";
21
21
  import { GoToLastIcon as W } from "./Icons/GoToLastIcon.js";
22
22
  import { HarmonicCursorsIcon as Y } from "./Icons/HarmonicCursorsIcon.js";
@@ -29,21 +29,22 @@ import { LoaderIcon as eo } from "./Icons/LoaderIcon.js";
29
29
  import { LocationIcon as to } from "./Icons/LocationIcon.js";
30
30
  import { LogoutIcon as mo } from "./Icons/LogoutIcon.js";
31
31
  import { MetadataIcon as fo } from "./Icons/MetadataIcon.js";
32
- import { OntologyIcon as xo } from "./Icons/OntologyIcon.js";
33
- import { PanelIconClose as so } from "./Icons/PanelIconClose.js";
34
- import { PanelIconOpen as Co } from "./Icons/PanelIconOpen.js";
35
- import { PlayIcon as Lo } from "./Icons/PlayIcon.js";
36
- import { PlusIcon as Eo } from "./Icons/PlusIcon.js";
37
- import { ResetIcon as uo } from "./Icons/ResetIcon.js";
38
- import { ScissorsIcon as go } from "./Icons/ScissorsIcon.js";
39
- import { SettingsIcon as Po } from "./Icons/SettingsIcon.js";
40
- import { TrashIcon as vo } from "./Icons/TrashIcon.js";
41
- import { UndoIcon as So } from "./Icons/UndoIcon.js";
42
- import { UserIcon as Zo } from "./Icons/UserIcon.js";
43
- import { WarningIcon as wo } from "./Icons/WarningIcon.js";
44
- import { ZoomAllIcon as Go } from "./Icons/ZoomAllIcon.js";
45
- import { ZoomXIcon as Fo } from "./Icons/ZoomXIcon.js";
46
- import { ZoomYIcon as Mo } from "./Icons/ZoomYIcon.js";
32
+ import { MinusIcon as xo } from "./Icons/MinusIcon.js";
33
+ import { OntologyIcon as so } from "./Icons/OntologyIcon.js";
34
+ import { PanelIconClose as io } from "./Icons/PanelIconClose.js";
35
+ import { PanelIconOpen as Lo } from "./Icons/PanelIconOpen.js";
36
+ import { PlayIcon as uo } from "./Icons/PlayIcon.js";
37
+ import { PlusIcon as ko } from "./Icons/PlusIcon.js";
38
+ import { ResetIcon as go } from "./Icons/ResetIcon.js";
39
+ import { ScissorsIcon as Po } from "./Icons/ScissorsIcon.js";
40
+ import { SettingsIcon as vo } from "./Icons/SettingsIcon.js";
41
+ import { TrashIcon as So } from "./Icons/TrashIcon.js";
42
+ import { UndoIcon as Zo } from "./Icons/UndoIcon.js";
43
+ import { UserIcon as wo } from "./Icons/UserIcon.js";
44
+ import { WarningIcon as Go } from "./Icons/WarningIcon.js";
45
+ import { ZoomAllIcon as qo } from "./Icons/ZoomAllIcon.js";
46
+ import { ZoomXIcon as Ho } from "./Icons/ZoomXIcon.js";
47
+ import { ZoomYIcon as Vo } from "./Icons/ZoomYIcon.js";
47
48
  export {
48
49
  e as AnnotationsIcon,
49
50
  t as CalendarIcon,
@@ -51,10 +52,10 @@ export {
51
52
  f as CheckSquareIcon,
52
53
  x as CheckmarkIcon,
53
54
  s as ChevronDownIcon,
54
- C as ChevronUpIcon,
55
+ i as ChevronUpIcon,
55
56
  L as ClockIcon,
56
57
  h as CloseCircleIcon,
57
- k as CloseIcon,
58
+ E as CloseIcon,
58
59
  y as DashboardIcon,
59
60
  D as DeleteIcon,
60
61
  T as DurationIcon,
@@ -62,8 +63,8 @@ export {
62
63
  U as EraserIcon,
63
64
  b as ErrorIcon,
64
65
  A as EyeClosedIcon,
65
- q as EyeClosedIcon2,
66
- H as EyeOpenIcon,
66
+ M as EyeClosedIcon2,
67
+ F as EyeOpenIcon,
67
68
  R as GoToFirstIcon,
68
69
  W as GoToLastIcon,
69
70
  Y as HarmonicCursorsIcon,
@@ -76,19 +77,20 @@ export {
76
77
  to as LocationIcon,
77
78
  mo as LogoutIcon,
78
79
  fo as MetadataIcon,
79
- xo as OntologyIcon,
80
- so as PanelIconClose,
81
- Co as PanelIconOpen,
82
- Lo as PlayIcon,
83
- Eo as PlusIcon,
84
- uo as ResetIcon,
85
- go as ScissorsIcon,
86
- Po as SettingsIcon,
87
- vo as TrashIcon,
88
- So as UndoIcon,
89
- Zo as UserIcon,
90
- wo as WarningIcon,
91
- Go as ZoomAllIcon,
92
- Fo as ZoomXIcon,
93
- Mo as ZoomYIcon
80
+ xo as MinusIcon,
81
+ so as OntologyIcon,
82
+ io as PanelIconClose,
83
+ Lo as PanelIconOpen,
84
+ uo as PlayIcon,
85
+ ko as PlusIcon,
86
+ go as ResetIcon,
87
+ Po as ScissorsIcon,
88
+ vo as SettingsIcon,
89
+ So as TrashIcon,
90
+ Zo as UndoIcon,
91
+ wo as UserIcon,
92
+ Go as WarningIcon,
93
+ qo as ZoomAllIcon,
94
+ Ho as ZoomXIcon,
95
+ Vo as ZoomYIcon
94
96
  };
package/dist/Input.js CHANGED
@@ -33,6 +33,7 @@ import { LoaderIcon as at } from "./Icons/LoaderIcon.js";
33
33
  import "./Icons/LocationIcon.js";
34
34
  import "./Icons/LogoutIcon.js";
35
35
  import "./Icons/MetadataIcon.js";
36
+ import "./Icons/MinusIcon.js";
36
37
  import "./Icons/OntologyIcon.js";
37
38
  import "./Icons/PanelIconClose.js";
38
39
  import "./Icons/PanelIconOpen.js";
@@ -0,0 +1,29 @@
1
+ import { OTPInputProps } from 'input-otp';
2
+ type InputOTPRootProps = Omit<OTPInputProps, 'textAlign' | 'pushPasswordManagerStrategy' | 'pasteTransformer' | 'noScriptCSSFallback' | 'placeholder' | 'containerClassName' | 'render'> & {
3
+ onComplete?: (...args: any[]) => void;
4
+ inputMode?: 'numeric' | 'text' | 'decimal' | 'tel' | 'search' | 'email' | 'url';
5
+ className?: string;
6
+ separator?: boolean;
7
+ };
8
+ export type InputOTPProps = InputOTPRootProps & ({
9
+ value: number | string;
10
+ onChange: (newValue: number | string) => void;
11
+ } | {
12
+ value?: never;
13
+ onChange?: never;
14
+ }) & ({
15
+ hasError: true;
16
+ errorMessage: string | undefined;
17
+ } | {
18
+ hasError?: false;
19
+ errorMessage?: never;
20
+ });
21
+ export declare const InputOTP: import('react').ForwardRefExoticComponent<InputOTPProps & import('react').RefAttributes<HTMLInputElement>> & {
22
+ Group: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
23
+ Slot: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
24
+ index: number;
25
+ } & import('react').RefAttributes<HTMLDivElement>>;
26
+ Separator: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
27
+ };
28
+ export {};
29
+ //# sourceMappingURL=InputOTP.d.ts.map