@humu-tech/ui 0.4.0 → 0.4.1
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/index.d.mts +29 -25
- package/dist/index.d.ts +29 -25
- package/dist/index.js +309 -122
- package/dist/index.mjs +287 -94
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -81,17 +81,17 @@ declare const Avatar: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<
|
|
|
81
81
|
} & react.RefAttributes<HTMLSpanElement>>;
|
|
82
82
|
|
|
83
83
|
declare const badgeStyles: (props?: ({
|
|
84
|
-
variant?: "
|
|
84
|
+
variant?: "default" | "brand" | "success" | "warning" | "danger" | "info" | "solid" | "turtle" | "purple" | null | undefined;
|
|
85
85
|
subtle?: boolean | null | undefined;
|
|
86
|
-
size?: "sm" | "
|
|
86
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
87
87
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
88
88
|
type BadgeProps = ComponentPropsWithoutRef<'span'> & VariantProps<typeof badgeStyles> & {
|
|
89
89
|
icon?: ReactNode;
|
|
90
90
|
};
|
|
91
91
|
declare const Badge: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & VariantProps<(props?: ({
|
|
92
|
-
variant?: "
|
|
92
|
+
variant?: "default" | "brand" | "success" | "warning" | "danger" | "info" | "solid" | "turtle" | "purple" | null | undefined;
|
|
93
93
|
subtle?: boolean | null | undefined;
|
|
94
|
-
size?: "sm" | "
|
|
94
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
95
95
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
96
96
|
icon?: ReactNode;
|
|
97
97
|
} & react.RefAttributes<HTMLSpanElement>>;
|
|
@@ -116,8 +116,8 @@ type BreadcrumbProps = {
|
|
|
116
116
|
declare function Breadcrumb({ items, className, linkComponent, }: BreadcrumbProps): react.JSX.Element;
|
|
117
117
|
|
|
118
118
|
declare const Button: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & Omit<class_variance_authority.VariantProps<(props?: ({
|
|
119
|
-
variant?: "
|
|
120
|
-
size?: "sm" | "
|
|
119
|
+
variant?: "link" | "success" | "warning" | "danger" | "info" | "primary" | "secondary" | "ghost" | "destructive" | null | undefined;
|
|
120
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
121
121
|
iconOnly?: boolean | null | undefined;
|
|
122
122
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "iconOnly"> & {
|
|
123
123
|
leftIcon?: react.ReactNode;
|
|
@@ -128,8 +128,8 @@ declare const Button: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLPro
|
|
|
128
128
|
} & react.RefAttributes<HTMLButtonElement>>;
|
|
129
129
|
|
|
130
130
|
declare const buttonStyles: (props?: ({
|
|
131
|
-
variant?: "
|
|
132
|
-
size?: "sm" | "
|
|
131
|
+
variant?: "link" | "success" | "warning" | "danger" | "info" | "primary" | "secondary" | "ghost" | "destructive" | null | undefined;
|
|
132
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
133
133
|
iconOnly?: boolean | null | undefined;
|
|
134
134
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
135
135
|
|
|
@@ -143,7 +143,7 @@ type ButtonProps = ComponentPropsWithoutRef<'button'> & Omit<VariantProps<typeof
|
|
|
143
143
|
|
|
144
144
|
declare const cardStyles: (props?: ({
|
|
145
145
|
variant?: "default" | "elevated" | "interactive" | null | undefined;
|
|
146
|
-
padding?: "
|
|
146
|
+
padding?: "none" | "sm" | "md" | "lg" | null | undefined;
|
|
147
147
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
148
148
|
|
|
149
149
|
type CardProps = ComponentPropsWithoutRef<'div'> & VariantProps<typeof cardStyles> & {
|
|
@@ -151,7 +151,7 @@ type CardProps = ComponentPropsWithoutRef<'div'> & VariantProps<typeof cardStyle
|
|
|
151
151
|
};
|
|
152
152
|
declare const Card: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & VariantProps<(props?: ({
|
|
153
153
|
variant?: "default" | "elevated" | "interactive" | null | undefined;
|
|
154
|
-
padding?: "
|
|
154
|
+
padding?: "none" | "sm" | "md" | "lg" | null | undefined;
|
|
155
155
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
156
156
|
asChild?: boolean;
|
|
157
157
|
} & react.RefAttributes<HTMLDivElement>> & {
|
|
@@ -381,7 +381,7 @@ declare const DateRangeInput: react.ForwardRefExoticComponent<Omit<react.ButtonH
|
|
|
381
381
|
} & react.RefAttributes<HTMLButtonElement>>;
|
|
382
382
|
|
|
383
383
|
declare const dialogContentStyles: (props?: ({
|
|
384
|
-
size?: "sm" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "
|
|
384
|
+
size?: "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "full" | null | undefined;
|
|
385
385
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
386
386
|
|
|
387
387
|
type DialogProps = ComponentPropsWithoutRef<typeof DialogPrimitive.Root> & {
|
|
@@ -398,7 +398,7 @@ declare const DialogRoot: typeof DialogRootBase & {
|
|
|
398
398
|
Trigger: react.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTriggerProps & react.RefAttributes<HTMLButtonElement>, "ref"> & react.RefAttributes<HTMLButtonElement>>;
|
|
399
399
|
Close: react.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogCloseProps & react.RefAttributes<HTMLButtonElement>, "ref"> & react.RefAttributes<HTMLButtonElement>>;
|
|
400
400
|
Content: react.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & VariantProps<(props?: ({
|
|
401
|
-
size?: "sm" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "
|
|
401
|
+
size?: "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "full" | null | undefined;
|
|
402
402
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
403
403
|
hideCloseButton?: boolean;
|
|
404
404
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
@@ -702,7 +702,7 @@ type FileUploadProps = Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'childr
|
|
|
702
702
|
};
|
|
703
703
|
|
|
704
704
|
declare const infoBoxStyles: (props?: ({
|
|
705
|
-
variant?: "
|
|
705
|
+
variant?: "default" | "success" | "warning" | "danger" | "info" | "turtle" | "purple" | null | undefined;
|
|
706
706
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
707
707
|
type InfoBoxVariant = NonNullable<VariantProps<typeof infoBoxStyles>['variant']>;
|
|
708
708
|
type InfoBoxProps = Omit<ComponentPropsWithoutRef<'div'>, 'title'> & VariantProps<typeof infoBoxStyles> & {
|
|
@@ -715,7 +715,7 @@ type InfoBoxProps = Omit<ComponentPropsWithoutRef<'div'>, 'title'> & VariantProp
|
|
|
715
715
|
closeLabel?: string;
|
|
716
716
|
};
|
|
717
717
|
declare const InfoBox: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "title"> & VariantProps<(props?: ({
|
|
718
|
-
variant?: "
|
|
718
|
+
variant?: "default" | "success" | "warning" | "danger" | "info" | "turtle" | "purple" | null | undefined;
|
|
719
719
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
720
720
|
title?: ReactNode;
|
|
721
721
|
icon?: ReactNode;
|
|
@@ -728,7 +728,7 @@ declare const InfoBox: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedH
|
|
|
728
728
|
|
|
729
729
|
type FormAlertProps = InfoBoxProps;
|
|
730
730
|
declare const FormAlert: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "title"> & class_variance_authority.VariantProps<(props?: ({
|
|
731
|
-
variant?: "
|
|
731
|
+
variant?: "default" | "success" | "warning" | "danger" | "info" | "turtle" | "purple" | null | undefined;
|
|
732
732
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
733
733
|
title?: react.ReactNode;
|
|
734
734
|
icon?: react.ReactNode;
|
|
@@ -866,14 +866,14 @@ declare namespace FullScreenLoading {
|
|
|
866
866
|
}
|
|
867
867
|
|
|
868
868
|
declare const headingStyles: (props?: ({
|
|
869
|
-
size?: "
|
|
869
|
+
size?: "sm" | "md" | "lg" | "xs" | "xl" | "2xl" | "3xl" | null | undefined;
|
|
870
870
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
871
871
|
type HeadingLevel = 1 | 2 | 3 | 4 | 5 | 6;
|
|
872
872
|
type HeadingProps = ComponentPropsWithoutRef<'h1'> & VariantProps<typeof headingStyles> & {
|
|
873
873
|
level?: HeadingLevel;
|
|
874
874
|
};
|
|
875
875
|
declare const Heading: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & VariantProps<(props?: ({
|
|
876
|
-
size?: "
|
|
876
|
+
size?: "sm" | "md" | "lg" | "xs" | "xl" | "2xl" | "3xl" | null | undefined;
|
|
877
877
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
878
878
|
level?: HeadingLevel;
|
|
879
879
|
} & react.RefAttributes<HTMLHeadingElement>>;
|
|
@@ -919,7 +919,7 @@ type ImageUploadProps = {
|
|
|
919
919
|
declare const ImageUpload: react.ForwardRefExoticComponent<ImageUploadProps & react.RefAttributes<HTMLInputElement>>;
|
|
920
920
|
|
|
921
921
|
declare const inputContainerStyles: (props?: ({
|
|
922
|
-
size?: "sm" | "
|
|
922
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
923
923
|
hasError?: boolean | null | undefined;
|
|
924
924
|
hasIcon?: boolean | null | undefined;
|
|
925
925
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
@@ -936,7 +936,7 @@ type InputProps = Omit<ComponentPropsWithoutRef<'input'>, 'size'> & Pick<Variant
|
|
|
936
936
|
containerClassName?: string;
|
|
937
937
|
};
|
|
938
938
|
declare const Input: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "size"> & Pick<VariantProps<(props?: ({
|
|
939
|
-
size?: "sm" | "
|
|
939
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
940
940
|
hasError?: boolean | null | undefined;
|
|
941
941
|
hasIcon?: boolean | null | undefined;
|
|
942
942
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "size"> & {
|
|
@@ -1107,7 +1107,7 @@ declare function brazilianPhoneDigits(value: string): string;
|
|
|
1107
1107
|
declare function PhoneInput({ normalizeRaw, ...props }: PhoneInputProps): react.JSX.Element;
|
|
1108
1108
|
|
|
1109
1109
|
declare const popoverContentStyles: (props?: ({
|
|
1110
|
-
size?: "
|
|
1110
|
+
size?: "auto" | "sm" | "md" | "lg" | null | undefined;
|
|
1111
1111
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1112
1112
|
|
|
1113
1113
|
type PopoverProps = ComponentPropsWithoutRef<typeof PopoverPrimitive.Root> & {
|
|
@@ -1123,7 +1123,7 @@ declare const Popover: typeof PopoverRoot & {
|
|
|
1123
1123
|
Anchor: react.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverAnchorProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
1124
1124
|
Close: react.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverCloseProps & react.RefAttributes<HTMLButtonElement>, "ref"> & react.RefAttributes<HTMLButtonElement>>;
|
|
1125
1125
|
Content: react.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & VariantProps<(props?: ({
|
|
1126
|
-
size?: "
|
|
1126
|
+
size?: "auto" | "sm" | "md" | "lg" | null | undefined;
|
|
1127
1127
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & react.RefAttributes<HTMLDivElement>>;
|
|
1128
1128
|
};
|
|
1129
1129
|
|
|
@@ -1201,7 +1201,7 @@ declare const Skeleton: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLP
|
|
|
1201
1201
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
1202
1202
|
|
|
1203
1203
|
declare const spinnerStyles: (props?: ({
|
|
1204
|
-
size?: "sm" | "
|
|
1204
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
1205
1205
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1206
1206
|
type SpinnerProps = VariantProps<typeof spinnerStyles> & {
|
|
1207
1207
|
label?: string;
|
|
@@ -1269,14 +1269,18 @@ type TabsProps = ComponentPropsWithoutRef<typeof TabsPrimitive.Root> & {
|
|
|
1269
1269
|
};
|
|
1270
1270
|
type TabsListProps = ComponentPropsWithoutRef<typeof TabsPrimitive.List> & {
|
|
1271
1271
|
variant?: TabsVariant;
|
|
1272
|
+
overflow?: 'menu' | 'none';
|
|
1273
|
+
moreLabel?: string;
|
|
1272
1274
|
};
|
|
1273
|
-
declare function TabsRoot({ children, className, ...props }: TabsProps): react.JSX.Element;
|
|
1275
|
+
declare function TabsRoot({ children, className, value, defaultValue, onValueChange, ...props }: TabsProps): react.JSX.Element;
|
|
1274
1276
|
declare namespace TabsRoot {
|
|
1275
1277
|
var displayName: string;
|
|
1276
1278
|
}
|
|
1277
1279
|
declare const Tabs: typeof TabsRoot & {
|
|
1278
1280
|
List: react.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & react.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
1279
1281
|
variant?: TabsVariant;
|
|
1282
|
+
overflow?: "menu" | "none";
|
|
1283
|
+
moreLabel?: string;
|
|
1280
1284
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
1281
1285
|
Trigger: react.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & react.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
1282
1286
|
icon?: ReactNode;
|
|
@@ -1297,7 +1301,7 @@ type ThemeToggleProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'children'
|
|
|
1297
1301
|
};
|
|
1298
1302
|
|
|
1299
1303
|
declare const textStyles: (props?: ({
|
|
1300
|
-
size?: "
|
|
1304
|
+
size?: "sm" | "lg" | "base" | "xs" | null | undefined;
|
|
1301
1305
|
color?: "default" | "danger" | "subtle" | "muted" | null | undefined;
|
|
1302
1306
|
weight?: "bold" | "normal" | "medium" | "semibold" | null | undefined;
|
|
1303
1307
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
@@ -2054,7 +2058,7 @@ type EmptyStateProps = Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'title'
|
|
|
2054
2058
|
action?: ReactNode;
|
|
2055
2059
|
};
|
|
2056
2060
|
|
|
2057
|
-
declare const EmptyState: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<HTMLDivElement>, "
|
|
2061
|
+
declare const EmptyState: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<HTMLDivElement>, "children" | "title"> & {
|
|
2058
2062
|
variant?: EmptyStateVariant;
|
|
2059
2063
|
icon?: react.ReactNode;
|
|
2060
2064
|
title: react.ReactNode;
|
package/dist/index.d.ts
CHANGED
|
@@ -81,17 +81,17 @@ declare const Avatar: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<
|
|
|
81
81
|
} & react.RefAttributes<HTMLSpanElement>>;
|
|
82
82
|
|
|
83
83
|
declare const badgeStyles: (props?: ({
|
|
84
|
-
variant?: "
|
|
84
|
+
variant?: "default" | "brand" | "success" | "warning" | "danger" | "info" | "solid" | "turtle" | "purple" | null | undefined;
|
|
85
85
|
subtle?: boolean | null | undefined;
|
|
86
|
-
size?: "sm" | "
|
|
86
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
87
87
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
88
88
|
type BadgeProps = ComponentPropsWithoutRef<'span'> & VariantProps<typeof badgeStyles> & {
|
|
89
89
|
icon?: ReactNode;
|
|
90
90
|
};
|
|
91
91
|
declare const Badge: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & VariantProps<(props?: ({
|
|
92
|
-
variant?: "
|
|
92
|
+
variant?: "default" | "brand" | "success" | "warning" | "danger" | "info" | "solid" | "turtle" | "purple" | null | undefined;
|
|
93
93
|
subtle?: boolean | null | undefined;
|
|
94
|
-
size?: "sm" | "
|
|
94
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
95
95
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
96
96
|
icon?: ReactNode;
|
|
97
97
|
} & react.RefAttributes<HTMLSpanElement>>;
|
|
@@ -116,8 +116,8 @@ type BreadcrumbProps = {
|
|
|
116
116
|
declare function Breadcrumb({ items, className, linkComponent, }: BreadcrumbProps): react.JSX.Element;
|
|
117
117
|
|
|
118
118
|
declare const Button: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & Omit<class_variance_authority.VariantProps<(props?: ({
|
|
119
|
-
variant?: "
|
|
120
|
-
size?: "sm" | "
|
|
119
|
+
variant?: "link" | "success" | "warning" | "danger" | "info" | "primary" | "secondary" | "ghost" | "destructive" | null | undefined;
|
|
120
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
121
121
|
iconOnly?: boolean | null | undefined;
|
|
122
122
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "iconOnly"> & {
|
|
123
123
|
leftIcon?: react.ReactNode;
|
|
@@ -128,8 +128,8 @@ declare const Button: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLPro
|
|
|
128
128
|
} & react.RefAttributes<HTMLButtonElement>>;
|
|
129
129
|
|
|
130
130
|
declare const buttonStyles: (props?: ({
|
|
131
|
-
variant?: "
|
|
132
|
-
size?: "sm" | "
|
|
131
|
+
variant?: "link" | "success" | "warning" | "danger" | "info" | "primary" | "secondary" | "ghost" | "destructive" | null | undefined;
|
|
132
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
133
133
|
iconOnly?: boolean | null | undefined;
|
|
134
134
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
135
135
|
|
|
@@ -143,7 +143,7 @@ type ButtonProps = ComponentPropsWithoutRef<'button'> & Omit<VariantProps<typeof
|
|
|
143
143
|
|
|
144
144
|
declare const cardStyles: (props?: ({
|
|
145
145
|
variant?: "default" | "elevated" | "interactive" | null | undefined;
|
|
146
|
-
padding?: "
|
|
146
|
+
padding?: "none" | "sm" | "md" | "lg" | null | undefined;
|
|
147
147
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
148
148
|
|
|
149
149
|
type CardProps = ComponentPropsWithoutRef<'div'> & VariantProps<typeof cardStyles> & {
|
|
@@ -151,7 +151,7 @@ type CardProps = ComponentPropsWithoutRef<'div'> & VariantProps<typeof cardStyle
|
|
|
151
151
|
};
|
|
152
152
|
declare const Card: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & VariantProps<(props?: ({
|
|
153
153
|
variant?: "default" | "elevated" | "interactive" | null | undefined;
|
|
154
|
-
padding?: "
|
|
154
|
+
padding?: "none" | "sm" | "md" | "lg" | null | undefined;
|
|
155
155
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
156
156
|
asChild?: boolean;
|
|
157
157
|
} & react.RefAttributes<HTMLDivElement>> & {
|
|
@@ -381,7 +381,7 @@ declare const DateRangeInput: react.ForwardRefExoticComponent<Omit<react.ButtonH
|
|
|
381
381
|
} & react.RefAttributes<HTMLButtonElement>>;
|
|
382
382
|
|
|
383
383
|
declare const dialogContentStyles: (props?: ({
|
|
384
|
-
size?: "sm" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "
|
|
384
|
+
size?: "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "full" | null | undefined;
|
|
385
385
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
386
386
|
|
|
387
387
|
type DialogProps = ComponentPropsWithoutRef<typeof DialogPrimitive.Root> & {
|
|
@@ -398,7 +398,7 @@ declare const DialogRoot: typeof DialogRootBase & {
|
|
|
398
398
|
Trigger: react.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTriggerProps & react.RefAttributes<HTMLButtonElement>, "ref"> & react.RefAttributes<HTMLButtonElement>>;
|
|
399
399
|
Close: react.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogCloseProps & react.RefAttributes<HTMLButtonElement>, "ref"> & react.RefAttributes<HTMLButtonElement>>;
|
|
400
400
|
Content: react.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & VariantProps<(props?: ({
|
|
401
|
-
size?: "sm" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "
|
|
401
|
+
size?: "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "full" | null | undefined;
|
|
402
402
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
403
403
|
hideCloseButton?: boolean;
|
|
404
404
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
@@ -702,7 +702,7 @@ type FileUploadProps = Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'childr
|
|
|
702
702
|
};
|
|
703
703
|
|
|
704
704
|
declare const infoBoxStyles: (props?: ({
|
|
705
|
-
variant?: "
|
|
705
|
+
variant?: "default" | "success" | "warning" | "danger" | "info" | "turtle" | "purple" | null | undefined;
|
|
706
706
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
707
707
|
type InfoBoxVariant = NonNullable<VariantProps<typeof infoBoxStyles>['variant']>;
|
|
708
708
|
type InfoBoxProps = Omit<ComponentPropsWithoutRef<'div'>, 'title'> & VariantProps<typeof infoBoxStyles> & {
|
|
@@ -715,7 +715,7 @@ type InfoBoxProps = Omit<ComponentPropsWithoutRef<'div'>, 'title'> & VariantProp
|
|
|
715
715
|
closeLabel?: string;
|
|
716
716
|
};
|
|
717
717
|
declare const InfoBox: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "title"> & VariantProps<(props?: ({
|
|
718
|
-
variant?: "
|
|
718
|
+
variant?: "default" | "success" | "warning" | "danger" | "info" | "turtle" | "purple" | null | undefined;
|
|
719
719
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
720
720
|
title?: ReactNode;
|
|
721
721
|
icon?: ReactNode;
|
|
@@ -728,7 +728,7 @@ declare const InfoBox: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedH
|
|
|
728
728
|
|
|
729
729
|
type FormAlertProps = InfoBoxProps;
|
|
730
730
|
declare const FormAlert: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "title"> & class_variance_authority.VariantProps<(props?: ({
|
|
731
|
-
variant?: "
|
|
731
|
+
variant?: "default" | "success" | "warning" | "danger" | "info" | "turtle" | "purple" | null | undefined;
|
|
732
732
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
733
733
|
title?: react.ReactNode;
|
|
734
734
|
icon?: react.ReactNode;
|
|
@@ -866,14 +866,14 @@ declare namespace FullScreenLoading {
|
|
|
866
866
|
}
|
|
867
867
|
|
|
868
868
|
declare const headingStyles: (props?: ({
|
|
869
|
-
size?: "
|
|
869
|
+
size?: "sm" | "md" | "lg" | "xs" | "xl" | "2xl" | "3xl" | null | undefined;
|
|
870
870
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
871
871
|
type HeadingLevel = 1 | 2 | 3 | 4 | 5 | 6;
|
|
872
872
|
type HeadingProps = ComponentPropsWithoutRef<'h1'> & VariantProps<typeof headingStyles> & {
|
|
873
873
|
level?: HeadingLevel;
|
|
874
874
|
};
|
|
875
875
|
declare const Heading: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & VariantProps<(props?: ({
|
|
876
|
-
size?: "
|
|
876
|
+
size?: "sm" | "md" | "lg" | "xs" | "xl" | "2xl" | "3xl" | null | undefined;
|
|
877
877
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
878
878
|
level?: HeadingLevel;
|
|
879
879
|
} & react.RefAttributes<HTMLHeadingElement>>;
|
|
@@ -919,7 +919,7 @@ type ImageUploadProps = {
|
|
|
919
919
|
declare const ImageUpload: react.ForwardRefExoticComponent<ImageUploadProps & react.RefAttributes<HTMLInputElement>>;
|
|
920
920
|
|
|
921
921
|
declare const inputContainerStyles: (props?: ({
|
|
922
|
-
size?: "sm" | "
|
|
922
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
923
923
|
hasError?: boolean | null | undefined;
|
|
924
924
|
hasIcon?: boolean | null | undefined;
|
|
925
925
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
@@ -936,7 +936,7 @@ type InputProps = Omit<ComponentPropsWithoutRef<'input'>, 'size'> & Pick<Variant
|
|
|
936
936
|
containerClassName?: string;
|
|
937
937
|
};
|
|
938
938
|
declare const Input: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "size"> & Pick<VariantProps<(props?: ({
|
|
939
|
-
size?: "sm" | "
|
|
939
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
940
940
|
hasError?: boolean | null | undefined;
|
|
941
941
|
hasIcon?: boolean | null | undefined;
|
|
942
942
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "size"> & {
|
|
@@ -1107,7 +1107,7 @@ declare function brazilianPhoneDigits(value: string): string;
|
|
|
1107
1107
|
declare function PhoneInput({ normalizeRaw, ...props }: PhoneInputProps): react.JSX.Element;
|
|
1108
1108
|
|
|
1109
1109
|
declare const popoverContentStyles: (props?: ({
|
|
1110
|
-
size?: "
|
|
1110
|
+
size?: "auto" | "sm" | "md" | "lg" | null | undefined;
|
|
1111
1111
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1112
1112
|
|
|
1113
1113
|
type PopoverProps = ComponentPropsWithoutRef<typeof PopoverPrimitive.Root> & {
|
|
@@ -1123,7 +1123,7 @@ declare const Popover: typeof PopoverRoot & {
|
|
|
1123
1123
|
Anchor: react.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverAnchorProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
1124
1124
|
Close: react.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverCloseProps & react.RefAttributes<HTMLButtonElement>, "ref"> & react.RefAttributes<HTMLButtonElement>>;
|
|
1125
1125
|
Content: react.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & VariantProps<(props?: ({
|
|
1126
|
-
size?: "
|
|
1126
|
+
size?: "auto" | "sm" | "md" | "lg" | null | undefined;
|
|
1127
1127
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & react.RefAttributes<HTMLDivElement>>;
|
|
1128
1128
|
};
|
|
1129
1129
|
|
|
@@ -1201,7 +1201,7 @@ declare const Skeleton: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLP
|
|
|
1201
1201
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
1202
1202
|
|
|
1203
1203
|
declare const spinnerStyles: (props?: ({
|
|
1204
|
-
size?: "sm" | "
|
|
1204
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
1205
1205
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1206
1206
|
type SpinnerProps = VariantProps<typeof spinnerStyles> & {
|
|
1207
1207
|
label?: string;
|
|
@@ -1269,14 +1269,18 @@ type TabsProps = ComponentPropsWithoutRef<typeof TabsPrimitive.Root> & {
|
|
|
1269
1269
|
};
|
|
1270
1270
|
type TabsListProps = ComponentPropsWithoutRef<typeof TabsPrimitive.List> & {
|
|
1271
1271
|
variant?: TabsVariant;
|
|
1272
|
+
overflow?: 'menu' | 'none';
|
|
1273
|
+
moreLabel?: string;
|
|
1272
1274
|
};
|
|
1273
|
-
declare function TabsRoot({ children, className, ...props }: TabsProps): react.JSX.Element;
|
|
1275
|
+
declare function TabsRoot({ children, className, value, defaultValue, onValueChange, ...props }: TabsProps): react.JSX.Element;
|
|
1274
1276
|
declare namespace TabsRoot {
|
|
1275
1277
|
var displayName: string;
|
|
1276
1278
|
}
|
|
1277
1279
|
declare const Tabs: typeof TabsRoot & {
|
|
1278
1280
|
List: react.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & react.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
1279
1281
|
variant?: TabsVariant;
|
|
1282
|
+
overflow?: "menu" | "none";
|
|
1283
|
+
moreLabel?: string;
|
|
1280
1284
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
1281
1285
|
Trigger: react.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & react.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
1282
1286
|
icon?: ReactNode;
|
|
@@ -1297,7 +1301,7 @@ type ThemeToggleProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'children'
|
|
|
1297
1301
|
};
|
|
1298
1302
|
|
|
1299
1303
|
declare const textStyles: (props?: ({
|
|
1300
|
-
size?: "
|
|
1304
|
+
size?: "sm" | "lg" | "base" | "xs" | null | undefined;
|
|
1301
1305
|
color?: "default" | "danger" | "subtle" | "muted" | null | undefined;
|
|
1302
1306
|
weight?: "bold" | "normal" | "medium" | "semibold" | null | undefined;
|
|
1303
1307
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
@@ -2054,7 +2058,7 @@ type EmptyStateProps = Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'title'
|
|
|
2054
2058
|
action?: ReactNode;
|
|
2055
2059
|
};
|
|
2056
2060
|
|
|
2057
|
-
declare const EmptyState: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<HTMLDivElement>, "
|
|
2061
|
+
declare const EmptyState: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<HTMLDivElement>, "children" | "title"> & {
|
|
2058
2062
|
variant?: EmptyStateVariant;
|
|
2059
2063
|
icon?: react.ReactNode;
|
|
2060
2064
|
title: react.ReactNode;
|