@hmcts/ccd-case-ui-toolkit 7.0.18-rc2 → 7.0.18-rc4

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.
@@ -10627,7 +10627,7 @@ class AddressValidationConstants {
10627
10627
  }
10628
10628
  // allow alpha-numeric characters and spaces possibly between a connecting - character
10629
10629
  // this applies validation while allowing partial postcodes
10630
- AddressValidationConstants.REGEX_POSTCODE = /^([A-Za-z0-9]-*| )+$/;
10630
+ AddressValidationConstants.REGEX_POSTCODE = /^([A-Za-z0-9])+( )?([A-Za-z0-9])*$/;
10631
10631
  AddressValidationConstants.ɵfac = function AddressValidationConstants_Factory(t) { return new (t || AddressValidationConstants)(); };
10632
10632
  AddressValidationConstants.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: AddressValidationConstants, factory: AddressValidationConstants.ɵfac });
10633
10633
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AddressValidationConstants, [{