motionary 17.2.0 → 17.2.1
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 +7 -0
- package/README.md +5 -5
- package/README_ja.md +5 -5
- package/README_zh.md +5 -5
- package/dist/chunks/{anim-image-DbsE4UOO.cjs → anim-image-BumBKRpk.cjs} +2 -2
- package/dist/chunks/{anim-image-BSCjDYzT.js → anim-image-Cdqo9ARg.js} +2 -2
- package/dist/chunks/audio-AtLkHgFE.js +1 -1
- package/dist/chunks/audio-D0LwPShE.cjs +1 -1
- package/dist/chunks/badge-wall-CITexuW7.cjs +1 -1
- package/dist/chunks/badge-wall-Cl_xT9TD.js +1 -1
- package/dist/chunks/base-BQmWYlDq.js +1 -1
- package/dist/chunks/base-BvH4nAcv.cjs +1 -1
- package/dist/chunks/bg-generator-CML8tPN8.cjs +1 -1
- package/dist/chunks/bg-generator-DoLaSG2a.js +1 -1
- package/dist/chunks/bind-B_CTL6Qn.js +1 -1
- package/dist/chunks/bind-Ui43-n2d.cjs +1 -1
- package/dist/chunks/builtins-BYmVxuUA.js +1 -1
- package/dist/chunks/builtins-fp4MVfE-.cjs +1 -1
- package/dist/chunks/carousel-Cl5uOQMI.js +1 -1
- package/dist/chunks/carousel-DU3rHTq0.cjs +1 -1
- package/dist/chunks/cart-drawer-CkFMKMhx.cjs +1 -1
- package/dist/chunks/cart-drawer-DYcTBtqX.js +1 -1
- package/dist/chunks/category-for-tag-D_QJPwpZ.cjs +16 -0
- package/dist/chunks/category-for-tag-WK7MtB-K.js +14 -0
- package/dist/chunks/code-export-F5ajFBWV.js +1 -1
- package/dist/chunks/code-export-PdGSl9WE.cjs +1 -1
- package/dist/chunks/color-picker-B_xWVH8H.cjs +1 -1
- package/dist/chunks/color-picker-DfAShjuU.js +1 -1
- package/dist/chunks/command-palette-B_sdGBkB.cjs +1 -1
- package/dist/chunks/command-palette-D3BLEWg1.js +1 -1
- package/dist/chunks/core-BjcOCpJt.cjs +1 -1
- package/dist/chunks/core-CxbMpBNZ.js +1 -1
- package/dist/chunks/core-DISdVBH1.js +1 -1
- package/dist/chunks/core-DbAYRKnS.cjs +1 -1
- package/dist/chunks/core-Dj6iomdc.js +1 -1
- package/dist/chunks/core-DjjKLmZ6.cjs +1 -1
- package/dist/chunks/countdown-Bx3drDeE.js +1 -1
- package/dist/chunks/countdown-RQViryt7.cjs +1 -1
- package/dist/chunks/date-picker-BgApzPNn.cjs +1 -1
- package/dist/chunks/date-picker-zwkly5SQ.js +1 -1
- package/dist/chunks/ease-HwYZnZat.cjs +1 -1
- package/dist/chunks/ease-XN8_0sXu.js +1 -1
- package/dist/chunks/equalizer-DUDHQUHB.js +1 -1
- package/dist/chunks/equalizer-_eD_ZdCl.cjs +1 -1
- package/dist/chunks/festival-banner-BhdjV0fp.js +1 -1
- package/dist/chunks/festival-banner-Bs18K0MJ.cjs +1 -1
- package/dist/chunks/field-BTSpoQcd.js +1 -1
- package/dist/chunks/field-Dwq8-CLN.cjs +1 -1
- package/dist/chunks/format-CI6Vx9Ui.js +1 -1
- package/dist/chunks/format-b5fQz-vc.cjs +1 -1
- package/dist/chunks/fx-C9Bq8hdA.js +1 -1
- package/dist/chunks/fx-DEhvlMn6.cjs +1 -1
- package/dist/chunks/generative-BFR11LSL.js +1 -1
- package/dist/chunks/generative-BKoxWOSP.cjs +1 -1
- package/dist/chunks/{gl-scene-C7iUre0C.cjs → gl-scene-1lC5gjPF.cjs} +2 -2
- package/dist/chunks/{gl-scene-HWJADmzS.js → gl-scene-B2dWjiWi.js} +2 -2
- package/dist/chunks/globe-B6GMkhIi.js +1 -1
- package/dist/chunks/globe-DA0jyb6s.cjs +1 -1
- package/dist/chunks/gpu-Bl7ZKR8x.js +1 -1
- package/dist/chunks/gpu-C2C6iBQC.cjs +1 -1
- package/dist/chunks/gpu-particles-dIxou1C7.js +1 -1
- package/dist/chunks/gpu-particles-wEO_rds1.cjs +1 -1
- package/dist/chunks/history-B0Ml40k1.cjs +1 -1
- package/dist/chunks/history-DtNn2Q0g.js +1 -1
- package/dist/chunks/index-C0j-oCw2.js +1 -1
- package/dist/chunks/index-C9_FEsfz.cjs +1 -1
- package/dist/chunks/index-tags-B-JBecYg.js +1 -1
- package/dist/chunks/index-tags-hLIF2Clq.cjs +1 -1
- package/dist/chunks/key-click-BLm3BI8_.js +1 -1
- package/dist/chunks/key-click-v7I4K5Sr.cjs +1 -1
- package/dist/chunks/{keyframes-CXCp1w7x.js → keyframes-CiWxmMa0.js} +2 -2
- package/dist/chunks/{keyframes-CUDTmxhE.cjs → keyframes-UgAQUE_D.cjs} +2 -2
- package/dist/chunks/leaderboard-CfgRxbeu.js +1 -1
- package/dist/chunks/leaderboard-DvSSQ8o3.cjs +1 -1
- package/dist/chunks/location-card-BP7JLDLo.js +1 -1
- package/dist/chunks/location-card-DSPTApUe.cjs +1 -1
- package/dist/chunks/lottie-icon-BoxkukMd.cjs +1 -1
- package/dist/chunks/lottie-icon-BxIqK7q7.js +1 -1
- package/dist/chunks/{lottie-player-C-dq35tB.cjs → lottie-player-C8NxAf1o.cjs} +2 -2
- package/dist/chunks/{lottie-player-CaVEpHLo.js → lottie-player-CM0ATY3F.js} +2 -2
- package/dist/chunks/lyrics-CRB7dA1j.cjs +1 -1
- package/dist/chunks/lyrics-D4zARPqR.js +1 -1
- package/dist/chunks/manifest-EZTGWMQl.js +1 -1
- package/dist/chunks/manifest-xr3WET80.cjs +1 -1
- package/dist/chunks/menu-CZ1zHTT9.cjs +1 -1
- package/dist/chunks/menu-EOQH7vNp.js +1 -1
- package/dist/chunks/menu-toggle-BaP8UQtW.js +1 -1
- package/dist/chunks/menu-toggle-DGXN4VsN.cjs +1 -1
- package/dist/chunks/nav-morph-Bl7rQGXg.js +1 -1
- package/dist/chunks/nav-morph-C4rD3wrU.cjs +1 -1
- package/dist/chunks/otp-CImvDHhN.js +1 -1
- package/dist/chunks/otp-DUyEWYMi.cjs +1 -1
- package/dist/chunks/pagination-D8OldTKt.js +1 -1
- package/dist/chunks/pagination-DHmYZZU9.cjs +1 -1
- package/dist/chunks/{physics-playground-DvIxPvKr.js → physics-playground-CNtgXtV_.js} +2 -2
- package/dist/chunks/{physics-playground-dCRNiqlX.cjs → physics-playground-Ez5RAyMN.cjs} +2 -2
- package/dist/chunks/play-D9Utt9rO.cjs +1 -1
- package/dist/chunks/play-U4-l22wu.js +1 -1
- package/dist/chunks/player-core-S0Fqtlfd.js +1 -1
- package/dist/chunks/player-core-wSp7kDYd.cjs +1 -1
- package/dist/chunks/presence-DAthlALi.cjs +1 -1
- package/dist/chunks/presence-DKAp51JY.js +1 -1
- package/dist/chunks/presets-BYBVJVeP.js +1 -1
- package/dist/chunks/presets-CUHys3sK.cjs +1 -1
- package/dist/chunks/preview-DW0zh_0c.js +1 -1
- package/dist/chunks/preview-kiMCBqSF.cjs +1 -1
- package/dist/chunks/prize-wheel-CYG2gNtL.js +1 -1
- package/dist/chunks/prize-wheel-emDopI5c.cjs +1 -1
- package/dist/chunks/product-gallery-CKtSVhZk.cjs +1 -1
- package/dist/chunks/product-gallery-Dn7yr7N9.js +1 -1
- package/dist/chunks/progress-ring-C75O4MUi.cjs +1 -1
- package/dist/chunks/progress-ring-DfUcJbXm.js +1 -1
- package/dist/chunks/project-9WDl1Fyq.js +1 -1
- package/dist/chunks/project-DiTOvzic.cjs +1 -1
- package/dist/chunks/prop-panel-DFqga6H5.cjs +1 -1
- package/dist/chunks/prop-panel-DvkXyt8q.js +1 -1
- package/dist/chunks/radar-D-bZRrgs.cjs +1 -1
- package/dist/chunks/radar-D7LzLQJX.js +1 -1
- package/dist/chunks/reactions-BL2iO8iy.cjs +1 -1
- package/dist/chunks/reactions-S_dsxBY8.js +1 -1
- package/dist/chunks/{registry-BKfDmsly.js → registry-BLXPhfJd.js} +2 -2
- package/dist/chunks/registry-BdSDdeL7.js +1 -1
- package/dist/chunks/registry-CibnX7Ui.cjs +1 -1
- package/dist/chunks/{registry-B9sONDgb.cjs → registry-DphPB165.cjs} +2 -2
- package/dist/chunks/retro-button-2x9sOTBI.js +1 -1
- package/dist/chunks/retro-button-DrrBZ6w8.cjs +1 -1
- package/dist/chunks/rive-D6X4J0Mi.cjs +1 -1
- package/dist/chunks/rive-wdC-DTmT.js +1 -1
- package/dist/chunks/{runtime-link-Bxd7d4mb.cjs → runtime-link-B9ya8z4g.cjs} +2 -2
- package/dist/chunks/{runtime-link-Q3WPKh5c.js → runtime-link-JzguK1oG.js} +2 -2
- package/dist/chunks/scene-U2YkjCm0.cjs +1 -1
- package/dist/chunks/scene-WZLES-B0.js +1 -1
- package/dist/chunks/scroll-driven-CQbwzCdn.cjs +1 -1
- package/dist/chunks/scroll-driven-LghshrWq.js +1 -1
- package/dist/chunks/{scroll-scene-a22qUFEw.cjs → scroll-scene-BxR8jL68.cjs} +3 -3
- package/dist/chunks/{scroll-scene-ek9FIiX6.js → scroll-scene-DdQaP6I0.js} +3 -3
- package/dist/chunks/segmented-BCajObgE.js +1 -1
- package/dist/chunks/segmented-CpB4mKIn.cjs +1 -1
- package/dist/chunks/shader-backdrop-BodjXMhw.cjs +1 -1
- package/dist/chunks/shader-backdrop-Ccg25dLQ.js +1 -1
- package/dist/chunks/shared-Bf72wLyt.cjs +1 -1
- package/dist/chunks/shared-CkKHWrtJ.js +1 -1
- package/dist/chunks/shared-jkgRH-Hx.cjs +1 -1
- package/dist/chunks/shared-o9CtwHmi.js +1 -1
- package/dist/chunks/sheet-B2r33Isp.js +1 -1
- package/dist/chunks/sheet-B38ylIEW.cjs +1 -1
- package/dist/chunks/sign-DvZ1jHxE.js +1 -1
- package/dist/chunks/sign-RAkQIWrM.cjs +1 -1
- package/dist/chunks/skeleton-reveal-D2uMxKHC.js +1 -1
- package/dist/chunks/skeleton-reveal-Dsd3Wp0n.cjs +1 -1
- package/dist/chunks/sparkline-C3SGIIax.js +1 -1
- package/dist/chunks/sparkline-DeKhZpVo.cjs +1 -1
- package/dist/chunks/spring-BOKyL1Rj.js +1 -1
- package/dist/chunks/spring-XEl_diDJ.cjs +1 -1
- package/dist/chunks/stagger-B9sKPwQB.js +1 -1
- package/dist/chunks/stagger-DFKwqOQG.cjs +1 -1
- package/dist/chunks/suggestion-chips-CAcbFTr4.cjs +1 -1
- package/dist/chunks/suggestion-chips-FMxruJG4.js +1 -1
- package/dist/chunks/switch-BdGuLQpo.js +1 -1
- package/dist/chunks/switch-DiTlApGd.cjs +1 -1
- package/dist/chunks/tab-bar-BBlVAqbq.cjs +1 -1
- package/dist/chunks/tab-bar-rGOs5uh4.js +1 -1
- package/dist/chunks/{ticker-2mNR0uuF.cjs → ticker-CHmOOPC3.cjs} +2 -2
- package/dist/chunks/{ticker-Bc_N1JDx.js → ticker-jyIEXMb4.js} +2 -2
- package/dist/chunks/tip-VGS3qAUm.cjs +1 -1
- package/dist/chunks/tip-VhV9WI93.js +1 -1
- package/dist/chunks/toast-stack-BMStleeh.js +1 -1
- package/dist/chunks/toast-stack-DprisNp_.cjs +1 -1
- package/dist/chunks/{tween-DICAJ3jm.js → tween-5WKUj3Ev.js} +2 -2
- package/dist/chunks/{tween-CGJiteOq.cjs → tween-c-N2zbMP.cjs} +2 -2
- package/dist/chunks/upload-progress-5FPam2SV.js +1 -1
- package/dist/chunks/upload-progress-CEAWkP-p.cjs +1 -1
- package/dist/chunks/v2-BN000nHo.js +1 -1
- package/dist/chunks/v2-El9dfBqV.cjs +1 -1
- package/dist/chunks/v3-read-BNhrN3tL.cjs +1 -1
- package/dist/chunks/v3-read-BqgIjLQP.js +1 -1
- package/dist/chunks/variants-BtqEJuki.cjs +1 -1
- package/dist/chunks/variants-DWeKzYPo.js +1 -1
- package/dist/chunks/viewport-BAXHhZLV.js +1 -1
- package/dist/chunks/viewport-EFYGqMNa.cjs +1 -1
- package/dist/chunks/voice-button-9UauxvT9.cjs +1 -1
- package/dist/chunks/voice-button-BsYkfXZ8.js +1 -1
- package/dist/chunks/weather-card-4Eg6e43D.cjs +1 -1
- package/dist/chunks/weather-card-B5ZBoxiD.js +1 -1
- package/dist/chunks/worker-canvas-BMBXAFWp.cjs +1 -1
- package/dist/chunks/worker-canvas-DwniXjtc.js +1 -1
- package/dist/chunks/xp-bar-DFdhs9RQ.js +1 -1
- package/dist/chunks/xp-bar-DkWfCTfB.cjs +1 -1
- package/dist/components/a11y.cjs +1 -1
- package/dist/components/a11y.js +1 -1
- package/dist/components/ai.cjs +1 -1
- package/dist/components/ai.js +1 -1
- package/dist/components/angular.cjs +1 -1
- package/dist/components/angular.js +1 -1
- package/dist/components/background.cjs +1 -1
- package/dist/components/background.js +1 -1
- package/dist/components/bridge.cjs +1 -1
- package/dist/components/bridge.js +1 -1
- package/dist/components/cards.cjs +1 -1
- package/dist/components/cards.js +1 -1
- package/dist/components/click.cjs +1 -1
- package/dist/components/click.js +1 -1
- package/dist/components/core.cjs +1 -1
- package/dist/components/core.js +1 -1
- package/dist/components/depth.cjs +1 -1
- package/dist/components/depth.js +1 -1
- package/dist/components/design.cjs +1 -1
- package/dist/components/design.js +1 -1
- package/dist/components/dotlottie.cjs +3 -3
- package/dist/components/dotlottie.js +3 -3
- package/dist/components/dsl.cjs +1 -1
- package/dist/components/dsl.js +1 -1
- package/dist/components/effects.cjs +1 -1
- package/dist/components/effects.js +1 -1
- package/dist/components/engine.cjs +1 -1
- package/dist/components/engine.js +1 -1
- package/dist/components/feedback.cjs +1 -1
- package/dist/components/feedback.js +1 -1
- package/dist/components/fx-3d.cjs +1 -1
- package/dist/components/fx-3d.js +1 -1
- package/dist/components/fx-ai.cjs +1 -1
- package/dist/components/fx-ai.js +1 -1
- package/dist/components/fx-chart.cjs +1 -1
- package/dist/components/fx-chart.js +1 -1
- package/dist/components/fx-cinema.cjs +1 -1
- package/dist/components/fx-cinema.js +1 -1
- package/dist/components/fx-cyber.cjs +1 -1
- package/dist/components/fx-cyber.js +1 -1
- package/dist/components/fx-festival.cjs +1 -1
- package/dist/components/fx-festival.js +1 -1
- package/dist/components/fx-focus.cjs +1 -1
- package/dist/components/fx-focus.js +1 -1
- package/dist/components/fx-form.cjs +1 -1
- package/dist/components/fx-form.js +1 -1
- package/dist/components/fx-game.cjs +1 -1
- package/dist/components/fx-game.js +1 -1
- package/dist/components/fx-genart.cjs +1 -1
- package/dist/components/fx-genart.js +1 -1
- package/dist/components/fx-geo.cjs +1 -1
- package/dist/components/fx-geo.js +1 -1
- package/dist/components/fx-gesture.cjs +1 -1
- package/dist/components/fx-gesture.js +1 -1
- package/dist/components/fx-gpu.cjs +1 -1
- package/dist/components/fx-gpu.js +1 -1
- package/dist/components/fx-light.cjs +1 -1
- package/dist/components/fx-light.js +1 -1
- package/dist/components/fx-lottie.cjs +1 -1
- package/dist/components/fx-lottie.js +1 -1
- package/dist/components/fx-morph.cjs +1 -1
- package/dist/components/fx-morph.js +1 -1
- package/dist/components/fx-music.cjs +1 -1
- package/dist/components/fx-music.js +1 -1
- package/dist/components/fx-organic.cjs +1 -1
- package/dist/components/fx-organic.js +1 -1
- package/dist/components/fx-paper.cjs +1 -1
- package/dist/components/fx-paper.js +1 -1
- package/dist/components/fx-perf.cjs +1 -1
- package/dist/components/fx-perf.js +1 -1
- package/dist/components/fx-physics.cjs +1 -1
- package/dist/components/fx-physics.js +1 -1
- package/dist/components/fx-retro.cjs +1 -1
- package/dist/components/fx-retro.js +1 -1
- package/dist/components/fx-safe.cjs +1 -1
- package/dist/components/fx-safe.js +1 -1
- package/dist/components/fx-shop.cjs +1 -1
- package/dist/components/fx-shop.js +1 -1
- package/dist/components/fx-social.cjs +1 -1
- package/dist/components/fx-social.js +1 -1
- package/dist/components/fx-spatial.cjs +1 -1
- package/dist/components/fx-spatial.js +1 -1
- package/dist/components/fx-surface.cjs +1 -1
- package/dist/components/fx-surface.js +1 -1
- package/dist/components/fx-text.cjs +1 -1
- package/dist/components/fx-text.js +1 -1
- package/dist/components/fx-transitions.cjs +1 -1
- package/dist/components/fx-transitions.js +1 -1
- package/dist/components/fx-video.cjs +1 -1
- package/dist/components/fx-video.js +1 -1
- package/dist/components/fx-weather.cjs +1 -1
- package/dist/components/fx-weather.js +1 -1
- package/dist/components/fx.cjs +1 -1
- package/dist/components/fx.js +1 -1
- package/dist/components/fx2.cjs +1 -1
- package/dist/components/fx2.js +1 -1
- package/dist/components/gesture.cjs +1 -1
- package/dist/components/gesture.js +1 -1
- package/dist/components/gl-model.cjs +3 -3
- package/dist/components/gl-model.js +3 -3
- package/dist/components/gl-pool.cjs +1 -1
- package/dist/components/gl-pool.js +1 -1
- package/dist/components/interaction.cjs +1 -1
- package/dist/components/interaction.js +1 -1
- package/dist/components/jsx.cjs +1 -1
- package/dist/components/jsx.js +1 -1
- package/dist/components/layout.cjs +1 -1
- package/dist/components/layout.js +1 -1
- package/dist/components/lazy.cjs +3 -20
- package/dist/components/lazy.js +3 -20
- package/dist/components/lite.cjs +113 -239
- package/dist/components/lite.js +113 -239
- package/dist/components/marketplace.cjs +1 -1
- package/dist/components/marketplace.js +1 -1
- package/dist/components/mo.cjs +11 -14
- package/dist/components/mo.js +11 -14
- package/dist/components/motion-layout.cjs +1 -1
- package/dist/components/motion-layout.js +1 -1
- package/dist/components/motion-scene.cjs +1 -1
- package/dist/components/motion-scene.js +1 -1
- package/dist/components/motion-tokens.cjs +1 -1
- package/dist/components/motion-tokens.js +1 -1
- package/dist/components/motion.cjs +1 -1
- package/dist/components/motion.js +1 -1
- package/dist/components/native.cjs +1 -1
- package/dist/components/native.js +1 -1
- package/dist/components/offscreen.cjs +1 -1
- package/dist/components/offscreen.js +1 -1
- package/dist/components/packs.cjs +1 -1
- package/dist/components/packs.js +1 -1
- package/dist/components/page.cjs +1 -1
- package/dist/components/page.js +1 -1
- package/dist/components/perf-tasks.cjs +1 -1
- package/dist/components/perf-tasks.js +1 -1
- package/dist/components/perf.cjs +15 -15
- package/dist/components/perf.d.cts +7 -5
- package/dist/components/perf.d.ts +7 -5
- package/dist/components/perf.js +15 -15
- package/dist/components/physics.cjs +1 -1
- package/dist/components/physics.js +1 -1
- package/dist/components/plugins.cjs +1 -1
- package/dist/components/plugins.js +1 -1
- package/dist/components/react.cjs +1 -1
- package/dist/components/react.js +1 -1
- package/dist/components/reveal.cjs +1 -1
- package/dist/components/reveal.js +1 -1
- package/dist/components/scene-symbols.cjs +1 -1
- package/dist/components/scene-symbols.js +1 -1
- package/dist/components/scene-v2.cjs +1 -1
- package/dist/components/scene-v2.js +1 -1
- package/dist/components/scene-v3.cjs +1 -1
- package/dist/components/scene-v3.js +1 -1
- package/dist/components/snap-carousel.cjs +2 -2
- package/dist/components/snap-carousel.js +2 -2
- package/dist/components/solid.cjs +1 -1
- package/dist/components/solid.js +1 -1
- package/dist/components/studio-a11y.cjs +1 -1
- package/dist/components/studio-a11y.js +1 -1
- package/dist/components/studio-ai.cjs +1 -1
- package/dist/components/studio-ai.js +1 -1
- package/dist/components/studio-app.cjs +1 -1
- package/dist/components/studio-app.js +1 -1
- package/dist/components/studio-assets.cjs +1 -1
- package/dist/components/studio-assets.js +1 -1
- package/dist/components/studio-budget.cjs +1 -1
- package/dist/components/studio-budget.js +1 -1
- package/dist/components/studio-canvas.cjs +1 -1
- package/dist/components/studio-canvas.js +1 -1
- package/dist/components/studio-export.cjs +1 -1
- package/dist/components/studio-export.js +1 -1
- package/dist/components/studio-native.cjs +1 -1
- package/dist/components/studio-native.js +1 -1
- package/dist/components/studio-plugins.cjs +1 -1
- package/dist/components/studio-plugins.js +1 -1
- package/dist/components/studio-provenance.cjs +1 -1
- package/dist/components/studio-provenance.js +1 -1
- package/dist/components/studio-store.cjs +1 -1
- package/dist/components/studio-store.js +1 -1
- package/dist/components/studio-templates.cjs +1 -1
- package/dist/components/studio-templates.js +1 -1
- package/dist/components/studio.cjs +1 -1
- package/dist/components/studio.js +1 -1
- package/dist/components/svelte.cjs +1 -1
- package/dist/components/svelte.js +1 -1
- package/dist/components/svg.cjs +1 -1
- package/dist/components/svg.js +1 -1
- package/dist/components/text.cjs +1 -1
- package/dist/components/text.js +1 -1
- package/dist/components/timeline-editor.cjs +1 -1
- package/dist/components/timeline-editor.js +1 -1
- package/dist/components/timeline.cjs +1 -1
- package/dist/components/timeline.js +1 -1
- package/dist/components/tokens.cjs +1 -1
- package/dist/components/tokens.js +1 -1
- package/dist/components/transitions.cjs +1 -1
- package/dist/components/transitions.js +1 -1
- package/dist/components/ui.cjs +1 -1
- package/dist/components/ui.js +1 -1
- package/dist/components/vue.cjs +1 -1
- package/dist/components/vue.js +1 -1
- package/dist/components/webgl.cjs +1 -1
- package/dist/components/webgl.js +1 -1
- package/dist/components/widgets.cjs +5 -5
- package/dist/components/widgets.js +7 -7
- package/dist/components.cjs +3 -2
- package/dist/components.d.cts +7 -5
- package/dist/components.d.ts +7 -5
- package/dist/components.js +3 -2
- package/dist/components.umd.js +3 -3
- package/dist/effects/achievement-unlock.cjs +1 -1
- package/dist/effects/achievement-unlock.js +1 -1
- package/dist/effects/aurora-veil.cjs +1 -1
- package/dist/effects/aurora-veil.js +1 -1
- package/dist/effects/badge-pop.cjs +1 -1
- package/dist/effects/badge-pop.js +1 -1
- package/dist/effects/bars-grow.cjs +1 -1
- package/dist/effects/bars-grow.js +1 -1
- package/dist/effects/beat-bounce.cjs +1 -1
- package/dist/effects/beat-bounce.js +1 -1
- package/dist/effects/blob-button.cjs +1 -1
- package/dist/effects/blob-button.js +1 -1
- package/dist/effects/bloom.cjs +1 -1
- package/dist/effects/bloom.js +1 -1
- package/dist/effects/breathe.cjs +1 -1
- package/dist/effects/breathe.js +1 -1
- package/dist/effects/brushed-metal.cjs +1 -1
- package/dist/effects/brushed-metal.js +1 -1
- package/dist/effects/camera-dolly.cjs +1 -1
- package/dist/effects/camera-dolly.js +1 -1
- package/dist/effects/card-flip-3d.cjs +1 -1
- package/dist/effects/card-flip-3d.js +1 -1
- package/dist/effects/chest-open.cjs +1 -1
- package/dist/effects/chest-open.js +1 -1
- package/dist/effects/cloth.cjs +1 -1
- package/dist/effects/cloth.js +1 -1
- package/dist/effects/coin-burst.cjs +1 -1
- package/dist/effects/coin-burst.js +1 -1
- package/dist/effects/color-pulse.cjs +1 -1
- package/dist/effects/color-pulse.js +1 -1
- package/dist/effects/crt-power.cjs +1 -1
- package/dist/effects/crt-power.js +1 -1
- package/dist/effects/crumple.cjs +1 -1
- package/dist/effects/crumple.js +1 -1
- package/dist/effects/data-decode.cjs +1 -1
- package/dist/effects/data-decode.js +1 -1
- package/dist/effects/day-cycle.cjs +1 -1
- package/dist/effects/day-cycle.js +1 -1
- package/dist/effects/depth-in.cjs +1 -1
- package/dist/effects/depth-in.js +1 -1
- package/dist/effects/depth-pop.cjs +1 -1
- package/dist/effects/depth-pop.js +1 -1
- package/dist/effects/depth-stack.cjs +1 -1
- package/dist/effects/depth-stack.js +1 -1
- package/dist/effects/dolly-in.cjs +1 -1
- package/dist/effects/dolly-in.js +1 -1
- package/dist/effects/dots-pop.cjs +1 -1
- package/dist/effects/dots-pop.js +1 -1
- package/dist/effects/field-shake.cjs +1 -1
- package/dist/effects/field-shake.js +1 -1
- package/dist/effects/field-success.cjs +1 -1
- package/dist/effects/field-success.js +1 -1
- package/dist/effects/film-burn.cjs +1 -1
- package/dist/effects/film-burn.js +1 -1
- package/dist/effects/fire.cjs +1 -1
- package/dist/effects/fire.js +1 -1
- package/dist/effects/fireflies.cjs +1 -1
- package/dist/effects/fireflies.js +1 -1
- package/dist/effects/firework-burst.cjs +1 -1
- package/dist/effects/firework-burst.js +1 -1
- package/dist/effects/flip-chars.cjs +1 -1
- package/dist/effects/flip-chars.js +1 -1
- package/dist/effects/fluid.cjs +1 -1
- package/dist/effects/fluid.js +1 -1
- package/dist/effects/fly-to-cart.cjs +1 -1
- package/dist/effects/fly-to-cart.js +1 -1
- package/dist/effects/focus-draw.cjs +1 -1
- package/dist/effects/focus-draw.js +1 -1
- package/dist/effects/focus-glow.cjs +1 -1
- package/dist/effects/focus-glow.js +1 -1
- package/dist/effects/fog.cjs +1 -1
- package/dist/effects/fog.js +1 -1
- package/dist/effects/font-breathe.cjs +1 -1
- package/dist/effects/font-breathe.js +1 -1
- package/dist/effects/form-cascade.cjs +1 -1
- package/dist/effects/form-cascade.js +1 -1
- package/dist/effects/gen-skeleton.cjs +1 -1
- package/dist/effects/gen-skeleton.js +1 -1
- package/dist/effects/glass-frost.cjs +1 -1
- package/dist/effects/glass-frost.js +1 -1
- package/dist/effects/glitch-text.cjs +1 -1
- package/dist/effects/glitch-text.js +1 -1
- package/dist/effects/globe-spin.cjs +1 -1
- package/dist/effects/globe-spin.js +1 -1
- package/dist/effects/god-rays.cjs +1 -1
- package/dist/effects/god-rays.js +1 -1
- package/dist/effects/gpu-lift.cjs +1 -1
- package/dist/effects/gpu-lift.js +1 -1
- package/dist/effects/grain-flicker.cjs +1 -1
- package/dist/effects/grain-flicker.js +1 -1
- package/dist/effects/halftone-in.cjs +1 -1
- package/dist/effects/halftone-in.js +1 -1
- package/dist/effects/highlight-sweep.cjs +1 -1
- package/dist/effects/highlight-sweep.js +1 -1
- package/dist/effects/hologram.cjs +1 -1
- package/dist/effects/hologram.js +1 -1
- package/dist/effects/hud-frame.cjs +1 -1
- package/dist/effects/hud-frame.js +1 -1
- package/dist/effects/icon-pop.cjs +1 -1
- package/dist/effects/icon-pop.js +1 -1
- package/dist/effects/icon-swap.cjs +1 -1
- package/dist/effects/icon-swap.js +1 -1
- package/dist/effects/idle-reveal.cjs +1 -1
- package/dist/effects/idle-reveal.js +1 -1
- package/dist/effects/ink.cjs +1 -1
- package/dist/effects/ink.js +1 -1
- package/dist/effects/jump-cut.cjs +1 -1
- package/dist/effects/jump-cut.js +1 -1
- package/dist/effects/kaleido.cjs +1 -1
- package/dist/effects/kaleido.js +1 -1
- package/dist/effects/label-float.cjs +1 -1
- package/dist/effects/label-float.js +1 -1
- package/dist/effects/lantern-rise.cjs +1 -1
- package/dist/effects/lantern-rise.js +1 -1
- package/dist/effects/leaves.cjs +1 -1
- package/dist/effects/leaves.js +1 -1
- package/dist/effects/letterbox.cjs +1 -1
- package/dist/effects/letterbox.js +1 -1
- package/dist/effects/level-up.cjs +1 -1
- package/dist/effects/level-up.js +1 -1
- package/dist/effects/light-follow.cjs +1 -1
- package/dist/effects/light-follow.js +1 -1
- package/dist/effects/lightning.cjs +1 -1
- package/dist/effects/lightning.js +1 -1
- package/dist/effects/line-draw.cjs +1 -1
- package/dist/effects/line-draw.js +1 -1
- package/dist/effects/liquid-text.cjs +1 -1
- package/dist/effects/liquid-text.js +1 -1
- package/dist/effects/liquid-wipe.cjs +1 -1
- package/dist/effects/liquid-wipe.js +1 -1
- package/dist/effects/lottie-play.cjs +1 -1
- package/dist/effects/lottie-play.js +1 -1
- package/dist/effects/magnet.cjs +1 -1
- package/dist/effects/magnet.js +1 -1
- package/dist/effects/marching-ants.cjs +1 -1
- package/dist/effects/marching-ants.js +1 -1
- package/dist/effects/marker-pulse.cjs +1 -1
- package/dist/effects/marker-pulse.js +1 -1
- package/dist/effects/mention-glow.cjs +1 -1
- package/dist/effects/mention-glow.js +1 -1
- package/dist/effects/mesh-drift.cjs +1 -1
- package/dist/effects/mesh-drift.js +1 -1
- package/dist/effects/message-in.cjs +1 -1
- package/dist/effects/message-in.js +1 -1
- package/dist/effects/mosaic-flip.cjs +1 -1
- package/dist/effects/mosaic-flip.js +1 -1
- package/dist/effects/neon-ignite.cjs +1 -1
- package/dist/effects/neon-ignite.js +1 -1
- package/dist/effects/neon-pulse.cjs +1 -1
- package/dist/effects/neon-pulse.js +1 -1
- package/dist/effects/neon-write.cjs +1 -1
- package/dist/effects/neon-write.js +1 -1
- package/dist/effects/neu-press.cjs +1 -1
- package/dist/effects/neu-press.js +1 -1
- package/dist/effects/noise-reveal.cjs +1 -1
- package/dist/effects/noise-reveal.js +1 -1
- package/dist/effects/number-roll.cjs +1 -1
- package/dist/effects/number-roll.js +1 -1
- package/dist/effects/orbit-camera.cjs +1 -1
- package/dist/effects/orbit-camera.js +1 -1
- package/dist/effects/orbit-in.cjs +1 -1
- package/dist/effects/orbit-in.js +1 -1
- package/dist/effects/origami.cjs +1 -1
- package/dist/effects/origami.js +1 -1
- package/dist/effects/page-curl.cjs +1 -1
- package/dist/effects/page-curl.js +1 -1
- package/dist/effects/pan-reveal.cjs +1 -1
- package/dist/effects/pan-reveal.js +1 -1
- package/dist/effects/paper-unfold.cjs +1 -1
- package/dist/effects/paper-unfold.js +1 -1
- package/dist/effects/particle-text.cjs +1 -1
- package/dist/effects/particle-text.js +1 -1
- package/dist/effects/path-morph.cjs +1 -1
- package/dist/effects/path-morph.js +1 -1
- package/dist/effects/pearlescent.cjs +1 -1
- package/dist/effects/pearlescent.js +1 -1
- package/dist/effects/pencil-sketch.cjs +1 -1
- package/dist/effects/pencil-sketch.js +1 -1
- package/dist/effects/pin-drop.cjs +1 -1
- package/dist/effects/pin-drop.js +1 -1
- package/dist/effects/pinball.cjs +1 -1
- package/dist/effects/pinball.js +1 -1
- package/dist/effects/pinch-hint.cjs +1 -1
- package/dist/effects/pinch-hint.js +1 -1
- package/dist/effects/pixelate-in.cjs +1 -1
- package/dist/effects/pixelate-in.js +1 -1
- package/dist/effects/pointer-shadow.cjs +1 -1
- package/dist/effects/pointer-shadow.js +1 -1
- package/dist/effects/portal-open.cjs +1 -1
- package/dist/effects/portal-open.js +1 -1
- package/dist/effects/price-flip.cjs +1 -1
- package/dist/effects/price-flip.js +1 -1
- package/dist/effects/product-spin.cjs +1 -1
- package/dist/effects/product-spin.js +1 -1
- package/dist/effects/rack-focus.cjs +1 -1
- package/dist/effects/rack-focus.js +1 -1
- package/dist/effects/radial-spectrum.cjs +1 -1
- package/dist/effects/radial-spectrum.js +1 -1
- package/dist/effects/rain-glass.cjs +1 -1
- package/dist/effects/rain-glass.js +1 -1
- package/dist/effects/reaction-burst.cjs +1 -1
- package/dist/effects/reaction-burst.js +1 -1
- package/dist/effects/read-receipt.cjs +1 -1
- package/dist/effects/read-receipt.js +1 -1
- package/dist/effects/refraction.cjs +1 -1
- package/dist/effects/refraction.js +1 -1
- package/dist/effects/ring-sweep.cjs +1 -1
- package/dist/effects/ring-sweep.js +1 -1
- package/dist/effects/ripple-dissolve.cjs +1 -1
- package/dist/effects/ripple-dissolve.js +1 -1
- package/dist/effects/rope.cjs +1 -1
- package/dist/effects/rope.js +1 -1
- package/dist/effects/route-draw.cjs +1 -1
- package/dist/effects/route-draw.js +1 -1
- package/dist/effects/safe-fade.cjs +1 -1
- package/dist/effects/safe-fade.js +1 -1
- package/dist/effects/sakura.cjs +1 -1
- package/dist/effects/sakura.js +1 -1
- package/dist/effects/sale-shine.cjs +1 -1
- package/dist/effects/sale-shine.js +1 -1
- package/dist/effects/sankey-flow.cjs +1 -1
- package/dist/effects/sankey-flow.js +1 -1
- package/dist/effects/scanline-sweep.cjs +1 -1
- package/dist/effects/scanline-sweep.js +1 -1
- package/dist/effects/shatter.cjs +1 -1
- package/dist/effects/shatter.js +1 -1
- package/dist/effects/smoke.cjs +1 -1
- package/dist/effects/smoke.js +1 -1
- package/dist/effects/snowfall.cjs +1 -1
- package/dist/effects/snowfall.js +1 -1
- package/dist/effects/soft-body.cjs +1 -1
- package/dist/effects/soft-body.js +1 -1
- package/dist/effects/sound-particles.cjs +1 -1
- package/dist/effects/sound-particles.js +1 -1
- package/dist/effects/spatial-float.cjs +1 -1
- package/dist/effects/spatial-float.js +1 -1
- package/dist/effects/spectrum-mirror.cjs +1 -1
- package/dist/effects/spectrum-mirror.js +1 -1
- package/dist/effects/splash.cjs +1 -1
- package/dist/effects/splash.js +1 -1
- package/dist/effects/spooky-float.cjs +1 -1
- package/dist/effects/spooky-float.js +1 -1
- package/dist/effects/stock-pulse.cjs +1 -1
- package/dist/effects/stock-pulse.js +1 -1
- package/dist/effects/stream-text.cjs +1 -1
- package/dist/effects/stream-text.js +1 -1
- package/dist/effects/stroke-draw.cjs +1 -1
- package/dist/effects/stroke-draw.js +1 -1
- package/dist/effects/success-check.cjs +1 -1
- package/dist/effects/success-check.js +1 -1
- package/dist/effects/swipe-hint.cjs +1 -1
- package/dist/effects/swipe-hint.js +1 -1
- package/dist/effects/text-trail.cjs +1 -1
- package/dist/effects/text-trail.js +1 -1
- package/dist/effects/thinking-glow.cjs +1 -1
- package/dist/effects/thinking-glow.js +1 -1
- package/dist/effects/tilt-wobble.cjs +1 -1
- package/dist/effects/tilt-wobble.js +1 -1
- package/dist/effects/typing-dots.cjs +1 -1
- package/dist/effects/typing-dots.js +1 -1
- package/dist/effects/underline-sweep.cjs +1 -1
- package/dist/effects/underline-sweep.js +1 -1
- package/dist/effects/vhs-glitch.cjs +1 -1
- package/dist/effects/vhs-glitch.js +1 -1
- package/dist/effects/vine-grow.cjs +1 -1
- package/dist/effects/vine-grow.js +1 -1
- package/dist/effects/vinyl-spin.cjs +1 -1
- package/dist/effects/vinyl-spin.js +1 -1
- package/dist/effects/voice-wave.cjs +1 -1
- package/dist/effects/voice-wave.js +1 -1
- package/dist/effects/water-drop.cjs +1 -1
- package/dist/effects/water-drop.js +1 -1
- package/dist/effects/watercolor.cjs +1 -1
- package/dist/effects/watercolor.js +1 -1
- package/dist/effects/waveform-scope.cjs +1 -1
- package/dist/effects/waveform-scope.js +1 -1
- package/dist/effects/xmas-snow.cjs +1 -1
- package/dist/effects/xmas-snow.js +1 -1
- package/dist/effects/xp-gain.cjs +1 -1
- package/dist/effects/xp-gain.js +1 -1
- package/dist/effects/y2k-shine.cjs +1 -1
- package/dist/effects/y2k-shine.js +1 -1
- package/dist/element.cjs +1 -1
- package/dist/element.js +1 -1
- package/dist/element.umd.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/llms.txt +1 -1
- package/dist/manifest.json +1 -1
- package/dist/presets/extended.cjs +1 -1
- package/dist/presets/extended.js +1 -1
- package/dist/presets-extended.umd.js +1 -1
- package/dist/react.cjs +1 -1
- package/dist/react.js +1 -1
- package/dist/runtime/drag-snap.cjs +2 -2
- package/dist/runtime/drag-snap.iife.js +1 -1
- package/dist/runtime/drag-snap.js +2 -2
- package/dist/runtime/format-apng.cjs +3 -3
- package/dist/runtime/format-apng.iife.js +1 -1
- package/dist/runtime/format-apng.js +3 -3
- package/dist/runtime/format-css.cjs +3 -3
- package/dist/runtime/format-css.iife.js +1 -1
- package/dist/runtime/format-css.js +3 -3
- package/dist/runtime/format-gif.cjs +3 -3
- package/dist/runtime/format-gif.iife.js +1 -1
- package/dist/runtime/format-gif.js +3 -3
- package/dist/runtime/format-gltf.cjs +2 -2
- package/dist/runtime/format-gltf.iife.js +1 -1
- package/dist/runtime/format-gltf.js +2 -2
- package/dist/runtime/format-motion.cjs +4 -4
- package/dist/runtime/format-motion.iife.js +1 -1
- package/dist/runtime/format-motion.js +4 -4
- package/dist/runtime/format-obj.cjs +2 -2
- package/dist/runtime/format-obj.iife.js +1 -1
- package/dist/runtime/format-obj.js +2 -2
- package/dist/runtime/format-scene.cjs +2 -2
- package/dist/runtime/format-scene.iife.js +1 -1
- package/dist/runtime/format-scene.js +2 -2
- package/dist/runtime/format-sprite.cjs +3 -3
- package/dist/runtime/format-sprite.iife.js +1 -1
- package/dist/runtime/format-sprite.js +3 -3
- package/dist/runtime/format-svg.cjs +3 -3
- package/dist/runtime/format-svg.iife.js +1 -1
- package/dist/runtime/format-svg.js +3 -3
- package/dist/runtime/format-webp.cjs +3 -3
- package/dist/runtime/format-webp.iife.js +1 -1
- package/dist/runtime/format-webp.js +3 -3
- package/dist/runtime/gl.cjs +2 -2
- package/dist/runtime/gl.iife.js +1 -1
- package/dist/runtime/gl.js +2 -2
- package/dist/runtime/gltf-anim.cjs +2 -2
- package/dist/runtime/gltf-anim.iife.js +1 -1
- package/dist/runtime/gltf-anim.js +2 -2
- package/dist/runtime/gltf-decoders.cjs +2 -2
- package/dist/runtime/gltf-decoders.iife.js +1 -1
- package/dist/runtime/gltf-decoders.js +2 -2
- package/dist/runtime/lottie-state.cjs +2 -2
- package/dist/runtime/lottie-state.iife.js +1 -1
- package/dist/runtime/lottie-state.js +2 -2
- package/dist/runtime/physics.cjs +2 -2
- package/dist/runtime/physics.iife.js +1 -1
- package/dist/runtime/physics.js +2 -2
- package/dist/runtime/scroll.cjs +3 -3
- package/dist/runtime/scroll.iife.js +1 -1
- package/dist/runtime/scroll.js +3 -3
- package/dist/runtime/smooth.cjs +2 -2
- package/dist/runtime/smooth.iife.js +1 -1
- package/dist/runtime/smooth.js +2 -2
- package/dist/runtime/text.cjs +2 -2
- package/dist/runtime/text.iife.js +1 -1
- package/dist/runtime/text.js +2 -2
- package/dist/runtime/vector.cjs +3 -3
- package/dist/runtime/vector.iife.js +1 -1
- package/dist/runtime/vector.js +3 -3
- package/dist/runtime.cjs +4 -4
- package/dist/runtime.d.cts +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 +1 -1
- package/dist/widgets/add-to-cart.js +1 -1
- package/dist/widgets/badge-wall.cjs +1 -1
- package/dist/widgets/badge-wall.js +1 -1
- package/dist/widgets/bar-chart.cjs +1 -1
- package/dist/widgets/bar-chart.js +1 -1
- package/dist/widgets/bg-generator.cjs +1 -1
- package/dist/widgets/bg-generator.js +1 -1
- package/dist/widgets/carousel.cjs +1 -1
- package/dist/widgets/carousel.js +1 -1
- package/dist/widgets/cart-drawer.cjs +1 -1
- package/dist/widgets/cart-drawer.js +1 -1
- package/dist/widgets/chapter-nav.cjs +1 -1
- package/dist/widgets/chapter-nav.js +1 -1
- package/dist/widgets/chat-composer.cjs +1 -1
- package/dist/widgets/chat-composer.js +1 -1
- package/dist/widgets/clock-control.cjs +1 -1
- package/dist/widgets/clock-control.js +1 -1
- package/dist/widgets/code-export.cjs +1 -1
- package/dist/widgets/code-export.js +1 -1
- package/dist/widgets/color-picker.cjs +1 -1
- package/dist/widgets/color-picker.js +1 -1
- package/dist/widgets/command-palette.cjs +1 -1
- package/dist/widgets/command-palette.js +1 -1
- package/dist/widgets/compare.cjs +1 -1
- package/dist/widgets/compare.js +1 -1
- package/dist/widgets/countdown.cjs +1 -1
- package/dist/widgets/countdown.js +1 -1
- package/dist/widgets/cube-gallery.cjs +1 -1
- package/dist/widgets/cube-gallery.js +1 -1
- package/dist/widgets/date-picker.cjs +1 -1
- package/dist/widgets/date-picker.js +1 -1
- package/dist/widgets/disclosure.cjs +1 -1
- package/dist/widgets/disclosure.js +1 -1
- package/dist/widgets/dock.cjs +1 -1
- package/dist/widgets/dock.js +1 -1
- package/dist/widgets/dotlottie.cjs +1 -1
- package/dist/widgets/dotlottie.js +1 -1
- package/dist/widgets/equalizer.cjs +1 -1
- package/dist/widgets/equalizer.js +1 -1
- package/dist/widgets/festival-banner.cjs +1 -1
- package/dist/widgets/festival-banner.js +1 -1
- package/dist/widgets/field.cjs +1 -1
- package/dist/widgets/field.js +1 -1
- package/dist/widgets/file-drop.cjs +1 -1
- package/dist/widgets/file-drop.js +1 -1
- package/dist/widgets/gauge.cjs +1 -1
- package/dist/widgets/gauge.js +1 -1
- package/dist/widgets/gen-art.cjs +1 -1
- package/dist/widgets/gen-art.js +1 -1
- package/dist/widgets/gesture-sticker.cjs +1 -1
- package/dist/widgets/gesture-sticker.js +1 -1
- package/dist/widgets/gl-model.cjs +1 -1
- package/dist/widgets/gl-model.js +1 -1
- package/dist/widgets/gl-scene.cjs +2 -2
- package/dist/widgets/gl-scene.js +2 -2
- package/dist/widgets/globe.cjs +1 -1
- package/dist/widgets/globe.js +1 -1
- package/dist/widgets/gpu-particles.cjs +1 -1
- package/dist/widgets/gpu-particles.js +1 -1
- package/dist/widgets/gyro-card.cjs +1 -1
- package/dist/widgets/gyro-card.js +1 -1
- package/dist/widgets/hero-video.cjs +1 -1
- package/dist/widgets/hero-video.js +1 -1
- package/dist/widgets/hud-panel.cjs +1 -1
- package/dist/widgets/hud-panel.js +1 -1
- package/dist/widgets/hydrate.cjs +1 -1
- package/dist/widgets/hydrate.js +1 -1
- package/dist/widgets/install-button.cjs +1 -1
- package/dist/widgets/install-button.js +1 -1
- package/dist/widgets/kanban.cjs +1 -1
- package/dist/widgets/kanban.js +1 -1
- package/dist/widgets/keyframe-editor.cjs +1 -1
- package/dist/widgets/keyframe-editor.js +1 -1
- package/dist/widgets/kpi.cjs +1 -1
- package/dist/widgets/kpi.js +1 -1
- package/dist/widgets/leaderboard.cjs +1 -1
- package/dist/widgets/leaderboard.js +1 -1
- package/dist/widgets/liquid-nav.cjs +1 -1
- package/dist/widgets/liquid-nav.js +1 -1
- package/dist/widgets/location-card.cjs +1 -1
- package/dist/widgets/location-card.js +1 -1
- package/dist/widgets/lottie-icon.cjs +1 -1
- package/dist/widgets/lottie-icon.js +1 -1
- package/dist/widgets/lottie-player.cjs +2 -2
- package/dist/widgets/lottie-player.js +2 -2
- package/dist/widgets/lottie.cjs +1 -1
- package/dist/widgets/lottie.js +1 -1
- package/dist/widgets/lyrics.cjs +1 -1
- package/dist/widgets/lyrics.js +1 -1
- package/dist/widgets/masonry-flow.cjs +1 -1
- package/dist/widgets/masonry-flow.js +1 -1
- package/dist/widgets/menu-toggle.cjs +1 -1
- package/dist/widgets/menu-toggle.js +1 -1
- package/dist/widgets/menu.cjs +1 -1
- package/dist/widgets/menu.js +1 -1
- package/dist/widgets/message-list.cjs +1 -1
- package/dist/widgets/message-list.js +1 -1
- package/dist/widgets/milestones.cjs +1 -1
- package/dist/widgets/milestones.js +1 -1
- package/dist/widgets/modal.cjs +1 -1
- package/dist/widgets/modal.js +1 -1
- package/dist/widgets/motion-inspector.cjs +2 -2
- package/dist/widgets/motion-inspector.js +2 -2
- package/dist/widgets/motion-prefs.cjs +1 -1
- package/dist/widgets/motion-prefs.js +1 -1
- package/dist/widgets/motion-prompt.cjs +1 -1
- package/dist/widgets/motion-prompt.js +1 -1
- package/dist/widgets/motion-spec.cjs +1 -1
- package/dist/widgets/motion-spec.js +1 -1
- package/dist/widgets/motion.cjs +1 -1
- package/dist/widgets/motion.js +1 -1
- package/dist/widgets/music-player.cjs +1 -1
- package/dist/widgets/music-player.js +1 -1
- package/dist/widgets/native-preview.cjs +1 -1
- package/dist/widgets/native-preview.js +1 -1
- package/dist/widgets/nav-morph.cjs +1 -1
- package/dist/widgets/nav-morph.js +1 -1
- package/dist/widgets/notification-bell.cjs +1 -1
- package/dist/widgets/notification-bell.js +1 -1
- package/dist/widgets/odometer.cjs +1 -1
- package/dist/widgets/odometer.js +1 -1
- package/dist/widgets/organic-card.cjs +1 -1
- package/dist/widgets/organic-card.js +1 -1
- package/dist/widgets/otp.cjs +1 -1
- package/dist/widgets/otp.js +1 -1
- package/dist/widgets/pagination.cjs +1 -1
- package/dist/widgets/pagination.js +1 -1
- package/dist/widgets/panorama.cjs +1 -1
- package/dist/widgets/panorama.js +1 -1
- package/dist/widgets/parallax-layers.cjs +1 -1
- package/dist/widgets/parallax-layers.js +1 -1
- package/dist/widgets/pause-all.cjs +1 -1
- package/dist/widgets/pause-all.js +1 -1
- package/dist/widgets/perf-monitor.cjs +1 -1
- package/dist/widgets/perf-monitor.js +1 -1
- package/dist/widgets/physics-playground.cjs +2 -2
- package/dist/widgets/physics-playground.js +2 -2
- package/dist/widgets/plugin-card.cjs +3 -3
- package/dist/widgets/plugin-card.js +3 -3
- package/dist/widgets/plugin-store.cjs +1 -1
- package/dist/widgets/plugin-store.js +1 -1
- package/dist/widgets/presence.cjs +1 -1
- package/dist/widgets/presence.js +1 -1
- package/dist/widgets/prize-wheel.cjs +1 -1
- package/dist/widgets/prize-wheel.js +1 -1
- package/dist/widgets/product-gallery.cjs +1 -1
- package/dist/widgets/product-gallery.js +1 -1
- package/dist/widgets/progress-ring.cjs +1 -1
- package/dist/widgets/progress-ring.js +1 -1
- package/dist/widgets/prop-panel.cjs +1 -1
- package/dist/widgets/prop-panel.js +1 -1
- package/dist/widgets/pull-cord.cjs +1 -1
- package/dist/widgets/pull-cord.js +1 -1
- package/dist/widgets/radar.cjs +1 -1
- package/dist/widgets/radar.js +1 -1
- package/dist/widgets/reactions.cjs +1 -1
- package/dist/widgets/reactions.js +1 -1
- package/dist/widgets/red-envelope.cjs +1 -1
- package/dist/widgets/red-envelope.js +1 -1
- package/dist/widgets/retro-button.cjs +1 -1
- package/dist/widgets/retro-button.js +1 -1
- package/dist/widgets/rive.cjs +1 -1
- package/dist/widgets/rive.js +1 -1
- package/dist/widgets/route-transition.cjs +1 -1
- package/dist/widgets/route-transition.js +1 -1
- package/dist/widgets/scene.cjs +1 -1
- package/dist/widgets/scene.js +1 -1
- package/dist/widgets/scroll-ring.cjs +1 -1
- package/dist/widgets/scroll-ring.js +1 -1
- package/dist/widgets/scroll-scene.cjs +2 -2
- package/dist/widgets/scroll-scene.js +2 -2
- package/dist/widgets/segmented.cjs +1 -1
- package/dist/widgets/segmented.js +1 -1
- package/dist/widgets/shader-backdrop.cjs +1 -1
- package/dist/widgets/shader-backdrop.js +1 -1
- package/dist/widgets/sheet.cjs +1 -1
- package/dist/widgets/sheet.js +1 -1
- package/dist/widgets/shortcut.cjs +1 -1
- package/dist/widgets/shortcut.js +1 -1
- package/dist/widgets/skeleton-reveal.cjs +1 -1
- package/dist/widgets/skeleton-reveal.js +1 -1
- package/dist/widgets/sketch-chart.cjs +1 -1
- package/dist/widgets/sketch-chart.js +1 -1
- package/dist/widgets/smooth-scroll.cjs +2 -2
- package/dist/widgets/smooth-scroll.js +2 -2
- package/dist/widgets/snap-carousel.cjs +1 -1
- package/dist/widgets/snap-carousel.js +1 -1
- package/dist/widgets/sparkline.cjs +1 -1
- package/dist/widgets/sparkline.js +1 -1
- package/dist/widgets/spatial-card.cjs +1 -1
- package/dist/widgets/spatial-card.js +1 -1
- package/dist/widgets/star-rating.cjs +1 -1
- package/dist/widgets/star-rating.js +1 -1
- package/dist/widgets/stepper.cjs +1 -1
- package/dist/widgets/stepper.js +1 -1
- package/dist/widgets/sticky-wall.cjs +1 -1
- package/dist/widgets/sticky-wall.js +1 -1
- package/dist/widgets/stories.cjs +1 -1
- package/dist/widgets/stories.js +1 -1
- package/dist/widgets/suggestion-chips.cjs +1 -1
- package/dist/widgets/suggestion-chips.js +1 -1
- package/dist/widgets/swipe-deck.cjs +1 -1
- package/dist/widgets/swipe-deck.js +1 -1
- package/dist/widgets/switch.cjs +1 -1
- package/dist/widgets/switch.js +1 -1
- package/dist/widgets/tab-bar.cjs +1 -1
- package/dist/widgets/tab-bar.js +1 -1
- package/dist/widgets/terminal.cjs +1 -1
- package/dist/widgets/terminal.js +1 -1
- package/dist/widgets/text-splitter.cjs +3 -3
- package/dist/widgets/text-splitter.js +3 -3
- package/dist/widgets/theme-surface.cjs +1 -1
- package/dist/widgets/theme-surface.js +1 -1
- package/dist/widgets/theme-switcher.cjs +1 -1
- package/dist/widgets/theme-switcher.js +1 -1
- package/dist/widgets/tip.cjs +1 -1
- package/dist/widgets/tip.js +1 -1
- package/dist/widgets/toast-stack.cjs +1 -1
- package/dist/widgets/toast-stack.js +1 -1
- package/dist/widgets/token-editor.cjs +1 -1
- package/dist/widgets/token-editor.js +1 -1
- package/dist/widgets/upload-progress.cjs +1 -1
- package/dist/widgets/upload-progress.js +1 -1
- package/dist/widgets/video-card.cjs +1 -1
- package/dist/widgets/video-card.js +1 -1
- package/dist/widgets/voice-button.cjs +1 -1
- package/dist/widgets/voice-button.js +1 -1
- package/dist/widgets/volume-knob.cjs +1 -1
- package/dist/widgets/volume-knob.js +1 -1
- package/dist/widgets/weather-card.cjs +1 -1
- package/dist/widgets/weather-card.js +1 -1
- package/dist/widgets/worker-canvas.cjs +1 -1
- package/dist/widgets/worker-canvas.js +1 -1
- package/dist/widgets/xp-bar.cjs +1 -1
- package/dist/widgets/xp-bar.js +1 -1
- package/dist/widgets.umd.js +2 -2
- package/docs/performance.md +5 -5
- package/docs/versions.md +1 -1
- package/package.json +1 -1
package/dist/components/lite.cjs
CHANGED
|
@@ -277,8 +277,6 @@ function defineElement(tag, make, css) {
|
|
|
277
277
|
if (!canDefine())
|
|
278
278
|
return undefined;
|
|
279
279
|
adoptStyles('base', BASE_CSS);
|
|
280
|
-
if (css)
|
|
281
|
-
adoptStyles(css.id, css.text);
|
|
282
280
|
const existing = customElements.get(tag);
|
|
283
281
|
if (existing)
|
|
284
282
|
return existing;
|
|
@@ -489,6 +487,16 @@ const COMPONENT_CATEGORIES = {
|
|
|
489
487
|
fx: ['usa-fx'],
|
|
490
488
|
};
|
|
491
489
|
|
|
490
|
+
const categoryByTag = /*#__PURE__*/ new Map();
|
|
491
|
+
for (const [category, tags] of Object.entries(COMPONENT_CATEGORIES)) {
|
|
492
|
+
for (const tag of tags)
|
|
493
|
+
categoryByTag.set(tag, category);
|
|
494
|
+
}
|
|
495
|
+
/** Resolve either default element name without loading its component implementation. */
|
|
496
|
+
function categoryForTag(tag) {
|
|
497
|
+
return categoryByTag.get(tag.replace(/^mo-/, 'usa-'));
|
|
498
|
+
}
|
|
499
|
+
|
|
492
500
|
/**
|
|
493
501
|
* motionary/components/perf — performance toolkit (4.5).
|
|
494
502
|
*
|
|
@@ -560,13 +568,11 @@ function autoDegrade(options = {}) {
|
|
|
560
568
|
set(false, '');
|
|
561
569
|
};
|
|
562
570
|
}
|
|
563
|
-
const TAG_CATEGORY = {};
|
|
564
|
-
for (const [cat, tags] of Object.entries(COMPONENT_CATEGORIES))
|
|
565
|
-
for (const t of tags)
|
|
566
|
-
TAG_CATEGORY[t] = cat;
|
|
567
|
-
/** The category of a default `<usa-*>` tag. */
|
|
568
|
-
const categoryOf = (tag) => TAG_CATEGORY[tag];
|
|
569
571
|
const loaded = /*#__PURE__*/ new Set();
|
|
572
|
+
/** Categories with a pending or loaded Motionary stylesheet. */
|
|
573
|
+
function loadedStyles() {
|
|
574
|
+
return [...loaded];
|
|
575
|
+
}
|
|
570
576
|
/**
|
|
571
577
|
* Add `<link rel="stylesheet" href="{base}components/{category}.css">` once.
|
|
572
578
|
* `base` is the URL of the package's `dist/` folder.
|
|
@@ -574,11 +580,15 @@ const loaded = /*#__PURE__*/ new Set();
|
|
|
574
580
|
function loadCategoryStyles(category, base) {
|
|
575
581
|
if (typeof document === 'undefined' || loaded.has(category))
|
|
576
582
|
return null;
|
|
577
|
-
loaded.add(category);
|
|
578
583
|
const link = document.createElement('link');
|
|
579
584
|
link.rel = 'stylesheet';
|
|
580
|
-
link.href = `${base.replace(/\/?$/, '/')}${category === 'all' ? '
|
|
581
|
-
link.
|
|
585
|
+
link.href = `${base.replace(/\/?$/, '/')}components${category === 'all' ? '' : '/' + category}.css`;
|
|
586
|
+
link.dataset.usaCss = category;
|
|
587
|
+
loaded.add(category);
|
|
588
|
+
link.addEventListener('error', () => {
|
|
589
|
+
loaded.delete(category);
|
|
590
|
+
link.remove();
|
|
591
|
+
}, { once: true });
|
|
582
592
|
document.head.append(link);
|
|
583
593
|
return link;
|
|
584
594
|
}
|
|
@@ -587,11 +597,9 @@ function loadCategoryStyles(category, base) {
|
|
|
587
597
|
* (custom tags fall back to the full stylesheet). Returns an undo.
|
|
588
598
|
*/
|
|
589
599
|
function onDemandStyles(base) {
|
|
590
|
-
setStyleLoader((tag) => loadCategoryStyles(
|
|
600
|
+
setStyleLoader((tag) => loadCategoryStyles(categoryForTag(tag) || 'all', base));
|
|
591
601
|
return () => setStyleLoader(null);
|
|
592
602
|
}
|
|
593
|
-
/** Categories whose CSS has been requested so far. */
|
|
594
|
-
const loadedStyles = () => Array.from(loaded);
|
|
595
603
|
|
|
596
604
|
/** Entrance effects shared by `<usa-reveal>` and `<usa-stagger>` (transform / opacity / filter only). */
|
|
597
605
|
const REVEAL_EFFECTS = [
|
|
@@ -660,7 +668,7 @@ function revealKeyframes(effect, distance) {
|
|
|
660
668
|
return [from, to];
|
|
661
669
|
}
|
|
662
670
|
|
|
663
|
-
var css
|
|
671
|
+
var css = "";
|
|
664
672
|
|
|
665
673
|
function defineReveal(tag = 'usa-reveal') {
|
|
666
674
|
return defineElement(tag, (Base) => class UsaReveal extends Base {
|
|
@@ -735,7 +743,7 @@ function defineReveal(tag = 'usa-reveal') {
|
|
|
735
743
|
if (!this.reduced)
|
|
736
744
|
this.setAttribute('data-state', 'hidden');
|
|
737
745
|
}
|
|
738
|
-
}
|
|
746
|
+
});
|
|
739
747
|
}
|
|
740
748
|
|
|
741
749
|
function defineStagger(tag = 'usa-stagger') {
|
|
@@ -801,11 +809,9 @@ function defineStagger(tag = 'usa-stagger') {
|
|
|
801
809
|
if (!this.reduced)
|
|
802
810
|
this.setAttribute('data-state', 'hidden');
|
|
803
811
|
}
|
|
804
|
-
}
|
|
812
|
+
});
|
|
805
813
|
}
|
|
806
814
|
|
|
807
|
-
var css$12 = "";
|
|
808
|
-
|
|
809
815
|
/** Progress (0–1) of `target` scrolling through the viewport, or of the page. */
|
|
810
816
|
function readScrollProgress(target) {
|
|
811
817
|
if (typeof window === 'undefined')
|
|
@@ -873,11 +879,9 @@ function defineScrollProgress(tag = 'usa-scroll-progress') {
|
|
|
873
879
|
this.setAttribute('aria-valuenow', pct);
|
|
874
880
|
this.emit('progress', { progress: p });
|
|
875
881
|
}
|
|
876
|
-
}
|
|
882
|
+
});
|
|
877
883
|
}
|
|
878
884
|
|
|
879
|
-
var css$11 = "";
|
|
880
|
-
|
|
881
885
|
function defineScrolly(tag = 'usa-scrolly') {
|
|
882
886
|
return defineElement(tag, (Base) => class UsaScrolly extends Base {
|
|
883
887
|
constructor() {
|
|
@@ -928,7 +932,7 @@ function defineScrolly(tag = 'usa-scrolly') {
|
|
|
928
932
|
if (!silent)
|
|
929
933
|
this.emit('step', { index, step, name: step.dataset.step || '' });
|
|
930
934
|
}
|
|
931
|
-
}
|
|
935
|
+
});
|
|
932
936
|
}
|
|
933
937
|
|
|
934
938
|
/**
|
|
@@ -943,8 +947,6 @@ function defineRevealComponents() {
|
|
|
943
947
|
defineScrolly();
|
|
944
948
|
}
|
|
945
949
|
|
|
946
|
-
var css$10 = "";
|
|
947
|
-
|
|
948
950
|
function defineTypewriter(tag = 'usa-typewriter') {
|
|
949
951
|
return defineElement(tag, (Base) => class UsaTypewriter extends Base {
|
|
950
952
|
constructor() {
|
|
@@ -1057,11 +1059,9 @@ function defineTypewriter(tag = 'usa-typewriter') {
|
|
|
1057
1059
|
};
|
|
1058
1060
|
this._timer = setTimeout(tick, this.num('delay', 0));
|
|
1059
1061
|
}
|
|
1060
|
-
}
|
|
1062
|
+
});
|
|
1061
1063
|
}
|
|
1062
1064
|
|
|
1063
|
-
var css$$ = "";
|
|
1064
|
-
|
|
1065
1065
|
/**
|
|
1066
1066
|
* Motion design tokens 2.0 (10.6): the W3C Design Tokens Community Group
|
|
1067
1067
|
* format (DTCG, stable 2025.10) — import with alias resolution and
|
|
@@ -2049,7 +2049,7 @@ function defineSplitText(tag = 'usa-split-text') {
|
|
|
2049
2049
|
clearTimeout(this._timer);
|
|
2050
2050
|
this.setAttribute('data-state', this.reduced ? 'shown' : 'hidden');
|
|
2051
2051
|
}
|
|
2052
|
-
}
|
|
2052
|
+
});
|
|
2053
2053
|
}
|
|
2054
2054
|
|
|
2055
2055
|
const GLYPHS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789#%&*+=<>/\\?!';
|
|
@@ -2140,11 +2140,9 @@ function defineScramble(tag = 'usa-scramble') {
|
|
|
2140
2140
|
this._frame = raf(step);
|
|
2141
2141
|
});
|
|
2142
2142
|
}
|
|
2143
|
-
}
|
|
2143
|
+
});
|
|
2144
2144
|
}
|
|
2145
2145
|
|
|
2146
|
-
var css$_ = "";
|
|
2147
|
-
|
|
2148
2146
|
/** easeOutExpo */
|
|
2149
2147
|
const easeOutExpo = (t) => (t >= 1 ? 1 : 1 - Math.pow(2, -10 * t));
|
|
2150
2148
|
function defineCounter(tag = 'usa-counter') {
|
|
@@ -2243,11 +2241,9 @@ function defineCounter(tag = 'usa-counter') {
|
|
|
2243
2241
|
this._frame = raf(step);
|
|
2244
2242
|
});
|
|
2245
2243
|
}
|
|
2246
|
-
}
|
|
2244
|
+
});
|
|
2247
2245
|
}
|
|
2248
2246
|
|
|
2249
|
-
var css$Z = "";
|
|
2250
|
-
|
|
2251
2247
|
function defineShimmerText(tag = 'usa-shimmer-text') {
|
|
2252
2248
|
return defineElement(tag, (Base) => class UsaShimmerText extends Base {
|
|
2253
2249
|
static get observedAttributes() {
|
|
@@ -2266,11 +2262,9 @@ function defineShimmerText(tag = 'usa-shimmer-text') {
|
|
|
2266
2262
|
set('shine', '--usa-shimmer-shine');
|
|
2267
2263
|
set('angle', '--usa-shimmer-angle', 'deg');
|
|
2268
2264
|
}
|
|
2269
|
-
}
|
|
2265
|
+
});
|
|
2270
2266
|
}
|
|
2271
2267
|
|
|
2272
|
-
var css$Y = "";
|
|
2273
|
-
|
|
2274
2268
|
function defineTextRotate(tag = 'usa-text-rotate') {
|
|
2275
2269
|
return defineElement(tag, (Base) => class UsaTextRotate extends Base {
|
|
2276
2270
|
constructor() {
|
|
@@ -2341,11 +2335,9 @@ function defineTextRotate(tag = 'usa-text-rotate') {
|
|
|
2341
2335
|
this.motion(cur, [inFrom, pick(inFrom)], { duration: 520, easing: effect === 'slide' ? EASE_SPRING : EASE_OUT });
|
|
2342
2336
|
this.emit('change', { index: this._index, word: cur.textContent });
|
|
2343
2337
|
}
|
|
2344
|
-
}
|
|
2338
|
+
});
|
|
2345
2339
|
}
|
|
2346
2340
|
|
|
2347
|
-
var css$X = "";
|
|
2348
|
-
|
|
2349
2341
|
/** Split `text` into per-character spans (words never break). The animated copy is aria-hidden. */
|
|
2350
2342
|
function splitChars(host, text) {
|
|
2351
2343
|
const vis = document.createElement('span');
|
|
@@ -2381,7 +2373,7 @@ function defineWaveText(tag = 'usa-wave-text') {
|
|
|
2381
2373
|
this.style.setProperty('--usa-wave-s', `${this.num('speed', 1.6)}s`);
|
|
2382
2374
|
this.style.setProperty('--usa-wave-d', `${this.num('stagger', 0.06)}s`);
|
|
2383
2375
|
}
|
|
2384
|
-
}
|
|
2376
|
+
});
|
|
2385
2377
|
}
|
|
2386
2378
|
function defineGlitch(tag = 'usa-glitch') {
|
|
2387
2379
|
return defineElement(tag, (Base) => class extends Base {
|
|
@@ -2393,7 +2385,7 @@ function defineGlitch(tag = 'usa-glitch') {
|
|
|
2393
2385
|
if (!this.firstChild)
|
|
2394
2386
|
this.textContent = t;
|
|
2395
2387
|
}
|
|
2396
|
-
}
|
|
2388
|
+
});
|
|
2397
2389
|
}
|
|
2398
2390
|
function defineGradientText(tag = 'usa-gradient-text') {
|
|
2399
2391
|
return defineElement(tag, (Base) => class extends Base {
|
|
@@ -2403,7 +2395,7 @@ function defineGradientText(tag = 'usa-gradient-text') {
|
|
|
2403
2395
|
this.style.setProperty('--usa-grad', `linear-gradient(${this.num('angle', 90)}deg, ${[...c, c[0]].join(', ')})`);
|
|
2404
2396
|
this.style.setProperty('--usa-grad-s', `${this.num('speed', 6)}s`);
|
|
2405
2397
|
}
|
|
2406
|
-
}
|
|
2398
|
+
});
|
|
2407
2399
|
}
|
|
2408
2400
|
function defineHandwriting(tag = 'usa-handwriting') {
|
|
2409
2401
|
return defineElement(tag, (Base) => class extends Base {
|
|
@@ -2436,7 +2428,7 @@ function defineHandwriting(tag = 'usa-handwriting') {
|
|
|
2436
2428
|
this.emit('complete');
|
|
2437
2429
|
}, this.reduced ? 0 : this.num('duration', 2400));
|
|
2438
2430
|
}
|
|
2439
|
-
}
|
|
2431
|
+
});
|
|
2440
2432
|
}
|
|
2441
2433
|
function defineScrollHighlight(tag = 'usa-scroll-highlight') {
|
|
2442
2434
|
return defineElement(tag, (Base) => class extends Base {
|
|
@@ -2500,7 +2492,7 @@ function defineScrollHighlight(tag = 'usa-scroll-highlight') {
|
|
|
2500
2492
|
caf(this._f);
|
|
2501
2493
|
this._f = 0;
|
|
2502
2494
|
}
|
|
2503
|
-
}
|
|
2495
|
+
});
|
|
2504
2496
|
}
|
|
2505
2497
|
|
|
2506
2498
|
/**
|
|
@@ -2523,8 +2515,6 @@ function defineTextComponents() {
|
|
|
2523
2515
|
defineScrollHighlight();
|
|
2524
2516
|
}
|
|
2525
2517
|
|
|
2526
|
-
var css$W = "";
|
|
2527
|
-
|
|
2528
2518
|
function defineRipple(tag = 'usa-ripple') {
|
|
2529
2519
|
return defineElement(tag, (Base) => class UsaRipple extends Base {
|
|
2530
2520
|
static get observedAttributes() {
|
|
@@ -2570,11 +2560,9 @@ function defineRipple(tag = 'usa-ripple') {
|
|
|
2570
2560
|
else
|
|
2571
2561
|
setTimeout(() => wave.remove(), 0);
|
|
2572
2562
|
}
|
|
2573
|
-
}
|
|
2563
|
+
});
|
|
2574
2564
|
}
|
|
2575
2565
|
|
|
2576
|
-
var css$V = "";
|
|
2577
|
-
|
|
2578
2566
|
function defineMagnetic(tag = 'usa-magnetic') {
|
|
2579
2567
|
return defineElement(tag, (Base) => class UsaMagnetic extends Base {
|
|
2580
2568
|
constructor() {
|
|
@@ -2630,11 +2618,9 @@ function defineMagnetic(tag = 'usa-magnetic') {
|
|
|
2630
2618
|
unmount() {
|
|
2631
2619
|
this.release();
|
|
2632
2620
|
}
|
|
2633
|
-
}
|
|
2621
|
+
});
|
|
2634
2622
|
}
|
|
2635
2623
|
|
|
2636
|
-
var css$U = "";
|
|
2637
|
-
|
|
2638
2624
|
function defineTilt(tag = 'usa-tilt') {
|
|
2639
2625
|
return defineElement(tag, (Base) => class UsaTilt extends Base {
|
|
2640
2626
|
constructor() {
|
|
@@ -2702,11 +2688,9 @@ function defineTilt(tag = 'usa-tilt') {
|
|
|
2702
2688
|
unmount() {
|
|
2703
2689
|
this.reset();
|
|
2704
2690
|
}
|
|
2705
|
-
}
|
|
2691
|
+
});
|
|
2706
2692
|
}
|
|
2707
2693
|
|
|
2708
|
-
var css$T = "";
|
|
2709
|
-
|
|
2710
2694
|
function defineSpotlight(tag = 'usa-spotlight') {
|
|
2711
2695
|
return defineElement(tag, (Base) => class UsaSpotlight extends Base {
|
|
2712
2696
|
constructor() {
|
|
@@ -2768,11 +2752,9 @@ function defineSpotlight(tag = 'usa-spotlight') {
|
|
|
2768
2752
|
this._frame = 0;
|
|
2769
2753
|
this.removeAttribute('data-lit');
|
|
2770
2754
|
}
|
|
2771
|
-
}
|
|
2755
|
+
});
|
|
2772
2756
|
}
|
|
2773
2757
|
|
|
2774
|
-
var css$S = "";
|
|
2775
|
-
|
|
2776
2758
|
function definePress(tag = 'usa-press') {
|
|
2777
2759
|
return defineElement(tag, (Base) => class UsaPress extends Base {
|
|
2778
2760
|
constructor() {
|
|
@@ -2835,7 +2817,7 @@ function definePress(tag = 'usa-press') {
|
|
|
2835
2817
|
this._anim = null;
|
|
2836
2818
|
this.removeAttribute('data-pressed');
|
|
2837
2819
|
}
|
|
2838
|
-
}
|
|
2820
|
+
});
|
|
2839
2821
|
}
|
|
2840
2822
|
|
|
2841
2823
|
/**
|
|
@@ -2852,8 +2834,6 @@ function defineInteractionComponents() {
|
|
|
2852
2834
|
definePress();
|
|
2853
2835
|
}
|
|
2854
2836
|
|
|
2855
|
-
var css$R = "";
|
|
2856
|
-
|
|
2857
2837
|
const SPINNER_VARIANTS = ['fluent', 'windows', 'ring', 'dots', 'pulse', 'bars'];
|
|
2858
2838
|
function markup(variant) {
|
|
2859
2839
|
switch (variant) {
|
|
@@ -2898,11 +2878,9 @@ function defineSpinner(tag = 'usa-spinner') {
|
|
|
2898
2878
|
if (!this.hasAttribute('aria-label') || this.hasAttribute('label'))
|
|
2899
2879
|
this.setAttribute('aria-label', this.str('label', 'Loading'));
|
|
2900
2880
|
}
|
|
2901
|
-
}
|
|
2881
|
+
});
|
|
2902
2882
|
}
|
|
2903
2883
|
|
|
2904
|
-
var css$Q = "";
|
|
2905
|
-
|
|
2906
2884
|
function defineSkeleton(tag = 'usa-skeleton') {
|
|
2907
2885
|
return defineElement(tag, (Base) => class UsaSkeleton extends Base {
|
|
2908
2886
|
constructor() {
|
|
@@ -2981,11 +2959,9 @@ function defineSkeleton(tag = 'usa-skeleton') {
|
|
|
2981
2959
|
}
|
|
2982
2960
|
this.emit('loaded');
|
|
2983
2961
|
}
|
|
2984
|
-
}
|
|
2962
|
+
});
|
|
2985
2963
|
}
|
|
2986
2964
|
|
|
2987
|
-
var css$P = "";
|
|
2988
|
-
|
|
2989
2965
|
function defineProgress(tag = 'usa-progress') {
|
|
2990
2966
|
return defineElement(tag, (Base) => class UsaProgress extends Base {
|
|
2991
2967
|
constructor() {
|
|
@@ -3047,11 +3023,9 @@ function defineProgress(tag = 'usa-progress') {
|
|
|
3047
3023
|
if (ratio === 1)
|
|
3048
3024
|
this.emit('complete');
|
|
3049
3025
|
}
|
|
3050
|
-
}
|
|
3026
|
+
});
|
|
3051
3027
|
}
|
|
3052
3028
|
|
|
3053
|
-
var css$O = "";
|
|
3054
|
-
|
|
3055
3029
|
const ICONS = {
|
|
3056
3030
|
info: '<path d="M12 8h.01M11 12h1v5h1"/>',
|
|
3057
3031
|
success: '<path d="m8 12.5 3 3 5-6"/>',
|
|
@@ -3166,7 +3140,7 @@ function defineToaster(tag = 'usa-toaster') {
|
|
|
3166
3140
|
clear() {
|
|
3167
3141
|
this.querySelectorAll('.usa-toast').forEach((t) => t._close?.());
|
|
3168
3142
|
}
|
|
3169
|
-
}
|
|
3143
|
+
});
|
|
3170
3144
|
}
|
|
3171
3145
|
/**
|
|
3172
3146
|
* Show a toast. Defines `<usa-toaster>` and adds one to `<body>` if the
|
|
@@ -3187,8 +3161,6 @@ function toast(message, options = {}) {
|
|
|
3187
3161
|
return host.show(message, options);
|
|
3188
3162
|
}
|
|
3189
3163
|
|
|
3190
|
-
var css$N = "";
|
|
3191
|
-
|
|
3192
3164
|
const PATHS = {
|
|
3193
3165
|
success: 'M15 27 l7 7 l14 -15',
|
|
3194
3166
|
error: 'M18 18 L34 34 M34 18 L18 34',
|
|
@@ -3264,7 +3236,7 @@ function defineCheck(tag = 'usa-check') {
|
|
|
3264
3236
|
done();
|
|
3265
3237
|
});
|
|
3266
3238
|
}
|
|
3267
|
-
}
|
|
3239
|
+
});
|
|
3268
3240
|
}
|
|
3269
3241
|
|
|
3270
3242
|
/**
|
|
@@ -3281,8 +3253,6 @@ function defineFeedbackComponents() {
|
|
|
3281
3253
|
defineCheck();
|
|
3282
3254
|
}
|
|
3283
3255
|
|
|
3284
|
-
var css$M = "";
|
|
3285
|
-
|
|
3286
3256
|
function defineAurora(tag = 'usa-aurora') {
|
|
3287
3257
|
return defineElement(tag, (Base) => class UsaAurora extends Base {
|
|
3288
3258
|
constructor() {
|
|
@@ -3309,11 +3279,9 @@ function defineAurora(tag = 'usa-aurora') {
|
|
|
3309
3279
|
this.style.setProperty('--usa-aurora-opacity', String(this.num('intensity', 0.7)));
|
|
3310
3280
|
this.inView((v) => this.toggleAttribute('data-offscreen', !v));
|
|
3311
3281
|
}
|
|
3312
|
-
}
|
|
3282
|
+
});
|
|
3313
3283
|
}
|
|
3314
3284
|
|
|
3315
|
-
var css$L = "";
|
|
3316
|
-
|
|
3317
3285
|
function defineParticles(tag = 'usa-particles') {
|
|
3318
3286
|
return defineElement(tag, (Base) => class UsaParticles extends Base {
|
|
3319
3287
|
constructor() {
|
|
@@ -3471,11 +3439,9 @@ function defineParticles(tag = 'usa-particles') {
|
|
|
3471
3439
|
}
|
|
3472
3440
|
ctx.globalAlpha = 1;
|
|
3473
3441
|
}
|
|
3474
|
-
}
|
|
3442
|
+
});
|
|
3475
3443
|
}
|
|
3476
3444
|
|
|
3477
|
-
var css$K = "";
|
|
3478
|
-
|
|
3479
3445
|
const noise = (freq) => `url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='${freq}' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 1.6 -0.3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")`;
|
|
3480
3446
|
function defineGrain(tag = 'usa-grain') {
|
|
3481
3447
|
return defineElement(tag, (Base) => class UsaGrain extends Base {
|
|
@@ -3499,11 +3465,9 @@ function defineGrain(tag = 'usa-grain') {
|
|
|
3499
3465
|
s.opacity = String(this.num('opacity', 0.12));
|
|
3500
3466
|
s.mixBlendMode = this.str('blend', 'overlay');
|
|
3501
3467
|
}
|
|
3502
|
-
}
|
|
3468
|
+
});
|
|
3503
3469
|
}
|
|
3504
3470
|
|
|
3505
|
-
var css$J = "";
|
|
3506
|
-
|
|
3507
3471
|
function defineMarquee(tag = 'usa-marquee') {
|
|
3508
3472
|
return defineElement(tag, (Base) => class UsaMarquee extends Base {
|
|
3509
3473
|
constructor() {
|
|
@@ -3622,11 +3586,9 @@ function defineMarquee(tag = 'usa-marquee') {
|
|
|
3622
3586
|
else
|
|
3623
3587
|
super.changed(name);
|
|
3624
3588
|
}
|
|
3625
|
-
}
|
|
3589
|
+
});
|
|
3626
3590
|
}
|
|
3627
3591
|
|
|
3628
|
-
var css$I = "";
|
|
3629
|
-
|
|
3630
3592
|
function defineAcrylic(tag = 'usa-acrylic') {
|
|
3631
3593
|
return defineElement(tag, (Base) => class UsaAcrylic extends Base {
|
|
3632
3594
|
static get observedAttributes() {
|
|
@@ -3646,11 +3608,9 @@ function defineAcrylic(tag = 'usa-acrylic') {
|
|
|
3646
3608
|
this.setAttribute('data-shine', '');
|
|
3647
3609
|
}
|
|
3648
3610
|
}
|
|
3649
|
-
}
|
|
3611
|
+
});
|
|
3650
3612
|
}
|
|
3651
3613
|
|
|
3652
|
-
var css$H = "";
|
|
3653
|
-
|
|
3654
3614
|
/** Shared canvas setup: DPR ≤ 2, resize with the host, run only while visible & tab shown. */
|
|
3655
3615
|
function canvasLoop(host, draw, still) {
|
|
3656
3616
|
const c = document.createElement('canvas');
|
|
@@ -3727,7 +3687,7 @@ function defineGridGlow(tag = 'usa-grid-glow') {
|
|
|
3727
3687
|
});
|
|
3728
3688
|
this.onCleanup(() => caf(f));
|
|
3729
3689
|
}
|
|
3730
|
-
}
|
|
3690
|
+
});
|
|
3731
3691
|
}
|
|
3732
3692
|
function defineBlobs(tag = 'usa-blobs') {
|
|
3733
3693
|
return defineElement(tag, (Base) => class extends Base {
|
|
@@ -3745,7 +3705,7 @@ function defineBlobs(tag = 'usa-blobs') {
|
|
|
3745
3705
|
this.style.setProperty('--usa-blobs-speed', String(this.num('speed', 1)));
|
|
3746
3706
|
this.style.setProperty('--usa-blobs-blur', `${this.num('blur', 60)}px`);
|
|
3747
3707
|
}
|
|
3748
|
-
}
|
|
3708
|
+
});
|
|
3749
3709
|
}
|
|
3750
3710
|
function defineWaterRipple(tag = 'usa-water-ripple') {
|
|
3751
3711
|
return defineElement(tag, (Base) => class extends Base {
|
|
@@ -3811,7 +3771,7 @@ function defineWaterRipple(tag = 'usa-water-ripple') {
|
|
|
3811
3771
|
this.drop(e.clientX - r.left, e.clientY - r.top, 1.5);
|
|
3812
3772
|
});
|
|
3813
3773
|
}
|
|
3814
|
-
}
|
|
3774
|
+
});
|
|
3815
3775
|
}
|
|
3816
3776
|
function defineDotNetwork(tag = 'usa-dot-network') {
|
|
3817
3777
|
return defineElement(tag, (Base) => class extends Base {
|
|
@@ -3857,11 +3817,9 @@ function defineDotNetwork(tag = 'usa-dot-network') {
|
|
|
3857
3817
|
}
|
|
3858
3818
|
}, this.reduced);
|
|
3859
3819
|
}
|
|
3860
|
-
}
|
|
3820
|
+
});
|
|
3861
3821
|
}
|
|
3862
3822
|
|
|
3863
|
-
var css$G = "";
|
|
3864
|
-
|
|
3865
3823
|
/**
|
|
3866
3824
|
* Style variants (v2.6): `variant="minimal | neon | glass | brutalist |
|
|
3867
3825
|
* fluent | material"` on any `<usa-*>` element — or on any ancestor as
|
|
@@ -3878,7 +3836,7 @@ var css$G = "";
|
|
|
3878
3836
|
const VARIANTS = ['minimal', 'neon', 'glass', 'brutalist', 'fluent', 'material'];
|
|
3879
3837
|
/** Inject the variant token sheet (done automatically by every `ui` component). */
|
|
3880
3838
|
function adoptVariants() {
|
|
3881
|
-
adoptStyles('variants', css
|
|
3839
|
+
adoptStyles('variants', css);
|
|
3882
3840
|
}
|
|
3883
3841
|
/** Apply a variant to the whole page (or `root`); `null` removes it. */
|
|
3884
3842
|
function setVariant(variant, root = typeof document !== 'undefined' ? document.documentElement : null) {
|
|
@@ -3891,8 +3849,6 @@ function setVariant(variant, root = typeof document !== 'undefined' ? document.d
|
|
|
3891
3849
|
root.removeAttribute('data-usa-variant');
|
|
3892
3850
|
}
|
|
3893
3851
|
|
|
3894
|
-
var css$F = "";
|
|
3895
|
-
|
|
3896
3852
|
/**
|
|
3897
3853
|
* Windows 11 **Fluent preset** (v2.8): applies the `fluent` variant
|
|
3898
3854
|
* (Segoe UI Variable, Windows accent, 8 px radii), a Mica-style tinted
|
|
@@ -3906,7 +3862,7 @@ function fluentPreset(options = {}) {
|
|
|
3906
3862
|
if (typeof document === 'undefined')
|
|
3907
3863
|
return () => undefined;
|
|
3908
3864
|
const root = options.root || document.documentElement;
|
|
3909
|
-
adoptStyles('fluent-preset', css
|
|
3865
|
+
adoptStyles('fluent-preset', css);
|
|
3910
3866
|
setVariant('fluent', root);
|
|
3911
3867
|
root.classList.add('usa-fluent');
|
|
3912
3868
|
if (options.mica !== false)
|
|
@@ -3969,8 +3925,6 @@ function defineBackgroundComponents() {
|
|
|
3969
3925
|
|
|
3970
3926
|
var shadowCss = ":host{display:contents}dialog{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;background:transparent;color:inherit;overflow:hidden}dialog:not([open]){display:none}dialog::backdrop{background:transparent}[part=\"backdrop\"]{position:absolute;inset:0;background:var(--usa-dialog-backdrop,rgb(0 0 0 / 0.42))}[part=\"panel\"]{position:absolute;left:50%;top:50%;translate:-50% -50%;box-sizing:border-box;width:min(var(--usa-dialog-width,480px),calc(100vw - 32px));max-height:calc(100vh - 32px);overflow:auto;padding:var(--usa-dialog-padding,24px);border-radius:var(--usa-dialog-radius,12px);background:var(--usa-dialog-bg,Canvas);color:var(--usa-dialog-fg,CanvasText);box-shadow:0 32px 64px -12px rgb(0 0 0 / 0.45),0 0 0 1px rgb(127 127 127 / 0.18)}dialog[data-kind^=\"drawer\"] [part=\"panel\"]{top:0;bottom:0;translate:none;max-height:none;height:100%;border-radius:0;width:min(var(--usa-dialog-width,380px),88vw)}dialog[data-kind=\"drawer-start\"] [part=\"panel\"]{left:0}dialog[data-kind=\"drawer-end\"] [part=\"panel\"]{left:auto;right:0}dialog[data-kind=\"drawer-bottom\"] [part=\"panel\"],dialog[data-kind=\"sheet\"] [part=\"panel\"]{top:auto;bottom:0;left:0;right:0;translate:none;width:100%;height:auto;max-height:85vh;border-radius:var(--usa-dialog-radius,16px) var(--usa-dialog-radius,16px) 0 0}dialog[data-kind=\"sheet\"] [part=\"panel\"]{left:50%;translate:-50% 0;width:min(var(--usa-dialog-width,560px),100vw)}";
|
|
3971
3927
|
|
|
3972
|
-
var css$E = "";
|
|
3973
|
-
|
|
3974
3928
|
const FROM = {
|
|
3975
3929
|
modal: 'scale(0.94)',
|
|
3976
3930
|
'drawer-start': 'translateX(-100%)',
|
|
@@ -4124,11 +4078,9 @@ function defineDialog(tag = 'usa-dialog') {
|
|
|
4124
4078
|
const b = this._backdrop ? this.motion(this._backdrop, backdrop, { duration, easing: 'linear', fill }) : null;
|
|
4125
4079
|
return Promise.all([a?.finished, b?.finished].map((p) => p?.catch(() => undefined))).then(() => undefined);
|
|
4126
4080
|
}
|
|
4127
|
-
}
|
|
4081
|
+
});
|
|
4128
4082
|
}
|
|
4129
4083
|
|
|
4130
|
-
var css$D = "";
|
|
4131
|
-
|
|
4132
4084
|
function defineAccordion(tag = 'usa-accordion') {
|
|
4133
4085
|
return defineElement(tag, (Base) => class UsaAccordion extends Base {
|
|
4134
4086
|
constructor() {
|
|
@@ -4193,11 +4145,9 @@ function defineAccordion(tag = 'usa-accordion') {
|
|
|
4193
4145
|
d.removeAttribute('data-closing');
|
|
4194
4146
|
}
|
|
4195
4147
|
}
|
|
4196
|
-
}
|
|
4148
|
+
});
|
|
4197
4149
|
}
|
|
4198
4150
|
|
|
4199
|
-
var css$C = "";
|
|
4200
|
-
|
|
4201
4151
|
function defineViewSwitch(tag = 'usa-view-switch') {
|
|
4202
4152
|
return defineElement(tag, (Base) => class UsaViewSwitch extends Base {
|
|
4203
4153
|
constructor() {
|
|
@@ -4289,7 +4239,7 @@ function defineViewSwitch(tag = 'usa-view-switch') {
|
|
|
4289
4239
|
this.setVisible(from, false);
|
|
4290
4240
|
a?.cancel();
|
|
4291
4241
|
}
|
|
4292
|
-
}
|
|
4242
|
+
});
|
|
4293
4243
|
}
|
|
4294
4244
|
|
|
4295
4245
|
/**
|
|
@@ -4601,8 +4551,6 @@ function rubberBand(distance, dimension, constant = 0.55) {
|
|
|
4601
4551
|
return sign * (1 - 1 / ((d * constant) / dimension + 1)) * dimension;
|
|
4602
4552
|
}
|
|
4603
4553
|
|
|
4604
|
-
var css$B = "";
|
|
4605
|
-
|
|
4606
4554
|
const SPRING_EFFECTS = ['bounce-in', 'pop', 'drop', 'jelly', 'rubber-band'];
|
|
4607
4555
|
/** Entrance effects start hidden; attention effects (jelly, rubber-band) play on visible content. */
|
|
4608
4556
|
const ENTRANCE = /*#__PURE__*/ new Set(['bounce-in', 'pop', 'drop']);
|
|
@@ -4716,11 +4664,9 @@ function defineSpring(tag = 'usa-spring') {
|
|
|
4716
4664
|
this.setAttribute('data-state', 'done');
|
|
4717
4665
|
this.emit('complete', { effect });
|
|
4718
4666
|
}
|
|
4719
|
-
}
|
|
4667
|
+
});
|
|
4720
4668
|
}
|
|
4721
4669
|
|
|
4722
|
-
var css$A = "";
|
|
4723
|
-
|
|
4724
4670
|
const parseSnap = (s) => {
|
|
4725
4671
|
if (!s.trim())
|
|
4726
4672
|
return null;
|
|
@@ -4916,11 +4862,9 @@ function defineDraggable(tag = 'usa-draggable') {
|
|
|
4916
4862
|
reset() {
|
|
4917
4863
|
this.go(0, 0);
|
|
4918
4864
|
}
|
|
4919
|
-
}
|
|
4865
|
+
});
|
|
4920
4866
|
}
|
|
4921
4867
|
|
|
4922
|
-
var css$z = "";
|
|
4923
|
-
|
|
4924
4868
|
function defineOverscroll(tag = 'usa-overscroll') {
|
|
4925
4869
|
return defineElement(tag, (Base) => class UsaOverscroll extends Base {
|
|
4926
4870
|
constructor() {
|
|
@@ -5008,7 +4952,7 @@ function defineOverscroll(tag = 'usa-overscroll') {
|
|
|
5008
4952
|
this._spring?.stop();
|
|
5009
4953
|
this.set(0);
|
|
5010
4954
|
}
|
|
5011
|
-
}
|
|
4955
|
+
});
|
|
5012
4956
|
}
|
|
5013
4957
|
|
|
5014
4958
|
/**
|
|
@@ -5025,8 +4969,6 @@ function definePhysicsComponents() {
|
|
|
5025
4969
|
defineOverscroll();
|
|
5026
4970
|
}
|
|
5027
4971
|
|
|
5028
|
-
var css$y = "";
|
|
5029
|
-
|
|
5030
4972
|
const CARD_EFFECTS = ['flip', 'holo', 'glass', 'border-glow', 'conic-border', 'lift', 'spotlight', 'sheen', 'parallax-layers', 'expand'];
|
|
5031
4973
|
/** Effects that follow the pointer (they share one rAF-throttled tracker). */
|
|
5032
4974
|
const TRACKING = /*#__PURE__*/ new Set(['holo', 'border-glow', 'spotlight', 'parallax-layers', 'lift']);
|
|
@@ -5231,7 +5173,7 @@ function defineCard(tag = 'usa-card') {
|
|
|
5231
5173
|
const a = this.motion(this, [{ transformOrigin: '0 0', transform: `translate(${dx}px, ${dy}px) scale(${sx}, ${sy})` }, { transformOrigin: '0 0', transform: 'none' }], { duration: Math.min(duration, 900), easing: easing || EASE_OUT });
|
|
5232
5174
|
await a?.finished.catch(() => undefined);
|
|
5233
5175
|
}
|
|
5234
|
-
}
|
|
5176
|
+
});
|
|
5235
5177
|
}
|
|
5236
5178
|
function deco(cls) {
|
|
5237
5179
|
const s = document.createElement('span');
|
|
@@ -5245,8 +5187,6 @@ function interactive(t, host) {
|
|
|
5245
5187
|
return !!el && el !== host && host.contains(el);
|
|
5246
5188
|
}
|
|
5247
5189
|
|
|
5248
|
-
var css$x = "";
|
|
5249
|
-
|
|
5250
5190
|
function defineCardStack(tag = 'usa-card-stack') {
|
|
5251
5191
|
return defineElement(tag, (Base) => class UsaCardStack extends Base {
|
|
5252
5192
|
constructor() {
|
|
@@ -5368,11 +5308,9 @@ function defineCardStack(tag = 'usa-card-stack') {
|
|
|
5368
5308
|
if (!this.top)
|
|
5369
5309
|
this.emit('empty');
|
|
5370
5310
|
}
|
|
5371
|
-
}
|
|
5311
|
+
});
|
|
5372
5312
|
}
|
|
5373
5313
|
|
|
5374
|
-
var css$w = "";
|
|
5375
|
-
|
|
5376
5314
|
function defineStickyStack(tag = 'usa-sticky-stack') {
|
|
5377
5315
|
return defineElement(tag, (Base) => class UsaStickyStack extends Base {
|
|
5378
5316
|
constructor() {
|
|
@@ -5435,11 +5373,9 @@ function defineStickyStack(tag = 'usa-sticky-stack') {
|
|
|
5435
5373
|
c.style.filter = covered > 0.001 ? `brightness(${(1 - Math.min(0.35, covered * 0.12)).toFixed(3)})` : '';
|
|
5436
5374
|
});
|
|
5437
5375
|
}
|
|
5438
|
-
}
|
|
5376
|
+
});
|
|
5439
5377
|
}
|
|
5440
5378
|
|
|
5441
|
-
var css$v = "";
|
|
5442
|
-
|
|
5443
5379
|
function defineCarousel3d(tag = 'usa-carousel-3d') {
|
|
5444
5380
|
return defineElement(tag, (Base) => class UsaCarousel3d extends Base {
|
|
5445
5381
|
constructor() {
|
|
@@ -5557,7 +5493,7 @@ function defineCarousel3d(tag = 'usa-carousel-3d') {
|
|
|
5557
5493
|
prev() {
|
|
5558
5494
|
this.goTo(this._i - 1);
|
|
5559
5495
|
}
|
|
5560
|
-
}
|
|
5496
|
+
});
|
|
5561
5497
|
}
|
|
5562
5498
|
|
|
5563
5499
|
/**
|
|
@@ -5680,8 +5616,6 @@ function haptic(pattern = 10) {
|
|
|
5680
5616
|
}
|
|
5681
5617
|
}
|
|
5682
5618
|
|
|
5683
|
-
var css$u = "";
|
|
5684
|
-
|
|
5685
5619
|
const CLICK_EFFECTS = ['ripple', 'burst', 'confetti', 'squish', 'press-spring', 'shake'];
|
|
5686
5620
|
function defineClick(tag = 'usa-click') {
|
|
5687
5621
|
return defineElement(tag, (Base) => class UsaClick extends Base {
|
|
@@ -5804,11 +5738,9 @@ function defineClick(tag = 'usa-click') {
|
|
|
5804
5738
|
: [{ transform: from }, { transform: 'none' }];
|
|
5805
5739
|
this._press = this.motion(this, frames, fx.includes('squish') ? { duration: 520, easing: 'ease-out' } : springEasing('bouncy'));
|
|
5806
5740
|
}
|
|
5807
|
-
}
|
|
5741
|
+
});
|
|
5808
5742
|
}
|
|
5809
5743
|
|
|
5810
|
-
var css$t = "";
|
|
5811
|
-
|
|
5812
5744
|
const BUTTON_DEFORMS = ['squash', 'wobble', 'gooey', 'dent'];
|
|
5813
5745
|
let gooInjected = false;
|
|
5814
5746
|
function injectGoo() {
|
|
@@ -6074,11 +6006,9 @@ function defineButton(tag = 'usa-button') {
|
|
|
6074
6006
|
}
|
|
6075
6007
|
this.emit('state', { state: s });
|
|
6076
6008
|
}
|
|
6077
|
-
}
|
|
6009
|
+
});
|
|
6078
6010
|
}
|
|
6079
6011
|
|
|
6080
|
-
var css$s = "";
|
|
6081
|
-
|
|
6082
6012
|
const C = [[12, 12], [12, 12], [12, 12], [12, 12]];
|
|
6083
6013
|
/**
|
|
6084
6014
|
* Morphable icons: every icon is three quads (four points each) on a 24×24
|
|
@@ -6185,11 +6115,9 @@ function defineIconMorph(tag = 'usa-icon-morph') {
|
|
|
6185
6115
|
next() {
|
|
6186
6116
|
this.show(this._i + 1);
|
|
6187
6117
|
}
|
|
6188
|
-
}
|
|
6118
|
+
});
|
|
6189
6119
|
}
|
|
6190
6120
|
|
|
6191
|
-
var css$r = "";
|
|
6192
|
-
|
|
6193
6121
|
const HEART = 'M12 21s-7.5-4.6-9.6-9.2C.9 8.4 3 4.5 6.7 4.5c2.1 0 3.6 1.2 5.3 3.2 1.7-2 3.2-3.2 5.3-3.2 3.7 0 5.8 3.9 4.3 7.3C19.5 16.4 12 21 12 21z';
|
|
6194
6122
|
function defineLike(tag = 'usa-like') {
|
|
6195
6123
|
return defineElement(tag, (Base) => class UsaLike extends Base {
|
|
@@ -6264,11 +6192,9 @@ function defineLike(tag = 'usa-like') {
|
|
|
6264
6192
|
this.dispatchEvent(new Event('change', { bubbles: true }));
|
|
6265
6193
|
this.emit('change', { liked: next, count: this.count });
|
|
6266
6194
|
}
|
|
6267
|
-
}
|
|
6195
|
+
});
|
|
6268
6196
|
}
|
|
6269
6197
|
|
|
6270
|
-
var css$q = "";
|
|
6271
|
-
|
|
6272
6198
|
function defineHold(tag = 'usa-hold') {
|
|
6273
6199
|
return defineElement(tag, (Base) => class UsaHold extends Base {
|
|
6274
6200
|
constructor() {
|
|
@@ -6379,11 +6305,9 @@ function defineHold(tag = 'usa-hold') {
|
|
|
6379
6305
|
cancel() {
|
|
6380
6306
|
this.stop();
|
|
6381
6307
|
}
|
|
6382
|
-
}
|
|
6308
|
+
});
|
|
6383
6309
|
}
|
|
6384
6310
|
|
|
6385
|
-
var css$p = "";
|
|
6386
|
-
|
|
6387
6311
|
function defineDoubleTap(tag = 'usa-double-tap') {
|
|
6388
6312
|
return defineElement(tag, (Base) => class UsaDoubleTap extends Base {
|
|
6389
6313
|
static get observedAttributes() {
|
|
@@ -6443,11 +6367,9 @@ function defineDoubleTap(tag = 'usa-double-tap') {
|
|
|
6443
6367
|
haptic(15);
|
|
6444
6368
|
this.emit('double-tap', { x: x - r.left, y: y - r.top });
|
|
6445
6369
|
}
|
|
6446
|
-
}
|
|
6370
|
+
});
|
|
6447
6371
|
}
|
|
6448
6372
|
|
|
6449
|
-
var css$o = "";
|
|
6450
|
-
|
|
6451
6373
|
function defineCheckbox(tag = 'usa-checkbox') {
|
|
6452
6374
|
return defineElement(tag, (Base) => {
|
|
6453
6375
|
class UsaCheckbox extends Base {
|
|
@@ -6518,7 +6440,7 @@ function defineCheckbox(tag = 'usa-checkbox') {
|
|
|
6518
6440
|
}
|
|
6519
6441
|
UsaCheckbox.formAssociated = true;
|
|
6520
6442
|
return UsaCheckbox;
|
|
6521
|
-
}
|
|
6443
|
+
});
|
|
6522
6444
|
}
|
|
6523
6445
|
|
|
6524
6446
|
/**
|
|
@@ -6573,8 +6495,6 @@ function place(floating, anchor, placement = 'top', gap = 8) {
|
|
|
6573
6495
|
let uid = 0;
|
|
6574
6496
|
const nextId = (prefix) => `${prefix}-${++uid}`;
|
|
6575
6497
|
|
|
6576
|
-
var css$n = "";
|
|
6577
|
-
|
|
6578
6498
|
function defineTabs(tag = 'usa-tabs') {
|
|
6579
6499
|
// contract-exempt: attr-unobserved(selected) — state reflected by the element itself (set the property instead); observing it would re-mount on every change
|
|
6580
6500
|
adoptVariants();
|
|
@@ -6677,11 +6597,9 @@ function defineTabs(tag = 'usa-tabs') {
|
|
|
6677
6597
|
this.motion(p, [{ opacity: 0, transform: `translateX(${i > prev ? 16 : -16}px)` }, { opacity: 1, transform: 'none' }], { duration: 280, easing: 'cubic-bezier(0.22, 1, 0.36, 1)' });
|
|
6678
6598
|
this.emit('change', { index: i });
|
|
6679
6599
|
}
|
|
6680
|
-
}
|
|
6600
|
+
});
|
|
6681
6601
|
}
|
|
6682
6602
|
|
|
6683
|
-
var css$m = "";
|
|
6684
|
-
|
|
6685
6603
|
// While anything watches, <html> carries --usa-vvh (visible height) and --usa-kb (the height the keyboard covers at
|
|
6686
6604
|
// the bottom of the layout viewport).
|
|
6687
6605
|
let vpSubs = null;
|
|
@@ -6926,7 +6844,7 @@ function makePanel(Base, kind) {
|
|
|
6926
6844
|
}
|
|
6927
6845
|
function defineDrawer(tag = 'usa-drawer') {
|
|
6928
6846
|
adoptVariants();
|
|
6929
|
-
return defineElement(tag, (Base) => makePanel(Base, 'drawer')
|
|
6847
|
+
return defineElement(tag, (Base) => makePanel(Base, 'drawer'));
|
|
6930
6848
|
}
|
|
6931
6849
|
function defineBottomSheet(tag = 'usa-bottom-sheet') {
|
|
6932
6850
|
adoptVariants();
|
|
@@ -6969,11 +6887,9 @@ function defineBottomSheet(tag = 'usa-bottom-sheet') {
|
|
|
6969
6887
|
super.render(v);
|
|
6970
6888
|
}
|
|
6971
6889
|
};
|
|
6972
|
-
}
|
|
6890
|
+
});
|
|
6973
6891
|
}
|
|
6974
6892
|
|
|
6975
|
-
var css$l = "";
|
|
6976
|
-
|
|
6977
6893
|
function definePullRefresh(tag = 'usa-pull-refresh') {
|
|
6978
6894
|
adoptVariants();
|
|
6979
6895
|
return defineElement(tag, (Base) => class UsaPullRefresh extends Base {
|
|
@@ -7075,11 +6991,9 @@ function definePullRefresh(tag = 'usa-pull-refresh') {
|
|
|
7075
6991
|
Promise.resolve(fn(ev)).then(done, done);
|
|
7076
6992
|
});
|
|
7077
6993
|
}
|
|
7078
|
-
}
|
|
6994
|
+
});
|
|
7079
6995
|
}
|
|
7080
6996
|
|
|
7081
|
-
var css$k = "";
|
|
7082
|
-
|
|
7083
6997
|
function defineFab(tag = 'usa-fab') {
|
|
7084
6998
|
// contract-exempt: attr-unobserved(open) — state reflected by the element itself (set the property instead); observing it would re-mount on every change
|
|
7085
6999
|
adoptVariants();
|
|
@@ -7165,11 +7079,9 @@ function defineFab(tag = 'usa-fab') {
|
|
|
7165
7079
|
this.apply(true);
|
|
7166
7080
|
this.emit('toggle', { open: next });
|
|
7167
7081
|
}
|
|
7168
|
-
}
|
|
7082
|
+
});
|
|
7169
7083
|
}
|
|
7170
7084
|
|
|
7171
|
-
var css$j = "";
|
|
7172
|
-
|
|
7173
7085
|
function defineNavbar(tag = 'usa-navbar') {
|
|
7174
7086
|
adoptVariants();
|
|
7175
7087
|
return defineElement(tag, (Base) => class UsaNavbar extends Base {
|
|
@@ -7225,11 +7137,9 @@ function defineNavbar(tag = 'usa-navbar') {
|
|
|
7225
7137
|
this.removeAttribute('data-hidden');
|
|
7226
7138
|
this.emit('show');
|
|
7227
7139
|
}
|
|
7228
|
-
}
|
|
7140
|
+
});
|
|
7229
7141
|
}
|
|
7230
7142
|
|
|
7231
|
-
var css$i = "";
|
|
7232
|
-
|
|
7233
7143
|
function defineSlider(tag = 'usa-slider') {
|
|
7234
7144
|
adoptVariants();
|
|
7235
7145
|
return defineElement(tag, (Base) => {
|
|
@@ -7349,11 +7259,9 @@ function defineSlider(tag = 'usa-slider') {
|
|
|
7349
7259
|
}
|
|
7350
7260
|
UsaSlider.formAssociated = true;
|
|
7351
7261
|
return UsaSlider;
|
|
7352
|
-
}
|
|
7262
|
+
});
|
|
7353
7263
|
}
|
|
7354
7264
|
|
|
7355
|
-
var css$h = "";
|
|
7356
|
-
|
|
7357
7265
|
function definePopover(tag = 'usa-popover') {
|
|
7358
7266
|
// contract-exempt: attr-unobserved(open) — state reflected by the element itself (set the property instead); observing it would re-mount on every change
|
|
7359
7267
|
adoptVariants();
|
|
@@ -7416,11 +7324,9 @@ function definePopover(tag = 'usa-popover') {
|
|
|
7416
7324
|
this.render(true);
|
|
7417
7325
|
this.emit(next ? 'open' : 'close');
|
|
7418
7326
|
}
|
|
7419
|
-
}
|
|
7327
|
+
});
|
|
7420
7328
|
}
|
|
7421
7329
|
|
|
7422
|
-
var css$g = "";
|
|
7423
|
-
|
|
7424
7330
|
function defineBadge(tag = 'usa-badge') {
|
|
7425
7331
|
adoptVariants();
|
|
7426
7332
|
return defineElement(tag, (Base) => class UsaBadge extends Base {
|
|
@@ -7466,11 +7372,9 @@ function defineBadge(tag = 'usa-badge') {
|
|
|
7466
7372
|
if (bump && !empty && !this.reduced)
|
|
7467
7373
|
this.motion(el, [{ transform: 'scale(0.4)' }, { transform: 'scale(1)' }], springEasing('bouncy'));
|
|
7468
7374
|
}
|
|
7469
|
-
}
|
|
7375
|
+
});
|
|
7470
7376
|
}
|
|
7471
7377
|
|
|
7472
|
-
var css$f = "";
|
|
7473
|
-
|
|
7474
7378
|
function defineAvatarStack(tag = 'usa-avatar-stack') {
|
|
7475
7379
|
adoptVariants();
|
|
7476
7380
|
return defineElement(tag, (Base) => class UsaAvatarStack extends Base {
|
|
@@ -7500,7 +7404,7 @@ function defineAvatarStack(tag = 'usa-avatar-stack') {
|
|
|
7500
7404
|
this.append(more);
|
|
7501
7405
|
}
|
|
7502
7406
|
}
|
|
7503
|
-
}
|
|
7407
|
+
});
|
|
7504
7408
|
}
|
|
7505
7409
|
|
|
7506
7410
|
/**
|
|
@@ -7525,8 +7429,6 @@ function defineUiComponents() {
|
|
|
7525
7429
|
defineAvatarStack();
|
|
7526
7430
|
}
|
|
7527
7431
|
|
|
7528
|
-
var css$e = "";
|
|
7529
|
-
|
|
7530
7432
|
const CURSOR_MODES = ['dot', 'magnetic', 'glow'];
|
|
7531
7433
|
function defineCursor(tag = 'usa-cursor') {
|
|
7532
7434
|
return defineElement(tag, (Base) => class UsaCursor extends Base {
|
|
@@ -7621,7 +7523,7 @@ function defineCursor(tag = 'usa-cursor') {
|
|
|
7621
7523
|
this._frame = 0;
|
|
7622
7524
|
this.removeAttribute('data-active');
|
|
7623
7525
|
}
|
|
7624
|
-
}
|
|
7526
|
+
});
|
|
7625
7527
|
}
|
|
7626
7528
|
|
|
7627
7529
|
function smoothScroll(options = {}) {
|
|
@@ -7708,8 +7610,6 @@ function scrollToTarget(to, options = {}) {
|
|
|
7708
7610
|
});
|
|
7709
7611
|
}
|
|
7710
7612
|
|
|
7711
|
-
var css$d = "";
|
|
7712
|
-
|
|
7713
7613
|
function defineFullpage(tag = 'usa-fullpage') {
|
|
7714
7614
|
return defineElement(tag, (Base) => class UsaFullpage extends Base {
|
|
7715
7615
|
constructor() {
|
|
@@ -7795,11 +7695,9 @@ function defineFullpage(tag = 'usa-fullpage') {
|
|
|
7795
7695
|
prev() {
|
|
7796
7696
|
this.go(this._i - 1);
|
|
7797
7697
|
}
|
|
7798
|
-
}
|
|
7698
|
+
});
|
|
7799
7699
|
}
|
|
7800
7700
|
|
|
7801
|
-
var css$c = "";
|
|
7802
|
-
|
|
7803
7701
|
function defineLoadingBar(tag = 'usa-loading-bar') {
|
|
7804
7702
|
return defineElement(tag, (Base) => class UsaLoadingBar extends Base {
|
|
7805
7703
|
constructor() {
|
|
@@ -7862,7 +7760,7 @@ function defineLoadingBar(tag = 'usa-loading-bar') {
|
|
|
7862
7760
|
}, 300);
|
|
7863
7761
|
}, 250);
|
|
7864
7762
|
}
|
|
7865
|
-
}
|
|
7763
|
+
});
|
|
7866
7764
|
}
|
|
7867
7765
|
function bar() {
|
|
7868
7766
|
if (typeof document === 'undefined')
|
|
@@ -7892,8 +7790,6 @@ const loadingBar = {
|
|
|
7892
7790
|
},
|
|
7893
7791
|
};
|
|
7894
7792
|
|
|
7895
|
-
var css$b = "";
|
|
7896
|
-
|
|
7897
7793
|
function defineBackToTop(tag = 'usa-back-to-top') {
|
|
7898
7794
|
return defineElement(tag, (Base) => class UsaBackToTop extends Base {
|
|
7899
7795
|
constructor() {
|
|
@@ -7936,11 +7832,9 @@ function defineBackToTop(tag = 'usa-back-to-top') {
|
|
|
7936
7832
|
caf(this._frame);
|
|
7937
7833
|
this._frame = 0;
|
|
7938
7834
|
}
|
|
7939
|
-
}
|
|
7835
|
+
});
|
|
7940
7836
|
}
|
|
7941
7837
|
|
|
7942
|
-
var css$a = "";
|
|
7943
|
-
|
|
7944
7838
|
const AMBIENT_EFFECTS = ['particles', 'snow', 'stars', 'noise', 'gradient'];
|
|
7945
7839
|
function defineAmbient(tag = 'usa-ambient') {
|
|
7946
7840
|
return defineElement(tag, (Base) => class UsaAmbient extends Base {
|
|
@@ -8042,11 +7936,9 @@ function defineAmbient(tag = 'usa-ambient') {
|
|
|
8042
7936
|
caf(this._frame);
|
|
8043
7937
|
this._frame = 0;
|
|
8044
7938
|
}
|
|
8045
|
-
}
|
|
7939
|
+
});
|
|
8046
7940
|
}
|
|
8047
7941
|
|
|
8048
|
-
var css$9 = "";
|
|
8049
|
-
|
|
8050
7942
|
function defineSplash(tag = 'usa-splash') {
|
|
8051
7943
|
return defineElement(tag, (Base) => class UsaSplash extends Base {
|
|
8052
7944
|
constructor() {
|
|
@@ -8089,11 +7981,9 @@ function defineSplash(tag = 'usa-splash') {
|
|
|
8089
7981
|
this.hidden = true;
|
|
8090
7982
|
this.emit('done');
|
|
8091
7983
|
}
|
|
8092
|
-
}
|
|
7984
|
+
});
|
|
8093
7985
|
}
|
|
8094
7986
|
|
|
8095
|
-
var css$8 = "";
|
|
8096
|
-
|
|
8097
7987
|
function defineAutoSkeleton(tag = 'usa-auto-skeleton') {
|
|
8098
7988
|
return defineElement(tag, (Base) => class UsaAutoSkeleton extends Base {
|
|
8099
7989
|
static get observedAttributes() {
|
|
@@ -8120,11 +8010,9 @@ function defineAutoSkeleton(tag = 'usa-auto-skeleton') {
|
|
|
8120
8010
|
this.motion(this, [{ opacity: 0.4 }, { opacity: 1 }], { duration: 300, easing: 'ease-out' });
|
|
8121
8011
|
}
|
|
8122
8012
|
}
|
|
8123
|
-
}
|
|
8013
|
+
});
|
|
8124
8014
|
}
|
|
8125
8015
|
|
|
8126
|
-
var css$7 = "";
|
|
8127
|
-
|
|
8128
8016
|
const INTENSITIES = ['low', 'normal', 'high'];
|
|
8129
8017
|
const LEVELS = ['off', 'low', 'normal', 'high'];
|
|
8130
8018
|
const KEY$1 = 'usa:motion';
|
|
@@ -8228,11 +8116,9 @@ function defineMotionSwitch(tag = 'usa-motion-switch') {
|
|
|
8228
8116
|
b.tabIndex = on ? 0 : -1;
|
|
8229
8117
|
});
|
|
8230
8118
|
}
|
|
8231
|
-
}
|
|
8119
|
+
});
|
|
8232
8120
|
}
|
|
8233
8121
|
|
|
8234
|
-
var css$6 = "";
|
|
8235
|
-
|
|
8236
8122
|
/**
|
|
8237
8123
|
* Page & app-wide transitions (v2.7), built on the View Transitions API
|
|
8238
8124
|
* (Chromium: Chrome, Edge, Electron, WebView2) with graceful fallbacks.
|
|
@@ -8275,7 +8161,7 @@ async function pageTransition(update, options = {}) {
|
|
|
8275
8161
|
await update();
|
|
8276
8162
|
return;
|
|
8277
8163
|
}
|
|
8278
|
-
adoptStyles('page-transitions', css
|
|
8164
|
+
adoptStyles('page-transitions', css);
|
|
8279
8165
|
trackPointer();
|
|
8280
8166
|
const effect = options.effect || 'fade';
|
|
8281
8167
|
if (prefersReducedMotion() || !supportsViewTransitions()) {
|
|
@@ -8300,7 +8186,7 @@ async function pageTransition(update, options = {}) {
|
|
|
8300
8186
|
function enableMpaTransitions(effect = 'fade', duration = 450) {
|
|
8301
8187
|
if (typeof document === 'undefined')
|
|
8302
8188
|
return;
|
|
8303
|
-
adoptStyles('page-transitions', css
|
|
8189
|
+
adoptStyles('page-transitions', css);
|
|
8304
8190
|
adoptStyles('mpa-transitions', prefersReducedMotion() ? '' : '@view-transition{navigation:auto}');
|
|
8305
8191
|
const d = document.documentElement;
|
|
8306
8192
|
d.setAttribute('data-usa-pt', effect);
|
|
@@ -8334,8 +8220,6 @@ function definePageComponents() {
|
|
|
8334
8220
|
defineMotionSwitch();
|
|
8335
8221
|
}
|
|
8336
8222
|
|
|
8337
|
-
var css$5 = "";
|
|
8338
|
-
|
|
8339
8223
|
function defineTimeline(tag = 'usa-timeline') {
|
|
8340
8224
|
return defineElement(tag, (Base) => class UsaTimeline extends Base {
|
|
8341
8225
|
constructor() {
|
|
@@ -8416,7 +8300,7 @@ function defineTimeline(tag = 'usa-timeline') {
|
|
|
8416
8300
|
unmount() {
|
|
8417
8301
|
this._tl = null;
|
|
8418
8302
|
}
|
|
8419
|
-
}
|
|
8303
|
+
});
|
|
8420
8304
|
}
|
|
8421
8305
|
|
|
8422
8306
|
/**
|
|
@@ -8607,8 +8491,6 @@ function gesture(el, h, o = {}) {
|
|
|
8607
8491
|
};
|
|
8608
8492
|
}
|
|
8609
8493
|
|
|
8610
|
-
var css$4 = "";
|
|
8611
|
-
|
|
8612
8494
|
function defineSwipeable(tag = 'usa-swipeable') {
|
|
8613
8495
|
return defineElement(tag, (Base) => class UsaSwipeable extends Base {
|
|
8614
8496
|
constructor() {
|
|
@@ -8699,7 +8581,7 @@ function defineSwipeable(tag = 'usa-swipeable') {
|
|
|
8699
8581
|
unmount() {
|
|
8700
8582
|
this._s?.stop();
|
|
8701
8583
|
}
|
|
8702
|
-
}
|
|
8584
|
+
});
|
|
8703
8585
|
}
|
|
8704
8586
|
|
|
8705
8587
|
function definePinchZoom(tag = 'usa-pinch-zoom') {
|
|
@@ -8791,7 +8673,7 @@ function definePinchZoom(tag = 'usa-pinch-zoom') {
|
|
|
8791
8673
|
unmount() {
|
|
8792
8674
|
[this._k, this._x, this._y].forEach((s) => s?.stop());
|
|
8793
8675
|
}
|
|
8794
|
-
}
|
|
8676
|
+
});
|
|
8795
8677
|
}
|
|
8796
8678
|
|
|
8797
8679
|
/**
|
|
@@ -8902,8 +8784,6 @@ function drawLines(root, o = {}) {
|
|
|
8902
8784
|
};
|
|
8903
8785
|
}
|
|
8904
8786
|
|
|
8905
|
-
var css$3 = "";
|
|
8906
|
-
|
|
8907
8787
|
function defineDraw(tag = 'usa-draw') {
|
|
8908
8788
|
return defineElement(tag, (Base) => class UsaDraw extends Base {
|
|
8909
8789
|
constructor() {
|
|
@@ -8977,7 +8857,7 @@ function defineDraw(tag = 'usa-draw') {
|
|
|
8977
8857
|
}
|
|
8978
8858
|
this.onCleanup(() => caf(this._id));
|
|
8979
8859
|
}
|
|
8980
|
-
}
|
|
8860
|
+
});
|
|
8981
8861
|
}
|
|
8982
8862
|
|
|
8983
8863
|
function defineMorph(tag = 'usa-morph') {
|
|
@@ -9045,7 +8925,7 @@ function defineMorph(tag = 'usa-morph') {
|
|
|
9045
8925
|
});
|
|
9046
8926
|
}
|
|
9047
8927
|
}
|
|
9048
|
-
}
|
|
8928
|
+
});
|
|
9049
8929
|
}
|
|
9050
8930
|
|
|
9051
8931
|
/** Clip-path start / end frames for each reveal shape. */
|
|
@@ -9118,7 +8998,7 @@ function defineMaskReveal(tag = 'usa-mask-reveal') {
|
|
|
9118
8998
|
}, { threshold: 0.25 });
|
|
9119
8999
|
}
|
|
9120
9000
|
}
|
|
9121
|
-
}
|
|
9001
|
+
});
|
|
9122
9002
|
}
|
|
9123
9003
|
|
|
9124
9004
|
/** Built-in animated icons (24×24 strokes) and the motion each one plays. */
|
|
@@ -9166,7 +9046,7 @@ function defineAnimIcon(tag = 'usa-anim-icon') {
|
|
|
9166
9046
|
this.listen(this, 'focusin', () => this.play());
|
|
9167
9047
|
}
|
|
9168
9048
|
}
|
|
9169
|
-
}
|
|
9049
|
+
});
|
|
9170
9050
|
}
|
|
9171
9051
|
|
|
9172
9052
|
/**
|
|
@@ -9426,8 +9306,6 @@ function watchPowerSaver(cb) {
|
|
|
9426
9306
|
};
|
|
9427
9307
|
}
|
|
9428
9308
|
|
|
9429
|
-
var css$2 = "";
|
|
9430
|
-
|
|
9431
9309
|
function make(kind) {
|
|
9432
9310
|
return (Base) => class extends Base {
|
|
9433
9311
|
constructor() {
|
|
@@ -9583,21 +9461,21 @@ function make(kind) {
|
|
|
9583
9461
|
* `u_mouse`, `v_uv`); `speed`. Without WebGL: the element's CSS background.
|
|
9584
9462
|
*/
|
|
9585
9463
|
function defineShader(tag = 'usa-shader') {
|
|
9586
|
-
return defineElement(tag, make('shader')
|
|
9464
|
+
return defineElement(tag, make('shader'));
|
|
9587
9465
|
}
|
|
9588
9466
|
/**
|
|
9589
9467
|
* `<usa-distort>` — hover distortion + RGB split on the `<img>` inside,
|
|
9590
9468
|
* following the pointer. Without WebGL / CORS: a gentle CSS zoom.
|
|
9591
9469
|
*/
|
|
9592
9470
|
function defineDistort(tag = 'usa-distort') {
|
|
9593
|
-
return defineElement(tag, make('distort')
|
|
9471
|
+
return defineElement(tag, make('distort'));
|
|
9594
9472
|
}
|
|
9595
9473
|
/**
|
|
9596
9474
|
* `<usa-liquid>` — liquid image: clicks / taps send ripples through the
|
|
9597
9475
|
* `<img>` inside, hover adds a gentle wobble; `strength`. Fallback: plain image.
|
|
9598
9476
|
*/
|
|
9599
9477
|
function defineLiquid(tag = 'usa-liquid') {
|
|
9600
|
-
return defineElement(tag, make('liquid')
|
|
9478
|
+
return defineElement(tag, make('liquid'));
|
|
9601
9479
|
}
|
|
9602
9480
|
/**
|
|
9603
9481
|
* `<usa-post-fx effects="vignette grain crt" intensity="0.6">` — GPU
|
|
@@ -9607,7 +9485,7 @@ function defineLiquid(tag = 'usa-liquid') {
|
|
|
9607
9485
|
* Fallback: the image with an approximate CSS filter.
|
|
9608
9486
|
*/
|
|
9609
9487
|
function definePostFx(tag = 'usa-post-fx') {
|
|
9610
|
-
return defineElement(tag, make('post')
|
|
9488
|
+
return defineElement(tag, make('post'));
|
|
9611
9489
|
}
|
|
9612
9490
|
|
|
9613
9491
|
/**
|
|
@@ -9624,8 +9502,6 @@ function defineWebglComponents() {
|
|
|
9624
9502
|
definePostFx();
|
|
9625
9503
|
}
|
|
9626
9504
|
|
|
9627
|
-
var css$1 = "";
|
|
9628
|
-
|
|
9629
9505
|
const FACES = ['front', 'right', 'back', 'left', 'top', 'bottom'];
|
|
9630
9506
|
/** Rotation (deg) that brings each face to the front. */
|
|
9631
9507
|
const ROT = { front: [0, 0], right: [0, -90], back: [0, -180], left: [0, 90], top: [-90, 0], bottom: [90, 0] };
|
|
@@ -9727,7 +9603,7 @@ function defineCube(tag = 'usa-cube') {
|
|
|
9727
9603
|
this._rx?.stop();
|
|
9728
9604
|
this._ry?.stop();
|
|
9729
9605
|
}
|
|
9730
|
-
}
|
|
9606
|
+
});
|
|
9731
9607
|
}
|
|
9732
9608
|
|
|
9733
9609
|
/** Map a DeviceOrientation reading (beta/gamma degrees) to -1…1 tilt around a resting pose (pure). */
|
|
@@ -9845,7 +9721,7 @@ function defineDepth(tag = 'usa-depth') {
|
|
|
9845
9721
|
this._t = { x: 0, y: 0 };
|
|
9846
9722
|
this.querySelectorAll('[data-depth]').forEach((el) => (el.style.transform = ''));
|
|
9847
9723
|
}
|
|
9848
|
-
}
|
|
9724
|
+
});
|
|
9849
9725
|
}
|
|
9850
9726
|
|
|
9851
9727
|
/**
|
|
@@ -10018,8 +9894,6 @@ async function sharedTransition(update, root = document, o = {}) {
|
|
|
10018
9894
|
await Promise.all(anims);
|
|
10019
9895
|
}
|
|
10020
9896
|
|
|
10021
|
-
var css = "";
|
|
10022
|
-
|
|
10023
9897
|
function defineAutoAnimate(tag = 'usa-auto-animate') {
|
|
10024
9898
|
return defineElement(tag, (Base) => class UsaAutoAnimate extends Base {
|
|
10025
9899
|
constructor() {
|
|
@@ -10039,7 +9913,7 @@ function defineAutoAnimate(tag = 'usa-auto-animate') {
|
|
|
10039
9913
|
const c = (this._c = autoAnimate(this, { duration: this.num('duration', 300), scale: !this.flag('no-scale') }));
|
|
10040
9914
|
this.onCleanup(() => c.stop());
|
|
10041
9915
|
}
|
|
10042
|
-
}
|
|
9916
|
+
});
|
|
10043
9917
|
}
|
|
10044
9918
|
function defineMasonry(tag = 'usa-masonry') {
|
|
10045
9919
|
return defineElement(tag, (Base) => class UsaMasonry extends Base {
|
|
@@ -10094,7 +9968,7 @@ function defineMasonry(tag = 'usa-masonry') {
|
|
|
10094
9968
|
this.style.height = '';
|
|
10095
9969
|
Array.from(this.children).forEach((c) => (c.style.transform = '', c.style.width = ''));
|
|
10096
9970
|
}
|
|
10097
|
-
}
|
|
9971
|
+
});
|
|
10098
9972
|
}
|
|
10099
9973
|
|
|
10100
9974
|
/**
|
|
@@ -11091,7 +10965,7 @@ exports.autoAnimate = autoAnimate;
|
|
|
11091
10965
|
exports.autoDegrade = autoDegrade;
|
|
11092
10966
|
exports.baselineReport = baselineReport;
|
|
11093
10967
|
exports.bindEffect = bindEffect;
|
|
11094
|
-
exports.categoryOf =
|
|
10968
|
+
exports.categoryOf = categoryForTag;
|
|
11095
10969
|
exports.configureComponents = configureComponents;
|
|
11096
10970
|
exports.connectNativeShell = connectNativeShell;
|
|
11097
10971
|
exports.countUp = countUp;
|
|
@@ -11310,4 +11184,4 @@ exports.viewTransition = viewTransition;
|
|
|
11310
11184
|
exports.warnBaseline = warnBaseline;
|
|
11311
11185
|
exports.watchPowerSaver = watchPowerSaver;
|
|
11312
11186
|
exports.withoutDeprecations = withoutDeprecations;
|
|
11313
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.2.
|
|
11187
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.2.1/dist/components/lite.cjs.map
|