motionary 13.4.0 → 13.5.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 +43 -0
- package/README.md +9 -6
- package/dist/chunks/{anim-image-DnpOI25h.cjs → anim-image-CSVlsA0t.cjs} +2 -2
- package/dist/chunks/{anim-image-Czp1v-zv.js → anim-image-D6yGJ5SF.js} +2 -2
- package/dist/chunks/{audio-DJkvNk0A.js → audio-CZgCXg1t.js} +4 -4
- package/dist/chunks/{audio-D7Dk2gUF.cjs → audio-D0LwPShE.cjs} +4 -4
- package/dist/chunks/{badge-wall-C6St1WyC.js → badge-wall-C0gJ_Kck.js} +2 -2
- package/dist/chunks/{badge-wall-BkqFzeUf.cjs → badge-wall-CITexuW7.cjs} +2 -2
- package/dist/chunks/{base-Do-R_9gU.cjs → base-BvH4nAcv.cjs} +15 -27
- package/dist/chunks/{base-Be98yNyq.js → base-C9CJrhL3.js} +15 -27
- package/dist/chunks/{bg-generator-C9ee__nJ.cjs → bg-generator-CML8tPN8.cjs} +2 -2
- package/dist/chunks/{bg-generator-YTB0quZa.js → bg-generator-oRwfTA5B.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-DGP3jBW1.cjs → builtins-DweCp29Z.cjs} +3 -3
- package/dist/chunks/{builtins-BQZ7idez.js → builtins-SwWQKzb-.js} +3 -3
- package/dist/chunks/{carousel-9IQYg8lJ.cjs → carousel-DU3rHTq0.cjs} +2 -2
- package/dist/chunks/{carousel-BQb8S9_i.js → carousel-u6rqMqGu.js} +2 -2
- package/dist/chunks/{cart-drawer-DsCXMYO2.js → cart-drawer-CEIZfCw8.js} +2 -2
- package/dist/chunks/{cart-drawer-DSRylorb.cjs → cart-drawer-CkFMKMhx.cjs} +2 -2
- package/dist/chunks/{code-export-CTdTKJWS.cjs → code-export-PdGSl9WE.cjs} +2 -2
- package/dist/chunks/{code-export-BAM59KC-.js → code-export-wdrBIWRv.js} +2 -2
- package/dist/chunks/{color-picker-Cgj4F5G-.cjs → color-picker-B_xWVH8H.cjs} +2 -2
- package/dist/chunks/{color-picker-zYIs1UU8.js → color-picker-CN8ThZfh.js} +2 -2
- package/dist/chunks/{command-palette-WCKbmW2N.js → command-palette-IJuNiXhv.js} +2 -2
- package/dist/chunks/{command-palette-Oiq7KY7o.cjs → command-palette-ISetAeX1.cjs} +2 -2
- package/dist/chunks/{core-RZkPEx8i.js → core-B9Sjd4AV.js} +2 -2
- package/dist/chunks/{core-FB2gL64M.js → core-BZhM_0Zh.js} +2 -2
- package/dist/chunks/core-BjcOCpJt.cjs +1 -1
- package/dist/chunks/{core-B2156q7g.cjs → core-DbAYRKnS.cjs} +2 -2
- package/dist/chunks/core-Dj6iomdc.js +1 -1
- package/dist/chunks/{core-6FhnH_Kv.cjs → core-DjjKLmZ6.cjs} +2 -2
- package/dist/chunks/{countdown-oB1KGHQe.cjs → countdown-RQViryt7.cjs} +2 -2
- package/dist/chunks/{countdown-BKcrUeQ5.js → countdown-WDZxXQz7.js} +2 -2
- package/dist/chunks/{date-picker-Bcez28ox.cjs → date-picker-BgApzPNn.cjs} +2 -2
- package/dist/chunks/{date-picker-Dx4vGYze.js → date-picker-D4yqKTMJ.js} +2 -2
- package/dist/chunks/ease-HwYZnZat.cjs +1 -1
- package/dist/chunks/ease-XN8_0sXu.js +1 -1
- package/dist/chunks/{equalizer-D8SG0IDP.js → equalizer-CwGL1sD8.js} +2 -2
- package/dist/chunks/{equalizer-XIVScpXr.cjs → equalizer-_eD_ZdCl.cjs} +2 -2
- package/dist/chunks/{festival-banner-TmiGZdmC.cjs → festival-banner-Bs18K0MJ.cjs} +2 -2
- package/dist/chunks/{festival-banner-C6y_nEAX.js → festival-banner-Dslu8K1g.js} +2 -2
- package/dist/chunks/{field-Do9yU2oB.js → field-DALTalya.js} +2 -2
- package/dist/chunks/{field-Bg6pHLD3.cjs → field-Dwq8-CLN.cjs} +2 -2
- package/dist/chunks/{fx-O90ZgYwV.cjs → fx-DaVuB89C.cjs} +2 -2
- package/dist/chunks/{fx-Wd1GKAzZ.js → fx-Dc1sMyNg.js} +2 -2
- package/dist/chunks/{generative-BTya0iHP.cjs → generative-BKoxWOSP.cjs} +2 -2
- package/dist/chunks/{generative-DkX6SvrL.js → generative-DWdAwxYB.js} +2 -2
- package/dist/chunks/{gl-scene-CZEQJPar.js → gl-scene-BjQkVhUh.js} +3 -3
- package/dist/chunks/{gl-scene-SRaGcmCA.cjs → gl-scene-Ccn_PpRS.cjs} +3 -3
- package/dist/chunks/{globe-D_S-FB8k.js → globe-D56xlOmk.js} +2 -2
- package/dist/chunks/{globe-BOS1Kb8J.cjs → globe-DA0jyb6s.cjs} +2 -2
- package/dist/chunks/{gpu-B8vgh4lW.js → gpu-7AY-uzNc.js} +4 -4
- package/dist/chunks/{gpu--UifKXUA.cjs → gpu-DTO3JmAF.cjs} +4 -4
- package/dist/chunks/{gpu-particles-DaRztimn.js → gpu-particles-4DBj91f-.js} +2 -2
- package/dist/chunks/{gpu-particles-DICAeqwO.cjs → gpu-particles-wEO_rds1.cjs} +2 -2
- 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-DWmt9GdV.cjs → keyframes-DyniziL4.cjs} +2 -2
- package/dist/chunks/{keyframes-DE4F_oWc.js → keyframes-t521frAa.js} +2 -2
- package/dist/chunks/{leaderboard-BKmKMStS.cjs → leaderboard-DvSSQ8o3.cjs} +2 -2
- package/dist/chunks/{leaderboard-CdMYDeaT.js → leaderboard-_UPi0KQX.js} +2 -2
- package/dist/chunks/{location-card-C_3CQ3u-.js → location-card-Bq596aK5.js} +2 -2
- package/dist/chunks/{location-card-Bxemk6MJ.cjs → location-card-DSPTApUe.cjs} +2 -2
- package/dist/chunks/{lottie-icon-Dyz8XJm5.cjs → lottie-icon-BoxkukMd.cjs} +2 -2
- package/dist/chunks/{lottie-icon-oGP5LQ4G.js → lottie-icon-pqBgCV0y.js} +2 -2
- package/dist/chunks/{lottie-player-Dr6ZGZZ9.js → lottie-player-C9X0Gp_E.js} +3 -3
- package/dist/chunks/{lottie-player-m8yiMFGM.cjs → lottie-player-D6YGOx39.cjs} +3 -3
- package/dist/chunks/{lyrics-BuVT1PyD.cjs → lyrics-CRB7dA1j.cjs} +2 -2
- package/dist/chunks/{lyrics-DlNbqyV3.js → lyrics-D7mzxVIq.js} +2 -2
- package/dist/chunks/{manifest-C6nei25r.js → manifest-CqfKtjeL.js} +2 -2
- package/dist/chunks/{manifest-DcyvsF07.cjs → manifest-xr3WET80.cjs} +2 -2
- package/dist/chunks/{menu-CZj0BChd.cjs → menu-CZ1zHTT9.cjs} +2 -2
- package/dist/chunks/{menu-hmi07frR.js → menu-XcdMtcfw.js} +2 -2
- package/dist/chunks/{menu-toggle-Bef1YqbK.cjs → menu-toggle-DGXN4VsN.cjs} +2 -2
- package/dist/chunks/{menu-toggle--mqC1pWc.js → menu-toggle-RD6Fu1Gm.js} +2 -2
- package/dist/chunks/{nav-morph-C7nb0-oA.cjs → nav-morph-C4rD3wrU.cjs} +2 -2
- package/dist/chunks/{nav-morph-k7sIJdS3.js → nav-morph-F6qzM20K.js} +2 -2
- package/dist/chunks/{otp-B9ctuDQG.js → otp-BJKyY7I3.js} +2 -2
- package/dist/chunks/{otp-VBvUiZhb.cjs → otp-DUyEWYMi.cjs} +2 -2
- package/dist/chunks/{pagination-BiVi2UVo.js → pagination-D6iMBStU.js} +2 -2
- package/dist/chunks/{pagination-DLTCrJwy.cjs → pagination-DHmYZZU9.cjs} +2 -2
- package/dist/chunks/{physics-playground-CJMHlyVL.cjs → physics-playground-BJx2yVvV.cjs} +3 -3
- package/dist/chunks/{physics-playground-DwL_sPea.js → physics-playground-C8jCWhgK.js} +3 -3
- package/dist/chunks/{player-BdKLax0N.js → player-BTaPvK8G.js} +4 -4
- package/dist/chunks/{player-CbCdaCgu.cjs → player-BZOkQbZ9.cjs} +4 -4
- package/dist/chunks/{presence-DnBQPaaY.js → presence-6eQ9t5vX.js} +2 -2
- package/dist/chunks/{presence-5lrgeDaX.cjs → presence-DAthlALi.cjs} +2 -2
- package/dist/chunks/presets-BYBVJVeP.js +1 -1
- package/dist/chunks/presets-CUHys3sK.cjs +1 -1
- package/dist/chunks/{prize-wheel-CYH2ZPIu.js → prize-wheel-CpGVo8QG.js} +2 -2
- package/dist/chunks/{prize-wheel-BA1q90gH.cjs → prize-wheel-emDopI5c.cjs} +2 -2
- package/dist/chunks/{product-gallery-7iuP6mwb.js → product-gallery-BmnYLKAQ.js} +2 -2
- package/dist/chunks/{product-gallery-Dc7JVl8a.cjs → product-gallery-CKtSVhZk.cjs} +2 -2
- package/dist/chunks/{progress-ring-DDqq7gdF.cjs → progress-ring-C75O4MUi.cjs} +2 -2
- package/dist/chunks/{progress-ring-Ba9YULbX.js → progress-ring-CKgR1GRB.js} +2 -2
- package/dist/chunks/{prop-panel-CS-i1ddG.js → prop-panel-BjbCiPAB.js} +2 -2
- package/dist/chunks/{prop-panel-Dzx20-yH.cjs → prop-panel-DFqga6H5.cjs} +2 -2
- package/dist/chunks/{radar-BQo33pqi.cjs → radar-D-bZRrgs.cjs} +2 -2
- package/dist/chunks/{radar-DJ-g9iCt.js → radar-rBQT1BFh.js} +2 -2
- package/dist/chunks/{reactions-B64fCmEB.cjs → reactions-BL2iO8iy.cjs} +2 -2
- package/dist/chunks/{reactions-CLwwZmwU.js → reactions-CsdP0Su5.js} +2 -2
- package/dist/chunks/{registry-CyVCJneg.cjs → registry-CibnX7Ui.cjs} +2 -2
- package/dist/chunks/{registry-c80No5j_.cjs → registry-D4qv6B49.cjs} +2 -2
- package/dist/chunks/{registry-BEIhIRTY.js → registry-DKs_BiEo.js} +2 -2
- package/dist/chunks/{registry-BUmmzmpq.js → registry-Ng9TVXnA.js} +2 -2
- package/dist/chunks/{retro-button-BFF6rtya.js → retro-button-Bw4sqAkl.js} +2 -2
- package/dist/chunks/{retro-button-BQNrjtEi.cjs → retro-button-DrrBZ6w8.cjs} +2 -2
- package/dist/chunks/{rive-Dr8J-ESq.cjs → rive-D6X4J0Mi.cjs} +2 -2
- package/dist/chunks/{rive-C9ySVu0Q.js → rive-FjeW9KDl.js} +2 -2
- package/dist/chunks/{runtime-link-mepflyss.js → runtime-link-BZd9tPZE.js} +2 -2
- package/dist/chunks/{runtime-link-D3-QlIsO.cjs → runtime-link-DDGDuR6q.cjs} +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-BWY-mgkQ.js → scroll-scene-CgFA-E0N.js} +4 -4
- package/dist/chunks/{scroll-scene-YLwbThAg.cjs → scroll-scene-Ch5d1PER.cjs} +4 -4
- package/dist/chunks/{segmented-B-Fafr8-.js → segmented-BEep92iW.js} +2 -2
- package/dist/chunks/{segmented-C1wgQyHN.cjs → segmented-CpB4mKIn.cjs} +2 -2
- package/dist/chunks/{shader-backdrop-BXGpaRMH.cjs → shader-backdrop-C4UhepvI.cjs} +2 -2
- package/dist/chunks/{shader-backdrop-DnT3eoNa.js → shader-backdrop-DC0ZvVMV.js} +2 -2
- 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-V2M4Hqeg.cjs → sheet-B38ylIEW.cjs} +2 -2
- package/dist/chunks/{sheet-CtmrBo6Z.js → sheet-BHTMF8qx.js} +2 -2
- package/dist/chunks/sign-DvZ1jHxE.js +1 -1
- package/dist/chunks/sign-RAkQIWrM.cjs +1 -1
- package/dist/chunks/{skeleton-reveal-CVrbqy61.js → skeleton-reveal-BMrbmru6.js} +2 -2
- package/dist/chunks/{skeleton-reveal-qCjodjPN.cjs → skeleton-reveal-Dsd3Wp0n.cjs} +2 -2
- package/dist/chunks/{sparkline-BUBWK0k8.cjs → sparkline-DeKhZpVo.cjs} +2 -2
- package/dist/chunks/{sparkline-B07Pc0F5.js → sparkline-htTaTcgs.js} +2 -2
- package/dist/chunks/{spring-p9RY-4VF.js → spring-DBCejV_z.js} +2 -2
- package/dist/chunks/{spring-B0v7o7dG.cjs → spring-XEl_diDJ.cjs} +2 -2
- package/dist/chunks/stagger-B9sKPwQB.js +1 -1
- package/dist/chunks/stagger-DFKwqOQG.cjs +1 -1
- package/dist/chunks/{suggestion-chips-CnCb3mOH.cjs → suggestion-chips-CAcbFTr4.cjs} +2 -2
- package/dist/chunks/{suggestion-chips-C5jM-6sb.js → suggestion-chips-Cj70JCtZ.js} +2 -2
- package/dist/chunks/{switch-Ch0OQ9TC.js → switch-CnSs8nDn.js} +2 -2
- package/dist/chunks/{switch-mpVeEIno.cjs → switch-DiTlApGd.cjs} +2 -2
- package/dist/chunks/{tab-bar-DUCZzsih.js → tab-bar-B7hFB974.js} +2 -2
- package/dist/chunks/{tab-bar-sXS1oYQ3.cjs → tab-bar-BBlVAqbq.cjs} +2 -2
- package/dist/chunks/{ticker-BFq0AxP5.cjs → ticker-Bcx-J0T3.cjs} +2 -2
- package/dist/chunks/{ticker-DtCFsNm7.js → ticker-DZN0D39q.js} +2 -2
- package/dist/chunks/{tip-ICi0K5SV.cjs → tip-VGS3qAUm.cjs} +2 -2
- package/dist/chunks/{tip-B-mmUYra.js → tip-ylGHoOIf.js} +2 -2
- package/dist/chunks/{toast-stack-BK0eWurx.cjs → toast-stack-DprisNp_.cjs} +3 -3
- package/dist/chunks/{toast-stack-DBGrj6zP.js → toast-stack-Z_5cS1Nz.js} +3 -3
- package/dist/chunks/{tween-DUYiyPH_.cjs → tween-C755kVRe.cjs} +2 -2
- package/dist/chunks/{tween-DehPKIbN.js → tween-DZdCTOBG.js} +2 -2
- package/dist/chunks/{upload-progress-fBjRmlqD.cjs → upload-progress-CEAWkP-p.cjs} +2 -2
- package/dist/chunks/{upload-progress-Bup8Iw7N.js → upload-progress-y7N0eaM4.js} +2 -2
- package/dist/chunks/{variants-BbO5akAC.cjs → variants-BtqEJuki.cjs} +2 -2
- package/dist/chunks/{variants-D7tUTCVW.js → variants-MxfB3UVB.js} +2 -2
- package/dist/chunks/viewport-BAXHhZLV.js +1 -1
- package/dist/chunks/viewport-EFYGqMNa.cjs +1 -1
- package/dist/chunks/{voice-button-A-NPMqJG.cjs → voice-button-9UauxvT9.cjs} +2 -2
- package/dist/chunks/{voice-button-Bxh_839h.js → voice-button-DFEoNe24.js} +2 -2
- package/dist/chunks/{weather-card-CtqBfWnZ.cjs → weather-card-4Eg6e43D.cjs} +2 -2
- package/dist/chunks/{weather-card-D2D8kYxm.js → weather-card-NR0i507J.js} +2 -2
- package/dist/chunks/{worker-canvas-DGSgO2ci.cjs → worker-canvas-BMBXAFWp.cjs} +2 -2
- package/dist/chunks/{worker-canvas-C0lQZbKy.js → worker-canvas-CPZvzrWQ.js} +2 -2
- package/dist/chunks/{xp-bar-BGJrZYex.js → xp-bar-DAbx1LZ_.js} +2 -2
- package/dist/chunks/{xp-bar-5PeQeB1Y.cjs → xp-bar-DkWfCTfB.cjs} +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 +17 -41
- package/dist/components/angular.d.cts +2047 -8
- package/dist/components/angular.d.ts +2047 -8
- package/dist/components/angular.js +17 -41
- package/dist/components/background.cjs +3 -3
- package/dist/components/background.js +3 -3
- package/dist/components/bridge.cjs +2 -2
- package/dist/components/bridge.js +2 -2
- 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 +2 -5
- package/dist/components/design.js +2 -5
- package/dist/components/dotlottie.cjs +4 -5
- package/dist/components/dotlottie.js +4 -5
- package/dist/components/dsl.cjs +2 -3
- package/dist/components/dsl.js +2 -3
- package/dist/components/effects.cjs +6 -10
- package/dist/components/effects.js +9 -13
- 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 +3 -4
- package/dist/components/fx-3d.js +3 -4
- package/dist/components/fx-ai.cjs +2 -3
- package/dist/components/fx-ai.js +2 -3
- package/dist/components/fx-chart.cjs +2 -3
- package/dist/components/fx-chart.js +2 -3
- package/dist/components/fx-cinema.cjs +2 -3
- package/dist/components/fx-cinema.js +2 -3
- package/dist/components/fx-cyber.cjs +2 -3
- package/dist/components/fx-cyber.js +2 -3
- package/dist/components/fx-festival.cjs +2 -3
- package/dist/components/fx-festival.js +2 -3
- package/dist/components/fx-focus.cjs +2 -3
- package/dist/components/fx-focus.js +2 -3
- package/dist/components/fx-form.cjs +2 -3
- package/dist/components/fx-form.js +2 -3
- package/dist/components/fx-game.cjs +2 -3
- package/dist/components/fx-game.js +2 -3
- package/dist/components/fx-genart.cjs +2 -3
- package/dist/components/fx-genart.js +2 -3
- package/dist/components/fx-geo.cjs +2 -3
- package/dist/components/fx-geo.js +2 -3
- package/dist/components/fx-gesture.cjs +2 -3
- package/dist/components/fx-gesture.js +2 -3
- package/dist/components/fx-gpu.cjs +4 -5
- package/dist/components/fx-gpu.js +4 -5
- package/dist/components/fx-light.cjs +4 -4
- package/dist/components/fx-light.js +4 -4
- package/dist/components/fx-lottie.cjs +2 -3
- package/dist/components/fx-lottie.js +2 -3
- package/dist/components/fx-morph.cjs +2 -3
- package/dist/components/fx-morph.js +2 -3
- package/dist/components/fx-music.cjs +5 -6
- package/dist/components/fx-music.js +5 -6
- package/dist/components/fx-organic.cjs +2 -3
- package/dist/components/fx-organic.js +2 -3
- package/dist/components/fx-paper.cjs +2 -3
- package/dist/components/fx-paper.js +2 -3
- package/dist/components/fx-perf.cjs +3 -3
- package/dist/components/fx-perf.js +3 -3
- package/dist/components/fx-physics.cjs +4 -5
- package/dist/components/fx-physics.js +4 -5
- package/dist/components/fx-retro.cjs +2 -3
- package/dist/components/fx-retro.js +2 -3
- package/dist/components/fx-safe.cjs +3 -3
- package/dist/components/fx-safe.js +3 -3
- package/dist/components/fx-shop.cjs +2 -3
- package/dist/components/fx-shop.js +2 -3
- package/dist/components/fx-social.cjs +2 -3
- package/dist/components/fx-social.js +2 -3
- package/dist/components/fx-spatial.cjs +2 -3
- package/dist/components/fx-spatial.js +2 -3
- package/dist/components/fx-surface.cjs +2 -3
- package/dist/components/fx-surface.js +2 -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 +3 -4
- package/dist/components/fx-weather.js +3 -4
- package/dist/components/fx.cjs +4 -7
- package/dist/components/fx.js +5 -8
- package/dist/components/fx2.cjs +4 -8
- package/dist/components/fx2.js +5 -9
- package/dist/components/gesture.cjs +4 -4
- package/dist/components/gesture.js +5 -5
- package/dist/components/gl-model.cjs +4 -5
- package/dist/components/gl-model.js +4 -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.d.cts +2049 -3
- package/dist/components/jsx.d.ts +2049 -3
- package/dist/components/jsx.js +1 -1
- package/dist/components/layout.cjs +2 -2
- package/dist/components/layout.js +2 -2
- package/dist/components/lazy.cjs +1 -1
- package/dist/components/lazy.js +1 -1
- package/dist/components/lite.cjs +15 -27
- package/dist/components/lite.js +15 -27
- package/dist/components/marketplace.cjs +2 -4
- package/dist/components/marketplace.js +3 -5
- package/dist/components/native.cjs +1 -4
- package/dist/components/native.js +1 -4
- package/dist/components/offscreen.cjs +2 -2
- package/dist/components/offscreen.js +3 -3
- 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 +2 -2
- package/dist/components/perf-tasks.js +2 -2
- package/dist/components/perf.cjs +2 -2
- 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 +2 -7
- package/dist/components/plugins.js +2 -7
- package/dist/components/react.cjs +26 -3
- package/dist/components/react.d.cts +23 -1
- package/dist/components/react.d.ts +23 -1
- package/dist/components/react.js +24 -4
- package/dist/components/reveal.cjs +2 -2
- package/dist/components/reveal.js +2 -2
- package/dist/components/snap-carousel.cjs +3 -4
- package/dist/components/snap-carousel.js +3 -4
- package/dist/components/solid.cjs +3 -36
- package/dist/components/solid.d.cts +1451 -2
- package/dist/components/solid.d.ts +1451 -2
- package/dist/components/solid.js +3 -36
- package/dist/components/svelte.cjs +10 -36
- package/dist/components/svelte.d.cts +2047 -2
- package/dist/components/svelte.d.ts +2047 -2
- package/dist/components/svelte.js +10 -36
- package/dist/components/svg.cjs +2 -2
- package/dist/components/svg.js +2 -2
- package/dist/components/text.cjs +3 -4
- package/dist/components/text.js +3 -4
- package/dist/components/timeline.cjs +3 -4
- package/dist/components/timeline.js +4 -5
- 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 +4 -4
- package/dist/components/ui.js +5 -5
- package/dist/components/vue.cjs +8 -35
- package/dist/components/vue.d.cts +2046 -1
- package/dist/components/vue.d.ts +2046 -1
- package/dist/components/vue.js +8 -35
- package/dist/components/webgl.cjs +2 -2
- package/dist/components/webgl.js +2 -2
- package/dist/components/widgets.cjs +52 -86
- package/dist/components/widgets.js +101 -135
- package/dist/components.cjs +9 -11
- package/dist/components.js +11 -13
- package/dist/components.umd.js +2 -2
- package/dist/effects/achievement-unlock.cjs +2 -3
- package/dist/effects/achievement-unlock.js +2 -3
- package/dist/effects/aurora-veil.cjs +2 -5
- package/dist/effects/aurora-veil.js +2 -5
- package/dist/effects/badge-pop.cjs +2 -3
- package/dist/effects/badge-pop.js +2 -3
- package/dist/effects/bars-grow.cjs +2 -4
- package/dist/effects/bars-grow.js +2 -4
- package/dist/effects/beat-bounce.cjs +2 -6
- package/dist/effects/beat-bounce.js +2 -6
- package/dist/effects/blob-button.cjs +2 -4
- package/dist/effects/blob-button.js +2 -4
- package/dist/effects/bloom.cjs +2 -3
- package/dist/effects/bloom.js +2 -3
- package/dist/effects/breathe.cjs +2 -3
- package/dist/effects/breathe.js +2 -3
- package/dist/effects/brushed-metal.cjs +2 -5
- package/dist/effects/brushed-metal.js +2 -5
- package/dist/effects/camera-dolly.cjs +2 -4
- package/dist/effects/camera-dolly.js +2 -4
- package/dist/effects/card-flip-3d.cjs +2 -6
- package/dist/effects/card-flip-3d.js +2 -6
- package/dist/effects/chest-open.cjs +2 -3
- package/dist/effects/chest-open.js +2 -3
- package/dist/effects/cloth.cjs +2 -5
- package/dist/effects/cloth.js +2 -5
- package/dist/effects/coin-burst.cjs +2 -3
- package/dist/effects/coin-burst.js +2 -3
- package/dist/effects/color-pulse.cjs +2 -3
- package/dist/effects/color-pulse.js +2 -3
- package/dist/effects/crt-power.cjs +2 -3
- package/dist/effects/crt-power.js +2 -3
- package/dist/effects/crumple.cjs +2 -3
- package/dist/effects/crumple.js +2 -3
- package/dist/effects/data-decode.cjs +2 -3
- package/dist/effects/data-decode.js +2 -3
- package/dist/effects/day-cycle.cjs +2 -5
- package/dist/effects/day-cycle.js +2 -5
- package/dist/effects/depth-in.cjs +2 -3
- package/dist/effects/depth-in.js +2 -3
- package/dist/effects/depth-pop.cjs +2 -3
- package/dist/effects/depth-pop.js +2 -3
- package/dist/effects/depth-stack.cjs +2 -6
- package/dist/effects/depth-stack.js +2 -6
- package/dist/effects/dolly-in.cjs +2 -3
- package/dist/effects/dolly-in.js +2 -3
- package/dist/effects/dots-pop.cjs +2 -4
- package/dist/effects/dots-pop.js +2 -4
- package/dist/effects/field-shake.cjs +2 -3
- package/dist/effects/field-shake.js +2 -3
- package/dist/effects/field-success.cjs +2 -3
- package/dist/effects/field-success.js +2 -3
- package/dist/effects/film-burn.cjs +2 -3
- package/dist/effects/film-burn.js +2 -3
- package/dist/effects/fire.cjs +3 -6
- package/dist/effects/fire.js +3 -6
- package/dist/effects/fireflies.cjs +3 -6
- package/dist/effects/fireflies.js +3 -6
- package/dist/effects/firework-burst.cjs +2 -3
- package/dist/effects/firework-burst.js +2 -3
- package/dist/effects/flip-chars.cjs +2 -4
- package/dist/effects/flip-chars.js +2 -4
- package/dist/effects/fluid.cjs +3 -6
- package/dist/effects/fluid.js +3 -6
- package/dist/effects/fly-to-cart.cjs +2 -3
- package/dist/effects/fly-to-cart.js +2 -3
- package/dist/effects/focus-draw.cjs +2 -3
- package/dist/effects/focus-draw.js +2 -3
- package/dist/effects/focus-glow.cjs +2 -3
- package/dist/effects/focus-glow.js +2 -3
- package/dist/effects/fog.cjs +2 -5
- package/dist/effects/fog.js +2 -5
- package/dist/effects/font-breathe.cjs +2 -4
- package/dist/effects/font-breathe.js +2 -4
- package/dist/effects/form-cascade.cjs +2 -3
- package/dist/effects/form-cascade.js +2 -3
- package/dist/effects/gen-skeleton.cjs +2 -3
- package/dist/effects/gen-skeleton.js +2 -3
- package/dist/effects/glass-frost.cjs +2 -3
- package/dist/effects/glass-frost.js +2 -3
- package/dist/effects/glitch-text.cjs +2 -4
- package/dist/effects/glitch-text.js +2 -4
- package/dist/effects/globe-spin.cjs +2 -3
- package/dist/effects/globe-spin.js +2 -3
- package/dist/effects/god-rays.cjs +2 -5
- package/dist/effects/god-rays.js +2 -5
- package/dist/effects/gpu-lift.cjs +2 -3
- package/dist/effects/gpu-lift.js +2 -3
- package/dist/effects/grain-flicker.cjs +2 -3
- package/dist/effects/grain-flicker.js +2 -3
- package/dist/effects/halftone-in.cjs +2 -3
- package/dist/effects/halftone-in.js +2 -3
- package/dist/effects/highlight-sweep.cjs +2 -3
- package/dist/effects/highlight-sweep.js +2 -3
- package/dist/effects/hologram.cjs +2 -3
- package/dist/effects/hologram.js +2 -3
- package/dist/effects/hud-frame.cjs +2 -3
- package/dist/effects/hud-frame.js +2 -3
- package/dist/effects/icon-pop.cjs +2 -3
- package/dist/effects/icon-pop.js +2 -3
- package/dist/effects/icon-swap.cjs +2 -4
- package/dist/effects/icon-swap.js +2 -4
- package/dist/effects/idle-reveal.cjs +2 -3
- package/dist/effects/idle-reveal.js +2 -3
- package/dist/effects/ink.cjs +3 -6
- package/dist/effects/ink.js +3 -6
- package/dist/effects/jump-cut.cjs +2 -3
- package/dist/effects/jump-cut.js +2 -3
- package/dist/effects/kaleido.cjs +2 -3
- package/dist/effects/kaleido.js +2 -3
- package/dist/effects/label-float.cjs +2 -3
- package/dist/effects/label-float.js +2 -3
- package/dist/effects/lantern-rise.cjs +2 -3
- package/dist/effects/lantern-rise.js +2 -3
- package/dist/effects/leaves.cjs +3 -6
- package/dist/effects/leaves.js +3 -6
- package/dist/effects/letterbox.cjs +2 -3
- package/dist/effects/letterbox.js +2 -3
- package/dist/effects/level-up.cjs +2 -3
- package/dist/effects/level-up.js +2 -3
- package/dist/effects/light-follow.cjs +2 -5
- package/dist/effects/light-follow.js +2 -5
- package/dist/effects/lightning.cjs +2 -5
- package/dist/effects/lightning.js +2 -5
- package/dist/effects/line-draw.cjs +2 -4
- package/dist/effects/line-draw.js +2 -4
- package/dist/effects/liquid-text.cjs +2 -4
- package/dist/effects/liquid-text.js +2 -4
- package/dist/effects/liquid-wipe.cjs +2 -4
- package/dist/effects/liquid-wipe.js +2 -4
- package/dist/effects/lottie-play.cjs +2 -3
- package/dist/effects/lottie-play.js +2 -3
- package/dist/effects/magnet.cjs +2 -5
- package/dist/effects/magnet.js +2 -5
- package/dist/effects/marching-ants.cjs +2 -3
- package/dist/effects/marching-ants.js +2 -3
- package/dist/effects/marker-pulse.cjs +2 -3
- package/dist/effects/marker-pulse.js +2 -3
- package/dist/effects/mention-glow.cjs +2 -3
- package/dist/effects/mention-glow.js +2 -3
- package/dist/effects/mesh-drift.cjs +2 -3
- package/dist/effects/mesh-drift.js +2 -3
- package/dist/effects/message-in.cjs +2 -3
- package/dist/effects/message-in.js +2 -3
- package/dist/effects/mosaic-flip.cjs +2 -4
- package/dist/effects/mosaic-flip.js +2 -4
- package/dist/effects/neon-ignite.cjs +2 -3
- package/dist/effects/neon-ignite.js +2 -3
- package/dist/effects/neon-pulse.cjs +2 -3
- package/dist/effects/neon-pulse.js +2 -3
- package/dist/effects/neon-write.cjs +2 -4
- package/dist/effects/neon-write.js +2 -4
- package/dist/effects/neu-press.cjs +2 -3
- package/dist/effects/neu-press.js +2 -3
- package/dist/effects/noise-reveal.cjs +2 -4
- package/dist/effects/noise-reveal.js +2 -4
- package/dist/effects/number-roll.cjs +2 -4
- package/dist/effects/number-roll.js +2 -4
- package/dist/effects/orbit-camera.cjs +2 -6
- package/dist/effects/orbit-camera.js +2 -6
- package/dist/effects/orbit-in.cjs +2 -3
- package/dist/effects/orbit-in.js +2 -3
- package/dist/effects/origami.cjs +2 -6
- package/dist/effects/origami.js +2 -6
- package/dist/effects/page-curl.cjs +2 -4
- package/dist/effects/page-curl.js +2 -4
- package/dist/effects/pan-reveal.cjs +2 -3
- package/dist/effects/pan-reveal.js +2 -3
- package/dist/effects/paper-unfold.cjs +2 -3
- package/dist/effects/paper-unfold.js +2 -3
- package/dist/effects/particle-text.cjs +2 -4
- package/dist/effects/particle-text.js +2 -4
- package/dist/effects/path-morph.cjs +2 -4
- package/dist/effects/path-morph.js +2 -4
- package/dist/effects/pearlescent.cjs +2 -5
- package/dist/effects/pearlescent.js +2 -5
- package/dist/effects/pencil-sketch.cjs +2 -3
- package/dist/effects/pencil-sketch.js +2 -3
- package/dist/effects/pin-drop.cjs +2 -3
- package/dist/effects/pin-drop.js +2 -3
- package/dist/effects/pinball.cjs +2 -5
- package/dist/effects/pinball.js +2 -5
- package/dist/effects/pinch-hint.cjs +2 -3
- package/dist/effects/pinch-hint.js +2 -3
- package/dist/effects/pixelate-in.cjs +2 -3
- package/dist/effects/pixelate-in.js +2 -3
- package/dist/effects/pointer-shadow.cjs +2 -5
- package/dist/effects/pointer-shadow.js +2 -5
- package/dist/effects/portal-open.cjs +2 -3
- package/dist/effects/portal-open.js +2 -3
- package/dist/effects/price-flip.cjs +2 -3
- package/dist/effects/price-flip.js +2 -3
- package/dist/effects/product-spin.cjs +2 -6
- package/dist/effects/product-spin.js +2 -6
- package/dist/effects/rack-focus.cjs +2 -3
- package/dist/effects/rack-focus.js +2 -3
- package/dist/effects/radial-spectrum.cjs +2 -6
- package/dist/effects/radial-spectrum.js +2 -6
- package/dist/effects/rain-glass.cjs +2 -5
- package/dist/effects/rain-glass.js +2 -5
- package/dist/effects/reaction-burst.cjs +2 -3
- package/dist/effects/reaction-burst.js +2 -3
- package/dist/effects/read-receipt.cjs +2 -3
- package/dist/effects/read-receipt.js +2 -3
- package/dist/effects/refraction.cjs +2 -5
- package/dist/effects/refraction.js +2 -5
- package/dist/effects/ring-sweep.cjs +2 -4
- package/dist/effects/ring-sweep.js +2 -4
- package/dist/effects/ripple-dissolve.cjs +2 -4
- package/dist/effects/ripple-dissolve.js +2 -4
- package/dist/effects/rope.cjs +2 -5
- package/dist/effects/rope.js +2 -5
- package/dist/effects/route-draw.cjs +2 -3
- package/dist/effects/route-draw.js +2 -3
- package/dist/effects/safe-fade.cjs +2 -3
- package/dist/effects/safe-fade.js +2 -3
- package/dist/effects/sakura.cjs +3 -6
- package/dist/effects/sakura.js +3 -6
- package/dist/effects/sale-shine.cjs +2 -3
- package/dist/effects/sale-shine.js +2 -3
- package/dist/effects/sankey-flow.cjs +2 -4
- package/dist/effects/sankey-flow.js +2 -4
- package/dist/effects/scanline-sweep.cjs +2 -3
- package/dist/effects/scanline-sweep.js +2 -3
- package/dist/effects/shatter.cjs +2 -4
- package/dist/effects/shatter.js +2 -4
- package/dist/effects/smoke.cjs +3 -6
- package/dist/effects/smoke.js +3 -6
- package/dist/effects/snowfall.cjs +2 -5
- package/dist/effects/snowfall.js +2 -5
- package/dist/effects/soft-body.cjs +2 -5
- package/dist/effects/soft-body.js +2 -5
- package/dist/effects/sound-particles.cjs +2 -6
- package/dist/effects/sound-particles.js +2 -6
- package/dist/effects/spatial-float.cjs +2 -3
- package/dist/effects/spatial-float.js +2 -3
- package/dist/effects/spectrum-mirror.cjs +2 -6
- package/dist/effects/spectrum-mirror.js +2 -6
- package/dist/effects/splash.cjs +3 -6
- package/dist/effects/splash.js +3 -6
- package/dist/effects/spooky-float.cjs +2 -3
- package/dist/effects/spooky-float.js +2 -3
- package/dist/effects/stock-pulse.cjs +2 -3
- package/dist/effects/stock-pulse.js +2 -3
- package/dist/effects/stream-text.cjs +2 -3
- package/dist/effects/stream-text.js +2 -3
- package/dist/effects/stroke-draw.cjs +2 -4
- package/dist/effects/stroke-draw.js +2 -4
- package/dist/effects/success-check.cjs +2 -3
- package/dist/effects/success-check.js +2 -3
- package/dist/effects/swipe-hint.cjs +2 -3
- package/dist/effects/swipe-hint.js +2 -3
- package/dist/effects/text-trail.cjs +2 -4
- package/dist/effects/text-trail.js +2 -4
- package/dist/effects/thinking-glow.cjs +2 -3
- package/dist/effects/thinking-glow.js +2 -3
- package/dist/effects/tilt-wobble.cjs +2 -3
- package/dist/effects/tilt-wobble.js +2 -3
- package/dist/effects/typing-dots.cjs +2 -3
- package/dist/effects/typing-dots.js +2 -3
- package/dist/effects/underline-sweep.cjs +2 -3
- package/dist/effects/underline-sweep.js +2 -3
- package/dist/effects/vhs-glitch.cjs +2 -3
- package/dist/effects/vhs-glitch.js +2 -3
- package/dist/effects/vine-grow.cjs +2 -3
- package/dist/effects/vine-grow.js +2 -3
- package/dist/effects/vinyl-spin.cjs +2 -6
- package/dist/effects/vinyl-spin.js +2 -6
- package/dist/effects/voice-wave.cjs +2 -3
- package/dist/effects/voice-wave.js +2 -3
- package/dist/effects/water-drop.cjs +2 -3
- package/dist/effects/water-drop.js +2 -3
- package/dist/effects/watercolor.cjs +2 -3
- package/dist/effects/watercolor.js +2 -3
- package/dist/effects/waveform-scope.cjs +2 -6
- package/dist/effects/waveform-scope.js +2 -6
- package/dist/effects/xmas-snow.cjs +2 -3
- package/dist/effects/xmas-snow.js +2 -3
- package/dist/effects/xp-gain.cjs +2 -3
- package/dist/effects/xp-gain.js +2 -3
- package/dist/effects/y2k-shine.cjs +2 -3
- package/dist/effects/y2k-shine.js +2 -3
- package/dist/element.cjs +1 -2
- package/dist/element.js +1 -2
- package/dist/element.umd.js +1 -1
- package/dist/index.cjs +2 -4
- package/dist/index.js +2 -4
- package/dist/index.umd.js +1 -1
- package/dist/llms-full.txt +1 -1
- package/dist/llms.txt +1 -1
- package/dist/manifest.json +5 -3
- 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 -2
- package/dist/react.js +1 -2
- 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 +3 -6
- package/dist/runtime/format-apng.iife.js +1 -1
- package/dist/runtime/format-apng.js +3 -6
- package/dist/runtime/format-css.cjs +3 -6
- package/dist/runtime/format-css.iife.js +1 -1
- package/dist/runtime/format-css.js +3 -6
- package/dist/runtime/format-gif.cjs +3 -6
- package/dist/runtime/format-gif.iife.js +1 -1
- package/dist/runtime/format-gif.js +3 -6
- 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 +4 -5
- package/dist/runtime/format-motion.iife.js +1 -1
- package/dist/runtime/format-motion.js +4 -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 +3 -5
- package/dist/runtime/format-sprite.iife.js +1 -1
- package/dist/runtime/format-sprite.js +3 -5
- package/dist/runtime/format-svg.cjs +3 -4
- package/dist/runtime/format-svg.iife.js +1 -1
- package/dist/runtime/format-svg.js +3 -4
- package/dist/runtime/format-webp.cjs +3 -6
- package/dist/runtime/format-webp.iife.js +1 -1
- package/dist/runtime/format-webp.js +3 -6
- 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 +3 -5
- package/dist/runtime/vector.iife.js +1 -1
- package/dist/runtime/vector.js +3 -5
- 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 -2
- package/dist/solid.js +1 -2
- package/dist/svelte.cjs +1 -2
- package/dist/svelte.js +1 -2
- package/dist/vue.cjs +1 -2
- package/dist/vue.js +1 -2
- package/dist/widgets/add-to-cart.cjs +4 -7
- package/dist/widgets/add-to-cart.js +4 -7
- package/dist/widgets/badge-wall.cjs +2 -3
- package/dist/widgets/badge-wall.js +2 -3
- package/dist/widgets/bar-chart.cjs +2 -2
- package/dist/widgets/bar-chart.js +2 -2
- package/dist/widgets/bg-generator.cjs +2 -5
- package/dist/widgets/bg-generator.js +2 -5
- package/dist/widgets/carousel.cjs +2 -4
- package/dist/widgets/carousel.js +2 -4
- package/dist/widgets/cart-drawer.cjs +2 -3
- package/dist/widgets/cart-drawer.js +2 -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 +2 -4
- package/dist/widgets/code-export.js +2 -4
- package/dist/widgets/color-picker.cjs +2 -4
- package/dist/widgets/color-picker.js +2 -4
- package/dist/widgets/command-palette.cjs +2 -3
- package/dist/widgets/command-palette.js +2 -3
- package/dist/widgets/compare.cjs +2 -2
- package/dist/widgets/compare.js +2 -2
- package/dist/widgets/countdown.cjs +2 -3
- package/dist/widgets/countdown.js +2 -3
- package/dist/widgets/cube-gallery.cjs +2 -2
- package/dist/widgets/cube-gallery.js +2 -2
- package/dist/widgets/date-picker.cjs +2 -4
- package/dist/widgets/date-picker.js +2 -4
- package/dist/widgets/disclosure.cjs +3 -3
- package/dist/widgets/disclosure.js +3 -3
- package/dist/widgets/dock.cjs +2 -2
- package/dist/widgets/dock.js +2 -2
- package/dist/widgets/dotlottie.cjs +1 -5
- package/dist/widgets/dotlottie.js +1 -5
- package/dist/widgets/equalizer.cjs +2 -4
- package/dist/widgets/equalizer.js +2 -4
- package/dist/widgets/festival-banner.cjs +2 -3
- package/dist/widgets/festival-banner.js +2 -3
- package/dist/widgets/field.cjs +2 -3
- package/dist/widgets/field.js +2 -3
- package/dist/widgets/file-drop.cjs +2 -2
- package/dist/widgets/file-drop.js +2 -2
- package/dist/widgets/gauge.cjs +2 -2
- package/dist/widgets/gauge.js +2 -2
- package/dist/widgets/gen-art.cjs +2 -3
- package/dist/widgets/gen-art.js +2 -3
- package/dist/widgets/gesture-sticker.cjs +2 -3
- package/dist/widgets/gesture-sticker.js +2 -3
- package/dist/widgets/gl-model.cjs +1 -5
- package/dist/widgets/gl-model.js +1 -5
- package/dist/widgets/gl-scene.cjs +2 -5
- package/dist/widgets/gl-scene.js +2 -5
- package/dist/widgets/globe.cjs +2 -3
- package/dist/widgets/globe.js +2 -3
- package/dist/widgets/gpu-particles.cjs +2 -3
- package/dist/widgets/gpu-particles.js +2 -3
- package/dist/widgets/gyro-card.cjs +2 -3
- package/dist/widgets/gyro-card.js +2 -3
- package/dist/widgets/hero-video.cjs +2 -3
- package/dist/widgets/hero-video.js +2 -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 +3 -7
- package/dist/widgets/keyframe-editor.js +3 -7
- package/dist/widgets/kpi.cjs +2 -2
- package/dist/widgets/kpi.js +2 -2
- package/dist/widgets/leaderboard.cjs +2 -3
- package/dist/widgets/leaderboard.js +2 -3
- package/dist/widgets/liquid-nav.cjs +2 -2
- package/dist/widgets/liquid-nav.js +2 -2
- package/dist/widgets/location-card.cjs +2 -3
- package/dist/widgets/location-card.js +2 -3
- package/dist/widgets/lottie-icon.cjs +2 -7
- package/dist/widgets/lottie-icon.js +2 -7
- package/dist/widgets/lottie-player.cjs +2 -5
- package/dist/widgets/lottie-player.js +2 -5
- package/dist/widgets/lottie.cjs +2 -3
- package/dist/widgets/lottie.js +2 -3
- package/dist/widgets/lyrics.cjs +2 -4
- package/dist/widgets/lyrics.js +2 -4
- package/dist/widgets/masonry-flow.cjs +2 -2
- package/dist/widgets/masonry-flow.js +2 -2
- package/dist/widgets/menu-toggle.cjs +2 -3
- package/dist/widgets/menu-toggle.js +2 -3
- package/dist/widgets/menu.cjs +2 -4
- package/dist/widgets/menu.js +2 -4
- package/dist/widgets/message-list.cjs +2 -2
- package/dist/widgets/message-list.js +2 -2
- package/dist/widgets/milestones.cjs +2 -2
- package/dist/widgets/milestones.js +2 -2
- package/dist/widgets/modal.cjs +2 -5
- package/dist/widgets/modal.js +2 -5
- package/dist/widgets/motion-inspector.cjs +3 -3
- package/dist/widgets/motion-inspector.js +3 -3
- package/dist/widgets/motion-prefs.cjs +2 -3
- package/dist/widgets/motion-prefs.js +2 -3
- package/dist/widgets/motion-prompt.cjs +2 -2
- package/dist/widgets/motion-prompt.js +2 -2
- package/dist/widgets/motion-spec.cjs +2 -5
- package/dist/widgets/motion-spec.js +2 -5
- package/dist/widgets/motion.cjs +2 -3
- package/dist/widgets/motion.js +2 -3
- package/dist/widgets/music-player.cjs +2 -2
- package/dist/widgets/music-player.js +2 -2
- package/dist/widgets/native-preview.cjs +2 -6
- package/dist/widgets/native-preview.js +2 -6
- package/dist/widgets/nav-morph.cjs +2 -4
- package/dist/widgets/nav-morph.js +2 -4
- package/dist/widgets/notification-bell.cjs +2 -2
- package/dist/widgets/notification-bell.js +2 -2
- package/dist/widgets/odometer.cjs +2 -5
- package/dist/widgets/odometer.js +2 -5
- package/dist/widgets/organic-card.cjs +2 -3
- package/dist/widgets/organic-card.js +2 -3
- package/dist/widgets/otp.cjs +2 -3
- package/dist/widgets/otp.js +2 -3
- package/dist/widgets/pagination.cjs +2 -5
- package/dist/widgets/pagination.js +2 -5
- package/dist/widgets/panorama.cjs +2 -3
- package/dist/widgets/panorama.js +2 -3
- package/dist/widgets/parallax-layers.cjs +2 -2
- package/dist/widgets/parallax-layers.js +2 -2
- package/dist/widgets/pause-all.cjs +2 -2
- package/dist/widgets/pause-all.js +2 -2
- package/dist/widgets/perf-monitor.cjs +2 -3
- package/dist/widgets/perf-monitor.js +2 -3
- package/dist/widgets/physics-playground.cjs +2 -5
- package/dist/widgets/physics-playground.js +2 -5
- package/dist/widgets/plugin-card.cjs +4 -4
- package/dist/widgets/plugin-card.js +4 -4
- package/dist/widgets/plugin-store.cjs +2 -5
- package/dist/widgets/plugin-store.js +2 -5
- package/dist/widgets/presence.cjs +2 -3
- package/dist/widgets/presence.js +2 -3
- package/dist/widgets/prize-wheel.cjs +2 -3
- package/dist/widgets/prize-wheel.js +2 -3
- package/dist/widgets/product-gallery.cjs +2 -3
- package/dist/widgets/product-gallery.js +2 -3
- package/dist/widgets/progress-ring.cjs +2 -5
- package/dist/widgets/progress-ring.js +2 -5
- package/dist/widgets/prop-panel.cjs +2 -3
- package/dist/widgets/prop-panel.js +2 -3
- package/dist/widgets/pull-cord.cjs +2 -2
- package/dist/widgets/pull-cord.js +2 -2
- package/dist/widgets/radar.cjs +2 -3
- package/dist/widgets/radar.js +2 -3
- package/dist/widgets/reactions.cjs +2 -3
- package/dist/widgets/reactions.js +2 -3
- package/dist/widgets/red-envelope.cjs +2 -2
- package/dist/widgets/red-envelope.js +2 -2
- package/dist/widgets/retro-button.cjs +2 -3
- package/dist/widgets/retro-button.js +2 -3
- package/dist/widgets/rive.cjs +2 -3
- package/dist/widgets/rive.js +2 -3
- package/dist/widgets/route-transition.cjs +2 -2
- package/dist/widgets/route-transition.js +2 -2
- package/dist/widgets/scene.cjs +2 -3
- package/dist/widgets/scene.js +2 -3
- package/dist/widgets/scroll-ring.cjs +2 -2
- package/dist/widgets/scroll-ring.js +2 -2
- package/dist/widgets/scroll-scene.cjs +2 -5
- package/dist/widgets/scroll-scene.js +2 -5
- package/dist/widgets/segmented.cjs +2 -4
- package/dist/widgets/segmented.js +2 -4
- package/dist/widgets/shader-backdrop.cjs +2 -3
- package/dist/widgets/shader-backdrop.js +2 -3
- package/dist/widgets/sheet.cjs +2 -5
- package/dist/widgets/sheet.js +2 -5
- package/dist/widgets/shortcut.cjs +3 -3
- package/dist/widgets/shortcut.js +3 -3
- package/dist/widgets/skeleton-reveal.cjs +2 -4
- package/dist/widgets/skeleton-reveal.js +2 -4
- package/dist/widgets/sketch-chart.cjs +2 -3
- package/dist/widgets/sketch-chart.js +2 -3
- package/dist/widgets/smooth-scroll.cjs +3 -4
- package/dist/widgets/smooth-scroll.js +3 -4
- package/dist/widgets/snap-carousel.cjs +1 -4
- package/dist/widgets/snap-carousel.js +1 -4
- package/dist/widgets/sparkline.cjs +2 -4
- package/dist/widgets/sparkline.js +2 -4
- 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 +2 -3
- package/dist/widgets/sticky-wall.js +2 -3
- package/dist/widgets/stories.cjs +2 -2
- package/dist/widgets/stories.js +2 -2
- package/dist/widgets/suggestion-chips.cjs +2 -3
- package/dist/widgets/suggestion-chips.js +2 -3
- package/dist/widgets/swipe-deck.cjs +2 -2
- package/dist/widgets/swipe-deck.js +2 -2
- package/dist/widgets/switch.cjs +2 -3
- package/dist/widgets/switch.js +2 -3
- package/dist/widgets/tab-bar.cjs +2 -4
- package/dist/widgets/tab-bar.js +2 -4
- 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 +2 -3
- package/dist/widgets/theme-surface.js +2 -3
- package/dist/widgets/theme-switcher.cjs +2 -3
- package/dist/widgets/theme-switcher.js +2 -3
- package/dist/widgets/tip.cjs +2 -4
- package/dist/widgets/tip.js +2 -4
- package/dist/widgets/toast-stack.cjs +2 -6
- package/dist/widgets/toast-stack.js +2 -6
- package/dist/widgets/token-editor.cjs +2 -2
- package/dist/widgets/token-editor.js +2 -2
- package/dist/widgets/upload-progress.cjs +2 -3
- package/dist/widgets/upload-progress.js +2 -3
- package/dist/widgets/video-card.cjs +2 -2
- package/dist/widgets/video-card.js +2 -2
- package/dist/widgets/voice-button.cjs +2 -3
- package/dist/widgets/voice-button.js +2 -3
- package/dist/widgets/volume-knob.cjs +2 -2
- package/dist/widgets/volume-knob.js +2 -2
- package/dist/widgets/weather-card.cjs +2 -3
- package/dist/widgets/weather-card.js +2 -3
- package/dist/widgets/worker-canvas.cjs +2 -5
- package/dist/widgets/worker-canvas.js +2 -5
- package/dist/widgets/xp-bar.cjs +2 -3
- package/dist/widgets/xp-bar.js +2 -3
- package/dist/widgets.umd.js +2 -2
- package/docs/components/usa-carousel-3d.md +1 -1
- package/docs/components/usa-switch.md +1 -1
- package/docs/components.md +1 -1
- package/docs/frameworks-matrix.md +64 -0
- package/docs/frameworks-ssr.md +24 -8
- package/docs/public-api.md +1 -1
- package/package.json +3 -2
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Items on a 3D ring, rotated by drag, arrow keys, clicks or autoplay — with spring motion. Reduced motion shows one flat item at a time.
|
|
6
6
|
|
|
7
|
-
- **Category:** cards · **since** 2.4 · **changed in** 3.5
|
|
7
|
+
- **Category:** cards · **since** 2.4 · **changed in** 3.5, 13.5
|
|
8
8
|
- **Import:** `import { defineCarousel3d } from 'motionary/components/cards'` then `defineCarousel3d();`
|
|
9
9
|
- **CDN:** `<script src="https://unpkg.com/motionary@13/dist/components.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `radius`, `perspective`, `autoplay`, `index`
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
6.7: four switches — iOS (the thumb stretches while pressed), day / night (sun becomes moon, stars appear), bounce (squash at the end) and liquid (a gooey fill pours in). role="switch", forms, keyboard.
|
|
6
6
|
|
|
7
|
-
- **Category:** click · **since** 6.7 · **changed in** 6.9, 7.0, 13.1
|
|
7
|
+
- **Category:** click · **since** 6.7 · **changed in** 6.9, 7.0, 13.1, 13.5
|
|
8
8
|
- **Import:** `import { defineSwitch } from 'motionary/components/widgets'` then `defineSwitch();`
|
|
9
9
|
- **CDN:** `<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `variant`, `label`, `name`, `value`, `disabled`
|
package/docs/components.md
CHANGED
|
@@ -309,7 +309,7 @@ Also see `flip()` in `components/transitions`. (4.0 removed `<usa-flip-list>` an
|
|
|
309
309
|
| Entry | API |
|
|
310
310
|
|---|---|
|
|
311
311
|
| `components/svelte` | `use:usa={{ props, on }}`, `defineUsa()` |
|
|
312
|
-
| `components/solid` | `use:usa` directive, `defineUsa()`, JSX types (`prop:`
|
|
312
|
+
| `components/solid` | `use:usa` directive (events), `defineUsa()`, JSX types (`prop:` natively) |
|
|
313
313
|
| `angular` (11.5; old `components/angular`) | `provideUsa(APP_INITIALIZER)`, `usaInitializer()`, `defineUsa()`, `USA_TAGS`, `isUsaElement`, `bindUsa()`, `usaDetail()`; `CUSTOM_ELEMENTS_SCHEMA` |
|
|
314
314
|
|
|
315
315
|
Hybrid / desktop hosts (MAUI, Flutter WebView, Electron, Tauri): [hybrid-apps.md](./hybrid-apps.md).
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# Framework regression matrix (13.5.0)
|
|
2
|
+
|
|
3
|
+
`test/frameworks/` holds one small fixture app per framework. Each one is server-rendered in plain Node (no DOM), then
|
|
4
|
+
hydrated in Chromium against the **built** package (`dist/`, resolved through `node_modules/motionary` → repository
|
|
5
|
+
root, exactly like an installed package). CI runs it in the `Frameworks` workflow (`.github/workflows/frameworks.yml`: one job per framework, Chromium only,
|
|
6
|
+
not a required check). The cross-engine component suite stays in `test/browser` ([browser-matrix.md](browser-matrix.md)).
|
|
7
|
+
|
|
8
|
+
## Tested versions and results
|
|
9
|
+
|
|
10
|
+
| Fixture | Versions (pinned) | Element pattern under test | SSR → hydrate | Property binding | `usa:*` event | Unmount | Keep-alive | Types (`tsc --noEmit`) |
|
|
11
|
+
|---|---|---|---|---|---|---|---|---|
|
|
12
|
+
| `react18` | react / react-dom 18.3.1 | `createUsaComponents(React)` wrappers (`UsaSwitch`, `onUsaChange`) | ✓ | ✓ | ✓ | ✓ | — | ✓ |
|
|
13
|
+
| `react19` | react / react-dom 19.3.0 | raw `<usa-switch checked={…}>` + ref callback over `bindUsa` | ✓ | ✓ | ✓ | ✓ | — | ✓ (`UsaReact19IntrinsicElements`) |
|
|
14
|
+
| `vue3` | vue 3.5.43 | `:checked.prop` + `@usa:change`, `isCustomElement: isUsaElement` | ✓ | ✓ | ✓ | ✓ | ✓ `<KeepAlive>` | ✓ (`UsaGlobalComponents`) |
|
|
15
|
+
| `svelte5` | svelte 5.57.2 | `use:usa={{ props, on }}` action | ✓ | ✓ | ✓ | ✓ | — | ✓ (`UsaSvelteElements`) |
|
|
16
|
+
| `solid` | solid-js 1.9.17 (babel-preset-solid 1.9.16) | `prop:checked` + `use:usa` directive | ✓ | ✓ | ✓ | ✓ | — | ✓ (`UsaIntrinsicElements`) |
|
|
17
|
+
| `angular` | @angular/* 21.2.25 (JIT, zoneless, hydration) | `CUSTOM_ELEMENTS_SCHEMA`, `[checked]` + `[usaOn]` directive over `bindUsa` | ✓ | ✓ | ✓ | ✓ | — | ✓ |
|
|
18
|
+
|
|
19
|
+
Each fixture also fails the build on any bundler warning (except esbuild's harmless `ignored-bare-import` into
|
|
20
|
+
`dist/chunks`) and on any warning printed during server rendering.
|
|
21
|
+
|
|
22
|
+
Types: `svelte5` and `solid` type-check type-level assertion files only (`types/check.ts(x)`); `.svelte` templates and Vue
|
|
23
|
+
templates are not type-checked (`svelte-check` / `vue-tsc` are not part of the matrix — deferred).
|
|
24
|
+
|
|
25
|
+
## Bugs the matrix found (fixed in 13.5.0)
|
|
26
|
+
|
|
27
|
+
- **React wrappers covered only the core tags.** `createUsaComponents(React)` built wrappers for the 86 core-category
|
|
28
|
+
tags; every widget (`UsaSwitch`, `UsaTabs`, …) was `undefined`. Wrappers are now created lazily for any `Usa*` name.
|
|
29
|
+
The JSX types had the same gap (`<usa-switch>` was not an intrinsic element) and now cover all 209 manifest tags.
|
|
30
|
+
- **React 18 SSR warning.** The wrappers called `useLayoutEffect` on the server; they now use `useEffect` when there is
|
|
31
|
+
no `document`.
|
|
32
|
+
- **Properties set before the element is defined were lost.** Vue `.prop`, Solid `prop:` and the React 18 wrappers can
|
|
33
|
+
set `checked` on the element before `customElements.define()` runs; that own property shadowed the class accessor.
|
|
34
|
+
The element base now re-applies such properties on upgrade.
|
|
35
|
+
- **`kebab()` broke tags with digit segments** (`UsaCarousel3d` → `usa-carousel3d`); now `usa-carousel-3d`.
|
|
36
|
+
- **Bare chunk imports.** Hoisted chunk imports made esbuild / Vite print `ignored-bare-import` for every entry; the
|
|
37
|
+
build no longer hoists transitive imports.
|
|
38
|
+
|
|
39
|
+
## Documentation that was wrong (fixed in 13.5.0)
|
|
40
|
+
|
|
41
|
+
- **React 19 + SSR:** React 19 does not attach custom-element event props (`onusa:change`) to server-rendered elements
|
|
42
|
+
it hydrates (only to elements it creates on the client). Use a ref callback over `bindUsa`
|
|
43
|
+
([frameworks-ssr.md](frameworks-ssr.md)).
|
|
44
|
+
- **Angular:** `(usa:change)` does not compile in Angular 17+ (`Unexpected global target 'usa'`). Use the `[usaOn]`
|
|
45
|
+
directive over `bindUsa`.
|
|
46
|
+
- **Solid:** `on:usa:change` is not valid JSX (two colons). Use `use:usa`.
|
|
47
|
+
- **Svelte 5:** `onusa:change` triggers `attribute_illegal_colon`. Use the `use:usa` action in every Svelte version.
|
|
48
|
+
|
|
49
|
+
## Not covered yet
|
|
50
|
+
|
|
51
|
+
- Meta-framework apps (Next.js, Nuxt, SvelteKit, SolidStart, Analog) — the fixtures use each framework's own SSR API.
|
|
52
|
+
- A performance baseline per framework.
|
|
53
|
+
- `vue-tsc` / `svelte-check` template type-checking.
|
|
54
|
+
|
|
55
|
+
## Run it locally
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
npm run build
|
|
59
|
+
for fw in react18 react19 vue3 svelte5 solid angular; do
|
|
60
|
+
(cd test/frameworks/$fw && npm install --no-save) && node test/frameworks/build.mjs $fw
|
|
61
|
+
done
|
|
62
|
+
node test/frameworks/typecheck.mjs
|
|
63
|
+
npx playwright test -c test/frameworks/playwright.config.mjs # FW=vue3 for one framework
|
|
64
|
+
```
|
package/docs/frameworks-ssr.md
CHANGED
|
@@ -27,6 +27,12 @@ import { createUsaComponents } from 'motionary/components/react';
|
|
|
27
27
|
export const { UsaButton, UsaToggle, UsaCard } = createUsaComponents(React);
|
|
28
28
|
// <UsaToggle checked={on} onUsaChange={(e) => setOn(e.detail.checked)} />
|
|
29
29
|
```
|
|
30
|
+
**React 19 + SSR (13.5.0):** React 19 sets properties on custom elements natively, but it does **not** attach custom-element event props (`onusa:change`) to server-rendered elements it hydrates (they only work on elements created on the client). In SSR/hydrated trees bind `usa:*` events with a ref callback over `bindUsa`:
|
|
31
|
+
```tsx
|
|
32
|
+
'use client';
|
|
33
|
+
import { bindUsa } from 'motionary/components/react';
|
|
34
|
+
<usa-switch checked={on} ref={(el) => { if (!el) return; const b = bindUsa(el, { on: { change: (e) => setOn(e.detail.checked) } }); return () => b.destroy(); }} />
|
|
35
|
+
```
|
|
30
36
|
Page transitions in the App Router: wrap `router.push` in `pageTransition(() => router.push(href), { effect: 'slide' })`.
|
|
31
37
|
|
|
32
38
|
## Astro
|
|
@@ -58,7 +64,7 @@ app.use(UsaPlugin); // or app.use(UsaPlugin, { categories: ['click',
|
|
|
58
64
|
`<usa-switch :checked.prop="on" @usa:change="on = $event.detail.checked" />`
|
|
59
65
|
|
|
60
66
|
## Svelte / Solid / Angular
|
|
61
|
-
Custom elements work as-is: Svelte (`on:usa:change`), Solid (`on:usa:change
|
|
67
|
+
Custom elements work as-is: Svelte (`use:usa` action — `on:usa:change` does not compile in Svelte 3/4 and `onusa:change` warns `attribute_illegal_colon` in Svelte 5), Solid (`prop:checked` + `use:usa` directive — `on:usa:change` is not valid JSX), Angular (`schemas: [CUSTOM_ELEMENTS_SCHEMA]`, `[checked]` + a `[usaOn]` directive over `bindUsa` — `(usa:change)` does not compile in Angular 17+, see below). Every pattern here is covered by the framework regression matrix ([frameworks-matrix.md](frameworks-matrix.md)). Call `defineComponents()` or `lazyDefine()` in the client entry.
|
|
62
68
|
|
|
63
69
|
## Lazy registration
|
|
64
70
|
`lazyDefine()` (from `motionary/components/lazy`) watches the DOM and dynamically imports only the categories whose tags appear — a page with just `<usa-button>` loads the click chunk only.
|
|
@@ -79,22 +85,32 @@ Custom elements work as-is: Svelte (`on:usa:change`), Solid (`on:usa:change`, `p
|
|
|
79
85
|
|
|
80
86
|
```tsx
|
|
81
87
|
import { onMount } from 'solid-js';
|
|
82
|
-
import { defineUsa } from 'motionary/components/solid';
|
|
88
|
+
import { defineUsa, usa } from 'motionary/components/solid';
|
|
89
|
+
false && usa; // keep the directive import (Solid convention)
|
|
83
90
|
onMount(() => defineUsa());
|
|
84
|
-
|
|
91
|
+
// `on:usa:change` is not valid JSX (two colons) — listen through the directive:
|
|
92
|
+
<usa-switch prop:checked={on()} use:usa={{ on: { change: (e) => setOn(e.detail.checked) } }} />;
|
|
85
93
|
```
|
|
86
94
|
|
|
87
95
|
## Angular (v3.8)
|
|
88
96
|
|
|
89
97
|
```ts
|
|
90
|
-
import { APP_INITIALIZER, CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/core';
|
|
91
|
-
import { usaInitializer, usaDetail } from 'motionary/angular';
|
|
98
|
+
import { APP_INITIALIZER, CUSTOM_ELEMENTS_SCHEMA, Component, DestroyRef, Directive, ElementRef, Input, inject } from '@angular/core';
|
|
99
|
+
import { bindUsa, usaInitializer, usaDetail } from 'motionary/angular';
|
|
92
100
|
// app.config.ts
|
|
93
101
|
providers: [{ provide: APP_INITIALIZER, multi: true, useFactory: usaInitializer() }];
|
|
102
|
+
// 13.5.0: `(usa:change)` does not compile in Angular 17+ (a colon in an event binding names a global target:
|
|
103
|
+
// window / document / body) — bind usa:* events with this small directive over bindUsa:
|
|
104
|
+
@Directive({ selector: '[usaOn]', standalone: true })
|
|
105
|
+
export class UsaOn {
|
|
106
|
+
private b = bindUsa(inject(ElementRef).nativeElement);
|
|
107
|
+
@Input({ required: true }) set usaOn(on: Record<string, (e: CustomEvent) => void>) { this.b.update({ on }); }
|
|
108
|
+
constructor() { inject(DestroyRef).onDestroy(() => this.b.destroy()); }
|
|
109
|
+
}
|
|
94
110
|
// component
|
|
95
|
-
@Component({ standalone: true, schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
96
|
-
template: `<usa-switch [checked]="on"
|
|
97
|
-
export class Settings { on = false;
|
|
111
|
+
@Component({ standalone: true, imports: [UsaOn], schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
112
|
+
template: `<usa-switch [checked]="on" [usaOn]="{ change: onChange }"></usa-switch>` })
|
|
113
|
+
export class Settings { on = false; onChange = (e: Event) => (this.on = usaDetail(e).checked); }
|
|
98
114
|
```
|
|
99
115
|
|
|
100
116
|
MAUI, Flutter WebView, Electron and Tauri: see [hybrid-apps.md](./hybrid-apps.md).
|
package/docs/public-api.md
CHANGED
|
@@ -24,7 +24,7 @@ Angular's wrapper is now `motionary/angular` (it has no separate HTML-API bindin
|
|
|
24
24
|
|---|---|---|---|---|
|
|
25
25
|
| register the elements | `defineComponents()` | `UsaPlugin` | `defineUsa()` | `defineUsa()` · `usaInitializer()` · **`provideUsa(APP_INITIALIZER, categories)`** |
|
|
26
26
|
| tag list / predicate | `USA_TAGS` | `isUsaElement` | — | **`USA_TAGS`** · **`isUsaElement`** |
|
|
27
|
-
| bind props + events | wrapper props | `.prop` · `@usa:x` | `use:usa` / `bindUsa` | `[prop]` · `(usa:x)`
|
|
27
|
+
| bind props + events | wrapper props | `.prop` · `@usa:x` | `use:usa` / `bindUsa` | `[prop]` · `[usaOn]` directive over `bindUsa` (`(usa:x)` does not compile in Angular 17+) |
|
|
28
28
|
| event name / payload | `eventName()` | — | `usaEventName()` | `usaEventName()` · `usaDetail()` |
|
|
29
29
|
|
|
30
30
|
## Deprecated paths (work until 13.0)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "motionary",
|
|
3
|
-
"version": "13.
|
|
3
|
+
"version": "13.5.0",
|
|
4
4
|
"description": "Motionary (formerly use-scroll-animate): dependency-free scroll animations + 209 animated Web Components (91 core, 118 widgets) — 214 scroll-reveal presets, physics, page transitions, generative backgrounds, Lottie, WebGL and a motion runtime. React, Vue, Svelte, Solid, Angular or plain HTML.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -4130,7 +4130,8 @@
|
|
|
4130
4130
|
"contract:preview": "node scripts/contract-audit.mjs --preview",
|
|
4131
4131
|
"figma:plugin": "node scripts/gen-figma-plugin.mjs",
|
|
4132
4132
|
"facts": "node scripts/facts.mjs",
|
|
4133
|
-
"
|
|
4133
|
+
"gen:framework-types": "node scripts/gen-framework-types.mjs",
|
|
4134
|
+
"check:docs": "node scripts/facts.mjs --check && node scripts/gen-component-docs.mjs --check && node scripts/gen-entries.mjs --check && node scripts/gen-runtime-docs.mjs --check && node scripts/gen-figma-plugin.mjs --check && node scripts/gen-framework-types.mjs --check && node scripts/check-versions.mjs",
|
|
4134
4135
|
"release:gate": "node scripts/release-gate.mjs"
|
|
4135
4136
|
},
|
|
4136
4137
|
"keywords": [
|