@biggive/components 202304111314.0.0 → 202304281233.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.
Files changed (80) hide show
  1. package/dist/biggive/biggive.esm.js +1 -1
  2. package/dist/biggive/{p-2fa6188d.entry.js → p-1db6e873.entry.js} +1 -1
  3. package/dist/biggive/p-35625fdd.entry.js +1 -0
  4. package/dist/biggive/{p-9e7d82e1.entry.js → p-3c132a28.entry.js} +1 -1
  5. package/dist/biggive/p-89428a52.js +1 -0
  6. package/dist/biggive/{p-6eb97f2f.entry.js → p-b6a63d44.entry.js} +1 -1
  7. package/dist/cjs/biggive-accordion_43.cjs.entry.js +153 -48
  8. package/dist/cjs/biggive-basic-card.cjs.entry.js +1 -1
  9. package/dist/cjs/biggive-beneficiary-icon.cjs.entry.js +1 -1
  10. package/dist/cjs/biggive-category-icon.cjs.entry.js +1 -1
  11. package/dist/cjs/biggive.cjs.js +1 -1
  12. package/dist/cjs/{fontawesome-icons-79883fa9.js → fontawesome-icons-ebf9e546.js} +13 -1
  13. package/dist/cjs/loader.cjs.js +1 -1
  14. package/dist/collection/components/biggive-accordion/biggive-accordion.js +1 -1
  15. package/dist/collection/components/biggive-article-card/biggive-article-card.css +185 -4
  16. package/dist/collection/components/biggive-article-card/biggive-article-card.js +1 -26
  17. package/dist/collection/components/biggive-article-card/biggive-article-card.stories.js +0 -9
  18. package/dist/collection/components/biggive-basic-card/biggive-basic-card.css +1 -0
  19. package/dist/collection/components/biggive-biography-card/biggive-biography-card.css +3 -0
  20. package/dist/collection/components/biggive-biography-card/biggive-biography-card.js +1 -1
  21. package/dist/collection/components/biggive-campaign-card/biggive-campaign-card.js +1 -1
  22. package/dist/collection/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.css +40 -0
  23. package/dist/collection/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.js +31 -3
  24. package/dist/collection/components/biggive-carousel/biggive-carousel.css +12 -3
  25. package/dist/collection/components/biggive-carousel/biggive-carousel.js +38 -3
  26. package/dist/collection/components/biggive-filtered-carousel/biggive-filtered-carousel.css +14 -0
  27. package/dist/collection/components/biggive-filtered-carousel/biggive-filtered-carousel.js +24 -3
  28. package/dist/collection/components/biggive-form-field-select/biggive-form-field-select.css +31 -3
  29. package/dist/collection/components/biggive-form-field-select/biggive-form-field-select.js +20 -1
  30. package/dist/collection/components/biggive-generic-icon/biggive-generic-icon.js +9 -8
  31. package/dist/collection/components/biggive-grid/biggive-grid.css +42 -0
  32. package/dist/collection/components/biggive-sheet/biggive-sheet.css +5 -0
  33. package/dist/collection/components/biggive-sheet/biggive-sheet.js +1 -1
  34. package/dist/collection/components/biggive-tabbed-content/biggive-tabbed-content.css +1 -0
  35. package/dist/collection/components/biggive-tabbed-content/biggive-tabbed-content.js +14 -1
  36. package/dist/collection/components/biggive-timeline/biggive-timeline.css +2 -17
  37. package/dist/collection/components/biggive-timeline/biggive-timeline.js +1 -1
  38. package/dist/collection/components/biggive-tipping-slider/biggive-tipping-slider.js +1 -1
  39. package/dist/collection/components/biggive-totalizer/biggive-totalizer.css +10 -2
  40. package/dist/collection/components/biggive-totalizer/biggive-totalizer.js +45 -8
  41. package/dist/collection/util/fontawesome-icons.js +9 -1
  42. package/dist/collection/util/helper-methods.js +1 -1
  43. package/dist/components/biggive-accordion.js +1 -1
  44. package/dist/components/biggive-article-card.js +2 -5
  45. package/dist/components/biggive-basic-card.js +1 -1
  46. package/dist/components/biggive-biography-card.js +2 -2
  47. package/dist/components/biggive-campaign-card-filter-grid.js +32 -4
  48. package/dist/components/biggive-campaign-card.js +1 -1
  49. package/dist/components/biggive-carousel2.js +14 -5
  50. package/dist/components/biggive-filtered-carousel.js +25 -4
  51. package/dist/components/biggive-form-field-select2.js +4 -2
  52. package/dist/components/biggive-generic-icon2.js +9 -8
  53. package/dist/components/biggive-grid.js +1 -1
  54. package/dist/components/biggive-sheet.js +2 -2
  55. package/dist/components/biggive-tabbed-content.js +15 -2
  56. package/dist/components/biggive-timeline.js +2 -2
  57. package/dist/components/biggive-tipping-slider.js +1 -1
  58. package/dist/components/biggive-totalizer.js +45 -9
  59. package/dist/components/fontawesome-icons.js +9 -1
  60. package/dist/components/helper-methods.js +1 -1
  61. package/dist/components/index2.js +6 -1
  62. package/dist/esm/biggive-accordion_43.entry.js +153 -48
  63. package/dist/esm/biggive-basic-card.entry.js +1 -1
  64. package/dist/esm/biggive-beneficiary-icon.entry.js +1 -1
  65. package/dist/esm/biggive-category-icon.entry.js +1 -1
  66. package/dist/esm/biggive.js +1 -1
  67. package/dist/esm/{fontawesome-icons-91ad19d5.js → fontawesome-icons-b35f07cf.js} +14 -1
  68. package/dist/esm/loader.js +1 -1
  69. package/dist/types/components/biggive-article-card/biggive-article-card.d.ts +0 -1
  70. package/dist/types/components/biggive-article-card/biggive-article-card.stories.d.ts +0 -7
  71. package/dist/types/components/biggive-carousel/biggive-carousel.d.ts +2 -0
  72. package/dist/types/components/biggive-form-field-select/biggive-form-field-select.d.ts +1 -0
  73. package/dist/types/components/biggive-generic-icon/biggive-generic-icon.d.ts +1 -1
  74. package/dist/types/components/biggive-totalizer/biggive-totalizer.d.ts +1 -0
  75. package/dist/types/components.d.ts +3 -2
  76. package/hydrate/index.js +170 -50
  77. package/package.json +2 -2
  78. package/readme.md +9 -9
  79. package/dist/biggive/p-7a720caf.entry.js +0 -1
  80. package/dist/biggive/p-8fb77726.js +0 -1
@@ -24,7 +24,7 @@ export class BiggiveBiographyCard {
24
24
  ' background-colour-' +
25
25
  this.backgroundColour +
26
26
  ' border-width-' +
27
- this.borderWidth }, this.imageUrl != '' ? (h("div", { "data-ratio": this.ratio, class: 'image-wrap image-style-' + this.imageStyle + ' rounded-' + this.rounded.toString(), style: { 'background-image': "url('" + this.imageUrl + "')" } }, h("img", { src: this.imageUrl, alt: this.fullName, title: this.fullName }), h("div", { class: "circle" }, h("svg", { width: "24", height: "24", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M11 11v-11h1v11h11v1h-11v11h-1v-11h-11v-1h11z" }))))) : null), h("h3", { class: "full-name" }, this.fullName), h("div", { class: "job-title" }, this.jobTitle))));
27
+ this.borderWidth }, this.imageUrl != '' ? (h("div", { "data-ratio": this.ratio, class: 'image-wrap image-style-' + this.imageStyle + ' rounded-' + this.rounded.toString(), style: { 'background-image': "url('" + this.imageUrl + "')" } }, h("img", { src: this.imageUrl, alt: this.fullName, title: this.fullName }), h("div", { class: "circle" }, h("svg", { width: "24", height: "24", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { "stroke-color": "1", stroke: "#000000", d: "M11 11v-11h1v11h11v1h-11v11h-1v-11h-11v-1h11z" }))))) : null), h("h3", { class: "full-name" }, this.fullName), h("div", { class: "job-title" }, this.jobTitle))));
28
28
  }
29
29
  else {
30
30
  return (h("div", { class: 'container space-below-' + this.spaceBelow + ' text-colour-' + this.textColour + ' text-align-' + this.textAlign }, h("div", { class: 'sleeve circle-' +
@@ -25,7 +25,7 @@ export class BiggiveCampaignCard {
25
25
  this.datetime = undefined;
26
26
  }
27
27
  render() {
28
- return (h("div", { class: 'container space-below-' + this.spaceBelow.toString(), onClick: this.handleCardGeneralClick }, h("div", { class: "sleeve" }, this.campaignType !== null ? (h("div", { class: "campaign-type" }, h("span", null, this.campaignType))) : null, this.banner !== null ? (h("div", { class: "image-wrap banner", role: "presentation", style: { 'background-image': 'url(' + this.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.primaryFigureAmount)), h("div", { class: "meta-item" }, h("span", { class: "label" }, this.secondaryFigureLabel), h("span", { class: "text" }, this.secondaryFigureAmount))), h("div", { class: "progress-bar-wrap" }, h("biggive-progress-bar", { counter: this.progressBarCounter, "colour-scheme": "primary" })), h("div", { class: "button-wrap" }, this.isFutureCampaign || this.isPastCampaign ? (h("div", { class: "msg-wrapper" }, h("biggive-misc-icon", { "background-colour": "white", "icon-colour": "black", icon: "Timer" }), this.isFutureCampaign ? h("p", null, "Launches ", this.datetime) : h("p", null, "Closed ", this.datetime))) : (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 })))));
28
+ return (h("div", { class: 'container space-below-' + this.spaceBelow.toString() }, h("div", { class: "sleeve" }, h("div", { onClick: this.handleCardGeneralClick }, this.campaignType !== null ? (h("div", { class: "campaign-type" }, h("span", null, this.campaignType))) : null, this.banner !== null ? (h("div", { class: "image-wrap banner", role: "presentation", style: { 'background-image': 'url(' + this.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.primaryFigureAmount)), h("div", { class: "meta-item" }, h("span", { class: "label" }, this.secondaryFigureLabel), h("span", { class: "text" }, this.secondaryFigureAmount))), h("div", { class: "progress-bar-wrap" }, h("biggive-progress-bar", { counter: this.progressBarCounter, "colour-scheme": "primary" }))), h("div", { class: "button-wrap" }, this.isFutureCampaign || this.isPastCampaign ? (h("div", { class: "msg-wrapper" }, h("biggive-misc-icon", { "background-colour": "white", "icon-colour": "black", icon: "Timer" }), this.isFutureCampaign ? h("p", null, "Launches ", this.datetime) : h("p", null, "Closed ", this.datetime))) : (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 })))));
29
29
  }
30
30
  static get is() { return "biggive-campaign-card"; }
31
31
  static get encapsulation() { return "shadow"; }
@@ -102,6 +102,46 @@ a:hover {
102
102
  padding: 5px 30px;
103
103
  }
104
104
 
105
+ .selected-filter-wrap {
106
+ display: flex;
107
+ margin-bottom: 30px;
108
+ }
109
+ .selected-filter-wrap .button {
110
+ cursor: pointer;
111
+ border-radius: 20px;
112
+ padding: 5px 50px 5px 20px;
113
+ margin-right: 15px;
114
+ background-color: #FF7272;
115
+ color: #000000;
116
+ border: 1px solid #FF7272;
117
+ text-decoration: none;
118
+ background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTguNCAxOC40IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAxOC40IDE4LjQ7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4KCS5zdDB7c3Ryb2tlOiMwMDAwMDA7fQo8L3N0eWxlPgo8cGF0aCBjbGFzcz0ic3QwIiBkPSJNOS4yLDguNUwxNywwLjdsMC43LDAuN0w5LjksOS4ybDcuOCw3LjhMMTcsMTcuN0w5LjIsOS45bC03LjgsNy44TDAuNywxN2w3LjgtNy44TDAuNywxLjRsMC43LTAuN0w5LjIsOC41eiIvPgo8L3N2Zz4K);
119
+ background-repeat: no-repeat;
120
+ background-position: right 20px center;
121
+ background-size: 12px auto;
122
+ }
123
+ .selected-filter-wrap .button:hover {
124
+ background-color: #FFFFFF;
125
+ color: #000000;
126
+ }
127
+ .selected-filter-wrap .clear-all {
128
+ margin-left: auto;
129
+ }
130
+ .selected-filter-wrap .clear-all a {
131
+ cursor: pointer;
132
+ border-radius: 20px;
133
+ padding: 5px 20px;
134
+ margin-right: 15px;
135
+ background-color: #2C089B;
136
+ color: #FFFFFF;
137
+ border: 1px solid #2C089B;
138
+ text-decoration: none;
139
+ }
140
+ .selected-filter-wrap .clear-all a:hover {
141
+ background-color: #FFFFFF;
142
+ color: #2C089B;
143
+ }
144
+
105
145
  .sort-filter-wrap {
106
146
  display: flex;
107
147
  justify-content: flex-end;
@@ -1,5 +1,5 @@
1
1
  import { h } from '@stencil/core';
2
- import { faFilterSlash, faMagnifyingGlass } from '@fortawesome/pro-solid-svg-icons';
2
+ import { faMagnifyingGlass } from '@fortawesome/pro-solid-svg-icons';
3
3
  export class BiggiveCampaignCardFilterGrid {
4
4
  constructor() {
5
5
  this.sortByPlaceholderText = 'Sort by';
@@ -11,6 +11,30 @@ export class BiggiveCampaignCardFilterGrid {
11
11
  const searchAndFilterObj = this.getSearchAndFilterObject();
12
12
  this.doSearchAndFilterUpdate.emit(searchAndFilterObj);
13
13
  this.el.shadowRoot.getElementById('filter-popup').closeFromOutside();
14
+ const selectedFilters = this.el.shadowRoot.querySelector('.selected-filters');
15
+ selectedFilters.querySelectorAll('.button').forEach(button => {
16
+ button.remove();
17
+ });
18
+ let filters = {
19
+ beneficiaries: searchAndFilterObj.filterBeneficiary,
20
+ categories: searchAndFilterObj.filterCategory,
21
+ funding: searchAndFilterObj.filterFunding,
22
+ locations: searchAndFilterObj.filterLocation,
23
+ };
24
+ for (var id in filters) {
25
+ if (typeof filters[id] === 'string') {
26
+ let button = document.createElement('span');
27
+ button.classList.add('button');
28
+ button.dataset.id = id;
29
+ button.innerText = filters[id];
30
+ selectedFilters.appendChild(button);
31
+ button.addEventListener('click', () => {
32
+ button.remove();
33
+ this.el.shadowRoot.getElementById(button.dataset.id).selectedValue = null;
34
+ this.el.shadowRoot.getElementById(button.dataset.id).selectedLabel = null;
35
+ });
36
+ }
37
+ }
14
38
  this.filtersApplied =
15
39
  typeof searchAndFilterObj.filterBeneficiary === 'string' ||
16
40
  typeof searchAndFilterObj.filterCategory === 'string' ||
@@ -46,6 +70,10 @@ export class BiggiveCampaignCardFilterGrid {
46
70
  this.el.shadowRoot.getElementById(id).selectedValue = null;
47
71
  this.el.shadowRoot.getElementById(id).selectedLabel = null;
48
72
  });
73
+ const selectedFilters = this.el.shadowRoot.querySelector('.selected-filters');
74
+ selectedFilters.querySelectorAll('.button').forEach(button => {
75
+ button.remove();
76
+ });
49
77
  // Emit the doSearchAndFilterUpdate event with null values. DON-654
50
78
  this.doSearchAndFilterUpdate.emit({
51
79
  searchText: null,
@@ -119,7 +147,7 @@ export class BiggiveCampaignCardFilterGrid {
119
147
  }
120
148
  render() {
121
149
  var _a;
122
- 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: (_a = this.searchText) !== null && _a !== void 0 ? _a : '', class: "input-text", placeholder: this.placeholderText, onInput: this.handleSearchTextChanged, onKeyDown: this.handleEnterPressed })), h("biggive-button", { onClick: this.handleSearchButtonPressed, label: this.buttonText }))), h("div", { class: "sort-filter-wrap" }, h("div", { class: "clear-all" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", class: "icon icon-clear-all", viewBox: "0 0 512 512" }, h("path", { d: faFilterSlash.icon[4].toString() })), h("a", { onClick: this.handleClearAll }, "Clear all")), h("div", { class: "sort-wrap" }, h("biggive-form-field-select", { placeholder: this.sortByPlaceholderText, selectedLabel: this.selectedSortByOption, id: "sort-by" }, h("biggive-form-field-select-option", { value: "amountRaised", label: "Most raised" }), h("biggive-form-field-select-option", { value: "matchFundsRemaining", label: "Match funds remaining" }), h("biggive-form-field-select-option", { value: "Relevance", label: "Relevance" }))), h("div", { class: "filter-wrap" }, h("biggive-button", { class: "filter", colourScheme: this.filtersApplied ? 'secondary' : 'primary', onClick: this.handleFilterButtonClick, label: "Filters", fullWidth: true, "space-below": "0" }), h("biggive-popup", { id: "filter-popup" }, h("h4", { class: "space-above-0 space-below-3 text-colour-primary" }, "Filters"), h("biggive-form-field-select", { placeholder: this.categoriesPlaceHolderText, selectedLabel: this.selectedFilterCategory, id: "categories", "space-below": "2" }, this.categoryOptions.length === 0
150
+ 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: (_a = this.searchText) !== null && _a !== void 0 ? _a : '', class: "input-text", placeholder: this.placeholderText, onInput: this.handleSearchTextChanged, onKeyDown: this.handleEnterPressed })), h("biggive-button", { onClick: this.handleSearchButtonPressed, label: this.buttonText }))), h("div", { class: "sort-filter-wrap" }, h("div", { class: "filter-wrap" }, h("biggive-button", { class: "filter", colourScheme: "primary", onClick: this.handleFilterButtonClick, label: "Filter", fullWidth: true, "space-below": "0" }), h("biggive-popup", { id: "filter-popup" }, h("h4", { class: "space-above-0 space-below-3 text-colour-primary" }, "Filters"), h("biggive-form-field-select", { placeholder: this.categoriesPlaceHolderText, selectedLabel: this.selectedFilterCategory, id: "categories", "space-below": "2" }, this.categoryOptions.length === 0
123
151
  ? undefined
124
152
  : (Array.isArray(this.categoryOptions) ? this.categoryOptions : JSON.parse(this.categoryOptions)).map(option => (h("biggive-form-field-select-option", { value: option, label: option })))), h("biggive-form-field-select", { placeholder: this.beneficiariesPlaceHolderText, selectedLabel: this.selectedFilterBeneficiary, id: "beneficiaries", "space-below": "2" }, this.beneficiaryOptions.length === 0
125
153
  ? undefined
@@ -127,7 +155,7 @@ export class BiggiveCampaignCardFilterGrid {
127
155
  ? undefined
128
156
  : (Array.isArray(this.locationOptions) ? this.locationOptions : JSON.parse(this.locationOptions)).map(option => (h("biggive-form-field-select-option", { value: option, label: option })))), h("biggive-form-field-select", { placeholder: this.fundingPlaceHolderText, selectedLabel: this.selectedFilterFunding, id: "funding", "space-below": "2" }, this.fundingOptions.length === 0
129
157
  ? undefined
130
- : (Array.isArray(this.fundingOptions) ? this.fundingOptions : JSON.parse(this.fundingOptions)).map(option => (h("biggive-form-field-select-option", { value: option, label: option })))), h("div", { class: "align-right" }, h("biggive-button", { label: "Apply filters", onClick: this.handleApplyFilterButtonClick }))))), h("div", { class: "campaign-grid" }, h("slot", { name: "campaign-grid" })))));
158
+ : (Array.isArray(this.fundingOptions) ? this.fundingOptions : JSON.parse(this.fundingOptions)).map(option => (h("biggive-form-field-select-option", { value: option, label: option })))), h("div", { class: "align-right" }, h("biggive-button", { label: "Apply filters", onClick: this.handleApplyFilterButtonClick })))), h("div", { class: "sort-wrap" }, h("biggive-form-field-select", { "select-style": "underlined", placeholder: this.sortByPlaceholderText, selectedLabel: this.selectedSortByOption, id: "sort-by" }, h("biggive-form-field-select-option", { value: "amountRaised", label: "Most raised" }), h("biggive-form-field-select-option", { value: "matchFundsRemaining", label: "Match funds remaining" }), h("biggive-form-field-select-option", { value: "Relevance", label: "Relevance" })))), h("div", { class: "selected-filter-wrap" }, h("div", { class: "selected-filters" }), h("div", { class: "clear-all" }, h("a", { onClick: this.handleClearAll }, "Clear all"))), h("div", { class: "campaign-grid" }, h("slot", { name: "campaign-grid" })))));
131
159
  }
132
160
  static get is() { return "biggive-campaign-card-filter-grid"; }
133
161
  static get encapsulation() { return "shadow"; }
@@ -157,6 +157,7 @@ a:hover {
157
157
  display: flex;
158
158
  flex-flow: row wrap;
159
159
  min-width: 100%;
160
+ overflow: hidden;
160
161
  }
161
162
  .container .navigation {
162
163
  padding: 10px 0;
@@ -179,15 +180,23 @@ a:hover {
179
180
  cursor: pointer;
180
181
  text-align: center;
181
182
  }
183
+ .container .navigation .button svg {
184
+ width: 15px;
185
+ height: 15px;
186
+ position: relative;
187
+ top: 2.5px;
188
+ }
182
189
  .container .navigation .button.prev {
183
190
  left: 0;
184
191
  }
192
+ .container .navigation .button.prev svg {
193
+ left: -3px;
194
+ }
185
195
  .container .navigation .button.next {
186
196
  right: 0;
187
197
  }
188
- .container .navigation .button svg {
189
- width: 10px;
190
- height: 10px;
198
+ .container .navigation .button.next svg {
199
+ left: -1px;
191
200
  }
192
201
 
193
202
  .container ::slotted(.hidden) {
@@ -5,14 +5,19 @@ export class BiggiveCarousel {
5
5
  this.itemCount = 0;
6
6
  this.itemWidthPx = 0;
7
7
  this.columnGapPx = 0;
8
+ this.versions = undefined;
8
9
  this.spaceBelow = 4;
9
10
  this.columnCount = 3;
10
11
  this.buttonBackgroundColour = 'white';
11
12
  this.buttonIconColour = 'primary';
12
13
  }
13
14
  componentDidRender() {
14
- var _a, _b;
15
+ var _a;
15
16
  this.sleeve = (_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.sleeve');
17
+ this.resizeToFitContent();
18
+ }
19
+ async resizeToFitContent() {
20
+ var _a;
16
21
  let children = new Array();
17
22
  Array.from(this.host.children).forEach(item => {
18
23
  if (!item.classList.contains('hidden')) {
@@ -22,8 +27,10 @@ export class BiggiveCarousel {
22
27
  this.itemCount = children.length;
23
28
  if (children.length > 0) {
24
29
  this.columnGapPx = 30;
25
- this.itemWidthPx = (((_b = this.sleeve.parentElement) === null || _b === void 0 ? void 0 : _b.offsetWidth) - (this.columnCount - 1) * this.columnGapPx) / this.columnCount;
30
+ this.itemWidthPx = (((_a = this.sleeve.parentElement) === null || _a === void 0 ? void 0 : _a.offsetWidth) - (this.columnCount - 1) * this.columnGapPx) / this.columnCount;
26
31
  this.sleeve.style.width = (this.itemWidthPx + this.columnGapPx) * children.length + 'px';
32
+ this.sleeve.style.height = this.sleeve.style.height;
33
+ this.sleeve.style.transform = 'translate3d(0px, 0, 0)';
27
34
  children.forEach(el => {
28
35
  el.style.width = this.itemWidthPx + 'px';
29
36
  el.style.marginRight = this.columnGapPx + 'px';
@@ -59,7 +66,7 @@ export class BiggiveCarousel {
59
66
  ' button-background-colour-' +
60
67
  this.buttonBackgroundColour +
61
68
  ' button-icon-colour-' +
62
- this.buttonIconColour }, h("div", { class: "items" }, h("div", { class: "sleeve" }, h("slot", null))), h("div", { class: "navigation" }, h("div", { class: "button prev", onClick: () => this.clickPrevHandler(), title: "Previous" }, h("svg", { width: "9", height: "16", viewBox: "0 0 9 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M8.29311 14.5703L1.73926 8.01646L8.29311 1.46261", stroke: "#000000", "stroke-width": "2" }))), h("div", { class: "button next", onClick: () => this.clickNextHandler(), title: "Next" }, h("svg", { width: "9", height: "16", viewBox: "0 0 9 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M0.739117 1.46094L7.29297 8.01479L0.739118 14.5686", stroke: "#000000", "stroke-width": "2" }))))));
69
+ this.buttonIconColour }, h("div", { class: "items" }, h("div", { class: "sleeve" }, h("slot", null))), h("div", { class: "navigation" }, h("div", { class: "button prev", onClick: this.clickPrevHandler, title: "Previous" }, h("svg", { width: "9", height: "16", viewBox: "0 0 9 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M8.29311 14.5703L1.73926 8.01646L8.29311 1.46261", stroke: "#000000", "stroke-width": "2" }))), h("div", { class: "button next", onClick: this.clickNextHandler, title: "Next" }, h("svg", { width: "9", height: "16", viewBox: "0 0 9 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M0.739117 1.46094L7.29297 8.01479L0.739118 14.5686", stroke: "#000000", "stroke-width": "2" }))))));
63
70
  }
64
71
  static get is() { return "biggive-carousel"; }
65
72
  static get encapsulation() { return "shadow"; }
@@ -164,5 +171,33 @@ export class BiggiveCarousel {
164
171
  }
165
172
  };
166
173
  }
174
+ static get states() {
175
+ return {
176
+ "versions": {}
177
+ };
178
+ }
179
+ static get methods() {
180
+ return {
181
+ "resizeToFitContent": {
182
+ "complexType": {
183
+ "signature": "() => Promise<void>",
184
+ "parameters": [],
185
+ "references": {
186
+ "Promise": {
187
+ "location": "global"
188
+ },
189
+ "HTMLElement": {
190
+ "location": "global"
191
+ }
192
+ },
193
+ "return": "Promise<void>"
194
+ },
195
+ "docs": {
196
+ "text": "",
197
+ "tags": []
198
+ }
199
+ }
200
+ };
201
+ }
167
202
  static get elementRef() { return "host"; }
168
203
  }
@@ -31,4 +31,18 @@ a:hover {
31
31
  background-color: #000000;
32
32
  border-color: #000000;
33
33
  color: #FFFFFF;
34
+ }
35
+ .filters .clear {
36
+ padding: 5px;
37
+ height: 26px;
38
+ width: 26px;
39
+ text-align: center;
40
+ }
41
+ .filters .clear svg {
42
+ top: 3px;
43
+ left: 0.5px;
44
+ position: relative;
45
+ height: 16px;
46
+ width: 16px;
47
+ transform: rotate(45deg);
34
48
  }
@@ -30,6 +30,7 @@ export class BiggiveFilteredCarousel {
30
30
  var button = document.createElement('span');
31
31
  button.innerHTML = filter;
32
32
  button.classList.add('button');
33
+ button.classList.add('apply');
33
34
  button.setAttribute('data-filter', filter);
34
35
  button.addEventListener('click', e => {
35
36
  var _a;
@@ -49,12 +50,32 @@ export class BiggiveFilteredCarousel {
49
50
  item.classList.add('hidden');
50
51
  }
51
52
  });
52
- carousel.setAttribute('space-below', '0');
53
- carousel.setAttribute('space-below', '1');
53
+ carousel.resizeToFitContent();
54
54
  });
55
55
  filterWrap.appendChild(button);
56
56
  });
57
- carousel.setAttribute('space-below', '0');
57
+ var clear = document.createElement('span');
58
+ clear.innerHTML =
59
+ '<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-color="1" stroke="#000000" d="M11 11v-11h1v11h11v1h-11v11h-1v-11h-11v-1h11z" /></svg>';
60
+ clear.classList.add('button');
61
+ clear.classList.add('clear');
62
+ clear.addEventListener('click', () => {
63
+ filterWrap.querySelectorAll('.apply').forEach(button => {
64
+ button.classList.remove('active');
65
+ });
66
+ this.children.forEach(item => {
67
+ item.classList.remove('hidden');
68
+ });
69
+ carousel.resizeToFitContent();
70
+ });
71
+ filterWrap.appendChild(clear);
72
+ /*
73
+ Check added to confirm that carousel variable is set with a valid carousel. Ommiting this check fails the npm test - although works fine at runtime in browser.
74
+ @todo Pass a null fn in the test so it passes without this workaround?
75
+ */
76
+ if (typeof carousel.resizeToFitContent === 'function') {
77
+ carousel.resizeToFitContent();
78
+ }
58
79
  }
59
80
  render() {
60
81
  return (h("div", { class: 'container space-below-' + this.spaceBelow }, h("div", { class: "filters" }), h("biggive-carousel", { "space-below": "1", "column-count": this.columnCount, "button-background-colour": this.buttonBackgroundColour, "button-icon-colour": this.buttonIconColour })));
@@ -76,7 +76,7 @@ a:hover {
76
76
  position: relative;
77
77
  text-align: left;
78
78
  }
79
- .dropdown .sleeve {
79
+ .dropdown.select-style-bordered .sleeve {
80
80
  font-size: 17px;
81
81
  line-height: 24px;
82
82
  padding: 1px;
@@ -84,7 +84,7 @@ a:hover {
84
84
  background-color: #2C089B;
85
85
  clip-path: polygon(0% 0%, 0% 0%, calc(100% - 15px) 0%, 100% 15px, 100% 100%, 100% 100%, 0 100%, 0 100%);
86
86
  }
87
- .dropdown .sleeve span.placeholder {
87
+ .dropdown.select-style-bordered .sleeve span.placeholder {
88
88
  background-color: #FFFFFF;
89
89
  color: #2C089B;
90
90
  display: block;
@@ -93,7 +93,35 @@ a:hover {
93
93
  cursor: pointer;
94
94
  clip-path: polygon(0% 0%, 0% 0%, calc(100% - 14px) 0%, 100% 14px, 100% 100%, 100% 100%, 0 100%, 0 100%);
95
95
  }
96
- .dropdown .sleeve span.placeholder:after {
96
+ .dropdown.select-style-bordered .sleeve span.placeholder:after {
97
+ content: "";
98
+ display: block;
99
+ position: absolute;
100
+ right: 20px;
101
+ top: 18px;
102
+ width: 10px;
103
+ height: 10px;
104
+ background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOSIgaGVpZ2h0PSI3IiB2aWV3Qm94PSIwIDAgOSA3IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNNS4yMzcxNiA2LjYyNDkzQzQuOTAzMjMgNy4xMjUwMiA0LjA5NyA3LjEyNTAyIDMuNzYzMDggNi42MjQ5M0wwLjEyMzg2OCAxLjE3MDYzQy0wLjIxOTk0IDAuNjU1NDU5IDAuMTkyNjMgMS44MzcxZS0wNyAwLjg2MDkwOCAyLjQyMTMyZS0wN0w4LjEzOTMzIDguNzg0MzJlLTA3QzguODA3MTggOS4zNjgxN2UtMDcgOS4yMTk3NSAwLjY1NTQ1OSA4Ljg3NjM3IDEuMTcwNjNMNS4yMzcxNiA2LjYyNDkzWiIgZmlsbD0iIzJDMDg5QiIvPgo8L3N2Zz4K");
105
+ background-size: contain;
106
+ background-repeat: no-repeat;
107
+ background-position: center center;
108
+ }
109
+ .dropdown.select-style-underlined .sleeve {
110
+ font-size: 17px;
111
+ line-height: 24px;
112
+ padding: 1px;
113
+ position: relative;
114
+ border-bottom: 1px solid #2C089B;
115
+ }
116
+ .dropdown.select-style-underlined .sleeve span.placeholder {
117
+ background-color: #FFFFFF;
118
+ color: #2C089B;
119
+ display: block;
120
+ position: relative;
121
+ padding: 10px 80px 10px 10px;
122
+ cursor: pointer;
123
+ }
124
+ .dropdown.select-style-underlined .sleeve span.placeholder:after {
97
125
  content: "";
98
126
  display: block;
99
127
  position: absolute;
@@ -3,6 +3,7 @@ export class BiggiveFormFieldSelect {
3
3
  constructor() {
4
4
  this.selectedValue = undefined;
5
5
  this.selectedLabel = undefined;
6
+ this.selectStyle = 'bordered';
6
7
  this.spaceBelow = 0;
7
8
  this.placeholder = undefined;
8
9
  }
@@ -31,7 +32,7 @@ export class BiggiveFormFieldSelect {
31
32
  }
32
33
  }
33
34
  render() {
34
- return (h("div", { class: 'dropdown space-below-' + this.spaceBelow }, h("div", { class: "sleeve", onClick: this.toggleFocus, onMouseLeave: this.toggleFocus }, h("span", { class: "placeholder" }, this.selectedLabel === null || this.selectedLabel === undefined ? this.placeholder : this.selectedLabel)), h("div", { class: "options" }, h("slot", null))));
35
+ return (h("div", { class: 'dropdown space-below-' + this.spaceBelow + ' select-style-' + this.selectStyle }, h("div", { class: "sleeve", onClick: this.toggleFocus, onMouseLeave: this.toggleFocus }, h("span", { class: "placeholder" }, this.selectedLabel === null || this.selectedLabel === undefined ? this.placeholder : this.selectedLabel)), h("div", { class: "options" }, h("slot", null))));
35
36
  }
36
37
  static get is() { return "biggive-form-field-select"; }
37
38
  static get encapsulation() { return "shadow"; }
@@ -81,6 +82,24 @@ export class BiggiveFormFieldSelect {
81
82
  "attribute": "selected-label",
82
83
  "reflect": false
83
84
  },
85
+ "selectStyle": {
86
+ "type": "string",
87
+ "mutable": false,
88
+ "complexType": {
89
+ "original": "'bordered' | 'underlined'",
90
+ "resolved": "\"bordered\" | \"underlined\"",
91
+ "references": {}
92
+ },
93
+ "required": false,
94
+ "optional": false,
95
+ "docs": {
96
+ "tags": [],
97
+ "text": ""
98
+ },
99
+ "attribute": "select-style",
100
+ "reflect": false,
101
+ "defaultValue": "'bordered'"
102
+ },
84
103
  "spaceBelow": {
85
104
  "type": "number",
86
105
  "mutable": false,
@@ -8,26 +8,27 @@ export class BiggiveGenericIcon {
8
8
  this.icon = undefined;
9
9
  this.url = undefined;
10
10
  }
11
- getIcon() {
12
- let icon;
11
+ getIconDefinition() {
12
+ let iconDefinition;
13
13
  if (this.iconGroup == 'beneficiary') {
14
- icon = FontAwesomeIconsService.getBeneficiaryIcon(this.icon);
14
+ iconDefinition = FontAwesomeIconsService.getBeneficiaryIcon(this.icon);
15
15
  }
16
16
  else if (this.iconGroup == 'misc') {
17
- icon = FontAwesomeIconsService.getMiscIcon(this.icon);
17
+ iconDefinition = FontAwesomeIconsService.getMiscIcon(this.icon);
18
18
  }
19
19
  else if (this.iconGroup == 'social') {
20
- icon = FontAwesomeIconsService.getSocialIcon(this.icon);
20
+ iconDefinition = FontAwesomeIconsService.getSocialIcon(this.icon);
21
21
  }
22
22
  else if (this.iconGroup == 'category') {
23
- icon = FontAwesomeIconsService.getCategoryIcon(this.icon);
23
+ iconDefinition = FontAwesomeIconsService.getCategoryIcon(this.icon);
24
24
  }
25
- return icon;
25
+ return iconDefinition;
26
26
  }
27
27
  render() {
28
+ const iconDefinition = this.getIconDefinition();
28
29
  return (
29
30
  // Note: the icon name prop is set as a css class too for any styling specific to certain icons
30
- h("div", { class: 'generic-icon-item background-colour-' + this.backgroundColour + ' ' + this.icon }, h("a", { href: this.url }, this.getIcon() ? (h("svg", { width: this.getIcon().icon[0], height: this.getIcon().icon[1], xmlns: "http://www.w3.org/2000/svg", class: 'fill-' + this.iconColour, viewBox: '0 0 ' + this.getIcon().icon[0] + ' ' + this.getIcon().icon[1] }, h("path", { d: this.getIcon().icon[4].toString() }))) : null)));
31
+ h("div", { class: 'generic-icon-item background-colour-' + this.backgroundColour + ' ' + this.icon }, h("a", { href: this.url }, iconDefinition ? (h("svg", { width: iconDefinition.icon[0], height: iconDefinition.icon[1], xmlns: "http://www.w3.org/2000/svg", class: 'fill-' + this.iconColour, viewBox: '0 0 ' + iconDefinition.icon[0] + ' ' + iconDefinition.icon[1] }, h("path", { d: iconDefinition.icon[4].toString() }))) : null)));
31
32
  }
32
33
  static get is() { return "biggive-generic-icon"; }
33
34
  static get originalStyleUrls() {
@@ -257,6 +257,48 @@ a:hover {
257
257
  width: calc(16.6666666667% - 50px);
258
258
  }
259
259
 
260
+ .column-count-3.column-gap-1:after {
261
+ content: "";
262
+ display: flex;
263
+ flex-direction: column;
264
+ width: calc(33.3333333333% - 3.3333333333px);
265
+ }
266
+
267
+ .column-count-3.column-gap-2:after {
268
+ content: "";
269
+ display: flex;
270
+ flex-direction: column;
271
+ width: calc(33.3333333333% - 6.6666666667px);
272
+ }
273
+
274
+ .column-count-3.column-gap-3:after {
275
+ content: "";
276
+ display: flex;
277
+ flex-direction: column;
278
+ width: calc(33.3333333333% - 10px);
279
+ }
280
+
281
+ .column-count-3.column-gap-4:after {
282
+ content: "";
283
+ display: flex;
284
+ flex-direction: column;
285
+ width: calc(33.3333333333% - 20px);
286
+ }
287
+
288
+ .column-count-3.column-gap-5:after {
289
+ content: "";
290
+ display: flex;
291
+ flex-direction: column;
292
+ width: calc(33.3333333333% - 30px);
293
+ }
294
+
295
+ .column-count-3.column-gap-6:after {
296
+ content: "";
297
+ display: flex;
298
+ flex-direction: column;
299
+ width: calc(33.3333333333% - 40px);
300
+ }
301
+
260
302
  @media screen and (max-width: 768px) {
261
303
  .column-count-2 ::slotted(*),
262
304
  .column-count-3 ::slotted(*),
@@ -339,6 +339,11 @@ a:hover {
339
339
  box-sizing: border-box;
340
340
  }
341
341
  .container .popup .header .close-link .svg-wrap svg {
342
+ display: inline-block;
343
+ top: -1.5px;
344
+ position: relative;
345
+ stroke-width: 1;
346
+ stroke: #000000;
342
347
  height: 15px;
343
348
  width: 15px;
344
349
  transform: rotate(45deg);
@@ -25,7 +25,7 @@ export class BiggiveSheet {
25
25
  history.pushState('', document.title, window.location.pathname);
26
26
  }
27
27
  render() {
28
- return (h("div", { class: 'container' }, h("div", { class: "background" }), h("div", { class: 'popup background-colour-' + this.backgroundColour + ' text-colour-' + this.textColour }, h("div", { class: "header" }, h("div", { class: "back-link", onClick: () => this.closeSheet() }, h("span", { class: 'svg-wrap colour-' + this.textColour }, h("svg", { width: "33", height: "16", viewBox: "0 0 33 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M0.292892 7.29289C-0.0976295 7.68342 -0.0976295 8.31658 0.292892 8.70711L6.65685 15.0711C7.04738 15.4616 7.68054 15.4616 8.07107 15.0711C8.46159 14.6805 8.46159 14.0474 8.07107 13.6569L2.41421 8L8.07107 2.34315C8.46159 1.95262 8.46159 1.31946 8.07107 0.928932C7.68054 0.538408 7.04738 0.538408 6.65685 0.928932L0.292892 7.29289ZM33 7L1 7V9L33 9V7Z", fill: "black" }))), "Back"), h("div", { class: "close-link", onClick: () => this.closeSheet() }, h("span", { class: "svg-wrap" }, h("svg", { width: "24", height: "24", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M11 11v-11h1v11h11v1h-11v11h-1v-11h-11v-1h11z" }))))), h("div", { class: "content" }, h("slot", null)))));
28
+ return (h("div", { class: 'container' }, h("div", { class: "background" }), h("div", { class: 'popup background-colour-' + this.backgroundColour + ' text-colour-' + this.textColour }, h("div", { class: "header" }, h("div", { class: "back-link", onClick: this.closeSheet }, h("span", { class: 'svg-wrap colour-' + this.textColour }, h("svg", { width: "33", height: "16", viewBox: "0 0 33 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M0.292892 7.29289C-0.0976295 7.68342 -0.0976295 8.31658 0.292892 8.70711L6.65685 15.0711C7.04738 15.4616 7.68054 15.4616 8.07107 15.0711C8.46159 14.6805 8.46159 14.0474 8.07107 13.6569L2.41421 8L8.07107 2.34315C8.46159 1.95262 8.46159 1.31946 8.07107 0.928932C7.68054 0.538408 7.04738 0.538408 6.65685 0.928932L0.292892 7.29289ZM33 7L1 7V9L33 9V7Z", fill: "black" }))), "Back"), h("div", { class: "close-link", onClick: this.closeSheet }, h("span", { class: "svg-wrap" }, h("svg", { width: "24", height: "24", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M11 11v-11h1v11h11v1h-11v11h-1v-11h-11v-1h11z" }))))), h("div", { class: "content" }, h("slot", null)))));
29
29
  }
30
30
  static get is() { return "biggive-sheet"; }
31
31
  static get encapsulation() { return "shadow"; }
@@ -198,6 +198,7 @@ a:hover {
198
198
  width: calc(33.3% - 20px);
199
199
  border-bottom: 3px solid transparent;
200
200
  text-align: center;
201
+ white-space: nowrap;
201
202
  cursor: pointer;
202
203
  }
203
204
  .container .navigation .sleeve ul li.selected {
@@ -16,7 +16,20 @@ export class BiggiveTabbedContent {
16
16
  this.children = Array.from(this.host.children);
17
17
  }
18
18
  componentDidRender() {
19
+ var _a, _b, _c, _d;
19
20
  this.showTab(0);
21
+ this.scrollContextTab = (_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.navigation .sleeve ul li');
22
+ const sleeveElement = (_b = this.host.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector('.navigation .sleeve');
23
+ if (sleeveElement.scrollWidth > sleeveElement.offsetWidth) {
24
+ (_c = this.host.shadowRoot) === null || _c === void 0 ? void 0 : _c.querySelectorAll('.navigation .button').forEach(function (button) {
25
+ button.style.display = 'block';
26
+ });
27
+ }
28
+ else {
29
+ (_d = this.host.shadowRoot) === null || _d === void 0 ? void 0 : _d.querySelectorAll('.navigation .button').forEach(function (button) {
30
+ button.style.display = 'none';
31
+ });
32
+ }
20
33
  }
21
34
  /*
22
35
  * Shows the i'th tab, counting from zero. Does nothing if i out of range.
@@ -103,7 +116,7 @@ export class BiggiveTabbedContent {
103
116
  ' button-background-colour-' +
104
117
  this.buttonBackgroundColour +
105
118
  ' button-icon-colour-' +
106
- this.buttonIconColour }, h("div", { class: "navigation" }, h("div", { class: "button prev", onClick: () => this.clickPrevHandler(), title: "Previous" }, h("svg", { width: "9", height: "16", viewBox: "0 0 9 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M8.29311 14.5703L1.73926 8.01646L8.29311 1.46261", stroke: "#000000", "stroke-width": "2" }))), h("div", { class: "sleeve" }, h("ul", null, this.children.map(child => (h("li", { onClick: event => this.clickTabHandler(event) }, child.tabTitle))))), h("div", { class: "button next", onClick: () => this.clickNextHandler(), title: "Next" }, h("svg", { width: "9", height: "16", viewBox: "0 0 9 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M0.739117 1.46094L7.29297 8.01479L0.739118 14.5686", stroke: "#000000", "stroke-width": "2" })))), h("slot", null)));
119
+ this.buttonIconColour }, h("div", { class: "navigation" }, h("div", { class: "button prev", onClick: this.clickPrevHandler, title: "Previous" }, h("svg", { width: "9", height: "16", viewBox: "0 0 9 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M8.29311 14.5703L1.73926 8.01646L8.29311 1.46261", stroke: "#000000", "stroke-width": "2" }))), h("div", { class: "sleeve" }, h("ul", null, this.children.map(child => (h("li", { onClick: this.clickTabHandler }, child.tabTitle))))), h("div", { class: "button next", onClick: this.clickNextHandler, title: "Next" }, h("svg", { width: "9", height: "16", viewBox: "0 0 9 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M0.739117 1.46094L7.29297 8.01479L0.739118 14.5686", stroke: "#000000", "stroke-width": "2" })))), h("slot", null)));
107
120
  }
108
121
  static get is() { return "biggive-tabbed-content"; }
109
122
  static get encapsulation() { return "shadow"; }