@humanspeak/svelte-motion 0.1.10 → 0.1.14

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 (367) hide show
  1. package/dist/html/A.svelte +2 -2
  2. package/dist/html/A.svelte.d.ts +1 -1
  3. package/dist/html/Abbr.svelte +2 -2
  4. package/dist/html/Abbr.svelte.d.ts +1 -1
  5. package/dist/html/Address.svelte +2 -2
  6. package/dist/html/Address.svelte.d.ts +1 -1
  7. package/dist/html/Animate.svelte +2 -2
  8. package/dist/html/Animate.svelte.d.ts +1 -1
  9. package/dist/html/Animatemotion.svelte +2 -2
  10. package/dist/html/Animatemotion.svelte.d.ts +1 -1
  11. package/dist/html/Animatetransform.svelte +2 -2
  12. package/dist/html/Animatetransform.svelte.d.ts +1 -1
  13. package/dist/html/Area.svelte +2 -2
  14. package/dist/html/Area.svelte.d.ts +1 -1
  15. package/dist/html/Article.svelte +2 -2
  16. package/dist/html/Article.svelte.d.ts +1 -1
  17. package/dist/html/Aside.svelte +2 -2
  18. package/dist/html/Aside.svelte.d.ts +1 -1
  19. package/dist/html/Audio.svelte +2 -2
  20. package/dist/html/Audio.svelte.d.ts +1 -1
  21. package/dist/html/B.svelte +2 -2
  22. package/dist/html/B.svelte.d.ts +1 -1
  23. package/dist/html/Base.svelte +2 -2
  24. package/dist/html/Base.svelte.d.ts +1 -1
  25. package/dist/html/Bdi.svelte +2 -2
  26. package/dist/html/Bdi.svelte.d.ts +1 -1
  27. package/dist/html/Bdo.svelte +2 -2
  28. package/dist/html/Bdo.svelte.d.ts +1 -1
  29. package/dist/html/Blockquote.svelte +2 -2
  30. package/dist/html/Blockquote.svelte.d.ts +1 -1
  31. package/dist/html/Br.svelte +2 -2
  32. package/dist/html/Br.svelte.d.ts +1 -1
  33. package/dist/html/Button.svelte +2 -2
  34. package/dist/html/Button.svelte.d.ts +1 -1
  35. package/dist/html/Canvas.svelte +2 -2
  36. package/dist/html/Canvas.svelte.d.ts +1 -1
  37. package/dist/html/Caption.svelte +2 -2
  38. package/dist/html/Caption.svelte.d.ts +1 -1
  39. package/dist/html/Circle.svelte +2 -2
  40. package/dist/html/Circle.svelte.d.ts +1 -1
  41. package/dist/html/Cite.svelte +2 -2
  42. package/dist/html/Cite.svelte.d.ts +1 -1
  43. package/dist/html/Clippath.svelte +2 -2
  44. package/dist/html/Clippath.svelte.d.ts +1 -1
  45. package/dist/html/Code.svelte +2 -2
  46. package/dist/html/Code.svelte.d.ts +1 -1
  47. package/dist/html/Col.svelte +2 -2
  48. package/dist/html/Col.svelte.d.ts +1 -1
  49. package/dist/html/Colgroup.svelte +2 -2
  50. package/dist/html/Colgroup.svelte.d.ts +1 -1
  51. package/dist/html/Cursor.svelte +2 -2
  52. package/dist/html/Cursor.svelte.d.ts +1 -1
  53. package/dist/html/Data.svelte +2 -2
  54. package/dist/html/Data.svelte.d.ts +1 -1
  55. package/dist/html/Datalist.svelte +2 -2
  56. package/dist/html/Datalist.svelte.d.ts +1 -1
  57. package/dist/html/Dd.svelte +2 -2
  58. package/dist/html/Dd.svelte.d.ts +1 -1
  59. package/dist/html/Defs.svelte +2 -2
  60. package/dist/html/Defs.svelte.d.ts +1 -1
  61. package/dist/html/Del.svelte +2 -2
  62. package/dist/html/Del.svelte.d.ts +1 -1
  63. package/dist/html/Desc.svelte +2 -2
  64. package/dist/html/Desc.svelte.d.ts +1 -1
  65. package/dist/html/Details.svelte +2 -2
  66. package/dist/html/Details.svelte.d.ts +1 -1
  67. package/dist/html/Dfn.svelte +2 -2
  68. package/dist/html/Dfn.svelte.d.ts +1 -1
  69. package/dist/html/Dialog.svelte +2 -2
  70. package/dist/html/Dialog.svelte.d.ts +1 -1
  71. package/dist/html/Div.svelte +2 -2
  72. package/dist/html/Div.svelte.d.ts +1 -1
  73. package/dist/html/Dl.svelte +2 -2
  74. package/dist/html/Dl.svelte.d.ts +1 -1
  75. package/dist/html/Dt.svelte +2 -2
  76. package/dist/html/Dt.svelte.d.ts +1 -1
  77. package/dist/html/Ellipse.svelte +2 -2
  78. package/dist/html/Ellipse.svelte.d.ts +1 -1
  79. package/dist/html/Em.svelte +2 -2
  80. package/dist/html/Em.svelte.d.ts +1 -1
  81. package/dist/html/Embed.svelte +2 -2
  82. package/dist/html/Embed.svelte.d.ts +1 -1
  83. package/dist/html/Feblend.svelte +2 -2
  84. package/dist/html/Feblend.svelte.d.ts +1 -1
  85. package/dist/html/Fecolormatrix.svelte +2 -2
  86. package/dist/html/Fecolormatrix.svelte.d.ts +1 -1
  87. package/dist/html/Fecomponenttransfer.svelte +2 -2
  88. package/dist/html/Fecomponenttransfer.svelte.d.ts +1 -1
  89. package/dist/html/Fecomposite.svelte +2 -2
  90. package/dist/html/Fecomposite.svelte.d.ts +1 -1
  91. package/dist/html/Feconvolvematrix.svelte +2 -2
  92. package/dist/html/Feconvolvematrix.svelte.d.ts +1 -1
  93. package/dist/html/Fediffuselighting.svelte +2 -2
  94. package/dist/html/Fediffuselighting.svelte.d.ts +1 -1
  95. package/dist/html/Fedisplacementmap.svelte +2 -2
  96. package/dist/html/Fedisplacementmap.svelte.d.ts +1 -1
  97. package/dist/html/Fedistantlight.svelte +2 -2
  98. package/dist/html/Fedistantlight.svelte.d.ts +1 -1
  99. package/dist/html/Feflood.svelte +2 -2
  100. package/dist/html/Feflood.svelte.d.ts +1 -1
  101. package/dist/html/Fefunca.svelte +2 -2
  102. package/dist/html/Fefunca.svelte.d.ts +1 -1
  103. package/dist/html/Fefuncb.svelte +2 -2
  104. package/dist/html/Fefuncb.svelte.d.ts +1 -1
  105. package/dist/html/Fefuncg.svelte +2 -2
  106. package/dist/html/Fefuncg.svelte.d.ts +1 -1
  107. package/dist/html/Fefuncr.svelte +2 -2
  108. package/dist/html/Fefuncr.svelte.d.ts +1 -1
  109. package/dist/html/Fegaussianblur.svelte +2 -2
  110. package/dist/html/Fegaussianblur.svelte.d.ts +1 -1
  111. package/dist/html/Feimage.svelte +2 -2
  112. package/dist/html/Feimage.svelte.d.ts +1 -1
  113. package/dist/html/Femerge.svelte +2 -2
  114. package/dist/html/Femerge.svelte.d.ts +1 -1
  115. package/dist/html/Femergenode.svelte +2 -2
  116. package/dist/html/Femergenode.svelte.d.ts +1 -1
  117. package/dist/html/Femorphology.svelte +2 -2
  118. package/dist/html/Femorphology.svelte.d.ts +1 -1
  119. package/dist/html/Feoffset.svelte +2 -2
  120. package/dist/html/Feoffset.svelte.d.ts +1 -1
  121. package/dist/html/Fepointlight.svelte +2 -2
  122. package/dist/html/Fepointlight.svelte.d.ts +1 -1
  123. package/dist/html/Fespecularlighting.svelte +2 -2
  124. package/dist/html/Fespecularlighting.svelte.d.ts +1 -1
  125. package/dist/html/Fespotlight.svelte +2 -2
  126. package/dist/html/Fespotlight.svelte.d.ts +1 -1
  127. package/dist/html/Fetile.svelte +2 -2
  128. package/dist/html/Fetile.svelte.d.ts +1 -1
  129. package/dist/html/Feturbulence.svelte +2 -2
  130. package/dist/html/Feturbulence.svelte.d.ts +1 -1
  131. package/dist/html/Fieldset.svelte +2 -2
  132. package/dist/html/Fieldset.svelte.d.ts +1 -1
  133. package/dist/html/Figcaption.svelte +2 -2
  134. package/dist/html/Figcaption.svelte.d.ts +1 -1
  135. package/dist/html/Figure.svelte +2 -2
  136. package/dist/html/Figure.svelte.d.ts +1 -1
  137. package/dist/html/Filter.svelte +2 -2
  138. package/dist/html/Filter.svelte.d.ts +1 -1
  139. package/dist/html/Footer.svelte +2 -2
  140. package/dist/html/Footer.svelte.d.ts +1 -1
  141. package/dist/html/Foreignobject.svelte +2 -2
  142. package/dist/html/Foreignobject.svelte.d.ts +1 -1
  143. package/dist/html/Form.svelte +2 -2
  144. package/dist/html/Form.svelte.d.ts +1 -1
  145. package/dist/html/G.svelte +2 -2
  146. package/dist/html/G.svelte.d.ts +1 -1
  147. package/dist/html/H1.svelte +2 -2
  148. package/dist/html/H1.svelte.d.ts +1 -1
  149. package/dist/html/H2.svelte +2 -2
  150. package/dist/html/H2.svelte.d.ts +1 -1
  151. package/dist/html/H3.svelte +2 -2
  152. package/dist/html/H3.svelte.d.ts +1 -1
  153. package/dist/html/H4.svelte +2 -2
  154. package/dist/html/H4.svelte.d.ts +1 -1
  155. package/dist/html/H5.svelte +2 -2
  156. package/dist/html/H5.svelte.d.ts +1 -1
  157. package/dist/html/H6.svelte +2 -2
  158. package/dist/html/H6.svelte.d.ts +1 -1
  159. package/dist/html/Header.svelte +2 -2
  160. package/dist/html/Header.svelte.d.ts +1 -1
  161. package/dist/html/Hgroup.svelte +2 -2
  162. package/dist/html/Hgroup.svelte.d.ts +1 -1
  163. package/dist/html/Hr.svelte +2 -2
  164. package/dist/html/Hr.svelte.d.ts +1 -1
  165. package/dist/html/I.svelte +2 -2
  166. package/dist/html/I.svelte.d.ts +1 -1
  167. package/dist/html/Iframe.svelte +2 -2
  168. package/dist/html/Iframe.svelte.d.ts +1 -1
  169. package/dist/html/Image.svelte +2 -2
  170. package/dist/html/Image.svelte.d.ts +1 -1
  171. package/dist/html/Img.svelte +2 -2
  172. package/dist/html/Img.svelte.d.ts +1 -1
  173. package/dist/html/Input.svelte +2 -2
  174. package/dist/html/Input.svelte.d.ts +1 -1
  175. package/dist/html/Ins.svelte +2 -2
  176. package/dist/html/Ins.svelte.d.ts +1 -1
  177. package/dist/html/Kbd.svelte +2 -2
  178. package/dist/html/Kbd.svelte.d.ts +1 -1
  179. package/dist/html/Label.svelte +2 -2
  180. package/dist/html/Label.svelte.d.ts +1 -1
  181. package/dist/html/Legend.svelte +2 -2
  182. package/dist/html/Legend.svelte.d.ts +1 -1
  183. package/dist/html/Li.svelte +2 -2
  184. package/dist/html/Li.svelte.d.ts +1 -1
  185. package/dist/html/Line.svelte +2 -2
  186. package/dist/html/Line.svelte.d.ts +1 -1
  187. package/dist/html/Lineargradient.svelte +2 -2
  188. package/dist/html/Lineargradient.svelte.d.ts +1 -1
  189. package/dist/html/Main.svelte +2 -2
  190. package/dist/html/Main.svelte.d.ts +1 -1
  191. package/dist/html/Map.svelte +2 -2
  192. package/dist/html/Map.svelte.d.ts +1 -1
  193. package/dist/html/Mark.svelte +2 -2
  194. package/dist/html/Mark.svelte.d.ts +1 -1
  195. package/dist/html/Marker.svelte +2 -2
  196. package/dist/html/Marker.svelte.d.ts +1 -1
  197. package/dist/html/Mask.svelte +2 -2
  198. package/dist/html/Mask.svelte.d.ts +1 -1
  199. package/dist/html/Math.svelte +2 -2
  200. package/dist/html/Math.svelte.d.ts +1 -1
  201. package/dist/html/Menu.svelte +2 -2
  202. package/dist/html/Menu.svelte.d.ts +1 -1
  203. package/dist/html/Metadata.svelte +2 -2
  204. package/dist/html/Metadata.svelte.d.ts +1 -1
  205. package/dist/html/Meter.svelte +2 -2
  206. package/dist/html/Meter.svelte.d.ts +1 -1
  207. package/dist/html/Mpath.svelte +2 -2
  208. package/dist/html/Mpath.svelte.d.ts +1 -1
  209. package/dist/html/Nav.svelte +2 -2
  210. package/dist/html/Nav.svelte.d.ts +1 -1
  211. package/dist/html/Noscript.svelte +2 -2
  212. package/dist/html/Noscript.svelte.d.ts +1 -1
  213. package/dist/html/Object.svelte +2 -2
  214. package/dist/html/Object.svelte.d.ts +1 -1
  215. package/dist/html/Ol.svelte +2 -2
  216. package/dist/html/Ol.svelte.d.ts +1 -1
  217. package/dist/html/Optgroup.svelte +2 -2
  218. package/dist/html/Optgroup.svelte.d.ts +1 -1
  219. package/dist/html/Option.svelte +2 -2
  220. package/dist/html/Option.svelte.d.ts +1 -1
  221. package/dist/html/Output.svelte +2 -2
  222. package/dist/html/Output.svelte.d.ts +1 -1
  223. package/dist/html/P.svelte +2 -2
  224. package/dist/html/P.svelte.d.ts +1 -1
  225. package/dist/html/Path.svelte +2 -2
  226. package/dist/html/Path.svelte.d.ts +1 -1
  227. package/dist/html/Pattern.svelte +2 -2
  228. package/dist/html/Pattern.svelte.d.ts +1 -1
  229. package/dist/html/Picture.svelte +2 -2
  230. package/dist/html/Picture.svelte.d.ts +1 -1
  231. package/dist/html/Polygon.svelte +2 -2
  232. package/dist/html/Polygon.svelte.d.ts +1 -1
  233. package/dist/html/Polyline.svelte +2 -2
  234. package/dist/html/Polyline.svelte.d.ts +1 -1
  235. package/dist/html/Pre.svelte +2 -2
  236. package/dist/html/Pre.svelte.d.ts +1 -1
  237. package/dist/html/Progress.svelte +2 -2
  238. package/dist/html/Progress.svelte.d.ts +1 -1
  239. package/dist/html/Q.svelte +2 -2
  240. package/dist/html/Q.svelte.d.ts +1 -1
  241. package/dist/html/Radialgradient.svelte +2 -2
  242. package/dist/html/Radialgradient.svelte.d.ts +1 -1
  243. package/dist/html/Rect.svelte +2 -2
  244. package/dist/html/Rect.svelte.d.ts +1 -1
  245. package/dist/html/Rp.svelte +2 -2
  246. package/dist/html/Rp.svelte.d.ts +1 -1
  247. package/dist/html/Rt.svelte +2 -2
  248. package/dist/html/Rt.svelte.d.ts +1 -1
  249. package/dist/html/Ruby.svelte +2 -2
  250. package/dist/html/Ruby.svelte.d.ts +1 -1
  251. package/dist/html/S.svelte +2 -2
  252. package/dist/html/S.svelte.d.ts +1 -1
  253. package/dist/html/Samp.svelte +2 -2
  254. package/dist/html/Samp.svelte.d.ts +1 -1
  255. package/dist/html/Script.svelte +2 -2
  256. package/dist/html/Script.svelte.d.ts +1 -1
  257. package/dist/html/Search.svelte +2 -2
  258. package/dist/html/Search.svelte.d.ts +1 -1
  259. package/dist/html/Section.svelte +2 -2
  260. package/dist/html/Section.svelte.d.ts +1 -1
  261. package/dist/html/Select.svelte +2 -2
  262. package/dist/html/Select.svelte.d.ts +1 -1
  263. package/dist/html/Selectedcontent.svelte +2 -2
  264. package/dist/html/Selectedcontent.svelte.d.ts +1 -1
  265. package/dist/html/Set.svelte +2 -2
  266. package/dist/html/Set.svelte.d.ts +1 -1
  267. package/dist/html/Slot.svelte +2 -2
  268. package/dist/html/Slot.svelte.d.ts +1 -1
  269. package/dist/html/Small.svelte +2 -2
  270. package/dist/html/Small.svelte.d.ts +1 -1
  271. package/dist/html/Source.svelte +2 -2
  272. package/dist/html/Source.svelte.d.ts +1 -1
  273. package/dist/html/Span.svelte +2 -2
  274. package/dist/html/Span.svelte.d.ts +1 -1
  275. package/dist/html/Stop.svelte +2 -2
  276. package/dist/html/Stop.svelte.d.ts +1 -1
  277. package/dist/html/Strong.svelte +2 -2
  278. package/dist/html/Strong.svelte.d.ts +1 -1
  279. package/dist/html/Style.svelte +2 -2
  280. package/dist/html/Style.svelte.d.ts +1 -1
  281. package/dist/html/Sub.svelte +2 -2
  282. package/dist/html/Sub.svelte.d.ts +1 -1
  283. package/dist/html/Summary.svelte +2 -2
  284. package/dist/html/Summary.svelte.d.ts +1 -1
  285. package/dist/html/Sup.svelte +2 -2
  286. package/dist/html/Sup.svelte.d.ts +1 -1
  287. package/dist/html/Svg.svelte +2 -2
  288. package/dist/html/Svg.svelte.d.ts +1 -1
  289. package/dist/html/Switch.svelte +2 -2
  290. package/dist/html/Switch.svelte.d.ts +1 -1
  291. package/dist/html/Symbol.svelte +2 -2
  292. package/dist/html/Symbol.svelte.d.ts +1 -1
  293. package/dist/html/Table.svelte +2 -2
  294. package/dist/html/Table.svelte.d.ts +1 -1
  295. package/dist/html/Tbody.svelte +2 -2
  296. package/dist/html/Tbody.svelte.d.ts +1 -1
  297. package/dist/html/Td.svelte +2 -2
  298. package/dist/html/Td.svelte.d.ts +1 -1
  299. package/dist/html/Template.svelte +2 -2
  300. package/dist/html/Template.svelte.d.ts +1 -1
  301. package/dist/html/Text.svelte +2 -2
  302. package/dist/html/Text.svelte.d.ts +1 -1
  303. package/dist/html/Textarea.svelte +2 -2
  304. package/dist/html/Textarea.svelte.d.ts +1 -1
  305. package/dist/html/Textpath.svelte +2 -2
  306. package/dist/html/Textpath.svelte.d.ts +1 -1
  307. package/dist/html/Tfoot.svelte +2 -2
  308. package/dist/html/Tfoot.svelte.d.ts +1 -1
  309. package/dist/html/Th.svelte +2 -2
  310. package/dist/html/Th.svelte.d.ts +1 -1
  311. package/dist/html/Thead.svelte +2 -2
  312. package/dist/html/Thead.svelte.d.ts +1 -1
  313. package/dist/html/Time.svelte +2 -2
  314. package/dist/html/Time.svelte.d.ts +1 -1
  315. package/dist/html/Title.svelte +2 -2
  316. package/dist/html/Title.svelte.d.ts +1 -1
  317. package/dist/html/Tr.svelte +2 -2
  318. package/dist/html/Tr.svelte.d.ts +1 -1
  319. package/dist/html/Track.svelte +2 -2
  320. package/dist/html/Track.svelte.d.ts +1 -1
  321. package/dist/html/Tref.svelte +2 -2
  322. package/dist/html/Tref.svelte.d.ts +1 -1
  323. package/dist/html/Tspan.svelte +2 -2
  324. package/dist/html/Tspan.svelte.d.ts +1 -1
  325. package/dist/html/U.svelte +2 -2
  326. package/dist/html/U.svelte.d.ts +1 -1
  327. package/dist/html/Ul.svelte +2 -2
  328. package/dist/html/Ul.svelte.d.ts +1 -1
  329. package/dist/html/Use.svelte +2 -2
  330. package/dist/html/Use.svelte.d.ts +1 -1
  331. package/dist/html/Var.svelte +2 -2
  332. package/dist/html/Var.svelte.d.ts +1 -1
  333. package/dist/html/Video.svelte +2 -2
  334. package/dist/html/Video.svelte.d.ts +1 -1
  335. package/dist/html/View.svelte +2 -2
  336. package/dist/html/View.svelte.d.ts +1 -1
  337. package/dist/html/Wbr.svelte +2 -2
  338. package/dist/html/Wbr.svelte.d.ts +1 -1
  339. package/dist/html/_MotionContainer.svelte +183 -12
  340. package/dist/index.d.ts +2 -1
  341. package/dist/index.js +1 -0
  342. package/dist/types.d.ts +90 -0
  343. package/dist/utils/dom.d.ts +16 -0
  344. package/dist/utils/dom.js +18 -0
  345. package/dist/utils/drag.d.ts +89 -0
  346. package/dist/utils/drag.js +664 -0
  347. package/dist/utils/dragControls.d.ts +5 -0
  348. package/dist/utils/dragControls.js +31 -0
  349. package/dist/utils/dragMath.d.ts +19 -0
  350. package/dist/utils/dragMath.js +29 -0
  351. package/dist/utils/dragParams.d.ts +36 -0
  352. package/dist/utils/dragParams.js +29 -0
  353. package/dist/utils/focus.js +21 -4
  354. package/dist/utils/hover.d.ts +5 -5
  355. package/dist/utils/hover.js +17 -25
  356. package/dist/utils/inertia.d.ts +33 -0
  357. package/dist/utils/inertia.js +159 -0
  358. package/dist/utils/interaction.d.ts +1 -1
  359. package/dist/utils/interaction.js +230 -17
  360. package/dist/utils/log.d.ts +3 -0
  361. package/dist/utils/log.js +26 -0
  362. package/dist/utils/style.js +10 -0
  363. package/dist/utils/svg.d.ts +97 -0
  364. package/dist/utils/svg.js +226 -0
  365. package/dist/utils/transform.d.ts +15 -0
  366. package/dist/utils/transform.js +60 -0
  367. package/package.json +39 -36
@@ -2,9 +2,9 @@
2
2
  import MotionContainer from './_MotionContainer.svelte'
3
3
  import type { HTMLElementProps } from '../types'
4
4
 
5
- let { children, ...rest }: HTMLElementProps = $props()
5
+ let { children, ref = $bindable(null), ...rest }: HTMLElementProps = $props()
6
6
  </script>
7
7
 
8
- <MotionContainer tag="a" {...rest}>
8
+ <MotionContainer bind:ref tag="a" {...rest}>
9
9
  {@render children?.()}
10
10
  </MotionContainer>
@@ -1,4 +1,4 @@
1
1
  import type { HTMLElementProps } from '../types';
2
- declare const A: import("svelte").Component<HTMLElementProps, {}, "">;
2
+ declare const A: import("svelte").Component<HTMLElementProps, {}, "ref">;
3
3
  type A = ReturnType<typeof A>;
4
4
  export default A;
@@ -2,9 +2,9 @@
2
2
  import MotionContainer from './_MotionContainer.svelte'
3
3
  import type { HTMLElementProps } from '../types'
4
4
 
5
- let { children, ...rest }: HTMLElementProps = $props()
5
+ let { children, ref = $bindable(null), ...rest }: HTMLElementProps = $props()
6
6
  </script>
7
7
 
8
- <MotionContainer tag="abbr" {...rest}>
8
+ <MotionContainer bind:ref tag="abbr" {...rest}>
9
9
  {@render children?.()}
10
10
  </MotionContainer>
@@ -1,4 +1,4 @@
1
1
  import type { HTMLElementProps } from '../types';
2
- declare const Abbr: import("svelte").Component<HTMLElementProps, {}, "">;
2
+ declare const Abbr: import("svelte").Component<HTMLElementProps, {}, "ref">;
3
3
  type Abbr = ReturnType<typeof Abbr>;
4
4
  export default Abbr;
@@ -2,9 +2,9 @@
2
2
  import MotionContainer from './_MotionContainer.svelte'
3
3
  import type { HTMLElementProps } from '../types'
4
4
 
5
- let { children, ...rest }: HTMLElementProps = $props()
5
+ let { children, ref = $bindable(null), ...rest }: HTMLElementProps = $props()
6
6
  </script>
7
7
 
8
- <MotionContainer tag="address" {...rest}>
8
+ <MotionContainer bind:ref tag="address" {...rest}>
9
9
  {@render children?.()}
10
10
  </MotionContainer>
@@ -1,4 +1,4 @@
1
1
  import type { HTMLElementProps } from '../types';
2
- declare const Address: import("svelte").Component<HTMLElementProps, {}, "">;
2
+ declare const Address: import("svelte").Component<HTMLElementProps, {}, "ref">;
3
3
  type Address = ReturnType<typeof Address>;
4
4
  export default Address;
@@ -2,9 +2,9 @@
2
2
  import MotionContainer from './_MotionContainer.svelte'
3
3
  import type { HTMLElementProps } from '../types'
4
4
 
5
- let { children, ...rest }: HTMLElementProps = $props()
5
+ let { children, ref = $bindable(null), ...rest }: HTMLElementProps = $props()
6
6
  </script>
7
7
 
8
- <MotionContainer tag="animate" {...rest}>
8
+ <MotionContainer bind:ref tag="animate" {...rest}>
9
9
  {@render children?.()}
10
10
  </MotionContainer>
@@ -1,4 +1,4 @@
1
1
  import type { HTMLElementProps } from '../types';
2
- declare const Animate: import("svelte").Component<HTMLElementProps, {}, "">;
2
+ declare const Animate: import("svelte").Component<HTMLElementProps, {}, "ref">;
3
3
  type Animate = ReturnType<typeof Animate>;
4
4
  export default Animate;
@@ -2,9 +2,9 @@
2
2
  import MotionContainer from './_MotionContainer.svelte'
3
3
  import type { HTMLElementProps } from '../types'
4
4
 
5
- let { children, ...rest }: HTMLElementProps = $props()
5
+ let { children, ref = $bindable(null), ...rest }: HTMLElementProps = $props()
6
6
  </script>
7
7
 
8
- <MotionContainer tag="animatemotion" {...rest}>
8
+ <MotionContainer bind:ref tag="animatemotion" {...rest}>
9
9
  {@render children?.()}
10
10
  </MotionContainer>
@@ -1,4 +1,4 @@
1
1
  import type { HTMLElementProps } from '../types';
2
- declare const Animatemotion: import("svelte").Component<HTMLElementProps, {}, "">;
2
+ declare const Animatemotion: import("svelte").Component<HTMLElementProps, {}, "ref">;
3
3
  type Animatemotion = ReturnType<typeof Animatemotion>;
4
4
  export default Animatemotion;
@@ -2,9 +2,9 @@
2
2
  import MotionContainer from './_MotionContainer.svelte'
3
3
  import type { HTMLElementProps } from '../types'
4
4
 
5
- let { children, ...rest }: HTMLElementProps = $props()
5
+ let { children, ref = $bindable(null), ...rest }: HTMLElementProps = $props()
6
6
  </script>
7
7
 
8
- <MotionContainer tag="animatetransform" {...rest}>
8
+ <MotionContainer bind:ref tag="animatetransform" {...rest}>
9
9
  {@render children?.()}
10
10
  </MotionContainer>
@@ -1,4 +1,4 @@
1
1
  import type { HTMLElementProps } from '../types';
2
- declare const Animatetransform: import("svelte").Component<HTMLElementProps, {}, "">;
2
+ declare const Animatetransform: import("svelte").Component<HTMLElementProps, {}, "ref">;
3
3
  type Animatetransform = ReturnType<typeof Animatetransform>;
4
4
  export default Animatetransform;
@@ -2,7 +2,7 @@
2
2
  import MotionContainer from './_MotionContainer.svelte'
3
3
  import type { HTMLVoidElementProps } from '../types'
4
4
 
5
- let { ...rest }: HTMLVoidElementProps = $props()
5
+ let { ref = $bindable(null), ...rest }: HTMLVoidElementProps = $props()
6
6
  </script>
7
7
 
8
- <MotionContainer tag="area" {...rest} />
8
+ <MotionContainer bind:ref tag="area" {...rest} />
@@ -1,4 +1,4 @@
1
1
  import type { HTMLVoidElementProps } from '../types';
2
- declare const Area: import("svelte").Component<HTMLVoidElementProps, {}, "">;
2
+ declare const Area: import("svelte").Component<HTMLVoidElementProps, {}, "ref">;
3
3
  type Area = ReturnType<typeof Area>;
4
4
  export default Area;
@@ -2,9 +2,9 @@
2
2
  import MotionContainer from './_MotionContainer.svelte'
3
3
  import type { HTMLElementProps } from '../types'
4
4
 
5
- let { children, ...rest }: HTMLElementProps = $props()
5
+ let { children, ref = $bindable(null), ...rest }: HTMLElementProps = $props()
6
6
  </script>
7
7
 
8
- <MotionContainer tag="article" {...rest}>
8
+ <MotionContainer bind:ref tag="article" {...rest}>
9
9
  {@render children?.()}
10
10
  </MotionContainer>
@@ -1,4 +1,4 @@
1
1
  import type { HTMLElementProps } from '../types';
2
- declare const Article: import("svelte").Component<HTMLElementProps, {}, "">;
2
+ declare const Article: import("svelte").Component<HTMLElementProps, {}, "ref">;
3
3
  type Article = ReturnType<typeof Article>;
4
4
  export default Article;
@@ -2,9 +2,9 @@
2
2
  import MotionContainer from './_MotionContainer.svelte'
3
3
  import type { HTMLElementProps } from '../types'
4
4
 
5
- let { children, ...rest }: HTMLElementProps = $props()
5
+ let { children, ref = $bindable(null), ...rest }: HTMLElementProps = $props()
6
6
  </script>
7
7
 
8
- <MotionContainer tag="aside" {...rest}>
8
+ <MotionContainer bind:ref tag="aside" {...rest}>
9
9
  {@render children?.()}
10
10
  </MotionContainer>
@@ -1,4 +1,4 @@
1
1
  import type { HTMLElementProps } from '../types';
2
- declare const Aside: import("svelte").Component<HTMLElementProps, {}, "">;
2
+ declare const Aside: import("svelte").Component<HTMLElementProps, {}, "ref">;
3
3
  type Aside = ReturnType<typeof Aside>;
4
4
  export default Aside;
@@ -2,9 +2,9 @@
2
2
  import MotionContainer from './_MotionContainer.svelte'
3
3
  import type { HTMLElementProps } from '../types'
4
4
 
5
- let { children, ...rest }: HTMLElementProps = $props()
5
+ let { children, ref = $bindable(null), ...rest }: HTMLElementProps = $props()
6
6
  </script>
7
7
 
8
- <MotionContainer tag="audio" {...rest}>
8
+ <MotionContainer bind:ref tag="audio" {...rest}>
9
9
  {@render children?.()}
10
10
  </MotionContainer>
@@ -1,4 +1,4 @@
1
1
  import type { HTMLElementProps } from '../types';
2
- declare const Audio: import("svelte").Component<HTMLElementProps, {}, "">;
2
+ declare const Audio: import("svelte").Component<HTMLElementProps, {}, "ref">;
3
3
  type Audio = ReturnType<typeof Audio>;
4
4
  export default Audio;
@@ -2,9 +2,9 @@
2
2
  import MotionContainer from './_MotionContainer.svelte'
3
3
  import type { HTMLElementProps } from '../types'
4
4
 
5
- let { children, ...rest }: HTMLElementProps = $props()
5
+ let { children, ref = $bindable(null), ...rest }: HTMLElementProps = $props()
6
6
  </script>
7
7
 
8
- <MotionContainer tag="b" {...rest}>
8
+ <MotionContainer bind:ref tag="b" {...rest}>
9
9
  {@render children?.()}
10
10
  </MotionContainer>
@@ -1,4 +1,4 @@
1
1
  import type { HTMLElementProps } from '../types';
2
- declare const B: import("svelte").Component<HTMLElementProps, {}, "">;
2
+ declare const B: import("svelte").Component<HTMLElementProps, {}, "ref">;
3
3
  type B = ReturnType<typeof B>;
4
4
  export default B;
@@ -2,7 +2,7 @@
2
2
  import MotionContainer from './_MotionContainer.svelte'
3
3
  import type { HTMLVoidElementProps } from '../types'
4
4
 
5
- let { ...rest }: HTMLVoidElementProps = $props()
5
+ let { ref = $bindable(null), ...rest }: HTMLVoidElementProps = $props()
6
6
  </script>
7
7
 
8
- <MotionContainer tag="base" {...rest} />
8
+ <MotionContainer bind:ref tag="base" {...rest} />
@@ -1,4 +1,4 @@
1
1
  import type { HTMLVoidElementProps } from '../types';
2
- declare const Base: import("svelte").Component<HTMLVoidElementProps, {}, "">;
2
+ declare const Base: import("svelte").Component<HTMLVoidElementProps, {}, "ref">;
3
3
  type Base = ReturnType<typeof Base>;
4
4
  export default Base;
@@ -2,9 +2,9 @@
2
2
  import MotionContainer from './_MotionContainer.svelte'
3
3
  import type { HTMLElementProps } from '../types'
4
4
 
5
- let { children, ...rest }: HTMLElementProps = $props()
5
+ let { children, ref = $bindable(null), ...rest }: HTMLElementProps = $props()
6
6
  </script>
7
7
 
8
- <MotionContainer tag="bdi" {...rest}>
8
+ <MotionContainer bind:ref tag="bdi" {...rest}>
9
9
  {@render children?.()}
10
10
  </MotionContainer>
@@ -1,4 +1,4 @@
1
1
  import type { HTMLElementProps } from '../types';
2
- declare const Bdi: import("svelte").Component<HTMLElementProps, {}, "">;
2
+ declare const Bdi: import("svelte").Component<HTMLElementProps, {}, "ref">;
3
3
  type Bdi = ReturnType<typeof Bdi>;
4
4
  export default Bdi;
@@ -2,9 +2,9 @@
2
2
  import MotionContainer from './_MotionContainer.svelte'
3
3
  import type { HTMLElementProps } from '../types'
4
4
 
5
- let { children, ...rest }: HTMLElementProps = $props()
5
+ let { children, ref = $bindable(null), ...rest }: HTMLElementProps = $props()
6
6
  </script>
7
7
 
8
- <MotionContainer tag="bdo" {...rest}>
8
+ <MotionContainer bind:ref tag="bdo" {...rest}>
9
9
  {@render children?.()}
10
10
  </MotionContainer>
@@ -1,4 +1,4 @@
1
1
  import type { HTMLElementProps } from '../types';
2
- declare const Bdo: import("svelte").Component<HTMLElementProps, {}, "">;
2
+ declare const Bdo: import("svelte").Component<HTMLElementProps, {}, "ref">;
3
3
  type Bdo = ReturnType<typeof Bdo>;
4
4
  export default Bdo;
@@ -2,9 +2,9 @@
2
2
  import MotionContainer from './_MotionContainer.svelte'
3
3
  import type { HTMLElementProps } from '../types'
4
4
 
5
- let { children, ...rest }: HTMLElementProps = $props()
5
+ let { children, ref = $bindable(null), ...rest }: HTMLElementProps = $props()
6
6
  </script>
7
7
 
8
- <MotionContainer tag="blockquote" {...rest}>
8
+ <MotionContainer bind:ref tag="blockquote" {...rest}>
9
9
  {@render children?.()}
10
10
  </MotionContainer>
@@ -1,4 +1,4 @@
1
1
  import type { HTMLElementProps } from '../types';
2
- declare const Blockquote: import("svelte").Component<HTMLElementProps, {}, "">;
2
+ declare const Blockquote: import("svelte").Component<HTMLElementProps, {}, "ref">;
3
3
  type Blockquote = ReturnType<typeof Blockquote>;
4
4
  export default Blockquote;
@@ -2,7 +2,7 @@
2
2
  import MotionContainer from './_MotionContainer.svelte'
3
3
  import type { HTMLVoidElementProps } from '../types'
4
4
 
5
- let { ...rest }: HTMLVoidElementProps = $props()
5
+ let { ref = $bindable(null), ...rest }: HTMLVoidElementProps = $props()
6
6
  </script>
7
7
 
8
- <MotionContainer tag="br" {...rest} />
8
+ <MotionContainer bind:ref tag="br" {...rest} />
@@ -1,4 +1,4 @@
1
1
  import type { HTMLVoidElementProps } from '../types';
2
- declare const Br: import("svelte").Component<HTMLVoidElementProps, {}, "">;
2
+ declare const Br: import("svelte").Component<HTMLVoidElementProps, {}, "ref">;
3
3
  type Br = ReturnType<typeof Br>;
4
4
  export default Br;
@@ -2,9 +2,9 @@
2
2
  import MotionContainer from './_MotionContainer.svelte'
3
3
  import type { HTMLElementProps } from '../types'
4
4
 
5
- let { children, ...rest }: HTMLElementProps = $props()
5
+ let { children, ref = $bindable(null), ...rest }: HTMLElementProps = $props()
6
6
  </script>
7
7
 
8
- <MotionContainer tag="button" {...rest}>
8
+ <MotionContainer bind:ref tag="button" {...rest}>
9
9
  {@render children?.()}
10
10
  </MotionContainer>
@@ -1,4 +1,4 @@
1
1
  import type { HTMLElementProps } from '../types';
2
- declare const Button: import("svelte").Component<HTMLElementProps, {}, "">;
2
+ declare const Button: import("svelte").Component<HTMLElementProps, {}, "ref">;
3
3
  type Button = ReturnType<typeof Button>;
4
4
  export default Button;
@@ -2,9 +2,9 @@
2
2
  import MotionContainer from './_MotionContainer.svelte'
3
3
  import type { HTMLElementProps } from '../types'
4
4
 
5
- let { children, ...rest }: HTMLElementProps = $props()
5
+ let { children, ref = $bindable(null), ...rest }: HTMLElementProps = $props()
6
6
  </script>
7
7
 
8
- <MotionContainer tag="canvas" {...rest}>
8
+ <MotionContainer bind:ref tag="canvas" {...rest}>
9
9
  {@render children?.()}
10
10
  </MotionContainer>
@@ -1,4 +1,4 @@
1
1
  import type { HTMLElementProps } from '../types';
2
- declare const Canvas: import("svelte").Component<HTMLElementProps, {}, "">;
2
+ declare const Canvas: import("svelte").Component<HTMLElementProps, {}, "ref">;
3
3
  type Canvas = ReturnType<typeof Canvas>;
4
4
  export default Canvas;
@@ -2,9 +2,9 @@
2
2
  import MotionContainer from './_MotionContainer.svelte'
3
3
  import type { HTMLElementProps } from '../types'
4
4
 
5
- let { children, ...rest }: HTMLElementProps = $props()
5
+ let { children, ref = $bindable(null), ...rest }: HTMLElementProps = $props()
6
6
  </script>
7
7
 
8
- <MotionContainer tag="caption" {...rest}>
8
+ <MotionContainer bind:ref tag="caption" {...rest}>
9
9
  {@render children?.()}
10
10
  </MotionContainer>
@@ -1,4 +1,4 @@
1
1
  import type { HTMLElementProps } from '../types';
2
- declare const Caption: import("svelte").Component<HTMLElementProps, {}, "">;
2
+ declare const Caption: import("svelte").Component<HTMLElementProps, {}, "ref">;
3
3
  type Caption = ReturnType<typeof Caption>;
4
4
  export default Caption;
@@ -2,9 +2,9 @@
2
2
  import MotionContainer from './_MotionContainer.svelte'
3
3
  import type { HTMLElementProps } from '../types'
4
4
 
5
- let { children, ...rest }: HTMLElementProps = $props()
5
+ let { children, ref = $bindable(null), ...rest }: HTMLElementProps = $props()
6
6
  </script>
7
7
 
8
- <MotionContainer tag="circle" {...rest}>
8
+ <MotionContainer bind:ref tag="circle" {...rest}>
9
9
  {@render children?.()}
10
10
  </MotionContainer>
@@ -1,4 +1,4 @@
1
1
  import type { HTMLElementProps } from '../types';
2
- declare const Circle: import("svelte").Component<HTMLElementProps, {}, "">;
2
+ declare const Circle: import("svelte").Component<HTMLElementProps, {}, "ref">;
3
3
  type Circle = ReturnType<typeof Circle>;
4
4
  export default Circle;
@@ -2,9 +2,9 @@
2
2
  import MotionContainer from './_MotionContainer.svelte'
3
3
  import type { HTMLElementProps } from '../types'
4
4
 
5
- let { children, ...rest }: HTMLElementProps = $props()
5
+ let { children, ref = $bindable(null), ...rest }: HTMLElementProps = $props()
6
6
  </script>
7
7
 
8
- <MotionContainer tag="cite" {...rest}>
8
+ <MotionContainer bind:ref tag="cite" {...rest}>
9
9
  {@render children?.()}
10
10
  </MotionContainer>
@@ -1,4 +1,4 @@
1
1
  import type { HTMLElementProps } from '../types';
2
- declare const Cite: import("svelte").Component<HTMLElementProps, {}, "">;
2
+ declare const Cite: import("svelte").Component<HTMLElementProps, {}, "ref">;
3
3
  type Cite = ReturnType<typeof Cite>;
4
4
  export default Cite;
@@ -2,9 +2,9 @@
2
2
  import MotionContainer from './_MotionContainer.svelte'
3
3
  import type { HTMLElementProps } from '../types'
4
4
 
5
- let { children, ...rest }: HTMLElementProps = $props()
5
+ let { children, ref = $bindable(null), ...rest }: HTMLElementProps = $props()
6
6
  </script>
7
7
 
8
- <MotionContainer tag="clippath" {...rest}>
8
+ <MotionContainer bind:ref tag="clippath" {...rest}>
9
9
  {@render children?.()}
10
10
  </MotionContainer>
@@ -1,4 +1,4 @@
1
1
  import type { HTMLElementProps } from '../types';
2
- declare const Clippath: import("svelte").Component<HTMLElementProps, {}, "">;
2
+ declare const Clippath: import("svelte").Component<HTMLElementProps, {}, "ref">;
3
3
  type Clippath = ReturnType<typeof Clippath>;
4
4
  export default Clippath;
@@ -2,9 +2,9 @@
2
2
  import MotionContainer from './_MotionContainer.svelte'
3
3
  import type { HTMLElementProps } from '../types'
4
4
 
5
- let { children, ...rest }: HTMLElementProps = $props()
5
+ let { children, ref = $bindable(null), ...rest }: HTMLElementProps = $props()
6
6
  </script>
7
7
 
8
- <MotionContainer tag="code" {...rest}>
8
+ <MotionContainer bind:ref tag="code" {...rest}>
9
9
  {@render children?.()}
10
10
  </MotionContainer>
@@ -1,4 +1,4 @@
1
1
  import type { HTMLElementProps } from '../types';
2
- declare const Code: import("svelte").Component<HTMLElementProps, {}, "">;
2
+ declare const Code: import("svelte").Component<HTMLElementProps, {}, "ref">;
3
3
  type Code = ReturnType<typeof Code>;
4
4
  export default Code;
@@ -2,7 +2,7 @@
2
2
  import MotionContainer from './_MotionContainer.svelte'
3
3
  import type { HTMLVoidElementProps } from '../types'
4
4
 
5
- let { ...rest }: HTMLVoidElementProps = $props()
5
+ let { ref = $bindable(null), ...rest }: HTMLVoidElementProps = $props()
6
6
  </script>
7
7
 
8
- <MotionContainer tag="col" {...rest} />
8
+ <MotionContainer bind:ref tag="col" {...rest} />
@@ -1,4 +1,4 @@
1
1
  import type { HTMLVoidElementProps } from '../types';
2
- declare const Col: import("svelte").Component<HTMLVoidElementProps, {}, "">;
2
+ declare const Col: import("svelte").Component<HTMLVoidElementProps, {}, "ref">;
3
3
  type Col = ReturnType<typeof Col>;
4
4
  export default Col;
@@ -2,9 +2,9 @@
2
2
  import MotionContainer from './_MotionContainer.svelte'
3
3
  import type { HTMLElementProps } from '../types'
4
4
 
5
- let { children, ...rest }: HTMLElementProps = $props()
5
+ let { children, ref = $bindable(null), ...rest }: HTMLElementProps = $props()
6
6
  </script>
7
7
 
8
- <MotionContainer tag="colgroup" {...rest}>
8
+ <MotionContainer bind:ref tag="colgroup" {...rest}>
9
9
  {@render children?.()}
10
10
  </MotionContainer>
@@ -1,4 +1,4 @@
1
1
  import type { HTMLElementProps } from '../types';
2
- declare const Colgroup: import("svelte").Component<HTMLElementProps, {}, "">;
2
+ declare const Colgroup: import("svelte").Component<HTMLElementProps, {}, "ref">;
3
3
  type Colgroup = ReturnType<typeof Colgroup>;
4
4
  export default Colgroup;
@@ -2,9 +2,9 @@
2
2
  import MotionContainer from './_MotionContainer.svelte'
3
3
  import type { HTMLElementProps } from '../types'
4
4
 
5
- let { children, ...rest }: HTMLElementProps = $props()
5
+ let { children, ref = $bindable(null), ...rest }: HTMLElementProps = $props()
6
6
  </script>
7
7
 
8
- <MotionContainer tag="cursor" {...rest}>
8
+ <MotionContainer bind:ref tag="cursor" {...rest}>
9
9
  {@render children?.()}
10
10
  </MotionContainer>
@@ -1,4 +1,4 @@
1
1
  import type { HTMLElementProps } from '../types';
2
- declare const Cursor: import("svelte").Component<HTMLElementProps, {}, "">;
2
+ declare const Cursor: import("svelte").Component<HTMLElementProps, {}, "ref">;
3
3
  type Cursor = ReturnType<typeof Cursor>;
4
4
  export default Cursor;
@@ -2,9 +2,9 @@
2
2
  import MotionContainer from './_MotionContainer.svelte'
3
3
  import type { HTMLElementProps } from '../types'
4
4
 
5
- let { children, ...rest }: HTMLElementProps = $props()
5
+ let { children, ref = $bindable(null), ...rest }: HTMLElementProps = $props()
6
6
  </script>
7
7
 
8
- <MotionContainer tag="data" {...rest}>
8
+ <MotionContainer bind:ref tag="data" {...rest}>
9
9
  {@render children?.()}
10
10
  </MotionContainer>
@@ -1,4 +1,4 @@
1
1
  import type { HTMLElementProps } from '../types';
2
- declare const Data: import("svelte").Component<HTMLElementProps, {}, "">;
2
+ declare const Data: import("svelte").Component<HTMLElementProps, {}, "ref">;
3
3
  type Data = ReturnType<typeof Data>;
4
4
  export default Data;
@@ -2,9 +2,9 @@
2
2
  import MotionContainer from './_MotionContainer.svelte'
3
3
  import type { HTMLElementProps } from '../types'
4
4
 
5
- let { children, ...rest }: HTMLElementProps = $props()
5
+ let { children, ref = $bindable(null), ...rest }: HTMLElementProps = $props()
6
6
  </script>
7
7
 
8
- <MotionContainer tag="datalist" {...rest}>
8
+ <MotionContainer bind:ref tag="datalist" {...rest}>
9
9
  {@render children?.()}
10
10
  </MotionContainer>
@@ -1,4 +1,4 @@
1
1
  import type { HTMLElementProps } from '../types';
2
- declare const Datalist: import("svelte").Component<HTMLElementProps, {}, "">;
2
+ declare const Datalist: import("svelte").Component<HTMLElementProps, {}, "ref">;
3
3
  type Datalist = ReturnType<typeof Datalist>;
4
4
  export default Datalist;
@@ -2,9 +2,9 @@
2
2
  import MotionContainer from './_MotionContainer.svelte'
3
3
  import type { HTMLElementProps } from '../types'
4
4
 
5
- let { children, ...rest }: HTMLElementProps = $props()
5
+ let { children, ref = $bindable(null), ...rest }: HTMLElementProps = $props()
6
6
  </script>
7
7
 
8
- <MotionContainer tag="dd" {...rest}>
8
+ <MotionContainer bind:ref tag="dd" {...rest}>
9
9
  {@render children?.()}
10
10
  </MotionContainer>
@@ -1,4 +1,4 @@
1
1
  import type { HTMLElementProps } from '../types';
2
- declare const Dd: import("svelte").Component<HTMLElementProps, {}, "">;
2
+ declare const Dd: import("svelte").Component<HTMLElementProps, {}, "ref">;
3
3
  type Dd = ReturnType<typeof Dd>;
4
4
  export default Dd;
@@ -2,9 +2,9 @@
2
2
  import MotionContainer from './_MotionContainer.svelte'
3
3
  import type { HTMLElementProps } from '../types'
4
4
 
5
- let { children, ...rest }: HTMLElementProps = $props()
5
+ let { children, ref = $bindable(null), ...rest }: HTMLElementProps = $props()
6
6
  </script>
7
7
 
8
- <MotionContainer tag="defs" {...rest}>
8
+ <MotionContainer bind:ref tag="defs" {...rest}>
9
9
  {@render children?.()}
10
10
  </MotionContainer>
@@ -1,4 +1,4 @@
1
1
  import type { HTMLElementProps } from '../types';
2
- declare const Defs: import("svelte").Component<HTMLElementProps, {}, "">;
2
+ declare const Defs: import("svelte").Component<HTMLElementProps, {}, "ref">;
3
3
  type Defs = ReturnType<typeof Defs>;
4
4
  export default Defs;
@@ -2,9 +2,9 @@
2
2
  import MotionContainer from './_MotionContainer.svelte'
3
3
  import type { HTMLElementProps } from '../types'
4
4
 
5
- let { children, ...rest }: HTMLElementProps = $props()
5
+ let { children, ref = $bindable(null), ...rest }: HTMLElementProps = $props()
6
6
  </script>
7
7
 
8
- <MotionContainer tag="del" {...rest}>
8
+ <MotionContainer bind:ref tag="del" {...rest}>
9
9
  {@render children?.()}
10
10
  </MotionContainer>