@kyle-test/zto-react-kit 0.0.0-alpha.3 → 0.0.0-alpha.5
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 → build/default}/components/Badge/index.d.ts +2 -2
- package/{dist → build/default}/components/Breadcrumb/index.d.ts +1 -1
- package/{dist → build/default}/components/Button/index.d.ts +1 -1
- package/{dist → build/default}/components/Form/Group/index.d.ts +1 -1
- package/{dist → build/default}/components/Form/Input/index.d.ts +3 -3
- package/{dist → build/default}/components/Form/NumberInput/index.d.ts +2 -2
- package/{dist → build/default}/components/Form/Select/index.d.ts +1 -2
- package/{dist → build/default}/components/Form/Textarea/index.d.ts +4 -4
- package/{dist → build/default}/components/IconButton/index.d.ts +1 -1
- package/{dist → build/default}/components/WithTooltip/index.d.ts +1 -1
- package/{dist → build/default}/components/shadcn/button.d.ts +3 -3
- package/build/default/components/shadcn/collapsible.d.ts +5 -0
- package/{dist → build/default}/components/shadcn/form.d.ts +4 -4
- package/build/default/components/shadcn/input.d.ts +4 -0
- package/{dist → build/default}/components/shadcn/label.d.ts +2 -2
- package/{dist → build/default}/components/shadcn/sheet.d.ts +2 -2
- package/{dist → build/default}/components/shadcn/sidebar.d.ts +4 -4
- package/{dist → build/default}/components/shadcn/textarea.d.ts +1 -1
- package/{dist → build/default}/components/shadcn/tooltip.d.ts +2 -2
- package/{dist → build/default}/components/shadcn/utils.d.ts +1 -1
- package/{dist → build/default}/index.d.ts +0 -1
- package/build/default/index.js +13557 -0
- package/{dist → build/default}/utils/context.d.ts +1 -1
- package/build/default/utils/styles.d.ts +1 -0
- package/build/shared/style.css +2 -0
- package/build/twPrefix/components/Badge/index.d.ts +12 -0
- package/build/twPrefix/components/Breadcrumb/index.d.ts +15 -0
- package/build/twPrefix/components/Button/index.d.ts +11 -0
- package/build/twPrefix/components/CenterLoading/index.d.ts +9 -0
- package/build/twPrefix/components/Form/Group/index.d.ts +11 -0
- package/build/twPrefix/components/Form/Input/index.d.ts +14 -0
- package/build/twPrefix/components/Form/Label/index.d.ts +1 -0
- package/build/twPrefix/components/Form/NumberInput/index.d.ts +28 -0
- package/build/twPrefix/components/Form/Select/index.d.ts +10 -0
- package/build/twPrefix/components/Form/Textarea/index.d.ts +12 -0
- package/build/twPrefix/components/Form/index.d.ts +7 -0
- package/build/twPrefix/components/IconButton/index.d.ts +8 -0
- package/build/twPrefix/components/Loader/index.d.ts +8 -0
- package/build/twPrefix/components/TruncateText/index.d.ts +7 -0
- package/build/twPrefix/components/WithIcon/index.d.ts +7 -0
- package/build/twPrefix/components/WithLabel/index.d.ts +7 -0
- package/build/twPrefix/components/WithTooltip/index.d.ts +42 -0
- package/build/twPrefix/components/index.d.ts +11 -0
- package/build/twPrefix/components/shadcn/accordion.d.ts +9 -0
- package/build/twPrefix/components/shadcn/avatar.d.ts +6 -0
- package/build/twPrefix/components/shadcn/breadcrumb.d.ts +15 -0
- package/build/twPrefix/components/shadcn/button.d.ts +12 -0
- package/build/twPrefix/components/shadcn/checkbox.d.ts +4 -0
- package/build/twPrefix/components/shadcn/collapsible.d.ts +5 -0
- package/build/twPrefix/components/shadcn/dialog.d.ts +25 -0
- package/build/twPrefix/components/shadcn/dropdown-menu.d.ts +27 -0
- package/build/twPrefix/components/shadcn/form.d.ts +25 -0
- package/build/twPrefix/components/shadcn/input.d.ts +4 -0
- package/build/twPrefix/components/shadcn/label.d.ts +5 -0
- package/build/twPrefix/components/shadcn/popover.d.ts +6 -0
- package/build/twPrefix/components/shadcn/radio-group.d.ts +5 -0
- package/build/twPrefix/components/shadcn/scroll-area.d.ts +5 -0
- package/build/twPrefix/components/shadcn/select.d.ts +13 -0
- package/build/twPrefix/components/shadcn/separator.d.ts +4 -0
- package/build/twPrefix/components/shadcn/sheet.d.ts +30 -0
- package/build/twPrefix/components/shadcn/sidebar.d.ts +67 -0
- package/build/twPrefix/components/shadcn/skeleton.d.ts +2 -0
- package/build/twPrefix/components/shadcn/slider.d.ts +4 -0
- package/build/twPrefix/components/shadcn/switch.d.ts +4 -0
- package/build/twPrefix/components/shadcn/tabs.d.ts +7 -0
- package/build/twPrefix/components/shadcn/textarea.d.ts +11 -0
- package/build/twPrefix/components/shadcn/tooltip.d.ts +12 -0
- package/build/twPrefix/components/shadcn/utils.d.ts +2 -0
- package/build/twPrefix/hooks/useIsMobile.d.ts +1 -0
- package/build/twPrefix/hooks/useMergeRefs.d.ts +6 -0
- package/build/twPrefix/index.d.ts +4 -0
- package/build/twPrefix/index.js +13557 -0
- package/build/twPrefix/utils/context.d.ts +6 -0
- package/build/twPrefix/utils/styles.d.ts +1 -0
- package/package.json +12 -9
- package/dist/components/shadcn/collapsible.d.ts +0 -5
- package/dist/components/shadcn/input.d.ts +0 -4
- package/dist/index.js +0 -13540
- package/dist/style.css +0 -1
- /package/{dist → build/default}/components/CenterLoading/index.d.ts +0 -0
- /package/{dist → build/default}/components/Form/Label/index.d.ts +0 -0
- /package/{dist → build/default}/components/Form/index.d.ts +0 -0
- /package/{dist → build/default}/components/Loader/index.d.ts +0 -0
- /package/{dist → build/default}/components/TruncateText/index.d.ts +0 -0
- /package/{dist → build/default}/components/WithIcon/index.d.ts +0 -0
- /package/{dist → build/default}/components/WithLabel/index.d.ts +0 -0
- /package/{dist → build/default}/components/index.d.ts +0 -0
- /package/{dist → build/default}/components/shadcn/accordion.d.ts +0 -0
- /package/{dist → build/default}/components/shadcn/avatar.d.ts +0 -0
- /package/{dist → build/default}/components/shadcn/breadcrumb.d.ts +0 -0
- /package/{dist → build/default}/components/shadcn/checkbox.d.ts +0 -0
- /package/{dist → build/default}/components/shadcn/dialog.d.ts +0 -0
- /package/{dist → build/default}/components/shadcn/dropdown-menu.d.ts +0 -0
- /package/{dist → build/default}/components/shadcn/popover.d.ts +0 -0
- /package/{dist → build/default}/components/shadcn/radio-group.d.ts +0 -0
- /package/{dist → build/default}/components/shadcn/scroll-area.d.ts +0 -0
- /package/{dist → build/default}/components/shadcn/select.d.ts +0 -0
- /package/{dist → build/default}/components/shadcn/separator.d.ts +0 -0
- /package/{dist → build/default}/components/shadcn/skeleton.d.ts +0 -0
- /package/{dist → build/default}/components/shadcn/slider.d.ts +0 -0
- /package/{dist → build/default}/components/shadcn/switch.d.ts +0 -0
- /package/{dist → build/default}/components/shadcn/tabs.d.ts +0 -0
- /package/{dist → build/default}/hooks/useIsMobile.d.ts +0 -0
- /package/{dist → build/default}/hooks/useMergeRefs.d.ts +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { 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,4 +1,4 @@
|
|
|
1
|
-
import { ButtonProps as ShadcnButtonProps, buttonVariants } from '
|
|
1
|
+
import { ButtonProps as ShadcnButtonProps, buttonVariants } from '../shadcn/button';
|
|
2
2
|
import { TooltipContent, TooltipPortal } from '../shadcn/tooltip';
|
|
3
3
|
export type ButtonProps = Omit<ShadcnButtonProps, 'onClick'> & {
|
|
4
4
|
tooltip?: React.ReactNode;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import React from 'react';
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { default as 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,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { InputProps } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { InputProps } from '../Input';
|
|
3
3
|
export interface NumberInputProps extends Omit<React.ComponentPropsWithoutRef<'input'>, 'size'> {
|
|
4
4
|
min?: number;
|
|
5
5
|
max?: number;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Option as RCSelectOption, SelectProps as RCSelectProps } from 'rc-select';
|
|
2
|
-
import { DefaultOptionType } from 'rc-select/lib/Select';
|
|
3
|
-
import { BaseOptionType } from 'rc-select/lib/Select';
|
|
2
|
+
import { DefaultOptionType, BaseOptionType } from 'rc-select/lib/Select';
|
|
4
3
|
export type SelectProps = Omit<RCSelectProps, 'prefixCls'> & {
|
|
5
4
|
optionRenderType?: 'normal' | 'checkbox';
|
|
6
5
|
size?: 'sm' | 'md' | 'lg';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { TextareaAutosize as ShadcnTextareaAutosize } from '
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { default as React } from 'react';
|
|
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 {
|
|
1
|
+
import { 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
|
-
size?: "default" | "sm" | "md" | "icon" | "
|
|
7
|
-
} & import(
|
|
6
|
+
size?: "default" | "sm" | "md" | "icon" | "lg" | "xs" | "iconMd" | null | undefined;
|
|
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';
|
|
1
2
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
2
3
|
import * as React from 'react';
|
|
3
|
-
|
|
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;
|
|
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 { default as React } from 'react';
|
|
2
|
+
declare const BASE_INPUT_CLASSNAME: string;
|
|
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';
|
|
1
2
|
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';
|
|
1
2
|
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';
|
|
2
3
|
import * as React from 'react';
|
|
3
|
-
import { TooltipContent } from 'components/shadcn/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';
|
|
1
2
|
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 * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
2
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
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 {
|
|
1
|
+
import { ClassValue } from 'clsx';
|
|
2
2
|
export declare function cn(...inputs: ClassValue[]): string;
|