@abgov/jsonforms-components 1.25.4 → 1.25.5
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/index.esm.js +4 -5
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -4060,7 +4060,6 @@ const EnumSelect = props => {
|
|
|
4060
4060
|
value: data,
|
|
4061
4061
|
disabled: !enabled,
|
|
4062
4062
|
relative: true,
|
|
4063
|
-
width: "100%",
|
|
4064
4063
|
filterable: autocompletion,
|
|
4065
4064
|
testId: `${id || label}-jsonform`
|
|
4066
4065
|
}, appliedUiSchemaOptions, {
|
|
@@ -5216,7 +5215,7 @@ const FileUploaderReview = props => {
|
|
|
5216
5215
|
}));
|
|
5217
5216
|
};
|
|
5218
5217
|
const FileUploader = _a => {
|
|
5219
|
-
var _b, _c, _d, _e, _f, _g, _h, _j, _k
|
|
5218
|
+
var _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
5220
5219
|
var {
|
|
5221
5220
|
data,
|
|
5222
5221
|
path,
|
|
@@ -5282,9 +5281,9 @@ const FileUploader = _a => {
|
|
|
5282
5281
|
const timeoutId = setTimeout(delayedFunction, 1);
|
|
5283
5282
|
return () => clearTimeout(timeoutId);
|
|
5284
5283
|
}, [handleChange, fileList, propertyId]);
|
|
5285
|
-
const readOnly = (
|
|
5286
|
-
const maxFileSize = (
|
|
5287
|
-
const accept = (
|
|
5284
|
+
const readOnly = ((_d = (_c = uischema === null || uischema === void 0 ? void 0 : uischema.options) === null || _c === void 0 ? void 0 : _c.componentProps) === null || _d === void 0 ? void 0 : _d.readOnly) === true || (props === null || props === void 0 ? void 0 : props.isStepperReview) === true;
|
|
5285
|
+
const maxFileSize = (_g = (_f = (_e = uischema === null || uischema === void 0 ? void 0 : uischema.options) === null || _e === void 0 ? void 0 : _e.componentProps) === null || _f === void 0 ? void 0 : _f.maxFileSize) !== null && _g !== void 0 ? _g : '';
|
|
5286
|
+
const accept = (_k = (_j = (_h = uischema === null || uischema === void 0 ? void 0 : uischema.options) === null || _h === void 0 ? void 0 : _h.componentProps) === null || _j === void 0 ? void 0 : _j.accept) !== null && _k !== void 0 ? _k : '';
|
|
5288
5287
|
return jsxs(FileUploaderStyle, {
|
|
5289
5288
|
id: "file-upload",
|
|
5290
5289
|
className: "FileUploader",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abgov/jsonforms-components",
|
|
3
|
-
"version": "1.25.
|
|
3
|
+
"version": "1.25.5",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Government of Alberta - React renderers for JSON Forms based on the design system.",
|
|
6
6
|
"repository": "https://github.com/GovAlta/adsp-monorepo",
|