@coveo/quantic 3.28.2-pre.6818cf8f76 → 3.28.2-pre.8d9d6d2a21

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.
@@ -45,7 +45,17 @@ export default class QuanticTab extends LightningElement {
45
45
  * @api
46
46
  * @type {boolean}
47
47
  */
48
- @api clearFiltersOnTabChange = false;
48
+ @api get clearFiltersOnTabChange() {
49
+ return this._clearFiltersOnTabChange;
50
+ }
51
+ set clearFiltersOnTabChange(value) {
52
+ // Explicit boolean conversion to handle string values like "false" or "true"
53
+ this._clearFiltersOnTabChange =
54
+ value === true ||
55
+ // @ts-ignore
56
+ (typeof value === 'string' && value.toLowerCase() === 'true');
57
+ }
58
+ _clearFiltersOnTabChange = false;
49
59
  /**
50
60
  * Whether the tab should be active.
51
61
  * @api