@getlupa/vue 0.19.0 → 0.19.1

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.
@@ -22315,12 +22315,12 @@ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
22315
22315
  ]),
22316
22316
  displayShowMore.value ? (vue.openBlock(), vue.createElementBlock("div", {
22317
22317
  key: 1,
22318
- class: "lupa-facet-term lupa-show-more-facet-results",
22318
+ class: vue.normalizeClass(["lupa-facet-term lupa-show-more-facet-results", { "lupa-show-less-facet-results": showAll.value }]),
22319
22319
  "data-cy": "lupa-facet-term",
22320
22320
  onClick: toggleShowAll
22321
22321
  }, [
22322
22322
  showAll.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_8$2, vue.toDisplayString(_ctx.options.labels.showLess), 1)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_9$2, vue.toDisplayString(_ctx.options.labels.showAll), 1))
22323
- ])) : vue.createCommentVNode("", true)
22323
+ ], 2)) : vue.createCommentVNode("", true)
22324
22324
  ]);
22325
22325
  };
22326
22326
  }
@@ -23774,10 +23774,10 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
23774
23774
  }), 128)),
23775
23775
  itemLimit.value < filteredValues.value.length ? (vue.openBlock(), vue.createElementBlock("div", {
23776
23776
  key: 1,
23777
- class: "lupa-facet-term lupa-show-more-facet-results",
23777
+ class: vue.normalizeClass(["lupa-facet-term lupa-show-more-facet-results", { "lupa-show-less-facet-results": showAll.value }]),
23778
23778
  "data-cy": "lupa-facet-term",
23779
23779
  onClick: handleShowAll
23780
- }, vue.toDisplayString(_ctx.options.labels.showAll), 1)) : showAll.value ? (vue.openBlock(), vue.createElementBlock("div", {
23780
+ }, vue.toDisplayString(_ctx.options.labels.showAll), 3)) : showAll.value ? (vue.openBlock(), vue.createElementBlock("div", {
23781
23781
  key: 2,
23782
23782
  class: "lupa-facet-term lupa-show-more-facet-results",
23783
23783
  onClick: handleCancelShowAll
@@ -22313,12 +22313,12 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
22313
22313
  ]),
22314
22314
  displayShowMore.value ? (openBlock(), createElementBlock("div", {
22315
22315
  key: 1,
22316
- class: "lupa-facet-term lupa-show-more-facet-results",
22316
+ class: normalizeClass(["lupa-facet-term lupa-show-more-facet-results", { "lupa-show-less-facet-results": showAll.value }]),
22317
22317
  "data-cy": "lupa-facet-term",
22318
22318
  onClick: toggleShowAll
22319
22319
  }, [
22320
22320
  showAll.value ? (openBlock(), createElementBlock("span", _hoisted_8$2, toDisplayString(_ctx.options.labels.showLess), 1)) : (openBlock(), createElementBlock("span", _hoisted_9$2, toDisplayString(_ctx.options.labels.showAll), 1))
22321
- ])) : createCommentVNode("", true)
22321
+ ], 2)) : createCommentVNode("", true)
22322
22322
  ]);
22323
22323
  };
22324
22324
  }
@@ -23772,10 +23772,10 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
23772
23772
  }), 128)),
23773
23773
  itemLimit.value < filteredValues.value.length ? (openBlock(), createElementBlock("div", {
23774
23774
  key: 1,
23775
- class: "lupa-facet-term lupa-show-more-facet-results",
23775
+ class: normalizeClass(["lupa-facet-term lupa-show-more-facet-results", { "lupa-show-less-facet-results": showAll.value }]),
23776
23776
  "data-cy": "lupa-facet-term",
23777
23777
  onClick: handleShowAll
23778
- }, toDisplayString(_ctx.options.labels.showAll), 1)) : showAll.value ? (openBlock(), createElementBlock("div", {
23778
+ }, toDisplayString(_ctx.options.labels.showAll), 3)) : showAll.value ? (openBlock(), createElementBlock("div", {
23779
23779
  key: 2,
23780
23780
  class: "lupa-facet-term lupa-show-more-facet-results",
23781
23781
  onClick: handleCancelShowAll
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlupa/vue",
3
- "version": "0.19.0",
3
+ "version": "0.19.1",
4
4
  "main": "dist/lupaSearch.mjs",
5
5
  "module": "dist/lupaSearch.mjs",
6
6
  "types": "dist/src/index.d.ts",