@biggive/components 0.0.21 → 0.0.23
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/assets/images/logo-biggive-black.svg +6 -0
- package/dist/biggive/assets/images/quote.svg +4 -0
- package/dist/biggive/assets/images/triangles-combined.svg +5 -0
- package/dist/biggive/biggive.esm.js +1 -1
- package/dist/biggive/p-068c6901.entry.js +1 -0
- package/dist/biggive/p-1805f9ab.js +2 -0
- package/dist/biggive/p-19aac764.entry.js +1 -0
- package/dist/biggive/p-278fbc22.entry.js +1 -0
- package/dist/biggive/p-293fa43e.entry.js +1 -0
- package/dist/biggive/p-29921058.entry.js +1 -0
- package/dist/biggive/p-2c7ccc17.entry.js +1 -0
- package/dist/biggive/p-2d9408d3.entry.js +1 -0
- package/dist/biggive/p-3670bfe5.entry.js +1 -0
- package/dist/biggive/p-43c02e71.js +6 -0
- package/dist/biggive/p-46a368de.entry.js +1 -0
- package/dist/biggive/p-558ebb94.entry.js +1 -0
- package/dist/biggive/p-664bfe6e.entry.js +1 -0
- package/dist/biggive/p-7637ac94.entry.js +1 -0
- package/dist/biggive/p-78129441.entry.js +1 -0
- package/dist/biggive/p-8b5487c1.entry.js +1 -0
- package/dist/biggive/p-9125d753.entry.js +1 -0
- package/dist/biggive/p-a62e9af0.entry.js +1 -0
- package/dist/biggive/p-a6da36d4.js +6 -0
- package/dist/biggive/p-ab82bcf1.entry.js +1 -0
- package/dist/biggive/p-b4d5f946.entry.js +1 -0
- package/dist/biggive/p-c84740c3.entry.js +1 -0
- package/dist/biggive/p-cc6e33a6.entry.js +1 -0
- package/dist/biggive/p-db3da9bb.entry.js +1 -0
- package/dist/biggive/p-e0347718.entry.js +1 -0
- package/dist/biggive/p-e39db89c.entry.js +1 -0
- package/dist/biggive/p-ea35e2fe.entry.js +1 -0
- package/dist/biggive/p-ef6c1ed4.entry.js +1 -0
- package/dist/biggive/p-faa6817c.entry.js +1 -0
- package/dist/cjs/biggive-back-to-top_11.cjs.entry.js +365 -0
- package/dist/cjs/biggive-basic-card.cjs.entry.js +55 -0
- package/dist/cjs/biggive-beneficiary-icon.cjs.entry.js +45 -0
- package/dist/cjs/biggive-boxed-content.cjs.entry.js +48 -0
- package/dist/cjs/biggive-branded-image.cjs.entry.js +35 -0
- package/dist/cjs/biggive-call-to-action.cjs.entry.js +83 -0
- package/dist/cjs/biggive-campaign-card-filter-grid.cjs.entry.js +50 -0
- package/dist/cjs/biggive-campaign-card.cjs.entry.js +97 -0
- package/dist/cjs/biggive-category-icon.cjs.entry.js +45 -0
- package/dist/cjs/biggive-form-field-select.cjs.entry.js +19 -0
- package/dist/cjs/biggive-form.cjs.entry.js +19 -0
- package/dist/cjs/biggive-formatted-text.cjs.entry.js +27 -0
- package/dist/cjs/biggive-grid.cjs.entry.js +31 -0
- package/dist/cjs/biggive-hero-image.cjs.entry.js +73 -0
- package/dist/cjs/biggive-icon-group.cjs.entry.js +27 -0
- package/dist/cjs/biggive-image-feature.cjs.entry.js +67 -0
- package/dist/cjs/biggive-image.cjs.entry.js +27 -0
- package/dist/cjs/biggive-page-section.cjs.entry.js +35 -0
- package/dist/cjs/biggive-quote.cjs.entry.js +35 -0
- package/dist/cjs/biggive-search.cjs.entry.js +36 -0
- package/dist/cjs/biggive-tab.cjs.entry.js +23 -0
- package/dist/cjs/biggive-tabbed-content.cjs.entry.js +27 -0
- package/dist/cjs/biggive-text-input.cjs.entry.js +19 -0
- package/dist/cjs/biggive-totalizer.cjs.entry.js +69 -0
- package/dist/cjs/biggive-video-feature.cjs.entry.js +67 -0
- package/dist/cjs/biggive-video.cjs.entry.js +27 -0
- package/dist/cjs/biggive.cjs.js +2 -2
- package/dist/cjs/fontawesome-icons-110f532d.js +240 -0
- package/dist/cjs/{index-a275852e.js → index-87518c3f.js} +96 -1
- package/dist/{components/biggive-campaign-card2.js → cjs/index.es-d3570170.js} +62 -293
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/assets/images/logo-biggive-black.svg +6 -0
- package/dist/collection/assets/images/quote.svg +4 -0
- package/dist/collection/assets/images/triangles-combined.svg +5 -0
- package/dist/collection/collection-manifest.json +34 -1
- package/dist/collection/components/biggive-back-to-top/biggive-back-to-top.css +413 -0
- package/dist/collection/components/biggive-back-to-top/biggive-back-to-top.js +17 -0
- package/dist/collection/components/biggive-back-to-top/biggive-back-to-top.stories.js +8 -0
- package/dist/collection/components/biggive-basic-card/biggive-basic-card.css +433 -0
- package/dist/collection/components/biggive-basic-card/biggive-basic-card.js +226 -0
- package/dist/collection/components/biggive-basic-card/biggive-basic-card.stories.js +67 -0
- package/dist/collection/components/biggive-beneficiary-icon/biggive-beneficiary-icon.css +474 -0
- package/dist/collection/components/biggive-beneficiary-icon/biggive-beneficiary-icon.js +137 -0
- package/dist/collection/components/biggive-beneficiary-icon/biggive-beneficiary-icon.stories.js +49 -0
- package/dist/collection/components/biggive-boxed-content/biggive-boxed-content.css +408 -0
- package/dist/collection/components/biggive-boxed-content/biggive-boxed-content.js +138 -0
- package/dist/collection/components/biggive-boxed-content/biggive-boxed-content.stories.js +60 -0
- package/dist/collection/components/biggive-branded-image/biggive-branded-image.css +425 -0
- package/dist/collection/components/biggive-branded-image/biggive-branded-image.js +111 -0
- package/dist/collection/components/biggive-branded-image/biggive-branded-image.stories.js +37 -0
- package/dist/collection/components/biggive-button/biggive-button.css +411 -0
- package/dist/collection/components/biggive-button/biggive-button.js +129 -0
- package/dist/collection/components/biggive-button/biggive-button.stories.js +42 -0
- package/dist/collection/components/biggive-call-to-action/biggive-call-to-action.css +439 -0
- package/dist/collection/components/biggive-call-to-action/biggive-call-to-action.js +380 -0
- package/dist/collection/components/biggive-call-to-action/biggive-call-to-action.stories.js +124 -0
- package/dist/collection/components/biggive-campaign-card/biggive-campaign-card.css +423 -108
- package/dist/collection/components/biggive-campaign-card/biggive-campaign-card.js +191 -128
- package/dist/collection/components/biggive-campaign-card/biggive-campaign-card.stories.js +105 -0
- package/dist/collection/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.css +438 -0
- package/dist/collection/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.js +151 -0
- package/dist/collection/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.stories.js +43 -0
- package/dist/collection/components/biggive-campaign-highlights/biggive-campaign-highlights.css +477 -0
- package/dist/collection/components/biggive-campaign-highlights/biggive-campaign-highlights.js +339 -0
- package/dist/collection/components/biggive-campaign-highlights/biggive-campaign-highlights.stories.js +89 -0
- package/dist/collection/components/biggive-category-icon/biggive-category-icon.css +474 -0
- package/dist/collection/components/biggive-category-icon/biggive-category-icon.js +137 -0
- package/dist/collection/components/biggive-category-icon/biggive-category-icon.stories.js +49 -0
- package/dist/collection/components/biggive-footer/biggive-footer.css +458 -0
- package/dist/collection/components/biggive-footer/biggive-footer.js +68 -0
- package/dist/collection/components/biggive-footer/biggive-footer.stories.js +27 -0
- package/dist/collection/components/biggive-form/biggive-form.css +3 -0
- package/dist/collection/components/biggive-form/biggive-form.js +15 -0
- package/dist/collection/components/{demo-campaign-cards/demo-campaign-cards.css → biggive-form-field-select/biggive-form-field-select.css} +0 -0
- package/dist/collection/components/biggive-form-field-select/biggive-form-field-select.js +15 -0
- package/dist/collection/components/biggive-form-field-text-input/biggive-text-input.css +3 -0
- package/dist/collection/components/biggive-form-field-text-input/biggive-text-input.js +15 -0
- package/dist/collection/components/biggive-formatted-text/biggive-formatted-text.css +409 -0
- package/dist/collection/components/biggive-formatted-text/biggive-formatted-text.js +63 -0
- package/dist/collection/components/biggive-formatted-text/biggive-formatted-text.stories.js +52 -0
- package/dist/collection/components/biggive-grid/biggive-grid.css +421 -2
- package/dist/collection/components/biggive-grid/biggive-grid.js +73 -3
- package/dist/collection/components/biggive-grid/biggive-grid.stories.js +109 -0
- package/dist/collection/components/biggive-header/biggive-header.css +488 -0
- package/dist/collection/components/biggive-header/biggive-header.js +77 -0
- package/dist/collection/components/biggive-header/biggive-header.stories.js +20 -0
- package/dist/collection/components/biggive-heading/biggive-heading.css +445 -0
- package/dist/collection/components/biggive-heading/biggive-heading.js +130 -0
- package/dist/collection/components/biggive-heading/biggive-heading.stories.js +51 -0
- package/dist/collection/components/biggive-hero-image/biggive-hero-image.css +489 -0
- package/dist/collection/components/biggive-hero-image/biggive-hero-image.js +317 -0
- package/dist/collection/components/biggive-hero-image/biggive-hero-image.stories.js +34 -0
- package/dist/collection/components/biggive-icon-group/biggive-icon-group.css +417 -0
- package/dist/collection/components/biggive-icon-group/biggive-icon-group.js +65 -0
- package/dist/collection/components/biggive-icon-group/biggive-icon-group.stories.js +26 -0
- package/dist/collection/components/biggive-image/biggive-image.css +405 -0
- package/dist/collection/components/biggive-image/biggive-image.js +64 -0
- package/dist/collection/components/biggive-image/biggive-image.stories.js +26 -0
- package/dist/collection/components/biggive-image-feature/biggive-image-feature.css +436 -0
- package/dist/collection/components/biggive-image-feature/biggive-image-feature.js +290 -0
- package/dist/collection/components/biggive-image-feature/biggive-image-feature.stories.js +96 -0
- package/dist/collection/components/biggive-misc-icon/biggive-misc-icon.css +458 -0
- package/dist/collection/components/biggive-misc-icon/biggive-misc-icon.js +113 -0
- package/dist/collection/components/biggive-misc-icon/biggive-misc-icon.stories.js +44 -0
- package/dist/collection/components/biggive-page-column/biggive-page-column.css +3 -0
- package/dist/collection/components/biggive-page-column/biggive-page-column.js +14 -0
- package/dist/collection/components/biggive-page-column/biggive-page-column.stories.js +18 -0
- package/dist/collection/components/biggive-page-columns/biggive-page-columns.css +422 -0
- package/dist/collection/components/biggive-page-columns/biggive-page-columns.js +45 -0
- package/dist/collection/components/biggive-page-columns/biggive-page-columns.stories.js +21 -0
- package/dist/collection/components/biggive-page-section/biggive-page-section.css +500 -0
- package/dist/collection/components/biggive-page-section/biggive-page-section.js +108 -0
- package/dist/collection/components/biggive-page-section/biggive-page-section.stories.js +48 -0
- package/dist/collection/components/biggive-progress-bar/biggive-progress-bar.css +403 -0
- package/dist/collection/components/biggive-progress-bar/biggive-progress-bar.js +92 -0
- package/dist/collection/components/biggive-progress-bar/biggive-progress-bar.stories.js +35 -0
- package/dist/collection/components/biggive-quote/biggive-quote.css +417 -0
- package/dist/collection/components/biggive-quote/biggive-quote.js +108 -0
- package/dist/collection/components/biggive-quote/biggive-quote.stories.js +42 -0
- package/dist/collection/components/biggive-search/biggive-search.css +492 -0
- package/dist/collection/components/biggive-search/biggive-search.js +99 -0
- package/dist/collection/components/biggive-search/biggive-search.stories.js +15 -0
- package/dist/collection/components/biggive-social-icon/biggive-social-icon.css +458 -0
- package/dist/collection/components/biggive-social-icon/biggive-social-icon.js +113 -0
- package/dist/collection/components/biggive-social-icon/biggive-social-icon.stories.js +44 -0
- package/dist/collection/components/biggive-tab/biggive-tab.css +405 -0
- package/dist/collection/components/biggive-tab/biggive-tab.js +43 -0
- package/dist/collection/components/biggive-tabbed-content/biggive-tabbed-content.css +405 -0
- package/dist/collection/components/biggive-tabbed-content/biggive-tabbed-content.js +63 -0
- package/dist/collection/components/biggive-tabbed-content/biggive-tabbed-content.stories.js +37 -0
- package/dist/collection/components/biggive-totalizer/biggive-totalizer.css +427 -0
- package/dist/collection/components/biggive-totalizer/biggive-totalizer.js +239 -0
- package/dist/collection/components/biggive-totalizer/biggive-totalizer.stories.js +77 -0
- package/dist/collection/components/biggive-video/biggive-video.css +405 -0
- package/dist/collection/components/biggive-video/biggive-video.js +64 -0
- package/dist/collection/components/biggive-video/biggive-video.stories.js +26 -0
- package/dist/collection/components/biggive-video-feature/biggive-video-feature.css +436 -0
- package/dist/collection/components/biggive-video-feature/biggive-video-feature.js +290 -0
- package/dist/collection/components/biggive-video-feature/biggive-video-feature.stories.js +96 -0
- package/dist/collection/util/{campaign-groups.js → fontawesome-icons.js} +52 -6
- package/dist/components/biggive-back-to-top.d.ts +11 -0
- package/dist/components/biggive-back-to-top.js +33 -0
- package/dist/components/biggive-basic-card.d.ts +11 -0
- package/dist/components/biggive-basic-card.js +85 -0
- package/dist/components/biggive-beneficiary-icon.d.ts +11 -0
- package/dist/components/biggive-beneficiary-icon.js +63 -0
- package/dist/components/biggive-boxed-content.d.ts +11 -0
- package/dist/components/biggive-boxed-content.js +68 -0
- package/dist/components/biggive-branded-image.d.ts +11 -0
- package/dist/components/biggive-branded-image.js +54 -0
- package/dist/components/biggive-button.d.ts +11 -0
- package/dist/components/biggive-button.js +6 -0
- package/dist/components/biggive-button2.js +56 -0
- package/dist/components/biggive-call-to-action.d.ts +11 -0
- package/dist/components/biggive-call-to-action.js +120 -0
- package/dist/components/biggive-campaign-card-filter-grid.d.ts +11 -0
- package/dist/components/biggive-campaign-card-filter-grid.js +70 -0
- package/dist/components/biggive-campaign-card.js +136 -1
- package/dist/components/biggive-campaign-highlights.d.ts +11 -0
- package/dist/components/biggive-campaign-highlights.js +125 -0
- package/dist/components/biggive-category-icon.d.ts +11 -0
- package/dist/components/biggive-category-icon.js +63 -0
- package/dist/components/biggive-footer.d.ts +11 -0
- package/dist/components/biggive-footer.js +71 -0
- package/dist/components/biggive-form-field-select.d.ts +11 -0
- package/dist/components/biggive-form-field-select.js +33 -0
- package/dist/components/biggive-form.d.ts +11 -0
- package/dist/components/biggive-form.js +33 -0
- package/dist/components/biggive-formatted-text.d.ts +11 -0
- package/dist/components/biggive-formatted-text.js +44 -0
- package/dist/components/biggive-grid.js +44 -1
- package/dist/components/biggive-header.d.ts +11 -0
- package/dist/components/biggive-header.js +63 -0
- package/dist/components/biggive-heading.d.ts +11 -0
- package/dist/components/biggive-heading.js +60 -0
- package/dist/components/biggive-hero-image.d.ts +11 -0
- package/dist/components/biggive-hero-image.js +107 -0
- package/dist/components/biggive-icon-group.d.ts +11 -0
- package/dist/components/biggive-icon-group.js +44 -0
- package/dist/components/biggive-image-feature.d.ts +11 -0
- package/dist/components/biggive-image-feature.js +100 -0
- package/dist/components/biggive-image.d.ts +11 -0
- package/dist/components/biggive-image.js +44 -0
- package/dist/components/biggive-misc-icon.d.ts +11 -0
- package/dist/components/biggive-misc-icon.js +6 -0
- package/dist/components/biggive-misc-icon2.js +55 -0
- package/dist/components/{demo-campaign-cards.d.ts → biggive-page-column.d.ts} +4 -4
- package/dist/components/biggive-page-column.js +33 -0
- package/dist/components/biggive-page-columns.d.ts +11 -0
- package/dist/components/biggive-page-columns.js +39 -0
- package/dist/components/biggive-page-section.d.ts +11 -0
- package/dist/components/biggive-page-section.js +54 -0
- package/dist/components/biggive-progress-bar.d.ts +11 -0
- package/dist/components/biggive-progress-bar.js +6 -0
- package/dist/components/biggive-progress-bar2.js +49 -0
- package/dist/components/biggive-quote.d.ts +11 -0
- package/dist/components/biggive-quote.js +54 -0
- package/dist/components/biggive-search.d.ts +11 -0
- package/dist/components/biggive-search.js +54 -0
- package/dist/components/biggive-social-icon.d.ts +11 -0
- package/dist/components/biggive-social-icon.js +6 -0
- package/dist/components/biggive-social-icon2.js +55 -0
- package/dist/components/biggive-tab.d.ts +11 -0
- package/dist/components/biggive-tab.js +39 -0
- package/dist/components/biggive-tabbed-content.d.ts +11 -0
- package/dist/components/biggive-tabbed-content.js +44 -0
- package/dist/components/biggive-text-input.d.ts +11 -0
- package/dist/components/biggive-text-input.js +33 -0
- package/dist/components/biggive-totalizer.d.ts +11 -0
- package/dist/components/biggive-totalizer.js +93 -0
- package/dist/components/biggive-video-feature.d.ts +11 -0
- package/dist/components/biggive-video-feature.js +100 -0
- package/dist/components/biggive-video.d.ts +11 -0
- package/dist/components/biggive-video.js +44 -0
- package/dist/components/fontawesome-icons.js +238 -0
- package/dist/components/index.d.ts +34 -1
- package/dist/{esm/biggive-campaign-card_3.entry.js → components/index.es.js} +31 -289
- package/dist/components/index.js +34 -1
- package/dist/esm/biggive-back-to-top_11.entry.js +351 -0
- package/dist/esm/biggive-basic-card.entry.js +51 -0
- package/dist/esm/biggive-beneficiary-icon.entry.js +41 -0
- package/dist/esm/biggive-boxed-content.entry.js +44 -0
- package/dist/esm/biggive-branded-image.entry.js +31 -0
- package/dist/esm/biggive-call-to-action.entry.js +79 -0
- package/dist/esm/biggive-campaign-card-filter-grid.entry.js +46 -0
- package/dist/esm/biggive-campaign-card.entry.js +93 -0
- package/dist/esm/biggive-category-icon.entry.js +41 -0
- package/dist/esm/biggive-form-field-select.entry.js +15 -0
- package/dist/esm/biggive-form.entry.js +15 -0
- package/dist/esm/biggive-formatted-text.entry.js +23 -0
- package/dist/esm/biggive-grid.entry.js +27 -0
- package/dist/esm/biggive-hero-image.entry.js +69 -0
- package/dist/esm/biggive-icon-group.entry.js +23 -0
- package/dist/esm/biggive-image-feature.entry.js +63 -0
- package/dist/esm/biggive-image.entry.js +23 -0
- package/dist/esm/biggive-page-section.entry.js +31 -0
- package/dist/esm/biggive-quote.entry.js +31 -0
- package/dist/esm/biggive-search.entry.js +32 -0
- package/dist/esm/biggive-tab.entry.js +19 -0
- package/dist/esm/biggive-tabbed-content.entry.js +23 -0
- package/dist/esm/biggive-text-input.entry.js +15 -0
- package/dist/esm/biggive-totalizer.entry.js +65 -0
- package/dist/esm/biggive-video-feature.entry.js +63 -0
- package/dist/esm/biggive-video.entry.js +23 -0
- package/dist/esm/biggive.js +2 -2
- package/dist/esm/fontawesome-icons-e232deb7.js +238 -0
- package/dist/esm/{index-2280c7b8.js → index-4395d470.js} +94 -2
- package/dist/{cjs/biggive-campaign-card_3.cjs.entry.js → esm/index.es-64a64fa8.js} +31 -295
- package/dist/esm/loader.js +2 -2
- package/dist/types/components/biggive-back-to-top/biggive-back-to-top.d.ts +3 -0
- package/dist/types/components/biggive-back-to-top/biggive-back-to-top.stories.d.ts +5 -0
- package/dist/types/components/biggive-basic-card/biggive-basic-card.d.ts +39 -0
- package/dist/types/components/biggive-basic-card/biggive-basic-card.stories.d.ts +43 -0
- package/dist/types/components/biggive-beneficiary-icon/biggive-beneficiary-icon.d.ts +24 -0
- package/dist/types/components/biggive-beneficiary-icon/biggive-beneficiary-icon.stories.d.ts +34 -0
- package/dist/types/components/biggive-boxed-content/biggive-boxed-content.d.ts +23 -0
- package/dist/types/components/biggive-boxed-content/biggive-boxed-content.stories.d.ts +38 -0
- package/dist/types/components/biggive-branded-image/biggive-branded-image.d.ts +19 -0
- package/dist/types/components/biggive-branded-image/biggive-branded-image.stories.d.ts +23 -0
- package/dist/types/components/biggive-button/biggive-button.d.ts +23 -0
- package/dist/types/components/biggive-button/biggive-button.stories.d.ts +27 -0
- package/dist/types/components/biggive-call-to-action/biggive-call-to-action.d.ts +67 -0
- package/dist/types/components/biggive-call-to-action/biggive-call-to-action.stories.d.ts +87 -0
- package/dist/types/components/biggive-campaign-card/biggive-campaign-card.d.ts +38 -26
- package/dist/types/components/biggive-campaign-card/biggive-campaign-card.stories.d.ts +70 -0
- package/dist/types/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.d.ts +30 -0
- package/dist/types/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.stories.d.ts +5 -0
- package/dist/types/components/biggive-campaign-highlights/biggive-campaign-highlights.d.ts +59 -0
- package/dist/types/components/biggive-campaign-highlights/biggive-campaign-highlights.stories.d.ts +58 -0
- package/dist/types/components/biggive-category-icon/biggive-category-icon.d.ts +24 -0
- package/dist/types/components/biggive-category-icon/biggive-category-icon.stories.d.ts +34 -0
- package/dist/types/components/biggive-footer/biggive-footer.d.ts +4 -0
- package/dist/types/components/{demo-campaign-cards/demo-campaign-cards.stories.d.ts → biggive-footer/biggive-footer.stories.d.ts} +1 -1
- package/dist/types/components/biggive-form/biggive-form.d.ts +3 -0
- package/dist/types/components/biggive-form-field-select/biggive-form-field-select.d.ts +3 -0
- package/dist/types/components/biggive-form-field-text-input/biggive-text-input.d.ts +3 -0
- package/dist/types/components/biggive-formatted-text/biggive-formatted-text.d.ts +11 -0
- package/dist/types/components/biggive-formatted-text/biggive-formatted-text.stories.d.ts +21 -0
- package/dist/types/components/biggive-grid/biggive-grid.d.ts +12 -0
- package/dist/types/components/biggive-grid/biggive-grid.stories.d.ts +28 -0
- package/dist/types/components/biggive-header/biggive-header.d.ts +8 -0
- package/dist/types/components/biggive-header/biggive-header.stories.d.ts +5 -0
- package/dist/types/components/biggive-heading/biggive-heading.d.ts +23 -0
- package/dist/types/components/biggive-heading/biggive-heading.stories.d.ts +35 -0
- package/dist/types/components/biggive-hero-image/biggive-hero-image.d.ts +55 -0
- package/dist/types/components/biggive-hero-image/biggive-hero-image.stories.d.ts +5 -0
- package/dist/types/components/biggive-icon-group/biggive-icon-group.d.ts +11 -0
- package/dist/types/components/biggive-icon-group/biggive-icon-group.stories.d.ts +14 -0
- package/dist/types/components/biggive-image/biggive-image.d.ts +11 -0
- package/dist/types/components/biggive-image/biggive-image.stories.d.ts +17 -0
- package/dist/types/components/biggive-image-feature/biggive-image-feature.d.ts +51 -0
- package/dist/types/components/biggive-image-feature/biggive-image-feature.stories.d.ts +67 -0
- package/dist/types/components/biggive-misc-icon/biggive-misc-icon.d.ts +20 -0
- package/dist/types/components/biggive-misc-icon/biggive-misc-icon.stories.d.ts +31 -0
- package/dist/types/components/biggive-page-column/biggive-page-column.d.ts +3 -0
- package/dist/types/components/biggive-page-column/biggive-page-column.stories.d.ts +14 -0
- package/dist/types/components/biggive-page-columns/biggive-page-columns.d.ts +7 -0
- package/dist/types/components/biggive-page-columns/biggive-page-columns.stories.d.ts +14 -0
- package/dist/types/components/biggive-page-section/biggive-page-section.d.ts +19 -0
- package/dist/types/components/biggive-page-section/biggive-page-section.stories.d.ts +35 -0
- package/dist/types/components/biggive-progress-bar/biggive-progress-bar.d.ts +16 -0
- package/dist/types/components/biggive-progress-bar/biggive-progress-bar.stories.d.ts +24 -0
- package/dist/types/components/biggive-quote/biggive-quote.d.ts +19 -0
- package/dist/types/components/biggive-quote/biggive-quote.stories.d.ts +27 -0
- package/dist/types/components/biggive-search/biggive-search.d.ts +23 -0
- package/dist/types/components/biggive-search/biggive-search.stories.d.ts +5 -0
- package/dist/types/components/biggive-social-icon/biggive-social-icon.d.ts +20 -0
- package/dist/types/components/biggive-social-icon/biggive-social-icon.stories.d.ts +31 -0
- package/dist/types/components/biggive-tab/biggive-tab.d.ts +7 -0
- package/dist/types/components/biggive-tabbed-content/biggive-tabbed-content.d.ts +11 -0
- package/dist/types/components/biggive-tabbed-content/biggive-tabbed-content.stories.d.ts +21 -0
- package/dist/types/components/biggive-totalizer/biggive-totalizer.d.ts +43 -0
- package/dist/types/components/biggive-totalizer/biggive-totalizer.stories.d.ts +54 -0
- package/dist/types/components/biggive-video/biggive-video.d.ts +11 -0
- package/dist/types/components/biggive-video/biggive-video.stories.d.ts +17 -0
- package/dist/types/components/biggive-video-feature/biggive-video-feature.d.ts +51 -0
- package/dist/types/components/biggive-video-feature/biggive-video-feature.stories.d.ts +67 -0
- package/dist/types/components.d.ts +1786 -77
- package/dist/types/util/{campaign-groups.d.ts → fontawesome-icons.d.ts} +11 -1
- package/hydrate/index.js +1868 -120
- package/package.json +9 -8
- package/readme.md +4 -0
- package/dist/biggive/p-89e49cb6.js +0 -2
- package/dist/biggive/p-e330fae6.entry.js +0 -11
- package/dist/collection/components/demo-campaign-cards/demo-campaign-cards.js +0 -14
- package/dist/collection/components/demo-campaign-cards/demo-campaign-cards.stories.js +0 -5
- package/dist/components/biggive-grid2.js +0 -30
- package/dist/components/demo-campaign-cards.js +0 -45
- package/dist/types/components/demo-campaign-cards/demo-campaign-cards.d.ts +0 -3
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
+
|
|
3
|
+
const biggiveButtonCss = "body{background-color:#D7D7D7}h1{font-size:50px;line-height:60px;font-weight:bold}h2{font-size:38px;line-height:45px;font-weight:bold}h3{font-size:25px;line-height:32px;font-weight:bold}h4{font-size:20px;line-height:24px;font-weight:bold}h5{font-size:17px;line-height:24px;font-weight:bold}a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.colour-primary{color:#2C089B}.colour-secondary{color:#2AF135}.colour-tertiary{color:#FF7272}.colour-white{color:#FFFFFF}.colour-black{color:#000000}.text-colour-primary{color:#2C089B}.text-colour-secondary{color:#2AF135}.text-colour-tertiary{color:#FF7272}.text-colour-white{color:#FFFFFF}.text-colour-black{color:#000000}.fill-primary{fill:#2C089B}.fill-secondary{fill:#2AF135}.fill-tertiary{fill:#FF7272}.fill-white{fill:#FFFFFF}.fill-black{fill:#000000}.background-colour-primary{background-color:#2C089B}.background-colour-secondary{background-color:#2AF135}.background-colour-tertiary{background-color:#FF7272}.background-colour-white{background-color:#FFFFFF}.background-colour-black{background-color:#000000}.input-wrap{display:flex;justify-content:space-between}.input-text{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;color:#000000;padding:5px 10px;box-sizing:border-box;width:100%}.input-text:focus{outline:0}.input-text:placeholder{color:#4A4A4A}.button{font-size:18px;line-height:23px;padding:15px 30px;border-radius:5px;border:1px solid #000000;background-color:#000000;filter:drop-shadow(0px 8px 20px rgba(0, 0, 0, 0.22));color:#FFFFFF;display:inline-block;text-decoration:none;text-align:center;transition:all ease-in-out 0.5s;cursor:pointer}.button:hover{background-color:#FFFFFF;color:#000000}.button-primary{color:#FFFFFF;background-color:#2C089B;border-color:#2C089B}.button-primary:hover{color:#2C089B;background-color:#FFFFFF}.button-secondary{color:#2C089B;background-color:#2AF135;border-color:#2AF135}.button-secondary:hover{background-color:#FFFFFF}.button-tertiary{color:#FFFFFF;background-color:#FF7272;border-color:#FF7272}.button-tertiary:hover{background-color:#FFFFFF}.button-clear-primary{color:#2C089B;background-color:transparent;text-decoration:underline;box-shadow:none;border:0;padding-left:0;padding-right:0}.button-clear-primary:hover{text-decoration:none;background-color:transparent}.button-clear-secondary{color:#2AF135;background-color:transparent;text-decoration:underline;box-shadow:none;border:0;padding-left:0;padding-right:0}.button-clear-secondary:hover{text-decoration:none;background-color:transparent}.button-clear-tertiary{color:#FF7272;background-color:transparent;text-decoration:underline;box-shadow:none;border:0;padding-left:0;padding-right:0}.button-clear-tertiary:hover{text-decoration:none;background-color:transparent}.button-clear-white{color:#FFFFFF;background-color:transparent;text-decoration:underline;box-shadow:none;border:0;padding-left:0;padding-right:0}.button-clear-white:hover{color:#FFFFFF;text-decoration:none;background-color:transparent}.button-rounded{border-radius:50%}.progress-bar{display:flex}.progress-bar .slider{margin:auto 15px auto 0;position:relative;flex-grow:1}.progress-bar .slider:before{content:\"\";position:absolute;display:block;top:0;left:0;bottom:0;right:0;background-color:#E8E8E8;border-radius:4px}.progress-bar .slider .progress{position:relative;border-radius:4px;background-color:#000000;height:8px}.progress-bar .counter{font-weight:700;color:#000000;font-size:14px;line-height:18px}.progress-bar-primary .slider .progress{background-color:#2C089B}.progress-bar-primary .counter{color:#2C089B}.progress-bar-secondary .slider .progress{background-color:#2AF135}.progress-bar-secondary .counter{color:#2AF135}.video-wrap video{width:100%;height:auto}.image-wrap img{width:100%;height:auto}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}.horizontal-padding-1{padding-left:5px;padding-right:5px}.horizontal-padding-2{padding-left:10px;padding-right:10px}.horizontal-padding-3{padding-left:15px;padding-right:15px}.horizontal-padding-4{padding-left:30px;padding-right:30px}.horizontal-padding-5{padding-left:45px;padding-right:45px}.horizontal-padding-6{padding-left:60px;padding-right:60px}.vertical-padding-1{padding-top:5px;padding-bottom:5px}.vertical-padding-2{padding-top:10px;padding-bottom:10px}.vertical-padding-3{padding-top:15px;padding-bottom:15px}.vertical-padding-4{padding-top:30px;padding-bottom:30px}.vertical-padding-5{padding-top:45px;padding-bottom:45px}.vertical-padding-6{padding-top:60px;padding-bottom:60px}:host{display:contents}.container{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px}.container a{display:inline-block}.container a.full-width-true{display:block}";
|
|
4
|
+
|
|
5
|
+
const BiggiveButton = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
6
|
+
constructor() {
|
|
7
|
+
super();
|
|
8
|
+
this.__registerHost();
|
|
9
|
+
this.__attachShadow();
|
|
10
|
+
/**
|
|
11
|
+
* Space below component
|
|
12
|
+
*/
|
|
13
|
+
this.spaceBelow = 1;
|
|
14
|
+
/**
|
|
15
|
+
* Colour Scheme
|
|
16
|
+
*/
|
|
17
|
+
this.colourScheme = 'primary';
|
|
18
|
+
/**
|
|
19
|
+
* Text
|
|
20
|
+
*/
|
|
21
|
+
this.label = 'Click me';
|
|
22
|
+
/**
|
|
23
|
+
* URL
|
|
24
|
+
*/
|
|
25
|
+
this.url = '#';
|
|
26
|
+
/**
|
|
27
|
+
* Display full width
|
|
28
|
+
*/
|
|
29
|
+
this.fullWidth = false;
|
|
30
|
+
}
|
|
31
|
+
render() {
|
|
32
|
+
return (h("div", { class: 'container space-below-' + this.spaceBelow }, h("a", { href: this.url, class: 'button button-' + this.colourScheme + ' full-width-' + this.fullWidth.toString() }, this.label)));
|
|
33
|
+
}
|
|
34
|
+
static get style() { return biggiveButtonCss; }
|
|
35
|
+
}, [1, "biggive-button", {
|
|
36
|
+
"spaceBelow": [2, "space-below"],
|
|
37
|
+
"colourScheme": [1, "colour-scheme"],
|
|
38
|
+
"label": [1],
|
|
39
|
+
"url": [1],
|
|
40
|
+
"fullWidth": [4, "full-width"]
|
|
41
|
+
}]);
|
|
42
|
+
function defineCustomElement() {
|
|
43
|
+
if (typeof customElements === "undefined") {
|
|
44
|
+
return;
|
|
45
|
+
}
|
|
46
|
+
const components = ["biggive-button"];
|
|
47
|
+
components.forEach(tagName => { switch (tagName) {
|
|
48
|
+
case "biggive-button":
|
|
49
|
+
if (!customElements.get(tagName)) {
|
|
50
|
+
customElements.define(tagName, BiggiveButton);
|
|
51
|
+
}
|
|
52
|
+
break;
|
|
53
|
+
} });
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export { BiggiveButton as B, defineCustomElement as d };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface BiggiveCallToAction extends Components.BiggiveCallToAction, HTMLElement {}
|
|
4
|
+
export const BiggiveCallToAction: {
|
|
5
|
+
prototype: BiggiveCallToAction;
|
|
6
|
+
new (): BiggiveCallToAction;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { d as defineCustomElement$2 } from './biggive-button2.js';
|
|
3
|
+
|
|
4
|
+
const biggiveCallToActionCss = "body{background-color:#D7D7D7}h1{font-size:50px;line-height:60px;font-weight:bold}h2{font-size:38px;line-height:45px;font-weight:bold}h3{font-size:25px;line-height:32px;font-weight:bold}h4{font-size:20px;line-height:24px;font-weight:bold}h5{font-size:17px;line-height:24px;font-weight:bold}a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.colour-primary{color:#2C089B}.colour-secondary{color:#2AF135}.colour-tertiary{color:#FF7272}.colour-white{color:#FFFFFF}.colour-black{color:#000000}.text-colour-primary{color:#2C089B}.text-colour-secondary{color:#2AF135}.text-colour-tertiary{color:#FF7272}.text-colour-white{color:#FFFFFF}.text-colour-black{color:#000000}.fill-primary{fill:#2C089B}.fill-secondary{fill:#2AF135}.fill-tertiary{fill:#FF7272}.fill-white{fill:#FFFFFF}.fill-black{fill:#000000}.background-colour-primary{background-color:#2C089B}.background-colour-secondary{background-color:#2AF135}.background-colour-tertiary{background-color:#FF7272}.background-colour-white{background-color:#FFFFFF}.background-colour-black{background-color:#000000}.input-wrap{display:flex;justify-content:space-between}.input-text{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;color:#000000;padding:5px 10px;box-sizing:border-box;width:100%}.input-text:focus{outline:0}.input-text:placeholder{color:#4A4A4A}.button{font-size:18px;line-height:23px;padding:15px 30px;border-radius:5px;border:1px solid #000000;background-color:#000000;filter:drop-shadow(0px 8px 20px rgba(0, 0, 0, 0.22));color:#FFFFFF;display:inline-block;text-decoration:none;text-align:center;transition:all ease-in-out 0.5s;cursor:pointer}.button:hover{background-color:#FFFFFF;color:#000000}.button-primary{color:#FFFFFF;background-color:#2C089B;border-color:#2C089B}.button-primary:hover{color:#2C089B;background-color:#FFFFFF}.button-secondary{color:#2C089B;background-color:#2AF135;border-color:#2AF135}.button-secondary:hover{background-color:#FFFFFF}.button-tertiary{color:#FFFFFF;background-color:#FF7272;border-color:#FF7272}.button-tertiary:hover{background-color:#FFFFFF}.button-clear-primary{color:#2C089B;background-color:transparent;text-decoration:underline;box-shadow:none;border:0;padding-left:0;padding-right:0}.button-clear-primary:hover{text-decoration:none;background-color:transparent}.button-clear-secondary{color:#2AF135;background-color:transparent;text-decoration:underline;box-shadow:none;border:0;padding-left:0;padding-right:0}.button-clear-secondary:hover{text-decoration:none;background-color:transparent}.button-clear-tertiary{color:#FF7272;background-color:transparent;text-decoration:underline;box-shadow:none;border:0;padding-left:0;padding-right:0}.button-clear-tertiary:hover{text-decoration:none;background-color:transparent}.button-clear-white{color:#FFFFFF;background-color:transparent;text-decoration:underline;box-shadow:none;border:0;padding-left:0;padding-right:0}.button-clear-white:hover{color:#FFFFFF;text-decoration:none;background-color:transparent}.button-rounded{border-radius:50%}.progress-bar{display:flex}.progress-bar .slider{margin:auto 15px auto 0;position:relative;flex-grow:1}.progress-bar .slider:before{content:\"\";position:absolute;display:block;top:0;left:0;bottom:0;right:0;background-color:#E8E8E8;border-radius:4px}.progress-bar .slider .progress{position:relative;border-radius:4px;background-color:#000000;height:8px}.progress-bar .counter{font-weight:700;color:#000000;font-size:14px;line-height:18px}.progress-bar-primary .slider .progress{background-color:#2C089B}.progress-bar-primary .counter{color:#2C089B}.progress-bar-secondary .slider .progress{background-color:#2AF135}.progress-bar-secondary .counter{color:#2AF135}.video-wrap video{width:100%;height:auto}.image-wrap img{width:100%;height:auto}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}.horizontal-padding-1{padding-left:5px;padding-right:5px}.horizontal-padding-2{padding-left:10px;padding-right:10px}.horizontal-padding-3{padding-left:15px;padding-right:15px}.horizontal-padding-4{padding-left:30px;padding-right:30px}.horizontal-padding-5{padding-left:45px;padding-right:45px}.horizontal-padding-6{padding-left:60px;padding-right:60px}.vertical-padding-1{padding-top:5px;padding-bottom:5px}.vertical-padding-2{padding-top:10px;padding-bottom:10px}.vertical-padding-3{padding-top:15px;padding-bottom:15px}.vertical-padding-4{padding-top:30px;padding-bottom:30px}.vertical-padding-5{padding-top:45px;padding-bottom:45px}.vertical-padding-6{padding-top:60px;padding-bottom:60px}:host{display:contents;font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px}.container{max-width:1200px;padding-left:15px;padding-right:15px;margin-left:auto;margin-right:auto;position:relative;text-align:center}.content-wrap .slug{font-size:20px;line-height:24px;font-weight:bold;margin:0;padding:0}.content-wrap h2{font-size:38px;line-height:45px;font-weight:bold;margin:0 0 5px 0;padding:0}.content-wrap .subtitle{font-size:20px;line-height:24px;font-weight:bold;margin:0 0 5px 0;padding:0}.content-wrap .teaser{margin:15px auto 15px auto;max-width:400px;padding:0}";
|
|
5
|
+
|
|
6
|
+
const BiggiveCallToAction$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
7
|
+
constructor() {
|
|
8
|
+
super();
|
|
9
|
+
this.__registerHost();
|
|
10
|
+
this.__attachShadow();
|
|
11
|
+
/**
|
|
12
|
+
* Space below component
|
|
13
|
+
*/
|
|
14
|
+
this.spaceBelow = 0;
|
|
15
|
+
/**
|
|
16
|
+
* Default text colour
|
|
17
|
+
*/
|
|
18
|
+
this.defaultTextColour = 'primary';
|
|
19
|
+
/**
|
|
20
|
+
* Slug colour
|
|
21
|
+
*/
|
|
22
|
+
this.slugColour = '';
|
|
23
|
+
/**
|
|
24
|
+
* Slug
|
|
25
|
+
*/
|
|
26
|
+
this.slug = null;
|
|
27
|
+
/**
|
|
28
|
+
* Main title colour
|
|
29
|
+
*/
|
|
30
|
+
this.mainTitleColour = '';
|
|
31
|
+
/**
|
|
32
|
+
* Main title
|
|
33
|
+
*/
|
|
34
|
+
this.mainTitle = null;
|
|
35
|
+
/**
|
|
36
|
+
* Subtitle colour
|
|
37
|
+
*/
|
|
38
|
+
this.subtitleColour = '';
|
|
39
|
+
/**
|
|
40
|
+
* Subtitle
|
|
41
|
+
*/
|
|
42
|
+
this.subtitle = null;
|
|
43
|
+
/**
|
|
44
|
+
* Teaser colour
|
|
45
|
+
*/
|
|
46
|
+
this.teaserColour = '';
|
|
47
|
+
/**
|
|
48
|
+
* Teaser
|
|
49
|
+
*/
|
|
50
|
+
this.teaser = null;
|
|
51
|
+
/**
|
|
52
|
+
* Primary button Url
|
|
53
|
+
*/
|
|
54
|
+
this.primaryButtonUrl = null;
|
|
55
|
+
/**
|
|
56
|
+
* Primary button Label
|
|
57
|
+
*/
|
|
58
|
+
this.primaryButtonLabel = null;
|
|
59
|
+
/**
|
|
60
|
+
* Primary button Colour Scheme
|
|
61
|
+
*/
|
|
62
|
+
this.primaryButtonColourScheme = 'primary';
|
|
63
|
+
/**
|
|
64
|
+
* Secondary button Url
|
|
65
|
+
*/
|
|
66
|
+
this.secondaryButtonUrl = null;
|
|
67
|
+
/**
|
|
68
|
+
* Secondary button Label
|
|
69
|
+
*/
|
|
70
|
+
this.secondaryButtonLabel = null;
|
|
71
|
+
/**
|
|
72
|
+
* Secondary button Colour Scheme
|
|
73
|
+
*/
|
|
74
|
+
this.secondaryButtonColourScheme = 'primary';
|
|
75
|
+
}
|
|
76
|
+
render() {
|
|
77
|
+
return (h("div", { class: 'container text-colour-' + this.defaultTextColour + ' space-below-' + this.spaceBelow }, h("div", { class: "sleeve" }, h("div", { class: "content-wrap" }, h("div", { class: 'slug text-colour-' + this.slugColour }, this.slug), h("h2", { class: 'title text-colour-' + this.mainTitleColour }, this.mainTitle), h("div", { class: 'slug text-colour-' + this.subtitleColour }, this.subtitle), h("div", { class: 'teaser text-colour-' + this.teaserColour }, this.teaser), this.primaryButtonLabel != null && this.primaryButtonUrl != null ? (h("div", { class: "button-wrap" }, h("biggive-button", { "colour-scheme": this.primaryButtonColourScheme, url: this.primaryButtonUrl, label: this.primaryButtonLabel }))) : null, this.secondaryButtonLabel != null && this.secondaryButtonUrl != null ? (h("div", { class: "button-wrap" }, h("biggive-button", { "colour-scheme": this.secondaryButtonColourScheme, url: this.secondaryButtonUrl, label: this.secondaryButtonLabel }))) : null))));
|
|
78
|
+
}
|
|
79
|
+
static get style() { return biggiveCallToActionCss; }
|
|
80
|
+
}, [1, "biggive-call-to-action", {
|
|
81
|
+
"spaceBelow": [2, "space-below"],
|
|
82
|
+
"defaultTextColour": [1, "default-text-colour"],
|
|
83
|
+
"slugColour": [1, "slug-colour"],
|
|
84
|
+
"slug": [1],
|
|
85
|
+
"mainTitleColour": [1, "main-title-colour"],
|
|
86
|
+
"mainTitle": [1, "main-title"],
|
|
87
|
+
"subtitleColour": [1, "subtitle-colour"],
|
|
88
|
+
"subtitle": [1],
|
|
89
|
+
"teaserColour": [1, "teaser-colour"],
|
|
90
|
+
"teaser": [1],
|
|
91
|
+
"primaryButtonUrl": [1, "primary-button-url"],
|
|
92
|
+
"primaryButtonLabel": [1, "primary-button-label"],
|
|
93
|
+
"primaryButtonColourScheme": [1, "primary-button-colour-scheme"],
|
|
94
|
+
"secondaryButtonUrl": [1, "secondary-button-url"],
|
|
95
|
+
"secondaryButtonLabel": [1, "secondary-button-label"],
|
|
96
|
+
"secondaryButtonColourScheme": [1, "secondary-button-colour-scheme"]
|
|
97
|
+
}]);
|
|
98
|
+
function defineCustomElement$1() {
|
|
99
|
+
if (typeof customElements === "undefined") {
|
|
100
|
+
return;
|
|
101
|
+
}
|
|
102
|
+
const components = ["biggive-call-to-action", "biggive-button"];
|
|
103
|
+
components.forEach(tagName => { switch (tagName) {
|
|
104
|
+
case "biggive-call-to-action":
|
|
105
|
+
if (!customElements.get(tagName)) {
|
|
106
|
+
customElements.define(tagName, BiggiveCallToAction$1);
|
|
107
|
+
}
|
|
108
|
+
break;
|
|
109
|
+
case "biggive-button":
|
|
110
|
+
if (!customElements.get(tagName)) {
|
|
111
|
+
defineCustomElement$2();
|
|
112
|
+
}
|
|
113
|
+
break;
|
|
114
|
+
} });
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
const BiggiveCallToAction = BiggiveCallToAction$1;
|
|
118
|
+
const defineCustomElement = defineCustomElement$1;
|
|
119
|
+
|
|
120
|
+
export { BiggiveCallToAction, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface BiggiveCampaignCardFilterGrid extends Components.BiggiveCampaignCardFilterGrid, HTMLElement {}
|
|
4
|
+
export const BiggiveCampaignCardFilterGrid: {
|
|
5
|
+
prototype: BiggiveCampaignCardFilterGrid;
|
|
6
|
+
new (): BiggiveCampaignCardFilterGrid;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { f as faMagnifyingGlass } from './index.es.js';
|
|
3
|
+
|
|
4
|
+
const biggiveCampaignCardFilterGridCss = "body{background-color:#D7D7D7}h1{font-size:50px;line-height:60px;font-weight:bold}h2{font-size:38px;line-height:45px;font-weight:bold}h3{font-size:25px;line-height:32px;font-weight:bold}h4{font-size:20px;line-height:24px;font-weight:bold}h5{font-size:17px;line-height:24px;font-weight:bold}a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.colour-primary{color:#2C089B}.colour-secondary{color:#2AF135}.colour-tertiary{color:#FF7272}.colour-white{color:#FFFFFF}.colour-black{color:#000000}.text-colour-primary{color:#2C089B}.text-colour-secondary{color:#2AF135}.text-colour-tertiary{color:#FF7272}.text-colour-white{color:#FFFFFF}.text-colour-black{color:#000000}.fill-primary{fill:#2C089B}.fill-secondary{fill:#2AF135}.fill-tertiary{fill:#FF7272}.fill-white{fill:#FFFFFF}.fill-black{fill:#000000}.background-colour-primary{background-color:#2C089B}.background-colour-secondary{background-color:#2AF135}.background-colour-tertiary{background-color:#FF7272}.background-colour-white{background-color:#FFFFFF}.background-colour-black{background-color:#000000}.input-wrap{display:flex;justify-content:space-between}.input-text{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;color:#000000;padding:5px 10px;box-sizing:border-box;width:100%}.input-text:focus{outline:0}.input-text:placeholder{color:#4A4A4A}.button{font-size:18px;line-height:23px;padding:15px 30px;border-radius:5px;border:1px solid #000000;background-color:#000000;filter:drop-shadow(0px 8px 20px rgba(0, 0, 0, 0.22));color:#FFFFFF;display:inline-block;text-decoration:none;text-align:center;transition:all ease-in-out 0.5s;cursor:pointer}.button:hover{background-color:#FFFFFF;color:#000000}.button-primary{color:#FFFFFF;background-color:#2C089B;border-color:#2C089B}.button-primary:hover{color:#2C089B;background-color:#FFFFFF}.button-secondary{color:#2C089B;background-color:#2AF135;border-color:#2AF135}.button-secondary:hover{background-color:#FFFFFF}.button-tertiary{color:#FFFFFF;background-color:#FF7272;border-color:#FF7272}.button-tertiary:hover{background-color:#FFFFFF}.button-clear-primary{color:#2C089B;background-color:transparent;text-decoration:underline;box-shadow:none;border:0;padding-left:0;padding-right:0}.button-clear-primary:hover{text-decoration:none;background-color:transparent}.button-clear-secondary{color:#2AF135;background-color:transparent;text-decoration:underline;box-shadow:none;border:0;padding-left:0;padding-right:0}.button-clear-secondary:hover{text-decoration:none;background-color:transparent}.button-clear-tertiary{color:#FF7272;background-color:transparent;text-decoration:underline;box-shadow:none;border:0;padding-left:0;padding-right:0}.button-clear-tertiary:hover{text-decoration:none;background-color:transparent}.button-clear-white{color:#FFFFFF;background-color:transparent;text-decoration:underline;box-shadow:none;border:0;padding-left:0;padding-right:0}.button-clear-white:hover{color:#FFFFFF;text-decoration:none;background-color:transparent}.button-rounded{border-radius:50%}.progress-bar{display:flex}.progress-bar .slider{margin:auto 15px auto 0;position:relative;flex-grow:1}.progress-bar .slider:before{content:\"\";position:absolute;display:block;top:0;left:0;bottom:0;right:0;background-color:#E8E8E8;border-radius:4px}.progress-bar .slider .progress{position:relative;border-radius:4px;background-color:#000000;height:8px}.progress-bar .counter{font-weight:700;color:#000000;font-size:14px;line-height:18px}.progress-bar-primary .slider .progress{background-color:#2C089B}.progress-bar-primary .counter{color:#2C089B}.progress-bar-secondary .slider .progress{background-color:#2AF135}.progress-bar-secondary .counter{color:#2AF135}.video-wrap video{width:100%;height:auto}.image-wrap img{width:100%;height:auto}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}.horizontal-padding-1{padding-left:5px;padding-right:5px}.horizontal-padding-2{padding-left:10px;padding-right:10px}.horizontal-padding-3{padding-left:15px;padding-right:15px}.horizontal-padding-4{padding-left:30px;padding-right:30px}.horizontal-padding-5{padding-left:45px;padding-right:45px}.horizontal-padding-6{padding-left:60px;padding-right:60px}.vertical-padding-1{padding-top:5px;padding-bottom:5px}.vertical-padding-2{padding-top:10px;padding-bottom:10px}.vertical-padding-3{padding-top:15px;padding-bottom:15px}.vertical-padding-4{padding-top:30px;padding-bottom:30px}.vertical-padding-5{padding-top:45px;padding-bottom:45px}.vertical-padding-6{padding-top:60px;padding-bottom:60px}:host{display:content}.container{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;position:relative}.container .search-wrap{filter:drop-shadow(-1px 3px 12px rgba(0, 0, 0, 0.25));background-color:#FFFFFF;padding:15px 30px;margin-bottom:60px}.container .search-wrap .field-wrap{display:flex;justify-content:space-between}.container .search-wrap .field-wrap .input-wrap{padding-bottom:5px;border-bottom:1px solid #000000;margin-right:30px;flex-grow:1}.container .search-wrap .field-wrap .input-wrap input{border:0}.container .search-wrap .field-wrap button{padding:5px 30px}.icon{height:1rem;width:2rem;vertical-align:-0.125rem;margin:auto}.icon>path{fill:#2C089B}";
|
|
5
|
+
|
|
6
|
+
const BiggiveCampaignCardFilterGrid$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
7
|
+
constructor() {
|
|
8
|
+
super();
|
|
9
|
+
this.__registerHost();
|
|
10
|
+
this.__attachShadow();
|
|
11
|
+
this.doSearch = createEvent(this, "doTextSearch", 7);
|
|
12
|
+
this.searchText = null;
|
|
13
|
+
/**
|
|
14
|
+
* Space below component
|
|
15
|
+
*/
|
|
16
|
+
this.spaceBelow = 0;
|
|
17
|
+
/**
|
|
18
|
+
* Intro
|
|
19
|
+
*/
|
|
20
|
+
this.intro = 'Find a charity or project';
|
|
21
|
+
/**
|
|
22
|
+
* Defines the text displayed as the placeholder in the input field
|
|
23
|
+
* before the user types anything
|
|
24
|
+
*/
|
|
25
|
+
this.placeholderText = 'Search';
|
|
26
|
+
/**
|
|
27
|
+
* Defines the text on the search button
|
|
28
|
+
*/
|
|
29
|
+
this.buttonText = 'Search';
|
|
30
|
+
}
|
|
31
|
+
handleSearchTextChanged(event) {
|
|
32
|
+
this.searchText = event.target.value;
|
|
33
|
+
}
|
|
34
|
+
handleSearchButtonPressed() {
|
|
35
|
+
this.doSearch.emit(this.searchText);
|
|
36
|
+
}
|
|
37
|
+
handleEnterPressed(ev) {
|
|
38
|
+
if (ev.key === 'Enter') {
|
|
39
|
+
this.doSearch.emit(this.searchText);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
render() {
|
|
43
|
+
return (h("div", { class: 'container space-below-' + this.spaceBelow }, h("div", { class: "sleeve" }, h("div", { class: "search-wrap" }, h("h4", null, this.intro), h("div", { class: "field-wrap" }, h("div", { class: "input-wrap" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", class: "icon", viewBox: "0 0 512 512" }, h("path", { d: faMagnifyingGlass.icon[4].toString() })), h("input", { type: "text", value: this.searchText, class: "input-text", placeholder: this.placeholderText, onInput: event => this.handleSearchTextChanged(event), onKeyDown: event => this.handleEnterPressed(event) })), h("button", { onClick: () => this.handleSearchButtonPressed(), class: "button button-primary" }, this.buttonText))), h("div", { class: "filter-wrap" }), h("div", { class: "campaign-grid" }, h("slot", { name: "campaign-grid" })))));
|
|
44
|
+
}
|
|
45
|
+
static get style() { return biggiveCampaignCardFilterGridCss; }
|
|
46
|
+
}, [1, "biggive-campaign-card-filter-grid", {
|
|
47
|
+
"spaceBelow": [2, "space-below"],
|
|
48
|
+
"intro": [1],
|
|
49
|
+
"placeholderText": [1, "placeholder-text"],
|
|
50
|
+
"buttonText": [1, "button-text"],
|
|
51
|
+
"searchText": [32]
|
|
52
|
+
}]);
|
|
53
|
+
function defineCustomElement$1() {
|
|
54
|
+
if (typeof customElements === "undefined") {
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
const components = ["biggive-campaign-card-filter-grid"];
|
|
58
|
+
components.forEach(tagName => { switch (tagName) {
|
|
59
|
+
case "biggive-campaign-card-filter-grid":
|
|
60
|
+
if (!customElements.get(tagName)) {
|
|
61
|
+
customElements.define(tagName, BiggiveCampaignCardFilterGrid$1);
|
|
62
|
+
}
|
|
63
|
+
break;
|
|
64
|
+
} });
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
const BiggiveCampaignCardFilterGrid = BiggiveCampaignCardFilterGrid$1;
|
|
68
|
+
const defineCustomElement = defineCustomElement$1;
|
|
69
|
+
|
|
70
|
+
export { BiggiveCampaignCardFilterGrid, defineCustomElement };
|
|
@@ -1,4 +1,139 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { d as defineCustomElement$3 } from './biggive-button2.js';
|
|
3
|
+
import { d as defineCustomElement$2 } from './biggive-progress-bar2.js';
|
|
4
|
+
|
|
5
|
+
const biggiveCampaignCardCss = "body{background-color:#D7D7D7}h1{font-size:50px;line-height:60px;font-weight:bold}h2{font-size:38px;line-height:45px;font-weight:bold}h3{font-size:25px;line-height:32px;font-weight:bold}h4{font-size:20px;line-height:24px;font-weight:bold}h5{font-size:17px;line-height:24px;font-weight:bold}a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.colour-primary{color:#2C089B}.colour-secondary{color:#2AF135}.colour-tertiary{color:#FF7272}.colour-white{color:#FFFFFF}.colour-black{color:#000000}.text-colour-primary{color:#2C089B}.text-colour-secondary{color:#2AF135}.text-colour-tertiary{color:#FF7272}.text-colour-white{color:#FFFFFF}.text-colour-black{color:#000000}.fill-primary{fill:#2C089B}.fill-secondary{fill:#2AF135}.fill-tertiary{fill:#FF7272}.fill-white{fill:#FFFFFF}.fill-black{fill:#000000}.background-colour-primary{background-color:#2C089B}.background-colour-secondary{background-color:#2AF135}.background-colour-tertiary{background-color:#FF7272}.background-colour-white{background-color:#FFFFFF}.background-colour-black{background-color:#000000}.input-wrap{display:flex;justify-content:space-between}.input-text{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;color:#000000;padding:5px 10px;box-sizing:border-box;width:100%}.input-text:focus{outline:0}.input-text:placeholder{color:#4A4A4A}.button{font-size:18px;line-height:23px;padding:15px 30px;border-radius:5px;border:1px solid #000000;background-color:#000000;filter:drop-shadow(0px 8px 20px rgba(0, 0, 0, 0.22));color:#FFFFFF;display:inline-block;text-decoration:none;text-align:center;transition:all ease-in-out 0.5s;cursor:pointer}.button:hover{background-color:#FFFFFF;color:#000000}.button-primary{color:#FFFFFF;background-color:#2C089B;border-color:#2C089B}.button-primary:hover{color:#2C089B;background-color:#FFFFFF}.button-secondary{color:#2C089B;background-color:#2AF135;border-color:#2AF135}.button-secondary:hover{background-color:#FFFFFF}.button-tertiary{color:#FFFFFF;background-color:#FF7272;border-color:#FF7272}.button-tertiary:hover{background-color:#FFFFFF}.button-clear-primary{color:#2C089B;background-color:transparent;text-decoration:underline;box-shadow:none;border:0;padding-left:0;padding-right:0}.button-clear-primary:hover{text-decoration:none;background-color:transparent}.button-clear-secondary{color:#2AF135;background-color:transparent;text-decoration:underline;box-shadow:none;border:0;padding-left:0;padding-right:0}.button-clear-secondary:hover{text-decoration:none;background-color:transparent}.button-clear-tertiary{color:#FF7272;background-color:transparent;text-decoration:underline;box-shadow:none;border:0;padding-left:0;padding-right:0}.button-clear-tertiary:hover{text-decoration:none;background-color:transparent}.button-clear-white{color:#FFFFFF;background-color:transparent;text-decoration:underline;box-shadow:none;border:0;padding-left:0;padding-right:0}.button-clear-white:hover{color:#FFFFFF;text-decoration:none;background-color:transparent}.button-rounded{border-radius:50%}.progress-bar{display:flex}.progress-bar .slider{margin:auto 15px auto 0;position:relative;flex-grow:1}.progress-bar .slider:before{content:\"\";position:absolute;display:block;top:0;left:0;bottom:0;right:0;background-color:#E8E8E8;border-radius:4px}.progress-bar .slider .progress{position:relative;border-radius:4px;background-color:#000000;height:8px}.progress-bar .counter{font-weight:700;color:#000000;font-size:14px;line-height:18px}.progress-bar-primary .slider .progress{background-color:#2C089B}.progress-bar-primary .counter{color:#2C089B}.progress-bar-secondary .slider .progress{background-color:#2AF135}.progress-bar-secondary .counter{color:#2AF135}.video-wrap video{width:100%;height:auto}.image-wrap img{width:100%;height:auto}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}.horizontal-padding-1{padding-left:5px;padding-right:5px}.horizontal-padding-2{padding-left:10px;padding-right:10px}.horizontal-padding-3{padding-left:15px;padding-right:15px}.horizontal-padding-4{padding-left:30px;padding-right:30px}.horizontal-padding-5{padding-left:45px;padding-right:45px}.horizontal-padding-6{padding-left:60px;padding-right:60px}.vertical-padding-1{padding-top:5px;padding-bottom:5px}.vertical-padding-2{padding-top:10px;padding-bottom:10px}.vertical-padding-3{padding-top:15px;padding-bottom:15px}.vertical-padding-4{padding-top:30px;padding-bottom:30px}.vertical-padding-5{padding-top:45px;padding-bottom:45px}.vertical-padding-6{padding-top:60px;padding-bottom:60px}:host{display:contents}.container{display:flex;flex-direction:column;font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;filter:drop-shadow(-1px 3px 12px rgba(0, 0, 0, 0.25));height:100%;background-color:#FFFFFF;padding:15px;box-sizing:border-box}.container .sleeve{display:flex;flex-direction:column;height:100%}.container .campaign-type{position:absolute;top:0;left:0;right:0;text-align:center;font-weight:bold}.container .campaign-type span{background-color:#2AF135;color:#000000;padding:5px 15px;display:inline-block}.container .banner{top:0;margin-top:2px;padding-bottom:33.3%;background-color:#F1F1F1}.container .banner img{display:none}.container h3{font-size:20px;line-height:24px;font-weight:bold}.container .button{display:block}.container .organisation-name{margin-bottom:30px;color:#2C089B}.container .meta-wrap{display:flex;justify-content:space-between;margin-top:auto;margin-bottom:15px}.container .meta-wrap .meta-item{width:calc(50% - 15px)}.container .meta-wrap .meta-item .label{font-size:11px;line-height:14px;display:block}.container .meta-wrap .meta-item .text{font-size:25px;line-height:32px;font-weight:bold;display:block}.container .meta-wrap .meta-item:last-child{text-align:right}.container .meta-wrap .meta-item:last-child .text{color:#2C089B}.container .progress-bar-wrap{padding-bottom:10px;margin-bottom:10px;border-bottom:1px solid #E8E8E8}";
|
|
6
|
+
|
|
7
|
+
const BiggiveCampaignCard$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
8
|
+
constructor() {
|
|
9
|
+
super();
|
|
10
|
+
this.__registerHost();
|
|
11
|
+
this.__attachShadow();
|
|
12
|
+
/**
|
|
13
|
+
* Space below component
|
|
14
|
+
*/
|
|
15
|
+
this.spaceBelow = 4;
|
|
16
|
+
/**
|
|
17
|
+
* e.g. "Match Funded".
|
|
18
|
+
*/
|
|
19
|
+
this.campaignType = null;
|
|
20
|
+
/**
|
|
21
|
+
* Full URL of a banner image.
|
|
22
|
+
*/
|
|
23
|
+
this.banner = '';
|
|
24
|
+
/**
|
|
25
|
+
* Display name of the charity's specific time-bound fundraising campaign.
|
|
26
|
+
*/
|
|
27
|
+
this.campaignTitle = null;
|
|
28
|
+
/**
|
|
29
|
+
* Display name of the charity or non-profit.
|
|
30
|
+
*/
|
|
31
|
+
this.organisationName = null;
|
|
32
|
+
/**
|
|
33
|
+
* Label for the primary figure
|
|
34
|
+
*/
|
|
35
|
+
this.primaryFigureLabel = null;
|
|
36
|
+
/**
|
|
37
|
+
* Amount for the primary figure
|
|
38
|
+
*/
|
|
39
|
+
this.primaryFigureAmount = null;
|
|
40
|
+
/**
|
|
41
|
+
* Label for the secondary figure
|
|
42
|
+
*/
|
|
43
|
+
this.secondaryFigureLabel = null;
|
|
44
|
+
/**
|
|
45
|
+
* Amount for the secondary figure
|
|
46
|
+
*/
|
|
47
|
+
this.secondaryFigureAmount = null;
|
|
48
|
+
/**
|
|
49
|
+
* Progress bar percentage
|
|
50
|
+
*/
|
|
51
|
+
this.progressBarCounter = 100;
|
|
52
|
+
/**
|
|
53
|
+
* Donate button label
|
|
54
|
+
*/
|
|
55
|
+
this.donateButtonLabel = 'Donate now';
|
|
56
|
+
/**
|
|
57
|
+
* Donate button url
|
|
58
|
+
*/
|
|
59
|
+
this.donateButtonUrl = null;
|
|
60
|
+
/**
|
|
61
|
+
* Donate button colour scheme
|
|
62
|
+
*/
|
|
63
|
+
this.donateButtonColourScheme = 'primary';
|
|
64
|
+
/**
|
|
65
|
+
* More information button label
|
|
66
|
+
*/
|
|
67
|
+
this.moreInfoButtonLabel = 'Find out more';
|
|
68
|
+
/**
|
|
69
|
+
* More information button url
|
|
70
|
+
*/
|
|
71
|
+
this.moreInfoButtonUrl = null;
|
|
72
|
+
/**
|
|
73
|
+
* Donate button colour scheme
|
|
74
|
+
*/
|
|
75
|
+
this.moreInfoButtonColourScheme = 'clear-primary';
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* @returns Whole large currency units (e.g. pounds) formatted with symbol.
|
|
79
|
+
*/
|
|
80
|
+
formatCurrency(currencyCode, amount) {
|
|
81
|
+
if (amount === null || isNaN(amount)) {
|
|
82
|
+
return '–';
|
|
83
|
+
}
|
|
84
|
+
return Intl.NumberFormat('en-GB', {
|
|
85
|
+
style: 'currency',
|
|
86
|
+
currency: currencyCode,
|
|
87
|
+
currencyDisplay: 'symbol',
|
|
88
|
+
maximumFractionDigits: 0,
|
|
89
|
+
}).format(amount);
|
|
90
|
+
}
|
|
91
|
+
render() {
|
|
92
|
+
return (h("div", { class: 'container space-below-' + this.spaceBelow.toString() }, h("div", { class: "sleeve" }, this.campaignType.length > 0 ? (h("div", { class: "campaign-type" }, h("span", null, this.campaignType))) : null, this.banner.length > 0 ? (h("div", { class: "image-wrap banner", style: { 'background-image': 'url(' + this.banner + ')' } }, h("img", { src: this.banner, class: "banner" }))) : (h("div", { class: "image-wrap banner" })), h("div", { class: "title-wrap" }, h("h3", null, this.campaignTitle), h("div", { class: "organisation-name" }, "By ", this.organisationName)), h("div", { class: "meta-wrap" }, h("div", { class: "meta-item" }, h("span", { class: "label" }, this.primaryFigureLabel), h("span", { class: "text" }, this.formatCurrency(this.currencyCode, this.primaryFigureAmount))), h("div", { class: "meta-item" }, h("span", { class: "label" }, this.secondaryFigureLabel), h("span", { class: "text" }, this.formatCurrency(this.currencyCode, this.secondaryFigureAmount)))), h("div", { class: "progress-bar-wrap" }, h("biggive-progress-bar", { counter: this.progressBarCounter, "colour-scheme": "primary" })), h("div", { class: "button-wrap" }, h("biggive-button", { "full-width": "true", "colour-scheme": this.donateButtonColourScheme, url: this.donateButtonUrl, label: this.donateButtonLabel }), h("biggive-button", { "full-width": "true", "colour-scheme": this.moreInfoButtonColourScheme, url: this.moreInfoButtonUrl, label: this.moreInfoButtonLabel })))));
|
|
93
|
+
}
|
|
94
|
+
static get style() { return biggiveCampaignCardCss; }
|
|
95
|
+
}, [1, "biggive-campaign-card", {
|
|
96
|
+
"spaceBelow": [2, "space-below"],
|
|
97
|
+
"campaignType": [1, "campaign-type"],
|
|
98
|
+
"banner": [1],
|
|
99
|
+
"campaignTitle": [1, "campaign-title"],
|
|
100
|
+
"organisationName": [1, "organisation-name"],
|
|
101
|
+
"currencyCode": [1, "currency-code"],
|
|
102
|
+
"primaryFigureLabel": [1, "primary-figure-label"],
|
|
103
|
+
"primaryFigureAmount": [2, "primary-figure-amount"],
|
|
104
|
+
"secondaryFigureLabel": [1, "secondary-figure-label"],
|
|
105
|
+
"secondaryFigureAmount": [2, "secondary-figure-amount"],
|
|
106
|
+
"progressBarCounter": [2, "progress-bar-counter"],
|
|
107
|
+
"donateButtonLabel": [1, "donate-button-label"],
|
|
108
|
+
"donateButtonUrl": [1, "donate-button-url"],
|
|
109
|
+
"donateButtonColourScheme": [1, "donate-button-colour-scheme"],
|
|
110
|
+
"moreInfoButtonLabel": [1, "more-info-button-label"],
|
|
111
|
+
"moreInfoButtonUrl": [1, "more-info-button-url"],
|
|
112
|
+
"moreInfoButtonColourScheme": [1, "more-info-button-colour-scheme"]
|
|
113
|
+
}]);
|
|
114
|
+
function defineCustomElement$1() {
|
|
115
|
+
if (typeof customElements === "undefined") {
|
|
116
|
+
return;
|
|
117
|
+
}
|
|
118
|
+
const components = ["biggive-campaign-card", "biggive-button", "biggive-progress-bar"];
|
|
119
|
+
components.forEach(tagName => { switch (tagName) {
|
|
120
|
+
case "biggive-campaign-card":
|
|
121
|
+
if (!customElements.get(tagName)) {
|
|
122
|
+
customElements.define(tagName, BiggiveCampaignCard$1);
|
|
123
|
+
}
|
|
124
|
+
break;
|
|
125
|
+
case "biggive-button":
|
|
126
|
+
if (!customElements.get(tagName)) {
|
|
127
|
+
defineCustomElement$3();
|
|
128
|
+
}
|
|
129
|
+
break;
|
|
130
|
+
case "biggive-progress-bar":
|
|
131
|
+
if (!customElements.get(tagName)) {
|
|
132
|
+
defineCustomElement$2();
|
|
133
|
+
}
|
|
134
|
+
break;
|
|
135
|
+
} });
|
|
136
|
+
}
|
|
2
137
|
|
|
3
138
|
const BiggiveCampaignCard = BiggiveCampaignCard$1;
|
|
4
139
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface BiggiveCampaignHighlights extends Components.BiggiveCampaignHighlights, HTMLElement {}
|
|
4
|
+
export const BiggiveCampaignHighlights: {
|
|
5
|
+
prototype: BiggiveCampaignHighlights;
|
|
6
|
+
new (): BiggiveCampaignHighlights;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { d as defineCustomElement$3 } from './biggive-misc-icon2.js';
|
|
3
|
+
import { d as defineCustomElement$2 } from './biggive-progress-bar2.js';
|
|
4
|
+
|
|
5
|
+
const biggiveCampaignHighlightsCss = "body{background-color:#D7D7D7}h1{font-size:50px;line-height:60px;font-weight:bold}h2{font-size:38px;line-height:45px;font-weight:bold}h3{font-size:25px;line-height:32px;font-weight:bold}h4{font-size:20px;line-height:24px;font-weight:bold}h5{font-size:17px;line-height:24px;font-weight:bold}a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.colour-primary{color:#2C089B}.colour-secondary{color:#2AF135}.colour-tertiary{color:#FF7272}.colour-white{color:#FFFFFF}.colour-black{color:#000000}.text-colour-primary{color:#2C089B}.text-colour-secondary{color:#2AF135}.text-colour-tertiary{color:#FF7272}.text-colour-white{color:#FFFFFF}.text-colour-black{color:#000000}.fill-primary{fill:#2C089B}.fill-secondary{fill:#2AF135}.fill-tertiary{fill:#FF7272}.fill-white{fill:#FFFFFF}.fill-black{fill:#000000}.background-colour-primary{background-color:#2C089B}.background-colour-secondary{background-color:#2AF135}.background-colour-tertiary{background-color:#FF7272}.background-colour-white{background-color:#FFFFFF}.background-colour-black{background-color:#000000}.input-wrap{display:flex;justify-content:space-between}.input-text{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;color:#000000;padding:5px 10px;box-sizing:border-box;width:100%}.input-text:focus{outline:0}.input-text:placeholder{color:#4A4A4A}.button{font-size:18px;line-height:23px;padding:15px 30px;border-radius:5px;border:1px solid #000000;background-color:#000000;filter:drop-shadow(0px 8px 20px rgba(0, 0, 0, 0.22));color:#FFFFFF;display:inline-block;text-decoration:none;text-align:center;transition:all ease-in-out 0.5s;cursor:pointer}.button:hover{background-color:#FFFFFF;color:#000000}.button-primary{color:#FFFFFF;background-color:#2C089B;border-color:#2C089B}.button-primary:hover{color:#2C089B;background-color:#FFFFFF}.button-secondary{color:#2C089B;background-color:#2AF135;border-color:#2AF135}.button-secondary:hover{background-color:#FFFFFF}.button-tertiary{color:#FFFFFF;background-color:#FF7272;border-color:#FF7272}.button-tertiary:hover{background-color:#FFFFFF}.button-clear-primary{color:#2C089B;background-color:transparent;text-decoration:underline;box-shadow:none;border:0;padding-left:0;padding-right:0}.button-clear-primary:hover{text-decoration:none;background-color:transparent}.button-clear-secondary{color:#2AF135;background-color:transparent;text-decoration:underline;box-shadow:none;border:0;padding-left:0;padding-right:0}.button-clear-secondary:hover{text-decoration:none;background-color:transparent}.button-clear-tertiary{color:#FF7272;background-color:transparent;text-decoration:underline;box-shadow:none;border:0;padding-left:0;padding-right:0}.button-clear-tertiary:hover{text-decoration:none;background-color:transparent}.button-clear-white{color:#FFFFFF;background-color:transparent;text-decoration:underline;box-shadow:none;border:0;padding-left:0;padding-right:0}.button-clear-white:hover{color:#FFFFFF;text-decoration:none;background-color:transparent}.button-rounded{border-radius:50%}.progress-bar{display:flex}.progress-bar .slider{margin:auto 15px auto 0;position:relative;flex-grow:1}.progress-bar .slider:before{content:\"\";position:absolute;display:block;top:0;left:0;bottom:0;right:0;background-color:#E8E8E8;border-radius:4px}.progress-bar .slider .progress{position:relative;border-radius:4px;background-color:#000000;height:8px}.progress-bar .counter{font-weight:700;color:#000000;font-size:14px;line-height:18px}.progress-bar-primary .slider .progress{background-color:#2C089B}.progress-bar-primary .counter{color:#2C089B}.progress-bar-secondary .slider .progress{background-color:#2AF135}.progress-bar-secondary .counter{color:#2AF135}.video-wrap video{width:100%;height:auto}.image-wrap img{width:100%;height:auto}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}.horizontal-padding-1{padding-left:5px;padding-right:5px}.horizontal-padding-2{padding-left:10px;padding-right:10px}.horizontal-padding-3{padding-left:15px;padding-right:15px}.horizontal-padding-4{padding-left:30px;padding-right:30px}.horizontal-padding-5{padding-left:45px;padding-right:45px}.horizontal-padding-6{padding-left:60px;padding-right:60px}.vertical-padding-1{padding-top:5px;padding-bottom:5px}.vertical-padding-2{padding-top:10px;padding-bottom:10px}.vertical-padding-3{padding-top:15px;padding-bottom:15px}.vertical-padding-4{padding-top:30px;padding-bottom:30px}.vertical-padding-5{padding-top:45px;padding-bottom:45px}.vertical-padding-6{padding-top:60px;padding-bottom:60px}:host{display:contents}.container{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;filter:drop-shadow(-1px 3px 12px rgba(0, 0, 0, 0.25));background-color:#FFFFFF;padding:15px;box-sizing:border-box}.container .campaign-title{position:absolute;top:0;left:0;right:0;text-align:center;font-weight:bold}.container .campaign-title span{background-color:#2AF135;color:#000000;padding:5px 15px;display:inline-block}.container .banner{top:0;margin-top:2px;padding-bottom:33.3%;background-color:#F1F1F1;margin-bottom:30px}.container .banner img{display:none}.container .meta-wrap{display:flex;justify-content:space-between;margin-top:auto;margin-bottom:15px}.container .meta-wrap .meta-item{width:calc(50% - 15px)}.container .meta-wrap .meta-item .label{font-size:11px;line-height:14px;display:block}.container .meta-wrap .meta-item .text{font-size:25px;line-height:32px;font-weight:bold;display:block}.container .meta-wrap .meta-item:last-child{text-align:right}.container .meta-wrap .meta-item:last-child .text{color:#2C089B}.container .progress-bar-wrap{padding-bottom:10px;margin-bottom:10px;border-bottom:1px solid #E8E8E8}.container .stat-wrap{display:flex;justify-content:space-between}.container .stat-wrap .stat-item{font-size:11px;line-height:14px;width:calc(50% - 15px);margin:auto 0 auto 15px}.container .stat-wrap .stat-item svg{fill:#FF7272}";
|
|
6
|
+
|
|
7
|
+
const BiggiveCampaignHighlights$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
8
|
+
constructor() {
|
|
9
|
+
super();
|
|
10
|
+
this.__registerHost();
|
|
11
|
+
this.__attachShadow();
|
|
12
|
+
/**
|
|
13
|
+
* Space below component
|
|
14
|
+
*/
|
|
15
|
+
this.spaceBelow = 0;
|
|
16
|
+
/**
|
|
17
|
+
* Full URL of a banner image.
|
|
18
|
+
*/
|
|
19
|
+
this.banner = '';
|
|
20
|
+
/**
|
|
21
|
+
* Display name of the charity's specific time-bound fundraising campaign.
|
|
22
|
+
*/
|
|
23
|
+
this.campaignTitle = null;
|
|
24
|
+
/**
|
|
25
|
+
* e.g. 'GBP'.
|
|
26
|
+
*/
|
|
27
|
+
this.currencyCode = 'GBP';
|
|
28
|
+
/**
|
|
29
|
+
* Label for the primary figure
|
|
30
|
+
*/
|
|
31
|
+
this.primaryFigureLabel = null;
|
|
32
|
+
/**
|
|
33
|
+
* Amount for the primary figure
|
|
34
|
+
*/
|
|
35
|
+
this.primaryFigureAmount = null;
|
|
36
|
+
/**
|
|
37
|
+
* Label for the secondary figure
|
|
38
|
+
*/
|
|
39
|
+
this.secondaryFigureLabel = null;
|
|
40
|
+
/**
|
|
41
|
+
* Amount for the secondary figure
|
|
42
|
+
*/
|
|
43
|
+
this.secondaryFigureAmount = null;
|
|
44
|
+
/**
|
|
45
|
+
* Progress bar percentage
|
|
46
|
+
*/
|
|
47
|
+
this.progressBarCounter = 100;
|
|
48
|
+
/**
|
|
49
|
+
* Primary stat icon
|
|
50
|
+
*/
|
|
51
|
+
this.primaryStatIcon = null;
|
|
52
|
+
/**
|
|
53
|
+
* Primary stat text
|
|
54
|
+
*/
|
|
55
|
+
this.primaryStatText = null;
|
|
56
|
+
/**
|
|
57
|
+
* Secondary stat icon
|
|
58
|
+
*/
|
|
59
|
+
this.secondaryStatIcon = null;
|
|
60
|
+
/**
|
|
61
|
+
* Secondary stat text
|
|
62
|
+
*/
|
|
63
|
+
this.secondaryStatText = null;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* @returns Whole large currency units (e.g. pounds) formatted with symbol.
|
|
67
|
+
*/
|
|
68
|
+
formatCurrency(currencyCode, amount) {
|
|
69
|
+
if (amount === null || isNaN(amount)) {
|
|
70
|
+
return '–';
|
|
71
|
+
}
|
|
72
|
+
return Intl.NumberFormat('en-GB', {
|
|
73
|
+
style: 'currency',
|
|
74
|
+
currency: currencyCode,
|
|
75
|
+
currencyDisplay: 'symbol',
|
|
76
|
+
maximumFractionDigits: 0,
|
|
77
|
+
}).format(amount);
|
|
78
|
+
}
|
|
79
|
+
render() {
|
|
80
|
+
return (h("div", { class: 'container space-below-' + this.spaceBelow }, h("div", { class: "sleeve" }, this.campaignTitle != null ? (h("div", { class: "campaign-title" }, h("span", null, this.campaignTitle))) : null, this.banner.length > 0 ? (h("div", { class: "image-wrap banner", style: { 'background-image': 'url(' + this.banner + ')' } }, h("img", { src: this.banner, class: "banner" }))) : null, h("div", { class: "meta-wrap" }, h("div", { class: "meta-item" }, h("span", { class: "label" }, this.primaryFigureLabel), h("span", { class: "text" }, this.formatCurrency(this.currencyCode, this.primaryFigureAmount))), h("div", { class: "meta-item" }, h("span", { class: "label" }, this.secondaryFigureLabel), h("span", { class: "text" }, this.formatCurrency(this.currencyCode, this.secondaryFigureAmount)))), h("div", { class: "progress-bar-wrap" }, h("biggive-progress-bar", { counter: this.progressBarCounter, "colour-scheme": "primary" })), h("div", { class: "stat-wrap" }, this.primaryStatIcon != null ? (h("div", { class: "stat-item" }, h("biggive-misc-icon", { icon: this.primaryStatIcon, "background-colour": "white", "icon-colour": "tertiary" }), h("span", { class: "label" }, this.primaryStatText))) : null, this.secondaryStatIcon != null ? (h("div", { class: "stat-item" }, h("biggive-misc-icon", { icon: this.secondaryStatIcon, "background-colour": "white", "icon-colour": "tertiary" }), h("span", { class: "label" }, this.secondaryStatText))) : null))));
|
|
81
|
+
}
|
|
82
|
+
static get style() { return biggiveCampaignHighlightsCss; }
|
|
83
|
+
}, [1, "biggive-campaign-highlights", {
|
|
84
|
+
"spaceBelow": [2, "space-below"],
|
|
85
|
+
"banner": [1],
|
|
86
|
+
"campaignTitle": [1, "campaign-title"],
|
|
87
|
+
"currencyCode": [1, "currency-code"],
|
|
88
|
+
"primaryFigureLabel": [1, "primary-figure-label"],
|
|
89
|
+
"primaryFigureAmount": [2, "primary-figure-amount"],
|
|
90
|
+
"secondaryFigureLabel": [1, "secondary-figure-label"],
|
|
91
|
+
"secondaryFigureAmount": [2, "secondary-figure-amount"],
|
|
92
|
+
"progressBarCounter": [2, "progress-bar-counter"],
|
|
93
|
+
"primaryStatIcon": [1, "primary-stat-icon"],
|
|
94
|
+
"primaryStatText": [1, "primary-stat-text"],
|
|
95
|
+
"secondaryStatIcon": [1, "secondary-stat-icon"],
|
|
96
|
+
"secondaryStatText": [1, "secondary-stat-text"]
|
|
97
|
+
}]);
|
|
98
|
+
function defineCustomElement$1() {
|
|
99
|
+
if (typeof customElements === "undefined") {
|
|
100
|
+
return;
|
|
101
|
+
}
|
|
102
|
+
const components = ["biggive-campaign-highlights", "biggive-misc-icon", "biggive-progress-bar"];
|
|
103
|
+
components.forEach(tagName => { switch (tagName) {
|
|
104
|
+
case "biggive-campaign-highlights":
|
|
105
|
+
if (!customElements.get(tagName)) {
|
|
106
|
+
customElements.define(tagName, BiggiveCampaignHighlights$1);
|
|
107
|
+
}
|
|
108
|
+
break;
|
|
109
|
+
case "biggive-misc-icon":
|
|
110
|
+
if (!customElements.get(tagName)) {
|
|
111
|
+
defineCustomElement$3();
|
|
112
|
+
}
|
|
113
|
+
break;
|
|
114
|
+
case "biggive-progress-bar":
|
|
115
|
+
if (!customElements.get(tagName)) {
|
|
116
|
+
defineCustomElement$2();
|
|
117
|
+
}
|
|
118
|
+
break;
|
|
119
|
+
} });
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
const BiggiveCampaignHighlights = BiggiveCampaignHighlights$1;
|
|
123
|
+
const defineCustomElement = defineCustomElement$1;
|
|
124
|
+
|
|
125
|
+
export { BiggiveCampaignHighlights, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface BiggiveCategoryIcon extends Components.BiggiveCategoryIcon, HTMLElement {}
|
|
4
|
+
export const BiggiveCategoryIcon: {
|
|
5
|
+
prototype: BiggiveCategoryIcon;
|
|
6
|
+
new (): BiggiveCategoryIcon;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|