@farmzone/fz-react-ui 1.2.2 → 1.2.4
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.cjs +371 -73
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +373 -75
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -430,6 +430,7 @@ interface ToastStyleOptions {
|
|
|
430
430
|
className?: string;
|
|
431
431
|
style?: CSSProperties;
|
|
432
432
|
iconTheme?: ToastIconTheme;
|
|
433
|
+
icon?: ReactNode;
|
|
433
434
|
}
|
|
434
435
|
interface ToastOptions extends ToastStyleOptions {
|
|
435
436
|
duration?: number;
|
|
@@ -818,7 +819,7 @@ interface FilePreviewViewerFeatures {
|
|
|
818
819
|
download?: boolean;
|
|
819
820
|
navigation?: boolean;
|
|
820
821
|
}
|
|
821
|
-
type PreviewFileType = "image" | "pdf" | "unsupported";
|
|
822
|
+
type PreviewFileType = "image" | "pdf" | "video" | "unsupported";
|
|
822
823
|
|
|
823
824
|
interface FilePreviewViewerProps<T extends string = string> {
|
|
824
825
|
isOpen: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -430,6 +430,7 @@ interface ToastStyleOptions {
|
|
|
430
430
|
className?: string;
|
|
431
431
|
style?: CSSProperties;
|
|
432
432
|
iconTheme?: ToastIconTheme;
|
|
433
|
+
icon?: ReactNode;
|
|
433
434
|
}
|
|
434
435
|
interface ToastOptions extends ToastStyleOptions {
|
|
435
436
|
duration?: number;
|
|
@@ -818,7 +819,7 @@ interface FilePreviewViewerFeatures {
|
|
|
818
819
|
download?: boolean;
|
|
819
820
|
navigation?: boolean;
|
|
820
821
|
}
|
|
821
|
-
type PreviewFileType = "image" | "pdf" | "unsupported";
|
|
822
|
+
type PreviewFileType = "image" | "pdf" | "video" | "unsupported";
|
|
822
823
|
|
|
823
824
|
interface FilePreviewViewerProps<T extends string = string> {
|
|
824
825
|
isOpen: boolean;
|