motionary 16.9.0 → 17.0.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/AGENTS.md +1 -1
- package/CHANGELOG.md +78 -0
- package/README.md +79 -79
- package/README_ja.md +10 -10
- package/README_zh.md +10 -10
- package/bin/mo-codemod.mjs +8 -0
- package/bin/motionary-mcp.mjs +1 -1
- package/bin/motionary.mjs +19 -138
- package/bin/public-paths.mjs +1 -3
- package/dist/chunks/{anim-image-BLOS4bI2.cjs → anim-image-Bp7_pCfZ.cjs} +2 -2
- package/dist/chunks/{anim-image-Cl-ITu_4.js → anim-image-CMfV4vnx.js} +2 -2
- package/dist/chunks/{audio-CWxlWX4e.js → audio-AtLkHgFE.js} +4 -4
- package/dist/chunks/audio-D0LwPShE.cjs +1 -1
- package/dist/chunks/badge-wall-CITexuW7.cjs +1 -1
- package/dist/chunks/{badge-wall-Bj-RRR7j.js → badge-wall-Cl_xT9TD.js} +2 -2
- package/dist/chunks/{base-QrtwTUOO.js → base-BQmWYlDq.js} +2 -2
- package/dist/chunks/base-BvH4nAcv.cjs +1 -1
- package/dist/chunks/bg-generator-CML8tPN8.cjs +1 -1
- package/dist/chunks/{bg-generator-Dj1hH67O.js → bg-generator-DoLaSG2a.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-DQ_KD-84.js → builtins-BYmVxuUA.js} +4 -4
- package/dist/chunks/{builtins-DweCp29Z.cjs → builtins-fp4MVfE-.cjs} +3 -3
- package/dist/chunks/{carousel-DEgoYGFx.js → carousel-Cl5uOQMI.js} +2 -2
- package/dist/chunks/carousel-DU3rHTq0.cjs +1 -1
- package/dist/chunks/cart-drawer-CkFMKMhx.cjs +1 -1
- package/dist/chunks/{cart-drawer-C0pY0dmc.js → cart-drawer-DYcTBtqX.js} +2 -2
- package/dist/chunks/{code-export-B-eHxa4Z.js → code-export-F5ajFBWV.js} +2 -2
- package/dist/chunks/code-export-PdGSl9WE.cjs +1 -1
- package/dist/chunks/color-picker-B_xWVH8H.cjs +1 -1
- package/dist/chunks/{color-picker-D15wk7nJ.js → color-picker-DfAShjuU.js} +2 -2
- package/dist/chunks/{command-palette-BDNe1gMK.js → command-palette-Clx0HR4L.js} +2 -2
- package/dist/chunks/command-palette-ISetAeX1.cjs +1 -1
- package/dist/chunks/core-BjcOCpJt.cjs +1 -1
- package/dist/chunks/{core-CC1UXXEC.js → core-CxbMpBNZ.js} +2 -2
- package/dist/chunks/{core-BgR-tTTI.js → core-DISdVBH1.js} +2 -2
- package/dist/chunks/core-DbAYRKnS.cjs +1 -1
- package/dist/chunks/core-Dj6iomdc.js +1 -1
- package/dist/chunks/core-DjjKLmZ6.cjs +1 -1
- package/dist/chunks/{countdown-CG0Ihedq.js → countdown-Bx3drDeE.js} +2 -2
- package/dist/chunks/countdown-RQViryt7.cjs +1 -1
- package/dist/chunks/date-picker-BgApzPNn.cjs +1 -1
- package/dist/chunks/{date-picker-DdlDcukY.js → date-picker-zwkly5SQ.js} +2 -2
- package/dist/chunks/ease-HwYZnZat.cjs +1 -1
- package/dist/chunks/ease-XN8_0sXu.js +1 -1
- package/dist/chunks/{equalizer--Sk1CWfZ.js → equalizer-DUDHQUHB.js} +2 -2
- package/dist/chunks/equalizer-_eD_ZdCl.cjs +1 -1
- package/dist/chunks/{festival-banner-BBqV8cdf.js → festival-banner-BhdjV0fp.js} +2 -2
- package/dist/chunks/festival-banner-Bs18K0MJ.cjs +1 -1
- package/dist/chunks/{field-DDv6HlpL.js → field-BTSpoQcd.js} +2 -2
- package/dist/chunks/field-Dwq8-CLN.cjs +1 -1
- package/dist/chunks/{format-BSTz6pm_.js → format-CI6Vx9Ui.js} +2 -2
- package/dist/chunks/format-b5fQz-vc.cjs +1 -1
- package/dist/chunks/{fx-cO_b2EVv.js → fx-C9Bq8hdA.js} +4 -4
- package/dist/chunks/{fx-DaVuB89C.cjs → fx-DEhvlMn6.cjs} +3 -3
- package/dist/chunks/{generative-BNmS-QUD.js → generative-BFR11LSL.js} +2 -2
- package/dist/chunks/generative-BKoxWOSP.cjs +1 -1
- package/dist/chunks/{gl-scene-BKFjOiw9.cjs → gl-scene-CVWL23-p.cjs} +2 -2
- package/dist/chunks/{gl-scene-B4Vq-7LM.js → gl-scene-D2YD1hWA.js} +3 -3
- package/dist/chunks/{globe-l0QidRYi.js → globe-B6GMkhIi.js} +2 -2
- package/dist/chunks/globe-DA0jyb6s.cjs +1 -1
- package/dist/chunks/{gpu-B5AZJvCt.js → gpu-Bl7ZKR8x.js} +4 -4
- package/dist/chunks/gpu-C2C6iBQC.cjs +1 -1
- package/dist/chunks/{gpu-particles-BCpT6_0b.js → gpu-particles-dIxou1C7.js} +2 -2
- package/dist/chunks/gpu-particles-wEO_rds1.cjs +1 -1
- package/dist/chunks/history-B0Ml40k1.cjs +1 -1
- package/dist/chunks/{history-W7ot2kyl.js → history-DtNn2Q0g.js} +2 -2
- package/dist/chunks/{index-Pkno706C.js → index-C0j-oCw2.js} +4 -4
- package/dist/chunks/index-C9_FEsfz.cjs +1 -1
- 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-DZb1Q9k3.js → keyframes-Dlq3Dirf.js} +2 -2
- package/dist/chunks/{keyframes-CSjvnBpm.cjs → keyframes-JLC_DABH.cjs} +2 -2
- package/dist/chunks/{leaderboard-CbiWHJt6.js → leaderboard-CfgRxbeu.js} +2 -2
- package/dist/chunks/leaderboard-DvSSQ8o3.cjs +1 -1
- package/dist/chunks/{location-card-BZn9anlf.js → location-card-BP7JLDLo.js} +2 -2
- package/dist/chunks/location-card-DSPTApUe.cjs +1 -1
- package/dist/chunks/lottie-icon-BoxkukMd.cjs +1 -1
- package/dist/chunks/{lottie-icon-DeHawSTn.js → lottie-icon-BxIqK7q7.js} +2 -2
- package/dist/chunks/{lottie-player-vafP8f36.js → lottie-player-BJsFUiEI.js} +3 -3
- package/dist/chunks/{lottie-player-BmmIK5c3.cjs → lottie-player-gejCIOp4.cjs} +2 -2
- package/dist/chunks/lyrics-CRB7dA1j.cjs +1 -1
- package/dist/chunks/{lyrics-DVbmLBlN.js → lyrics-D4zARPqR.js} +2 -2
- package/dist/chunks/{manifest-B0WJg6hn.js → manifest-EZTGWMQl.js} +2 -2
- package/dist/chunks/manifest-xr3WET80.cjs +1 -1
- package/dist/chunks/menu-CZ1zHTT9.cjs +1 -1
- package/dist/chunks/{menu-CnQ_M2MQ.js → menu-EOQH7vNp.js} +2 -2
- package/dist/chunks/{menu-toggle-5XOYiIyd.js → menu-toggle-BaP8UQtW.js} +2 -2
- package/dist/chunks/menu-toggle-DGXN4VsN.cjs +1 -1
- package/dist/chunks/{nav-morph-ziuI5hHS.js → nav-morph-Bl7rQGXg.js} +2 -2
- package/dist/chunks/nav-morph-C4rD3wrU.cjs +1 -1
- package/dist/chunks/{otp-Cb48zoUe.js → otp-CImvDHhN.js} +2 -2
- package/dist/chunks/otp-DUyEWYMi.cjs +1 -1
- package/dist/chunks/{pagination-BIufB-g3.js → pagination-D8OldTKt.js} +2 -2
- package/dist/chunks/pagination-DHmYZZU9.cjs +1 -1
- package/dist/chunks/{physics-playground-BvTzK33V.cjs → physics-playground-DwTUmDk8.cjs} +2 -2
- package/dist/chunks/{physics-playground-DMMT9mUt.js → physics-playground-kJleobEq.js} +3 -3
- package/dist/chunks/play-D9Utt9rO.cjs +1 -1
- package/dist/chunks/{play-DZ_ho9zJ.js → play-U4-l22wu.js} +2 -2
- package/dist/chunks/{player-core-DAEKafsQ.js → player-core-S0Fqtlfd.js} +5 -5
- package/dist/chunks/{player-core-CeaR3esR.cjs → player-core-wSp7kDYd.cjs} +2 -2
- package/dist/chunks/presence-DAthlALi.cjs +1 -1
- package/dist/chunks/{presence-C-dO1CU4.js → presence-DKAp51JY.js} +2 -2
- package/dist/chunks/presets-BYBVJVeP.js +1 -1
- package/dist/chunks/presets-CUHys3sK.cjs +1 -1
- package/dist/chunks/{preview-DdgqW96I.js → preview-DW0zh_0c.js} +3 -3
- package/dist/chunks/preview-kiMCBqSF.cjs +1 -1
- package/dist/chunks/{prize-wheel-xiuulNSI.js → prize-wheel-CYG2gNtL.js} +2 -2
- package/dist/chunks/prize-wheel-emDopI5c.cjs +1 -1
- package/dist/chunks/product-gallery-CKtSVhZk.cjs +1 -1
- package/dist/chunks/{product-gallery-BoiBGX9H.js → product-gallery-Dn7yr7N9.js} +2 -2
- package/dist/chunks/progress-ring-C75O4MUi.cjs +1 -1
- package/dist/chunks/{progress-ring-BsEz1MN3.js → progress-ring-DfUcJbXm.js} +2 -2
- package/dist/chunks/{project-CCfILvjg.js → project-9WDl1Fyq.js} +4 -4
- package/dist/chunks/project-DiTOvzic.cjs +1 -1
- package/dist/chunks/prop-panel-DFqga6H5.cjs +1 -1
- package/dist/chunks/{prop-panel-DqIbmWmc.js → prop-panel-DvkXyt8q.js} +2 -2
- package/dist/chunks/radar-D-bZRrgs.cjs +1 -1
- package/dist/chunks/{radar-t201zj2r.js → radar-D7LzLQJX.js} +2 -2
- package/dist/chunks/reactions-BL2iO8iy.cjs +1 -1
- package/dist/chunks/{reactions-CX-_6Suh.js → reactions-S_dsxBY8.js} +2 -2
- package/dist/chunks/{registry-B1ipgYF7.js → registry-BdSDdeL7.js} +2 -2
- package/dist/chunks/{registry-dVWIAYAv.js → registry-CHxaTa03.js} +3 -3
- package/dist/chunks/registry-CibnX7Ui.cjs +1 -1
- package/dist/chunks/{registry-sRiTWT0H.cjs → registry-CpNyoGLj.cjs} +3 -3
- package/dist/chunks/{retro-button-CPAMUUZ2.js → retro-button-2x9sOTBI.js} +2 -2
- package/dist/chunks/retro-button-DrrBZ6w8.cjs +1 -1
- package/dist/chunks/rive-D6X4J0Mi.cjs +1 -1
- package/dist/chunks/{rive-uSPb8arE.js → rive-wdC-DTmT.js} +2 -2
- package/dist/chunks/{runtime-link-C83ELEq3.js → runtime-link-B_JFtz71.js} +2 -2
- package/dist/chunks/{runtime-link-B1KVsOtJ.cjs → runtime-link-BdIFIkos.cjs} +2 -2
- package/dist/chunks/scene-U2YkjCm0.cjs +1 -1
- package/dist/chunks/{scene-C7-PUIZK.js → scene-WZLES-B0.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-CKoDuwdJ.js → scroll-scene-BY0guLzF.js} +4 -4
- package/dist/chunks/{scroll-scene-OyBWeyX_.cjs → scroll-scene-BnFPMB4I.cjs} +3 -3
- package/dist/chunks/{segmented-KPw5KH1W.js → segmented-BCajObgE.js} +2 -2
- package/dist/chunks/segmented-CpB4mKIn.cjs +1 -1
- package/dist/chunks/shader-backdrop-BodjXMhw.cjs +1 -1
- package/dist/chunks/{shader-backdrop-JPI5yk7O.js → shader-backdrop-Ccg25dLQ.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-CheLvhW_.js → sheet-B2r33Isp.js} +2 -2
- package/dist/chunks/sheet-B38ylIEW.cjs +1 -1
- package/dist/chunks/sign-DvZ1jHxE.js +1 -1
- package/dist/chunks/sign-RAkQIWrM.cjs +1 -1
- package/dist/chunks/{skeleton-reveal-DDDWXmcC.js → skeleton-reveal-D2uMxKHC.js} +2 -2
- package/dist/chunks/skeleton-reveal-Dsd3Wp0n.cjs +1 -1
- package/dist/chunks/{sparkline-u-Oxv7YR.js → sparkline-C3SGIIax.js} +2 -2
- package/dist/chunks/sparkline-DeKhZpVo.cjs +1 -1
- package/dist/chunks/{spring-YKWCyYGf.js → spring-BOKyL1Rj.js} +2 -2
- package/dist/chunks/spring-XEl_diDJ.cjs +1 -1
- package/dist/chunks/stagger-B9sKPwQB.js +1 -1
- package/dist/chunks/stagger-DFKwqOQG.cjs +1 -1
- package/dist/chunks/suggestion-chips-CAcbFTr4.cjs +1 -1
- package/dist/chunks/{suggestion-chips-BlX6Fmt-.js → suggestion-chips-FMxruJG4.js} +2 -2
- package/dist/chunks/{switch-kilxiPM3.js → switch-BdGuLQpo.js} +2 -2
- package/dist/chunks/switch-DiTlApGd.cjs +1 -1
- package/dist/chunks/tab-bar-BBlVAqbq.cjs +1 -1
- package/dist/chunks/{tab-bar-CBtsdbcT.js → tab-bar-rGOs5uh4.js} +2 -2
- package/dist/chunks/{ticker-dt29UaqX.js → ticker-BXbjqD9e.js} +2 -2
- package/dist/chunks/{ticker-Dc8oIrfx.cjs → ticker-CrBwiUlU.cjs} +2 -2
- package/dist/chunks/tip-VGS3qAUm.cjs +1 -1
- package/dist/chunks/{tip-UhHR-P4Q.js → tip-VhV9WI93.js} +2 -2
- package/dist/chunks/{toast-stack-B_bO4fVO.js → toast-stack-BMStleeh.js} +3 -3
- package/dist/chunks/toast-stack-DprisNp_.cjs +1 -1
- package/dist/chunks/{tween-D-LZg3kR.js → tween-D6nMMoKk.js} +2 -2
- package/dist/chunks/{tween-CLYPTo7k.cjs → tween-DsMQYI_8.cjs} +2 -2
- package/dist/chunks/{upload-progress-kJz9Mw10.js → upload-progress-5FPam2SV.js} +2 -2
- package/dist/chunks/upload-progress-CEAWkP-p.cjs +1 -1
- package/dist/chunks/{v2-C_rZCsjr.js → v2-BN000nHo.js} +3 -3
- package/dist/chunks/v2-El9dfBqV.cjs +1 -1
- package/dist/chunks/v3-read-BNhrN3tL.cjs +1 -1
- package/dist/chunks/v3-read-BqgIjLQP.js +1 -1
- package/dist/chunks/variants-BtqEJuki.cjs +1 -1
- package/dist/chunks/{variants-CDG1W49e.js → variants-DWeKzYPo.js} +2 -2
- package/dist/chunks/viewport-BAXHhZLV.js +1 -1
- package/dist/chunks/viewport-EFYGqMNa.cjs +1 -1
- package/dist/chunks/voice-button-9UauxvT9.cjs +1 -1
- package/dist/chunks/{voice-button-leTq2whK.js → voice-button-BsYkfXZ8.js} +2 -2
- package/dist/chunks/weather-card-4Eg6e43D.cjs +1 -1
- package/dist/chunks/{weather-card-CL5yJ4rw.js → weather-card-B5ZBoxiD.js} +2 -2
- package/dist/chunks/worker-canvas-BMBXAFWp.cjs +1 -1
- package/dist/chunks/{worker-canvas-RGGXvIxH.js → worker-canvas-DwniXjtc.js} +2 -2
- package/dist/chunks/{xp-bar-DgVUXJYh.js → xp-bar-DFdhs9RQ.js} +2 -2
- package/dist/chunks/xp-bar-DkWfCTfB.cjs +1 -1
- package/dist/components/a11y.cjs +1 -1
- 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 +1 -1
- package/dist/components/angular.js +1 -1
- package/dist/components/background.cjs +1 -1
- package/dist/components/background.js +3 -3
- package/dist/components/bridge.cjs +1 -1
- package/dist/components/bridge.js +2 -2
- package/dist/components/cards.cjs +1 -1
- package/dist/components/cards.js +3 -3
- package/dist/components/click.cjs +3 -3
- package/dist/components/click.js +5 -5
- package/dist/components/core.cjs +1 -1
- package/dist/components/core.js +1 -1
- package/dist/components/depth.cjs +1 -1
- package/dist/components/depth.js +4 -4
- package/dist/components/design.cjs +1 -1
- package/dist/components/design.js +2 -2
- package/dist/components/dotlottie.cjs +3 -3
- package/dist/components/dotlottie.js +4 -4
- package/dist/components/dsl.cjs +1 -1
- package/dist/components/dsl.js +2 -2
- package/dist/components/effects.cjs +2 -2
- package/dist/components/effects.js +10 -10
- package/dist/components/engine.cjs +1 -1
- package/dist/components/engine.js +3 -3
- package/dist/components/feedback.cjs +2 -2
- package/dist/components/feedback.js +3 -3
- package/dist/components/fx-3d.cjs +1 -1
- package/dist/components/fx-3d.js +3 -3
- package/dist/components/fx-ai.cjs +1 -1
- package/dist/components/fx-ai.js +2 -2
- package/dist/components/fx-chart.cjs +1 -1
- package/dist/components/fx-chart.js +2 -2
- package/dist/components/fx-cinema.cjs +1 -1
- package/dist/components/fx-cinema.js +2 -2
- package/dist/components/fx-cyber.cjs +1 -1
- package/dist/components/fx-cyber.js +2 -2
- package/dist/components/fx-festival.cjs +1 -1
- package/dist/components/fx-festival.js +2 -2
- package/dist/components/fx-focus.cjs +1 -1
- package/dist/components/fx-focus.js +2 -2
- package/dist/components/fx-form.cjs +1 -1
- package/dist/components/fx-form.js +2 -2
- package/dist/components/fx-game.cjs +1 -1
- package/dist/components/fx-game.js +2 -2
- package/dist/components/fx-genart.cjs +1 -1
- package/dist/components/fx-genart.js +2 -2
- package/dist/components/fx-geo.cjs +1 -1
- package/dist/components/fx-geo.js +2 -2
- package/dist/components/fx-gesture.cjs +1 -1
- package/dist/components/fx-gesture.js +2 -2
- package/dist/components/fx-gpu.cjs +1 -1
- package/dist/components/fx-gpu.js +4 -4
- package/dist/components/fx-light.cjs +1 -1
- package/dist/components/fx-light.js +4 -4
- package/dist/components/fx-lottie.cjs +2 -2
- package/dist/components/fx-lottie.js +3 -3
- package/dist/components/fx-morph.cjs +1 -1
- package/dist/components/fx-morph.js +2 -2
- package/dist/components/fx-music.cjs +1 -1
- package/dist/components/fx-music.js +5 -5
- package/dist/components/fx-organic.cjs +1 -1
- package/dist/components/fx-organic.js +2 -2
- package/dist/components/fx-paper.cjs +1 -1
- package/dist/components/fx-paper.js +2 -2
- package/dist/components/fx-perf.cjs +1 -1
- package/dist/components/fx-perf.js +3 -3
- package/dist/components/fx-physics.cjs +1 -1
- package/dist/components/fx-physics.js +4 -4
- package/dist/components/fx-retro.cjs +1 -1
- package/dist/components/fx-retro.js +2 -2
- package/dist/components/fx-safe.cjs +1 -1
- package/dist/components/fx-safe.js +3 -3
- package/dist/components/fx-shop.cjs +1 -1
- package/dist/components/fx-shop.js +2 -2
- package/dist/components/fx-social.cjs +1 -1
- package/dist/components/fx-social.js +2 -2
- package/dist/components/fx-spatial.cjs +1 -1
- package/dist/components/fx-spatial.js +2 -2
- package/dist/components/fx-surface.cjs +1 -1
- package/dist/components/fx-surface.js +2 -2
- package/dist/components/fx-text.cjs +1 -1
- package/dist/components/fx-text.js +3 -3
- package/dist/components/fx-transitions.cjs +1 -1
- package/dist/components/fx-transitions.js +4 -4
- package/dist/components/fx-video.cjs +1 -1
- package/dist/components/fx-video.js +3 -3
- package/dist/components/fx-weather.cjs +1 -1
- package/dist/components/fx-weather.js +3 -3
- package/dist/components/fx.cjs +2 -2
- package/dist/components/fx.js +5 -5
- package/dist/components/fx2.cjs +1 -1
- package/dist/components/fx2.js +5 -5
- package/dist/components/gesture.cjs +1 -1
- package/dist/components/gesture.js +5 -5
- package/dist/components/gl-model.cjs +3 -3
- package/dist/components/gl-model.js +4 -4
- package/dist/components/gl-pool.cjs +2 -2
- package/dist/components/gl-pool.js +2 -2
- package/dist/components/interaction.cjs +1 -1
- 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 +2 -2
- package/dist/components/layout.js +3 -3
- package/dist/components/lazy.cjs +3 -3
- package/dist/components/lazy.js +3 -3
- package/dist/components/lite.cjs +11 -11
- package/dist/components/lite.js +11 -11
- package/dist/components/marketplace.cjs +1 -1
- package/dist/components/marketplace.js +3 -3
- package/dist/components/mo.cjs +118 -0
- package/dist/components/mo.d.cts +14 -0
- package/dist/components/mo.d.ts +14 -0
- package/dist/components/mo.js +114 -0
- package/dist/components/motion-layout.cjs +1 -1
- package/dist/components/motion-layout.js +3 -3
- package/dist/components/motion-scene.cjs +1 -1
- package/dist/components/motion-scene.js +3 -3
- package/dist/components/motion-tokens.cjs +1 -1
- package/dist/components/motion-tokens.js +1 -1
- package/dist/components/motion.cjs +1 -1
- package/dist/components/motion.js +5 -5
- package/dist/components/native.cjs +1 -1
- package/dist/components/native.js +1 -1
- package/dist/components/offscreen.cjs +1 -1
- package/dist/components/offscreen.js +3 -3
- package/dist/components/packs.cjs +2 -2
- package/dist/components/packs.js +3 -3
- package/dist/components/page.cjs +3 -3
- package/dist/components/page.js +6 -6
- package/dist/components/perf-tasks.cjs +1 -1
- package/dist/components/perf-tasks.js +2 -2
- package/dist/components/perf.cjs +2 -2
- package/dist/components/perf.js +4 -4
- package/dist/components/physics.cjs +1 -1
- package/dist/components/physics.js +4 -4
- package/dist/components/plugins.cjs +1 -1
- package/dist/components/plugins.js +2 -2
- package/dist/components/react.cjs +1 -1
- package/dist/components/react.js +1 -1
- package/dist/components/reveal.cjs +1 -1
- package/dist/components/reveal.js +2 -2
- package/dist/components/scene-symbols.cjs +1 -1
- package/dist/components/scene-symbols.js +1 -1
- package/dist/components/scene-v2.cjs +2 -2
- package/dist/components/scene-v2.d.cts +1 -1
- package/dist/components/scene-v2.d.ts +1 -1
- package/dist/components/scene-v2.js +3 -3
- package/dist/components/scene-v3.cjs +2 -2
- package/dist/components/scene-v3.js +3 -3
- package/dist/components/snap-carousel.cjs +2 -2
- package/dist/components/snap-carousel.js +3 -3
- package/dist/components/solid.cjs +1 -1
- package/dist/components/solid.js +1 -1
- package/dist/components/studio-a11y.cjs +1 -1
- package/dist/components/studio-a11y.js +1 -1
- package/dist/components/studio-ai.cjs +1 -1
- package/dist/components/studio-ai.js +4 -4
- package/dist/components/studio-app.cjs +1 -1
- package/dist/components/studio-app.js +4 -4
- package/dist/components/studio-assets.cjs +1 -1
- package/dist/components/studio-assets.js +3 -3
- package/dist/components/studio-budget.cjs +1 -1
- package/dist/components/studio-budget.js +1 -1
- package/dist/components/studio-canvas.cjs +1 -1
- package/dist/components/studio-canvas.js +3 -3
- package/dist/components/studio-export.cjs +1 -1
- package/dist/components/studio-export.js +4 -4
- package/dist/components/studio-native.cjs +1 -1
- package/dist/components/studio-native.js +3 -3
- package/dist/components/studio-plugins.cjs +5 -2
- package/dist/components/studio-plugins.d.cts +4 -2
- package/dist/components/studio-plugins.d.ts +4 -2
- package/dist/components/studio-plugins.js +5 -3
- package/dist/components/studio-provenance.cjs +1 -1
- package/dist/components/studio-provenance.js +1 -1
- package/dist/components/studio-store.cjs +1 -1
- package/dist/components/studio-store.js +1 -1
- package/dist/components/studio-templates.cjs +1 -1
- package/dist/components/studio-templates.js +2 -2
- package/dist/components/studio.cjs +1 -1
- package/dist/components/studio.js +7 -7
- package/dist/components/svelte.cjs +1 -1
- package/dist/components/svelte.js +1 -1
- package/dist/components/svg.cjs +1 -1
- package/dist/components/svg.js +2 -2
- package/dist/components/text.cjs +1 -1
- package/dist/components/text.js +3 -3
- package/dist/components/timeline-editor.cjs +2 -2
- package/dist/components/timeline-editor.d.cts +1 -1
- package/dist/components/timeline-editor.d.ts +1 -1
- package/dist/components/timeline-editor.js +6 -6
- package/dist/components/timeline.cjs +1 -1
- 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 +1 -1
- package/dist/components/transitions.js +2 -2
- package/dist/components/ui.cjs +1 -1
- package/dist/components/ui.js +5 -5
- package/dist/components/vue.cjs +1 -1
- package/dist/components/vue.js +1 -1
- package/dist/components/webgl.cjs +1 -1
- package/dist/components/webgl.js +2 -2
- package/dist/components/widgets.cjs +5 -5
- package/dist/components/widgets.d.cts +1 -1
- package/dist/components/widgets.d.ts +1 -1
- package/dist/components/widgets.js +101 -101
- package/dist/components.cjs +3 -3
- package/dist/components.js +11 -11
- package/dist/components.umd.js +3 -3
- package/dist/effects/achievement-unlock.cjs +1 -1
- package/dist/effects/achievement-unlock.js +2 -2
- package/dist/effects/aurora-veil.cjs +1 -1
- package/dist/effects/aurora-veil.js +2 -2
- package/dist/effects/badge-pop.cjs +1 -1
- package/dist/effects/badge-pop.js +2 -2
- package/dist/effects/bars-grow.cjs +1 -1
- package/dist/effects/bars-grow.js +2 -2
- package/dist/effects/beat-bounce.cjs +1 -1
- package/dist/effects/beat-bounce.js +2 -2
- package/dist/effects/blob-button.cjs +1 -1
- package/dist/effects/blob-button.js +2 -2
- package/dist/effects/bloom.cjs +1 -1
- package/dist/effects/bloom.js +2 -2
- package/dist/effects/breathe.cjs +1 -1
- package/dist/effects/breathe.js +2 -2
- package/dist/effects/brushed-metal.cjs +1 -1
- package/dist/effects/brushed-metal.js +2 -2
- package/dist/effects/camera-dolly.cjs +1 -1
- package/dist/effects/camera-dolly.js +2 -2
- package/dist/effects/card-flip-3d.cjs +1 -1
- package/dist/effects/card-flip-3d.js +2 -2
- package/dist/effects/chest-open.cjs +1 -1
- package/dist/effects/chest-open.js +2 -2
- package/dist/effects/cloth.cjs +1 -1
- package/dist/effects/cloth.js +2 -2
- package/dist/effects/coin-burst.cjs +1 -1
- package/dist/effects/coin-burst.js +2 -2
- package/dist/effects/color-pulse.cjs +1 -1
- package/dist/effects/color-pulse.js +2 -2
- package/dist/effects/crt-power.cjs +1 -1
- package/dist/effects/crt-power.js +2 -2
- package/dist/effects/crumple.cjs +1 -1
- package/dist/effects/crumple.js +2 -2
- package/dist/effects/data-decode.cjs +1 -1
- package/dist/effects/data-decode.js +2 -2
- package/dist/effects/day-cycle.cjs +1 -1
- package/dist/effects/day-cycle.js +2 -2
- package/dist/effects/depth-in.cjs +1 -1
- package/dist/effects/depth-in.js +2 -2
- package/dist/effects/depth-pop.cjs +1 -1
- package/dist/effects/depth-pop.js +2 -2
- package/dist/effects/depth-stack.cjs +1 -1
- package/dist/effects/depth-stack.js +2 -2
- package/dist/effects/dolly-in.cjs +1 -1
- package/dist/effects/dolly-in.js +2 -2
- package/dist/effects/dots-pop.cjs +1 -1
- package/dist/effects/dots-pop.js +2 -2
- package/dist/effects/field-shake.cjs +1 -1
- package/dist/effects/field-shake.js +2 -2
- package/dist/effects/field-success.cjs +1 -1
- package/dist/effects/field-success.js +2 -2
- package/dist/effects/film-burn.cjs +1 -1
- package/dist/effects/film-burn.js +2 -2
- package/dist/effects/fire.cjs +1 -1
- package/dist/effects/fire.js +3 -3
- package/dist/effects/fireflies.cjs +1 -1
- package/dist/effects/fireflies.js +3 -3
- package/dist/effects/firework-burst.cjs +1 -1
- package/dist/effects/firework-burst.js +2 -2
- package/dist/effects/flip-chars.cjs +1 -1
- package/dist/effects/flip-chars.js +2 -2
- package/dist/effects/fluid.cjs +1 -1
- package/dist/effects/fluid.js +3 -3
- package/dist/effects/fly-to-cart.cjs +1 -1
- package/dist/effects/fly-to-cart.js +2 -2
- package/dist/effects/focus-draw.cjs +1 -1
- package/dist/effects/focus-draw.js +2 -2
- package/dist/effects/focus-glow.cjs +1 -1
- package/dist/effects/focus-glow.js +2 -2
- package/dist/effects/fog.cjs +1 -1
- package/dist/effects/fog.js +2 -2
- package/dist/effects/font-breathe.cjs +1 -1
- package/dist/effects/font-breathe.js +2 -2
- package/dist/effects/form-cascade.cjs +1 -1
- package/dist/effects/form-cascade.js +2 -2
- package/dist/effects/gen-skeleton.cjs +1 -1
- package/dist/effects/gen-skeleton.js +2 -2
- package/dist/effects/glass-frost.cjs +1 -1
- package/dist/effects/glass-frost.js +2 -2
- package/dist/effects/glitch-text.cjs +1 -1
- package/dist/effects/glitch-text.js +2 -2
- package/dist/effects/globe-spin.cjs +1 -1
- package/dist/effects/globe-spin.js +2 -2
- package/dist/effects/god-rays.cjs +1 -1
- package/dist/effects/god-rays.js +2 -2
- package/dist/effects/gpu-lift.cjs +1 -1
- package/dist/effects/gpu-lift.js +2 -2
- package/dist/effects/grain-flicker.cjs +1 -1
- package/dist/effects/grain-flicker.js +2 -2
- package/dist/effects/halftone-in.cjs +1 -1
- package/dist/effects/halftone-in.js +2 -2
- package/dist/effects/highlight-sweep.cjs +1 -1
- package/dist/effects/highlight-sweep.js +2 -2
- package/dist/effects/hologram.cjs +1 -1
- package/dist/effects/hologram.js +2 -2
- package/dist/effects/hud-frame.cjs +1 -1
- package/dist/effects/hud-frame.js +2 -2
- package/dist/effects/icon-pop.cjs +1 -1
- package/dist/effects/icon-pop.js +2 -2
- package/dist/effects/icon-swap.cjs +1 -1
- package/dist/effects/icon-swap.js +2 -2
- package/dist/effects/idle-reveal.cjs +1 -1
- package/dist/effects/idle-reveal.js +2 -2
- package/dist/effects/ink.cjs +1 -1
- package/dist/effects/ink.js +3 -3
- package/dist/effects/jump-cut.cjs +1 -1
- package/dist/effects/jump-cut.js +2 -2
- package/dist/effects/kaleido.cjs +1 -1
- package/dist/effects/kaleido.js +2 -2
- package/dist/effects/label-float.cjs +1 -1
- package/dist/effects/label-float.js +2 -2
- package/dist/effects/lantern-rise.cjs +1 -1
- package/dist/effects/lantern-rise.js +2 -2
- package/dist/effects/leaves.cjs +1 -1
- package/dist/effects/leaves.js +3 -3
- package/dist/effects/letterbox.cjs +1 -1
- package/dist/effects/letterbox.js +2 -2
- package/dist/effects/level-up.cjs +1 -1
- package/dist/effects/level-up.js +2 -2
- package/dist/effects/light-follow.cjs +1 -1
- package/dist/effects/light-follow.js +2 -2
- package/dist/effects/lightning.cjs +1 -1
- package/dist/effects/lightning.js +2 -2
- package/dist/effects/line-draw.cjs +1 -1
- package/dist/effects/line-draw.js +2 -2
- package/dist/effects/liquid-text.cjs +1 -1
- package/dist/effects/liquid-text.js +2 -2
- package/dist/effects/liquid-wipe.cjs +1 -1
- package/dist/effects/liquid-wipe.js +2 -2
- package/dist/effects/lottie-play.cjs +1 -1
- package/dist/effects/lottie-play.js +2 -2
- package/dist/effects/magnet.cjs +1 -1
- package/dist/effects/magnet.js +2 -2
- package/dist/effects/marching-ants.cjs +1 -1
- package/dist/effects/marching-ants.js +2 -2
- package/dist/effects/marker-pulse.cjs +1 -1
- package/dist/effects/marker-pulse.js +2 -2
- package/dist/effects/mention-glow.cjs +1 -1
- package/dist/effects/mention-glow.js +2 -2
- package/dist/effects/mesh-drift.cjs +1 -1
- package/dist/effects/mesh-drift.js +2 -2
- package/dist/effects/message-in.cjs +1 -1
- package/dist/effects/message-in.js +2 -2
- package/dist/effects/mosaic-flip.cjs +1 -1
- package/dist/effects/mosaic-flip.js +2 -2
- package/dist/effects/neon-ignite.cjs +1 -1
- package/dist/effects/neon-ignite.js +2 -2
- package/dist/effects/neon-pulse.cjs +1 -1
- package/dist/effects/neon-pulse.js +2 -2
- package/dist/effects/neon-write.cjs +1 -1
- package/dist/effects/neon-write.js +2 -2
- package/dist/effects/neu-press.cjs +1 -1
- package/dist/effects/neu-press.js +2 -2
- package/dist/effects/noise-reveal.cjs +1 -1
- package/dist/effects/noise-reveal.js +2 -2
- package/dist/effects/number-roll.cjs +1 -1
- package/dist/effects/number-roll.js +2 -2
- package/dist/effects/orbit-camera.cjs +1 -1
- package/dist/effects/orbit-camera.js +2 -2
- package/dist/effects/orbit-in.cjs +1 -1
- package/dist/effects/orbit-in.js +2 -2
- package/dist/effects/origami.cjs +1 -1
- package/dist/effects/origami.js +2 -2
- package/dist/effects/page-curl.cjs +1 -1
- package/dist/effects/page-curl.js +2 -2
- package/dist/effects/pan-reveal.cjs +1 -1
- package/dist/effects/pan-reveal.js +2 -2
- package/dist/effects/paper-unfold.cjs +1 -1
- package/dist/effects/paper-unfold.js +2 -2
- package/dist/effects/particle-text.cjs +1 -1
- package/dist/effects/particle-text.js +2 -2
- package/dist/effects/path-morph.cjs +1 -1
- package/dist/effects/path-morph.js +2 -2
- package/dist/effects/pearlescent.cjs +1 -1
- package/dist/effects/pearlescent.js +2 -2
- package/dist/effects/pencil-sketch.cjs +1 -1
- package/dist/effects/pencil-sketch.js +2 -2
- package/dist/effects/pin-drop.cjs +1 -1
- package/dist/effects/pin-drop.js +2 -2
- package/dist/effects/pinball.cjs +1 -1
- package/dist/effects/pinball.js +2 -2
- package/dist/effects/pinch-hint.cjs +1 -1
- package/dist/effects/pinch-hint.js +2 -2
- package/dist/effects/pixelate-in.cjs +1 -1
- package/dist/effects/pixelate-in.js +2 -2
- package/dist/effects/pointer-shadow.cjs +1 -1
- package/dist/effects/pointer-shadow.js +2 -2
- package/dist/effects/portal-open.cjs +1 -1
- package/dist/effects/portal-open.js +2 -2
- package/dist/effects/price-flip.cjs +1 -1
- package/dist/effects/price-flip.js +2 -2
- package/dist/effects/product-spin.cjs +1 -1
- package/dist/effects/product-spin.js +2 -2
- package/dist/effects/rack-focus.cjs +1 -1
- package/dist/effects/rack-focus.js +2 -2
- package/dist/effects/radial-spectrum.cjs +1 -1
- package/dist/effects/radial-spectrum.js +2 -2
- package/dist/effects/rain-glass.cjs +1 -1
- package/dist/effects/rain-glass.js +2 -2
- package/dist/effects/reaction-burst.cjs +1 -1
- package/dist/effects/reaction-burst.js +2 -2
- package/dist/effects/read-receipt.cjs +1 -1
- package/dist/effects/read-receipt.js +2 -2
- package/dist/effects/refraction.cjs +1 -1
- package/dist/effects/refraction.js +2 -2
- package/dist/effects/ring-sweep.cjs +1 -1
- package/dist/effects/ring-sweep.js +2 -2
- package/dist/effects/ripple-dissolve.cjs +1 -1
- package/dist/effects/ripple-dissolve.js +2 -2
- package/dist/effects/rope.cjs +1 -1
- package/dist/effects/rope.js +2 -2
- package/dist/effects/route-draw.cjs +1 -1
- package/dist/effects/route-draw.js +2 -2
- package/dist/effects/safe-fade.cjs +1 -1
- package/dist/effects/safe-fade.js +2 -2
- package/dist/effects/sakura.cjs +1 -1
- package/dist/effects/sakura.js +3 -3
- package/dist/effects/sale-shine.cjs +1 -1
- package/dist/effects/sale-shine.js +2 -2
- package/dist/effects/sankey-flow.cjs +1 -1
- package/dist/effects/sankey-flow.js +2 -2
- package/dist/effects/scanline-sweep.cjs +1 -1
- package/dist/effects/scanline-sweep.js +2 -2
- package/dist/effects/shatter.cjs +1 -1
- package/dist/effects/shatter.js +2 -2
- package/dist/effects/smoke.cjs +1 -1
- package/dist/effects/smoke.js +3 -3
- package/dist/effects/snowfall.cjs +1 -1
- package/dist/effects/snowfall.js +2 -2
- package/dist/effects/soft-body.cjs +1 -1
- package/dist/effects/soft-body.js +2 -2
- package/dist/effects/sound-particles.cjs +1 -1
- package/dist/effects/sound-particles.js +2 -2
- package/dist/effects/spatial-float.cjs +1 -1
- package/dist/effects/spatial-float.js +2 -2
- package/dist/effects/spectrum-mirror.cjs +1 -1
- package/dist/effects/spectrum-mirror.js +2 -2
- package/dist/effects/splash.cjs +1 -1
- package/dist/effects/splash.js +3 -3
- package/dist/effects/spooky-float.cjs +1 -1
- package/dist/effects/spooky-float.js +2 -2
- package/dist/effects/stock-pulse.cjs +1 -1
- package/dist/effects/stock-pulse.js +2 -2
- package/dist/effects/stream-text.cjs +1 -1
- package/dist/effects/stream-text.js +2 -2
- package/dist/effects/stroke-draw.cjs +1 -1
- package/dist/effects/stroke-draw.js +2 -2
- package/dist/effects/success-check.cjs +1 -1
- package/dist/effects/success-check.js +2 -2
- package/dist/effects/swipe-hint.cjs +1 -1
- package/dist/effects/swipe-hint.js +2 -2
- package/dist/effects/text-trail.cjs +1 -1
- package/dist/effects/text-trail.js +2 -2
- package/dist/effects/thinking-glow.cjs +1 -1
- package/dist/effects/thinking-glow.js +2 -2
- package/dist/effects/tilt-wobble.cjs +1 -1
- package/dist/effects/tilt-wobble.js +2 -2
- package/dist/effects/typing-dots.cjs +1 -1
- package/dist/effects/typing-dots.js +2 -2
- package/dist/effects/underline-sweep.cjs +1 -1
- package/dist/effects/underline-sweep.js +2 -2
- package/dist/effects/vhs-glitch.cjs +1 -1
- package/dist/effects/vhs-glitch.js +2 -2
- package/dist/effects/vine-grow.cjs +1 -1
- package/dist/effects/vine-grow.js +2 -2
- package/dist/effects/vinyl-spin.cjs +1 -1
- package/dist/effects/vinyl-spin.js +2 -2
- package/dist/effects/voice-wave.cjs +1 -1
- package/dist/effects/voice-wave.js +2 -2
- package/dist/effects/water-drop.cjs +1 -1
- package/dist/effects/water-drop.js +2 -2
- package/dist/effects/watercolor.cjs +1 -1
- package/dist/effects/watercolor.js +2 -2
- package/dist/effects/waveform-scope.cjs +1 -1
- package/dist/effects/waveform-scope.js +2 -2
- package/dist/effects/xmas-snow.cjs +1 -1
- package/dist/effects/xmas-snow.js +2 -2
- package/dist/effects/xp-gain.cjs +1 -1
- package/dist/effects/xp-gain.js +2 -2
- package/dist/effects/y2k-shine.cjs +1 -1
- package/dist/effects/y2k-shine.js +2 -2
- package/dist/element.cjs +1 -1
- package/dist/element.js +1 -1
- package/dist/element.umd.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +2 -2
- package/dist/index.umd.js +1 -1
- package/dist/llms.txt +2 -2
- package/dist/manifest.json +1 -1
- 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 +3 -3
- package/dist/runtime/format-apng.iife.js +1 -1
- package/dist/runtime/format-apng.js +3 -3
- package/dist/runtime/format-css.cjs +3 -3
- package/dist/runtime/format-css.iife.js +1 -1
- package/dist/runtime/format-css.js +3 -3
- package/dist/runtime/format-gif.cjs +3 -3
- package/dist/runtime/format-gif.iife.js +1 -1
- package/dist/runtime/format-gif.js +3 -3
- 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 -4
- package/dist/runtime/format-motion.iife.js +1 -1
- package/dist/runtime/format-motion.js +4 -4
- 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 -3
- package/dist/runtime/format-sprite.iife.js +1 -1
- package/dist/runtime/format-sprite.js +3 -3
- package/dist/runtime/format-svg.cjs +3 -3
- package/dist/runtime/format-svg.iife.js +1 -1
- package/dist/runtime/format-svg.js +3 -3
- package/dist/runtime/format-webp.cjs +3 -3
- package/dist/runtime/format-webp.iife.js +1 -1
- package/dist/runtime/format-webp.js +3 -3
- 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 -3
- package/dist/runtime/vector.iife.js +1 -1
- package/dist/runtime/vector.js +3 -3
- package/dist/runtime.cjs +4 -4
- package/dist/runtime.d.cts +2 -2
- package/dist/runtime.d.ts +2 -2
- 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 +3 -3
- package/dist/widgets/add-to-cart.js +5 -5
- package/dist/widgets/badge-wall.cjs +1 -1
- package/dist/widgets/badge-wall.js +2 -2
- package/dist/widgets/bar-chart.cjs +1 -1
- package/dist/widgets/bar-chart.js +2 -2
- package/dist/widgets/bg-generator.cjs +1 -1
- package/dist/widgets/bg-generator.js +2 -2
- package/dist/widgets/carousel.cjs +1 -1
- package/dist/widgets/carousel.js +2 -2
- package/dist/widgets/cart-drawer.cjs +1 -1
- package/dist/widgets/cart-drawer.js +2 -2
- package/dist/widgets/chapter-nav.cjs +1 -1
- package/dist/widgets/chapter-nav.js +2 -2
- package/dist/widgets/chat-composer.cjs +1 -1
- package/dist/widgets/chat-composer.js +2 -2
- package/dist/widgets/clock-control.cjs +1 -1
- package/dist/widgets/clock-control.js +2 -2
- package/dist/widgets/code-export.cjs +1 -1
- package/dist/widgets/code-export.js +2 -2
- package/dist/widgets/color-picker.cjs +1 -1
- package/dist/widgets/color-picker.js +2 -2
- package/dist/widgets/command-palette.cjs +1 -1
- package/dist/widgets/command-palette.js +2 -2
- package/dist/widgets/compare.cjs +1 -1
- package/dist/widgets/compare.js +2 -2
- package/dist/widgets/countdown.cjs +1 -1
- package/dist/widgets/countdown.js +2 -2
- package/dist/widgets/cube-gallery.cjs +1 -1
- package/dist/widgets/cube-gallery.js +2 -2
- package/dist/widgets/date-picker.cjs +1 -1
- package/dist/widgets/date-picker.js +2 -2
- package/dist/widgets/disclosure.cjs +1 -1
- package/dist/widgets/disclosure.js +3 -3
- package/dist/widgets/dock.cjs +1 -1
- package/dist/widgets/dock.js +2 -2
- package/dist/widgets/dotlottie.cjs +1 -1
- package/dist/widgets/dotlottie.js +1 -1
- package/dist/widgets/equalizer.cjs +1 -1
- package/dist/widgets/equalizer.js +2 -2
- package/dist/widgets/festival-banner.cjs +1 -1
- package/dist/widgets/festival-banner.js +2 -2
- package/dist/widgets/field.cjs +1 -1
- package/dist/widgets/field.js +2 -2
- package/dist/widgets/file-drop.cjs +1 -1
- package/dist/widgets/file-drop.js +2 -2
- package/dist/widgets/gauge.cjs +1 -1
- package/dist/widgets/gauge.js +2 -2
- package/dist/widgets/gen-art.cjs +1 -1
- package/dist/widgets/gen-art.js +2 -2
- package/dist/widgets/gesture-sticker.cjs +1 -1
- package/dist/widgets/gesture-sticker.js +2 -2
- package/dist/widgets/gl-model.cjs +1 -1
- package/dist/widgets/gl-model.js +1 -1
- package/dist/widgets/gl-scene.cjs +2 -2
- package/dist/widgets/gl-scene.js +2 -2
- package/dist/widgets/globe.cjs +1 -1
- package/dist/widgets/globe.js +2 -2
- package/dist/widgets/gpu-particles.cjs +1 -1
- package/dist/widgets/gpu-particles.js +2 -2
- package/dist/widgets/gyro-card.cjs +1 -1
- package/dist/widgets/gyro-card.js +2 -2
- package/dist/widgets/hero-video.cjs +1 -1
- package/dist/widgets/hero-video.js +2 -2
- package/dist/widgets/hud-panel.cjs +1 -1
- package/dist/widgets/hud-panel.js +2 -2
- package/dist/widgets/hydrate.cjs +1 -1
- package/dist/widgets/hydrate.js +2 -2
- package/dist/widgets/install-button.cjs +1 -1
- package/dist/widgets/install-button.js +2 -2
- package/dist/widgets/kanban.cjs +1 -1
- package/dist/widgets/kanban.js +2 -2
- package/dist/widgets/keyframe-editor.cjs +2 -2
- package/dist/widgets/keyframe-editor.js +3 -3
- package/dist/widgets/kpi.cjs +1 -1
- package/dist/widgets/kpi.js +2 -2
- package/dist/widgets/leaderboard.cjs +1 -1
- package/dist/widgets/leaderboard.js +2 -2
- package/dist/widgets/liquid-nav.cjs +1 -1
- package/dist/widgets/liquid-nav.js +2 -2
- package/dist/widgets/location-card.cjs +1 -1
- package/dist/widgets/location-card.js +2 -2
- package/dist/widgets/lottie-icon.cjs +1 -1
- package/dist/widgets/lottie-icon.js +2 -2
- package/dist/widgets/lottie-player.cjs +2 -2
- package/dist/widgets/lottie-player.js +2 -2
- package/dist/widgets/lottie.cjs +1 -1
- package/dist/widgets/lottie.js +2 -2
- package/dist/widgets/lyrics.cjs +1 -1
- package/dist/widgets/lyrics.js +2 -2
- package/dist/widgets/masonry-flow.cjs +1 -1
- package/dist/widgets/masonry-flow.js +2 -2
- package/dist/widgets/menu-toggle.cjs +1 -1
- package/dist/widgets/menu-toggle.js +2 -2
- package/dist/widgets/menu.cjs +1 -1
- package/dist/widgets/menu.js +2 -2
- package/dist/widgets/message-list.cjs +1 -1
- package/dist/widgets/message-list.js +2 -2
- package/dist/widgets/milestones.cjs +1 -1
- package/dist/widgets/milestones.js +2 -2
- package/dist/widgets/modal.cjs +1 -1
- package/dist/widgets/modal.js +2 -2
- package/dist/widgets/motion-inspector.cjs +2 -2
- package/dist/widgets/motion-inspector.js +3 -3
- package/dist/widgets/motion-prefs.cjs +1 -1
- package/dist/widgets/motion-prefs.js +2 -2
- package/dist/widgets/motion-prompt.cjs +1 -1
- package/dist/widgets/motion-prompt.js +2 -2
- package/dist/widgets/motion-spec.cjs +1 -1
- package/dist/widgets/motion-spec.js +2 -2
- package/dist/widgets/motion.cjs +1 -1
- package/dist/widgets/motion.js +2 -2
- package/dist/widgets/music-player.cjs +1 -1
- package/dist/widgets/music-player.js +2 -2
- package/dist/widgets/native-preview.cjs +1 -1
- package/dist/widgets/native-preview.js +2 -2
- package/dist/widgets/nav-morph.cjs +1 -1
- package/dist/widgets/nav-morph.js +2 -2
- package/dist/widgets/notification-bell.cjs +1 -1
- package/dist/widgets/notification-bell.js +2 -2
- package/dist/widgets/odometer.cjs +1 -1
- package/dist/widgets/odometer.js +2 -2
- package/dist/widgets/organic-card.cjs +1 -1
- package/dist/widgets/organic-card.js +2 -2
- package/dist/widgets/otp.cjs +1 -1
- package/dist/widgets/otp.js +2 -2
- package/dist/widgets/pagination.cjs +1 -1
- package/dist/widgets/pagination.js +2 -2
- package/dist/widgets/panorama.cjs +1 -1
- package/dist/widgets/panorama.js +2 -2
- package/dist/widgets/parallax-layers.cjs +1 -1
- package/dist/widgets/parallax-layers.js +2 -2
- package/dist/widgets/pause-all.cjs +1 -1
- package/dist/widgets/pause-all.js +2 -2
- package/dist/widgets/perf-monitor.cjs +1 -1
- package/dist/widgets/perf-monitor.js +2 -2
- package/dist/widgets/physics-playground.cjs +2 -2
- package/dist/widgets/physics-playground.js +2 -2
- package/dist/widgets/plugin-card.cjs +3 -3
- package/dist/widgets/plugin-card.js +4 -4
- package/dist/widgets/plugin-store.cjs +1 -1
- package/dist/widgets/plugin-store.js +2 -2
- package/dist/widgets/presence.cjs +1 -1
- package/dist/widgets/presence.js +2 -2
- package/dist/widgets/prize-wheel.cjs +1 -1
- package/dist/widgets/prize-wheel.js +2 -2
- package/dist/widgets/product-gallery.cjs +1 -1
- package/dist/widgets/product-gallery.js +2 -2
- package/dist/widgets/progress-ring.cjs +1 -1
- package/dist/widgets/progress-ring.js +2 -2
- package/dist/widgets/prop-panel.cjs +1 -1
- package/dist/widgets/prop-panel.js +2 -2
- package/dist/widgets/pull-cord.cjs +1 -1
- package/dist/widgets/pull-cord.js +2 -2
- package/dist/widgets/radar.cjs +1 -1
- package/dist/widgets/radar.js +2 -2
- package/dist/widgets/reactions.cjs +1 -1
- package/dist/widgets/reactions.js +2 -2
- package/dist/widgets/red-envelope.cjs +1 -1
- package/dist/widgets/red-envelope.js +2 -2
- package/dist/widgets/retro-button.cjs +1 -1
- package/dist/widgets/retro-button.js +2 -2
- package/dist/widgets/rive.cjs +1 -1
- package/dist/widgets/rive.js +2 -2
- package/dist/widgets/route-transition.cjs +1 -1
- package/dist/widgets/route-transition.js +2 -2
- package/dist/widgets/scene.cjs +1 -1
- package/dist/widgets/scene.js +2 -2
- package/dist/widgets/scroll-ring.cjs +1 -1
- package/dist/widgets/scroll-ring.js +2 -2
- package/dist/widgets/scroll-scene.cjs +2 -2
- package/dist/widgets/scroll-scene.js +2 -2
- package/dist/widgets/segmented.cjs +1 -1
- package/dist/widgets/segmented.js +2 -2
- package/dist/widgets/shader-backdrop.cjs +1 -1
- package/dist/widgets/shader-backdrop.js +2 -2
- package/dist/widgets/sheet.cjs +1 -1
- package/dist/widgets/sheet.js +2 -2
- package/dist/widgets/shortcut.cjs +1 -1
- package/dist/widgets/shortcut.js +3 -3
- package/dist/widgets/skeleton-reveal.cjs +1 -1
- package/dist/widgets/skeleton-reveal.js +2 -2
- package/dist/widgets/sketch-chart.cjs +1 -1
- package/dist/widgets/sketch-chart.js +2 -2
- package/dist/widgets/smooth-scroll.cjs +2 -2
- package/dist/widgets/smooth-scroll.js +3 -3
- package/dist/widgets/snap-carousel.cjs +1 -1
- package/dist/widgets/snap-carousel.js +1 -1
- package/dist/widgets/sparkline.cjs +1 -1
- package/dist/widgets/sparkline.js +2 -2
- package/dist/widgets/spatial-card.cjs +1 -1
- package/dist/widgets/spatial-card.js +2 -2
- package/dist/widgets/star-rating.cjs +1 -1
- package/dist/widgets/star-rating.js +2 -2
- package/dist/widgets/stepper.cjs +1 -1
- package/dist/widgets/stepper.js +2 -2
- package/dist/widgets/sticky-wall.cjs +1 -1
- package/dist/widgets/sticky-wall.js +2 -2
- package/dist/widgets/stories.cjs +1 -1
- package/dist/widgets/stories.js +2 -2
- package/dist/widgets/suggestion-chips.cjs +1 -1
- package/dist/widgets/suggestion-chips.js +2 -2
- package/dist/widgets/swipe-deck.cjs +1 -1
- package/dist/widgets/swipe-deck.js +2 -2
- package/dist/widgets/switch.cjs +1 -1
- package/dist/widgets/switch.js +2 -2
- package/dist/widgets/tab-bar.cjs +1 -1
- package/dist/widgets/tab-bar.js +2 -2
- package/dist/widgets/terminal.cjs +1 -1
- package/dist/widgets/terminal.js +2 -2
- package/dist/widgets/text-splitter.cjs +3 -3
- package/dist/widgets/text-splitter.js +4 -4
- package/dist/widgets/theme-surface.cjs +1 -1
- package/dist/widgets/theme-surface.js +2 -2
- package/dist/widgets/theme-switcher.cjs +1 -1
- package/dist/widgets/theme-switcher.js +2 -2
- package/dist/widgets/tip.cjs +1 -1
- package/dist/widgets/tip.js +2 -2
- package/dist/widgets/toast-stack.cjs +1 -1
- package/dist/widgets/toast-stack.js +2 -2
- package/dist/widgets/token-editor.cjs +1 -1
- package/dist/widgets/token-editor.js +2 -2
- package/dist/widgets/upload-progress.cjs +1 -1
- package/dist/widgets/upload-progress.js +2 -2
- package/dist/widgets/video-card.cjs +1 -1
- package/dist/widgets/video-card.js +2 -2
- package/dist/widgets/voice-button.cjs +1 -1
- package/dist/widgets/voice-button.js +2 -2
- package/dist/widgets/volume-knob.cjs +1 -1
- package/dist/widgets/volume-knob.js +2 -2
- package/dist/widgets/weather-card.cjs +1 -1
- package/dist/widgets/weather-card.js +2 -2
- package/dist/widgets/worker-canvas.cjs +1 -1
- package/dist/widgets/worker-canvas.js +2 -2
- package/dist/widgets/xp-bar.cjs +1 -1
- package/dist/widgets/xp-bar.js +2 -2
- package/dist/widgets.umd.js +2 -2
- package/docs/cdn-sri.md +9 -9
- package/docs/components/usa-accordion.md +1 -1
- package/docs/components/usa-acrylic.md +1 -1
- package/docs/components/usa-add-to-cart.md +1 -1
- package/docs/components/usa-ambient.md +1 -1
- package/docs/components/usa-anim-icon.md +1 -1
- package/docs/components/usa-audio.md +1 -1
- package/docs/components/usa-aurora.md +1 -1
- package/docs/components/usa-auto-animate.md +1 -1
- package/docs/components/usa-auto-skeleton.md +1 -1
- package/docs/components/usa-avatar-stack.md +1 -1
- package/docs/components/usa-back-to-top.md +1 -1
- package/docs/components/usa-badge-wall.md +1 -1
- package/docs/components/usa-badge.md +1 -1
- package/docs/components/usa-bar-chart.md +1 -1
- package/docs/components/usa-bg-generator.md +1 -1
- package/docs/components/usa-blobs.md +1 -1
- package/docs/components/usa-bottom-sheet.md +1 -1
- package/docs/components/usa-button.md +1 -1
- package/docs/components/usa-card-stack.md +1 -1
- package/docs/components/usa-card.md +1 -1
- package/docs/components/usa-carousel-3d.md +1 -1
- package/docs/components/usa-carousel.md +1 -1
- package/docs/components/usa-cart-drawer.md +1 -1
- package/docs/components/usa-chapter-nav.md +1 -1
- package/docs/components/usa-chat-composer.md +1 -1
- package/docs/components/usa-check.md +1 -1
- package/docs/components/usa-checkbox.md +1 -1
- package/docs/components/usa-click.md +1 -1
- package/docs/components/usa-clock-control.md +1 -1
- package/docs/components/usa-code-export.md +1 -1
- package/docs/components/usa-color-picker.md +1 -1
- package/docs/components/usa-command-palette.md +1 -1
- package/docs/components/usa-compare.md +1 -1
- package/docs/components/usa-countdown.md +1 -1
- package/docs/components/usa-counter.md +1 -1
- package/docs/components/usa-cube-gallery.md +1 -1
- package/docs/components/usa-cube.md +1 -1
- package/docs/components/usa-cursor.md +1 -1
- package/docs/components/usa-date-picker.md +1 -1
- package/docs/components/usa-depth.md +1 -1
- package/docs/components/usa-dialog.md +1 -1
- package/docs/components/usa-disclosure.md +1 -1
- package/docs/components/usa-distort.md +1 -1
- package/docs/components/usa-dock.md +1 -1
- package/docs/components/usa-dot-network.md +1 -1
- package/docs/components/usa-dotlottie.md +6 -6
- package/docs/components/usa-double-tap.md +1 -1
- package/docs/components/usa-draggable.md +1 -1
- package/docs/components/usa-draw.md +1 -1
- package/docs/components/usa-drawer.md +1 -1
- package/docs/components/usa-equalizer.md +1 -1
- package/docs/components/usa-fab.md +1 -1
- package/docs/components/usa-festival-banner.md +1 -1
- package/docs/components/usa-field.md +1 -1
- package/docs/components/usa-file-drop.md +1 -1
- package/docs/components/usa-fullpage.md +1 -1
- package/docs/components/usa-fx.md +1 -1
- package/docs/components/usa-gauge.md +1 -1
- package/docs/components/usa-gen-art.md +1 -1
- package/docs/components/usa-gesture-fx.md +1 -1
- package/docs/components/usa-gesture-sticker.md +1 -1
- package/docs/components/usa-gl-model.md +7 -7
- package/docs/components/usa-gl-scene.md +8 -8
- package/docs/components/usa-glitch.md +1 -1
- package/docs/components/usa-globe.md +1 -1
- package/docs/components/usa-gpu-particles.md +1 -1
- package/docs/components/usa-gradient-text.md +1 -1
- package/docs/components/usa-grain.md +1 -1
- package/docs/components/usa-grid-glow.md +1 -1
- package/docs/components/usa-gyro-card.md +1 -1
- package/docs/components/usa-handwriting.md +1 -1
- package/docs/components/usa-hero-video.md +1 -1
- package/docs/components/usa-hold.md +1 -1
- package/docs/components/usa-hud-panel.md +1 -1
- package/docs/components/usa-hydrate.md +1 -1
- package/docs/components/usa-icon-morph.md +1 -1
- package/docs/components/usa-install-button.md +3 -3
- package/docs/components/usa-kanban.md +1 -1
- package/docs/components/usa-keyframe-editor.md +1 -1
- package/docs/components/usa-kpi.md +1 -1
- package/docs/components/usa-leaderboard.md +1 -1
- package/docs/components/usa-like.md +1 -1
- package/docs/components/usa-liquid-nav.md +1 -1
- package/docs/components/usa-liquid.md +1 -1
- package/docs/components/usa-loading-bar.md +1 -1
- package/docs/components/usa-location-card.md +1 -1
- package/docs/components/usa-lottie-icon.md +1 -1
- package/docs/components/usa-lottie-player.md +5 -5
- package/docs/components/usa-lottie.md +1 -1
- package/docs/components/usa-lyrics.md +1 -1
- package/docs/components/usa-magnetic.md +1 -1
- package/docs/components/usa-marquee.md +1 -1
- package/docs/components/usa-mask-reveal.md +1 -1
- package/docs/components/usa-masonry-flow.md +1 -1
- package/docs/components/usa-masonry.md +1 -1
- package/docs/components/usa-menu-toggle.md +1 -1
- package/docs/components/usa-menu.md +1 -1
- package/docs/components/usa-message-list.md +1 -1
- package/docs/components/usa-milestones.md +1 -1
- package/docs/components/usa-modal.md +1 -1
- package/docs/components/usa-morph.md +1 -1
- package/docs/components/usa-motion-inspector.md +1 -1
- package/docs/components/usa-motion-prefs.md +1 -1
- package/docs/components/usa-motion-prompt.md +1 -1
- package/docs/components/usa-motion-spec.md +1 -1
- package/docs/components/usa-motion-switch.md +1 -1
- package/docs/components/usa-motion-theme.md +1 -1
- package/docs/components/usa-motion.md +1 -1
- package/docs/components/usa-music-player.md +1 -1
- package/docs/components/usa-native-preview.md +1 -1
- package/docs/components/usa-nav-morph.md +1 -1
- package/docs/components/usa-navbar.md +1 -1
- package/docs/components/usa-notification-bell.md +1 -1
- package/docs/components/usa-odometer.md +1 -1
- package/docs/components/usa-organic-card.md +1 -1
- package/docs/components/usa-otp.md +1 -1
- package/docs/components/usa-overscroll.md +1 -1
- package/docs/components/usa-pack.md +1 -1
- package/docs/components/usa-pagination.md +1 -1
- package/docs/components/usa-panorama.md +1 -1
- package/docs/components/usa-parallax-layers.md +1 -1
- package/docs/components/usa-particles.md +1 -1
- package/docs/components/usa-pause-all.md +1 -1
- package/docs/components/usa-perf-monitor.md +1 -1
- package/docs/components/usa-physics-playground.md +6 -6
- package/docs/components/usa-pinch-zoom.md +1 -1
- package/docs/components/usa-player.md +1 -1
- package/docs/components/usa-plugin-card.md +4 -4
- package/docs/components/usa-plugin-store.md +1 -1
- package/docs/components/usa-popover.md +1 -1
- package/docs/components/usa-post-fx.md +1 -1
- package/docs/components/usa-presence.md +1 -1
- package/docs/components/usa-press.md +1 -1
- package/docs/components/usa-prize-wheel.md +1 -1
- package/docs/components/usa-product-gallery.md +1 -1
- package/docs/components/usa-progress-ring.md +1 -1
- package/docs/components/usa-progress.md +1 -1
- package/docs/components/usa-prop-panel.md +1 -1
- package/docs/components/usa-pull-cord.md +1 -1
- package/docs/components/usa-pull-refresh.md +1 -1
- package/docs/components/usa-radar.md +1 -1
- package/docs/components/usa-reactions.md +1 -1
- package/docs/components/usa-red-envelope.md +1 -1
- package/docs/components/usa-retro-button.md +1 -1
- package/docs/components/usa-reveal.md +1 -1
- package/docs/components/usa-ripple.md +1 -1
- package/docs/components/usa-rive.md +3 -3
- package/docs/components/usa-route-transition.md +1 -1
- package/docs/components/usa-scene.md +1 -1
- package/docs/components/usa-scramble.md +1 -1
- package/docs/components/usa-scroll-highlight.md +1 -1
- package/docs/components/usa-scroll-progress.md +1 -1
- package/docs/components/usa-scroll-ring.md +1 -1
- package/docs/components/usa-scroll-scene.md +5 -5
- package/docs/components/usa-scrolly.md +1 -1
- package/docs/components/usa-segmented.md +1 -1
- package/docs/components/usa-shader-backdrop.md +1 -1
- package/docs/components/usa-shader.md +1 -1
- package/docs/components/usa-sheet.md +1 -1
- package/docs/components/usa-shimmer-text.md +1 -1
- package/docs/components/usa-shortcut.md +1 -1
- package/docs/components/usa-skeleton-reveal.md +1 -1
- package/docs/components/usa-skeleton.md +1 -1
- package/docs/components/usa-sketch-chart.md +1 -1
- package/docs/components/usa-slider.md +1 -1
- package/docs/components/usa-smooth-scroll.md +5 -5
- package/docs/components/usa-snap-carousel.md +5 -5
- package/docs/components/usa-sparkline.md +1 -1
- package/docs/components/usa-spatial-card.md +1 -1
- package/docs/components/usa-spinner.md +1 -1
- package/docs/components/usa-splash.md +1 -1
- package/docs/components/usa-split-text.md +1 -1
- package/docs/components/usa-spotlight.md +1 -1
- package/docs/components/usa-spring.md +1 -1
- package/docs/components/usa-stagger.md +1 -1
- package/docs/components/usa-star-rating.md +1 -1
- package/docs/components/usa-stepper.md +1 -1
- package/docs/components/usa-sticky-stack.md +1 -1
- package/docs/components/usa-sticky-wall.md +1 -1
- package/docs/components/usa-stories.md +1 -1
- package/docs/components/usa-story.md +1 -1
- package/docs/components/usa-suggestion-chips.md +1 -1
- package/docs/components/usa-swipe-deck.md +1 -1
- package/docs/components/usa-swipeable.md +1 -1
- package/docs/components/usa-switch.md +1 -1
- package/docs/components/usa-tab-bar.md +1 -1
- package/docs/components/usa-tabs.md +1 -1
- package/docs/components/usa-terminal.md +1 -1
- package/docs/components/usa-text-rotate.md +1 -1
- package/docs/components/usa-text-splitter.md +5 -5
- package/docs/components/usa-theme-surface.md +1 -1
- package/docs/components/usa-theme-switcher.md +1 -1
- package/docs/components/usa-tilt.md +1 -1
- package/docs/components/usa-timeline.md +1 -1
- package/docs/components/usa-tip.md +1 -1
- package/docs/components/usa-toast-stack.md +1 -1
- package/docs/components/usa-toaster.md +1 -1
- package/docs/components/usa-token-editor.md +1 -1
- package/docs/components/usa-typewriter.md +1 -1
- package/docs/components/usa-upload-progress.md +1 -1
- package/docs/components/usa-video-card.md +1 -1
- package/docs/components/usa-view-switch.md +1 -1
- package/docs/components/usa-voice-button.md +1 -1
- package/docs/components/usa-volume-knob.md +1 -1
- package/docs/components/usa-water-ripple.md +1 -1
- package/docs/components/usa-wave-text.md +1 -1
- package/docs/components/usa-weather-card.md +1 -1
- package/docs/components/usa-worker-canvas.md +1 -1
- package/docs/components/usa-xp-bar.md +1 -1
- package/docs/components.md +50 -50
- package/docs/deprecations-v17.md +38 -3
- package/docs/migrating-to-v17.md +10 -7
- package/docs/performance.md +1 -1
- package/docs/presets.md +2 -2
- package/docs/runtime/core.md +2 -2
- package/docs/runtime/drag-snap.md +3 -3
- package/docs/runtime/format-apng.md +3 -3
- package/docs/runtime/format-css.md +3 -3
- package/docs/runtime/format-gif.md +3 -3
- package/docs/runtime/format-gltf.md +3 -3
- package/docs/runtime/format-motion.md +3 -3
- package/docs/runtime/format-obj.md +3 -3
- package/docs/runtime/format-scene.md +3 -3
- package/docs/runtime/format-sprite.md +3 -3
- package/docs/runtime/format-svg.md +3 -3
- package/docs/runtime/format-webp.md +3 -3
- package/docs/runtime/gl.md +3 -3
- package/docs/runtime/gltf-anim.md +3 -3
- package/docs/runtime/gltf-decoders.md +3 -3
- package/docs/runtime/lottie-state.md +3 -3
- package/docs/runtime/physics.md +3 -3
- package/docs/runtime/scroll.md +3 -3
- package/docs/runtime/smooth.md +3 -3
- package/docs/runtime/text.md +3 -3
- package/docs/runtime/vector.md +3 -3
- package/docs/scene-v2.schema.json +1 -1
- package/docs/scene-v3.md +1 -1
- package/docs/stability.md +21 -8
- package/docs/studio-plugins.md +5 -3
- package/docs/timeline-doc.schema.json +1 -1
- package/docs/versions.md +8 -7
- package/figma-plugin/code.js +1 -1
- package/package.json +13 -22
- package/dist/components/scene-v3-preview.cjs +0 -37
- package/dist/components/scene-v3-preview.d.cts +0 -4
- package/dist/components/scene-v3-preview.d.ts +0 -4
- package/dist/components/scene-v3-preview.js +0 -24
package/dist/components/fx2.cjs
CHANGED
|
@@ -259,4 +259,4 @@ exports.definePlugin = definePlugin;
|
|
|
259
259
|
exports.effectPlugins = effectPlugins;
|
|
260
260
|
exports.registerAllPlugins = registerAllPlugins;
|
|
261
261
|
exports.usePlugins = usePlugins;
|
|
262
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
262
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.0.0/dist/components/fx2.cjs.map
|
package/dist/components/fx2.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { E as EFFECT_PACK_FORMAT, l as loadEffectPack, p as packManifest, v as validateManifest } from '../chunks/manifest-
|
|
2
|
-
import { G as GPU_FX, r as registerGpuPack } from '../chunks/gpu-
|
|
3
|
-
export { a as GLSL_HEAD, W as WGSL_HEAD, f as fieldFallback, g as glslToWgsl, s as shaderBackground, b as supportsWebGL2, c as supportsWebGPU, w as webgpuBackground, d as wgslModule } from '../chunks/gpu-
|
|
1
|
+
export { E as EFFECT_PACK_FORMAT, l as loadEffectPack, p as packManifest, v as validateManifest } from '../chunks/manifest-EZTGWMQl.js';
|
|
2
|
+
import { G as GPU_FX, r as registerGpuPack } from '../chunks/gpu-Bl7ZKR8x.js';
|
|
3
|
+
export { a as GLSL_HEAD, W as WGSL_HEAD, f as fieldFallback, g as glslToWgsl, s as shaderBackground, b as supportsWebGL2, c as supportsWebGPU, w as webgpuBackground, d as wgslModule } from '../chunks/gpu-Bl7ZKR8x.js';
|
|
4
4
|
import { TEXT3_FX, registerTextPack } from './fx-text.js';
|
|
5
5
|
export { splitChars } from './fx-text.js';
|
|
6
6
|
import { LIGHT_FX, registerLightPack } from './fx-light.js';
|
|
@@ -59,7 +59,7 @@ import { SAFE_FX, registerSafePack } from './fx-safe.js';
|
|
|
59
59
|
export { DEFAULT_MOTION_PREFS, MOTION_PREFS_KEY, applyMotionPreferences, flashCount, isFlashSafe, loadMotionPreferences, vestibularSafe } from './fx-safe.js';
|
|
60
60
|
import { PERF3_FX, registerPerf3Pack } from './fx-perf.js';
|
|
61
61
|
export { fpsMeter, offscreenRender, runInWorker } from './fx-perf.js';
|
|
62
|
-
import { registerEffects } from '../chunks/registry-
|
|
62
|
+
import { registerEffects } from '../chunks/registry-BdSDdeL7.js';
|
|
63
63
|
|
|
64
64
|
/** The 6.x effect packs by name. */
|
|
65
65
|
const EFFECT_PACKS = {
|
|
@@ -156,4 +156,4 @@ function usePlugins(...plugins) {
|
|
|
156
156
|
}
|
|
157
157
|
|
|
158
158
|
export { AI_FX, CHART_FX, CINEMA_FX, CYBER_FX, DEPTH3_FX, EFFECT_PACKS, FESTIVAL_FX, FOCUS_FX, FORM_FX, GAME_FX, GENART_FX, GEO_FX, GESTURE3_FX, GPU_FX, LIGHT_FX, LOTTIE_FX, MORPH2_FX, MUSIC_FX, ORGANIC_FX, PAPER_FX, PERF3_FX, PHYSICS2_FX, RETRO_FX, SAFE_FX, SHOP_FX, SOCIAL_FX, SPATIAL_FX, SURFACE_FX, TEXT3_FX, TRANSITIONS2_FX, VIDEO_FX, WEATHER_FX, definePlugin, effectPlugins, register3dPack, registerAiPack, registerAllPlugins, registerChartPack, registerCinemaPack, registerCyberPack, registerFestivalPack, registerFocusPack, registerFormPack, registerGamePack, registerGenArtPack, registerGeoPack, registerGesture3Pack, registerGpuPack, registerLightPack, registerLottiePack, registerMorphPack, registerMusicPack, registerOrganicPack, registerPaperPack, registerPerf3Pack, registerPhysicsPack, registerRetroPack, registerSafePack, registerShopPack, registerSocialPack, registerSpatialPack, registerSurfacePack, registerTextPack, registerTransitionsPack, registerVideoPack, registerWeatherPack, usePlugins };
|
|
159
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
159
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.0.0/dist/components/fx2.js.map
|
|
@@ -209,4 +209,4 @@ exports.swipeDirection = core.swipeDirection;
|
|
|
209
209
|
exports.defineGestureComponents = defineGestureComponents;
|
|
210
210
|
exports.definePinchZoom = definePinchZoom;
|
|
211
211
|
exports.defineSwipeable = defineSwipeable;
|
|
212
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
212
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.0.0/dist/components/gesture.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { f as defineElement, d as clamp } from '../chunks/base-
|
|
2
|
-
import { c as createSpring } from '../chunks/spring-
|
|
3
|
-
import { g as gesture } from '../chunks/core-
|
|
4
|
-
export { p as pinchScale, s as swipeDirection } from '../chunks/core-
|
|
1
|
+
import { f as defineElement, d as clamp } from '../chunks/base-BQmWYlDq.js';
|
|
2
|
+
import { c as createSpring } from '../chunks/spring-BOKyL1Rj.js';
|
|
3
|
+
import { g as gesture } from '../chunks/core-DISdVBH1.js';
|
|
4
|
+
export { p as pinchScale, s as swipeDirection } from '../chunks/core-DISdVBH1.js';
|
|
5
5
|
|
|
6
6
|
var css = "usa-swipeable{display:block;touch-action:pan-y;user-select:none;-webkit-user-select:none}usa-swipeable[axis=\"y\"]{touch-action:pan-x}usa-swipeable>*{transform:translate3d(var(--usa-swipe,0px),0,0);opacity:calc(1 - var(--usa-swipe-p,0) * 0.5)}usa-swipeable[axis=\"y\"]>*{transform:translate3d(0,var(--usa-swipe,0px),0)}usa-swipeable:focus-visible{outline:2px solid currentColor;outline-offset:2px}usa-pinch-zoom{display:block;overflow:hidden;touch-action:none;position:relative}usa-pinch-zoom>*{transform:translate3d(var(--usa-zoom-x,0px),var(--usa-zoom-y,0px),0) scale(var(--usa-zoom,1));transform-origin:50% 50%}usa-pinch-zoom[data-zoomed]{cursor:grab}usa-pinch-zoom:focus-visible{outline:2px solid currentColor;outline-offset:2px}";
|
|
7
7
|
|
|
@@ -203,4 +203,4 @@ function defineGestureComponents() {
|
|
|
203
203
|
}
|
|
204
204
|
|
|
205
205
|
export { defineGestureComponents, definePinchZoom, defineSwipeable, gesture };
|
|
206
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
206
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.0.0/dist/components/gesture.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var base = require('../chunks/base-BvH4nAcv.cjs');
|
|
4
|
-
var runtimeLink = require('../chunks/runtime-link-
|
|
5
|
-
var widgets_glScene = require('../chunks/gl-scene-
|
|
4
|
+
var runtimeLink = require('../chunks/runtime-link-BdIFIkos.cjs');
|
|
5
|
+
var widgets_glScene = require('../chunks/gl-scene-CVWL23-p.cjs');
|
|
6
6
|
|
|
7
7
|
function defineGlModel(tag = 'usa-gl-model') {
|
|
8
8
|
return base.defineElement(tag, () => {
|
|
@@ -24,4 +24,4 @@ function defineGlModel(tag = 'usa-gl-model') {
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
exports.defineGlModel = defineGlModel;
|
|
27
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
27
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.0.0/dist/components/gl-model.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { f as defineElement } from '../chunks/base-
|
|
2
|
-
import { r as runtimeModule } from '../chunks/runtime-link-
|
|
3
|
-
import { c as css, d as defineGlScene } from '../chunks/gl-scene-
|
|
1
|
+
import { f as defineElement } from '../chunks/base-BQmWYlDq.js';
|
|
2
|
+
import { r as runtimeModule } from '../chunks/runtime-link-B_JFtz71.js';
|
|
3
|
+
import { c as css, d as defineGlScene } from '../chunks/gl-scene-D2YD1hWA.js';
|
|
4
4
|
|
|
5
5
|
function defineGlModel(tag = 'usa-gl-model') {
|
|
6
6
|
return defineElement(tag, () => {
|
|
@@ -22,4 +22,4 @@ function defineGlModel(tag = 'usa-gl-model') {
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
export { defineGlModel };
|
|
25
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
25
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.0.0/dist/components/gl-model.js.map
|
|
@@ -55,7 +55,7 @@ const t = () => (typeof performance == 'object' ? performance.now() : Date.now()
|
|
|
55
55
|
function ownerOf(c) {
|
|
56
56
|
let n = c.parentNode;
|
|
57
57
|
while (n) {
|
|
58
|
-
if (n.nodeType === 1 && n.localName
|
|
58
|
+
if (n.nodeType === 1 && /^(usa|mo)-/.test(n.localName) && typeof n.changed == 'function')
|
|
59
59
|
return n;
|
|
60
60
|
n = n.parentNode || n.host;
|
|
61
61
|
}
|
|
@@ -354,4 +354,4 @@ exports.glPoolStats = glPoolStats;
|
|
|
354
354
|
exports.glSupport = glSupport;
|
|
355
355
|
exports.installGLPool = installGLPool;
|
|
356
356
|
exports.uninstallGLPool = uninstallGLPool;
|
|
357
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
357
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.0.0/dist/components/gl-pool.cjs.map
|
|
@@ -53,7 +53,7 @@ const t = () => (typeof performance == 'object' ? performance.now() : Date.now()
|
|
|
53
53
|
function ownerOf(c) {
|
|
54
54
|
let n = c.parentNode;
|
|
55
55
|
while (n) {
|
|
56
|
-
if (n.nodeType === 1 && n.localName
|
|
56
|
+
if (n.nodeType === 1 && /^(usa|mo)-/.test(n.localName) && typeof n.changed == 'function')
|
|
57
57
|
return n;
|
|
58
58
|
n = n.parentNode || n.host;
|
|
59
59
|
}
|
|
@@ -349,4 +349,4 @@ function glSupport(kind = 'webgl2') {
|
|
|
349
349
|
}
|
|
350
350
|
|
|
351
351
|
export { glPoolStats, glSupport, installGLPool, uninstallGLPool };
|
|
352
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
352
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.0.0/dist/components/gl-pool.js.map
|
|
@@ -339,4 +339,4 @@ exports.definePress = definePress;
|
|
|
339
339
|
exports.defineRipple = defineRipple;
|
|
340
340
|
exports.defineSpotlight = defineSpotlight;
|
|
341
341
|
exports.defineTilt = defineTilt;
|
|
342
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
342
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.0.0/dist/components/interaction.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as defineElement,
|
|
1
|
+
import { f as defineElement, F as EASE_OUT, r as raf, b as caf, d as clamp, E as EASE_SPRING } from '../chunks/base-BQmWYlDq.js';
|
|
2
2
|
|
|
3
3
|
var css$4 = "usa-ripple{position:relative;display:inline-block;overflow:hidden;isolation:isolate;border-radius:inherit;-webkit-tap-highlight-color:transparent}usa-ripple[block]{display:block}usa-ripple .usa-ripple-wave{position:absolute;border-radius:50%;pointer-events:none;transform:scale(0);z-index:-1;will-change:transform,opacity}";
|
|
4
4
|
|
|
@@ -332,4 +332,4 @@ function defineInteractionComponents() {
|
|
|
332
332
|
}
|
|
333
333
|
|
|
334
334
|
export { defineInteractionComponents, defineMagnetic, definePress, defineRipple, defineSpotlight, defineTilt };
|
|
335
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
335
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.0.0/dist/components/interaction.js.map
|
package/dist/components/jsx.cjs
CHANGED
package/dist/components/jsx.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
2
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.0.0/dist/components/jsx.js.map
|
|
@@ -58,7 +58,7 @@ function autoAnimate(parent, o = {}) {
|
|
|
58
58
|
n.style.pointerEvents = 'none';
|
|
59
59
|
if (getComputedStyle(parent).position === 'static')
|
|
60
60
|
parent.style.position = 'relative';
|
|
61
|
-
parent.
|
|
61
|
+
parent.append(n);
|
|
62
62
|
n.__usaGhost = true;
|
|
63
63
|
const a = animate(n, [{ opacity: 1, transform: 'none' }, { opacity: 0, transform: 'scale(0.96)' }]);
|
|
64
64
|
const drop = () => {
|
|
@@ -258,4 +258,4 @@ exports.defineMasonry = defineMasonry;
|
|
|
258
258
|
exports.flipFrames = flipFrames;
|
|
259
259
|
exports.masonryLayout = masonryLayout;
|
|
260
260
|
exports.sharedTransition = sharedTransition;
|
|
261
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
261
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.0.0/dist/components/layout.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as prefersReducedMotion,
|
|
1
|
+
import { p as prefersReducedMotion, F as EASE_OUT, m as motionScale, f as defineElement, r as raf } from '../chunks/base-BQmWYlDq.js';
|
|
2
2
|
|
|
3
3
|
/** FLIP keyframes from a previous box to the current one (pure). */
|
|
4
4
|
function flipFrames(from, to, scale = true) {
|
|
@@ -56,7 +56,7 @@ function autoAnimate(parent, o = {}) {
|
|
|
56
56
|
n.style.pointerEvents = 'none';
|
|
57
57
|
if (getComputedStyle(parent).position === 'static')
|
|
58
58
|
parent.style.position = 'relative';
|
|
59
|
-
parent.
|
|
59
|
+
parent.append(n);
|
|
60
60
|
n.__usaGhost = true;
|
|
61
61
|
const a = animate(n, [{ opacity: 1, transform: 'none' }, { opacity: 0, transform: 'scale(0.96)' }]);
|
|
62
62
|
const drop = () => {
|
|
@@ -250,4 +250,4 @@ function defineLayoutComponents() {
|
|
|
250
250
|
}
|
|
251
251
|
|
|
252
252
|
export { autoAnimate, defineAutoAnimate, defineLayoutComponents, defineMasonry, flipFrames, masonryLayout, sharedTransition };
|
|
253
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
253
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.0.0/dist/components/layout.js.map
|
package/dist/components/lazy.cjs
CHANGED
|
@@ -42,7 +42,7 @@ for (const [cat, tags] of Object.entries(indexTags.COMPONENT_CATEGORIES))
|
|
|
42
42
|
TAG_TO_CAT.set(t, cat);
|
|
43
43
|
const loaded = new Map();
|
|
44
44
|
/** Category of a tag (`usa-button` → `click`), or `null`. */
|
|
45
|
-
const categoryOfTag = (tag) => TAG_TO_CAT.get(tag.toLowerCase()) ?? null;
|
|
45
|
+
const categoryOfTag = (tag) => TAG_TO_CAT.get(tag.toLowerCase().replace(/^mo-/, 'usa-')) ?? null; // 17.0: mo-* aliases
|
|
46
46
|
/** Load and register one category (once). */
|
|
47
47
|
function loadCategory(cat) {
|
|
48
48
|
let p = loaded.get(cat);
|
|
@@ -62,7 +62,7 @@ async function defineUsed(root = document) {
|
|
|
62
62
|
return [];
|
|
63
63
|
const cats = new Set();
|
|
64
64
|
const scan = (el) => {
|
|
65
|
-
const c = el.localName
|
|
65
|
+
const c = /^(usa|mo)-/.test(el.localName) && !customElements.get(el.localName) ? categoryOfTag(el.localName) : null;
|
|
66
66
|
if (c)
|
|
67
67
|
cats.add(c);
|
|
68
68
|
};
|
|
@@ -89,4 +89,4 @@ exports.categoryOfTag = categoryOfTag;
|
|
|
89
89
|
exports.defineUsed = defineUsed;
|
|
90
90
|
exports.lazyDefine = lazyDefine;
|
|
91
91
|
exports.loadCategory = loadCategory;
|
|
92
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
92
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.0.0/dist/components/lazy.cjs.map
|
package/dist/components/lazy.js
CHANGED
|
@@ -40,7 +40,7 @@ for (const [cat, tags] of Object.entries(COMPONENT_CATEGORIES))
|
|
|
40
40
|
TAG_TO_CAT.set(t, cat);
|
|
41
41
|
const loaded = new Map();
|
|
42
42
|
/** Category of a tag (`usa-button` → `click`), or `null`. */
|
|
43
|
-
const categoryOfTag = (tag) => TAG_TO_CAT.get(tag.toLowerCase()) ?? null;
|
|
43
|
+
const categoryOfTag = (tag) => TAG_TO_CAT.get(tag.toLowerCase().replace(/^mo-/, 'usa-')) ?? null; // 17.0: mo-* aliases
|
|
44
44
|
/** Load and register one category (once). */
|
|
45
45
|
function loadCategory(cat) {
|
|
46
46
|
let p = loaded.get(cat);
|
|
@@ -60,7 +60,7 @@ async function defineUsed(root = document) {
|
|
|
60
60
|
return [];
|
|
61
61
|
const cats = new Set();
|
|
62
62
|
const scan = (el) => {
|
|
63
|
-
const c = el.localName
|
|
63
|
+
const c = /^(usa|mo)-/.test(el.localName) && !customElements.get(el.localName) ? categoryOfTag(el.localName) : null;
|
|
64
64
|
if (c)
|
|
65
65
|
cats.add(c);
|
|
66
66
|
};
|
|
@@ -84,4 +84,4 @@ function lazyDefine(root = typeof document !== 'undefined' ? document : undefine
|
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
export { categoryOfTag, defineUsed, lazyDefine, loadCategory };
|
|
87
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
87
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.0.0/dist/components/lazy.js.map
|
package/dist/components/lite.cjs
CHANGED
|
@@ -579,7 +579,7 @@ function loadCategoryStyles(category, base) {
|
|
|
579
579
|
link.rel = 'stylesheet';
|
|
580
580
|
link.href = `${base.replace(/\/?$/, '/')}${category === 'all' ? 'components.css' : `components/${category}.css`}`;
|
|
581
581
|
link.setAttribute('data-usa-css', category);
|
|
582
|
-
document.head.
|
|
582
|
+
document.head.append(link);
|
|
583
583
|
return link;
|
|
584
584
|
}
|
|
585
585
|
/**
|
|
@@ -3181,7 +3181,7 @@ function defineToaster(tag = 'usa-toaster') {
|
|
|
3181
3181
|
function toast(message, options = {}) {
|
|
3182
3182
|
if (typeof document === 'undefined' || !defineToaster())
|
|
3183
3183
|
return null;
|
|
3184
|
-
let host = typeof options.toaster === 'string' ? document.querySelector(options.toaster) : options.toaster || document.querySelector('usa-toaster');
|
|
3184
|
+
let host = typeof options.toaster === 'string' ? document.querySelector(options.toaster) : options.toaster || document.querySelector('usa-toaster,mo-toaster');
|
|
3185
3185
|
if (!host) {
|
|
3186
3186
|
host = document.createElement('usa-toaster');
|
|
3187
3187
|
document.body.append(host);
|
|
@@ -5591,7 +5591,7 @@ function fxLayer() {
|
|
|
5591
5591
|
layer.className = 'usa-fx-layer';
|
|
5592
5592
|
layer.setAttribute('aria-hidden', 'true');
|
|
5593
5593
|
layer.style.cssText = 'position:fixed;inset:0;pointer-events:none;z-index:2147483000;overflow:hidden;contain:strict';
|
|
5594
|
-
document.body.
|
|
5594
|
+
document.body.append(layer);
|
|
5595
5595
|
return layer;
|
|
5596
5596
|
}
|
|
5597
5597
|
const PALETTE = ['#7c5cff', '#22d3ee', '#f472b6', '#facc15', '#34d399', '#fb923c'];
|
|
@@ -5603,7 +5603,7 @@ function particle(x, y, size, color, shape) {
|
|
|
5603
5603
|
(glyph ? `font-size:${size * 2}px;line-height:${size}px;text-align:center;color:${color}` : `background:${color};border-radius:${shape === 'square' ? '2px' : '50%'}`);
|
|
5604
5604
|
if (glyph)
|
|
5605
5605
|
p.textContent = glyph;
|
|
5606
|
-
fxLayer().
|
|
5606
|
+
fxLayer().append(p);
|
|
5607
5607
|
return p;
|
|
5608
5608
|
}
|
|
5609
5609
|
const done = (a, el) => {
|
|
@@ -5823,7 +5823,7 @@ function injectGoo() {
|
|
|
5823
5823
|
svg.setAttribute('height', '0');
|
|
5824
5824
|
svg.style.position = 'absolute';
|
|
5825
5825
|
svg.innerHTML = '<filter id="usa-goo"><feGaussianBlur in="SourceGraphic" stdDeviation="6" result="b"/><feColorMatrix in="b" values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 22 -9" result="g"/><feComposite in="SourceGraphic" in2="g" operator="atop"/></filter>';
|
|
5826
|
-
document.body.
|
|
5826
|
+
document.body.append(svg);
|
|
5827
5827
|
}
|
|
5828
5828
|
function defineButton(tag = 'usa-button') {
|
|
5829
5829
|
return defineElement(tag, (Base) => class UsaButton extends Base {
|
|
@@ -7869,11 +7869,11 @@ function defineLoadingBar(tag = 'usa-loading-bar') {
|
|
|
7869
7869
|
function bar() {
|
|
7870
7870
|
if (typeof document === 'undefined')
|
|
7871
7871
|
return null;
|
|
7872
|
-
let el = document.querySelector('usa-loading-bar');
|
|
7872
|
+
let el = document.querySelector('usa-loading-bar,mo-loading-bar');
|
|
7873
7873
|
if (!el) {
|
|
7874
7874
|
defineLoadingBar();
|
|
7875
7875
|
el = document.createElement('usa-loading-bar');
|
|
7876
|
-
document.body.
|
|
7876
|
+
document.body.append(el);
|
|
7877
7877
|
}
|
|
7878
7878
|
return typeof el.start === 'function' ? el : null;
|
|
7879
7879
|
}
|
|
@@ -9918,7 +9918,7 @@ function autoAnimate(parent, o = {}) {
|
|
|
9918
9918
|
n.style.pointerEvents = 'none';
|
|
9919
9919
|
if (getComputedStyle(parent).position === 'static')
|
|
9920
9920
|
parent.style.position = 'relative';
|
|
9921
|
-
parent.
|
|
9921
|
+
parent.append(n);
|
|
9922
9922
|
n.__usaGhost = true;
|
|
9923
9923
|
const a = animate(n, [{ opacity: 1, transform: 'none' }, { opacity: 0, transform: 'scale(0.96)' }]);
|
|
9924
9924
|
const drop = () => {
|
|
@@ -10172,7 +10172,7 @@ async function flyToCart(from, to, o = {}) {
|
|
|
10172
10172
|
const ghost = from.cloneNode(true);
|
|
10173
10173
|
ghost.setAttribute('aria-hidden', 'true');
|
|
10174
10174
|
Object.assign(ghost.style, { position: 'fixed', left: `${a.left}px`, top: `${a.top}px`, width: `${a.width}px`, height: `${a.height}px`, margin: '0', zIndex: '2147483000', pointerEvents: 'none' });
|
|
10175
|
-
document.body.
|
|
10175
|
+
document.body.append(ghost);
|
|
10176
10176
|
const dx = b.left + b.width / 2 - (a.left + a.width / 2);
|
|
10177
10177
|
const dy = b.top + b.height / 2 - (a.top + a.height / 2);
|
|
10178
10178
|
const f = anim(ghost, [
|
|
@@ -10531,7 +10531,7 @@ const click = [
|
|
|
10531
10531
|
if (getComputedStyle(el).position === 'static')
|
|
10532
10532
|
el.style.position = 'relative';
|
|
10533
10533
|
(_a = el.style).overflow || (_a.overflow = 'hidden');
|
|
10534
|
-
el.
|
|
10534
|
+
el.append(dot);
|
|
10535
10535
|
const a = ctx.animate(dot, [{ transform: 'scale(0)', opacity: 0.3 }, { transform: 'scale(1)', opacity: 0 }], { duration: o.duration, easing: 'ease-out' });
|
|
10536
10536
|
const done = () => dot.remove();
|
|
10537
10537
|
if (a)
|
|
@@ -11312,4 +11312,4 @@ exports.viewTransition = viewTransition;
|
|
|
11312
11312
|
exports.warnBaseline = warnBaseline;
|
|
11313
11313
|
exports.watchPowerSaver = watchPowerSaver;
|
|
11314
11314
|
exports.withoutDeprecations = withoutDeprecations;
|
|
11315
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
11315
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.0.0/dist/components/lite.cjs.map
|
package/dist/components/lite.js
CHANGED
|
@@ -576,7 +576,7 @@ function loadCategoryStyles(category, base) {
|
|
|
576
576
|
link.rel = 'stylesheet';
|
|
577
577
|
link.href = `${base.replace(/\/?$/, '/')}${category === 'all' ? 'components.css' : `components/${category}.css`}`;
|
|
578
578
|
link.setAttribute('data-usa-css', category);
|
|
579
|
-
document.head.
|
|
579
|
+
document.head.append(link);
|
|
580
580
|
return link;
|
|
581
581
|
}
|
|
582
582
|
/**
|
|
@@ -3178,7 +3178,7 @@ function defineToaster(tag = 'usa-toaster') {
|
|
|
3178
3178
|
function toast(message, options = {}) {
|
|
3179
3179
|
if (typeof document === 'undefined' || !defineToaster())
|
|
3180
3180
|
return null;
|
|
3181
|
-
let host = typeof options.toaster === 'string' ? document.querySelector(options.toaster) : options.toaster || document.querySelector('usa-toaster');
|
|
3181
|
+
let host = typeof options.toaster === 'string' ? document.querySelector(options.toaster) : options.toaster || document.querySelector('usa-toaster,mo-toaster');
|
|
3182
3182
|
if (!host) {
|
|
3183
3183
|
host = document.createElement('usa-toaster');
|
|
3184
3184
|
document.body.append(host);
|
|
@@ -5588,7 +5588,7 @@ function fxLayer() {
|
|
|
5588
5588
|
layer.className = 'usa-fx-layer';
|
|
5589
5589
|
layer.setAttribute('aria-hidden', 'true');
|
|
5590
5590
|
layer.style.cssText = 'position:fixed;inset:0;pointer-events:none;z-index:2147483000;overflow:hidden;contain:strict';
|
|
5591
|
-
document.body.
|
|
5591
|
+
document.body.append(layer);
|
|
5592
5592
|
return layer;
|
|
5593
5593
|
}
|
|
5594
5594
|
const PALETTE = ['#7c5cff', '#22d3ee', '#f472b6', '#facc15', '#34d399', '#fb923c'];
|
|
@@ -5600,7 +5600,7 @@ function particle(x, y, size, color, shape) {
|
|
|
5600
5600
|
(glyph ? `font-size:${size * 2}px;line-height:${size}px;text-align:center;color:${color}` : `background:${color};border-radius:${shape === 'square' ? '2px' : '50%'}`);
|
|
5601
5601
|
if (glyph)
|
|
5602
5602
|
p.textContent = glyph;
|
|
5603
|
-
fxLayer().
|
|
5603
|
+
fxLayer().append(p);
|
|
5604
5604
|
return p;
|
|
5605
5605
|
}
|
|
5606
5606
|
const done = (a, el) => {
|
|
@@ -5820,7 +5820,7 @@ function injectGoo() {
|
|
|
5820
5820
|
svg.setAttribute('height', '0');
|
|
5821
5821
|
svg.style.position = 'absolute';
|
|
5822
5822
|
svg.innerHTML = '<filter id="usa-goo"><feGaussianBlur in="SourceGraphic" stdDeviation="6" result="b"/><feColorMatrix in="b" values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 22 -9" result="g"/><feComposite in="SourceGraphic" in2="g" operator="atop"/></filter>';
|
|
5823
|
-
document.body.
|
|
5823
|
+
document.body.append(svg);
|
|
5824
5824
|
}
|
|
5825
5825
|
function defineButton(tag = 'usa-button') {
|
|
5826
5826
|
return defineElement(tag, (Base) => class UsaButton extends Base {
|
|
@@ -7866,11 +7866,11 @@ function defineLoadingBar(tag = 'usa-loading-bar') {
|
|
|
7866
7866
|
function bar() {
|
|
7867
7867
|
if (typeof document === 'undefined')
|
|
7868
7868
|
return null;
|
|
7869
|
-
let el = document.querySelector('usa-loading-bar');
|
|
7869
|
+
let el = document.querySelector('usa-loading-bar,mo-loading-bar');
|
|
7870
7870
|
if (!el) {
|
|
7871
7871
|
defineLoadingBar();
|
|
7872
7872
|
el = document.createElement('usa-loading-bar');
|
|
7873
|
-
document.body.
|
|
7873
|
+
document.body.append(el);
|
|
7874
7874
|
}
|
|
7875
7875
|
return typeof el.start === 'function' ? el : null;
|
|
7876
7876
|
}
|
|
@@ -9915,7 +9915,7 @@ function autoAnimate(parent, o = {}) {
|
|
|
9915
9915
|
n.style.pointerEvents = 'none';
|
|
9916
9916
|
if (getComputedStyle(parent).position === 'static')
|
|
9917
9917
|
parent.style.position = 'relative';
|
|
9918
|
-
parent.
|
|
9918
|
+
parent.append(n);
|
|
9919
9919
|
n.__usaGhost = true;
|
|
9920
9920
|
const a = animate(n, [{ opacity: 1, transform: 'none' }, { opacity: 0, transform: 'scale(0.96)' }]);
|
|
9921
9921
|
const drop = () => {
|
|
@@ -10169,7 +10169,7 @@ async function flyToCart(from, to, o = {}) {
|
|
|
10169
10169
|
const ghost = from.cloneNode(true);
|
|
10170
10170
|
ghost.setAttribute('aria-hidden', 'true');
|
|
10171
10171
|
Object.assign(ghost.style, { position: 'fixed', left: `${a.left}px`, top: `${a.top}px`, width: `${a.width}px`, height: `${a.height}px`, margin: '0', zIndex: '2147483000', pointerEvents: 'none' });
|
|
10172
|
-
document.body.
|
|
10172
|
+
document.body.append(ghost);
|
|
10173
10173
|
const dx = b.left + b.width / 2 - (a.left + a.width / 2);
|
|
10174
10174
|
const dy = b.top + b.height / 2 - (a.top + a.height / 2);
|
|
10175
10175
|
const f = anim(ghost, [
|
|
@@ -10528,7 +10528,7 @@ const click = [
|
|
|
10528
10528
|
if (getComputedStyle(el).position === 'static')
|
|
10529
10529
|
el.style.position = 'relative';
|
|
10530
10530
|
(_a = el.style).overflow || (_a.overflow = 'hidden');
|
|
10531
|
-
el.
|
|
10531
|
+
el.append(dot);
|
|
10532
10532
|
const a = ctx.animate(dot, [{ transform: 'scale(0)', opacity: 0.3 }, { transform: 'scale(1)', opacity: 0 }], { duration: o.duration, easing: 'ease-out' });
|
|
10533
10533
|
const done = () => dot.remove();
|
|
10534
10534
|
if (a)
|
|
@@ -11041,4 +11041,4 @@ const STYLE_BASE = new URL('../', import.meta.url).href;
|
|
|
11041
11041
|
onDemandStyles(STYLE_BASE);
|
|
11042
11042
|
|
|
11043
11043
|
export { ALL_TAGS, AMBIENT_EFFECTS, ANIM_ICONS, BRIDGE_PROTOCOL_VERSION, BUILTIN_EFFECTS, BUTTON_DEFORMS, CARD_EFFECTS, CLICK_EFFECTS, COMPONENT_CATEGORIES, CURSOR_MODES, EFFECT_KINDS, EFFECT_TRIGGERS, GL_FALLBACKS, JOINING_SCRIPT, LIVE_REGION_IDS, MASK_SHAPES, MORPH_ICONS, MOTION_SCALE, MOTION_SENSITIVITY, MOTION_SENSITIVITY_LEVELS, MOTION_TOKENS, PACKS, PACK_PRIMITIVES, PAGE_EFFECTS, PARTICLE_PRESETS, POST_EFFECTS, REVEAL_EFFECTS, SENSITIVITY_CSS, SHADERS, SPINNER_VARIANTS, SPRING_EFFECTS, SPRING_PRESETS, STATIC_ALTERNATIVES, STYLE_BASE, TIMELINE_PRESETS, VARIANTS, activeAnimations, adaptKeyframes, adoptVariants, animateWithMotion, animationBudget, announce, applyMotionTokens, applyNativeSettings, applyPack, auditMotionA11y, autoAnimate, autoDegrade, baselineReport, bindEffect, categoryOf, configureComponents, connectNativeShell, countUp, createSpring, defineAccordion, defineAcrylic, defineAmbient, defineAnimIcon, defineAurora, defineAutoAnimate, defineAutoSkeleton, defineAvatarStack, defineBackToTop, defineBackgroundComponents, defineBadge, defineBlobs, defineBottomSheet, defineButton, defineCard, defineCardComponents, defineCardStack, defineCarousel3d, defineCheck, defineCheckbox, defineClick, defineClickComponents, defineComponents, defineCounter, defineCube, defineCursor, defineDepth, defineDepthComponents, defineDialog, defineDistort, defineDotNetwork, defineDoubleTap, defineDraggable, defineDraw, defineDrawer, defineFab, defineFeedbackComponents, defineFullpage, defineFx, defineFxComponents, defineGestureComponents, defineGlitch, defineGradientText, defineGrain, defineGridGlow, defineHandwriting, defineHold, defineIconMorph, defineInteractionComponents, defineLayoutComponents, defineLike, defineLiquid, defineLoadingBar, defineMagnetic, defineMarquee, defineMaskReveal, defineMasonry, defineMorph, defineMotionSwitch, defineNavbar, defineOverscroll, definePack, definePacksComponents, definePageComponents, defineParticles, definePhysicsComponents, definePinchZoom, definePopover, definePostFx, definePress, defineProgress, definePullRefresh, defineReveal, defineRevealComponents, defineRipple, defineScramble, defineScrollHighlight, defineScrollProgress, defineScrolly, defineShader, defineShimmerText, defineSkeleton, defineSlider, defineSpinner, defineSplash, defineSplitText, defineSpotlight, defineSpring, defineStagger, defineStickyStack, defineSvgComponents, defineSwipeable, defineTabs, defineTextComponents, defineTextRotate, defineTilt, defineTimeline, defineTimelineComponents, defineToaster, defineTransitionComponents, defineTypewriter, defineUiComponents, defineViewSwitch, defineWaterRipple, defineWaveText, defineWebglComponents, detectNativeHost, deviceTilt, drawLines, easeOutExpo, enableMpaTransitions, exportDesignTokens, flip, flipFrames, fluentPreset, flyToCart, fragmentSource, gesture, getEffect, getMotionIntensity, getMotionLevel, getMotionSensitivity, getMotionTokens, glFallbackCss, glGovernor, glQuad, graphemes, haptic, hasEffect, importDesignTokens, importMotionTokens, interpolatePath, isTrustedMessage, linearEasing, listEffects, liveRegion, loadCategoryStyles, loadedStyles, loadingBar, masonryLayout, mergeMotionTokens, morphPath, morphTo, motionAllowed, motionScale, motionToken, motionTokensToCss, motionTokensToJSON, motionTokensToVars, motionVar, onDemandStyles, onFrame, orientationToTilt, pageTransition, parseDuration, parseEasing, parseNativeSettings, pathsCompatible, pinchScale, playEffect, postFxShader, postToNative, prefersReducedMotion, projectInertia, readScrollProgress, registerBuiltinEffects, registerEffect, registerEffects, requestOrientationPermission, resolveDurationToken, resolveEasingToken, resolvePosition, resolveSpring, resolveTokenAliases, restoreMotionIntensity, restoreMotionSensitivity, revealKeyframes, rubberBand, schedulerStats, scrambleFrame, scrollToTarget, setAnimationBudget, setFrameBudget, setMotionIntensity, setMotionLevel, setMotionSensitivity, setVariant, sharedTransition, smoothScroll, snapTo, splitOrder, splitText, splitTimeline, words as splitWords, spring, springEasing, springEffectKeyframes, springSamples, staticAlternative, stepSpring, supportsLinearEasing, supportsNativeScrub, supportsOrientation, supportsViewTransitions, supportsWebGL, swipeDirection, themeTransition, timeline, toast, validateDesignTokens, viewTransition, warnBaseline, watchPowerSaver, withoutDeprecations };
|
|
11044
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
11044
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.0.0/dist/components/lite.js.map
|
|
@@ -98,4 +98,4 @@ exports.fetchMarketplace = fetchMarketplace;
|
|
|
98
98
|
exports.installPlugin = installPlugin;
|
|
99
99
|
exports.installedPlugins = installedPlugins;
|
|
100
100
|
exports.searchPlugins = searchPlugins;
|
|
101
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
101
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.0.0/dist/components/marketplace.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as loadEffectPack } from '../chunks/manifest-
|
|
2
|
-
export { E as EFFECT_PACK_FORMAT, p as packManifest, v as validateManifest } from '../chunks/manifest-
|
|
1
|
+
import { l as loadEffectPack } from '../chunks/manifest-EZTGWMQl.js';
|
|
2
|
+
export { E as EFFECT_PACK_FORMAT, p as packManifest, v as validateManifest } from '../chunks/manifest-EZTGWMQl.js';
|
|
3
3
|
export { c as checkCompat, p as pluginIntegrity, s as satisfies, v as verifyPlugin } from '../chunks/sign-DvZ1jHxE.js';
|
|
4
4
|
|
|
5
5
|
const MARKETPLACE_FORMAT = 'motionary/marketplace';
|
|
@@ -84,4 +84,4 @@ async function fetchMarketplace(url, fetcher = fetch) {
|
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
export { MARKETPLACE, MARKETPLACE_FORMAT, fetchMarketplace, installPlugin, installedPlugins, loadEffectPack, searchPlugins };
|
|
87
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
87
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.0.0/dist/components/marketplace.js.map
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var base = require('../chunks/base-BvH4nAcv.cjs');
|
|
4
|
+
var indexTags = require('../chunks/index-tags-hLIF2Clq.cjs');
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* motionary/components/mo — the 17.0 `<mo-*>` names.
|
|
8
|
+
*
|
|
9
|
+
* After `defineMoAliases()` every default `<usa-*>` element is also registered as `<mo-*>` (`<usa-switch>` →
|
|
10
|
+
* `<mo-switch>`): a subclass, so attributes, properties and `usa:*` events are the same. The component styles are copied
|
|
11
|
+
* with renamed tag selectors the first time a `<mo-*>` element connects, so pages that never use `mo-*` pay nothing.
|
|
12
|
+
*
|
|
13
|
+
* The no-build bundles (`components.umd.js`, `widgets.umd.js`) call it before they register anything. With ESM, call it
|
|
14
|
+
* once, ideally before you define components; `usa-*` elements defined earlier (the default component set) and `mo-*`
|
|
15
|
+
* elements already on the page are picked up too. Kept out of the component base so `usa-*` pages keep their size.
|
|
16
|
+
*
|
|
17
|
+
* ```ts
|
|
18
|
+
* import { defineMoAliases } from 'motionary/components/mo';
|
|
19
|
+
* import { defineComponents } from 'motionary/components';
|
|
20
|
+
* defineMoAliases();
|
|
21
|
+
* defineComponents(); // <mo-card>, <mo-tabs>, … and <usa-*> both work
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
/** The `mo-*` alias of a default `usa-*` tag (`usa-switch` → `mo-switch`), or `null` for any other tag. */
|
|
25
|
+
const aliasTag = (tag) => (/^usa-[a-z]/.test(tag) ? 'mo-' + tag.slice(4) : null);
|
|
26
|
+
const TAG_RE = /(^|[^\w.#[\-])usa-(?=[a-z])/g;
|
|
27
|
+
/**
|
|
28
|
+
* `usa-…` → `mo-…` in selectors only (the text in front of each `{` that is not an at-rule); declarations, at-rule
|
|
29
|
+
* preludes such as `@keyframes usa-spin`, classes, attributes and custom properties are untouched.
|
|
30
|
+
*/
|
|
31
|
+
const aliasCss = (text) => text.replace(/(^|[{};])([^{};]*)(?=\{)/g, (_m, a, s) => a + (s.trim()[0] === '@' ? s : s.replace(TAG_RE, '$1mo-')));
|
|
32
|
+
let started = false;
|
|
33
|
+
let active = false;
|
|
34
|
+
let last = -1;
|
|
35
|
+
let n = 0;
|
|
36
|
+
const seen = /*#__PURE__*/ new WeakSet();
|
|
37
|
+
/** Copy the Motionary stylesheets added since the last look (and the user's adopted sheets) with mo-* selectors. */
|
|
38
|
+
function scan() {
|
|
39
|
+
const d = document;
|
|
40
|
+
const adopted = d.adoptedStyleSheets || [];
|
|
41
|
+
const links = d.querySelectorAll('link[data-usa-css]');
|
|
42
|
+
const key = d.styleSheets.length * 1e6 + adopted.length * 1e3 + links.length;
|
|
43
|
+
if (key === last)
|
|
44
|
+
return;
|
|
45
|
+
last = key;
|
|
46
|
+
links.forEach((l) => {
|
|
47
|
+
if (!seen.has(l)) {
|
|
48
|
+
seen.add(l);
|
|
49
|
+
l.addEventListener('load', () => ((last = -1), scan())); // lite: CSS files arrive later
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
for (const s of [...Array.from(d.styleSheets), ...adopted]) {
|
|
53
|
+
const o = s.ownerNode;
|
|
54
|
+
if (seen.has(s) || (o && !o.matches('[data-usa],[data-usa-css]')))
|
|
55
|
+
continue;
|
|
56
|
+
let css;
|
|
57
|
+
try {
|
|
58
|
+
css = Array.from(s.cssRules, (r) => r.cssText).join('\n');
|
|
59
|
+
}
|
|
60
|
+
catch {
|
|
61
|
+
continue; // not loaded yet, or a cross-origin file without CORS
|
|
62
|
+
}
|
|
63
|
+
seen.add(s);
|
|
64
|
+
const a = aliasCss(css);
|
|
65
|
+
if (a !== css)
|
|
66
|
+
base.adoptStyles('mo:' + n++, a);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
function alias(tag, ctor) {
|
|
70
|
+
const a = aliasTag(tag);
|
|
71
|
+
if (!a || customElements.get(a))
|
|
72
|
+
return;
|
|
73
|
+
const C = ctor;
|
|
74
|
+
class Alias extends C {
|
|
75
|
+
connectedCallback() {
|
|
76
|
+
const r = super.connectedCallback?.();
|
|
77
|
+
active = true;
|
|
78
|
+
scan();
|
|
79
|
+
return r;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
try {
|
|
83
|
+
customElements.define(a, Alias);
|
|
84
|
+
}
|
|
85
|
+
catch {
|
|
86
|
+
/* the name is taken by another library */
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Turn on the `<mo-*>` names: every `usa-*` element defined from now on gets its `mo-*` alias, and so do the default
|
|
91
|
+
* components already defined and any `usa-*` definition behind a `<mo-*>` element already on the page. Idempotent.
|
|
92
|
+
*/
|
|
93
|
+
function defineMoAliases() {
|
|
94
|
+
if (!base.canDefine() || started)
|
|
95
|
+
return;
|
|
96
|
+
started = true;
|
|
97
|
+
const reg = customElements;
|
|
98
|
+
const define = reg.define;
|
|
99
|
+
reg.define = function (name, ctor, options) {
|
|
100
|
+
define.call(this, name, ctor, options);
|
|
101
|
+
alias(name, ctor);
|
|
102
|
+
};
|
|
103
|
+
const tags = Object.values(indexTags.COMPONENT_CATEGORIES).flat();
|
|
104
|
+
if (typeof document !== 'undefined')
|
|
105
|
+
document.querySelectorAll('*').forEach((e) => e.localName.startsWith('mo-') && tags.push('usa-' + e.localName.slice(3)));
|
|
106
|
+
for (const t of tags) {
|
|
107
|
+
const c = reg.get(t);
|
|
108
|
+
if (c)
|
|
109
|
+
alias(t, c);
|
|
110
|
+
}
|
|
111
|
+
if (active)
|
|
112
|
+
scan();
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
exports.aliasCss = aliasCss;
|
|
116
|
+
exports.aliasTag = aliasTag;
|
|
117
|
+
exports.defineMoAliases = defineMoAliases;
|
|
118
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.0.0/dist/components/mo.cjs.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/** The `mo-*` alias of a default `usa-*` tag (`usa-switch` → `mo-switch`), or `null` for any other tag. */
|
|
2
|
+
declare const aliasTag: (tag: string) => string | null;
|
|
3
|
+
/**
|
|
4
|
+
* `usa-…` → `mo-…` in selectors only (the text in front of each `{` that is not an at-rule); declarations, at-rule
|
|
5
|
+
* preludes such as `@keyframes usa-spin`, classes, attributes and custom properties are untouched.
|
|
6
|
+
*/
|
|
7
|
+
declare const aliasCss: (text: string) => string;
|
|
8
|
+
/**
|
|
9
|
+
* Turn on the `<mo-*>` names: every `usa-*` element defined from now on gets its `mo-*` alias, and so do the default
|
|
10
|
+
* components already defined and any `usa-*` definition behind a `<mo-*>` element already on the page. Idempotent.
|
|
11
|
+
*/
|
|
12
|
+
declare function defineMoAliases(): void;
|
|
13
|
+
|
|
14
|
+
export { aliasCss, aliasTag, defineMoAliases };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/** The `mo-*` alias of a default `usa-*` tag (`usa-switch` → `mo-switch`), or `null` for any other tag. */
|
|
2
|
+
declare const aliasTag: (tag: string) => string | null;
|
|
3
|
+
/**
|
|
4
|
+
* `usa-…` → `mo-…` in selectors only (the text in front of each `{` that is not an at-rule); declarations, at-rule
|
|
5
|
+
* preludes such as `@keyframes usa-spin`, classes, attributes and custom properties are untouched.
|
|
6
|
+
*/
|
|
7
|
+
declare const aliasCss: (text: string) => string;
|
|
8
|
+
/**
|
|
9
|
+
* Turn on the `<mo-*>` names: every `usa-*` element defined from now on gets its `mo-*` alias, and so do the default
|
|
10
|
+
* components already defined and any `usa-*` definition behind a `<mo-*>` element already on the page. Idempotent.
|
|
11
|
+
*/
|
|
12
|
+
declare function defineMoAliases(): void;
|
|
13
|
+
|
|
14
|
+
export { aliasCss, aliasTag, defineMoAliases };
|