@biggive/components 1.0.139 → 1.0.141
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/biggive/biggive.esm.js +1 -1
- package/dist/biggive/{p-2d4bd95c.entry.js → p-5c78bf89.entry.js} +1 -1
- package/dist/biggive/{p-abbadeba.entry.js → p-7b0e6bb4.entry.js} +1 -1
- package/dist/biggive/{p-f3534578.entry.js → p-c9a8bb86.entry.js} +1 -1
- package/dist/cjs/biggive-back-to-top_26.cjs.entry.js +28 -16
- package/dist/cjs/biggive-beneficiary-icon.cjs.entry.js +1 -1
- package/dist/cjs/biggive-category-icon.cjs.entry.js +1 -1
- package/dist/cjs/biggive.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/biggive-beneficiary-icon/biggive-beneficiary-icon.css +4 -1
- package/dist/collection/components/biggive-branded-image/biggive-branded-image.css +4 -4
- package/dist/collection/components/biggive-branded-image/biggive-branded-image.js +20 -1
- package/dist/collection/components/biggive-branded-image/biggive-branded-image.stories.js +5 -0
- package/dist/collection/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.css +29 -2
- package/dist/collection/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.js +41 -3
- package/dist/collection/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.stories.js +21 -4
- package/dist/collection/components/biggive-campaign-highlights/biggive-campaign-highlights.css +34 -0
- package/dist/collection/components/biggive-campaign-highlights/biggive-campaign-highlights.js +39 -1
- package/dist/collection/components/biggive-campaign-highlights/biggive-campaign-highlights.stories.js +10 -0
- package/dist/collection/components/biggive-category-icon/biggive-category-icon.css +4 -1
- package/dist/collection/components/biggive-form-field-select/biggive-form-field-select.js +1 -1
- package/dist/collection/components/biggive-hero-image/biggive-hero-image.css +9 -4
- package/dist/collection/components/biggive-misc-icon/biggive-misc-icon.css +5 -2
- package/dist/collection/components/biggive-misc-icon/biggive-misc-icon.js +2 -2
- package/dist/collection/components/biggive-popup/biggive-popup.js +23 -4
- package/dist/collection/components/biggive-search/biggive-search.js +18 -5
- package/dist/collection/components/biggive-social-icon/biggive-social-icon.css +64 -3
- package/dist/components/biggive-beneficiary-icon.js +1 -1
- package/dist/components/biggive-branded-image.js +5 -3
- package/dist/components/biggive-campaign-card-filter-grid.js +11 -4
- package/dist/components/biggive-campaign-highlights.js +7 -3
- package/dist/components/biggive-category-icon.js +1 -1
- package/dist/components/biggive-form-field-select2.js +1 -1
- package/dist/components/biggive-hero-image.js +1 -1
- package/dist/components/biggive-misc-icon2.js +2 -2
- package/dist/components/biggive-popup2.js +8 -4
- package/dist/components/biggive-search.js +2 -2
- package/dist/components/biggive-social-icon.js +1 -1
- package/dist/esm/biggive-back-to-top_26.entry.js +28 -16
- package/dist/esm/biggive-beneficiary-icon.entry.js +1 -1
- package/dist/esm/biggive-category-icon.entry.js +1 -1
- package/dist/esm/biggive.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/biggive-branded-image/biggive-branded-image.d.ts +4 -0
- package/dist/types/components/biggive-branded-image/biggive-branded-image.stories.d.ts +3 -0
- package/dist/types/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.d.ts +15 -1
- package/dist/types/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.stories.d.ts +17 -0
- package/dist/types/components/biggive-campaign-highlights/biggive-campaign-highlights.d.ts +11 -0
- package/dist/types/components/biggive-campaign-highlights/biggive-campaign-highlights.stories.d.ts +6 -0
- package/dist/types/components/biggive-popup/biggive-popup.d.ts +3 -2
- package/dist/types/components.d.ts +40 -1
- package/hydrate/index.js +40 -23
- package/package.json +1 -1
package/dist/esm/loader.js
CHANGED
|
@@ -10,7 +10,7 @@ const patchEsm = () => {
|
|
|
10
10
|
const defineCustomElements = (win, options) => {
|
|
11
11
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
12
12
|
return patchEsm().then(() => {
|
|
13
|
-
return bootstrapLazy([["biggive-back-to-top_26",[[1,"biggive-campaign-card-filter-grid",{"spaceBelow":[2,"space-below"],"intro":[1],"placeholderText":[1,"placeholder-text"],"buttonText":[1,"button-text"],"categoryOptions":[16],"beneficiaryOptions":[16],"locationOptions":[16],"fundingOptions":[16],"selectedLabel":[1,"selected-label"]},[[0,"doSelectChange","doOptionSelectCompletedHandler"]]],[1,"biggive-campaign-card",{"spaceBelow":[2,"space-below"],"campaignType":[1,"campaign-type"],"banner":[1],"campaignTitle":[1,"campaign-title"],"organisationName":[1,"organisation-name"],"primaryFigureLabel":[1,"primary-figure-label"],"primaryFigureAmount":[1,"primary-figure-amount"],"secondaryFigureLabel":[1,"secondary-figure-label"],"secondaryFigureAmount":[1,"secondary-figure-amount"],"progressBarCounter":[2,"progress-bar-counter"],"donateButtonLabel":[1,"donate-button-label"],"donateButtonUrl":[1,"donate-button-url"],"donateButtonColourScheme":[1,"donate-button-colour-scheme"],"moreInfoButtonLabel":[1,"more-info-button-label"],"moreInfoButtonUrl":[1,"more-info-button-url"],"moreInfoButtonColourScheme":[1,"more-info-button-colour-scheme"]}],[1,"biggive-campaign-highlights",{"spaceBelow":[2,"space-below"],"banner":[1],"campaignTitle":[1,"campaign-title"],"primaryFigureLabel":[1,"primary-figure-label"],"primaryFigureAmount":[1,"primary-figure-amount"],"secondaryFigureLabel":[1,"secondary-figure-label"],"secondaryFigureAmount":[1,"secondary-figure-amount"],"progressBarCounter":[2,"progress-bar-counter"],"primaryStatIcon":[1,"primary-stat-icon"],"primaryStatText":[1,"primary-stat-text"],"secondaryStatIcon":[1,"secondary-stat-icon"],"secondaryStatText":[1,"secondary-stat-text"]}],[1,"biggive-call-to-action",{"spaceAbove":[2,"space-above"],"spaceBelow":[2,"space-below"],"defaultTextColour":[1,"default-text-colour"],"slugSize":[2,"slug-size"],"slugColour":[1,"slug-colour"],"slug":[1],"mainTitleColour":[1,"main-title-colour"],"mainTitleSize":[2,"main-title-size"],"mainTitle":[1,"main-title"],"subtitleSize":[2,"subtitle-size"],"subtitleColour":[1,"subtitle-colour"],"subtitle":[1],"teaserColour":[1,"teaser-colour"],"teaser":[1],"primaryButtonUrl":[1,"primary-button-url"],"primaryButtonLabel":[1,"primary-button-label"],"primaryButtonColourScheme":[1,"primary-button-colour-scheme"],"secondaryButtonUrl":[1,"secondary-button-url"],"secondaryButtonLabel":[1,"secondary-button-label"],"secondaryButtonColourScheme":[1,"secondary-button-colour-scheme"]}],[1,"biggive-footer"],[1,"biggive-hero-image",{"spaceBelow":[2,"space-below"],"colourScheme":[1,"colour-scheme"],"slug":[1],"slugColour":[1,"slug-colour"],"logo":[1],"mainImage":[1,"main-image"],"mainImageAlignHorizontal":[1,"main-image-align-horizontal"],"mainImageAlignVertical":[1,"main-image-align-vertical"],"mainTitle":[1,"main-title"],"mainTitleColour":[1,"main-title-colour"],"teaser":[1],"teaserColour":[1,"teaser-colour"],"buttonUrl":[1,"button-url"],"buttonLabel":[1,"button-label"],"buttonColourScheme":[1,"button-colour-scheme"]}],[1,"biggive-image-feature",{"spaceBelow":[2,"space-below"],"defaultTextColour":[1,"default-text-colour"],"imageUrl":[1,"image-url"],"slug":[1],"slugColour":[1,"slug-colour"],"mainTitle":[1,"main-title"],"mainTitleColour":[1,"main-title-colour"],"teaser":[1],"teaserColour":[1,"teaser-colour"],"buttonUrl":[1,"button-url"],"buttonLabel":[1,"button-label"],"buttonColourScheme":[1,"button-colour-scheme"]}],[1,"biggive-video-feature",{"spaceAbove":[2,"space-above"],"spaceBelow":[2,"space-below"],"defaultTextColour":[1,"default-text-colour"],"videoUrl":[1,"video-url"],"slug":[1],"slugColour":[1,"slug-colour"],"mainTitle":[1,"main-title"],"mainTitleColour":[1,"main-title-colour"],"teaser":[1],"teaserColour":[1,"teaser-colour"],"buttonUrl":[1,"button-url"],"buttonLabel":[1,"button-label"],"buttonColourScheme":[1,"button-colour-scheme"]}],[1,"biggive-back-to-top"],[1,"biggive-branded-image",{"spaceBelow":[2,"space-below"],"imageUrl":[1,"image-url"],"logoUrl":[1,"logo-url"],"slug":[1],"charityName":[1,"charity-name"],"charityLocation":[1,"charity-location"]}],[1,"biggive-grid",{"spaceBelow":[2,"space-below"],"columnCount":[2,"column-count"],"columnGap":[2,"column-gap"]}],[1,"biggive-header",{"spaceBelow":[2,"space-below"],"logoUrl":[1,"logo-url"]}],[1,"biggive-heading",{"spaceAbove":[2,"space-above"],"spaceBelow":[2,"space-below"],"colour":[1],"htmlElement":[1,"html-element"],"size":[2],"align":[1],"text":[1]}],[1,"biggive-page-column"],[1,"biggive-page-columns",{"spaceBelow":[2,"space-below"]}],[1,"biggive-page-section",{"spaceBelow":[2,"space-below"],"sectionStyleTop":[1,"section-style-top"],"sectionStyleBottom":[1,"section-style-bottom"],"colourScheme":[1,"colour-scheme"]}],[1,"biggive-quote",{"spaceBelow":[2,"space-below"],"defaultTextColour":[1,"default-text-colour"],"quote":[1],"attribution":[1]}],[0,"biggive-social-icon",{"service":[1],"backgroundColour":[1,"background-colour"],"iconColour":[1,"icon-colour"],"url":[1]}],[1,"biggive-totalizer",{"spaceBelow":[2,"space-below"],"primaryColour":[1,"primary-colour"],"primaryTextColour":[1,"primary-text-colour"],"secondaryColour":[1,"secondary-colour"],"secondaryTextColour":[1,"secondary-text-colour"],"mainMessage":[1,"main-message"]}],[1,"biggive-totalizer-ticker-item",{"figure":[1],"label":[1]}],[1,"biggive-form-field-select",{"selectedValue":[1,"selected-value"],"selectedLabel":[1,"selected-label"],"spaceBelow":[2,"space-below"],"placeholder":[1]},[[0,"doOptionSelect","doOptionSelectCompletedHandler"]]],[1,"biggive-form-field-select-option",{"label":[1],"value":[1],"selectedValue":[32],"selectedLabel":[32]}],[0,"biggive-misc-icon",{"backgroundColour":[1,"background-colour"],"iconColour":[1,"icon-colour"],"icon":[1],"url":[1]}],[1,"biggive-popup",{"
|
|
13
|
+
return bootstrapLazy([["biggive-back-to-top_26",[[1,"biggive-campaign-card-filter-grid",{"spaceBelow":[2,"space-below"],"intro":[1],"searchText":[1,"search-text"],"placeholderText":[1,"placeholder-text"],"buttonText":[1,"button-text"],"categoryOptions":[16],"beneficiaryOptions":[16],"locationOptions":[16],"fundingOptions":[16],"selectedLabel":[1,"selected-label"]},[[0,"doSelectChange","doOptionSelectCompletedHandler"]]],[1,"biggive-campaign-card",{"spaceBelow":[2,"space-below"],"campaignType":[1,"campaign-type"],"banner":[1],"campaignTitle":[1,"campaign-title"],"organisationName":[1,"organisation-name"],"primaryFigureLabel":[1,"primary-figure-label"],"primaryFigureAmount":[1,"primary-figure-amount"],"secondaryFigureLabel":[1,"secondary-figure-label"],"secondaryFigureAmount":[1,"secondary-figure-amount"],"progressBarCounter":[2,"progress-bar-counter"],"donateButtonLabel":[1,"donate-button-label"],"donateButtonUrl":[1,"donate-button-url"],"donateButtonColourScheme":[1,"donate-button-colour-scheme"],"moreInfoButtonLabel":[1,"more-info-button-label"],"moreInfoButtonUrl":[1,"more-info-button-url"],"moreInfoButtonColourScheme":[1,"more-info-button-colour-scheme"]}],[1,"biggive-campaign-highlights",{"spaceBelow":[2,"space-below"],"banner":[1],"campaignTitle":[1,"campaign-title"],"primaryFigureLabel":[1,"primary-figure-label"],"primaryFigureAmount":[1,"primary-figure-amount"],"secondaryFigureLabel":[1,"secondary-figure-label"],"secondaryFigureAmount":[1,"secondary-figure-amount"],"progressBarCounter":[2,"progress-bar-counter"],"primaryStatIcon":[1,"primary-stat-icon"],"primaryStatText":[1,"primary-stat-text"],"secondaryStatIcon":[1,"secondary-stat-icon"],"secondaryStatText":[1,"secondary-stat-text"],"championName":[1,"champion-name"],"championUrl":[1,"champion-url"]}],[1,"biggive-call-to-action",{"spaceAbove":[2,"space-above"],"spaceBelow":[2,"space-below"],"defaultTextColour":[1,"default-text-colour"],"slugSize":[2,"slug-size"],"slugColour":[1,"slug-colour"],"slug":[1],"mainTitleColour":[1,"main-title-colour"],"mainTitleSize":[2,"main-title-size"],"mainTitle":[1,"main-title"],"subtitleSize":[2,"subtitle-size"],"subtitleColour":[1,"subtitle-colour"],"subtitle":[1],"teaserColour":[1,"teaser-colour"],"teaser":[1],"primaryButtonUrl":[1,"primary-button-url"],"primaryButtonLabel":[1,"primary-button-label"],"primaryButtonColourScheme":[1,"primary-button-colour-scheme"],"secondaryButtonUrl":[1,"secondary-button-url"],"secondaryButtonLabel":[1,"secondary-button-label"],"secondaryButtonColourScheme":[1,"secondary-button-colour-scheme"]}],[1,"biggive-footer"],[1,"biggive-hero-image",{"spaceBelow":[2,"space-below"],"colourScheme":[1,"colour-scheme"],"slug":[1],"slugColour":[1,"slug-colour"],"logo":[1],"mainImage":[1,"main-image"],"mainImageAlignHorizontal":[1,"main-image-align-horizontal"],"mainImageAlignVertical":[1,"main-image-align-vertical"],"mainTitle":[1,"main-title"],"mainTitleColour":[1,"main-title-colour"],"teaser":[1],"teaserColour":[1,"teaser-colour"],"buttonUrl":[1,"button-url"],"buttonLabel":[1,"button-label"],"buttonColourScheme":[1,"button-colour-scheme"]}],[1,"biggive-image-feature",{"spaceBelow":[2,"space-below"],"defaultTextColour":[1,"default-text-colour"],"imageUrl":[1,"image-url"],"slug":[1],"slugColour":[1,"slug-colour"],"mainTitle":[1,"main-title"],"mainTitleColour":[1,"main-title-colour"],"teaser":[1],"teaserColour":[1,"teaser-colour"],"buttonUrl":[1,"button-url"],"buttonLabel":[1,"button-label"],"buttonColourScheme":[1,"button-colour-scheme"]}],[1,"biggive-video-feature",{"spaceAbove":[2,"space-above"],"spaceBelow":[2,"space-below"],"defaultTextColour":[1,"default-text-colour"],"videoUrl":[1,"video-url"],"slug":[1],"slugColour":[1,"slug-colour"],"mainTitle":[1,"main-title"],"mainTitleColour":[1,"main-title-colour"],"teaser":[1],"teaserColour":[1,"teaser-colour"],"buttonUrl":[1,"button-url"],"buttonLabel":[1,"button-label"],"buttonColourScheme":[1,"button-colour-scheme"]}],[1,"biggive-back-to-top"],[1,"biggive-branded-image",{"spaceBelow":[2,"space-below"],"imageUrl":[1,"image-url"],"logoUrl":[1,"logo-url"],"slug":[1],"charityName":[1,"charity-name"],"charityLocation":[1,"charity-location"],"charityUrl":[1,"charity-url"]}],[1,"biggive-grid",{"spaceBelow":[2,"space-below"],"columnCount":[2,"column-count"],"columnGap":[2,"column-gap"]}],[1,"biggive-header",{"spaceBelow":[2,"space-below"],"logoUrl":[1,"logo-url"]}],[1,"biggive-heading",{"spaceAbove":[2,"space-above"],"spaceBelow":[2,"space-below"],"colour":[1],"htmlElement":[1,"html-element"],"size":[2],"align":[1],"text":[1]}],[1,"biggive-page-column"],[1,"biggive-page-columns",{"spaceBelow":[2,"space-below"]}],[1,"biggive-page-section",{"spaceBelow":[2,"space-below"],"sectionStyleTop":[1,"section-style-top"],"sectionStyleBottom":[1,"section-style-bottom"],"colourScheme":[1,"colour-scheme"]}],[1,"biggive-quote",{"spaceBelow":[2,"space-below"],"defaultTextColour":[1,"default-text-colour"],"quote":[1],"attribution":[1]}],[0,"biggive-social-icon",{"service":[1],"backgroundColour":[1,"background-colour"],"iconColour":[1,"icon-colour"],"url":[1]}],[1,"biggive-totalizer",{"spaceBelow":[2,"space-below"],"primaryColour":[1,"primary-colour"],"primaryTextColour":[1,"primary-text-colour"],"secondaryColour":[1,"secondary-colour"],"secondaryTextColour":[1,"secondary-text-colour"],"mainMessage":[1,"main-message"]}],[1,"biggive-totalizer-ticker-item",{"figure":[1],"label":[1]}],[1,"biggive-form-field-select",{"selectedValue":[1,"selected-value"],"selectedLabel":[1,"selected-label"],"spaceBelow":[2,"space-below"],"placeholder":[1]},[[0,"doOptionSelect","doOptionSelectCompletedHandler"]]],[1,"biggive-form-field-select-option",{"label":[1],"value":[1],"selectedValue":[32],"selectedLabel":[32]}],[0,"biggive-misc-icon",{"backgroundColour":[1,"background-colour"],"iconColour":[1,"icon-colour"],"icon":[1],"url":[1]}],[1,"biggive-popup",{"openFromOutside":[64],"closeFromOutside":[64]}],[1,"biggive-progress-bar",{"spaceBelow":[2,"space-below"],"colourScheme":[1,"colour-scheme"],"counter":[2]}],[1,"biggive-button",{"spaceBelow":[2,"space-below"],"colourScheme":[1,"colour-scheme"],"label":[1],"url":[1],"fullWidth":[4,"full-width"],"size":[1],"rounded":[4]}]]],["biggive-article-card",[[1,"biggive-article-card",{"spaceBelow":[2,"space-below"],"backgroundColour":[1,"background-colour"],"backgroundColourHover":[1,"background-colour-hover"],"textColour":[1,"text-colour"],"slug":[1],"date":[1],"mainTitle":[1,"main-title"],"imageUrl":[1,"image-url"],"imageLabel":[1,"image-label"],"buttonLabel":[1,"button-label"],"buttonUrl":[1,"button-url"]}]]],["biggive-basic-card",[[1,"biggive-basic-card",{"spaceBelow":[2,"space-below"],"backgroundColour":[1,"background-colour"],"backgroundImageUrl":[1,"background-image-url"],"cardColour":[1,"card-colour"],"textColour":[1,"text-colour"],"mainTitle":[1,"main-title"],"subtitle":[1],"iconColour":[1,"icon-colour"],"buttonLabel":[1,"button-label"],"buttonUrl":[1,"button-url"],"buttonColourScheme":[1,"button-colour-scheme"]}]]],["biggive-search",[[1,"biggive-search",{"searchText":[1,"search-text"],"placeholderText":[1,"placeholder-text"],"buttonText":[1,"button-text"]}]]],["biggive-beneficiary-icon",[[0,"biggive-beneficiary-icon",{"backgroundColour":[1,"background-colour"],"iconColour":[1,"icon-colour"],"icon":[1],"label":[1],"url":[1]}]]],["biggive-boxed-content",[[1,"biggive-boxed-content",{"spaceBelow":[2,"space-below"],"verticalPadding":[2,"vertical-padding"],"horizontalPadding":[2,"horizontal-padding"],"backgroundColour":[1,"background-colour"],"shadow":[4]}]]],["biggive-category-icon",[[0,"biggive-category-icon",{"backgroundColour":[1,"background-colour"],"iconColour":[1,"icon-colour"],"icon":[1],"label":[1],"url":[1]}]]],["biggive-form",[[1,"biggive-form"]]],["biggive-formatted-text",[[1,"biggive-formatted-text",{"spaceBelow":[2,"space-below"],"defaultTextColour":[1,"default-text-colour"]}]]],["biggive-icon-group",[[1,"biggive-icon-group",{"spaceBelow":[2,"space-below"],"label":[1]}]]],["biggive-image",[[1,"biggive-image",{"spaceAbove":[2,"space-above"],"spaceBelow":[2,"space-below"],"imageUrl":[1,"image-url"],"width":[2],"height":[2],"sizeUnit":[1,"size-unit"]}]]],["biggive-nav-group",[[1,"biggive-nav-group",{"inline":[4]}]]],["biggive-nav-item",[[1,"biggive-nav-item",{"url":[1],"label":[1],"iconColour":[1,"icon-colour"]}]]],["biggive-popup-standalone",[[1,"biggive-popup-standalone"]]],["biggive-tab",[[1,"biggive-tab",{"tabTitle":[1,"tab-title"]}]]],["biggive-tabbed-content",[[1,"biggive-tabbed-content",{"spaceBelow":[2,"space-below"],"defaultTextColour":[1,"default-text-colour"]}]]],["biggive-text-input",[[1,"biggive-text-input"]]],["biggive-video",[[1,"biggive-video",{"spaceAbove":[2,"space-above"],"spaceBelow":[2,"space-below"],"videoUrl":[1,"video-url"]}]]]], options);
|
|
14
14
|
});
|
|
15
15
|
};
|
|
16
16
|
|
|
@@ -13,7 +13,11 @@ export declare class BiggiveCampaignCardFilterGrid {
|
|
|
13
13
|
filterLocation: string;
|
|
14
14
|
filterFunding: string;
|
|
15
15
|
}>;
|
|
16
|
-
|
|
16
|
+
/**
|
|
17
|
+
* This event `doSearchAndFilterUpdate` event is emitted and propogates to the parent
|
|
18
|
+
* component which handles it
|
|
19
|
+
*/
|
|
20
|
+
doClearFilters: EventEmitter<boolean>;
|
|
17
21
|
sortBy: string;
|
|
18
22
|
filterCategory: string;
|
|
19
23
|
filterBeneficiary: string;
|
|
@@ -28,6 +32,15 @@ export declare class BiggiveCampaignCardFilterGrid {
|
|
|
28
32
|
* Intro
|
|
29
33
|
*/
|
|
30
34
|
intro: string;
|
|
35
|
+
/**
|
|
36
|
+
* Optional search text prop. Useful for pre-populating the search field
|
|
37
|
+
* when the page is loaded with a search term already existing in the URL.
|
|
38
|
+
* This can happen when sharing links, or if a donor goes to a campaign page
|
|
39
|
+
* after searching, and then returns to the search results. In such a case,
|
|
40
|
+
* the search box text will clear, unless we use this prop to populate it on
|
|
41
|
+
* rendering. DON-652.
|
|
42
|
+
*/
|
|
43
|
+
searchText: string;
|
|
31
44
|
/**
|
|
32
45
|
* Defines the text displayed as the placeholder in the input field
|
|
33
46
|
* before the user types anything
|
|
@@ -68,5 +81,6 @@ export declare class BiggiveCampaignCardFilterGrid {
|
|
|
68
81
|
private handleSearchTextChanged;
|
|
69
82
|
private handleEnterPressed;
|
|
70
83
|
private handleFilterButtonClick;
|
|
84
|
+
private handleClearFiltersClicked;
|
|
71
85
|
render(): any;
|
|
72
86
|
}
|
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
title: string;
|
|
3
|
+
argTypes: {
|
|
4
|
+
categoryOptions: {
|
|
5
|
+
name: string;
|
|
6
|
+
};
|
|
7
|
+
beneficiaryOptions: {
|
|
8
|
+
name: string;
|
|
9
|
+
};
|
|
10
|
+
locationOptions: {
|
|
11
|
+
name: string;
|
|
12
|
+
};
|
|
13
|
+
fundingOptions: {
|
|
14
|
+
name: string;
|
|
15
|
+
};
|
|
16
|
+
searchText: {
|
|
17
|
+
name: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
3
20
|
};
|
|
4
21
|
export default _default;
|
|
5
22
|
export declare const CampaignCardFilterGridComponent: any;
|
|
@@ -47,5 +47,16 @@ export declare class BiggiveCampaignHighlights {
|
|
|
47
47
|
* Secondary stat text
|
|
48
48
|
*/
|
|
49
49
|
secondaryStatText: string;
|
|
50
|
+
/**
|
|
51
|
+
* Champion's name
|
|
52
|
+
*/
|
|
53
|
+
championName: string;
|
|
54
|
+
/**
|
|
55
|
+
* Link to all meta-campaigns funded by this champion.
|
|
56
|
+
* For example: /christmas-challenge-2022/the-reed-foundation-22
|
|
57
|
+
* In other words, it follows the following format:
|
|
58
|
+
* '/' + campaign.parentRef + '/' + campaign.championRef
|
|
59
|
+
*/
|
|
60
|
+
championUrl: string;
|
|
50
61
|
render(): any;
|
|
51
62
|
}
|
|
@@ -153,6 +153,10 @@ export namespace Components {
|
|
|
153
153
|
* Charity name
|
|
154
154
|
*/
|
|
155
155
|
"charityName": string;
|
|
156
|
+
/**
|
|
157
|
+
* Link to the charity's website
|
|
158
|
+
*/
|
|
159
|
+
"charityUrl": string;
|
|
156
160
|
/**
|
|
157
161
|
* Full URL of a image.
|
|
158
162
|
*/
|
|
@@ -377,6 +381,10 @@ export namespace Components {
|
|
|
377
381
|
* Defines the text displayed as the placeholder in the input field before the user types anything
|
|
378
382
|
*/
|
|
379
383
|
"placeholderText": string;
|
|
384
|
+
/**
|
|
385
|
+
* Optional search text prop. Useful for pre-populating the search field when the page is loaded with a search term already existing in the URL. This can happen when sharing links, or if a donor goes to a campaign page after searching, and then returns to the search results. In such a case, the search box text will clear, unless we use this prop to populate it on rendering. DON-652.
|
|
386
|
+
*/
|
|
387
|
+
"searchText": string;
|
|
380
388
|
/**
|
|
381
389
|
* This helps us inject a pre-selected dropdown value from outside of this component. This is especially helpful for the Meta campaign and Explore pages, where searching by text whipes out previous sort options and re-uses Relevance, or where one of those two pages is loaded directly with URL parameters - in such a scenario the dropdown shows that it's pre-selected. DON-558.
|
|
382
390
|
*/
|
|
@@ -395,6 +403,14 @@ export namespace Components {
|
|
|
395
403
|
* Display name of the charity's specific time-bound fundraising campaign.
|
|
396
404
|
*/
|
|
397
405
|
"campaignTitle": string;
|
|
406
|
+
/**
|
|
407
|
+
* Champion's name
|
|
408
|
+
*/
|
|
409
|
+
"championName": string;
|
|
410
|
+
/**
|
|
411
|
+
* Link to all meta-campaigns funded by this champion. For example: /christmas-challenge-2022/the-reed-foundation-22 In other words, it follows the following format: '/' + campaign.parentRef + '/' + campaign.championRef
|
|
412
|
+
*/
|
|
413
|
+
"championUrl": string;
|
|
398
414
|
/**
|
|
399
415
|
* Amount for the primary figure, formatted with currency symbol
|
|
400
416
|
*/
|
|
@@ -761,7 +777,8 @@ export namespace Components {
|
|
|
761
777
|
"spaceBelow": number;
|
|
762
778
|
}
|
|
763
779
|
interface BiggivePopup {
|
|
764
|
-
"
|
|
780
|
+
"closeFromOutside": () => Promise<void>;
|
|
781
|
+
"openFromOutside": () => Promise<void>;
|
|
765
782
|
}
|
|
766
783
|
interface BiggivePopupStandalone {
|
|
767
784
|
}
|
|
@@ -806,6 +823,7 @@ export namespace Components {
|
|
|
806
823
|
* Defines the text displayed as the placeholder in the input field before the user types anything
|
|
807
824
|
*/
|
|
808
825
|
"placeholderText": string;
|
|
826
|
+
"searchText": string;
|
|
809
827
|
}
|
|
810
828
|
interface BiggiveSocialIcon {
|
|
811
829
|
/**
|
|
@@ -1417,6 +1435,10 @@ declare namespace LocalJSX {
|
|
|
1417
1435
|
* Charity name
|
|
1418
1436
|
*/
|
|
1419
1437
|
"charityName"?: string;
|
|
1438
|
+
/**
|
|
1439
|
+
* Link to the charity's website
|
|
1440
|
+
*/
|
|
1441
|
+
"charityUrl"?: string;
|
|
1420
1442
|
/**
|
|
1421
1443
|
* Full URL of a image.
|
|
1422
1444
|
*/
|
|
@@ -1637,6 +1659,10 @@ declare namespace LocalJSX {
|
|
|
1637
1659
|
* JSON array of location key/values
|
|
1638
1660
|
*/
|
|
1639
1661
|
"locationOptions"?: string[];
|
|
1662
|
+
/**
|
|
1663
|
+
* This event `doSearchAndFilterUpdate` event is emitted and propogates to the parent component which handles it
|
|
1664
|
+
*/
|
|
1665
|
+
"onDoClearFilters"?: (event: BiggiveCampaignCardFilterGridCustomEvent<boolean>) => void;
|
|
1640
1666
|
/**
|
|
1641
1667
|
* This event `doSearchAndFilterUpdate` event is emitted and propogates to the parent component which handles it
|
|
1642
1668
|
*/
|
|
@@ -1652,6 +1678,10 @@ declare namespace LocalJSX {
|
|
|
1652
1678
|
* Defines the text displayed as the placeholder in the input field before the user types anything
|
|
1653
1679
|
*/
|
|
1654
1680
|
"placeholderText"?: string;
|
|
1681
|
+
/**
|
|
1682
|
+
* Optional search text prop. Useful for pre-populating the search field when the page is loaded with a search term already existing in the URL. This can happen when sharing links, or if a donor goes to a campaign page after searching, and then returns to the search results. In such a case, the search box text will clear, unless we use this prop to populate it on rendering. DON-652.
|
|
1683
|
+
*/
|
|
1684
|
+
"searchText"?: string;
|
|
1655
1685
|
/**
|
|
1656
1686
|
* This helps us inject a pre-selected dropdown value from outside of this component. This is especially helpful for the Meta campaign and Explore pages, where searching by text whipes out previous sort options and re-uses Relevance, or where one of those two pages is loaded directly with URL parameters - in such a scenario the dropdown shows that it's pre-selected. DON-558.
|
|
1657
1687
|
*/
|
|
@@ -1670,6 +1700,14 @@ declare namespace LocalJSX {
|
|
|
1670
1700
|
* Display name of the charity's specific time-bound fundraising campaign.
|
|
1671
1701
|
*/
|
|
1672
1702
|
"campaignTitle"?: string;
|
|
1703
|
+
/**
|
|
1704
|
+
* Champion's name
|
|
1705
|
+
*/
|
|
1706
|
+
"championName"?: string;
|
|
1707
|
+
/**
|
|
1708
|
+
* Link to all meta-campaigns funded by this champion. For example: /christmas-challenge-2022/the-reed-foundation-22 In other words, it follows the following format: '/' + campaign.parentRef + '/' + campaign.championRef
|
|
1709
|
+
*/
|
|
1710
|
+
"championUrl"?: string;
|
|
1673
1711
|
/**
|
|
1674
1712
|
* Amount for the primary figure, formatted with currency symbol
|
|
1675
1713
|
*/
|
|
@@ -2092,6 +2130,7 @@ declare namespace LocalJSX {
|
|
|
2092
2130
|
* Defines the text displayed as the placeholder in the input field before the user types anything
|
|
2093
2131
|
*/
|
|
2094
2132
|
"placeholderText"?: string;
|
|
2133
|
+
"searchText"?: string;
|
|
2095
2134
|
}
|
|
2096
2135
|
interface BiggiveSocialIcon {
|
|
2097
2136
|
/**
|