motionary 9.7.0 → 9.9.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 +25 -0
- package/bin/usa-codemod-10.mjs +57 -0
- package/dist/chunks/{audio-cgWbDkoY.cjs → audio-BpU-A1m1.cjs} +3 -3
- package/dist/chunks/{audio-cgWbDkoY.cjs.map → audio-BpU-A1m1.cjs.map} +1 -1
- package/dist/chunks/{audio-CynhhWDi.js → audio-C1uFaOKQ.js} +3 -3
- package/dist/chunks/{audio-CynhhWDi.js.map → audio-C1uFaOKQ.js.map} +1 -1
- package/dist/chunks/{base-DoRUZBy-.cjs → base-DBheNxJu.cjs} +2 -2
- package/dist/chunks/base-DBheNxJu.cjs.map +1 -0
- package/dist/chunks/{base-CLuqlLfG.js → base-DWYNLg6P.js} +3 -3
- package/dist/chunks/base-DWYNLg6P.js.map +1 -0
- package/dist/chunks/{builtins-ClXshqj-.cjs → builtins-CKKZNR95.cjs} +3 -3
- package/dist/chunks/{builtins-ClXshqj-.cjs.map → builtins-CKKZNR95.cjs.map} +1 -1
- package/dist/chunks/{builtins-Bs4smevg.js → builtins-DoCY96r9.js} +3 -3
- package/dist/chunks/{builtins-Bs4smevg.js.map → builtins-DoCY96r9.js.map} +1 -1
- package/dist/chunks/{core-C3Taz-ew.js → core-BhuojMcL.js} +2 -2
- package/dist/chunks/{core-C3Taz-ew.js.map → core-BhuojMcL.js.map} +1 -1
- package/dist/chunks/{core-O4grKHSa.cjs → core-D74Fz-dL.cjs} +2 -2
- package/dist/chunks/{core-O4grKHSa.cjs.map → core-D74Fz-dL.cjs.map} +1 -1
- package/dist/chunks/{core-CiN5sqxB.js → core-DoR4w-E4.js} +2 -2
- package/dist/chunks/{core-CiN5sqxB.js.map → core-DoR4w-E4.js.map} +1 -1
- package/dist/chunks/{core-CwO835Wm.cjs → core-MQlXZKUG.cjs} +2 -2
- package/dist/chunks/{core-CwO835Wm.cjs.map → core-MQlXZKUG.cjs.map} +1 -1
- package/dist/chunks/{fx-C-XjLOTc.cjs → fx-B_pbhpDp.cjs} +2 -2
- package/dist/chunks/{fx-C-XjLOTc.cjs.map → fx-B_pbhpDp.cjs.map} +1 -1
- package/dist/chunks/{fx-CQv3IxMf.js → fx-XBDr7-dH.js} +2 -2
- package/dist/chunks/{fx-CQv3IxMf.js.map → fx-XBDr7-dH.js.map} +1 -1
- package/dist/chunks/{gpu-CB8frFOD.js → gpu-DvLHwLxy.js} +2 -2
- package/dist/chunks/{gpu-CB8frFOD.js.map → gpu-DvLHwLxy.js.map} +1 -1
- package/dist/chunks/{gpu-CcdA2D2i.cjs → gpu-cUixt7kT.cjs} +2 -2
- package/dist/chunks/{gpu-CcdA2D2i.cjs.map → gpu-cUixt7kT.cjs.map} +1 -1
- package/dist/chunks/{manifest-PJ0h8RS_.js → manifest-BDpbuI-9.js} +2 -2
- package/dist/chunks/{manifest-PJ0h8RS_.js.map → manifest-BDpbuI-9.js.map} +1 -1
- package/dist/chunks/{manifest-B08-vo9G.cjs → manifest-PaF9B8Vt.cjs} +2 -2
- package/dist/chunks/{manifest-B08-vo9G.cjs.map → manifest-PaF9B8Vt.cjs.map} +1 -1
- package/dist/chunks/{player-C2n17sdH.cjs → player-C4y4jXSv.cjs} +4 -4
- package/dist/chunks/{player-C2n17sdH.cjs.map → player-C4y4jXSv.cjs.map} +1 -1
- package/dist/chunks/{player-YzQGkKaW.js → player-CYGvna09.js} +4 -4
- package/dist/chunks/{player-YzQGkKaW.js.map → player-CYGvna09.js.map} +1 -1
- package/dist/chunks/{registry-CnO7ZVPK.js → registry-BRM2BRRY.js} +2 -2
- package/dist/chunks/{registry-CnO7ZVPK.js.map → registry-BRM2BRRY.js.map} +1 -1
- package/dist/chunks/{registry-BVklOepd.cjs → registry-xQZnSqqV.cjs} +2 -2
- package/dist/chunks/{registry-BVklOepd.cjs.map → registry-xQZnSqqV.cjs.map} +1 -1
- package/dist/chunks/{spring-uQMVJTj9.cjs → spring-BlTQD2AV.cjs} +2 -2
- package/dist/chunks/{spring-uQMVJTj9.cjs.map → spring-BlTQD2AV.cjs.map} +1 -1
- package/dist/chunks/{spring-BFKNHmfl.js → spring-CAlkc1co.js} +2 -2
- package/dist/chunks/{spring-BFKNHmfl.js.map → spring-CAlkc1co.js.map} +1 -1
- package/dist/chunks/{variants-B-zKORvt.js → variants-BBfyVPYm.js} +2 -2
- package/dist/chunks/{variants-B-zKORvt.js.map → variants-BBfyVPYm.js.map} +1 -1
- package/dist/chunks/{variants-DagykrKH.cjs → variants-CrDDJoYK.cjs} +2 -2
- package/dist/chunks/{variants-DagykrKH.cjs.map → variants-CrDDJoYK.cjs.map} +1 -1
- package/dist/components/a11y.cjs +1 -1
- package/dist/components/a11y.js +2 -2
- package/dist/components/angular.cjs +8 -8
- package/dist/components/angular.js +8 -8
- package/dist/components/background.cjs +2 -2
- package/dist/components/background.js +2 -2
- package/dist/components/bridge.cjs +1 -1
- package/dist/components/bridge.js +1 -1
- package/dist/components/cards.cjs +2 -2
- package/dist/components/cards.js +2 -2
- package/dist/components/click.cjs +3 -3
- package/dist/components/click.js +3 -3
- package/dist/components/depth.cjs +3 -3
- package/dist/components/depth.js +3 -3
- package/dist/components/design.cjs +3 -3
- package/dist/components/design.js +3 -3
- package/dist/components/dsl.cjs +2 -2
- package/dist/components/dsl.js +2 -2
- package/dist/components/effects.cjs +7 -7
- package/dist/components/effects.js +9 -9
- package/dist/components/engine.cjs +1 -1
- package/dist/components/engine.js +2 -2
- package/dist/components/feedback.cjs +1 -1
- package/dist/components/feedback.js +1 -1
- package/dist/components/fx-3d.cjs +2 -2
- package/dist/components/fx-3d.js +2 -2
- package/dist/components/fx-ai.cjs +2 -2
- package/dist/components/fx-ai.js +2 -2
- package/dist/components/fx-chart.cjs +2 -2
- package/dist/components/fx-chart.js +2 -2
- package/dist/components/fx-cinema.cjs +2 -2
- package/dist/components/fx-cinema.js +2 -2
- package/dist/components/fx-cyber.cjs +2 -2
- package/dist/components/fx-cyber.js +2 -2
- package/dist/components/fx-festival.cjs +2 -2
- package/dist/components/fx-festival.js +2 -2
- package/dist/components/fx-focus.cjs +2 -2
- package/dist/components/fx-focus.js +2 -2
- package/dist/components/fx-form.cjs +2 -2
- package/dist/components/fx-form.js +2 -2
- package/dist/components/fx-game.cjs +2 -2
- package/dist/components/fx-game.js +2 -2
- package/dist/components/fx-genart.cjs +2 -2
- package/dist/components/fx-genart.js +2 -2
- package/dist/components/fx-geo.cjs +2 -2
- package/dist/components/fx-geo.js +2 -2
- package/dist/components/fx-gesture.cjs +2 -2
- package/dist/components/fx-gesture.js +2 -2
- package/dist/components/fx-gpu.cjs +3 -3
- package/dist/components/fx-gpu.js +3 -3
- package/dist/components/fx-light.cjs +2 -2
- package/dist/components/fx-light.js +2 -2
- package/dist/components/fx-lottie.cjs +2 -2
- package/dist/components/fx-lottie.js +2 -2
- package/dist/components/fx-morph.cjs +2 -2
- package/dist/components/fx-morph.js +2 -2
- package/dist/components/fx-music.cjs +3 -3
- package/dist/components/fx-music.js +3 -3
- package/dist/components/fx-organic.cjs +2 -2
- package/dist/components/fx-organic.js +2 -2
- package/dist/components/fx-paper.cjs +2 -2
- package/dist/components/fx-paper.js +2 -2
- package/dist/components/fx-perf.cjs +2 -2
- package/dist/components/fx-perf.js +2 -2
- package/dist/components/fx-physics.cjs +2 -2
- package/dist/components/fx-physics.js +2 -2
- package/dist/components/fx-retro.cjs +2 -2
- package/dist/components/fx-retro.js +2 -2
- package/dist/components/fx-safe.cjs +2 -2
- package/dist/components/fx-safe.js +2 -2
- package/dist/components/fx-shop.cjs +2 -2
- package/dist/components/fx-shop.js +2 -2
- package/dist/components/fx-social.cjs +2 -2
- package/dist/components/fx-social.js +2 -2
- package/dist/components/fx-spatial.cjs +2 -2
- package/dist/components/fx-spatial.js +2 -2
- package/dist/components/fx-surface.cjs +2 -2
- package/dist/components/fx-surface.js +2 -2
- package/dist/components/fx-text.cjs +2 -2
- package/dist/components/fx-text.js +2 -2
- package/dist/components/fx-transitions.cjs +3 -3
- package/dist/components/fx-transitions.js +3 -3
- package/dist/components/fx-video.cjs +2 -2
- package/dist/components/fx-video.js +2 -2
- package/dist/components/fx-weather.cjs +2 -2
- package/dist/components/fx-weather.js +2 -2
- package/dist/components/fx.cjs +5 -5
- package/dist/components/fx.js +6 -6
- package/dist/components/fx2.cjs +44 -7
- package/dist/components/fx2.cjs.map +1 -1
- package/dist/components/fx2.d.cts +20 -3
- package/dist/components/fx2.d.ts +20 -3
- package/dist/components/fx2.js +42 -9
- package/dist/components/fx2.js.map +1 -1
- package/dist/components/gesture.cjs +3 -3
- package/dist/components/gesture.js +4 -4
- package/dist/components/interaction.cjs +1 -1
- package/dist/components/interaction.js +1 -1
- package/dist/components/layout.cjs +1 -1
- package/dist/components/layout.js +1 -1
- package/dist/components/lite.cjs +1 -1
- package/dist/components/lite.cjs.map +1 -1
- package/dist/components/lite.js +1 -1
- package/dist/components/lite.js.map +1 -1
- package/dist/components/marketplace.cjs +3 -3
- package/dist/components/marketplace.js +4 -4
- package/dist/components/native.cjs +148 -0
- package/dist/components/native.cjs.map +1 -0
- package/dist/components/native.d.cts +94 -0
- package/dist/components/native.d.ts +94 -0
- package/dist/components/native.js +142 -0
- package/dist/components/native.js.map +1 -0
- package/dist/components/packs.cjs +1 -1
- package/dist/components/packs.js +1 -1
- package/dist/components/page.cjs +2 -2
- package/dist/components/page.js +3 -3
- package/dist/components/perf.cjs +1 -1
- package/dist/components/perf.js +2 -2
- package/dist/components/physics.cjs +2 -2
- package/dist/components/physics.js +3 -3
- package/dist/components/reveal.cjs +1 -1
- package/dist/components/reveal.js +1 -1
- package/dist/components/solid.cjs +8 -8
- package/dist/components/solid.js +8 -8
- package/dist/components/svelte.cjs +8 -8
- package/dist/components/svelte.js +8 -8
- package/dist/components/svg.cjs +1 -1
- package/dist/components/svg.js +1 -1
- package/dist/components/text.cjs +2 -2
- package/dist/components/text.js +2 -2
- package/dist/components/timeline.cjs +2 -2
- package/dist/components/timeline.js +3 -3
- package/dist/components/transitions.cjs +1 -1
- package/dist/components/transitions.js +1 -1
- package/dist/components/ui.cjs +3 -3
- package/dist/components/ui.js +4 -4
- package/dist/components/vue.cjs +8 -8
- package/dist/components/vue.js +8 -8
- package/dist/components/webgl.cjs +1 -1
- package/dist/components/webgl.js +1 -1
- package/dist/components/widgets.cjs +270 -199
- package/dist/components/widgets.cjs.map +1 -1
- package/dist/components/widgets.d.cts +17 -2
- package/dist/components/widgets.d.ts +17 -2
- package/dist/components/widgets.js +270 -200
- package/dist/components/widgets.js.map +1 -1
- package/dist/components.cjs +8 -8
- package/dist/components.js +10 -10
- package/dist/components.umd.js +1 -1
- package/dist/components.umd.js.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.js +2 -2
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/widgets.umd.js +1 -1
- package/dist/widgets.umd.js.map +1 -1
- package/docs/ROADMAP.md +2 -2
- package/docs/components.md +24 -0
- package/docs/deprecations.md +4 -0
- package/docs/upgrading-10.md +21 -0
- package/package.json +23 -2
- package/dist/chunks/base-CLuqlLfG.js.map +0 -1
- package/dist/chunks/base-DoRUZBy-.cjs.map +0 -1
package/dist/components/cards.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u as defineElement, r as raf, l as caf, D as EASE_OUT, k as clamp } from '../chunks/base-
|
|
2
|
-
import { d as springEasing, c as createSpring } from '../chunks/spring-
|
|
1
|
+
import { u as defineElement, r as raf, l as caf, D as EASE_OUT, k as clamp } from '../chunks/base-DWYNLg6P.js';
|
|
2
|
+
import { d as springEasing, c as createSpring } from '../chunks/spring-CAlkc1co.js';
|
|
3
3
|
|
|
4
4
|
var css$3 = "usa-card{--usa-card-radius:18px;--usa-card-bg:var(--usa-surface,#1b1e27);--usa-card-glow:var(--usa-accent,#7c5cff);--usa-card-x:50%;--usa-card-y:50%;--usa-card-nx:0;--usa-card-ny:0;position:relative;display:block;border-radius:var(--usa-card-radius);isolation:isolate;-webkit-tap-highlight-color:transparent}usa-card:focus-visible{outline:2px solid var(--usa-card-glow);outline-offset:3px}usa-card[effect~=\"lift\"]{transition:transform 0.45s cubic-bezier(0.34,1.56,0.64,1),box-shadow 0.45s ease}usa-card[effect~=\"lift\"][data-hover],usa-card[effect~=\"lift\"]:focus-visible{transform:translateY(-6px) perspective(900px) rotateX(calc(var(--usa-card-ny) * -4deg)) rotateY(calc(var(--usa-card-nx) * 4deg));box-shadow:0 22px 44px -18px rgb(0 0 0 / 0.55)}usa-card[effect~=\"glass\"]{background:color-mix(in srgb,var(--usa-card-bg) 45%,transparent);border:1px solid rgb(255 255 255 / 0.16);-webkit-backdrop-filter:blur(18px) saturate(1.5);backdrop-filter:blur(18px) saturate(1.5)}usa-card[effect~=\"spotlight\"]::before,usa-card[effect~=\"border-glow\"]::after{content:\"\";position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;transition:opacity 0.3s ease}usa-card[effect~=\"spotlight\"]::before{z-index:-1;background:radial-gradient(260px circle at var(--usa-card-x) var(--usa-card-y),color-mix(in srgb,var(--usa-card-glow) 28%,transparent),transparent 70%)}usa-card[effect~=\"border-glow\"]::after{padding:1.5px;background:radial-gradient(180px circle at var(--usa-card-x) var(--usa-card-y),var(--usa-card-glow),transparent 70%);-webkit-mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0)}usa-card[data-hover]::before,usa-card[data-hover]::after{opacity:1}@property --usa-card-angle{syntax:\"<angle>\";inherits:false;initial-value:0deg}usa-card[effect~=\"conic-border\"]{border:2px solid transparent;background:linear-gradient(var(--usa-card-bg),var(--usa-card-bg)) padding-box,conic-gradient(from var(--usa-card-angle),var(--usa-card-glow),#22d3ee,#f472b6,var(--usa-card-glow)) border-box;animation:usa-card-spin 4s linear infinite}@keyframes usa-card-spin{to{--usa-card-angle:360deg}}usa-card .usa-card-sheen{position:absolute;inset:0;border-radius:inherit;overflow:hidden;pointer-events:none}usa-card .usa-card-sheen::before{content:\"\";position:absolute;top:0;bottom:0;width:45%;left:-60%;transform:skewX(-20deg);background:linear-gradient(90deg,transparent,rgb(255 255 255 / 0.35),transparent)}usa-card[effect~=\"sheen\"]:hover .usa-card-sheen::before,usa-card[effect~=\"sheen\"]:focus-visible .usa-card-sheen::before{left:130%;transition:left 0.8s cubic-bezier(0.22,1,0.36,1)}usa-card .usa-card-holo{position:absolute;inset:0;border-radius:inherit;pointer-events:none;mix-blend-mode:color-dodge;opacity:0.35;background:linear-gradient(115deg,transparent 20%,#ff7ad9 35%,#7af0ff 45%,#ffe27a 55%,transparent 70%) calc(var(--usa-card-x) * 1.4 - 20%) calc(var(--usa-card-y) * 1.4 - 20%) / 220% 220%;transition:opacity 0.3s ease}usa-card[data-hover] .usa-card-holo{opacity:0.7}usa-card[effect~=\"parallax-layers\"] [data-depth]{transition:transform 0.25s ease-out;will-change:transform}usa-card[effect~=\"flip\"]{perspective:1000px;display:grid}usa-card[effect~=\"flip\"]>[data-front],usa-card[effect~=\"flip\"]>[data-back]{grid-area:1 / 1;backface-visibility:hidden;-webkit-backface-visibility:hidden;border-radius:inherit;transition:transform 0.7s cubic-bezier(0.34,1.3,0.64,1),opacity 0.3s ease}usa-card[effect~=\"flip\"]>[data-back]{transform:rotateY(180deg)}usa-card[effect~=\"flip\"][axis=\"x\"]>[data-back]{transform:rotateX(180deg)}usa-card[effect~=\"flip\"][flipped]>[data-front],usa-card[effect~=\"flip\"]:not([trigger=\"click\"]):hover>[data-front]{transform:rotateY(-180deg)}usa-card[effect~=\"flip\"][flipped]>[data-back],usa-card[effect~=\"flip\"]:not([trigger=\"click\"]):hover>[data-back]{transform:rotateY(0deg)}usa-card[effect~=\"flip\"][axis=\"x\"][flipped]>[data-front],usa-card[effect~=\"flip\"][axis=\"x\"]:not([trigger=\"click\"]):hover>[data-front]{transform:rotateX(180deg)}usa-card[effect~=\"flip\"][axis=\"x\"][flipped]>[data-back],usa-card[effect~=\"flip\"][axis=\"x\"]:not([trigger=\"click\"]):hover>[data-back]{transform:rotateX(0deg)}usa-card[effect~=\"flip\"][trigger=\"click\"]{cursor:pointer}usa-card[effect~=\"expand\"]{cursor:zoom-in}usa-card[effect~=\"expand\"]:not([expanded]) [data-detail]{display:none}usa-card[expanded]{position:fixed;inset:6vh max(4vw,calc(50vw - 420px));z-index:1000;overflow:auto;cursor:default;background:var(--usa-card-bg);box-shadow:0 30px 80px -20px rgb(0 0 0 / 0.6)}.usa-card-backdrop{position:fixed;inset:0;z-index:999;background:rgb(0 0 0 / 0.45)}@media (prefers-reduced-motion:reduce){usa-card,usa-card *,usa-card .usa-card-sheen::before{transition-duration:0.01ms !important;animation:none !important}usa-card[effect~=\"lift\"][data-hover]{transform:none}usa-card[effect~=\"flip\"]>[data-front],usa-card[effect~=\"flip\"]>[data-back]{transform:none !important}usa-card[effect~=\"flip\"][flipped]>[data-front],usa-card[effect~=\"flip\"]:not([flipped])>[data-back]{opacity:0;visibility:hidden}usa-card[effect~=\"flip\"]:not([trigger=\"click\"]):hover>[data-front]{opacity:0;visibility:hidden}usa-card[effect~=\"flip\"]:not([trigger=\"click\"]):hover>[data-back]{opacity:1;visibility:visible}}@media (prefers-reduced-transparency:reduce),(forced-colors:active){usa-card[effect~=\"glass\"]{background:var(--usa-card-bg);-webkit-backdrop-filter:none;backdrop-filter:none}}";
|
|
5
5
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var base = require('../chunks/base-
|
|
4
|
-
var spring = require('../chunks/spring-
|
|
5
|
-
var fx = require('../chunks/fx-
|
|
3
|
+
var base = require('../chunks/base-DBheNxJu.cjs');
|
|
4
|
+
var spring = require('../chunks/spring-BlTQD2AV.cjs');
|
|
5
|
+
var fx = require('../chunks/fx-B_pbhpDp.cjs');
|
|
6
6
|
|
|
7
7
|
var css$6 = "usa-click{position:relative;display:inline-block;overflow:hidden;isolation:isolate;border-radius:inherit;-webkit-tap-highlight-color:transparent;touch-action:manipulation}usa-click[block]{display:block}usa-click .usa-click-wave{position:absolute;border-radius:50%;pointer-events:none;z-index:-1;transform:scale(0);background:radial-gradient(circle,var(--usa-wave) 0 55%,color-mix(in srgb,var(--usa-wave) 40%,transparent) 70%,transparent 72%)}";
|
|
8
8
|
|
package/dist/components/click.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as defineElement, D as EASE_OUT, k as clamp, l as caf, q as now, r as raf } from '../chunks/base-
|
|
2
|
-
import { d as springEasing, c as createSpring } from '../chunks/spring-
|
|
3
|
-
import { b as burst, c as confetti, h as haptic, s as shake } from '../chunks/fx-
|
|
1
|
+
import { u as defineElement, D as EASE_OUT, k as clamp, l as caf, q as now, r as raf } from '../chunks/base-DWYNLg6P.js';
|
|
2
|
+
import { d as springEasing, c as createSpring } from '../chunks/spring-CAlkc1co.js';
|
|
3
|
+
import { b as burst, c as confetti, h as haptic, s as shake } from '../chunks/fx-XBDr7-dH.js';
|
|
4
4
|
|
|
5
5
|
var css$6 = "usa-click{position:relative;display:inline-block;overflow:hidden;isolation:isolate;border-radius:inherit;-webkit-tap-highlight-color:transparent;touch-action:manipulation}usa-click[block]{display:block}usa-click .usa-click-wave{position:absolute;border-radius:50%;pointer-events:none;z-index:-1;transform:scale(0);background:radial-gradient(circle,var(--usa-wave) 0 55%,color-mix(in srgb,var(--usa-wave) 40%,transparent) 70%,transparent 72%)}";
|
|
6
6
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var base = require('../chunks/base-
|
|
4
|
-
var spring = require('../chunks/spring-
|
|
5
|
-
var core = require('../chunks/core-
|
|
3
|
+
var base = require('../chunks/base-DBheNxJu.cjs');
|
|
4
|
+
var spring = require('../chunks/spring-BlTQD2AV.cjs');
|
|
5
|
+
var core = require('../chunks/core-D74Fz-dL.cjs');
|
|
6
6
|
|
|
7
7
|
var css = "usa-cube{--usa-cube-size:200px;display:block;width:var(--usa-cube-size);height:var(--usa-cube-size);perspective:var(--usa-cube-perspective,900px);touch-action:pan-y;user-select:none;-webkit-user-select:none;position:relative}usa-cube>[data-face]{position:absolute;inset:0;backface-visibility:hidden;transform:translateZ(calc(var(--usa-cube-size) / -2)) rotateX(var(--usa-cube-rx,0deg)) rotateY(var(--usa-cube-ry,0deg)) var(--usa-face) translateZ(calc(var(--usa-cube-size) / 2));transform-origin:50% 50%}usa-cube>[data-face=\"front\"]{--usa-face:rotateY(0deg)}usa-cube>[data-face=\"right\"]{--usa-face:rotateY(90deg)}usa-cube>[data-face=\"back\"]{--usa-face:rotateY(180deg)}usa-cube>[data-face=\"left\"]{--usa-face:rotateY(-90deg)}usa-cube>[data-face=\"top\"]{--usa-face:rotateX(90deg)}usa-cube>[data-face=\"bottom\"]{--usa-face:rotateX(-90deg)}usa-cube:focus-visible{outline:2px solid currentColor;outline-offset:6px}usa-depth{display:block;position:relative;perspective:1000px}usa-depth>*{transform:var(--usa-depth-rot,none);transform-style:preserve-3d}usa-depth [data-depth]{will-change:transform;transition:transform 0.12s linear}@media (prefers-reduced-motion:reduce){usa-depth [data-depth]{transform:none !important}}";
|
|
8
8
|
|
package/dist/components/depth.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as defineElement, k as clamp, r as raf, l as caf } from '../chunks/base-
|
|
2
|
-
import { c as createSpring } from '../chunks/spring-
|
|
3
|
-
import { g as gesture } from '../chunks/core-
|
|
1
|
+
import { u as defineElement, k as clamp, r as raf, l as caf } from '../chunks/base-DWYNLg6P.js';
|
|
2
|
+
import { c as createSpring } from '../chunks/spring-CAlkc1co.js';
|
|
3
|
+
import { g as gesture } from '../chunks/core-BhuojMcL.js';
|
|
4
4
|
|
|
5
5
|
var css = "usa-cube{--usa-cube-size:200px;display:block;width:var(--usa-cube-size);height:var(--usa-cube-size);perspective:var(--usa-cube-perspective,900px);touch-action:pan-y;user-select:none;-webkit-user-select:none;position:relative}usa-cube>[data-face]{position:absolute;inset:0;backface-visibility:hidden;transform:translateZ(calc(var(--usa-cube-size) / -2)) rotateX(var(--usa-cube-rx,0deg)) rotateY(var(--usa-cube-ry,0deg)) var(--usa-face) translateZ(calc(var(--usa-cube-size) / 2));transform-origin:50% 50%}usa-cube>[data-face=\"front\"]{--usa-face:rotateY(0deg)}usa-cube>[data-face=\"right\"]{--usa-face:rotateY(90deg)}usa-cube>[data-face=\"back\"]{--usa-face:rotateY(180deg)}usa-cube>[data-face=\"left\"]{--usa-face:rotateY(-90deg)}usa-cube>[data-face=\"top\"]{--usa-face:rotateX(90deg)}usa-cube>[data-face=\"bottom\"]{--usa-face:rotateX(-90deg)}usa-cube:focus-visible{outline:2px solid currentColor;outline-offset:6px}usa-depth{display:block;position:relative;perspective:1000px}usa-depth>*{transform:var(--usa-depth-rot,none);transform-style:preserve-3d}usa-depth [data-depth]{will-change:transform;transition:transform 0.12s linear}@media (prefers-reduced-motion:reduce){usa-depth [data-depth]{transform:none !important}}";
|
|
6
6
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var components_dsl = require('./dsl.cjs');
|
|
4
|
-
var core = require('../chunks/core-
|
|
5
|
-
require('../chunks/registry-
|
|
6
|
-
require('../chunks/base-
|
|
4
|
+
var core = require('../chunks/core-MQlXZKUG.cjs');
|
|
5
|
+
require('../chunks/registry-xQZnSqqV.cjs');
|
|
6
|
+
require('../chunks/base-DBheNxJu.cjs');
|
|
7
7
|
require('./tokens.cjs');
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { serializeMotion, parseMotion } from './dsl.js';
|
|
2
|
-
import { T as TIMELINE_PRESETS } from '../chunks/core-
|
|
3
|
-
import '../chunks/registry-
|
|
4
|
-
import '../chunks/base-
|
|
2
|
+
import { T as TIMELINE_PRESETS } from '../chunks/core-DoR4w-E4.js';
|
|
3
|
+
import '../chunks/registry-BRM2BRRY.js';
|
|
4
|
+
import '../chunks/base-DWYNLg6P.js';
|
|
5
5
|
import './tokens.js';
|
|
6
6
|
|
|
7
7
|
/**
|
package/dist/components/dsl.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var registry = require('../chunks/registry-
|
|
4
|
-
require('../chunks/base-
|
|
3
|
+
var registry = require('../chunks/registry-xQZnSqqV.cjs');
|
|
4
|
+
require('../chunks/base-DBheNxJu.cjs');
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* `motionary/dsl` (= `motionary/components/dsl`, 9.0) — the declarative
|
package/dist/components/dsl.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { hasEffect, bindEffect, EFFECT_TRIGGERS } from '../chunks/registry-
|
|
2
|
-
import '../chunks/base-
|
|
1
|
+
import { hasEffect, bindEffect, EFFECT_TRIGGERS } from '../chunks/registry-BRM2BRRY.js';
|
|
2
|
+
import '../chunks/base-DWYNLg6P.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* `motionary/dsl` (= `motionary/components/dsl`, 9.0) — the declarative
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
var components_fx = require('./fx.cjs');
|
|
4
4
|
var shared = require('../chunks/shared-jkgRH-Hx.cjs');
|
|
5
|
-
var player = require('../chunks/player-
|
|
5
|
+
var player = require('../chunks/player-C4y4jXSv.cjs');
|
|
6
6
|
var generative = require('../chunks/generative-BHIj-NU0.cjs');
|
|
7
|
-
var audio = require('../chunks/audio-
|
|
8
|
-
var registry = require('../chunks/registry-
|
|
9
|
-
var base = require('../chunks/base-
|
|
7
|
+
var audio = require('../chunks/audio-BpU-A1m1.cjs');
|
|
8
|
+
var registry = require('../chunks/registry-xQZnSqqV.cjs');
|
|
9
|
+
var base = require('../chunks/base-DBheNxJu.cjs');
|
|
10
10
|
var components_tokens = require('./tokens.cjs');
|
|
11
|
-
require('../chunks/builtins-
|
|
12
|
-
require('../chunks/core-
|
|
13
|
-
require('../chunks/fx-
|
|
11
|
+
require('../chunks/builtins-CKKZNR95.cjs');
|
|
12
|
+
require('../chunks/core-MQlXZKUG.cjs');
|
|
13
|
+
require('../chunks/fx-B_pbhpDp.cjs');
|
|
14
14
|
|
|
15
15
|
const CARD_FX = [
|
|
16
16
|
{
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { registerBuiltinEffects } from './fx.js';
|
|
2
2
|
import { P as PALETTE, o as overlay, a as all, b as origin, s as spawn, r as rand, f as fxLayer } from '../chunks/shared-CkKHWrtJ.js';
|
|
3
|
-
import { d as defineStory, a as definePlayer } from '../chunks/player-
|
|
4
|
-
export { A as ANIMATION_FORMAT, S as STORY_TEMPLATES, c as createPlayer, f as formatCount, n as normalizeAnimation, s as storyProgress } from '../chunks/player-
|
|
3
|
+
import { d as defineStory, a as definePlayer } from '../chunks/player-CYGvna09.js';
|
|
4
|
+
export { A as ANIMATION_FORMAT, S as STORY_TEMPLATES, c as createPlayer, f as formatCount, n as normalizeAnimation, s as storyProgress } from '../chunks/player-CYGvna09.js';
|
|
5
5
|
import { c as canvasBackground, h as hexRgb, G as GENERATIVE_FX } from '../chunks/generative-2LhxG5BJ.js';
|
|
6
6
|
export { n as noise2 } from '../chunks/generative-2LhxG5BJ.js';
|
|
7
|
-
import { A as AUDIO_FX, d as defineAudio } from '../chunks/audio-
|
|
8
|
-
export { b as bindBeat, c as createBeatDetector, a as disableAudio, e as enableAudio, g as getAudio, o as onBeat } from '../chunks/audio-
|
|
9
|
-
import { playEffect, bindEffect, registerEffects } from '../chunks/registry-
|
|
10
|
-
import { u as defineElement,
|
|
7
|
+
import { A as AUDIO_FX, d as defineAudio } from '../chunks/audio-C1uFaOKQ.js';
|
|
8
|
+
export { b as bindBeat, c as createBeatDetector, a as disableAudio, e as enableAudio, g as getAudio, o as onBeat } from '../chunks/audio-C1uFaOKQ.js';
|
|
9
|
+
import { playEffect, bindEffect, registerEffects } from '../chunks/registry-BRM2BRRY.js';
|
|
10
|
+
import { u as defineElement, C as adoptStyles } from '../chunks/base-DWYNLg6P.js';
|
|
11
11
|
import { applyMotionTokens, motionTokensToVars, mergeMotionTokens } from './tokens.js';
|
|
12
|
-
import '../chunks/builtins-
|
|
13
|
-
import '../chunks/core-
|
|
14
|
-
import '../chunks/fx-
|
|
12
|
+
import '../chunks/builtins-DoCY96r9.js';
|
|
13
|
+
import '../chunks/core-DoR4w-E4.js';
|
|
14
|
+
import '../chunks/fx-XBDr7-dH.js';
|
|
15
15
|
|
|
16
16
|
const CARD_FX = [
|
|
17
17
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { v as onClockChange, x as setClock, y as getClock, p as prefersReducedMotion, e as animateWithMotion } from '../chunks/base-
|
|
2
|
-
export { z as trackAnimation } from '../chunks/base-
|
|
1
|
+
import { v as onClockChange, x as setClock, y as getClock, p as prefersReducedMotion, e as animateWithMotion } from '../chunks/base-DWYNLg6P.js';
|
|
2
|
+
export { z as trackAnimation } from '../chunks/base-DWYNLg6P.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* `motionary/engine` (= `motionary/components/engine`, 8.0) — the unified
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var base = require('../chunks/base-
|
|
3
|
+
var base = require('../chunks/base-DBheNxJu.cjs');
|
|
4
4
|
|
|
5
5
|
var css$4 = "usa-spinner{--usa-spinner-size:32px;--usa-spinner-color:currentColor;position:relative;display:inline-block;vertical-align:middle;flex:none;width:var(--usa-spinner-size);height:var(--usa-spinner-size);color:var(--usa-spinner-color)}usa-spinner i{position:absolute;display:block}usa-spinner[paused] *,usa-spinner[paused] *::after{animation-play-state:paused !important}usa-spinner svg{width:100%;height:100%;animation:usa-spin 2s linear infinite;overflow:visible}usa-spinner svg circle{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-dasharray:0.5 100;stroke-dashoffset:0;animation:usa-ring-arc 1.6s ease-in-out infinite}@keyframes usa-spin{to{transform:rotate(360deg)}}@keyframes usa-ring-arc{0%{stroke-dasharray:0.5 100;stroke-dashoffset:0}50%{stroke-dasharray:62 100;stroke-dashoffset:-20}100%{stroke-dasharray:0.5 100;stroke-dashoffset:-99}}usa-spinner[data-kind=\"windows\"] i{inset:0;opacity:0;animation:usa-orbit 5.5s infinite}usa-spinner[data-kind=\"windows\"] i::after{content:\"\";position:absolute;left:50%;top:0;width:12%;height:12%;margin-left:-6%;border-radius:50%;background:currentColor}usa-spinner[data-kind=\"windows\"] i:nth-child(2){animation-delay:240ms;--n:1}usa-spinner[data-kind=\"windows\"] i:nth-child(3){animation-delay:480ms;--n:2}usa-spinner[data-kind=\"windows\"] i:nth-child(4){animation-delay:720ms;--n:3}usa-spinner[data-kind=\"windows\"] i:nth-child(5){animation-delay:960ms;--n:4}@keyframes usa-orbit{0%{transform:rotate(225deg);opacity:1;animation-timing-function:ease-out}7%{transform:rotate(345deg);animation-timing-function:linear}30%{transform:rotate(455deg);animation-timing-function:ease-in-out}39%{transform:rotate(690deg);animation-timing-function:linear}70%{transform:rotate(815deg);opacity:1;animation-timing-function:ease-out}75%{transform:rotate(945deg);animation-timing-function:ease-out}76%,100%{transform:rotate(945deg);opacity:0}}usa-spinner[data-kind=\"ring\"] i{inset:0;border-radius:50%;border:calc(var(--usa-spinner-size) / 9) solid color-mix(in srgb,currentColor 20%,transparent);border-top-color:currentColor;animation:usa-spin 0.8s linear infinite}usa-spinner[data-kind=\"dots\"]{display:inline-flex;align-items:center;justify-content:space-between;height:calc(var(--usa-spinner-size) / 2.5)}usa-spinner[data-kind=\"dots\"] i{position:static;width:22%;aspect-ratio:1;border-radius:50%;background:currentColor;animation:usa-dot 1.2s ease-in-out infinite}usa-spinner[data-kind=\"dots\"] i:nth-child(2){animation-delay:0.15s}usa-spinner[data-kind=\"dots\"] i:nth-child(3){animation-delay:0.3s}@keyframes usa-dot{0%,60%,100%{transform:translateY(0);opacity:0.35}30%{transform:translateY(-70%);opacity:1}}usa-spinner[data-kind=\"pulse\"] i{inset:0;border-radius:50%;background:currentColor;opacity:0;animation:usa-pulse 1.6s cubic-bezier(0.22,1,0.36,1) infinite}usa-spinner[data-kind=\"pulse\"] i:nth-child(2){animation-delay:0.8s}@keyframes usa-pulse{from{transform:scale(0.1);opacity:0.8}to{transform:scale(1);opacity:0}}usa-spinner[data-kind=\"bars\"]{display:inline-flex;align-items:center;justify-content:space-between}usa-spinner[data-kind=\"bars\"] i{position:static;width:16%;height:100%;border-radius:2px;background:currentColor;transform:scaleY(0.35);animation:usa-bar 1s ease-in-out infinite}usa-spinner[data-kind=\"bars\"] i:nth-child(2){animation-delay:0.12s}usa-spinner[data-kind=\"bars\"] i:nth-child(3){animation-delay:0.24s}usa-spinner[data-kind=\"bars\"] i:nth-child(4){animation-delay:0.36s}@keyframes usa-bar{0%,100%{transform:scaleY(0.35)}40%{transform:scaleY(1)}}@media (prefers-reduced-motion:reduce){usa-spinner svg,usa-spinner i,usa-spinner i::after{animation:usa-calm 2.4s ease-in-out infinite !important}usa-spinner[data-kind=\"windows\"] i{transform:rotate(calc(var(--n,0) * 72deg))}usa-spinner svg circle{animation:none;stroke-dasharray:30 100}}@keyframes usa-calm{0%,100%{opacity:1}50%{opacity:0.4}}";
|
|
6
6
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as defineElement, F as kindOf, D as EASE_OUT, k as clamp, H as FLUENT_DECELERATE, E as EASE_SPRING } from '../chunks/base-
|
|
1
|
+
import { u as defineElement, F as kindOf, D as EASE_OUT, k as clamp, H as FLUENT_DECELERATE, E as EASE_SPRING } from '../chunks/base-DWYNLg6P.js';
|
|
2
2
|
|
|
3
3
|
var css$4 = "usa-spinner{--usa-spinner-size:32px;--usa-spinner-color:currentColor;position:relative;display:inline-block;vertical-align:middle;flex:none;width:var(--usa-spinner-size);height:var(--usa-spinner-size);color:var(--usa-spinner-color)}usa-spinner i{position:absolute;display:block}usa-spinner[paused] *,usa-spinner[paused] *::after{animation-play-state:paused !important}usa-spinner svg{width:100%;height:100%;animation:usa-spin 2s linear infinite;overflow:visible}usa-spinner svg circle{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-dasharray:0.5 100;stroke-dashoffset:0;animation:usa-ring-arc 1.6s ease-in-out infinite}@keyframes usa-spin{to{transform:rotate(360deg)}}@keyframes usa-ring-arc{0%{stroke-dasharray:0.5 100;stroke-dashoffset:0}50%{stroke-dasharray:62 100;stroke-dashoffset:-20}100%{stroke-dasharray:0.5 100;stroke-dashoffset:-99}}usa-spinner[data-kind=\"windows\"] i{inset:0;opacity:0;animation:usa-orbit 5.5s infinite}usa-spinner[data-kind=\"windows\"] i::after{content:\"\";position:absolute;left:50%;top:0;width:12%;height:12%;margin-left:-6%;border-radius:50%;background:currentColor}usa-spinner[data-kind=\"windows\"] i:nth-child(2){animation-delay:240ms;--n:1}usa-spinner[data-kind=\"windows\"] i:nth-child(3){animation-delay:480ms;--n:2}usa-spinner[data-kind=\"windows\"] i:nth-child(4){animation-delay:720ms;--n:3}usa-spinner[data-kind=\"windows\"] i:nth-child(5){animation-delay:960ms;--n:4}@keyframes usa-orbit{0%{transform:rotate(225deg);opacity:1;animation-timing-function:ease-out}7%{transform:rotate(345deg);animation-timing-function:linear}30%{transform:rotate(455deg);animation-timing-function:ease-in-out}39%{transform:rotate(690deg);animation-timing-function:linear}70%{transform:rotate(815deg);opacity:1;animation-timing-function:ease-out}75%{transform:rotate(945deg);animation-timing-function:ease-out}76%,100%{transform:rotate(945deg);opacity:0}}usa-spinner[data-kind=\"ring\"] i{inset:0;border-radius:50%;border:calc(var(--usa-spinner-size) / 9) solid color-mix(in srgb,currentColor 20%,transparent);border-top-color:currentColor;animation:usa-spin 0.8s linear infinite}usa-spinner[data-kind=\"dots\"]{display:inline-flex;align-items:center;justify-content:space-between;height:calc(var(--usa-spinner-size) / 2.5)}usa-spinner[data-kind=\"dots\"] i{position:static;width:22%;aspect-ratio:1;border-radius:50%;background:currentColor;animation:usa-dot 1.2s ease-in-out infinite}usa-spinner[data-kind=\"dots\"] i:nth-child(2){animation-delay:0.15s}usa-spinner[data-kind=\"dots\"] i:nth-child(3){animation-delay:0.3s}@keyframes usa-dot{0%,60%,100%{transform:translateY(0);opacity:0.35}30%{transform:translateY(-70%);opacity:1}}usa-spinner[data-kind=\"pulse\"] i{inset:0;border-radius:50%;background:currentColor;opacity:0;animation:usa-pulse 1.6s cubic-bezier(0.22,1,0.36,1) infinite}usa-spinner[data-kind=\"pulse\"] i:nth-child(2){animation-delay:0.8s}@keyframes usa-pulse{from{transform:scale(0.1);opacity:0.8}to{transform:scale(1);opacity:0}}usa-spinner[data-kind=\"bars\"]{display:inline-flex;align-items:center;justify-content:space-between}usa-spinner[data-kind=\"bars\"] i{position:static;width:16%;height:100%;border-radius:2px;background:currentColor;transform:scaleY(0.35);animation:usa-bar 1s ease-in-out infinite}usa-spinner[data-kind=\"bars\"] i:nth-child(2){animation-delay:0.12s}usa-spinner[data-kind=\"bars\"] i:nth-child(3){animation-delay:0.24s}usa-spinner[data-kind=\"bars\"] i:nth-child(4){animation-delay:0.36s}@keyframes usa-bar{0%,100%{transform:scaleY(0.35)}40%{transform:scaleY(1)}}@media (prefers-reduced-motion:reduce){usa-spinner svg,usa-spinner i,usa-spinner i::after{animation:usa-calm 2.4s ease-in-out infinite !important}usa-spinner[data-kind=\"windows\"] i{transform:rotate(calc(var(--n,0) * 72deg))}usa-spinner svg circle{animation:none;stroke-dasharray:30 100}}@keyframes usa-calm{0%,100%{opacity:1}50%{opacity:0.4}}";
|
|
4
4
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var registry = require('../chunks/registry-
|
|
3
|
+
var registry = require('../chunks/registry-xQZnSqqV.cjs');
|
|
4
4
|
var shared = require('../chunks/shared-jkgRH-Hx.cjs');
|
|
5
5
|
var components_fxLight = require('./fx-light.cjs');
|
|
6
|
-
require('../chunks/base-
|
|
6
|
+
require('../chunks/base-DBheNxJu.cjs');
|
|
7
7
|
require('../chunks/generative-BHIj-NU0.cjs');
|
|
8
8
|
|
|
9
9
|
const layers = (el) => {
|
package/dist/components/fx-3d.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { registerEffects } from '../chunks/registry-
|
|
1
|
+
import { registerEffects } from '../chunks/registry-BRM2BRRY.js';
|
|
2
2
|
import { a as all } from '../chunks/shared-CkKHWrtJ.js';
|
|
3
3
|
import { trackPointer } from './fx-light.js';
|
|
4
|
-
import '../chunks/base-
|
|
4
|
+
import '../chunks/base-DWYNLg6P.js';
|
|
5
5
|
import '../chunks/generative-2LhxG5BJ.js';
|
|
6
6
|
|
|
7
7
|
const layers = (el) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var registry = require('../chunks/registry-
|
|
4
|
-
require('../chunks/base-
|
|
3
|
+
var registry = require('../chunks/registry-xQZnSqqV.cjs');
|
|
4
|
+
require('../chunks/base-DBheNxJu.cjs');
|
|
5
5
|
|
|
6
6
|
/** Split text into words, keeping the whitespace after each (7.8). */
|
|
7
7
|
function splitWords(text) {
|
package/dist/components/fx-ai.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { registerEffects } from '../chunks/registry-
|
|
2
|
-
import '../chunks/base-
|
|
1
|
+
import { registerEffects } from '../chunks/registry-BRM2BRRY.js';
|
|
2
|
+
import '../chunks/base-DWYNLg6P.js';
|
|
3
3
|
|
|
4
4
|
/** Split text into words, keeping the whitespace after each (7.8). */
|
|
5
5
|
function splitWords(text) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var registry = require('../chunks/registry-
|
|
3
|
+
var registry = require('../chunks/registry-xQZnSqqV.cjs');
|
|
4
4
|
var shared = require('../chunks/shared-jkgRH-Hx.cjs');
|
|
5
|
-
require('../chunks/base-
|
|
5
|
+
require('../chunks/base-DBheNxJu.cjs');
|
|
6
6
|
|
|
7
7
|
const fade = (el, ctx) => ctx.animate(el, [{ opacity: 0 }, { opacity: 1 }], { duration: 250 });
|
|
8
8
|
const pick = (el, sel) => Array.from(el.querySelectorAll(sel));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { registerEffects } from '../chunks/registry-
|
|
1
|
+
import { registerEffects } from '../chunks/registry-BRM2BRRY.js';
|
|
2
2
|
import { a as all } from '../chunks/shared-CkKHWrtJ.js';
|
|
3
|
-
import '../chunks/base-
|
|
3
|
+
import '../chunks/base-DWYNLg6P.js';
|
|
4
4
|
|
|
5
5
|
const fade = (el, ctx) => ctx.animate(el, [{ opacity: 0 }, { opacity: 1 }], { duration: 250 });
|
|
6
6
|
const pick = (el, sel) => Array.from(el.querySelectorAll(sel));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var registry = require('../chunks/registry-
|
|
4
|
-
require('../chunks/base-
|
|
3
|
+
var registry = require('../chunks/registry-xQZnSqqV.cjs');
|
|
4
|
+
require('../chunks/base-DBheNxJu.cjs');
|
|
5
5
|
|
|
6
6
|
const CAMERA_MOVES = ['dolly-in', 'dolly-out', 'pan-left', 'pan-right', 'tilt-up', 'tilt-down', 'zoom-in', 'zoom-out', 'orbit'];
|
|
7
7
|
/** Transform of camera `move` at progress `p` (0–1, clamped), `strength` 0–2 (9.1). */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { registerEffects } from '../chunks/registry-
|
|
2
|
-
import '../chunks/base-
|
|
1
|
+
import { registerEffects } from '../chunks/registry-BRM2BRRY.js';
|
|
2
|
+
import '../chunks/base-DWYNLg6P.js';
|
|
3
3
|
|
|
4
4
|
const CAMERA_MOVES = ['dolly-in', 'dolly-out', 'pan-left', 'pan-right', 'tilt-up', 'tilt-down', 'zoom-in', 'zoom-out', 'orbit'];
|
|
5
5
|
/** Transform of camera `move` at progress `p` (0–1, clamped), `strength` 0–2 (9.1). */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var registry = require('../chunks/registry-
|
|
4
|
-
require('../chunks/base-
|
|
3
|
+
var registry = require('../chunks/registry-xQZnSqqV.cjs');
|
|
4
|
+
require('../chunks/base-DBheNxJu.cjs');
|
|
5
5
|
|
|
6
6
|
const GLYPHS = '01<>/\\[]{}#$%&*+=ABCDEFXYZ';
|
|
7
7
|
/** The `k`-th frame of decoding `text` over `n` frames: resolved prefix + random glyphs (8.4). */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { registerEffects } from '../chunks/registry-
|
|
2
|
-
import '../chunks/base-
|
|
1
|
+
import { registerEffects } from '../chunks/registry-BRM2BRRY.js';
|
|
2
|
+
import '../chunks/base-DWYNLg6P.js';
|
|
3
3
|
|
|
4
4
|
const GLYPHS = '01<>/\\[]{}#$%&*+=ABCDEFXYZ';
|
|
5
5
|
/** The `k`-th frame of decoding `text` over `n` frames: resolved prefix + random glyphs (8.4). */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var registry = require('../chunks/registry-
|
|
4
|
-
require('../chunks/base-
|
|
3
|
+
var registry = require('../chunks/registry-xQZnSqqV.cjs');
|
|
4
|
+
require('../chunks/base-DBheNxJu.cjs');
|
|
5
5
|
|
|
6
6
|
/** Evenly spread spark directions with a little jitter (8.1). */
|
|
7
7
|
function sparkVectors(n, radius, seed = 1) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { registerEffects } from '../chunks/registry-
|
|
2
|
-
import '../chunks/base-
|
|
1
|
+
import { registerEffects } from '../chunks/registry-BRM2BRRY.js';
|
|
2
|
+
import '../chunks/base-DWYNLg6P.js';
|
|
3
3
|
|
|
4
4
|
/** Evenly spread spark directions with a little jitter (8.1). */
|
|
5
5
|
function sparkVectors(n, radius, seed = 1) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var registry = require('../chunks/registry-
|
|
4
|
-
require('../chunks/base-
|
|
3
|
+
var registry = require('../chunks/registry-xQZnSqqV.cjs');
|
|
4
|
+
require('../chunks/base-DBheNxJu.cjs');
|
|
5
5
|
|
|
6
6
|
const NS = 'http://www.w3.org/2000/svg';
|
|
7
7
|
function overlay(el, z = 1) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { registerEffects } from '../chunks/registry-
|
|
2
|
-
import '../chunks/base-
|
|
1
|
+
import { registerEffects } from '../chunks/registry-BRM2BRRY.js';
|
|
2
|
+
import '../chunks/base-DWYNLg6P.js';
|
|
3
3
|
|
|
4
4
|
const NS = 'http://www.w3.org/2000/svg';
|
|
5
5
|
function overlay(el, z = 1) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var registry = require('../chunks/registry-
|
|
4
|
-
require('../chunks/base-
|
|
3
|
+
var registry = require('../chunks/registry-xQZnSqqV.cjs');
|
|
4
|
+
require('../chunks/base-DBheNxJu.cjs');
|
|
5
5
|
|
|
6
6
|
/** Decaying sideways shake keyframes (7.7). */
|
|
7
7
|
function shakeFrames(distance = 8, steps = 5) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { registerEffects } from '../chunks/registry-
|
|
2
|
-
import '../chunks/base-
|
|
1
|
+
import { registerEffects } from '../chunks/registry-BRM2BRRY.js';
|
|
2
|
+
import '../chunks/base-DWYNLg6P.js';
|
|
3
3
|
|
|
4
4
|
/** Decaying sideways shake keyframes (7.7). */
|
|
5
5
|
function shakeFrames(distance = 8, steps = 5) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var registry = require('../chunks/registry-
|
|
4
|
-
require('../chunks/base-
|
|
3
|
+
var registry = require('../chunks/registry-xQZnSqqV.cjs');
|
|
4
|
+
require('../chunks/base-DBheNxJu.cjs');
|
|
5
5
|
|
|
6
6
|
/** Ballistic keyframe points for a coin thrown at `deg` with `power` (7.5). */
|
|
7
7
|
function throwPath(deg, power = 120, steps = 6, g = 2.2) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { registerEffects } from '../chunks/registry-
|
|
2
|
-
import '../chunks/base-
|
|
1
|
+
import { registerEffects } from '../chunks/registry-BRM2BRRY.js';
|
|
2
|
+
import '../chunks/base-DWYNLg6P.js';
|
|
3
3
|
|
|
4
4
|
/** Ballistic keyframe points for a coin thrown at `deg` with `power` (7.5). */
|
|
5
5
|
function throwPath(deg, power = 120, steps = 6, g = 2.2) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var registry = require('../chunks/registry-
|
|
4
|
-
require('../chunks/base-
|
|
3
|
+
var registry = require('../chunks/registry-xQZnSqqV.cjs');
|
|
4
|
+
require('../chunks/base-DBheNxJu.cjs');
|
|
5
5
|
|
|
6
6
|
const PALETTES = {
|
|
7
7
|
sunset: ['#ff6b6b', '#feca57', '#ff9ff3', '#5f27cd', '#1dd1a1'],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { registerEffects } from '../chunks/registry-
|
|
2
|
-
import '../chunks/base-
|
|
1
|
+
import { registerEffects } from '../chunks/registry-BRM2BRRY.js';
|
|
2
|
+
import '../chunks/base-DWYNLg6P.js';
|
|
3
3
|
|
|
4
4
|
const PALETTES = {
|
|
5
5
|
sunset: ['#ff6b6b', '#feca57', '#ff9ff3', '#5f27cd', '#1dd1a1'],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var registry = require('../chunks/registry-
|
|
4
|
-
require('../chunks/base-
|
|
3
|
+
var registry = require('../chunks/registry-xQZnSqqV.cjs');
|
|
4
|
+
require('../chunks/base-DBheNxJu.cjs');
|
|
5
5
|
|
|
6
6
|
/** Length of a polyline through `points` (7.6). */
|
|
7
7
|
function routeLength(points) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { registerEffects } from '../chunks/registry-
|
|
2
|
-
import '../chunks/base-
|
|
1
|
+
import { registerEffects } from '../chunks/registry-BRM2BRRY.js';
|
|
2
|
+
import '../chunks/base-DWYNLg6P.js';
|
|
3
3
|
|
|
4
4
|
/** Length of a polyline through `points` (7.6). */
|
|
5
5
|
function routeLength(points) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var registry = require('../chunks/registry-
|
|
4
|
-
require('../chunks/base-
|
|
3
|
+
var registry = require('../chunks/registry-xQZnSqqV.cjs');
|
|
4
|
+
require('../chunks/base-DBheNxJu.cjs');
|
|
5
5
|
|
|
6
6
|
/** Scale factor of a two-finger pinch from start points (a1, a2) to current points (b1, b2) (8.7). */
|
|
7
7
|
function pinchScale(a1, a2, b1, b2) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { registerEffects } from '../chunks/registry-
|
|
2
|
-
import '../chunks/base-
|
|
1
|
+
import { registerEffects } from '../chunks/registry-BRM2BRRY.js';
|
|
2
|
+
import '../chunks/base-DWYNLg6P.js';
|
|
3
3
|
|
|
4
4
|
/** Scale factor of a two-finger pinch from start points (a1, a2) to current points (b1, b2) (8.7). */
|
|
5
5
|
function pinchScale(a1, a2, b1, b2) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('../chunks/registry-
|
|
3
|
+
require('../chunks/registry-xQZnSqqV.cjs');
|
|
4
4
|
require('../chunks/generative-BHIj-NU0.cjs');
|
|
5
5
|
require('../chunks/shared-jkgRH-Hx.cjs');
|
|
6
|
-
var components_fxGpu = require('../chunks/gpu-
|
|
7
|
-
require('../chunks/base-
|
|
6
|
+
var components_fxGpu = require('../chunks/gpu-cUixt7kT.cjs');
|
|
7
|
+
require('../chunks/base-DBheNxJu.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import '../chunks/registry-
|
|
1
|
+
import '../chunks/registry-BRM2BRRY.js';
|
|
2
2
|
import '../chunks/generative-2LhxG5BJ.js';
|
|
3
3
|
import '../chunks/shared-CkKHWrtJ.js';
|
|
4
|
-
export { G as GPU_FX, r as registerGpuPack } from '../chunks/gpu-
|
|
5
|
-
import '../chunks/base-
|
|
4
|
+
export { G as GPU_FX, r as registerGpuPack } from '../chunks/gpu-DvLHwLxy.js';
|
|
5
|
+
import '../chunks/base-DWYNLg6P.js';
|
|
6
6
|
//# sourceMappingURL=fx-gpu.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var registry = require('../chunks/registry-
|
|
3
|
+
var registry = require('../chunks/registry-xQZnSqqV.cjs');
|
|
4
4
|
var generative = require('../chunks/generative-BHIj-NU0.cjs');
|
|
5
5
|
var shared = require('../chunks/shared-jkgRH-Hx.cjs');
|
|
6
|
-
require('../chunks/base-
|
|
6
|
+
require('../chunks/base-DBheNxJu.cjs');
|
|
7
7
|
|
|
8
8
|
/** Track the pointer over `el` as 0–1 coordinates (`fn(x, y, inside)`); starts at (`x0`, `y0`). Returns a remover. */
|
|
9
9
|
function trackPointer(el, ctx, fn, x0 = 0.3, y0 = 0.25) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { registerEffects } from '../chunks/registry-
|
|
1
|
+
import { registerEffects } from '../chunks/registry-BRM2BRRY.js';
|
|
2
2
|
import { c as canvasBackground, h as hexRgb } from '../chunks/generative-2LhxG5BJ.js';
|
|
3
3
|
import { o as overlay } from '../chunks/shared-CkKHWrtJ.js';
|
|
4
|
-
import '../chunks/base-
|
|
4
|
+
import '../chunks/base-DWYNLg6P.js';
|
|
5
5
|
|
|
6
6
|
/** Track the pointer over `el` as 0–1 coordinates (`fn(x, y, inside)`); starts at (`x0`, `y0`). Returns a remover. */
|
|
7
7
|
function trackPointer(el, ctx, fn, x0 = 0.3, y0 = 0.25) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var registry = require('../chunks/registry-
|
|
4
|
-
require('../chunks/base-
|
|
3
|
+
var registry = require('../chunks/registry-xQZnSqqV.cjs');
|
|
4
|
+
require('../chunks/base-DBheNxJu.cjs');
|
|
5
5
|
|
|
6
6
|
const arr = (v) => (Array.isArray(v) ? v.map(Number) : [Number(v)]);
|
|
7
7
|
/** Frames (t) → values for one transform property (static props give one key at t = ip) (9.2). */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { registerEffects } from '../chunks/registry-
|
|
2
|
-
import '../chunks/base-
|
|
1
|
+
import { registerEffects } from '../chunks/registry-BRM2BRRY.js';
|
|
2
|
+
import '../chunks/base-DWYNLg6P.js';
|
|
3
3
|
|
|
4
4
|
const arr = (v) => (Array.isArray(v) ? v.map(Number) : [Number(v)]);
|
|
5
5
|
/** Frames (t) → values for one transform property (static props give one key at t = ip) (9.2). */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var registry = require('../chunks/registry-
|
|
3
|
+
var registry = require('../chunks/registry-xQZnSqqV.cjs');
|
|
4
4
|
var shared = require('../chunks/shared-jkgRH-Hx.cjs');
|
|
5
|
-
require('../chunks/base-
|
|
5
|
+
require('../chunks/base-DBheNxJu.cjs');
|
|
6
6
|
|
|
7
7
|
const NS = 'http://www.w3.org/2000/svg';
|
|
8
8
|
const raf = (f) => (typeof requestAnimationFrame === 'function' ? requestAnimationFrame(f) : 0);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { registerEffects } from '../chunks/registry-
|
|
1
|
+
import { registerEffects } from '../chunks/registry-BRM2BRRY.js';
|
|
2
2
|
import { a as all } from '../chunks/shared-CkKHWrtJ.js';
|
|
3
|
-
import '../chunks/base-
|
|
3
|
+
import '../chunks/base-DWYNLg6P.js';
|
|
4
4
|
|
|
5
5
|
const NS = 'http://www.w3.org/2000/svg';
|
|
6
6
|
const raf = (f) => (typeof requestAnimationFrame === 'function' ? requestAnimationFrame(f) : 0);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var registry = require('../chunks/registry-
|
|
3
|
+
var registry = require('../chunks/registry-xQZnSqqV.cjs');
|
|
4
4
|
var generative = require('../chunks/generative-BHIj-NU0.cjs');
|
|
5
|
-
var audio = require('../chunks/audio-
|
|
6
|
-
require('../chunks/base-
|
|
5
|
+
var audio = require('../chunks/audio-BpU-A1m1.cjs');
|
|
6
|
+
require('../chunks/base-DBheNxJu.cjs');
|
|
7
7
|
require('../chunks/shared-jkgRH-Hx.cjs');
|
|
8
8
|
|
|
9
9
|
/** A smooth, deterministic fake analyser frame at time `t` (s). */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { registerEffects } from '../chunks/registry-
|
|
1
|
+
import { registerEffects } from '../chunks/registry-BRM2BRRY.js';
|
|
2
2
|
import { c as canvasBackground } from '../chunks/generative-2LhxG5BJ.js';
|
|
3
|
-
import { g as getAudio } from '../chunks/audio-
|
|
4
|
-
import '../chunks/base-
|
|
3
|
+
import { g as getAudio } from '../chunks/audio-C1uFaOKQ.js';
|
|
4
|
+
import '../chunks/base-DWYNLg6P.js';
|
|
5
5
|
import '../chunks/shared-CkKHWrtJ.js';
|
|
6
6
|
|
|
7
7
|
/** A smooth, deterministic fake analyser frame at time `t` (s). */
|