@alpic-ai/ui 0.0.0-dev.g876f5e9 → 0.0.0-dev.g8868278
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/components/accordion-card.d.mts +5 -5
- package/dist/components/accordion.d.mts +5 -5
- package/dist/components/alert.d.mts +8 -8
- package/dist/components/attachment-tile.d.mts +1 -1
- package/dist/components/avatar.d.mts +7 -7
- package/dist/components/badge.d.mts +1 -1
- package/dist/components/breadcrumb.d.mts +10 -10
- package/dist/components/button.d.mts +5 -5
- package/dist/components/card.d.mts +9 -9
- package/dist/components/checkbox.d.mts +2 -2
- package/dist/components/collapsible.d.mts +4 -4
- package/dist/components/combobox.d.mts +10 -10
- package/dist/components/command.d.mts +9 -9
- package/dist/components/copyable.d.mts +2 -2
- package/dist/components/description-list.d.mts +5 -5
- package/dist/components/dialog.d.mts +13 -13
- package/dist/components/dropdown-menu.d.mts +17 -17
- package/dist/components/form.d.mts +18 -18
- package/dist/components/form.mjs +6 -6
- package/dist/components/github-button.d.mts +1 -1
- package/dist/components/input-group.d.mts +4 -4
- package/dist/components/input.d.mts +4 -4
- package/dist/components/input.mjs +2 -2
- package/dist/components/label.d.mts +2 -2
- package/dist/components/page-loader.d.mts +1 -1
- package/dist/components/pagination.d.mts +3 -3
- package/dist/components/popover.d.mts +5 -5
- package/dist/components/radio-group.d.mts +3 -3
- package/dist/components/scroll-area.d.mts +3 -3
- package/dist/components/select.d.mts +9 -9
- package/dist/components/separator.d.mts +2 -2
- package/dist/components/sheet.d.mts +11 -11
- package/dist/components/shimmer-text.d.mts +3 -1
- package/dist/components/sidebar.d.mts +33 -33
- package/dist/components/sidebar.mjs +10 -10
- package/dist/components/skeleton.d.mts +1 -1
- package/dist/components/sonner.d.mts +5 -5
- package/dist/components/spinner.d.mts +2 -2
- package/dist/components/status-dot.d.mts +1 -1
- package/dist/components/switch.d.mts +2 -2
- package/dist/components/table.d.mts +10 -10
- package/dist/components/tabs.d.mts +10 -10
- package/dist/components/tag.d.mts +3 -3
- package/dist/components/task-progress.d.mts +1 -1
- package/dist/components/textarea.d.mts +3 -3
- package/dist/components/textarea.mjs +2 -2
- package/dist/components/toggle-group.d.mts +3 -3
- package/dist/components/toggle-group.mjs +3 -3
- package/dist/components/tooltip.d.mts +5 -5
- package/dist/components/typography.d.mts +4 -4
- package/dist/components/wizard.d.mts +4 -4
- package/dist/hooks/use-mobile.mjs +3 -3
- package/package.json +22 -22
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { VariantProps } from "class-variance-authority";
|
|
2
|
-
import * as React from "react";
|
|
2
|
+
import * as React$1 from "react";
|
|
3
3
|
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
|
|
4
4
|
|
|
5
5
|
//#region src/components/dropdown-menu.d.ts
|
|
6
6
|
declare function DropdownMenu({
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof DropdownMenuPrimitive.Root>):
|
|
8
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Root>): React$1.JSX.Element;
|
|
9
9
|
declare function DropdownMenuPortal({
|
|
10
10
|
...props
|
|
11
|
-
}: React.ComponentProps<typeof DropdownMenuPrimitive.Portal>):
|
|
11
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Portal>): React$1.JSX.Element;
|
|
12
12
|
declare function DropdownMenuTrigger({
|
|
13
13
|
...props
|
|
14
|
-
}: React.ComponentProps<typeof DropdownMenuPrimitive.Trigger>):
|
|
14
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): React$1.JSX.Element;
|
|
15
15
|
declare function DropdownMenuContent({
|
|
16
16
|
className,
|
|
17
17
|
sideOffset,
|
|
18
18
|
...props
|
|
19
|
-
}: React.ComponentProps<typeof DropdownMenuPrimitive.Content>):
|
|
19
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Content>): React$1.JSX.Element;
|
|
20
20
|
declare function DropdownMenuGroup({
|
|
21
21
|
...props
|
|
22
|
-
}: React.ComponentProps<typeof DropdownMenuPrimitive.Group>):
|
|
22
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Group>): React$1.JSX.Element;
|
|
23
23
|
declare const dropdownMenuItemVariants: (props?: ({
|
|
24
24
|
variant?: "default" | "destructive" | null | undefined;
|
|
25
25
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
@@ -28,43 +28,43 @@ declare function DropdownMenuItem({
|
|
|
28
28
|
inset,
|
|
29
29
|
variant,
|
|
30
30
|
...props
|
|
31
|
-
}: React.ComponentProps<typeof DropdownMenuPrimitive.Item> & VariantProps<typeof dropdownMenuItemVariants> & {
|
|
31
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Item> & VariantProps<typeof dropdownMenuItemVariants> & {
|
|
32
32
|
inset?: boolean;
|
|
33
|
-
}):
|
|
33
|
+
}): React$1.JSX.Element;
|
|
34
34
|
declare function DropdownMenuLabel({
|
|
35
35
|
className,
|
|
36
36
|
inset,
|
|
37
37
|
...props
|
|
38
|
-
}: React.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
|
|
38
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
|
|
39
39
|
inset?: boolean;
|
|
40
|
-
}):
|
|
40
|
+
}): React$1.JSX.Element;
|
|
41
41
|
declare function DropdownMenuHeader({
|
|
42
42
|
className,
|
|
43
43
|
children,
|
|
44
44
|
...props
|
|
45
|
-
}: React.HTMLAttributes<HTMLDivElement>):
|
|
45
|
+
}: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
|
|
46
46
|
declare function DropdownMenuSeparator({
|
|
47
47
|
className,
|
|
48
48
|
...props
|
|
49
|
-
}: React.ComponentProps<typeof DropdownMenuPrimitive.Separator>):
|
|
49
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Separator>): React$1.JSX.Element;
|
|
50
50
|
declare function DropdownMenuShortcut({
|
|
51
51
|
className,
|
|
52
52
|
...props
|
|
53
|
-
}: React.ComponentProps<"span">):
|
|
53
|
+
}: React$1.ComponentProps<"span">): React$1.JSX.Element;
|
|
54
54
|
declare function DropdownMenuSub({
|
|
55
55
|
...props
|
|
56
|
-
}: React.ComponentProps<typeof DropdownMenuPrimitive.Sub>):
|
|
56
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Sub>): React$1.JSX.Element;
|
|
57
57
|
declare function DropdownMenuSubTrigger({
|
|
58
58
|
className,
|
|
59
59
|
inset,
|
|
60
60
|
children,
|
|
61
61
|
...props
|
|
62
|
-
}: React.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
|
|
62
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
|
|
63
63
|
inset?: boolean;
|
|
64
|
-
}):
|
|
64
|
+
}): React$1.JSX.Element;
|
|
65
65
|
declare function DropdownMenuSubContent({
|
|
66
66
|
className,
|
|
67
67
|
...props
|
|
68
|
-
}: React.ComponentProps<typeof DropdownMenuPrimitive.SubContent>):
|
|
68
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): React$1.JSX.Element;
|
|
69
69
|
//#endregion
|
|
70
70
|
export { DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuHeader, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, dropdownMenuItemVariants };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { InputProps } from "./input.mjs";
|
|
2
2
|
import { Label } from "./label.mjs";
|
|
3
3
|
import { TextareaProps } from "./textarea.mjs";
|
|
4
|
-
import * as React from "react";
|
|
4
|
+
import * as React$1 from "react";
|
|
5
5
|
import { Slot } from "@radix-ui/react-slot";
|
|
6
6
|
import { ControllerProps, FieldPath, FieldValues } from "react-hook-form";
|
|
7
7
|
|
|
@@ -25,10 +25,10 @@ declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransfor
|
|
|
25
25
|
register,
|
|
26
26
|
setFocus,
|
|
27
27
|
subscribe
|
|
28
|
-
}: import("react-hook-form").FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
|
|
28
|
+
}: import("react-hook-form").FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React$1.JSX.Element;
|
|
29
29
|
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({
|
|
30
30
|
...props
|
|
31
|
-
}: ControllerProps<TFieldValues, TName>) =>
|
|
31
|
+
}: ControllerProps<TFieldValues, TName>) => React$1.JSX.Element;
|
|
32
32
|
declare const useFormField: () => {
|
|
33
33
|
invalid: boolean;
|
|
34
34
|
isDirty: boolean;
|
|
@@ -44,8 +44,8 @@ declare const useFormField: () => {
|
|
|
44
44
|
declare function FormItem({
|
|
45
45
|
className,
|
|
46
46
|
...props
|
|
47
|
-
}: React.ComponentProps<"div">):
|
|
48
|
-
interface FormLabelProps extends React.ComponentProps<typeof Label> {
|
|
47
|
+
}: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
48
|
+
interface FormLabelProps extends React$1.ComponentProps<typeof Label> {
|
|
49
49
|
required?: boolean;
|
|
50
50
|
tooltip?: string;
|
|
51
51
|
}
|
|
@@ -55,19 +55,19 @@ declare function FormLabel({
|
|
|
55
55
|
tooltip,
|
|
56
56
|
children,
|
|
57
57
|
...props
|
|
58
|
-
}: FormLabelProps):
|
|
58
|
+
}: FormLabelProps): React$1.JSX.Element;
|
|
59
59
|
declare function FormControl({
|
|
60
60
|
...props
|
|
61
|
-
}: React.ComponentProps<typeof Slot>):
|
|
61
|
+
}: React$1.ComponentProps<typeof Slot>): React$1.JSX.Element;
|
|
62
62
|
declare function FormDescription({
|
|
63
63
|
className,
|
|
64
64
|
...props
|
|
65
|
-
}: React.ComponentProps<"p">):
|
|
65
|
+
}: React$1.ComponentProps<"p">): React$1.JSX.Element;
|
|
66
66
|
declare function FormMessage({
|
|
67
67
|
className,
|
|
68
68
|
...props
|
|
69
|
-
}: React.ComponentProps<"p">):
|
|
70
|
-
interface FormHeaderProps extends React.ComponentProps<"div"> {
|
|
69
|
+
}: React$1.ComponentProps<"p">): React$1.JSX.Element | null;
|
|
70
|
+
interface FormHeaderProps extends React$1.ComponentProps<"div"> {
|
|
71
71
|
title: string;
|
|
72
72
|
description?: string;
|
|
73
73
|
}
|
|
@@ -76,11 +76,11 @@ declare function FormHeader({
|
|
|
76
76
|
description,
|
|
77
77
|
className,
|
|
78
78
|
...props
|
|
79
|
-
}: FormHeaderProps):
|
|
79
|
+
}: FormHeaderProps): React$1.JSX.Element;
|
|
80
80
|
declare function FormFields({
|
|
81
81
|
className,
|
|
82
82
|
...props
|
|
83
|
-
}: React.ComponentProps<"div">):
|
|
83
|
+
}: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
84
84
|
interface FormFieldBaseProps<TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues>> {
|
|
85
85
|
control: ControllerProps<TFieldValues, TName>["control"];
|
|
86
86
|
name: TName;
|
|
@@ -100,7 +100,7 @@ declare function InputField<TFieldValues extends FieldValues, TName extends Fiel
|
|
|
100
100
|
description,
|
|
101
101
|
tooltip,
|
|
102
102
|
...inputProps
|
|
103
|
-
}: InputFieldProps<TFieldValues, TName>):
|
|
103
|
+
}: InputFieldProps<TFieldValues, TName>): React$1.JSX.Element;
|
|
104
104
|
interface TextareaFieldProps<TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues>> extends FormFieldBaseProps<TFieldValues, TName>, Omit<TextareaProps, "name" | "label"> {}
|
|
105
105
|
declare function TextareaField<TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues>>({
|
|
106
106
|
control,
|
|
@@ -111,7 +111,7 @@ declare function TextareaField<TFieldValues extends FieldValues, TName extends F
|
|
|
111
111
|
description,
|
|
112
112
|
tooltip,
|
|
113
113
|
...textareaProps
|
|
114
|
-
}: TextareaFieldProps<TFieldValues, TName>):
|
|
114
|
+
}: TextareaFieldProps<TFieldValues, TName>): React$1.JSX.Element;
|
|
115
115
|
interface SelectFieldOption {
|
|
116
116
|
value: string;
|
|
117
117
|
label: string;
|
|
@@ -131,7 +131,7 @@ declare function SelectField<TFieldValues extends FieldValues, TName extends Fie
|
|
|
131
131
|
tooltip,
|
|
132
132
|
options,
|
|
133
133
|
placeholder
|
|
134
|
-
}: SelectFieldProps<TFieldValues, TName>):
|
|
134
|
+
}: SelectFieldProps<TFieldValues, TName>): React$1.JSX.Element;
|
|
135
135
|
interface RadioFieldProps<TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues>> extends FormFieldBaseProps<TFieldValues, TName> {
|
|
136
136
|
options: SelectFieldOption[];
|
|
137
137
|
}
|
|
@@ -144,7 +144,7 @@ declare function RadioField<TFieldValues extends FieldValues, TName extends Fiel
|
|
|
144
144
|
description,
|
|
145
145
|
tooltip,
|
|
146
146
|
options
|
|
147
|
-
}: RadioFieldProps<TFieldValues, TName>):
|
|
147
|
+
}: RadioFieldProps<TFieldValues, TName>): React$1.JSX.Element;
|
|
148
148
|
interface ChecklistFieldProps<TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues>> extends FormFieldBaseProps<TFieldValues, TName> {
|
|
149
149
|
options: SelectFieldOption[];
|
|
150
150
|
}
|
|
@@ -157,7 +157,7 @@ declare function ChecklistField<TFieldValues extends FieldValues, TName extends
|
|
|
157
157
|
description,
|
|
158
158
|
tooltip,
|
|
159
159
|
options
|
|
160
|
-
}: ChecklistFieldProps<TFieldValues, TName>):
|
|
160
|
+
}: ChecklistFieldProps<TFieldValues, TName>): React$1.JSX.Element;
|
|
161
161
|
interface CheckboxFieldProps<TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues>> extends Omit<FormFieldBaseProps<TFieldValues, TName>, "required"> {}
|
|
162
162
|
declare function CheckboxField<TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues>>({
|
|
163
163
|
control,
|
|
@@ -166,6 +166,6 @@ declare function CheckboxField<TFieldValues extends FieldValues, TName extends F
|
|
|
166
166
|
label,
|
|
167
167
|
description,
|
|
168
168
|
tooltip
|
|
169
|
-
}: CheckboxFieldProps<TFieldValues, TName>):
|
|
169
|
+
}: CheckboxFieldProps<TFieldValues, TName>): React$1.JSX.Element;
|
|
170
170
|
//#endregion
|
|
171
171
|
export { CheckboxField, ChecklistField, Form, FormControl, FormDescription, FormField, FormFields, FormHeader, FormItem, FormLabel, FormMessage, InputField, RadioField, SelectField, type SelectFieldOption, TextareaField, useFormField };
|
package/dist/components/form.mjs
CHANGED
|
@@ -9,12 +9,12 @@ import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from ".
|
|
|
9
9
|
import { Textarea } from "./textarea.mjs";
|
|
10
10
|
import { Info } from "lucide-react";
|
|
11
11
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
12
|
-
import * as React from "react";
|
|
12
|
+
import * as React$1 from "react";
|
|
13
13
|
import { Slot } from "@radix-ui/react-slot";
|
|
14
14
|
import { Controller, FormProvider, useFormContext, useFormState } from "react-hook-form";
|
|
15
15
|
//#region src/components/form.tsx
|
|
16
16
|
const Form = FormProvider;
|
|
17
|
-
const FormFieldContext = React.createContext({});
|
|
17
|
+
const FormFieldContext = React$1.createContext({});
|
|
18
18
|
const FormField = ({ ...props }) => {
|
|
19
19
|
return /* @__PURE__ */ jsx(FormFieldContext.Provider, {
|
|
20
20
|
value: { name: props.name },
|
|
@@ -22,8 +22,8 @@ const FormField = ({ ...props }) => {
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
const useFormField = () => {
|
|
25
|
-
const fieldContext = React.useContext(FormFieldContext);
|
|
26
|
-
const itemContext = React.useContext(FormItemContext);
|
|
25
|
+
const fieldContext = React$1.useContext(FormFieldContext);
|
|
26
|
+
const itemContext = React$1.useContext(FormItemContext);
|
|
27
27
|
if (!fieldContext.name) throw new Error("useFormField should be used within <FormField>");
|
|
28
28
|
const { getFieldState } = useFormContext();
|
|
29
29
|
const formState = useFormState({ name: fieldContext.name });
|
|
@@ -38,9 +38,9 @@ const useFormField = () => {
|
|
|
38
38
|
...fieldState
|
|
39
39
|
};
|
|
40
40
|
};
|
|
41
|
-
const FormItemContext = React.createContext({});
|
|
41
|
+
const FormItemContext = React$1.createContext({});
|
|
42
42
|
function FormItem({ className, ...props }) {
|
|
43
|
-
const id = React.useId();
|
|
43
|
+
const id = React$1.useId();
|
|
44
44
|
return /* @__PURE__ */ jsx(FormItemContext.Provider, {
|
|
45
45
|
value: { id },
|
|
46
46
|
children: /* @__PURE__ */ jsx("div", {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { VariantProps } from "class-variance-authority";
|
|
2
|
-
import * as React from "react";
|
|
2
|
+
import * as React$1 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/input-group.d.ts
|
|
5
5
|
declare function InputGroup({
|
|
6
6
|
className,
|
|
7
7
|
children,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<"fieldset">):
|
|
9
|
+
}: React$1.ComponentProps<"fieldset">): React$1.JSX.Element;
|
|
10
10
|
declare const inputGroupAddonVariants: (props?: ({
|
|
11
11
|
align?: "inline-start" | "inline-end" | "block-start" | "block-end" | null | undefined;
|
|
12
12
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
@@ -14,10 +14,10 @@ declare function InputGroupAddon({
|
|
|
14
14
|
className,
|
|
15
15
|
align,
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>):
|
|
17
|
+
}: React$1.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): React$1.JSX.Element;
|
|
18
18
|
declare function InputGroupTextarea({
|
|
19
19
|
className,
|
|
20
20
|
...props
|
|
21
|
-
}: React.ComponentProps<"textarea">):
|
|
21
|
+
}: React$1.ComponentProps<"textarea">): React$1.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { InputGroup, InputGroupAddon, InputGroupTextarea };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import * as React from "react";
|
|
1
|
+
import * as React$1 from "react";
|
|
2
2
|
|
|
3
3
|
//#region src/components/input.d.ts
|
|
4
|
-
interface InputProps extends Omit<React.ComponentProps<"input">, "size"> {
|
|
4
|
+
interface InputProps extends Omit<React$1.ComponentProps<"input">, "size"> {
|
|
5
5
|
label?: string;
|
|
6
6
|
required?: boolean;
|
|
7
7
|
hint?: string;
|
|
8
8
|
error?: string;
|
|
9
9
|
tooltip?: string;
|
|
10
10
|
leadingText?: string;
|
|
11
|
-
leadingIcon?: React.ReactNode;
|
|
11
|
+
leadingIcon?: React$1.ReactNode;
|
|
12
12
|
size?: "sm" | "md";
|
|
13
13
|
}
|
|
14
14
|
declare function Input({
|
|
@@ -23,6 +23,6 @@ declare function Input({
|
|
|
23
23
|
leadingIcon,
|
|
24
24
|
size,
|
|
25
25
|
...props
|
|
26
|
-
}: InputProps):
|
|
26
|
+
}: InputProps): React$1.JSX.Element;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { Input, type InputProps };
|
|
@@ -4,7 +4,7 @@ import { Tooltip, TooltipContent, TooltipTrigger } from "./tooltip.mjs";
|
|
|
4
4
|
import { Label } from "./label.mjs";
|
|
5
5
|
import { Info } from "lucide-react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
-
import * as React from "react";
|
|
7
|
+
import * as React$1 from "react";
|
|
8
8
|
//#region src/components/input.tsx
|
|
9
9
|
const inputSizeStyles = {
|
|
10
10
|
sm: {
|
|
@@ -25,7 +25,7 @@ const inputSizeStyles = {
|
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
27
|
function Input({ className, id, label, required, hint, error, tooltip, leadingText, leadingIcon, size = "md", ...props }) {
|
|
28
|
-
const generatedId = React.useId();
|
|
28
|
+
const generatedId = React$1.useId();
|
|
29
29
|
const fieldId = id ?? generatedId;
|
|
30
30
|
const hasAddons = leadingText || leadingIcon;
|
|
31
31
|
const sizes = inputSizeStyles[size];
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as React from "react";
|
|
1
|
+
import * as React$1 from "react";
|
|
2
2
|
import * as LabelPrimitive from "@radix-ui/react-label";
|
|
3
3
|
|
|
4
4
|
//#region src/components/label.d.ts
|
|
5
5
|
declare function Label({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof LabelPrimitive.Root>):
|
|
8
|
+
}: React$1.ComponentProps<typeof LabelPrimitive.Root>): React$1.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Label };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as React from "react";
|
|
1
|
+
import * as React$1 from "react";
|
|
2
2
|
|
|
3
3
|
//#region src/components/pagination.d.ts
|
|
4
|
-
interface PaginationProps extends React.ComponentProps<"nav"> {
|
|
4
|
+
interface PaginationProps extends React$1.ComponentProps<"nav"> {
|
|
5
5
|
currentPage: number;
|
|
6
6
|
totalPages: number;
|
|
7
7
|
onPageChange: (page: number) => void;
|
|
@@ -12,6 +12,6 @@ declare function Pagination({
|
|
|
12
12
|
onPageChange,
|
|
13
13
|
className,
|
|
14
14
|
...props
|
|
15
|
-
}: PaginationProps):
|
|
15
|
+
}: PaginationProps): React$1.JSX.Element | null;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { Pagination, type PaginationProps };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import * as React from "react";
|
|
1
|
+
import * as React$1 from "react";
|
|
2
2
|
import * as PopoverPrimitive from "@radix-ui/react-popover";
|
|
3
3
|
|
|
4
4
|
//#region src/components/popover.d.ts
|
|
5
5
|
declare function Popover({
|
|
6
6
|
...props
|
|
7
|
-
}: React.ComponentProps<typeof PopoverPrimitive.Root>):
|
|
7
|
+
}: React$1.ComponentProps<typeof PopoverPrimitive.Root>): React$1.JSX.Element;
|
|
8
8
|
declare function PopoverTrigger({
|
|
9
9
|
...props
|
|
10
|
-
}: React.ComponentProps<typeof PopoverPrimitive.Trigger>):
|
|
10
|
+
}: React$1.ComponentProps<typeof PopoverPrimitive.Trigger>): React$1.JSX.Element;
|
|
11
11
|
declare function PopoverAnchor({
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof PopoverPrimitive.Anchor>):
|
|
13
|
+
}: React$1.ComponentProps<typeof PopoverPrimitive.Anchor>): React$1.JSX.Element;
|
|
14
14
|
declare function PopoverContent({
|
|
15
15
|
className,
|
|
16
16
|
align,
|
|
17
17
|
sideOffset,
|
|
18
18
|
...props
|
|
19
|
-
}: React.ComponentProps<typeof PopoverPrimitive.Content>):
|
|
19
|
+
}: React$1.ComponentProps<typeof PopoverPrimitive.Content>): React$1.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import * as React from "react";
|
|
1
|
+
import * as React$1 from "react";
|
|
2
2
|
import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
|
|
3
3
|
|
|
4
4
|
//#region src/components/radio-group.d.ts
|
|
5
5
|
declare function RadioGroup({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof RadioGroupPrimitive.Root>):
|
|
8
|
+
}: React$1.ComponentProps<typeof RadioGroupPrimitive.Root>): React$1.JSX.Element;
|
|
9
9
|
declare function RadioGroupItem({
|
|
10
10
|
className,
|
|
11
11
|
...props
|
|
12
|
-
}: React.ComponentProps<typeof RadioGroupPrimitive.Item>):
|
|
12
|
+
}: React$1.ComponentProps<typeof RadioGroupPrimitive.Item>): React$1.JSX.Element;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { RadioGroup, RadioGroupItem };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as React from "react";
|
|
1
|
+
import * as React$1 from "react";
|
|
2
2
|
import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
|
|
3
3
|
|
|
4
4
|
//#region src/components/scroll-area.d.ts
|
|
@@ -6,11 +6,11 @@ declare function ScrollArea({
|
|
|
6
6
|
className,
|
|
7
7
|
children,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof ScrollAreaPrimitive.Root>):
|
|
9
|
+
}: React$1.ComponentProps<typeof ScrollAreaPrimitive.Root>): React$1.JSX.Element;
|
|
10
10
|
declare function ScrollBar({
|
|
11
11
|
className,
|
|
12
12
|
orientation,
|
|
13
13
|
...props
|
|
14
|
-
}: React.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>):
|
|
14
|
+
}: React$1.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>): React$1.JSX.Element;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { ScrollArea, ScrollBar };
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import { selectTriggerVariants } from "./select-trigger-variants.mjs";
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
|
-
import * as React from "react";
|
|
3
|
+
import * as React$1 from "react";
|
|
4
4
|
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
5
5
|
|
|
6
6
|
//#region src/components/select.d.ts
|
|
7
7
|
declare function Select({
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof SelectPrimitive.Root>):
|
|
9
|
+
}: React$1.ComponentProps<typeof SelectPrimitive.Root>): React$1.JSX.Element;
|
|
10
10
|
declare function SelectGroup({
|
|
11
11
|
...props
|
|
12
|
-
}: React.ComponentProps<typeof SelectPrimitive.Group>):
|
|
12
|
+
}: React$1.ComponentProps<typeof SelectPrimitive.Group>): React$1.JSX.Element;
|
|
13
13
|
declare function SelectValue({
|
|
14
14
|
...props
|
|
15
|
-
}: React.ComponentProps<typeof SelectPrimitive.Value>):
|
|
15
|
+
}: React$1.ComponentProps<typeof SelectPrimitive.Value>): React$1.JSX.Element;
|
|
16
16
|
declare function SelectTrigger({
|
|
17
17
|
className,
|
|
18
18
|
size,
|
|
19
19
|
children,
|
|
20
20
|
...props
|
|
21
|
-
}: React.ComponentProps<typeof SelectPrimitive.Trigger> & VariantProps<typeof selectTriggerVariants>):
|
|
21
|
+
}: React$1.ComponentProps<typeof SelectPrimitive.Trigger> & VariantProps<typeof selectTriggerVariants>): React$1.JSX.Element;
|
|
22
22
|
declare function SelectContent({
|
|
23
23
|
className,
|
|
24
24
|
children,
|
|
25
25
|
position,
|
|
26
26
|
...props
|
|
27
|
-
}: React.ComponentProps<typeof SelectPrimitive.Content>):
|
|
27
|
+
}: React$1.ComponentProps<typeof SelectPrimitive.Content>): React$1.JSX.Element;
|
|
28
28
|
declare function SelectLabel({
|
|
29
29
|
className,
|
|
30
30
|
...props
|
|
31
|
-
}: React.ComponentProps<typeof SelectPrimitive.Label>):
|
|
31
|
+
}: React$1.ComponentProps<typeof SelectPrimitive.Label>): React$1.JSX.Element;
|
|
32
32
|
declare function SelectItem({
|
|
33
33
|
className,
|
|
34
34
|
children,
|
|
35
35
|
...props
|
|
36
|
-
}: React.ComponentProps<typeof SelectPrimitive.Item>):
|
|
36
|
+
}: React$1.ComponentProps<typeof SelectPrimitive.Item>): React$1.JSX.Element;
|
|
37
37
|
declare function SelectSeparator({
|
|
38
38
|
className,
|
|
39
39
|
...props
|
|
40
|
-
}: React.ComponentProps<typeof SelectPrimitive.Separator>):
|
|
40
|
+
}: React$1.ComponentProps<typeof SelectPrimitive.Separator>): React$1.JSX.Element;
|
|
41
41
|
//#endregion
|
|
42
42
|
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, selectTriggerVariants };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as React from "react";
|
|
1
|
+
import * as React$1 from "react";
|
|
2
2
|
import * as SeparatorPrimitive from "@radix-ui/react-separator";
|
|
3
3
|
|
|
4
4
|
//#region src/components/separator.d.ts
|
|
@@ -7,6 +7,6 @@ declare function Separator({
|
|
|
7
7
|
orientation,
|
|
8
8
|
decorative,
|
|
9
9
|
...props
|
|
10
|
-
}: React.ComponentProps<typeof SeparatorPrimitive.Root>):
|
|
10
|
+
}: React$1.ComponentProps<typeof SeparatorPrimitive.Root>): React$1.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { Separator };
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
import * as React from "react";
|
|
1
|
+
import * as React$1 from "react";
|
|
2
2
|
import * as SheetPrimitive from "@radix-ui/react-dialog";
|
|
3
3
|
|
|
4
4
|
//#region src/components/sheet.d.ts
|
|
5
5
|
declare function Sheet({
|
|
6
6
|
...props
|
|
7
|
-
}: React.ComponentProps<typeof SheetPrimitive.Root>):
|
|
7
|
+
}: React$1.ComponentProps<typeof SheetPrimitive.Root>): React$1.JSX.Element;
|
|
8
8
|
declare function SheetTrigger({
|
|
9
9
|
...props
|
|
10
|
-
}: React.ComponentProps<typeof SheetPrimitive.Trigger>):
|
|
10
|
+
}: React$1.ComponentProps<typeof SheetPrimitive.Trigger>): React$1.JSX.Element;
|
|
11
11
|
declare function SheetClose({
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof SheetPrimitive.Close>):
|
|
13
|
+
}: React$1.ComponentProps<typeof SheetPrimitive.Close>): React$1.JSX.Element;
|
|
14
14
|
declare function SheetPortal({
|
|
15
15
|
...props
|
|
16
|
-
}: React.ComponentProps<typeof SheetPrimitive.Portal>):
|
|
16
|
+
}: React$1.ComponentProps<typeof SheetPrimitive.Portal>): React$1.JSX.Element;
|
|
17
17
|
declare function SheetContent({
|
|
18
18
|
className,
|
|
19
19
|
children,
|
|
20
20
|
side,
|
|
21
21
|
...props
|
|
22
|
-
}: React.ComponentProps<typeof SheetPrimitive.Content> & {
|
|
22
|
+
}: React$1.ComponentProps<typeof SheetPrimitive.Content> & {
|
|
23
23
|
side?: "top" | "right" | "bottom" | "left";
|
|
24
|
-
}):
|
|
24
|
+
}): React$1.JSX.Element;
|
|
25
25
|
declare function SheetHeader({
|
|
26
26
|
className,
|
|
27
27
|
...props
|
|
28
|
-
}: React.ComponentProps<"div">):
|
|
28
|
+
}: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
29
29
|
declare function SheetFooter({
|
|
30
30
|
className,
|
|
31
31
|
...props
|
|
32
|
-
}: React.ComponentProps<"div">):
|
|
32
|
+
}: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
33
33
|
declare function SheetTitle({
|
|
34
34
|
className,
|
|
35
35
|
...props
|
|
36
|
-
}: React.ComponentProps<typeof SheetPrimitive.Title>):
|
|
36
|
+
}: React$1.ComponentProps<typeof SheetPrimitive.Title>): React$1.JSX.Element;
|
|
37
37
|
declare function SheetDescription({
|
|
38
38
|
className,
|
|
39
39
|
...props
|
|
40
|
-
}: React.ComponentProps<typeof SheetPrimitive.Description>):
|
|
40
|
+
}: React$1.ComponentProps<typeof SheetPrimitive.Description>): React$1.JSX.Element;
|
|
41
41
|
//#endregion
|
|
42
42
|
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetPortal, SheetTitle, SheetTrigger };
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
1
3
|
//#region src/components/shimmer-text.d.ts
|
|
2
4
|
declare function ShimmerText({
|
|
3
5
|
children,
|
|
@@ -5,6 +7,6 @@ declare function ShimmerText({
|
|
|
5
7
|
}: {
|
|
6
8
|
children: string | number;
|
|
7
9
|
className?: string;
|
|
8
|
-
}):
|
|
10
|
+
}): React.JSX.Element;
|
|
9
11
|
//#endregion
|
|
10
12
|
export { ShimmerText };
|