leafthrough 0.1.2 → 0.1.3

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/dist/index.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  DEFAULT_SPREAD_QUERY,
4
4
  LeafThrough,
5
5
  defaultPageLabel
6
- } from "./chunk-GJRP6UAH.js";
6
+ } from "./chunk-XPIDTVB5.js";
7
7
  export {
8
8
  DEFAULT_PAGE_ASPECT,
9
9
  DEFAULT_SPREAD_QUERY,
package/dist/options.d.ts CHANGED
@@ -80,8 +80,9 @@ export interface MotionOptions {
80
80
  /** How far a hovered sheet lifts, as a share of a turn (spread). `0` disables. Default `0.03`. */
81
81
  hoverLift?: number;
82
82
  /**
83
- * `'auto'` follows the user's `prefers-reduced-motion`. When reduced, turns are quicker and
84
- * hovering doesn't lift pages. Default `'auto'`.
83
+ * `'auto'` follows the user's `prefers-reduced-motion`. When reduced, the decorative motion
84
+ * goes: hovered pages don't lift and turns don't wobble at random. Turns themselves keep their
85
+ * speed, and press and hold still riffles. Default `'auto'`.
85
86
  */
86
87
  reducedMotion?: 'auto' | boolean;
87
88
  }
package/dist/react.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  LeafThrough,
4
4
  defaultPageLabel
5
- } from "./chunk-GJRP6UAH.js";
5
+ } from "./chunk-XPIDTVB5.js";
6
6
 
7
7
  // src/react.tsx
8
8
  import { forwardRef, useEffect, useImperativeHandle, useRef } from "react";
package/dist/svelte.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  LeafThrough
3
- } from "./chunk-GJRP6UAH.js";
3
+ } from "./chunk-XPIDTVB5.js";
4
4
 
5
5
  // src/svelte.ts
6
6
  function leafThrough(node, options) {
package/dist/vue.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  LeafThrough
3
- } from "./chunk-GJRP6UAH.js";
3
+ } from "./chunk-XPIDTVB5.js";
4
4
 
5
5
  // src/vue.ts
6
6
  import { defineComponent, h, onBeforeUnmount, onMounted, ref, shallowRef, watch } from "vue";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "leafthrough",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "A 3D magazine you can flip through, with paper that bends, rolls and casts shadows. Built on three.js, with React, Vue, Svelte and Web Component bindings.",
5
5
  "keywords": [
6
6
  "magazine",