@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
@@ -1,63 +1,70 @@
1
1
  import { Component, Prop, h } from '@stencil/core';
2
- import { CampaignGroupsService } from '../../util/campaign-groups';
3
2
  export class BiggiveCampaignCard {
4
3
  constructor() {
5
4
  /**
6
- * Full URL of a banner image.
5
+ * Space below component
7
6
  */
8
- this.banner = '';
7
+ this.spaceBelow = 4;
9
8
  /**
10
- * (Ceiling of) whole number of days until campaign end.
9
+ * e.g. "Match Funded".
11
10
  */
12
- this.daysRemaining = null;
11
+ this.campaignType = null;
13
12
  /**
14
- * Target for the campaign including matching but excluding any
15
- * tax relief, in major unit of currency e.g. pounds GBP.
13
+ * Full URL of a banner image.
14
+ */
15
+ this.banner = '';
16
+ /**
17
+ * Display name of the charity's specific time-bound fundraising campaign.
16
18
  */
17
- this.target = null;
19
+ this.campaignTitle = null;
18
20
  /**
19
21
  * Display name of the charity or non-profit.
20
22
  */
21
23
  this.organisationName = null;
22
24
  /**
23
- * Display name of the charity's specific time-bound fundraising campaign.
25
+ * Label for the primary figure
24
26
  */
25
- this.campaignTitle = null;
27
+ this.primaryFigureLabel = null;
26
28
  /**
27
- * e.g. "Match Funded".
29
+ * Amount for the primary figure
28
30
  */
29
- this.campaignType = null;
31
+ this.primaryFigureAmount = null;
30
32
  /**
31
- * Array of full beneficiary labels.
33
+ * Label for the secondary figure
32
34
  */
33
- this.beneficiaries = [];
35
+ this.secondaryFigureLabel = null;
34
36
  /**
35
- * Array of full category labels.
37
+ * Amount for the secondary figure
36
38
  */
37
- this.categories = [];
39
+ this.secondaryFigureAmount = null;
38
40
  /**
39
- * Match funds not yet used or reserved, in major unit of currency e.g. pounds GBP.
41
+ * Progress bar percentage
40
42
  */
41
- this.matchFundsRemaining = null;
43
+ this.progressBarCounter = 100;
42
44
  /**
43
- * Total the campaign has raised so far including matching but excluding any
44
- * tax relief, in major unit of currency e.g. pounds GBP.
45
+ * Donate button label
45
46
  */
46
- this.totalFundsRaised = null;
47
+ this.donateButtonLabel = 'Donate now';
47
48
  /**
48
- * Full URL of a call to action.
49
+ * Donate button url
49
50
  */
50
- this.callToActionUrl = null;
51
+ this.donateButtonUrl = null;
51
52
  /**
52
- * Text for the link to `callToActionUrl`.
53
+ * Donate button colour scheme
53
54
  */
54
- this.callToActionLabel = null;
55
- }
56
- getBeneficiaryIcons() {
57
- return this.beneficiaries.map(beneficiary => CampaignGroupsService.getBeneficiaryIcon(beneficiary));
58
- }
59
- getCategoryIcons() {
60
- return this.categories.map(category => CampaignGroupsService.getCategoryIcon(category));
55
+ this.donateButtonColourScheme = 'primary';
56
+ /**
57
+ * More information button label
58
+ */
59
+ this.moreInfoButtonLabel = 'Find out more';
60
+ /**
61
+ * More information button url
62
+ */
63
+ this.moreInfoButtonUrl = null;
64
+ /**
65
+ * Donate button colour scheme
66
+ */
67
+ this.moreInfoButtonColourScheme = 'clear-primary';
61
68
  }
62
69
  /**
63
70
  * @returns Whole large currency units (e.g. pounds) formatted with symbol.
@@ -74,49 +81,29 @@ export class BiggiveCampaignCard {
74
81
  }).format(amount);
75
82
  }
76
83
  render() {
77
- return (h("div", { class: "container" },
84
+ return (h("div", { class: 'container space-below-' + this.spaceBelow.toString() },
78
85
  h("div", { class: "sleeve" },
79
- h("div", { class: "campaign-type" },
80
- h("span", null, this.campaignType)),
86
+ this.campaignType.length > 0 ? (h("div", { class: "campaign-type" },
87
+ h("span", null, this.campaignType))) : null,
81
88
  this.banner.length > 0 ? (h("div", { class: "image-wrap banner", style: { 'background-image': 'url(' + this.banner + ')' } },
82
- h("img", { src: this.banner, class: "banner" }))) : null,
83
- h("div", { class: "content" },
84
- h("div", { class: "meta-wrap style-1" },
85
- h("div", { class: "meta-item" },
86
- h("span", { class: "label" }, "Days Remaining:"),
87
- " ",
88
- h("span", { class: "text" }, this.daysRemaining)),
89
- h("div", { class: "meta-item" },
90
- h("span", { class: "label" }, "Target:"),
91
- " ",
92
- h("span", { class: "text" }, this.formatCurrency(this.currencyCode, this.target)))),
93
- h("header", null,
94
- h("div", { class: "slug" }, this.organisationName),
95
- h("h3", null, this.campaignTitle)),
96
- h("div", { class: "meta-wrap style-2" },
97
- h("div", { class: "meta-item" },
98
- h("span", { class: "label" }, "Categories"),
99
- h("span", { class: "text" }, this.getCategoryIcons().map((iconDefinition) => (h("svg", { width: "512", height: "512", xmlns: "http://www.w3.org/2000/svg", class: "icon", viewBox: "0 0 512 512" },
100
- h("path", { d: iconDefinition.icon[4].toString() })))))),
101
- h("div", { class: "meta-item" },
102
- h("span", { class: "label" }, "Helping"),
103
- h("span", { class: "text" }, this.getBeneficiaryIcons().map(iconDefinition => (h("svg", { width: "512", height: "512", xmlns: "http://www.w3.org/2000/svg", class: "icon", viewBox: "0 0 512 512" },
104
- h("path", { d: iconDefinition.icon[4].toString() }))))))),
105
- h("div", { class: "meta-wrap style-3" },
106
- h("div", { class: "meta-item" },
107
- h("span", { class: "label" },
108
- "Match",
109
- h("br", null),
110
- "Funds Remaining"),
111
- h("span", { class: "text" }, this.formatCurrency(this.currencyCode, this.matchFundsRemaining))),
112
- h("div", { class: "meta-item" },
113
- h("span", { class: "label" },
114
- "Total",
115
- h("br", null),
116
- "Funds Received"),
117
- h("span", { class: "text" }, this.formatCurrency(this.currencyCode, this.totalFundsRaised)))),
118
- h("div", { class: "button-wrap" },
119
- h("a", { href: this.callToActionUrl, class: "call-to-action" }, this.callToActionLabel))))));
89
+ h("img", { src: this.banner, class: "banner" }))) : (h("div", { class: "image-wrap banner" })),
90
+ h("div", { class: "title-wrap" },
91
+ h("h3", null, this.campaignTitle),
92
+ h("div", { class: "organisation-name" },
93
+ "By ",
94
+ this.organisationName)),
95
+ h("div", { class: "meta-wrap" },
96
+ h("div", { class: "meta-item" },
97
+ h("span", { class: "label" }, this.primaryFigureLabel),
98
+ h("span", { class: "text" }, this.formatCurrency(this.currencyCode, this.primaryFigureAmount))),
99
+ h("div", { class: "meta-item" },
100
+ h("span", { class: "label" }, this.secondaryFigureLabel),
101
+ h("span", { class: "text" }, this.formatCurrency(this.currencyCode, this.secondaryFigureAmount)))),
102
+ h("div", { class: "progress-bar-wrap" },
103
+ h("biggive-progress-bar", { counter: this.progressBarCounter, "colour-scheme": "primary" })),
104
+ h("div", { class: "button-wrap" },
105
+ h("biggive-button", { "full-width": "true", "colour-scheme": this.donateButtonColourScheme, url: this.donateButtonUrl, label: this.donateButtonLabel }),
106
+ h("biggive-button", { "full-width": "true", "colour-scheme": this.moreInfoButtonColourScheme, url: this.moreInfoButtonUrl, label: this.moreInfoButtonLabel })))));
120
107
  }
121
108
  static get is() { return "biggive-campaign-card"; }
122
109
  static get encapsulation() { return "shadow"; }
@@ -127,43 +114,43 @@ export class BiggiveCampaignCard {
127
114
  "$": ["biggive-campaign-card.css"]
128
115
  }; }
129
116
  static get properties() { return {
130
- "banner": {
131
- "type": "string",
117
+ "spaceBelow": {
118
+ "type": "number",
132
119
  "mutable": false,
133
120
  "complexType": {
134
- "original": "string",
135
- "resolved": "string",
121
+ "original": "number",
122
+ "resolved": "number",
136
123
  "references": {}
137
124
  },
138
125
  "required": false,
139
126
  "optional": false,
140
127
  "docs": {
141
128
  "tags": [],
142
- "text": "Full URL of a banner image."
129
+ "text": "Space below component"
143
130
  },
144
- "attribute": "banner",
131
+ "attribute": "space-below",
145
132
  "reflect": false,
146
- "defaultValue": "''"
133
+ "defaultValue": "4"
147
134
  },
148
- "daysRemaining": {
149
- "type": "number",
135
+ "campaignType": {
136
+ "type": "string",
150
137
  "mutable": false,
151
138
  "complexType": {
152
- "original": "number",
153
- "resolved": "number",
139
+ "original": "string",
140
+ "resolved": "string",
154
141
  "references": {}
155
142
  },
156
143
  "required": false,
157
144
  "optional": false,
158
145
  "docs": {
159
146
  "tags": [],
160
- "text": "(Ceiling of) whole number of days until campaign end."
147
+ "text": "e.g. \"Match Funded\"."
161
148
  },
162
- "attribute": "days-remaining",
149
+ "attribute": "campaign-type",
163
150
  "reflect": false,
164
151
  "defaultValue": "null"
165
152
  },
166
- "currencyCode": {
153
+ "banner": {
167
154
  "type": "string",
168
155
  "mutable": false,
169
156
  "complexType": {
@@ -175,26 +162,27 @@ export class BiggiveCampaignCard {
175
162
  "optional": false,
176
163
  "docs": {
177
164
  "tags": [],
178
- "text": "e.g. 'GBP'."
165
+ "text": "Full URL of a banner image."
179
166
  },
180
- "attribute": "currency-code",
181
- "reflect": false
167
+ "attribute": "banner",
168
+ "reflect": false,
169
+ "defaultValue": "''"
182
170
  },
183
- "target": {
184
- "type": "number",
171
+ "campaignTitle": {
172
+ "type": "string",
185
173
  "mutable": false,
186
174
  "complexType": {
187
- "original": "number",
188
- "resolved": "number",
175
+ "original": "string",
176
+ "resolved": "string",
189
177
  "references": {}
190
178
  },
191
179
  "required": false,
192
180
  "optional": false,
193
181
  "docs": {
194
182
  "tags": [],
195
- "text": "Target for the campaign including matching but excluding any\ntax relief, in major unit of currency e.g. pounds GBP."
183
+ "text": "Display name of the charity's specific time-bound fundraising campaign."
196
184
  },
197
- "attribute": "target",
185
+ "attribute": "campaign-title",
198
186
  "reflect": false,
199
187
  "defaultValue": "null"
200
188
  },
@@ -216,7 +204,7 @@ export class BiggiveCampaignCard {
216
204
  "reflect": false,
217
205
  "defaultValue": "null"
218
206
  },
219
- "campaignTitle": {
207
+ "currencyCode": {
220
208
  "type": "string",
221
209
  "mutable": false,
222
210
  "complexType": {
@@ -228,13 +216,12 @@ export class BiggiveCampaignCard {
228
216
  "optional": false,
229
217
  "docs": {
230
218
  "tags": [],
231
- "text": "Display name of the charity's specific time-bound fundraising campaign."
219
+ "text": "e.g. 'GBP'."
232
220
  },
233
- "attribute": "campaign-title",
234
- "reflect": false,
235
- "defaultValue": "null"
221
+ "attribute": "currency-code",
222
+ "reflect": false
236
223
  },
237
- "campaignType": {
224
+ "primaryFigureLabel": {
238
225
  "type": "string",
239
226
  "mutable": false,
240
227
  "complexType": {
@@ -246,45 +233,49 @@ export class BiggiveCampaignCard {
246
233
  "optional": false,
247
234
  "docs": {
248
235
  "tags": [],
249
- "text": "e.g. \"Match Funded\"."
236
+ "text": "Label for the primary figure"
250
237
  },
251
- "attribute": "campaign-type",
238
+ "attribute": "primary-figure-label",
252
239
  "reflect": false,
253
240
  "defaultValue": "null"
254
241
  },
255
- "beneficiaries": {
256
- "type": "unknown",
242
+ "primaryFigureAmount": {
243
+ "type": "number",
257
244
  "mutable": false,
258
245
  "complexType": {
259
- "original": "string[]",
260
- "resolved": "string[]",
246
+ "original": "number",
247
+ "resolved": "number",
261
248
  "references": {}
262
249
  },
263
250
  "required": false,
264
251
  "optional": false,
265
252
  "docs": {
266
253
  "tags": [],
267
- "text": "Array of full beneficiary labels."
254
+ "text": "Amount for the primary figure"
268
255
  },
269
- "defaultValue": "[]"
256
+ "attribute": "primary-figure-amount",
257
+ "reflect": false,
258
+ "defaultValue": "null"
270
259
  },
271
- "categories": {
272
- "type": "unknown",
260
+ "secondaryFigureLabel": {
261
+ "type": "string",
273
262
  "mutable": false,
274
263
  "complexType": {
275
- "original": "string[]",
276
- "resolved": "string[]",
264
+ "original": "string",
265
+ "resolved": "string",
277
266
  "references": {}
278
267
  },
279
268
  "required": false,
280
269
  "optional": false,
281
270
  "docs": {
282
271
  "tags": [],
283
- "text": "Array of full category labels."
272
+ "text": "Label for the secondary figure"
284
273
  },
285
- "defaultValue": "[]"
274
+ "attribute": "secondary-figure-label",
275
+ "reflect": false,
276
+ "defaultValue": "null"
286
277
  },
287
- "matchFundsRemaining": {
278
+ "secondaryFigureAmount": {
288
279
  "type": "number",
289
280
  "mutable": false,
290
281
  "complexType": {
@@ -296,13 +287,13 @@ export class BiggiveCampaignCard {
296
287
  "optional": false,
297
288
  "docs": {
298
289
  "tags": [],
299
- "text": "Match funds not yet used or reserved, in major unit of currency e.g. pounds GBP."
290
+ "text": "Amount for the secondary figure"
300
291
  },
301
- "attribute": "match-funds-remaining",
292
+ "attribute": "secondary-figure-amount",
302
293
  "reflect": false,
303
294
  "defaultValue": "null"
304
295
  },
305
- "totalFundsRaised": {
296
+ "progressBarCounter": {
306
297
  "type": "number",
307
298
  "mutable": false,
308
299
  "complexType": {
@@ -314,13 +305,13 @@ export class BiggiveCampaignCard {
314
305
  "optional": false,
315
306
  "docs": {
316
307
  "tags": [],
317
- "text": "Total the campaign has raised so far including matching but excluding any\ntax relief, in major unit of currency e.g. pounds GBP."
308
+ "text": "Progress bar percentage"
318
309
  },
319
- "attribute": "total-funds-raised",
310
+ "attribute": "progress-bar-counter",
320
311
  "reflect": false,
321
- "defaultValue": "null"
312
+ "defaultValue": "100"
322
313
  },
323
- "callToActionUrl": {
314
+ "donateButtonLabel": {
324
315
  "type": "string",
325
316
  "mutable": false,
326
317
  "complexType": {
@@ -332,13 +323,31 @@ export class BiggiveCampaignCard {
332
323
  "optional": false,
333
324
  "docs": {
334
325
  "tags": [],
335
- "text": "Full URL of a call to action."
326
+ "text": "Donate button label"
336
327
  },
337
- "attribute": "call-to-action-url",
328
+ "attribute": "donate-button-label",
329
+ "reflect": false,
330
+ "defaultValue": "'Donate now'"
331
+ },
332
+ "donateButtonUrl": {
333
+ "type": "string",
334
+ "mutable": false,
335
+ "complexType": {
336
+ "original": "string",
337
+ "resolved": "string",
338
+ "references": {}
339
+ },
340
+ "required": false,
341
+ "optional": false,
342
+ "docs": {
343
+ "tags": [],
344
+ "text": "Donate button url"
345
+ },
346
+ "attribute": "donate-button-url",
338
347
  "reflect": false,
339
348
  "defaultValue": "null"
340
349
  },
341
- "callToActionLabel": {
350
+ "donateButtonColourScheme": {
342
351
  "type": "string",
343
352
  "mutable": false,
344
353
  "complexType": {
@@ -350,11 +359,65 @@ export class BiggiveCampaignCard {
350
359
  "optional": false,
351
360
  "docs": {
352
361
  "tags": [],
353
- "text": "Text for the link to `callToActionUrl`."
362
+ "text": "Donate button colour scheme"
354
363
  },
355
- "attribute": "call-to-action-label",
364
+ "attribute": "donate-button-colour-scheme",
365
+ "reflect": false,
366
+ "defaultValue": "'primary'"
367
+ },
368
+ "moreInfoButtonLabel": {
369
+ "type": "string",
370
+ "mutable": false,
371
+ "complexType": {
372
+ "original": "string",
373
+ "resolved": "string",
374
+ "references": {}
375
+ },
376
+ "required": false,
377
+ "optional": false,
378
+ "docs": {
379
+ "tags": [],
380
+ "text": "More information button label"
381
+ },
382
+ "attribute": "more-info-button-label",
383
+ "reflect": false,
384
+ "defaultValue": "'Find out more'"
385
+ },
386
+ "moreInfoButtonUrl": {
387
+ "type": "string",
388
+ "mutable": false,
389
+ "complexType": {
390
+ "original": "string",
391
+ "resolved": "string",
392
+ "references": {}
393
+ },
394
+ "required": false,
395
+ "optional": false,
396
+ "docs": {
397
+ "tags": [],
398
+ "text": "More information button url"
399
+ },
400
+ "attribute": "more-info-button-url",
356
401
  "reflect": false,
357
402
  "defaultValue": "null"
403
+ },
404
+ "moreInfoButtonColourScheme": {
405
+ "type": "string",
406
+ "mutable": false,
407
+ "complexType": {
408
+ "original": "string",
409
+ "resolved": "string",
410
+ "references": {}
411
+ },
412
+ "required": false,
413
+ "optional": false,
414
+ "docs": {
415
+ "tags": [],
416
+ "text": "Donate button colour scheme"
417
+ },
418
+ "attribute": "more-info-button-colour-scheme",
419
+ "reflect": false,
420
+ "defaultValue": "'clear-primary'"
358
421
  }
359
422
  }; }
360
423
  }
@@ -0,0 +1,105 @@
1
+ export default {
2
+ title: 'Components/Campaign Features',
3
+ argTypes: {
4
+ spaceBelow: {
5
+ name: 'Space below',
6
+ control: {
7
+ type: 'select',
8
+ options: [0, 1, 2, 3, 4, 5, 6],
9
+ },
10
+ },
11
+ banner: {
12
+ name: 'Banner image url',
13
+ },
14
+ currencyCode: {
15
+ name: 'Currency code',
16
+ },
17
+ primaryFigureLabel: {
18
+ name: 'Primary figure label',
19
+ },
20
+ primaryFigureAmount: {
21
+ name: 'Primary figure amount',
22
+ },
23
+ secondaryFigureLabel: {
24
+ name: 'Secondary figure label',
25
+ },
26
+ secondaryFigureAmount: {
27
+ name: 'Secondary figure amount',
28
+ },
29
+ campaignTitle: {
30
+ name: 'Campaign title',
31
+ },
32
+ campaignType: {
33
+ name: 'Campaign type',
34
+ },
35
+ organisationName: {
36
+ name: 'Organisation name',
37
+ },
38
+ progressBarCounter: {
39
+ name: 'Progress bar counter',
40
+ },
41
+ donateButtonUrl: {
42
+ name: 'Donate button url',
43
+ },
44
+ donateButtonLabel: {
45
+ name: 'Donate button label',
46
+ },
47
+ donateButtonColourScheme: {
48
+ name: 'Donate button colour scheme',
49
+ control: {
50
+ type: 'select',
51
+ options: ['primary', 'secondary', 'tertiary', 'white', 'black', 'clear-primary', 'clear-secondary', 'clear-tertiary', 'clear-white', 'clear-black'],
52
+ },
53
+ },
54
+ moreInfoButtonUrl: {
55
+ name: 'More info button url',
56
+ },
57
+ moreInfoButtonLabel: {
58
+ name: 'More info button label',
59
+ },
60
+ moreInfoButtonColourScheme: {
61
+ name: 'More info button colour scheme',
62
+ control: {
63
+ type: 'select',
64
+ options: ['primary', 'secondary', 'tertiary', 'white', 'black', 'clear-primary', 'clear-secondary', 'clear-tertiary', 'clear-white', 'clear-black'],
65
+ },
66
+ },
67
+ },
68
+ };
69
+ const Template = args => `
70
+ <biggive-campaign-card
71
+ space-below=${args.spaceBelow}
72
+ banner="${args.banner}"
73
+ currency-code="${args.currencyCode}"
74
+ primary-figure-label=${args.primaryFigureLabel}
75
+ primary-figure-amount=${args.primaryFigureAmount}
76
+ secondary-figure-label=${args.secondaryFigureLabel}
77
+ secondary-figure-amount=${args.secondaryFigureAmount}
78
+ campaign-title=${args.campaignTitle}
79
+ campaign-type=${args.campaignType}
80
+ organisation-name=${args.organisationName}
81
+ progress-bar-counter=${args.progressBarCounter}
82
+ donate-button-label=${args.donateButtonLabel}
83
+ donate-button-url=${args.donateButtonUrl}
84
+ more-info-button-label=${args.moreInfoButtonLabel}
85
+ more-info-button-url=${args.moreInfoButtonUrl}
86
+ </biggive-campaign-card>
87
+ `;
88
+ export const CampaignCardComponent = Template.bind({});
89
+ CampaignCardComponent.args = {
90
+ spaceBelow: 0,
91
+ banner: 'https://media.istockphoto.com/vectors/childish-seamless-dotted-pattern-with-colorful-doodle-letters-fun-vector-id1208462693',
92
+ currencyCode: 'GBP',
93
+ primaryFigureLabel: 'Total raised',
94
+ primaryFigureAmount: 1000,
95
+ secondaryFigureLabel: 'Total remaining',
96
+ secondaryFigureAmount: 1000,
97
+ campaignTitle: 'My Campaign Title',
98
+ campaignType: 'Match funding',
99
+ organisationName: 'My Test Organisation',
100
+ progressBarCounter: 100,
101
+ donateButtonLabel: 'Donate now',
102
+ donateButtonUrl: '#',
103
+ moreInfoButtonLabel: 'More information',
104
+ moreInfoButtonUrl: '#',
105
+ };