@comercti/react-components-hmg 0.22.9 → 0.22.11
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/comerc-style-guide.cjs.js +29 -29
- package/comerc-style-guide.es.js +2402 -2398
- package/comerc-style-guide.umd.js +28 -28
- package/index.d.ts +4 -3
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -284,6 +284,7 @@ updateFiles: (file: FileItem[]) => any;
|
|
|
284
284
|
onUpdateFiles?: (file: FileItem[]) => any;
|
|
285
285
|
}>, {
|
|
286
286
|
disabled: boolean;
|
|
287
|
+
file: FileItem | null;
|
|
287
288
|
rounded: "md" | "lg" | "xl";
|
|
288
289
|
compact: boolean;
|
|
289
290
|
variant: "primary" | "secondary";
|
|
@@ -2101,7 +2102,7 @@ declare interface DropdownProps {
|
|
|
2101
2102
|
declare interface FileItem {
|
|
2102
2103
|
file: File;
|
|
2103
2104
|
progress: number;
|
|
2104
|
-
status:
|
|
2105
|
+
status: 'uploading' | 'success' | 'error';
|
|
2105
2106
|
}
|
|
2106
2107
|
|
|
2107
2108
|
declare type FormatDate = 'yyyy-MM-dd' | 'dd/MM/yyyy' | 'timestamp' | 'iso' | 'string';
|
|
@@ -2171,6 +2172,8 @@ declare interface IDropzone {
|
|
|
2171
2172
|
compact?: boolean;
|
|
2172
2173
|
/** Define o tamanho dos badges */
|
|
2173
2174
|
rounded?: 'md' | 'lg' | 'xl';
|
|
2175
|
+
/** Prop utilizada para atualizar o progresso quando simulateProgress é false */
|
|
2176
|
+
file?: FileItem | null;
|
|
2174
2177
|
}
|
|
2175
2178
|
|
|
2176
2179
|
declare interface IItems {
|
|
@@ -2352,8 +2355,6 @@ id: number;
|
|
|
2352
2355
|
data: IData | null;
|
|
2353
2356
|
}[]>;
|
|
2354
2357
|
|
|
2355
|
-
export declare const updateProgress: (file: File, progress: number | "error" | "done", status?: "uploading" | "success" | "error") => void;
|
|
2356
|
-
|
|
2357
2358
|
export { }
|
|
2358
2359
|
|
|
2359
2360
|
|