@thecb/components 4.3.13 → 4.3.15

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/.tool-versions CHANGED
@@ -1 +1 @@
1
- nodejs 15.5.0
1
+ nodejs 15.8.0
package/dist/index.cjs.js CHANGED
@@ -35065,7 +35065,7 @@ var AddressForm = function AddressForm(_ref) {
35065
35065
  }), /*#__PURE__*/React__default.createElement(FormStateDropdown, {
35066
35066
  labelTextWhenNoError: isUS ? "State" : "State or Province",
35067
35067
  errorMessages: stateProvinceErrorMessages,
35068
- countryCode: fields.country.rawValue,
35068
+ countryCode: fields.country.rawValue || "US",
35069
35069
  field: fields.stateProvince,
35070
35070
  fieldActions: actions.fields.stateProvince,
35071
35071
  showErrors: showErrors,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "4.3.13",
3
+ "version": "4.3.15",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -91,7 +91,7 @@ const AddressForm = ({
91
91
  <StateProvinceDropdown
92
92
  labelTextWhenNoError={isUS ? "State" : "State or Province"}
93
93
  errorMessages={stateProvinceErrorMessages}
94
- countryCode={fields.country.rawValue}
94
+ countryCode={fields.country.rawValue || "US"}
95
95
  field={fields.stateProvince}
96
96
  fieldActions={actions.fields.stateProvince}
97
97
  showErrors={showErrors}