@biggive/components 0.0.21 → 0.0.23

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 (362) hide show
  1. package/dist/biggive/assets/images/logo-biggive-black.svg +6 -0
  2. package/dist/biggive/assets/images/quote.svg +4 -0
  3. package/dist/biggive/assets/images/triangles-combined.svg +5 -0
  4. package/dist/biggive/biggive.esm.js +1 -1
  5. package/dist/biggive/p-068c6901.entry.js +1 -0
  6. package/dist/biggive/p-1805f9ab.js +2 -0
  7. package/dist/biggive/p-19aac764.entry.js +1 -0
  8. package/dist/biggive/p-278fbc22.entry.js +1 -0
  9. package/dist/biggive/p-293fa43e.entry.js +1 -0
  10. package/dist/biggive/p-29921058.entry.js +1 -0
  11. package/dist/biggive/p-2c7ccc17.entry.js +1 -0
  12. package/dist/biggive/p-2d9408d3.entry.js +1 -0
  13. package/dist/biggive/p-3670bfe5.entry.js +1 -0
  14. package/dist/biggive/p-43c02e71.js +6 -0
  15. package/dist/biggive/p-46a368de.entry.js +1 -0
  16. package/dist/biggive/p-558ebb94.entry.js +1 -0
  17. package/dist/biggive/p-664bfe6e.entry.js +1 -0
  18. package/dist/biggive/p-7637ac94.entry.js +1 -0
  19. package/dist/biggive/p-78129441.entry.js +1 -0
  20. package/dist/biggive/p-8b5487c1.entry.js +1 -0
  21. package/dist/biggive/p-9125d753.entry.js +1 -0
  22. package/dist/biggive/p-a62e9af0.entry.js +1 -0
  23. package/dist/biggive/p-a6da36d4.js +6 -0
  24. package/dist/biggive/p-ab82bcf1.entry.js +1 -0
  25. package/dist/biggive/p-b4d5f946.entry.js +1 -0
  26. package/dist/biggive/p-c84740c3.entry.js +1 -0
  27. package/dist/biggive/p-cc6e33a6.entry.js +1 -0
  28. package/dist/biggive/p-db3da9bb.entry.js +1 -0
  29. package/dist/biggive/p-e0347718.entry.js +1 -0
  30. package/dist/biggive/p-e39db89c.entry.js +1 -0
  31. package/dist/biggive/p-ea35e2fe.entry.js +1 -0
  32. package/dist/biggive/p-ef6c1ed4.entry.js +1 -0
  33. package/dist/biggive/p-faa6817c.entry.js +1 -0
  34. package/dist/cjs/biggive-back-to-top_11.cjs.entry.js +365 -0
  35. package/dist/cjs/biggive-basic-card.cjs.entry.js +55 -0
  36. package/dist/cjs/biggive-beneficiary-icon.cjs.entry.js +45 -0
  37. package/dist/cjs/biggive-boxed-content.cjs.entry.js +48 -0
  38. package/dist/cjs/biggive-branded-image.cjs.entry.js +35 -0
  39. package/dist/cjs/biggive-call-to-action.cjs.entry.js +83 -0
  40. package/dist/cjs/biggive-campaign-card-filter-grid.cjs.entry.js +50 -0
  41. package/dist/cjs/biggive-campaign-card.cjs.entry.js +97 -0
  42. package/dist/cjs/biggive-category-icon.cjs.entry.js +45 -0
  43. package/dist/cjs/biggive-form-field-select.cjs.entry.js +19 -0
  44. package/dist/cjs/biggive-form.cjs.entry.js +19 -0
  45. package/dist/cjs/biggive-formatted-text.cjs.entry.js +27 -0
  46. package/dist/cjs/biggive-grid.cjs.entry.js +31 -0
  47. package/dist/cjs/biggive-hero-image.cjs.entry.js +73 -0
  48. package/dist/cjs/biggive-icon-group.cjs.entry.js +27 -0
  49. package/dist/cjs/biggive-image-feature.cjs.entry.js +67 -0
  50. package/dist/cjs/biggive-image.cjs.entry.js +27 -0
  51. package/dist/cjs/biggive-page-section.cjs.entry.js +35 -0
  52. package/dist/cjs/biggive-quote.cjs.entry.js +35 -0
  53. package/dist/cjs/biggive-search.cjs.entry.js +36 -0
  54. package/dist/cjs/biggive-tab.cjs.entry.js +23 -0
  55. package/dist/cjs/biggive-tabbed-content.cjs.entry.js +27 -0
  56. package/dist/cjs/biggive-text-input.cjs.entry.js +19 -0
  57. package/dist/cjs/biggive-totalizer.cjs.entry.js +69 -0
  58. package/dist/cjs/biggive-video-feature.cjs.entry.js +67 -0
  59. package/dist/cjs/biggive-video.cjs.entry.js +27 -0
  60. package/dist/cjs/biggive.cjs.js +2 -2
  61. package/dist/cjs/fontawesome-icons-110f532d.js +240 -0
  62. package/dist/cjs/{index-a275852e.js → index-87518c3f.js} +96 -1
  63. package/dist/{components/biggive-campaign-card2.js → cjs/index.es-d3570170.js} +62 -293
  64. package/dist/cjs/loader.cjs.js +2 -2
  65. package/dist/collection/assets/images/logo-biggive-black.svg +6 -0
  66. package/dist/collection/assets/images/quote.svg +4 -0
  67. package/dist/collection/assets/images/triangles-combined.svg +5 -0
  68. package/dist/collection/collection-manifest.json +34 -1
  69. package/dist/collection/components/biggive-back-to-top/biggive-back-to-top.css +413 -0
  70. package/dist/collection/components/biggive-back-to-top/biggive-back-to-top.js +17 -0
  71. package/dist/collection/components/biggive-back-to-top/biggive-back-to-top.stories.js +8 -0
  72. package/dist/collection/components/biggive-basic-card/biggive-basic-card.css +433 -0
  73. package/dist/collection/components/biggive-basic-card/biggive-basic-card.js +226 -0
  74. package/dist/collection/components/biggive-basic-card/biggive-basic-card.stories.js +67 -0
  75. package/dist/collection/components/biggive-beneficiary-icon/biggive-beneficiary-icon.css +474 -0
  76. package/dist/collection/components/biggive-beneficiary-icon/biggive-beneficiary-icon.js +137 -0
  77. package/dist/collection/components/biggive-beneficiary-icon/biggive-beneficiary-icon.stories.js +49 -0
  78. package/dist/collection/components/biggive-boxed-content/biggive-boxed-content.css +408 -0
  79. package/dist/collection/components/biggive-boxed-content/biggive-boxed-content.js +138 -0
  80. package/dist/collection/components/biggive-boxed-content/biggive-boxed-content.stories.js +60 -0
  81. package/dist/collection/components/biggive-branded-image/biggive-branded-image.css +425 -0
  82. package/dist/collection/components/biggive-branded-image/biggive-branded-image.js +111 -0
  83. package/dist/collection/components/biggive-branded-image/biggive-branded-image.stories.js +37 -0
  84. package/dist/collection/components/biggive-button/biggive-button.css +411 -0
  85. package/dist/collection/components/biggive-button/biggive-button.js +129 -0
  86. package/dist/collection/components/biggive-button/biggive-button.stories.js +42 -0
  87. package/dist/collection/components/biggive-call-to-action/biggive-call-to-action.css +439 -0
  88. package/dist/collection/components/biggive-call-to-action/biggive-call-to-action.js +380 -0
  89. package/dist/collection/components/biggive-call-to-action/biggive-call-to-action.stories.js +124 -0
  90. package/dist/collection/components/biggive-campaign-card/biggive-campaign-card.css +423 -108
  91. package/dist/collection/components/biggive-campaign-card/biggive-campaign-card.js +191 -128
  92. package/dist/collection/components/biggive-campaign-card/biggive-campaign-card.stories.js +105 -0
  93. package/dist/collection/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.css +438 -0
  94. package/dist/collection/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.js +151 -0
  95. package/dist/collection/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.stories.js +43 -0
  96. package/dist/collection/components/biggive-campaign-highlights/biggive-campaign-highlights.css +477 -0
  97. package/dist/collection/components/biggive-campaign-highlights/biggive-campaign-highlights.js +339 -0
  98. package/dist/collection/components/biggive-campaign-highlights/biggive-campaign-highlights.stories.js +89 -0
  99. package/dist/collection/components/biggive-category-icon/biggive-category-icon.css +474 -0
  100. package/dist/collection/components/biggive-category-icon/biggive-category-icon.js +137 -0
  101. package/dist/collection/components/biggive-category-icon/biggive-category-icon.stories.js +49 -0
  102. package/dist/collection/components/biggive-footer/biggive-footer.css +458 -0
  103. package/dist/collection/components/biggive-footer/biggive-footer.js +68 -0
  104. package/dist/collection/components/biggive-footer/biggive-footer.stories.js +27 -0
  105. package/dist/collection/components/biggive-form/biggive-form.css +3 -0
  106. package/dist/collection/components/biggive-form/biggive-form.js +15 -0
  107. package/dist/collection/components/{demo-campaign-cards/demo-campaign-cards.css → biggive-form-field-select/biggive-form-field-select.css} +0 -0
  108. package/dist/collection/components/biggive-form-field-select/biggive-form-field-select.js +15 -0
  109. package/dist/collection/components/biggive-form-field-text-input/biggive-text-input.css +3 -0
  110. package/dist/collection/components/biggive-form-field-text-input/biggive-text-input.js +15 -0
  111. package/dist/collection/components/biggive-formatted-text/biggive-formatted-text.css +409 -0
  112. package/dist/collection/components/biggive-formatted-text/biggive-formatted-text.js +63 -0
  113. package/dist/collection/components/biggive-formatted-text/biggive-formatted-text.stories.js +52 -0
  114. package/dist/collection/components/biggive-grid/biggive-grid.css +421 -2
  115. package/dist/collection/components/biggive-grid/biggive-grid.js +73 -3
  116. package/dist/collection/components/biggive-grid/biggive-grid.stories.js +109 -0
  117. package/dist/collection/components/biggive-header/biggive-header.css +488 -0
  118. package/dist/collection/components/biggive-header/biggive-header.js +77 -0
  119. package/dist/collection/components/biggive-header/biggive-header.stories.js +20 -0
  120. package/dist/collection/components/biggive-heading/biggive-heading.css +445 -0
  121. package/dist/collection/components/biggive-heading/biggive-heading.js +130 -0
  122. package/dist/collection/components/biggive-heading/biggive-heading.stories.js +51 -0
  123. package/dist/collection/components/biggive-hero-image/biggive-hero-image.css +489 -0
  124. package/dist/collection/components/biggive-hero-image/biggive-hero-image.js +317 -0
  125. package/dist/collection/components/biggive-hero-image/biggive-hero-image.stories.js +34 -0
  126. package/dist/collection/components/biggive-icon-group/biggive-icon-group.css +417 -0
  127. package/dist/collection/components/biggive-icon-group/biggive-icon-group.js +65 -0
  128. package/dist/collection/components/biggive-icon-group/biggive-icon-group.stories.js +26 -0
  129. package/dist/collection/components/biggive-image/biggive-image.css +405 -0
  130. package/dist/collection/components/biggive-image/biggive-image.js +64 -0
  131. package/dist/collection/components/biggive-image/biggive-image.stories.js +26 -0
  132. package/dist/collection/components/biggive-image-feature/biggive-image-feature.css +436 -0
  133. package/dist/collection/components/biggive-image-feature/biggive-image-feature.js +290 -0
  134. package/dist/collection/components/biggive-image-feature/biggive-image-feature.stories.js +96 -0
  135. package/dist/collection/components/biggive-misc-icon/biggive-misc-icon.css +458 -0
  136. package/dist/collection/components/biggive-misc-icon/biggive-misc-icon.js +113 -0
  137. package/dist/collection/components/biggive-misc-icon/biggive-misc-icon.stories.js +44 -0
  138. package/dist/collection/components/biggive-page-column/biggive-page-column.css +3 -0
  139. package/dist/collection/components/biggive-page-column/biggive-page-column.js +14 -0
  140. package/dist/collection/components/biggive-page-column/biggive-page-column.stories.js +18 -0
  141. package/dist/collection/components/biggive-page-columns/biggive-page-columns.css +422 -0
  142. package/dist/collection/components/biggive-page-columns/biggive-page-columns.js +45 -0
  143. package/dist/collection/components/biggive-page-columns/biggive-page-columns.stories.js +21 -0
  144. package/dist/collection/components/biggive-page-section/biggive-page-section.css +500 -0
  145. package/dist/collection/components/biggive-page-section/biggive-page-section.js +108 -0
  146. package/dist/collection/components/biggive-page-section/biggive-page-section.stories.js +48 -0
  147. package/dist/collection/components/biggive-progress-bar/biggive-progress-bar.css +403 -0
  148. package/dist/collection/components/biggive-progress-bar/biggive-progress-bar.js +92 -0
  149. package/dist/collection/components/biggive-progress-bar/biggive-progress-bar.stories.js +35 -0
  150. package/dist/collection/components/biggive-quote/biggive-quote.css +417 -0
  151. package/dist/collection/components/biggive-quote/biggive-quote.js +108 -0
  152. package/dist/collection/components/biggive-quote/biggive-quote.stories.js +42 -0
  153. package/dist/collection/components/biggive-search/biggive-search.css +492 -0
  154. package/dist/collection/components/biggive-search/biggive-search.js +99 -0
  155. package/dist/collection/components/biggive-search/biggive-search.stories.js +15 -0
  156. package/dist/collection/components/biggive-social-icon/biggive-social-icon.css +458 -0
  157. package/dist/collection/components/biggive-social-icon/biggive-social-icon.js +113 -0
  158. package/dist/collection/components/biggive-social-icon/biggive-social-icon.stories.js +44 -0
  159. package/dist/collection/components/biggive-tab/biggive-tab.css +405 -0
  160. package/dist/collection/components/biggive-tab/biggive-tab.js +43 -0
  161. package/dist/collection/components/biggive-tabbed-content/biggive-tabbed-content.css +405 -0
  162. package/dist/collection/components/biggive-tabbed-content/biggive-tabbed-content.js +63 -0
  163. package/dist/collection/components/biggive-tabbed-content/biggive-tabbed-content.stories.js +37 -0
  164. package/dist/collection/components/biggive-totalizer/biggive-totalizer.css +427 -0
  165. package/dist/collection/components/biggive-totalizer/biggive-totalizer.js +239 -0
  166. package/dist/collection/components/biggive-totalizer/biggive-totalizer.stories.js +77 -0
  167. package/dist/collection/components/biggive-video/biggive-video.css +405 -0
  168. package/dist/collection/components/biggive-video/biggive-video.js +64 -0
  169. package/dist/collection/components/biggive-video/biggive-video.stories.js +26 -0
  170. package/dist/collection/components/biggive-video-feature/biggive-video-feature.css +436 -0
  171. package/dist/collection/components/biggive-video-feature/biggive-video-feature.js +290 -0
  172. package/dist/collection/components/biggive-video-feature/biggive-video-feature.stories.js +96 -0
  173. package/dist/collection/util/{campaign-groups.js → fontawesome-icons.js} +52 -6
  174. package/dist/components/biggive-back-to-top.d.ts +11 -0
  175. package/dist/components/biggive-back-to-top.js +33 -0
  176. package/dist/components/biggive-basic-card.d.ts +11 -0
  177. package/dist/components/biggive-basic-card.js +85 -0
  178. package/dist/components/biggive-beneficiary-icon.d.ts +11 -0
  179. package/dist/components/biggive-beneficiary-icon.js +63 -0
  180. package/dist/components/biggive-boxed-content.d.ts +11 -0
  181. package/dist/components/biggive-boxed-content.js +68 -0
  182. package/dist/components/biggive-branded-image.d.ts +11 -0
  183. package/dist/components/biggive-branded-image.js +54 -0
  184. package/dist/components/biggive-button.d.ts +11 -0
  185. package/dist/components/biggive-button.js +6 -0
  186. package/dist/components/biggive-button2.js +56 -0
  187. package/dist/components/biggive-call-to-action.d.ts +11 -0
  188. package/dist/components/biggive-call-to-action.js +120 -0
  189. package/dist/components/biggive-campaign-card-filter-grid.d.ts +11 -0
  190. package/dist/components/biggive-campaign-card-filter-grid.js +70 -0
  191. package/dist/components/biggive-campaign-card.js +136 -1
  192. package/dist/components/biggive-campaign-highlights.d.ts +11 -0
  193. package/dist/components/biggive-campaign-highlights.js +125 -0
  194. package/dist/components/biggive-category-icon.d.ts +11 -0
  195. package/dist/components/biggive-category-icon.js +63 -0
  196. package/dist/components/biggive-footer.d.ts +11 -0
  197. package/dist/components/biggive-footer.js +71 -0
  198. package/dist/components/biggive-form-field-select.d.ts +11 -0
  199. package/dist/components/biggive-form-field-select.js +33 -0
  200. package/dist/components/biggive-form.d.ts +11 -0
  201. package/dist/components/biggive-form.js +33 -0
  202. package/dist/components/biggive-formatted-text.d.ts +11 -0
  203. package/dist/components/biggive-formatted-text.js +44 -0
  204. package/dist/components/biggive-grid.js +44 -1
  205. package/dist/components/biggive-header.d.ts +11 -0
  206. package/dist/components/biggive-header.js +63 -0
  207. package/dist/components/biggive-heading.d.ts +11 -0
  208. package/dist/components/biggive-heading.js +60 -0
  209. package/dist/components/biggive-hero-image.d.ts +11 -0
  210. package/dist/components/biggive-hero-image.js +107 -0
  211. package/dist/components/biggive-icon-group.d.ts +11 -0
  212. package/dist/components/biggive-icon-group.js +44 -0
  213. package/dist/components/biggive-image-feature.d.ts +11 -0
  214. package/dist/components/biggive-image-feature.js +100 -0
  215. package/dist/components/biggive-image.d.ts +11 -0
  216. package/dist/components/biggive-image.js +44 -0
  217. package/dist/components/biggive-misc-icon.d.ts +11 -0
  218. package/dist/components/biggive-misc-icon.js +6 -0
  219. package/dist/components/biggive-misc-icon2.js +55 -0
  220. package/dist/components/{demo-campaign-cards.d.ts → biggive-page-column.d.ts} +4 -4
  221. package/dist/components/biggive-page-column.js +33 -0
  222. package/dist/components/biggive-page-columns.d.ts +11 -0
  223. package/dist/components/biggive-page-columns.js +39 -0
  224. package/dist/components/biggive-page-section.d.ts +11 -0
  225. package/dist/components/biggive-page-section.js +54 -0
  226. package/dist/components/biggive-progress-bar.d.ts +11 -0
  227. package/dist/components/biggive-progress-bar.js +6 -0
  228. package/dist/components/biggive-progress-bar2.js +49 -0
  229. package/dist/components/biggive-quote.d.ts +11 -0
  230. package/dist/components/biggive-quote.js +54 -0
  231. package/dist/components/biggive-search.d.ts +11 -0
  232. package/dist/components/biggive-search.js +54 -0
  233. package/dist/components/biggive-social-icon.d.ts +11 -0
  234. package/dist/components/biggive-social-icon.js +6 -0
  235. package/dist/components/biggive-social-icon2.js +55 -0
  236. package/dist/components/biggive-tab.d.ts +11 -0
  237. package/dist/components/biggive-tab.js +39 -0
  238. package/dist/components/biggive-tabbed-content.d.ts +11 -0
  239. package/dist/components/biggive-tabbed-content.js +44 -0
  240. package/dist/components/biggive-text-input.d.ts +11 -0
  241. package/dist/components/biggive-text-input.js +33 -0
  242. package/dist/components/biggive-totalizer.d.ts +11 -0
  243. package/dist/components/biggive-totalizer.js +93 -0
  244. package/dist/components/biggive-video-feature.d.ts +11 -0
  245. package/dist/components/biggive-video-feature.js +100 -0
  246. package/dist/components/biggive-video.d.ts +11 -0
  247. package/dist/components/biggive-video.js +44 -0
  248. package/dist/components/fontawesome-icons.js +238 -0
  249. package/dist/components/index.d.ts +34 -1
  250. package/dist/{esm/biggive-campaign-card_3.entry.js → components/index.es.js} +31 -289
  251. package/dist/components/index.js +34 -1
  252. package/dist/esm/biggive-back-to-top_11.entry.js +351 -0
  253. package/dist/esm/biggive-basic-card.entry.js +51 -0
  254. package/dist/esm/biggive-beneficiary-icon.entry.js +41 -0
  255. package/dist/esm/biggive-boxed-content.entry.js +44 -0
  256. package/dist/esm/biggive-branded-image.entry.js +31 -0
  257. package/dist/esm/biggive-call-to-action.entry.js +79 -0
  258. package/dist/esm/biggive-campaign-card-filter-grid.entry.js +46 -0
  259. package/dist/esm/biggive-campaign-card.entry.js +93 -0
  260. package/dist/esm/biggive-category-icon.entry.js +41 -0
  261. package/dist/esm/biggive-form-field-select.entry.js +15 -0
  262. package/dist/esm/biggive-form.entry.js +15 -0
  263. package/dist/esm/biggive-formatted-text.entry.js +23 -0
  264. package/dist/esm/biggive-grid.entry.js +27 -0
  265. package/dist/esm/biggive-hero-image.entry.js +69 -0
  266. package/dist/esm/biggive-icon-group.entry.js +23 -0
  267. package/dist/esm/biggive-image-feature.entry.js +63 -0
  268. package/dist/esm/biggive-image.entry.js +23 -0
  269. package/dist/esm/biggive-page-section.entry.js +31 -0
  270. package/dist/esm/biggive-quote.entry.js +31 -0
  271. package/dist/esm/biggive-search.entry.js +32 -0
  272. package/dist/esm/biggive-tab.entry.js +19 -0
  273. package/dist/esm/biggive-tabbed-content.entry.js +23 -0
  274. package/dist/esm/biggive-text-input.entry.js +15 -0
  275. package/dist/esm/biggive-totalizer.entry.js +65 -0
  276. package/dist/esm/biggive-video-feature.entry.js +63 -0
  277. package/dist/esm/biggive-video.entry.js +23 -0
  278. package/dist/esm/biggive.js +2 -2
  279. package/dist/esm/fontawesome-icons-e232deb7.js +238 -0
  280. package/dist/esm/{index-2280c7b8.js → index-4395d470.js} +94 -2
  281. package/dist/{cjs/biggive-campaign-card_3.cjs.entry.js → esm/index.es-64a64fa8.js} +31 -295
  282. package/dist/esm/loader.js +2 -2
  283. package/dist/types/components/biggive-back-to-top/biggive-back-to-top.d.ts +3 -0
  284. package/dist/types/components/biggive-back-to-top/biggive-back-to-top.stories.d.ts +5 -0
  285. package/dist/types/components/biggive-basic-card/biggive-basic-card.d.ts +39 -0
  286. package/dist/types/components/biggive-basic-card/biggive-basic-card.stories.d.ts +43 -0
  287. package/dist/types/components/biggive-beneficiary-icon/biggive-beneficiary-icon.d.ts +24 -0
  288. package/dist/types/components/biggive-beneficiary-icon/biggive-beneficiary-icon.stories.d.ts +34 -0
  289. package/dist/types/components/biggive-boxed-content/biggive-boxed-content.d.ts +23 -0
  290. package/dist/types/components/biggive-boxed-content/biggive-boxed-content.stories.d.ts +38 -0
  291. package/dist/types/components/biggive-branded-image/biggive-branded-image.d.ts +19 -0
  292. package/dist/types/components/biggive-branded-image/biggive-branded-image.stories.d.ts +23 -0
  293. package/dist/types/components/biggive-button/biggive-button.d.ts +23 -0
  294. package/dist/types/components/biggive-button/biggive-button.stories.d.ts +27 -0
  295. package/dist/types/components/biggive-call-to-action/biggive-call-to-action.d.ts +67 -0
  296. package/dist/types/components/biggive-call-to-action/biggive-call-to-action.stories.d.ts +87 -0
  297. package/dist/types/components/biggive-campaign-card/biggive-campaign-card.d.ts +38 -26
  298. package/dist/types/components/biggive-campaign-card/biggive-campaign-card.stories.d.ts +70 -0
  299. package/dist/types/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.d.ts +30 -0
  300. package/dist/types/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.stories.d.ts +5 -0
  301. package/dist/types/components/biggive-campaign-highlights/biggive-campaign-highlights.d.ts +59 -0
  302. package/dist/types/components/biggive-campaign-highlights/biggive-campaign-highlights.stories.d.ts +58 -0
  303. package/dist/types/components/biggive-category-icon/biggive-category-icon.d.ts +24 -0
  304. package/dist/types/components/biggive-category-icon/biggive-category-icon.stories.d.ts +34 -0
  305. package/dist/types/components/biggive-footer/biggive-footer.d.ts +4 -0
  306. package/dist/types/components/{demo-campaign-cards/demo-campaign-cards.stories.d.ts → biggive-footer/biggive-footer.stories.d.ts} +1 -1
  307. package/dist/types/components/biggive-form/biggive-form.d.ts +3 -0
  308. package/dist/types/components/biggive-form-field-select/biggive-form-field-select.d.ts +3 -0
  309. package/dist/types/components/biggive-form-field-text-input/biggive-text-input.d.ts +3 -0
  310. package/dist/types/components/biggive-formatted-text/biggive-formatted-text.d.ts +11 -0
  311. package/dist/types/components/biggive-formatted-text/biggive-formatted-text.stories.d.ts +21 -0
  312. package/dist/types/components/biggive-grid/biggive-grid.d.ts +12 -0
  313. package/dist/types/components/biggive-grid/biggive-grid.stories.d.ts +28 -0
  314. package/dist/types/components/biggive-header/biggive-header.d.ts +8 -0
  315. package/dist/types/components/biggive-header/biggive-header.stories.d.ts +5 -0
  316. package/dist/types/components/biggive-heading/biggive-heading.d.ts +23 -0
  317. package/dist/types/components/biggive-heading/biggive-heading.stories.d.ts +35 -0
  318. package/dist/types/components/biggive-hero-image/biggive-hero-image.d.ts +55 -0
  319. package/dist/types/components/biggive-hero-image/biggive-hero-image.stories.d.ts +5 -0
  320. package/dist/types/components/biggive-icon-group/biggive-icon-group.d.ts +11 -0
  321. package/dist/types/components/biggive-icon-group/biggive-icon-group.stories.d.ts +14 -0
  322. package/dist/types/components/biggive-image/biggive-image.d.ts +11 -0
  323. package/dist/types/components/biggive-image/biggive-image.stories.d.ts +17 -0
  324. package/dist/types/components/biggive-image-feature/biggive-image-feature.d.ts +51 -0
  325. package/dist/types/components/biggive-image-feature/biggive-image-feature.stories.d.ts +67 -0
  326. package/dist/types/components/biggive-misc-icon/biggive-misc-icon.d.ts +20 -0
  327. package/dist/types/components/biggive-misc-icon/biggive-misc-icon.stories.d.ts +31 -0
  328. package/dist/types/components/biggive-page-column/biggive-page-column.d.ts +3 -0
  329. package/dist/types/components/biggive-page-column/biggive-page-column.stories.d.ts +14 -0
  330. package/dist/types/components/biggive-page-columns/biggive-page-columns.d.ts +7 -0
  331. package/dist/types/components/biggive-page-columns/biggive-page-columns.stories.d.ts +14 -0
  332. package/dist/types/components/biggive-page-section/biggive-page-section.d.ts +19 -0
  333. package/dist/types/components/biggive-page-section/biggive-page-section.stories.d.ts +35 -0
  334. package/dist/types/components/biggive-progress-bar/biggive-progress-bar.d.ts +16 -0
  335. package/dist/types/components/biggive-progress-bar/biggive-progress-bar.stories.d.ts +24 -0
  336. package/dist/types/components/biggive-quote/biggive-quote.d.ts +19 -0
  337. package/dist/types/components/biggive-quote/biggive-quote.stories.d.ts +27 -0
  338. package/dist/types/components/biggive-search/biggive-search.d.ts +23 -0
  339. package/dist/types/components/biggive-search/biggive-search.stories.d.ts +5 -0
  340. package/dist/types/components/biggive-social-icon/biggive-social-icon.d.ts +20 -0
  341. package/dist/types/components/biggive-social-icon/biggive-social-icon.stories.d.ts +31 -0
  342. package/dist/types/components/biggive-tab/biggive-tab.d.ts +7 -0
  343. package/dist/types/components/biggive-tabbed-content/biggive-tabbed-content.d.ts +11 -0
  344. package/dist/types/components/biggive-tabbed-content/biggive-tabbed-content.stories.d.ts +21 -0
  345. package/dist/types/components/biggive-totalizer/biggive-totalizer.d.ts +43 -0
  346. package/dist/types/components/biggive-totalizer/biggive-totalizer.stories.d.ts +54 -0
  347. package/dist/types/components/biggive-video/biggive-video.d.ts +11 -0
  348. package/dist/types/components/biggive-video/biggive-video.stories.d.ts +17 -0
  349. package/dist/types/components/biggive-video-feature/biggive-video-feature.d.ts +51 -0
  350. package/dist/types/components/biggive-video-feature/biggive-video-feature.stories.d.ts +67 -0
  351. package/dist/types/components.d.ts +1786 -77
  352. package/dist/types/util/{campaign-groups.d.ts → fontawesome-icons.d.ts} +11 -1
  353. package/hydrate/index.js +1868 -120
  354. package/package.json +9 -8
  355. package/readme.md +4 -0
  356. package/dist/biggive/p-89e49cb6.js +0 -2
  357. package/dist/biggive/p-e330fae6.entry.js +0 -11
  358. package/dist/collection/components/demo-campaign-cards/demo-campaign-cards.js +0 -14
  359. package/dist/collection/components/demo-campaign-cards/demo-campaign-cards.stories.js +0 -5
  360. package/dist/components/biggive-grid2.js +0 -30
  361. package/dist/components/demo-campaign-cards.js +0 -45
  362. package/dist/types/components/demo-campaign-cards/demo-campaign-cards.d.ts +0 -3
@@ -0,0 +1,56 @@
1
+ import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
+
3
+ const biggiveButtonCss = "body{background-color:#D7D7D7}h1{font-size:50px;line-height:60px;font-weight:bold}h2{font-size:38px;line-height:45px;font-weight:bold}h3{font-size:25px;line-height:32px;font-weight:bold}h4{font-size:20px;line-height:24px;font-weight:bold}h5{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-white{color:#FFFFFF}.colour-black{color:#000000}.text-colour-primary{color:#2C089B}.text-colour-secondary{color:#2AF135}.text-colour-tertiary{color:#FF7272}.text-colour-white{color:#FFFFFF}.text-colour-black{color:#000000}.fill-primary{fill:#2C089B}.fill-secondary{fill:#2AF135}.fill-tertiary{fill:#FF7272}.fill-white{fill:#FFFFFF}.fill-black{fill:#000000}.background-colour-primary{background-color:#2C089B}.background-colour-secondary{background-color:#2AF135}.background-colour-tertiary{background-color:#FF7272}.background-colour-white{background-color:#FFFFFF}.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:18px;line-height:23px;padding:15px 30px;border-radius:5px;border:1px solid #000000;background-color:#000000;filter:drop-shadow(0px 8px 20px rgba(0, 0, 0, 0.22));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-primary{color:#FFFFFF;background-color:#2C089B;border-color:#2C089B}.button-primary:hover{color:#2C089B;background-color:#FFFFFF}.button-secondary{color:#2C089B;background-color:#2AF135;border-color:#2AF135}.button-secondary:hover{background-color:#FFFFFF}.button-tertiary{color:#FFFFFF;background-color:#FF7272;border-color:#FF7272}.button-tertiary:hover{background-color:#FFFFFF}.button-clear-primary{color:#2C089B;background-color:transparent;text-decoration:underline;box-shadow:none;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;box-shadow:none;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;box-shadow:none;border:0;padding-left:0;padding-right:0}.button-clear-tertiary:hover{text-decoration:none;background-color:transparent}.button-clear-white{color:#FFFFFF;background-color:transparent;text-decoration:underline;box-shadow:none;border:0;padding-left:0;padding-right:0}.button-clear-white:hover{color:#FFFFFF;text-decoration:none;background-color:transparent}.button-rounded{border-radius:50%}.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 video{width:100%;height:auto}.image-wrap img{width:100%;height:auto}.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}.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}.container a{display:inline-block}.container a.full-width-true{display:block}";
4
+
5
+ const BiggiveButton = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
6
+ constructor() {
7
+ super();
8
+ this.__registerHost();
9
+ this.__attachShadow();
10
+ /**
11
+ * Space below component
12
+ */
13
+ this.spaceBelow = 1;
14
+ /**
15
+ * Colour Scheme
16
+ */
17
+ this.colourScheme = 'primary';
18
+ /**
19
+ * Text
20
+ */
21
+ this.label = 'Click me';
22
+ /**
23
+ * URL
24
+ */
25
+ this.url = '#';
26
+ /**
27
+ * Display full width
28
+ */
29
+ this.fullWidth = false;
30
+ }
31
+ render() {
32
+ return (h("div", { class: 'container space-below-' + this.spaceBelow }, h("a", { href: this.url, class: 'button button-' + this.colourScheme + ' full-width-' + this.fullWidth.toString() }, this.label)));
33
+ }
34
+ static get style() { return biggiveButtonCss; }
35
+ }, [1, "biggive-button", {
36
+ "spaceBelow": [2, "space-below"],
37
+ "colourScheme": [1, "colour-scheme"],
38
+ "label": [1],
39
+ "url": [1],
40
+ "fullWidth": [4, "full-width"]
41
+ }]);
42
+ function defineCustomElement() {
43
+ if (typeof customElements === "undefined") {
44
+ return;
45
+ }
46
+ const components = ["biggive-button"];
47
+ components.forEach(tagName => { switch (tagName) {
48
+ case "biggive-button":
49
+ if (!customElements.get(tagName)) {
50
+ customElements.define(tagName, BiggiveButton);
51
+ }
52
+ break;
53
+ } });
54
+ }
55
+
56
+ export { BiggiveButton as B, defineCustomElement as d };
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface BiggiveCallToAction extends Components.BiggiveCallToAction, HTMLElement {}
4
+ export const BiggiveCallToAction: {
5
+ prototype: BiggiveCallToAction;
6
+ new (): BiggiveCallToAction;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,120 @@
1
+ import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
+ import { d as defineCustomElement$2 } from './biggive-button2.js';
3
+
4
+ const biggiveCallToActionCss = "body{background-color:#D7D7D7}h1{font-size:50px;line-height:60px;font-weight:bold}h2{font-size:38px;line-height:45px;font-weight:bold}h3{font-size:25px;line-height:32px;font-weight:bold}h4{font-size:20px;line-height:24px;font-weight:bold}h5{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-white{color:#FFFFFF}.colour-black{color:#000000}.text-colour-primary{color:#2C089B}.text-colour-secondary{color:#2AF135}.text-colour-tertiary{color:#FF7272}.text-colour-white{color:#FFFFFF}.text-colour-black{color:#000000}.fill-primary{fill:#2C089B}.fill-secondary{fill:#2AF135}.fill-tertiary{fill:#FF7272}.fill-white{fill:#FFFFFF}.fill-black{fill:#000000}.background-colour-primary{background-color:#2C089B}.background-colour-secondary{background-color:#2AF135}.background-colour-tertiary{background-color:#FF7272}.background-colour-white{background-color:#FFFFFF}.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:18px;line-height:23px;padding:15px 30px;border-radius:5px;border:1px solid #000000;background-color:#000000;filter:drop-shadow(0px 8px 20px rgba(0, 0, 0, 0.22));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-primary{color:#FFFFFF;background-color:#2C089B;border-color:#2C089B}.button-primary:hover{color:#2C089B;background-color:#FFFFFF}.button-secondary{color:#2C089B;background-color:#2AF135;border-color:#2AF135}.button-secondary:hover{background-color:#FFFFFF}.button-tertiary{color:#FFFFFF;background-color:#FF7272;border-color:#FF7272}.button-tertiary:hover{background-color:#FFFFFF}.button-clear-primary{color:#2C089B;background-color:transparent;text-decoration:underline;box-shadow:none;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;box-shadow:none;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;box-shadow:none;border:0;padding-left:0;padding-right:0}.button-clear-tertiary:hover{text-decoration:none;background-color:transparent}.button-clear-white{color:#FFFFFF;background-color:transparent;text-decoration:underline;box-shadow:none;border:0;padding-left:0;padding-right:0}.button-clear-white:hover{color:#FFFFFF;text-decoration:none;background-color:transparent}.button-rounded{border-radius:50%}.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 video{width:100%;height:auto}.image-wrap img{width:100%;height:auto}.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}.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;font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px}.container{max-width:1200px;padding-left:15px;padding-right:15px;margin-left:auto;margin-right:auto;position:relative;text-align:center}.content-wrap .slug{font-size:20px;line-height:24px;font-weight:bold;margin:0;padding:0}.content-wrap h2{font-size:38px;line-height:45px;font-weight:bold;margin:0 0 5px 0;padding:0}.content-wrap .subtitle{font-size:20px;line-height:24px;font-weight:bold;margin:0 0 5px 0;padding:0}.content-wrap .teaser{margin:15px auto 15px auto;max-width:400px;padding:0}";
5
+
6
+ const BiggiveCallToAction$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
7
+ constructor() {
8
+ super();
9
+ this.__registerHost();
10
+ this.__attachShadow();
11
+ /**
12
+ * Space below component
13
+ */
14
+ this.spaceBelow = 0;
15
+ /**
16
+ * Default text colour
17
+ */
18
+ this.defaultTextColour = 'primary';
19
+ /**
20
+ * Slug colour
21
+ */
22
+ this.slugColour = '';
23
+ /**
24
+ * Slug
25
+ */
26
+ this.slug = null;
27
+ /**
28
+ * Main title colour
29
+ */
30
+ this.mainTitleColour = '';
31
+ /**
32
+ * Main title
33
+ */
34
+ this.mainTitle = null;
35
+ /**
36
+ * Subtitle colour
37
+ */
38
+ this.subtitleColour = '';
39
+ /**
40
+ * Subtitle
41
+ */
42
+ this.subtitle = null;
43
+ /**
44
+ * Teaser colour
45
+ */
46
+ this.teaserColour = '';
47
+ /**
48
+ * Teaser
49
+ */
50
+ this.teaser = null;
51
+ /**
52
+ * Primary button Url
53
+ */
54
+ this.primaryButtonUrl = null;
55
+ /**
56
+ * Primary button Label
57
+ */
58
+ this.primaryButtonLabel = null;
59
+ /**
60
+ * Primary button Colour Scheme
61
+ */
62
+ this.primaryButtonColourScheme = 'primary';
63
+ /**
64
+ * Secondary button Url
65
+ */
66
+ this.secondaryButtonUrl = null;
67
+ /**
68
+ * Secondary button Label
69
+ */
70
+ this.secondaryButtonLabel = null;
71
+ /**
72
+ * Secondary button Colour Scheme
73
+ */
74
+ this.secondaryButtonColourScheme = 'primary';
75
+ }
76
+ render() {
77
+ return (h("div", { class: 'container text-colour-' + this.defaultTextColour + ' space-below-' + this.spaceBelow }, h("div", { class: "sleeve" }, h("div", { class: "content-wrap" }, h("div", { class: 'slug text-colour-' + this.slugColour }, this.slug), h("h2", { class: 'title text-colour-' + this.mainTitleColour }, this.mainTitle), h("div", { class: 'slug text-colour-' + this.subtitleColour }, this.subtitle), h("div", { class: 'teaser text-colour-' + this.teaserColour }, this.teaser), this.primaryButtonLabel != null && this.primaryButtonUrl != null ? (h("div", { class: "button-wrap" }, h("biggive-button", { "colour-scheme": this.primaryButtonColourScheme, url: this.primaryButtonUrl, label: this.primaryButtonLabel }))) : null, this.secondaryButtonLabel != null && this.secondaryButtonUrl != null ? (h("div", { class: "button-wrap" }, h("biggive-button", { "colour-scheme": this.secondaryButtonColourScheme, url: this.secondaryButtonUrl, label: this.secondaryButtonLabel }))) : null))));
78
+ }
79
+ static get style() { return biggiveCallToActionCss; }
80
+ }, [1, "biggive-call-to-action", {
81
+ "spaceBelow": [2, "space-below"],
82
+ "defaultTextColour": [1, "default-text-colour"],
83
+ "slugColour": [1, "slug-colour"],
84
+ "slug": [1],
85
+ "mainTitleColour": [1, "main-title-colour"],
86
+ "mainTitle": [1, "main-title"],
87
+ "subtitleColour": [1, "subtitle-colour"],
88
+ "subtitle": [1],
89
+ "teaserColour": [1, "teaser-colour"],
90
+ "teaser": [1],
91
+ "primaryButtonUrl": [1, "primary-button-url"],
92
+ "primaryButtonLabel": [1, "primary-button-label"],
93
+ "primaryButtonColourScheme": [1, "primary-button-colour-scheme"],
94
+ "secondaryButtonUrl": [1, "secondary-button-url"],
95
+ "secondaryButtonLabel": [1, "secondary-button-label"],
96
+ "secondaryButtonColourScheme": [1, "secondary-button-colour-scheme"]
97
+ }]);
98
+ function defineCustomElement$1() {
99
+ if (typeof customElements === "undefined") {
100
+ return;
101
+ }
102
+ const components = ["biggive-call-to-action", "biggive-button"];
103
+ components.forEach(tagName => { switch (tagName) {
104
+ case "biggive-call-to-action":
105
+ if (!customElements.get(tagName)) {
106
+ customElements.define(tagName, BiggiveCallToAction$1);
107
+ }
108
+ break;
109
+ case "biggive-button":
110
+ if (!customElements.get(tagName)) {
111
+ defineCustomElement$2();
112
+ }
113
+ break;
114
+ } });
115
+ }
116
+
117
+ const BiggiveCallToAction = BiggiveCallToAction$1;
118
+ const defineCustomElement = defineCustomElement$1;
119
+
120
+ export { BiggiveCallToAction, defineCustomElement };
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface BiggiveCampaignCardFilterGrid extends Components.BiggiveCampaignCardFilterGrid, HTMLElement {}
4
+ export const BiggiveCampaignCardFilterGrid: {
5
+ prototype: BiggiveCampaignCardFilterGrid;
6
+ new (): BiggiveCampaignCardFilterGrid;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,70 @@
1
+ import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
+ import { f as faMagnifyingGlass } from './index.es.js';
3
+
4
+ const biggiveCampaignCardFilterGridCss = "body{background-color:#D7D7D7}h1{font-size:50px;line-height:60px;font-weight:bold}h2{font-size:38px;line-height:45px;font-weight:bold}h3{font-size:25px;line-height:32px;font-weight:bold}h4{font-size:20px;line-height:24px;font-weight:bold}h5{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-white{color:#FFFFFF}.colour-black{color:#000000}.text-colour-primary{color:#2C089B}.text-colour-secondary{color:#2AF135}.text-colour-tertiary{color:#FF7272}.text-colour-white{color:#FFFFFF}.text-colour-black{color:#000000}.fill-primary{fill:#2C089B}.fill-secondary{fill:#2AF135}.fill-tertiary{fill:#FF7272}.fill-white{fill:#FFFFFF}.fill-black{fill:#000000}.background-colour-primary{background-color:#2C089B}.background-colour-secondary{background-color:#2AF135}.background-colour-tertiary{background-color:#FF7272}.background-colour-white{background-color:#FFFFFF}.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:18px;line-height:23px;padding:15px 30px;border-radius:5px;border:1px solid #000000;background-color:#000000;filter:drop-shadow(0px 8px 20px rgba(0, 0, 0, 0.22));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-primary{color:#FFFFFF;background-color:#2C089B;border-color:#2C089B}.button-primary:hover{color:#2C089B;background-color:#FFFFFF}.button-secondary{color:#2C089B;background-color:#2AF135;border-color:#2AF135}.button-secondary:hover{background-color:#FFFFFF}.button-tertiary{color:#FFFFFF;background-color:#FF7272;border-color:#FF7272}.button-tertiary:hover{background-color:#FFFFFF}.button-clear-primary{color:#2C089B;background-color:transparent;text-decoration:underline;box-shadow:none;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;box-shadow:none;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;box-shadow:none;border:0;padding-left:0;padding-right:0}.button-clear-tertiary:hover{text-decoration:none;background-color:transparent}.button-clear-white{color:#FFFFFF;background-color:transparent;text-decoration:underline;box-shadow:none;border:0;padding-left:0;padding-right:0}.button-clear-white:hover{color:#FFFFFF;text-decoration:none;background-color:transparent}.button-rounded{border-radius:50%}.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 video{width:100%;height:auto}.image-wrap img{width:100%;height:auto}.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}.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:content}.container{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;position:relative}.container .search-wrap{filter:drop-shadow(-1px 3px 12px rgba(0, 0, 0, 0.25));background-color:#FFFFFF;padding:15px 30px;margin-bottom:60px}.container .search-wrap .field-wrap{display:flex;justify-content:space-between}.container .search-wrap .field-wrap .input-wrap{padding-bottom:5px;border-bottom:1px solid #000000;margin-right:30px;flex-grow:1}.container .search-wrap .field-wrap .input-wrap input{border:0}.container .search-wrap .field-wrap button{padding:5px 30px}.icon{height:1rem;width:2rem;vertical-align:-0.125rem;margin:auto}.icon>path{fill:#2C089B}";
5
+
6
+ const BiggiveCampaignCardFilterGrid$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
7
+ constructor() {
8
+ super();
9
+ this.__registerHost();
10
+ this.__attachShadow();
11
+ this.doSearch = createEvent(this, "doTextSearch", 7);
12
+ this.searchText = null;
13
+ /**
14
+ * Space below component
15
+ */
16
+ this.spaceBelow = 0;
17
+ /**
18
+ * Intro
19
+ */
20
+ this.intro = 'Find a charity or project';
21
+ /**
22
+ * Defines the text displayed as the placeholder in the input field
23
+ * before the user types anything
24
+ */
25
+ this.placeholderText = 'Search';
26
+ /**
27
+ * Defines the text on the search button
28
+ */
29
+ this.buttonText = 'Search';
30
+ }
31
+ handleSearchTextChanged(event) {
32
+ this.searchText = event.target.value;
33
+ }
34
+ handleSearchButtonPressed() {
35
+ this.doSearch.emit(this.searchText);
36
+ }
37
+ handleEnterPressed(ev) {
38
+ if (ev.key === 'Enter') {
39
+ this.doSearch.emit(this.searchText);
40
+ }
41
+ }
42
+ render() {
43
+ return (h("div", { class: 'container space-below-' + this.spaceBelow }, h("div", { class: "sleeve" }, h("div", { class: "search-wrap" }, h("h4", null, this.intro), h("div", { class: "field-wrap" }, h("div", { class: "input-wrap" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", class: "icon", viewBox: "0 0 512 512" }, h("path", { d: faMagnifyingGlass.icon[4].toString() })), h("input", { type: "text", value: this.searchText, class: "input-text", placeholder: this.placeholderText, onInput: event => this.handleSearchTextChanged(event), onKeyDown: event => this.handleEnterPressed(event) })), h("button", { onClick: () => this.handleSearchButtonPressed(), class: "button button-primary" }, this.buttonText))), h("div", { class: "filter-wrap" }), h("div", { class: "campaign-grid" }, h("slot", { name: "campaign-grid" })))));
44
+ }
45
+ static get style() { return biggiveCampaignCardFilterGridCss; }
46
+ }, [1, "biggive-campaign-card-filter-grid", {
47
+ "spaceBelow": [2, "space-below"],
48
+ "intro": [1],
49
+ "placeholderText": [1, "placeholder-text"],
50
+ "buttonText": [1, "button-text"],
51
+ "searchText": [32]
52
+ }]);
53
+ function defineCustomElement$1() {
54
+ if (typeof customElements === "undefined") {
55
+ return;
56
+ }
57
+ const components = ["biggive-campaign-card-filter-grid"];
58
+ components.forEach(tagName => { switch (tagName) {
59
+ case "biggive-campaign-card-filter-grid":
60
+ if (!customElements.get(tagName)) {
61
+ customElements.define(tagName, BiggiveCampaignCardFilterGrid$1);
62
+ }
63
+ break;
64
+ } });
65
+ }
66
+
67
+ const BiggiveCampaignCardFilterGrid = BiggiveCampaignCardFilterGrid$1;
68
+ const defineCustomElement = defineCustomElement$1;
69
+
70
+ export { BiggiveCampaignCardFilterGrid, defineCustomElement };
@@ -1,4 +1,139 @@
1
- import { B as BiggiveCampaignCard$1, d as defineCustomElement$1 } from './biggive-campaign-card2.js';
1
+ import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
+ import { d as defineCustomElement$3 } from './biggive-button2.js';
3
+ import { d as defineCustomElement$2 } from './biggive-progress-bar2.js';
4
+
5
+ const biggiveCampaignCardCss = "body{background-color:#D7D7D7}h1{font-size:50px;line-height:60px;font-weight:bold}h2{font-size:38px;line-height:45px;font-weight:bold}h3{font-size:25px;line-height:32px;font-weight:bold}h4{font-size:20px;line-height:24px;font-weight:bold}h5{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-white{color:#FFFFFF}.colour-black{color:#000000}.text-colour-primary{color:#2C089B}.text-colour-secondary{color:#2AF135}.text-colour-tertiary{color:#FF7272}.text-colour-white{color:#FFFFFF}.text-colour-black{color:#000000}.fill-primary{fill:#2C089B}.fill-secondary{fill:#2AF135}.fill-tertiary{fill:#FF7272}.fill-white{fill:#FFFFFF}.fill-black{fill:#000000}.background-colour-primary{background-color:#2C089B}.background-colour-secondary{background-color:#2AF135}.background-colour-tertiary{background-color:#FF7272}.background-colour-white{background-color:#FFFFFF}.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:18px;line-height:23px;padding:15px 30px;border-radius:5px;border:1px solid #000000;background-color:#000000;filter:drop-shadow(0px 8px 20px rgba(0, 0, 0, 0.22));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-primary{color:#FFFFFF;background-color:#2C089B;border-color:#2C089B}.button-primary:hover{color:#2C089B;background-color:#FFFFFF}.button-secondary{color:#2C089B;background-color:#2AF135;border-color:#2AF135}.button-secondary:hover{background-color:#FFFFFF}.button-tertiary{color:#FFFFFF;background-color:#FF7272;border-color:#FF7272}.button-tertiary:hover{background-color:#FFFFFF}.button-clear-primary{color:#2C089B;background-color:transparent;text-decoration:underline;box-shadow:none;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;box-shadow:none;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;box-shadow:none;border:0;padding-left:0;padding-right:0}.button-clear-tertiary:hover{text-decoration:none;background-color:transparent}.button-clear-white{color:#FFFFFF;background-color:transparent;text-decoration:underline;box-shadow:none;border:0;padding-left:0;padding-right:0}.button-clear-white:hover{color:#FFFFFF;text-decoration:none;background-color:transparent}.button-rounded{border-radius:50%}.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 video{width:100%;height:auto}.image-wrap img{width:100%;height:auto}.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}.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{display:flex;flex-direction:column;font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;filter:drop-shadow(-1px 3px 12px rgba(0, 0, 0, 0.25));height:100%;background-color:#FFFFFF;padding:15px;box-sizing:border-box}.container .sleeve{display:flex;flex-direction:column;height:100%}.container .campaign-type{position:absolute;top:0;left:0;right:0;text-align:center;font-weight:bold}.container .campaign-type span{background-color:#2AF135;color:#000000;padding:5px 15px;display:inline-block}.container .banner{top:0;margin-top:2px;padding-bottom:33.3%;background-color:#F1F1F1}.container .banner img{display:none}.container h3{font-size:20px;line-height:24px;font-weight:bold}.container .button{display:block}.container .organisation-name{margin-bottom:30px;color:#2C089B}.container .meta-wrap{display:flex;justify-content:space-between;margin-top:auto;margin-bottom:15px}.container .meta-wrap .meta-item{width:calc(50% - 15px)}.container .meta-wrap .meta-item .label{font-size:11px;line-height:14px;display:block}.container .meta-wrap .meta-item .text{font-size:25px;line-height:32px;font-weight:bold;display:block}.container .meta-wrap .meta-item:last-child{text-align:right}.container .meta-wrap .meta-item:last-child .text{color:#2C089B}.container .progress-bar-wrap{padding-bottom:10px;margin-bottom:10px;border-bottom:1px solid #E8E8E8}";
6
+
7
+ const BiggiveCampaignCard$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
8
+ constructor() {
9
+ super();
10
+ this.__registerHost();
11
+ this.__attachShadow();
12
+ /**
13
+ * Space below component
14
+ */
15
+ this.spaceBelow = 4;
16
+ /**
17
+ * e.g. "Match Funded".
18
+ */
19
+ this.campaignType = null;
20
+ /**
21
+ * Full URL of a banner image.
22
+ */
23
+ this.banner = '';
24
+ /**
25
+ * Display name of the charity's specific time-bound fundraising campaign.
26
+ */
27
+ this.campaignTitle = null;
28
+ /**
29
+ * Display name of the charity or non-profit.
30
+ */
31
+ this.organisationName = null;
32
+ /**
33
+ * Label for the primary figure
34
+ */
35
+ this.primaryFigureLabel = null;
36
+ /**
37
+ * Amount for the primary figure
38
+ */
39
+ this.primaryFigureAmount = null;
40
+ /**
41
+ * Label for the secondary figure
42
+ */
43
+ this.secondaryFigureLabel = null;
44
+ /**
45
+ * Amount for the secondary figure
46
+ */
47
+ this.secondaryFigureAmount = null;
48
+ /**
49
+ * Progress bar percentage
50
+ */
51
+ this.progressBarCounter = 100;
52
+ /**
53
+ * Donate button label
54
+ */
55
+ this.donateButtonLabel = 'Donate now';
56
+ /**
57
+ * Donate button url
58
+ */
59
+ this.donateButtonUrl = null;
60
+ /**
61
+ * Donate button colour scheme
62
+ */
63
+ this.donateButtonColourScheme = 'primary';
64
+ /**
65
+ * More information button label
66
+ */
67
+ this.moreInfoButtonLabel = 'Find out more';
68
+ /**
69
+ * More information button url
70
+ */
71
+ this.moreInfoButtonUrl = null;
72
+ /**
73
+ * Donate button colour scheme
74
+ */
75
+ this.moreInfoButtonColourScheme = 'clear-primary';
76
+ }
77
+ /**
78
+ * @returns Whole large currency units (e.g. pounds) formatted with symbol.
79
+ */
80
+ formatCurrency(currencyCode, amount) {
81
+ if (amount === null || isNaN(amount)) {
82
+ return '–';
83
+ }
84
+ return Intl.NumberFormat('en-GB', {
85
+ style: 'currency',
86
+ currency: currencyCode,
87
+ currencyDisplay: 'symbol',
88
+ maximumFractionDigits: 0,
89
+ }).format(amount);
90
+ }
91
+ render() {
92
+ return (h("div", { class: 'container space-below-' + this.spaceBelow.toString() }, h("div", { class: "sleeve" }, this.campaignType.length > 0 ? (h("div", { class: "campaign-type" }, h("span", null, this.campaignType))) : null, this.banner.length > 0 ? (h("div", { class: "image-wrap banner", style: { 'background-image': 'url(' + this.banner + ')' } }, h("img", { src: this.banner, class: "banner" }))) : (h("div", { class: "image-wrap banner" })), h("div", { class: "title-wrap" }, h("h3", null, this.campaignTitle), h("div", { class: "organisation-name" }, "By ", this.organisationName)), h("div", { class: "meta-wrap" }, h("div", { class: "meta-item" }, h("span", { class: "label" }, this.primaryFigureLabel), h("span", { class: "text" }, this.formatCurrency(this.currencyCode, this.primaryFigureAmount))), h("div", { class: "meta-item" }, h("span", { class: "label" }, this.secondaryFigureLabel), h("span", { class: "text" }, this.formatCurrency(this.currencyCode, this.secondaryFigureAmount)))), h("div", { class: "progress-bar-wrap" }, h("biggive-progress-bar", { counter: this.progressBarCounter, "colour-scheme": "primary" })), h("div", { class: "button-wrap" }, h("biggive-button", { "full-width": "true", "colour-scheme": this.donateButtonColourScheme, url: this.donateButtonUrl, label: this.donateButtonLabel }), h("biggive-button", { "full-width": "true", "colour-scheme": this.moreInfoButtonColourScheme, url: this.moreInfoButtonUrl, label: this.moreInfoButtonLabel })))));
93
+ }
94
+ static get style() { return biggiveCampaignCardCss; }
95
+ }, [1, "biggive-campaign-card", {
96
+ "spaceBelow": [2, "space-below"],
97
+ "campaignType": [1, "campaign-type"],
98
+ "banner": [1],
99
+ "campaignTitle": [1, "campaign-title"],
100
+ "organisationName": [1, "organisation-name"],
101
+ "currencyCode": [1, "currency-code"],
102
+ "primaryFigureLabel": [1, "primary-figure-label"],
103
+ "primaryFigureAmount": [2, "primary-figure-amount"],
104
+ "secondaryFigureLabel": [1, "secondary-figure-label"],
105
+ "secondaryFigureAmount": [2, "secondary-figure-amount"],
106
+ "progressBarCounter": [2, "progress-bar-counter"],
107
+ "donateButtonLabel": [1, "donate-button-label"],
108
+ "donateButtonUrl": [1, "donate-button-url"],
109
+ "donateButtonColourScheme": [1, "donate-button-colour-scheme"],
110
+ "moreInfoButtonLabel": [1, "more-info-button-label"],
111
+ "moreInfoButtonUrl": [1, "more-info-button-url"],
112
+ "moreInfoButtonColourScheme": [1, "more-info-button-colour-scheme"]
113
+ }]);
114
+ function defineCustomElement$1() {
115
+ if (typeof customElements === "undefined") {
116
+ return;
117
+ }
118
+ const components = ["biggive-campaign-card", "biggive-button", "biggive-progress-bar"];
119
+ components.forEach(tagName => { switch (tagName) {
120
+ case "biggive-campaign-card":
121
+ if (!customElements.get(tagName)) {
122
+ customElements.define(tagName, BiggiveCampaignCard$1);
123
+ }
124
+ break;
125
+ case "biggive-button":
126
+ if (!customElements.get(tagName)) {
127
+ defineCustomElement$3();
128
+ }
129
+ break;
130
+ case "biggive-progress-bar":
131
+ if (!customElements.get(tagName)) {
132
+ defineCustomElement$2();
133
+ }
134
+ break;
135
+ } });
136
+ }
2
137
 
3
138
  const BiggiveCampaignCard = BiggiveCampaignCard$1;
4
139
  const defineCustomElement = defineCustomElement$1;
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface BiggiveCampaignHighlights extends Components.BiggiveCampaignHighlights, HTMLElement {}
4
+ export const BiggiveCampaignHighlights: {
5
+ prototype: BiggiveCampaignHighlights;
6
+ new (): BiggiveCampaignHighlights;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,125 @@
1
+ import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
+ import { d as defineCustomElement$3 } from './biggive-misc-icon2.js';
3
+ import { d as defineCustomElement$2 } from './biggive-progress-bar2.js';
4
+
5
+ const biggiveCampaignHighlightsCss = "body{background-color:#D7D7D7}h1{font-size:50px;line-height:60px;font-weight:bold}h2{font-size:38px;line-height:45px;font-weight:bold}h3{font-size:25px;line-height:32px;font-weight:bold}h4{font-size:20px;line-height:24px;font-weight:bold}h5{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-white{color:#FFFFFF}.colour-black{color:#000000}.text-colour-primary{color:#2C089B}.text-colour-secondary{color:#2AF135}.text-colour-tertiary{color:#FF7272}.text-colour-white{color:#FFFFFF}.text-colour-black{color:#000000}.fill-primary{fill:#2C089B}.fill-secondary{fill:#2AF135}.fill-tertiary{fill:#FF7272}.fill-white{fill:#FFFFFF}.fill-black{fill:#000000}.background-colour-primary{background-color:#2C089B}.background-colour-secondary{background-color:#2AF135}.background-colour-tertiary{background-color:#FF7272}.background-colour-white{background-color:#FFFFFF}.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:18px;line-height:23px;padding:15px 30px;border-radius:5px;border:1px solid #000000;background-color:#000000;filter:drop-shadow(0px 8px 20px rgba(0, 0, 0, 0.22));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-primary{color:#FFFFFF;background-color:#2C089B;border-color:#2C089B}.button-primary:hover{color:#2C089B;background-color:#FFFFFF}.button-secondary{color:#2C089B;background-color:#2AF135;border-color:#2AF135}.button-secondary:hover{background-color:#FFFFFF}.button-tertiary{color:#FFFFFF;background-color:#FF7272;border-color:#FF7272}.button-tertiary:hover{background-color:#FFFFFF}.button-clear-primary{color:#2C089B;background-color:transparent;text-decoration:underline;box-shadow:none;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;box-shadow:none;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;box-shadow:none;border:0;padding-left:0;padding-right:0}.button-clear-tertiary:hover{text-decoration:none;background-color:transparent}.button-clear-white{color:#FFFFFF;background-color:transparent;text-decoration:underline;box-shadow:none;border:0;padding-left:0;padding-right:0}.button-clear-white:hover{color:#FFFFFF;text-decoration:none;background-color:transparent}.button-rounded{border-radius:50%}.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 video{width:100%;height:auto}.image-wrap img{width:100%;height:auto}.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}.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;filter:drop-shadow(-1px 3px 12px rgba(0, 0, 0, 0.25));background-color:#FFFFFF;padding:15px;box-sizing:border-box}.container .campaign-title{position:absolute;top:0;left:0;right:0;text-align:center;font-weight:bold}.container .campaign-title span{background-color:#2AF135;color:#000000;padding:5px 15px;display:inline-block}.container .banner{top:0;margin-top:2px;padding-bottom:33.3%;background-color:#F1F1F1;margin-bottom:30px}.container .banner img{display:none}.container .meta-wrap{display:flex;justify-content:space-between;margin-top:auto;margin-bottom:15px}.container .meta-wrap .meta-item{width:calc(50% - 15px)}.container .meta-wrap .meta-item .label{font-size:11px;line-height:14px;display:block}.container .meta-wrap .meta-item .text{font-size:25px;line-height:32px;font-weight:bold;display:block}.container .meta-wrap .meta-item:last-child{text-align:right}.container .meta-wrap .meta-item:last-child .text{color:#2C089B}.container .progress-bar-wrap{padding-bottom:10px;margin-bottom:10px;border-bottom:1px solid #E8E8E8}.container .stat-wrap{display:flex;justify-content:space-between}.container .stat-wrap .stat-item{font-size:11px;line-height:14px;width:calc(50% - 15px);margin:auto 0 auto 15px}.container .stat-wrap .stat-item svg{fill:#FF7272}";
6
+
7
+ const BiggiveCampaignHighlights$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
8
+ constructor() {
9
+ super();
10
+ this.__registerHost();
11
+ this.__attachShadow();
12
+ /**
13
+ * Space below component
14
+ */
15
+ this.spaceBelow = 0;
16
+ /**
17
+ * Full URL of a banner image.
18
+ */
19
+ this.banner = '';
20
+ /**
21
+ * Display name of the charity's specific time-bound fundraising campaign.
22
+ */
23
+ this.campaignTitle = null;
24
+ /**
25
+ * e.g. 'GBP'.
26
+ */
27
+ this.currencyCode = 'GBP';
28
+ /**
29
+ * Label for the primary figure
30
+ */
31
+ this.primaryFigureLabel = null;
32
+ /**
33
+ * Amount for the primary figure
34
+ */
35
+ this.primaryFigureAmount = null;
36
+ /**
37
+ * Label for the secondary figure
38
+ */
39
+ this.secondaryFigureLabel = null;
40
+ /**
41
+ * Amount for the secondary figure
42
+ */
43
+ this.secondaryFigureAmount = null;
44
+ /**
45
+ * Progress bar percentage
46
+ */
47
+ this.progressBarCounter = 100;
48
+ /**
49
+ * Primary stat icon
50
+ */
51
+ this.primaryStatIcon = null;
52
+ /**
53
+ * Primary stat text
54
+ */
55
+ this.primaryStatText = null;
56
+ /**
57
+ * Secondary stat icon
58
+ */
59
+ this.secondaryStatIcon = null;
60
+ /**
61
+ * Secondary stat text
62
+ */
63
+ this.secondaryStatText = null;
64
+ }
65
+ /**
66
+ * @returns Whole large currency units (e.g. pounds) formatted with symbol.
67
+ */
68
+ formatCurrency(currencyCode, amount) {
69
+ if (amount === null || isNaN(amount)) {
70
+ return '–';
71
+ }
72
+ return Intl.NumberFormat('en-GB', {
73
+ style: 'currency',
74
+ currency: currencyCode,
75
+ currencyDisplay: 'symbol',
76
+ maximumFractionDigits: 0,
77
+ }).format(amount);
78
+ }
79
+ render() {
80
+ return (h("div", { class: 'container space-below-' + this.spaceBelow }, h("div", { class: "sleeve" }, this.campaignTitle != null ? (h("div", { class: "campaign-title" }, h("span", null, this.campaignTitle))) : null, this.banner.length > 0 ? (h("div", { class: "image-wrap banner", style: { 'background-image': 'url(' + this.banner + ')' } }, h("img", { src: this.banner, class: "banner" }))) : null, h("div", { class: "meta-wrap" }, h("div", { class: "meta-item" }, h("span", { class: "label" }, this.primaryFigureLabel), h("span", { class: "text" }, this.formatCurrency(this.currencyCode, this.primaryFigureAmount))), h("div", { class: "meta-item" }, h("span", { class: "label" }, this.secondaryFigureLabel), h("span", { class: "text" }, this.formatCurrency(this.currencyCode, this.secondaryFigureAmount)))), h("div", { class: "progress-bar-wrap" }, h("biggive-progress-bar", { counter: this.progressBarCounter, "colour-scheme": "primary" })), h("div", { class: "stat-wrap" }, this.primaryStatIcon != null ? (h("div", { class: "stat-item" }, h("biggive-misc-icon", { icon: this.primaryStatIcon, "background-colour": "white", "icon-colour": "tertiary" }), h("span", { class: "label" }, this.primaryStatText))) : null, this.secondaryStatIcon != null ? (h("div", { class: "stat-item" }, h("biggive-misc-icon", { icon: this.secondaryStatIcon, "background-colour": "white", "icon-colour": "tertiary" }), h("span", { class: "label" }, this.secondaryStatText))) : null))));
81
+ }
82
+ static get style() { return biggiveCampaignHighlightsCss; }
83
+ }, [1, "biggive-campaign-highlights", {
84
+ "spaceBelow": [2, "space-below"],
85
+ "banner": [1],
86
+ "campaignTitle": [1, "campaign-title"],
87
+ "currencyCode": [1, "currency-code"],
88
+ "primaryFigureLabel": [1, "primary-figure-label"],
89
+ "primaryFigureAmount": [2, "primary-figure-amount"],
90
+ "secondaryFigureLabel": [1, "secondary-figure-label"],
91
+ "secondaryFigureAmount": [2, "secondary-figure-amount"],
92
+ "progressBarCounter": [2, "progress-bar-counter"],
93
+ "primaryStatIcon": [1, "primary-stat-icon"],
94
+ "primaryStatText": [1, "primary-stat-text"],
95
+ "secondaryStatIcon": [1, "secondary-stat-icon"],
96
+ "secondaryStatText": [1, "secondary-stat-text"]
97
+ }]);
98
+ function defineCustomElement$1() {
99
+ if (typeof customElements === "undefined") {
100
+ return;
101
+ }
102
+ const components = ["biggive-campaign-highlights", "biggive-misc-icon", "biggive-progress-bar"];
103
+ components.forEach(tagName => { switch (tagName) {
104
+ case "biggive-campaign-highlights":
105
+ if (!customElements.get(tagName)) {
106
+ customElements.define(tagName, BiggiveCampaignHighlights$1);
107
+ }
108
+ break;
109
+ case "biggive-misc-icon":
110
+ if (!customElements.get(tagName)) {
111
+ defineCustomElement$3();
112
+ }
113
+ break;
114
+ case "biggive-progress-bar":
115
+ if (!customElements.get(tagName)) {
116
+ defineCustomElement$2();
117
+ }
118
+ break;
119
+ } });
120
+ }
121
+
122
+ const BiggiveCampaignHighlights = BiggiveCampaignHighlights$1;
123
+ const defineCustomElement = defineCustomElement$1;
124
+
125
+ export { BiggiveCampaignHighlights, defineCustomElement };
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface BiggiveCategoryIcon extends Components.BiggiveCategoryIcon, HTMLElement {}
4
+ export const BiggiveCategoryIcon: {
5
+ prototype: BiggiveCategoryIcon;
6
+ new (): BiggiveCategoryIcon;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;