@tamagui/web 3.0.0-beta.807.1 → 3.0.0-beta.831.1

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 (266) hide show
  1. package/dist/cjs/config.cjs +1 -1
  2. package/dist/cjs/config.native.cjs +1 -1
  3. package/dist/cjs/config.native.js +1 -1
  4. package/dist/cjs/config.native.js.map +1 -1
  5. package/dist/cjs/createComponent.cjs +28 -18
  6. package/dist/cjs/createComponent.native.cjs +30 -20
  7. package/dist/cjs/createComponent.native.js +30 -20
  8. package/dist/cjs/createComponent.native.js.map +1 -1
  9. package/dist/cjs/createStyledHOC.cjs +54 -4
  10. package/dist/cjs/createStyledHOC.native.cjs +55 -4
  11. package/dist/cjs/createStyledHOC.native.js +55 -4
  12. package/dist/cjs/createStyledHOC.native.js.map +1 -1
  13. package/dist/cjs/createTokens.cjs +1 -1
  14. package/dist/cjs/createTokens.native.cjs +1 -1
  15. package/dist/cjs/createTokens.native.js +1 -1
  16. package/dist/cjs/createTokens.native.js.map +1 -1
  17. package/dist/cjs/dom/html.cjs +147 -99
  18. package/dist/cjs/dom/htmlRuntime.native.cjs +6 -2
  19. package/dist/cjs/dom/htmlRuntime.native.js +6 -2
  20. package/dist/cjs/dom/htmlRuntime.native.js.map +1 -1
  21. package/dist/cjs/dom/primitives.native.cjs +16 -13
  22. package/dist/cjs/dom/primitives.native.js +16 -13
  23. package/dist/cjs/dom/primitives.native.js.map +1 -1
  24. package/dist/cjs/helpers/componentDisplayName.cjs +1 -11
  25. package/dist/cjs/helpers/componentDisplayName.native.cjs +1 -11
  26. package/dist/cjs/helpers/componentDisplayName.native.js +1 -11
  27. package/dist/cjs/helpers/componentDisplayName.native.js.map +1 -1
  28. package/dist/cjs/helpers/directStyleCSS.cjs +101 -104
  29. package/dist/cjs/helpers/formatDiagnostic.cjs +2 -4
  30. package/dist/cjs/helpers/formatDiagnostic.native.cjs +2 -4
  31. package/dist/cjs/helpers/formatDiagnostic.native.js +2 -4
  32. package/dist/cjs/helpers/formatDiagnostic.native.js.map +1 -1
  33. package/dist/cjs/helpers/getCSSStylesAtomic.cjs +10 -10
  34. package/dist/cjs/helpers/getSplitStyles.cjs +168 -600
  35. package/dist/cjs/helpers/getSplitStyles.native.cjs +168 -762
  36. package/dist/cjs/helpers/getSplitStyles.native.js +168 -762
  37. package/dist/cjs/helpers/getSplitStyles.native.js.map +1 -1
  38. package/dist/cjs/helpers/splitStyleProps.cjs +46 -0
  39. package/dist/cjs/helpers/splitStyleProps.native.cjs +49 -0
  40. package/dist/cjs/helpers/splitStyleProps.native.js +51 -0
  41. package/dist/cjs/helpers/splitStyleProps.native.js.map +1 -0
  42. package/dist/cjs/helpers/styleStaticConfig.cjs +76 -0
  43. package/dist/cjs/helpers/styleStaticConfig.native.cjs +79 -0
  44. package/dist/cjs/helpers/styleStaticConfig.native.js +81 -0
  45. package/dist/cjs/helpers/styleStaticConfig.native.js.map +1 -0
  46. package/dist/cjs/helpers/tokenCategories.cjs +32 -71
  47. package/dist/cjs/helpers/tokenCategories.native.cjs +34 -73
  48. package/dist/cjs/helpers/tokenCategories.native.js +34 -73
  49. package/dist/cjs/helpers/tokenCategories.native.js.map +1 -1
  50. package/dist/cjs/helpers/variantResolvers.cjs +87 -0
  51. package/dist/cjs/helpers/variantResolvers.native.cjs +140 -0
  52. package/dist/cjs/helpers/variantResolvers.native.js +142 -0
  53. package/dist/cjs/helpers/variantResolvers.native.js.map +1 -0
  54. package/dist/cjs/hooks/useSplitStyles.cjs +2 -2
  55. package/dist/cjs/hooks/useSplitStyles.native.cjs +2 -2
  56. package/dist/cjs/hooks/useSplitStyles.native.js +2 -2
  57. package/dist/cjs/hooks/useSplitStyles.native.js.map +1 -1
  58. package/dist/cjs/index.cjs +3 -9
  59. package/dist/cjs/index.native.cjs +3 -9
  60. package/dist/cjs/index.native.js +3 -9
  61. package/dist/cjs/index.native.js.map +1 -1
  62. package/dist/cjs/internal-runtime.cjs +8 -7
  63. package/dist/cjs/internal-runtime.native.cjs +8 -7
  64. package/dist/cjs/internal-runtime.native.js +8 -7
  65. package/dist/cjs/internal-runtime.native.js.map +1 -1
  66. package/dist/cjs/static-resolve.cjs +6 -5
  67. package/dist/cjs/static-resolve.native.cjs +6 -5
  68. package/dist/cjs/static-resolve.native.js +6 -5
  69. package/dist/cjs/static-resolve.native.js.map +1 -1
  70. package/dist/cjs/styled.cjs +4 -56
  71. package/dist/cjs/styled.native.cjs +4 -58
  72. package/dist/cjs/styled.native.js +4 -58
  73. package/dist/cjs/styled.native.js.map +1 -1
  74. package/dist/cjs/types.cjs +1 -21
  75. package/dist/cjs/types.native.cjs +1 -21
  76. package/dist/cjs/types.native.js +1 -21
  77. package/dist/cjs/types.native.js.map +1 -1
  78. package/dist/cjs/views/Text.cjs +4 -2
  79. package/dist/cjs/views/Text.native.cjs +4 -2
  80. package/dist/cjs/views/Text.native.js +4 -2
  81. package/dist/cjs/views/Text.native.js.map +1 -1
  82. package/dist/cjs/views/View.cjs +4 -2
  83. package/dist/cjs/views/View.native.cjs +4 -2
  84. package/dist/cjs/views/View.native.js +4 -2
  85. package/dist/cjs/views/View.native.js.map +1 -1
  86. package/dist/esm/config.mjs +1 -1
  87. package/dist/esm/config.mjs.map +1 -1
  88. package/dist/esm/config.native.js +1 -1
  89. package/dist/esm/config.native.js.map +1 -1
  90. package/dist/esm/createComponent.mjs +29 -19
  91. package/dist/esm/createComponent.mjs.map +1 -1
  92. package/dist/esm/createComponent.native.js +31 -21
  93. package/dist/esm/createComponent.native.js.map +1 -1
  94. package/dist/esm/createStyledHOC.mjs +55 -5
  95. package/dist/esm/createStyledHOC.mjs.map +1 -1
  96. package/dist/esm/createStyledHOC.native.js +56 -5
  97. package/dist/esm/createStyledHOC.native.js.map +1 -1
  98. package/dist/esm/createTokens.mjs +1 -1
  99. package/dist/esm/createTokens.mjs.map +1 -1
  100. package/dist/esm/createTokens.native.js +1 -1
  101. package/dist/esm/createTokens.native.js.map +1 -1
  102. package/dist/esm/dom/html.mjs +147 -99
  103. package/dist/esm/dom/html.mjs.map +1 -1
  104. package/dist/esm/dom/htmlRuntime.native.js +7 -3
  105. package/dist/esm/dom/htmlRuntime.native.js.map +1 -1
  106. package/dist/esm/dom/primitives.native.js +16 -13
  107. package/dist/esm/dom/primitives.native.js.map +1 -1
  108. package/dist/esm/helpers/componentDisplayName.mjs +1 -8
  109. package/dist/esm/helpers/componentDisplayName.mjs.map +1 -1
  110. package/dist/esm/helpers/componentDisplayName.native.js +1 -8
  111. package/dist/esm/helpers/componentDisplayName.native.js.map +1 -1
  112. package/dist/esm/helpers/directStyleCSS.mjs +101 -104
  113. package/dist/esm/helpers/directStyleCSS.mjs.map +1 -1
  114. package/dist/esm/helpers/formatDiagnostic.mjs +2 -4
  115. package/dist/esm/helpers/formatDiagnostic.mjs.map +1 -1
  116. package/dist/esm/helpers/formatDiagnostic.native.js +2 -4
  117. package/dist/esm/helpers/formatDiagnostic.native.js.map +1 -1
  118. package/dist/esm/helpers/getCSSStylesAtomic.mjs +10 -10
  119. package/dist/esm/helpers/getCSSStylesAtomic.mjs.map +1 -1
  120. package/dist/esm/helpers/getSplitStyles.mjs +166 -594
  121. package/dist/esm/helpers/getSplitStyles.mjs.map +1 -1
  122. package/dist/esm/helpers/getSplitStyles.native.js +166 -757
  123. package/dist/esm/helpers/getSplitStyles.native.js.map +1 -1
  124. package/dist/esm/helpers/splitStyleProps.mjs +27 -0
  125. package/dist/esm/helpers/splitStyleProps.mjs.map +1 -0
  126. package/dist/esm/helpers/splitStyleProps.native.js +28 -0
  127. package/dist/esm/helpers/splitStyleProps.native.js.map +1 -0
  128. package/dist/esm/helpers/styleStaticConfig.mjs +57 -0
  129. package/dist/esm/helpers/styleStaticConfig.mjs.map +1 -0
  130. package/dist/esm/helpers/styleStaticConfig.native.js +58 -0
  131. package/dist/esm/helpers/styleStaticConfig.native.js.map +1 -0
  132. package/dist/esm/helpers/tokenCategories.mjs +33 -72
  133. package/dist/esm/helpers/tokenCategories.mjs.map +1 -1
  134. package/dist/esm/helpers/tokenCategories.native.js +35 -74
  135. package/dist/esm/helpers/tokenCategories.native.js.map +1 -1
  136. package/dist/esm/helpers/variantResolvers.mjs +65 -0
  137. package/dist/esm/helpers/variantResolvers.mjs.map +1 -0
  138. package/dist/esm/helpers/variantResolvers.native.js +116 -0
  139. package/dist/esm/helpers/variantResolvers.native.js.map +1 -0
  140. package/dist/esm/hooks/useSplitStyles.mjs +2 -2
  141. package/dist/esm/hooks/useSplitStyles.mjs.map +1 -1
  142. package/dist/esm/hooks/useSplitStyles.native.js +2 -2
  143. package/dist/esm/hooks/useSplitStyles.native.js.map +1 -1
  144. package/dist/esm/index.js +3 -5
  145. package/dist/esm/index.mjs +3 -5
  146. package/dist/esm/index.native.js +3 -5
  147. package/dist/esm/internal-runtime.mjs +8 -7
  148. package/dist/esm/internal-runtime.mjs.map +1 -1
  149. package/dist/esm/internal-runtime.native.js +8 -7
  150. package/dist/esm/internal-runtime.native.js.map +1 -1
  151. package/dist/esm/static-resolve.mjs +8 -6
  152. package/dist/esm/static-resolve.mjs.map +1 -1
  153. package/dist/esm/static-resolve.native.js +8 -6
  154. package/dist/esm/static-resolve.native.js.map +1 -1
  155. package/dist/esm/styled.mjs +6 -57
  156. package/dist/esm/styled.mjs.map +1 -1
  157. package/dist/esm/styled.native.js +6 -59
  158. package/dist/esm/styled.native.js.map +1 -1
  159. package/dist/esm/types.mjs +1 -18
  160. package/dist/esm/types.mjs.map +1 -1
  161. package/dist/esm/types.native.js +1 -18
  162. package/dist/esm/types.native.js.map +1 -1
  163. package/dist/esm/views/Text.mjs +4 -2
  164. package/dist/esm/views/Text.mjs.map +1 -1
  165. package/dist/esm/views/Text.native.js +4 -2
  166. package/dist/esm/views/Text.native.js.map +1 -1
  167. package/dist/esm/views/View.mjs +4 -2
  168. package/dist/esm/views/View.mjs.map +1 -1
  169. package/dist/esm/views/View.native.js +4 -2
  170. package/dist/esm/views/View.native.js.map +1 -1
  171. package/package.json +15 -15
  172. package/src/config.ts +1 -1
  173. package/src/createComponent.tsx +41 -30
  174. package/src/createStyledHOC.tsx +56 -9
  175. package/src/createTokens.ts +1 -1
  176. package/src/dom/html.tsx +778 -877
  177. package/src/dom/htmlRuntime.native.tsx +7 -3
  178. package/src/dom/primitives.native.tsx +30 -39
  179. package/src/helpers/componentDisplayName.ts +0 -11
  180. package/src/helpers/directStyleCSS.ts +91 -112
  181. package/src/helpers/formatDiagnostic.ts +2 -4
  182. package/src/helpers/getCSSStylesAtomic.ts +32 -26
  183. package/src/helpers/getSplitStyles.tsx +315 -1119
  184. package/src/helpers/getVariantExtras.tsx +3 -3
  185. package/src/helpers/splitStyleProps.ts +166 -0
  186. package/src/helpers/styleFrontend.ts +8 -4
  187. package/src/helpers/styleStaticConfig.ts +88 -0
  188. package/src/helpers/tokenCategories.ts +62 -93
  189. package/src/helpers/variantResolvers.ts +121 -0
  190. package/src/hooks/useSplitStyles.tsx +17 -2
  191. package/src/hooks/useTheme.tsx +1 -1
  192. package/src/index.ts +8 -4
  193. package/src/internal-runtime.ts +10 -9
  194. package/src/static-resolve.ts +18 -14
  195. package/src/styled.tsx +7 -264
  196. package/src/types.tsx +19 -40
  197. package/src/views/Text.tsx +6 -7
  198. package/src/views/View.tsx +6 -7
  199. package/types/createComponent.d.ts.map +1 -1
  200. package/types/createStyledHOC.d.ts.map +1 -1
  201. package/types/dom/html.d.ts.map +1 -1
  202. package/types/dom/htmlRuntime.native.d.ts.map +1 -1
  203. package/types/dom/primitives.native.d.ts.map +1 -1
  204. package/types/helpers/componentDisplayName.d.ts +0 -3
  205. package/types/helpers/componentDisplayName.d.ts.map +1 -1
  206. package/types/helpers/directStyleCSS.d.ts.map +1 -1
  207. package/types/helpers/formatDiagnostic.d.ts.map +1 -1
  208. package/types/helpers/getCSSStylesAtomic.d.ts +17 -15
  209. package/types/helpers/getCSSStylesAtomic.d.ts.map +1 -1
  210. package/types/helpers/getSplitStyles.d.ts +6 -6
  211. package/types/helpers/getSplitStyles.d.ts.map +1 -1
  212. package/types/helpers/splitStyleProps.d.ts +44 -0
  213. package/types/helpers/splitStyleProps.d.ts.map +1 -0
  214. package/types/helpers/styleFrontend.d.ts +4 -4
  215. package/types/helpers/styleFrontend.d.ts.map +1 -1
  216. package/types/helpers/styleStaticConfig.d.ts +19 -0
  217. package/types/helpers/styleStaticConfig.d.ts.map +1 -0
  218. package/types/helpers/tokenCategories.d.ts +1 -1
  219. package/types/helpers/tokenCategories.d.ts.map +1 -1
  220. package/types/helpers/variantResolvers.d.ts +9 -0
  221. package/types/helpers/variantResolvers.d.ts.map +1 -0
  222. package/types/hooks/useSplitStyles.d.ts.map +1 -1
  223. package/types/index.d.ts +2 -4
  224. package/types/index.d.ts.map +1 -1
  225. package/types/internal-runtime.d.ts.map +1 -1
  226. package/types/static-resolve.d.ts +2 -2
  227. package/types/static-resolve.d.ts.map +1 -1
  228. package/types/styled.d.ts +3 -39
  229. package/types/styled.d.ts.map +1 -1
  230. package/types/types.d.ts +2 -12
  231. package/types/types.d.ts.map +1 -1
  232. package/types/views/Text.d.ts.map +1 -1
  233. package/types/views/View.d.ts.map +1 -1
  234. package/dist/cjs/helpers/getDefaultProps.cjs +0 -24
  235. package/dist/cjs/helpers/getDefaultProps.native.cjs +0 -28
  236. package/dist/cjs/helpers/getDefaultProps.native.js +0 -30
  237. package/dist/cjs/helpers/getDefaultProps.native.js.map +0 -1
  238. package/dist/cjs/helpers/themeable.cjs +0 -92
  239. package/dist/cjs/helpers/themeable.native.cjs +0 -95
  240. package/dist/cjs/helpers/themeable.native.js +0 -97
  241. package/dist/cjs/helpers/themeable.native.js.map +0 -1
  242. package/dist/cjs/hooks/useProps.cjs +0 -129
  243. package/dist/cjs/hooks/useProps.native.cjs +0 -135
  244. package/dist/cjs/hooks/useProps.native.js +0 -137
  245. package/dist/cjs/hooks/useProps.native.js.map +0 -1
  246. package/dist/esm/helpers/getDefaultProps.mjs +0 -4
  247. package/dist/esm/helpers/getDefaultProps.mjs.map +0 -1
  248. package/dist/esm/helpers/getDefaultProps.native.js +0 -6
  249. package/dist/esm/helpers/getDefaultProps.native.js.map +0 -1
  250. package/dist/esm/helpers/themeable.mjs +0 -67
  251. package/dist/esm/helpers/themeable.mjs.map +0 -1
  252. package/dist/esm/helpers/themeable.native.js +0 -68
  253. package/dist/esm/helpers/themeable.native.js.map +0 -1
  254. package/dist/esm/hooks/useProps.mjs +0 -100
  255. package/dist/esm/hooks/useProps.mjs.map +0 -1
  256. package/dist/esm/hooks/useProps.native.js +0 -104
  257. package/dist/esm/hooks/useProps.native.js.map +0 -1
  258. package/src/helpers/getDefaultProps.ts +0 -3
  259. package/src/helpers/themeable.tsx +0 -96
  260. package/src/hooks/useProps.tsx +0 -186
  261. package/types/helpers/getDefaultProps.d.ts +0 -3
  262. package/types/helpers/getDefaultProps.d.ts.map +0 -1
  263. package/types/helpers/themeable.d.ts +0 -3
  264. package/types/helpers/themeable.d.ts.map +0 -1
  265. package/types/hooks/useProps.d.ts +0 -39
  266. package/types/hooks/useProps.d.ts.map +0 -1
package/src/dom/html.tsx CHANGED
@@ -18,7 +18,6 @@ import type {
18
18
  } from '@tamagui/dom'
19
19
 
20
20
  import { createComponent } from '../createComponent'
21
- import { setComponentDisplayName } from '../helpers/componentDisplayName'
22
21
  import type {
23
22
  StackNonStyleProps,
24
23
  StackStyleBase,
@@ -36,7 +35,7 @@ import { viewStaticConfig } from '../views/View'
36
35
  /**
37
36
  * `StaticConfig.Component` is typed for component values, but a literal tag
38
37
  * string is what the web frontend renders and what `createComponent` already
39
- * handles; `styled.a()` casts the same way.
38
+ * handles.
40
39
  */
41
40
  const tag = (name: string) => name as unknown as StaticConfig['Component']
42
41
 
@@ -57,881 +56,783 @@ type MergeHTMLProps<DOMProps, TamaguiProps, TamaguiNonStyleProps> = Omit<
57
56
  * ran; `compatibility.ts` in `@tamagui/dom` records where they differ from
58
57
  * React Strict DOM and why.
59
58
  */
60
- const a = setComponentDisplayName(
61
- createComponent<
62
- MergeHTMLProps<StrictDOMAnchorProps, TextProps, TextNonStyleProps>,
63
- TamaguiTextElement,
64
- MergeHTMLProps<StrictDOMAnchorProps, TextNonStyleProps, TextNonStyleProps>,
65
- TextStylePropsBase
66
- >({
67
- ...textStaticConfig,
68
- Component: tag('a'),
69
- defaultProps: {
70
- ...textStaticConfig.defaultProps,
71
- margin: 0,
72
- padding: 0,
73
- textDecorationLine: 'none',
74
- },
75
- }),
76
- 'a'
77
- )
78
-
79
- const article = setComponentDisplayName(
80
- createComponent<
81
- MergeHTMLProps<StrictDOMProps, ViewProps, StackNonStyleProps>,
82
- TamaguiElement,
83
- MergeHTMLProps<StrictDOMProps, StackNonStyleProps, StackNonStyleProps>,
84
- StackStyleBase
85
- >({
86
- ...viewStaticConfig,
87
- Component: tag('article'),
88
- defaultProps: { ...viewStaticConfig.defaultProps, margin: 0, padding: 0 },
89
- }),
90
- 'article'
91
- )
92
-
93
- const aside = setComponentDisplayName(
94
- createComponent<
95
- MergeHTMLProps<StrictDOMProps, ViewProps, StackNonStyleProps>,
96
- TamaguiElement,
97
- MergeHTMLProps<StrictDOMProps, StackNonStyleProps, StackNonStyleProps>,
98
- StackStyleBase
99
- >({
100
- ...viewStaticConfig,
101
- Component: tag('aside'),
102
- defaultProps: { ...viewStaticConfig.defaultProps, margin: 0, padding: 0 },
103
- }),
104
- 'aside'
105
- )
106
-
107
- const b = setComponentDisplayName(
108
- createComponent<
109
- MergeHTMLProps<StrictDOMProps, TextProps, TextNonStyleProps>,
110
- TamaguiTextElement,
111
- MergeHTMLProps<StrictDOMProps, TextNonStyleProps, TextNonStyleProps>,
112
- TextStylePropsBase
113
- >({
114
- ...textStaticConfig,
115
- Component: tag('b'),
116
- defaultProps: {
117
- ...textStaticConfig.defaultProps,
118
- margin: 0,
119
- padding: 0,
120
- textDecorationLine: 'none',
121
- fontWeight: 'bold',
122
- },
123
- }),
124
- 'b'
125
- )
126
-
127
- const bdi = setComponentDisplayName(
128
- createComponent<
129
- MergeHTMLProps<StrictDOMProps, TextProps, TextNonStyleProps>,
130
- TamaguiTextElement,
131
- MergeHTMLProps<StrictDOMProps, TextNonStyleProps, TextNonStyleProps>,
132
- TextStylePropsBase
133
- >({
134
- ...textStaticConfig,
135
- Component: tag('bdi'),
136
- defaultProps: {
137
- ...textStaticConfig.defaultProps,
138
- margin: 0,
139
- padding: 0,
140
- textDecorationLine: 'none',
141
- },
142
- }),
143
- 'bdi'
144
- )
145
-
146
- const bdo = setComponentDisplayName(
147
- createComponent<
148
- MergeHTMLProps<StrictDOMProps, TextProps, TextNonStyleProps>,
149
- TamaguiTextElement,
150
- MergeHTMLProps<StrictDOMProps, TextNonStyleProps, TextNonStyleProps>,
151
- TextStylePropsBase
152
- >({
153
- ...textStaticConfig,
154
- Component: tag('bdo'),
155
- defaultProps: {
156
- ...textStaticConfig.defaultProps,
157
- margin: 0,
158
- padding: 0,
159
- textDecorationLine: 'none',
160
- },
161
- }),
162
- 'bdo'
163
- )
164
-
165
- const blockquote = setComponentDisplayName(
166
- createComponent<
167
- MergeHTMLProps<StrictDOMProps, ViewProps, StackNonStyleProps>,
168
- TamaguiElement,
169
- MergeHTMLProps<StrictDOMProps, StackNonStyleProps, StackNonStyleProps>,
170
- StackStyleBase
171
- >({
172
- ...viewStaticConfig,
173
- Component: tag('blockquote'),
174
- defaultProps: { ...viewStaticConfig.defaultProps, margin: 0, padding: 0 },
175
- }),
176
- 'blockquote'
177
- )
178
-
179
- const br = setComponentDisplayName(
180
- createComponent<
181
- MergeHTMLProps<StrictDOMVoidProps, TextProps, TextNonStyleProps>,
182
- TamaguiTextElement,
183
- MergeHTMLProps<StrictDOMVoidProps, TextNonStyleProps, TextNonStyleProps>,
184
- TextStylePropsBase
185
- >({
186
- ...textStaticConfig,
187
- Component: tag('br'),
188
- defaultProps: {
189
- ...textStaticConfig.defaultProps,
190
- margin: 0,
191
- padding: 0,
192
- textDecorationLine: 'none',
193
- },
194
- }),
195
- 'br'
196
- )
197
-
198
- const button = setComponentDisplayName(
199
- createComponent<
200
- MergeHTMLProps<StrictDOMButtonProps, ViewProps, StackNonStyleProps>,
201
- TamaguiElement,
202
- MergeHTMLProps<StrictDOMButtonProps, StackNonStyleProps, StackNonStyleProps>,
203
- StackStyleBase
204
- >({
205
- ...viewStaticConfig,
206
- Component: tag('button'),
207
- defaultProps: {
208
- ...viewStaticConfig.defaultProps,
209
- margin: 0,
210
- padding: 0,
211
- borderStyle: 'solid',
212
- borderWidth: 1,
213
- },
214
- }),
215
- 'button'
216
- )
217
-
218
- const code = setComponentDisplayName(
219
- createComponent<
220
- MergeHTMLProps<StrictDOMProps, TextProps, TextNonStyleProps>,
221
- TamaguiTextElement,
222
- MergeHTMLProps<StrictDOMProps, TextNonStyleProps, TextNonStyleProps>,
223
- TextStylePropsBase
224
- >({
225
- ...textStaticConfig,
226
- Component: tag('code'),
227
- defaultProps: {
228
- ...textStaticConfig.defaultProps,
229
- margin: 0,
230
- padding: 0,
231
- textDecorationLine: 'none',
232
- fontFamily: 'monospace',
233
- fontSize: '1em',
234
- },
235
- }),
236
- 'code'
237
- )
238
-
239
- const del = setComponentDisplayName(
240
- createComponent<
241
- MergeHTMLProps<StrictDOMProps, TextProps, TextNonStyleProps>,
242
- TamaguiTextElement,
243
- MergeHTMLProps<StrictDOMProps, TextNonStyleProps, TextNonStyleProps>,
244
- TextStylePropsBase
245
- >({
246
- ...textStaticConfig,
247
- Component: tag('del'),
248
- defaultProps: {
249
- ...textStaticConfig.defaultProps,
250
- margin: 0,
251
- padding: 0,
252
- textDecorationLine: 'line-through',
253
- },
254
- }),
255
- 'del'
256
- )
257
-
258
- const div = setComponentDisplayName(
259
- createComponent<
260
- MergeHTMLProps<StrictDOMProps, ViewProps, StackNonStyleProps>,
261
- TamaguiElement,
262
- MergeHTMLProps<StrictDOMProps, StackNonStyleProps, StackNonStyleProps>,
263
- StackStyleBase
264
- >({
265
- ...viewStaticConfig,
266
- Component: tag('div'),
267
- defaultProps: { ...viewStaticConfig.defaultProps, margin: 0, padding: 0 },
268
- }),
269
- 'div'
270
- )
271
-
272
- const em = setComponentDisplayName(
273
- createComponent<
274
- MergeHTMLProps<StrictDOMProps, TextProps, TextNonStyleProps>,
275
- TamaguiTextElement,
276
- MergeHTMLProps<StrictDOMProps, TextNonStyleProps, TextNonStyleProps>,
277
- TextStylePropsBase
278
- >({
279
- ...textStaticConfig,
280
- Component: tag('em'),
281
- defaultProps: {
282
- ...textStaticConfig.defaultProps,
283
- margin: 0,
284
- padding: 0,
285
- textDecorationLine: 'none',
286
- fontStyle: 'italic',
287
- },
288
- }),
289
- 'em'
290
- )
291
-
292
- const fieldset = setComponentDisplayName(
293
- createComponent<
294
- MergeHTMLProps<StrictDOMProps, ViewProps, StackNonStyleProps>,
295
- TamaguiElement,
296
- MergeHTMLProps<StrictDOMProps, StackNonStyleProps, StackNonStyleProps>,
297
- StackStyleBase
298
- >({
299
- ...viewStaticConfig,
300
- Component: tag('fieldset'),
301
- defaultProps: { ...viewStaticConfig.defaultProps, margin: 0, padding: 0 },
302
- }),
303
- 'fieldset'
304
- )
305
-
306
- const footer = setComponentDisplayName(
307
- createComponent<
308
- MergeHTMLProps<StrictDOMProps, ViewProps, StackNonStyleProps>,
309
- TamaguiElement,
310
- MergeHTMLProps<StrictDOMProps, StackNonStyleProps, StackNonStyleProps>,
311
- StackStyleBase
312
- >({
313
- ...viewStaticConfig,
314
- Component: tag('footer'),
315
- defaultProps: { ...viewStaticConfig.defaultProps, margin: 0, padding: 0 },
316
- }),
317
- 'footer'
318
- )
319
-
320
- const form = setComponentDisplayName(
321
- createComponent<
322
- MergeHTMLProps<StrictDOMProps, ViewProps, StackNonStyleProps>,
323
- TamaguiElement,
324
- MergeHTMLProps<StrictDOMProps, StackNonStyleProps, StackNonStyleProps>,
325
- StackStyleBase
326
- >({
327
- ...viewStaticConfig,
328
- Component: tag('form'),
329
- defaultProps: { ...viewStaticConfig.defaultProps, margin: 0, padding: 0 },
330
- }),
331
- 'form'
332
- )
333
-
334
- const h1 = setComponentDisplayName(
335
- createComponent<
336
- MergeHTMLProps<StrictDOMProps, TextProps, TextNonStyleProps>,
337
- TamaguiTextElement,
338
- MergeHTMLProps<StrictDOMProps, TextNonStyleProps, TextNonStyleProps>,
339
- TextStylePropsBase
340
- >({
341
- ...textStaticConfig,
342
- Component: tag('h1'),
343
- defaultProps: {
344
- ...textStaticConfig.defaultProps,
345
- margin: 0,
346
- padding: 0,
347
- fontSize: '1.5rem',
348
- fontWeight: 'bold',
349
- },
350
- }),
351
- 'h1'
352
- )
353
-
354
- const h2 = setComponentDisplayName(
355
- createComponent<
356
- MergeHTMLProps<StrictDOMProps, TextProps, TextNonStyleProps>,
357
- TamaguiTextElement,
358
- MergeHTMLProps<StrictDOMProps, TextNonStyleProps, TextNonStyleProps>,
359
- TextStylePropsBase
360
- >({
361
- ...textStaticConfig,
362
- Component: tag('h2'),
363
- defaultProps: {
364
- ...textStaticConfig.defaultProps,
365
- margin: 0,
366
- padding: 0,
367
- fontSize: '1.5rem',
368
- fontWeight: 'bold',
369
- },
370
- }),
371
- 'h2'
372
- )
373
-
374
- const h3 = setComponentDisplayName(
375
- createComponent<
376
- MergeHTMLProps<StrictDOMProps, TextProps, TextNonStyleProps>,
377
- TamaguiTextElement,
378
- MergeHTMLProps<StrictDOMProps, TextNonStyleProps, TextNonStyleProps>,
379
- TextStylePropsBase
380
- >({
381
- ...textStaticConfig,
382
- Component: tag('h3'),
383
- defaultProps: {
384
- ...textStaticConfig.defaultProps,
385
- margin: 0,
386
- padding: 0,
387
- fontSize: '1.5rem',
388
- fontWeight: 'bold',
389
- },
390
- }),
391
- 'h3'
392
- )
393
-
394
- const h4 = setComponentDisplayName(
395
- createComponent<
396
- MergeHTMLProps<StrictDOMProps, TextProps, TextNonStyleProps>,
397
- TamaguiTextElement,
398
- MergeHTMLProps<StrictDOMProps, TextNonStyleProps, TextNonStyleProps>,
399
- TextStylePropsBase
400
- >({
401
- ...textStaticConfig,
402
- Component: tag('h4'),
403
- defaultProps: {
404
- ...textStaticConfig.defaultProps,
405
- margin: 0,
406
- padding: 0,
407
- fontSize: '1.5rem',
408
- fontWeight: 'bold',
409
- },
410
- }),
411
- 'h4'
412
- )
413
-
414
- const h5 = setComponentDisplayName(
415
- createComponent<
416
- MergeHTMLProps<StrictDOMProps, TextProps, TextNonStyleProps>,
417
- TamaguiTextElement,
418
- MergeHTMLProps<StrictDOMProps, TextNonStyleProps, TextNonStyleProps>,
419
- TextStylePropsBase
420
- >({
421
- ...textStaticConfig,
422
- Component: tag('h5'),
423
- defaultProps: {
424
- ...textStaticConfig.defaultProps,
425
- margin: 0,
426
- padding: 0,
427
- fontSize: '1.5rem',
428
- fontWeight: 'bold',
429
- },
430
- }),
431
- 'h5'
432
- )
433
-
434
- const h6 = setComponentDisplayName(
435
- createComponent<
436
- MergeHTMLProps<StrictDOMProps, TextProps, TextNonStyleProps>,
437
- TamaguiTextElement,
438
- MergeHTMLProps<StrictDOMProps, TextNonStyleProps, TextNonStyleProps>,
439
- TextStylePropsBase
440
- >({
441
- ...textStaticConfig,
442
- Component: tag('h6'),
443
- defaultProps: {
444
- ...textStaticConfig.defaultProps,
445
- margin: 0,
446
- padding: 0,
447
- fontSize: '1.5rem',
448
- fontWeight: 'bold',
449
- },
450
- }),
451
- 'h6'
452
- )
453
-
454
- const header = setComponentDisplayName(
455
- createComponent<
456
- MergeHTMLProps<StrictDOMProps, ViewProps, StackNonStyleProps>,
457
- TamaguiElement,
458
- MergeHTMLProps<StrictDOMProps, StackNonStyleProps, StackNonStyleProps>,
459
- StackStyleBase
460
- >({
461
- ...viewStaticConfig,
462
- Component: tag('header'),
463
- defaultProps: { ...viewStaticConfig.defaultProps, margin: 0, padding: 0 },
464
- }),
465
- 'header'
466
- )
467
-
468
- const hr = setComponentDisplayName(
469
- createComponent<
470
- MergeHTMLProps<StrictDOMVoidProps, ViewProps, StackNonStyleProps>,
471
- TamaguiElement,
472
- MergeHTMLProps<StrictDOMVoidProps, StackNonStyleProps, StackNonStyleProps>,
473
- StackStyleBase
474
- >({
475
- ...viewStaticConfig,
476
- Component: tag('hr'),
477
- defaultProps: {
478
- ...viewStaticConfig.defaultProps,
479
- margin: 0,
480
- padding: 0,
481
- backgroundColor: 'black',
482
- height: 1,
483
- borderStyle: 'none',
484
- borderWidth: 0,
485
- boxSizing: 'border-box',
486
- },
487
- }),
488
- 'hr'
489
- )
490
-
491
- const i = setComponentDisplayName(
492
- createComponent<
493
- MergeHTMLProps<StrictDOMProps, TextProps, TextNonStyleProps>,
494
- TamaguiTextElement,
495
- MergeHTMLProps<StrictDOMProps, TextNonStyleProps, TextNonStyleProps>,
496
- TextStylePropsBase
497
- >({
498
- ...textStaticConfig,
499
- Component: tag('i'),
500
- defaultProps: {
501
- ...textStaticConfig.defaultProps,
502
- margin: 0,
503
- padding: 0,
504
- textDecorationLine: 'none',
505
- fontStyle: 'italic',
506
- },
507
- }),
508
- 'i'
509
- )
510
-
511
- const img = setComponentDisplayName(
512
- createComponent<
513
- MergeHTMLProps<StrictDOMImageProps, ViewProps, StackNonStyleProps>,
514
- TamaguiElement,
515
- MergeHTMLProps<StrictDOMImageProps, StackNonStyleProps, StackNonStyleProps>,
516
- StackStyleBase
517
- >({
518
- ...viewStaticConfig,
519
- Component: tag('img'),
520
- defaultProps: {
521
- ...viewStaticConfig.defaultProps,
522
- margin: 0,
523
- padding: 0,
524
- textDecorationLine: 'none',
525
- objectFit: 'fill',
526
- height: 'auto',
527
- maxWidth: '100%',
528
- },
529
- }),
530
- 'img'
531
- )
532
-
533
- const input = setComponentDisplayName(
534
- createComponent<
535
- MergeHTMLProps<StrictDOMInputProps, TextProps, TextNonStyleProps>,
536
- TamaguiTextElement,
537
- MergeHTMLProps<StrictDOMInputProps, TextNonStyleProps, TextNonStyleProps>,
538
- TextStylePropsBase
539
- >({
540
- ...textStaticConfig,
541
- Component: tag('input'),
542
- isInput: true,
543
- defaultProps: {
544
- ...textStaticConfig.defaultProps,
545
- margin: 0,
546
- padding: 0,
547
- borderStyle: 'solid',
548
- borderWidth: 1,
549
- },
550
- }),
551
- 'input'
552
- )
553
-
554
- const ins = setComponentDisplayName(
555
- createComponent<
556
- MergeHTMLProps<StrictDOMProps, TextProps, TextNonStyleProps>,
557
- TamaguiTextElement,
558
- MergeHTMLProps<StrictDOMProps, TextNonStyleProps, TextNonStyleProps>,
559
- TextStylePropsBase
560
- >({
561
- ...textStaticConfig,
562
- Component: tag('ins'),
563
- defaultProps: {
564
- ...textStaticConfig.defaultProps,
565
- margin: 0,
566
- padding: 0,
567
- textDecorationLine: 'underline',
568
- },
569
- }),
570
- 'ins'
571
- )
572
-
573
- const kbd = setComponentDisplayName(
574
- createComponent<
575
- MergeHTMLProps<StrictDOMProps, TextProps, TextNonStyleProps>,
576
- TamaguiTextElement,
577
- MergeHTMLProps<StrictDOMProps, TextNonStyleProps, TextNonStyleProps>,
578
- TextStylePropsBase
579
- >({
580
- ...textStaticConfig,
581
- Component: tag('kbd'),
582
- defaultProps: {
583
- ...textStaticConfig.defaultProps,
584
- margin: 0,
585
- padding: 0,
586
- textDecorationLine: 'none',
587
- fontFamily: 'monospace',
588
- fontSize: '1em',
589
- },
590
- }),
591
- 'kbd'
592
- )
593
-
594
- const label = setComponentDisplayName(
595
- createComponent<
596
- MergeHTMLProps<StrictDOMLabelProps, TextProps, TextNonStyleProps>,
597
- TamaguiTextElement,
598
- MergeHTMLProps<StrictDOMLabelProps, TextNonStyleProps, TextNonStyleProps>,
599
- TextStylePropsBase
600
- >({
601
- ...textStaticConfig,
602
- Component: tag('label'),
603
- defaultProps: {
604
- ...textStaticConfig.defaultProps,
605
- margin: 0,
606
- padding: 0,
607
- textDecorationLine: 'none',
608
- },
609
- }),
610
- 'label'
611
- )
612
-
613
- const li = setComponentDisplayName(
614
- createComponent<
615
- MergeHTMLProps<StrictDOMListItemProps, ViewProps, StackNonStyleProps>,
616
- TamaguiElement,
617
- MergeHTMLProps<StrictDOMListItemProps, StackNonStyleProps, StackNonStyleProps>,
618
- StackStyleBase
619
- >({
620
- ...viewStaticConfig,
621
- Component: tag('li'),
622
- defaultProps: { ...viewStaticConfig.defaultProps, margin: 0, padding: 0 },
623
- }),
624
- 'li'
625
- )
626
-
627
- const main = setComponentDisplayName(
628
- createComponent<
629
- MergeHTMLProps<StrictDOMProps, ViewProps, StackNonStyleProps>,
630
- TamaguiElement,
631
- MergeHTMLProps<StrictDOMProps, StackNonStyleProps, StackNonStyleProps>,
632
- StackStyleBase
633
- >({
634
- ...viewStaticConfig,
635
- Component: tag('main'),
636
- defaultProps: { ...viewStaticConfig.defaultProps, margin: 0, padding: 0 },
637
- }),
638
- 'main'
639
- )
640
-
641
- const mark = setComponentDisplayName(
642
- createComponent<
643
- MergeHTMLProps<StrictDOMProps, TextProps, TextNonStyleProps>,
644
- TamaguiTextElement,
645
- MergeHTMLProps<StrictDOMProps, TextNonStyleProps, TextNonStyleProps>,
646
- TextStylePropsBase
647
- >({
648
- ...textStaticConfig,
649
- Component: tag('mark'),
650
- defaultProps: {
651
- ...textStaticConfig.defaultProps,
652
- margin: 0,
653
- padding: 0,
654
- textDecorationLine: 'none',
655
- backgroundColor: 'yellow',
656
- color: 'black',
657
- },
658
- }),
659
- 'mark'
660
- )
661
-
662
- const nav = setComponentDisplayName(
663
- createComponent<
664
- MergeHTMLProps<StrictDOMProps, ViewProps, StackNonStyleProps>,
665
- TamaguiElement,
666
- MergeHTMLProps<StrictDOMProps, StackNonStyleProps, StackNonStyleProps>,
667
- StackStyleBase
668
- >({
669
- ...viewStaticConfig,
670
- Component: tag('nav'),
671
- defaultProps: { ...viewStaticConfig.defaultProps, margin: 0, padding: 0 },
672
- }),
673
- 'nav'
674
- )
675
-
676
- const ol = setComponentDisplayName(
677
- createComponent<
678
- MergeHTMLProps<StrictDOMProps, ViewProps, StackNonStyleProps>,
679
- TamaguiElement,
680
- MergeHTMLProps<StrictDOMProps, StackNonStyleProps, StackNonStyleProps>,
681
- StackStyleBase
682
- >({
683
- ...viewStaticConfig,
684
- Component: tag('ol'),
685
- defaultProps: { ...viewStaticConfig.defaultProps, margin: 0, padding: 0 },
686
- }),
687
- 'ol'
688
- )
689
-
690
- const optgroup = setComponentDisplayName(
691
- createComponent<
692
- MergeHTMLProps<StrictDOMOptionGroupProps, ViewProps, StackNonStyleProps>,
693
- TamaguiElement,
694
- MergeHTMLProps<StrictDOMOptionGroupProps, StackNonStyleProps, StackNonStyleProps>,
695
- StackStyleBase
696
- >({
697
- ...viewStaticConfig,
698
- Component: tag('optgroup'),
699
- defaultProps: { ...viewStaticConfig.defaultProps, margin: 0, padding: 0 },
700
- }),
701
- 'optgroup'
702
- )
703
-
704
- const option = setComponentDisplayName(
705
- createComponent<
706
- MergeHTMLProps<StrictDOMOptionProps, TextProps, TextNonStyleProps>,
707
- TamaguiTextElement,
708
- MergeHTMLProps<StrictDOMOptionProps, TextNonStyleProps, TextNonStyleProps>,
709
- TextStylePropsBase
710
- >({
711
- ...textStaticConfig,
712
- Component: tag('option'),
713
- defaultProps: { ...textStaticConfig.defaultProps, margin: 0, padding: 0 },
714
- }),
715
- 'option'
716
- )
717
-
718
- const p = setComponentDisplayName(
719
- createComponent<
720
- MergeHTMLProps<StrictDOMProps, TextProps, TextNonStyleProps>,
721
- TamaguiTextElement,
722
- MergeHTMLProps<StrictDOMProps, TextNonStyleProps, TextNonStyleProps>,
723
- TextStylePropsBase
724
- >({
725
- ...textStaticConfig,
726
- Component: tag('p'),
727
- defaultProps: { ...textStaticConfig.defaultProps, margin: 0, padding: 0 },
728
- }),
729
- 'p'
730
- )
731
-
732
- const pre = setComponentDisplayName(
733
- createComponent<
734
- MergeHTMLProps<StrictDOMProps, TextProps, TextNonStyleProps>,
735
- TamaguiTextElement,
736
- MergeHTMLProps<StrictDOMProps, TextNonStyleProps, TextNonStyleProps>,
737
- TextStylePropsBase
738
- >({
739
- ...textStaticConfig,
740
- Component: tag('pre'),
741
- defaultProps: {
742
- ...textStaticConfig.defaultProps,
743
- margin: 0,
744
- padding: 0,
745
- fontFamily: 'monospace',
746
- fontSize: '1em',
747
- overflow: 'auto',
748
- },
749
- }),
750
- 'pre'
751
- )
752
-
753
- const s = setComponentDisplayName(
754
- createComponent<
755
- MergeHTMLProps<StrictDOMProps, TextProps, TextNonStyleProps>,
756
- TamaguiTextElement,
757
- MergeHTMLProps<StrictDOMProps, TextNonStyleProps, TextNonStyleProps>,
758
- TextStylePropsBase
759
- >({
760
- ...textStaticConfig,
761
- Component: tag('s'),
762
- defaultProps: {
763
- ...textStaticConfig.defaultProps,
764
- margin: 0,
765
- padding: 0,
766
- textDecorationLine: 'line-through',
767
- },
768
- }),
769
- 's'
770
- )
771
-
772
- const section = setComponentDisplayName(
773
- createComponent<
774
- MergeHTMLProps<StrictDOMProps, ViewProps, StackNonStyleProps>,
775
- TamaguiElement,
776
- MergeHTMLProps<StrictDOMProps, StackNonStyleProps, StackNonStyleProps>,
777
- StackStyleBase
778
- >({
779
- ...viewStaticConfig,
780
- Component: tag('section'),
781
- defaultProps: { ...viewStaticConfig.defaultProps, margin: 0, padding: 0 },
782
- }),
783
- 'section'
784
- )
785
-
786
- const select = setComponentDisplayName(
787
- createComponent<
788
- MergeHTMLProps<StrictDOMSelectProps, ViewProps, StackNonStyleProps>,
789
- TamaguiElement,
790
- MergeHTMLProps<StrictDOMSelectProps, StackNonStyleProps, StackNonStyleProps>,
791
- StackStyleBase
792
- >({
793
- ...viewStaticConfig,
794
- Component: tag('select'),
795
- defaultProps: {
796
- ...viewStaticConfig.defaultProps,
797
- margin: 0,
798
- padding: 0,
799
- borderStyle: 'solid',
800
- },
801
- }),
802
- 'select'
803
- )
804
-
805
- const span = setComponentDisplayName(
806
- createComponent<
807
- MergeHTMLProps<StrictDOMProps, TextProps, TextNonStyleProps>,
808
- TamaguiTextElement,
809
- MergeHTMLProps<StrictDOMProps, TextNonStyleProps, TextNonStyleProps>,
810
- TextStylePropsBase
811
- >({
812
- ...textStaticConfig,
813
- Component: tag('span'),
814
- defaultProps: {
815
- ...textStaticConfig.defaultProps,
816
- margin: 0,
817
- padding: 0,
818
- textDecorationLine: 'none',
819
- },
820
- }),
821
- 'span'
822
- )
823
-
824
- const strong = setComponentDisplayName(
825
- createComponent<
826
- MergeHTMLProps<StrictDOMProps, TextProps, TextNonStyleProps>,
827
- TamaguiTextElement,
828
- MergeHTMLProps<StrictDOMProps, TextNonStyleProps, TextNonStyleProps>,
829
- TextStylePropsBase
830
- >({
831
- ...textStaticConfig,
832
- Component: tag('strong'),
833
- defaultProps: {
834
- ...textStaticConfig.defaultProps,
835
- margin: 0,
836
- padding: 0,
837
- textDecorationLine: 'none',
838
- fontWeight: 'bold',
839
- },
840
- }),
841
- 'strong'
842
- )
843
-
844
- const sub = setComponentDisplayName(
845
- createComponent<
846
- MergeHTMLProps<StrictDOMProps, TextProps, TextNonStyleProps>,
847
- TamaguiTextElement,
848
- MergeHTMLProps<StrictDOMProps, TextNonStyleProps, TextNonStyleProps>,
849
- TextStylePropsBase
850
- >({
851
- ...textStaticConfig,
852
- Component: tag('sub'),
853
- defaultProps: {
854
- ...textStaticConfig.defaultProps,
855
- margin: 0,
856
- padding: 0,
857
- textDecorationLine: 'none',
858
- },
859
- }),
860
- 'sub'
861
- )
862
-
863
- const sup = setComponentDisplayName(
864
- createComponent<
865
- MergeHTMLProps<StrictDOMProps, TextProps, TextNonStyleProps>,
866
- TamaguiTextElement,
867
- MergeHTMLProps<StrictDOMProps, TextNonStyleProps, TextNonStyleProps>,
868
- TextStylePropsBase
869
- >({
870
- ...textStaticConfig,
871
- Component: tag('sup'),
872
- defaultProps: {
873
- ...textStaticConfig.defaultProps,
874
- margin: 0,
875
- padding: 0,
876
- textDecorationLine: 'none',
877
- },
878
- }),
879
- 'sup'
880
- )
881
-
882
- const textarea = setComponentDisplayName(
883
- createComponent<
884
- MergeHTMLProps<StrictDOMTextAreaProps, TextProps, TextNonStyleProps>,
885
- TamaguiTextElement,
886
- MergeHTMLProps<StrictDOMTextAreaProps, TextNonStyleProps, TextNonStyleProps>,
887
- TextStylePropsBase
888
- >({
889
- ...textStaticConfig,
890
- Component: tag('textarea'),
891
- isInput: true,
892
- defaultProps: {
893
- ...textStaticConfig.defaultProps,
894
- margin: 0,
895
- padding: 0,
896
- borderStyle: 'solid',
897
- borderWidth: 1,
898
- },
899
- }),
900
- 'textarea'
901
- )
902
-
903
- const u = setComponentDisplayName(
904
- createComponent<
905
- MergeHTMLProps<StrictDOMProps, TextProps, TextNonStyleProps>,
906
- TamaguiTextElement,
907
- MergeHTMLProps<StrictDOMProps, TextNonStyleProps, TextNonStyleProps>,
908
- TextStylePropsBase
909
- >({
910
- ...textStaticConfig,
911
- Component: tag('u'),
912
- defaultProps: {
913
- ...textStaticConfig.defaultProps,
914
- margin: 0,
915
- padding: 0,
916
- textDecorationLine: 'underline',
917
- },
918
- }),
919
- 'u'
920
- )
921
-
922
- const ul = setComponentDisplayName(
923
- createComponent<
924
- MergeHTMLProps<StrictDOMProps, ViewProps, StackNonStyleProps>,
925
- TamaguiElement,
926
- MergeHTMLProps<StrictDOMProps, StackNonStyleProps, StackNonStyleProps>,
927
- StackStyleBase
928
- >({
929
- ...viewStaticConfig,
930
- Component: tag('ul'),
931
- defaultProps: { ...viewStaticConfig.defaultProps, margin: 0, padding: 0 },
932
- }),
933
- 'ul'
934
- )
59
+ const a = createComponent<
60
+ MergeHTMLProps<StrictDOMAnchorProps, TextProps, TextNonStyleProps>,
61
+ TamaguiTextElement,
62
+ MergeHTMLProps<StrictDOMAnchorProps, TextNonStyleProps, TextNonStyleProps>,
63
+ TextStylePropsBase
64
+ >({
65
+ ...textStaticConfig,
66
+ Component: tag('a'),
67
+ displayName: 'a',
68
+ defaultProps: {
69
+ ...textStaticConfig.defaultProps,
70
+ margin: 0,
71
+ padding: 0,
72
+ textDecorationLine: 'none',
73
+ },
74
+ })
75
+
76
+ const article = createComponent<
77
+ MergeHTMLProps<StrictDOMProps, ViewProps, StackNonStyleProps>,
78
+ TamaguiElement,
79
+ MergeHTMLProps<StrictDOMProps, StackNonStyleProps, StackNonStyleProps>,
80
+ StackStyleBase
81
+ >({
82
+ ...viewStaticConfig,
83
+ Component: tag('article'),
84
+ displayName: 'article',
85
+ defaultProps: { ...viewStaticConfig.defaultProps, margin: 0, padding: 0 },
86
+ })
87
+
88
+ const aside = createComponent<
89
+ MergeHTMLProps<StrictDOMProps, ViewProps, StackNonStyleProps>,
90
+ TamaguiElement,
91
+ MergeHTMLProps<StrictDOMProps, StackNonStyleProps, StackNonStyleProps>,
92
+ StackStyleBase
93
+ >({
94
+ ...viewStaticConfig,
95
+ Component: tag('aside'),
96
+ displayName: 'aside',
97
+ defaultProps: { ...viewStaticConfig.defaultProps, margin: 0, padding: 0 },
98
+ })
99
+
100
+ const b = createComponent<
101
+ MergeHTMLProps<StrictDOMProps, TextProps, TextNonStyleProps>,
102
+ TamaguiTextElement,
103
+ MergeHTMLProps<StrictDOMProps, TextNonStyleProps, TextNonStyleProps>,
104
+ TextStylePropsBase
105
+ >({
106
+ ...textStaticConfig,
107
+ Component: tag('b'),
108
+ displayName: 'b',
109
+ defaultProps: {
110
+ ...textStaticConfig.defaultProps,
111
+ margin: 0,
112
+ padding: 0,
113
+ textDecorationLine: 'none',
114
+ fontWeight: 'bold',
115
+ },
116
+ })
117
+
118
+ const bdi = createComponent<
119
+ MergeHTMLProps<StrictDOMProps, TextProps, TextNonStyleProps>,
120
+ TamaguiTextElement,
121
+ MergeHTMLProps<StrictDOMProps, TextNonStyleProps, TextNonStyleProps>,
122
+ TextStylePropsBase
123
+ >({
124
+ ...textStaticConfig,
125
+ Component: tag('bdi'),
126
+ displayName: 'bdi',
127
+ defaultProps: {
128
+ ...textStaticConfig.defaultProps,
129
+ margin: 0,
130
+ padding: 0,
131
+ textDecorationLine: 'none',
132
+ },
133
+ })
134
+
135
+ const bdo = createComponent<
136
+ MergeHTMLProps<StrictDOMProps, TextProps, TextNonStyleProps>,
137
+ TamaguiTextElement,
138
+ MergeHTMLProps<StrictDOMProps, TextNonStyleProps, TextNonStyleProps>,
139
+ TextStylePropsBase
140
+ >({
141
+ ...textStaticConfig,
142
+ Component: tag('bdo'),
143
+ displayName: 'bdo',
144
+ defaultProps: {
145
+ ...textStaticConfig.defaultProps,
146
+ margin: 0,
147
+ padding: 0,
148
+ textDecorationLine: 'none',
149
+ },
150
+ })
151
+
152
+ const blockquote = createComponent<
153
+ MergeHTMLProps<StrictDOMProps, ViewProps, StackNonStyleProps>,
154
+ TamaguiElement,
155
+ MergeHTMLProps<StrictDOMProps, StackNonStyleProps, StackNonStyleProps>,
156
+ StackStyleBase
157
+ >({
158
+ ...viewStaticConfig,
159
+ Component: tag('blockquote'),
160
+ displayName: 'blockquote',
161
+ defaultProps: { ...viewStaticConfig.defaultProps, margin: 0, padding: 0 },
162
+ })
163
+
164
+ const br = createComponent<
165
+ MergeHTMLProps<StrictDOMVoidProps, TextProps, TextNonStyleProps>,
166
+ TamaguiTextElement,
167
+ MergeHTMLProps<StrictDOMVoidProps, TextNonStyleProps, TextNonStyleProps>,
168
+ TextStylePropsBase
169
+ >({
170
+ ...textStaticConfig,
171
+ Component: tag('br'),
172
+ displayName: 'br',
173
+ defaultProps: {
174
+ ...textStaticConfig.defaultProps,
175
+ margin: 0,
176
+ padding: 0,
177
+ textDecorationLine: 'none',
178
+ },
179
+ })
180
+
181
+ const button = createComponent<
182
+ MergeHTMLProps<StrictDOMButtonProps, ViewProps, StackNonStyleProps>,
183
+ TamaguiElement,
184
+ MergeHTMLProps<StrictDOMButtonProps, StackNonStyleProps, StackNonStyleProps>,
185
+ StackStyleBase
186
+ >({
187
+ ...viewStaticConfig,
188
+ Component: tag('button'),
189
+ displayName: 'button',
190
+ defaultProps: {
191
+ ...viewStaticConfig.defaultProps,
192
+ margin: 0,
193
+ padding: 0,
194
+ borderStyle: 'solid',
195
+ borderWidth: 1,
196
+ },
197
+ })
198
+
199
+ const code = createComponent<
200
+ MergeHTMLProps<StrictDOMProps, TextProps, TextNonStyleProps>,
201
+ TamaguiTextElement,
202
+ MergeHTMLProps<StrictDOMProps, TextNonStyleProps, TextNonStyleProps>,
203
+ TextStylePropsBase
204
+ >({
205
+ ...textStaticConfig,
206
+ Component: tag('code'),
207
+ displayName: 'code',
208
+ defaultProps: {
209
+ ...textStaticConfig.defaultProps,
210
+ margin: 0,
211
+ padding: 0,
212
+ textDecorationLine: 'none',
213
+ fontFamily: 'monospace',
214
+ fontSize: '1em',
215
+ },
216
+ })
217
+
218
+ const del = createComponent<
219
+ MergeHTMLProps<StrictDOMProps, TextProps, TextNonStyleProps>,
220
+ TamaguiTextElement,
221
+ MergeHTMLProps<StrictDOMProps, TextNonStyleProps, TextNonStyleProps>,
222
+ TextStylePropsBase
223
+ >({
224
+ ...textStaticConfig,
225
+ Component: tag('del'),
226
+ displayName: 'del',
227
+ defaultProps: {
228
+ ...textStaticConfig.defaultProps,
229
+ margin: 0,
230
+ padding: 0,
231
+ textDecorationLine: 'line-through',
232
+ },
233
+ })
234
+
235
+ const div = createComponent<
236
+ MergeHTMLProps<StrictDOMProps, ViewProps, StackNonStyleProps>,
237
+ TamaguiElement,
238
+ MergeHTMLProps<StrictDOMProps, StackNonStyleProps, StackNonStyleProps>,
239
+ StackStyleBase
240
+ >({
241
+ ...viewStaticConfig,
242
+ Component: tag('div'),
243
+ displayName: 'div',
244
+ defaultProps: { ...viewStaticConfig.defaultProps, margin: 0, padding: 0 },
245
+ })
246
+
247
+ const em = createComponent<
248
+ MergeHTMLProps<StrictDOMProps, TextProps, TextNonStyleProps>,
249
+ TamaguiTextElement,
250
+ MergeHTMLProps<StrictDOMProps, TextNonStyleProps, TextNonStyleProps>,
251
+ TextStylePropsBase
252
+ >({
253
+ ...textStaticConfig,
254
+ Component: tag('em'),
255
+ displayName: 'em',
256
+ defaultProps: {
257
+ ...textStaticConfig.defaultProps,
258
+ margin: 0,
259
+ padding: 0,
260
+ textDecorationLine: 'none',
261
+ fontStyle: 'italic',
262
+ },
263
+ })
264
+
265
+ const fieldset = createComponent<
266
+ MergeHTMLProps<StrictDOMProps, ViewProps, StackNonStyleProps>,
267
+ TamaguiElement,
268
+ MergeHTMLProps<StrictDOMProps, StackNonStyleProps, StackNonStyleProps>,
269
+ StackStyleBase
270
+ >({
271
+ ...viewStaticConfig,
272
+ Component: tag('fieldset'),
273
+ displayName: 'fieldset',
274
+ defaultProps: { ...viewStaticConfig.defaultProps, margin: 0, padding: 0 },
275
+ })
276
+
277
+ const footer = createComponent<
278
+ MergeHTMLProps<StrictDOMProps, ViewProps, StackNonStyleProps>,
279
+ TamaguiElement,
280
+ MergeHTMLProps<StrictDOMProps, StackNonStyleProps, StackNonStyleProps>,
281
+ StackStyleBase
282
+ >({
283
+ ...viewStaticConfig,
284
+ Component: tag('footer'),
285
+ displayName: 'footer',
286
+ defaultProps: { ...viewStaticConfig.defaultProps, margin: 0, padding: 0 },
287
+ })
288
+
289
+ const form = createComponent<
290
+ MergeHTMLProps<StrictDOMProps, ViewProps, StackNonStyleProps>,
291
+ TamaguiElement,
292
+ MergeHTMLProps<StrictDOMProps, StackNonStyleProps, StackNonStyleProps>,
293
+ StackStyleBase
294
+ >({
295
+ ...viewStaticConfig,
296
+ Component: tag('form'),
297
+ displayName: 'form',
298
+ defaultProps: { ...viewStaticConfig.defaultProps, margin: 0, padding: 0 },
299
+ })
300
+
301
+ const h1 = createComponent<
302
+ MergeHTMLProps<StrictDOMProps, TextProps, TextNonStyleProps>,
303
+ TamaguiTextElement,
304
+ MergeHTMLProps<StrictDOMProps, TextNonStyleProps, TextNonStyleProps>,
305
+ TextStylePropsBase
306
+ >({
307
+ ...textStaticConfig,
308
+ Component: tag('h1'),
309
+ displayName: 'h1',
310
+ defaultProps: {
311
+ ...textStaticConfig.defaultProps,
312
+ margin: 0,
313
+ padding: 0,
314
+ fontSize: '1.5rem',
315
+ fontWeight: 'bold',
316
+ },
317
+ })
318
+
319
+ const h2 = createComponent<
320
+ MergeHTMLProps<StrictDOMProps, TextProps, TextNonStyleProps>,
321
+ TamaguiTextElement,
322
+ MergeHTMLProps<StrictDOMProps, TextNonStyleProps, TextNonStyleProps>,
323
+ TextStylePropsBase
324
+ >({
325
+ ...textStaticConfig,
326
+ Component: tag('h2'),
327
+ displayName: 'h2',
328
+ defaultProps: {
329
+ ...textStaticConfig.defaultProps,
330
+ margin: 0,
331
+ padding: 0,
332
+ fontSize: '1.5rem',
333
+ fontWeight: 'bold',
334
+ },
335
+ })
336
+
337
+ const h3 = createComponent<
338
+ MergeHTMLProps<StrictDOMProps, TextProps, TextNonStyleProps>,
339
+ TamaguiTextElement,
340
+ MergeHTMLProps<StrictDOMProps, TextNonStyleProps, TextNonStyleProps>,
341
+ TextStylePropsBase
342
+ >({
343
+ ...textStaticConfig,
344
+ Component: tag('h3'),
345
+ displayName: 'h3',
346
+ defaultProps: {
347
+ ...textStaticConfig.defaultProps,
348
+ margin: 0,
349
+ padding: 0,
350
+ fontSize: '1.5rem',
351
+ fontWeight: 'bold',
352
+ },
353
+ })
354
+
355
+ const h4 = createComponent<
356
+ MergeHTMLProps<StrictDOMProps, TextProps, TextNonStyleProps>,
357
+ TamaguiTextElement,
358
+ MergeHTMLProps<StrictDOMProps, TextNonStyleProps, TextNonStyleProps>,
359
+ TextStylePropsBase
360
+ >({
361
+ ...textStaticConfig,
362
+ Component: tag('h4'),
363
+ displayName: 'h4',
364
+ defaultProps: {
365
+ ...textStaticConfig.defaultProps,
366
+ margin: 0,
367
+ padding: 0,
368
+ fontSize: '1.5rem',
369
+ fontWeight: 'bold',
370
+ },
371
+ })
372
+
373
+ const h5 = createComponent<
374
+ MergeHTMLProps<StrictDOMProps, TextProps, TextNonStyleProps>,
375
+ TamaguiTextElement,
376
+ MergeHTMLProps<StrictDOMProps, TextNonStyleProps, TextNonStyleProps>,
377
+ TextStylePropsBase
378
+ >({
379
+ ...textStaticConfig,
380
+ Component: tag('h5'),
381
+ displayName: 'h5',
382
+ defaultProps: {
383
+ ...textStaticConfig.defaultProps,
384
+ margin: 0,
385
+ padding: 0,
386
+ fontSize: '1.5rem',
387
+ fontWeight: 'bold',
388
+ },
389
+ })
390
+
391
+ const h6 = createComponent<
392
+ MergeHTMLProps<StrictDOMProps, TextProps, TextNonStyleProps>,
393
+ TamaguiTextElement,
394
+ MergeHTMLProps<StrictDOMProps, TextNonStyleProps, TextNonStyleProps>,
395
+ TextStylePropsBase
396
+ >({
397
+ ...textStaticConfig,
398
+ Component: tag('h6'),
399
+ displayName: 'h6',
400
+ defaultProps: {
401
+ ...textStaticConfig.defaultProps,
402
+ margin: 0,
403
+ padding: 0,
404
+ fontSize: '1.5rem',
405
+ fontWeight: 'bold',
406
+ },
407
+ })
408
+
409
+ const header = createComponent<
410
+ MergeHTMLProps<StrictDOMProps, ViewProps, StackNonStyleProps>,
411
+ TamaguiElement,
412
+ MergeHTMLProps<StrictDOMProps, StackNonStyleProps, StackNonStyleProps>,
413
+ StackStyleBase
414
+ >({
415
+ ...viewStaticConfig,
416
+ Component: tag('header'),
417
+ displayName: 'header',
418
+ defaultProps: { ...viewStaticConfig.defaultProps, margin: 0, padding: 0 },
419
+ })
420
+
421
+ const hr = createComponent<
422
+ MergeHTMLProps<StrictDOMVoidProps, ViewProps, StackNonStyleProps>,
423
+ TamaguiElement,
424
+ MergeHTMLProps<StrictDOMVoidProps, StackNonStyleProps, StackNonStyleProps>,
425
+ StackStyleBase
426
+ >({
427
+ ...viewStaticConfig,
428
+ Component: tag('hr'),
429
+ displayName: 'hr',
430
+ defaultProps: {
431
+ ...viewStaticConfig.defaultProps,
432
+ margin: 0,
433
+ padding: 0,
434
+ backgroundColor: 'black',
435
+ height: 1,
436
+ borderStyle: 'none',
437
+ borderWidth: 0,
438
+ boxSizing: 'border-box',
439
+ },
440
+ })
441
+
442
+ const i = createComponent<
443
+ MergeHTMLProps<StrictDOMProps, TextProps, TextNonStyleProps>,
444
+ TamaguiTextElement,
445
+ MergeHTMLProps<StrictDOMProps, TextNonStyleProps, TextNonStyleProps>,
446
+ TextStylePropsBase
447
+ >({
448
+ ...textStaticConfig,
449
+ Component: tag('i'),
450
+ displayName: 'i',
451
+ defaultProps: {
452
+ ...textStaticConfig.defaultProps,
453
+ margin: 0,
454
+ padding: 0,
455
+ textDecorationLine: 'none',
456
+ fontStyle: 'italic',
457
+ },
458
+ })
459
+
460
+ const img = createComponent<
461
+ MergeHTMLProps<StrictDOMImageProps, ViewProps, StackNonStyleProps>,
462
+ TamaguiElement,
463
+ MergeHTMLProps<StrictDOMImageProps, StackNonStyleProps, StackNonStyleProps>,
464
+ StackStyleBase
465
+ >({
466
+ ...viewStaticConfig,
467
+ Component: tag('img'),
468
+ displayName: 'img',
469
+ defaultProps: {
470
+ ...viewStaticConfig.defaultProps,
471
+ margin: 0,
472
+ padding: 0,
473
+ textDecorationLine: 'none',
474
+ objectFit: 'fill',
475
+ height: 'auto',
476
+ maxWidth: '100%',
477
+ },
478
+ })
479
+
480
+ const input = createComponent<
481
+ MergeHTMLProps<StrictDOMInputProps, TextProps, TextNonStyleProps>,
482
+ TamaguiTextElement,
483
+ MergeHTMLProps<StrictDOMInputProps, TextNonStyleProps, TextNonStyleProps>,
484
+ TextStylePropsBase
485
+ >({
486
+ ...textStaticConfig,
487
+ Component: tag('input'),
488
+ displayName: 'input',
489
+ isInput: true,
490
+ defaultProps: {
491
+ ...textStaticConfig.defaultProps,
492
+ margin: 0,
493
+ padding: 0,
494
+ borderStyle: 'solid',
495
+ borderWidth: 1,
496
+ },
497
+ })
498
+
499
+ const ins = createComponent<
500
+ MergeHTMLProps<StrictDOMProps, TextProps, TextNonStyleProps>,
501
+ TamaguiTextElement,
502
+ MergeHTMLProps<StrictDOMProps, TextNonStyleProps, TextNonStyleProps>,
503
+ TextStylePropsBase
504
+ >({
505
+ ...textStaticConfig,
506
+ Component: tag('ins'),
507
+ displayName: 'ins',
508
+ defaultProps: {
509
+ ...textStaticConfig.defaultProps,
510
+ margin: 0,
511
+ padding: 0,
512
+ textDecorationLine: 'underline',
513
+ },
514
+ })
515
+
516
+ const kbd = createComponent<
517
+ MergeHTMLProps<StrictDOMProps, TextProps, TextNonStyleProps>,
518
+ TamaguiTextElement,
519
+ MergeHTMLProps<StrictDOMProps, TextNonStyleProps, TextNonStyleProps>,
520
+ TextStylePropsBase
521
+ >({
522
+ ...textStaticConfig,
523
+ Component: tag('kbd'),
524
+ displayName: 'kbd',
525
+ defaultProps: {
526
+ ...textStaticConfig.defaultProps,
527
+ margin: 0,
528
+ padding: 0,
529
+ textDecorationLine: 'none',
530
+ fontFamily: 'monospace',
531
+ fontSize: '1em',
532
+ },
533
+ })
534
+
535
+ const label = createComponent<
536
+ MergeHTMLProps<StrictDOMLabelProps, TextProps, TextNonStyleProps>,
537
+ TamaguiTextElement,
538
+ MergeHTMLProps<StrictDOMLabelProps, TextNonStyleProps, TextNonStyleProps>,
539
+ TextStylePropsBase
540
+ >({
541
+ ...textStaticConfig,
542
+ Component: tag('label'),
543
+ displayName: 'label',
544
+ defaultProps: {
545
+ ...textStaticConfig.defaultProps,
546
+ margin: 0,
547
+ padding: 0,
548
+ textDecorationLine: 'none',
549
+ },
550
+ })
551
+
552
+ const li = createComponent<
553
+ MergeHTMLProps<StrictDOMListItemProps, ViewProps, StackNonStyleProps>,
554
+ TamaguiElement,
555
+ MergeHTMLProps<StrictDOMListItemProps, StackNonStyleProps, StackNonStyleProps>,
556
+ StackStyleBase
557
+ >({
558
+ ...viewStaticConfig,
559
+ Component: tag('li'),
560
+ displayName: 'li',
561
+ defaultProps: { ...viewStaticConfig.defaultProps, margin: 0, padding: 0 },
562
+ })
563
+
564
+ const main = createComponent<
565
+ MergeHTMLProps<StrictDOMProps, ViewProps, StackNonStyleProps>,
566
+ TamaguiElement,
567
+ MergeHTMLProps<StrictDOMProps, StackNonStyleProps, StackNonStyleProps>,
568
+ StackStyleBase
569
+ >({
570
+ ...viewStaticConfig,
571
+ Component: tag('main'),
572
+ displayName: 'main',
573
+ defaultProps: { ...viewStaticConfig.defaultProps, margin: 0, padding: 0 },
574
+ })
575
+
576
+ const mark = createComponent<
577
+ MergeHTMLProps<StrictDOMProps, TextProps, TextNonStyleProps>,
578
+ TamaguiTextElement,
579
+ MergeHTMLProps<StrictDOMProps, TextNonStyleProps, TextNonStyleProps>,
580
+ TextStylePropsBase
581
+ >({
582
+ ...textStaticConfig,
583
+ Component: tag('mark'),
584
+ displayName: 'mark',
585
+ defaultProps: {
586
+ ...textStaticConfig.defaultProps,
587
+ margin: 0,
588
+ padding: 0,
589
+ textDecorationLine: 'none',
590
+ backgroundColor: 'yellow',
591
+ color: 'black',
592
+ },
593
+ })
594
+
595
+ const nav = createComponent<
596
+ MergeHTMLProps<StrictDOMProps, ViewProps, StackNonStyleProps>,
597
+ TamaguiElement,
598
+ MergeHTMLProps<StrictDOMProps, StackNonStyleProps, StackNonStyleProps>,
599
+ StackStyleBase
600
+ >({
601
+ ...viewStaticConfig,
602
+ Component: tag('nav'),
603
+ displayName: 'nav',
604
+ defaultProps: { ...viewStaticConfig.defaultProps, margin: 0, padding: 0 },
605
+ })
606
+
607
+ const ol = createComponent<
608
+ MergeHTMLProps<StrictDOMProps, ViewProps, StackNonStyleProps>,
609
+ TamaguiElement,
610
+ MergeHTMLProps<StrictDOMProps, StackNonStyleProps, StackNonStyleProps>,
611
+ StackStyleBase
612
+ >({
613
+ ...viewStaticConfig,
614
+ Component: tag('ol'),
615
+ displayName: 'ol',
616
+ defaultProps: { ...viewStaticConfig.defaultProps, margin: 0, padding: 0 },
617
+ })
618
+
619
+ const optgroup = createComponent<
620
+ MergeHTMLProps<StrictDOMOptionGroupProps, ViewProps, StackNonStyleProps>,
621
+ TamaguiElement,
622
+ MergeHTMLProps<StrictDOMOptionGroupProps, StackNonStyleProps, StackNonStyleProps>,
623
+ StackStyleBase
624
+ >({
625
+ ...viewStaticConfig,
626
+ Component: tag('optgroup'),
627
+ displayName: 'optgroup',
628
+ defaultProps: { ...viewStaticConfig.defaultProps, margin: 0, padding: 0 },
629
+ })
630
+
631
+ const option = createComponent<
632
+ MergeHTMLProps<StrictDOMOptionProps, TextProps, TextNonStyleProps>,
633
+ TamaguiTextElement,
634
+ MergeHTMLProps<StrictDOMOptionProps, TextNonStyleProps, TextNonStyleProps>,
635
+ TextStylePropsBase
636
+ >({
637
+ ...textStaticConfig,
638
+ Component: tag('option'),
639
+ displayName: 'option',
640
+ defaultProps: { ...textStaticConfig.defaultProps, margin: 0, padding: 0 },
641
+ })
642
+
643
+ const p = createComponent<
644
+ MergeHTMLProps<StrictDOMProps, TextProps, TextNonStyleProps>,
645
+ TamaguiTextElement,
646
+ MergeHTMLProps<StrictDOMProps, TextNonStyleProps, TextNonStyleProps>,
647
+ TextStylePropsBase
648
+ >({
649
+ ...textStaticConfig,
650
+ Component: tag('p'),
651
+ displayName: 'p',
652
+ defaultProps: { ...textStaticConfig.defaultProps, margin: 0, padding: 0 },
653
+ })
654
+
655
+ const pre = createComponent<
656
+ MergeHTMLProps<StrictDOMProps, TextProps, TextNonStyleProps>,
657
+ TamaguiTextElement,
658
+ MergeHTMLProps<StrictDOMProps, TextNonStyleProps, TextNonStyleProps>,
659
+ TextStylePropsBase
660
+ >({
661
+ ...textStaticConfig,
662
+ Component: tag('pre'),
663
+ displayName: 'pre',
664
+ defaultProps: {
665
+ ...textStaticConfig.defaultProps,
666
+ margin: 0,
667
+ padding: 0,
668
+ fontFamily: 'monospace',
669
+ fontSize: '1em',
670
+ overflow: 'auto',
671
+ },
672
+ })
673
+
674
+ const s = createComponent<
675
+ MergeHTMLProps<StrictDOMProps, TextProps, TextNonStyleProps>,
676
+ TamaguiTextElement,
677
+ MergeHTMLProps<StrictDOMProps, TextNonStyleProps, TextNonStyleProps>,
678
+ TextStylePropsBase
679
+ >({
680
+ ...textStaticConfig,
681
+ Component: tag('s'),
682
+ displayName: 's',
683
+ defaultProps: {
684
+ ...textStaticConfig.defaultProps,
685
+ margin: 0,
686
+ padding: 0,
687
+ textDecorationLine: 'line-through',
688
+ },
689
+ })
690
+
691
+ const section = createComponent<
692
+ MergeHTMLProps<StrictDOMProps, ViewProps, StackNonStyleProps>,
693
+ TamaguiElement,
694
+ MergeHTMLProps<StrictDOMProps, StackNonStyleProps, StackNonStyleProps>,
695
+ StackStyleBase
696
+ >({
697
+ ...viewStaticConfig,
698
+ Component: tag('section'),
699
+ displayName: 'section',
700
+ defaultProps: { ...viewStaticConfig.defaultProps, margin: 0, padding: 0 },
701
+ })
702
+
703
+ const select = createComponent<
704
+ MergeHTMLProps<StrictDOMSelectProps, ViewProps, StackNonStyleProps>,
705
+ TamaguiElement,
706
+ MergeHTMLProps<StrictDOMSelectProps, StackNonStyleProps, StackNonStyleProps>,
707
+ StackStyleBase
708
+ >({
709
+ ...viewStaticConfig,
710
+ Component: tag('select'),
711
+ displayName: 'select',
712
+ defaultProps: {
713
+ ...viewStaticConfig.defaultProps,
714
+ margin: 0,
715
+ padding: 0,
716
+ borderStyle: 'solid',
717
+ },
718
+ })
719
+
720
+ const span = createComponent<
721
+ MergeHTMLProps<StrictDOMProps, TextProps, TextNonStyleProps>,
722
+ TamaguiTextElement,
723
+ MergeHTMLProps<StrictDOMProps, TextNonStyleProps, TextNonStyleProps>,
724
+ TextStylePropsBase
725
+ >({
726
+ ...textStaticConfig,
727
+ Component: tag('span'),
728
+ displayName: 'span',
729
+ defaultProps: {
730
+ ...textStaticConfig.defaultProps,
731
+ margin: 0,
732
+ padding: 0,
733
+ textDecorationLine: 'none',
734
+ },
735
+ })
736
+
737
+ const strong = createComponent<
738
+ MergeHTMLProps<StrictDOMProps, TextProps, TextNonStyleProps>,
739
+ TamaguiTextElement,
740
+ MergeHTMLProps<StrictDOMProps, TextNonStyleProps, TextNonStyleProps>,
741
+ TextStylePropsBase
742
+ >({
743
+ ...textStaticConfig,
744
+ Component: tag('strong'),
745
+ displayName: 'strong',
746
+ defaultProps: {
747
+ ...textStaticConfig.defaultProps,
748
+ margin: 0,
749
+ padding: 0,
750
+ textDecorationLine: 'none',
751
+ fontWeight: 'bold',
752
+ },
753
+ })
754
+
755
+ const sub = createComponent<
756
+ MergeHTMLProps<StrictDOMProps, TextProps, TextNonStyleProps>,
757
+ TamaguiTextElement,
758
+ MergeHTMLProps<StrictDOMProps, TextNonStyleProps, TextNonStyleProps>,
759
+ TextStylePropsBase
760
+ >({
761
+ ...textStaticConfig,
762
+ Component: tag('sub'),
763
+ displayName: 'sub',
764
+ defaultProps: {
765
+ ...textStaticConfig.defaultProps,
766
+ margin: 0,
767
+ padding: 0,
768
+ textDecorationLine: 'none',
769
+ },
770
+ })
771
+
772
+ const sup = createComponent<
773
+ MergeHTMLProps<StrictDOMProps, TextProps, TextNonStyleProps>,
774
+ TamaguiTextElement,
775
+ MergeHTMLProps<StrictDOMProps, TextNonStyleProps, TextNonStyleProps>,
776
+ TextStylePropsBase
777
+ >({
778
+ ...textStaticConfig,
779
+ Component: tag('sup'),
780
+ displayName: 'sup',
781
+ defaultProps: {
782
+ ...textStaticConfig.defaultProps,
783
+ margin: 0,
784
+ padding: 0,
785
+ textDecorationLine: 'none',
786
+ },
787
+ })
788
+
789
+ const textarea = createComponent<
790
+ MergeHTMLProps<StrictDOMTextAreaProps, TextProps, TextNonStyleProps>,
791
+ TamaguiTextElement,
792
+ MergeHTMLProps<StrictDOMTextAreaProps, TextNonStyleProps, TextNonStyleProps>,
793
+ TextStylePropsBase
794
+ >({
795
+ ...textStaticConfig,
796
+ Component: tag('textarea'),
797
+ displayName: 'textarea',
798
+ isInput: true,
799
+ defaultProps: {
800
+ ...textStaticConfig.defaultProps,
801
+ margin: 0,
802
+ padding: 0,
803
+ borderStyle: 'solid',
804
+ borderWidth: 1,
805
+ },
806
+ })
807
+
808
+ const u = createComponent<
809
+ MergeHTMLProps<StrictDOMProps, TextProps, TextNonStyleProps>,
810
+ TamaguiTextElement,
811
+ MergeHTMLProps<StrictDOMProps, TextNonStyleProps, TextNonStyleProps>,
812
+ TextStylePropsBase
813
+ >({
814
+ ...textStaticConfig,
815
+ Component: tag('u'),
816
+ displayName: 'u',
817
+ defaultProps: {
818
+ ...textStaticConfig.defaultProps,
819
+ margin: 0,
820
+ padding: 0,
821
+ textDecorationLine: 'underline',
822
+ },
823
+ })
824
+
825
+ const ul = createComponent<
826
+ MergeHTMLProps<StrictDOMProps, ViewProps, StackNonStyleProps>,
827
+ TamaguiElement,
828
+ MergeHTMLProps<StrictDOMProps, StackNonStyleProps, StackNonStyleProps>,
829
+ StackStyleBase
830
+ >({
831
+ ...viewStaticConfig,
832
+ Component: tag('ul'),
833
+ displayName: 'ul',
834
+ defaultProps: { ...viewStaticConfig.defaultProps, margin: 0, padding: 0 },
835
+ })
935
836
 
936
837
  export const html = {
937
838
  a,