@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,339 @@
|
|
|
1
|
+
import { Component, Prop, h } from '@stencil/core';
|
|
2
|
+
export class BiggiveCampaignHighlights {
|
|
3
|
+
constructor() {
|
|
4
|
+
/**
|
|
5
|
+
* Space below component
|
|
6
|
+
*/
|
|
7
|
+
this.spaceBelow = 0;
|
|
8
|
+
/**
|
|
9
|
+
* Full URL of a banner image.
|
|
10
|
+
*/
|
|
11
|
+
this.banner = '';
|
|
12
|
+
/**
|
|
13
|
+
* Display name of the charity's specific time-bound fundraising campaign.
|
|
14
|
+
*/
|
|
15
|
+
this.campaignTitle = null;
|
|
16
|
+
/**
|
|
17
|
+
* e.g. 'GBP'.
|
|
18
|
+
*/
|
|
19
|
+
this.currencyCode = 'GBP';
|
|
20
|
+
/**
|
|
21
|
+
* Label for the primary figure
|
|
22
|
+
*/
|
|
23
|
+
this.primaryFigureLabel = null;
|
|
24
|
+
/**
|
|
25
|
+
* Amount for the primary figure
|
|
26
|
+
*/
|
|
27
|
+
this.primaryFigureAmount = null;
|
|
28
|
+
/**
|
|
29
|
+
* Label for the secondary figure
|
|
30
|
+
*/
|
|
31
|
+
this.secondaryFigureLabel = null;
|
|
32
|
+
/**
|
|
33
|
+
* Amount for the secondary figure
|
|
34
|
+
*/
|
|
35
|
+
this.secondaryFigureAmount = null;
|
|
36
|
+
/**
|
|
37
|
+
* Progress bar percentage
|
|
38
|
+
*/
|
|
39
|
+
this.progressBarCounter = 100;
|
|
40
|
+
/**
|
|
41
|
+
* Primary stat icon
|
|
42
|
+
*/
|
|
43
|
+
this.primaryStatIcon = null;
|
|
44
|
+
/**
|
|
45
|
+
* Primary stat text
|
|
46
|
+
*/
|
|
47
|
+
this.primaryStatText = null;
|
|
48
|
+
/**
|
|
49
|
+
* Secondary stat icon
|
|
50
|
+
*/
|
|
51
|
+
this.secondaryStatIcon = null;
|
|
52
|
+
/**
|
|
53
|
+
* Secondary stat text
|
|
54
|
+
*/
|
|
55
|
+
this.secondaryStatText = null;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* @returns Whole large currency units (e.g. pounds) formatted with symbol.
|
|
59
|
+
*/
|
|
60
|
+
formatCurrency(currencyCode, amount) {
|
|
61
|
+
if (amount === null || isNaN(amount)) {
|
|
62
|
+
return '–';
|
|
63
|
+
}
|
|
64
|
+
return Intl.NumberFormat('en-GB', {
|
|
65
|
+
style: 'currency',
|
|
66
|
+
currency: currencyCode,
|
|
67
|
+
currencyDisplay: 'symbol',
|
|
68
|
+
maximumFractionDigits: 0,
|
|
69
|
+
}).format(amount);
|
|
70
|
+
}
|
|
71
|
+
render() {
|
|
72
|
+
return (h("div", { class: 'container space-below-' + this.spaceBelow },
|
|
73
|
+
h("div", { class: "sleeve" },
|
|
74
|
+
this.campaignTitle != null ? (h("div", { class: "campaign-title" },
|
|
75
|
+
h("span", null, this.campaignTitle))) : null,
|
|
76
|
+
this.banner.length > 0 ? (h("div", { class: "image-wrap banner", style: { 'background-image': 'url(' + this.banner + ')' } },
|
|
77
|
+
h("img", { src: this.banner, class: "banner" }))) : null,
|
|
78
|
+
h("div", { class: "meta-wrap" },
|
|
79
|
+
h("div", { class: "meta-item" },
|
|
80
|
+
h("span", { class: "label" }, this.primaryFigureLabel),
|
|
81
|
+
h("span", { class: "text" }, this.formatCurrency(this.currencyCode, this.primaryFigureAmount))),
|
|
82
|
+
h("div", { class: "meta-item" },
|
|
83
|
+
h("span", { class: "label" }, this.secondaryFigureLabel),
|
|
84
|
+
h("span", { class: "text" }, this.formatCurrency(this.currencyCode, this.secondaryFigureAmount)))),
|
|
85
|
+
h("div", { class: "progress-bar-wrap" },
|
|
86
|
+
h("biggive-progress-bar", { counter: this.progressBarCounter, "colour-scheme": "primary" })),
|
|
87
|
+
h("div", { class: "stat-wrap" },
|
|
88
|
+
this.primaryStatIcon != null ? (h("div", { class: "stat-item" },
|
|
89
|
+
h("biggive-misc-icon", { icon: this.primaryStatIcon, "background-colour": "white", "icon-colour": "tertiary" }),
|
|
90
|
+
h("span", { class: "label" }, this.primaryStatText))) : null,
|
|
91
|
+
this.secondaryStatIcon != null ? (h("div", { class: "stat-item" },
|
|
92
|
+
h("biggive-misc-icon", { icon: this.secondaryStatIcon, "background-colour": "white", "icon-colour": "tertiary" }),
|
|
93
|
+
h("span", { class: "label" }, this.secondaryStatText))) : null))));
|
|
94
|
+
}
|
|
95
|
+
static get is() { return "biggive-campaign-highlights"; }
|
|
96
|
+
static get encapsulation() { return "shadow"; }
|
|
97
|
+
static get originalStyleUrls() { return {
|
|
98
|
+
"$": ["biggive-campaign-highlights.scss"]
|
|
99
|
+
}; }
|
|
100
|
+
static get styleUrls() { return {
|
|
101
|
+
"$": ["biggive-campaign-highlights.css"]
|
|
102
|
+
}; }
|
|
103
|
+
static get properties() { return {
|
|
104
|
+
"spaceBelow": {
|
|
105
|
+
"type": "number",
|
|
106
|
+
"mutable": false,
|
|
107
|
+
"complexType": {
|
|
108
|
+
"original": "number",
|
|
109
|
+
"resolved": "number",
|
|
110
|
+
"references": {}
|
|
111
|
+
},
|
|
112
|
+
"required": false,
|
|
113
|
+
"optional": false,
|
|
114
|
+
"docs": {
|
|
115
|
+
"tags": [],
|
|
116
|
+
"text": "Space below component"
|
|
117
|
+
},
|
|
118
|
+
"attribute": "space-below",
|
|
119
|
+
"reflect": false,
|
|
120
|
+
"defaultValue": "0"
|
|
121
|
+
},
|
|
122
|
+
"banner": {
|
|
123
|
+
"type": "string",
|
|
124
|
+
"mutable": false,
|
|
125
|
+
"complexType": {
|
|
126
|
+
"original": "string",
|
|
127
|
+
"resolved": "string",
|
|
128
|
+
"references": {}
|
|
129
|
+
},
|
|
130
|
+
"required": false,
|
|
131
|
+
"optional": false,
|
|
132
|
+
"docs": {
|
|
133
|
+
"tags": [],
|
|
134
|
+
"text": "Full URL of a banner image."
|
|
135
|
+
},
|
|
136
|
+
"attribute": "banner",
|
|
137
|
+
"reflect": false,
|
|
138
|
+
"defaultValue": "''"
|
|
139
|
+
},
|
|
140
|
+
"campaignTitle": {
|
|
141
|
+
"type": "string",
|
|
142
|
+
"mutable": false,
|
|
143
|
+
"complexType": {
|
|
144
|
+
"original": "string",
|
|
145
|
+
"resolved": "string",
|
|
146
|
+
"references": {}
|
|
147
|
+
},
|
|
148
|
+
"required": false,
|
|
149
|
+
"optional": false,
|
|
150
|
+
"docs": {
|
|
151
|
+
"tags": [],
|
|
152
|
+
"text": "Display name of the charity's specific time-bound fundraising campaign."
|
|
153
|
+
},
|
|
154
|
+
"attribute": "campaign-title",
|
|
155
|
+
"reflect": false,
|
|
156
|
+
"defaultValue": "null"
|
|
157
|
+
},
|
|
158
|
+
"currencyCode": {
|
|
159
|
+
"type": "string",
|
|
160
|
+
"mutable": false,
|
|
161
|
+
"complexType": {
|
|
162
|
+
"original": "string",
|
|
163
|
+
"resolved": "string",
|
|
164
|
+
"references": {}
|
|
165
|
+
},
|
|
166
|
+
"required": false,
|
|
167
|
+
"optional": false,
|
|
168
|
+
"docs": {
|
|
169
|
+
"tags": [],
|
|
170
|
+
"text": "e.g. 'GBP'."
|
|
171
|
+
},
|
|
172
|
+
"attribute": "currency-code",
|
|
173
|
+
"reflect": false,
|
|
174
|
+
"defaultValue": "'GBP'"
|
|
175
|
+
},
|
|
176
|
+
"primaryFigureLabel": {
|
|
177
|
+
"type": "string",
|
|
178
|
+
"mutable": false,
|
|
179
|
+
"complexType": {
|
|
180
|
+
"original": "string",
|
|
181
|
+
"resolved": "string",
|
|
182
|
+
"references": {}
|
|
183
|
+
},
|
|
184
|
+
"required": false,
|
|
185
|
+
"optional": false,
|
|
186
|
+
"docs": {
|
|
187
|
+
"tags": [],
|
|
188
|
+
"text": "Label for the primary figure"
|
|
189
|
+
},
|
|
190
|
+
"attribute": "primary-figure-label",
|
|
191
|
+
"reflect": false,
|
|
192
|
+
"defaultValue": "null"
|
|
193
|
+
},
|
|
194
|
+
"primaryFigureAmount": {
|
|
195
|
+
"type": "number",
|
|
196
|
+
"mutable": false,
|
|
197
|
+
"complexType": {
|
|
198
|
+
"original": "number",
|
|
199
|
+
"resolved": "number",
|
|
200
|
+
"references": {}
|
|
201
|
+
},
|
|
202
|
+
"required": false,
|
|
203
|
+
"optional": false,
|
|
204
|
+
"docs": {
|
|
205
|
+
"tags": [],
|
|
206
|
+
"text": "Amount for the primary figure"
|
|
207
|
+
},
|
|
208
|
+
"attribute": "primary-figure-amount",
|
|
209
|
+
"reflect": false,
|
|
210
|
+
"defaultValue": "null"
|
|
211
|
+
},
|
|
212
|
+
"secondaryFigureLabel": {
|
|
213
|
+
"type": "string",
|
|
214
|
+
"mutable": false,
|
|
215
|
+
"complexType": {
|
|
216
|
+
"original": "string",
|
|
217
|
+
"resolved": "string",
|
|
218
|
+
"references": {}
|
|
219
|
+
},
|
|
220
|
+
"required": false,
|
|
221
|
+
"optional": false,
|
|
222
|
+
"docs": {
|
|
223
|
+
"tags": [],
|
|
224
|
+
"text": "Label for the secondary figure"
|
|
225
|
+
},
|
|
226
|
+
"attribute": "secondary-figure-label",
|
|
227
|
+
"reflect": false,
|
|
228
|
+
"defaultValue": "null"
|
|
229
|
+
},
|
|
230
|
+
"secondaryFigureAmount": {
|
|
231
|
+
"type": "number",
|
|
232
|
+
"mutable": false,
|
|
233
|
+
"complexType": {
|
|
234
|
+
"original": "number",
|
|
235
|
+
"resolved": "number",
|
|
236
|
+
"references": {}
|
|
237
|
+
},
|
|
238
|
+
"required": false,
|
|
239
|
+
"optional": false,
|
|
240
|
+
"docs": {
|
|
241
|
+
"tags": [],
|
|
242
|
+
"text": "Amount for the secondary figure"
|
|
243
|
+
},
|
|
244
|
+
"attribute": "secondary-figure-amount",
|
|
245
|
+
"reflect": false,
|
|
246
|
+
"defaultValue": "null"
|
|
247
|
+
},
|
|
248
|
+
"progressBarCounter": {
|
|
249
|
+
"type": "number",
|
|
250
|
+
"mutable": false,
|
|
251
|
+
"complexType": {
|
|
252
|
+
"original": "number",
|
|
253
|
+
"resolved": "number",
|
|
254
|
+
"references": {}
|
|
255
|
+
},
|
|
256
|
+
"required": false,
|
|
257
|
+
"optional": false,
|
|
258
|
+
"docs": {
|
|
259
|
+
"tags": [],
|
|
260
|
+
"text": "Progress bar percentage"
|
|
261
|
+
},
|
|
262
|
+
"attribute": "progress-bar-counter",
|
|
263
|
+
"reflect": false,
|
|
264
|
+
"defaultValue": "100"
|
|
265
|
+
},
|
|
266
|
+
"primaryStatIcon": {
|
|
267
|
+
"type": "string",
|
|
268
|
+
"mutable": false,
|
|
269
|
+
"complexType": {
|
|
270
|
+
"original": "string",
|
|
271
|
+
"resolved": "string",
|
|
272
|
+
"references": {}
|
|
273
|
+
},
|
|
274
|
+
"required": false,
|
|
275
|
+
"optional": false,
|
|
276
|
+
"docs": {
|
|
277
|
+
"tags": [],
|
|
278
|
+
"text": "Primary stat icon"
|
|
279
|
+
},
|
|
280
|
+
"attribute": "primary-stat-icon",
|
|
281
|
+
"reflect": false,
|
|
282
|
+
"defaultValue": "null"
|
|
283
|
+
},
|
|
284
|
+
"primaryStatText": {
|
|
285
|
+
"type": "string",
|
|
286
|
+
"mutable": false,
|
|
287
|
+
"complexType": {
|
|
288
|
+
"original": "string",
|
|
289
|
+
"resolved": "string",
|
|
290
|
+
"references": {}
|
|
291
|
+
},
|
|
292
|
+
"required": false,
|
|
293
|
+
"optional": false,
|
|
294
|
+
"docs": {
|
|
295
|
+
"tags": [],
|
|
296
|
+
"text": "Primary stat text"
|
|
297
|
+
},
|
|
298
|
+
"attribute": "primary-stat-text",
|
|
299
|
+
"reflect": false,
|
|
300
|
+
"defaultValue": "null"
|
|
301
|
+
},
|
|
302
|
+
"secondaryStatIcon": {
|
|
303
|
+
"type": "string",
|
|
304
|
+
"mutable": false,
|
|
305
|
+
"complexType": {
|
|
306
|
+
"original": "string",
|
|
307
|
+
"resolved": "string",
|
|
308
|
+
"references": {}
|
|
309
|
+
},
|
|
310
|
+
"required": false,
|
|
311
|
+
"optional": false,
|
|
312
|
+
"docs": {
|
|
313
|
+
"tags": [],
|
|
314
|
+
"text": "Secondary stat icon"
|
|
315
|
+
},
|
|
316
|
+
"attribute": "secondary-stat-icon",
|
|
317
|
+
"reflect": false,
|
|
318
|
+
"defaultValue": "null"
|
|
319
|
+
},
|
|
320
|
+
"secondaryStatText": {
|
|
321
|
+
"type": "string",
|
|
322
|
+
"mutable": false,
|
|
323
|
+
"complexType": {
|
|
324
|
+
"original": "string",
|
|
325
|
+
"resolved": "string",
|
|
326
|
+
"references": {}
|
|
327
|
+
},
|
|
328
|
+
"required": false,
|
|
329
|
+
"optional": false,
|
|
330
|
+
"docs": {
|
|
331
|
+
"tags": [],
|
|
332
|
+
"text": "Secondary stat text"
|
|
333
|
+
},
|
|
334
|
+
"attribute": "secondary-stat-text",
|
|
335
|
+
"reflect": false,
|
|
336
|
+
"defaultValue": "null"
|
|
337
|
+
}
|
|
338
|
+
}; }
|
|
339
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
title: 'Components/Campaign Features',
|
|
3
|
+
argTypes: {
|
|
4
|
+
spaceBelow: {
|
|
5
|
+
name: 'Space below',
|
|
6
|
+
control: {
|
|
7
|
+
type: 'select',
|
|
8
|
+
options: [0, 1, 2, 3, 4, 5, 6],
|
|
9
|
+
},
|
|
10
|
+
},
|
|
11
|
+
banner: {
|
|
12
|
+
name: 'Banner image url',
|
|
13
|
+
},
|
|
14
|
+
campaignTitle: {
|
|
15
|
+
name: 'Camapign title',
|
|
16
|
+
},
|
|
17
|
+
currencyCode: {
|
|
18
|
+
name: 'Currency code',
|
|
19
|
+
},
|
|
20
|
+
primaryFigureLabel: {
|
|
21
|
+
name: 'Primary figure label',
|
|
22
|
+
},
|
|
23
|
+
primaryFigureAmount: {
|
|
24
|
+
name: 'Primary figure amount',
|
|
25
|
+
},
|
|
26
|
+
secondaryFigureLabel: {
|
|
27
|
+
name: 'Secondary figure label',
|
|
28
|
+
},
|
|
29
|
+
secondaryFigureAmount: {
|
|
30
|
+
name: 'Secondary figure amount',
|
|
31
|
+
},
|
|
32
|
+
progressBarCounter: {
|
|
33
|
+
name: 'Progress bar counter',
|
|
34
|
+
},
|
|
35
|
+
primaryStatIcon: {
|
|
36
|
+
name: 'Primary stat icon',
|
|
37
|
+
control: {
|
|
38
|
+
type: 'select',
|
|
39
|
+
options: ['heart', 'AlarmClock'],
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
primaryStatText: {
|
|
43
|
+
name: 'Primary stat text',
|
|
44
|
+
},
|
|
45
|
+
secondaryStatIcon: {
|
|
46
|
+
name: 'Secondary stat icon',
|
|
47
|
+
control: {
|
|
48
|
+
type: 'select',
|
|
49
|
+
options: ['heart', 'AlarmClock'],
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
secondaryStatText: {
|
|
53
|
+
name: 'Secondary stat text',
|
|
54
|
+
},
|
|
55
|
+
},
|
|
56
|
+
};
|
|
57
|
+
const Template = args => `
|
|
58
|
+
<biggive-campaign-highlights
|
|
59
|
+
space-below=${args.spaceBelow}
|
|
60
|
+
banner="${args.banner}"
|
|
61
|
+
campaign-title="${args.campaignTitle}"
|
|
62
|
+
currency-code="${args.currencyCode}"
|
|
63
|
+
primary-figure-label=${args.primaryFigureLabel}
|
|
64
|
+
primary-figure-amount=${args.primaryFigureAmount}
|
|
65
|
+
secondary-figure-label=${args.secondaryFigureLabel}
|
|
66
|
+
secondary-figure-amount=${args.secondaryFigureAmount}
|
|
67
|
+
progress-bar-counter=${args.progressBarCounter}
|
|
68
|
+
primary-stat-icon=${args.primaryStatIcon}
|
|
69
|
+
primary-stat-text=${args.primaryStatText}
|
|
70
|
+
secondary-stat-icon=${args.secondaryStatIcon}
|
|
71
|
+
secondary-stat-text=${args.secondaryStatText}
|
|
72
|
+
</biggive-campaign-highlights>
|
|
73
|
+
`;
|
|
74
|
+
export const CampaignHighlightsComponent = Template.bind({});
|
|
75
|
+
CampaignHighlightsComponent.args = {
|
|
76
|
+
spaceBelow: 0,
|
|
77
|
+
banner: 'https://media.istockphoto.com/vectors/childish-seamless-dotted-pattern-with-colorful-doodle-letters-fun-vector-id1208462693',
|
|
78
|
+
campaignTitle: 'this is my sample title',
|
|
79
|
+
currencyCode: 'GBP',
|
|
80
|
+
primaryFigureLabel: 'Total raised',
|
|
81
|
+
primaryFigureAmount: 1000,
|
|
82
|
+
secondaryFigureLabel: 'Total remaining',
|
|
83
|
+
secondaryFigureAmount: 1000,
|
|
84
|
+
progressBarCounter: 100,
|
|
85
|
+
primaryStatIcon: 'AlarmClock',
|
|
86
|
+
primaryStatText: 'this is the text',
|
|
87
|
+
secondaryStatIcon: 'Heart',
|
|
88
|
+
secondaryStatText: 'this is the text',
|
|
89
|
+
};
|