motionary 13.3.0 → 13.5.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.
Files changed (971) hide show
  1. package/CHANGELOG.md +77 -0
  2. package/README.md +10 -7
  3. package/dist/chunks/{anim-image-B68xnlYD.cjs → anim-image-CSVlsA0t.cjs} +2 -2
  4. package/dist/chunks/{anim-image-teDgsATS.js → anim-image-D6yGJ5SF.js} +2 -2
  5. package/dist/chunks/{audio-5FOqrAxu.js → audio-CZgCXg1t.js} +27 -6
  6. package/dist/chunks/{audio-DhgfWYZ_.cjs → audio-D0LwPShE.cjs} +27 -6
  7. package/dist/chunks/{badge-wall-Bd2dP3J7.js → badge-wall-C0gJ_Kck.js} +2 -2
  8. package/dist/chunks/{badge-wall-Q7x5HSe_.cjs → badge-wall-CITexuW7.cjs} +2 -2
  9. package/dist/chunks/{base-vu_KhBiv.cjs → base-BvH4nAcv.cjs} +146 -124
  10. package/dist/chunks/{base-nzeN_ux7.js → base-C9CJrhL3.js} +145 -125
  11. package/dist/chunks/{bg-generator-Dncd000D.cjs → bg-generator-CML8tPN8.cjs} +2 -2
  12. package/dist/chunks/{bg-generator-Dxx3s2zQ.js → bg-generator-oRwfTA5B.js} +2 -2
  13. package/dist/chunks/bind-B_CTL6Qn.js +1 -1
  14. package/dist/chunks/bind-Ui43-n2d.cjs +1 -1
  15. package/dist/chunks/{builtins-A9ihuDwy.cjs → builtins-DweCp29Z.cjs} +3 -3
  16. package/dist/chunks/{builtins-hBOeCPXL.js → builtins-SwWQKzb-.js} +3 -3
  17. package/dist/chunks/{carousel-Blko8aKV.cjs → carousel-DU3rHTq0.cjs} +2 -2
  18. package/dist/chunks/{carousel-DkQKWBK3.js → carousel-u6rqMqGu.js} +2 -2
  19. package/dist/chunks/{cart-drawer-CtX6EQRa.js → cart-drawer-CEIZfCw8.js} +4 -4
  20. package/dist/chunks/{cart-drawer-kyj9TlQC.cjs → cart-drawer-CkFMKMhx.cjs} +4 -4
  21. package/dist/chunks/{code-export-DOioRmM9.cjs → code-export-PdGSl9WE.cjs} +2 -2
  22. package/dist/chunks/{code-export-B6b27ZiI.js → code-export-wdrBIWRv.js} +2 -2
  23. package/dist/chunks/{color-picker-B6YXJdur.cjs → color-picker-B_xWVH8H.cjs} +2 -2
  24. package/dist/chunks/{color-picker-DNTzNylo.js → color-picker-CN8ThZfh.js} +2 -2
  25. package/dist/chunks/{command-palette-C6XV1glX.js → command-palette-IJuNiXhv.js} +2 -2
  26. package/dist/chunks/{command-palette-DAQQ_bkg.cjs → command-palette-ISetAeX1.cjs} +2 -2
  27. package/dist/chunks/{core-Bar7NFx7.js → core-B9Sjd4AV.js} +2 -2
  28. package/dist/chunks/{core-DVGtPabi.js → core-BZhM_0Zh.js} +2 -2
  29. package/dist/chunks/core-BjcOCpJt.cjs +1 -1
  30. package/dist/chunks/{core-DfkeC4s-.cjs → core-DbAYRKnS.cjs} +2 -2
  31. package/dist/chunks/core-Dj6iomdc.js +1 -1
  32. package/dist/chunks/{core-E18xla6s.cjs → core-DjjKLmZ6.cjs} +2 -2
  33. package/dist/chunks/{countdown-Cvef0Kb1.cjs → countdown-RQViryt7.cjs} +2 -2
  34. package/dist/chunks/{countdown-Dhp9G96N.js → countdown-WDZxXQz7.js} +2 -2
  35. package/dist/chunks/{date-picker-C9iVZUP3.cjs → date-picker-BgApzPNn.cjs} +2 -2
  36. package/dist/chunks/{date-picker-M7n1jZw9.js → date-picker-D4yqKTMJ.js} +2 -2
  37. package/dist/chunks/ease-HwYZnZat.cjs +1 -1
  38. package/dist/chunks/ease-XN8_0sXu.js +1 -1
  39. package/dist/chunks/{equalizer-CN6AkBtT.js → equalizer-CwGL1sD8.js} +2 -2
  40. package/dist/chunks/{equalizer-6uhO-yfZ.cjs → equalizer-_eD_ZdCl.cjs} +2 -2
  41. package/dist/chunks/{festival-banner-ByYX1Oy6.cjs → festival-banner-Bs18K0MJ.cjs} +2 -2
  42. package/dist/chunks/{festival-banner-Dsu53in5.js → festival-banner-Dslu8K1g.js} +2 -2
  43. package/dist/chunks/{field-DeTgNf7K.js → field-DALTalya.js} +2 -2
  44. package/dist/chunks/{field-DcC_zJBH.cjs → field-Dwq8-CLN.cjs} +2 -2
  45. package/dist/chunks/{fx-lszndeFU.cjs → fx-DaVuB89C.cjs} +2 -2
  46. package/dist/chunks/{fx-qAVpKs8e.js → fx-Dc1sMyNg.js} +2 -2
  47. package/dist/chunks/{generative-BHIj-NU0.cjs → generative-BKoxWOSP.cjs} +16 -4
  48. package/dist/chunks/{generative-2LhxG5BJ.js → generative-DWdAwxYB.js} +20 -8
  49. package/dist/chunks/{gl-scene-CUTsZPTZ.js → gl-scene-BjQkVhUh.js} +9 -9
  50. package/dist/chunks/{gl-scene-DwcPxX2X.cjs → gl-scene-Ccn_PpRS.cjs} +6 -6
  51. package/dist/chunks/{globe-CzQ6nQ-o.js → globe-D56xlOmk.js} +10 -9
  52. package/dist/chunks/{globe-Dms25CB5.cjs → globe-DA0jyb6s.cjs} +10 -9
  53. package/dist/chunks/{gpu-DdiOOXTP.js → gpu-7AY-uzNc.js} +37 -16
  54. package/dist/chunks/{gpu-BREsvJpT.cjs → gpu-DTO3JmAF.cjs} +30 -9
  55. package/dist/chunks/{gpu-particles-CbBJ_tIZ.js → gpu-particles-4DBj91f-.js} +6 -6
  56. package/dist/chunks/{gpu-particles-DrjYuSVR.cjs → gpu-particles-wEO_rds1.cjs} +6 -6
  57. package/dist/chunks/index-tags-B-JBecYg.js +1 -1
  58. package/dist/chunks/index-tags-hLIF2Clq.cjs +1 -1
  59. package/dist/chunks/key-click-BLm3BI8_.js +1 -1
  60. package/dist/chunks/key-click-v7I4K5Sr.cjs +1 -1
  61. package/dist/chunks/{keyframes-dsAcxcJv.cjs → keyframes-DyniziL4.cjs} +2 -2
  62. package/dist/chunks/{keyframes-BBke3wIL.js → keyframes-t521frAa.js} +2 -2
  63. package/dist/chunks/{leaderboard-wF-UnLbY.cjs → leaderboard-DvSSQ8o3.cjs} +4 -4
  64. package/dist/chunks/{leaderboard-D2Xb0lqP.js → leaderboard-_UPi0KQX.js} +4 -4
  65. package/dist/chunks/{location-card-GrQnXfwp.js → location-card-Bq596aK5.js} +2 -2
  66. package/dist/chunks/{location-card-BJsN6s34.cjs → location-card-DSPTApUe.cjs} +2 -2
  67. package/dist/chunks/{lottie-icon-DMkTeHCL.cjs → lottie-icon-BoxkukMd.cjs} +2 -2
  68. package/dist/chunks/{lottie-icon-D3fdgfNU.js → lottie-icon-pqBgCV0y.js} +2 -2
  69. package/dist/chunks/{lottie-player-CkdMUN-D.js → lottie-player-C9X0Gp_E.js} +3 -3
  70. package/dist/chunks/{lottie-player-hYycf5lY.cjs → lottie-player-D6YGOx39.cjs} +3 -3
  71. package/dist/chunks/{lyrics-CBRdLBDw.cjs → lyrics-CRB7dA1j.cjs} +6 -5
  72. package/dist/chunks/{lyrics-jTQwzX9m.js → lyrics-D7mzxVIq.js} +6 -5
  73. package/dist/chunks/{manifest-pVzW6oyg.js → manifest-CqfKtjeL.js} +2 -2
  74. package/dist/chunks/{manifest-Rxf1Mumb.cjs → manifest-xr3WET80.cjs} +2 -2
  75. package/dist/chunks/{menu-Bc2M8HMJ.cjs → menu-CZ1zHTT9.cjs} +2 -2
  76. package/dist/chunks/{menu-Ydg47TQx.js → menu-XcdMtcfw.js} +2 -2
  77. package/dist/chunks/{menu-toggle-B1YBlbdJ.cjs → menu-toggle-DGXN4VsN.cjs} +2 -2
  78. package/dist/chunks/{menu-toggle-C-_dv_TN.js → menu-toggle-RD6Fu1Gm.js} +2 -2
  79. package/dist/chunks/{nav-morph-kKmG_ocG.cjs → nav-morph-C4rD3wrU.cjs} +2 -2
  80. package/dist/chunks/{nav-morph-DA-Q4xec.js → nav-morph-F6qzM20K.js} +2 -2
  81. package/dist/chunks/{otp-CVUw78Mr.js → otp-BJKyY7I3.js} +2 -2
  82. package/dist/chunks/{otp-Cxz5uFb_.cjs → otp-DUyEWYMi.cjs} +2 -2
  83. package/dist/chunks/{pagination-0fuULrSB.js → pagination-D6iMBStU.js} +2 -2
  84. package/dist/chunks/{pagination-DbqyUpxV.cjs → pagination-DHmYZZU9.cjs} +2 -2
  85. package/dist/chunks/{physics-playground-5lihsTyh.cjs → physics-playground-BJx2yVvV.cjs} +5 -5
  86. package/dist/chunks/{physics-playground-_5_slxtj.js → physics-playground-C8jCWhgK.js} +5 -5
  87. package/dist/chunks/{player-DqUZJ0d_.js → player-BTaPvK8G.js} +14 -13
  88. package/dist/chunks/{player-DIwSjUFR.cjs → player-BZOkQbZ9.cjs} +14 -13
  89. package/dist/chunks/{presence-DfTxVIEf.js → presence-6eQ9t5vX.js} +2 -2
  90. package/dist/chunks/{presence-CRfWmNWz.cjs → presence-DAthlALi.cjs} +2 -2
  91. package/dist/chunks/presets-BYBVJVeP.js +1 -1
  92. package/dist/chunks/presets-CUHys3sK.cjs +1 -1
  93. package/dist/chunks/{prize-wheel-tgpOsdDA.js → prize-wheel-CpGVo8QG.js} +2 -2
  94. package/dist/chunks/{prize-wheel-MOZOrI-p.cjs → prize-wheel-emDopI5c.cjs} +2 -2
  95. package/dist/chunks/{product-gallery-BcGA35Ie.js → product-gallery-BmnYLKAQ.js} +2 -2
  96. package/dist/chunks/{product-gallery-Bi6I6x1o.cjs → product-gallery-CKtSVhZk.cjs} +2 -2
  97. package/dist/chunks/{progress-ring-BO9a3Q24.cjs → progress-ring-C75O4MUi.cjs} +7 -6
  98. package/dist/chunks/{progress-ring-6kTzB49S.js → progress-ring-CKgR1GRB.js} +7 -6
  99. package/dist/chunks/{prop-panel-DGm8VM4Z.js → prop-panel-BjbCiPAB.js} +2 -2
  100. package/dist/chunks/{prop-panel-_kA6mvB9.cjs → prop-panel-DFqga6H5.cjs} +2 -2
  101. package/dist/chunks/{radar-DT93Se3Y.cjs → radar-D-bZRrgs.cjs} +2 -2
  102. package/dist/chunks/{radar-sKiciNsS.js → radar-rBQT1BFh.js} +2 -2
  103. package/dist/chunks/{reactions-BASnlqck.cjs → reactions-BL2iO8iy.cjs} +2 -2
  104. package/dist/chunks/{reactions-B4xogsDd.js → reactions-CsdP0Su5.js} +2 -2
  105. package/dist/chunks/{registry-EziiQiWO.cjs → registry-CibnX7Ui.cjs} +2 -2
  106. package/dist/chunks/{registry-BfiEkviv.cjs → registry-D4qv6B49.cjs} +2 -2
  107. package/dist/chunks/{registry-PxXkPc1Q.js → registry-DKs_BiEo.js} +2 -2
  108. package/dist/chunks/{registry-C8rYCsXx.js → registry-Ng9TVXnA.js} +2 -2
  109. package/dist/chunks/{retro-button-BxCv-ybi.js → retro-button-Bw4sqAkl.js} +2 -2
  110. package/dist/chunks/{retro-button-DfuSdfWj.cjs → retro-button-DrrBZ6w8.cjs} +2 -2
  111. package/dist/chunks/{rive-cR-Q9Quh.cjs → rive-D6X4J0Mi.cjs} +2 -2
  112. package/dist/chunks/{rive-BHdln8XJ.js → rive-FjeW9KDl.js} +2 -2
  113. package/dist/chunks/{runtime-link-CeVpMlOJ.js → runtime-link-BZd9tPZE.js} +2 -2
  114. package/dist/chunks/{runtime-link-MABGYSmW.cjs → runtime-link-DDGDuR6q.cjs} +2 -2
  115. package/dist/chunks/scroll-driven-CQbwzCdn.cjs +1 -1
  116. package/dist/chunks/scroll-driven-LghshrWq.js +1 -1
  117. package/dist/chunks/{scroll-scene-Bn2EQiJd.js → scroll-scene-CgFA-E0N.js} +4 -4
  118. package/dist/chunks/{scroll-scene-CmbLFA1m.cjs → scroll-scene-Ch5d1PER.cjs} +4 -4
  119. package/dist/chunks/{segmented-DHBqMcAF.js → segmented-BEep92iW.js} +2 -2
  120. package/dist/chunks/{segmented-CbZtwChW.cjs → segmented-CpB4mKIn.cjs} +2 -2
  121. package/dist/chunks/{shader-backdrop-DT1h5Zoc.cjs → shader-backdrop-C4UhepvI.cjs} +5 -5
  122. package/dist/chunks/{shader-backdrop-rrssjdMI.js → shader-backdrop-DC0ZvVMV.js} +8 -8
  123. package/dist/chunks/shared-Bf72wLyt.cjs +1 -1
  124. package/dist/chunks/shared-CkKHWrtJ.js +1 -1
  125. package/dist/chunks/shared-jkgRH-Hx.cjs +1 -1
  126. package/dist/chunks/shared-o9CtwHmi.js +1 -1
  127. package/dist/chunks/{sheet-7UwF69TQ.cjs → sheet-B38ylIEW.cjs} +2 -2
  128. package/dist/chunks/{sheet-C63sKkKn.js → sheet-BHTMF8qx.js} +2 -2
  129. package/dist/chunks/sign-DvZ1jHxE.js +1 -1
  130. package/dist/chunks/sign-RAkQIWrM.cjs +1 -1
  131. package/dist/chunks/{skeleton-reveal-yj2lioib.js → skeleton-reveal-BMrbmru6.js} +2 -2
  132. package/dist/chunks/{skeleton-reveal-DfH6IiUG.cjs → skeleton-reveal-Dsd3Wp0n.cjs} +2 -2
  133. package/dist/chunks/{sparkline-CCV_wZ9j.cjs → sparkline-DeKhZpVo.cjs} +7 -6
  134. package/dist/chunks/{sparkline-kl8sJ7cP.js → sparkline-htTaTcgs.js} +7 -6
  135. package/dist/chunks/{spring-BX7EJst7.js → spring-DBCejV_z.js} +2 -2
  136. package/dist/chunks/{spring-Q3Y-pHuP.cjs → spring-XEl_diDJ.cjs} +2 -2
  137. package/dist/chunks/stagger-B9sKPwQB.js +1 -1
  138. package/dist/chunks/stagger-DFKwqOQG.cjs +1 -1
  139. package/dist/chunks/{suggestion-chips-D9i2FGGX.cjs → suggestion-chips-CAcbFTr4.cjs} +2 -2
  140. package/dist/chunks/{suggestion-chips-fmrwI2Da.js → suggestion-chips-Cj70JCtZ.js} +2 -2
  141. package/dist/chunks/{switch-DnwGGeZj.js → switch-CnSs8nDn.js} +2 -2
  142. package/dist/chunks/{switch-Db4uTUcj.cjs → switch-DiTlApGd.cjs} +2 -2
  143. package/dist/chunks/{tab-bar-CSx4fTC9.js → tab-bar-B7hFB974.js} +2 -2
  144. package/dist/chunks/{tab-bar-DqzNvlDc.cjs → tab-bar-BBlVAqbq.cjs} +2 -2
  145. package/dist/chunks/{ticker-j_dmsse0.cjs → ticker-Bcx-J0T3.cjs} +2 -2
  146. package/dist/chunks/{ticker-DaMSl3Kd.js → ticker-DZN0D39q.js} +2 -2
  147. package/dist/chunks/{tip-CIh4O-DZ.cjs → tip-VGS3qAUm.cjs} +2 -2
  148. package/dist/chunks/{tip-C8T1SdOJ.js → tip-ylGHoOIf.js} +2 -2
  149. package/dist/chunks/{toast-stack-kHQdNZDv.cjs → toast-stack-DprisNp_.cjs} +3 -3
  150. package/dist/chunks/{toast-stack-COXQ3IOx.js → toast-stack-Z_5cS1Nz.js} +3 -3
  151. package/dist/chunks/{tween-DQzuHdMx.cjs → tween-C755kVRe.cjs} +2 -2
  152. package/dist/chunks/{tween-BqIL1A7u.js → tween-DZdCTOBG.js} +2 -2
  153. package/dist/chunks/{upload-progress-BhyFjwb6.cjs → upload-progress-CEAWkP-p.cjs} +2 -2
  154. package/dist/chunks/{upload-progress-CXfoNUhm.js → upload-progress-y7N0eaM4.js} +2 -2
  155. package/dist/chunks/{variants-Dk-FItCT.cjs → variants-BtqEJuki.cjs} +2 -2
  156. package/dist/chunks/{variants-DY08myqK.js → variants-MxfB3UVB.js} +2 -2
  157. package/dist/chunks/viewport-BAXHhZLV.js +1 -1
  158. package/dist/chunks/viewport-EFYGqMNa.cjs +1 -1
  159. package/dist/chunks/{voice-button-DudPeVqK.cjs → voice-button-9UauxvT9.cjs} +2 -2
  160. package/dist/chunks/{voice-button-DdKxtavP.js → voice-button-DFEoNe24.js} +2 -2
  161. package/dist/chunks/{weather-card-DfXFesfY.cjs → weather-card-4Eg6e43D.cjs} +5 -5
  162. package/dist/chunks/{weather-card-Ecgk-JQd.js → weather-card-NR0i507J.js} +6 -6
  163. package/dist/chunks/{worker-canvas-CEbqBgK5.cjs → worker-canvas-BMBXAFWp.cjs} +2 -2
  164. package/dist/chunks/{worker-canvas-BIuesniy.js → worker-canvas-CPZvzrWQ.js} +2 -2
  165. package/dist/chunks/{xp-bar-Cx-dMEMT.js → xp-bar-DAbx1LZ_.js} +2 -2
  166. package/dist/chunks/{xp-bar-BC8UnCHG.cjs → xp-bar-DkWfCTfB.cjs} +2 -2
  167. package/dist/components/a11y.cjs +2 -2
  168. package/dist/components/a11y.js +3 -3
  169. package/dist/components/ai.cjs +1 -1
  170. package/dist/components/ai.js +1 -1
  171. package/dist/components/angular.cjs +17 -41
  172. package/dist/components/angular.d.cts +2047 -8
  173. package/dist/components/angular.d.ts +2047 -8
  174. package/dist/components/angular.js +17 -41
  175. package/dist/components/background.cjs +3 -3
  176. package/dist/components/background.js +3 -3
  177. package/dist/components/bridge.cjs +2 -2
  178. package/dist/components/bridge.js +2 -2
  179. package/dist/components/cards.cjs +3 -3
  180. package/dist/components/cards.js +3 -3
  181. package/dist/components/click.cjs +4 -4
  182. package/dist/components/click.js +4 -4
  183. package/dist/components/core.cjs +1 -1
  184. package/dist/components/core.js +1 -1
  185. package/dist/components/depth.cjs +4 -4
  186. package/dist/components/depth.js +4 -4
  187. package/dist/components/design.cjs +2 -5
  188. package/dist/components/design.js +2 -5
  189. package/dist/components/dotlottie.cjs +4 -5
  190. package/dist/components/dotlottie.js +4 -5
  191. package/dist/components/dsl.cjs +2 -3
  192. package/dist/components/dsl.js +2 -3
  193. package/dist/components/effects.cjs +60 -30
  194. package/dist/components/effects.d.cts +0 -88
  195. package/dist/components/effects.d.ts +0 -88
  196. package/dist/components/effects.js +68 -38
  197. package/dist/components/engine.cjs +2 -2
  198. package/dist/components/engine.js +3 -3
  199. package/dist/components/feedback.cjs +2 -2
  200. package/dist/components/feedback.js +2 -2
  201. package/dist/components/fx-3d.cjs +23 -6
  202. package/dist/components/fx-3d.d.cts +0 -19
  203. package/dist/components/fx-3d.d.ts +0 -19
  204. package/dist/components/fx-3d.js +23 -6
  205. package/dist/components/fx-ai.cjs +2 -3
  206. package/dist/components/fx-ai.js +2 -3
  207. package/dist/components/fx-chart.cjs +2 -3
  208. package/dist/components/fx-chart.js +2 -3
  209. package/dist/components/fx-cinema.cjs +2 -3
  210. package/dist/components/fx-cinema.js +2 -3
  211. package/dist/components/fx-cyber.cjs +2 -3
  212. package/dist/components/fx-cyber.js +2 -3
  213. package/dist/components/fx-festival.cjs +2 -3
  214. package/dist/components/fx-festival.js +2 -3
  215. package/dist/components/fx-focus.cjs +2 -3
  216. package/dist/components/fx-focus.js +2 -3
  217. package/dist/components/fx-form.cjs +2 -3
  218. package/dist/components/fx-form.js +2 -3
  219. package/dist/components/fx-game.cjs +2 -3
  220. package/dist/components/fx-game.js +2 -3
  221. package/dist/components/fx-genart.cjs +2 -3
  222. package/dist/components/fx-genart.js +2 -3
  223. package/dist/components/fx-geo.cjs +2 -3
  224. package/dist/components/fx-geo.js +2 -3
  225. package/dist/components/fx-gesture.cjs +2 -3
  226. package/dist/components/fx-gesture.js +2 -3
  227. package/dist/components/fx-gpu.cjs +4 -5
  228. package/dist/components/fx-gpu.js +4 -5
  229. package/dist/components/fx-light.cjs +27 -6
  230. package/dist/components/fx-light.d.cts +0 -22
  231. package/dist/components/fx-light.d.ts +0 -22
  232. package/dist/components/fx-light.js +31 -10
  233. package/dist/components/fx-lottie.cjs +2 -3
  234. package/dist/components/fx-lottie.js +2 -3
  235. package/dist/components/fx-morph.cjs +2 -3
  236. package/dist/components/fx-morph.js +2 -3
  237. package/dist/components/fx-music.cjs +24 -9
  238. package/dist/components/fx-music.d.cts +0 -39
  239. package/dist/components/fx-music.d.ts +0 -39
  240. package/dist/components/fx-music.js +25 -10
  241. package/dist/components/fx-organic.cjs +2 -3
  242. package/dist/components/fx-organic.js +2 -3
  243. package/dist/components/fx-paper.cjs +2 -3
  244. package/dist/components/fx-paper.js +2 -3
  245. package/dist/components/fx-perf.cjs +3 -3
  246. package/dist/components/fx-perf.js +3 -3
  247. package/dist/components/fx-physics.cjs +25 -8
  248. package/dist/components/fx-physics.d.cts +0 -19
  249. package/dist/components/fx-physics.d.ts +0 -19
  250. package/dist/components/fx-physics.js +29 -12
  251. package/dist/components/fx-retro.cjs +2 -3
  252. package/dist/components/fx-retro.js +2 -3
  253. package/dist/components/fx-safe.cjs +3 -3
  254. package/dist/components/fx-safe.js +3 -3
  255. package/dist/components/fx-shop.cjs +2 -3
  256. package/dist/components/fx-shop.js +2 -3
  257. package/dist/components/fx-social.cjs +2 -3
  258. package/dist/components/fx-social.js +2 -3
  259. package/dist/components/fx-spatial.cjs +2 -3
  260. package/dist/components/fx-spatial.js +2 -3
  261. package/dist/components/fx-surface.cjs +2 -3
  262. package/dist/components/fx-surface.js +2 -3
  263. package/dist/components/fx-text.cjs +3 -3
  264. package/dist/components/fx-text.js +3 -3
  265. package/dist/components/fx-transitions.cjs +4 -4
  266. package/dist/components/fx-transitions.js +4 -4
  267. package/dist/components/fx-video.cjs +3 -3
  268. package/dist/components/fx-video.js +3 -3
  269. package/dist/components/fx-weather.cjs +3 -4
  270. package/dist/components/fx-weather.js +3 -4
  271. package/dist/components/fx.cjs +4 -7
  272. package/dist/components/fx.js +5 -8
  273. package/dist/components/fx2.cjs +4 -8
  274. package/dist/components/fx2.d.cts +0 -133
  275. package/dist/components/fx2.d.ts +0 -133
  276. package/dist/components/fx2.js +5 -9
  277. package/dist/components/gesture.cjs +4 -4
  278. package/dist/components/gesture.js +5 -5
  279. package/dist/components/gl-model.cjs +4 -5
  280. package/dist/components/gl-model.js +4 -5
  281. package/dist/components/interaction.cjs +2 -2
  282. package/dist/components/interaction.js +2 -2
  283. package/dist/components/jsx.cjs +1 -1
  284. package/dist/components/jsx.d.cts +2049 -3
  285. package/dist/components/jsx.d.ts +2049 -3
  286. package/dist/components/jsx.js +1 -1
  287. package/dist/components/layout.cjs +3 -3
  288. package/dist/components/layout.js +3 -3
  289. package/dist/components/lazy.cjs +1 -1
  290. package/dist/components/lazy.js +1 -1
  291. package/dist/components/lite.cjs +124 -119
  292. package/dist/components/lite.js +124 -120
  293. package/dist/components/marketplace.cjs +2 -4
  294. package/dist/components/marketplace.js +3 -5
  295. package/dist/components/native.cjs +1 -4
  296. package/dist/components/native.js +1 -4
  297. package/dist/components/offscreen.cjs +69 -0
  298. package/dist/components/offscreen.d.cts +10 -0
  299. package/dist/components/offscreen.d.ts +10 -0
  300. package/dist/components/offscreen.js +65 -0
  301. package/dist/components/packs.cjs +2 -2
  302. package/dist/components/packs.js +2 -2
  303. package/dist/components/page.cjs +3 -3
  304. package/dist/components/page.js +4 -4
  305. package/dist/components/perf-tasks.cjs +69 -0
  306. package/dist/components/perf-tasks.d.cts +23 -0
  307. package/dist/components/perf-tasks.d.ts +23 -0
  308. package/dist/components/perf-tasks.js +65 -0
  309. package/dist/components/perf.cjs +3 -2
  310. package/dist/components/perf.d.cts +12 -4
  311. package/dist/components/perf.d.ts +12 -4
  312. package/dist/components/perf.js +3 -3
  313. package/dist/components/physics.cjs +3 -3
  314. package/dist/components/physics.js +4 -4
  315. package/dist/components/plugins.cjs +2 -7
  316. package/dist/components/plugins.js +2 -7
  317. package/dist/components/react.cjs +26 -3
  318. package/dist/components/react.d.cts +23 -1
  319. package/dist/components/react.d.ts +23 -1
  320. package/dist/components/react.js +24 -4
  321. package/dist/components/reveal.cjs +2 -2
  322. package/dist/components/reveal.js +2 -2
  323. package/dist/components/snap-carousel.cjs +3 -4
  324. package/dist/components/snap-carousel.js +3 -4
  325. package/dist/components/solid.cjs +3 -36
  326. package/dist/components/solid.d.cts +1451 -2
  327. package/dist/components/solid.d.ts +1451 -2
  328. package/dist/components/solid.js +3 -36
  329. package/dist/components/svelte.cjs +10 -36
  330. package/dist/components/svelte.d.cts +2047 -2
  331. package/dist/components/svelte.d.ts +2047 -2
  332. package/dist/components/svelte.js +10 -36
  333. package/dist/components/svg.cjs +2 -2
  334. package/dist/components/svg.js +2 -2
  335. package/dist/components/text.cjs +3 -4
  336. package/dist/components/text.js +3 -4
  337. package/dist/components/timeline.cjs +3 -4
  338. package/dist/components/timeline.js +4 -5
  339. package/dist/components/tokens.cjs +1 -1
  340. package/dist/components/tokens.js +1 -1
  341. package/dist/components/transitions.cjs +2 -2
  342. package/dist/components/transitions.js +2 -2
  343. package/dist/components/ui.cjs +4 -4
  344. package/dist/components/ui.js +5 -5
  345. package/dist/components/vue.cjs +8 -35
  346. package/dist/components/vue.d.cts +2046 -1
  347. package/dist/components/vue.d.ts +2046 -1
  348. package/dist/components/vue.js +8 -35
  349. package/dist/components/webgl.cjs +2 -2
  350. package/dist/components/webgl.js +2 -2
  351. package/dist/components/widgets.cjs +52 -85
  352. package/dist/components/widgets.js +101 -134
  353. package/dist/components.cjs +10 -11
  354. package/dist/components.d.cts +13 -5
  355. package/dist/components.d.ts +13 -5
  356. package/dist/components.js +11 -13
  357. package/dist/components.umd.js +3 -3
  358. package/dist/effects/achievement-unlock.cjs +2 -3
  359. package/dist/effects/achievement-unlock.js +2 -3
  360. package/dist/effects/aurora-veil.cjs +2 -5
  361. package/dist/effects/aurora-veil.js +2 -5
  362. package/dist/effects/badge-pop.cjs +2 -3
  363. package/dist/effects/badge-pop.js +2 -3
  364. package/dist/effects/bars-grow.cjs +2 -4
  365. package/dist/effects/bars-grow.js +2 -4
  366. package/dist/effects/beat-bounce.cjs +2 -6
  367. package/dist/effects/beat-bounce.js +2 -6
  368. package/dist/effects/blob-button.cjs +2 -4
  369. package/dist/effects/blob-button.js +2 -4
  370. package/dist/effects/bloom.cjs +2 -3
  371. package/dist/effects/bloom.js +2 -3
  372. package/dist/effects/breathe.cjs +2 -3
  373. package/dist/effects/breathe.js +2 -3
  374. package/dist/effects/brushed-metal.cjs +2 -5
  375. package/dist/effects/brushed-metal.js +2 -5
  376. package/dist/effects/camera-dolly.cjs +2 -4
  377. package/dist/effects/camera-dolly.js +2 -4
  378. package/dist/effects/card-flip-3d.cjs +2 -6
  379. package/dist/effects/card-flip-3d.js +2 -6
  380. package/dist/effects/chest-open.cjs +2 -3
  381. package/dist/effects/chest-open.js +2 -3
  382. package/dist/effects/cloth.cjs +2 -5
  383. package/dist/effects/cloth.js +2 -5
  384. package/dist/effects/coin-burst.cjs +2 -3
  385. package/dist/effects/coin-burst.js +2 -3
  386. package/dist/effects/color-pulse.cjs +2 -3
  387. package/dist/effects/color-pulse.js +2 -3
  388. package/dist/effects/crt-power.cjs +2 -3
  389. package/dist/effects/crt-power.js +2 -3
  390. package/dist/effects/crumple.cjs +2 -3
  391. package/dist/effects/crumple.js +2 -3
  392. package/dist/effects/data-decode.cjs +2 -3
  393. package/dist/effects/data-decode.js +2 -3
  394. package/dist/effects/day-cycle.cjs +2 -5
  395. package/dist/effects/day-cycle.js +2 -5
  396. package/dist/effects/depth-in.cjs +2 -3
  397. package/dist/effects/depth-in.js +2 -3
  398. package/dist/effects/depth-pop.cjs +2 -3
  399. package/dist/effects/depth-pop.js +2 -3
  400. package/dist/effects/depth-stack.cjs +2 -6
  401. package/dist/effects/depth-stack.js +2 -6
  402. package/dist/effects/dolly-in.cjs +2 -3
  403. package/dist/effects/dolly-in.js +2 -3
  404. package/dist/effects/dots-pop.cjs +2 -4
  405. package/dist/effects/dots-pop.js +2 -4
  406. package/dist/effects/field-shake.cjs +2 -3
  407. package/dist/effects/field-shake.js +2 -3
  408. package/dist/effects/field-success.cjs +2 -3
  409. package/dist/effects/field-success.js +2 -3
  410. package/dist/effects/film-burn.cjs +2 -3
  411. package/dist/effects/film-burn.js +2 -3
  412. package/dist/effects/fire.cjs +3 -6
  413. package/dist/effects/fire.js +3 -6
  414. package/dist/effects/fireflies.cjs +3 -6
  415. package/dist/effects/fireflies.js +3 -6
  416. package/dist/effects/firework-burst.cjs +2 -3
  417. package/dist/effects/firework-burst.js +2 -3
  418. package/dist/effects/flip-chars.cjs +2 -4
  419. package/dist/effects/flip-chars.js +2 -4
  420. package/dist/effects/fluid.cjs +3 -6
  421. package/dist/effects/fluid.js +3 -6
  422. package/dist/effects/fly-to-cart.cjs +2 -3
  423. package/dist/effects/fly-to-cart.js +2 -3
  424. package/dist/effects/focus-draw.cjs +2 -3
  425. package/dist/effects/focus-draw.js +2 -3
  426. package/dist/effects/focus-glow.cjs +2 -3
  427. package/dist/effects/focus-glow.js +2 -3
  428. package/dist/effects/fog.cjs +2 -5
  429. package/dist/effects/fog.js +2 -5
  430. package/dist/effects/font-breathe.cjs +2 -4
  431. package/dist/effects/font-breathe.js +2 -4
  432. package/dist/effects/form-cascade.cjs +2 -3
  433. package/dist/effects/form-cascade.js +2 -3
  434. package/dist/effects/gen-skeleton.cjs +2 -3
  435. package/dist/effects/gen-skeleton.js +2 -3
  436. package/dist/effects/glass-frost.cjs +2 -3
  437. package/dist/effects/glass-frost.js +2 -3
  438. package/dist/effects/glitch-text.cjs +2 -4
  439. package/dist/effects/glitch-text.js +2 -4
  440. package/dist/effects/globe-spin.cjs +2 -3
  441. package/dist/effects/globe-spin.js +2 -3
  442. package/dist/effects/god-rays.cjs +2 -5
  443. package/dist/effects/god-rays.js +2 -5
  444. package/dist/effects/gpu-lift.cjs +2 -3
  445. package/dist/effects/gpu-lift.js +2 -3
  446. package/dist/effects/grain-flicker.cjs +2 -3
  447. package/dist/effects/grain-flicker.js +2 -3
  448. package/dist/effects/halftone-in.cjs +2 -3
  449. package/dist/effects/halftone-in.js +2 -3
  450. package/dist/effects/highlight-sweep.cjs +2 -3
  451. package/dist/effects/highlight-sweep.js +2 -3
  452. package/dist/effects/hologram.cjs +2 -3
  453. package/dist/effects/hologram.js +2 -3
  454. package/dist/effects/hud-frame.cjs +2 -3
  455. package/dist/effects/hud-frame.js +2 -3
  456. package/dist/effects/icon-pop.cjs +2 -3
  457. package/dist/effects/icon-pop.js +2 -3
  458. package/dist/effects/icon-swap.cjs +2 -4
  459. package/dist/effects/icon-swap.js +2 -4
  460. package/dist/effects/idle-reveal.cjs +2 -3
  461. package/dist/effects/idle-reveal.js +2 -3
  462. package/dist/effects/ink.cjs +3 -6
  463. package/dist/effects/ink.js +3 -6
  464. package/dist/effects/jump-cut.cjs +2 -3
  465. package/dist/effects/jump-cut.js +2 -3
  466. package/dist/effects/kaleido.cjs +2 -3
  467. package/dist/effects/kaleido.js +2 -3
  468. package/dist/effects/label-float.cjs +2 -3
  469. package/dist/effects/label-float.js +2 -3
  470. package/dist/effects/lantern-rise.cjs +2 -3
  471. package/dist/effects/lantern-rise.js +2 -3
  472. package/dist/effects/leaves.cjs +3 -6
  473. package/dist/effects/leaves.js +3 -6
  474. package/dist/effects/letterbox.cjs +2 -3
  475. package/dist/effects/letterbox.js +2 -3
  476. package/dist/effects/level-up.cjs +2 -3
  477. package/dist/effects/level-up.js +2 -3
  478. package/dist/effects/light-follow.cjs +2 -5
  479. package/dist/effects/light-follow.js +2 -5
  480. package/dist/effects/lightning.cjs +2 -5
  481. package/dist/effects/lightning.js +2 -5
  482. package/dist/effects/line-draw.cjs +2 -4
  483. package/dist/effects/line-draw.js +2 -4
  484. package/dist/effects/liquid-text.cjs +2 -4
  485. package/dist/effects/liquid-text.js +2 -4
  486. package/dist/effects/liquid-wipe.cjs +2 -4
  487. package/dist/effects/liquid-wipe.js +2 -4
  488. package/dist/effects/lottie-play.cjs +2 -3
  489. package/dist/effects/lottie-play.js +2 -3
  490. package/dist/effects/magnet.cjs +2 -5
  491. package/dist/effects/magnet.js +2 -5
  492. package/dist/effects/marching-ants.cjs +2 -3
  493. package/dist/effects/marching-ants.js +2 -3
  494. package/dist/effects/marker-pulse.cjs +2 -3
  495. package/dist/effects/marker-pulse.js +2 -3
  496. package/dist/effects/mention-glow.cjs +2 -3
  497. package/dist/effects/mention-glow.js +2 -3
  498. package/dist/effects/mesh-drift.cjs +2 -3
  499. package/dist/effects/mesh-drift.js +2 -3
  500. package/dist/effects/message-in.cjs +2 -3
  501. package/dist/effects/message-in.js +2 -3
  502. package/dist/effects/mosaic-flip.cjs +2 -4
  503. package/dist/effects/mosaic-flip.js +2 -4
  504. package/dist/effects/neon-ignite.cjs +2 -3
  505. package/dist/effects/neon-ignite.js +2 -3
  506. package/dist/effects/neon-pulse.cjs +2 -3
  507. package/dist/effects/neon-pulse.js +2 -3
  508. package/dist/effects/neon-write.cjs +2 -4
  509. package/dist/effects/neon-write.js +2 -4
  510. package/dist/effects/neu-press.cjs +2 -3
  511. package/dist/effects/neu-press.js +2 -3
  512. package/dist/effects/noise-reveal.cjs +2 -4
  513. package/dist/effects/noise-reveal.js +2 -4
  514. package/dist/effects/number-roll.cjs +2 -4
  515. package/dist/effects/number-roll.js +2 -4
  516. package/dist/effects/orbit-camera.cjs +2 -6
  517. package/dist/effects/orbit-camera.js +2 -6
  518. package/dist/effects/orbit-in.cjs +2 -3
  519. package/dist/effects/orbit-in.js +2 -3
  520. package/dist/effects/origami.cjs +2 -6
  521. package/dist/effects/origami.js +2 -6
  522. package/dist/effects/page-curl.cjs +2 -4
  523. package/dist/effects/page-curl.js +2 -4
  524. package/dist/effects/pan-reveal.cjs +2 -3
  525. package/dist/effects/pan-reveal.js +2 -3
  526. package/dist/effects/paper-unfold.cjs +2 -3
  527. package/dist/effects/paper-unfold.js +2 -3
  528. package/dist/effects/particle-text.cjs +2 -4
  529. package/dist/effects/particle-text.js +2 -4
  530. package/dist/effects/path-morph.cjs +2 -4
  531. package/dist/effects/path-morph.js +2 -4
  532. package/dist/effects/pearlescent.cjs +2 -5
  533. package/dist/effects/pearlescent.js +2 -5
  534. package/dist/effects/pencil-sketch.cjs +2 -3
  535. package/dist/effects/pencil-sketch.js +2 -3
  536. package/dist/effects/pin-drop.cjs +2 -3
  537. package/dist/effects/pin-drop.js +2 -3
  538. package/dist/effects/pinball.cjs +2 -5
  539. package/dist/effects/pinball.js +2 -5
  540. package/dist/effects/pinch-hint.cjs +2 -3
  541. package/dist/effects/pinch-hint.js +2 -3
  542. package/dist/effects/pixelate-in.cjs +2 -3
  543. package/dist/effects/pixelate-in.js +2 -3
  544. package/dist/effects/pointer-shadow.cjs +2 -5
  545. package/dist/effects/pointer-shadow.js +2 -5
  546. package/dist/effects/portal-open.cjs +2 -3
  547. package/dist/effects/portal-open.js +2 -3
  548. package/dist/effects/price-flip.cjs +2 -3
  549. package/dist/effects/price-flip.js +2 -3
  550. package/dist/effects/product-spin.cjs +2 -6
  551. package/dist/effects/product-spin.js +2 -6
  552. package/dist/effects/rack-focus.cjs +2 -3
  553. package/dist/effects/rack-focus.js +2 -3
  554. package/dist/effects/radial-spectrum.cjs +2 -6
  555. package/dist/effects/radial-spectrum.js +2 -6
  556. package/dist/effects/rain-glass.cjs +2 -5
  557. package/dist/effects/rain-glass.js +2 -5
  558. package/dist/effects/reaction-burst.cjs +2 -3
  559. package/dist/effects/reaction-burst.js +2 -3
  560. package/dist/effects/read-receipt.cjs +2 -3
  561. package/dist/effects/read-receipt.js +2 -3
  562. package/dist/effects/refraction.cjs +2 -5
  563. package/dist/effects/refraction.js +2 -5
  564. package/dist/effects/ring-sweep.cjs +2 -4
  565. package/dist/effects/ring-sweep.js +2 -4
  566. package/dist/effects/ripple-dissolve.cjs +2 -4
  567. package/dist/effects/ripple-dissolve.js +2 -4
  568. package/dist/effects/rope.cjs +2 -5
  569. package/dist/effects/rope.js +2 -5
  570. package/dist/effects/route-draw.cjs +2 -3
  571. package/dist/effects/route-draw.js +2 -3
  572. package/dist/effects/safe-fade.cjs +2 -3
  573. package/dist/effects/safe-fade.js +2 -3
  574. package/dist/effects/sakura.cjs +3 -6
  575. package/dist/effects/sakura.js +3 -6
  576. package/dist/effects/sale-shine.cjs +2 -3
  577. package/dist/effects/sale-shine.js +2 -3
  578. package/dist/effects/sankey-flow.cjs +2 -4
  579. package/dist/effects/sankey-flow.js +2 -4
  580. package/dist/effects/scanline-sweep.cjs +2 -3
  581. package/dist/effects/scanline-sweep.js +2 -3
  582. package/dist/effects/shatter.cjs +2 -4
  583. package/dist/effects/shatter.js +2 -4
  584. package/dist/effects/smoke.cjs +3 -6
  585. package/dist/effects/smoke.js +3 -6
  586. package/dist/effects/snowfall.cjs +2 -5
  587. package/dist/effects/snowfall.js +2 -5
  588. package/dist/effects/soft-body.cjs +2 -5
  589. package/dist/effects/soft-body.js +2 -5
  590. package/dist/effects/sound-particles.cjs +2 -6
  591. package/dist/effects/sound-particles.js +2 -6
  592. package/dist/effects/spatial-float.cjs +2 -3
  593. package/dist/effects/spatial-float.js +2 -3
  594. package/dist/effects/spectrum-mirror.cjs +2 -6
  595. package/dist/effects/spectrum-mirror.js +2 -6
  596. package/dist/effects/splash.cjs +3 -6
  597. package/dist/effects/splash.js +3 -6
  598. package/dist/effects/spooky-float.cjs +2 -3
  599. package/dist/effects/spooky-float.js +2 -3
  600. package/dist/effects/stock-pulse.cjs +2 -3
  601. package/dist/effects/stock-pulse.js +2 -3
  602. package/dist/effects/stream-text.cjs +2 -3
  603. package/dist/effects/stream-text.js +2 -3
  604. package/dist/effects/stroke-draw.cjs +2 -4
  605. package/dist/effects/stroke-draw.js +2 -4
  606. package/dist/effects/success-check.cjs +2 -3
  607. package/dist/effects/success-check.js +2 -3
  608. package/dist/effects/swipe-hint.cjs +2 -3
  609. package/dist/effects/swipe-hint.js +2 -3
  610. package/dist/effects/text-trail.cjs +2 -4
  611. package/dist/effects/text-trail.js +2 -4
  612. package/dist/effects/thinking-glow.cjs +2 -3
  613. package/dist/effects/thinking-glow.js +2 -3
  614. package/dist/effects/tilt-wobble.cjs +2 -3
  615. package/dist/effects/tilt-wobble.js +2 -3
  616. package/dist/effects/typing-dots.cjs +2 -3
  617. package/dist/effects/typing-dots.js +2 -3
  618. package/dist/effects/underline-sweep.cjs +2 -3
  619. package/dist/effects/underline-sweep.js +2 -3
  620. package/dist/effects/vhs-glitch.cjs +2 -3
  621. package/dist/effects/vhs-glitch.js +2 -3
  622. package/dist/effects/vine-grow.cjs +2 -3
  623. package/dist/effects/vine-grow.js +2 -3
  624. package/dist/effects/vinyl-spin.cjs +2 -6
  625. package/dist/effects/vinyl-spin.js +2 -6
  626. package/dist/effects/voice-wave.cjs +2 -3
  627. package/dist/effects/voice-wave.js +2 -3
  628. package/dist/effects/water-drop.cjs +2 -3
  629. package/dist/effects/water-drop.js +2 -3
  630. package/dist/effects/watercolor.cjs +2 -3
  631. package/dist/effects/watercolor.js +2 -3
  632. package/dist/effects/waveform-scope.cjs +2 -6
  633. package/dist/effects/waveform-scope.js +2 -6
  634. package/dist/effects/xmas-snow.cjs +2 -3
  635. package/dist/effects/xmas-snow.js +2 -3
  636. package/dist/effects/xp-gain.cjs +2 -3
  637. package/dist/effects/xp-gain.js +2 -3
  638. package/dist/effects/y2k-shine.cjs +2 -3
  639. package/dist/effects/y2k-shine.js +2 -3
  640. package/dist/element.cjs +1 -2
  641. package/dist/element.js +1 -2
  642. package/dist/element.umd.js +1 -1
  643. package/dist/index.cjs +2 -4
  644. package/dist/index.js +2 -4
  645. package/dist/index.umd.js +3 -3
  646. package/dist/llms-full.txt +1 -1
  647. package/dist/llms.txt +1 -1
  648. package/dist/manifest.json +10 -5
  649. package/dist/presets/extended.cjs +1 -1
  650. package/dist/presets/extended.js +1 -1
  651. package/dist/presets-extended.umd.js +1 -1
  652. package/dist/react.cjs +1 -2
  653. package/dist/react.js +1 -2
  654. package/dist/runtime/drag-snap.cjs +2 -2
  655. package/dist/runtime/drag-snap.iife.js +1 -1
  656. package/dist/runtime/drag-snap.js +2 -2
  657. package/dist/runtime/format-apng.cjs +3 -6
  658. package/dist/runtime/format-apng.iife.js +1 -1
  659. package/dist/runtime/format-apng.js +3 -6
  660. package/dist/runtime/format-css.cjs +3 -6
  661. package/dist/runtime/format-css.iife.js +1 -1
  662. package/dist/runtime/format-css.js +3 -6
  663. package/dist/runtime/format-gif.cjs +3 -6
  664. package/dist/runtime/format-gif.iife.js +1 -1
  665. package/dist/runtime/format-gif.js +3 -6
  666. package/dist/runtime/format-gltf.cjs +2 -2
  667. package/dist/runtime/format-gltf.iife.js +1 -1
  668. package/dist/runtime/format-gltf.js +2 -2
  669. package/dist/runtime/format-motion.cjs +4 -5
  670. package/dist/runtime/format-motion.iife.js +1 -1
  671. package/dist/runtime/format-motion.js +4 -5
  672. package/dist/runtime/format-obj.cjs +2 -2
  673. package/dist/runtime/format-obj.iife.js +1 -1
  674. package/dist/runtime/format-obj.js +2 -2
  675. package/dist/runtime/format-scene.cjs +2 -2
  676. package/dist/runtime/format-scene.iife.js +1 -1
  677. package/dist/runtime/format-scene.js +2 -2
  678. package/dist/runtime/format-sprite.cjs +3 -5
  679. package/dist/runtime/format-sprite.iife.js +1 -1
  680. package/dist/runtime/format-sprite.js +3 -5
  681. package/dist/runtime/format-svg.cjs +3 -4
  682. package/dist/runtime/format-svg.iife.js +1 -1
  683. package/dist/runtime/format-svg.js +3 -4
  684. package/dist/runtime/format-webp.cjs +3 -6
  685. package/dist/runtime/format-webp.iife.js +1 -1
  686. package/dist/runtime/format-webp.js +3 -6
  687. package/dist/runtime/gl.cjs +2 -2
  688. package/dist/runtime/gl.iife.js +1 -1
  689. package/dist/runtime/gl.js +2 -2
  690. package/dist/runtime/gltf-anim.cjs +2 -2
  691. package/dist/runtime/gltf-anim.iife.js +1 -1
  692. package/dist/runtime/gltf-anim.js +2 -2
  693. package/dist/runtime/gltf-decoders.cjs +2 -2
  694. package/dist/runtime/gltf-decoders.iife.js +1 -1
  695. package/dist/runtime/gltf-decoders.js +2 -2
  696. package/dist/runtime/lottie-state.cjs +2 -2
  697. package/dist/runtime/lottie-state.iife.js +1 -1
  698. package/dist/runtime/lottie-state.js +2 -2
  699. package/dist/runtime/physics.cjs +2 -2
  700. package/dist/runtime/physics.iife.js +1 -1
  701. package/dist/runtime/physics.js +2 -2
  702. package/dist/runtime/scroll.cjs +3 -3
  703. package/dist/runtime/scroll.iife.js +1 -1
  704. package/dist/runtime/scroll.js +3 -3
  705. package/dist/runtime/smooth.cjs +2 -2
  706. package/dist/runtime/smooth.iife.js +1 -1
  707. package/dist/runtime/smooth.js +2 -2
  708. package/dist/runtime/text.cjs +2 -2
  709. package/dist/runtime/text.iife.js +1 -1
  710. package/dist/runtime/text.js +2 -2
  711. package/dist/runtime/vector.cjs +3 -5
  712. package/dist/runtime/vector.iife.js +1 -1
  713. package/dist/runtime/vector.js +3 -5
  714. package/dist/runtime.cjs +4 -4
  715. package/dist/runtime.d.cts +1 -1
  716. package/dist/runtime.d.ts +1 -1
  717. package/dist/runtime.iife.js +2 -2
  718. package/dist/runtime.js +6 -6
  719. package/dist/solid.cjs +1 -2
  720. package/dist/solid.js +1 -2
  721. package/dist/svelte.cjs +1 -2
  722. package/dist/svelte.js +1 -2
  723. package/dist/vue.cjs +1 -2
  724. package/dist/vue.js +1 -2
  725. package/dist/widgets/add-to-cart.cjs +4 -7
  726. package/dist/widgets/add-to-cart.js +4 -7
  727. package/dist/widgets/badge-wall.cjs +2 -3
  728. package/dist/widgets/badge-wall.js +2 -3
  729. package/dist/widgets/bar-chart.cjs +2 -2
  730. package/dist/widgets/bar-chart.js +2 -2
  731. package/dist/widgets/bg-generator.cjs +2 -5
  732. package/dist/widgets/bg-generator.js +2 -5
  733. package/dist/widgets/carousel.cjs +2 -4
  734. package/dist/widgets/carousel.js +2 -4
  735. package/dist/widgets/cart-drawer.cjs +2 -3
  736. package/dist/widgets/cart-drawer.js +2 -3
  737. package/dist/widgets/chapter-nav.cjs +2 -2
  738. package/dist/widgets/chapter-nav.js +2 -2
  739. package/dist/widgets/chat-composer.cjs +2 -2
  740. package/dist/widgets/chat-composer.js +2 -2
  741. package/dist/widgets/clock-control.cjs +2 -2
  742. package/dist/widgets/clock-control.js +2 -2
  743. package/dist/widgets/code-export.cjs +2 -4
  744. package/dist/widgets/code-export.js +2 -4
  745. package/dist/widgets/color-picker.cjs +2 -4
  746. package/dist/widgets/color-picker.js +2 -4
  747. package/dist/widgets/command-palette.cjs +2 -3
  748. package/dist/widgets/command-palette.js +2 -3
  749. package/dist/widgets/compare.cjs +5 -5
  750. package/dist/widgets/compare.js +5 -5
  751. package/dist/widgets/countdown.cjs +2 -3
  752. package/dist/widgets/countdown.js +2 -3
  753. package/dist/widgets/cube-gallery.cjs +2 -2
  754. package/dist/widgets/cube-gallery.js +2 -2
  755. package/dist/widgets/date-picker.cjs +2 -4
  756. package/dist/widgets/date-picker.js +2 -4
  757. package/dist/widgets/disclosure.cjs +3 -3
  758. package/dist/widgets/disclosure.js +3 -3
  759. package/dist/widgets/dock.cjs +4 -4
  760. package/dist/widgets/dock.js +4 -4
  761. package/dist/widgets/dotlottie.cjs +1 -5
  762. package/dist/widgets/dotlottie.js +1 -5
  763. package/dist/widgets/equalizer.cjs +2 -4
  764. package/dist/widgets/equalizer.js +2 -4
  765. package/dist/widgets/festival-banner.cjs +2 -3
  766. package/dist/widgets/festival-banner.js +2 -3
  767. package/dist/widgets/field.cjs +2 -3
  768. package/dist/widgets/field.js +2 -3
  769. package/dist/widgets/file-drop.cjs +2 -2
  770. package/dist/widgets/file-drop.js +2 -2
  771. package/dist/widgets/gauge.cjs +6 -5
  772. package/dist/widgets/gauge.js +6 -5
  773. package/dist/widgets/gen-art.cjs +6 -6
  774. package/dist/widgets/gen-art.js +6 -6
  775. package/dist/widgets/gesture-sticker.cjs +2 -3
  776. package/dist/widgets/gesture-sticker.js +2 -3
  777. package/dist/widgets/gl-model.cjs +1 -5
  778. package/dist/widgets/gl-model.js +1 -5
  779. package/dist/widgets/gl-scene.cjs +2 -5
  780. package/dist/widgets/gl-scene.js +2 -5
  781. package/dist/widgets/globe.cjs +2 -3
  782. package/dist/widgets/globe.js +2 -3
  783. package/dist/widgets/gpu-particles.cjs +2 -3
  784. package/dist/widgets/gpu-particles.js +2 -3
  785. package/dist/widgets/gyro-card.cjs +2 -3
  786. package/dist/widgets/gyro-card.js +2 -3
  787. package/dist/widgets/hero-video.cjs +2 -3
  788. package/dist/widgets/hero-video.js +2 -3
  789. package/dist/widgets/hud-panel.cjs +2 -2
  790. package/dist/widgets/hud-panel.js +2 -2
  791. package/dist/widgets/hydrate.cjs +2 -2
  792. package/dist/widgets/hydrate.js +2 -2
  793. package/dist/widgets/install-button.cjs +2 -2
  794. package/dist/widgets/install-button.js +2 -2
  795. package/dist/widgets/kanban.cjs +2 -2
  796. package/dist/widgets/kanban.js +2 -2
  797. package/dist/widgets/keyframe-editor.cjs +5 -8
  798. package/dist/widgets/keyframe-editor.js +5 -8
  799. package/dist/widgets/kpi.cjs +7 -6
  800. package/dist/widgets/kpi.js +7 -6
  801. package/dist/widgets/leaderboard.cjs +2 -3
  802. package/dist/widgets/leaderboard.js +2 -3
  803. package/dist/widgets/liquid-nav.cjs +3 -3
  804. package/dist/widgets/liquid-nav.js +3 -3
  805. package/dist/widgets/location-card.cjs +2 -3
  806. package/dist/widgets/location-card.js +2 -3
  807. package/dist/widgets/lottie-icon.cjs +2 -7
  808. package/dist/widgets/lottie-icon.js +2 -7
  809. package/dist/widgets/lottie-player.cjs +2 -5
  810. package/dist/widgets/lottie-player.js +2 -5
  811. package/dist/widgets/lottie.cjs +2 -3
  812. package/dist/widgets/lottie.js +2 -3
  813. package/dist/widgets/lyrics.cjs +2 -4
  814. package/dist/widgets/lyrics.js +2 -4
  815. package/dist/widgets/masonry-flow.cjs +2 -2
  816. package/dist/widgets/masonry-flow.js +2 -2
  817. package/dist/widgets/menu-toggle.cjs +2 -3
  818. package/dist/widgets/menu-toggle.js +2 -3
  819. package/dist/widgets/menu.cjs +2 -4
  820. package/dist/widgets/menu.js +2 -4
  821. package/dist/widgets/message-list.cjs +2 -2
  822. package/dist/widgets/message-list.js +2 -2
  823. package/dist/widgets/milestones.cjs +4 -4
  824. package/dist/widgets/milestones.js +4 -4
  825. package/dist/widgets/modal.cjs +2 -5
  826. package/dist/widgets/modal.js +2 -5
  827. package/dist/widgets/motion-inspector.cjs +3 -3
  828. package/dist/widgets/motion-inspector.js +3 -3
  829. package/dist/widgets/motion-prefs.cjs +2 -3
  830. package/dist/widgets/motion-prefs.js +2 -3
  831. package/dist/widgets/motion-prompt.cjs +2 -2
  832. package/dist/widgets/motion-prompt.js +2 -2
  833. package/dist/widgets/motion-spec.cjs +2 -5
  834. package/dist/widgets/motion-spec.js +2 -5
  835. package/dist/widgets/motion.cjs +2 -3
  836. package/dist/widgets/motion.js +2 -3
  837. package/dist/widgets/music-player.cjs +7 -6
  838. package/dist/widgets/music-player.js +7 -6
  839. package/dist/widgets/native-preview.cjs +2 -6
  840. package/dist/widgets/native-preview.js +2 -6
  841. package/dist/widgets/nav-morph.cjs +2 -4
  842. package/dist/widgets/nav-morph.js +2 -4
  843. package/dist/widgets/notification-bell.cjs +2 -2
  844. package/dist/widgets/notification-bell.js +2 -2
  845. package/dist/widgets/odometer.cjs +2 -4
  846. package/dist/widgets/odometer.js +2 -4
  847. package/dist/widgets/organic-card.cjs +2 -3
  848. package/dist/widgets/organic-card.js +2 -3
  849. package/dist/widgets/otp.cjs +2 -3
  850. package/dist/widgets/otp.js +2 -3
  851. package/dist/widgets/pagination.cjs +2 -5
  852. package/dist/widgets/pagination.js +2 -5
  853. package/dist/widgets/panorama.cjs +7 -7
  854. package/dist/widgets/panorama.js +7 -7
  855. package/dist/widgets/parallax-layers.cjs +4 -4
  856. package/dist/widgets/parallax-layers.js +7 -7
  857. package/dist/widgets/pause-all.cjs +2 -2
  858. package/dist/widgets/pause-all.js +2 -2
  859. package/dist/widgets/perf-monitor.cjs +2 -3
  860. package/dist/widgets/perf-monitor.js +2 -3
  861. package/dist/widgets/physics-playground.cjs +2 -5
  862. package/dist/widgets/physics-playground.js +2 -5
  863. package/dist/widgets/plugin-card.cjs +4 -4
  864. package/dist/widgets/plugin-card.js +4 -4
  865. package/dist/widgets/plugin-store.cjs +2 -5
  866. package/dist/widgets/plugin-store.js +2 -5
  867. package/dist/widgets/presence.cjs +2 -3
  868. package/dist/widgets/presence.js +2 -3
  869. package/dist/widgets/prize-wheel.cjs +2 -3
  870. package/dist/widgets/prize-wheel.js +2 -3
  871. package/dist/widgets/product-gallery.cjs +2 -3
  872. package/dist/widgets/product-gallery.js +2 -3
  873. package/dist/widgets/progress-ring.cjs +2 -4
  874. package/dist/widgets/progress-ring.js +2 -4
  875. package/dist/widgets/prop-panel.cjs +2 -3
  876. package/dist/widgets/prop-panel.js +2 -3
  877. package/dist/widgets/pull-cord.cjs +7 -6
  878. package/dist/widgets/pull-cord.js +7 -6
  879. package/dist/widgets/radar.cjs +2 -3
  880. package/dist/widgets/radar.js +2 -3
  881. package/dist/widgets/reactions.cjs +2 -3
  882. package/dist/widgets/reactions.js +2 -3
  883. package/dist/widgets/red-envelope.cjs +4 -4
  884. package/dist/widgets/red-envelope.js +4 -4
  885. package/dist/widgets/retro-button.cjs +2 -3
  886. package/dist/widgets/retro-button.js +2 -3
  887. package/dist/widgets/rive.cjs +2 -3
  888. package/dist/widgets/rive.js +2 -3
  889. package/dist/widgets/route-transition.cjs +2 -2
  890. package/dist/widgets/route-transition.js +2 -2
  891. package/dist/widgets/scene.cjs +2 -3
  892. package/dist/widgets/scene.js +2 -3
  893. package/dist/widgets/scroll-ring.cjs +4 -4
  894. package/dist/widgets/scroll-ring.js +7 -7
  895. package/dist/widgets/scroll-scene.cjs +2 -5
  896. package/dist/widgets/scroll-scene.js +2 -5
  897. package/dist/widgets/segmented.cjs +2 -4
  898. package/dist/widgets/segmented.js +2 -4
  899. package/dist/widgets/shader-backdrop.cjs +2 -3
  900. package/dist/widgets/shader-backdrop.js +2 -3
  901. package/dist/widgets/sheet.cjs +2 -5
  902. package/dist/widgets/sheet.js +2 -5
  903. package/dist/widgets/shortcut.cjs +3 -3
  904. package/dist/widgets/shortcut.js +3 -3
  905. package/dist/widgets/skeleton-reveal.cjs +2 -4
  906. package/dist/widgets/skeleton-reveal.js +2 -4
  907. package/dist/widgets/sketch-chart.cjs +2 -3
  908. package/dist/widgets/sketch-chart.js +2 -3
  909. package/dist/widgets/smooth-scroll.cjs +3 -4
  910. package/dist/widgets/smooth-scroll.js +3 -4
  911. package/dist/widgets/snap-carousel.cjs +1 -4
  912. package/dist/widgets/snap-carousel.js +1 -4
  913. package/dist/widgets/sparkline.cjs +2 -3
  914. package/dist/widgets/sparkline.js +2 -3
  915. package/dist/widgets/spatial-card.cjs +2 -2
  916. package/dist/widgets/spatial-card.js +2 -2
  917. package/dist/widgets/star-rating.cjs +2 -2
  918. package/dist/widgets/star-rating.js +2 -2
  919. package/dist/widgets/stepper.cjs +2 -2
  920. package/dist/widgets/stepper.js +2 -2
  921. package/dist/widgets/sticky-wall.cjs +2 -3
  922. package/dist/widgets/sticky-wall.js +2 -3
  923. package/dist/widgets/stories.cjs +2 -2
  924. package/dist/widgets/stories.js +2 -2
  925. package/dist/widgets/suggestion-chips.cjs +2 -3
  926. package/dist/widgets/suggestion-chips.js +2 -3
  927. package/dist/widgets/swipe-deck.cjs +2 -2
  928. package/dist/widgets/swipe-deck.js +2 -2
  929. package/dist/widgets/switch.cjs +2 -3
  930. package/dist/widgets/switch.js +2 -3
  931. package/dist/widgets/tab-bar.cjs +2 -4
  932. package/dist/widgets/tab-bar.js +2 -4
  933. package/dist/widgets/terminal.cjs +2 -2
  934. package/dist/widgets/terminal.js +2 -2
  935. package/dist/widgets/text-splitter.cjs +4 -4
  936. package/dist/widgets/text-splitter.js +4 -4
  937. package/dist/widgets/theme-surface.cjs +2 -3
  938. package/dist/widgets/theme-surface.js +2 -3
  939. package/dist/widgets/theme-switcher.cjs +2 -3
  940. package/dist/widgets/theme-switcher.js +2 -3
  941. package/dist/widgets/tip.cjs +2 -4
  942. package/dist/widgets/tip.js +2 -4
  943. package/dist/widgets/toast-stack.cjs +2 -6
  944. package/dist/widgets/toast-stack.js +2 -6
  945. package/dist/widgets/token-editor.cjs +2 -2
  946. package/dist/widgets/token-editor.js +2 -2
  947. package/dist/widgets/upload-progress.cjs +2 -3
  948. package/dist/widgets/upload-progress.js +2 -3
  949. package/dist/widgets/video-card.cjs +2 -2
  950. package/dist/widgets/video-card.js +2 -2
  951. package/dist/widgets/voice-button.cjs +2 -3
  952. package/dist/widgets/voice-button.js +2 -3
  953. package/dist/widgets/volume-knob.cjs +2 -2
  954. package/dist/widgets/volume-knob.js +2 -2
  955. package/dist/widgets/weather-card.cjs +2 -3
  956. package/dist/widgets/weather-card.js +2 -3
  957. package/dist/widgets/worker-canvas.cjs +2 -5
  958. package/dist/widgets/worker-canvas.js +2 -5
  959. package/dist/widgets/xp-bar.cjs +2 -3
  960. package/dist/widgets/xp-bar.js +2 -3
  961. package/dist/widgets.umd.js +2 -2
  962. package/docs/components/usa-aurora.md +1 -1
  963. package/docs/components/usa-carousel-3d.md +1 -1
  964. package/docs/components/usa-story.md +1 -1
  965. package/docs/components/usa-switch.md +1 -1
  966. package/docs/components.md +1 -1
  967. package/docs/frameworks-matrix.md +64 -0
  968. package/docs/frameworks-ssr.md +24 -8
  969. package/docs/public-api.md +1 -1
  970. package/docs/scheduling.md +58 -0
  971. package/package.json +23 -2
@@ -1,2 +1,2 @@
1
1
 
2
- //# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.3.0/dist/components/jsx.js.map
2
+ //# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.5.0/dist/components/jsx.js.map
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var base = require('../chunks/base-vu_KhBiv.cjs');
3
+ var base = require('../chunks/base-BvH4nAcv.cjs');
4
4
 
5
5
  /** FLIP keyframes from a previous box to the current one (pure). */
6
6
  function flipFrames(from, to, scale = true) {
@@ -213,7 +213,7 @@ function defineMasonry(tag = 'usa-masonry') {
213
213
  if (id)
214
214
  return;
215
215
  // contract-exempt: reduced-motion — rAF batches layout, no motion
216
- id = requestAnimationFrame(() => {
216
+ id = base.raf(() => {
217
217
  id = 0;
218
218
  this.layout();
219
219
  });
@@ -258,4 +258,4 @@ exports.defineMasonry = defineMasonry;
258
258
  exports.flipFrames = flipFrames;
259
259
  exports.masonryLayout = masonryLayout;
260
260
  exports.sharedTransition = sharedTransition;
261
- //# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.3.0/dist/components/layout.cjs.map
261
+ //# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.5.0/dist/components/layout.cjs.map
@@ -1,4 +1,4 @@
1
- import { p as prefersReducedMotion, D as EASE_OUT, m as motionScale, f as defineElement } from '../chunks/base-nzeN_ux7.js';
1
+ import { p as prefersReducedMotion, H as EASE_OUT, m as motionScale, f as defineElement, r as raf } from '../chunks/base-C9CJrhL3.js';
2
2
 
3
3
  /** FLIP keyframes from a previous box to the current one (pure). */
4
4
  function flipFrames(from, to, scale = true) {
@@ -211,7 +211,7 @@ function defineMasonry(tag = 'usa-masonry') {
211
211
  if (id)
212
212
  return;
213
213
  // contract-exempt: reduced-motion — rAF batches layout, no motion
214
- id = requestAnimationFrame(() => {
214
+ id = raf(() => {
215
215
  id = 0;
216
216
  this.layout();
217
217
  });
@@ -250,4 +250,4 @@ function defineLayoutComponents() {
250
250
  }
251
251
 
252
252
  export { autoAnimate, defineAutoAnimate, defineLayoutComponents, defineMasonry, flipFrames, masonryLayout, sharedTransition };
253
- //# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.3.0/dist/components/layout.js.map
253
+ //# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.5.0/dist/components/layout.js.map
@@ -89,4 +89,4 @@ exports.categoryOfTag = categoryOfTag;
89
89
  exports.defineUsed = defineUsed;
90
90
  exports.lazyDefine = lazyDefine;
91
91
  exports.loadCategory = loadCategory;
92
- //# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.3.0/dist/components/lazy.cjs.map
92
+ //# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.5.0/dist/components/lazy.cjs.map
@@ -84,4 +84,4 @@ function lazyDefine(root = typeof document !== 'undefined' ? document : undefine
84
84
  }
85
85
 
86
86
  export { categoryOfTag, defineUsed, lazyDefine, loadCategory };
87
- //# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.3.0/dist/components/lazy.js.map
87
+ //# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.5.0/dist/components/lazy.js.map
@@ -21,16 +21,16 @@ function configureComponents(options) {
21
21
  if (options.reducedMotion && options.reducedMotion !== 'reduce')
22
22
  options.reducedMotion = 'user';
23
23
  Object.assign(config, options);
24
- if (options.motionIntensity && typeof document !== 'undefined') {
25
- document.documentElement.style.setProperty('--usa-motion', String(MOTION_SCALE[options.motionIntensity] ?? 1));
26
- document.documentElement.setAttribute('data-usa-motion', options.motionIntensity);
27
- }
28
- if (options.motionSensitivity && typeof document !== 'undefined') {
29
- if (options.motionSensitivity === 'full')
30
- document.documentElement.removeAttribute('data-usa-sensitivity');
31
- else
32
- document.documentElement.setAttribute('data-usa-sensitivity', options.motionSensitivity);
24
+ const { motionIntensity: mi, motionSensitivity: ms } = options;
25
+ if (typeof document == 'undefined')
26
+ return;
27
+ const de = document.documentElement;
28
+ if (mi) {
29
+ de.style.setProperty('--usa-motion', String(MOTION_SCALE[mi] ?? 1));
30
+ de.setAttribute('data-usa-motion', mi);
33
31
  }
32
+ if (ms)
33
+ ms == 'full' ? de.removeAttribute('data-usa-sensitivity') : de.setAttribute('data-usa-sensitivity', ms);
34
34
  }
35
35
  /** The current motion-sensitivity level (v4.4). */
36
36
  function getMotionSensitivity() {
@@ -49,28 +49,18 @@ function adaptKeyframes(frames, level = config.motionSensitivity) {
49
49
  return [frames[frames.length - 1]];
50
50
  return frames.map((f) => {
51
51
  const out = {};
52
- for (const [k, v] of Object.entries(f)) {
53
- if (k === 'offset' || k === 'easing' || k === 'composite')
52
+ for (const [k, v] of Object.entries(f))
53
+ if (k === 'offset' ||
54
+ k === 'easing' ||
55
+ k === 'composite' ||
56
+ (level === 'minimal' ? k === 'opacity' : !(k === 'rotate' || k === 'scale' || (k === 'transform' && VESTIBULAR.test(String(v))))))
54
57
  out[k] = v;
55
- else if (level === 'minimal') {
56
- if (k === 'opacity')
57
- out[k] = v;
58
- }
59
- else if (k === 'rotate' || k === 'scale' || (k === 'transform' && VESTIBULAR.test(String(v))))
60
- continue;
61
- else
62
- out[k] = v;
63
- }
64
58
  return out;
65
59
  });
66
60
  }
67
- /** Run `fn` without 4.9 deprecation warnings (library-internal calls). */
61
+ /** Run `fn` without 4.9 deprecation warnings (library-internal calls). The suppression counter was never read, so this simply runs `fn` (counter removed in 13.4). */
68
62
  function withoutDeprecations(fn) {
69
- try {
70
- return fn();
71
- }
72
- finally {
73
- }
63
+ return fn();
74
64
  }
75
65
  /** The current global motion intensity. */
76
66
  function getMotionIntensity() {
@@ -109,38 +99,34 @@ function adoptStyles(id, css) {
109
99
  if (!config.injectStyles || !css || injected.has(id) || typeof document === 'undefined')
110
100
  return;
111
101
  injected.add(id);
102
+ if (!adopt(document, css, true))
103
+ (document.head || document.documentElement).appendChild(styleEl(css)).setAttribute('data-usa', id);
104
+ }
105
+ /** Constructable stylesheet onto `root` (appended for a document, replacing for a shadow root); false without support. */
106
+ function adopt(root, css, add) {
112
107
  try {
113
- if (typeof CSSStyleSheet === 'function' && 'adoptedStyleSheets' in document) {
108
+ // no CSSStyleSheet constructor → ReferenceError → caught → <style>
109
+ if ('adoptedStyleSheets' in root) {
114
110
  const sheet = new CSSStyleSheet();
115
111
  sheet.replaceSync(css);
116
- document.adoptedStyleSheets = [...document.adoptedStyleSheets, sheet];
117
- return;
112
+ root.adoptedStyleSheets = add ? [...root.adoptedStyleSheets, sheet] : [sheet];
113
+ return true;
118
114
  }
119
115
  }
120
116
  catch {
121
117
  /* fall through to <style> */
122
118
  }
119
+ return false;
120
+ }
121
+ const styleEl = (css) => {
123
122
  const style = document.createElement('style');
124
- style.setAttribute('data-usa', id);
125
123
  style.textContent = css;
126
- (document.head || document.documentElement).appendChild(style);
127
- }
124
+ return style;
125
+ };
128
126
  /** Attach `css` to a shadow root (constructable sheet where supported, else `<style>`). */
129
127
  function shadowStyles(root, css) {
130
- try {
131
- if (typeof CSSStyleSheet === 'function' && 'adoptedStyleSheets' in root) {
132
- const sheet = new CSSStyleSheet();
133
- sheet.replaceSync(css);
134
- root.adoptedStyleSheets = [sheet];
135
- return;
136
- }
137
- }
138
- catch {
139
- /* fall through */
140
- }
141
- const style = document.createElement('style');
142
- style.textContent = css;
143
- root.prepend(style);
128
+ if (!adopt(root, css))
129
+ root.prepend(styleEl(css));
144
130
  }
145
131
  let baseClass = null;
146
132
  /** The lazily created base class (needs `HTMLElement`). */
@@ -151,7 +137,6 @@ function getBase() {
151
137
  constructor() {
152
138
  super(...arguments);
153
139
  this._cleanups = [];
154
- this._connected = false;
155
140
  }
156
141
  get reduced() {
157
142
  return prefersReducedMotion();
@@ -160,17 +145,17 @@ function getBase() {
160
145
  if (this._connected)
161
146
  return;
162
147
  this._connected = true;
148
+ // 13.5.0: a property set before the element was defined (React 18 wrappers, Vue `.prop`, Svelte, Angular
149
+ // `[prop]` while hydrating, then define) sits on the instance and hides the class's setter — move it through.
150
+ for (const [k, v] of Object.entries(this))
151
+ if (k in Object.getPrototypeOf(this))
152
+ delete this[k], (this[k] = v);
163
153
  styleLoader?.(this.localName);
164
154
  // Upgraded while the parser is still inside us (a <script> in <head>
165
155
  // defined the element): children/text are not there yet, so wait.
166
- if (typeof document !== 'undefined' && document.readyState === 'loading' && !this.nextSibling && !this.childNodes.length) {
167
- const go = () => {
168
- if (this._connected && this.isConnected)
169
- this.mount();
170
- };
171
- document.addEventListener('DOMContentLoaded', go, { once: true });
172
- this._cleanups.push(() => document.removeEventListener('DOMContentLoaded', go));
173
- return;
156
+ if (document.readyState === 'loading' && !this.nextSibling && !this.childNodes.length) {
157
+ // listen() = addEventListener + a cleanup that removes it (same as before, smaller)
158
+ return this.listen(document, 'DOMContentLoaded', () => this._connected && this.isConnected && this.mount(), { once: true });
174
159
  }
175
160
  this.mount();
176
161
  }
@@ -195,12 +180,11 @@ function getBase() {
195
180
  mount() { }
196
181
  unmount() { }
197
182
  str(name, fallback = '') {
198
- const v = this.getAttribute(name);
199
- return v === null ? fallback : v;
183
+ return this.getAttribute(name) ?? fallback;
200
184
  }
201
185
  num(name, fallback) {
202
186
  const v = this.getAttribute(name);
203
- const n = v === null || v.trim() === '' ? NaN : Number(v);
187
+ const n = v?.trim() ? Number(v) : NaN;
204
188
  return Number.isFinite(n) ? n : fallback;
205
189
  }
206
190
  /** Boolean attribute: present and not `"false"`. */
@@ -209,10 +193,7 @@ function getBase() {
209
193
  return v !== null && v !== 'false';
210
194
  }
211
195
  setFlag(name, on) {
212
- if (on)
213
- this.setAttribute(name, '');
214
- else
215
- this.removeAttribute(name);
196
+ this.toggleAttribute(name, !!on);
216
197
  }
217
198
  onCleanup(fn) {
218
199
  this._cleanups.push(fn);
@@ -260,12 +241,8 @@ function getBase() {
260
241
  * `null` (final frame applied) when nothing should animate.
261
242
  */
262
243
  function animateWithMotion(el, keyframes, options) {
263
- if (typeof el.animate !== 'function' || config.motionSensitivity === 'static') {
264
- applyFrame(el, keyframes[keyframes.length - 1]);
265
- return null;
266
- }
267
- keyframes = adaptKeyframes(keyframes);
268
- if (active$1 >= maxActive) {
244
+ // no WAAPI / `static` → the unadapted final frame; over the animation budget → the adapted one
245
+ if (typeof el.animate !== 'function' || config.motionSensitivity === 'static' || ((keyframes = adaptKeyframes(keyframes)), active$1 >= maxActive)) {
269
246
  applyFrame(el, keyframes[keyframes.length - 1]);
270
247
  return null;
271
248
  }
@@ -276,13 +253,8 @@ function animateWithMotion(el, keyframes, options) {
276
253
  trackAnimation(a);
277
254
  if (options.iterations !== Infinity) {
278
255
  active$1++;
279
- let done = false;
280
- const end = () => {
281
- if (!done) {
282
- done = true;
283
- active$1--;
284
- }
285
- };
256
+ // settles exactly once (fulfilled or rejected), so no guard is needed
257
+ const end = () => void active$1--;
286
258
  a?.finished?.then(end, end);
287
259
  }
288
260
  return a;
@@ -323,41 +295,62 @@ function srText(text) {
323
295
  return s;
324
296
  }
325
297
  // --- shared rAF scheduler (4.5) ----------------------------------------------
326
- // Every component loop goes through one requestAnimationFrame per frame
327
- // instead of one per element: callbacks are batched, run in order, and a
328
- // throwing callback no longer starves the others (the first error is rethrown).
298
+ // One requestAnimationFrame per frame for every component loop; a throwing
299
+ // callback no longer starves the others (the first error is rethrown).
300
+ // 13.4: frame budget (over-budget callbacks wait for the next frame, oldest
301
+ // first); a callback / loop given an owner element is dropped once the owner
302
+ // is detached. Offscreen / hidden-tab pause is a plug-in (setPauseHook,
303
+ // installed by motionary/components/offscreen — not part of lite).
329
304
  const frameQueue = /*#__PURE__*/ new Map();
330
305
  let frameSeq = 1;
331
306
  let frameHandle = 0;
332
307
  let frameVia = null;
333
- const frameStats = { frames: 0, callbacks: 0, peak: 0, last: 0 };
334
- const frameListeners = new Set();
308
+ const frameStats = { frames: 0, callbacks: 0, peak: 0, last: 0, deferred: 0, parked: 0, budget: 8 };
309
+ /** loop → owner element */
310
+ const frameListeners = /*#__PURE__*/ new Map();
311
+ /** 0 run, 1 park (detached owner / pause hook), 2 drop (raf callback of a detached owner). */
312
+ const gate = (el) => (el && !el.isConnected ? 2 : 0);
335
313
  function flushFrame(t) {
314
+ const st = frameStats;
336
315
  frameHandle = 0;
337
- const dt = frameStats.last && t > frameStats.last ? t - frameStats.last : 16.7;
338
- frameStats.last = t;
339
- frameStats.frames++;
340
- const cbs = Array.from(frameQueue.values());
341
- frameQueue.clear();
342
- frameStats.callbacks += cbs.length;
343
- frameStats.peak = Math.max(frameStats.peak, cbs.length);
316
+ const dt = st.last && t > st.last ? t - st.last : 16.7;
317
+ st.last = t;
318
+ st.frames++;
319
+ const start = now();
320
+ let n = 0;
321
+ let p = 0;
322
+ let live = 0;
344
323
  let error = null;
345
- for (const cb of cbs) {
346
- try {
347
- cb(t);
348
- }
349
- catch (e) {
350
- error ?? (error = e);
351
- }
324
+ for (const [id, [cb, el]] of [...frameQueue]) {
325
+ if (n && now() - start > st.budget) {
326
+ st.deferred++;
327
+ break;
328
+ }
329
+ const g = gate(el);
330
+ if (g & 1)
331
+ p++;
332
+ else if ((frameQueue.delete(id), !g))
333
+ try {
334
+ n++;
335
+ cb(t);
336
+ }
337
+ catch (e) {
338
+ error ?? (error = e);
339
+ }
352
340
  }
341
+ st.callbacks += n;
342
+ st.peak = Math.max(st.peak, n);
353
343
  // 8.0: loops run on the unified motion clock — dt scaled by its rate, frozen while paused
354
- if (!clk().paused) {
355
- const cdt = dt * clk().rate;
356
- clk().time += cdt;
357
- frameListeners.forEach((fn) => fn(t, cdt));
358
- if (frameListeners.size)
359
- requestFlush();
344
+ const c = clk();
345
+ if (!c.paused) {
346
+ const cdt = dt * c.rate;
347
+ c.time += cdt;
348
+ frameListeners.forEach((el, fn) => (gate(el) ? p++ : (live++, fn(t, cdt))));
360
349
  }
350
+ st.parked += p;
351
+ // everything parked: the pause hook's wake() restarts the loop
352
+ if (live || frameQueue.size > p)
353
+ requestFlush();
361
354
  if (error)
362
355
  throw error;
363
356
  }
@@ -369,43 +362,55 @@ function requestFlush() {
369
362
  frameVia = native;
370
363
  frameHandle = native ? native(flushFrame) : setTimeout(() => flushFrame(now()), 16);
371
364
  }
372
- /** requestAnimationFrame through the shared scheduler (timeout fallback in jsdom / hidden documents). */
373
- const raf = (cb) => {
365
+ /**
366
+ * requestAnimationFrame through the shared scheduler (timeout fallback in jsdom / hidden documents).
367
+ * 13.4: with an owner `el` the callback is dropped once `el` is detached (and paused off screen when the offscreen plug-in is installed).
368
+ */
369
+ const raf = (cb, el) => {
374
370
  const id = frameSeq++;
375
- frameQueue.set(id, cb);
371
+ frameQueue.set(id, [cb, el]);
376
372
  requestFlush();
377
373
  return id;
378
374
  };
379
- /** Monotonic time in ms (rAF callback timestamps differ between environments, so loops use this). */
380
- const now = () => (typeof performance !== 'undefined' ? performance.now() : Date.now());
375
+ /** High-resolution time (13.4: `performance` is global in every supported browser and Node ≥ 16). */
376
+ const now = () => performance.now();
381
377
  const caf = (id) => {
382
378
  frameQueue.delete(id);
383
379
  };
384
- /** Run `fn(time, dt)` every frame on the shared scheduler until the returned function is called. */
385
- function onFrame(fn) {
386
- frameListeners.add(fn);
380
+ /**
381
+ * Run `fn(time, dt)` every frame on the shared scheduler until the returned function is called.
382
+ * 13.4: with an owner `el` the loop stops running once `el` is detached (and pauses off screen with the offscreen plug-in).
383
+ */
384
+ function onFrame(fn, el) {
385
+ frameListeners.set(fn, el);
387
386
  if (!clk().paused)
388
387
  requestFlush();
389
388
  return () => frameListeners.delete(fn);
390
389
  }
391
- /** Scheduler counters: frames flushed, callbacks run, peak callbacks in one frame, pending now. */
390
+ /** Scheduler counters: frames flushed, callbacks run, peak per frame, pending now, loops, frames split by the budget, callbacks / loops parked, budget ms. */
392
391
  function schedulerStats() {
393
- return { frames: frameStats.frames, callbacks: frameStats.callbacks, peak: frameStats.peak, pending: frameQueue.size, loops: frameListeners.size };
392
+ const { last, ...rest } = frameStats;
393
+ return { ...rest, pending: frameQueue.size, loops: frameListeners.size };
394
+ }
395
+ /** 13.4: per-frame time budget in ms for queued callbacks (default 8; `Infinity` = never split a frame). */
396
+ function setFrameBudget(ms) {
397
+ frameStats.budget = ms > 0 ? ms : 8;
394
398
  }
395
399
  const CLOCK_KEY = /*#__PURE__*/ Symbol.for('motionary.clock');
396
400
  // 11.1: created on first use, so importing this module writes nothing to globalThis.
397
401
  const clk = () => { var _a; return ((_a = globalThis)[CLOCK_KEY] || (_a[CLOCK_KEY] = { rate: 1, paused: false, time: 0, anims: new Set(), subs: new Set() })); };
398
402
  function applyClock(a) {
403
+ const { rate, paused } = clk();
399
404
  try {
400
405
  if (typeof a.updatePlaybackRate === 'function')
401
- a.updatePlaybackRate(clk().rate);
402
- else if (clk().rate !== 1 || a.playbackRate !== undefined)
403
- a.playbackRate = clk().rate;
404
- if (clk().paused)
406
+ a.updatePlaybackRate(rate);
407
+ else if (rate !== 1 || a.playbackRate !== undefined)
408
+ a.playbackRate = rate;
409
+ if (paused)
405
410
  a.pause?.();
406
411
  else if (a.playState === 'paused' && a._usaClockPaused)
407
412
  a.play?.();
408
- a._usaClockPaused = clk().paused;
413
+ a._usaClockPaused = paused;
409
414
  }
410
415
  catch {
411
416
  /* finished / detached animation */
@@ -448,8 +453,7 @@ function deprecate(key, message) {
448
453
  if (warned.has(key))
449
454
  return;
450
455
  warned.add(key);
451
- if (typeof console !== 'undefined')
452
- console.warn(`[motionary] ${message}`);
456
+ console.warn(`[motionary] ${message}`);
453
457
  }
454
458
  /**
455
459
  * The `kind` attribute of `<usa-spinner>`, `<usa-check>`, `<usa-dialog>` and
@@ -10069,7 +10073,7 @@ function defineMasonry(tag = 'usa-masonry') {
10069
10073
  if (id)
10070
10074
  return;
10071
10075
  // contract-exempt: reduced-motion — rAF batches layout, no motion
10072
- id = requestAnimationFrame(() => {
10076
+ id = raf(() => {
10073
10077
  id = 0;
10074
10078
  this.layout();
10075
10079
  });
@@ -11276,6 +11280,7 @@ exports.schedulerStats = schedulerStats;
11276
11280
  exports.scrambleFrame = scrambleFrame;
11277
11281
  exports.scrollToTarget = scrollToTarget;
11278
11282
  exports.setAnimationBudget = setAnimationBudget;
11283
+ exports.setFrameBudget = setFrameBudget;
11279
11284
  exports.setMotionIntensity = setMotionIntensity;
11280
11285
  exports.setMotionLevel = setMotionLevel;
11281
11286
  exports.setMotionSensitivity = setMotionSensitivity;
@@ -11307,4 +11312,4 @@ exports.viewTransition = viewTransition;
11307
11312
  exports.warnBaseline = warnBaseline;
11308
11313
  exports.watchPowerSaver = watchPowerSaver;
11309
11314
  exports.withoutDeprecations = withoutDeprecations;
11310
- //# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.3.0/dist/components/lite.cjs.map
11315
+ //# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.5.0/dist/components/lite.cjs.map