@visitscotland/component-library 4.19.2 → 4.19.3

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.
@@ -32035,7 +32035,7 @@ function _sfc_render$V(e, n, t, a, r, o) {
32035
32035
  createVNode(l, {
32036
32036
  ref: "input",
32037
32037
  type: t.type,
32038
- class: normalizeClass(["vs-input", o.elementClass]),
32038
+ class: normalizeClass(["vs-input", [r.inputVal ? "show-cancel" : "", o.elementClass]]),
32039
32039
  modelValue: r.inputVal,
32040
32040
  "onUpdate:modelValue": n[0] || (n[0] = (d) => r.inputVal = d),
32041
32041
  id: t.fieldName,
@@ -34370,6 +34370,7 @@ const VsSiteSearch = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["render", _sfc_r
34370
34370
  },
34371
34371
  /**
34372
34372
  * Text that renders inside the clear button (visually-hidden)
34373
+ * DEPRECATED
34373
34374
  */
34374
34375
  clearButtonText: {
34375
34376
  type: String,
@@ -34468,10 +34469,9 @@ function _sfc_render$D(e, n, t, a, r, o) {
34468
34469
  type: "search",
34469
34470
  "field-name": "site-search",
34470
34471
  placeholder: t.labelText,
34471
- "clear-button-text": t.clearButtonText,
34472
34472
  "auto-complete": !1,
34473
34473
  onUpdated: o.updateVal
34474
- }, null, 8, ["placeholder", "clear-button-text", "onUpdated"])
34474
+ }, null, 8, ["placeholder", "onUpdated"])
34475
34475
  ]),
34476
34476
  createVNode(d, {
34477
34477
  type: "submit",
@@ -34769,9 +34769,8 @@ function _sfc_render$C(e, n, t, a, r, o) {
34769
34769
  "is-showing": r.showSearch,
34770
34770
  "label-text": t.searchLabelText,
34771
34771
  "submit-button-text": t.searchButtonText,
34772
- "clear-button-text": t.searchClearButtonText,
34773
34772
  "close-button-text": t.searchCloseButtonText
34774
- }, null, 8, ["onToggleAction", "is-showing", "label-text", "submit-button-text", "clear-button-text", "close-button-text"]), [
34773
+ }, null, 8, ["onToggleAction", "is-showing", "label-text", "submit-button-text", "close-button-text"]), [
34775
34774
  [vShow, r.showSearch]
34776
34775
  ])
34777
34776
  ]);