@biggive/components 202409030845.0.0 → 202409131555.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-084b7da4.entry.js +2 -0
- package/dist/biggive/{p-cdd16217.entry.js.map → p-084b7da4.entry.js.map} +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-52e1d027.entry.js → p-3a70550e.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-0db98bc4.entry.js → p-a819de05.entry.js} +2 -2
- package/dist/biggive/{p-6c6e271c.entry.js → p-da3ff44b.entry.js} +2 -2
- package/dist/cjs/biggive-accordion_41.cjs.entry.js +40 -39
- package/dist/cjs/biggive-accordion_41.cjs.entry.js.map +1 -1
- 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/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.js +13 -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-campaign-card-filter-grid.js +5 -4
- package/dist/components/biggive-campaign-card-filter-grid.js.map +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 +40 -39
- package/dist/esm/biggive-accordion_41.entry.js.map +1 -1
- 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 +2 -2
- package/hydrate/index.js +51 -50
- package/hydrate/index.mjs +51 -50
- 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-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-52e1d027.entry.js.map → p-3a70550e.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-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
|
@@ -13,7 +13,7 @@ export class BiggiveHeading {
|
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
15
|
const Tag = this.htmlElement;
|
|
16
|
-
return (h("div", { key: '
|
|
16
|
+
return (h("div", { key: 'bc96ba03056040628fa77a9999108feffa5041aa', class: 'container align-' + this.align + ' space-above-' + this.spaceAbove + ' space-below-' + this.spaceBelow }, h(Tag, { key: '1129bca53ca2b0186446ee0616d1918706d9f2b3', class: 'heading-colour-' + this.colour + ' icon-colour-' + this.iconColour + ' heading-' + this.size }, this.icon ? (h("svg", { viewBox: "0 0 102 88" }, h("path", { class: "st0", d: "M51.2,0l-51,88h102L51.2,0z" }), h("path", { d: "M31,68.3c-1,0-1.9-0.9-1.9-1.9c0-1,0.9-1.9,1.9-1.9c1.1,0,1.9,0.9,1.9,1.9C32.9,67.5,32.1,68.3,31,68.3z M29.5,79.4h3v-10\n h-3V79.4z M41,69.4V70c-0.5-0.5-1.4-0.9-2.5-0.9c-2.7,0-4.9,2-4.9,4.9c0,2.9,2.2,4.9,4.9,4.9c1.1,0,2-0.3,2.5-0.9v0.6\n c0,1.3-1.2,1.9-2.7,1.9c-1.3,0-2.4-0.3-3.5-0.9v3c1.3,0.5,2.7,0.6,3.6,0.6c3,0,5.5-1.3,5.5-4.6v-9.4L41,69.4L41,69.4z M41,75.3\n c-0.4,0.6-1.2,0.9-1.9,0.9c-1.3,0-2.3-0.8-2.3-2.2c0-1.4,1-2.2,2.3-2.2c0.8,0,1.5,0.4,1.9,0.9V75.3z M52.8,79.7\n c2.4,0,3.8-0.4,5.1-1.2v-7.7h-6.6v2.9h3.5v2.6c-0.5,0.1-1.1,0.3-1.9,0.3c-3,0-4.4-2-4.4-4.3c0-2.3,1.7-4.3,4.8-4.3\n c1.3,0,2.6,0.4,3.5,0.9v-3.3c-0.9-0.4-2.1-0.7-3.7-0.7c-4.6,0-7.8,3.3-7.8,7.4C45.2,76.5,48.1,79.7,52.8,79.7z M60.7,68.3\n c-1,0-1.9-0.9-1.9-1.9c0-1,0.9-1.9,1.9-1.9c1.1,0,1.9,0.9,1.9,1.9C62.6,67.5,61.8,68.3,60.7,68.3z M59.2,79.4h3v-10h-3V79.4z\n M69,73.9l-2.6-4.5h-3.5l6,10.3l6-10.3h-3.5L69,73.9z M77.5,75.1h7c0-4.4-2.5-6-5.1-6c-2.7,0-5.1,1.6-5.1,5.2c0,3.5,2.5,5.2,5.5,5.2\n c1.3,0,2.7-0.2,3.8-0.8v-2.8c-1.5,0.9-2.5,0.9-3.3,0.9C78.9,76.9,77.6,76.5,77.5,75.1z M79.4,71.5c0.9,0,1.7,0.4,1.8,1.7h-3.7\n C77.7,72,78.6,71.5,79.4,71.5z M26,71.6c0.7-0.6,1.1-1.5,1.1-2.5c0-1.9-1.8-3.9-4.4-3.9h-4.8v14.3h6.3c2.4,0,4.3-1.9,4.3-4.2\n C28.4,73.8,27.8,72.2,26,71.6z M21,68.1h1.4c0.9,0,1.5,0.7,1.5,1.4c0,0.8-0.6,1.4-1.5,1.4H21V68.1z M23.8,76.5H21v-2.9h2.8\n c0.9,0,1.5,0.6,1.5,1.4C25.3,75.9,24.7,76.5,23.8,76.5z" }))) : null, this.text)));
|
|
17
17
|
}
|
|
18
18
|
static get is() { return "biggive-heading"; }
|
|
19
19
|
static get encapsulation() { return "shadow"; }
|
|
@@ -23,9 +23,9 @@ export class BiggiveHeroImage {
|
|
|
23
23
|
render() {
|
|
24
24
|
const mainTitleClasses = 'main-title ' + (typeof this.mainTitleColour === 'string' && this.mainTitleColour.length > 0 ? `text-colour-${this.mainTitleColour}` : '');
|
|
25
25
|
const teaserClasses = 'teaser ' + (typeof this.teaserColour === 'string' && this.teaserColour.length > 0 ? `text-colour-${this.teaserColour}` : '');
|
|
26
|
-
return (h("div", { key: '
|
|
26
|
+
return (h("div", { key: '6327a08058a3f25476b0430f0366c540888b64ef', class: 'container colour-scheme-' + this.colourScheme + ' space-below-' + this.spaceBelow }, h("div", { key: 'c22e02ed58f42d0e388ecaa388eb40ecd10bb1fa', class: "sleeve" }, h("div", { key: 'd9425b5945291fde048d76eb17c17ac12ccf18d4', class: "content-wrap" }, this.logo !== undefined && this.logo !== null ? (h("div", { class: 'logo image-wrap logo-height-' + this.logoHeight }, h("img", { src: this.logo, alt: this.logoAltText, title: this.logoAltText }))) : h("div", { class: 'logo-space logo-height-' + this.logoHeight }), h("div", { key: '1f7295a38722f6ec517778127ea3e756986baf8f', class: 'slug text-colour-' + this.slugColour }, this.slug), h("h1", { key: 'b2db397debdcf80866584e594bcb7d5a7a7816ce', class: mainTitleClasses }, this.mainTitle), h("div", { key: '0cad7c94c55827d579a4636c4dd7bd244ddc03d8', class: teaserClasses }, this.teaser), this.buttonLabel != null && this.buttonUrl != null
|
|
27
27
|
? h("biggive-button", { "colour-scheme": this.buttonColourScheme, url: this.buttonUrl, label: this.buttonLabel })
|
|
28
|
-
: null), h("div", { key: '
|
|
28
|
+
: null), h("div", { key: '7e8813d481dab9307b11a6589ec0943d5603a455', class: "graphic-wrap" }, this.mainImage !== null ? (h("div", { class: "image-wrap", role: "presentation", style: { 'background-image': 'url(' + this.mainImage + ')', 'background-position': this.mainImageAlignHorizontal + ' ' + this.mainImageAlignVertical } })) : null))));
|
|
29
29
|
}
|
|
30
30
|
static get is() { return "biggive-hero-image"; }
|
|
31
31
|
static get encapsulation() { return "shadow"; }
|
|
@@ -23,7 +23,7 @@ export class BiggiveIconButton {
|
|
|
23
23
|
this.buttonId = undefined;
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
|
-
return (h("div", { key: '
|
|
26
|
+
return (h("div", { key: 'e15343ee45912bbbbaa75536a3df4fd82972f1c1', class: 'container space-below-' +
|
|
27
27
|
this.spaceBelow +
|
|
28
28
|
' background-colour-' +
|
|
29
29
|
this.backgroundColour +
|
|
@@ -34,7 +34,7 @@ export class BiggiveIconButton {
|
|
|
34
34
|
' rounded-' +
|
|
35
35
|
this.rounded +
|
|
36
36
|
' shadow-' +
|
|
37
|
-
this.shadow }, h("a", { key: '
|
|
37
|
+
this.shadow }, h("a", { key: '2958f6e919f41eb60c42b5da1b9f050bce81b3e2', href: this.url, target: this.openInNewTab ? '_blank' : '_self', id: this.buttonId }, h("div", { key: '0a694a3fd8c2e54c59e56722201d178a418aef44', class: "sleeve", onClick: this.handleButtonClick }, h("div", { key: 'b148cdd64ec25289ff37d0192351aad8e79329a5', class: 'icon-wrap ' + ' size-' + this.size + ' circle-' + this.circle.toString() }, h("biggive-generic-icon", { key: '9403942777b76620532be9a661a16bcc4aa92b53', iconGroup: this.iconGroup, icon: this.icon })), this.text != '' ? h("div", { class: 'text-wrap text-colour-' + this.textColour + ' text-padding-' + this.backgroundPadding }, this.text) : null, this.arrow ? (h("div", { class: 'arrow-wrap arrow-colour-' + this.arrowColour }, h("svg", { width: "8", height: "12", viewBox: "0 0 8 12", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M0.76912 1.0791L5.73828 6.04826L0.769121 11.0174", stroke: "black", "stroke-width": "2" })))) : null))));
|
|
38
38
|
}
|
|
39
39
|
static get is() { return "biggive-icon-button"; }
|
|
40
40
|
static get encapsulation() { return "shadow"; }
|
|
@@ -5,7 +5,7 @@ export class BiggiveIconGroup {
|
|
|
5
5
|
this.label = undefined;
|
|
6
6
|
}
|
|
7
7
|
render() {
|
|
8
|
-
return (h("div", { key: '
|
|
8
|
+
return (h("div", { key: '5160c48c4cd14c7cdd5a5f1d16aa9b8d9b7cc06b', class: 'container space-below-' + this.spaceBelow }, this.label != null ? h("div", { class: "label" }, this.label) : null, h("div", { key: '20cdf1004def10075d6a1396e0f6d9e6fc48e80c', class: "sleeve" }, h("slot", { key: '79c24ea8ba3435f576e2387027d1fb7bf610550d' }))));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "biggive-icon-group"; }
|
|
11
11
|
static get encapsulation() { return "shadow"; }
|
|
@@ -24,7 +24,7 @@ export class BiggiveImage {
|
|
|
24
24
|
return height;
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
|
-
return (h("div", { key: '
|
|
27
|
+
return (h("div", { key: 'f327c4f3b647c18a9064efc92c44a48a742397c8', class: 'container space-above-' + this.spaceAbove + ' space-below-' + this.spaceBelow, style: { width: this.getWidth(), height: this.getHeight() } }, h("div", { key: '70e0f04cc75aaed989f813d9a14c741aaee77701', class: "image-wrap" }, h("img", { key: '76e05ce502b52b88b88f4be6a8df4f4b329e57fd', src: this.imageUrl, style: { width: this.getWidth(), height: this.getHeight() }, alt: this.imageAltText }))));
|
|
28
28
|
}
|
|
29
29
|
static get is() { return "biggive-image"; }
|
|
30
30
|
static get encapsulation() { return "shadow"; }
|
|
@@ -23,7 +23,7 @@ export class BiggiveImageButton {
|
|
|
23
23
|
this.buttonId = undefined;
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
|
-
return (h("div", { key: '
|
|
26
|
+
return (h("div", { key: 'a78665020766e2f0c81c475270d08207234c8a09', class: 'container space-below-' +
|
|
27
27
|
this.spaceBelow +
|
|
28
28
|
' background-colour-' +
|
|
29
29
|
this.backgroundColour +
|
|
@@ -34,7 +34,7 @@ export class BiggiveImageButton {
|
|
|
34
34
|
' rounded-' +
|
|
35
35
|
this.rounded +
|
|
36
36
|
' shadow-' +
|
|
37
|
-
this.shadow }, h("a", { key: '
|
|
37
|
+
this.shadow }, h("a", { key: '7081450a894a1e3b6f3caacca80e355addab5e50', href: this.url, target: this.openInNewTab ? '_blank' : '_self', id: this.buttonId }, h("div", { key: '67c6281ac3ed4537f107132c1accb45dc6b8c056', class: "sleeve", onClick: this.handleButtonClick }, h("div", { key: '6c5600359a95b15996c21a2365cc4c53b9718e3a', class: 'image-wrap ' + ' image-style-' + this.imageStyle + ' size-' + this.size + ' circle-' + this.circle.toString(), style: { backgroundImage: 'url(' + this.imageUrl + ')' } }), this.text != '' ? h("div", { class: 'text-wrap text-colour-' + this.textColour + ' text-padding-' + this.backgroundPadding }, this.text) : null, this.arrow ? (h("div", { class: 'arrow-wrap arrow-colour-' + this.arrowColour }, h("svg", { width: "8", height: "12", viewBox: "0 0 8 12", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M0.76912 1.0791L5.73828 6.04826L0.769121 11.0174", stroke: "black", "stroke-width": "2" })))) : null))));
|
|
38
38
|
}
|
|
39
39
|
static get is() { return "biggive-image-button"; }
|
|
40
40
|
static get encapsulation() { return "shadow"; }
|
|
@@ -18,7 +18,7 @@ export class BiggiveImageCard {
|
|
|
18
18
|
this.addAnimation = false;
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return (h("div", { key: '
|
|
21
|
+
return (h("div", { key: '8d1ef3a6eefba63d793413b65219bcd1508e0697', class: 'container space-below-' +
|
|
22
22
|
this.spaceBelow +
|
|
23
23
|
' background-colour-' +
|
|
24
24
|
this.backgroundColour +
|
|
@@ -27,7 +27,7 @@ export class BiggiveImageCard {
|
|
|
27
27
|
' clip-top-right-corner-' +
|
|
28
28
|
this.clipTopRightCorner +
|
|
29
29
|
' add-animation-' +
|
|
30
|
-
this.addAnimation }, h("a", { key: '
|
|
30
|
+
this.addAnimation }, h("a", { key: '169002b8d2090ef888dab0774e8e4e05eab5f2e5', href: this.buttonUrl }, h("div", { key: 'e0d89b29abe66c06ac483d4e1a7f633a3564dd24', class: 'sleeve text-colour-' + this.teaserColour + ' text-align-' + this.textAlign }, h("div", { key: 'd6c5120383e51e4ff893ce7a15e00ecd1a6dc3eb', class: "content-wrap" }, 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("div", { key: '98624d20ab322096b967f22b80b5f0e90fafd09d', 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, label: this.buttonLabel }))) : null)))));
|
|
31
31
|
}
|
|
32
32
|
static get is() { return "biggive-image-card"; }
|
|
33
33
|
static get encapsulation() { return "shadow"; }
|
|
@@ -16,7 +16,7 @@ export class BiggiveImageFeature {
|
|
|
16
16
|
this.buttonColourScheme = 'primary';
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (h("div", { key: '
|
|
19
|
+
return (h("div", { key: 'f7e058fa83e93095a47a1a5696ad495d3f0b60b0', class: 'container text-colour-' + this.defaultTextColour + ' space-below-' + this.spaceBelow }, h("div", { key: 'a597f466ec9819707cc6be4a98351ba2975e9819', class: "sleeve" }, h("div", { key: '1211768272ba7f6f8a11e26eba7e938f3dc686cc', class: "content-wrap" }, h("div", { key: 'e24237f46d658be65cccdc0baf175dc19a47c138', class: 'slug text-colour-' + this.slugColour }, this.slug), h("h2", { key: 'e467d83d54388708070e87332a1f561ba11a4f34', class: 'title text-colour-' + this.mainTitleColour }, this.mainTitle), h("div", { key: '89cb44640af1a5e61a8b911935721eaa084c66c1', 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: 'db5d0b12aeab82e01344eefac490c981bfa34dd3', class: "graphic-wrap" }, this.imageUrl !== null && this.imageUrl !== undefined ? (h("div", { class: "image-wrap" }, h("img", { src: this.imageUrl, alt: this.imageAltText }))) : null))));
|
|
20
20
|
}
|
|
21
21
|
static get is() { return "biggive-image-feature"; }
|
|
22
22
|
static get encapsulation() { return "shadow"; }
|
|
@@ -86,7 +86,7 @@ export class BiggiveMainMenu {
|
|
|
86
86
|
const now = new Date();
|
|
87
87
|
const ccIsOpenNowIsh = now > CCOpenDate && now < CCCloseDate;
|
|
88
88
|
const homePageLink = ccIsOpenNowIsh ? '/?noredirect' : '/';
|
|
89
|
-
return (h(Host, { key: 'afdf22a39116992ee88f9a0e5336b35265e13100' }, h("div", { key: 'c81490815b81b27b5393cf69375152527c8c1d35', class: "row row-top" }, h("div", { key: 'd34783baa7960ffaf713d3e86dd8132b494ac51d', class: "social-icon-wrap" }, h("biggive-social-icon", { key: '628be0152a5eef7bba28812ea5ef5865f73c32ac', service: "Facebook", url: "https://www.facebook.com/BigGive.org", "background-colour": "tertiary", "icon-colour": "black" }), h("biggive-social-icon", { key: '57facfe4ecf5fec3dc359a48dda59274082c2e6b', service: "Twitter", url: "https://twitter.com/BigGive", "background-colour": "tertiary", "icon-colour": "black" }), h("biggive-social-icon", { key: '43686d04d180e02d20b3237eec50d4558a199acd', service: "LinkedIn", url: "https://uk.linkedin.com/company/big-give", "background-colour": "tertiary", "icon-colour": "black" }), h("biggive-social-icon", { key: 'c985861e3a4bce9c6e361516582d776424bd3c54', service: "YouTube", url: "https://www.youtube.com/channel/UC9_wH1aaTuZurJ-F9R8GDcA", "background-colour": "tertiary", "icon-colour": "black" }), h("biggive-social-icon", { key: '2177f88b649ce92167e2c21236ca664eeaef0716', service: "Instagram", url: "https://www.instagram.com/biggiveorg", "background-colour": "tertiary", "icon-colour": "black" })), h("div", { key: '2bf0e8e0b74a2cc0689eff165466d91efd119d19', class: "nav-secondary" }, this.getSecondaryNavLinks())), h("nav", { key: '7a1588484289f2a079ea14c78491d584f042913f', role: "navigation", "aria-label": "Main Menu" }, h("div", { key: '96828ac717a60d3b28328ab0c5712712e89aecff', class: "navbar" }, h("div", { key: 'a2acbbb9b445cbe88c1835fc1366459497cfabaf', class: "logo" }, h("a", { key: '47ef03e126caf6d1c00a90bb70d0878b2eadc5ff', href: this.donateUrlPrefix + homePageLink, "aria-label": "Home" }, h("svg", { key: '8031f7a72fd9b1867a6724eb3ca1aada88c3ea9b', version: "1.1", x: "0px", y: "0px", viewBox: "0 0 140.9 30" }, h("path", { key: 'e67469a771d86faafdaa641ce928dbcf98e4ac17', d: "M51.9,6.1c-1.7,0-3.1-1.4-3.1-3s1.4-3,3.1-3C53.6,0,55,1.4,55,3S53.6,6.1,51.9,6.1z M49.3,23.8h5V7.7h-5V23.8z M68.5,7.7v1 c-0.8-0.7-2.3-1.4-4.1-1.4c-4.5,0-8.2,3.2-8.2,7.9c0,4.7,3.7,7.9,8.2,7.9c1.8,0,3.4-0.5,4.1-1.4v0.9c0,2.1-1.9,3.1-4.4,3.1 c-2.2,0-4-0.5-5.8-1.4V29c2.1,0.7,4.4,1,6,1c5,0,9.2-2,9.2-7.3v-15L68.5,7.7L68.5,7.7z M68.5,17.2c-0.7,1-1.9,1.4-3.2,1.4 c-2.1,0-3.8-1.2-3.8-3.4c0-2.2,1.7-3.4,3.8-3.4c1.3,0,2.5,0.6,3.2,1.5V17.2z M88.1,24.2c4,0,6.4-0.7,8.5-2V10h-11v4.7h5.8v4.1 c-0.8,0.2-1.8,0.4-3.2,0.4c-4.9,0-7.3-3.2-7.3-6.8c0-3.7,2.8-6.8,8-6.8c2.2,0,4.3,0.6,5.8,1.4V1.7c-1.5-0.6-3.4-1.1-6.1-1.1 c-7.6,0-13,5.3-13,11.8C75.5,19.1,80.4,24.2,88.1,24.2z M101.4,6.1c-1.7,0-3.1-1.4-3.1-3s1.4-3,3.1-3c1.8,0,3.2,1.4,3.2,3 S103.1,6.1,101.4,6.1z M98.8,23.8h5V7.7h-5V23.8z M115.1,15l-4.3-7.2H105l10.1,16.4l10.1-16.4h-5.8L115.1,15z M129.3,16.9h11.6 c0.1-7-4.2-9.5-8.4-9.5c-4.5,0-8.5,2.6-8.6,8.4c0,5.6,4.1,8.4,9.1,8.4c2.2,0,4.4-0.3,6.4-1.3v-4.4c-2.5,1.4-4.1,1.4-5.6,1.4 C131.7,19.8,129.5,19.2,129.3,16.9z M132.5,11.1c1.5,0,2.8,0.7,3,2.7h-6.2C129.6,11.9,131,11.1,132.5,11.1z M43.5,11.4 c1.2-1,1.8-2.4,1.8-4c0-3.1-3-6.3-7.3-6.3h-8v22.8h10.4c4.1,0,7.2-3,7.2-6.8C47.5,14.8,46.5,12.3,43.5,11.4z M35.2,5.7h2.4 C39,5.7,40,6.8,40,8c0,1.2-1,2.2-2.5,2.2h-2.4V5.7z M39.9,19.2h-4.7v-4.6h4.7c1.4,0,2.5,1,2.5,2.3C42.4,18.1,41.3,19.2,39.9,19.2z" }), h("path", { key: 'd81d32e23caf236b19a1b4cd1dc95a59c9d1eabf', d: "M13.5,1l13.5,23H0L13.5,1z" })))), h("biggive-misc-icon", { key: '7a04bacb3b4f0ca4c170b8371569deb607f919ac', class: "bx bx-menu", "background-colour": "white", "icon-colour": "black", icon: "MenuOpen", onClick: this.openMobileMenu }), h("div", { key: '0b7e2afcc956bbef4b3cff40f344acc5d8c284b8', class: "nav-links" }, h("div", { key: '440633c48d2af861e7c546f59a2ba03babffecbb', class: "sidebar-logo" }, h("a", { key: '2b940dcb57b40d40b05af2495f96a64b8e0de830', href: this.donateUrlPrefix + homePageLink, "aria-label": "Home" }, h("svg", { key: 'e2dc98d105acb9f4264c8eed09aa6b894afe29b4', version: "1.1", x: "0px", y: "0px", viewBox: "0 0 140.9 30", id: "mobileLogo" }, h("path", { key: 'cf6facbbbabbc363d2f336797c3f2270ca7f6b2e', d: "M51.9,6.1c-1.7,0-3.1-1.4-3.1-3s1.4-3,3.1-3C53.6,0,55,1.4,55,3S53.6,6.1,51.9,6.1z M49.3,23.8h5V7.7h-5V23.8z M68.5,7.7v1 c-0.8-0.7-2.3-1.4-4.1-1.4c-4.5,0-8.2,3.2-8.2,7.9c0,4.7,3.7,7.9,8.2,7.9c1.8,0,3.4-0.5,4.1-1.4v0.9c0,2.1-1.9,3.1-4.4,3.1 c-2.2,0-4-0.5-5.8-1.4V29c2.1,0.7,4.4,1,6,1c5,0,9.2-2,9.2-7.3v-15L68.5,7.7L68.5,7.7z M68.5,17.2c-0.7,1-1.9,1.4-3.2,1.4 c-2.1,0-3.8-1.2-3.8-3.4c0-2.2,1.7-3.4,3.8-3.4c1.3,0,2.5,0.6,3.2,1.5V17.2z M88.1,24.2c4,0,6.4-0.7,8.5-2V10h-11v4.7h5.8v4.1 c-0.8,0.2-1.8,0.4-3.2,0.4c-4.9,0-7.3-3.2-7.3-6.8c0-3.7,2.8-6.8,8-6.8c2.2,0,4.3,0.6,5.8,1.4V1.7c-1.5-0.6-3.4-1.1-6.1-1.1 c-7.6,0-13,5.3-13,11.8C75.5,19.1,80.4,24.2,88.1,24.2z M101.4,6.1c-1.7,0-3.1-1.4-3.1-3s1.4-3,3.1-3c1.8,0,3.2,1.4,3.2,3 S103.1,6.1,101.4,6.1z M98.8,23.8h5V7.7h-5V23.8z M115.1,15l-4.3-7.2H105l10.1,16.4l10.1-16.4h-5.8L115.1,15z M129.3,16.9h11.6 c0.1-7-4.2-9.5-8.4-9.5c-4.5,0-8.5,2.6-8.6,8.4c0,5.6,4.1,8.4,9.1,8.4c2.2,0,4.4-0.3,6.4-1.3v-4.4c-2.5,1.4-4.1,1.4-5.6,1.4 C131.7,19.8,129.5,19.2,129.3,16.9z M132.5,11.1c1.5,0,2.8,0.7,3,2.7h-6.2C129.6,11.9,131,11.1,132.5,11.1z M43.5,11.4 c1.2-1,1.8-2.4,1.8-4c0-3.1-3-6.3-7.3-6.3h-8v22.8h10.4c4.1,0,7.2-3,7.2-6.8C47.5,14.8,46.5,12.3,43.5,11.4z M35.2,5.7h2.4 C39,5.7,40,6.8,40,8c0,1.2-1,2.2-2.5,2.2h-2.4V5.7z M39.9,19.2h-4.7v-4.6h4.7c1.4,0,2.5,1,2.5,2.3C42.4,18.1,41.3,19.2,39.9,19.2z" }), h("path", { key: 'f3c6d198e54fdebf2241f789f6b0f45e94f903b9', d: "M13.5,1l13.5,23H0L13.5,1z" }))), h("biggive-misc-icon", { key: 'f0f9c1e760459d69dc5274da67604e77dd130255', class: "bx bx-x", "background-colour": "transparent", "icon-colour": "black", icon: "MenuClose", onClick: this.closeMobileMenu })), h("div", { key: '3650449da284e091112c8d56504903f86eae210a', id: "nav-primary" }, h("ul", { key: '7df73040d1007c0b5425e4341b8d716020e18007', class: "links", slot: "nav-primary" }, h("li", { key: '92e1307f7e799eb96109c387fe3034811c2532dc' }, h("a", { key: '4765dc4765dd5f30a12ce20579a446e410d9524b', href: makeURL('Donate', this.donateUrlPrefix, 'explore') }, "Explore Campaigns")), h("li", { key: '80aca1e3b310ed62c84a9b61112a8c8cc4b1541d' }, h("a", { key: '870f23269ab77cb99c25943428a9f97fd26e7768', href: makeURL('Blog', this.blogUrlPrefix, 'charities') }, "For Charities")), h("li", { key: '4f0f4256337f852c806847b6a90ef0535326a8a3' }, h("a", { key: 'f6ca4182196119810799fa1df23dde22844dcaa8', href: makeURL('Blog', this.blogUrlPrefix, 'funders') }, "For Funders")), h("li", { key: '6704bcc612e69d304d5517fd29a0a1c851f08f8d' }, h("a", { key: 'e01dc95bd1a9558d75339d0c4b63fe81de00d49d', onClick: this.noNav }, "Match Funding", h("biggive-misc-icon", { key: '766c42c2648666f6837c81b5d288c1b30cdd0657', class: "bx bxs-chevron-down sub-menu-arrow arrow", "background-colour": "white", "icon-colour": "black", icon: "CaretRight" })), h("ul", { key: '3ffe79e2015c7bc56003cbf1f20cdef0ca4b1f50', class: "sub-menu" }, h("li", { key: '7a0789261388aa8fa770e79fecd3adcd0419e233' }, h("a", { key: '047dbee9b0486fdd50a83cb73a33e662c2c6d340', href: makeURL('Blog', this.blogUrlPrefix, 'match-funding-explained') }, "Match Funding Explained")), h("li", { key: '5710e77637e37c96406ded0bf720e472c37c7b11' }, h("a", { key: '57de0505a0af36d05a0c654aa520ac1d19962d53', href: makeURL('Blog', this.blogUrlPrefix, 'impact') }, "Match Funding Impact")), h("li", { key: '9d6809d20372095e831c263c1e26cefa80923b84', class: "more" }, h("a", { key: 'a332a4222d275ab8c04d202e3f8253131ed5a782', onClick: this.noNav }, "Match Funding Opportunities", h("biggive-misc-icon", { key: 'cc151a8fe5f378cc850a8ad1052504c1fb1e6fee', class: "bx bxs-chevron-down sub-sub-menu-arrow arrow", "background-colour": "white", "icon-colour": "black", icon: "CaretRight" })), h("ul", { key: 'ff49e84a8a72a88d22f9e10a6af06847dc9bdf80', class: "sub-sub-menu" }, h("li", { key: 'f31120593c007e1aedf5e39d97d3501003ea40a5' }, h("a", { key: '3a6e0d97d4d500a65fd11d38488c706a9a829bca', href: makeURL('Blog', this.blogUrlPrefix, 'christmas-challenge'), class: "icon-christmas" }, "Christmas Challenge")), h("li", { key: 'b0575f0c6d5c80199b6497cddbebc72dc5376121' }, h("a", { key: 'fe44cc1c859cab74b0890d029d904cbb8e1e7f9d', href: makeURL('Blog', this.blogUrlPrefix, 'champions-for-children'), class: "icon-children" }, "Champions for Children")), h("li", { key: '2a288caf9961c65814b34c3abd8f4a2de07e5b55' }, h("a", { key: 'ac4aadcc51840529c0fc1420a1276ed9c735b70d', href: makeURL('Blog', this.blogUrlPrefix, 'green-match-fund'), class: "icon-green-match" }, "Green Match Fund")), h("li", { key: '43677817219e719081a5aaf258272d24ca7a5f43' }, h("a", { key: '847251bd51d4ede911937951b20cfef01107a78d', href: makeURL('Blog', this.blogUrlPrefix, 'women-girls-match-fund'), class: "icon-women-girls" }, "Women & Girls Match Fund")), h("li", { key: '14f3270ad858f7e05181ff2bafe2f46931bfe44d' }, h("a", { key: 'cf503cca5d9421c00806b5a4f5e4e0dc5bab4b5e', href: makeURL('Blog', this.blogUrlPrefix, 'kind2mind/'), class: "icon-mental-health" }, "Kind\u00B2Mind")), h("li", { key: '32854227a49d939fe42581c3db131f6f79230ed7' }, h("a", { key: '2dc86f1ebe34181ecadf9106ad8ed9880e7d8188', href: makeURL('Blog', this.blogUrlPrefix, 'artsforimpact/'), class: "icon-arts-impact" }, "Arts for Impact")), h("li", { key: 'e96b6edab2756bc630cfd55e12e55e4971d16e3c' }, h("a", { key: 'fee20152ca62af43177fcff7d90acd232a565063', href: makeURL('Blog', this.blogUrlPrefix, 'anchor-match-fund/'), class: "icon-anchor-match" }, "Anchor Match Fund")), h("li", { key: 'f06248fd5cb392369112072de1a7ed78fa15a06c' }, h("a", { key: 'd47951bea746ddb141eaa7c0cf30c51beace6c79', href: makeURL('Blog', this.blogUrlPrefix, 'emergency-campaigns/'), class: "icon-emergency" }, "Emergency Match Fund")))), h("li", { key: '7363c851350fc6b603d94e02d6fb3a9f8a819e5f' }, h("a", { key: '6de9b73efab7ec4a2e519485131a7a03513dc69e', href: makeURL('Blog', this.blogUrlPrefix, 'run-your-own-campaign/)') }, "Run your match funding campaign")))), h("li", { key: 'b67d41d0cea98e53e86a02903ff9fbbb70a4a455' }, h("a", { key: '0e84dae3e722b7670ab585effcff8990512d9597', onClick: this.noNav }, "About Us", h("biggive-misc-icon", { key: '409000803e58de13e2ed0b2e4eb2464bc8cd9da8', class: "bx bxs-chevron-down sub-menu-arrow arrow", "background-colour": "white", "icon-colour": "black", icon: "CaretRight" })), h("ul", { key: '9658a7e8ddba4d6e8fcd4aa8cfb73b6e23124956', class: "sub-menu" }, h("li", { key: '90bd7496b2f9281664d4ffea7e9867584c5ee56f' }, h("a", { key: 'a7c4690a6335774915805bb8f0cc113fd88d70d8', href: makeURL('Blog', this.blogUrlPrefix, 'our-people') }, "Our People")), h("li", { key: 'e2b9f991b6dcde7a998a93586616283d493d96c2' }, h("a", { key: 'c05f19567ffd5d9f992f5557d8a9e383134ccc10', href: makeURL('Blog', this.blogUrlPrefix, 'our-story') }, "Our Story")), h("li", { key: 'a9159304999c46419651757396312ba990933fd6' }, h("a", { key: 'd67e88901e292f6255d556043a0b690566ab658d', href: makeURL('Blog', this.blogUrlPrefix, 'donation-funds') }, "Donate by Bank Transfer")), h("li", { key: '3d9953eb61460ae7eeace37cc656d79ad30c28e1' }, h("a", { key: '44f8375f6596a2d504e66c5f0568c404aae6462e', href: makeURL('Blog', this.blogUrlPrefix, 'our-fees') }, "Our Fees")), h("li", { key: '961e1c4e733540e5549e32254b8c88dbe89c4cb5' }, h("a", { key: '6a749c7e642b22e95516a13c1834b95f5f246843', href: makeURL('Blog', this.blogUrlPrefix, 'faqs') }, "FAQs")))), h("li", { key: '4b6ed5496996e73b340718ee0fd2d40a46d46d87' }, h("a", { key: '505e75abc3e560c92121f435e8fc0f76d2ac1350', onClick: this.noNav }, "Resources", h("biggive-misc-icon", { key: '592328aafa0a0b9ee67f94a71355a01fd3c688f3', class: "bx bxs-chevron-down sub-menu-arrow arrow", "background-colour": "white", "icon-colour": "black", icon: "CaretRight" })), h("ul", { key: '6ccb7644e64f086a327dbe5326aa9b6b52f024ba', class: "sub-menu" }, h("li", { key: '504c00ae2dd261c51ae82fa11c550b33aa1f89b9' }, h("a", { key: 'c7413d0887d44b3a3d7ec0f29831a80892072830', href: makeURL('Blog', this.blogUrlPrefix, 'case-studies') }, "Case Studies")), h("li", { key: '9fa15f0d346afdb752d00c4a5eb9ce6e96133f5c' }, h("a", { key: 'ccdb7f438e0d8a7293eefcb324c513c21d01ceb6', href: makeURL('Blog', this.blogUrlPrefix, 'blog') }, "Blog")), h("li", { key: '44a76e4dd1a31d5cb7aeab32aec323f762b33fe9' }, h("a", { key: '34de9974b25c820d99b5b0d8800eba7dcd174eef', href: makeURL('Blog', this.blogUrlPrefix, 'reports-insights') }, "Reports & Insights")), h("li", { key: '03da92d12e33f8ca0b885437d0f89bdc271a971a' }, h("a", { key: 'c96e675a5f55a4ee1e3513f685226c6b6835f7c7', href: makeURL('Blog', this.blogUrlPrefix, 'press') }, "Press"))))), h("div", { key: 'd31392fba562cccd66e1daaddd80c4f3d8a847be', class: "mobile-only" }, this.getSecondaryNavLinks())), h("div", { key: '1e5ebecf9213ff8dd6957d56498ad7f8e16ea51a', class: "mobile-social-icon-wrap mobile-only" }, h("biggive-social-icon", { key: 'dfcd1228a2753d10f7e92fbe5ebbab2c10565bee', service: "Facebook", url: "https://www.facebook.com/BigGive.org", "background-colour": "tertiary", "icon-colour": "black" }), h("biggive-social-icon", { key: 'c03e1097342ca0a874aac1711e626bf5e1ac9483', service: "Twitter", url: "https://twitter.com/BigGive", "background-colour": "tertiary", "icon-colour": "black" }), h("biggive-social-icon", { key: 'aac8b06595394b31ee1c7beff74969b46efda1dd', service: "LinkedIn", url: "https://uk.linkedin.com/company/big-give", "background-colour": "tertiary", "icon-colour": "black" }), h("biggive-social-icon", { key: '79501ede5a5df49e310accf60f65ea3f39f5dda3', service: "YouTube", url: "https://www.youtube.com/channel/UC9_wH1aaTuZurJ-F9R8GDcA", "background-colour": "tertiary", "icon-colour": "black" }), h("biggive-social-icon", { key: '37f60ac4a426e9542d03153c44dc6e06c465a5d4', service: "Instagram", url: "https://www.instagram.com/biggiveorg", "background-colour": "tertiary", "icon-colour": "black" })))))));
|
|
89
|
+
return (h(Host, { key: '63b7f637d9c5bddc04f26d3a7230b060150d9121' }, h("div", { key: 'da826ccc7ad385063223c1c130aa56c0e265e4d0', class: "row row-top" }, h("div", { key: '50cc24cbfd661c5fa59646c1f9d030bb273ea2d9', class: "social-icon-wrap" }, h("biggive-social-icon", { key: '8eb23c693e4e26a5a7ed9116f9695fa5c71b6422', service: "Facebook", url: "https://www.facebook.com/BigGive.org", "background-colour": "tertiary", "icon-colour": "black" }), h("biggive-social-icon", { key: '6cbc249cdc5fda7e88f242a9889e681e71b995d9', service: "Twitter", url: "https://twitter.com/BigGive", "background-colour": "tertiary", "icon-colour": "black" }), h("biggive-social-icon", { key: 'a83d14bac6dc1c851f42fe1e2ca30d7efbb20d87', service: "LinkedIn", url: "https://uk.linkedin.com/company/big-give", "background-colour": "tertiary", "icon-colour": "black" }), h("biggive-social-icon", { key: '8f58524a4116fa5ff6d441b61a099284f5ecd0e9', service: "YouTube", url: "https://www.youtube.com/channel/UC9_wH1aaTuZurJ-F9R8GDcA", "background-colour": "tertiary", "icon-colour": "black" }), h("biggive-social-icon", { key: '57ca520941bde016821c5d301d6926eb6043baa2', service: "Instagram", url: "https://www.instagram.com/biggiveorg", "background-colour": "tertiary", "icon-colour": "black" })), h("div", { key: 'da26c13b2f5c0315332f923911fff9e7c9a2f57c', class: "nav-secondary" }, this.getSecondaryNavLinks())), h("nav", { key: 'f1463642afc461f14d97dbe5c5a694f7a4ba9b20', role: "navigation", "aria-label": "Main Menu" }, h("div", { key: 'aaa1ab94168fda3a5b50aac554cf08449820c38d', class: "navbar" }, h("div", { key: 'd3b68fa39e2557a27de2b6cd5bd8f1940e372da9', class: "logo" }, h("a", { key: '480d6ab117ed4c5b1a5acee2bd9a59be6e28b068', href: this.donateUrlPrefix + homePageLink, "aria-label": "Home" }, h("svg", { key: '18b3be7ccc3e22d69bfdfbdc4a262652e31c4fb3', version: "1.1", x: "0px", y: "0px", viewBox: "0 0 140.9 30" }, h("path", { key: '1cbb6532be18edb5c7656ab895f9cb6425a9a811', d: "M51.9,6.1c-1.7,0-3.1-1.4-3.1-3s1.4-3,3.1-3C53.6,0,55,1.4,55,3S53.6,6.1,51.9,6.1z M49.3,23.8h5V7.7h-5V23.8z M68.5,7.7v1 c-0.8-0.7-2.3-1.4-4.1-1.4c-4.5,0-8.2,3.2-8.2,7.9c0,4.7,3.7,7.9,8.2,7.9c1.8,0,3.4-0.5,4.1-1.4v0.9c0,2.1-1.9,3.1-4.4,3.1 c-2.2,0-4-0.5-5.8-1.4V29c2.1,0.7,4.4,1,6,1c5,0,9.2-2,9.2-7.3v-15L68.5,7.7L68.5,7.7z M68.5,17.2c-0.7,1-1.9,1.4-3.2,1.4 c-2.1,0-3.8-1.2-3.8-3.4c0-2.2,1.7-3.4,3.8-3.4c1.3,0,2.5,0.6,3.2,1.5V17.2z M88.1,24.2c4,0,6.4-0.7,8.5-2V10h-11v4.7h5.8v4.1 c-0.8,0.2-1.8,0.4-3.2,0.4c-4.9,0-7.3-3.2-7.3-6.8c0-3.7,2.8-6.8,8-6.8c2.2,0,4.3,0.6,5.8,1.4V1.7c-1.5-0.6-3.4-1.1-6.1-1.1 c-7.6,0-13,5.3-13,11.8C75.5,19.1,80.4,24.2,88.1,24.2z M101.4,6.1c-1.7,0-3.1-1.4-3.1-3s1.4-3,3.1-3c1.8,0,3.2,1.4,3.2,3 S103.1,6.1,101.4,6.1z M98.8,23.8h5V7.7h-5V23.8z M115.1,15l-4.3-7.2H105l10.1,16.4l10.1-16.4h-5.8L115.1,15z M129.3,16.9h11.6 c0.1-7-4.2-9.5-8.4-9.5c-4.5,0-8.5,2.6-8.6,8.4c0,5.6,4.1,8.4,9.1,8.4c2.2,0,4.4-0.3,6.4-1.3v-4.4c-2.5,1.4-4.1,1.4-5.6,1.4 C131.7,19.8,129.5,19.2,129.3,16.9z M132.5,11.1c1.5,0,2.8,0.7,3,2.7h-6.2C129.6,11.9,131,11.1,132.5,11.1z M43.5,11.4 c1.2-1,1.8-2.4,1.8-4c0-3.1-3-6.3-7.3-6.3h-8v22.8h10.4c4.1,0,7.2-3,7.2-6.8C47.5,14.8,46.5,12.3,43.5,11.4z M35.2,5.7h2.4 C39,5.7,40,6.8,40,8c0,1.2-1,2.2-2.5,2.2h-2.4V5.7z M39.9,19.2h-4.7v-4.6h4.7c1.4,0,2.5,1,2.5,2.3C42.4,18.1,41.3,19.2,39.9,19.2z" }), h("path", { key: 'a4c25ee3e5e8699a718abf7ab0dabc66d1121759', d: "M13.5,1l13.5,23H0L13.5,1z" })))), h("biggive-misc-icon", { key: '87ef0d4f2093763aa90614e16692bef685566e81', class: "bx bx-menu", "background-colour": "white", "icon-colour": "black", icon: "MenuOpen", onClick: this.openMobileMenu }), h("div", { key: '11894b0cd589bb90471e0965161d34630b466e4d', class: "nav-links" }, h("div", { key: '3dfdc84dfa8a8a8cd7bdadb85c13e89731571edc', class: "sidebar-logo" }, h("a", { key: '96b757c4540ff69f67ed6dc34c1a9dbffc35949b', href: this.donateUrlPrefix + homePageLink, "aria-label": "Home" }, h("svg", { key: '9c7972adf6eeff4570123a14c34418aeb2c7c574', version: "1.1", x: "0px", y: "0px", viewBox: "0 0 140.9 30", id: "mobileLogo" }, h("path", { key: 'bdcb84ad63d5d02bf79bf5ecfc0378e2bf40962f', d: "M51.9,6.1c-1.7,0-3.1-1.4-3.1-3s1.4-3,3.1-3C53.6,0,55,1.4,55,3S53.6,6.1,51.9,6.1z M49.3,23.8h5V7.7h-5V23.8z M68.5,7.7v1 c-0.8-0.7-2.3-1.4-4.1-1.4c-4.5,0-8.2,3.2-8.2,7.9c0,4.7,3.7,7.9,8.2,7.9c1.8,0,3.4-0.5,4.1-1.4v0.9c0,2.1-1.9,3.1-4.4,3.1 c-2.2,0-4-0.5-5.8-1.4V29c2.1,0.7,4.4,1,6,1c5,0,9.2-2,9.2-7.3v-15L68.5,7.7L68.5,7.7z M68.5,17.2c-0.7,1-1.9,1.4-3.2,1.4 c-2.1,0-3.8-1.2-3.8-3.4c0-2.2,1.7-3.4,3.8-3.4c1.3,0,2.5,0.6,3.2,1.5V17.2z M88.1,24.2c4,0,6.4-0.7,8.5-2V10h-11v4.7h5.8v4.1 c-0.8,0.2-1.8,0.4-3.2,0.4c-4.9,0-7.3-3.2-7.3-6.8c0-3.7,2.8-6.8,8-6.8c2.2,0,4.3,0.6,5.8,1.4V1.7c-1.5-0.6-3.4-1.1-6.1-1.1 c-7.6,0-13,5.3-13,11.8C75.5,19.1,80.4,24.2,88.1,24.2z M101.4,6.1c-1.7,0-3.1-1.4-3.1-3s1.4-3,3.1-3c1.8,0,3.2,1.4,3.2,3 S103.1,6.1,101.4,6.1z M98.8,23.8h5V7.7h-5V23.8z M115.1,15l-4.3-7.2H105l10.1,16.4l10.1-16.4h-5.8L115.1,15z M129.3,16.9h11.6 c0.1-7-4.2-9.5-8.4-9.5c-4.5,0-8.5,2.6-8.6,8.4c0,5.6,4.1,8.4,9.1,8.4c2.2,0,4.4-0.3,6.4-1.3v-4.4c-2.5,1.4-4.1,1.4-5.6,1.4 C131.7,19.8,129.5,19.2,129.3,16.9z M132.5,11.1c1.5,0,2.8,0.7,3,2.7h-6.2C129.6,11.9,131,11.1,132.5,11.1z M43.5,11.4 c1.2-1,1.8-2.4,1.8-4c0-3.1-3-6.3-7.3-6.3h-8v22.8h10.4c4.1,0,7.2-3,7.2-6.8C47.5,14.8,46.5,12.3,43.5,11.4z M35.2,5.7h2.4 C39,5.7,40,6.8,40,8c0,1.2-1,2.2-2.5,2.2h-2.4V5.7z M39.9,19.2h-4.7v-4.6h4.7c1.4,0,2.5,1,2.5,2.3C42.4,18.1,41.3,19.2,39.9,19.2z" }), h("path", { key: '6795187d04a312992e064d4631b5274d29843a0d', d: "M13.5,1l13.5,23H0L13.5,1z" }))), h("biggive-misc-icon", { key: '309e72b0fc0bed7ab48c72334384cb5c93dbcd5d', class: "bx bx-x", "background-colour": "transparent", "icon-colour": "black", icon: "MenuClose", onClick: this.closeMobileMenu })), h("div", { key: '40e52f70b81e9d0634b4a863eddaaad619d89756', id: "nav-primary" }, h("ul", { key: '43d4e35c202c1b77820991a345b84019ec6baee2', class: "links", slot: "nav-primary" }, h("li", { key: 'ff1ee44b9cf081e12d4b5ce902775a5ca682279f' }, h("a", { key: '6c0dbea0c85be57411c70fc29b26d60d265cc0f0', href: makeURL('Donate', this.donateUrlPrefix, 'explore') }, "Explore Campaigns")), h("li", { key: '7ae5a1f72772f4c4463c65f6bda9ff0c27a452b8' }, h("a", { key: '3c00d19e91db0c654f9bca90df63cfd8868ba51b', href: makeURL('Blog', this.blogUrlPrefix, 'charities') }, "For Charities")), h("li", { key: '7df4c363245870c7aa6001d2d3b613d44315ed34' }, h("a", { key: '200b049056e027c44e2dd384f10d608dabd0cfd3', href: makeURL('Blog', this.blogUrlPrefix, 'funders') }, "For Funders")), h("li", { key: 'e053ea1c5ca737400f04a40fae1b1a84d31d5066' }, h("a", { key: 'c112d38fc845c3d8a9b6541423f7b9e8576218a4', onClick: this.noNav }, "Match Funding", h("biggive-misc-icon", { key: '3501a50ea78a99e038353bda0ba6e40f073b6929', class: "bx bxs-chevron-down sub-menu-arrow arrow", "background-colour": "white", "icon-colour": "black", icon: "CaretRight" })), h("ul", { key: '82ce8452aee19256f2ac4005ae5d8c95d3f49c76', class: "sub-menu" }, h("li", { key: '67e777cc6db0a2e779271824924a1babd72f4423' }, h("a", { key: 'bf1ebd4580f7ea9fb1fdabb0aceb276af67c6f5c', href: makeURL('Blog', this.blogUrlPrefix, 'match-funding-explained') }, "Match Funding Explained")), h("li", { key: '0ebe35fc33cf2eb91a8539dc3aa76243d86adea3' }, h("a", { key: '533e3ceabbfadb61c09e44a275a16cefec46d651', href: makeURL('Blog', this.blogUrlPrefix, 'impact') }, "Match Funding Impact")), h("li", { key: '8641bf0f9cf4e694f05c812457df198cb83e8476', class: "more" }, h("a", { key: 'd012203926d7d78f07422f1fba7a72f8ceef7a63', onClick: this.noNav }, "Match Funding Opportunities", h("biggive-misc-icon", { key: 'bb5d450884f36a5f6b52de344363248a6fc6b1ed', class: "bx bxs-chevron-down sub-sub-menu-arrow arrow", "background-colour": "white", "icon-colour": "black", icon: "CaretRight" })), h("ul", { key: 'c4b8620a87dd9445ff4cbdf325a968ed607970ef', class: "sub-sub-menu" }, h("li", { key: '461e134f4959d73790d406d44629cde3c27baa1e' }, h("a", { key: '4bc0e617efab1ef65ed65bddf8eff3f2895c3f99', href: makeURL('Blog', this.blogUrlPrefix, 'christmas-challenge'), class: "icon-christmas" }, "Christmas Challenge")), h("li", { key: '6b26465ba36b2c810b229a668a9ce5b86cb1c580' }, h("a", { key: '02a5006ea434dbc31a39c837fa31fe3e15a11067', href: makeURL('Blog', this.blogUrlPrefix, 'champions-for-children'), class: "icon-children" }, "Champions for Children")), h("li", { key: 'ca9ef9eafca7abf5e63b705e07e14ee14a8110b7' }, h("a", { key: 'eb6b0b0b7c51ff9b7384938aec54180aa94b931f', href: makeURL('Blog', this.blogUrlPrefix, 'green-match-fund'), class: "icon-green-match" }, "Green Match Fund")), h("li", { key: '4c298020db196b643e846b2a243f097a418f4687' }, h("a", { key: '60169726811db8617673de1bc8c761ac95daf81f', href: makeURL('Blog', this.blogUrlPrefix, 'women-girls-match-fund'), class: "icon-women-girls" }, "Women & Girls Match Fund")), h("li", { key: '0eaf3e4d599b945102a2046a21de7a4631836e22' }, h("a", { key: 'd0af1fda4d0f48ef165a640181b14e5fb5519160', href: makeURL('Blog', this.blogUrlPrefix, 'kind2mind/'), class: "icon-mental-health" }, "Kind\u00B2Mind")), h("li", { key: '35a5468888b608e7703915dd536daf285637d6fb' }, h("a", { key: 'a9fc5a350b33f67764844aa1ef9999b87bf5ec9d', href: makeURL('Blog', this.blogUrlPrefix, 'artsforimpact/'), class: "icon-arts-impact" }, "Arts for Impact")), h("li", { key: '65c0385c3fbd76596f160e8f022cfc52e817f77a' }, h("a", { key: '5c76097f9ee9507c3108e2ca0c9097994566e77e', href: makeURL('Blog', this.blogUrlPrefix, 'anchor-match-fund/'), class: "icon-anchor-match" }, "Anchor Match Fund")), h("li", { key: '4f2b2cfd2ecb0ab3dc2dfebc18e4c5943c5fc994' }, h("a", { key: '81dde927e8b297404a2411cedf85d1ecefa09986', href: makeURL('Blog', this.blogUrlPrefix, 'emergency-campaigns/'), class: "icon-emergency" }, "Emergency Match Fund")))), h("li", { key: 'f8f702ce7ad7f0de7ad303819d0d7e75b483f314' }, h("a", { key: 'f9748192cf003f23ef51d5cfd6e6aaf671a5bc9e', href: makeURL('Blog', this.blogUrlPrefix, 'run-your-own-campaign/)') }, "Run your match funding campaign")))), h("li", { key: 'f88dd519d597ef2345139481796b02009267cae3' }, h("a", { key: 'db8a82b76b634d62eeb51d91b0dae344573c7048', onClick: this.noNav }, "About Us", h("biggive-misc-icon", { key: '42a0905d060e9dfdfd3ea13af9c1729b425343aa', class: "bx bxs-chevron-down sub-menu-arrow arrow", "background-colour": "white", "icon-colour": "black", icon: "CaretRight" })), h("ul", { key: '6d93c7b6ef3c46663a906ca0b12938c6f30b486f', class: "sub-menu" }, h("li", { key: 'c1112b23eca04692b917f734aa4011d066cb852c' }, h("a", { key: 'd94ae68a035bebcad7681f98f0ab9a07f416cbb7', href: makeURL('Blog', this.blogUrlPrefix, 'our-people') }, "Our People")), h("li", { key: 'c3dc80d0b619d9e0a2dd3db7c12bbf2d354f2602' }, h("a", { key: '11fbdd3025d89baceb67b4eb08e80bc846313d2f', href: makeURL('Blog', this.blogUrlPrefix, 'our-story') }, "Our Story")), h("li", { key: '32fe2fb3ae50441db005900a42fde64993eaf48e' }, h("a", { key: '0a397879bdf10fe3fe7ab27967bdfa41c7abe4b5', href: makeURL('Blog', this.blogUrlPrefix, 'donation-funds') }, "Donate by Bank Transfer")), h("li", { key: '2275548d20e60fef84ce79fedb835c5bd77f4057' }, h("a", { key: '0bc9f43ed2ee403df66f93e394988dc8351cda65', href: makeURL('Blog', this.blogUrlPrefix, 'our-fees') }, "Our Fees")), h("li", { key: '36ba263592862f94d8ff3cce752b3675e6ad2175' }, h("a", { key: '4d3b32e2741435da409feef95a60dc2635cbee0a', href: makeURL('Blog', this.blogUrlPrefix, 'faqs') }, "FAQs")))), h("li", { key: '5bb9fda0d8867bddf3464b989d6ee78353c2bac1' }, h("a", { key: '20e0cea5eb8476efc5f39eb7c055a75929189e8e', onClick: this.noNav }, "Resources", h("biggive-misc-icon", { key: 'ffe803bdf26c36d5cdccad4235de6f00e9e11521', class: "bx bxs-chevron-down sub-menu-arrow arrow", "background-colour": "white", "icon-colour": "black", icon: "CaretRight" })), h("ul", { key: '7182bc8a3ed40469cd7b33020f0985ef8a0b33c7', class: "sub-menu" }, h("li", { key: 'f9922a47db26234ec1f935118b21419f48aa4fa5' }, h("a", { key: '09524ade35ee2abfb1066b8e555378dc162f3c4b', href: makeURL('Blog', this.blogUrlPrefix, 'case-studies') }, "Case Studies")), h("li", { key: 'f741fe5e51ebaed835f60bc479174ff192009d69' }, h("a", { key: 'f55762a29d3d275e97fa02acf2b22da6e957cb5d', href: makeURL('Blog', this.blogUrlPrefix, 'blog') }, "Blog")), h("li", { key: '7172ab267ebef1477082426835901b7c230972ff' }, h("a", { key: '78e6f37afc481e57f98b62ee6a2cd6ba471fd6a6', href: makeURL('Blog', this.blogUrlPrefix, 'reports-insights') }, "Reports & Insights")), h("li", { key: '28cf6bceacbeaf597aa43938c2502c2ae71a1b35' }, h("a", { key: '96dbc84c2eafc7f933cf356d16627c6a6de6a9f2', href: makeURL('Blog', this.blogUrlPrefix, 'press') }, "Press"))))), h("div", { key: '16941577f0dfdbbfdb9d2292da8cce72ca82c09c', class: "mobile-only" }, this.getSecondaryNavLinks())), h("div", { key: '982038d6f2a1c07f3b9103aef0472cb6eea0a028', class: "mobile-social-icon-wrap mobile-only" }, h("biggive-social-icon", { key: '04df901974a7a47444d5083fe1038a2abde1dfa4', service: "Facebook", url: "https://www.facebook.com/BigGive.org", "background-colour": "tertiary", "icon-colour": "black" }), h("biggive-social-icon", { key: '8abe09280eca817c426dd24b1617d0d9d3c90a97', service: "Twitter", url: "https://twitter.com/BigGive", "background-colour": "tertiary", "icon-colour": "black" }), h("biggive-social-icon", { key: '3652f9a98e354a6ca34ec5cc4f55f0760868ece5', service: "LinkedIn", url: "https://uk.linkedin.com/company/big-give", "background-colour": "tertiary", "icon-colour": "black" }), h("biggive-social-icon", { key: 'd21022a141626c3780c0c47b667086692effb286', service: "YouTube", url: "https://www.youtube.com/channel/UC9_wH1aaTuZurJ-F9R8GDcA", "background-colour": "tertiary", "icon-colour": "black" }), h("biggive-social-icon", { key: '94e9683f135ca4e3c14057281bb37c798a8e04cc', service: "Instagram", url: "https://www.instagram.com/biggiveorg", "background-colour": "tertiary", "icon-colour": "black" })))))));
|
|
90
90
|
}
|
|
91
91
|
static get is() { return "biggive-main-menu"; }
|
|
92
92
|
static get encapsulation() { return "shadow"; }
|
|
@@ -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"; }
|
|
@@ -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: '67264d56fc7bfd43fbfa62777c9925e229765bca', class: 'container space-below-' + this.spaceBelow }, h("div", { key: 'ba9c8a6948e2a44c3ea5b9b8c0e608d58df65b3f', class: "sleeve" }, h("div", { key: '5c65ef21bcc6954382f45d107f1151db8f2dd9a4', class: "search-wrap" }, h("h4", { key: '67cada14d6ebf27777d8fbb141b38b53878a9ee0' }, this.intro), h("div", { key: 'f7f31fd2598d1268d720aa2ac50155f80a09449e', class: "field-wrap" }, h("div", { key: 'e423747ad2763843187129477bbd434d646bb1d6', class: "input-wrap" }, h("svg", { key: 'b5b2e6cfa9cbad77d08cc5b5fccaeb6309d6775d', xmlns: "http://www.w3.org/2000/svg", class: "icon", viewBox: "0 0 512 512" }, h("path", { key: '35d42363461df259bff18c8577baa23574ae14e6', d: faMagnifyingGlass.icon[4].toString() })), h("input", { key: '56f3d019fd1e323dc9ececbe6b17a8407e9941d6', 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: '80941f24d830c1b0011a80cbea6fed35b3ebfed8', onClick: this.handleSearchButtonPressed, label: this.buttonText }))), h("div", { key: '4e5a2696822f44d4e943547c7581d198ba7f7141', class: "sort-filter-wrap" }, h("div", { key: 'e769639e7d9fd21572cf24cbeda9422482eeb6b2', class: "filter-wrap" }, h("biggive-button", { key: '5a8bddcffd662c27b6106a67f1f41547f10085a5', class: "filter", colourScheme: "primary", onClick: this.handleFilterButtonClick, label: "Filter", fullWidth: true, "space-below": "0" }), h("biggive-popup", { key: '297c9384b2f4c49234385258896e10af93ebf179', id: "filter-popup" }, h("h4", { key: '30fe0b002278df67c4901cf5d9785520778c4a3a', class: "space-above-0 space-below-3 text-colour-primary" }, "Filters"), h("div", { key: '36bbc600e1b5780917ffcb07b7922d302a375f5b', class: "select-wrapper-1" }, h("biggive-form-field-select", { key: 'cec4ee0f0df64df281afcb0a7b3ddec64f2d2e3b', 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: '4a1f2590fd7fb3ede74d1087b9adaccc5e7e1910', class: "select-wrapper-2" }, h("biggive-form-field-select", { key: '41e403cdbc22314a0c49106025856dae04ae6751', 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: '3798cfad565438bbac90cf100565fee1d3262e27', class: "select-wrapper-3" }, h("biggive-form-field-select", { key: 'c360faa3accdea496ff54eabab9ba7216380b45a', 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: 'b2d3282013f28157f371c111a75dd18e32f0eaef', class: "align-right" }, h("biggive-button", { key: '6110c0b1d0c75aa23818e550cbd9cd082fad8583', label: "Apply filters", onClick: this.handleApplyFilterButtonClick })))), h("div", { key: 'f696e688980fc00f6c8131199169115803dc58fc', class: "sort-wrap" }, h("biggive-form-field-select", { key: '848eae08e866d842f4902f8a04151f4fa8128f16', 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: 'fe1a332da686a93d09a8c3ad3935f91f9e801e46', value: "amountRaised", label: "Most raised" }), h("biggive-form-field-select-option", { key: '674d5b1f9c6a1ae7751db9aafefaf32bc26d9356', value: "leastRaised", label: "Least raised" }), h("biggive-form-field-select-option", { key: '89cd48de20c64fdbe9528f5a2ccfa1bdc7f8e681', value: "matchFundsRemaining", label: "Match funds remaining" }), (this.searchText || '').length > 0 ? h("biggive-form-field-select-option", { value: "Relevance", label: "Relevance" }) : null))), h("div", { key: '7ddc7839f5970d095e6f7efb325ede44c7a4026f', class: "selected-filter-wrap" }, h("div", { key: '01d04e415d36d7d82a9e0042e979d1725a81d42d', class: "selected-filters" }, this.selectedFilterCategory && (h("span", { key: '53f8daf65ae2261962d035612a11982b9de87c40', class: "button", onClick: () => {
|
|
174
175
|
this.removeFilter('categories');
|
|
175
|
-
} }, this.selectedFilterCategory)), this.selectedFilterBeneficiary && (h("span", { key: '
|
|
176
|
+
} }, this.selectedFilterCategory)), this.selectedFilterBeneficiary && (h("span", { key: '9623d151849e3eddec0516b96931f20573d4389b', class: "button", onClick: () => {
|
|
176
177
|
this.removeFilter('beneficiaries');
|
|
177
|
-
} }, this.selectedFilterBeneficiary)), this.selectedFilterLocation && (h("span", { key: '
|
|
178
|
+
} }, this.selectedFilterBeneficiary)), this.selectedFilterLocation && (h("span", { key: '3d65533e3633a0394551706f29e8173e28cabca2', class: "button", onClick: () => {
|
|
178
179
|
this.removeFilter('locations');
|
|
179
|
-
} }, this.selectedFilterLocation))), h("div", { key: '
|
|
180
|
+
} }, this.selectedFilterLocation))), h("div", { key: '47e2adf81f3853b9990d0720f8362a7a985f96e2', class: "clear-all" }, h("a", { key: 'b94db5e306101c0fb2547f9392e29dcd1822a08b', onClick: this.handleClearAll }, "Clear all"))), h("div", { key: 'b95cfb970c0fdcbd6c6ccc1891bd0169e12f75b6', class: "campaign-grid" }, h("slot", { key: '6e4f800362a3befb87d90a1214f07be22b9291c8', 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
|