@underverse-ui/underverse 0.2.11 → 0.2.12
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/README.md +0 -0
- package/dist/index.cjs +1132 -1092
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -3
- package/dist/index.d.ts +5 -3
- package/dist/index.js +896 -856
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1014,13 +1014,13 @@ interface ImageUploadProps {
|
|
|
1014
1014
|
disabled?: boolean;
|
|
1015
1015
|
className?: string;
|
|
1016
1016
|
showPreview?: boolean;
|
|
1017
|
-
previewSize?:
|
|
1017
|
+
previewSize?: 'sm' | 'md' | 'lg';
|
|
1018
1018
|
dragDropText?: string;
|
|
1019
1019
|
browseText?: string;
|
|
1020
1020
|
supportedFormatsText?: string;
|
|
1021
1021
|
}
|
|
1022
1022
|
declare function ImageUpload({ onUpload, onRemove, maxSize, // Convert bytes to MB
|
|
1023
|
-
accept, multiple, disabled, className, showPreview, previewSize, dragDropText, browseText, supportedFormatsText
|
|
1023
|
+
accept, multiple, disabled, className, showPreview, previewSize, dragDropText, browseText, supportedFormatsText }: ImageUploadProps): react_jsx_runtime.JSX.Element;
|
|
1024
1024
|
|
|
1025
1025
|
type AnimationVariant$1 = "slide" | "fade" | "scale";
|
|
1026
1026
|
type Orientation = "horizontal" | "vertical";
|
|
@@ -1463,7 +1463,9 @@ declare const useFormField: () => {
|
|
|
1463
1463
|
formMessageId: string;
|
|
1464
1464
|
};
|
|
1465
1465
|
declare const FormItem: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1466
|
-
declare const FormLabel: React$1.ForwardRefExoticComponent<React$1.LabelHTMLAttributes<HTMLLabelElement> &
|
|
1466
|
+
declare const FormLabel: React$1.ForwardRefExoticComponent<React$1.LabelHTMLAttributes<HTMLLabelElement> & {
|
|
1467
|
+
required?: boolean;
|
|
1468
|
+
} & React$1.RefAttributes<HTMLLabelElement>>;
|
|
1467
1469
|
declare const FormControl: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1468
1470
|
declare const FormDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
1469
1471
|
declare const FormMessage: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1014,13 +1014,13 @@ interface ImageUploadProps {
|
|
|
1014
1014
|
disabled?: boolean;
|
|
1015
1015
|
className?: string;
|
|
1016
1016
|
showPreview?: boolean;
|
|
1017
|
-
previewSize?:
|
|
1017
|
+
previewSize?: 'sm' | 'md' | 'lg';
|
|
1018
1018
|
dragDropText?: string;
|
|
1019
1019
|
browseText?: string;
|
|
1020
1020
|
supportedFormatsText?: string;
|
|
1021
1021
|
}
|
|
1022
1022
|
declare function ImageUpload({ onUpload, onRemove, maxSize, // Convert bytes to MB
|
|
1023
|
-
accept, multiple, disabled, className, showPreview, previewSize, dragDropText, browseText, supportedFormatsText
|
|
1023
|
+
accept, multiple, disabled, className, showPreview, previewSize, dragDropText, browseText, supportedFormatsText }: ImageUploadProps): react_jsx_runtime.JSX.Element;
|
|
1024
1024
|
|
|
1025
1025
|
type AnimationVariant$1 = "slide" | "fade" | "scale";
|
|
1026
1026
|
type Orientation = "horizontal" | "vertical";
|
|
@@ -1463,7 +1463,9 @@ declare const useFormField: () => {
|
|
|
1463
1463
|
formMessageId: string;
|
|
1464
1464
|
};
|
|
1465
1465
|
declare const FormItem: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1466
|
-
declare const FormLabel: React$1.ForwardRefExoticComponent<React$1.LabelHTMLAttributes<HTMLLabelElement> &
|
|
1466
|
+
declare const FormLabel: React$1.ForwardRefExoticComponent<React$1.LabelHTMLAttributes<HTMLLabelElement> & {
|
|
1467
|
+
required?: boolean;
|
|
1468
|
+
} & React$1.RefAttributes<HTMLLabelElement>>;
|
|
1467
1469
|
declare const FormControl: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1468
1470
|
declare const FormDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
1469
1471
|
declare const FormMessage: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|