@getlupa/client 1.17.5 → 1.17.6

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.
@@ -28987,10 +28987,10 @@ and ensure you are accounting for this risk.
28987
28987
  const activeLabel = computed(() => props.labels.mobileFilterButtonActive);
28988
28988
  const openLabel = computed(() => props.labels.mobileFilterButtonOpen);
28989
28989
  const label = computed(() => {
28990
- if (isSidebarVisible.value) {
28990
+ if (isSidebarVisible.value && openLabel.value) {
28991
28991
  return openLabel.value;
28992
28992
  }
28993
- if (hasActiveFilters.value) {
28993
+ if (hasActiveFilters.value && activeLabel.value) {
28994
28994
  return activeLabel.value;
28995
28995
  }
28996
28996
  return defaultLabel.value;
@@ -28987,10 +28987,10 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
28987
28987
  const activeLabel = computed(() => props.labels.mobileFilterButtonActive);
28988
28988
  const openLabel = computed(() => props.labels.mobileFilterButtonOpen);
28989
28989
  const label = computed(() => {
28990
- if (isSidebarVisible.value) {
28990
+ if (isSidebarVisible.value && openLabel.value) {
28991
28991
  return openLabel.value;
28992
28992
  }
28993
- if (hasActiveFilters.value) {
28993
+ if (hasActiveFilters.value && activeLabel.value) {
28994
28994
  return activeLabel.value;
28995
28995
  }
28996
28996
  return defaultLabel.value;
@@ -28985,10 +28985,10 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
28985
28985
  const activeLabel = computed(() => props.labels.mobileFilterButtonActive);
28986
28986
  const openLabel = computed(() => props.labels.mobileFilterButtonOpen);
28987
28987
  const label = computed(() => {
28988
- if (isSidebarVisible.value) {
28988
+ if (isSidebarVisible.value && openLabel.value) {
28989
28989
  return openLabel.value;
28990
28990
  }
28991
- if (hasActiveFilters.value) {
28991
+ if (hasActiveFilters.value && activeLabel.value) {
28992
28992
  return activeLabel.value;
28993
28993
  }
28994
28994
  return defaultLabel.value;
@@ -28989,10 +28989,10 @@ and ensure you are accounting for this risk.
28989
28989
  const activeLabel = computed(() => props.labels.mobileFilterButtonActive);
28990
28990
  const openLabel = computed(() => props.labels.mobileFilterButtonOpen);
28991
28991
  const label = computed(() => {
28992
- if (isSidebarVisible.value) {
28992
+ if (isSidebarVisible.value && openLabel.value) {
28993
28993
  return openLabel.value;
28994
28994
  }
28995
- if (hasActiveFilters.value) {
28995
+ if (hasActiveFilters.value && activeLabel.value) {
28996
28996
  return activeLabel.value;
28997
28997
  }
28998
28998
  return defaultLabel.value;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlupa/client",
3
- "version": "1.17.5",
3
+ "version": "1.17.6",
4
4
  "main": "dist/lupaSearch.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/src/index.d.ts",
@@ -20,7 +20,7 @@
20
20
  },
21
21
  "devDependencies": {
22
22
  "@getlupa/client-sdk": "^1.3.4",
23
- "@getlupa/vue": "0.17.5",
23
+ "@getlupa/vue": "0.17.6",
24
24
  "@rushstack/eslint-patch": "^1.3.2",
25
25
  "@tsconfig/node18": "^2.0.1",
26
26
  "@types/jsdom": "^21.1.1",