@visitscotland/component-library 5.68.0 → 5.69.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.
|
@@ -35531,7 +35531,7 @@ const SocialShareItem = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["render", _sf
|
|
|
35531
35531
|
};
|
|
35532
35532
|
function _sfc_render$9(e, n, t, a, o, r) {
|
|
35533
35533
|
const s = resolveComponent("VsHeading"), i = resolveComponent("VsBody"), l = resolveComponent("VsButton");
|
|
35534
|
-
return openBlock(), createElementBlock("
|
|
35534
|
+
return openBlock(), createElementBlock("div", {
|
|
35535
35535
|
class: normalizeClass(r.spotlightSectionClasses),
|
|
35536
35536
|
style: normalizeStyle(t.imageSrc ? { backgroundImage: `url(${t.imageSrc})` } : {}),
|
|
35537
35537
|
"data-test": "vs-spotlight-section"
|
|
@@ -38533,7 +38533,7 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = { class: "vs-map__controls"
|
|
|
38533
38533
|
const q = ne;
|
|
38534
38534
|
I.searchesCount += 1, $.value = "text", w.value = m.value.trim(), w.value && (N.value || H ? (d.locationBias = null, d.locationRestriction = s.getBounds()) : (d.locationRestriction = null, d.locationBias = s.getCenter()), N.value && (v.value = "accommodation", C.value.add("self-catering")), d.includedType = T.value.some(
|
|
38535
38535
|
(Y) => w.value.toLowerCase().includes(Y)
|
|
38536
|
-
) ? "lodging" : null, d.textQuery = `${w.value} in Scotland`, d.maxResultCount = NUMBER_OF_RESULTS, c.style.display = "block", c.addEventListener("gmp-load", () => {
|
|
38536
|
+
) ? "lodging" : null, N.value ? d.textQuery = "self catering in Scotland" : d.textQuery = `${w.value} in Scotland`, d.maxResultCount = NUMBER_OF_RESULTS, c.style.display = "block", c.addEventListener("gmp-load", () => {
|
|
38537
38537
|
q === ne && (Ne(q), N.value = !1, n.createDataLayerObject("googleMapSearchEvent", {
|
|
38538
38538
|
search_query: w.value,
|
|
38539
38539
|
search_map_location: s.getCenter().toString(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@visitscotland/component-library",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.69.1",
|
|
4
4
|
"description": "VisitScotland Component Library",
|
|
5
5
|
"author": "VisitScotland",
|
|
6
6
|
"homepage": "https://github.com/visitscotland/vs-component-library#readme",
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
"sass": "^1.62.1",
|
|
110
110
|
"semantic-release": "^25.0.3",
|
|
111
111
|
"standard-version": "^9.5.0",
|
|
112
|
-
"storybook": "10.4.
|
|
112
|
+
"storybook": "^10.4.6",
|
|
113
113
|
"storybook-addon-tag-badges": "^3.1.0",
|
|
114
114
|
"theo": "^8.1.5",
|
|
115
115
|
"ts-jest": "^29.4.11",
|