@biggive/components 1.0.191 → 1.0.193
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/biggive.esm.js +1 -1
- package/dist/biggive/p-05b285de.entry.js +1 -0
- package/dist/biggive/p-1237d29c.entry.js +1 -0
- package/dist/biggive/{p-81055ccd.js → p-2b1627af.js} +1 -1
- package/dist/biggive/p-623e065e.entry.js +1 -0
- package/dist/biggive/p-7d24b098.entry.js +1 -0
- package/dist/biggive/p-8a87012a.entry.js +1 -0
- package/dist/biggive/p-c3ddd884.entry.js +1 -0
- package/dist/biggive/p-eacc1d69.entry.js +1 -0
- package/dist/biggive/p-ffd638d8.entry.js +1 -0
- package/dist/cjs/biggive-article-card.cjs.entry.js +8 -8
- package/dist/cjs/biggive-back-to-top_27.cjs.entry.js +77 -71
- package/dist/cjs/biggive-basic-card.cjs.entry.js +5 -5
- package/dist/cjs/biggive-beneficiary-icon.cjs.entry.js +2 -2
- package/dist/cjs/biggive-category-icon.cjs.entry.js +3 -3
- package/dist/cjs/biggive-icon-group.cjs.entry.js +1 -1
- package/dist/cjs/biggive-nav-item.cjs.entry.js +3 -3
- package/dist/cjs/biggive-search.cjs.entry.js +1 -1
- package/dist/cjs/{fontawesome-icons-560e6ab7.js → fontawesome-icons-72c728f1.js} +4 -4
- package/dist/collection/components/biggive-article-card/biggive-article-card.js +16 -24
- package/dist/collection/components/biggive-basic-card/biggive-basic-card.js +10 -15
- package/dist/collection/components/biggive-beneficiary-icon/biggive-beneficiary-icon.js +2 -3
- package/dist/collection/components/biggive-branded-image/biggive-branded-image.js +8 -12
- package/dist/collection/components/biggive-button/biggive-button.js +1 -2
- package/dist/collection/components/biggive-call-to-action/biggive-call-to-action.js +16 -24
- package/dist/collection/components/biggive-campaign-card/biggive-campaign-card.css +1 -1
- package/dist/collection/components/biggive-campaign-card/biggive-campaign-card.js +20 -30
- package/dist/collection/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.js +17 -15
- package/dist/collection/components/biggive-campaign-highlights/biggive-campaign-highlights.css +1 -1
- package/dist/collection/components/biggive-campaign-highlights/biggive-campaign-highlights.js +24 -36
- package/dist/collection/components/biggive-category-icon/biggive-category-icon.js +4 -6
- package/dist/collection/components/biggive-form-field-select/biggive-form-field-select.js +10 -13
- package/dist/collection/components/biggive-form-field-select-option/biggive-form-field-select-option.js +6 -8
- package/dist/collection/components/biggive-hero-image/biggive-hero-image.js +17 -25
- package/dist/collection/components/biggive-icon-group/biggive-icon-group.js +2 -3
- package/dist/collection/components/biggive-image-feature/biggive-image-feature.js +10 -15
- package/dist/collection/components/biggive-main-menu/biggive-main-menu.css +7 -1
- package/dist/collection/components/biggive-main-menu/biggive-main-menu.js +3 -2
- package/dist/collection/components/biggive-main-menu/biggive-main-menu.stories.js +1 -1
- package/dist/collection/components/biggive-misc-icon/biggive-misc-icon.js +3 -5
- package/dist/collection/components/biggive-nav-item/biggive-nav-item.js +6 -9
- package/dist/collection/components/biggive-page-section/biggive-page-section.js +2 -3
- package/dist/collection/components/biggive-search/biggive-search.js +2 -3
- package/dist/collection/components/biggive-totalizer/biggive-totalizer.js +5 -3
- package/dist/collection/components/biggive-totalizer-ticker-item/biggive-totalizer-ticker-item.js +4 -6
- package/dist/collection/components/biggive-video-feature/biggive-video-feature.js +10 -15
- package/dist/collection/util/fontawesome-icons.js +4 -4
- package/dist/components/biggive-article-card.js +8 -8
- package/dist/components/biggive-basic-card.js +5 -5
- package/dist/components/biggive-beneficiary-icon.js +1 -1
- package/dist/components/biggive-branded-image.js +4 -4
- package/dist/components/biggive-call-to-action.js +8 -8
- package/dist/components/biggive-campaign-card-filter-grid.js +3 -1
- package/dist/components/biggive-campaign-card.js +11 -11
- package/dist/components/biggive-campaign-highlights.js +13 -13
- package/dist/components/biggive-category-icon.js +2 -2
- package/dist/components/biggive-form-field-select-option2.js +4 -4
- package/dist/components/biggive-form-field-select2.js +3 -3
- package/dist/components/biggive-hero-image.js +8 -8
- package/dist/components/biggive-icon-group.js +1 -1
- package/dist/components/biggive-image-feature.js +5 -5
- package/dist/components/biggive-main-menu.js +4 -3
- package/dist/components/biggive-misc-icon2.js +1 -1
- package/dist/components/biggive-nav-item.js +3 -3
- package/dist/components/biggive-page-section.js +1 -1
- package/dist/components/biggive-search.js +1 -1
- package/dist/components/biggive-totalizer-ticker-item.js +2 -2
- package/dist/components/biggive-totalizer.js +4 -1
- package/dist/components/biggive-video-feature.js +5 -5
- package/dist/components/fontawesome-icons.js +4 -4
- package/dist/esm/biggive-article-card.entry.js +8 -8
- package/dist/esm/biggive-back-to-top_27.entry.js +77 -71
- package/dist/esm/biggive-basic-card.entry.js +5 -5
- package/dist/esm/biggive-beneficiary-icon.entry.js +2 -2
- package/dist/esm/biggive-category-icon.entry.js +3 -3
- package/dist/esm/biggive-icon-group.entry.js +1 -1
- package/dist/esm/biggive-nav-item.entry.js +3 -3
- package/dist/esm/biggive-search.entry.js +1 -1
- package/dist/esm/{fontawesome-icons-0af46a96.js → fontawesome-icons-ec5d0760.js} +4 -4
- package/dist/types/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.d.ts +12 -12
- package/dist/types/components/biggive-form-field-select/biggive-form-field-select.d.ts +2 -2
- package/dist/types/components/biggive-form-field-select-option/biggive-form-field-select-option.d.ts +2 -2
- package/dist/types/components.d.ts +22 -22
- package/hydrate/index.js +101 -95
- package/package.json +1 -1
- package/dist/biggive/p-0bad0e6e.entry.js +0 -1
- package/dist/biggive/p-6a43e041.entry.js +0 -1
- package/dist/biggive/p-6f5fc921.entry.js +0 -1
- package/dist/biggive/p-72317053.entry.js +0 -1
- package/dist/biggive/p-b325f8ac.entry.js +0 -1
- package/dist/biggive/p-b892b1d6.entry.js +0 -1
- package/dist/biggive/p-ee001f1e.entry.js +0 -1
- package/dist/biggive/p-ee8d5a11.entry.js +0 -1
|
@@ -4,7 +4,7 @@ export class BiggiveMiscIcon {
|
|
|
4
4
|
constructor() {
|
|
5
5
|
this.backgroundColour = 'primary';
|
|
6
6
|
this.iconColour = 'white';
|
|
7
|
-
this.icon =
|
|
7
|
+
this.icon = undefined;
|
|
8
8
|
this.url = undefined;
|
|
9
9
|
}
|
|
10
10
|
getMiscIcon() {
|
|
@@ -80,8 +80,7 @@ export class BiggiveMiscIcon {
|
|
|
80
80
|
"text": "Icon"
|
|
81
81
|
},
|
|
82
82
|
"attribute": "icon",
|
|
83
|
-
"reflect": false
|
|
84
|
-
"defaultValue": "null"
|
|
83
|
+
"reflect": false
|
|
85
84
|
},
|
|
86
85
|
"url": {
|
|
87
86
|
"type": "string",
|
|
@@ -98,8 +97,7 @@ export class BiggiveMiscIcon {
|
|
|
98
97
|
"text": "Url"
|
|
99
98
|
},
|
|
100
99
|
"attribute": "url",
|
|
101
|
-
"reflect": false
|
|
102
|
-
"defaultValue": "undefined"
|
|
100
|
+
"reflect": false
|
|
103
101
|
}
|
|
104
102
|
};
|
|
105
103
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { h } from '@stencil/core';
|
|
2
2
|
export class BiggiveNavItem {
|
|
3
3
|
constructor() {
|
|
4
|
-
this.url =
|
|
5
|
-
this.label =
|
|
6
|
-
this.iconColour =
|
|
4
|
+
this.url = undefined;
|
|
5
|
+
this.label = undefined;
|
|
6
|
+
this.iconColour = undefined;
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
9
|
return (h("li", { class: 'icon-' + this.iconColour }, h("a", { href: this.url }, this.label), h("slot", null)));
|
|
@@ -37,8 +37,7 @@ export class BiggiveNavItem {
|
|
|
37
37
|
"text": "URL"
|
|
38
38
|
},
|
|
39
39
|
"attribute": "url",
|
|
40
|
-
"reflect": false
|
|
41
|
-
"defaultValue": "null"
|
|
40
|
+
"reflect": false
|
|
42
41
|
},
|
|
43
42
|
"label": {
|
|
44
43
|
"type": "string",
|
|
@@ -55,8 +54,7 @@ export class BiggiveNavItem {
|
|
|
55
54
|
"text": "Label"
|
|
56
55
|
},
|
|
57
56
|
"attribute": "label",
|
|
58
|
-
"reflect": false
|
|
59
|
-
"defaultValue": "null"
|
|
57
|
+
"reflect": false
|
|
60
58
|
},
|
|
61
59
|
"iconColour": {
|
|
62
60
|
"type": "string",
|
|
@@ -73,8 +71,7 @@ export class BiggiveNavItem {
|
|
|
73
71
|
"text": "URL"
|
|
74
72
|
},
|
|
75
73
|
"attribute": "icon-colour",
|
|
76
|
-
"reflect": false
|
|
77
|
-
"defaultValue": "null"
|
|
74
|
+
"reflect": false
|
|
78
75
|
}
|
|
79
76
|
};
|
|
80
77
|
}
|
|
@@ -4,7 +4,7 @@ export class BiggivePageSection {
|
|
|
4
4
|
this.spaceBelow = 0;
|
|
5
5
|
this.sectionStyleTop = 'straight';
|
|
6
6
|
this.sectionStyleBottom = 'straight';
|
|
7
|
-
this.colourScheme =
|
|
7
|
+
this.colourScheme = undefined;
|
|
8
8
|
this.maxWidth = 100;
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
@@ -102,8 +102,7 @@ export class BiggivePageSection {
|
|
|
102
102
|
"text": "Colour scheme"
|
|
103
103
|
},
|
|
104
104
|
"attribute": "colour-scheme",
|
|
105
|
-
"reflect": false
|
|
106
|
-
"defaultValue": "null"
|
|
105
|
+
"reflect": false
|
|
107
106
|
},
|
|
108
107
|
"maxWidth": {
|
|
109
108
|
"type": "number",
|
|
@@ -16,7 +16,7 @@ export class BigGiveSearch {
|
|
|
16
16
|
this.clearSearchText = () => {
|
|
17
17
|
this.searchText = '';
|
|
18
18
|
};
|
|
19
|
-
this.searchText =
|
|
19
|
+
this.searchText = undefined;
|
|
20
20
|
this.placeholderText = undefined;
|
|
21
21
|
this.buttonText = undefined;
|
|
22
22
|
}
|
|
@@ -52,8 +52,7 @@ export class BigGiveSearch {
|
|
|
52
52
|
"text": ""
|
|
53
53
|
},
|
|
54
54
|
"attribute": "search-text",
|
|
55
|
-
"reflect": false
|
|
56
|
-
"defaultValue": "null"
|
|
55
|
+
"reflect": false
|
|
57
56
|
},
|
|
58
57
|
"placeholderText": {
|
|
59
58
|
"type": "string",
|
|
@@ -6,16 +6,19 @@ export class BiggiveTotalizer {
|
|
|
6
6
|
this.primaryTextColour = 'white';
|
|
7
7
|
this.secondaryColour = 'secondary';
|
|
8
8
|
this.secondaryTextColour = 'black';
|
|
9
|
-
this.mainMessage =
|
|
9
|
+
this.mainMessage = undefined;
|
|
10
10
|
}
|
|
11
11
|
componentDidRender() {
|
|
12
|
+
// @ts-ignore
|
|
12
13
|
const tickerItemsInternalWrapper = this.host.querySelector(`[slot="ticker-items"]`);
|
|
13
14
|
if (tickerItemsInternalWrapper !== null && tickerItemsInternalWrapper !== undefined) {
|
|
14
15
|
tickerItemsInternalWrapper.style.display = 'inline-flex';
|
|
15
16
|
tickerItemsInternalWrapper.style.flex = 'none';
|
|
16
17
|
}
|
|
18
|
+
// @ts-ignore
|
|
17
19
|
const tickerWidth = this.host.shadowRoot.querySelector('.ticker-wrap .sleeve').clientWidth;
|
|
18
20
|
const duration = tickerWidth / 50;
|
|
21
|
+
// @ts-ignore
|
|
19
22
|
const sleeve = this.host.shadowRoot.querySelector('.ticker-wrap .sleeve');
|
|
20
23
|
sleeve.style.animationDuration = Math.round(duration) + 's';
|
|
21
24
|
}
|
|
@@ -141,8 +144,7 @@ export class BiggiveTotalizer {
|
|
|
141
144
|
"text": "Primary message"
|
|
142
145
|
},
|
|
143
146
|
"attribute": "main-message",
|
|
144
|
-
"reflect": false
|
|
145
|
-
"defaultValue": "null"
|
|
147
|
+
"reflect": false
|
|
146
148
|
}
|
|
147
149
|
};
|
|
148
150
|
}
|
package/dist/collection/components/biggive-totalizer-ticker-item/biggive-totalizer-ticker-item.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { h } from '@stencil/core';
|
|
2
2
|
export class BiggiveTotalizerTickerItem {
|
|
3
3
|
constructor() {
|
|
4
|
-
this.figure =
|
|
5
|
-
this.label =
|
|
4
|
+
this.figure = undefined;
|
|
5
|
+
this.label = undefined;
|
|
6
6
|
}
|
|
7
7
|
render() {
|
|
8
8
|
return (h("div", { class: "ticker-item" }, h("strong", null, this.figure), " ", this.label));
|
|
@@ -36,8 +36,7 @@ export class BiggiveTotalizerTickerItem {
|
|
|
36
36
|
"text": "Figure"
|
|
37
37
|
},
|
|
38
38
|
"attribute": "figure",
|
|
39
|
-
"reflect": false
|
|
40
|
-
"defaultValue": "null"
|
|
39
|
+
"reflect": false
|
|
41
40
|
},
|
|
42
41
|
"label": {
|
|
43
42
|
"type": "string",
|
|
@@ -54,8 +53,7 @@ export class BiggiveTotalizerTickerItem {
|
|
|
54
53
|
"text": "Figure"
|
|
55
54
|
},
|
|
56
55
|
"attribute": "label",
|
|
57
|
-
"reflect": false
|
|
58
|
-
"defaultValue": "null"
|
|
56
|
+
"reflect": false
|
|
59
57
|
}
|
|
60
58
|
};
|
|
61
59
|
}
|
|
@@ -6,14 +6,14 @@ export class BiggiveVideoFeature {
|
|
|
6
6
|
this.spaceBelow = 0;
|
|
7
7
|
this.defaultTextColour = 'primary';
|
|
8
8
|
this.videoUrl = '';
|
|
9
|
-
this.slug =
|
|
9
|
+
this.slug = undefined;
|
|
10
10
|
this.slugColour = '';
|
|
11
|
-
this.mainTitle =
|
|
11
|
+
this.mainTitle = undefined;
|
|
12
12
|
this.mainTitleColour = '';
|
|
13
|
-
this.teaser =
|
|
13
|
+
this.teaser = undefined;
|
|
14
14
|
this.teaserColour = '';
|
|
15
|
-
this.buttonUrl =
|
|
16
|
-
this.buttonLabel =
|
|
15
|
+
this.buttonUrl = undefined;
|
|
16
|
+
this.buttonLabel = undefined;
|
|
17
17
|
this.buttonColourScheme = 'primary';
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
@@ -120,8 +120,7 @@ export class BiggiveVideoFeature {
|
|
|
120
120
|
"text": "Slug"
|
|
121
121
|
},
|
|
122
122
|
"attribute": "slug",
|
|
123
|
-
"reflect": false
|
|
124
|
-
"defaultValue": "null"
|
|
123
|
+
"reflect": false
|
|
125
124
|
},
|
|
126
125
|
"slugColour": {
|
|
127
126
|
"type": "string",
|
|
@@ -156,8 +155,7 @@ export class BiggiveVideoFeature {
|
|
|
156
155
|
"text": "Video title"
|
|
157
156
|
},
|
|
158
157
|
"attribute": "main-title",
|
|
159
|
-
"reflect": false
|
|
160
|
-
"defaultValue": "null"
|
|
158
|
+
"reflect": false
|
|
161
159
|
},
|
|
162
160
|
"mainTitleColour": {
|
|
163
161
|
"type": "string",
|
|
@@ -192,8 +190,7 @@ export class BiggiveVideoFeature {
|
|
|
192
190
|
"text": "Introductory teaser text"
|
|
193
191
|
},
|
|
194
192
|
"attribute": "teaser",
|
|
195
|
-
"reflect": false
|
|
196
|
-
"defaultValue": "null"
|
|
193
|
+
"reflect": false
|
|
197
194
|
},
|
|
198
195
|
"teaserColour": {
|
|
199
196
|
"type": "string",
|
|
@@ -228,8 +225,7 @@ export class BiggiveVideoFeature {
|
|
|
228
225
|
"text": "Button Url"
|
|
229
226
|
},
|
|
230
227
|
"attribute": "button-url",
|
|
231
|
-
"reflect": false
|
|
232
|
-
"defaultValue": "null"
|
|
228
|
+
"reflect": false
|
|
233
229
|
},
|
|
234
230
|
"buttonLabel": {
|
|
235
231
|
"type": "string",
|
|
@@ -246,8 +242,7 @@ export class BiggiveVideoFeature {
|
|
|
246
242
|
"text": "Button Label"
|
|
247
243
|
},
|
|
248
244
|
"attribute": "button-label",
|
|
249
|
-
"reflect": false
|
|
250
|
-
"defaultValue": "null"
|
|
245
|
+
"reflect": false
|
|
251
246
|
},
|
|
252
247
|
"buttonColourScheme": {
|
|
253
248
|
"type": "string",
|
|
@@ -187,21 +187,21 @@ export class FontAwesomeIconsService {
|
|
|
187
187
|
static getBeneficiaryIcon(beneficiary) {
|
|
188
188
|
const matchingItems = FontAwesomeIconsService.getBeneficiaries().filter(ii => ii.name === beneficiary);
|
|
189
189
|
// For an unknown/invalid beneficiary, show 'other' symbol.
|
|
190
|
-
return matchingItems
|
|
190
|
+
return matchingItems[0] ? matchingItems[0].icon : faPlus;
|
|
191
191
|
}
|
|
192
192
|
static getMiscIcon(misc) {
|
|
193
193
|
const matchingItems = FontAwesomeIconsService.getMisc().filter(ii => ii.name === misc);
|
|
194
194
|
// For an unknown/invalid beneficiary, show 'other' symbol.
|
|
195
|
-
return matchingItems
|
|
195
|
+
return matchingItems[0] ? matchingItems[0].icon : faPlus;
|
|
196
196
|
}
|
|
197
197
|
static getSocialIcon(social) {
|
|
198
198
|
const matchingItems = FontAwesomeIconsService.getSocials().filter(ii => ii.name === social);
|
|
199
199
|
// For an unknown/invalid beneficiary, show 'other' symbol.
|
|
200
|
-
return matchingItems
|
|
200
|
+
return matchingItems[0] ? matchingItems[0].icon : faPlus;
|
|
201
201
|
}
|
|
202
202
|
static getCategoryIcon(category) {
|
|
203
203
|
const matchingItems = FontAwesomeIconsService.getCategories().filter(ii => ii.name === category);
|
|
204
204
|
// For an unknown/invalid category, show 'other' symbol.
|
|
205
|
-
return matchingItems
|
|
205
|
+
return matchingItems[0] ? matchingItems[0].icon : faPlus;
|
|
206
206
|
}
|
|
207
207
|
}
|
|
@@ -12,14 +12,14 @@ const BiggiveArticleCard$1 = /*@__PURE__*/ proxyCustomElement(class extends HTML
|
|
|
12
12
|
this.backgroundColour = 'white';
|
|
13
13
|
this.backgroundColourHover = 'tertiary';
|
|
14
14
|
this.textColour = 'black';
|
|
15
|
-
this.slug =
|
|
16
|
-
this.date =
|
|
17
|
-
this.mainTitle =
|
|
18
|
-
this.imageUrl =
|
|
19
|
-
this.imageAltText =
|
|
20
|
-
this.imageLabel =
|
|
21
|
-
this.buttonLabel =
|
|
22
|
-
this.buttonUrl =
|
|
15
|
+
this.slug = undefined;
|
|
16
|
+
this.date = undefined;
|
|
17
|
+
this.mainTitle = undefined;
|
|
18
|
+
this.imageUrl = undefined;
|
|
19
|
+
this.imageAltText = undefined;
|
|
20
|
+
this.imageLabel = undefined;
|
|
21
|
+
this.buttonLabel = undefined;
|
|
22
|
+
this.buttonUrl = undefined;
|
|
23
23
|
}
|
|
24
24
|
render() {
|
|
25
25
|
return (h("div", { class: 'container space-below-' + this.spaceBelow }, h("div", { class: 'sleeve background-colour-' + this.backgroundColour + ' background-colour-hover-' + this.backgroundColourHover + ' text-colour-' + this.textColour }, h("div", { class: "content-wrap" }, this.slug != '' ? h("div", { class: "slug text-colour-primary" }, this.slug) : null, this.date != '' ? h("div", { class: "date" }, this.date) : null, h("h3", { class: "title" }, h("a", { href: this.buttonUrl }, this.mainTitle)), this.imageUrl != '' ? (h("div", { class: "image-group" }, h("div", { class: "image-wrap", style: { 'background-image': "url('" + this.imageUrl + "')" } }, h("img", { src: this.imageUrl, alt: this.imageAltText, title: this.imageAltText })), h("div", { class: "image-label" }, this.imageLabel))) : null, this.buttonLabel != null && this.buttonUrl != null ? (h("div", { class: "button-wrap align-right" }, h("biggive-button", { "colour-scheme": 'clear-primary', url: this.buttonUrl, label: this.buttonLabel }))) : null))));
|
|
@@ -13,13 +13,13 @@ const BiggiveBasicCard$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEl
|
|
|
13
13
|
this.backgroundImageUrl = '';
|
|
14
14
|
this.cardColour = 'white';
|
|
15
15
|
this.textColour = 'black';
|
|
16
|
-
this.mainTitle =
|
|
17
|
-
this.subtitle =
|
|
18
|
-
this.teaser =
|
|
16
|
+
this.mainTitle = undefined;
|
|
17
|
+
this.subtitle = undefined;
|
|
18
|
+
this.teaser = undefined;
|
|
19
19
|
this.icon = true;
|
|
20
20
|
this.iconColour = 'primary';
|
|
21
|
-
this.buttonLabel =
|
|
22
|
-
this.buttonUrl =
|
|
21
|
+
this.buttonLabel = undefined;
|
|
22
|
+
this.buttonUrl = undefined;
|
|
23
23
|
this.buttonColourScheme = 'clear-primary';
|
|
24
24
|
this.clipBottomLeftCorner = true;
|
|
25
25
|
this.clipTopRightCorner = true;
|
|
@@ -10,7 +10,7 @@ const BiggiveBeneficiaryIcon$1 = /*@__PURE__*/ proxyCustomElement(class extends
|
|
|
10
10
|
this.backgroundColour = 'primary';
|
|
11
11
|
this.iconColour = 'white';
|
|
12
12
|
this.icon = 'Other';
|
|
13
|
-
this.label =
|
|
13
|
+
this.label = undefined;
|
|
14
14
|
this.url = '#';
|
|
15
15
|
}
|
|
16
16
|
getBeneficiaryIcon() {
|
|
@@ -10,10 +10,10 @@ const BiggiveBrandedImage$1 = /*@__PURE__*/ proxyCustomElement(class extends HTM
|
|
|
10
10
|
this.spaceBelow = 0;
|
|
11
11
|
this.imageUrl = '';
|
|
12
12
|
this.logoUrl = '';
|
|
13
|
-
this.slug =
|
|
14
|
-
this.charityName =
|
|
15
|
-
this.charityLocation =
|
|
16
|
-
this.charityUrl =
|
|
13
|
+
this.slug = undefined;
|
|
14
|
+
this.charityName = undefined;
|
|
15
|
+
this.charityLocation = undefined;
|
|
16
|
+
this.charityUrl = undefined;
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
19
|
return (h("div", { class: 'container space-below-' + this.spaceBelow }, this.slug ? h("div", { class: "slug" }, this.slug) : null, this.imageUrl !== undefined && this.imageUrl !== null ? (h("div", { class: "image-wrap" }, h("img", { src: this.imageUrl }))) : null, this.logoUrl !== undefined && this.logoUrl !== null ? h("div", { class: "logo-wrap", style: { 'background-image': "url('" + this.logoUrl + "')" } }) : null, this.charityName !== undefined && this.charityName !== null ? (h("a", { id: "charityName", href: this.charityUrl, target: "_blank" }, this.charityName)) : null, this.charityLocation !== undefined && this.charityLocation !== null ? h("div", { class: "charity-info" }, this.charityLocation) : null));
|
|
@@ -13,20 +13,20 @@ const BiggiveCallToAction$1 = /*@__PURE__*/ proxyCustomElement(class extends HTM
|
|
|
13
13
|
this.defaultTextColour = 'primary';
|
|
14
14
|
this.slugSize = 4;
|
|
15
15
|
this.slugColour = '';
|
|
16
|
-
this.slug =
|
|
16
|
+
this.slug = undefined;
|
|
17
17
|
this.mainTitleColour = '';
|
|
18
18
|
this.mainTitleSize = 2;
|
|
19
|
-
this.mainTitle =
|
|
19
|
+
this.mainTitle = undefined;
|
|
20
20
|
this.subtitleSize = 4;
|
|
21
21
|
this.subtitleColour = '';
|
|
22
|
-
this.subtitle =
|
|
22
|
+
this.subtitle = undefined;
|
|
23
23
|
this.teaserColour = '';
|
|
24
|
-
this.teaser =
|
|
25
|
-
this.primaryButtonUrl =
|
|
26
|
-
this.primaryButtonLabel =
|
|
24
|
+
this.teaser = undefined;
|
|
25
|
+
this.primaryButtonUrl = undefined;
|
|
26
|
+
this.primaryButtonLabel = undefined;
|
|
27
27
|
this.primaryButtonColourScheme = 'primary';
|
|
28
|
-
this.secondaryButtonUrl =
|
|
29
|
-
this.secondaryButtonLabel =
|
|
28
|
+
this.secondaryButtonUrl = undefined;
|
|
29
|
+
this.secondaryButtonLabel = undefined;
|
|
30
30
|
this.secondaryButtonColourScheme = 'primary';
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
@@ -92,6 +92,7 @@ const BiggiveCampaignCardFilterGrid$1 = /*@__PURE__*/ proxyCustomElement(class e
|
|
|
92
92
|
filterFunding: this.selectedFilterFunding,
|
|
93
93
|
filterLocation: this.selectedFilterLocation,
|
|
94
94
|
};
|
|
95
|
+
// @ts-ignore
|
|
95
96
|
return event;
|
|
96
97
|
}
|
|
97
98
|
doOptionSelectCompletedHandler(event) {
|
|
@@ -128,7 +129,8 @@ const BiggiveCampaignCardFilterGrid$1 = /*@__PURE__*/ proxyCustomElement(class e
|
|
|
128
129
|
this.selectedFilterCategory !== null || this.selectedFilterBeneficiary !== null || this.selectedFilterFunding !== null || this.selectedFilterLocation !== null;
|
|
129
130
|
}
|
|
130
131
|
render() {
|
|
131
|
-
|
|
132
|
+
var _a;
|
|
133
|
+
return (h("div", { class: 'container space-below-' + this.spaceBelow }, h("div", { class: "sleeve" }, h("div", { class: "search-wrap" }, h("h4", null, this.intro), h("div", { class: "field-wrap" }, h("div", { class: "input-wrap" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", class: "icon", viewBox: "0 0 512 512" }, h("path", { d: faMagnifyingGlass.icon[4].toString() })), h("input", { type: "text", value: (_a = this.searchText) !== null && _a !== void 0 ? _a : '', class: "input-text", placeholder: this.placeholderText, onInput: this.handleSearchTextChanged, onKeyDown: this.handleEnterPressed })), h("biggive-button", { onClick: this.handleSearchButtonPressed, label: this.buttonText }))), h("div", { class: "sort-filter-wrap" }, h("div", { class: "clear-all" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", class: "icon icon-clear-all", viewBox: "0 0 512 512" }, h("path", { d: faFilterSlash.icon[4].toString() })), h("a", { onClick: this.handleClearAll }, "Clear all")), h("div", { class: "sort-wrap" }, h("biggive-form-field-select", { placeholder: this.sortByPlaceholderText, selectedLabel: this.selectedSortByOption, id: "sort-by" }, h("biggive-form-field-select-option", { value: "amountRaised", label: "Most raised" }), h("biggive-form-field-select-option", { value: "matchFundsRemaining", label: "Match funds remaining" }), h("biggive-form-field-select-option", { value: "Relevance", label: "Relevance" }))), h("div", { class: "filter-wrap" }, h("biggive-button", { class: "filter", colourScheme: this.filtersApplied ? 'secondary' : 'primary', onClick: this.handleFilterButtonClick, label: "Filters", fullWidth: true, "space-below": "0" }), h("biggive-popup", { id: "filter-popup" }, h("h4", { class: "space-above-0 space-below-3 colour-primary" }, "Filters"), h("biggive-form-field-select", { placeholder: this.categoriesPlaceHolderText, selectedLabel: this.selectedFilterCategory, id: "categories", "space-below": "2" }, this.categoryOptions.length === 0
|
|
132
134
|
? undefined
|
|
133
135
|
: (Array.isArray(this.categoryOptions) ? this.categoryOptions : JSON.parse(this.categoryOptions)).map(option => (h("biggive-form-field-select-option", { value: option, label: option })))), h("biggive-form-field-select", { placeholder: this.beneficiariesPlaceHolderText, selectedLabel: this.selectedFilterBeneficiary, id: "beneficiaries", "space-below": "2" }, this.beneficiaryOptions.length === 0
|
|
134
136
|
? undefined
|
|
@@ -3,7 +3,7 @@ import { d as defineCustomElement$4 } from './biggive-button2.js';
|
|
|
3
3
|
import { d as defineCustomElement$3 } from './biggive-misc-icon2.js';
|
|
4
4
|
import { d as defineCustomElement$2 } from './biggive-progress-bar2.js';
|
|
5
5
|
|
|
6
|
-
const biggiveCampaignCardCss = "body{background-color:#FFFFFF}body.background-primary{background-color:#2C089B}body.background-secondary{background-color:#2C089B}body.background-tertiary{background-color:#2C089B}body.background-brand-1{background-color:#B30510}body.background-brand-2{background-color:#B30510}body.background-brand-3{background-color:#B30510}body.background-brand-4{background-color:#B30510}body.background-brand-5{background-color:#B30510}body.background-brand-6{background-color:#B30510}h1,h3,h4,h5,h6{margin-bottom:0}h1,.heading-1{font-size:47px;line-height:60px;font-weight:bold}h2,.heading-2{font-size:38px;line-height:45px;font-weight:bold}h3,.heading-3{font-size:25px;line-height:32px;font-weight:bold}h4,.heading-4{font-size:20px;line-height:24px;font-weight:bold}h5,.heading-5{font-size:17px;line-height:24px;font-weight:bold}a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.colour-primary{color:#2C089B}.colour-secondary{color:#2AF135}.colour-tertiary{color:#FF7272}.colour-brand-1{color:#B30510}.colour-brand-2{color:#6E0887}.colour-brand-3{color:#50B400}.colour-brand-4{color:#FFE500}.colour-brand-5{color:#F07D00}.colour-brand-6{color:#CBC8C8}.colour-white{color:#FFFFFF}.colour-black{color:#000000}.text-colour-hover-primary:hover,.text-colour-primary{color:#2C089B}.text-colour-hover-secondary:hover,.text-colour-secondary{color:#2AF135}.text-colour-hover-tertiary:hover,.text-colour-tertiary{color:#FF7272}.text-colour-hover-brand-1:hover,.text-colour-brand-1{color:#B30510}.text-colour-hover-brand-2:hover,.text-colour-brand-2{color:#6E0887}.text-colour-hover-brand-3:hover,.text-colour-brand-3{color:#50B400}.text-colour-hover-brand-4:hover,.text-colour-brand-4{color:#FFE500}.text-colour-hover-brand-5:hover,.text-colour-brand-5{color:#F07D00}.text-colour-hover-brand-6:hover,.text-colour-brand-6{color:#CBC8C8}.text-colour-hover-white:hover,.text-colour-white{color:#FFFFFF}.text-colour-hover-black:hover,.text-colour-black{color:#000000}.fill-primary{fill:#2C089B}.fill-secondary{fill:#2AF135}.fill-tertiary{fill:#FF7272}.fill-brand-1{fill:#B30510}.fill-brand-2{fill:#6E0887}.fill-brand-3{fill:#50B400}.fill-brand-4{fill:#FFE500}.fill-brand-5{fill:#F07D00}.fill-brand-6{fill:#CBC8C8}.fill-white{fill:#FFFFFF}.fill-black{fill:#000000}.fill-red{fill:red}.background-colour-hover-primary:hover,.background-colour-primary{background-color:#2C089B}.background-colour-hover-secondary:hover,.background-colour-secondary{background-color:#2AF135}.background-colour-hover-tertiary:hover,.background-colour-tertiary{background-color:#FF7272}.background-colour-hover-brand-1:hover,.background-colour-brand-1{background-color:#B30510}.background-colour-hover-brand-2:hover,.background-colour-brand-2{background-color:#6E0887}.background-colour-hover-brand-3:hover,.background-colour-brand-3{background-color:#50B400}.background-colour-hover-brand-4:hover,.background-colour-brand-4{background-color:#FFE500}.background-colour-hover-brand-5:hover,.background-colour-brand-5{background-color:#F07D00}.background-colour-hover-brand-6:hover,.background-colour-brand-6{background-color:#CBC8C8}.background-colour-hover-white:hover,.background-colour-white{background-color:#FFFFFF}.background-colour-hover-black:hover,.background-colour-black{background-color:#000000}.background-colour-transparent{background-color:transparent}.input-wrap{display:flex;justify-content:space-between}.input-text{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;color:#000000;padding:5px 10px;box-sizing:border-box;width:100%}.input-text:focus{outline:0}.input-text:placeholder{color:#4A4A4A}.button{font-size:17px;line-height:24px;padding:10px 30px;border-radius:5px;border:1px solid #000000;background-color:#000000;color:#FFFFFF;display:inline-block;text-decoration:none;text-align:center;transition:all ease-in-out 0.5s;cursor:pointer}.button:hover{background-color:#FFFFFF;color:#000000}.button.size-small{font-size:13px;line-height:17px;padding:5px 15px}.button.button.rounded-true{border-radius:27.5px}.button.button.rounded-true.size-small{border-radius:20px}.button-primary{color:#FFFFFF;background-color:#2C089B;border-color:#2C089B}.button-primary:hover{color:#2C089B;background-color:#FFFFFF}.button-secondary{color:#000000;background-color:#2AF135;border-color:#2AF135}.button-secondary:hover{background-color:#FFFFFF;border-color:#000000}.button-tertiary{color:#FFFFFF;background-color:#FF7272;border-color:#FF7272}.button-tertiary:hover{background-color:#FFFFFF}.button-brand-1{color:#FFFFFF;background-color:#B30510;border-color:#B30510}.button-brand-1:hover{background-color:#FFFFFF}.button-brand-2{color:#FFFFFF;background-color:#6E0887;border-color:#6E0887}.button-brand-2:hover{background-color:#FFFFFF}.button-brand-3{color:#FFFFFF;background-color:#50B400;border-color:#50B400}.button-brand-3:hover{background-color:#FFFFFF}.button-brand-4{color:#FFFFFF;background-color:#FFE500;border-color:#FFE500}.button-brand-4:hover{background-color:#000000}.button-brand-5{color:#FFFFFF;background-color:#F07D00;border-color:#F07D00}.button-brand-5:hover{background-color:#FFFFFF}.button-brand-6{color:#FFFFFF;background-color:#CBC8C8;border-color:#CBC8C8}.button-brand-6:hover{background-color:#000000}.button-white{color:#2C089B;background-color:#FFFFFF;border-color:#FFFFFF}.button-white:hover{color:#FFFFFF;background-color:#2C089B}.button-black{color:#FFFFFF;background-color:#000000;border-color:#000000}.button-black:hover{color:#000000;background-color:#FFFFFF}.button-clear-primary{color:#2C089B;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-primary:hover{text-decoration:none;background-color:transparent}.button-clear-secondary{color:#2AF135;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-secondary:hover{text-decoration:none;background-color:transparent}.button-clear-tertiary{color:#FF7272;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-tertiary:hover{text-decoration:none;background-color:transparent}.button-clear-brand-1{color:#B30510;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-1:hover{text-decoration:none;background-color:transparent}.button-clear-brand-2{color:#6E0887;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-2:hover{text-decoration:none;background-color:transparent}.button-clear-brand-3{color:#50B400;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-3:hover{text-decoration:none;background-color:transparent}.button-clear-brand-4{color:#FFE500;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-4:hover{text-decoration:none;background-color:transparent}.button-clear-brand-5{color:#F07D00;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-5:hover{text-decoration:none;background-color:transparent}.button-clear-brand-6{color:#CBC8C8;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-6:hover{text-decoration:none;background-color:transparent}.button-clear-white{color:#FFFFFF;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-white:hover{color:#FFFFFF;text-decoration:none;background-color:transparent}.button-rounded{border-radius:27.5px}.button-rounded.size-small{border-radius:20px}.progress-bar{display:flex}.progress-bar .slider{margin:auto 15px auto 0;position:relative;flex-grow:1}.progress-bar .slider:before{content:\"\";position:absolute;display:block;top:0;left:0;bottom:0;right:0;background-color:#E8E8E8;border-radius:4px}.progress-bar .slider .progress{position:relative;border-radius:4px;background-color:#000000;height:8px}.progress-bar .counter{font-weight:700;color:#000000;font-size:14px;line-height:18px}.progress-bar-primary .slider .progress{background-color:#2C089B}.progress-bar-primary .counter{color:#2C089B}.progress-bar-secondary .slider .progress{background-color:#2AF135}.progress-bar-secondary .counter{color:#2AF135}.video-wrap{position:relative;padding-bottom:56.25%}.video-wrap iframe,.video-wrap video{position:absolute;border:0;display:block;left:0;right:0;top:0;bottom:0;width:100%;height:100%}.image-wrap img{width:100%;height:auto}.align-left{text-align:left}.align-right{text-align:right}.align-center{text-align:center}.align-justify{text-align:justify}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.horizontal-padding-1{padding-left:5px;padding-right:5px}.horizontal-padding-2{padding-left:10px;padding-right:10px}.horizontal-padding-3{padding-left:15px;padding-right:15px}.horizontal-padding-4{padding-left:30px;padding-right:30px}.horizontal-padding-5{padding-left:45px;padding-right:45px}.horizontal-padding-6{padding-left:60px;padding-right:60px}.vertical-padding-1{padding-top:5px;padding-bottom:5px}.vertical-padding-2{padding-top:10px;padding-bottom:10px}.vertical-padding-3{padding-top:15px;padding-bottom:15px}.vertical-padding-4{padding-top:30px;padding-bottom:30px}.vertical-padding-5{padding-top:45px;padding-bottom:45px}.vertical-padding-6{padding-top:60px;padding-bottom:60px}:host{display:contents}.container{display:flex;flex-direction:column;font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;margin-right:10px;margin-left:10px;cursor:pointer;position:relative;height:100%;background-color:#FFFFFF;padding:15px;box-sizing:border-box}.container .sleeve{display:flex;flex-direction:column;height:100%}.container .campaign-type{position:absolute;top:0;left:0;right:0;text-align:center;font-weight:bold}.container .campaign-type span{background-color:#2AF135;color:#000000;padding:5px 15px;display:inline-block}.container .banner{top:0;margin-top:19px;padding-bottom:30.5555555556%;background-color:#F1F1F1;background-size:contain;background-repeat:no-repeat}.container .banner img{display:none}.container h3{font-size:20px;line-height:24px;font-weight:bold}.container .button{display:block}.container .organisation-name{margin-bottom:30px;color:#2C089B}.container .meta-wrap{display:flex;justify-content:space-between;margin-top:auto;margin-bottom:15px}.container .meta-wrap .meta-item{width:calc(50% - 15px)}.container .meta-wrap .meta-item .label{font-size:11px;line-height:14px;display:block}.container .meta-wrap .meta-item .text{font-size:25px;line-height:32px;font-weight:bold;display:block}.container .meta-wrap .meta-item:last-child{text-align:right}.container .meta-wrap .meta-item:last-child .text{color:#2C089B}.container .progress-bar-wrap{padding-bottom:10px;margin-bottom:10px;border-bottom:1px solid #E8E8E8}.container .msg-wrapper{display:flex;justify-content:center}.container .msg-wrapper biggive-misc-icon{margin-top:auto;margin-bottom:auto}.container .msg-wrapper p{text-align:center}@media screen and (max-width: 1200px){.container .msg-wrapper p{font-size:15px}}";
|
|
6
|
+
const biggiveCampaignCardCss = "body{background-color:#FFFFFF}body.background-primary{background-color:#2C089B}body.background-secondary{background-color:#2C089B}body.background-tertiary{background-color:#2C089B}body.background-brand-1{background-color:#B30510}body.background-brand-2{background-color:#B30510}body.background-brand-3{background-color:#B30510}body.background-brand-4{background-color:#B30510}body.background-brand-5{background-color:#B30510}body.background-brand-6{background-color:#B30510}h1,h3,h4,h5,h6{margin-bottom:0}h1,.heading-1{font-size:47px;line-height:60px;font-weight:bold}h2,.heading-2{font-size:38px;line-height:45px;font-weight:bold}h3,.heading-3{font-size:25px;line-height:32px;font-weight:bold}h4,.heading-4{font-size:20px;line-height:24px;font-weight:bold}h5,.heading-5{font-size:17px;line-height:24px;font-weight:bold}a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.colour-primary{color:#2C089B}.colour-secondary{color:#2AF135}.colour-tertiary{color:#FF7272}.colour-brand-1{color:#B30510}.colour-brand-2{color:#6E0887}.colour-brand-3{color:#50B400}.colour-brand-4{color:#FFE500}.colour-brand-5{color:#F07D00}.colour-brand-6{color:#CBC8C8}.colour-white{color:#FFFFFF}.colour-black{color:#000000}.text-colour-hover-primary:hover,.text-colour-primary{color:#2C089B}.text-colour-hover-secondary:hover,.text-colour-secondary{color:#2AF135}.text-colour-hover-tertiary:hover,.text-colour-tertiary{color:#FF7272}.text-colour-hover-brand-1:hover,.text-colour-brand-1{color:#B30510}.text-colour-hover-brand-2:hover,.text-colour-brand-2{color:#6E0887}.text-colour-hover-brand-3:hover,.text-colour-brand-3{color:#50B400}.text-colour-hover-brand-4:hover,.text-colour-brand-4{color:#FFE500}.text-colour-hover-brand-5:hover,.text-colour-brand-5{color:#F07D00}.text-colour-hover-brand-6:hover,.text-colour-brand-6{color:#CBC8C8}.text-colour-hover-white:hover,.text-colour-white{color:#FFFFFF}.text-colour-hover-black:hover,.text-colour-black{color:#000000}.fill-primary{fill:#2C089B}.fill-secondary{fill:#2AF135}.fill-tertiary{fill:#FF7272}.fill-brand-1{fill:#B30510}.fill-brand-2{fill:#6E0887}.fill-brand-3{fill:#50B400}.fill-brand-4{fill:#FFE500}.fill-brand-5{fill:#F07D00}.fill-brand-6{fill:#CBC8C8}.fill-white{fill:#FFFFFF}.fill-black{fill:#000000}.fill-red{fill:red}.background-colour-hover-primary:hover,.background-colour-primary{background-color:#2C089B}.background-colour-hover-secondary:hover,.background-colour-secondary{background-color:#2AF135}.background-colour-hover-tertiary:hover,.background-colour-tertiary{background-color:#FF7272}.background-colour-hover-brand-1:hover,.background-colour-brand-1{background-color:#B30510}.background-colour-hover-brand-2:hover,.background-colour-brand-2{background-color:#6E0887}.background-colour-hover-brand-3:hover,.background-colour-brand-3{background-color:#50B400}.background-colour-hover-brand-4:hover,.background-colour-brand-4{background-color:#FFE500}.background-colour-hover-brand-5:hover,.background-colour-brand-5{background-color:#F07D00}.background-colour-hover-brand-6:hover,.background-colour-brand-6{background-color:#CBC8C8}.background-colour-hover-white:hover,.background-colour-white{background-color:#FFFFFF}.background-colour-hover-black:hover,.background-colour-black{background-color:#000000}.background-colour-transparent{background-color:transparent}.input-wrap{display:flex;justify-content:space-between}.input-text{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;color:#000000;padding:5px 10px;box-sizing:border-box;width:100%}.input-text:focus{outline:0}.input-text:placeholder{color:#4A4A4A}.button{font-size:17px;line-height:24px;padding:10px 30px;border-radius:5px;border:1px solid #000000;background-color:#000000;color:#FFFFFF;display:inline-block;text-decoration:none;text-align:center;transition:all ease-in-out 0.5s;cursor:pointer}.button:hover{background-color:#FFFFFF;color:#000000}.button.size-small{font-size:13px;line-height:17px;padding:5px 15px}.button.button.rounded-true{border-radius:27.5px}.button.button.rounded-true.size-small{border-radius:20px}.button-primary{color:#FFFFFF;background-color:#2C089B;border-color:#2C089B}.button-primary:hover{color:#2C089B;background-color:#FFFFFF}.button-secondary{color:#000000;background-color:#2AF135;border-color:#2AF135}.button-secondary:hover{background-color:#FFFFFF;border-color:#000000}.button-tertiary{color:#FFFFFF;background-color:#FF7272;border-color:#FF7272}.button-tertiary:hover{background-color:#FFFFFF}.button-brand-1{color:#FFFFFF;background-color:#B30510;border-color:#B30510}.button-brand-1:hover{background-color:#FFFFFF}.button-brand-2{color:#FFFFFF;background-color:#6E0887;border-color:#6E0887}.button-brand-2:hover{background-color:#FFFFFF}.button-brand-3{color:#FFFFFF;background-color:#50B400;border-color:#50B400}.button-brand-3:hover{background-color:#FFFFFF}.button-brand-4{color:#FFFFFF;background-color:#FFE500;border-color:#FFE500}.button-brand-4:hover{background-color:#000000}.button-brand-5{color:#FFFFFF;background-color:#F07D00;border-color:#F07D00}.button-brand-5:hover{background-color:#FFFFFF}.button-brand-6{color:#FFFFFF;background-color:#CBC8C8;border-color:#CBC8C8}.button-brand-6:hover{background-color:#000000}.button-white{color:#2C089B;background-color:#FFFFFF;border-color:#FFFFFF}.button-white:hover{color:#FFFFFF;background-color:#2C089B}.button-black{color:#FFFFFF;background-color:#000000;border-color:#000000}.button-black:hover{color:#000000;background-color:#FFFFFF}.button-clear-primary{color:#2C089B;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-primary:hover{text-decoration:none;background-color:transparent}.button-clear-secondary{color:#2AF135;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-secondary:hover{text-decoration:none;background-color:transparent}.button-clear-tertiary{color:#FF7272;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-tertiary:hover{text-decoration:none;background-color:transparent}.button-clear-brand-1{color:#B30510;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-1:hover{text-decoration:none;background-color:transparent}.button-clear-brand-2{color:#6E0887;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-2:hover{text-decoration:none;background-color:transparent}.button-clear-brand-3{color:#50B400;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-3:hover{text-decoration:none;background-color:transparent}.button-clear-brand-4{color:#FFE500;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-4:hover{text-decoration:none;background-color:transparent}.button-clear-brand-5{color:#F07D00;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-5:hover{text-decoration:none;background-color:transparent}.button-clear-brand-6{color:#CBC8C8;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-6:hover{text-decoration:none;background-color:transparent}.button-clear-white{color:#FFFFFF;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-white:hover{color:#FFFFFF;text-decoration:none;background-color:transparent}.button-rounded{border-radius:27.5px}.button-rounded.size-small{border-radius:20px}.progress-bar{display:flex}.progress-bar .slider{margin:auto 15px auto 0;position:relative;flex-grow:1}.progress-bar .slider:before{content:\"\";position:absolute;display:block;top:0;left:0;bottom:0;right:0;background-color:#E8E8E8;border-radius:4px}.progress-bar .slider .progress{position:relative;border-radius:4px;background-color:#000000;height:8px}.progress-bar .counter{font-weight:700;color:#000000;font-size:14px;line-height:18px}.progress-bar-primary .slider .progress{background-color:#2C089B}.progress-bar-primary .counter{color:#2C089B}.progress-bar-secondary .slider .progress{background-color:#2AF135}.progress-bar-secondary .counter{color:#2AF135}.video-wrap{position:relative;padding-bottom:56.25%}.video-wrap iframe,.video-wrap video{position:absolute;border:0;display:block;left:0;right:0;top:0;bottom:0;width:100%;height:100%}.image-wrap img{width:100%;height:auto}.align-left{text-align:left}.align-right{text-align:right}.align-center{text-align:center}.align-justify{text-align:justify}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.horizontal-padding-1{padding-left:5px;padding-right:5px}.horizontal-padding-2{padding-left:10px;padding-right:10px}.horizontal-padding-3{padding-left:15px;padding-right:15px}.horizontal-padding-4{padding-left:30px;padding-right:30px}.horizontal-padding-5{padding-left:45px;padding-right:45px}.horizontal-padding-6{padding-left:60px;padding-right:60px}.vertical-padding-1{padding-top:5px;padding-bottom:5px}.vertical-padding-2{padding-top:10px;padding-bottom:10px}.vertical-padding-3{padding-top:15px;padding-bottom:15px}.vertical-padding-4{padding-top:30px;padding-bottom:30px}.vertical-padding-5{padding-top:45px;padding-bottom:45px}.vertical-padding-6{padding-top:60px;padding-bottom:60px}:host{display:contents}.container{display:flex;flex-direction:column;font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;margin-right:10px;margin-left:10px;cursor:pointer;position:relative;height:100%;background-color:#FFFFFF;padding:15px;box-sizing:border-box}.container .sleeve{display:flex;flex-direction:column;height:100%}.container .campaign-type{position:absolute;top:0;left:0;right:0;text-align:center;font-weight:bold}.container .campaign-type span{background-color:#2AF135;color:#000000;padding:5px 15px;display:inline-block}.container .banner{top:0;margin-top:19px;padding-bottom:30.555%;background-color:#F1F1F1;background-size:contain;background-repeat:no-repeat}.container .banner img{display:none}.container h3{font-size:20px;line-height:24px;font-weight:bold}.container .button{display:block}.container .organisation-name{margin-bottom:30px;color:#2C089B}.container .meta-wrap{display:flex;justify-content:space-between;margin-top:auto;margin-bottom:15px}.container .meta-wrap .meta-item{width:calc(50% - 15px)}.container .meta-wrap .meta-item .label{font-size:11px;line-height:14px;display:block}.container .meta-wrap .meta-item .text{font-size:25px;line-height:32px;font-weight:bold;display:block}.container .meta-wrap .meta-item:last-child{text-align:right}.container .meta-wrap .meta-item:last-child .text{color:#2C089B}.container .progress-bar-wrap{padding-bottom:10px;margin-bottom:10px;border-bottom:1px solid #E8E8E8}.container .msg-wrapper{display:flex;justify-content:center}.container .msg-wrapper biggive-misc-icon{margin-top:auto;margin-bottom:auto}.container .msg-wrapper p{text-align:center}@media screen and (max-width: 1200px){.container .msg-wrapper p{font-size:15px}}";
|
|
7
7
|
|
|
8
8
|
const BiggiveCampaignCard$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
9
9
|
constructor() {
|
|
@@ -15,20 +15,20 @@ const BiggiveCampaignCard$1 = /*@__PURE__*/ proxyCustomElement(class extends HTM
|
|
|
15
15
|
this.doCardGeneralClick.emit({ event, url: this.moreInfoButtonUrl });
|
|
16
16
|
};
|
|
17
17
|
this.spaceBelow = 4;
|
|
18
|
-
this.campaignType =
|
|
19
|
-
this.banner =
|
|
20
|
-
this.campaignTitle =
|
|
21
|
-
this.organisationName =
|
|
22
|
-
this.primaryFigureLabel =
|
|
23
|
-
this.primaryFigureAmount =
|
|
24
|
-
this.secondaryFigureLabel =
|
|
25
|
-
this.secondaryFigureAmount =
|
|
18
|
+
this.campaignType = undefined;
|
|
19
|
+
this.banner = undefined;
|
|
20
|
+
this.campaignTitle = undefined;
|
|
21
|
+
this.organisationName = undefined;
|
|
22
|
+
this.primaryFigureLabel = undefined;
|
|
23
|
+
this.primaryFigureAmount = undefined;
|
|
24
|
+
this.secondaryFigureLabel = undefined;
|
|
25
|
+
this.secondaryFigureAmount = undefined;
|
|
26
26
|
this.progressBarCounter = 100;
|
|
27
27
|
this.donateButtonLabel = 'Donate now';
|
|
28
|
-
this.donateButtonUrl =
|
|
28
|
+
this.donateButtonUrl = undefined;
|
|
29
29
|
this.donateButtonColourScheme = 'primary';
|
|
30
30
|
this.moreInfoButtonLabel = 'Find out more';
|
|
31
|
-
this.moreInfoButtonUrl =
|
|
31
|
+
this.moreInfoButtonUrl = undefined;
|
|
32
32
|
this.moreInfoButtonColourScheme = 'clear-primary';
|
|
33
33
|
this.isFutureCampaign = false;
|
|
34
34
|
this.isPastCampaign = false;
|
|
@@ -2,7 +2,7 @@ import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/clien
|
|
|
2
2
|
import { d as defineCustomElement$3 } from './biggive-misc-icon2.js';
|
|
3
3
|
import { d as defineCustomElement$2 } from './biggive-progress-bar2.js';
|
|
4
4
|
|
|
5
|
-
const biggiveCampaignHighlightsCss = "body{background-color:#FFFFFF}body.background-primary{background-color:#2C089B}body.background-secondary{background-color:#2C089B}body.background-tertiary{background-color:#2C089B}body.background-brand-1{background-color:#B30510}body.background-brand-2{background-color:#B30510}body.background-brand-3{background-color:#B30510}body.background-brand-4{background-color:#B30510}body.background-brand-5{background-color:#B30510}body.background-brand-6{background-color:#B30510}h1,h3,h4,h5,h6{margin-bottom:0}h1,.heading-1{font-size:47px;line-height:60px;font-weight:bold}h2,.heading-2{font-size:38px;line-height:45px;font-weight:bold}h3,.heading-3{font-size:25px;line-height:32px;font-weight:bold}h4,.heading-4{font-size:20px;line-height:24px;font-weight:bold}h5,.heading-5{font-size:17px;line-height:24px;font-weight:bold}a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.colour-primary{color:#2C089B}.colour-secondary{color:#2AF135}.colour-tertiary{color:#FF7272}.colour-brand-1{color:#B30510}.colour-brand-2{color:#6E0887}.colour-brand-3{color:#50B400}.colour-brand-4{color:#FFE500}.colour-brand-5{color:#F07D00}.colour-brand-6{color:#CBC8C8}.colour-white{color:#FFFFFF}.colour-black{color:#000000}.text-colour-hover-primary:hover,.text-colour-primary{color:#2C089B}.text-colour-hover-secondary:hover,.text-colour-secondary{color:#2AF135}.text-colour-hover-tertiary:hover,.text-colour-tertiary{color:#FF7272}.text-colour-hover-brand-1:hover,.text-colour-brand-1{color:#B30510}.text-colour-hover-brand-2:hover,.text-colour-brand-2{color:#6E0887}.text-colour-hover-brand-3:hover,.text-colour-brand-3{color:#50B400}.text-colour-hover-brand-4:hover,.text-colour-brand-4{color:#FFE500}.text-colour-hover-brand-5:hover,.text-colour-brand-5{color:#F07D00}.text-colour-hover-brand-6:hover,.text-colour-brand-6{color:#CBC8C8}.text-colour-hover-white:hover,.text-colour-white{color:#FFFFFF}.text-colour-hover-black:hover,.text-colour-black{color:#000000}.fill-primary{fill:#2C089B}.fill-secondary{fill:#2AF135}.fill-tertiary{fill:#FF7272}.fill-brand-1{fill:#B30510}.fill-brand-2{fill:#6E0887}.fill-brand-3{fill:#50B400}.fill-brand-4{fill:#FFE500}.fill-brand-5{fill:#F07D00}.fill-brand-6{fill:#CBC8C8}.fill-white{fill:#FFFFFF}.fill-black{fill:#000000}.fill-red{fill:red}.background-colour-hover-primary:hover,.background-colour-primary{background-color:#2C089B}.background-colour-hover-secondary:hover,.background-colour-secondary{background-color:#2AF135}.background-colour-hover-tertiary:hover,.background-colour-tertiary{background-color:#FF7272}.background-colour-hover-brand-1:hover,.background-colour-brand-1{background-color:#B30510}.background-colour-hover-brand-2:hover,.background-colour-brand-2{background-color:#6E0887}.background-colour-hover-brand-3:hover,.background-colour-brand-3{background-color:#50B400}.background-colour-hover-brand-4:hover,.background-colour-brand-4{background-color:#FFE500}.background-colour-hover-brand-5:hover,.background-colour-brand-5{background-color:#F07D00}.background-colour-hover-brand-6:hover,.background-colour-brand-6{background-color:#CBC8C8}.background-colour-hover-white:hover,.background-colour-white{background-color:#FFFFFF}.background-colour-hover-black:hover,.background-colour-black{background-color:#000000}.background-colour-transparent{background-color:transparent}.input-wrap{display:flex;justify-content:space-between}.input-text{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;color:#000000;padding:5px 10px;box-sizing:border-box;width:100%}.input-text:focus{outline:0}.input-text:placeholder{color:#4A4A4A}.button{font-size:17px;line-height:24px;padding:10px 30px;border-radius:5px;border:1px solid #000000;background-color:#000000;color:#FFFFFF;display:inline-block;text-decoration:none;text-align:center;transition:all ease-in-out 0.5s;cursor:pointer}.button:hover{background-color:#FFFFFF;color:#000000}.button.size-small{font-size:13px;line-height:17px;padding:5px 15px}.button.button.rounded-true{border-radius:27.5px}.button.button.rounded-true.size-small{border-radius:20px}.button-primary{color:#FFFFFF;background-color:#2C089B;border-color:#2C089B}.button-primary:hover{color:#2C089B;background-color:#FFFFFF}.button-secondary{color:#000000;background-color:#2AF135;border-color:#2AF135}.button-secondary:hover{background-color:#FFFFFF;border-color:#000000}.button-tertiary{color:#FFFFFF;background-color:#FF7272;border-color:#FF7272}.button-tertiary:hover{background-color:#FFFFFF}.button-brand-1{color:#FFFFFF;background-color:#B30510;border-color:#B30510}.button-brand-1:hover{background-color:#FFFFFF}.button-brand-2{color:#FFFFFF;background-color:#6E0887;border-color:#6E0887}.button-brand-2:hover{background-color:#FFFFFF}.button-brand-3{color:#FFFFFF;background-color:#50B400;border-color:#50B400}.button-brand-3:hover{background-color:#FFFFFF}.button-brand-4{color:#FFFFFF;background-color:#FFE500;border-color:#FFE500}.button-brand-4:hover{background-color:#000000}.button-brand-5{color:#FFFFFF;background-color:#F07D00;border-color:#F07D00}.button-brand-5:hover{background-color:#FFFFFF}.button-brand-6{color:#FFFFFF;background-color:#CBC8C8;border-color:#CBC8C8}.button-brand-6:hover{background-color:#000000}.button-white{color:#2C089B;background-color:#FFFFFF;border-color:#FFFFFF}.button-white:hover{color:#FFFFFF;background-color:#2C089B}.button-black{color:#FFFFFF;background-color:#000000;border-color:#000000}.button-black:hover{color:#000000;background-color:#FFFFFF}.button-clear-primary{color:#2C089B;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-primary:hover{text-decoration:none;background-color:transparent}.button-clear-secondary{color:#2AF135;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-secondary:hover{text-decoration:none;background-color:transparent}.button-clear-tertiary{color:#FF7272;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-tertiary:hover{text-decoration:none;background-color:transparent}.button-clear-brand-1{color:#B30510;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-1:hover{text-decoration:none;background-color:transparent}.button-clear-brand-2{color:#6E0887;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-2:hover{text-decoration:none;background-color:transparent}.button-clear-brand-3{color:#50B400;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-3:hover{text-decoration:none;background-color:transparent}.button-clear-brand-4{color:#FFE500;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-4:hover{text-decoration:none;background-color:transparent}.button-clear-brand-5{color:#F07D00;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-5:hover{text-decoration:none;background-color:transparent}.button-clear-brand-6{color:#CBC8C8;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-6:hover{text-decoration:none;background-color:transparent}.button-clear-white{color:#FFFFFF;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-white:hover{color:#FFFFFF;text-decoration:none;background-color:transparent}.button-rounded{border-radius:27.5px}.button-rounded.size-small{border-radius:20px}.progress-bar{display:flex}.progress-bar .slider{margin:auto 15px auto 0;position:relative;flex-grow:1}.progress-bar .slider:before{content:\"\";position:absolute;display:block;top:0;left:0;bottom:0;right:0;background-color:#E8E8E8;border-radius:4px}.progress-bar .slider .progress{position:relative;border-radius:4px;background-color:#000000;height:8px}.progress-bar .counter{font-weight:700;color:#000000;font-size:14px;line-height:18px}.progress-bar-primary .slider .progress{background-color:#2C089B}.progress-bar-primary .counter{color:#2C089B}.progress-bar-secondary .slider .progress{background-color:#2AF135}.progress-bar-secondary .counter{color:#2AF135}.video-wrap{position:relative;padding-bottom:56.25%}.video-wrap iframe,.video-wrap video{position:absolute;border:0;display:block;left:0;right:0;top:0;bottom:0;width:100%;height:100%}.image-wrap img{width:100%;height:auto}.align-left{text-align:left}.align-right{text-align:right}.align-center{text-align:center}.align-justify{text-align:justify}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.horizontal-padding-1{padding-left:5px;padding-right:5px}.horizontal-padding-2{padding-left:10px;padding-right:10px}.horizontal-padding-3{padding-left:15px;padding-right:15px}.horizontal-padding-4{padding-left:30px;padding-right:30px}.horizontal-padding-5{padding-left:45px;padding-right:45px}.horizontal-padding-6{padding-left:60px;padding-right:60px}.vertical-padding-1{padding-top:5px;padding-bottom:5px}.vertical-padding-2{padding-top:10px;padding-bottom:10px}.vertical-padding-3{padding-top:15px;padding-bottom:15px}.vertical-padding-4{padding-top:30px;padding-bottom:30px}.vertical-padding-5{padding-top:45px;padding-bottom:45px}.vertical-padding-6{padding-top:60px;padding-bottom:60px}:host{display:contents}.container{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;background-color:#FFFFFF;padding:25px;box-sizing:border-box;height:fit-content}.container .campaign-title{position:absolute;top:0;left:0;right:0;text-align:center;font-weight:bold}.container .campaign-title span{background-color:#2AF135;color:#000000;padding:5px 15px;display:inline-block}.container .banner{top:0;margin-top:19px;padding-bottom:30.5555555556%;background-color:#F1F1F1;background-size:contain;background-repeat:no-repeat;margin-bottom:30px}.container .banner img{display:none}.container .meta-wrap{display:flex;justify-content:space-between;margin-top:auto;margin-bottom:15px}.container .meta-wrap .meta-item{width:calc(50% - 15px)}.container .meta-wrap .meta-item .label{font-size:13px;line-height:17px;display:block}.container .meta-wrap .meta-item .text{font-size:25px;line-height:32px;font-weight:bold;display:block}@media screen and (max-width: 768px){.container .meta-wrap .meta-item .text{font-size:23px}}@media screen and (max-width: 576px){.container .meta-wrap .meta-item .text{font-size:21px}}@media screen and (max-width: 450px){.container .meta-wrap .meta-item .text{font-size:17px}}.container .meta-wrap .meta-item:last-child{text-align:right}.container .meta-wrap .meta-item:last-child .text{color:#2C089B}.container .progress-bar-wrap{padding-bottom:10px;margin-bottom:10px;border-bottom:1px solid #E8E8E8}.container .stat-wrap{display:flex;justify-content:space-between}.container .stat-wrap .stat-item{font-size:17px;line-height:24px;font-weight:bold;width:calc(50% - 15px);margin:auto 0 auto 15px}.container .stat-wrap .stat-item .label{position:relative;bottom:7px}@media screen and (max-width: 576px){.container .stat-wrap .stat-item{font-size:13px;line-height:17px;margin:auto 0;text-align:center}.container .stat-wrap .stat-item .label{bottom:5px}}.container .stat-wrap .stat-item svg{fill:#FF7272}.container .championed-by{text-align:left;margin-left:20px;margin-top:20px;color:black;font-size:15px}@media screen and (max-width: 768px){.container .championed-by{font-size:14px}}@media screen and (max-width: 576px){.container .championed-by{text-align:center;margin-left:0;margin-bottom:10px;font-size:13px}}@media screen and (max-width: 450px){.container .championed-by{font-size:12px}}.container .championed-by a{text-decoration:none;font-weight:bold;color:#2C089B}@media screen and (max-width: 450px){.container .championed-by a{display:block}}@media screen and (max-width: 576px){.container{padding:15px}}";
|
|
5
|
+
const biggiveCampaignHighlightsCss = "body{background-color:#FFFFFF}body.background-primary{background-color:#2C089B}body.background-secondary{background-color:#2C089B}body.background-tertiary{background-color:#2C089B}body.background-brand-1{background-color:#B30510}body.background-brand-2{background-color:#B30510}body.background-brand-3{background-color:#B30510}body.background-brand-4{background-color:#B30510}body.background-brand-5{background-color:#B30510}body.background-brand-6{background-color:#B30510}h1,h3,h4,h5,h6{margin-bottom:0}h1,.heading-1{font-size:47px;line-height:60px;font-weight:bold}h2,.heading-2{font-size:38px;line-height:45px;font-weight:bold}h3,.heading-3{font-size:25px;line-height:32px;font-weight:bold}h4,.heading-4{font-size:20px;line-height:24px;font-weight:bold}h5,.heading-5{font-size:17px;line-height:24px;font-weight:bold}a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.colour-primary{color:#2C089B}.colour-secondary{color:#2AF135}.colour-tertiary{color:#FF7272}.colour-brand-1{color:#B30510}.colour-brand-2{color:#6E0887}.colour-brand-3{color:#50B400}.colour-brand-4{color:#FFE500}.colour-brand-5{color:#F07D00}.colour-brand-6{color:#CBC8C8}.colour-white{color:#FFFFFF}.colour-black{color:#000000}.text-colour-hover-primary:hover,.text-colour-primary{color:#2C089B}.text-colour-hover-secondary:hover,.text-colour-secondary{color:#2AF135}.text-colour-hover-tertiary:hover,.text-colour-tertiary{color:#FF7272}.text-colour-hover-brand-1:hover,.text-colour-brand-1{color:#B30510}.text-colour-hover-brand-2:hover,.text-colour-brand-2{color:#6E0887}.text-colour-hover-brand-3:hover,.text-colour-brand-3{color:#50B400}.text-colour-hover-brand-4:hover,.text-colour-brand-4{color:#FFE500}.text-colour-hover-brand-5:hover,.text-colour-brand-5{color:#F07D00}.text-colour-hover-brand-6:hover,.text-colour-brand-6{color:#CBC8C8}.text-colour-hover-white:hover,.text-colour-white{color:#FFFFFF}.text-colour-hover-black:hover,.text-colour-black{color:#000000}.fill-primary{fill:#2C089B}.fill-secondary{fill:#2AF135}.fill-tertiary{fill:#FF7272}.fill-brand-1{fill:#B30510}.fill-brand-2{fill:#6E0887}.fill-brand-3{fill:#50B400}.fill-brand-4{fill:#FFE500}.fill-brand-5{fill:#F07D00}.fill-brand-6{fill:#CBC8C8}.fill-white{fill:#FFFFFF}.fill-black{fill:#000000}.fill-red{fill:red}.background-colour-hover-primary:hover,.background-colour-primary{background-color:#2C089B}.background-colour-hover-secondary:hover,.background-colour-secondary{background-color:#2AF135}.background-colour-hover-tertiary:hover,.background-colour-tertiary{background-color:#FF7272}.background-colour-hover-brand-1:hover,.background-colour-brand-1{background-color:#B30510}.background-colour-hover-brand-2:hover,.background-colour-brand-2{background-color:#6E0887}.background-colour-hover-brand-3:hover,.background-colour-brand-3{background-color:#50B400}.background-colour-hover-brand-4:hover,.background-colour-brand-4{background-color:#FFE500}.background-colour-hover-brand-5:hover,.background-colour-brand-5{background-color:#F07D00}.background-colour-hover-brand-6:hover,.background-colour-brand-6{background-color:#CBC8C8}.background-colour-hover-white:hover,.background-colour-white{background-color:#FFFFFF}.background-colour-hover-black:hover,.background-colour-black{background-color:#000000}.background-colour-transparent{background-color:transparent}.input-wrap{display:flex;justify-content:space-between}.input-text{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;color:#000000;padding:5px 10px;box-sizing:border-box;width:100%}.input-text:focus{outline:0}.input-text:placeholder{color:#4A4A4A}.button{font-size:17px;line-height:24px;padding:10px 30px;border-radius:5px;border:1px solid #000000;background-color:#000000;color:#FFFFFF;display:inline-block;text-decoration:none;text-align:center;transition:all ease-in-out 0.5s;cursor:pointer}.button:hover{background-color:#FFFFFF;color:#000000}.button.size-small{font-size:13px;line-height:17px;padding:5px 15px}.button.button.rounded-true{border-radius:27.5px}.button.button.rounded-true.size-small{border-radius:20px}.button-primary{color:#FFFFFF;background-color:#2C089B;border-color:#2C089B}.button-primary:hover{color:#2C089B;background-color:#FFFFFF}.button-secondary{color:#000000;background-color:#2AF135;border-color:#2AF135}.button-secondary:hover{background-color:#FFFFFF;border-color:#000000}.button-tertiary{color:#FFFFFF;background-color:#FF7272;border-color:#FF7272}.button-tertiary:hover{background-color:#FFFFFF}.button-brand-1{color:#FFFFFF;background-color:#B30510;border-color:#B30510}.button-brand-1:hover{background-color:#FFFFFF}.button-brand-2{color:#FFFFFF;background-color:#6E0887;border-color:#6E0887}.button-brand-2:hover{background-color:#FFFFFF}.button-brand-3{color:#FFFFFF;background-color:#50B400;border-color:#50B400}.button-brand-3:hover{background-color:#FFFFFF}.button-brand-4{color:#FFFFFF;background-color:#FFE500;border-color:#FFE500}.button-brand-4:hover{background-color:#000000}.button-brand-5{color:#FFFFFF;background-color:#F07D00;border-color:#F07D00}.button-brand-5:hover{background-color:#FFFFFF}.button-brand-6{color:#FFFFFF;background-color:#CBC8C8;border-color:#CBC8C8}.button-brand-6:hover{background-color:#000000}.button-white{color:#2C089B;background-color:#FFFFFF;border-color:#FFFFFF}.button-white:hover{color:#FFFFFF;background-color:#2C089B}.button-black{color:#FFFFFF;background-color:#000000;border-color:#000000}.button-black:hover{color:#000000;background-color:#FFFFFF}.button-clear-primary{color:#2C089B;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-primary:hover{text-decoration:none;background-color:transparent}.button-clear-secondary{color:#2AF135;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-secondary:hover{text-decoration:none;background-color:transparent}.button-clear-tertiary{color:#FF7272;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-tertiary:hover{text-decoration:none;background-color:transparent}.button-clear-brand-1{color:#B30510;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-1:hover{text-decoration:none;background-color:transparent}.button-clear-brand-2{color:#6E0887;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-2:hover{text-decoration:none;background-color:transparent}.button-clear-brand-3{color:#50B400;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-3:hover{text-decoration:none;background-color:transparent}.button-clear-brand-4{color:#FFE500;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-4:hover{text-decoration:none;background-color:transparent}.button-clear-brand-5{color:#F07D00;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-5:hover{text-decoration:none;background-color:transparent}.button-clear-brand-6{color:#CBC8C8;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-6:hover{text-decoration:none;background-color:transparent}.button-clear-white{color:#FFFFFF;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-white:hover{color:#FFFFFF;text-decoration:none;background-color:transparent}.button-rounded{border-radius:27.5px}.button-rounded.size-small{border-radius:20px}.progress-bar{display:flex}.progress-bar .slider{margin:auto 15px auto 0;position:relative;flex-grow:1}.progress-bar .slider:before{content:\"\";position:absolute;display:block;top:0;left:0;bottom:0;right:0;background-color:#E8E8E8;border-radius:4px}.progress-bar .slider .progress{position:relative;border-radius:4px;background-color:#000000;height:8px}.progress-bar .counter{font-weight:700;color:#000000;font-size:14px;line-height:18px}.progress-bar-primary .slider .progress{background-color:#2C089B}.progress-bar-primary .counter{color:#2C089B}.progress-bar-secondary .slider .progress{background-color:#2AF135}.progress-bar-secondary .counter{color:#2AF135}.video-wrap{position:relative;padding-bottom:56.25%}.video-wrap iframe,.video-wrap video{position:absolute;border:0;display:block;left:0;right:0;top:0;bottom:0;width:100%;height:100%}.image-wrap img{width:100%;height:auto}.align-left{text-align:left}.align-right{text-align:right}.align-center{text-align:center}.align-justify{text-align:justify}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.horizontal-padding-1{padding-left:5px;padding-right:5px}.horizontal-padding-2{padding-left:10px;padding-right:10px}.horizontal-padding-3{padding-left:15px;padding-right:15px}.horizontal-padding-4{padding-left:30px;padding-right:30px}.horizontal-padding-5{padding-left:45px;padding-right:45px}.horizontal-padding-6{padding-left:60px;padding-right:60px}.vertical-padding-1{padding-top:5px;padding-bottom:5px}.vertical-padding-2{padding-top:10px;padding-bottom:10px}.vertical-padding-3{padding-top:15px;padding-bottom:15px}.vertical-padding-4{padding-top:30px;padding-bottom:30px}.vertical-padding-5{padding-top:45px;padding-bottom:45px}.vertical-padding-6{padding-top:60px;padding-bottom:60px}:host{display:contents}.container{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;background-color:#FFFFFF;padding:25px;box-sizing:border-box;height:fit-content}.container .campaign-title{position:absolute;top:0;left:0;right:0;text-align:center;font-weight:bold}.container .campaign-title span{background-color:#2AF135;color:#000000;padding:5px 15px;display:inline-block}.container .banner{top:0;margin-top:19px;padding-bottom:30.555%;background-color:#F1F1F1;background-size:contain;background-repeat:no-repeat;margin-bottom:30px}.container .banner img{display:none}.container .meta-wrap{display:flex;justify-content:space-between;margin-top:auto;margin-bottom:15px}.container .meta-wrap .meta-item{width:calc(50% - 15px)}.container .meta-wrap .meta-item .label{font-size:13px;line-height:17px;display:block}.container .meta-wrap .meta-item .text{font-size:25px;line-height:32px;font-weight:bold;display:block}@media screen and (max-width: 768px){.container .meta-wrap .meta-item .text{font-size:23px}}@media screen and (max-width: 576px){.container .meta-wrap .meta-item .text{font-size:21px}}@media screen and (max-width: 450px){.container .meta-wrap .meta-item .text{font-size:17px}}.container .meta-wrap .meta-item:last-child{text-align:right}.container .meta-wrap .meta-item:last-child .text{color:#2C089B}.container .progress-bar-wrap{padding-bottom:10px;margin-bottom:10px;border-bottom:1px solid #E8E8E8}.container .stat-wrap{display:flex;justify-content:space-between}.container .stat-wrap .stat-item{font-size:17px;line-height:24px;font-weight:bold;width:calc(50% - 15px);margin:auto 0 auto 15px}.container .stat-wrap .stat-item .label{position:relative;bottom:7px}@media screen and (max-width: 576px){.container .stat-wrap .stat-item{font-size:13px;line-height:17px;margin:auto 0;text-align:center}.container .stat-wrap .stat-item .label{bottom:5px}}.container .stat-wrap .stat-item svg{fill:#FF7272}.container .championed-by{text-align:left;margin-left:20px;margin-top:20px;color:black;font-size:15px}@media screen and (max-width: 768px){.container .championed-by{font-size:14px}}@media screen and (max-width: 576px){.container .championed-by{text-align:center;margin-left:0;margin-bottom:10px;font-size:13px}}@media screen and (max-width: 450px){.container .championed-by{font-size:12px}}.container .championed-by a{text-decoration:none;font-weight:bold;color:#2C089B}@media screen and (max-width: 450px){.container .championed-by a{display:block}}@media screen and (max-width: 576px){.container{padding:15px}}";
|
|
6
6
|
|
|
7
7
|
const BiggiveCampaignHighlights$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
8
8
|
constructor() {
|
|
@@ -10,19 +10,19 @@ const BiggiveCampaignHighlights$1 = /*@__PURE__*/ proxyCustomElement(class exten
|
|
|
10
10
|
this.__registerHost();
|
|
11
11
|
this.__attachShadow();
|
|
12
12
|
this.spaceBelow = 0;
|
|
13
|
-
this.banner =
|
|
14
|
-
this.campaignTitle =
|
|
15
|
-
this.primaryFigureLabel =
|
|
16
|
-
this.primaryFigureAmount =
|
|
17
|
-
this.secondaryFigureLabel =
|
|
18
|
-
this.secondaryFigureAmount =
|
|
13
|
+
this.banner = undefined;
|
|
14
|
+
this.campaignTitle = undefined;
|
|
15
|
+
this.primaryFigureLabel = undefined;
|
|
16
|
+
this.primaryFigureAmount = undefined;
|
|
17
|
+
this.secondaryFigureLabel = undefined;
|
|
18
|
+
this.secondaryFigureAmount = undefined;
|
|
19
19
|
this.progressBarCounter = 100;
|
|
20
|
-
this.primaryStatIcon =
|
|
21
|
-
this.primaryStatText =
|
|
22
|
-
this.secondaryStatIcon =
|
|
23
|
-
this.secondaryStatText =
|
|
24
|
-
this.championName =
|
|
25
|
-
this.championUrl =
|
|
20
|
+
this.primaryStatIcon = undefined;
|
|
21
|
+
this.primaryStatText = undefined;
|
|
22
|
+
this.secondaryStatIcon = undefined;
|
|
23
|
+
this.secondaryStatText = undefined;
|
|
24
|
+
this.championName = undefined;
|
|
25
|
+
this.championUrl = undefined;
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
28
|
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 !== null && this.banner !== undefined ? (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.primaryFigureAmount)), h("div", { class: "meta-item" }, h("span", { class: "label" }, this.secondaryFigureLabel), h("span", { class: "text" }, 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), this.championName != null ? (h("div", { class: "championed-by" }, "Championed by ", h("a", { href: this.championUrl }, this.championName))) : null)));
|
|
@@ -9,8 +9,8 @@ const BiggiveCategoryIcon$1 = /*@__PURE__*/ proxyCustomElement(class extends HTM
|
|
|
9
9
|
this.__registerHost();
|
|
10
10
|
this.backgroundColour = 'primary';
|
|
11
11
|
this.iconColour = 'white';
|
|
12
|
-
this.icon =
|
|
13
|
-
this.label =
|
|
12
|
+
this.icon = undefined;
|
|
13
|
+
this.label = undefined;
|
|
14
14
|
this.url = '#';
|
|
15
15
|
}
|
|
16
16
|
getCategoryIcon() {
|
|
@@ -14,10 +14,10 @@ const BiggiveFormFieldSelectOption = /*@__PURE__*/ proxyCustomElement(class exte
|
|
|
14
14
|
var keyValuePair = { value: this.selectedValue, label: this.selectedLabel };
|
|
15
15
|
this.doOptionSelect.emit(keyValuePair);
|
|
16
16
|
};
|
|
17
|
-
this.selectedValue =
|
|
18
|
-
this.selectedLabel =
|
|
19
|
-
this.label =
|
|
20
|
-
this.value =
|
|
17
|
+
this.selectedValue = undefined;
|
|
18
|
+
this.selectedLabel = undefined;
|
|
19
|
+
this.label = undefined;
|
|
20
|
+
this.value = undefined;
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
23
|
return (h("div", { class: "option", "data-value": this.value, onClick: this.optionSelected }, this.label));
|