@comercti/react-components-hmg 0.23.9 → 0.23.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 +1 -1
- package/comerc-style-guide.es.js +745 -739
- package/comerc-style-guide.umd.js +1 -1
- package/index.d.ts +4 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -307,6 +307,7 @@ errorLabel: string;
|
|
|
307
307
|
successLabel: string;
|
|
308
308
|
tertiaryVariantTitle: string;
|
|
309
309
|
showUploadedFile: boolean;
|
|
310
|
+
showRemoveButton: boolean;
|
|
310
311
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
311
312
|
inputFile: HTMLInputElement;
|
|
312
313
|
}, HTMLDivElement>;
|
|
@@ -2124,6 +2125,7 @@ declare interface FileItem {
|
|
|
2124
2125
|
file: File;
|
|
2125
2126
|
progress: number;
|
|
2126
2127
|
status: 'uploading' | 'success' | 'error';
|
|
2128
|
+
message?: string;
|
|
2127
2129
|
}
|
|
2128
2130
|
|
|
2129
2131
|
declare type FormatDate = 'yyyy-MM-dd' | 'dd/MM/yyyy' | 'timestamp' | 'iso' | 'string';
|
|
@@ -2209,6 +2211,8 @@ declare interface IDropzone {
|
|
|
2209
2211
|
showUploadedFile?: boolean;
|
|
2210
2212
|
/** Sinaliza que pode remover o arquivo */
|
|
2211
2213
|
canRemoveFile?: boolean;
|
|
2214
|
+
/** Exibi o botão de remover arquivo */
|
|
2215
|
+
showRemoveButton?: boolean;
|
|
2212
2216
|
}
|
|
2213
2217
|
|
|
2214
2218
|
declare interface IItems {
|