@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,26 +1,11 @@
1
- import { Component, Prop, h } from '@stencil/core';
1
+ import { h } from '@stencil/core';
2
2
  import { FontAwesomeIconsService } from '../../util/fontawesome-icons';
3
3
  export class BiggiveCategoryIcon {
4
4
  constructor() {
5
- /**
6
- * Background colour
7
- */
8
5
  this.backgroundColour = 'primary';
9
- /**
10
- * Background colour
11
- */
12
6
  this.iconColour = 'white';
13
- /**
14
- * Icon
15
- */
16
7
  this.icon = null;
17
- /**
18
- * Label
19
- */
20
8
  this.label = null;
21
- /**
22
- * Url
23
- */
24
9
  this.url = '#';
25
10
  }
26
11
  getCategoryIcon() {
@@ -28,110 +13,111 @@ export class BiggiveCategoryIcon {
28
13
  return icon;
29
14
  }
30
15
  render() {
31
- return (h("div", { class: "container" },
32
- h("div", { class: 'category-icon-item background-colour-' + this.backgroundColour },
33
- h("a", { href: this.url },
34
- h("svg", { width: this.getCategoryIcon().icon[0], height: this.getCategoryIcon().icon[1], xmlns: "http://www.w3.org/2000/svg", class: 'fill-' + this.iconColour, viewBox: '0 0 ' + this.getCategoryIcon().icon[0] + ' ' + this.getCategoryIcon().icon[1] },
35
- h("path", { d: this.getCategoryIcon().icon[4].toString() })))),
36
- h("div", { class: "label" }, this.label)));
16
+ return (h("div", { class: "container" }, h("div", { class: 'category-icon-item background-colour-' + this.backgroundColour }, h("a", { href: this.url }, h("svg", { width: this.getCategoryIcon().icon[0], height: this.getCategoryIcon().icon[1], xmlns: "http://www.w3.org/2000/svg", class: 'fill-' + this.iconColour, viewBox: '0 0 ' + this.getCategoryIcon().icon[0] + ' ' + this.getCategoryIcon().icon[1] }, h("path", { d: this.getCategoryIcon().icon[4].toString() })))), h("div", { class: "label" }, this.label)));
37
17
  }
38
18
  static get is() { return "biggive-category-icon"; }
39
- static get originalStyleUrls() { return {
40
- "$": ["biggive-category-icon.scss"]
41
- }; }
42
- static get styleUrls() { return {
43
- "$": ["biggive-category-icon.css"]
44
- }; }
45
- static get properties() { return {
46
- "backgroundColour": {
47
- "type": "string",
48
- "mutable": false,
49
- "complexType": {
50
- "original": "string",
51
- "resolved": "string",
52
- "references": {}
53
- },
54
- "required": false,
55
- "optional": false,
56
- "docs": {
57
- "tags": [],
58
- "text": "Background colour"
59
- },
60
- "attribute": "background-colour",
61
- "reflect": false,
62
- "defaultValue": "'primary'"
63
- },
64
- "iconColour": {
65
- "type": "string",
66
- "mutable": false,
67
- "complexType": {
68
- "original": "string",
69
- "resolved": "string",
70
- "references": {}
71
- },
72
- "required": false,
73
- "optional": false,
74
- "docs": {
75
- "tags": [],
76
- "text": "Background colour"
77
- },
78
- "attribute": "icon-colour",
79
- "reflect": false,
80
- "defaultValue": "'white'"
81
- },
82
- "icon": {
83
- "type": "string",
84
- "mutable": false,
85
- "complexType": {
86
- "original": "string",
87
- "resolved": "string",
88
- "references": {}
89
- },
90
- "required": false,
91
- "optional": false,
92
- "docs": {
93
- "tags": [],
94
- "text": "Icon"
95
- },
96
- "attribute": "icon",
97
- "reflect": false,
98
- "defaultValue": "null"
99
- },
100
- "label": {
101
- "type": "string",
102
- "mutable": false,
103
- "complexType": {
104
- "original": "string",
105
- "resolved": "string",
106
- "references": {}
19
+ static get originalStyleUrls() {
20
+ return {
21
+ "$": ["biggive-category-icon.scss"]
22
+ };
23
+ }
24
+ static get styleUrls() {
25
+ return {
26
+ "$": ["biggive-category-icon.css"]
27
+ };
28
+ }
29
+ static get properties() {
30
+ return {
31
+ "backgroundColour": {
32
+ "type": "string",
33
+ "mutable": false,
34
+ "complexType": {
35
+ "original": "string",
36
+ "resolved": "string",
37
+ "references": {}
38
+ },
39
+ "required": false,
40
+ "optional": false,
41
+ "docs": {
42
+ "tags": [],
43
+ "text": "Background colour"
44
+ },
45
+ "attribute": "background-colour",
46
+ "reflect": false,
47
+ "defaultValue": "'primary'"
107
48
  },
108
- "required": false,
109
- "optional": false,
110
- "docs": {
111
- "tags": [],
112
- "text": "Label"
49
+ "iconColour": {
50
+ "type": "string",
51
+ "mutable": false,
52
+ "complexType": {
53
+ "original": "string",
54
+ "resolved": "string",
55
+ "references": {}
56
+ },
57
+ "required": false,
58
+ "optional": false,
59
+ "docs": {
60
+ "tags": [],
61
+ "text": "Background colour"
62
+ },
63
+ "attribute": "icon-colour",
64
+ "reflect": false,
65
+ "defaultValue": "'white'"
113
66
  },
114
- "attribute": "label",
115
- "reflect": false,
116
- "defaultValue": "null"
117
- },
118
- "url": {
119
- "type": "string",
120
- "mutable": false,
121
- "complexType": {
122
- "original": "string",
123
- "resolved": "string",
124
- "references": {}
67
+ "icon": {
68
+ "type": "string",
69
+ "mutable": false,
70
+ "complexType": {
71
+ "original": "string",
72
+ "resolved": "string",
73
+ "references": {}
74
+ },
75
+ "required": false,
76
+ "optional": false,
77
+ "docs": {
78
+ "tags": [],
79
+ "text": "Icon"
80
+ },
81
+ "attribute": "icon",
82
+ "reflect": false,
83
+ "defaultValue": "null"
125
84
  },
126
- "required": false,
127
- "optional": false,
128
- "docs": {
129
- "tags": [],
130
- "text": "Url"
85
+ "label": {
86
+ "type": "string",
87
+ "mutable": false,
88
+ "complexType": {
89
+ "original": "string",
90
+ "resolved": "string",
91
+ "references": {}
92
+ },
93
+ "required": false,
94
+ "optional": false,
95
+ "docs": {
96
+ "tags": [],
97
+ "text": "Label"
98
+ },
99
+ "attribute": "label",
100
+ "reflect": false,
101
+ "defaultValue": "null"
131
102
  },
132
- "attribute": "url",
133
- "reflect": false,
134
- "defaultValue": "'#'"
135
- }
136
- }; }
103
+ "url": {
104
+ "type": "string",
105
+ "mutable": false,
106
+ "complexType": {
107
+ "original": "string",
108
+ "resolved": "string",
109
+ "references": {}
110
+ },
111
+ "required": false,
112
+ "optional": false,
113
+ "docs": {
114
+ "tags": [],
115
+ "text": "Url"
116
+ },
117
+ "attribute": "url",
118
+ "reflect": false,
119
+ "defaultValue": "'#'"
120
+ }
121
+ };
122
+ }
137
123
  }
@@ -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;
@@ -496,9 +520,14 @@ nav ul li a {
496
520
  }
497
521
 
498
522
  .row-top {
523
+ background-image: url(assets/images/biggive-triangle-green.svg);
524
+ background-repeat: no-repeat;
525
+ background-size: auto 75px;
526
+ background-position: 60px 30px;
499
527
  background-color: #2C089B;
500
- padding: 60px;
528
+ padding: 100px 60px 60px 60px;
501
529
  display: flex;
530
+ flex-wrap: wrap;
502
531
  justify-content: space-between;
503
532
  }
504
533
  .row-top nav {
@@ -523,10 +552,18 @@ nav ul li a {
523
552
  padding: 0;
524
553
  list-style-type: none;
525
554
  }
555
+ .row-top .button-wrap {
556
+ margin-top: 15px;
557
+ width: 100%;
558
+ display: flex;
559
+ flex-wrap: wrap;
560
+ justify-content: space-between;
561
+ }
526
562
 
527
563
  .row-bottom {
528
564
  background-color: #000000;
529
565
  padding: 60px 60px 15px 60px;
566
+ border-top: 1px solid #FFFFFF;
530
567
  text-align: center;
531
568
  }
532
569
  .row-bottom .social-icon-wrap {
@@ -540,4 +577,24 @@ nav ul li a {
540
577
  }
541
578
  .row-bottom .social-icon-wrap .social-icon-item {
542
579
  margin: 0 10px;
580
+ }
581
+ @media screen and (max-width: 768px) {
582
+ .row-top {
583
+ padding: 15px;
584
+ }
585
+ }
586
+ @media screen and (max-width: 576px) {
587
+ .row-top {
588
+ background-size: auto 50px;
589
+ padding-top: 80px;
590
+ padding-left: 15px;
591
+ }
592
+ .row-top nav {
593
+ width: 100%;
594
+ margin-right: 0;
595
+ margin-bottom: 30px;
596
+ }
597
+ .row-top .button-wrap * {
598
+ width: 100% !important;
599
+ }
543
600
  }
@@ -1,4 +1,4 @@
1
- import { Component, Element, h } from '@stencil/core';
1
+ import { h } from '@stencil/core';
2
2
  export class BiggiveFooter {
3
3
  render() {
4
4
  var node = null;
@@ -9,60 +9,36 @@ export class BiggiveFooter {
9
9
  if (node != null) {
10
10
  navPrimary = [];
11
11
  node.querySelectorAll('li').forEach(el => {
12
- navPrimary.push(h("li", null,
13
- h("a", { href: el.firstElementChild.getAttribute('href') }, el.innerText)));
12
+ navPrimary.push(h("li", null, h("a", { href: el.firstElementChild.getAttribute('href') }, el.innerText)));
14
13
  });
15
14
  }
16
15
  node = this.host.querySelector('[slot="nav-secondary"]');
17
16
  if (node != null) {
18
17
  navSecondary = [];
19
18
  node.querySelectorAll('li').forEach(el => {
20
- navSecondary.push(h("li", null,
21
- h("a", { href: el.firstElementChild.getAttribute('href') }, el.innerText)));
19
+ navSecondary.push(h("li", null, h("a", { href: el.firstElementChild.getAttribute('href') }, el.innerText)));
22
20
  });
23
21
  }
24
22
  node = this.host.querySelector('[slot="nav-tertiary"]');
25
23
  if (node != null) {
26
24
  navTertiary = [];
27
25
  node.querySelectorAll('li').forEach(el => {
28
- navTertiary.push(h("li", null,
29
- h("a", { href: el.firstElementChild.getAttribute('href') }, el.innerText)));
26
+ navTertiary.push(h("li", null, h("a", { href: el.firstElementChild.getAttribute('href') }, el.innerText)));
30
27
  });
31
28
  }
32
- return (h("footer", { class: "footer" },
33
- h("div", { class: "row row-top" },
34
- h("nav", { class: "nav nav-primary" },
35
- h("h5", null,
36
- h("slot", { name: "nav-primary-title" })),
37
- h("ul", null, navPrimary)),
38
- h("nav", { class: "nav nav-secondary" },
39
- h("h5", null,
40
- h("slot", { name: "nav-secondary-title" })),
41
- h("ul", null, navSecondary)),
42
- h("nav", { class: "nav nav-tertiary" },
43
- h("h5", null,
44
- h("slot", { name: "nav-tertiary-title" })),
45
- h("ul", null, navTertiary)),
46
- h("div", { class: "button-wrap" },
47
- h("biggive-button", { "colour-scheme": "white", url: "#", label: "Donor login" }),
48
- h("biggive-button", { "colour-scheme": "white", url: "#", label: "For charities" }),
49
- h("biggive-button", { "colour-scheme": "white", url: "#", label: "For funders" }))),
50
- h("div", { class: "row row-bottom" },
51
- h("div", { class: "social-icon-wrap" },
52
- h("biggive-social-icon", { service: "Facebook", url: "https://www.facebook.com" }),
53
- h("biggive-social-icon", { service: "Twitter", url: "https://www.twitter.com" }),
54
- h("biggive-social-icon", { service: "LinkedIn", url: "https://www.linkedin.com" }),
55
- h("biggive-social-icon", { service: "YouTube", url: "https://www.youtube.com" }),
56
- h("biggive-social-icon", { service: "Instagram", url: "https://www.instagram.com" })),
57
- h("p", null, "\u00A9 2007 \u2013 2022 The Big Give Trust (1136547) | Company number 07273065 | Dragon Court, 27-29 Macklin Street, London WC2B 5LX, United Kingdom"))));
29
+ return (h("footer", { class: "footer" }, h("div", { class: "row row-top" }, h("nav", { class: "nav nav-primary" }, h("h5", null, h("slot", { name: "nav-primary-title" })), h("ul", null, navPrimary)), h("nav", { class: "nav nav-secondary" }, h("h5", null, h("slot", { name: "nav-secondary-title" })), h("ul", null, navSecondary)), h("nav", { class: "nav nav-tertiary" }, h("h5", null, h("slot", { name: "nav-tertiary-title" })), h("ul", null, navTertiary)), h("div", { class: "button-wrap" }, h("biggive-button", { "colour-scheme": "white", url: "#", label: "Donor login" }), h("biggive-button", { "colour-scheme": "white", url: "#", label: "For charities" }), h("biggive-button", { "colour-scheme": "white", url: "#", label: "For funders" }))), h("div", { class: "row row-bottom" }, h("div", { class: "social-icon-wrap" }, h("slot", { name: "social-icons" })), h("p", null, "\u00A9 2007 \u2013 2022 The Big Give Trust (1136547) | Company number 07273065 | Dragon Court, 27-29 Macklin Street, London WC2B 5LX, United Kingdom"))));
58
30
  }
59
31
  static get is() { return "biggive-footer"; }
60
32
  static get encapsulation() { return "shadow"; }
61
- static get originalStyleUrls() { return {
62
- "$": ["biggive-footer.scss"]
63
- }; }
64
- static get styleUrls() { return {
65
- "$": ["biggive-footer.css"]
66
- }; }
33
+ static get originalStyleUrls() {
34
+ return {
35
+ "$": ["biggive-footer.scss"]
36
+ };
37
+ }
38
+ static get styleUrls() {
39
+ return {
40
+ "$": ["biggive-footer.css"]
41
+ };
42
+ }
67
43
  static get elementRef() { return "host"; }
68
44
  }
@@ -6,7 +6,7 @@ const Template = () => `
6
6
  <div slot="nav-primary-title">Match Funding Opportunities</div>
7
7
  <ul slot="nav-primary">
8
8
  <li><a href="#">Explore Campaigns</a></li>
9
- <li><a href="#">For Charities</a></li>
9
+ <li data-icon=""><a href="#">For Charities</a></li>
10
10
  <li><a href="#">For Funders</a></li>
11
11
  <li><a href="#">Match Funding</a></li>
12
12
  <li><a href="#">About Us</a></li>
@@ -22,6 +22,13 @@ const Template = () => `
22
22
  <li><a href="#">Contact us</a></li>
23
23
  <li><a href="#">Charity login</a></li>
24
24
  </ul>
25
+ <div slot="social-icons">
26
+ <biggive-social-icon service="Facebook" url="https://www.facebook.com" background-colour="tertiary" icon-colour="black"></biggive-social-icon>
27
+ <biggive-social-icon service="Twitter" url="https://www.twitter.com" background-colour="tertiary" icon-colour="black"></biggive-social-icon>
28
+ <biggive-social-icon service="LinkedIn" url="https://www.linkedin.com" background-colour="tertiary" icon-colour="black"></biggive-social-icon>
29
+ <biggive-social-icon service="YouTube" url="https://www.youtube.com" background-colour="tertiary" icon-colour="black"></biggive-social-icon>
30
+ <biggive-social-icon service="Instagram" url="https://www.instagram.com" background-colour="tertiary" icon-colour="black"></biggive-social-icon>
31
+ </div>
25
32
  </biggive-footer>
26
33
  `;
27
34
  export const FooterComponent = Template.bind({});
@@ -1,15 +1,18 @@
1
- import { Component, Host, h } from '@stencil/core';
1
+ import { Host, h } from '@stencil/core';
2
2
  export class BiggiveForm {
3
3
  render() {
4
- return (h(Host, null,
5
- h("slot", null)));
4
+ return (h(Host, null, h("slot", null)));
6
5
  }
7
6
  static get is() { return "biggive-form"; }
8
7
  static get encapsulation() { return "shadow"; }
9
- static get originalStyleUrls() { return {
10
- "$": ["biggive-form.css"]
11
- }; }
12
- static get styleUrls() { return {
13
- "$": ["biggive-form.css"]
14
- }; }
8
+ static get originalStyleUrls() {
9
+ return {
10
+ "$": ["biggive-form.css"]
11
+ };
12
+ }
13
+ static get styleUrls() {
14
+ return {
15
+ "$": ["biggive-form.css"]
16
+ };
17
+ }
15
18
  }