@biggive/components 202411061640.0.0 → 202411071423.0.0

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/hydrate/index.js CHANGED
@@ -3892,6 +3892,9 @@ class BiggiveFormFieldSelect {
3892
3892
  (this.selectedOptionColour === 'inherit' ? ' inherit-colour' : '') }, hAsync("div", { key: '63beb631b161db5ffe16158430af3d1eede56130', class: "sleeve" }, hAsync("select", { key: '153a730cbf15eb1571c44e855dccc040b3a5f2a3', class: greyIfRequired, onChange: this.doOptionSelectCompletedHandler }, options.map(option => (hAsync("option", { selected: this.selectedValue === option.value, value: option.value }, option.label)))), hAsync("div", { key: '238e74f29d312129f831f5a4cf1598ce3024f145', class: "arrow" }))))));
3893
3893
  }
3894
3894
  formatOptions(options) {
3895
+ if (options === undefined) {
3896
+ return [];
3897
+ }
3895
3898
  if (typeof options === 'string') {
3896
3899
  options = JSON.parse(options);
3897
3900
  }
package/hydrate/index.mjs CHANGED
@@ -3888,6 +3888,9 @@ class BiggiveFormFieldSelect {
3888
3888
  (this.selectedOptionColour === 'inherit' ? ' inherit-colour' : '') }, hAsync("div", { key: '63beb631b161db5ffe16158430af3d1eede56130', class: "sleeve" }, hAsync("select", { key: '153a730cbf15eb1571c44e855dccc040b3a5f2a3', class: greyIfRequired, onChange: this.doOptionSelectCompletedHandler }, options.map(option => (hAsync("option", { selected: this.selectedValue === option.value, value: option.value }, option.label)))), hAsync("div", { key: '238e74f29d312129f831f5a4cf1598ce3024f145', class: "arrow" }))))));
3889
3889
  }
3890
3890
  formatOptions(options) {
3891
+ if (options === undefined) {
3892
+ return [];
3893
+ }
3891
3894
  if (typeof options === 'string') {
3892
3895
  options = JSON.parse(options);
3893
3896
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@biggive/components",
3
3
  "_comment": "Version number below is automatically replaced during CircleCI build.",
4
- "version": "202411061640.0.0",
4
+ "version": "202411071423.0.0",
5
5
  "description": "Big Give Components",
6
6
  "main": "dist/index.cjs.js",
7
7
  "module": "dist/index.js",