@visitscotland/component-library 5.71.0 → 5.71.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.
@@ -37065,7 +37065,7 @@ function useSwipeDrawer(e, t) {
37065
37065
  _.currentTarget.setPointerCapture(_.pointerId), s.value = !0, a.value = _.clientY, o.value = n.value;
37066
37066
  }
37067
37067
  function v() {
37068
- i.value = window.innerWidth < 768, l.value = Math.min(250, window.innerHeight * 0.3);
37068
+ i.value = window.innerWidth < 768, l.value = Math.min(250, window.innerHeight * 0.3), r.value = t.value ? t.value.getBoundingClientRect().height : 500;
37069
37069
  }
37070
37070
  return watchEffect(() => {
37071
37071
  n.value = e.value ? c : f.value;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visitscotland/component-library",
3
- "version": "5.71.0",
3
+ "version": "5.71.1",
4
4
  "description": "VisitScotland Component Library",
5
5
  "author": "VisitScotland",
6
6
  "homepage": "https://github.com/visitscotland/vs-component-library#readme",