@biggive/components 202501021532.0.0 → 202501071646.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (321) hide show
  1. package/dist/biggive/biggive.esm.js +1 -1
  2. package/dist/biggive/biggive.esm.js.map +1 -1
  3. package/dist/biggive/p-0b1658d6.entry.js +2 -0
  4. package/dist/biggive/p-0b1658d6.entry.js.map +1 -0
  5. package/dist/biggive/p-11e8755e.entry.js +2 -0
  6. package/dist/biggive/p-11e8755e.entry.js.map +1 -0
  7. package/dist/biggive/p-19b999ee.js +3 -0
  8. package/dist/biggive/p-19b999ee.js.map +1 -0
  9. package/dist/biggive/p-1dc33885.entry.js +2 -0
  10. package/dist/biggive/p-1dc33885.entry.js.map +1 -0
  11. package/dist/biggive/{p-0eda1345.entry.js → p-277926a0.entry.js} +2 -2
  12. package/dist/biggive/p-277926a0.entry.js.map +1 -0
  13. package/dist/biggive/{p-bfaa8a6d.entry.js → p-2d9d24ee.entry.js} +2 -2
  14. package/dist/biggive/p-2d9d24ee.entry.js.map +1 -0
  15. package/dist/biggive/{p-b1d82c2f.entry.js → p-48fe25e2.entry.js} +2 -2
  16. package/dist/biggive/p-48fe25e2.entry.js.map +1 -0
  17. package/dist/biggive/{p-16da1da1.entry.js → p-6566f4c1.entry.js} +2 -2
  18. package/dist/biggive/p-6566f4c1.entry.js.map +1 -0
  19. package/dist/biggive/{p-f0bb3912.entry.js → p-7eed7866.entry.js} +2 -2
  20. package/dist/biggive/p-7eed7866.entry.js.map +1 -0
  21. package/dist/biggive/{p-87562be2.entry.js → p-9d99b90f.entry.js} +2 -2
  22. package/dist/biggive/p-9d99b90f.entry.js.map +1 -0
  23. package/dist/biggive/{p-ea8d01ca.entry.js → p-a55f75e9.entry.js} +2 -2
  24. package/dist/biggive/p-a55f75e9.entry.js.map +1 -0
  25. package/dist/biggive/p-a61421f8.entry.js +2 -0
  26. package/dist/biggive/{p-f3246097.entry.js → p-ba6693e6.entry.js} +2 -2
  27. package/dist/biggive/p-ba6693e6.entry.js.map +1 -0
  28. package/dist/biggive/p-d97ab5b9.entry.js +2 -0
  29. package/dist/biggive/{p-5262507c.entry.js.map → p-d97ab5b9.entry.js.map} +1 -1
  30. package/dist/biggive/p-e0611f0e.entry.js +2 -0
  31. package/dist/biggive/p-e0611f0e.entry.js.map +1 -0
  32. package/dist/biggive/p-e70a1cb0.entry.js +2 -0
  33. package/dist/biggive/p-e70a1cb0.entry.js.map +1 -0
  34. package/dist/biggive/{p-2eb2b970.entry.js → p-fd5a51e6.entry.js} +2 -2
  35. package/dist/biggive/p-fd5a51e6.entry.js.map +1 -0
  36. package/dist/cjs/{biggive-accordion_40.cjs.entry.js → biggive-accordion_38.cjs.entry.js} +376 -244
  37. package/dist/cjs/biggive-accordion_38.cjs.entry.js.map +1 -0
  38. package/dist/cjs/biggive-article-card.cjs.entry.js +48 -0
  39. package/dist/cjs/biggive-article-card.cjs.entry.js.map +1 -0
  40. package/dist/cjs/biggive-basic-card.cjs.entry.js +1 -8
  41. package/dist/cjs/biggive-basic-card.cjs.entry.js.map +1 -1
  42. package/dist/cjs/biggive-beneficiary-icon.cjs.entry.js +13 -2
  43. package/dist/cjs/biggive-beneficiary-icon.cjs.entry.js.map +1 -1
  44. package/dist/cjs/biggive-biography-card.cjs.entry.js +55 -0
  45. package/dist/cjs/biggive-biography-card.cjs.entry.js.map +1 -0
  46. package/dist/cjs/biggive-boxed-content.cjs.entry.js +16 -1
  47. package/dist/cjs/biggive-boxed-content.cjs.entry.js.map +1 -1
  48. package/dist/cjs/biggive-category-icon.cjs.entry.js +10 -3
  49. package/dist/cjs/biggive-category-icon.cjs.entry.js.map +1 -1
  50. package/dist/cjs/biggive-container-card.cjs.entry.js +1 -1
  51. package/dist/cjs/biggive-container-card.cjs.entry.js.map +1 -1
  52. package/dist/cjs/biggive-cookie-banner.cjs.entry.js +17 -4
  53. package/dist/cjs/biggive-cookie-banner.cjs.entry.js.map +1 -1
  54. package/dist/cjs/biggive-form.cjs.entry.js +1 -1
  55. package/dist/cjs/biggive-icon-group.cjs.entry.js +4 -2
  56. package/dist/cjs/biggive-icon-group.cjs.entry.js.map +1 -1
  57. package/dist/cjs/biggive-image-card.cjs.entry.js +1 -6
  58. package/dist/cjs/biggive-image-card.cjs.entry.js.map +1 -1
  59. package/dist/cjs/biggive-nav-group.cjs.entry.js +4 -1
  60. package/dist/cjs/biggive-nav-group.cjs.entry.js.map +1 -1
  61. package/dist/cjs/biggive-nav-item.cjs.entry.js +1 -4
  62. package/dist/cjs/biggive-nav-item.cjs.entry.js.map +1 -1
  63. package/dist/cjs/biggive-table.cjs.entry.js +1 -1
  64. package/dist/cjs/biggive-table.cjs.entry.js.map +1 -1
  65. package/dist/cjs/biggive-video.cjs.entry.js +10 -1
  66. package/dist/cjs/biggive-video.cjs.entry.js.map +1 -1
  67. package/dist/cjs/biggive.cjs.js +3 -3
  68. package/dist/cjs/biggive.cjs.js.map +1 -1
  69. package/dist/cjs/{index-c0a19159.js → index-c7b6790e.js} +253 -137
  70. package/dist/cjs/index-c7b6790e.js.map +1 -0
  71. package/dist/cjs/loader.cjs.js +2 -2
  72. package/dist/collection/collection-manifest.json +1 -1
  73. package/dist/collection/components/biggive-accordion/biggive-accordion.js +0 -1
  74. package/dist/collection/components/biggive-accordion/biggive-accordion.js.map +1 -1
  75. package/dist/collection/components/biggive-accordion-entry/biggive-accordion-entry.js.map +1 -1
  76. package/dist/collection/components/biggive-article-card/biggive-article-card.js +0 -12
  77. package/dist/collection/components/biggive-article-card/biggive-article-card.js.map +1 -1
  78. package/dist/collection/components/biggive-basic-card/biggive-basic-card.js +0 -7
  79. package/dist/collection/components/biggive-basic-card/biggive-basic-card.js.map +1 -1
  80. package/dist/collection/components/biggive-beneficiary-icon/biggive-beneficiary-icon.js +12 -1
  81. package/dist/collection/components/biggive-beneficiary-icon/biggive-beneficiary-icon.js.map +1 -1
  82. package/dist/collection/components/biggive-biography-card/biggive-biography-card.js.map +1 -1
  83. package/dist/collection/components/biggive-boxed-content/biggive-boxed-content.js +15 -0
  84. package/dist/collection/components/biggive-boxed-content/biggive-boxed-content.js.map +1 -1
  85. package/dist/collection/components/biggive-branded-image/biggive-branded-image.js +9 -4
  86. package/dist/collection/components/biggive-branded-image/biggive-branded-image.js.map +1 -1
  87. package/dist/collection/components/biggive-button/biggive-button.js +27 -4
  88. package/dist/collection/components/biggive-button/biggive-button.js.map +1 -1
  89. package/dist/collection/components/biggive-call-to-action/biggive-call-to-action.js +36 -8
  90. package/dist/collection/components/biggive-call-to-action/biggive-call-to-action.js.map +1 -1
  91. package/dist/collection/components/biggive-campaign-card/biggive-campaign-card.js +24 -15
  92. package/dist/collection/components/biggive-campaign-card/biggive-campaign-card.js.map +1 -1
  93. package/dist/collection/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.js +38 -13
  94. package/dist/collection/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.js.map +1 -1
  95. package/dist/collection/components/biggive-campaign-highlights/biggive-campaign-highlights.js +6 -12
  96. package/dist/collection/components/biggive-campaign-highlights/biggive-campaign-highlights.js.map +1 -1
  97. package/dist/collection/components/biggive-category-icon/biggive-category-icon.js +9 -2
  98. package/dist/collection/components/biggive-category-icon/biggive-category-icon.js.map +1 -1
  99. package/dist/collection/components/biggive-container-card/biggive-container-card.js.map +1 -1
  100. package/dist/collection/components/biggive-cookie-banner/biggive-cookie-banner.js +16 -3
  101. package/dist/collection/components/biggive-cookie-banner/biggive-cookie-banner.js.map +1 -1
  102. package/dist/collection/components/biggive-footer/biggive-footer.js +5 -4
  103. package/dist/collection/components/biggive-footer/biggive-footer.js.map +1 -1
  104. package/dist/collection/components/biggive-form-field-select/biggive-form-field-select.js +5 -9
  105. package/dist/collection/components/biggive-form-field-select/biggive-form-field-select.js.map +1 -1
  106. package/dist/collection/components/biggive-formatted-text/biggive-formatted-text.js +9 -0
  107. package/dist/collection/components/biggive-formatted-text/biggive-formatted-text.js.map +1 -1
  108. package/dist/collection/components/biggive-generic-icon/biggive-generic-icon.js +0 -3
  109. package/dist/collection/components/biggive-generic-icon/biggive-generic-icon.js.map +1 -1
  110. package/dist/collection/components/biggive-grid/biggive-grid.js +3 -0
  111. package/dist/collection/components/biggive-grid/biggive-grid.js.map +1 -1
  112. package/dist/collection/components/biggive-heading/biggive-heading.js.map +1 -1
  113. package/dist/collection/components/biggive-hero-image/biggive-hero-image.js +31 -8
  114. package/dist/collection/components/biggive-hero-image/biggive-hero-image.js.map +1 -1
  115. package/dist/collection/components/biggive-icon-button/biggive-icon-button.js +3 -7
  116. package/dist/collection/components/biggive-icon-button/biggive-icon-button.js.map +1 -1
  117. package/dist/collection/components/biggive-icon-group/biggive-icon-group.js +3 -1
  118. package/dist/collection/components/biggive-icon-group/biggive-icon-group.js.map +1 -1
  119. package/dist/collection/components/biggive-image/biggive-image.js +21 -0
  120. package/dist/collection/components/biggive-image/biggive-image.js.map +1 -1
  121. package/dist/collection/components/biggive-image-button/biggive-image-button.js +3 -6
  122. package/dist/collection/components/biggive-image-button/biggive-image-button.js.map +1 -1
  123. package/dist/collection/components/biggive-image-card/biggive-image-card.js +0 -5
  124. package/dist/collection/components/biggive-image-card/biggive-image-card.js.map +1 -1
  125. package/dist/collection/components/biggive-image-feature/biggive-image-feature.js +24 -5
  126. package/dist/collection/components/biggive-image-feature/biggive-image-feature.js.map +1 -1
  127. package/dist/collection/components/biggive-main-menu/biggive-main-menu.js +13 -5
  128. package/dist/collection/components/biggive-main-menu/biggive-main-menu.js.map +1 -1
  129. package/dist/collection/components/biggive-misc-icon/biggive-misc-icon.js +6 -2
  130. package/dist/collection/components/biggive-misc-icon/biggive-misc-icon.js.map +1 -1
  131. package/dist/collection/components/biggive-nav-group/biggive-nav-group.js +3 -0
  132. package/dist/collection/components/biggive-nav-group/biggive-nav-group.js.map +1 -1
  133. package/dist/collection/components/biggive-nav-item/biggive-nav-item.js +0 -5
  134. package/dist/collection/components/biggive-nav-item/biggive-nav-item.js.map +1 -1
  135. package/dist/collection/components/biggive-page-columns/biggive-page-columns.js +3 -0
  136. package/dist/collection/components/biggive-page-columns/biggive-page-columns.js.map +1 -1
  137. package/dist/collection/components/biggive-page-section/biggive-page-section.js +15 -1
  138. package/dist/collection/components/biggive-page-section/biggive-page-section.js.map +1 -1
  139. package/dist/collection/components/biggive-popup/biggive-popup.js +4 -1
  140. package/dist/collection/components/biggive-popup/biggive-popup.js.map +1 -1
  141. package/dist/collection/components/biggive-progress-bar/biggive-progress-bar.js +9 -0
  142. package/dist/collection/components/biggive-progress-bar/biggive-progress-bar.js.map +1 -1
  143. package/dist/collection/components/biggive-quote/biggive-quote.js.map +1 -1
  144. package/dist/collection/components/biggive-sheet/biggive-sheet.js +6 -3
  145. package/dist/collection/components/biggive-sheet/biggive-sheet.js.map +1 -1
  146. package/dist/collection/components/biggive-social-icon/biggive-social-icon.js +16 -1
  147. package/dist/collection/components/biggive-social-icon/biggive-social-icon.js.map +1 -1
  148. package/dist/collection/components/biggive-tab/biggive-tab.js.map +1 -1
  149. package/dist/collection/components/biggive-tabbed-content/biggive-tabbed-content.js +7 -7
  150. package/dist/collection/components/biggive-tabbed-content/biggive-tabbed-content.js.map +1 -1
  151. package/dist/collection/components/biggive-table/biggive-table.js.map +1 -1
  152. package/dist/collection/components/biggive-text-input/biggive-text-input.js +0 -2
  153. package/dist/collection/components/biggive-text-input/biggive-text-input.js.map +1 -1
  154. package/dist/collection/components/biggive-timeline/biggive-timeline.js +12 -12
  155. package/dist/collection/components/biggive-timeline/biggive-timeline.js.map +1 -1
  156. package/dist/collection/components/biggive-timeline-entry/biggive-timeline-entry.js +0 -4
  157. package/dist/collection/components/biggive-timeline-entry/biggive-timeline-entry.js.map +1 -1
  158. package/dist/collection/components/biggive-totalizer/biggive-totalizer.js +15 -1
  159. package/dist/collection/components/biggive-totalizer/biggive-totalizer.js.map +1 -1
  160. package/dist/collection/components/biggive-totalizer-ticker-item/biggive-totalizer-ticker-item.js +0 -4
  161. package/dist/collection/components/biggive-totalizer-ticker-item/biggive-totalizer-ticker-item.js.map +1 -1
  162. package/dist/collection/components/biggive-video/biggive-video.js +9 -0
  163. package/dist/collection/components/biggive-video/biggive-video.js.map +1 -1
  164. package/dist/collection/components/biggive-video-feature/biggive-video-feature.js +24 -5
  165. package/dist/collection/components/biggive-video-feature/biggive-video-feature.js.map +1 -1
  166. package/dist/components/biggive-accordion-entry.js.map +1 -1
  167. package/dist/components/biggive-accordion.js +0 -1
  168. package/dist/components/biggive-accordion.js.map +1 -1
  169. package/dist/components/biggive-article-card.js +0 -12
  170. package/dist/components/biggive-article-card.js.map +1 -1
  171. package/dist/components/biggive-basic-card.js +0 -7
  172. package/dist/components/biggive-basic-card.js.map +1 -1
  173. package/dist/components/biggive-beneficiary-icon.js +12 -1
  174. package/dist/components/biggive-beneficiary-icon.js.map +1 -1
  175. package/dist/components/biggive-biography-card.js.map +1 -1
  176. package/dist/components/biggive-boxed-content.js +15 -0
  177. package/dist/components/biggive-boxed-content.js.map +1 -1
  178. package/dist/components/biggive-branded-image.js +9 -4
  179. package/dist/components/biggive-branded-image.js.map +1 -1
  180. package/dist/components/biggive-button2.js +27 -4
  181. package/dist/components/biggive-button2.js.map +1 -1
  182. package/dist/components/biggive-call-to-action.js +36 -8
  183. package/dist/components/biggive-call-to-action.js.map +1 -1
  184. package/dist/components/biggive-campaign-card-filter-grid.js +38 -13
  185. package/dist/components/biggive-campaign-card-filter-grid.js.map +1 -1
  186. package/dist/components/biggive-campaign-card.js +24 -15
  187. package/dist/components/biggive-campaign-card.js.map +1 -1
  188. package/dist/components/biggive-campaign-highlights.js +6 -12
  189. package/dist/components/biggive-campaign-highlights.js.map +1 -1
  190. package/dist/components/biggive-category-icon.js +9 -2
  191. package/dist/components/biggive-category-icon.js.map +1 -1
  192. package/dist/components/biggive-container-card.js.map +1 -1
  193. package/dist/components/biggive-cookie-banner.js +16 -3
  194. package/dist/components/biggive-cookie-banner.js.map +1 -1
  195. package/dist/components/biggive-footer.js +5 -4
  196. package/dist/components/biggive-footer.js.map +1 -1
  197. package/dist/components/biggive-form-field-select2.js +5 -9
  198. package/dist/components/biggive-form-field-select2.js.map +1 -1
  199. package/dist/components/biggive-formatted-text.js +9 -0
  200. package/dist/components/biggive-formatted-text.js.map +1 -1
  201. package/dist/components/biggive-generic-icon2.js +0 -3
  202. package/dist/components/biggive-generic-icon2.js.map +1 -1
  203. package/dist/components/biggive-grid.js +3 -0
  204. package/dist/components/biggive-grid.js.map +1 -1
  205. package/dist/components/biggive-heading.js.map +1 -1
  206. package/dist/components/biggive-hero-image.js +31 -8
  207. package/dist/components/biggive-hero-image.js.map +1 -1
  208. package/dist/components/biggive-icon-button.js +3 -7
  209. package/dist/components/biggive-icon-button.js.map +1 -1
  210. package/dist/components/biggive-icon-group.js +3 -1
  211. package/dist/components/biggive-icon-group.js.map +1 -1
  212. package/dist/components/biggive-image-button.js +3 -6
  213. package/dist/components/biggive-image-button.js.map +1 -1
  214. package/dist/components/biggive-image-card.js +0 -5
  215. package/dist/components/biggive-image-card.js.map +1 -1
  216. package/dist/components/biggive-image-feature.js +24 -5
  217. package/dist/components/biggive-image-feature.js.map +1 -1
  218. package/dist/components/biggive-image.js +21 -0
  219. package/dist/components/biggive-image.js.map +1 -1
  220. package/dist/components/biggive-main-menu.js +13 -5
  221. package/dist/components/biggive-main-menu.js.map +1 -1
  222. package/dist/components/biggive-misc-icon2.js +6 -2
  223. package/dist/components/biggive-misc-icon2.js.map +1 -1
  224. package/dist/components/biggive-nav-group.js +3 -0
  225. package/dist/components/biggive-nav-group.js.map +1 -1
  226. package/dist/components/biggive-nav-item.js +0 -3
  227. package/dist/components/biggive-nav-item.js.map +1 -1
  228. package/dist/components/biggive-page-columns.js +3 -0
  229. package/dist/components/biggive-page-columns.js.map +1 -1
  230. package/dist/components/biggive-page-section.js +15 -1
  231. package/dist/components/biggive-page-section.js.map +1 -1
  232. package/dist/components/biggive-popup2.js +4 -1
  233. package/dist/components/biggive-popup2.js.map +1 -1
  234. package/dist/components/biggive-progress-bar2.js +9 -0
  235. package/dist/components/biggive-progress-bar2.js.map +1 -1
  236. package/dist/components/biggive-quote.js.map +1 -1
  237. package/dist/components/biggive-sheet.js +6 -3
  238. package/dist/components/biggive-sheet.js.map +1 -1
  239. package/dist/components/biggive-social-icon2.js +16 -1
  240. package/dist/components/biggive-social-icon2.js.map +1 -1
  241. package/dist/components/biggive-tab.js.map +1 -1
  242. package/dist/components/biggive-tabbed-content.js +7 -7
  243. package/dist/components/biggive-tabbed-content.js.map +1 -1
  244. package/dist/components/biggive-table.js.map +1 -1
  245. package/dist/components/biggive-text-input.js +0 -2
  246. package/dist/components/biggive-text-input.js.map +1 -1
  247. package/dist/components/biggive-timeline-entry.js +0 -2
  248. package/dist/components/biggive-timeline-entry.js.map +1 -1
  249. package/dist/components/biggive-timeline.js +12 -12
  250. package/dist/components/biggive-timeline.js.map +1 -1
  251. package/dist/components/biggive-totalizer-ticker-item.js +0 -2
  252. package/dist/components/biggive-totalizer-ticker-item.js.map +1 -1
  253. package/dist/components/biggive-totalizer.js +15 -1
  254. package/dist/components/biggive-totalizer.js.map +1 -1
  255. package/dist/components/biggive-video-feature.js +24 -5
  256. package/dist/components/biggive-video-feature.js.map +1 -1
  257. package/dist/components/biggive-video.js +9 -0
  258. package/dist/components/biggive-video.js.map +1 -1
  259. package/dist/esm/{biggive-accordion_40.entry.js → biggive-accordion_38.entry.js} +377 -243
  260. package/dist/esm/biggive-accordion_38.entry.js.map +1 -0
  261. package/dist/esm/biggive-article-card.entry.js +44 -0
  262. package/dist/esm/biggive-article-card.entry.js.map +1 -0
  263. package/dist/esm/biggive-basic-card.entry.js +1 -8
  264. package/dist/esm/biggive-basic-card.entry.js.map +1 -1
  265. package/dist/esm/biggive-beneficiary-icon.entry.js +13 -2
  266. package/dist/esm/biggive-beneficiary-icon.entry.js.map +1 -1
  267. package/dist/esm/biggive-biography-card.entry.js +51 -0
  268. package/dist/esm/biggive-biography-card.entry.js.map +1 -0
  269. package/dist/esm/biggive-boxed-content.entry.js +16 -1
  270. package/dist/esm/biggive-boxed-content.entry.js.map +1 -1
  271. package/dist/esm/biggive-category-icon.entry.js +10 -3
  272. package/dist/esm/biggive-category-icon.entry.js.map +1 -1
  273. package/dist/esm/biggive-container-card.entry.js +1 -1
  274. package/dist/esm/biggive-container-card.entry.js.map +1 -1
  275. package/dist/esm/biggive-cookie-banner.entry.js +17 -4
  276. package/dist/esm/biggive-cookie-banner.entry.js.map +1 -1
  277. package/dist/esm/biggive-form.entry.js +1 -1
  278. package/dist/esm/biggive-icon-group.entry.js +4 -2
  279. package/dist/esm/biggive-icon-group.entry.js.map +1 -1
  280. package/dist/esm/biggive-image-card.entry.js +1 -6
  281. package/dist/esm/biggive-image-card.entry.js.map +1 -1
  282. package/dist/esm/biggive-nav-group.entry.js +4 -1
  283. package/dist/esm/biggive-nav-group.entry.js.map +1 -1
  284. package/dist/esm/biggive-nav-item.entry.js +1 -4
  285. package/dist/esm/biggive-nav-item.entry.js.map +1 -1
  286. package/dist/esm/biggive-table.entry.js +1 -1
  287. package/dist/esm/biggive-table.entry.js.map +1 -1
  288. package/dist/esm/biggive-video.entry.js +10 -1
  289. package/dist/esm/biggive-video.entry.js.map +1 -1
  290. package/dist/esm/biggive.js +4 -4
  291. package/dist/esm/biggive.js.map +1 -1
  292. package/dist/esm/{index-bf4df57a.js → index-ccd7196b.js} +253 -137
  293. package/dist/esm/index-ccd7196b.js.map +1 -0
  294. package/dist/esm/loader.js +3 -3
  295. package/hydrate/index.js +598 -328
  296. package/hydrate/index.mjs +598 -328
  297. package/package.json +1 -1
  298. package/dist/biggive/p-0eda1345.entry.js.map +0 -1
  299. package/dist/biggive/p-16da1da1.entry.js.map +0 -1
  300. package/dist/biggive/p-2eb2b970.entry.js.map +0 -1
  301. package/dist/biggive/p-5262507c.entry.js +0 -2
  302. package/dist/biggive/p-6a812c8a.entry.js +0 -2
  303. package/dist/biggive/p-6a812c8a.entry.js.map +0 -1
  304. package/dist/biggive/p-753c50c5.js +0 -3
  305. package/dist/biggive/p-753c50c5.js.map +0 -1
  306. package/dist/biggive/p-87562be2.entry.js.map +0 -1
  307. package/dist/biggive/p-b1d82c2f.entry.js.map +0 -1
  308. package/dist/biggive/p-bfaa8a6d.entry.js.map +0 -1
  309. package/dist/biggive/p-cf7446f9.entry.js +0 -2
  310. package/dist/biggive/p-cf7446f9.entry.js.map +0 -1
  311. package/dist/biggive/p-e3b4412e.entry.js +0 -2
  312. package/dist/biggive/p-e3b4412e.entry.js.map +0 -1
  313. package/dist/biggive/p-ea8d01ca.entry.js.map +0 -1
  314. package/dist/biggive/p-f0bb3912.entry.js.map +0 -1
  315. package/dist/biggive/p-f3246097.entry.js.map +0 -1
  316. package/dist/biggive/p-f6b8aae2.entry.js +0 -2
  317. package/dist/cjs/biggive-accordion_40.cjs.entry.js.map +0 -1
  318. package/dist/cjs/index-c0a19159.js.map +0 -1
  319. package/dist/esm/biggive-accordion_40.entry.js.map +0 -1
  320. package/dist/esm/index-bf4df57a.js.map +0 -1
  321. /package/dist/biggive/{p-f6b8aae2.entry.js.map → p-a61421f8.entry.js.map} +0 -0
@@ -1 +1 @@
1
- {"file":"biggive-totalizer.js","mappings":";;AAAA,MAAM,mBAAmB,GAAG,sgLAAsgL,CAAC;AACniL,+BAAe,mBAAmB;;MCMrBA,kBAAgB;;;;;QACnB,qBAAgB,GAAW,CAAC,CAAC;0BAMR,CAAC;6BAIE,SAAS;iCAKL,OAAO;+BAKT,WAAW;mCAKP,OAAO;;;IAOrC,QAAQ,CAAC,UAAkB,EAAE,cAAsB;;QACzD,IAAI,cAAc,KAAK,IAAI,CAAC,gBAAgB,EAAE;;;YAG5C,OAAO;SACR;QAED,IAAI,OAAO,GAAqB,EAAE,CAAC;QACnC,KAAK,MAAM,EAAE,IAAI,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE;YAC7B,MAAM,MAAM,GAAG,MAAA,IAAI,CAAC,IAAI,CAAC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CAAC;SAC5E,CAAC,CAAC;KACJ;IAED,MAAM;QACJ,QACE,4DAAK,KAAK,EAAE,wBAAwB,GAAG,IAAI,CAAC,UAAU,IACpD,8DACE,4DAAK,KAAK,EAAC,QAAQ,IACjB,4DAAK,KAAK,EAAE,sCAAsC,GAAG,IAAI,CAAC,eAAe,GAAG,eAAe,GAAG,IAAI,CAAC,mBAAmB,IAAG,IAAI,CAAC,WAAW,CAAO,EAChJ,4DAAK,KAAK,EAAE,gCAAgC,GAAG,IAAI,CAAC,aAAa,GAAG,eAAe,GAAG,IAAI,CAAC,iBAAiB,IAC1G,4DAAK,EAAE,EAAC,UAAU,EAAC,KAAK,EAAC,QAAQ,IAC/B,6DAAM,IAAI,EAAC,cAAc,GAAQ,CAC7B,EACN,4DAAK,EAAE,EAAC,UAAU,EAAC,KAAK,EAAC,4BAA4B,GAE/C,EACN,4DAAK,EAAE,EAAC,UAAU,EAAC,KAAK,EAAC,4BAA4B,GAAO,EAC5D,4DAAK,EAAE,EAAC,UAAU,EAAC,KAAK,EAAC,4BAA4B,GAAO,CACxD,CACF,CACF,CACF,EACN;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["BiggiveTotalizer"],"sources":["src/components/biggive-totalizer/biggive-totalizer.scss?tag=biggive-totalizer&encapsulation=shadow","src/components/biggive-totalizer/biggive-totalizer.tsx"],"sourcesContent":["@include backgrounds();\n@include spacers();\n@include text-colours();\n\n:host {\n display: contents;\n @include standard-font();\n\n --ticker-end-left: -200%;\n}\n\n@keyframes ticker {\n 0% {\n transform: translate3d(0, 0, 0);\n }\n\n 100% {\n transform: translate3d(var(--ticker-end-left), 0, 0);\n }\n}\n\n.container {\n position: absolute;\n left: 0;\n right: 0;\n z-index: 1;\n\n .main-message-wrap {\n position: absolute;\n z-index: 1;\n padding: $spacer-2 $spacer-4;\n left: 0;\n top: 0;\n @include font-size-large();\n font-weight: 600;\n max-width: 33.3%;\n }\n\n .ticker-wrap {\n @include font-size-medium();\n padding: calc($spacer-2 - 4px) $spacer-4 $spacer-2 0;\n min-height: 17px;\n overflow: hidden;\n position: relative;\n\n .sleeve {\n will-change: transform; // https://web.dev/stick-to-compositor-only-properties-and-manage-layer-count/\n display: inline-flex;\n position: absolute;\n top: 4px;\n height: 24px;\n min-width: 100%;\n left: 100%;\n white-space: nowrap;\n\n animation-iteration-count: infinite;\n animation-timing-function: linear;\n animation-name: ticker;\n // TS overrides the specific timings once the width of ticker elements is known.\n animation-duration: 10s;\n\n @media (prefers-reduced-motion) {\n animation-name: none !important; // Turn off movement when needed for a11y.\n }\n }\n\n .sleeve-delayed-copy {\n // We set between 0 and 3 copies to `display: inline-flex` in TS, depending on the size\n // of the items and container.\n display: none;\n white-space: nowrap;\n max-height: 24px;\n }\n }\n}\n\n@media screen and (max-width: $screen-tablet-max) {\n .container {\n .main-message-wrap {\n @include font-size-medium();\n padding: $spacer-2;\n }\n }\n}\n","import { Component, Element, Prop, h } from '@stencil/core';\n\n@Component({\n tag: 'biggive-totalizer',\n styleUrl: 'biggive-totalizer.scss',\n shadow: true,\n})\nexport class BiggiveTotalizer {\n private lastWrapperWidth: number = 0;\n\n @Element() host: HTMLBiggiveTotalizerElement;\n /**\n * Space below component\n */\n @Prop() spaceBelow: number = 0;\n /**\n * Primary banner colour\n */\n @Prop() primaryColour: string = 'primary';\n\n /**\n * Primary text colour\n */\n @Prop() primaryTextColour: string = 'white';\n\n /**\n * Secondary banner colour\n */\n @Prop() secondaryColour: string = 'secondary';\n\n /**\n * Secondary text colour\n */\n @Prop() secondaryTextColour: string = 'black';\n\n /**\n * Primary message\n */\n @Prop() mainMessage: string;\n\n private setSpeed(itemsWidth: number, containerWidth: number) {\n if (containerWidth === this.lastWrapperWidth) {\n // Some browsers fire 'resize' overzealously on scroll; we don't want to cause extra paints if nothing\n // relevant changed.\n return;\n }\n\n let sleeves: HTMLDivElement[] = [];\n for (const ii in [1, 2, 3, 4]) {\n const sleeve = this.host.shadowRoot?.querySelector('.ticker-wrap #sleeve_' + ii) as HTMLDivElement | null;\n if (sleeve) {\n sleeves.push(sleeve);\n // Restart the animation(s) on window resize to reduce the chance of jankiness.\n // https://stackoverflow.com/a/45036752/2803757\n sleeve.style.animationName = 'none';\n }\n }\n\n this.lastWrapperWidth = containerWidth;\n\n if (sleeves.length === 0) {\n console.log('sleeves missing, skipping setSpeed()');\n return;\n }\n\n // We've seen the initial calculation exclude the ~30px per set of values end padding before,\n // and it's safe to err on the side of more copies to reduce the chance of abrupt early loop\n // ends, so we add a buffer of 40px to the calculation when deciding how many copies to use.\n // const sleeveCount = Math.max(1, Math.min(4, Math.ceil((2 * (40 + itemsWidth)) / containerWidth)));\n // TODO Ultimately we'd like to get multiple copies working, or simplify. This\n // has proven very hard to iterate on pending a fix for DON-867 because\n // there is Angular-specific behaviour breaking the contents of copies.\n const sleeveCount = 1;\n this.host.style.setProperty('--ticker-end-left', `-${(sleeveCount + 1) * 100}%`);\n\n const duration = Math.round((itemsWidth / 30) * sleeveCount);\n\n for (let ii = 1; ii <= sleeveCount; ii++) {\n const sleeve = sleeves[ii - 1];\n if (sleeve) {\n sleeve.style.animationDuration = duration + 's';\n // https://stackoverflow.com/a/45847760\n sleeve.style.animationDelay = (duration / (sleeveCount - 1)) * (ii - 1) + 's';\n sleeve.style.display = 'inline-flex';\n sleeve.style.animationName = 'ticker';\n }\n }\n }\n\n componentDidLoad() {\n const wrapper = this.host.shadowRoot?.querySelector('.ticker-wrap') as HTMLDivElement;\n\n const tickerItemsInternalWrapper: HTMLDivElement | null = this.host.querySelector(`[slot=\"ticker-items\"]`);\n const sleeve1: HTMLDivElement | null | undefined = this.host.shadowRoot?.querySelector('.ticker-wrap #sleeve_1');\n const sleeve2: HTMLDivElement | null | undefined = this.host.shadowRoot?.querySelector('.ticker-wrap #sleeve_2');\n const sleeve3: HTMLDivElement | null | undefined = this.host.shadowRoot?.querySelector('.ticker-wrap #sleeve_3');\n const sleeve4: HTMLDivElement | null | undefined = this.host.shadowRoot?.querySelector('.ticker-wrap #sleeve_4');\n\n if (!tickerItemsInternalWrapper || !sleeve1) {\n console.log('tickerItemsInternalWrapper or sleeve1 is missing, skipping totalizer animation setup');\n return;\n }\n\n // Deep clone [all children of] the ticker items internal wrapper and append them, so the ticker can show items without\n // a blank break. Sleeve 2 and up will animate on delays per https://stackoverflow.com/a/45847760.\n setTimeout(() => {\n sleeve2 && sleeve2.appendChild(tickerItemsInternalWrapper.cloneNode(true));\n sleeve3 && sleeve3.appendChild(tickerItemsInternalWrapper.cloneNode(true));\n sleeve4 && sleeve4.appendChild(tickerItemsInternalWrapper.cloneNode(true));\n }, 800);\n\n setTimeout(() => {\n // In Angular contexts, it seems like we need to leave a little time before the calculations work.\n // Not totally clear why yet.\n this.setSpeed(tickerItemsInternalWrapper.clientWidth, wrapper.clientWidth);\n }, 300);\n\n window.addEventListener('resize', () => {\n this.setSpeed(tickerItemsInternalWrapper.clientWidth, wrapper.clientWidth);\n });\n }\n\n render() {\n return (\n <div class={'container space-below-' + this.spaceBelow}>\n <div>\n <div class=\"banner\">\n <div class={'main-message-wrap background-colour-' + this.secondaryColour + ' text-colour-' + this.secondaryTextColour}>{this.mainMessage}</div>\n <div class={'ticker-wrap background-colour-' + this.primaryColour + ' text-colour-' + this.primaryTextColour}>\n <div id=\"sleeve_1\" class=\"sleeve\">\n <slot name=\"ticker-items\"></slot>\n </div>\n <div id=\"sleeve_2\" class=\"sleeve sleeve-delayed-copy\">\n {/* Contents for these 3 are copied in TS and copies shown or hidden based on available space */}\n </div>\n <div id=\"sleeve_3\" class=\"sleeve sleeve-delayed-copy\"></div>\n <div id=\"sleeve_4\" class=\"sleeve sleeve-delayed-copy\"></div>\n </div>\n </div>\n </div>\n </div>\n );\n }\n}\n"],"version":3}
1
+ {"file":"biggive-totalizer.js","mappings":";;AAAA,MAAM,mBAAmB,GAAG,sgLAAsgL,CAAC;AACniL,+BAAe,mBAAmB;;MCMrBA,kBAAgB;IAL7B;;;;QAMU,qBAAgB,GAAW,CAAC,CAAC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"sources":["src/components/biggive-totalizer/biggive-totalizer.scss?tag=biggive-totalizer&encapsulation=shadow","src/components/biggive-totalizer/biggive-totalizer.tsx"],"sourcesContent":["@include backgrounds();\n@include spacers();\n@include text-colours();\n\n:host {\n display: contents;\n @include standard-font();\n\n --ticker-end-left: -200%;\n}\n\n@keyframes ticker {\n 0% {\n transform: translate3d(0, 0, 0);\n }\n\n 100% {\n transform: translate3d(var(--ticker-end-left), 0, 0);\n }\n}\n\n.container {\n position: absolute;\n left: 0;\n right: 0;\n z-index: 1;\n\n .main-message-wrap {\n position: absolute;\n z-index: 1;\n padding: $spacer-2 $spacer-4;\n left: 0;\n top: 0;\n @include font-size-large();\n font-weight: 600;\n max-width: 33.3%;\n }\n\n .ticker-wrap {\n @include font-size-medium();\n padding: calc($spacer-2 - 4px) $spacer-4 $spacer-2 0;\n min-height: 17px;\n overflow: hidden;\n position: relative;\n\n .sleeve {\n will-change: transform; // https://web.dev/stick-to-compositor-only-properties-and-manage-layer-count/\n display: inline-flex;\n position: absolute;\n top: 4px;\n height: 24px;\n min-width: 100%;\n left: 100%;\n white-space: nowrap;\n\n animation-iteration-count: infinite;\n animation-timing-function: linear;\n animation-name: ticker;\n // TS overrides the specific timings once the width of ticker elements is known.\n animation-duration: 10s;\n\n @media (prefers-reduced-motion) {\n animation-name: none !important; // Turn off movement when needed for a11y.\n }\n }\n\n .sleeve-delayed-copy {\n // We set between 0 and 3 copies to `display: inline-flex` in TS, depending on the size\n // of the items and container.\n display: none;\n white-space: nowrap;\n max-height: 24px;\n }\n }\n}\n\n@media screen and (max-width: $screen-tablet-max) {\n .container {\n .main-message-wrap {\n @include font-size-medium();\n padding: $spacer-2;\n }\n }\n}\n","import { Component, Element, Prop, h } from '@stencil/core';\n\n@Component({\n tag: 'biggive-totalizer',\n styleUrl: 'biggive-totalizer.scss',\n shadow: true,\n})\nexport class BiggiveTotalizer {\n private lastWrapperWidth: number = 0;\n\n @Element() host: HTMLBiggiveTotalizerElement;\n /**\n * Space below component\n */\n @Prop() spaceBelow: number = 0;\n /**\n * Primary banner colour\n */\n @Prop() primaryColour: string = 'primary';\n\n /**\n * Primary text colour\n */\n @Prop() primaryTextColour: string = 'white';\n\n /**\n * Secondary banner colour\n */\n @Prop() secondaryColour: string = 'secondary';\n\n /**\n * Secondary text colour\n */\n @Prop() secondaryTextColour: string = 'black';\n\n /**\n * Primary message\n */\n @Prop() mainMessage: string;\n\n private setSpeed(itemsWidth: number, containerWidth: number) {\n if (containerWidth === this.lastWrapperWidth) {\n // Some browsers fire 'resize' overzealously on scroll; we don't want to cause extra paints if nothing\n // relevant changed.\n return;\n }\n\n let sleeves: HTMLDivElement[] = [];\n for (const ii in [1, 2, 3, 4]) {\n const sleeve = this.host.shadowRoot?.querySelector('.ticker-wrap #sleeve_' + ii) as HTMLDivElement | null;\n if (sleeve) {\n sleeves.push(sleeve);\n // Restart the animation(s) on window resize to reduce the chance of jankiness.\n // https://stackoverflow.com/a/45036752/2803757\n sleeve.style.animationName = 'none';\n }\n }\n\n this.lastWrapperWidth = containerWidth;\n\n if (sleeves.length === 0) {\n console.log('sleeves missing, skipping setSpeed()');\n return;\n }\n\n // We've seen the initial calculation exclude the ~30px per set of values end padding before,\n // and it's safe to err on the side of more copies to reduce the chance of abrupt early loop\n // ends, so we add a buffer of 40px to the calculation when deciding how many copies to use.\n // const sleeveCount = Math.max(1, Math.min(4, Math.ceil((2 * (40 + itemsWidth)) / containerWidth)));\n // TODO Ultimately we'd like to get multiple copies working, or simplify. This\n // has proven very hard to iterate on pending a fix for DON-867 because\n // there is Angular-specific behaviour breaking the contents of copies.\n const sleeveCount = 1;\n this.host.style.setProperty('--ticker-end-left', `-${(sleeveCount + 1) * 100}%`);\n\n const duration = Math.round((itemsWidth / 30) * sleeveCount);\n\n for (let ii = 1; ii <= sleeveCount; ii++) {\n const sleeve = sleeves[ii - 1];\n if (sleeve) {\n sleeve.style.animationDuration = duration + 's';\n // https://stackoverflow.com/a/45847760\n sleeve.style.animationDelay = (duration / (sleeveCount - 1)) * (ii - 1) + 's';\n sleeve.style.display = 'inline-flex';\n sleeve.style.animationName = 'ticker';\n }\n }\n }\n\n componentDidLoad() {\n const wrapper = this.host.shadowRoot?.querySelector('.ticker-wrap') as HTMLDivElement;\n\n const tickerItemsInternalWrapper: HTMLDivElement | null = this.host.querySelector(`[slot=\"ticker-items\"]`);\n const sleeve1: HTMLDivElement | null | undefined = this.host.shadowRoot?.querySelector('.ticker-wrap #sleeve_1');\n const sleeve2: HTMLDivElement | null | undefined = this.host.shadowRoot?.querySelector('.ticker-wrap #sleeve_2');\n const sleeve3: HTMLDivElement | null | undefined = this.host.shadowRoot?.querySelector('.ticker-wrap #sleeve_3');\n const sleeve4: HTMLDivElement | null | undefined = this.host.shadowRoot?.querySelector('.ticker-wrap #sleeve_4');\n\n if (!tickerItemsInternalWrapper || !sleeve1) {\n console.log('tickerItemsInternalWrapper or sleeve1 is missing, skipping totalizer animation setup');\n return;\n }\n\n // Deep clone [all children of] the ticker items internal wrapper and append them, so the ticker can show items without\n // a blank break. Sleeve 2 and up will animate on delays per https://stackoverflow.com/a/45847760.\n setTimeout(() => {\n sleeve2 && sleeve2.appendChild(tickerItemsInternalWrapper.cloneNode(true));\n sleeve3 && sleeve3.appendChild(tickerItemsInternalWrapper.cloneNode(true));\n sleeve4 && sleeve4.appendChild(tickerItemsInternalWrapper.cloneNode(true));\n }, 800);\n\n setTimeout(() => {\n // In Angular contexts, it seems like we need to leave a little time before the calculations work.\n // Not totally clear why yet.\n this.setSpeed(tickerItemsInternalWrapper.clientWidth, wrapper.clientWidth);\n }, 300);\n\n window.addEventListener('resize', () => {\n this.setSpeed(tickerItemsInternalWrapper.clientWidth, wrapper.clientWidth);\n });\n }\n\n render() {\n return (\n <div class={'container space-below-' + this.spaceBelow}>\n <div>\n <div class=\"banner\">\n <div class={'main-message-wrap background-colour-' + this.secondaryColour + ' text-colour-' + this.secondaryTextColour}>{this.mainMessage}</div>\n <div class={'ticker-wrap background-colour-' + this.primaryColour + ' text-colour-' + this.primaryTextColour}>\n <div id=\"sleeve_1\" class=\"sleeve\">\n <slot name=\"ticker-items\"></slot>\n </div>\n <div id=\"sleeve_2\" class=\"sleeve sleeve-delayed-copy\">\n {/* Contents for these 3 are copied in TS and copies shown or hidden based on available space */}\n </div>\n <div id=\"sleeve_3\" class=\"sleeve sleeve-delayed-copy\"></div>\n <div id=\"sleeve_4\" class=\"sleeve sleeve-delayed-copy\"></div>\n </div>\n </div>\n </div>\n </div>\n );\n }\n}\n"],"version":3}
@@ -10,18 +10,37 @@ const BiggiveVideoFeature$1 = /*@__PURE__*/ proxyCustomElement(class BiggiveVide
10
10
  super();
11
11
  this.__registerHost();
12
12
  this.__attachShadow();
13
+ /**
14
+ * Space above component
15
+ */
13
16
  this.spaceAbove = 0;
17
+ /**
18
+ * Space below component
19
+ */
14
20
  this.spaceBelow = 0;
21
+ /**
22
+ * Default text colour
23
+ */
15
24
  this.defaultTextColour = 'primary';
25
+ /**
26
+ * Full URL of a video.
27
+ */
16
28
  this.videoUrl = '';
17
- this.slug = undefined;
29
+ /**
30
+ * Slug colour
31
+ */
18
32
  this.slugColour = '';
19
- this.mainTitle = undefined;
33
+ /**
34
+ * Slug colour
35
+ */
20
36
  this.mainTitleColour = '';
21
- this.teaser = undefined;
37
+ /**
38
+ * Teaser colour
39
+ */
22
40
  this.teaserColour = '';
23
- this.buttonUrl = undefined;
24
- this.buttonLabel = undefined;
41
+ /**
42
+ * Button Colour Scheme
43
+ */
25
44
  this.buttonColourScheme = 'primary';
26
45
  }
27
46
  render() {
@@ -1 +1 @@
1
- {"file":"biggive-video-feature.js","mappings":";;;;AAAA,MAAM,sBAAsB,GAAG,8rGAA8rG,CAAC;AAC9tG,kCAAe,sBAAsB;;MCOxBA,qBAAmB;;;;;0BAID,CAAC;0BAID,CAAC;iCAIM,SAAS;wBAKlB,EAAE;;0BAUA,EAAE;;+BAUG,EAAE;;4BAUL,EAAE;;;kCAeI,SAAS;;IAE9C,MAAM;QACJ,MAAM,YAAY,GAAG,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,aAAa,CAAC,GAAG,UAAU,GAAG,EAAE,CAAC;QAE7E,QACE,4DAAK,KAAK,EAAE,wBAAwB,GAAG,IAAI,CAAC,iBAAiB,GAAG,eAAe,GAAG,IAAI,CAAC,UAAU,GAAG,eAAe,GAAG,IAAI,CAAC,UAAU,IACnI,4DAAK,KAAK,EAAC,QAAQ,IACjB,4DAAK,KAAK,EAAC,cAAc,IACvB,4DAAK,KAAK,EAAE,mBAAmB,GAAG,IAAI,CAAC,UAAU,IAAG,IAAI,CAAC,IAAI,CAAO,EACpE,2DAAI,KAAK,EAAE,oBAAoB,GAAG,IAAI,CAAC,eAAe,IAAG,IAAI,CAAC,SAAS,CAAM,EAC7E,4DAAK,KAAK,EAAE,qBAAqB,GAAG,IAAI,CAAC,YAAY,IAAG,IAAI,CAAC,MAAM,CAAO,EACzE,IAAI,CAAC,WAAW,IAAI,IAAI,IAAI,IAAI,CAAC,SAAS,IAAI,IAAI,IACjD,uCAA+B,IAAI,CAAC,kBAAkB,EAAE,GAAG,EAAE,IAAI,CAAC,SAAS,EAAE,KAAK,EAAE,IAAI,CAAC,WAAW,GAAmB,IACrH,IAAI,CACJ,EACN,4DAAK,KAAK,EAAC,cAAc,IACtB,IAAI,CAAC,QAAQ,KAAK,IAAI,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS,IACpD,WAAK,KAAK,EAAE,YAAY,GAAG,YAAY,EAAE,SAAS,EAAE,YAAY,CAAC,YAAY,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,SAAS,CAAC,GAAQ,IAClH,IAAI,CACJ,CACF,CACF,EACN;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["BiggiveVideoFeature"],"sources":["src/components/biggive-video-feature/biggive-video-feature.scss?tag=biggive-video-feature&encapsulation=shadow","src/components/biggive-video-feature/biggive-video-feature.tsx"],"sourcesContent":["@include spacers();\n@include text-colours();\n\n:host {\n display: contents;\n}\n\n.video-wrap {\n @include video-wrap();\n}\n\n.video-wrap.youtube {\n padding-bottom: 56.25%;\n}\n\n.container {\n @include standard-font();\n position: relative;\n .sleeve {\n @include flex-container-row();\n .content-wrap {\n width: calc(40% - $spacer-3);\n position: relative;\n z-index: 1;\n .slug {\n @include heading-4;\n margin: 0;\n padding: 0;\n }\n h2 {\n @include heading-2;\n margin: 0 0 $spacer-3 0;\n padding: 0;\n }\n .teaser {\n margin: 0 0 $spacer-5 0;\n padding: 0;\n }\n }\n .graphic-wrap {\n width: calc(60% - $spacer-3);\n }\n }\n}\n\n@media screen and (max-width: $screen-mobile-max) {\n .container {\n .sleeve {\n flex-wrap: wrap;\n .content-wrap {\n width: 100%;\n }\n .graphic-wrap {\n padding-top: 20px;\n width: 100%;\n margin-bottom: $spacer-3;\n }\n }\n }\n}\n","import { Component, Prop, h } from '@stencil/core';\nimport { VideoService } from '../../util/video';\n\n@Component({\n tag: 'biggive-video-feature',\n styleUrl: 'biggive-video-feature.scss',\n shadow: true,\n})\nexport class BiggiveVideoFeature {\n /**\n * Space above component\n */\n @Prop() spaceAbove: number = 0;\n /**\n * Space below component\n */\n @Prop() spaceBelow: number = 0;\n /**\n * Default text colour\n */\n @Prop() defaultTextColour: string = 'primary';\n\n /**\n * Full URL of a video.\n */\n @Prop() videoUrl: string = '';\n\n /**\n * Slug\n */\n @Prop() slug: string;\n\n /**\n * Slug colour\n */\n @Prop() slugColour: string = '';\n\n /**\n * Video title\n */\n @Prop() mainTitle: string;\n\n /**\n * Slug colour\n */\n @Prop() mainTitleColour: string = '';\n\n /**\n * Introductory teaser text\n */\n @Prop() teaser: string;\n\n /**\n * Teaser colour\n */\n @Prop() teaserColour: string = '';\n\n /**\n * Button Url\n */\n @Prop() buttonUrl: string;\n\n /**\n * Button Label\n */\n @Prop() buttonLabel: string;\n\n /**\n * Button Colour Scheme\n */\n @Prop() buttonColourScheme: string = 'primary';\n\n render() {\n const youtubeClass = this.videoUrl.includes('youtube.com') ? ' youtube' : '';\n\n return (\n <div class={'container text-colour-' + this.defaultTextColour + ' space-above-' + this.spaceAbove + ' space-below-' + this.spaceBelow}>\n <div class=\"sleeve\">\n <div class=\"content-wrap\">\n <div class={'slug text-colour-' + this.slugColour}>{this.slug}</div>\n <h2 class={'title text-colour-' + this.mainTitleColour}>{this.mainTitle}</h2>\n <div class={'teaser text-colour-' + this.teaserColour}>{this.teaser}</div>\n {this.buttonLabel != null && this.buttonUrl != null ? (\n <biggive-button colour-scheme={this.buttonColourScheme} url={this.buttonUrl} label={this.buttonLabel}></biggive-button>\n ) : null}\n </div>\n <div class=\"graphic-wrap\">\n {this.videoUrl !== null && this.videoUrl !== undefined ? (\n <div class={'video-wrap' + youtubeClass} innerHTML={VideoService.getEmbedHtml(this.videoUrl, this.mainTitle)}></div>\n ) : null}\n </div>\n </div>\n </div>\n );\n }\n}\n"],"version":3}
1
+ {"file":"biggive-video-feature.js","mappings":";;;;AAAA,MAAM,sBAAsB,GAAG,8rGAA8rG,CAAC;AAC9tG,kCAAe,sBAAsB;;MCOxBA,qBAAmB;IALhC;;;;;;;QASU,eAAU,GAAW,CAAC,CAAC;;;;QAIvB,eAAU,GAAW,CAAC,CAAC;;;;QAIvB,sBAAiB,GAAW,SAAS,CAAC;;;;QAKtC,aAAQ,GAAW,EAAE,CAAC;;;;QAUtB,eAAU,GAAW,EAAE,CAAC;;;;QAUxB,oBAAe,GAAW,EAAE,CAAC;;;;QAU7B,iBAAY,GAAW,EAAE,CAAC;;;;QAe1B,uBAAkB,GAAW,SAAS,CAAC;KAyBhD;IAvBC,MAAM;QACJ,MAAM,YAAY,GAAG,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,aAAa,CAAC,GAAG,UAAU,GAAG,EAAE,CAAC;QAE7E,QACE,4DAAK,KAAK,EAAE,wBAAwB,GAAG,IAAI,CAAC,iBAAiB,GAAG,eAAe,GAAG,IAAI,CAAC,UAAU,GAAG,eAAe,GAAG,IAAI,CAAC,UAAU,IACnI,4DAAK,KAAK,EAAC,QAAQ,IACjB,4DAAK,KAAK,EAAC,cAAc,IACvB,4DAAK,KAAK,EAAE,mBAAmB,GAAG,IAAI,CAAC,UAAU,IAAG,IAAI,CAAC,IAAI,CAAO,EACpE,2DAAI,KAAK,EAAE,oBAAoB,GAAG,IAAI,CAAC,eAAe,IAAG,IAAI,CAAC,SAAS,CAAM,EAC7E,4DAAK,KAAK,EAAE,qBAAqB,GAAG,IAAI,CAAC,YAAY,IAAG,IAAI,CAAC,MAAM,CAAO,EACzE,IAAI,CAAC,WAAW,IAAI,IAAI,IAAI,IAAI,CAAC,SAAS,IAAI,IAAI,IACjD,uCAA+B,IAAI,CAAC,kBAAkB,EAAE,GAAG,EAAE,IAAI,CAAC,SAAS,EAAE,KAAK,EAAE,IAAI,CAAC,WAAW,GAAmB,IACrH,IAAI,CACJ,EACN,4DAAK,KAAK,EAAC,cAAc,IACtB,IAAI,CAAC,QAAQ,KAAK,IAAI,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS,IACpD,WAAK,KAAK,EAAE,YAAY,GAAG,YAAY,EAAE,SAAS,EAAE,YAAY,CAAC,YAAY,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,SAAS,CAAC,GAAQ,IAClH,IAAI,CACJ,CACF,CACF,EACN;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["BiggiveVideoFeature"],"sources":["src/components/biggive-video-feature/biggive-video-feature.scss?tag=biggive-video-feature&encapsulation=shadow","src/components/biggive-video-feature/biggive-video-feature.tsx"],"sourcesContent":["@include spacers();\n@include text-colours();\n\n:host {\n display: contents;\n}\n\n.video-wrap {\n @include video-wrap();\n}\n\n.video-wrap.youtube {\n padding-bottom: 56.25%;\n}\n\n.container {\n @include standard-font();\n position: relative;\n .sleeve {\n @include flex-container-row();\n .content-wrap {\n width: calc(40% - $spacer-3);\n position: relative;\n z-index: 1;\n .slug {\n @include heading-4;\n margin: 0;\n padding: 0;\n }\n h2 {\n @include heading-2;\n margin: 0 0 $spacer-3 0;\n padding: 0;\n }\n .teaser {\n margin: 0 0 $spacer-5 0;\n padding: 0;\n }\n }\n .graphic-wrap {\n width: calc(60% - $spacer-3);\n }\n }\n}\n\n@media screen and (max-width: $screen-mobile-max) {\n .container {\n .sleeve {\n flex-wrap: wrap;\n .content-wrap {\n width: 100%;\n }\n .graphic-wrap {\n padding-top: 20px;\n width: 100%;\n margin-bottom: $spacer-3;\n }\n }\n }\n}\n","import { Component, Prop, h } from '@stencil/core';\nimport { VideoService } from '../../util/video';\n\n@Component({\n tag: 'biggive-video-feature',\n styleUrl: 'biggive-video-feature.scss',\n shadow: true,\n})\nexport class BiggiveVideoFeature {\n /**\n * Space above component\n */\n @Prop() spaceAbove: number = 0;\n /**\n * Space below component\n */\n @Prop() spaceBelow: number = 0;\n /**\n * Default text colour\n */\n @Prop() defaultTextColour: string = 'primary';\n\n /**\n * Full URL of a video.\n */\n @Prop() videoUrl: string = '';\n\n /**\n * Slug\n */\n @Prop() slug: string;\n\n /**\n * Slug colour\n */\n @Prop() slugColour: string = '';\n\n /**\n * Video title\n */\n @Prop() mainTitle: string;\n\n /**\n * Slug colour\n */\n @Prop() mainTitleColour: string = '';\n\n /**\n * Introductory teaser text\n */\n @Prop() teaser: string;\n\n /**\n * Teaser colour\n */\n @Prop() teaserColour: string = '';\n\n /**\n * Button Url\n */\n @Prop() buttonUrl: string;\n\n /**\n * Button Label\n */\n @Prop() buttonLabel: string;\n\n /**\n * Button Colour Scheme\n */\n @Prop() buttonColourScheme: string = 'primary';\n\n render() {\n const youtubeClass = this.videoUrl.includes('youtube.com') ? ' youtube' : '';\n\n return (\n <div class={'container text-colour-' + this.defaultTextColour + ' space-above-' + this.spaceAbove + ' space-below-' + this.spaceBelow}>\n <div class=\"sleeve\">\n <div class=\"content-wrap\">\n <div class={'slug text-colour-' + this.slugColour}>{this.slug}</div>\n <h2 class={'title text-colour-' + this.mainTitleColour}>{this.mainTitle}</h2>\n <div class={'teaser text-colour-' + this.teaserColour}>{this.teaser}</div>\n {this.buttonLabel != null && this.buttonUrl != null ? (\n <biggive-button colour-scheme={this.buttonColourScheme} url={this.buttonUrl} label={this.buttonLabel}></biggive-button>\n ) : null}\n </div>\n <div class=\"graphic-wrap\">\n {this.videoUrl !== null && this.videoUrl !== undefined ? (\n <div class={'video-wrap' + youtubeClass} innerHTML={VideoService.getEmbedHtml(this.videoUrl, this.mainTitle)}></div>\n ) : null}\n </div>\n </div>\n </div>\n );\n }\n}\n"],"version":3}
@@ -9,8 +9,17 @@ const BiggiveVideo$1 = /*@__PURE__*/ proxyCustomElement(class BiggiveVideo exten
9
9
  super();
10
10
  this.__registerHost();
11
11
  this.__attachShadow();
12
+ /**
13
+ * Space above component
14
+ */
12
15
  this.spaceAbove = 0;
16
+ /**
17
+ * Space below component
18
+ */
13
19
  this.spaceBelow = 0;
20
+ /**
21
+ * Full URL of a video.
22
+ */
14
23
  this.videoUrl = '';
15
24
  }
16
25
  render() {
@@ -1 +1 @@
1
- {"file":"biggive-video.js","mappings":";;;AAAA,MAAM,eAAe,GAAG,i0BAAi0B,CAAC;AAC11B,2BAAe,eAAe;;MCOjBA,cAAY;;;;;0BAIM,CAAC;0BAID,CAAC;wBAIH,EAAE;;IAE7B,MAAM;QACJ,QACE,4DAAK,KAAK,EAAE,wBAAwB,GAAG,IAAI,CAAC,UAAU,GAAG,eAAe,GAAG,IAAI,CAAC,UAAU,IACxF,4DAAK,KAAK,EAAC,YAAY,EAAC,SAAS,EAAE,YAAY,CAAC,YAAY,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,GAAQ,CACrF,EACN;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["BiggiveVideo"],"sources":["src/components/biggive-video/biggive-video.scss?tag=biggive-video&encapsulation=shadow","src/components/biggive-video/biggive-video.tsx"],"sourcesContent":["@include spacers();\n\n:host {\n display: contents;\n}\n\n.video-wrap {\n @include video-wrap();\n}\n\n.video-wrap.youtube {\n padding-bottom: 56.25%;\n}\n\n.container {\n @include standard-font();\n}\n\n","import { Component, Prop, h } from '@stencil/core';\nimport { VideoService } from '../../util/video';\n\n@Component({\n tag: 'biggive-video',\n styleUrl: 'biggive-video.scss',\n shadow: true,\n})\nexport class BiggiveVideo {\n /**\n * Space above component\n */\n @Prop() spaceAbove: number = 0;\n /**\n * Space below component\n */\n @Prop() spaceBelow: number = 0;\n /**\n * Full URL of a video.\n */\n @Prop() videoUrl: string = '';\n\n render() {\n return (\n <div class={'container space-above-' + this.spaceAbove + ' space-below-' + this.spaceBelow}>\n <div class=\"video-wrap\" innerHTML={VideoService.getEmbedHtml(this.videoUrl, null)}></div>\n </div>\n );\n }\n}\n"],"version":3}
1
+ {"file":"biggive-video.js","mappings":";;;AAAA,MAAM,eAAe,GAAG,i0BAAi0B,CAAC;AAC11B,2BAAe,eAAe;;MCOjBA,cAAY;IALzB;;;;;;;QASU,eAAU,GAAW,CAAC,CAAC;;;;QAIvB,eAAU,GAAW,CAAC,CAAC;;;;QAIvB,aAAQ,GAAW,EAAE,CAAC;KAS/B;IAPC,MAAM;QACJ,QACE,4DAAK,KAAK,EAAE,wBAAwB,GAAG,IAAI,CAAC,UAAU,GAAG,eAAe,GAAG,IAAI,CAAC,UAAU,IACxF,4DAAK,KAAK,EAAC,YAAY,EAAC,SAAS,EAAE,YAAY,CAAC,YAAY,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,GAAQ,CACrF,EACN;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["BiggiveVideo"],"sources":["src/components/biggive-video/biggive-video.scss?tag=biggive-video&encapsulation=shadow","src/components/biggive-video/biggive-video.tsx"],"sourcesContent":["@include spacers();\n\n:host {\n display: contents;\n}\n\n.video-wrap {\n @include video-wrap();\n}\n\n.video-wrap.youtube {\n padding-bottom: 56.25%;\n}\n\n.container {\n @include standard-font();\n}\n\n","import { Component, Prop, h } from '@stencil/core';\nimport { VideoService } from '../../util/video';\n\n@Component({\n tag: 'biggive-video',\n styleUrl: 'biggive-video.scss',\n shadow: true,\n})\nexport class BiggiveVideo {\n /**\n * Space above component\n */\n @Prop() spaceAbove: number = 0;\n /**\n * Space below component\n */\n @Prop() spaceBelow: number = 0;\n /**\n * Full URL of a video.\n */\n @Prop() videoUrl: string = '';\n\n render() {\n return (\n <div class={'container space-above-' + this.spaceAbove + ' space-below-' + this.spaceBelow}>\n <div class=\"video-wrap\" innerHTML={VideoService.getEmbedHtml(this.videoUrl, null)}></div>\n </div>\n );\n }\n}\n"],"version":3}