@visitscotland/component-library 5.69.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.
|
@@ -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.69.
|
|
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",
|