@biggive/components 202410281750.0.0 → 202410291301.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -285,7 +285,7 @@ const BiggiveCampaignCard = class {
285
285
  return value === undefined || value === null || value === '';
286
286
  }
287
287
  render() {
288
- return (index.h("div", { key: '2421d53af938d73321d2a8cc4a8383cd161ca9ff', class: 'container space-below-' + this.spaceBelow.toString() }, index.h("div", { key: '2626b7abba9a7aeb1486cff409c3c38674760365', class: "sleeve" }, index.h("div", { key: '74fe96d9a92d9a3448f3160cbddefe7f2e9fdbe4', onClick: this.handleCardGeneralClick, class: "above-button-wrap" }, this.campaignType !== null ? (index.h("div", { class: "campaign-type" }, index.h("span", null, this.campaignType))) : null, this.banner !== null ? (index.h("div", { class: "image-wrap banner", role: "presentation", style: { 'background-image': 'url(' + this.banner + ')' } })) : (index.h("div", { class: "image-wrap banner" })), index.h("div", { key: '5a72cb78b9271eb8606cb4ec2423ac3dc2820a76', class: "title-wrap" }, index.h("h3", { key: 'fedb41c594b01b27b20cc98e0f5056c4596b9aa3' }, this.campaignTitle), index.h("div", { key: 'b566c1e7393345282babe5e0ca8ef70c6fcb5597', class: "organisation-name" }, "By ", this.organisationName)), this.isEmpty(this.primaryFigureAmount) && this.isEmpty(this.secondaryFigureAmount) ? null : (index.h("div", { class: "meta-wrap" }, this.isEmpty(this.primaryFigureAmount) ? null : (index.h("div", { class: "meta-item" }, index.h("span", { class: "label" }, this.primaryFigureLabel), index.h("span", { class: "text" }, this.primaryFigureAmount))), this.isEmpty(this.secondaryFigureAmount) ? null : (index.h("div", { class: "meta-item" }, index.h("span", { class: "label" }, this.secondaryFigureLabel), index.h("span", { class: "text" }, this.secondaryFigureAmount))))), this.isEmpty(this.progressBarCounter) ? null : (index.h("div", { class: "progress-bar-wrap" }, index.h("biggive-progress-bar", { counter: this.progressBarCounter, "colour-scheme": "primary" })))), index.h("div", { key: 'f1848445781507dcf88a5354d7039dc48d488f97', class: "button-wrap" }, this.isFutureCampaign || this.isPastCampaign ? (index.h("div", { class: "msg-wrapper" }, index.h("biggive-misc-icon", { "background-colour": "white", "icon-colour": "black", icon: "Timer" }), this.isFutureCampaign ? index.h("p", null, "Launches ", this.datetime) : index.h("p", null, "Closed ", this.datetime))) : (index.h("biggive-button", { "full-width": "true", "colour-scheme": this.donateButtonColourScheme, url: this.donateButtonUrl, label: this.donateButtonLabel })), index.h("biggive-button", { key: 'caa197682accd7e29acaa5936de6d83634af5737', "full-width": "true", "colour-scheme": this.moreInfoButtonColourScheme, url: this.moreInfoButtonUrl, label: this.moreInfoButtonLabel })))));
288
+ return (index.h("div", { key: '2421d53af938d73321d2a8cc4a8383cd161ca9ff', class: 'container space-below-' + this.spaceBelow.toString() }, index.h("div", { key: '2626b7abba9a7aeb1486cff409c3c38674760365', class: "sleeve" }, index.h("div", { key: '74fe96d9a92d9a3448f3160cbddefe7f2e9fdbe4', onClick: this.handleCardGeneralClick, class: "above-button-wrap" }, this.campaignType !== null ? (index.h("div", { class: "campaign-type" }, index.h("span", null, this.campaignType))) : null, this.banner !== null && this.banner !== undefined ? (index.h("div", { class: "image-wrap banner", role: "presentation", style: { 'background-image': 'url(' + this.banner + ')' } })) : (index.h("div", { class: "image-wrap banner" })), index.h("div", { key: '6382af008baddf4e4ec7b61a15b911b6385e483f', class: "title-wrap" }, index.h("h3", { key: 'f9637d5c594f2993e8689e56f105a5c441ece686' }, this.campaignTitle), index.h("div", { key: '8e5140deb94b3c50dbffdbbcc46f4de71d5d9e28', class: "organisation-name" }, "By ", this.organisationName)), this.isEmpty(this.primaryFigureAmount) && this.isEmpty(this.secondaryFigureAmount) ? null : (index.h("div", { class: "meta-wrap" }, this.isEmpty(this.primaryFigureAmount) ? null : (index.h("div", { class: "meta-item" }, index.h("span", { class: "label" }, this.primaryFigureLabel), index.h("span", { class: "text" }, this.primaryFigureAmount))), this.isEmpty(this.secondaryFigureAmount) ? null : (index.h("div", { class: "meta-item" }, index.h("span", { class: "label" }, this.secondaryFigureLabel), index.h("span", { class: "text" }, this.secondaryFigureAmount))))), this.isEmpty(this.progressBarCounter) ? null : (index.h("div", { class: "progress-bar-wrap" }, index.h("biggive-progress-bar", { counter: this.progressBarCounter, "colour-scheme": "primary" })))), index.h("div", { key: '6b0999d7bf6589a2c46c321b143023cfb5ad0af2', class: "button-wrap" }, this.isFutureCampaign || this.isPastCampaign ? (index.h("div", { class: "msg-wrapper" }, index.h("biggive-misc-icon", { "background-colour": "white", "icon-colour": "black", icon: "Timer" }), this.isFutureCampaign ? index.h("p", null, "Launches ", this.datetime) : index.h("p", null, "Closed ", this.datetime))) : (index.h("biggive-button", { "full-width": "true", "colour-scheme": this.donateButtonColourScheme, url: this.donateButtonUrl, label: this.donateButtonLabel })), index.h("biggive-button", { key: '942ca0b4de22b3695b218959ffaada25111e5a6c', "full-width": "true", "colour-scheme": this.moreInfoButtonColourScheme, url: this.moreInfoButtonUrl, label: this.moreInfoButtonLabel })))));
289
289
  }
290
290
  };
291
291
  BiggiveCampaignCard.style = BiggiveCampaignCardStyle0;