@comercti/react-components-hmg 0.23.10 → 0.23.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/comerc-style-guide.cjs.js +3 -3
- package/comerc-style-guide.es.js +1413 -1399
- package/comerc-style-guide.umd.js +6 -6
- package/index.d.ts +5 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -294,6 +294,8 @@ rounded: "md" | "lg" | "xl";
|
|
|
294
294
|
compact: boolean;
|
|
295
295
|
variant: "primary" | "secondary" | "tertiary";
|
|
296
296
|
clear: boolean;
|
|
297
|
+
errorLabel: string;
|
|
298
|
+
successLabel: string;
|
|
297
299
|
accept: string[];
|
|
298
300
|
multiple: boolean;
|
|
299
301
|
maxFile: number;
|
|
@@ -303,8 +305,6 @@ customMessage: string[];
|
|
|
303
305
|
simulateProgress: boolean;
|
|
304
306
|
showProgressBar: boolean;
|
|
305
307
|
sendRemovedFile: boolean;
|
|
306
|
-
errorLabel: string;
|
|
307
|
-
successLabel: string;
|
|
308
308
|
tertiaryVariantTitle: string;
|
|
309
309
|
showUploadedFile: boolean;
|
|
310
310
|
showRemoveButton: boolean;
|
|
@@ -2125,6 +2125,9 @@ declare interface FileItem {
|
|
|
2125
2125
|
file: File;
|
|
2126
2126
|
progress: number;
|
|
2127
2127
|
status: 'uploading' | 'success' | 'error';
|
|
2128
|
+
message?: string;
|
|
2129
|
+
errorLabel?: string;
|
|
2130
|
+
successLabel?: string;
|
|
2128
2131
|
}
|
|
2129
2132
|
|
|
2130
2133
|
declare type FormatDate = 'yyyy-MM-dd' | 'dd/MM/yyyy' | 'timestamp' | 'iso' | 'string';
|