@glowhop/vue-tour 1.0.0 → 1.1.0

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,40 @@
1
1
  # @glowhop/vue-tour
2
2
 
3
+ ## 1.1.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [165797b]
8
+ - @glowhop/core-tour@1.1.0
9
+
10
+ ## 1.0.2
11
+
12
+ ### Patch Changes
13
+
14
+ - 5aa8cdf: Fix two mobile overlay defects.
15
+
16
+ The backdrop no longer stops short of the bottom of the screen. Its `viewBox` is
17
+ now measured from the element's own box instead of `documentElement.clientHeight`,
18
+ which a retracting mobile URL bar moves out of step with the box a fixed element
19
+ is sized against; `preserveAspectRatio="xMinYMin slice"` makes any residual mismatch
20
+ overdraw rather than letterbox, and the element is sized to `100lvh` where that
21
+ unit exists so it always spans the visible area.
22
+
23
+ The cutout now animates on WebKit. Safari — and therefore every browser on iOS —
24
+ cannot animate `d` through the Web Animations API, so the rectangle is
25
+ interpolated frame by frame and the path regenerated from it, clocked by the
26
+ eased progress of the animation already running on the same element, instead of
27
+ snapping to each target.
28
+ - Updated dependencies [5aa8cdf]
29
+ - @glowhop/core-tour@1.0.2
30
+
31
+ ## 1.0.1
32
+
33
+ ### Patch Changes
34
+
35
+ - Updated dependencies [358c4b1]
36
+ - @glowhop/core-tour@1.0.1
37
+
3
38
  ## 1.0.0
4
39
 
5
40
  ### 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.1.0",
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.1.0"
44
44
  },
45
45
  "peerDependencies": {
46
46
  "vue": "^3.3.0"