@biggive/components 202311211301.0.0 → 202311211421.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.
@@ -292,6 +292,13 @@ const BiggiveCampaignCardFilterGrid = class {
292
292
  this.categoriesPlaceHolderText = 'Select category';
293
293
  this.locationsPlaceHolderText = 'Select location';
294
294
  this.fundingPlaceHolderText = 'Select funding';
295
+ /**
296
+ * This and similar properties represent selections made in the popup but not yet applied.
297
+ */
298
+ this.newSelectedFilterCategory = null;
299
+ this.newSelectedFilterBeneficiary = null;
300
+ this.newSelectedFilterLocation = null;
301
+ this.newSelectedFilterFunding = null;
295
302
  this.categoryFilterSelectionChanged = (value) => {
296
303
  this.newSelectedFilterCategory = value;
297
304
  };
@@ -339,6 +346,10 @@ const BiggiveCampaignCardFilterGrid = class {
339
346
  };
340
347
  this.handleFilterButtonClick = () => {
341
348
  var _a;
349
+ this.newSelectedFilterBeneficiary = this.selectedFilterBeneficiary;
350
+ this.newSelectedFilterCategory = this.selectedFilterCategory;
351
+ this.newSelectedFilterFunding = this.selectedFilterFunding;
352
+ this.newSelectedFilterLocation = this.selectedFilterLocation;
342
353
  const filterPopup = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.getElementById('filter-popup');
343
354
  if (filterPopup) {
344
355
  filterPopup.openFromOutside();
@@ -7,6 +7,13 @@ export class BiggiveCampaignCardFilterGrid {
7
7
  this.categoriesPlaceHolderText = 'Select category';
8
8
  this.locationsPlaceHolderText = 'Select location';
9
9
  this.fundingPlaceHolderText = 'Select funding';
10
+ /**
11
+ * This and similar properties represent selections made in the popup but not yet applied.
12
+ */
13
+ this.newSelectedFilterCategory = null;
14
+ this.newSelectedFilterBeneficiary = null;
15
+ this.newSelectedFilterLocation = null;
16
+ this.newSelectedFilterFunding = null;
10
17
  this.categoryFilterSelectionChanged = (value) => {
11
18
  this.newSelectedFilterCategory = value;
12
19
  };
@@ -54,6 +61,10 @@ export class BiggiveCampaignCardFilterGrid {
54
61
  };
55
62
  this.handleFilterButtonClick = () => {
56
63
  var _a;
64
+ this.newSelectedFilterBeneficiary = this.selectedFilterBeneficiary;
65
+ this.newSelectedFilterCategory = this.selectedFilterCategory;
66
+ this.newSelectedFilterFunding = this.selectedFilterFunding;
67
+ this.newSelectedFilterLocation = this.selectedFilterLocation;
57
68
  const filterPopup = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.getElementById('filter-popup');
58
69
  if (filterPopup) {
59
70
  filterPopup.openFromOutside();
@@ -17,6 +17,13 @@ const BiggiveCampaignCardFilterGrid$1 = /*@__PURE__*/ proxyCustomElement(class e
17
17
  this.categoriesPlaceHolderText = 'Select category';
18
18
  this.locationsPlaceHolderText = 'Select location';
19
19
  this.fundingPlaceHolderText = 'Select funding';
20
+ /**
21
+ * This and similar properties represent selections made in the popup but not yet applied.
22
+ */
23
+ this.newSelectedFilterCategory = null;
24
+ this.newSelectedFilterBeneficiary = null;
25
+ this.newSelectedFilterLocation = null;
26
+ this.newSelectedFilterFunding = null;
20
27
  this.categoryFilterSelectionChanged = (value) => {
21
28
  this.newSelectedFilterCategory = value;
22
29
  };
@@ -64,6 +71,10 @@ const BiggiveCampaignCardFilterGrid$1 = /*@__PURE__*/ proxyCustomElement(class e
64
71
  };
65
72
  this.handleFilterButtonClick = () => {
66
73
  var _a;
74
+ this.newSelectedFilterBeneficiary = this.selectedFilterBeneficiary;
75
+ this.newSelectedFilterCategory = this.selectedFilterCategory;
76
+ this.newSelectedFilterFunding = this.selectedFilterFunding;
77
+ this.newSelectedFilterLocation = this.selectedFilterLocation;
67
78
  const filterPopup = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.getElementById('filter-popup');
68
79
  if (filterPopup) {
69
80
  filterPopup.openFromOutside();
@@ -288,6 +288,13 @@ const BiggiveCampaignCardFilterGrid = class {
288
288
  this.categoriesPlaceHolderText = 'Select category';
289
289
  this.locationsPlaceHolderText = 'Select location';
290
290
  this.fundingPlaceHolderText = 'Select funding';
291
+ /**
292
+ * This and similar properties represent selections made in the popup but not yet applied.
293
+ */
294
+ this.newSelectedFilterCategory = null;
295
+ this.newSelectedFilterBeneficiary = null;
296
+ this.newSelectedFilterLocation = null;
297
+ this.newSelectedFilterFunding = null;
291
298
  this.categoryFilterSelectionChanged = (value) => {
292
299
  this.newSelectedFilterCategory = value;
293
300
  };
@@ -335,6 +342,10 @@ const BiggiveCampaignCardFilterGrid = class {
335
342
  };
336
343
  this.handleFilterButtonClick = () => {
337
344
  var _a;
345
+ this.newSelectedFilterBeneficiary = this.selectedFilterBeneficiary;
346
+ this.newSelectedFilterCategory = this.selectedFilterCategory;
347
+ this.newSelectedFilterFunding = this.selectedFilterFunding;
348
+ this.newSelectedFilterLocation = this.selectedFilterLocation;
338
349
  const filterPopup = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.getElementById('filter-popup');
339
350
  if (filterPopup) {
340
351
  filterPopup.openFromOutside();
package/hydrate/index.js CHANGED
@@ -6791,6 +6791,13 @@ class BiggiveCampaignCardFilterGrid {
6791
6791
  this.categoriesPlaceHolderText = 'Select category';
6792
6792
  this.locationsPlaceHolderText = 'Select location';
6793
6793
  this.fundingPlaceHolderText = 'Select funding';
6794
+ /**
6795
+ * This and similar properties represent selections made in the popup but not yet applied.
6796
+ */
6797
+ this.newSelectedFilterCategory = null;
6798
+ this.newSelectedFilterBeneficiary = null;
6799
+ this.newSelectedFilterLocation = null;
6800
+ this.newSelectedFilterFunding = null;
6794
6801
  this.categoryFilterSelectionChanged = (value) => {
6795
6802
  this.newSelectedFilterCategory = value;
6796
6803
  };
@@ -6838,6 +6845,10 @@ class BiggiveCampaignCardFilterGrid {
6838
6845
  };
6839
6846
  this.handleFilterButtonClick = () => {
6840
6847
  var _a;
6848
+ this.newSelectedFilterBeneficiary = this.selectedFilterBeneficiary;
6849
+ this.newSelectedFilterCategory = this.selectedFilterCategory;
6850
+ this.newSelectedFilterFunding = this.selectedFilterFunding;
6851
+ this.newSelectedFilterLocation = this.selectedFilterLocation;
6841
6852
  const filterPopup = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.getElementById('filter-popup');
6842
6853
  if (filterPopup) {
6843
6854
  filterPopup.openFromOutside();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@biggive/components",
3
3
  "_comment": "Version number below is automatically replaced during CircleCI build.",
4
- "version": "202311211301.0.0",
4
+ "version": "202311211421.0.0",
5
5
  "description": "Big Give Components",
6
6
  "main": "dist/index.cjs.js",
7
7
  "module": "dist/index.js",