@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.
- package/dist/biggive/assets/images/biggive-triangle-green.svg +21 -0
- package/dist/biggive/assets/images/cross.svg +11 -0
- package/dist/biggive/assets/images/menu.svg +11 -0
- package/dist/biggive/biggive.esm.js +1 -1
- package/dist/biggive/p-063c44ce.entry.js +1 -0
- package/dist/biggive/p-0892aade.entry.js +1 -0
- package/dist/biggive/{p-e39db89c.entry.js → p-38b36bc6.entry.js} +1 -1
- package/dist/biggive/p-41c6f1f3.entry.js +1 -0
- package/dist/biggive/p-60872399.entry.js +1 -0
- package/dist/biggive/p-6d144f96.js +2 -0
- package/dist/biggive/p-8742102b.entry.js +1 -0
- package/dist/biggive/p-88faca11.js +1 -0
- package/dist/biggive/p-9916d987.entry.js +1 -0
- package/dist/biggive/p-99f15121.entry.js +1 -0
- package/dist/biggive/p-9fa2a9b2.entry.js +1 -0
- package/dist/biggive/p-a13e0f3e.entry.js +1 -0
- package/dist/biggive/p-aa4e1a2a.js +1 -0
- package/dist/biggive/p-bfaf1239.entry.js +1 -0
- package/dist/biggive/p-c1570c9f.entry.js +1 -0
- package/dist/biggive/p-d1c2b64d.entry.js +1 -0
- package/dist/biggive/p-da0a4725.entry.js +1 -0
- package/dist/biggive/p-de0f70ee.entry.js +1 -0
- package/dist/biggive/p-e3b0c4ae.entry.js +1 -0
- package/dist/biggive/p-e546fe69.entry.js +1 -0
- package/dist/cjs/biggive-article-card.cjs.entry.js +2 -35
- package/dist/cjs/biggive-back-to-top_23.cjs.entry.js +625 -0
- package/dist/cjs/biggive-basic-card.cjs.entry.js +2 -35
- package/dist/cjs/biggive-beneficiary-icon.cjs.entry.js +4 -19
- package/dist/cjs/biggive-boxed-content.cjs.entry.js +2 -17
- package/dist/cjs/biggive-branded-image.cjs.entry.js +2 -14
- package/dist/cjs/biggive-category-icon.cjs.entry.js +4 -19
- package/dist/cjs/biggive-form.cjs.entry.js +1 -1
- package/dist/cjs/biggive-formatted-text.cjs.entry.js +2 -8
- package/dist/cjs/biggive-icon-group.cjs.entry.js +2 -8
- package/dist/cjs/biggive-image.cjs.entry.js +2 -20
- package/dist/cjs/biggive-quote.cjs.entry.js +2 -14
- package/dist/cjs/biggive-search.cjs.entry.js +7 -5
- package/dist/cjs/biggive-tab.cjs.entry.js +2 -5
- package/dist/cjs/biggive-tabbed-content.cjs.entry.js +2 -8
- package/dist/cjs/biggive-text-input.cjs.entry.js +1 -1
- package/dist/cjs/biggive-video.cjs.entry.js +2 -11
- package/dist/cjs/biggive.cjs.js +3 -3
- package/dist/cjs/{fontawesome-icons-110f532d.js → fontawesome-icons-f33263c4.js} +45 -55
- package/dist/cjs/index-1fa2bbc6.js +196 -0
- package/dist/cjs/{index-87518c3f.js → index-ecfc2713.js} +734 -495
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/collection/assets/images/biggive-triangle-green.svg +21 -0
- package/dist/collection/assets/images/cross.svg +11 -0
- package/dist/collection/assets/images/menu.svg +11 -0
- package/dist/collection/collection-manifest.json +4 -2
- package/dist/collection/components/biggive-article-card/biggive-article-card.css +24 -0
- package/dist/collection/components/biggive-article-card/biggive-article-card.js +214 -253
- package/dist/collection/components/biggive-back-to-top/biggive-back-to-top.css +24 -0
- package/dist/collection/components/biggive-back-to-top/biggive-back-to-top.js +12 -11
- package/dist/collection/components/biggive-basic-card/biggive-basic-card.css +24 -0
- package/dist/collection/components/biggive-basic-card/biggive-basic-card.js +214 -251
- package/dist/collection/components/biggive-basic-card/biggive-basic-card.stories.js +1 -1
- package/dist/collection/components/biggive-beneficiary-icon/biggive-beneficiary-icon.css +24 -0
- package/dist/collection/components/biggive-beneficiary-icon/biggive-beneficiary-icon.js +102 -116
- package/dist/collection/components/biggive-boxed-content/biggive-boxed-content.css +24 -0
- package/dist/collection/components/biggive-boxed-content/biggive-boxed-content.js +102 -112
- package/dist/collection/components/biggive-branded-image/biggive-branded-image.css +24 -0
- package/dist/collection/components/biggive-branded-image/biggive-branded-image.js +85 -96
- package/dist/collection/components/biggive-button/biggive-button.css +24 -0
- package/dist/collection/components/biggive-button/biggive-button.js +137 -153
- package/dist/collection/components/biggive-call-to-action/biggive-call-to-action.css +24 -0
- package/dist/collection/components/biggive-call-to-action/biggive-call-to-action.js +376 -440
- package/dist/collection/components/biggive-campaign-card/biggive-campaign-card.css +26 -0
- package/dist/collection/components/biggive-campaign-card/biggive-campaign-card.js +322 -385
- package/dist/collection/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.css +61 -0
- package/dist/collection/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.js +123 -124
- package/dist/collection/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.stories.js +6 -0
- package/dist/collection/components/biggive-campaign-highlights/biggive-campaign-highlights.css +24 -0
- package/dist/collection/components/biggive-campaign-highlights/biggive-campaign-highlights.js +238 -292
- package/dist/collection/components/biggive-category-icon/biggive-category-icon.css +24 -0
- package/dist/collection/components/biggive-category-icon/biggive-category-icon.js +102 -116
- package/dist/collection/components/biggive-footer/biggive-footer.css +58 -1
- package/dist/collection/components/biggive-footer/biggive-footer.js +15 -39
- package/dist/collection/components/biggive-footer/biggive-footer.stories.js +8 -1
- package/dist/collection/components/biggive-form/biggive-form.js +12 -9
- package/dist/collection/components/biggive-form-field-select/biggive-form-field-select.css +557 -0
- package/dist/collection/components/biggive-form-field-select/biggive-form-field-select.js +95 -9
- package/dist/collection/components/biggive-form-field-select/biggive-form-field-select.stories.js +9 -0
- package/dist/collection/components/biggive-form-field-select-option/biggive-form-field-select-option.css +520 -0
- package/dist/collection/components/biggive-form-field-select-option/biggive-form-field-select-option.js +94 -0
- package/dist/collection/components/biggive-form-field-select-option/biggive-form-field-select-option.stories.js +23 -0
- package/dist/collection/components/biggive-form-field-text-input/biggive-text-input.js +12 -9
- package/dist/collection/components/biggive-formatted-text/biggive-formatted-text.css +24 -0
- package/dist/collection/components/biggive-formatted-text/biggive-formatted-text.js +51 -52
- package/dist/collection/components/biggive-grid/biggive-grid.css +39 -0
- package/dist/collection/components/biggive-grid/biggive-grid.js +68 -72
- package/dist/collection/components/biggive-header/biggive-header.css +94 -2
- package/dist/collection/components/biggive-header/biggive-header.js +64 -69
- package/dist/collection/components/biggive-header/biggive-header.stories.js +2 -1
- package/dist/collection/components/biggive-heading/biggive-heading.css +24 -0
- package/dist/collection/components/biggive-heading/biggive-heading.js +136 -152
- package/dist/collection/components/biggive-hero-image/biggive-hero-image.css +48 -11
- package/dist/collection/components/biggive-hero-image/biggive-hero-image.js +240 -283
- package/dist/collection/components/biggive-icon-group/biggive-icon-group.css +24 -0
- package/dist/collection/components/biggive-icon-group/biggive-icon-group.js +51 -54
- package/dist/collection/components/biggive-image/biggive-image.css +24 -0
- package/dist/collection/components/biggive-image/biggive-image.js +119 -133
- package/dist/collection/components/biggive-image-feature/biggive-image-feature.css +43 -5
- package/dist/collection/components/biggive-image-feature/biggive-image-feature.js +232 -270
- package/dist/collection/components/biggive-misc-icon/biggive-misc-icon.css +24 -0
- package/dist/collection/components/biggive-misc-icon/biggive-misc-icon.js +85 -94
- package/dist/collection/components/biggive-page-column/biggive-page-column.css +506 -1
- package/dist/collection/components/biggive-page-column/biggive-page-column.js +11 -7
- package/dist/collection/components/biggive-page-columns/biggive-page-columns.css +34 -1
- package/dist/collection/components/biggive-page-columns/biggive-page-columns.js +34 -36
- package/dist/collection/components/biggive-page-section/biggive-page-section.css +24 -0
- package/dist/collection/components/biggive-page-section/biggive-page-section.js +85 -93
- package/dist/collection/components/biggive-popup/biggive-popup.css +547 -0
- package/dist/collection/components/biggive-popup/biggive-popup.js +47 -0
- package/dist/collection/components/biggive-popup/biggive-popup.stories.js +8 -0
- package/dist/collection/components/biggive-progress-bar/biggive-progress-bar.css +24 -0
- package/dist/collection/components/biggive-progress-bar/biggive-progress-bar.js +68 -76
- package/dist/collection/components/biggive-quote/biggive-quote.css +24 -0
- package/dist/collection/components/biggive-quote/biggive-quote.js +85 -93
- package/dist/collection/components/biggive-search/biggive-search.css +24 -0
- package/dist/collection/components/biggive-search/biggive-search.js +74 -74
- package/dist/collection/components/biggive-social-icon/biggive-social-icon.css +24 -0
- package/dist/collection/components/biggive-social-icon/biggive-social-icon.js +85 -94
- package/dist/collection/components/biggive-tab/biggive-tab.css +24 -0
- package/dist/collection/components/biggive-tab/biggive-tab.js +34 -34
- package/dist/collection/components/biggive-tabbed-content/biggive-tabbed-content.css +24 -0
- package/dist/collection/components/biggive-tabbed-content/biggive-tabbed-content.js +51 -52
- package/dist/collection/components/biggive-totalizer/biggive-totalizer.css +33 -1
- package/dist/collection/components/biggive-totalizer/biggive-totalizer.js +178 -208
- package/dist/collection/components/biggive-video/biggive-video.css +24 -0
- package/dist/collection/components/biggive-video/biggive-video.js +68 -72
- package/dist/collection/components/biggive-video-feature/biggive-video-feature.css +43 -5
- package/dist/collection/components/biggive-video-feature/biggive-video-feature.js +238 -278
- package/dist/components/biggive-article-card.js +1 -34
- package/dist/components/biggive-back-to-top.js +1 -1
- package/dist/components/biggive-basic-card.js +1 -34
- package/dist/components/biggive-beneficiary-icon.js +1 -16
- package/dist/components/biggive-boxed-content.js +1 -16
- package/dist/components/biggive-branded-image.js +1 -13
- package/dist/components/biggive-button2.js +2 -23
- package/dist/components/biggive-call-to-action.js +1 -61
- package/dist/components/biggive-campaign-card-filter-grid.js +55 -22
- package/dist/components/biggive-campaign-card.js +2 -49
- package/dist/components/biggive-campaign-highlights.js +1 -40
- package/dist/components/biggive-category-icon.js +1 -16
- package/dist/components/biggive-footer.js +4 -10
- package/dist/components/biggive-form-field-select-option.d.ts +11 -0
- package/dist/components/biggive-form-field-select-option.js +6 -0
- package/dist/components/biggive-form-field-select-option2.js +46 -0
- package/dist/components/biggive-form-field-select.js +1 -28
- package/dist/components/biggive-form-field-select2.js +44 -0
- package/dist/components/biggive-formatted-text.js +1 -7
- package/dist/components/biggive-grid.js +1 -10
- package/dist/components/biggive-header.js +13 -8
- package/dist/components/biggive-heading.js +1 -22
- package/dist/components/biggive-hero-image.js +1 -40
- package/dist/components/biggive-icon-group.js +1 -7
- package/dist/components/biggive-image-feature.js +1 -37
- package/dist/components/biggive-image.js +1 -19
- package/dist/components/biggive-misc-icon2.js +1 -13
- package/dist/components/biggive-page-column.js +1 -1
- package/dist/components/biggive-page-columns.js +1 -4
- package/dist/components/biggive-page-section.js +1 -13
- package/dist/components/biggive-popup.d.ts +11 -0
- package/dist/components/biggive-popup.js +6 -0
- package/dist/components/biggive-popup2.js +41 -0
- package/dist/components/biggive-progress-bar2.js +1 -10
- package/dist/components/biggive-quote.js +1 -13
- package/dist/components/biggive-search.js +5 -3
- package/dist/components/biggive-social-icon.js +41 -1
- package/dist/components/biggive-tab.js +1 -4
- package/dist/components/biggive-tabbed-content.js +1 -7
- package/dist/components/biggive-totalizer.js +1 -28
- package/dist/components/biggive-video-feature.js +1 -40
- package/dist/components/biggive-video.js +1 -10
- package/dist/components/fontawesome-icons.js +11 -21
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +2 -0
- package/dist/components/index2.js +164 -0
- package/dist/esm/biggive-article-card.entry.js +2 -35
- package/dist/esm/biggive-back-to-top_23.entry.js +599 -0
- package/dist/esm/biggive-basic-card.entry.js +2 -35
- package/dist/esm/biggive-beneficiary-icon.entry.js +4 -19
- package/dist/esm/biggive-boxed-content.entry.js +2 -17
- package/dist/esm/biggive-branded-image.entry.js +2 -14
- package/dist/esm/biggive-category-icon.entry.js +4 -19
- package/dist/esm/biggive-form.entry.js +1 -1
- package/dist/esm/biggive-formatted-text.entry.js +2 -8
- package/dist/esm/biggive-icon-group.entry.js +2 -8
- package/dist/esm/biggive-image.entry.js +2 -20
- package/dist/esm/biggive-quote.entry.js +2 -14
- package/dist/esm/biggive-search.entry.js +6 -4
- package/dist/esm/biggive-tab.entry.js +2 -5
- package/dist/esm/biggive-tabbed-content.entry.js +2 -8
- package/dist/esm/biggive-text-input.entry.js +1 -1
- package/dist/esm/biggive-video.entry.js +2 -11
- package/dist/esm/biggive.js +3 -3
- package/dist/esm/{fontawesome-icons-562459be.js → fontawesome-icons-ff9155ca.js} +11 -21
- package/dist/esm/index-7cfe62c2.js +164 -0
- package/dist/esm/{index-4395d470.js → index-b3c47751.js} +734 -495
- package/dist/esm/loader.js +3 -3
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/types/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.d.ts +2 -6
- package/dist/types/components/biggive-form-field-select/biggive-form-field-select.d.ts +17 -0
- package/dist/types/components/biggive-form-field-select/biggive-form-field-select.stories.d.ts +5 -0
- package/dist/types/components/biggive-form-field-select-option/biggive-form-field-select-option.d.ts +20 -0
- package/dist/types/components/biggive-form-field-select-option/biggive-form-field-select-option.stories.d.ts +13 -0
- package/dist/types/components/biggive-header/biggive-header.d.ts +1 -0
- package/dist/types/components/biggive-popup/biggive-popup.d.ts +6 -0
- package/dist/types/components/biggive-popup/biggive-popup.stories.d.ts +5 -0
- package/dist/types/components.d.ts +73 -6
- package/dist/types/stencil-public-runtime.d.ts +20 -4
- package/hydrate/index.d.ts +1 -1
- package/hydrate/index.js +1133 -1561
- package/loader/package.json +1 -0
- package/package.json +4 -2
- package/dist/biggive/p-07962fc5.entry.js +0 -1
- package/dist/biggive/p-1024263c.entry.js +0 -1
- package/dist/biggive/p-1805f9ab.js +0 -2
- package/dist/biggive/p-1b78efa0.entry.js +0 -1
- package/dist/biggive/p-5dbda89c.entry.js +0 -1
- package/dist/biggive/p-5f1b0106.entry.js +0 -1
- package/dist/biggive/p-6326f936.entry.js +0 -1
- package/dist/biggive/p-72a6f0a8.entry.js +0 -1
- package/dist/biggive/p-74b5d4c7.entry.js +0 -1
- package/dist/biggive/p-7eee1e58.entry.js +0 -1
- package/dist/biggive/p-871707f4.js +0 -6
- package/dist/biggive/p-8f605036.entry.js +0 -1
- package/dist/biggive/p-9125d753.entry.js +0 -1
- package/dist/biggive/p-bdb476eb.entry.js +0 -1
- package/dist/biggive/p-c9aaa5c3.entry.js +0 -1
- package/dist/biggive/p-df6daa79.entry.js +0 -1
- package/dist/biggive/p-ec9b42b3.js +0 -6
- package/dist/biggive/p-f9388477.entry.js +0 -1
- package/dist/biggive/p-f98681a5.entry.js +0 -1
- package/dist/biggive/p-faa6817c.entry.js +0 -1
- package/dist/cjs/biggive-back-to-top_20.cjs.entry.js +0 -923
- package/dist/cjs/biggive-form-field-select.cjs.entry.js +0 -19
- package/dist/cjs/index.es-d3570170.js +0 -201
- package/dist/components/biggive-social-icon2.js +0 -55
- package/dist/components/index.es.js +0 -169
- package/dist/esm/biggive-back-to-top_20.entry.js +0 -900
- package/dist/esm/biggive-form-field-select.entry.js +0 -15
- package/dist/esm/index.es-5777380a.js +0 -169
|
@@ -1,26 +1,11 @@
|
|
|
1
|
-
import {
|
|
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() {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
"
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
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
|
-
"
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
"
|
|
112
|
-
|
|
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
|
-
"
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
"
|
|
123
|
-
"
|
|
124
|
-
"
|
|
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
|
-
"
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
"
|
|
130
|
-
|
|
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
|
-
"
|
|
133
|
-
|
|
134
|
-
|
|
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 {
|
|
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() {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
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 {
|
|
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() {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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
|
}
|