@biggive/components 202506171041.0.0 → 202506180711.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (177) hide show
  1. package/package.json +6 -3
  2. package/dist/components/biggive-accordion-entry.d.ts +0 -11
  3. package/dist/components/biggive-accordion-entry.js +0 -40
  4. package/dist/components/biggive-accordion-entry.js.map +0 -1
  5. package/dist/components/biggive-accordion.d.ts +0 -11
  6. package/dist/components/biggive-accordion.js +0 -63
  7. package/dist/components/biggive-accordion.js.map +0 -1
  8. package/dist/components/biggive-article-card.d.ts +0 -11
  9. package/dist/components/biggive-article-card.js +0 -94
  10. package/dist/components/biggive-article-card.js.map +0 -1
  11. package/dist/components/biggive-back-to-top.d.ts +0 -11
  12. package/dist/components/biggive-back-to-top.js +0 -36
  13. package/dist/components/biggive-back-to-top.js.map +0 -1
  14. package/dist/components/biggive-basic-card.d.ts +0 -11
  15. package/dist/components/biggive-basic-card.js +0 -100
  16. package/dist/components/biggive-basic-card.js.map +0 -1
  17. package/dist/components/biggive-biography-card.d.ts +0 -11
  18. package/dist/components/biggive-biography-card.js +0 -84
  19. package/dist/components/biggive-biography-card.js.map +0 -1
  20. package/dist/components/biggive-boxed-content.d.ts +0 -11
  21. package/dist/components/biggive-boxed-content.js +0 -71
  22. package/dist/components/biggive-boxed-content.js.map +0 -1
  23. package/dist/components/biggive-branded-image.d.ts +0 -11
  24. package/dist/components/biggive-branded-image.js +0 -60
  25. package/dist/components/biggive-branded-image.js.map +0 -1
  26. package/dist/components/biggive-button.d.ts +0 -11
  27. package/dist/components/biggive-button.js +0 -9
  28. package/dist/components/biggive-button.js.map +0 -1
  29. package/dist/components/biggive-button2.js +0 -93
  30. package/dist/components/biggive-button2.js.map +0 -1
  31. package/dist/components/biggive-call-to-action.d.ts +0 -11
  32. package/dist/components/biggive-call-to-action.js +0 -111
  33. package/dist/components/biggive-call-to-action.js.map +0 -1
  34. package/dist/components/biggive-campaign-card-filter-grid.d.ts +0 -11
  35. package/dist/components/biggive-campaign-card-filter-grid.js +0 -312
  36. package/dist/components/biggive-campaign-card-filter-grid.js.map +0 -1
  37. package/dist/components/biggive-campaign-card.d.ts +0 -11
  38. package/dist/components/biggive-campaign-card.js +0 -109
  39. package/dist/components/biggive-campaign-card.js.map +0 -1
  40. package/dist/components/biggive-campaign-highlights.d.ts +0 -11
  41. package/dist/components/biggive-campaign-highlights.js +0 -71
  42. package/dist/components/biggive-campaign-highlights.js.map +0 -1
  43. package/dist/components/biggive-container-card.d.ts +0 -11
  44. package/dist/components/biggive-container-card.js +0 -53
  45. package/dist/components/biggive-container-card.js.map +0 -1
  46. package/dist/components/biggive-cookie-banner.d.ts +0 -11
  47. package/dist/components/biggive-cookie-banner.js +0 -117
  48. package/dist/components/biggive-cookie-banner.js.map +0 -1
  49. package/dist/components/biggive-footer.d.ts +0 -11
  50. package/dist/components/biggive-footer.js +0 -87
  51. package/dist/components/biggive-footer.js.map +0 -1
  52. package/dist/components/biggive-form-field-select.d.ts +0 -11
  53. package/dist/components/biggive-form-field-select.js +0 -9
  54. package/dist/components/biggive-form-field-select.js.map +0 -1
  55. package/dist/components/biggive-form-field-select2.js +0 -91
  56. package/dist/components/biggive-form-field-select2.js.map +0 -1
  57. package/dist/components/biggive-form.d.ts +0 -11
  58. package/dist/components/biggive-form.js +0 -36
  59. package/dist/components/biggive-form.js.map +0 -1
  60. package/dist/components/biggive-formatted-text.d.ts +0 -11
  61. package/dist/components/biggive-formatted-text.js +0 -46
  62. package/dist/components/biggive-formatted-text.js.map +0 -1
  63. package/dist/components/biggive-grid.d.ts +0 -11
  64. package/dist/components/biggive-grid.js +0 -48
  65. package/dist/components/biggive-grid.js.map +0 -1
  66. package/dist/components/biggive-heading.d.ts +0 -11
  67. package/dist/components/biggive-heading.js +0 -58
  68. package/dist/components/biggive-heading.js.map +0 -1
  69. package/dist/components/biggive-hero-image.d.ts +0 -11
  70. package/dist/components/biggive-hero-image.js +0 -128
  71. package/dist/components/biggive-hero-image.js.map +0 -1
  72. package/dist/components/biggive-icon-button.d.ts +0 -11
  73. package/dist/components/biggive-icon-button.js +0 -87
  74. package/dist/components/biggive-icon-button.js.map +0 -1
  75. package/dist/components/biggive-image-button.d.ts +0 -11
  76. package/dist/components/biggive-image-button.js +0 -83
  77. package/dist/components/biggive-image-button.js.map +0 -1
  78. package/dist/components/biggive-image-card.d.ts +0 -11
  79. package/dist/components/biggive-image-card.js +0 -77
  80. package/dist/components/biggive-image-card.js.map +0 -1
  81. package/dist/components/biggive-image-feature.d.ts +0 -11
  82. package/dist/components/biggive-image-feature.js +0 -88
  83. package/dist/components/biggive-image-feature.js.map +0 -1
  84. package/dist/components/biggive-image.d.ts +0 -11
  85. package/dist/components/biggive-image.js +0 -86
  86. package/dist/components/biggive-image.js.map +0 -1
  87. package/dist/components/biggive-main-menu.d.ts +0 -11
  88. package/dist/components/biggive-main-menu.js +0 -153
  89. package/dist/components/biggive-main-menu.js.map +0 -1
  90. package/dist/components/biggive-misc-icon.d.ts +0 -11
  91. package/dist/components/biggive-misc-icon.js +0 -9
  92. package/dist/components/biggive-misc-icon.js.map +0 -1
  93. package/dist/components/biggive-misc-icon2.js +0 -50
  94. package/dist/components/biggive-misc-icon2.js.map +0 -1
  95. package/dist/components/biggive-nav-group.d.ts +0 -11
  96. package/dist/components/biggive-nav-group.js +0 -42
  97. package/dist/components/biggive-nav-group.js.map +0 -1
  98. package/dist/components/biggive-nav-item.d.ts +0 -11
  99. package/dist/components/biggive-nav-item.js +0 -40
  100. package/dist/components/biggive-nav-item.js.map +0 -1
  101. package/dist/components/biggive-page-column.d.ts +0 -11
  102. package/dist/components/biggive-page-column.js +0 -36
  103. package/dist/components/biggive-page-column.js.map +0 -1
  104. package/dist/components/biggive-page-columns.d.ts +0 -11
  105. package/dist/components/biggive-page-columns.js +0 -42
  106. package/dist/components/biggive-page-columns.js.map +0 -1
  107. package/dist/components/biggive-page-section.d.ts +0 -11
  108. package/dist/components/biggive-page-section.js +0 -73
  109. package/dist/components/biggive-page-section.js.map +0 -1
  110. package/dist/components/biggive-popup.d.ts +0 -11
  111. package/dist/components/biggive-popup.js +0 -9
  112. package/dist/components/biggive-popup.js.map +0 -1
  113. package/dist/components/biggive-popup2.js +0 -58
  114. package/dist/components/biggive-popup2.js.map +0 -1
  115. package/dist/components/biggive-progress-bar.d.ts +0 -11
  116. package/dist/components/biggive-progress-bar.js +0 -9
  117. package/dist/components/biggive-progress-bar.js.map +0 -1
  118. package/dist/components/biggive-progress-bar2.js +0 -52
  119. package/dist/components/biggive-progress-bar2.js.map +0 -1
  120. package/dist/components/biggive-quote.d.ts +0 -11
  121. package/dist/components/biggive-quote.js +0 -53
  122. package/dist/components/biggive-quote.js.map +0 -1
  123. package/dist/components/biggive-sheet.d.ts +0 -11
  124. package/dist/components/biggive-sheet.js +0 -66
  125. package/dist/components/biggive-sheet.js.map +0 -1
  126. package/dist/components/biggive-social-icon.d.ts +0 -11
  127. package/dist/components/biggive-social-icon.js +0 -9
  128. package/dist/components/biggive-social-icon.js.map +0 -1
  129. package/dist/components/biggive-social-icon2.js +0 -63
  130. package/dist/components/biggive-social-icon2.js.map +0 -1
  131. package/dist/components/biggive-tab.d.ts +0 -11
  132. package/dist/components/biggive-tab.js +0 -39
  133. package/dist/components/biggive-tab.js.map +0 -1
  134. package/dist/components/biggive-tabbed-content.d.ts +0 -11
  135. package/dist/components/biggive-tabbed-content.js +0 -158
  136. package/dist/components/biggive-tabbed-content.js.map +0 -1
  137. package/dist/components/biggive-table.d.ts +0 -11
  138. package/dist/components/biggive-table.js +0 -56
  139. package/dist/components/biggive-table.js.map +0 -1
  140. package/dist/components/biggive-text-input.d.ts +0 -11
  141. package/dist/components/biggive-text-input.js +0 -56
  142. package/dist/components/biggive-text-input.js.map +0 -1
  143. package/dist/components/biggive-timeline-entry.d.ts +0 -11
  144. package/dist/components/biggive-timeline-entry.js +0 -39
  145. package/dist/components/biggive-timeline-entry.js.map +0 -1
  146. package/dist/components/biggive-timeline.d.ts +0 -11
  147. package/dist/components/biggive-timeline.js +0 -176
  148. package/dist/components/biggive-timeline.js.map +0 -1
  149. package/dist/components/biggive-totalizer-ticker-item.d.ts +0 -11
  150. package/dist/components/biggive-totalizer-ticker-item.js +0 -39
  151. package/dist/components/biggive-totalizer-ticker-item.js.map +0 -1
  152. package/dist/components/biggive-totalizer.d.ts +0 -11
  153. package/dist/components/biggive-totalizer.js +0 -136
  154. package/dist/components/biggive-totalizer.js.map +0 -1
  155. package/dist/components/biggive-video-feature.d.ts +0 -11
  156. package/dist/components/biggive-video-feature.js +0 -90
  157. package/dist/components/biggive-video-feature.js.map +0 -1
  158. package/dist/components/biggive-video.d.ts +0 -11
  159. package/dist/components/biggive-video.js +0 -53
  160. package/dist/components/biggive-video.js.map +0 -1
  161. package/dist/components/fontawesome-icons.js +0 -160
  162. package/dist/components/fontawesome-icons.js.map +0 -1
  163. package/dist/components/helper-methods.js +0 -12
  164. package/dist/components/helper-methods.js.map +0 -1
  165. package/dist/components/index.d.ts +0 -138
  166. package/dist/components/index.js +0 -55
  167. package/dist/components/index.js.map +0 -1
  168. package/dist/components/index2.js +0 -53
  169. package/dist/components/index2.js.map +0 -1
  170. package/dist/components/philco-footer.d.ts +0 -11
  171. package/dist/components/philco-footer.js +0 -45
  172. package/dist/components/philco-footer.js.map +0 -1
  173. package/dist/components/philco-main-menu.d.ts +0 -11
  174. package/dist/components/philco-main-menu.js +0 -70
  175. package/dist/components/philco-main-menu.js.map +0 -1
  176. package/dist/components/video.js +0 -19
  177. package/dist/components/video.js.map +0 -1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@biggive/components",
3
3
  "_comment": "Version number below is automatically replaced during CircleCI build.",
4
- "version": "202506171041.0.0",
4
+ "version": "202506180711.0.0",
5
5
  "description": "Big Give Components",
6
6
  "main": "dist/index.cjs.js",
7
7
  "module": "dist/index.js",
@@ -41,14 +41,14 @@
41
41
  "@fortawesome/pro-duotone-svg-icons": "^6.6.0",
42
42
  "@fortawesome/pro-regular-svg-icons": "^6.6.0",
43
43
  "@fortawesome/pro-solid-svg-icons": "^6.6.0",
44
- "@stencil/core": "^4.31.0"
44
+ "@stencil/core": "^4.35.1"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@chromatic-com/storybook": "^4.0.0",
48
48
  "@eslint/eslintrc": "^3.2.0",
49
49
  "@eslint/js": "^9.19.0",
50
50
  "@stencil-community/eslint-plugin": "~0.10.0",
51
- "@stencil/angular-output-target": "~0.10.0",
51
+ "@stencil/angular-output-target": "^1.0.0",
52
52
  "@stencil/sass": "3.0.12",
53
53
  "@storybook/addon-docs": "^9.0.11",
54
54
  "@storybook/addon-links": "^9.0.11",
@@ -66,6 +66,9 @@
66
66
  "puppeteer": "24.9.*",
67
67
  "storybook": "^9.0.11"
68
68
  },
69
+ "engines": {
70
+ "node": ">=22.12"
71
+ },
69
72
  "license": "MIT",
70
73
  "overrides": {
71
74
  "storybook": "$storybook"
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface BiggiveAccordionEntry extends Components.BiggiveAccordionEntry, HTMLElement {}
4
- export const BiggiveAccordionEntry: {
5
- prototype: BiggiveAccordionEntry;
6
- new (): BiggiveAccordionEntry;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,40 +0,0 @@
1
- import { proxyCustomElement, HTMLElement } from '@stencil/core/internal/client';
2
-
3
- const biggiveAccordionEntryCss = "a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}:host{display:block}";
4
-
5
- const BiggiveAccordionEntry$1 = /*@__PURE__*/ proxyCustomElement(class BiggiveAccordionEntry extends HTMLElement {
6
- constructor() {
7
- super();
8
- this.__registerHost();
9
- this.__attachShadow();
10
- this.heading = '';
11
- }
12
- render() {
13
- return null;
14
- }
15
- get host() { return this; }
16
- static get style() { return biggiveAccordionEntryCss; }
17
- }, [1, "biggive-accordion-entry", {
18
- "heading": [1]
19
- }]);
20
- function defineCustomElement$1() {
21
- if (typeof customElements === "undefined") {
22
- return;
23
- }
24
- const components = ["biggive-accordion-entry"];
25
- components.forEach(tagName => { switch (tagName) {
26
- case "biggive-accordion-entry":
27
- if (!customElements.get(tagName)) {
28
- customElements.define(tagName, BiggiveAccordionEntry$1);
29
- }
30
- break;
31
- } });
32
- }
33
-
34
- const BiggiveAccordionEntry = BiggiveAccordionEntry$1;
35
- const defineCustomElement = defineCustomElement$1;
36
-
37
- export { BiggiveAccordionEntry, defineCustomElement };
38
- //# sourceMappingURL=biggive-accordion-entry.js.map
39
-
40
- //# sourceMappingURL=biggive-accordion-entry.js.map
@@ -1 +0,0 @@
1
- {"file":"biggive-accordion-entry.js","mappings":";;AAAA,MAAM,wBAAwB,GAAG,6FAA6F;;MCOjHA,uBAAqB,iBAAAC,kBAAA,CAAA,MAAA,qBAAA,SAAA,WAAA,CAAA;AALlC,IAAA,WAAA,GAAA;;;;AAQU,QAAA,IAAO,CAAA,OAAA,GAAW,EAAE;AAK7B;IAHC,MAAM,GAAA;AACJ,QAAA,OAAO,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["BiggiveAccordionEntry","__stencil_proxyCustomElement"],"sources":["src/components/biggive-accordion-entry/biggive-accordion-entry.scss?tag=biggive-accordion-entry&encapsulation=shadow","src/components/biggive-accordion-entry/biggive-accordion-entry.tsx"],"sourcesContent":[":host {\n display: block;\n}\n","import { Component, Prop, Element } from '@stencil/core';\n\n@Component({\n tag: 'biggive-accordion-entry',\n styleUrl: 'biggive-accordion-entry.scss',\n shadow: true,\n})\nexport class BiggiveAccordionEntry {\n @Element() host: HTMLBiggiveAccordionEntryElement;\n\n @Prop() heading: string = '';\n\n render() {\n return null;\n }\n}\n"],"version":3}
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface BiggiveAccordion extends Components.BiggiveAccordion, HTMLElement {}
4
- export const BiggiveAccordion: {
5
- prototype: BiggiveAccordion;
6
- new (): BiggiveAccordion;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,63 +0,0 @@
1
- import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
-
3
- const biggiveAccordionCss = "a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.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}.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}.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-cc-red:hover,.text-colour-brand-cc-red{color:#B30510}.text-colour-hover-brand-wgmf-purple:hover,.text-colour-brand-wgmf-purple{color:#6E0887}.text-colour-hover-brand-gmf-green:hover,.text-colour-brand-gmf-green{color:#50B400}.text-colour-hover-brand-er-green:hover,.text-colour-brand-er-green{color:#50B400}.text-colour-hover-brand-er-dark-green:hover,.text-colour-brand-er-dark-green{color:#002413}.text-colour-hover-brand-er-dark-blue:hover,.text-colour-brand-er-dark-blue{color:#0c0068}.text-colour-hover-brand-er-teal:hover,.text-colour-brand-er-teal{color:#00a76d}.text-colour-hover-brand-emf-yellow:hover,.text-colour-brand-emf-yellow{color:#FFE500}.text-colour-hover-brand-c4c-orange:hover,.text-colour-brand-c4c-orange{color:#F07D00}.text-colour-hover-brand-afa-pink:hover,.text-colour-brand-afa-pink{color:#BF387D}.text-colour-hover-brand-scw-magenta:hover,.text-colour-brand-scw-magenta{color:#EE2C65}.text-colour-hover-brand-mhf-turquoise:hover,.text-colour-brand-mhf-turquoise{color:#62CFC9}.text-colour-hover-brand-grey:hover,.text-colour-brand-grey{color:#CBC8C8}.text-colour-hover-white:hover,.text-colour-white{color:#FFFFFF}.text-colour-hover-black:hover,.text-colour-black{color:#000000}.text-colour-hover-grey-extra-light:hover,.text-colour-grey-extra-light{color:#D7D7D7}.text-colour-hover-grey-light:hover,.text-colour-grey-light{color:#E8E8E8}.text-colour-hover-grey-medium:hover,.text-colour-grey-medium{color:#8A8A8A}.text-colour-hover-grey-dark:hover,.text-colour-grey-dark{color:#4A4A4A}.text-colour-hover-philco-orange:hover,.text-colour-philco-orange{color:#f18a00}.text-colour-hover-philco-gray-90:hover,.text-colour-philco-gray-90{color:#1d1d1B}.text-colour-hover-philco-gray-70:hover,.text-colour-philco-gray-70{color:#7D7D7D}.text-colour-hover-philco-white:hover,.text-colour-philco-white{color:#FFFFFF}.text-colour-hover-philco-success-green:hover,.text-colour-philco-success-green{color:#1Ec691}.text-colour-hover-philco-error-coral:hover,.text-colour-philco-error-coral{color:#F54242}.text-colour-hover-philco-gray-30:hover,.text-colour-philco-gray-30{color:#BBBBBB}.text-colour-hover-philco-gray-20:hover,.text-colour-philco-gray-20{color:#F6F6F6}:host{display:contents}.container{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;position:relative}.container .entry h3.heading{position:relative;margin:25px 0 0 0;padding:15px 60px 10px 20px;border-bottom:1px solid #000000;cursor:pointer}.container .entry h3.heading span.arrow{display:block;position:absolute;right:20px;top:10px;width:40px;height:20px;text-align:center}.container .entry .content{overflow:hidden;max-height:0;padding:0 20px}.container .entry.expanded .content{max-height:100%}.container .entry.expanded span.arrow{transform:rotate(-180deg)}.container.heading-colour-primary .entry h3.heading svg path{stroke:#2C089B}.container.heading-colour-primary h3.heading{color:#2C089B}.container.text-colour-primary .content{color:#2C089B}.container.heading-colour-secondary .entry h3.heading svg path{stroke:#2AF135}.container.heading-colour-secondary h3.heading{color:#2AF135}.container.text-colour-secondary .content{color:#2AF135}.container.heading-colour-tertiary .entry h3.heading svg path{stroke:#FF7272}.container.heading-colour-tertiary h3.heading{color:#FF7272}.container.text-colour-tertiary .content{color:#FF7272}.container.heading-colour-brand-cc-red .entry h3.heading svg path{stroke:#B30510}.container.heading-colour-brand-cc-red h3.heading{color:#B30510}.container.text-colour-brand-cc-red .content{color:#B30510}.container.heading-colour-brand-wgmf-purple .entry h3.heading svg path{stroke:#6E0887}.container.heading-colour-brand-wgmf-purple h3.heading{color:#6E0887}.container.text-colour-brand-wgmf-purple .content{color:#6E0887}.container.heading-colour-brand-gmf-green .entry h3.heading svg path{stroke:#50B400}.container.heading-colour-brand-gmf-green h3.heading{color:#50B400}.container.text-colour-brand-gmf-green .content{color:#50B400}.container.heading-colour-brand-er-green .entry h3.heading svg path{stroke:#50B400}.container.heading-colour-brand-er-green h3.heading{color:#50B400}.container.text-colour-brand-er-green .content{color:#50B400}.container.heading-colour-brand-er-dark-green .entry h3.heading svg path{stroke:#002413}.container.heading-colour-brand-er-dark-green h3.heading{color:#002413}.container.text-colour-brand-er-dark-green .content{color:#002413}.container.heading-colour-brand-er-dark-blue .entry h3.heading svg path{stroke:#0c0068}.container.heading-colour-brand-er-dark-blue h3.heading{color:#0c0068}.container.text-colour-brand-er-dark-blue .content{color:#0c0068}.container.heading-colour-brand-er-teal .entry h3.heading svg path{stroke:#00a76d}.container.heading-colour-brand-er-teal h3.heading{color:#00a76d}.container.text-colour-brand-er-teal .content{color:#00a76d}.container.heading-colour-brand-emf-yellow .entry h3.heading svg path{stroke:#FFE500}.container.heading-colour-brand-emf-yellow h3.heading{color:#FFE500}.container.text-colour-brand-emf-yellow .content{color:#FFE500}.container.heading-colour-brand-c4c-orange .entry h3.heading svg path{stroke:#F07D00}.container.heading-colour-brand-c4c-orange h3.heading{color:#F07D00}.container.text-colour-brand-c4c-orange .content{color:#F07D00}.container.heading-colour-brand-afa-pink .entry h3.heading svg path{stroke:#BF387D}.container.heading-colour-brand-afa-pink h3.heading{color:#BF387D}.container.text-colour-brand-afa-pink .content{color:#BF387D}.container.heading-colour-brand-scw-magenta .entry h3.heading svg path{stroke:#EE2C65}.container.heading-colour-brand-scw-magenta h3.heading{color:#EE2C65}.container.text-colour-brand-scw-magenta .content{color:#EE2C65}.container.heading-colour-brand-mhf-turquoise .entry h3.heading svg path{stroke:#62CFC9}.container.heading-colour-brand-mhf-turquoise h3.heading{color:#62CFC9}.container.text-colour-brand-mhf-turquoise .content{color:#62CFC9}.container.heading-colour-brand-grey .entry h3.heading svg path{stroke:#CBC8C8}.container.heading-colour-brand-grey h3.heading{color:#CBC8C8}.container.text-colour-brand-grey .content{color:#CBC8C8}.container.heading-colour-white .entry h3.heading svg path{stroke:#FFFFFF}.container.heading-colour-white h3.heading{color:#FFFFFF}.container.text-colour-white .content{color:#FFFFFF}.container.heading-colour-black .entry h3.heading svg path{stroke:#000000}.container.heading-colour-black h3.heading{color:#000000}.container.text-colour-black .content{color:#000000}.container.heading-colour-grey-extra-light .entry h3.heading svg path{stroke:#D7D7D7}.container.heading-colour-grey-extra-light h3.heading{color:#D7D7D7}.container.text-colour-grey-extra-light .content{color:#D7D7D7}.container.heading-colour-grey-light .entry h3.heading svg path{stroke:#E8E8E8}.container.heading-colour-grey-light h3.heading{color:#E8E8E8}.container.text-colour-grey-light .content{color:#E8E8E8}.container.heading-colour-grey-medium .entry h3.heading svg path{stroke:#8A8A8A}.container.heading-colour-grey-medium h3.heading{color:#8A8A8A}.container.text-colour-grey-medium .content{color:#8A8A8A}.container.heading-colour-grey-dark .entry h3.heading svg path{stroke:#4A4A4A}.container.heading-colour-grey-dark h3.heading{color:#4A4A4A}.container.text-colour-grey-dark .content{color:#4A4A4A}.container.heading-colour-philco-orange .entry h3.heading svg path{stroke:#f18a00}.container.heading-colour-philco-orange h3.heading{color:#f18a00}.container.text-colour-philco-orange .content{color:#f18a00}.container.heading-colour-philco-gray-90 .entry h3.heading svg path{stroke:#1d1d1B}.container.heading-colour-philco-gray-90 h3.heading{color:#1d1d1B}.container.text-colour-philco-gray-90 .content{color:#1d1d1B}.container.heading-colour-philco-gray-70 .entry h3.heading svg path{stroke:#7D7D7D}.container.heading-colour-philco-gray-70 h3.heading{color:#7D7D7D}.container.text-colour-philco-gray-70 .content{color:#7D7D7D}.container.heading-colour-philco-white .entry h3.heading svg path{stroke:#FFFFFF}.container.heading-colour-philco-white h3.heading{color:#FFFFFF}.container.text-colour-philco-white .content{color:#FFFFFF}.container.heading-colour-philco-success-green .entry h3.heading svg path{stroke:#1Ec691}.container.heading-colour-philco-success-green h3.heading{color:#1Ec691}.container.text-colour-philco-success-green .content{color:#1Ec691}.container.heading-colour-philco-error-coral .entry h3.heading svg path{stroke:#F54242}.container.heading-colour-philco-error-coral h3.heading{color:#F54242}.container.text-colour-philco-error-coral .content{color:#F54242}.container.heading-colour-philco-gray-30 .entry h3.heading svg path{stroke:#BBBBBB}.container.heading-colour-philco-gray-30 h3.heading{color:#BBBBBB}.container.text-colour-philco-gray-30 .content{color:#BBBBBB}.container.heading-colour-philco-gray-20 .entry h3.heading svg path{stroke:#F6F6F6}.container.heading-colour-philco-gray-20 h3.heading{color:#F6F6F6}.container.text-colour-philco-gray-20 .content{color:#F6F6F6}";
4
-
5
- const BiggiveAccordion$1 = /*@__PURE__*/ proxyCustomElement(class BiggiveAccordion extends HTMLElement {
6
- constructor() {
7
- super();
8
- this.__registerHost();
9
- this.__attachShadow();
10
- this.spaceBelow = 0;
11
- this.textColour = 'black';
12
- this.headingColour = 'primary';
13
- }
14
- componentWillLoad() {
15
- this.children = Array.from(this.host.children);
16
- }
17
- toggleSection(e) {
18
- const target = e.target;
19
- const entry = target.closest('.entry');
20
- const arrow = entry.querySelector('.arrow');
21
- if (entry.classList.contains('expanded')) {
22
- entry.classList.remove('expanded');
23
- arrow.setAttribute('title', 'Expand section');
24
- }
25
- else {
26
- entry.classList.add('expanded');
27
- arrow.setAttribute('title', 'Collapse section');
28
- }
29
- }
30
- render() {
31
- return (h("div", { key: 'a9368c30799bf02e398306d3f3064c1b30558b1e', class: 'container' + ' space-below-' + this.spaceBelow + ' text-colour-' + this.textColour + ' heading-colour-' + this.headingColour }, h("div", { key: '552a8a559f0efe36ac276ff4079ff3f966883e49', class: "sleeve" }, this.children === undefined
32
- ? []
33
- : this.children.map(entry => (h("div", { class: "entry" }, h("h3", { class: "heading", onClick: this.toggleSection, title: "Expand section" }, entry.heading, h("span", { class: "arrow" }, h("svg", { width: "15", height: "9", viewBox: "0 0 15 9", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M14.1074 0.999859L7.55357 7.55371L0.999718 0.99986", stroke: "black", "stroke-width": "2" })))), h("div", { class: "content", innerHTML: entry.innerHTML })))))));
34
- }
35
- get host() { return this; }
36
- static get style() { return biggiveAccordionCss; }
37
- }, [1, "biggive-accordion", {
38
- "spaceBelow": [2, "space-below"],
39
- "textColour": [1, "text-colour"],
40
- "headingColour": [1, "heading-colour"],
41
- "children": [32]
42
- }]);
43
- function defineCustomElement$1() {
44
- if (typeof customElements === "undefined") {
45
- return;
46
- }
47
- const components = ["biggive-accordion"];
48
- components.forEach(tagName => { switch (tagName) {
49
- case "biggive-accordion":
50
- if (!customElements.get(tagName)) {
51
- customElements.define(tagName, BiggiveAccordion$1);
52
- }
53
- break;
54
- } });
55
- }
56
-
57
- const BiggiveAccordion = BiggiveAccordion$1;
58
- const defineCustomElement = defineCustomElement$1;
59
-
60
- export { BiggiveAccordion, defineCustomElement };
61
- //# sourceMappingURL=biggive-accordion.js.map
62
-
63
- //# sourceMappingURL=biggive-accordion.js.map
@@ -1 +0,0 @@
1
- {"file":"biggive-accordion.js","mappings":";;AAAA,MAAM,mBAAmB,GAAG,miTAAmiT;;MCSljTA,kBAAgB,iBAAAC,kBAAA,CAAA,MAAA,gBAAA,SAAA,WAAA,CAAA;AAL7B,IAAA,WAAA,GAAA;;;;AAQU,QAAA,IAAU,CAAA,UAAA,GAAkB,CAAC;AAE7B,QAAA,IAAU,CAAA,UAAA,GAAgB,OAAO;AAEjC,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EAAA,EACpE,KAAK,CAAC,OAAO,EACd,CAAM,CAAA,MAAA,EAAA,EAAA,KAAK,EAAC,OAAO,EAAA,EACjB,CAAA,CAAA,KAAA,EAAA,EAAK,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,GAAG,EAAC,OAAO,EAAC,UAAU,EAAC,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,4BAA4B,EAAA,EAC1F,CAAA,CAAA,MAAA,EAAA,EAAM,CAAC,EAAC,oDAAoD,EAAC,MAAM,EAAC,OAAO,EAAA,cAAA,EAAc,GAAG,EAAA,CAAG,CAC3F,CACD,CACJ,EACL,CAAA,CAAA,KAAA,EAAA,EAAK,KAAK,EAAC,SAAS,EAAC,SAAS,EAAE,KAAK,CAAC,SAAS,EAAA,CAAQ,CACnD,CACP,CAAC,CACF,CACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["BiggiveAccordion","__stencil_proxyCustomElement"],"sources":["src/components/biggive-accordion/biggive-accordion.scss?tag=biggive-accordion&encapsulation=shadow","src/components/biggive-accordion/biggive-accordion.tsx"],"sourcesContent":["@include spacers();\n@include text-colours();\n\n:host {\n display: contents;\n}\n\n.container {\n @include standard-font();\n position: relative;\n\n\n .entry {\n h3.heading {\n position: relative;\n margin: 25px 0 0 0;\n padding: 15px 60px 10px 20px;\n border-bottom: 1px solid $colour-black;\n cursor: pointer;\n span.arrow {\n display: block;\n position: absolute;\n right: 20px;\n top: 10px;\n width: 40px;\n height: 20px;\n text-align: center;\n }\n }\n .content {\n overflow: hidden;\n max-height: 0;\n padding: 0 20px;\n }\n &.expanded {\n .content {\n max-height: 100%;\n }\n span.arrow {\n transform: rotate(-180deg);\n }\n }\n }\n\n @each $key, $colour in $brandColours {\n &.heading-colour-#{$key} .entry h3.heading svg path { stroke: $colour; }\n &.heading-colour-#{$key} h3.heading { color: $colour; }\n &.text-colour-#{$key} .content { color: $colour; }\n }\n\n\n}\n\n\n","import { Component, Element, h, Prop, State } from '@stencil/core';\nimport { brandColour } from '../../globals/brand-colour';\nimport { spacingOption } from '../../globals/spacing-option';\n\n@Component({\n tag: 'biggive-accordion',\n styleUrl: 'biggive-accordion.scss',\n shadow: true,\n})\nexport class BiggiveAccordion {\n @Element() host: HTMLBiggiveAccordionElement;\n\n @Prop() spaceBelow: spacingOption = 0;\n\n @Prop() textColour: brandColour = 'black';\n\n @Prop() headingColour: brandColour = 'primary';\n\n @State() children: Array<HTMLBiggiveAccordionEntryElement>;\n\n componentWillLoad() {\n this.children = Array.from(this.host.children) as Array<HTMLBiggiveAccordionEntryElement>;\n }\n\n private toggleSection(e: MouseEvent) {\n const target = (e.target as Element)!;\n const entry = target.closest('.entry')!;\n const arrow = entry.querySelector('.arrow')!;\n\n if (entry.classList.contains('expanded')) {\n entry.classList.remove('expanded');\n arrow.setAttribute('title', 'Expand section');\n } else {\n entry.classList.add('expanded');\n arrow.setAttribute('title', 'Collapse section');\n }\n }\n\n render() {\n return (\n <div class={'container' + ' space-below-' + this.spaceBelow + ' text-colour-' + this.textColour + ' heading-colour-' + this.headingColour}>\n <div class=\"sleeve\">\n {this.children === undefined\n ? []\n : this.children.map(entry => (\n <div class=\"entry\">\n <h3 class=\"heading\" onClick={this.toggleSection} title=\"Expand section\">\n {entry.heading}\n <span class=\"arrow\">\n <svg width=\"15\" height=\"9\" viewBox=\"0 0 15 9\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M14.1074 0.999859L7.55357 7.55371L0.999718 0.99986\" stroke=\"black\" stroke-width=\"2\" />\n </svg>\n </span>\n </h3>\n <div class=\"content\" innerHTML={entry.innerHTML}></div>\n </div>\n ))}\n </div>\n </div>\n );\n }\n}\n"],"version":3}
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface BiggiveArticleCard extends Components.BiggiveArticleCard, HTMLElement {}
4
- export const BiggiveArticleCard: {
5
- prototype: BiggiveArticleCard;
6
- new (): BiggiveArticleCard;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,94 +0,0 @@
1
- import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
- import { d as defineCustomElement$2 } from './biggive-button2.js';
3
-
4
- const biggiveArticleCardCss = "a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.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-cc-red:hover,.background-colour-brand-cc-red{background-color:#B30510}.background-colour-hover-brand-wgmf-purple:hover,.background-colour-brand-wgmf-purple{background-color:#6E0887}.background-colour-hover-brand-gmf-green:hover,.background-colour-brand-gmf-green{background-color:#50B400}.background-colour-hover-brand-er-green:hover,.background-colour-brand-er-green{background-color:#50B400}.background-colour-hover-brand-er-dark-green:hover,.background-colour-brand-er-dark-green{background-color:#002413}.background-colour-hover-brand-er-dark-blue:hover,.background-colour-brand-er-dark-blue{background-color:#0c0068}.background-colour-hover-brand-er-teal:hover,.background-colour-brand-er-teal{background-color:#00a76d}.background-colour-hover-brand-emf-yellow:hover,.background-colour-brand-emf-yellow{background-color:#FFE500}.background-colour-hover-brand-c4c-orange:hover,.background-colour-brand-c4c-orange{background-color:#F07D00}.background-colour-hover-brand-afa-pink:hover,.background-colour-brand-afa-pink{background-color:#BF387D}.background-colour-hover-brand-scw-magenta:hover,.background-colour-brand-scw-magenta{background-color:#EE2C65}.background-colour-hover-brand-mhf-turquoise:hover,.background-colour-brand-mhf-turquoise{background-color:#62CFC9}.background-colour-hover-brand-grey:hover,.background-colour-brand-grey{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-hover-grey-extra-light:hover,.background-colour-grey-extra-light{background-color:#D7D7D7}.background-colour-hover-grey-light:hover,.background-colour-grey-light{background-color:#E8E8E8}.background-colour-hover-grey-medium:hover,.background-colour-grey-medium{background-color:#8A8A8A}.background-colour-hover-grey-dark:hover,.background-colour-grey-dark{background-color:#4A4A4A}.background-colour-hover-philco-orange:hover,.background-colour-philco-orange{background-color:#f18a00}.background-colour-hover-philco-gray-90:hover,.background-colour-philco-gray-90{background-color:#1d1d1B}.background-colour-hover-philco-gray-70:hover,.background-colour-philco-gray-70{background-color:#7D7D7D}.background-colour-hover-philco-white:hover,.background-colour-philco-white{background-color:#FFFFFF}.background-colour-hover-philco-success-green:hover,.background-colour-philco-success-green{background-color:#1Ec691}.background-colour-hover-philco-error-coral:hover,.background-colour-philco-error-coral{background-color:#F54242}.background-colour-hover-philco-gray-30:hover,.background-colour-philco-gray-30{background-color:#BBBBBB}.background-colour-hover-philco-gray-20:hover,.background-colour-philco-gray-20{background-color:#F6F6F6}.image-wrap img{width:100%;height:auto}.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}.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}.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-cc-red:hover,.text-colour-brand-cc-red{color:#B30510}.text-colour-hover-brand-wgmf-purple:hover,.text-colour-brand-wgmf-purple{color:#6E0887}.text-colour-hover-brand-gmf-green:hover,.text-colour-brand-gmf-green{color:#50B400}.text-colour-hover-brand-er-green:hover,.text-colour-brand-er-green{color:#50B400}.text-colour-hover-brand-er-dark-green:hover,.text-colour-brand-er-dark-green{color:#002413}.text-colour-hover-brand-er-dark-blue:hover,.text-colour-brand-er-dark-blue{color:#0c0068}.text-colour-hover-brand-er-teal:hover,.text-colour-brand-er-teal{color:#00a76d}.text-colour-hover-brand-emf-yellow:hover,.text-colour-brand-emf-yellow{color:#FFE500}.text-colour-hover-brand-c4c-orange:hover,.text-colour-brand-c4c-orange{color:#F07D00}.text-colour-hover-brand-afa-pink:hover,.text-colour-brand-afa-pink{color:#BF387D}.text-colour-hover-brand-scw-magenta:hover,.text-colour-brand-scw-magenta{color:#EE2C65}.text-colour-hover-brand-mhf-turquoise:hover,.text-colour-brand-mhf-turquoise{color:#62CFC9}.text-colour-hover-brand-grey:hover,.text-colour-brand-grey{color:#CBC8C8}.text-colour-hover-white:hover,.text-colour-white{color:#FFFFFF}.text-colour-hover-black:hover,.text-colour-black{color:#000000}.text-colour-hover-grey-extra-light:hover,.text-colour-grey-extra-light{color:#D7D7D7}.text-colour-hover-grey-light:hover,.text-colour-grey-light{color:#E8E8E8}.text-colour-hover-grey-medium:hover,.text-colour-grey-medium{color:#8A8A8A}.text-colour-hover-grey-dark:hover,.text-colour-grey-dark{color:#4A4A4A}.text-colour-hover-philco-orange:hover,.text-colour-philco-orange{color:#f18a00}.text-colour-hover-philco-gray-90:hover,.text-colour-philco-gray-90{color:#1d1d1B}.text-colour-hover-philco-gray-70:hover,.text-colour-philco-gray-70{color:#7D7D7D}.text-colour-hover-philco-white:hover,.text-colour-philco-white{color:#FFFFFF}.text-colour-hover-philco-success-green:hover,.text-colour-philco-success-green{color:#1Ec691}.text-colour-hover-philco-error-coral:hover,.text-colour-philco-error-coral{color:#F54242}.text-colour-hover-philco-gray-30:hover,.text-colour-philco-gray-30{color:#BBBBBB}.text-colour-hover-philco-gray-20:hover,.text-colour-philco-gray-20{color:#F6F6F6}:host{display:contents}.align-right{text-align:right}.container{height:100%;width:100%;font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;position:relative;text-align:left}.container .sleeve{height:100%;box-sizing:border-box;background-size:cover;padding:15px 15px 10px 15px}.container .sleeve .content-wrap{height:100%;display:flex;flex-direction:column}.container .meta{margin-bottom:10px}.container .meta .slug{font-size:13px;line-height:17px;margin-bottom:5px}.container .meta .date{font-size:13px;line-height:17px;margin-bottom:5px}.container h3{font-size:20px;line-height:24px;font-weight:bold;padding-bottom:15px;margin-bottom:auto}.container h3 a,.container h3 a:hover{text-decoration:none}.container .main-image-container img{width:100%;height:auto;display:inline-block}.container .image-group{display:flex;margin-bottom:15px}.container .image-group .image-container{margin-right:15px}.container .image-group .image-container .image-wrap{border-radius:50%;width:60px;height:60px;background-size:cover;background-position:center center;margin-bottom:5px}.container .image-group .image-container .image-wrap img{display:none}.container .image-label{font-size:11px;line-height:14px}.container .clip-bottom-left-corner-false.clip-top-right-corner-true{clip-path:polygon(0% 0%, 0% 0%, calc(100% - 50px) 0%, 100% 50px, 100% 100%, 100% 100%, 0% 100%, 0 100%)}.container .clip-bottom-left-corner-true.clip-top-right-corner-false{clip-path:polygon(0% 0%, 0% 0%, 100% 0%, 100% 0, 100% 100%, 100% 100%, 50px 100%, 0 calc(100% - 50px))}.container .clip-bottom-left-corner-true.clip-top-right-corner-true{clip-path:polygon(0% 0%, 0% 0%, calc(100% - 50px) 0%, 100% 50px, 100% 100%, 100% 100%, 50px 100%, 0 calc(100% - 50px))}.container .main-title-colour-primary h3{color:#2C089B}.container .slug-colour-primary .slug{color:#2C089B}.container .date-colour-primary .date{color:#2C089B}.container .image-label-colour-primary .image-label{color:#2C089B}.container .main-title-colour-secondary h3{color:#2AF135}.container .slug-colour-secondary .slug{color:#2AF135}.container .date-colour-secondary .date{color:#2AF135}.container .image-label-colour-secondary .image-label{color:#2AF135}.container .main-title-colour-tertiary h3{color:#FF7272}.container .slug-colour-tertiary .slug{color:#FF7272}.container .date-colour-tertiary .date{color:#FF7272}.container .image-label-colour-tertiary .image-label{color:#FF7272}.container .main-title-colour-brand-cc-red h3{color:#B30510}.container .slug-colour-brand-cc-red .slug{color:#B30510}.container .date-colour-brand-cc-red .date{color:#B30510}.container .image-label-colour-brand-cc-red .image-label{color:#B30510}.container .main-title-colour-brand-wgmf-purple h3{color:#6E0887}.container .slug-colour-brand-wgmf-purple .slug{color:#6E0887}.container .date-colour-brand-wgmf-purple .date{color:#6E0887}.container .image-label-colour-brand-wgmf-purple .image-label{color:#6E0887}.container .main-title-colour-brand-gmf-green h3{color:#50B400}.container .slug-colour-brand-gmf-green .slug{color:#50B400}.container .date-colour-brand-gmf-green .date{color:#50B400}.container .image-label-colour-brand-gmf-green .image-label{color:#50B400}.container .main-title-colour-brand-er-green h3{color:#50B400}.container .slug-colour-brand-er-green .slug{color:#50B400}.container .date-colour-brand-er-green .date{color:#50B400}.container .image-label-colour-brand-er-green .image-label{color:#50B400}.container .main-title-colour-brand-er-dark-green h3{color:#002413}.container .slug-colour-brand-er-dark-green .slug{color:#002413}.container .date-colour-brand-er-dark-green .date{color:#002413}.container .image-label-colour-brand-er-dark-green .image-label{color:#002413}.container .main-title-colour-brand-er-dark-blue h3{color:#0c0068}.container .slug-colour-brand-er-dark-blue .slug{color:#0c0068}.container .date-colour-brand-er-dark-blue .date{color:#0c0068}.container .image-label-colour-brand-er-dark-blue .image-label{color:#0c0068}.container .main-title-colour-brand-er-teal h3{color:#00a76d}.container .slug-colour-brand-er-teal .slug{color:#00a76d}.container .date-colour-brand-er-teal .date{color:#00a76d}.container .image-label-colour-brand-er-teal .image-label{color:#00a76d}.container .main-title-colour-brand-emf-yellow h3{color:#FFE500}.container .slug-colour-brand-emf-yellow .slug{color:#FFE500}.container .date-colour-brand-emf-yellow .date{color:#FFE500}.container .image-label-colour-brand-emf-yellow .image-label{color:#FFE500}.container .main-title-colour-brand-c4c-orange h3{color:#F07D00}.container .slug-colour-brand-c4c-orange .slug{color:#F07D00}.container .date-colour-brand-c4c-orange .date{color:#F07D00}.container .image-label-colour-brand-c4c-orange .image-label{color:#F07D00}.container .main-title-colour-brand-afa-pink h3{color:#BF387D}.container .slug-colour-brand-afa-pink .slug{color:#BF387D}.container .date-colour-brand-afa-pink .date{color:#BF387D}.container .image-label-colour-brand-afa-pink .image-label{color:#BF387D}.container .main-title-colour-brand-scw-magenta h3{color:#EE2C65}.container .slug-colour-brand-scw-magenta .slug{color:#EE2C65}.container .date-colour-brand-scw-magenta .date{color:#EE2C65}.container .image-label-colour-brand-scw-magenta .image-label{color:#EE2C65}.container .main-title-colour-brand-mhf-turquoise h3{color:#62CFC9}.container .slug-colour-brand-mhf-turquoise .slug{color:#62CFC9}.container .date-colour-brand-mhf-turquoise .date{color:#62CFC9}.container .image-label-colour-brand-mhf-turquoise .image-label{color:#62CFC9}.container .main-title-colour-brand-grey h3{color:#CBC8C8}.container .slug-colour-brand-grey .slug{color:#CBC8C8}.container .date-colour-brand-grey .date{color:#CBC8C8}.container .image-label-colour-brand-grey .image-label{color:#CBC8C8}.container .main-title-colour-white h3{color:#FFFFFF}.container .slug-colour-white .slug{color:#FFFFFF}.container .date-colour-white .date{color:#FFFFFF}.container .image-label-colour-white .image-label{color:#FFFFFF}.container .main-title-colour-black h3{color:#000000}.container .slug-colour-black .slug{color:#000000}.container .date-colour-black .date{color:#000000}.container .image-label-colour-black .image-label{color:#000000}.container .main-title-colour-grey-extra-light h3{color:#D7D7D7}.container .slug-colour-grey-extra-light .slug{color:#D7D7D7}.container .date-colour-grey-extra-light .date{color:#D7D7D7}.container .image-label-colour-grey-extra-light .image-label{color:#D7D7D7}.container .main-title-colour-grey-light h3{color:#E8E8E8}.container .slug-colour-grey-light .slug{color:#E8E8E8}.container .date-colour-grey-light .date{color:#E8E8E8}.container .image-label-colour-grey-light .image-label{color:#E8E8E8}.container .main-title-colour-grey-medium h3{color:#8A8A8A}.container .slug-colour-grey-medium .slug{color:#8A8A8A}.container .date-colour-grey-medium .date{color:#8A8A8A}.container .image-label-colour-grey-medium .image-label{color:#8A8A8A}.container .main-title-colour-grey-dark h3{color:#4A4A4A}.container .slug-colour-grey-dark .slug{color:#4A4A4A}.container .date-colour-grey-dark .date{color:#4A4A4A}.container .image-label-colour-grey-dark .image-label{color:#4A4A4A}.container .main-title-colour-philco-orange h3{color:#f18a00}.container .slug-colour-philco-orange .slug{color:#f18a00}.container .date-colour-philco-orange .date{color:#f18a00}.container .image-label-colour-philco-orange .image-label{color:#f18a00}.container .main-title-colour-philco-gray-90 h3{color:#1d1d1B}.container .slug-colour-philco-gray-90 .slug{color:#1d1d1B}.container .date-colour-philco-gray-90 .date{color:#1d1d1B}.container .image-label-colour-philco-gray-90 .image-label{color:#1d1d1B}.container .main-title-colour-philco-gray-70 h3{color:#7D7D7D}.container .slug-colour-philco-gray-70 .slug{color:#7D7D7D}.container .date-colour-philco-gray-70 .date{color:#7D7D7D}.container .image-label-colour-philco-gray-70 .image-label{color:#7D7D7D}.container .main-title-colour-philco-white h3{color:#FFFFFF}.container .slug-colour-philco-white .slug{color:#FFFFFF}.container .date-colour-philco-white .date{color:#FFFFFF}.container .image-label-colour-philco-white .image-label{color:#FFFFFF}.container .main-title-colour-philco-success-green h3{color:#1Ec691}.container .slug-colour-philco-success-green .slug{color:#1Ec691}.container .date-colour-philco-success-green .date{color:#1Ec691}.container .image-label-colour-philco-success-green .image-label{color:#1Ec691}.container .main-title-colour-philco-error-coral h3{color:#F54242}.container .slug-colour-philco-error-coral .slug{color:#F54242}.container .date-colour-philco-error-coral .date{color:#F54242}.container .image-label-colour-philco-error-coral .image-label{color:#F54242}.container .main-title-colour-philco-gray-30 h3{color:#BBBBBB}.container .slug-colour-philco-gray-30 .slug{color:#BBBBBB}.container .date-colour-philco-gray-30 .date{color:#BBBBBB}.container .image-label-colour-philco-gray-30 .image-label{color:#BBBBBB}.container .main-title-colour-philco-gray-20 h3{color:#F6F6F6}.container .slug-colour-philco-gray-20 .slug{color:#F6F6F6}.container .date-colour-philco-gray-20 .date{color:#F6F6F6}.container .image-label-colour-philco-gray-20 .image-label{color:#F6F6F6}";
5
-
6
- const BiggiveArticleCard$1 = /*@__PURE__*/ proxyCustomElement(class BiggiveArticleCard extends HTMLElement {
7
- constructor() {
8
- super();
9
- this.__registerHost();
10
- this.__attachShadow();
11
- this.spaceBelow = 0;
12
- this.backgroundColour = 'white';
13
- this.backgroundImageUrl = '';
14
- this.slugColour = 'black';
15
- this.dateColour = 'black';
16
- this.mainTitleColour = 'black';
17
- this.imageLabelColour = 'black';
18
- this.buttonColour = 'black';
19
- this.clipBottomLeftCorner = true;
20
- this.clipTopRightCorner = true;
21
- }
22
- isEmpty(value) {
23
- return value === undefined || value === null || value === '';
24
- }
25
- render() {
26
- return (h("div", { key: 'faa61ba714039c94f09cee04bc69a12aef23f16b', class: 'container space-below-' + this.spaceBelow }, h("div", { key: '813de7fc865ff5472fa075f0c42b1f75cb4e3957', class: 'sleeve background-colour-' +
27
- this.backgroundColour +
28
- ' text-colour-black ' +
29
- ' slug-colour-' +
30
- this.slugColour +
31
- ' date-colour-' +
32
- this.dateColour +
33
- ' main-title-colour-' +
34
- this.mainTitleColour +
35
- ' image-label-colour-' +
36
- this.imageLabelColour +
37
- ' button-colour' +
38
- this.buttonColour +
39
- ' clip-bottom-left-corner-' +
40
- this.clipBottomLeftCorner +
41
- ' clip-top-right-corner-' +
42
- this.clipTopRightCorner, style: Object.assign({}, (this.backgroundImageUrl.length > 0 ? { 'background-image': "url('" + this.backgroundImageUrl + "')" } : {})) }, h("div", { key: '2730c7e79e70851317c99f69ffa5b4ce1589cbb2', class: "content-wrap" }, h("div", { key: '2868764f8a35f65a96f54bdb1344b092e6eb26d2', class: "meta" }, this.slug != '' ? h("div", { class: "slug text-colour-primary" }, this.slug) : null, this.date != '' ? h("div", { class: "date" }, this.date) : null), this.isEmpty(this.mainImageUrl) ? null : (h("div", { class: "main-image-container" }, h("div", { class: "image-wrap" }, h("img", { src: this.mainImageUrl, alt: this.mainImageAltText })))), h("h3", { key: 'e7aecdd29cfd1c76737229de6c51874378bf11df', class: "title" }, h("a", { key: '347c29cd2b1662892fa2b0797fb370598724219c', href: this.buttonUrl }, this.mainTitle)), !this.isEmpty(this.image1Url) || !this.isEmpty(this.image2Url) ? (h("div", { class: "image-group" }, this.isEmpty(this.image1Url) ? null : (h("div", { class: "image-container" }, h("div", { class: "image-wrap", style: { 'background-image': "url('" + this.image1Url + "')" } }, h("img", { src: this.image1Url, alt: this.image1AltText })))), this.isEmpty(this.image2Url) ? null : (h("div", { class: "image-container" }, h("div", { class: "image-wrap", style: { 'background-image': "url('" + this.image2Url + "')" } }, h("img", { src: this.image2Url, alt: this.image2AltText })))))) : null, this.isEmpty(this.imageLabel) ? null : h("div", { class: "image-label" }, this.imageLabel), !this.isEmpty(this.buttonLabel) && !this.isEmpty(this.buttonUrl) ? (h("div", { class: "button-wrap align-right" }, h("biggive-button", { "colour-scheme": 'clear-' + this.buttonColour, url: this.buttonUrl, label: this.buttonLabel }))) : null))));
43
- }
44
- static get style() { return biggiveArticleCardCss; }
45
- }, [1, "biggive-article-card", {
46
- "spaceBelow": [2, "space-below"],
47
- "backgroundColour": [1, "background-colour"],
48
- "backgroundImageUrl": [1, "background-image-url"],
49
- "slug": [1],
50
- "slugColour": [1, "slug-colour"],
51
- "date": [1],
52
- "dateColour": [1, "date-colour"],
53
- "mainTitle": [1, "main-title"],
54
- "mainTitleColour": [1, "main-title-colour"],
55
- "mainImageUrl": [1, "main-image-url"],
56
- "mainImageAltText": [1, "main-image-alt-text"],
57
- "image1Url": [1, "image-1-url"],
58
- "image1AltText": [1, "image-1-alt-text"],
59
- "image2Url": [1, "image-2-url"],
60
- "image2AltText": [1, "image-2-alt-text"],
61
- "imageLabel": [1, "image-label"],
62
- "imageLabelColour": [1, "image-label-colour"],
63
- "buttonLabel": [1, "button-label"],
64
- "buttonUrl": [1, "button-url"],
65
- "buttonColour": [1, "button-colour"],
66
- "clipBottomLeftCorner": [4, "clip-bottom-left-corner"],
67
- "clipTopRightCorner": [4, "clip-top-right-corner"]
68
- }]);
69
- function defineCustomElement$1() {
70
- if (typeof customElements === "undefined") {
71
- return;
72
- }
73
- const components = ["biggive-article-card", "biggive-button"];
74
- components.forEach(tagName => { switch (tagName) {
75
- case "biggive-article-card":
76
- if (!customElements.get(tagName)) {
77
- customElements.define(tagName, BiggiveArticleCard$1);
78
- }
79
- break;
80
- case "biggive-button":
81
- if (!customElements.get(tagName)) {
82
- defineCustomElement$2();
83
- }
84
- break;
85
- } });
86
- }
87
-
88
- const BiggiveArticleCard = BiggiveArticleCard$1;
89
- const defineCustomElement = defineCustomElement$1;
90
-
91
- export { BiggiveArticleCard, defineCustomElement };
92
- //# sourceMappingURL=biggive-article-card.js.map
93
-
94
- //# sourceMappingURL=biggive-article-card.js.map
@@ -1 +0,0 @@
1
- {"file":"biggive-article-card.js","mappings":";;;AAAA,MAAM,qBAAqB,GAAG,w+dAAw+d;;MCSz/dA,oBAAkB,iBAAAC,kBAAA,CAAA,MAAA,kBAAA,SAAA,WAAA,CAAA;AAL/B,IAAA,WAAA,GAAA;;;;AAMU,QAAA,IAAU,CAAA,UAAA,GAAkB,CAAC;AAE7B,QAAA,IAAgB,CAAA,gBAAA,GAAgB,OAAO;AAEvC,QAAA,IAAkB,CAAA,kBAAA,GAAW,EAAE;AAI/B,QAAA,IAAU,CAAA,UAAA,GAAgB,OAAO;AAIjC,QAAA,IAAU,CAAA,UAAA,GAAgB,OAAO;AAIjC,QAAA,IAAe,CAAA,eAAA,GAAgB,OAAO;AAgBtC,QAAA,IAAgB,CAAA,gBAAA,GAAgB,OAAO;AAMvC,QAAA,IAAY,CAAA,YAAA,GAAgB,OAAO;AAEnC,QAAA,IAAoB,CAAA,oBAAA,GAAY,IAAI;AAEpC,QAAA,IAAkB,CAAA,kBAAA,GAAY,IAAI;AAkF3C;AAhFS,IAAA,OAAO,CAAC,KAAgC,EAAA;QAC9C,OAAO,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,EAAE;;IAG9D,MAAM,GAAA;AACJ,QAAA,QACE,4DAAK,KAAK,EAAE,wBAAwB,GAAG,IAAI,CAAC,UAAU,EAAA,EACpD,CACE,CAAA,KAAA,EA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AAK,CAAA,KAAA,EAAA,EAAA,GAAG,EAAE,IAAI,CAAC,SAAS,EAAE,GAAG,EAAE,IAAI,CAAC,aAAa,EAAI,CAAA,CACjD,CACF,CACP,CACG,IACJ,IAAI,EAEP,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,IAAI,GAAG,WAAK,KAAK,EAAC,aAAa,EAAE,EAAA,IAAI,CAAC,UAAU,CAAO,EAEvF,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,IAC/D,CAAA,CAAA,KAAA,EAAA,EAAK,KAAK,EAAC,yBAAyB,EAAA,EAClC,CAAA,CAAA,gBAAA,EAAA,EAAA,eAAA,EAA+B,QAAQ,GAAG,IAAI,CAAC,YAAY,EAAE,GAAG,EAAE,IAAI,CAAC,SAAS,EAAE,KAAK,EAAE,IAAI,CAAC,WAAW,EAAA,CAAmB,CACxH,IACJ,IAAI,CACJ,CACF,CACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["BiggiveArticleCard","__stencil_proxyCustomElement"],"sources":["src/components/biggive-article-card/biggive-article-card.scss?tag=biggive-article-card&encapsulation=shadow","src/components/biggive-article-card/biggive-article-card.tsx"],"sourcesContent":["@include backgrounds();\n@include image-alignment();\n@include spacers();\n@include text-colours();\n\n:host {\n display: contents;\n}\n\n.align-right {\n text-align: right;\n}\n\n.container {\n height: 100%;\n width: 100%;\n @include standard-font();\n position: relative;\n text-align: left;\n @include lower-shadow();\n .sleeve {\n height: 100%;\n box-sizing: border-box;\n background-size: cover;\n padding: $spacer-3 $spacer-3 $spacer-2 $spacer-3;\n .content-wrap {\n height: 100%;\n display: flex;\n flex-direction: column;\n }\n }\n .meta {\n margin-bottom: $spacer-2;\n }\n .meta .slug {\n @include font-size-small();\n margin-bottom: $spacer-1;\n }\n .meta .date {\n @include font-size-small();\n margin-bottom: $spacer-1;\n }\n h3 {\n @include heading-4();\n padding-bottom: $spacer-3;\n margin-bottom: auto;\n a,\n a:hover {\n text-decoration: none;\n }\n }\n .main-image-container {\n img {\n width: 100%;\n height: auto;\n display: inline-block;\n }\n }\n .image-group {\n display: flex;\n margin-bottom: $spacer-3;\n .image-container {\n margin-right: 15px;\n .image-wrap {\n border-radius: 50%;\n width: 60px;\n height: 60px;\n background-size: cover;\n background-position: center center;\n margin-bottom: $spacer-1;\n img {\n display: none;\n }\n }\n }\n }\n .image-label {\n @include font-size-x-small();\n }\n\n\n .clip-bottom-left-corner-false.clip-top-right-corner-true {\n\n @include corner-clip-medium-top-right();\n\n }\n .clip-bottom-left-corner-true.clip-top-right-corner-false {\n @include corner-clip-medium-bottom-left();\n }\n\n .clip-bottom-left-corner-true.clip-top-right-corner-true {\n @include corner-clip-medium-bottom-left-top-right();\n\n }\n\n\n\n @each $key, $colour in $brandColours {\n .main-title-colour-#{$key} h3 { color: $colour; }\n .slug-colour-#{$key} .slug { color: $colour; }\n .date-colour-#{$key} .date { color: $colour; }\n .image-label-colour-#{$key} .image-label { color: $colour; }\n }\n\n\n\n\n\n}\n","import { Component, Prop, h } from '@stencil/core';\nimport { brandColour } from '../../globals/brand-colour';\nimport { spacingOption } from '../../globals/spacing-option';\n\n@Component({\n tag: 'biggive-article-card',\n styleUrl: 'biggive-article-card.scss',\n shadow: true,\n})\nexport class BiggiveArticleCard {\n @Prop() spaceBelow: spacingOption = 0;\n\n @Prop() backgroundColour: brandColour = 'white';\n\n @Prop() backgroundImageUrl: string = '';\n\n @Prop() slug: string;\n\n @Prop() slugColour: brandColour = 'black';\n\n @Prop() date: string;\n\n @Prop() dateColour: brandColour = 'black';\n\n @Prop() mainTitle: string;\n\n @Prop() mainTitleColour: brandColour = 'black';\n\n @Prop() mainImageUrl: string;\n\n @Prop() mainImageAltText: string;\n\n @Prop() image1Url: string;\n\n @Prop() image1AltText: string;\n\n @Prop() image2Url: string;\n\n @Prop() image2AltText: string;\n\n @Prop() imageLabel: string;\n\n @Prop() imageLabelColour: brandColour = 'black';\n\n @Prop() buttonLabel: string;\n\n @Prop() buttonUrl: string;\n\n @Prop() buttonColour: brandColour = 'black';\n\n @Prop() clipBottomLeftCorner: boolean = true;\n\n @Prop() clipTopRightCorner: boolean = true;\n\n private isEmpty(value: string | undefined | null): boolean {\n return value === undefined || value === null || value === '';\n }\n\n render() {\n return (\n <div class={'container space-below-' + this.spaceBelow}>\n <div\n class={\n 'sleeve background-colour-' +\n this.backgroundColour +\n ' text-colour-black ' +\n ' slug-colour-' +\n this.slugColour +\n ' date-colour-' +\n this.dateColour +\n ' main-title-colour-' +\n this.mainTitleColour +\n ' image-label-colour-' +\n this.imageLabelColour +\n ' button-colour' +\n this.buttonColour +\n ' clip-bottom-left-corner-' +\n this.clipBottomLeftCorner +\n ' clip-top-right-corner-' +\n this.clipTopRightCorner\n }\n style={{\n ...(this.backgroundImageUrl.length > 0 ? { 'background-image': \"url('\" + this.backgroundImageUrl + \"')\" } : {}),\n }}\n >\n <div class=\"content-wrap\">\n <div class=\"meta\">\n {this.slug != '' ? <div class=\"slug text-colour-primary\">{this.slug}</div> : null}\n {this.date != '' ? <div class=\"date\">{this.date}</div> : null}\n </div>\n\n {this.isEmpty(this.mainImageUrl) ? null : (\n <div class=\"main-image-container\">\n <div class=\"image-wrap\">\n <img src={this.mainImageUrl} alt={this.mainImageAltText} />\n </div>\n </div>\n )}\n\n <h3 class=\"title\">\n <a href={this.buttonUrl}>{this.mainTitle}</a>\n </h3>\n {!this.isEmpty(this.image1Url) || !this.isEmpty(this.image2Url) ? (\n <div class=\"image-group\">\n {this.isEmpty(this.image1Url) ? null : (\n <div class=\"image-container\">\n <div class=\"image-wrap\" style={{ 'background-image': \"url('\" + this.image1Url + \"')\" }}>\n <img src={this.image1Url} alt={this.image1AltText} />\n </div>\n </div>\n )}\n\n {this.isEmpty(this.image2Url) ? null : (\n <div class=\"image-container\">\n <div class=\"image-wrap\" style={{ 'background-image': \"url('\" + this.image2Url + \"')\" }}>\n <img src={this.image2Url} alt={this.image2AltText} />\n </div>\n </div>\n )}\n </div>\n ) : null}\n\n {this.isEmpty(this.imageLabel) ? null : <div class=\"image-label\">{this.imageLabel}</div>}\n\n {!this.isEmpty(this.buttonLabel) && !this.isEmpty(this.buttonUrl) ? (\n <div class=\"button-wrap align-right\">\n <biggive-button colour-scheme={'clear-' + this.buttonColour} url={this.buttonUrl} label={this.buttonLabel}></biggive-button>\n </div>\n ) : null}\n </div>\n </div>\n </div>\n );\n }\n}\n"],"version":3}
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface BiggiveBackToTop extends Components.BiggiveBackToTop, HTMLElement {}
4
- export const BiggiveBackToTop: {
5
- prototype: BiggiveBackToTop;
6
- new (): BiggiveBackToTop;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,36 +0,0 @@
1
- import { proxyCustomElement, HTMLElement, h, getAssetPath } from '@stencil/core/internal/client';
2
-
3
- const biggiveBackToTopCss = "a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}:host{display:contents}.container{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;margin:30px 0;text-align:center}.container a{display:inline-block}.container a .text{display:block}";
4
-
5
- const BiggiveBackToTop$1 = /*@__PURE__*/ proxyCustomElement(class BiggiveBackToTop extends HTMLElement {
6
- constructor() {
7
- super();
8
- this.__registerHost();
9
- this.__attachShadow();
10
- }
11
- render() {
12
- return (h("div", { key: 'f88a2a340a38cb30ae3ad3c05e58283621c4c0fe', class: "container" }, h("a", { key: '5790ed3f8af880c2f9ae6c171ec81fae88355a3b', href: "#" }, h("img", { key: 'fe44a93eb03749286777295ef09868cca6b25ca1', src: getAssetPath('/assets/images/triangles-combined.svg') }), h("span", { key: 'd11ce6de10b5db879557decc610625711724c5b7', class: "text" }, "Back to top"))));
13
- }
14
- static get style() { return biggiveBackToTopCss; }
15
- }, [1, "biggive-back-to-top"]);
16
- function defineCustomElement$1() {
17
- if (typeof customElements === "undefined") {
18
- return;
19
- }
20
- const components = ["biggive-back-to-top"];
21
- components.forEach(tagName => { switch (tagName) {
22
- case "biggive-back-to-top":
23
- if (!customElements.get(tagName)) {
24
- customElements.define(tagName, BiggiveBackToTop$1);
25
- }
26
- break;
27
- } });
28
- }
29
-
30
- const BiggiveBackToTop = BiggiveBackToTop$1;
31
- const defineCustomElement = defineCustomElement$1;
32
-
33
- export { BiggiveBackToTop, defineCustomElement };
34
- //# sourceMappingURL=biggive-back-to-top.js.map
35
-
36
- //# sourceMappingURL=biggive-back-to-top.js.map
@@ -1 +0,0 @@
1
- {"file":"biggive-back-to-top.js","mappings":";;AAAA,MAAM,mBAAmB,GAAG,0RAA0R;;MCOzSA,kBAAgB,iBAAAC,kBAAA,CAAA,MAAA,gBAAA,SAAA,WAAA,CAAA;;;;;;IAC3B,MAAM,GAAA;AACJ,QAAA,QACE,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAC,WAAW,EAAA,EACpB,CAAG,CAAA,GAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAC,GAAG,EAAA,EACT,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,GAAG,EAAE,YAAY,CAAC,uCAAuC,CAAC,EAAI,CAAA,EACnE,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,KAAK,EAAC,MAAM,kBAAmB,CACnC,CACA;;;;;;;;;;;;;;;;;;;;;;;","names":["BiggiveBackToTop","__stencil_proxyCustomElement"],"sources":["src/components/biggive-back-to-top/biggive-back-to-top.scss?tag=biggive-back-to-top&encapsulation=shadow","src/components/biggive-back-to-top/biggive-back-to-top.tsx"],"sourcesContent":[":host {\n display: contents;\n}\n\n\n.container {\n @include standard-font();\n margin: $spacer-4 0;\n text-align: center;\n a {\n display: inline-block;\n .text {\n display: block;\n }\n }\n}","import { Component, getAssetPath, h } from '@stencil/core';\n\n@Component({\n tag: 'biggive-back-to-top',\n styleUrl: 'biggive-back-to-top.scss',\n shadow: true,\n})\nexport class BiggiveBackToTop {\n render() {\n return (\n <div class=\"container\">\n <a href=\"#\">\n <img src={getAssetPath('/assets/images/triangles-combined.svg')} />\n <span class=\"text\">Back to top</span>\n </a>\n </div>\n );\n }\n}\n"],"version":3}
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface BiggiveBasicCard extends Components.BiggiveBasicCard, HTMLElement {}
4
- export const BiggiveBasicCard: {
5
- prototype: BiggiveBasicCard;
6
- new (): BiggiveBasicCard;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,100 +0,0 @@
1
- import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
- import { d as defineCustomElement$2 } from './biggive-button2.js';
3
-
4
- const biggiveBasicCardCss = "a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.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-cc-red:hover,.background-colour-brand-cc-red{background-color:#B30510}.background-colour-hover-brand-wgmf-purple:hover,.background-colour-brand-wgmf-purple{background-color:#6E0887}.background-colour-hover-brand-gmf-green:hover,.background-colour-brand-gmf-green{background-color:#50B400}.background-colour-hover-brand-er-green:hover,.background-colour-brand-er-green{background-color:#50B400}.background-colour-hover-brand-er-dark-green:hover,.background-colour-brand-er-dark-green{background-color:#002413}.background-colour-hover-brand-er-dark-blue:hover,.background-colour-brand-er-dark-blue{background-color:#0c0068}.background-colour-hover-brand-er-teal:hover,.background-colour-brand-er-teal{background-color:#00a76d}.background-colour-hover-brand-emf-yellow:hover,.background-colour-brand-emf-yellow{background-color:#FFE500}.background-colour-hover-brand-c4c-orange:hover,.background-colour-brand-c4c-orange{background-color:#F07D00}.background-colour-hover-brand-afa-pink:hover,.background-colour-brand-afa-pink{background-color:#BF387D}.background-colour-hover-brand-scw-magenta:hover,.background-colour-brand-scw-magenta{background-color:#EE2C65}.background-colour-hover-brand-mhf-turquoise:hover,.background-colour-brand-mhf-turquoise{background-color:#62CFC9}.background-colour-hover-brand-grey:hover,.background-colour-brand-grey{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-hover-grey-extra-light:hover,.background-colour-grey-extra-light{background-color:#D7D7D7}.background-colour-hover-grey-light:hover,.background-colour-grey-light{background-color:#E8E8E8}.background-colour-hover-grey-medium:hover,.background-colour-grey-medium{background-color:#8A8A8A}.background-colour-hover-grey-dark:hover,.background-colour-grey-dark{background-color:#4A4A4A}.background-colour-hover-philco-orange:hover,.background-colour-philco-orange{background-color:#f18a00}.background-colour-hover-philco-gray-90:hover,.background-colour-philco-gray-90{background-color:#1d1d1B}.background-colour-hover-philco-gray-70:hover,.background-colour-philco-gray-70{background-color:#7D7D7D}.background-colour-hover-philco-white:hover,.background-colour-philco-white{background-color:#FFFFFF}.background-colour-hover-philco-success-green:hover,.background-colour-philco-success-green{background-color:#1Ec691}.background-colour-hover-philco-error-coral:hover,.background-colour-philco-error-coral{background-color:#F54242}.background-colour-hover-philco-gray-30:hover,.background-colour-philco-gray-30{background-color:#BBBBBB}.background-colour-hover-philco-gray-20:hover,.background-colour-philco-gray-20{background-color:#F6F6F6}.border-colour-primary{border-color:#2C089B}.border-colour-secondary{border-color:#2AF135}.border-colour-tertiary{border-color:#FF7272}.border-colour-brand-cc-red{border-color:#B30510}.border-colour-brand-wgmf-purple{border-color:#6E0887}.border-colour-brand-gmf-green{border-color:#50B400}.border-colour-brand-er-green{border-color:#50B400}.border-colour-brand-er-dark-green{border-color:#002413}.border-colour-brand-er-dark-blue{border-color:#0c0068}.border-colour-brand-er-teal{border-color:#00a76d}.border-colour-brand-emf-yellow{border-color:#FFE500}.border-colour-brand-c4c-orange{border-color:#F07D00}.border-colour-brand-afa-pink{border-color:#BF387D}.border-colour-brand-scw-magenta{border-color:#EE2C65}.border-colour-brand-mhf-turquoise{border-color:#62CFC9}.border-colour-brand-grey{border-color:#CBC8C8}.border-colour-white{border-color:#FFFFFF}.border-colour-black{border-color:#000000}.border-colour-grey-extra-light{border-color:#D7D7D7}.border-colour-grey-light{border-color:#E8E8E8}.border-colour-grey-medium{border-color:#8A8A8A}.border-colour-grey-dark{border-color:#4A4A4A}.border-colour-philco-orange{border-color:#f18a00}.border-colour-philco-gray-90{border-color:#1d1d1B}.border-colour-philco-gray-70{border-color:#7D7D7D}.border-colour-philco-white{border-color:#FFFFFF}.border-colour-philco-success-green{border-color:#1Ec691}.border-colour-philco-error-coral{border-color:#F54242}.border-colour-philco-gray-30{border-color:#BBBBBB}.border-colour-philco-gray-20{border-color:#F6F6F6}.fill-primary{fill:#2C089B}.fill-secondary{fill:#2AF135}.fill-tertiary{fill:#FF7272}.fill-brand-cc-red{fill:#B30510}.fill-brand-wgmf-purple{fill:#6E0887}.fill-brand-gmf-green{fill:#50B400}.fill-brand-er-green{fill:#50B400}.fill-brand-er-dark-green{fill:#002413}.fill-brand-er-dark-blue{fill:#0c0068}.fill-brand-er-teal{fill:#00a76d}.fill-brand-emf-yellow{fill:#FFE500}.fill-brand-c4c-orange{fill:#F07D00}.fill-brand-afa-pink{fill:#BF387D}.fill-brand-scw-magenta{fill:#EE2C65}.fill-brand-mhf-turquoise{fill:#62CFC9}.fill-brand-grey{fill:#CBC8C8}.fill-white{fill:#FFFFFF}.fill-black{fill:#000000}.fill-grey-extra-light{fill:#D7D7D7}.fill-grey-light{fill:#E8E8E8}.fill-grey-medium{fill:#8A8A8A}.fill-grey-dark{fill:#4A4A4A}.fill-philco-orange{fill:#f18a00}.fill-philco-gray-90{fill:#1d1d1B}.fill-philco-gray-70{fill:#7D7D7D}.fill-philco-white{fill:#FFFFFF}.fill-philco-success-green{fill:#1Ec691}.fill-philco-error-coral{fill:#F54242}.fill-philco-gray-30{fill:#BBBBBB}.fill-philco-gray-20{fill:#F6F6F6}.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}.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}.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-cc-red:hover,.text-colour-brand-cc-red{color:#B30510}.text-colour-hover-brand-wgmf-purple:hover,.text-colour-brand-wgmf-purple{color:#6E0887}.text-colour-hover-brand-gmf-green:hover,.text-colour-brand-gmf-green{color:#50B400}.text-colour-hover-brand-er-green:hover,.text-colour-brand-er-green{color:#50B400}.text-colour-hover-brand-er-dark-green:hover,.text-colour-brand-er-dark-green{color:#002413}.text-colour-hover-brand-er-dark-blue:hover,.text-colour-brand-er-dark-blue{color:#0c0068}.text-colour-hover-brand-er-teal:hover,.text-colour-brand-er-teal{color:#00a76d}.text-colour-hover-brand-emf-yellow:hover,.text-colour-brand-emf-yellow{color:#FFE500}.text-colour-hover-brand-c4c-orange:hover,.text-colour-brand-c4c-orange{color:#F07D00}.text-colour-hover-brand-afa-pink:hover,.text-colour-brand-afa-pink{color:#BF387D}.text-colour-hover-brand-scw-magenta:hover,.text-colour-brand-scw-magenta{color:#EE2C65}.text-colour-hover-brand-mhf-turquoise:hover,.text-colour-brand-mhf-turquoise{color:#62CFC9}.text-colour-hover-brand-grey:hover,.text-colour-brand-grey{color:#CBC8C8}.text-colour-hover-white:hover,.text-colour-white{color:#FFFFFF}.text-colour-hover-black:hover,.text-colour-black{color:#000000}.text-colour-hover-grey-extra-light:hover,.text-colour-grey-extra-light{color:#D7D7D7}.text-colour-hover-grey-light:hover,.text-colour-grey-light{color:#E8E8E8}.text-colour-hover-grey-medium:hover,.text-colour-grey-medium{color:#8A8A8A}.text-colour-hover-grey-dark:hover,.text-colour-grey-dark{color:#4A4A4A}.text-colour-hover-philco-orange:hover,.text-colour-philco-orange{color:#f18a00}.text-colour-hover-philco-gray-90:hover,.text-colour-philco-gray-90{color:#1d1d1B}.text-colour-hover-philco-gray-70:hover,.text-colour-philco-gray-70{color:#7D7D7D}.text-colour-hover-philco-white:hover,.text-colour-philco-white{color:#FFFFFF}.text-colour-hover-philco-success-green:hover,.text-colour-philco-success-green{color:#1Ec691}.text-colour-hover-philco-error-coral:hover,.text-colour-philco-error-coral{color:#F54242}.text-colour-hover-philco-gray-30:hover,.text-colour-philco-gray-30{color:#BBBBBB}.text-colour-hover-philco-gray-20:hover,.text-colour-philco-gray-20{color:#F6F6F6}:host{display:contents}.container{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;position:relative;text-align:center;background-size:cover;background-position:center center;padding:30px;height:100%;white-space:pre-wrap}.container.philco{font-family:\"Bitter\", serif;font-size:16px;line-height:1.2rem;border-bottom:12px;border-bottom-left-radius:12px;border-bottom-right-radius:12px;padding:0;text-align:left;height:auto;box-shadow:0 0 24px 0 #BBBBBB;border-top:12px solid #f18a00}.container.philco .title{font-family:\"Garage Gothic\", sans-serif;font-weight:700;margin-top:0.1rem;margin-bottom:0.1rem;font-size:24px;line-height:30px;margin-top:0;margin-bottom:10px;text-transform:uppercase}.container.philco .subtitle{font-family:\"Bitter\", serif;line-height:1.2rem;color:#7D7D7D}.container.philco .subtitle .divider{color:#f18a00}.container a,.container a:hover{text-decoration:none}.container .sleeve{padding:30px;height:100%;box-sizing:border-box;transition:all 1s ease-in-out}.container.add-animation-true:hover .sleeve{margin:-30px;padding:60px;height:calc(100% + 60px)}.container.clip-bottom-left-corner-false.clip-top-right-corner-true .sleeve{clip-path:polygon(0% 0%, 0% 0%, calc(100% - 50px) 0%, 100% 50px, 100% 100%, 100% 100%, 0% 100%, 0 100%)}.container.clip-bottom-left-corner-true.clip-top-right-corner-false .sleeve{clip-path:polygon(0% 0%, 0% 0%, 100% 0%, 100% 0, 100% 100%, 100% 100%, 50px 100%, 0 calc(100% - 50px))}.container.clip-bottom-left-corner-true.clip-top-right-corner-true .sleeve{clip-path:polygon(0% 0%, 0% 0%, calc(100% - 50px) 0%, 100% 50px, 100% 100%, 100% 100%, 50px 100%, 0 calc(100% - 50px))}.container .icon svg{width:50px;height:auto}.container .title{font-size:25px;line-height:32px;font-weight:bold;margin-bottom:15px}.container .subtitle{margin-bottom:15px}.container .main-image-container{margin-bottom:15px}.container .main-image-container img{width:100%;height:auto}.container .button-wrap{text-align:center}.container .button-wrap.align-left{text-align:left}.container .button-wrap.align-right{text-align:right}";
5
-
6
- const BiggiveBasicCard$1 = /*@__PURE__*/ proxyCustomElement(class BiggiveBasicCard extends HTMLElement {
7
- constructor() {
8
- super();
9
- this.__registerHost();
10
- this.__attachShadow();
11
- this.spaceBelow = 0;
12
- this.siteDesign = 'biggive';
13
- this.backgroundColour = 'primary';
14
- this.backgroundImageUrl = '';
15
- this.cardColour = 'white';
16
- this.textColour = 'black';
17
- this.mainImageUrl = undefined;
18
- this.subtitle = '';
19
- this.author = '';
20
- this.date = '';
21
- this.icon = true;
22
- this.iconColour = 'primary';
23
- this.buttonAlign = 'center';
24
- this.buttonStyle = 'standard';
25
- this.buttonColourScheme = 'clear-primary';
26
- this.clipBottomLeftCorner = true;
27
- this.clipTopRightCorner = true;
28
- this.headingLevel = 3;
29
- this.addAnimation = false;
30
- }
31
- render() {
32
- var _a, _b;
33
- const HeadingTag = `h${this.headingLevel}`;
34
- return (h("div", { key: '0a2ef1f76ae13a05fed05f036c26cd398a0568d8', class: 'container space-below-' +
35
- this.spaceBelow +
36
- ' background-colour-' +
37
- this.backgroundColour +
38
- (this.siteDesign === 'philco' ? ' border-colour-' + this.backgroundColour : '') +
39
- ' clip-bottom-left-corner-' +
40
- this.clipBottomLeftCorner +
41
- ' clip-top-right-corner-' +
42
- this.clipTopRightCorner +
43
- ' add-animation-' +
44
- this.addAnimation +
45
- ' ' +
46
- this.siteDesign, style: { 'background-image': "url('" + this.backgroundImageUrl + "')" } }, h("a", { key: 'c31f093a21fe801a9e188cd88f9ba5e28f48a535', href: this.buttonUrl }, h("div", { key: '7265fb02eebe5eb9af0b29f49747025a5d42e81f', class: 'sleeve background-colour-' + this.cardColour + ' text-colour-' + this.textColour }, h("div", { key: 'e3ec069fdd618bfb5c89742ac5bd2e1d859fd22a', class: "content-wrap" }, this.icon ? (h("div", { class: "icon" }, h("svg", { width: "53", height: "39", viewBox: "0 0 53 39", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M38.7009 13.6572L52.3535 38.6959H25.0386L38.7009 13.6572Z", class: "fill-black" }), h("path", { d: "M20.4789 36.4199L6.36785e-06 5.89713e-05L40.9724 6.61352e-05L20.4789 36.4199Z", class: 'fill-' + this.iconColour })))) : null, ((_b = (_a = this.mainImageUrl) === null || _a === void 0 ? void 0 : _a.length) !== null && _b !== void 0 ? _b : 0) === 0 ? null : (h("div", { class: "main-image-container" }, h("div", { class: "image-wrap" }, h("img", { src: this.mainImageUrl, alt: this.mainImageAltText })))), h(HeadingTag, { key: '9717a7874f9e65f9f43a4f5b091e2cbff20e43ef', class: "title" }, this.mainTitle), this.author !== '' || this.date !== '' ? (h("div", { class: "subtitle" }, this.author, " ", h("span", { class: "divider" }, "|"), " ", this.date)) : null, this.subtitle !== '' ? h("div", { class: "subtitle" }, this.subtitle) : null, h("div", { key: '41a8e4cb76a300333303bca4870f86f1d394b443', class: "teaser" }, this.teaser), this.buttonLabel != null && this.buttonUrl != null && this.buttonUrl != '' ? (h("div", { class: 'button-wrap align-' + this.buttonAlign }, h("biggive-button", { "colour-scheme": this.buttonColourScheme, url: this.buttonUrl, label: this.buttonLabel, rounded: this.siteDesign === 'philco' }))) : null)))));
47
- }
48
- static get style() { return biggiveBasicCardCss; }
49
- }, [1, "biggive-basic-card", {
50
- "spaceBelow": [2, "space-below"],
51
- "siteDesign": [1, "site-design"],
52
- "backgroundColour": [1, "background-colour"],
53
- "backgroundImageUrl": [1, "background-image-url"],
54
- "cardColour": [1, "card-colour"],
55
- "textColour": [1, "text-colour"],
56
- "mainImageUrl": [1, "main-image-url"],
57
- "mainImageAltText": [1, "main-image-alt-text"],
58
- "mainTitle": [1, "main-title"],
59
- "subtitle": [1],
60
- "author": [1],
61
- "date": [1],
62
- "teaser": [1],
63
- "icon": [4],
64
- "iconColour": [1, "icon-colour"],
65
- "buttonAlign": [1, "button-align"],
66
- "buttonStyle": [1, "button-style"],
67
- "buttonLabel": [1, "button-label"],
68
- "buttonUrl": [1, "button-url"],
69
- "buttonColourScheme": [1, "button-colour-scheme"],
70
- "clipBottomLeftCorner": [4, "clip-bottom-left-corner"],
71
- "clipTopRightCorner": [4, "clip-top-right-corner"],
72
- "headingLevel": [2, "heading-level"],
73
- "addAnimation": [4, "add-animation"]
74
- }]);
75
- function defineCustomElement$1() {
76
- if (typeof customElements === "undefined") {
77
- return;
78
- }
79
- const components = ["biggive-basic-card", "biggive-button"];
80
- components.forEach(tagName => { switch (tagName) {
81
- case "biggive-basic-card":
82
- if (!customElements.get(tagName)) {
83
- customElements.define(tagName, BiggiveBasicCard$1);
84
- }
85
- break;
86
- case "biggive-button":
87
- if (!customElements.get(tagName)) {
88
- defineCustomElement$2();
89
- }
90
- break;
91
- } });
92
- }
93
-
94
- const BiggiveBasicCard = BiggiveBasicCard$1;
95
- const defineCustomElement = defineCustomElement$1;
96
-
97
- export { BiggiveBasicCard, defineCustomElement };
98
- //# sourceMappingURL=biggive-basic-card.js.map
99
-
100
- //# sourceMappingURL=biggive-basic-card.js.map
@@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AAA,EAAK,KAAK,EAAE,oBAAoB,GAAG,IAAI,CAAC,WAAW,EAAA,EACjD,CAAA,CAAA,gBAAA,EAAA,EAAA,eAAA,EAA+B,IAAI,CAAC,kBAAkB,EAAE,GAAG,EAAE,IAAI,CAAC,SAAS,EAAE,KAAK,EAAE,IAAI,CAAC,WAAW,EAAE,OAAO,EAAE,IAAI,CAAC,UAAU,KAAK,QAAQ,EAAA,CAAmB,CAC1J,IACJ,IAAI,CACJ,CACF,CACJ,CACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["BiggiveBasicCard","__stencil_proxyCustomElement"],"sources":["src/components/biggive-basic-card/biggive-basic-card.scss?tag=biggive-basic-card&encapsulation=shadow","src/components/biggive-basic-card/biggive-basic-card.tsx"],"sourcesContent":["@include backgrounds();\n@include borders();\n@include fills();\n@include spacers();\n@include text-colours();\n\n:host {\n display: contents;\n}\n\n.container {\n @include standard-font();\n position: relative;\n text-align: center;\n background-size: cover;\n background-position: center center;\n padding: $spacer-4;\n &.philco {\n @include philco-body-font();\n line-height: $philco-standard-body-line-height;\n border-bottom: 12px;\n border-bottom-left-radius: 12px;\n border-bottom-right-radius: 12px;\n padding: 0;\n text-align: left;\n height: auto;\n box-shadow: 0 0 24px 0 $colour-philco-gray-30;\n\n .title {\n @include philco-heading-font();\n @include font-size-large();\n margin-top: 0;\n margin-bottom: $spacer-2;\n text-transform: uppercase;\n }\n\n .subtitle {\n @include philco-subhead-font();\n color: $colour-philco-gray-70;\n .divider {\n color: $colour-philco-orange;\n }\n }\n\n border-top: 12px solid $colour-philco-orange;\n }\n height: 100%;\n white-space: pre-wrap;\n a,\n a:hover {\n text-decoration: none;\n }\n .sleeve {\n padding: $spacer-4;\n height: 100%;\n box-sizing: border-box;\n transition: all 1s ease-in-out;\n }\n &.add-animation-true:hover .sleeve {\n margin: -30px;\n padding: 60px;\n height: calc(100% + 60px);\n }\n &.clip-bottom-left-corner-false.clip-top-right-corner-true {\n .sleeve {\n @include corner-clip-medium-top-right();\n }\n }\n &.clip-bottom-left-corner-true.clip-top-right-corner-false {\n .sleeve {\n @include corner-clip-medium-bottom-left();\n }\n }\n &.clip-bottom-left-corner-true.clip-top-right-corner-true {\n .sleeve {\n @include corner-clip-medium-bottom-left-top-right();\n }\n }\n\n .icon {\n svg {\n width: 50px;\n height: auto;\n }\n }\n .title {\n // these have to be the heading level passed in based on order of headings, but in terms of design we want it look like H3.\n @include heading-3();\n margin-bottom: $spacer-3;\n }\n .subtitle {\n margin-bottom: $spacer-3;\n }\n .main-image-container {\n margin-bottom: 15px;\n img {\n width: 100%;\n height: auto;\n }\n }\n .button-wrap {\n text-align: center;\n &.align-left {\n text-align: left;\n }\n &.align-right {\n text-align: right;\n }\n }\n}\n","import { Component, Prop, h } from '@stencil/core';\nimport { brandColour } from '../../globals/brand-colour';\nimport { spacingOption } from '../../globals/spacing-option';\n\n@Component({\n tag: 'biggive-basic-card',\n styleUrl: 'biggive-basic-card.scss',\n shadow: true,\n})\nexport class BiggiveBasicCard {\n @Prop() spaceBelow: spacingOption = 0;\n\n @Prop() siteDesign: 'biggive' | 'philco' = 'biggive';\n\n @Prop() backgroundColour: brandColour = 'primary';\n\n @Prop() backgroundImageUrl: string = '';\n\n @Prop() cardColour: brandColour = 'white';\n\n @Prop() textColour: brandColour = 'black';\n\n @Prop() mainImageUrl?: string = undefined;\n\n @Prop() mainImageAltText: string;\n\n @Prop() mainTitle: string;\n\n @Prop() subtitle: string = '';\n\n @Prop() author: string = '';\n\n @Prop() date: string = '';\n\n @Prop() teaser: string;\n\n @Prop() icon: boolean = true;\n\n @Prop() iconColour: brandColour = 'primary';\n\n @Prop() buttonAlign: string = 'center';\n\n @Prop() buttonStyle: string = 'standard';\n\n @Prop() buttonLabel: string;\n\n @Prop() buttonUrl: string;\n\n @Prop() buttonColourScheme: string = 'clear-primary';\n\n @Prop() clipBottomLeftCorner: boolean = true;\n\n @Prop() clipTopRightCorner: boolean = true;\n\n @Prop() headingLevel: 1 | 2 | 3 | 4 | 5 | 6 = 3;\n\n @Prop() addAnimation: boolean = false;\n\n render() {\n const HeadingTag = `h${this.headingLevel}`;\n\n return (\n <div\n class={\n 'container space-below-' +\n this.spaceBelow +\n ' background-colour-' +\n this.backgroundColour +\n (this.siteDesign === 'philco' ? ' border-colour-' + this.backgroundColour : '') +\n ' clip-bottom-left-corner-' +\n this.clipBottomLeftCorner +\n ' clip-top-right-corner-' +\n this.clipTopRightCorner +\n ' add-animation-' +\n this.addAnimation +\n ' ' +\n this.siteDesign\n }\n style={{ 'background-image': \"url('\" + this.backgroundImageUrl + \"')\" }}\n >\n <a href={this.buttonUrl}>\n <div class={'sleeve background-colour-' + this.cardColour + ' text-colour-' + this.textColour}>\n <div class=\"content-wrap\">\n {this.icon ? (\n <div class=\"icon\">\n <svg width=\"53\" height=\"39\" viewBox=\"0 0 53 39\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M38.7009 13.6572L52.3535 38.6959H25.0386L38.7009 13.6572Z\" class=\"fill-black\" />\n <path d=\"M20.4789 36.4199L6.36785e-06 5.89713e-05L40.9724 6.61352e-05L20.4789 36.4199Z\" class={'fill-' + this.iconColour} />\n </svg>\n </div>\n ) : null}\n {(this.mainImageUrl?.length ?? 0) === 0 ? null : (\n <div class=\"main-image-container\">\n <div class=\"image-wrap\">\n <img src={this.mainImageUrl} alt={this.mainImageAltText} />\n </div>\n </div>\n )}\n <HeadingTag class=\"title\">{this.mainTitle}</HeadingTag>\n {this.author !== '' || this.date !== '' ? (\n <div class=\"subtitle\">\n {this.author} <span class=\"divider\">|</span> {this.date}\n </div>\n ) : null}\n {this.subtitle !== '' ? <div class=\"subtitle\">{this.subtitle}</div> : null}\n <div class=\"teaser\">{this.teaser}</div>\n {this.buttonLabel != null && this.buttonUrl != null && this.buttonUrl != '' ? (\n <div class={'button-wrap align-' + this.buttonAlign}>\n <biggive-button colour-scheme={this.buttonColourScheme} url={this.buttonUrl} label={this.buttonLabel} rounded={this.siteDesign === 'philco'}></biggive-button>\n </div>\n ) : null}\n </div>\n </div>\n </a>\n </div>\n );\n }\n}\n"],"version":3}
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface BiggiveBiographyCard extends Components.BiggiveBiographyCard, HTMLElement {}
4
- export const BiggiveBiographyCard: {
5
- prototype: BiggiveBiographyCard;
6
- new (): BiggiveBiographyCard;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;