@abgov/jsonforms-components 1.50.5 → 1.50.6

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.
Files changed (2) hide show
  1. package/index.esm.js +3 -2
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -6416,15 +6416,16 @@ const FileUploader = _a => {
6416
6416
  if (!enumerators) {
6417
6417
  return jsx(Fragment, {});
6418
6418
  }
6419
+ const sentenceCaseLabel = convertToSentenceCase(label);
6419
6420
  return jsxs(FileUploaderStyle, {
6420
6421
  id: "file-upload",
6421
6422
  className: "FileUploader",
6422
6423
  children: [required ? jsx(GoAFormItem, {
6423
- label: label,
6424
+ label: sentenceCaseLabel,
6424
6425
  requirement: "required"
6425
6426
  }) : jsx("div", {
6426
6427
  className: "label",
6427
- children: props.label
6428
+ children: sentenceCaseLabel
6428
6429
  }), !readOnly && jsx("div", {
6429
6430
  className: "file-upload",
6430
6431
  children: jsx(GoAFileUploadInput, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/jsonforms-components",
3
- "version": "1.50.5",
3
+ "version": "1.50.6",
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",