@fewbox/den-web 0.2.0-preview.24 → 0.2.0-preview.26
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/package.json
CHANGED
|
@@ -20,7 +20,7 @@ export interface IVFileProps extends IBaseInputProps {
|
|
|
20
20
|
textLength?: number;
|
|
21
21
|
autoUpload?: (files: File[], complete: () => void) => void;
|
|
22
22
|
renderLoader?: () => React.JSX.Element;
|
|
23
|
-
renderPreview?: (inputFiles: InputFile[], isLoading: boolean) => React.JSX.Element
|
|
23
|
+
renderPreview?: (inputFiles: InputFile[], isLoading: boolean) => React.JSX.Element | Promise<React.JSX.Element>;
|
|
24
24
|
}
|
|
25
25
|
export interface IVFileStates {
|
|
26
26
|
isLoading: boolean;
|
|
@@ -129,7 +129,7 @@ $margins: (
|
|
|
129
129
|
"extra-large": $margin-extra-large,
|
|
130
130
|
);
|
|
131
131
|
//left right top bottom offset
|
|
132
|
-
$
|
|
132
|
+
$position-offset: 1em;
|
|
133
133
|
//border
|
|
134
134
|
$border-radius-normal: 0.4rem;
|
|
135
135
|
$border-radius-extra-small: $border-radius-normal * 0.25;
|