@kyle-test/zto-react-kit 0.0.0-alpha.5 → 0.0.0-alpha.7
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/default → dist}/components/Badge/index.d.ts +2 -2
- package/{build/twPrefix → dist}/components/Breadcrumb/index.d.ts +1 -1
- package/{build/default → dist}/components/Form/Group/index.d.ts +1 -1
- package/{build/twPrefix → dist}/components/Form/Input/index.d.ts +3 -3
- package/{build/twPrefix → dist}/components/Form/NumberInput/index.d.ts +1 -1
- package/{build/default → dist}/components/Form/Select/index.d.ts +2 -1
- package/{build/twPrefix → dist}/components/Form/Textarea/index.d.ts +3 -3
- package/{build/default → dist}/components/IconButton/index.d.ts +1 -1
- package/{build/twPrefix → dist}/components/WithTooltip/index.d.ts +1 -1
- package/{build/twPrefix → dist}/components/shadcn/button.d.ts +2 -2
- package/dist/components/shadcn/collapsible.d.ts +5 -0
- package/{build/default → dist}/components/shadcn/form.d.ts +4 -4
- package/dist/components/shadcn/input.d.ts +4 -0
- package/{build/twPrefix → dist}/components/shadcn/label.d.ts +2 -2
- package/{build/twPrefix → dist}/components/shadcn/sheet.d.ts +2 -2
- package/{build/default → dist}/components/shadcn/sidebar.d.ts +4 -4
- package/{build/twPrefix → dist}/components/shadcn/textarea.d.ts +1 -1
- package/{build/twPrefix → dist}/components/shadcn/tooltip.d.ts +2 -2
- package/{build/default → dist}/components/shadcn/utils.d.ts +1 -1
- package/{build/default → dist}/index.d.ts +1 -0
- package/dist/noprefix/index.js +13540 -0
- package/dist/noprefix/style.css +1 -0
- package/{build/default → dist/prefix}/index.js +5015 -5020
- package/dist/prefix/style.css +1 -0
- package/{build/default → dist}/utils/context.d.ts +1 -1
- package/package.json +12 -11
- package/build/default/components/Breadcrumb/index.d.ts +0 -15
- package/build/default/components/Form/Input/index.d.ts +0 -14
- package/build/default/components/Form/NumberInput/index.d.ts +0 -28
- package/build/default/components/Form/Textarea/index.d.ts +0 -12
- package/build/default/components/WithTooltip/index.d.ts +0 -42
- package/build/default/components/shadcn/button.d.ts +0 -12
- package/build/default/components/shadcn/collapsible.d.ts +0 -5
- package/build/default/components/shadcn/input.d.ts +0 -4
- package/build/default/components/shadcn/label.d.ts +0 -5
- package/build/default/components/shadcn/sheet.d.ts +0 -30
- package/build/default/components/shadcn/textarea.d.ts +0 -11
- package/build/default/components/shadcn/tooltip.d.ts +0 -12
- package/build/default/utils/styles.d.ts +0 -1
- package/build/shared/style.css +0 -2
- package/build/twPrefix/components/Badge/index.d.ts +0 -12
- package/build/twPrefix/components/Button/index.d.ts +0 -11
- package/build/twPrefix/components/CenterLoading/index.d.ts +0 -9
- package/build/twPrefix/components/Form/Group/index.d.ts +0 -11
- package/build/twPrefix/components/Form/Label/index.d.ts +0 -1
- package/build/twPrefix/components/Form/Select/index.d.ts +0 -10
- package/build/twPrefix/components/Form/index.d.ts +0 -7
- package/build/twPrefix/components/IconButton/index.d.ts +0 -8
- package/build/twPrefix/components/Loader/index.d.ts +0 -8
- package/build/twPrefix/components/TruncateText/index.d.ts +0 -7
- package/build/twPrefix/components/WithIcon/index.d.ts +0 -7
- package/build/twPrefix/components/WithLabel/index.d.ts +0 -7
- package/build/twPrefix/components/index.d.ts +0 -11
- package/build/twPrefix/components/shadcn/accordion.d.ts +0 -9
- package/build/twPrefix/components/shadcn/avatar.d.ts +0 -6
- package/build/twPrefix/components/shadcn/breadcrumb.d.ts +0 -15
- package/build/twPrefix/components/shadcn/checkbox.d.ts +0 -4
- package/build/twPrefix/components/shadcn/collapsible.d.ts +0 -5
- package/build/twPrefix/components/shadcn/dialog.d.ts +0 -25
- package/build/twPrefix/components/shadcn/dropdown-menu.d.ts +0 -27
- package/build/twPrefix/components/shadcn/form.d.ts +0 -25
- package/build/twPrefix/components/shadcn/input.d.ts +0 -4
- package/build/twPrefix/components/shadcn/popover.d.ts +0 -6
- package/build/twPrefix/components/shadcn/radio-group.d.ts +0 -5
- package/build/twPrefix/components/shadcn/scroll-area.d.ts +0 -5
- package/build/twPrefix/components/shadcn/select.d.ts +0 -13
- package/build/twPrefix/components/shadcn/separator.d.ts +0 -4
- package/build/twPrefix/components/shadcn/sidebar.d.ts +0 -67
- package/build/twPrefix/components/shadcn/skeleton.d.ts +0 -2
- package/build/twPrefix/components/shadcn/slider.d.ts +0 -4
- package/build/twPrefix/components/shadcn/switch.d.ts +0 -4
- package/build/twPrefix/components/shadcn/tabs.d.ts +0 -7
- package/build/twPrefix/components/shadcn/utils.d.ts +0 -2
- package/build/twPrefix/hooks/useIsMobile.d.ts +0 -1
- package/build/twPrefix/hooks/useMergeRefs.d.ts +0 -6
- package/build/twPrefix/index.d.ts +0 -4
- package/build/twPrefix/index.js +0 -13557
- package/build/twPrefix/utils/context.d.ts +0 -6
- package/build/twPrefix/utils/styles.d.ts +0 -1
- /package/{build/default → dist}/components/Button/index.d.ts +0 -0
- /package/{build/default → dist}/components/CenterLoading/index.d.ts +0 -0
- /package/{build/default → dist}/components/Form/Label/index.d.ts +0 -0
- /package/{build/default → dist}/components/Form/index.d.ts +0 -0
- /package/{build/default → dist}/components/Loader/index.d.ts +0 -0
- /package/{build/default → dist}/components/TruncateText/index.d.ts +0 -0
- /package/{build/default → dist}/components/WithIcon/index.d.ts +0 -0
- /package/{build/default → dist}/components/WithLabel/index.d.ts +0 -0
- /package/{build/default → dist}/components/index.d.ts +0 -0
- /package/{build/default → dist}/components/shadcn/accordion.d.ts +0 -0
- /package/{build/default → dist}/components/shadcn/avatar.d.ts +0 -0
- /package/{build/default → dist}/components/shadcn/breadcrumb.d.ts +0 -0
- /package/{build/default → dist}/components/shadcn/checkbox.d.ts +0 -0
- /package/{build/default → dist}/components/shadcn/dialog.d.ts +0 -0
- /package/{build/default → dist}/components/shadcn/dropdown-menu.d.ts +0 -0
- /package/{build/default → dist}/components/shadcn/popover.d.ts +0 -0
- /package/{build/default → dist}/components/shadcn/radio-group.d.ts +0 -0
- /package/{build/default → dist}/components/shadcn/scroll-area.d.ts +0 -0
- /package/{build/default → dist}/components/shadcn/select.d.ts +0 -0
- /package/{build/default → dist}/components/shadcn/separator.d.ts +0 -0
- /package/{build/default → dist}/components/shadcn/skeleton.d.ts +0 -0
- /package/{build/default → dist}/components/shadcn/slider.d.ts +0 -0
- /package/{build/default → dist}/components/shadcn/switch.d.ts +0 -0
- /package/{build/default → dist}/components/shadcn/tabs.d.ts +0 -0
- /package/{build/default → dist}/hooks/useIsMobile.d.ts +0 -0
- /package/{build/default → dist}/hooks/useMergeRefs.d.ts +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
1
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
declare const badgeVariants: (props?: ({
|
|
4
4
|
variant?: "default" | "success" | "warning" | "fuchsia" | "blue" | "purple" | null | undefined;
|
|
5
5
|
type?: "tag" | "badge" | null | undefined;
|
|
6
6
|
size?: "sm" | "md" | null | undefined;
|
|
7
|
-
} & import(
|
|
7
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
8
|
export interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
9
9
|
includeDot?: boolean;
|
|
10
10
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import
|
|
1
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
declare const inputVariants: (props?: ({
|
|
4
4
|
style?: "default" | "error" | null | undefined;
|
|
5
5
|
size?: "default" | "sm" | "md" | "lg" | null | undefined;
|
|
6
|
-
} & import(
|
|
6
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
7
|
export interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'>, Omit<VariantProps<typeof inputVariants>, 'style'> {
|
|
8
8
|
error?: boolean;
|
|
9
9
|
addonStart?: React.ReactNode;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Option as RCSelectOption, SelectProps as RCSelectProps } from 'rc-select';
|
|
2
|
-
import { DefaultOptionType
|
|
2
|
+
import { DefaultOptionType } from 'rc-select/lib/Select';
|
|
3
|
+
import { BaseOptionType } from 'rc-select/lib/Select';
|
|
3
4
|
export type SelectProps = Omit<RCSelectProps, 'prefixCls'> & {
|
|
4
5
|
optionRenderType?: 'normal' | 'checkbox';
|
|
5
6
|
size?: 'sm' | 'md' | 'lg';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import
|
|
1
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
import { TextareaAutosize as ShadcnTextareaAutosize } from '../../shadcn/textarea';
|
|
4
4
|
declare const inputVariants: (props?: ({
|
|
5
5
|
style?: "default" | "error" | null | undefined;
|
|
6
6
|
size?: "default" | "sm" | "md" | "lg" | null | undefined;
|
|
7
|
-
} & import(
|
|
7
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
8
|
export interface TextareaAutosizeProps extends Omit<React.ComponentProps<typeof ShadcnTextareaAutosize>, 'size'>, Omit<VariantProps<typeof inputVariants>, 'style'> {
|
|
9
9
|
error?: boolean;
|
|
10
10
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
1
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
declare const buttonVariants: (props?: ({
|
|
4
4
|
variant?: "default" | "success" | "link" | "secondary" | "secondaryColor" | "tertiary" | "tertiaryColor" | "linkColor" | "destructive" | "destructiveSecondary" | "destructiveTertiary" | "destructiveLink" | "ghost" | null | undefined;
|
|
5
5
|
width?: "default" | "min" | null | undefined;
|
|
6
6
|
size?: "default" | "sm" | "md" | "icon" | "lg" | "xs" | "iconMd" | null | undefined;
|
|
7
|
-
} & import(
|
|
7
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
8
|
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
9
9
|
asChild?: boolean;
|
|
10
10
|
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
|
|
2
|
+
declare const Collapsible: import("react").ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
3
|
+
declare const CollapsibleTrigger: import("react").ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
4
|
+
declare const CollapsibleContent: import("react").ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleContentProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
|
+
export { Collapsible, CollapsibleTrigger, CollapsibleContent };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { ControllerProps, FieldPath, FieldValues } from 'react-hook-form';
|
|
2
1
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
3
2
|
import * as React from 'react';
|
|
4
|
-
|
|
3
|
+
import { ControllerProps, FieldPath, FieldValues } from 'react-hook-form';
|
|
4
|
+
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues extends FieldValues | undefined = undefined>(props: import("react-hook-form").FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
|
|
5
5
|
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
declare const useFormField: () => {
|
|
7
7
|
invalid: boolean;
|
|
8
8
|
isDirty: boolean;
|
|
9
9
|
isTouched: boolean;
|
|
10
10
|
isValidating: boolean;
|
|
11
|
-
error?: import(
|
|
11
|
+
error?: import("react-hook-form").FieldError;
|
|
12
12
|
id: string;
|
|
13
13
|
name: string;
|
|
14
14
|
formItemId: string;
|
|
@@ -19,7 +19,7 @@ declare const FormItem: React.ForwardRefExoticComponent<React.HTMLAttributes<HTM
|
|
|
19
19
|
declare const FormLabel: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & {
|
|
20
20
|
required?: boolean;
|
|
21
21
|
} & React.RefAttributes<HTMLLabelElement>>;
|
|
22
|
-
declare const FormControl: React.ForwardRefExoticComponent<Omit<import(
|
|
22
|
+
declare const FormControl: React.ForwardRefExoticComponent<Omit<import("@radix-ui/react-slot").SlotProps & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
23
23
|
declare const FormDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
24
24
|
declare const FormMessage: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
25
25
|
export { useFormField, Form, FormItem, FormLabel, FormControl, FormDescription, FormMessage, FormField };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const BASE_INPUT_CLASSNAME = "flex w-full rounded-lg border border-gray-300 bg-white px-3 py-2 text-gray-900 ring-offset-white file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-neutral-950 placeholder:[color:var(--zto-placeholder-color,#667085)] focus-visible:outline-none focus-visible:ring-2 focus-visible:-ring-offset-1 disabled:cursor-not-allowed disabled:bg-gray-50 disabled:text-gray-500 dark:border-neutral-800 dark:bg-neutral-950 dark:ring-offset-neutral-950 dark:file:text-neutral-50 dark:placeholder:[color:var(--zto-placeholder-color,#667085)] dark:focus-visible:ring-neutral-300";
|
|
3
|
+
declare const Input: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
4
|
+
export { Input, BASE_INPUT_CLASSNAME };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
1
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
2
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
3
3
|
import * as React from 'react';
|
|
4
|
-
declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: import(
|
|
4
|
+
declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: import("class-variance-authority/types").ClassProp | undefined) => string> & React.RefAttributes<HTMLLabelElement>>;
|
|
5
5
|
export { Label };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
1
|
import * as SheetPrimitive from '@radix-ui/react-dialog';
|
|
2
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
declare const Sheet: React.FC<SheetPrimitive.DialogProps>;
|
|
5
5
|
declare const SheetTrigger: React.ForwardRefExoticComponent<SheetPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -8,7 +8,7 @@ declare const SheetPortal: React.FC<SheetPrimitive.DialogPortalProps>;
|
|
|
8
8
|
declare const SheetOverlay: React.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
9
9
|
declare const sheetVariants: (props?: ({
|
|
10
10
|
side?: "left" | "right" | "bottom" | "top" | null | undefined;
|
|
11
|
-
} & import(
|
|
11
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
12
12
|
interface SheetContentProps extends React.ComponentPropsWithoutRef<typeof SheetPrimitive.Content>, VariantProps<typeof sheetVariants> {
|
|
13
13
|
closeIconButtonClassName?: string;
|
|
14
14
|
closeIconButtonOnClick?: () => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import { TooltipContent } from './tooltip';
|
|
3
2
|
import * as React from 'react';
|
|
3
|
+
import { TooltipContent } from './tooltip';
|
|
4
4
|
type SidebarContext = {
|
|
5
5
|
state: 'expanded' | 'collapsed';
|
|
6
6
|
open: boolean;
|
|
@@ -23,13 +23,13 @@ declare const Sidebar: React.ForwardRefExoticComponent<Omit<React.ClassAttribute
|
|
|
23
23
|
collapsible?: "offcanvas" | "icon" | "none";
|
|
24
24
|
handleClassName?: string;
|
|
25
25
|
}, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
26
|
-
declare const SidebarTrigger: React.ForwardRefExoticComponent<Omit<import(
|
|
26
|
+
declare const SidebarTrigger: React.ForwardRefExoticComponent<Omit<import("./button").ButtonProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
27
27
|
declare const SidebarRail: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
28
28
|
declare const SidebarInset: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
29
29
|
declare const SidebarInput: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
30
30
|
declare const SidebarHeader: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
31
31
|
declare const SidebarFooter: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
32
|
-
declare const SidebarSeparator: React.ForwardRefExoticComponent<Omit<Omit<import(
|
|
32
|
+
declare const SidebarSeparator: React.ForwardRefExoticComponent<Omit<Omit<import("@radix-ui/react-separator").SeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
33
33
|
declare const SidebarContent: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
34
34
|
declare const SidebarGroup: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
35
35
|
declare const SidebarGroupLabel: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
|
|
@@ -48,7 +48,7 @@ declare const SidebarMenuButton: React.ForwardRefExoticComponent<Omit<React.Clas
|
|
|
48
48
|
} & VariantProps<(props?: ({
|
|
49
49
|
variant?: "default" | "outline" | null | undefined;
|
|
50
50
|
size?: "default" | "sm" | "md" | "lg" | null | undefined;
|
|
51
|
-
} & import(
|
|
51
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
52
52
|
declare const SidebarMenuAction: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLButtonElement> & React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
53
53
|
asChild?: boolean;
|
|
54
54
|
showOnHover?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { default as TextareaAutosizeComponent } from 'react-textarea-autosize';
|
|
2
1
|
import * as React from 'react';
|
|
2
|
+
import TextareaAutosizeComponent from 'react-textarea-autosize';
|
|
3
3
|
export interface TextareaProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'style'> {
|
|
4
4
|
error?: boolean;
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
1
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
declare const TooltipProvider: React.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
5
5
|
declare const Tooltip: React.FC<TooltipPrimitive.TooltipProps>;
|
|
@@ -8,5 +8,5 @@ declare const TooltipPortal: React.FC<TooltipPrimitive.TooltipPortalProps>;
|
|
|
8
8
|
declare const TooltipArrow: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipArrowProps & React.RefAttributes<SVGSVGElement>>;
|
|
9
9
|
declare const TooltipContent: React.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & VariantProps<(props?: ({
|
|
10
10
|
variant?: "default" | "light" | null | undefined;
|
|
11
|
-
} & import(
|
|
11
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string> & React.RefAttributes<HTMLDivElement>>;
|
|
12
12
|
export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider, TooltipPortal, TooltipArrow };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ClassValue } from 'clsx';
|
|
1
|
+
import { type ClassValue } from 'clsx';
|
|
2
2
|
export declare function cn(...inputs: ClassValue[]): string;
|