@biggive/components 1.0.192 → 1.0.193

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 (92) hide show
  1. package/dist/biggive/biggive.esm.js +1 -1
  2. package/dist/biggive/p-05b285de.entry.js +1 -0
  3. package/dist/biggive/p-1237d29c.entry.js +1 -0
  4. package/dist/biggive/{p-81055ccd.js → p-2b1627af.js} +1 -1
  5. package/dist/biggive/p-623e065e.entry.js +1 -0
  6. package/dist/biggive/p-7d24b098.entry.js +1 -0
  7. package/dist/biggive/p-8a87012a.entry.js +1 -0
  8. package/dist/biggive/p-c3ddd884.entry.js +1 -0
  9. package/dist/biggive/p-eacc1d69.entry.js +1 -0
  10. package/dist/biggive/p-ffd638d8.entry.js +1 -0
  11. package/dist/cjs/biggive-article-card.cjs.entry.js +8 -8
  12. package/dist/cjs/biggive-back-to-top_27.cjs.entry.js +75 -69
  13. package/dist/cjs/biggive-basic-card.cjs.entry.js +5 -5
  14. package/dist/cjs/biggive-beneficiary-icon.cjs.entry.js +2 -2
  15. package/dist/cjs/biggive-category-icon.cjs.entry.js +3 -3
  16. package/dist/cjs/biggive-icon-group.cjs.entry.js +1 -1
  17. package/dist/cjs/biggive-nav-item.cjs.entry.js +3 -3
  18. package/dist/cjs/biggive-search.cjs.entry.js +1 -1
  19. package/dist/cjs/{fontawesome-icons-560e6ab7.js → fontawesome-icons-72c728f1.js} +4 -4
  20. package/dist/collection/components/biggive-article-card/biggive-article-card.js +16 -24
  21. package/dist/collection/components/biggive-basic-card/biggive-basic-card.js +10 -15
  22. package/dist/collection/components/biggive-beneficiary-icon/biggive-beneficiary-icon.js +2 -3
  23. package/dist/collection/components/biggive-branded-image/biggive-branded-image.js +8 -12
  24. package/dist/collection/components/biggive-button/biggive-button.js +1 -2
  25. package/dist/collection/components/biggive-call-to-action/biggive-call-to-action.js +16 -24
  26. package/dist/collection/components/biggive-campaign-card/biggive-campaign-card.css +1 -1
  27. package/dist/collection/components/biggive-campaign-card/biggive-campaign-card.js +20 -30
  28. package/dist/collection/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.js +17 -15
  29. package/dist/collection/components/biggive-campaign-highlights/biggive-campaign-highlights.css +1 -1
  30. package/dist/collection/components/biggive-campaign-highlights/biggive-campaign-highlights.js +24 -36
  31. package/dist/collection/components/biggive-category-icon/biggive-category-icon.js +4 -6
  32. package/dist/collection/components/biggive-form-field-select/biggive-form-field-select.js +10 -13
  33. package/dist/collection/components/biggive-form-field-select-option/biggive-form-field-select-option.js +6 -8
  34. package/dist/collection/components/biggive-hero-image/biggive-hero-image.js +17 -25
  35. package/dist/collection/components/biggive-icon-group/biggive-icon-group.js +2 -3
  36. package/dist/collection/components/biggive-image-feature/biggive-image-feature.js +10 -15
  37. package/dist/collection/components/biggive-main-menu/biggive-main-menu.js +2 -1
  38. package/dist/collection/components/biggive-main-menu/biggive-main-menu.stories.js +1 -1
  39. package/dist/collection/components/biggive-misc-icon/biggive-misc-icon.js +3 -5
  40. package/dist/collection/components/biggive-nav-item/biggive-nav-item.js +6 -9
  41. package/dist/collection/components/biggive-page-section/biggive-page-section.js +2 -3
  42. package/dist/collection/components/biggive-search/biggive-search.js +2 -3
  43. package/dist/collection/components/biggive-totalizer/biggive-totalizer.js +5 -3
  44. package/dist/collection/components/biggive-totalizer-ticker-item/biggive-totalizer-ticker-item.js +4 -6
  45. package/dist/collection/components/biggive-video-feature/biggive-video-feature.js +10 -15
  46. package/dist/collection/util/fontawesome-icons.js +4 -4
  47. package/dist/components/biggive-article-card.js +8 -8
  48. package/dist/components/biggive-basic-card.js +5 -5
  49. package/dist/components/biggive-beneficiary-icon.js +1 -1
  50. package/dist/components/biggive-branded-image.js +4 -4
  51. package/dist/components/biggive-call-to-action.js +8 -8
  52. package/dist/components/biggive-campaign-card-filter-grid.js +3 -1
  53. package/dist/components/biggive-campaign-card.js +11 -11
  54. package/dist/components/biggive-campaign-highlights.js +13 -13
  55. package/dist/components/biggive-category-icon.js +2 -2
  56. package/dist/components/biggive-form-field-select-option2.js +4 -4
  57. package/dist/components/biggive-form-field-select2.js +3 -3
  58. package/dist/components/biggive-hero-image.js +8 -8
  59. package/dist/components/biggive-icon-group.js +1 -1
  60. package/dist/components/biggive-image-feature.js +5 -5
  61. package/dist/components/biggive-main-menu.js +2 -1
  62. package/dist/components/biggive-misc-icon2.js +1 -1
  63. package/dist/components/biggive-nav-item.js +3 -3
  64. package/dist/components/biggive-page-section.js +1 -1
  65. package/dist/components/biggive-search.js +1 -1
  66. package/dist/components/biggive-totalizer-ticker-item.js +2 -2
  67. package/dist/components/biggive-totalizer.js +4 -1
  68. package/dist/components/biggive-video-feature.js +5 -5
  69. package/dist/components/fontawesome-icons.js +4 -4
  70. package/dist/esm/biggive-article-card.entry.js +8 -8
  71. package/dist/esm/biggive-back-to-top_27.entry.js +75 -69
  72. package/dist/esm/biggive-basic-card.entry.js +5 -5
  73. package/dist/esm/biggive-beneficiary-icon.entry.js +2 -2
  74. package/dist/esm/biggive-category-icon.entry.js +3 -3
  75. package/dist/esm/biggive-icon-group.entry.js +1 -1
  76. package/dist/esm/biggive-nav-item.entry.js +3 -3
  77. package/dist/esm/biggive-search.entry.js +1 -1
  78. package/dist/esm/{fontawesome-icons-0af46a96.js → fontawesome-icons-ec5d0760.js} +4 -4
  79. package/dist/types/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.d.ts +12 -12
  80. package/dist/types/components/biggive-form-field-select/biggive-form-field-select.d.ts +2 -2
  81. package/dist/types/components/biggive-form-field-select-option/biggive-form-field-select-option.d.ts +2 -2
  82. package/dist/types/components.d.ts +22 -22
  83. package/hydrate/index.js +99 -93
  84. package/package.json +1 -1
  85. package/dist/biggive/p-0bad0e6e.entry.js +0 -1
  86. package/dist/biggive/p-4edb9703.entry.js +0 -1
  87. package/dist/biggive/p-6a43e041.entry.js +0 -1
  88. package/dist/biggive/p-6f5fc921.entry.js +0 -1
  89. package/dist/biggive/p-72317053.entry.js +0 -1
  90. package/dist/biggive/p-b892b1d6.entry.js +0 -1
  91. package/dist/biggive/p-ee001f1e.entry.js +0 -1
  92. package/dist/biggive/p-ee8d5a11.entry.js +0 -1
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h } from './index-072f98c6.js';
2
- import { F as FontAwesomeIconsService } from './fontawesome-icons-0af46a96.js';
2
+ import { F as FontAwesomeIconsService } from './fontawesome-icons-ec5d0760.js';
3
3
  import './index-93ca83cc.js';
4
4
 
5
5
  const biggiveCategoryIconCss = "body{background-color:#FFFFFF}body.background-primary{background-color:#2C089B}body.background-secondary{background-color:#2C089B}body.background-tertiary{background-color:#2C089B}body.background-brand-1{background-color:#B30510}body.background-brand-2{background-color:#B30510}body.background-brand-3{background-color:#B30510}body.background-brand-4{background-color:#B30510}body.background-brand-5{background-color:#B30510}body.background-brand-6{background-color:#B30510}h1,h3,h4,h5,h6{margin-bottom:0}h1,.heading-1{font-size:47px;line-height:60px;font-weight:bold}h2,.heading-2{font-size:38px;line-height:45px;font-weight:bold}h3,.heading-3{font-size:25px;line-height:32px;font-weight:bold}h4,.heading-4{font-size:20px;line-height:24px;font-weight:bold}h5,.heading-5{font-size:17px;line-height:24px;font-weight:bold}a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.colour-primary{color:#2C089B}.colour-secondary{color:#2AF135}.colour-tertiary{color:#FF7272}.colour-brand-1{color:#B30510}.colour-brand-2{color:#6E0887}.colour-brand-3{color:#50B400}.colour-brand-4{color:#FFE500}.colour-brand-5{color:#F07D00}.colour-brand-6{color:#CBC8C8}.colour-white{color:#FFFFFF}.colour-black{color:#000000}.text-colour-hover-primary:hover,.text-colour-primary{color:#2C089B}.text-colour-hover-secondary:hover,.text-colour-secondary{color:#2AF135}.text-colour-hover-tertiary:hover,.text-colour-tertiary{color:#FF7272}.text-colour-hover-brand-1:hover,.text-colour-brand-1{color:#B30510}.text-colour-hover-brand-2:hover,.text-colour-brand-2{color:#6E0887}.text-colour-hover-brand-3:hover,.text-colour-brand-3{color:#50B400}.text-colour-hover-brand-4:hover,.text-colour-brand-4{color:#FFE500}.text-colour-hover-brand-5:hover,.text-colour-brand-5{color:#F07D00}.text-colour-hover-brand-6:hover,.text-colour-brand-6{color:#CBC8C8}.text-colour-hover-white:hover,.text-colour-white{color:#FFFFFF}.text-colour-hover-black:hover,.text-colour-black{color:#000000}.fill-primary{fill:#2C089B}.fill-secondary{fill:#2AF135}.fill-tertiary{fill:#FF7272}.fill-brand-1{fill:#B30510}.fill-brand-2{fill:#6E0887}.fill-brand-3{fill:#50B400}.fill-brand-4{fill:#FFE500}.fill-brand-5{fill:#F07D00}.fill-brand-6{fill:#CBC8C8}.fill-white{fill:#FFFFFF}.fill-black{fill:#000000}.fill-red{fill:red}.background-colour-hover-primary:hover,.background-colour-primary{background-color:#2C089B}.background-colour-hover-secondary:hover,.background-colour-secondary{background-color:#2AF135}.background-colour-hover-tertiary:hover,.background-colour-tertiary{background-color:#FF7272}.background-colour-hover-brand-1:hover,.background-colour-brand-1{background-color:#B30510}.background-colour-hover-brand-2:hover,.background-colour-brand-2{background-color:#6E0887}.background-colour-hover-brand-3:hover,.background-colour-brand-3{background-color:#50B400}.background-colour-hover-brand-4:hover,.background-colour-brand-4{background-color:#FFE500}.background-colour-hover-brand-5:hover,.background-colour-brand-5{background-color:#F07D00}.background-colour-hover-brand-6:hover,.background-colour-brand-6{background-color:#CBC8C8}.background-colour-hover-white:hover,.background-colour-white{background-color:#FFFFFF}.background-colour-hover-black:hover,.background-colour-black{background-color:#000000}.background-colour-transparent{background-color:transparent}.input-wrap{display:flex;justify-content:space-between}.input-text{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;color:#000000;padding:5px 10px;box-sizing:border-box;width:100%}.input-text:focus{outline:0}.input-text:placeholder{color:#4A4A4A}.button{font-size:17px;line-height:24px;padding:10px 30px;border-radius:5px;border:1px solid #000000;background-color:#000000;color:#FFFFFF;display:inline-block;text-decoration:none;text-align:center;transition:all ease-in-out 0.5s;cursor:pointer}.button:hover{background-color:#FFFFFF;color:#000000}.button.size-small{font-size:13px;line-height:17px;padding:5px 15px}.button.button.rounded-true{border-radius:27.5px}.button.button.rounded-true.size-small{border-radius:20px}.button-primary{color:#FFFFFF;background-color:#2C089B;border-color:#2C089B}.button-primary:hover{color:#2C089B;background-color:#FFFFFF}.button-secondary{color:#000000;background-color:#2AF135;border-color:#2AF135}.button-secondary:hover{background-color:#FFFFFF;border-color:#000000}.button-tertiary{color:#FFFFFF;background-color:#FF7272;border-color:#FF7272}.button-tertiary:hover{background-color:#FFFFFF}.button-brand-1{color:#FFFFFF;background-color:#B30510;border-color:#B30510}.button-brand-1:hover{background-color:#FFFFFF}.button-brand-2{color:#FFFFFF;background-color:#6E0887;border-color:#6E0887}.button-brand-2:hover{background-color:#FFFFFF}.button-brand-3{color:#FFFFFF;background-color:#50B400;border-color:#50B400}.button-brand-3:hover{background-color:#FFFFFF}.button-brand-4{color:#FFFFFF;background-color:#FFE500;border-color:#FFE500}.button-brand-4:hover{background-color:#000000}.button-brand-5{color:#FFFFFF;background-color:#F07D00;border-color:#F07D00}.button-brand-5:hover{background-color:#FFFFFF}.button-brand-6{color:#FFFFFF;background-color:#CBC8C8;border-color:#CBC8C8}.button-brand-6:hover{background-color:#000000}.button-white{color:#2C089B;background-color:#FFFFFF;border-color:#FFFFFF}.button-white:hover{color:#FFFFFF;background-color:#2C089B}.button-black{color:#FFFFFF;background-color:#000000;border-color:#000000}.button-black:hover{color:#000000;background-color:#FFFFFF}.button-clear-primary{color:#2C089B;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-primary:hover{text-decoration:none;background-color:transparent}.button-clear-secondary{color:#2AF135;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-secondary:hover{text-decoration:none;background-color:transparent}.button-clear-tertiary{color:#FF7272;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-tertiary:hover{text-decoration:none;background-color:transparent}.button-clear-brand-1{color:#B30510;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-1:hover{text-decoration:none;background-color:transparent}.button-clear-brand-2{color:#6E0887;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-2:hover{text-decoration:none;background-color:transparent}.button-clear-brand-3{color:#50B400;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-3:hover{text-decoration:none;background-color:transparent}.button-clear-brand-4{color:#FFE500;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-4:hover{text-decoration:none;background-color:transparent}.button-clear-brand-5{color:#F07D00;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-5:hover{text-decoration:none;background-color:transparent}.button-clear-brand-6{color:#CBC8C8;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-6:hover{text-decoration:none;background-color:transparent}.button-clear-white{color:#FFFFFF;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-white:hover{color:#FFFFFF;text-decoration:none;background-color:transparent}.button-rounded{border-radius:27.5px}.button-rounded.size-small{border-radius:20px}.progress-bar{display:flex}.progress-bar .slider{margin:auto 15px auto 0;position:relative;flex-grow:1}.progress-bar .slider:before{content:\"\";position:absolute;display:block;top:0;left:0;bottom:0;right:0;background-color:#E8E8E8;border-radius:4px}.progress-bar .slider .progress{position:relative;border-radius:4px;background-color:#000000;height:8px}.progress-bar .counter{font-weight:700;color:#000000;font-size:14px;line-height:18px}.progress-bar-primary .slider .progress{background-color:#2C089B}.progress-bar-primary .counter{color:#2C089B}.progress-bar-secondary .slider .progress{background-color:#2AF135}.progress-bar-secondary .counter{color:#2AF135}.video-wrap{position:relative;padding-bottom:56.25%}.video-wrap iframe,.video-wrap video{position:absolute;border:0;display:block;left:0;right:0;top:0;bottom:0;width:100%;height:100%}.image-wrap img{width:100%;height:auto}.align-left{text-align:left}.align-right{text-align:right}.align-center{text-align:center}.align-justify{text-align:justify}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.horizontal-padding-1{padding-left:5px;padding-right:5px}.horizontal-padding-2{padding-left:10px;padding-right:10px}.horizontal-padding-3{padding-left:15px;padding-right:15px}.horizontal-padding-4{padding-left:30px;padding-right:30px}.horizontal-padding-5{padding-left:45px;padding-right:45px}.horizontal-padding-6{padding-left:60px;padding-right:60px}.vertical-padding-1{padding-top:5px;padding-bottom:5px}.vertical-padding-2{padding-top:10px;padding-bottom:10px}.vertical-padding-3{padding-top:15px;padding-bottom:15px}.vertical-padding-4{padding-top:30px;padding-bottom:30px}.vertical-padding-5{padding-top:45px;padding-bottom:45px}.vertical-padding-6{padding-top:60px;padding-bottom:60px}:host{display:contents}.container{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;display:flex;justify-content:flex-start}.container .label{padding-left:15px;font-size:11px;line-height:14px;width:60px;margin-top:auto;margin-bottom:auto}.category-icon-item{width:40px;height:40px;border-radius:50%;text-align:center;transition:all ease-in-out 0.5s;display:inline-block;margin-right:10px;width:30px;height:30px}.category-icon-item.colour-scheme-primary{background-color:#2C089B}.category-icon-item.colour-scheme-primary svg{fill:#FFFFFF}.category-icon-item.colour-scheme-secondary{background-color:#2AF135}.category-icon-item.colour-scheme-secondary svg{fill:#000000}.category-icon-item.colour-scheme-tertiary{background-color:#FF7272}.category-icon-item.colour-scheme-tertiary svg{fill:#000000}.category-icon-item.colour-scheme-brand-1{background-color:#B30510}.category-icon-item.colour-scheme-brand-1 svg{fill:#000000}.category-icon-item.colour-scheme-brand-2{background-color:#6E0887}.category-icon-item.colour-scheme-brand-2 svg{fill:#000000}.category-icon-item.colour-scheme-brand-3{background-color:#50B400}.category-icon-item.colour-scheme-brand-3 svg{fill:#000000}.category-icon-item.colour-scheme-brand-4{background-color:#FFE500}.category-icon-item.colour-scheme-brand-4 svg{fill:#000000}.category-icon-item.colour-scheme-brand-5{background-color:#F07D00}.category-icon-item.colour-scheme-brand-5 svg{fill:#000000}.category-icon-item.colour-scheme-brand-6{background-color:#CBC8C8}.category-icon-item.colour-scheme-brand-6 svg{fill:#000000}.category-icon-item.colour-scheme-white{background-color:#FFFFFF}.category-icon-item.colour-scheme-white svg{fill:#000000}.category-icon-item.colour-scheme-black{background-color:#000000}.category-icon-item.colour-scheme-black svg{fill:#FFFFFF}.category-icon-item:hover{background-color:#FFFFFF}.category-icon-item:hover svg{fill:#000000}.category-icon-item a{display:grid;position:relative;padding:10px;box-sizing:border-box;height:100%}.category-icon-item a svg{width:100%;height:100%}.category-icon-item a{padding:6px}";
@@ -9,8 +9,8 @@ const BiggiveCategoryIcon = class {
9
9
  registerInstance(this, hostRef);
10
10
  this.backgroundColour = 'primary';
11
11
  this.iconColour = 'white';
12
- this.icon = null;
13
- this.label = null;
12
+ this.icon = undefined;
13
+ this.label = undefined;
14
14
  this.url = '#';
15
15
  }
16
16
  getCategoryIcon() {
@@ -6,7 +6,7 @@ const BiggiveIconGroup = class {
6
6
  constructor(hostRef) {
7
7
  registerInstance(this, hostRef);
8
8
  this.spaceBelow = 0;
9
- this.label = null;
9
+ this.label = undefined;
10
10
  }
11
11
  render() {
12
12
  return (h("div", { class: 'container space-below-' + this.spaceBelow }, this.label != null ? h("div", { class: "label" }, this.label) : null, h("div", { class: "sleeve" }, h("slot", null))));
@@ -5,9 +5,9 @@ const biggiveNavItemCss = "body{background-color:#FFFFFF}body.background-primary
5
5
  const BiggiveNavItem = class {
6
6
  constructor(hostRef) {
7
7
  registerInstance(this, hostRef);
8
- this.url = null;
9
- this.label = null;
10
- this.iconColour = null;
8
+ this.url = undefined;
9
+ this.label = undefined;
10
+ this.iconColour = undefined;
11
11
  }
12
12
  render() {
13
13
  return (h("li", { class: 'icon-' + this.iconColour }, h("a", { href: this.url }, this.label), h("slot", null)));
@@ -21,7 +21,7 @@ const BigGiveSearch = class {
21
21
  this.clearSearchText = () => {
22
22
  this.searchText = '';
23
23
  };
24
- this.searchText = null;
24
+ this.searchText = undefined;
25
25
  this.placeholderText = undefined;
26
26
  this.buttonText = undefined;
27
27
  }
@@ -232,22 +232,22 @@ class FontAwesomeIconsService {
232
232
  static getBeneficiaryIcon(beneficiary) {
233
233
  const matchingItems = FontAwesomeIconsService.getBeneficiaries().filter(ii => ii.name === beneficiary);
234
234
  // For an unknown/invalid beneficiary, show 'other' symbol.
235
- return matchingItems.length > 0 ? matchingItems[0].icon : faPlus;
235
+ return matchingItems[0] ? matchingItems[0].icon : faPlus;
236
236
  }
237
237
  static getMiscIcon(misc) {
238
238
  const matchingItems = FontAwesomeIconsService.getMisc().filter(ii => ii.name === misc);
239
239
  // For an unknown/invalid beneficiary, show 'other' symbol.
240
- return matchingItems.length > 0 ? matchingItems[0].icon : faPlus;
240
+ return matchingItems[0] ? matchingItems[0].icon : faPlus;
241
241
  }
242
242
  static getSocialIcon(social) {
243
243
  const matchingItems = FontAwesomeIconsService.getSocials().filter(ii => ii.name === social);
244
244
  // For an unknown/invalid beneficiary, show 'other' symbol.
245
- return matchingItems.length > 0 ? matchingItems[0].icon : faPlus;
245
+ return matchingItems[0] ? matchingItems[0].icon : faPlus;
246
246
  }
247
247
  static getCategoryIcon(category) {
248
248
  const matchingItems = FontAwesomeIconsService.getCategories().filter(ii => ii.name === category);
249
249
  // For an unknown/invalid category, show 'other' symbol.
250
- return matchingItems.length > 0 ? matchingItems[0].icon : faPlus;
250
+ return matchingItems[0] ? matchingItems[0].icon : faPlus;
251
251
  }
252
252
  }
253
253
 
@@ -6,12 +6,12 @@ export declare class BiggiveCampaignCardFilterGrid {
6
6
  * component which handles it
7
7
  */
8
8
  doSearchAndFilterUpdate: EventEmitter<{
9
- searchText: string;
10
- sortBy: string;
11
- filterCategory: string;
12
- filterBeneficiary: string;
13
- filterLocation: string;
14
- filterFunding: string;
9
+ searchText: string | null;
10
+ sortBy: string | null;
11
+ filterCategory: string | null;
12
+ filterBeneficiary: string | null;
13
+ filterLocation: string | null;
14
+ filterFunding: string | null;
15
15
  }>;
16
16
  sortByPlaceholderText: string;
17
17
  beneficiariesPlaceHolderText: string;
@@ -34,7 +34,7 @@ export declare class BiggiveCampaignCardFilterGrid {
34
34
  * the search box text will clear, unless we use this prop to populate it on
35
35
  * rendering. DON-652.
36
36
  */
37
- searchText: string;
37
+ searchText: string | null;
38
38
  /**
39
39
  * Defines the text displayed as the placeholder in the input field
40
40
  * before the user types anything
@@ -67,23 +67,23 @@ export declare class BiggiveCampaignCardFilterGrid {
67
67
  * two pages is loaded directly with URL parameters - in such a scenario the dropdown
68
68
  * shows that it's pre-selected. DON-558.
69
69
  */
70
- selectedSortByOption: 'Most raised' | 'Match funds remaining' | 'Relevance';
70
+ selectedSortByOption: 'Most raised' | 'Match funds remaining' | 'Relevance' | null;
71
71
  /**
72
72
  * For injecting the chosen category to filter by, as per the comment above for `selectedSortByOption`.
73
73
  */
74
- selectedFilterCategory: string;
74
+ selectedFilterCategory: string | null;
75
75
  /**
76
76
  * For injecting the chosen beneficiary to filter by, as per the comment above for `selectedSortByOption`.
77
77
  */
78
- selectedFilterBeneficiary: string;
78
+ selectedFilterBeneficiary: string | null;
79
79
  /**
80
80
  * For injecting the chosen location to filter by, as per the comment above for `selectedSortByOption`.
81
81
  */
82
- selectedFilterLocation: string;
82
+ selectedFilterLocation: string | null;
83
83
  /**
84
84
  * For injecting the chosen funding to filter by, as per the comment above for `selectedSortByOption`.
85
85
  */
86
- selectedFilterFunding: string;
86
+ selectedFilterFunding: string | null;
87
87
  /**
88
88
  * State variable - causes re-render on change
89
89
  */
@@ -6,8 +6,8 @@ export declare class BiggiveFormFieldSelect {
6
6
  * component which handles it
7
7
  */
8
8
  doSelectChange: EventEmitter<object>;
9
- selectedValue: string;
10
- selectedLabel: string;
9
+ selectedValue: string | null;
10
+ selectedLabel: string | null;
11
11
  doOptionSelectCompletedHandler(event: any): void;
12
12
  /**
13
13
  * Space below component
@@ -5,8 +5,8 @@ export declare class BiggiveFormFieldSelectOption {
5
5
  * component which handles it
6
6
  */
7
7
  doOptionSelect: EventEmitter<object>;
8
- selectedValue: string;
9
- selectedLabel: string;
8
+ selectedValue: string | null;
9
+ selectedLabel: string | null;
10
10
  /**
11
11
  * Label
12
12
  */
@@ -442,27 +442,27 @@ export namespace Components {
442
442
  /**
443
443
  * Optional search text prop. Useful for pre-populating the search field when the page is loaded with a search term already existing in the URL. This can happen when sharing links, or if a donor goes to a campaign page after searching, and then returns to the search results. In such a case, the search box text will clear, unless we use this prop to populate it on rendering. DON-652.
444
444
  */
445
- "searchText": string;
445
+ "searchText": string | null;
446
446
  /**
447
447
  * For injecting the chosen beneficiary to filter by, as per the comment above for `selectedSortByOption`.
448
448
  */
449
- "selectedFilterBeneficiary": string;
449
+ "selectedFilterBeneficiary": string | null;
450
450
  /**
451
451
  * For injecting the chosen category to filter by, as per the comment above for `selectedSortByOption`.
452
452
  */
453
- "selectedFilterCategory": string;
453
+ "selectedFilterCategory": string | null;
454
454
  /**
455
455
  * For injecting the chosen funding to filter by, as per the comment above for `selectedSortByOption`.
456
456
  */
457
- "selectedFilterFunding": string;
457
+ "selectedFilterFunding": string | null;
458
458
  /**
459
459
  * For injecting the chosen location to filter by, as per the comment above for `selectedSortByOption`.
460
460
  */
461
- "selectedFilterLocation": string;
461
+ "selectedFilterLocation": string | null;
462
462
  /**
463
463
  * This helps us inject a pre-selected dropdown value from outside of this component. This is especially helpful for the Meta campaign and Explore pages, where searching by text whipes out previous sort options and re-uses Relevance, or where one of those two pages is loaded directly with URL parameters - in such a scenario the dropdown shows that it's pre-selected. DON-558.
464
464
  */
465
- "selectedSortByOption": 'Most raised' | 'Match funds remaining' | 'Relevance';
465
+ "selectedSortByOption": 'Most raised' | 'Match funds remaining' | 'Relevance' | null;
466
466
  /**
467
467
  * Space below component
468
468
  */
@@ -557,8 +557,8 @@ export namespace Components {
557
557
  * Placeholder
558
558
  */
559
559
  "placeholder": string;
560
- "selectedLabel": string;
561
- "selectedValue": string;
560
+ "selectedLabel": string | null;
561
+ "selectedValue": string | null;
562
562
  /**
563
563
  * Space below component
564
564
  */
@@ -1851,12 +1851,12 @@ declare namespace LocalJSX {
1851
1851
  * This event `doSearchAndFilterUpdate` event is emitted and propogates to the parent component which handles it
1852
1852
  */
1853
1853
  "onDoSearchAndFilterUpdate"?: (event: BiggiveCampaignCardFilterGridCustomEvent<{
1854
- searchText: string;
1855
- sortBy: string;
1856
- filterCategory: string;
1857
- filterBeneficiary: string;
1858
- filterLocation: string;
1859
- filterFunding: string;
1854
+ searchText: string | null;
1855
+ sortBy: string | null;
1856
+ filterCategory: string | null;
1857
+ filterBeneficiary: string | null;
1858
+ filterLocation: string | null;
1859
+ filterFunding: string | null;
1860
1860
  }>) => void;
1861
1861
  /**
1862
1862
  * Defines the text displayed as the placeholder in the input field before the user types anything
@@ -1865,27 +1865,27 @@ declare namespace LocalJSX {
1865
1865
  /**
1866
1866
  * Optional search text prop. Useful for pre-populating the search field when the page is loaded with a search term already existing in the URL. This can happen when sharing links, or if a donor goes to a campaign page after searching, and then returns to the search results. In such a case, the search box text will clear, unless we use this prop to populate it on rendering. DON-652.
1867
1867
  */
1868
- "searchText"?: string;
1868
+ "searchText"?: string | null;
1869
1869
  /**
1870
1870
  * For injecting the chosen beneficiary to filter by, as per the comment above for `selectedSortByOption`.
1871
1871
  */
1872
- "selectedFilterBeneficiary"?: string;
1872
+ "selectedFilterBeneficiary"?: string | null;
1873
1873
  /**
1874
1874
  * For injecting the chosen category to filter by, as per the comment above for `selectedSortByOption`.
1875
1875
  */
1876
- "selectedFilterCategory"?: string;
1876
+ "selectedFilterCategory"?: string | null;
1877
1877
  /**
1878
1878
  * For injecting the chosen funding to filter by, as per the comment above for `selectedSortByOption`.
1879
1879
  */
1880
- "selectedFilterFunding"?: string;
1880
+ "selectedFilterFunding"?: string | null;
1881
1881
  /**
1882
1882
  * For injecting the chosen location to filter by, as per the comment above for `selectedSortByOption`.
1883
1883
  */
1884
- "selectedFilterLocation"?: string;
1884
+ "selectedFilterLocation"?: string | null;
1885
1885
  /**
1886
1886
  * This helps us inject a pre-selected dropdown value from outside of this component. This is especially helpful for the Meta campaign and Explore pages, where searching by text whipes out previous sort options and re-uses Relevance, or where one of those two pages is loaded directly with URL parameters - in such a scenario the dropdown shows that it's pre-selected. DON-558.
1887
1887
  */
1888
- "selectedSortByOption"?: 'Most raised' | 'Match funds remaining' | 'Relevance';
1888
+ "selectedSortByOption"?: 'Most raised' | 'Match funds remaining' | 'Relevance' | null;
1889
1889
  /**
1890
1890
  * Space below component
1891
1891
  */
@@ -1984,8 +1984,8 @@ declare namespace LocalJSX {
1984
1984
  * Placeholder
1985
1985
  */
1986
1986
  "placeholder"?: string;
1987
- "selectedLabel"?: string;
1988
- "selectedValue"?: string;
1987
+ "selectedLabel"?: string | null;
1988
+ "selectedValue"?: string | null;
1989
1989
  /**
1990
1990
  * Space below component
1991
1991
  */