@glowhop/vue-tour 1.0.0 → 1.0.2

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # @glowhop/vue-tour
2
2
 
3
+ ## 1.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 5aa8cdf: Fix two mobile overlay defects.
8
+
9
+ The backdrop no longer stops short of the bottom of the screen. Its `viewBox` is
10
+ now measured from the element's own box instead of `documentElement.clientHeight`,
11
+ which a retracting mobile URL bar moves out of step with the box a fixed element
12
+ is sized against; `preserveAspectRatio="xMinYMin slice"` makes any residual mismatch
13
+ overdraw rather than letterbox, and the element is sized to `100lvh` where that
14
+ unit exists so it always spans the visible area.
15
+
16
+ The cutout now animates on WebKit. Safari — and therefore every browser on iOS —
17
+ cannot animate `d` through the Web Animations API, so the rectangle is
18
+ interpolated frame by frame and the path regenerated from it, clocked by the
19
+ eased progress of the animation already running on the same element, instead of
20
+ snapping to each target.
21
+ - Updated dependencies [5aa8cdf]
22
+ - @glowhop/core-tour@1.0.2
23
+
24
+ ## 1.0.1
25
+
26
+ ### Patch Changes
27
+
28
+ - Updated dependencies [358c4b1]
29
+ - @glowhop/core-tour@1.0.1
30
+
3
31
  ## 1.0.0
4
32
 
5
33
  ### Major Changes
@@ -199,6 +199,7 @@ var GlowTourOverlay = defineComponent({
199
199
  "data-glow-tour-overlay": "",
200
200
  focusable: props.focusable,
201
201
  inert: OVERLAY_IDLE_ATTRIBUTES.inert,
202
+ preserveAspectRatio: OVERLAY_IDLE_ATTRIBUTES.preserveAspectRatio,
202
203
  ref: element,
203
204
  role: "presentation",
204
205
  viewBox: props.viewBox
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glowhop/vue-tour",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Vue 3 adapter for GlowTour.js.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/Glowhop/GlowTour.js#readme",
@@ -40,7 +40,7 @@
40
40
  }
41
41
  },
42
42
  "dependencies": {
43
- "@glowhop/core-tour": "1.0.0"
43
+ "@glowhop/core-tour": "1.0.2"
44
44
  },
45
45
  "peerDependencies": {
46
46
  "vue": "^3.3.0"