@biggive/components 202303171148.0.0 → 202303171305.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-c605d951.entry.js +1 -0
- package/dist/cjs/biggive-accordion_35.cjs.entry.js +18 -3
- package/dist/cjs/biggive.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/biggive-main-menu/biggive-main-menu.js +36 -3
- package/dist/components/biggive-main-menu.js +27 -5
- package/dist/components/biggive-social-icon.js +1 -43
- package/dist/components/biggive-social-icon2.js +45 -0
- package/dist/esm/biggive-accordion_35.entry.js +18 -3
- package/dist/esm/biggive.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/biggive-main-menu/biggive-main-menu.d.ts +6 -0
- package/dist/types/components.d.ts +8 -0
- package/hydrate/index.js +19 -3
- package/package.json +1 -1
- package/dist/biggive/p-2d024615.entry.js +0 -1
package/dist/cjs/biggive.cjs.js
CHANGED
|
@@ -15,5 +15,5 @@ const patchBrowser = () => {
|
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
patchBrowser().then(options => {
|
|
18
|
-
return index.bootstrapLazy(JSON.parse("[[\"biggive-accordion_35.cjs\",[[1,\"biggive-campaign-card-filter-grid\",{\"spaceBelow\":[2,\"space-below\"],\"intro\":[1],\"searchText\":[1,\"search-text\"],\"placeholderText\":[1,\"placeholder-text\"],\"buttonText\":[1,\"button-text\"],\"categoryOptions\":[1,\"category-options\"],\"beneficiaryOptions\":[1,\"beneficiary-options\"],\"locationOptions\":[1,\"location-options\"],\"fundingOptions\":[1,\"funding-options\"],\"selectedSortByOption\":[1,\"selected-sort-by-option\"],\"selectedFilterCategory\":[1,\"selected-filter-category\"],\"selectedFilterBeneficiary\":[1,\"selected-filter-beneficiary\"],\"selectedFilterLocation\":[1,\"selected-filter-location\"],\"selectedFilterFunding\":[1,\"selected-filter-funding\"],\"filtersApplied\":[32]},[[0,\"doSelectChange\",\"doOptionSelectCompletedHandler\"]]],[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]}],[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\"]}],[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\"]}],[1,\"biggive-footer\",{\"headingLevel\":[2,\"heading-level\"]}],[1,\"biggive-hero-image\",{\"spaceBelow\":[2,\"space-below\"],\"colourScheme\":[1,\"colour-scheme\"],\"slug\":[1],\"slugColour\":[1,\"slug-colour\"],\"logo\":[1],\"logoHeight\":[2,\"logo-height\"],\"logoAltText\":[1,\"logo-alt-text\"],\"mainImage\":[1,\"main-image\"],\"mainImageAlignHorizontal\":[1,\"main-image-align-horizontal\"],\"mainImageAlignVertical\":[1,\"main-image-align-vertical\"],\"mainTitle\":[1,\"main-title\"],\"mainTitleColour\":[1,\"main-title-colour\"],\"teaser\":[1],\"teaserColour\":[1,\"teaser-colour\"],\"buttonUrl\":[1,\"button-url\"],\"buttonLabel\":[1,\"button-label\"],\"buttonColourScheme\":[1,\"button-colour-scheme\"]}],[1,\"biggive-image-feature\",{\"spaceBelow\":[2,\"space-below\"],\"defaultTextColour\":[1,\"default-text-colour\"],\"imageUrl\":[1,\"image-url\"],\"imageAltText\":[1,\"image-alt-text\"],\"slug\":[1],\"slugColour\":[1,\"slug-colour\"],\"mainTitle\":[1,\"main-title\"],\"mainTitleColour\":[1,\"main-title-colour\"],\"teaser\":[1],\"teaserColour\":[1,\"teaser-colour\"],\"buttonUrl\":[1,\"button-url\"],\"buttonLabel\":[1,\"button-label\"],\"buttonColourScheme\":[1,\"button-colour-scheme\"]}],[1,\"biggive-main-menu\",{\"logoUrl\":[1,\"logo-url\"],\"closeMobileMenuFromOutside\":[64]}],[1,\"biggive-video-feature\",{\"spaceAbove\":[2,\"space-above\"],\"spaceBelow\":[2,\"space-below\"],\"defaultTextColour\":[1,\"default-text-colour\"],\"videoUrl\":[1,\"video-url\"],\"slug\":[1],\"slugColour\":[1,\"slug-colour\"],\"mainTitle\":[1,\"main-title\"],\"mainTitleColour\":[1,\"main-title-colour\"],\"teaser\":[1],\"teaserColour\":[1,\"teaser-colour\"],\"buttonUrl\":[1,\"button-url\"],\"buttonLabel\":[1,\"button-label\"],\"buttonColourScheme\":[1,\"button-colour-scheme\"]}],[1,\"biggive-accordion\",{\"spaceBelow\":[2,\"space-below\"],\"textColour\":[1,\"text-colour\"],\"headingColour\":[1,\"heading-colour\"]}],[1,\"biggive-accordion-entry\",{\"heading\":[1]}],[1,\"biggive-back-to-top\"],[1,\"biggive-branded-image\",{\"spaceBelow\":[2,\"space-below\"],\"imageUrl\":[1,\"image-url\"],\"logoUrl\":[1,\"logo-url\"],\"slug\":[1],\"charityName\":[1,\"charity-name\"],\"charityLocation\":[1,\"charity-location\"],\"charityUrl\":[1,\"charity-url\"]}],[1,\"biggive-carousel\",{\"spaceBelow\":[2,\"space-below\"],\"columnCount\":[2,\"column-count\"],\"buttonBackgroundColour\":[1,\"button-background-colour\"],\"buttonIconColour\":[1,\"button-icon-colour\"]}],[1,\"biggive-grid\",{\"spaceBelow\":[2,\"space-below\"],\"columnCount\":[2,\"column-count\"],\"spaceBetween\":[4,\"space-between\"]}],[1,\"biggive-heading\",{\"spaceAbove\":[2,\"space-above\"],\"spaceBelow\":[2,\"space-below\"],\"colour\":[1],\"htmlElement\":[1,\"html-element\"],\"size\":[2],\"align\":[1],\"text\":[1],\"icon\":[4],\"iconColour\":[1,\"icon-colour\"]}],[1,\"biggive-image\",{\"spaceAbove\":[2,\"space-above\"],\"spaceBelow\":[2,\"space-below\"],\"imageUrl\":[1,\"image-url\"],\"imageAltText\":[1,\"image-alt-text\"],\"width\":[2],\"height\":[2],\"sizeUnit\":[1,\"size-unit\"]}],[1,\"biggive-page-column\"],[1,\"biggive-page-columns\",{\"spaceBelow\":[2,\"space-below\"]}],[1,\"biggive-page-section\",{\"spaceBelow\":[2,\"space-below\"],\"sectionStyleTop\":[1,\"section-style-top\"],\"sectionStyleBottom\":[1,\"section-style-bottom\"],\"colourScheme\":[1,\"colour-scheme\"],\"maxWidth\":[2,\"max-width\"],\"primaryFullBleed\":[4,\"primary-full-bleed\"]}],[1,\"biggive-quote\",{\"spaceBelow\":[2,\"space-below\"],\"defaultTextColour\":[1,\"default-text-colour\"],\"quote\":[1],\"attribution\":[1],\"quoteIconColour\":[1,\"quote-icon-colour\"]}],[0,\"biggive-social-icon\",{\"service\":[1],\"backgroundColour\":[1,\"background-colour\"],\"iconColour\":[1,\"icon-colour\"],\"wide\":[4],\"url\":[1]}],[1,\"biggive-tab\",{\"tabTitle\":[1,\"tab-title\"]}],[1,\"biggive-tabbed-content\",{\"spaceBelow\":[2,\"space-below\"],\"textColour\":[1,\"text-colour\"],\"selectedTextColour\":[1,\"selected-text-colour\"],\"navigationHighlightColour\":[1,\"navigation-highlight-colour\"],\"selectedNavigationHighlightColour\":[1,\"selected-navigation-highlight-colour\"],\"buttonBackgroundColour\":[1,\"button-background-colour\"],\"buttonIconColour\":[1,\"button-icon-colour\"]}],[1,\"biggive-timeline\",{\"spaceBelow\":[2,\"space-below\"],\"textColour\":[1,\"text-colour\"],\"selectedTextColour\":[1,\"selected-text-colour\"],\"navigationHighlightColour\":[1,\"navigation-highlight-colour\"],\"selectedNavigationHighlightColour\":[1,\"selected-navigation-highlight-colour\"],\"buttonBackgroundColour\":[1,\"button-background-colour\"],\"buttonIconColour\":[1,\"button-icon-colour\"],\"entryBackgroundColour\":[1,\"entry-background-colour\"],\"entryHighlightColour\":[1,\"entry-highlight-colour\"],\"entryDateColour\":[1,\"entry-date-colour\"],\"entryTitleColour\":[1,\"entry-title-colour\"],\"entryTextColour\":[1,\"entry-text-colour\"]}],[1,\"biggive-timeline-entry\",{\"date\":[1],\"heading\":[1]}],[1,\"biggive-tipping-slider\",{\"spaceBelow\":[2,\"space-below\"],\"colourScheme\":[1,\"colour-scheme\"],\"percentageStart\":[2,\"percentage-start\"],\"percentageEnd\":[2,\"percentage-end\"],\"donationAmount\":[2,\"donation-amount\"],\"donationCurrency\":[1,\"donation-currency\"]}],[1,\"biggive-totalizer\",{\"spaceBelow\":[2,\"space-below\"],\"primaryColour\":[1,\"primary-colour\"],\"primaryTextColour\":[1,\"primary-text-colour\"],\"secondaryColour\":[1,\"secondary-colour\"],\"secondaryTextColour\":[1,\"secondary-text-colour\"],\"mainMessage\":[1,\"main-message\"]}],[1,\"biggive-totalizer-ticker-item\",{\"figure\":[1],\"label\":[1]}],[1,\"biggive-form-field-select\",{\"selectedValue\":[1,\"selected-value\"],\"selectedLabel\":[1,\"selected-label\"],\"spaceBelow\":[2,\"space-below\"],\"placeholder\":[1]},[[0,\"doOptionSelect\",\"doOptionSelectCompletedHandler\"]]],[1,\"biggive-form-field-select-option\",{\"label\":[1],\"value\":[1],\"selectedValue\":[32],\"selectedLabel\":[32]}],[1,\"biggive-popup\",{\"openFromOutside\":[64],\"closeFromOutside\":[64]}],[1,\"biggive-progress-bar\",{\"spaceBelow\":[2,\"space-below\"],\"colourScheme\":[1,\"colour-scheme\"],\"counter\":[2]}],[0,\"biggive-misc-icon\",{\"backgroundColour\":[1,\"background-colour\"],\"iconColour\":[1,\"icon-colour\"],\"icon\":[1],\"url\":[1]}],[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\"]}]]],[\"biggive-article-card.cjs\",[[1,\"biggive-article-card\",{\"spaceBelow\":[2,\"space-below\"],\"backgroundColour\":[1,\"background-colour\"],\"backgroundColourHover\":[1,\"background-colour-hover\"],\"textColour\":[1,\"text-colour\"],\"slug\":[1],\"date\":[1],\"mainTitle\":[1,\"main-title\"],\"imageUrl\":[1,\"image-url\"],\"imageAltText\":[1,\"image-alt-text\"],\"imageLabel\":[1,\"image-label\"],\"buttonLabel\":[1,\"button-label\"],\"buttonUrl\":[1,\"button-url\"]}]]],[\"biggive-basic-card.cjs\",[[1,\"biggive-basic-card\",{\"spaceBelow\":[2,\"space-below\"],\"backgroundColour\":[1,\"background-colour\"],\"backgroundImageUrl\":[1,\"background-image-url\"],\"cardColour\":[1,\"card-colour\"],\"textColour\":[1,\"text-colour\"],\"mainTitle\":[1,\"main-title\"],\"subtitle\":[1],\"teaser\":[1],\"icon\":[4],\"iconColour\":[1,\"icon-colour\"],\"buttonLabel\":[1,\"button-label\"],\"buttonUrl\":[1,\"button-url\"],\"buttonColourScheme\":[1,\"button-colour-scheme\"],\"clipBottomLeftCorner\":[4,\"clip-bottom-left-corner\"],\"clipTopRightCorner\":[4,\"clip-top-right-corner\"],\"headingLevel\":[2,\"heading-level\"],\"addAnimation\":[4,\"add-animation\"]}]]],[\"biggive-search.cjs\",[[1,\"biggive-search\",{\"searchText\":[1,\"search-text\"],\"placeholderText\":[1,\"placeholder-text\"],\"buttonText\":[1,\"button-text\"]}]]],[\"biggive-beneficiary-icon.cjs\",[[0,\"biggive-beneficiary-icon\",{\"backgroundColour\":[1,\"background-colour\"],\"iconColour\":[1,\"icon-colour\"],\"icon\":[1],\"label\":[1],\"url\":[1]}]]],[\"biggive-biography-card.cjs\",[[1,\"biggive-biography-card\",{\"spaceBelow\":[2,\"space-below\"],\"imageUrl\":[1,\"image-url\"],\"fullName\":[1,\"full-name\"],\"jobTitle\":[1,\"job-title\"]}]]],[\"biggive-boxed-content.cjs\",[[1,\"biggive-boxed-content\",{\"spaceBelow\":[2,\"space-below\"],\"verticalPadding\":[2,\"vertical-padding\"],\"horizontalPadding\":[2,\"horizontal-padding\"],\"backgroundColour\":[1,\"background-colour\"],\"shadow\":[4]}]]],[\"biggive-category-icon.cjs\",[[0,\"biggive-category-icon\",{\"backgroundColour\":[1,\"background-colour\"],\"iconColour\":[1,\"icon-colour\"],\"icon\":[1],\"label\":[1],\"url\":[1]}]]],[\"biggive-form.cjs\",[[1,\"biggive-form\"]]],[\"biggive-formatted-text.cjs\",[[1,\"biggive-formatted-text\",{\"spaceBelow\":[2,\"space-below\"],\"defaultTextColour\":[1,\"default-text-colour\"],\"maxWidth\":[2,\"max-width\"]}]]],[\"biggive-header.cjs\",[[1,\"biggive-header\",{\"spaceBelow\":[2,\"space-below\"],\"logoUrl\":[1,\"logo-url\"],\"closeMenuFromOutside\":[64]}]]],[\"biggive-icon-group.cjs\",[[1,\"biggive-icon-group\",{\"spaceBelow\":[2,\"space-below\"],\"label\":[1]}]]],[\"biggive-nav-group.cjs\",[[1,\"biggive-nav-group\",{\"inline\":[4]}]]],[\"biggive-nav-item.cjs\",[[1,\"biggive-nav-item\",{\"url\":[1],\"label\":[1],\"iconColour\":[1,\"icon-colour\"]}]]],[\"biggive-popup-standalone.cjs\",[[1,\"biggive-popup-standalone\"]]],[\"biggive-table.cjs\",[[4,\"biggive-table\",{\"spaceBelow\":[2,\"space-below\"],\"headerTextColour\":[1,\"header-text-colour\"],\"headerBackgroundColour\":[1,\"header-background-colour\"],\"bodyTextColour\":[1,\"body-text-colour\"],\"bodyBackgroundColour\":[1,\"body-background-colour\"]}]]],[\"biggive-text-input.cjs\",[[1,\"biggive-text-input\"]]],[\"biggive-video.cjs\",[[1,\"biggive-video\",{\"spaceAbove\":[2,\"space-above\"],\"spaceBelow\":[2,\"space-below\"],\"videoUrl\":[1,\"video-url\"]}]]]]"), options);
|
|
18
|
+
return index.bootstrapLazy(JSON.parse("[[\"biggive-accordion_35.cjs\",[[1,\"biggive-campaign-card-filter-grid\",{\"spaceBelow\":[2,\"space-below\"],\"intro\":[1],\"searchText\":[1,\"search-text\"],\"placeholderText\":[1,\"placeholder-text\"],\"buttonText\":[1,\"button-text\"],\"categoryOptions\":[1,\"category-options\"],\"beneficiaryOptions\":[1,\"beneficiary-options\"],\"locationOptions\":[1,\"location-options\"],\"fundingOptions\":[1,\"funding-options\"],\"selectedSortByOption\":[1,\"selected-sort-by-option\"],\"selectedFilterCategory\":[1,\"selected-filter-category\"],\"selectedFilterBeneficiary\":[1,\"selected-filter-beneficiary\"],\"selectedFilterLocation\":[1,\"selected-filter-location\"],\"selectedFilterFunding\":[1,\"selected-filter-funding\"],\"filtersApplied\":[32]},[[0,\"doSelectChange\",\"doOptionSelectCompletedHandler\"]]],[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]}],[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\"]}],[1,\"biggive-main-menu\",{\"logoUrl\":[1,\"logo-url\"],\"usePresetMenuContent\":[4,\"use-preset-menu-content\"],\"closeMobileMenuFromOutside\":[64]}],[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\"]}],[1,\"biggive-footer\",{\"headingLevel\":[2,\"heading-level\"]}],[1,\"biggive-hero-image\",{\"spaceBelow\":[2,\"space-below\"],\"colourScheme\":[1,\"colour-scheme\"],\"slug\":[1],\"slugColour\":[1,\"slug-colour\"],\"logo\":[1],\"logoHeight\":[2,\"logo-height\"],\"logoAltText\":[1,\"logo-alt-text\"],\"mainImage\":[1,\"main-image\"],\"mainImageAlignHorizontal\":[1,\"main-image-align-horizontal\"],\"mainImageAlignVertical\":[1,\"main-image-align-vertical\"],\"mainTitle\":[1,\"main-title\"],\"mainTitleColour\":[1,\"main-title-colour\"],\"teaser\":[1],\"teaserColour\":[1,\"teaser-colour\"],\"buttonUrl\":[1,\"button-url\"],\"buttonLabel\":[1,\"button-label\"],\"buttonColourScheme\":[1,\"button-colour-scheme\"]}],[1,\"biggive-image-feature\",{\"spaceBelow\":[2,\"space-below\"],\"defaultTextColour\":[1,\"default-text-colour\"],\"imageUrl\":[1,\"image-url\"],\"imageAltText\":[1,\"image-alt-text\"],\"slug\":[1],\"slugColour\":[1,\"slug-colour\"],\"mainTitle\":[1,\"main-title\"],\"mainTitleColour\":[1,\"main-title-colour\"],\"teaser\":[1],\"teaserColour\":[1,\"teaser-colour\"],\"buttonUrl\":[1,\"button-url\"],\"buttonLabel\":[1,\"button-label\"],\"buttonColourScheme\":[1,\"button-colour-scheme\"]}],[1,\"biggive-video-feature\",{\"spaceAbove\":[2,\"space-above\"],\"spaceBelow\":[2,\"space-below\"],\"defaultTextColour\":[1,\"default-text-colour\"],\"videoUrl\":[1,\"video-url\"],\"slug\":[1],\"slugColour\":[1,\"slug-colour\"],\"mainTitle\":[1,\"main-title\"],\"mainTitleColour\":[1,\"main-title-colour\"],\"teaser\":[1],\"teaserColour\":[1,\"teaser-colour\"],\"buttonUrl\":[1,\"button-url\"],\"buttonLabel\":[1,\"button-label\"],\"buttonColourScheme\":[1,\"button-colour-scheme\"]}],[1,\"biggive-accordion\",{\"spaceBelow\":[2,\"space-below\"],\"textColour\":[1,\"text-colour\"],\"headingColour\":[1,\"heading-colour\"]}],[1,\"biggive-accordion-entry\",{\"heading\":[1]}],[1,\"biggive-back-to-top\"],[1,\"biggive-branded-image\",{\"spaceBelow\":[2,\"space-below\"],\"imageUrl\":[1,\"image-url\"],\"logoUrl\":[1,\"logo-url\"],\"slug\":[1],\"charityName\":[1,\"charity-name\"],\"charityLocation\":[1,\"charity-location\"],\"charityUrl\":[1,\"charity-url\"]}],[1,\"biggive-carousel\",{\"spaceBelow\":[2,\"space-below\"],\"columnCount\":[2,\"column-count\"],\"buttonBackgroundColour\":[1,\"button-background-colour\"],\"buttonIconColour\":[1,\"button-icon-colour\"]}],[1,\"biggive-grid\",{\"spaceBelow\":[2,\"space-below\"],\"columnCount\":[2,\"column-count\"],\"spaceBetween\":[4,\"space-between\"]}],[1,\"biggive-heading\",{\"spaceAbove\":[2,\"space-above\"],\"spaceBelow\":[2,\"space-below\"],\"colour\":[1],\"htmlElement\":[1,\"html-element\"],\"size\":[2],\"align\":[1],\"text\":[1],\"icon\":[4],\"iconColour\":[1,\"icon-colour\"]}],[1,\"biggive-image\",{\"spaceAbove\":[2,\"space-above\"],\"spaceBelow\":[2,\"space-below\"],\"imageUrl\":[1,\"image-url\"],\"imageAltText\":[1,\"image-alt-text\"],\"width\":[2],\"height\":[2],\"sizeUnit\":[1,\"size-unit\"]}],[1,\"biggive-page-column\"],[1,\"biggive-page-columns\",{\"spaceBelow\":[2,\"space-below\"]}],[1,\"biggive-page-section\",{\"spaceBelow\":[2,\"space-below\"],\"sectionStyleTop\":[1,\"section-style-top\"],\"sectionStyleBottom\":[1,\"section-style-bottom\"],\"colourScheme\":[1,\"colour-scheme\"],\"maxWidth\":[2,\"max-width\"],\"primaryFullBleed\":[4,\"primary-full-bleed\"]}],[1,\"biggive-quote\",{\"spaceBelow\":[2,\"space-below\"],\"defaultTextColour\":[1,\"default-text-colour\"],\"quote\":[1],\"attribution\":[1],\"quoteIconColour\":[1,\"quote-icon-colour\"]}],[1,\"biggive-tab\",{\"tabTitle\":[1,\"tab-title\"]}],[1,\"biggive-tabbed-content\",{\"spaceBelow\":[2,\"space-below\"],\"textColour\":[1,\"text-colour\"],\"selectedTextColour\":[1,\"selected-text-colour\"],\"navigationHighlightColour\":[1,\"navigation-highlight-colour\"],\"selectedNavigationHighlightColour\":[1,\"selected-navigation-highlight-colour\"],\"buttonBackgroundColour\":[1,\"button-background-colour\"],\"buttonIconColour\":[1,\"button-icon-colour\"]}],[1,\"biggive-timeline\",{\"spaceBelow\":[2,\"space-below\"],\"textColour\":[1,\"text-colour\"],\"selectedTextColour\":[1,\"selected-text-colour\"],\"navigationHighlightColour\":[1,\"navigation-highlight-colour\"],\"selectedNavigationHighlightColour\":[1,\"selected-navigation-highlight-colour\"],\"buttonBackgroundColour\":[1,\"button-background-colour\"],\"buttonIconColour\":[1,\"button-icon-colour\"],\"entryBackgroundColour\":[1,\"entry-background-colour\"],\"entryHighlightColour\":[1,\"entry-highlight-colour\"],\"entryDateColour\":[1,\"entry-date-colour\"],\"entryTitleColour\":[1,\"entry-title-colour\"],\"entryTextColour\":[1,\"entry-text-colour\"]}],[1,\"biggive-timeline-entry\",{\"date\":[1],\"heading\":[1]}],[1,\"biggive-tipping-slider\",{\"spaceBelow\":[2,\"space-below\"],\"colourScheme\":[1,\"colour-scheme\"],\"percentageStart\":[2,\"percentage-start\"],\"percentageEnd\":[2,\"percentage-end\"],\"donationAmount\":[2,\"donation-amount\"],\"donationCurrency\":[1,\"donation-currency\"]}],[1,\"biggive-totalizer\",{\"spaceBelow\":[2,\"space-below\"],\"primaryColour\":[1,\"primary-colour\"],\"primaryTextColour\":[1,\"primary-text-colour\"],\"secondaryColour\":[1,\"secondary-colour\"],\"secondaryTextColour\":[1,\"secondary-text-colour\"],\"mainMessage\":[1,\"main-message\"]}],[1,\"biggive-totalizer-ticker-item\",{\"figure\":[1],\"label\":[1]}],[1,\"biggive-form-field-select\",{\"selectedValue\":[1,\"selected-value\"],\"selectedLabel\":[1,\"selected-label\"],\"spaceBelow\":[2,\"space-below\"],\"placeholder\":[1]},[[0,\"doOptionSelect\",\"doOptionSelectCompletedHandler\"]]],[1,\"biggive-form-field-select-option\",{\"label\":[1],\"value\":[1],\"selectedValue\":[32],\"selectedLabel\":[32]}],[1,\"biggive-popup\",{\"openFromOutside\":[64],\"closeFromOutside\":[64]}],[0,\"biggive-social-icon\",{\"service\":[1],\"backgroundColour\":[1,\"background-colour\"],\"iconColour\":[1,\"icon-colour\"],\"wide\":[4],\"url\":[1]}],[1,\"biggive-progress-bar\",{\"spaceBelow\":[2,\"space-below\"],\"colourScheme\":[1,\"colour-scheme\"],\"counter\":[2]}],[0,\"biggive-misc-icon\",{\"backgroundColour\":[1,\"background-colour\"],\"iconColour\":[1,\"icon-colour\"],\"icon\":[1],\"url\":[1]}],[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\"]}]]],[\"biggive-article-card.cjs\",[[1,\"biggive-article-card\",{\"spaceBelow\":[2,\"space-below\"],\"backgroundColour\":[1,\"background-colour\"],\"backgroundColourHover\":[1,\"background-colour-hover\"],\"textColour\":[1,\"text-colour\"],\"slug\":[1],\"date\":[1],\"mainTitle\":[1,\"main-title\"],\"imageUrl\":[1,\"image-url\"],\"imageAltText\":[1,\"image-alt-text\"],\"imageLabel\":[1,\"image-label\"],\"buttonLabel\":[1,\"button-label\"],\"buttonUrl\":[1,\"button-url\"]}]]],[\"biggive-basic-card.cjs\",[[1,\"biggive-basic-card\",{\"spaceBelow\":[2,\"space-below\"],\"backgroundColour\":[1,\"background-colour\"],\"backgroundImageUrl\":[1,\"background-image-url\"],\"cardColour\":[1,\"card-colour\"],\"textColour\":[1,\"text-colour\"],\"mainTitle\":[1,\"main-title\"],\"subtitle\":[1],\"teaser\":[1],\"icon\":[4],\"iconColour\":[1,\"icon-colour\"],\"buttonLabel\":[1,\"button-label\"],\"buttonUrl\":[1,\"button-url\"],\"buttonColourScheme\":[1,\"button-colour-scheme\"],\"clipBottomLeftCorner\":[4,\"clip-bottom-left-corner\"],\"clipTopRightCorner\":[4,\"clip-top-right-corner\"],\"headingLevel\":[2,\"heading-level\"],\"addAnimation\":[4,\"add-animation\"]}]]],[\"biggive-search.cjs\",[[1,\"biggive-search\",{\"searchText\":[1,\"search-text\"],\"placeholderText\":[1,\"placeholder-text\"],\"buttonText\":[1,\"button-text\"]}]]],[\"biggive-beneficiary-icon.cjs\",[[0,\"biggive-beneficiary-icon\",{\"backgroundColour\":[1,\"background-colour\"],\"iconColour\":[1,\"icon-colour\"],\"icon\":[1],\"label\":[1],\"url\":[1]}]]],[\"biggive-biography-card.cjs\",[[1,\"biggive-biography-card\",{\"spaceBelow\":[2,\"space-below\"],\"imageUrl\":[1,\"image-url\"],\"fullName\":[1,\"full-name\"],\"jobTitle\":[1,\"job-title\"]}]]],[\"biggive-boxed-content.cjs\",[[1,\"biggive-boxed-content\",{\"spaceBelow\":[2,\"space-below\"],\"verticalPadding\":[2,\"vertical-padding\"],\"horizontalPadding\":[2,\"horizontal-padding\"],\"backgroundColour\":[1,\"background-colour\"],\"shadow\":[4]}]]],[\"biggive-category-icon.cjs\",[[0,\"biggive-category-icon\",{\"backgroundColour\":[1,\"background-colour\"],\"iconColour\":[1,\"icon-colour\"],\"icon\":[1],\"label\":[1],\"url\":[1]}]]],[\"biggive-form.cjs\",[[1,\"biggive-form\"]]],[\"biggive-formatted-text.cjs\",[[1,\"biggive-formatted-text\",{\"spaceBelow\":[2,\"space-below\"],\"defaultTextColour\":[1,\"default-text-colour\"],\"maxWidth\":[2,\"max-width\"]}]]],[\"biggive-header.cjs\",[[1,\"biggive-header\",{\"spaceBelow\":[2,\"space-below\"],\"logoUrl\":[1,\"logo-url\"],\"closeMenuFromOutside\":[64]}]]],[\"biggive-icon-group.cjs\",[[1,\"biggive-icon-group\",{\"spaceBelow\":[2,\"space-below\"],\"label\":[1]}]]],[\"biggive-nav-group.cjs\",[[1,\"biggive-nav-group\",{\"inline\":[4]}]]],[\"biggive-nav-item.cjs\",[[1,\"biggive-nav-item\",{\"url\":[1],\"label\":[1],\"iconColour\":[1,\"icon-colour\"]}]]],[\"biggive-popup-standalone.cjs\",[[1,\"biggive-popup-standalone\"]]],[\"biggive-table.cjs\",[[4,\"biggive-table\",{\"spaceBelow\":[2,\"space-below\"],\"headerTextColour\":[1,\"header-text-colour\"],\"headerBackgroundColour\":[1,\"header-background-colour\"],\"bodyTextColour\":[1,\"body-text-colour\"],\"bodyBackgroundColour\":[1,\"body-background-colour\"]}]]],[\"biggive-text-input.cjs\",[[1,\"biggive-text-input\"]]],[\"biggive-video.cjs\",[[1,\"biggive-video\",{\"spaceAbove\":[2,\"space-above\"],\"spaceBelow\":[2,\"space-below\"],\"videoUrl\":[1,\"video-url\"]}]]]]"), options);
|
|
19
19
|
});
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -14,7 +14,7 @@ const patchEsm = () => {
|
|
|
14
14
|
const defineCustomElements = (win, options) => {
|
|
15
15
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
16
16
|
return patchEsm().then(() => {
|
|
17
|
-
return index.bootstrapLazy(JSON.parse("[[\"biggive-accordion_35.cjs\",[[1,\"biggive-campaign-card-filter-grid\",{\"spaceBelow\":[2,\"space-below\"],\"intro\":[1],\"searchText\":[1,\"search-text\"],\"placeholderText\":[1,\"placeholder-text\"],\"buttonText\":[1,\"button-text\"],\"categoryOptions\":[1,\"category-options\"],\"beneficiaryOptions\":[1,\"beneficiary-options\"],\"locationOptions\":[1,\"location-options\"],\"fundingOptions\":[1,\"funding-options\"],\"selectedSortByOption\":[1,\"selected-sort-by-option\"],\"selectedFilterCategory\":[1,\"selected-filter-category\"],\"selectedFilterBeneficiary\":[1,\"selected-filter-beneficiary\"],\"selectedFilterLocation\":[1,\"selected-filter-location\"],\"selectedFilterFunding\":[1,\"selected-filter-funding\"],\"filtersApplied\":[32]},[[0,\"doSelectChange\",\"doOptionSelectCompletedHandler\"]]],[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]}],[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\"]}],[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\"]}],[1,\"biggive-footer\",{\"headingLevel\":[2,\"heading-level\"]}],[1,\"biggive-hero-image\",{\"spaceBelow\":[2,\"space-below\"],\"colourScheme\":[1,\"colour-scheme\"],\"slug\":[1],\"slugColour\":[1,\"slug-colour\"],\"logo\":[1],\"logoHeight\":[2,\"logo-height\"],\"logoAltText\":[1,\"logo-alt-text\"],\"mainImage\":[1,\"main-image\"],\"mainImageAlignHorizontal\":[1,\"main-image-align-horizontal\"],\"mainImageAlignVertical\":[1,\"main-image-align-vertical\"],\"mainTitle\":[1,\"main-title\"],\"mainTitleColour\":[1,\"main-title-colour\"],\"teaser\":[1],\"teaserColour\":[1,\"teaser-colour\"],\"buttonUrl\":[1,\"button-url\"],\"buttonLabel\":[1,\"button-label\"],\"buttonColourScheme\":[1,\"button-colour-scheme\"]}],[1,\"biggive-image-feature\",{\"spaceBelow\":[2,\"space-below\"],\"defaultTextColour\":[1,\"default-text-colour\"],\"imageUrl\":[1,\"image-url\"],\"imageAltText\":[1,\"image-alt-text\"],\"slug\":[1],\"slugColour\":[1,\"slug-colour\"],\"mainTitle\":[1,\"main-title\"],\"mainTitleColour\":[1,\"main-title-colour\"],\"teaser\":[1],\"teaserColour\":[1,\"teaser-colour\"],\"buttonUrl\":[1,\"button-url\"],\"buttonLabel\":[1,\"button-label\"],\"buttonColourScheme\":[1,\"button-colour-scheme\"]}],[1,\"biggive-main-menu\",{\"logoUrl\":[1,\"logo-url\"],\"closeMobileMenuFromOutside\":[64]}],[1,\"biggive-video-feature\",{\"spaceAbove\":[2,\"space-above\"],\"spaceBelow\":[2,\"space-below\"],\"defaultTextColour\":[1,\"default-text-colour\"],\"videoUrl\":[1,\"video-url\"],\"slug\":[1],\"slugColour\":[1,\"slug-colour\"],\"mainTitle\":[1,\"main-title\"],\"mainTitleColour\":[1,\"main-title-colour\"],\"teaser\":[1],\"teaserColour\":[1,\"teaser-colour\"],\"buttonUrl\":[1,\"button-url\"],\"buttonLabel\":[1,\"button-label\"],\"buttonColourScheme\":[1,\"button-colour-scheme\"]}],[1,\"biggive-accordion\",{\"spaceBelow\":[2,\"space-below\"],\"textColour\":[1,\"text-colour\"],\"headingColour\":[1,\"heading-colour\"]}],[1,\"biggive-accordion-entry\",{\"heading\":[1]}],[1,\"biggive-back-to-top\"],[1,\"biggive-branded-image\",{\"spaceBelow\":[2,\"space-below\"],\"imageUrl\":[1,\"image-url\"],\"logoUrl\":[1,\"logo-url\"],\"slug\":[1],\"charityName\":[1,\"charity-name\"],\"charityLocation\":[1,\"charity-location\"],\"charityUrl\":[1,\"charity-url\"]}],[1,\"biggive-carousel\",{\"spaceBelow\":[2,\"space-below\"],\"columnCount\":[2,\"column-count\"],\"buttonBackgroundColour\":[1,\"button-background-colour\"],\"buttonIconColour\":[1,\"button-icon-colour\"]}],[1,\"biggive-grid\",{\"spaceBelow\":[2,\"space-below\"],\"columnCount\":[2,\"column-count\"],\"spaceBetween\":[4,\"space-between\"]}],[1,\"biggive-heading\",{\"spaceAbove\":[2,\"space-above\"],\"spaceBelow\":[2,\"space-below\"],\"colour\":[1],\"htmlElement\":[1,\"html-element\"],\"size\":[2],\"align\":[1],\"text\":[1],\"icon\":[4],\"iconColour\":[1,\"icon-colour\"]}],[1,\"biggive-image\",{\"spaceAbove\":[2,\"space-above\"],\"spaceBelow\":[2,\"space-below\"],\"imageUrl\":[1,\"image-url\"],\"imageAltText\":[1,\"image-alt-text\"],\"width\":[2],\"height\":[2],\"sizeUnit\":[1,\"size-unit\"]}],[1,\"biggive-page-column\"],[1,\"biggive-page-columns\",{\"spaceBelow\":[2,\"space-below\"]}],[1,\"biggive-page-section\",{\"spaceBelow\":[2,\"space-below\"],\"sectionStyleTop\":[1,\"section-style-top\"],\"sectionStyleBottom\":[1,\"section-style-bottom\"],\"colourScheme\":[1,\"colour-scheme\"],\"maxWidth\":[2,\"max-width\"],\"primaryFullBleed\":[4,\"primary-full-bleed\"]}],[1,\"biggive-quote\",{\"spaceBelow\":[2,\"space-below\"],\"defaultTextColour\":[1,\"default-text-colour\"],\"quote\":[1],\"attribution\":[1],\"quoteIconColour\":[1,\"quote-icon-colour\"]}],[0,\"biggive-social-icon\",{\"service\":[1],\"backgroundColour\":[1,\"background-colour\"],\"iconColour\":[1,\"icon-colour\"],\"wide\":[4],\"url\":[1]}],[1,\"biggive-tab\",{\"tabTitle\":[1,\"tab-title\"]}],[1,\"biggive-tabbed-content\",{\"spaceBelow\":[2,\"space-below\"],\"textColour\":[1,\"text-colour\"],\"selectedTextColour\":[1,\"selected-text-colour\"],\"navigationHighlightColour\":[1,\"navigation-highlight-colour\"],\"selectedNavigationHighlightColour\":[1,\"selected-navigation-highlight-colour\"],\"buttonBackgroundColour\":[1,\"button-background-colour\"],\"buttonIconColour\":[1,\"button-icon-colour\"]}],[1,\"biggive-timeline\",{\"spaceBelow\":[2,\"space-below\"],\"textColour\":[1,\"text-colour\"],\"selectedTextColour\":[1,\"selected-text-colour\"],\"navigationHighlightColour\":[1,\"navigation-highlight-colour\"],\"selectedNavigationHighlightColour\":[1,\"selected-navigation-highlight-colour\"],\"buttonBackgroundColour\":[1,\"button-background-colour\"],\"buttonIconColour\":[1,\"button-icon-colour\"],\"entryBackgroundColour\":[1,\"entry-background-colour\"],\"entryHighlightColour\":[1,\"entry-highlight-colour\"],\"entryDateColour\":[1,\"entry-date-colour\"],\"entryTitleColour\":[1,\"entry-title-colour\"],\"entryTextColour\":[1,\"entry-text-colour\"]}],[1,\"biggive-timeline-entry\",{\"date\":[1],\"heading\":[1]}],[1,\"biggive-tipping-slider\",{\"spaceBelow\":[2,\"space-below\"],\"colourScheme\":[1,\"colour-scheme\"],\"percentageStart\":[2,\"percentage-start\"],\"percentageEnd\":[2,\"percentage-end\"],\"donationAmount\":[2,\"donation-amount\"],\"donationCurrency\":[1,\"donation-currency\"]}],[1,\"biggive-totalizer\",{\"spaceBelow\":[2,\"space-below\"],\"primaryColour\":[1,\"primary-colour\"],\"primaryTextColour\":[1,\"primary-text-colour\"],\"secondaryColour\":[1,\"secondary-colour\"],\"secondaryTextColour\":[1,\"secondary-text-colour\"],\"mainMessage\":[1,\"main-message\"]}],[1,\"biggive-totalizer-ticker-item\",{\"figure\":[1],\"label\":[1]}],[1,\"biggive-form-field-select\",{\"selectedValue\":[1,\"selected-value\"],\"selectedLabel\":[1,\"selected-label\"],\"spaceBelow\":[2,\"space-below\"],\"placeholder\":[1]},[[0,\"doOptionSelect\",\"doOptionSelectCompletedHandler\"]]],[1,\"biggive-form-field-select-option\",{\"label\":[1],\"value\":[1],\"selectedValue\":[32],\"selectedLabel\":[32]}],[1,\"biggive-popup\",{\"openFromOutside\":[64],\"closeFromOutside\":[64]}],[1,\"biggive-progress-bar\",{\"spaceBelow\":[2,\"space-below\"],\"colourScheme\":[1,\"colour-scheme\"],\"counter\":[2]}],[0,\"biggive-misc-icon\",{\"backgroundColour\":[1,\"background-colour\"],\"iconColour\":[1,\"icon-colour\"],\"icon\":[1],\"url\":[1]}],[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\"]}]]],[\"biggive-article-card.cjs\",[[1,\"biggive-article-card\",{\"spaceBelow\":[2,\"space-below\"],\"backgroundColour\":[1,\"background-colour\"],\"backgroundColourHover\":[1,\"background-colour-hover\"],\"textColour\":[1,\"text-colour\"],\"slug\":[1],\"date\":[1],\"mainTitle\":[1,\"main-title\"],\"imageUrl\":[1,\"image-url\"],\"imageAltText\":[1,\"image-alt-text\"],\"imageLabel\":[1,\"image-label\"],\"buttonLabel\":[1,\"button-label\"],\"buttonUrl\":[1,\"button-url\"]}]]],[\"biggive-basic-card.cjs\",[[1,\"biggive-basic-card\",{\"spaceBelow\":[2,\"space-below\"],\"backgroundColour\":[1,\"background-colour\"],\"backgroundImageUrl\":[1,\"background-image-url\"],\"cardColour\":[1,\"card-colour\"],\"textColour\":[1,\"text-colour\"],\"mainTitle\":[1,\"main-title\"],\"subtitle\":[1],\"teaser\":[1],\"icon\":[4],\"iconColour\":[1,\"icon-colour\"],\"buttonLabel\":[1,\"button-label\"],\"buttonUrl\":[1,\"button-url\"],\"buttonColourScheme\":[1,\"button-colour-scheme\"],\"clipBottomLeftCorner\":[4,\"clip-bottom-left-corner\"],\"clipTopRightCorner\":[4,\"clip-top-right-corner\"],\"headingLevel\":[2,\"heading-level\"],\"addAnimation\":[4,\"add-animation\"]}]]],[\"biggive-search.cjs\",[[1,\"biggive-search\",{\"searchText\":[1,\"search-text\"],\"placeholderText\":[1,\"placeholder-text\"],\"buttonText\":[1,\"button-text\"]}]]],[\"biggive-beneficiary-icon.cjs\",[[0,\"biggive-beneficiary-icon\",{\"backgroundColour\":[1,\"background-colour\"],\"iconColour\":[1,\"icon-colour\"],\"icon\":[1],\"label\":[1],\"url\":[1]}]]],[\"biggive-biography-card.cjs\",[[1,\"biggive-biography-card\",{\"spaceBelow\":[2,\"space-below\"],\"imageUrl\":[1,\"image-url\"],\"fullName\":[1,\"full-name\"],\"jobTitle\":[1,\"job-title\"]}]]],[\"biggive-boxed-content.cjs\",[[1,\"biggive-boxed-content\",{\"spaceBelow\":[2,\"space-below\"],\"verticalPadding\":[2,\"vertical-padding\"],\"horizontalPadding\":[2,\"horizontal-padding\"],\"backgroundColour\":[1,\"background-colour\"],\"shadow\":[4]}]]],[\"biggive-category-icon.cjs\",[[0,\"biggive-category-icon\",{\"backgroundColour\":[1,\"background-colour\"],\"iconColour\":[1,\"icon-colour\"],\"icon\":[1],\"label\":[1],\"url\":[1]}]]],[\"biggive-form.cjs\",[[1,\"biggive-form\"]]],[\"biggive-formatted-text.cjs\",[[1,\"biggive-formatted-text\",{\"spaceBelow\":[2,\"space-below\"],\"defaultTextColour\":[1,\"default-text-colour\"],\"maxWidth\":[2,\"max-width\"]}]]],[\"biggive-header.cjs\",[[1,\"biggive-header\",{\"spaceBelow\":[2,\"space-below\"],\"logoUrl\":[1,\"logo-url\"],\"closeMenuFromOutside\":[64]}]]],[\"biggive-icon-group.cjs\",[[1,\"biggive-icon-group\",{\"spaceBelow\":[2,\"space-below\"],\"label\":[1]}]]],[\"biggive-nav-group.cjs\",[[1,\"biggive-nav-group\",{\"inline\":[4]}]]],[\"biggive-nav-item.cjs\",[[1,\"biggive-nav-item\",{\"url\":[1],\"label\":[1],\"iconColour\":[1,\"icon-colour\"]}]]],[\"biggive-popup-standalone.cjs\",[[1,\"biggive-popup-standalone\"]]],[\"biggive-table.cjs\",[[4,\"biggive-table\",{\"spaceBelow\":[2,\"space-below\"],\"headerTextColour\":[1,\"header-text-colour\"],\"headerBackgroundColour\":[1,\"header-background-colour\"],\"bodyTextColour\":[1,\"body-text-colour\"],\"bodyBackgroundColour\":[1,\"body-background-colour\"]}]]],[\"biggive-text-input.cjs\",[[1,\"biggive-text-input\"]]],[\"biggive-video.cjs\",[[1,\"biggive-video\",{\"spaceAbove\":[2,\"space-above\"],\"spaceBelow\":[2,\"space-below\"],\"videoUrl\":[1,\"video-url\"]}]]]]"), options);
|
|
17
|
+
return index.bootstrapLazy(JSON.parse("[[\"biggive-accordion_35.cjs\",[[1,\"biggive-campaign-card-filter-grid\",{\"spaceBelow\":[2,\"space-below\"],\"intro\":[1],\"searchText\":[1,\"search-text\"],\"placeholderText\":[1,\"placeholder-text\"],\"buttonText\":[1,\"button-text\"],\"categoryOptions\":[1,\"category-options\"],\"beneficiaryOptions\":[1,\"beneficiary-options\"],\"locationOptions\":[1,\"location-options\"],\"fundingOptions\":[1,\"funding-options\"],\"selectedSortByOption\":[1,\"selected-sort-by-option\"],\"selectedFilterCategory\":[1,\"selected-filter-category\"],\"selectedFilterBeneficiary\":[1,\"selected-filter-beneficiary\"],\"selectedFilterLocation\":[1,\"selected-filter-location\"],\"selectedFilterFunding\":[1,\"selected-filter-funding\"],\"filtersApplied\":[32]},[[0,\"doSelectChange\",\"doOptionSelectCompletedHandler\"]]],[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]}],[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\"]}],[1,\"biggive-main-menu\",{\"logoUrl\":[1,\"logo-url\"],\"usePresetMenuContent\":[4,\"use-preset-menu-content\"],\"closeMobileMenuFromOutside\":[64]}],[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\"]}],[1,\"biggive-footer\",{\"headingLevel\":[2,\"heading-level\"]}],[1,\"biggive-hero-image\",{\"spaceBelow\":[2,\"space-below\"],\"colourScheme\":[1,\"colour-scheme\"],\"slug\":[1],\"slugColour\":[1,\"slug-colour\"],\"logo\":[1],\"logoHeight\":[2,\"logo-height\"],\"logoAltText\":[1,\"logo-alt-text\"],\"mainImage\":[1,\"main-image\"],\"mainImageAlignHorizontal\":[1,\"main-image-align-horizontal\"],\"mainImageAlignVertical\":[1,\"main-image-align-vertical\"],\"mainTitle\":[1,\"main-title\"],\"mainTitleColour\":[1,\"main-title-colour\"],\"teaser\":[1],\"teaserColour\":[1,\"teaser-colour\"],\"buttonUrl\":[1,\"button-url\"],\"buttonLabel\":[1,\"button-label\"],\"buttonColourScheme\":[1,\"button-colour-scheme\"]}],[1,\"biggive-image-feature\",{\"spaceBelow\":[2,\"space-below\"],\"defaultTextColour\":[1,\"default-text-colour\"],\"imageUrl\":[1,\"image-url\"],\"imageAltText\":[1,\"image-alt-text\"],\"slug\":[1],\"slugColour\":[1,\"slug-colour\"],\"mainTitle\":[1,\"main-title\"],\"mainTitleColour\":[1,\"main-title-colour\"],\"teaser\":[1],\"teaserColour\":[1,\"teaser-colour\"],\"buttonUrl\":[1,\"button-url\"],\"buttonLabel\":[1,\"button-label\"],\"buttonColourScheme\":[1,\"button-colour-scheme\"]}],[1,\"biggive-video-feature\",{\"spaceAbove\":[2,\"space-above\"],\"spaceBelow\":[2,\"space-below\"],\"defaultTextColour\":[1,\"default-text-colour\"],\"videoUrl\":[1,\"video-url\"],\"slug\":[1],\"slugColour\":[1,\"slug-colour\"],\"mainTitle\":[1,\"main-title\"],\"mainTitleColour\":[1,\"main-title-colour\"],\"teaser\":[1],\"teaserColour\":[1,\"teaser-colour\"],\"buttonUrl\":[1,\"button-url\"],\"buttonLabel\":[1,\"button-label\"],\"buttonColourScheme\":[1,\"button-colour-scheme\"]}],[1,\"biggive-accordion\",{\"spaceBelow\":[2,\"space-below\"],\"textColour\":[1,\"text-colour\"],\"headingColour\":[1,\"heading-colour\"]}],[1,\"biggive-accordion-entry\",{\"heading\":[1]}],[1,\"biggive-back-to-top\"],[1,\"biggive-branded-image\",{\"spaceBelow\":[2,\"space-below\"],\"imageUrl\":[1,\"image-url\"],\"logoUrl\":[1,\"logo-url\"],\"slug\":[1],\"charityName\":[1,\"charity-name\"],\"charityLocation\":[1,\"charity-location\"],\"charityUrl\":[1,\"charity-url\"]}],[1,\"biggive-carousel\",{\"spaceBelow\":[2,\"space-below\"],\"columnCount\":[2,\"column-count\"],\"buttonBackgroundColour\":[1,\"button-background-colour\"],\"buttonIconColour\":[1,\"button-icon-colour\"]}],[1,\"biggive-grid\",{\"spaceBelow\":[2,\"space-below\"],\"columnCount\":[2,\"column-count\"],\"spaceBetween\":[4,\"space-between\"]}],[1,\"biggive-heading\",{\"spaceAbove\":[2,\"space-above\"],\"spaceBelow\":[2,\"space-below\"],\"colour\":[1],\"htmlElement\":[1,\"html-element\"],\"size\":[2],\"align\":[1],\"text\":[1],\"icon\":[4],\"iconColour\":[1,\"icon-colour\"]}],[1,\"biggive-image\",{\"spaceAbove\":[2,\"space-above\"],\"spaceBelow\":[2,\"space-below\"],\"imageUrl\":[1,\"image-url\"],\"imageAltText\":[1,\"image-alt-text\"],\"width\":[2],\"height\":[2],\"sizeUnit\":[1,\"size-unit\"]}],[1,\"biggive-page-column\"],[1,\"biggive-page-columns\",{\"spaceBelow\":[2,\"space-below\"]}],[1,\"biggive-page-section\",{\"spaceBelow\":[2,\"space-below\"],\"sectionStyleTop\":[1,\"section-style-top\"],\"sectionStyleBottom\":[1,\"section-style-bottom\"],\"colourScheme\":[1,\"colour-scheme\"],\"maxWidth\":[2,\"max-width\"],\"primaryFullBleed\":[4,\"primary-full-bleed\"]}],[1,\"biggive-quote\",{\"spaceBelow\":[2,\"space-below\"],\"defaultTextColour\":[1,\"default-text-colour\"],\"quote\":[1],\"attribution\":[1],\"quoteIconColour\":[1,\"quote-icon-colour\"]}],[1,\"biggive-tab\",{\"tabTitle\":[1,\"tab-title\"]}],[1,\"biggive-tabbed-content\",{\"spaceBelow\":[2,\"space-below\"],\"textColour\":[1,\"text-colour\"],\"selectedTextColour\":[1,\"selected-text-colour\"],\"navigationHighlightColour\":[1,\"navigation-highlight-colour\"],\"selectedNavigationHighlightColour\":[1,\"selected-navigation-highlight-colour\"],\"buttonBackgroundColour\":[1,\"button-background-colour\"],\"buttonIconColour\":[1,\"button-icon-colour\"]}],[1,\"biggive-timeline\",{\"spaceBelow\":[2,\"space-below\"],\"textColour\":[1,\"text-colour\"],\"selectedTextColour\":[1,\"selected-text-colour\"],\"navigationHighlightColour\":[1,\"navigation-highlight-colour\"],\"selectedNavigationHighlightColour\":[1,\"selected-navigation-highlight-colour\"],\"buttonBackgroundColour\":[1,\"button-background-colour\"],\"buttonIconColour\":[1,\"button-icon-colour\"],\"entryBackgroundColour\":[1,\"entry-background-colour\"],\"entryHighlightColour\":[1,\"entry-highlight-colour\"],\"entryDateColour\":[1,\"entry-date-colour\"],\"entryTitleColour\":[1,\"entry-title-colour\"],\"entryTextColour\":[1,\"entry-text-colour\"]}],[1,\"biggive-timeline-entry\",{\"date\":[1],\"heading\":[1]}],[1,\"biggive-tipping-slider\",{\"spaceBelow\":[2,\"space-below\"],\"colourScheme\":[1,\"colour-scheme\"],\"percentageStart\":[2,\"percentage-start\"],\"percentageEnd\":[2,\"percentage-end\"],\"donationAmount\":[2,\"donation-amount\"],\"donationCurrency\":[1,\"donation-currency\"]}],[1,\"biggive-totalizer\",{\"spaceBelow\":[2,\"space-below\"],\"primaryColour\":[1,\"primary-colour\"],\"primaryTextColour\":[1,\"primary-text-colour\"],\"secondaryColour\":[1,\"secondary-colour\"],\"secondaryTextColour\":[1,\"secondary-text-colour\"],\"mainMessage\":[1,\"main-message\"]}],[1,\"biggive-totalizer-ticker-item\",{\"figure\":[1],\"label\":[1]}],[1,\"biggive-form-field-select\",{\"selectedValue\":[1,\"selected-value\"],\"selectedLabel\":[1,\"selected-label\"],\"spaceBelow\":[2,\"space-below\"],\"placeholder\":[1]},[[0,\"doOptionSelect\",\"doOptionSelectCompletedHandler\"]]],[1,\"biggive-form-field-select-option\",{\"label\":[1],\"value\":[1],\"selectedValue\":[32],\"selectedLabel\":[32]}],[1,\"biggive-popup\",{\"openFromOutside\":[64],\"closeFromOutside\":[64]}],[0,\"biggive-social-icon\",{\"service\":[1],\"backgroundColour\":[1,\"background-colour\"],\"iconColour\":[1,\"icon-colour\"],\"wide\":[4],\"url\":[1]}],[1,\"biggive-progress-bar\",{\"spaceBelow\":[2,\"space-below\"],\"colourScheme\":[1,\"colour-scheme\"],\"counter\":[2]}],[0,\"biggive-misc-icon\",{\"backgroundColour\":[1,\"background-colour\"],\"iconColour\":[1,\"icon-colour\"],\"icon\":[1],\"url\":[1]}],[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\"]}]]],[\"biggive-article-card.cjs\",[[1,\"biggive-article-card\",{\"spaceBelow\":[2,\"space-below\"],\"backgroundColour\":[1,\"background-colour\"],\"backgroundColourHover\":[1,\"background-colour-hover\"],\"textColour\":[1,\"text-colour\"],\"slug\":[1],\"date\":[1],\"mainTitle\":[1,\"main-title\"],\"imageUrl\":[1,\"image-url\"],\"imageAltText\":[1,\"image-alt-text\"],\"imageLabel\":[1,\"image-label\"],\"buttonLabel\":[1,\"button-label\"],\"buttonUrl\":[1,\"button-url\"]}]]],[\"biggive-basic-card.cjs\",[[1,\"biggive-basic-card\",{\"spaceBelow\":[2,\"space-below\"],\"backgroundColour\":[1,\"background-colour\"],\"backgroundImageUrl\":[1,\"background-image-url\"],\"cardColour\":[1,\"card-colour\"],\"textColour\":[1,\"text-colour\"],\"mainTitle\":[1,\"main-title\"],\"subtitle\":[1],\"teaser\":[1],\"icon\":[4],\"iconColour\":[1,\"icon-colour\"],\"buttonLabel\":[1,\"button-label\"],\"buttonUrl\":[1,\"button-url\"],\"buttonColourScheme\":[1,\"button-colour-scheme\"],\"clipBottomLeftCorner\":[4,\"clip-bottom-left-corner\"],\"clipTopRightCorner\":[4,\"clip-top-right-corner\"],\"headingLevel\":[2,\"heading-level\"],\"addAnimation\":[4,\"add-animation\"]}]]],[\"biggive-search.cjs\",[[1,\"biggive-search\",{\"searchText\":[1,\"search-text\"],\"placeholderText\":[1,\"placeholder-text\"],\"buttonText\":[1,\"button-text\"]}]]],[\"biggive-beneficiary-icon.cjs\",[[0,\"biggive-beneficiary-icon\",{\"backgroundColour\":[1,\"background-colour\"],\"iconColour\":[1,\"icon-colour\"],\"icon\":[1],\"label\":[1],\"url\":[1]}]]],[\"biggive-biography-card.cjs\",[[1,\"biggive-biography-card\",{\"spaceBelow\":[2,\"space-below\"],\"imageUrl\":[1,\"image-url\"],\"fullName\":[1,\"full-name\"],\"jobTitle\":[1,\"job-title\"]}]]],[\"biggive-boxed-content.cjs\",[[1,\"biggive-boxed-content\",{\"spaceBelow\":[2,\"space-below\"],\"verticalPadding\":[2,\"vertical-padding\"],\"horizontalPadding\":[2,\"horizontal-padding\"],\"backgroundColour\":[1,\"background-colour\"],\"shadow\":[4]}]]],[\"biggive-category-icon.cjs\",[[0,\"biggive-category-icon\",{\"backgroundColour\":[1,\"background-colour\"],\"iconColour\":[1,\"icon-colour\"],\"icon\":[1],\"label\":[1],\"url\":[1]}]]],[\"biggive-form.cjs\",[[1,\"biggive-form\"]]],[\"biggive-formatted-text.cjs\",[[1,\"biggive-formatted-text\",{\"spaceBelow\":[2,\"space-below\"],\"defaultTextColour\":[1,\"default-text-colour\"],\"maxWidth\":[2,\"max-width\"]}]]],[\"biggive-header.cjs\",[[1,\"biggive-header\",{\"spaceBelow\":[2,\"space-below\"],\"logoUrl\":[1,\"logo-url\"],\"closeMenuFromOutside\":[64]}]]],[\"biggive-icon-group.cjs\",[[1,\"biggive-icon-group\",{\"spaceBelow\":[2,\"space-below\"],\"label\":[1]}]]],[\"biggive-nav-group.cjs\",[[1,\"biggive-nav-group\",{\"inline\":[4]}]]],[\"biggive-nav-item.cjs\",[[1,\"biggive-nav-item\",{\"url\":[1],\"label\":[1],\"iconColour\":[1,\"icon-colour\"]}]]],[\"biggive-popup-standalone.cjs\",[[1,\"biggive-popup-standalone\"]]],[\"biggive-table.cjs\",[[4,\"biggive-table\",{\"spaceBelow\":[2,\"space-below\"],\"headerTextColour\":[1,\"header-text-colour\"],\"headerBackgroundColour\":[1,\"header-background-colour\"],\"bodyTextColour\":[1,\"body-text-colour\"],\"bodyBackgroundColour\":[1,\"body-background-colour\"]}]]],[\"biggive-text-input.cjs\",[[1,\"biggive-text-input\"]]],[\"biggive-video.cjs\",[[1,\"biggive-video\",{\"spaceAbove\":[2,\"space-above\"],\"spaceBelow\":[2,\"space-below\"],\"videoUrl\":[1,\"video-url\"]}]]]]"), options);
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -10,6 +10,7 @@ export class BiggiveMainMenu {
|
|
|
10
10
|
mobileMenu.style.left = '-100%';
|
|
11
11
|
};
|
|
12
12
|
this.logoUrl = '/';
|
|
13
|
+
this.usePresetMenuContent = false;
|
|
13
14
|
}
|
|
14
15
|
async closeMobileMenuFromOutside() {
|
|
15
16
|
const mobileMenu = this.host.shadowRoot.querySelector('.nav-links');
|
|
@@ -23,6 +24,9 @@ export class BiggiveMainMenu {
|
|
|
23
24
|
this.host.shadowRoot.querySelector('#nav-primary').appendChild(node);
|
|
24
25
|
}
|
|
25
26
|
}
|
|
27
|
+
noNav(event) {
|
|
28
|
+
event.preventDefault();
|
|
29
|
+
}
|
|
26
30
|
/**
|
|
27
31
|
* Slots the 'nav-secondary' slot into the top right corner of the blue nav bar.
|
|
28
32
|
* Also slots the 'nav-secondary' into the normal menu items when in mobile mode.
|
|
@@ -76,11 +80,22 @@ export class BiggiveMainMenu {
|
|
|
76
80
|
subSubMenuElement.classList.toggle('display-sub-menu');
|
|
77
81
|
};
|
|
78
82
|
});
|
|
79
|
-
this.
|
|
80
|
-
|
|
83
|
+
if (!this.usePresetMenuContent) {
|
|
84
|
+
this.appendPrimaryNavigationLinks();
|
|
85
|
+
this.appendNavSecondaryLinks();
|
|
86
|
+
}
|
|
81
87
|
}
|
|
82
88
|
render() {
|
|
83
|
-
|
|
89
|
+
const slotBasedMenu = () => (h(Host, null, h("div", { class: "row row-top" }, h("div", { class: "social-icon-wrap" }, h("slot", { name: "social-icons" })), h("div", { class: "nav-secondary" })), h("nav", { role: "navigation", "aria-label": "Main Menu" }, h("div", { class: "navbar" }, h("div", { class: "logo" }, h("a", { href: this.logoUrl, "aria-label": "Home" }, h("svg", { version: "1.1", x: "0px", y: "0px", viewBox: "0 0 140.9 30" }, h("path", { d: "M51.9,6.1c-1.7,0-3.1-1.4-3.1-3s1.4-3,3.1-3C53.6,0,55,1.4,55,3S53.6,6.1,51.9,6.1z M49.3,23.8h5V7.7h-5V23.8z M68.5,7.7v1 c-0.8-0.7-2.3-1.4-4.1-1.4c-4.5,0-8.2,3.2-8.2,7.9c0,4.7,3.7,7.9,8.2,7.9c1.8,0,3.4-0.5,4.1-1.4v0.9c0,2.1-1.9,3.1-4.4,3.1 c-2.2,0-4-0.5-5.8-1.4V29c2.1,0.7,4.4,1,6,1c5,0,9.2-2,9.2-7.3v-15L68.5,7.7L68.5,7.7z M68.5,17.2c-0.7,1-1.9,1.4-3.2,1.4 c-2.1,0-3.8-1.2-3.8-3.4c0-2.2,1.7-3.4,3.8-3.4c1.3,0,2.5,0.6,3.2,1.5V17.2z M88.1,24.2c4,0,6.4-0.7,8.5-2V10h-11v4.7h5.8v4.1 c-0.8,0.2-1.8,0.4-3.2,0.4c-4.9,0-7.3-3.2-7.3-6.8c0-3.7,2.8-6.8,8-6.8c2.2,0,4.3,0.6,5.8,1.4V1.7c-1.5-0.6-3.4-1.1-6.1-1.1 c-7.6,0-13,5.3-13,11.8C75.5,19.1,80.4,24.2,88.1,24.2z M101.4,6.1c-1.7,0-3.1-1.4-3.1-3s1.4-3,3.1-3c1.8,0,3.2,1.4,3.2,3 S103.1,6.1,101.4,6.1z M98.8,23.8h5V7.7h-5V23.8z M115.1,15l-4.3-7.2H105l10.1,16.4l10.1-16.4h-5.8L115.1,15z M129.3,16.9h11.6 c0.1-7-4.2-9.5-8.4-9.5c-4.5,0-8.5,2.6-8.6,8.4c0,5.6,4.1,8.4,9.1,8.4c2.2,0,4.4-0.3,6.4-1.3v-4.4c-2.5,1.4-4.1,1.4-5.6,1.4 C131.7,19.8,129.5,19.2,129.3,16.9z M132.5,11.1c1.5,0,2.8,0.7,3,2.7h-6.2C129.6,11.9,131,11.1,132.5,11.1z M43.5,11.4 c1.2-1,1.8-2.4,1.8-4c0-3.1-3-6.3-7.3-6.3h-8v22.8h10.4c4.1,0,7.2-3,7.2-6.8C47.5,14.8,46.5,12.3,43.5,11.4z M35.2,5.7h2.4 C39,5.7,40,6.8,40,8c0,1.2-1,2.2-2.5,2.2h-2.4V5.7z M39.9,19.2h-4.7v-4.6h4.7c1.4,0,2.5,1,2.5,2.3C42.4,18.1,41.3,19.2,39.9,19.2z" }), h("path", { d: "M13.5,1l13.5,23H0L13.5,1z" })))), h("biggive-misc-icon", { class: "bx bx-menu", "background-colour": "white", "icon-colour": "black", icon: "MenuOpen", onClick: this.openMobileMenu }), h("div", { class: "nav-links" }, h("div", { class: "sidebar-logo" }, h("a", { href: this.logoUrl, "aria-label": "Home" }, h("svg", { version: "1.1", x: "0px", y: "0px", viewBox: "0 0 140.9 30", id: "mobileLogo" }, h("path", { d: "M51.9,6.1c-1.7,0-3.1-1.4-3.1-3s1.4-3,3.1-3C53.6,0,55,1.4,55,3S53.6,6.1,51.9,6.1z M49.3,23.8h5V7.7h-5V23.8z M68.5,7.7v1 c-0.8-0.7-2.3-1.4-4.1-1.4c-4.5,0-8.2,3.2-8.2,7.9c0,4.7,3.7,7.9,8.2,7.9c1.8,0,3.4-0.5,4.1-1.4v0.9c0,2.1-1.9,3.1-4.4,3.1 c-2.2,0-4-0.5-5.8-1.4V29c2.1,0.7,4.4,1,6,1c5,0,9.2-2,9.2-7.3v-15L68.5,7.7L68.5,7.7z M68.5,17.2c-0.7,1-1.9,1.4-3.2,1.4 c-2.1,0-3.8-1.2-3.8-3.4c0-2.2,1.7-3.4,3.8-3.4c1.3,0,2.5,0.6,3.2,1.5V17.2z M88.1,24.2c4,0,6.4-0.7,8.5-2V10h-11v4.7h5.8v4.1 c-0.8,0.2-1.8,0.4-3.2,0.4c-4.9,0-7.3-3.2-7.3-6.8c0-3.7,2.8-6.8,8-6.8c2.2,0,4.3,0.6,5.8,1.4V1.7c-1.5-0.6-3.4-1.1-6.1-1.1 c-7.6,0-13,5.3-13,11.8C75.5,19.1,80.4,24.2,88.1,24.2z M101.4,6.1c-1.7,0-3.1-1.4-3.1-3s1.4-3,3.1-3c1.8,0,3.2,1.4,3.2,3 S103.1,6.1,101.4,6.1z M98.8,23.8h5V7.7h-5V23.8z M115.1,15l-4.3-7.2H105l10.1,16.4l10.1-16.4h-5.8L115.1,15z M129.3,16.9h11.6 c0.1-7-4.2-9.5-8.4-9.5c-4.5,0-8.5,2.6-8.6,8.4c0,5.6,4.1,8.4,9.1,8.4c2.2,0,4.4-0.3,6.4-1.3v-4.4c-2.5,1.4-4.1,1.4-5.6,1.4 C131.7,19.8,129.5,19.2,129.3,16.9z M132.5,11.1c1.5,0,2.8,0.7,3,2.7h-6.2C129.6,11.9,131,11.1,132.5,11.1z M43.5,11.4 c1.2-1,1.8-2.4,1.8-4c0-3.1-3-6.3-7.3-6.3h-8v22.8h10.4c4.1,0,7.2-3,7.2-6.8C47.5,14.8,46.5,12.3,43.5,11.4z M35.2,5.7h2.4 C39,5.7,40,6.8,40,8c0,1.2-1,2.2-2.5,2.2h-2.4V5.7z M39.9,19.2h-4.7v-4.6h4.7c1.4,0,2.5,1,2.5,2.3C42.4,18.1,41.3,19.2,39.9,19.2z" }), h("path", { d: "M13.5,1l13.5,23H0L13.5,1z" }))), h("biggive-misc-icon", { class: "bx bx-x", "background-colour": "transparent", "icon-colour": "black", icon: "MenuClose", onClick: this.closeMobileMenu })), h("div", { id: "nav-primary" }), h("div", { class: "mobile-social-icon-wrap mobile-only" }, h("slot", { name: "mobile-social-icons" })))))));
|
|
90
|
+
/**
|
|
91
|
+
* @todo take prop passed in for base domain or environment (e.g. dev|staging|regression|production ) so we can
|
|
92
|
+
* output appropriate nav links to stay in same envirionment.
|
|
93
|
+
*/
|
|
94
|
+
const presetContentMenu = () => {
|
|
95
|
+
const secondaryNavLinks = (h("ul", null, h("li", null, h("a", { href: "https://www.thebiggive.org.uk/s/contact-us" }, "Contact us")), h("li", null, h("a", { href: "https://www.thebiggive.org.uk/charities/s/login" }, "Charity login"))));
|
|
96
|
+
return (h(Host, null, h("div", { class: "row row-top" }, h("div", { class: "social-icon-wrap" }, h("biggive-social-icon", { service: "Facebook", url: "https://www.facebook.com/BigGive.org", "background-colour": "tertiary", "icon-colour": "black" }), h("biggive-social-icon", { service: "Twitter", url: "https://twitter.com/BigGive", "background-colour": "tertiary", "icon-colour": "black" }), h("biggive-social-icon", { service: "LinkedIn", url: "https://uk.linkedin.com/company/big-give", "background-colour": "tertiary", "icon-colour": "black" }), h("biggive-social-icon", { service: "YouTube", url: "https://www.youtube.com/channel/UC9_wH1aaTuZurJ-F9R8GDcA", "background-colour": "tertiary", "icon-colour": "black" }), h("biggive-social-icon", { service: "Instagram", url: "https://www.instagram.com/biggiveorg", "background-colour": "tertiary", "icon-colour": "black" })), h("div", { class: "nav-secondary" }, secondaryNavLinks)), h("nav", { role: "navigation", "aria-label": "Main Menu" }, h("div", { class: "navbar" }, h("div", { class: "logo" }, h("a", { href: this.logoUrl, "aria-label": "Home" }, h("svg", { version: "1.1", x: "0px", y: "0px", viewBox: "0 0 140.9 30" }, h("path", { d: "M51.9,6.1c-1.7,0-3.1-1.4-3.1-3s1.4-3,3.1-3C53.6,0,55,1.4,55,3S53.6,6.1,51.9,6.1z M49.3,23.8h5V7.7h-5V23.8z M68.5,7.7v1 c-0.8-0.7-2.3-1.4-4.1-1.4c-4.5,0-8.2,3.2-8.2,7.9c0,4.7,3.7,7.9,8.2,7.9c1.8,0,3.4-0.5,4.1-1.4v0.9c0,2.1-1.9,3.1-4.4,3.1 c-2.2,0-4-0.5-5.8-1.4V29c2.1,0.7,4.4,1,6,1c5,0,9.2-2,9.2-7.3v-15L68.5,7.7L68.5,7.7z M68.5,17.2c-0.7,1-1.9,1.4-3.2,1.4 c-2.1,0-3.8-1.2-3.8-3.4c0-2.2,1.7-3.4,3.8-3.4c1.3,0,2.5,0.6,3.2,1.5V17.2z M88.1,24.2c4,0,6.4-0.7,8.5-2V10h-11v4.7h5.8v4.1 c-0.8,0.2-1.8,0.4-3.2,0.4c-4.9,0-7.3-3.2-7.3-6.8c0-3.7,2.8-6.8,8-6.8c2.2,0,4.3,0.6,5.8,1.4V1.7c-1.5-0.6-3.4-1.1-6.1-1.1 c-7.6,0-13,5.3-13,11.8C75.5,19.1,80.4,24.2,88.1,24.2z M101.4,6.1c-1.7,0-3.1-1.4-3.1-3s1.4-3,3.1-3c1.8,0,3.2,1.4,3.2,3 S103.1,6.1,101.4,6.1z M98.8,23.8h5V7.7h-5V23.8z M115.1,15l-4.3-7.2H105l10.1,16.4l10.1-16.4h-5.8L115.1,15z M129.3,16.9h11.6 c0.1-7-4.2-9.5-8.4-9.5c-4.5,0-8.5,2.6-8.6,8.4c0,5.6,4.1,8.4,9.1,8.4c2.2,0,4.4-0.3,6.4-1.3v-4.4c-2.5,1.4-4.1,1.4-5.6,1.4 C131.7,19.8,129.5,19.2,129.3,16.9z M132.5,11.1c1.5,0,2.8,0.7,3,2.7h-6.2C129.6,11.9,131,11.1,132.5,11.1z M43.5,11.4 c1.2-1,1.8-2.4,1.8-4c0-3.1-3-6.3-7.3-6.3h-8v22.8h10.4c4.1,0,7.2-3,7.2-6.8C47.5,14.8,46.5,12.3,43.5,11.4z M35.2,5.7h2.4 C39,5.7,40,6.8,40,8c0,1.2-1,2.2-2.5,2.2h-2.4V5.7z M39.9,19.2h-4.7v-4.6h4.7c1.4,0,2.5,1,2.5,2.3C42.4,18.1,41.3,19.2,39.9,19.2z" }), h("path", { d: "M13.5,1l13.5,23H0L13.5,1z" })))), h("biggive-misc-icon", { class: "bx bx-menu", "background-colour": "white", "icon-colour": "black", icon: "MenuOpen", onClick: this.openMobileMenu }), h("div", { class: "nav-links" }, h("div", { class: "sidebar-logo" }, h("a", { href: this.logoUrl, "aria-label": "Home" }, h("svg", { version: "1.1", x: "0px", y: "0px", viewBox: "0 0 140.9 30", id: "mobileLogo" }, h("path", { d: "M51.9,6.1c-1.7,0-3.1-1.4-3.1-3s1.4-3,3.1-3C53.6,0,55,1.4,55,3S53.6,6.1,51.9,6.1z M49.3,23.8h5V7.7h-5V23.8z M68.5,7.7v1 c-0.8-0.7-2.3-1.4-4.1-1.4c-4.5,0-8.2,3.2-8.2,7.9c0,4.7,3.7,7.9,8.2,7.9c1.8,0,3.4-0.5,4.1-1.4v0.9c0,2.1-1.9,3.1-4.4,3.1 c-2.2,0-4-0.5-5.8-1.4V29c2.1,0.7,4.4,1,6,1c5,0,9.2-2,9.2-7.3v-15L68.5,7.7L68.5,7.7z M68.5,17.2c-0.7,1-1.9,1.4-3.2,1.4 c-2.1,0-3.8-1.2-3.8-3.4c0-2.2,1.7-3.4,3.8-3.4c1.3,0,2.5,0.6,3.2,1.5V17.2z M88.1,24.2c4,0,6.4-0.7,8.5-2V10h-11v4.7h5.8v4.1 c-0.8,0.2-1.8,0.4-3.2,0.4c-4.9,0-7.3-3.2-7.3-6.8c0-3.7,2.8-6.8,8-6.8c2.2,0,4.3,0.6,5.8,1.4V1.7c-1.5-0.6-3.4-1.1-6.1-1.1 c-7.6,0-13,5.3-13,11.8C75.5,19.1,80.4,24.2,88.1,24.2z M101.4,6.1c-1.7,0-3.1-1.4-3.1-3s1.4-3,3.1-3c1.8,0,3.2,1.4,3.2,3 S103.1,6.1,101.4,6.1z M98.8,23.8h5V7.7h-5V23.8z M115.1,15l-4.3-7.2H105l10.1,16.4l10.1-16.4h-5.8L115.1,15z M129.3,16.9h11.6 c0.1-7-4.2-9.5-8.4-9.5c-4.5,0-8.5,2.6-8.6,8.4c0,5.6,4.1,8.4,9.1,8.4c2.2,0,4.4-0.3,6.4-1.3v-4.4c-2.5,1.4-4.1,1.4-5.6,1.4 C131.7,19.8,129.5,19.2,129.3,16.9z M132.5,11.1c1.5,0,2.8,0.7,3,2.7h-6.2C129.6,11.9,131,11.1,132.5,11.1z M43.5,11.4 c1.2-1,1.8-2.4,1.8-4c0-3.1-3-6.3-7.3-6.3h-8v22.8h10.4c4.1,0,7.2-3,7.2-6.8C47.5,14.8,46.5,12.3,43.5,11.4z M35.2,5.7h2.4 C39,5.7,40,6.8,40,8c0,1.2-1,2.2-2.5,2.2h-2.4V5.7z M39.9,19.2h-4.7v-4.6h4.7c1.4,0,2.5,1,2.5,2.3C42.4,18.1,41.3,19.2,39.9,19.2z" }), h("path", { d: "M13.5,1l13.5,23H0L13.5,1z" }))), h("biggive-misc-icon", { class: "bx bx-x", "background-colour": "transparent", "icon-colour": "black", icon: "MenuClose", onClick: this.closeMobileMenu })), h("div", { id: "nav-primary" }, h("ul", { class: "links", slot: "nav-primary" }, h("li", null, h("a", { href: "https://donate.thebiggive.org.uk/explore" }, "Explore Campaigns")), h("li", null, h("a", { href: "https://blog.thebiggive.org.uk/charities" }, "For Charities")), h("li", null, h("a", { href: "https://blog.thebiggive.org.uk/funders" }, "For Funders")), h("li", null, h("a", { onClick: this.noNav }, "Match Funding", h("biggive-misc-icon", { class: "bx bxs-chevron-down sub-menu-arrow arrow", "background-colour": "white", "icon-colour": "black", icon: "CaretRight" })), h("ul", { class: "sub-menu" }, h("li", null, h("a", { href: "https://blog.thebiggive.org.uk/match-funding-explained" }, "Match Funding Explained")), h("li", null, h("a", { href: "https://blog.thebiggive.org.uk/impact" }, "Match Funding Impact")), h("li", { class: "more" }, h("a", { onClick: this.noNav }, "Match Funding Opportunities", h("biggive-misc-icon", { class: "bx bxs-chevron-down sub-sub-menu-arrow arrow", "background-colour": "white", "icon-colour": "black", icon: "CaretRight" })), h("ul", { class: "sub-sub-menu" }, h("li", null, h("a", { href: "https://blog.thebiggive.org.uk/christmas-challenge", class: "icon-christmas" }, "Christmas Challenge")), h("li", null, h("a", { href: "https://blog.thebiggive.org.uk/champions-for-children", class: "icon-children" }, "Champions for Children")), h("li", null, h("a", { href: "https://blog.thebiggive.org.uk/green-match-fund", class: "icon-green-match" }, "Green Match Fund")), h("li", null, h("a", { href: "https://blog.thebiggive.org.uk/women-girls-match-fund", class: "icon-women-girls" }, "Women & Girls Match Fund")), h("li", null, h("a", { href: "https://blog.thebiggive.org.uk/mental-health-match-fund/", class: "icon-mental-health" }, "Mental Health Match Fund")), h("li", null, h("a", { href: "https://blog.thebiggive.org.uk/anchor-match-fund/", class: "icon-anchor-match" }, "Anchor Match Fund")), h("li", null, h("a", { href: "https://blog.thebiggive.org.uk/emergency-campaigns/", class: "icon-emergency" }, "Emergency Match Fund")))), h("li", null, h("a", { href: "https://blog.thebiggive.org.uk/run-your-own-campaign/" }, "Run your match funding campaign")))), h("li", null, h("a", { onClick: this.noNav }, "About Us", h("biggive-misc-icon", { class: "bx bxs-chevron-down sub-menu-arrow arrow", "background-colour": "white", "icon-colour": "black", icon: "CaretRight" })), h("ul", { class: "sub-menu" }, h("li", null, h("a", { href: "https://blog.thebiggive.org.uk/our-people" }, "Our People")), h("li", null, h("a", { href: "https://blog.thebiggive.org.uk/our-story" }, "Our Story")), h("li", null, h("a", { href: "https://blog.thebiggive.org.uk/our-community" }, "Our Community")), h("li", null, h("a", { href: "https://blog.thebiggive.org.uk/our-fees" }, "Our Fees")), h("li", null, h("a", { href: "https://blog.thebiggive.org.uk/faqs" }, "FAQs")))), h("li", null, h("a", { onClick: this.noNav }, "Resources", h("biggive-misc-icon", { class: "bx bxs-chevron-down sub-menu-arrow arrow", "background-colour": "white", "icon-colour": "black", icon: "CaretRight" })), h("ul", { class: "sub-menu" }, h("li", null, h("a", { href: "https://blog.thebiggive.org.uk/case-studies" }, "Case Studies")), h("li", null, h("a", { href: "https://blog.thebiggive.org.uk/blog" }, "Blog")), h("li", null, h("a", { href: "https://blog.thebiggive.org.uk/reports-insights" }, "Reports & Insights")), h("li", null, h("a", { href: "https://blog.thebiggive.org.uk/press" }, "Press"))))), h("div", { class: "mobile-only" }, secondaryNavLinks)), h("div", { class: "mobile-social-icon-wrap mobile-only" }, h("biggive-social-icon", { service: "Facebook", url: "https://www.facebook.com/BigGive.org", "background-colour": "tertiary", "icon-colour": "black" }), h("biggive-social-icon", { service: "Twitter", url: "https://twitter.com/BigGive", "background-colour": "tertiary", "icon-colour": "black" }), h("biggive-social-icon", { service: "LinkedIn", url: "https://uk.linkedin.com/company/big-give", "background-colour": "tertiary", "icon-colour": "black" }), h("biggive-social-icon", { service: "YouTube", url: "https://www.youtube.com/channel/UC9_wH1aaTuZurJ-F9R8GDcA", "background-colour": "tertiary", "icon-colour": "black" }), h("biggive-social-icon", { service: "Instagram", url: "https://www.instagram.com/biggiveorg", "background-colour": "tertiary", "icon-colour": "black" })))))));
|
|
97
|
+
};
|
|
98
|
+
return this.usePresetMenuContent ? presetContentMenu() : slotBasedMenu();
|
|
84
99
|
}
|
|
85
100
|
static get is() { return "biggive-main-menu"; }
|
|
86
101
|
static get encapsulation() { return "shadow"; }
|
|
@@ -113,6 +128,24 @@ export class BiggiveMainMenu {
|
|
|
113
128
|
"attribute": "logo-url",
|
|
114
129
|
"reflect": false,
|
|
115
130
|
"defaultValue": "'/'"
|
|
131
|
+
},
|
|
132
|
+
"usePresetMenuContent": {
|
|
133
|
+
"type": "boolean",
|
|
134
|
+
"mutable": false,
|
|
135
|
+
"complexType": {
|
|
136
|
+
"original": "boolean",
|
|
137
|
+
"resolved": "boolean",
|
|
138
|
+
"references": {}
|
|
139
|
+
},
|
|
140
|
+
"required": false,
|
|
141
|
+
"optional": false,
|
|
142
|
+
"docs": {
|
|
143
|
+
"tags": [],
|
|
144
|
+
"text": "If true, content passed in via slots will be ignored, and this will just render a hard-coded menu\nthat's the same everywhere. When BG2-2286 is done this will be permantly true and the prop will be deleted."
|
|
145
|
+
},
|
|
146
|
+
"attribute": "use-preset-menu-content",
|
|
147
|
+
"reflect": false,
|
|
148
|
+
"defaultValue": "false"
|
|
116
149
|
}
|
|
117
150
|
};
|
|
118
151
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { d as defineCustomElement$
|
|
2
|
+
import { d as defineCustomElement$3 } from './biggive-misc-icon2.js';
|
|
3
|
+
import { d as defineCustomElement$2 } from './biggive-social-icon2.js';
|
|
3
4
|
|
|
4
5
|
const biggiveMainMenuCss = "a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}:host{display:block !important}:host(.fixed){position:fixed;top:0;left:0;right:0;z-index:10}*{margin:0;padding:0;box-sizing:border-box;font-family:\"Euclid Triangle\", sans-serif}a[class^=icon-],a[class*=icon-]{padding-left:20px;background-repeat:no-repeat;background-size:auto 10px;background-position:left center}a.icon-green{background-image:url(/assets/images/triangles-combined.svg)}a.icon-children{background-image:url(/assets/images/triangles-combined-children.svg)}a.icon-christmas{background-image:url(/assets/images/triangles-combined-christmas-challenge.svg)}a.icon-green-match{background-image:url(/assets/images/triangles-combined-green-match.svg)}a.icon-women-girls{background-image:url(/assets/images/triangles-combined-women-girls.svg)}a.icon-mental-health{background-image:url(/assets/images/triangles-combined-mental-health.svg)}a.icon-anchor-match{background-image:url(/assets/images/triangles-combined-anchor.svg)}a.icon-emergency{background-image:url(/assets/images/triangles-combined-emergency.svg)}.mobile-only{display:none !important}.row-top{padding:10px 30px;background-color:#2C089B;display:flex}.row-top .social-icon-wrap{margin-right:15px}.row-top .nav-secondary{margin-left:auto;display:grid}.row-top .nav-secondary ul{list-style:none;display:inline-flex;margin:auto}.row-top .nav-secondary li{border-right:1px solid #FFFFFF;height:fit-content;padding:0 10px}.row-top .nav-secondary li:last-child{border-right:0;padding-right:0}.row-top .nav-secondary li a{color:#FFFFFF;text-decoration:none}.row-top .social-icon-wrap{display:flex}.row-top .social-icon-wrap .social-icon-item{margin-right:15px}nav{top:0;left:0;width:100%;height:100%;height:70px;background:white;z-index:99;box-shadow:0 1px 2px rgba(0, 0, 0, 0.2)}nav .navbar{height:100%;width:100%;display:flex;align-items:center;justify-content:space-between;margin:auto;padding:0 50px}nav .navbar .nav-links{line-height:70px;height:100%}nav .navbar .nav-links .sidebar-logo{display:none}nav .navbar .nav-links .links{display:flex}nav .navbar .nav-links .links li{position:relative;display:flex;align-items:center;justify-content:space-between;list-style:none;padding:0 30px}nav .navbar .nav-links .links li a{height:100%;text-decoration:none;white-space:nowrap;color:black;font-size:17px;font-weight:500}nav .navbar .nav-links .links li .sub-menu{position:absolute;top:70px;left:0;line-height:40px;box-shadow:0 1px 2px rgba(0, 0, 0, 0.2);border-radius:0 0 4px 4px;display:none;z-index:2;background-color:inherit}nav .navbar .nav-links .links li .sub-menu li{padding:0 22px;border-bottom:1px solid rgba(255, 255, 255, 0.1)}nav .navbar .nav-links .links li .sub-menu a{color:black;font-size:15px;font-weight:500}nav .navbar .nav-links .links li .sub-menu .more .sub-sub-menu{position:absolute;top:0;left:100%;border-radius:0 4px 4px 4px;z-index:1;display:none}nav .navbar .nav-links .links li .arrow{margin-left:5px;text-align:center;display:inline-block;color:black;transition:all 0.3s ease}nav .navbar .nav-links .links li .arrow.transform-90{transform:rotate(90deg)}nav .navbar .logo{min-width:180px;width:180px}nav .navbar .logo a{font-size:30px;color:black;text-decoration:none;font-weight:600;display:grid}nav .navbar .bx-menu{display:none}@media (hover: hover){.row-top .nav-secondary li a:hover{border-bottom-color:#FFFFFF;color:#FFFFFF}nav .navbar .nav-links .links li .sub-menu .more:hover .sub-sub-menu{display:block}nav .navbar .nav-links .links li:hover .sub-menu-arrow{transform:rotate(90deg)}nav .navbar .nav-links .links li:hover .sub-menu{display:block;background-color:white}nav .navbar .nav-links .links li:hover .sub-menu .sub-sub-menu{background-color:white}}@media (max-width: 1200px){nav .navbar .logo{min-width:120px;width:120px}nav .navbar .nav-links .links li{padding:0 7px}nav .navbar .nav-links .links li a{font-size:15px}nav .navbar .nav-links .links li .sub-menu a{font-size:13px}}@media (max-width: 968px){.mobile-only{display:block !important}.row-top{display:none}nav{height:60px}nav .navbar{padding:0px 25px}nav .navbar .bx-menu{display:block;font-size:25px;color:black}nav .navbar .nav-links{position:fixed;top:0;left:-100%;display:block;max-width:450px;width:100%;background:white;line-height:40px;padding:20px;box-shadow:0 5px 10px rgba(0, 0, 0, 0.2);transition:all 0.5s ease;z-index:1000;overflow-y:scroll}nav .navbar .nav-links .sidebar-logo{display:flex;align-items:center;justify-content:space-between}nav .navbar .nav-links .sidebar-logo a{display:contents}nav .navbar .nav-links .sidebar-logo a #mobileLogo{width:130px}nav .navbar .nav-links .sidebar-logo #x{margin-right:15px}nav .navbar .nav-links .sidebar-logo i{font-size:25px;color:black}nav .navbar .nav-links .mobile-social-icon-wrap{margin-top:20px}nav .navbar .nav-links .links{display:block;margin-top:20px}nav .navbar .nav-links .links li{display:block;border-bottom:1px solid #e6e6e6}nav .navbar .nav-links .links li a{width:100%;display:block}nav .navbar .nav-links .links li .display-sub-menu{display:block !important}nav .navbar .nav-links .links li .sub-menu{position:relative;top:0;box-shadow:none;display:none}nav .navbar .nav-links .links li .sub-menu li{border-bottom:none}nav .navbar .nav-links .links li .sub-menu .sub-sub-menu{display:none;position:relative;left:0}nav .navbar .nav-links .links li .sub-menu .sub-sub-menu li{display:flex;align-items:center;justify-content:space-between}nav .navbar .nav-links .links li .sub-menu .more span{display:flex;align-items:center}nav .navbar .nav-links .links li .sub-menu .more .sub-sub-menu.display-sub-menu{position:initial}}@media (max-width: 968px) and (max-width: 370px){nav .navbar .nav-links{max-width:100%}}";
|
|
5
6
|
|
|
@@ -17,6 +18,7 @@ const BiggiveMainMenu$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEle
|
|
|
17
18
|
mobileMenu.style.left = '-100%';
|
|
18
19
|
};
|
|
19
20
|
this.logoUrl = '/';
|
|
21
|
+
this.usePresetMenuContent = false;
|
|
20
22
|
}
|
|
21
23
|
async closeMobileMenuFromOutside() {
|
|
22
24
|
const mobileMenu = this.host.shadowRoot.querySelector('.nav-links');
|
|
@@ -30,6 +32,9 @@ const BiggiveMainMenu$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEle
|
|
|
30
32
|
this.host.shadowRoot.querySelector('#nav-primary').appendChild(node);
|
|
31
33
|
}
|
|
32
34
|
}
|
|
35
|
+
noNav(event) {
|
|
36
|
+
event.preventDefault();
|
|
37
|
+
}
|
|
33
38
|
/**
|
|
34
39
|
* Slots the 'nav-secondary' slot into the top right corner of the blue nav bar.
|
|
35
40
|
* Also slots the 'nav-secondary' into the normal menu items when in mobile mode.
|
|
@@ -83,23 +88,35 @@ const BiggiveMainMenu$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEle
|
|
|
83
88
|
subSubMenuElement.classList.toggle('display-sub-menu');
|
|
84
89
|
};
|
|
85
90
|
});
|
|
86
|
-
this.
|
|
87
|
-
|
|
91
|
+
if (!this.usePresetMenuContent) {
|
|
92
|
+
this.appendPrimaryNavigationLinks();
|
|
93
|
+
this.appendNavSecondaryLinks();
|
|
94
|
+
}
|
|
88
95
|
}
|
|
89
96
|
render() {
|
|
90
|
-
|
|
97
|
+
const slotBasedMenu = () => (h(Host, null, h("div", { class: "row row-top" }, h("div", { class: "social-icon-wrap" }, h("slot", { name: "social-icons" })), h("div", { class: "nav-secondary" })), h("nav", { role: "navigation", "aria-label": "Main Menu" }, h("div", { class: "navbar" }, h("div", { class: "logo" }, h("a", { href: this.logoUrl, "aria-label": "Home" }, h("svg", { version: "1.1", x: "0px", y: "0px", viewBox: "0 0 140.9 30" }, h("path", { d: "M51.9,6.1c-1.7,0-3.1-1.4-3.1-3s1.4-3,3.1-3C53.6,0,55,1.4,55,3S53.6,6.1,51.9,6.1z M49.3,23.8h5V7.7h-5V23.8z M68.5,7.7v1 c-0.8-0.7-2.3-1.4-4.1-1.4c-4.5,0-8.2,3.2-8.2,7.9c0,4.7,3.7,7.9,8.2,7.9c1.8,0,3.4-0.5,4.1-1.4v0.9c0,2.1-1.9,3.1-4.4,3.1 c-2.2,0-4-0.5-5.8-1.4V29c2.1,0.7,4.4,1,6,1c5,0,9.2-2,9.2-7.3v-15L68.5,7.7L68.5,7.7z M68.5,17.2c-0.7,1-1.9,1.4-3.2,1.4 c-2.1,0-3.8-1.2-3.8-3.4c0-2.2,1.7-3.4,3.8-3.4c1.3,0,2.5,0.6,3.2,1.5V17.2z M88.1,24.2c4,0,6.4-0.7,8.5-2V10h-11v4.7h5.8v4.1 c-0.8,0.2-1.8,0.4-3.2,0.4c-4.9,0-7.3-3.2-7.3-6.8c0-3.7,2.8-6.8,8-6.8c2.2,0,4.3,0.6,5.8,1.4V1.7c-1.5-0.6-3.4-1.1-6.1-1.1 c-7.6,0-13,5.3-13,11.8C75.5,19.1,80.4,24.2,88.1,24.2z M101.4,6.1c-1.7,0-3.1-1.4-3.1-3s1.4-3,3.1-3c1.8,0,3.2,1.4,3.2,3 S103.1,6.1,101.4,6.1z M98.8,23.8h5V7.7h-5V23.8z M115.1,15l-4.3-7.2H105l10.1,16.4l10.1-16.4h-5.8L115.1,15z M129.3,16.9h11.6 c0.1-7-4.2-9.5-8.4-9.5c-4.5,0-8.5,2.6-8.6,8.4c0,5.6,4.1,8.4,9.1,8.4c2.2,0,4.4-0.3,6.4-1.3v-4.4c-2.5,1.4-4.1,1.4-5.6,1.4 C131.7,19.8,129.5,19.2,129.3,16.9z M132.5,11.1c1.5,0,2.8,0.7,3,2.7h-6.2C129.6,11.9,131,11.1,132.5,11.1z M43.5,11.4 c1.2-1,1.8-2.4,1.8-4c0-3.1-3-6.3-7.3-6.3h-8v22.8h10.4c4.1,0,7.2-3,7.2-6.8C47.5,14.8,46.5,12.3,43.5,11.4z M35.2,5.7h2.4 C39,5.7,40,6.8,40,8c0,1.2-1,2.2-2.5,2.2h-2.4V5.7z M39.9,19.2h-4.7v-4.6h4.7c1.4,0,2.5,1,2.5,2.3C42.4,18.1,41.3,19.2,39.9,19.2z" }), h("path", { d: "M13.5,1l13.5,23H0L13.5,1z" })))), h("biggive-misc-icon", { class: "bx bx-menu", "background-colour": "white", "icon-colour": "black", icon: "MenuOpen", onClick: this.openMobileMenu }), h("div", { class: "nav-links" }, h("div", { class: "sidebar-logo" }, h("a", { href: this.logoUrl, "aria-label": "Home" }, h("svg", { version: "1.1", x: "0px", y: "0px", viewBox: "0 0 140.9 30", id: "mobileLogo" }, h("path", { d: "M51.9,6.1c-1.7,0-3.1-1.4-3.1-3s1.4-3,3.1-3C53.6,0,55,1.4,55,3S53.6,6.1,51.9,6.1z M49.3,23.8h5V7.7h-5V23.8z M68.5,7.7v1 c-0.8-0.7-2.3-1.4-4.1-1.4c-4.5,0-8.2,3.2-8.2,7.9c0,4.7,3.7,7.9,8.2,7.9c1.8,0,3.4-0.5,4.1-1.4v0.9c0,2.1-1.9,3.1-4.4,3.1 c-2.2,0-4-0.5-5.8-1.4V29c2.1,0.7,4.4,1,6,1c5,0,9.2-2,9.2-7.3v-15L68.5,7.7L68.5,7.7z M68.5,17.2c-0.7,1-1.9,1.4-3.2,1.4 c-2.1,0-3.8-1.2-3.8-3.4c0-2.2,1.7-3.4,3.8-3.4c1.3,0,2.5,0.6,3.2,1.5V17.2z M88.1,24.2c4,0,6.4-0.7,8.5-2V10h-11v4.7h5.8v4.1 c-0.8,0.2-1.8,0.4-3.2,0.4c-4.9,0-7.3-3.2-7.3-6.8c0-3.7,2.8-6.8,8-6.8c2.2,0,4.3,0.6,5.8,1.4V1.7c-1.5-0.6-3.4-1.1-6.1-1.1 c-7.6,0-13,5.3-13,11.8C75.5,19.1,80.4,24.2,88.1,24.2z M101.4,6.1c-1.7,0-3.1-1.4-3.1-3s1.4-3,3.1-3c1.8,0,3.2,1.4,3.2,3 S103.1,6.1,101.4,6.1z M98.8,23.8h5V7.7h-5V23.8z M115.1,15l-4.3-7.2H105l10.1,16.4l10.1-16.4h-5.8L115.1,15z M129.3,16.9h11.6 c0.1-7-4.2-9.5-8.4-9.5c-4.5,0-8.5,2.6-8.6,8.4c0,5.6,4.1,8.4,9.1,8.4c2.2,0,4.4-0.3,6.4-1.3v-4.4c-2.5,1.4-4.1,1.4-5.6,1.4 C131.7,19.8,129.5,19.2,129.3,16.9z M132.5,11.1c1.5,0,2.8,0.7,3,2.7h-6.2C129.6,11.9,131,11.1,132.5,11.1z M43.5,11.4 c1.2-1,1.8-2.4,1.8-4c0-3.1-3-6.3-7.3-6.3h-8v22.8h10.4c4.1,0,7.2-3,7.2-6.8C47.5,14.8,46.5,12.3,43.5,11.4z M35.2,5.7h2.4 C39,5.7,40,6.8,40,8c0,1.2-1,2.2-2.5,2.2h-2.4V5.7z M39.9,19.2h-4.7v-4.6h4.7c1.4,0,2.5,1,2.5,2.3C42.4,18.1,41.3,19.2,39.9,19.2z" }), h("path", { d: "M13.5,1l13.5,23H0L13.5,1z" }))), h("biggive-misc-icon", { class: "bx bx-x", "background-colour": "transparent", "icon-colour": "black", icon: "MenuClose", onClick: this.closeMobileMenu })), h("div", { id: "nav-primary" }), h("div", { class: "mobile-social-icon-wrap mobile-only" }, h("slot", { name: "mobile-social-icons" })))))));
|
|
98
|
+
/**
|
|
99
|
+
* @todo take prop passed in for base domain or environment (e.g. dev|staging|regression|production ) so we can
|
|
100
|
+
* output appropriate nav links to stay in same envirionment.
|
|
101
|
+
*/
|
|
102
|
+
const presetContentMenu = () => {
|
|
103
|
+
const secondaryNavLinks = (h("ul", null, h("li", null, h("a", { href: "https://www.thebiggive.org.uk/s/contact-us" }, "Contact us")), h("li", null, h("a", { href: "https://www.thebiggive.org.uk/charities/s/login" }, "Charity login"))));
|
|
104
|
+
return (h(Host, null, h("div", { class: "row row-top" }, h("div", { class: "social-icon-wrap" }, h("biggive-social-icon", { service: "Facebook", url: "https://www.facebook.com/BigGive.org", "background-colour": "tertiary", "icon-colour": "black" }), h("biggive-social-icon", { service: "Twitter", url: "https://twitter.com/BigGive", "background-colour": "tertiary", "icon-colour": "black" }), h("biggive-social-icon", { service: "LinkedIn", url: "https://uk.linkedin.com/company/big-give", "background-colour": "tertiary", "icon-colour": "black" }), h("biggive-social-icon", { service: "YouTube", url: "https://www.youtube.com/channel/UC9_wH1aaTuZurJ-F9R8GDcA", "background-colour": "tertiary", "icon-colour": "black" }), h("biggive-social-icon", { service: "Instagram", url: "https://www.instagram.com/biggiveorg", "background-colour": "tertiary", "icon-colour": "black" })), h("div", { class: "nav-secondary" }, secondaryNavLinks)), h("nav", { role: "navigation", "aria-label": "Main Menu" }, h("div", { class: "navbar" }, h("div", { class: "logo" }, h("a", { href: this.logoUrl, "aria-label": "Home" }, h("svg", { version: "1.1", x: "0px", y: "0px", viewBox: "0 0 140.9 30" }, h("path", { d: "M51.9,6.1c-1.7,0-3.1-1.4-3.1-3s1.4-3,3.1-3C53.6,0,55,1.4,55,3S53.6,6.1,51.9,6.1z M49.3,23.8h5V7.7h-5V23.8z M68.5,7.7v1 c-0.8-0.7-2.3-1.4-4.1-1.4c-4.5,0-8.2,3.2-8.2,7.9c0,4.7,3.7,7.9,8.2,7.9c1.8,0,3.4-0.5,4.1-1.4v0.9c0,2.1-1.9,3.1-4.4,3.1 c-2.2,0-4-0.5-5.8-1.4V29c2.1,0.7,4.4,1,6,1c5,0,9.2-2,9.2-7.3v-15L68.5,7.7L68.5,7.7z M68.5,17.2c-0.7,1-1.9,1.4-3.2,1.4 c-2.1,0-3.8-1.2-3.8-3.4c0-2.2,1.7-3.4,3.8-3.4c1.3,0,2.5,0.6,3.2,1.5V17.2z M88.1,24.2c4,0,6.4-0.7,8.5-2V10h-11v4.7h5.8v4.1 c-0.8,0.2-1.8,0.4-3.2,0.4c-4.9,0-7.3-3.2-7.3-6.8c0-3.7,2.8-6.8,8-6.8c2.2,0,4.3,0.6,5.8,1.4V1.7c-1.5-0.6-3.4-1.1-6.1-1.1 c-7.6,0-13,5.3-13,11.8C75.5,19.1,80.4,24.2,88.1,24.2z M101.4,6.1c-1.7,0-3.1-1.4-3.1-3s1.4-3,3.1-3c1.8,0,3.2,1.4,3.2,3 S103.1,6.1,101.4,6.1z M98.8,23.8h5V7.7h-5V23.8z M115.1,15l-4.3-7.2H105l10.1,16.4l10.1-16.4h-5.8L115.1,15z M129.3,16.9h11.6 c0.1-7-4.2-9.5-8.4-9.5c-4.5,0-8.5,2.6-8.6,8.4c0,5.6,4.1,8.4,9.1,8.4c2.2,0,4.4-0.3,6.4-1.3v-4.4c-2.5,1.4-4.1,1.4-5.6,1.4 C131.7,19.8,129.5,19.2,129.3,16.9z M132.5,11.1c1.5,0,2.8,0.7,3,2.7h-6.2C129.6,11.9,131,11.1,132.5,11.1z M43.5,11.4 c1.2-1,1.8-2.4,1.8-4c0-3.1-3-6.3-7.3-6.3h-8v22.8h10.4c4.1,0,7.2-3,7.2-6.8C47.5,14.8,46.5,12.3,43.5,11.4z M35.2,5.7h2.4 C39,5.7,40,6.8,40,8c0,1.2-1,2.2-2.5,2.2h-2.4V5.7z M39.9,19.2h-4.7v-4.6h4.7c1.4,0,2.5,1,2.5,2.3C42.4,18.1,41.3,19.2,39.9,19.2z" }), h("path", { d: "M13.5,1l13.5,23H0L13.5,1z" })))), h("biggive-misc-icon", { class: "bx bx-menu", "background-colour": "white", "icon-colour": "black", icon: "MenuOpen", onClick: this.openMobileMenu }), h("div", { class: "nav-links" }, h("div", { class: "sidebar-logo" }, h("a", { href: this.logoUrl, "aria-label": "Home" }, h("svg", { version: "1.1", x: "0px", y: "0px", viewBox: "0 0 140.9 30", id: "mobileLogo" }, h("path", { d: "M51.9,6.1c-1.7,0-3.1-1.4-3.1-3s1.4-3,3.1-3C53.6,0,55,1.4,55,3S53.6,6.1,51.9,6.1z M49.3,23.8h5V7.7h-5V23.8z M68.5,7.7v1 c-0.8-0.7-2.3-1.4-4.1-1.4c-4.5,0-8.2,3.2-8.2,7.9c0,4.7,3.7,7.9,8.2,7.9c1.8,0,3.4-0.5,4.1-1.4v0.9c0,2.1-1.9,3.1-4.4,3.1 c-2.2,0-4-0.5-5.8-1.4V29c2.1,0.7,4.4,1,6,1c5,0,9.2-2,9.2-7.3v-15L68.5,7.7L68.5,7.7z M68.5,17.2c-0.7,1-1.9,1.4-3.2,1.4 c-2.1,0-3.8-1.2-3.8-3.4c0-2.2,1.7-3.4,3.8-3.4c1.3,0,2.5,0.6,3.2,1.5V17.2z M88.1,24.2c4,0,6.4-0.7,8.5-2V10h-11v4.7h5.8v4.1 c-0.8,0.2-1.8,0.4-3.2,0.4c-4.9,0-7.3-3.2-7.3-6.8c0-3.7,2.8-6.8,8-6.8c2.2,0,4.3,0.6,5.8,1.4V1.7c-1.5-0.6-3.4-1.1-6.1-1.1 c-7.6,0-13,5.3-13,11.8C75.5,19.1,80.4,24.2,88.1,24.2z M101.4,6.1c-1.7,0-3.1-1.4-3.1-3s1.4-3,3.1-3c1.8,0,3.2,1.4,3.2,3 S103.1,6.1,101.4,6.1z M98.8,23.8h5V7.7h-5V23.8z M115.1,15l-4.3-7.2H105l10.1,16.4l10.1-16.4h-5.8L115.1,15z M129.3,16.9h11.6 c0.1-7-4.2-9.5-8.4-9.5c-4.5,0-8.5,2.6-8.6,8.4c0,5.6,4.1,8.4,9.1,8.4c2.2,0,4.4-0.3,6.4-1.3v-4.4c-2.5,1.4-4.1,1.4-5.6,1.4 C131.7,19.8,129.5,19.2,129.3,16.9z M132.5,11.1c1.5,0,2.8,0.7,3,2.7h-6.2C129.6,11.9,131,11.1,132.5,11.1z M43.5,11.4 c1.2-1,1.8-2.4,1.8-4c0-3.1-3-6.3-7.3-6.3h-8v22.8h10.4c4.1,0,7.2-3,7.2-6.8C47.5,14.8,46.5,12.3,43.5,11.4z M35.2,5.7h2.4 C39,5.7,40,6.8,40,8c0,1.2-1,2.2-2.5,2.2h-2.4V5.7z M39.9,19.2h-4.7v-4.6h4.7c1.4,0,2.5,1,2.5,2.3C42.4,18.1,41.3,19.2,39.9,19.2z" }), h("path", { d: "M13.5,1l13.5,23H0L13.5,1z" }))), h("biggive-misc-icon", { class: "bx bx-x", "background-colour": "transparent", "icon-colour": "black", icon: "MenuClose", onClick: this.closeMobileMenu })), h("div", { id: "nav-primary" }, h("ul", { class: "links", slot: "nav-primary" }, h("li", null, h("a", { href: "https://donate.thebiggive.org.uk/explore" }, "Explore Campaigns")), h("li", null, h("a", { href: "https://blog.thebiggive.org.uk/charities" }, "For Charities")), h("li", null, h("a", { href: "https://blog.thebiggive.org.uk/funders" }, "For Funders")), h("li", null, h("a", { onClick: this.noNav }, "Match Funding", h("biggive-misc-icon", { class: "bx bxs-chevron-down sub-menu-arrow arrow", "background-colour": "white", "icon-colour": "black", icon: "CaretRight" })), h("ul", { class: "sub-menu" }, h("li", null, h("a", { href: "https://blog.thebiggive.org.uk/match-funding-explained" }, "Match Funding Explained")), h("li", null, h("a", { href: "https://blog.thebiggive.org.uk/impact" }, "Match Funding Impact")), h("li", { class: "more" }, h("a", { onClick: this.noNav }, "Match Funding Opportunities", h("biggive-misc-icon", { class: "bx bxs-chevron-down sub-sub-menu-arrow arrow", "background-colour": "white", "icon-colour": "black", icon: "CaretRight" })), h("ul", { class: "sub-sub-menu" }, h("li", null, h("a", { href: "https://blog.thebiggive.org.uk/christmas-challenge", class: "icon-christmas" }, "Christmas Challenge")), h("li", null, h("a", { href: "https://blog.thebiggive.org.uk/champions-for-children", class: "icon-children" }, "Champions for Children")), h("li", null, h("a", { href: "https://blog.thebiggive.org.uk/green-match-fund", class: "icon-green-match" }, "Green Match Fund")), h("li", null, h("a", { href: "https://blog.thebiggive.org.uk/women-girls-match-fund", class: "icon-women-girls" }, "Women & Girls Match Fund")), h("li", null, h("a", { href: "https://blog.thebiggive.org.uk/mental-health-match-fund/", class: "icon-mental-health" }, "Mental Health Match Fund")), h("li", null, h("a", { href: "https://blog.thebiggive.org.uk/anchor-match-fund/", class: "icon-anchor-match" }, "Anchor Match Fund")), h("li", null, h("a", { href: "https://blog.thebiggive.org.uk/emergency-campaigns/", class: "icon-emergency" }, "Emergency Match Fund")))), h("li", null, h("a", { href: "https://blog.thebiggive.org.uk/run-your-own-campaign/" }, "Run your match funding campaign")))), h("li", null, h("a", { onClick: this.noNav }, "About Us", h("biggive-misc-icon", { class: "bx bxs-chevron-down sub-menu-arrow arrow", "background-colour": "white", "icon-colour": "black", icon: "CaretRight" })), h("ul", { class: "sub-menu" }, h("li", null, h("a", { href: "https://blog.thebiggive.org.uk/our-people" }, "Our People")), h("li", null, h("a", { href: "https://blog.thebiggive.org.uk/our-story" }, "Our Story")), h("li", null, h("a", { href: "https://blog.thebiggive.org.uk/our-community" }, "Our Community")), h("li", null, h("a", { href: "https://blog.thebiggive.org.uk/our-fees" }, "Our Fees")), h("li", null, h("a", { href: "https://blog.thebiggive.org.uk/faqs" }, "FAQs")))), h("li", null, h("a", { onClick: this.noNav }, "Resources", h("biggive-misc-icon", { class: "bx bxs-chevron-down sub-menu-arrow arrow", "background-colour": "white", "icon-colour": "black", icon: "CaretRight" })), h("ul", { class: "sub-menu" }, h("li", null, h("a", { href: "https://blog.thebiggive.org.uk/case-studies" }, "Case Studies")), h("li", null, h("a", { href: "https://blog.thebiggive.org.uk/blog" }, "Blog")), h("li", null, h("a", { href: "https://blog.thebiggive.org.uk/reports-insights" }, "Reports & Insights")), h("li", null, h("a", { href: "https://blog.thebiggive.org.uk/press" }, "Press"))))), h("div", { class: "mobile-only" }, secondaryNavLinks)), h("div", { class: "mobile-social-icon-wrap mobile-only" }, h("biggive-social-icon", { service: "Facebook", url: "https://www.facebook.com/BigGive.org", "background-colour": "tertiary", "icon-colour": "black" }), h("biggive-social-icon", { service: "Twitter", url: "https://twitter.com/BigGive", "background-colour": "tertiary", "icon-colour": "black" }), h("biggive-social-icon", { service: "LinkedIn", url: "https://uk.linkedin.com/company/big-give", "background-colour": "tertiary", "icon-colour": "black" }), h("biggive-social-icon", { service: "YouTube", url: "https://www.youtube.com/channel/UC9_wH1aaTuZurJ-F9R8GDcA", "background-colour": "tertiary", "icon-colour": "black" }), h("biggive-social-icon", { service: "Instagram", url: "https://www.instagram.com/biggiveorg", "background-colour": "tertiary", "icon-colour": "black" })))))));
|
|
105
|
+
};
|
|
106
|
+
return this.usePresetMenuContent ? presetContentMenu() : slotBasedMenu();
|
|
91
107
|
}
|
|
92
108
|
get host() { return this; }
|
|
93
109
|
static get style() { return biggiveMainMenuCss; }
|
|
94
110
|
}, [1, "biggive-main-menu", {
|
|
95
111
|
"logoUrl": [1, "logo-url"],
|
|
112
|
+
"usePresetMenuContent": [4, "use-preset-menu-content"],
|
|
96
113
|
"closeMobileMenuFromOutside": [64]
|
|
97
114
|
}]);
|
|
98
115
|
function defineCustomElement$1() {
|
|
99
116
|
if (typeof customElements === "undefined") {
|
|
100
117
|
return;
|
|
101
118
|
}
|
|
102
|
-
const components = ["biggive-main-menu", "biggive-misc-icon"];
|
|
119
|
+
const components = ["biggive-main-menu", "biggive-misc-icon", "biggive-social-icon"];
|
|
103
120
|
components.forEach(tagName => { switch (tagName) {
|
|
104
121
|
case "biggive-main-menu":
|
|
105
122
|
if (!customElements.get(tagName)) {
|
|
@@ -107,6 +124,11 @@ function defineCustomElement$1() {
|
|
|
107
124
|
}
|
|
108
125
|
break;
|
|
109
126
|
case "biggive-misc-icon":
|
|
127
|
+
if (!customElements.get(tagName)) {
|
|
128
|
+
defineCustomElement$3();
|
|
129
|
+
}
|
|
130
|
+
break;
|
|
131
|
+
case "biggive-social-icon":
|
|
110
132
|
if (!customElements.get(tagName)) {
|
|
111
133
|
defineCustomElement$2();
|
|
112
134
|
}
|
|
@@ -1,46 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { F as FontAwesomeIconsService } from './fontawesome-icons.js';
|
|
3
|
-
|
|
4
|
-
const biggiveSocialIconCss = "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-1:hover,.background-colour-brand-1{background-color:#B30510}.background-colour-hover-brand-2:hover,.background-colour-brand-2{background-color:#6E0887}.background-colour-hover-brand-3:hover,.background-colour-brand-3{background-color:#50B400}.background-colour-hover-brand-4:hover,.background-colour-brand-4{background-color:#FFE500}.background-colour-hover-brand-5:hover,.background-colour-brand-5{background-color:#F07D00}.background-colour-hover-brand-6:hover,.background-colour-brand-6{background-color:#CBC8C8}.background-colour-hover-white:hover,.background-colour-white{background-color:#FFFFFF}.background-colour-hover-black:hover,.background-colour-black{background-color:#000000}.background-colour-hover-white:hover,.background-colour-white{background-color:#FFFFFF}.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}.fill-primary{fill:#2C089B}.fill-secondary{fill:#2AF135}.fill-tertiary{fill:#FF7272}.fill-brand-1{fill:#B30510}.fill-brand-2{fill:#6E0887}.fill-brand-3{fill:#50B400}.fill-brand-4{fill:#FFE500}.fill-brand-5{fill:#F07D00}.fill-brand-6{fill:#CBC8C8}.fill-brand-mhf-turquoise{fill:#62CFC9}.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-red{fill:red}:host{display:contents}.social-icon-item{margin-right:6px;width:40px;height:40px;border-radius:50%;text-align:center;transition:all ease-in-out 0.5s;display:inline-block;margin-right:10px}.social-icon-item.colour-scheme-primary{background-color:#2C089B}.social-icon-item.colour-scheme-primary svg{fill:#FFFFFF}.social-icon-item.colour-scheme-secondary{background-color:#2AF135}.social-icon-item.colour-scheme-secondary svg{fill:#000000}.social-icon-item.colour-scheme-tertiary{background-color:#FF7272}.social-icon-item.colour-scheme-tertiary svg{fill:#000000}.social-icon-item.colour-scheme-brand-1{background-color:#B30510}.social-icon-item.colour-scheme-brand-1 svg{fill:#000000}.social-icon-item.colour-scheme-brand-2{background-color:#6E0887}.social-icon-item.colour-scheme-brand-2 svg{fill:#000000}.social-icon-item.colour-scheme-brand-3{background-color:#50B400}.social-icon-item.colour-scheme-brand-3 svg{fill:#000000}.social-icon-item.colour-scheme-brand-4{background-color:#FFE500}.social-icon-item.colour-scheme-brand-4 svg{fill:#000000}.social-icon-item.colour-scheme-brand-5{background-color:#F07D00}.social-icon-item.colour-scheme-brand-5 svg{fill:#000000}.social-icon-item.colour-scheme-brand-6{background-color:#CBC8C8}.social-icon-item.colour-scheme-brand-6 svg{fill:#000000}.social-icon-item.colour-scheme-white{background-color:#FFFFFF}.social-icon-item.colour-scheme-white svg{fill:#000000}.social-icon-item.colour-scheme-black{background-color:#000000}.social-icon-item.colour-scheme-black svg{fill:#FFFFFF}.social-icon-item.colour-scheme-black{background-color:#D7D7D7}.social-icon-item.colour-scheme-black svg{fill:#D7D7D7}.social-icon-item.colour-scheme-black{background-color:#E8E8E8}.social-icon-item.colour-scheme-black svg{fill:#E8E8E8}.social-icon-item.colour-scheme-black{background-color:#8A8A8A}.social-icon-item.colour-scheme-black svg{fill:#8A8A8A}.social-icon-item.colour-scheme-black{background-color:#4A4A4A}.social-icon-item.colour-scheme-black svg{fill:#4A4A4A}.social-icon-item:hover{background-color:#FFFFFF}.social-icon-item:hover svg{fill:#000000}.social-icon-item a{display:grid;position:relative;padding:10px;box-sizing:border-box;height:100%}.social-icon-item a svg{width:100%;height:100%}.social-icon-item.wide{margin-right:30px}@media screen and (max-width: 576px){.social-icon-item{width:40px;height:40px;border-radius:50%;text-align:center;transition:all ease-in-out 0.5s;display:inline-block;margin-right:10px;width:30px;height:30px}.social-icon-item.colour-scheme-primary{background-color:#2C089B}.social-icon-item.colour-scheme-primary svg{fill:#FFFFFF}.social-icon-item.colour-scheme-secondary{background-color:#2AF135}.social-icon-item.colour-scheme-secondary svg{fill:#000000}.social-icon-item.colour-scheme-tertiary{background-color:#FF7272}.social-icon-item.colour-scheme-tertiary svg{fill:#000000}.social-icon-item.colour-scheme-brand-1{background-color:#B30510}.social-icon-item.colour-scheme-brand-1 svg{fill:#000000}.social-icon-item.colour-scheme-brand-2{background-color:#6E0887}.social-icon-item.colour-scheme-brand-2 svg{fill:#000000}.social-icon-item.colour-scheme-brand-3{background-color:#50B400}.social-icon-item.colour-scheme-brand-3 svg{fill:#000000}.social-icon-item.colour-scheme-brand-4{background-color:#FFE500}.social-icon-item.colour-scheme-brand-4 svg{fill:#000000}.social-icon-item.colour-scheme-brand-5{background-color:#F07D00}.social-icon-item.colour-scheme-brand-5 svg{fill:#000000}.social-icon-item.colour-scheme-brand-6{background-color:#CBC8C8}.social-icon-item.colour-scheme-brand-6 svg{fill:#000000}.social-icon-item.colour-scheme-white{background-color:#FFFFFF}.social-icon-item.colour-scheme-white svg{fill:#000000}.social-icon-item.colour-scheme-black{background-color:#000000}.social-icon-item.colour-scheme-black svg{fill:#FFFFFF}.social-icon-item.colour-scheme-black{background-color:#D7D7D7}.social-icon-item.colour-scheme-black svg{fill:#D7D7D7}.social-icon-item.colour-scheme-black{background-color:#E8E8E8}.social-icon-item.colour-scheme-black svg{fill:#E8E8E8}.social-icon-item.colour-scheme-black{background-color:#8A8A8A}.social-icon-item.colour-scheme-black svg{fill:#8A8A8A}.social-icon-item.colour-scheme-black{background-color:#4A4A4A}.social-icon-item.colour-scheme-black svg{fill:#4A4A4A}.social-icon-item:hover{background-color:#FFFFFF}.social-icon-item:hover svg{fill:#000000}.social-icon-item a{display:grid;position:relative;padding:10px;box-sizing:border-box;height:100%}.social-icon-item a svg{width:100%;height:100%}.social-icon-item a{padding:6px}.social-icon-item.wide{width:40px;height:40px;border-radius:50%;text-align:center;transition:all ease-in-out 0.5s;display:inline-block;margin-right:10px;width:30px;height:30px}.social-icon-item.wide.colour-scheme-primary{background-color:#2C089B}.social-icon-item.wide.colour-scheme-primary svg{fill:#FFFFFF}.social-icon-item.wide.colour-scheme-secondary{background-color:#2AF135}.social-icon-item.wide.colour-scheme-secondary svg{fill:#000000}.social-icon-item.wide.colour-scheme-tertiary{background-color:#FF7272}.social-icon-item.wide.colour-scheme-tertiary svg{fill:#000000}.social-icon-item.wide.colour-scheme-brand-1{background-color:#B30510}.social-icon-item.wide.colour-scheme-brand-1 svg{fill:#000000}.social-icon-item.wide.colour-scheme-brand-2{background-color:#6E0887}.social-icon-item.wide.colour-scheme-brand-2 svg{fill:#000000}.social-icon-item.wide.colour-scheme-brand-3{background-color:#50B400}.social-icon-item.wide.colour-scheme-brand-3 svg{fill:#000000}.social-icon-item.wide.colour-scheme-brand-4{background-color:#FFE500}.social-icon-item.wide.colour-scheme-brand-4 svg{fill:#000000}.social-icon-item.wide.colour-scheme-brand-5{background-color:#F07D00}.social-icon-item.wide.colour-scheme-brand-5 svg{fill:#000000}.social-icon-item.wide.colour-scheme-brand-6{background-color:#CBC8C8}.social-icon-item.wide.colour-scheme-brand-6 svg{fill:#000000}.social-icon-item.wide.colour-scheme-white{background-color:#FFFFFF}.social-icon-item.wide.colour-scheme-white svg{fill:#000000}.social-icon-item.wide.colour-scheme-black{background-color:#000000}.social-icon-item.wide.colour-scheme-black svg{fill:#FFFFFF}.social-icon-item.wide.colour-scheme-black{background-color:#D7D7D7}.social-icon-item.wide.colour-scheme-black svg{fill:#D7D7D7}.social-icon-item.wide.colour-scheme-black{background-color:#E8E8E8}.social-icon-item.wide.colour-scheme-black svg{fill:#E8E8E8}.social-icon-item.wide.colour-scheme-black{background-color:#8A8A8A}.social-icon-item.wide.colour-scheme-black svg{fill:#8A8A8A}.social-icon-item.wide.colour-scheme-black{background-color:#4A4A4A}.social-icon-item.wide.colour-scheme-black svg{fill:#4A4A4A}.social-icon-item.wide:hover{background-color:#FFFFFF}.social-icon-item.wide:hover svg{fill:#000000}.social-icon-item.wide a{display:grid;position:relative;padding:10px;box-sizing:border-box;height:100%}.social-icon-item.wide a svg{width:100%;height:100%}.social-icon-item.wide a{padding:6px}}";
|
|
5
|
-
|
|
6
|
-
const BiggiveSocialIcon$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
7
|
-
constructor() {
|
|
8
|
-
super();
|
|
9
|
-
this.__registerHost();
|
|
10
|
-
this.service = 'Twitter';
|
|
11
|
-
this.backgroundColour = 'primary';
|
|
12
|
-
this.iconColour = 'white';
|
|
13
|
-
this.wide = false;
|
|
14
|
-
this.url = '#';
|
|
15
|
-
}
|
|
16
|
-
getSocialIcon() {
|
|
17
|
-
var icon = FontAwesomeIconsService.getSocialIcon(this.service);
|
|
18
|
-
return icon;
|
|
19
|
-
}
|
|
20
|
-
render() {
|
|
21
|
-
return (h("div", { class: 'social-icon-item background-colour-' + this.backgroundColour + (this.wide ? ' wide' : '') }, h("a", { href: this.url, "aria-label": `Big Give on ${this.service}`, target: "_blank" }, h("svg", { width: this.getSocialIcon().icon[0], height: this.getSocialIcon().icon[1], xmlns: "http://www.w3.org/2000/svg", class: 'fill-' + this.iconColour, viewBox: '0 0 ' + this.getSocialIcon().icon[0] + ' ' + this.getSocialIcon().icon[1] }, h("path", { d: this.getSocialIcon().icon[4].toString() })))));
|
|
22
|
-
}
|
|
23
|
-
static get style() { return biggiveSocialIconCss; }
|
|
24
|
-
}, [0, "biggive-social-icon", {
|
|
25
|
-
"service": [1],
|
|
26
|
-
"backgroundColour": [1, "background-colour"],
|
|
27
|
-
"iconColour": [1, "icon-colour"],
|
|
28
|
-
"wide": [4],
|
|
29
|
-
"url": [1]
|
|
30
|
-
}]);
|
|
31
|
-
function defineCustomElement$1() {
|
|
32
|
-
if (typeof customElements === "undefined") {
|
|
33
|
-
return;
|
|
34
|
-
}
|
|
35
|
-
const components = ["biggive-social-icon"];
|
|
36
|
-
components.forEach(tagName => { switch (tagName) {
|
|
37
|
-
case "biggive-social-icon":
|
|
38
|
-
if (!customElements.get(tagName)) {
|
|
39
|
-
customElements.define(tagName, BiggiveSocialIcon$1);
|
|
40
|
-
}
|
|
41
|
-
break;
|
|
42
|
-
} });
|
|
43
|
-
}
|
|
1
|
+
import { B as BiggiveSocialIcon$1, d as defineCustomElement$1 } from './biggive-social-icon2.js';
|
|
44
2
|
|
|
45
3
|
const BiggiveSocialIcon = BiggiveSocialIcon$1;
|
|
46
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { F as FontAwesomeIconsService } from './fontawesome-icons.js';
|
|
3
|
+
|
|
4
|
+
const biggiveSocialIconCss = "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-1:hover,.background-colour-brand-1{background-color:#B30510}.background-colour-hover-brand-2:hover,.background-colour-brand-2{background-color:#6E0887}.background-colour-hover-brand-3:hover,.background-colour-brand-3{background-color:#50B400}.background-colour-hover-brand-4:hover,.background-colour-brand-4{background-color:#FFE500}.background-colour-hover-brand-5:hover,.background-colour-brand-5{background-color:#F07D00}.background-colour-hover-brand-6:hover,.background-colour-brand-6{background-color:#CBC8C8}.background-colour-hover-white:hover,.background-colour-white{background-color:#FFFFFF}.background-colour-hover-black:hover,.background-colour-black{background-color:#000000}.background-colour-hover-white:hover,.background-colour-white{background-color:#FFFFFF}.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}.fill-primary{fill:#2C089B}.fill-secondary{fill:#2AF135}.fill-tertiary{fill:#FF7272}.fill-brand-1{fill:#B30510}.fill-brand-2{fill:#6E0887}.fill-brand-3{fill:#50B400}.fill-brand-4{fill:#FFE500}.fill-brand-5{fill:#F07D00}.fill-brand-6{fill:#CBC8C8}.fill-brand-mhf-turquoise{fill:#62CFC9}.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-red{fill:red}:host{display:contents}.social-icon-item{margin-right:6px;width:40px;height:40px;border-radius:50%;text-align:center;transition:all ease-in-out 0.5s;display:inline-block;margin-right:10px}.social-icon-item.colour-scheme-primary{background-color:#2C089B}.social-icon-item.colour-scheme-primary svg{fill:#FFFFFF}.social-icon-item.colour-scheme-secondary{background-color:#2AF135}.social-icon-item.colour-scheme-secondary svg{fill:#000000}.social-icon-item.colour-scheme-tertiary{background-color:#FF7272}.social-icon-item.colour-scheme-tertiary svg{fill:#000000}.social-icon-item.colour-scheme-brand-1{background-color:#B30510}.social-icon-item.colour-scheme-brand-1 svg{fill:#000000}.social-icon-item.colour-scheme-brand-2{background-color:#6E0887}.social-icon-item.colour-scheme-brand-2 svg{fill:#000000}.social-icon-item.colour-scheme-brand-3{background-color:#50B400}.social-icon-item.colour-scheme-brand-3 svg{fill:#000000}.social-icon-item.colour-scheme-brand-4{background-color:#FFE500}.social-icon-item.colour-scheme-brand-4 svg{fill:#000000}.social-icon-item.colour-scheme-brand-5{background-color:#F07D00}.social-icon-item.colour-scheme-brand-5 svg{fill:#000000}.social-icon-item.colour-scheme-brand-6{background-color:#CBC8C8}.social-icon-item.colour-scheme-brand-6 svg{fill:#000000}.social-icon-item.colour-scheme-white{background-color:#FFFFFF}.social-icon-item.colour-scheme-white svg{fill:#000000}.social-icon-item.colour-scheme-black{background-color:#000000}.social-icon-item.colour-scheme-black svg{fill:#FFFFFF}.social-icon-item.colour-scheme-black{background-color:#D7D7D7}.social-icon-item.colour-scheme-black svg{fill:#D7D7D7}.social-icon-item.colour-scheme-black{background-color:#E8E8E8}.social-icon-item.colour-scheme-black svg{fill:#E8E8E8}.social-icon-item.colour-scheme-black{background-color:#8A8A8A}.social-icon-item.colour-scheme-black svg{fill:#8A8A8A}.social-icon-item.colour-scheme-black{background-color:#4A4A4A}.social-icon-item.colour-scheme-black svg{fill:#4A4A4A}.social-icon-item:hover{background-color:#FFFFFF}.social-icon-item:hover svg{fill:#000000}.social-icon-item a{display:grid;position:relative;padding:10px;box-sizing:border-box;height:100%}.social-icon-item a svg{width:100%;height:100%}.social-icon-item.wide{margin-right:30px}@media screen and (max-width: 576px){.social-icon-item{width:40px;height:40px;border-radius:50%;text-align:center;transition:all ease-in-out 0.5s;display:inline-block;margin-right:10px;width:30px;height:30px}.social-icon-item.colour-scheme-primary{background-color:#2C089B}.social-icon-item.colour-scheme-primary svg{fill:#FFFFFF}.social-icon-item.colour-scheme-secondary{background-color:#2AF135}.social-icon-item.colour-scheme-secondary svg{fill:#000000}.social-icon-item.colour-scheme-tertiary{background-color:#FF7272}.social-icon-item.colour-scheme-tertiary svg{fill:#000000}.social-icon-item.colour-scheme-brand-1{background-color:#B30510}.social-icon-item.colour-scheme-brand-1 svg{fill:#000000}.social-icon-item.colour-scheme-brand-2{background-color:#6E0887}.social-icon-item.colour-scheme-brand-2 svg{fill:#000000}.social-icon-item.colour-scheme-brand-3{background-color:#50B400}.social-icon-item.colour-scheme-brand-3 svg{fill:#000000}.social-icon-item.colour-scheme-brand-4{background-color:#FFE500}.social-icon-item.colour-scheme-brand-4 svg{fill:#000000}.social-icon-item.colour-scheme-brand-5{background-color:#F07D00}.social-icon-item.colour-scheme-brand-5 svg{fill:#000000}.social-icon-item.colour-scheme-brand-6{background-color:#CBC8C8}.social-icon-item.colour-scheme-brand-6 svg{fill:#000000}.social-icon-item.colour-scheme-white{background-color:#FFFFFF}.social-icon-item.colour-scheme-white svg{fill:#000000}.social-icon-item.colour-scheme-black{background-color:#000000}.social-icon-item.colour-scheme-black svg{fill:#FFFFFF}.social-icon-item.colour-scheme-black{background-color:#D7D7D7}.social-icon-item.colour-scheme-black svg{fill:#D7D7D7}.social-icon-item.colour-scheme-black{background-color:#E8E8E8}.social-icon-item.colour-scheme-black svg{fill:#E8E8E8}.social-icon-item.colour-scheme-black{background-color:#8A8A8A}.social-icon-item.colour-scheme-black svg{fill:#8A8A8A}.social-icon-item.colour-scheme-black{background-color:#4A4A4A}.social-icon-item.colour-scheme-black svg{fill:#4A4A4A}.social-icon-item:hover{background-color:#FFFFFF}.social-icon-item:hover svg{fill:#000000}.social-icon-item a{display:grid;position:relative;padding:10px;box-sizing:border-box;height:100%}.social-icon-item a svg{width:100%;height:100%}.social-icon-item a{padding:6px}.social-icon-item.wide{width:40px;height:40px;border-radius:50%;text-align:center;transition:all ease-in-out 0.5s;display:inline-block;margin-right:10px;width:30px;height:30px}.social-icon-item.wide.colour-scheme-primary{background-color:#2C089B}.social-icon-item.wide.colour-scheme-primary svg{fill:#FFFFFF}.social-icon-item.wide.colour-scheme-secondary{background-color:#2AF135}.social-icon-item.wide.colour-scheme-secondary svg{fill:#000000}.social-icon-item.wide.colour-scheme-tertiary{background-color:#FF7272}.social-icon-item.wide.colour-scheme-tertiary svg{fill:#000000}.social-icon-item.wide.colour-scheme-brand-1{background-color:#B30510}.social-icon-item.wide.colour-scheme-brand-1 svg{fill:#000000}.social-icon-item.wide.colour-scheme-brand-2{background-color:#6E0887}.social-icon-item.wide.colour-scheme-brand-2 svg{fill:#000000}.social-icon-item.wide.colour-scheme-brand-3{background-color:#50B400}.social-icon-item.wide.colour-scheme-brand-3 svg{fill:#000000}.social-icon-item.wide.colour-scheme-brand-4{background-color:#FFE500}.social-icon-item.wide.colour-scheme-brand-4 svg{fill:#000000}.social-icon-item.wide.colour-scheme-brand-5{background-color:#F07D00}.social-icon-item.wide.colour-scheme-brand-5 svg{fill:#000000}.social-icon-item.wide.colour-scheme-brand-6{background-color:#CBC8C8}.social-icon-item.wide.colour-scheme-brand-6 svg{fill:#000000}.social-icon-item.wide.colour-scheme-white{background-color:#FFFFFF}.social-icon-item.wide.colour-scheme-white svg{fill:#000000}.social-icon-item.wide.colour-scheme-black{background-color:#000000}.social-icon-item.wide.colour-scheme-black svg{fill:#FFFFFF}.social-icon-item.wide.colour-scheme-black{background-color:#D7D7D7}.social-icon-item.wide.colour-scheme-black svg{fill:#D7D7D7}.social-icon-item.wide.colour-scheme-black{background-color:#E8E8E8}.social-icon-item.wide.colour-scheme-black svg{fill:#E8E8E8}.social-icon-item.wide.colour-scheme-black{background-color:#8A8A8A}.social-icon-item.wide.colour-scheme-black svg{fill:#8A8A8A}.social-icon-item.wide.colour-scheme-black{background-color:#4A4A4A}.social-icon-item.wide.colour-scheme-black svg{fill:#4A4A4A}.social-icon-item.wide:hover{background-color:#FFFFFF}.social-icon-item.wide:hover svg{fill:#000000}.social-icon-item.wide a{display:grid;position:relative;padding:10px;box-sizing:border-box;height:100%}.social-icon-item.wide a svg{width:100%;height:100%}.social-icon-item.wide a{padding:6px}}";
|
|
5
|
+
|
|
6
|
+
const BiggiveSocialIcon = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
7
|
+
constructor() {
|
|
8
|
+
super();
|
|
9
|
+
this.__registerHost();
|
|
10
|
+
this.service = 'Twitter';
|
|
11
|
+
this.backgroundColour = 'primary';
|
|
12
|
+
this.iconColour = 'white';
|
|
13
|
+
this.wide = false;
|
|
14
|
+
this.url = '#';
|
|
15
|
+
}
|
|
16
|
+
getSocialIcon() {
|
|
17
|
+
var icon = FontAwesomeIconsService.getSocialIcon(this.service);
|
|
18
|
+
return icon;
|
|
19
|
+
}
|
|
20
|
+
render() {
|
|
21
|
+
return (h("div", { class: 'social-icon-item background-colour-' + this.backgroundColour + (this.wide ? ' wide' : '') }, h("a", { href: this.url, "aria-label": `Big Give on ${this.service}`, target: "_blank" }, h("svg", { width: this.getSocialIcon().icon[0], height: this.getSocialIcon().icon[1], xmlns: "http://www.w3.org/2000/svg", class: 'fill-' + this.iconColour, viewBox: '0 0 ' + this.getSocialIcon().icon[0] + ' ' + this.getSocialIcon().icon[1] }, h("path", { d: this.getSocialIcon().icon[4].toString() })))));
|
|
22
|
+
}
|
|
23
|
+
static get style() { return biggiveSocialIconCss; }
|
|
24
|
+
}, [0, "biggive-social-icon", {
|
|
25
|
+
"service": [1],
|
|
26
|
+
"backgroundColour": [1, "background-colour"],
|
|
27
|
+
"iconColour": [1, "icon-colour"],
|
|
28
|
+
"wide": [4],
|
|
29
|
+
"url": [1]
|
|
30
|
+
}]);
|
|
31
|
+
function defineCustomElement() {
|
|
32
|
+
if (typeof customElements === "undefined") {
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
const components = ["biggive-social-icon"];
|
|
36
|
+
components.forEach(tagName => { switch (tagName) {
|
|
37
|
+
case "biggive-social-icon":
|
|
38
|
+
if (!customElements.get(tagName)) {
|
|
39
|
+
customElements.define(tagName, BiggiveSocialIcon);
|
|
40
|
+
}
|
|
41
|
+
break;
|
|
42
|
+
} });
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export { BiggiveSocialIcon as B, defineCustomElement as d };
|