motionary 13.0.2 → 13.2.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 +73 -0
- package/README.md +23 -20
- package/README_ja.md +21 -19
- package/README_zh.md +21 -19
- package/bin/motionary-mcp.mjs +4 -1
- package/dist/chunks/{anim-image-BBVnrt0Q.js → anim-image-CkPZi9xy.js} +2 -2
- package/dist/chunks/{anim-image-BYy2nHyc.cjs → anim-image-DYAMy6Ro.cjs} +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-DEgXh2qB.js → gl-scene-D3RfVD2b.js} +6 -3
- package/dist/chunks/{gl-scene-C4lLF0yP.cjs → gl-scene-DOjhIgPM.cjs} +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-st3Y9Y01.js → keyframes-d3LAxJoj.js} +2 -2
- package/dist/chunks/{keyframes-D0DdQthz.cjs → keyframes-ziUR42cM.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-DEmHpLFL.js → lottie-player-6OJJcioR.js} +3 -3
- package/dist/chunks/{lottie-player-tDCzOHCV.cjs → lottie-player-ByAeF8wJ.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-B-ubdzyT.cjs → physics-playground-CYNyKgTK.cjs} +3 -3
- package/dist/chunks/{physics-playground-IRiGB25g.js → physics-playground-d4CtxSoi.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-BpRcQEC5.js → registry-B8v7uubl.js} +2 -2
- package/dist/chunks/{registry-LE5iyTqw.cjs → registry-EziiQiWO.cjs} +2 -2
- package/dist/chunks/{registry-CP1MIOtI.cjs → registry-IdH145NL.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-Dv0W9Elh.cjs → runtime-link-Bq9F9pt8.cjs} +2 -2
- package/dist/chunks/{runtime-link-TwXAB9lk.js → runtime-link-cMIs3Y7z.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-CS_8f4tB.cjs → scroll-scene-DTCM6lnJ.cjs} +44 -9
- package/dist/chunks/{scroll-scene-CCs3rERo.js → scroll-scene-UcJFID_0.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-CbTuFTz0.js → ticker-CHi3Hcrt.js} +2 -2
- package/dist/chunks/{ticker-qpbJvWSb.cjs → ticker-Cytp8Fl8.cjs} +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-D30sTGVW.cjs → tween-DZiAFyyF.cjs} +2 -2
- package/dist/chunks/{tween-BW49KMKU.js → tween-Hh34tRXR.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 +4 -4
- package/dist/llms.txt +1 -1
- package/dist/manifest.json +89 -35
- 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/ROADMAP.md +1 -1
- 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-dotlottie.md +2 -2
- package/docs/components/usa-drawer.md +1 -1
- package/docs/components/usa-gl-model.md +2 -2
- 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-snap-carousel.md +2 -2
- 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/components.md +18 -2
- package/docs/contract-report.json +3 -3
- package/docs/performance.md +1 -1
- package/docs/presets.md +2 -2
- package/docs/release-gate.md +58 -0
- package/docs/versions.md +6 -0
- package/figma-plugin/code.js +5 -3
- package/figma-plugin/plugin-src.js +4 -2
- package/package.json +8 -3
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var base = require('./base-
|
|
4
|
-
var runtimeLink = require('./runtime-link-
|
|
5
|
-
var registry = require('./registry-
|
|
3
|
+
var base = require('./base-vu_KhBiv.cjs');
|
|
4
|
+
var runtimeLink = require('./runtime-link-Bq9F9pt8.cjs');
|
|
5
|
+
var registry = require('./registry-IdH145NL.cjs');
|
|
6
6
|
|
|
7
7
|
var css = "usa-scroll-scene{display:block;position:relative;max-width:100%;box-sizing:border-box}usa-scroll-scene [data-scrub]{will-change:transform,opacity}usa-scroll-scene .usa-rt-missing{margin:0 0 8px;padding:8px;border-radius:8px;background:#fef2f2;color:#991b1b;font:11px/1.4 ui-monospace,monospace;overflow-wrap:anywhere}";
|
|
8
8
|
|
|
@@ -26,10 +26,31 @@ function defineScrollScene(tag = 'usa-scroll-scene') {
|
|
|
26
26
|
super(...arguments);
|
|
27
27
|
this.scene = null;
|
|
28
28
|
this.tl = null;
|
|
29
|
+
// 13.1.0: `pin` wraps this element in a spacer (and unwraps it on kill) — that move fires disconnected / connected,
|
|
30
|
+
// which tore the half-built scene down without killing it and mounted a second one inside the first (44 scenes and
|
|
31
|
+
// their scroll / resize listeners leaked per re-mount). Moves made by the scene itself are ignored.
|
|
32
|
+
this._moving = false;
|
|
29
33
|
}
|
|
30
34
|
static get observedAttributes() {
|
|
31
35
|
return ['start', 'end', 'scrub', 'pin', 'markers', 'stagger', 'toggle-class', 'preview'];
|
|
32
36
|
}
|
|
37
|
+
moving(fn) {
|
|
38
|
+
this._moving = true;
|
|
39
|
+
try {
|
|
40
|
+
return fn();
|
|
41
|
+
}
|
|
42
|
+
finally {
|
|
43
|
+
this._moving = false;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
connectedCallback() {
|
|
47
|
+
if (!this._moving)
|
|
48
|
+
Base.prototype.connectedCallback.call(this);
|
|
49
|
+
}
|
|
50
|
+
disconnectedCallback() {
|
|
51
|
+
if (!this._moving)
|
|
52
|
+
Base.prototype.disconnectedCallback.call(this);
|
|
53
|
+
}
|
|
33
54
|
get progress() {
|
|
34
55
|
return this.scene?.progress ?? 0;
|
|
35
56
|
}
|
|
@@ -67,10 +88,22 @@ function defineScrollScene(tag = 'usa-scroll-scene') {
|
|
|
67
88
|
this.setAttribute('data-preview', '');
|
|
68
89
|
return;
|
|
69
90
|
}
|
|
70
|
-
|
|
91
|
+
// 13.1.0: an invalid start / end attribute falls back to the documented default (it threw and leaked the scene)
|
|
92
|
+
const edge = (name, d) => {
|
|
93
|
+
const v = this.str(name, d);
|
|
94
|
+
try {
|
|
95
|
+
sc.resolveRule(v, 0, 0, 0);
|
|
96
|
+
return v;
|
|
97
|
+
}
|
|
98
|
+
catch {
|
|
99
|
+
console.warn(`[motionary] <${this.localName}>: invalid ${name}="${v}" — using "${d}"`);
|
|
100
|
+
return d;
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
this.scene = this.moving(() => sc.scrollScene({
|
|
71
104
|
trigger: this,
|
|
72
|
-
start:
|
|
73
|
-
end: this.str('end', 'bottom 35%'),
|
|
105
|
+
start: edge('start', 'top 85%'),
|
|
106
|
+
end: /^\s*\+=/.test(this.str('end')) ? this.str('end') : edge('end', 'bottom 35%'),
|
|
74
107
|
scrub,
|
|
75
108
|
pin: this.flag('pin'),
|
|
76
109
|
markers: this.flag('markers'),
|
|
@@ -79,9 +112,11 @@ function defineScrollScene(tag = 'usa-scroll-scene') {
|
|
|
79
112
|
onEnter: () => this.emit('enter'),
|
|
80
113
|
onLeave: () => this.emit('leave'),
|
|
81
114
|
onUpdate: (s) => this.emit('progress', { progress: s.progress }),
|
|
82
|
-
});
|
|
115
|
+
}));
|
|
83
116
|
this.onCleanup(() => {
|
|
84
|
-
this.scene
|
|
117
|
+
const scene = this.scene;
|
|
118
|
+
if (scene)
|
|
119
|
+
this.moving(() => scene.kill());
|
|
85
120
|
this.scene = null;
|
|
86
121
|
tl.kill();
|
|
87
122
|
});
|
|
@@ -93,4 +128,4 @@ function defineScrollScene(tag = 'usa-scroll-scene') {
|
|
|
93
128
|
|
|
94
129
|
exports.defineScrollScene = defineScrollScene;
|
|
95
130
|
exports.parseScrub = parseScrub;
|
|
96
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.0
|
|
131
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.2.0/dist/chunks/scroll-scene-DTCM6lnJ.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { f as defineElement } from './base-
|
|
2
|
-
import { r as runtimeModule } from './runtime-link-
|
|
3
|
-
import { r as requireModule } from './registry-
|
|
1
|
+
import { f as defineElement } from './base-nzeN_ux7.js';
|
|
2
|
+
import { r as runtimeModule } from './runtime-link-cMIs3Y7z.js';
|
|
3
|
+
import { r as requireModule } from './registry-B8v7uubl.js';
|
|
4
4
|
|
|
5
5
|
var css = "usa-scroll-scene{display:block;position:relative;max-width:100%;box-sizing:border-box}usa-scroll-scene [data-scrub]{will-change:transform,opacity}usa-scroll-scene .usa-rt-missing{margin:0 0 8px;padding:8px;border-radius:8px;background:#fef2f2;color:#991b1b;font:11px/1.4 ui-monospace,monospace;overflow-wrap:anywhere}";
|
|
6
6
|
|
|
@@ -24,10 +24,31 @@ function defineScrollScene(tag = 'usa-scroll-scene') {
|
|
|
24
24
|
super(...arguments);
|
|
25
25
|
this.scene = null;
|
|
26
26
|
this.tl = null;
|
|
27
|
+
// 13.1.0: `pin` wraps this element in a spacer (and unwraps it on kill) — that move fires disconnected / connected,
|
|
28
|
+
// which tore the half-built scene down without killing it and mounted a second one inside the first (44 scenes and
|
|
29
|
+
// their scroll / resize listeners leaked per re-mount). Moves made by the scene itself are ignored.
|
|
30
|
+
this._moving = false;
|
|
27
31
|
}
|
|
28
32
|
static get observedAttributes() {
|
|
29
33
|
return ['start', 'end', 'scrub', 'pin', 'markers', 'stagger', 'toggle-class', 'preview'];
|
|
30
34
|
}
|
|
35
|
+
moving(fn) {
|
|
36
|
+
this._moving = true;
|
|
37
|
+
try {
|
|
38
|
+
return fn();
|
|
39
|
+
}
|
|
40
|
+
finally {
|
|
41
|
+
this._moving = false;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
connectedCallback() {
|
|
45
|
+
if (!this._moving)
|
|
46
|
+
Base.prototype.connectedCallback.call(this);
|
|
47
|
+
}
|
|
48
|
+
disconnectedCallback() {
|
|
49
|
+
if (!this._moving)
|
|
50
|
+
Base.prototype.disconnectedCallback.call(this);
|
|
51
|
+
}
|
|
31
52
|
get progress() {
|
|
32
53
|
return this.scene?.progress ?? 0;
|
|
33
54
|
}
|
|
@@ -65,10 +86,22 @@ function defineScrollScene(tag = 'usa-scroll-scene') {
|
|
|
65
86
|
this.setAttribute('data-preview', '');
|
|
66
87
|
return;
|
|
67
88
|
}
|
|
68
|
-
|
|
89
|
+
// 13.1.0: an invalid start / end attribute falls back to the documented default (it threw and leaked the scene)
|
|
90
|
+
const edge = (name, d) => {
|
|
91
|
+
const v = this.str(name, d);
|
|
92
|
+
try {
|
|
93
|
+
sc.resolveRule(v, 0, 0, 0);
|
|
94
|
+
return v;
|
|
95
|
+
}
|
|
96
|
+
catch {
|
|
97
|
+
console.warn(`[motionary] <${this.localName}>: invalid ${name}="${v}" — using "${d}"`);
|
|
98
|
+
return d;
|
|
99
|
+
}
|
|
100
|
+
};
|
|
101
|
+
this.scene = this.moving(() => sc.scrollScene({
|
|
69
102
|
trigger: this,
|
|
70
|
-
start:
|
|
71
|
-
end: this.str('end', 'bottom 35%'),
|
|
103
|
+
start: edge('start', 'top 85%'),
|
|
104
|
+
end: /^\s*\+=/.test(this.str('end')) ? this.str('end') : edge('end', 'bottom 35%'),
|
|
72
105
|
scrub,
|
|
73
106
|
pin: this.flag('pin'),
|
|
74
107
|
markers: this.flag('markers'),
|
|
@@ -77,9 +110,11 @@ function defineScrollScene(tag = 'usa-scroll-scene') {
|
|
|
77
110
|
onEnter: () => this.emit('enter'),
|
|
78
111
|
onLeave: () => this.emit('leave'),
|
|
79
112
|
onUpdate: (s) => this.emit('progress', { progress: s.progress }),
|
|
80
|
-
});
|
|
113
|
+
}));
|
|
81
114
|
this.onCleanup(() => {
|
|
82
|
-
this.scene
|
|
115
|
+
const scene = this.scene;
|
|
116
|
+
if (scene)
|
|
117
|
+
this.moving(() => scene.kill());
|
|
83
118
|
this.scene = null;
|
|
84
119
|
tl.kill();
|
|
85
120
|
});
|
|
@@ -90,4 +125,4 @@ function defineScrollScene(tag = 'usa-scroll-scene') {
|
|
|
90
125
|
}
|
|
91
126
|
|
|
92
127
|
export { defineScrollScene as d, parseScrub as p };
|
|
93
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.0
|
|
128
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.2.0/dist/chunks/scroll-scene-UcJFID_0.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-segmented{--usa-seg-c:#7c5cff;position:relative;display:inline-flex;align-items:stretch;padding:3px;border-radius:12px;background:rgba(127,127,127,.16);isolation:isolate;max-width:100%;font:600 13px/1 system-ui,sans-serif}.usa-seg-thumb{position:absolute;top:3px;bottom:3px;left:3px;z-index:-1;border-radius:9px;background:var(--usa-seg-thumb,#fff);box-shadow:0 2px 8px rgba(0,0,0,.18),0 0 0 .5px rgba(0,0,0,.05);transform-origin:50% 50%}usa-segmented[data-variant=\"pill\"]{border-radius:999px}usa-segmented[data-variant=\"pill\"] .usa-seg-thumb{border-radius:999px;background:var(--usa-seg-c)}usa-segmented[data-variant=\"pill\"] .usa-seg-item[data-selected]{color:#fff}usa-segmented[data-variant=\"outline\"]{background:none;box-shadow:inset 0 0 0 1.5px rgba(127,127,127,.35)}usa-segmented[data-variant=\"outline\"] .usa-seg-thumb{background:none;box-shadow:inset 0 0 0 2px var(--usa-seg-c)}.usa-seg-item{flex:1 1 0;min-width:0;padding:8px 14px;border:0;border-radius:9px;background:none;color:inherit;font:inherit;white-space:nowrap;cursor:pointer;opacity:.7;transition:opacity .2s,transform .25s cubic-bezier(.3,1.4,.5,1),color .2s}.usa-seg-item[data-selected]{opacity:1;transform:scale(1.04)}.usa-seg-item:focus-visible{outline:2px solid var(--usa-seg-c);outline-offset:1px}@media (max-width:420px){.usa-seg-item{padding:8px 9px}}@media (prefers-reduced-motion:reduce){.usa-seg-item{transition:none}}";
|
|
7
7
|
|
|
@@ -86,6 +86,13 @@ function defineSegmented(tag = 'usa-segmented') {
|
|
|
86
86
|
const sx = from.w / (s.offsetWidth || 1);
|
|
87
87
|
this.motion(t, [{ transform: `translateX(${dx}px) scaleX(${sx})` }, { transform: `translateX(${dx * 0.35}px) scaleX(${Math.max(sx, 1) * 1.18}) scaleY(.88)`, offset: 0.45 }, { transform: 'none' }], { duration: 430, easing: 'cubic-bezier(.3,1.25,.5,1)' });
|
|
88
88
|
}
|
|
89
|
+
changed(name) {
|
|
90
|
+
// 13.1.0: `value` is observed — setting it selects that segment (a re-mount kept the previous selection)
|
|
91
|
+
if (name === 'value')
|
|
92
|
+
this.select(this.num('value', 0), false);
|
|
93
|
+
else
|
|
94
|
+
super.changed(name);
|
|
95
|
+
}
|
|
89
96
|
select(i, user) {
|
|
90
97
|
const v = shared.clampN(i | 0, 0, Math.max(0, this._segs.length - 1));
|
|
91
98
|
if (v === this._v)
|
|
@@ -102,4 +109,4 @@ function defineSegmented(tag = 'usa-segmented') {
|
|
|
102
109
|
|
|
103
110
|
exports.SEGMENTED_VARIANTS = SEGMENTED_VARIANTS;
|
|
104
111
|
exports.defineSegmented = defineSegmented;
|
|
105
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.0
|
|
112
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.2.0/dist/chunks/segmented-CbZtwChW.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as defineElement } from './base-
|
|
2
|
-
import { o as ownChildren, c as clampN, a as arrowIndex } from './shared-
|
|
1
|
+
import { f as defineElement } from './base-nzeN_ux7.js';
|
|
2
|
+
import { o as ownChildren, c as clampN, a as arrowIndex } from './shared-o9CtwHmi.js';
|
|
3
3
|
|
|
4
4
|
var css = "usa-segmented{--usa-seg-c:#7c5cff;position:relative;display:inline-flex;align-items:stretch;padding:3px;border-radius:12px;background:rgba(127,127,127,.16);isolation:isolate;max-width:100%;font:600 13px/1 system-ui,sans-serif}.usa-seg-thumb{position:absolute;top:3px;bottom:3px;left:3px;z-index:-1;border-radius:9px;background:var(--usa-seg-thumb,#fff);box-shadow:0 2px 8px rgba(0,0,0,.18),0 0 0 .5px rgba(0,0,0,.05);transform-origin:50% 50%}usa-segmented[data-variant=\"pill\"]{border-radius:999px}usa-segmented[data-variant=\"pill\"] .usa-seg-thumb{border-radius:999px;background:var(--usa-seg-c)}usa-segmented[data-variant=\"pill\"] .usa-seg-item[data-selected]{color:#fff}usa-segmented[data-variant=\"outline\"]{background:none;box-shadow:inset 0 0 0 1.5px rgba(127,127,127,.35)}usa-segmented[data-variant=\"outline\"] .usa-seg-thumb{background:none;box-shadow:inset 0 0 0 2px var(--usa-seg-c)}.usa-seg-item{flex:1 1 0;min-width:0;padding:8px 14px;border:0;border-radius:9px;background:none;color:inherit;font:inherit;white-space:nowrap;cursor:pointer;opacity:.7;transition:opacity .2s,transform .25s cubic-bezier(.3,1.4,.5,1),color .2s}.usa-seg-item[data-selected]{opacity:1;transform:scale(1.04)}.usa-seg-item:focus-visible{outline:2px solid var(--usa-seg-c);outline-offset:1px}@media (max-width:420px){.usa-seg-item{padding:8px 9px}}@media (prefers-reduced-motion:reduce){.usa-seg-item{transition:none}}";
|
|
5
5
|
|
|
@@ -84,6 +84,13 @@ function defineSegmented(tag = 'usa-segmented') {
|
|
|
84
84
|
const sx = from.w / (s.offsetWidth || 1);
|
|
85
85
|
this.motion(t, [{ transform: `translateX(${dx}px) scaleX(${sx})` }, { transform: `translateX(${dx * 0.35}px) scaleX(${Math.max(sx, 1) * 1.18}) scaleY(.88)`, offset: 0.45 }, { transform: 'none' }], { duration: 430, easing: 'cubic-bezier(.3,1.25,.5,1)' });
|
|
86
86
|
}
|
|
87
|
+
changed(name) {
|
|
88
|
+
// 13.1.0: `value` is observed — setting it selects that segment (a re-mount kept the previous selection)
|
|
89
|
+
if (name === 'value')
|
|
90
|
+
this.select(this.num('value', 0), false);
|
|
91
|
+
else
|
|
92
|
+
super.changed(name);
|
|
93
|
+
}
|
|
87
94
|
select(i, user) {
|
|
88
95
|
const v = clampN(i | 0, 0, Math.max(0, this._segs.length - 1));
|
|
89
96
|
if (v === this._v)
|
|
@@ -99,4 +106,4 @@ function defineSegmented(tag = 'usa-segmented') {
|
|
|
99
106
|
}
|
|
100
107
|
|
|
101
108
|
export { SEGMENTED_VARIANTS as S, defineSegmented as d };
|
|
102
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.0
|
|
109
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.2.0/dist/chunks/segmented-DHBqMcAF.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-shader-backdrop{position:relative;display:block;isolation:isolate;overflow:hidden;min-height:120px;background:var(--usa-sb-fallback,linear-gradient(135deg,#1e1b4b,#22d3ee,#a855f7))}usa-shader-backdrop>.usa-sb-canvas{position:absolute;inset:0;z-index:-1;width:100%;height:100%;display:block}usa-shader-backdrop>script{display:none}";
|
|
6
6
|
|
|
@@ -160,4 +160,4 @@ function defineShaderBackdrop(tag = 'usa-shader-backdrop') {
|
|
|
160
160
|
exports.BACKDROP_PRESETS = BACKDROP_PRESETS;
|
|
161
161
|
exports.POST_PASSES = POST_PASSES;
|
|
162
162
|
exports.defineShaderBackdrop = defineShaderBackdrop;
|
|
163
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.0
|
|
163
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.2.0/dist/chunks/shader-backdrop-DT1h5Zoc.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-shader-backdrop{position:relative;display:block;isolation:isolate;overflow:hidden;min-height:120px;background:var(--usa-sb-fallback,linear-gradient(135deg,#1e1b4b,#22d3ee,#a855f7))}usa-shader-backdrop>.usa-sb-canvas{position:absolute;inset:0;z-index:-1;width:100%;height:100%;display:block}usa-shader-backdrop>script{display:none}";
|
|
4
4
|
|
|
@@ -156,4 +156,4 @@ function defineShaderBackdrop(tag = 'usa-shader-backdrop') {
|
|
|
156
156
|
}
|
|
157
157
|
|
|
158
158
|
export { BACKDROP_PRESETS as B, POST_PASSES as P, defineShaderBackdrop as d };
|
|
159
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.0
|
|
159
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.2.0/dist/chunks/shader-backdrop-rrssjdMI.js.map
|
|
@@ -34,11 +34,22 @@ function arrowIndex(e, i, n, vertical = false) {
|
|
|
34
34
|
return n - 1;
|
|
35
35
|
return -1;
|
|
36
36
|
}
|
|
37
|
+
/** A `locale` attribute as a valid BCP 47 tag, or `undefined` (the user's locale) when it is not one (13.1.0: an
|
|
38
|
+
* invalid tag threw a RangeError from Intl / toLocale*String instead of falling back). */
|
|
39
|
+
function localeAttr(tag) {
|
|
40
|
+
try {
|
|
41
|
+
return tag ? Intl.getCanonicalLocales(tag)[0] : undefined;
|
|
42
|
+
}
|
|
43
|
+
catch {
|
|
44
|
+
return undefined;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
37
47
|
|
|
38
48
|
exports.arrowIndex = arrowIndex;
|
|
39
49
|
exports.clampN = clampN;
|
|
40
50
|
exports.dropParts = dropParts;
|
|
51
|
+
exports.localeAttr = localeAttr;
|
|
41
52
|
exports.nextId = nextId;
|
|
42
53
|
exports.ownChildren = ownChildren;
|
|
43
54
|
exports.part = part;
|
|
44
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.0
|
|
55
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.2.0/dist/chunks/shared-Bf72wLyt.cjs.map
|
|
@@ -47,4 +47,4 @@ const rand = (a, b) => a + Math.random() * (b - a);
|
|
|
47
47
|
const all = (anims) => Promise.all(anims.filter(Boolean).map((a) => a.finished.catch(() => undefined)));
|
|
48
48
|
|
|
49
49
|
export { PALETTE as P, all as a, origin as b, fxLayer as f, overlay as o, rand as r, spawn as s };
|
|
50
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.0
|
|
50
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.2.0/dist/chunks/shared-CkKHWrtJ.js.map
|
|
@@ -55,4 +55,4 @@ exports.origin = origin;
|
|
|
55
55
|
exports.overlay = overlay;
|
|
56
56
|
exports.rand = rand;
|
|
57
57
|
exports.spawn = spawn;
|
|
58
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.0
|
|
58
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.2.0/dist/chunks/shared-jkgRH-Hx.cjs.map
|
|
@@ -32,6 +32,16 @@ function arrowIndex(e, i, n, vertical = false) {
|
|
|
32
32
|
return n - 1;
|
|
33
33
|
return -1;
|
|
34
34
|
}
|
|
35
|
+
/** A `locale` attribute as a valid BCP 47 tag, or `undefined` (the user's locale) when it is not one (13.1.0: an
|
|
36
|
+
* invalid tag threw a RangeError from Intl / toLocale*String instead of falling back). */
|
|
37
|
+
function localeAttr(tag) {
|
|
38
|
+
try {
|
|
39
|
+
return tag ? Intl.getCanonicalLocales(tag)[0] : undefined;
|
|
40
|
+
}
|
|
41
|
+
catch {
|
|
42
|
+
return undefined;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
35
45
|
|
|
36
|
-
export { arrowIndex as a, clampN as c, dropParts as d, nextId as n, ownChildren as o, part as p };
|
|
37
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.0
|
|
46
|
+
export { arrowIndex as a, clampN as c, dropParts as d, localeAttr as l, nextId as n, ownChildren as o, part as p };
|
|
47
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.2.0/dist/chunks/shared-o9CtwHmi.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-modal,usa-sheet{display:contents}.usa-ov{border:0;padding:0;margin:auto;color:inherit;background:transparent;max-width:min(92vw,520px);max-height:88vh;overflow:visible}.usa-ov::backdrop{background:rgba(10,12,20,.45);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.usa-ov-body{box-sizing:border-box;background:var(--usa-ov-bg,#fff);color:var(--usa-ov-fg,#111827);border-radius:var(--usa-ov-radius,18px);padding:var(--usa-ov-pad,22px);box-shadow:0 30px 80px -20px rgba(0,0,0,.45);max-height:88vh;overflow:auto}.usa-sheet-panel{margin:0;max-width:none;max-height:none}usa-sheet[data-side=\"right\"] .usa-sheet-panel{inset:0 0 0 auto;height:100%;width:min(88vw,var(--usa-sheet-size,380px))}usa-sheet[data-side=\"left\"] .usa-sheet-panel{inset:0 auto 0 0;height:100%;width:min(88vw,var(--usa-sheet-size,380px))}usa-sheet[data-side=\"bottom\"] .usa-sheet-panel{inset:auto 0 0 0;width:100%;max-height:85vh}usa-sheet[data-side=\"top\"] .usa-sheet-panel{inset:0 0 auto 0;width:100%;max-height:85vh}usa-sheet .usa-ov-body{height:100%;max-height:inherit;border-radius:0}usa-sheet[data-side=\"bottom\"] .usa-ov-body{border-radius:var(--usa-ov-radius,18px) var(--usa-ov-radius,18px) 0 0;height:auto;max-height:85vh;touch-action:none}usa-sheet[data-side=\"top\"] .usa-ov-body{border-radius:0 0 var(--usa-ov-radius,18px) var(--usa-ov-radius,18px);height:auto}.usa-ov-grab{width:44px;height:5px;border-radius:3px;background:rgba(127,127,127,.45);margin:-8px auto 14px;cursor:grab}@media (prefers-color-scheme:dark){.usa-ov-body{background:var(--usa-ov-bg,#171a23);color:var(--usa-ov-fg,#e5e7eb)}}";
|
|
7
7
|
|
|
@@ -148,7 +148,8 @@ function defineOverlay(tag, kind) {
|
|
|
148
148
|
return opening ? f : [f[0], f[f.length - 1]].reverse();
|
|
149
149
|
}
|
|
150
150
|
backdrop(opening) {
|
|
151
|
-
|
|
151
|
+
// 13.1.0: motion sensitivity "static" means no animation at all — the backdrop just appears
|
|
152
|
+
if (!this._dlg || base.getMotionSensitivity() === 'static')
|
|
152
153
|
return;
|
|
153
154
|
const k = [{ opacity: 0 }, { opacity: 1 }];
|
|
154
155
|
try {
|
|
@@ -263,4 +264,4 @@ exports.SHEET_SIDES = SHEET_SIDES;
|
|
|
263
264
|
exports.defineModal = defineModal;
|
|
264
265
|
exports.defineSheet = defineSheet;
|
|
265
266
|
exports.delegateTriggers = delegateTriggers;
|
|
266
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.0
|
|
267
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.2.0/dist/chunks/sheet-NsPexafP.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as defineElement } from './base-
|
|
2
|
-
import { p as part, o as ownChildren } from './shared-
|
|
1
|
+
import { f as defineElement, g as getMotionSensitivity } from './base-nzeN_ux7.js';
|
|
2
|
+
import { p as part, o as ownChildren } from './shared-o9CtwHmi.js';
|
|
3
3
|
|
|
4
4
|
var css = "usa-modal,usa-sheet{display:contents}.usa-ov{border:0;padding:0;margin:auto;color:inherit;background:transparent;max-width:min(92vw,520px);max-height:88vh;overflow:visible}.usa-ov::backdrop{background:rgba(10,12,20,.45);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.usa-ov-body{box-sizing:border-box;background:var(--usa-ov-bg,#fff);color:var(--usa-ov-fg,#111827);border-radius:var(--usa-ov-radius,18px);padding:var(--usa-ov-pad,22px);box-shadow:0 30px 80px -20px rgba(0,0,0,.45);max-height:88vh;overflow:auto}.usa-sheet-panel{margin:0;max-width:none;max-height:none}usa-sheet[data-side=\"right\"] .usa-sheet-panel{inset:0 0 0 auto;height:100%;width:min(88vw,var(--usa-sheet-size,380px))}usa-sheet[data-side=\"left\"] .usa-sheet-panel{inset:0 auto 0 0;height:100%;width:min(88vw,var(--usa-sheet-size,380px))}usa-sheet[data-side=\"bottom\"] .usa-sheet-panel{inset:auto 0 0 0;width:100%;max-height:85vh}usa-sheet[data-side=\"top\"] .usa-sheet-panel{inset:0 0 auto 0;width:100%;max-height:85vh}usa-sheet .usa-ov-body{height:100%;max-height:inherit;border-radius:0}usa-sheet[data-side=\"bottom\"] .usa-ov-body{border-radius:var(--usa-ov-radius,18px) var(--usa-ov-radius,18px) 0 0;height:auto;max-height:85vh;touch-action:none}usa-sheet[data-side=\"top\"] .usa-ov-body{border-radius:0 0 var(--usa-ov-radius,18px) var(--usa-ov-radius,18px);height:auto}.usa-ov-grab{width:44px;height:5px;border-radius:3px;background:rgba(127,127,127,.45);margin:-8px auto 14px;cursor:grab}@media (prefers-color-scheme:dark){.usa-ov-body{background:var(--usa-ov-bg,#171a23);color:var(--usa-ov-fg,#e5e7eb)}}";
|
|
5
5
|
|
|
@@ -146,7 +146,8 @@ function defineOverlay(tag, kind) {
|
|
|
146
146
|
return opening ? f : [f[0], f[f.length - 1]].reverse();
|
|
147
147
|
}
|
|
148
148
|
backdrop(opening) {
|
|
149
|
-
|
|
149
|
+
// 13.1.0: motion sensitivity "static" means no animation at all — the backdrop just appears
|
|
150
|
+
if (!this._dlg || getMotionSensitivity() === 'static')
|
|
150
151
|
return;
|
|
151
152
|
const k = [{ opacity: 0 }, { opacity: 1 }];
|
|
152
153
|
try {
|
|
@@ -257,4 +258,4 @@ const defineModal = (tag = 'usa-modal') => defineOverlay(tag, 'modal');
|
|
|
257
258
|
const defineSheet = (tag = 'usa-sheet') => defineOverlay(tag, 'sheet');
|
|
258
259
|
|
|
259
260
|
export { MODAL_EFFECTS as M, SHEET_SIDES as S, defineModal as a, delegateTriggers as b, defineSheet as d };
|
|
260
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.0
|
|
261
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.2.0/dist/chunks/sheet-YRq-IOIr.js.map
|
|
@@ -99,4 +99,4 @@ function checkCompat(manifest, version) {
|
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
export { checkCompat as c, pluginIntegrity as p, satisfies as s, verifyPlugin as v };
|
|
102
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.0
|
|
102
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.2.0/dist/chunks/sign-DvZ1jHxE.js.map
|
|
@@ -104,4 +104,4 @@ exports.checkCompat = checkCompat;
|
|
|
104
104
|
exports.pluginIntegrity = pluginIntegrity;
|
|
105
105
|
exports.satisfies = satisfies;
|
|
106
106
|
exports.verifyPlugin = verifyPlugin;
|
|
107
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.0
|
|
107
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.2.0/dist/chunks/sign-RAkQIWrM.cjs.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-skeleton-reveal{position:relative;display:block;--usa-sk-base:rgba(127,127,127,.16);--usa-sk-hi:rgba(255,255,255,.55)}usa-skeleton-reveal[data-loading]>:not(.usa-sk-layer){visibility:hidden}.usa-sk-layer{position:absolute;inset:0;pointer-events:none}.usa-sk-box{position:absolute;border-radius:6px;background:var(--usa-sk-base);overflow:hidden}usa-skeleton-reveal[data-variant=\"wave\"] .usa-sk-box{background:linear-gradient(100deg,var(--usa-sk-base) 30%,var(--usa-sk-hi) 50%,var(--usa-sk-base) 70%) var(--usa-sk-x,0) 0/var(--usa-sk-w,600px) 100% no-repeat,var(--usa-sk-base);animation:usa-sk-wave 1.4s linear infinite}usa-skeleton-reveal[data-variant=\"pulse\"] .usa-sk-box{animation:usa-sk-pulse 1.2s ease-in-out infinite alternate}usa-skeleton-reveal[data-variant=\"glow\"] .usa-sk-box{animation:usa-sk-glow 1.6s ease-in-out infinite alternate}@keyframes usa-sk-wave{from{background-position:calc(var(--usa-sk-x,0px) - var(--usa-sk-w,600px)) 0,0 0}to{background-position:calc(var(--usa-sk-x,0px) + var(--usa-sk-w,600px)) 0,0 0}}@keyframes usa-sk-pulse{from{opacity:1}to{opacity:.45}}@keyframes usa-sk-glow{from{box-shadow:0 0 0 rgba(124,92,255,0)}to{box-shadow:0 0 14px rgba(124,92,255,.45);background:rgba(124,92,255,.22)}}@media (prefers-color-scheme:dark){usa-skeleton-reveal{--usa-sk-hi:rgba(255,255,255,.16)}}@media (prefers-reduced-motion:reduce){.usa-sk-box{animation:none!important}}";
|
|
7
7
|
|
|
@@ -123,4 +123,4 @@ function defineSkeletonReveal(tag = 'usa-skeleton-reveal') {
|
|
|
123
123
|
|
|
124
124
|
exports.SKELETON_VARIANTS = SKELETON_VARIANTS;
|
|
125
125
|
exports.defineSkeletonReveal = defineSkeletonReveal;
|
|
126
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.0
|
|
126
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.2.0/dist/chunks/skeleton-reveal-DfH6IiUG.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as defineElement } from './base-
|
|
2
|
-
import { p as part } from './shared-
|
|
1
|
+
import { f as defineElement } from './base-nzeN_ux7.js';
|
|
2
|
+
import { p as part } from './shared-o9CtwHmi.js';
|
|
3
3
|
|
|
4
4
|
var css = "usa-skeleton-reveal{position:relative;display:block;--usa-sk-base:rgba(127,127,127,.16);--usa-sk-hi:rgba(255,255,255,.55)}usa-skeleton-reveal[data-loading]>:not(.usa-sk-layer){visibility:hidden}.usa-sk-layer{position:absolute;inset:0;pointer-events:none}.usa-sk-box{position:absolute;border-radius:6px;background:var(--usa-sk-base);overflow:hidden}usa-skeleton-reveal[data-variant=\"wave\"] .usa-sk-box{background:linear-gradient(100deg,var(--usa-sk-base) 30%,var(--usa-sk-hi) 50%,var(--usa-sk-base) 70%) var(--usa-sk-x,0) 0/var(--usa-sk-w,600px) 100% no-repeat,var(--usa-sk-base);animation:usa-sk-wave 1.4s linear infinite}usa-skeleton-reveal[data-variant=\"pulse\"] .usa-sk-box{animation:usa-sk-pulse 1.2s ease-in-out infinite alternate}usa-skeleton-reveal[data-variant=\"glow\"] .usa-sk-box{animation:usa-sk-glow 1.6s ease-in-out infinite alternate}@keyframes usa-sk-wave{from{background-position:calc(var(--usa-sk-x,0px) - var(--usa-sk-w,600px)) 0,0 0}to{background-position:calc(var(--usa-sk-x,0px) + var(--usa-sk-w,600px)) 0,0 0}}@keyframes usa-sk-pulse{from{opacity:1}to{opacity:.45}}@keyframes usa-sk-glow{from{box-shadow:0 0 0 rgba(124,92,255,0)}to{box-shadow:0 0 14px rgba(124,92,255,.45);background:rgba(124,92,255,.22)}}@media (prefers-color-scheme:dark){usa-skeleton-reveal{--usa-sk-hi:rgba(255,255,255,.16)}}@media (prefers-reduced-motion:reduce){.usa-sk-box{animation:none!important}}";
|
|
5
5
|
|
|
@@ -120,4 +120,4 @@ function defineSkeletonReveal(tag = 'usa-skeleton-reveal') {
|
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
export { SKELETON_VARIANTS as S, defineSkeletonReveal as d };
|
|
123
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.0
|
|
123
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.2.0/dist/chunks/skeleton-reveal-yj2lioib.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-sparkline{--usa-sl-c:#7c5cff;position:relative;display:inline-block;width:var(--usa-sl-w,120px);height:var(--usa-sl-h,32px);vertical-align:middle}.usa-sl-svg{display:block;width:100%;height:100%;overflow:visible}.usa-sl-line{fill:none;stroke:var(--usa-sl-c);stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke;stroke-dasharray:1}.usa-sl-area{fill:var(--usa-sl-c);opacity:0}usa-sparkline[data-variant=\"area\"] .usa-sl-area{opacity:.16;transition:opacity .8s .4s}.usa-sl-bars rect{fill:var(--usa-sl-c);opacity:.75}usa-sparkline:not([data-variant=\"bars\"]) .usa-sl-bars,usa-sparkline[data-variant=\"bars\"] .usa-sl-line,usa-sparkline[data-variant=\"bars\"] .usa-sl-end{display:none}.usa-sl-end{fill:var(--usa-sl-c);vector-effect:non-scaling-stroke;transform-box:fill-box;transform-origin:center;animation:usa-sl-pulse 1.8s ease-out infinite}.usa-sl-hover{fill:#fff;stroke:var(--usa-sl-c);stroke-width:1.5;vector-effect:non-scaling-stroke;opacity:0}usa-sparkline[data-hover] .usa-sl-hover{opacity:1}.usa-sl-tip{position:absolute;bottom:calc(100% + 4px);transform:translateX(-50%);padding:2px 6px;border-radius:5px;background:#111827;color:#fff;font:600 11px/1.3 system-ui,sans-serif;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .15s}usa-sparkline[data-hover] .usa-sl-tip{opacity:1}@keyframes usa-sl-pulse{0%{opacity:1;transform:scale(1)}70%{opacity:.4;transform:scale(1.8)}100%{opacity:1;transform:scale(1)}}@media (prefers-reduced-motion:reduce){.usa-sl-end{animation:none}}";
|
|
6
6
|
|
|
@@ -131,4 +131,4 @@ function defineSparkline(tag = 'usa-sparkline') {
|
|
|
131
131
|
exports.SPARK_VARIANTS = SPARK_VARIANTS;
|
|
132
132
|
exports.defineSparkline = defineSparkline;
|
|
133
133
|
exports.sparkPoints = sparkPoints;
|
|
134
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.0
|
|
134
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.2.0/dist/chunks/sparkline-CCV_wZ9j.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-sparkline{--usa-sl-c:#7c5cff;position:relative;display:inline-block;width:var(--usa-sl-w,120px);height:var(--usa-sl-h,32px);vertical-align:middle}.usa-sl-svg{display:block;width:100%;height:100%;overflow:visible}.usa-sl-line{fill:none;stroke:var(--usa-sl-c);stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke;stroke-dasharray:1}.usa-sl-area{fill:var(--usa-sl-c);opacity:0}usa-sparkline[data-variant=\"area\"] .usa-sl-area{opacity:.16;transition:opacity .8s .4s}.usa-sl-bars rect{fill:var(--usa-sl-c);opacity:.75}usa-sparkline:not([data-variant=\"bars\"]) .usa-sl-bars,usa-sparkline[data-variant=\"bars\"] .usa-sl-line,usa-sparkline[data-variant=\"bars\"] .usa-sl-end{display:none}.usa-sl-end{fill:var(--usa-sl-c);vector-effect:non-scaling-stroke;transform-box:fill-box;transform-origin:center;animation:usa-sl-pulse 1.8s ease-out infinite}.usa-sl-hover{fill:#fff;stroke:var(--usa-sl-c);stroke-width:1.5;vector-effect:non-scaling-stroke;opacity:0}usa-sparkline[data-hover] .usa-sl-hover{opacity:1}.usa-sl-tip{position:absolute;bottom:calc(100% + 4px);transform:translateX(-50%);padding:2px 6px;border-radius:5px;background:#111827;color:#fff;font:600 11px/1.3 system-ui,sans-serif;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .15s}usa-sparkline[data-hover] .usa-sl-tip{opacity:1}@keyframes usa-sl-pulse{0%{opacity:1;transform:scale(1)}70%{opacity:.4;transform:scale(1.8)}100%{opacity:1;transform:scale(1)}}@media (prefers-reduced-motion:reduce){.usa-sl-end{animation:none}}";
|
|
4
4
|
|
|
@@ -127,4 +127,4 @@ function defineSparkline(tag = 'usa-sparkline') {
|
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
export { SPARK_VARIANTS as S, defineSparkline as d, sparkPoints as s };
|
|
130
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.0
|
|
130
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.2.0/dist/chunks/sparkline-kl8sJ7cP.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as prefersReducedMotion, a as applyFrame, m as motionScale, E as EASE_SPRING, n as now, r as raf, b as caf } from './base-
|
|
1
|
+
import { p as prefersReducedMotion, a as applyFrame, m as motionScale, E as EASE_SPRING, n as now, r as raf, b as caf } from './base-nzeN_ux7.js';
|
|
2
2
|
|
|
3
3
|
const SPRING_PRESETS = {
|
|
4
4
|
default: { stiffness: 170, damping: 26, mass: 1 },
|
|
@@ -216,4 +216,4 @@ function rubberBand(distance, dimension, constant = 0.55) {
|
|
|
216
216
|
}
|
|
217
217
|
|
|
218
218
|
export { SPRING_PRESETS as S, rubberBand as a, spring as b, createSpring as c, springEasing as d, springSamples as e, stepSpring as f, supportsLinearEasing as g, linearEasing as l, projectInertia as p, resolveSpring as r, snapTo as s };
|
|
219
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.0
|
|
219
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.2.0/dist/chunks/spring-BX7EJst7.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
|
const SPRING_PRESETS = {
|
|
6
6
|
default: { stiffness: 170, damping: 26, mass: 1 },
|
|
@@ -229,4 +229,4 @@ exports.springEasing = springEasing;
|
|
|
229
229
|
exports.springSamples = springSamples;
|
|
230
230
|
exports.stepSpring = stepSpring;
|
|
231
231
|
exports.supportsLinearEasing = supportsLinearEasing;
|
|
232
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.0
|
|
232
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.2.0/dist/chunks/spring-Q3Y-pHuP.cjs.map
|
|
@@ -81,4 +81,4 @@ function staggerChildren(container, options = {}, instance) {
|
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
export { staggerChildren as s };
|
|
84
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.0
|
|
84
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.2.0/dist/chunks/stagger-B9sKPwQB.js.map
|
|
@@ -83,4 +83,4 @@ function staggerChildren(container, options = {}, instance) {
|
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
exports.staggerChildren = staggerChildren;
|
|
86
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.0
|
|
86
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.2.0/dist/chunks/stagger-DFKwqOQG.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
|
|
|
5
5
|
var css = "usa-suggestion-chips{display:block;max-width:100%;font:500 13px/1.2 system-ui,sans-serif;--usa-sc-accent:#6366f1}.usa-sc{display:flex;flex-wrap:wrap;gap:8px}.usa-sc>span{display:contents}.usa-sc-chip{padding:8px 13px;border-radius:999px;border:1px solid color-mix(in srgb,var(--usa-sc-accent) 35%,transparent);background:color-mix(in srgb,var(--usa-sc-accent) 8%,var(--usa-sc-bg,#fff));color:inherit;font:inherit;cursor:pointer;transition:background .2s,border-color .2s,opacity .3s,transform .3s}.usa-sc-chip:hover,.usa-sc-chip:focus-visible{background:color-mix(in srgb,var(--usa-sc-accent) 16%,var(--usa-sc-bg,#fff));outline:none;border-color:var(--usa-sc-accent)}.usa-sc-chip[data-picked]{background:var(--usa-sc-accent);border-color:var(--usa-sc-accent);color:#fff}.usa-sc-chip[data-gone]{opacity:0;transform:scale(.85);pointer-events:none}@media (prefers-reduced-motion:reduce){.usa-sc-chip{transition:none}}";
|
|
6
6
|
|
|
@@ -92,4 +92,4 @@ function defineSuggestionChips(tag = 'usa-suggestion-chips') {
|
|
|
92
92
|
|
|
93
93
|
exports.defineSuggestionChips = defineSuggestionChips;
|
|
94
94
|
exports.parseChips = parseChips;
|
|
95
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.0
|
|
95
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.2.0/dist/chunks/suggestion-chips-D9i2FGGX.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-suggestion-chips{display:block;max-width:100%;font:500 13px/1.2 system-ui,sans-serif;--usa-sc-accent:#6366f1}.usa-sc{display:flex;flex-wrap:wrap;gap:8px}.usa-sc>span{display:contents}.usa-sc-chip{padding:8px 13px;border-radius:999px;border:1px solid color-mix(in srgb,var(--usa-sc-accent) 35%,transparent);background:color-mix(in srgb,var(--usa-sc-accent) 8%,var(--usa-sc-bg,#fff));color:inherit;font:inherit;cursor:pointer;transition:background .2s,border-color .2s,opacity .3s,transform .3s}.usa-sc-chip:hover,.usa-sc-chip:focus-visible{background:color-mix(in srgb,var(--usa-sc-accent) 16%,var(--usa-sc-bg,#fff));outline:none;border-color:var(--usa-sc-accent)}.usa-sc-chip[data-picked]{background:var(--usa-sc-accent);border-color:var(--usa-sc-accent);color:#fff}.usa-sc-chip[data-gone]{opacity:0;transform:scale(.85);pointer-events:none}@media (prefers-reduced-motion:reduce){.usa-sc-chip{transition:none}}";
|
|
4
4
|
|
|
@@ -89,4 +89,4 @@ function defineSuggestionChips(tag = 'usa-suggestion-chips') {
|
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
export { defineSuggestionChips as d, parseChips as p };
|
|
92
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.0
|
|
92
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.2.0/dist/chunks/suggestion-chips-fmrwI2Da.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-switch{--usa-sw-c:#34c759;--usa-sw-w:52px;--usa-sw-h:30px;display:inline-flex;align-items:center;gap:8px;cursor:pointer;-webkit-tap-highlight-color:transparent;vertical-align:middle;outline-offset:3px;border-radius:999px}usa-switch[disabled]{opacity:.45;cursor:not-allowed}.usa-sw-track{position:relative;flex:none;width:var(--usa-sw-w);height:var(--usa-sw-h);border-radius:999px;background:rgba(127,127,127,.35);overflow:hidden;transition:background .3s}.usa-sw-fill{position:absolute;inset:0;border-radius:999px;background:var(--usa-sw-c);transform:scale(0);transform-origin:calc(var(--usa-sw-h)/2) 50%;transition:transform .35s cubic-bezier(.4,0,.2,1)}usa-switch[data-on] .usa-sw-fill{transform:scale(1)}.usa-sw-thumb{position:absolute;top:3px;left:3px;width:calc(var(--usa-sw-h) - 6px);height:calc(var(--usa-sw-h) - 6px);border-radius:999px;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.25);transition:left .32s cubic-bezier(.3,1.25,.5,1),width .2s ease,background .3s,box-shadow .3s}usa-switch[data-on] .usa-sw-thumb{left:calc(var(--usa-sw-w) - var(--usa-sw-h) + 3px)}usa-switch[data-variant=\"ios\"][data-press] .usa-sw-thumb{width:calc(var(--usa-sw-h) + 2px)}usa-switch[data-variant=\"ios\"][data-press][data-on] .usa-sw-thumb{left:calc(var(--usa-sw-w) - var(--usa-sw-h) - 5px)}usa-switch[data-variant=\"daynight\"]{--usa-sw-w:64px;--usa-sw-h:32px}usa-switch[data-variant=\"daynight\"] .usa-sw-track{background:linear-gradient(#7dd3fc,#38bdf8)}usa-switch[data-variant=\"daynight\"] .usa-sw-fill{background:linear-gradient(#1e1b4b,#312e81);transform:none;opacity:0;transition:opacity .45s}usa-switch[data-variant=\"daynight\"][data-on] .usa-sw-fill{opacity:1}usa-switch[data-variant=\"daynight\"] .usa-sw-thumb{background:radial-gradient(circle at 40% 40%,#fde68a,#f59e0b);box-shadow:0 0 10px #fbbf24}usa-switch[data-variant=\"daynight\"][data-on] .usa-sw-thumb{background:radial-gradient(circle at 65% 35%,transparent 5px,#e5e7eb 5.5px);box-shadow:0 0 8px rgba(255,255,255,.5)}usa-switch[data-variant=\"daynight\"] .usa-sw-deco{position:absolute;inset:0;background:radial-gradient(circle,#fff 1px,transparent 1.5px) 12px 8px/14px 11px;opacity:0;transform:translateY(6px);transition:opacity .4s,transform .5s}usa-switch[data-variant=\"daynight\"][data-on] .usa-sw-deco{opacity:.9;transform:none}usa-switch[data-variant=\"bounce\"] .usa-sw-thumb{transition:left .28s cubic-bezier(.5,0,.75,0)}usa-switch[data-variant=\"liquid\"] .usa-sw-fill{background:linear-gradient(90deg,#22d3ee,#7c5cff)}usa-switch[data-variant=\"liquid\"] .usa-sw-thumb{transition:left .5s cubic-bezier(.68,-.4,.27,1.4)}usa-switch:focus-visible .usa-sw-track{box-shadow:0 0 0 3px rgba(124,92,255,.5)}@media (prefers-reduced-motion:reduce){.usa-sw-thumb,.usa-sw-fill,.usa-sw-deco,.usa-sw-track{transition:none!important}}";
|
|
6
6
|
|
|
@@ -37,6 +37,11 @@ function defineSwitch(tag = 'usa-switch') {
|
|
|
37
37
|
this.setAttribute('role', 'switch');
|
|
38
38
|
if (!this.hasAttribute('tabindex'))
|
|
39
39
|
this.tabIndex = 0;
|
|
40
|
+
// 13.1.0: a disabled switch says so to assistive tech (it already ignored clicks and keys)
|
|
41
|
+
if (this.flag('disabled'))
|
|
42
|
+
this.setAttribute('aria-disabled', 'true');
|
|
43
|
+
else
|
|
44
|
+
this.removeAttribute('aria-disabled');
|
|
40
45
|
if (!this.hasAttribute('aria-label') && !this.textContent?.trim())
|
|
41
46
|
this.setAttribute('aria-label', this.str('label', 'Toggle'));
|
|
42
47
|
this._on = this.flag('checked');
|
|
@@ -96,4 +101,4 @@ function defineSwitch(tag = 'usa-switch') {
|
|
|
96
101
|
|
|
97
102
|
exports.SWITCH_VARIANTS = SWITCH_VARIANTS;
|
|
98
103
|
exports.defineSwitch = defineSwitch;
|
|
99
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.0
|
|
104
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.2.0/dist/chunks/switch-Db4uTUcj.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-switch{--usa-sw-c:#34c759;--usa-sw-w:52px;--usa-sw-h:30px;display:inline-flex;align-items:center;gap:8px;cursor:pointer;-webkit-tap-highlight-color:transparent;vertical-align:middle;outline-offset:3px;border-radius:999px}usa-switch[disabled]{opacity:.45;cursor:not-allowed}.usa-sw-track{position:relative;flex:none;width:var(--usa-sw-w);height:var(--usa-sw-h);border-radius:999px;background:rgba(127,127,127,.35);overflow:hidden;transition:background .3s}.usa-sw-fill{position:absolute;inset:0;border-radius:999px;background:var(--usa-sw-c);transform:scale(0);transform-origin:calc(var(--usa-sw-h)/2) 50%;transition:transform .35s cubic-bezier(.4,0,.2,1)}usa-switch[data-on] .usa-sw-fill{transform:scale(1)}.usa-sw-thumb{position:absolute;top:3px;left:3px;width:calc(var(--usa-sw-h) - 6px);height:calc(var(--usa-sw-h) - 6px);border-radius:999px;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.25);transition:left .32s cubic-bezier(.3,1.25,.5,1),width .2s ease,background .3s,box-shadow .3s}usa-switch[data-on] .usa-sw-thumb{left:calc(var(--usa-sw-w) - var(--usa-sw-h) + 3px)}usa-switch[data-variant=\"ios\"][data-press] .usa-sw-thumb{width:calc(var(--usa-sw-h) + 2px)}usa-switch[data-variant=\"ios\"][data-press][data-on] .usa-sw-thumb{left:calc(var(--usa-sw-w) - var(--usa-sw-h) - 5px)}usa-switch[data-variant=\"daynight\"]{--usa-sw-w:64px;--usa-sw-h:32px}usa-switch[data-variant=\"daynight\"] .usa-sw-track{background:linear-gradient(#7dd3fc,#38bdf8)}usa-switch[data-variant=\"daynight\"] .usa-sw-fill{background:linear-gradient(#1e1b4b,#312e81);transform:none;opacity:0;transition:opacity .45s}usa-switch[data-variant=\"daynight\"][data-on] .usa-sw-fill{opacity:1}usa-switch[data-variant=\"daynight\"] .usa-sw-thumb{background:radial-gradient(circle at 40% 40%,#fde68a,#f59e0b);box-shadow:0 0 10px #fbbf24}usa-switch[data-variant=\"daynight\"][data-on] .usa-sw-thumb{background:radial-gradient(circle at 65% 35%,transparent 5px,#e5e7eb 5.5px);box-shadow:0 0 8px rgba(255,255,255,.5)}usa-switch[data-variant=\"daynight\"] .usa-sw-deco{position:absolute;inset:0;background:radial-gradient(circle,#fff 1px,transparent 1.5px) 12px 8px/14px 11px;opacity:0;transform:translateY(6px);transition:opacity .4s,transform .5s}usa-switch[data-variant=\"daynight\"][data-on] .usa-sw-deco{opacity:.9;transform:none}usa-switch[data-variant=\"bounce\"] .usa-sw-thumb{transition:left .28s cubic-bezier(.5,0,.75,0)}usa-switch[data-variant=\"liquid\"] .usa-sw-fill{background:linear-gradient(90deg,#22d3ee,#7c5cff)}usa-switch[data-variant=\"liquid\"] .usa-sw-thumb{transition:left .5s cubic-bezier(.68,-.4,.27,1.4)}usa-switch:focus-visible .usa-sw-track{box-shadow:0 0 0 3px rgba(124,92,255,.5)}@media (prefers-reduced-motion:reduce){.usa-sw-thumb,.usa-sw-fill,.usa-sw-deco,.usa-sw-track{transition:none!important}}";
|
|
4
4
|
|
|
@@ -35,6 +35,11 @@ function defineSwitch(tag = 'usa-switch') {
|
|
|
35
35
|
this.setAttribute('role', 'switch');
|
|
36
36
|
if (!this.hasAttribute('tabindex'))
|
|
37
37
|
this.tabIndex = 0;
|
|
38
|
+
// 13.1.0: a disabled switch says so to assistive tech (it already ignored clicks and keys)
|
|
39
|
+
if (this.flag('disabled'))
|
|
40
|
+
this.setAttribute('aria-disabled', 'true');
|
|
41
|
+
else
|
|
42
|
+
this.removeAttribute('aria-disabled');
|
|
38
43
|
if (!this.hasAttribute('aria-label') && !this.textContent?.trim())
|
|
39
44
|
this.setAttribute('aria-label', this.str('label', 'Toggle'));
|
|
40
45
|
this._on = this.flag('checked');
|
|
@@ -93,4 +98,4 @@ function defineSwitch(tag = 'usa-switch') {
|
|
|
93
98
|
}
|
|
94
99
|
|
|
95
100
|
export { SWITCH_VARIANTS as S, defineSwitch as d };
|
|
96
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.0
|
|
101
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.2.0/dist/chunks/switch-DnwGGeZj.js.map
|