@biggive/components 1.0.192 → 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 +75 -69
- 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.js +2 -1
- 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 +2 -1
- 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 +75 -69
- 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 +99 -93
- package/package.json +1 -1
- package/dist/biggive/p-0bad0e6e.entry.js +0 -1
- package/dist/biggive/p-4edb9703.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-b892b1d6.entry.js +0 -1
- package/dist/biggive/p-ee001f1e.entry.js +0 -1
- package/dist/biggive/p-ee8d5a11.entry.js +0 -1
package/dist/collection/components/biggive-campaign-highlights/biggive-campaign-highlights.js
CHANGED
|
@@ -2,19 +2,19 @@ import { h } from '@stencil/core';
|
|
|
2
2
|
export class BiggiveCampaignHighlights {
|
|
3
3
|
constructor() {
|
|
4
4
|
this.spaceBelow = 0;
|
|
5
|
-
this.banner =
|
|
6
|
-
this.campaignTitle =
|
|
7
|
-
this.primaryFigureLabel =
|
|
8
|
-
this.primaryFigureAmount =
|
|
9
|
-
this.secondaryFigureLabel =
|
|
10
|
-
this.secondaryFigureAmount =
|
|
5
|
+
this.banner = undefined;
|
|
6
|
+
this.campaignTitle = undefined;
|
|
7
|
+
this.primaryFigureLabel = undefined;
|
|
8
|
+
this.primaryFigureAmount = undefined;
|
|
9
|
+
this.secondaryFigureLabel = undefined;
|
|
10
|
+
this.secondaryFigureAmount = undefined;
|
|
11
11
|
this.progressBarCounter = 100;
|
|
12
|
-
this.primaryStatIcon =
|
|
13
|
-
this.primaryStatText =
|
|
14
|
-
this.secondaryStatIcon =
|
|
15
|
-
this.secondaryStatText =
|
|
16
|
-
this.championName =
|
|
17
|
-
this.championUrl =
|
|
12
|
+
this.primaryStatIcon = undefined;
|
|
13
|
+
this.primaryStatText = undefined;
|
|
14
|
+
this.secondaryStatIcon = undefined;
|
|
15
|
+
this.secondaryStatText = undefined;
|
|
16
|
+
this.championName = undefined;
|
|
17
|
+
this.championUrl = undefined;
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
20
|
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)));
|
|
@@ -66,8 +66,7 @@ export class BiggiveCampaignHighlights {
|
|
|
66
66
|
"text": "Full URL of a banner image."
|
|
67
67
|
},
|
|
68
68
|
"attribute": "banner",
|
|
69
|
-
"reflect": false
|
|
70
|
-
"defaultValue": "null"
|
|
69
|
+
"reflect": false
|
|
71
70
|
},
|
|
72
71
|
"campaignTitle": {
|
|
73
72
|
"type": "string",
|
|
@@ -84,8 +83,7 @@ export class BiggiveCampaignHighlights {
|
|
|
84
83
|
"text": "Display name of the charity's specific time-bound fundraising campaign."
|
|
85
84
|
},
|
|
86
85
|
"attribute": "campaign-title",
|
|
87
|
-
"reflect": false
|
|
88
|
-
"defaultValue": "null"
|
|
86
|
+
"reflect": false
|
|
89
87
|
},
|
|
90
88
|
"primaryFigureLabel": {
|
|
91
89
|
"type": "string",
|
|
@@ -102,8 +100,7 @@ export class BiggiveCampaignHighlights {
|
|
|
102
100
|
"text": "Label for the primary figure"
|
|
103
101
|
},
|
|
104
102
|
"attribute": "primary-figure-label",
|
|
105
|
-
"reflect": false
|
|
106
|
-
"defaultValue": "null"
|
|
103
|
+
"reflect": false
|
|
107
104
|
},
|
|
108
105
|
"primaryFigureAmount": {
|
|
109
106
|
"type": "string",
|
|
@@ -120,8 +117,7 @@ export class BiggiveCampaignHighlights {
|
|
|
120
117
|
"text": "Amount for the primary figure, formatted with currency symbol"
|
|
121
118
|
},
|
|
122
119
|
"attribute": "primary-figure-amount",
|
|
123
|
-
"reflect": false
|
|
124
|
-
"defaultValue": "null"
|
|
120
|
+
"reflect": false
|
|
125
121
|
},
|
|
126
122
|
"secondaryFigureLabel": {
|
|
127
123
|
"type": "string",
|
|
@@ -138,8 +134,7 @@ export class BiggiveCampaignHighlights {
|
|
|
138
134
|
"text": "Label for the secondary figure"
|
|
139
135
|
},
|
|
140
136
|
"attribute": "secondary-figure-label",
|
|
141
|
-
"reflect": false
|
|
142
|
-
"defaultValue": "null"
|
|
137
|
+
"reflect": false
|
|
143
138
|
},
|
|
144
139
|
"secondaryFigureAmount": {
|
|
145
140
|
"type": "string",
|
|
@@ -156,8 +151,7 @@ export class BiggiveCampaignHighlights {
|
|
|
156
151
|
"text": "Amount for the secondary figure, formatted with currency symbol"
|
|
157
152
|
},
|
|
158
153
|
"attribute": "secondary-figure-amount",
|
|
159
|
-
"reflect": false
|
|
160
|
-
"defaultValue": "null"
|
|
154
|
+
"reflect": false
|
|
161
155
|
},
|
|
162
156
|
"progressBarCounter": {
|
|
163
157
|
"type": "number",
|
|
@@ -192,8 +186,7 @@ export class BiggiveCampaignHighlights {
|
|
|
192
186
|
"text": "Primary stat icon"
|
|
193
187
|
},
|
|
194
188
|
"attribute": "primary-stat-icon",
|
|
195
|
-
"reflect": false
|
|
196
|
-
"defaultValue": "null"
|
|
189
|
+
"reflect": false
|
|
197
190
|
},
|
|
198
191
|
"primaryStatText": {
|
|
199
192
|
"type": "string",
|
|
@@ -210,8 +203,7 @@ export class BiggiveCampaignHighlights {
|
|
|
210
203
|
"text": "Primary stat text"
|
|
211
204
|
},
|
|
212
205
|
"attribute": "primary-stat-text",
|
|
213
|
-
"reflect": false
|
|
214
|
-
"defaultValue": "null"
|
|
206
|
+
"reflect": false
|
|
215
207
|
},
|
|
216
208
|
"secondaryStatIcon": {
|
|
217
209
|
"type": "string",
|
|
@@ -228,8 +220,7 @@ export class BiggiveCampaignHighlights {
|
|
|
228
220
|
"text": "Secondary stat icon"
|
|
229
221
|
},
|
|
230
222
|
"attribute": "secondary-stat-icon",
|
|
231
|
-
"reflect": false
|
|
232
|
-
"defaultValue": "null"
|
|
223
|
+
"reflect": false
|
|
233
224
|
},
|
|
234
225
|
"secondaryStatText": {
|
|
235
226
|
"type": "string",
|
|
@@ -246,8 +237,7 @@ export class BiggiveCampaignHighlights {
|
|
|
246
237
|
"text": "Secondary stat text"
|
|
247
238
|
},
|
|
248
239
|
"attribute": "secondary-stat-text",
|
|
249
|
-
"reflect": false
|
|
250
|
-
"defaultValue": "null"
|
|
240
|
+
"reflect": false
|
|
251
241
|
},
|
|
252
242
|
"championName": {
|
|
253
243
|
"type": "string",
|
|
@@ -264,8 +254,7 @@ export class BiggiveCampaignHighlights {
|
|
|
264
254
|
"text": "Champion's name"
|
|
265
255
|
},
|
|
266
256
|
"attribute": "champion-name",
|
|
267
|
-
"reflect": false
|
|
268
|
-
"defaultValue": "null"
|
|
257
|
+
"reflect": false
|
|
269
258
|
},
|
|
270
259
|
"championUrl": {
|
|
271
260
|
"type": "string",
|
|
@@ -282,8 +271,7 @@ export class BiggiveCampaignHighlights {
|
|
|
282
271
|
"text": "Link to all meta-campaigns funded by this champion.\nFor example: /christmas-challenge-2022/the-reed-foundation-22\nIn other words, it follows the following format:\n'/' + campaign.parentRef + '/' + campaign.championRef"
|
|
283
272
|
},
|
|
284
273
|
"attribute": "champion-url",
|
|
285
|
-
"reflect": false
|
|
286
|
-
"defaultValue": "null"
|
|
274
|
+
"reflect": false
|
|
287
275
|
}
|
|
288
276
|
};
|
|
289
277
|
}
|
|
@@ -4,8 +4,8 @@ export class BiggiveCategoryIcon {
|
|
|
4
4
|
constructor() {
|
|
5
5
|
this.backgroundColour = 'primary';
|
|
6
6
|
this.iconColour = 'white';
|
|
7
|
-
this.icon =
|
|
8
|
-
this.label =
|
|
7
|
+
this.icon = undefined;
|
|
8
|
+
this.label = undefined;
|
|
9
9
|
this.url = '#';
|
|
10
10
|
}
|
|
11
11
|
getCategoryIcon() {
|
|
@@ -79,8 +79,7 @@ export class BiggiveCategoryIcon {
|
|
|
79
79
|
"text": "Icon"
|
|
80
80
|
},
|
|
81
81
|
"attribute": "icon",
|
|
82
|
-
"reflect": false
|
|
83
|
-
"defaultValue": "null"
|
|
82
|
+
"reflect": false
|
|
84
83
|
},
|
|
85
84
|
"label": {
|
|
86
85
|
"type": "string",
|
|
@@ -97,8 +96,7 @@ export class BiggiveCategoryIcon {
|
|
|
97
96
|
"text": "Label"
|
|
98
97
|
},
|
|
99
98
|
"attribute": "label",
|
|
100
|
-
"reflect": false
|
|
101
|
-
"defaultValue": "null"
|
|
99
|
+
"reflect": false
|
|
102
100
|
},
|
|
103
101
|
"url": {
|
|
104
102
|
"type": "string",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { h } from '@stencil/core';
|
|
2
2
|
export class BiggiveFormFieldSelect {
|
|
3
3
|
constructor() {
|
|
4
|
-
this.selectedValue =
|
|
5
|
-
this.selectedLabel =
|
|
4
|
+
this.selectedValue = undefined;
|
|
5
|
+
this.selectedLabel = undefined;
|
|
6
6
|
this.spaceBelow = 0;
|
|
7
|
-
this.placeholder =
|
|
7
|
+
this.placeholder = undefined;
|
|
8
8
|
}
|
|
9
9
|
doOptionSelectCompletedHandler(event) {
|
|
10
10
|
this.selectedValue = event.detail.value;
|
|
@@ -51,8 +51,8 @@ export class BiggiveFormFieldSelect {
|
|
|
51
51
|
"type": "string",
|
|
52
52
|
"mutable": false,
|
|
53
53
|
"complexType": {
|
|
54
|
-
"original": "string",
|
|
55
|
-
"resolved": "string",
|
|
54
|
+
"original": "string | null",
|
|
55
|
+
"resolved": "null | string",
|
|
56
56
|
"references": {}
|
|
57
57
|
},
|
|
58
58
|
"required": false,
|
|
@@ -62,15 +62,14 @@ export class BiggiveFormFieldSelect {
|
|
|
62
62
|
"text": ""
|
|
63
63
|
},
|
|
64
64
|
"attribute": "selected-value",
|
|
65
|
-
"reflect": false
|
|
66
|
-
"defaultValue": "null"
|
|
65
|
+
"reflect": false
|
|
67
66
|
},
|
|
68
67
|
"selectedLabel": {
|
|
69
68
|
"type": "string",
|
|
70
69
|
"mutable": false,
|
|
71
70
|
"complexType": {
|
|
72
|
-
"original": "string",
|
|
73
|
-
"resolved": "string",
|
|
71
|
+
"original": "string | null",
|
|
72
|
+
"resolved": "null | string",
|
|
74
73
|
"references": {}
|
|
75
74
|
},
|
|
76
75
|
"required": false,
|
|
@@ -80,8 +79,7 @@ export class BiggiveFormFieldSelect {
|
|
|
80
79
|
"text": ""
|
|
81
80
|
},
|
|
82
81
|
"attribute": "selected-label",
|
|
83
|
-
"reflect": false
|
|
84
|
-
"defaultValue": "null"
|
|
82
|
+
"reflect": false
|
|
85
83
|
},
|
|
86
84
|
"spaceBelow": {
|
|
87
85
|
"type": "number",
|
|
@@ -116,8 +114,7 @@ export class BiggiveFormFieldSelect {
|
|
|
116
114
|
"text": "Placeholder"
|
|
117
115
|
},
|
|
118
116
|
"attribute": "placeholder",
|
|
119
|
-
"reflect": false
|
|
120
|
-
"defaultValue": "null"
|
|
117
|
+
"reflect": false
|
|
121
118
|
}
|
|
122
119
|
};
|
|
123
120
|
}
|
|
@@ -7,10 +7,10 @@ export class BiggiveFormFieldSelectOption {
|
|
|
7
7
|
var keyValuePair = { value: this.selectedValue, label: this.selectedLabel };
|
|
8
8
|
this.doOptionSelect.emit(keyValuePair);
|
|
9
9
|
};
|
|
10
|
-
this.selectedValue =
|
|
11
|
-
this.selectedLabel =
|
|
12
|
-
this.label =
|
|
13
|
-
this.value =
|
|
10
|
+
this.selectedValue = undefined;
|
|
11
|
+
this.selectedLabel = undefined;
|
|
12
|
+
this.label = undefined;
|
|
13
|
+
this.value = undefined;
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
16
|
return (h("div", { class: "option", "data-value": this.value, onClick: this.optionSelected }, this.label));
|
|
@@ -44,8 +44,7 @@ export class BiggiveFormFieldSelectOption {
|
|
|
44
44
|
"text": "Label"
|
|
45
45
|
},
|
|
46
46
|
"attribute": "label",
|
|
47
|
-
"reflect": false
|
|
48
|
-
"defaultValue": "null"
|
|
47
|
+
"reflect": false
|
|
49
48
|
},
|
|
50
49
|
"value": {
|
|
51
50
|
"type": "string",
|
|
@@ -62,8 +61,7 @@ export class BiggiveFormFieldSelectOption {
|
|
|
62
61
|
"text": "Value"
|
|
63
62
|
},
|
|
64
63
|
"attribute": "value",
|
|
65
|
-
"reflect": false
|
|
66
|
-
"defaultValue": "null"
|
|
64
|
+
"reflect": false
|
|
67
65
|
}
|
|
68
66
|
};
|
|
69
67
|
}
|
|
@@ -4,19 +4,19 @@ export class BiggiveHeroImage {
|
|
|
4
4
|
constructor() {
|
|
5
5
|
this.spaceBelow = 0;
|
|
6
6
|
this.colourScheme = 'primary';
|
|
7
|
-
this.slug =
|
|
8
|
-
this.slugColour =
|
|
7
|
+
this.slug = undefined;
|
|
8
|
+
this.slugColour = undefined;
|
|
9
9
|
this.logo = '';
|
|
10
10
|
this.logoAltText = '';
|
|
11
11
|
this.mainImage = null;
|
|
12
12
|
this.mainImageAlignHorizontal = 'center';
|
|
13
13
|
this.mainImageAlignVertical = 'center';
|
|
14
|
-
this.mainTitle =
|
|
15
|
-
this.mainTitleColour =
|
|
16
|
-
this.teaser =
|
|
17
|
-
this.teaserColour =
|
|
18
|
-
this.buttonUrl =
|
|
19
|
-
this.buttonLabel =
|
|
14
|
+
this.mainTitle = undefined;
|
|
15
|
+
this.mainTitleColour = undefined;
|
|
16
|
+
this.teaser = undefined;
|
|
17
|
+
this.teaserColour = undefined;
|
|
18
|
+
this.buttonUrl = undefined;
|
|
19
|
+
this.buttonLabel = undefined;
|
|
20
20
|
this.buttonColourScheme = 'primary';
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
@@ -89,8 +89,7 @@ export class BiggiveHeroImage {
|
|
|
89
89
|
"text": "Header slug"
|
|
90
90
|
},
|
|
91
91
|
"attribute": "slug",
|
|
92
|
-
"reflect": false
|
|
93
|
-
"defaultValue": "null"
|
|
92
|
+
"reflect": false
|
|
94
93
|
},
|
|
95
94
|
"slugColour": {
|
|
96
95
|
"type": "string",
|
|
@@ -107,8 +106,7 @@ export class BiggiveHeroImage {
|
|
|
107
106
|
"text": "Header slug colour"
|
|
108
107
|
},
|
|
109
108
|
"attribute": "slug-colour",
|
|
110
|
-
"reflect": false
|
|
111
|
-
"defaultValue": "null"
|
|
109
|
+
"reflect": false
|
|
112
110
|
},
|
|
113
111
|
"logo": {
|
|
114
112
|
"type": "string",
|
|
@@ -151,7 +149,7 @@ export class BiggiveHeroImage {
|
|
|
151
149
|
"mutable": false,
|
|
152
150
|
"complexType": {
|
|
153
151
|
"original": "string|null",
|
|
154
|
-
"resolved": "string",
|
|
152
|
+
"resolved": "null | string",
|
|
155
153
|
"references": {}
|
|
156
154
|
},
|
|
157
155
|
"required": false,
|
|
@@ -215,8 +213,7 @@ export class BiggiveHeroImage {
|
|
|
215
213
|
"text": "Hero image title, typically the page."
|
|
216
214
|
},
|
|
217
215
|
"attribute": "main-title",
|
|
218
|
-
"reflect": false
|
|
219
|
-
"defaultValue": "null"
|
|
216
|
+
"reflect": false
|
|
220
217
|
},
|
|
221
218
|
"mainTitleColour": {
|
|
222
219
|
"type": "string",
|
|
@@ -233,8 +230,7 @@ export class BiggiveHeroImage {
|
|
|
233
230
|
"text": "Main title colour"
|
|
234
231
|
},
|
|
235
232
|
"attribute": "main-title-colour",
|
|
236
|
-
"reflect": false
|
|
237
|
-
"defaultValue": "null"
|
|
233
|
+
"reflect": false
|
|
238
234
|
},
|
|
239
235
|
"teaser": {
|
|
240
236
|
"type": "string",
|
|
@@ -251,8 +247,7 @@ export class BiggiveHeroImage {
|
|
|
251
247
|
"text": "Introductory teaser text"
|
|
252
248
|
},
|
|
253
249
|
"attribute": "teaser",
|
|
254
|
-
"reflect": false
|
|
255
|
-
"defaultValue": "null"
|
|
250
|
+
"reflect": false
|
|
256
251
|
},
|
|
257
252
|
"teaserColour": {
|
|
258
253
|
"type": "string",
|
|
@@ -269,8 +264,7 @@ export class BiggiveHeroImage {
|
|
|
269
264
|
"text": "Teaser colour"
|
|
270
265
|
},
|
|
271
266
|
"attribute": "teaser-colour",
|
|
272
|
-
"reflect": false
|
|
273
|
-
"defaultValue": "null"
|
|
267
|
+
"reflect": false
|
|
274
268
|
},
|
|
275
269
|
"buttonUrl": {
|
|
276
270
|
"type": "string",
|
|
@@ -287,8 +281,7 @@ export class BiggiveHeroImage {
|
|
|
287
281
|
"text": "Button Url"
|
|
288
282
|
},
|
|
289
283
|
"attribute": "button-url",
|
|
290
|
-
"reflect": false
|
|
291
|
-
"defaultValue": "null"
|
|
284
|
+
"reflect": false
|
|
292
285
|
},
|
|
293
286
|
"buttonLabel": {
|
|
294
287
|
"type": "string",
|
|
@@ -305,8 +298,7 @@ export class BiggiveHeroImage {
|
|
|
305
298
|
"text": "Button Label"
|
|
306
299
|
},
|
|
307
300
|
"attribute": "button-label",
|
|
308
|
-
"reflect": false
|
|
309
|
-
"defaultValue": "null"
|
|
301
|
+
"reflect": false
|
|
310
302
|
},
|
|
311
303
|
"buttonColourScheme": {
|
|
312
304
|
"type": "string",
|
|
@@ -2,7 +2,7 @@ import { h } from '@stencil/core';
|
|
|
2
2
|
export class BiggiveIconGroup {
|
|
3
3
|
constructor() {
|
|
4
4
|
this.spaceBelow = 0;
|
|
5
|
-
this.label =
|
|
5
|
+
this.label = undefined;
|
|
6
6
|
}
|
|
7
7
|
render() {
|
|
8
8
|
return (h("div", { class: 'container space-below-' + this.spaceBelow }, this.label != null ? h("div", { class: "label" }, this.label) : null, h("div", { class: "sleeve" }, h("slot", null))));
|
|
@@ -54,8 +54,7 @@ export class BiggiveIconGroup {
|
|
|
54
54
|
"text": "Label"
|
|
55
55
|
},
|
|
56
56
|
"attribute": "label",
|
|
57
|
-
"reflect": false
|
|
58
|
-
"defaultValue": "null"
|
|
57
|
+
"reflect": false
|
|
59
58
|
}
|
|
60
59
|
};
|
|
61
60
|
}
|
|
@@ -5,14 +5,14 @@ export class BiggiveImageFeature {
|
|
|
5
5
|
this.defaultTextColour = 'primary';
|
|
6
6
|
this.imageUrl = '';
|
|
7
7
|
this.imageAltText = '';
|
|
8
|
-
this.slug =
|
|
8
|
+
this.slug = undefined;
|
|
9
9
|
this.slugColour = '';
|
|
10
|
-
this.mainTitle =
|
|
10
|
+
this.mainTitle = undefined;
|
|
11
11
|
this.mainTitleColour = '';
|
|
12
|
-
this.teaser =
|
|
12
|
+
this.teaser = undefined;
|
|
13
13
|
this.teaserColour = '';
|
|
14
|
-
this.buttonUrl =
|
|
15
|
-
this.buttonLabel =
|
|
14
|
+
this.buttonUrl = undefined;
|
|
15
|
+
this.buttonLabel = undefined;
|
|
16
16
|
this.buttonColourScheme = 'primary';
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
@@ -119,8 +119,7 @@ export class BiggiveImageFeature {
|
|
|
119
119
|
"text": "Slug"
|
|
120
120
|
},
|
|
121
121
|
"attribute": "slug",
|
|
122
|
-
"reflect": false
|
|
123
|
-
"defaultValue": "null"
|
|
122
|
+
"reflect": false
|
|
124
123
|
},
|
|
125
124
|
"slugColour": {
|
|
126
125
|
"type": "string",
|
|
@@ -155,8 +154,7 @@ export class BiggiveImageFeature {
|
|
|
155
154
|
"text": "Video title"
|
|
156
155
|
},
|
|
157
156
|
"attribute": "main-title",
|
|
158
|
-
"reflect": false
|
|
159
|
-
"defaultValue": "null"
|
|
157
|
+
"reflect": false
|
|
160
158
|
},
|
|
161
159
|
"mainTitleColour": {
|
|
162
160
|
"type": "string",
|
|
@@ -191,8 +189,7 @@ export class BiggiveImageFeature {
|
|
|
191
189
|
"text": "Introductory teaser text"
|
|
192
190
|
},
|
|
193
191
|
"attribute": "teaser",
|
|
194
|
-
"reflect": false
|
|
195
|
-
"defaultValue": "null"
|
|
192
|
+
"reflect": false
|
|
196
193
|
},
|
|
197
194
|
"teaserColour": {
|
|
198
195
|
"type": "string",
|
|
@@ -227,8 +224,7 @@ export class BiggiveImageFeature {
|
|
|
227
224
|
"text": "Button Url"
|
|
228
225
|
},
|
|
229
226
|
"attribute": "button-url",
|
|
230
|
-
"reflect": false
|
|
231
|
-
"defaultValue": "null"
|
|
227
|
+
"reflect": false
|
|
232
228
|
},
|
|
233
229
|
"buttonLabel": {
|
|
234
230
|
"type": "string",
|
|
@@ -245,8 +241,7 @@ export class BiggiveImageFeature {
|
|
|
245
241
|
"text": "Button Label"
|
|
246
242
|
},
|
|
247
243
|
"attribute": "button-label",
|
|
248
|
-
"reflect": false
|
|
249
|
-
"defaultValue": "null"
|
|
244
|
+
"reflect": false
|
|
250
245
|
},
|
|
251
246
|
"buttonColourScheme": {
|
|
252
247
|
"type": "string",
|
|
@@ -48,8 +48,9 @@ export class BiggiveMainMenu {
|
|
|
48
48
|
componentDidRender() {
|
|
49
49
|
const subMenuElements = this.host.querySelectorAll('.sub-menu');
|
|
50
50
|
subMenuElements.forEach(subMenuElement => {
|
|
51
|
+
var _a;
|
|
51
52
|
// the subMenuLink is a sibling element to the actual sub-menu
|
|
52
|
-
const subMenuLink = subMenuElement.parentElement.querySelector('a');
|
|
53
|
+
const subMenuLink = (_a = subMenuElement.parentElement) === null || _a === void 0 ? void 0 : _a.querySelector('a');
|
|
53
54
|
subMenuLink.onclick = () => {
|
|
54
55
|
const subMenuArrow = subMenuLink.querySelector('.sub-menu-arrow');
|
|
55
56
|
subMenuArrow.classList.toggle('transform-90');
|
|
@@ -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
|
}
|