kuinetic 0.3.0 → 0.4.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/README.md +2 -2
- package/dist/esm/{chunk-7NW4OLOC.mjs → chunk-CG37RODK.mjs} +906 -428
- package/dist/esm/{chunk-DAVDOYOS.mjs → chunk-W7U4A2NK.mjs} +625 -124
- package/dist/esm/{chunk-4QKMEDM4.mjs → chunk-Y2FP56K5.mjs} +2501 -1694
- package/dist/esm/core/index.mjs +2 -2
- package/dist/esm/effects/index.mjs +2 -2
- package/dist/esm/index.mjs +3 -3
- package/dist/esm/notes/index.mjs +75 -8
- package/dist/kuinetic.all.js +3977 -2221
- package/dist/kuinetic.all.min.js +4 -2
- package/dist/kuinetic.css +1248 -46
- package/dist/kuinetic.js +3976 -2220
- package/dist/kuinetic.min.css +1 -1
- package/dist/kuinetic.min.js +3 -1
- package/dist/kuinetic.notes.js +1 -1
- package/dist/types/core/animator.d.ts +61 -2
- package/dist/types/core/attrs.d.ts +0 -2
- package/dist/types/core/auto-motion.d.ts +139 -0
- package/dist/types/core/cadence.d.ts +90 -0
- package/dist/types/core/channels.d.ts +4 -0
- package/dist/types/core/compile.d.ts +14 -2
- package/dist/types/core/deck-viewer.d.ts +2 -0
- package/dist/types/core/declarations.d.ts +6 -0
- package/dist/types/core/derived/group-gate.d.ts +18 -4
- package/dist/types/core/describe.d.ts +1 -1
- package/dist/types/core/element-config.d.ts +3 -4
- package/dist/types/core/instances.d.ts +27 -3
- package/dist/types/core/params.d.ts +1 -2
- package/dist/types/core/parse.d.ts +20 -1
- package/dist/types/core/pause-scope.d.ts +40 -0
- package/dist/types/core/play.d.ts +2 -2
- package/dist/types/core/registry.d.ts +16 -1
- package/dist/types/core/repeat.d.ts +6 -4
- package/dist/types/core/sequence.d.ts +10 -0
- package/dist/types/core/stagger-config.d.ts +23 -101
- package/dist/types/core/stagger-keys.d.ts +2 -4
- package/dist/types/core/stagger.d.ts +12 -21
- package/dist/types/core/types.d.ts +65 -18
- package/dist/types/effects/auto-motion.d.ts +20 -123
- package/dist/types/effects/carousel/deck.d.ts +5 -0
- package/dist/types/effects/carousel/drag.d.ts +5 -0
- package/dist/types/effects/carousel/row-copies.d.ts +3 -0
- package/dist/types/effects/carousel/shape-fit.d.ts +8 -0
- package/dist/types/effects/catalog/feedback.d.ts +1 -1
- package/dist/types/effects/catalog/media-shared.d.ts +10 -0
- package/dist/types/effects/catalog/pause-scope.d.ts +20 -0
- package/dist/types/effects/catalog/text-shared.d.ts +4 -0
- package/dist/types/effects/scroll-mechanics/snap-autoplay.d.ts +20 -0
- package/dist/types/effects/step-index.d.ts +19 -1
- package/dist/types/effects/svg/morph-loop.d.ts +2 -0
- package/dist/types/effects/tween/waypoints.d.ts +1 -1
- package/dist/types/showcase/media-source.d.ts +1 -0
- package/dist/types/showcase/youtube.d.ts +3 -0
- package/package.json +1 -1
package/dist/esm/core/index.mjs
CHANGED
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
detect,
|
|
12
12
|
silentReporter,
|
|
13
13
|
spellingsFor
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-W7U4A2NK.mjs";
|
|
15
15
|
import {
|
|
16
16
|
ATTR,
|
|
17
17
|
CHANNEL,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
resolveTargets,
|
|
28
28
|
timingContractOf,
|
|
29
29
|
toAttributeValue
|
|
30
|
-
} from "../chunk-
|
|
30
|
+
} from "../chunk-CG37RODK.mjs";
|
|
31
31
|
import "../chunk-EDFJTT5B.mjs";
|
|
32
32
|
export {
|
|
33
33
|
ATTR,
|
|
@@ -17,8 +17,8 @@ import {
|
|
|
17
17
|
registerThreeD,
|
|
18
18
|
registerTween,
|
|
19
19
|
registerViewTransitions
|
|
20
|
-
} from "../chunk-
|
|
21
|
-
import "../chunk-
|
|
20
|
+
} from "../chunk-Y2FP56K5.mjs";
|
|
21
|
+
import "../chunk-CG37RODK.mjs";
|
|
22
22
|
import "../chunk-EDFJTT5B.mjs";
|
|
23
23
|
export {
|
|
24
24
|
COMBOS,
|
package/dist/esm/index.mjs
CHANGED
|
@@ -11,13 +11,13 @@ import {
|
|
|
11
11
|
detect,
|
|
12
12
|
silentReporter,
|
|
13
13
|
spellingsFor
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-W7U4A2NK.mjs";
|
|
15
15
|
import {
|
|
16
16
|
COMBOS,
|
|
17
17
|
PRESETS,
|
|
18
18
|
PRIMITIVES,
|
|
19
19
|
createRegistry
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-Y2FP56K5.mjs";
|
|
21
21
|
import {
|
|
22
22
|
ATTR,
|
|
23
23
|
CHANNEL,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
resolveTargets,
|
|
34
34
|
timingContractOf,
|
|
35
35
|
toAttributeValue
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-CG37RODK.mjs";
|
|
37
37
|
import "./chunk-EDFJTT5B.mjs";
|
|
38
38
|
|
|
39
39
|
// src/index.ts
|
package/dist/esm/notes/index.mjs
CHANGED
|
@@ -24,6 +24,14 @@ var CATALOG_NOTES = {
|
|
|
24
24
|
"media-mask.edges": "Fade both horizontal scroll edges by this width and remove each fade at its matching end.",
|
|
25
25
|
"media-wipe.start-inset": "Set the horizontal inset at the start of curtain-reveal.",
|
|
26
26
|
"media-wipe.start-size": "Open curtain-reveal from a centred crop of this size before scaling.",
|
|
27
|
+
"pause-scope.pause": {
|
|
28
|
+
why: "Which button pauses and resumes motion inside this section.",
|
|
29
|
+
whenOmitted: "No pause button is connected."
|
|
30
|
+
},
|
|
31
|
+
"pause-scope.paused": {
|
|
32
|
+
why: "Set to true to start with motion paused inside this section.",
|
|
33
|
+
whenOmitted: "The section starts unpaused."
|
|
34
|
+
},
|
|
27
35
|
"ambient-float.duration": "How long one full up-and-down drift takes, repeating forever.",
|
|
28
36
|
"ambient-float.distance": "How far the element drifts up and down.",
|
|
29
37
|
"ambient-gradient.duration": "How long one full colour drift takes, repeating forever.",
|
|
@@ -161,6 +169,7 @@ var CATALOG_CORE_NOTES = {
|
|
|
161
169
|
"desaturate.to": "How grey the element is at the end of the scroll range.",
|
|
162
170
|
"feedback-burst.scale": "How much the element swells at the peak of the pop.",
|
|
163
171
|
"feedback-burst.distance": "How far the confetti flies, as a size or a share of the element.",
|
|
172
|
+
"feedback-burst.origin": "Start the confetti at the pointer or at the centre of the element.",
|
|
164
173
|
"feedback-burst.fan": "How wide the confetti spreads sideways; 0 is a narrow fountain.",
|
|
165
174
|
"feedback-burst.size": "How big each confetti speck is.",
|
|
166
175
|
"feedback-burst.spill": "How far past the element the confetti is allowed to show.",
|
|
@@ -177,6 +186,7 @@ var CATALOG_CORE_NOTES = {
|
|
|
177
186
|
"feedback-progress-track.duration": "How long the bar takes to sweep across once, repeating forever.",
|
|
178
187
|
"feedback-pull.distance": "How far the element is pulled down before it springs back.",
|
|
179
188
|
"feedback-ripple.extent": "How many times larger the ripple grows than the element.",
|
|
189
|
+
"feedback-ripple.origin": "Start the ripple where the pointer clicks instead of at the centre.",
|
|
180
190
|
"feedback-ripple.color": { why: "Colour of the ripple disc.", whenOmitted: "Uses the element's own text colour." },
|
|
181
191
|
"feedback-ripple.strength": "How solid the ripple looks at its brightest, from 0 to 1.",
|
|
182
192
|
"feedback-ripple.startScale": "How big the ripple begins, as a share of the element.",
|
|
@@ -186,9 +196,9 @@ var CATALOG_CORE_NOTES = {
|
|
|
186
196
|
"flip-3d.angle": "How far turned away the element starts, before it flips flat.",
|
|
187
197
|
"flip-3d.perspective": "How strong the 3D depth looks; smaller is more dramatic.",
|
|
188
198
|
"parallax.distance": "How far the element drifts against the scroll.",
|
|
189
|
-
"parallax-rotate.
|
|
199
|
+
"parallax-rotate.to": "How far the element has turned by the end of the scroll range. The old angle key is an alias.",
|
|
190
200
|
"parallax-rotate.from": "How far turned the element is at the start of the scroll range.",
|
|
191
|
-
"parallax-scale.
|
|
201
|
+
"parallax-scale.to": "How big the element is at the end of the scroll range. The old scale key is an alias.",
|
|
192
202
|
"parallax-scale.from": "How big the element is at the start of the scroll range.",
|
|
193
203
|
"progress-stroke.length": {
|
|
194
204
|
why: "The total length of the line being drawn, so it draws exactly to the end.",
|
|
@@ -302,7 +312,13 @@ var EFFECT_NOTES = {
|
|
|
302
312
|
"cursor-spotlight": [
|
|
303
313
|
"cursor-spotlight lights up the box with a soft glow that follows the pointer. No extra dot is added.",
|
|
304
314
|
"The box itself stays where it is. Only the glow moves, and that is normal.",
|
|
305
|
-
"The glow only shows while the pointer is over the box, or when the box has keyboard focus."
|
|
315
|
+
"The glow only shows while the pointer is over the box, or when the box has keyboard focus.",
|
|
316
|
+
"gradient:flashlight darkens the box and lights a circle round the pointer; it stays dark at rest, and on a touch screen the box stays fully lit."
|
|
317
|
+
],
|
|
318
|
+
"carousel-warp": [
|
|
319
|
+
"Each step jumps like a ship going to hyperspace: star streaks burst out, the old slide flies past and the new one rushes in.",
|
|
320
|
+
"Set --kui-warp-origin on the slideshow to put the burst on your picture; it is the centre by default.",
|
|
321
|
+
"Any slideshow can do this with transition:warp. With reduced motion the jump becomes a short fade."
|
|
306
322
|
],
|
|
307
323
|
carousel: [
|
|
308
324
|
"target: names the slides and the dots together, like target:'.slide, .dot'. Any value with a comma or a space needs quotes.",
|
|
@@ -338,7 +354,7 @@ var INTERACTION_NOTES = {
|
|
|
338
354
|
"cursor-invert.snap": "Follow the pointer or spring to the hovered target centre.",
|
|
339
355
|
"cursor-invert.dot-class": "Extra style classes on this follower, for size, paint or rich content.",
|
|
340
356
|
"pop.press": "Scale while pressed, including during hover; release returns to the hover or focus scale.",
|
|
341
|
-
"cursor-spotlight.gradient": "
|
|
357
|
+
"cursor-spotlight.gradient": "Choose a soft glow, conic sectors set by --kui-spotlight-colors, or a flashlight that lights only the pointer area.",
|
|
342
358
|
"anchored-preview.distance": "How far the preview travels as it pops in.",
|
|
343
359
|
"anchored-preview.gap": "How much space is left between the preview and what it points at.",
|
|
344
360
|
"anchored-preview.scale": "How small the preview starts before it grows to full size.",
|
|
@@ -505,6 +521,10 @@ var KEY_NOTES = {
|
|
|
505
521
|
why: "What starts it: scrolling into view, a hover, a click, or any event name.",
|
|
506
522
|
whenOmitted: "Each effect picks: most start in view, hover and drag ones are ready on load."
|
|
507
523
|
},
|
|
524
|
+
"data-kui.via": {
|
|
525
|
+
why: "Which other elements can send the event that starts the effect.",
|
|
526
|
+
whenOmitted: "The effect listens for events on its own element."
|
|
527
|
+
},
|
|
508
528
|
"data-kui.actions": {
|
|
509
529
|
why: "What to do each time it scrolls in, out, back in and back out.",
|
|
510
530
|
whenOmitted: "It plays on the way in and nothing else."
|
|
@@ -513,6 +533,10 @@ var KEY_NOTES = {
|
|
|
513
533
|
why: "Choose time, view or scroll, optionally followed by an axis and a CSS timeline name inside quotes.",
|
|
514
534
|
whenOmitted: "It plays over time, at its own speed."
|
|
515
535
|
},
|
|
536
|
+
"data-kui.range": {
|
|
537
|
+
why: "Where the effect starts and ends along a scroll or view timeline.",
|
|
538
|
+
whenOmitted: "It uses the full timeline unless timeline sets a range."
|
|
539
|
+
},
|
|
516
540
|
"data-kui.threshold": {
|
|
517
541
|
why: "How much of the element must be in view before it starts.",
|
|
518
542
|
whenOmitted: "It starts as soon as any part of it shows."
|
|
@@ -545,10 +569,22 @@ var KEY_NOTES = {
|
|
|
545
569
|
why: "The name of a page function to call when the effects finish.",
|
|
546
570
|
whenOmitted: "Nothing is called."
|
|
547
571
|
},
|
|
572
|
+
"data-kui.every": {
|
|
573
|
+
why: "How often this element starts, cycles or replays its effects, with a minimum of two seconds.",
|
|
574
|
+
whenOmitted: "The element has no automatic replay timer."
|
|
575
|
+
},
|
|
548
576
|
"data-kui.at": {
|
|
549
577
|
why: "Start this step relative to the one before: with it, after it, or a time off.",
|
|
550
578
|
whenOmitted: "It starts at the same moment as the other steps."
|
|
551
579
|
},
|
|
580
|
+
"data-kui.split": {
|
|
581
|
+
why: "Split text into characters or words, or slice an image into tiles that crop unless you set fit:stretch.",
|
|
582
|
+
whenOmitted: "The step runs without splitting its subject into pieces."
|
|
583
|
+
},
|
|
584
|
+
"data-kui.rows": {
|
|
585
|
+
why: "How many rows of tiles to make when splitting an image.",
|
|
586
|
+
whenOmitted: "Tiles are not generated without a row count."
|
|
587
|
+
},
|
|
552
588
|
"data-kui.above": {
|
|
553
589
|
why: "Only run this step when the screen is at least this wide.",
|
|
554
590
|
whenOmitted: "It runs at every screen width."
|
|
@@ -569,6 +605,10 @@ var KEY_NOTES = {
|
|
|
569
605
|
why: "How many times this step plays, or infinite to keep going.",
|
|
570
606
|
whenOmitted: "It plays once."
|
|
571
607
|
},
|
|
608
|
+
"data-kui.repeat-delay": {
|
|
609
|
+
why: "How long to hold the end of one play before starting the next.",
|
|
610
|
+
whenOmitted: "The next play starts without a wait."
|
|
611
|
+
},
|
|
572
612
|
"data-kui.yoyo": {
|
|
573
613
|
why: "Play every other repeat backwards, so it swings back and forth.",
|
|
574
614
|
whenOmitted: "Every repeat plays forwards."
|
|
@@ -577,6 +617,7 @@ var KEY_NOTES = {
|
|
|
577
617
|
|
|
578
618
|
// src/notes/mechanics.ts
|
|
579
619
|
var MECHANICS_NOTES = {
|
|
620
|
+
"text-path.curve": "The SVG path data that sets the curve for plain text to follow.",
|
|
580
621
|
"text-path.from": "The starting offset of the lettering along its SVG path.",
|
|
581
622
|
"text-path.to": "The ending offset, using the same unit as from.",
|
|
582
623
|
"text-path.duration": "How long timed lettering takes to travel along its path.",
|
|
@@ -683,12 +724,13 @@ var MECHANICS_NOTES = {
|
|
|
683
724
|
why: "The total length of the line, so it draws fully; match it to your shape.",
|
|
684
725
|
whenOmitted: "Assumes 100."
|
|
685
726
|
},
|
|
727
|
+
"shape-fill.outline": "Set to true to keep a still outline behind the animated fill on an SVG path.",
|
|
686
728
|
"path-morph.from": {
|
|
687
729
|
why: "The starting shape, as SVG path data.",
|
|
688
730
|
whenOmitted: "Uses the path's own shape."
|
|
689
731
|
},
|
|
690
732
|
"path-morph.to": {
|
|
691
|
-
why: "
|
|
733
|
+
why: "Use SVG path data or IDs like #rounded, with a pipe-separated list of either form when looping.",
|
|
692
734
|
whenOmitted: "Nothing to morph into: a warning, and the shape never changes.",
|
|
693
735
|
required: true
|
|
694
736
|
},
|
|
@@ -885,6 +927,18 @@ var SCROLL_NAV_FORMS_NOTES = {
|
|
|
885
927
|
why: "Whether the snap items are looked for only inside this element or anywhere on the page.",
|
|
886
928
|
whenOmitted: "Looks only inside this element."
|
|
887
929
|
},
|
|
930
|
+
"scroll-snap.autoplay": {
|
|
931
|
+
why: "How long to wait between items, at least two seconds, with negative times stepping backwards.",
|
|
932
|
+
whenOmitted: "The strip moves only when scrolled."
|
|
933
|
+
},
|
|
934
|
+
"scroll-snap.pause": {
|
|
935
|
+
why: "Which button pauses and resumes autoplay.",
|
|
936
|
+
whenOmitted: "No pause button is connected."
|
|
937
|
+
},
|
|
938
|
+
"scroll-snap.hover": {
|
|
939
|
+
why: "Set to none to keep autoplay moving while the pointer rests on the strip.",
|
|
940
|
+
whenOmitted: "Hovering pauses autoplay."
|
|
941
|
+
},
|
|
888
942
|
"scroll-spy.distance": {
|
|
889
943
|
why: "How much scrolling this section counts as being the current one.",
|
|
890
944
|
whenOmitted: "One screen height. Ignored when sections is set."
|
|
@@ -931,13 +985,17 @@ var SHARED_NOTES = {
|
|
|
931
985
|
};
|
|
932
986
|
|
|
933
987
|
// src/notes/showcase.ts
|
|
988
|
+
var DECK_CONTROLS_NOTE = "Which buttons to add: dots, arrows, both (auto), thumbnails, pause only, or none.";
|
|
934
989
|
var SHOWCASE_NOTES = {
|
|
990
|
+
"spatial-ring.controls": DECK_CONTROLS_NOTE,
|
|
991
|
+
"spatial-ring.copies": "How many sets of the direct images to lay out around a full ring in the screen plane.",
|
|
935
992
|
"spatial-ring.shape": "Places cards on the usual ring, an outward vertical helix or a sphere.",
|
|
936
993
|
"spatial-ring.drag-axis": "Lets a drag also tumble a sphere vertically when set to both.",
|
|
937
994
|
"spatial-ring.rise": "The vertical distance between neighboring cards when shape is helix.",
|
|
938
995
|
"spatial-ring.distance": "How much scrolling moves the deck through one full cycle on a scroll timeline.",
|
|
939
996
|
"spatial-ring.speed": "Publishes signed movement speed in pixels per second when true.",
|
|
940
997
|
"spatial-stack.distance": "How much scrolling moves the deck through one full cycle on a scroll timeline.",
|
|
998
|
+
"spatial-stack.controls": DECK_CONTROLS_NOTE,
|
|
941
999
|
"spatial-stack.speed": "Publishes signed movement speed in pixels per second when true.",
|
|
942
1000
|
"spatial-row.copies": "Adds inert image copies to fill a short row when set to auto.",
|
|
943
1001
|
"spatial-row.release": "Lets a dragged row coast freely instead of snapping when set to free.",
|
|
@@ -949,7 +1007,7 @@ var SHOWCASE_NOTES = {
|
|
|
949
1007
|
"spatial-row.attribute": "Host attribute whose value column moves the line into a bounded column.",
|
|
950
1008
|
"spatial-ring.timer": "Publishes how far the current autoplay wait has elapsed, from zero to one, when true.",
|
|
951
1009
|
"spatial-stack.timer": "Publishes how far the current autoplay wait has elapsed, from zero to one, when true.",
|
|
952
|
-
"slideshow.enter-delay": "Extra wait before a fade arrives; match duration for out-then-in order. Slide
|
|
1010
|
+
"slideshow.enter-delay": "Extra wait before a fade arrives; match duration for out-then-in order. Slide and warp modes do not use it.",
|
|
953
1011
|
"compare.position": "Where the divider starts between two images, as a share of the width.",
|
|
954
1012
|
"compare.positions": {
|
|
955
1013
|
why: "Where each divider starts when comparing three or more images, as one quoted list.",
|
|
@@ -976,6 +1034,8 @@ var SHOWCASE_NOTES = {
|
|
|
976
1034
|
why: "How rounded the corners of the screen inside the device are.",
|
|
977
1035
|
whenOmitted: "The screen follows the outer corners, less the bezel, and is always at least a little rounded."
|
|
978
1036
|
},
|
|
1037
|
+
"youtube.id": { why: "The 11-character YouTube video ID, not the whole link.", required: true },
|
|
1038
|
+
"youtube.title": "The video name read by screen readers on the poster, play button and player.",
|
|
979
1039
|
"hotspots.target": {
|
|
980
1040
|
why: "Which elements are the notes, one marker each.",
|
|
981
1041
|
whenOmitted: "Uses the items of the list directly inside it."
|
|
@@ -1052,7 +1112,7 @@ var SHOWCASE_NOTES = {
|
|
|
1052
1112
|
why: "Whether resting the mouse on the slideshow pauses autoplay. none keeps it moving.",
|
|
1053
1113
|
whenOmitted: "Hovering pauses it. Keyboard focus and the pause button always pause."
|
|
1054
1114
|
},
|
|
1055
|
-
"slideshow.transition": "Whether slides cross-fade or
|
|
1115
|
+
"slideshow.transition": "Whether slides cross-fade, slide sideways, or warp through a burst of star streaks.",
|
|
1056
1116
|
"slideshow.swipe": "Whether a left or right swipe changes the slide.",
|
|
1057
1117
|
"slideshow.mute": {
|
|
1058
1118
|
why: "Your own button, inside the slideshow, that mutes and unmutes the video on the current slide.",
|
|
@@ -1112,8 +1172,12 @@ var SHOWCASE_NOTES = {
|
|
|
1112
1172
|
"spatial-ring.perspective": "How close the camera is; smaller values make the 3D look more dramatic.",
|
|
1113
1173
|
"spatial-ring.facing": "Whether cards turn outward with the ring or always face you so text stays readable.",
|
|
1114
1174
|
"spatial-ring.plane": "Whether the ring turns toward you in depth, or lies flat like a clock face.",
|
|
1175
|
+
"spatial-ring.axis": "Whether the ring turns like a carousel (y), or like a drum with the next card waiting at the top (x).",
|
|
1115
1176
|
"spatial-stack.grab": "Whether people can drag the stack with a finger or mouse.",
|
|
1116
|
-
"spatial-stack.travel":
|
|
1177
|
+
"spatial-stack.travel": {
|
|
1178
|
+
why: "Pointer pixels per card. With leave:swipe, auto uses the magnitude of a pixel leave-x of at least 1px.",
|
|
1179
|
+
whenOmitted: "220 pixels per card, also used if auto cannot resolve."
|
|
1180
|
+
},
|
|
1117
1181
|
"spatial-stack.target": {
|
|
1118
1182
|
why: "Which elements are the cards.",
|
|
1119
1183
|
whenOmitted: "Uses its direct children."
|
|
@@ -1159,6 +1223,7 @@ var SHOWCASE_NOTES = {
|
|
|
1159
1223
|
"spatial-stack.shrink": "How much smaller each card behind gets, per place back.",
|
|
1160
1224
|
"spatial-stack.blur": "How much blurrier each card behind gets, per place back.",
|
|
1161
1225
|
"spatial-stack.fade": "How much fainter each card behind gets, per place back.",
|
|
1226
|
+
"spatial-stack.pile": "Use flat to zero out shift, rise, shrink, blur and fade unless you set them explicitly.",
|
|
1162
1227
|
"spatial-stack.depth": "How many cards show behind the front one; the rest wait hidden.",
|
|
1163
1228
|
"spatial-stack.leave": "Use swipe for a sideways exit that advances one card when dragged either way.",
|
|
1164
1229
|
"spatial-stack.leave-x": "How far the leaving card moves sideways, multiplied by the swipe direction.",
|
|
@@ -1169,6 +1234,7 @@ var SHOWCASE_NOTES = {
|
|
|
1169
1234
|
},
|
|
1170
1235
|
"spatial-stack.rest-rotate": "Alternate resting card angles by stable card index using this angle.",
|
|
1171
1236
|
"step-progress.duration": "Passed to your slide styles; autoplay also waits this long after someone moves it.",
|
|
1237
|
+
"step-progress.controls": DECK_CONTROLS_NOTE,
|
|
1172
1238
|
"step-progress.delay": "Passed to your slide styles to use as a start wait; the library adds no pause itself.",
|
|
1173
1239
|
"step-progress.ease": "Passed to your slide styles to use as their speed curve.",
|
|
1174
1240
|
"step-progress.steps": {
|
|
@@ -1217,6 +1283,7 @@ var SHOWCASE_NOTES = {
|
|
|
1217
1283
|
};
|
|
1218
1284
|
var STACK_ONLY_PARAMS = /* @__PURE__ */ new Set([
|
|
1219
1285
|
"travel",
|
|
1286
|
+
"pile",
|
|
1220
1287
|
"shift",
|
|
1221
1288
|
"rise",
|
|
1222
1289
|
"shrink",
|