@biggive/components 1.0.187 → 1.0.189

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 (180) hide show
  1. package/dist/biggive/biggive.esm.js +1 -1
  2. package/dist/biggive/p-0bad0e6e.entry.js +1 -0
  3. package/dist/biggive/p-3a820011.entry.js +1 -0
  4. package/dist/biggive/p-465a4c9a.entry.js +1 -0
  5. package/dist/biggive/p-4ca1e162.entry.js +1 -0
  6. package/dist/biggive/p-6a43e041.entry.js +1 -0
  7. package/dist/biggive/p-6ea4c7a0.entry.js +1 -0
  8. package/dist/biggive/p-6f5fc921.entry.js +1 -0
  9. package/dist/biggive/p-72317053.entry.js +1 -0
  10. package/dist/biggive/p-81055ccd.js +1 -0
  11. package/dist/biggive/p-881ceaf5.entry.js +1 -0
  12. package/dist/biggive/p-8d4fd749.entry.js +1 -0
  13. package/dist/biggive/p-9b3ded89.js +1 -0
  14. package/dist/biggive/p-b69e88c3.entry.js +1 -0
  15. package/dist/biggive/p-b892b1d6.entry.js +1 -0
  16. package/dist/biggive/p-c63ec961.entry.js +1 -0
  17. package/dist/biggive/p-ee001f1e.entry.js +1 -0
  18. package/dist/biggive/p-ee8d5a11.entry.js +1 -0
  19. package/dist/biggive/{p-6030a94a.entry.js → p-fbe48e0e.entry.js} +1 -1
  20. package/dist/biggive/p-fec98ef5.entry.js +1 -0
  21. package/dist/cjs/biggive-article-card.cjs.entry.js +1 -1
  22. package/dist/cjs/biggive-back-to-top_27.cjs.entry.js +112 -74
  23. package/dist/cjs/biggive-basic-card.cjs.entry.js +1 -1
  24. package/dist/cjs/biggive-beneficiary-icon.cjs.entry.js +3 -3
  25. package/dist/cjs/biggive-biography-card.cjs.entry.js +1 -1
  26. package/dist/cjs/biggive-boxed-content.cjs.entry.js +1 -1
  27. package/dist/cjs/biggive-category-icon.cjs.entry.js +3 -3
  28. package/dist/cjs/biggive-formatted-text.cjs.entry.js +1 -1
  29. package/dist/cjs/biggive-header.cjs.entry.js +51 -0
  30. package/dist/cjs/biggive-icon-group.cjs.entry.js +1 -1
  31. package/dist/cjs/biggive-nav-group.cjs.entry.js +1 -1
  32. package/dist/cjs/biggive-nav-item.cjs.entry.js +1 -1
  33. package/dist/cjs/biggive-popup-standalone.cjs.entry.js +1 -1
  34. package/dist/cjs/biggive-search.cjs.entry.js +2 -2
  35. package/dist/cjs/biggive-tab.cjs.entry.js +1 -1
  36. package/dist/cjs/biggive-tabbed-content.cjs.entry.js +1 -1
  37. package/dist/cjs/biggive-video.cjs.entry.js +1 -1
  38. package/dist/cjs/biggive.cjs.js +1 -1
  39. package/dist/cjs/{fontawesome-icons-eeb8e0a4.js → fontawesome-icons-560e6ab7.js} +18 -1
  40. package/dist/cjs/{index-8f73619a.js → index-7f8fe565.js} +6 -0
  41. package/dist/cjs/loader.cjs.js +1 -1
  42. package/dist/collection/collection-manifest.json +1 -0
  43. package/dist/collection/components/biggive-article-card/biggive-article-card.css +4 -0
  44. package/dist/collection/components/biggive-back-to-top/biggive-back-to-top.css +4 -0
  45. package/dist/collection/components/biggive-basic-card/biggive-basic-card.css +4 -0
  46. package/dist/collection/components/biggive-beneficiary-icon/biggive-beneficiary-icon.css +6 -1
  47. package/dist/collection/components/biggive-biography-card/biggive-biography-card.css +4 -0
  48. package/dist/collection/components/biggive-boxed-content/biggive-boxed-content.css +4 -0
  49. package/dist/collection/components/biggive-branded-image/biggive-branded-image.css +4 -0
  50. package/dist/collection/components/biggive-button/biggive-button.css +4 -0
  51. package/dist/collection/components/biggive-call-to-action/biggive-call-to-action.css +4 -0
  52. package/dist/collection/components/biggive-campaign-card/biggive-campaign-card.css +4 -0
  53. package/dist/collection/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.css +4 -0
  54. package/dist/collection/components/biggive-campaign-highlights/biggive-campaign-highlights.css +4 -0
  55. package/dist/collection/components/biggive-category-icon/biggive-category-icon.css +6 -1
  56. package/dist/collection/components/biggive-footer/biggive-footer.css +4 -0
  57. package/dist/collection/components/biggive-form-field-select/biggive-form-field-select.css +4 -0
  58. package/dist/collection/components/biggive-form-field-select-option/biggive-form-field-select-option.css +4 -0
  59. package/dist/collection/components/biggive-formatted-text/biggive-formatted-text.css +4 -0
  60. package/dist/collection/components/biggive-grid/biggive-grid.css +4 -0
  61. package/dist/collection/components/biggive-header/biggive-header.css +4 -0
  62. package/dist/collection/components/biggive-heading/biggive-heading.css +4 -0
  63. package/dist/collection/components/biggive-hero-image/biggive-hero-image.css +4 -0
  64. package/dist/collection/components/biggive-icon-group/biggive-icon-group.css +4 -0
  65. package/dist/collection/components/biggive-image/biggive-image.css +4 -0
  66. package/dist/collection/components/biggive-image-feature/biggive-image-feature.css +4 -0
  67. package/dist/collection/components/biggive-main-menu/biggive-main-menu.css +1084 -0
  68. package/dist/collection/components/biggive-main-menu/biggive-main-menu.js +111 -0
  69. package/dist/collection/components/biggive-main-menu/biggive-main-menu.stories.js +126 -0
  70. package/dist/collection/components/biggive-misc-icon/biggive-misc-icon.css +22 -2
  71. package/dist/collection/components/biggive-misc-icon/biggive-misc-icon.js +3 -1
  72. package/dist/collection/components/biggive-nav-group/biggive-nav-group.css +4 -0
  73. package/dist/collection/components/biggive-nav-item/biggive-nav-item.css +4 -0
  74. package/dist/collection/components/biggive-page-column/biggive-page-column.css +4 -0
  75. package/dist/collection/components/biggive-page-columns/biggive-page-columns.css +4 -0
  76. package/dist/collection/components/biggive-page-section/biggive-page-section.css +4 -0
  77. package/dist/collection/components/biggive-popup/biggive-popup.css +4 -0
  78. package/dist/collection/components/biggive-popup-standalone/biggive-popup-standalone.css +4 -0
  79. package/dist/collection/components/biggive-progress-bar/biggive-progress-bar.css +4 -0
  80. package/dist/collection/components/biggive-quote/biggive-quote.css +4 -0
  81. package/dist/collection/components/biggive-search/biggive-search.css +4 -0
  82. package/dist/collection/components/biggive-social-icon/biggive-social-icon.css +8 -2
  83. package/dist/collection/components/biggive-tab/biggive-tab.css +4 -0
  84. package/dist/collection/components/biggive-tabbed-content/biggive-tabbed-content.css +4 -0
  85. package/dist/collection/components/biggive-totalizer/biggive-totalizer.css +4 -0
  86. package/dist/collection/components/biggive-totalizer-ticker-item/biggive-totalizer-ticker-item.css +4 -0
  87. package/dist/collection/components/biggive-video/biggive-video.css +4 -0
  88. package/dist/collection/components/biggive-video-feature/biggive-video-feature.css +4 -0
  89. package/dist/collection/util/fontawesome-icons.js +14 -2
  90. package/dist/components/biggive-article-card.js +1 -1
  91. package/dist/components/biggive-back-to-top.js +1 -1
  92. package/dist/components/biggive-basic-card.js +1 -1
  93. package/dist/components/biggive-beneficiary-icon.js +1 -1
  94. package/dist/components/biggive-biography-card.js +1 -1
  95. package/dist/components/biggive-boxed-content.js +1 -1
  96. package/dist/components/biggive-branded-image.js +1 -1
  97. package/dist/components/biggive-button2.js +1 -1
  98. package/dist/components/biggive-call-to-action.js +1 -1
  99. package/dist/components/biggive-campaign-card-filter-grid.js +1 -1
  100. package/dist/components/biggive-campaign-card.js +1 -1
  101. package/dist/components/biggive-campaign-highlights.js +1 -1
  102. package/dist/components/biggive-category-icon.js +1 -1
  103. package/dist/components/biggive-footer.js +1 -1
  104. package/dist/components/biggive-form-field-select-option2.js +1 -1
  105. package/dist/components/biggive-form-field-select2.js +1 -1
  106. package/dist/components/biggive-formatted-text.js +1 -1
  107. package/dist/components/biggive-grid.js +1 -1
  108. package/dist/components/biggive-header.js +1 -1
  109. package/dist/components/biggive-heading.js +1 -1
  110. package/dist/components/biggive-hero-image.js +1 -1
  111. package/dist/components/biggive-icon-group.js +1 -1
  112. package/dist/components/biggive-image-feature.js +1 -1
  113. package/dist/components/biggive-image.js +1 -1
  114. package/dist/components/biggive-main-menu.d.ts +11 -0
  115. package/dist/components/biggive-main-menu.js +109 -0
  116. package/dist/components/biggive-misc-icon2.js +4 -2
  117. package/dist/components/biggive-nav-group.js +1 -1
  118. package/dist/components/biggive-nav-item.js +1 -1
  119. package/dist/components/biggive-page-column.js +1 -1
  120. package/dist/components/biggive-page-columns.js +1 -1
  121. package/dist/components/biggive-page-section.js +1 -1
  122. package/dist/components/biggive-popup-standalone.js +1 -1
  123. package/dist/components/biggive-popup2.js +1 -1
  124. package/dist/components/biggive-progress-bar2.js +1 -1
  125. package/dist/components/biggive-quote.js +1 -1
  126. package/dist/components/biggive-search.js +1 -1
  127. package/dist/components/biggive-social-icon.js +1 -1
  128. package/dist/components/biggive-tab.js +1 -1
  129. package/dist/components/biggive-tabbed-content.js +1 -1
  130. package/dist/components/biggive-totalizer-ticker-item.js +1 -1
  131. package/dist/components/biggive-totalizer.js +1 -1
  132. package/dist/components/biggive-video-feature.js +1 -1
  133. package/dist/components/biggive-video.js +1 -1
  134. package/dist/components/fontawesome-icons.js +18 -1
  135. package/dist/components/index.d.ts +1 -0
  136. package/dist/components/index.js +1 -0
  137. package/dist/components/index2.js +6 -1
  138. package/dist/esm/biggive-article-card.entry.js +1 -1
  139. package/dist/esm/biggive-back-to-top_27.entry.js +113 -75
  140. package/dist/esm/biggive-basic-card.entry.js +1 -1
  141. package/dist/esm/biggive-beneficiary-icon.entry.js +3 -3
  142. package/dist/esm/biggive-biography-card.entry.js +1 -1
  143. package/dist/esm/biggive-boxed-content.entry.js +1 -1
  144. package/dist/esm/biggive-category-icon.entry.js +3 -3
  145. package/dist/esm/biggive-formatted-text.entry.js +1 -1
  146. package/dist/esm/biggive-header.entry.js +47 -0
  147. package/dist/esm/biggive-icon-group.entry.js +1 -1
  148. package/dist/esm/biggive-nav-group.entry.js +1 -1
  149. package/dist/esm/biggive-nav-item.entry.js +1 -1
  150. package/dist/esm/biggive-popup-standalone.entry.js +1 -1
  151. package/dist/esm/biggive-search.entry.js +2 -2
  152. package/dist/esm/biggive-tab.entry.js +1 -1
  153. package/dist/esm/biggive-tabbed-content.entry.js +1 -1
  154. package/dist/esm/biggive-video.entry.js +1 -1
  155. package/dist/esm/biggive.js +1 -1
  156. package/dist/esm/{fontawesome-icons-a9e6285c.js → fontawesome-icons-0af46a96.js} +18 -1
  157. package/dist/esm/{index-64fa9f7e.js → index-93ca83cc.js} +6 -1
  158. package/dist/esm/loader.js +1 -1
  159. package/dist/types/components/biggive-main-menu/biggive-main-menu.d.ts +16 -0
  160. package/dist/types/components/biggive-main-menu/biggive-main-menu.stories.d.ts +5 -0
  161. package/dist/types/components.d.ts +14 -0
  162. package/hydrate/index.js +158 -43
  163. package/package.json +1 -1
  164. package/dist/biggive/p-203cff03.entry.js +0 -1
  165. package/dist/biggive/p-21edacc2.js +0 -1
  166. package/dist/biggive/p-29e56062.entry.js +0 -1
  167. package/dist/biggive/p-690e384e.entry.js +0 -1
  168. package/dist/biggive/p-765fe446.entry.js +0 -1
  169. package/dist/biggive/p-7b92db71.entry.js +0 -1
  170. package/dist/biggive/p-8654a05e.entry.js +0 -1
  171. package/dist/biggive/p-95479d40.entry.js +0 -1
  172. package/dist/biggive/p-97c0e2e4.entry.js +0 -1
  173. package/dist/biggive/p-9bb720b3.entry.js +0 -1
  174. package/dist/biggive/p-a0587390.entry.js +0 -1
  175. package/dist/biggive/p-b5553504.entry.js +0 -1
  176. package/dist/biggive/p-bd2ee99c.entry.js +0 -1
  177. package/dist/biggive/p-bd6685e7.entry.js +0 -1
  178. package/dist/biggive/p-ce3854ac.entry.js +0 -1
  179. package/dist/biggive/p-ea4bd70b.js +0 -1
  180. package/dist/biggive/p-f79f887b.entry.js +0 -1
@@ -0,0 +1,111 @@
1
+ import { Host, h } from '@stencil/core';
2
+ export class BiggiveMainMenu {
3
+ constructor() {
4
+ this.openMobileMenu = () => {
5
+ const mobileMenu = this.host.shadowRoot.querySelector('.nav-links');
6
+ mobileMenu.style.left = '0';
7
+ };
8
+ this.closeMobileMenu = () => {
9
+ const mobileMenu = this.host.shadowRoot.querySelector('.nav-links');
10
+ mobileMenu.style.left = '-100%';
11
+ };
12
+ }
13
+ async closeMobileMenuFromOutside() {
14
+ const mobileMenu = this.host.shadowRoot.querySelector('.nav-links');
15
+ mobileMenu.style.left = '-100%';
16
+ }
17
+ appendPrimaryNavigationLinks() {
18
+ // get the slotted 'nav-primary' node
19
+ const node = this.host.querySelector(`[slot="nav-primary"]`);
20
+ if (node !== null) {
21
+ // Slot the menu
22
+ this.host.shadowRoot.querySelector('#nav-primary').appendChild(node);
23
+ }
24
+ }
25
+ /**
26
+ * Slots the 'nav-secondary' slot into the top right corner of the blue nav bar.
27
+ * Also slots the 'nav-secondary' into the normal menu items when in mobile mode.
28
+ * This is because the blue bar disappears in mobile mode, so we need the items
29
+ * init to still be seen, hence they're auto-added to the menu.
30
+ */
31
+ appendNavSecondaryLinks() {
32
+ // get the slotted 'nav-secondary' node
33
+ const node = this.host.querySelector(`[slot="nav-secondary"]`);
34
+ if (node !== null) {
35
+ // add to blue bar
36
+ this.host.shadowRoot.querySelector('.nav-secondary').appendChild(node);
37
+ // we must make a deep clone of the node above, because each node is only
38
+ // injectable / slottable into one place, but we need to slot into two places.
39
+ const nodeClone = node.cloneNode(true);
40
+ // add to main menu links, but only viewable in mobile mode. The css class
41
+ // hides them in desktop!
42
+ nodeClone.querySelectorAll('li').forEach(child => {
43
+ child.classList.add('mobile-only');
44
+ this.host.shadowRoot.querySelector('.links').appendChild(child);
45
+ });
46
+ }
47
+ }
48
+ componentDidRender() {
49
+ const subMenuElements = this.host.querySelectorAll('.sub-menu');
50
+ subMenuElements.forEach(subMenuElement => {
51
+ // the subMenuLink is a sibling element to the actual sub-menu
52
+ const subMenuLink = subMenuElement.parentElement.querySelector('a');
53
+ subMenuLink.onclick = () => {
54
+ const subMenuArrow = subMenuLink.querySelector('.sub-menu-arrow');
55
+ subMenuArrow.classList.toggle('transform-90');
56
+ subMenuElement.classList.toggle('display-sub-menu');
57
+ };
58
+ });
59
+ const subSubMenuElements = this.host.querySelectorAll('.sub-sub-menu');
60
+ subSubMenuElements.forEach(subSubMenuElement => {
61
+ // the subSubMenuLink is a sibling element to the actual sub-sub-menu
62
+ const subSubMenuLink = subSubMenuElement.parentElement.querySelector('a');
63
+ subSubMenuLink.onclick = () => {
64
+ const subMenuArrow = subSubMenuLink.querySelector('.sub-sub-menu-arrow');
65
+ subMenuArrow.classList.toggle('transform-90');
66
+ subSubMenuElement.classList.toggle('display-sub-menu');
67
+ };
68
+ });
69
+ this.appendPrimaryNavigationLinks();
70
+ this.appendNavSecondaryLinks();
71
+ }
72
+ render() {
73
+ return (h(Host, null, h("div", { class: "row row-top" }, h("div", { class: "social-icon-wrap" }, h("slot", { name: "social-icons" })), h("div", { class: "nav-secondary" })), h("nav", { role: "navigation" }, h("div", { class: "navbar" }, h("biggive-misc-icon", { class: "bx bx-menu", "background-colour": "white", "icon-colour": "black", icon: "MenuOpen", onClick: this.openMobileMenu }), h("div", { class: "logo" }, h("a", { href: "#" }, h("svg", { version: "1.1", x: "0px", y: "0px", viewBox: "0 0 140.9 30" }, h("path", { d: "M51.9,6.1c-1.7,0-3.1-1.4-3.1-3s1.4-3,3.1-3C53.6,0,55,1.4,55,3S53.6,6.1,51.9,6.1z M49.3,23.8h5V7.7h-5V23.8z M68.5,7.7v1 c-0.8-0.7-2.3-1.4-4.1-1.4c-4.5,0-8.2,3.2-8.2,7.9c0,4.7,3.7,7.9,8.2,7.9c1.8,0,3.4-0.5,4.1-1.4v0.9c0,2.1-1.9,3.1-4.4,3.1 c-2.2,0-4-0.5-5.8-1.4V29c2.1,0.7,4.4,1,6,1c5,0,9.2-2,9.2-7.3v-15L68.5,7.7L68.5,7.7z M68.5,17.2c-0.7,1-1.9,1.4-3.2,1.4 c-2.1,0-3.8-1.2-3.8-3.4c0-2.2,1.7-3.4,3.8-3.4c1.3,0,2.5,0.6,3.2,1.5V17.2z M88.1,24.2c4,0,6.4-0.7,8.5-2V10h-11v4.7h5.8v4.1 c-0.8,0.2-1.8,0.4-3.2,0.4c-4.9,0-7.3-3.2-7.3-6.8c0-3.7,2.8-6.8,8-6.8c2.2,0,4.3,0.6,5.8,1.4V1.7c-1.5-0.6-3.4-1.1-6.1-1.1 c-7.6,0-13,5.3-13,11.8C75.5,19.1,80.4,24.2,88.1,24.2z M101.4,6.1c-1.7,0-3.1-1.4-3.1-3s1.4-3,3.1-3c1.8,0,3.2,1.4,3.2,3 S103.1,6.1,101.4,6.1z M98.8,23.8h5V7.7h-5V23.8z M115.1,15l-4.3-7.2H105l10.1,16.4l10.1-16.4h-5.8L115.1,15z M129.3,16.9h11.6 c0.1-7-4.2-9.5-8.4-9.5c-4.5,0-8.5,2.6-8.6,8.4c0,5.6,4.1,8.4,9.1,8.4c2.2,0,4.4-0.3,6.4-1.3v-4.4c-2.5,1.4-4.1,1.4-5.6,1.4 C131.7,19.8,129.5,19.2,129.3,16.9z M132.5,11.1c1.5,0,2.8,0.7,3,2.7h-6.2C129.6,11.9,131,11.1,132.5,11.1z M43.5,11.4 c1.2-1,1.8-2.4,1.8-4c0-3.1-3-6.3-7.3-6.3h-8v22.8h10.4c4.1,0,7.2-3,7.2-6.8C47.5,14.8,46.5,12.3,43.5,11.4z M35.2,5.7h2.4 C39,5.7,40,6.8,40,8c0,1.2-1,2.2-2.5,2.2h-2.4V5.7z M39.9,19.2h-4.7v-4.6h4.7c1.4,0,2.5,1,2.5,2.3C42.4,18.1,41.3,19.2,39.9,19.2z" }), h("path", { d: "M13.5,1l13.5,23H0L13.5,1z" })))), h("div", { class: "nav-links" }, h("div", { class: "sidebar-logo" }, h("svg", { version: "1.1", x: "0px", y: "0px", viewBox: "0 0 140.9 30", id: "mobileLogo" }, h("path", { d: "M51.9,6.1c-1.7,0-3.1-1.4-3.1-3s1.4-3,3.1-3C53.6,0,55,1.4,55,3S53.6,6.1,51.9,6.1z M49.3,23.8h5V7.7h-5V23.8z M68.5,7.7v1 c-0.8-0.7-2.3-1.4-4.1-1.4c-4.5,0-8.2,3.2-8.2,7.9c0,4.7,3.7,7.9,8.2,7.9c1.8,0,3.4-0.5,4.1-1.4v0.9c0,2.1-1.9,3.1-4.4,3.1 c-2.2,0-4-0.5-5.8-1.4V29c2.1,0.7,4.4,1,6,1c5,0,9.2-2,9.2-7.3v-15L68.5,7.7L68.5,7.7z M68.5,17.2c-0.7,1-1.9,1.4-3.2,1.4 c-2.1,0-3.8-1.2-3.8-3.4c0-2.2,1.7-3.4,3.8-3.4c1.3,0,2.5,0.6,3.2,1.5V17.2z M88.1,24.2c4,0,6.4-0.7,8.5-2V10h-11v4.7h5.8v4.1 c-0.8,0.2-1.8,0.4-3.2,0.4c-4.9,0-7.3-3.2-7.3-6.8c0-3.7,2.8-6.8,8-6.8c2.2,0,4.3,0.6,5.8,1.4V1.7c-1.5-0.6-3.4-1.1-6.1-1.1 c-7.6,0-13,5.3-13,11.8C75.5,19.1,80.4,24.2,88.1,24.2z M101.4,6.1c-1.7,0-3.1-1.4-3.1-3s1.4-3,3.1-3c1.8,0,3.2,1.4,3.2,3 S103.1,6.1,101.4,6.1z M98.8,23.8h5V7.7h-5V23.8z M115.1,15l-4.3-7.2H105l10.1,16.4l10.1-16.4h-5.8L115.1,15z M129.3,16.9h11.6 c0.1-7-4.2-9.5-8.4-9.5c-4.5,0-8.5,2.6-8.6,8.4c0,5.6,4.1,8.4,9.1,8.4c2.2,0,4.4-0.3,6.4-1.3v-4.4c-2.5,1.4-4.1,1.4-5.6,1.4 C131.7,19.8,129.5,19.2,129.3,16.9z M132.5,11.1c1.5,0,2.8,0.7,3,2.7h-6.2C129.6,11.9,131,11.1,132.5,11.1z M43.5,11.4 c1.2-1,1.8-2.4,1.8-4c0-3.1-3-6.3-7.3-6.3h-8v22.8h10.4c4.1,0,7.2-3,7.2-6.8C47.5,14.8,46.5,12.3,43.5,11.4z M35.2,5.7h2.4 C39,5.7,40,6.8,40,8c0,1.2-1,2.2-2.5,2.2h-2.4V5.7z M39.9,19.2h-4.7v-4.6h4.7c1.4,0,2.5,1,2.5,2.3C42.4,18.1,41.3,19.2,39.9,19.2z" }), h("path", { d: "M13.5,1l13.5,23H0L13.5,1z" })), h("biggive-misc-icon", { class: "bx bx-x", "background-colour": "transparent", "icon-colour": "black", icon: "MenuClose", onClick: this.closeMobileMenu })), h("div", { id: "nav-primary" }), h("div", { class: "mobile-social-icon-wrap mobile-only" }, h("slot", { name: "mobile-social-icons" })))))));
74
+ }
75
+ static get is() { return "biggive-main-menu"; }
76
+ static get encapsulation() { return "shadow"; }
77
+ static get originalStyleUrls() {
78
+ return {
79
+ "$": ["biggive-main-menu.scss"]
80
+ };
81
+ }
82
+ static get styleUrls() {
83
+ return {
84
+ "$": ["biggive-main-menu.css"]
85
+ };
86
+ }
87
+ static get methods() {
88
+ return {
89
+ "closeMobileMenuFromOutside": {
90
+ "complexType": {
91
+ "signature": "() => Promise<void>",
92
+ "parameters": [],
93
+ "references": {
94
+ "Promise": {
95
+ "location": "global"
96
+ },
97
+ "HTMLElement": {
98
+ "location": "global"
99
+ }
100
+ },
101
+ "return": "Promise<void>"
102
+ },
103
+ "docs": {
104
+ "text": "",
105
+ "tags": []
106
+ }
107
+ }
108
+ };
109
+ }
110
+ static get elementRef() { return "host"; }
111
+ }
@@ -0,0 +1,126 @@
1
+ export default {
2
+ title: 'Components/Header and Footer',
3
+ };
4
+ const Template = () => `
5
+ <biggive-main-menu>
6
+ <div slot="social-icons">
7
+ <biggive-social-icon service="Facebook" url="https://www.facebook.com" background-colour="tertiary" icon-colour="black"></biggive-social-icon>
8
+ <biggive-social-icon service="Twitter" url="https://www.twitter.com" background-colour="tertiary" icon-colour="black"></biggive-social-icon>
9
+ <biggive-social-icon service="LinkedIn" url="https://www.linkedin.com" background-colour="tertiary" icon-colour="black"></biggive-social-icon>
10
+ <biggive-social-icon service="YouTube" url="https://www.youtube.com" background-colour="tertiary" icon-colour="black"></biggive-social-icon>
11
+ <biggive-social-icon service="Instagram" url="https://www.instagram.com" background-colour="tertiary" icon-colour="black"></biggive-social-icon>
12
+ </div>
13
+ <div slot="mobile-social-icons">
14
+ <biggive-social-icon service="Facebook" url="https://www.facebook.com" background-colour="tertiary" icon-colour="black"></biggive-social-icon>
15
+ <biggive-social-icon service="Twitter" url="https://www.twitter.com" background-colour="tertiary" icon-colour="black"></biggive-social-icon>
16
+ <biggive-social-icon service="LinkedIn" url="https://www.linkedin.com" background-colour="tertiary" icon-colour="black"></biggive-social-icon>
17
+ <biggive-social-icon service="YouTube" url="https://www.youtube.com" background-colour="tertiary" icon-colour="black"></biggive-social-icon>
18
+ <biggive-social-icon service="Instagram" url="https://www.instagram.com" background-colour="tertiary" icon-colour="black"></biggive-social-icon>
19
+ </div>
20
+ <ul class="links" slot="nav-primary">
21
+ <li>
22
+ <a href="#">Explore Campaigns</a>
23
+ </li>
24
+ <li>
25
+ <a href="#">Match Funding</a>
26
+ <biggive-misc-icon class="bx bxs-chevron-down sub-menu-arrow arrow" background-colour="white" icon-colour="black" icon="CaretRight"></biggive-misc-icon>
27
+
28
+ <ul class="sub-menu">
29
+ <li>
30
+ <a href="#">Match Funding Explained</a>
31
+ </li>
32
+ <li class="more">
33
+ <span>
34
+ <a href="#">Match Funding Opportunities</a>
35
+ <!-- IMPORTANT: notice this one has a class sub-sub-menu, not sub-menu -->
36
+ <biggive-misc-icon class="bx bxs-chevron-down sub-sub-menu-arrow arrow" background-colour="white" icon-colour="black" icon="CaretRight"></biggive-misc-icon>
37
+ </span>
38
+ <ul class="sub-sub-menu">
39
+ <li>
40
+ <a href="#" class="icon-green">
41
+ Christmas Challenge
42
+ </a>
43
+ </li>
44
+ <li>
45
+ <a href="#" class="icon-children">
46
+ Champions for Children
47
+ </a>
48
+ </li>
49
+ <li>
50
+ <a href="#" class="icon-green-match">
51
+ Green Match Fund
52
+ </a>
53
+ </li>
54
+ <li>
55
+ <a href="#" class="icon-women-girls">
56
+ Women & Girls Match Fund
57
+ </a>
58
+ </li>
59
+ <li>
60
+ <a href="#" class="icon-emergency">
61
+ Emergency Match Fund
62
+ </a>
63
+ </li>
64
+ </ul>
65
+ </li>
66
+ <li>
67
+ <a href="#">Run your match funding campaign</a>
68
+ </li>
69
+ </ul>
70
+ </li>
71
+ <li>
72
+ <a href="#">About us</a>
73
+ <biggive-misc-icon class="bx bxs-chevron-down sub-menu-arrow arrow" background-colour="white" icon-colour="black" icon="CaretRight"></biggive-misc-icon>
74
+ <ul class="sub-menu">
75
+ <li>
76
+ <a href="#">Our Story</a>
77
+ </li>
78
+ <li>
79
+ <a href="#">Our People</a>
80
+ </li>
81
+ <li>
82
+ <a href="#">Our Community</a>
83
+ </li>
84
+ <li>
85
+ <a href="#">Our Fees</a>
86
+ </li>
87
+ <li>
88
+ <a href="#">FAQs</a>
89
+ </li>
90
+ </ul>
91
+ </li>
92
+ <li>
93
+ <a href="#">For Charities</a>
94
+ </li>
95
+ <li>
96
+ <a href="#">For Funders</a>
97
+ </li>
98
+ <li>
99
+ <a href="#">Resources</a>
100
+ <biggive-misc-icon class="bx bxs-chevron-down sub-menu-arrow arrow" background-colour="white" icon-colour="black" icon="CaretRight"></biggive-misc-icon>
101
+ <ul class="sub-menu">
102
+ <li>
103
+ <a href="#">Case Studies</a>
104
+ </li>
105
+ <li>
106
+ <a href="#">Webinars</a>
107
+ </li>
108
+ <li>
109
+ <a href="#">Blog</a>
110
+ </li>
111
+ <li>
112
+ <a href="#">Reports & Insights</a>
113
+ </li>
114
+ <li>
115
+ <a href="#">Press</a>
116
+ </li>
117
+ </ul>
118
+ </li>
119
+ </ul>
120
+ <ul slot="nav-secondary">
121
+ <li><a href="#">Contact us</a></li>
122
+ <li><a href="#">Charity login</a></li>
123
+ </ul>
124
+ </biggive-main-menu>
125
+ `;
126
+ export const MainMenu = Template.bind({});
@@ -273,6 +273,10 @@ a:hover {
273
273
  background-color: #000000;
274
274
  }
275
275
 
276
+ .background-colour-transparent {
277
+ background-color: transparent;
278
+ }
279
+
276
280
  .input-wrap {
277
281
  display: flex;
278
282
  justify-content: space-between;
@@ -777,6 +781,7 @@ a:hover {
777
781
  text-align: center;
778
782
  transition: all ease-in-out 0.5s;
779
783
  display: inline-block;
784
+ margin-right: 10px;
780
785
  }
781
786
  .misc-icon-item.colour-scheme-primary {
782
787
  background-color: #2C089B;
@@ -851,7 +856,7 @@ a:hover {
851
856
  fill: #000000;
852
857
  }
853
858
  .misc-icon-item a {
854
- display: block;
859
+ display: grid;
855
860
  position: relative;
856
861
  padding: 10px;
857
862
  box-sizing: border-box;
@@ -869,6 +874,7 @@ a:hover {
869
874
  text-align: center;
870
875
  transition: all ease-in-out 0.5s;
871
876
  display: inline-block;
877
+ margin-right: 10px;
872
878
  width: 30px;
873
879
  height: 30px;
874
880
  display: grid;
@@ -947,7 +953,7 @@ a:hover {
947
953
  fill: #000000;
948
954
  }
949
955
  .misc-icon-item a {
950
- display: block;
956
+ display: grid;
951
957
  position: relative;
952
958
  padding: 10px;
953
959
  box-sizing: border-box;
@@ -963,4 +969,18 @@ a:hover {
963
969
  .misc-icon-item a {
964
970
  margin: auto;
965
971
  }
972
+ }
973
+
974
+ .CaretRight {
975
+ height: 10px;
976
+ width: 10px;
977
+ margin-right: 0px;
978
+ }
979
+ .CaretRight a {
980
+ padding: 0px;
981
+ }
982
+
983
+ .MenuClose a svg {
984
+ height: 12px;
985
+ width: 12px;
966
986
  }
@@ -12,7 +12,9 @@ export class BiggiveMiscIcon {
12
12
  return icon;
13
13
  }
14
14
  render() {
15
- return (h("div", { class: 'misc-icon-item background-colour-' + this.backgroundColour }, h("a", { href: this.url }, h("svg", { width: this.getMiscIcon().icon[0], height: this.getMiscIcon().icon[1], xmlns: "http://www.w3.org/2000/svg", class: 'fill-' + this.iconColour, viewBox: '0 0 ' + this.getMiscIcon().icon[0] + ' ' + this.getMiscIcon().icon[1] }, h("path", { d: this.getMiscIcon().icon[4].toString() })))));
15
+ return (
16
+ // Note: the icon name prop is set as a css class too for any styling specific to certain icons
17
+ h("div", { class: 'misc-icon-item background-colour-' + this.backgroundColour + ' ' + this.icon }, h("a", { href: this.url }, h("svg", { width: this.getMiscIcon().icon[0], height: this.getMiscIcon().icon[1], xmlns: "http://www.w3.org/2000/svg", class: 'fill-' + this.iconColour, viewBox: '0 0 ' + this.getMiscIcon().icon[0] + ' ' + this.getMiscIcon().icon[1] }, h("path", { d: this.getMiscIcon().icon[4].toString() })))));
16
18
  }
17
19
  static get is() { return "biggive-misc-icon"; }
18
20
  static get originalStyleUrls() {
@@ -273,6 +273,10 @@ a:hover {
273
273
  background-color: #000000;
274
274
  }
275
275
 
276
+ .background-colour-transparent {
277
+ background-color: transparent;
278
+ }
279
+
276
280
  .input-wrap {
277
281
  display: flex;
278
282
  justify-content: space-between;
@@ -273,6 +273,10 @@ a:hover {
273
273
  background-color: #000000;
274
274
  }
275
275
 
276
+ .background-colour-transparent {
277
+ background-color: transparent;
278
+ }
279
+
276
280
  .input-wrap {
277
281
  display: flex;
278
282
  justify-content: space-between;
@@ -273,6 +273,10 @@ a:hover {
273
273
  background-color: #000000;
274
274
  }
275
275
 
276
+ .background-colour-transparent {
277
+ background-color: transparent;
278
+ }
279
+
276
280
  .input-wrap {
277
281
  display: flex;
278
282
  justify-content: space-between;
@@ -273,6 +273,10 @@ a:hover {
273
273
  background-color: #000000;
274
274
  }
275
275
 
276
+ .background-colour-transparent {
277
+ background-color: transparent;
278
+ }
279
+
276
280
  .input-wrap {
277
281
  display: flex;
278
282
  justify-content: space-between;
@@ -273,6 +273,10 @@ a:hover {
273
273
  background-color: #000000;
274
274
  }
275
275
 
276
+ .background-colour-transparent {
277
+ background-color: transparent;
278
+ }
279
+
276
280
  .input-wrap {
277
281
  display: flex;
278
282
  justify-content: space-between;
@@ -273,6 +273,10 @@ a:hover {
273
273
  background-color: #000000;
274
274
  }
275
275
 
276
+ .background-colour-transparent {
277
+ background-color: transparent;
278
+ }
279
+
276
280
  .input-wrap {
277
281
  display: flex;
278
282
  justify-content: space-between;
@@ -273,6 +273,10 @@ a:hover {
273
273
  background-color: #000000;
274
274
  }
275
275
 
276
+ .background-colour-transparent {
277
+ background-color: transparent;
278
+ }
279
+
276
280
  .input-wrap {
277
281
  display: flex;
278
282
  justify-content: space-between;
@@ -273,6 +273,10 @@ a:hover {
273
273
  background-color: #000000;
274
274
  }
275
275
 
276
+ .background-colour-transparent {
277
+ background-color: transparent;
278
+ }
279
+
276
280
  .input-wrap {
277
281
  display: flex;
278
282
  justify-content: space-between;
@@ -273,6 +273,10 @@ a:hover {
273
273
  background-color: #000000;
274
274
  }
275
275
 
276
+ .background-colour-transparent {
277
+ background-color: transparent;
278
+ }
279
+
276
280
  .input-wrap {
277
281
  display: flex;
278
282
  justify-content: space-between;
@@ -273,6 +273,10 @@ a:hover {
273
273
  background-color: #000000;
274
274
  }
275
275
 
276
+ .background-colour-transparent {
277
+ background-color: transparent;
278
+ }
279
+
276
280
  .input-wrap {
277
281
  display: flex;
278
282
  justify-content: space-between;
@@ -273,6 +273,10 @@ a:hover {
273
273
  background-color: #000000;
274
274
  }
275
275
 
276
+ .background-colour-transparent {
277
+ background-color: transparent;
278
+ }
279
+
276
280
  .input-wrap {
277
281
  display: flex;
278
282
  justify-content: space-between;
@@ -778,6 +782,7 @@ a:hover {
778
782
  text-align: center;
779
783
  transition: all ease-in-out 0.5s;
780
784
  display: inline-block;
785
+ margin-right: 10px;
781
786
  }
782
787
  .social-icon-item.colour-scheme-primary {
783
788
  background-color: #2C089B;
@@ -852,7 +857,7 @@ a:hover {
852
857
  fill: #000000;
853
858
  }
854
859
  .social-icon-item a {
855
- display: block;
860
+ display: grid;
856
861
  position: relative;
857
862
  padding: 10px;
858
863
  box-sizing: border-box;
@@ -870,6 +875,7 @@ a:hover {
870
875
  text-align: center;
871
876
  transition: all ease-in-out 0.5s;
872
877
  display: inline-block;
878
+ margin-right: 10px;
873
879
  width: 30px;
874
880
  height: 30px;
875
881
  }
@@ -946,7 +952,7 @@ a:hover {
946
952
  fill: #000000;
947
953
  }
948
954
  .social-icon-item a {
949
- display: block;
955
+ display: grid;
950
956
  position: relative;
951
957
  padding: 10px;
952
958
  box-sizing: border-box;
@@ -273,6 +273,10 @@ a:hover {
273
273
  background-color: #000000;
274
274
  }
275
275
 
276
+ .background-colour-transparent {
277
+ background-color: transparent;
278
+ }
279
+
276
280
  .input-wrap {
277
281
  display: flex;
278
282
  justify-content: space-between;
@@ -273,6 +273,10 @@ a:hover {
273
273
  background-color: #000000;
274
274
  }
275
275
 
276
+ .background-colour-transparent {
277
+ background-color: transparent;
278
+ }
279
+
276
280
  .input-wrap {
277
281
  display: flex;
278
282
  justify-content: space-between;
@@ -273,6 +273,10 @@ a:hover {
273
273
  background-color: #000000;
274
274
  }
275
275
 
276
+ .background-colour-transparent {
277
+ background-color: transparent;
278
+ }
279
+
276
280
  .input-wrap {
277
281
  display: flex;
278
282
  justify-content: space-between;
@@ -273,6 +273,10 @@ a:hover {
273
273
  background-color: #000000;
274
274
  }
275
275
 
276
+ .background-colour-transparent {
277
+ background-color: transparent;
278
+ }
279
+
276
280
  .input-wrap {
277
281
  display: flex;
278
282
  justify-content: space-between;
@@ -273,6 +273,10 @@ a:hover {
273
273
  background-color: #000000;
274
274
  }
275
275
 
276
+ .background-colour-transparent {
277
+ background-color: transparent;
278
+ }
279
+
276
280
  .input-wrap {
277
281
  display: flex;
278
282
  justify-content: space-between;
@@ -273,6 +273,10 @@ a:hover {
273
273
  background-color: #000000;
274
274
  }
275
275
 
276
+ .background-colour-transparent {
277
+ background-color: transparent;
278
+ }
279
+
276
280
  .input-wrap {
277
281
  display: flex;
278
282
  justify-content: space-between;
@@ -1,6 +1,6 @@
1
1
  import { faAccessibleIcon, faFacebookF, faTwitter, faYoutube, faInstagram, faLinkedinIn } from '@fortawesome/free-brands-svg-icons';
2
- import { faBaby, faBalanceScale, faBlind, faBook, faCampground, faChild, faFutbol, faHeartbeat, faHospital, faInfoCircle, faMedal, faMicroscope, faMortarPestle, faParachuteBox, faPaw, faPeopleCarry, faPlaceOfWorship, faPlus, faRainbow, faRibbon, faSeedling, faTheaterMasks, faUniversalAccess, faUserGraduate, faVenus, } from '@fortawesome/pro-solid-svg-icons';
3
- import { faUsers } from '@fortawesome/pro-duotone-svg-icons';
2
+ import { faBaby, faBalanceScale, faBars, faBlind, faBook, faCampground, faChild, faFutbol, faHeartbeat, faHospital, faInfoCircle, faMedal, faMicroscope, faMortarPestle, faParachuteBox, faPaw, faPeopleCarry, faPlaceOfWorship, faPlus, faRainbow, faRibbon, faSeedling, faTheaterMasks, faUniversalAccess, faUserGraduate, faVenus, faX, } from '@fortawesome/pro-solid-svg-icons';
3
+ import { faUsers, faCaretRight } from '@fortawesome/pro-duotone-svg-icons';
4
4
  import { faHeadSideMedical, faHomeHeart, faHeart, faAlarmClock } from '@fortawesome/pro-solid-svg-icons';
5
5
  import { faTimer } from '@fortawesome/pro-regular-svg-icons';
6
6
  export class FontAwesomeIconsService {
@@ -90,6 +90,18 @@ export class FontAwesomeIconsService {
90
90
  name: 'Timer',
91
91
  icon: faTimer,
92
92
  },
93
+ {
94
+ name: 'CaretRight',
95
+ icon: faCaretRight,
96
+ },
97
+ {
98
+ name: 'MenuOpen',
99
+ icon: faBars,
100
+ },
101
+ {
102
+ name: 'MenuClose',
103
+ icon: faX,
104
+ },
93
105
  ];
94
106
  }
95
107
  static getCategories() {
@@ -1,7 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
2
  import { d as defineCustomElement$2 } from './biggive-button2.js';
3
3
 
4
- const biggiveArticleCardCss = "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}.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;position:relative;text-align:left;padding:30px}.container .sleeve{padding:30px 30px 0 30px;clip-path:polygon(0% 0%, 0% 0%, 100% 0%, 100% 0, 100% 100%, 100% 100%, 50px 100%, 0 calc(100% - 50px))}.container .slug{margin-bottom:5px}.container .date{font-size:13px;line-height:17px;margin-bottom:15px}.container h3{font-size:20px;line-height:24px;font-weight:bold;margin-bottom:15px}.container h3 a,.container h3 a:hover{text-decoration:none}.container .image-group{margin-bottom:15px}.container .image-group .image-wrap{border-radius:50%;width:60px;height:60px;background-size:cover;background-position:center center;margin-bottom:5px}.container .image-group .image-wrap img{display:none}.container .image-group .image-label{font-size:13px;line-height:17px}";
4
+ const biggiveArticleCardCss = "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;position:relative;text-align:left;padding:30px}.container .sleeve{padding:30px 30px 0 30px;clip-path:polygon(0% 0%, 0% 0%, 100% 0%, 100% 0, 100% 100%, 100% 100%, 50px 100%, 0 calc(100% - 50px))}.container .slug{margin-bottom:5px}.container .date{font-size:13px;line-height:17px;margin-bottom:15px}.container h3{font-size:20px;line-height:24px;font-weight:bold;margin-bottom:15px}.container h3 a,.container h3 a:hover{text-decoration:none}.container .image-group{margin-bottom:15px}.container .image-group .image-wrap{border-radius:50%;width:60px;height:60px;background-size:cover;background-position:center center;margin-bottom:5px}.container .image-group .image-wrap img{display:none}.container .image-group .image-label{font-size:13px;line-height:17px}";
5
5
 
6
6
  const BiggiveArticleCard$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
7
7
  constructor() {