@biggive/components 202603041035.0.0 → 202603041449.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-01b01870.entry.js +1 -0
- package/dist/biggive/{p-3e51fab3.entry.js → p-07f6193b.entry.js} +1 -1
- package/dist/biggive/{p-ed72b6cb.entry.js → p-0b7708ae.entry.js} +1 -1
- package/dist/biggive/{p-e4ede33d.entry.js → p-0e1f7f8b.entry.js} +1 -1
- package/dist/biggive/{p-a0cb411e.entry.js → p-0eaeb864.entry.js} +1 -1
- package/dist/biggive/{p-dd48d791.entry.js → p-11764af6.entry.js} +1 -1
- package/dist/biggive/{p-037e588c.entry.js → p-1fddd3f0.entry.js} +1 -1
- package/dist/biggive/{p-9338e7c1.entry.js → p-2aefd822.entry.js} +1 -1
- package/dist/biggive/{p-6e5780dc.entry.js → p-2d91208e.entry.js} +1 -1
- package/dist/biggive/{p-77af8a2c.entry.js → p-3c4c2712.entry.js} +1 -1
- package/dist/biggive/{p-54d6e569.entry.js → p-3d8c0710.entry.js} +1 -1
- package/dist/biggive/{p-dba52c2f.entry.js → p-4e91f697.entry.js} +1 -1
- package/dist/biggive/{p-583b81d5.entry.js → p-579a0a78.entry.js} +1 -1
- package/dist/biggive/p-5b74ac73.entry.js +1 -0
- package/dist/biggive/{p-1b486f19.entry.js → p-63535bee.entry.js} +1 -1
- package/dist/biggive/{p-2e5c4831.entry.js → p-65b741e1.entry.js} +1 -1
- package/dist/biggive/{p-b497b37d.entry.js → p-66b4e7fb.entry.js} +1 -1
- package/dist/biggive/{p-911163f6.entry.js → p-690b46f6.entry.js} +1 -1
- package/dist/biggive/{p-24b533fc.entry.js → p-6c98331d.entry.js} +1 -1
- package/dist/biggive/{p-d93dd889.entry.js → p-6ec4baac.entry.js} +1 -1
- package/dist/biggive/p-735524b5.entry.js +1 -0
- package/dist/biggive/{p-a04a3dcd.entry.js → p-7631b461.entry.js} +1 -1
- package/dist/biggive/p-8c35329c.entry.js +1 -0
- package/dist/biggive/p-8fe710bc.entry.js +1 -0
- package/dist/biggive/{p-cf0f0e95.entry.js → p-923b2c98.entry.js} +1 -1
- package/dist/biggive/{p-8c0d8fd8.entry.js → p-94e1906f.entry.js} +1 -1
- package/dist/biggive/{p-b50acebb.entry.js → p-9852ff0b.entry.js} +1 -1
- package/dist/biggive/{p-576aaaaf.entry.js → p-a18dfe2b.entry.js} +1 -1
- package/dist/biggive/p-a3cdc8c9.entry.js +1 -0
- package/dist/biggive/{p-edbf61fa.entry.js → p-a67926e6.entry.js} +1 -1
- package/dist/biggive/{p-73f2f99c.entry.js → p-aa7934db.entry.js} +1 -1
- package/dist/biggive/{p-7b740cd7.entry.js → p-afa033d2.entry.js} +1 -1
- package/dist/biggive/{p-c284d1e0.entry.js → p-c3358a9f.entry.js} +1 -1
- package/dist/biggive/{p-71f14913.entry.js → p-cbbd3d27.entry.js} +1 -1
- package/dist/biggive/{p-b14f0b9c.entry.js → p-d00f7e85.entry.js} +1 -1
- package/dist/biggive/{p-a1844f9c.entry.js → p-d0b9afaf.entry.js} +1 -1
- package/dist/biggive/{p-82a15b54.entry.js → p-d4278701.entry.js} +1 -1
- package/dist/biggive/{p-f35841cf.entry.js → p-e0de3e38.entry.js} +1 -1
- package/dist/biggive/{p-7e6d82d9.entry.js → p-e26f4e83.entry.js} +1 -1
- package/dist/biggive/{p-eae85d23.entry.js → p-f01e6a78.entry.js} +1 -1
- package/dist/biggive/p-fe51dc95.entry.js +1 -0
- package/dist/cjs/biggive-button.cjs.entry.js +25 -6
- package/dist/cjs/biggive-call-to-action.cjs.entry.js +1 -1
- package/dist/cjs/biggive-campaign-card.cjs.entry.js +2 -2
- package/dist/cjs/biggive-campaign-highlights.cjs.entry.js +1 -1
- package/dist/cjs/biggive-container-card.cjs.entry.js +1 -1
- package/dist/cjs/biggive-cookie-banner.cjs.entry.js +1 -1
- package/dist/cjs/biggive-form-field-select.cjs.entry.js +2 -2
- package/dist/cjs/biggive-form.cjs.entry.js +1 -1
- package/dist/cjs/biggive-formatted-text.cjs.entry.js +1 -1
- package/dist/cjs/biggive-grid.cjs.entry.js +1 -1
- package/dist/cjs/biggive-heading-banner.cjs.entry.js +2 -2
- package/dist/cjs/biggive-heading.cjs.entry.js +1 -1
- package/dist/cjs/biggive-hero-image.cjs.entry.js +2 -2
- package/dist/cjs/biggive-icon-button.cjs.entry.js +2 -2
- package/dist/cjs/biggive-image-button.cjs.entry.js +2 -2
- package/dist/cjs/biggive-image-card.cjs.entry.js +2 -2
- package/dist/cjs/biggive-image-feature.cjs.entry.js +1 -1
- package/dist/cjs/biggive-image.cjs.entry.js +1 -1
- package/dist/cjs/biggive-main-menu.cjs.entry.js +4 -3
- package/dist/cjs/biggive-misc-icon.cjs.entry.js +1 -1
- 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-page-column.cjs.entry.js +1 -1
- package/dist/cjs/biggive-page-columns.cjs.entry.js +1 -1
- package/dist/cjs/biggive-page-section.cjs.entry.js +2 -2
- package/dist/cjs/biggive-popup.cjs.entry.js +1 -1
- package/dist/cjs/biggive-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/biggive-quote.cjs.entry.js +3 -3
- package/dist/cjs/biggive-sheet.cjs.entry.js +1 -1
- package/dist/cjs/biggive-social-icon.cjs.entry.js +1 -1
- package/dist/cjs/biggive-tab.cjs.entry.js +1 -1
- package/dist/cjs/biggive-tabbed-content.cjs.entry.js +2 -2
- package/dist/cjs/biggive-table.cjs.entry.js +2 -2
- package/dist/cjs/biggive-text-input.cjs.entry.js +1 -1
- package/dist/cjs/biggive-timeline.cjs.entry.js +2 -2
- package/dist/cjs/biggive-totalizer-ticker-item.cjs.entry.js +1 -1
- package/dist/cjs/biggive-totalizer.cjs.entry.js +1 -1
- package/dist/cjs/biggive-video-feature.cjs.entry.js +1 -1
- package/dist/cjs/biggive-video.cjs.entry.js +1 -1
- package/dist/cjs/philco-footer.cjs.entry.js +1 -1
- package/dist/cjs/philco-main-menu.cjs.entry.js +1 -1
- package/dist/collection/components/biggive-button/biggive-button.js +25 -6
- 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 +2 -2
- package/dist/collection/components/biggive-campaign-highlights/biggive-campaign-highlights.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-grid/biggive-grid.js +1 -1
- package/dist/collection/components/biggive-heading/biggive-heading.js +1 -1
- package/dist/collection/components/biggive-heading-banner/biggive-heading-banner.js +2 -2
- 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-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 +4 -3
- 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-progress-bar/biggive-progress-bar.js +1 -1
- package/dist/collection/components/biggive-quote/biggive-quote.js +3 -3
- 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/collection/components/philco-footer/philco-footer.js +1 -1
- package/dist/collection/components/philco-main-menu/philco-main-menu.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.js +1 -1
- package/dist/components/biggive-campaign-highlights.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 +1 -1
- package/dist/components/biggive-form.js +1 -1
- package/dist/components/biggive-formatted-text.js +1 -1
- package/dist/components/biggive-grid.js +1 -1
- package/dist/components/biggive-heading-banner.js +1 -1
- package/dist/components/biggive-heading.js +1 -1
- package/dist/components/biggive-hero-image.js +1 -1
- package/dist/components/biggive-icon-button.js +1 -1
- package/dist/components/biggive-image-button.js +1 -1
- package/dist/components/biggive-image-card.js +1 -1
- 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 +1 -1
- package/dist/components/biggive-popup2.js +1 -1
- package/dist/components/biggive-progress-bar2.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 +1 -1
- package/dist/components/biggive-table.js +1 -1
- package/dist/components/biggive-text-input.js +1 -1
- package/dist/components/biggive-timeline.js +1 -1
- 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/components/philco-footer.js +1 -1
- package/dist/components/philco-main-menu.js +1 -1
- package/dist/esm/biggive-button.entry.js +25 -6
- package/dist/esm/biggive-call-to-action.entry.js +1 -1
- package/dist/esm/biggive-campaign-card.entry.js +2 -2
- package/dist/esm/biggive-campaign-highlights.entry.js +1 -1
- package/dist/esm/biggive-container-card.entry.js +1 -1
- package/dist/esm/biggive-cookie-banner.entry.js +1 -1
- package/dist/esm/biggive-form-field-select.entry.js +2 -2
- package/dist/esm/biggive-form.entry.js +1 -1
- package/dist/esm/biggive-formatted-text.entry.js +1 -1
- package/dist/esm/biggive-grid.entry.js +1 -1
- package/dist/esm/biggive-heading-banner.entry.js +2 -2
- package/dist/esm/biggive-heading.entry.js +1 -1
- package/dist/esm/biggive-hero-image.entry.js +2 -2
- package/dist/esm/biggive-icon-button.entry.js +2 -2
- package/dist/esm/biggive-image-button.entry.js +2 -2
- package/dist/esm/biggive-image-card.entry.js +2 -2
- package/dist/esm/biggive-image-feature.entry.js +1 -1
- package/dist/esm/biggive-image.entry.js +1 -1
- package/dist/esm/biggive-main-menu.entry.js +4 -3
- package/dist/esm/biggive-misc-icon.entry.js +1 -1
- package/dist/esm/biggive-nav-group.entry.js +1 -1
- package/dist/esm/biggive-nav-item.entry.js +1 -1
- package/dist/esm/biggive-page-column.entry.js +1 -1
- package/dist/esm/biggive-page-columns.entry.js +1 -1
- package/dist/esm/biggive-page-section.entry.js +2 -2
- package/dist/esm/biggive-popup.entry.js +1 -1
- package/dist/esm/biggive-progress-bar.entry.js +1 -1
- package/dist/esm/biggive-quote.entry.js +3 -3
- package/dist/esm/biggive-sheet.entry.js +1 -1
- package/dist/esm/biggive-social-icon.entry.js +1 -1
- package/dist/esm/biggive-tab.entry.js +1 -1
- package/dist/esm/biggive-tabbed-content.entry.js +2 -2
- package/dist/esm/biggive-table.entry.js +2 -2
- package/dist/esm/biggive-text-input.entry.js +1 -1
- package/dist/esm/biggive-timeline.entry.js +2 -2
- package/dist/esm/biggive-totalizer-ticker-item.entry.js +1 -1
- package/dist/esm/biggive-totalizer.entry.js +1 -1
- package/dist/esm/biggive-video-feature.entry.js +1 -1
- package/dist/esm/biggive-video.entry.js +1 -1
- package/dist/esm/philco-footer.entry.js +1 -1
- package/dist/esm/philco-main-menu.entry.js +1 -1
- package/dist/types/components/biggive-button/biggive-button.d.ts +1 -0
- package/hydrate/index.js +81 -61
- package/hydrate/index.mjs +81 -61
- package/package.json +1 -1
- package/dist/biggive/p-089c4ecd.entry.js +0 -1
- package/dist/biggive/p-32992f5d.entry.js +0 -1
- package/dist/biggive/p-68b7ce7e.entry.js +0 -1
- package/dist/biggive/p-6e674d92.entry.js +0 -1
- package/dist/biggive/p-87c905c1.entry.js +0 -1
- package/dist/biggive/p-bdce8162.entry.js +0 -1
- package/dist/biggive/p-d9b8de97.entry.js +0 -1
|
@@ -103,7 +103,7 @@ export class BiggiveTabbedContent {
|
|
|
103
103
|
});
|
|
104
104
|
}
|
|
105
105
|
render() {
|
|
106
|
-
return (h("div", { key: '
|
|
106
|
+
return (h("div", { key: 'a3a6e6a8973c5f9ce375802604c86d185f2c4e21', 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: '6c6c89a3674c1a61d3fd7385dcc75dc03d633fb1', class: "navigation" }, h("div", { key: '412bfb622862cd7f1c2a6b29eb43005cba1046b5', class: "button prev", onClick: this.clickPrevHandler, title: "Previous" }, h("svg", { key: 'a2f31c6d0bd2c59dd01377e9ad8ee3a4b8c747ab', width: "9", height: "16", viewBox: "0 0 9 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '9ccc951794ea7e584cd18d0984ca423283f12682', d: "M8.29311 14.5703L1.73926 8.01646L8.29311 1.46261", stroke: "#000000", "stroke-width": "2" }))), h("div", { key: '24afe78ecb54079f01d9051c5c673dd1adc9c140', class: "sleeve" }, h("ul", { key: '21bd70c080d937e2ceb4c7bb5b9daf17cee9e198' }, this.children.map(child => (h("li", { onClick: this.clickTabHandler }, child.tabTitle))))), h("div", { key: '0cc0ccf18b9156154a05d6377745eb40c47f529f', class: "button next", onClick: this.clickNextHandler, title: "Next" }, h("svg", { key: 'ce8f610685db60a537817ffd3b7ae204f762849f', width: "9", height: "16", viewBox: "0 0 9 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'd9b8764b135178e0df1d7ffb0fc9e4d95153542b', d: "M0.739117 1.46094L7.29297 8.01479L0.739118 14.5686", stroke: "#000000", "stroke-width": "2" })))), h("slot", { key: '37506653fac975afe4df95625b1d00067cb8f430' })));
|
|
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: 'abd68af2392c2034df0f28ef0e02748caba42683', 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: '8413ae4417883293064752aff362d74323e5ebed' })));
|
|
21
21
|
}
|
|
22
22
|
static get is() { return "biggive-table"; }
|
|
23
23
|
static get encapsulation() { return "shadow"; }
|
|
@@ -15,7 +15,7 @@ export class BiggiveTextInput {
|
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
17
|
const currencySymbol = this.currency === 'GBP' ? '£' : this.currency === 'USD' ? '$' : undefined;
|
|
18
|
-
return (h("div", { key: '
|
|
18
|
+
return (h("div", { key: '8d2e3c22a74abaf7bd62ebf1f2c566f6bb675a35', class: 'text-input space-below-' + this.spaceBelow + ' select-style-' + this.selectStyle + ' ' + this.siteDesign }, h("div", { key: '1dd1637a400347fb648e6c2c8164c147db39f265', class: "prompt" }, h("span", { key: '8c27565ae24bd58c187b05c1aebb9f22ff2b0318' }, h("slot", { key: '60f2c931cf8db30224183db7c84d8359d49ad85a', name: "label" }))), h("div", { key: '0931f60f21f6592b21b2e4e3c7de2b743512410f', class: "sleeve" }, h("div", { key: '78ca094aa194e716001419c0a33d9d00812f535f', class: "inner-sleeve" }, currencySymbol && h("span", { key: '6447e2d7dbaadced06a5bd8e91d6e0b39c7f598c', class: "currency-symbol" }, currencySymbol), h("slot", { key: '6e5fbf7cf2590fd2d89a3d2643b3791286e0d5be', name: "input" }), h("div", { key: '3f618db51cb42a1641b7a26b40b2b39c07809395', style: { clear: 'both' } })))));
|
|
19
19
|
}
|
|
20
20
|
componentDidLoad() {
|
|
21
21
|
const nativeInput = this.host.querySelector(`[slot="input"]`);
|
|
@@ -106,7 +106,7 @@ export class BiggiveTimeline {
|
|
|
106
106
|
});
|
|
107
107
|
}
|
|
108
108
|
render() {
|
|
109
|
-
return (h("div", { key: '
|
|
109
|
+
return (h("div", { key: '1c7172d9f77028c52eca56754b55567482e62aed', 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: 'c14d4e0900004203055ef256764d4defa52ca9fb', class: "navigation" }, h("div", { key: 'caa0cc6cfa2dc41cd6c33f03ab6d48e2822dbd83', class: "button prev", onClick: this.clickPrevHandler, title: "Previous" }, h("svg", { key: '24a655914c707c4d6ae94e6015bf472c3f62daf7', width: "9", height: "16", viewBox: "0 0 9 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '51f25df809909438bafe9ba5883f4fe2074144ae', d: "M8.29311 14.5703L1.73926 8.01646L8.29311 1.46261", stroke: "#000000", "stroke-width": "2" }))), h("div", { key: '4be11d07c6983d283cd25f85fdff86fa17670237', class: "sleeve" }, h("ul", { key: 'bbaecab4ca42ed05bdd19a0f5d483efe20654ce9' }, this.tabHeadings.map(tab => (h("li", { onClick: this.clickTabHandler }, tab))))), h("div", { key: 'df56fe5329703a94edd53cc35c6c2b6db24b349f', class: "button next", onClick: this.clickNextHandler, title: "Next" }, h("svg", { key: '32138a63b868cfc47fc9dadf1b80b732846e236b', width: "9", height: "16", viewBox: "0 0 9 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '233ed7dedff44369a6dd9eee5c2a17c4d449204a', d: "M0.739117 1.46094L7.29297 8.01479L0.739118 14.5686", stroke: "#000000", "stroke-width": "2" })))), h("div", { key: '3ecfaa0c5658e641fe2b216bdf41ebe128efba93', 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"; }
|
|
@@ -95,7 +95,7 @@ export class BiggiveTotalizer {
|
|
|
95
95
|
});
|
|
96
96
|
}
|
|
97
97
|
render() {
|
|
98
|
-
return (h("div", { key: '
|
|
98
|
+
return (h("div", { key: 'cc3b55f935461400e8990bcec2ad06cbcde78929', class: 'container space-below-' + this.spaceBelow }, h("div", { key: 'd7097a1c08b6ecddaacf0696c73a66004de4b2b4' }, h("div", { key: 'c5a0bd1cbf1944e41eb0838e3561d1f232335b60', class: "banner" }, h("div", { key: 'd6aa07d7b8a341390d7e0c6925fc24f38bf4297e', class: 'main-message-wrap background-colour-' + this.secondaryColour + ' text-colour-' + this.secondaryTextColour }, this.mainMessage), h("div", { key: '655f87cde7757fc2f221c96ab289fb6b7ffe24fd', class: 'ticker-wrap background-colour-' + this.primaryColour + ' text-colour-' + this.primaryTextColour }, h("div", { key: '45618c0053b1ba015baedc1802e7807186548b0f', id: "sleeve_1", class: "sleeve" }, h("slot", { key: '75a1b73fd04148b2c9833d42eaa39d8f15bc67e5', name: "ticker-items" })), h("div", { key: 'a35ba962a309f329f5e0c3aaa139d6b17537d869', id: "sleeve_2", class: "sleeve sleeve-delayed-copy" }), h("div", { key: '5dd62d0778afef6819d8471056409b3a1bb41af5', id: "sleeve_3", class: "sleeve sleeve-delayed-copy" }), h("div", { key: '206b670b98b95bff146b1a4eeb1f272ba87c7496', id: "sleeve_4", class: "sleeve sleeve-delayed-copy" }))))));
|
|
99
99
|
}
|
|
100
100
|
static get is() { return "biggive-totalizer"; }
|
|
101
101
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/biggive-totalizer-ticker-item/biggive-totalizer-ticker-item.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
export class BiggiveTotalizerTickerItem {
|
|
3
3
|
render() {
|
|
4
|
-
return (h("div", { key: '
|
|
4
|
+
return (h("div", { key: 'e70aee165612177ba6e5b4773bb46a9f44219ae5', class: "ticker-item" }, h("strong", { key: 'b152a90b20c88fa4b547f60bc801f825a156d66f' }, this.figure), " ", this.label));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "biggive-totalizer-ticker-item"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -16,7 +16,7 @@ export class BiggiveVideo {
|
|
|
16
16
|
this.videoUrl = '';
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (h("div", { key: '
|
|
19
|
+
return (h("div", { key: '9dc6813d5684da3a9e7d656e288f89660e9d9d4a', class: 'container space-above-' + this.spaceAbove + ' space-below-' + this.spaceBelow }, h("div", { key: '2e7f050ba6df923b3e3b36f36e4e8125561cd5c6', class: "video-wrap", innerHTML: VideoService.getEmbedHtml(this.videoUrl, null) })));
|
|
20
20
|
}
|
|
21
21
|
static get is() { return "biggive-video"; }
|
|
22
22
|
static get encapsulation() { return "shadow"; }
|
|
@@ -37,7 +37,7 @@ export class BiggiveVideoFeature {
|
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
39
|
const youtubeClass = this.videoUrl.includes('youtube.com') ? ' youtube' : '';
|
|
40
|
-
return (h("div", { key: '
|
|
40
|
+
return (h("div", { key: '3ab0c3ea0c614d2f5c2f2d81a181f666697a46ba', class: 'container text-colour-' + this.defaultTextColour + ' space-above-' + this.spaceAbove + ' space-below-' + this.spaceBelow }, h("div", { key: '37084956f7985fdf9efcef6d6125b053868b0644', class: "sleeve" }, h("div", { key: '87e0e11d90488ba59820fac8fbf4c0396fc1f20f', class: "content-wrap" }, h("div", { key: '13fa7ecb363dda39de79dceedc399f250be71e76', class: 'slug text-colour-' + this.slugColour }, this.slug), h("h2", { key: 'f0180f7716dc2fef1019e02c3039a6c105d148ce', class: 'title text-colour-' + this.mainTitleColour }, this.mainTitle), h("div", { key: '26df1b855b6fbad4f6f744e068e40d72cccf5464', 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: 'fa7429cb781aee4df3d0095fb331060f945b304f', class: "graphic-wrap" }, this.videoUrl !== null && this.videoUrl !== undefined ? (h("div", { class: 'video-wrap' + youtubeClass, innerHTML: VideoService.getEmbedHtml(this.videoUrl, this.mainTitle) })) : null))));
|
|
41
41
|
}
|
|
42
42
|
static get is() { return "biggive-video-feature"; }
|
|
43
43
|
static get encapsulation() { return "shadow"; }
|
|
@@ -12,7 +12,7 @@ export class PhilcoFooter {
|
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
14
|
const HeadingTag = `h${this.headingLevel}`;
|
|
15
|
-
return (h("div", { key: '
|
|
15
|
+
return (h("div", { key: 'b3e743727efb5c94016ddcb9db8faf1fb42fe6c3', class: "footer" }, h("div", { key: 'c69257699ee16e3158e319dec101cfc0662e1ce5', class: "row row-logo" }, h("div", { key: '27b1deb0f966d547239084b6b50cdceecb3df6ce', class: "logo" }, h("img", { key: '4a2bfc61954998bad9ad2488fee9e14491d2db29', src: getAssetPath('/assets/images/philco/Philcologo-black.png'), alt: "PhilCo" }))), h("div", { key: '56cc8933fc4eeab6650928a0059482dc4de3a517', class: "row row-top" }, h("nav", { key: '7d12c803ac134a42333c487e4f0f036b012ccaa4', class: "nav nav-primary", "aria-labelledby": "footer-primary-heading" }, h(HeadingTag, { key: 'e82528a07ec84e743fcacebb515df29916097363', class: "heading", id: "footer-primary-heading" }, h("div", { key: '9e94adbc23fe78cfa62d93e2c5fe8aa66e6e8c84', slot: "nav-primary-title" }, "Contact")), h("ul", { key: '7bcd6019ed7bbcc36eb455dfb7acd60ce79f45ce', slot: "nav-primary" }, h("li", { key: 'b61bd8d0b128288e8a8596c2237c6db56e130088' }, "PhilCo@biggive.org"))), h("nav", { key: '89f36054817abded1ad1345e15e5c68c448c46f9', class: "nav nav-secondary", "aria-labelledby": "footer-secondary-heading" }, h(HeadingTag, { key: '71f87c8939172b8d704954cd5a1e44ded6a67776', class: "heading", id: "footer-secondary-heading" }, h("div", { key: 'aa734c4743792d0789a063e43969692f24501101', slot: "nav-secondary-title" }, "Philco Site")), h("ul", { key: '928251ffca9a92c62b4e1b2268243611fa7380b1', slot: "nav-secondary" }, h("li", { key: '1c88e4e1b756b5c428b3c5601db05ee5743493d0' }, h("a", { key: '258c56d18bbd7a41f9842a7df1a898845b106ab6', href: makeURL('Philco', this.philcoUrlPrefix, '/') }, "Home")), h("li", { key: '971359d305cc34fff9cf7e2eb0b16527b0d28643' }, h("a", { key: '5a3a0cb8b6179a711e34d391e02c37db0faff984', href: makeURL('Philco', this.philcoUrlPrefix, 'why-become-a-philco') }, "Why become a Philco")), h("li", { key: 'fe82a6f2b2fc65533db42ff220b62b58831b3153' }, h("a", { key: 'c03005fd0bc961a43c9e87864bed9437851f3ce1', href: makeURL('Philco', this.philcoUrlPrefix, 'sign-up') }, "Sign Up")))), h("nav", { key: '26ba6a957d5e185f4b8314af0621331a7a8fd4af', class: "nav nav-tertiary", "aria-labelledby": "footer-tertiary-heading" }, h(HeadingTag, { key: 'a239cd54fa6a42b3a6823b23f9fa5db229e1ea12', class: "heading", id: "footer-tertiary-heading" }, h("div", { key: '47665b5935f41a6b78b40d751d64b106723d63f7', slot: "nav-tertiary-title" }, "Guide")), h("ul", { key: 'f433200fce58582b41767876d9969fbd823d02e2', slot: "nav-tertiary" }, h("li", { key: '27c24f0b0c7b3d0e0453f68fcd69dc9e80636b2d' }, h("a", { key: 'b9166af7f2545e56743858ee940aeb9972d83a91', href: "https://drive.google.com/file/d/1D1GnstpMKnnES1aYj05EVE9_lQtLZLwj/view", target: "_blank" }, "Download the guide"))))), h("div", { key: '2aca607ec092f09a8189b8c8b8dc5ce8c0a2f752', class: "row row-bottom" }, h("div", { key: 'e055e2cff7c6f38b4712b026670487972b8952f3', class: "postscript-wrap" }, h("nav", { key: '7668e57de1eff5721acf25305bfc5ee09bf83793', class: "nav nav-postscript", "aria-label": "Legal" }, h("ul", { key: 'e9e59ae01c77519d60a9ebae94e88ab883830083', slot: "nav-postscript" }, h("li", { key: '5e7b59055c0575064233c0fd4665cd75f5d787a7' }, h("a", { key: '26f2470e30546b88f832f8700ed5a248a03a6103', href: makeURL('Philco', this.philcoUrlPrefix, 'terms-and-conditions') }, "Terms and Conditions")), h("li", { key: 'd5c8ebfb0312b74c22cdec6f18b472cb6888ef8a' }, h("a", { key: '7be9701e4751c4eddda74dfe036f9089778c566a', href: makeURL('Philco', this.philcoUrlPrefix, 'privacy') }, "Privacy Statement")), h("li", { key: '5d03587103ff4e856682c0cc1e0f20e21c83fafc' }, h("a", { key: '833498b88e12a0e7ec8563badfba76d413daa262', href: makeURL('Philco', this.philcoUrlPrefix, 'privacy#cookies') }, "Cookies Statement"))))), h("p", { key: 'f9bea23dd9a477d3149c73f3e7e8e4b3da29e3b7' }, "\u00A9 2007 \u2013 ", this.year, " The Big Give Trust (1136547) | Company number 07273065 | Dragon Court, 27-29 Macklin Street, London WC2B 5LX, United Kingdom"))));
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "philco-footer"; }
|
|
18
18
|
static get encapsulation() { return "shadow"; }
|
|
@@ -20,7 +20,7 @@ export class PhilcoMainMenu {
|
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
22
|
const homePageLink = '/';
|
|
23
|
-
return (h(Host, { key: '
|
|
23
|
+
return (h(Host, { key: 'f657c4d21e32c777fafa7e77cb6540c67645b541' }, h("nav", { key: 'f1cb709ea366aed682dafaa0eeeb772ec0ed0768', role: "navigation", "aria-label": "Main Menu" }, h("div", { key: '245b59d91c764908facc28d5cb9eabe5fa45efeb', class: "navbar" }, h("div", { key: '257e9052a51dfdcb5150819b7f52063125e8ef19', class: "logo" }, h("a", { key: '888025df6bb4f7251f9df7fed2d2a3915ef5571d', href: this.philcoUrlPrefix + homePageLink, "aria-label": "Home" }, h("img", { key: '152b1d9c61217c9809fa6c2fc6c03e98013d267c', src: getAssetPath('/assets/images/philco/Philcologo-white.png'), alt: "PhilCo" }))), h("biggive-misc-icon", { key: '7df283eaafeb64c905d849da22bcdf28b7180dc6', class: "bx bx-menu", "background-colour": "transparent", "icon-colour": "white", icon: "MenuOpen", onClick: this.openMobileMenu }), h("div", { key: 'cf31353f5a04f2beaf9b4b20f8e0a765227cfa8d', class: "nav-links" }, h("div", { key: 'fa4292e095153b2bb246d1729f55913d9d1bb8b9', class: "sidebar-logo" }, h("a", { key: '87dcd1ee7229d2f58a358e20e9351c25fbeceec1', href: this.philcoUrlPrefix + homePageLink, "aria-label": "Home" }), h("biggive-misc-icon", { key: 'c90bed728745b3f0a9350fc24cbdc4aef284b705', class: "bx bx-x", "background-colour": "transparent", "icon-colour": "white", icon: "MenuClose", onClick: this.closeMobileMenu })), h("div", { key: '59b759a24bf51452c1b23135f1f5f7eafbacec07', id: "nav-primary" }, h("ul", { key: '1709c8255ec0b027887ca0a7e86dcdaac71dde1e', class: "links", slot: "nav-primary" }, h("li", { key: '881948fdad475340c8f240969b198437c0639237' }, h("a", { key: '8da61a91c44c63a9253d0c766524b20abcfcfc12', href: makeURL('Philco', this.philcoUrlPrefix, 'why-become-a-philco') }, "Why become a Philco")), h("li", { key: '03e45c794a8149d15fce550250c5bd5097ebe9d3' }, h("a", { key: 'bbbecc17d0ab178b7572132078da6e663796366c', href: makeURL('Philco', this.philcoUrlPrefix, 'news') }, "News")), h("li", { key: '6a79deea7bc78bde11e63d8f8e4fe31007840163', class: "signup" }, h("biggive-button", { key: '3dab01f3a9ed15eb3ab37f3d50af7e7b417b7980', label: "Sign up", "site-design": "philco", "colour-scheme": "philco-white", rounded: true, url: makeURL('Philco', this.philcoUrlPrefix, 'sign-up') })))))))));
|
|
24
24
|
}
|
|
25
25
|
static get is() { return "philco-main-menu"; }
|
|
26
26
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as o,HTMLElement as r,createEvent as t,h as n,transformTag as e}from"@stencil/core/internal/client";const c=o(class extends r{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.doButtonClick=t(this,"doButtonClick",7),this.spaceBelow=1,this.colourScheme="primary",this.label="Click me",this.openInNewTab=!1,this.fullWidth=!1,this.size="medium",this.rounded=!1,this.centered=!1,this.buttonId=void 0,this.siteDesign="biggive",this.disabled=!1,this.handleButtonClick=o=>{this.doButtonClick.emit({event:o,url:o.target.parentElement.href})}}render(){return n("div",{key:"878302a674e9278a7473a61e3459bc6cd261438a",class:"container space-below-"+this.spaceBelow+" centered-"+this.centered+" "+this.siteDesign+(this.disabled?" disabled":"")},n("a",{key:"1a20442c7b616aa5d85e955fb7cbadb3857e8755","pointer-events":this.disabled?"none":"auto","aria-disabled":this.disabled,role:"button",href:this.url||"#",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()},n("span",{key:"03ee05d3a15ea558e805042537865e26a93818d9",onClick:this.disabled?()=>{}:this.handleButtonClick},this.label)))}static get style(){return"a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}:host{display:contents}.container{font-family:inherit}.container a{display:inline-block}.container a.full-width-true{display:block}.container.centered-true{text-align:center}.button{font-size:17px;line-height:24px;padding:10px 30px;border-radius:5px;border:1px solid #000000;background-color:#000000;color:#FFFFFF;display:inline-block;text-decoration:none;text-align:center;transition:all ease-in-out 0.5s;cursor:pointer}.button:hover{background-color:#FFFFFF;color:#000000}.button.size-small{font-size:13px;line-height:17px;padding:5px 15px}.button.button.rounded-true{border-radius:27.5px}.button.button.rounded-true.size-small{border-radius:20px}.button-primary{color:#FFFFFF;background-color:#2C089B;border-color:#2C089B}.button-primary:hover{color:#2C089B;background-color:#FFFFFF}.button-secondary{color:#FFFFFF;background-color:#2AF135;border-color:#2AF135}.button-secondary:hover{color:#2AF135;background-color:#FFFFFF}.button-tertiary{color:#FFFFFF;background-color:#FF7272;border-color:#FF7272}.button-tertiary:hover{color:#FF7272;background-color:#FFFFFF}.button-brand-cc-red{color:#FFFFFF;background-color:#B30510;border-color:#B30510}.button-brand-cc-red:hover{color:#B30510;background-color:#FFFFFF}.button-brand-wgmf-purple{color:#FFFFFF;background-color:#6E0887;border-color:#6E0887}.button-brand-wgmf-purple:hover{color:#6E0887;background-color:#FFFFFF}.button-brand-gmf-green{color:#FFFFFF;background-color:#50B400;border-color:#50B400}.button-brand-gmf-green:hover{color:#50B400;background-color:#FFFFFF}.button-brand-er-green{color:#FFFFFF;background-color:#50B400;border-color:#50B400}.button-brand-er-green:hover{color:#50B400;background-color:#FFFFFF}.button-brand-er-dark-green{color:#FFFFFF;background-color:#002413;border-color:#002413}.button-brand-er-dark-green:hover{color:#002413;background-color:#FFFFFF}.button-brand-er-dark-blue{color:#FFFFFF;background-color:#0c0068;border-color:#0c0068}.button-brand-er-dark-blue:hover{color:#0c0068;background-color:#FFFFFF}.button-brand-er-teal{color:#FFFFFF;background-color:#00a76d;border-color:#00a76d}.button-brand-er-teal:hover{color:#00a76d;background-color:#FFFFFF}.button-brand-emf-yellow{color:#FFFFFF;background-color:#FFE500;border-color:#FFE500}.button-brand-emf-yellow:hover{color:#FFE500;background-color:#FFFFFF}.button-brand-c4c-orange{color:#FFFFFF;background-color:#F07D00;border-color:#F07D00}.button-brand-c4c-orange:hover{color:#F07D00;background-color:#FFFFFF}.button-brand-afa-pink{color:#FFFFFF;background-color:#BF387D;border-color:#BF387D}.button-brand-afa-pink:hover{color:#BF387D;background-color:#FFFFFF}.button-brand-scw-magenta{color:#FFFFFF;background-color:#EE2C65;border-color:#EE2C65}.button-brand-scw-magenta:hover{color:#EE2C65;background-color:#FFFFFF}.button-brand-mhf-turquoise{color:#FFFFFF;background-color:#62CFC9;border-color:#62CFC9}.button-brand-mhf-turquoise:hover{color:#62CFC9;background-color:#FFFFFF}.button-brand-grey{color:#FFFFFF;background-color:#CBC8C8;border-color:#CBC8C8}.button-brand-grey:hover{color:#CBC8C8;background-color:#FFFFFF}.button-white{color:#FFFFFF;background-color:#FFFFFF;border-color:#FFFFFF}.button-white:hover{color:#FFFFFF;background-color:#FFFFFF}.button-black{color:#FFFFFF;background-color:#000000;border-color:#000000}.button-black:hover{color:#000000;background-color:#FFFFFF}.button-grey-extra-light{color:#FFFFFF;background-color:#D7D7D7;border-color:#D7D7D7}.button-grey-extra-light:hover{color:#D7D7D7;background-color:#FFFFFF}.button-grey-light{color:#FFFFFF;background-color:#E8E8E8;border-color:#E8E8E8}.button-grey-light:hover{color:#E8E8E8;background-color:#FFFFFF}.button-grey-medium{color:#FFFFFF;background-color:#8A8A8A;border-color:#8A8A8A}.button-grey-medium:hover{color:#8A8A8A;background-color:#FFFFFF}.button-grey-dark{color:#FFFFFF;background-color:#4A4A4A;border-color:#4A4A4A}.button-grey-dark:hover{color:#4A4A4A;background-color:#FFFFFF}.button-philco-orange{color:#FFFFFF;background-color:#f18a00;border-color:#f18a00}.button-philco-orange:hover{color:#f18a00;background-color:#FFFFFF}.button-philco-gray-90{color:#FFFFFF;background-color:#1d1d1B;border-color:#1d1d1B}.button-philco-gray-90:hover{color:#1d1d1B;background-color:#FFFFFF}.button-philco-gray-70{color:#FFFFFF;background-color:#7D7D7D;border-color:#7D7D7D}.button-philco-gray-70:hover{color:#7D7D7D;background-color:#FFFFFF}.button-philco-white{color:#FFFFFF;background-color:#FFFFFF;border-color:#FFFFFF}.button-philco-white:hover{color:#FFFFFF;background-color:#FFFFFF}.button-philco-success-green{color:#FFFFFF;background-color:#1Ec691;border-color:#1Ec691}.button-philco-success-green:hover{color:#1Ec691;background-color:#FFFFFF}.button-philco-error-coral{color:#FFFFFF;background-color:#F54242;border-color:#F54242}.button-philco-error-coral:hover{color:#F54242;background-color:#FFFFFF}.button-philco-gray-30{color:#FFFFFF;background-color:#BBBBBB;border-color:#BBBBBB}.button-philco-gray-30:hover{color:#BBBBBB;background-color:#FFFFFF}.button-philco-gray-20{color:#FFFFFF;background-color:#F6F6F6;border-color:#F6F6F6}.button-philco-gray-20:hover{color:#F6F6F6;background-color:#FFFFFF}.button-secondary{color:#000000}.button-secondary:hover{color:#000000;background-color:#FFFFFF;border-color:#000000}.button-brand-grey{color:#FFFFFF}.button-brand-grey:hover{background-color:#000000}.button-brand-mhf-turquoise:hover{background-color:#000000}.button-brand-afa-pink:hover{background-color:#000000}.button-white{color:#2C089B}.button-white:hover{color:#000000;background-color:#2AF135}.button-philco-gray-90{font-size:16px;color:#FFFFFF}.button-philco-gray-90:hover{color:#1d1d1B;background-color:#f18a00}.button-philco-orange{font-size:16px;color:#1d1d1B}.button-philco-orange:hover{color:#FFFFFF;background-color:#1d1d1B}.button-philco-white{font-size:16px;color:#1d1d1B}.button-philco-white:hover{color:#1d1d1B !important;background-color:#f18a00 !important}.container.philco a{border-color:transparent}.container.disabled.philco .button{cursor:not-allowed;background-color:#BBBBBB !important;color:#FFFFFF}.container.disabled.philco .button:hover{background-color:#BBBBBB;color:#FFFFFF}.button-black{color:#FFFFFF}.button-black:hover{background-color:#FFFFFF}.button-grey-extra-light{color:#000000}.button-grey-extra-light:hover{background-color:#000000}.button-grey-light{color:#000000}.button-grey-light:hover{background-color:#000000}.button-grey-medium{color:#FFFFFF}.button-grey-medium:hover{background-color:#FFFFFF}.button-grey-dark{color:#FFFFFF}.button-grey-dark:hover{background-color:#FFFFFF}.button-rounded{border-radius:27.5px}.button-rounded.size-small{border-radius:20px}.button-clear-primary{color:#2C089B;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-primary:hover{color:#2C089B;text-decoration:none;background-color:transparent}.button-clear-secondary{color:#2AF135;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-secondary:hover{color:#2AF135;text-decoration:none;background-color:transparent}.button-clear-tertiary{color:#FF7272;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-tertiary:hover{color:#FF7272;text-decoration:none;background-color:transparent}.button-clear-brand-cc-red{color:#B30510;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-cc-red:hover{color:#B30510;text-decoration:none;background-color:transparent}.button-clear-brand-wgmf-purple{color:#6E0887;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-wgmf-purple:hover{color:#6E0887;text-decoration:none;background-color:transparent}.button-clear-brand-gmf-green{color:#50B400;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-gmf-green:hover{color:#50B400;text-decoration:none;background-color:transparent}.button-clear-brand-er-green{color:#50B400;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-er-green:hover{color:#50B400;text-decoration:none;background-color:transparent}.button-clear-brand-er-dark-green{color:#002413;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-er-dark-green:hover{color:#002413;text-decoration:none;background-color:transparent}.button-clear-brand-er-dark-blue{color:#0c0068;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-er-dark-blue:hover{color:#0c0068;text-decoration:none;background-color:transparent}.button-clear-brand-er-teal{color:#00a76d;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-er-teal:hover{color:#00a76d;text-decoration:none;background-color:transparent}.button-clear-brand-emf-yellow{color:#FFE500;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-emf-yellow:hover{color:#FFE500;text-decoration:none;background-color:transparent}.button-clear-brand-c4c-orange{color:#F07D00;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-c4c-orange:hover{color:#F07D00;text-decoration:none;background-color:transparent}.button-clear-brand-afa-pink{color:#BF387D;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-afa-pink:hover{color:#BF387D;text-decoration:none;background-color:transparent}.button-clear-brand-scw-magenta{color:#EE2C65;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-scw-magenta:hover{color:#EE2C65;text-decoration:none;background-color:transparent}.button-clear-brand-mhf-turquoise{color:#62CFC9;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-mhf-turquoise:hover{color:#62CFC9;text-decoration:none;background-color:transparent}.button-clear-brand-grey{color:#CBC8C8;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-grey:hover{color:#CBC8C8;text-decoration:none;background-color:transparent}.button-clear-white{color:#FFFFFF;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-white:hover{color:#FFFFFF;text-decoration:none;background-color:transparent}.button-clear-black{color:#000000;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-black:hover{color:#000000;text-decoration:none;background-color:transparent}.button-clear-grey-extra-light{color:#D7D7D7;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-grey-extra-light:hover{color:#D7D7D7;text-decoration:none;background-color:transparent}.button-clear-grey-light{color:#E8E8E8;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-grey-light:hover{color:#E8E8E8;text-decoration:none;background-color:transparent}.button-clear-grey-medium{color:#8A8A8A;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-grey-medium:hover{color:#8A8A8A;text-decoration:none;background-color:transparent}.button-clear-grey-dark{color:#4A4A4A;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-grey-dark:hover{color:#4A4A4A;text-decoration:none;background-color:transparent}.button-clear-philco-orange{color:#f18a00;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-philco-orange:hover{color:#f18a00;text-decoration:none;background-color:transparent}.button-clear-philco-gray-90{color:#1d1d1B;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-philco-gray-90:hover{color:#1d1d1B;text-decoration:none;background-color:transparent}.button-clear-philco-gray-70{color:#7D7D7D;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-philco-gray-70:hover{color:#7D7D7D;text-decoration:none;background-color:transparent}.button-clear-philco-white{color:#FFFFFF;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-philco-white:hover{color:#FFFFFF;text-decoration:none;background-color:transparent}.button-clear-philco-success-green{color:#1Ec691;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-philco-success-green:hover{color:#1Ec691;text-decoration:none;background-color:transparent}.button-clear-philco-error-coral{color:#F54242;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-philco-error-coral:hover{color:#F54242;text-decoration:none;background-color:transparent}.button-clear-philco-gray-30{color:#BBBBBB;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-philco-gray-30:hover{color:#BBBBBB;text-decoration:none;background-color:transparent}.button-clear-philco-gray-20{color:#F6F6F6;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-philco-gray-20:hover{color:#F6F6F6;text-decoration:none;background-color:transparent}"}},[1,"biggive-button",{spaceBelow:[2,"space-below"],colourScheme:[1,"colour-scheme"],label:[1],url:[1],openInNewTab:[4,"open-in-new-tab"],fullWidth:[4,"full-width"],size:[1],rounded:[4],centered:[4],buttonId:[1,"button-id"],siteDesign:[1,"site-design"],disabled:[4]}]);function a(){"undefined"!=typeof customElements&&["biggive-button"].forEach((o=>{"biggive-button"===o&&(customElements.get(e(o))||customElements.define(e(o),c))}))}export{c as B,a as d}
|
|
1
|
+
import{proxyCustomElement as o,HTMLElement as r,createEvent as t,h as n,transformTag as e}from"@stencil/core/internal/client";const c=o(class extends r{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.doButtonClick=t(this,"doButtonClick",7),this.spaceBelow=1,this.colourScheme="primary",this.label="Click me",this.openInNewTab=!1,this.fullWidth=!1,this.size="medium",this.rounded=!1,this.centered=!1,this.buttonId=void 0,this.siteDesign="biggive",this.disabled=!1,this.isNoOpUrl=()=>void 0===this.url||""===this.url.trim()||"#"===this.url,this.handleButtonClick=o=>{if(this.disabled)return o.preventDefault(),void o.stopPropagation();this.isNoOpUrl()&&(o.preventDefault(),o.stopPropagation()),this.doButtonClick.emit({event:o,url:this.url||""})}}render(){const o=this.isNoOpUrl(),r="button button-"+this.colourScheme+" full-width-"+this.fullWidth.toString()+" size-"+this.size+" rounded-"+this.rounded.toString()+(o?" no-op-link":"");return n("div",{key:"b1c3f26f5918613ab1dbd990c516ba0a8951fcc9",class:"container space-below-"+this.spaceBelow+" centered-"+this.centered+" "+this.siteDesign+(this.disabled?" disabled":"")},o?n("button",{type:"button","aria-disabled":this.disabled,disabled:this.disabled,id:this.buttonId,class:r,onClick:this.handleButtonClick},this.label):n("a",{"pointer-events":this.disabled?"none":"auto","aria-disabled":this.disabled,role:"button",href:this.url,target:this.openInNewTab?"_blank":"_self",id:this.buttonId,class:r,onClick:this.handleButtonClick},this.label))}static get style(){return"a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}:host{display:contents}.container{font-family:inherit}.container a{display:inline-block}.container a.full-width-true{display:block}.container.centered-true{text-align:center}.button{font-size:17px;line-height:24px;padding:10px 30px;border-radius:5px;border:1px solid #000000;background-color:#000000;color:#FFFFFF;display:inline-block;text-decoration:none;text-align:center;transition:all ease-in-out 0.5s;cursor:pointer}.button:hover{background-color:#FFFFFF;color:#000000}.button.size-small{font-size:13px;line-height:17px;padding:5px 15px}.button.button.rounded-true{border-radius:27.5px}.button.button.rounded-true.size-small{border-radius:20px}.button-primary{color:#FFFFFF;background-color:#2C089B;border-color:#2C089B}.button-primary:hover{color:#2C089B;background-color:#FFFFFF}.button-secondary{color:#FFFFFF;background-color:#2AF135;border-color:#2AF135}.button-secondary:hover{color:#2AF135;background-color:#FFFFFF}.button-tertiary{color:#FFFFFF;background-color:#FF7272;border-color:#FF7272}.button-tertiary:hover{color:#FF7272;background-color:#FFFFFF}.button-brand-cc-red{color:#FFFFFF;background-color:#B30510;border-color:#B30510}.button-brand-cc-red:hover{color:#B30510;background-color:#FFFFFF}.button-brand-wgmf-purple{color:#FFFFFF;background-color:#6E0887;border-color:#6E0887}.button-brand-wgmf-purple:hover{color:#6E0887;background-color:#FFFFFF}.button-brand-gmf-green{color:#FFFFFF;background-color:#50B400;border-color:#50B400}.button-brand-gmf-green:hover{color:#50B400;background-color:#FFFFFF}.button-brand-er-green{color:#FFFFFF;background-color:#50B400;border-color:#50B400}.button-brand-er-green:hover{color:#50B400;background-color:#FFFFFF}.button-brand-er-dark-green{color:#FFFFFF;background-color:#002413;border-color:#002413}.button-brand-er-dark-green:hover{color:#002413;background-color:#FFFFFF}.button-brand-er-dark-blue{color:#FFFFFF;background-color:#0c0068;border-color:#0c0068}.button-brand-er-dark-blue:hover{color:#0c0068;background-color:#FFFFFF}.button-brand-er-teal{color:#FFFFFF;background-color:#00a76d;border-color:#00a76d}.button-brand-er-teal:hover{color:#00a76d;background-color:#FFFFFF}.button-brand-emf-yellow{color:#FFFFFF;background-color:#FFE500;border-color:#FFE500}.button-brand-emf-yellow:hover{color:#FFE500;background-color:#FFFFFF}.button-brand-c4c-orange{color:#FFFFFF;background-color:#F07D00;border-color:#F07D00}.button-brand-c4c-orange:hover{color:#F07D00;background-color:#FFFFFF}.button-brand-afa-pink{color:#FFFFFF;background-color:#BF387D;border-color:#BF387D}.button-brand-afa-pink:hover{color:#BF387D;background-color:#FFFFFF}.button-brand-scw-magenta{color:#FFFFFF;background-color:#EE2C65;border-color:#EE2C65}.button-brand-scw-magenta:hover{color:#EE2C65;background-color:#FFFFFF}.button-brand-mhf-turquoise{color:#FFFFFF;background-color:#62CFC9;border-color:#62CFC9}.button-brand-mhf-turquoise:hover{color:#62CFC9;background-color:#FFFFFF}.button-brand-grey{color:#FFFFFF;background-color:#CBC8C8;border-color:#CBC8C8}.button-brand-grey:hover{color:#CBC8C8;background-color:#FFFFFF}.button-white{color:#FFFFFF;background-color:#FFFFFF;border-color:#FFFFFF}.button-white:hover{color:#FFFFFF;background-color:#FFFFFF}.button-black{color:#FFFFFF;background-color:#000000;border-color:#000000}.button-black:hover{color:#000000;background-color:#FFFFFF}.button-grey-extra-light{color:#FFFFFF;background-color:#D7D7D7;border-color:#D7D7D7}.button-grey-extra-light:hover{color:#D7D7D7;background-color:#FFFFFF}.button-grey-light{color:#FFFFFF;background-color:#E8E8E8;border-color:#E8E8E8}.button-grey-light:hover{color:#E8E8E8;background-color:#FFFFFF}.button-grey-medium{color:#FFFFFF;background-color:#8A8A8A;border-color:#8A8A8A}.button-grey-medium:hover{color:#8A8A8A;background-color:#FFFFFF}.button-grey-dark{color:#FFFFFF;background-color:#4A4A4A;border-color:#4A4A4A}.button-grey-dark:hover{color:#4A4A4A;background-color:#FFFFFF}.button-philco-orange{color:#FFFFFF;background-color:#f18a00;border-color:#f18a00}.button-philco-orange:hover{color:#f18a00;background-color:#FFFFFF}.button-philco-gray-90{color:#FFFFFF;background-color:#1d1d1B;border-color:#1d1d1B}.button-philco-gray-90:hover{color:#1d1d1B;background-color:#FFFFFF}.button-philco-gray-70{color:#FFFFFF;background-color:#7D7D7D;border-color:#7D7D7D}.button-philco-gray-70:hover{color:#7D7D7D;background-color:#FFFFFF}.button-philco-white{color:#FFFFFF;background-color:#FFFFFF;border-color:#FFFFFF}.button-philco-white:hover{color:#FFFFFF;background-color:#FFFFFF}.button-philco-success-green{color:#FFFFFF;background-color:#1Ec691;border-color:#1Ec691}.button-philco-success-green:hover{color:#1Ec691;background-color:#FFFFFF}.button-philco-error-coral{color:#FFFFFF;background-color:#F54242;border-color:#F54242}.button-philco-error-coral:hover{color:#F54242;background-color:#FFFFFF}.button-philco-gray-30{color:#FFFFFF;background-color:#BBBBBB;border-color:#BBBBBB}.button-philco-gray-30:hover{color:#BBBBBB;background-color:#FFFFFF}.button-philco-gray-20{color:#FFFFFF;background-color:#F6F6F6;border-color:#F6F6F6}.button-philco-gray-20:hover{color:#F6F6F6;background-color:#FFFFFF}.button-secondary{color:#000000}.button-secondary:hover{color:#000000;background-color:#FFFFFF;border-color:#000000}.button-brand-grey{color:#FFFFFF}.button-brand-grey:hover{background-color:#000000}.button-brand-mhf-turquoise:hover{background-color:#000000}.button-brand-afa-pink:hover{background-color:#000000}.button-white{color:#2C089B}.button-white:hover{color:#000000;background-color:#2AF135}.button-philco-gray-90{font-size:16px;color:#FFFFFF}.button-philco-gray-90:hover{color:#1d1d1B;background-color:#f18a00}.button-philco-orange{font-size:16px;color:#1d1d1B}.button-philco-orange:hover{color:#FFFFFF;background-color:#1d1d1B}.button-philco-white{font-size:16px;color:#1d1d1B}.button-philco-white:hover{color:#1d1d1B !important;background-color:#f18a00 !important}.container.philco a{border-color:transparent}.container.disabled.philco .button{cursor:not-allowed;background-color:#BBBBBB !important;color:#FFFFFF}.container.disabled.philco .button:hover{background-color:#BBBBBB;color:#FFFFFF}.button-black{color:#FFFFFF}.button-black:hover{background-color:#FFFFFF}.button-grey-extra-light{color:#000000}.button-grey-extra-light:hover{background-color:#000000}.button-grey-light{color:#000000}.button-grey-light:hover{background-color:#000000}.button-grey-medium{color:#FFFFFF}.button-grey-medium:hover{background-color:#FFFFFF}.button-grey-dark{color:#FFFFFF}.button-grey-dark:hover{background-color:#FFFFFF}.button-rounded{border-radius:27.5px}.button-rounded.size-small{border-radius:20px}.button-clear-primary{color:#2C089B;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-primary:hover{color:#2C089B;text-decoration:none;background-color:transparent}.button-clear-secondary{color:#2AF135;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-secondary:hover{color:#2AF135;text-decoration:none;background-color:transparent}.button-clear-tertiary{color:#FF7272;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-tertiary:hover{color:#FF7272;text-decoration:none;background-color:transparent}.button-clear-brand-cc-red{color:#B30510;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-cc-red:hover{color:#B30510;text-decoration:none;background-color:transparent}.button-clear-brand-wgmf-purple{color:#6E0887;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-wgmf-purple:hover{color:#6E0887;text-decoration:none;background-color:transparent}.button-clear-brand-gmf-green{color:#50B400;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-gmf-green:hover{color:#50B400;text-decoration:none;background-color:transparent}.button-clear-brand-er-green{color:#50B400;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-er-green:hover{color:#50B400;text-decoration:none;background-color:transparent}.button-clear-brand-er-dark-green{color:#002413;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-er-dark-green:hover{color:#002413;text-decoration:none;background-color:transparent}.button-clear-brand-er-dark-blue{color:#0c0068;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-er-dark-blue:hover{color:#0c0068;text-decoration:none;background-color:transparent}.button-clear-brand-er-teal{color:#00a76d;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-er-teal:hover{color:#00a76d;text-decoration:none;background-color:transparent}.button-clear-brand-emf-yellow{color:#FFE500;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-emf-yellow:hover{color:#FFE500;text-decoration:none;background-color:transparent}.button-clear-brand-c4c-orange{color:#F07D00;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-c4c-orange:hover{color:#F07D00;text-decoration:none;background-color:transparent}.button-clear-brand-afa-pink{color:#BF387D;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-afa-pink:hover{color:#BF387D;text-decoration:none;background-color:transparent}.button-clear-brand-scw-magenta{color:#EE2C65;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-scw-magenta:hover{color:#EE2C65;text-decoration:none;background-color:transparent}.button-clear-brand-mhf-turquoise{color:#62CFC9;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-mhf-turquoise:hover{color:#62CFC9;text-decoration:none;background-color:transparent}.button-clear-brand-grey{color:#CBC8C8;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-grey:hover{color:#CBC8C8;text-decoration:none;background-color:transparent}.button-clear-white{color:#FFFFFF;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-white:hover{color:#FFFFFF;text-decoration:none;background-color:transparent}.button-clear-black{color:#000000;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-black:hover{color:#000000;text-decoration:none;background-color:transparent}.button-clear-grey-extra-light{color:#D7D7D7;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-grey-extra-light:hover{color:#D7D7D7;text-decoration:none;background-color:transparent}.button-clear-grey-light{color:#E8E8E8;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-grey-light:hover{color:#E8E8E8;text-decoration:none;background-color:transparent}.button-clear-grey-medium{color:#8A8A8A;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-grey-medium:hover{color:#8A8A8A;text-decoration:none;background-color:transparent}.button-clear-grey-dark{color:#4A4A4A;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-grey-dark:hover{color:#4A4A4A;text-decoration:none;background-color:transparent}.button-clear-philco-orange{color:#f18a00;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-philco-orange:hover{color:#f18a00;text-decoration:none;background-color:transparent}.button-clear-philco-gray-90{color:#1d1d1B;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-philco-gray-90:hover{color:#1d1d1B;text-decoration:none;background-color:transparent}.button-clear-philco-gray-70{color:#7D7D7D;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-philco-gray-70:hover{color:#7D7D7D;text-decoration:none;background-color:transparent}.button-clear-philco-white{color:#FFFFFF;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-philco-white:hover{color:#FFFFFF;text-decoration:none;background-color:transparent}.button-clear-philco-success-green{color:#1Ec691;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-philco-success-green:hover{color:#1Ec691;text-decoration:none;background-color:transparent}.button-clear-philco-error-coral{color:#F54242;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-philco-error-coral:hover{color:#F54242;text-decoration:none;background-color:transparent}.button-clear-philco-gray-30{color:#BBBBBB;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-philco-gray-30:hover{color:#BBBBBB;text-decoration:none;background-color:transparent}.button-clear-philco-gray-20{color:#F6F6F6;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-philco-gray-20:hover{color:#F6F6F6;text-decoration:none;background-color:transparent}"}},[1,"biggive-button",{spaceBelow:[2,"space-below"],colourScheme:[1,"colour-scheme"],label:[1],url:[1],openInNewTab:[4,"open-in-new-tab"],fullWidth:[4,"full-width"],size:[1],rounded:[4],centered:[4],buttonId:[1,"button-id"],siteDesign:[1,"site-design"],disabled:[4]}]);function a(){"undefined"!=typeof customElements&&["biggive-button"].forEach((o=>{"biggive-button"===o&&(customElements.get(e(o))||customElements.define(e(o),c))}))}export{c as B,a as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as o,HTMLElement as e,h as t,transformTag as r}from"@stencil/core/internal/client";import{d as l}from"./biggive-button2.js";const a=o(class extends e{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.spaceAbove=0,this.spaceBelow=0,this.defaultTextColour="primary",this.slugSize=4,this.slugColour="",this.mainTitleColour="",this.mainTitleSize=2,this.subtitleSize=4,this.subtitleColour="",this.teaserColour="",this.primaryButtonColourScheme="primary",this.secondaryButtonColourScheme="primary"}render(){return t("div",{key:"
|
|
1
|
+
import{proxyCustomElement as o,HTMLElement as e,h as t,transformTag as r}from"@stencil/core/internal/client";import{d as l}from"./biggive-button2.js";const a=o(class extends e{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.spaceAbove=0,this.spaceBelow=0,this.defaultTextColour="primary",this.slugSize=4,this.slugColour="",this.mainTitleColour="",this.mainTitleSize=2,this.subtitleSize=4,this.subtitleColour="",this.teaserColour="",this.primaryButtonColourScheme="primary",this.secondaryButtonColourScheme="primary"}render(){return t("div",{key:"9034edf7735fbce98ac35ed33eab4714d4755b1c",class:"container text-colour-"+this.defaultTextColour+" space-above-"+this.spaceAbove+" space-below-"+this.spaceBelow},t("div",{key:"93e414a7b216f823afd770d5a519b37c5e918995",class:"sleeve"},t("div",{key:"2aa543b75459b7a22a717853f1603eb403b1bd1d",class:"content-wrap"},t("div",{key:"1ab8ff1cc761daca196902bdf192c247d321129a",class:"slug heading-"+this.slugSize+" text-colour-"+this.slugColour},this.slug),t("h2",{key:"efec9a8702e00357ed7d5f225bad27ec142e371e",class:"title heading-"+this.mainTitleSize+" text-colour-"+this.mainTitleColour},this.mainTitle),t("div",{key:"6e3b73404d0f7d04671259f1bda5fb038f8d3178",class:"slug heading-"+this.subtitleSize+" text-colour-"+this.subtitleColour},this.subtitle),t("div",{key:"f3bb78d1d9c09f92eef4799e155be46a28d489e9",class:"teaser text-colour-"+this.teaserColour},this.teaser),null!=this.primaryButtonLabel&&null!=this.primaryButtonUrl?t("div",{class:"button-wrap"},t("biggive-button",{"colour-scheme":this.primaryButtonColourScheme,url:this.primaryButtonUrl,label:this.primaryButtonLabel})):null,null!=this.secondaryButtonLabel&&null!=this.secondaryButtonUrl?t("div",{class:"button-wrap"},t("biggive-button",{"colour-scheme":this.secondaryButtonColourScheme,url:this.secondaryButtonUrl,label:this.secondaryButtonLabel})):null)))}static get style(){return'a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}h1,.heading-1{font-size:47px;line-height:60px;font-weight:bold}h2,.heading-2{font-size:38px;line-height:45px;font-weight:bold}h3,.heading-3{font-size:25px;line-height:32px;font-weight:bold}h4,.heading-4{font-size:20px;line-height:24px;font-weight:bold}h5,.heading-5{font-size:17px;line-height:24px;font-weight:bold}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}.text-colour-hover-primary:hover,.text-colour-primary{color:#2C089B}.text-colour-hover-secondary:hover,.text-colour-secondary{color:#2AF135}.text-colour-hover-tertiary:hover,.text-colour-tertiary{color:#FF7272}.text-colour-hover-brand-cc-red:hover,.text-colour-brand-cc-red{color:#B30510}.text-colour-hover-brand-wgmf-purple:hover,.text-colour-brand-wgmf-purple{color:#6E0887}.text-colour-hover-brand-gmf-green:hover,.text-colour-brand-gmf-green{color:#50B400}.text-colour-hover-brand-er-green:hover,.text-colour-brand-er-green{color:#50B400}.text-colour-hover-brand-er-dark-green:hover,.text-colour-brand-er-dark-green{color:#002413}.text-colour-hover-brand-er-dark-blue:hover,.text-colour-brand-er-dark-blue{color:#0c0068}.text-colour-hover-brand-er-teal:hover,.text-colour-brand-er-teal{color:#00a76d}.text-colour-hover-brand-emf-yellow:hover,.text-colour-brand-emf-yellow{color:#FFE500}.text-colour-hover-brand-c4c-orange:hover,.text-colour-brand-c4c-orange{color:#F07D00}.text-colour-hover-brand-afa-pink:hover,.text-colour-brand-afa-pink{color:#BF387D}.text-colour-hover-brand-scw-magenta:hover,.text-colour-brand-scw-magenta{color:#EE2C65}.text-colour-hover-brand-mhf-turquoise:hover,.text-colour-brand-mhf-turquoise{color:#62CFC9}.text-colour-hover-brand-grey:hover,.text-colour-brand-grey{color:#CBC8C8}.text-colour-hover-white:hover,.text-colour-white{color:#FFFFFF}.text-colour-hover-black:hover,.text-colour-black{color:#000000}.text-colour-hover-grey-extra-light:hover,.text-colour-grey-extra-light{color:#D7D7D7}.text-colour-hover-grey-light:hover,.text-colour-grey-light{color:#E8E8E8}.text-colour-hover-grey-medium:hover,.text-colour-grey-medium{color:#8A8A8A}.text-colour-hover-grey-dark:hover,.text-colour-grey-dark{color:#4A4A4A}.text-colour-hover-philco-orange:hover,.text-colour-philco-orange{color:#f18a00}.text-colour-hover-philco-gray-90:hover,.text-colour-philco-gray-90{color:#1d1d1B}.text-colour-hover-philco-gray-70:hover,.text-colour-philco-gray-70{color:#7D7D7D}.text-colour-hover-philco-white:hover,.text-colour-philco-white{color:#FFFFFF}.text-colour-hover-philco-success-green:hover,.text-colour-philco-success-green{color:#1Ec691}.text-colour-hover-philco-error-coral:hover,.text-colour-philco-error-coral{color:#F54242}.text-colour-hover-philco-gray-30:hover,.text-colour-philco-gray-30{color:#BBBBBB}.text-colour-hover-philco-gray-20:hover,.text-colour-philco-gray-20{color:#F6F6F6}:host{display:contents;font-family:"Euclid Triangle", sans-serif;font-size:17px;line-height:24px}.container{max-width:1200px;padding-left:15px;padding-right:15px;margin-left:auto;margin-right:auto;position:relative;text-align:center}.content-wrap .slug{margin:0;padding:0}.content-wrap h2{margin:0 0 5px 0;padding:0}.content-wrap .subtitle{margin:0 0 5px 0;padding:0}.content-wrap .teaser{margin:15px auto 15px auto;max-width:400px;padding:0}@media screen and (max-width: 576px){.content-wrap{text-align:right}h2{padding:40px 0}}'}},[1,"biggive-call-to-action",{spaceAbove:[2,"space-above"],spaceBelow:[2,"space-below"],defaultTextColour:[1,"default-text-colour"],slugSize:[2,"slug-size"],slugColour:[1,"slug-colour"],slug:[1],mainTitleColour:[1,"main-title-colour"],mainTitleSize:[2,"main-title-size"],mainTitle:[1,"main-title"],subtitleSize:[2,"subtitle-size"],subtitleColour:[1,"subtitle-colour"],subtitle:[1],teaserColour:[1,"teaser-colour"],teaser:[1],primaryButtonUrl:[1,"primary-button-url"],primaryButtonLabel:[1,"primary-button-label"],primaryButtonColourScheme:[1,"primary-button-colour-scheme"],secondaryButtonUrl:[1,"secondary-button-url"],secondaryButtonLabel:[1,"secondary-button-label"],secondaryButtonColourScheme:[1,"secondary-button-colour-scheme"]}]),c=a,i=function(){"undefined"!=typeof customElements&&["biggive-call-to-action","biggive-button"].forEach((o=>{switch(o){case"biggive-call-to-action":customElements.get(r(o))||customElements.define(r(o),a);break;case"biggive-button":customElements.get(r(o))||l()}}))};export{c as BiggiveCallToAction,i as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as e,HTMLElement as t,createEvent as
|
|
1
|
+
import{proxyCustomElement as e,HTMLElement as t,createEvent as i,h as a,transformTag as o}from"@stencil/core/internal/client";import{d as n}from"./biggive-button2.js";import{d as r}from"./biggive-misc-icon2.js";import{d as s}from"./biggive-progress-bar2.js";const c=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.doCardGeneralClick=i(this,"doCardGeneralClick",7),this.spaceBelow=4,this.donateButtonLabel="Donate now",this.donateButtonColourScheme="primary",this.moreInfoButtonLabel="Find out more",this.moreInfoButtonColourScheme="clear-primary",this.isFutureCampaign=!1,this.isPastCampaign=!1,this.handleCardGeneralClick=e=>{this.doCardGeneralClick.emit({event:e,url:this.moreInfoButtonUrl})}}isEmpty(e){return null==e||""===e}render(){return a("div",{key:"0ec8ef81df02702ffde418569321f40a43202524",class:"container space-below-"+this.spaceBelow},a("div",{key:"28ae6f9ccdd2b1cc1eb498e0497fb66544a624bf",class:"sleeve"},a("div",{key:"1f015b848b11cf46fa4e392f01e57b70fd6f5190",onClick:this.handleCardGeneralClick,class:"above-button-wrap"},null!==this.campaignType?a("div",{class:"campaign-type"},a("span",null,this.campaignType)):null,a("div",null!=this.banner?{class:"image-wrap banner",role:"presentation",style:{"background-image":"url("+this.banner+")"}}:{class:"image-wrap banner"}),a("div",{key:"8ebaf7a903b776598fdf121700a2dd9e9d2761cc",class:"title-wrap"},a("h3",{key:"3b5b01989dabe0a78520f2254f43dd394ce8c95e"},this.campaignTitle),a("div",{key:"d10a6503828e38d075b2f2e99fbd10549b981a3a",class:"organisation-name"},"By ",this.organisationName)),this.isEmpty(this.primaryFigureAmount)&&this.isEmpty(this.secondaryFigureAmount)?null:a("div",{class:"meta-wrap"},this.isEmpty(this.primaryFigureAmount)?null:a("div",{class:"meta-item"},a("span",{class:"label"},this.primaryFigureLabel),a("span",{class:"text"},this.primaryFigureAmount)),this.isEmpty(this.secondaryFigureAmount)?null:a("div",{class:"meta-item"},a("span",{class:"label"},this.secondaryFigureLabel),a("span",{class:"text"},this.secondaryFigureAmount))),this.isEmpty(this.progressBarCounter)?a("div",{class:"progress-bar-wrap",style:{visibility:"hidden"}},a("biggive-progress-bar",{counter:0,"colour-scheme":"primary"})):a("div",{class:"progress-bar-wrap"},a("biggive-progress-bar",{counter:this.progressBarCounter,"colour-scheme":"primary"}))),a("div",{key:"5d3904c85c4b9e4499adbe72497354ae8a6649d8",class:"button-wrap"},this.isFutureCampaign||this.isPastCampaign?a("div",{class:"msg-wrapper"},a("biggive-misc-icon",{"background-colour":"white","icon-colour":"black",icon:"Timer"}),a("p",null,this.isFutureCampaign?"Launches ":"Closed ",this.datetime)):a("biggive-button",{"full-width":"true","colour-scheme":this.donateButtonColourScheme,url:this.donateButtonUrl,label:this.donateButtonLabel}),a("biggive-button",{key:"9cfa4399e07bd806740b3bedcbf5f89dd64b50be","full-width":"true","colour-scheme":this.moreInfoButtonColourScheme,url:this.moreInfoButtonUrl,label:this.moreInfoButtonLabel}))))}static get style(){return'a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.image-wrap img{width:100%;height:auto}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}:host{display:contents}.container{display:flex;flex-direction:column;font-family:"Euclid Triangle", sans-serif;font-size:17px;line-height:24px;margin-right:10px;margin-left:10px;cursor:pointer;position:relative;height:100%;background-color:#FFFFFF;padding:15px;box-sizing:border-box}.container .sleeve{display:flex;flex-direction:column;height:100%}.container .sleeve .above-button-wrap{flex-grow:1;display:flex;flex-direction:column}.container .sleeve .above-button-wrap .title-wrap{flex-grow:1}.container .campaign-type{position:absolute;top:0;left:0;right:0;text-align:center;font-weight:bold}.container .campaign-type span{background-color:#2AF135;color:#000000;padding:5px 15px;display:inline-block}.container .banner{top:0;margin-top:19px;padding-bottom:30.555%;background-color:#F1F1F1;background-size:contain;background-repeat:no-repeat}.container .banner img{display:none}.container h3{font-size:20px;line-height:24px;font-weight:bold}.container .button{display:block}.container .organisation-name{margin-bottom:30px;color:#2C089B}.container .meta-wrap{display:flex;justify-content:space-between;margin-top:auto;margin-bottom:15px}.container .meta-wrap .meta-item{width:calc(50% - 15px)}.container .meta-wrap .meta-item .label{font-size:11px;line-height:14px;display:block}.container .meta-wrap .meta-item .text{font-size:25px;line-height:32px;font-weight:bold;display:block}.container .meta-wrap .meta-item:last-child{text-align:right}.container .meta-wrap .meta-item:last-child .text{color:#2C089B}.container .progress-bar-wrap{padding-bottom:10px;margin-bottom:10px;border-bottom:1px solid #E8E8E8}.container .msg-wrapper{display:flex;justify-content:center}.container .msg-wrapper biggive-misc-icon{margin-top:auto;margin-bottom:auto}.container .msg-wrapper p{text-align:center}@media screen and (max-width: 1200px){.container .msg-wrapper p{font-size:15px}}'}},[1,"biggive-campaign-card",{spaceBelow:[2,"space-below"],campaignType:[1,"campaign-type"],banner:[1],campaignTitle:[1,"campaign-title"],organisationName:[1,"organisation-name"],primaryFigureLabel:[1,"primary-figure-label"],primaryFigureAmount:[1,"primary-figure-amount"],secondaryFigureLabel:[1,"secondary-figure-label"],secondaryFigureAmount:[1,"secondary-figure-amount"],progressBarCounter:[2,"progress-bar-counter"],donateButtonLabel:[1,"donate-button-label"],donateButtonUrl:[1,"donate-button-url"],donateButtonColourScheme:[1,"donate-button-colour-scheme"],moreInfoButtonLabel:[1,"more-info-button-label"],moreInfoButtonUrl:[1,"more-info-button-url"],moreInfoButtonColourScheme:[1,"more-info-button-colour-scheme"],isFutureCampaign:[4,"is-future-campaign"],isPastCampaign:[4,"is-past-campaign"],datetime:[1]}]),l=c,p=function(){"undefined"!=typeof customElements&&["biggive-campaign-card","biggive-button","biggive-misc-icon","biggive-progress-bar"].forEach((e=>{switch(e){case"biggive-campaign-card":customElements.get(o(e))||customElements.define(o(e),c);break;case"biggive-button":customElements.get(o(e))||n();break;case"biggive-misc-icon":customElements.get(o(e))||r();break;case"biggive-progress-bar":customElements.get(o(e))||s()}}))};export{l as BiggiveCampaignCard,p as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as e,HTMLElement as a,h as t,transformTag as i}from"@stencil/core/internal/client";import{d as n}from"./biggive-misc-icon2.js";import{d as o}from"./biggive-progress-bar2.js";const
|
|
1
|
+
import{proxyCustomElement as e,HTMLElement as a,h as t,transformTag as i}from"@stencil/core/internal/client";import{d as n}from"./biggive-misc-icon2.js";import{d as o}from"./biggive-progress-bar2.js";const c=e(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.spaceBelow=0,this.progressBarCounter=void 0}render(){return t("div",{key:"f7b373cc1fa7ce35832e8702e05f4e34ed99c525",class:"container space-below-"+this.spaceBelow},t("div",{key:"0417ce876afcaff59b7d000f1f34b811dbde9a4f",class:"sleeve"},null!=this.campaignTitle?t("div",{class:"campaign-title"},t("span",null,this.campaignTitle)):null,null!=this.banner?t("div",{class:"image-wrap banner",style:{"background-image":"url("+this.banner+")"}},t("img",{src:this.banner,class:"banner"})):null,t("div",{key:"058c5f3dc7cda08f25cba8f3f425ce46002dd6c6",class:"meta-wrap"},t("div",{key:"2c5d29f1b0c0e35659f32d9e8079f5e56c2c1eac",class:"meta-item"},t("span",{key:"f480c28ee657c76930f43a14f8770119a94dd627",class:"label"},this.primaryFigureLabel),t("span",{key:"cf9dbddab05ccc8e4febb17cfb4d4af9cfe13036",class:"text"},this.primaryFigureAmount)),t("div",{key:"aadd58d365a6df08a82fa7c046709489f703b434",class:"meta-item"},t("span",{key:"c284a1c8b2b8abca0ef64abf37fc27c338715da1",class:"label"},this.secondaryFigureLabel),t("span",{key:"e8cc91da7a4018fadcbf64bda7ff28846e820de8",class:"text"},this.secondaryFigureAmount))),t("div",{key:"b222cc04d2b9f8eeb32b222c2028b5bfa2ce5f75",class:"progress-bar-wrap"},t("biggive-progress-bar",{key:"d1d413de6f0f2271e66b85c11f6dd4145d1c643c",counter:this.progressBarCounter,"colour-scheme":"primary"})),t("div",{key:"238049c444c0b65bc0e572cee9872f7e7d311e2a",class:"stat-wrap"},null!=this.primaryStatIcon?t("div",{class:"stat-item"},t("biggive-misc-icon",{icon:this.primaryStatIcon,"background-colour":"white","icon-colour":"tertiary"}),t("span",{class:"label"},this.primaryStatText)):null,null!=this.secondaryStatIcon?t("div",{class:"stat-item"},t("biggive-misc-icon",{icon:this.secondaryStatIcon,"background-colour":"white","icon-colour":"tertiary"}),t("span",{class:"label"},this.secondaryStatText)):null),null!=this.championName?t("div",{class:"championed-by"},"Championed by ",t("a",{href:this.championUrl},this.championName)):null))}static get style(){return'a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.image-wrap img{width:100%;height:auto}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}:host{display:contents}.container{font-family:"Euclid Triangle", sans-serif;font-size:17px;line-height:24px;background-color:#FFFFFF;padding:25px;box-sizing:border-box;height:fit-content}.container .campaign-title{position:absolute;top:0;left:0;right:0;text-align:center;font-weight:bold}.container .campaign-title span{background-color:#2AF135;color:#000000;padding:5px 15px;display:inline-block}.container .banner{top:0;margin-top:19px;padding-bottom:30.555%;background-color:#F1F1F1;background-size:contain;background-repeat:no-repeat;margin-bottom:30px}.container .banner img{display:none}.container .meta-wrap{display:flex;justify-content:space-between;margin-top:auto;margin-bottom:15px}.container .meta-wrap .meta-item{width:calc(50% - 15px)}.container .meta-wrap .meta-item .label{font-size:13px;line-height:17px;display:block}.container .meta-wrap .meta-item .text{font-size:25px;line-height:32px;font-weight:bold;display:block}@media screen and (max-width: 768px){.container .meta-wrap .meta-item .text{font-size:23px}}@media screen and (max-width: 576px){.container .meta-wrap .meta-item .text{font-size:21px}}@media screen and (max-width: 450px){.container .meta-wrap .meta-item .text{font-size:17px}}.container .meta-wrap .meta-item:last-child{text-align:right}.container .meta-wrap .meta-item:last-child .text{color:#2C089B}.container .progress-bar-wrap{padding-bottom:10px;margin-bottom:10px;border-bottom:1px solid #E8E8E8}.container .stat-wrap{display:flex;justify-content:space-between}.container .stat-wrap .stat-item{font-size:17px;line-height:24px;font-weight:bold;width:calc(50% - 15px);margin:auto 0 auto 15px}.container .stat-wrap .stat-item .label{position:relative;bottom:7px}@media screen and (max-width: 576px){.container .stat-wrap .stat-item{font-size:13px;line-height:17px;margin:auto 0;text-align:center}.container .stat-wrap .stat-item .label{bottom:5px}}.container .stat-wrap .stat-item svg{fill:#FF7272}.container .championed-by{text-align:left;margin-left:20px;margin-top:20px;color:#000000;font-size:15px}@media screen and (max-width: 768px){.container .championed-by{font-size:14px}}@media screen and (max-width: 576px){.container .championed-by{text-align:center;margin-left:0;margin-bottom:10px;font-size:13px}}@media screen and (max-width: 450px){.container .championed-by{font-size:12px}}.container .championed-by a{text-decoration:none;font-weight:bold;color:#2C089B}@media screen and (max-width: 450px){.container .championed-by a{display:block}}@media screen and (max-width: 576px){.container{padding:15px}}'}},[1,"biggive-campaign-highlights",{spaceBelow:[2,"space-below"],banner:[1],campaignTitle:[1,"campaign-title"],primaryFigureLabel:[1,"primary-figure-label"],primaryFigureAmount:[1,"primary-figure-amount"],secondaryFigureLabel:[1,"secondary-figure-label"],secondaryFigureAmount:[1,"secondary-figure-amount"],progressBarCounter:[2,"progress-bar-counter"],primaryStatIcon:[1,"primary-stat-icon"],primaryStatText:[1,"primary-stat-text"],secondaryStatIcon:[1,"secondary-stat-icon"],secondaryStatText:[1,"secondary-stat-text"],championName:[1,"champion-name"],championUrl:[1,"champion-url"]}]),r=c,s=function(){"undefined"!=typeof customElements&&["biggive-campaign-highlights","biggive-misc-icon","biggive-progress-bar"].forEach((e=>{switch(e){case"biggive-campaign-highlights":customElements.get(i(e))||customElements.define(i(e),c);break;case"biggive-misc-icon":customElements.get(i(e))||n();break;case"biggive-progress-bar":customElements.get(i(e))||o()}}))};export{r as BiggiveCampaignHighlights,s as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as o,HTMLElement as r,h as e,transformTag as c}from"@stencil/core/internal/client";const l=o(class extends r{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.spaceBelow=0,this.backgroundColour="primary",this.backgroundImageUrl="",this.cardColour="white",this.textColour="black",this.clipBottomLeftCorner=!0,this.clipTopRightCorner=!0,this.headingLevel=3}render(){return e("div",{key:"
|
|
1
|
+
import{proxyCustomElement as o,HTMLElement as r,h as e,transformTag as c}from"@stencil/core/internal/client";const l=o(class extends r{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.spaceBelow=0,this.backgroundColour="primary",this.backgroundImageUrl="",this.cardColour="white",this.textColour="black",this.clipBottomLeftCorner=!0,this.clipTopRightCorner=!0,this.headingLevel=3}render(){return e("div",{key:"f5885e75cb1ca80906804d7763c76e9c34b1fa60",class:"container space-below-"+this.spaceBelow+" background-colour-"+this.backgroundColour,style:{"background-image":"url('"+this.backgroundImageUrl+"')"}},e("div",{key:"42070d8b1e1c61826969d9c21e75a3959ea81138",class:"sleeve background-colour-"+this.cardColour+" text-colour-"+this.textColour},e("slot",{key:"43029a255440a863fbf187bc0f42c34f8bec891d"})))}static get style(){return'a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.background-colour-hover-primary:hover,.background-colour-primary{background-color:#2C089B}.background-colour-hover-secondary:hover,.background-colour-secondary{background-color:#2AF135}.background-colour-hover-tertiary:hover,.background-colour-tertiary{background-color:#FF7272}.background-colour-hover-brand-cc-red:hover,.background-colour-brand-cc-red{background-color:#B30510}.background-colour-hover-brand-wgmf-purple:hover,.background-colour-brand-wgmf-purple{background-color:#6E0887}.background-colour-hover-brand-gmf-green:hover,.background-colour-brand-gmf-green{background-color:#50B400}.background-colour-hover-brand-er-green:hover,.background-colour-brand-er-green{background-color:#50B400}.background-colour-hover-brand-er-dark-green:hover,.background-colour-brand-er-dark-green{background-color:#002413}.background-colour-hover-brand-er-dark-blue:hover,.background-colour-brand-er-dark-blue{background-color:#0c0068}.background-colour-hover-brand-er-teal:hover,.background-colour-brand-er-teal{background-color:#00a76d}.background-colour-hover-brand-emf-yellow:hover,.background-colour-brand-emf-yellow{background-color:#FFE500}.background-colour-hover-brand-c4c-orange:hover,.background-colour-brand-c4c-orange{background-color:#F07D00}.background-colour-hover-brand-afa-pink:hover,.background-colour-brand-afa-pink{background-color:#BF387D}.background-colour-hover-brand-scw-magenta:hover,.background-colour-brand-scw-magenta{background-color:#EE2C65}.background-colour-hover-brand-mhf-turquoise:hover,.background-colour-brand-mhf-turquoise{background-color:#62CFC9}.background-colour-hover-brand-grey:hover,.background-colour-brand-grey{background-color:#CBC8C8}.background-colour-hover-white:hover,.background-colour-white{background-color:#FFFFFF}.background-colour-hover-black:hover,.background-colour-black{background-color:#000000}.background-colour-hover-grey-extra-light:hover,.background-colour-grey-extra-light{background-color:#D7D7D7}.background-colour-hover-grey-light:hover,.background-colour-grey-light{background-color:#E8E8E8}.background-colour-hover-grey-medium:hover,.background-colour-grey-medium{background-color:#8A8A8A}.background-colour-hover-grey-dark:hover,.background-colour-grey-dark{background-color:#4A4A4A}.background-colour-hover-philco-orange:hover,.background-colour-philco-orange{background-color:#f18a00}.background-colour-hover-philco-gray-90:hover,.background-colour-philco-gray-90{background-color:#1d1d1B}.background-colour-hover-philco-gray-70:hover,.background-colour-philco-gray-70{background-color:#7D7D7D}.background-colour-hover-philco-white:hover,.background-colour-philco-white{background-color:#FFFFFF}.background-colour-hover-philco-success-green:hover,.background-colour-philco-success-green{background-color:#1Ec691}.background-colour-hover-philco-error-coral:hover,.background-colour-philco-error-coral{background-color:#F54242}.background-colour-hover-philco-gray-30:hover,.background-colour-philco-gray-30{background-color:#BBBBBB}.background-colour-hover-philco-gray-20:hover,.background-colour-philco-gray-20{background-color:#F6F6F6}.fill-primary{fill:#2C089B}.fill-secondary{fill:#2AF135}.fill-tertiary{fill:#FF7272}.fill-brand-cc-red{fill:#B30510}.fill-brand-wgmf-purple{fill:#6E0887}.fill-brand-gmf-green{fill:#50B400}.fill-brand-er-green{fill:#50B400}.fill-brand-er-dark-green{fill:#002413}.fill-brand-er-dark-blue{fill:#0c0068}.fill-brand-er-teal{fill:#00a76d}.fill-brand-emf-yellow{fill:#FFE500}.fill-brand-c4c-orange{fill:#F07D00}.fill-brand-afa-pink{fill:#BF387D}.fill-brand-scw-magenta{fill:#EE2C65}.fill-brand-mhf-turquoise{fill:#62CFC9}.fill-brand-grey{fill:#CBC8C8}.fill-white{fill:#FFFFFF}.fill-black{fill:#000000}.fill-grey-extra-light{fill:#D7D7D7}.fill-grey-light{fill:#E8E8E8}.fill-grey-medium{fill:#8A8A8A}.fill-grey-dark{fill:#4A4A4A}.fill-philco-orange{fill:#f18a00}.fill-philco-gray-90{fill:#1d1d1B}.fill-philco-gray-70{fill:#7D7D7D}.fill-philco-white{fill:#FFFFFF}.fill-philco-success-green{fill:#1Ec691}.fill-philco-error-coral{fill:#F54242}.fill-philco-gray-30{fill:#BBBBBB}.fill-philco-gray-20{fill:#F6F6F6}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}.text-colour-hover-primary:hover,.text-colour-primary{color:#2C089B}.text-colour-hover-secondary:hover,.text-colour-secondary{color:#2AF135}.text-colour-hover-tertiary:hover,.text-colour-tertiary{color:#FF7272}.text-colour-hover-brand-cc-red:hover,.text-colour-brand-cc-red{color:#B30510}.text-colour-hover-brand-wgmf-purple:hover,.text-colour-brand-wgmf-purple{color:#6E0887}.text-colour-hover-brand-gmf-green:hover,.text-colour-brand-gmf-green{color:#50B400}.text-colour-hover-brand-er-green:hover,.text-colour-brand-er-green{color:#50B400}.text-colour-hover-brand-er-dark-green:hover,.text-colour-brand-er-dark-green{color:#002413}.text-colour-hover-brand-er-dark-blue:hover,.text-colour-brand-er-dark-blue{color:#0c0068}.text-colour-hover-brand-er-teal:hover,.text-colour-brand-er-teal{color:#00a76d}.text-colour-hover-brand-emf-yellow:hover,.text-colour-brand-emf-yellow{color:#FFE500}.text-colour-hover-brand-c4c-orange:hover,.text-colour-brand-c4c-orange{color:#F07D00}.text-colour-hover-brand-afa-pink:hover,.text-colour-brand-afa-pink{color:#BF387D}.text-colour-hover-brand-scw-magenta:hover,.text-colour-brand-scw-magenta{color:#EE2C65}.text-colour-hover-brand-mhf-turquoise:hover,.text-colour-brand-mhf-turquoise{color:#62CFC9}.text-colour-hover-brand-grey:hover,.text-colour-brand-grey{color:#CBC8C8}.text-colour-hover-white:hover,.text-colour-white{color:#FFFFFF}.text-colour-hover-black:hover,.text-colour-black{color:#000000}.text-colour-hover-grey-extra-light:hover,.text-colour-grey-extra-light{color:#D7D7D7}.text-colour-hover-grey-light:hover,.text-colour-grey-light{color:#E8E8E8}.text-colour-hover-grey-medium:hover,.text-colour-grey-medium{color:#8A8A8A}.text-colour-hover-grey-dark:hover,.text-colour-grey-dark{color:#4A4A4A}.text-colour-hover-philco-orange:hover,.text-colour-philco-orange{color:#f18a00}.text-colour-hover-philco-gray-90:hover,.text-colour-philco-gray-90{color:#1d1d1B}.text-colour-hover-philco-gray-70:hover,.text-colour-philco-gray-70{color:#7D7D7D}.text-colour-hover-philco-white:hover,.text-colour-philco-white{color:#FFFFFF}.text-colour-hover-philco-success-green:hover,.text-colour-philco-success-green{color:#1Ec691}.text-colour-hover-philco-error-coral:hover,.text-colour-philco-error-coral{color:#F54242}.text-colour-hover-philco-gray-30:hover,.text-colour-philco-gray-30{color:#BBBBBB}.text-colour-hover-philco-gray-20:hover,.text-colour-philco-gray-20{color:#F6F6F6}:host{display:contents}.container{font-family:"Euclid Triangle", sans-serif;font-size:17px;line-height:24px;position:relative;background-size:cover;background-position:center center;padding:15px;height:100%;white-space:pre-wrap}.container .sleeve{padding:45px 15px;height:100%;box-sizing:border-box;transition:all 1s ease-in-out}.container.add-animation-true:hover .sleeve{margin:-30px;padding:60px;height:calc(100% + 60px)}.container .sleeve{clip-path:polygon(0% 0%, 0% 0%, 100% 0%, 100% 0, 100% 100%, 100% 100%, 50px 100%, 0 calc(100% - 50px))}'}},[257,"biggive-container-card",{spaceBelow:[2,"space-below"],backgroundColour:[1,"background-colour"],backgroundImageUrl:[1,"background-image-url"],cardColour:[1,"card-colour"],textColour:[1,"text-colour"],clipBottomLeftCorner:[4,"clip-bottom-left-corner"],clipTopRightCorner:[4,"clip-top-right-corner"],headingLevel:[2,"heading-level"]}]),a=l,n=function(){"undefined"!=typeof customElements&&["biggive-container-card"].forEach((o=>{"biggive-container-card"===o&&(customElements.get(c(o))||customElements.define(c(o),l))}))};export{a as BiggiveContainerCard,n as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as e,HTMLElement as o,createEvent as r,h as a,transformTag as c}from"@stencil/core/internal/client";import{d as l}from"./biggive-button2.js";import{d as t}from"./biggive-popup2.js";const n=e(class extends o{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.preferenceModalClosed=r(this,"preferenceModalClosed",7),this.cookieBannerAcceptAllSelected=r(this,"cookieBannerAcceptAllSelected",7),this.cookieBannerSavePreferencesSelected=r(this,"cookieBannerSavePreferencesSelected",7),this.autoOpenPreferences=!1,this.previouslyAgreedCookiePreferences=void 0,this.handleChoosePrefencesClick=()=>{var e;const o=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.getElementById("cookie-preferences-popup");null==o||o.openFromOutside()},this.handleAcceptSelectedCookies=()=>{var e,o,r;const a=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.getElementById("cookie-preferences-popup");null==a||a.closeFromOutside();const c=null===(o=this.el.shadowRoot)||void 0===o?void 0:o.getElementById("a-and-t-on"),l=null===(r=this.el.shadowRoot)||void 0===r?void 0:r.getElementById("third-party-on");this.cookieBannerSavePreferencesSelected.emit({analyticsAndTesting:c.checked,thirdParty:l.checked}),null==a||a.closeFromOutside()},this.handleRejectAllClicked=()=>{var e;this.cookieBannerSavePreferencesSelected.emit({analyticsAndTesting:!1,thirdParty:!1});const o=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.getElementById("cookie-preferences-popup");null==o||o.closeFromOutside()},this.handleAcceptAllClick=()=>{this.cookieBannerAcceptAllSelected.emit()}}componentDidLoad(){this.autoOpenPreferencesIfRequested()}autoOpenPreferencesIfRequested(){this.autoOpenPreferences&&this.handleChoosePrefencesClick()}render(){const e=this.previouslyAgreedCookiePreferences||{};return a("div",{key:"9645a4402bae7c317ba20f2b84067607315a39fe",class:"cooke-consent-container"},a("biggive-popup",{key:"82abd32f8970066c75902d0f36ac75068f04b2db",id:"cookie-preferences-popup",modalClosedCallback:this.preferenceModalClosed.emit},a("div",{key:"9e55368d1904dfdd993f32c6d72da14ffd675838",class:"content"},a("h4",{key:"3ee46ce9c44ec5856dd8c5096400513ce5237f6f",class:"space-above-0 space-below-3 text-colour-primary"},"Manage your cookie preferences"),a("form",{key:"5a9cfc5c6f38127ce37e53e0195d1175beddcee6"},a("div",{key:"851ff0a6edb1c0aaff7bb085b43115f41221e621",class:"radio-group"},a("h5",{key:"c9123cf7a0059c434d18429572efddbed986d7af"},"Essential Cookies"),a("p",{key:"002a85d139b7b2a0434fc16aea67182cef3d388f"},"These cookies are necessary to ensure our website functions correctly and include required cookies from third parties."),a("input",{key:"abde1bf1bad87c2a723ebde41046b74fe218fb16",type:"radio",name:"necassary",id:"necassary-off",disabled:!0}),a("label",{key:"8f61aafd124e3a71d76c13da0c1261bd249f9cf2",htmlFor:"necassary-on"},"Off"),a("input",{key:"97affef89d489dfda6e47cdb9b616ef000ea8111",type:"radio",name:"necassary",id:"necassary-on",disabled:!0,checked:!0}),a("label",{key:"c13b1d408610e9882fb9e4c728e92cb1aea3e483",htmlFor:"necassary-on"},"On")),a("div",{key:"32dd198a92a5c4708441ef8b5dcd1a7974be5bd3",class:"radio-group"},a("h5",{key:"7b9647835952f14090a408f0d1215154aa761e47"},"Analytics & Testing Cookies"),a("p",{key:"5ab3c7137ca361de409d2086f526ce32e99d6104"},"We use analytics cookies to track activity on our website. For example, the pages you’ve visited, the content you’ve engaged with and the search terms you’ve used. This allows us to personalise and improve our content."),a("p",{key:"f1c86b61f8247badea5d49ae0cafe5b41ba7776c"},"We use testing cookies to collect data on how you interact with website features. These insights allow us to update our website and build features that enhance your user experience."),a("input",{key:"b0191eeae52cd61d0cba7f5da9d9a5e62741c837",type:"radio",name:"a-and-t",id:"a-and-t-off",checked:!e.analyticsAndTesting}),a("label",{key:"8f770a535bbd647a2305a0285e64a2b52f9f8970",htmlFor:"a-and-t-off"},"Off"),a("input",{key:"b5817bb96534bcf897c29c23c0235dfb378a494a",type:"radio",name:"a-and-t",id:"a-and-t-on",checked:!!e.analyticsAndTesting}),a("label",{key:"a944ba4961e73a7d40c1d1a77a52f4b81e4bf23c",htmlFor:"a-and-t-on"},"On")),a("div",{key:"d79a30b51a172322cdc188d4e947b66bf7182c50",class:"radio-group"},a("h5",{key:"a82e4c4072adb40e384e7f999b60a470c1c1abdb"},"Third-party Cookies "),a("p",{key:"a1a649082364cbb8ff3381a858fad60f29735951"},"These cookies are used to track activity, which can help to provide a better experience and improve functionality across various applications. For example, our donation experience survey."),a("input",{key:"f0ae0e5ead72754abb21ea08c8c6a0792b5ab34e",type:"radio",name:"third-party",id:"third-party-off",checked:!e.thirdParty}),a("label",{key:"bfaa02358ff7cfa788eb9ac9a8e4c8929f988238",htmlFor:"third-party-off"},"Off"),a("input",{key:"b45646145e81ef37607f5b0aaa15c3008e697ea2",type:"radio",name:"third-party",id:"third-party-on",checked:!!e.thirdParty}),a("label",{key:"da5ee14c87c73d2a2b98ccd0a721ca083fc988be",htmlFor:"third-party-on"},"On")),a("biggive-button",{key:"9611f564e4c216e64e43e6aa503a772334e94ff0","space-below":"0","space-above":"2","colour-scheme":"secondary","is-past-campaign":"false","is-future-campaign":"false",label:"Accept Selected Cookies","open-in-new-tab":"false","full-width":"false",size:"small",rounded:!1,centered:!1,"button-id":"accept-selected-button",onClick:this.handleAcceptSelectedCookies})),a("p",{key:"7798dcf4e1f00ce7a6d41a5449066309461616ec"},"You can change the above settings for this browser at any time by clicking the privacy settings link in the footer of the page."))),a("h2",{key:"0564b745829a214e37f049f92d762f8bf271e324"},"Our website uses cookies"),a("p",{key:"b6f11ca6863a3081fffe0be07887513882e30b69"},"We use some essential cookies to make our website work. We'd also like to share data with our analytics platform and use analytics cookies to understand how you use the website and make improvements."),a("p",{key:"b62ef1b28cc90ad14470b54f42b5e294a8964082"},a("a",{key:"c4f187218d28c402fcb02f3e4f111ce1f187b335",href:this.blogUriPrefix+"/privacy#cookies",target:"_blank"},"Find out more in our Cookies Statement")),a("div",{key:"ba332740dc56a2912e6a54abab5f6555dcc3829e",class:"button-group"},a("biggive-button",{key:"bfe49638daa1fd5088a70105b0ad3a832c178404",onClick:this.handleAcceptAllClick,"space-below":"0","colour-scheme":"secondary","is-past-campaign":"false","is-future-campaign":"false",label:"Accept All","open-in-new-tab":"false","full-width":"true",size:"medium",rounded:!1,centered:!1,"button-id":"accept-all-button"}),a("biggive-button",{key:"343ec27380c819f43f7f25421c495c3fd945e0f7",onClick:this.handleRejectAllClicked,"space-below":"0","colour-scheme":"grey-light","is-past-campaign":"false","is-future-campaign":"false",label:"Essential Cookies Only","open-in-new-tab":"false","full-width":"true",size:"medium",rounded:!1,centered:!1,"button-id":"choose-preferences-button"}),a("biggive-button",{key:"cf6a3e3b2f41936ac074750f8119a415157ffac1",onClick:this.handleChoosePrefencesClick,"space-below":"0","colour-scheme":"grey-light","is-past-campaign":"false","is-future-campaign":"false",label:"Choose Preferences","open-in-new-tab":"false","full-width":"true",size:"medium",rounded:!1,centered:!1,"button-id":"choose-preferences-button"})))}get el(){return this}static get watchers(){return{autoOpenPreferences:[{autoOpenPreferencesIfRequested:0}]}}static get style(){return'a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.background-colour-hover-primary:hover,.background-colour-primary{background-color:#2C089B}.background-colour-hover-secondary:hover,.background-colour-secondary{background-color:#2AF135}.background-colour-hover-tertiary:hover,.background-colour-tertiary{background-color:#FF7272}.background-colour-hover-brand-cc-red:hover,.background-colour-brand-cc-red{background-color:#B30510}.background-colour-hover-brand-wgmf-purple:hover,.background-colour-brand-wgmf-purple{background-color:#6E0887}.background-colour-hover-brand-gmf-green:hover,.background-colour-brand-gmf-green{background-color:#50B400}.background-colour-hover-brand-er-green:hover,.background-colour-brand-er-green{background-color:#50B400}.background-colour-hover-brand-er-dark-green:hover,.background-colour-brand-er-dark-green{background-color:#002413}.background-colour-hover-brand-er-dark-blue:hover,.background-colour-brand-er-dark-blue{background-color:#0c0068}.background-colour-hover-brand-er-teal:hover,.background-colour-brand-er-teal{background-color:#00a76d}.background-colour-hover-brand-emf-yellow:hover,.background-colour-brand-emf-yellow{background-color:#FFE500}.background-colour-hover-brand-c4c-orange:hover,.background-colour-brand-c4c-orange{background-color:#F07D00}.background-colour-hover-brand-afa-pink:hover,.background-colour-brand-afa-pink{background-color:#BF387D}.background-colour-hover-brand-scw-magenta:hover,.background-colour-brand-scw-magenta{background-color:#EE2C65}.background-colour-hover-brand-mhf-turquoise:hover,.background-colour-brand-mhf-turquoise{background-color:#62CFC9}.background-colour-hover-brand-grey:hover,.background-colour-brand-grey{background-color:#CBC8C8}.background-colour-hover-white:hover,.background-colour-white{background-color:#FFFFFF}.background-colour-hover-black:hover,.background-colour-black{background-color:#000000}.background-colour-hover-grey-extra-light:hover,.background-colour-grey-extra-light{background-color:#D7D7D7}.background-colour-hover-grey-light:hover,.background-colour-grey-light{background-color:#E8E8E8}.background-colour-hover-grey-medium:hover,.background-colour-grey-medium{background-color:#8A8A8A}.background-colour-hover-grey-dark:hover,.background-colour-grey-dark{background-color:#4A4A4A}.background-colour-hover-philco-orange:hover,.background-colour-philco-orange{background-color:#f18a00}.background-colour-hover-philco-gray-90:hover,.background-colour-philco-gray-90{background-color:#1d1d1B}.background-colour-hover-philco-gray-70:hover,.background-colour-philco-gray-70{background-color:#7D7D7D}.background-colour-hover-philco-white:hover,.background-colour-philco-white{background-color:#FFFFFF}.background-colour-hover-philco-success-green:hover,.background-colour-philco-success-green{background-color:#1Ec691}.background-colour-hover-philco-error-coral:hover,.background-colour-philco-error-coral{background-color:#F54242}.background-colour-hover-philco-gray-30:hover,.background-colour-philco-gray-30{background-color:#BBBBBB}.background-colour-hover-philco-gray-20:hover,.background-colour-philco-gray-20{background-color:#F6F6F6}.fill-primary{fill:#2C089B}.fill-secondary{fill:#2AF135}.fill-tertiary{fill:#FF7272}.fill-brand-cc-red{fill:#B30510}.fill-brand-wgmf-purple{fill:#6E0887}.fill-brand-gmf-green{fill:#50B400}.fill-brand-er-green{fill:#50B400}.fill-brand-er-dark-green{fill:#002413}.fill-brand-er-dark-blue{fill:#0c0068}.fill-brand-er-teal{fill:#00a76d}.fill-brand-emf-yellow{fill:#FFE500}.fill-brand-c4c-orange{fill:#F07D00}.fill-brand-afa-pink{fill:#BF387D}.fill-brand-scw-magenta{fill:#EE2C65}.fill-brand-mhf-turquoise{fill:#62CFC9}.fill-brand-grey{fill:#CBC8C8}.fill-white{fill:#FFFFFF}.fill-black{fill:#000000}.fill-grey-extra-light{fill:#D7D7D7}.fill-grey-light{fill:#E8E8E8}.fill-grey-medium{fill:#8A8A8A}.fill-grey-dark{fill:#4A4A4A}.fill-philco-orange{fill:#f18a00}.fill-philco-gray-90{fill:#1d1d1B}.fill-philco-gray-70{fill:#7D7D7D}.fill-philco-white{fill:#FFFFFF}.fill-philco-success-green{fill:#1Ec691}.fill-philco-error-coral{fill:#F54242}.fill-philco-gray-30{fill:#BBBBBB}.fill-philco-gray-20{fill:#F6F6F6}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}.text-colour-hover-primary:hover,.text-colour-primary{color:#2C089B}.text-colour-hover-secondary:hover,.text-colour-secondary{color:#2AF135}.text-colour-hover-tertiary:hover,.text-colour-tertiary{color:#FF7272}.text-colour-hover-brand-cc-red:hover,.text-colour-brand-cc-red{color:#B30510}.text-colour-hover-brand-wgmf-purple:hover,.text-colour-brand-wgmf-purple{color:#6E0887}.text-colour-hover-brand-gmf-green:hover,.text-colour-brand-gmf-green{color:#50B400}.text-colour-hover-brand-er-green:hover,.text-colour-brand-er-green{color:#50B400}.text-colour-hover-brand-er-dark-green:hover,.text-colour-brand-er-dark-green{color:#002413}.text-colour-hover-brand-er-dark-blue:hover,.text-colour-brand-er-dark-blue{color:#0c0068}.text-colour-hover-brand-er-teal:hover,.text-colour-brand-er-teal{color:#00a76d}.text-colour-hover-brand-emf-yellow:hover,.text-colour-brand-emf-yellow{color:#FFE500}.text-colour-hover-brand-c4c-orange:hover,.text-colour-brand-c4c-orange{color:#F07D00}.text-colour-hover-brand-afa-pink:hover,.text-colour-brand-afa-pink{color:#BF387D}.text-colour-hover-brand-scw-magenta:hover,.text-colour-brand-scw-magenta{color:#EE2C65}.text-colour-hover-brand-mhf-turquoise:hover,.text-colour-brand-mhf-turquoise{color:#62CFC9}.text-colour-hover-brand-grey:hover,.text-colour-brand-grey{color:#CBC8C8}.text-colour-hover-white:hover,.text-colour-white{color:#FFFFFF}.text-colour-hover-black:hover,.text-colour-black{color:#000000}.text-colour-hover-grey-extra-light:hover,.text-colour-grey-extra-light{color:#D7D7D7}.text-colour-hover-grey-light:hover,.text-colour-grey-light{color:#E8E8E8}.text-colour-hover-grey-medium:hover,.text-colour-grey-medium{color:#8A8A8A}.text-colour-hover-grey-dark:hover,.text-colour-grey-dark{color:#4A4A4A}.text-colour-hover-philco-orange:hover,.text-colour-philco-orange{color:#f18a00}.text-colour-hover-philco-gray-90:hover,.text-colour-philco-gray-90{color:#1d1d1B}.text-colour-hover-philco-gray-70:hover,.text-colour-philco-gray-70{color:#7D7D7D}.text-colour-hover-philco-white:hover,.text-colour-philco-white{color:#FFFFFF}.text-colour-hover-philco-success-green:hover,.text-colour-philco-success-green{color:#1Ec691}.text-colour-hover-philco-error-coral:hover,.text-colour-philco-error-coral{color:#F54242}.text-colour-hover-philco-gray-30:hover,.text-colour-philco-gray-30{color:#BBBBBB}.text-colour-hover-philco-gray-20:hover,.text-colour-philco-gray-20{color:#F6F6F6}:host{display:contents}h2:first-child{margin-top:0}div.cooke-consent-container{font-family:"Euclid Triangle", sans-serif;font-size:17px;line-height:24px;font-size:13px;line-height:17px;border-radius:10px;background:white;border:1px solid black;max-width:650px;padding:1em}div.button-group{margin-top:1em;display:flex;justify-content:space-evenly;width:100%;flex-direction:column;gap:1em}@media screen and (min-width: 475px){div.button-group{flex-direction:row-reverse}}biggive-popup{font-size:17px;line-height:24px}biggive-popup div.content{max-height:95vh;overflow:auto}biggive-popup div.content h5{border-bottom:2px solid black;max-width:25em;margin-bottom:5px}biggive-popup div.content p{margin-top:5px;margin-bottom:8px}biggive-popup div.content div.radio-group{margin-bottom:30px}'}},[1,"biggive-cookie-banner",{autoOpenPreferences:[4,"auto-open-preferences"],blogUriPrefix:[1,"blog-uri-prefix"],previouslyAgreedCookiePreferences:[16]},void 0,{autoOpenPreferences:[{autoOpenPreferencesIfRequested:0}]}]),i=n,d=function(){"undefined"!=typeof customElements&&["biggive-cookie-banner","biggive-button","biggive-popup"].forEach((e=>{switch(e){case"biggive-cookie-banner":customElements.get(c(e))||customElements.define(c(e),n);break;case"biggive-button":customElements.get(c(e))||l();break;case"biggive-popup":customElements.get(c(e))||t()}}))};export{i as BiggiveCookieBanner,d as defineCustomElement}
|
|
1
|
+
import{proxyCustomElement as e,HTMLElement as o,createEvent as r,h as c,transformTag as a}from"@stencil/core/internal/client";import{d as l}from"./biggive-button2.js";import{d as t}from"./biggive-popup2.js";const n=e(class extends o{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.preferenceModalClosed=r(this,"preferenceModalClosed",7),this.cookieBannerAcceptAllSelected=r(this,"cookieBannerAcceptAllSelected",7),this.cookieBannerSavePreferencesSelected=r(this,"cookieBannerSavePreferencesSelected",7),this.autoOpenPreferences=!1,this.previouslyAgreedCookiePreferences=void 0,this.handleChoosePrefencesClick=()=>{var e;const o=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.getElementById("cookie-preferences-popup");null==o||o.openFromOutside()},this.handleAcceptSelectedCookies=()=>{var e,o,r;const c=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.getElementById("cookie-preferences-popup");null==c||c.closeFromOutside();const a=null===(o=this.el.shadowRoot)||void 0===o?void 0:o.getElementById("a-and-t-on"),l=null===(r=this.el.shadowRoot)||void 0===r?void 0:r.getElementById("third-party-on");this.cookieBannerSavePreferencesSelected.emit({analyticsAndTesting:a.checked,thirdParty:l.checked}),null==c||c.closeFromOutside()},this.handleRejectAllClicked=()=>{var e;this.cookieBannerSavePreferencesSelected.emit({analyticsAndTesting:!1,thirdParty:!1});const o=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.getElementById("cookie-preferences-popup");null==o||o.closeFromOutside()},this.handleAcceptAllClick=()=>{this.cookieBannerAcceptAllSelected.emit()}}componentDidLoad(){this.autoOpenPreferencesIfRequested()}autoOpenPreferencesIfRequested(){this.autoOpenPreferences&&this.handleChoosePrefencesClick()}render(){const e=this.previouslyAgreedCookiePreferences||{};return c("div",{key:"2ee762a4640a2e1ff255f9180678cf4dbfd2a598",class:"cooke-consent-container"},c("biggive-popup",{key:"9d39b792cfd48459a51e16a17c212f7aa96cdb35",id:"cookie-preferences-popup",modalClosedCallback:this.preferenceModalClosed.emit},c("div",{key:"6c486081f247c2f9c4dff5b8e3c177e43da36261",class:"content"},c("h4",{key:"547ae87c1d361e0161be3aa6315faac3fb44e6db",class:"space-above-0 space-below-3 text-colour-primary"},"Manage your cookie preferences"),c("form",{key:"ab5a6534d73331e4a5018777cdb8c7cc3b2b149f"},c("div",{key:"027ebb76da24705c89dd0e7af9efc9422df248d5",class:"radio-group"},c("h5",{key:"1c62fe21a32c3bdc848926e724ec40d6576115a3"},"Essential Cookies"),c("p",{key:"98f449597690871d767eac1c1b27a39c4ff18e25"},"These cookies are necessary to ensure our website functions correctly and include required cookies from third parties."),c("input",{key:"4b2052c2f6f27906c81abfbbe865838254dc6051",type:"radio",name:"necassary",id:"necassary-off",disabled:!0}),c("label",{key:"f6ab1b8625211d554247ef4c0cf5d9f799b2515c",htmlFor:"necassary-on"},"Off"),c("input",{key:"272f94637c70e08713e571e7f3b17a1b41146852",type:"radio",name:"necassary",id:"necassary-on",disabled:!0,checked:!0}),c("label",{key:"3e68f999e48edf31e32e1f130650df9a22e7e787",htmlFor:"necassary-on"},"On")),c("div",{key:"3b362a4ce9e7554459548e9cee7ee8ce872bb004",class:"radio-group"},c("h5",{key:"9b8eac4ea8b6af098173981e6025c05bc899e709"},"Analytics & Testing Cookies"),c("p",{key:"000d21c0e10f879a35ac5557e9484c42bfdae312"},"We use analytics cookies to track activity on our website. For example, the pages you’ve visited, the content you’ve engaged with and the search terms you’ve used. This allows us to personalise and improve our content."),c("p",{key:"675349e29fad1b3de7d2fdafcedeee10feb125b6"},"We use testing cookies to collect data on how you interact with website features. These insights allow us to update our website and build features that enhance your user experience."),c("input",{key:"0e6d334945abcc1a141d961393d1524c6770de0c",type:"radio",name:"a-and-t",id:"a-and-t-off",checked:!e.analyticsAndTesting}),c("label",{key:"a723fd69b03b9b90ced9520761201a171f792ddb",htmlFor:"a-and-t-off"},"Off"),c("input",{key:"ff4f269d26fc5844cd524c37fc0824ef1398d021",type:"radio",name:"a-and-t",id:"a-and-t-on",checked:!!e.analyticsAndTesting}),c("label",{key:"6ffc75bb6a62603d7a17ad15527f5ca332e7b132",htmlFor:"a-and-t-on"},"On")),c("div",{key:"d329c1108db6cb261d26d90a920eb1849b08f761",class:"radio-group"},c("h5",{key:"130a8ab018ce11ed335a06288267de9e200d7745"},"Third-party Cookies "),c("p",{key:"b8371a30da31cb25675a48af00817259e33b7512"},"These cookies are used to track activity, which can help to provide a better experience and improve functionality across various applications. For example, our donation experience survey."),c("input",{key:"68df1be21a7bd82efd2150b18e6c1ee9d808157e",type:"radio",name:"third-party",id:"third-party-off",checked:!e.thirdParty}),c("label",{key:"d3c37fc2aba4109dbdc17fe55cba69974cf846b4",htmlFor:"third-party-off"},"Off"),c("input",{key:"8be79cae8752cb1ceedb9afbd4ce2dd972c994ed",type:"radio",name:"third-party",id:"third-party-on",checked:!!e.thirdParty}),c("label",{key:"ee33fce47b0e79d2feee1bf62e36ec0e8d65bf18",htmlFor:"third-party-on"},"On")),c("biggive-button",{key:"06e52ca0afb5bf900a3cc91c3f5902eb7890cd1d","space-below":"0","space-above":"2","colour-scheme":"secondary","is-past-campaign":"false","is-future-campaign":"false",label:"Accept Selected Cookies","open-in-new-tab":"false","full-width":"false",size:"small",rounded:!1,centered:!1,"button-id":"accept-selected-button",onClick:this.handleAcceptSelectedCookies})),c("p",{key:"d99c4a4e8a86ca26fe87600ab9c3ece9ad373821"},"You can change the above settings for this browser at any time by clicking the privacy settings link in the footer of the page."))),c("h2",{key:"7a498a8dc55809054149d3011fc8a4b69576ef43"},"Our website uses cookies"),c("p",{key:"151ac7c14c937df38451e1dbae94a2d4c37a88ea"},"We use some essential cookies to make our website work. We'd also like to share data with our analytics platform and use analytics cookies to understand how you use the website and make improvements."),c("p",{key:"0439ea1fff021b9ecc68306004cf9c44e41a38a7"},c("a",{key:"414b4d79da2fe0b23a5a44cd622f3c13fc36d3ea",href:this.blogUriPrefix+"/privacy#cookies",target:"_blank"},"Find out more in our Cookies Statement")),c("div",{key:"831531018c437181a45e82472e5aef80ca021dab",class:"button-group"},c("biggive-button",{key:"49ca756f041fc1d8d6c1fca330d71ad8a1beb573",onClick:this.handleAcceptAllClick,"space-below":"0","colour-scheme":"secondary","is-past-campaign":"false","is-future-campaign":"false",label:"Accept All","open-in-new-tab":"false","full-width":"true",size:"medium",rounded:!1,centered:!1,"button-id":"accept-all-button"}),c("biggive-button",{key:"1698931eed62e2891486daa680c478be16f356ee",onClick:this.handleRejectAllClicked,"space-below":"0","colour-scheme":"grey-light","is-past-campaign":"false","is-future-campaign":"false",label:"Essential Cookies Only","open-in-new-tab":"false","full-width":"true",size:"medium",rounded:!1,centered:!1,"button-id":"choose-preferences-button"}),c("biggive-button",{key:"b3c22143d00da7f56fe532607c21493045d414d8",onClick:this.handleChoosePrefencesClick,"space-below":"0","colour-scheme":"grey-light","is-past-campaign":"false","is-future-campaign":"false",label:"Choose Preferences","open-in-new-tab":"false","full-width":"true",size:"medium",rounded:!1,centered:!1,"button-id":"choose-preferences-button"})))}get el(){return this}static get watchers(){return{autoOpenPreferences:[{autoOpenPreferencesIfRequested:0}]}}static get style(){return'a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.background-colour-hover-primary:hover,.background-colour-primary{background-color:#2C089B}.background-colour-hover-secondary:hover,.background-colour-secondary{background-color:#2AF135}.background-colour-hover-tertiary:hover,.background-colour-tertiary{background-color:#FF7272}.background-colour-hover-brand-cc-red:hover,.background-colour-brand-cc-red{background-color:#B30510}.background-colour-hover-brand-wgmf-purple:hover,.background-colour-brand-wgmf-purple{background-color:#6E0887}.background-colour-hover-brand-gmf-green:hover,.background-colour-brand-gmf-green{background-color:#50B400}.background-colour-hover-brand-er-green:hover,.background-colour-brand-er-green{background-color:#50B400}.background-colour-hover-brand-er-dark-green:hover,.background-colour-brand-er-dark-green{background-color:#002413}.background-colour-hover-brand-er-dark-blue:hover,.background-colour-brand-er-dark-blue{background-color:#0c0068}.background-colour-hover-brand-er-teal:hover,.background-colour-brand-er-teal{background-color:#00a76d}.background-colour-hover-brand-emf-yellow:hover,.background-colour-brand-emf-yellow{background-color:#FFE500}.background-colour-hover-brand-c4c-orange:hover,.background-colour-brand-c4c-orange{background-color:#F07D00}.background-colour-hover-brand-afa-pink:hover,.background-colour-brand-afa-pink{background-color:#BF387D}.background-colour-hover-brand-scw-magenta:hover,.background-colour-brand-scw-magenta{background-color:#EE2C65}.background-colour-hover-brand-mhf-turquoise:hover,.background-colour-brand-mhf-turquoise{background-color:#62CFC9}.background-colour-hover-brand-grey:hover,.background-colour-brand-grey{background-color:#CBC8C8}.background-colour-hover-white:hover,.background-colour-white{background-color:#FFFFFF}.background-colour-hover-black:hover,.background-colour-black{background-color:#000000}.background-colour-hover-grey-extra-light:hover,.background-colour-grey-extra-light{background-color:#D7D7D7}.background-colour-hover-grey-light:hover,.background-colour-grey-light{background-color:#E8E8E8}.background-colour-hover-grey-medium:hover,.background-colour-grey-medium{background-color:#8A8A8A}.background-colour-hover-grey-dark:hover,.background-colour-grey-dark{background-color:#4A4A4A}.background-colour-hover-philco-orange:hover,.background-colour-philco-orange{background-color:#f18a00}.background-colour-hover-philco-gray-90:hover,.background-colour-philco-gray-90{background-color:#1d1d1B}.background-colour-hover-philco-gray-70:hover,.background-colour-philco-gray-70{background-color:#7D7D7D}.background-colour-hover-philco-white:hover,.background-colour-philco-white{background-color:#FFFFFF}.background-colour-hover-philco-success-green:hover,.background-colour-philco-success-green{background-color:#1Ec691}.background-colour-hover-philco-error-coral:hover,.background-colour-philco-error-coral{background-color:#F54242}.background-colour-hover-philco-gray-30:hover,.background-colour-philco-gray-30{background-color:#BBBBBB}.background-colour-hover-philco-gray-20:hover,.background-colour-philco-gray-20{background-color:#F6F6F6}.fill-primary{fill:#2C089B}.fill-secondary{fill:#2AF135}.fill-tertiary{fill:#FF7272}.fill-brand-cc-red{fill:#B30510}.fill-brand-wgmf-purple{fill:#6E0887}.fill-brand-gmf-green{fill:#50B400}.fill-brand-er-green{fill:#50B400}.fill-brand-er-dark-green{fill:#002413}.fill-brand-er-dark-blue{fill:#0c0068}.fill-brand-er-teal{fill:#00a76d}.fill-brand-emf-yellow{fill:#FFE500}.fill-brand-c4c-orange{fill:#F07D00}.fill-brand-afa-pink{fill:#BF387D}.fill-brand-scw-magenta{fill:#EE2C65}.fill-brand-mhf-turquoise{fill:#62CFC9}.fill-brand-grey{fill:#CBC8C8}.fill-white{fill:#FFFFFF}.fill-black{fill:#000000}.fill-grey-extra-light{fill:#D7D7D7}.fill-grey-light{fill:#E8E8E8}.fill-grey-medium{fill:#8A8A8A}.fill-grey-dark{fill:#4A4A4A}.fill-philco-orange{fill:#f18a00}.fill-philco-gray-90{fill:#1d1d1B}.fill-philco-gray-70{fill:#7D7D7D}.fill-philco-white{fill:#FFFFFF}.fill-philco-success-green{fill:#1Ec691}.fill-philco-error-coral{fill:#F54242}.fill-philco-gray-30{fill:#BBBBBB}.fill-philco-gray-20{fill:#F6F6F6}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}.text-colour-hover-primary:hover,.text-colour-primary{color:#2C089B}.text-colour-hover-secondary:hover,.text-colour-secondary{color:#2AF135}.text-colour-hover-tertiary:hover,.text-colour-tertiary{color:#FF7272}.text-colour-hover-brand-cc-red:hover,.text-colour-brand-cc-red{color:#B30510}.text-colour-hover-brand-wgmf-purple:hover,.text-colour-brand-wgmf-purple{color:#6E0887}.text-colour-hover-brand-gmf-green:hover,.text-colour-brand-gmf-green{color:#50B400}.text-colour-hover-brand-er-green:hover,.text-colour-brand-er-green{color:#50B400}.text-colour-hover-brand-er-dark-green:hover,.text-colour-brand-er-dark-green{color:#002413}.text-colour-hover-brand-er-dark-blue:hover,.text-colour-brand-er-dark-blue{color:#0c0068}.text-colour-hover-brand-er-teal:hover,.text-colour-brand-er-teal{color:#00a76d}.text-colour-hover-brand-emf-yellow:hover,.text-colour-brand-emf-yellow{color:#FFE500}.text-colour-hover-brand-c4c-orange:hover,.text-colour-brand-c4c-orange{color:#F07D00}.text-colour-hover-brand-afa-pink:hover,.text-colour-brand-afa-pink{color:#BF387D}.text-colour-hover-brand-scw-magenta:hover,.text-colour-brand-scw-magenta{color:#EE2C65}.text-colour-hover-brand-mhf-turquoise:hover,.text-colour-brand-mhf-turquoise{color:#62CFC9}.text-colour-hover-brand-grey:hover,.text-colour-brand-grey{color:#CBC8C8}.text-colour-hover-white:hover,.text-colour-white{color:#FFFFFF}.text-colour-hover-black:hover,.text-colour-black{color:#000000}.text-colour-hover-grey-extra-light:hover,.text-colour-grey-extra-light{color:#D7D7D7}.text-colour-hover-grey-light:hover,.text-colour-grey-light{color:#E8E8E8}.text-colour-hover-grey-medium:hover,.text-colour-grey-medium{color:#8A8A8A}.text-colour-hover-grey-dark:hover,.text-colour-grey-dark{color:#4A4A4A}.text-colour-hover-philco-orange:hover,.text-colour-philco-orange{color:#f18a00}.text-colour-hover-philco-gray-90:hover,.text-colour-philco-gray-90{color:#1d1d1B}.text-colour-hover-philco-gray-70:hover,.text-colour-philco-gray-70{color:#7D7D7D}.text-colour-hover-philco-white:hover,.text-colour-philco-white{color:#FFFFFF}.text-colour-hover-philco-success-green:hover,.text-colour-philco-success-green{color:#1Ec691}.text-colour-hover-philco-error-coral:hover,.text-colour-philco-error-coral{color:#F54242}.text-colour-hover-philco-gray-30:hover,.text-colour-philco-gray-30{color:#BBBBBB}.text-colour-hover-philco-gray-20:hover,.text-colour-philco-gray-20{color:#F6F6F6}:host{display:contents}h2:first-child{margin-top:0}div.cooke-consent-container{font-family:"Euclid Triangle", sans-serif;font-size:17px;line-height:24px;font-size:13px;line-height:17px;border-radius:10px;background:white;border:1px solid black;max-width:650px;padding:1em}div.button-group{margin-top:1em;display:flex;justify-content:space-evenly;width:100%;flex-direction:column;gap:1em}@media screen and (min-width: 475px){div.button-group{flex-direction:row-reverse}}biggive-popup{font-size:17px;line-height:24px}biggive-popup div.content{max-height:95vh;overflow:auto}biggive-popup div.content h5{border-bottom:2px solid black;max-width:25em;margin-bottom:5px}biggive-popup div.content p{margin-top:5px;margin-bottom:8px}biggive-popup div.content div.radio-group{margin-bottom:30px}'}},[1,"biggive-cookie-banner",{autoOpenPreferences:[4,"auto-open-preferences"],blogUriPrefix:[1,"blog-uri-prefix"],previouslyAgreedCookiePreferences:[16]},void 0,{autoOpenPreferences:[{autoOpenPreferencesIfRequested:0}]}]),i=n,d=function(){"undefined"!=typeof customElements&&["biggive-cookie-banner","biggive-button","biggive-popup"].forEach((e=>{switch(e){case"biggive-cookie-banner":customElements.get(a(e))||customElements.define(a(e),n);break;case"biggive-button":customElements.get(a(e))||l();break;case"biggive-popup":customElements.get(a(e))||t()}}))};export{i as BiggiveCookieBanner,d as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as e,HTMLElement as o,h as t,transformTag as i}from"@stencil/core/internal/client";const l=e(class extends o{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.selectStyle="bordered",this.selectedOptionColour="blue",this.doOptionSelectCompletedHandler=e=>{const o=e.target.value;this.selectedValue=o,this.selectedLabel=e.target.label,this.selectionChanged(o)},this.spaceBelow=0}render(){const e="grey"===this.backgroundColour?" grey":"";let o=this.formatOptions(this.options);"string"==typeof this.placeholder&&"string"!=typeof this.selectedValue&&(o=[{value:"__placeholder__",label:this.placeholder},...o]),void 0===o&&(console.error("options undefined"),o=[]);const i=this.selectElementId||"select-"+this.getRandomInt().toString();return t("div",{key:"
|
|
1
|
+
import{proxyCustomElement as e,HTMLElement as o,h as t,transformTag as i}from"@stencil/core/internal/client";const l=e(class extends o{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.selectStyle="bordered",this.selectedOptionColour="blue",this.doOptionSelectCompletedHandler=e=>{const o=e.target.value;this.selectedValue=o,this.selectedLabel=e.target.label,this.selectionChanged(o)},this.spaceBelow=0}render(){const e="grey"===this.backgroundColour?" grey":"";let o=this.formatOptions(this.options);"string"==typeof this.placeholder&&"string"!=typeof this.selectedValue&&(o=[{value:"__placeholder__",label:this.placeholder},...o]),void 0===o&&(console.error("options undefined"),o=[]);const i=this.selectElementId||"select-"+this.getRandomInt().toString();return t("div",{key:"a62c4b4e0b8536d2e9239235af60e3d6ff4e813a",class:"selectWrapper"},t("label",{key:"15dde1c309b0aa5dee99849a00b3591180f3fe3e",class:e,htmlFor:i},t("div",{key:"7f11a1824d7d203f0e54740b1010652eed36a322",class:"prompt"+e},this.prompt)),t("div",{key:"af756e205276e7df9088cd2f6fb21f4b76cd5685",class:"dropdown space-below-"+this.spaceBelow+" select-style-"+this.selectStyle+(null===this.prompt?" noprompt":"")+("inherit"===this.selectedOptionColour?" inherit-colour":"")},t("div",{key:"be6b268cffd0db3a7ddf7b4b888425c380ca2cfa",class:"sleeve"},t("select",{key:"16118fe97259667c485fc099bdfc632ebe9f46b4",id:i,class:e,onChange:this.doOptionSelectCompletedHandler,"aria-label":null===this.prompt?this.placeholder:this.prompt},o.map((e=>t("option",{selected:this.selectedValue===e.value,value:e.value},e.label)))),t("div",{key:"0df87df7ebf208706906c961ec7c0b2899eb3382",class:"arrow"}))))}formatOptions(e){return void 0===e?[]:("string"==typeof e&&(e=JSON.parse(e)),Array.isArray(e)?e:Object.entries(e).map((e=>({value:e[0],label:e[1]}))))}getRandomInt(){return Math.floor(8999999*Math.random()+1e6)}get el(){return this}static get style(){return'a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}:host{display:contents}*,*::before,*::after{box-sizing:border-box}select{appearance:none;border:none;padding:0 1em 0 0;margin:0;width:100%;font-family:inherit;font-size:inherit;cursor:inherit;line-height:inherit;outline:none;display:grid;background-color:#FFFFFF;align-items:center}select.grey{background-color:#F6F6F6}.selectWrapper{position:relative}.prompt{position:absolute;z-index:2;font-size:small;top:-1em;background-color:#FFFFFF;left:4em;padding-left:1em;padding-right:1em;color:#2C089B}.prompt.grey{background-color:#F6F6F6}.dropdown{font-family:"Euclid Triangle", sans-serif;font-size:17px;line-height:24px;position:relative;text-align:left}.dropdown.select-style-bordered .sleeve{font-size:17px;line-height:24px;padding:2px;position:relative;background-color:#2C089B;clip-path:polygon(0% 0%, 0% 0%, calc(100% - 15px) 0%, 100% 15px, 100% 100%, 100% 100%, 0 100%, 0 100%)}.dropdown.select-style-bordered .sleeve select{color:#2C089B;display:block;position:relative;padding:10px 80px 10px 10px;clip-path:polygon(0% 0%, 0% 0%, calc(100% - 14px) 0%, 100% 14px, 100% 100%, 100% 100%, 0 100%, 0 100%)}.dropdown.select-style-bordered .sleeve select span.placeholder.grey{background-color:#F6F6F6}.dropdown.select-style-bordered .sleeve div.arrow{position:absolute;right:20px;top:18px;width:10px;height:10px;background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOSIgaGVpZ2h0PSI3IiB2aWV3Qm94PSIwIDAgOSA3IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNNS4yMzcxNiA2LjYyNDkzQzQuOTAzMjMgNy4xMjUwMiA0LjA5NyA3LjEyNTAyIDMuNzYzMDggNi42MjQ5M0wwLjEyMzg2OCAxLjE3MDYzQy0wLjIxOTk0IDAuNjU1NDU5IDAuMTkyNjMgMS44MzcxZS0wNyAwLjg2MDkwOCAyLjQyMTMyZS0wN0w4LjEzOTMzIDguNzg0MzJlLTA3QzguODA3MTggOS4zNjgxN2UtMDcgOS4yMTk3NSAwLjY1NTQ1OSA4Ljg3NjM3IDEuMTcwNjNMNS4yMzcxNiA2LjYyNDkzWiIgZmlsbD0iIzJDMDg5QiIvPgo8L3N2Zz4K");background-size:contain;background-repeat:no-repeat;background-position:center center;z-index:1;pointer-events:none}.dropdown.select-style-bordered .sleeve:focus-within{background-color:#2AF135}.dropdown.select-style-underlined .sleeve{font-size:17px;line-height:24px;padding:1px;position:relative;border-bottom:1px solid #2C089B}.dropdown.select-style-underlined .sleeve select{color:#2C089B;display:block;position:relative;padding:10px 80px 10px 10px}.dropdown.select-style-underlined .sleeve div.arrow{position:absolute;right:20px;top:18px;width:10px;height:10px;background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOSIgaGVpZ2h0PSI3IiB2aWV3Qm94PSIwIDAgOSA3IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNNS4yMzcxNiA2LjYyNDkzQzQuOTAzMjMgNy4xMjUwMiA0LjA5NyA3LjEyNTAyIDMuNzYzMDggNi42MjQ5M0wwLjEyMzg2OCAxLjE3MDYzQy0wLjIxOTk0IDAuNjU1NDU5IDAuMTkyNjMgMS44MzcxZS0wNyAwLjg2MDkwOCAyLjQyMTMyZS0wN0w4LjEzOTMzIDguNzg0MzJlLTA3QzguODA3MTggOS4zNjgxN2UtMDcgOS4yMTk3NSAwLjY1NTQ1OSA4Ljg3NjM3IDEuMTcwNjNMNS4yMzcxNiA2LjYyNDkzWiIgZmlsbD0iIzJDMDg5QiIvPgo8L3N2Zz4K");background-size:contain;background-repeat:no-repeat;background-position:center center;z-index:1;pointer-events:none}.dropdown.inherit-colour select{color:inherit !important}.dropdown select{max-height:200px;overflow-x:hidden;overflow-y:scroll;width:100%;z-index:1;left:0;right:0}.dropdown.active .options{display:block}.dropdown.noprompt{margin-top:0}.options.grey{background-color:#F6F6F6}'}},[1,"biggive-form-field-select",{selectionChanged:[16],prompt:[1],selectedValue:[1025,"selected-value"],selectedLabel:[1025,"selected-label"],options:[1],selectStyle:[1,"select-style"],backgroundColour:[1,"background-colour"],selectedOptionColour:[1,"selected-option-colour"],selectElementId:[1,"select-element-id"],spaceBelow:[2,"space-below"],placeholder:[1]}]);function r(){"undefined"!=typeof customElements&&["biggive-form-field-select"].forEach((e=>{"biggive-form-field-select"===e&&(customElements.get(i(e))||customElements.define(i(e),l))}))}export{l as B,r as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as e,HTMLElement as t,h as s,Host as
|
|
1
|
+
import{proxyCustomElement as e,HTMLElement as t,h as s,Host as o,transformTag as c}from"@stencil/core/internal/client";const f=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return s(o,{key:"f53ec3f41574f2e6f83dcfdff9a8e6435be502d3"},s("slot",{key:"5e8fd949fe122a3bd20ace57a28fa7e9b2113c7b"}))}static get style(){return":host{display:block}"}},[257,"biggive-form"]),n=f,r=function(){"undefined"!=typeof customElements&&["biggive-form"].forEach((e=>{"biggive-form"===e&&(customElements.get(c(e))||customElements.define(c(e),f))}))};export{n as BiggiveForm,r as defineCustomElement}
|