impaktapps-ui-builder 1.0.81-fileInput.1 → 1.0.81-fileInput.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/impaktapps-ui-builder.es.js +4 -1
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +1 -1
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildFileInput.ts +3 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +5 -5
|
@@ -7914,7 +7914,7 @@ const buildPropertiesSection = function(type) {
|
|
|
7914
7914
|
break;
|
|
7915
7915
|
case "FileInput":
|
|
7916
7916
|
uiSchema.elements = [
|
|
7917
|
-
|
|
7917
|
+
getSelectField("variant", "Variant"),
|
|
7918
7918
|
emptyBox$1("FileInput1", { xs: 6, sm: 6, md: 8, lg: 9 })
|
|
7919
7919
|
];
|
|
7920
7920
|
break;
|
|
@@ -11941,6 +11941,9 @@ const buildFileInput = (config2, componentScope2) => {
|
|
|
11941
11941
|
if (config2.style) {
|
|
11942
11942
|
box.config.style = JSON.parse(config2.style);
|
|
11943
11943
|
}
|
|
11944
|
+
if (config2.variant) {
|
|
11945
|
+
box.config.main.variant = config2.variant;
|
|
11946
|
+
}
|
|
11944
11947
|
return box;
|
|
11945
11948
|
};
|
|
11946
11949
|
const Stepper = {
|