@humanspeak/svelte-motion 0.0.6 → 0.0.8

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 (130) hide show
  1. package/README.md +124 -0
  2. package/dist/html/A.svelte +12 -0
  3. package/dist/html/A.svelte.d.ts +4 -0
  4. package/dist/html/Area.svelte +8 -0
  5. package/dist/html/Area.svelte.d.ts +4 -0
  6. package/dist/html/Article.svelte +12 -0
  7. package/dist/html/Article.svelte.d.ts +4 -0
  8. package/dist/html/Aside.svelte +12 -0
  9. package/dist/html/Aside.svelte.d.ts +4 -0
  10. package/dist/html/Base.svelte +8 -0
  11. package/dist/html/Base.svelte.d.ts +4 -0
  12. package/dist/html/Blockquote.svelte +12 -0
  13. package/dist/html/Blockquote.svelte.d.ts +4 -0
  14. package/dist/html/Br.svelte +8 -0
  15. package/dist/html/Br.svelte.d.ts +4 -0
  16. package/dist/{svelte/html → html}/Button.svelte +3 -6
  17. package/dist/html/Button.svelte.d.ts +4 -0
  18. package/dist/html/Code.svelte +12 -0
  19. package/dist/html/Code.svelte.d.ts +4 -0
  20. package/dist/html/Col.svelte +8 -0
  21. package/dist/html/Col.svelte.d.ts +4 -0
  22. package/dist/html/Dd.svelte +12 -0
  23. package/dist/html/Dd.svelte.d.ts +4 -0
  24. package/dist/{svelte/html → html}/Div.svelte +3 -6
  25. package/dist/html/Div.svelte.d.ts +4 -0
  26. package/dist/html/Dl.svelte +12 -0
  27. package/dist/html/Dl.svelte.d.ts +4 -0
  28. package/dist/html/Dt.svelte +12 -0
  29. package/dist/html/Dt.svelte.d.ts +4 -0
  30. package/dist/html/Embed.svelte +8 -0
  31. package/dist/html/Embed.svelte.d.ts +4 -0
  32. package/dist/html/Fieldset.svelte +12 -0
  33. package/dist/html/Fieldset.svelte.d.ts +4 -0
  34. package/dist/html/Figcaption.svelte +12 -0
  35. package/dist/html/Figcaption.svelte.d.ts +4 -0
  36. package/dist/html/Figure.svelte +12 -0
  37. package/dist/html/Figure.svelte.d.ts +4 -0
  38. package/dist/html/Footer.svelte +12 -0
  39. package/dist/html/Footer.svelte.d.ts +4 -0
  40. package/dist/html/Form.svelte +12 -0
  41. package/dist/html/Form.svelte.d.ts +4 -0
  42. package/dist/html/H1.svelte +12 -0
  43. package/dist/html/H1.svelte.d.ts +4 -0
  44. package/dist/html/H2.svelte +12 -0
  45. package/dist/html/H2.svelte.d.ts +4 -0
  46. package/dist/html/H3.svelte +12 -0
  47. package/dist/html/H3.svelte.d.ts +4 -0
  48. package/dist/html/H4.svelte +12 -0
  49. package/dist/html/H4.svelte.d.ts +4 -0
  50. package/dist/html/H5.svelte +12 -0
  51. package/dist/html/H5.svelte.d.ts +4 -0
  52. package/dist/html/H6.svelte +12 -0
  53. package/dist/html/H6.svelte.d.ts +4 -0
  54. package/dist/html/Header.svelte +12 -0
  55. package/dist/html/Header.svelte.d.ts +4 -0
  56. package/dist/html/Hr.svelte +8 -0
  57. package/dist/html/Hr.svelte.d.ts +4 -0
  58. package/dist/html/Img.svelte +8 -0
  59. package/dist/html/Img.svelte.d.ts +4 -0
  60. package/dist/html/Input.svelte +8 -0
  61. package/dist/html/Input.svelte.d.ts +4 -0
  62. package/dist/html/Label.svelte +12 -0
  63. package/dist/html/Label.svelte.d.ts +4 -0
  64. package/dist/html/Legend.svelte +12 -0
  65. package/dist/html/Legend.svelte.d.ts +4 -0
  66. package/dist/html/Li.svelte +12 -0
  67. package/dist/html/Li.svelte.d.ts +4 -0
  68. package/dist/html/Main.svelte +12 -0
  69. package/dist/html/Main.svelte.d.ts +4 -0
  70. package/dist/html/Nav.svelte +12 -0
  71. package/dist/html/Nav.svelte.d.ts +4 -0
  72. package/dist/html/Ol.svelte +12 -0
  73. package/dist/html/Ol.svelte.d.ts +4 -0
  74. package/dist/html/Option.svelte +12 -0
  75. package/dist/html/Option.svelte.d.ts +4 -0
  76. package/dist/html/P.svelte +12 -0
  77. package/dist/html/P.svelte.d.ts +4 -0
  78. package/dist/html/Param.svelte +8 -0
  79. package/dist/html/Param.svelte.d.ts +4 -0
  80. package/dist/html/Pre.svelte +12 -0
  81. package/dist/html/Pre.svelte.d.ts +4 -0
  82. package/dist/html/Section.svelte +12 -0
  83. package/dist/html/Section.svelte.d.ts +4 -0
  84. package/dist/html/Select.svelte +12 -0
  85. package/dist/html/Select.svelte.d.ts +4 -0
  86. package/dist/html/Source.svelte +8 -0
  87. package/dist/html/Source.svelte.d.ts +4 -0
  88. package/dist/html/Span.svelte +12 -0
  89. package/dist/html/Span.svelte.d.ts +4 -0
  90. package/dist/html/Table.svelte +12 -0
  91. package/dist/html/Table.svelte.d.ts +4 -0
  92. package/dist/html/Tbody.svelte +12 -0
  93. package/dist/html/Tbody.svelte.d.ts +4 -0
  94. package/dist/html/Td.svelte +12 -0
  95. package/dist/html/Td.svelte.d.ts +4 -0
  96. package/dist/html/Textarea.svelte +12 -0
  97. package/dist/html/Textarea.svelte.d.ts +4 -0
  98. package/dist/html/Tfoot.svelte +12 -0
  99. package/dist/html/Tfoot.svelte.d.ts +4 -0
  100. package/dist/html/Th.svelte +12 -0
  101. package/dist/html/Th.svelte.d.ts +4 -0
  102. package/dist/html/Thead.svelte +12 -0
  103. package/dist/html/Thead.svelte.d.ts +4 -0
  104. package/dist/html/Tr.svelte +12 -0
  105. package/dist/html/Tr.svelte.d.ts +4 -0
  106. package/dist/html/Track.svelte +8 -0
  107. package/dist/html/Track.svelte.d.ts +4 -0
  108. package/dist/html/Ul.svelte +12 -0
  109. package/dist/html/Ul.svelte.d.ts +4 -0
  110. package/dist/html/Wbr.svelte +8 -0
  111. package/dist/html/Wbr.svelte.d.ts +4 -0
  112. package/dist/html/_template.template +12 -0
  113. package/dist/html/_template_void.template +8 -0
  114. package/dist/html/index.d.ts +56 -0
  115. package/dist/html/index.js +56 -0
  116. package/dist/index.d.ts +6 -1
  117. package/dist/index.js +3 -1
  118. package/dist/{svelte/types.d.ts → types.d.ts} +10 -0
  119. package/dist/utils/objects.d.ts +45 -0
  120. package/dist/utils/objects.js +54 -0
  121. package/package.json +10 -10
  122. package/dist/svelte/html/Button.svelte.d.ts +0 -8
  123. package/dist/svelte/html/Div.svelte.d.ts +0 -8
  124. package/dist/svelte/index.d.ts +0 -8
  125. package/dist/svelte/index.js +0 -7
  126. package/dist/svelte/utils/objects.d.ts +0 -4
  127. package/dist/svelte/utils/objects.js +0 -13
  128. /package/dist/{svelte/html → html}/_MotionContainer.svelte +0 -0
  129. /package/dist/{svelte/html → html}/_MotionContainer.svelte.d.ts +0 -0
  130. /package/dist/{svelte/types.js → types.js} +0 -0
package/README.md CHANGED
@@ -16,6 +16,130 @@
16
16
 
17
17
  Just a little wrapper for motion. I love their work! The typical this is a WIP, if you have issues please give me a react example working so that I can work to ensure its running properly 😍
18
18
 
19
+ ## Supported Elements
20
+
21
+ ### Regular Elements
22
+
23
+ - `motion.a`
24
+ - `motion.article`
25
+ - `motion.aside`
26
+ - `motion.blockquote`
27
+ - `motion.button`
28
+ - `motion.code`
29
+ - `motion.dd`
30
+ - `motion.div`
31
+ - `motion.dl`
32
+ - `motion.dt`
33
+ - `motion.fieldset`
34
+ - `motion.figcaption`
35
+ - `motion.figure`
36
+ - `motion.footer`
37
+ - `motion.form`
38
+ - `motion.h1`
39
+ - `motion.h2`
40
+ - `motion.h3`
41
+ - `motion.h4`
42
+ - `motion.h5`
43
+ - `motion.h6`
44
+ - `motion.header`
45
+ - `motion.label`
46
+ - `motion.legend`
47
+ - `motion.li`
48
+ - `motion.main`
49
+ - `motion.nav`
50
+ - `motion.ol`
51
+ - `motion.option`
52
+ - `motion.p`
53
+ - `motion.pre`
54
+ - `motion.section`
55
+ - `motion.select`
56
+ - `motion.span`
57
+ - `motion.table`
58
+ - `motion.tbody`
59
+ - `motion.td`
60
+ - `motion.textarea`
61
+ - `motion.tfoot`
62
+ - `motion.th`
63
+ - `motion.thead`
64
+ - `motion.tr`
65
+ - `motion.ul`
66
+
67
+ ### Void Elements
68
+
69
+ - `motion.area`
70
+ - `motion.base`
71
+ - `motion.br`
72
+ - `motion.col`
73
+ - `motion.embed`
74
+ - `motion.hr`
75
+ - `motion.img`
76
+ - `motion.input`
77
+ - `motion.param`
78
+ - `motion.source`
79
+ - `motion.track`
80
+ - `motion.wbr`
81
+
82
+ ### Regular Elements
83
+
84
+ - `motion.a`
85
+ - `motion.article`
86
+ - `motion.aside`
87
+ - `motion.blockquote`
88
+ - `motion.button`
89
+ - `motion.code`
90
+ - `motion.dd`
91
+ - `motion.div`
92
+ - `motion.dl`
93
+ - `motion.dt`
94
+ - `motion.fieldset`
95
+ - `motion.figcaption`
96
+ - `motion.figure`
97
+ - `motion.footer`
98
+ - `motion.form`
99
+ - `motion.h1`
100
+ - `motion.h2`
101
+ - `motion.h3`
102
+ - `motion.h4`
103
+ - `motion.h5`
104
+ - `motion.h6`
105
+ - `motion.header`
106
+ - `motion.label`
107
+ - `motion.legend`
108
+ - `motion.li`
109
+ - `motion.main`
110
+ - `motion.nav`
111
+ - `motion.ol`
112
+ - `motion.option`
113
+ - `motion.p`
114
+ - `motion.pre`
115
+ - `motion.section`
116
+ - `motion.select`
117
+ - `motion.span`
118
+ - `motion.table`
119
+ - `motion.tbody`
120
+ - `motion.td`
121
+ - `motion.textarea`
122
+ - `motion.tfoot`
123
+ - `motion.th`
124
+ - `motion.thead`
125
+ - `motion.tr`
126
+ - `motion.ul`
127
+
128
+ ### Void Elements
129
+
130
+ - `motion.area`
131
+ - `motion.base`
132
+ - `motion.br`
133
+ - `motion.col`
134
+ - `motion.embed`
135
+ - `motion.hr`
136
+ - `motion.img`
137
+ - `motion.input`
138
+ - `motion.param`
139
+ - `motion.source`
140
+ - `motion.track`
141
+ - `motion.wbr`
142
+
19
143
  ## External Dependencies
20
144
 
21
145
  This package carefully selects its dependencies to provide a robust and maintainable solution:
@@ -0,0 +1,12 @@
1
+ <script lang="ts">
2
+ import MotionContainer from './_MotionContainer.svelte'
3
+ import type { HTMLElementProps } from '../types.js'
4
+
5
+ type Props = HTMLElementProps
6
+
7
+ let { children, ...rest } = $props<HTMLElementProps>()
8
+ </script>
9
+
10
+ <MotionContainer tag="a" {...rest}>
11
+ {@render children?.()}
12
+ </MotionContainer>
@@ -0,0 +1,4 @@
1
+ import type { HTMLElementProps } from '../types.js';
2
+ declare const A: import("svelte").Component<HTMLElementProps, {}, "">;
3
+ type A = ReturnType<typeof A>;
4
+ export default A;
@@ -0,0 +1,8 @@
1
+ <script lang="ts">
2
+ import MotionContainer from './_MotionContainer.svelte'
3
+ import type { HTMLVoidElementProps } from '../types.js'
4
+
5
+ let { ...rest } = $props<HTMLVoidElementProps>()
6
+ </script>
7
+
8
+ <MotionContainer tag="area" {...rest} />
@@ -0,0 +1,4 @@
1
+ import type { HTMLVoidElementProps } from '../types.js';
2
+ declare const Area: import("svelte").Component<HTMLVoidElementProps, {}, "">;
3
+ type Area = ReturnType<typeof Area>;
4
+ export default Area;
@@ -0,0 +1,12 @@
1
+ <script lang="ts">
2
+ import MotionContainer from './_MotionContainer.svelte'
3
+ import type { HTMLElementProps } from '../types.js'
4
+
5
+ type Props = HTMLElementProps
6
+
7
+ let { children, ...rest } = $props<HTMLElementProps>()
8
+ </script>
9
+
10
+ <MotionContainer tag="article" {...rest}>
11
+ {@render children?.()}
12
+ </MotionContainer>
@@ -0,0 +1,4 @@
1
+ import type { HTMLElementProps } from '../types.js';
2
+ declare const Article: import("svelte").Component<HTMLElementProps, {}, "">;
3
+ type Article = ReturnType<typeof Article>;
4
+ export default Article;
@@ -0,0 +1,12 @@
1
+ <script lang="ts">
2
+ import MotionContainer from './_MotionContainer.svelte'
3
+ import type { HTMLElementProps } from '../types.js'
4
+
5
+ type Props = HTMLElementProps
6
+
7
+ let { children, ...rest } = $props<HTMLElementProps>()
8
+ </script>
9
+
10
+ <MotionContainer tag="aside" {...rest}>
11
+ {@render children?.()}
12
+ </MotionContainer>
@@ -0,0 +1,4 @@
1
+ import type { HTMLElementProps } from '../types.js';
2
+ declare const Aside: import("svelte").Component<HTMLElementProps, {}, "">;
3
+ type Aside = ReturnType<typeof Aside>;
4
+ export default Aside;
@@ -0,0 +1,8 @@
1
+ <script lang="ts">
2
+ import MotionContainer from './_MotionContainer.svelte'
3
+ import type { HTMLVoidElementProps } from '../types.js'
4
+
5
+ let { ...rest } = $props<HTMLVoidElementProps>()
6
+ </script>
7
+
8
+ <MotionContainer tag="base" {...rest} />
@@ -0,0 +1,4 @@
1
+ import type { HTMLVoidElementProps } from '../types.js';
2
+ declare const Base: import("svelte").Component<HTMLVoidElementProps, {}, "">;
3
+ type Base = ReturnType<typeof Base>;
4
+ export default Base;
@@ -0,0 +1,12 @@
1
+ <script lang="ts">
2
+ import MotionContainer from './_MotionContainer.svelte'
3
+ import type { HTMLElementProps } from '../types.js'
4
+
5
+ type Props = HTMLElementProps
6
+
7
+ let { children, ...rest } = $props<HTMLElementProps>()
8
+ </script>
9
+
10
+ <MotionContainer tag="blockquote" {...rest}>
11
+ {@render children?.()}
12
+ </MotionContainer>
@@ -0,0 +1,4 @@
1
+ import type { HTMLElementProps } from '../types.js';
2
+ declare const Blockquote: import("svelte").Component<HTMLElementProps, {}, "">;
3
+ type Blockquote = ReturnType<typeof Blockquote>;
4
+ export default Blockquote;
@@ -0,0 +1,8 @@
1
+ <script lang="ts">
2
+ import MotionContainer from './_MotionContainer.svelte'
3
+ import type { HTMLVoidElementProps } from '../types.js'
4
+
5
+ let { ...rest } = $props<HTMLVoidElementProps>()
6
+ </script>
7
+
8
+ <MotionContainer tag="br" {...rest} />
@@ -0,0 +1,4 @@
1
+ import type { HTMLVoidElementProps } from '../types.js';
2
+ declare const Br: import("svelte").Component<HTMLVoidElementProps, {}, "">;
3
+ type Br = ReturnType<typeof Br>;
4
+ export default Br;
@@ -1,13 +1,10 @@
1
1
  <script lang="ts">
2
2
  import MotionContainer from './_MotionContainer.svelte'
3
- import type { Snippet } from 'svelte'
3
+ import type { HTMLElementProps } from '../types.js'
4
4
 
5
- type Props = {
6
- children?: Snippet
7
- [key: string]: unknown
8
- }
5
+ type Props = HTMLElementProps
9
6
 
10
- let { children, ...rest }: Props = $props()
7
+ let { children, ...rest } = $props<HTMLElementProps>()
11
8
  </script>
12
9
 
13
10
  <MotionContainer tag="button" {...rest}>
@@ -0,0 +1,4 @@
1
+ import type { HTMLElementProps } from '../types.js';
2
+ declare const Button: import("svelte").Component<HTMLElementProps, {}, "">;
3
+ type Button = ReturnType<typeof Button>;
4
+ export default Button;
@@ -0,0 +1,12 @@
1
+ <script lang="ts">
2
+ import MotionContainer from './_MotionContainer.svelte'
3
+ import type { HTMLElementProps } from '../types.js'
4
+
5
+ type Props = HTMLElementProps
6
+
7
+ let { children, ...rest } = $props<HTMLElementProps>()
8
+ </script>
9
+
10
+ <MotionContainer tag="code" {...rest}>
11
+ {@render children?.()}
12
+ </MotionContainer>
@@ -0,0 +1,4 @@
1
+ import type { HTMLElementProps } from '../types.js';
2
+ declare const Code: import("svelte").Component<HTMLElementProps, {}, "">;
3
+ type Code = ReturnType<typeof Code>;
4
+ export default Code;
@@ -0,0 +1,8 @@
1
+ <script lang="ts">
2
+ import MotionContainer from './_MotionContainer.svelte'
3
+ import type { HTMLVoidElementProps } from '../types.js'
4
+
5
+ let { ...rest } = $props<HTMLVoidElementProps>()
6
+ </script>
7
+
8
+ <MotionContainer tag="col" {...rest} />
@@ -0,0 +1,4 @@
1
+ import type { HTMLVoidElementProps } from '../types.js';
2
+ declare const Col: import("svelte").Component<HTMLVoidElementProps, {}, "">;
3
+ type Col = ReturnType<typeof Col>;
4
+ export default Col;
@@ -0,0 +1,12 @@
1
+ <script lang="ts">
2
+ import MotionContainer from './_MotionContainer.svelte'
3
+ import type { HTMLElementProps } from '../types.js'
4
+
5
+ type Props = HTMLElementProps
6
+
7
+ let { children, ...rest } = $props<HTMLElementProps>()
8
+ </script>
9
+
10
+ <MotionContainer tag="dd" {...rest}>
11
+ {@render children?.()}
12
+ </MotionContainer>
@@ -0,0 +1,4 @@
1
+ import type { HTMLElementProps } from '../types.js';
2
+ declare const Dd: import("svelte").Component<HTMLElementProps, {}, "">;
3
+ type Dd = ReturnType<typeof Dd>;
4
+ export default Dd;
@@ -1,13 +1,10 @@
1
1
  <script lang="ts">
2
2
  import MotionContainer from './_MotionContainer.svelte'
3
- import type { Snippet } from 'svelte'
3
+ import type { HTMLElementProps } from '../types.js'
4
4
 
5
- type Props = {
6
- children?: Snippet
7
- [key: string]: unknown
8
- }
5
+ type Props = HTMLElementProps
9
6
 
10
- let { children, ...rest }: Props = $props()
7
+ let { children, ...rest } = $props<HTMLElementProps>()
11
8
  </script>
12
9
 
13
10
  <MotionContainer tag="div" {...rest}>
@@ -0,0 +1,4 @@
1
+ import type { HTMLElementProps } from '../types.js';
2
+ declare const Div: import("svelte").Component<HTMLElementProps, {}, "">;
3
+ type Div = ReturnType<typeof Div>;
4
+ export default Div;
@@ -0,0 +1,12 @@
1
+ <script lang="ts">
2
+ import MotionContainer from './_MotionContainer.svelte'
3
+ import type { HTMLElementProps } from '../types.js'
4
+
5
+ type Props = HTMLElementProps
6
+
7
+ let { children, ...rest } = $props<HTMLElementProps>()
8
+ </script>
9
+
10
+ <MotionContainer tag="dl" {...rest}>
11
+ {@render children?.()}
12
+ </MotionContainer>
@@ -0,0 +1,4 @@
1
+ import type { HTMLElementProps } from '../types.js';
2
+ declare const Dl: import("svelte").Component<HTMLElementProps, {}, "">;
3
+ type Dl = ReturnType<typeof Dl>;
4
+ export default Dl;
@@ -0,0 +1,12 @@
1
+ <script lang="ts">
2
+ import MotionContainer from './_MotionContainer.svelte'
3
+ import type { HTMLElementProps } from '../types.js'
4
+
5
+ type Props = HTMLElementProps
6
+
7
+ let { children, ...rest } = $props<HTMLElementProps>()
8
+ </script>
9
+
10
+ <MotionContainer tag="dt" {...rest}>
11
+ {@render children?.()}
12
+ </MotionContainer>
@@ -0,0 +1,4 @@
1
+ import type { HTMLElementProps } from '../types.js';
2
+ declare const Dt: import("svelte").Component<HTMLElementProps, {}, "">;
3
+ type Dt = ReturnType<typeof Dt>;
4
+ export default Dt;
@@ -0,0 +1,8 @@
1
+ <script lang="ts">
2
+ import MotionContainer from './_MotionContainer.svelte'
3
+ import type { HTMLVoidElementProps } from '../types.js'
4
+
5
+ let { ...rest } = $props<HTMLVoidElementProps>()
6
+ </script>
7
+
8
+ <MotionContainer tag="embed" {...rest} />
@@ -0,0 +1,4 @@
1
+ import type { HTMLVoidElementProps } from '../types.js';
2
+ declare const Embed: import("svelte").Component<HTMLVoidElementProps, {}, "">;
3
+ type Embed = ReturnType<typeof Embed>;
4
+ export default Embed;
@@ -0,0 +1,12 @@
1
+ <script lang="ts">
2
+ import MotionContainer from './_MotionContainer.svelte'
3
+ import type { HTMLElementProps } from '../types.js'
4
+
5
+ type Props = HTMLElementProps
6
+
7
+ let { children, ...rest } = $props<HTMLElementProps>()
8
+ </script>
9
+
10
+ <MotionContainer tag="fieldset" {...rest}>
11
+ {@render children?.()}
12
+ </MotionContainer>
@@ -0,0 +1,4 @@
1
+ import type { HTMLElementProps } from '../types.js';
2
+ declare const Fieldset: import("svelte").Component<HTMLElementProps, {}, "">;
3
+ type Fieldset = ReturnType<typeof Fieldset>;
4
+ export default Fieldset;
@@ -0,0 +1,12 @@
1
+ <script lang="ts">
2
+ import MotionContainer from './_MotionContainer.svelte'
3
+ import type { HTMLElementProps } from '../types.js'
4
+
5
+ type Props = HTMLElementProps
6
+
7
+ let { children, ...rest } = $props<HTMLElementProps>()
8
+ </script>
9
+
10
+ <MotionContainer tag="figcaption" {...rest}>
11
+ {@render children?.()}
12
+ </MotionContainer>
@@ -0,0 +1,4 @@
1
+ import type { HTMLElementProps } from '../types.js';
2
+ declare const Figcaption: import("svelte").Component<HTMLElementProps, {}, "">;
3
+ type Figcaption = ReturnType<typeof Figcaption>;
4
+ export default Figcaption;
@@ -0,0 +1,12 @@
1
+ <script lang="ts">
2
+ import MotionContainer from './_MotionContainer.svelte'
3
+ import type { HTMLElementProps } from '../types.js'
4
+
5
+ type Props = HTMLElementProps
6
+
7
+ let { children, ...rest } = $props<HTMLElementProps>()
8
+ </script>
9
+
10
+ <MotionContainer tag="figure" {...rest}>
11
+ {@render children?.()}
12
+ </MotionContainer>
@@ -0,0 +1,4 @@
1
+ import type { HTMLElementProps } from '../types.js';
2
+ declare const Figure: import("svelte").Component<HTMLElementProps, {}, "">;
3
+ type Figure = ReturnType<typeof Figure>;
4
+ export default Figure;
@@ -0,0 +1,12 @@
1
+ <script lang="ts">
2
+ import MotionContainer from './_MotionContainer.svelte'
3
+ import type { HTMLElementProps } from '../types.js'
4
+
5
+ type Props = HTMLElementProps
6
+
7
+ let { children, ...rest } = $props<HTMLElementProps>()
8
+ </script>
9
+
10
+ <MotionContainer tag="footer" {...rest}>
11
+ {@render children?.()}
12
+ </MotionContainer>
@@ -0,0 +1,4 @@
1
+ import type { HTMLElementProps } from '../types.js';
2
+ declare const Footer: import("svelte").Component<HTMLElementProps, {}, "">;
3
+ type Footer = ReturnType<typeof Footer>;
4
+ export default Footer;
@@ -0,0 +1,12 @@
1
+ <script lang="ts">
2
+ import MotionContainer from './_MotionContainer.svelte'
3
+ import type { HTMLElementProps } from '../types.js'
4
+
5
+ type Props = HTMLElementProps
6
+
7
+ let { children, ...rest } = $props<HTMLElementProps>()
8
+ </script>
9
+
10
+ <MotionContainer tag="form" {...rest}>
11
+ {@render children?.()}
12
+ </MotionContainer>
@@ -0,0 +1,4 @@
1
+ import type { HTMLElementProps } from '../types.js';
2
+ declare const Form: import("svelte").Component<HTMLElementProps, {}, "">;
3
+ type Form = ReturnType<typeof Form>;
4
+ export default Form;
@@ -0,0 +1,12 @@
1
+ <script lang="ts">
2
+ import MotionContainer from './_MotionContainer.svelte'
3
+ import type { HTMLElementProps } from '../types.js'
4
+
5
+ type Props = HTMLElementProps
6
+
7
+ let { children, ...rest } = $props<HTMLElementProps>()
8
+ </script>
9
+
10
+ <MotionContainer tag="h1" {...rest}>
11
+ {@render children?.()}
12
+ </MotionContainer>
@@ -0,0 +1,4 @@
1
+ import type { HTMLElementProps } from '../types.js';
2
+ declare const H1: import("svelte").Component<HTMLElementProps, {}, "">;
3
+ type H1 = ReturnType<typeof H1>;
4
+ export default H1;
@@ -0,0 +1,12 @@
1
+ <script lang="ts">
2
+ import MotionContainer from './_MotionContainer.svelte'
3
+ import type { HTMLElementProps } from '../types.js'
4
+
5
+ type Props = HTMLElementProps
6
+
7
+ let { children, ...rest } = $props<HTMLElementProps>()
8
+ </script>
9
+
10
+ <MotionContainer tag="h2" {...rest}>
11
+ {@render children?.()}
12
+ </MotionContainer>
@@ -0,0 +1,4 @@
1
+ import type { HTMLElementProps } from '../types.js';
2
+ declare const H2: import("svelte").Component<HTMLElementProps, {}, "">;
3
+ type H2 = ReturnType<typeof H2>;
4
+ export default H2;
@@ -0,0 +1,12 @@
1
+ <script lang="ts">
2
+ import MotionContainer from './_MotionContainer.svelte'
3
+ import type { HTMLElementProps } from '../types.js'
4
+
5
+ type Props = HTMLElementProps
6
+
7
+ let { children, ...rest } = $props<HTMLElementProps>()
8
+ </script>
9
+
10
+ <MotionContainer tag="h3" {...rest}>
11
+ {@render children?.()}
12
+ </MotionContainer>
@@ -0,0 +1,4 @@
1
+ import type { HTMLElementProps } from '../types.js';
2
+ declare const H3: import("svelte").Component<HTMLElementProps, {}, "">;
3
+ type H3 = ReturnType<typeof H3>;
4
+ export default H3;
@@ -0,0 +1,12 @@
1
+ <script lang="ts">
2
+ import MotionContainer from './_MotionContainer.svelte'
3
+ import type { HTMLElementProps } from '../types.js'
4
+
5
+ type Props = HTMLElementProps
6
+
7
+ let { children, ...rest } = $props<HTMLElementProps>()
8
+ </script>
9
+
10
+ <MotionContainer tag="h4" {...rest}>
11
+ {@render children?.()}
12
+ </MotionContainer>
@@ -0,0 +1,4 @@
1
+ import type { HTMLElementProps } from '../types.js';
2
+ declare const H4: import("svelte").Component<HTMLElementProps, {}, "">;
3
+ type H4 = ReturnType<typeof H4>;
4
+ export default H4;
@@ -0,0 +1,12 @@
1
+ <script lang="ts">
2
+ import MotionContainer from './_MotionContainer.svelte'
3
+ import type { HTMLElementProps } from '../types.js'
4
+
5
+ type Props = HTMLElementProps
6
+
7
+ let { children, ...rest } = $props<HTMLElementProps>()
8
+ </script>
9
+
10
+ <MotionContainer tag="h5" {...rest}>
11
+ {@render children?.()}
12
+ </MotionContainer>
@@ -0,0 +1,4 @@
1
+ import type { HTMLElementProps } from '../types.js';
2
+ declare const H5: import("svelte").Component<HTMLElementProps, {}, "">;
3
+ type H5 = ReturnType<typeof H5>;
4
+ export default H5;
@@ -0,0 +1,12 @@
1
+ <script lang="ts">
2
+ import MotionContainer from './_MotionContainer.svelte'
3
+ import type { HTMLElementProps } from '../types.js'
4
+
5
+ type Props = HTMLElementProps
6
+
7
+ let { children, ...rest } = $props<HTMLElementProps>()
8
+ </script>
9
+
10
+ <MotionContainer tag="h6" {...rest}>
11
+ {@render children?.()}
12
+ </MotionContainer>
@@ -0,0 +1,4 @@
1
+ import type { HTMLElementProps } from '../types.js';
2
+ declare const H6: import("svelte").Component<HTMLElementProps, {}, "">;
3
+ type H6 = ReturnType<typeof H6>;
4
+ export default H6;
@@ -0,0 +1,12 @@
1
+ <script lang="ts">
2
+ import MotionContainer from './_MotionContainer.svelte'
3
+ import type { HTMLElementProps } from '../types.js'
4
+
5
+ type Props = HTMLElementProps
6
+
7
+ let { children, ...rest } = $props<HTMLElementProps>()
8
+ </script>
9
+
10
+ <MotionContainer tag="header" {...rest}>
11
+ {@render children?.()}
12
+ </MotionContainer>