@abgov/jsonforms-components 1.53.7 → 1.53.8
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 +18 -9
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -4062,7 +4062,7 @@ let _$8 = t => t,
|
|
|
4062
4062
|
_t$8,
|
|
4063
4063
|
_t2$5,
|
|
4064
4064
|
_t3$4,
|
|
4065
|
-
_t4$
|
|
4065
|
+
_t4$4;
|
|
4066
4066
|
const GoADropdownTextbox = styled.div(_t$8 || (_t$8 = _$8`
|
|
4067
4067
|
border-radius: var(--goa-space-2xs);
|
|
4068
4068
|
box-shadow: ${0};
|
|
@@ -4102,7 +4102,7 @@ const GoADropdownListContainer = styled.div(_t3$4 || (_t3$4 = _$8`
|
|
|
4102
4102
|
scrollbar-color: #a8a8a8 var(--goa-color-greyscale-100) !important;
|
|
4103
4103
|
}
|
|
4104
4104
|
`), p => p.optionListMaxHeight || '272px');
|
|
4105
|
-
const GoADropdownListOption = styled.div(_t4$
|
|
4105
|
+
const GoADropdownListOption = styled.div(_t4$4 || (_t4$4 = _$8`
|
|
4106
4106
|
padding: var(--goa-space-2xs) var(--goa-space-s);
|
|
4107
4107
|
text-overflow: ellipsis;
|
|
4108
4108
|
color: ${0} !important;
|
|
@@ -5363,7 +5363,7 @@ let _$5 = t => t,
|
|
|
5363
5363
|
_t$5,
|
|
5364
5364
|
_t2$4,
|
|
5365
5365
|
_t3$3,
|
|
5366
|
-
_t4$
|
|
5366
|
+
_t4$3,
|
|
5367
5367
|
_t5$2,
|
|
5368
5368
|
_t6$2,
|
|
5369
5369
|
_t7$1,
|
|
@@ -5399,7 +5399,7 @@ const ReviewItemHeader = styled.div(_t3$3 || (_t3$3 = _$5`
|
|
|
5399
5399
|
justify-content: space-between;
|
|
5400
5400
|
margin-bottom: var(--goa-space-xl);
|
|
5401
5401
|
`));
|
|
5402
|
-
const ReviewItemTitle = styled.div(_t4$
|
|
5402
|
+
const ReviewItemTitle = styled.div(_t4$3 || (_t4$3 = _$5`
|
|
5403
5403
|
font-size: var(--goa-space-l);
|
|
5404
5404
|
line-height: var(--goa-space-xl);
|
|
5405
5405
|
font-weight: 300;
|
|
@@ -6385,7 +6385,8 @@ const DeleteFileModal = ({
|
|
|
6385
6385
|
let _$3 = t => t,
|
|
6386
6386
|
_t$3,
|
|
6387
6387
|
_t2$3,
|
|
6388
|
-
_t3$2
|
|
6388
|
+
_t3$2,
|
|
6389
|
+
_t4$2;
|
|
6389
6390
|
const DELAY_UPLOAD_TIMEOUT_MS = 5;
|
|
6390
6391
|
const DELAY_DELETE_TIMEOUT_MS = 5;
|
|
6391
6392
|
const FileUploaderReview = props => {
|
|
@@ -6394,7 +6395,7 @@ const FileUploaderReview = props => {
|
|
|
6394
6395
|
}));
|
|
6395
6396
|
};
|
|
6396
6397
|
const FileUploader = _a => {
|
|
6397
|
-
var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
6398
|
+
var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
6398
6399
|
var {
|
|
6399
6400
|
data,
|
|
6400
6401
|
path,
|
|
@@ -6467,6 +6468,7 @@ const FileUploader = _a => {
|
|
|
6467
6468
|
if (!enumerators) {
|
|
6468
6469
|
return jsx(Fragment, {});
|
|
6469
6470
|
}
|
|
6471
|
+
const helpText = (_p = uischema === null || uischema === void 0 ? void 0 : uischema.options) === null || _p === void 0 ? void 0 : _p.help;
|
|
6470
6472
|
const sentenceCaseLabel = convertToSentenceCase(label);
|
|
6471
6473
|
return jsxs(FileUploaderStyle, {
|
|
6472
6474
|
id: "file-upload",
|
|
@@ -6485,6 +6487,8 @@ const FileUploader = _a => {
|
|
|
6485
6487
|
maxFileSize: maxFileSize,
|
|
6486
6488
|
accept: accept
|
|
6487
6489
|
})
|
|
6490
|
+
}), helpText && jsx(HelpText, {
|
|
6491
|
+
children: helpText
|
|
6488
6492
|
}), jsx("div", {
|
|
6489
6493
|
children: Array.isArray(data) && data[0] === 'Loading' ? jsx(GoAModal, {
|
|
6490
6494
|
open: Array.isArray(data) && data[0] === 'Loading',
|
|
@@ -6542,7 +6546,12 @@ const FileUploader = _a => {
|
|
|
6542
6546
|
})]
|
|
6543
6547
|
});
|
|
6544
6548
|
};
|
|
6545
|
-
const
|
|
6549
|
+
const HelpText = styled.div(_t$3 || (_t$3 = _$3`
|
|
6550
|
+
margin-top: var(--goa-space-xs);
|
|
6551
|
+
font-size: var(--goa-font-size-3);
|
|
6552
|
+
color: var(--goa-color-text-secondary);
|
|
6553
|
+
`));
|
|
6554
|
+
const AttachmentBorderDisabled = styled.div(_t2$3 || (_t2$3 = _$3`
|
|
6546
6555
|
display: flex;
|
|
6547
6556
|
flex-direction: row;
|
|
6548
6557
|
border: var(--goa-border-width-s) solid #dcdcdc;
|
|
@@ -6551,7 +6560,7 @@ const AttachmentBorderDisabled = styled.div(_t$3 || (_t$3 = _$3`
|
|
|
6551
6560
|
width: fit-content;
|
|
6552
6561
|
background-color: #f1f1f1;
|
|
6553
6562
|
`));
|
|
6554
|
-
const AttachmentBorder = styled.div(
|
|
6563
|
+
const AttachmentBorder = styled.div(_t3$2 || (_t3$2 = _$3`
|
|
6555
6564
|
display: flex;
|
|
6556
6565
|
flex-direction: row;
|
|
6557
6566
|
border: var(--goa-border-width-s) solid #dcdcdc;
|
|
@@ -6560,7 +6569,7 @@ const AttachmentBorder = styled.div(_t2$3 || (_t2$3 = _$3`
|
|
|
6560
6569
|
width: fit-content;
|
|
6561
6570
|
margin-top: var(--goa-space-2xs);
|
|
6562
6571
|
`));
|
|
6563
|
-
const FileUploaderStyle = styled.div(
|
|
6572
|
+
const FileUploaderStyle = styled.div(_t4$2 || (_t4$2 = _$3`
|
|
6564
6573
|
margin-bottom: var(--goa-space-l);
|
|
6565
6574
|
.label {
|
|
6566
6575
|
display: block;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abgov/jsonforms-components",
|
|
3
|
-
"version": "1.53.
|
|
3
|
+
"version": "1.53.8",
|
|
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",
|