motionary 17.3.0 → 17.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/README.md +32 -28
- package/README_ja.md +32 -30
- package/README_zh.md +32 -30
- package/bin/mcp-browser.mjs +1 -1
- package/bin/motionary-mcp.mjs +1 -1
- package/dist/chunks/{anim-image-DUp41p_J.cjs → anim-image-D19osNCU.cjs} +2 -2
- package/dist/chunks/{anim-image-C2E-0IHe.js → anim-image-DlYbvZpZ.js} +2 -2
- package/dist/chunks/audio-BYC54FVb.cjs +1 -1
- package/dist/chunks/{audio-C1nRN28K.js → audio-BiO_x6I0.js} +4 -4
- package/dist/chunks/{badge-wall-CHVGI6ZX.js → badge-wall-BIYTO_47.js} +2 -2
- package/dist/chunks/badge-wall-nHmls1DJ.cjs +1 -1
- package/dist/chunks/base-DzZEJhQB.cjs +1 -1
- package/dist/chunks/{base-DRZOlKiI.js → base-SPDwWyB1.js} +2 -2
- package/dist/chunks/{bg-generator-BceRQLoK.js → bg-generator-BjUrAeO1.js} +2 -2
- package/dist/chunks/bg-generator-D4ssmvZk.cjs +1 -1
- package/dist/chunks/bind-B_CTL6Qn.js +1 -1
- package/dist/chunks/bind-Ui43-n2d.cjs +1 -1
- package/dist/chunks/builtins-Cp5v4424.cjs +1 -1
- package/dist/chunks/{builtins-BIFIhepe.js → builtins-J8Y5msT6.js} +3 -3
- package/dist/chunks/{carousel-DeCCp97t.js → carousel--_KvZQq3.js} +2 -2
- package/dist/chunks/carousel-CtzI1LxO.cjs +1 -1
- package/dist/chunks/{cart-drawer-CdVTa9ic.js → cart-drawer-BJ3pFiI7.js} +2 -2
- package/dist/chunks/cart-drawer-DSPlj8F4.cjs +1 -1
- package/dist/chunks/category-for-tag-D_QJPwpZ.cjs +1 -1
- package/dist/chunks/category-for-tag-WK7MtB-K.js +1 -1
- package/dist/chunks/code-export-ZWiwLw-H.cjs +1 -1
- package/dist/chunks/{code-export-BAYvizw5.js → code-export-bfSRtSqB.js} +2 -2
- package/dist/chunks/color-picker-8N-NOvcQ.cjs +1 -1
- package/dist/chunks/{color-picker-DL8WAdgj.js → color-picker-CtpYpnpE.js} +2 -2
- package/dist/chunks/command-palette-CF3b-53a.cjs +1 -1
- package/dist/chunks/{command-palette-CmYGwCis.js → command-palette-DEwU0apn.js} +2 -2
- package/dist/chunks/{core-cXxctm3i.js → core-Bj5_9QHr.js} +2 -2
- package/dist/chunks/core-BjcOCpJt.cjs +1 -1
- package/dist/chunks/{core-D9fzpWWF.js → core-C0-LxgXr.js} +2 -2
- package/dist/chunks/core-CLKnlWY8.cjs +1 -1
- package/dist/chunks/core-D6--jjZC.cjs +1 -1
- package/dist/chunks/core-Dj6iomdc.js +1 -1
- package/dist/chunks/countdown-B3c7zXfX.cjs +1 -1
- package/dist/chunks/{countdown-DkX9uSX8.js → countdown-BK14w5ux.js} +2 -2
- package/dist/chunks/date-picker-DBlxYEY6.cjs +1 -1
- package/dist/chunks/{date-picker-DJw-F-Wb.js → date-picker-DLwN_P_R.js} +2 -2
- package/dist/chunks/ease-HwYZnZat.cjs +1 -1
- package/dist/chunks/ease-XN8_0sXu.js +1 -1
- package/dist/chunks/{equalizer-3UOx6J5X.js → equalizer-BJCGaGnx.js} +2 -2
- package/dist/chunks/equalizer-DbABxC9W.cjs +1 -1
- package/dist/chunks/festival-banner-DOMDAkz8.cjs +1 -1
- package/dist/chunks/{festival-banner-ixk-a3W6.js → festival-banner-DhYr1Z4b.js} +2 -2
- package/dist/chunks/{field-BSfzSa6C.js → field-Br3yLOwe.js} +2 -2
- package/dist/chunks/field-C_ODaCJ5.cjs +1 -1
- package/dist/chunks/{format-CqOIfdW_.js → format-C6AKrjTW.js} +2 -2
- package/dist/chunks/format-CcfR6-Jx.cjs +1 -1
- package/dist/chunks/fx-BLAi-SpO.cjs +1 -1
- package/dist/chunks/{fx-BSLLiegk.js → fx-sAOJVpyC.js} +2 -2
- package/dist/chunks/{generative-CMp5pE9Y.js → generative-Cppu_oFN.js} +2 -2
- package/dist/chunks/generative-DkuaIgER.cjs +1 -1
- package/dist/chunks/{gl-scene-C9pBV4jG.cjs → gl-scene-8Xzyucw1.cjs} +2 -2
- package/dist/chunks/{gl-scene-CMC04FGd.js → gl-scene-CqG1g7X9.js} +3 -3
- package/dist/chunks/globe-BMVmAz1A.cjs +1 -1
- package/dist/chunks/{globe-M_ojLZnP.js → globe-DbofB7xF.js} +2 -2
- package/dist/chunks/gpu-B7egA-fl.cjs +1 -1
- package/dist/chunks/{gpu-gejIQCMt.js → gpu-CJnu4Ty1.js} +4 -4
- package/dist/chunks/{gpu-particles-CquYk8lp.js → gpu-particles-D1H4dnJY.js} +2 -2
- package/dist/chunks/gpu-particles-DGwFsyz_.cjs +1 -1
- package/dist/chunks/{history-CTLhjhlC.js → history-C-nky56A.js} +2 -2
- package/dist/chunks/history-rim_8RCX.cjs +1 -1
- package/dist/chunks/{index-Cx-NVSlj.js → index-1R6Lie-l.js} +4 -4
- package/dist/chunks/index-Ci8k-y1X.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-C38Ftq1B.cjs → keyframes-DDNQ5K_J.cjs} +2 -2
- package/dist/chunks/{keyframes-CwhOVuO5.js → keyframes-DwX4rsz3.js} +2 -2
- package/dist/chunks/{leaderboard-CbjrxexL.js → leaderboard-Bm9JPPkX.js} +2 -2
- package/dist/chunks/leaderboard-DAxGz-Bv.cjs +1 -1
- package/dist/chunks/location-card-ChfmioKU.cjs +1 -1
- package/dist/chunks/{location-card-BqWM1-UQ.js → location-card-DlVRckSa.js} +2 -2
- package/dist/chunks/{lottie-icon-BYzLLASp.js → lottie-icon-DYVkUCf7.js} +2 -2
- package/dist/chunks/lottie-icon-tbOmn1bQ.cjs +1 -1
- package/dist/chunks/{lottie-player-BdgHpKiX.js → lottie-player-CKBWkEF6.js} +3 -3
- package/dist/chunks/{lottie-player-kQ9J05on.cjs → lottie-player-dpDCVCjF.cjs} +2 -2
- package/dist/chunks/luminous-B_-9G2GO.cjs +78 -0
- package/dist/chunks/luminous-iQ0lxR6o.js +73 -0
- package/dist/chunks/{lyrics-C4G2M58i.js → lyrics-BGUZPoYa.js} +2 -2
- package/dist/chunks/lyrics-CchUHmvY.cjs +1 -1
- package/dist/chunks/{manifest-C-95Gckp.js → manifest-D9SNkSNr.js} +2 -2
- package/dist/chunks/manifest-DWZv7bHQ.cjs +1 -1
- package/dist/chunks/{menu-D0jo561j.js → menu-7-UBhICx.js} +2 -2
- package/dist/chunks/menu-9GcThZZr.cjs +1 -1
- package/dist/chunks/{menu-toggle-DfImd7GH.js → menu-toggle-C4AUDeBM.js} +2 -2
- package/dist/chunks/menu-toggle-DcMQeRDt.cjs +1 -1
- package/dist/chunks/mo-name-DR9ysd5S.cjs +1 -1
- package/dist/chunks/mo-name-DT5wwaGR.js +1 -1
- package/dist/chunks/{nav-flyout-BklGeZ6_.js → nav-flyout-BlxMtN4W.js} +2 -2
- package/dist/chunks/nav-flyout-CrLUC54W.cjs +1 -1
- package/dist/chunks/{nav-morph-DbPrhAZe.js → nav-morph-BPpHX9Ez.js} +2 -2
- package/dist/chunks/nav-morph-DuNCH5WQ.cjs +1 -1
- package/dist/chunks/{otp-BicHkNV7.js → otp-BIrDvGU8.js} +2 -2
- package/dist/chunks/otp-W5drE539.cjs +1 -1
- package/dist/chunks/pagination-BH2ngIJB.cjs +1 -1
- package/dist/chunks/{pagination-YhHT5Tu2.js → pagination-CiU78ftj.js} +2 -2
- package/dist/chunks/{physics-playground-Cxcj4i13.js → physics-playground-BxUsW04z.js} +3 -3
- package/dist/chunks/{physics-playground-m9zHsri6.cjs → physics-playground-thOU1LWG.cjs} +2 -2
- package/dist/chunks/play-CTz93Nas.cjs +1 -1
- package/dist/chunks/{play-B1V6ejr7.js → play-KU8T1oaZ.js} +2 -2
- package/dist/chunks/{player-core-BeC-5HSm.js → player-core-BtZTI0Fz.js} +4 -4
- package/dist/chunks/player-core-CqR6WVaL.cjs +1 -1
- package/dist/chunks/presence-DKDktgSJ.cjs +1 -1
- package/dist/chunks/{presence-DP4MWxbz.js → presence-qE-_AKeD.js} +2 -2
- package/dist/chunks/presets-BYBVJVeP.js +1 -1
- package/dist/chunks/presets-CUHys3sK.cjs +1 -1
- package/dist/chunks/{preview-C0sWbNsF.js → preview-BNOUoHr9.js} +3 -3
- package/dist/chunks/preview-DGpXA2hJ.cjs +1 -1
- package/dist/chunks/{prize-wheel-CQdle8sb.js → prize-wheel-DTpQnQ23.js} +2 -2
- package/dist/chunks/prize-wheel-W_4Wvldc.cjs +1 -1
- package/dist/chunks/product-gallery-B5ra4XHf.cjs +1 -1
- package/dist/chunks/{product-gallery-DkLx-GA5.js → product-gallery-DUr6hkuf.js} +2 -2
- package/dist/chunks/{progress-ring-BBsjkFf2.js → progress-ring-BS7OogLs.js} +2 -2
- package/dist/chunks/progress-ring-YtKPU2jM.cjs +1 -1
- package/dist/chunks/{project-Sa13fIXw.js → project-D8KHFDHI.js} +4 -4
- package/dist/chunks/project-DIZ0UqvG.cjs +1 -1
- package/dist/chunks/{prop-panel-DlHuRGMl.js → prop-panel-C65BHNBP.js} +2 -2
- package/dist/chunks/prop-panel-CaR91ZOI.cjs +1 -1
- package/dist/chunks/{radar-CPk16rh6.js → radar-BIU0Yz3_.js} +2 -2
- package/dist/chunks/radar-CGKx_0Ug.cjs +1 -1
- package/dist/chunks/reactions-C8aoxmBM.cjs +1 -1
- package/dist/chunks/{reactions-CgytEgcC.js → reactions-hF5fzYX_.js} +2 -2
- package/dist/chunks/{registry-CYm_Tb0w.cjs → registry-BXffrwRX.cjs} +2 -2
- package/dist/chunks/{registry-Di_8M2Md.js → registry-DmYdTtl4.js} +2 -2
- package/dist/chunks/{registry-CWI1ob40.js → registry-DqP2DnFc.js} +2 -2
- package/dist/chunks/registry-_XKU28ZC.cjs +1 -1
- package/dist/chunks/retro-button-CFu0VcvW.cjs +1 -1
- package/dist/chunks/{retro-button-DZmsOnQZ.js → retro-button-W7RR6wC5.js} +2 -2
- package/dist/chunks/{rive-CuQrXqPv.js → rive-D7DZNUuN.js} +2 -2
- package/dist/chunks/rive-xzduMxFp.cjs +1 -1
- package/dist/chunks/{runtime-link-BepzGCtu.js → runtime-link-3gcNvLRM.js} +2 -2
- package/dist/chunks/{runtime-link-CdvAFKsO.cjs → runtime-link-Cg2k_SYg.cjs} +2 -2
- package/dist/chunks/{scene-DWRlvQ00.js → scene-COP9gX_F.js} +2 -2
- package/dist/chunks/scene-C_jNHfn4.cjs +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-BRnibjdP.cjs → scroll-scene-BJfnsv7o.cjs} +3 -3
- package/dist/chunks/{scroll-scene-B9TSwnRw.js → scroll-scene-K_RyEk-2.js} +4 -4
- package/dist/chunks/{segmented-DV3fsjZA.js → segmented-C4QWn3G2.js} +2 -2
- package/dist/chunks/segmented-JA4E5-4e.cjs +1 -1
- package/dist/chunks/{shader-backdrop-DCUYQZs4.js → shader-backdrop-BjSIcvSf.js} +2 -2
- package/dist/chunks/shader-backdrop-Ct8UIKNL.cjs +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-BzJEwGbk.cjs +1 -1
- package/dist/chunks/{sheet-syGvz3gI.js → sheet-DZd011Pc.js} +2 -2
- package/dist/chunks/sign-DvZ1jHxE.js +1 -1
- package/dist/chunks/sign-RAkQIWrM.cjs +1 -1
- package/dist/chunks/skeleton-reveal-04UV72HA.cjs +1 -1
- package/dist/chunks/{skeleton-reveal-B3MJyXtU.js → skeleton-reveal-C1w5G0dG.js} +2 -2
- package/dist/chunks/{sparkline-B6i28zLO.js → sparkline-CjKGcnI4.js} +2 -2
- package/dist/chunks/sparkline-b6jIA0JR.cjs +1 -1
- package/dist/chunks/{spring-Ddhxb3nO.js → spring-Bu3AwUgu.js} +2 -2
- package/dist/chunks/spring-DoapHVAk.cjs +1 -1
- package/dist/chunks/stagger-B9sKPwQB.js +1 -1
- package/dist/chunks/stagger-DFKwqOQG.cjs +1 -1
- package/dist/chunks/{suggestion-chips-BSTTrsXU.js → suggestion-chips-BEes6d7i.js} +2 -2
- package/dist/chunks/suggestion-chips-a0-diVWW.cjs +1 -1
- package/dist/chunks/{switch-B5ACriSq.js → switch-BRHtlbGk.js} +2 -2
- package/dist/chunks/switch-Cs6mszUY.cjs +1 -1
- package/dist/chunks/{tab-bar-B9EIsSde.js → tab-bar-Bl0c_Z2L.js} +2 -2
- package/dist/chunks/tab-bar-BvRhwu_Z.cjs +1 -1
- package/dist/chunks/{ticker-CEWigMxm.js → ticker-2JzTB1Rc.js} +2 -2
- package/dist/chunks/{ticker-D22gBWhA.cjs → ticker-BXI7ypXA.cjs} +2 -2
- package/dist/chunks/{tip-L4bEg80R.js → tip-BVeq5Vl_.js} +2 -2
- package/dist/chunks/tip-C4ZmZX3u.cjs +1 -1
- package/dist/chunks/{toast-stack-BAZcQeG8.js → toast-stack-CMgOdocD.js} +4 -4
- package/dist/chunks/{toast-stack-CvhLNj0o.cjs → toast-stack-DOE1cHRn.cjs} +2 -2
- package/dist/chunks/{tween-C0Vcrivp.cjs → tween-BQDNxJ6N.cjs} +2 -2
- package/dist/chunks/{tween-DBr6c0Np.js → tween-iwlQOY9w.js} +2 -2
- package/dist/chunks/{upload-progress-DHuh8F0L.js → upload-progress-Cxbh9qV2.js} +2 -2
- package/dist/chunks/upload-progress-Dw3IXtf8.cjs +1 -1
- package/dist/chunks/{v2-BGAJ5peo.js → v2-BRjQxrf_.js} +3 -3
- package/dist/chunks/v2-Z2M3Ef0Y.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-DGFs5iIp.js → variants-D_Vmflhf.js} +2 -2
- package/dist/chunks/variants-OGnKHKwT.cjs +1 -1
- package/dist/chunks/viewport-BAXHhZLV.js +1 -1
- package/dist/chunks/viewport-EFYGqMNa.cjs +1 -1
- package/dist/chunks/voice-button-CjB9Skfp.cjs +1 -1
- package/dist/chunks/{voice-button-B_ursjZX.js → voice-button-DsvWmYoO.js} +2 -2
- package/dist/chunks/weather-card-DjTGZGrl.cjs +1 -1
- package/dist/chunks/{weather-card-Bro03MyD.js → weather-card-Dszcrytm.js} +2 -2
- package/dist/chunks/{worker-canvas-BQ31D84x.js → worker-canvas-Cob4mssI.js} +2 -2
- package/dist/chunks/worker-canvas-DgGkosGe.cjs +1 -1
- package/dist/chunks/{xp-bar-CIdfQQOK.js → xp-bar-BnKM8ws2.js} +2 -2
- package/dist/chunks/xp-bar-CgH7Z424.cjs +1 -1
- package/dist/components/a11y.cjs +2 -2
- package/dist/components/a11y.js +4 -4
- package/dist/components/ai.cjs +1 -1
- package/dist/components/ai.js +1 -1
- package/dist/components/angular.cjs +2 -2
- package/dist/components/angular.d.cts +75 -215
- package/dist/components/angular.d.ts +75 -215
- package/dist/components/angular.js +2 -2
- package/dist/components/background.cjs +1 -1
- package/dist/components/background.css +6 -6
- package/dist/components/background.js +3 -3
- package/dist/components/bridge.cjs +1 -1
- package/dist/components/bridge.js +2 -2
- package/dist/components/cards.cjs +1 -1
- package/dist/components/cards.css +4 -4
- package/dist/components/cards.js +3 -3
- package/dist/components/click.cjs +1 -1
- package/dist/components/click.css +7 -7
- package/dist/components/click.js +4 -4
- package/dist/components/core.cjs +1 -1
- package/dist/components/core.js +1 -1
- package/dist/components/depth.cjs +1 -1
- package/dist/components/depth.css +1 -1
- package/dist/components/depth.js +4 -4
- package/dist/components/design.cjs +1 -1
- package/dist/components/design.js +2 -2
- package/dist/components/dotlottie.cjs +3 -3
- package/dist/components/dotlottie.js +4 -4
- package/dist/components/dsl.cjs +1 -1
- package/dist/components/dsl.js +2 -2
- package/dist/components/effects.cjs +1 -1
- package/dist/components/effects.js +10 -10
- package/dist/components/engine.cjs +1 -1
- package/dist/components/engine.js +3 -3
- package/dist/components/feedback.cjs +1 -1
- package/dist/components/feedback.css +5 -5
- package/dist/components/feedback.js +2 -2
- package/dist/components/fx-3d.cjs +1 -1
- package/dist/components/fx-3d.js +3 -3
- package/dist/components/fx-ai.cjs +1 -1
- package/dist/components/fx-ai.js +2 -2
- package/dist/components/fx-chart.cjs +1 -1
- package/dist/components/fx-chart.js +2 -2
- package/dist/components/fx-cinema.cjs +1 -1
- package/dist/components/fx-cinema.js +2 -2
- package/dist/components/fx-cyber.cjs +1 -1
- package/dist/components/fx-cyber.js +2 -2
- package/dist/components/fx-festival.cjs +1 -1
- package/dist/components/fx-festival.js +2 -2
- package/dist/components/fx-focus.cjs +1 -1
- package/dist/components/fx-focus.js +2 -2
- package/dist/components/fx-form.cjs +1 -1
- package/dist/components/fx-form.js +2 -2
- package/dist/components/fx-game.cjs +1 -1
- package/dist/components/fx-game.js +2 -2
- package/dist/components/fx-genart.cjs +1 -1
- package/dist/components/fx-genart.js +2 -2
- package/dist/components/fx-geo.cjs +1 -1
- package/dist/components/fx-geo.js +2 -2
- package/dist/components/fx-gesture.cjs +1 -1
- package/dist/components/fx-gesture.js +2 -2
- package/dist/components/fx-gpu.cjs +1 -1
- package/dist/components/fx-gpu.js +4 -4
- package/dist/components/fx-hover.cjs +1 -1
- package/dist/components/fx-hover.js +3 -3
- package/dist/components/fx-light.cjs +1 -1
- package/dist/components/fx-light.js +4 -4
- package/dist/components/fx-lottie.cjs +1 -1
- package/dist/components/fx-lottie.js +2 -2
- package/dist/components/fx-morph.cjs +1 -1
- package/dist/components/fx-morph.js +2 -2
- package/dist/components/fx-music.cjs +1 -1
- package/dist/components/fx-music.js +5 -5
- package/dist/components/fx-organic.cjs +1 -1
- package/dist/components/fx-organic.js +2 -2
- package/dist/components/fx-paper.cjs +1 -1
- package/dist/components/fx-paper.js +2 -2
- package/dist/components/fx-perf.cjs +1 -1
- package/dist/components/fx-perf.js +3 -3
- package/dist/components/fx-physics.cjs +1 -1
- package/dist/components/fx-physics.js +4 -4
- package/dist/components/fx-retro.cjs +1 -1
- package/dist/components/fx-retro.js +2 -2
- package/dist/components/fx-safe.cjs +1 -1
- package/dist/components/fx-safe.js +3 -3
- package/dist/components/fx-shop.cjs +1 -1
- package/dist/components/fx-shop.js +2 -2
- package/dist/components/fx-social.cjs +1 -1
- package/dist/components/fx-social.js +2 -2
- package/dist/components/fx-spatial.cjs +1 -1
- package/dist/components/fx-spatial.js +2 -2
- package/dist/components/fx-surface.cjs +1 -1
- package/dist/components/fx-surface.js +2 -2
- package/dist/components/fx-text.cjs +1 -1
- package/dist/components/fx-text.js +3 -3
- package/dist/components/fx-transitions.cjs +1 -1
- package/dist/components/fx-transitions.js +4 -4
- package/dist/components/fx-video.cjs +1 -1
- package/dist/components/fx-video.js +3 -3
- package/dist/components/fx-weather.cjs +1 -1
- package/dist/components/fx-weather.js +3 -3
- package/dist/components/fx.cjs +1 -1
- package/dist/components/fx.js +5 -5
- package/dist/components/fx2.cjs +1 -1
- package/dist/components/fx2.js +5 -5
- package/dist/components/gesture.cjs +1 -1
- package/dist/components/gesture.css +1 -1
- package/dist/components/gesture.js +5 -5
- package/dist/components/gl-model.cjs +3 -3
- package/dist/components/gl-model.js +4 -4
- package/dist/components/gl-pool.cjs +1 -1
- package/dist/components/gl-pool.js +1 -1
- package/dist/components/interaction.cjs +1 -1
- package/dist/components/interaction.css +5 -5
- package/dist/components/interaction.js +2 -2
- package/dist/components/jsx.cjs +1 -1
- package/dist/components/jsx.d.cts +75 -215
- package/dist/components/jsx.d.ts +75 -215
- package/dist/components/jsx.js +1 -1
- package/dist/components/layout.cjs +1 -1
- package/dist/components/layout.css +1 -1
- package/dist/components/layout.js +2 -2
- package/dist/components/lazy.cjs +1 -1
- package/dist/components/lazy.js +1 -1
- package/dist/components/lite.cjs +90 -88
- package/dist/components/lite.js +90 -88
- package/dist/components/marketplace.cjs +1 -1
- package/dist/components/marketplace.js +3 -3
- package/dist/components/mo.cjs +71 -70
- package/dist/components/mo.d.cts +1315 -4
- package/dist/components/mo.d.ts +1315 -4
- package/dist/components/mo.js +72 -71
- package/dist/components/motion-layout.cjs +1 -1
- package/dist/components/motion-layout.js +3 -3
- package/dist/components/motion-scene.cjs +1 -1
- package/dist/components/motion-scene.js +3 -3
- package/dist/components/motion-tokens.cjs +1 -1
- package/dist/components/motion-tokens.js +1 -1
- package/dist/components/motion.cjs +1 -1
- package/dist/components/motion.js +5 -5
- package/dist/components/native.cjs +1 -1
- package/dist/components/native.js +1 -1
- package/dist/components/offscreen.cjs +1 -1
- package/dist/components/offscreen.js +3 -3
- package/dist/components/packs.cjs +1 -1
- package/dist/components/packs.js +2 -2
- package/dist/components/page.cjs +1 -1
- package/dist/components/page.css +8 -8
- package/dist/components/page.js +4 -4
- package/dist/components/perf-tasks.cjs +1 -1
- package/dist/components/perf-tasks.js +2 -2
- package/dist/components/perf.cjs +1 -1
- package/dist/components/perf.js +3 -3
- package/dist/components/physics.cjs +1 -1
- package/dist/components/physics.css +3 -3
- package/dist/components/physics.js +4 -4
- package/dist/components/plugins.cjs +1 -1
- package/dist/components/plugins.js +2 -2
- package/dist/components/react.cjs +1 -1
- package/dist/components/react.js +1 -1
- package/dist/components/reveal.cjs +1 -1
- package/dist/components/reveal.css +3 -3
- package/dist/components/reveal.js +2 -2
- package/dist/components/scene-symbols.cjs +1 -1
- package/dist/components/scene-symbols.js +1 -1
- package/dist/components/scene-v2.cjs +1 -1
- package/dist/components/scene-v2.js +2 -2
- package/dist/components/scene-v3.cjs +1 -1
- package/dist/components/scene-v3.js +2 -2
- package/dist/components/snap-carousel.cjs +2 -2
- package/dist/components/snap-carousel.js +3 -3
- package/dist/components/solid.cjs +1 -1
- package/dist/components/solid.d.cts +55 -214
- package/dist/components/solid.d.ts +55 -214
- package/dist/components/solid.js +1 -1
- package/dist/components/studio-a11y.cjs +1 -1
- package/dist/components/studio-a11y.js +1 -1
- package/dist/components/studio-ai.cjs +1 -1
- package/dist/components/studio-ai.js +4 -4
- package/dist/components/studio-app.cjs +1 -1
- package/dist/components/studio-app.js +4 -4
- package/dist/components/studio-assets.cjs +1 -1
- package/dist/components/studio-assets.js +3 -3
- package/dist/components/studio-budget.cjs +1 -1
- package/dist/components/studio-budget.js +1 -1
- package/dist/components/studio-canvas.cjs +1 -1
- package/dist/components/studio-canvas.js +3 -3
- package/dist/components/studio-export.cjs +1 -1
- package/dist/components/studio-export.js +4 -4
- package/dist/components/studio-native.cjs +1 -1
- package/dist/components/studio-native.js +3 -3
- package/dist/components/studio-plugins.cjs +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 +2 -2
- package/dist/components/studio.cjs +1 -1
- package/dist/components/studio.js +7 -7
- package/dist/components/svelte.cjs +1 -1
- package/dist/components/svelte.d.cts +75 -215
- package/dist/components/svelte.d.ts +75 -215
- package/dist/components/svelte.js +1 -1
- package/dist/components/svg.cjs +1 -1
- package/dist/components/svg.css +1 -1
- package/dist/components/svg.js +2 -2
- package/dist/components/text.cjs +1 -1
- package/dist/components/text.css +6 -6
- package/dist/components/text.js +3 -3
- package/dist/components/timeline-editor.cjs +1 -1
- package/dist/components/timeline-editor.js +5 -5
- package/dist/components/timeline.cjs +1 -1
- package/dist/components/timeline.css +1 -1
- package/dist/components/timeline.js +4 -4
- package/dist/components/tokens.cjs +1 -1
- package/dist/components/tokens.js +1 -1
- package/dist/components/transitions.cjs +1 -1
- package/dist/components/transitions.css +3 -3
- package/dist/components/transitions.js +2 -2
- package/dist/components/ui.cjs +1 -1
- package/dist/components/ui.css +9 -9
- package/dist/components/ui.js +5 -5
- package/dist/components/vue.cjs +2 -2
- package/dist/components/vue.d.cts +75 -215
- package/dist/components/vue.d.ts +75 -215
- package/dist/components/vue.js +2 -2
- package/dist/components/webgl.cjs +1 -1
- package/dist/components/webgl.css +1 -1
- package/dist/components/webgl.js +2 -2
- package/dist/components/widgets.cjs +26 -7
- package/dist/components/widgets.d.cts +75 -2
- package/dist/components/widgets.d.ts +75 -2
- package/dist/components/widgets.js +114 -104
- package/dist/components.cjs +1 -1
- package/dist/components.css +66 -66
- package/dist/components.js +11 -11
- package/dist/components.umd.js +3 -3
- package/dist/effects/achievement-unlock.cjs +1 -1
- package/dist/effects/achievement-unlock.js +2 -2
- package/dist/effects/aurora-veil.cjs +1 -1
- package/dist/effects/aurora-veil.js +2 -2
- package/dist/effects/badge-pop.cjs +1 -1
- package/dist/effects/badge-pop.js +2 -2
- package/dist/effects/bars-grow.cjs +1 -1
- package/dist/effects/bars-grow.js +2 -2
- package/dist/effects/beat-bounce.cjs +1 -1
- package/dist/effects/beat-bounce.js +2 -2
- package/dist/effects/blob-button.cjs +1 -1
- package/dist/effects/blob-button.js +2 -2
- package/dist/effects/bloom.cjs +1 -1
- package/dist/effects/bloom.js +2 -2
- package/dist/effects/breathe.cjs +1 -1
- package/dist/effects/breathe.js +2 -2
- package/dist/effects/brushed-metal.cjs +1 -1
- package/dist/effects/brushed-metal.js +2 -2
- package/dist/effects/camera-dolly.cjs +1 -1
- package/dist/effects/camera-dolly.js +2 -2
- package/dist/effects/card-flip-3d.cjs +1 -1
- package/dist/effects/card-flip-3d.js +2 -2
- package/dist/effects/chest-open.cjs +1 -1
- package/dist/effects/chest-open.js +2 -2
- package/dist/effects/cloth.cjs +1 -1
- package/dist/effects/cloth.js +2 -2
- package/dist/effects/coin-burst.cjs +1 -1
- package/dist/effects/coin-burst.js +2 -2
- package/dist/effects/color-pulse.cjs +1 -1
- package/dist/effects/color-pulse.js +2 -2
- package/dist/effects/crt-power.cjs +1 -1
- package/dist/effects/crt-power.js +2 -2
- package/dist/effects/crumple.cjs +1 -1
- package/dist/effects/crumple.js +2 -2
- package/dist/effects/data-decode.cjs +1 -1
- package/dist/effects/data-decode.js +2 -2
- package/dist/effects/day-cycle.cjs +1 -1
- package/dist/effects/day-cycle.js +2 -2
- package/dist/effects/depth-in.cjs +1 -1
- package/dist/effects/depth-in.js +2 -2
- package/dist/effects/depth-pop.cjs +1 -1
- package/dist/effects/depth-pop.js +2 -2
- package/dist/effects/depth-stack.cjs +1 -1
- package/dist/effects/depth-stack.js +2 -2
- package/dist/effects/dolly-in.cjs +1 -1
- package/dist/effects/dolly-in.js +2 -2
- package/dist/effects/dots-pop.cjs +1 -1
- package/dist/effects/dots-pop.js +2 -2
- package/dist/effects/field-shake.cjs +1 -1
- package/dist/effects/field-shake.js +2 -2
- package/dist/effects/field-success.cjs +1 -1
- package/dist/effects/field-success.js +2 -2
- package/dist/effects/film-burn.cjs +1 -1
- package/dist/effects/film-burn.js +2 -2
- package/dist/effects/fire.cjs +1 -1
- package/dist/effects/fire.js +3 -3
- package/dist/effects/fireflies.cjs +1 -1
- package/dist/effects/fireflies.js +3 -3
- package/dist/effects/firework-burst.cjs +1 -1
- package/dist/effects/firework-burst.js +2 -2
- package/dist/effects/flip-chars.cjs +1 -1
- package/dist/effects/flip-chars.js +2 -2
- package/dist/effects/fluid.cjs +1 -1
- package/dist/effects/fluid.js +3 -3
- package/dist/effects/fly-to-cart.cjs +1 -1
- package/dist/effects/fly-to-cart.js +2 -2
- package/dist/effects/focus-draw.cjs +1 -1
- package/dist/effects/focus-draw.js +2 -2
- package/dist/effects/focus-glow.cjs +1 -1
- package/dist/effects/focus-glow.js +2 -2
- package/dist/effects/focus-reveal.cjs +1 -1
- package/dist/effects/focus-reveal.js +2 -2
- package/dist/effects/fog.cjs +1 -1
- package/dist/effects/fog.js +2 -2
- package/dist/effects/font-breathe.cjs +1 -1
- package/dist/effects/font-breathe.js +2 -2
- package/dist/effects/form-cascade.cjs +1 -1
- package/dist/effects/form-cascade.js +2 -2
- package/dist/effects/gen-skeleton.cjs +1 -1
- package/dist/effects/gen-skeleton.js +2 -2
- package/dist/effects/glass-frost.cjs +1 -1
- package/dist/effects/glass-frost.js +2 -2
- package/dist/effects/glitch-text.cjs +1 -1
- package/dist/effects/glitch-text.js +2 -2
- package/dist/effects/globe-spin.cjs +1 -1
- package/dist/effects/globe-spin.js +2 -2
- package/dist/effects/god-rays.cjs +1 -1
- package/dist/effects/god-rays.js +2 -2
- package/dist/effects/googly-eyes.cjs +1 -1
- package/dist/effects/googly-eyes.js +2 -2
- package/dist/effects/gpu-lift.cjs +1 -1
- package/dist/effects/gpu-lift.js +2 -2
- package/dist/effects/grain-flicker.cjs +1 -1
- package/dist/effects/grain-flicker.js +2 -2
- package/dist/effects/grid-warp.cjs +1 -1
- package/dist/effects/grid-warp.js +2 -2
- package/dist/effects/halftone-in.cjs +1 -1
- package/dist/effects/halftone-in.js +2 -2
- package/dist/effects/highlight-sweep.cjs +1 -1
- package/dist/effects/highlight-sweep.js +2 -2
- package/dist/effects/hologram.cjs +1 -1
- package/dist/effects/hologram.js +2 -2
- package/dist/effects/hud-frame.cjs +1 -1
- package/dist/effects/hud-frame.js +2 -2
- package/dist/effects/icon-pop.cjs +1 -1
- package/dist/effects/icon-pop.js +2 -2
- package/dist/effects/icon-swap.cjs +1 -1
- package/dist/effects/icon-swap.js +2 -2
- package/dist/effects/idle-reveal.cjs +1 -1
- package/dist/effects/idle-reveal.js +2 -2
- package/dist/effects/image-swap.cjs +1 -1
- package/dist/effects/image-swap.js +2 -2
- package/dist/effects/ink.cjs +1 -1
- package/dist/effects/ink.js +3 -3
- package/dist/effects/jump-cut.cjs +1 -1
- package/dist/effects/jump-cut.js +2 -2
- package/dist/effects/kaleido.cjs +1 -1
- package/dist/effects/kaleido.js +2 -2
- package/dist/effects/label-float.cjs +1 -1
- package/dist/effects/label-float.js +2 -2
- package/dist/effects/lantern-rise.cjs +1 -1
- package/dist/effects/lantern-rise.js +2 -2
- package/dist/effects/leaves.cjs +1 -1
- package/dist/effects/leaves.js +3 -3
- package/dist/effects/letterbox.cjs +1 -1
- package/dist/effects/letterbox.js +2 -2
- package/dist/effects/level-up.cjs +1 -1
- package/dist/effects/level-up.js +2 -2
- package/dist/effects/light-follow.cjs +1 -1
- package/dist/effects/light-follow.js +2 -2
- package/dist/effects/lightning.cjs +1 -1
- package/dist/effects/lightning.js +2 -2
- package/dist/effects/line-draw.cjs +1 -1
- package/dist/effects/line-draw.js +2 -2
- package/dist/effects/liquid-text.cjs +1 -1
- package/dist/effects/liquid-text.js +2 -2
- package/dist/effects/liquid-wipe.cjs +1 -1
- package/dist/effects/liquid-wipe.js +2 -2
- package/dist/effects/lottie-play.cjs +1 -1
- package/dist/effects/lottie-play.js +2 -2
- package/dist/effects/magnet.cjs +1 -1
- package/dist/effects/magnet.js +2 -2
- package/dist/effects/marching-ants.cjs +1 -1
- package/dist/effects/marching-ants.js +2 -2
- package/dist/effects/marker-pulse.cjs +1 -1
- package/dist/effects/marker-pulse.js +2 -2
- package/dist/effects/mention-glow.cjs +1 -1
- package/dist/effects/mention-glow.js +2 -2
- package/dist/effects/mesh-drift.cjs +1 -1
- package/dist/effects/mesh-drift.js +2 -2
- package/dist/effects/message-in.cjs +1 -1
- package/dist/effects/message-in.js +2 -2
- package/dist/effects/mosaic-flip.cjs +1 -1
- package/dist/effects/mosaic-flip.js +2 -2
- package/dist/effects/neon-ignite.cjs +1 -1
- package/dist/effects/neon-ignite.js +2 -2
- package/dist/effects/neon-pulse.cjs +1 -1
- package/dist/effects/neon-pulse.js +2 -2
- package/dist/effects/neon-write.cjs +1 -1
- package/dist/effects/neon-write.js +2 -2
- package/dist/effects/neu-press.cjs +1 -1
- package/dist/effects/neu-press.js +2 -2
- package/dist/effects/noise-reveal.cjs +1 -1
- package/dist/effects/noise-reveal.js +2 -2
- package/dist/effects/number-roll.cjs +1 -1
- package/dist/effects/number-roll.js +2 -2
- package/dist/effects/orbit-camera.cjs +1 -1
- package/dist/effects/orbit-camera.js +2 -2
- package/dist/effects/orbit-in.cjs +1 -1
- package/dist/effects/orbit-in.js +2 -2
- package/dist/effects/origami.cjs +1 -1
- package/dist/effects/origami.js +2 -2
- package/dist/effects/page-curl.cjs +1 -1
- package/dist/effects/page-curl.js +2 -2
- package/dist/effects/pan-reveal.cjs +1 -1
- package/dist/effects/pan-reveal.js +2 -2
- package/dist/effects/paper-unfold.cjs +1 -1
- package/dist/effects/paper-unfold.js +2 -2
- package/dist/effects/particle-text.cjs +1 -1
- package/dist/effects/particle-text.js +2 -2
- package/dist/effects/path-morph.cjs +1 -1
- package/dist/effects/path-morph.js +2 -2
- package/dist/effects/pearlescent.cjs +1 -1
- package/dist/effects/pearlescent.js +2 -2
- package/dist/effects/pencil-sketch.cjs +1 -1
- package/dist/effects/pencil-sketch.js +2 -2
- package/dist/effects/pin-drop.cjs +1 -1
- package/dist/effects/pin-drop.js +2 -2
- package/dist/effects/pinball.cjs +1 -1
- package/dist/effects/pinball.js +2 -2
- package/dist/effects/pinch-hint.cjs +1 -1
- package/dist/effects/pinch-hint.js +2 -2
- package/dist/effects/pixelate-in.cjs +1 -1
- package/dist/effects/pixelate-in.js +2 -2
- package/dist/effects/pointer-shadow.cjs +1 -1
- package/dist/effects/pointer-shadow.js +2 -2
- package/dist/effects/portal-open.cjs +1 -1
- package/dist/effects/portal-open.js +2 -2
- package/dist/effects/price-flip.cjs +1 -1
- package/dist/effects/price-flip.js +2 -2
- package/dist/effects/product-spin.cjs +1 -1
- package/dist/effects/product-spin.js +2 -2
- package/dist/effects/rack-focus.cjs +1 -1
- package/dist/effects/rack-focus.js +2 -2
- package/dist/effects/radial-spectrum.cjs +1 -1
- package/dist/effects/radial-spectrum.js +2 -2
- package/dist/effects/rain-glass.cjs +1 -1
- package/dist/effects/rain-glass.js +2 -2
- package/dist/effects/reaction-burst.cjs +1 -1
- package/dist/effects/reaction-burst.js +2 -2
- package/dist/effects/read-receipt.cjs +1 -1
- package/dist/effects/read-receipt.js +2 -2
- package/dist/effects/refraction.cjs +1 -1
- package/dist/effects/refraction.js +2 -2
- package/dist/effects/ring-sweep.cjs +1 -1
- package/dist/effects/ring-sweep.js +2 -2
- package/dist/effects/ripple-dissolve.cjs +1 -1
- package/dist/effects/ripple-dissolve.js +2 -2
- package/dist/effects/rope.cjs +1 -1
- package/dist/effects/rope.js +2 -2
- package/dist/effects/route-draw.cjs +1 -1
- package/dist/effects/route-draw.js +2 -2
- package/dist/effects/safe-fade.cjs +1 -1
- package/dist/effects/safe-fade.js +2 -2
- package/dist/effects/sakura.cjs +1 -1
- package/dist/effects/sakura.js +3 -3
- package/dist/effects/sale-shine.cjs +1 -1
- package/dist/effects/sale-shine.js +2 -2
- package/dist/effects/sankey-flow.cjs +1 -1
- package/dist/effects/sankey-flow.js +2 -2
- package/dist/effects/scanline-sweep.cjs +1 -1
- package/dist/effects/scanline-sweep.js +2 -2
- package/dist/effects/shatter.cjs +1 -1
- package/dist/effects/shatter.js +2 -2
- package/dist/effects/smoke.cjs +1 -1
- package/dist/effects/smoke.js +3 -3
- package/dist/effects/snowfall.cjs +1 -1
- package/dist/effects/snowfall.js +2 -2
- package/dist/effects/soft-body.cjs +1 -1
- package/dist/effects/soft-body.js +2 -2
- package/dist/effects/sound-particles.cjs +1 -1
- package/dist/effects/sound-particles.js +2 -2
- package/dist/effects/spatial-float.cjs +1 -1
- package/dist/effects/spatial-float.js +2 -2
- package/dist/effects/spectrum-mirror.cjs +1 -1
- package/dist/effects/spectrum-mirror.js +2 -2
- package/dist/effects/splash.cjs +1 -1
- package/dist/effects/splash.js +3 -3
- package/dist/effects/spooky-float.cjs +1 -1
- package/dist/effects/spooky-float.js +2 -2
- package/dist/effects/stock-pulse.cjs +1 -1
- package/dist/effects/stock-pulse.js +2 -2
- package/dist/effects/stream-text.cjs +1 -1
- package/dist/effects/stream-text.js +2 -2
- package/dist/effects/stroke-draw.cjs +1 -1
- package/dist/effects/stroke-draw.js +2 -2
- package/dist/effects/success-check.cjs +1 -1
- package/dist/effects/success-check.js +2 -2
- package/dist/effects/swipe-hint.cjs +1 -1
- package/dist/effects/swipe-hint.js +2 -2
- package/dist/effects/text-roll.cjs +1 -1
- package/dist/effects/text-roll.js +2 -2
- package/dist/effects/text-trail.cjs +1 -1
- package/dist/effects/text-trail.js +2 -2
- package/dist/effects/thinking-glow.cjs +1 -1
- package/dist/effects/thinking-glow.js +2 -2
- package/dist/effects/tilt-wobble.cjs +1 -1
- package/dist/effects/tilt-wobble.js +2 -2
- package/dist/effects/typing-dots.cjs +1 -1
- package/dist/effects/typing-dots.js +2 -2
- package/dist/effects/underline-sweep.cjs +1 -1
- package/dist/effects/underline-sweep.js +2 -2
- package/dist/effects/vhs-glitch.cjs +1 -1
- package/dist/effects/vhs-glitch.js +2 -2
- package/dist/effects/vine-grow.cjs +1 -1
- package/dist/effects/vine-grow.js +2 -2
- package/dist/effects/vinyl-spin.cjs +1 -1
- package/dist/effects/vinyl-spin.js +2 -2
- package/dist/effects/voice-wave.cjs +1 -1
- package/dist/effects/voice-wave.js +2 -2
- package/dist/effects/water-drop.cjs +1 -1
- package/dist/effects/water-drop.js +2 -2
- package/dist/effects/watercolor.cjs +1 -1
- package/dist/effects/watercolor.js +2 -2
- package/dist/effects/waveform-scope.cjs +1 -1
- package/dist/effects/waveform-scope.js +2 -2
- package/dist/effects/xmas-snow.cjs +1 -1
- package/dist/effects/xmas-snow.js +2 -2
- package/dist/effects/xp-gain.cjs +1 -1
- package/dist/effects/xp-gain.js +2 -2
- package/dist/effects/y2k-shine.cjs +1 -1
- package/dist/effects/y2k-shine.js +2 -2
- package/dist/element.cjs +1 -1
- package/dist/element.js +1 -1
- package/dist/element.umd.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +2 -2
- package/dist/index.umd.js +1 -1
- package/dist/llms.txt +11 -2
- package/dist/manifest.json +1 -1
- package/dist/presets/extended.cjs +1 -1
- package/dist/presets/extended.js +1 -1
- package/dist/presets-extended.umd.js +1 -1
- package/dist/react.cjs +1 -1
- package/dist/react.js +1 -1
- package/dist/runtime/drag-snap.cjs +2 -2
- package/dist/runtime/drag-snap.iife.js +1 -1
- package/dist/runtime/drag-snap.js +2 -2
- package/dist/runtime/format-apng.cjs +3 -3
- package/dist/runtime/format-apng.iife.js +1 -1
- package/dist/runtime/format-apng.js +3 -3
- package/dist/runtime/format-css.cjs +3 -3
- package/dist/runtime/format-css.iife.js +1 -1
- package/dist/runtime/format-css.js +3 -3
- package/dist/runtime/format-gif.cjs +3 -3
- package/dist/runtime/format-gif.iife.js +1 -1
- package/dist/runtime/format-gif.js +3 -3
- package/dist/runtime/format-gltf.cjs +2 -2
- package/dist/runtime/format-gltf.iife.js +1 -1
- package/dist/runtime/format-gltf.js +2 -2
- package/dist/runtime/format-motion.cjs +4 -4
- package/dist/runtime/format-motion.iife.js +1 -1
- package/dist/runtime/format-motion.js +4 -4
- package/dist/runtime/format-obj.cjs +2 -2
- package/dist/runtime/format-obj.iife.js +1 -1
- package/dist/runtime/format-obj.js +2 -2
- package/dist/runtime/format-scene.cjs +2 -2
- package/dist/runtime/format-scene.iife.js +1 -1
- package/dist/runtime/format-scene.js +2 -2
- package/dist/runtime/format-sprite.cjs +3 -3
- package/dist/runtime/format-sprite.iife.js +1 -1
- package/dist/runtime/format-sprite.js +3 -3
- package/dist/runtime/format-svg.cjs +3 -3
- package/dist/runtime/format-svg.iife.js +1 -1
- package/dist/runtime/format-svg.js +3 -3
- package/dist/runtime/format-webp.cjs +3 -3
- package/dist/runtime/format-webp.iife.js +1 -1
- package/dist/runtime/format-webp.js +3 -3
- package/dist/runtime/gl.cjs +2 -2
- package/dist/runtime/gl.iife.js +1 -1
- package/dist/runtime/gl.js +2 -2
- package/dist/runtime/gltf-anim.cjs +2 -2
- package/dist/runtime/gltf-anim.iife.js +1 -1
- package/dist/runtime/gltf-anim.js +2 -2
- package/dist/runtime/gltf-decoders.cjs +2 -2
- package/dist/runtime/gltf-decoders.iife.js +1 -1
- package/dist/runtime/gltf-decoders.js +2 -2
- package/dist/runtime/lottie-state.cjs +2 -2
- package/dist/runtime/lottie-state.iife.js +1 -1
- package/dist/runtime/lottie-state.js +2 -2
- package/dist/runtime/physics.cjs +2 -2
- package/dist/runtime/physics.iife.js +1 -1
- package/dist/runtime/physics.js +2 -2
- package/dist/runtime/scroll.cjs +3 -3
- package/dist/runtime/scroll.iife.js +1 -1
- package/dist/runtime/scroll.js +3 -3
- package/dist/runtime/smooth.cjs +2 -2
- package/dist/runtime/smooth.iife.js +1 -1
- package/dist/runtime/smooth.js +2 -2
- package/dist/runtime/text.cjs +2 -2
- package/dist/runtime/text.iife.js +1 -1
- package/dist/runtime/text.js +2 -2
- package/dist/runtime/vector.cjs +3 -3
- package/dist/runtime/vector.iife.js +1 -1
- package/dist/runtime/vector.js +3 -3
- package/dist/runtime.cjs +4 -4
- package/dist/runtime.d.cts +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 +4 -4
- package/dist/widgets/badge-wall.cjs +1 -1
- package/dist/widgets/badge-wall.js +2 -2
- package/dist/widgets/bar-chart.cjs +1 -1
- package/dist/widgets/bar-chart.js +2 -2
- package/dist/widgets/bg-generator.cjs +1 -1
- package/dist/widgets/bg-generator.js +2 -2
- package/dist/widgets/breadcrumbs.cjs +1 -1
- package/dist/widgets/breadcrumbs.js +2 -2
- package/dist/widgets/carousel.cjs +1 -1
- package/dist/widgets/carousel.js +2 -2
- package/dist/widgets/cart-drawer.cjs +1 -1
- package/dist/widgets/cart-drawer.js +2 -2
- package/dist/widgets/chapter-nav.cjs +1 -1
- package/dist/widgets/chapter-nav.js +2 -2
- package/dist/widgets/chat-composer.cjs +1 -1
- package/dist/widgets/chat-composer.js +2 -2
- package/dist/widgets/clock-control.cjs +1 -1
- package/dist/widgets/clock-control.js +2 -2
- package/dist/widgets/code-export.cjs +1 -1
- package/dist/widgets/code-export.js +2 -2
- package/dist/widgets/color-picker.cjs +1 -1
- package/dist/widgets/color-picker.js +2 -2
- package/dist/widgets/command-palette.cjs +1 -1
- package/dist/widgets/command-palette.js +2 -2
- package/dist/widgets/compare.cjs +1 -1
- package/dist/widgets/compare.js +2 -2
- package/dist/widgets/countdown.cjs +1 -1
- package/dist/widgets/countdown.js +2 -2
- package/dist/widgets/cube-gallery.cjs +1 -1
- package/dist/widgets/cube-gallery.js +2 -2
- package/dist/widgets/date-picker.cjs +1 -1
- package/dist/widgets/date-picker.js +2 -2
- package/dist/widgets/disclosure.cjs +1 -1
- package/dist/widgets/disclosure.js +3 -3
- package/dist/widgets/dock.cjs +1 -1
- package/dist/widgets/dock.js +2 -2
- package/dist/widgets/dotlottie.cjs +1 -1
- package/dist/widgets/dotlottie.js +1 -1
- package/dist/widgets/download-menu.cjs +41 -0
- package/dist/widgets/download-menu.d.cts +1 -0
- package/dist/widgets/download-menu.d.ts +1 -0
- package/dist/widgets/download-menu.js +39 -0
- package/dist/widgets/equalizer.cjs +1 -1
- package/dist/widgets/equalizer.js +2 -2
- package/dist/widgets/festival-banner.cjs +1 -1
- package/dist/widgets/festival-banner.js +2 -2
- package/dist/widgets/field.cjs +1 -1
- package/dist/widgets/field.js +2 -2
- package/dist/widgets/file-drop.cjs +1 -1
- package/dist/widgets/file-drop.js +2 -2
- package/dist/widgets/file-tree.cjs +45 -0
- package/dist/widgets/file-tree.d.cts +1 -0
- package/dist/widgets/file-tree.d.ts +1 -0
- package/dist/widgets/file-tree.js +43 -0
- package/dist/widgets/fullscreen-menu.cjs +1 -1
- package/dist/widgets/fullscreen-menu.js +2 -2
- package/dist/widgets/gauge.cjs +1 -1
- package/dist/widgets/gauge.js +2 -2
- package/dist/widgets/gen-art.cjs +1 -1
- package/dist/widgets/gen-art.js +2 -2
- package/dist/widgets/gesture-sticker.cjs +1 -1
- package/dist/widgets/gesture-sticker.js +2 -2
- package/dist/widgets/gl-model.cjs +1 -1
- package/dist/widgets/gl-model.js +1 -1
- package/dist/widgets/gl-scene.cjs +2 -2
- package/dist/widgets/gl-scene.js +2 -2
- package/dist/widgets/globe.cjs +1 -1
- package/dist/widgets/globe.js +2 -2
- package/dist/widgets/gpu-particles.cjs +1 -1
- package/dist/widgets/gpu-particles.js +2 -2
- package/dist/widgets/gyro-card.cjs +1 -1
- package/dist/widgets/gyro-card.js +2 -2
- package/dist/widgets/halo-segmented.cjs +99 -0
- package/dist/widgets/halo-segmented.d.cts +2 -0
- package/dist/widgets/halo-segmented.d.ts +2 -0
- package/dist/widgets/halo-segmented.js +97 -0
- package/dist/widgets/halo-slider.cjs +84 -0
- package/dist/widgets/halo-slider.d.cts +2 -0
- package/dist/widgets/halo-slider.d.ts +2 -0
- package/dist/widgets/halo-slider.js +82 -0
- package/dist/widgets/hero-video.cjs +1 -1
- package/dist/widgets/hero-video.js +2 -2
- package/dist/widgets/hud-panel.cjs +1 -1
- package/dist/widgets/hud-panel.js +2 -2
- package/dist/widgets/hydrate.cjs +1 -1
- package/dist/widgets/hydrate.js +2 -2
- package/dist/widgets/install-button.cjs +1 -1
- package/dist/widgets/install-button.js +2 -2
- package/dist/widgets/kanban.cjs +1 -1
- package/dist/widgets/kanban.js +2 -2
- package/dist/widgets/keyframe-editor.cjs +1 -1
- package/dist/widgets/keyframe-editor.js +3 -3
- package/dist/widgets/kpi.cjs +1 -1
- package/dist/widgets/kpi.js +2 -2
- package/dist/widgets/leaderboard.cjs +1 -1
- package/dist/widgets/leaderboard.js +2 -2
- package/dist/widgets/liquid-nav.cjs +1 -1
- package/dist/widgets/liquid-nav.js +2 -2
- package/dist/widgets/location-card.cjs +1 -1
- package/dist/widgets/location-card.js +2 -2
- package/dist/widgets/lottie-icon.cjs +1 -1
- package/dist/widgets/lottie-icon.js +2 -2
- package/dist/widgets/lottie-player.cjs +2 -2
- package/dist/widgets/lottie-player.js +2 -2
- package/dist/widgets/lottie.cjs +1 -1
- package/dist/widgets/lottie.js +2 -2
- package/dist/widgets/luminous-switch.cjs +84 -0
- package/dist/widgets/luminous-switch.d.cts +2 -0
- package/dist/widgets/luminous-switch.d.ts +2 -0
- package/dist/widgets/luminous-switch.js +82 -0
- package/dist/widgets/lyrics.cjs +1 -1
- package/dist/widgets/lyrics.js +2 -2
- package/dist/widgets/masonry-flow.cjs +1 -1
- package/dist/widgets/masonry-flow.js +2 -2
- package/dist/widgets/mega-menu.cjs +1 -1
- package/dist/widgets/mega-menu.js +2 -2
- package/dist/widgets/menu-toggle.cjs +1 -1
- package/dist/widgets/menu-toggle.js +2 -2
- package/dist/widgets/menu.cjs +1 -1
- package/dist/widgets/menu.js +2 -2
- package/dist/widgets/message-list.cjs +1 -1
- package/dist/widgets/message-list.js +2 -2
- package/dist/widgets/milestones.cjs +1 -1
- package/dist/widgets/milestones.js +2 -2
- package/dist/widgets/modal.cjs +1 -1
- package/dist/widgets/modal.js +2 -2
- package/dist/widgets/motion-inspector.cjs +2 -2
- package/dist/widgets/motion-inspector.js +3 -3
- package/dist/widgets/motion-prefs.cjs +1 -1
- package/dist/widgets/motion-prefs.js +2 -2
- package/dist/widgets/motion-prompt.cjs +1 -1
- package/dist/widgets/motion-prompt.js +2 -2
- package/dist/widgets/motion-spec.cjs +1 -1
- package/dist/widgets/motion-spec.js +2 -2
- package/dist/widgets/motion.cjs +1 -1
- package/dist/widgets/motion.js +2 -2
- package/dist/widgets/music-player.cjs +1 -1
- package/dist/widgets/music-player.js +2 -2
- package/dist/widgets/native-preview.cjs +1 -1
- package/dist/widgets/native-preview.js +2 -2
- package/dist/widgets/nav-flyout.cjs +1 -1
- package/dist/widgets/nav-flyout.js +2 -2
- package/dist/widgets/nav-morph.cjs +1 -1
- package/dist/widgets/nav-morph.js +2 -2
- package/dist/widgets/notification-bell.cjs +1 -1
- package/dist/widgets/notification-bell.js +2 -2
- package/dist/widgets/odometer.cjs +1 -1
- package/dist/widgets/odometer.js +2 -2
- package/dist/widgets/orbit-progress.cjs +53 -0
- package/dist/widgets/orbit-progress.d.cts +2 -0
- package/dist/widgets/orbit-progress.d.ts +2 -0
- package/dist/widgets/orbit-progress.js +51 -0
- package/dist/widgets/organic-card.cjs +1 -1
- package/dist/widgets/organic-card.js +2 -2
- package/dist/widgets/otp.cjs +1 -1
- package/dist/widgets/otp.js +2 -2
- package/dist/widgets/pagination.cjs +1 -1
- package/dist/widgets/pagination.js +2 -2
- package/dist/widgets/panorama.cjs +1 -1
- package/dist/widgets/panorama.js +2 -2
- package/dist/widgets/parallax-layers.cjs +1 -1
- package/dist/widgets/parallax-layers.js +2 -2
- package/dist/widgets/particle-button.cjs +64 -0
- package/dist/widgets/particle-button.d.cts +2 -0
- package/dist/widgets/particle-button.d.ts +2 -0
- package/dist/widgets/particle-button.js +62 -0
- package/dist/widgets/particle-icon.cjs +41 -0
- package/dist/widgets/particle-icon.d.cts +2 -0
- package/dist/widgets/particle-icon.d.ts +2 -0
- package/dist/widgets/particle-icon.js +39 -0
- package/dist/widgets/pause-all.cjs +1 -1
- package/dist/widgets/pause-all.js +2 -2
- package/dist/widgets/perf-monitor.cjs +1 -1
- package/dist/widgets/perf-monitor.js +2 -2
- package/dist/widgets/physics-playground.cjs +2 -2
- package/dist/widgets/physics-playground.js +2 -2
- package/dist/widgets/plugin-card.cjs +3 -3
- package/dist/widgets/plugin-card.js +4 -4
- package/dist/widgets/plugin-store.cjs +1 -1
- package/dist/widgets/plugin-store.js +2 -2
- package/dist/widgets/presence.cjs +1 -1
- package/dist/widgets/presence.js +2 -2
- package/dist/widgets/prize-wheel.cjs +1 -1
- package/dist/widgets/prize-wheel.js +2 -2
- package/dist/widgets/product-gallery.cjs +1 -1
- package/dist/widgets/product-gallery.js +2 -2
- package/dist/widgets/progress-ring.cjs +1 -1
- package/dist/widgets/progress-ring.js +2 -2
- package/dist/widgets/prop-panel.cjs +1 -1
- package/dist/widgets/prop-panel.js +2 -2
- package/dist/widgets/pull-cord.cjs +1 -1
- package/dist/widgets/pull-cord.js +2 -2
- package/dist/widgets/radar.cjs +1 -1
- package/dist/widgets/radar.js +2 -2
- package/dist/widgets/reactions.cjs +1 -1
- package/dist/widgets/reactions.js +2 -2
- package/dist/widgets/red-envelope.cjs +1 -1
- package/dist/widgets/red-envelope.js +2 -2
- package/dist/widgets/retro-button.cjs +1 -1
- package/dist/widgets/retro-button.js +2 -2
- package/dist/widgets/rive.cjs +1 -1
- package/dist/widgets/rive.js +2 -2
- package/dist/widgets/route-transition.cjs +1 -1
- package/dist/widgets/route-transition.js +2 -2
- package/dist/widgets/scene.cjs +1 -1
- package/dist/widgets/scene.js +2 -2
- package/dist/widgets/scroll-ring.cjs +1 -1
- package/dist/widgets/scroll-ring.js +2 -2
- package/dist/widgets/scroll-scene.cjs +2 -2
- package/dist/widgets/scroll-scene.js +2 -2
- package/dist/widgets/segmented.cjs +1 -1
- package/dist/widgets/segmented.js +2 -2
- package/dist/widgets/shader-backdrop.cjs +1 -1
- package/dist/widgets/shader-backdrop.js +2 -2
- package/dist/widgets/sheet.cjs +1 -1
- package/dist/widgets/sheet.js +2 -2
- package/dist/widgets/shortcut.cjs +1 -1
- package/dist/widgets/shortcut.js +3 -3
- package/dist/widgets/skeleton-reveal.cjs +1 -1
- package/dist/widgets/skeleton-reveal.js +2 -2
- package/dist/widgets/sketch-chart.cjs +1 -1
- package/dist/widgets/sketch-chart.js +2 -2
- package/dist/widgets/smooth-scroll.cjs +2 -2
- package/dist/widgets/smooth-scroll.js +3 -3
- package/dist/widgets/snap-carousel.cjs +1 -1
- package/dist/widgets/snap-carousel.js +1 -1
- package/dist/widgets/sparkline.cjs +1 -1
- package/dist/widgets/sparkline.js +2 -2
- package/dist/widgets/spatial-card.cjs +1 -1
- package/dist/widgets/spatial-card.js +2 -2
- package/dist/widgets/star-rating.cjs +1 -1
- package/dist/widgets/star-rating.js +2 -2
- package/dist/widgets/stepper.cjs +1 -1
- package/dist/widgets/stepper.js +2 -2
- package/dist/widgets/sticky-wall.cjs +1 -1
- package/dist/widgets/sticky-wall.js +2 -2
- package/dist/widgets/stories.cjs +1 -1
- package/dist/widgets/stories.js +2 -2
- package/dist/widgets/suggestion-chips.cjs +1 -1
- package/dist/widgets/suggestion-chips.js +2 -2
- package/dist/widgets/swipe-deck.cjs +1 -1
- package/dist/widgets/swipe-deck.js +2 -2
- package/dist/widgets/switch.cjs +1 -1
- package/dist/widgets/switch.js +2 -2
- package/dist/widgets/tab-bar.cjs +1 -1
- package/dist/widgets/tab-bar.js +2 -2
- package/dist/widgets/terminal.cjs +1 -1
- package/dist/widgets/terminal.js +2 -2
- package/dist/widgets/text-splitter.cjs +3 -3
- package/dist/widgets/text-splitter.js +4 -4
- package/dist/widgets/theme-surface.cjs +1 -1
- package/dist/widgets/theme-surface.js +2 -2
- package/dist/widgets/theme-switcher.cjs +1 -1
- package/dist/widgets/theme-switcher.js +2 -2
- package/dist/widgets/tip.cjs +1 -1
- package/dist/widgets/tip.js +2 -2
- package/dist/widgets/title-sequence.cjs +33 -0
- package/dist/widgets/title-sequence.d.cts +1 -0
- package/dist/widgets/title-sequence.d.ts +1 -0
- package/dist/widgets/title-sequence.js +31 -0
- package/dist/widgets/toast-stack.cjs +2 -2
- package/dist/widgets/toast-stack.js +2 -2
- package/dist/widgets/token-editor.cjs +1 -1
- package/dist/widgets/token-editor.js +2 -2
- package/dist/widgets/upload-progress.cjs +1 -1
- package/dist/widgets/upload-progress.js +2 -2
- package/dist/widgets/video-card.cjs +1 -1
- package/dist/widgets/video-card.js +2 -2
- package/dist/widgets/voice-button.cjs +1 -1
- package/dist/widgets/voice-button.js +2 -2
- package/dist/widgets/volume-knob.cjs +1 -1
- package/dist/widgets/volume-knob.js +2 -2
- package/dist/widgets/weather-card.cjs +1 -1
- package/dist/widgets/weather-card.js +2 -2
- package/dist/widgets/worker-canvas.cjs +1 -1
- package/dist/widgets/worker-canvas.js +2 -2
- package/dist/widgets/xp-bar.cjs +1 -1
- package/dist/widgets/xp-bar.js +2 -2
- package/dist/widgets.umd.js +2 -2
- package/docs/cdn-sri.md +10 -10
- package/docs/components/README.md +10 -1
- package/docs/components/usa-download-menu.md +36 -0
- package/docs/components/usa-file-tree.md +36 -0
- package/docs/components/usa-halo-segmented.md +36 -0
- package/docs/components/usa-halo-slider.md +36 -0
- package/docs/components/usa-luminous-switch.md +36 -0
- package/docs/components/usa-orbit-progress.md +36 -0
- package/docs/components/usa-particle-button.md +36 -0
- package/docs/components/usa-particle-icon.md +36 -0
- package/docs/components/usa-title-sequence.md +36 -0
- package/docs/components.md +4 -4
- package/docs/entry-points.md +10 -1
- package/docs/gallery-components.md +40 -0
- package/docs/luminous-controls.md +35 -0
- package/docs/supply-chain.md +1 -1
- package/docs/versions.md +1 -1
- package/figma-plugin/code.js +1 -1
- package/package.json +92 -2
package/dist/components/mo.js
CHANGED
|
@@ -1,12 +1,39 @@
|
|
|
1
|
-
import { k as canDefine
|
|
2
|
-
|
|
1
|
+
import { k as canDefine } from '../chunks/base-SPDwWyB1.js';
|
|
2
|
+
|
|
3
|
+
// Keep strings, comments, attribute selectors and escaped identifiers opaque. Braces / semicolons inside them
|
|
4
|
+
// are content, not rule boundaries (and an attribute value that happens to name a component must stay unchanged).
|
|
5
|
+
const CSS_TOKENS = /\/\*[\s\S]*?\*\/|"(?:\\[\s\S]|[^"\\])*"|'(?:\\[\s\S]|[^'\\])*'|\[(?:\\[\s\S]|"(?:\\[\s\S]|[^"\\])*"|'(?:\\[\s\S]|[^'\\])*'|[^\]\\])*\]|(?:\\[\s\S]|[\w-]|[^\x00-\x7f])+|[^\w]/g;
|
|
6
|
+
/**
|
|
7
|
+
* Rewrite component tag names in selectors only (the text in front of each `{` that is not an at-rule); declarations, at-rule
|
|
8
|
+
* preludes such as `@keyframes usa-spin`, classes, attributes and custom properties are untouched.
|
|
9
|
+
*/
|
|
10
|
+
const rewriteTagSelectors = (text, replaceTag) => {
|
|
11
|
+
let out = '', raw = '', renamed = '', first = '', previous = '';
|
|
12
|
+
for (const [token] of text.matchAll(CSS_TOKENS)) {
|
|
13
|
+
if (token === '{' || token === '}' || token === ';') {
|
|
14
|
+
out += (token === '{' && first !== '@' ? renamed : raw) + token;
|
|
15
|
+
raw = renamed = first = previous = '';
|
|
16
|
+
} else {
|
|
17
|
+
raw += token;
|
|
18
|
+
const comment = token.startsWith('/*');
|
|
19
|
+
if (!first && !comment && token.trim()) first = token;
|
|
20
|
+
renamed += /^usa-[a-z]/.test(token) && previous !== '.' && previous !== '#' && previous !== ':'
|
|
21
|
+
? replaceTag(token) : token;
|
|
22
|
+
if (!comment) previous = token;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
return out + raw;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
// Generated from the component manifest.
|
|
29
|
+
const publicTagNames = 'accordion acrylic add-to-cart ambient anim-icon audio aurora auto-animate auto-skeleton avatar-stack back-to-top badge badge-wall bar-chart bg-generator blobs bottom-sheet breadcrumbs button card card-stack carousel carousel-3d cart-drawer chapter-nav chat-composer check checkbox click clock-control code-export color-picker command-palette compare countdown counter cube cube-gallery cursor date-picker depth dialog disclosure distort dock dot-network dotlottie double-tap download-menu draggable draw drawer equalizer fab festival-banner field file-drop file-tree fullpage fullscreen-menu fx gauge gen-art gesture-fx gesture-sticker gl-model gl-scene glitch globe gpu-particles gradient-text grain grid-glow gyro-card halo-segmented halo-slider handwriting hero-video hold hud-panel hydrate icon-morph install-button kanban keyframe-editor kpi leaderboard like liquid liquid-nav loading-bar location-card lottie lottie-icon lottie-player luminous-switch lyrics magnetic marquee mask-reveal masonry masonry-flow mega-menu menu menu-toggle message-list milestones modal morph motion motion-inspector motion-prefs motion-prompt motion-spec motion-switch motion-theme music-player native-preview nav-flyout nav-morph navbar notification-bell odometer orbit-progress organic-card otp overscroll pack pagination panorama parallax-layers particle-button particle-icon particles pause-all perf-monitor physics-playground pinch-zoom player plugin-card plugin-store popover post-fx presence press prize-wheel product-gallery progress progress-ring prop-panel pull-cord pull-refresh radar reactions red-envelope retro-button reveal ripple rive route-transition scene scramble scroll-highlight scroll-progress scroll-ring scroll-scene scrolly segmented shader shader-backdrop sheet shimmer-text shortcut skeleton skeleton-reveal sketch-chart slider smooth-scroll snap-carousel sparkline spatial-card spinner splash split-text spotlight spring stagger star-rating stepper sticky-stack sticky-wall stories story suggestion-chips swipe-deck swipeable switch tab-bar tabs terminal text-rotate text-splitter theme-surface theme-switcher tilt timeline tip title-sequence toast-stack toaster token-editor typewriter upload-progress video-card view-switch voice-button volume-knob water-ripple wave-text weather-card worker-canvas xp-bar';
|
|
3
30
|
|
|
4
31
|
/**
|
|
5
32
|
* motionary/components/mo — the 17.0 `<mo-*>` names.
|
|
6
33
|
*
|
|
7
34
|
* After `defineMoAliases()` every default `<usa-*>` element is also registered as `<mo-*>` (`<usa-switch>` →
|
|
8
|
-
* `<mo-switch>`): a subclass, so attributes, properties and `usa:*` events are the same. The component styles are
|
|
9
|
-
* with
|
|
35
|
+
* `<mo-switch>`): a subclass, so attributes, properties and `usa:*` events are the same. The component styles are extended
|
|
36
|
+
* with matching public tag selectors the first time a `<mo-*>` element connects, so pages that never use `mo-*` pay nothing.
|
|
10
37
|
*
|
|
11
38
|
* The no-build bundles (`components.umd.js`, `widgets.umd.js`) call it before they register anything. With ESM, call it
|
|
12
39
|
* once, ideally before you define components; `usa-*` elements defined earlier (the default component set) and `mo-*`
|
|
@@ -21,58 +48,43 @@ import { C as COMPONENT_CATEGORIES } from '../chunks/index-tags-B-JBecYg.js';
|
|
|
21
48
|
*/
|
|
22
49
|
/** The `mo-*` alias of a default `usa-*` tag (`usa-switch` → `mo-switch`), or `null` for any other tag. */
|
|
23
50
|
const aliasTag = (tag) => (/^usa-[a-z]/.test(tag) ? 'mo-' + tag.slice(4) : null);
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
const CSS_TOKENS = /\/\*[\s\S]*?\*\/|"(?:\\[\s\S]|[^"\\])*"|'(?:\\[\s\S]|[^'\\])*'|\[(?:\\[\s\S]|"(?:\\[\s\S]|[^"\\])*"|'(?:\\[\s\S]|[^'\\])*'|[^\]\\])*\]|(?:\\[\s\S]|[\w-]|[^\x00-\x7f])+|[^\w]/g;
|
|
27
|
-
/**
|
|
28
|
-
* `usa-…` → `mo-…` in selectors only (the text in front of each `{` that is not an at-rule); declarations, at-rule
|
|
29
|
-
* preludes such as `@keyframes usa-spin`, classes, attributes and custom properties are untouched.
|
|
30
|
-
*/
|
|
31
|
-
const aliasCss = (text) => {
|
|
32
|
-
let out = '', raw = '', renamed = '', first = '', previous = '';
|
|
33
|
-
for (const [token] of text.matchAll(CSS_TOKENS)) {
|
|
34
|
-
if (token === '{' || token === '}' || token === ';') {
|
|
35
|
-
out += (token === '{' && first !== '@' ? renamed : raw) + token;
|
|
36
|
-
raw = renamed = first = previous = '';
|
|
37
|
-
}
|
|
38
|
-
else {
|
|
39
|
-
raw += token;
|
|
40
|
-
const comment = token.startsWith('/*');
|
|
41
|
-
if (!first && !comment && token.trim())
|
|
42
|
-
first = token;
|
|
43
|
-
renamed += /^usa-[a-z]/.test(token) && previous !== '.' && previous !== '#' && previous !== ':'
|
|
44
|
-
? 'mo-' + token.slice(4) : token;
|
|
45
|
-
if (!comment)
|
|
46
|
-
previous = token;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
return out + raw;
|
|
50
|
-
};
|
|
51
|
+
/** Return a copy of the stylesheet with public tag selectors. */
|
|
52
|
+
const aliasCss = (text) => rewriteTagSelectors(text, tag => 'mo-' + tag.slice(4));
|
|
51
53
|
let started = false;
|
|
52
|
-
|
|
53
|
-
|
|
54
|
+
function styleLoaded(event) {
|
|
55
|
+
if (event.target?.matches?.('link[data-usa-css]'))
|
|
56
|
+
scan();
|
|
57
|
+
}
|
|
54
58
|
const seen = /*#__PURE__*/ new WeakSet();
|
|
55
|
-
/**
|
|
59
|
+
/** Extend style selectors in place so media queries, cascade layers and declaration order stay intact. */
|
|
60
|
+
function extendSelectors(rules) {
|
|
61
|
+
for (const rule of rules) {
|
|
62
|
+
if ('selectorText' in rule) {
|
|
63
|
+
const style = rule;
|
|
64
|
+
const selector = style.selectorText;
|
|
65
|
+
const renamed = aliasCss(selector + '{').slice(0, -1);
|
|
66
|
+
if (renamed !== selector)
|
|
67
|
+
style.selectorText = selector + ',' + renamed;
|
|
68
|
+
}
|
|
69
|
+
if ('cssRules' in rule)
|
|
70
|
+
extendSelectors(rule.cssRules);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
56
73
|
function scan() {
|
|
57
74
|
const d = document;
|
|
58
|
-
const
|
|
59
|
-
for (const s of [...Array.from(d.styleSheets), ...adopted]) {
|
|
75
|
+
for (const s of [...d.styleSheets, ...(d.adoptedStyleSheets || [])]) {
|
|
60
76
|
const o = s.ownerNode;
|
|
61
77
|
if (seen.has(s) || (o && !o.matches('[data-usa],[data-usa-css]')))
|
|
62
78
|
continue;
|
|
63
|
-
let css;
|
|
64
79
|
try {
|
|
65
|
-
|
|
80
|
+
if (!s.cssRules.length)
|
|
81
|
+
continue;
|
|
82
|
+
extendSelectors(s.cssRules);
|
|
83
|
+
seen.add(s);
|
|
66
84
|
}
|
|
67
85
|
catch {
|
|
68
|
-
|
|
86
|
+
// A pending or cross-origin stylesheet may not expose writable rules.
|
|
69
87
|
}
|
|
70
|
-
if (!css)
|
|
71
|
-
continue; // a pending link may expose an empty rule list before its load event
|
|
72
|
-
seen.add(s);
|
|
73
|
-
const a = aliasCss(css);
|
|
74
|
-
if (a !== css)
|
|
75
|
-
adoptStyles('mo:' + n++, a);
|
|
76
88
|
}
|
|
77
89
|
}
|
|
78
90
|
function alias(tag, ctor) {
|
|
@@ -82,25 +94,13 @@ function alias(tag, ctor) {
|
|
|
82
94
|
const C = ctor;
|
|
83
95
|
class Alias extends C {
|
|
84
96
|
connectedCallback() {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
// A retry may be requested by a usa-* sibling after the mo-* element has already mounted.
|
|
89
|
-
document.addEventListener('load', (event) => {
|
|
90
|
-
if (event.target instanceof HTMLLinkElement && event.target.hasAttribute('data-usa-css'))
|
|
91
|
-
scan();
|
|
92
|
-
}, true);
|
|
93
|
-
}
|
|
97
|
+
super.connectedCallback?.();
|
|
98
|
+
// A stable listener also handles a later stylesheet load without adding duplicate listeners.
|
|
99
|
+
document.addEventListener('load', styleLoaded, true);
|
|
94
100
|
scan();
|
|
95
|
-
return r;
|
|
96
101
|
}
|
|
97
102
|
}
|
|
98
|
-
|
|
99
|
-
customElements.define(a, Alias);
|
|
100
|
-
}
|
|
101
|
-
catch {
|
|
102
|
-
/* the name is taken by another library */
|
|
103
|
-
}
|
|
103
|
+
customElements.define(a, Alias);
|
|
104
104
|
}
|
|
105
105
|
/**
|
|
106
106
|
* Turn on the `<mo-*>` names: every `usa-*` element defined from now on gets its `mo-*` alias, and so do the default
|
|
@@ -116,17 +116,18 @@ function defineMoAliases() {
|
|
|
116
116
|
define.call(this, name, ctor, options);
|
|
117
117
|
alias(name, ctor);
|
|
118
118
|
};
|
|
119
|
-
const
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
119
|
+
const names = publicTagNames.split(' ');
|
|
120
|
+
globalThis.document?.querySelectorAll('*').forEach(({ localName }) => {
|
|
121
|
+
if (localName.startsWith('mo-'))
|
|
122
|
+
names.push(localName.slice(3));
|
|
123
|
+
});
|
|
124
|
+
for (const name of names) {
|
|
125
|
+
const tag = 'usa-' + name;
|
|
126
|
+
const ctor = reg.get(tag);
|
|
127
|
+
if (ctor)
|
|
128
|
+
alias(tag, ctor);
|
|
126
129
|
}
|
|
127
|
-
if (active)
|
|
128
|
-
scan();
|
|
129
130
|
}
|
|
130
131
|
|
|
131
132
|
export { aliasCss, aliasTag, defineMoAliases };
|
|
132
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
133
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.4.0/dist/components/mo.js.map
|
|
@@ -563,4 +563,4 @@ exports.solveLayoutTransform = solveLayoutTransform;
|
|
|
563
563
|
exports.supportsCrossDocumentViewTransitions = supportsCrossDocumentViewTransitions;
|
|
564
564
|
exports.supportsViewTransitions = supportsViewTransitions;
|
|
565
565
|
exports.viewTransitionName = viewTransitionName;
|
|
566
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
566
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.4.0/dist/components/motion-layout.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { D as EASE_OUT, p as prefersReducedMotion } from '../chunks/base-SPDwWyB1.js';
|
|
2
2
|
import { resolveDurationToken } from './tokens.js';
|
|
3
|
-
import { t as toEasingFn, c as control } from '../chunks/index-
|
|
3
|
+
import { t as toEasingFn, c as control } from '../chunks/index-1R6Lie-l.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* `motionary/motion/layout` (= `motionary/components/motion-layout`, 14.2) — **Layout Motion 2.0** on Motion Engine v2.
|
|
@@ -540,4 +540,4 @@ function createLayoutTracker(targets, options = {}) {
|
|
|
540
540
|
}
|
|
541
541
|
|
|
542
542
|
export { LAYOUT_MOTION_VERSION, correctRadius, createLayoutTracker, crossDocumentLayout, flip, getLayoutId, isLayoutAnimating, layoutDelta, layoutGroup, layoutTransform, layoutTransition, measureLayout, mixBox, playLayoutSnapshot, saveLayoutSnapshot, setLayoutId, sharedLayout, snapshotLayout, solveLayoutTransform, supportsCrossDocumentViewTransitions, supportsViewTransitions, viewTransitionName };
|
|
543
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
543
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.4.0/dist/components/motion-layout.js.map
|
|
@@ -40,4 +40,4 @@ function playScene(root, doc, options = {}) {
|
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
exports.playScene = playScene;
|
|
43
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
43
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.4.0/dist/components/motion-scene.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as animate, c as control, g as group } from '../chunks/index-
|
|
2
|
-
import { s as sceneToAnimation } from '../chunks/play-
|
|
1
|
+
import { a as animate, c as control, g as group } from '../chunks/index-1R6Lie-l.js';
|
|
2
|
+
import { s as sceneToAnimation } from '../chunks/play-KU8T1oaZ.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* `motionary/motion/scene` (= `motionary/components/motion-scene`, 14.0) — `playScene()`: play a
|
|
@@ -38,4 +38,4 @@ function playScene(root, doc, options = {}) {
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
export { playScene };
|
|
41
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
41
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.4.0/dist/components/motion-scene.js.map
|
|
@@ -874,4 +874,4 @@ exports.tokenRefPath = tokenRefPath;
|
|
|
874
874
|
exports.validateMotionTokens = validateMotionTokens;
|
|
875
875
|
exports.withMode = withMode;
|
|
876
876
|
exports.withSceneTokens = withSceneTokens;
|
|
877
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
877
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.4.0/dist/components/motion-tokens.cjs.map
|
|
@@ -846,4 +846,4 @@ function motionTokensFromFigma(json, o = {}) {
|
|
|
846
846
|
}
|
|
847
847
|
|
|
848
848
|
export { GENTLE_MOTION_MODE, MOTION_TOKENS_2, MOTION_TOKENS_VERSION, REDUCED_MOTION_MODE, SEMANTIC_KINDS, applyMotionTokenSet, defineMotionTokens, gentleMotionOverrides, isCssEasing, kebab, motionKeyframes, motionOptions, motionTokenSetFromDTCG, motionTokenSetToCss, motionTokenSetToDTCG, motionTokenSetVars, motionTokensFromFigma, motionTokensToFigma, prefersReducedMotion, reducedMotionOverrides, resolveMotionToken, resolveSemantic, toSceneTokens, tokenRefPath, validateMotionTokens, withMode, withSceneTokens };
|
|
849
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
849
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.4.0/dist/components/motion-tokens.js.map
|
|
@@ -17,4 +17,4 @@ exports.spring = components_motion.spring;
|
|
|
17
17
|
exports.stagger = components_motion.stagger;
|
|
18
18
|
exports.timeline = components_motion.timeline;
|
|
19
19
|
exports.toEasingFn = components_motion.toEasingFn;
|
|
20
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
20
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.4.0/dist/components/motion.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import '../chunks/base-
|
|
2
|
-
import '../chunks/core-
|
|
1
|
+
import '../chunks/base-SPDwWyB1.js';
|
|
2
|
+
import '../chunks/core-Bj5_9QHr.js';
|
|
3
3
|
import './tokens.js';
|
|
4
|
-
import '../chunks/spring-
|
|
5
|
-
export { M as MOTION_ENGINE_VERSION, a as animate, b as cubicBezier, p as parallel, s as sequence, d as spring, e as stagger, f as timeline, t as toEasingFn } from '../chunks/index-
|
|
6
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
4
|
+
import '../chunks/spring-Bu3AwUgu.js';
|
|
5
|
+
export { M as MOTION_ENGINE_VERSION, a as animate, b as cubicBezier, p as parallel, s as sequence, d as spring, e as stagger, f as timeline, t as toEasingFn } from '../chunks/index-1R6Lie-l.js';
|
|
6
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.4.0/dist/components/motion.js.map
|
|
@@ -142,4 +142,4 @@ exports.nativeEasing = nativeEasing;
|
|
|
142
142
|
exports.nativeTokens = nativeTokens;
|
|
143
143
|
exports.toFlutter = toFlutter;
|
|
144
144
|
exports.toReactNative = toReactNative;
|
|
145
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
145
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.4.0/dist/components/native.cjs.map
|
|
@@ -136,4 +136,4 @@ function nativeTokens() {
|
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
export { entranceFrom, nativeEasing, nativeTokens, toFlutter, toReactNative };
|
|
139
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
139
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.4.0/dist/components/native.js.map
|
|
@@ -66,4 +66,4 @@ exports.caf = base.caf;
|
|
|
66
66
|
exports.installOffscreenPause = installOffscreenPause;
|
|
67
67
|
exports.onFrame = onFrame;
|
|
68
68
|
exports.raf = raf;
|
|
69
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
69
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.4.0/dist/components/offscreen.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as setPauseHook, o as onFrame$1, r as raf$1 } from '../chunks/base-
|
|
2
|
-
export { b as caf } from '../chunks/base-
|
|
1
|
+
import { s as setPauseHook, o as onFrame$1, r as raf$1 } from '../chunks/base-SPDwWyB1.js';
|
|
2
|
+
export { b as caf } from '../chunks/base-SPDwWyB1.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* motionary/components/offscreen (13.4) — pauses scheduler work nobody can see.
|
|
@@ -62,4 +62,4 @@ const raf = (cb, el) => (installOffscreenPause(), raf$1(cb, el));
|
|
|
62
62
|
const onFrame = (fn, el) => (installOffscreenPause(), onFrame$1(fn, el));
|
|
63
63
|
|
|
64
64
|
export { installOffscreenPause, onFrame, raf };
|
|
65
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
65
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.4.0/dist/components/offscreen.js.map
|
|
@@ -189,4 +189,4 @@ exports.countUp = countUp;
|
|
|
189
189
|
exports.definePack = definePack;
|
|
190
190
|
exports.definePacksComponents = definePacksComponents;
|
|
191
191
|
exports.flyToCart = flyToCart;
|
|
192
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
192
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.4.0/dist/components/packs.cjs.map
|
package/dist/components/packs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as prefersReducedMotion, n as now, m as motionScale, r as raf, d as clamp,
|
|
1
|
+
import { p as prefersReducedMotion, n as now, m as motionScale, r as raf, d as clamp, D as EASE_OUT, E as EASE_SPRING, f as defineElement } from '../chunks/base-SPDwWyB1.js';
|
|
2
2
|
|
|
3
3
|
const anim = (el, frames, o) => {
|
|
4
4
|
if (typeof el.animate !== 'function')
|
|
@@ -181,4 +181,4 @@ function definePacksComponents() {
|
|
|
181
181
|
}
|
|
182
182
|
|
|
183
183
|
export { PACKS, PACK_PRIMITIVES, applyPack, countUp, definePack, definePacksComponents, flyToCart };
|
|
184
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
184
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.4.0/dist/components/packs.js.map
|
package/dist/components/page.cjs
CHANGED
|
@@ -839,4 +839,4 @@ exports.setMotionLevel = setMotionLevel;
|
|
|
839
839
|
exports.smoothScroll = smoothScroll;
|
|
840
840
|
exports.supportsViewTransitions = supportsViewTransitions;
|
|
841
841
|
exports.themeTransition = themeTransition;
|
|
842
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
842
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.4.0/dist/components/page.cjs.map
|
package/dist/components/page.css
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/* motionary/components/page */
|
|
2
2
|
.usa-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
|
|
3
|
-
usa-ambient{--usa-ambient-opacity:0.6;--usa-ambient-p:0;position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:var(--usa-ambient-opacity);contain:strict}usa-ambient[layer="front"]{z-index:2147483000}usa-ambient canvas{display:block}usa-ambient[effect="noise"]{opacity:calc(var(--usa-ambient-opacity) * 0.25);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");animation:usa-ambient-grain 0.6s steps(4) infinite;mix-blend-mode:overlay}@keyframes usa-ambient-grain{25%{background-position:-40px 20px}50%{background-position:30px -50px}75%{background-position:-20px -30px}}usa-ambient[effect="gradient"]{background:linear-gradient(135deg,hsl(calc(250 + var(--usa-ambient-p) * 140) 85% 60%),hsl(calc(190 + var(--usa-ambient-p) * 160) 85% 55%) 50%,hsl(calc(320 + var(--usa-ambient-p) * 90) 85% 62%))}@media (prefers-reduced-motion:reduce){usa-ambient[effect="noise"]{animation:none}}
|
|
4
|
-
usa-auto-skeleton{display:block;--usa-skel-base:color-mix(in srgb,currentColor 10%,transparent);--usa-skel-shine:color-mix(in srgb,currentColor 18%,transparent)}usa-auto-skeleton[loading] :is(h1,h2,h3,h4,h5,h6,p,li,span,a,button,label,img,svg,video,input,select,textarea,td,th,figcaption,blockquote,[data-skeleton]):not([data-no-skeleton]):not(:has(:is(h1,h2,h3,h4,h5,h6,p,li,img,button,input))){color:transparent !important;border-color:transparent !important;box-shadow:none !important;user-select:none;pointer-events:none;background:linear-gradient(90deg,var(--usa-skel-base) 25%,var(--usa-skel-shine) 50%,var(--usa-skel-base) 75%) 0 0 / 300% 100% !important;border-radius:6px;animation:usa-skel-shimmer 1.4s ease-in-out infinite}usa-auto-skeleton[loading] :is(img,svg,video){opacity:0}usa-auto-skeleton[loading] :is(img,svg,video):not([data-no-skeleton]){opacity:1;object-position:-9999px}@keyframes usa-skel-shimmer{from{background-position:100% 0}to{background-position:0 0}}@media (prefers-reduced-motion:reduce){usa-auto-skeleton[loading] *{animation:none !important}}
|
|
5
|
-
usa-back-to-top{--usa-btt:0;position:fixed;right:max(20px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));z-index:850;opacity:0;transform:translateY(16px) scale(0.8);pointer-events:none;transition:opacity 0.25s ease,transform 0.4s cubic-bezier(0.34,1.56,0.64,1)}usa-back-to-top[position="bottom-left"]{right:auto;left:max(20px,env(safe-area-inset-left))}usa-back-to-top[data-visible]{opacity:1;transform:none;pointer-events:auto}usa-back-to-top button{width:48px;height:48px;padding:0;border:0;border-radius:50%;cursor:pointer;display:grid;place-items:center;color:var(--usa-accent,#7c5cff);background:var(--usa-surface,#1b1e27);box-shadow:var(--usa-shadow,0 8px 24px -10px rgb(0 0 0 / 0.5))}usa-back-to-top svg{width:44px;height:44px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}usa-back-to-top circle{stroke-dasharray:100;stroke-dashoffset:calc(100 - var(--usa-btt) * 100);transform:rotate(-90deg);transform-origin:50% 50%;opacity:0.85}usa-back-to-top button:focus-visible{outline:2px solid var(--usa-accent,#7c5cff);outline-offset:3px}@media (prefers-reduced-motion:reduce){usa-back-to-top{transition:opacity 0.2s ease;transform:none}}
|
|
6
|
-
usa-cursor{--usa-cursor-color:var(--usa-accent,#7c5cff);--usa-cursor-size:28px;position:fixed;inset:0;pointer-events:none;z-index:2147483600;opacity:0;transition:opacity 0.2s ease;contain:strict}usa-cursor[data-active]{opacity:1}usa-cursor .usa-cursor-ring{position:absolute;left:0;top:0;width:var(--usa-cursor-size);height:var(--usa-cursor-size);margin:calc(var(--usa-cursor-size) / -2) 0 0 calc(var(--usa-cursor-size) / -2);border:1.5px solid var(--usa-cursor-color);border-radius:999px;box-sizing:border-box;transition:width 0.25s cubic-bezier(0.34,1.56,0.64,1),height 0.25s cubic-bezier(0.34,1.56,0.64,1),margin 0.25s ease,border-radius 0.25s ease,background-color 0.2s ease;will-change:transform}usa-cursor[data-hover] .usa-cursor-ring:first-child{width:calc(var(--usa-cursor-size) * 1.6);height:calc(var(--usa-cursor-size) * 1.6);margin:calc(var(--usa-cursor-size) * -0.8) 0 0 calc(var(--usa-cursor-size) * -0.8);background:color-mix(in srgb,var(--usa-cursor-color) 15%,transparent)}usa-cursor[data-snapped] .usa-cursor-ring{border-radius:12px;background:color-mix(in srgb,var(--usa-cursor-color) 12%,transparent);translate:-50% -50%;margin:0}usa-cursor[data-down] .usa-cursor-ring:first-child{scale:0.8}usa-cursor .usa-cursor-dot{position:absolute;left:-3px;top:-3px;width:6px;height:6px;border-radius:50%;background:var(--usa-cursor-color)}usa-cursor[data-snapped] .usa-cursor-dot{opacity:0}usa-cursor .usa-cursor-glow{position:absolute;left:-200px;top:-200px;width:400px;height:400px;border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--usa-cursor-color) 35%,transparent),transparent 65%);mix-blend-mode:screen}.usa-cursor-none,.usa-cursor-none *{cursor:none !important}@media (pointer:coarse),(prefers-reduced-motion:reduce){usa-cursor{display:none}.usa-cursor-none,.usa-cursor-none *{cursor:auto !important}}
|
|
7
|
-
usa-fullpage{position:relative;display:block;height:100vh;height:100dvh;overflow-y:auto;scroll-snap-type:y mandatory;overscroll-behavior:contain;outline:none}usa-fullpage[axis="x"]{display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory}usa-fullpage .usa-fullpage-section{box-sizing:border-box;min-height:100%;scroll-snap-align:start;scroll-snap-stop:always}usa-fullpage[axis="x"] .usa-fullpage-section{flex:0 0 100%}usa-fullpage .usa-fullpage-dots{position:sticky;float:right;top:50%;margin-right:16px;transform:translateY(-50%);display:grid;gap:10px;z-index:5}usa-fullpage .usa-fullpage-dots button{width:10px;height:10px;padding:0;border-radius:50%;border:0;cursor:pointer;background:color-mix(in srgb,currentColor 35%,transparent);transition:transform 0.3s cubic-bezier(0.34,1.56,0.64,1),background-color 0.2s ease}usa-fullpage .usa-fullpage-dots button[aria-current]{background:var(--usa-accent,#7c5cff);transform:scale(1.5)}
|
|
8
|
-
usa-loading-bar{--usa-loading:0;--usa-loading-h:3px;--usa-loading-color:var(--usa-accent,#7c5cff);position:fixed;left:0;right:0;top:0;height:var(--usa-loading-h);z-index:2147483500;pointer-events:none;opacity:0;transition:opacity 0.3s ease}usa-loading-bar[position="bottom"]{top:auto;bottom:0}usa-loading-bar[data-active]{opacity:1}usa-loading-bar .usa-loading-bar-fill{position:absolute;inset:0;transform-origin:0 50%;transform:scaleX(var(--usa-loading));background:var(--usa-loading-color);box-shadow:0 0 10px var(--usa-loading-color);transition:transform 0.2s ease-out}@media (prefers-reduced-motion:reduce){usa-loading-bar .usa-loading-bar-fill{transition:none}}
|
|
9
|
-
usa-motion-switch{--usa-motion-i:2;position:relative;display:inline-grid;grid-auto-flow:column;grid-auto-columns:1fr;padding:3px;border-radius:999px;background:color-mix(in srgb,currentColor 9%,transparent);isolation:isolate}usa-motion-switch button{position:relative;z-index:1;padding:6px 12px;border:0;background:none;color:inherit;font:inherit;font-size:0.85em;border-radius:999px;cursor:pointer}usa-motion-switch button[aria-checked="true"]{color:var(--usa-accent-text,#fff)}usa-motion-switch button:focus-visible{outline:2px solid var(--usa-accent,#7c5cff);outline-offset:1px}usa-motion-switch .usa-motion-thumb{position:absolute;z-index:0;top:3px;bottom:3px;left:3px;width:calc((100% - 6px) / 4);border-radius:999px;background:var(--usa-accent,#7c5cff);transform:translateX(calc(var(--usa-motion-i) * 100%));transition:transform 0.4s cubic-bezier(0.34,1.4,0.64,1)}@media (prefers-reduced-motion:reduce){usa-motion-switch .usa-motion-thumb{transition:none}}
|
|
10
|
-
usa-splash{position:fixed;inset:0;z-index:2147483400;display:grid;place-items:center;background:var(--usa-splash-bg,var(--usa-surface,#0b0d12));color:var(--usa-text,#fff)}usa-splash[hidden]{display:none}
|
|
3
|
+
:is(usa-ambient,mo-ambient){--usa-ambient-opacity:0.6;--usa-ambient-p:0;position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:var(--usa-ambient-opacity);contain:strict}:is(usa-ambient,mo-ambient)[layer="front"]{z-index:2147483000}:is(usa-ambient,mo-ambient) canvas{display:block}:is(usa-ambient,mo-ambient)[effect="noise"]{opacity:calc(var(--usa-ambient-opacity) * 0.25);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");animation:usa-ambient-grain 0.6s steps(4) infinite;mix-blend-mode:overlay}@keyframes usa-ambient-grain{25%{background-position:-40px 20px}50%{background-position:30px -50px}75%{background-position:-20px -30px}}:is(usa-ambient,mo-ambient)[effect="gradient"]{background:linear-gradient(135deg,hsl(calc(250 + var(--usa-ambient-p) * 140) 85% 60%),hsl(calc(190 + var(--usa-ambient-p) * 160) 85% 55%) 50%,hsl(calc(320 + var(--usa-ambient-p) * 90) 85% 62%))}@media (prefers-reduced-motion:reduce){:is(usa-ambient,mo-ambient)[effect="noise"]{animation:none}}
|
|
4
|
+
:is(usa-auto-skeleton,mo-auto-skeleton){display:block;--usa-skel-base:color-mix(in srgb,currentColor 10%,transparent);--usa-skel-shine:color-mix(in srgb,currentColor 18%,transparent)}:is(usa-auto-skeleton,mo-auto-skeleton)[loading] :is(h1,h2,h3,h4,h5,h6,p,li,span,a,button,label,img,svg,video,input,select,textarea,td,th,figcaption,blockquote,[data-skeleton]):not([data-no-skeleton]):not(:has(:is(h1,h2,h3,h4,h5,h6,p,li,img,button,input))){color:transparent !important;border-color:transparent !important;box-shadow:none !important;user-select:none;pointer-events:none;background:linear-gradient(90deg,var(--usa-skel-base) 25%,var(--usa-skel-shine) 50%,var(--usa-skel-base) 75%) 0 0 / 300% 100% !important;border-radius:6px;animation:usa-skel-shimmer 1.4s ease-in-out infinite}:is(usa-auto-skeleton,mo-auto-skeleton)[loading] :is(img,svg,video){opacity:0}:is(usa-auto-skeleton,mo-auto-skeleton)[loading] :is(img,svg,video):not([data-no-skeleton]){opacity:1;object-position:-9999px}@keyframes usa-skel-shimmer{from{background-position:100% 0}to{background-position:0 0}}@media (prefers-reduced-motion:reduce){:is(usa-auto-skeleton,mo-auto-skeleton)[loading] *{animation:none !important}}
|
|
5
|
+
:is(usa-back-to-top,mo-back-to-top){--usa-btt:0;position:fixed;right:max(20px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));z-index:850;opacity:0;transform:translateY(16px) scale(0.8);pointer-events:none;transition:opacity 0.25s ease,transform 0.4s cubic-bezier(0.34,1.56,0.64,1)}:is(usa-back-to-top,mo-back-to-top)[position="bottom-left"]{right:auto;left:max(20px,env(safe-area-inset-left))}:is(usa-back-to-top,mo-back-to-top)[data-visible]{opacity:1;transform:none;pointer-events:auto}:is(usa-back-to-top,mo-back-to-top) button{width:48px;height:48px;padding:0;border:0;border-radius:50%;cursor:pointer;display:grid;place-items:center;color:var(--usa-accent,#7c5cff);background:var(--usa-surface,#1b1e27);box-shadow:var(--usa-shadow,0 8px 24px -10px rgb(0 0 0 / 0.5))}:is(usa-back-to-top,mo-back-to-top) svg{width:44px;height:44px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}:is(usa-back-to-top,mo-back-to-top) circle{stroke-dasharray:100;stroke-dashoffset:calc(100 - var(--usa-btt) * 100);transform:rotate(-90deg);transform-origin:50% 50%;opacity:0.85}:is(usa-back-to-top,mo-back-to-top) button:focus-visible{outline:2px solid var(--usa-accent,#7c5cff);outline-offset:3px}@media (prefers-reduced-motion:reduce){:is(usa-back-to-top,mo-back-to-top){transition:opacity 0.2s ease;transform:none}}
|
|
6
|
+
:is(usa-cursor,mo-cursor){--usa-cursor-color:var(--usa-accent,#7c5cff);--usa-cursor-size:28px;position:fixed;inset:0;pointer-events:none;z-index:2147483600;opacity:0;transition:opacity 0.2s ease;contain:strict}:is(usa-cursor,mo-cursor)[data-active]{opacity:1}:is(usa-cursor,mo-cursor) .usa-cursor-ring{position:absolute;left:0;top:0;width:var(--usa-cursor-size);height:var(--usa-cursor-size);margin:calc(var(--usa-cursor-size) / -2) 0 0 calc(var(--usa-cursor-size) / -2);border:1.5px solid var(--usa-cursor-color);border-radius:999px;box-sizing:border-box;transition:width 0.25s cubic-bezier(0.34,1.56,0.64,1),height 0.25s cubic-bezier(0.34,1.56,0.64,1),margin 0.25s ease,border-radius 0.25s ease,background-color 0.2s ease;will-change:transform}:is(usa-cursor,mo-cursor)[data-hover] .usa-cursor-ring:first-child{width:calc(var(--usa-cursor-size) * 1.6);height:calc(var(--usa-cursor-size) * 1.6);margin:calc(var(--usa-cursor-size) * -0.8) 0 0 calc(var(--usa-cursor-size) * -0.8);background:color-mix(in srgb,var(--usa-cursor-color) 15%,transparent)}:is(usa-cursor,mo-cursor)[data-snapped] .usa-cursor-ring{border-radius:12px;background:color-mix(in srgb,var(--usa-cursor-color) 12%,transparent);translate:-50% -50%;margin:0}:is(usa-cursor,mo-cursor)[data-down] .usa-cursor-ring:first-child{scale:0.8}:is(usa-cursor,mo-cursor) .usa-cursor-dot{position:absolute;left:-3px;top:-3px;width:6px;height:6px;border-radius:50%;background:var(--usa-cursor-color)}:is(usa-cursor,mo-cursor)[data-snapped] .usa-cursor-dot{opacity:0}:is(usa-cursor,mo-cursor) .usa-cursor-glow{position:absolute;left:-200px;top:-200px;width:400px;height:400px;border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--usa-cursor-color) 35%,transparent),transparent 65%);mix-blend-mode:screen}.usa-cursor-none,.usa-cursor-none *{cursor:none !important}@media (pointer:coarse),(prefers-reduced-motion:reduce){:is(usa-cursor,mo-cursor){display:none}.usa-cursor-none,.usa-cursor-none *{cursor:auto !important}}
|
|
7
|
+
:is(usa-fullpage,mo-fullpage){position:relative;display:block;height:100vh;height:100dvh;overflow-y:auto;scroll-snap-type:y mandatory;overscroll-behavior:contain;outline:none}:is(usa-fullpage,mo-fullpage)[axis="x"]{display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory}:is(usa-fullpage,mo-fullpage) .usa-fullpage-section{box-sizing:border-box;min-height:100%;scroll-snap-align:start;scroll-snap-stop:always}:is(usa-fullpage,mo-fullpage)[axis="x"] .usa-fullpage-section{flex:0 0 100%}:is(usa-fullpage,mo-fullpage) .usa-fullpage-dots{position:sticky;float:right;top:50%;margin-right:16px;transform:translateY(-50%);display:grid;gap:10px;z-index:5}:is(usa-fullpage,mo-fullpage) .usa-fullpage-dots button{width:10px;height:10px;padding:0;border-radius:50%;border:0;cursor:pointer;background:color-mix(in srgb,currentColor 35%,transparent);transition:transform 0.3s cubic-bezier(0.34,1.56,0.64,1),background-color 0.2s ease}:is(usa-fullpage,mo-fullpage) .usa-fullpage-dots button[aria-current]{background:var(--usa-accent,#7c5cff);transform:scale(1.5)}
|
|
8
|
+
:is(usa-loading-bar,mo-loading-bar){--usa-loading:0;--usa-loading-h:3px;--usa-loading-color:var(--usa-accent,#7c5cff);position:fixed;left:0;right:0;top:0;height:var(--usa-loading-h);z-index:2147483500;pointer-events:none;opacity:0;transition:opacity 0.3s ease}:is(usa-loading-bar,mo-loading-bar)[position="bottom"]{top:auto;bottom:0}:is(usa-loading-bar,mo-loading-bar)[data-active]{opacity:1}:is(usa-loading-bar,mo-loading-bar) .usa-loading-bar-fill{position:absolute;inset:0;transform-origin:0 50%;transform:scaleX(var(--usa-loading));background:var(--usa-loading-color);box-shadow:0 0 10px var(--usa-loading-color);transition:transform 0.2s ease-out}@media (prefers-reduced-motion:reduce){:is(usa-loading-bar,mo-loading-bar) .usa-loading-bar-fill{transition:none}}
|
|
9
|
+
:is(usa-motion-switch,mo-motion-switch){--usa-motion-i:2;position:relative;display:inline-grid;grid-auto-flow:column;grid-auto-columns:1fr;padding:3px;border-radius:999px;background:color-mix(in srgb,currentColor 9%,transparent);isolation:isolate}:is(usa-motion-switch,mo-motion-switch) button{position:relative;z-index:1;padding:6px 12px;border:0;background:none;color:inherit;font:inherit;font-size:0.85em;border-radius:999px;cursor:pointer}:is(usa-motion-switch,mo-motion-switch) button[aria-checked="true"]{color:var(--usa-accent-text,#fff)}:is(usa-motion-switch,mo-motion-switch) button:focus-visible{outline:2px solid var(--usa-accent,#7c5cff);outline-offset:1px}:is(usa-motion-switch,mo-motion-switch) .usa-motion-thumb{position:absolute;z-index:0;top:3px;bottom:3px;left:3px;width:calc((100% - 6px) / 4);border-radius:999px;background:var(--usa-accent,#7c5cff);transform:translateX(calc(var(--usa-motion-i) * 100%));transition:transform 0.4s cubic-bezier(0.34,1.4,0.64,1)}@media (prefers-reduced-motion:reduce){:is(usa-motion-switch,mo-motion-switch) .usa-motion-thumb{transition:none}}
|
|
10
|
+
:is(usa-splash,mo-splash){position:fixed;inset:0;z-index:2147483400;display:grid;place-items:center;background:var(--usa-splash-bg,var(--usa-surface,#0b0d12));color:var(--usa-text,#fff)}:is(usa-splash,mo-splash)[hidden]{display:none}
|
|
11
11
|
::view-transition-group(root){animation-duration:var(--usa-pt-duration,600ms)}html[data-usa-pt] ::view-transition-old(root),html[data-usa-pt] ::view-transition-new(root){animation-duration:var(--usa-pt-duration,600ms);animation-timing-function:cubic-bezier(0.22,1,0.36,1);mix-blend-mode:normal}html[data-usa-pt="slide"] ::view-transition-old(root),html[data-usa-pt="slide-left"] ::view-transition-old(root){animation-name:usa-pt-out-left}html[data-usa-pt="slide"] ::view-transition-new(root),html[data-usa-pt="slide-left"] ::view-transition-new(root){animation-name:usa-pt-in-right}html[data-usa-pt="slide-right"] ::view-transition-old(root){animation-name:usa-pt-out-right}html[data-usa-pt="slide-right"] ::view-transition-new(root){animation-name:usa-pt-in-left}html[data-usa-pt="slide-up"] ::view-transition-old(root){animation-name:usa-pt-out-up}html[data-usa-pt="slide-up"] ::view-transition-new(root){animation-name:usa-pt-in-up}html[data-usa-pt="zoom"] ::view-transition-old(root){animation-name:usa-pt-zoom-out}html[data-usa-pt="zoom"] ::view-transition-new(root){animation-name:usa-pt-zoom-in}html[data-usa-pt="circle"] ::view-transition-old(root){animation:none}html[data-usa-pt="circle"] ::view-transition-new(root){animation-name:usa-pt-circle}html[data-usa-pt="blinds"] ::view-transition-old(root){animation:none}html[data-usa-pt="blinds"] ::view-transition-new(root){animation-name:usa-pt-blinds;-webkit-mask-image:repeating-linear-gradient(to bottom,#000 0 var(--usa-blind),transparent var(--usa-blind) 10vh);mask-image:repeating-linear-gradient(to bottom,#000 0 var(--usa-blind),transparent var(--usa-blind) 10vh)}html[data-usa-pt="pixel"] ::view-transition-old(root){animation-name:usa-pt-pixel-out;animation-timing-function:steps(10,end)}html[data-usa-pt="pixel"] ::view-transition-new(root){animation-name:usa-pt-pixel-in;animation-timing-function:steps(10,end)}@property --usa-blind{syntax:"<length-percentage>";inherits:false;initial-value:0vh}@keyframes usa-pt-out-left{to{transform:translateX(-30%);opacity:0}}@keyframes usa-pt-in-right{from{transform:translateX(30%);opacity:0}}@keyframes usa-pt-out-right{to{transform:translateX(30%);opacity:0}}@keyframes usa-pt-in-left{from{transform:translateX(-30%);opacity:0}}@keyframes usa-pt-out-up{to{transform:translateY(-12%);opacity:0}}@keyframes usa-pt-in-up{from{transform:translateY(12%);opacity:0}}@keyframes usa-pt-zoom-out{to{transform:scale(0.92);opacity:0}}@keyframes usa-pt-zoom-in{from{transform:scale(1.08);opacity:0}}@keyframes usa-pt-circle{from{clip-path:circle(0 at var(--usa-pt-x,50%) var(--usa-pt-y,50%))}to{clip-path:circle(var(--usa-pt-r,150vmax) at var(--usa-pt-x,50%) var(--usa-pt-y,50%))}}@keyframes usa-pt-blinds{from{--usa-blind:0vh}to{--usa-blind:10vh}}@keyframes usa-pt-pixel-out{to{opacity:0;filter:blur(6px) contrast(1.4)}}@keyframes usa-pt-pixel-in{from{opacity:0;filter:blur(6px) contrast(1.4)}}@media (prefers-reduced-motion:reduce){::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none !important}}
|
package/dist/components/page.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { f as defineElement, b as caf, r as raf, p as prefersReducedMotion, n as now, I as queryAttr, g as getMotionSensitivity, w as getMotionIntensity, c as configureComponents,
|
|
2
|
-
export { l as MOTION_SCALE } from '../chunks/base-
|
|
3
|
-
import { e as springSamples } from '../chunks/spring-
|
|
1
|
+
import { f as defineElement, b as caf, r as raf, p as prefersReducedMotion, n as now, I as queryAttr, g as getMotionSensitivity, w as getMotionIntensity, c as configureComponents, H as adoptStyles } from '../chunks/base-SPDwWyB1.js';
|
|
2
|
+
export { l as MOTION_SCALE } from '../chunks/base-SPDwWyB1.js';
|
|
3
|
+
import { e as springSamples } from '../chunks/spring-Bu3AwUgu.js';
|
|
4
4
|
|
|
5
5
|
var css$8 = "usa-cursor{--usa-cursor-color:var(--usa-accent,#7c5cff);--usa-cursor-size:28px;position:fixed;inset:0;pointer-events:none;z-index:2147483600;opacity:0;transition:opacity 0.2s ease;contain:strict}usa-cursor[data-active]{opacity:1}usa-cursor .usa-cursor-ring{position:absolute;left:0;top:0;width:var(--usa-cursor-size);height:var(--usa-cursor-size);margin:calc(var(--usa-cursor-size) / -2) 0 0 calc(var(--usa-cursor-size) / -2);border:1.5px solid var(--usa-cursor-color);border-radius:999px;box-sizing:border-box;transition:width 0.25s cubic-bezier(0.34,1.56,0.64,1),height 0.25s cubic-bezier(0.34,1.56,0.64,1),margin 0.25s ease,border-radius 0.25s ease,background-color 0.2s ease;will-change:transform}usa-cursor[data-hover] .usa-cursor-ring:first-child{width:calc(var(--usa-cursor-size) * 1.6);height:calc(var(--usa-cursor-size) * 1.6);margin:calc(var(--usa-cursor-size) * -0.8) 0 0 calc(var(--usa-cursor-size) * -0.8);background:color-mix(in srgb,var(--usa-cursor-color) 15%,transparent)}usa-cursor[data-snapped] .usa-cursor-ring{border-radius:12px;background:color-mix(in srgb,var(--usa-cursor-color) 12%,transparent);translate:-50% -50%;margin:0}usa-cursor[data-down] .usa-cursor-ring:first-child{scale:0.8}usa-cursor .usa-cursor-dot{position:absolute;left:-3px;top:-3px;width:6px;height:6px;border-radius:50%;background:var(--usa-cursor-color)}usa-cursor[data-snapped] .usa-cursor-dot{opacity:0}usa-cursor .usa-cursor-glow{position:absolute;left:-200px;top:-200px;width:400px;height:400px;border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--usa-cursor-color) 35%,transparent),transparent 65%);mix-blend-mode:screen}.usa-cursor-none,.usa-cursor-none *{cursor:none !important}@media (pointer:coarse),(prefers-reduced-motion:reduce){usa-cursor{display:none}.usa-cursor-none,.usa-cursor-none *{cursor:auto !important}}";
|
|
6
6
|
|
|
@@ -814,4 +814,4 @@ function definePageComponents() {
|
|
|
814
814
|
}
|
|
815
815
|
|
|
816
816
|
export { AMBIENT_EFFECTS, CURSOR_MODES, PAGE_EFFECTS, defineAmbient, defineAutoSkeleton, defineBackToTop, defineCursor, defineFullpage, defineLoadingBar, defineMotionSwitch, definePageComponents, defineSplash, enableMpaTransitions, getMotionIntensity, getMotionLevel, loadingBar, pageTransition, restoreMotionIntensity, scrollToTarget, setMotionIntensity, setMotionLevel, smoothScroll, supportsViewTransitions, themeTransition };
|
|
817
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
817
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.4.0/dist/components/page.js.map
|
|
@@ -66,4 +66,4 @@ async function runChunked(items, fn, options = {}) {
|
|
|
66
66
|
exports.runChunked = runChunked;
|
|
67
67
|
exports.shouldYield = shouldYield;
|
|
68
68
|
exports.yieldToMain = yieldToMain;
|
|
69
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
69
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.4.0/dist/components/perf-tasks.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as now } from '../chunks/base-
|
|
1
|
+
import { n as now } from '../chunks/base-SPDwWyB1.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* motionary/components/perf — long-task helpers (13.4).
|
|
@@ -62,4 +62,4 @@ async function runChunked(items, fn, options = {}) {
|
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
export { runChunked, shouldYield, yieldToMain };
|
|
65
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
65
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.4.0/dist/components/perf-tasks.js.map
|
package/dist/components/perf.cjs
CHANGED
|
@@ -118,4 +118,4 @@ exports.autoDegrade = autoDegrade;
|
|
|
118
118
|
exports.loadCategoryStyles = loadCategoryStyles;
|
|
119
119
|
exports.loadedStyles = loadedStyles;
|
|
120
120
|
exports.onDemandStyles = onDemandStyles;
|
|
121
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
121
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.4.0/dist/components/perf.cjs.map
|
package/dist/components/perf.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as onFrame,
|
|
2
|
-
export { x as schedulerStats, z as setFrameBudget } from '../chunks/base-
|
|
1
|
+
import { o as onFrame, B as setStyleLoader, v as animationBudget, w as getMotionIntensity, c as configureComponents, y as setAnimationBudget, q as activeAnimations } from '../chunks/base-SPDwWyB1.js';
|
|
2
|
+
export { x as schedulerStats, z as setFrameBudget } from '../chunks/base-SPDwWyB1.js';
|
|
3
3
|
import { c as categoryForTag } from '../chunks/category-for-tag-WK7MtB-K.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -107,4 +107,4 @@ function onDemandStyles(base) {
|
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
export { activeAnimations, animationBudget, autoDegrade, categoryForTag as categoryOf, loadCategoryStyles, loadedStyles, onDemandStyles, onFrame, setAnimationBudget };
|
|
110
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
110
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.4.0/dist/components/perf.js.map
|
|
@@ -445,4 +445,4 @@ exports.defineOverscroll = defineOverscroll;
|
|
|
445
445
|
exports.definePhysicsComponents = definePhysicsComponents;
|
|
446
446
|
exports.defineSpring = defineSpring;
|
|
447
447
|
exports.springEffectKeyframes = springEffectKeyframes;
|
|
448
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
448
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.4.0/dist/components/physics.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* motionary/components/physics */
|
|
2
2
|
.usa-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
|
|
3
|
-
usa-draggable{display:inline-block;touch-action:none;user-select:none;-webkit-user-select:none;cursor:grab;will-change:transform;-webkit-tap-highlight-color:transparent}usa-draggable[axis="x"]{touch-action:pan-y}usa-draggable[axis="y"]{touch-action:pan-x}usa-draggable[block]{display:block}usa-draggable[data-dragging]{cursor:grabbing}usa-draggable[disabled]{cursor:default}usa-draggable:focus-visible{outline:2px solid var(--usa-accent,#7c5cff);outline-offset:3px}
|
|
4
|
-
usa-overscroll{display:block;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}usa-overscroll[axis="x"]{overflow-y:hidden}usa-overscroll>*{transform:translate3d(0,var(--usa-overscroll,0px),0)}usa-overscroll[axis="x"]>*{transform:translate3d(var(--usa-overscroll,0px),0,0)}usa-overscroll[data-stretched]>*{will-change:transform}
|
|
5
|
-
usa-spring{display:inline-block;transform-origin:50% 70%}usa-spring[block]{display:block}usa-spring[effect="drop"]{transform-origin:50% 100%}usa-spring[data-state="hidden"]{opacity:0}usa-spring[trigger="click"]
|
|
3
|
+
:is(usa-draggable,mo-draggable){display:inline-block;touch-action:none;user-select:none;-webkit-user-select:none;cursor:grab;will-change:transform;-webkit-tap-highlight-color:transparent}:is(usa-draggable,mo-draggable)[axis="x"]{touch-action:pan-y}:is(usa-draggable,mo-draggable)[axis="y"]{touch-action:pan-x}:is(usa-draggable,mo-draggable)[block]{display:block}:is(usa-draggable,mo-draggable)[data-dragging]{cursor:grabbing}:is(usa-draggable,mo-draggable)[disabled]{cursor:default}:is(usa-draggable,mo-draggable):focus-visible{outline:2px solid var(--usa-accent,#7c5cff);outline-offset:3px}
|
|
4
|
+
:is(usa-overscroll,mo-overscroll){display:block;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}:is(usa-overscroll,mo-overscroll)[axis="x"]{overflow-y:hidden}:is(usa-overscroll,mo-overscroll)>*{transform:translate3d(0,var(--usa-overscroll,0px),0)}:is(usa-overscroll,mo-overscroll)[axis="x"]>*{transform:translate3d(var(--usa-overscroll,0px),0,0)}:is(usa-overscroll,mo-overscroll)[data-stretched]>*{will-change:transform}
|
|
5
|
+
:is(usa-spring,mo-spring){display:inline-block;transform-origin:50% 70%}:is(usa-spring,mo-spring)[block]{display:block}:is(usa-spring,mo-spring)[effect="drop"]{transform-origin:50% 100%}:is(usa-spring,mo-spring)[data-state="hidden"]{opacity:0}:is(usa-spring,mo-spring)[trigger="click"],:is(usa-spring,mo-spring)[trigger="hover"]{cursor:pointer;-webkit-tap-highlight-color:transparent}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { f as defineElement, d as clamp } from '../chunks/base-
|
|
2
|
-
import { d as springEasing, c as createSpring, s as snapTo, a as rubberBand, p as projectInertia } from '../chunks/spring-
|
|
3
|
-
export { S as SPRING_PRESETS, l as linearEasing, r as resolveSpring, b as spring, e as springSamples, f as stepSpring, g as supportsLinearEasing } from '../chunks/spring-
|
|
1
|
+
import { f as defineElement, d as clamp } from '../chunks/base-SPDwWyB1.js';
|
|
2
|
+
import { d as springEasing, c as createSpring, s as snapTo, a as rubberBand, p as projectInertia } from '../chunks/spring-Bu3AwUgu.js';
|
|
3
|
+
export { S as SPRING_PRESETS, l as linearEasing, r as resolveSpring, b as spring, e as springSamples, f as stepSpring, g as supportsLinearEasing } from '../chunks/spring-Bu3AwUgu.js';
|
|
4
4
|
|
|
5
5
|
var css$2 = "usa-spring{display:inline-block;transform-origin:50% 70%}usa-spring[block]{display:block}usa-spring[effect=\"drop\"]{transform-origin:50% 100%}usa-spring[data-state=\"hidden\"]{opacity:0}usa-spring[trigger=\"click\"],usa-spring[trigger=\"hover\"]{cursor:pointer;-webkit-tap-highlight-color:transparent}";
|
|
6
6
|
|
|
@@ -427,4 +427,4 @@ function definePhysicsComponents() {
|
|
|
427
427
|
}
|
|
428
428
|
|
|
429
429
|
export { SPRING_EFFECTS, createSpring, defineDraggable, defineOverscroll, definePhysicsComponents, defineSpring, projectInertia, rubberBand, snapTo, springEasing, springEffectKeyframes };
|
|
430
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
430
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.4.0/dist/components/physics.js.map
|
|
@@ -134,4 +134,4 @@ exports.text = text;
|
|
|
134
134
|
exports.transitions = transitions;
|
|
135
135
|
exports.video = video;
|
|
136
136
|
exports.weather = weather;
|
|
137
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
137
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.4.0/dist/components/plugins.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as GPU_FX } from '../chunks/gpu-
|
|
1
|
+
import { G as GPU_FX } from '../chunks/gpu-CJnu4Ty1.js';
|
|
2
2
|
import { TEXT3_FX } from './fx-text.js';
|
|
3
3
|
import { LIGHT_FX } from './fx-light.js';
|
|
4
4
|
import { DEPTH3_FX } from './fx-3d.js';
|
|
@@ -100,4 +100,4 @@ const hover = /*#__PURE__*/ P('hover', HOVER_FX);
|
|
|
100
100
|
const ALL_PLUGINS = [gpu, text, light, depth, morph, transitions, weather, physics, focus, music, chart, shop, social, game, geo, form, ai, festival, retro, organic, cyber, paper, surface, gesture3, spatial, cinema, lottie, genart, video, safe, perf3, hover];
|
|
101
101
|
|
|
102
102
|
export { ALL_PLUGINS, ai, chart, cinema, cyber, depth, festival, focus, form, game, genart, geo, gesture3, gpu, hover, light, lottie, morph, music, organic, paper, perf3, physics, retro, safe, shop, social, spatial, surface, text, transitions, video, weather };
|
|
103
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
103
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.4.0/dist/components/plugins.js.map
|
|
@@ -116,4 +116,4 @@ exports.createUsaComponents = createUsaComponents;
|
|
|
116
116
|
exports.eventName = eventName;
|
|
117
117
|
exports.kebab = kebab;
|
|
118
118
|
exports.pascal = pascal;
|
|
119
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
119
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.4.0/dist/components/react.cjs.map
|
package/dist/components/react.js
CHANGED
|
@@ -108,4 +108,4 @@ function createUsaComponents(React) {
|
|
|
108
108
|
const kebab = (name) => name.replace(/([a-z0-9])([A-Z])/g, '$1-$2').replace(/([A-Z])([A-Z][a-z])/g, '$1-$2').replace(/([a-z])(\d)/g, '$1-$2').toLowerCase();
|
|
109
109
|
|
|
110
110
|
export { USA_TAGS, createUsaComponents, eventName, kebab, pascal };
|
|
111
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
111
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.4.0/dist/components/react.js.map
|
|
@@ -360,4 +360,4 @@ exports.defineScrolly = defineScrolly;
|
|
|
360
360
|
exports.defineStagger = defineStagger;
|
|
361
361
|
exports.readScrollProgress = readScrollProgress;
|
|
362
362
|
exports.revealKeyframes = revealKeyframes;
|
|
363
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
363
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.4.0/dist/components/reveal.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* motionary/components/reveal */
|
|
2
2
|
.usa-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
|
|
3
|
-
usa-reveal,usa-stagger{display:block}usa-reveal[data-state="hidden"]
|
|
4
|
-
usa-scroll-progress{display:block;position:fixed;left:0;right:0;top:0;z-index:1000;height:var(--usa-progress-height,3px);background:var(--usa-progress-track,transparent);pointer-events:none;contain:strict}usa-scroll-progress[position="bottom"]{top:auto;bottom:0}usa-scroll-progress[position="inline"]{position:relative;z-index:auto;border-radius:999px;overflow:hidden}usa-scroll-progress .usa-progress-fill{display:block;height:100%;transform:scaleX(0);transform-origin:0 50%;background:var(--usa-progress-color,linear-gradient(90deg,#7c5cff,#22d3ee));will-change:transform}
|
|
5
|
-
usa-scrolly{display:block;position:relative}usa-scrolly [data-sticky]{position:sticky;top:var(--usa-sticky-top,0px)}usa-scrolly [data-step]{opacity:var(--usa-step-dim,0.35);transition:opacity 0.4s ease}usa-scrolly [data-step][data-active]{opacity:1}@media (prefers-reduced-motion:reduce){usa-scrolly [data-step]{transition:none}}
|
|
3
|
+
:is(usa-reveal,mo-reveal),:is(usa-stagger,mo-stagger){display:block}:is(usa-reveal,mo-reveal)[data-state="hidden"],:is(usa-stagger,mo-stagger)[data-state="hidden"]>*{opacity:0}@media (prefers-reduced-motion:reduce){:is(usa-reveal,mo-reveal)[data-state="hidden"],:is(usa-stagger,mo-stagger)[data-state="hidden"]>*{opacity:1}}
|
|
4
|
+
:is(usa-scroll-progress,mo-scroll-progress){display:block;position:fixed;left:0;right:0;top:0;z-index:1000;height:var(--usa-progress-height,3px);background:var(--usa-progress-track,transparent);pointer-events:none;contain:strict}:is(usa-scroll-progress,mo-scroll-progress)[position="bottom"]{top:auto;bottom:0}:is(usa-scroll-progress,mo-scroll-progress)[position="inline"]{position:relative;z-index:auto;border-radius:999px;overflow:hidden}:is(usa-scroll-progress,mo-scroll-progress) .usa-progress-fill{display:block;height:100%;transform:scaleX(0);transform-origin:0 50%;background:var(--usa-progress-color,linear-gradient(90deg,#7c5cff,#22d3ee));will-change:transform}
|
|
5
|
+
:is(usa-scrolly,mo-scrolly){display:block;position:relative}:is(usa-scrolly,mo-scrolly) [data-sticky]{position:sticky;top:var(--usa-sticky-top,0px)}:is(usa-scrolly,mo-scrolly) [data-step]{opacity:var(--usa-step-dim,0.35);transition:opacity 0.4s ease}:is(usa-scrolly,mo-scrolly) [data-step][data-active]{opacity:1}@media (prefers-reduced-motion:reduce){:is(usa-scrolly,mo-scrolly) [data-step]{transition:none}}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as defineElement,
|
|
1
|
+
import { f as defineElement, D as EASE_OUT, d as clamp, b as caf, I as queryAttr, r as raf } from '../chunks/base-SPDwWyB1.js';
|
|
2
2
|
|
|
3
3
|
/** Entrance effects shared by `<usa-reveal>` and `<usa-stagger>` (transform / opacity / filter only). */
|
|
4
4
|
const REVEAL_EFFECTS = [
|
|
@@ -351,4 +351,4 @@ function defineRevealComponents() {
|
|
|
351
351
|
}
|
|
352
352
|
|
|
353
353
|
export { REVEAL_EFFECTS, defineReveal, defineRevealComponents, defineScrollProgress, defineScrolly, defineStagger, readScrollProgress, revealKeyframes };
|
|
354
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
354
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.4.0/dist/components/reveal.js.map
|
|
@@ -374,4 +374,4 @@ exports.symbolUsage = symbolUsage;
|
|
|
374
374
|
exports.symbolsToCss = symbolsToCss;
|
|
375
375
|
exports.updateSymbol = updateSymbol;
|
|
376
376
|
exports.validateSymbols = validateSymbols;
|
|
377
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
377
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.4.0/dist/components/scene-symbols.cjs.map
|
|
@@ -363,4 +363,4 @@ function symbolsToCss(doc, o = {}) {
|
|
|
363
363
|
}
|
|
364
364
|
|
|
365
365
|
export { addInstance, clearOverride, createSymbol, detachInstance, renameSymbol, setOverride, symbolUsage, symbolsToCss, updateSymbol, validateSymbols };
|
|
366
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
366
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.4.0/dist/components/scene-symbols.js.map
|