@biggive/components 1.0.191 → 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 (93) 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 +77 -71
  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.css +7 -1
  38. package/dist/collection/components/biggive-main-menu/biggive-main-menu.js +3 -2
  39. package/dist/collection/components/biggive-main-menu/biggive-main-menu.stories.js +1 -1
  40. package/dist/collection/components/biggive-misc-icon/biggive-misc-icon.js +3 -5
  41. package/dist/collection/components/biggive-nav-item/biggive-nav-item.js +6 -9
  42. package/dist/collection/components/biggive-page-section/biggive-page-section.js +2 -3
  43. package/dist/collection/components/biggive-search/biggive-search.js +2 -3
  44. package/dist/collection/components/biggive-totalizer/biggive-totalizer.js +5 -3
  45. package/dist/collection/components/biggive-totalizer-ticker-item/biggive-totalizer-ticker-item.js +4 -6
  46. package/dist/collection/components/biggive-video-feature/biggive-video-feature.js +10 -15
  47. package/dist/collection/util/fontawesome-icons.js +4 -4
  48. package/dist/components/biggive-article-card.js +8 -8
  49. package/dist/components/biggive-basic-card.js +5 -5
  50. package/dist/components/biggive-beneficiary-icon.js +1 -1
  51. package/dist/components/biggive-branded-image.js +4 -4
  52. package/dist/components/biggive-call-to-action.js +8 -8
  53. package/dist/components/biggive-campaign-card-filter-grid.js +3 -1
  54. package/dist/components/biggive-campaign-card.js +11 -11
  55. package/dist/components/biggive-campaign-highlights.js +13 -13
  56. package/dist/components/biggive-category-icon.js +2 -2
  57. package/dist/components/biggive-form-field-select-option2.js +4 -4
  58. package/dist/components/biggive-form-field-select2.js +3 -3
  59. package/dist/components/biggive-hero-image.js +8 -8
  60. package/dist/components/biggive-icon-group.js +1 -1
  61. package/dist/components/biggive-image-feature.js +5 -5
  62. package/dist/components/biggive-main-menu.js +4 -3
  63. package/dist/components/biggive-misc-icon2.js +1 -1
  64. package/dist/components/biggive-nav-item.js +3 -3
  65. package/dist/components/biggive-page-section.js +1 -1
  66. package/dist/components/biggive-search.js +1 -1
  67. package/dist/components/biggive-totalizer-ticker-item.js +2 -2
  68. package/dist/components/biggive-totalizer.js +4 -1
  69. package/dist/components/biggive-video-feature.js +5 -5
  70. package/dist/components/fontawesome-icons.js +4 -4
  71. package/dist/esm/biggive-article-card.entry.js +8 -8
  72. package/dist/esm/biggive-back-to-top_27.entry.js +77 -71
  73. package/dist/esm/biggive-basic-card.entry.js +5 -5
  74. package/dist/esm/biggive-beneficiary-icon.entry.js +2 -2
  75. package/dist/esm/biggive-category-icon.entry.js +3 -3
  76. package/dist/esm/biggive-icon-group.entry.js +1 -1
  77. package/dist/esm/biggive-nav-item.entry.js +3 -3
  78. package/dist/esm/biggive-search.entry.js +1 -1
  79. package/dist/esm/{fontawesome-icons-0af46a96.js → fontawesome-icons-ec5d0760.js} +4 -4
  80. package/dist/types/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.d.ts +12 -12
  81. package/dist/types/components/biggive-form-field-select/biggive-form-field-select.d.ts +2 -2
  82. package/dist/types/components/biggive-form-field-select-option/biggive-form-field-select-option.d.ts +2 -2
  83. package/dist/types/components.d.ts +22 -22
  84. package/hydrate/index.js +101 -95
  85. package/package.json +1 -1
  86. package/dist/biggive/p-0bad0e6e.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-b325f8ac.entry.js +0 -1
  91. package/dist/biggive/p-b892b1d6.entry.js +0 -1
  92. package/dist/biggive/p-ee001f1e.entry.js +0 -1
  93. package/dist/biggive/p-ee8d5a11.entry.js +0 -1
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-00399429.js');
6
- const fontawesomeIcons = require('./fontawesome-icons-560e6ab7.js');
6
+ const fontawesomeIcons = require('./fontawesome-icons-72c728f1.js');
7
7
  require('./index-7f8fe565.js');
8
8
 
9
9
  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}";
@@ -13,8 +13,8 @@ const BiggiveCategoryIcon = class {
13
13
  index.registerInstance(this, hostRef);
14
14
  this.backgroundColour = 'primary';
15
15
  this.iconColour = 'white';
16
- this.icon = null;
17
- this.label = null;
16
+ this.icon = undefined;
17
+ this.label = undefined;
18
18
  this.url = '#';
19
19
  }
20
20
  getCategoryIcon() {
@@ -10,7 +10,7 @@ const BiggiveIconGroup = class {
10
10
  constructor(hostRef) {
11
11
  index.registerInstance(this, hostRef);
12
12
  this.spaceBelow = 0;
13
- this.label = null;
13
+ this.label = undefined;
14
14
  }
15
15
  render() {
16
16
  return (index.h("div", { class: 'container space-below-' + this.spaceBelow }, this.label != null ? index.h("div", { class: "label" }, this.label) : null, index.h("div", { class: "sleeve" }, index.h("slot", null))));
@@ -9,9 +9,9 @@ const biggiveNavItemCss = "body{background-color:#FFFFFF}body.background-primary
9
9
  const BiggiveNavItem = class {
10
10
  constructor(hostRef) {
11
11
  index.registerInstance(this, hostRef);
12
- this.url = null;
13
- this.label = null;
14
- this.iconColour = null;
12
+ this.url = undefined;
13
+ this.label = undefined;
14
+ this.iconColour = undefined;
15
15
  }
16
16
  render() {
17
17
  return (index.h("li", { class: 'icon-' + this.iconColour }, index.h("a", { href: this.url }, this.label), index.h("slot", null)));
@@ -25,7 +25,7 @@ const BigGiveSearch = class {
25
25
  this.clearSearchText = () => {
26
26
  this.searchText = '';
27
27
  };
28
- this.searchText = null;
28
+ this.searchText = undefined;
29
29
  this.placeholderText = undefined;
30
30
  this.buttonText = undefined;
31
31
  }
@@ -234,22 +234,22 @@ class FontAwesomeIconsService {
234
234
  static getBeneficiaryIcon(beneficiary) {
235
235
  const matchingItems = FontAwesomeIconsService.getBeneficiaries().filter(ii => ii.name === beneficiary);
236
236
  // For an unknown/invalid beneficiary, show 'other' symbol.
237
- return matchingItems.length > 0 ? matchingItems[0].icon : index.faPlus;
237
+ return matchingItems[0] ? matchingItems[0].icon : index.faPlus;
238
238
  }
239
239
  static getMiscIcon(misc) {
240
240
  const matchingItems = FontAwesomeIconsService.getMisc().filter(ii => ii.name === misc);
241
241
  // For an unknown/invalid beneficiary, show 'other' symbol.
242
- return matchingItems.length > 0 ? matchingItems[0].icon : index.faPlus;
242
+ return matchingItems[0] ? matchingItems[0].icon : index.faPlus;
243
243
  }
244
244
  static getSocialIcon(social) {
245
245
  const matchingItems = FontAwesomeIconsService.getSocials().filter(ii => ii.name === social);
246
246
  // For an unknown/invalid beneficiary, show 'other' symbol.
247
- return matchingItems.length > 0 ? matchingItems[0].icon : index.faPlus;
247
+ return matchingItems[0] ? matchingItems[0].icon : index.faPlus;
248
248
  }
249
249
  static getCategoryIcon(category) {
250
250
  const matchingItems = FontAwesomeIconsService.getCategories().filter(ii => ii.name === category);
251
251
  // For an unknown/invalid category, show 'other' symbol.
252
- return matchingItems.length > 0 ? matchingItems[0].icon : index.faPlus;
252
+ return matchingItems[0] ? matchingItems[0].icon : index.faPlus;
253
253
  }
254
254
  }
255
255
 
@@ -5,14 +5,14 @@ export class BiggiveArticleCard {
5
5
  this.backgroundColour = 'white';
6
6
  this.backgroundColourHover = 'tertiary';
7
7
  this.textColour = 'black';
8
- this.slug = null;
9
- this.date = null;
10
- this.mainTitle = null;
11
- this.imageUrl = null;
12
- this.imageAltText = null;
13
- this.imageLabel = null;
14
- this.buttonLabel = null;
15
- this.buttonUrl = null;
8
+ this.slug = undefined;
9
+ this.date = undefined;
10
+ this.mainTitle = undefined;
11
+ this.imageUrl = undefined;
12
+ this.imageAltText = undefined;
13
+ this.imageLabel = undefined;
14
+ this.buttonLabel = undefined;
15
+ this.buttonUrl = undefined;
16
16
  }
17
17
  render() {
18
18
  return (h("div", { class: 'container space-below-' + this.spaceBelow }, h("div", { class: 'sleeve background-colour-' + this.backgroundColour + ' background-colour-hover-' + this.backgroundColourHover + ' text-colour-' + this.textColour }, h("div", { class: "content-wrap" }, this.slug != '' ? h("div", { class: "slug text-colour-primary" }, this.slug) : null, this.date != '' ? h("div", { class: "date" }, this.date) : null, h("h3", { class: "title" }, h("a", { href: this.buttonUrl }, this.mainTitle)), this.imageUrl != '' ? (h("div", { class: "image-group" }, h("div", { class: "image-wrap", style: { 'background-image': "url('" + this.imageUrl + "')" } }, h("img", { src: this.imageUrl, alt: this.imageAltText, title: this.imageAltText })), h("div", { class: "image-label" }, this.imageLabel))) : null, this.buttonLabel != null && this.buttonUrl != null ? (h("div", { class: "button-wrap align-right" }, h("biggive-button", { "colour-scheme": 'clear-primary', url: this.buttonUrl, label: this.buttonLabel }))) : null))));
@@ -118,8 +118,7 @@ export class BiggiveArticleCard {
118
118
  "text": "Slug"
119
119
  },
120
120
  "attribute": "slug",
121
- "reflect": false,
122
- "defaultValue": "null"
121
+ "reflect": false
123
122
  },
124
123
  "date": {
125
124
  "type": "string",
@@ -136,8 +135,7 @@ export class BiggiveArticleCard {
136
135
  "text": "Date"
137
136
  },
138
137
  "attribute": "date",
139
- "reflect": false,
140
- "defaultValue": "null"
138
+ "reflect": false
141
139
  },
142
140
  "mainTitle": {
143
141
  "type": "string",
@@ -154,8 +152,7 @@ export class BiggiveArticleCard {
154
152
  "text": "Main title"
155
153
  },
156
154
  "attribute": "main-title",
157
- "reflect": false,
158
- "defaultValue": "null"
155
+ "reflect": false
159
156
  },
160
157
  "imageUrl": {
161
158
  "type": "string",
@@ -172,8 +169,7 @@ export class BiggiveArticleCard {
172
169
  "text": "Image URL"
173
170
  },
174
171
  "attribute": "image-url",
175
- "reflect": false,
176
- "defaultValue": "null"
172
+ "reflect": false
177
173
  },
178
174
  "imageAltText": {
179
175
  "type": "string",
@@ -190,8 +186,7 @@ export class BiggiveArticleCard {
190
186
  "text": "Image Alt Text"
191
187
  },
192
188
  "attribute": "image-alt-text",
193
- "reflect": false,
194
- "defaultValue": "null"
189
+ "reflect": false
195
190
  },
196
191
  "imageLabel": {
197
192
  "type": "string",
@@ -208,8 +203,7 @@ export class BiggiveArticleCard {
208
203
  "text": "Image Label"
209
204
  },
210
205
  "attribute": "image-label",
211
- "reflect": false,
212
- "defaultValue": "null"
206
+ "reflect": false
213
207
  },
214
208
  "buttonLabel": {
215
209
  "type": "string",
@@ -226,8 +220,7 @@ export class BiggiveArticleCard {
226
220
  "text": "Button label"
227
221
  },
228
222
  "attribute": "button-label",
229
- "reflect": false,
230
- "defaultValue": "null"
223
+ "reflect": false
231
224
  },
232
225
  "buttonUrl": {
233
226
  "type": "string",
@@ -244,8 +237,7 @@ export class BiggiveArticleCard {
244
237
  "text": "Button URL"
245
238
  },
246
239
  "attribute": "button-url",
247
- "reflect": false,
248
- "defaultValue": "null"
240
+ "reflect": false
249
241
  }
250
242
  };
251
243
  }
@@ -6,13 +6,13 @@ export class BiggiveBasicCard {
6
6
  this.backgroundImageUrl = '';
7
7
  this.cardColour = 'white';
8
8
  this.textColour = 'black';
9
- this.mainTitle = null;
10
- this.subtitle = null;
11
- this.teaser = null;
9
+ this.mainTitle = undefined;
10
+ this.subtitle = undefined;
11
+ this.teaser = undefined;
12
12
  this.icon = true;
13
13
  this.iconColour = 'primary';
14
- this.buttonLabel = null;
15
- this.buttonUrl = null;
14
+ this.buttonLabel = undefined;
15
+ this.buttonUrl = undefined;
16
16
  this.buttonColourScheme = 'clear-primary';
17
17
  this.clipBottomLeftCorner = true;
18
18
  this.clipTopRightCorner = true;
@@ -146,8 +146,7 @@ export class BiggiveBasicCard {
146
146
  "text": "Main title"
147
147
  },
148
148
  "attribute": "main-title",
149
- "reflect": false,
150
- "defaultValue": "null"
149
+ "reflect": false
151
150
  },
152
151
  "subtitle": {
153
152
  "type": "string",
@@ -164,8 +163,7 @@ export class BiggiveBasicCard {
164
163
  "text": "Subtitle title"
165
164
  },
166
165
  "attribute": "subtitle",
167
- "reflect": false,
168
- "defaultValue": "null"
166
+ "reflect": false
169
167
  },
170
168
  "teaser": {
171
169
  "type": "string",
@@ -182,8 +180,7 @@ export class BiggiveBasicCard {
182
180
  "text": "Teaser"
183
181
  },
184
182
  "attribute": "teaser",
185
- "reflect": false,
186
- "defaultValue": "null"
183
+ "reflect": false
187
184
  },
188
185
  "icon": {
189
186
  "type": "boolean",
@@ -236,8 +233,7 @@ export class BiggiveBasicCard {
236
233
  "text": "Button label"
237
234
  },
238
235
  "attribute": "button-label",
239
- "reflect": false,
240
- "defaultValue": "null"
236
+ "reflect": false
241
237
  },
242
238
  "buttonUrl": {
243
239
  "type": "string",
@@ -254,8 +250,7 @@ export class BiggiveBasicCard {
254
250
  "text": "Button URL"
255
251
  },
256
252
  "attribute": "button-url",
257
- "reflect": false,
258
- "defaultValue": "null"
253
+ "reflect": false
259
254
  },
260
255
  "buttonColourScheme": {
261
256
  "type": "string",
@@ -5,7 +5,7 @@ export class BiggiveBeneficiaryIcon {
5
5
  this.backgroundColour = 'primary';
6
6
  this.iconColour = 'white';
7
7
  this.icon = 'Other';
8
- this.label = null;
8
+ this.label = undefined;
9
9
  this.url = '#';
10
10
  }
11
11
  getBeneficiaryIcon() {
@@ -97,8 +97,7 @@ export class BiggiveBeneficiaryIcon {
97
97
  "text": "Label"
98
98
  },
99
99
  "attribute": "label",
100
- "reflect": false,
101
- "defaultValue": "null"
100
+ "reflect": false
102
101
  },
103
102
  "url": {
104
103
  "type": "string",
@@ -4,10 +4,10 @@ export class BiggiveBrandedImage {
4
4
  this.spaceBelow = 0;
5
5
  this.imageUrl = '';
6
6
  this.logoUrl = '';
7
- this.slug = null;
8
- this.charityName = null;
9
- this.charityLocation = null;
10
- this.charityUrl = null;
7
+ this.slug = undefined;
8
+ this.charityName = undefined;
9
+ this.charityLocation = undefined;
10
+ this.charityUrl = undefined;
11
11
  }
12
12
  render() {
13
13
  return (h("div", { class: 'container space-below-' + this.spaceBelow }, this.slug ? h("div", { class: "slug" }, this.slug) : null, this.imageUrl !== undefined && this.imageUrl !== null ? (h("div", { class: "image-wrap" }, h("img", { src: this.imageUrl }))) : null, this.logoUrl !== undefined && this.logoUrl !== null ? h("div", { class: "logo-wrap", style: { 'background-image': "url('" + this.logoUrl + "')" } }) : null, this.charityName !== undefined && this.charityName !== null ? (h("a", { id: "charityName", href: this.charityUrl, target: "_blank" }, this.charityName)) : null, this.charityLocation !== undefined && this.charityLocation !== null ? h("div", { class: "charity-info" }, this.charityLocation) : null));
@@ -95,8 +95,7 @@ export class BiggiveBrandedImage {
95
95
  "text": "Slug"
96
96
  },
97
97
  "attribute": "slug",
98
- "reflect": false,
99
- "defaultValue": "null"
98
+ "reflect": false
100
99
  },
101
100
  "charityName": {
102
101
  "type": "string",
@@ -113,8 +112,7 @@ export class BiggiveBrandedImage {
113
112
  "text": "Charity name"
114
113
  },
115
114
  "attribute": "charity-name",
116
- "reflect": false,
117
- "defaultValue": "null"
115
+ "reflect": false
118
116
  },
119
117
  "charityLocation": {
120
118
  "type": "string",
@@ -131,8 +129,7 @@ export class BiggiveBrandedImage {
131
129
  "text": "Charity location"
132
130
  },
133
131
  "attribute": "charity-location",
134
- "reflect": false,
135
- "defaultValue": "null"
132
+ "reflect": false
136
133
  },
137
134
  "charityUrl": {
138
135
  "type": "string",
@@ -149,8 +146,7 @@ export class BiggiveBrandedImage {
149
146
  "text": "Link to the charity's website"
150
147
  },
151
148
  "attribute": "charity-url",
152
- "reflect": false,
153
- "defaultValue": "null"
149
+ "reflect": false
154
150
  }
155
151
  };
156
152
  }
@@ -100,8 +100,7 @@ export class BiggiveButton {
100
100
  "text": "URL"
101
101
  },
102
102
  "attribute": "url",
103
- "reflect": false,
104
- "defaultValue": "undefined"
103
+ "reflect": false
105
104
  },
106
105
  "openInNewTab": {
107
106
  "type": "boolean",
@@ -6,20 +6,20 @@ export class BiggiveCallToAction {
6
6
  this.defaultTextColour = 'primary';
7
7
  this.slugSize = 4;
8
8
  this.slugColour = '';
9
- this.slug = null;
9
+ this.slug = undefined;
10
10
  this.mainTitleColour = '';
11
11
  this.mainTitleSize = 2;
12
- this.mainTitle = null;
12
+ this.mainTitle = undefined;
13
13
  this.subtitleSize = 4;
14
14
  this.subtitleColour = '';
15
- this.subtitle = null;
15
+ this.subtitle = undefined;
16
16
  this.teaserColour = '';
17
- this.teaser = null;
18
- this.primaryButtonUrl = null;
19
- this.primaryButtonLabel = null;
17
+ this.teaser = undefined;
18
+ this.primaryButtonUrl = undefined;
19
+ this.primaryButtonLabel = undefined;
20
20
  this.primaryButtonColourScheme = 'primary';
21
- this.secondaryButtonUrl = null;
22
- this.secondaryButtonLabel = null;
21
+ this.secondaryButtonUrl = undefined;
22
+ this.secondaryButtonLabel = undefined;
23
23
  this.secondaryButtonColourScheme = 'primary';
24
24
  }
25
25
  render() {
@@ -144,8 +144,7 @@ export class BiggiveCallToAction {
144
144
  "text": "Slug"
145
145
  },
146
146
  "attribute": "slug",
147
- "reflect": false,
148
- "defaultValue": "null"
147
+ "reflect": false
149
148
  },
150
149
  "mainTitleColour": {
151
150
  "type": "string",
@@ -198,8 +197,7 @@ export class BiggiveCallToAction {
198
197
  "text": "Main title"
199
198
  },
200
199
  "attribute": "main-title",
201
- "reflect": false,
202
- "defaultValue": "null"
200
+ "reflect": false
203
201
  },
204
202
  "subtitleSize": {
205
203
  "type": "number",
@@ -252,8 +250,7 @@ export class BiggiveCallToAction {
252
250
  "text": "Subtitle"
253
251
  },
254
252
  "attribute": "subtitle",
255
- "reflect": false,
256
- "defaultValue": "null"
253
+ "reflect": false
257
254
  },
258
255
  "teaserColour": {
259
256
  "type": "string",
@@ -288,8 +285,7 @@ export class BiggiveCallToAction {
288
285
  "text": "Teaser"
289
286
  },
290
287
  "attribute": "teaser",
291
- "reflect": false,
292
- "defaultValue": "null"
288
+ "reflect": false
293
289
  },
294
290
  "primaryButtonUrl": {
295
291
  "type": "string",
@@ -306,8 +302,7 @@ export class BiggiveCallToAction {
306
302
  "text": "Primary button Url"
307
303
  },
308
304
  "attribute": "primary-button-url",
309
- "reflect": false,
310
- "defaultValue": "null"
305
+ "reflect": false
311
306
  },
312
307
  "primaryButtonLabel": {
313
308
  "type": "string",
@@ -324,8 +319,7 @@ export class BiggiveCallToAction {
324
319
  "text": "Primary button Label"
325
320
  },
326
321
  "attribute": "primary-button-label",
327
- "reflect": false,
328
- "defaultValue": "null"
322
+ "reflect": false
329
323
  },
330
324
  "primaryButtonColourScheme": {
331
325
  "type": "string",
@@ -360,8 +354,7 @@ export class BiggiveCallToAction {
360
354
  "text": "Secondary button Url"
361
355
  },
362
356
  "attribute": "secondary-button-url",
363
- "reflect": false,
364
- "defaultValue": "null"
357
+ "reflect": false
365
358
  },
366
359
  "secondaryButtonLabel": {
367
360
  "type": "string",
@@ -378,8 +371,7 @@ export class BiggiveCallToAction {
378
371
  "text": "Secondary button Label"
379
372
  },
380
373
  "attribute": "secondary-button-label",
381
- "reflect": false,
382
- "defaultValue": "null"
374
+ "reflect": false
383
375
  },
384
376
  "secondaryButtonColourScheme": {
385
377
  "type": "string",
@@ -811,7 +811,7 @@ a:hover {
811
811
  .container .banner {
812
812
  top: 0;
813
813
  margin-top: 19px;
814
- padding-bottom: 30.5555555556%;
814
+ padding-bottom: 30.555%;
815
815
  background-color: #F1F1F1;
816
816
  background-size: contain;
817
817
  background-repeat: no-repeat;
@@ -5,20 +5,20 @@ export class BiggiveCampaignCard {
5
5
  this.doCardGeneralClick.emit({ event, url: this.moreInfoButtonUrl });
6
6
  };
7
7
  this.spaceBelow = 4;
8
- this.campaignType = null;
9
- this.banner = null;
10
- this.campaignTitle = null;
11
- this.organisationName = null;
12
- this.primaryFigureLabel = null;
13
- this.primaryFigureAmount = null;
14
- this.secondaryFigureLabel = null;
15
- this.secondaryFigureAmount = null;
8
+ this.campaignType = undefined;
9
+ this.banner = undefined;
10
+ this.campaignTitle = undefined;
11
+ this.organisationName = undefined;
12
+ this.primaryFigureLabel = undefined;
13
+ this.primaryFigureAmount = undefined;
14
+ this.secondaryFigureLabel = undefined;
15
+ this.secondaryFigureAmount = undefined;
16
16
  this.progressBarCounter = 100;
17
17
  this.donateButtonLabel = 'Donate now';
18
- this.donateButtonUrl = null;
18
+ this.donateButtonUrl = undefined;
19
19
  this.donateButtonColourScheme = 'primary';
20
20
  this.moreInfoButtonLabel = 'Find out more';
21
- this.moreInfoButtonUrl = null;
21
+ this.moreInfoButtonUrl = undefined;
22
22
  this.moreInfoButtonColourScheme = 'clear-primary';
23
23
  this.isFutureCampaign = false;
24
24
  this.isPastCampaign = false;
@@ -74,8 +74,7 @@ export class BiggiveCampaignCard {
74
74
  "text": "e.g. \"Match Funded\"."
75
75
  },
76
76
  "attribute": "campaign-type",
77
- "reflect": false,
78
- "defaultValue": "null"
77
+ "reflect": false
79
78
  },
80
79
  "banner": {
81
80
  "type": "string",
@@ -92,8 +91,7 @@ export class BiggiveCampaignCard {
92
91
  "text": "Full URL of a banner image."
93
92
  },
94
93
  "attribute": "banner",
95
- "reflect": false,
96
- "defaultValue": "null"
94
+ "reflect": false
97
95
  },
98
96
  "campaignTitle": {
99
97
  "type": "string",
@@ -110,8 +108,7 @@ export class BiggiveCampaignCard {
110
108
  "text": "Display name of the charity's specific time-bound fundraising campaign."
111
109
  },
112
110
  "attribute": "campaign-title",
113
- "reflect": false,
114
- "defaultValue": "null"
111
+ "reflect": false
115
112
  },
116
113
  "organisationName": {
117
114
  "type": "string",
@@ -128,8 +125,7 @@ export class BiggiveCampaignCard {
128
125
  "text": "Display name of the charity or non-profit."
129
126
  },
130
127
  "attribute": "organisation-name",
131
- "reflect": false,
132
- "defaultValue": "null"
128
+ "reflect": false
133
129
  },
134
130
  "primaryFigureLabel": {
135
131
  "type": "string",
@@ -146,8 +142,7 @@ export class BiggiveCampaignCard {
146
142
  "text": "Label for the primary figure"
147
143
  },
148
144
  "attribute": "primary-figure-label",
149
- "reflect": false,
150
- "defaultValue": "null"
145
+ "reflect": false
151
146
  },
152
147
  "primaryFigureAmount": {
153
148
  "type": "string",
@@ -164,8 +159,7 @@ export class BiggiveCampaignCard {
164
159
  "text": "Amount for the primary figure, formatted with currency symbol"
165
160
  },
166
161
  "attribute": "primary-figure-amount",
167
- "reflect": false,
168
- "defaultValue": "null"
162
+ "reflect": false
169
163
  },
170
164
  "secondaryFigureLabel": {
171
165
  "type": "string",
@@ -182,8 +176,7 @@ export class BiggiveCampaignCard {
182
176
  "text": "Label for the secondary figure"
183
177
  },
184
178
  "attribute": "secondary-figure-label",
185
- "reflect": false,
186
- "defaultValue": "null"
179
+ "reflect": false
187
180
  },
188
181
  "secondaryFigureAmount": {
189
182
  "type": "string",
@@ -200,8 +193,7 @@ export class BiggiveCampaignCard {
200
193
  "text": "Amount for the secondary figure, formatted with currency symbol"
201
194
  },
202
195
  "attribute": "secondary-figure-amount",
203
- "reflect": false,
204
- "defaultValue": "null"
196
+ "reflect": false
205
197
  },
206
198
  "progressBarCounter": {
207
199
  "type": "number",
@@ -254,8 +246,7 @@ export class BiggiveCampaignCard {
254
246
  "text": "Donate button url"
255
247
  },
256
248
  "attribute": "donate-button-url",
257
- "reflect": false,
258
- "defaultValue": "null"
249
+ "reflect": false
259
250
  },
260
251
  "donateButtonColourScheme": {
261
252
  "type": "string",
@@ -308,8 +299,7 @@ export class BiggiveCampaignCard {
308
299
  "text": "More information button url"
309
300
  },
310
301
  "attribute": "more-info-button-url",
311
- "reflect": false,
312
- "defaultValue": "null"
302
+ "reflect": false
313
303
  },
314
304
  "moreInfoButtonColourScheme": {
315
305
  "type": "string",