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
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { f as defineElement } from '../chunks/base-SPDwWyB1.js';
|
|
2
|
+
import { d as defineMoName } from '../chunks/mo-name-DT5wwaGR.js';
|
|
3
|
+
import { f as finite } from '../chunks/engine-CUOpaIK4.js';
|
|
4
|
+
import { c as css, s as setMatterData } from '../chunks/matter-s1ApmJnh.js';
|
|
5
|
+
|
|
6
|
+
function defineScrubNumber(tag = 'usa-scrub-number') {
|
|
7
|
+
const ctor = defineElement(tag, Base => {
|
|
8
|
+
class ScrubNumber extends Base {
|
|
9
|
+
static get observedAttributes() { return ['label', 'value', 'min', 'max', 'step', 'unit', 'disabled']; }
|
|
10
|
+
bounds() { const a = finite(this.num('min', 0), 0, -1e12, 1e12), b = finite(this.num('max', 100), 100, -1e12, 1e12); return [Math.min(a, b), Math.max(a, b)]; }
|
|
11
|
+
get value() { const [min, max] = this.bounds(); return finite(this.num('value', 50), 50, min, max); }
|
|
12
|
+
set value(v) { const [min, max] = this.bounds(), step = finite(this.num('step', 1), 1, .000001, 1e6); this.setAttribute('value', String(Number(finite(min + Math.round((finite(v, min, min, max) - min) / step) * step, min, min, max).toFixed(10)))); }
|
|
13
|
+
stepUp(amount = 1) { this.value += finite(amount, 1, -1e6, 1e6) * finite(this.num('step', 1), 1, .000001, 1e6); }
|
|
14
|
+
stepDown(amount = 1) { this.stepUp(-amount); }
|
|
15
|
+
reset() { this.value = this._initial ?? 50; }
|
|
16
|
+
update(data) { setMatterData(this, data); }
|
|
17
|
+
changed() { if (this.flag('disabled'))
|
|
18
|
+
this._end?.(); this._sync?.(); }
|
|
19
|
+
mount() {
|
|
20
|
+
this._initial ?? (this._initial = this.value);
|
|
21
|
+
this.classList.add('usa-matter');
|
|
22
|
+
this.setAttribute('role', 'group');
|
|
23
|
+
const root = document.createElement('div');
|
|
24
|
+
root.className = 'usa-matter-tool';
|
|
25
|
+
const row = document.createElement('div');
|
|
26
|
+
row.className = 'usa-scrub';
|
|
27
|
+
const handle = document.createElement('button');
|
|
28
|
+
handle.type = 'button';
|
|
29
|
+
handle.textContent = '↔';
|
|
30
|
+
handle.setAttribute('aria-label', 'Drag horizontally to adjust');
|
|
31
|
+
const input = document.createElement('input');
|
|
32
|
+
input.type = 'number';
|
|
33
|
+
const unit = document.createElement('span');
|
|
34
|
+
unit.className = 'usa-matter-unit';
|
|
35
|
+
row.append(handle, input, unit);
|
|
36
|
+
const hint = document.createElement('div');
|
|
37
|
+
hint.className = 'usa-hold-status';
|
|
38
|
+
hint.textContent = 'Drag ↔ · Shift for precision · arrows / Page Up / Page Down';
|
|
39
|
+
root.append(row, hint);
|
|
40
|
+
this.prepend(root);
|
|
41
|
+
let start, editing = false;
|
|
42
|
+
const emitInput = () => this.emit('input', { value: this.value });
|
|
43
|
+
const emitChange = () => this.emit('change', { value: this.value });
|
|
44
|
+
const end = () => { const s = start; start = undefined; if (s) {
|
|
45
|
+
try {
|
|
46
|
+
if (handle.hasPointerCapture?.(s.pointer))
|
|
47
|
+
handle.releasePointerCapture(s.pointer);
|
|
48
|
+
}
|
|
49
|
+
catch { /* already cancelled */ }
|
|
50
|
+
if (s.moved)
|
|
51
|
+
emitChange();
|
|
52
|
+
} };
|
|
53
|
+
this._end = end;
|
|
54
|
+
const sync = () => { const label = this.str('label', 'Value'), [min, max] = this.bounds(); this.setAttribute('aria-label', label); input.setAttribute('aria-label', label); if (!editing)
|
|
55
|
+
input.value = String(this.value); input.min = String(min); input.max = String(max); input.step = String(finite(this.num('step', 1), 1, .000001, 1e6)); input.disabled = handle.disabled = this.flag('disabled'); unit.textContent = this.str('unit'); };
|
|
56
|
+
this._sync = sync;
|
|
57
|
+
this.listen(input, 'input', () => { if (!this.flag('disabled') && Number.isFinite(input.valueAsNumber)) {
|
|
58
|
+
editing = true;
|
|
59
|
+
try {
|
|
60
|
+
this.value = input.valueAsNumber;
|
|
61
|
+
}
|
|
62
|
+
finally {
|
|
63
|
+
editing = false;
|
|
64
|
+
}
|
|
65
|
+
emitInput();
|
|
66
|
+
} });
|
|
67
|
+
this.listen(input, 'change', () => { sync(); emitChange(); });
|
|
68
|
+
this.listen(input, 'keydown', (e) => {
|
|
69
|
+
if (this.flag('disabled') || !['ArrowUp', 'ArrowDown', 'PageUp', 'PageDown', 'Home', 'End'].includes(e.key))
|
|
70
|
+
return;
|
|
71
|
+
e.preventDefault();
|
|
72
|
+
if (e.key === 'Home')
|
|
73
|
+
this.value = this.bounds()[0];
|
|
74
|
+
else if (e.key === 'End')
|
|
75
|
+
this.value = this.bounds()[1];
|
|
76
|
+
else
|
|
77
|
+
this.stepUp((e.key === 'ArrowDown' || e.key === 'PageDown' ? -1 : 1) * (e.key.startsWith('Page') ? 10 : 1));
|
|
78
|
+
emitInput();
|
|
79
|
+
emitChange();
|
|
80
|
+
});
|
|
81
|
+
this.listen(handle, 'pointerdown', (e) => { if (start || this.flag('disabled') || e.button !== 0)
|
|
82
|
+
return; start = { x: e.clientX, y: e.clientY, value: this.value, pointer: e.pointerId, touch: e.pointerType === 'touch', moved: false }; if (!start.touch) {
|
|
83
|
+
try {
|
|
84
|
+
handle.setPointerCapture(e.pointerId);
|
|
85
|
+
}
|
|
86
|
+
catch { /* synthetic */ }
|
|
87
|
+
} });
|
|
88
|
+
this.listen(handle, 'pointermove', (e) => {
|
|
89
|
+
if (!start || start.pointer !== e.pointerId || this.flag('disabled'))
|
|
90
|
+
return;
|
|
91
|
+
const dx = e.clientX - start.x, dy = e.clientY - start.y;
|
|
92
|
+
if (start.touch && !start.moved && Math.abs(dy) > Math.abs(dx) + 4) {
|
|
93
|
+
end();
|
|
94
|
+
return;
|
|
95
|
+
}
|
|
96
|
+
if (Math.abs(dx) < 4 && !start.moved)
|
|
97
|
+
return;
|
|
98
|
+
start.moved = true;
|
|
99
|
+
try {
|
|
100
|
+
handle.setPointerCapture(e.pointerId);
|
|
101
|
+
}
|
|
102
|
+
catch { /* synthetic */ }
|
|
103
|
+
const step = finite(this.num('step', 1), 1, .000001, 1e6);
|
|
104
|
+
this.value = start.value + Math.round(dx / (e.shiftKey ? 40 : 8)) * step;
|
|
105
|
+
emitInput();
|
|
106
|
+
});
|
|
107
|
+
for (const type of ['pointerup', 'pointercancel', 'lostpointercapture', 'blur'])
|
|
108
|
+
this.listen(handle, type, (e) => { if (e.pointerId === undefined || start?.pointer === e.pointerId)
|
|
109
|
+
end(); });
|
|
110
|
+
this.listen(document, 'visibilitychange', () => { if (document.hidden)
|
|
111
|
+
end(); });
|
|
112
|
+
this.onCleanup(() => { end(); this._end = this._sync = undefined; root.remove(); });
|
|
113
|
+
sync();
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
return ScrubNumber;
|
|
117
|
+
}, { id: 'matter', text: css });
|
|
118
|
+
defineMoName(tag, ctor);
|
|
119
|
+
return ctor;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
export { defineScrubNumber };
|
|
123
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.7.0/dist/widgets/scrub-number.js.map
|
|
@@ -0,0 +1,136 @@
|
|
|
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
|
+
var formOptions = require('../chunks/form-options-lnCyapKT.cjs');
|
|
7
|
+
|
|
8
|
+
/** Debounced native search with an application-supplied provider, abortable requests and stale-result protection. */
|
|
9
|
+
function defineSearchField(tag = 'usa-search-field') {
|
|
10
|
+
const ctor = base.defineElement(tag, Base => class SearchField extends Base {
|
|
11
|
+
constructor() {
|
|
12
|
+
super(...arguments);
|
|
13
|
+
this._results = [];
|
|
14
|
+
}
|
|
15
|
+
static get observedAttributes() { return ['label', 'hint', 'value', 'name', 'placeholder', 'delay', 'min-length', 'disabled', 'loading-text', 'empty-text', 'error-text']; }
|
|
16
|
+
get input() { return this.querySelector('input'); }
|
|
17
|
+
get value() { return this.str('value'); }
|
|
18
|
+
set value(value) { this.cancel(); this.setAttribute('value', String(value)); this._sync?.(); }
|
|
19
|
+
get provider() { return this._provider; }
|
|
20
|
+
set provider(value) { this.cancel(); this._provider = typeof value === 'function' ? value : undefined; }
|
|
21
|
+
get results() { return this._results.map(row => ({ ...row })); }
|
|
22
|
+
search(query = this.value) { this.value = query; this._run?.(query); }
|
|
23
|
+
clear() { this.cancel(); this.value = ''; this.input?.focus(); this.emit('input', { value: '' }); }
|
|
24
|
+
cancel() { this._cancel?.(); }
|
|
25
|
+
reset() { this.cancel(); this.value = this._initial ?? ''; }
|
|
26
|
+
changed(name) { if (name === 'disabled' || name === 'value')
|
|
27
|
+
this.cancel(); this._sync?.(); }
|
|
28
|
+
mount() {
|
|
29
|
+
this._initial ?? (this._initial = this.value);
|
|
30
|
+
const { root, title, hint } = formCraft.formShell(this, 'Search'), row = formCraft.node('div', 'usa-form-row'), input = formCraft.node('input'), clear = formCraft.node('button', '', '×'), status = formCraft.node('div', 'usa-form-search-status'), list = formCraft.node('ul', 'usa-form-search-results');
|
|
31
|
+
input.type = 'search';
|
|
32
|
+
input.autocomplete = 'off';
|
|
33
|
+
clear.type = 'button';
|
|
34
|
+
clear.setAttribute('aria-label', 'Clear search');
|
|
35
|
+
list.id = formOptions.choiceId();
|
|
36
|
+
list.setAttribute('aria-label', 'Search results');
|
|
37
|
+
status.setAttribute('role', 'status');
|
|
38
|
+
status.id = formOptions.choiceId();
|
|
39
|
+
input.setAttribute('aria-describedby', status.id);
|
|
40
|
+
input.setAttribute('aria-controls', list.id);
|
|
41
|
+
row.append(input, clear);
|
|
42
|
+
root.append(row, status, list, hint);
|
|
43
|
+
let timer, request, serial = 0, alive = true, composing = false;
|
|
44
|
+
const animate = formCraft.formMotion(this);
|
|
45
|
+
const cancel = () => { clearTimeout(timer); request?.abort(); request = undefined; serial++; this._results = []; list.replaceChildren(); list.hidden = true; root.removeAttribute('aria-busy'); status.textContent = ''; };
|
|
46
|
+
this._cancel = cancel;
|
|
47
|
+
const sync = () => { title.textContent = this.str('label', 'Search'); hint.textContent = this.str('hint'); input.setAttribute('aria-label', title.textContent); input.name = this.str('name'); input.placeholder = this.str('placeholder', 'Search collections'); input.disabled = this.flag('disabled'); clear.disabled = input.disabled || !this.value; if (input.value !== this.value)
|
|
48
|
+
input.value = this.value; };
|
|
49
|
+
this._sync = sync;
|
|
50
|
+
const run = (query) => {
|
|
51
|
+
cancel();
|
|
52
|
+
if (this.flag('disabled') || query.trim().length < formCraft.numberValue(this.num('min-length', 1), 1, 0, 1000))
|
|
53
|
+
return;
|
|
54
|
+
const id = serial, controller = new AbortController();
|
|
55
|
+
request = controller;
|
|
56
|
+
this.emit('query', { query, signal: controller.signal });
|
|
57
|
+
if (!alive || id !== serial || controller.signal.aborted || this.flag('disabled') || !this._provider)
|
|
58
|
+
return;
|
|
59
|
+
root.setAttribute('aria-busy', 'true');
|
|
60
|
+
status.textContent = this.str('loading-text', 'Searching…');
|
|
61
|
+
Promise.resolve().then(() => { if (controller.signal.aborted)
|
|
62
|
+
return []; return this._provider?.(query, { signal: controller.signal }) ?? []; }).then(rows => {
|
|
63
|
+
if (!alive || id !== serial || controller.signal.aborted)
|
|
64
|
+
return;
|
|
65
|
+
this._results = Array.isArray(rows) ? rows.slice(0, 50).filter(r => r && typeof r.value === 'string' && typeof r.label === 'string').map(r => ({ value: r.value, label: r.label, ...(typeof r.description === 'string' ? { description: r.description } : {}) })) : [];
|
|
66
|
+
root.removeAttribute('aria-busy');
|
|
67
|
+
list.replaceChildren();
|
|
68
|
+
for (const result of this._results) {
|
|
69
|
+
const item = formCraft.node('li'), button = formCraft.node('button');
|
|
70
|
+
button.type = 'button';
|
|
71
|
+
button.dataset.value = result.value;
|
|
72
|
+
button.append(formCraft.node('span', '', result.label));
|
|
73
|
+
if (result.description)
|
|
74
|
+
button.append(formCraft.node('small', '', result.description));
|
|
75
|
+
item.append(button);
|
|
76
|
+
list.append(item);
|
|
77
|
+
}
|
|
78
|
+
list.hidden = !this._results.length;
|
|
79
|
+
status.textContent = this._results.length ? this._results.length + ' results' : this.str('empty-text', 'No results');
|
|
80
|
+
if (this._results.length)
|
|
81
|
+
animate(list);
|
|
82
|
+
this.emit('results', { query, count: this._results.length });
|
|
83
|
+
}, () => { if (!alive || id !== serial || controller.signal.aborted)
|
|
84
|
+
return; root.removeAttribute('aria-busy'); status.textContent = this.str('error-text', 'Search unavailable. Try again.'); this.emit('error', { query }); });
|
|
85
|
+
};
|
|
86
|
+
this._run = run;
|
|
87
|
+
const schedule = () => { const query = input.value; this.value = query; this.emit('input', { value: query }); if (!composing)
|
|
88
|
+
timer = setTimeout(() => run(query), formCraft.numberValue(this.num('delay', 200), 200, 0, 3000)); };
|
|
89
|
+
this.listen(input, 'compositionstart', () => { composing = true; cancel(); });
|
|
90
|
+
this.listen(input, 'compositionend', () => { composing = false; schedule(); });
|
|
91
|
+
this.listen(input, 'input', schedule);
|
|
92
|
+
this.listen(clear, 'click', () => this.clear());
|
|
93
|
+
this.listen(input, 'keydown', (event) => { if (event.isComposing)
|
|
94
|
+
return; if (event.key === 'Enter') {
|
|
95
|
+
event.preventDefault();
|
|
96
|
+
this.search();
|
|
97
|
+
}
|
|
98
|
+
else if (event.key === 'Escape') {
|
|
99
|
+
event.preventDefault();
|
|
100
|
+
this.cancel();
|
|
101
|
+
}
|
|
102
|
+
else if (event.key === 'ArrowDown' && !list.hidden) {
|
|
103
|
+
event.preventDefault();
|
|
104
|
+
list.querySelector('button')?.focus();
|
|
105
|
+
} });
|
|
106
|
+
this.listen(list, 'click', (event) => { const button = event.target.closest('button[data-value]'); if (!button || !list.contains(button))
|
|
107
|
+
return; const result = this._results.find(r => r.value === button.dataset.value); if (result) {
|
|
108
|
+
this.value = result.label;
|
|
109
|
+
input.focus();
|
|
110
|
+
this.emit('select', { ...result });
|
|
111
|
+
} });
|
|
112
|
+
this.listen(list, 'keydown', (event) => { const buttons = Array.from(list.querySelectorAll('button')), current = buttons.indexOf(event.target); if (event.key === 'Escape') {
|
|
113
|
+
event.preventDefault();
|
|
114
|
+
this.cancel();
|
|
115
|
+
input.focus();
|
|
116
|
+
}
|
|
117
|
+
else if (['ArrowDown', 'ArrowUp', 'Home', 'End'].includes(event.key)) {
|
|
118
|
+
event.preventDefault();
|
|
119
|
+
const index = event.key === 'Home' ? 0 : event.key === 'End' ? buttons.length - 1 : current + (event.key === 'ArrowDown' ? 1 : -1);
|
|
120
|
+
if (index < 0)
|
|
121
|
+
input.focus();
|
|
122
|
+
else
|
|
123
|
+
buttons[Math.min(index, buttons.length - 1)]?.focus();
|
|
124
|
+
} });
|
|
125
|
+
formCraft.formReset(this, () => this.reset());
|
|
126
|
+
this.onCleanup(() => { alive = false; cancel(); this._sync = this._run = this._cancel = undefined; });
|
|
127
|
+
sync();
|
|
128
|
+
cancel();
|
|
129
|
+
}
|
|
130
|
+
}, { id: 'form-craft', text: formCraft.css });
|
|
131
|
+
moName.defineMoName(tag, ctor);
|
|
132
|
+
return ctor;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
exports.defineSearchField = defineSearchField;
|
|
136
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.7.0/dist/widgets/search-field.cjs.map
|
|
@@ -0,0 +1,134 @@
|
|
|
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, b as formReset, d as numberValue } from '../chunks/form-craft-CGsmJjVw.js';
|
|
4
|
+
import { a as choiceId } from '../chunks/form-options-e_FWVRvi.js';
|
|
5
|
+
|
|
6
|
+
/** Debounced native search with an application-supplied provider, abortable requests and stale-result protection. */
|
|
7
|
+
function defineSearchField(tag = 'usa-search-field') {
|
|
8
|
+
const ctor = defineElement(tag, Base => class SearchField extends Base {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(...arguments);
|
|
11
|
+
this._results = [];
|
|
12
|
+
}
|
|
13
|
+
static get observedAttributes() { return ['label', 'hint', 'value', 'name', 'placeholder', 'delay', 'min-length', 'disabled', 'loading-text', 'empty-text', 'error-text']; }
|
|
14
|
+
get input() { return this.querySelector('input'); }
|
|
15
|
+
get value() { return this.str('value'); }
|
|
16
|
+
set value(value) { this.cancel(); this.setAttribute('value', String(value)); this._sync?.(); }
|
|
17
|
+
get provider() { return this._provider; }
|
|
18
|
+
set provider(value) { this.cancel(); this._provider = typeof value === 'function' ? value : undefined; }
|
|
19
|
+
get results() { return this._results.map(row => ({ ...row })); }
|
|
20
|
+
search(query = this.value) { this.value = query; this._run?.(query); }
|
|
21
|
+
clear() { this.cancel(); this.value = ''; this.input?.focus(); this.emit('input', { value: '' }); }
|
|
22
|
+
cancel() { this._cancel?.(); }
|
|
23
|
+
reset() { this.cancel(); this.value = this._initial ?? ''; }
|
|
24
|
+
changed(name) { if (name === 'disabled' || name === 'value')
|
|
25
|
+
this.cancel(); this._sync?.(); }
|
|
26
|
+
mount() {
|
|
27
|
+
this._initial ?? (this._initial = this.value);
|
|
28
|
+
const { root, title, hint } = formShell(this, 'Search'), row = node('div', 'usa-form-row'), input = node('input'), clear = node('button', '', '×'), status = node('div', 'usa-form-search-status'), list = node('ul', 'usa-form-search-results');
|
|
29
|
+
input.type = 'search';
|
|
30
|
+
input.autocomplete = 'off';
|
|
31
|
+
clear.type = 'button';
|
|
32
|
+
clear.setAttribute('aria-label', 'Clear search');
|
|
33
|
+
list.id = choiceId();
|
|
34
|
+
list.setAttribute('aria-label', 'Search results');
|
|
35
|
+
status.setAttribute('role', 'status');
|
|
36
|
+
status.id = choiceId();
|
|
37
|
+
input.setAttribute('aria-describedby', status.id);
|
|
38
|
+
input.setAttribute('aria-controls', list.id);
|
|
39
|
+
row.append(input, clear);
|
|
40
|
+
root.append(row, status, list, hint);
|
|
41
|
+
let timer, request, serial = 0, alive = true, composing = false;
|
|
42
|
+
const animate = formMotion(this);
|
|
43
|
+
const cancel = () => { clearTimeout(timer); request?.abort(); request = undefined; serial++; this._results = []; list.replaceChildren(); list.hidden = true; root.removeAttribute('aria-busy'); status.textContent = ''; };
|
|
44
|
+
this._cancel = cancel;
|
|
45
|
+
const sync = () => { title.textContent = this.str('label', 'Search'); hint.textContent = this.str('hint'); input.setAttribute('aria-label', title.textContent); input.name = this.str('name'); input.placeholder = this.str('placeholder', 'Search collections'); input.disabled = this.flag('disabled'); clear.disabled = input.disabled || !this.value; if (input.value !== this.value)
|
|
46
|
+
input.value = this.value; };
|
|
47
|
+
this._sync = sync;
|
|
48
|
+
const run = (query) => {
|
|
49
|
+
cancel();
|
|
50
|
+
if (this.flag('disabled') || query.trim().length < numberValue(this.num('min-length', 1), 1, 0, 1000))
|
|
51
|
+
return;
|
|
52
|
+
const id = serial, controller = new AbortController();
|
|
53
|
+
request = controller;
|
|
54
|
+
this.emit('query', { query, signal: controller.signal });
|
|
55
|
+
if (!alive || id !== serial || controller.signal.aborted || this.flag('disabled') || !this._provider)
|
|
56
|
+
return;
|
|
57
|
+
root.setAttribute('aria-busy', 'true');
|
|
58
|
+
status.textContent = this.str('loading-text', 'Searching…');
|
|
59
|
+
Promise.resolve().then(() => { if (controller.signal.aborted)
|
|
60
|
+
return []; return this._provider?.(query, { signal: controller.signal }) ?? []; }).then(rows => {
|
|
61
|
+
if (!alive || id !== serial || controller.signal.aborted)
|
|
62
|
+
return;
|
|
63
|
+
this._results = Array.isArray(rows) ? rows.slice(0, 50).filter(r => r && typeof r.value === 'string' && typeof r.label === 'string').map(r => ({ value: r.value, label: r.label, ...(typeof r.description === 'string' ? { description: r.description } : {}) })) : [];
|
|
64
|
+
root.removeAttribute('aria-busy');
|
|
65
|
+
list.replaceChildren();
|
|
66
|
+
for (const result of this._results) {
|
|
67
|
+
const item = node('li'), button = node('button');
|
|
68
|
+
button.type = 'button';
|
|
69
|
+
button.dataset.value = result.value;
|
|
70
|
+
button.append(node('span', '', result.label));
|
|
71
|
+
if (result.description)
|
|
72
|
+
button.append(node('small', '', result.description));
|
|
73
|
+
item.append(button);
|
|
74
|
+
list.append(item);
|
|
75
|
+
}
|
|
76
|
+
list.hidden = !this._results.length;
|
|
77
|
+
status.textContent = this._results.length ? this._results.length + ' results' : this.str('empty-text', 'No results');
|
|
78
|
+
if (this._results.length)
|
|
79
|
+
animate(list);
|
|
80
|
+
this.emit('results', { query, count: this._results.length });
|
|
81
|
+
}, () => { if (!alive || id !== serial || controller.signal.aborted)
|
|
82
|
+
return; root.removeAttribute('aria-busy'); status.textContent = this.str('error-text', 'Search unavailable. Try again.'); this.emit('error', { query }); });
|
|
83
|
+
};
|
|
84
|
+
this._run = run;
|
|
85
|
+
const schedule = () => { const query = input.value; this.value = query; this.emit('input', { value: query }); if (!composing)
|
|
86
|
+
timer = setTimeout(() => run(query), numberValue(this.num('delay', 200), 200, 0, 3000)); };
|
|
87
|
+
this.listen(input, 'compositionstart', () => { composing = true; cancel(); });
|
|
88
|
+
this.listen(input, 'compositionend', () => { composing = false; schedule(); });
|
|
89
|
+
this.listen(input, 'input', schedule);
|
|
90
|
+
this.listen(clear, 'click', () => this.clear());
|
|
91
|
+
this.listen(input, 'keydown', (event) => { if (event.isComposing)
|
|
92
|
+
return; if (event.key === 'Enter') {
|
|
93
|
+
event.preventDefault();
|
|
94
|
+
this.search();
|
|
95
|
+
}
|
|
96
|
+
else if (event.key === 'Escape') {
|
|
97
|
+
event.preventDefault();
|
|
98
|
+
this.cancel();
|
|
99
|
+
}
|
|
100
|
+
else if (event.key === 'ArrowDown' && !list.hidden) {
|
|
101
|
+
event.preventDefault();
|
|
102
|
+
list.querySelector('button')?.focus();
|
|
103
|
+
} });
|
|
104
|
+
this.listen(list, 'click', (event) => { const button = event.target.closest('button[data-value]'); if (!button || !list.contains(button))
|
|
105
|
+
return; const result = this._results.find(r => r.value === button.dataset.value); if (result) {
|
|
106
|
+
this.value = result.label;
|
|
107
|
+
input.focus();
|
|
108
|
+
this.emit('select', { ...result });
|
|
109
|
+
} });
|
|
110
|
+
this.listen(list, 'keydown', (event) => { const buttons = Array.from(list.querySelectorAll('button')), current = buttons.indexOf(event.target); if (event.key === 'Escape') {
|
|
111
|
+
event.preventDefault();
|
|
112
|
+
this.cancel();
|
|
113
|
+
input.focus();
|
|
114
|
+
}
|
|
115
|
+
else if (['ArrowDown', 'ArrowUp', 'Home', 'End'].includes(event.key)) {
|
|
116
|
+
event.preventDefault();
|
|
117
|
+
const index = event.key === 'Home' ? 0 : event.key === 'End' ? buttons.length - 1 : current + (event.key === 'ArrowDown' ? 1 : -1);
|
|
118
|
+
if (index < 0)
|
|
119
|
+
input.focus();
|
|
120
|
+
else
|
|
121
|
+
buttons[Math.min(index, buttons.length - 1)]?.focus();
|
|
122
|
+
} });
|
|
123
|
+
formReset(this, () => this.reset());
|
|
124
|
+
this.onCleanup(() => { alive = false; cancel(); this._sync = this._run = this._cancel = undefined; });
|
|
125
|
+
sync();
|
|
126
|
+
cancel();
|
|
127
|
+
}
|
|
128
|
+
}, { id: 'form-craft', text: css });
|
|
129
|
+
defineMoName(tag, ctor);
|
|
130
|
+
return ctor;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
export { defineSearchField };
|
|
134
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.7.0/dist/widgets/search-field.js.map
|
|
@@ -5,4 +5,4 @@ var widgets_segmented = require('../chunks/segmented-JA4E5-4e.cjs');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
exports.defineSegmented = widgets_segmented.defineSegmented;
|
|
8
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
8
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.7.0/dist/widgets/segmented.cjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { d as defineSegmented } from '../chunks/segmented-C4QWn3G2.js';
|
|
2
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
2
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.7.0/dist/widgets/segmented.js.map
|
|
@@ -0,0 +1,65 @@
|
|
|
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
|
+
var formOptions = require('../chunks/form-options-lnCyapKT.cjs');
|
|
7
|
+
|
|
8
|
+
function defineSelect(tag = 'usa-select') {
|
|
9
|
+
const ctor = base.defineElement(tag, Base => class Select extends Base {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
this._select = null;
|
|
13
|
+
}
|
|
14
|
+
static get observedAttributes() { return ['label', 'hint', 'value', 'options', 'name', 'placeholder', 'required', 'disabled']; }
|
|
15
|
+
get input() { return this._select; }
|
|
16
|
+
get options() { return formOptions.choices(this._options ?? this.str('options', '[]')); }
|
|
17
|
+
set options(value) { this._options = formOptions.choices(value); this._sync?.(true); }
|
|
18
|
+
get value() { return this._select?.value ?? this.str('value'); }
|
|
19
|
+
set value(value) { this.setAttribute('value', String(value)); }
|
|
20
|
+
reset() { this.value = this._initial ?? ''; this._sync?.(); }
|
|
21
|
+
changed(name) { if (name === 'options')
|
|
22
|
+
this._options = undefined; this._sync?.(name === 'options' || name === 'placeholder'); }
|
|
23
|
+
mount() {
|
|
24
|
+
this._initial ?? (this._initial = this.str('value'));
|
|
25
|
+
const { root, title, hint } = formCraft.formShell(this, 'Choose an option'), input = formCraft.node('select');
|
|
26
|
+
root.append(input, hint);
|
|
27
|
+
this._select = input;
|
|
28
|
+
const animate = formCraft.formMotion(this);
|
|
29
|
+
const sync = (rebuild = false) => { if (rebuild) {
|
|
30
|
+
const empty = formCraft.node('option', '', this.str('placeholder', 'Choose an option'));
|
|
31
|
+
empty.value = '';
|
|
32
|
+
input.replaceChildren(empty);
|
|
33
|
+
let group = '';
|
|
34
|
+
let parent = input;
|
|
35
|
+
for (const choice of this.options) {
|
|
36
|
+
if ((choice.group || '') !== group) {
|
|
37
|
+
group = choice.group || '';
|
|
38
|
+
if (group) {
|
|
39
|
+
const g = formCraft.node('optgroup');
|
|
40
|
+
g.label = group;
|
|
41
|
+
input.append(g);
|
|
42
|
+
parent = g;
|
|
43
|
+
}
|
|
44
|
+
else
|
|
45
|
+
parent = input;
|
|
46
|
+
}
|
|
47
|
+
const o = formCraft.node('option', '', choice.label);
|
|
48
|
+
o.value = choice.value;
|
|
49
|
+
o.disabled = !!choice.disabled;
|
|
50
|
+
parent.append(o);
|
|
51
|
+
}
|
|
52
|
+
} title.textContent = this.str('label', 'Choose an option'); hint.textContent = this.str('hint'); input.setAttribute('aria-label', title.textContent); input.name = this.str('name'); input.required = this.flag('required'); input.disabled = this.flag('disabled'); input.value = this.str('value'); };
|
|
53
|
+
this._sync = sync;
|
|
54
|
+
this.listen(input, 'change', () => { this.value = input.value; animate(input); this.emit('change', { value: this.value }); });
|
|
55
|
+
formCraft.formReset(this, () => this.reset());
|
|
56
|
+
this.onCleanup(() => { this._select = null; this._sync = undefined; });
|
|
57
|
+
sync(true);
|
|
58
|
+
}
|
|
59
|
+
}, { id: 'form-craft', text: formCraft.css });
|
|
60
|
+
moName.defineMoName(tag, ctor);
|
|
61
|
+
return ctor;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
exports.defineSelect = defineSelect;
|
|
65
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.7.0/dist/widgets/select.cjs.map
|
|
@@ -0,0 +1,63 @@
|
|
|
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, b as formReset } from '../chunks/form-craft-CGsmJjVw.js';
|
|
4
|
+
import { c as choices } from '../chunks/form-options-e_FWVRvi.js';
|
|
5
|
+
|
|
6
|
+
function defineSelect(tag = 'usa-select') {
|
|
7
|
+
const ctor = defineElement(tag, Base => class Select extends Base {
|
|
8
|
+
constructor() {
|
|
9
|
+
super(...arguments);
|
|
10
|
+
this._select = null;
|
|
11
|
+
}
|
|
12
|
+
static get observedAttributes() { return ['label', 'hint', 'value', 'options', 'name', 'placeholder', 'required', 'disabled']; }
|
|
13
|
+
get input() { return this._select; }
|
|
14
|
+
get options() { return choices(this._options ?? this.str('options', '[]')); }
|
|
15
|
+
set options(value) { this._options = choices(value); this._sync?.(true); }
|
|
16
|
+
get value() { return this._select?.value ?? this.str('value'); }
|
|
17
|
+
set value(value) { this.setAttribute('value', String(value)); }
|
|
18
|
+
reset() { this.value = this._initial ?? ''; this._sync?.(); }
|
|
19
|
+
changed(name) { if (name === 'options')
|
|
20
|
+
this._options = undefined; this._sync?.(name === 'options' || name === 'placeholder'); }
|
|
21
|
+
mount() {
|
|
22
|
+
this._initial ?? (this._initial = this.str('value'));
|
|
23
|
+
const { root, title, hint } = formShell(this, 'Choose an option'), input = node('select');
|
|
24
|
+
root.append(input, hint);
|
|
25
|
+
this._select = input;
|
|
26
|
+
const animate = formMotion(this);
|
|
27
|
+
const sync = (rebuild = false) => { if (rebuild) {
|
|
28
|
+
const empty = node('option', '', this.str('placeholder', 'Choose an option'));
|
|
29
|
+
empty.value = '';
|
|
30
|
+
input.replaceChildren(empty);
|
|
31
|
+
let group = '';
|
|
32
|
+
let parent = input;
|
|
33
|
+
for (const choice of this.options) {
|
|
34
|
+
if ((choice.group || '') !== group) {
|
|
35
|
+
group = choice.group || '';
|
|
36
|
+
if (group) {
|
|
37
|
+
const g = node('optgroup');
|
|
38
|
+
g.label = group;
|
|
39
|
+
input.append(g);
|
|
40
|
+
parent = g;
|
|
41
|
+
}
|
|
42
|
+
else
|
|
43
|
+
parent = input;
|
|
44
|
+
}
|
|
45
|
+
const o = node('option', '', choice.label);
|
|
46
|
+
o.value = choice.value;
|
|
47
|
+
o.disabled = !!choice.disabled;
|
|
48
|
+
parent.append(o);
|
|
49
|
+
}
|
|
50
|
+
} title.textContent = this.str('label', 'Choose an option'); hint.textContent = this.str('hint'); input.setAttribute('aria-label', title.textContent); input.name = this.str('name'); input.required = this.flag('required'); input.disabled = this.flag('disabled'); input.value = this.str('value'); };
|
|
51
|
+
this._sync = sync;
|
|
52
|
+
this.listen(input, 'change', () => { this.value = input.value; animate(input); this.emit('change', { value: this.value }); });
|
|
53
|
+
formReset(this, () => this.reset());
|
|
54
|
+
this.onCleanup(() => { this._select = null; this._sync = undefined; });
|
|
55
|
+
sync(true);
|
|
56
|
+
}
|
|
57
|
+
}, { id: 'form-craft', text: css });
|
|
58
|
+
defineMoName(tag, ctor);
|
|
59
|
+
return ctor;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export { defineSelect };
|
|
63
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.7.0/dist/widgets/select.js.map
|
|
@@ -5,4 +5,4 @@ var widgets_shaderBackdrop = require('../chunks/shader-backdrop-Ct8UIKNL.cjs');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
exports.defineShaderBackdrop = widgets_shaderBackdrop.defineShaderBackdrop;
|
|
8
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
8
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.7.0/dist/widgets/shader-backdrop.cjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { d as defineShaderBackdrop } from '../chunks/shader-backdrop-BjSIcvSf.js';
|
|
2
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
2
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.7.0/dist/widgets/shader-backdrop.js.map
|
package/dist/widgets/sheet.cjs
CHANGED
|
@@ -5,4 +5,4 @@ var widgets_modal = require('../chunks/sheet-BzJEwGbk.cjs');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
exports.defineSheet = widgets_modal.defineSheet;
|
|
8
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
8
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.7.0/dist/widgets/sheet.cjs.map
|
package/dist/widgets/sheet.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { d as defineSheet } from '../chunks/sheet-DZd011Pc.js';
|
|
2
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
2
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.7.0/dist/widgets/sheet.js.map
|
|
@@ -58,4 +58,4 @@ function defineShortcut(tag = 'usa-shortcut') {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
exports.defineShortcut = defineShortcut;
|
|
61
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
61
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.7.0/dist/widgets/shortcut.cjs.map
|
package/dist/widgets/shortcut.js
CHANGED
|
@@ -56,4 +56,4 @@ function defineShortcut(tag = 'usa-shortcut') {
|
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
export { defineShortcut };
|
|
59
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
59
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.7.0/dist/widgets/shortcut.js.map
|
|
@@ -5,4 +5,4 @@ var widgets_skeletonReveal = require('../chunks/skeleton-reveal-04UV72HA.cjs');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
exports.defineSkeletonReveal = widgets_skeletonReveal.defineSkeletonReveal;
|
|
8
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
8
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.7.0/dist/widgets/skeleton-reveal.cjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { d as defineSkeletonReveal } from '../chunks/skeleton-reveal-C1w5G0dG.js';
|
|
2
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
2
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.7.0/dist/widgets/skeleton-reveal.js.map
|
|
@@ -106,4 +106,4 @@ function defineSketchChart(tag = 'usa-sketch-chart') {
|
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
exports.defineSketchChart = defineSketchChart;
|
|
109
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
109
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.7.0/dist/widgets/sketch-chart.cjs.map
|
|
@@ -104,4 +104,4 @@ function defineSketchChart(tag = 'usa-sketch-chart') {
|
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
export { defineSketchChart };
|
|
107
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
107
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.7.0/dist/widgets/sketch-chart.js.map
|