@biggive/components 202409030852.0.0 → 202409131619.0.0
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-9c79176f.entry.js → p-197f4346.entry.js} +2 -2
- package/dist/biggive/{p-7b31ecab.entry.js → p-26d59dde.entry.js} +2 -2
- package/dist/biggive/p-2bd31925.entry.js +2 -0
- package/dist/biggive/{p-e969f4d4.entry.js → p-31c998e9.entry.js} +2 -2
- package/dist/biggive/{p-52e1d027.entry.js → p-3a70550e.entry.js} +2 -2
- package/dist/biggive/{p-62e13388.entry.js → p-3c106921.entry.js} +2 -2
- package/dist/biggive/{p-19f1231d.entry.js → p-515510b4.entry.js} +2 -2
- package/dist/biggive/{p-a2c75002.entry.js → p-76a72b20.entry.js} +2 -2
- package/dist/biggive/p-85da0744.entry.js +2 -0
- package/dist/biggive/{p-91e47385.entry.js → p-93038246.entry.js} +2 -2
- package/dist/biggive/{p-0db98bc4.entry.js → p-a819de05.entry.js} +2 -2
- package/dist/biggive/p-af799693.entry.js +2 -0
- package/dist/biggive/p-af799693.entry.js.map +1 -0
- package/dist/biggive/{p-6c6e271c.entry.js → p-da3ff44b.entry.js} +2 -2
- package/dist/cjs/biggive-accordion_41.cjs.entry.js +48 -47
- package/dist/cjs/biggive-accordion_41.cjs.entry.js.map +1 -1
- package/dist/cjs/biggive-basic-card.cjs.entry.js +2 -2
- package/dist/cjs/biggive-beneficiary-icon.cjs.entry.js +1 -1
- package/dist/cjs/biggive-boxed-content.cjs.entry.js +2 -2
- package/dist/cjs/biggive-category-icon.cjs.entry.js +1 -1
- package/dist/cjs/biggive-cookie-banner.cjs.entry.js +1 -1
- package/dist/cjs/biggive-form.cjs.entry.js +1 -1
- package/dist/cjs/biggive-icon-group.cjs.entry.js +1 -1
- package/dist/cjs/biggive-image-card.cjs.entry.js +2 -2
- package/dist/cjs/biggive-nav-group.cjs.entry.js +1 -1
- package/dist/cjs/biggive-nav-item.cjs.entry.js +1 -1
- package/dist/cjs/biggive-table.cjs.entry.js +2 -2
- package/dist/cjs/biggive-video.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/biggive-accordion/biggive-accordion.js +1 -1
- package/dist/collection/components/biggive-article-card/biggive-article-card.js +2 -2
- package/dist/collection/components/biggive-back-to-top/biggive-back-to-top.js +1 -1
- package/dist/collection/components/biggive-basic-card/biggive-basic-card.js +2 -2
- package/dist/collection/components/biggive-beneficiary-icon/biggive-beneficiary-icon.js +1 -1
- package/dist/collection/components/biggive-boxed-content/biggive-boxed-content.js +2 -2
- package/dist/collection/components/biggive-branded-image/biggive-branded-image.js +1 -1
- package/dist/collection/components/biggive-button/biggive-button.js +1 -1
- package/dist/collection/components/biggive-call-to-action/biggive-call-to-action.js +1 -1
- package/dist/collection/components/biggive-campaign-card/biggive-campaign-card.js +1 -1
- package/dist/collection/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.js +14 -7
- package/dist/collection/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.js.map +1 -1
- package/dist/collection/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.stories.js +1 -1
- package/dist/collection/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.stories.js.map +1 -1
- package/dist/collection/components/biggive-campaign-highlights/biggive-campaign-highlights.js +1 -1
- package/dist/collection/components/biggive-category-icon/biggive-category-icon.js +1 -1
- package/dist/collection/components/biggive-container-card/biggive-container-card.js +1 -1
- package/dist/collection/components/biggive-cookie-banner/biggive-cookie-banner.js +1 -1
- package/dist/collection/components/biggive-form/biggive-form.js +1 -1
- package/dist/collection/components/biggive-form-field-select/biggive-form-field-select.js +2 -2
- package/dist/collection/components/biggive-formatted-text/biggive-formatted-text.js +1 -1
- package/dist/collection/components/biggive-generic-icon/biggive-generic-icon.js +1 -1
- package/dist/collection/components/biggive-grid/biggive-grid.js +1 -1
- package/dist/collection/components/biggive-heading/biggive-heading.js +1 -1
- package/dist/collection/components/biggive-hero-image/biggive-hero-image.js +2 -2
- package/dist/collection/components/biggive-icon-button/biggive-icon-button.js +2 -2
- package/dist/collection/components/biggive-icon-group/biggive-icon-group.js +1 -1
- package/dist/collection/components/biggive-image/biggive-image.js +1 -1
- package/dist/collection/components/biggive-image-button/biggive-image-button.js +2 -2
- package/dist/collection/components/biggive-image-card/biggive-image-card.js +2 -2
- package/dist/collection/components/biggive-image-feature/biggive-image-feature.js +1 -1
- package/dist/collection/components/biggive-main-menu/biggive-main-menu.js +1 -1
- package/dist/collection/components/biggive-misc-icon/biggive-misc-icon.js +1 -1
- package/dist/collection/components/biggive-nav-group/biggive-nav-group.js +1 -1
- package/dist/collection/components/biggive-nav-item/biggive-nav-item.js +1 -1
- package/dist/collection/components/biggive-page-column/biggive-page-column.js +1 -1
- package/dist/collection/components/biggive-page-columns/biggive-page-columns.js +1 -1
- package/dist/collection/components/biggive-page-section/biggive-page-section.js +2 -2
- package/dist/collection/components/biggive-popup/biggive-popup.js +1 -1
- package/dist/collection/components/biggive-quote/biggive-quote.js +1 -1
- package/dist/collection/components/biggive-sheet/biggive-sheet.js +1 -1
- package/dist/collection/components/biggive-social-icon/biggive-social-icon.js +1 -1
- package/dist/collection/components/biggive-tab/biggive-tab.js +1 -1
- package/dist/collection/components/biggive-tabbed-content/biggive-tabbed-content.js +2 -2
- package/dist/collection/components/biggive-table/biggive-table.js +2 -2
- package/dist/collection/components/biggive-text-input/biggive-text-input.js +1 -1
- package/dist/collection/components/biggive-timeline/biggive-timeline.js +2 -2
- package/dist/collection/components/biggive-totalizer/biggive-totalizer.js +1 -1
- package/dist/collection/components/biggive-totalizer-ticker-item/biggive-totalizer-ticker-item.js +1 -1
- package/dist/collection/components/biggive-video/biggive-video.js +1 -1
- package/dist/collection/components/biggive-video-feature/biggive-video-feature.js +1 -1
- package/dist/components/biggive-accordion.js +1 -1
- package/dist/components/biggive-article-card.js +2 -2
- package/dist/components/biggive-back-to-top.js +1 -1
- package/dist/components/biggive-basic-card.js +2 -2
- package/dist/components/biggive-beneficiary-icon.js +1 -1
- package/dist/components/biggive-boxed-content.js +2 -2
- package/dist/components/biggive-branded-image.js +1 -1
- package/dist/components/biggive-button2.js +1 -1
- package/dist/components/biggive-call-to-action.js +1 -1
- package/dist/components/biggive-campaign-card-filter-grid.js +5 -4
- package/dist/components/biggive-campaign-card-filter-grid.js.map +1 -1
- package/dist/components/biggive-campaign-card.js +1 -1
- package/dist/components/biggive-campaign-highlights.js +1 -1
- package/dist/components/biggive-category-icon.js +1 -1
- package/dist/components/biggive-container-card.js +1 -1
- package/dist/components/biggive-cookie-banner.js +1 -1
- package/dist/components/biggive-form-field-select2.js +2 -2
- package/dist/components/biggive-form.js +1 -1
- package/dist/components/biggive-formatted-text.js +1 -1
- package/dist/components/biggive-generic-icon2.js +1 -1
- package/dist/components/biggive-grid.js +1 -1
- package/dist/components/biggive-heading.js +1 -1
- package/dist/components/biggive-hero-image.js +2 -2
- package/dist/components/biggive-icon-button.js +2 -2
- package/dist/components/biggive-icon-group.js +1 -1
- package/dist/components/biggive-image-button.js +2 -2
- package/dist/components/biggive-image-card.js +2 -2
- package/dist/components/biggive-image-feature.js +1 -1
- package/dist/components/biggive-image.js +1 -1
- package/dist/components/biggive-main-menu.js +1 -1
- package/dist/components/biggive-misc-icon2.js +1 -1
- package/dist/components/biggive-nav-group.js +1 -1
- package/dist/components/biggive-nav-item.js +1 -1
- package/dist/components/biggive-page-column.js +1 -1
- package/dist/components/biggive-page-columns.js +1 -1
- package/dist/components/biggive-page-section.js +2 -2
- package/dist/components/biggive-popup2.js +1 -1
- package/dist/components/biggive-quote.js +1 -1
- package/dist/components/biggive-sheet.js +1 -1
- package/dist/components/biggive-social-icon2.js +1 -1
- package/dist/components/biggive-tab.js +1 -1
- package/dist/components/biggive-tabbed-content.js +2 -2
- package/dist/components/biggive-table.js +2 -2
- package/dist/components/biggive-text-input.js +1 -1
- package/dist/components/biggive-timeline.js +2 -2
- package/dist/components/biggive-totalizer-ticker-item.js +1 -1
- package/dist/components/biggive-totalizer.js +1 -1
- package/dist/components/biggive-video-feature.js +1 -1
- package/dist/components/biggive-video.js +1 -1
- package/dist/esm/biggive-accordion_41.entry.js +48 -47
- package/dist/esm/biggive-accordion_41.entry.js.map +1 -1
- package/dist/esm/biggive-basic-card.entry.js +2 -2
- package/dist/esm/biggive-beneficiary-icon.entry.js +1 -1
- package/dist/esm/biggive-boxed-content.entry.js +2 -2
- package/dist/esm/biggive-category-icon.entry.js +1 -1
- package/dist/esm/biggive-cookie-banner.entry.js +1 -1
- package/dist/esm/biggive-form.entry.js +1 -1
- package/dist/esm/biggive-icon-group.entry.js +1 -1
- package/dist/esm/biggive-image-card.entry.js +2 -2
- package/dist/esm/biggive-nav-group.entry.js +1 -1
- package/dist/esm/biggive-nav-item.entry.js +1 -1
- package/dist/esm/biggive-table.entry.js +2 -2
- package/dist/esm/biggive-video.entry.js +1 -1
- package/dist/types/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.d.ts +10 -1
- package/dist/types/components.d.ts +4 -2
- package/hydrate/index.js +64 -63
- package/hydrate/index.mjs +64 -63
- package/package.json +1 -1
- package/dist/biggive/p-35738fb9.entry.js +0 -2
- package/dist/biggive/p-56bcd870.entry.js +0 -2
- package/dist/biggive/p-cdd16217.entry.js +0 -2
- package/dist/biggive/p-cdd16217.entry.js.map +0 -1
- /package/dist/biggive/{p-9c79176f.entry.js.map → p-197f4346.entry.js.map} +0 -0
- /package/dist/biggive/{p-7b31ecab.entry.js.map → p-26d59dde.entry.js.map} +0 -0
- /package/dist/biggive/{p-35738fb9.entry.js.map → p-2bd31925.entry.js.map} +0 -0
- /package/dist/biggive/{p-e969f4d4.entry.js.map → p-31c998e9.entry.js.map} +0 -0
- /package/dist/biggive/{p-52e1d027.entry.js.map → p-3a70550e.entry.js.map} +0 -0
- /package/dist/biggive/{p-62e13388.entry.js.map → p-3c106921.entry.js.map} +0 -0
- /package/dist/biggive/{p-19f1231d.entry.js.map → p-515510b4.entry.js.map} +0 -0
- /package/dist/biggive/{p-a2c75002.entry.js.map → p-76a72b20.entry.js.map} +0 -0
- /package/dist/biggive/{p-56bcd870.entry.js.map → p-85da0744.entry.js.map} +0 -0
- /package/dist/biggive/{p-91e47385.entry.js.map → p-93038246.entry.js.map} +0 -0
- /package/dist/biggive/{p-0db98bc4.entry.js.map → p-a819de05.entry.js.map} +0 -0
- /package/dist/biggive/{p-6c6e271c.entry.js.map → p-da3ff44b.entry.js.map} +0 -0
|
@@ -14,7 +14,7 @@ export class BiggiveMiscIcon {
|
|
|
14
14
|
render() {
|
|
15
15
|
return (
|
|
16
16
|
// Note: the icon name prop is set as a css class too for any styling specific to certain icons
|
|
17
|
-
h("div", { key: '
|
|
17
|
+
h("div", { key: 'a8085209b94d8f6590cb95d5cde22a3cadc2afff', class: 'misc-icon-item background-colour-' + this.backgroundColour + ' ' + this.icon }, h("a", { key: 'f6f7c10479e7dade36a871d956b0637f00921daa', href: this.url }, h("svg", { key: '2c7002dfa154e9e1abb25cfd0ee6fa3eee5bee26', width: this.getMiscIcon().icon[0], height: this.getMiscIcon().icon[1], xmlns: "http://www.w3.org/2000/svg", class: 'fill-' + this.iconColour, viewBox: '0 0 ' + this.getMiscIcon().icon[0] + ' ' + this.getMiscIcon().icon[1] }, h("path", { key: '16037939b4b6131cb30cbc70c4bd4ef6eaa48d64', d: this.getMiscIcon().icon[4].toString() })))));
|
|
18
18
|
}
|
|
19
19
|
static get is() { return "biggive-misc-icon"; }
|
|
20
20
|
static get originalStyleUrls() {
|
|
@@ -4,7 +4,7 @@ export class BiggiveNavGroup {
|
|
|
4
4
|
this.inline = true;
|
|
5
5
|
}
|
|
6
6
|
render() {
|
|
7
|
-
return (h("ul", { key: '
|
|
7
|
+
return (h("ul", { key: '49b2376d24d37ac7af1ab8d499d166baf4268a03' }, h("slot", { key: 'b15cfcc1791660ced330af8cf471332f7ca10f49' })));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "biggive-nav-group"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -6,7 +6,7 @@ export class BiggiveNavItem {
|
|
|
6
6
|
this.iconColour = undefined;
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return (h("li", { key: '
|
|
9
|
+
return (h("li", { key: '090f304495cea3310a9e00e33b66a5beb70b0bbc', class: 'icon-' + this.iconColour }, h("a", { key: '7ed939de7267b6fd0c24cb7f34e1683594031cba', href: this.url }, this.label), h("slot", { key: 'f2cd30f28afe1bb4f63d30f658cb1866b9cee98a' })));
|
|
10
10
|
}
|
|
11
11
|
static get is() { return "biggive-nav-item"; }
|
|
12
12
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
export class BiggivePageColumn {
|
|
3
3
|
render() {
|
|
4
|
-
return h("slot", { key: '
|
|
4
|
+
return h("slot", { key: 'd2546560d2f14e76bcbd65c64709e430fe2a2fe6' });
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "biggive-page-column"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,7 +4,7 @@ export class BiggivePageColumns {
|
|
|
4
4
|
this.spaceBelow = 0;
|
|
5
5
|
}
|
|
6
6
|
render() {
|
|
7
|
-
return (h("div", { key: '
|
|
7
|
+
return (h("div", { key: '60631e47b2144d93e2e7a12dece4e48b110f66ce', class: 'container space-below-' + this.spaceBelow }, h("div", { key: 'b4049839d4ec173bbb705fa99fa5b7295d7fcd58', class: "columns" }, h("div", { key: 'a4364f0c4e0546e83fa9a76d466d58f039d9e02c', class: "column-primary" }, h("slot", { key: '0c7d1513625f86ea2048460c58149944f2019fa3', name: "column-primary" })), h("div", { key: 'c6b0304d09844ce0c0470ed67c3e1a19dcba7dca', class: "column-secondary" }, h("slot", { key: '5967f00eeeed8d7b4cf6121ae68bf5b83ed2d623', name: "column-secondary" })))));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "biggive-page-columns"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -9,7 +9,7 @@ export class BiggivePageSection {
|
|
|
9
9
|
this.primaryFullBleed = false;
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h("div", { key: '
|
|
12
|
+
return (h("div", { key: 'd6da265a26ba6b2b4f1d9aafd582e9b8b55260d0', class: 'container max-width-' +
|
|
13
13
|
this.maxWidth +
|
|
14
14
|
' space-below-' +
|
|
15
15
|
this.spaceBelow +
|
|
@@ -19,7 +19,7 @@ export class BiggivePageSection {
|
|
|
19
19
|
this.sectionStyleTop +
|
|
20
20
|
' style-bottom-' +
|
|
21
21
|
this.sectionStyleBottom +
|
|
22
|
-
(this.primaryFullBleed ? ' full-bleed' : '') }, h("div", { key: '
|
|
22
|
+
(this.primaryFullBleed ? ' full-bleed' : '') }, h("div", { key: '928e94b7e1103157c05aeefa228e68d65b8aa64c', class: "sleeve" }, h("slot", { key: '6a350eead511d672a8b457496ae4fc3a4be5a96d' }))));
|
|
23
23
|
}
|
|
24
24
|
static get is() { return "biggive-page-section"; }
|
|
25
25
|
static get encapsulation() { return "shadow"; }
|
|
@@ -21,7 +21,7 @@ export class BiggivePopup {
|
|
|
21
21
|
this.modalClosedCallback();
|
|
22
22
|
}
|
|
23
23
|
render() {
|
|
24
|
-
return (h("div", { key: '
|
|
24
|
+
return (h("div", { key: '20a9bb90830a7743f357a23fc559afeecb5c2de7', class: "popup", ref: el => (this.popup = el), tabindex: "-1", onClick: this.closeFromWithin }, h("div", { key: 'cf4ec70a02e11fd14c66ed3bfdda3f8e291246de', class: "sleeve" }, h("div", { key: '2ef72d4352563ac6a8c9875ca1f437a443ebd31b', class: "header" }, h("div", { key: '6aba1f5c83e19a14f6d3dda6a6ed0ca0da917be7', class: "close", onClick: this.closeFromWithin })), h("div", { key: '247cba7880c6fea46f195e3c18c529a50666caf6', class: "content" }, h("slot", { key: 'ff6af85fc717850baf0c628cf699e488ca0cc77b' })))));
|
|
25
25
|
}
|
|
26
26
|
static get is() { return "biggive-popup"; }
|
|
27
27
|
static get encapsulation() { return "shadow"; }
|
|
@@ -8,7 +8,7 @@ export class BiggiveQuote {
|
|
|
8
8
|
this.quoteIconColour = 'primary';
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h("div", { key: '
|
|
11
|
+
return (h("div", { key: '9847b2d3312706d18b3af25541f04a2d93d1974c', class: 'container text-colour-' + this.defaultTextColour + ' quote-icon-colour-' + this.quoteIconColour + ' space-below-' + this.spaceBelow }, h("div", { key: '256ee8682b6d9c02ae561d72f679bce5530a898b', class: "image-wrap" }, h("svg", { key: '07d120bbc2f2663a55ee8f64493441edf5f50352', width: "34", height: "24", viewBox: "0 0 34 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '6d6e4e1bf9e354ed6691265e55b3dcb3c00a7be5', d: "M16.1245 0L13.7167 24H0L11.0901 0H16.1245ZM34 0L31.5923 24H17.8755L28.9657 0H34Z", fill: "#2C089B" }))), h("div", { key: 'c0706d1cd545c2df76e68e87f92fa19af6fcecdf', class: "quote" }, "\u201C", this.quote, "\u201D"), h("div", { key: 'f7e316aa80174eb9e9651ddec3b8b4cdd6ff49f4', class: "attribution" }, " - ", this.attribution)));
|
|
12
12
|
}
|
|
13
13
|
static get is() { return "biggive-quote"; }
|
|
14
14
|
static get encapsulation() { return "shadow"; }
|
|
@@ -25,7 +25,7 @@ export class BiggiveSheet {
|
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
|
-
return (h("div", { key: '
|
|
28
|
+
return (h("div", { key: 'bde8a97099bb910c5b759d741795d0e22ada0c09', class: 'container' }, h("div", { key: '6bdb2b01dba578b007505fad5ac91c497c0e5c4b', class: "background" }), h("div", { key: '2738e6c13941121971cfad2ac4311f0b08e33501', class: 'popup background-colour-' + this.backgroundColour + ' text-colour-' + this.textColour }, h("div", { key: 'b639498b4aa99e8c9c55786eb653c5692756bef0', class: "header" }, h("div", { key: '8e50adb78481b0f4bb8580d8f4b7b82d11fee952', class: "back-link", onClick: this.closeSheet }, h("span", { key: '241cdd0dfb3acbc31541e60c68973e40b5d25be3', class: 'svg-wrap colour-' + this.textColour }, h("svg", { key: '8aa093cc5cc3fc15d496b4121dbe8bdf58148de8', width: "33", height: "16", viewBox: "0 0 33 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '913fc778a36f5a2f7cd621b41a4b7b04e3c9686d', d: "M0.292892 7.29289C-0.0976295 7.68342 -0.0976295 8.31658 0.292892 8.70711L6.65685 15.0711C7.04738 15.4616 7.68054 15.4616 8.07107 15.0711C8.46159 14.6805 8.46159 14.0474 8.07107 13.6569L2.41421 8L8.07107 2.34315C8.46159 1.95262 8.46159 1.31946 8.07107 0.928932C7.68054 0.538408 7.04738 0.538408 6.65685 0.928932L0.292892 7.29289ZM33 7L1 7V9L33 9V7Z", fill: "black" }))), "Back"), h("div", { key: '56ab22551b9bd50fc41c09b220366d024a5008dc', class: "close-link", onClick: this.closeSheet }, h("span", { key: '47c3d08f67e2152ccdd7eb271e4da60c8235bd2b', class: "svg-wrap" }, h("svg", { key: '0b84a6310fc3d770cfff6cfe267b35fa242cc8f6', width: "24", height: "24", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '1ae5c349a1058e6e1ebc52425b280235d74db1b9', d: "M11 11v-11h1v11h11v1h-11v11h-1v-11h-11v-1h11z" }))))), h("div", { key: 'a1d2138b2a0d141110da9645e62f17570a9467ad', class: "content" }, h("slot", { key: '38f8ea1eaac88a1f29f8b66b0eb0024f03d6a8e0' })))));
|
|
29
29
|
}
|
|
30
30
|
static get is() { return "biggive-sheet"; }
|
|
31
31
|
static get encapsulation() { return "shadow"; }
|
|
@@ -17,7 +17,7 @@ export class BiggiveSocialIcon {
|
|
|
17
17
|
return icon;
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (h("div", { key: '
|
|
20
|
+
return (h("div", { key: '97a40f92ee2cb2db743f1b7d9f57cac6bc5d17b0', class: 'social-icon-item background-colour-' + this.backgroundColour + (this.wide ? ' wide' : '') }, h("a", { key: '867fcb4b62a42c776e8edfddfb70cb2aface9ab8', href: this.url, "aria-label": `${this.labelPrefix} on ${this.service}`, target: "_blank", rel: "noopener" }, h("svg", { key: '13f283cf3820abb91d0dbed7fb7a2e05ab5ac161', width: this.getSocialIcon().icon[0], height: this.getSocialIcon().icon[1], xmlns: "http://www.w3.org/2000/svg", class: 'fill-' + this.iconColour, viewBox: '0 0 ' + this.getSocialIcon().icon[0] + ' ' + this.getSocialIcon().icon[1] }, h("path", { key: '0bc8f49718f0429d84d6a7be001004e880c46edf', d: this.getSocialIcon().icon[4].toString() })))));
|
|
21
21
|
}
|
|
22
22
|
static get is() { return "biggive-social-icon"; }
|
|
23
23
|
static get originalStyleUrls() {
|
|
@@ -4,7 +4,7 @@ export class BiggiveTab {
|
|
|
4
4
|
this.tabTitle = '';
|
|
5
5
|
}
|
|
6
6
|
render() {
|
|
7
|
-
return (h("div", { key: '
|
|
7
|
+
return (h("div", { key: 'beec549da689fcca90c1caa2c467334ac262696a', class: "container" }, h("slot", { key: '9c598adc54c0e03a9b0dd67733e4fd482331c115' })));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "biggive-tab"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -103,7 +103,7 @@ export class BiggiveTabbedContent {
|
|
|
103
103
|
});
|
|
104
104
|
}
|
|
105
105
|
render() {
|
|
106
|
-
return (h("div", { key: '
|
|
106
|
+
return (h("div", { key: '5cfdf6348cfdf690e355bbf7594aecd110f7f8bf', class: 'container space-below-' +
|
|
107
107
|
this.spaceBelow +
|
|
108
108
|
' text-colour-' +
|
|
109
109
|
this.textColour +
|
|
@@ -116,7 +116,7 @@ export class BiggiveTabbedContent {
|
|
|
116
116
|
' button-background-colour-' +
|
|
117
117
|
this.buttonBackgroundColour +
|
|
118
118
|
' button-icon-colour-' +
|
|
119
|
-
this.buttonIconColour }, h("div", { key: '
|
|
119
|
+
this.buttonIconColour }, h("div", { key: '979cabf49033a13102b29f8aa508410e9e41c907', class: "navigation" }, h("div", { key: '2a250fb9100be79e1d467034c56023f98fcd79b6', class: "button prev", onClick: this.clickPrevHandler, title: "Previous" }, h("svg", { key: 'c214160d98a9e8d05654299400c664b8fe0ee2fc', width: "9", height: "16", viewBox: "0 0 9 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'cefbefddbf0220769a82791f0cebea8f2f7e68ec', d: "M8.29311 14.5703L1.73926 8.01646L8.29311 1.46261", stroke: "#000000", "stroke-width": "2" }))), h("div", { key: '7f7164cd0974134a06bfd3a794fa34a1785569b7', class: "sleeve" }, h("ul", { key: 'ed84d06909f9e38cc70be56a9af53bcc092bf835' }, this.children.map(child => (h("li", { onClick: this.clickTabHandler }, child.tabTitle))))), h("div", { key: 'b390e57bfc6ee90253a93f338aa0620b58b4d351', class: "button next", onClick: this.clickNextHandler, title: "Next" }, h("svg", { key: '06e907d2b6409bbee1d39db9ccede943a812deaf', width: "9", height: "16", viewBox: "0 0 9 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '352d25161fdefee071c4722c7a846b8697d186d8', d: "M0.739117 1.46094L7.29297 8.01479L0.739118 14.5686", stroke: "#000000", "stroke-width": "2" })))), h("slot", { key: '1f9db4f0b399a24d4cc35e3130dfa78fb2474b17' })));
|
|
120
120
|
}
|
|
121
121
|
static get is() { return "biggive-tabbed-content"; }
|
|
122
122
|
static get encapsulation() { return "shadow"; }
|
|
@@ -8,7 +8,7 @@ export class BiggiveTable {
|
|
|
8
8
|
this.bodyBackgroundColour = 'grey-light';
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h("div", { key: '
|
|
11
|
+
return (h("div", { key: '3113e1e0f25a9484452e48ae77f7f715a997c15b', class: 'container header-text-colour-' +
|
|
12
12
|
this.headerTextColour +
|
|
13
13
|
' header-background-colour-' +
|
|
14
14
|
this.headerBackgroundColour +
|
|
@@ -17,7 +17,7 @@ export class BiggiveTable {
|
|
|
17
17
|
' body-background-colour-' +
|
|
18
18
|
this.bodyBackgroundColour +
|
|
19
19
|
' space-below-' +
|
|
20
|
-
this.spaceBelow }, h("slot", { key: '
|
|
20
|
+
this.spaceBelow }, h("slot", { key: '3f0c914570a0319d25ce31ca8e3d245f3f1ab77f' })));
|
|
21
21
|
}
|
|
22
22
|
static get is() { return "biggive-table"; }
|
|
23
23
|
static get originalStyleUrls() {
|
|
@@ -14,7 +14,7 @@ export class BiggiveTextInput {
|
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
16
|
const currencySymbol = this.currency === 'GBP' ? '£' : this.currency === 'USD' ? '$' : undefined;
|
|
17
|
-
return (h("div", { key: '
|
|
17
|
+
return (h("div", { key: 'e2624732faba755e67d4ebe3db6fbe0b06d75689', class: 'text-input space-below-' + this.spaceBelow + ' select-style-' + this.selectStyle }, h("div", { key: '511724006215e7fbb0d2ff044c45e5ec68b8622c', class: "prompt" }, h("span", { key: '11e400374577b702906aa8ff834be3663001608e' }, h("slot", { key: 'b7ed886e52c364b313d087bbeee86d7dae018b63', name: "label" }))), h("div", { key: 'ff45131e0b34e54521b6f510fc29239d7e63af4e', class: "sleeve" }, h("div", { key: 'b196abd9f172542646d32c4176bbd87e22854f5a', class: "inner-sleave" }, currencySymbol && h("span", { key: 'f704ecf4d4510cf5d402b97eacf700269a596b4f', class: "currency-symbol" }, currencySymbol), h("slot", { key: '1dea2ee2d3b6d7f7ce66ac1165c30c7dc8383ed6', name: "input" }), h("div", { key: '4cc836b79b271fe387fb1cc85b47ce42f03bb14d', style: { clear: 'both' } })))));
|
|
18
18
|
}
|
|
19
19
|
static get is() { return "biggive-text-input"; }
|
|
20
20
|
static get encapsulation() { return "shadow"; }
|
|
@@ -106,7 +106,7 @@ export class BiggiveTimeline {
|
|
|
106
106
|
});
|
|
107
107
|
}
|
|
108
108
|
render() {
|
|
109
|
-
return (h("div", { key: '
|
|
109
|
+
return (h("div", { key: 'a9961be69f9f541203a47814006e2be988b52ab9', class: 'container space-below-' +
|
|
110
110
|
this.spaceBelow +
|
|
111
111
|
' text-colour-' +
|
|
112
112
|
this.textColour +
|
|
@@ -129,7 +129,7 @@ export class BiggiveTimeline {
|
|
|
129
129
|
' entry-title-colour-' +
|
|
130
130
|
this.entryTitleColour +
|
|
131
131
|
' entry-text-colour-' +
|
|
132
|
-
this.entryTextColour }, h("div", { key: '
|
|
132
|
+
this.entryTextColour }, h("div", { key: '3f848f10c6cdbe26562e17442ea1e9eb904d4e39', class: "navigation" }, h("div", { key: '2c3c7285fd6fd3520fc089a5def499f378a9052d', class: "button prev", onClick: this.clickPrevHandler, title: "Previous" }, h("svg", { key: '44e00ce196b1a99f6f84c4ee52c057fb7141a757', width: "9", height: "16", viewBox: "0 0 9 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'bbc7bfdff9e0bd586b8dd837071b0ac07249d6d4', d: "M8.29311 14.5703L1.73926 8.01646L8.29311 1.46261", stroke: "#000000", "stroke-width": "2" }))), h("div", { key: '4ee0d3362cc4165ae05d6e7f4d3c3b9ab9a3e9cd', class: "sleeve" }, h("ul", { key: 'c6036e130b372b20dcc1abae74bee7895181ed6f' }, this.tabHeadings.map(tab => (h("li", { onClick: this.clickTabHandler }, tab))))), h("div", { key: 'ad26760d698870d8dd293db7d329721dc21ffa89', class: "button next", onClick: this.clickNextHandler, title: "Next" }, h("svg", { key: '72e003228b924b127a400df0d823c8f0380c6cd3', width: "9", height: "16", viewBox: "0 0 9 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '717a51fb968fef4c773982a50274237ca82516aa', d: "M0.739117 1.46094L7.29297 8.01479L0.739118 14.5686", stroke: "#000000", "stroke-width": "2" })))), h("div", { key: '53fbf7529f1264d8f9b4112bfd8bc3070384dff9', class: "entry-wrap" }, this.children.map(entry => (h("div", { class: "entry", "data-date": entry.date }, h("h4", { class: "title" }, entry.heading), h("div", { class: "content", innerHTML: entry.innerHTML })))))));
|
|
133
133
|
}
|
|
134
134
|
static get is() { return "biggive-timeline"; }
|
|
135
135
|
static get encapsulation() { return "shadow"; }
|
|
@@ -82,7 +82,7 @@ export class BiggiveTotalizer {
|
|
|
82
82
|
});
|
|
83
83
|
}
|
|
84
84
|
render() {
|
|
85
|
-
return (h("div", { key: '
|
|
85
|
+
return (h("div", { key: '6c8626a14d549903862b601eae37861a7360629a', class: 'container space-below-' + this.spaceBelow }, h("div", { key: 'cdede9ec8dc9aa43aa7dae8f1fa9d0eba18a96d5' }, h("div", { key: '47155e8025dae5e6a103c4658a595208ae8aa810', class: "banner" }, h("div", { key: '7049ccc617768d32d5246bd00835def20a689353', class: 'main-message-wrap background-colour-' + this.secondaryColour + ' text-colour-' + this.secondaryTextColour }, this.mainMessage), h("div", { key: '8613266e85269c40cc1e7e80c13588a07bd6e266', class: 'ticker-wrap background-colour-' + this.primaryColour + ' text-colour-' + this.primaryTextColour }, h("div", { key: '5f86d0a24aad78abd56faff1740f00fde642f325', id: "sleeve_1", class: "sleeve" }, h("slot", { key: '57a91171fc7e9716e0397a423e974fc5ad16e2ab', name: "ticker-items" })), h("div", { key: 'e5b0f4ad22b361d47c470cc645608ecd1f92742d', id: "sleeve_2", class: "sleeve sleeve-delayed-copy" }), h("div", { key: 'd171ab0a3897921e6db3606c9c5cbed5c74a2b55', id: "sleeve_3", class: "sleeve sleeve-delayed-copy" }), h("div", { key: '7280294d3bbc5d508c31ed67d84ee39f2252ca5e', id: "sleeve_4", class: "sleeve sleeve-delayed-copy" }))))));
|
|
86
86
|
}
|
|
87
87
|
static get is() { return "biggive-totalizer"; }
|
|
88
88
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/biggive-totalizer-ticker-item/biggive-totalizer-ticker-item.js
CHANGED
|
@@ -5,7 +5,7 @@ export class BiggiveTotalizerTickerItem {
|
|
|
5
5
|
this.label = undefined;
|
|
6
6
|
}
|
|
7
7
|
render() {
|
|
8
|
-
return (h("div", { key: '
|
|
8
|
+
return (h("div", { key: '8c5cee13c04443e4ca9c0aaf18f92cb4555ac164', class: "ticker-item" }, h("strong", { key: 'e9be445499ceba35c8d73ba77e269d2dd6d85f36' }, this.figure), " ", this.label));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "biggive-totalizer-ticker-item"; }
|
|
11
11
|
static get encapsulation() { return "shadow"; }
|
|
@@ -7,7 +7,7 @@ export class BiggiveVideo {
|
|
|
7
7
|
this.videoUrl = '';
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h("div", { key: '
|
|
10
|
+
return (h("div", { key: 'aed8d0e823c00b293652aea2230fdca54abdb83c', class: 'container space-above-' + this.spaceAbove + ' space-below-' + this.spaceBelow }, h("div", { key: 'a2c455aca784a837a525356502e90f5621b8fd3e', class: "video-wrap", innerHTML: VideoService.getEmbedHtml(this.videoUrl, null) })));
|
|
11
11
|
}
|
|
12
12
|
static get is() { return "biggive-video"; }
|
|
13
13
|
static get encapsulation() { return "shadow"; }
|
|
@@ -18,7 +18,7 @@ export class BiggiveVideoFeature {
|
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
20
|
const youtubeClass = this.videoUrl.includes('youtube.com') ? ' youtube' : '';
|
|
21
|
-
return (h("div", { key: '
|
|
21
|
+
return (h("div", { key: '2087e1d62cb02b0d5f34e5804b30f47ff3813f88', class: 'container text-colour-' + this.defaultTextColour + ' space-above-' + this.spaceAbove + ' space-below-' + this.spaceBelow }, h("div", { key: '43584da0031363635b816dc505e9933c999d13c5', class: "sleeve" }, h("div", { key: '8c83e67f8cafc4a6e4389fa037b458903e36fcad', class: "content-wrap" }, h("div", { key: '2e69b8fa31135c3e119d0b43b99aad794c3b04a4', class: 'slug text-colour-' + this.slugColour }, this.slug), h("h2", { key: '75b55e12ea3429f8d494b5388bc5ca548bd13d65', class: 'title text-colour-' + this.mainTitleColour }, this.mainTitle), h("div", { key: '21d8dce01cb6e527ec3559f7cea323a1d289fc4f', class: 'teaser text-colour-' + this.teaserColour }, this.teaser), this.buttonLabel != null && this.buttonUrl != null ? (h("biggive-button", { "colour-scheme": this.buttonColourScheme, url: this.buttonUrl, label: this.buttonLabel })) : null), h("div", { key: 'b220be993a43d7a80285a0748e1e794366787282', class: "graphic-wrap" }, this.videoUrl !== null && this.videoUrl !== undefined ? (h("div", { class: 'video-wrap' + youtubeClass, innerHTML: VideoService.getEmbedHtml(this.videoUrl, this.mainTitle) })) : null))));
|
|
22
22
|
}
|
|
23
23
|
static get is() { return "biggive-video-feature"; }
|
|
24
24
|
static get encapsulation() { return "shadow"; }
|
|
@@ -30,7 +30,7 @@ const BiggiveAccordion$1 = /*@__PURE__*/ proxyCustomElement(class BiggiveAccordi
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
|
-
return (h("div", { key: '
|
|
33
|
+
return (h("div", { key: 'a9368c30799bf02e398306d3f3064c1b30558b1e', class: 'container' + ' space-below-' + this.spaceBelow + ' text-colour-' + this.textColour + ' heading-colour-' + this.headingColour }, h("div", { key: '552a8a559f0efe36ac276ff4079ff3f966883e49', class: "sleeve" }, this.children === undefined
|
|
34
34
|
? []
|
|
35
35
|
: this.children.map(entry => (h("div", { class: "entry" }, h("h3", { class: "heading", onClick: this.toggleSection, title: "Expand section" }, entry.heading, h("span", { class: "arrow" }, h("svg", { width: "15", height: "9", viewBox: "0 0 15 9", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M14.1074 0.999859L7.55357 7.55371L0.999718 0.99986", stroke: "black", "stroke-width": "2" })))), h("div", { class: "content", innerHTML: entry.innerHTML })))))));
|
|
36
36
|
}
|
|
@@ -33,7 +33,7 @@ const BiggiveArticleCard$1 = /*@__PURE__*/ proxyCustomElement(class BiggiveArtic
|
|
|
33
33
|
this.clipTopRightCorner = true;
|
|
34
34
|
}
|
|
35
35
|
render() {
|
|
36
|
-
return (h("div", { key: '
|
|
36
|
+
return (h("div", { key: '659f6dc7eed2b715979f73dfcf884738a01046fb', class: 'container space-below-' + this.spaceBelow }, h("div", { key: 'ddfca0655daf30b37c7bd616d722fbb8533d162e', class: 'sleeve background-colour-' +
|
|
37
37
|
this.backgroundColour +
|
|
38
38
|
' text-colour-black ' +
|
|
39
39
|
' slug-colour-' +
|
|
@@ -49,7 +49,7 @@ const BiggiveArticleCard$1 = /*@__PURE__*/ proxyCustomElement(class BiggiveArtic
|
|
|
49
49
|
' clip-bottom-left-corner-' +
|
|
50
50
|
this.clipBottomLeftCorner +
|
|
51
51
|
' clip-top-right-corner-' +
|
|
52
|
-
this.clipTopRightCorner, style: { 'background-image': "url('" + this.backgroundImageUrl + "')" } }, h("div", { key: '
|
|
52
|
+
this.clipTopRightCorner, style: { 'background-image': "url('" + this.backgroundImageUrl + "')" } }, h("div", { key: '2e7922c6aa0f543cd5b231809e63b957d9a9d0c7', class: "content-wrap" }, h("div", { key: '3d09111817153cf4c15cb12b24f0ccddcccde6e1', class: "meta" }, this.slug != '' ? h("div", { class: "slug text-colour-primary" }, this.slug) : null, this.date != '' ? h("div", { class: "date" }, this.date) : null), this.mainImageUrl != '' ? (h("div", { class: "main-image-container" }, h("div", { class: "image-wrap" }, h("img", { src: this.mainImageUrl, alt: this.mainImageAltText })))) : null, h("h3", { key: '722202a10aae733ed8d14663fa47ddb516df401c', class: "title" }, h("a", { key: '2a06861933adcd1faf4fb2da0587dd7fb2f229dd', href: this.buttonUrl }, this.mainTitle)), this.image1Url != '' || this.image2Url != '' ? (h("div", { class: "image-group" }, this.image1Url != '' ? (h("div", { class: "image-container" }, h("div", { class: "image-wrap", style: { 'background-image': "url('" + this.image1Url + "')" } }, h("img", { src: this.image1Url, alt: this.image1AltText })))) : null, this.image2Url != '' ? (h("div", { class: "image-container" }, h("div", { class: "image-wrap", style: { 'background-image': "url('" + this.image2Url + "')" } }, h("img", { src: this.image2Url, alt: this.image2AltText })))) : null)) : null, this.imageLabel != '' ? 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-' + this.buttonColour, url: this.buttonUrl, label: this.buttonLabel }))) : null))));
|
|
53
53
|
}
|
|
54
54
|
static get style() { return BiggiveArticleCardStyle0; }
|
|
55
55
|
}, [1, "biggive-article-card", {
|
|
@@ -10,7 +10,7 @@ const BiggiveBackToTop$1 = /*@__PURE__*/ proxyCustomElement(class BiggiveBackToT
|
|
|
10
10
|
this.__attachShadow();
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (h("div", { key: '
|
|
13
|
+
return (h("div", { key: 'f88a2a340a38cb30ae3ad3c05e58283621c4c0fe', class: "container" }, h("a", { key: '5790ed3f8af880c2f9ae6c171ec81fae88355a3b', href: "#" }, h("img", { key: '96f3ffb57156e0e045d6514ab26d9284c8f05db7', src: getAssetPath('assets/images/triangles-combined.svg') }), h("span", { key: '6028a8d2d233185a753b5e09148d8e739e5e4e4e', class: "text" }, "Back to top"))));
|
|
14
14
|
}
|
|
15
15
|
static get style() { return BiggiveBackToTopStyle0; }
|
|
16
16
|
}, [1, "biggive-back-to-top"]);
|
|
@@ -33,7 +33,7 @@ const BiggiveBasicCard$1 = /*@__PURE__*/ proxyCustomElement(class BiggiveBasicCa
|
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
35
|
const HeadingTag = `h${this.headingLevel}`;
|
|
36
|
-
return (h("div", { key: '
|
|
36
|
+
return (h("div", { key: '643f08ef88444868f25e9b2df3529cbd20facebe', class: 'container space-below-' +
|
|
37
37
|
this.spaceBelow +
|
|
38
38
|
' background-colour-' +
|
|
39
39
|
this.backgroundColour +
|
|
@@ -42,7 +42,7 @@ const BiggiveBasicCard$1 = /*@__PURE__*/ proxyCustomElement(class BiggiveBasicCa
|
|
|
42
42
|
' clip-top-right-corner-' +
|
|
43
43
|
this.clipTopRightCorner +
|
|
44
44
|
' add-animation-' +
|
|
45
|
-
this.addAnimation, style: { 'background-image': "url('" + this.backgroundImageUrl + "')" } }, h("a", { key: '
|
|
45
|
+
this.addAnimation, style: { 'background-image': "url('" + this.backgroundImageUrl + "')" } }, h("a", { key: 'd4ddd87a0a25d7aeef63948d04994cd7ca43bb5b', href: this.buttonUrl }, h("div", { key: '17f6638c0d43a723713da03792b78203f2981d9b', class: 'sleeve background-colour-' + this.cardColour + ' text-colour-' + this.textColour }, h("div", { key: '914e0c63a50d63023b707a3c5443d3bee387fbb0', class: "content-wrap" }, this.icon == true ? (h("div", { class: "icon" }, h("svg", { width: "53", height: "39", viewBox: "0 0 53 39", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M38.7009 13.6572L52.3535 38.6959H25.0386L38.7009 13.6572Z", class: "fill-black" }), h("path", { d: "M20.4789 36.4199L6.36785e-06 5.89713e-05L40.9724 6.61352e-05L20.4789 36.4199Z", class: 'fill-' + this.iconColour })))) : null, this.mainImageUrl != '' ? (h("div", { class: "main-image-container" }, h("div", { class: "image-wrap" }, h("img", { src: this.mainImageUrl, alt: this.mainImageAltText, title: this.mainImageAltText })))) : null, h(HeadingTag, { key: '25ce80ff6ad001addc72e738a7c3aa4177ab81a7', class: "title" }, this.mainTitle), h("div", { key: 'e0b1e8fa867f69262ddb57284bf09cd9d34a85b4', class: "subtitle" }, this.subtitle), h("div", { key: '25d02aac64074ee2c6e647cbb191a7398afa2324', class: "teaser" }, this.teaser), this.buttonLabel != null && this.buttonUrl != null && this.buttonUrl != '' ? (h("div", { class: 'button-wrap align-' + this.buttonAlign }, h("biggive-button", { "colour-scheme": this.buttonColourScheme, url: this.buttonUrl, label: this.buttonLabel }))) : null)))));
|
|
46
46
|
}
|
|
47
47
|
static get style() { return BiggiveBasicCardStyle0; }
|
|
48
48
|
}, [1, "biggive-basic-card", {
|
|
@@ -19,7 +19,7 @@ const BiggiveBeneficiaryIcon$1 = /*@__PURE__*/ proxyCustomElement(class BiggiveB
|
|
|
19
19
|
return icon;
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
|
-
return (h("div", { key: '
|
|
22
|
+
return (h("div", { key: '001c875223931cb598b5c852e31900d3924dae3b', class: "container" }, h("div", { key: 'edf7941200c80d24f4543df2e16eac67cf24e87d', class: 'beneficiary-icon-item background-colour-' + this.backgroundColour }, h("a", { key: '4d73d7ff76306fe60a0076dbd405de6d26c9b482', href: this.url }, h("svg", { key: 'e9def37ac5b6e5b403021e9bc845f493ea2ff64a', width: this.getBeneficiaryIcon().icon[0], height: this.getBeneficiaryIcon().icon[1], xmlns: "http://www.w3.org/2000/svg", class: 'fill-' + this.iconColour, viewBox: '0 0 ' + this.getBeneficiaryIcon().icon[0] + ' ' + this.getBeneficiaryIcon().icon[1] }, h("path", { key: 'dd7fc97b0259ef55dc8ef530a9a09f54a21328f2', d: this.getBeneficiaryIcon().icon[4].toString() })))), h("div", { key: '7bb75ce8b51226298748edf848f6321ad8e42411', class: "label" }, this.label)));
|
|
23
23
|
}
|
|
24
24
|
static get style() { return BiggiveBeneficiaryIconStyle0; }
|
|
25
25
|
}, [0, "biggive-beneficiary-icon", {
|
|
@@ -15,7 +15,7 @@ const BiggiveBoxedContent$1 = /*@__PURE__*/ proxyCustomElement(class BiggiveBoxe
|
|
|
15
15
|
this.shadow = true;
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return (h("div", { key: '
|
|
18
|
+
return (h("div", { key: '1e50eff03ca28273c5238b9be78a42c73a50e573', class: 'container background-colour-' +
|
|
19
19
|
this.backgroundColour +
|
|
20
20
|
' space-below-' +
|
|
21
21
|
this.spaceBelow +
|
|
@@ -24,7 +24,7 @@ const BiggiveBoxedContent$1 = /*@__PURE__*/ proxyCustomElement(class BiggiveBoxe
|
|
|
24
24
|
' vertical-padding-' +
|
|
25
25
|
this.verticalPadding +
|
|
26
26
|
' shadow-' +
|
|
27
|
-
this.shadow }, h("slot", { key: '
|
|
27
|
+
this.shadow }, h("slot", { key: 'f6bbc647464e5290c9639e5cb5a65d8aada9ec67' })));
|
|
28
28
|
}
|
|
29
29
|
static get style() { return BiggiveBoxedContentStyle0; }
|
|
30
30
|
}, [1, "biggive-boxed-content", {
|
|
@@ -17,7 +17,7 @@ const BiggiveBrandedImage$1 = /*@__PURE__*/ proxyCustomElement(class BiggiveBran
|
|
|
17
17
|
this.charityUrl = undefined;
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (h("div", { key: '
|
|
20
|
+
return (h("div", { key: '23614f7c92777ff9cc505df3ba05e414266140ae', class: 'container space-below-' + this.spaceBelow }, h("div", { key: 'de69e9303308ff4be55295f6d98c8df514ed1379', class: "slug" }, this.slug), 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("h3", { class: "title" }, this.charityName) : null, this.charityLocation !== undefined && this.charityLocation !== null ? h("div", { class: "charity-info" }, this.charityLocation) : null));
|
|
21
21
|
}
|
|
22
22
|
static get style() { return BiggiveBrandedImageStyle0; }
|
|
23
23
|
}, [1, "biggive-branded-image", {
|
|
@@ -28,7 +28,7 @@ const BiggiveButton = /*@__PURE__*/ proxyCustomElement(class BiggiveButton exten
|
|
|
28
28
|
// If there's no or an empty href then it isn't possible to click by keyboard and we would have to handle keyboard
|
|
29
29
|
// interaction separately.
|
|
30
30
|
const href = this.url || 'javascript:void(0);';
|
|
31
|
-
return (h("div", { key: '
|
|
31
|
+
return (h("div", { key: 'dbeaf6e497347f01a93fdcef834278c53fe1862c', class: 'container space-below-' + this.spaceBelow + ' centered-' + this.centered }, h("a", { key: '2c3311d120a8fec58ef61e1752eb49e8864fdc62', role: "button", href: href, target: this.openInNewTab ? '_blank' : '_self', id: this.buttonId, class: 'button button-' + this.colourScheme + ' full-width-' + this.fullWidth.toString() + ' size-' + this.size + ' rounded-' + this.rounded.toString() }, h("span", { key: 'd333638f37d44b1978d28e2e0aed895603035b7b', onClick: this.handleButtonClick }, this.label))));
|
|
32
32
|
}
|
|
33
33
|
static get style() { return BiggiveButtonStyle0; }
|
|
34
34
|
}, [1, "biggive-button", {
|
|
@@ -31,7 +31,7 @@ const BiggiveCallToAction$1 = /*@__PURE__*/ proxyCustomElement(class BiggiveCall
|
|
|
31
31
|
this.secondaryButtonColourScheme = 'primary';
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return (h("div", { key: '
|
|
34
|
+
return (h("div", { key: '737d23c5a9cd076d97119bfbafea9cb1adfde593', class: 'container text-colour-' + this.defaultTextColour + ' space-above-' + this.spaceAbove + ' space-below-' + this.spaceBelow }, h("div", { key: '85b748c57cb11df17163d46eb50ff40dcd80f184', class: "sleeve" }, h("div", { key: 'd6b5acd26645795380b46ebe9dde981cb4b6f5c5', class: "content-wrap" }, h("div", { key: 'e799140d21b21c1626d033ce2b9271cd15b603d4', class: 'slug heading-' + this.slugSize + ' text-colour-' + this.slugColour }, this.slug), h("h2", { key: '635799a004f8da692870eb2429061a15bbefdeb1', class: 'title heading-' + this.mainTitleSize + ' text-colour-' + this.mainTitleColour }, this.mainTitle), h("div", { key: 'bcce702c566d67fb3882e09a8d07dbc9c3c147b9', class: 'slug heading-' + this.subtitleSize + ' text-colour-' + this.subtitleColour }, this.subtitle), h("div", { key: '4a5efea7e108f4d2c58ce3bca58c96e93e532927', class: 'teaser text-colour-' + this.teaserColour }, this.teaser), this.primaryButtonLabel != null && this.primaryButtonUrl != null ? (h("div", { class: "button-wrap" }, h("biggive-button", { "colour-scheme": this.primaryButtonColourScheme, url: this.primaryButtonUrl, label: this.primaryButtonLabel }))) : null, this.secondaryButtonLabel != null && this.secondaryButtonUrl != null ? (h("div", { class: "button-wrap" }, h("biggive-button", { "colour-scheme": this.secondaryButtonColourScheme, url: this.secondaryButtonUrl, label: this.secondaryButtonLabel }))) : null))));
|
|
35
35
|
}
|
|
36
36
|
static get style() { return BiggiveCallToActionStyle0; }
|
|
37
37
|
}, [1, "biggive-call-to-action", {
|
|
@@ -10,6 +10,7 @@ const BiggiveCampaignCardFilterGridStyle0 = biggiveCampaignCardFilterGridCss;
|
|
|
10
10
|
const sortOptionLabels = {
|
|
11
11
|
relevance: 'Relevance',
|
|
12
12
|
amountRaised: 'Most raised',
|
|
13
|
+
leastRaised: 'Least raised',
|
|
13
14
|
matchFundsRemaining: 'Match funds remaining',
|
|
14
15
|
};
|
|
15
16
|
const BiggiveCampaignCardFilterGrid$1 = /*@__PURE__*/ proxyCustomElement(class BiggiveCampaignCardFilterGrid extends HTMLElement {
|
|
@@ -170,13 +171,13 @@ const BiggiveCampaignCardFilterGrid$1 = /*@__PURE__*/ proxyCustomElement(class B
|
|
|
170
171
|
render() {
|
|
171
172
|
var _a;
|
|
172
173
|
const sortOptions = this.getSortOptions();
|
|
173
|
-
return (h("div", { key: '
|
|
174
|
+
return (h("div", { key: '404035835ea2a5db524c515b25a843c9e86cbdea', class: 'container space-below-' + this.spaceBelow }, h("div", { key: 'f7a538ed5c0661b86b7a857d07425ef42a8d81c7', class: "sleeve" }, h("div", { key: '9e1bbd9fee2c0d67145480b72ac030bd627fa729', class: "search-wrap" }, h("h4", { key: '8725af4aabe5a62ce2e2388695f0cf36c50a0911' }, this.intro), h("div", { key: 'a67217debfd2d167666ba86aeee1e616af5ab6fd', class: "field-wrap" }, h("div", { key: 'e48a9758847e1db110cfd7d606b5f8ce5bfa4bbd', class: "input-wrap" }, h("svg", { key: 'cbf8a5652b9c458651c31e88ecab7f874b4c2f2e', xmlns: "http://www.w3.org/2000/svg", class: "icon", viewBox: "0 0 512 512" }, h("path", { key: '2eb193efea451080b07fdf291816388b24b0ae70', d: faMagnifyingGlass.icon[4].toString() })), h("input", { key: 'fb0431ca9a300f21fc2aafd9f3c029a6e0fc7ead', 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", { key: '497b03b6fcebdb8ee499cbfa4bfced1eead4f69d', onClick: this.handleSearchButtonPressed, label: this.buttonText }))), h("div", { key: '5a3eb80a1c2b1097b94a674d426a608df9ebef02', class: "sort-filter-wrap" }, h("div", { key: '3830659cb32a2e62d1075a62c31a6334deb5c713', class: "filter-wrap" }, h("biggive-button", { key: '8d77eedd6036737cd90aed3870257e9ecc595ce0', class: "filter", colourScheme: "primary", onClick: this.handleFilterButtonClick, label: "Filter", fullWidth: true, "space-below": "0" }), h("biggive-popup", { key: '75a9c17b202866753def13657a491f27289f2098', id: "filter-popup" }, h("h4", { key: 'c491c7a2aebbd9798b7f5d078891025623750383', class: "space-above-0 space-below-3 text-colour-primary" }, "Filters"), h("div", { key: 'b78421a156a9f3d12c9ee53f227004ad563b7136', class: "select-wrapper-1" }, h("biggive-form-field-select", { key: 'd302cfb33d72c6530f26aa7a423f7490ae45bbc1', backgroundColour: "white", prompt: "Category", placeholder: this.categoriesPlaceHolderText, selectedLabel: this.selectedFilterCategory, selectedValue: this.selectedFilterCategory, options: this.optionsToArray(this.categoryOptions || []), selectionChanged: this.categoryFilterSelectionChanged, id: "categories", "space-below": "2" })), h("div", { key: '2789131f44a6d1d5617266d0dc529269fea81213', class: "select-wrapper-2" }, h("biggive-form-field-select", { key: '9c948c37182520aa82de33c7837ffe0fa559634b', backgroundColour: "white", prompt: "Beneficiary", placeholder: this.beneficiariesPlaceHolderText, selectedLabel: this.selectedFilterBeneficiary, selectedValue: this.selectedFilterBeneficiary, options: this.optionsToArray(this.beneficiaryOptions || []), selectionChanged: this.beneficiarySelectionChanged, id: "beneficiaries", "space-below": "2" })), h("div", { key: '5cfa9644aa25e0ee2a9edd9d972f861d7854be7e', class: "select-wrapper-3" }, h("biggive-form-field-select", { key: '2619526ff4c9e42fd76b49e5d9ff893f10a03daa', backgroundColour: "white", prompt: "Location", placeholder: this.locationsPlaceHolderText, selectedLabel: this.selectedFilterLocation, selectedValue: this.selectedFilterLocation, options: this.optionsToArray(this.locationOptions || []), selectionChanged: this.locationSelectionChanged, id: "locations", "space-below": "2" })), h("div", { key: '78a1293054cb1989f8e3df64348562f3d6fde765', class: "align-right" }, h("biggive-button", { key: '4ca02586cda3511393035fca8085cbb1d3fe8ce5', label: "Apply filters", onClick: this.handleApplyFilterButtonClick })))), h("div", { key: 'b8a19021c6b7efd2acc9d041570591a2e888582b', class: "sort-wrap" }, h("biggive-form-field-select", { key: '62a26d8694c3f5cca72d5e6c29fb0991e10e5f1e', options: sortOptions, prompt: null, "select-style": "underlined", placeholder: this.sortByPlaceholderText, selectedLabel: this.selectedSortByOption, selectedValue: this.getSelectedValue(), selectionChanged: this.sortBySelectionChanged, id: "sort-by" }, h("biggive-form-field-select-option", { key: '42051484f40c434e74a1e116faa23edeff2e49e0', value: "amountRaised", label: "Most raised" }), h("biggive-form-field-select-option", { key: 'a24483f83866114844a9cd60ad1a0ebbed246a62', value: "leastRaised", label: "Least raised" }), h("biggive-form-field-select-option", { key: '7829152ff2b02d59e67a7aae64615e52d727b546', value: "matchFundsRemaining", label: "Match funds remaining" }), (this.searchText || '').length > 0 ? h("biggive-form-field-select-option", { value: "Relevance", label: "Relevance" }) : null))), h("div", { key: '1d6c63e2c240027feed766f8b8a7953e697ba43b', class: "selected-filter-wrap" }, h("div", { key: '56da02500dd69a5e54511209b5561386d8fd2946', class: "selected-filters" }, this.selectedFilterCategory && (h("span", { key: '8b61fa1f82061bdcb60cd2a82e29f0b4175f747b', class: "button", onClick: () => {
|
|
174
175
|
this.removeFilter('categories');
|
|
175
|
-
} }, this.selectedFilterCategory)), this.selectedFilterBeneficiary && (h("span", { key: '
|
|
176
|
+
} }, this.selectedFilterCategory)), this.selectedFilterBeneficiary && (h("span", { key: '75994c1b6e48eefd5f5bd262aaddfc7506b98085', class: "button", onClick: () => {
|
|
176
177
|
this.removeFilter('beneficiaries');
|
|
177
|
-
} }, this.selectedFilterBeneficiary)), this.selectedFilterLocation && (h("span", { key: '
|
|
178
|
+
} }, this.selectedFilterBeneficiary)), this.selectedFilterLocation && (h("span", { key: '6fa26ebc471f719725cdf41bdc1163eace160e43', class: "button", onClick: () => {
|
|
178
179
|
this.removeFilter('locations');
|
|
179
|
-
} }, this.selectedFilterLocation))), h("div", { key: '
|
|
180
|
+
} }, this.selectedFilterLocation))), h("div", { key: '7ca49c8a37dcac3a8f5bc70ef19a48d832dd8a83', class: "clear-all" }, h("a", { key: 'a3d6d94268dd29a21c107fb63d44154559ab9abe', onClick: this.handleClearAll }, "Clear all"))), h("div", { key: '1d3e934257f1be93e964f7af2b56acc837c2a57b', class: "campaign-grid" }, h("slot", { key: 'f62d141a50be159e29ef40821400257c161147a8', name: "campaign-grid" })))));
|
|
180
181
|
}
|
|
181
182
|
// I'm not sure if I understand the reasoning for own-methods-must-be-private. I made the method below public to unit
|
|
182
183
|
// test it. Maybe the idea is that we should move anything with enough logic to test outside the component class? I
|