@importcsv/react 0.2.7 → 0.2.8
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/build/react/components/CSVImporter/index.d.ts +1 -1
- package/build/react/importer/components/Root/index.d.ts +1 -1
- package/build/react/importer/components/ui/alert.d.ts +3 -3
- package/build/react/importer/components/ui/button.d.ts +1 -1
- package/build/react/importer/components/ui/card.d.ts +6 -6
- package/build/react/importer/components/ui/checkbox.d.ts +1 -1
- package/build/react/importer/components/ui/dialog.d.ts +5 -5
- package/build/react/importer/components/ui/flex.d.ts +5 -5
- package/build/react/importer/components/ui/input.d.ts +1 -1
- package/build/react/importer/components/ui/select.d.ts +1 -1
- package/build/react/importer/components/ui/switch.d.ts +1 -1
- package/build/react/importer/components/ui/toast.d.ts +5 -5
- package/build/react/importer/components/ui/tooltip.d.ts +2 -2
- package/build/react/index.esm.js +5 -5
- package/build/react/index.js +11 -11
- package/build/react/index.js.map +1 -1
- package/build/react/js.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CSVImporterProps } from '../../types';
|
|
2
|
-
declare const CSVImporter: import('../../../react').FunctionalComponent<import('
|
|
2
|
+
declare const CSVImporter: import('../../../react').FunctionalComponent<import('../../../react').PropsWithoutRef<CSVImporterProps> & {
|
|
3
3
|
ref?: import('../../../react').Ref<unknown> | undefined;
|
|
4
4
|
}>;
|
|
5
5
|
export default CSVImporter;
|
|
@@ -4,7 +4,7 @@ interface RootProps {
|
|
|
4
4
|
className?: string;
|
|
5
5
|
primaryColor?: string;
|
|
6
6
|
}
|
|
7
|
-
declare const _default: import('../../../../react').FunctionalComponent<import('
|
|
7
|
+
declare const _default: import('../../../../react').FunctionalComponent<import('../../../../react').PropsWithoutRef<RootProps> & {
|
|
8
8
|
ref?: import('../../../../react').Ref<HTMLDivElement> | undefined;
|
|
9
9
|
}>;
|
|
10
10
|
export default _default;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
declare const Alert: import('../../../../react').FunctionalComponent<import('
|
|
2
|
+
declare const Alert: import('../../../../react').FunctionalComponent<import('../../../../react').PropsWithoutRef<JSX.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
|
|
3
3
|
variant?: "default" | "destructive" | null | undefined;
|
|
4
4
|
} & import('class-variance-authority/dist/types').ClassProp) | undefined) => string>> & {
|
|
5
5
|
ref?: import('../../../../react').Ref<HTMLDivElement> | undefined;
|
|
6
6
|
}>;
|
|
7
|
-
declare const AlertTitle: import('../../../../react').FunctionalComponent<import('
|
|
7
|
+
declare const AlertTitle: import('../../../../react').FunctionalComponent<import('../../../../react').PropsWithoutRef<JSX.HTMLAttributes<HTMLHeadingElement>> & {
|
|
8
8
|
ref?: import('../../../../react').Ref<HTMLParagraphElement> | undefined;
|
|
9
9
|
}>;
|
|
10
|
-
declare const AlertDescription: import('../../../../react').FunctionalComponent<import('
|
|
10
|
+
declare const AlertDescription: import('../../../../react').FunctionalComponent<import('../../../../react').PropsWithoutRef<JSX.HTMLAttributes<HTMLParagraphElement>> & {
|
|
11
11
|
ref?: import('../../../../react').Ref<HTMLParagraphElement> | undefined;
|
|
12
12
|
}>;
|
|
13
13
|
export { Alert, AlertTitle, AlertDescription };
|
|
@@ -6,7 +6,7 @@ declare const buttonVariants: (props?: ({
|
|
|
6
6
|
export interface ButtonProps extends JSX.HTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
7
7
|
isLoading?: boolean;
|
|
8
8
|
}
|
|
9
|
-
declare const Button: import('../../../../react').FunctionalComponent<import('
|
|
9
|
+
declare const Button: import('../../../../react').FunctionalComponent<import('../../../../react').PropsWithoutRef<ButtonProps> & {
|
|
10
10
|
ref?: import('../../../../react').Ref<HTMLButtonElement> | undefined;
|
|
11
11
|
}>;
|
|
12
12
|
export { Button, buttonVariants };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
declare const Card: import('../../../../react').FunctionalComponent<import('
|
|
1
|
+
declare const Card: import('../../../../react').FunctionalComponent<import('../../../../react').PropsWithoutRef<JSX.HTMLAttributes<HTMLDivElement>> & {
|
|
2
2
|
ref?: import('../../../../react').Ref<HTMLDivElement> | undefined;
|
|
3
3
|
}>;
|
|
4
|
-
declare const CardHeader: import('../../../../react').FunctionalComponent<import('
|
|
4
|
+
declare const CardHeader: import('../../../../react').FunctionalComponent<import('../../../../react').PropsWithoutRef<JSX.HTMLAttributes<HTMLDivElement>> & {
|
|
5
5
|
ref?: import('../../../../react').Ref<HTMLDivElement> | undefined;
|
|
6
6
|
}>;
|
|
7
|
-
declare const CardTitle: import('../../../../react').FunctionalComponent<import('
|
|
7
|
+
declare const CardTitle: import('../../../../react').FunctionalComponent<import('../../../../react').PropsWithoutRef<JSX.HTMLAttributes<HTMLHeadingElement>> & {
|
|
8
8
|
ref?: import('../../../../react').Ref<HTMLParagraphElement> | undefined;
|
|
9
9
|
}>;
|
|
10
|
-
declare const CardDescription: import('../../../../react').FunctionalComponent<import('
|
|
10
|
+
declare const CardDescription: import('../../../../react').FunctionalComponent<import('../../../../react').PropsWithoutRef<JSX.HTMLAttributes<HTMLParagraphElement>> & {
|
|
11
11
|
ref?: import('../../../../react').Ref<HTMLParagraphElement> | undefined;
|
|
12
12
|
}>;
|
|
13
|
-
declare const CardContent: import('../../../../react').FunctionalComponent<import('
|
|
13
|
+
declare const CardContent: import('../../../../react').FunctionalComponent<import('../../../../react').PropsWithoutRef<JSX.HTMLAttributes<HTMLDivElement>> & {
|
|
14
14
|
ref?: import('../../../../react').Ref<HTMLDivElement> | undefined;
|
|
15
15
|
}>;
|
|
16
|
-
declare const CardFooter: import('../../../../react').FunctionalComponent<import('
|
|
16
|
+
declare const CardFooter: import('../../../../react').FunctionalComponent<import('../../../../react').PropsWithoutRef<JSX.HTMLAttributes<HTMLDivElement>> & {
|
|
17
17
|
ref?: import('../../../../react').Ref<HTMLDivElement> | undefined;
|
|
18
18
|
}>;
|
|
19
19
|
export { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export interface CheckboxProps extends JSX.HTMLAttributes<HTMLInputElement> {
|
|
2
2
|
onCheckedChange?: (checked: boolean) => void;
|
|
3
3
|
}
|
|
4
|
-
declare const Checkbox: import('../../../../react').FunctionalComponent<import('
|
|
4
|
+
declare const Checkbox: import('../../../../react').FunctionalComponent<import('../../../../react').PropsWithoutRef<CheckboxProps> & {
|
|
5
5
|
ref?: import('../../../../react').Ref<HTMLInputElement> | undefined;
|
|
6
6
|
}>;
|
|
7
7
|
export { Checkbox };
|
|
@@ -5,13 +5,13 @@ interface DialogProps {
|
|
|
5
5
|
children: ComponentChildren;
|
|
6
6
|
}
|
|
7
7
|
declare const Dialog: ({ open, onOpenChange, children }: DialogProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
declare const DialogTrigger: import('../../../../react').FunctionalComponent<import('
|
|
8
|
+
declare const DialogTrigger: import('../../../../react').FunctionalComponent<import('../../../../react').PropsWithoutRef<h.JSX.HTMLAttributes<HTMLButtonElement>> & {
|
|
9
9
|
ref?: import('../../../../react').Ref<HTMLButtonElement> | undefined;
|
|
10
10
|
}>;
|
|
11
11
|
interface DialogContentProps extends JSX.HTMLAttributes<HTMLDialogElement> {
|
|
12
12
|
onClose?: () => void;
|
|
13
13
|
}
|
|
14
|
-
declare const DialogContent: import('../../../../react').FunctionalComponent<import('
|
|
14
|
+
declare const DialogContent: import('../../../../react').FunctionalComponent<import('../../../../react').PropsWithoutRef<DialogContentProps> & {
|
|
15
15
|
ref?: import('../../../../react').Ref<HTMLDialogElement> | undefined;
|
|
16
16
|
}>;
|
|
17
17
|
declare const DialogHeader: {
|
|
@@ -22,17 +22,17 @@ declare const DialogFooter: {
|
|
|
22
22
|
({ className, ...props }: JSX.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
displayName: string;
|
|
24
24
|
};
|
|
25
|
-
declare const DialogTitle: import('../../../../react').FunctionalComponent<import('
|
|
25
|
+
declare const DialogTitle: import('../../../../react').FunctionalComponent<import('../../../../react').PropsWithoutRef<h.JSX.HTMLAttributes<HTMLHeadingElement>> & {
|
|
26
26
|
ref?: import('../../../../react').Ref<HTMLHeadingElement> | undefined;
|
|
27
27
|
}>;
|
|
28
|
-
declare const DialogDescription: import('../../../../react').FunctionalComponent<import('
|
|
28
|
+
declare const DialogDescription: import('../../../../react').FunctionalComponent<import('../../../../react').PropsWithoutRef<h.JSX.HTMLAttributes<HTMLParagraphElement>> & {
|
|
29
29
|
ref?: import('../../../../react').Ref<HTMLParagraphElement> | undefined;
|
|
30
30
|
}>;
|
|
31
31
|
declare const DialogPortal: ({ children }: {
|
|
32
32
|
children: ComponentChildren;
|
|
33
33
|
}) => ComponentChildren;
|
|
34
34
|
declare const DialogOverlay: () => null;
|
|
35
|
-
declare const DialogClose: import('../../../../react').FunctionalComponent<import('
|
|
35
|
+
declare const DialogClose: import('../../../../react').FunctionalComponent<import('../../../../react').PropsWithoutRef<h.JSX.HTMLAttributes<HTMLButtonElement>> & {
|
|
36
36
|
ref?: import('../../../../react').Ref<HTMLButtonElement> | undefined;
|
|
37
37
|
}>;
|
|
38
38
|
export { Dialog, DialogPortal, DialogOverlay, DialogClose, DialogTrigger, DialogContent, DialogHeader, DialogFooter, DialogTitle, DialogDescription, };
|
|
@@ -5,19 +5,19 @@ interface FlexProps extends JSX.HTMLAttributes<HTMLDivElement> {
|
|
|
5
5
|
wrap?: boolean;
|
|
6
6
|
gap?: number | string;
|
|
7
7
|
}
|
|
8
|
-
declare const Flex: import('../../../../react').FunctionalComponent<import('
|
|
8
|
+
declare const Flex: import('../../../../react').FunctionalComponent<import('../../../../react').PropsWithoutRef<FlexProps> & {
|
|
9
9
|
ref?: import('../../../../react').Ref<HTMLDivElement> | undefined;
|
|
10
10
|
}>;
|
|
11
|
-
declare const Box: import('../../../../react').FunctionalComponent<import('
|
|
11
|
+
declare const Box: import('../../../../react').FunctionalComponent<import('../../../../react').PropsWithoutRef<JSX.HTMLAttributes<HTMLDivElement>> & {
|
|
12
12
|
ref?: import('../../../../react').Ref<HTMLDivElement> | undefined;
|
|
13
13
|
}>;
|
|
14
|
-
declare const HStack: import('../../../../react').FunctionalComponent<import('
|
|
14
|
+
declare const HStack: import('../../../../react').FunctionalComponent<import('../../../../react').PropsWithoutRef<Omit<FlexProps, "direction">> & {
|
|
15
15
|
ref?: import('../../../../react').Ref<HTMLDivElement> | undefined;
|
|
16
16
|
}>;
|
|
17
|
-
declare const VStack: import('../../../../react').FunctionalComponent<import('
|
|
17
|
+
declare const VStack: import('../../../../react').FunctionalComponent<import('../../../../react').PropsWithoutRef<Omit<FlexProps, "direction">> & {
|
|
18
18
|
ref?: import('../../../../react').Ref<HTMLDivElement> | undefined;
|
|
19
19
|
}>;
|
|
20
|
-
declare const Text: import('../../../../react').FunctionalComponent<import('
|
|
20
|
+
declare const Text: import('../../../../react').FunctionalComponent<import('../../../../react').PropsWithoutRef<JSX.HTMLAttributes<HTMLDivElement>> & {
|
|
21
21
|
ref?: import('../../../../react').Ref<HTMLDivElement> | undefined;
|
|
22
22
|
}>;
|
|
23
23
|
export { Flex, Box, HStack, VStack, Text };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export interface InputProps extends JSX.HTMLAttributes<HTMLInputElement> {
|
|
2
2
|
}
|
|
3
|
-
declare const Input: import('../../../../react').FunctionalComponent<import('
|
|
3
|
+
declare const Input: import('../../../../react').FunctionalComponent<import('../../../../react').PropsWithoutRef<InputProps> & {
|
|
4
4
|
ref?: import('../../../../react').Ref<HTMLInputElement> | undefined;
|
|
5
5
|
}>;
|
|
6
6
|
export { Input };
|
|
@@ -7,7 +7,7 @@ interface SelectProps extends JSX.SelectHTMLAttributes<HTMLSelectElement> {
|
|
|
7
7
|
}>;
|
|
8
8
|
onValueChange?: (value: string) => void;
|
|
9
9
|
}
|
|
10
|
-
declare const Select: import('../../../../react').FunctionalComponent<import('
|
|
10
|
+
declare const Select: import('../../../../react').FunctionalComponent<import('../../../../react').PropsWithoutRef<SelectProps> & {
|
|
11
11
|
ref?: import('../../../../react').Ref<HTMLSelectElement> | undefined;
|
|
12
12
|
}>;
|
|
13
13
|
export { Select };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export interface SwitchProps extends Omit<JSX.HTMLAttributes<HTMLInputElement>, 'type'> {
|
|
2
2
|
onCheckedChange?: (checked: boolean) => void;
|
|
3
3
|
}
|
|
4
|
-
declare const Switch: import('../../../../react').FunctionalComponent<import('
|
|
4
|
+
declare const Switch: import('../../../../react').FunctionalComponent<import('../../../../react').PropsWithoutRef<SwitchProps> & {
|
|
5
5
|
ref?: import('../../../../react').Ref<HTMLInputElement> | undefined;
|
|
6
6
|
}>;
|
|
7
7
|
export { Switch };
|
|
@@ -3,19 +3,19 @@ export interface ToastProps extends JSX.HTMLAttributes<HTMLDivElement> {
|
|
|
3
3
|
variant?: 'default' | 'destructive';
|
|
4
4
|
onClose?: () => void;
|
|
5
5
|
}
|
|
6
|
-
declare const Toast: import('../../../../react').FunctionalComponent<import('
|
|
6
|
+
declare const Toast: import('../../../../react').FunctionalComponent<import('../../../../react').PropsWithoutRef<ToastProps> & {
|
|
7
7
|
ref?: import('../../../../react').Ref<HTMLDivElement> | undefined;
|
|
8
8
|
}>;
|
|
9
|
-
declare const ToastAction: import('../../../../react').FunctionalComponent<import('
|
|
9
|
+
declare const ToastAction: import('../../../../react').FunctionalComponent<import('../../../../react').PropsWithoutRef<h.JSX.HTMLAttributes<HTMLButtonElement>> & {
|
|
10
10
|
ref?: import('../../../../react').Ref<HTMLButtonElement> | undefined;
|
|
11
11
|
}>;
|
|
12
|
-
declare const ToastClose: import('../../../../react').FunctionalComponent<import('
|
|
12
|
+
declare const ToastClose: import('../../../../react').FunctionalComponent<import('../../../../react').PropsWithoutRef<h.JSX.HTMLAttributes<HTMLButtonElement>> & {
|
|
13
13
|
ref?: import('../../../../react').Ref<HTMLButtonElement> | undefined;
|
|
14
14
|
}>;
|
|
15
|
-
declare const ToastTitle: import('../../../../react').FunctionalComponent<import('
|
|
15
|
+
declare const ToastTitle: import('../../../../react').FunctionalComponent<import('../../../../react').PropsWithoutRef<h.JSX.HTMLAttributes<HTMLDivElement>> & {
|
|
16
16
|
ref?: import('../../../../react').Ref<HTMLDivElement> | undefined;
|
|
17
17
|
}>;
|
|
18
|
-
declare const ToastDescription: import('../../../../react').FunctionalComponent<import('
|
|
18
|
+
declare const ToastDescription: import('../../../../react').FunctionalComponent<import('../../../../react').PropsWithoutRef<h.JSX.HTMLAttributes<HTMLDivElement>> & {
|
|
19
19
|
ref?: import('../../../../react').Ref<HTMLDivElement> | undefined;
|
|
20
20
|
}>;
|
|
21
21
|
type ToastActionElement = JSX.Element<typeof ToastAction>;
|
|
@@ -11,12 +11,12 @@ declare const TooltipProvider: ({ children }: {
|
|
|
11
11
|
children: ComponentChildren;
|
|
12
12
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
declare const TooltipRoot: ({ content, children, delayDuration, side, className }: TooltipProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
declare const TooltipTrigger: import('../../../../react').FunctionalComponent<import('
|
|
14
|
+
declare const TooltipTrigger: import('../../../../react').FunctionalComponent<import('../../../../react').PropsWithoutRef<JSX.HTMLAttributes<HTMLDivElement> & {
|
|
15
15
|
asChild?: boolean | undefined;
|
|
16
16
|
}> & {
|
|
17
17
|
ref?: import('../../../../react').Ref<HTMLDivElement> | undefined;
|
|
18
18
|
}>;
|
|
19
|
-
declare const TooltipContent: import('../../../../react').FunctionalComponent<import('
|
|
19
|
+
declare const TooltipContent: import('../../../../react').FunctionalComponent<import('../../../../react').PropsWithoutRef<JSX.HTMLAttributes<HTMLDivElement> & {
|
|
20
20
|
sideOffset?: number | undefined;
|
|
21
21
|
}> & {
|
|
22
22
|
ref?: import('../../../../react').Ref<HTMLDivElement> | undefined;
|