motionary 17.5.0 → 17.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +4 -0
- package/CHANGELOG.md +17 -0
- package/README.md +12 -8
- package/README_ja.md +11 -7
- package/README_zh.md +11 -7
- package/bin/public-paths.mjs +2 -0
- package/dist/chunks/activity-G3K6LHEP.js +1 -1
- package/dist/chunks/activity-XCjQREWy.cjs +1 -1
- package/dist/chunks/{anim-image-Cl4pA1jG.cjs → anim-image-04e2kxjK.cjs} +2 -2
- package/dist/chunks/{anim-image-COjVmaP1.js → anim-image-BTVdF7jp.js} +2 -2
- package/dist/chunks/audio-BYC54FVb.cjs +1 -1
- package/dist/chunks/audio-BiO_x6I0.js +1 -1
- package/dist/chunks/badge-wall-BIYTO_47.js +1 -1
- package/dist/chunks/badge-wall-nHmls1DJ.cjs +1 -1
- package/dist/chunks/base-DzZEJhQB.cjs +1 -1
- package/dist/chunks/base-SPDwWyB1.js +1 -1
- package/dist/chunks/bg-generator-BjUrAeO1.js +1 -1
- 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-J8Y5msT6.js +1 -1
- package/dist/chunks/carousel--_KvZQq3.js +1 -1
- package/dist/chunks/carousel-CtzI1LxO.cjs +1 -1
- package/dist/chunks/cart-drawer-BJ3pFiI7.js +1 -1
- 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-bfSRtSqB.js +1 -1
- package/dist/chunks/color-picker-8N-NOvcQ.cjs +1 -1
- package/dist/chunks/color-picker-CtpYpnpE.js +1 -1
- package/dist/chunks/command-palette-CF3b-53a.cjs +1 -1
- package/dist/chunks/command-palette-DEwU0apn.js +1 -1
- package/dist/chunks/core-Bj5_9QHr.js +1 -1
- package/dist/chunks/core-BjcOCpJt.cjs +1 -1
- package/dist/chunks/core-C0-LxgXr.js +1 -1
- 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-BK14w5ux.js +1 -1
- package/dist/chunks/date-picker-DBlxYEY6.cjs +1 -1
- package/dist/chunks/date-picker-DLwN_P_R.js +1 -1
- package/dist/chunks/ease-HwYZnZat.cjs +1 -1
- package/dist/chunks/ease-XN8_0sXu.js +1 -1
- package/dist/chunks/engine-CUOpaIK4.js +314 -0
- package/dist/chunks/engine-D89D-YmJ.cjs +319 -0
- package/dist/chunks/equalizer-BJCGaGnx.js +1 -1
- package/dist/chunks/equalizer-DbABxC9W.cjs +1 -1
- package/dist/chunks/festival-banner-DOMDAkz8.cjs +1 -1
- package/dist/chunks/festival-banner-DhYr1Z4b.js +1 -1
- package/dist/chunks/field-Br3yLOwe.js +1 -1
- package/dist/chunks/field-C_ODaCJ5.cjs +1 -1
- package/dist/chunks/form-craft-CGsmJjVw.js +55 -0
- package/dist/chunks/form-craft-i3CaepYO.cjs +62 -0
- package/dist/chunks/form-options-e_FWVRvi.js +19 -0
- package/dist/chunks/form-options-lnCyapKT.cjs +22 -0
- package/dist/chunks/format-C6AKrjTW.js +1 -1
- package/dist/chunks/format-CcfR6-Jx.cjs +1 -1
- package/dist/chunks/fx-BLAi-SpO.cjs +1 -1
- package/dist/chunks/fx-sAOJVpyC.js +1 -1
- package/dist/chunks/generative-Cppu_oFN.js +1 -1
- package/dist/chunks/generative-DkuaIgER.cjs +1 -1
- package/dist/chunks/{gl-scene-EbbBygNv.js → gl-scene-9uhMddjN.js} +2 -2
- package/dist/chunks/{gl-scene-B2RmKWlP.cjs → gl-scene-lG0HvTr5.cjs} +2 -2
- package/dist/chunks/globe-BMVmAz1A.cjs +1 -1
- package/dist/chunks/globe-DbofB7xF.js +1 -1
- package/dist/chunks/gpu-B7egA-fl.cjs +1 -1
- package/dist/chunks/gpu-CJnu4Ty1.js +1 -1
- package/dist/chunks/gpu-particles-D1H4dnJY.js +1 -1
- package/dist/chunks/gpu-particles-DGwFsyz_.cjs +1 -1
- package/dist/chunks/history-C-nky56A.js +1 -1
- package/dist/chunks/history-rim_8RCX.cjs +1 -1
- package/dist/chunks/index-1R6Lie-l.js +1 -1
- 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-DOp8WcNT.js → keyframes-CiwQ9xWF.js} +2 -2
- package/dist/chunks/{keyframes-D60feZJH.cjs → keyframes-DQXX31yd.cjs} +2 -2
- package/dist/chunks/leaderboard-Bm9JPPkX.js +1 -1
- package/dist/chunks/leaderboard-DAxGz-Bv.cjs +1 -1
- package/dist/chunks/location-card-ChfmioKU.cjs +1 -1
- package/dist/chunks/location-card-DlVRckSa.js +1 -1
- package/dist/chunks/lottie-icon-DYVkUCf7.js +1 -1
- package/dist/chunks/lottie-icon-tbOmn1bQ.cjs +1 -1
- package/dist/chunks/{lottie-player-C0iHgRFB.cjs → lottie-player-CY5npFg0.cjs} +2 -2
- package/dist/chunks/{lottie-player-CnXnrjV1.js → lottie-player-D-nae5je.js} +2 -2
- package/dist/chunks/luminous-B_-9G2GO.cjs +1 -1
- package/dist/chunks/luminous-iQ0lxR6o.js +1 -1
- package/dist/chunks/lyrics-BGUZPoYa.js +1 -1
- package/dist/chunks/lyrics-CchUHmvY.cjs +1 -1
- package/dist/chunks/manifest-D9SNkSNr.js +1 -1
- package/dist/chunks/manifest-DWZv7bHQ.cjs +1 -1
- package/dist/chunks/matter-CeAHN-RP.cjs +244 -0
- package/dist/chunks/matter-s1ApmJnh.js +240 -0
- package/dist/chunks/matter-text-CjPBzmSX.cjs +118 -0
- package/dist/chunks/matter-text-DCeZNAkM.js +116 -0
- package/dist/chunks/matter-tools-c9BnIwSX.cjs +183 -0
- package/dist/chunks/matter-tools-vu63cR1E.js +181 -0
- package/dist/chunks/menu-7-UBhICx.js +1 -1
- package/dist/chunks/menu-9GcThZZr.cjs +1 -1
- package/dist/chunks/menu-toggle-C4AUDeBM.js +1 -1
- 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-BlxMtN4W.js +1 -1
- package/dist/chunks/nav-flyout-CrLUC54W.cjs +1 -1
- package/dist/chunks/nav-morph-BPpHX9Ez.js +1 -1
- package/dist/chunks/nav-morph-DuNCH5WQ.cjs +1 -1
- package/dist/chunks/otp-BIrDvGU8.js +1 -1
- package/dist/chunks/otp-W5drE539.cjs +1 -1
- package/dist/chunks/pagination-BH2ngIJB.cjs +1 -1
- package/dist/chunks/pagination-CiU78ftj.js +1 -1
- package/dist/chunks/{physics-playground-D5D31FVw.cjs → physics-playground-CT29Alyt.cjs} +2 -2
- package/dist/chunks/{physics-playground-XYnXmRJY.js → physics-playground-D22g5Nus.js} +2 -2
- package/dist/chunks/play-CTz93Nas.cjs +1 -1
- package/dist/chunks/play-KU8T1oaZ.js +1 -1
- package/dist/chunks/player-core-BtZTI0Fz.js +1 -1
- package/dist/chunks/player-core-CqR6WVaL.cjs +1 -1
- package/dist/chunks/presence-DKDktgSJ.cjs +1 -1
- package/dist/chunks/presence-qE-_AKeD.js +1 -1
- package/dist/chunks/presets-BYBVJVeP.js +1 -1
- package/dist/chunks/presets-CUHys3sK.cjs +1 -1
- package/dist/chunks/preview-BNOUoHr9.js +1 -1
- package/dist/chunks/preview-DGpXA2hJ.cjs +1 -1
- package/dist/chunks/prize-wheel-DTpQnQ23.js +1 -1
- package/dist/chunks/prize-wheel-W_4Wvldc.cjs +1 -1
- package/dist/chunks/product-gallery-B5ra4XHf.cjs +1 -1
- package/dist/chunks/product-gallery-DUr6hkuf.js +1 -1
- package/dist/chunks/progress-ring-BS7OogLs.js +1 -1
- package/dist/chunks/progress-ring-YtKPU2jM.cjs +1 -1
- package/dist/chunks/project-D8KHFDHI.js +1 -1
- package/dist/chunks/project-DIZ0UqvG.cjs +1 -1
- package/dist/chunks/prop-panel-C65BHNBP.js +1 -1
- package/dist/chunks/prop-panel-CaR91ZOI.cjs +1 -1
- package/dist/chunks/radar-BIU0Yz3_.js +1 -1
- package/dist/chunks/radar-CGKx_0Ug.cjs +1 -1
- package/dist/chunks/reactions-C8aoxmBM.cjs +1 -1
- package/dist/chunks/reactions-hF5fzYX_.js +1 -1
- package/dist/chunks/{registry-Csnu-ewY.cjs → registry-CvzRzv5N.cjs} +2 -2
- package/dist/chunks/{registry-DKFddqVT.js → registry-DFWqcv5h.js} +2 -2
- package/dist/chunks/registry-DmYdTtl4.js +1 -1
- package/dist/chunks/registry-_XKU28ZC.cjs +1 -1
- package/dist/chunks/retro-button-CFu0VcvW.cjs +1 -1
- package/dist/chunks/retro-button-W7RR6wC5.js +1 -1
- package/dist/chunks/rive-D7DZNUuN.js +1 -1
- package/dist/chunks/rive-xzduMxFp.cjs +1 -1
- package/dist/chunks/{runtime-link-BgPnBmfW.js → runtime-link-BOSHJim4.js} +2 -2
- package/dist/chunks/{runtime-link-NKGqkpVc.cjs → runtime-link-CqOMmWDV.cjs} +2 -2
- package/dist/chunks/scene-COP9gX_F.js +1 -1
- 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-Baap9oeC.js → scroll-scene-Di3Qy51Y.js} +3 -3
- package/dist/chunks/{scroll-scene-DpZTdaej.cjs → scroll-scene-bhKJefLg.cjs} +3 -3
- package/dist/chunks/segmented-C4QWn3G2.js +1 -1
- package/dist/chunks/segmented-JA4E5-4e.cjs +1 -1
- package/dist/chunks/shader-backdrop-BjSIcvSf.js +1 -1
- 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-DZd011Pc.js +1 -1
- 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-C1w5G0dG.js +1 -1
- package/dist/chunks/sparkline-CjKGcnI4.js +1 -1
- package/dist/chunks/sparkline-b6jIA0JR.cjs +1 -1
- package/dist/chunks/spring-Bu3AwUgu.js +1 -1
- 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-BEes6d7i.js +1 -1
- package/dist/chunks/suggestion-chips-a0-diVWW.cjs +1 -1
- package/dist/chunks/switch-BRHtlbGk.js +1 -1
- package/dist/chunks/switch-Cs6mszUY.cjs +1 -1
- package/dist/chunks/tab-bar-Bl0c_Z2L.js +1 -1
- package/dist/chunks/tab-bar-BvRhwu_Z.cjs +1 -1
- package/dist/chunks/{ticker-CrRtm74P.js → ticker-BfzQhvom.js} +2 -2
- package/dist/chunks/{ticker-DR53lOL5.cjs → ticker-DtWc0kyT.cjs} +2 -2
- package/dist/chunks/tip-BVeq5Vl_.js +1 -1
- package/dist/chunks/tip-C4ZmZX3u.cjs +1 -1
- package/dist/chunks/toast-stack-CMgOdocD.js +1 -1
- package/dist/chunks/toast-stack-DOE1cHRn.cjs +1 -1
- package/dist/chunks/{tween-CjkLm_rv.cjs → tween-CSQ2EFBm.cjs} +2 -2
- package/dist/chunks/{tween-ChOA_6__.js → tween-ltfzzNhy.js} +2 -2
- package/dist/chunks/upload-progress-Cxbh9qV2.js +1 -1
- package/dist/chunks/upload-progress-Dw3IXtf8.cjs +1 -1
- package/dist/chunks/v2-BRjQxrf_.js +1 -1
- 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-D_Vmflhf.js +1 -1
- 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-DsvWmYoO.js +1 -1
- package/dist/chunks/weather-card-DjTGZGrl.cjs +1 -1
- package/dist/chunks/weather-card-Dszcrytm.js +1 -1
- package/dist/chunks/worker-canvas-Cob4mssI.js +1 -1
- package/dist/chunks/worker-canvas-DgGkosGe.cjs +1 -1
- package/dist/chunks/xp-bar-BnKM8ws2.js +1 -1
- package/dist/chunks/xp-bar-CgH7Z424.cjs +1 -1
- package/dist/components/a11y.cjs +1 -1
- package/dist/components/a11y.js +1 -1
- package/dist/components/ai.cjs +1 -1
- package/dist/components/ai.js +1 -1
- package/dist/components/angular.cjs +1 -1
- package/dist/components/angular.d.cts +344 -0
- package/dist/components/angular.d.ts +344 -0
- package/dist/components/angular.js +1 -1
- package/dist/components/background.cjs +1 -1
- package/dist/components/background.js +1 -1
- package/dist/components/bridge.cjs +1 -1
- package/dist/components/bridge.js +1 -1
- package/dist/components/cards.cjs +1 -1
- package/dist/components/cards.js +1 -1
- package/dist/components/click.cjs +1 -1
- package/dist/components/click.js +1 -1
- package/dist/components/core.cjs +1 -1
- package/dist/components/core.js +1 -1
- package/dist/components/depth.cjs +1 -1
- package/dist/components/depth.js +1 -1
- package/dist/components/design.cjs +1 -1
- package/dist/components/design.js +1 -1
- package/dist/components/dotlottie.cjs +3 -3
- package/dist/components/dotlottie.js +3 -3
- package/dist/components/dsl.cjs +1 -1
- package/dist/components/dsl.js +1 -1
- package/dist/components/effects.cjs +1 -1
- package/dist/components/effects.js +1 -1
- package/dist/components/engine.cjs +1 -1
- package/dist/components/engine.js +1 -1
- package/dist/components/feedback.cjs +1 -1
- package/dist/components/feedback.js +1 -1
- package/dist/components/fx-3d.cjs +1 -1
- package/dist/components/fx-3d.js +1 -1
- package/dist/components/fx-ai.cjs +1 -1
- package/dist/components/fx-ai.js +1 -1
- package/dist/components/fx-chart.cjs +1 -1
- package/dist/components/fx-chart.js +1 -1
- package/dist/components/fx-cinema.cjs +1 -1
- package/dist/components/fx-cinema.js +1 -1
- package/dist/components/fx-cyber.cjs +1 -1
- package/dist/components/fx-cyber.js +1 -1
- package/dist/components/fx-draw.cjs +83 -0
- package/dist/components/fx-draw.d.cts +47 -0
- package/dist/components/fx-draw.d.ts +47 -0
- package/dist/components/fx-draw.js +80 -0
- package/dist/components/fx-festival.cjs +1 -1
- package/dist/components/fx-festival.js +1 -1
- package/dist/components/fx-focus.cjs +1 -1
- package/dist/components/fx-focus.js +1 -1
- package/dist/components/fx-form.cjs +1 -1
- package/dist/components/fx-form.js +1 -1
- package/dist/components/fx-game.cjs +1 -1
- package/dist/components/fx-game.js +1 -1
- package/dist/components/fx-genart.cjs +1 -1
- package/dist/components/fx-genart.js +1 -1
- package/dist/components/fx-geo.cjs +1 -1
- package/dist/components/fx-geo.js +1 -1
- package/dist/components/fx-gesture.cjs +1 -1
- package/dist/components/fx-gesture.js +1 -1
- package/dist/components/fx-gpu.cjs +1 -1
- package/dist/components/fx-gpu.js +1 -1
- package/dist/components/fx-hover.cjs +1 -1
- package/dist/components/fx-hover.js +1 -1
- package/dist/components/fx-light.cjs +1 -1
- package/dist/components/fx-light.js +1 -1
- package/dist/components/fx-lottie.cjs +1 -1
- package/dist/components/fx-lottie.js +1 -1
- package/dist/components/fx-matter.cjs +109 -0
- package/dist/components/fx-matter.d.cts +48 -0
- package/dist/components/fx-matter.d.ts +48 -0
- package/dist/components/fx-matter.js +106 -0
- package/dist/components/fx-morph.cjs +1 -1
- package/dist/components/fx-morph.js +1 -1
- package/dist/components/fx-music.cjs +1 -1
- package/dist/components/fx-music.js +1 -1
- package/dist/components/fx-organic.cjs +1 -1
- package/dist/components/fx-organic.js +1 -1
- package/dist/components/fx-paper.cjs +1 -1
- package/dist/components/fx-paper.js +1 -1
- package/dist/components/fx-perf.cjs +1 -1
- package/dist/components/fx-perf.js +1 -1
- package/dist/components/fx-physics.cjs +1 -1
- package/dist/components/fx-physics.js +1 -1
- package/dist/components/fx-retro.cjs +1 -1
- package/dist/components/fx-retro.js +1 -1
- package/dist/components/fx-safe.cjs +1 -1
- package/dist/components/fx-safe.js +1 -1
- package/dist/components/fx-shop.cjs +1 -1
- package/dist/components/fx-shop.js +1 -1
- package/dist/components/fx-social.cjs +1 -1
- package/dist/components/fx-social.js +1 -1
- package/dist/components/fx-spatial.cjs +1 -1
- package/dist/components/fx-spatial.js +1 -1
- package/dist/components/fx-surface.cjs +1 -1
- package/dist/components/fx-surface.js +1 -1
- package/dist/components/fx-text.cjs +1 -1
- package/dist/components/fx-text.js +1 -1
- package/dist/components/fx-transitions.cjs +1 -1
- package/dist/components/fx-transitions.js +1 -1
- package/dist/components/fx-video.cjs +1 -1
- package/dist/components/fx-video.js +1 -1
- package/dist/components/fx-weather.cjs +1 -1
- package/dist/components/fx-weather.js +1 -1
- package/dist/components/fx.cjs +1 -1
- package/dist/components/fx.js +1 -1
- package/dist/components/fx2.cjs +11 -1
- package/dist/components/fx2.d.cts +8 -1
- package/dist/components/fx2.d.ts +8 -1
- package/dist/components/fx2.js +8 -2
- package/dist/components/gesture.cjs +1 -1
- package/dist/components/gesture.js +1 -1
- package/dist/components/gl-model.cjs +3 -3
- package/dist/components/gl-model.js +3 -3
- package/dist/components/gl-pool.cjs +1 -1
- package/dist/components/gl-pool.js +1 -1
- package/dist/components/interaction.cjs +1 -1
- package/dist/components/interaction.js +1 -1
- package/dist/components/jsx.cjs +1 -1
- package/dist/components/jsx.d.cts +344 -0
- package/dist/components/jsx.d.ts +344 -0
- package/dist/components/jsx.js +1 -1
- package/dist/components/layout.cjs +1 -1
- package/dist/components/layout.js +1 -1
- package/dist/components/lazy.cjs +1 -1
- package/dist/components/lazy.js +1 -1
- package/dist/components/lite.cjs +2 -2
- package/dist/components/lite.js +2 -2
- package/dist/components/marketplace.cjs +1 -1
- package/dist/components/marketplace.js +1 -1
- package/dist/components/mo.cjs +2 -2
- package/dist/components/mo.d.cts +240 -0
- package/dist/components/mo.d.ts +240 -0
- package/dist/components/mo.js +2 -2
- package/dist/components/motion-layout.cjs +1 -1
- package/dist/components/motion-layout.js +1 -1
- package/dist/components/motion-scene.cjs +1 -1
- package/dist/components/motion-scene.js +1 -1
- package/dist/components/motion-tokens.cjs +1 -1
- package/dist/components/motion-tokens.js +1 -1
- package/dist/components/motion.cjs +1 -1
- package/dist/components/motion.js +1 -1
- package/dist/components/native.cjs +1 -1
- package/dist/components/native.js +1 -1
- package/dist/components/offscreen.cjs +1 -1
- package/dist/components/offscreen.js +1 -1
- package/dist/components/packs.cjs +1 -1
- package/dist/components/packs.js +1 -1
- package/dist/components/page.cjs +1 -1
- package/dist/components/page.js +1 -1
- package/dist/components/perf-tasks.cjs +1 -1
- package/dist/components/perf-tasks.js +1 -1
- package/dist/components/perf.cjs +1 -1
- package/dist/components/perf.js +1 -1
- package/dist/components/physics.cjs +1 -1
- package/dist/components/physics.js +1 -1
- package/dist/components/plugins.cjs +10 -2
- package/dist/components/plugins.d.cts +5 -1
- package/dist/components/plugins.d.ts +5 -1
- package/dist/components/plugins.js +9 -3
- package/dist/components/react.cjs +1 -1
- package/dist/components/react.js +1 -1
- package/dist/components/reveal.cjs +1 -1
- package/dist/components/reveal.js +1 -1
- package/dist/components/scene-symbols.cjs +1 -1
- package/dist/components/scene-symbols.js +1 -1
- package/dist/components/scene-v2.cjs +1 -1
- package/dist/components/scene-v2.js +1 -1
- package/dist/components/scene-v3.cjs +1 -1
- package/dist/components/scene-v3.js +1 -1
- package/dist/components/snap-carousel.cjs +2 -2
- package/dist/components/snap-carousel.js +2 -2
- package/dist/components/solid.cjs +1 -1
- package/dist/components/solid.d.cts +240 -0
- package/dist/components/solid.d.ts +240 -0
- package/dist/components/solid.js +1 -1
- package/dist/components/studio-a11y.cjs +1 -1
- package/dist/components/studio-a11y.js +1 -1
- package/dist/components/studio-ai.cjs +1 -1
- package/dist/components/studio-ai.js +1 -1
- package/dist/components/studio-app.cjs +1 -1
- package/dist/components/studio-app.js +1 -1
- package/dist/components/studio-assets.cjs +1 -1
- package/dist/components/studio-assets.js +1 -1
- package/dist/components/studio-budget.cjs +1 -1
- package/dist/components/studio-budget.js +1 -1
- package/dist/components/studio-canvas.cjs +1 -1
- package/dist/components/studio-canvas.js +1 -1
- package/dist/components/studio-export.cjs +1 -1
- package/dist/components/studio-export.js +1 -1
- package/dist/components/studio-native.cjs +1 -1
- package/dist/components/studio-native.js +1 -1
- package/dist/components/studio-plugins.cjs +1 -1
- package/dist/components/studio-plugins.js +1 -1
- package/dist/components/studio-provenance.cjs +1 -1
- package/dist/components/studio-provenance.js +1 -1
- package/dist/components/studio-store.cjs +1 -1
- package/dist/components/studio-store.js +1 -1
- package/dist/components/studio-templates.cjs +1 -1
- package/dist/components/studio-templates.js +1 -1
- package/dist/components/studio.cjs +1 -1
- package/dist/components/studio.js +1 -1
- package/dist/components/svelte.cjs +1 -1
- package/dist/components/svelte.d.cts +344 -0
- package/dist/components/svelte.d.ts +344 -0
- package/dist/components/svelte.js +1 -1
- package/dist/components/svg.cjs +1 -1
- package/dist/components/svg.js +1 -1
- package/dist/components/text.cjs +1 -1
- package/dist/components/text.js +1 -1
- package/dist/components/timeline-editor.cjs +1 -1
- package/dist/components/timeline-editor.js +1 -1
- package/dist/components/timeline.cjs +1 -1
- package/dist/components/timeline.js +1 -1
- package/dist/components/tokens.cjs +1 -1
- package/dist/components/tokens.js +1 -1
- package/dist/components/transitions.cjs +1 -1
- package/dist/components/transitions.js +1 -1
- package/dist/components/ui.cjs +1 -1
- package/dist/components/ui.js +1 -1
- package/dist/components/vue.cjs +1 -1
- package/dist/components/vue.d.cts +344 -0
- package/dist/components/vue.d.ts +344 -0
- package/dist/components/vue.js +1 -1
- package/dist/components/webgl.cjs +1 -1
- package/dist/components/webgl.js +1 -1
- package/dist/components/widgets.cjs +57 -18
- package/dist/components/widgets.d.cts +336 -16
- package/dist/components/widgets.d.ts +336 -16
- package/dist/components/widgets.js +35 -21
- package/dist/components.cjs +1 -1
- package/dist/components.js +1 -1
- package/dist/components.umd.js +3 -3
- package/dist/effects/achievement-unlock.cjs +1 -1
- package/dist/effects/achievement-unlock.js +1 -1
- package/dist/effects/aurora-veil.cjs +1 -1
- package/dist/effects/aurora-veil.js +1 -1
- package/dist/effects/badge-pop.cjs +1 -1
- package/dist/effects/badge-pop.js +1 -1
- package/dist/effects/bars-grow.cjs +1 -1
- package/dist/effects/bars-grow.js +1 -1
- package/dist/effects/beat-bounce.cjs +1 -1
- package/dist/effects/beat-bounce.js +1 -1
- package/dist/effects/blob-button.cjs +1 -1
- package/dist/effects/blob-button.js +1 -1
- package/dist/effects/bloom.cjs +1 -1
- package/dist/effects/bloom.js +1 -1
- package/dist/effects/breathe.cjs +1 -1
- package/dist/effects/breathe.js +1 -1
- package/dist/effects/brushed-metal.cjs +1 -1
- package/dist/effects/brushed-metal.js +1 -1
- package/dist/effects/camera-dolly.cjs +1 -1
- package/dist/effects/camera-dolly.js +1 -1
- package/dist/effects/card-flip-3d.cjs +1 -1
- package/dist/effects/card-flip-3d.js +1 -1
- package/dist/effects/check-orbit.cjs +18 -0
- package/dist/effects/check-orbit.d.cts +4 -0
- package/dist/effects/check-orbit.d.ts +4 -0
- package/dist/effects/check-orbit.js +14 -0
- package/dist/effects/chemical-bloom.cjs +18 -0
- package/dist/effects/chemical-bloom.d.cts +4 -0
- package/dist/effects/chemical-bloom.d.ts +4 -0
- package/dist/effects/chemical-bloom.js +14 -0
- package/dist/effects/chest-open.cjs +1 -1
- package/dist/effects/chest-open.js +1 -1
- package/dist/effects/cloth.cjs +1 -1
- package/dist/effects/cloth.js +1 -1
- package/dist/effects/coin-burst.cjs +1 -1
- package/dist/effects/coin-burst.js +1 -1
- package/dist/effects/color-pulse.cjs +1 -1
- package/dist/effects/color-pulse.js +1 -1
- package/dist/effects/crt-power.cjs +1 -1
- package/dist/effects/crt-power.js +1 -1
- package/dist/effects/crumple.cjs +1 -1
- package/dist/effects/crumple.js +1 -1
- package/dist/effects/data-decode.cjs +1 -1
- package/dist/effects/data-decode.js +1 -1
- package/dist/effects/day-cycle.cjs +1 -1
- package/dist/effects/day-cycle.js +1 -1
- package/dist/effects/depth-in.cjs +1 -1
- package/dist/effects/depth-in.js +1 -1
- package/dist/effects/depth-pop.cjs +1 -1
- package/dist/effects/depth-pop.js +1 -1
- package/dist/effects/depth-stack.cjs +1 -1
- package/dist/effects/depth-stack.js +1 -1
- package/dist/effects/dolly-in.cjs +1 -1
- package/dist/effects/dolly-in.js +1 -1
- package/dist/effects/dots-pop.cjs +1 -1
- package/dist/effects/dots-pop.js +1 -1
- package/dist/effects/dust-vortex.cjs +18 -0
- package/dist/effects/dust-vortex.d.cts +4 -0
- package/dist/effects/dust-vortex.d.ts +4 -0
- package/dist/effects/dust-vortex.js +14 -0
- package/dist/effects/elastic-ripple.cjs +18 -0
- package/dist/effects/elastic-ripple.d.cts +4 -0
- package/dist/effects/elastic-ripple.d.ts +4 -0
- package/dist/effects/elastic-ripple.js +14 -0
- package/dist/effects/error-underline.cjs +18 -0
- package/dist/effects/error-underline.d.cts +4 -0
- package/dist/effects/error-underline.d.ts +4 -0
- package/dist/effects/error-underline.js +14 -0
- package/dist/effects/field-shake.cjs +1 -1
- package/dist/effects/field-shake.js +1 -1
- package/dist/effects/field-success.cjs +1 -1
- package/dist/effects/field-success.js +1 -1
- package/dist/effects/film-burn.cjs +1 -1
- package/dist/effects/film-burn.js +1 -1
- package/dist/effects/fire.cjs +1 -1
- package/dist/effects/fire.js +1 -1
- package/dist/effects/fireflies.cjs +1 -1
- package/dist/effects/fireflies.js +1 -1
- package/dist/effects/firework-burst.cjs +1 -1
- package/dist/effects/firework-burst.js +1 -1
- package/dist/effects/flip-chars.cjs +1 -1
- package/dist/effects/flip-chars.js +1 -1
- package/dist/effects/fluid.cjs +1 -1
- package/dist/effects/fluid.js +1 -1
- package/dist/effects/fly-to-cart.cjs +1 -1
- package/dist/effects/fly-to-cart.js +1 -1
- package/dist/effects/focus-brackets.cjs +18 -0
- package/dist/effects/focus-brackets.d.cts +4 -0
- package/dist/effects/focus-brackets.d.ts +4 -0
- package/dist/effects/focus-brackets.js +14 -0
- package/dist/effects/focus-draw.cjs +1 -1
- package/dist/effects/focus-draw.js +1 -1
- package/dist/effects/focus-glow.cjs +1 -1
- package/dist/effects/focus-glow.js +1 -1
- package/dist/effects/focus-reveal.cjs +1 -1
- package/dist/effects/focus-reveal.js +1 -1
- package/dist/effects/fog.cjs +1 -1
- package/dist/effects/fog.js +1 -1
- package/dist/effects/font-breathe.cjs +1 -1
- package/dist/effects/font-breathe.js +1 -1
- package/dist/effects/form-cascade.cjs +1 -1
- package/dist/effects/form-cascade.js +1 -1
- package/dist/effects/gen-skeleton.cjs +1 -1
- package/dist/effects/gen-skeleton.js +1 -1
- package/dist/effects/glass-frost.cjs +1 -1
- package/dist/effects/glass-frost.js +1 -1
- package/dist/effects/glitch-text.cjs +1 -1
- package/dist/effects/glitch-text.js +1 -1
- package/dist/effects/globe-spin.cjs +1 -1
- package/dist/effects/globe-spin.js +1 -1
- package/dist/effects/god-rays.cjs +1 -1
- package/dist/effects/god-rays.js +1 -1
- package/dist/effects/googly-eyes.cjs +1 -1
- package/dist/effects/googly-eyes.js +1 -1
- package/dist/effects/gpu-lift.cjs +1 -1
- package/dist/effects/gpu-lift.js +1 -1
- package/dist/effects/grain-flicker.cjs +1 -1
- package/dist/effects/grain-flicker.js +1 -1
- package/dist/effects/grid-warp.cjs +1 -1
- package/dist/effects/grid-warp.js +1 -1
- package/dist/effects/halftone-in.cjs +1 -1
- package/dist/effects/halftone-in.js +1 -1
- package/dist/effects/highlight-sweep.cjs +1 -1
- package/dist/effects/highlight-sweep.js +1 -1
- package/dist/effects/hologram.cjs +1 -1
- package/dist/effects/hologram.js +1 -1
- package/dist/effects/hud-frame.cjs +1 -1
- package/dist/effects/hud-frame.js +1 -1
- package/dist/effects/icon-pop.cjs +1 -1
- package/dist/effects/icon-pop.js +1 -1
- package/dist/effects/icon-swap.cjs +1 -1
- package/dist/effects/icon-swap.js +1 -1
- package/dist/effects/idle-reveal.cjs +1 -1
- package/dist/effects/idle-reveal.js +1 -1
- package/dist/effects/image-swap.cjs +1 -1
- package/dist/effects/image-swap.js +1 -1
- package/dist/effects/ink.cjs +1 -1
- package/dist/effects/ink.js +1 -1
- package/dist/effects/jump-cut.cjs +1 -1
- package/dist/effects/jump-cut.js +1 -1
- package/dist/effects/kaleido.cjs +1 -1
- package/dist/effects/kaleido.js +1 -1
- package/dist/effects/label-float.cjs +1 -1
- package/dist/effects/label-float.js +1 -1
- package/dist/effects/lantern-rise.cjs +1 -1
- package/dist/effects/lantern-rise.js +1 -1
- package/dist/effects/leaves.cjs +1 -1
- package/dist/effects/leaves.js +1 -1
- package/dist/effects/letterbox.cjs +1 -1
- package/dist/effects/letterbox.js +1 -1
- package/dist/effects/level-up.cjs +1 -1
- package/dist/effects/level-up.js +1 -1
- package/dist/effects/light-follow.cjs +1 -1
- package/dist/effects/light-follow.js +1 -1
- package/dist/effects/lightning.cjs +1 -1
- package/dist/effects/lightning.js +1 -1
- package/dist/effects/line-draw.cjs +1 -1
- package/dist/effects/line-draw.js +1 -1
- package/dist/effects/liquid-level.cjs +18 -0
- package/dist/effects/liquid-level.d.cts +4 -0
- package/dist/effects/liquid-level.d.ts +4 -0
- package/dist/effects/liquid-level.js +14 -0
- package/dist/effects/liquid-text.cjs +1 -1
- package/dist/effects/liquid-text.js +1 -1
- package/dist/effects/liquid-wipe.cjs +1 -1
- package/dist/effects/liquid-wipe.js +1 -1
- package/dist/effects/lottie-play.cjs +1 -1
- package/dist/effects/lottie-play.js +1 -1
- package/dist/effects/magnet.cjs +1 -1
- package/dist/effects/magnet.js +1 -1
- package/dist/effects/magnetic-align.cjs +18 -0
- package/dist/effects/magnetic-align.d.cts +4 -0
- package/dist/effects/magnetic-align.d.ts +4 -0
- package/dist/effects/magnetic-align.js +14 -0
- package/dist/effects/marching-ants.cjs +1 -1
- package/dist/effects/marching-ants.js +1 -1
- package/dist/effects/marker-pulse.cjs +1 -1
- package/dist/effects/marker-pulse.js +1 -1
- package/dist/effects/mention-glow.cjs +1 -1
- package/dist/effects/mention-glow.js +1 -1
- package/dist/effects/mercury-morph.cjs +18 -0
- package/dist/effects/mercury-morph.d.cts +4 -0
- package/dist/effects/mercury-morph.d.ts +4 -0
- package/dist/effects/mercury-morph.js +14 -0
- package/dist/effects/mesh-drift.cjs +1 -1
- package/dist/effects/mesh-drift.js +1 -1
- package/dist/effects/message-in.cjs +1 -1
- package/dist/effects/message-in.js +1 -1
- package/dist/effects/mosaic-flip.cjs +1 -1
- package/dist/effects/mosaic-flip.js +1 -1
- package/dist/effects/neon-ignite.cjs +1 -1
- package/dist/effects/neon-ignite.js +1 -1
- package/dist/effects/neon-pulse.cjs +1 -1
- package/dist/effects/neon-pulse.js +1 -1
- package/dist/effects/neon-write.cjs +1 -1
- package/dist/effects/neon-write.js +1 -1
- package/dist/effects/neu-press.cjs +1 -1
- package/dist/effects/neu-press.js +1 -1
- package/dist/effects/noise-reveal.cjs +1 -1
- package/dist/effects/noise-reveal.js +1 -1
- package/dist/effects/number-roll.cjs +1 -1
- package/dist/effects/number-roll.js +1 -1
- package/dist/effects/orbit-camera.cjs +1 -1
- package/dist/effects/orbit-camera.js +1 -1
- package/dist/effects/orbit-in.cjs +1 -1
- package/dist/effects/orbit-in.js +1 -1
- package/dist/effects/origami.cjs +1 -1
- package/dist/effects/origami.js +1 -1
- package/dist/effects/page-curl.cjs +1 -1
- package/dist/effects/page-curl.js +1 -1
- package/dist/effects/pan-reveal.cjs +1 -1
- package/dist/effects/pan-reveal.js +1 -1
- package/dist/effects/paper-unfold.cjs +1 -1
- package/dist/effects/paper-unfold.js +1 -1
- package/dist/effects/particle-text.cjs +1 -1
- package/dist/effects/particle-text.js +1 -1
- package/dist/effects/path-morph.cjs +1 -1
- package/dist/effects/path-morph.js +1 -1
- package/dist/effects/pearlescent.cjs +1 -1
- package/dist/effects/pearlescent.js +1 -1
- package/dist/effects/pencil-sketch.cjs +1 -1
- package/dist/effects/pencil-sketch.js +1 -1
- package/dist/effects/pin-drop.cjs +1 -1
- package/dist/effects/pin-drop.js +1 -1
- package/dist/effects/pinball.cjs +1 -1
- package/dist/effects/pinball.js +1 -1
- package/dist/effects/pinch-hint.cjs +1 -1
- package/dist/effects/pinch-hint.js +1 -1
- package/dist/effects/pixelate-in.cjs +1 -1
- package/dist/effects/pixelate-in.js +1 -1
- package/dist/effects/pointer-shadow.cjs +1 -1
- package/dist/effects/pointer-shadow.js +1 -1
- package/dist/effects/portal-open.cjs +1 -1
- package/dist/effects/portal-open.js +1 -1
- package/dist/effects/price-flip.cjs +1 -1
- package/dist/effects/price-flip.js +1 -1
- package/dist/effects/product-spin.cjs +1 -1
- package/dist/effects/product-spin.js +1 -1
- package/dist/effects/rack-focus.cjs +1 -1
- package/dist/effects/rack-focus.js +1 -1
- package/dist/effects/radial-spectrum.cjs +1 -1
- package/dist/effects/radial-spectrum.js +1 -1
- package/dist/effects/rain-glass.cjs +1 -1
- package/dist/effects/rain-glass.js +1 -1
- package/dist/effects/reaction-burst.cjs +1 -1
- package/dist/effects/reaction-burst.js +1 -1
- package/dist/effects/read-receipt.cjs +1 -1
- package/dist/effects/read-receipt.js +1 -1
- package/dist/effects/refraction.cjs +1 -1
- package/dist/effects/refraction.js +1 -1
- package/dist/effects/ring-sweep.cjs +1 -1
- package/dist/effects/ring-sweep.js +1 -1
- package/dist/effects/ripple-dissolve.cjs +1 -1
- package/dist/effects/ripple-dissolve.js +1 -1
- package/dist/effects/rope.cjs +1 -1
- package/dist/effects/rope.js +1 -1
- package/dist/effects/route-draw.cjs +1 -1
- package/dist/effects/route-draw.js +1 -1
- package/dist/effects/safe-fade.cjs +1 -1
- package/dist/effects/safe-fade.js +1 -1
- package/dist/effects/sakura.cjs +1 -1
- package/dist/effects/sakura.js +1 -1
- package/dist/effects/sale-shine.cjs +1 -1
- package/dist/effects/sale-shine.js +1 -1
- package/dist/effects/sankey-flow.cjs +1 -1
- package/dist/effects/sankey-flow.js +1 -1
- package/dist/effects/scanline-sweep.cjs +1 -1
- package/dist/effects/scanline-sweep.js +1 -1
- package/dist/effects/shatter.cjs +1 -1
- package/dist/effects/shatter.js +1 -1
- package/dist/effects/smoke.cjs +1 -1
- package/dist/effects/smoke.js +1 -1
- package/dist/effects/snowfall.cjs +1 -1
- package/dist/effects/snowfall.js +1 -1
- package/dist/effects/soft-body.cjs +1 -1
- package/dist/effects/soft-body.js +1 -1
- package/dist/effects/sound-particles.cjs +1 -1
- package/dist/effects/sound-particles.js +1 -1
- package/dist/effects/spatial-float.cjs +1 -1
- package/dist/effects/spatial-float.js +1 -1
- package/dist/effects/spectrum-mirror.cjs +1 -1
- package/dist/effects/spectrum-mirror.js +1 -1
- package/dist/effects/splash.cjs +1 -1
- package/dist/effects/splash.js +1 -1
- package/dist/effects/spooky-float.cjs +1 -1
- package/dist/effects/spooky-float.js +1 -1
- package/dist/effects/stock-pulse.cjs +1 -1
- package/dist/effects/stock-pulse.js +1 -1
- package/dist/effects/stream-text.cjs +1 -1
- package/dist/effects/stream-text.js +1 -1
- package/dist/effects/stroke-draw.cjs +1 -1
- package/dist/effects/stroke-draw.js +1 -1
- package/dist/effects/submit-trail.cjs +18 -0
- package/dist/effects/submit-trail.d.cts +4 -0
- package/dist/effects/submit-trail.d.ts +4 -0
- package/dist/effects/submit-trail.js +14 -0
- package/dist/effects/success-check.cjs +1 -1
- package/dist/effects/success-check.js +1 -1
- package/dist/effects/swipe-hint.cjs +1 -1
- package/dist/effects/swipe-hint.js +1 -1
- package/dist/effects/text-roll.cjs +1 -1
- package/dist/effects/text-roll.js +1 -1
- package/dist/effects/text-trail.cjs +1 -1
- package/dist/effects/text-trail.js +1 -1
- package/dist/effects/thinking-glow.cjs +1 -1
- package/dist/effects/thinking-glow.js +1 -1
- package/dist/effects/tilt-wobble.cjs +1 -1
- package/dist/effects/tilt-wobble.js +1 -1
- package/dist/effects/typing-dots.cjs +1 -1
- package/dist/effects/typing-dots.js +1 -1
- package/dist/effects/underline-sweep.cjs +1 -1
- package/dist/effects/underline-sweep.js +1 -1
- package/dist/effects/vhs-glitch.cjs +1 -1
- package/dist/effects/vhs-glitch.js +1 -1
- package/dist/effects/vine-grow.cjs +1 -1
- package/dist/effects/vine-grow.js +1 -1
- package/dist/effects/vinyl-spin.cjs +1 -1
- package/dist/effects/vinyl-spin.js +1 -1
- package/dist/effects/voice-wave.cjs +1 -1
- package/dist/effects/voice-wave.js +1 -1
- package/dist/effects/water-drop.cjs +1 -1
- package/dist/effects/water-drop.js +1 -1
- package/dist/effects/watercolor.cjs +1 -1
- package/dist/effects/watercolor.js +1 -1
- package/dist/effects/waveform-scope.cjs +1 -1
- package/dist/effects/waveform-scope.js +1 -1
- package/dist/effects/xmas-snow.cjs +1 -1
- package/dist/effects/xmas-snow.js +1 -1
- package/dist/effects/xp-gain.cjs +1 -1
- package/dist/effects/xp-gain.js +1 -1
- package/dist/effects/y2k-shine.cjs +1 -1
- package/dist/effects/y2k-shine.js +1 -1
- package/dist/element.cjs +1 -1
- package/dist/element.js +1 -1
- package/dist/element.umd.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/llms.txt +27 -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/activity-wall.cjs +1 -1
- package/dist/widgets/activity-wall.js +1 -1
- package/dist/widgets/add-to-cart.cjs +1 -1
- package/dist/widgets/add-to-cart.js +1 -1
- package/dist/widgets/badge-wall.cjs +1 -1
- package/dist/widgets/badge-wall.js +1 -1
- package/dist/widgets/bar-chart.cjs +1 -1
- package/dist/widgets/bar-chart.js +1 -1
- package/dist/widgets/bezier-lab.cjs +26 -0
- package/dist/widgets/bezier-lab.d.cts +2 -0
- package/dist/widgets/bezier-lab.d.ts +2 -0
- package/dist/widgets/bezier-lab.js +24 -0
- package/dist/widgets/bg-generator.cjs +1 -1
- package/dist/widgets/bg-generator.js +1 -1
- package/dist/widgets/breadcrumbs.cjs +1 -1
- package/dist/widgets/breadcrumbs.js +1 -1
- package/dist/widgets/carousel.cjs +1 -1
- package/dist/widgets/carousel.js +1 -1
- package/dist/widgets/cart-drawer.cjs +1 -1
- package/dist/widgets/cart-drawer.js +1 -1
- package/dist/widgets/chapter-nav.cjs +1 -1
- package/dist/widgets/chapter-nav.js +1 -1
- package/dist/widgets/chat-composer.cjs +1 -1
- package/dist/widgets/chat-composer.js +1 -1
- package/dist/widgets/clock-control.cjs +1 -1
- package/dist/widgets/clock-control.js +1 -1
- package/dist/widgets/code-export.cjs +1 -1
- package/dist/widgets/code-export.js +1 -1
- package/dist/widgets/coffee-timer.cjs +1 -1
- package/dist/widgets/coffee-timer.js +1 -1
- package/dist/widgets/color-picker.cjs +1 -1
- package/dist/widgets/color-picker.js +1 -1
- package/dist/widgets/combobox.cjs +131 -0
- package/dist/widgets/combobox.d.cts +2 -0
- package/dist/widgets/combobox.d.ts +2 -0
- package/dist/widgets/combobox.js +129 -0
- package/dist/widgets/command-palette.cjs +1 -1
- package/dist/widgets/command-palette.js +1 -1
- package/dist/widgets/compare.cjs +1 -1
- package/dist/widgets/compare.js +1 -1
- package/dist/widgets/consent.cjs +51 -0
- package/dist/widgets/consent.d.cts +2 -0
- package/dist/widgets/consent.d.ts +2 -0
- package/dist/widgets/consent.js +49 -0
- package/dist/widgets/countdown.cjs +1 -1
- package/dist/widgets/countdown.js +1 -1
- package/dist/widgets/cta-popup.cjs +85 -0
- package/dist/widgets/cta-popup.d.cts +2 -0
- package/dist/widgets/cta-popup.d.ts +2 -0
- package/dist/widgets/cta-popup.js +83 -0
- package/dist/widgets/cube-gallery.cjs +1 -1
- package/dist/widgets/cube-gallery.js +1 -1
- package/dist/widgets/date-picker.cjs +1 -1
- package/dist/widgets/date-picker.js +1 -1
- package/dist/widgets/delivery-tracker.cjs +1 -1
- package/dist/widgets/delivery-tracker.js +1 -1
- package/dist/widgets/disclosure.cjs +1 -1
- package/dist/widgets/disclosure.js +1 -1
- package/dist/widgets/dock.cjs +1 -1
- package/dist/widgets/dock.js +1 -1
- package/dist/widgets/dotlottie.cjs +1 -1
- package/dist/widgets/dotlottie.js +1 -1
- package/dist/widgets/download-menu.cjs +1 -1
- package/dist/widgets/download-menu.js +1 -1
- package/dist/widgets/elastic-mesh.cjs +25 -0
- package/dist/widgets/elastic-mesh.d.cts +2 -0
- package/dist/widgets/elastic-mesh.d.ts +2 -0
- package/dist/widgets/elastic-mesh.js +23 -0
- package/dist/widgets/equalizer.cjs +1 -1
- package/dist/widgets/equalizer.js +1 -1
- package/dist/widgets/festival-banner.cjs +1 -1
- package/dist/widgets/festival-banner.js +1 -1
- package/dist/widgets/field.cjs +1 -1
- package/dist/widgets/field.js +1 -1
- package/dist/widgets/file-drop.cjs +1 -1
- package/dist/widgets/file-drop.js +1 -1
- package/dist/widgets/file-tree.cjs +1 -1
- package/dist/widgets/file-tree.js +1 -1
- package/dist/widgets/flight-status.cjs +1 -1
- package/dist/widgets/flight-status.js +1 -1
- package/dist/widgets/fluid-type.cjs +25 -0
- package/dist/widgets/fluid-type.d.cts +2 -0
- package/dist/widgets/fluid-type.d.ts +2 -0
- package/dist/widgets/fluid-type.js +23 -0
- package/dist/widgets/form-stepper.cjs +167 -0
- package/dist/widgets/form-stepper.d.cts +2 -0
- package/dist/widgets/form-stepper.d.ts +2 -0
- package/dist/widgets/form-stepper.js +165 -0
- package/dist/widgets/fullscreen-menu.cjs +1 -1
- package/dist/widgets/fullscreen-menu.js +1 -1
- package/dist/widgets/gauge.cjs +1 -1
- package/dist/widgets/gauge.js +1 -1
- package/dist/widgets/gen-art.cjs +1 -1
- package/dist/widgets/gen-art.js +1 -1
- package/dist/widgets/gesture-sticker.cjs +1 -1
- package/dist/widgets/gesture-sticker.js +1 -1
- package/dist/widgets/gl-model.cjs +1 -1
- package/dist/widgets/gl-model.js +1 -1
- package/dist/widgets/gl-scene.cjs +2 -2
- package/dist/widgets/gl-scene.js +2 -2
- package/dist/widgets/globe.cjs +1 -1
- package/dist/widgets/globe.js +1 -1
- package/dist/widgets/glucose-sparkline.cjs +1 -1
- package/dist/widgets/glucose-sparkline.js +1 -1
- package/dist/widgets/gpu-particles.cjs +1 -1
- package/dist/widgets/gpu-particles.js +1 -1
- package/dist/widgets/gravity-well.cjs +25 -0
- package/dist/widgets/gravity-well.d.cts +2 -0
- package/dist/widgets/gravity-well.d.ts +2 -0
- package/dist/widgets/gravity-well.js +23 -0
- package/dist/widgets/gyro-card.cjs +1 -1
- package/dist/widgets/gyro-card.js +1 -1
- package/dist/widgets/halo-segmented.cjs +1 -1
- package/dist/widgets/halo-segmented.js +1 -1
- package/dist/widgets/halo-slider.cjs +1 -1
- package/dist/widgets/halo-slider.js +1 -1
- package/dist/widgets/hero-video.cjs +1 -1
- package/dist/widgets/hero-video.js +1 -1
- package/dist/widgets/hold-action.cjs +118 -0
- package/dist/widgets/hold-action.d.cts +2 -0
- package/dist/widgets/hold-action.d.ts +2 -0
- package/dist/widgets/hold-action.js +116 -0
- package/dist/widgets/hud-panel.cjs +1 -1
- package/dist/widgets/hud-panel.js +1 -1
- package/dist/widgets/hydrate.cjs +1 -1
- package/dist/widgets/hydrate.js +1 -1
- package/dist/widgets/ink-flow.cjs +25 -0
- package/dist/widgets/ink-flow.d.cts +2 -0
- package/dist/widgets/ink-flow.d.ts +2 -0
- package/dist/widgets/ink-flow.js +23 -0
- package/dist/widgets/install-button.cjs +1 -1
- package/dist/widgets/install-button.js +1 -1
- package/dist/widgets/kanban.cjs +1 -1
- package/dist/widgets/kanban.js +1 -1
- package/dist/widgets/keyframe-editor.cjs +1 -1
- package/dist/widgets/keyframe-editor.js +1 -1
- package/dist/widgets/kpi.cjs +1 -1
- package/dist/widgets/kpi.js +1 -1
- package/dist/widgets/leaderboard.cjs +1 -1
- package/dist/widgets/leaderboard.js +1 -1
- package/dist/widgets/liquid-metal.cjs +25 -0
- package/dist/widgets/liquid-metal.d.cts +2 -0
- package/dist/widgets/liquid-metal.d.ts +2 -0
- package/dist/widgets/liquid-metal.js +23 -0
- package/dist/widgets/liquid-nav.cjs +1 -1
- package/dist/widgets/liquid-nav.js +1 -1
- package/dist/widgets/location-card.cjs +1 -1
- package/dist/widgets/location-card.js +1 -1
- package/dist/widgets/lottie-icon.cjs +1 -1
- package/dist/widgets/lottie-icon.js +1 -1
- package/dist/widgets/lottie-player.cjs +2 -2
- package/dist/widgets/lottie-player.js +2 -2
- package/dist/widgets/lottie.cjs +1 -1
- package/dist/widgets/lottie.js +1 -1
- package/dist/widgets/luminous-switch.cjs +1 -1
- package/dist/widgets/luminous-switch.js +1 -1
- package/dist/widgets/lyrics.cjs +1 -1
- package/dist/widgets/lyrics.js +1 -1
- package/dist/widgets/magnetic-field.cjs +25 -0
- package/dist/widgets/magnetic-field.d.cts +2 -0
- package/dist/widgets/magnetic-field.d.ts +2 -0
- package/dist/widgets/magnetic-field.js +23 -0
- package/dist/widgets/masonry-flow.cjs +1 -1
- package/dist/widgets/masonry-flow.js +1 -1
- package/dist/widgets/mega-menu.cjs +1 -1
- package/dist/widgets/mega-menu.js +1 -1
- package/dist/widgets/menu-toggle.cjs +1 -1
- package/dist/widgets/menu-toggle.js +1 -1
- package/dist/widgets/menu.cjs +1 -1
- package/dist/widgets/menu.js +1 -1
- package/dist/widgets/message-list.cjs +1 -1
- package/dist/widgets/message-list.js +1 -1
- package/dist/widgets/meter-countdown.cjs +1 -1
- package/dist/widgets/meter-countdown.js +1 -1
- package/dist/widgets/milestones.cjs +1 -1
- package/dist/widgets/milestones.js +1 -1
- package/dist/widgets/modal.cjs +1 -1
- package/dist/widgets/modal.js +1 -1
- package/dist/widgets/motion-inspector.cjs +2 -2
- package/dist/widgets/motion-inspector.js +2 -2
- package/dist/widgets/motion-prefs.cjs +1 -1
- package/dist/widgets/motion-prefs.js +1 -1
- package/dist/widgets/motion-prompt.cjs +1 -1
- package/dist/widgets/motion-prompt.js +1 -1
- package/dist/widgets/motion-spec.cjs +1 -1
- package/dist/widgets/motion-spec.js +1 -1
- package/dist/widgets/motion.cjs +1 -1
- package/dist/widgets/motion.js +1 -1
- package/dist/widgets/multi-select.cjs +63 -0
- package/dist/widgets/multi-select.d.cts +2 -0
- package/dist/widgets/multi-select.d.ts +2 -0
- package/dist/widgets/multi-select.js +61 -0
- package/dist/widgets/music-player.cjs +1 -1
- package/dist/widgets/music-player.js +1 -1
- package/dist/widgets/native-preview.cjs +1 -1
- package/dist/widgets/native-preview.js +1 -1
- package/dist/widgets/nav-flyout.cjs +1 -1
- package/dist/widgets/nav-flyout.js +1 -1
- package/dist/widgets/nav-morph.cjs +1 -1
- package/dist/widgets/nav-morph.js +1 -1
- package/dist/widgets/notification-bell.cjs +1 -1
- package/dist/widgets/notification-bell.js +1 -1
- package/dist/widgets/number-stepper.cjs +54 -0
- package/dist/widgets/number-stepper.d.cts +2 -0
- package/dist/widgets/number-stepper.d.ts +2 -0
- package/dist/widgets/number-stepper.js +52 -0
- package/dist/widgets/odometer.cjs +1 -1
- package/dist/widgets/odometer.js +1 -1
- package/dist/widgets/orbit-pass.cjs +1 -1
- package/dist/widgets/orbit-pass.js +1 -1
- package/dist/widgets/orbit-progress.cjs +1 -1
- package/dist/widgets/orbit-progress.js +1 -1
- package/dist/widgets/organic-card.cjs +1 -1
- package/dist/widgets/organic-card.js +1 -1
- package/dist/widgets/otp.cjs +1 -1
- package/dist/widgets/otp.js +1 -1
- package/dist/widgets/pagination.cjs +1 -1
- package/dist/widgets/pagination.js +1 -1
- package/dist/widgets/panorama.cjs +1 -1
- package/dist/widgets/panorama.js +1 -1
- package/dist/widgets/parallax-layers.cjs +1 -1
- package/dist/widgets/parallax-layers.js +1 -1
- package/dist/widgets/particle-button.cjs +1 -1
- package/dist/widgets/particle-button.js +1 -1
- package/dist/widgets/particle-icon.cjs +1 -1
- package/dist/widgets/particle-icon.js +1 -1
- package/dist/widgets/password.cjs +58 -0
- package/dist/widgets/password.d.cts +2 -0
- package/dist/widgets/password.d.ts +2 -0
- package/dist/widgets/password.js +56 -0
- package/dist/widgets/pause-all.cjs +1 -1
- package/dist/widgets/pause-all.js +1 -1
- package/dist/widgets/perf-monitor.cjs +1 -1
- package/dist/widgets/perf-monitor.js +1 -1
- package/dist/widgets/physics-playground.cjs +2 -2
- package/dist/widgets/physics-playground.js +2 -2
- package/dist/widgets/plugin-card.cjs +3 -3
- package/dist/widgets/plugin-card.js +3 -3
- package/dist/widgets/plugin-store.cjs +1 -1
- package/dist/widgets/plugin-store.js +1 -1
- package/dist/widgets/presence.cjs +1 -1
- package/dist/widgets/presence.js +1 -1
- package/dist/widgets/prize-wheel.cjs +1 -1
- package/dist/widgets/prize-wheel.js +1 -1
- package/dist/widgets/product-gallery.cjs +1 -1
- package/dist/widgets/product-gallery.js +1 -1
- package/dist/widgets/progress-ring.cjs +1 -1
- package/dist/widgets/progress-ring.js +1 -1
- package/dist/widgets/prop-panel.cjs +1 -1
- package/dist/widgets/prop-panel.js +1 -1
- package/dist/widgets/pull-cord.cjs +1 -1
- package/dist/widgets/pull-cord.js +1 -1
- package/dist/widgets/race-telemetry.cjs +1 -1
- package/dist/widgets/race-telemetry.js +1 -1
- package/dist/widgets/radar.cjs +1 -1
- package/dist/widgets/radar.js +1 -1
- package/dist/widgets/range-slider.cjs +61 -0
- package/dist/widgets/range-slider.d.cts +2 -0
- package/dist/widgets/range-slider.d.ts +2 -0
- package/dist/widgets/range-slider.js +59 -0
- package/dist/widgets/reaction-field.cjs +25 -0
- package/dist/widgets/reaction-field.d.cts +2 -0
- package/dist/widgets/reaction-field.d.ts +2 -0
- package/dist/widgets/reaction-field.js +23 -0
- package/dist/widgets/reactions.cjs +1 -1
- package/dist/widgets/reactions.js +1 -1
- package/dist/widgets/red-envelope.cjs +1 -1
- package/dist/widgets/red-envelope.js +1 -1
- package/dist/widgets/retro-button.cjs +1 -1
- package/dist/widgets/retro-button.js +1 -1
- package/dist/widgets/revision-reveal.cjs +26 -0
- package/dist/widgets/revision-reveal.d.cts +2 -0
- package/dist/widgets/revision-reveal.d.ts +2 -0
- package/dist/widgets/revision-reveal.js +24 -0
- package/dist/widgets/ride-status.cjs +1 -1
- package/dist/widgets/ride-status.js +1 -1
- package/dist/widgets/rive.cjs +1 -1
- package/dist/widgets/rive.js +1 -1
- package/dist/widgets/route-sparkline.cjs +1 -1
- package/dist/widgets/route-sparkline.js +1 -1
- package/dist/widgets/route-transition.cjs +1 -1
- package/dist/widgets/route-transition.js +1 -1
- package/dist/widgets/scene.cjs +1 -1
- package/dist/widgets/scene.js +1 -1
- package/dist/widgets/scroll-ring.cjs +1 -1
- package/dist/widgets/scroll-ring.js +1 -1
- package/dist/widgets/scroll-scene.cjs +2 -2
- package/dist/widgets/scroll-scene.js +2 -2
- package/dist/widgets/scrub-number.cjs +125 -0
- package/dist/widgets/scrub-number.d.cts +2 -0
- package/dist/widgets/scrub-number.d.ts +2 -0
- package/dist/widgets/scrub-number.js +123 -0
- package/dist/widgets/search-field.cjs +136 -0
- package/dist/widgets/search-field.d.cts +2 -0
- package/dist/widgets/search-field.d.ts +2 -0
- package/dist/widgets/search-field.js +134 -0
- package/dist/widgets/segmented.cjs +1 -1
- package/dist/widgets/segmented.js +1 -1
- package/dist/widgets/select.cjs +65 -0
- package/dist/widgets/select.d.cts +2 -0
- package/dist/widgets/select.d.ts +2 -0
- package/dist/widgets/select.js +63 -0
- package/dist/widgets/shader-backdrop.cjs +1 -1
- package/dist/widgets/shader-backdrop.js +1 -1
- package/dist/widgets/sheet.cjs +1 -1
- package/dist/widgets/sheet.js +1 -1
- package/dist/widgets/shortcut.cjs +1 -1
- package/dist/widgets/shortcut.js +1 -1
- package/dist/widgets/skeleton-reveal.cjs +1 -1
- package/dist/widgets/skeleton-reveal.js +1 -1
- package/dist/widgets/sketch-chart.cjs +1 -1
- package/dist/widgets/sketch-chart.js +1 -1
- package/dist/widgets/smooth-scroll.cjs +2 -2
- package/dist/widgets/smooth-scroll.js +2 -2
- package/dist/widgets/snap-carousel.cjs +1 -1
- package/dist/widgets/snap-carousel.js +1 -1
- package/dist/widgets/sparkline.cjs +1 -1
- package/dist/widgets/sparkline.js +1 -1
- package/dist/widgets/spatial-card.cjs +1 -1
- package/dist/widgets/spatial-card.js +1 -1
- package/dist/widgets/spring-lab.cjs +26 -0
- package/dist/widgets/spring-lab.d.cts +2 -0
- package/dist/widgets/spring-lab.d.ts +2 -0
- package/dist/widgets/spring-lab.js +24 -0
- package/dist/widgets/star-rating.cjs +1 -1
- package/dist/widgets/star-rating.js +1 -1
- package/dist/widgets/status-pill.cjs +1 -1
- package/dist/widgets/status-pill.js +1 -1
- package/dist/widgets/stepper.cjs +1 -1
- package/dist/widgets/stepper.js +1 -1
- package/dist/widgets/sticky-wall.cjs +1 -1
- package/dist/widgets/sticky-wall.js +1 -1
- package/dist/widgets/stories.cjs +1 -1
- package/dist/widgets/stories.js +1 -1
- package/dist/widgets/suggestion-chips.cjs +1 -1
- package/dist/widgets/suggestion-chips.js +1 -1
- package/dist/widgets/sun-timeline.cjs +1 -1
- package/dist/widgets/sun-timeline.js +1 -1
- package/dist/widgets/swipe-deck.cjs +1 -1
- package/dist/widgets/swipe-deck.js +1 -1
- package/dist/widgets/switch.cjs +1 -1
- package/dist/widgets/switch.js +1 -1
- package/dist/widgets/tab-bar.cjs +1 -1
- package/dist/widgets/tab-bar.js +1 -1
- package/dist/widgets/terminal.cjs +1 -1
- package/dist/widgets/terminal.js +1 -1
- package/dist/widgets/text-loupe.cjs +26 -0
- package/dist/widgets/text-loupe.d.cts +2 -0
- package/dist/widgets/text-loupe.d.ts +2 -0
- package/dist/widgets/text-loupe.js +24 -0
- package/dist/widgets/text-splitter.cjs +3 -3
- package/dist/widgets/text-splitter.js +3 -3
- package/dist/widgets/textarea.cjs +79 -0
- package/dist/widgets/textarea.d.cts +2 -0
- package/dist/widgets/textarea.d.ts +2 -0
- package/dist/widgets/textarea.js +77 -0
- package/dist/widgets/theme-surface.cjs +1 -1
- package/dist/widgets/theme-surface.js +1 -1
- package/dist/widgets/theme-switcher.cjs +1 -1
- package/dist/widgets/theme-switcher.js +1 -1
- package/dist/widgets/tip.cjs +1 -1
- package/dist/widgets/tip.js +1 -1
- package/dist/widgets/title-sequence.cjs +1 -1
- package/dist/widgets/title-sequence.js +1 -1
- package/dist/widgets/toast-stack.cjs +1 -1
- package/dist/widgets/toast-stack.js +1 -1
- package/dist/widgets/token-editor.cjs +1 -1
- package/dist/widgets/token-editor.js +1 -1
- package/dist/widgets/transit-progress.cjs +1 -1
- package/dist/widgets/transit-progress.js +1 -1
- package/dist/widgets/upload-progress.cjs +1 -1
- package/dist/widgets/upload-progress.js +1 -1
- package/dist/widgets/validation-summary.cjs +66 -0
- package/dist/widgets/validation-summary.d.cts +2 -0
- package/dist/widgets/validation-summary.d.ts +2 -0
- package/dist/widgets/validation-summary.js +64 -0
- package/dist/widgets/video-card.cjs +1 -1
- package/dist/widgets/video-card.js +1 -1
- package/dist/widgets/vital-wave.cjs +1 -1
- package/dist/widgets/vital-wave.js +1 -1
- package/dist/widgets/voice-button.cjs +1 -1
- package/dist/widgets/voice-button.js +1 -1
- package/dist/widgets/volume-knob.cjs +1 -1
- package/dist/widgets/volume-knob.js +1 -1
- package/dist/widgets/weather-card.cjs +1 -1
- package/dist/widgets/weather-card.js +1 -1
- package/dist/widgets/worker-canvas.cjs +1 -1
- package/dist/widgets/worker-canvas.js +1 -1
- package/dist/widgets/workout-player.cjs +1 -1
- package/dist/widgets/workout-player.js +1 -1
- package/dist/widgets/xp-bar.cjs +1 -1
- package/dist/widgets/xp-bar.js +1 -1
- package/dist/widgets.umd.js +2 -2
- package/docs/components/README.md +32 -7
- package/docs/components/usa-bezier-lab.md +36 -0
- package/docs/components/usa-combobox.md +36 -0
- package/docs/components/usa-consent.md +36 -0
- package/docs/components/usa-cta-popup.md +36 -0
- package/docs/components/usa-elastic-mesh.md +36 -0
- package/docs/components/usa-fluid-type.md +36 -0
- package/docs/components/usa-form-stepper.md +36 -0
- package/docs/components/usa-fx.md +80 -0
- package/docs/components/usa-gravity-well.md +36 -0
- package/docs/components/usa-hold-action.md +36 -0
- package/docs/components/usa-ink-flow.md +36 -0
- package/docs/components/usa-liquid-metal.md +36 -0
- package/docs/components/usa-magnetic-field.md +36 -0
- package/docs/components/usa-multi-select.md +36 -0
- package/docs/components/usa-number-stepper.md +36 -0
- package/docs/components/usa-password.md +36 -0
- package/docs/components/usa-range-slider.md +36 -0
- package/docs/components/usa-reaction-field.md +36 -0
- package/docs/components/usa-revision-reveal.md +36 -0
- package/docs/components/usa-scrub-number.md +36 -0
- package/docs/components/usa-search-field.md +36 -0
- package/docs/components/usa-select.md +36 -0
- package/docs/components/usa-spring-lab.md +36 -0
- package/docs/components/usa-text-loupe.md +36 -0
- package/docs/components/usa-textarea.md +36 -0
- package/docs/components/usa-validation-summary.md +36 -0
- package/docs/components.md +5 -5
- package/docs/coverage-roadmap.md +48 -0
- package/docs/entry-points.md +37 -2
- package/docs/form-atelier.md +120 -0
- package/docs/matter-motion.md +68 -0
- package/docs/versions.md +1 -1
- package/figma-plugin/code.js +1 -1
- package/package.json +392 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { d as defineDatePicker } from '../chunks/date-picker-DLwN_P_R.js';
|
|
2
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
2
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.7.0/dist/widgets/date-picker.js.map
|
|
@@ -26,4 +26,4 @@ function defineDeliveryTracker(tag = 'usa-delivery-tracker') {
|
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
exports.defineDeliveryTracker = defineDeliveryTracker;
|
|
29
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
29
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.7.0/dist/widgets/delivery-tracker.cjs.map
|
|
@@ -24,4 +24,4 @@ function defineDeliveryTracker(tag = 'usa-delivery-tracker') {
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
export { defineDeliveryTracker };
|
|
27
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
27
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.7.0/dist/widgets/delivery-tracker.js.map
|
|
@@ -78,4 +78,4 @@ function defineDisclosure(tag = 'usa-disclosure') {
|
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
exports.defineDisclosure = defineDisclosure;
|
|
81
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
81
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.7.0/dist/widgets/disclosure.cjs.map
|
|
@@ -76,4 +76,4 @@ function defineDisclosure(tag = 'usa-disclosure') {
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
export { defineDisclosure };
|
|
79
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
79
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.7.0/dist/widgets/disclosure.js.map
|
package/dist/widgets/dock.cjs
CHANGED
|
@@ -75,4 +75,4 @@ function defineDock(tag = 'usa-dock') {
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
exports.defineDock = defineDock;
|
|
78
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
78
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.7.0/dist/widgets/dock.cjs.map
|
package/dist/widgets/dock.js
CHANGED
|
@@ -73,4 +73,4 @@ function defineDock(tag = 'usa-dock') {
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
export { defineDock };
|
|
76
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
76
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.7.0/dist/widgets/dock.js.map
|
|
@@ -5,4 +5,4 @@ var components_dotlottie = require('../components/dotlottie.cjs');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
exports.defineDotLottie = components_dotlottie.defineDotLottie;
|
|
8
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
8
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.7.0/dist/widgets/dotlottie.cjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { defineDotLottie } from '../components/dotlottie.js';
|
|
2
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
2
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.7.0/dist/widgets/dotlottie.js.map
|
|
@@ -38,4 +38,4 @@ function defineDownloadMenu(tag = 'usa-download-menu') {
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
exports.defineDownloadMenu = defineDownloadMenu;
|
|
41
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
41
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.7.0/dist/widgets/download-menu.cjs.map
|
|
@@ -36,4 +36,4 @@ function defineDownloadMenu(tag = 'usa-download-menu') {
|
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
export { defineDownloadMenu };
|
|
39
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
39
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.7.0/dist/widgets/download-menu.js.map
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var base = require('../chunks/base-DzZEJhQB.cjs');
|
|
4
|
+
var moName = require('../chunks/mo-name-DR9ysd5S.cjs');
|
|
5
|
+
var matter = require('../chunks/matter-CeAHN-RP.cjs');
|
|
6
|
+
|
|
7
|
+
function defineElasticMesh(tag = 'usa-elastic-mesh') {
|
|
8
|
+
const ctor = base.defineElement(tag, Base => {
|
|
9
|
+
class ElasticMesh extends matter.matterClass(Base, 'mesh') {
|
|
10
|
+
static get observedAttributes() { return ['label', 'disabled', 'animated', 'paused', 'color', 'accent', 'strength']; }
|
|
11
|
+
notify(type, detail) {
|
|
12
|
+
if (type === 'action')
|
|
13
|
+
this.emit('action', detail);
|
|
14
|
+
else
|
|
15
|
+
this.emit('change', detail);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
return ElasticMesh;
|
|
19
|
+
}, { id: 'matter', text: matter.css });
|
|
20
|
+
moName.defineMoName(tag, ctor);
|
|
21
|
+
return ctor;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
exports.defineElasticMesh = defineElasticMesh;
|
|
25
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.7.0/dist/widgets/elastic-mesh.cjs.map
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { f as defineElement } from '../chunks/base-SPDwWyB1.js';
|
|
2
|
+
import { d as defineMoName } from '../chunks/mo-name-DT5wwaGR.js';
|
|
3
|
+
import { c as css, m as matterClass } from '../chunks/matter-s1ApmJnh.js';
|
|
4
|
+
|
|
5
|
+
function defineElasticMesh(tag = 'usa-elastic-mesh') {
|
|
6
|
+
const ctor = defineElement(tag, Base => {
|
|
7
|
+
class ElasticMesh extends matterClass(Base, 'mesh') {
|
|
8
|
+
static get observedAttributes() { return ['label', 'disabled', 'animated', 'paused', 'color', 'accent', 'strength']; }
|
|
9
|
+
notify(type, detail) {
|
|
10
|
+
if (type === 'action')
|
|
11
|
+
this.emit('action', detail);
|
|
12
|
+
else
|
|
13
|
+
this.emit('change', detail);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
return ElasticMesh;
|
|
17
|
+
}, { id: 'matter', text: css });
|
|
18
|
+
defineMoName(tag, ctor);
|
|
19
|
+
return ctor;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export { defineElasticMesh };
|
|
23
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.7.0/dist/widgets/elastic-mesh.js.map
|
|
@@ -5,4 +5,4 @@ var widgets_equalizer = require('../chunks/equalizer-DbABxC9W.cjs');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
exports.defineEqualizer = widgets_equalizer.defineEqualizer;
|
|
8
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
8
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.7.0/dist/widgets/equalizer.cjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { d as defineEqualizer } from '../chunks/equalizer-BJCGaGnx.js';
|
|
2
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
2
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.7.0/dist/widgets/equalizer.js.map
|
|
@@ -5,4 +5,4 @@ var widgets_festivalBanner = require('../chunks/festival-banner-DOMDAkz8.cjs');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
exports.defineFestivalBanner = widgets_festivalBanner.defineFestivalBanner;
|
|
8
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
8
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.7.0/dist/widgets/festival-banner.cjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { d as defineFestivalBanner } from '../chunks/festival-banner-DhYr1Z4b.js';
|
|
2
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
2
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.7.0/dist/widgets/festival-banner.js.map
|
package/dist/widgets/field.cjs
CHANGED
|
@@ -5,4 +5,4 @@ var widgets_field = require('../chunks/field-C_ODaCJ5.cjs');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
exports.defineField = widgets_field.defineField;
|
|
8
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
8
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.7.0/dist/widgets/field.cjs.map
|
package/dist/widgets/field.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { d as defineField } from '../chunks/field-Br3yLOwe.js';
|
|
2
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
2
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.7.0/dist/widgets/field.js.map
|
|
@@ -110,4 +110,4 @@ function defineFileDrop(tag = 'usa-file-drop') {
|
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
exports.defineFileDrop = defineFileDrop;
|
|
113
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
113
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.7.0/dist/widgets/file-drop.cjs.map
|
|
@@ -108,4 +108,4 @@ function defineFileDrop(tag = 'usa-file-drop') {
|
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
export { defineFileDrop };
|
|
111
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
111
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.7.0/dist/widgets/file-drop.js.map
|
|
@@ -42,4 +42,4 @@ function defineFileTree(tag = 'usa-file-tree') {
|
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
exports.defineFileTree = defineFileTree;
|
|
45
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
45
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.7.0/dist/widgets/file-tree.cjs.map
|
|
@@ -40,4 +40,4 @@ function defineFileTree(tag = 'usa-file-tree') {
|
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
export { defineFileTree };
|
|
43
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
43
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.7.0/dist/widgets/file-tree.js.map
|
|
@@ -26,4 +26,4 @@ function defineFlightStatus(tag = 'usa-flight-status') {
|
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
exports.defineFlightStatus = defineFlightStatus;
|
|
29
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
29
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.7.0/dist/widgets/flight-status.cjs.map
|
|
@@ -24,4 +24,4 @@ function defineFlightStatus(tag = 'usa-flight-status') {
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
export { defineFlightStatus };
|
|
27
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
27
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.7.0/dist/widgets/flight-status.js.map
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var base = require('../chunks/base-DzZEJhQB.cjs');
|
|
4
|
+
var moName = require('../chunks/mo-name-DR9ysd5S.cjs');
|
|
5
|
+
var matter = require('../chunks/matter-CeAHN-RP.cjs');
|
|
6
|
+
|
|
7
|
+
function defineFluidType(tag = 'usa-fluid-type') {
|
|
8
|
+
const ctor = base.defineElement(tag, Base => {
|
|
9
|
+
class FluidType extends matter.matterClass(Base, 'fluid') {
|
|
10
|
+
static get observedAttributes() { return ['label', 'disabled', 'animated', 'paused', 'color', 'accent', 'text', 'fill']; }
|
|
11
|
+
notify(type, detail) {
|
|
12
|
+
if (type === 'action')
|
|
13
|
+
this.emit('action', detail);
|
|
14
|
+
else
|
|
15
|
+
this.emit('change', detail);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
return FluidType;
|
|
19
|
+
}, { id: 'matter', text: matter.css });
|
|
20
|
+
moName.defineMoName(tag, ctor);
|
|
21
|
+
return ctor;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
exports.defineFluidType = defineFluidType;
|
|
25
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.7.0/dist/widgets/fluid-type.cjs.map
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { f as defineElement } from '../chunks/base-SPDwWyB1.js';
|
|
2
|
+
import { d as defineMoName } from '../chunks/mo-name-DT5wwaGR.js';
|
|
3
|
+
import { c as css, m as matterClass } from '../chunks/matter-s1ApmJnh.js';
|
|
4
|
+
|
|
5
|
+
function defineFluidType(tag = 'usa-fluid-type') {
|
|
6
|
+
const ctor = defineElement(tag, Base => {
|
|
7
|
+
class FluidType extends matterClass(Base, 'fluid') {
|
|
8
|
+
static get observedAttributes() { return ['label', 'disabled', 'animated', 'paused', 'color', 'accent', 'text', 'fill']; }
|
|
9
|
+
notify(type, detail) {
|
|
10
|
+
if (type === 'action')
|
|
11
|
+
this.emit('action', detail);
|
|
12
|
+
else
|
|
13
|
+
this.emit('change', detail);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
return FluidType;
|
|
17
|
+
}, { id: 'matter', text: css });
|
|
18
|
+
defineMoName(tag, ctor);
|
|
19
|
+
return ctor;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export { defineFluidType };
|
|
23
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.7.0/dist/widgets/fluid-type.js.map
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var base = require('../chunks/base-DzZEJhQB.cjs');
|
|
4
|
+
var moName = require('../chunks/mo-name-DR9ysd5S.cjs');
|
|
5
|
+
var formCraft = require('../chunks/form-craft-i3CaepYO.cjs');
|
|
6
|
+
|
|
7
|
+
/** Validated steps around original light-DOM fields. Completion emits an event; the application owns submission. */
|
|
8
|
+
function defineFormStepper(tag = 'usa-form-stepper') {
|
|
9
|
+
const ctor = base.defineElement(tag, Base => class FormStepper extends Base {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
this._index = 0;
|
|
13
|
+
this._count = 0;
|
|
14
|
+
this._reflecting = false;
|
|
15
|
+
}
|
|
16
|
+
static get observedAttributes() { return ['label', 'hint', 'step', 'disabled', 'back-label', 'next-label', 'complete-label']; }
|
|
17
|
+
get step() { return this._index; }
|
|
18
|
+
set step(index) { if (this._go)
|
|
19
|
+
this.goTo(index);
|
|
20
|
+
else
|
|
21
|
+
this.setAttribute('step', String(index)); }
|
|
22
|
+
get count() { return this._count; }
|
|
23
|
+
goTo(index) { return this._go?.(index, true) ?? false; }
|
|
24
|
+
back() { return this.goTo(this.step - 1); }
|
|
25
|
+
next() { return this.goTo(this.step + 1); }
|
|
26
|
+
reset() { this._reset?.(); }
|
|
27
|
+
refresh() { this._refresh?.(); }
|
|
28
|
+
changed(name) { if (this._reflecting)
|
|
29
|
+
return; if (name === 'step')
|
|
30
|
+
this._go?.(this.num('step', 0));
|
|
31
|
+
else
|
|
32
|
+
this._sync?.(); }
|
|
33
|
+
mount() {
|
|
34
|
+
this.classList.add('usa-form-flow');
|
|
35
|
+
this.onCleanup(() => this.classList.remove('usa-form-flow'));
|
|
36
|
+
const { root, title, hint } = formCraft.formShell(this, 'One step at a time'), nav = formCraft.node('ol', 'usa-form-step-nav'), status = formCraft.node('div', 'usa-form-hint'), meter = formCraft.node('div', 'usa-form-meter'), fill = formCraft.node('i'), actions = formCraft.node('div', 'usa-form-row usa-form-step-actions'), back = formCraft.node('button'), next = formCraft.node('button');
|
|
37
|
+
status.setAttribute('role', 'status');
|
|
38
|
+
nav.setAttribute('aria-label', 'Form steps');
|
|
39
|
+
meter.setAttribute('aria-hidden', 'true');
|
|
40
|
+
meter.append(fill);
|
|
41
|
+
root.append(nav, meter, hint);
|
|
42
|
+
back.type = next.type = 'button';
|
|
43
|
+
next.dataset.primary = '';
|
|
44
|
+
actions.append(back, next);
|
|
45
|
+
this.append(status, actions);
|
|
46
|
+
let panels = [], buttons = [], checking = false, invalidPending = false, invalidTimer;
|
|
47
|
+
const saved = new Map(), animate = formCraft.formMotion(this);
|
|
48
|
+
const reflect = () => { this._reflecting = true; this.setAttribute('step', String(this._index)); this._reflecting = false; };
|
|
49
|
+
const sync = () => {
|
|
50
|
+
title.textContent = this.str('label', 'One step at a time');
|
|
51
|
+
hint.textContent = this.str('hint');
|
|
52
|
+
panels.forEach((panel, i) => { panel.hidden = i !== this.step; });
|
|
53
|
+
buttons.forEach((button, i) => { button.disabled = this.flag('disabled'); if (i === this.step)
|
|
54
|
+
button.setAttribute('aria-current', 'step');
|
|
55
|
+
else
|
|
56
|
+
button.removeAttribute('aria-current'); });
|
|
57
|
+
back.textContent = this.str('back-label', 'Back');
|
|
58
|
+
next.textContent = this.step === panels.length - 1 ? this.str('complete-label', 'Complete') : this.str('next-label', 'Continue');
|
|
59
|
+
back.disabled = this.flag('disabled') || this.step <= 0;
|
|
60
|
+
next.disabled = this.flag('disabled') || !panels.length;
|
|
61
|
+
status.textContent = panels.length ? `Step ${this.step + 1} of ${panels.length}` : 'Add a section with data-form-step to begin.';
|
|
62
|
+
meter.style.setProperty('--progress', panels.length ? ((this.step + 1) / panels.length * 100) + '%' : '0%');
|
|
63
|
+
};
|
|
64
|
+
const focusPanel = () => { const panel = panels[this.step]; if (!panel)
|
|
65
|
+
return; const field = panel.querySelector('input:not([type=hidden]):not(:disabled),textarea:not(:disabled),select:not(:disabled),button:not(:disabled),a[href]'); if (field)
|
|
66
|
+
field.focus();
|
|
67
|
+
else {
|
|
68
|
+
panel.tabIndex = -1;
|
|
69
|
+
panel.focus();
|
|
70
|
+
} };
|
|
71
|
+
const show = (index, focus = false) => { const previous = this.step; this._index = index; reflect(); sync(); if (index !== previous) {
|
|
72
|
+
animate(panels[index]);
|
|
73
|
+
this.emit('step-change', { step: index, previous, count: panels.length });
|
|
74
|
+
} if (focus)
|
|
75
|
+
focusPanel(); };
|
|
76
|
+
const valid = (index) => {
|
|
77
|
+
const fields = Array.from(panels[index]?.querySelectorAll('input,textarea,select') ?? []);
|
|
78
|
+
checking = true;
|
|
79
|
+
const bad = fields.find(field => field.willValidate && !field.checkValidity());
|
|
80
|
+
checking = false;
|
|
81
|
+
if (!bad)
|
|
82
|
+
return true;
|
|
83
|
+
show(index);
|
|
84
|
+
bad.focus();
|
|
85
|
+
checking = true;
|
|
86
|
+
bad.reportValidity();
|
|
87
|
+
checking = false;
|
|
88
|
+
this.emit('invalid', { step: index });
|
|
89
|
+
return false;
|
|
90
|
+
};
|
|
91
|
+
this._reset = () => { if (panels.length)
|
|
92
|
+
show(0); };
|
|
93
|
+
this._go = (value, focus = false) => {
|
|
94
|
+
if (!panels.length || this.flag('disabled')) {
|
|
95
|
+
reflect();
|
|
96
|
+
return false;
|
|
97
|
+
}
|
|
98
|
+
const index = Math.round(formCraft.numberValue(value, this.step, 0, panels.length - 1));
|
|
99
|
+
if (index > this.step)
|
|
100
|
+
for (let i = this.step; i < index; i++)
|
|
101
|
+
if (!valid(i))
|
|
102
|
+
return false;
|
|
103
|
+
show(index, focus);
|
|
104
|
+
return true;
|
|
105
|
+
};
|
|
106
|
+
const refresh = () => {
|
|
107
|
+
panels = Array.from(this.children).filter((el) => el instanceof HTMLElement && el.hasAttribute('data-form-step'));
|
|
108
|
+
for (const [panel, state] of saved)
|
|
109
|
+
if (!panels.includes(panel)) {
|
|
110
|
+
panel.hidden = state.hidden;
|
|
111
|
+
if (state.tabindex === null)
|
|
112
|
+
panel.removeAttribute('tabindex');
|
|
113
|
+
else
|
|
114
|
+
panel.setAttribute('tabindex', state.tabindex);
|
|
115
|
+
if (!state.panelClass)
|
|
116
|
+
panel.classList.remove('usa-form-panel');
|
|
117
|
+
saved.delete(panel);
|
|
118
|
+
}
|
|
119
|
+
panels.forEach(panel => { if (!saved.has(panel))
|
|
120
|
+
saved.set(panel, { hidden: panel.hidden, tabindex: panel.getAttribute('tabindex'), panelClass: panel.classList.contains('usa-form-panel') }); panel.classList.add('usa-form-panel'); });
|
|
121
|
+
this._count = panels.length;
|
|
122
|
+
nav.replaceChildren();
|
|
123
|
+
buttons = panels.map((panel, i) => { const item = formCraft.node('li'), button = formCraft.node('button', '', panel.getAttribute('data-step-title') || 'Step ' + (i + 1)); button.type = 'button'; button.dataset.step = String(i); item.append(button); nav.append(item); return button; });
|
|
124
|
+
this._index = Math.round(formCraft.numberValue(this.step, 0, 0, Math.max(0, panels.length - 1)));
|
|
125
|
+
reflect();
|
|
126
|
+
sync();
|
|
127
|
+
};
|
|
128
|
+
this._refresh = refresh;
|
|
129
|
+
this._sync = sync;
|
|
130
|
+
this.listen(nav, 'click', (event) => { const button = event.target.closest('button[data-step]'); if (button && nav.contains(button))
|
|
131
|
+
this.goTo(Number(button.dataset.step)); });
|
|
132
|
+
this.listen(back, 'click', () => this.back());
|
|
133
|
+
this.listen(next, 'click', () => { if (this.step < panels.length - 1)
|
|
134
|
+
this.next();
|
|
135
|
+
else {
|
|
136
|
+
for (let i = 0; i < panels.length; i++)
|
|
137
|
+
if (!valid(i))
|
|
138
|
+
return;
|
|
139
|
+
this.emit('complete', { step: this.step, count: panels.length });
|
|
140
|
+
} });
|
|
141
|
+
// Direct native form submission can discover an invalid control in a hidden
|
|
142
|
+
// step. Reveal the first such step before the browser tries to focus it.
|
|
143
|
+
this.listen(this, 'invalid', (event) => { if (checking || invalidPending)
|
|
144
|
+
return; const index = panels.findIndex(panel => panel.contains(event.target)); if (index < 0)
|
|
145
|
+
return; invalidPending = true; show(index); invalidTimer = setTimeout(() => { invalidPending = false; }, 0); }, { capture: true });
|
|
146
|
+
formCraft.formReset(this, () => this.reset());
|
|
147
|
+
this.onCleanup(() => { clearTimeout(invalidTimer); status.remove(); actions.remove(); for (const [panel, state] of saved) {
|
|
148
|
+
panel.hidden = state.hidden;
|
|
149
|
+
if (state.tabindex === null)
|
|
150
|
+
panel.removeAttribute('tabindex');
|
|
151
|
+
else
|
|
152
|
+
panel.setAttribute('tabindex', state.tabindex);
|
|
153
|
+
if (!state.panelClass)
|
|
154
|
+
panel.classList.remove('usa-form-panel');
|
|
155
|
+
} this._go = this._sync = this._refresh = this._reset = undefined; });
|
|
156
|
+
const requested = this.num('step', 0);
|
|
157
|
+
this._index = 0;
|
|
158
|
+
refresh();
|
|
159
|
+
this._go(requested);
|
|
160
|
+
}
|
|
161
|
+
}, { id: 'form-craft', text: formCraft.css });
|
|
162
|
+
moName.defineMoName(tag, ctor);
|
|
163
|
+
return ctor;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
exports.defineFormStepper = defineFormStepper;
|
|
167
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.7.0/dist/widgets/form-stepper.cjs.map
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
import { f as defineElement } from '../chunks/base-SPDwWyB1.js';
|
|
2
|
+
import { d as defineMoName } from '../chunks/mo-name-DT5wwaGR.js';
|
|
3
|
+
import { c as css, f as formShell, n as node, a as formMotion, d as numberValue, b as formReset } from '../chunks/form-craft-CGsmJjVw.js';
|
|
4
|
+
|
|
5
|
+
/** Validated steps around original light-DOM fields. Completion emits an event; the application owns submission. */
|
|
6
|
+
function defineFormStepper(tag = 'usa-form-stepper') {
|
|
7
|
+
const ctor = defineElement(tag, Base => class FormStepper extends Base {
|
|
8
|
+
constructor() {
|
|
9
|
+
super(...arguments);
|
|
10
|
+
this._index = 0;
|
|
11
|
+
this._count = 0;
|
|
12
|
+
this._reflecting = false;
|
|
13
|
+
}
|
|
14
|
+
static get observedAttributes() { return ['label', 'hint', 'step', 'disabled', 'back-label', 'next-label', 'complete-label']; }
|
|
15
|
+
get step() { return this._index; }
|
|
16
|
+
set step(index) { if (this._go)
|
|
17
|
+
this.goTo(index);
|
|
18
|
+
else
|
|
19
|
+
this.setAttribute('step', String(index)); }
|
|
20
|
+
get count() { return this._count; }
|
|
21
|
+
goTo(index) { return this._go?.(index, true) ?? false; }
|
|
22
|
+
back() { return this.goTo(this.step - 1); }
|
|
23
|
+
next() { return this.goTo(this.step + 1); }
|
|
24
|
+
reset() { this._reset?.(); }
|
|
25
|
+
refresh() { this._refresh?.(); }
|
|
26
|
+
changed(name) { if (this._reflecting)
|
|
27
|
+
return; if (name === 'step')
|
|
28
|
+
this._go?.(this.num('step', 0));
|
|
29
|
+
else
|
|
30
|
+
this._sync?.(); }
|
|
31
|
+
mount() {
|
|
32
|
+
this.classList.add('usa-form-flow');
|
|
33
|
+
this.onCleanup(() => this.classList.remove('usa-form-flow'));
|
|
34
|
+
const { root, title, hint } = formShell(this, 'One step at a time'), nav = node('ol', 'usa-form-step-nav'), status = node('div', 'usa-form-hint'), meter = node('div', 'usa-form-meter'), fill = node('i'), actions = node('div', 'usa-form-row usa-form-step-actions'), back = node('button'), next = node('button');
|
|
35
|
+
status.setAttribute('role', 'status');
|
|
36
|
+
nav.setAttribute('aria-label', 'Form steps');
|
|
37
|
+
meter.setAttribute('aria-hidden', 'true');
|
|
38
|
+
meter.append(fill);
|
|
39
|
+
root.append(nav, meter, hint);
|
|
40
|
+
back.type = next.type = 'button';
|
|
41
|
+
next.dataset.primary = '';
|
|
42
|
+
actions.append(back, next);
|
|
43
|
+
this.append(status, actions);
|
|
44
|
+
let panels = [], buttons = [], checking = false, invalidPending = false, invalidTimer;
|
|
45
|
+
const saved = new Map(), animate = formMotion(this);
|
|
46
|
+
const reflect = () => { this._reflecting = true; this.setAttribute('step', String(this._index)); this._reflecting = false; };
|
|
47
|
+
const sync = () => {
|
|
48
|
+
title.textContent = this.str('label', 'One step at a time');
|
|
49
|
+
hint.textContent = this.str('hint');
|
|
50
|
+
panels.forEach((panel, i) => { panel.hidden = i !== this.step; });
|
|
51
|
+
buttons.forEach((button, i) => { button.disabled = this.flag('disabled'); if (i === this.step)
|
|
52
|
+
button.setAttribute('aria-current', 'step');
|
|
53
|
+
else
|
|
54
|
+
button.removeAttribute('aria-current'); });
|
|
55
|
+
back.textContent = this.str('back-label', 'Back');
|
|
56
|
+
next.textContent = this.step === panels.length - 1 ? this.str('complete-label', 'Complete') : this.str('next-label', 'Continue');
|
|
57
|
+
back.disabled = this.flag('disabled') || this.step <= 0;
|
|
58
|
+
next.disabled = this.flag('disabled') || !panels.length;
|
|
59
|
+
status.textContent = panels.length ? `Step ${this.step + 1} of ${panels.length}` : 'Add a section with data-form-step to begin.';
|
|
60
|
+
meter.style.setProperty('--progress', panels.length ? ((this.step + 1) / panels.length * 100) + '%' : '0%');
|
|
61
|
+
};
|
|
62
|
+
const focusPanel = () => { const panel = panels[this.step]; if (!panel)
|
|
63
|
+
return; const field = panel.querySelector('input:not([type=hidden]):not(:disabled),textarea:not(:disabled),select:not(:disabled),button:not(:disabled),a[href]'); if (field)
|
|
64
|
+
field.focus();
|
|
65
|
+
else {
|
|
66
|
+
panel.tabIndex = -1;
|
|
67
|
+
panel.focus();
|
|
68
|
+
} };
|
|
69
|
+
const show = (index, focus = false) => { const previous = this.step; this._index = index; reflect(); sync(); if (index !== previous) {
|
|
70
|
+
animate(panels[index]);
|
|
71
|
+
this.emit('step-change', { step: index, previous, count: panels.length });
|
|
72
|
+
} if (focus)
|
|
73
|
+
focusPanel(); };
|
|
74
|
+
const valid = (index) => {
|
|
75
|
+
const fields = Array.from(panels[index]?.querySelectorAll('input,textarea,select') ?? []);
|
|
76
|
+
checking = true;
|
|
77
|
+
const bad = fields.find(field => field.willValidate && !field.checkValidity());
|
|
78
|
+
checking = false;
|
|
79
|
+
if (!bad)
|
|
80
|
+
return true;
|
|
81
|
+
show(index);
|
|
82
|
+
bad.focus();
|
|
83
|
+
checking = true;
|
|
84
|
+
bad.reportValidity();
|
|
85
|
+
checking = false;
|
|
86
|
+
this.emit('invalid', { step: index });
|
|
87
|
+
return false;
|
|
88
|
+
};
|
|
89
|
+
this._reset = () => { if (panels.length)
|
|
90
|
+
show(0); };
|
|
91
|
+
this._go = (value, focus = false) => {
|
|
92
|
+
if (!panels.length || this.flag('disabled')) {
|
|
93
|
+
reflect();
|
|
94
|
+
return false;
|
|
95
|
+
}
|
|
96
|
+
const index = Math.round(numberValue(value, this.step, 0, panels.length - 1));
|
|
97
|
+
if (index > this.step)
|
|
98
|
+
for (let i = this.step; i < index; i++)
|
|
99
|
+
if (!valid(i))
|
|
100
|
+
return false;
|
|
101
|
+
show(index, focus);
|
|
102
|
+
return true;
|
|
103
|
+
};
|
|
104
|
+
const refresh = () => {
|
|
105
|
+
panels = Array.from(this.children).filter((el) => el instanceof HTMLElement && el.hasAttribute('data-form-step'));
|
|
106
|
+
for (const [panel, state] of saved)
|
|
107
|
+
if (!panels.includes(panel)) {
|
|
108
|
+
panel.hidden = state.hidden;
|
|
109
|
+
if (state.tabindex === null)
|
|
110
|
+
panel.removeAttribute('tabindex');
|
|
111
|
+
else
|
|
112
|
+
panel.setAttribute('tabindex', state.tabindex);
|
|
113
|
+
if (!state.panelClass)
|
|
114
|
+
panel.classList.remove('usa-form-panel');
|
|
115
|
+
saved.delete(panel);
|
|
116
|
+
}
|
|
117
|
+
panels.forEach(panel => { if (!saved.has(panel))
|
|
118
|
+
saved.set(panel, { hidden: panel.hidden, tabindex: panel.getAttribute('tabindex'), panelClass: panel.classList.contains('usa-form-panel') }); panel.classList.add('usa-form-panel'); });
|
|
119
|
+
this._count = panels.length;
|
|
120
|
+
nav.replaceChildren();
|
|
121
|
+
buttons = panels.map((panel, i) => { const item = node('li'), button = node('button', '', panel.getAttribute('data-step-title') || 'Step ' + (i + 1)); button.type = 'button'; button.dataset.step = String(i); item.append(button); nav.append(item); return button; });
|
|
122
|
+
this._index = Math.round(numberValue(this.step, 0, 0, Math.max(0, panels.length - 1)));
|
|
123
|
+
reflect();
|
|
124
|
+
sync();
|
|
125
|
+
};
|
|
126
|
+
this._refresh = refresh;
|
|
127
|
+
this._sync = sync;
|
|
128
|
+
this.listen(nav, 'click', (event) => { const button = event.target.closest('button[data-step]'); if (button && nav.contains(button))
|
|
129
|
+
this.goTo(Number(button.dataset.step)); });
|
|
130
|
+
this.listen(back, 'click', () => this.back());
|
|
131
|
+
this.listen(next, 'click', () => { if (this.step < panels.length - 1)
|
|
132
|
+
this.next();
|
|
133
|
+
else {
|
|
134
|
+
for (let i = 0; i < panels.length; i++)
|
|
135
|
+
if (!valid(i))
|
|
136
|
+
return;
|
|
137
|
+
this.emit('complete', { step: this.step, count: panels.length });
|
|
138
|
+
} });
|
|
139
|
+
// Direct native form submission can discover an invalid control in a hidden
|
|
140
|
+
// step. Reveal the first such step before the browser tries to focus it.
|
|
141
|
+
this.listen(this, 'invalid', (event) => { if (checking || invalidPending)
|
|
142
|
+
return; const index = panels.findIndex(panel => panel.contains(event.target)); if (index < 0)
|
|
143
|
+
return; invalidPending = true; show(index); invalidTimer = setTimeout(() => { invalidPending = false; }, 0); }, { capture: true });
|
|
144
|
+
formReset(this, () => this.reset());
|
|
145
|
+
this.onCleanup(() => { clearTimeout(invalidTimer); status.remove(); actions.remove(); for (const [panel, state] of saved) {
|
|
146
|
+
panel.hidden = state.hidden;
|
|
147
|
+
if (state.tabindex === null)
|
|
148
|
+
panel.removeAttribute('tabindex');
|
|
149
|
+
else
|
|
150
|
+
panel.setAttribute('tabindex', state.tabindex);
|
|
151
|
+
if (!state.panelClass)
|
|
152
|
+
panel.classList.remove('usa-form-panel');
|
|
153
|
+
} this._go = this._sync = this._refresh = this._reset = undefined; });
|
|
154
|
+
const requested = this.num('step', 0);
|
|
155
|
+
this._index = 0;
|
|
156
|
+
refresh();
|
|
157
|
+
this._go(requested);
|
|
158
|
+
}
|
|
159
|
+
}, { id: 'form-craft', text: css });
|
|
160
|
+
defineMoName(tag, ctor);
|
|
161
|
+
return ctor;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
export { defineFormStepper };
|
|
165
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.7.0/dist/widgets/form-stepper.js.map
|
|
@@ -174,4 +174,4 @@ function defineFullscreenMenu(tag = 'usa-fullscreen-menu') {
|
|
|
174
174
|
}
|
|
175
175
|
|
|
176
176
|
exports.defineFullscreenMenu = defineFullscreenMenu;
|
|
177
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
177
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.7.0/dist/widgets/fullscreen-menu.cjs.map
|