motionary 13.2.0 → 13.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/CHANGELOG.md +82 -0
- package/README.md +1 -1
- package/dist/chunks/{anim-image-CkPZi9xy.js → anim-image-Czp1v-zv.js} +2 -2
- package/dist/chunks/{anim-image-DYAMy6Ro.cjs → anim-image-DnpOI25h.cjs} +2 -2
- package/dist/chunks/{audio-DhgfWYZ_.cjs → audio-D7Dk2gUF.cjs} +27 -6
- package/dist/chunks/{audio-5FOqrAxu.js → audio-DJkvNk0A.js} +27 -6
- package/dist/chunks/{badge-wall-Q7x5HSe_.cjs → badge-wall-BkqFzeUf.cjs} +2 -2
- package/dist/chunks/{badge-wall-Bd2dP3J7.js → badge-wall-C6St1WyC.js} +2 -2
- package/dist/chunks/{base-nzeN_ux7.js → base-Be98yNyq.js} +131 -99
- package/dist/chunks/{base-vu_KhBiv.cjs → base-Do-R_9gU.cjs} +132 -98
- package/dist/chunks/{bg-generator-Dncd000D.cjs → bg-generator-C9ee__nJ.cjs} +2 -2
- package/dist/chunks/{bg-generator-Dxx3s2zQ.js → bg-generator-YTB0quZa.js} +2 -2
- package/dist/chunks/bind-B_CTL6Qn.js +1 -1
- package/dist/chunks/bind-Ui43-n2d.cjs +1 -1
- package/dist/chunks/{builtins-hBOeCPXL.js → builtins-BQZ7idez.js} +3 -3
- package/dist/chunks/{builtins-A9ihuDwy.cjs → builtins-DGP3jBW1.cjs} +3 -3
- package/dist/chunks/{carousel-Blko8aKV.cjs → carousel-9IQYg8lJ.cjs} +2 -2
- package/dist/chunks/{carousel-DkQKWBK3.js → carousel-BQb8S9_i.js} +2 -2
- package/dist/chunks/{cart-drawer-kyj9TlQC.cjs → cart-drawer-DSRylorb.cjs} +4 -4
- package/dist/chunks/{cart-drawer-CtX6EQRa.js → cart-drawer-DsCXMYO2.js} +4 -4
- package/dist/chunks/{code-export-B6b27ZiI.js → code-export-BAM59KC-.js} +2 -2
- package/dist/chunks/{code-export-DOioRmM9.cjs → code-export-CTdTKJWS.cjs} +2 -2
- package/dist/chunks/{color-picker-B6YXJdur.cjs → color-picker-Cgj4F5G-.cjs} +2 -2
- package/dist/chunks/{color-picker-DNTzNylo.js → color-picker-zYIs1UU8.js} +2 -2
- package/dist/chunks/{command-palette-DAQQ_bkg.cjs → command-palette-Oiq7KY7o.cjs} +2 -2
- package/dist/chunks/{command-palette-C6XV1glX.js → command-palette-WCKbmW2N.js} +2 -2
- package/dist/chunks/{core-E18xla6s.cjs → core-6FhnH_Kv.cjs} +2 -2
- package/dist/chunks/{core-DfkeC4s-.cjs → core-B2156q7g.cjs} +2 -2
- package/dist/chunks/core-BjcOCpJt.cjs +1 -1
- package/dist/chunks/core-Dj6iomdc.js +1 -1
- package/dist/chunks/{core-DVGtPabi.js → core-FB2gL64M.js} +2 -2
- package/dist/chunks/{core-Bar7NFx7.js → core-RZkPEx8i.js} +2 -2
- package/dist/chunks/{countdown-Dhp9G96N.js → countdown-BKcrUeQ5.js} +2 -2
- package/dist/chunks/{countdown-Cvef0Kb1.cjs → countdown-oB1KGHQe.cjs} +2 -2
- package/dist/chunks/{date-picker-C9iVZUP3.cjs → date-picker-Bcez28ox.cjs} +2 -2
- package/dist/chunks/{date-picker-M7n1jZw9.js → date-picker-Dx4vGYze.js} +2 -2
- package/dist/chunks/ease-HwYZnZat.cjs +1 -1
- package/dist/chunks/ease-XN8_0sXu.js +1 -1
- package/dist/chunks/{equalizer-CN6AkBtT.js → equalizer-D8SG0IDP.js} +2 -2
- package/dist/chunks/{equalizer-6uhO-yfZ.cjs → equalizer-XIVScpXr.cjs} +2 -2
- package/dist/chunks/{festival-banner-Dsu53in5.js → festival-banner-C6y_nEAX.js} +2 -2
- package/dist/chunks/{festival-banner-ByYX1Oy6.cjs → festival-banner-TmiGZdmC.cjs} +2 -2
- package/dist/chunks/{field-DcC_zJBH.cjs → field-Bg6pHLD3.cjs} +2 -2
- package/dist/chunks/{field-DeTgNf7K.js → field-Do9yU2oB.js} +2 -2
- package/dist/chunks/{fx-lszndeFU.cjs → fx-O90ZgYwV.cjs} +2 -2
- package/dist/chunks/{fx-qAVpKs8e.js → fx-Wd1GKAzZ.js} +2 -2
- package/dist/chunks/{generative-BHIj-NU0.cjs → generative-BTya0iHP.cjs} +16 -4
- package/dist/chunks/{generative-2LhxG5BJ.js → generative-DkX6SvrL.js} +20 -8
- package/dist/chunks/{gl-scene-D3RfVD2b.js → gl-scene-CZEQJPar.js} +10 -10
- package/dist/chunks/{gl-scene-DOjhIgPM.cjs → gl-scene-SRaGcmCA.cjs} +7 -7
- package/dist/chunks/{globe-Dms25CB5.cjs → globe-BOS1Kb8J.cjs} +10 -9
- package/dist/chunks/{globe-CzQ6nQ-o.js → globe-D_S-FB8k.js} +10 -9
- package/dist/chunks/{gpu-BREsvJpT.cjs → gpu--UifKXUA.cjs} +30 -9
- package/dist/chunks/{gpu-DdiOOXTP.js → gpu-B8vgh4lW.js} +37 -16
- package/dist/chunks/{gpu-particles-DrjYuSVR.cjs → gpu-particles-DICAeqwO.cjs} +6 -6
- package/dist/chunks/{gpu-particles-CbBJ_tIZ.js → gpu-particles-DaRztimn.js} +6 -6
- package/dist/chunks/index-tags-B-JBecYg.js +1 -1
- package/dist/chunks/index-tags-hLIF2Clq.cjs +1 -1
- package/dist/chunks/key-click-BLm3BI8_.js +1 -1
- package/dist/chunks/key-click-v7I4K5Sr.cjs +1 -1
- package/dist/chunks/{keyframes-d3LAxJoj.js → keyframes-DE4F_oWc.js} +2 -2
- package/dist/chunks/{keyframes-ziUR42cM.cjs → keyframes-DWmt9GdV.cjs} +2 -2
- package/dist/chunks/{leaderboard-wF-UnLbY.cjs → leaderboard-BKmKMStS.cjs} +4 -4
- package/dist/chunks/{leaderboard-D2Xb0lqP.js → leaderboard-CdMYDeaT.js} +4 -4
- package/dist/chunks/{location-card-BJsN6s34.cjs → location-card-Bxemk6MJ.cjs} +2 -2
- package/dist/chunks/{location-card-GrQnXfwp.js → location-card-C_3CQ3u-.js} +2 -2
- package/dist/chunks/{lottie-icon-DMkTeHCL.cjs → lottie-icon-Dyz8XJm5.cjs} +2 -2
- package/dist/chunks/{lottie-icon-D3fdgfNU.js → lottie-icon-oGP5LQ4G.js} +2 -2
- package/dist/chunks/{lottie-player-6OJJcioR.js → lottie-player-Dr6ZGZZ9.js} +3 -3
- package/dist/chunks/{lottie-player-ByAeF8wJ.cjs → lottie-player-m8yiMFGM.cjs} +3 -3
- package/dist/chunks/{lyrics-CBRdLBDw.cjs → lyrics-BuVT1PyD.cjs} +6 -5
- package/dist/chunks/{lyrics-jTQwzX9m.js → lyrics-DlNbqyV3.js} +6 -5
- package/dist/chunks/{manifest-pVzW6oyg.js → manifest-C6nei25r.js} +2 -2
- package/dist/chunks/{manifest-Rxf1Mumb.cjs → manifest-DcyvsF07.cjs} +2 -2
- package/dist/chunks/{menu-Bc2M8HMJ.cjs → menu-CZj0BChd.cjs} +2 -2
- package/dist/chunks/{menu-Ydg47TQx.js → menu-hmi07frR.js} +2 -2
- package/dist/chunks/{menu-toggle-C-_dv_TN.js → menu-toggle--mqC1pWc.js} +2 -2
- package/dist/chunks/{menu-toggle-B1YBlbdJ.cjs → menu-toggle-Bef1YqbK.cjs} +2 -2
- package/dist/chunks/{nav-morph-kKmG_ocG.cjs → nav-morph-C7nb0-oA.cjs} +2 -2
- package/dist/chunks/{nav-morph-DA-Q4xec.js → nav-morph-k7sIJdS3.js} +2 -2
- package/dist/chunks/{otp-CVUw78Mr.js → otp-B9ctuDQG.js} +2 -2
- package/dist/chunks/{otp-Cxz5uFb_.cjs → otp-VBvUiZhb.cjs} +2 -2
- package/dist/chunks/{pagination-CFAzm6M7.js → pagination-BiVi2UVo.js} +5 -2
- package/dist/chunks/{pagination-6RdXWwsW.cjs → pagination-DLTCrJwy.cjs} +5 -2
- package/dist/chunks/{physics-playground-CYNyKgTK.cjs → physics-playground-CJMHlyVL.cjs} +5 -5
- package/dist/chunks/{physics-playground-d4CtxSoi.js → physics-playground-DwL_sPea.js} +5 -5
- package/dist/chunks/{player-DqUZJ0d_.js → player-BdKLax0N.js} +14 -13
- package/dist/chunks/{player-DIwSjUFR.cjs → player-CbCdaCgu.cjs} +14 -13
- package/dist/chunks/{presence-CRfWmNWz.cjs → presence-5lrgeDaX.cjs} +2 -2
- package/dist/chunks/{presence-DfTxVIEf.js → presence-DnBQPaaY.js} +2 -2
- package/dist/chunks/presets-BYBVJVeP.js +1 -1
- package/dist/chunks/presets-CUHys3sK.cjs +1 -1
- package/dist/chunks/{prize-wheel-MOZOrI-p.cjs → prize-wheel-BA1q90gH.cjs} +2 -2
- package/dist/chunks/{prize-wheel-tgpOsdDA.js → prize-wheel-CYH2ZPIu.js} +2 -2
- package/dist/chunks/{product-gallery-BcGA35Ie.js → product-gallery-7iuP6mwb.js} +2 -2
- package/dist/chunks/{product-gallery-Bi6I6x1o.cjs → product-gallery-Dc7JVl8a.cjs} +2 -2
- package/dist/chunks/{progress-ring-6kTzB49S.js → progress-ring-Ba9YULbX.js} +7 -6
- package/dist/chunks/{progress-ring-BO9a3Q24.cjs → progress-ring-DDqq7gdF.cjs} +7 -6
- package/dist/chunks/{prop-panel-DGm8VM4Z.js → prop-panel-CS-i1ddG.js} +2 -2
- package/dist/chunks/{prop-panel-_kA6mvB9.cjs → prop-panel-Dzx20-yH.cjs} +2 -2
- package/dist/chunks/{radar-DT93Se3Y.cjs → radar-BQo33pqi.cjs} +2 -2
- package/dist/chunks/{radar-sKiciNsS.js → radar-DJ-g9iCt.js} +2 -2
- package/dist/chunks/{reactions-BASnlqck.cjs → reactions-B64fCmEB.cjs} +2 -2
- package/dist/chunks/{reactions-B4xogsDd.js → reactions-CLwwZmwU.js} +2 -2
- package/dist/chunks/{registry-PxXkPc1Q.js → registry-BEIhIRTY.js} +2 -2
- package/dist/chunks/{registry-B8v7uubl.js → registry-BUmmzmpq.js} +2 -2
- package/dist/chunks/{registry-EziiQiWO.cjs → registry-CyVCJneg.cjs} +2 -2
- package/dist/chunks/{registry-IdH145NL.cjs → registry-c80No5j_.cjs} +2 -2
- package/dist/chunks/{retro-button-BxCv-ybi.js → retro-button-BFF6rtya.js} +2 -2
- package/dist/chunks/{retro-button-DfuSdfWj.cjs → retro-button-BQNrjtEi.cjs} +2 -2
- package/dist/chunks/{rive-BHdln8XJ.js → rive-C9ySVu0Q.js} +2 -2
- package/dist/chunks/{rive-cR-Q9Quh.cjs → rive-Dr8J-ESq.cjs} +2 -2
- package/dist/chunks/{runtime-link-Bq9F9pt8.cjs → runtime-link-D3-QlIsO.cjs} +2 -2
- package/dist/chunks/{runtime-link-cMIs3Y7z.js → runtime-link-mepflyss.js} +2 -2
- package/dist/chunks/scroll-driven-CQbwzCdn.cjs +1 -1
- package/dist/chunks/scroll-driven-LghshrWq.js +1 -1
- package/dist/chunks/{scroll-scene-UcJFID_0.js → scroll-scene-BWY-mgkQ.js} +4 -4
- package/dist/chunks/{scroll-scene-DTCM6lnJ.cjs → scroll-scene-YLwbThAg.cjs} +4 -4
- package/dist/chunks/{segmented-DHBqMcAF.js → segmented-B-Fafr8-.js} +2 -2
- package/dist/chunks/{segmented-CbZtwChW.cjs → segmented-C1wgQyHN.cjs} +2 -2
- package/dist/chunks/{shader-backdrop-DT1h5Zoc.cjs → shader-backdrop-BXGpaRMH.cjs} +5 -5
- package/dist/chunks/{shader-backdrop-rrssjdMI.js → shader-backdrop-DnT3eoNa.js} +8 -8
- package/dist/chunks/shared-Bf72wLyt.cjs +1 -1
- package/dist/chunks/shared-CkKHWrtJ.js +1 -1
- package/dist/chunks/shared-jkgRH-Hx.cjs +1 -1
- package/dist/chunks/shared-o9CtwHmi.js +1 -1
- package/dist/chunks/{sheet-YRq-IOIr.js → sheet-CtmrBo6Z.js} +10 -3
- package/dist/chunks/{sheet-NsPexafP.cjs → sheet-V2M4Hqeg.cjs} +10 -3
- package/dist/chunks/sign-DvZ1jHxE.js +1 -1
- package/dist/chunks/sign-RAkQIWrM.cjs +1 -1
- package/dist/chunks/{skeleton-reveal-yj2lioib.js → skeleton-reveal-CVrbqy61.js} +2 -2
- package/dist/chunks/{skeleton-reveal-DfH6IiUG.cjs → skeleton-reveal-qCjodjPN.cjs} +2 -2
- package/dist/chunks/{sparkline-kl8sJ7cP.js → sparkline-B07Pc0F5.js} +7 -6
- package/dist/chunks/{sparkline-CCV_wZ9j.cjs → sparkline-BUBWK0k8.cjs} +7 -6
- package/dist/chunks/{spring-Q3Y-pHuP.cjs → spring-B0v7o7dG.cjs} +2 -2
- package/dist/chunks/{spring-BX7EJst7.js → spring-p9RY-4VF.js} +2 -2
- package/dist/chunks/stagger-B9sKPwQB.js +1 -1
- package/dist/chunks/stagger-DFKwqOQG.cjs +1 -1
- package/dist/chunks/{suggestion-chips-fmrwI2Da.js → suggestion-chips-C5jM-6sb.js} +2 -2
- package/dist/chunks/{suggestion-chips-D9i2FGGX.cjs → suggestion-chips-CnCb3mOH.cjs} +2 -2
- package/dist/chunks/{switch-DnwGGeZj.js → switch-Ch0OQ9TC.js} +2 -2
- package/dist/chunks/{switch-Db4uTUcj.cjs → switch-mpVeEIno.cjs} +2 -2
- package/dist/chunks/{tab-bar-CSx4fTC9.js → tab-bar-DUCZzsih.js} +2 -2
- package/dist/chunks/{tab-bar-DqzNvlDc.cjs → tab-bar-sXS1oYQ3.cjs} +2 -2
- package/dist/chunks/{ticker-Cytp8Fl8.cjs → ticker-BFq0AxP5.cjs} +2 -2
- package/dist/chunks/{ticker-CHi3Hcrt.js → ticker-DtCFsNm7.js} +2 -2
- package/dist/chunks/{tip-C8T1SdOJ.js → tip-B-mmUYra.js} +2 -2
- package/dist/chunks/{tip-CIh4O-DZ.cjs → tip-ICi0K5SV.cjs} +2 -2
- package/dist/chunks/{toast-stack-Cs42sjr6.cjs → toast-stack-BK0eWurx.cjs} +6 -4
- package/dist/chunks/{toast-stack-BIdkYWob.js → toast-stack-DBGrj6zP.js} +6 -4
- package/dist/chunks/{tween-DZiAFyyF.cjs → tween-DUYiyPH_.cjs} +2 -2
- package/dist/chunks/{tween-Hh34tRXR.js → tween-DehPKIbN.js} +2 -2
- package/dist/chunks/{upload-progress-CXfoNUhm.js → upload-progress-Bup8Iw7N.js} +2 -2
- package/dist/chunks/{upload-progress-BhyFjwb6.cjs → upload-progress-fBjRmlqD.cjs} +2 -2
- package/dist/chunks/{variants-Dk-FItCT.cjs → variants-BbO5akAC.cjs} +2 -2
- package/dist/chunks/{variants-DY08myqK.js → variants-D7tUTCVW.js} +2 -2
- package/dist/chunks/viewport-BAXHhZLV.js +61 -0
- package/dist/chunks/viewport-EFYGqMNa.cjs +65 -0
- package/dist/chunks/{voice-button-DudPeVqK.cjs → voice-button-A-NPMqJG.cjs} +2 -2
- package/dist/chunks/{voice-button-DdKxtavP.js → voice-button-Bxh_839h.js} +2 -2
- package/dist/chunks/{weather-card-DfXFesfY.cjs → weather-card-CtqBfWnZ.cjs} +5 -5
- package/dist/chunks/{weather-card-Ecgk-JQd.js → weather-card-D2D8kYxm.js} +6 -6
- package/dist/chunks/{worker-canvas-BIuesniy.js → worker-canvas-C0lQZbKy.js} +2 -2
- package/dist/chunks/{worker-canvas-CEbqBgK5.cjs → worker-canvas-DGSgO2ci.cjs} +2 -2
- package/dist/chunks/{xp-bar-BC8UnCHG.cjs → xp-bar-5PeQeB1Y.cjs} +2 -2
- package/dist/chunks/{xp-bar-Cx-dMEMT.js → xp-bar-BGJrZYex.js} +2 -2
- package/dist/components/a11y.cjs +2 -2
- package/dist/components/a11y.js +3 -3
- package/dist/components/ai.cjs +1 -1
- package/dist/components/ai.js +1 -1
- package/dist/components/angular.cjs +10 -9
- package/dist/components/angular.js +10 -9
- package/dist/components/background.cjs +3 -3
- package/dist/components/background.js +3 -3
- package/dist/components/bridge.cjs +24 -5
- package/dist/components/bridge.d.cts +19 -1
- package/dist/components/bridge.d.ts +19 -1
- package/dist/components/bridge.js +24 -6
- package/dist/components/cards.cjs +3 -3
- package/dist/components/cards.js +3 -3
- package/dist/components/click.cjs +4 -4
- package/dist/components/click.js +4 -4
- package/dist/components/core.cjs +1 -1
- package/dist/components/core.js +1 -1
- package/dist/components/depth.cjs +4 -4
- package/dist/components/depth.js +4 -4
- package/dist/components/design.cjs +4 -4
- package/dist/components/design.js +4 -4
- package/dist/components/dotlottie.cjs +5 -5
- package/dist/components/dotlottie.js +5 -5
- package/dist/components/dsl.cjs +3 -3
- package/dist/components/dsl.js +3 -3
- package/dist/components/effects.cjs +64 -30
- package/dist/components/effects.d.cts +0 -88
- package/dist/components/effects.d.ts +0 -88
- package/dist/components/effects.js +72 -38
- package/dist/components/engine.cjs +2 -2
- package/dist/components/engine.js +3 -3
- package/dist/components/feedback.cjs +2 -2
- package/dist/components/feedback.js +2 -2
- package/dist/components/fx-3d.cjs +24 -6
- package/dist/components/fx-3d.d.cts +0 -19
- package/dist/components/fx-3d.d.ts +0 -19
- package/dist/components/fx-3d.js +24 -6
- package/dist/components/fx-ai.cjs +3 -3
- package/dist/components/fx-ai.js +3 -3
- package/dist/components/fx-chart.cjs +3 -3
- package/dist/components/fx-chart.js +3 -3
- package/dist/components/fx-cinema.cjs +3 -3
- package/dist/components/fx-cinema.js +3 -3
- package/dist/components/fx-cyber.cjs +3 -3
- package/dist/components/fx-cyber.js +3 -3
- package/dist/components/fx-festival.cjs +3 -3
- package/dist/components/fx-festival.js +3 -3
- package/dist/components/fx-focus.cjs +3 -3
- package/dist/components/fx-focus.js +3 -3
- package/dist/components/fx-form.cjs +3 -3
- package/dist/components/fx-form.js +3 -3
- package/dist/components/fx-game.cjs +3 -3
- package/dist/components/fx-game.js +3 -3
- package/dist/components/fx-genart.cjs +3 -3
- package/dist/components/fx-genart.js +3 -3
- package/dist/components/fx-geo.cjs +3 -3
- package/dist/components/fx-geo.js +3 -3
- package/dist/components/fx-gesture.cjs +3 -3
- package/dist/components/fx-gesture.js +3 -3
- package/dist/components/fx-gpu.cjs +5 -5
- package/dist/components/fx-gpu.js +5 -5
- package/dist/components/fx-light.cjs +27 -6
- package/dist/components/fx-light.d.cts +0 -22
- package/dist/components/fx-light.d.ts +0 -22
- package/dist/components/fx-light.js +31 -10
- package/dist/components/fx-lottie.cjs +3 -3
- package/dist/components/fx-lottie.js +3 -3
- package/dist/components/fx-morph.cjs +3 -3
- package/dist/components/fx-morph.js +3 -3
- package/dist/components/fx-music.cjs +24 -8
- package/dist/components/fx-music.d.cts +0 -39
- package/dist/components/fx-music.d.ts +0 -39
- package/dist/components/fx-music.js +25 -9
- package/dist/components/fx-organic.cjs +3 -3
- package/dist/components/fx-organic.js +3 -3
- package/dist/components/fx-paper.cjs +3 -3
- package/dist/components/fx-paper.js +3 -3
- package/dist/components/fx-perf.cjs +3 -3
- package/dist/components/fx-perf.js +3 -3
- package/dist/components/fx-physics.cjs +25 -7
- package/dist/components/fx-physics.d.cts +0 -19
- package/dist/components/fx-physics.d.ts +0 -19
- package/dist/components/fx-physics.js +29 -11
- package/dist/components/fx-retro.cjs +3 -3
- package/dist/components/fx-retro.js +3 -3
- package/dist/components/fx-safe.cjs +3 -3
- package/dist/components/fx-safe.js +3 -3
- package/dist/components/fx-shop.cjs +3 -3
- package/dist/components/fx-shop.js +3 -3
- package/dist/components/fx-social.cjs +3 -3
- package/dist/components/fx-social.js +3 -3
- package/dist/components/fx-spatial.cjs +3 -3
- package/dist/components/fx-spatial.js +3 -3
- package/dist/components/fx-surface.cjs +3 -3
- package/dist/components/fx-surface.js +3 -3
- package/dist/components/fx-text.cjs +3 -3
- package/dist/components/fx-text.js +3 -3
- package/dist/components/fx-transitions.cjs +4 -4
- package/dist/components/fx-transitions.js +4 -4
- package/dist/components/fx-video.cjs +3 -3
- package/dist/components/fx-video.js +3 -3
- package/dist/components/fx-weather.cjs +4 -4
- package/dist/components/fx-weather.js +4 -4
- package/dist/components/fx.cjs +6 -6
- package/dist/components/fx.js +7 -7
- package/dist/components/fx2.cjs +7 -7
- package/dist/components/fx2.d.cts +0 -133
- package/dist/components/fx2.d.ts +0 -133
- package/dist/components/fx2.js +8 -8
- package/dist/components/gesture.cjs +4 -4
- package/dist/components/gesture.js +5 -5
- package/dist/components/gl-model.cjs +5 -5
- package/dist/components/gl-model.js +5 -5
- package/dist/components/interaction.cjs +2 -2
- package/dist/components/interaction.js +2 -2
- package/dist/components/jsx.cjs +1 -1
- package/dist/components/jsx.js +1 -1
- package/dist/components/layout.cjs +3 -3
- package/dist/components/layout.js +3 -3
- package/dist/components/lazy.cjs +1 -1
- package/dist/components/lazy.js +1 -1
- package/dist/components/lite.cjs +214 -104
- package/dist/components/lite.js +213 -105
- package/dist/components/marketplace.cjs +4 -4
- package/dist/components/marketplace.js +5 -5
- package/dist/components/native.cjs +4 -4
- package/dist/components/native.js +4 -4
- package/dist/components/offscreen.cjs +69 -0
- package/dist/components/offscreen.d.cts +10 -0
- package/dist/components/offscreen.d.ts +10 -0
- package/dist/components/offscreen.js +65 -0
- package/dist/components/packs.cjs +2 -2
- package/dist/components/packs.js +2 -2
- package/dist/components/page.cjs +3 -3
- package/dist/components/page.js +4 -4
- package/dist/components/perf-tasks.cjs +69 -0
- package/dist/components/perf-tasks.d.cts +23 -0
- package/dist/components/perf-tasks.d.ts +23 -0
- package/dist/components/perf-tasks.js +65 -0
- package/dist/components/perf.cjs +3 -2
- package/dist/components/perf.d.cts +12 -4
- package/dist/components/perf.d.ts +12 -4
- package/dist/components/perf.js +3 -3
- package/dist/components/physics.cjs +3 -3
- package/dist/components/physics.js +4 -4
- package/dist/components/plugins.cjs +6 -6
- package/dist/components/plugins.js +6 -6
- package/dist/components/react.cjs +1 -1
- package/dist/components/react.js +1 -1
- package/dist/components/reveal.cjs +2 -2
- package/dist/components/reveal.js +2 -2
- package/dist/components/snap-carousel.cjs +4 -4
- package/dist/components/snap-carousel.js +4 -4
- package/dist/components/solid.cjs +10 -9
- package/dist/components/solid.js +10 -9
- package/dist/components/svelte.cjs +10 -9
- package/dist/components/svelte.js +10 -9
- package/dist/components/svg.cjs +2 -2
- package/dist/components/svg.js +2 -2
- package/dist/components/text.cjs +3 -3
- package/dist/components/text.js +3 -3
- package/dist/components/timeline.cjs +3 -3
- package/dist/components/timeline.js +4 -4
- package/dist/components/tokens.cjs +1 -1
- package/dist/components/tokens.js +1 -1
- package/dist/components/transitions.cjs +2 -2
- package/dist/components/transitions.js +2 -2
- package/dist/components/ui.cjs +27 -11
- package/dist/components/ui.css +1 -1
- package/dist/components/ui.js +28 -12
- package/dist/components/vue.cjs +10 -9
- package/dist/components/vue.js +10 -9
- package/dist/components/webgl.cjs +2 -2
- package/dist/components/webgl.js +2 -2
- package/dist/components/widgets.cjs +66 -62
- package/dist/components/widgets.d.cts +18 -1
- package/dist/components/widgets.d.ts +18 -1
- package/dist/components/widgets.js +113 -111
- package/dist/components.cjs +14 -11
- package/dist/components.css +1 -1
- package/dist/components.d.cts +31 -5
- package/dist/components.d.ts +31 -5
- package/dist/components.js +15 -14
- package/dist/components.umd.js +4 -23
- package/dist/effects/achievement-unlock.cjs +3 -3
- package/dist/effects/achievement-unlock.js +3 -3
- package/dist/effects/aurora-veil.cjs +4 -4
- package/dist/effects/aurora-veil.js +4 -4
- package/dist/effects/badge-pop.cjs +3 -3
- package/dist/effects/badge-pop.js +3 -3
- package/dist/effects/bars-grow.cjs +3 -3
- package/dist/effects/bars-grow.js +3 -3
- package/dist/effects/beat-bounce.cjs +5 -5
- package/dist/effects/beat-bounce.js +5 -5
- package/dist/effects/blob-button.cjs +3 -3
- package/dist/effects/blob-button.js +3 -3
- package/dist/effects/bloom.cjs +3 -3
- package/dist/effects/bloom.js +3 -3
- package/dist/effects/breathe.cjs +3 -3
- package/dist/effects/breathe.js +3 -3
- package/dist/effects/brushed-metal.cjs +4 -4
- package/dist/effects/brushed-metal.js +4 -4
- package/dist/effects/camera-dolly.cjs +3 -3
- package/dist/effects/camera-dolly.js +3 -3
- package/dist/effects/card-flip-3d.cjs +4 -4
- package/dist/effects/card-flip-3d.js +4 -4
- package/dist/effects/chest-open.cjs +3 -3
- package/dist/effects/chest-open.js +3 -3
- package/dist/effects/cloth.cjs +4 -4
- package/dist/effects/cloth.js +4 -4
- package/dist/effects/coin-burst.cjs +3 -3
- package/dist/effects/coin-burst.js +3 -3
- package/dist/effects/color-pulse.cjs +3 -3
- package/dist/effects/color-pulse.js +3 -3
- package/dist/effects/crt-power.cjs +3 -3
- package/dist/effects/crt-power.js +3 -3
- package/dist/effects/crumple.cjs +3 -3
- package/dist/effects/crumple.js +3 -3
- package/dist/effects/data-decode.cjs +3 -3
- package/dist/effects/data-decode.js +3 -3
- package/dist/effects/day-cycle.cjs +4 -4
- package/dist/effects/day-cycle.js +4 -4
- package/dist/effects/depth-in.cjs +3 -3
- package/dist/effects/depth-in.js +3 -3
- package/dist/effects/depth-pop.cjs +3 -3
- package/dist/effects/depth-pop.js +3 -3
- package/dist/effects/depth-stack.cjs +4 -4
- package/dist/effects/depth-stack.js +4 -4
- package/dist/effects/dolly-in.cjs +3 -3
- package/dist/effects/dolly-in.js +3 -3
- package/dist/effects/dots-pop.cjs +3 -3
- package/dist/effects/dots-pop.js +3 -3
- package/dist/effects/field-shake.cjs +3 -3
- package/dist/effects/field-shake.js +3 -3
- package/dist/effects/field-success.cjs +3 -3
- package/dist/effects/field-success.js +3 -3
- package/dist/effects/film-burn.cjs +3 -3
- package/dist/effects/film-burn.js +3 -3
- package/dist/effects/fire.cjs +5 -5
- package/dist/effects/fire.js +5 -5
- package/dist/effects/fireflies.cjs +5 -5
- package/dist/effects/fireflies.js +5 -5
- package/dist/effects/firework-burst.cjs +3 -3
- package/dist/effects/firework-burst.js +3 -3
- package/dist/effects/flip-chars.cjs +3 -3
- package/dist/effects/flip-chars.js +3 -3
- package/dist/effects/fluid.cjs +5 -5
- package/dist/effects/fluid.js +5 -5
- package/dist/effects/fly-to-cart.cjs +3 -3
- package/dist/effects/fly-to-cart.js +3 -3
- package/dist/effects/focus-draw.cjs +3 -3
- package/dist/effects/focus-draw.js +3 -3
- package/dist/effects/focus-glow.cjs +3 -3
- package/dist/effects/focus-glow.js +3 -3
- package/dist/effects/fog.cjs +4 -4
- package/dist/effects/fog.js +4 -4
- package/dist/effects/font-breathe.cjs +3 -3
- package/dist/effects/font-breathe.js +3 -3
- package/dist/effects/form-cascade.cjs +3 -3
- package/dist/effects/form-cascade.js +3 -3
- package/dist/effects/gen-skeleton.cjs +3 -3
- package/dist/effects/gen-skeleton.js +3 -3
- package/dist/effects/glass-frost.cjs +3 -3
- package/dist/effects/glass-frost.js +3 -3
- package/dist/effects/glitch-text.cjs +3 -3
- package/dist/effects/glitch-text.js +3 -3
- package/dist/effects/globe-spin.cjs +3 -3
- package/dist/effects/globe-spin.js +3 -3
- package/dist/effects/god-rays.cjs +4 -4
- package/dist/effects/god-rays.js +4 -4
- package/dist/effects/gpu-lift.cjs +3 -3
- package/dist/effects/gpu-lift.js +3 -3
- package/dist/effects/grain-flicker.cjs +3 -3
- package/dist/effects/grain-flicker.js +3 -3
- package/dist/effects/halftone-in.cjs +3 -3
- package/dist/effects/halftone-in.js +3 -3
- package/dist/effects/highlight-sweep.cjs +3 -3
- package/dist/effects/highlight-sweep.js +3 -3
- package/dist/effects/hologram.cjs +3 -3
- package/dist/effects/hologram.js +3 -3
- package/dist/effects/hud-frame.cjs +3 -3
- package/dist/effects/hud-frame.js +3 -3
- package/dist/effects/icon-pop.cjs +3 -3
- package/dist/effects/icon-pop.js +3 -3
- package/dist/effects/icon-swap.cjs +3 -3
- package/dist/effects/icon-swap.js +3 -3
- package/dist/effects/idle-reveal.cjs +3 -3
- package/dist/effects/idle-reveal.js +3 -3
- package/dist/effects/ink.cjs +5 -5
- package/dist/effects/ink.js +5 -5
- package/dist/effects/jump-cut.cjs +3 -3
- package/dist/effects/jump-cut.js +3 -3
- package/dist/effects/kaleido.cjs +3 -3
- package/dist/effects/kaleido.js +3 -3
- package/dist/effects/label-float.cjs +3 -3
- package/dist/effects/label-float.js +3 -3
- package/dist/effects/lantern-rise.cjs +3 -3
- package/dist/effects/lantern-rise.js +3 -3
- package/dist/effects/leaves.cjs +5 -5
- package/dist/effects/leaves.js +5 -5
- package/dist/effects/letterbox.cjs +3 -3
- package/dist/effects/letterbox.js +3 -3
- package/dist/effects/level-up.cjs +3 -3
- package/dist/effects/level-up.js +3 -3
- package/dist/effects/light-follow.cjs +4 -4
- package/dist/effects/light-follow.js +4 -4
- package/dist/effects/lightning.cjs +4 -4
- package/dist/effects/lightning.js +4 -4
- package/dist/effects/line-draw.cjs +3 -3
- package/dist/effects/line-draw.js +3 -3
- package/dist/effects/liquid-text.cjs +3 -3
- package/dist/effects/liquid-text.js +3 -3
- package/dist/effects/liquid-wipe.cjs +3 -3
- package/dist/effects/liquid-wipe.js +3 -3
- package/dist/effects/lottie-play.cjs +3 -3
- package/dist/effects/lottie-play.js +3 -3
- package/dist/effects/magnet.cjs +4 -4
- package/dist/effects/magnet.js +4 -4
- package/dist/effects/marching-ants.cjs +3 -3
- package/dist/effects/marching-ants.js +3 -3
- package/dist/effects/marker-pulse.cjs +3 -3
- package/dist/effects/marker-pulse.js +3 -3
- package/dist/effects/mention-glow.cjs +3 -3
- package/dist/effects/mention-glow.js +3 -3
- package/dist/effects/mesh-drift.cjs +3 -3
- package/dist/effects/mesh-drift.js +3 -3
- package/dist/effects/message-in.cjs +3 -3
- package/dist/effects/message-in.js +3 -3
- package/dist/effects/mosaic-flip.cjs +3 -3
- package/dist/effects/mosaic-flip.js +3 -3
- package/dist/effects/neon-ignite.cjs +3 -3
- package/dist/effects/neon-ignite.js +3 -3
- package/dist/effects/neon-pulse.cjs +3 -3
- package/dist/effects/neon-pulse.js +3 -3
- package/dist/effects/neon-write.cjs +3 -3
- package/dist/effects/neon-write.js +3 -3
- package/dist/effects/neu-press.cjs +3 -3
- package/dist/effects/neu-press.js +3 -3
- package/dist/effects/noise-reveal.cjs +3 -3
- package/dist/effects/noise-reveal.js +3 -3
- package/dist/effects/number-roll.cjs +3 -3
- package/dist/effects/number-roll.js +3 -3
- package/dist/effects/orbit-camera.cjs +4 -4
- package/dist/effects/orbit-camera.js +4 -4
- package/dist/effects/orbit-in.cjs +3 -3
- package/dist/effects/orbit-in.js +3 -3
- package/dist/effects/origami.cjs +4 -4
- package/dist/effects/origami.js +4 -4
- package/dist/effects/page-curl.cjs +3 -3
- package/dist/effects/page-curl.js +3 -3
- package/dist/effects/pan-reveal.cjs +3 -3
- package/dist/effects/pan-reveal.js +3 -3
- package/dist/effects/paper-unfold.cjs +3 -3
- package/dist/effects/paper-unfold.js +3 -3
- package/dist/effects/particle-text.cjs +3 -3
- package/dist/effects/particle-text.js +3 -3
- package/dist/effects/path-morph.cjs +3 -3
- package/dist/effects/path-morph.js +3 -3
- package/dist/effects/pearlescent.cjs +4 -4
- package/dist/effects/pearlescent.js +4 -4
- package/dist/effects/pencil-sketch.cjs +3 -3
- package/dist/effects/pencil-sketch.js +3 -3
- package/dist/effects/pin-drop.cjs +3 -3
- package/dist/effects/pin-drop.js +3 -3
- package/dist/effects/pinball.cjs +4 -4
- package/dist/effects/pinball.js +4 -4
- package/dist/effects/pinch-hint.cjs +3 -3
- package/dist/effects/pinch-hint.js +3 -3
- package/dist/effects/pixelate-in.cjs +3 -3
- package/dist/effects/pixelate-in.js +3 -3
- package/dist/effects/pointer-shadow.cjs +4 -4
- package/dist/effects/pointer-shadow.js +4 -4
- package/dist/effects/portal-open.cjs +3 -3
- package/dist/effects/portal-open.js +3 -3
- package/dist/effects/price-flip.cjs +3 -3
- package/dist/effects/price-flip.js +3 -3
- package/dist/effects/product-spin.cjs +4 -4
- package/dist/effects/product-spin.js +4 -4
- package/dist/effects/rack-focus.cjs +3 -3
- package/dist/effects/rack-focus.js +3 -3
- package/dist/effects/radial-spectrum.cjs +5 -5
- package/dist/effects/radial-spectrum.js +5 -5
- package/dist/effects/rain-glass.cjs +4 -4
- package/dist/effects/rain-glass.js +4 -4
- package/dist/effects/reaction-burst.cjs +3 -3
- package/dist/effects/reaction-burst.js +3 -3
- package/dist/effects/read-receipt.cjs +3 -3
- package/dist/effects/read-receipt.js +3 -3
- package/dist/effects/refraction.cjs +4 -4
- package/dist/effects/refraction.js +4 -4
- package/dist/effects/ring-sweep.cjs +3 -3
- package/dist/effects/ring-sweep.js +3 -3
- package/dist/effects/ripple-dissolve.cjs +3 -3
- package/dist/effects/ripple-dissolve.js +3 -3
- package/dist/effects/rope.cjs +4 -4
- package/dist/effects/rope.js +4 -4
- package/dist/effects/route-draw.cjs +3 -3
- package/dist/effects/route-draw.js +3 -3
- package/dist/effects/safe-fade.cjs +3 -3
- package/dist/effects/safe-fade.js +3 -3
- package/dist/effects/sakura.cjs +5 -5
- package/dist/effects/sakura.js +5 -5
- package/dist/effects/sale-shine.cjs +3 -3
- package/dist/effects/sale-shine.js +3 -3
- package/dist/effects/sankey-flow.cjs +3 -3
- package/dist/effects/sankey-flow.js +3 -3
- package/dist/effects/scanline-sweep.cjs +3 -3
- package/dist/effects/scanline-sweep.js +3 -3
- package/dist/effects/shatter.cjs +3 -3
- package/dist/effects/shatter.js +3 -3
- package/dist/effects/smoke.cjs +5 -5
- package/dist/effects/smoke.js +5 -5
- package/dist/effects/snowfall.cjs +4 -4
- package/dist/effects/snowfall.js +4 -4
- package/dist/effects/soft-body.cjs +4 -4
- package/dist/effects/soft-body.js +4 -4
- package/dist/effects/sound-particles.cjs +5 -5
- package/dist/effects/sound-particles.js +5 -5
- package/dist/effects/spatial-float.cjs +3 -3
- package/dist/effects/spatial-float.js +3 -3
- package/dist/effects/spectrum-mirror.cjs +5 -5
- package/dist/effects/spectrum-mirror.js +5 -5
- package/dist/effects/splash.cjs +5 -5
- package/dist/effects/splash.js +5 -5
- package/dist/effects/spooky-float.cjs +3 -3
- package/dist/effects/spooky-float.js +3 -3
- package/dist/effects/stock-pulse.cjs +3 -3
- package/dist/effects/stock-pulse.js +3 -3
- package/dist/effects/stream-text.cjs +3 -3
- package/dist/effects/stream-text.js +3 -3
- package/dist/effects/stroke-draw.cjs +3 -3
- package/dist/effects/stroke-draw.js +3 -3
- package/dist/effects/success-check.cjs +3 -3
- package/dist/effects/success-check.js +3 -3
- package/dist/effects/swipe-hint.cjs +3 -3
- package/dist/effects/swipe-hint.js +3 -3
- package/dist/effects/text-trail.cjs +3 -3
- package/dist/effects/text-trail.js +3 -3
- package/dist/effects/thinking-glow.cjs +3 -3
- package/dist/effects/thinking-glow.js +3 -3
- package/dist/effects/tilt-wobble.cjs +3 -3
- package/dist/effects/tilt-wobble.js +3 -3
- package/dist/effects/typing-dots.cjs +3 -3
- package/dist/effects/typing-dots.js +3 -3
- package/dist/effects/underline-sweep.cjs +3 -3
- package/dist/effects/underline-sweep.js +3 -3
- package/dist/effects/vhs-glitch.cjs +3 -3
- package/dist/effects/vhs-glitch.js +3 -3
- package/dist/effects/vine-grow.cjs +3 -3
- package/dist/effects/vine-grow.js +3 -3
- package/dist/effects/vinyl-spin.cjs +5 -5
- package/dist/effects/vinyl-spin.js +5 -5
- package/dist/effects/voice-wave.cjs +3 -3
- package/dist/effects/voice-wave.js +3 -3
- package/dist/effects/water-drop.cjs +3 -3
- package/dist/effects/water-drop.js +3 -3
- package/dist/effects/watercolor.cjs +3 -3
- package/dist/effects/watercolor.js +3 -3
- package/dist/effects/waveform-scope.cjs +5 -5
- package/dist/effects/waveform-scope.js +5 -5
- package/dist/effects/xmas-snow.cjs +3 -3
- package/dist/effects/xmas-snow.js +3 -3
- package/dist/effects/xp-gain.cjs +3 -3
- package/dist/effects/xp-gain.js +3 -3
- package/dist/effects/y2k-shine.cjs +3 -3
- package/dist/effects/y2k-shine.js +3 -3
- package/dist/element.cjs +1 -1
- package/dist/element.js +1 -1
- package/dist/element.umd.js +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.js +3 -3
- package/dist/index.umd.js +3 -3
- package/dist/llms-full.txt +1 -1
- package/dist/llms.txt +1 -1
- package/dist/manifest.json +24 -11
- package/dist/presets/extended.cjs +1 -1
- package/dist/presets/extended.js +1 -1
- package/dist/presets-extended.umd.js +1 -1
- package/dist/react.cjs +1 -1
- package/dist/react.js +1 -1
- package/dist/runtime/drag-snap.cjs +2 -2
- package/dist/runtime/drag-snap.iife.js +1 -1
- package/dist/runtime/drag-snap.js +2 -2
- package/dist/runtime/format-apng.cjs +5 -5
- package/dist/runtime/format-apng.iife.js +1 -1
- package/dist/runtime/format-apng.js +5 -5
- package/dist/runtime/format-css.cjs +5 -5
- package/dist/runtime/format-css.iife.js +1 -1
- package/dist/runtime/format-css.js +5 -5
- package/dist/runtime/format-gif.cjs +5 -5
- package/dist/runtime/format-gif.iife.js +1 -1
- package/dist/runtime/format-gif.js +5 -5
- package/dist/runtime/format-gltf.cjs +2 -2
- package/dist/runtime/format-gltf.iife.js +1 -1
- package/dist/runtime/format-gltf.js +2 -2
- package/dist/runtime/format-motion.cjs +5 -5
- package/dist/runtime/format-motion.iife.js +1 -1
- package/dist/runtime/format-motion.js +5 -5
- package/dist/runtime/format-obj.cjs +2 -2
- package/dist/runtime/format-obj.iife.js +1 -1
- package/dist/runtime/format-obj.js +2 -2
- package/dist/runtime/format-scene.cjs +2 -2
- package/dist/runtime/format-scene.iife.js +1 -1
- package/dist/runtime/format-scene.js +2 -2
- package/dist/runtime/format-sprite.cjs +4 -4
- package/dist/runtime/format-sprite.iife.js +1 -1
- package/dist/runtime/format-sprite.js +4 -4
- package/dist/runtime/format-svg.cjs +4 -4
- package/dist/runtime/format-svg.iife.js +1 -1
- package/dist/runtime/format-svg.js +4 -4
- package/dist/runtime/format-webp.cjs +5 -5
- package/dist/runtime/format-webp.iife.js +1 -1
- package/dist/runtime/format-webp.js +5 -5
- package/dist/runtime/gl.cjs +2 -2
- package/dist/runtime/gl.iife.js +1 -1
- package/dist/runtime/gl.js +2 -2
- package/dist/runtime/gltf-anim.cjs +2 -2
- package/dist/runtime/gltf-anim.iife.js +1 -1
- package/dist/runtime/gltf-anim.js +2 -2
- package/dist/runtime/gltf-decoders.cjs +2 -2
- package/dist/runtime/gltf-decoders.iife.js +1 -1
- package/dist/runtime/gltf-decoders.js +2 -2
- package/dist/runtime/lottie-state.cjs +2 -2
- package/dist/runtime/lottie-state.iife.js +1 -1
- package/dist/runtime/lottie-state.js +2 -2
- package/dist/runtime/physics.cjs +2 -2
- package/dist/runtime/physics.iife.js +1 -1
- package/dist/runtime/physics.js +2 -2
- package/dist/runtime/scroll.cjs +3 -3
- package/dist/runtime/scroll.iife.js +1 -1
- package/dist/runtime/scroll.js +3 -3
- package/dist/runtime/smooth.cjs +2 -2
- package/dist/runtime/smooth.iife.js +1 -1
- package/dist/runtime/smooth.js +2 -2
- package/dist/runtime/text.cjs +2 -2
- package/dist/runtime/text.iife.js +1 -1
- package/dist/runtime/text.js +2 -2
- package/dist/runtime/vector.cjs +4 -4
- package/dist/runtime/vector.iife.js +1 -1
- package/dist/runtime/vector.js +4 -4
- package/dist/runtime.cjs +4 -4
- package/dist/runtime.d.cts +1 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.iife.js +2 -2
- package/dist/runtime.js +6 -6
- package/dist/solid.cjs +1 -1
- package/dist/solid.js +1 -1
- package/dist/svelte.cjs +1 -1
- package/dist/svelte.js +1 -1
- package/dist/vue.cjs +1 -1
- package/dist/vue.js +1 -1
- package/dist/widgets/add-to-cart.cjs +6 -6
- package/dist/widgets/add-to-cart.js +6 -6
- package/dist/widgets/badge-wall.cjs +3 -3
- package/dist/widgets/badge-wall.js +3 -3
- package/dist/widgets/bar-chart.cjs +2 -2
- package/dist/widgets/bar-chart.js +2 -2
- package/dist/widgets/bg-generator.cjs +4 -4
- package/dist/widgets/bg-generator.js +4 -4
- package/dist/widgets/carousel.cjs +3 -3
- package/dist/widgets/carousel.js +3 -3
- package/dist/widgets/cart-drawer.cjs +3 -3
- package/dist/widgets/cart-drawer.js +3 -3
- package/dist/widgets/chapter-nav.cjs +2 -2
- package/dist/widgets/chapter-nav.js +2 -2
- package/dist/widgets/chat-composer.cjs +2 -2
- package/dist/widgets/chat-composer.js +2 -2
- package/dist/widgets/clock-control.cjs +2 -2
- package/dist/widgets/clock-control.js +2 -2
- package/dist/widgets/code-export.cjs +3 -3
- package/dist/widgets/code-export.js +3 -3
- package/dist/widgets/color-picker.cjs +3 -3
- package/dist/widgets/color-picker.js +3 -3
- package/dist/widgets/command-palette.cjs +3 -3
- package/dist/widgets/command-palette.js +3 -3
- package/dist/widgets/compare.cjs +5 -5
- package/dist/widgets/compare.js +5 -5
- package/dist/widgets/countdown.cjs +3 -3
- package/dist/widgets/countdown.js +3 -3
- package/dist/widgets/cube-gallery.cjs +2 -2
- package/dist/widgets/cube-gallery.js +2 -2
- package/dist/widgets/date-picker.cjs +3 -3
- package/dist/widgets/date-picker.js +3 -3
- package/dist/widgets/disclosure.cjs +3 -3
- package/dist/widgets/disclosure.js +3 -3
- package/dist/widgets/dock.cjs +4 -4
- package/dist/widgets/dock.js +4 -4
- package/dist/widgets/dotlottie.cjs +5 -5
- package/dist/widgets/dotlottie.js +5 -5
- package/dist/widgets/equalizer.cjs +3 -3
- package/dist/widgets/equalizer.js +3 -3
- package/dist/widgets/festival-banner.cjs +3 -3
- package/dist/widgets/festival-banner.js +3 -3
- package/dist/widgets/field.cjs +3 -3
- package/dist/widgets/field.js +3 -3
- package/dist/widgets/file-drop.cjs +2 -2
- package/dist/widgets/file-drop.js +2 -2
- package/dist/widgets/gauge.cjs +6 -5
- package/dist/widgets/gauge.js +6 -5
- package/dist/widgets/gen-art.cjs +7 -6
- package/dist/widgets/gen-art.js +7 -6
- package/dist/widgets/gesture-sticker.cjs +3 -3
- package/dist/widgets/gesture-sticker.js +3 -3
- package/dist/widgets/gl-model.cjs +5 -5
- package/dist/widgets/gl-model.js +5 -5
- package/dist/widgets/gl-scene.cjs +5 -5
- package/dist/widgets/gl-scene.js +5 -5
- package/dist/widgets/globe.cjs +3 -3
- package/dist/widgets/globe.js +3 -3
- package/dist/widgets/gpu-particles.cjs +3 -3
- package/dist/widgets/gpu-particles.js +3 -3
- package/dist/widgets/gyro-card.cjs +3 -3
- package/dist/widgets/gyro-card.js +3 -3
- package/dist/widgets/hero-video.cjs +3 -3
- package/dist/widgets/hero-video.js +3 -3
- package/dist/widgets/hud-panel.cjs +2 -2
- package/dist/widgets/hud-panel.js +2 -2
- package/dist/widgets/hydrate.cjs +2 -2
- package/dist/widgets/hydrate.js +2 -2
- package/dist/widgets/install-button.cjs +2 -2
- package/dist/widgets/install-button.js +2 -2
- package/dist/widgets/kanban.cjs +2 -2
- package/dist/widgets/kanban.js +2 -2
- package/dist/widgets/keyframe-editor.cjs +8 -7
- package/dist/widgets/keyframe-editor.js +8 -7
- package/dist/widgets/kpi.cjs +7 -6
- package/dist/widgets/kpi.js +7 -6
- package/dist/widgets/leaderboard.cjs +3 -3
- package/dist/widgets/leaderboard.js +3 -3
- package/dist/widgets/liquid-nav.cjs +3 -3
- package/dist/widgets/liquid-nav.js +3 -3
- package/dist/widgets/location-card.cjs +3 -3
- package/dist/widgets/location-card.js +3 -3
- package/dist/widgets/lottie-icon.cjs +4 -4
- package/dist/widgets/lottie-icon.js +4 -4
- package/dist/widgets/lottie-player.cjs +5 -5
- package/dist/widgets/lottie-player.js +5 -5
- package/dist/widgets/lottie.cjs +3 -3
- package/dist/widgets/lottie.js +3 -3
- package/dist/widgets/lyrics.cjs +3 -3
- package/dist/widgets/lyrics.js +3 -3
- package/dist/widgets/masonry-flow.cjs +2 -2
- package/dist/widgets/masonry-flow.js +2 -2
- package/dist/widgets/menu-toggle.cjs +3 -3
- package/dist/widgets/menu-toggle.js +3 -3
- package/dist/widgets/menu.cjs +3 -3
- package/dist/widgets/menu.js +3 -3
- package/dist/widgets/message-list.cjs +2 -2
- package/dist/widgets/message-list.js +2 -2
- package/dist/widgets/milestones.cjs +4 -4
- package/dist/widgets/milestones.js +4 -4
- package/dist/widgets/modal.cjs +4 -3
- package/dist/widgets/modal.js +4 -3
- package/dist/widgets/motion-inspector.cjs +3 -3
- package/dist/widgets/motion-inspector.js +3 -3
- package/dist/widgets/motion-prefs.cjs +3 -3
- package/dist/widgets/motion-prefs.js +3 -3
- package/dist/widgets/motion-prompt.cjs +2 -2
- package/dist/widgets/motion-prompt.js +2 -2
- package/dist/widgets/motion-spec.cjs +4 -4
- package/dist/widgets/motion-spec.js +4 -4
- package/dist/widgets/motion.cjs +3 -3
- package/dist/widgets/motion.js +3 -3
- package/dist/widgets/music-player.cjs +7 -6
- package/dist/widgets/music-player.js +7 -6
- package/dist/widgets/native-preview.cjs +4 -4
- package/dist/widgets/native-preview.js +4 -4
- package/dist/widgets/nav-morph.cjs +3 -3
- package/dist/widgets/nav-morph.js +3 -3
- package/dist/widgets/notification-bell.cjs +2 -2
- package/dist/widgets/notification-bell.js +2 -2
- package/dist/widgets/odometer.cjs +4 -3
- package/dist/widgets/odometer.js +4 -3
- package/dist/widgets/organic-card.cjs +3 -3
- package/dist/widgets/organic-card.js +3 -3
- package/dist/widgets/otp.cjs +3 -3
- package/dist/widgets/otp.js +3 -3
- package/dist/widgets/pagination.cjs +4 -3
- package/dist/widgets/pagination.js +4 -3
- package/dist/widgets/panorama.cjs +8 -7
- package/dist/widgets/panorama.js +8 -7
- package/dist/widgets/parallax-layers.cjs +4 -4
- package/dist/widgets/parallax-layers.js +7 -7
- package/dist/widgets/pause-all.cjs +2 -2
- package/dist/widgets/pause-all.js +2 -2
- package/dist/widgets/perf-monitor.cjs +3 -3
- package/dist/widgets/perf-monitor.js +3 -3
- package/dist/widgets/physics-playground.cjs +5 -5
- package/dist/widgets/physics-playground.js +5 -5
- package/dist/widgets/plugin-card.cjs +4 -4
- package/dist/widgets/plugin-card.js +4 -4
- package/dist/widgets/plugin-store.cjs +4 -4
- package/dist/widgets/plugin-store.js +4 -4
- package/dist/widgets/presence.cjs +3 -3
- package/dist/widgets/presence.js +3 -3
- package/dist/widgets/prize-wheel.cjs +3 -3
- package/dist/widgets/prize-wheel.js +3 -3
- package/dist/widgets/product-gallery.cjs +3 -3
- package/dist/widgets/product-gallery.js +3 -3
- package/dist/widgets/progress-ring.cjs +4 -3
- package/dist/widgets/progress-ring.js +4 -3
- package/dist/widgets/prop-panel.cjs +3 -3
- package/dist/widgets/prop-panel.js +3 -3
- package/dist/widgets/pull-cord.cjs +7 -6
- package/dist/widgets/pull-cord.js +7 -6
- package/dist/widgets/radar.cjs +3 -3
- package/dist/widgets/radar.js +3 -3
- package/dist/widgets/reactions.cjs +3 -3
- package/dist/widgets/reactions.js +3 -3
- package/dist/widgets/red-envelope.cjs +4 -4
- package/dist/widgets/red-envelope.js +4 -4
- package/dist/widgets/retro-button.cjs +3 -3
- package/dist/widgets/retro-button.js +3 -3
- package/dist/widgets/rive.cjs +3 -3
- package/dist/widgets/rive.js +3 -3
- package/dist/widgets/route-transition.cjs +2 -2
- package/dist/widgets/route-transition.js +2 -2
- package/dist/widgets/scene.cjs +3 -3
- package/dist/widgets/scene.js +3 -3
- package/dist/widgets/scroll-ring.cjs +4 -4
- package/dist/widgets/scroll-ring.js +7 -7
- package/dist/widgets/scroll-scene.cjs +5 -5
- package/dist/widgets/scroll-scene.js +5 -5
- package/dist/widgets/segmented.cjs +3 -3
- package/dist/widgets/segmented.js +3 -3
- package/dist/widgets/shader-backdrop.cjs +3 -3
- package/dist/widgets/shader-backdrop.js +3 -3
- package/dist/widgets/sheet.cjs +4 -3
- package/dist/widgets/sheet.js +4 -3
- package/dist/widgets/shortcut.cjs +3 -3
- package/dist/widgets/shortcut.js +3 -3
- package/dist/widgets/skeleton-reveal.cjs +3 -3
- package/dist/widgets/skeleton-reveal.js +3 -3
- package/dist/widgets/sketch-chart.cjs +3 -3
- package/dist/widgets/sketch-chart.js +3 -3
- package/dist/widgets/smooth-scroll.cjs +4 -4
- package/dist/widgets/smooth-scroll.js +4 -4
- package/dist/widgets/snap-carousel.cjs +4 -4
- package/dist/widgets/snap-carousel.js +4 -4
- package/dist/widgets/sparkline.cjs +4 -3
- package/dist/widgets/sparkline.js +4 -3
- package/dist/widgets/spatial-card.cjs +2 -2
- package/dist/widgets/spatial-card.js +2 -2
- package/dist/widgets/star-rating.cjs +2 -2
- package/dist/widgets/star-rating.js +2 -2
- package/dist/widgets/stepper.cjs +2 -2
- package/dist/widgets/stepper.js +2 -2
- package/dist/widgets/sticky-wall.cjs +3 -3
- package/dist/widgets/sticky-wall.js +3 -3
- package/dist/widgets/stories.cjs +2 -2
- package/dist/widgets/stories.js +2 -2
- package/dist/widgets/suggestion-chips.cjs +3 -3
- package/dist/widgets/suggestion-chips.js +3 -3
- package/dist/widgets/swipe-deck.cjs +2 -2
- package/dist/widgets/swipe-deck.js +2 -2
- package/dist/widgets/switch.cjs +3 -3
- package/dist/widgets/switch.js +3 -3
- package/dist/widgets/tab-bar.cjs +3 -3
- package/dist/widgets/tab-bar.js +3 -3
- package/dist/widgets/terminal.cjs +2 -2
- package/dist/widgets/terminal.js +2 -2
- package/dist/widgets/text-splitter.cjs +4 -4
- package/dist/widgets/text-splitter.js +4 -4
- package/dist/widgets/theme-surface.cjs +3 -3
- package/dist/widgets/theme-surface.js +3 -3
- package/dist/widgets/theme-switcher.cjs +3 -3
- package/dist/widgets/theme-switcher.js +3 -3
- package/dist/widgets/tip.cjs +3 -3
- package/dist/widgets/tip.js +3 -3
- package/dist/widgets/toast-stack.cjs +5 -4
- package/dist/widgets/toast-stack.js +5 -4
- package/dist/widgets/token-editor.cjs +2 -2
- package/dist/widgets/token-editor.js +2 -2
- package/dist/widgets/upload-progress.cjs +3 -3
- package/dist/widgets/upload-progress.js +3 -3
- package/dist/widgets/video-card.cjs +2 -2
- package/dist/widgets/video-card.js +2 -2
- package/dist/widgets/voice-button.cjs +3 -3
- package/dist/widgets/voice-button.js +3 -3
- package/dist/widgets/volume-knob.cjs +2 -2
- package/dist/widgets/volume-knob.js +2 -2
- package/dist/widgets/weather-card.cjs +3 -3
- package/dist/widgets/weather-card.js +3 -3
- package/dist/widgets/worker-canvas.cjs +4 -4
- package/dist/widgets/worker-canvas.js +4 -4
- package/dist/widgets/xp-bar.cjs +3 -3
- package/dist/widgets/xp-bar.js +3 -3
- package/dist/widgets.umd.js +2 -2
- package/docs/browser-matrix.md +1 -0
- package/docs/components/usa-aurora.md +1 -1
- package/docs/components/usa-bottom-sheet.md +1 -1
- package/docs/components/usa-drawer.md +1 -1
- package/docs/components/usa-gl-model.md +1 -1
- package/docs/components/usa-gl-scene.md +1 -1
- package/docs/components/usa-modal.md +1 -1
- package/docs/components/usa-pagination.md +1 -1
- package/docs/components/usa-sheet.md +1 -1
- package/docs/components/usa-story.md +1 -1
- package/docs/components/usa-toast-stack.md +1 -1
- package/docs/hybrid-apps.md +3 -0
- package/docs/mobile.md +134 -0
- package/docs/scheduling.md +58 -0
- package/figma-plugin/ui.html +5 -2
- package/package.json +21 -1
|
@@ -20,16 +20,16 @@ function configureComponents(options) {
|
|
|
20
20
|
if (options.reducedMotion && options.reducedMotion !== 'reduce')
|
|
21
21
|
options.reducedMotion = 'user';
|
|
22
22
|
Object.assign(config, options);
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
if (
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
else
|
|
31
|
-
document.documentElement.setAttribute('data-usa-sensitivity', options.motionSensitivity);
|
|
23
|
+
const { motionIntensity: mi, motionSensitivity: ms } = options;
|
|
24
|
+
if (typeof document == 'undefined')
|
|
25
|
+
return;
|
|
26
|
+
const de = document.documentElement;
|
|
27
|
+
if (mi) {
|
|
28
|
+
de.style.setProperty('--usa-motion', String(MOTION_SCALE[mi] ?? 1));
|
|
29
|
+
de.setAttribute('data-usa-motion', mi);
|
|
32
30
|
}
|
|
31
|
+
if (ms)
|
|
32
|
+
ms == 'full' ? de.removeAttribute('data-usa-sensitivity') : de.setAttribute('data-usa-sensitivity', ms);
|
|
33
33
|
}
|
|
34
34
|
/** The current motion-sensitivity level (v4.4). */
|
|
35
35
|
function getMotionSensitivity() {
|
|
@@ -63,13 +63,9 @@ function adaptKeyframes(frames, level = config.motionSensitivity) {
|
|
|
63
63
|
return out;
|
|
64
64
|
});
|
|
65
65
|
}
|
|
66
|
-
/** Run `fn` without 4.9 deprecation warnings (library-internal calls). */
|
|
66
|
+
/** Run `fn` without 4.9 deprecation warnings (library-internal calls). The suppression counter was never read, so this simply runs `fn` (counter removed in 13.4). */
|
|
67
67
|
function withoutDeprecations(fn) {
|
|
68
|
-
|
|
69
|
-
return fn();
|
|
70
|
-
}
|
|
71
|
-
finally {
|
|
72
|
-
}
|
|
68
|
+
return fn();
|
|
73
69
|
}
|
|
74
70
|
/** The current global motion intensity. */
|
|
75
71
|
function getMotionIntensity() {
|
|
@@ -108,38 +104,34 @@ function adoptStyles(id, css) {
|
|
|
108
104
|
if (!config.injectStyles || !css || injected.has(id) || typeof document === 'undefined')
|
|
109
105
|
return;
|
|
110
106
|
injected.add(id);
|
|
107
|
+
if (!adopt(document, css, true))
|
|
108
|
+
(document.head || document.documentElement).appendChild(styleEl(css)).setAttribute('data-usa', id);
|
|
109
|
+
}
|
|
110
|
+
/** Constructable stylesheet onto `root` (appended for a document, replacing for a shadow root); false without support. */
|
|
111
|
+
function adopt(root, css, add) {
|
|
111
112
|
try {
|
|
112
|
-
|
|
113
|
+
// no CSSStyleSheet constructor → ReferenceError → caught → <style>
|
|
114
|
+
if ('adoptedStyleSheets' in root) {
|
|
113
115
|
const sheet = new CSSStyleSheet();
|
|
114
116
|
sheet.replaceSync(css);
|
|
115
|
-
|
|
116
|
-
return;
|
|
117
|
+
root.adoptedStyleSheets = add ? [...root.adoptedStyleSheets, sheet] : [sheet];
|
|
118
|
+
return true;
|
|
117
119
|
}
|
|
118
120
|
}
|
|
119
121
|
catch {
|
|
120
122
|
/* fall through to <style> */
|
|
121
123
|
}
|
|
124
|
+
return false;
|
|
125
|
+
}
|
|
126
|
+
const styleEl = (css) => {
|
|
122
127
|
const style = document.createElement('style');
|
|
123
|
-
style.setAttribute('data-usa', id);
|
|
124
128
|
style.textContent = css;
|
|
125
|
-
|
|
126
|
-
}
|
|
129
|
+
return style;
|
|
130
|
+
};
|
|
127
131
|
/** Attach `css` to a shadow root (constructable sheet where supported, else `<style>`). */
|
|
128
132
|
function shadowStyles(root, css) {
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
const sheet = new CSSStyleSheet();
|
|
132
|
-
sheet.replaceSync(css);
|
|
133
|
-
root.adoptedStyleSheets = [sheet];
|
|
134
|
-
return;
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
catch {
|
|
138
|
-
/* fall through */
|
|
139
|
-
}
|
|
140
|
-
const style = document.createElement('style');
|
|
141
|
-
style.textContent = css;
|
|
142
|
-
root.prepend(style);
|
|
133
|
+
if (!adopt(root, css))
|
|
134
|
+
root.prepend(styleEl(css));
|
|
143
135
|
}
|
|
144
136
|
let baseClass = null;
|
|
145
137
|
/** The lazily created base class (needs `HTMLElement`). */
|
|
@@ -162,7 +154,7 @@ function getBase() {
|
|
|
162
154
|
styleLoader?.(this.localName);
|
|
163
155
|
// Upgraded while the parser is still inside us (a <script> in <head>
|
|
164
156
|
// defined the element): children/text are not there yet, so wait.
|
|
165
|
-
if (
|
|
157
|
+
if (document.readyState === 'loading' && !this.nextSibling && !this.childNodes.length) {
|
|
166
158
|
const go = () => {
|
|
167
159
|
if (this._connected && this.isConnected)
|
|
168
160
|
this.mount();
|
|
@@ -194,12 +186,11 @@ function getBase() {
|
|
|
194
186
|
mount() { }
|
|
195
187
|
unmount() { }
|
|
196
188
|
str(name, fallback = '') {
|
|
197
|
-
|
|
198
|
-
return v === null ? fallback : v;
|
|
189
|
+
return this.getAttribute(name) ?? fallback;
|
|
199
190
|
}
|
|
200
191
|
num(name, fallback) {
|
|
201
192
|
const v = this.getAttribute(name);
|
|
202
|
-
const n = v
|
|
193
|
+
const n = v?.trim() ? Number(v) : NaN;
|
|
203
194
|
return Number.isFinite(n) ? n : fallback;
|
|
204
195
|
}
|
|
205
196
|
/** Boolean attribute: present and not `"false"`. */
|
|
@@ -208,10 +199,7 @@ function getBase() {
|
|
|
208
199
|
return v !== null && v !== 'false';
|
|
209
200
|
}
|
|
210
201
|
setFlag(name, on) {
|
|
211
|
-
|
|
212
|
-
this.setAttribute(name, '');
|
|
213
|
-
else
|
|
214
|
-
this.removeAttribute(name);
|
|
202
|
+
this.toggleAttribute(name, !!on);
|
|
215
203
|
}
|
|
216
204
|
onCleanup(fn) {
|
|
217
205
|
this._cleanups.push(fn);
|
|
@@ -259,12 +247,8 @@ function getBase() {
|
|
|
259
247
|
* `null` (final frame applied) when nothing should animate.
|
|
260
248
|
*/
|
|
261
249
|
function animateWithMotion(el, keyframes, options) {
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
return null;
|
|
265
|
-
}
|
|
266
|
-
keyframes = adaptKeyframes(keyframes);
|
|
267
|
-
if (active >= maxActive) {
|
|
250
|
+
// no WAAPI / `static` → the unadapted final frame; over the animation budget → the adapted one
|
|
251
|
+
if (typeof el.animate !== 'function' || config.motionSensitivity === 'static' || ((keyframes = adaptKeyframes(keyframes)), active >= maxActive)) {
|
|
268
252
|
applyFrame(el, keyframes[keyframes.length - 1]);
|
|
269
253
|
return null;
|
|
270
254
|
}
|
|
@@ -322,41 +306,64 @@ function srText(text) {
|
|
|
322
306
|
return s;
|
|
323
307
|
}
|
|
324
308
|
// --- shared rAF scheduler (4.5) ----------------------------------------------
|
|
325
|
-
//
|
|
326
|
-
//
|
|
327
|
-
//
|
|
309
|
+
// One requestAnimationFrame per frame for every component loop; a throwing
|
|
310
|
+
// callback no longer starves the others (the first error is rethrown).
|
|
311
|
+
// 13.4: frame budget (over-budget callbacks wait for the next frame, oldest
|
|
312
|
+
// first); a callback / loop given an owner element is dropped once the owner
|
|
313
|
+
// is detached. Offscreen / hidden-tab pause is a plug-in (setPauseHook,
|
|
314
|
+
// installed by motionary/components/offscreen — not part of lite).
|
|
328
315
|
const frameQueue = /*#__PURE__*/ new Map();
|
|
329
316
|
let frameSeq = 1;
|
|
330
317
|
let frameHandle = 0;
|
|
331
318
|
let frameVia = null;
|
|
332
|
-
const frameStats = { frames: 0, callbacks: 0, peak: 0, last: 0 };
|
|
333
|
-
|
|
319
|
+
const frameStats = { frames: 0, callbacks: 0, peak: 0, last: 0, deferred: 0, parked: 0, budget: 8 };
|
|
320
|
+
/** loop → owner element */
|
|
321
|
+
const frameListeners = /*#__PURE__*/ new Map();
|
|
322
|
+
let pauseHook;
|
|
323
|
+
let watchHook;
|
|
324
|
+
/** 0 run, 1 park (detached owner / pause hook), 2 drop (raf callback of a detached owner). */
|
|
325
|
+
const gate = (el) => (el && !el.isConnected ? 2 : pauseHook?.(el) ? 1 : 0);
|
|
334
326
|
function flushFrame(t) {
|
|
327
|
+
const st = frameStats;
|
|
335
328
|
frameHandle = 0;
|
|
336
|
-
const dt =
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
const
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
329
|
+
const dt = st.last && t > st.last ? t - st.last : 16.7;
|
|
330
|
+
st.last = t;
|
|
331
|
+
st.frames++;
|
|
332
|
+
const start = now();
|
|
333
|
+
let n = 0;
|
|
334
|
+
let p = 0;
|
|
335
|
+
let live = 0;
|
|
343
336
|
let error = null;
|
|
344
|
-
for (const cb of
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
catch (e) {
|
|
349
|
-
error ?? (error = e);
|
|
337
|
+
for (const [id, [cb, el]] of [...frameQueue]) {
|
|
338
|
+
if (n && now() - start > st.budget) {
|
|
339
|
+
st.deferred++;
|
|
340
|
+
break;
|
|
350
341
|
}
|
|
342
|
+
const g = gate(el);
|
|
343
|
+
if (g & 1)
|
|
344
|
+
p++;
|
|
345
|
+
else if ((frameQueue.delete(id), !g))
|
|
346
|
+
try {
|
|
347
|
+
n++;
|
|
348
|
+
cb(t);
|
|
349
|
+
}
|
|
350
|
+
catch (e) {
|
|
351
|
+
error ?? (error = e);
|
|
352
|
+
}
|
|
351
353
|
}
|
|
354
|
+
st.callbacks += n;
|
|
355
|
+
st.peak = Math.max(st.peak, n);
|
|
352
356
|
// 8.0: loops run on the unified motion clock — dt scaled by its rate, frozen while paused
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
requestFlush();
|
|
357
|
+
const c = clk();
|
|
358
|
+
if (!c.paused) {
|
|
359
|
+
const cdt = dt * c.rate;
|
|
360
|
+
c.time += cdt;
|
|
361
|
+
frameListeners.forEach((el, fn) => (gate(el) ? p++ : (live++, fn(t, cdt))));
|
|
359
362
|
}
|
|
363
|
+
st.parked += p;
|
|
364
|
+
// everything parked: the pause hook's wake() restarts the loop
|
|
365
|
+
if (live || frameQueue.size > p)
|
|
366
|
+
requestFlush();
|
|
360
367
|
if (error)
|
|
361
368
|
throw error;
|
|
362
369
|
}
|
|
@@ -368,43 +375,67 @@ function requestFlush() {
|
|
|
368
375
|
frameVia = native;
|
|
369
376
|
frameHandle = native ? native(flushFrame) : setTimeout(() => flushFrame(now()), 16);
|
|
370
377
|
}
|
|
371
|
-
/**
|
|
372
|
-
|
|
378
|
+
/**
|
|
379
|
+
* requestAnimationFrame through the shared scheduler (timeout fallback in jsdom / hidden documents).
|
|
380
|
+
* 13.4: with an owner `el` the callback is dropped once `el` is detached (and paused off screen when the offscreen plug-in is installed).
|
|
381
|
+
*/
|
|
382
|
+
const raf = (cb, el) => {
|
|
373
383
|
const id = frameSeq++;
|
|
374
|
-
frameQueue.set(id, cb);
|
|
384
|
+
frameQueue.set(id, [cb, el]);
|
|
385
|
+
el && watchHook?.(el);
|
|
375
386
|
requestFlush();
|
|
376
387
|
return id;
|
|
377
388
|
};
|
|
378
|
-
/**
|
|
379
|
-
const now = () =>
|
|
389
|
+
/** High-resolution time (13.4: `performance` is global in every supported browser and Node ≥ 16). */
|
|
390
|
+
const now = () => performance.now();
|
|
380
391
|
const caf = (id) => {
|
|
381
392
|
frameQueue.delete(id);
|
|
382
393
|
};
|
|
383
|
-
/**
|
|
384
|
-
|
|
385
|
-
|
|
394
|
+
/**
|
|
395
|
+
* Run `fn(time, dt)` every frame on the shared scheduler until the returned function is called.
|
|
396
|
+
* 13.4: with an owner `el` the loop stops running once `el` is detached (and pauses off screen with the offscreen plug-in).
|
|
397
|
+
*/
|
|
398
|
+
function onFrame(fn, el) {
|
|
399
|
+
frameListeners.set(fn, el);
|
|
400
|
+
el && watchHook?.(el);
|
|
386
401
|
if (!clk().paused)
|
|
387
402
|
requestFlush();
|
|
388
403
|
return () => frameListeners.delete(fn);
|
|
389
404
|
}
|
|
390
|
-
/** Scheduler counters: frames flushed, callbacks run, peak callbacks
|
|
405
|
+
/** Scheduler counters: frames flushed, callbacks run, peak per frame, pending now, loops, frames split by the budget, callbacks / loops parked, budget ms. */
|
|
391
406
|
function schedulerStats() {
|
|
392
|
-
|
|
407
|
+
const { last, ...rest } = frameStats;
|
|
408
|
+
return { ...rest, pending: frameQueue.size, loops: frameListeners.size };
|
|
409
|
+
}
|
|
410
|
+
/** 13.4: per-frame time budget in ms for queued callbacks (default 8; `Infinity` = never split a frame). */
|
|
411
|
+
function setFrameBudget(ms) {
|
|
412
|
+
frameStats.budget = ms > 0 ? ms : 8;
|
|
413
|
+
}
|
|
414
|
+
/**
|
|
415
|
+
* 13.4: plug a pause predicate into the scheduler. `park(el)` returning truthy holds an owned
|
|
416
|
+
* callback / loop (el is undefined for unowned ones); `watch(el)` is told about every new owner.
|
|
417
|
+
* Returns `wake()`, to call when the predicate may have flipped back.
|
|
418
|
+
*/
|
|
419
|
+
function setPauseHook(park, watch) {
|
|
420
|
+
pauseHook = park;
|
|
421
|
+
watchHook = watch;
|
|
422
|
+
return requestFlush;
|
|
393
423
|
}
|
|
394
424
|
const CLOCK_KEY = /*#__PURE__*/ Symbol.for('motionary.clock');
|
|
395
425
|
// 11.1: created on first use, so importing this module writes nothing to globalThis.
|
|
396
426
|
const clk = () => { var _a; return ((_a = globalThis)[CLOCK_KEY] || (_a[CLOCK_KEY] = { rate: 1, paused: false, time: 0, anims: new Set(), subs: new Set() })); };
|
|
397
427
|
function applyClock(a) {
|
|
428
|
+
const { rate, paused } = clk();
|
|
398
429
|
try {
|
|
399
430
|
if (typeof a.updatePlaybackRate === 'function')
|
|
400
|
-
a.updatePlaybackRate(
|
|
401
|
-
else if (
|
|
402
|
-
a.playbackRate =
|
|
403
|
-
if (
|
|
431
|
+
a.updatePlaybackRate(rate);
|
|
432
|
+
else if (rate !== 1 || a.playbackRate !== undefined)
|
|
433
|
+
a.playbackRate = rate;
|
|
434
|
+
if (paused)
|
|
404
435
|
a.pause?.();
|
|
405
436
|
else if (a.playState === 'paused' && a._usaClockPaused)
|
|
406
437
|
a.play?.();
|
|
407
|
-
a._usaClockPaused =
|
|
438
|
+
a._usaClockPaused = paused;
|
|
408
439
|
}
|
|
409
440
|
catch {
|
|
410
441
|
/* finished / detached animation */
|
|
@@ -422,19 +453,21 @@ function trackAnimation(a) {
|
|
|
422
453
|
}
|
|
423
454
|
/** The motion clock's state: `rate` (1 = normal), `paused`, `time` (clock ms elapsed, scaled by rate). */
|
|
424
455
|
function getClock() {
|
|
425
|
-
|
|
456
|
+
const { rate, paused, time, anims } = clk();
|
|
457
|
+
return { rate, paused, time, tracked: anims.size };
|
|
426
458
|
}
|
|
427
459
|
/** Change the shared clock: `{ rate }` (0.05–8) and / or `{ paused }`. Applies to running animations and loops. */
|
|
428
460
|
function setClock(next) {
|
|
429
|
-
const
|
|
461
|
+
const c = clk();
|
|
462
|
+
const wasPaused = c.paused;
|
|
430
463
|
if (typeof next.rate === 'number' && Number.isFinite(next.rate))
|
|
431
|
-
|
|
464
|
+
c.rate = clamp(next.rate, 0.05, 8);
|
|
432
465
|
if (typeof next.paused === 'boolean')
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
if (wasPaused && !
|
|
466
|
+
c.paused = next.paused;
|
|
467
|
+
c.anims.forEach(applyClock);
|
|
468
|
+
if (wasPaused && !c.paused && frameListeners.size)
|
|
436
469
|
requestFlush();
|
|
437
|
-
|
|
470
|
+
c.subs.forEach((fn) => fn());
|
|
438
471
|
}
|
|
439
472
|
/** Subscribe to clock changes; returns an unsubscribe. */
|
|
440
473
|
function onClockChange(fn) {
|
|
@@ -468,8 +501,7 @@ function deprecate(key, message) {
|
|
|
468
501
|
if (warned.has(key))
|
|
469
502
|
return;
|
|
470
503
|
warned.add(key);
|
|
471
|
-
|
|
472
|
-
console.warn(`[motionary] ${message}`);
|
|
504
|
+
console.warn(`[motionary] ${message}`);
|
|
473
505
|
}
|
|
474
506
|
/**
|
|
475
507
|
* The `kind` attribute of `<usa-spinner>`, `<usa-check>`, `<usa-dialog>` and
|
|
@@ -513,9 +545,11 @@ exports.raf = raf;
|
|
|
513
545
|
exports.schedulerStats = schedulerStats;
|
|
514
546
|
exports.setAnimationBudget = setAnimationBudget;
|
|
515
547
|
exports.setClock = setClock;
|
|
548
|
+
exports.setFrameBudget = setFrameBudget;
|
|
549
|
+
exports.setPauseHook = setPauseHook;
|
|
516
550
|
exports.setStyleLoader = setStyleLoader;
|
|
517
551
|
exports.shadowStyles = shadowStyles;
|
|
518
552
|
exports.srText = srText;
|
|
519
553
|
exports.trackAnimation = trackAnimation;
|
|
520
554
|
exports.withoutDeprecations = withoutDeprecations;
|
|
521
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
555
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.4.0/dist/chunks/base-Do-R_9gU.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var base = require('./base-
|
|
3
|
+
var base = require('./base-Do-R_9gU.cjs');
|
|
4
4
|
var components_fxGenart = require('../components/fx-genart.cjs');
|
|
5
5
|
|
|
6
6
|
var css = "usa-bg-generator{display:block;max-width:100%;font:13px/1.3 system-ui,sans-serif;color:#0f172a}usa-bg-generator .usa-bg-preview{height:120px;border-radius:12px;box-shadow:inset 0 0 0 1px rgba(15,23,42,.1)}usa-bg-generator .usa-bg-controls{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:8px}usa-bg-generator label{display:inline-flex;gap:4px;align-items:center;font-weight:600}usa-bg-generator select,usa-bg-generator button{padding:5px 8px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;font:inherit;cursor:pointer}usa-bg-generator .usa-bg-copy{background:#4f46e5;border-color:#4f46e5;color:#fff}usa-bg-generator .usa-bg-code{display:block;margin-top:6px;padding:6px 8px;border-radius:7px;background:#0f172a;color:#e2e8f0;font:11px/1.4 ui-monospace,monospace;white-space:nowrap;overflow-x:auto}";
|
|
@@ -95,4 +95,4 @@ function defineBgGenerator(tag = 'usa-bg-generator') {
|
|
|
95
95
|
|
|
96
96
|
exports.backgroundCss = backgroundCss;
|
|
97
97
|
exports.defineBgGenerator = defineBgGenerator;
|
|
98
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
98
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.4.0/dist/chunks/bg-generator-C9ee__nJ.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as defineElement } from './base-
|
|
1
|
+
import { f as defineElement } from './base-Be98yNyq.js';
|
|
2
2
|
import { PALETTES, meshGradient } from '../components/fx-genart.js';
|
|
3
3
|
|
|
4
4
|
var css = "usa-bg-generator{display:block;max-width:100%;font:13px/1.3 system-ui,sans-serif;color:#0f172a}usa-bg-generator .usa-bg-preview{height:120px;border-radius:12px;box-shadow:inset 0 0 0 1px rgba(15,23,42,.1)}usa-bg-generator .usa-bg-controls{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:8px}usa-bg-generator label{display:inline-flex;gap:4px;align-items:center;font-weight:600}usa-bg-generator select,usa-bg-generator button{padding:5px 8px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;font:inherit;cursor:pointer}usa-bg-generator .usa-bg-copy{background:#4f46e5;border-color:#4f46e5;color:#fff}usa-bg-generator .usa-bg-code{display:block;margin-top:6px;padding:6px 8px;border-radius:7px;background:#0f172a;color:#e2e8f0;font:11px/1.4 ui-monospace,monospace;white-space:nowrap;overflow-x:auto}";
|
|
@@ -92,4 +92,4 @@ function defineBgGenerator(tag = 'usa-bg-generator') {
|
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
export { backgroundCss as b, defineBgGenerator as d };
|
|
95
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
95
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.4.0/dist/chunks/bg-generator-YTB0quZa.js.map
|
|
@@ -19,4 +19,4 @@ function bindUsa(el, binding = {}) {
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
export { bindUsa as b, usaEventName as u };
|
|
22
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
22
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.4.0/dist/chunks/bind-B_CTL6Qn.js.map
|
|
@@ -22,4 +22,4 @@ function bindUsa(el, binding = {}) {
|
|
|
22
22
|
|
|
23
23
|
exports.bindUsa = bindUsa;
|
|
24
24
|
exports.usaEventName = usaEventName;
|
|
25
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
25
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.4.0/dist/chunks/bind-Ui43-n2d.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as TIMELINE_PRESETS } from './core-
|
|
2
|
-
import { b as burst, c as confetti, s as shake } from './fx-
|
|
1
|
+
import { T as TIMELINE_PRESETS } from './core-RZkPEx8i.js';
|
|
2
|
+
import { b as burst, c as confetti, s as shake } from './fx-Wd1GKAzZ.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* 5.0 built-in effects, all registered through `registerEffect()`:
|
|
@@ -96,4 +96,4 @@ const click = [
|
|
|
96
96
|
const BUILTIN_EFFECTS = [...enter, ...attention, ...click];
|
|
97
97
|
|
|
98
98
|
export { BUILTIN_EFFECTS as B };
|
|
99
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
99
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.4.0/dist/chunks/builtins-BQZ7idez.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var core = require('./core-
|
|
4
|
-
var fx = require('./fx-
|
|
3
|
+
var core = require('./core-6FhnH_Kv.cjs');
|
|
4
|
+
var fx = require('./fx-O90ZgYwV.cjs');
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* 5.0 built-in effects, all registered through `registerEffect()`:
|
|
@@ -98,4 +98,4 @@ const click = [
|
|
|
98
98
|
const BUILTIN_EFFECTS = [...enter, ...attention, ...click];
|
|
99
99
|
|
|
100
100
|
exports.BUILTIN_EFFECTS = BUILTIN_EFFECTS;
|
|
101
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
101
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.4.0/dist/chunks/builtins-DGP3jBW1.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var base = require('./base-
|
|
3
|
+
var base = require('./base-Do-R_9gU.cjs');
|
|
4
4
|
var shared = require('./shared-Bf72wLyt.cjs');
|
|
5
5
|
|
|
6
6
|
var css = "usa-carousel{display:block;position:relative;--usa-carousel-dur:520ms;--usa-carousel-ease:cubic-bezier(.22,1,.36,1);overflow:hidden;border-radius:var(--usa-radius,14px);touch-action:pan-y}.usa-carousel-viewport{position:relative;overflow:hidden;height:100%;min-height:inherit}.usa-carousel-track{display:flex;height:100%;transition:transform var(--usa-carousel-dur) var(--usa-carousel-ease);will-change:transform}.usa-carousel-track>*{flex:0 0 100%;min-width:0;box-sizing:border-box}usa-carousel:not([data-effect=\"slide\"]) .usa-carousel-track{display:grid}usa-carousel:not([data-effect=\"slide\"]) .usa-carousel-track>*{grid-area:1/1;transition:opacity var(--usa-carousel-dur) ease,transform var(--usa-carousel-dur) var(--usa-carousel-ease),filter var(--usa-carousel-dur) ease}usa-carousel[data-effect=\"cards\"] .usa-carousel-viewport{perspective:900px}usa-carousel[data-dragging] .usa-carousel-track,usa-carousel[data-dragging] .usa-carousel-track>*{transition:none}.usa-carousel-nav{position:absolute;top:50%;translate:0 -50%;z-index:2;width:36px;height:36px;border-radius:50%;border:0;background:rgba(255,255,255,.85);color:#111;font:600 18px/1 system-ui;cursor:pointer;display:grid;place-items:center;box-shadow:0 4px 14px rgba(0,0,0,.18);transition:transform .2s}.usa-carousel-nav:hover{transform:scale(1.08)}.usa-carousel-nav:focus-visible{outline:2px solid #7c5cff;outline-offset:2px}.usa-carousel-prev{left:10px}.usa-carousel-next{right:10px}.usa-carousel-dots{position:absolute;left:0;right:0;bottom:10px;display:flex;justify-content:center;gap:6px;z-index:2}.usa-carousel-dot{width:8px;height:8px;padding:0;border:0;border-radius:99px;background:rgba(255,255,255,.55);cursor:pointer;transition:width .35s var(--usa-carousel-ease),background .35s}.usa-carousel-dot[aria-current=\"true\"]{width:22px;background:#fff}@media (prefers-reduced-motion:reduce){usa-carousel .usa-carousel-track,usa-carousel .usa-carousel-track>*,.usa-carousel-dot{transition:none!important}}usa-carousel[data-reduced] .usa-carousel-track,usa-carousel[data-reduced] .usa-carousel-track>*{transition:none!important}";
|
|
@@ -197,4 +197,4 @@ function defineCarousel(tag = 'usa-carousel') {
|
|
|
197
197
|
|
|
198
198
|
exports.CAROUSEL_EFFECTS = CAROUSEL_EFFECTS;
|
|
199
199
|
exports.defineCarousel = defineCarousel;
|
|
200
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
200
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.4.0/dist/chunks/carousel-9IQYg8lJ.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as defineElement } from './base-
|
|
1
|
+
import { f as defineElement } from './base-Be98yNyq.js';
|
|
2
2
|
import { o as ownChildren, d as dropParts, p as part, c as clampN } from './shared-o9CtwHmi.js';
|
|
3
3
|
|
|
4
4
|
var css = "usa-carousel{display:block;position:relative;--usa-carousel-dur:520ms;--usa-carousel-ease:cubic-bezier(.22,1,.36,1);overflow:hidden;border-radius:var(--usa-radius,14px);touch-action:pan-y}.usa-carousel-viewport{position:relative;overflow:hidden;height:100%;min-height:inherit}.usa-carousel-track{display:flex;height:100%;transition:transform var(--usa-carousel-dur) var(--usa-carousel-ease);will-change:transform}.usa-carousel-track>*{flex:0 0 100%;min-width:0;box-sizing:border-box}usa-carousel:not([data-effect=\"slide\"]) .usa-carousel-track{display:grid}usa-carousel:not([data-effect=\"slide\"]) .usa-carousel-track>*{grid-area:1/1;transition:opacity var(--usa-carousel-dur) ease,transform var(--usa-carousel-dur) var(--usa-carousel-ease),filter var(--usa-carousel-dur) ease}usa-carousel[data-effect=\"cards\"] .usa-carousel-viewport{perspective:900px}usa-carousel[data-dragging] .usa-carousel-track,usa-carousel[data-dragging] .usa-carousel-track>*{transition:none}.usa-carousel-nav{position:absolute;top:50%;translate:0 -50%;z-index:2;width:36px;height:36px;border-radius:50%;border:0;background:rgba(255,255,255,.85);color:#111;font:600 18px/1 system-ui;cursor:pointer;display:grid;place-items:center;box-shadow:0 4px 14px rgba(0,0,0,.18);transition:transform .2s}.usa-carousel-nav:hover{transform:scale(1.08)}.usa-carousel-nav:focus-visible{outline:2px solid #7c5cff;outline-offset:2px}.usa-carousel-prev{left:10px}.usa-carousel-next{right:10px}.usa-carousel-dots{position:absolute;left:0;right:0;bottom:10px;display:flex;justify-content:center;gap:6px;z-index:2}.usa-carousel-dot{width:8px;height:8px;padding:0;border:0;border-radius:99px;background:rgba(255,255,255,.55);cursor:pointer;transition:width .35s var(--usa-carousel-ease),background .35s}.usa-carousel-dot[aria-current=\"true\"]{width:22px;background:#fff}@media (prefers-reduced-motion:reduce){usa-carousel .usa-carousel-track,usa-carousel .usa-carousel-track>*,.usa-carousel-dot{transition:none!important}}usa-carousel[data-reduced] .usa-carousel-track,usa-carousel[data-reduced] .usa-carousel-track>*{transition:none!important}";
|
|
@@ -194,4 +194,4 @@ function defineCarousel(tag = 'usa-carousel') {
|
|
|
194
194
|
}
|
|
195
195
|
|
|
196
196
|
export { CAROUSEL_EFFECTS as C, defineCarousel as d };
|
|
197
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
197
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.4.0/dist/chunks/carousel-BQb8S9_i.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var base = require('./base-
|
|
3
|
+
var base = require('./base-Do-R_9gU.cjs');
|
|
4
4
|
|
|
5
5
|
var css = "usa-cart-drawer{position:relative;display:inline-block;font:500 13px/1.3 system-ui,sans-serif}.usa-cd2-toggle{position:relative;display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;background:var(--usa-cd2-btn,#f1f5f9);font-size:20px;cursor:pointer}.usa-cd2-badge{position:absolute;top:-2px;right:-2px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#ef4444;color:#fff;font:800 11px/18px system-ui,sans-serif;text-align:center}.usa-cd2-badge:empty{display:none}.usa-cd2-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:2147482000}.usa-cd2-panel{position:fixed;top:0;right:0;bottom:0;width:min(var(--usa-cd2-w,340px),92vw);display:flex;flex-direction:column;background:var(--usa-cd2-bg,#fff);color:#0f172a;box-shadow:-12px 0 40px -12px rgba(15,23,42,.4);z-index:2147482001;outline:none}.usa-cd2-panel header,.usa-cd2-panel footer{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid rgba(15,23,42,.08)}.usa-cd2-panel footer{border:0;border-top:1px solid rgba(15,23,42,.08);margin-top:auto;font-size:15px}.usa-cd2-close,.usa-cd2-rm{border:0;background:none;font-size:20px;line-height:1;cursor:pointer;color:inherit;opacity:.6}.usa-cd2-list{margin:0;padding:6px 8px;list-style:none;overflow:auto}.usa-cd2-item{display:grid;grid-template-columns:36px 1fr auto auto auto;align-items:center;gap:8px;padding:8px;border-radius:10px;overflow:hidden}.usa-cd2-item img,.usa-cd2-item i{width:36px;height:36px;border-radius:8px;object-fit:cover;background:linear-gradient(135deg,#a78bfa,#22d3ee)}.usa-cd2-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.usa-cd2-qty{opacity:.6}.usa-cd2-price,.usa-cd2-total{font-variant-numeric:tabular-nums;font-weight:700}.usa-cd2-empty{margin:24px;text-align:center;opacity:.55}.usa-cd2-panel[hidden],.usa-cd2-backdrop[hidden]{display:none}";
|
|
6
6
|
|
|
@@ -162,9 +162,9 @@ function defineCartDrawer(tag = 'usa-cart-drawer') {
|
|
|
162
162
|
const k = Math.min(1, (now - t0) / 500);
|
|
163
163
|
tot.textContent = `${cur}${(from + (to - from) * (1 - Math.pow(1 - k, 3))).toFixed(2)}`;
|
|
164
164
|
if (k < 1)
|
|
165
|
-
|
|
165
|
+
base.raf(f);
|
|
166
166
|
};
|
|
167
|
-
|
|
167
|
+
base.raf(f);
|
|
168
168
|
}
|
|
169
169
|
this.emit('change', { items: this.items, total: to });
|
|
170
170
|
}
|
|
@@ -175,4 +175,4 @@ function defineCartDrawer(tag = 'usa-cart-drawer') {
|
|
|
175
175
|
|
|
176
176
|
exports.cartTotal = cartTotal;
|
|
177
177
|
exports.defineCartDrawer = defineCartDrawer;
|
|
178
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
178
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.4.0/dist/chunks/cart-drawer-DSRylorb.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as defineElement } from './base-
|
|
1
|
+
import { f as defineElement, r as raf } from './base-Be98yNyq.js';
|
|
2
2
|
|
|
3
3
|
var css = "usa-cart-drawer{position:relative;display:inline-block;font:500 13px/1.3 system-ui,sans-serif}.usa-cd2-toggle{position:relative;display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;background:var(--usa-cd2-btn,#f1f5f9);font-size:20px;cursor:pointer}.usa-cd2-badge{position:absolute;top:-2px;right:-2px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#ef4444;color:#fff;font:800 11px/18px system-ui,sans-serif;text-align:center}.usa-cd2-badge:empty{display:none}.usa-cd2-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:2147482000}.usa-cd2-panel{position:fixed;top:0;right:0;bottom:0;width:min(var(--usa-cd2-w,340px),92vw);display:flex;flex-direction:column;background:var(--usa-cd2-bg,#fff);color:#0f172a;box-shadow:-12px 0 40px -12px rgba(15,23,42,.4);z-index:2147482001;outline:none}.usa-cd2-panel header,.usa-cd2-panel footer{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid rgba(15,23,42,.08)}.usa-cd2-panel footer{border:0;border-top:1px solid rgba(15,23,42,.08);margin-top:auto;font-size:15px}.usa-cd2-close,.usa-cd2-rm{border:0;background:none;font-size:20px;line-height:1;cursor:pointer;color:inherit;opacity:.6}.usa-cd2-list{margin:0;padding:6px 8px;list-style:none;overflow:auto}.usa-cd2-item{display:grid;grid-template-columns:36px 1fr auto auto auto;align-items:center;gap:8px;padding:8px;border-radius:10px;overflow:hidden}.usa-cd2-item img,.usa-cd2-item i{width:36px;height:36px;border-radius:8px;object-fit:cover;background:linear-gradient(135deg,#a78bfa,#22d3ee)}.usa-cd2-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.usa-cd2-qty{opacity:.6}.usa-cd2-price,.usa-cd2-total{font-variant-numeric:tabular-nums;font-weight:700}.usa-cd2-empty{margin:24px;text-align:center;opacity:.55}.usa-cd2-panel[hidden],.usa-cd2-backdrop[hidden]{display:none}";
|
|
4
4
|
|
|
@@ -160,9 +160,9 @@ function defineCartDrawer(tag = 'usa-cart-drawer') {
|
|
|
160
160
|
const k = Math.min(1, (now - t0) / 500);
|
|
161
161
|
tot.textContent = `${cur}${(from + (to - from) * (1 - Math.pow(1 - k, 3))).toFixed(2)}`;
|
|
162
162
|
if (k < 1)
|
|
163
|
-
|
|
163
|
+
raf(f);
|
|
164
164
|
};
|
|
165
|
-
|
|
165
|
+
raf(f);
|
|
166
166
|
}
|
|
167
167
|
this.emit('change', { items: this.items, total: to });
|
|
168
168
|
}
|
|
@@ -172,4 +172,4 @@ function defineCartDrawer(tag = 'usa-cart-drawer') {
|
|
|
172
172
|
}
|
|
173
173
|
|
|
174
174
|
export { cartTotal as c, defineCartDrawer as d };
|
|
175
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
175
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.4.0/dist/chunks/cart-drawer-DsCXMYO2.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as defineElement,
|
|
1
|
+
import { f as defineElement, I as queryAttr } from './base-Be98yNyq.js';
|
|
2
2
|
import { a as arrowIndex } from './shared-o9CtwHmi.js';
|
|
3
3
|
|
|
4
4
|
var css = "usa-code-export{display:block;max-width:100%;border-radius:12px;overflow:hidden;background:#0f172a;color:#e2e8f0;font:13px/1.4 system-ui,sans-serif}usa-code-export>:not([data-usa-part]){display:block;margin:12px auto}usa-code-export:not([for])>:not([data-usa-part]){padding:0 12px}usa-code-export .usa-ce-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 8px;background:#1e293b}usa-code-export [role=tablist]{display:flex;gap:2px}usa-code-export button{padding:5px 10px;border:0;border-radius:6px;background:none;color:#94a3b8;font:600 12px/1 system-ui,sans-serif;cursor:pointer}usa-code-export [aria-selected=true]{background:#334155;color:#fff}usa-code-export .usa-ce-copy{background:#4f46e5;color:#fff}usa-code-export button:focus-visible,usa-code-export pre:focus-visible{outline:2px solid #818cf8;outline-offset:1px}usa-code-export pre{margin:0;padding:10px 12px;max-height:220px;overflow:auto;font:12px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:pre;color:#e2e8f0;background:#0f172a}";
|
|
@@ -175,4 +175,4 @@ function defineCodeExport(tag = 'usa-code-export') {
|
|
|
175
175
|
}
|
|
176
176
|
|
|
177
177
|
export { describeComponent as a, defineCodeExport as d, exportComponent as e };
|
|
178
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
178
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.4.0/dist/chunks/code-export-BAM59KC-.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var base = require('./base-
|
|
3
|
+
var base = require('./base-Do-R_9gU.cjs');
|
|
4
4
|
var shared = require('./shared-Bf72wLyt.cjs');
|
|
5
5
|
|
|
6
6
|
var css = "usa-code-export{display:block;max-width:100%;border-radius:12px;overflow:hidden;background:#0f172a;color:#e2e8f0;font:13px/1.4 system-ui,sans-serif}usa-code-export>:not([data-usa-part]){display:block;margin:12px auto}usa-code-export:not([for])>:not([data-usa-part]){padding:0 12px}usa-code-export .usa-ce-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 8px;background:#1e293b}usa-code-export [role=tablist]{display:flex;gap:2px}usa-code-export button{padding:5px 10px;border:0;border-radius:6px;background:none;color:#94a3b8;font:600 12px/1 system-ui,sans-serif;cursor:pointer}usa-code-export [aria-selected=true]{background:#334155;color:#fff}usa-code-export .usa-ce-copy{background:#4f46e5;color:#fff}usa-code-export button:focus-visible,usa-code-export pre:focus-visible{outline:2px solid #818cf8;outline-offset:1px}usa-code-export pre{margin:0;padding:10px 12px;max-height:220px;overflow:auto;font:12px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:pre;color:#e2e8f0;background:#0f172a}";
|
|
@@ -179,4 +179,4 @@ function defineCodeExport(tag = 'usa-code-export') {
|
|
|
179
179
|
exports.defineCodeExport = defineCodeExport;
|
|
180
180
|
exports.describeComponent = describeComponent;
|
|
181
181
|
exports.exportComponent = exportComponent;
|
|
182
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
182
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.4.0/dist/chunks/code-export-CTdTKJWS.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var base = require('./base-
|
|
3
|
+
var base = require('./base-Do-R_9gU.cjs');
|
|
4
4
|
var shared = require('./shared-Bf72wLyt.cjs');
|
|
5
5
|
|
|
6
6
|
var css = "usa-color-picker{display:inline-flex;flex-direction:column;gap:10px;width:var(--usa-cp-w,240px);max-width:100%;padding:12px;border-radius:16px;background:var(--usa-cp-bg,#fff);box-shadow:0 10px 30px -12px rgba(0,0,0,.3)}.usa-cp-sv{position:relative;height:140px;border-radius:10px;background:linear-gradient(to top,#000,transparent),linear-gradient(to right,#fff,hsl(var(--usa-cp-h) 100% 50%));cursor:crosshair;touch-action:none;outline-offset:2px}.usa-cp-thumb{position:absolute;left:var(--usa-cp-x);top:var(--usa-cp-y);width:18px;height:18px;margin:-9px 0 0 -9px;border-radius:50%;background:var(--usa-cp-color);box-shadow:0 0 0 3px #fff,0 2px 6px rgba(0,0,0,.4);pointer-events:none;transition:left .18s cubic-bezier(.3,1.4,.5,1),top .18s cubic-bezier(.3,1.4,.5,1),transform .2s}[data-drag]>.usa-cp-thumb{transition:none;transform:scale(1.2)}.usa-cp-row{display:flex;align-items:center;gap:10px}.usa-cp-chip{flex:none;width:30px;height:30px;border-radius:50%;background:var(--usa-cp-color);box-shadow:inset 0 0 0 1px rgba(0,0,0,.1)}.usa-cp-hue{position:relative;flex:1;height:14px;border-radius:7px;background:linear-gradient(90deg,red,#ff0,lime,cyan,blue,#f0f,red);cursor:pointer;touch-action:none;outline-offset:2px}.usa-cp-hue .usa-cp-thumb{left:var(--usa-cp-hx);top:50%;background:hsl(var(--usa-cp-h) 100% 50%)}.usa-cp-swatches{display:flex;flex-wrap:wrap;gap:6px}.usa-cp-sw{width:22px;height:22px;border:0;border-radius:50%;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(0,0,0,.12)}.usa-cp-sv:focus-visible,.usa-cp-hue:focus-visible,.usa-cp-sw:focus-visible{outline:2px solid #7c5cff}@media (prefers-reduced-motion:reduce){.usa-cp-thumb{transition:none}}";
|
|
@@ -131,4 +131,4 @@ function defineColorPicker(tag = 'usa-color-picker') {
|
|
|
131
131
|
exports.defineColorPicker = defineColorPicker;
|
|
132
132
|
exports.hexToHsv = hexToHsv;
|
|
133
133
|
exports.hsvToHex = hsvToHex;
|
|
134
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
134
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.4.0/dist/chunks/color-picker-Cgj4F5G-.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as defineElement } from './base-
|
|
1
|
+
import { f as defineElement } from './base-Be98yNyq.js';
|
|
2
2
|
import { c as clampN } from './shared-o9CtwHmi.js';
|
|
3
3
|
|
|
4
4
|
var css = "usa-color-picker{display:inline-flex;flex-direction:column;gap:10px;width:var(--usa-cp-w,240px);max-width:100%;padding:12px;border-radius:16px;background:var(--usa-cp-bg,#fff);box-shadow:0 10px 30px -12px rgba(0,0,0,.3)}.usa-cp-sv{position:relative;height:140px;border-radius:10px;background:linear-gradient(to top,#000,transparent),linear-gradient(to right,#fff,hsl(var(--usa-cp-h) 100% 50%));cursor:crosshair;touch-action:none;outline-offset:2px}.usa-cp-thumb{position:absolute;left:var(--usa-cp-x);top:var(--usa-cp-y);width:18px;height:18px;margin:-9px 0 0 -9px;border-radius:50%;background:var(--usa-cp-color);box-shadow:0 0 0 3px #fff,0 2px 6px rgba(0,0,0,.4);pointer-events:none;transition:left .18s cubic-bezier(.3,1.4,.5,1),top .18s cubic-bezier(.3,1.4,.5,1),transform .2s}[data-drag]>.usa-cp-thumb{transition:none;transform:scale(1.2)}.usa-cp-row{display:flex;align-items:center;gap:10px}.usa-cp-chip{flex:none;width:30px;height:30px;border-radius:50%;background:var(--usa-cp-color);box-shadow:inset 0 0 0 1px rgba(0,0,0,.1)}.usa-cp-hue{position:relative;flex:1;height:14px;border-radius:7px;background:linear-gradient(90deg,red,#ff0,lime,cyan,blue,#f0f,red);cursor:pointer;touch-action:none;outline-offset:2px}.usa-cp-hue .usa-cp-thumb{left:var(--usa-cp-hx);top:50%;background:hsl(var(--usa-cp-h) 100% 50%)}.usa-cp-swatches{display:flex;flex-wrap:wrap;gap:6px}.usa-cp-sw{width:22px;height:22px;border:0;border-radius:50%;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(0,0,0,.12)}.usa-cp-sv:focus-visible,.usa-cp-hue:focus-visible,.usa-cp-sw:focus-visible{outline:2px solid #7c5cff}@media (prefers-reduced-motion:reduce){.usa-cp-thumb{transition:none}}";
|
|
@@ -127,4 +127,4 @@ function defineColorPicker(tag = 'usa-color-picker') {
|
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
export { hsvToHex as a, defineColorPicker as d, hexToHsv as h };
|
|
130
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
130
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.4.0/dist/chunks/color-picker-zYIs1UU8.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var base = require('./base-
|
|
3
|
+
var base = require('./base-Do-R_9gU.cjs');
|
|
4
4
|
|
|
5
5
|
var css = "usa-command-palette{display:contents;--usa-cp-accent:#6366f1}usa-command-palette>option{display:none}.usa-cp{width:min(560px,calc(100vw - 24px));max-width:none;padding:0;margin:12vh auto auto;border:0;border-radius:16px;background:transparent;color:inherit;overflow:visible}.usa-cp::backdrop{background:rgba(15,23,42,.35);backdrop-filter:blur(3px)}.usa-cp-box{border-radius:16px;background:var(--usa-cp-bg,#fff);color:var(--usa-cp-fg,#0f172a);box-shadow:0 24px 60px -20px rgba(15,23,42,.55);border:1px solid rgba(100,116,139,.2);overflow:hidden;font:500 14px/1.3 system-ui,sans-serif}.usa-cp-q{box-sizing:border-box;width:100%;padding:16px 18px;border:0;border-bottom:1px solid rgba(100,116,139,.18);background:transparent;color:inherit;font:inherit;font-size:16px;outline:none}.usa-cp-list{position:relative;max-height:min(340px,50vh);overflow-y:auto;padding:6px}.usa-cp-hl{position:absolute;left:6px;right:6px;top:0;border-radius:10px;background:color-mix(in srgb,var(--usa-cp-accent) 12%,transparent);pointer-events:none;opacity:0}.usa-cp-group{padding:8px 10px 4px;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;opacity:.55}.usa-cp-item{position:relative;display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:10px;cursor:pointer}.usa-cp-item[aria-selected=true] .usa-cp-label{color:var(--usa-cp-accent)}.usa-cp-label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.usa-cp-label mark{background:none;color:var(--usa-cp-accent);font-weight:800}.usa-cp-keys{display:flex;gap:3px}.usa-cp-keys kbd,usa-shortcut kbd{display:inline-grid;place-items:center;min-width:1.6em;padding:2px 5px;border-radius:5px;border:1px solid rgba(100,116,139,.35);border-bottom-width:2px;background:var(--usa-kbd-bg,rgba(148,163,184,.12));font:600 11px/1.3 system-ui,sans-serif;color:inherit}.usa-cp-empty{margin:0;padding:18px;text-align:center;opacity:.6}usa-command-palette[inline]{display:block;width:var(--usa-cp-w,100%);max-width:100%}usa-command-palette[inline] .usa-cp{position:static;width:100%;margin:0}usa-command-palette[inline] .usa-cp-box{box-shadow:0 12px 30px -18px rgba(15,23,42,.45)}";
|
|
6
6
|
|
|
@@ -268,4 +268,4 @@ exports.defineCommandPalette = defineCommandPalette;
|
|
|
268
268
|
exports.fuzzyMatch = fuzzyMatch;
|
|
269
269
|
exports.keyLabels = keyLabels;
|
|
270
270
|
exports.matchesKeys = matchesKeys;
|
|
271
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
271
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.4.0/dist/chunks/command-palette-Oiq7KY7o.cjs.map
|