@abgov/jsonforms-components 1.22.2 → 1.22.3

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 CHANGED
@@ -6010,10 +6010,10 @@ const HelpContentComponent = _a => {
6010
6010
  height,
6011
6011
  width,
6012
6012
  alt,
6013
- img
6013
+ url
6014
6014
  }) => {
6015
6015
  return jsx("img", {
6016
- src: img,
6016
+ src: url,
6017
6017
  width: width,
6018
6018
  height: height,
6019
6019
  alt: alt
@@ -6029,7 +6029,7 @@ const HelpContentComponent = _a => {
6029
6029
  className: labelClass,
6030
6030
  "data-testid": label,
6031
6031
  children: [label, jsx("br", {})]
6032
- }), ((_f = uischema.options) === null || _f === void 0 ? void 0 : _f.img) && ((_g = uischema.options) === null || _g === void 0 ? void 0 : _g.img) !== '' && renderImage(uischema.options), ((_h = uischema === null || uischema === void 0 ? void 0 : uischema.options) === null || _h === void 0 ? void 0 : _h.link) && link !== '' && RenderLink(uischema === null || uischema === void 0 ? void 0 : uischema.options), (!((_j = uischema.options) === null || _j === void 0 ? void 0 : _j.variant) || ((_k = uischema.options) === null || _k === void 0 ? void 0 : _k.variant) !== 'details') && !link && renderHelp(), ((_l = uischema.options) === null || _l === void 0 ? void 0 : _l.variant) && ((_m = uischema.options) === null || _m === void 0 ? void 0 : _m.variant) === 'details' && jsxs(GoADetails, {
6032
+ }), ((_f = uischema.options) === null || _f === void 0 ? void 0 : _f.variant) && ((_g = uischema.options) === null || _g === void 0 ? void 0 : _g.variant) === 'img' && renderImage(uischema.options), ((_h = uischema === null || uischema === void 0 ? void 0 : uischema.options) === null || _h === void 0 ? void 0 : _h.link) && link !== '' && RenderLink(uischema === null || uischema === void 0 ? void 0 : uischema.options), (!((_j = uischema.options) === null || _j === void 0 ? void 0 : _j.variant) || ((_k = uischema.options) === null || _k === void 0 ? void 0 : _k.variant) !== 'details') && !link && renderHelp(), ((_l = uischema.options) === null || _l === void 0 ? void 0 : _l.variant) && ((_m = uischema.options) === null || _m === void 0 ? void 0 : _m.variant) === 'details' && jsxs(GoADetails, {
6033
6033
  heading: label ? label : '',
6034
6034
  mt: "3xs",
6035
6035
  mb: "none",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/jsonforms-components",
3
- "version": "1.22.2",
3
+ "version": "1.22.3",
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",
@@ -5,7 +5,7 @@ interface OptionProps {
5
5
  ariaLabel?: string;
6
6
  help?: string | string[];
7
7
  variant?: string;
8
- img?: string;
8
+ url?: string;
9
9
  alt?: string;
10
10
  height?: string;
11
11
  width?: string;