motionary 13.0.1 → 13.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +53 -0
- package/README.md +2 -2
- package/README_ja.md +2 -2
- package/README_zh.md +2 -2
- package/dist/chunks/{anim-image-Bp-A3hNC.cjs → anim-image-BZChGN-Q.cjs} +2 -2
- package/dist/chunks/{anim-image-DeBvYIDu.js → anim-image-XoPuTpOe.js} +2 -2
- package/dist/chunks/{audio-BV1YemPb.js → audio-5FOqrAxu.js} +3 -3
- package/dist/chunks/{audio-CztPMZ1b.cjs → audio-DhgfWYZ_.cjs} +3 -3
- package/dist/chunks/{badge-wall-BBAW52s-.js → badge-wall-Bd2dP3J7.js} +2 -2
- package/dist/chunks/{badge-wall-COxq4-hJ.cjs → badge-wall-Q7x5HSe_.cjs} +2 -2
- package/dist/chunks/{base-CBMzOs1k.js → base-nzeN_ux7.js} +25 -4
- package/dist/chunks/{base-BG_mxssu.cjs → base-vu_KhBiv.cjs} +26 -3
- package/dist/chunks/{bg-generator-Bw0JAZG7.cjs → bg-generator-Dncd000D.cjs} +2 -2
- package/dist/chunks/{bg-generator-CFjnTyP9.js → bg-generator-Dxx3s2zQ.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-Dk6hr4_C.cjs → builtins-A9ihuDwy.cjs} +3 -3
- package/dist/chunks/{builtins-DINhkShu.js → builtins-hBOeCPXL.js} +3 -3
- package/dist/chunks/{carousel-6UZLhjGL.cjs → carousel-Blko8aKV.cjs} +3 -3
- package/dist/chunks/{carousel-BQiUPJ6H.js → carousel-DkQKWBK3.js} +3 -3
- package/dist/chunks/{cart-drawer-DTBLUsXS.js → cart-drawer-CtX6EQRa.js} +2 -2
- package/dist/chunks/{cart-drawer-BhHW454c.cjs → cart-drawer-kyj9TlQC.cjs} +2 -2
- package/dist/chunks/{code-export-B_q_hPy8.js → code-export-B6b27ZiI.js} +10 -5
- package/dist/chunks/{code-export-CbKPNcnx.cjs → code-export-DOioRmM9.cjs} +10 -5
- package/dist/chunks/{color-picker-C17hLqcy.cjs → color-picker-B6YXJdur.cjs} +6 -5
- package/dist/chunks/{color-picker-DAAhbpHV.js → color-picker-DNTzNylo.js} +6 -5
- package/dist/chunks/{command-palette-B-_C5aOb.js → command-palette-C6XV1glX.js} +2 -2
- package/dist/chunks/{command-palette-CABkONwK.cjs → command-palette-DAQQ_bkg.cjs} +2 -2
- package/dist/chunks/{core-CBU40kLB.js → core-Bar7NFx7.js} +2 -2
- package/dist/chunks/core-BjcOCpJt.cjs +1 -1
- package/dist/chunks/{core-D1vhyt2F.js → core-DVGtPabi.js} +2 -2
- package/dist/chunks/{core-Bg5WaRYY.cjs → core-DfkeC4s-.cjs} +2 -2
- package/dist/chunks/core-Dj6iomdc.js +1 -1
- package/dist/chunks/{core-DMrg99HN.cjs → core-E18xla6s.cjs} +2 -2
- package/dist/chunks/{countdown-5kyFj3EA.cjs → countdown-Cvef0Kb1.cjs} +2 -2
- package/dist/chunks/{countdown-BWy4-V8Y.js → countdown-Dhp9G96N.js} +2 -2
- package/dist/chunks/{date-picker-V4SjW1_f.cjs → date-picker-C9iVZUP3.cjs} +4 -3
- package/dist/chunks/{date-picker-CAreI9C7.js → date-picker-M7n1jZw9.js} +4 -3
- package/dist/chunks/ease-HwYZnZat.cjs +1 -1
- package/dist/chunks/ease-XN8_0sXu.js +1 -1
- package/dist/chunks/{equalizer-B0fb-kFT.cjs → equalizer-6uhO-yfZ.cjs} +3 -3
- package/dist/chunks/{equalizer-BPS1yV-f.js → equalizer-CN6AkBtT.js} +3 -3
- package/dist/chunks/{festival-banner-DWCMdZM1.cjs → festival-banner-ByYX1Oy6.cjs} +2 -2
- package/dist/chunks/{festival-banner-CvGwychu.js → festival-banner-Dsu53in5.js} +2 -2
- package/dist/chunks/{field-D5hYtW6A.cjs → field-DcC_zJBH.cjs} +2 -2
- package/dist/chunks/{field-iruUHpdy.js → field-DeTgNf7K.js} +2 -2
- package/dist/chunks/{fx-aA8nn1zv.cjs → fx-lszndeFU.cjs} +2 -2
- package/dist/chunks/{fx-tuYvq2Dr.js → fx-qAVpKs8e.js} +2 -2
- package/dist/chunks/generative-2LhxG5BJ.js +1 -1
- package/dist/chunks/generative-BHIj-NU0.cjs +1 -1
- package/dist/chunks/{gl-scene-B9QYN-U7.cjs → gl-scene-DqD4O5Se.cjs} +6 -3
- package/dist/chunks/{gl-scene-BZnZV6e0.js → gl-scene-_Ure0n-p.js} +6 -3
- package/dist/chunks/{globe-t8Tz1KrC.js → globe-CzQ6nQ-o.js} +2 -2
- package/dist/chunks/{globe-BvTRCzBa.cjs → globe-Dms25CB5.cjs} +2 -2
- package/dist/chunks/{gpu-BFYGfLfN.cjs → gpu-BREsvJpT.cjs} +2 -2
- package/dist/chunks/{gpu-CxTWIssF.js → gpu-DdiOOXTP.js} +2 -2
- package/dist/chunks/{gpu-particles-GxP4a0P6.js → gpu-particles-CbBJ_tIZ.js} +2 -2
- package/dist/chunks/{gpu-particles-C4UZX5H4.cjs → gpu-particles-DrjYuSVR.cjs} +2 -2
- package/dist/chunks/index-tags-B-JBecYg.js +1 -1
- package/dist/chunks/index-tags-hLIF2Clq.cjs +1 -1
- package/dist/chunks/key-click-BLm3BI8_.js +1 -1
- package/dist/chunks/key-click-v7I4K5Sr.cjs +1 -1
- package/dist/chunks/{keyframes-B6Ju70i1.js → keyframes-CKk8j3zA.js} +2 -2
- package/dist/chunks/{keyframes-DhUhKdn2.cjs → keyframes-CmruOcyD.cjs} +2 -2
- package/dist/chunks/{leaderboard-DqCbNSLV.js → leaderboard-D2Xb0lqP.js} +2 -2
- package/dist/chunks/{leaderboard-D3aXcUrH.cjs → leaderboard-wF-UnLbY.cjs} +2 -2
- package/dist/chunks/{location-card-D50y0yPP.cjs → location-card-BJsN6s34.cjs} +2 -2
- package/dist/chunks/{location-card-BFWhuOvM.js → location-card-GrQnXfwp.js} +2 -2
- package/dist/chunks/{lottie-icon-Cg99YqMK.js → lottie-icon-D3fdgfNU.js} +2 -2
- package/dist/chunks/{lottie-icon-CiL7TQeN.cjs → lottie-icon-DMkTeHCL.cjs} +2 -2
- package/dist/chunks/{lottie-player-CvGhfdfy.js → lottie-player-B5O7Q-pI.js} +3 -3
- package/dist/chunks/{lottie-player--_SwVeIS.cjs → lottie-player-hYzOu799.cjs} +3 -3
- package/dist/chunks/{lyrics-CmZKfI0D.cjs → lyrics-CBRdLBDw.cjs} +3 -3
- package/dist/chunks/{lyrics-BW8Ajj8K.js → lyrics-jTQwzX9m.js} +3 -3
- package/dist/chunks/{manifest-CKtkSVw4.cjs → manifest-Rxf1Mumb.cjs} +2 -2
- package/dist/chunks/{manifest-CQUlazDF.js → manifest-pVzW6oyg.js} +2 -2
- package/dist/chunks/{menu-BDG5gcER.cjs → menu-Bc2M8HMJ.cjs} +3 -3
- package/dist/chunks/{menu-2qfS--b1.js → menu-Ydg47TQx.js} +3 -3
- package/dist/chunks/{menu-toggle-934mf8c-.cjs → menu-toggle-B1YBlbdJ.cjs} +2 -2
- package/dist/chunks/{menu-toggle-DuXU6-hH.js → menu-toggle-C-_dv_TN.js} +2 -2
- package/dist/chunks/{nav-morph-Bc0SfHn9.js → nav-morph-DA-Q4xec.js} +3 -3
- package/dist/chunks/{nav-morph-DeVvWJm-.cjs → nav-morph-kKmG_ocG.cjs} +3 -3
- package/dist/chunks/{otp-CwhyPG7i.js → otp-CVUw78Mr.js} +2 -2
- package/dist/chunks/{otp-C0PpgU4T.cjs → otp-Cxz5uFb_.cjs} +2 -2
- package/dist/chunks/{pagination-4NCqUPrX.cjs → pagination-6RdXWwsW.cjs} +3 -3
- package/dist/chunks/{pagination-D7C1zFvF.js → pagination-CFAzm6M7.js} +3 -3
- package/dist/chunks/{physics-playground-C8Dp1VZo.cjs → physics-playground-BlCJK3AZ.cjs} +3 -3
- package/dist/chunks/{physics-playground-Dfb6XJrk.js → physics-playground-GegzqXvt.js} +3 -3
- package/dist/chunks/{player-BNOKDUw-.cjs → player-DIwSjUFR.cjs} +4 -4
- package/dist/chunks/{player-DtLIUxwJ.js → player-DqUZJ0d_.js} +4 -4
- package/dist/chunks/{presence-CwaD7bup.cjs → presence-CRfWmNWz.cjs} +2 -2
- package/dist/chunks/{presence-DRGK2bwc.js → presence-DfTxVIEf.js} +2 -2
- package/dist/chunks/presets-BYBVJVeP.js +1 -1
- package/dist/chunks/presets-CUHys3sK.cjs +1 -1
- package/dist/chunks/{prize-wheel-Cl48woXn.cjs → prize-wheel-MOZOrI-p.cjs} +2 -2
- package/dist/chunks/{prize-wheel-DtR0WMqK.js → prize-wheel-tgpOsdDA.js} +2 -2
- package/dist/chunks/{product-gallery-s0Mojkcm.js → product-gallery-BcGA35Ie.js} +2 -2
- package/dist/chunks/{product-gallery-C3q6aoVe.cjs → product-gallery-Bi6I6x1o.cjs} +2 -2
- package/dist/chunks/{progress-ring-Q1yoAUrU.js → progress-ring-6kTzB49S.js} +3 -3
- package/dist/chunks/{progress-ring-B8Ytgw_Q.cjs → progress-ring-BO9a3Q24.cjs} +3 -3
- package/dist/chunks/{prop-panel-BoejVIkT.js → prop-panel-DGm8VM4Z.js} +2 -2
- package/dist/chunks/{prop-panel-CLYoy2fY.cjs → prop-panel-_kA6mvB9.cjs} +2 -2
- package/dist/chunks/{radar-B0f-lKWX.cjs → radar-DT93Se3Y.cjs} +2 -2
- package/dist/chunks/{radar-BAfz6Y20.js → radar-sKiciNsS.js} +2 -2
- package/dist/chunks/{reactions-CAMzdddC.js → reactions-B4xogsDd.js} +2 -2
- package/dist/chunks/{reactions-Dfadd7FC.cjs → reactions-BASnlqck.cjs} +2 -2
- package/dist/chunks/{registry-D3N8O2Nc.cjs → registry-CeBi49cV.cjs} +2 -2
- package/dist/chunks/{registry-BgdHqx0s.js → registry-DG7d_uS7.js} +2 -2
- package/dist/chunks/{registry-LE5iyTqw.cjs → registry-EziiQiWO.cjs} +2 -2
- package/dist/chunks/{registry-4UDF3Dpk.js → registry-PxXkPc1Q.js} +2 -2
- package/dist/chunks/{retro-button-DPOGCNEB.js → retro-button-BxCv-ybi.js} +2 -2
- package/dist/chunks/{retro-button-oiGvtRdV.cjs → retro-button-DfuSdfWj.cjs} +2 -2
- package/dist/chunks/{rive-BiqV3D2R.js → rive-BHdln8XJ.js} +2 -2
- package/dist/chunks/{rive-D2POjYyT.cjs → rive-cR-Q9Quh.cjs} +2 -2
- package/dist/chunks/{runtime-link-6mNrr9AF.cjs → runtime-link-BmkNOjwB.cjs} +2 -2
- package/dist/chunks/{runtime-link-yprBSd9n.js → runtime-link-BqIicT9E.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-C34tV2yS.cjs → scroll-scene-DBAckZVP.cjs} +44 -9
- package/dist/chunks/{scroll-scene-DMfol8B-.js → scroll-scene-DLfQdq1I.js} +44 -9
- package/dist/chunks/{segmented-Bs0lNncg.cjs → segmented-CbZtwChW.cjs} +10 -3
- package/dist/chunks/{segmented-DnGy8Aw_.js → segmented-DHBqMcAF.js} +10 -3
- package/dist/chunks/{shader-backdrop-Df_2GJFz.cjs → shader-backdrop-DT1h5Zoc.cjs} +2 -2
- package/dist/chunks/{shader-backdrop-CQBsDITY.js → shader-backdrop-rrssjdMI.js} +2 -2
- package/dist/chunks/{shared-BxK1D7EZ.cjs → shared-Bf72wLyt.cjs} +12 -1
- package/dist/chunks/shared-CkKHWrtJ.js +1 -1
- package/dist/chunks/shared-jkgRH-Hx.cjs +1 -1
- package/dist/chunks/{shared-C8Pi6tuh.js → shared-o9CtwHmi.js} +12 -2
- package/dist/chunks/{sheet-6Vp7Yox1.cjs → sheet-NsPexafP.cjs} +5 -4
- package/dist/chunks/{sheet-CAItJBXn.js → sheet-YRq-IOIr.js} +5 -4
- package/dist/chunks/sign-DvZ1jHxE.js +1 -1
- package/dist/chunks/sign-RAkQIWrM.cjs +1 -1
- package/dist/chunks/{skeleton-reveal-DH7sd6uV.cjs → skeleton-reveal-DfH6IiUG.cjs} +3 -3
- package/dist/chunks/{skeleton-reveal-CNr6jhZN.js → skeleton-reveal-yj2lioib.js} +3 -3
- package/dist/chunks/{sparkline-we35dC6w.cjs → sparkline-CCV_wZ9j.cjs} +2 -2
- package/dist/chunks/{sparkline-MRwlHeWm.js → sparkline-kl8sJ7cP.js} +2 -2
- package/dist/chunks/{spring-2YZXQmr7.js → spring-BX7EJst7.js} +2 -2
- package/dist/chunks/{spring-CibVO2Tk.cjs → spring-Q3Y-pHuP.cjs} +2 -2
- package/dist/chunks/stagger-B9sKPwQB.js +1 -1
- package/dist/chunks/stagger-DFKwqOQG.cjs +1 -1
- package/dist/chunks/{suggestion-chips-DIzEGoUE.cjs → suggestion-chips-D9i2FGGX.cjs} +2 -2
- package/dist/chunks/{suggestion-chips-DWViXX9m.js → suggestion-chips-fmrwI2Da.js} +2 -2
- package/dist/chunks/{switch-DSzo6hVT.cjs → switch-Db4uTUcj.cjs} +7 -2
- package/dist/chunks/{switch-iQNaYTQB.js → switch-DnwGGeZj.js} +7 -2
- package/dist/chunks/{tab-bar-DzSapgXH.js → tab-bar-CSx4fTC9.js} +3 -3
- package/dist/chunks/{tab-bar-DZtJO0Ge.cjs → tab-bar-DqzNvlDc.cjs} +3 -3
- package/dist/chunks/{ticker-D73Bn74b.cjs → ticker-D9DzTlll.cjs} +2 -2
- package/dist/chunks/{ticker-vHgAp_Uz.js → ticker-DIuv8agN.js} +2 -2
- package/dist/chunks/{tip-Cg4VdOV4.js → tip-C8T1SdOJ.js} +3 -3
- package/dist/chunks/{tip-CoXfHx5J.cjs → tip-CIh4O-DZ.cjs} +3 -3
- package/dist/chunks/{toast-stack-DZ5XkmO_.js → toast-stack-BIdkYWob.js} +4 -4
- package/dist/chunks/{toast-stack-B0YJ93dM.cjs → toast-stack-Cs42sjr6.cjs} +4 -4
- package/dist/chunks/{tween-CO_7OEFf.cjs → tween-CDewrfuy.cjs} +2 -2
- package/dist/chunks/{tween-BtX9Wj7P.js → tween-DbF_MjRO.js} +2 -2
- package/dist/chunks/{upload-progress-Bv5i3ebk.cjs → upload-progress-BhyFjwb6.cjs} +2 -2
- package/dist/chunks/{upload-progress-CZbedTLC.js → upload-progress-CXfoNUhm.js} +2 -2
- package/dist/chunks/{variants-B8gnRVha.js → variants-DY08myqK.js} +2 -2
- package/dist/chunks/{variants-D7gblATl.cjs → variants-Dk-FItCT.cjs} +2 -2
- package/dist/chunks/{voice-button-BEibeass.js → voice-button-DdKxtavP.js} +2 -2
- package/dist/chunks/{voice-button-DfDRNgmG.cjs → voice-button-DudPeVqK.cjs} +2 -2
- package/dist/chunks/{weather-card-DodZfOsv.cjs → weather-card-DfXFesfY.cjs} +2 -2
- package/dist/chunks/{weather-card-BO_6E5OV.js → weather-card-Ecgk-JQd.js} +2 -2
- package/dist/chunks/{worker-canvas-D2TU72M8.js → worker-canvas-BIuesniy.js} +2 -2
- package/dist/chunks/{worker-canvas-Bqsw_Fym.cjs → worker-canvas-CEbqBgK5.cjs} +2 -2
- package/dist/chunks/{xp-bar-CUHPolzJ.cjs → xp-bar-BC8UnCHG.cjs} +2 -2
- package/dist/chunks/{xp-bar-CsASrTkD.js → xp-bar-Cx-dMEMT.js} +2 -2
- package/dist/components/a11y.cjs +3 -4
- package/dist/components/a11y.js +3 -4
- package/dist/components/ai.cjs +1 -1
- package/dist/components/ai.js +1 -1
- package/dist/components/angular.cjs +9 -9
- package/dist/components/angular.js +9 -9
- package/dist/components/background.cjs +3 -3
- package/dist/components/background.js +3 -3
- package/dist/components/bridge.cjs +2 -2
- package/dist/components/bridge.js +2 -2
- package/dist/components/cards.cjs +3 -3
- package/dist/components/cards.js +3 -3
- package/dist/components/click.cjs +4 -4
- package/dist/components/click.js +4 -4
- package/dist/components/core.cjs +1 -1
- package/dist/components/core.js +1 -1
- package/dist/components/depth.cjs +4 -4
- package/dist/components/depth.js +4 -4
- package/dist/components/design.cjs +4 -4
- package/dist/components/design.js +4 -4
- package/dist/components/dotlottie.cjs +5 -5
- package/dist/components/dotlottie.js +5 -5
- package/dist/components/dsl.cjs +3 -3
- package/dist/components/dsl.js +3 -3
- package/dist/components/effects.cjs +8 -8
- package/dist/components/effects.js +10 -10
- package/dist/components/engine.cjs +2 -2
- package/dist/components/engine.js +3 -3
- package/dist/components/feedback.cjs +2 -2
- package/dist/components/feedback.js +2 -2
- package/dist/components/fx-3d.cjs +3 -3
- package/dist/components/fx-3d.js +3 -3
- package/dist/components/fx-ai.cjs +3 -3
- package/dist/components/fx-ai.js +3 -3
- package/dist/components/fx-chart.cjs +3 -3
- package/dist/components/fx-chart.js +3 -3
- package/dist/components/fx-cinema.cjs +3 -3
- package/dist/components/fx-cinema.js +3 -3
- package/dist/components/fx-cyber.cjs +3 -3
- package/dist/components/fx-cyber.js +3 -3
- package/dist/components/fx-festival.cjs +3 -3
- package/dist/components/fx-festival.js +3 -3
- package/dist/components/fx-focus.cjs +3 -3
- package/dist/components/fx-focus.js +3 -3
- package/dist/components/fx-form.cjs +3 -3
- package/dist/components/fx-form.js +3 -3
- package/dist/components/fx-game.cjs +3 -3
- package/dist/components/fx-game.js +3 -3
- package/dist/components/fx-genart.cjs +3 -3
- package/dist/components/fx-genart.js +3 -3
- package/dist/components/fx-geo.cjs +3 -3
- package/dist/components/fx-geo.js +3 -3
- package/dist/components/fx-gesture.cjs +3 -3
- package/dist/components/fx-gesture.js +3 -3
- package/dist/components/fx-gpu.cjs +4 -4
- package/dist/components/fx-gpu.js +4 -4
- package/dist/components/fx-light.cjs +3 -3
- package/dist/components/fx-light.js +3 -3
- package/dist/components/fx-lottie.cjs +3 -3
- package/dist/components/fx-lottie.js +3 -3
- package/dist/components/fx-morph.cjs +3 -3
- package/dist/components/fx-morph.js +3 -3
- package/dist/components/fx-music.cjs +4 -4
- package/dist/components/fx-music.js +4 -4
- package/dist/components/fx-organic.cjs +3 -3
- package/dist/components/fx-organic.js +3 -3
- package/dist/components/fx-paper.cjs +3 -3
- package/dist/components/fx-paper.js +3 -3
- package/dist/components/fx-perf.cjs +3 -3
- package/dist/components/fx-perf.js +3 -3
- package/dist/components/fx-physics.cjs +3 -3
- package/dist/components/fx-physics.js +3 -3
- package/dist/components/fx-retro.cjs +3 -3
- package/dist/components/fx-retro.js +3 -3
- package/dist/components/fx-safe.cjs +3 -3
- package/dist/components/fx-safe.js +3 -3
- package/dist/components/fx-shop.cjs +3 -3
- package/dist/components/fx-shop.js +3 -3
- package/dist/components/fx-social.cjs +3 -3
- package/dist/components/fx-social.js +3 -3
- package/dist/components/fx-spatial.cjs +3 -3
- package/dist/components/fx-spatial.js +3 -3
- package/dist/components/fx-surface.cjs +3 -3
- package/dist/components/fx-surface.js +3 -3
- package/dist/components/fx-text.cjs +3 -3
- package/dist/components/fx-text.js +3 -3
- package/dist/components/fx-transitions.cjs +4 -4
- package/dist/components/fx-transitions.js +4 -4
- package/dist/components/fx-video.cjs +3 -3
- package/dist/components/fx-video.js +3 -3
- package/dist/components/fx-weather.cjs +3 -3
- package/dist/components/fx-weather.js +3 -3
- package/dist/components/fx.cjs +6 -6
- package/dist/components/fx.js +7 -7
- package/dist/components/fx2.cjs +6 -6
- package/dist/components/fx2.js +7 -7
- package/dist/components/gesture.cjs +4 -4
- package/dist/components/gesture.js +5 -5
- package/dist/components/gl-model.cjs +5 -5
- package/dist/components/gl-model.js +5 -5
- package/dist/components/interaction.cjs +2 -2
- package/dist/components/interaction.js +2 -2
- package/dist/components/jsx.cjs +1 -1
- package/dist/components/jsx.js +1 -1
- package/dist/components/layout.cjs +2 -2
- package/dist/components/layout.js +2 -2
- package/dist/components/lazy.cjs +1 -1
- package/dist/components/lazy.js +1 -1
- package/dist/components/lite.cjs +46 -8
- package/dist/components/lite.js +46 -8
- package/dist/components/marketplace.cjs +4 -4
- package/dist/components/marketplace.js +5 -5
- package/dist/components/native.cjs +4 -4
- package/dist/components/native.js +4 -4
- package/dist/components/packs.cjs +2 -2
- package/dist/components/packs.js +2 -2
- package/dist/components/page.cjs +4 -4
- package/dist/components/page.js +5 -5
- package/dist/components/perf.cjs +2 -2
- package/dist/components/perf.js +3 -3
- package/dist/components/physics.cjs +3 -3
- package/dist/components/physics.js +4 -4
- package/dist/components/plugins.cjs +5 -5
- package/dist/components/plugins.js +5 -5
- package/dist/components/react.cjs +1 -1
- package/dist/components/react.js +1 -1
- package/dist/components/reveal.cjs +3 -3
- package/dist/components/reveal.js +3 -3
- package/dist/components/snap-carousel.cjs +4 -4
- package/dist/components/snap-carousel.js +4 -4
- package/dist/components/solid.cjs +9 -9
- package/dist/components/solid.js +9 -9
- package/dist/components/svelte.cjs +9 -9
- package/dist/components/svelte.js +9 -9
- package/dist/components/svg.cjs +2 -2
- package/dist/components/svg.js +2 -2
- package/dist/components/text.cjs +3 -3
- package/dist/components/text.js +3 -3
- package/dist/components/timeline.cjs +3 -3
- package/dist/components/timeline.js +4 -4
- package/dist/components/tokens.cjs +1 -1
- package/dist/components/tokens.js +1 -1
- package/dist/components/transitions.cjs +2 -2
- package/dist/components/transitions.js +2 -2
- package/dist/components/ui.cjs +21 -6
- package/dist/components/ui.js +22 -7
- package/dist/components/vue.cjs +9 -9
- package/dist/components/vue.js +9 -9
- package/dist/components/webgl.cjs +5 -2
- package/dist/components/webgl.js +5 -2
- package/dist/components/widgets.cjs +63 -63
- package/dist/components/widgets.js +112 -112
- package/dist/components.cjs +9 -9
- package/dist/components.js +11 -11
- package/dist/components.umd.js +3 -3
- package/dist/effects/achievement-unlock.cjs +3 -3
- package/dist/effects/achievement-unlock.js +3 -3
- package/dist/effects/aurora-veil.cjs +3 -3
- package/dist/effects/aurora-veil.js +3 -3
- package/dist/effects/badge-pop.cjs +3 -3
- package/dist/effects/badge-pop.js +3 -3
- package/dist/effects/bars-grow.cjs +3 -3
- package/dist/effects/bars-grow.js +3 -3
- package/dist/effects/beat-bounce.cjs +4 -4
- package/dist/effects/beat-bounce.js +4 -4
- package/dist/effects/blob-button.cjs +3 -3
- package/dist/effects/blob-button.js +3 -3
- package/dist/effects/bloom.cjs +3 -3
- package/dist/effects/bloom.js +3 -3
- package/dist/effects/breathe.cjs +3 -3
- package/dist/effects/breathe.js +3 -3
- package/dist/effects/brushed-metal.cjs +3 -3
- package/dist/effects/brushed-metal.js +3 -3
- package/dist/effects/camera-dolly.cjs +3 -3
- package/dist/effects/camera-dolly.js +3 -3
- package/dist/effects/card-flip-3d.cjs +3 -3
- package/dist/effects/card-flip-3d.js +3 -3
- package/dist/effects/chest-open.cjs +3 -3
- package/dist/effects/chest-open.js +3 -3
- package/dist/effects/cloth.cjs +3 -3
- package/dist/effects/cloth.js +3 -3
- package/dist/effects/coin-burst.cjs +3 -3
- package/dist/effects/coin-burst.js +3 -3
- package/dist/effects/color-pulse.cjs +3 -3
- package/dist/effects/color-pulse.js +3 -3
- package/dist/effects/crt-power.cjs +3 -3
- package/dist/effects/crt-power.js +3 -3
- package/dist/effects/crumple.cjs +3 -3
- package/dist/effects/crumple.js +3 -3
- package/dist/effects/data-decode.cjs +3 -3
- package/dist/effects/data-decode.js +3 -3
- package/dist/effects/day-cycle.cjs +3 -3
- package/dist/effects/day-cycle.js +3 -3
- package/dist/effects/depth-in.cjs +3 -3
- package/dist/effects/depth-in.js +3 -3
- package/dist/effects/depth-pop.cjs +3 -3
- package/dist/effects/depth-pop.js +3 -3
- package/dist/effects/depth-stack.cjs +3 -3
- package/dist/effects/depth-stack.js +3 -3
- package/dist/effects/dolly-in.cjs +3 -3
- package/dist/effects/dolly-in.js +3 -3
- package/dist/effects/dots-pop.cjs +3 -3
- package/dist/effects/dots-pop.js +3 -3
- package/dist/effects/field-shake.cjs +3 -3
- package/dist/effects/field-shake.js +3 -3
- package/dist/effects/field-success.cjs +3 -3
- package/dist/effects/field-success.js +3 -3
- package/dist/effects/film-burn.cjs +3 -3
- package/dist/effects/film-burn.js +3 -3
- package/dist/effects/fire.cjs +4 -4
- package/dist/effects/fire.js +4 -4
- package/dist/effects/fireflies.cjs +4 -4
- package/dist/effects/fireflies.js +4 -4
- package/dist/effects/firework-burst.cjs +3 -3
- package/dist/effects/firework-burst.js +3 -3
- package/dist/effects/flip-chars.cjs +3 -3
- package/dist/effects/flip-chars.js +3 -3
- package/dist/effects/fluid.cjs +4 -4
- package/dist/effects/fluid.js +4 -4
- package/dist/effects/fly-to-cart.cjs +3 -3
- package/dist/effects/fly-to-cart.js +3 -3
- package/dist/effects/focus-draw.cjs +3 -3
- package/dist/effects/focus-draw.js +3 -3
- package/dist/effects/focus-glow.cjs +3 -3
- package/dist/effects/focus-glow.js +3 -3
- package/dist/effects/fog.cjs +3 -3
- package/dist/effects/fog.js +3 -3
- package/dist/effects/font-breathe.cjs +3 -3
- package/dist/effects/font-breathe.js +3 -3
- package/dist/effects/form-cascade.cjs +3 -3
- package/dist/effects/form-cascade.js +3 -3
- package/dist/effects/gen-skeleton.cjs +3 -3
- package/dist/effects/gen-skeleton.js +3 -3
- package/dist/effects/glass-frost.cjs +3 -3
- package/dist/effects/glass-frost.js +3 -3
- package/dist/effects/glitch-text.cjs +3 -3
- package/dist/effects/glitch-text.js +3 -3
- package/dist/effects/globe-spin.cjs +3 -3
- package/dist/effects/globe-spin.js +3 -3
- package/dist/effects/god-rays.cjs +3 -3
- package/dist/effects/god-rays.js +3 -3
- package/dist/effects/gpu-lift.cjs +3 -3
- package/dist/effects/gpu-lift.js +3 -3
- package/dist/effects/grain-flicker.cjs +3 -3
- package/dist/effects/grain-flicker.js +3 -3
- package/dist/effects/halftone-in.cjs +3 -3
- package/dist/effects/halftone-in.js +3 -3
- package/dist/effects/highlight-sweep.cjs +3 -3
- package/dist/effects/highlight-sweep.js +3 -3
- package/dist/effects/hologram.cjs +3 -3
- package/dist/effects/hologram.js +3 -3
- package/dist/effects/hud-frame.cjs +3 -3
- package/dist/effects/hud-frame.js +3 -3
- package/dist/effects/icon-pop.cjs +3 -3
- package/dist/effects/icon-pop.js +3 -3
- package/dist/effects/icon-swap.cjs +3 -3
- package/dist/effects/icon-swap.js +3 -3
- package/dist/effects/idle-reveal.cjs +3 -3
- package/dist/effects/idle-reveal.js +3 -3
- package/dist/effects/ink.cjs +4 -4
- package/dist/effects/ink.js +4 -4
- package/dist/effects/jump-cut.cjs +3 -3
- package/dist/effects/jump-cut.js +3 -3
- package/dist/effects/kaleido.cjs +3 -3
- package/dist/effects/kaleido.js +3 -3
- package/dist/effects/label-float.cjs +3 -3
- package/dist/effects/label-float.js +3 -3
- package/dist/effects/lantern-rise.cjs +3 -3
- package/dist/effects/lantern-rise.js +3 -3
- package/dist/effects/leaves.cjs +4 -4
- package/dist/effects/leaves.js +4 -4
- package/dist/effects/letterbox.cjs +3 -3
- package/dist/effects/letterbox.js +3 -3
- package/dist/effects/level-up.cjs +3 -3
- package/dist/effects/level-up.js +3 -3
- package/dist/effects/light-follow.cjs +3 -3
- package/dist/effects/light-follow.js +3 -3
- package/dist/effects/lightning.cjs +3 -3
- package/dist/effects/lightning.js +3 -3
- package/dist/effects/line-draw.cjs +3 -3
- package/dist/effects/line-draw.js +3 -3
- package/dist/effects/liquid-text.cjs +3 -3
- package/dist/effects/liquid-text.js +3 -3
- package/dist/effects/liquid-wipe.cjs +3 -3
- package/dist/effects/liquid-wipe.js +3 -3
- package/dist/effects/lottie-play.cjs +3 -3
- package/dist/effects/lottie-play.js +3 -3
- package/dist/effects/magnet.cjs +3 -3
- package/dist/effects/magnet.js +3 -3
- package/dist/effects/marching-ants.cjs +3 -3
- package/dist/effects/marching-ants.js +3 -3
- package/dist/effects/marker-pulse.cjs +3 -3
- package/dist/effects/marker-pulse.js +3 -3
- package/dist/effects/mention-glow.cjs +3 -3
- package/dist/effects/mention-glow.js +3 -3
- package/dist/effects/mesh-drift.cjs +3 -3
- package/dist/effects/mesh-drift.js +3 -3
- package/dist/effects/message-in.cjs +3 -3
- package/dist/effects/message-in.js +3 -3
- package/dist/effects/mosaic-flip.cjs +3 -3
- package/dist/effects/mosaic-flip.js +3 -3
- package/dist/effects/neon-ignite.cjs +3 -3
- package/dist/effects/neon-ignite.js +3 -3
- package/dist/effects/neon-pulse.cjs +3 -3
- package/dist/effects/neon-pulse.js +3 -3
- package/dist/effects/neon-write.cjs +3 -3
- package/dist/effects/neon-write.js +3 -3
- package/dist/effects/neu-press.cjs +3 -3
- package/dist/effects/neu-press.js +3 -3
- package/dist/effects/noise-reveal.cjs +3 -3
- package/dist/effects/noise-reveal.js +3 -3
- package/dist/effects/number-roll.cjs +3 -3
- package/dist/effects/number-roll.js +3 -3
- package/dist/effects/orbit-camera.cjs +3 -3
- package/dist/effects/orbit-camera.js +3 -3
- package/dist/effects/orbit-in.cjs +3 -3
- package/dist/effects/orbit-in.js +3 -3
- package/dist/effects/origami.cjs +3 -3
- package/dist/effects/origami.js +3 -3
- package/dist/effects/page-curl.cjs +3 -3
- package/dist/effects/page-curl.js +3 -3
- package/dist/effects/pan-reveal.cjs +3 -3
- package/dist/effects/pan-reveal.js +3 -3
- package/dist/effects/paper-unfold.cjs +3 -3
- package/dist/effects/paper-unfold.js +3 -3
- package/dist/effects/particle-text.cjs +3 -3
- package/dist/effects/particle-text.js +3 -3
- package/dist/effects/path-morph.cjs +3 -3
- package/dist/effects/path-morph.js +3 -3
- package/dist/effects/pearlescent.cjs +3 -3
- package/dist/effects/pearlescent.js +3 -3
- package/dist/effects/pencil-sketch.cjs +3 -3
- package/dist/effects/pencil-sketch.js +3 -3
- package/dist/effects/pin-drop.cjs +3 -3
- package/dist/effects/pin-drop.js +3 -3
- package/dist/effects/pinball.cjs +3 -3
- package/dist/effects/pinball.js +3 -3
- package/dist/effects/pinch-hint.cjs +3 -3
- package/dist/effects/pinch-hint.js +3 -3
- package/dist/effects/pixelate-in.cjs +3 -3
- package/dist/effects/pixelate-in.js +3 -3
- package/dist/effects/pointer-shadow.cjs +3 -3
- package/dist/effects/pointer-shadow.js +3 -3
- package/dist/effects/portal-open.cjs +3 -3
- package/dist/effects/portal-open.js +3 -3
- package/dist/effects/price-flip.cjs +3 -3
- package/dist/effects/price-flip.js +3 -3
- package/dist/effects/product-spin.cjs +3 -3
- package/dist/effects/product-spin.js +3 -3
- package/dist/effects/rack-focus.cjs +3 -3
- package/dist/effects/rack-focus.js +3 -3
- package/dist/effects/radial-spectrum.cjs +4 -4
- package/dist/effects/radial-spectrum.js +4 -4
- package/dist/effects/rain-glass.cjs +3 -3
- package/dist/effects/rain-glass.js +3 -3
- package/dist/effects/reaction-burst.cjs +3 -3
- package/dist/effects/reaction-burst.js +3 -3
- package/dist/effects/read-receipt.cjs +3 -3
- package/dist/effects/read-receipt.js +3 -3
- package/dist/effects/refraction.cjs +3 -3
- package/dist/effects/refraction.js +3 -3
- package/dist/effects/ring-sweep.cjs +3 -3
- package/dist/effects/ring-sweep.js +3 -3
- package/dist/effects/ripple-dissolve.cjs +3 -3
- package/dist/effects/ripple-dissolve.js +3 -3
- package/dist/effects/rope.cjs +3 -3
- package/dist/effects/rope.js +3 -3
- package/dist/effects/route-draw.cjs +3 -3
- package/dist/effects/route-draw.js +3 -3
- package/dist/effects/safe-fade.cjs +3 -3
- package/dist/effects/safe-fade.js +3 -3
- package/dist/effects/sakura.cjs +4 -4
- package/dist/effects/sakura.js +4 -4
- package/dist/effects/sale-shine.cjs +3 -3
- package/dist/effects/sale-shine.js +3 -3
- package/dist/effects/sankey-flow.cjs +3 -3
- package/dist/effects/sankey-flow.js +3 -3
- package/dist/effects/scanline-sweep.cjs +3 -3
- package/dist/effects/scanline-sweep.js +3 -3
- package/dist/effects/shatter.cjs +3 -3
- package/dist/effects/shatter.js +3 -3
- package/dist/effects/smoke.cjs +4 -4
- package/dist/effects/smoke.js +4 -4
- package/dist/effects/snowfall.cjs +3 -3
- package/dist/effects/snowfall.js +3 -3
- package/dist/effects/soft-body.cjs +3 -3
- package/dist/effects/soft-body.js +3 -3
- package/dist/effects/sound-particles.cjs +4 -4
- package/dist/effects/sound-particles.js +4 -4
- package/dist/effects/spatial-float.cjs +3 -3
- package/dist/effects/spatial-float.js +3 -3
- package/dist/effects/spectrum-mirror.cjs +4 -4
- package/dist/effects/spectrum-mirror.js +4 -4
- package/dist/effects/splash.cjs +4 -4
- package/dist/effects/splash.js +4 -4
- package/dist/effects/spooky-float.cjs +3 -3
- package/dist/effects/spooky-float.js +3 -3
- package/dist/effects/stock-pulse.cjs +3 -3
- package/dist/effects/stock-pulse.js +3 -3
- package/dist/effects/stream-text.cjs +3 -3
- package/dist/effects/stream-text.js +3 -3
- package/dist/effects/stroke-draw.cjs +3 -3
- package/dist/effects/stroke-draw.js +3 -3
- package/dist/effects/success-check.cjs +3 -3
- package/dist/effects/success-check.js +3 -3
- package/dist/effects/swipe-hint.cjs +3 -3
- package/dist/effects/swipe-hint.js +3 -3
- package/dist/effects/text-trail.cjs +3 -3
- package/dist/effects/text-trail.js +3 -3
- package/dist/effects/thinking-glow.cjs +3 -3
- package/dist/effects/thinking-glow.js +3 -3
- package/dist/effects/tilt-wobble.cjs +3 -3
- package/dist/effects/tilt-wobble.js +3 -3
- package/dist/effects/typing-dots.cjs +3 -3
- package/dist/effects/typing-dots.js +3 -3
- package/dist/effects/underline-sweep.cjs +3 -3
- package/dist/effects/underline-sweep.js +3 -3
- package/dist/effects/vhs-glitch.cjs +3 -3
- package/dist/effects/vhs-glitch.js +3 -3
- package/dist/effects/vine-grow.cjs +3 -3
- package/dist/effects/vine-grow.js +3 -3
- package/dist/effects/vinyl-spin.cjs +4 -4
- package/dist/effects/vinyl-spin.js +4 -4
- package/dist/effects/voice-wave.cjs +3 -3
- package/dist/effects/voice-wave.js +3 -3
- package/dist/effects/water-drop.cjs +3 -3
- package/dist/effects/water-drop.js +3 -3
- package/dist/effects/watercolor.cjs +3 -3
- package/dist/effects/watercolor.js +3 -3
- package/dist/effects/waveform-scope.cjs +4 -4
- package/dist/effects/waveform-scope.js +4 -4
- package/dist/effects/xmas-snow.cjs +3 -3
- package/dist/effects/xmas-snow.js +3 -3
- package/dist/effects/xp-gain.cjs +3 -3
- package/dist/effects/xp-gain.js +3 -3
- package/dist/effects/y2k-shine.cjs +3 -3
- package/dist/effects/y2k-shine.js +3 -3
- package/dist/element.cjs +1 -1
- package/dist/element.js +1 -1
- package/dist/element.umd.js +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.js +3 -3
- package/dist/index.umd.js +1 -1
- package/dist/llms-full.txt +1 -1
- package/dist/llms.txt +1 -1
- package/dist/manifest.json +79 -30
- package/dist/presets/extended.cjs +1 -1
- package/dist/presets/extended.js +1 -1
- package/dist/presets-extended.umd.js +1 -1
- package/dist/react.cjs +1 -1
- package/dist/react.js +1 -1
- package/dist/runtime/drag-snap.cjs +2 -2
- package/dist/runtime/drag-snap.iife.js +1 -1
- package/dist/runtime/drag-snap.js +2 -2
- package/dist/runtime/format-apng.cjs +5 -5
- package/dist/runtime/format-apng.iife.js +1 -1
- package/dist/runtime/format-apng.js +5 -5
- package/dist/runtime/format-css.cjs +5 -5
- package/dist/runtime/format-css.iife.js +1 -1
- package/dist/runtime/format-css.js +5 -5
- package/dist/runtime/format-gif.cjs +5 -5
- package/dist/runtime/format-gif.iife.js +1 -1
- package/dist/runtime/format-gif.js +5 -5
- package/dist/runtime/format-gltf.cjs +2 -2
- package/dist/runtime/format-gltf.iife.js +1 -1
- package/dist/runtime/format-gltf.js +2 -2
- package/dist/runtime/format-motion.cjs +5 -5
- package/dist/runtime/format-motion.iife.js +1 -1
- package/dist/runtime/format-motion.js +5 -5
- package/dist/runtime/format-obj.cjs +2 -2
- package/dist/runtime/format-obj.iife.js +1 -1
- package/dist/runtime/format-obj.js +2 -2
- package/dist/runtime/format-scene.cjs +2 -2
- package/dist/runtime/format-scene.iife.js +1 -1
- package/dist/runtime/format-scene.js +2 -2
- package/dist/runtime/format-sprite.cjs +4 -4
- package/dist/runtime/format-sprite.iife.js +1 -1
- package/dist/runtime/format-sprite.js +4 -4
- package/dist/runtime/format-svg.cjs +4 -4
- package/dist/runtime/format-svg.iife.js +1 -1
- package/dist/runtime/format-svg.js +4 -4
- package/dist/runtime/format-webp.cjs +5 -5
- package/dist/runtime/format-webp.iife.js +1 -1
- package/dist/runtime/format-webp.js +5 -5
- package/dist/runtime/gl.cjs +2 -2
- package/dist/runtime/gl.iife.js +1 -1
- package/dist/runtime/gl.js +2 -2
- package/dist/runtime/gltf-anim.cjs +2 -2
- package/dist/runtime/gltf-anim.iife.js +1 -1
- package/dist/runtime/gltf-anim.js +2 -2
- package/dist/runtime/gltf-decoders.cjs +2 -2
- package/dist/runtime/gltf-decoders.iife.js +1 -1
- package/dist/runtime/gltf-decoders.js +2 -2
- package/dist/runtime/lottie-state.cjs +2 -2
- package/dist/runtime/lottie-state.iife.js +1 -1
- package/dist/runtime/lottie-state.js +2 -2
- package/dist/runtime/physics.cjs +2 -2
- package/dist/runtime/physics.iife.js +1 -1
- package/dist/runtime/physics.js +2 -2
- package/dist/runtime/scroll.cjs +9 -3
- package/dist/runtime/scroll.iife.js +2 -2
- package/dist/runtime/scroll.js +9 -3
- package/dist/runtime/smooth.cjs +2 -2
- package/dist/runtime/smooth.iife.js +1 -1
- package/dist/runtime/smooth.js +2 -2
- package/dist/runtime/text.cjs +2 -2
- package/dist/runtime/text.iife.js +1 -1
- package/dist/runtime/text.js +2 -2
- package/dist/runtime/vector.cjs +4 -4
- package/dist/runtime/vector.iife.js +1 -1
- package/dist/runtime/vector.js +4 -4
- package/dist/runtime.cjs +4 -4
- package/dist/runtime.d.cts +1 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.iife.js +2 -2
- package/dist/runtime.js +6 -6
- package/dist/solid.cjs +1 -1
- package/dist/solid.js +1 -1
- package/dist/svelte.cjs +1 -1
- package/dist/svelte.js +1 -1
- package/dist/vue.cjs +1 -1
- package/dist/vue.js +1 -1
- package/dist/widgets/add-to-cart.cjs +8 -8
- package/dist/widgets/add-to-cart.js +8 -8
- package/dist/widgets/badge-wall.cjs +3 -3
- package/dist/widgets/badge-wall.js +3 -3
- package/dist/widgets/bar-chart.cjs +2 -2
- package/dist/widgets/bar-chart.js +2 -2
- package/dist/widgets/bg-generator.cjs +4 -4
- package/dist/widgets/bg-generator.js +4 -4
- package/dist/widgets/carousel.cjs +4 -4
- package/dist/widgets/carousel.js +4 -4
- package/dist/widgets/cart-drawer.cjs +3 -3
- package/dist/widgets/cart-drawer.js +3 -3
- package/dist/widgets/chapter-nav.cjs +3 -3
- package/dist/widgets/chapter-nav.js +3 -3
- package/dist/widgets/chat-composer.cjs +2 -2
- package/dist/widgets/chat-composer.js +2 -2
- package/dist/widgets/clock-control.cjs +2 -2
- package/dist/widgets/clock-control.js +2 -2
- package/dist/widgets/code-export.cjs +4 -3
- package/dist/widgets/code-export.js +4 -3
- package/dist/widgets/color-picker.cjs +4 -4
- package/dist/widgets/color-picker.js +4 -4
- package/dist/widgets/command-palette.cjs +3 -3
- package/dist/widgets/command-palette.js +3 -3
- package/dist/widgets/compare.cjs +11 -7
- package/dist/widgets/compare.js +11 -7
- package/dist/widgets/countdown.cjs +3 -3
- package/dist/widgets/countdown.js +3 -3
- package/dist/widgets/cube-gallery.cjs +3 -3
- package/dist/widgets/cube-gallery.js +3 -3
- package/dist/widgets/date-picker.cjs +4 -3
- package/dist/widgets/date-picker.js +4 -3
- package/dist/widgets/disclosure.cjs +3 -3
- package/dist/widgets/disclosure.js +3 -3
- package/dist/widgets/dock.cjs +3 -3
- package/dist/widgets/dock.js +3 -3
- package/dist/widgets/dotlottie.cjs +5 -5
- package/dist/widgets/dotlottie.js +5 -5
- package/dist/widgets/equalizer.cjs +4 -4
- package/dist/widgets/equalizer.js +4 -4
- package/dist/widgets/festival-banner.cjs +3 -3
- package/dist/widgets/festival-banner.js +3 -3
- package/dist/widgets/field.cjs +3 -3
- package/dist/widgets/field.js +3 -3
- package/dist/widgets/file-drop.cjs +2 -2
- package/dist/widgets/file-drop.js +2 -2
- package/dist/widgets/gauge.cjs +3 -3
- package/dist/widgets/gauge.js +3 -3
- package/dist/widgets/gen-art.cjs +3 -3
- package/dist/widgets/gen-art.js +3 -3
- package/dist/widgets/gesture-sticker.cjs +3 -3
- package/dist/widgets/gesture-sticker.js +3 -3
- package/dist/widgets/gl-model.cjs +5 -5
- package/dist/widgets/gl-model.js +5 -5
- package/dist/widgets/gl-scene.cjs +5 -5
- package/dist/widgets/gl-scene.js +5 -5
- package/dist/widgets/globe.cjs +3 -3
- package/dist/widgets/globe.js +3 -3
- package/dist/widgets/gpu-particles.cjs +3 -3
- package/dist/widgets/gpu-particles.js +3 -3
- package/dist/widgets/gyro-card.cjs +3 -3
- package/dist/widgets/gyro-card.js +3 -3
- package/dist/widgets/hero-video.cjs +3 -3
- package/dist/widgets/hero-video.js +3 -3
- package/dist/widgets/hud-panel.cjs +2 -2
- package/dist/widgets/hud-panel.js +2 -2
- package/dist/widgets/hydrate.cjs +2 -2
- package/dist/widgets/hydrate.js +2 -2
- package/dist/widgets/install-button.cjs +24 -4
- package/dist/widgets/install-button.js +24 -4
- package/dist/widgets/kanban.cjs +3 -3
- package/dist/widgets/kanban.js +3 -3
- package/dist/widgets/keyframe-editor.cjs +5 -5
- package/dist/widgets/keyframe-editor.js +5 -5
- package/dist/widgets/kpi.cjs +4 -3
- package/dist/widgets/kpi.js +4 -3
- package/dist/widgets/leaderboard.cjs +3 -3
- package/dist/widgets/leaderboard.js +3 -3
- package/dist/widgets/liquid-nav.cjs +2 -2
- package/dist/widgets/liquid-nav.js +2 -2
- package/dist/widgets/location-card.cjs +3 -3
- package/dist/widgets/location-card.js +3 -3
- package/dist/widgets/lottie-icon.cjs +4 -4
- package/dist/widgets/lottie-icon.js +4 -4
- package/dist/widgets/lottie-player.cjs +5 -5
- package/dist/widgets/lottie-player.js +5 -5
- package/dist/widgets/lottie.cjs +3 -3
- package/dist/widgets/lottie.js +3 -3
- package/dist/widgets/lyrics.cjs +4 -4
- package/dist/widgets/lyrics.js +4 -4
- package/dist/widgets/masonry-flow.cjs +3 -3
- package/dist/widgets/masonry-flow.js +3 -3
- package/dist/widgets/menu-toggle.cjs +3 -3
- package/dist/widgets/menu-toggle.js +3 -3
- package/dist/widgets/menu.cjs +4 -4
- package/dist/widgets/menu.js +4 -4
- package/dist/widgets/message-list.cjs +2 -2
- package/dist/widgets/message-list.js +2 -2
- package/dist/widgets/milestones.cjs +3 -3
- package/dist/widgets/milestones.js +3 -3
- package/dist/widgets/modal.cjs +4 -4
- package/dist/widgets/modal.js +4 -4
- package/dist/widgets/motion-inspector.cjs +4 -4
- package/dist/widgets/motion-inspector.js +4 -4
- package/dist/widgets/motion-prefs.cjs +3 -3
- package/dist/widgets/motion-prefs.js +3 -3
- package/dist/widgets/motion-prompt.cjs +2 -2
- package/dist/widgets/motion-prompt.js +2 -2
- package/dist/widgets/motion-spec.cjs +4 -4
- package/dist/widgets/motion-spec.js +4 -4
- package/dist/widgets/motion.cjs +3 -3
- package/dist/widgets/motion.js +3 -3
- package/dist/widgets/music-player.cjs +3 -3
- package/dist/widgets/music-player.js +3 -3
- package/dist/widgets/native-preview.cjs +28 -7
- package/dist/widgets/native-preview.js +28 -7
- package/dist/widgets/nav-morph.cjs +4 -4
- package/dist/widgets/nav-morph.js +4 -4
- package/dist/widgets/notification-bell.cjs +2 -2
- package/dist/widgets/notification-bell.js +2 -2
- package/dist/widgets/odometer.cjs +4 -4
- package/dist/widgets/odometer.js +4 -4
- package/dist/widgets/organic-card.cjs +3 -3
- package/dist/widgets/organic-card.js +3 -3
- package/dist/widgets/otp.cjs +3 -3
- package/dist/widgets/otp.js +3 -3
- package/dist/widgets/pagination.cjs +4 -4
- package/dist/widgets/pagination.js +4 -4
- package/dist/widgets/panorama.cjs +3 -3
- package/dist/widgets/panorama.js +3 -3
- package/dist/widgets/parallax-layers.cjs +2 -2
- package/dist/widgets/parallax-layers.js +2 -2
- package/dist/widgets/pause-all.cjs +2 -2
- package/dist/widgets/pause-all.js +2 -2
- package/dist/widgets/perf-monitor.cjs +3 -3
- package/dist/widgets/perf-monitor.js +3 -3
- package/dist/widgets/physics-playground.cjs +5 -5
- package/dist/widgets/physics-playground.js +5 -5
- package/dist/widgets/plugin-card.cjs +4 -4
- package/dist/widgets/plugin-card.js +4 -4
- package/dist/widgets/plugin-store.cjs +4 -4
- package/dist/widgets/plugin-store.js +4 -4
- package/dist/widgets/presence.cjs +3 -3
- package/dist/widgets/presence.js +3 -3
- package/dist/widgets/prize-wheel.cjs +3 -3
- package/dist/widgets/prize-wheel.js +3 -3
- package/dist/widgets/product-gallery.cjs +3 -3
- package/dist/widgets/product-gallery.js +3 -3
- package/dist/widgets/progress-ring.cjs +4 -4
- package/dist/widgets/progress-ring.js +4 -4
- package/dist/widgets/prop-panel.cjs +3 -3
- package/dist/widgets/prop-panel.js +3 -3
- package/dist/widgets/pull-cord.cjs +2 -2
- package/dist/widgets/pull-cord.js +2 -2
- package/dist/widgets/radar.cjs +3 -3
- package/dist/widgets/radar.js +3 -3
- package/dist/widgets/reactions.cjs +3 -3
- package/dist/widgets/reactions.js +3 -3
- package/dist/widgets/red-envelope.cjs +2 -2
- package/dist/widgets/red-envelope.js +2 -2
- package/dist/widgets/retro-button.cjs +3 -3
- package/dist/widgets/retro-button.js +3 -3
- package/dist/widgets/rive.cjs +3 -3
- package/dist/widgets/rive.js +3 -3
- package/dist/widgets/route-transition.cjs +2 -2
- package/dist/widgets/route-transition.js +2 -2
- package/dist/widgets/scene.cjs +3 -3
- package/dist/widgets/scene.js +3 -3
- package/dist/widgets/scroll-ring.cjs +3 -3
- package/dist/widgets/scroll-ring.js +3 -3
- package/dist/widgets/scroll-scene.cjs +5 -5
- package/dist/widgets/scroll-scene.js +5 -5
- package/dist/widgets/segmented.cjs +4 -4
- package/dist/widgets/segmented.js +4 -4
- package/dist/widgets/shader-backdrop.cjs +3 -3
- package/dist/widgets/shader-backdrop.js +3 -3
- package/dist/widgets/sheet.cjs +4 -4
- package/dist/widgets/sheet.js +4 -4
- package/dist/widgets/shortcut.cjs +3 -3
- package/dist/widgets/shortcut.js +3 -3
- package/dist/widgets/skeleton-reveal.cjs +4 -4
- package/dist/widgets/skeleton-reveal.js +4 -4
- package/dist/widgets/sketch-chart.cjs +3 -3
- package/dist/widgets/sketch-chart.js +3 -3
- package/dist/widgets/smooth-scroll.cjs +4 -4
- package/dist/widgets/smooth-scroll.js +4 -4
- package/dist/widgets/snap-carousel.cjs +4 -4
- package/dist/widgets/snap-carousel.js +4 -4
- package/dist/widgets/sparkline.cjs +3 -3
- package/dist/widgets/sparkline.js +3 -3
- package/dist/widgets/spatial-card.cjs +2 -2
- package/dist/widgets/spatial-card.js +2 -2
- package/dist/widgets/star-rating.cjs +3 -3
- package/dist/widgets/star-rating.js +3 -3
- package/dist/widgets/stepper.cjs +16 -4
- package/dist/widgets/stepper.js +16 -4
- package/dist/widgets/sticky-wall.cjs +3 -3
- package/dist/widgets/sticky-wall.js +3 -3
- package/dist/widgets/stories.cjs +3 -3
- package/dist/widgets/stories.js +3 -3
- package/dist/widgets/suggestion-chips.cjs +3 -3
- package/dist/widgets/suggestion-chips.js +3 -3
- package/dist/widgets/swipe-deck.cjs +3 -3
- package/dist/widgets/swipe-deck.js +3 -3
- package/dist/widgets/switch.cjs +3 -3
- package/dist/widgets/switch.js +3 -3
- package/dist/widgets/tab-bar.cjs +4 -4
- package/dist/widgets/tab-bar.js +4 -4
- package/dist/widgets/terminal.cjs +2 -2
- package/dist/widgets/terminal.js +2 -2
- package/dist/widgets/text-splitter.cjs +4 -4
- package/dist/widgets/text-splitter.js +4 -4
- package/dist/widgets/theme-surface.cjs +3 -3
- package/dist/widgets/theme-surface.js +3 -3
- package/dist/widgets/theme-switcher.cjs +4 -4
- package/dist/widgets/theme-switcher.js +4 -4
- package/dist/widgets/tip.cjs +4 -4
- package/dist/widgets/tip.js +4 -4
- package/dist/widgets/toast-stack.cjs +5 -5
- package/dist/widgets/toast-stack.js +5 -5
- package/dist/widgets/token-editor.cjs +2 -2
- package/dist/widgets/token-editor.js +2 -2
- package/dist/widgets/upload-progress.cjs +3 -3
- package/dist/widgets/upload-progress.js +3 -3
- package/dist/widgets/video-card.cjs +2 -2
- package/dist/widgets/video-card.js +2 -2
- package/dist/widgets/voice-button.cjs +3 -3
- package/dist/widgets/voice-button.js +3 -3
- package/dist/widgets/volume-knob.cjs +3 -3
- package/dist/widgets/volume-knob.js +3 -3
- package/dist/widgets/weather-card.cjs +3 -3
- package/dist/widgets/weather-card.js +3 -3
- package/dist/widgets/worker-canvas.cjs +4 -4
- package/dist/widgets/worker-canvas.js +4 -4
- package/dist/widgets/xp-bar.cjs +3 -3
- package/dist/widgets/xp-bar.js +3 -3
- package/dist/widgets.umd.js +2 -2
- package/docs/browser-matrix.md +108 -0
- package/docs/components/usa-add-to-cart.md +1 -1
- package/docs/components/usa-back-to-top.md +1 -1
- package/docs/components/usa-bottom-sheet.md +1 -1
- package/docs/components/usa-chapter-nav.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-compare.md +1 -1
- package/docs/components/usa-date-picker.md +1 -1
- package/docs/components/usa-distort.md +1 -1
- package/docs/components/usa-drawer.md +1 -1
- package/docs/components/usa-gl-model.md +1 -1
- package/docs/components/usa-gl-scene.md +1 -1
- package/docs/components/usa-install-button.md +1 -1
- package/docs/components/usa-kpi.md +1 -1
- package/docs/components/usa-liquid.md +1 -1
- package/docs/components/usa-modal.md +1 -1
- package/docs/components/usa-motion-inspector.md +1 -1
- package/docs/components/usa-native-preview.md +1 -1
- package/docs/components/usa-navbar.md +1 -1
- package/docs/components/usa-post-fx.md +1 -1
- package/docs/components/usa-reveal.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 +1 -1
- package/docs/components/usa-segmented.md +1 -1
- package/docs/components/usa-sheet.md +1 -1
- package/docs/components/usa-stepper.md +1 -1
- package/docs/components/usa-switch.md +1 -1
- package/docs/components/usa-theme-switcher.md +1 -1
- package/docs/contract-report.json +3 -3
- package/docs/versions.md +1 -1
- package/package.json +4 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,59 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [13.1.0] - 2026-10-10
|
|
11
|
+
|
|
12
|
+
Real browser compatibility. A Playwright suite now runs every public component in Chromium, Firefox and WebKit on the
|
|
13
|
+
built package (`npm run test:browser`, CI job `browser`). It found the bugs below on 13.0.2; each is fixed here and kept
|
|
14
|
+
covered by the suite. Minor release: npm tag `v13-1` (`latest` stays on 13.0.x, see docs/versions.md). No API removed,
|
|
15
|
+
no budget raised.
|
|
16
|
+
|
|
17
|
+
### Fixed (keyboard and ARIA)
|
|
18
|
+
- **`<usa-native-preview>`**: the Replay `<button>` sat inside `role="tablist"` (axe `aria-required-children`, first reported downstream); the code was not a tabpanel and every tab was a Tab stop. Replay now sits next to the list (`.usa-np-bar`), the code is a `role="tabpanel"` (`aria-controls` / `aria-labelledby`), tabs use a roving tabindex with ←/→/Home/End.
|
|
19
|
+
- **`<usa-install-button>`**: same tabs pattern (one Tab stop, arrow keys, Home/End, tabpanel).
|
|
20
|
+
- **`<usa-code-export>`**: the tablist now also handles Home / End.
|
|
21
|
+
- **`<usa-switch>`**: `disabled` is exposed as `aria-disabled`.
|
|
22
|
+
- **`<usa-stepper clickable>`**: steps are keyboard reachable (`tabindex="0"`, Enter / Space), not click-only.
|
|
23
|
+
- **`<usa-color-picker>`**: the saturation/brightness area has the `aria-valuenow` that `role="slider"` requires (`aria-valuetext` still reads both axes); on the hue slider ↑ now raises the value like → (it cancelled it out).
|
|
24
|
+
- **`<usa-drawer>` / `<usa-bottom-sheet>`**: the `aria-modal="true"` panel had no focus trap — Tab reached the page behind it. Tab / Shift+Tab now wrap inside the open panel, and focus returns to the opener as soon as the panel is dismissed (not when the slide-out spring comes to rest).
|
|
25
|
+
|
|
26
|
+
### Fixed (motion sensitivity)
|
|
27
|
+
- **`<usa-modal>` / `<usa-sheet>`**: the `::backdrop` fade still animated under motion sensitivity `"static"`; it now just appears.
|
|
28
|
+
|
|
29
|
+
### Fixed (attributes and errors — component contract)
|
|
30
|
+
- **`<usa-segmented>`**: changing the observed `value` attribute after mount did not change the selection.
|
|
31
|
+
- **Invalid selector attributes threw** instead of falling back (`<usa-navbar target>`, `<usa-scroll-progress target>`, `<usa-back-to-top focus-target>`, `<usa-chapter-nav for>`, `<usa-motion-inspector scope>`, `<usa-scroll-ring for>`, `<usa-theme-switcher target>`, `<usa-code-export for>`, `<usa-add-to-cart from / cart>`). A selector that does not parse now finds nothing and the element uses its documented default (new internal `queryAttr()`).
|
|
32
|
+
- **Invalid `locale` attribute threw a `RangeError`** (`<usa-date-picker>`, `<usa-kpi>`); it now falls back to the user's locale.
|
|
33
|
+
- **Invalid `root-margin` threw from `IntersectionObserver`** (`<usa-reveal>` and every component using the base `inView()`); it now falls back to the defaults.
|
|
34
|
+
- **`scrollScene()` (runtime/scroll) with a bad `start` / `end`** threw from the first `refresh()` — after it had registered scroll / resize listeners, the ticker and the global scene, which then leaked and re-threw on every resize. The edges are validated before any side effect; `<usa-scroll-scene>` falls back to its defaults with a `[motionary]` warning.
|
|
35
|
+
|
|
36
|
+
### Fixed (resources)
|
|
37
|
+
- **`<usa-scroll-scene pin>`**: pinning wraps the element in a spacer (and unwraps it on kill); that move fired `disconnected` / `connected` in the middle of mounting, so the half-built scene was never killed and a second one mounted inside it — dozens of scenes with their scroll / resize listeners and ticker callbacks leaked per re-mount. Moves made by the scene itself are now ignored.
|
|
38
|
+
- **`<usa-compare>`**: the intro rAF loop was not cancelled on disconnect / re-mount (stacked loops painting a detached element).
|
|
39
|
+
- **`<usa-gl-scene>` / `<usa-gl-model>`**: the WebGL2 context was never released on disconnect / re-mount (7 live contexts after 6 re-mounts, 16 after attribute changes — browsers then drop the oldest). It is now lost with the canvas.
|
|
40
|
+
- **`<usa-distort>` / `<usa-liquid>` / `<usa-post-fx>`**: re-connected after their image had failed, they kept a dead canvas and a live context; they now show the image fallback.
|
|
41
|
+
|
|
42
|
+
### Added (checks)
|
|
43
|
+
- `test/browser/` (Playwright, devDependency only) — lifecycle sweep of every manifest component (mount / attribute changes / unmount / re-mount: no error, no leaked window or document listener, interval, observer on a detached node, rAF loop or WebGL context), keyboard and ARIA patterns, motion sensitivity levels, WebGL / Canvas resource release and the per-browser GPU capability matrix, and a 32-component page measured against `perf/browser-baseline.json`.
|
|
44
|
+
- `npm run test:browser`; CI job `browser` (chromium / firefox / webkit matrix, browsers cached by Playwright version, results uploaded as artifacts). See [docs/browser-matrix.md](docs/browser-matrix.md) for what each browser supports and the documented limitations.
|
|
45
|
+
- `test/browser-compat-13-1-0.test.ts` keeps the pure logic (selector / locale fallbacks, scroll-scene validation) in the fast jsdom run.
|
|
46
|
+
|
|
47
|
+
## [13.0.2] - 2026-10-10
|
|
48
|
+
|
|
49
|
+
### Fixed (component playground — `showcase/run.html`)
|
|
50
|
+
- **Run, Copy and Download share the editor.** Download rebuilt the original sample (`runnablePage(cur)`), so edits were lost in the downloaded file; it now saves exactly the editor text (`.html` on the HTML tab, `.js` on the npm tab) — the same text Copy puts on the clipboard and Run previews.
|
|
51
|
+
- **Run uses the whole document.** Run cut the `<body>` out of the editor with a regex and pasted it into a freshly generated page, so edits to `<head>` (styles, scripts, title, script versions) were ignored, and a reformatted `<body>` silently fell back to the original example. The preview now runs the page as written (this major's CDN URLs are served from the site so a release can be previewed before it reaches the CDN); markup alone runs inside the sample page.
|
|
52
|
+
- **HTML (CDN) and npm + bundler run differently.** The npm tab used to preview the HTML sample and ignore its own edits. It now runs the edited module through an import map: `motionary/…` paths resolve to the site's `dist/` exactly as `package.json` `exports` name them, other packages to `cdn.jsdelivr.net/…/+esm`.
|
|
53
|
+
- **Pages that need ES modules run from the CDN.** The snap carousel, dotLottie and glTF model components are not in any CDN bundle (they have their own entry points), so their HTML pages never defined the element; they now load through an import map + module script (prerequisites first). The four examples with `import … from 'motionary/…'` module scripts (auto-animate, toaster, clock control, loading bar) get an import map too, so the downloaded page runs on its own. (Playground pages only — the components themselves are unchanged.)
|
|
54
|
+
- **Problems with fixes.** Before running, the editor is checked: a missing or misordered prerequisite `<script>` names the module and the exact `<script src="…">` line to add, and where; on the npm tab a missing import, `use(…)` or `defineX()` call, an import that motionary does not export (with "did you mean"), a bare import without an import map. While it runs, script errors, failed loads, `usa:runtime-missing` and elements that never registered are reported from the preview with the fix. Same-site scripts load with `crossorigin` in the preview so errors are not reduced to "Script error.".
|
|
55
|
+
- **Isolation kept.** The preview stays `sandbox="allow-scripts"` (no `allow-same-origin`, popups, top navigation or modals); it reports through `postMessage` only, the page accepts messages only from the current run's frame and token, and renders them as text.
|
|
56
|
+
- **Mobile.** The prerequisites badge reused the gallery's absolutely positioned `.badge` and covered the page title (desktop too); the component list's 180 px limit on narrow screens was overridden by the base rule, pushing the editor below a 70vh list. Now: own pill, short list, 16 px editor (no iOS zoom on focus), 40 px tap targets. Edits are kept per component and tab (Reset restores the sample); Ctrl/Cmd + Enter runs.
|
|
57
|
+
|
|
58
|
+
### Checks
|
|
59
|
+
- New `npm run check:playground` (`scripts/check-playground.mjs`, headless Chrome over CDP, no new dependency; CI on Node 22): an edit in `<head>` and `<body>` shows after Run; Copy == Download == editor; the downloaded file opened from `file://` runs (its CDN URLs served from the build); tabs keep edits; the npm tab runs an edited module; a user script cannot reach `parent` / `top` / storage or inject markup into the page; a removed prerequisite and an unknown import show their fix; runtime errors are shown; module-only pages register; at 390 px no horizontal scroll, controls reachable, Run works. On 13.0.1, 10 of 11 failed (isolation already held).
|
|
60
|
+
- New `test/playground-13-0-2.test.ts` (unit): starter code, download file, full-document preview, import maps from `exports`, every starter page and snippet free of errors, prerequisite / order / import / define problems, reports → fixes, `ESM_ONLY` equals the components no CDN bundle defines, sandbox attribute and message handling.
|
|
61
|
+
- `scripts/perf-ci.mjs` exports its Chrome launcher (`launch`, `findChrome`) for the playground check. Pages ships `package.json` for the import map. No runtime code, public API or size budget changed (the runtime version string reads 13.0.2).
|
|
62
|
+
|
|
10
63
|
## [13.0.1] - 2026-10-10
|
|
11
64
|
|
|
12
65
|
### Fixed (component contract)
|
package/README.md
CHANGED
|
@@ -210,7 +210,7 @@ CDN) when the module is missing. Details: [docs/runtime-tiers.md](./docs/runtime
|
|
|
210
210
|
|---|---|
|
|
211
211
|
| [Animation Store](https://harrisoncn.github.io/Motionary/showcase/) | Preview, tweak and copy every preset and effect at desktop and phone sizes |
|
|
212
212
|
| [Components](https://harrisoncn.github.io/Motionary/showcase/components.html) | The gallery: every `<usa-*>` element with its attributes, prerequisites and tier |
|
|
213
|
-
| [Component playground](https://harrisoncn.github.io/Motionary/showcase/run.html) | Each component as a complete runnable page: edit, **Run**, **Copy** or **Download .
|
|
213
|
+
| [Component playground](https://harrisoncn.github.io/Motionary/showcase/run.html) | Each component as a complete runnable page: edit, **Run**, **Copy** or **Download** — all three use exactly what is in the editor (the download runs on its own). HTML (CDN) runs the whole page; npm + bundler runs the module through an import map. Missing prerequisites and errors show with the line that fixes them; deep links like `run.html#usa-tilt` |
|
|
214
214
|
| [Timeline playground](https://harrisoncn.github.io/Motionary/showcase/playground.html) | Visual keyframe editor; exports JSON for `<usa-player>` |
|
|
215
215
|
| [Scroll story](https://harrisoncn.github.io/Motionary/showcase/story.html) | `<usa-story>` scroll-storytelling templates |
|
|
216
216
|
| [Cross-platform previewer](https://harrisoncn.github.io/Motionary/showcase/xplat.html) | One preset on the web, in a mini program and in HarmonyOS ArkUI |
|
|
@@ -370,7 +370,7 @@ Coming from another library: [AOS](./docs/migration-from-aos.md) · [GSAP Scroll
|
|
|
370
370
|
|
|
371
371
|
## Versions and compatibility
|
|
372
372
|
|
|
373
|
-
- **npm dist-tags:** `latest` is the current major with its patch releases (13.0.
|
|
373
|
+
- **npm dist-tags:** `latest` is the current major with its patch releases (13.0.2). Each minor release also gets its own tag `v<major>-<minor>`
|
|
374
374
|
(for example `v12-9`). `motionary` and `use-scroll-animate` are published together at the same versions.
|
|
375
375
|
- **CDN:** URLs pin a major (`motionary@13`). Exact pins (`motionary@12.4.0`) keep working.
|
|
376
376
|
- **Semver:** breaking changes come only in majors, each with a guide and a codemod. Deprecations stay in place until the
|
package/README_ja.md
CHANGED
|
@@ -186,7 +186,7 @@ defineScrollScene(); // そのあとで、それを使うコンポーネント
|
|
|
186
186
|
|---|---|
|
|
187
187
|
| [アニメーションストア](https://harrisoncn.github.io/Motionary/showcase/) | すべてのプリセットとエフェクトを、デスクトップとスマホのサイズでプレビュー・調整・コピー |
|
|
188
188
|
| [コンポーネント](https://harrisoncn.github.io/Motionary/showcase/components.html) | ギャラリー:各 `<usa-*>` 要素の属性、前提モジュール、階層 |
|
|
189
|
-
| [コンポーネントプレイグラウンド](https://harrisoncn.github.io/Motionary/showcase/run.html) | コンポーネントごとに動く完全なページ。編集して **Run**、**Copy**、**Download
|
|
189
|
+
| [コンポーネントプレイグラウンド](https://harrisoncn.github.io/Motionary/showcase/run.html) | コンポーネントごとに動く完全なページ。編集して **Run**、**Copy**、**Download** — 3 つともエディタの内容そのものを使います(ダウンロードしたファイルは単体で動作)。HTML (CDN) はページ全体を実行し、npm + bundler はインポートマップでモジュールを実行。前提モジュールの不足やエラーは修正方法付きで表示。`run.html#usa-tilt` のようなディープリンクにも対応 |
|
|
190
190
|
| [タイムラインエディタ](https://harrisoncn.github.io/Motionary/showcase/playground.html) | ビジュアルなキーフレーム編集。`<usa-player>` 用の JSON を書き出せます |
|
|
191
191
|
| [スクロールストーリー](https://harrisoncn.github.io/Motionary/showcase/story.html) | `<usa-story>` のスクロールストーリーテンプレート |
|
|
192
192
|
| [クロスプラットフォームプレビュー](https://harrisoncn.github.io/Motionary/showcase/xplat.html) | 1 つのプリセットを Web・ミニプログラム・HarmonyOS ArkUI で見比べる |
|
|
@@ -314,7 +314,7 @@ npx usa-codemod-13 --write # まとめて書き換え。@10 / @11 / @12 に
|
|
|
314
314
|
|
|
315
315
|
## バージョンと互換性
|
|
316
316
|
|
|
317
|
-
- **npm の dist-tag:** `latest` は現在のメジャーとそのパッチ(13.0.
|
|
317
|
+
- **npm の dist-tag:** `latest` は現在のメジャーとそのパッチ(13.0.2)を指します。マイナーリリースにはそれぞれ `v<major>-<minor>` のタグも付きます(例:`v12-9`)。`motionary` と `use-scroll-animate` は常に同じバージョンで同時に公開されます。
|
|
318
318
|
- **CDN:** URL はメジャーで固定します(`motionary@13`)。正確なバージョン指定(`motionary@12.4.0`)もそのまま使えます。
|
|
319
319
|
- **セマンティックバージョニング:** 破壊的変更はメジャーだけで行い、毎回ガイドと codemod を用意します。非推奨になったものは次のメジャーまで残り、その間は型に `@deprecated` が付くだけで、実行時の警告は出ません。
|
|
320
320
|
- **各バージョンに含まれるもの:** コンポーネントとランタイムモジュールごとの `since` / `changed`([docs/version-compat.md](./docs/version-compat.md))、機能ごとの対応状況([docs/compat-matrix.md](./docs/compat-matrix.md))。
|
package/README_zh.md
CHANGED
|
@@ -186,7 +186,7 @@ defineScrollScene(); // 再注册依赖它的组件
|
|
|
186
186
|
|---|---|
|
|
187
187
|
| [动画商店](https://harrisoncn.github.io/Motionary/showcase/) | 在桌面和手机尺寸下预览、调整并复制所有预设与效果 |
|
|
188
188
|
| [组件库](https://harrisoncn.github.io/Motionary/showcase/components.html) | 每个 `<usa-*>` 元素的属性、前置依赖与等级 |
|
|
189
|
-
| [组件演练场](https://harrisoncn.github.io/Motionary/showcase/run.html) | 每个组件都是一个完整可运行的页面:编辑、**Run**、**Copy** 或 **Download
|
|
189
|
+
| [组件演练场](https://harrisoncn.github.io/Motionary/showcase/run.html) | 每个组件都是一个完整可运行的页面:编辑、**Run**、**Copy** 或 **Download** —— 三者都使用编辑器中的当前代码(下载的文件可独立运行)。HTML (CDN) 运行整个页面,npm + bundler 通过 import map 运行模块;缺少前置模块或运行出错时显示具体修复说明;支持 `run.html#usa-tilt` 这样的深链接 |
|
|
190
190
|
| [时间线编辑器](https://harrisoncn.github.io/Motionary/showcase/playground.html) | 可视化关键帧编辑,导出 `<usa-player>` 可播放的 JSON |
|
|
191
191
|
| [滚动叙事](https://harrisoncn.github.io/Motionary/showcase/story.html) | `<usa-story>` 滚动叙事模板 |
|
|
192
192
|
| [跨平台预览](https://harrisoncn.github.io/Motionary/showcase/xplat.html) | 同一个预设在 Web、小程序与鸿蒙 ArkUI 中的效果对比 |
|
|
@@ -314,7 +314,7 @@ npx usa-codemod-13 --write # 一并改写,并把固定在 @10 / @11 / @12
|
|
|
314
314
|
|
|
315
315
|
## 版本与兼容性
|
|
316
316
|
|
|
317
|
-
- **npm dist-tags:** `latest` 指向当前大版本及其补丁版本(13.0.
|
|
317
|
+
- **npm dist-tags:** `latest` 指向当前大版本及其补丁版本(13.0.2)。每个次版本另有自己的标签 `v<major>-<minor>`(例如 `v12-9`)。`motionary` 与 `use-scroll-animate` 总是以相同版本一起发布。
|
|
318
318
|
- **CDN:** URL 固定到大版本(`motionary@13`);固定到具体版本(`motionary@12.4.0`)的链接也继续可用。
|
|
319
319
|
- **语义化版本:** 破坏性变更只出现在大版本,每次都附带升级指南和 codemod。弃用的内容会保留到下一个大版本,期间类型标记为 `@deprecated`,运行时不输出警告。
|
|
320
320
|
- **各版本包含什么:** 每个组件和运行时模块的 `since` / `changed`([docs/version-compat.md](./docs/version-compat.md)),以及逐项功能支持([docs/compat-matrix.md](./docs/compat-matrix.md))。
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tween = require('./tween-
|
|
3
|
+
var tween = require('./tween-CDewrfuy.cjs');
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Shared internals of the animated-image loaders (`format-gif`, `format-apng`,
|
|
@@ -171,4 +171,4 @@ exports.composeFrames = composeFrames;
|
|
|
171
171
|
exports.crc32 = crc32;
|
|
172
172
|
exports.fixDelay = fixDelay;
|
|
173
173
|
exports.u8 = u8;
|
|
174
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.0
|
|
174
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.1.0/dist/chunks/anim-image-BZChGN-Q.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as Playable } from './tween-
|
|
1
|
+
import { P as Playable } from './tween-DbF_MjRO.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Shared internals of the animated-image loaders (`format-gif`, `format-apng`,
|
|
@@ -163,4 +163,4 @@ function crc32(bytes, start = 0, end = bytes.length) {
|
|
|
163
163
|
}
|
|
164
164
|
|
|
165
165
|
export { animatedImagePlayer as a, browserDecode as b, composeFrames as c, bytesOf as d, crc32 as e, fixDelay as f, u8 as u };
|
|
166
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.0
|
|
166
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.1.0/dist/chunks/anim-image-XoPuTpOe.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { playEffect } from './registry-
|
|
2
|
-
import { f as defineElement, p as prefersReducedMotion } from './base-
|
|
1
|
+
import { playEffect } from './registry-PxXkPc1Q.js';
|
|
2
|
+
import { f as defineElement, p as prefersReducedMotion } from './base-nzeN_ux7.js';
|
|
3
3
|
import { c as canvasBackground, h as hexRgb } from './generative-2LhxG5BJ.js';
|
|
4
4
|
import { P as PALETTE } from './shared-CkKHWrtJ.js';
|
|
5
5
|
|
|
@@ -330,4 +330,4 @@ function defineAudio(tag = 'usa-audio') {
|
|
|
330
330
|
}
|
|
331
331
|
|
|
332
332
|
export { AUDIO_FX as A, disableAudio as a, bindBeat as b, createBeatDetector as c, defineAudio as d, enableAudio as e, getAudio as g, onBeat as o };
|
|
333
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.0
|
|
333
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.1.0/dist/chunks/audio-5FOqrAxu.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var registry = require('./registry-
|
|
4
|
-
var base = require('./base-
|
|
3
|
+
var registry = require('./registry-EziiQiWO.cjs');
|
|
4
|
+
var base = require('./base-vu_KhBiv.cjs');
|
|
5
5
|
var generative = require('./generative-BHIj-NU0.cjs');
|
|
6
6
|
var shared = require('./shared-jkgRH-Hx.cjs');
|
|
7
7
|
|
|
@@ -339,4 +339,4 @@ exports.disableAudio = disableAudio;
|
|
|
339
339
|
exports.enableAudio = enableAudio;
|
|
340
340
|
exports.getAudio = getAudio;
|
|
341
341
|
exports.onBeat = onBeat;
|
|
342
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.0
|
|
342
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.1.0/dist/chunks/audio-DhgfWYZ_.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as defineElement } from './base-
|
|
1
|
+
import { f as defineElement } from './base-nzeN_ux7.js';
|
|
2
2
|
|
|
3
3
|
var css = "usa-badge-wall{display:block;width:var(--usa-bw-w,320px);max-width:100%;font:600 12px/1.2 system-ui,sans-serif}.usa-bw-count{margin:0 0 8px;font-size:13px;opacity:.75;font-variant-numeric:tabular-nums}.usa-bw-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(70px,1fr));gap:8px;margin:0;padding:0;list-style:none}.usa-bw-badge{position:relative;display:grid;justify-items:center;gap:4px;padding:8px 4px;border-radius:12px;background:linear-gradient(160deg,#fde68a,#f59e0b);color:#422006;text-align:center;overflow:hidden}.usa-bw-icon{font-size:24px;line-height:1}.usa-bw-name{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.usa-bw-badge[data-locked]{background:var(--usa-bw-locked,#e2e8f0);color:#64748b}.usa-bw-badge[data-locked] .usa-bw-icon{filter:grayscale(1);opacity:.45}.usa-bw-badge[data-locked]::after{content:\"🔒\";position:absolute;top:3px;right:4px;font-size:11px}.usa-bw-badge[data-shine]::before{content:\"\";position:absolute;inset:0;background:linear-gradient(110deg,transparent 35%,rgba(255,255,255,.75) 50%,transparent 65%) 120% 0/250% 100%;animation:usa-bw-shine 1s ease-in-out .3s both;pointer-events:none}@keyframes usa-bw-shine{to{background-position:-20% 0}}.usa-bw-live{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}@media (prefers-reduced-motion:reduce){.usa-bw-badge[data-shine]::before{animation:none;display:none}}";
|
|
4
4
|
|
|
@@ -74,4 +74,4 @@ function defineBadgeWall(tag = 'usa-badge-wall') {
|
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
export { badgeProgress as b, defineBadgeWall as d };
|
|
77
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.0
|
|
77
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.1.0/dist/chunks/badge-wall-Bd2dP3J7.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var base = require('./base-
|
|
3
|
+
var base = require('./base-vu_KhBiv.cjs');
|
|
4
4
|
|
|
5
5
|
var css = "usa-badge-wall{display:block;width:var(--usa-bw-w,320px);max-width:100%;font:600 12px/1.2 system-ui,sans-serif}.usa-bw-count{margin:0 0 8px;font-size:13px;opacity:.75;font-variant-numeric:tabular-nums}.usa-bw-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(70px,1fr));gap:8px;margin:0;padding:0;list-style:none}.usa-bw-badge{position:relative;display:grid;justify-items:center;gap:4px;padding:8px 4px;border-radius:12px;background:linear-gradient(160deg,#fde68a,#f59e0b);color:#422006;text-align:center;overflow:hidden}.usa-bw-icon{font-size:24px;line-height:1}.usa-bw-name{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.usa-bw-badge[data-locked]{background:var(--usa-bw-locked,#e2e8f0);color:#64748b}.usa-bw-badge[data-locked] .usa-bw-icon{filter:grayscale(1);opacity:.45}.usa-bw-badge[data-locked]::after{content:\"🔒\";position:absolute;top:3px;right:4px;font-size:11px}.usa-bw-badge[data-shine]::before{content:\"\";position:absolute;inset:0;background:linear-gradient(110deg,transparent 35%,rgba(255,255,255,.75) 50%,transparent 65%) 120% 0/250% 100%;animation:usa-bw-shine 1s ease-in-out .3s both;pointer-events:none}@keyframes usa-bw-shine{to{background-position:-20% 0}}.usa-bw-live{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}@media (prefers-reduced-motion:reduce){.usa-bw-badge[data-shine]::before{animation:none;display:none}}";
|
|
6
6
|
|
|
@@ -77,4 +77,4 @@ function defineBadgeWall(tag = 'usa-badge-wall') {
|
|
|
77
77
|
|
|
78
78
|
exports.badgeProgress = badgeProgress;
|
|
79
79
|
exports.defineBadgeWall = defineBadgeWall;
|
|
80
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.0
|
|
80
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.1.0/dist/chunks/badge-wall-Q7x5HSe_.cjs.map
|
|
@@ -77,6 +77,20 @@ function getMotionIntensity() {
|
|
|
77
77
|
function motionScale() {
|
|
78
78
|
return MOTION_SCALE[config.motionIntensity] ?? 1;
|
|
79
79
|
}
|
|
80
|
+
/**
|
|
81
|
+
* `querySelector` for a selector the page wrote in an attribute (`target`, `for`, `scope` …): an invalid selector finds
|
|
82
|
+
* nothing instead of throwing, so the element falls back to its documented default (13.1.0, component contract).
|
|
83
|
+
*/
|
|
84
|
+
function queryAttr(sel, root = document) {
|
|
85
|
+
try {
|
|
86
|
+
return sel ? root.querySelector(sel) : null;
|
|
87
|
+
}
|
|
88
|
+
catch {
|
|
89
|
+
return null;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
/** Focusable descendants (internal; shared by the a11y audit and the modal panels' focus trap). */
|
|
93
|
+
const FOCUSABLE = 'a[href],button:not([disabled]),input:not([disabled]),select:not([disabled]),textarea:not([disabled]),[tabindex]:not([tabindex="-1"])';
|
|
80
94
|
const canDefine = () => typeof customElements !== 'undefined' && typeof HTMLElement !== 'undefined';
|
|
81
95
|
/** `true` when animations should be reduced (OS setting or `configureComponents`). */
|
|
82
96
|
function prefersReducedMotion() {
|
|
@@ -210,10 +224,17 @@ function getBase() {
|
|
|
210
224
|
cb(true);
|
|
211
225
|
return;
|
|
212
226
|
}
|
|
213
|
-
const
|
|
227
|
+
const f = (entries) => {
|
|
214
228
|
for (const e of entries)
|
|
215
229
|
cb(e.isIntersecting, e);
|
|
216
|
-
}
|
|
230
|
+
};
|
|
231
|
+
let io;
|
|
232
|
+
try {
|
|
233
|
+
io = new IntersectionObserver(f, init);
|
|
234
|
+
}
|
|
235
|
+
catch {
|
|
236
|
+
io = new IntersectionObserver(f); // 13.1.0: an invalid root-margin / threshold attribute falls back to the defaults
|
|
237
|
+
}
|
|
217
238
|
io.observe(target);
|
|
218
239
|
this.onCleanup(() => io.disconnect());
|
|
219
240
|
}
|
|
@@ -458,5 +479,5 @@ function kindOf(el, valid, fallback) {
|
|
|
458
479
|
}
|
|
459
480
|
const clamp = (v, min, max) => Math.min(max, Math.max(min, v));
|
|
460
481
|
|
|
461
|
-
export { srText as A, deprecate as B, adoptStyles as C, EASE_OUT as D, EASE_SPRING as E,
|
|
462
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.0
|
|
482
|
+
export { srText as A, deprecate as B, adoptStyles as C, EASE_OUT as D, EASE_SPRING as E, FOCUSABLE as F, queryAttr as G, kindOf as H, shadowStyles as I, FLUENT_DECELERATE as J, MOTION_SENSITIVITY_LEVELS as M, applyFrame as a, caf as b, configureComponents as c, clamp as d, animateWithMotion as e, defineElement as f, getMotionSensitivity as g, getClock as h, canDefine as i, MOTION_SCALE as j, activeAnimations as k, adaptKeyframes as l, motionScale as m, now as n, onClockChange as o, prefersReducedMotion as p, animationBudget as q, raf as r, setClock as s, trackAnimation as t, getMotionIntensity as u, onFrame as v, schedulerStats as w, setAnimationBudget as x, withoutDeprecations as y, setStyleLoader as z };
|
|
483
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.1.0/dist/chunks/base-nzeN_ux7.js.map
|
|
@@ -79,6 +79,20 @@ function getMotionIntensity() {
|
|
|
79
79
|
function motionScale() {
|
|
80
80
|
return MOTION_SCALE[config.motionIntensity] ?? 1;
|
|
81
81
|
}
|
|
82
|
+
/**
|
|
83
|
+
* `querySelector` for a selector the page wrote in an attribute (`target`, `for`, `scope` …): an invalid selector finds
|
|
84
|
+
* nothing instead of throwing, so the element falls back to its documented default (13.1.0, component contract).
|
|
85
|
+
*/
|
|
86
|
+
function queryAttr(sel, root = document) {
|
|
87
|
+
try {
|
|
88
|
+
return sel ? root.querySelector(sel) : null;
|
|
89
|
+
}
|
|
90
|
+
catch {
|
|
91
|
+
return null;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
/** Focusable descendants (internal; shared by the a11y audit and the modal panels' focus trap). */
|
|
95
|
+
const FOCUSABLE = 'a[href],button:not([disabled]),input:not([disabled]),select:not([disabled]),textarea:not([disabled]),[tabindex]:not([tabindex="-1"])';
|
|
82
96
|
const canDefine = () => typeof customElements !== 'undefined' && typeof HTMLElement !== 'undefined';
|
|
83
97
|
/** `true` when animations should be reduced (OS setting or `configureComponents`). */
|
|
84
98
|
function prefersReducedMotion() {
|
|
@@ -212,10 +226,17 @@ function getBase() {
|
|
|
212
226
|
cb(true);
|
|
213
227
|
return;
|
|
214
228
|
}
|
|
215
|
-
const
|
|
229
|
+
const f = (entries) => {
|
|
216
230
|
for (const e of entries)
|
|
217
231
|
cb(e.isIntersecting, e);
|
|
218
|
-
}
|
|
232
|
+
};
|
|
233
|
+
let io;
|
|
234
|
+
try {
|
|
235
|
+
io = new IntersectionObserver(f, init);
|
|
236
|
+
}
|
|
237
|
+
catch {
|
|
238
|
+
io = new IntersectionObserver(f); // 13.1.0: an invalid root-margin / threshold attribute falls back to the defaults
|
|
239
|
+
}
|
|
219
240
|
io.observe(target);
|
|
220
241
|
this.onCleanup(() => io.disconnect());
|
|
221
242
|
}
|
|
@@ -463,6 +484,7 @@ const clamp = (v, min, max) => Math.min(max, Math.max(min, v));
|
|
|
463
484
|
exports.EASE_OUT = EASE_OUT;
|
|
464
485
|
exports.EASE_SPRING = EASE_SPRING;
|
|
465
486
|
exports.FLUENT_DECELERATE = FLUENT_DECELERATE;
|
|
487
|
+
exports.FOCUSABLE = FOCUSABLE;
|
|
466
488
|
exports.MOTION_SCALE = MOTION_SCALE;
|
|
467
489
|
exports.MOTION_SENSITIVITY_LEVELS = MOTION_SENSITIVITY_LEVELS;
|
|
468
490
|
exports.activeAnimations = activeAnimations;
|
|
@@ -486,6 +508,7 @@ exports.now = now;
|
|
|
486
508
|
exports.onClockChange = onClockChange;
|
|
487
509
|
exports.onFrame = onFrame;
|
|
488
510
|
exports.prefersReducedMotion = prefersReducedMotion;
|
|
511
|
+
exports.queryAttr = queryAttr;
|
|
489
512
|
exports.raf = raf;
|
|
490
513
|
exports.schedulerStats = schedulerStats;
|
|
491
514
|
exports.setAnimationBudget = setAnimationBudget;
|
|
@@ -495,4 +518,4 @@ exports.shadowStyles = shadowStyles;
|
|
|
495
518
|
exports.srText = srText;
|
|
496
519
|
exports.trackAnimation = trackAnimation;
|
|
497
520
|
exports.withoutDeprecations = withoutDeprecations;
|
|
498
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.0
|
|
521
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.1.0/dist/chunks/base-vu_KhBiv.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var base = require('./base-
|
|
3
|
+
var base = require('./base-vu_KhBiv.cjs');
|
|
4
4
|
var components_fxGenart = require('../components/fx-genart.cjs');
|
|
5
5
|
|
|
6
6
|
var css = "usa-bg-generator{display:block;max-width:100%;font:13px/1.3 system-ui,sans-serif;color:#0f172a}usa-bg-generator .usa-bg-preview{height:120px;border-radius:12px;box-shadow:inset 0 0 0 1px rgba(15,23,42,.1)}usa-bg-generator .usa-bg-controls{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:8px}usa-bg-generator label{display:inline-flex;gap:4px;align-items:center;font-weight:600}usa-bg-generator select,usa-bg-generator button{padding:5px 8px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;font:inherit;cursor:pointer}usa-bg-generator .usa-bg-copy{background:#4f46e5;border-color:#4f46e5;color:#fff}usa-bg-generator .usa-bg-code{display:block;margin-top:6px;padding:6px 8px;border-radius:7px;background:#0f172a;color:#e2e8f0;font:11px/1.4 ui-monospace,monospace;white-space:nowrap;overflow-x:auto}";
|
|
@@ -95,4 +95,4 @@ function defineBgGenerator(tag = 'usa-bg-generator') {
|
|
|
95
95
|
|
|
96
96
|
exports.backgroundCss = backgroundCss;
|
|
97
97
|
exports.defineBgGenerator = defineBgGenerator;
|
|
98
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.0
|
|
98
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.1.0/dist/chunks/bg-generator-Dncd000D.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as defineElement } from './base-
|
|
1
|
+
import { f as defineElement } from './base-nzeN_ux7.js';
|
|
2
2
|
import { PALETTES, meshGradient } from '../components/fx-genart.js';
|
|
3
3
|
|
|
4
4
|
var css = "usa-bg-generator{display:block;max-width:100%;font:13px/1.3 system-ui,sans-serif;color:#0f172a}usa-bg-generator .usa-bg-preview{height:120px;border-radius:12px;box-shadow:inset 0 0 0 1px rgba(15,23,42,.1)}usa-bg-generator .usa-bg-controls{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:8px}usa-bg-generator label{display:inline-flex;gap:4px;align-items:center;font-weight:600}usa-bg-generator select,usa-bg-generator button{padding:5px 8px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;font:inherit;cursor:pointer}usa-bg-generator .usa-bg-copy{background:#4f46e5;border-color:#4f46e5;color:#fff}usa-bg-generator .usa-bg-code{display:block;margin-top:6px;padding:6px 8px;border-radius:7px;background:#0f172a;color:#e2e8f0;font:11px/1.4 ui-monospace,monospace;white-space:nowrap;overflow-x:auto}";
|
|
@@ -92,4 +92,4 @@ function defineBgGenerator(tag = 'usa-bg-generator') {
|
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
export { backgroundCss as b, defineBgGenerator as d };
|
|
95
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.0
|
|
95
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.1.0/dist/chunks/bg-generator-Dxx3s2zQ.js.map
|
|
@@ -19,4 +19,4 @@ function bindUsa(el, binding = {}) {
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
export { bindUsa as b, usaEventName as u };
|
|
22
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.0
|
|
22
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.1.0/dist/chunks/bind-B_CTL6Qn.js.map
|
|
@@ -22,4 +22,4 @@ function bindUsa(el, binding = {}) {
|
|
|
22
22
|
|
|
23
23
|
exports.bindUsa = bindUsa;
|
|
24
24
|
exports.usaEventName = usaEventName;
|
|
25
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.0
|
|
25
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.1.0/dist/chunks/bind-Ui43-n2d.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var core = require('./core-
|
|
4
|
-
var fx = require('./fx-
|
|
3
|
+
var core = require('./core-E18xla6s.cjs');
|
|
4
|
+
var fx = require('./fx-lszndeFU.cjs');
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* 5.0 built-in effects, all registered through `registerEffect()`:
|
|
@@ -98,4 +98,4 @@ const click = [
|
|
|
98
98
|
const BUILTIN_EFFECTS = [...enter, ...attention, ...click];
|
|
99
99
|
|
|
100
100
|
exports.BUILTIN_EFFECTS = BUILTIN_EFFECTS;
|
|
101
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.0
|
|
101
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.1.0/dist/chunks/builtins-A9ihuDwy.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as TIMELINE_PRESETS } from './core-
|
|
2
|
-
import { b as burst, c as confetti, s as shake } from './fx-
|
|
1
|
+
import { T as TIMELINE_PRESETS } from './core-Bar7NFx7.js';
|
|
2
|
+
import { b as burst, c as confetti, s as shake } from './fx-qAVpKs8e.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* 5.0 built-in effects, all registered through `registerEffect()`:
|
|
@@ -96,4 +96,4 @@ const click = [
|
|
|
96
96
|
const BUILTIN_EFFECTS = [...enter, ...attention, ...click];
|
|
97
97
|
|
|
98
98
|
export { BUILTIN_EFFECTS as B };
|
|
99
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.0
|
|
99
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.1.0/dist/chunks/builtins-hBOeCPXL.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var base = require('./base-
|
|
4
|
-
var shared = require('./shared-
|
|
3
|
+
var base = require('./base-vu_KhBiv.cjs');
|
|
4
|
+
var shared = require('./shared-Bf72wLyt.cjs');
|
|
5
5
|
|
|
6
6
|
var css = "usa-carousel{display:block;position:relative;--usa-carousel-dur:520ms;--usa-carousel-ease:cubic-bezier(.22,1,.36,1);overflow:hidden;border-radius:var(--usa-radius,14px);touch-action:pan-y}.usa-carousel-viewport{position:relative;overflow:hidden;height:100%;min-height:inherit}.usa-carousel-track{display:flex;height:100%;transition:transform var(--usa-carousel-dur) var(--usa-carousel-ease);will-change:transform}.usa-carousel-track>*{flex:0 0 100%;min-width:0;box-sizing:border-box}usa-carousel:not([data-effect=\"slide\"]) .usa-carousel-track{display:grid}usa-carousel:not([data-effect=\"slide\"]) .usa-carousel-track>*{grid-area:1/1;transition:opacity var(--usa-carousel-dur) ease,transform var(--usa-carousel-dur) var(--usa-carousel-ease),filter var(--usa-carousel-dur) ease}usa-carousel[data-effect=\"cards\"] .usa-carousel-viewport{perspective:900px}usa-carousel[data-dragging] .usa-carousel-track,usa-carousel[data-dragging] .usa-carousel-track>*{transition:none}.usa-carousel-nav{position:absolute;top:50%;translate:0 -50%;z-index:2;width:36px;height:36px;border-radius:50%;border:0;background:rgba(255,255,255,.85);color:#111;font:600 18px/1 system-ui;cursor:pointer;display:grid;place-items:center;box-shadow:0 4px 14px rgba(0,0,0,.18);transition:transform .2s}.usa-carousel-nav:hover{transform:scale(1.08)}.usa-carousel-nav:focus-visible{outline:2px solid #7c5cff;outline-offset:2px}.usa-carousel-prev{left:10px}.usa-carousel-next{right:10px}.usa-carousel-dots{position:absolute;left:0;right:0;bottom:10px;display:flex;justify-content:center;gap:6px;z-index:2}.usa-carousel-dot{width:8px;height:8px;padding:0;border:0;border-radius:99px;background:rgba(255,255,255,.55);cursor:pointer;transition:width .35s var(--usa-carousel-ease),background .35s}.usa-carousel-dot[aria-current=\"true\"]{width:22px;background:#fff}@media (prefers-reduced-motion:reduce){usa-carousel .usa-carousel-track,usa-carousel .usa-carousel-track>*,.usa-carousel-dot{transition:none!important}}usa-carousel[data-reduced] .usa-carousel-track,usa-carousel[data-reduced] .usa-carousel-track>*{transition:none!important}";
|
|
7
7
|
|
|
@@ -197,4 +197,4 @@ function defineCarousel(tag = 'usa-carousel') {
|
|
|
197
197
|
|
|
198
198
|
exports.CAROUSEL_EFFECTS = CAROUSEL_EFFECTS;
|
|
199
199
|
exports.defineCarousel = defineCarousel;
|
|
200
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.0
|
|
200
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.1.0/dist/chunks/carousel-Blko8aKV.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as defineElement } from './base-
|
|
2
|
-
import { o as ownChildren, d as dropParts, p as part, c as clampN } from './shared-
|
|
1
|
+
import { f as defineElement } from './base-nzeN_ux7.js';
|
|
2
|
+
import { o as ownChildren, d as dropParts, p as part, c as clampN } from './shared-o9CtwHmi.js';
|
|
3
3
|
|
|
4
4
|
var css = "usa-carousel{display:block;position:relative;--usa-carousel-dur:520ms;--usa-carousel-ease:cubic-bezier(.22,1,.36,1);overflow:hidden;border-radius:var(--usa-radius,14px);touch-action:pan-y}.usa-carousel-viewport{position:relative;overflow:hidden;height:100%;min-height:inherit}.usa-carousel-track{display:flex;height:100%;transition:transform var(--usa-carousel-dur) var(--usa-carousel-ease);will-change:transform}.usa-carousel-track>*{flex:0 0 100%;min-width:0;box-sizing:border-box}usa-carousel:not([data-effect=\"slide\"]) .usa-carousel-track{display:grid}usa-carousel:not([data-effect=\"slide\"]) .usa-carousel-track>*{grid-area:1/1;transition:opacity var(--usa-carousel-dur) ease,transform var(--usa-carousel-dur) var(--usa-carousel-ease),filter var(--usa-carousel-dur) ease}usa-carousel[data-effect=\"cards\"] .usa-carousel-viewport{perspective:900px}usa-carousel[data-dragging] .usa-carousel-track,usa-carousel[data-dragging] .usa-carousel-track>*{transition:none}.usa-carousel-nav{position:absolute;top:50%;translate:0 -50%;z-index:2;width:36px;height:36px;border-radius:50%;border:0;background:rgba(255,255,255,.85);color:#111;font:600 18px/1 system-ui;cursor:pointer;display:grid;place-items:center;box-shadow:0 4px 14px rgba(0,0,0,.18);transition:transform .2s}.usa-carousel-nav:hover{transform:scale(1.08)}.usa-carousel-nav:focus-visible{outline:2px solid #7c5cff;outline-offset:2px}.usa-carousel-prev{left:10px}.usa-carousel-next{right:10px}.usa-carousel-dots{position:absolute;left:0;right:0;bottom:10px;display:flex;justify-content:center;gap:6px;z-index:2}.usa-carousel-dot{width:8px;height:8px;padding:0;border:0;border-radius:99px;background:rgba(255,255,255,.55);cursor:pointer;transition:width .35s var(--usa-carousel-ease),background .35s}.usa-carousel-dot[aria-current=\"true\"]{width:22px;background:#fff}@media (prefers-reduced-motion:reduce){usa-carousel .usa-carousel-track,usa-carousel .usa-carousel-track>*,.usa-carousel-dot{transition:none!important}}usa-carousel[data-reduced] .usa-carousel-track,usa-carousel[data-reduced] .usa-carousel-track>*{transition:none!important}";
|
|
5
5
|
|
|
@@ -194,4 +194,4 @@ function defineCarousel(tag = 'usa-carousel') {
|
|
|
194
194
|
}
|
|
195
195
|
|
|
196
196
|
export { CAROUSEL_EFFECTS as C, defineCarousel as d };
|
|
197
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.0
|
|
197
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.1.0/dist/chunks/carousel-DkQKWBK3.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as defineElement } from './base-
|
|
1
|
+
import { f as defineElement } from './base-nzeN_ux7.js';
|
|
2
2
|
|
|
3
3
|
var css = "usa-cart-drawer{position:relative;display:inline-block;font:500 13px/1.3 system-ui,sans-serif}.usa-cd2-toggle{position:relative;display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;background:var(--usa-cd2-btn,#f1f5f9);font-size:20px;cursor:pointer}.usa-cd2-badge{position:absolute;top:-2px;right:-2px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#ef4444;color:#fff;font:800 11px/18px system-ui,sans-serif;text-align:center}.usa-cd2-badge:empty{display:none}.usa-cd2-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:2147482000}.usa-cd2-panel{position:fixed;top:0;right:0;bottom:0;width:min(var(--usa-cd2-w,340px),92vw);display:flex;flex-direction:column;background:var(--usa-cd2-bg,#fff);color:#0f172a;box-shadow:-12px 0 40px -12px rgba(15,23,42,.4);z-index:2147482001;outline:none}.usa-cd2-panel header,.usa-cd2-panel footer{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid rgba(15,23,42,.08)}.usa-cd2-panel footer{border:0;border-top:1px solid rgba(15,23,42,.08);margin-top:auto;font-size:15px}.usa-cd2-close,.usa-cd2-rm{border:0;background:none;font-size:20px;line-height:1;cursor:pointer;color:inherit;opacity:.6}.usa-cd2-list{margin:0;padding:6px 8px;list-style:none;overflow:auto}.usa-cd2-item{display:grid;grid-template-columns:36px 1fr auto auto auto;align-items:center;gap:8px;padding:8px;border-radius:10px;overflow:hidden}.usa-cd2-item img,.usa-cd2-item i{width:36px;height:36px;border-radius:8px;object-fit:cover;background:linear-gradient(135deg,#a78bfa,#22d3ee)}.usa-cd2-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.usa-cd2-qty{opacity:.6}.usa-cd2-price,.usa-cd2-total{font-variant-numeric:tabular-nums;font-weight:700}.usa-cd2-empty{margin:24px;text-align:center;opacity:.55}.usa-cd2-panel[hidden],.usa-cd2-backdrop[hidden]{display:none}";
|
|
4
4
|
|
|
@@ -172,4 +172,4 @@ function defineCartDrawer(tag = 'usa-cart-drawer') {
|
|
|
172
172
|
}
|
|
173
173
|
|
|
174
174
|
export { cartTotal as c, defineCartDrawer as d };
|
|
175
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.0
|
|
175
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.1.0/dist/chunks/cart-drawer-CtX6EQRa.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var base = require('./base-
|
|
3
|
+
var base = require('./base-vu_KhBiv.cjs');
|
|
4
4
|
|
|
5
5
|
var css = "usa-cart-drawer{position:relative;display:inline-block;font:500 13px/1.3 system-ui,sans-serif}.usa-cd2-toggle{position:relative;display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;background:var(--usa-cd2-btn,#f1f5f9);font-size:20px;cursor:pointer}.usa-cd2-badge{position:absolute;top:-2px;right:-2px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#ef4444;color:#fff;font:800 11px/18px system-ui,sans-serif;text-align:center}.usa-cd2-badge:empty{display:none}.usa-cd2-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:2147482000}.usa-cd2-panel{position:fixed;top:0;right:0;bottom:0;width:min(var(--usa-cd2-w,340px),92vw);display:flex;flex-direction:column;background:var(--usa-cd2-bg,#fff);color:#0f172a;box-shadow:-12px 0 40px -12px rgba(15,23,42,.4);z-index:2147482001;outline:none}.usa-cd2-panel header,.usa-cd2-panel footer{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid rgba(15,23,42,.08)}.usa-cd2-panel footer{border:0;border-top:1px solid rgba(15,23,42,.08);margin-top:auto;font-size:15px}.usa-cd2-close,.usa-cd2-rm{border:0;background:none;font-size:20px;line-height:1;cursor:pointer;color:inherit;opacity:.6}.usa-cd2-list{margin:0;padding:6px 8px;list-style:none;overflow:auto}.usa-cd2-item{display:grid;grid-template-columns:36px 1fr auto auto auto;align-items:center;gap:8px;padding:8px;border-radius:10px;overflow:hidden}.usa-cd2-item img,.usa-cd2-item i{width:36px;height:36px;border-radius:8px;object-fit:cover;background:linear-gradient(135deg,#a78bfa,#22d3ee)}.usa-cd2-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.usa-cd2-qty{opacity:.6}.usa-cd2-price,.usa-cd2-total{font-variant-numeric:tabular-nums;font-weight:700}.usa-cd2-empty{margin:24px;text-align:center;opacity:.55}.usa-cd2-panel[hidden],.usa-cd2-backdrop[hidden]{display:none}";
|
|
6
6
|
|
|
@@ -175,4 +175,4 @@ function defineCartDrawer(tag = 'usa-cart-drawer') {
|
|
|
175
175
|
|
|
176
176
|
exports.cartTotal = cartTotal;
|
|
177
177
|
exports.defineCartDrawer = defineCartDrawer;
|
|
178
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.0
|
|
178
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.1.0/dist/chunks/cart-drawer-kyj9TlQC.cjs.map
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { f as defineElement } from './base-
|
|
1
|
+
import { f as defineElement, G as queryAttr } from './base-nzeN_ux7.js';
|
|
2
|
+
import { a as arrowIndex } from './shared-o9CtwHmi.js';
|
|
2
3
|
|
|
3
4
|
var css = "usa-code-export{display:block;max-width:100%;border-radius:12px;overflow:hidden;background:#0f172a;color:#e2e8f0;font:13px/1.4 system-ui,sans-serif}usa-code-export>:not([data-usa-part]){display:block;margin:12px auto}usa-code-export:not([for])>:not([data-usa-part]){padding:0 12px}usa-code-export .usa-ce-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 8px;background:#1e293b}usa-code-export [role=tablist]{display:flex;gap:2px}usa-code-export button{padding:5px 10px;border:0;border-radius:6px;background:none;color:#94a3b8;font:600 12px/1 system-ui,sans-serif;cursor:pointer}usa-code-export [aria-selected=true]{background:#334155;color:#fff}usa-code-export .usa-ce-copy{background:#4f46e5;color:#fff}usa-code-export button:focus-visible,usa-code-export pre:focus-visible{outline:2px solid #818cf8;outline-offset:1px}usa-code-export pre{margin:0;padding:10px 12px;max-height:220px;overflow:auto;font:12px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:pre;color:#e2e8f0;background:#0f172a}";
|
|
4
5
|
|
|
@@ -85,7 +86,7 @@ function defineCodeExport(tag = 'usa-code-export') {
|
|
|
85
86
|
}
|
|
86
87
|
src() {
|
|
87
88
|
const f = this.str('for');
|
|
88
|
-
return f ?
|
|
89
|
+
return f ? queryAttr(f) : this.querySelector(':scope > :not([data-usa-part])');
|
|
89
90
|
}
|
|
90
91
|
get format() {
|
|
91
92
|
return this._f;
|
|
@@ -120,10 +121,14 @@ function defineCodeExport(tag = 'usa-code-export') {
|
|
|
120
121
|
void this.copy();
|
|
121
122
|
});
|
|
122
123
|
this.listen(this, 'keydown', (e) => {
|
|
123
|
-
if (!e.target.closest?.('[role=tab]')
|
|
124
|
+
if (!e.target.closest?.('[role=tab]'))
|
|
124
125
|
return;
|
|
125
126
|
const l = this.fmts();
|
|
126
|
-
|
|
127
|
+
const j = arrowIndex(e, l.indexOf(this._f), l.length); // 13.1.0: Home / End too
|
|
128
|
+
if (j < 0)
|
|
129
|
+
return;
|
|
130
|
+
e.preventDefault();
|
|
131
|
+
this.format = l[j];
|
|
127
132
|
this.querySelector(`[data-f="${this._f}"]`)?.focus();
|
|
128
133
|
});
|
|
129
134
|
const s = this.src();
|
|
@@ -170,4 +175,4 @@ function defineCodeExport(tag = 'usa-code-export') {
|
|
|
170
175
|
}
|
|
171
176
|
|
|
172
177
|
export { describeComponent as a, defineCodeExport as d, exportComponent as e };
|
|
173
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.0
|
|
178
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.1.0/dist/chunks/code-export-B6b27ZiI.js.map
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var base = require('./base-
|
|
3
|
+
var base = require('./base-vu_KhBiv.cjs');
|
|
4
|
+
var shared = require('./shared-Bf72wLyt.cjs');
|
|
4
5
|
|
|
5
6
|
var css = "usa-code-export{display:block;max-width:100%;border-radius:12px;overflow:hidden;background:#0f172a;color:#e2e8f0;font:13px/1.4 system-ui,sans-serif}usa-code-export>:not([data-usa-part]){display:block;margin:12px auto}usa-code-export:not([for])>:not([data-usa-part]){padding:0 12px}usa-code-export .usa-ce-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 8px;background:#1e293b}usa-code-export [role=tablist]{display:flex;gap:2px}usa-code-export button{padding:5px 10px;border:0;border-radius:6px;background:none;color:#94a3b8;font:600 12px/1 system-ui,sans-serif;cursor:pointer}usa-code-export [aria-selected=true]{background:#334155;color:#fff}usa-code-export .usa-ce-copy{background:#4f46e5;color:#fff}usa-code-export button:focus-visible,usa-code-export pre:focus-visible{outline:2px solid #818cf8;outline-offset:1px}usa-code-export pre{margin:0;padding:10px 12px;max-height:220px;overflow:auto;font:12px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:pre;color:#e2e8f0;background:#0f172a}";
|
|
6
7
|
|
|
@@ -87,7 +88,7 @@ function defineCodeExport(tag = 'usa-code-export') {
|
|
|
87
88
|
}
|
|
88
89
|
src() {
|
|
89
90
|
const f = this.str('for');
|
|
90
|
-
return f ?
|
|
91
|
+
return f ? base.queryAttr(f) : this.querySelector(':scope > :not([data-usa-part])');
|
|
91
92
|
}
|
|
92
93
|
get format() {
|
|
93
94
|
return this._f;
|
|
@@ -122,10 +123,14 @@ function defineCodeExport(tag = 'usa-code-export') {
|
|
|
122
123
|
void this.copy();
|
|
123
124
|
});
|
|
124
125
|
this.listen(this, 'keydown', (e) => {
|
|
125
|
-
if (!e.target.closest?.('[role=tab]')
|
|
126
|
+
if (!e.target.closest?.('[role=tab]'))
|
|
126
127
|
return;
|
|
127
128
|
const l = this.fmts();
|
|
128
|
-
|
|
129
|
+
const j = shared.arrowIndex(e, l.indexOf(this._f), l.length); // 13.1.0: Home / End too
|
|
130
|
+
if (j < 0)
|
|
131
|
+
return;
|
|
132
|
+
e.preventDefault();
|
|
133
|
+
this.format = l[j];
|
|
129
134
|
this.querySelector(`[data-f="${this._f}"]`)?.focus();
|
|
130
135
|
});
|
|
131
136
|
const s = this.src();
|
|
@@ -174,4 +179,4 @@ function defineCodeExport(tag = 'usa-code-export') {
|
|
|
174
179
|
exports.defineCodeExport = defineCodeExport;
|
|
175
180
|
exports.describeComponent = describeComponent;
|
|
176
181
|
exports.exportComponent = exportComponent;
|
|
177
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.0
|
|
182
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.1.0/dist/chunks/code-export-DOioRmM9.cjs.map
|