@abgov/jsonforms-components 1.43.11 → 1.44.1

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 +14 -9
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -5394,9 +5394,14 @@ styled.h3(_t9$1 || (_t9$1 = _$5`
5394
5394
  text-transform: capitalize;
5395
5395
  `));
5396
5396
  const RightAlignmentDiv = styled.div(_t10$1 || (_t10$1 = _$5`
5397
- display: flex;
5398
- justify-content: flex-end;
5399
- margin-bottom: var(--goa-space-l);
5397
+ @media screen and (max-width: 767px) {
5398
+ margin-bottom: var(--goa-space-l);
5399
+ }
5400
+ @media screen and (min-width: 768px) {
5401
+ display: flex;
5402
+ justify-content: flex-end;
5403
+ margin-bottom: var(--goa-space-l);
5404
+ }
5400
5405
  `));
5401
5406
  const FormStepperSummaryH3 = styled.h3(_t11$1 || (_t11$1 = _$5`
5402
5407
  flex: 1;
@@ -7557,12 +7562,10 @@ const SearchBox = styled.div(_t$1 || (_t$1 = _$1`
7557
7562
  background: var(--color-white);
7558
7563
  box-shadow: 0 8px 8px rgb(0 0 0 / 20%), 0 4px 4px rgb(0 0 0 / 10%);
7559
7564
  z-index: 99;
7560
- padding-left: 0px;
7561
-
7562
7565
  overflow: hidden auto;
7563
7566
  }
7564
7567
  .suggestions li {
7565
- padding: var(--goa-space-2xs);
7568
+ padding: var(--goa-space-xs) var(--goa-space-2xs) var(--goa-space-xs) 2px;
7566
7569
  color: var(--color-gray-900);
7567
7570
  }
7568
7571
  .suggestion-active,
@@ -8049,7 +8052,7 @@ const AddressLookUpControl = props => {
8049
8052
  const formUrl = `${formHost}/${ADDRESS_PATH}`;
8050
8053
  const autocompletion = ((_c = uischema === null || uischema === void 0 ? void 0 : uischema.options) === null || _c === void 0 ? void 0 : _c.autocomplete) !== false;
8051
8054
  const [open, setOpen] = useState(false);
8052
- const label = typeof (uischema === null || uischema === void 0 ? void 0 : uischema.label) === 'string' && uischema.label ? uischema.label : schema === null || schema === void 0 ? void 0 : schema.title;
8055
+ const label = typeof (uischema === null || uischema === void 0 ? void 0 : uischema.label) === 'string' && uischema.label ? uischema.label : '';
8053
8056
  const defaultAddress = {
8054
8057
  addressLine1: '',
8055
8058
  addressLine2: '',
@@ -8169,8 +8172,10 @@ const AddressLookUpControl = props => {
8169
8172
  };
8170
8173
  const readOnly = (_f = (_e = (_d = uischema === null || uischema === void 0 ? void 0 : uischema.options) === null || _d === void 0 ? void 0 : _d.componentProps) === null || _e === void 0 ? void 0 : _e.readOnly) !== null && _f !== void 0 ? _f : false;
8171
8174
  return jsxs("div", {
8172
- children: [renderHelp(), jsx(GoAFormItem, {
8173
- label: label,
8175
+ children: [renderHelp(), jsx("h3", {
8176
+ children: label
8177
+ }), jsx(GoAFormItem, {
8178
+ label: 'Street address or P.O. box',
8174
8179
  error: (_g = errors === null || errors === void 0 ? void 0 : errors['addressLine1']) !== null && _g !== void 0 ? _g : '',
8175
8180
  "data-testId": "form-address-line1",
8176
8181
  children: jsxs(SearchBox, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/jsonforms-components",
3
- "version": "1.43.11",
3
+ "version": "1.44.1",
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",