@biggive/components 1.0.96 → 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 +20 -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 +20 -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 +20 -0
- package/dist/collection/components/biggive-basic-card/biggive-basic-card.js +214 -251
- package/dist/collection/components/biggive-beneficiary-icon/biggive-beneficiary-icon.css +20 -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 +20 -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 +20 -0
- package/dist/collection/components/biggive-branded-image/biggive-branded-image.js +85 -96
- package/dist/collection/components/biggive-button/biggive-button.css +20 -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 +20 -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 +22 -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 +57 -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 +20 -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 +20 -0
- package/dist/collection/components/biggive-category-icon/biggive-category-icon.js +102 -116
- package/dist/collection/components/biggive-footer/biggive-footer.css +54 -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 +20 -0
- package/dist/collection/components/biggive-formatted-text/biggive-formatted-text.js +51 -52
- package/dist/collection/components/biggive-grid/biggive-grid.css +35 -0
- package/dist/collection/components/biggive-grid/biggive-grid.js +68 -72
- package/dist/collection/components/biggive-header/biggive-header.css +90 -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 +20 -0
- package/dist/collection/components/biggive-heading/biggive-heading.js +136 -152
- package/dist/collection/components/biggive-hero-image/biggive-hero-image.css +44 -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 +20 -0
- package/dist/collection/components/biggive-icon-group/biggive-icon-group.js +51 -54
- package/dist/collection/components/biggive-image/biggive-image.css +20 -0
- package/dist/collection/components/biggive-image/biggive-image.js +119 -133
- package/dist/collection/components/biggive-image-feature/biggive-image-feature.css +39 -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 +20 -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 +30 -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 +20 -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 +20 -0
- package/dist/collection/components/biggive-progress-bar/biggive-progress-bar.js +68 -76
- package/dist/collection/components/biggive-quote/biggive-quote.css +20 -0
- package/dist/collection/components/biggive-quote/biggive-quote.js +85 -93
- package/dist/collection/components/biggive-search/biggive-search.css +20 -0
- package/dist/collection/components/biggive-search/biggive-search.js +74 -74
- package/dist/collection/components/biggive-social-icon/biggive-social-icon.css +20 -0
- package/dist/collection/components/biggive-social-icon/biggive-social-icon.js +85 -94
- package/dist/collection/components/biggive-tab/biggive-tab.css +20 -0
- package/dist/collection/components/biggive-tab/biggive-tab.js +34 -34
- package/dist/collection/components/biggive-tabbed-content/biggive-tabbed-content.css +20 -0
- package/dist/collection/components/biggive-tabbed-content/biggive-tabbed-content.js +51 -52
- package/dist/collection/components/biggive-totalizer/biggive-totalizer.css +29 -1
- package/dist/collection/components/biggive-totalizer/biggive-totalizer.js +178 -208
- package/dist/collection/components/biggive-video/biggive-video.css +20 -0
- package/dist/collection/components/biggive-video/biggive-video.js +68 -72
- package/dist/collection/components/biggive-video-feature/biggive-video-feature.css +39 -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-10ba977a.entry.js +0 -1
- package/dist/biggive/p-114fac7c.entry.js +0 -1
- package/dist/biggive/p-1788f27c.entry.js +0 -1
- package/dist/biggive/p-1805f9ab.js +0 -2
- package/dist/biggive/p-1bf2e39d.entry.js +0 -1
- package/dist/biggive/p-26de9586.entry.js +0 -1
- package/dist/biggive/p-3116f3df.entry.js +0 -1
- package/dist/biggive/p-4368caaa.entry.js +0 -1
- package/dist/biggive/p-512c15ed.entry.js +0 -1
- package/dist/biggive/p-78406754.entry.js +0 -1
- package/dist/biggive/p-871707f4.js +0 -6
- package/dist/biggive/p-9125d753.entry.js +0 -1
- package/dist/biggive/p-96ddb8d1.entry.js +0 -1
- package/dist/biggive/p-a423663d.entry.js +0 -1
- package/dist/biggive/p-afde0b4b.entry.js +0 -1
- package/dist/biggive/p-b15292fe.entry.js +0 -1
- package/dist/biggive/p-ec9b42b3.js +0 -6
- package/dist/biggive/p-faa619ad.entry.js +0 -1
- package/dist/biggive/p-faa6817c.entry.js +0 -1
- package/dist/biggive/p-fb8447d1.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
package/dist/collection/components/biggive-campaign-highlights/biggive-campaign-highlights.js
CHANGED
|
@@ -1,57 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h } from '@stencil/core';
|
|
2
2
|
export class BiggiveCampaignHighlights {
|
|
3
3
|
constructor() {
|
|
4
|
-
/**
|
|
5
|
-
* Space below component
|
|
6
|
-
*/
|
|
7
4
|
this.spaceBelow = 0;
|
|
8
|
-
/**
|
|
9
|
-
* Full URL of a banner image.
|
|
10
|
-
*/
|
|
11
5
|
this.banner = '';
|
|
12
|
-
/**
|
|
13
|
-
* Display name of the charity's specific time-bound fundraising campaign.
|
|
14
|
-
*/
|
|
15
6
|
this.campaignTitle = null;
|
|
16
|
-
/**
|
|
17
|
-
* e.g. 'GBP'.
|
|
18
|
-
*/
|
|
19
7
|
this.currencyCode = 'GBP';
|
|
20
|
-
/**
|
|
21
|
-
* Label for the primary figure
|
|
22
|
-
*/
|
|
23
8
|
this.primaryFigureLabel = null;
|
|
24
|
-
/**
|
|
25
|
-
* Amount for the primary figure
|
|
26
|
-
*/
|
|
27
9
|
this.primaryFigureAmount = null;
|
|
28
|
-
/**
|
|
29
|
-
* Label for the secondary figure
|
|
30
|
-
*/
|
|
31
10
|
this.secondaryFigureLabel = null;
|
|
32
|
-
/**
|
|
33
|
-
* Amount for the secondary figure
|
|
34
|
-
*/
|
|
35
11
|
this.secondaryFigureAmount = null;
|
|
36
|
-
/**
|
|
37
|
-
* Progress bar percentage
|
|
38
|
-
*/
|
|
39
12
|
this.progressBarCounter = 100;
|
|
40
|
-
/**
|
|
41
|
-
* Primary stat icon
|
|
42
|
-
*/
|
|
43
13
|
this.primaryStatIcon = null;
|
|
44
|
-
/**
|
|
45
|
-
* Primary stat text
|
|
46
|
-
*/
|
|
47
14
|
this.primaryStatText = null;
|
|
48
|
-
/**
|
|
49
|
-
* Secondary stat icon
|
|
50
|
-
*/
|
|
51
15
|
this.secondaryStatIcon = null;
|
|
52
|
-
/**
|
|
53
|
-
* Secondary stat text
|
|
54
|
-
*/
|
|
55
16
|
this.secondaryStatText = null;
|
|
56
17
|
}
|
|
57
18
|
/**
|
|
@@ -69,271 +30,256 @@ export class BiggiveCampaignHighlights {
|
|
|
69
30
|
}).format(amount);
|
|
70
31
|
}
|
|
71
32
|
render() {
|
|
72
|
-
return (h("div", { class: 'container space-below-' + this.spaceBelow },
|
|
73
|
-
h("div", { class: "sleeve" },
|
|
74
|
-
this.campaignTitle != null ? (h("div", { class: "campaign-title" },
|
|
75
|
-
h("span", null, this.campaignTitle))) : null,
|
|
76
|
-
this.banner.length > 0 ? (h("div", { class: "image-wrap banner", style: { 'background-image': 'url(' + this.banner + ')' } },
|
|
77
|
-
h("img", { src: this.banner, class: "banner" }))) : null,
|
|
78
|
-
h("div", { class: "meta-wrap" },
|
|
79
|
-
h("div", { class: "meta-item" },
|
|
80
|
-
h("span", { class: "label" }, this.primaryFigureLabel),
|
|
81
|
-
h("span", { class: "text" }, this.formatCurrency(this.currencyCode, this.primaryFigureAmount))),
|
|
82
|
-
h("div", { class: "meta-item" },
|
|
83
|
-
h("span", { class: "label" }, this.secondaryFigureLabel),
|
|
84
|
-
h("span", { class: "text" }, this.formatCurrency(this.currencyCode, this.secondaryFigureAmount)))),
|
|
85
|
-
h("div", { class: "progress-bar-wrap" },
|
|
86
|
-
h("biggive-progress-bar", { counter: this.progressBarCounter, "colour-scheme": "primary" })),
|
|
87
|
-
h("div", { class: "stat-wrap" },
|
|
88
|
-
this.primaryStatIcon != null ? (h("div", { class: "stat-item" },
|
|
89
|
-
h("biggive-misc-icon", { icon: this.primaryStatIcon, "background-colour": "white", "icon-colour": "tertiary" }),
|
|
90
|
-
h("span", { class: "label" }, this.primaryStatText))) : null,
|
|
91
|
-
this.secondaryStatIcon != null ? (h("div", { class: "stat-item" },
|
|
92
|
-
h("biggive-misc-icon", { icon: this.secondaryStatIcon, "background-colour": "white", "icon-colour": "tertiary" }),
|
|
93
|
-
h("span", { class: "label" }, this.secondaryStatText))) : null))));
|
|
33
|
+
return (h("div", { class: 'container space-below-' + this.spaceBelow }, h("div", { class: "sleeve" }, this.campaignTitle != null ? (h("div", { class: "campaign-title" }, h("span", null, this.campaignTitle))) : null, this.banner.length > 0 ? (h("div", { class: "image-wrap banner", style: { 'background-image': 'url(' + this.banner + ')' } }, h("img", { src: this.banner, class: "banner" }))) : null, h("div", { class: "meta-wrap" }, h("div", { class: "meta-item" }, h("span", { class: "label" }, this.primaryFigureLabel), h("span", { class: "text" }, this.formatCurrency(this.currencyCode, this.primaryFigureAmount))), h("div", { class: "meta-item" }, h("span", { class: "label" }, this.secondaryFigureLabel), h("span", { class: "text" }, this.formatCurrency(this.currencyCode, this.secondaryFigureAmount)))), h("div", { class: "progress-bar-wrap" }, h("biggive-progress-bar", { counter: this.progressBarCounter, "colour-scheme": "primary" })), h("div", { class: "stat-wrap" }, this.primaryStatIcon != null ? (h("div", { class: "stat-item" }, h("biggive-misc-icon", { icon: this.primaryStatIcon, "background-colour": "white", "icon-colour": "tertiary" }), h("span", { class: "label" }, this.primaryStatText))) : null, this.secondaryStatIcon != null ? (h("div", { class: "stat-item" }, h("biggive-misc-icon", { icon: this.secondaryStatIcon, "background-colour": "white", "icon-colour": "tertiary" }), h("span", { class: "label" }, this.secondaryStatText))) : null))));
|
|
94
34
|
}
|
|
95
35
|
static get is() { return "biggive-campaign-highlights"; }
|
|
96
36
|
static get encapsulation() { return "shadow"; }
|
|
97
|
-
static get originalStyleUrls() {
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
"
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
"original": "string",
|
|
127
|
-
"resolved": "string",
|
|
128
|
-
"references": {}
|
|
129
|
-
},
|
|
130
|
-
"required": false,
|
|
131
|
-
"optional": false,
|
|
132
|
-
"docs": {
|
|
133
|
-
"tags": [],
|
|
134
|
-
"text": "Full URL of a banner image."
|
|
135
|
-
},
|
|
136
|
-
"attribute": "banner",
|
|
137
|
-
"reflect": false,
|
|
138
|
-
"defaultValue": "''"
|
|
139
|
-
},
|
|
140
|
-
"campaignTitle": {
|
|
141
|
-
"type": "string",
|
|
142
|
-
"mutable": false,
|
|
143
|
-
"complexType": {
|
|
144
|
-
"original": "string",
|
|
145
|
-
"resolved": "string",
|
|
146
|
-
"references": {}
|
|
147
|
-
},
|
|
148
|
-
"required": false,
|
|
149
|
-
"optional": false,
|
|
150
|
-
"docs": {
|
|
151
|
-
"tags": [],
|
|
152
|
-
"text": "Display name of the charity's specific time-bound fundraising campaign."
|
|
153
|
-
},
|
|
154
|
-
"attribute": "campaign-title",
|
|
155
|
-
"reflect": false,
|
|
156
|
-
"defaultValue": "null"
|
|
157
|
-
},
|
|
158
|
-
"currencyCode": {
|
|
159
|
-
"type": "string",
|
|
160
|
-
"mutable": false,
|
|
161
|
-
"complexType": {
|
|
162
|
-
"original": "string",
|
|
163
|
-
"resolved": "string",
|
|
164
|
-
"references": {}
|
|
165
|
-
},
|
|
166
|
-
"required": false,
|
|
167
|
-
"optional": false,
|
|
168
|
-
"docs": {
|
|
169
|
-
"tags": [],
|
|
170
|
-
"text": "e.g. 'GBP'."
|
|
171
|
-
},
|
|
172
|
-
"attribute": "currency-code",
|
|
173
|
-
"reflect": false,
|
|
174
|
-
"defaultValue": "'GBP'"
|
|
175
|
-
},
|
|
176
|
-
"primaryFigureLabel": {
|
|
177
|
-
"type": "string",
|
|
178
|
-
"mutable": false,
|
|
179
|
-
"complexType": {
|
|
180
|
-
"original": "string",
|
|
181
|
-
"resolved": "string",
|
|
182
|
-
"references": {}
|
|
183
|
-
},
|
|
184
|
-
"required": false,
|
|
185
|
-
"optional": false,
|
|
186
|
-
"docs": {
|
|
187
|
-
"tags": [],
|
|
188
|
-
"text": "Label for the primary figure"
|
|
189
|
-
},
|
|
190
|
-
"attribute": "primary-figure-label",
|
|
191
|
-
"reflect": false,
|
|
192
|
-
"defaultValue": "null"
|
|
193
|
-
},
|
|
194
|
-
"primaryFigureAmount": {
|
|
195
|
-
"type": "number",
|
|
196
|
-
"mutable": false,
|
|
197
|
-
"complexType": {
|
|
198
|
-
"original": "number",
|
|
199
|
-
"resolved": "number",
|
|
200
|
-
"references": {}
|
|
201
|
-
},
|
|
202
|
-
"required": false,
|
|
203
|
-
"optional": false,
|
|
204
|
-
"docs": {
|
|
205
|
-
"tags": [],
|
|
206
|
-
"text": "Amount for the primary figure"
|
|
207
|
-
},
|
|
208
|
-
"attribute": "primary-figure-amount",
|
|
209
|
-
"reflect": false,
|
|
210
|
-
"defaultValue": "null"
|
|
211
|
-
},
|
|
212
|
-
"secondaryFigureLabel": {
|
|
213
|
-
"type": "string",
|
|
214
|
-
"mutable": false,
|
|
215
|
-
"complexType": {
|
|
216
|
-
"original": "string",
|
|
217
|
-
"resolved": "string",
|
|
218
|
-
"references": {}
|
|
219
|
-
},
|
|
220
|
-
"required": false,
|
|
221
|
-
"optional": false,
|
|
222
|
-
"docs": {
|
|
223
|
-
"tags": [],
|
|
224
|
-
"text": "Label for the secondary figure"
|
|
225
|
-
},
|
|
226
|
-
"attribute": "secondary-figure-label",
|
|
227
|
-
"reflect": false,
|
|
228
|
-
"defaultValue": "null"
|
|
229
|
-
},
|
|
230
|
-
"secondaryFigureAmount": {
|
|
231
|
-
"type": "number",
|
|
232
|
-
"mutable": false,
|
|
233
|
-
"complexType": {
|
|
234
|
-
"original": "number",
|
|
235
|
-
"resolved": "number",
|
|
236
|
-
"references": {}
|
|
37
|
+
static get originalStyleUrls() {
|
|
38
|
+
return {
|
|
39
|
+
"$": ["biggive-campaign-highlights.scss"]
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
static get styleUrls() {
|
|
43
|
+
return {
|
|
44
|
+
"$": ["biggive-campaign-highlights.css"]
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
static get properties() {
|
|
48
|
+
return {
|
|
49
|
+
"spaceBelow": {
|
|
50
|
+
"type": "number",
|
|
51
|
+
"mutable": false,
|
|
52
|
+
"complexType": {
|
|
53
|
+
"original": "number",
|
|
54
|
+
"resolved": "number",
|
|
55
|
+
"references": {}
|
|
56
|
+
},
|
|
57
|
+
"required": false,
|
|
58
|
+
"optional": false,
|
|
59
|
+
"docs": {
|
|
60
|
+
"tags": [],
|
|
61
|
+
"text": "Space below component"
|
|
62
|
+
},
|
|
63
|
+
"attribute": "space-below",
|
|
64
|
+
"reflect": false,
|
|
65
|
+
"defaultValue": "0"
|
|
237
66
|
},
|
|
238
|
-
"
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
"
|
|
242
|
-
|
|
67
|
+
"banner": {
|
|
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": "Full URL of a banner image."
|
|
80
|
+
},
|
|
81
|
+
"attribute": "banner",
|
|
82
|
+
"reflect": false,
|
|
83
|
+
"defaultValue": "''"
|
|
243
84
|
},
|
|
244
|
-
"
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
"
|
|
253
|
-
"
|
|
254
|
-
"
|
|
85
|
+
"campaignTitle": {
|
|
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": "Display name of the charity's specific time-bound fundraising campaign."
|
|
98
|
+
},
|
|
99
|
+
"attribute": "campaign-title",
|
|
100
|
+
"reflect": false,
|
|
101
|
+
"defaultValue": "null"
|
|
255
102
|
},
|
|
256
|
-
"
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
"
|
|
260
|
-
|
|
103
|
+
"currencyCode": {
|
|
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": "e.g. 'GBP'."
|
|
116
|
+
},
|
|
117
|
+
"attribute": "currency-code",
|
|
118
|
+
"reflect": false,
|
|
119
|
+
"defaultValue": "'GBP'"
|
|
261
120
|
},
|
|
262
|
-
"
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
"
|
|
271
|
-
"
|
|
272
|
-
"
|
|
121
|
+
"primaryFigureLabel": {
|
|
122
|
+
"type": "string",
|
|
123
|
+
"mutable": false,
|
|
124
|
+
"complexType": {
|
|
125
|
+
"original": "string",
|
|
126
|
+
"resolved": "string",
|
|
127
|
+
"references": {}
|
|
128
|
+
},
|
|
129
|
+
"required": false,
|
|
130
|
+
"optional": false,
|
|
131
|
+
"docs": {
|
|
132
|
+
"tags": [],
|
|
133
|
+
"text": "Label for the primary figure"
|
|
134
|
+
},
|
|
135
|
+
"attribute": "primary-figure-label",
|
|
136
|
+
"reflect": false,
|
|
137
|
+
"defaultValue": "null"
|
|
273
138
|
},
|
|
274
|
-
"
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
"
|
|
278
|
-
|
|
139
|
+
"primaryFigureAmount": {
|
|
140
|
+
"type": "number",
|
|
141
|
+
"mutable": false,
|
|
142
|
+
"complexType": {
|
|
143
|
+
"original": "number",
|
|
144
|
+
"resolved": "number",
|
|
145
|
+
"references": {}
|
|
146
|
+
},
|
|
147
|
+
"required": false,
|
|
148
|
+
"optional": false,
|
|
149
|
+
"docs": {
|
|
150
|
+
"tags": [],
|
|
151
|
+
"text": "Amount for the primary figure"
|
|
152
|
+
},
|
|
153
|
+
"attribute": "primary-figure-amount",
|
|
154
|
+
"reflect": false,
|
|
155
|
+
"defaultValue": "null"
|
|
279
156
|
},
|
|
280
|
-
"
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
"
|
|
289
|
-
"
|
|
290
|
-
"
|
|
157
|
+
"secondaryFigureLabel": {
|
|
158
|
+
"type": "string",
|
|
159
|
+
"mutable": false,
|
|
160
|
+
"complexType": {
|
|
161
|
+
"original": "string",
|
|
162
|
+
"resolved": "string",
|
|
163
|
+
"references": {}
|
|
164
|
+
},
|
|
165
|
+
"required": false,
|
|
166
|
+
"optional": false,
|
|
167
|
+
"docs": {
|
|
168
|
+
"tags": [],
|
|
169
|
+
"text": "Label for the secondary figure"
|
|
170
|
+
},
|
|
171
|
+
"attribute": "secondary-figure-label",
|
|
172
|
+
"reflect": false,
|
|
173
|
+
"defaultValue": "null"
|
|
291
174
|
},
|
|
292
|
-
"
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
"
|
|
296
|
-
|
|
175
|
+
"secondaryFigureAmount": {
|
|
176
|
+
"type": "number",
|
|
177
|
+
"mutable": false,
|
|
178
|
+
"complexType": {
|
|
179
|
+
"original": "number",
|
|
180
|
+
"resolved": "number",
|
|
181
|
+
"references": {}
|
|
182
|
+
},
|
|
183
|
+
"required": false,
|
|
184
|
+
"optional": false,
|
|
185
|
+
"docs": {
|
|
186
|
+
"tags": [],
|
|
187
|
+
"text": "Amount for the secondary figure"
|
|
188
|
+
},
|
|
189
|
+
"attribute": "secondary-figure-amount",
|
|
190
|
+
"reflect": false,
|
|
191
|
+
"defaultValue": "null"
|
|
297
192
|
},
|
|
298
|
-
"
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
"
|
|
307
|
-
"
|
|
308
|
-
"
|
|
193
|
+
"progressBarCounter": {
|
|
194
|
+
"type": "number",
|
|
195
|
+
"mutable": false,
|
|
196
|
+
"complexType": {
|
|
197
|
+
"original": "number",
|
|
198
|
+
"resolved": "number",
|
|
199
|
+
"references": {}
|
|
200
|
+
},
|
|
201
|
+
"required": false,
|
|
202
|
+
"optional": false,
|
|
203
|
+
"docs": {
|
|
204
|
+
"tags": [],
|
|
205
|
+
"text": "Progress bar percentage"
|
|
206
|
+
},
|
|
207
|
+
"attribute": "progress-bar-counter",
|
|
208
|
+
"reflect": false,
|
|
209
|
+
"defaultValue": "100"
|
|
309
210
|
},
|
|
310
|
-
"
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
"
|
|
314
|
-
|
|
211
|
+
"primaryStatIcon": {
|
|
212
|
+
"type": "string",
|
|
213
|
+
"mutable": false,
|
|
214
|
+
"complexType": {
|
|
215
|
+
"original": "string",
|
|
216
|
+
"resolved": "string",
|
|
217
|
+
"references": {}
|
|
218
|
+
},
|
|
219
|
+
"required": false,
|
|
220
|
+
"optional": false,
|
|
221
|
+
"docs": {
|
|
222
|
+
"tags": [],
|
|
223
|
+
"text": "Primary stat icon"
|
|
224
|
+
},
|
|
225
|
+
"attribute": "primary-stat-icon",
|
|
226
|
+
"reflect": false,
|
|
227
|
+
"defaultValue": "null"
|
|
315
228
|
},
|
|
316
|
-
"
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
"
|
|
325
|
-
"
|
|
326
|
-
"
|
|
229
|
+
"primaryStatText": {
|
|
230
|
+
"type": "string",
|
|
231
|
+
"mutable": false,
|
|
232
|
+
"complexType": {
|
|
233
|
+
"original": "string",
|
|
234
|
+
"resolved": "string",
|
|
235
|
+
"references": {}
|
|
236
|
+
},
|
|
237
|
+
"required": false,
|
|
238
|
+
"optional": false,
|
|
239
|
+
"docs": {
|
|
240
|
+
"tags": [],
|
|
241
|
+
"text": "Primary stat text"
|
|
242
|
+
},
|
|
243
|
+
"attribute": "primary-stat-text",
|
|
244
|
+
"reflect": false,
|
|
245
|
+
"defaultValue": "null"
|
|
327
246
|
},
|
|
328
|
-
"
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
"
|
|
332
|
-
|
|
247
|
+
"secondaryStatIcon": {
|
|
248
|
+
"type": "string",
|
|
249
|
+
"mutable": false,
|
|
250
|
+
"complexType": {
|
|
251
|
+
"original": "string",
|
|
252
|
+
"resolved": "string",
|
|
253
|
+
"references": {}
|
|
254
|
+
},
|
|
255
|
+
"required": false,
|
|
256
|
+
"optional": false,
|
|
257
|
+
"docs": {
|
|
258
|
+
"tags": [],
|
|
259
|
+
"text": "Secondary stat icon"
|
|
260
|
+
},
|
|
261
|
+
"attribute": "secondary-stat-icon",
|
|
262
|
+
"reflect": false,
|
|
263
|
+
"defaultValue": "null"
|
|
333
264
|
},
|
|
334
|
-
"
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
265
|
+
"secondaryStatText": {
|
|
266
|
+
"type": "string",
|
|
267
|
+
"mutable": false,
|
|
268
|
+
"complexType": {
|
|
269
|
+
"original": "string",
|
|
270
|
+
"resolved": "string",
|
|
271
|
+
"references": {}
|
|
272
|
+
},
|
|
273
|
+
"required": false,
|
|
274
|
+
"optional": false,
|
|
275
|
+
"docs": {
|
|
276
|
+
"tags": [],
|
|
277
|
+
"text": "Secondary stat text"
|
|
278
|
+
},
|
|
279
|
+
"attribute": "secondary-stat-text",
|
|
280
|
+
"reflect": false,
|
|
281
|
+
"defaultValue": "null"
|
|
282
|
+
}
|
|
283
|
+
};
|
|
284
|
+
}
|
|
339
285
|
}
|
|
@@ -218,6 +218,26 @@ a:hover {
|
|
|
218
218
|
background-color: #FFFFFF;
|
|
219
219
|
}
|
|
220
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
|
+
|
|
221
241
|
.button-clear-primary {
|
|
222
242
|
color: #2C089B;
|
|
223
243
|
background-color: transparent;
|