use-scroll-animate 6.1.0 → 6.2.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 (352) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/README.md +157 -411
  3. package/README_ja.md +170 -175
  4. package/README_zh.md +169 -198
  5. package/dist/chunks/{base-B5i8qQPR.cjs → base-BaQV-2ha.cjs} +3 -3
  6. package/dist/chunks/base-BaQV-2ha.cjs.map +1 -0
  7. package/dist/chunks/{base-C3Sw9sAO.js → base-C_3cAoRz.js} +4 -4
  8. package/dist/chunks/base-C_3cAoRz.js.map +1 -0
  9. package/dist/chunks/{core-BYLtO0Po.cjs → core-B5T0dhFH.cjs} +3 -3
  10. package/dist/chunks/core-B5T0dhFH.cjs.map +1 -0
  11. package/dist/chunks/{core-BDcszY4L.cjs → core-BGAyaY6L.cjs} +2 -2
  12. package/dist/chunks/{core-BDcszY4L.cjs.map → core-BGAyaY6L.cjs.map} +1 -1
  13. package/dist/chunks/{core-BVQW34aX.js → core-D7cVumUu.js} +3 -3
  14. package/dist/chunks/core-D7cVumUu.js.map +1 -0
  15. package/dist/chunks/{core-DN3hHbHh.js → core-VEBw36QK.js} +2 -2
  16. package/dist/chunks/{core-DN3hHbHh.js.map → core-VEBw36QK.js.map} +1 -1
  17. package/dist/chunks/{core-BTf__I-8.js → core-ps8uvYuN.js} +2 -2
  18. package/dist/chunks/{core-BTf__I-8.js.map → core-ps8uvYuN.js.map} +1 -1
  19. package/dist/chunks/{core-BjOYKSrV.cjs → core-zq17EeCI.cjs} +2 -2
  20. package/dist/chunks/{core-BjOYKSrV.cjs.map → core-zq17EeCI.cjs.map} +1 -1
  21. package/dist/chunks/{fx-ChjxrMBo.js → fx-Bs6IrV4Q.js} +2 -2
  22. package/dist/chunks/{fx-ChjxrMBo.js.map → fx-Bs6IrV4Q.js.map} +1 -1
  23. package/dist/chunks/{fx-B8hk1Fby.cjs → fx-lBGVtQO1.cjs} +2 -2
  24. package/dist/chunks/{fx-B8hk1Fby.cjs.map → fx-lBGVtQO1.cjs.map} +1 -1
  25. package/dist/chunks/generative-D2YyhaeO.js +336 -0
  26. package/dist/chunks/generative-D2YyhaeO.js.map +1 -0
  27. package/dist/chunks/generative-DzIZq-_g.cjs +348 -0
  28. package/dist/chunks/generative-DzIZq-_g.cjs.map +1 -0
  29. package/dist/chunks/gpu-Bu7qwugO.js +380 -0
  30. package/dist/chunks/gpu-Bu7qwugO.js.map +1 -0
  31. package/dist/chunks/gpu-CenK2l6b.cjs +387 -0
  32. package/dist/chunks/gpu-CenK2l6b.cjs.map +1 -0
  33. package/dist/chunks/{presets-BJ09NeTo.js → presets-BYBVJVeP.js} +3 -3
  34. package/dist/chunks/presets-BYBVJVeP.js.map +1 -0
  35. package/dist/chunks/{presets-D2ksQNzJ.cjs → presets-CUHys3sK.cjs} +3 -3
  36. package/dist/chunks/presets-CUHys3sK.cjs.map +1 -0
  37. package/dist/chunks/registry-CKNLQpwd.js +121 -0
  38. package/dist/chunks/registry-CKNLQpwd.js.map +1 -0
  39. package/dist/chunks/registry-DehBVRDV.cjs +131 -0
  40. package/dist/chunks/registry-DehBVRDV.cjs.map +1 -0
  41. package/dist/chunks/{spring-CckMe3x0.js → spring-CbvHfVtP.js} +2 -2
  42. package/dist/chunks/{spring-CckMe3x0.js.map → spring-CbvHfVtP.js.map} +1 -1
  43. package/dist/chunks/{spring--oZh55tB.cjs → spring-Dgx187Vh.cjs} +2 -2
  44. package/dist/chunks/{spring--oZh55tB.cjs.map → spring-Dgx187Vh.cjs.map} +1 -1
  45. package/dist/chunks/{stagger-CvhYlKrF.cjs → stagger-CCFyhzSw.cjs} +3 -3
  46. package/dist/chunks/stagger-CCFyhzSw.cjs.map +1 -0
  47. package/dist/chunks/{stagger-Dh4V-OL0.js → stagger-DtMKo2SK.js} +3 -3
  48. package/dist/chunks/stagger-DtMKo2SK.js.map +1 -0
  49. package/dist/chunks/{variants-DxPmgrNX.cjs → variants-BhjyddG8.cjs} +2 -2
  50. package/dist/chunks/{variants-DxPmgrNX.cjs.map → variants-BhjyddG8.cjs.map} +1 -1
  51. package/dist/chunks/{variants-Bsevy6Xm.js → variants-DRlKVHvu.js} +2 -2
  52. package/dist/chunks/{variants-Bsevy6Xm.js.map → variants-DRlKVHvu.js.map} +1 -1
  53. package/dist/components/a11y.cjs +4 -4
  54. package/dist/components/a11y.cjs.map +1 -1
  55. package/dist/components/a11y.d.cts +2 -2
  56. package/dist/components/a11y.d.ts +2 -2
  57. package/dist/components/a11y.js +5 -5
  58. package/dist/components/a11y.js.map +1 -1
  59. package/dist/components/angular.cjs +9 -8
  60. package/dist/components/angular.cjs.map +1 -1
  61. package/dist/components/angular.d.cts +22 -22
  62. package/dist/components/angular.d.ts +22 -22
  63. package/dist/components/angular.js +9 -8
  64. package/dist/components/angular.js.map +1 -1
  65. package/dist/components/background.cjs +3 -3
  66. package/dist/components/background.cjs.map +1 -1
  67. package/dist/components/background.css +1 -1
  68. package/dist/components/background.d.cts +1 -1
  69. package/dist/components/background.d.ts +1 -1
  70. package/dist/components/background.js +3 -3
  71. package/dist/components/background.js.map +1 -1
  72. package/dist/components/bridge.cjs +2 -2
  73. package/dist/components/bridge.cjs.map +1 -1
  74. package/dist/components/bridge.d.cts +1 -1
  75. package/dist/components/bridge.d.ts +1 -1
  76. package/dist/components/bridge.js +2 -2
  77. package/dist/components/bridge.js.map +1 -1
  78. package/dist/components/cards.cjs +3 -3
  79. package/dist/components/cards.cjs.map +1 -1
  80. package/dist/components/cards.css +1 -1
  81. package/dist/components/cards.d.cts +1 -1
  82. package/dist/components/cards.d.ts +1 -1
  83. package/dist/components/cards.js +3 -3
  84. package/dist/components/cards.js.map +1 -1
  85. package/dist/components/click.cjs +4 -4
  86. package/dist/components/click.cjs.map +1 -1
  87. package/dist/components/click.css +1 -1
  88. package/dist/components/click.d.cts +1 -1
  89. package/dist/components/click.d.ts +1 -1
  90. package/dist/components/click.js +4 -4
  91. package/dist/components/click.js.map +1 -1
  92. package/dist/components/depth.cjs +4 -4
  93. package/dist/components/depth.cjs.map +1 -1
  94. package/dist/components/depth.css +1 -1
  95. package/dist/components/depth.d.cts +1 -1
  96. package/dist/components/depth.d.ts +1 -1
  97. package/dist/components/depth.js +4 -4
  98. package/dist/components/depth.js.map +1 -1
  99. package/dist/components/effects.cjs +84 -416
  100. package/dist/components/effects.cjs.map +1 -1
  101. package/dist/components/effects.d.cts +2 -2
  102. package/dist/components/effects.d.ts +2 -2
  103. package/dist/components/effects.js +18 -349
  104. package/dist/components/effects.js.map +1 -1
  105. package/dist/components/feedback.cjs +2 -2
  106. package/dist/components/feedback.cjs.map +1 -1
  107. package/dist/components/feedback.css +1 -1
  108. package/dist/components/feedback.d.cts +1 -1
  109. package/dist/components/feedback.d.ts +1 -1
  110. package/dist/components/feedback.js +2 -2
  111. package/dist/components/feedback.js.map +1 -1
  112. package/dist/components/fx-gpu.cjs +12 -0
  113. package/dist/components/fx-gpu.cjs.map +1 -0
  114. package/dist/components/fx-gpu.d.cts +63 -0
  115. package/dist/components/fx-gpu.d.ts +63 -0
  116. package/dist/components/fx-gpu.js +5 -0
  117. package/dist/components/fx-gpu.js.map +1 -0
  118. package/dist/components/fx.cjs +18 -138
  119. package/dist/components/fx.cjs.map +1 -1
  120. package/dist/components/fx.css +1 -1
  121. package/dist/components/fx.d.cts +2 -2
  122. package/dist/components/fx.d.ts +2 -2
  123. package/dist/components/fx.js +8 -127
  124. package/dist/components/fx.js.map +1 -1
  125. package/dist/components/fx2.cjs +25 -0
  126. package/dist/components/fx2.cjs.map +1 -0
  127. package/dist/components/fx2.d.cts +136 -0
  128. package/dist/components/fx2.d.ts +136 -0
  129. package/dist/components/fx2.js +17 -0
  130. package/dist/components/fx2.js.map +1 -0
  131. package/dist/components/gesture.cjs +4 -4
  132. package/dist/components/gesture.cjs.map +1 -1
  133. package/dist/components/gesture.css +1 -1
  134. package/dist/components/gesture.d.cts +1 -1
  135. package/dist/components/gesture.d.ts +1 -1
  136. package/dist/components/gesture.js +5 -5
  137. package/dist/components/gesture.js.map +1 -1
  138. package/dist/components/interaction.cjs +2 -2
  139. package/dist/components/interaction.cjs.map +1 -1
  140. package/dist/components/interaction.css +1 -1
  141. package/dist/components/interaction.d.cts +1 -1
  142. package/dist/components/interaction.d.ts +1 -1
  143. package/dist/components/interaction.js +2 -2
  144. package/dist/components/interaction.js.map +1 -1
  145. package/dist/components/jsx.d.cts +2 -2
  146. package/dist/components/jsx.d.ts +2 -2
  147. package/dist/components/layout.cjs +2 -2
  148. package/dist/components/layout.cjs.map +1 -1
  149. package/dist/components/layout.css +1 -1
  150. package/dist/components/layout.d.cts +1 -1
  151. package/dist/components/layout.d.ts +1 -1
  152. package/dist/components/layout.js +2 -2
  153. package/dist/components/layout.js.map +1 -1
  154. package/dist/components/lazy.cjs +2 -2
  155. package/dist/components/lazy.cjs.map +1 -1
  156. package/dist/components/lazy.d.cts +2 -2
  157. package/dist/components/lazy.d.ts +2 -2
  158. package/dist/components/lazy.js +2 -2
  159. package/dist/components/lazy.js.map +1 -1
  160. package/dist/components/lite.cjs +46 -50
  161. package/dist/components/lite.cjs.map +1 -1
  162. package/dist/components/lite.js +46 -50
  163. package/dist/components/lite.js.map +1 -1
  164. package/dist/components/packs.cjs +2 -2
  165. package/dist/components/packs.cjs.map +1 -1
  166. package/dist/components/packs.css +1 -1
  167. package/dist/components/packs.d.cts +1 -1
  168. package/dist/components/packs.d.ts +1 -1
  169. package/dist/components/packs.js +2 -2
  170. package/dist/components/packs.js.map +1 -1
  171. package/dist/components/page.cjs +3 -3
  172. package/dist/components/page.cjs.map +1 -1
  173. package/dist/components/page.css +1 -1
  174. package/dist/components/page.d.cts +1 -1
  175. package/dist/components/page.d.ts +1 -1
  176. package/dist/components/page.js +4 -4
  177. package/dist/components/page.js.map +1 -1
  178. package/dist/components/perf.cjs +3 -3
  179. package/dist/components/perf.cjs.map +1 -1
  180. package/dist/components/perf.d.cts +2 -2
  181. package/dist/components/perf.d.ts +2 -2
  182. package/dist/components/perf.js +4 -4
  183. package/dist/components/perf.js.map +1 -1
  184. package/dist/components/physics.cjs +3 -3
  185. package/dist/components/physics.cjs.map +1 -1
  186. package/dist/components/physics.css +1 -1
  187. package/dist/components/physics.d.cts +1 -1
  188. package/dist/components/physics.d.ts +1 -1
  189. package/dist/components/physics.js +4 -4
  190. package/dist/components/physics.js.map +1 -1
  191. package/dist/components/react.cjs +4 -4
  192. package/dist/components/react.cjs.map +1 -1
  193. package/dist/components/react.js +4 -4
  194. package/dist/components/react.js.map +1 -1
  195. package/dist/components/reveal.cjs +2 -2
  196. package/dist/components/reveal.cjs.map +1 -1
  197. package/dist/components/reveal.css +1 -1
  198. package/dist/components/reveal.d.cts +1 -1
  199. package/dist/components/reveal.d.ts +1 -1
  200. package/dist/components/reveal.js +2 -2
  201. package/dist/components/reveal.js.map +1 -1
  202. package/dist/components/solid.cjs +10 -9
  203. package/dist/components/solid.cjs.map +1 -1
  204. package/dist/components/solid.d.cts +22 -22
  205. package/dist/components/solid.d.ts +22 -22
  206. package/dist/components/solid.js +10 -9
  207. package/dist/components/solid.js.map +1 -1
  208. package/dist/components/svelte.cjs +9 -8
  209. package/dist/components/svelte.cjs.map +1 -1
  210. package/dist/components/svelte.d.cts +22 -22
  211. package/dist/components/svelte.d.ts +22 -22
  212. package/dist/components/svelte.js +9 -8
  213. package/dist/components/svelte.js.map +1 -1
  214. package/dist/components/svg.cjs +2 -2
  215. package/dist/components/svg.cjs.map +1 -1
  216. package/dist/components/svg.css +1 -1
  217. package/dist/components/svg.d.cts +1 -1
  218. package/dist/components/svg.d.ts +1 -1
  219. package/dist/components/svg.js +2 -2
  220. package/dist/components/svg.js.map +1 -1
  221. package/dist/components/text.cjs +3 -3
  222. package/dist/components/text.cjs.map +1 -1
  223. package/dist/components/text.css +1 -1
  224. package/dist/components/text.d.cts +1 -1
  225. package/dist/components/text.d.ts +1 -1
  226. package/dist/components/text.js +3 -3
  227. package/dist/components/text.js.map +1 -1
  228. package/dist/components/timeline.cjs +3 -3
  229. package/dist/components/timeline.cjs.map +1 -1
  230. package/dist/components/timeline.css +1 -1
  231. package/dist/components/timeline.d.cts +1 -1
  232. package/dist/components/timeline.d.ts +1 -1
  233. package/dist/components/timeline.js +4 -4
  234. package/dist/components/timeline.js.map +1 -1
  235. package/dist/components/tokens.cjs +2 -2
  236. package/dist/components/tokens.cjs.map +1 -1
  237. package/dist/components/tokens.d.cts +2 -2
  238. package/dist/components/tokens.d.ts +2 -2
  239. package/dist/components/tokens.js +2 -2
  240. package/dist/components/tokens.js.map +1 -1
  241. package/dist/components/transitions.cjs +2 -2
  242. package/dist/components/transitions.cjs.map +1 -1
  243. package/dist/components/transitions.css +1 -1
  244. package/dist/components/transitions.d.cts +1 -1
  245. package/dist/components/transitions.d.ts +1 -1
  246. package/dist/components/transitions.js +2 -2
  247. package/dist/components/transitions.js.map +1 -1
  248. package/dist/components/ui.cjs +4 -4
  249. package/dist/components/ui.cjs.map +1 -1
  250. package/dist/components/ui.css +1 -1
  251. package/dist/components/ui.d.cts +1 -1
  252. package/dist/components/ui.d.ts +1 -1
  253. package/dist/components/ui.js +5 -5
  254. package/dist/components/ui.js.map +1 -1
  255. package/dist/components/vue.cjs +10 -9
  256. package/dist/components/vue.cjs.map +1 -1
  257. package/dist/components/vue.d.cts +23 -23
  258. package/dist/components/vue.d.ts +23 -23
  259. package/dist/components/vue.js +10 -9
  260. package/dist/components/vue.js.map +1 -1
  261. package/dist/components/webgl.cjs +2 -2
  262. package/dist/components/webgl.cjs.map +1 -1
  263. package/dist/components/webgl.css +1 -1
  264. package/dist/components/webgl.d.cts +1 -1
  265. package/dist/components/webgl.d.ts +1 -1
  266. package/dist/components/webgl.js +2 -2
  267. package/dist/components/webgl.js.map +1 -1
  268. package/dist/components/widgets.cjs +591 -0
  269. package/dist/components/widgets.cjs.map +1 -0
  270. package/dist/components/widgets.d.cts +110 -0
  271. package/dist/components/widgets.d.ts +110 -0
  272. package/dist/components/widgets.js +581 -0
  273. package/dist/components/widgets.js.map +1 -0
  274. package/dist/components.cjs +19 -18
  275. package/dist/components.cjs.map +1 -1
  276. package/dist/components.css +1 -1
  277. package/dist/components.d.cts +30 -30
  278. package/dist/components.d.ts +30 -30
  279. package/dist/components.js +13 -12
  280. package/dist/components.js.map +1 -1
  281. package/dist/components.umd.js +5 -5
  282. package/dist/components.umd.js.map +1 -1
  283. package/dist/element.cjs +4 -4
  284. package/dist/element.cjs.map +1 -1
  285. package/dist/element.d.cts +5 -5
  286. package/dist/element.d.ts +5 -5
  287. package/dist/element.js +4 -4
  288. package/dist/element.js.map +1 -1
  289. package/dist/element.umd.js.map +1 -1
  290. package/dist/index.cjs +10 -10
  291. package/dist/index.cjs.map +1 -1
  292. package/dist/index.d.cts +9 -9
  293. package/dist/index.d.ts +9 -9
  294. package/dist/index.js +11 -11
  295. package/dist/index.js.map +1 -1
  296. package/dist/index.umd.js +3 -3
  297. package/dist/index.umd.js.map +1 -1
  298. package/dist/presets/extended.cjs +3 -3
  299. package/dist/presets/extended.cjs.map +1 -1
  300. package/dist/presets/extended.d.cts +3 -3
  301. package/dist/presets/extended.d.ts +3 -3
  302. package/dist/presets/extended.js +3 -3
  303. package/dist/presets/extended.js.map +1 -1
  304. package/dist/presets-extended.umd.js.map +1 -1
  305. package/dist/react.cjs +4 -4
  306. package/dist/react.cjs.map +1 -1
  307. package/dist/react.d.cts +5 -5
  308. package/dist/react.d.ts +5 -5
  309. package/dist/react.js +4 -4
  310. package/dist/react.js.map +1 -1
  311. package/dist/solid.cjs +5 -5
  312. package/dist/solid.cjs.map +1 -1
  313. package/dist/solid.d.cts +6 -6
  314. package/dist/solid.d.ts +6 -6
  315. package/dist/solid.js +5 -5
  316. package/dist/solid.js.map +1 -1
  317. package/dist/svelte.cjs +5 -5
  318. package/dist/svelte.cjs.map +1 -1
  319. package/dist/svelte.d.cts +6 -6
  320. package/dist/svelte.d.ts +6 -6
  321. package/dist/svelte.js +5 -5
  322. package/dist/svelte.js.map +1 -1
  323. package/dist/vue.cjs +4 -4
  324. package/dist/vue.cjs.map +1 -1
  325. package/dist/vue.d.cts +5 -5
  326. package/dist/vue.d.ts +5 -5
  327. package/dist/vue.js +4 -4
  328. package/dist/vue.js.map +1 -1
  329. package/dist/widgets.umd.js +2 -0
  330. package/dist/widgets.umd.js.map +1 -0
  331. package/docs/API.md +13 -13
  332. package/docs/ROADMAP.md +11 -12
  333. package/docs/accessibility.md +2 -2
  334. package/docs/components.md +62 -33
  335. package/docs/frameworks-ssr.md +12 -12
  336. package/docs/hybrid-apps.md +10 -10
  337. package/docs/migration-from-aos.md +5 -5
  338. package/docs/migration-from-gsap-scrolltrigger.md +3 -3
  339. package/docs/motion-tokens.css +1 -1
  340. package/docs/motion-tokens.md +2 -2
  341. package/docs/performance.md +6 -6
  342. package/docs/presets.md +5 -5
  343. package/docs/windows-apps.md +8 -8
  344. package/package.json +56 -25
  345. package/dist/chunks/base-B5i8qQPR.cjs.map +0 -1
  346. package/dist/chunks/base-C3Sw9sAO.js.map +0 -1
  347. package/dist/chunks/core-BVQW34aX.js.map +0 -1
  348. package/dist/chunks/core-BYLtO0Po.cjs.map +0 -1
  349. package/dist/chunks/presets-BJ09NeTo.js.map +0 -1
  350. package/dist/chunks/presets-D2ksQNzJ.cjs.map +0 -1
  351. package/dist/chunks/stagger-CvhYlKrF.cjs.map +0 -1
  352. package/dist/chunks/stagger-Dh4V-OL0.js.map +0 -1
@@ -79,7 +79,7 @@ interface UsaScrollyElement extends UsaElement {
79
79
  }
80
80
 
81
81
  /**
82
- * use-scroll-animate/components/reveal — entrance & scroll reveal components.
82
+ * motionary/components/reveal — entrance & scroll reveal components.
83
83
  * `<usa-reveal>`, `<usa-stagger>`, `<usa-scroll-progress>`, `<usa-scrolly>`.
84
84
  */
85
85
 
@@ -310,7 +310,7 @@ interface Timeline {
310
310
  }
311
311
 
312
312
  /**
313
- * use-scroll-animate/components/text — text effects.
313
+ * motionary/components/text — text effects.
314
314
  * `<usa-typewriter>`, `<usa-split-text>`, `<usa-scramble>`, `<usa-counter>`,
315
315
  * `<usa-shimmer-text>`, `<usa-text-rotate>`.
316
316
  */
@@ -410,7 +410,7 @@ interface UsaToggleElement extends UsaElement {
410
410
  }
411
411
 
412
412
  /**
413
- * use-scroll-animate/components/interaction — micro-interactions.
413
+ * motionary/components/interaction — micro-interactions.
414
414
  * `<usa-ripple>`, `<usa-magnetic>`, `<usa-tilt>`, `<usa-spotlight>`,
415
415
  * `<usa-press>`, `<usa-toggle>`.
416
416
  */
@@ -527,7 +527,7 @@ interface UsaCheckElement extends UsaElement {
527
527
  }
528
528
 
529
529
  /**
530
- * use-scroll-animate/components/feedback — loading & feedback.
530
+ * motionary/components/feedback — loading & feedback.
531
531
  * `<usa-spinner>`, `<usa-skeleton>`, `<usa-progress>`, `<usa-toaster>` +
532
532
  * `toast()`, `<usa-check>`.
533
533
  */
@@ -645,7 +645,7 @@ interface UsaDotNetworkElement extends UsaElement {
645
645
  }
646
646
 
647
647
  /**
648
- * use-scroll-animate/components/background — backgrounds & decoration.
648
+ * motionary/components/background — backgrounds & decoration.
649
649
  * `<usa-aurora>`, `<usa-particles>`, `<usa-grain>`, `<usa-marquee>`,
650
650
  * `<usa-acrylic>`.
651
651
  */
@@ -719,7 +719,7 @@ interface UsaViewSwitchElement extends UsaElement {
719
719
  }
720
720
 
721
721
  /**
722
- * use-scroll-animate/components/transitions — view & layout transitions.
722
+ * motionary/components/transitions — view & layout transitions.
723
723
  * `<usa-dialog>`, `<usa-accordion>`, `<usa-view-switch>`
724
724
  * and the `viewTransition()` and `flip()` helpers (4.0: `<usa-flip-list>` → `<usa-auto-animate>`,
725
725
  * `connectedAnimation()` → `sharedTransition()`, both in `components/layout`).
@@ -786,7 +786,7 @@ interface UsaOverscrollElement extends UsaElement {
786
786
  }
787
787
 
788
788
  /**
789
- * use-scroll-animate/components/physics — spring & bounce physics (v2.3).
789
+ * motionary/components/physics — spring & bounce physics (v2.3).
790
790
  * `<usa-spring>` (bounce-in, pop, drop, jelly, rubber-band), `<usa-draggable>`
791
791
  * (spring-back, inertia, snap) and `<usa-overscroll>` (elastic edges), plus
792
792
  * the spring core: `spring()`, `springEasing()`, `createSpring()`,
@@ -880,7 +880,7 @@ interface UsaCarousel3dElement extends UsaElement {
880
880
  }
881
881
 
882
882
  /**
883
- * use-scroll-animate/components/cards — card effects (v2.4).
883
+ * motionary/components/cards — card effects (v2.4).
884
884
  * `<usa-card effect="flip | holo | glass | border-glow | conic-border | lift |
885
885
  * spotlight | sheen | parallax-layers | expand">` (combinable),
886
886
  * `<usa-card-stack>` (swipeable deck), `<usa-sticky-stack>` (stacking on
@@ -1028,7 +1028,7 @@ interface UsaCheckboxElement extends UsaElement {
1028
1028
  }
1029
1029
 
1030
1030
  /**
1031
- * use-scroll-animate/components/click — click & tap effects (v2.5).
1031
+ * motionary/components/click — click & tap effects (v2.5).
1032
1032
  * `<usa-click>` (ripple, burst, confetti, squish, press-spring, shake),
1033
1033
  * `<usa-button>` (button click deformation: squash, wobble, gooey, dent;
1034
1034
  * shape morph; submit → loading → success), `<usa-icon-morph>`,
@@ -1200,7 +1200,7 @@ interface UsaAvatarStackElement extends UsaElement {
1200
1200
  }
1201
1201
 
1202
1202
  /**
1203
- * use-scroll-animate/components/ui — animated UI components + style variants (v2.6).
1203
+ * motionary/components/ui — animated UI components + style variants (v2.6).
1204
1204
  * `<usa-tabs>`, `<usa-drawer>`, `<usa-bottom-sheet>`, `<usa-pull-refresh>`,
1205
1205
  * `<usa-fab>`, `<usa-navbar>`, `<usa-slider>`, `<usa-rating>`,
1206
1206
  * `<usa-tooltip>`, `<usa-popover>`, `<usa-badge>`, `<usa-avatar-stack>`,
@@ -1337,7 +1337,7 @@ interface UsaMotionSwitchElement extends UsaElement {
1337
1337
  }
1338
1338
 
1339
1339
  /**
1340
- * use-scroll-animate/components/page — page & app-wide effects (v2.7).
1340
+ * motionary/components/page — page & app-wide effects (v2.7).
1341
1341
  * Page transitions (`pageTransition()`, `enableMpaTransitions()`,
1342
1342
  * `themeTransition()`), `<usa-cursor>`, `smoothScroll()` / `scrollToTarget()`,
1343
1343
  * `<usa-fullpage>`, `<usa-loading-bar>` + `loadingBar`, `<usa-back-to-top>`,
@@ -1381,7 +1381,7 @@ interface UsaTimelineElement extends UsaElement {
1381
1381
  }
1382
1382
 
1383
1383
  /**
1384
- * use-scroll-animate/components/timeline — choreography (v3.1).
1384
+ * motionary/components/timeline — choreography (v3.1).
1385
1385
  * `timeline()` chains, overlaps, labels, seeks, reverses and scroll-scrubs
1386
1386
  * WAAPI animations on one playhead; `<usa-timeline>` builds one from
1387
1387
  * `data-tl` children.
@@ -1427,7 +1427,7 @@ interface UsaPinchZoomElement extends UsaElement {
1427
1427
  }
1428
1428
 
1429
1429
  /**
1430
- * use-scroll-animate/components/gesture — unified gestures (v3.2).
1430
+ * motionary/components/gesture — unified gestures (v3.2).
1431
1431
  * `gesture()` recognises pan, swipe, pinch, long-press, tap and double-tap
1432
1432
  * with release velocities for springs; `<usa-swipeable>` (swipe-to-dismiss)
1433
1433
  * and `<usa-pinch-zoom>` are built on it.
@@ -1488,7 +1488,7 @@ interface UsaAnimIconElement extends UsaElement {
1488
1488
  }
1489
1489
 
1490
1490
  /**
1491
- * use-scroll-animate/components/svg — SVG animation (v3.3).
1491
+ * motionary/components/svg — SVG animation (v3.3).
1492
1492
  * `<usa-draw>` (line drawing), `<usa-morph>` (path morph), `<usa-mask-reveal>`
1493
1493
  * (mask / clip-path reveals) and `<usa-anim-icon>` (animated icons), plus
1494
1494
  * `interpolatePath()`, `morphTo()`, `drawLines()`.
@@ -1515,7 +1515,7 @@ interface UsaGLElement extends UsaElement {
1515
1515
  }
1516
1516
 
1517
1517
  /**
1518
- * use-scroll-animate/components/webgl — lightweight canvas / WebGL (v3.4).
1518
+ * motionary/components/webgl — lightweight canvas / WebGL (v3.4).
1519
1519
  * `<usa-shader>` (shader backgrounds), `<usa-distort>` (hover image
1520
1520
  * distortion), `<usa-liquid>` (ripple images) on a tiny single-quad runner
1521
1521
  * (`glQuad()`), with graceful fallbacks when WebGL is unavailable.
@@ -1563,7 +1563,7 @@ interface UsaDepthElement extends UsaElement {
1563
1563
  }
1564
1564
 
1565
1565
  /**
1566
- * use-scroll-animate/components/depth — 3D (v3.5).
1566
+ * motionary/components/depth — 3D (v3.5).
1567
1567
  * `<usa-cube>` (CSS 3D cube), `<usa-depth>` (layered depth parallax driven by
1568
1568
  * pointer, device orientation or scroll) and `deviceTilt()`. The 3D ring
1569
1569
  * carousel is `<usa-carousel-3d>` in `components/cards`.
@@ -1597,7 +1597,7 @@ interface UsaMasonryElement extends UsaElement {
1597
1597
  }
1598
1598
 
1599
1599
  /**
1600
- * use-scroll-animate/components/layout — layout animation (v3.6).
1600
+ * motionary/components/layout — layout animation (v3.6).
1601
1601
  * `autoAnimate()` / `<usa-auto-animate>` (list & grid reflow),
1602
1602
  * `<usa-masonry>`, and `sharedTransition()` for shared-element transitions
1603
1603
  * (View Transitions API with a FLIP fallback).
@@ -1621,7 +1621,7 @@ interface UsaPackElement extends UsaElement {
1621
1621
  }
1622
1622
 
1623
1623
  /**
1624
- * use-scroll-animate/components/packs — effect packs (v3.9).
1624
+ * motionary/components/packs — effect packs (v3.9).
1625
1625
  * Ready-made motion for e-commerce, portfolio, dashboard, game UI and
1626
1626
  * landing pages: mark elements with `data-role` and apply a pack with
1627
1627
  * `<usa-pack name="…">` or `applyPack(name, root)`. Includes `flyToCart()`
@@ -1670,12 +1670,12 @@ interface UsaFxElement extends UsaElement {
1670
1670
  }
1671
1671
 
1672
1672
  /**
1673
- * use-scroll-animate/components/fx — unified plugin-style effects (5.0).
1673
+ * motionary/components/fx — unified plugin-style effects (5.0).
1674
1674
  * `registerEffect({ name, kind, run })`, `playEffect(el, name)`,
1675
1675
  * `bindEffect(el, name, { trigger })`, `<usa-fx effect trigger>`. Built-ins:
1676
1676
  * every timeline preset (`enter`), `pulse` · `pop` · `jelly` · `wiggle` ·
1677
1677
  * `heartbeat` · `bounce` · `flash` · `tada` · `shake` (attention),
1678
- * `burst` · `confetti` · `ripple` (click). More packs: `use-scroll-animate/components/effects`.
1678
+ * `burst` · `confetti` · `ripple` (click). More packs: `motionary/components/effects`.
1679
1679
  */
1680
1680
 
1681
1681
  declare global {
@@ -1704,7 +1704,7 @@ declare function bindUsa(el: HTMLElement, binding?: UsaBinding): {
1704
1704
  };
1705
1705
 
1706
1706
  /**
1707
- * use-scroll-animate/components/angular — Angular integration (v3.8).
1707
+ * motionary/components/angular — Angular integration (v3.8).
1708
1708
  * Angular renders `<usa-*>` tags once the component (or NgModule) allows
1709
1709
  * custom elements with `CUSTOM_ELEMENTS_SCHEMA`; property binding
1710
1710
  * `[checked]="on"` and event binding `(usa:change)="…"` then work as is.
@@ -1712,7 +1712,7 @@ declare function bindUsa(el: HTMLElement, binding?: UsaBinding): {
1712
1712
  *
1713
1713
  * ```ts
1714
1714
  * import { CUSTOM_ELEMENTS_SCHEMA, Component, APP_INITIALIZER } from '@angular/core';
1715
- * import { usaInitializer } from 'use-scroll-animate/components/angular';
1715
+ * import { usaInitializer } from 'motionary/components/angular';
1716
1716
  *
1717
1717
  * // app.config.ts
1718
1718
  * providers: [{ provide: APP_INITIALIZER, multi: true, useFactory: usaInitializer(['click', 'ui']) }]
@@ -79,7 +79,7 @@ interface UsaScrollyElement extends UsaElement {
79
79
  }
80
80
 
81
81
  /**
82
- * use-scroll-animate/components/reveal — entrance & scroll reveal components.
82
+ * motionary/components/reveal — entrance & scroll reveal components.
83
83
  * `<usa-reveal>`, `<usa-stagger>`, `<usa-scroll-progress>`, `<usa-scrolly>`.
84
84
  */
85
85
 
@@ -310,7 +310,7 @@ interface Timeline {
310
310
  }
311
311
 
312
312
  /**
313
- * use-scroll-animate/components/text — text effects.
313
+ * motionary/components/text — text effects.
314
314
  * `<usa-typewriter>`, `<usa-split-text>`, `<usa-scramble>`, `<usa-counter>`,
315
315
  * `<usa-shimmer-text>`, `<usa-text-rotate>`.
316
316
  */
@@ -410,7 +410,7 @@ interface UsaToggleElement extends UsaElement {
410
410
  }
411
411
 
412
412
  /**
413
- * use-scroll-animate/components/interaction — micro-interactions.
413
+ * motionary/components/interaction — micro-interactions.
414
414
  * `<usa-ripple>`, `<usa-magnetic>`, `<usa-tilt>`, `<usa-spotlight>`,
415
415
  * `<usa-press>`, `<usa-toggle>`.
416
416
  */
@@ -527,7 +527,7 @@ interface UsaCheckElement extends UsaElement {
527
527
  }
528
528
 
529
529
  /**
530
- * use-scroll-animate/components/feedback — loading & feedback.
530
+ * motionary/components/feedback — loading & feedback.
531
531
  * `<usa-spinner>`, `<usa-skeleton>`, `<usa-progress>`, `<usa-toaster>` +
532
532
  * `toast()`, `<usa-check>`.
533
533
  */
@@ -645,7 +645,7 @@ interface UsaDotNetworkElement extends UsaElement {
645
645
  }
646
646
 
647
647
  /**
648
- * use-scroll-animate/components/background — backgrounds & decoration.
648
+ * motionary/components/background — backgrounds & decoration.
649
649
  * `<usa-aurora>`, `<usa-particles>`, `<usa-grain>`, `<usa-marquee>`,
650
650
  * `<usa-acrylic>`.
651
651
  */
@@ -719,7 +719,7 @@ interface UsaViewSwitchElement extends UsaElement {
719
719
  }
720
720
 
721
721
  /**
722
- * use-scroll-animate/components/transitions — view & layout transitions.
722
+ * motionary/components/transitions — view & layout transitions.
723
723
  * `<usa-dialog>`, `<usa-accordion>`, `<usa-view-switch>`
724
724
  * and the `viewTransition()` and `flip()` helpers (4.0: `<usa-flip-list>` → `<usa-auto-animate>`,
725
725
  * `connectedAnimation()` → `sharedTransition()`, both in `components/layout`).
@@ -786,7 +786,7 @@ interface UsaOverscrollElement extends UsaElement {
786
786
  }
787
787
 
788
788
  /**
789
- * use-scroll-animate/components/physics — spring & bounce physics (v2.3).
789
+ * motionary/components/physics — spring & bounce physics (v2.3).
790
790
  * `<usa-spring>` (bounce-in, pop, drop, jelly, rubber-band), `<usa-draggable>`
791
791
  * (spring-back, inertia, snap) and `<usa-overscroll>` (elastic edges), plus
792
792
  * the spring core: `spring()`, `springEasing()`, `createSpring()`,
@@ -880,7 +880,7 @@ interface UsaCarousel3dElement extends UsaElement {
880
880
  }
881
881
 
882
882
  /**
883
- * use-scroll-animate/components/cards — card effects (v2.4).
883
+ * motionary/components/cards — card effects (v2.4).
884
884
  * `<usa-card effect="flip | holo | glass | border-glow | conic-border | lift |
885
885
  * spotlight | sheen | parallax-layers | expand">` (combinable),
886
886
  * `<usa-card-stack>` (swipeable deck), `<usa-sticky-stack>` (stacking on
@@ -1028,7 +1028,7 @@ interface UsaCheckboxElement extends UsaElement {
1028
1028
  }
1029
1029
 
1030
1030
  /**
1031
- * use-scroll-animate/components/click — click & tap effects (v2.5).
1031
+ * motionary/components/click — click & tap effects (v2.5).
1032
1032
  * `<usa-click>` (ripple, burst, confetti, squish, press-spring, shake),
1033
1033
  * `<usa-button>` (button click deformation: squash, wobble, gooey, dent;
1034
1034
  * shape morph; submit → loading → success), `<usa-icon-morph>`,
@@ -1200,7 +1200,7 @@ interface UsaAvatarStackElement extends UsaElement {
1200
1200
  }
1201
1201
 
1202
1202
  /**
1203
- * use-scroll-animate/components/ui — animated UI components + style variants (v2.6).
1203
+ * motionary/components/ui — animated UI components + style variants (v2.6).
1204
1204
  * `<usa-tabs>`, `<usa-drawer>`, `<usa-bottom-sheet>`, `<usa-pull-refresh>`,
1205
1205
  * `<usa-fab>`, `<usa-navbar>`, `<usa-slider>`, `<usa-rating>`,
1206
1206
  * `<usa-tooltip>`, `<usa-popover>`, `<usa-badge>`, `<usa-avatar-stack>`,
@@ -1337,7 +1337,7 @@ interface UsaMotionSwitchElement extends UsaElement {
1337
1337
  }
1338
1338
 
1339
1339
  /**
1340
- * use-scroll-animate/components/page — page & app-wide effects (v2.7).
1340
+ * motionary/components/page — page & app-wide effects (v2.7).
1341
1341
  * Page transitions (`pageTransition()`, `enableMpaTransitions()`,
1342
1342
  * `themeTransition()`), `<usa-cursor>`, `smoothScroll()` / `scrollToTarget()`,
1343
1343
  * `<usa-fullpage>`, `<usa-loading-bar>` + `loadingBar`, `<usa-back-to-top>`,
@@ -1381,7 +1381,7 @@ interface UsaTimelineElement extends UsaElement {
1381
1381
  }
1382
1382
 
1383
1383
  /**
1384
- * use-scroll-animate/components/timeline — choreography (v3.1).
1384
+ * motionary/components/timeline — choreography (v3.1).
1385
1385
  * `timeline()` chains, overlaps, labels, seeks, reverses and scroll-scrubs
1386
1386
  * WAAPI animations on one playhead; `<usa-timeline>` builds one from
1387
1387
  * `data-tl` children.
@@ -1427,7 +1427,7 @@ interface UsaPinchZoomElement extends UsaElement {
1427
1427
  }
1428
1428
 
1429
1429
  /**
1430
- * use-scroll-animate/components/gesture — unified gestures (v3.2).
1430
+ * motionary/components/gesture — unified gestures (v3.2).
1431
1431
  * `gesture()` recognises pan, swipe, pinch, long-press, tap and double-tap
1432
1432
  * with release velocities for springs; `<usa-swipeable>` (swipe-to-dismiss)
1433
1433
  * and `<usa-pinch-zoom>` are built on it.
@@ -1488,7 +1488,7 @@ interface UsaAnimIconElement extends UsaElement {
1488
1488
  }
1489
1489
 
1490
1490
  /**
1491
- * use-scroll-animate/components/svg — SVG animation (v3.3).
1491
+ * motionary/components/svg — SVG animation (v3.3).
1492
1492
  * `<usa-draw>` (line drawing), `<usa-morph>` (path morph), `<usa-mask-reveal>`
1493
1493
  * (mask / clip-path reveals) and `<usa-anim-icon>` (animated icons), plus
1494
1494
  * `interpolatePath()`, `morphTo()`, `drawLines()`.
@@ -1515,7 +1515,7 @@ interface UsaGLElement extends UsaElement {
1515
1515
  }
1516
1516
 
1517
1517
  /**
1518
- * use-scroll-animate/components/webgl — lightweight canvas / WebGL (v3.4).
1518
+ * motionary/components/webgl — lightweight canvas / WebGL (v3.4).
1519
1519
  * `<usa-shader>` (shader backgrounds), `<usa-distort>` (hover image
1520
1520
  * distortion), `<usa-liquid>` (ripple images) on a tiny single-quad runner
1521
1521
  * (`glQuad()`), with graceful fallbacks when WebGL is unavailable.
@@ -1563,7 +1563,7 @@ interface UsaDepthElement extends UsaElement {
1563
1563
  }
1564
1564
 
1565
1565
  /**
1566
- * use-scroll-animate/components/depth — 3D (v3.5).
1566
+ * motionary/components/depth — 3D (v3.5).
1567
1567
  * `<usa-cube>` (CSS 3D cube), `<usa-depth>` (layered depth parallax driven by
1568
1568
  * pointer, device orientation or scroll) and `deviceTilt()`. The 3D ring
1569
1569
  * carousel is `<usa-carousel-3d>` in `components/cards`.
@@ -1597,7 +1597,7 @@ interface UsaMasonryElement extends UsaElement {
1597
1597
  }
1598
1598
 
1599
1599
  /**
1600
- * use-scroll-animate/components/layout — layout animation (v3.6).
1600
+ * motionary/components/layout — layout animation (v3.6).
1601
1601
  * `autoAnimate()` / `<usa-auto-animate>` (list & grid reflow),
1602
1602
  * `<usa-masonry>`, and `sharedTransition()` for shared-element transitions
1603
1603
  * (View Transitions API with a FLIP fallback).
@@ -1621,7 +1621,7 @@ interface UsaPackElement extends UsaElement {
1621
1621
  }
1622
1622
 
1623
1623
  /**
1624
- * use-scroll-animate/components/packs — effect packs (v3.9).
1624
+ * motionary/components/packs — effect packs (v3.9).
1625
1625
  * Ready-made motion for e-commerce, portfolio, dashboard, game UI and
1626
1626
  * landing pages: mark elements with `data-role` and apply a pack with
1627
1627
  * `<usa-pack name="…">` or `applyPack(name, root)`. Includes `flyToCart()`
@@ -1670,12 +1670,12 @@ interface UsaFxElement extends UsaElement {
1670
1670
  }
1671
1671
 
1672
1672
  /**
1673
- * use-scroll-animate/components/fx — unified plugin-style effects (5.0).
1673
+ * motionary/components/fx — unified plugin-style effects (5.0).
1674
1674
  * `registerEffect({ name, kind, run })`, `playEffect(el, name)`,
1675
1675
  * `bindEffect(el, name, { trigger })`, `<usa-fx effect trigger>`. Built-ins:
1676
1676
  * every timeline preset (`enter`), `pulse` · `pop` · `jelly` · `wiggle` ·
1677
1677
  * `heartbeat` · `bounce` · `flash` · `tada` · `shake` (attention),
1678
- * `burst` · `confetti` · `ripple` (click). More packs: `use-scroll-animate/components/effects`.
1678
+ * `burst` · `confetti` · `ripple` (click). More packs: `motionary/components/effects`.
1679
1679
  */
1680
1680
 
1681
1681
  declare global {
@@ -1704,7 +1704,7 @@ declare function bindUsa(el: HTMLElement, binding?: UsaBinding): {
1704
1704
  };
1705
1705
 
1706
1706
  /**
1707
- * use-scroll-animate/components/angular — Angular integration (v3.8).
1707
+ * motionary/components/angular — Angular integration (v3.8).
1708
1708
  * Angular renders `<usa-*>` tags once the component (or NgModule) allows
1709
1709
  * custom elements with `CUSTOM_ELEMENTS_SCHEMA`; property binding
1710
1710
  * `[checked]="on"` and event binding `(usa:change)="…"` then work as is.
@@ -1712,7 +1712,7 @@ declare function bindUsa(el: HTMLElement, binding?: UsaBinding): {
1712
1712
  *
1713
1713
  * ```ts
1714
1714
  * import { CUSTOM_ELEMENTS_SCHEMA, Component, APP_INITIALIZER } from '@angular/core';
1715
- * import { usaInitializer } from 'use-scroll-animate/components/angular';
1715
+ * import { usaInitializer } from 'motionary/components/angular';
1716
1716
  *
1717
1717
  * // app.config.ts
1718
1718
  * providers: [{ provide: APP_INITIALIZER, multi: true, useFactory: usaInitializer(['click', 'ui']) }]
@@ -1,38 +1,39 @@
1
1
  import { defineComponents } from '../components.js';
2
2
  export { b as bindUsa, u as usaEventName } from '../chunks/bind-B_CTL6Qn.js';
3
3
  import './reveal.js';
4
- import '../chunks/base-C3Sw9sAO.js';
4
+ import '../chunks/base-C_3cAoRz.js';
5
5
  import './text.js';
6
- import '../chunks/core-DN3hHbHh.js';
6
+ import '../chunks/core-VEBw36QK.js';
7
7
  import './tokens.js';
8
8
  import './interaction.js';
9
9
  import './feedback.js';
10
10
  import './background.js';
11
- import '../chunks/variants-Bsevy6Xm.js';
11
+ import '../chunks/variants-DRlKVHvu.js';
12
12
  import './transitions.js';
13
13
  import './physics.js';
14
- import '../chunks/spring-CckMe3x0.js';
14
+ import '../chunks/spring-CbvHfVtP.js';
15
15
  import './cards.js';
16
16
  import './click.js';
17
- import '../chunks/fx-ChjxrMBo.js';
17
+ import '../chunks/fx-Bs6IrV4Q.js';
18
18
  import './ui.js';
19
19
  import './page.js';
20
20
  import './timeline.js';
21
21
  import './gesture.js';
22
- import '../chunks/core-BTf__I-8.js';
22
+ import '../chunks/core-ps8uvYuN.js';
23
23
  import './svg.js';
24
24
  import './webgl.js';
25
25
  import './depth.js';
26
26
  import './layout.js';
27
27
  import './packs.js';
28
28
  import './fx.js';
29
+ import '../chunks/registry-CKNLQpwd.js';
29
30
  import './a11y.js';
30
31
  import '../chunks/index-tags-DucKMQr_.js';
31
32
  import './perf.js';
32
33
  import './bridge.js';
33
34
 
34
35
  /**
35
- * use-scroll-animate/components/angular — Angular integration (v3.8).
36
+ * motionary/components/angular — Angular integration (v3.8).
36
37
  * Angular renders `<usa-*>` tags once the component (or NgModule) allows
37
38
  * custom elements with `CUSTOM_ELEMENTS_SCHEMA`; property binding
38
39
  * `[checked]="on"` and event binding `(usa:change)="…"` then work as is.
@@ -40,7 +41,7 @@ import './bridge.js';
40
41
  *
41
42
  * ```ts
42
43
  * import { CUSTOM_ELEMENTS_SCHEMA, Component, APP_INITIALIZER } from '@angular/core';
43
- * import { usaInitializer } from 'use-scroll-animate/components/angular';
44
+ * import { usaInitializer } from 'motionary/components/angular';
44
45
  *
45
46
  * // app.config.ts
46
47
  * providers: [{ provide: APP_INITIALIZER, multi: true, useFactory: usaInitializer(['click', 'ui']) }]
@@ -1 +1 @@
1
- {"version":3,"file":"angular.js","sources":["../../src/components/frameworks/angular.ts"],"sourcesContent":["/**\n * use-scroll-animate/components/angular — Angular integration (v3.8).\n * Angular renders `<usa-*>` tags once the component (or NgModule) allows\n * custom elements with `CUSTOM_ELEMENTS_SCHEMA`; property binding\n * `[checked]=\"on\"` and event binding `(usa:change)=\"…\"` then work as is.\n * This entry is framework-free (no `@angular/*` import):\n *\n * ```ts\n * import { CUSTOM_ELEMENTS_SCHEMA, Component, APP_INITIALIZER } from '@angular/core';\n * import { usaInitializer } from 'use-scroll-animate/components/angular';\n *\n * // app.config.ts\n * providers: [{ provide: APP_INITIALIZER, multi: true, useFactory: usaInitializer(['click', 'ui']) }]\n *\n * @Component({ standalone: true, schemas: [CUSTOM_ELEMENTS_SCHEMA],\n * template: `<usa-toggle [checked]=\"on\" (usa:change)=\"on = $any($event).detail.checked\"></usa-toggle>` })\n * ```\n * `bindUsa(el, { props, on })` is available for directives that bind imperatively.\n */\nimport { defineComponents, type ComponentCategory } from '../index';\n\nexport { bindUsa, usaEventName } from './bind';\nexport type { UsaBinding } from './bind';\n\n/** `APP_INITIALIZER` factory: registers the elements in the browser (no-op during SSR). */\nexport function usaInitializer(categories?: ComponentCategory[]): () => () => void {\n return () => () => {\n if (typeof window !== 'undefined') defineComponents(categories);\n };\n}\n\n/** Register the elements directly (e.g. in `main.ts` before `bootstrapApplication`). */\nexport function defineUsa(categories?: ComponentCategory[]): void {\n if (typeof window !== 'undefined') defineComponents(categories);\n}\n\n/** Read `event.detail` from a `usa:*` event in a template handler: `(usa:change)=\"on = usaDetail($event).checked\"`. */\nexport const usaDetail = <T = any>(e: Event): T => (e as CustomEvent<T>).detail;\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;AAkBG;AAMH;AACM,SAAU,cAAc,CAAC,UAAgC,EAAA;AAC7D,IAAA,OAAO,MAAM,MAAK;QAChB,IAAI,OAAO,MAAM,KAAK,WAAW;YAAE,gBAAgB,CAAC,UAAU,CAAC;AACjE,IAAA,CAAC;AACH;AAEA;AACM,SAAU,SAAS,CAAC,UAAgC,EAAA;IACxD,IAAI,OAAO,MAAM,KAAK,WAAW;QAAE,gBAAgB,CAAC,UAAU,CAAC;AACjE;AAEA;AACO,MAAM,SAAS,GAAG,CAAU,CAAQ,KAAS,CAAoB,CAAC;;;;"}
1
+ {"version":3,"file":"angular.js","sources":["../../src/components/frameworks/angular.ts"],"sourcesContent":["/**\n * motionary/components/angular — Angular integration (v3.8).\n * Angular renders `<usa-*>` tags once the component (or NgModule) allows\n * custom elements with `CUSTOM_ELEMENTS_SCHEMA`; property binding\n * `[checked]=\"on\"` and event binding `(usa:change)=\"…\"` then work as is.\n * This entry is framework-free (no `@angular/*` import):\n *\n * ```ts\n * import { CUSTOM_ELEMENTS_SCHEMA, Component, APP_INITIALIZER } from '@angular/core';\n * import { usaInitializer } from 'motionary/components/angular';\n *\n * // app.config.ts\n * providers: [{ provide: APP_INITIALIZER, multi: true, useFactory: usaInitializer(['click', 'ui']) }]\n *\n * @Component({ standalone: true, schemas: [CUSTOM_ELEMENTS_SCHEMA],\n * template: `<usa-toggle [checked]=\"on\" (usa:change)=\"on = $any($event).detail.checked\"></usa-toggle>` })\n * ```\n * `bindUsa(el, { props, on })` is available for directives that bind imperatively.\n */\nimport { defineComponents, type ComponentCategory } from '../index';\n\nexport { bindUsa, usaEventName } from './bind';\nexport type { UsaBinding } from './bind';\n\n/** `APP_INITIALIZER` factory: registers the elements in the browser (no-op during SSR). */\nexport function usaInitializer(categories?: ComponentCategory[]): () => () => void {\n return () => () => {\n if (typeof window !== 'undefined') defineComponents(categories);\n };\n}\n\n/** Register the elements directly (e.g. in `main.ts` before `bootstrapApplication`). */\nexport function defineUsa(categories?: ComponentCategory[]): void {\n if (typeof window !== 'undefined') defineComponents(categories);\n}\n\n/** Read `event.detail` from a `usa:*` event in a template handler: `(usa:change)=\"on = usaDetail($event).checked\"`. */\nexport const usaDetail = <T = any>(e: Event): T => (e as CustomEvent<T>).detail;\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;AAkBG;AAMH;AACM,SAAU,cAAc,CAAC,UAAgC,EAAA;AAC7D,IAAA,OAAO,MAAM,MAAK;QAChB,IAAI,OAAO,MAAM,KAAK,WAAW;YAAE,gBAAgB,CAAC,UAAU,CAAC;AACjE,IAAA,CAAC;AACH;AAEA;AACM,SAAU,SAAS,CAAC,UAAgC,EAAA;IACxD,IAAI,OAAO,MAAM,KAAK,WAAW;QAAE,gBAAgB,CAAC,UAAU,CAAC;AACjE;AAEA;AACO,MAAM,SAAS,GAAG,CAAU,CAAQ,KAAS,CAAoB,CAAC;;;;"}
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var base = require('../chunks/base-B5i8qQPR.cjs');
4
- var variants = require('../chunks/variants-DxPmgrNX.cjs');
3
+ var base = require('../chunks/base-BaQV-2ha.cjs');
4
+ var variants = require('../chunks/variants-BhjyddG8.cjs');
5
5
 
6
6
  var css$6 = "usa-aurora{position:relative;display:block;isolation:isolate;overflow:hidden}usa-aurora .usa-aurora-layer{position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:var(--usa-aurora-opacity,0.7);overflow:hidden;contain:strict}usa-aurora .usa-aurora-layer i{position:absolute;display:block;width:70%;aspect-ratio:1;border-radius:50%;background:radial-gradient(closest-side,var(--c),transparent);will-change:transform;animation:usa-aurora-a var(--usa-aurora-speed,18s) ease-in-out infinite alternate}usa-aurora .usa-aurora-layer i:nth-child(1){left:-15%;top:-30%}usa-aurora .usa-aurora-layer i:nth-child(2){right:-20%;top:-10%;animation-name:usa-aurora-b;animation-duration:calc(var(--usa-aurora-speed,18s) * 1.3)}usa-aurora .usa-aurora-layer i:nth-child(3){left:10%;bottom:-45%;animation-name:usa-aurora-c;animation-duration:calc(var(--usa-aurora-speed,18s) * 0.9)}usa-aurora .usa-aurora-layer i:nth-child(4){right:0;bottom:-30%;width:50%;animation-name:usa-aurora-b;animation-direction:alternate-reverse}usa-aurora[paused] .usa-aurora-layer i,usa-aurora[data-offscreen] .usa-aurora-layer i{animation-play-state:paused}@keyframes usa-aurora-a{from{transform:translate3d(0,0,0) scale(1)}to{transform:translate3d(30%,20%,0) scale(1.25)}}@keyframes usa-aurora-b{from{transform:translate3d(0,0,0) scale(1.1)}to{transform:translate3d(-35%,25%,0) scale(0.85)}}@keyframes usa-aurora-c{from{transform:translate3d(0,0,0) rotate(0deg) scale(1)}to{transform:translate3d(25%,-30%,0) rotate(40deg) scale(1.2)}}@media (prefers-reduced-motion:reduce){usa-aurora .usa-aurora-layer i,usa-grain .usa-grain-layer,usa-acrylic::after{animation:none !important}}";
7
7
 
@@ -628,7 +628,7 @@ function fluentPreset(options = {}) {
628
628
  }
629
629
 
630
630
  /**
631
- * use-scroll-animate/components/background — backgrounds & decoration.
631
+ * motionary/components/background — backgrounds & decoration.
632
632
  * `<usa-aurora>`, `<usa-particles>`, `<usa-grain>`, `<usa-marquee>`,
633
633
  * `<usa-acrylic>`.
634
634
  */