@shadow-js/web 0.0.0-stage → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (611) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/LICENSE +21 -0
  3. package/README.md +190 -2
  4. package/dist/dev/attributes.d.ts +90 -0
  5. package/dist/dev/attributes.js +196 -0
  6. package/dist/dev/attributes.js.map +1 -0
  7. package/dist/dev/autofocus.d.ts +32 -0
  8. package/dist/dev/autofocus.js +45 -0
  9. package/dist/dev/autofocus.js.map +1 -0
  10. package/dist/dev/class-style.d.ts +89 -0
  11. package/dist/dev/class-style.js +197 -0
  12. package/dist/dev/class-style.js.map +1 -0
  13. package/dist/dev/component.d.ts +23 -0
  14. package/dist/dev/component.js +42 -0
  15. package/dist/dev/component.js.map +1 -0
  16. package/dist/dev/control-flow/activity.d.ts +58 -0
  17. package/dist/dev/control-flow/activity.js +136 -0
  18. package/dist/dev/control-flow/activity.js.map +1 -0
  19. package/dist/dev/control-flow/branch.js +104 -0
  20. package/dist/dev/control-flow/branch.js.map +1 -0
  21. package/dist/dev/control-flow/client-only.d.ts +48 -0
  22. package/dist/dev/control-flow/client-only.js +50 -0
  23. package/dist/dev/control-flow/client-only.js.map +1 -0
  24. package/dist/dev/control-flow/dynamic.d.ts +82 -0
  25. package/dist/dev/control-flow/dynamic.js +134 -0
  26. package/dist/dev/control-flow/dynamic.js.map +1 -0
  27. package/dist/dev/control-flow/error-boundary.d.ts +72 -0
  28. package/dist/dev/control-flow/error-boundary.js +115 -0
  29. package/dist/dev/control-flow/error-boundary.js.map +1 -0
  30. package/dist/dev/control-flow/for.d.ts +80 -0
  31. package/dist/dev/control-flow/for.js +23 -0
  32. package/dist/dev/control-flow/for.js.map +1 -0
  33. package/dist/dev/control-flow/fragment.d.ts +38 -0
  34. package/dist/dev/control-flow/fragment.js +31 -0
  35. package/dist/dev/control-flow/fragment.js.map +1 -0
  36. package/dist/dev/control-flow/hot-link.js +64 -0
  37. package/dist/dev/control-flow/hot-link.js.map +1 -0
  38. package/dist/dev/control-flow/index-list.d.ts +48 -0
  39. package/dist/dev/control-flow/index-list.js +31 -0
  40. package/dist/dev/control-flow/index-list.js.map +1 -0
  41. package/dist/dev/control-flow/index.d.ts +15 -0
  42. package/dist/dev/control-flow/lazy.d.ts +58 -0
  43. package/dist/dev/control-flow/lazy.js +64 -0
  44. package/dist/dev/control-flow/lazy.js.map +1 -0
  45. package/dist/dev/control-flow/no-hydration.d.ts +39 -0
  46. package/dist/dev/control-flow/no-hydration.js +58 -0
  47. package/dist/dev/control-flow/no-hydration.js.map +1 -0
  48. package/dist/dev/control-flow/portal.d.ts +69 -0
  49. package/dist/dev/control-flow/portal.js +134 -0
  50. package/dist/dev/control-flow/portal.js.map +1 -0
  51. package/dist/dev/control-flow/root-errors.d.ts +25 -0
  52. package/dist/dev/control-flow/root-errors.js +33 -0
  53. package/dist/dev/control-flow/root-errors.js.map +1 -0
  54. package/dist/dev/control-flow/show.d.ts +101 -0
  55. package/dist/dev/control-flow/show.js +18 -0
  56. package/dist/dev/control-flow/show.js.map +1 -0
  57. package/dist/dev/control-flow/suspense-list.d.ts +65 -0
  58. package/dist/dev/control-flow/suspense-list.js +105 -0
  59. package/dist/dev/control-flow/suspense-list.js.map +1 -0
  60. package/dist/dev/control-flow/suspense.d.ts +53 -0
  61. package/dist/dev/control-flow/suspense.js +102 -0
  62. package/dist/dev/control-flow/suspense.js.map +1 -0
  63. package/dist/dev/control-flow/switch.d.ts +85 -0
  64. package/dist/dev/control-flow/switch.js +90 -0
  65. package/dist/dev/control-flow/switch.js.map +1 -0
  66. package/dist/dev/derived.d.ts +52 -0
  67. package/dist/dev/derived.js +34 -0
  68. package/dist/dev/derived.js.map +1 -0
  69. package/dist/dev/element.d.ts +40 -0
  70. package/dist/dev/element.js +105 -0
  71. package/dist/dev/element.js.map +1 -0
  72. package/dist/dev/events.d.ts +87 -0
  73. package/dist/dev/events.js +265 -0
  74. package/dist/dev/events.js.map +1 -0
  75. package/dist/dev/extend.d.ts +12 -0
  76. package/dist/dev/extend.js +12 -0
  77. package/dist/dev/head/components.d.ts +137 -0
  78. package/dist/dev/head/components.js +170 -0
  79. package/dist/dev/head/components.js.map +1 -0
  80. package/dist/dev/head/registry.js +68 -0
  81. package/dist/dev/head/registry.js.map +1 -0
  82. package/dist/dev/head/server-head.d.ts +54 -0
  83. package/dist/dev/head/server-head.js +76 -0
  84. package/dist/dev/head/server-head.js.map +1 -0
  85. package/dist/dev/head/sink.js +96 -0
  86. package/dist/dev/head/sink.js.map +1 -0
  87. package/dist/dev/head/use-head.d.ts +35 -0
  88. package/dist/dev/head/use-head.js +84 -0
  89. package/dist/dev/head/use-head.js.map +1 -0
  90. package/dist/dev/head/validate.d.ts +85 -0
  91. package/dist/dev/head/validate.js +268 -0
  92. package/dist/dev/head/validate.js.map +1 -0
  93. package/dist/dev/hmr.d.ts +82 -0
  94. package/dist/dev/hmr.js +124 -0
  95. package/dist/dev/hmr.js.map +1 -0
  96. package/dist/dev/hydration.d.ts +61 -0
  97. package/dist/dev/hydration.js +120 -0
  98. package/dist/dev/hydration.js.map +1 -0
  99. package/dist/dev/index.d.ts +45 -0
  100. package/dist/dev/index.js +34 -0
  101. package/dist/dev/insert.d.ts +97 -0
  102. package/dist/dev/insert.js +357 -0
  103. package/dist/dev/insert.js.map +1 -0
  104. package/dist/dev/internal/claim.d.ts +106 -0
  105. package/dist/dev/internal/claim.js +357 -0
  106. package/dist/dev/internal/claim.js.map +1 -0
  107. package/dist/dev/internal/css-units.js +26 -0
  108. package/dist/dev/internal/css-units.js.map +1 -0
  109. package/dist/dev/internal/diagnostics.d.ts +30 -0
  110. package/dist/dev/internal/diagnostics.js +38 -0
  111. package/dist/dev/internal/diagnostics.js.map +1 -0
  112. package/dist/dev/internal/early-events.js +76 -0
  113. package/dist/dev/internal/early-events.js.map +1 -0
  114. package/dist/dev/internal/hydration-hooks.d.ts +43 -0
  115. package/dist/dev/internal/hydration-hooks.js +27 -0
  116. package/dist/dev/internal/hydration-hooks.js.map +1 -0
  117. package/dist/dev/internal/hydration-scope.d.ts +131 -0
  118. package/dist/dev/internal/hydration-scope.js +156 -0
  119. package/dist/dev/internal/hydration-scope.js.map +1 -0
  120. package/dist/dev/internal/names.d.ts +33 -0
  121. package/dist/dev/internal/names.js +35 -0
  122. package/dist/dev/internal/names.js.map +1 -0
  123. package/dist/dev/internal/portal-context.d.ts +39 -0
  124. package/dist/dev/internal/portal-context.js +28 -0
  125. package/dist/dev/internal/portal-context.js.map +1 -0
  126. package/dist/dev/internal/react-names.js +116 -0
  127. package/dist/dev/internal/react-names.js.map +1 -0
  128. package/dist/dev/internal/reconcile.d.ts +40 -0
  129. package/dist/dev/internal/reconcile.js +122 -0
  130. package/dist/dev/internal/reconcile.js.map +1 -0
  131. package/dist/dev/internal/stream-context.d.ts +47 -0
  132. package/dist/dev/internal/stream-context.js +23 -0
  133. package/dist/dev/internal/stream-context.js.map +1 -0
  134. package/dist/dev/jsx/aria.d.ts +72 -0
  135. package/dist/dev/jsx/component.d.ts +89 -0
  136. package/dist/dev/jsx/events.d.ts +364 -0
  137. package/dist/dev/jsx/global.d.ts +211 -0
  138. package/dist/dev/jsx/html.d.ts +879 -0
  139. package/dist/dev/jsx/intrinsic.d.ts +59 -0
  140. package/dist/dev/jsx/mathml.d.ts +186 -0
  141. package/dist/dev/jsx/svg.d.ts +607 -0
  142. package/dist/dev/jsx/types.d.ts +176 -0
  143. package/dist/dev/jsx-dev-runtime.d.ts +10 -0
  144. package/dist/dev/jsx-dev-runtime.js +0 -0
  145. package/dist/dev/jsx-runtime.d.ts +94 -0
  146. package/dist/dev/jsx-runtime.js +0 -0
  147. package/dist/dev/reactive.d.ts +110 -0
  148. package/dist/dev/reactive.js +85 -0
  149. package/dist/dev/reactive.js.map +1 -0
  150. package/dist/dev/render.d.ts +36 -0
  151. package/dist/dev/render.js +52 -0
  152. package/dist/dev/render.js.map +1 -0
  153. package/dist/dev/resource-hints.d.ts +145 -0
  154. package/dist/dev/resource-hints.js +200 -0
  155. package/dist/dev/resource-hints.js.map +1 -0
  156. package/dist/dev/select-value.d.ts +24 -0
  157. package/dist/dev/select-value.js +51 -0
  158. package/dist/dev/select-value.js.map +1 -0
  159. package/dist/dev/server/attributes.d.ts +33 -0
  160. package/dist/dev/server/attributes.js +155 -0
  161. package/dist/dev/server/attributes.js.map +1 -0
  162. package/dist/dev/server/class-style.d.ts +46 -0
  163. package/dist/dev/server/class-style.js +173 -0
  164. package/dist/dev/server/class-style.js.map +1 -0
  165. package/dist/dev/server/component.d.ts +42 -0
  166. package/dist/dev/server/component.js +72 -0
  167. package/dist/dev/server/component.js.map +1 -0
  168. package/dist/dev/server/derived.d.ts +41 -0
  169. package/dist/dev/server/derived.js +26 -0
  170. package/dist/dev/server/derived.js.map +1 -0
  171. package/dist/dev/server/element.d.ts +89 -0
  172. package/dist/dev/server/element.js +216 -0
  173. package/dist/dev/server/element.js.map +1 -0
  174. package/dist/dev/server/errors.js +26 -0
  175. package/dist/dev/server/errors.js.map +1 -0
  176. package/dist/dev/server/escape.d.ts +30 -0
  177. package/dist/dev/server/escape.js +119 -0
  178. package/dist/dev/server/escape.js.map +1 -0
  179. package/dist/dev/server/form-controls.d.ts +50 -0
  180. package/dist/dev/server/form-controls.js +193 -0
  181. package/dist/dev/server/form-controls.js.map +1 -0
  182. package/dist/dev/server/hydration-script.d.ts +65 -0
  183. package/dist/dev/server/hydration-script.js +59 -0
  184. package/dist/dev/server/hydration-script.js.map +1 -0
  185. package/dist/dev/server/index.d.ts +16 -0
  186. package/dist/dev/server/index.js +16 -0
  187. package/dist/dev/server/node.d.ts +13 -0
  188. package/dist/dev/server/node.js +21 -0
  189. package/dist/dev/server/node.js.map +1 -0
  190. package/dist/dev/server/portals.d.ts +46 -0
  191. package/dist/dev/server/portals.js +99 -0
  192. package/dist/dev/server/portals.js.map +1 -0
  193. package/dist/dev/server/render.d.ts +129 -0
  194. package/dist/dev/server/render.js +256 -0
  195. package/dist/dev/server/render.js.map +1 -0
  196. package/dist/dev/server/serialize.d.ts +45 -0
  197. package/dist/dev/server/serialize.js +315 -0
  198. package/dist/dev/server/serialize.js.map +1 -0
  199. package/dist/dev/server/stream.d.ts +94 -0
  200. package/dist/dev/server/stream.js +235 -0
  201. package/dist/dev/server/stream.js.map +1 -0
  202. package/dist/dev/server.d.ts +16 -0
  203. package/dist/dev/server.js +16 -0
  204. package/dist/dev/spread.d.ts +49 -0
  205. package/dist/dev/spread.js +296 -0
  206. package/dist/dev/spread.js.map +1 -0
  207. package/dist/dev/template.d.ts +26 -0
  208. package/dist/dev/template.js +120 -0
  209. package/dist/dev/template.js.map +1 -0
  210. package/dist/dev/view-transition.d.ts +97 -0
  211. package/dist/dev/view-transition.js +121 -0
  212. package/dist/dev/view-transition.js.map +1 -0
  213. package/dist/prod/attributes.js +2 -0
  214. package/dist/prod/attributes.js.map +1 -0
  215. package/dist/prod/autofocus.js +2 -0
  216. package/dist/prod/autofocus.js.map +1 -0
  217. package/dist/prod/class-style.js +2 -0
  218. package/dist/prod/class-style.js.map +1 -0
  219. package/dist/prod/component.js +2 -0
  220. package/dist/prod/component.js.map +1 -0
  221. package/dist/prod/control-flow/activity.js +2 -0
  222. package/dist/prod/control-flow/activity.js.map +1 -0
  223. package/dist/prod/control-flow/branch.js +2 -0
  224. package/dist/prod/control-flow/branch.js.map +1 -0
  225. package/dist/prod/control-flow/client-only.js +2 -0
  226. package/dist/prod/control-flow/client-only.js.map +1 -0
  227. package/dist/prod/control-flow/dynamic.js +2 -0
  228. package/dist/prod/control-flow/dynamic.js.map +1 -0
  229. package/dist/prod/control-flow/error-boundary.js +2 -0
  230. package/dist/prod/control-flow/error-boundary.js.map +1 -0
  231. package/dist/prod/control-flow/for.js +2 -0
  232. package/dist/prod/control-flow/for.js.map +1 -0
  233. package/dist/prod/control-flow/fragment.js +2 -0
  234. package/dist/prod/control-flow/fragment.js.map +1 -0
  235. package/dist/prod/control-flow/hot-link.js +2 -0
  236. package/dist/prod/control-flow/hot-link.js.map +1 -0
  237. package/dist/prod/control-flow/index-list.js +2 -0
  238. package/dist/prod/control-flow/index-list.js.map +1 -0
  239. package/dist/prod/control-flow/lazy.js +2 -0
  240. package/dist/prod/control-flow/lazy.js.map +1 -0
  241. package/dist/prod/control-flow/no-hydration.js +2 -0
  242. package/dist/prod/control-flow/no-hydration.js.map +1 -0
  243. package/dist/prod/control-flow/portal.js +2 -0
  244. package/dist/prod/control-flow/portal.js.map +1 -0
  245. package/dist/prod/control-flow/root-errors.js +2 -0
  246. package/dist/prod/control-flow/root-errors.js.map +1 -0
  247. package/dist/prod/control-flow/show.js +2 -0
  248. package/dist/prod/control-flow/show.js.map +1 -0
  249. package/dist/prod/control-flow/suspense-list.js +2 -0
  250. package/dist/prod/control-flow/suspense-list.js.map +1 -0
  251. package/dist/prod/control-flow/suspense.js +2 -0
  252. package/dist/prod/control-flow/suspense.js.map +1 -0
  253. package/dist/prod/control-flow/switch.js +2 -0
  254. package/dist/prod/control-flow/switch.js.map +1 -0
  255. package/dist/prod/derived.js +2 -0
  256. package/dist/prod/derived.js.map +1 -0
  257. package/dist/prod/element.js +2 -0
  258. package/dist/prod/element.js.map +1 -0
  259. package/dist/prod/events.js +2 -0
  260. package/dist/prod/events.js.map +1 -0
  261. package/dist/prod/extend.js +1 -0
  262. package/dist/prod/head/components.js +2 -0
  263. package/dist/prod/head/components.js.map +1 -0
  264. package/dist/prod/head/registry.js +2 -0
  265. package/dist/prod/head/registry.js.map +1 -0
  266. package/dist/prod/head/server-head.js +2 -0
  267. package/dist/prod/head/server-head.js.map +1 -0
  268. package/dist/prod/head/sink.js +2 -0
  269. package/dist/prod/head/sink.js.map +1 -0
  270. package/dist/prod/head/use-head.js +2 -0
  271. package/dist/prod/head/use-head.js.map +1 -0
  272. package/dist/prod/head/validate.js +2 -0
  273. package/dist/prod/head/validate.js.map +1 -0
  274. package/dist/prod/hmr.js +2 -0
  275. package/dist/prod/hmr.js.map +1 -0
  276. package/dist/prod/hydration.js +2 -0
  277. package/dist/prod/hydration.js.map +1 -0
  278. package/dist/prod/index.js +1 -0
  279. package/dist/prod/insert.js +2 -0
  280. package/dist/prod/insert.js.map +1 -0
  281. package/dist/prod/internal/claim.js +2 -0
  282. package/dist/prod/internal/claim.js.map +1 -0
  283. package/dist/prod/internal/css-units.js +2 -0
  284. package/dist/prod/internal/css-units.js.map +1 -0
  285. package/dist/prod/internal/diagnostics.js +2 -0
  286. package/dist/prod/internal/diagnostics.js.map +1 -0
  287. package/dist/prod/internal/early-events.js +2 -0
  288. package/dist/prod/internal/early-events.js.map +1 -0
  289. package/dist/prod/internal/hydration-hooks.js +2 -0
  290. package/dist/prod/internal/hydration-hooks.js.map +1 -0
  291. package/dist/prod/internal/hydration-scope.js +2 -0
  292. package/dist/prod/internal/hydration-scope.js.map +1 -0
  293. package/dist/prod/internal/names.js +2 -0
  294. package/dist/prod/internal/names.js.map +1 -0
  295. package/dist/prod/internal/portal-context.js +2 -0
  296. package/dist/prod/internal/portal-context.js.map +1 -0
  297. package/dist/prod/internal/react-names.js +2 -0
  298. package/dist/prod/internal/react-names.js.map +1 -0
  299. package/dist/prod/internal/reconcile.js +2 -0
  300. package/dist/prod/internal/reconcile.js.map +1 -0
  301. package/dist/prod/internal/stream-context.js +2 -0
  302. package/dist/prod/internal/stream-context.js.map +1 -0
  303. package/dist/prod/jsx-dev-runtime.js +0 -0
  304. package/dist/prod/jsx-runtime.js +0 -0
  305. package/dist/prod/reactive.js +2 -0
  306. package/dist/prod/reactive.js.map +1 -0
  307. package/dist/prod/render.js +2 -0
  308. package/dist/prod/render.js.map +1 -0
  309. package/dist/prod/resource-hints.js +2 -0
  310. package/dist/prod/resource-hints.js.map +1 -0
  311. package/dist/prod/select-value.js +2 -0
  312. package/dist/prod/select-value.js.map +1 -0
  313. package/dist/prod/server/attributes.js +2 -0
  314. package/dist/prod/server/attributes.js.map +1 -0
  315. package/dist/prod/server/class-style.js +2 -0
  316. package/dist/prod/server/class-style.js.map +1 -0
  317. package/dist/prod/server/component.js +2 -0
  318. package/dist/prod/server/component.js.map +1 -0
  319. package/dist/prod/server/derived.js +2 -0
  320. package/dist/prod/server/derived.js.map +1 -0
  321. package/dist/prod/server/element.js +2 -0
  322. package/dist/prod/server/element.js.map +1 -0
  323. package/dist/prod/server/errors.js +2 -0
  324. package/dist/prod/server/errors.js.map +1 -0
  325. package/dist/prod/server/escape.js +2 -0
  326. package/dist/prod/server/escape.js.map +1 -0
  327. package/dist/prod/server/form-controls.js +3 -0
  328. package/dist/prod/server/form-controls.js.map +1 -0
  329. package/dist/prod/server/hydration-script.js +2 -0
  330. package/dist/prod/server/hydration-script.js.map +1 -0
  331. package/dist/prod/server/index.js +1 -0
  332. package/dist/prod/server/node.js +2 -0
  333. package/dist/prod/server/node.js.map +1 -0
  334. package/dist/prod/server/portals.js +2 -0
  335. package/dist/prod/server/portals.js.map +1 -0
  336. package/dist/prod/server/render.js +2 -0
  337. package/dist/prod/server/render.js.map +1 -0
  338. package/dist/prod/server/serialize.js +2 -0
  339. package/dist/prod/server/serialize.js.map +1 -0
  340. package/dist/prod/server/stream.js +2 -0
  341. package/dist/prod/server/stream.js.map +1 -0
  342. package/dist/prod/server.js +1 -0
  343. package/dist/prod/spread.js +2 -0
  344. package/dist/prod/spread.js.map +1 -0
  345. package/dist/prod/template.js +2 -0
  346. package/dist/prod/template.js.map +1 -0
  347. package/dist/prod/view-transition.js +2 -0
  348. package/dist/prod/view-transition.js.map +1 -0
  349. package/dist/server/attributes.js +2 -0
  350. package/dist/server/attributes.js.map +1 -0
  351. package/dist/server/autofocus.js +2 -0
  352. package/dist/server/autofocus.js.map +1 -0
  353. package/dist/server/class-style.js +2 -0
  354. package/dist/server/class-style.js.map +1 -0
  355. package/dist/server/component.js +2 -0
  356. package/dist/server/component.js.map +1 -0
  357. package/dist/server/control-flow/activity.js +2 -0
  358. package/dist/server/control-flow/activity.js.map +1 -0
  359. package/dist/server/control-flow/branch.js +2 -0
  360. package/dist/server/control-flow/branch.js.map +1 -0
  361. package/dist/server/control-flow/client-only.js +2 -0
  362. package/dist/server/control-flow/client-only.js.map +1 -0
  363. package/dist/server/control-flow/dynamic.js +2 -0
  364. package/dist/server/control-flow/dynamic.js.map +1 -0
  365. package/dist/server/control-flow/error-boundary.js +2 -0
  366. package/dist/server/control-flow/error-boundary.js.map +1 -0
  367. package/dist/server/control-flow/for.js +2 -0
  368. package/dist/server/control-flow/for.js.map +1 -0
  369. package/dist/server/control-flow/fragment.js +2 -0
  370. package/dist/server/control-flow/fragment.js.map +1 -0
  371. package/dist/server/control-flow/index-list.js +2 -0
  372. package/dist/server/control-flow/index-list.js.map +1 -0
  373. package/dist/server/control-flow/lazy.js +2 -0
  374. package/dist/server/control-flow/lazy.js.map +1 -0
  375. package/dist/server/control-flow/no-hydration.js +2 -0
  376. package/dist/server/control-flow/no-hydration.js.map +1 -0
  377. package/dist/server/control-flow/portal.js +2 -0
  378. package/dist/server/control-flow/portal.js.map +1 -0
  379. package/dist/server/control-flow/root-errors.js +2 -0
  380. package/dist/server/control-flow/root-errors.js.map +1 -0
  381. package/dist/server/control-flow/show.js +2 -0
  382. package/dist/server/control-flow/show.js.map +1 -0
  383. package/dist/server/control-flow/suspense-list.js +2 -0
  384. package/dist/server/control-flow/suspense-list.js.map +1 -0
  385. package/dist/server/control-flow/suspense.js +2 -0
  386. package/dist/server/control-flow/suspense.js.map +1 -0
  387. package/dist/server/control-flow/switch.js +2 -0
  388. package/dist/server/control-flow/switch.js.map +1 -0
  389. package/dist/server/derived.js +2 -0
  390. package/dist/server/derived.js.map +1 -0
  391. package/dist/server/element.js +2 -0
  392. package/dist/server/element.js.map +1 -0
  393. package/dist/server/events.js +2 -0
  394. package/dist/server/events.js.map +1 -0
  395. package/dist/server/extend.js +1 -0
  396. package/dist/server/head/components.js +2 -0
  397. package/dist/server/head/components.js.map +1 -0
  398. package/dist/server/head/registry.js +2 -0
  399. package/dist/server/head/registry.js.map +1 -0
  400. package/dist/server/head/server-head.js +2 -0
  401. package/dist/server/head/server-head.js.map +1 -0
  402. package/dist/server/head/sink.js +2 -0
  403. package/dist/server/head/sink.js.map +1 -0
  404. package/dist/server/head/use-head.js +2 -0
  405. package/dist/server/head/use-head.js.map +1 -0
  406. package/dist/server/head/validate.js +2 -0
  407. package/dist/server/head/validate.js.map +1 -0
  408. package/dist/server/hydration.js +2 -0
  409. package/dist/server/hydration.js.map +1 -0
  410. package/dist/server/index.js +1 -0
  411. package/dist/server/insert.js +2 -0
  412. package/dist/server/insert.js.map +1 -0
  413. package/dist/server/internal/claim.js +2 -0
  414. package/dist/server/internal/claim.js.map +1 -0
  415. package/dist/server/internal/css-units.js +2 -0
  416. package/dist/server/internal/css-units.js.map +1 -0
  417. package/dist/server/internal/diagnostics.js +2 -0
  418. package/dist/server/internal/diagnostics.js.map +1 -0
  419. package/dist/server/internal/early-events.js +2 -0
  420. package/dist/server/internal/early-events.js.map +1 -0
  421. package/dist/server/internal/hydration-hooks.js +2 -0
  422. package/dist/server/internal/hydration-hooks.js.map +1 -0
  423. package/dist/server/internal/hydration-scope.js +2 -0
  424. package/dist/server/internal/hydration-scope.js.map +1 -0
  425. package/dist/server/internal/names.js +2 -0
  426. package/dist/server/internal/names.js.map +1 -0
  427. package/dist/server/internal/portal-context.js +2 -0
  428. package/dist/server/internal/portal-context.js.map +1 -0
  429. package/dist/server/internal/react-names.js +2 -0
  430. package/dist/server/internal/react-names.js.map +1 -0
  431. package/dist/server/internal/reconcile.js +2 -0
  432. package/dist/server/internal/reconcile.js.map +1 -0
  433. package/dist/server/internal/stream-context.js +2 -0
  434. package/dist/server/internal/stream-context.js.map +1 -0
  435. package/dist/server/reactive.js +2 -0
  436. package/dist/server/reactive.js.map +1 -0
  437. package/dist/server/render.js +2 -0
  438. package/dist/server/render.js.map +1 -0
  439. package/dist/server/resource-hints.js +2 -0
  440. package/dist/server/resource-hints.js.map +1 -0
  441. package/dist/server/select-value.js +2 -0
  442. package/dist/server/select-value.js.map +1 -0
  443. package/dist/server/server/attributes.js +2 -0
  444. package/dist/server/server/attributes.js.map +1 -0
  445. package/dist/server/server/class-style.js +2 -0
  446. package/dist/server/server/class-style.js.map +1 -0
  447. package/dist/server/server/component.js +2 -0
  448. package/dist/server/server/component.js.map +1 -0
  449. package/dist/server/server/derived.js +2 -0
  450. package/dist/server/server/derived.js.map +1 -0
  451. package/dist/server/server/element.js +2 -0
  452. package/dist/server/server/element.js.map +1 -0
  453. package/dist/server/server/errors.js +2 -0
  454. package/dist/server/server/errors.js.map +1 -0
  455. package/dist/server/server/escape.js +2 -0
  456. package/dist/server/server/escape.js.map +1 -0
  457. package/dist/server/server/form-controls.js +3 -0
  458. package/dist/server/server/form-controls.js.map +1 -0
  459. package/dist/server/server/hydration-script.js +2 -0
  460. package/dist/server/server/hydration-script.js.map +1 -0
  461. package/dist/server/server/index.js +1 -0
  462. package/dist/server/server/node.js +2 -0
  463. package/dist/server/server/node.js.map +1 -0
  464. package/dist/server/server/portals.js +2 -0
  465. package/dist/server/server/portals.js.map +1 -0
  466. package/dist/server/server/render.js +2 -0
  467. package/dist/server/server/render.js.map +1 -0
  468. package/dist/server/server/serialize.js +2 -0
  469. package/dist/server/server/serialize.js.map +1 -0
  470. package/dist/server/server/stream.js +2 -0
  471. package/dist/server/server/stream.js.map +1 -0
  472. package/dist/server/server.js +1 -0
  473. package/dist/server/spread.js +2 -0
  474. package/dist/server/spread.js.map +1 -0
  475. package/dist/server/template.js +2 -0
  476. package/dist/server/template.js.map +1 -0
  477. package/dist/server/view-transition.js +2 -0
  478. package/dist/server/view-transition.js.map +1 -0
  479. package/dist/server-dev/attributes.js +196 -0
  480. package/dist/server-dev/attributes.js.map +1 -0
  481. package/dist/server-dev/autofocus.js +45 -0
  482. package/dist/server-dev/autofocus.js.map +1 -0
  483. package/dist/server-dev/class-style.js +197 -0
  484. package/dist/server-dev/class-style.js.map +1 -0
  485. package/dist/server-dev/component.js +42 -0
  486. package/dist/server-dev/component.js.map +1 -0
  487. package/dist/server-dev/control-flow/activity.js +41 -0
  488. package/dist/server-dev/control-flow/activity.js.map +1 -0
  489. package/dist/server-dev/control-flow/branch.js +104 -0
  490. package/dist/server-dev/control-flow/branch.js.map +1 -0
  491. package/dist/server-dev/control-flow/client-only.js +50 -0
  492. package/dist/server-dev/control-flow/client-only.js.map +1 -0
  493. package/dist/server-dev/control-flow/dynamic.js +106 -0
  494. package/dist/server-dev/control-flow/dynamic.js.map +1 -0
  495. package/dist/server-dev/control-flow/error-boundary.js +115 -0
  496. package/dist/server-dev/control-flow/error-boundary.js.map +1 -0
  497. package/dist/server-dev/control-flow/for.js +23 -0
  498. package/dist/server-dev/control-flow/for.js.map +1 -0
  499. package/dist/server-dev/control-flow/fragment.js +31 -0
  500. package/dist/server-dev/control-flow/fragment.js.map +1 -0
  501. package/dist/server-dev/control-flow/hot-link.js +57 -0
  502. package/dist/server-dev/control-flow/hot-link.js.map +1 -0
  503. package/dist/server-dev/control-flow/index-list.js +31 -0
  504. package/dist/server-dev/control-flow/index-list.js.map +1 -0
  505. package/dist/server-dev/control-flow/lazy.js +64 -0
  506. package/dist/server-dev/control-flow/lazy.js.map +1 -0
  507. package/dist/server-dev/control-flow/no-hydration.js +40 -0
  508. package/dist/server-dev/control-flow/no-hydration.js.map +1 -0
  509. package/dist/server-dev/control-flow/portal.js +134 -0
  510. package/dist/server-dev/control-flow/portal.js.map +1 -0
  511. package/dist/server-dev/control-flow/root-errors.js +33 -0
  512. package/dist/server-dev/control-flow/root-errors.js.map +1 -0
  513. package/dist/server-dev/control-flow/show.js +18 -0
  514. package/dist/server-dev/control-flow/show.js.map +1 -0
  515. package/dist/server-dev/control-flow/suspense-list.js +100 -0
  516. package/dist/server-dev/control-flow/suspense-list.js.map +1 -0
  517. package/dist/server-dev/control-flow/suspense.js +119 -0
  518. package/dist/server-dev/control-flow/suspense.js.map +1 -0
  519. package/dist/server-dev/control-flow/switch.js +90 -0
  520. package/dist/server-dev/control-flow/switch.js.map +1 -0
  521. package/dist/server-dev/derived.js +34 -0
  522. package/dist/server-dev/derived.js.map +1 -0
  523. package/dist/server-dev/element.js +66 -0
  524. package/dist/server-dev/element.js.map +1 -0
  525. package/dist/server-dev/events.js +265 -0
  526. package/dist/server-dev/events.js.map +1 -0
  527. package/dist/server-dev/extend.js +12 -0
  528. package/dist/server-dev/head/components.js +170 -0
  529. package/dist/server-dev/head/components.js.map +1 -0
  530. package/dist/server-dev/head/registry.js +68 -0
  531. package/dist/server-dev/head/registry.js.map +1 -0
  532. package/dist/server-dev/head/server-head.js +76 -0
  533. package/dist/server-dev/head/server-head.js.map +1 -0
  534. package/dist/server-dev/head/sink.js +96 -0
  535. package/dist/server-dev/head/sink.js.map +1 -0
  536. package/dist/server-dev/head/use-head.js +84 -0
  537. package/dist/server-dev/head/use-head.js.map +1 -0
  538. package/dist/server-dev/head/validate.js +268 -0
  539. package/dist/server-dev/head/validate.js.map +1 -0
  540. package/dist/server-dev/hydration.js +120 -0
  541. package/dist/server-dev/hydration.js.map +1 -0
  542. package/dist/server-dev/index.js +34 -0
  543. package/dist/server-dev/insert.js +357 -0
  544. package/dist/server-dev/insert.js.map +1 -0
  545. package/dist/server-dev/internal/claim.js +357 -0
  546. package/dist/server-dev/internal/claim.js.map +1 -0
  547. package/dist/server-dev/internal/css-units.js +26 -0
  548. package/dist/server-dev/internal/css-units.js.map +1 -0
  549. package/dist/server-dev/internal/diagnostics.js +38 -0
  550. package/dist/server-dev/internal/diagnostics.js.map +1 -0
  551. package/dist/server-dev/internal/early-events.js +76 -0
  552. package/dist/server-dev/internal/early-events.js.map +1 -0
  553. package/dist/server-dev/internal/hydration-hooks.js +27 -0
  554. package/dist/server-dev/internal/hydration-hooks.js.map +1 -0
  555. package/dist/server-dev/internal/hydration-scope.js +156 -0
  556. package/dist/server-dev/internal/hydration-scope.js.map +1 -0
  557. package/dist/server-dev/internal/names.js +35 -0
  558. package/dist/server-dev/internal/names.js.map +1 -0
  559. package/dist/server-dev/internal/portal-context.js +28 -0
  560. package/dist/server-dev/internal/portal-context.js.map +1 -0
  561. package/dist/server-dev/internal/react-names.js +116 -0
  562. package/dist/server-dev/internal/react-names.js.map +1 -0
  563. package/dist/server-dev/internal/reconcile.js +122 -0
  564. package/dist/server-dev/internal/reconcile.js.map +1 -0
  565. package/dist/server-dev/internal/stream-context.js +23 -0
  566. package/dist/server-dev/internal/stream-context.js.map +1 -0
  567. package/dist/server-dev/reactive.js +85 -0
  568. package/dist/server-dev/reactive.js.map +1 -0
  569. package/dist/server-dev/render.js +52 -0
  570. package/dist/server-dev/render.js.map +1 -0
  571. package/dist/server-dev/resource-hints.js +200 -0
  572. package/dist/server-dev/resource-hints.js.map +1 -0
  573. package/dist/server-dev/select-value.js +51 -0
  574. package/dist/server-dev/select-value.js.map +1 -0
  575. package/dist/server-dev/server/attributes.js +155 -0
  576. package/dist/server-dev/server/attributes.js.map +1 -0
  577. package/dist/server-dev/server/class-style.js +173 -0
  578. package/dist/server-dev/server/class-style.js.map +1 -0
  579. package/dist/server-dev/server/component.js +72 -0
  580. package/dist/server-dev/server/component.js.map +1 -0
  581. package/dist/server-dev/server/derived.js +26 -0
  582. package/dist/server-dev/server/derived.js.map +1 -0
  583. package/dist/server-dev/server/element.js +216 -0
  584. package/dist/server-dev/server/element.js.map +1 -0
  585. package/dist/server-dev/server/errors.js +26 -0
  586. package/dist/server-dev/server/errors.js.map +1 -0
  587. package/dist/server-dev/server/escape.js +119 -0
  588. package/dist/server-dev/server/escape.js.map +1 -0
  589. package/dist/server-dev/server/form-controls.js +193 -0
  590. package/dist/server-dev/server/form-controls.js.map +1 -0
  591. package/dist/server-dev/server/hydration-script.js +59 -0
  592. package/dist/server-dev/server/hydration-script.js.map +1 -0
  593. package/dist/server-dev/server/index.js +16 -0
  594. package/dist/server-dev/server/node.js +21 -0
  595. package/dist/server-dev/server/node.js.map +1 -0
  596. package/dist/server-dev/server/portals.js +99 -0
  597. package/dist/server-dev/server/portals.js.map +1 -0
  598. package/dist/server-dev/server/render.js +256 -0
  599. package/dist/server-dev/server/render.js.map +1 -0
  600. package/dist/server-dev/server/serialize.js +315 -0
  601. package/dist/server-dev/server/serialize.js.map +1 -0
  602. package/dist/server-dev/server/stream.js +235 -0
  603. package/dist/server-dev/server/stream.js.map +1 -0
  604. package/dist/server-dev/server.js +16 -0
  605. package/dist/server-dev/spread.js +296 -0
  606. package/dist/server-dev/spread.js.map +1 -0
  607. package/dist/server-dev/template.js +120 -0
  608. package/dist/server-dev/template.js.map +1 -0
  609. package/dist/server-dev/view-transition.js +90 -0
  610. package/dist/server-dev/view-transition.js.map +1 -0
  611. package/package.json +136 -4
@@ -0,0 +1,607 @@
1
+ import { LooseString, Maybe } from "./types.js";
2
+ import { ElementProps, TextElementProps, VoidElementProps, WindowElementProps } from "./global.js";
3
+ //#region src/jsx/svg.d.ts
4
+ /** A length, coordinate, or other SVG number. Plain numbers are user units. @since 1.0.0 */
5
+ export type SvgValue = Maybe<number | string>;
6
+ /** Coordinate-system units of gradients, patterns, clip paths and masks. @since 1.0.0 */
7
+ export type SvgUnits = "userSpaceOnUse" | "objectBoundingBox";
8
+ /**
9
+ * Presentation attributes: CSS properties with an SVG attribute form. Accepted on every SVG element.
10
+ *
11
+ * @since 1.0.0
12
+ */
13
+ export interface SVGPresentationAttributes {
14
+ "alignment-baseline"?: SvgValue;
15
+ "baseline-shift"?: SvgValue;
16
+ clip?: SvgValue;
17
+ "clip-path"?: SvgValue;
18
+ "clip-rule"?: SvgValue;
19
+ color?: SvgValue;
20
+ "color-interpolation"?: SvgValue;
21
+ "color-interpolation-filters"?: SvgValue;
22
+ "color-rendering"?: SvgValue;
23
+ cursor?: SvgValue;
24
+ direction?: SvgValue;
25
+ display?: SvgValue;
26
+ "dominant-baseline"?: SvgValue;
27
+ fill?: SvgValue;
28
+ "fill-opacity"?: SvgValue;
29
+ "fill-rule"?: Maybe<"nonzero" | "evenodd" | "inherit">;
30
+ filter?: SvgValue;
31
+ "flood-color"?: SvgValue;
32
+ "flood-opacity"?: SvgValue;
33
+ "font-family"?: SvgValue;
34
+ "font-size"?: SvgValue;
35
+ "font-size-adjust"?: SvgValue;
36
+ "font-stretch"?: SvgValue;
37
+ "font-style"?: SvgValue;
38
+ "font-variant"?: SvgValue;
39
+ "font-weight"?: SvgValue;
40
+ "image-rendering"?: SvgValue;
41
+ isolation?: SvgValue;
42
+ "letter-spacing"?: SvgValue;
43
+ "lighting-color"?: SvgValue;
44
+ "marker-end"?: SvgValue;
45
+ "marker-mid"?: SvgValue;
46
+ "marker-start"?: SvgValue;
47
+ mask?: SvgValue;
48
+ "mix-blend-mode"?: SvgValue;
49
+ opacity?: SvgValue;
50
+ overflow?: SvgValue;
51
+ "paint-order"?: SvgValue;
52
+ "pointer-events"?: SvgValue;
53
+ "shape-rendering"?: SvgValue;
54
+ "stop-color"?: SvgValue;
55
+ "stop-opacity"?: SvgValue;
56
+ stroke?: SvgValue;
57
+ "stroke-dasharray"?: SvgValue;
58
+ "stroke-dashoffset"?: SvgValue;
59
+ "stroke-linecap"?: Maybe<"butt" | "round" | "square" | "inherit">;
60
+ "stroke-linejoin"?: Maybe<"miter" | "miter-clip" | "round" | "bevel" | "arcs" | "inherit">;
61
+ "stroke-miterlimit"?: SvgValue;
62
+ "stroke-opacity"?: SvgValue;
63
+ "stroke-width"?: SvgValue;
64
+ "text-anchor"?: SvgValue;
65
+ "text-decoration"?: SvgValue;
66
+ "text-overflow"?: SvgValue;
67
+ "text-rendering"?: SvgValue;
68
+ transform?: SvgValue;
69
+ "transform-origin"?: SvgValue;
70
+ "unicode-bidi"?: SvgValue;
71
+ "vector-effect"?: SvgValue;
72
+ visibility?: Maybe<"visible" | "hidden" | "collapse" | "inherit">;
73
+ "white-space"?: SvgValue;
74
+ "word-spacing"?: SvgValue;
75
+ "writing-mode"?: SvgValue;
76
+ }
77
+ /**
78
+ * React spellings of the presentation attributes above (`strokeWidth` for `stroke-width`). They are
79
+ * accepted for React compatibility: the compiler writes the hyphenated attribute, and each has the same
80
+ * type as the hyphenated name, which stays the canonical one.
81
+ *
82
+ * @since 1.0.0
83
+ */
84
+ export interface SVGReactPresentationAttributes {
85
+ /** React spelling of `alignment-baseline`. Accepted for React compatibility. */
86
+ alignmentBaseline?: SVGPresentationAttributes["alignment-baseline"];
87
+ /** React spelling of `baseline-shift`. Accepted for React compatibility. */
88
+ baselineShift?: SVGPresentationAttributes["baseline-shift"];
89
+ /** React spelling of `clip-path`. Accepted for React compatibility. */
90
+ clipPath?: SVGPresentationAttributes["clip-path"];
91
+ /** React spelling of `clip-rule`. Accepted for React compatibility. */
92
+ clipRule?: SVGPresentationAttributes["clip-rule"];
93
+ /** React spelling of `color-interpolation`. Accepted for React compatibility. */
94
+ colorInterpolation?: SVGPresentationAttributes["color-interpolation"];
95
+ /** React spelling of `color-interpolation-filters`. Accepted for React compatibility. */
96
+ colorInterpolationFilters?: SVGPresentationAttributes["color-interpolation-filters"];
97
+ /** React spelling of `color-rendering`. Accepted for React compatibility. */
98
+ colorRendering?: SVGPresentationAttributes["color-rendering"];
99
+ /** React spelling of `dominant-baseline`. Accepted for React compatibility. */
100
+ dominantBaseline?: SVGPresentationAttributes["dominant-baseline"];
101
+ /** React spelling of `fill-opacity`. Accepted for React compatibility. */
102
+ fillOpacity?: SVGPresentationAttributes["fill-opacity"];
103
+ /** React spelling of `fill-rule`. Accepted for React compatibility. */
104
+ fillRule?: SVGPresentationAttributes["fill-rule"];
105
+ /** React spelling of `flood-color`. Accepted for React compatibility. */
106
+ floodColor?: SVGPresentationAttributes["flood-color"];
107
+ /** React spelling of `flood-opacity`. Accepted for React compatibility. */
108
+ floodOpacity?: SVGPresentationAttributes["flood-opacity"];
109
+ /** React spelling of `font-family`. Accepted for React compatibility. */
110
+ fontFamily?: SVGPresentationAttributes["font-family"];
111
+ /** React spelling of `font-size`. Accepted for React compatibility. */
112
+ fontSize?: SVGPresentationAttributes["font-size"];
113
+ /** React spelling of `font-size-adjust`. Accepted for React compatibility. */
114
+ fontSizeAdjust?: SVGPresentationAttributes["font-size-adjust"];
115
+ /** React spelling of `font-stretch`. Accepted for React compatibility. */
116
+ fontStretch?: SVGPresentationAttributes["font-stretch"];
117
+ /** React spelling of `font-style`. Accepted for React compatibility. */
118
+ fontStyle?: SVGPresentationAttributes["font-style"];
119
+ /** React spelling of `font-variant`. Accepted for React compatibility. */
120
+ fontVariant?: SVGPresentationAttributes["font-variant"];
121
+ /** React spelling of `font-weight`. Accepted for React compatibility. */
122
+ fontWeight?: SVGPresentationAttributes["font-weight"];
123
+ /** React spelling of `image-rendering`. Accepted for React compatibility. */
124
+ imageRendering?: SVGPresentationAttributes["image-rendering"];
125
+ /** React spelling of `letter-spacing`. Accepted for React compatibility. */
126
+ letterSpacing?: SVGPresentationAttributes["letter-spacing"];
127
+ /** React spelling of `lighting-color`. Accepted for React compatibility. */
128
+ lightingColor?: SVGPresentationAttributes["lighting-color"];
129
+ /** React spelling of `marker-end`. Accepted for React compatibility. */
130
+ markerEnd?: SVGPresentationAttributes["marker-end"];
131
+ /** React spelling of `marker-mid`. Accepted for React compatibility. */
132
+ markerMid?: SVGPresentationAttributes["marker-mid"];
133
+ /** React spelling of `marker-start`. Accepted for React compatibility. */
134
+ markerStart?: SVGPresentationAttributes["marker-start"];
135
+ /** React spelling of `mix-blend-mode`. Accepted for React compatibility. */
136
+ mixBlendMode?: SVGPresentationAttributes["mix-blend-mode"];
137
+ /** React spelling of `paint-order`. Accepted for React compatibility. */
138
+ paintOrder?: SVGPresentationAttributes["paint-order"];
139
+ /** React spelling of `pointer-events`. Accepted for React compatibility. */
140
+ pointerEvents?: SVGPresentationAttributes["pointer-events"];
141
+ /** React spelling of `shape-rendering`. Accepted for React compatibility. */
142
+ shapeRendering?: SVGPresentationAttributes["shape-rendering"];
143
+ /** React spelling of `stop-color`. Accepted for React compatibility. */
144
+ stopColor?: SVGPresentationAttributes["stop-color"];
145
+ /** React spelling of `stop-opacity`. Accepted for React compatibility. */
146
+ stopOpacity?: SVGPresentationAttributes["stop-opacity"];
147
+ /** React spelling of `stroke-dasharray`. Accepted for React compatibility. */
148
+ strokeDasharray?: SVGPresentationAttributes["stroke-dasharray"];
149
+ /** React spelling of `stroke-dashoffset`. Accepted for React compatibility. */
150
+ strokeDashoffset?: SVGPresentationAttributes["stroke-dashoffset"];
151
+ /** React spelling of `stroke-linecap`. Accepted for React compatibility. */
152
+ strokeLinecap?: SVGPresentationAttributes["stroke-linecap"];
153
+ /** React spelling of `stroke-linejoin`. Accepted for React compatibility. */
154
+ strokeLinejoin?: SVGPresentationAttributes["stroke-linejoin"];
155
+ /** React spelling of `stroke-miterlimit`. Accepted for React compatibility. */
156
+ strokeMiterlimit?: SVGPresentationAttributes["stroke-miterlimit"];
157
+ /** React spelling of `stroke-opacity`. Accepted for React compatibility. */
158
+ strokeOpacity?: SVGPresentationAttributes["stroke-opacity"];
159
+ /** React spelling of `stroke-width`. Accepted for React compatibility. */
160
+ strokeWidth?: SVGPresentationAttributes["stroke-width"];
161
+ /** React spelling of `text-anchor`. Accepted for React compatibility. */
162
+ textAnchor?: SVGPresentationAttributes["text-anchor"];
163
+ /** React spelling of `text-decoration`. Accepted for React compatibility. */
164
+ textDecoration?: SVGPresentationAttributes["text-decoration"];
165
+ /** React spelling of `text-overflow`. Accepted for React compatibility. */
166
+ textOverflow?: SVGPresentationAttributes["text-overflow"];
167
+ /** React spelling of `text-rendering`. Accepted for React compatibility. */
168
+ textRendering?: SVGPresentationAttributes["text-rendering"];
169
+ /** React spelling of `transform-origin`. Accepted for React compatibility. */
170
+ transformOrigin?: SVGPresentationAttributes["transform-origin"];
171
+ /** React spelling of `unicode-bidi`. Accepted for React compatibility. */
172
+ unicodeBidi?: SVGPresentationAttributes["unicode-bidi"];
173
+ /** React spelling of `vector-effect`. Accepted for React compatibility. */
174
+ vectorEffect?: SVGPresentationAttributes["vector-effect"];
175
+ /** React spelling of `white-space`. Accepted for React compatibility. */
176
+ whiteSpace?: SVGPresentationAttributes["white-space"];
177
+ /** React spelling of `word-spacing`. Accepted for React compatibility. */
178
+ wordSpacing?: SVGPresentationAttributes["word-spacing"];
179
+ /** React spelling of `writing-mode`. Accepted for React compatibility. */
180
+ writingMode?: SVGPresentationAttributes["writing-mode"];
181
+ }
182
+ /**
183
+ * Attributes every SVG element accepts besides presentation attributes: identity, language and the
184
+ * `xml:` attributes the compiler passes through.
185
+ *
186
+ * @since 1.0.0
187
+ */
188
+ export interface SVGCoreAttributes {
189
+ "xml:lang"?: Maybe<string>;
190
+ "xml:space"?: Maybe<"default" | "preserve">;
191
+ /** React spelling of `xml:lang`. Accepted for React compatibility. */
192
+ xmlLang?: Maybe<string>;
193
+ /** React spelling of `xml:space`. Accepted for React compatibility. */
194
+ xmlSpace?: Maybe<"default" | "preserve">;
195
+ requiredExtensions?: Maybe<string>;
196
+ systemLanguage?: Maybe<string>;
197
+ }
198
+ /** Links through `href` and the legacy `xlink:href`. @since 1.0.0 */
199
+ export interface SVGHrefAttributes {
200
+ href?: Maybe<string>;
201
+ "xlink:href"?: Maybe<string>;
202
+ /** React spelling of `xlink:href`. Accepted for React compatibility. */
203
+ xlinkHref?: Maybe<string>;
204
+ }
205
+ /** Attributes of the root `svg` element. @since 1.0.0 */
206
+ export interface SVGRootAttributes {
207
+ xmlns?: Maybe<string>;
208
+ "xmlns:xlink"?: Maybe<string>;
209
+ baseProfile?: Maybe<string>;
210
+ contentScriptType?: Maybe<string>;
211
+ contentStyleType?: Maybe<string>;
212
+ height?: SvgValue;
213
+ preserveAspectRatio?: Maybe<string>;
214
+ version?: Maybe<string>;
215
+ viewBox?: Maybe<string>;
216
+ width?: SvgValue;
217
+ x?: SvgValue;
218
+ y?: SvgValue;
219
+ zoomAndPan?: Maybe<"disable" | "magnify">;
220
+ }
221
+ /** A rectangle box. @since 1.0.0 */
222
+ export interface SVGBoxAttributes {
223
+ height?: SvgValue;
224
+ width?: SvgValue;
225
+ x?: SvgValue;
226
+ y?: SvgValue;
227
+ }
228
+ /** The `viewBox` box and aspect-ratio rules. @since 1.0.0 */
229
+ export interface SVGViewportAttributes {
230
+ preserveAspectRatio?: Maybe<string>;
231
+ viewBox?: Maybe<string>;
232
+ }
233
+ /** Path length hint. @since 1.0.0 */
234
+ export interface SVGPathLengthAttributes {
235
+ pathLength?: SvgValue;
236
+ }
237
+ /** Text positioning. @since 1.0.0 */
238
+ export interface SVGTextPositionAttributes {
239
+ dx?: SvgValue;
240
+ dy?: SvgValue;
241
+ lengthAdjust?: Maybe<"spacing" | "spacingAndGlyphs">;
242
+ rotate?: SvgValue;
243
+ textLength?: SvgValue;
244
+ x?: SvgValue;
245
+ y?: SvgValue;
246
+ }
247
+ /** Gradient geometry shared by linear and radial gradients. @since 1.0.0 */
248
+ export interface SVGGradientAttributes extends SVGHrefAttributes {
249
+ gradientTransform?: Maybe<string>;
250
+ gradientUnits?: Maybe<SvgUnits>;
251
+ spreadMethod?: Maybe<"pad" | "reflect" | "repeat">;
252
+ }
253
+ /** Timing and value attributes of the SMIL animation elements. @since 1.0.0 */
254
+ export interface SVGAnimationAttributes extends SVGHrefAttributes {
255
+ accumulate?: Maybe<"none" | "sum">;
256
+ additive?: Maybe<"replace" | "sum">;
257
+ attributeName?: Maybe<string>;
258
+ attributeType?: Maybe<"CSS" | "XML" | "auto">;
259
+ begin?: Maybe<string>;
260
+ by?: Maybe<string>;
261
+ calcMode?: Maybe<"discrete" | "linear" | "paced" | "spline">;
262
+ dur?: Maybe<string>;
263
+ end?: Maybe<string>;
264
+ fill?: Maybe<"freeze" | "remove">;
265
+ from?: Maybe<string>;
266
+ keySplines?: Maybe<string>;
267
+ keyTimes?: Maybe<string>;
268
+ max?: Maybe<string>;
269
+ min?: Maybe<string>;
270
+ repeatCount?: Maybe<number | string>;
271
+ repeatDur?: Maybe<string>;
272
+ restart?: Maybe<"always" | "whenNotActive" | "never">;
273
+ to?: Maybe<string>;
274
+ values?: Maybe<number | string>;
275
+ }
276
+ /** Filter primitive inputs and results. @since 1.0.0 */
277
+ export interface SVGFilterPrimitiveAttributes extends SVGBoxAttributes {
278
+ in?: Maybe<LooseString<"SourceGraphic" | "SourceAlpha" | "BackgroundImage" | "BackgroundAlpha" | "FillPaint" | "StrokePaint">>;
279
+ result?: Maybe<string>;
280
+ }
281
+ /** Shared attributes of the `fe*` lighting elements. @since 1.0.0 */
282
+ export interface SVGLightingAttributes extends SVGFilterPrimitiveAttributes {
283
+ kernelUnitLength?: SvgValue;
284
+ }
285
+ /** Element-specific attributes for `a`. @since 1.0.0 */
286
+ export interface SVGAnchorAttributes extends SVGHrefAttributes {
287
+ download?: Maybe<string | boolean>;
288
+ hreflang?: Maybe<string>;
289
+ ping?: Maybe<string>;
290
+ referrerpolicy?: Maybe<string>;
291
+ rel?: Maybe<string>;
292
+ target?: Maybe<string>;
293
+ type?: Maybe<string>;
294
+ }
295
+ /** Element-specific attributes for `image`. @since 1.0.0 */
296
+ export interface SVGImageAttributes extends SVGHrefAttributes, SVGBoxAttributes, SVGViewportAttributes {
297
+ crossorigin?: Maybe<"anonymous" | "use-credentials" | "">;
298
+ }
299
+ /** Shared base for graphics elements: core plus transform. @since 1.0.0 */
300
+ export interface SVGGraphicsAttributes {
301
+ transform?: Maybe<string>;
302
+ }
303
+ /**
304
+ * Attribute maps for every SVG element, keyed by the SVG tag name.
305
+ *
306
+ * @since 1.0.0
307
+ */
308
+ export interface SVGIntrinsicElements {
309
+ /** The SVG `<a>` element: a hyperlink around SVG graphics. */
310
+ a: ElementProps<SVGElementTagNameMap["a"], SVGAnchorAttributes & SVGCoreAttributes & SVGPresentationAttributes & SVGReactPresentationAttributes & SVGGraphicsAttributes>;
311
+ /** The SVG `<animate>` element: an animation of one attribute over time. */
312
+ animate: VoidElementProps<SVGElementTagNameMap["animate"], SVGAnimationAttributes & SVGCoreAttributes & SVGPresentationAttributes & SVGReactPresentationAttributes>;
313
+ /** The SVG `<animateMotion>` element: an animation that moves an element along a path. */
314
+ animateMotion: ElementProps<SVGElementTagNameMap["animateMotion"], SVGAnimationAttributes & SVGCoreAttributes & {
315
+ path?: Maybe<string>;
316
+ keyPoints?: Maybe<string>;
317
+ origin?: Maybe<string>;
318
+ rotate?: Maybe<string>;
319
+ }>;
320
+ /** The SVG `<animateTransform>` element: an animation of a transform attribute. */
321
+ animateTransform: VoidElementProps<SVGElementTagNameMap["animateTransform"], SVGAnimationAttributes & SVGCoreAttributes & {
322
+ type?: Maybe<"translate" | "scale" | "rotate" | "skewX" | "skewY">;
323
+ }>;
324
+ /** The SVG `<circle>` element: a circle from a center and a radius. */
325
+ circle: ElementProps<SVGElementTagNameMap["circle"], SVGCoreAttributes & SVGPresentationAttributes & SVGReactPresentationAttributes & SVGGraphicsAttributes & SVGPathLengthAttributes & {
326
+ cx?: SvgValue;
327
+ cy?: SvgValue;
328
+ r?: SvgValue;
329
+ }>;
330
+ /** The SVG `<clipPath>` element: a clipping path that limits where paint applies. */
331
+ clipPath: ElementProps<SVGElementTagNameMap["clipPath"], SVGCoreAttributes & SVGPresentationAttributes & SVGReactPresentationAttributes & SVGGraphicsAttributes & {
332
+ clipPathUnits?: Maybe<SvgUnits>;
333
+ }>;
334
+ /** The SVG `<defs>` element: graphical objects defined for later use, not rendered directly. */
335
+ defs: ElementProps<SVGElementTagNameMap["defs"], SVGCoreAttributes & SVGPresentationAttributes & SVGReactPresentationAttributes & SVGGraphicsAttributes>;
336
+ /** The SVG `<desc>` element: an accessible description of its parent. */
337
+ desc: TextElementProps<SVGElementTagNameMap["desc"], SVGCoreAttributes & SVGPresentationAttributes & SVGReactPresentationAttributes>;
338
+ /** The SVG `<ellipse>` element: an ellipse from a center and two radii. */
339
+ ellipse: ElementProps<SVGElementTagNameMap["ellipse"], SVGCoreAttributes & SVGPresentationAttributes & SVGReactPresentationAttributes & SVGGraphicsAttributes & SVGPathLengthAttributes & {
340
+ cx?: SvgValue;
341
+ cy?: SvgValue;
342
+ rx?: SvgValue;
343
+ ry?: SvgValue;
344
+ }>;
345
+ /** The SVG `<feBlend>` element: a filter primitive that blends two inputs. */
346
+ feBlend: ElementProps<SVGElementTagNameMap["feBlend"], SVGCoreAttributes & SVGPresentationAttributes & SVGReactPresentationAttributes & SVGFilterPrimitiveAttributes & {
347
+ in2?: Maybe<string>;
348
+ mode?: Maybe<string>;
349
+ }>;
350
+ /** The SVG `<feColorMatrix>` element: a filter primitive that transforms colors with a matrix. */
351
+ feColorMatrix: ElementProps<SVGElementTagNameMap["feColorMatrix"], SVGCoreAttributes & SVGPresentationAttributes & SVGReactPresentationAttributes & SVGFilterPrimitiveAttributes & {
352
+ type?: Maybe<"matrix" | "saturate" | "hueRotate" | "luminanceToAlpha">;
353
+ values?: Maybe<number | string>;
354
+ }>;
355
+ /** The SVG `<feComponentTransfer>` element: a filter primitive that remaps each color channel. */
356
+ feComponentTransfer: ElementProps<SVGElementTagNameMap["feComponentTransfer"], SVGCoreAttributes & SVGPresentationAttributes & SVGReactPresentationAttributes & SVGFilterPrimitiveAttributes>;
357
+ /** The SVG `<feComposite>` element: a filter primitive that combines two inputs with a Porter-Duff operation. */
358
+ feComposite: ElementProps<SVGElementTagNameMap["feComposite"], SVGCoreAttributes & SVGPresentationAttributes & SVGReactPresentationAttributes & SVGFilterPrimitiveAttributes & {
359
+ in2?: Maybe<string>;
360
+ k1?: Maybe<number | string>;
361
+ k2?: Maybe<number | string>;
362
+ k3?: Maybe<number | string>;
363
+ k4?: Maybe<number | string>;
364
+ operator?: Maybe<"over" | "in" | "out" | "atop" | "xor" | "arithmetic">;
365
+ }>;
366
+ /** The SVG `<feConvolveMatrix>` element: a filter primitive that applies a convolution matrix. */
367
+ feConvolveMatrix: ElementProps<SVGElementTagNameMap["feConvolveMatrix"], SVGCoreAttributes & SVGPresentationAttributes & SVGReactPresentationAttributes & SVGFilterPrimitiveAttributes & {
368
+ bias?: Maybe<number | string>;
369
+ divisor?: Maybe<number | string>;
370
+ edgeMode?: Maybe<"duplicate" | "wrap" | "none">;
371
+ kernelMatrix?: Maybe<string>;
372
+ kernelUnitLength?: SvgValue;
373
+ order?: Maybe<number | string>;
374
+ preserveAlpha?: Maybe<"true" | "false">;
375
+ targetX?: Maybe<number | string>;
376
+ targetY?: Maybe<number | string>;
377
+ }>;
378
+ /** The SVG `<feDiffuseLighting>` element: a filter primitive that lights an image with diffuse lighting. */
379
+ feDiffuseLighting: ElementProps<SVGElementTagNameMap["feDiffuseLighting"], SVGCoreAttributes & SVGPresentationAttributes & SVGReactPresentationAttributes & SVGLightingAttributes & {
380
+ diffuseConstant?: Maybe<number | string>;
381
+ surfaceScale?: Maybe<number | string>;
382
+ }>;
383
+ /** The SVG `<feDisplacementMap>` element: a filter primitive that displaces pixels using a second input. */
384
+ feDisplacementMap: ElementProps<SVGElementTagNameMap["feDisplacementMap"], SVGCoreAttributes & SVGPresentationAttributes & SVGReactPresentationAttributes & SVGFilterPrimitiveAttributes & {
385
+ in2?: Maybe<string>;
386
+ scale?: Maybe<number | string>;
387
+ xChannelSelector?: Maybe<"R" | "G" | "B" | "A">;
388
+ yChannelSelector?: Maybe<"R" | "G" | "B" | "A">;
389
+ }>;
390
+ /** The SVG `<feDistantLight>` element: a distant light source for a lighting filter. */
391
+ feDistantLight: ElementProps<SVGElementTagNameMap["feDistantLight"], SVGCoreAttributes & {
392
+ azimuth?: Maybe<number | string>;
393
+ elevation?: Maybe<number | string>;
394
+ }>;
395
+ /** The SVG `<feDropShadow>` element: a filter primitive that draws a drop shadow. */
396
+ feDropShadow: ElementProps<SVGElementTagNameMap["feDropShadow"], SVGCoreAttributes & SVGPresentationAttributes & SVGReactPresentationAttributes & SVGFilterPrimitiveAttributes & {
397
+ dx?: Maybe<number | string>;
398
+ dy?: Maybe<number | string>;
399
+ stdDeviation?: Maybe<number | string>;
400
+ }>;
401
+ /** The SVG `<feFlood>` element: a filter primitive that fills the region with a color. */
402
+ feFlood: ElementProps<SVGElementTagNameMap["feFlood"], SVGCoreAttributes & SVGPresentationAttributes & SVGReactPresentationAttributes & SVGFilterPrimitiveAttributes>;
403
+ /** The SVG `<feFuncA>` element: the alpha transfer function of feComponentTransfer. */
404
+ feFuncA: ElementProps<SVGElementTagNameMap["feFuncA"], SVGCoreAttributes & SVGTransferFunctionAttributes>;
405
+ /** The SVG `<feFuncB>` element: the blue transfer function of feComponentTransfer. */
406
+ feFuncB: ElementProps<SVGElementTagNameMap["feFuncB"], SVGCoreAttributes & SVGTransferFunctionAttributes>;
407
+ /** The SVG `<feFuncG>` element: the green transfer function of feComponentTransfer. */
408
+ feFuncG: ElementProps<SVGElementTagNameMap["feFuncG"], SVGCoreAttributes & SVGTransferFunctionAttributes>;
409
+ /** The SVG `<feFuncR>` element: the red transfer function of feComponentTransfer. */
410
+ feFuncR: ElementProps<SVGElementTagNameMap["feFuncR"], SVGCoreAttributes & SVGTransferFunctionAttributes>;
411
+ /** The SVG `<feGaussianBlur>` element: a filter primitive that applies a Gaussian blur. */
412
+ feGaussianBlur: ElementProps<SVGElementTagNameMap["feGaussianBlur"], SVGCoreAttributes & SVGPresentationAttributes & SVGReactPresentationAttributes & SVGFilterPrimitiveAttributes & {
413
+ edgeMode?: Maybe<"duplicate" | "wrap" | "none">;
414
+ stdDeviation?: Maybe<number | string>;
415
+ }>;
416
+ /** The SVG `<feImage>` element: a filter primitive that renders an external image. */
417
+ feImage: ElementProps<SVGElementTagNameMap["feImage"], SVGCoreAttributes & SVGPresentationAttributes & SVGReactPresentationAttributes & SVGFilterPrimitiveAttributes & SVGHrefAttributes & {
418
+ crossorigin?: Maybe<"anonymous" | "use-credentials" | "">;
419
+ } & SVGViewportAttributes>;
420
+ /** The SVG `<feMerge>` element: a filter primitive that layers several inputs. */
421
+ feMerge: ElementProps<SVGElementTagNameMap["feMerge"], SVGCoreAttributes & SVGPresentationAttributes & SVGReactPresentationAttributes & SVGFilterPrimitiveAttributes>;
422
+ /** The SVG `<feMergeNode>` element: one input layer of feMerge. */
423
+ feMergeNode: ElementProps<SVGElementTagNameMap["feMergeNode"], SVGCoreAttributes & {
424
+ in?: Maybe<string>;
425
+ }>;
426
+ /** The SVG `<feMorphology>` element: a filter primitive that erodes or dilates its input. */
427
+ feMorphology: ElementProps<SVGElementTagNameMap["feMorphology"], SVGCoreAttributes & SVGPresentationAttributes & SVGReactPresentationAttributes & SVGFilterPrimitiveAttributes & {
428
+ operator?: Maybe<"erode" | "dilate">;
429
+ radius?: Maybe<number | string>;
430
+ }>;
431
+ /** The SVG `<feOffset>` element: a filter primitive that offsets its input. */
432
+ feOffset: ElementProps<SVGElementTagNameMap["feOffset"], SVGCoreAttributes & SVGPresentationAttributes & SVGReactPresentationAttributes & SVGFilterPrimitiveAttributes & {
433
+ dx?: Maybe<number | string>;
434
+ dy?: Maybe<number | string>;
435
+ }>;
436
+ /** The SVG `<fePointLight>` element: a point light source for a lighting filter. */
437
+ fePointLight: ElementProps<SVGElementTagNameMap["fePointLight"], SVGCoreAttributes & {
438
+ x?: Maybe<number | string>;
439
+ y?: Maybe<number | string>;
440
+ z?: Maybe<number | string>;
441
+ }>;
442
+ /** The SVG `<feSpecularLighting>` element: a filter primitive that lights an image with specular lighting. */
443
+ feSpecularLighting: ElementProps<SVGElementTagNameMap["feSpecularLighting"], SVGCoreAttributes & SVGPresentationAttributes & SVGReactPresentationAttributes & SVGLightingAttributes & {
444
+ specularConstant?: Maybe<number | string>;
445
+ specularExponent?: Maybe<number | string>;
446
+ surfaceScale?: Maybe<number | string>;
447
+ }>;
448
+ /** The SVG `<feSpotLight>` element: a spot light source for a lighting filter. */
449
+ feSpotLight: ElementProps<SVGElementTagNameMap["feSpotLight"], SVGCoreAttributes & {
450
+ limitingConeAngle?: Maybe<number | string>;
451
+ pointsAtX?: Maybe<number | string>;
452
+ pointsAtY?: Maybe<number | string>;
453
+ pointsAtZ?: Maybe<number | string>;
454
+ specularExponent?: Maybe<number | string>;
455
+ x?: Maybe<number | string>;
456
+ y?: Maybe<number | string>;
457
+ z?: Maybe<number | string>;
458
+ }>;
459
+ /** The SVG `<feTile>` element: a filter primitive that tiles its input. */
460
+ feTile: ElementProps<SVGElementTagNameMap["feTile"], SVGCoreAttributes & SVGPresentationAttributes & SVGReactPresentationAttributes & SVGFilterPrimitiveAttributes>;
461
+ /** The SVG `<feTurbulence>` element: a filter primitive that generates Perlin turbulence noise. */
462
+ feTurbulence: ElementProps<SVGElementTagNameMap["feTurbulence"], SVGCoreAttributes & SVGPresentationAttributes & SVGReactPresentationAttributes & SVGFilterPrimitiveAttributes & {
463
+ baseFrequency?: Maybe<number | string>;
464
+ numOctaves?: Maybe<number | string>;
465
+ seed?: Maybe<number | string>;
466
+ stitchTiles?: Maybe<"stitch" | "noStitch">;
467
+ type?: Maybe<"fractalNoise" | "turbulence">;
468
+ }>;
469
+ /** The SVG `<filter>` element: a filter effect made of filter primitives. */
470
+ filter: ElementProps<SVGElementTagNameMap["filter"], SVGCoreAttributes & SVGPresentationAttributes & SVGReactPresentationAttributes & SVGHrefAttributes & SVGBoxAttributes & {
471
+ filterUnits?: Maybe<SvgUnits>;
472
+ primitiveUnits?: Maybe<SvgUnits>;
473
+ }>;
474
+ /** The SVG `<foreignObject>` element: a region that contains content from another namespace, such as HTML. */
475
+ foreignObject: ElementProps<SVGElementTagNameMap["foreignObject"], SVGCoreAttributes & SVGPresentationAttributes & SVGReactPresentationAttributes & SVGGraphicsAttributes & SVGBoxAttributes>;
476
+ /** The SVG `<g>` element: a group of SVG elements. */
477
+ g: ElementProps<SVGElementTagNameMap["g"], SVGCoreAttributes & SVGPresentationAttributes & SVGReactPresentationAttributes & SVGGraphicsAttributes>;
478
+ /** The SVG `<image>` element: a raster or SVG image. */
479
+ image: ElementProps<SVGElementTagNameMap["image"], SVGCoreAttributes & SVGPresentationAttributes & SVGReactPresentationAttributes & SVGGraphicsAttributes & SVGImageAttributes>;
480
+ /** The SVG `<line>` element: a straight line between two points. */
481
+ line: ElementProps<SVGElementTagNameMap["line"], SVGCoreAttributes & SVGPresentationAttributes & SVGReactPresentationAttributes & SVGGraphicsAttributes & SVGPathLengthAttributes & {
482
+ x1?: SvgValue;
483
+ x2?: SvgValue;
484
+ y1?: SvgValue;
485
+ y2?: SvgValue;
486
+ }>;
487
+ /** The SVG `<linearGradient>` element: a linear gradient paint server. */
488
+ linearGradient: ElementProps<SVGElementTagNameMap["linearGradient"], SVGCoreAttributes & SVGPresentationAttributes & SVGReactPresentationAttributes & SVGGradientAttributes & {
489
+ x1?: SvgValue;
490
+ x2?: SvgValue;
491
+ y1?: SvgValue;
492
+ y2?: SvgValue;
493
+ }>;
494
+ /** The SVG `<marker>` element: a graphic drawn at the vertices of a path, line or polyline. */
495
+ marker: ElementProps<SVGElementTagNameMap["marker"], SVGCoreAttributes & SVGPresentationAttributes & SVGReactPresentationAttributes & SVGViewportAttributes & {
496
+ markerHeight?: SvgValue;
497
+ markerUnits?: Maybe<"strokeWidth" | "userSpaceOnUse">;
498
+ markerWidth?: SvgValue;
499
+ orient?: Maybe<string>;
500
+ refX?: SvgValue;
501
+ refY?: SvgValue;
502
+ }>;
503
+ /** The SVG `<mask>` element: a mask that sets the transparency of what it applies to. */
504
+ mask: ElementProps<SVGElementTagNameMap["mask"], SVGCoreAttributes & SVGPresentationAttributes & SVGReactPresentationAttributes & SVGBoxAttributes & {
505
+ maskContentUnits?: Maybe<SvgUnits>;
506
+ maskUnits?: Maybe<SvgUnits>;
507
+ }>;
508
+ /** The SVG `<metadata>` element: metadata about the SVG content. */
509
+ metadata: ElementProps<SVGElementTagNameMap["metadata"], SVGCoreAttributes>;
510
+ /** The SVG `<mpath>` element: a reference to the path an animateMotion follows. */
511
+ mpath: VoidElementProps<SVGElementTagNameMap["mpath"], SVGCoreAttributes & SVGHrefAttributes>;
512
+ /** The SVG `<path>` element: a shape drawn from path commands. */
513
+ path: ElementProps<SVGElementTagNameMap["path"], SVGCoreAttributes & SVGPresentationAttributes & SVGReactPresentationAttributes & SVGGraphicsAttributes & SVGPathLengthAttributes & {
514
+ d?: Maybe<string>;
515
+ }>;
516
+ /** The SVG `<pattern>` element: a tiled pattern paint server. */
517
+ pattern: ElementProps<SVGElementTagNameMap["pattern"], SVGCoreAttributes & SVGPresentationAttributes & SVGReactPresentationAttributes & SVGBoxAttributes & SVGViewportAttributes & SVGHrefAttributes & {
518
+ patternContentUnits?: Maybe<SvgUnits>;
519
+ patternTransform?: Maybe<string>;
520
+ patternUnits?: Maybe<SvgUnits>;
521
+ }>;
522
+ /** The SVG `<polygon>` element: a closed shape of straight line segments. */
523
+ polygon: ElementProps<SVGElementTagNameMap["polygon"], SVGCoreAttributes & SVGPresentationAttributes & SVGReactPresentationAttributes & SVGGraphicsAttributes & SVGPathLengthAttributes & {
524
+ points?: Maybe<string>;
525
+ }>;
526
+ /** The SVG `<polyline>` element: an open shape of straight line segments. */
527
+ polyline: ElementProps<SVGElementTagNameMap["polyline"], SVGCoreAttributes & SVGPresentationAttributes & SVGReactPresentationAttributes & SVGGraphicsAttributes & SVGPathLengthAttributes & {
528
+ points?: Maybe<string>;
529
+ }>;
530
+ /** The SVG `<radialGradient>` element: a radial gradient paint server. */
531
+ radialGradient: ElementProps<SVGElementTagNameMap["radialGradient"], SVGCoreAttributes & SVGPresentationAttributes & SVGReactPresentationAttributes & SVGGradientAttributes & {
532
+ cx?: SvgValue;
533
+ cy?: SvgValue;
534
+ fr?: SvgValue;
535
+ fx?: SvgValue;
536
+ fy?: SvgValue;
537
+ r?: SvgValue;
538
+ }>;
539
+ /** The SVG `<rect>` element: a rectangle, optionally with rounded corners. */
540
+ rect: ElementProps<SVGElementTagNameMap["rect"], SVGCoreAttributes & SVGPresentationAttributes & SVGReactPresentationAttributes & SVGGraphicsAttributes & SVGPathLengthAttributes & SVGBoxAttributes & {
541
+ rx?: SvgValue;
542
+ ry?: SvgValue;
543
+ }>;
544
+ /** The SVG `<script>` element: a script inside SVG content. */
545
+ script: TextElementProps<SVGElementTagNameMap["script"], SVGCoreAttributes & SVGHrefAttributes & {
546
+ crossorigin?: Maybe<"anonymous" | "use-credentials" | "">;
547
+ type?: Maybe<string>;
548
+ }>;
549
+ /** The SVG `<set>` element: an animation that sets an attribute to a value for a duration. */
550
+ set: VoidElementProps<SVGElementTagNameMap["set"], SVGCoreAttributes & SVGAnimationAttributes>;
551
+ /** The SVG `<stop>` element: a color stop of a gradient. */
552
+ stop: ElementProps<SVGElementTagNameMap["stop"], SVGCoreAttributes & SVGPresentationAttributes & SVGReactPresentationAttributes & {
553
+ offset?: Maybe<number | string>;
554
+ }>;
555
+ /** The SVG `<style>` element: a stylesheet inside SVG content. */
556
+ style: TextElementProps<SVGElementTagNameMap["style"], SVGCoreAttributes & {
557
+ media?: Maybe<string>;
558
+ title?: Maybe<string>;
559
+ type?: Maybe<string>;
560
+ }>;
561
+ /** The SVG `<svg>` element: an SVG document fragment, the root of SVG content. */
562
+ svg: WindowElementProps<SVGElementTagNameMap["svg"], SVGCoreAttributes & SVGPresentationAttributes & SVGReactPresentationAttributes & SVGRootAttributes>;
563
+ /** The SVG `<switch>` element: a choice that renders its first child whose conditions match. */
564
+ switch: ElementProps<SVGElementTagNameMap["switch"], SVGCoreAttributes & SVGPresentationAttributes & SVGReactPresentationAttributes & SVGGraphicsAttributes>;
565
+ /** The SVG `<symbol>` element: a reusable graphic, rendered only through use. */
566
+ symbol: ElementProps<SVGElementTagNameMap["symbol"], SVGCoreAttributes & SVGPresentationAttributes & SVGReactPresentationAttributes & SVGBoxAttributes & SVGViewportAttributes & {
567
+ refX?: SvgValue;
568
+ refY?: SvgValue;
569
+ }>;
570
+ /** The SVG `<text>` element: a run of SVG text. */
571
+ text: ElementProps<SVGElementTagNameMap["text"], SVGCoreAttributes & SVGPresentationAttributes & SVGReactPresentationAttributes & SVGGraphicsAttributes & SVGTextPositionAttributes>;
572
+ /** The SVG `<textPath>` element: text laid out along a path. */
573
+ textPath: ElementProps<SVGElementTagNameMap["textPath"], SVGCoreAttributes & SVGPresentationAttributes & SVGReactPresentationAttributes & SVGHrefAttributes & {
574
+ lengthAdjust?: Maybe<"spacing" | "spacingAndGlyphs">;
575
+ method?: Maybe<"align" | "stretch">;
576
+ side?: Maybe<"left" | "right">;
577
+ spacing?: Maybe<"auto" | "exact">;
578
+ startOffset?: SvgValue;
579
+ textLength?: SvgValue;
580
+ }>;
581
+ /** The SVG `<title>` element: an accessible name for its parent, often shown as a tooltip. */
582
+ title: TextElementProps<SVGElementTagNameMap["title"], SVGCoreAttributes & SVGPresentationAttributes & SVGReactPresentationAttributes>;
583
+ /** The SVG `<tspan>` element: a sub-run of text inside text. */
584
+ tspan: ElementProps<SVGElementTagNameMap["tspan"], SVGCoreAttributes & SVGPresentationAttributes & SVGReactPresentationAttributes & SVGTextPositionAttributes>;
585
+ /** The SVG `<use>` element: a copy of another SVG element, by reference. */
586
+ use: ElementProps<SVGElementTagNameMap["use"], SVGCoreAttributes & SVGPresentationAttributes & SVGReactPresentationAttributes & SVGGraphicsAttributes & SVGHrefAttributes & SVGBoxAttributes>;
587
+ /** The SVG `<view>` element: a named view of the SVG content, for linking. */
588
+ view: ElementProps<SVGElementTagNameMap["view"], SVGCoreAttributes & SVGViewportAttributes & {
589
+ zoomAndPan?: Maybe<"disable" | "magnify">;
590
+ }>;
591
+ }
592
+ /**
593
+ * Attributes of `feFuncA`/`feFuncB`/`feFuncG`/`feFuncR` (transfer functions).
594
+ *
595
+ * @since 1.0.0
596
+ */
597
+ export interface SVGTransferFunctionAttributes {
598
+ amplitude?: Maybe<number | string>;
599
+ exponent?: Maybe<number | string>;
600
+ intercept?: Maybe<number | string>;
601
+ offset?: Maybe<number | string>;
602
+ slope?: Maybe<number | string>;
603
+ tableValues?: Maybe<string>;
604
+ type?: Maybe<"identity" | "table" | "discrete" | "linear" | "gamma">;
605
+ }
606
+ //#endregion
607
+ //# sourceMappingURL=svg.d.ts.map