@biggive/components 1.0.95 → 1.0.97

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 (244) hide show
  1. package/dist/biggive/assets/images/biggive-triangle-green.svg +21 -0
  2. package/dist/biggive/assets/images/cross.svg +11 -0
  3. package/dist/biggive/assets/images/menu.svg +11 -0
  4. package/dist/biggive/biggive.esm.js +1 -1
  5. package/dist/biggive/p-063c44ce.entry.js +1 -0
  6. package/dist/biggive/p-0892aade.entry.js +1 -0
  7. package/dist/biggive/{p-e39db89c.entry.js → p-38b36bc6.entry.js} +1 -1
  8. package/dist/biggive/p-41c6f1f3.entry.js +1 -0
  9. package/dist/biggive/p-60872399.entry.js +1 -0
  10. package/dist/biggive/p-6d144f96.js +2 -0
  11. package/dist/biggive/p-8742102b.entry.js +1 -0
  12. package/dist/biggive/p-88faca11.js +1 -0
  13. package/dist/biggive/p-9916d987.entry.js +1 -0
  14. package/dist/biggive/p-99f15121.entry.js +1 -0
  15. package/dist/biggive/p-9fa2a9b2.entry.js +1 -0
  16. package/dist/biggive/p-a13e0f3e.entry.js +1 -0
  17. package/dist/biggive/p-aa4e1a2a.js +1 -0
  18. package/dist/biggive/p-bfaf1239.entry.js +1 -0
  19. package/dist/biggive/p-c1570c9f.entry.js +1 -0
  20. package/dist/biggive/p-d1c2b64d.entry.js +1 -0
  21. package/dist/biggive/p-da0a4725.entry.js +1 -0
  22. package/dist/biggive/p-de0f70ee.entry.js +1 -0
  23. package/dist/biggive/p-e3b0c4ae.entry.js +1 -0
  24. package/dist/biggive/p-e546fe69.entry.js +1 -0
  25. package/dist/cjs/biggive-article-card.cjs.entry.js +2 -35
  26. package/dist/cjs/biggive-back-to-top_23.cjs.entry.js +625 -0
  27. package/dist/cjs/biggive-basic-card.cjs.entry.js +2 -35
  28. package/dist/cjs/biggive-beneficiary-icon.cjs.entry.js +4 -19
  29. package/dist/cjs/biggive-boxed-content.cjs.entry.js +2 -17
  30. package/dist/cjs/biggive-branded-image.cjs.entry.js +2 -14
  31. package/dist/cjs/biggive-category-icon.cjs.entry.js +4 -19
  32. package/dist/cjs/biggive-form.cjs.entry.js +1 -1
  33. package/dist/cjs/biggive-formatted-text.cjs.entry.js +2 -8
  34. package/dist/cjs/biggive-icon-group.cjs.entry.js +2 -8
  35. package/dist/cjs/biggive-image.cjs.entry.js +2 -20
  36. package/dist/cjs/biggive-quote.cjs.entry.js +2 -14
  37. package/dist/cjs/biggive-search.cjs.entry.js +7 -5
  38. package/dist/cjs/biggive-tab.cjs.entry.js +2 -5
  39. package/dist/cjs/biggive-tabbed-content.cjs.entry.js +2 -8
  40. package/dist/cjs/biggive-text-input.cjs.entry.js +1 -1
  41. package/dist/cjs/biggive-video.cjs.entry.js +2 -11
  42. package/dist/cjs/biggive.cjs.js +3 -3
  43. package/dist/cjs/{fontawesome-icons-110f532d.js → fontawesome-icons-f33263c4.js} +45 -55
  44. package/dist/cjs/index-1fa2bbc6.js +196 -0
  45. package/dist/cjs/{index-87518c3f.js → index-ecfc2713.js} +734 -495
  46. package/dist/cjs/loader.cjs.js +3 -3
  47. package/dist/collection/assets/images/biggive-triangle-green.svg +21 -0
  48. package/dist/collection/assets/images/cross.svg +11 -0
  49. package/dist/collection/assets/images/menu.svg +11 -0
  50. package/dist/collection/collection-manifest.json +4 -2
  51. package/dist/collection/components/biggive-article-card/biggive-article-card.css +24 -0
  52. package/dist/collection/components/biggive-article-card/biggive-article-card.js +214 -253
  53. package/dist/collection/components/biggive-back-to-top/biggive-back-to-top.css +24 -0
  54. package/dist/collection/components/biggive-back-to-top/biggive-back-to-top.js +12 -11
  55. package/dist/collection/components/biggive-basic-card/biggive-basic-card.css +24 -0
  56. package/dist/collection/components/biggive-basic-card/biggive-basic-card.js +214 -251
  57. package/dist/collection/components/biggive-basic-card/biggive-basic-card.stories.js +1 -1
  58. package/dist/collection/components/biggive-beneficiary-icon/biggive-beneficiary-icon.css +24 -0
  59. package/dist/collection/components/biggive-beneficiary-icon/biggive-beneficiary-icon.js +102 -116
  60. package/dist/collection/components/biggive-boxed-content/biggive-boxed-content.css +24 -0
  61. package/dist/collection/components/biggive-boxed-content/biggive-boxed-content.js +102 -112
  62. package/dist/collection/components/biggive-branded-image/biggive-branded-image.css +24 -0
  63. package/dist/collection/components/biggive-branded-image/biggive-branded-image.js +85 -96
  64. package/dist/collection/components/biggive-button/biggive-button.css +24 -0
  65. package/dist/collection/components/biggive-button/biggive-button.js +137 -153
  66. package/dist/collection/components/biggive-call-to-action/biggive-call-to-action.css +24 -0
  67. package/dist/collection/components/biggive-call-to-action/biggive-call-to-action.js +376 -440
  68. package/dist/collection/components/biggive-campaign-card/biggive-campaign-card.css +26 -0
  69. package/dist/collection/components/biggive-campaign-card/biggive-campaign-card.js +322 -385
  70. package/dist/collection/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.css +61 -0
  71. package/dist/collection/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.js +123 -124
  72. package/dist/collection/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.stories.js +6 -0
  73. package/dist/collection/components/biggive-campaign-highlights/biggive-campaign-highlights.css +24 -0
  74. package/dist/collection/components/biggive-campaign-highlights/biggive-campaign-highlights.js +238 -292
  75. package/dist/collection/components/biggive-category-icon/biggive-category-icon.css +24 -0
  76. package/dist/collection/components/biggive-category-icon/biggive-category-icon.js +102 -116
  77. package/dist/collection/components/biggive-footer/biggive-footer.css +58 -1
  78. package/dist/collection/components/biggive-footer/biggive-footer.js +15 -39
  79. package/dist/collection/components/biggive-footer/biggive-footer.stories.js +8 -1
  80. package/dist/collection/components/biggive-form/biggive-form.js +12 -9
  81. package/dist/collection/components/biggive-form-field-select/biggive-form-field-select.css +557 -0
  82. package/dist/collection/components/biggive-form-field-select/biggive-form-field-select.js +95 -9
  83. package/dist/collection/components/biggive-form-field-select/biggive-form-field-select.stories.js +9 -0
  84. package/dist/collection/components/biggive-form-field-select-option/biggive-form-field-select-option.css +520 -0
  85. package/dist/collection/components/biggive-form-field-select-option/biggive-form-field-select-option.js +94 -0
  86. package/dist/collection/components/biggive-form-field-select-option/biggive-form-field-select-option.stories.js +23 -0
  87. package/dist/collection/components/biggive-form-field-text-input/biggive-text-input.js +12 -9
  88. package/dist/collection/components/biggive-formatted-text/biggive-formatted-text.css +24 -0
  89. package/dist/collection/components/biggive-formatted-text/biggive-formatted-text.js +51 -52
  90. package/dist/collection/components/biggive-grid/biggive-grid.css +39 -0
  91. package/dist/collection/components/biggive-grid/biggive-grid.js +68 -72
  92. package/dist/collection/components/biggive-header/biggive-header.css +94 -2
  93. package/dist/collection/components/biggive-header/biggive-header.js +64 -69
  94. package/dist/collection/components/biggive-header/biggive-header.stories.js +2 -1
  95. package/dist/collection/components/biggive-heading/biggive-heading.css +24 -0
  96. package/dist/collection/components/biggive-heading/biggive-heading.js +136 -152
  97. package/dist/collection/components/biggive-hero-image/biggive-hero-image.css +48 -11
  98. package/dist/collection/components/biggive-hero-image/biggive-hero-image.js +240 -283
  99. package/dist/collection/components/biggive-icon-group/biggive-icon-group.css +24 -0
  100. package/dist/collection/components/biggive-icon-group/biggive-icon-group.js +51 -54
  101. package/dist/collection/components/biggive-image/biggive-image.css +24 -0
  102. package/dist/collection/components/biggive-image/biggive-image.js +119 -133
  103. package/dist/collection/components/biggive-image-feature/biggive-image-feature.css +43 -5
  104. package/dist/collection/components/biggive-image-feature/biggive-image-feature.js +232 -270
  105. package/dist/collection/components/biggive-misc-icon/biggive-misc-icon.css +24 -0
  106. package/dist/collection/components/biggive-misc-icon/biggive-misc-icon.js +85 -94
  107. package/dist/collection/components/biggive-page-column/biggive-page-column.css +506 -1
  108. package/dist/collection/components/biggive-page-column/biggive-page-column.js +11 -7
  109. package/dist/collection/components/biggive-page-columns/biggive-page-columns.css +34 -1
  110. package/dist/collection/components/biggive-page-columns/biggive-page-columns.js +34 -36
  111. package/dist/collection/components/biggive-page-section/biggive-page-section.css +24 -0
  112. package/dist/collection/components/biggive-page-section/biggive-page-section.js +85 -93
  113. package/dist/collection/components/biggive-popup/biggive-popup.css +547 -0
  114. package/dist/collection/components/biggive-popup/biggive-popup.js +47 -0
  115. package/dist/collection/components/biggive-popup/biggive-popup.stories.js +8 -0
  116. package/dist/collection/components/biggive-progress-bar/biggive-progress-bar.css +24 -0
  117. package/dist/collection/components/biggive-progress-bar/biggive-progress-bar.js +68 -76
  118. package/dist/collection/components/biggive-quote/biggive-quote.css +24 -0
  119. package/dist/collection/components/biggive-quote/biggive-quote.js +85 -93
  120. package/dist/collection/components/biggive-search/biggive-search.css +24 -0
  121. package/dist/collection/components/biggive-search/biggive-search.js +74 -74
  122. package/dist/collection/components/biggive-social-icon/biggive-social-icon.css +24 -0
  123. package/dist/collection/components/biggive-social-icon/biggive-social-icon.js +85 -94
  124. package/dist/collection/components/biggive-tab/biggive-tab.css +24 -0
  125. package/dist/collection/components/biggive-tab/biggive-tab.js +34 -34
  126. package/dist/collection/components/biggive-tabbed-content/biggive-tabbed-content.css +24 -0
  127. package/dist/collection/components/biggive-tabbed-content/biggive-tabbed-content.js +51 -52
  128. package/dist/collection/components/biggive-totalizer/biggive-totalizer.css +33 -1
  129. package/dist/collection/components/biggive-totalizer/biggive-totalizer.js +178 -208
  130. package/dist/collection/components/biggive-video/biggive-video.css +24 -0
  131. package/dist/collection/components/biggive-video/biggive-video.js +68 -72
  132. package/dist/collection/components/biggive-video-feature/biggive-video-feature.css +43 -5
  133. package/dist/collection/components/biggive-video-feature/biggive-video-feature.js +238 -278
  134. package/dist/components/biggive-article-card.js +1 -34
  135. package/dist/components/biggive-back-to-top.js +1 -1
  136. package/dist/components/biggive-basic-card.js +1 -34
  137. package/dist/components/biggive-beneficiary-icon.js +1 -16
  138. package/dist/components/biggive-boxed-content.js +1 -16
  139. package/dist/components/biggive-branded-image.js +1 -13
  140. package/dist/components/biggive-button2.js +2 -23
  141. package/dist/components/biggive-call-to-action.js +1 -61
  142. package/dist/components/biggive-campaign-card-filter-grid.js +55 -22
  143. package/dist/components/biggive-campaign-card.js +2 -49
  144. package/dist/components/biggive-campaign-highlights.js +1 -40
  145. package/dist/components/biggive-category-icon.js +1 -16
  146. package/dist/components/biggive-footer.js +4 -10
  147. package/dist/components/biggive-form-field-select-option.d.ts +11 -0
  148. package/dist/components/biggive-form-field-select-option.js +6 -0
  149. package/dist/components/biggive-form-field-select-option2.js +46 -0
  150. package/dist/components/biggive-form-field-select.js +1 -28
  151. package/dist/components/biggive-form-field-select2.js +44 -0
  152. package/dist/components/biggive-formatted-text.js +1 -7
  153. package/dist/components/biggive-grid.js +1 -10
  154. package/dist/components/biggive-header.js +13 -8
  155. package/dist/components/biggive-heading.js +1 -22
  156. package/dist/components/biggive-hero-image.js +1 -40
  157. package/dist/components/biggive-icon-group.js +1 -7
  158. package/dist/components/biggive-image-feature.js +1 -37
  159. package/dist/components/biggive-image.js +1 -19
  160. package/dist/components/biggive-misc-icon2.js +1 -13
  161. package/dist/components/biggive-page-column.js +1 -1
  162. package/dist/components/biggive-page-columns.js +1 -4
  163. package/dist/components/biggive-page-section.js +1 -13
  164. package/dist/components/biggive-popup.d.ts +11 -0
  165. package/dist/components/biggive-popup.js +6 -0
  166. package/dist/components/biggive-popup2.js +41 -0
  167. package/dist/components/biggive-progress-bar2.js +1 -10
  168. package/dist/components/biggive-quote.js +1 -13
  169. package/dist/components/biggive-search.js +5 -3
  170. package/dist/components/biggive-social-icon.js +41 -1
  171. package/dist/components/biggive-tab.js +1 -4
  172. package/dist/components/biggive-tabbed-content.js +1 -7
  173. package/dist/components/biggive-totalizer.js +1 -28
  174. package/dist/components/biggive-video-feature.js +1 -40
  175. package/dist/components/biggive-video.js +1 -10
  176. package/dist/components/fontawesome-icons.js +11 -21
  177. package/dist/components/index.d.ts +2 -0
  178. package/dist/components/index.js +2 -0
  179. package/dist/components/index2.js +164 -0
  180. package/dist/esm/biggive-article-card.entry.js +2 -35
  181. package/dist/esm/biggive-back-to-top_23.entry.js +599 -0
  182. package/dist/esm/biggive-basic-card.entry.js +2 -35
  183. package/dist/esm/biggive-beneficiary-icon.entry.js +4 -19
  184. package/dist/esm/biggive-boxed-content.entry.js +2 -17
  185. package/dist/esm/biggive-branded-image.entry.js +2 -14
  186. package/dist/esm/biggive-category-icon.entry.js +4 -19
  187. package/dist/esm/biggive-form.entry.js +1 -1
  188. package/dist/esm/biggive-formatted-text.entry.js +2 -8
  189. package/dist/esm/biggive-icon-group.entry.js +2 -8
  190. package/dist/esm/biggive-image.entry.js +2 -20
  191. package/dist/esm/biggive-quote.entry.js +2 -14
  192. package/dist/esm/biggive-search.entry.js +6 -4
  193. package/dist/esm/biggive-tab.entry.js +2 -5
  194. package/dist/esm/biggive-tabbed-content.entry.js +2 -8
  195. package/dist/esm/biggive-text-input.entry.js +1 -1
  196. package/dist/esm/biggive-video.entry.js +2 -11
  197. package/dist/esm/biggive.js +3 -3
  198. package/dist/esm/{fontawesome-icons-562459be.js → fontawesome-icons-ff9155ca.js} +11 -21
  199. package/dist/esm/index-7cfe62c2.js +164 -0
  200. package/dist/esm/{index-4395d470.js → index-b3c47751.js} +734 -495
  201. package/dist/esm/loader.js +3 -3
  202. package/dist/esm/polyfills/css-shim.js +1 -1
  203. package/dist/types/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.d.ts +2 -6
  204. package/dist/types/components/biggive-form-field-select/biggive-form-field-select.d.ts +17 -0
  205. package/dist/types/components/biggive-form-field-select/biggive-form-field-select.stories.d.ts +5 -0
  206. package/dist/types/components/biggive-form-field-select-option/biggive-form-field-select-option.d.ts +20 -0
  207. package/dist/types/components/biggive-form-field-select-option/biggive-form-field-select-option.stories.d.ts +13 -0
  208. package/dist/types/components/biggive-header/biggive-header.d.ts +1 -0
  209. package/dist/types/components/biggive-popup/biggive-popup.d.ts +6 -0
  210. package/dist/types/components/biggive-popup/biggive-popup.stories.d.ts +5 -0
  211. package/dist/types/components.d.ts +73 -6
  212. package/dist/types/stencil-public-runtime.d.ts +20 -4
  213. package/hydrate/index.d.ts +1 -1
  214. package/hydrate/index.js +1133 -1561
  215. package/loader/package.json +1 -0
  216. package/package.json +4 -2
  217. package/dist/biggive/p-07962fc5.entry.js +0 -1
  218. package/dist/biggive/p-1024263c.entry.js +0 -1
  219. package/dist/biggive/p-1805f9ab.js +0 -2
  220. package/dist/biggive/p-1b78efa0.entry.js +0 -1
  221. package/dist/biggive/p-5dbda89c.entry.js +0 -1
  222. package/dist/biggive/p-5f1b0106.entry.js +0 -1
  223. package/dist/biggive/p-6326f936.entry.js +0 -1
  224. package/dist/biggive/p-72a6f0a8.entry.js +0 -1
  225. package/dist/biggive/p-74b5d4c7.entry.js +0 -1
  226. package/dist/biggive/p-7eee1e58.entry.js +0 -1
  227. package/dist/biggive/p-871707f4.js +0 -6
  228. package/dist/biggive/p-8f605036.entry.js +0 -1
  229. package/dist/biggive/p-9125d753.entry.js +0 -1
  230. package/dist/biggive/p-bdb476eb.entry.js +0 -1
  231. package/dist/biggive/p-c9aaa5c3.entry.js +0 -1
  232. package/dist/biggive/p-df6daa79.entry.js +0 -1
  233. package/dist/biggive/p-ec9b42b3.js +0 -6
  234. package/dist/biggive/p-f9388477.entry.js +0 -1
  235. package/dist/biggive/p-f98681a5.entry.js +0 -1
  236. package/dist/biggive/p-faa6817c.entry.js +0 -1
  237. package/dist/cjs/biggive-back-to-top_20.cjs.entry.js +0 -923
  238. package/dist/cjs/biggive-form-field-select.cjs.entry.js +0 -19
  239. package/dist/cjs/index.es-d3570170.js +0 -201
  240. package/dist/components/biggive-social-icon2.js +0 -55
  241. package/dist/components/index.es.js +0 -169
  242. package/dist/esm/biggive-back-to-top_20.entry.js +0 -900
  243. package/dist/esm/biggive-form-field-select.entry.js +0 -15
  244. package/dist/esm/index.es-5777380a.js +0 -169
@@ -1,272 +1,233 @@
1
- import { Component, Prop, h } from '@stencil/core';
1
+ import { h } from '@stencil/core';
2
2
  export class BiggiveArticleCard {
3
3
  constructor() {
4
- /**
5
- * Space below component
6
- */
7
4
  this.spaceBelow = 0;
8
- /**
9
- * Card background colour
10
- */
11
5
  this.backgroundColour = 'white';
12
- /**
13
- * Card background colour hover
14
- */
15
6
  this.backgroundColourHover = 'tertiary';
16
- /**
17
- * Text colour
18
- */
19
7
  this.textColour = 'black';
20
- /**
21
- * Slug
22
- */
23
8
  this.slug = null;
24
- /**
25
- * Date
26
- */
27
9
  this.date = null;
28
- /**
29
- * Main title
30
- */
31
10
  this.mainTitle = null;
32
- /**
33
- * Image URL
34
- */
35
11
  this.imageUrl = null;
36
- /**
37
- * Image Label
38
- */
39
12
  this.imageLabel = null;
40
- /**
41
- * Button label
42
- */
43
13
  this.buttonLabel = null;
44
- /**
45
- * Button URL
46
- */
47
14
  this.buttonUrl = null;
48
15
  }
49
16
  render() {
50
- return (h("div", { class: 'container space-below-' + this.spaceBelow },
51
- h("div", { class: 'sleeve background-colour-' + this.backgroundColour + ' background-colour-hover-' + this.backgroundColourHover + ' text-colour-' + this.textColour },
52
- h("div", { class: "content-wrap" },
53
- this.slug != '' ? h("div", { class: "slug text-colour-primary" }, this.slug) : null,
54
- this.date != '' ? h("div", { class: "date" }, this.date) : null,
55
- h("h3", { class: "title" },
56
- h("a", { href: this.buttonUrl }, this.mainTitle)),
57
- this.imageUrl != '' ? (h("div", { class: "image-group" },
58
- h("div", { class: "image-wrap", style: { 'background-image': "url('" + this.imageUrl + "')" } },
59
- h("img", { src: this.imageUrl })),
60
- h("div", { class: "image-label" }, this.imageLabel))) : null,
61
- this.buttonLabel != null && this.buttonUrl != null ? (h("div", { class: "button-wrap align-right" },
62
- h("biggive-button", { "colour-scheme": 'clear-primary', url: this.buttonUrl, label: this.buttonLabel }))) : null))));
17
+ return (h("div", { class: 'container space-below-' + this.spaceBelow }, h("div", { class: 'sleeve background-colour-' + this.backgroundColour + ' background-colour-hover-' + this.backgroundColourHover + ' text-colour-' + this.textColour }, h("div", { class: "content-wrap" }, this.slug != '' ? h("div", { class: "slug text-colour-primary" }, this.slug) : null, this.date != '' ? h("div", { class: "date" }, this.date) : null, h("h3", { class: "title" }, h("a", { href: this.buttonUrl }, this.mainTitle)), this.imageUrl != '' ? (h("div", { class: "image-group" }, h("div", { class: "image-wrap", style: { 'background-image': "url('" + this.imageUrl + "')" } }, h("img", { src: this.imageUrl })), h("div", { class: "image-label" }, this.imageLabel))) : null, this.buttonLabel != null && this.buttonUrl != null ? (h("div", { class: "button-wrap align-right" }, h("biggive-button", { "colour-scheme": 'clear-primary', url: this.buttonUrl, label: this.buttonLabel }))) : null))));
63
18
  }
64
19
  static get is() { return "biggive-article-card"; }
65
20
  static get encapsulation() { return "shadow"; }
66
- static get originalStyleUrls() { return {
67
- "$": ["biggive-article-card.scss"]
68
- }; }
69
- static get styleUrls() { return {
70
- "$": ["biggive-article-card.css"]
71
- }; }
72
- static get properties() { return {
73
- "spaceBelow": {
74
- "type": "number",
75
- "mutable": false,
76
- "complexType": {
77
- "original": "number",
78
- "resolved": "number",
79
- "references": {}
80
- },
81
- "required": false,
82
- "optional": false,
83
- "docs": {
84
- "tags": [],
85
- "text": "Space below component"
86
- },
87
- "attribute": "space-below",
88
- "reflect": false,
89
- "defaultValue": "0"
90
- },
91
- "backgroundColour": {
92
- "type": "string",
93
- "mutable": false,
94
- "complexType": {
95
- "original": "string",
96
- "resolved": "string",
97
- "references": {}
98
- },
99
- "required": false,
100
- "optional": false,
101
- "docs": {
102
- "tags": [],
103
- "text": "Card background colour"
104
- },
105
- "attribute": "background-colour",
106
- "reflect": false,
107
- "defaultValue": "'white'"
108
- },
109
- "backgroundColourHover": {
110
- "type": "string",
111
- "mutable": false,
112
- "complexType": {
113
- "original": "string",
114
- "resolved": "string",
115
- "references": {}
116
- },
117
- "required": false,
118
- "optional": false,
119
- "docs": {
120
- "tags": [],
121
- "text": "Card background colour hover"
122
- },
123
- "attribute": "background-colour-hover",
124
- "reflect": false,
125
- "defaultValue": "'tertiary'"
126
- },
127
- "textColour": {
128
- "type": "string",
129
- "mutable": false,
130
- "complexType": {
131
- "original": "string",
132
- "resolved": "string",
133
- "references": {}
134
- },
135
- "required": false,
136
- "optional": false,
137
- "docs": {
138
- "tags": [],
139
- "text": "Text colour"
140
- },
141
- "attribute": "text-colour",
142
- "reflect": false,
143
- "defaultValue": "'black'"
144
- },
145
- "slug": {
146
- "type": "string",
147
- "mutable": false,
148
- "complexType": {
149
- "original": "string",
150
- "resolved": "string",
151
- "references": {}
152
- },
153
- "required": false,
154
- "optional": false,
155
- "docs": {
156
- "tags": [],
157
- "text": "Slug"
158
- },
159
- "attribute": "slug",
160
- "reflect": false,
161
- "defaultValue": "null"
162
- },
163
- "date": {
164
- "type": "string",
165
- "mutable": false,
166
- "complexType": {
167
- "original": "string",
168
- "resolved": "string",
169
- "references": {}
170
- },
171
- "required": false,
172
- "optional": false,
173
- "docs": {
174
- "tags": [],
175
- "text": "Date"
176
- },
177
- "attribute": "date",
178
- "reflect": false,
179
- "defaultValue": "null"
180
- },
181
- "mainTitle": {
182
- "type": "string",
183
- "mutable": false,
184
- "complexType": {
185
- "original": "string",
186
- "resolved": "string",
187
- "references": {}
188
- },
189
- "required": false,
190
- "optional": false,
191
- "docs": {
192
- "tags": [],
193
- "text": "Main title"
194
- },
195
- "attribute": "main-title",
196
- "reflect": false,
197
- "defaultValue": "null"
198
- },
199
- "imageUrl": {
200
- "type": "string",
201
- "mutable": false,
202
- "complexType": {
203
- "original": "string",
204
- "resolved": "string",
205
- "references": {}
206
- },
207
- "required": false,
208
- "optional": false,
209
- "docs": {
210
- "tags": [],
211
- "text": "Image URL"
212
- },
213
- "attribute": "image-url",
214
- "reflect": false,
215
- "defaultValue": "null"
216
- },
217
- "imageLabel": {
218
- "type": "string",
219
- "mutable": false,
220
- "complexType": {
221
- "original": "string",
222
- "resolved": "string",
223
- "references": {}
224
- },
225
- "required": false,
226
- "optional": false,
227
- "docs": {
228
- "tags": [],
229
- "text": "Image Label"
230
- },
231
- "attribute": "image-label",
232
- "reflect": false,
233
- "defaultValue": "null"
234
- },
235
- "buttonLabel": {
236
- "type": "string",
237
- "mutable": false,
238
- "complexType": {
239
- "original": "string",
240
- "resolved": "string",
241
- "references": {}
242
- },
243
- "required": false,
244
- "optional": false,
245
- "docs": {
246
- "tags": [],
247
- "text": "Button label"
248
- },
249
- "attribute": "button-label",
250
- "reflect": false,
251
- "defaultValue": "null"
252
- },
253
- "buttonUrl": {
254
- "type": "string",
255
- "mutable": false,
256
- "complexType": {
257
- "original": "string",
258
- "resolved": "string",
259
- "references": {}
260
- },
261
- "required": false,
262
- "optional": false,
263
- "docs": {
264
- "tags": [],
265
- "text": "Button URL"
266
- },
267
- "attribute": "button-url",
268
- "reflect": false,
269
- "defaultValue": "null"
270
- }
271
- }; }
21
+ static get originalStyleUrls() {
22
+ return {
23
+ "$": ["biggive-article-card.scss"]
24
+ };
25
+ }
26
+ static get styleUrls() {
27
+ return {
28
+ "$": ["biggive-article-card.css"]
29
+ };
30
+ }
31
+ static get properties() {
32
+ return {
33
+ "spaceBelow": {
34
+ "type": "number",
35
+ "mutable": false,
36
+ "complexType": {
37
+ "original": "number",
38
+ "resolved": "number",
39
+ "references": {}
40
+ },
41
+ "required": false,
42
+ "optional": false,
43
+ "docs": {
44
+ "tags": [],
45
+ "text": "Space below component"
46
+ },
47
+ "attribute": "space-below",
48
+ "reflect": false,
49
+ "defaultValue": "0"
50
+ },
51
+ "backgroundColour": {
52
+ "type": "string",
53
+ "mutable": false,
54
+ "complexType": {
55
+ "original": "string",
56
+ "resolved": "string",
57
+ "references": {}
58
+ },
59
+ "required": false,
60
+ "optional": false,
61
+ "docs": {
62
+ "tags": [],
63
+ "text": "Card background colour"
64
+ },
65
+ "attribute": "background-colour",
66
+ "reflect": false,
67
+ "defaultValue": "'white'"
68
+ },
69
+ "backgroundColourHover": {
70
+ "type": "string",
71
+ "mutable": false,
72
+ "complexType": {
73
+ "original": "string",
74
+ "resolved": "string",
75
+ "references": {}
76
+ },
77
+ "required": false,
78
+ "optional": false,
79
+ "docs": {
80
+ "tags": [],
81
+ "text": "Card background colour hover"
82
+ },
83
+ "attribute": "background-colour-hover",
84
+ "reflect": false,
85
+ "defaultValue": "'tertiary'"
86
+ },
87
+ "textColour": {
88
+ "type": "string",
89
+ "mutable": false,
90
+ "complexType": {
91
+ "original": "string",
92
+ "resolved": "string",
93
+ "references": {}
94
+ },
95
+ "required": false,
96
+ "optional": false,
97
+ "docs": {
98
+ "tags": [],
99
+ "text": "Text colour"
100
+ },
101
+ "attribute": "text-colour",
102
+ "reflect": false,
103
+ "defaultValue": "'black'"
104
+ },
105
+ "slug": {
106
+ "type": "string",
107
+ "mutable": false,
108
+ "complexType": {
109
+ "original": "string",
110
+ "resolved": "string",
111
+ "references": {}
112
+ },
113
+ "required": false,
114
+ "optional": false,
115
+ "docs": {
116
+ "tags": [],
117
+ "text": "Slug"
118
+ },
119
+ "attribute": "slug",
120
+ "reflect": false,
121
+ "defaultValue": "null"
122
+ },
123
+ "date": {
124
+ "type": "string",
125
+ "mutable": false,
126
+ "complexType": {
127
+ "original": "string",
128
+ "resolved": "string",
129
+ "references": {}
130
+ },
131
+ "required": false,
132
+ "optional": false,
133
+ "docs": {
134
+ "tags": [],
135
+ "text": "Date"
136
+ },
137
+ "attribute": "date",
138
+ "reflect": false,
139
+ "defaultValue": "null"
140
+ },
141
+ "mainTitle": {
142
+ "type": "string",
143
+ "mutable": false,
144
+ "complexType": {
145
+ "original": "string",
146
+ "resolved": "string",
147
+ "references": {}
148
+ },
149
+ "required": false,
150
+ "optional": false,
151
+ "docs": {
152
+ "tags": [],
153
+ "text": "Main title"
154
+ },
155
+ "attribute": "main-title",
156
+ "reflect": false,
157
+ "defaultValue": "null"
158
+ },
159
+ "imageUrl": {
160
+ "type": "string",
161
+ "mutable": false,
162
+ "complexType": {
163
+ "original": "string",
164
+ "resolved": "string",
165
+ "references": {}
166
+ },
167
+ "required": false,
168
+ "optional": false,
169
+ "docs": {
170
+ "tags": [],
171
+ "text": "Image URL"
172
+ },
173
+ "attribute": "image-url",
174
+ "reflect": false,
175
+ "defaultValue": "null"
176
+ },
177
+ "imageLabel": {
178
+ "type": "string",
179
+ "mutable": false,
180
+ "complexType": {
181
+ "original": "string",
182
+ "resolved": "string",
183
+ "references": {}
184
+ },
185
+ "required": false,
186
+ "optional": false,
187
+ "docs": {
188
+ "tags": [],
189
+ "text": "Image Label"
190
+ },
191
+ "attribute": "image-label",
192
+ "reflect": false,
193
+ "defaultValue": "null"
194
+ },
195
+ "buttonLabel": {
196
+ "type": "string",
197
+ "mutable": false,
198
+ "complexType": {
199
+ "original": "string",
200
+ "resolved": "string",
201
+ "references": {}
202
+ },
203
+ "required": false,
204
+ "optional": false,
205
+ "docs": {
206
+ "tags": [],
207
+ "text": "Button label"
208
+ },
209
+ "attribute": "button-label",
210
+ "reflect": false,
211
+ "defaultValue": "null"
212
+ },
213
+ "buttonUrl": {
214
+ "type": "string",
215
+ "mutable": false,
216
+ "complexType": {
217
+ "original": "string",
218
+ "resolved": "string",
219
+ "references": {}
220
+ },
221
+ "required": false,
222
+ "optional": false,
223
+ "docs": {
224
+ "tags": [],
225
+ "text": "Button URL"
226
+ },
227
+ "attribute": "button-url",
228
+ "reflect": false,
229
+ "defaultValue": "null"
230
+ }
231
+ };
232
+ }
272
233
  }
@@ -109,6 +109,10 @@ a:hover {
109
109
  fill: #000000;
110
110
  }
111
111
 
112
+ .fill-red {
113
+ fill: red;
114
+ }
115
+
112
116
  .background-colour-hover-primary:hover,
113
117
  .background-colour-primary {
114
118
  background-color: #2C089B;
@@ -214,6 +218,26 @@ a:hover {
214
218
  background-color: #FFFFFF;
215
219
  }
216
220
 
221
+ .button-white {
222
+ color: #2C089B;
223
+ background-color: #FFFFFF;
224
+ border-color: #FFFFFF;
225
+ }
226
+ .button-white:hover {
227
+ color: #FFFFFF;
228
+ background-color: #2C089B;
229
+ }
230
+
231
+ .button-black {
232
+ color: #FFFFFF;
233
+ background-color: #000000;
234
+ border-color: #000000;
235
+ }
236
+ .button-black:hover {
237
+ color: #000000;
238
+ background-color: #FFFFFF;
239
+ }
240
+
217
241
  .button-clear-primary {
218
242
  color: #2C089B;
219
243
  background-color: transparent;
@@ -1,17 +1,18 @@
1
- import { Component, getAssetPath, h } from '@stencil/core';
1
+ import { getAssetPath, h } from '@stencil/core';
2
2
  export class BiggiveBackToTop {
3
3
  render() {
4
- return (h("div", { class: "container" },
5
- h("a", { href: "#" },
6
- h("img", { src: getAssetPath('../assets/images/triangles-combined.svg') }),
7
- h("span", { class: "text" }, "Back to top"))));
4
+ return (h("div", { class: "container" }, h("a", { href: "#" }, h("img", { src: getAssetPath('../assets/images/triangles-combined.svg') }), h("span", { class: "text" }, "Back to top"))));
8
5
  }
9
6
  static get is() { return "biggive-back-to-top"; }
10
7
  static get encapsulation() { return "shadow"; }
11
- static get originalStyleUrls() { return {
12
- "$": ["biggive-back-to-top.scss"]
13
- }; }
14
- static get styleUrls() { return {
15
- "$": ["biggive-back-to-top.css"]
16
- }; }
8
+ static get originalStyleUrls() {
9
+ return {
10
+ "$": ["biggive-back-to-top.scss"]
11
+ };
12
+ }
13
+ static get styleUrls() {
14
+ return {
15
+ "$": ["biggive-back-to-top.css"]
16
+ };
17
+ }
17
18
  }
@@ -109,6 +109,10 @@ a:hover {
109
109
  fill: #000000;
110
110
  }
111
111
 
112
+ .fill-red {
113
+ fill: red;
114
+ }
115
+
112
116
  .background-colour-hover-primary:hover,
113
117
  .background-colour-primary {
114
118
  background-color: #2C089B;
@@ -214,6 +218,26 @@ a:hover {
214
218
  background-color: #FFFFFF;
215
219
  }
216
220
 
221
+ .button-white {
222
+ color: #2C089B;
223
+ background-color: #FFFFFF;
224
+ border-color: #FFFFFF;
225
+ }
226
+ .button-white:hover {
227
+ color: #FFFFFF;
228
+ background-color: #2C089B;
229
+ }
230
+
231
+ .button-black {
232
+ color: #FFFFFF;
233
+ background-color: #000000;
234
+ border-color: #000000;
235
+ }
236
+ .button-black:hover {
237
+ color: #000000;
238
+ background-color: #FFFFFF;
239
+ }
240
+
217
241
  .button-clear-primary {
218
242
  color: #2C089B;
219
243
  background-color: transparent;