create-jen-app 0.1.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 (607) hide show
  1. package/LICENSE +674 -0
  2. package/README.md +89 -0
  3. package/dist/index.js +72 -0
  4. package/package.json +50 -0
  5. package/templates/static/.esbuild/jen.config.js +1 -0
  6. package/templates/static/README.md +67 -0
  7. package/templates/static/build.js +106 -0
  8. package/templates/static/jen.config.ts +128 -0
  9. package/templates/static/jenjs.d.ts +33 -0
  10. package/templates/static/lib/api/(hello).d.ts +7 -0
  11. package/templates/static/lib/api/(hello).js +26 -0
  12. package/templates/static/lib/auth/cookie-utils.d.ts +24 -0
  13. package/templates/static/lib/auth/cookie-utils.js +99 -0
  14. package/templates/static/lib/auth/index.d.ts +2 -0
  15. package/templates/static/lib/auth/index.js +19 -0
  16. package/templates/static/lib/auth/jwt.d.ts +2 -0
  17. package/templates/static/lib/auth/jwt.js +30 -0
  18. package/templates/static/lib/auth/session.d.ts +44 -0
  19. package/templates/static/lib/auth/session.js +111 -0
  20. package/templates/static/lib/build/asset-hashing.d.ts +10 -0
  21. package/templates/static/lib/build/asset-hashing.js +42 -0
  22. package/templates/static/lib/build/asset-manifest.d.ts +11 -0
  23. package/templates/static/lib/build/asset-manifest.js +38 -0
  24. package/templates/static/lib/build/build.d.ts +4 -0
  25. package/templates/static/lib/build/build.js +113 -0
  26. package/templates/static/lib/build/island-hydration.d.ts +25 -0
  27. package/templates/static/lib/build/island-hydration.js +62 -0
  28. package/templates/static/lib/build/minifier.d.ts +20 -0
  29. package/templates/static/lib/build/minifier.js +65 -0
  30. package/templates/static/lib/build/page-renderer.d.ts +17 -0
  31. package/templates/static/lib/build/page-renderer.js +45 -0
  32. package/templates/static/lib/build/production-build.d.ts +10 -0
  33. package/templates/static/lib/build/production-build.js +30 -0
  34. package/templates/static/lib/build/ssg-pipeline.d.ts +15 -0
  35. package/templates/static/lib/build/ssg-pipeline.js +119 -0
  36. package/templates/static/lib/build-tools/build-site.d.ts +6 -0
  37. package/templates/static/lib/build-tools/build-site.js +56 -0
  38. package/templates/static/lib/cache/index.d.ts +2 -0
  39. package/templates/static/lib/cache/index.js +19 -0
  40. package/templates/static/lib/cache/memory.d.ts +6 -0
  41. package/templates/static/lib/cache/memory.js +31 -0
  42. package/templates/static/lib/cache/redis.d.ts +6 -0
  43. package/templates/static/lib/cache/redis.js +33 -0
  44. package/templates/static/lib/cli/banner.d.ts +1 -0
  45. package/templates/static/lib/cli/banner.js +41 -0
  46. package/templates/static/lib/cli/templates/ssg/jen.config.d.ts +3 -0
  47. package/templates/static/lib/cli/templates/ssg/jen.config.js +49 -0
  48. package/templates/static/lib/cli/templates/ssg/site/index.d.ts +2 -0
  49. package/templates/static/lib/cli/templates/ssg/site/index.js +4 -0
  50. package/templates/static/lib/cli/templates/ssr/jen.config.d.ts +3 -0
  51. package/templates/static/lib/cli/templates/ssr/jen.config.js +49 -0
  52. package/templates/static/lib/cli/templates/ssr/site/index.d.ts +2 -0
  53. package/templates/static/lib/cli/templates/ssr/site/index.js +4 -0
  54. package/templates/static/lib/compilers/esbuild-plugins.d.ts +6 -0
  55. package/templates/static/lib/compilers/esbuild-plugins.js +130 -0
  56. package/templates/static/lib/compilers/svelte.d.ts +18 -0
  57. package/templates/static/lib/compilers/svelte.js +61 -0
  58. package/templates/static/lib/compilers/vue.d.ts +15 -0
  59. package/templates/static/lib/compilers/vue.js +99 -0
  60. package/templates/static/lib/core/config.d.ts +53 -0
  61. package/templates/static/lib/core/config.js +18 -0
  62. package/templates/static/lib/core/http.d.ts +3 -0
  63. package/templates/static/lib/core/http.js +42 -0
  64. package/templates/static/lib/core/middleware-hooks.d.ts +46 -0
  65. package/templates/static/lib/core/middleware-hooks.js +69 -0
  66. package/templates/static/lib/core/paths.d.ts +6 -0
  67. package/templates/static/lib/core/paths.js +24 -0
  68. package/templates/static/lib/core/routes/match.d.ts +6 -0
  69. package/templates/static/lib/core/routes/match.js +31 -0
  70. package/templates/static/lib/core/routes/scan.d.ts +9 -0
  71. package/templates/static/lib/core/routes/scan.js +148 -0
  72. package/templates/static/lib/core/types.d.ts +18 -0
  73. package/templates/static/lib/core/types.js +18 -0
  74. package/templates/static/lib/css/compiler.d.ts +20 -0
  75. package/templates/static/lib/css/compiler.js +87 -0
  76. package/templates/static/lib/db/connector.d.ts +4 -0
  77. package/templates/static/lib/db/connector.js +33 -0
  78. package/templates/static/lib/db/drivers/jdb.d.ts +13 -0
  79. package/templates/static/lib/db/drivers/jdb.js +59 -0
  80. package/templates/static/lib/db/drivers/sql.d.ts +18 -0
  81. package/templates/static/lib/db/drivers/sql.js +182 -0
  82. package/templates/static/lib/db/index.d.ts +19 -0
  83. package/templates/static/lib/db/index.js +65 -0
  84. package/templates/static/lib/db/types.d.ts +29 -0
  85. package/templates/static/lib/db/types.js +18 -0
  86. package/templates/static/lib/graphql/index.d.ts +1 -0
  87. package/templates/static/lib/graphql/index.js +22 -0
  88. package/templates/static/lib/graphql/resolvers.d.ts +17 -0
  89. package/templates/static/lib/graphql/resolvers.js +26 -0
  90. package/templates/static/lib/graphql/schema.d.ts +1 -0
  91. package/templates/static/lib/graphql/schema.js +20 -0
  92. package/templates/static/lib/i18n/en.json +4 -0
  93. package/templates/static/lib/i18n/es.json +4 -0
  94. package/templates/static/lib/i18n/index.d.ts +8 -0
  95. package/templates/static/lib/i18n/index.js +32 -0
  96. package/templates/static/lib/import/jen-import.d.ts +27 -0
  97. package/templates/static/lib/import/jen-import.js +128 -0
  98. package/templates/static/lib/index.d.ts +81 -0
  99. package/templates/static/lib/index.js +120 -0
  100. package/templates/static/lib/jdb/engine.d.ts +9 -0
  101. package/templates/static/lib/jdb/engine.js +176 -0
  102. package/templates/static/lib/jdb/index.d.ts +2 -0
  103. package/templates/static/lib/jdb/index.js +19 -0
  104. package/templates/static/lib/jdb/types.d.ts +46 -0
  105. package/templates/static/lib/jdb/types.js +18 -0
  106. package/templates/static/lib/jdb/utils.d.ts +6 -0
  107. package/templates/static/lib/jdb/utils.js +141 -0
  108. package/templates/static/lib/middleware/builtins/body-parser.d.ts +1 -0
  109. package/templates/static/lib/middleware/builtins/body-parser.js +55 -0
  110. package/templates/static/lib/middleware/builtins/cors.d.ts +13 -0
  111. package/templates/static/lib/middleware/builtins/cors.js +67 -0
  112. package/templates/static/lib/middleware/builtins/logger.d.ts +1 -0
  113. package/templates/static/lib/middleware/builtins/logger.js +33 -0
  114. package/templates/static/lib/middleware/builtins/rate-limit.d.ts +5 -0
  115. package/templates/static/lib/middleware/builtins/rate-limit.js +76 -0
  116. package/templates/static/lib/middleware/builtins/request-id.d.ts +1 -0
  117. package/templates/static/lib/middleware/builtins/request-id.js +25 -0
  118. package/templates/static/lib/middleware/builtins/security-headers.d.ts +1 -0
  119. package/templates/static/lib/middleware/builtins/security-headers.js +39 -0
  120. package/templates/static/lib/middleware/context.d.ts +18 -0
  121. package/templates/static/lib/middleware/context.js +50 -0
  122. package/templates/static/lib/middleware/decorators.d.ts +2 -0
  123. package/templates/static/lib/middleware/decorators.js +61 -0
  124. package/templates/static/lib/middleware/errors/handler.d.ts +1 -0
  125. package/templates/static/lib/middleware/errors/handler.js +65 -0
  126. package/templates/static/lib/middleware/errors/http-error.d.ts +5 -0
  127. package/templates/static/lib/middleware/errors/http-error.js +27 -0
  128. package/templates/static/lib/middleware/kernel.d.ts +6 -0
  129. package/templates/static/lib/middleware/kernel.js +39 -0
  130. package/templates/static/lib/middleware/pipeline.d.ts +4 -0
  131. package/templates/static/lib/middleware/pipeline.js +67 -0
  132. package/templates/static/lib/middleware/registry.d.ts +10 -0
  133. package/templates/static/lib/middleware/registry.js +41 -0
  134. package/templates/static/lib/middleware/response.d.ts +13 -0
  135. package/templates/static/lib/middleware/response.js +60 -0
  136. package/templates/static/lib/middleware/types.d.ts +1 -0
  137. package/templates/static/lib/middleware/types.js +18 -0
  138. package/templates/static/lib/middleware/utils/matcher.d.ts +1 -0
  139. package/templates/static/lib/middleware/utils/matcher.js +31 -0
  140. package/templates/static/lib/native/bundle.d.ts +19 -0
  141. package/templates/static/lib/native/bundle.js +39 -0
  142. package/templates/static/lib/native/dev-server.d.ts +6 -0
  143. package/templates/static/lib/native/dev-server.js +38 -0
  144. package/templates/static/lib/native/index.d.ts +30 -0
  145. package/templates/static/lib/native/index.js +48 -0
  146. package/templates/static/lib/native/optimizer.d.ts +17 -0
  147. package/templates/static/lib/native/optimizer.js +37 -0
  148. package/templates/static/lib/native/style-compiler.d.ts +10 -0
  149. package/templates/static/lib/native/style-compiler.js +36 -0
  150. package/templates/static/lib/plugin/loader.d.ts +8 -0
  151. package/templates/static/lib/plugin/loader.js +59 -0
  152. package/templates/static/lib/runtime/client-runtime.d.ts +1 -0
  153. package/templates/static/lib/runtime/client-runtime.js +28 -0
  154. package/templates/static/lib/runtime/hmr.d.ts +1 -0
  155. package/templates/static/lib/runtime/hmr.js +54 -0
  156. package/templates/static/lib/runtime/hydrate.d.ts +1 -0
  157. package/templates/static/lib/runtime/hydrate.js +45 -0
  158. package/templates/static/lib/runtime/island-hydration-client.d.ts +5 -0
  159. package/templates/static/lib/runtime/island-hydration-client.js +132 -0
  160. package/templates/static/lib/runtime/islands.d.ts +46 -0
  161. package/templates/static/lib/runtime/islands.js +89 -0
  162. package/templates/static/lib/runtime/render.d.ts +13 -0
  163. package/templates/static/lib/runtime/render.js +183 -0
  164. package/templates/static/lib/server/api-routes.d.ts +44 -0
  165. package/templates/static/lib/server/api-routes.js +196 -0
  166. package/templates/static/lib/server/api.d.ts +6 -0
  167. package/templates/static/lib/server/api.js +124 -0
  168. package/templates/static/lib/server/app.d.ts +10 -0
  169. package/templates/static/lib/server/app.js +381 -0
  170. package/templates/static/lib/server/runtimeServe.d.ts +4 -0
  171. package/templates/static/lib/server/runtimeServe.js +125 -0
  172. package/templates/static/lib/shared/log.d.ts +5 -0
  173. package/templates/static/lib/shared/log.js +31 -0
  174. package/templates/static/node_modules/.bin/esbuild +16 -0
  175. package/templates/static/node_modules/.bin/esbuild.cmd +17 -0
  176. package/templates/static/node_modules/.bin/esbuild.ps1 +28 -0
  177. package/templates/static/node_modules/.bin/tsc +16 -0
  178. package/templates/static/node_modules/.bin/tsc.cmd +17 -0
  179. package/templates/static/node_modules/.bin/tsc.ps1 +28 -0
  180. package/templates/static/node_modules/.bin/tsserver +16 -0
  181. package/templates/static/node_modules/.bin/tsserver.cmd +17 -0
  182. package/templates/static/node_modules/.bin/tsserver.ps1 +28 -0
  183. package/templates/static/node_modules/.jen/cache/B__Jen.js_packages_create-jen-app_templates_static_site_(home).tsx.mjs +14 -0
  184. package/templates/static/node_modules/.jen/cache/B__Jen.js_packages_create-jen-app_yo_site_(home).tsx.mjs +11 -0
  185. package/templates/static/node_modules/.package-lock.json +585 -0
  186. package/templates/static/node_modules/@esbuild/win32-x64/README.md +3 -0
  187. package/templates/static/node_modules/@esbuild/win32-x64/esbuild.exe +0 -0
  188. package/templates/static/node_modules/@esbuild/win32-x64/package.json +20 -0
  189. package/templates/static/node_modules/@jenjs/master/README.md +24 -0
  190. package/templates/static/node_modules/@jenjs/master/index.js +3655 -0
  191. package/templates/static/node_modules/@jenjs/master/package.json +36 -0
  192. package/templates/static/node_modules/@polka/url/build.js +49 -0
  193. package/templates/static/node_modules/@polka/url/build.mjs +47 -0
  194. package/templates/static/node_modules/@polka/url/index.d.ts +11 -0
  195. package/templates/static/node_modules/@polka/url/package.json +30 -0
  196. package/templates/static/node_modules/@polka/url/readme.md +68 -0
  197. package/templates/static/node_modules/@types/node/LICENSE +21 -0
  198. package/templates/static/node_modules/@types/node/README.md +15 -0
  199. package/templates/static/node_modules/@types/node/assert/strict.d.ts +111 -0
  200. package/templates/static/node_modules/@types/node/assert.d.ts +1078 -0
  201. package/templates/static/node_modules/@types/node/async_hooks.d.ts +603 -0
  202. package/templates/static/node_modules/@types/node/buffer.buffer.d.ts +472 -0
  203. package/templates/static/node_modules/@types/node/buffer.d.ts +1934 -0
  204. package/templates/static/node_modules/@types/node/child_process.d.ts +1476 -0
  205. package/templates/static/node_modules/@types/node/cluster.d.ts +578 -0
  206. package/templates/static/node_modules/@types/node/compatibility/disposable.d.ts +14 -0
  207. package/templates/static/node_modules/@types/node/compatibility/index.d.ts +9 -0
  208. package/templates/static/node_modules/@types/node/compatibility/indexable.d.ts +20 -0
  209. package/templates/static/node_modules/@types/node/compatibility/iterators.d.ts +20 -0
  210. package/templates/static/node_modules/@types/node/console.d.ts +452 -0
  211. package/templates/static/node_modules/@types/node/constants.d.ts +21 -0
  212. package/templates/static/node_modules/@types/node/crypto.d.ts +4545 -0
  213. package/templates/static/node_modules/@types/node/dgram.d.ts +600 -0
  214. package/templates/static/node_modules/@types/node/diagnostics_channel.d.ts +578 -0
  215. package/templates/static/node_modules/@types/node/dns/promises.d.ts +503 -0
  216. package/templates/static/node_modules/@types/node/dns.d.ts +923 -0
  217. package/templates/static/node_modules/@types/node/domain.d.ts +170 -0
  218. package/templates/static/node_modules/@types/node/events.d.ts +976 -0
  219. package/templates/static/node_modules/@types/node/fs/promises.d.ts +1295 -0
  220. package/templates/static/node_modules/@types/node/fs.d.ts +4461 -0
  221. package/templates/static/node_modules/@types/node/globals.d.ts +172 -0
  222. package/templates/static/node_modules/@types/node/globals.typedarray.d.ts +38 -0
  223. package/templates/static/node_modules/@types/node/http.d.ts +2089 -0
  224. package/templates/static/node_modules/@types/node/http2.d.ts +2644 -0
  225. package/templates/static/node_modules/@types/node/https.d.ts +579 -0
  226. package/templates/static/node_modules/@types/node/index.d.ts +97 -0
  227. package/templates/static/node_modules/@types/node/inspector.d.ts +253 -0
  228. package/templates/static/node_modules/@types/node/inspector.generated.d.ts +4052 -0
  229. package/templates/static/node_modules/@types/node/module.d.ts +891 -0
  230. package/templates/static/node_modules/@types/node/net.d.ts +1057 -0
  231. package/templates/static/node_modules/@types/node/os.d.ts +506 -0
  232. package/templates/static/node_modules/@types/node/package.json +145 -0
  233. package/templates/static/node_modules/@types/node/path.d.ts +200 -0
  234. package/templates/static/node_modules/@types/node/perf_hooks.d.ts +968 -0
  235. package/templates/static/node_modules/@types/node/process.d.ts +2089 -0
  236. package/templates/static/node_modules/@types/node/punycode.d.ts +117 -0
  237. package/templates/static/node_modules/@types/node/querystring.d.ts +152 -0
  238. package/templates/static/node_modules/@types/node/readline/promises.d.ts +161 -0
  239. package/templates/static/node_modules/@types/node/readline.d.ts +594 -0
  240. package/templates/static/node_modules/@types/node/repl.d.ts +428 -0
  241. package/templates/static/node_modules/@types/node/sea.d.ts +153 -0
  242. package/templates/static/node_modules/@types/node/sqlite.d.ts +721 -0
  243. package/templates/static/node_modules/@types/node/stream/consumers.d.ts +38 -0
  244. package/templates/static/node_modules/@types/node/stream/promises.d.ts +90 -0
  245. package/templates/static/node_modules/@types/node/stream/web.d.ts +622 -0
  246. package/templates/static/node_modules/@types/node/stream.d.ts +1664 -0
  247. package/templates/static/node_modules/@types/node/string_decoder.d.ts +67 -0
  248. package/templates/static/node_modules/@types/node/test.d.ts +2163 -0
  249. package/templates/static/node_modules/@types/node/timers/promises.d.ts +108 -0
  250. package/templates/static/node_modules/@types/node/timers.d.ts +287 -0
  251. package/templates/static/node_modules/@types/node/tls.d.ts +1319 -0
  252. package/templates/static/node_modules/@types/node/trace_events.d.ts +197 -0
  253. package/templates/static/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +468 -0
  254. package/templates/static/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +34 -0
  255. package/templates/static/node_modules/@types/node/ts5.6/index.d.ts +97 -0
  256. package/templates/static/node_modules/@types/node/tty.d.ts +208 -0
  257. package/templates/static/node_modules/@types/node/url.d.ts +984 -0
  258. package/templates/static/node_modules/@types/node/util.d.ts +2606 -0
  259. package/templates/static/node_modules/@types/node/v8.d.ts +920 -0
  260. package/templates/static/node_modules/@types/node/vm.d.ts +1000 -0
  261. package/templates/static/node_modules/@types/node/wasi.d.ts +181 -0
  262. package/templates/static/node_modules/@types/node/web-globals/abortcontroller.d.ts +34 -0
  263. package/templates/static/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
  264. package/templates/static/node_modules/@types/node/web-globals/events.d.ts +97 -0
  265. package/templates/static/node_modules/@types/node/web-globals/fetch.d.ts +55 -0
  266. package/templates/static/node_modules/@types/node/web-globals/navigator.d.ts +22 -0
  267. package/templates/static/node_modules/@types/node/web-globals/storage.d.ts +24 -0
  268. package/templates/static/node_modules/@types/node/worker_threads.d.ts +784 -0
  269. package/templates/static/node_modules/@types/node/zlib.d.ts +683 -0
  270. package/templates/static/node_modules/esbuild/LICENSE.md +21 -0
  271. package/templates/static/node_modules/esbuild/README.md +3 -0
  272. package/templates/static/node_modules/esbuild/bin/esbuild +223 -0
  273. package/templates/static/node_modules/esbuild/install.js +289 -0
  274. package/templates/static/node_modules/esbuild/lib/main.d.ts +716 -0
  275. package/templates/static/node_modules/esbuild/lib/main.js +2242 -0
  276. package/templates/static/node_modules/esbuild/package.json +49 -0
  277. package/templates/static/node_modules/mrmime/index.d.ts +2 -0
  278. package/templates/static/node_modules/mrmime/index.js +449 -0
  279. package/templates/static/node_modules/mrmime/index.mjs +448 -0
  280. package/templates/static/node_modules/mrmime/license +21 -0
  281. package/templates/static/node_modules/mrmime/package.json +44 -0
  282. package/templates/static/node_modules/mrmime/readme.md +130 -0
  283. package/templates/static/node_modules/preact/LICENSE +21 -0
  284. package/templates/static/node_modules/preact/README.md +185 -0
  285. package/templates/static/node_modules/preact/compat/client.d.ts +13 -0
  286. package/templates/static/node_modules/preact/compat/client.js +21 -0
  287. package/templates/static/node_modules/preact/compat/client.mjs +24 -0
  288. package/templates/static/node_modules/preact/compat/dist/compat.js +2 -0
  289. package/templates/static/node_modules/preact/compat/dist/compat.js.map +1 -0
  290. package/templates/static/node_modules/preact/compat/dist/compat.mjs +2 -0
  291. package/templates/static/node_modules/preact/compat/dist/compat.module.js +2 -0
  292. package/templates/static/node_modules/preact/compat/dist/compat.module.js.map +1 -0
  293. package/templates/static/node_modules/preact/compat/dist/compat.umd.js +2 -0
  294. package/templates/static/node_modules/preact/compat/dist/compat.umd.js.map +1 -0
  295. package/templates/static/node_modules/preact/compat/jsx-dev-runtime.js +3 -0
  296. package/templates/static/node_modules/preact/compat/jsx-dev-runtime.mjs +3 -0
  297. package/templates/static/node_modules/preact/compat/jsx-runtime.js +3 -0
  298. package/templates/static/node_modules/preact/compat/jsx-runtime.mjs +3 -0
  299. package/templates/static/node_modules/preact/compat/package.json +55 -0
  300. package/templates/static/node_modules/preact/compat/scheduler.js +15 -0
  301. package/templates/static/node_modules/preact/compat/scheduler.mjs +23 -0
  302. package/templates/static/node_modules/preact/compat/server.browser.js +11 -0
  303. package/templates/static/node_modules/preact/compat/server.js +36 -0
  304. package/templates/static/node_modules/preact/compat/server.mjs +17 -0
  305. package/templates/static/node_modules/preact/compat/src/Children.js +21 -0
  306. package/templates/static/node_modules/preact/compat/src/PureComponent.js +16 -0
  307. package/templates/static/node_modules/preact/compat/src/forwardRef.js +44 -0
  308. package/templates/static/node_modules/preact/compat/src/hooks.js +70 -0
  309. package/templates/static/node_modules/preact/compat/src/index.d.ts +351 -0
  310. package/templates/static/node_modules/preact/compat/src/index.js +238 -0
  311. package/templates/static/node_modules/preact/compat/src/internal.d.ts +48 -0
  312. package/templates/static/node_modules/preact/compat/src/memo.js +35 -0
  313. package/templates/static/node_modules/preact/compat/src/portals.js +78 -0
  314. package/templates/static/node_modules/preact/compat/src/render.js +313 -0
  315. package/templates/static/node_modules/preact/compat/src/suspense-list.d.ts +16 -0
  316. package/templates/static/node_modules/preact/compat/src/suspense-list.js +127 -0
  317. package/templates/static/node_modules/preact/compat/src/suspense.d.ts +19 -0
  318. package/templates/static/node_modules/preact/compat/src/suspense.js +291 -0
  319. package/templates/static/node_modules/preact/compat/src/util.js +33 -0
  320. package/templates/static/node_modules/preact/compat/test-utils.js +1 -0
  321. package/templates/static/node_modules/preact/compat/test-utils.mjs +1 -0
  322. package/templates/static/node_modules/preact/debug/dist/debug.js +2 -0
  323. package/templates/static/node_modules/preact/debug/dist/debug.js.map +1 -0
  324. package/templates/static/node_modules/preact/debug/dist/debug.mjs +2 -0
  325. package/templates/static/node_modules/preact/debug/dist/debug.module.js +2 -0
  326. package/templates/static/node_modules/preact/debug/dist/debug.module.js.map +1 -0
  327. package/templates/static/node_modules/preact/debug/dist/debug.umd.js +2 -0
  328. package/templates/static/node_modules/preact/debug/dist/debug.umd.js.map +1 -0
  329. package/templates/static/node_modules/preact/debug/package.json +27 -0
  330. package/templates/static/node_modules/preact/debug/src/check-props.js +54 -0
  331. package/templates/static/node_modules/preact/debug/src/component-stack.js +146 -0
  332. package/templates/static/node_modules/preact/debug/src/constants.js +3 -0
  333. package/templates/static/node_modules/preact/debug/src/debug.js +593 -0
  334. package/templates/static/node_modules/preact/debug/src/index.d.ts +23 -0
  335. package/templates/static/node_modules/preact/debug/src/index.js +12 -0
  336. package/templates/static/node_modules/preact/debug/src/internal.d.ts +82 -0
  337. package/templates/static/node_modules/preact/debug/src/util.js +15 -0
  338. package/templates/static/node_modules/preact/devtools/dist/devtools.js +2 -0
  339. package/templates/static/node_modules/preact/devtools/dist/devtools.js.map +1 -0
  340. package/templates/static/node_modules/preact/devtools/dist/devtools.mjs +2 -0
  341. package/templates/static/node_modules/preact/devtools/dist/devtools.module.js +2 -0
  342. package/templates/static/node_modules/preact/devtools/dist/devtools.module.js.map +1 -0
  343. package/templates/static/node_modules/preact/devtools/dist/devtools.umd.js +2 -0
  344. package/templates/static/node_modules/preact/devtools/dist/devtools.umd.js.map +1 -0
  345. package/templates/static/node_modules/preact/devtools/package.json +25 -0
  346. package/templates/static/node_modules/preact/devtools/src/devtools.js +21 -0
  347. package/templates/static/node_modules/preact/devtools/src/index.d.ts +8 -0
  348. package/templates/static/node_modules/preact/devtools/src/index.js +15 -0
  349. package/templates/static/node_modules/preact/dist/preact.js +2 -0
  350. package/templates/static/node_modules/preact/dist/preact.js.map +1 -0
  351. package/templates/static/node_modules/preact/dist/preact.min.js +2 -0
  352. package/templates/static/node_modules/preact/dist/preact.min.js.map +1 -0
  353. package/templates/static/node_modules/preact/dist/preact.min.module.js +2 -0
  354. package/templates/static/node_modules/preact/dist/preact.min.module.js.map +1 -0
  355. package/templates/static/node_modules/preact/dist/preact.min.umd.js +2 -0
  356. package/templates/static/node_modules/preact/dist/preact.min.umd.js.map +1 -0
  357. package/templates/static/node_modules/preact/dist/preact.mjs +2 -0
  358. package/templates/static/node_modules/preact/dist/preact.module.js +2 -0
  359. package/templates/static/node_modules/preact/dist/preact.module.js.map +1 -0
  360. package/templates/static/node_modules/preact/dist/preact.umd.js +2 -0
  361. package/templates/static/node_modules/preact/dist/preact.umd.js.map +1 -0
  362. package/templates/static/node_modules/preact/hooks/dist/hooks.js +2 -0
  363. package/templates/static/node_modules/preact/hooks/dist/hooks.js.map +1 -0
  364. package/templates/static/node_modules/preact/hooks/dist/hooks.mjs +2 -0
  365. package/templates/static/node_modules/preact/hooks/dist/hooks.module.js +2 -0
  366. package/templates/static/node_modules/preact/hooks/dist/hooks.module.js.map +1 -0
  367. package/templates/static/node_modules/preact/hooks/dist/hooks.umd.js +2 -0
  368. package/templates/static/node_modules/preact/hooks/dist/hooks.umd.js.map +1 -0
  369. package/templates/static/node_modules/preact/hooks/package.json +35 -0
  370. package/templates/static/node_modules/preact/hooks/src/index.d.ts +145 -0
  371. package/templates/static/node_modules/preact/hooks/src/index.js +555 -0
  372. package/templates/static/node_modules/preact/hooks/src/internal.d.ts +103 -0
  373. package/templates/static/node_modules/preact/jsx-runtime/dist/jsxRuntime.js +2 -0
  374. package/templates/static/node_modules/preact/jsx-runtime/dist/jsxRuntime.js.map +1 -0
  375. package/templates/static/node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs +2 -0
  376. package/templates/static/node_modules/preact/jsx-runtime/dist/jsxRuntime.module.js +2 -0
  377. package/templates/static/node_modules/preact/jsx-runtime/dist/jsxRuntime.module.js.map +1 -0
  378. package/templates/static/node_modules/preact/jsx-runtime/dist/jsxRuntime.umd.js +2 -0
  379. package/templates/static/node_modules/preact/jsx-runtime/dist/jsxRuntime.umd.js.map +1 -0
  380. package/templates/static/node_modules/preact/jsx-runtime/package.json +28 -0
  381. package/templates/static/node_modules/preact/jsx-runtime/src/index.d.ts +62 -0
  382. package/templates/static/node_modules/preact/jsx-runtime/src/index.js +206 -0
  383. package/templates/static/node_modules/preact/jsx-runtime/src/utils.js +36 -0
  384. package/templates/static/node_modules/preact/package.json +258 -0
  385. package/templates/static/node_modules/preact/src/cjs.js +3 -0
  386. package/templates/static/node_modules/preact/src/clone-element.js +48 -0
  387. package/templates/static/node_modules/preact/src/component.js +249 -0
  388. package/templates/static/node_modules/preact/src/constants.js +22 -0
  389. package/templates/static/node_modules/preact/src/create-context.js +60 -0
  390. package/templates/static/node_modules/preact/src/create-element.js +97 -0
  391. package/templates/static/node_modules/preact/src/diff/catch-error.js +46 -0
  392. package/templates/static/node_modules/preact/src/diff/children.js +451 -0
  393. package/templates/static/node_modules/preact/src/diff/index.js +684 -0
  394. package/templates/static/node_modules/preact/src/diff/props.js +173 -0
  395. package/templates/static/node_modules/preact/src/dom.d.ts +2476 -0
  396. package/templates/static/node_modules/preact/src/index-5.d.ts +399 -0
  397. package/templates/static/node_modules/preact/src/index.d.ts +402 -0
  398. package/templates/static/node_modules/preact/src/index.js +13 -0
  399. package/templates/static/node_modules/preact/src/internal.d.ts +190 -0
  400. package/templates/static/node_modules/preact/src/jsx.d.ts +2878 -0
  401. package/templates/static/node_modules/preact/src/options.js +16 -0
  402. package/templates/static/node_modules/preact/src/render.js +78 -0
  403. package/templates/static/node_modules/preact/src/util.js +28 -0
  404. package/templates/static/node_modules/preact/test-utils/dist/testUtils.js +2 -0
  405. package/templates/static/node_modules/preact/test-utils/dist/testUtils.js.map +1 -0
  406. package/templates/static/node_modules/preact/test-utils/dist/testUtils.mjs +2 -0
  407. package/templates/static/node_modules/preact/test-utils/dist/testUtils.module.js +2 -0
  408. package/templates/static/node_modules/preact/test-utils/dist/testUtils.module.js.map +1 -0
  409. package/templates/static/node_modules/preact/test-utils/dist/testUtils.umd.js +2 -0
  410. package/templates/static/node_modules/preact/test-utils/dist/testUtils.umd.js.map +1 -0
  411. package/templates/static/node_modules/preact/test-utils/package.json +28 -0
  412. package/templates/static/node_modules/preact/test-utils/src/index.d.ts +3 -0
  413. package/templates/static/node_modules/preact/test-utils/src/index.js +129 -0
  414. package/templates/static/node_modules/preact-render-to-string/LICENSE +21 -0
  415. package/templates/static/node_modules/preact-render-to-string/README.md +149 -0
  416. package/templates/static/node_modules/preact-render-to-string/dist/commonjs.js +2 -0
  417. package/templates/static/node_modules/preact-render-to-string/dist/index.d.ts +17 -0
  418. package/templates/static/node_modules/preact-render-to-string/dist/index.js +6 -0
  419. package/templates/static/node_modules/preact-render-to-string/dist/index.js.map +1 -0
  420. package/templates/static/node_modules/preact-render-to-string/dist/index.mjs +2 -0
  421. package/templates/static/node_modules/preact-render-to-string/dist/index.module.js +2 -0
  422. package/templates/static/node_modules/preact-render-to-string/dist/index.module.js.map +1 -0
  423. package/templates/static/node_modules/preact-render-to-string/dist/index.umd.js +2 -0
  424. package/templates/static/node_modules/preact-render-to-string/dist/index.umd.js.map +1 -0
  425. package/templates/static/node_modules/preact-render-to-string/dist/internal.d.ts +35 -0
  426. package/templates/static/node_modules/preact-render-to-string/dist/jsx/commonjs.js +2 -0
  427. package/templates/static/node_modules/preact-render-to-string/dist/jsx/index.js +4 -0
  428. package/templates/static/node_modules/preact-render-to-string/dist/jsx/index.js.map +1 -0
  429. package/templates/static/node_modules/preact-render-to-string/dist/jsx/index.mjs +2 -0
  430. package/templates/static/node_modules/preact-render-to-string/dist/jsx/index.module.js +2 -0
  431. package/templates/static/node_modules/preact-render-to-string/dist/jsx/index.module.js.map +1 -0
  432. package/templates/static/node_modules/preact-render-to-string/dist/jsx/index.umd.js +2 -0
  433. package/templates/static/node_modules/preact-render-to-string/dist/jsx/index.umd.js.map +1 -0
  434. package/templates/static/node_modules/preact-render-to-string/dist/jsx.d.ts +24 -0
  435. package/templates/static/node_modules/preact-render-to-string/dist/stream/index.js +2 -0
  436. package/templates/static/node_modules/preact-render-to-string/dist/stream/index.js.map +1 -0
  437. package/templates/static/node_modules/preact-render-to-string/dist/stream/index.mjs +2 -0
  438. package/templates/static/node_modules/preact-render-to-string/dist/stream/index.module.js +2 -0
  439. package/templates/static/node_modules/preact-render-to-string/dist/stream/index.module.js.map +1 -0
  440. package/templates/static/node_modules/preact-render-to-string/dist/stream/index.umd.js +2 -0
  441. package/templates/static/node_modules/preact-render-to-string/dist/stream/index.umd.js.map +1 -0
  442. package/templates/static/node_modules/preact-render-to-string/dist/stream/node/index.js +884 -0
  443. package/templates/static/node_modules/preact-render-to-string/dist/stream/node/index.js.map +1 -0
  444. package/templates/static/node_modules/preact-render-to-string/dist/stream/node/index.mjs +884 -0
  445. package/templates/static/node_modules/preact-render-to-string/dist/stream/node/index.module.js +884 -0
  446. package/templates/static/node_modules/preact-render-to-string/dist/stream/node/index.module.js.map +1 -0
  447. package/templates/static/node_modules/preact-render-to-string/dist/stream/node/index.umd.js +888 -0
  448. package/templates/static/node_modules/preact-render-to-string/dist/stream/node/index.umd.js.map +1 -0
  449. package/templates/static/node_modules/preact-render-to-string/dist/stream-node.d.ts +19 -0
  450. package/templates/static/node_modules/preact-render-to-string/dist/stream.d.ts +10 -0
  451. package/templates/static/node_modules/preact-render-to-string/jsx.d.ts +24 -0
  452. package/templates/static/node_modules/preact-render-to-string/jsx.js +1 -0
  453. package/templates/static/node_modules/preact-render-to-string/package.json +152 -0
  454. package/templates/static/node_modules/preact-render-to-string/src/index.d.ts +17 -0
  455. package/templates/static/node_modules/preact-render-to-string/src/index.js +764 -0
  456. package/templates/static/node_modules/preact-render-to-string/src/internal.d.ts +35 -0
  457. package/templates/static/node_modules/preact-render-to-string/src/jsx.d.ts +24 -0
  458. package/templates/static/node_modules/preact-render-to-string/src/jsx.js +102 -0
  459. package/templates/static/node_modules/preact-render-to-string/src/lib/chunked.js +97 -0
  460. package/templates/static/node_modules/preact-render-to-string/src/lib/client.js +62 -0
  461. package/templates/static/node_modules/preact-render-to-string/src/lib/constants.js +20 -0
  462. package/templates/static/node_modules/preact-render-to-string/src/lib/polyfills.js +8 -0
  463. package/templates/static/node_modules/preact-render-to-string/src/lib/util.js +208 -0
  464. package/templates/static/node_modules/preact-render-to-string/src/pretty.js +491 -0
  465. package/templates/static/node_modules/preact-render-to-string/src/stream-node.d.ts +19 -0
  466. package/templates/static/node_modules/preact-render-to-string/src/stream-node.js +84 -0
  467. package/templates/static/node_modules/preact-render-to-string/src/stream.d.ts +10 -0
  468. package/templates/static/node_modules/preact-render-to-string/src/stream.js +43 -0
  469. package/templates/static/node_modules/preact-render-to-string/typings.json +5 -0
  470. package/templates/static/node_modules/sirv/build.js +197 -0
  471. package/templates/static/node_modules/sirv/build.mjs +197 -0
  472. package/templates/static/node_modules/sirv/index.d.mts +29 -0
  473. package/templates/static/node_modules/sirv/index.d.ts +33 -0
  474. package/templates/static/node_modules/sirv/package.json +40 -0
  475. package/templates/static/node_modules/sirv/readme.md +238 -0
  476. package/templates/static/node_modules/totalist/dist/index.js +24 -0
  477. package/templates/static/node_modules/totalist/dist/index.mjs +22 -0
  478. package/templates/static/node_modules/totalist/index.d.ts +3 -0
  479. package/templates/static/node_modules/totalist/license +21 -0
  480. package/templates/static/node_modules/totalist/package.json +55 -0
  481. package/templates/static/node_modules/totalist/readme.md +109 -0
  482. package/templates/static/node_modules/totalist/sync/index.d.ts +3 -0
  483. package/templates/static/node_modules/totalist/sync/index.js +17 -0
  484. package/templates/static/node_modules/totalist/sync/index.mjs +15 -0
  485. package/templates/static/node_modules/typescript/bin/tsc +2 -0
  486. package/templates/static/node_modules/typescript/bin/tsserver +2 -0
  487. package/templates/static/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +2122 -0
  488. package/templates/static/node_modules/typescript/lib/de/diagnosticMessages.generated.json +2122 -0
  489. package/templates/static/node_modules/typescript/lib/es/diagnosticMessages.generated.json +2122 -0
  490. package/templates/static/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +2122 -0
  491. package/templates/static/node_modules/typescript/lib/it/diagnosticMessages.generated.json +2122 -0
  492. package/templates/static/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +2122 -0
  493. package/templates/static/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +2122 -0
  494. package/templates/static/node_modules/typescript/lib/lib.d.ts +22 -0
  495. package/templates/static/node_modules/typescript/lib/lib.decorators.d.ts +384 -0
  496. package/templates/static/node_modules/typescript/lib/lib.decorators.legacy.d.ts +22 -0
  497. package/templates/static/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +41 -0
  498. package/templates/static/node_modules/typescript/lib/lib.dom.d.ts +39429 -0
  499. package/templates/static/node_modules/typescript/lib/lib.dom.iterable.d.ts +571 -0
  500. package/templates/static/node_modules/typescript/lib/lib.es2015.collection.d.ts +147 -0
  501. package/templates/static/node_modules/typescript/lib/lib.es2015.core.d.ts +597 -0
  502. package/templates/static/node_modules/typescript/lib/lib.es2015.d.ts +28 -0
  503. package/templates/static/node_modules/typescript/lib/lib.es2015.generator.d.ts +77 -0
  504. package/templates/static/node_modules/typescript/lib/lib.es2015.iterable.d.ts +605 -0
  505. package/templates/static/node_modules/typescript/lib/lib.es2015.promise.d.ts +81 -0
  506. package/templates/static/node_modules/typescript/lib/lib.es2015.proxy.d.ts +128 -0
  507. package/templates/static/node_modules/typescript/lib/lib.es2015.reflect.d.ts +144 -0
  508. package/templates/static/node_modules/typescript/lib/lib.es2015.symbol.d.ts +46 -0
  509. package/templates/static/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +326 -0
  510. package/templates/static/node_modules/typescript/lib/lib.es2016.array.include.d.ts +116 -0
  511. package/templates/static/node_modules/typescript/lib/lib.es2016.d.ts +21 -0
  512. package/templates/static/node_modules/typescript/lib/lib.es2016.full.d.ts +23 -0
  513. package/templates/static/node_modules/typescript/lib/lib.es2016.intl.d.ts +31 -0
  514. package/templates/static/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts +21 -0
  515. package/templates/static/node_modules/typescript/lib/lib.es2017.d.ts +26 -0
  516. package/templates/static/node_modules/typescript/lib/lib.es2017.date.d.ts +31 -0
  517. package/templates/static/node_modules/typescript/lib/lib.es2017.full.d.ts +23 -0
  518. package/templates/static/node_modules/typescript/lib/lib.es2017.intl.d.ts +44 -0
  519. package/templates/static/node_modules/typescript/lib/lib.es2017.object.d.ts +49 -0
  520. package/templates/static/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +135 -0
  521. package/templates/static/node_modules/typescript/lib/lib.es2017.string.d.ts +45 -0
  522. package/templates/static/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +53 -0
  523. package/templates/static/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +77 -0
  524. package/templates/static/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +53 -0
  525. package/templates/static/node_modules/typescript/lib/lib.es2018.d.ts +24 -0
  526. package/templates/static/node_modules/typescript/lib/lib.es2018.full.d.ts +24 -0
  527. package/templates/static/node_modules/typescript/lib/lib.es2018.intl.d.ts +83 -0
  528. package/templates/static/node_modules/typescript/lib/lib.es2018.promise.d.ts +30 -0
  529. package/templates/static/node_modules/typescript/lib/lib.es2018.regexp.d.ts +37 -0
  530. package/templates/static/node_modules/typescript/lib/lib.es2019.array.d.ts +79 -0
  531. package/templates/static/node_modules/typescript/lib/lib.es2019.d.ts +24 -0
  532. package/templates/static/node_modules/typescript/lib/lib.es2019.full.d.ts +24 -0
  533. package/templates/static/node_modules/typescript/lib/lib.es2019.intl.d.ts +23 -0
  534. package/templates/static/node_modules/typescript/lib/lib.es2019.object.d.ts +33 -0
  535. package/templates/static/node_modules/typescript/lib/lib.es2019.string.d.ts +37 -0
  536. package/templates/static/node_modules/typescript/lib/lib.es2019.symbol.d.ts +24 -0
  537. package/templates/static/node_modules/typescript/lib/lib.es2020.bigint.d.ts +765 -0
  538. package/templates/static/node_modules/typescript/lib/lib.es2020.d.ts +27 -0
  539. package/templates/static/node_modules/typescript/lib/lib.es2020.date.d.ts +42 -0
  540. package/templates/static/node_modules/typescript/lib/lib.es2020.full.d.ts +24 -0
  541. package/templates/static/node_modules/typescript/lib/lib.es2020.intl.d.ts +474 -0
  542. package/templates/static/node_modules/typescript/lib/lib.es2020.number.d.ts +28 -0
  543. package/templates/static/node_modules/typescript/lib/lib.es2020.promise.d.ts +47 -0
  544. package/templates/static/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +99 -0
  545. package/templates/static/node_modules/typescript/lib/lib.es2020.string.d.ts +44 -0
  546. package/templates/static/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +41 -0
  547. package/templates/static/node_modules/typescript/lib/lib.es2021.d.ts +23 -0
  548. package/templates/static/node_modules/typescript/lib/lib.es2021.full.d.ts +24 -0
  549. package/templates/static/node_modules/typescript/lib/lib.es2021.intl.d.ts +166 -0
  550. package/templates/static/node_modules/typescript/lib/lib.es2021.promise.d.ts +48 -0
  551. package/templates/static/node_modules/typescript/lib/lib.es2021.string.d.ts +33 -0
  552. package/templates/static/node_modules/typescript/lib/lib.es2021.weakref.d.ts +78 -0
  553. package/templates/static/node_modules/typescript/lib/lib.es2022.array.d.ts +121 -0
  554. package/templates/static/node_modules/typescript/lib/lib.es2022.d.ts +25 -0
  555. package/templates/static/node_modules/typescript/lib/lib.es2022.error.d.ts +75 -0
  556. package/templates/static/node_modules/typescript/lib/lib.es2022.full.d.ts +24 -0
  557. package/templates/static/node_modules/typescript/lib/lib.es2022.intl.d.ts +145 -0
  558. package/templates/static/node_modules/typescript/lib/lib.es2022.object.d.ts +26 -0
  559. package/templates/static/node_modules/typescript/lib/lib.es2022.regexp.d.ts +39 -0
  560. package/templates/static/node_modules/typescript/lib/lib.es2022.string.d.ts +25 -0
  561. package/templates/static/node_modules/typescript/lib/lib.es2023.array.d.ts +924 -0
  562. package/templates/static/node_modules/typescript/lib/lib.es2023.collection.d.ts +21 -0
  563. package/templates/static/node_modules/typescript/lib/lib.es2023.d.ts +22 -0
  564. package/templates/static/node_modules/typescript/lib/lib.es2023.full.d.ts +24 -0
  565. package/templates/static/node_modules/typescript/lib/lib.es2023.intl.d.ts +56 -0
  566. package/templates/static/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts +65 -0
  567. package/templates/static/node_modules/typescript/lib/lib.es2024.collection.d.ts +29 -0
  568. package/templates/static/node_modules/typescript/lib/lib.es2024.d.ts +26 -0
  569. package/templates/static/node_modules/typescript/lib/lib.es2024.full.d.ts +24 -0
  570. package/templates/static/node_modules/typescript/lib/lib.es2024.object.d.ts +29 -0
  571. package/templates/static/node_modules/typescript/lib/lib.es2024.promise.d.ts +35 -0
  572. package/templates/static/node_modules/typescript/lib/lib.es2024.regexp.d.ts +25 -0
  573. package/templates/static/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts +68 -0
  574. package/templates/static/node_modules/typescript/lib/lib.es2024.string.d.ts +29 -0
  575. package/templates/static/node_modules/typescript/lib/lib.es5.d.ts +4601 -0
  576. package/templates/static/node_modules/typescript/lib/lib.es6.d.ts +23 -0
  577. package/templates/static/node_modules/typescript/lib/lib.esnext.array.d.ts +35 -0
  578. package/templates/static/node_modules/typescript/lib/lib.esnext.collection.d.ts +96 -0
  579. package/templates/static/node_modules/typescript/lib/lib.esnext.d.ts +29 -0
  580. package/templates/static/node_modules/typescript/lib/lib.esnext.decorators.d.ts +28 -0
  581. package/templates/static/node_modules/typescript/lib/lib.esnext.disposable.d.ts +193 -0
  582. package/templates/static/node_modules/typescript/lib/lib.esnext.error.d.ts +24 -0
  583. package/templates/static/node_modules/typescript/lib/lib.esnext.float16.d.ts +445 -0
  584. package/templates/static/node_modules/typescript/lib/lib.esnext.full.d.ts +24 -0
  585. package/templates/static/node_modules/typescript/lib/lib.esnext.intl.d.ts +21 -0
  586. package/templates/static/node_modules/typescript/lib/lib.esnext.iterator.d.ts +148 -0
  587. package/templates/static/node_modules/typescript/lib/lib.esnext.promise.d.ts +34 -0
  588. package/templates/static/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts +25 -0
  589. package/templates/static/node_modules/typescript/lib/lib.scripthost.d.ts +322 -0
  590. package/templates/static/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +41 -0
  591. package/templates/static/node_modules/typescript/lib/lib.webworker.d.ts +13150 -0
  592. package/templates/static/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +23 -0
  593. package/templates/static/node_modules/typescript/lib/lib.webworker.iterable.d.ts +340 -0
  594. package/templates/static/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +2122 -0
  595. package/templates/static/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +2122 -0
  596. package/templates/static/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +2122 -0
  597. package/templates/static/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +2122 -0
  598. package/templates/static/node_modules/typescript/lib/tsc.js +8 -0
  599. package/templates/static/node_modules/typescript/lib/tsserver.js +8 -0
  600. package/templates/static/node_modules/typescript/lib/tsserverlibrary.d.ts +17 -0
  601. package/templates/static/node_modules/typescript/lib/tsserverlibrary.js +21 -0
  602. package/templates/static/node_modules/typescript/lib/typescript.d.ts +11437 -0
  603. package/templates/static/package.json +20 -0
  604. package/templates/static/server.js +130 -0
  605. package/templates/static/site/(home).tsx +12 -0
  606. package/templates/static/site/styles/global.scss +78 -0
  607. package/templates/static/tsconfig.json +39 -0
@@ -0,0 +1,2878 @@
1
+ // Users who only use Preact for SSR might not specify "dom" in their lib in tsconfig.json
2
+ /// <reference lib="dom" />
3
+
4
+ import {
5
+ ClassAttributes,
6
+ Component,
7
+ ComponentType,
8
+ FunctionComponent,
9
+ PreactDOMAttributes,
10
+ VNode
11
+ } from 'preact';
12
+
13
+ type Defaultize<Props, Defaults> =
14
+ // Distribute over unions
15
+ Props extends any // Make any properties included in Default optional
16
+ ? Partial<Pick<Props, Extract<keyof Props, keyof Defaults>>> & // Include the remaining properties from Props
17
+ Pick<Props, Exclude<keyof Props, keyof Defaults>>
18
+ : never;
19
+
20
+ type Booleanish = boolean | 'true' | 'false';
21
+
22
+ // Remove when bumping TS minimum to >5.2
23
+
24
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent) */
25
+ interface ToggleEvent extends Event {
26
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent/newState) */
27
+ readonly newState: string;
28
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent/oldState) */
29
+ readonly oldState: string;
30
+ }
31
+
32
+ declare var ToggleEvent: {
33
+ prototype: ToggleEvent;
34
+ new (type: string, eventInitDict?: ToggleEventInit): ToggleEvent;
35
+ };
36
+
37
+ interface ToggleEventInit extends EventInit {
38
+ newState?: string;
39
+ oldState?: string;
40
+ }
41
+
42
+ // End TS >5.2
43
+
44
+ /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/CommandEvent) */
45
+ interface CommandEvent extends Event {
46
+ /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/CommandEvent/source) */
47
+ readonly source: Element | null;
48
+ /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/CommandEvent/command) */
49
+ readonly command: string;
50
+ }
51
+
52
+ declare var CommandEvent: {
53
+ prototype: CommandEvent;
54
+ new (type: string, eventInitDict?: CommandEventInit): CommandEvent;
55
+ };
56
+
57
+ interface CommandEventInit extends EventInit {
58
+ source: Element | null;
59
+ command: string;
60
+ }
61
+
62
+ /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/SnapEvent) */
63
+ interface SnapEvent extends Event {
64
+ readonly snapTargetBlock: Element | null;
65
+ readonly snapTargetInline: Element | null;
66
+ }
67
+
68
+ declare var SnapEvent: {
69
+ prototype: SnapEvent;
70
+ new (type: string, eventInitDict?: SnapEventInit): SnapEvent;
71
+ }
72
+
73
+ interface SnapEventInit extends EventInit {
74
+ snapTargetBlock?: Element | null;
75
+ snapTargetInline?: Element | null;
76
+ }
77
+
78
+ export namespace JSXInternal {
79
+ export type LibraryManagedAttributes<Component, Props> = Component extends {
80
+ defaultProps: infer Defaults;
81
+ }
82
+ ? Defaultize<Props, Defaults>
83
+ : Props;
84
+
85
+ export interface IntrinsicAttributes {
86
+ key?: any;
87
+ }
88
+
89
+ export type ElementType<P = any> =
90
+ | {
91
+ [K in keyof IntrinsicElements]: P extends IntrinsicElements[K]
92
+ ? K
93
+ : never;
94
+ }[keyof IntrinsicElements]
95
+ | ComponentType<P>;
96
+ export interface Element extends VNode<any> {}
97
+ export type ElementClass = Component<any, any> | FunctionComponent<any>;
98
+
99
+ export interface ElementAttributesProperty {
100
+ props: any;
101
+ }
102
+
103
+ export interface ElementChildrenAttribute {
104
+ children: any;
105
+ }
106
+
107
+ /** @deprecated Please import from the Preact namespace instead */
108
+ export type DOMCSSProperties = {
109
+ [key in keyof Omit<
110
+ CSSStyleDeclaration,
111
+ | 'item'
112
+ | 'setProperty'
113
+ | 'removeProperty'
114
+ | 'getPropertyValue'
115
+ | 'getPropertyPriority'
116
+ >]?: string | number | null | undefined;
117
+ };
118
+ /** @deprecated Please import from the Preact namespace instead */
119
+ export type AllCSSProperties = {
120
+ [key: string]: string | number | null | undefined;
121
+ };
122
+ /** @deprecated Please import from the Preact namespace instead */
123
+ export interface CSSProperties extends AllCSSProperties, DOMCSSProperties {
124
+ cssText?: string | null;
125
+ }
126
+
127
+ /** @deprecated Please import from the Preact namespace instead */
128
+ export interface SignalLike<T> {
129
+ value: T;
130
+ peek(): T;
131
+ subscribe(fn: (value: T) => void): () => void;
132
+ }
133
+
134
+ /** @deprecated Please import from the Preact namespace instead */
135
+ export type Signalish<T> = T | SignalLike<T>;
136
+
137
+ /** @deprecated Please import from the Preact namespace instead */
138
+ export type UnpackSignal<T> = T extends SignalLike<infer V> ? V : T;
139
+
140
+ /** @deprecated Please import from the Preact namespace instead */
141
+ export interface SVGAttributes<Target extends EventTarget = SVGElement>
142
+ extends HTMLAttributes<Target> {
143
+ accentHeight?: Signalish<number | string | undefined>;
144
+ accumulate?: Signalish<'none' | 'sum' | undefined>;
145
+ additive?: Signalish<'replace' | 'sum' | undefined>;
146
+ alignmentBaseline?: Signalish<
147
+ | 'auto'
148
+ | 'baseline'
149
+ | 'before-edge'
150
+ | 'text-before-edge'
151
+ | 'middle'
152
+ | 'central'
153
+ | 'after-edge'
154
+ | 'text-after-edge'
155
+ | 'ideographic'
156
+ | 'alphabetic'
157
+ | 'hanging'
158
+ | 'mathematical'
159
+ | 'inherit'
160
+ | undefined
161
+ >;
162
+ 'alignment-baseline'?: Signalish<
163
+ | 'auto'
164
+ | 'baseline'
165
+ | 'before-edge'
166
+ | 'text-before-edge'
167
+ | 'middle'
168
+ | 'central'
169
+ | 'after-edge'
170
+ | 'text-after-edge'
171
+ | 'ideographic'
172
+ | 'alphabetic'
173
+ | 'hanging'
174
+ | 'mathematical'
175
+ | 'inherit'
176
+ | undefined
177
+ >;
178
+ allowReorder?: Signalish<'no' | 'yes' | undefined>;
179
+ 'allow-reorder'?: Signalish<'no' | 'yes' | undefined>;
180
+ alphabetic?: Signalish<number | string | undefined>;
181
+ amplitude?: Signalish<number | string | undefined>;
182
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/arabic-form */
183
+ arabicForm?: Signalish<
184
+ 'initial' | 'medial' | 'terminal' | 'isolated' | undefined
185
+ >;
186
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/arabic-form */
187
+ 'arabic-form'?: Signalish<
188
+ 'initial' | 'medial' | 'terminal' | 'isolated' | undefined
189
+ >;
190
+ ascent?: Signalish<number | string | undefined>;
191
+ attributeName?: Signalish<string | undefined>;
192
+ attributeType?: Signalish<string | undefined>;
193
+ azimuth?: Signalish<number | string | undefined>;
194
+ baseFrequency?: Signalish<number | string | undefined>;
195
+ baselineShift?: Signalish<number | string | undefined>;
196
+ 'baseline-shift'?: Signalish<number | string | undefined>;
197
+ baseProfile?: Signalish<number | string | undefined>;
198
+ bbox?: Signalish<number | string | undefined>;
199
+ begin?: Signalish<number | string | undefined>;
200
+ bias?: Signalish<number | string | undefined>;
201
+ by?: Signalish<number | string | undefined>;
202
+ calcMode?: Signalish<number | string | undefined>;
203
+ capHeight?: Signalish<number | string | undefined>;
204
+ 'cap-height'?: Signalish<number | string | undefined>;
205
+ clip?: Signalish<number | string | undefined>;
206
+ clipPath?: Signalish<string | undefined>;
207
+ 'clip-path'?: Signalish<string | undefined>;
208
+ clipPathUnits?: Signalish<number | string | undefined>;
209
+ clipRule?: Signalish<number | string | undefined>;
210
+ 'clip-rule'?: Signalish<number | string | undefined>;
211
+ colorInterpolation?: Signalish<number | string | undefined>;
212
+ 'color-interpolation'?: Signalish<number | string | undefined>;
213
+ colorInterpolationFilters?: Signalish<
214
+ 'auto' | 'sRGB' | 'linearRGB' | 'inherit' | undefined
215
+ >;
216
+ 'color-interpolation-filters'?: Signalish<
217
+ 'auto' | 'sRGB' | 'linearRGB' | 'inherit' | undefined
218
+ >;
219
+ colorProfile?: Signalish<number | string | undefined>;
220
+ 'color-profile'?: Signalish<number | string | undefined>;
221
+ colorRendering?: Signalish<number | string | undefined>;
222
+ 'color-rendering'?: Signalish<number | string | undefined>;
223
+ contentScriptType?: Signalish<number | string | undefined>;
224
+ 'content-script-type'?: Signalish<number | string | undefined>;
225
+ contentStyleType?: Signalish<number | string | undefined>;
226
+ 'content-style-type'?: Signalish<number | string | undefined>;
227
+ cursor?: Signalish<number | string | undefined>;
228
+ cx?: Signalish<number | string | undefined>;
229
+ cy?: Signalish<number | string | undefined>;
230
+ d?: Signalish<string | undefined>;
231
+ decelerate?: Signalish<number | string | undefined>;
232
+ descent?: Signalish<number | string | undefined>;
233
+ diffuseConstant?: Signalish<number | string | undefined>;
234
+ direction?: Signalish<number | string | undefined>;
235
+ display?: Signalish<number | string | undefined>;
236
+ divisor?: Signalish<number | string | undefined>;
237
+ dominantBaseline?: Signalish<number | string | undefined>;
238
+ 'dominant-baseline'?: Signalish<number | string | undefined>;
239
+ dur?: Signalish<number | string | undefined>;
240
+ dx?: Signalish<number | string | undefined>;
241
+ dy?: Signalish<number | string | undefined>;
242
+ edgeMode?: Signalish<number | string | undefined>;
243
+ elevation?: Signalish<number | string | undefined>;
244
+ enableBackground?: Signalish<number | string | undefined>;
245
+ 'enable-background'?: Signalish<number | string | undefined>;
246
+ end?: Signalish<number | string | undefined>;
247
+ exponent?: Signalish<number | string | undefined>;
248
+ externalResourcesRequired?: Signalish<number | string | undefined>;
249
+ fill?: Signalish<string | undefined>;
250
+ fillOpacity?: Signalish<number | string | undefined>;
251
+ 'fill-opacity'?: Signalish<number | string | undefined>;
252
+ fillRule?: Signalish<'nonzero' | 'evenodd' | 'inherit' | undefined>;
253
+ 'fill-rule'?: Signalish<'nonzero' | 'evenodd' | 'inherit' | undefined>;
254
+ filter?: Signalish<string | undefined>;
255
+ filterRes?: Signalish<number | string | undefined>;
256
+ filterUnits?: Signalish<number | string | undefined>;
257
+ floodColor?: Signalish<number | string | undefined>;
258
+ 'flood-color'?: Signalish<number | string | undefined>;
259
+ floodOpacity?: Signalish<number | string | undefined>;
260
+ 'flood-opacity'?: Signalish<number | string | undefined>;
261
+ focusable?: Signalish<number | string | undefined>;
262
+ fontFamily?: Signalish<string | undefined>;
263
+ 'font-family'?: Signalish<string | undefined>;
264
+ fontSize?: Signalish<number | string | undefined>;
265
+ 'font-size'?: Signalish<number | string | undefined>;
266
+ fontSizeAdjust?: Signalish<number | string | undefined>;
267
+ 'font-size-adjust'?: Signalish<number | string | undefined>;
268
+ fontStretch?: Signalish<number | string | undefined>;
269
+ 'font-stretch'?: Signalish<number | string | undefined>;
270
+ fontStyle?: Signalish<number | string | undefined>;
271
+ 'font-style'?: Signalish<number | string | undefined>;
272
+ fontVariant?: Signalish<number | string | undefined>;
273
+ 'font-variant'?: Signalish<number | string | undefined>;
274
+ fontWeight?: Signalish<number | string | undefined>;
275
+ 'font-weight'?: Signalish<number | string | undefined>;
276
+ format?: Signalish<number | string | undefined>;
277
+ from?: Signalish<number | string | undefined>;
278
+ fx?: Signalish<number | string | undefined>;
279
+ fy?: Signalish<number | string | undefined>;
280
+ g1?: Signalish<number | string | undefined>;
281
+ g2?: Signalish<number | string | undefined>;
282
+ glyphName?: Signalish<number | string | undefined>;
283
+ 'glyph-name'?: Signalish<number | string | undefined>;
284
+ glyphOrientationHorizontal?: Signalish<number | string | undefined>;
285
+ 'glyph-orientation-horizontal'?: Signalish<number | string | undefined>;
286
+ glyphOrientationVertical?: Signalish<number | string | undefined>;
287
+ 'glyph-orientation-vertical'?: Signalish<number | string | undefined>;
288
+ glyphRef?: Signalish<number | string | undefined>;
289
+ gradientTransform?: Signalish<string | undefined>;
290
+ gradientUnits?: Signalish<string | undefined>;
291
+ hanging?: Signalish<number | string | undefined>;
292
+ height?: Signalish<number | string | undefined>;
293
+ horizAdvX?: Signalish<number | string | undefined>;
294
+ 'horiz-adv-x'?: Signalish<number | string | undefined>;
295
+ horizOriginX?: Signalish<number | string | undefined>;
296
+ 'horiz-origin-x'?: Signalish<number | string | undefined>;
297
+ href?: Signalish<string | undefined>;
298
+ hreflang?: Signalish<string | undefined>;
299
+ hrefLang?: Signalish<string | undefined>;
300
+ ideographic?: Signalish<number | string | undefined>;
301
+ imageRendering?: Signalish<number | string | undefined>;
302
+ 'image-rendering'?: Signalish<number | string | undefined>;
303
+ in2?: Signalish<number | string | undefined>;
304
+ in?: Signalish<string | undefined>;
305
+ intercept?: Signalish<number | string | undefined>;
306
+ k1?: Signalish<number | string | undefined>;
307
+ k2?: Signalish<number | string | undefined>;
308
+ k3?: Signalish<number | string | undefined>;
309
+ k4?: Signalish<number | string | undefined>;
310
+ k?: Signalish<number | string | undefined>;
311
+ kernelMatrix?: Signalish<number | string | undefined>;
312
+ kernelUnitLength?: Signalish<number | string | undefined>;
313
+ kerning?: Signalish<number | string | undefined>;
314
+ keyPoints?: Signalish<number | string | undefined>;
315
+ keySplines?: Signalish<number | string | undefined>;
316
+ keyTimes?: Signalish<number | string | undefined>;
317
+ lengthAdjust?: Signalish<number | string | undefined>;
318
+ letterSpacing?: Signalish<number | string | undefined>;
319
+ 'letter-spacing'?: Signalish<number | string | undefined>;
320
+ lightingColor?: Signalish<number | string | undefined>;
321
+ 'lighting-color'?: Signalish<number | string | undefined>;
322
+ limitingConeAngle?: Signalish<number | string | undefined>;
323
+ local?: Signalish<number | string | undefined>;
324
+ markerEnd?: Signalish<string | undefined>;
325
+ 'marker-end'?: Signalish<string | undefined>;
326
+ markerHeight?: Signalish<number | string | undefined>;
327
+ markerMid?: Signalish<string | undefined>;
328
+ 'marker-mid'?: Signalish<string | undefined>;
329
+ markerStart?: Signalish<string | undefined>;
330
+ 'marker-start'?: Signalish<string | undefined>;
331
+ markerUnits?: Signalish<number | string | undefined>;
332
+ markerWidth?: Signalish<number | string | undefined>;
333
+ mask?: Signalish<string | undefined>;
334
+ maskContentUnits?: Signalish<number | string | undefined>;
335
+ maskUnits?: Signalish<number | string | undefined>;
336
+ mathematical?: Signalish<number | string | undefined>;
337
+ mode?: Signalish<number | string | undefined>;
338
+ numOctaves?: Signalish<number | string | undefined>;
339
+ offset?: Signalish<number | string | undefined>;
340
+ opacity?: Signalish<number | string | undefined>;
341
+ operator?: Signalish<number | string | undefined>;
342
+ order?: Signalish<number | string | undefined>;
343
+ orient?: Signalish<number | string | undefined>;
344
+ orientation?: Signalish<number | string | undefined>;
345
+ origin?: Signalish<number | string | undefined>;
346
+ overflow?: Signalish<number | string | undefined>;
347
+ overlinePosition?: Signalish<number | string | undefined>;
348
+ 'overline-position'?: Signalish<number | string | undefined>;
349
+ overlineThickness?: Signalish<number | string | undefined>;
350
+ 'overline-thickness'?: Signalish<number | string | undefined>;
351
+ paintOrder?: Signalish<number | string | undefined>;
352
+ 'paint-order'?: Signalish<number | string | undefined>;
353
+ panose1?: Signalish<number | string | undefined>;
354
+ 'panose-1'?: Signalish<number | string | undefined>;
355
+ pathLength?: Signalish<number | string | undefined>;
356
+ patternContentUnits?: Signalish<string | undefined>;
357
+ patternTransform?: Signalish<number | string | undefined>;
358
+ patternUnits?: Signalish<string | undefined>;
359
+ pointerEvents?: Signalish<number | string | undefined>;
360
+ 'pointer-events'?: Signalish<number | string | undefined>;
361
+ points?: Signalish<string | undefined>;
362
+ pointsAtX?: Signalish<number | string | undefined>;
363
+ pointsAtY?: Signalish<number | string | undefined>;
364
+ pointsAtZ?: Signalish<number | string | undefined>;
365
+ preserveAlpha?: Signalish<number | string | undefined>;
366
+ preserveAspectRatio?: Signalish<string | undefined>;
367
+ primitiveUnits?: Signalish<number | string | undefined>;
368
+ r?: Signalish<number | string | undefined>;
369
+ radius?: Signalish<number | string | undefined>;
370
+ refX?: Signalish<number | string | undefined>;
371
+ refY?: Signalish<number | string | undefined>;
372
+ renderingIntent?: Signalish<number | string | undefined>;
373
+ 'rendering-intent'?: Signalish<number | string | undefined>;
374
+ repeatCount?: Signalish<number | string | undefined>;
375
+ 'repeat-count'?: Signalish<number | string | undefined>;
376
+ repeatDur?: Signalish<number | string | undefined>;
377
+ 'repeat-dur'?: Signalish<number | string | undefined>;
378
+ requiredExtensions?: Signalish<number | string | undefined>;
379
+ requiredFeatures?: Signalish<number | string | undefined>;
380
+ restart?: Signalish<number | string | undefined>;
381
+ result?: Signalish<string | undefined>;
382
+ rotate?: Signalish<number | string | undefined>;
383
+ rx?: Signalish<number | string | undefined>;
384
+ ry?: Signalish<number | string | undefined>;
385
+ scale?: Signalish<number | string | undefined>;
386
+ seed?: Signalish<number | string | undefined>;
387
+ shapeRendering?: Signalish<number | string | undefined>;
388
+ 'shape-rendering'?: Signalish<number | string | undefined>;
389
+ slope?: Signalish<number | string | undefined>;
390
+ spacing?: Signalish<number | string | undefined>;
391
+ specularConstant?: Signalish<number | string | undefined>;
392
+ specularExponent?: Signalish<number | string | undefined>;
393
+ speed?: Signalish<number | string | undefined>;
394
+ spreadMethod?: Signalish<string | undefined>;
395
+ startOffset?: Signalish<number | string | undefined>;
396
+ stdDeviation?: Signalish<number | string | undefined>;
397
+ stemh?: Signalish<number | string | undefined>;
398
+ stemv?: Signalish<number | string | undefined>;
399
+ stitchTiles?: Signalish<number | string | undefined>;
400
+ stopColor?: Signalish<string | undefined>;
401
+ 'stop-color'?: Signalish<string | undefined>;
402
+ stopOpacity?: Signalish<number | string | undefined>;
403
+ 'stop-opacity'?: Signalish<number | string | undefined>;
404
+ strikethroughPosition?: Signalish<number | string | undefined>;
405
+ 'strikethrough-position'?: Signalish<number | string | undefined>;
406
+ strikethroughThickness?: Signalish<number | string | undefined>;
407
+ 'strikethrough-thickness'?: Signalish<number | string | undefined>;
408
+ string?: Signalish<number | string | undefined>;
409
+ stroke?: Signalish<string | undefined>;
410
+ strokeDasharray?: Signalish<string | number | undefined>;
411
+ 'stroke-dasharray'?: Signalish<string | number | undefined>;
412
+ strokeDashoffset?: Signalish<string | number | undefined>;
413
+ 'stroke-dashoffset'?: Signalish<string | number | undefined>;
414
+ strokeLinecap?: Signalish<
415
+ 'butt' | 'round' | 'square' | 'inherit' | undefined
416
+ >;
417
+ 'stroke-linecap'?: Signalish<
418
+ 'butt' | 'round' | 'square' | 'inherit' | undefined
419
+ >;
420
+ strokeLinejoin?: Signalish<
421
+ 'miter' | 'round' | 'bevel' | 'inherit' | undefined
422
+ >;
423
+ 'stroke-linejoin'?: Signalish<
424
+ 'miter' | 'round' | 'bevel' | 'inherit' | undefined
425
+ >;
426
+ strokeMiterlimit?: Signalish<string | number | undefined>;
427
+ 'stroke-miterlimit'?: Signalish<string | number | undefined>;
428
+ strokeOpacity?: Signalish<number | string | undefined>;
429
+ 'stroke-opacity'?: Signalish<number | string | undefined>;
430
+ strokeWidth?: Signalish<number | string | undefined>;
431
+ 'stroke-width'?: Signalish<number | string | undefined>;
432
+ surfaceScale?: Signalish<number | string | undefined>;
433
+ systemLanguage?: Signalish<number | string | undefined>;
434
+ tableValues?: Signalish<number | string | undefined>;
435
+ targetX?: Signalish<number | string | undefined>;
436
+ targetY?: Signalish<number | string | undefined>;
437
+ textAnchor?: Signalish<string | undefined>;
438
+ 'text-anchor'?: Signalish<string | undefined>;
439
+ textDecoration?: Signalish<number | string | undefined>;
440
+ 'text-decoration'?: Signalish<number | string | undefined>;
441
+ textLength?: Signalish<number | string | undefined>;
442
+ textRendering?: Signalish<number | string | undefined>;
443
+ 'text-rendering'?: Signalish<number | string | undefined>;
444
+ to?: Signalish<number | string | undefined>;
445
+ transform?: Signalish<string | undefined>;
446
+ transformOrigin?: Signalish<string | undefined>;
447
+ 'transform-origin'?: Signalish<string | undefined>;
448
+ type?: Signalish<string | undefined>;
449
+ u1?: Signalish<number | string | undefined>;
450
+ u2?: Signalish<number | string | undefined>;
451
+ underlinePosition?: Signalish<number | string | undefined>;
452
+ 'underline-position'?: Signalish<number | string | undefined>;
453
+ underlineThickness?: Signalish<number | string | undefined>;
454
+ 'underline-thickness'?: Signalish<number | string | undefined>;
455
+ unicode?: Signalish<number | string | undefined>;
456
+ unicodeBidi?: Signalish<number | string | undefined>;
457
+ 'unicode-bidi'?: Signalish<number | string | undefined>;
458
+ unicodeRange?: Signalish<number | string | undefined>;
459
+ 'unicode-range'?: Signalish<number | string | undefined>;
460
+ unitsPerEm?: Signalish<number | string | undefined>;
461
+ 'units-per-em'?: Signalish<number | string | undefined>;
462
+ vAlphabetic?: Signalish<number | string | undefined>;
463
+ 'v-alphabetic'?: Signalish<number | string | undefined>;
464
+ values?: Signalish<string | undefined>;
465
+ vectorEffect?: Signalish<number | string | undefined>;
466
+ 'vector-effect'?: Signalish<number | string | undefined>;
467
+ version?: Signalish<string | undefined>;
468
+ vertAdvY?: Signalish<number | string | undefined>;
469
+ 'vert-adv-y'?: Signalish<number | string | undefined>;
470
+ vertOriginX?: Signalish<number | string | undefined>;
471
+ 'vert-origin-x'?: Signalish<number | string | undefined>;
472
+ vertOriginY?: Signalish<number | string | undefined>;
473
+ 'vert-origin-y'?: Signalish<number | string | undefined>;
474
+ vHanging?: Signalish<number | string | undefined>;
475
+ 'v-hanging'?: Signalish<number | string | undefined>;
476
+ vIdeographic?: Signalish<number | string | undefined>;
477
+ 'v-ideographic'?: Signalish<number | string | undefined>;
478
+ viewBox?: Signalish<string | undefined>;
479
+ viewTarget?: Signalish<number | string | undefined>;
480
+ visibility?: Signalish<number | string | undefined>;
481
+ vMathematical?: Signalish<number | string | undefined>;
482
+ 'v-mathematical'?: Signalish<number | string | undefined>;
483
+ width?: Signalish<number | string | undefined>;
484
+ wordSpacing?: Signalish<number | string | undefined>;
485
+ 'word-spacing'?: Signalish<number | string | undefined>;
486
+ writingMode?: Signalish<number | string | undefined>;
487
+ 'writing-mode'?: Signalish<number | string | undefined>;
488
+ x1?: Signalish<number | string | undefined>;
489
+ x2?: Signalish<number | string | undefined>;
490
+ x?: Signalish<number | string | undefined>;
491
+ xChannelSelector?: Signalish<string | undefined>;
492
+ xHeight?: Signalish<number | string | undefined>;
493
+ 'x-height'?: Signalish<number | string | undefined>;
494
+ xlinkActuate?: Signalish<string | undefined>;
495
+ 'xlink:actuate'?: Signalish<SVGAttributes['xlinkActuate']>;
496
+ xlinkArcrole?: Signalish<string | undefined>;
497
+ 'xlink:arcrole'?: Signalish<string | undefined>;
498
+ xlinkHref?: Signalish<string | undefined>;
499
+ 'xlink:href'?: Signalish<string | undefined>;
500
+ xlinkRole?: Signalish<string | undefined>;
501
+ 'xlink:role'?: Signalish<string | undefined>;
502
+ xlinkShow?: Signalish<string | undefined>;
503
+ 'xlink:show'?: Signalish<string | undefined>;
504
+ xlinkTitle?: Signalish<string | undefined>;
505
+ 'xlink:title'?: Signalish<string | undefined>;
506
+ xlinkType?: Signalish<string | undefined>;
507
+ 'xlink:type'?: Signalish<string | undefined>;
508
+ xmlBase?: Signalish<string | undefined>;
509
+ 'xml:base'?: Signalish<string | undefined>;
510
+ xmlLang?: Signalish<string | undefined>;
511
+ 'xml:lang'?: Signalish<string | undefined>;
512
+ xmlns?: Signalish<string | undefined>;
513
+ xmlnsXlink?: Signalish<string | undefined>;
514
+ xmlSpace?: Signalish<string | undefined>;
515
+ 'xml:space'?: Signalish<string | undefined>;
516
+ y1?: Signalish<number | string | undefined>;
517
+ y2?: Signalish<number | string | undefined>;
518
+ y?: Signalish<number | string | undefined>;
519
+ yChannelSelector?: Signalish<string | undefined>;
520
+ z?: Signalish<number | string | undefined>;
521
+ zoomAndPan?: Signalish<string | undefined>;
522
+ }
523
+
524
+ /** @deprecated Please import from the Preact namespace instead */
525
+ export interface PathAttributes {
526
+ d: string;
527
+ }
528
+
529
+ /** @deprecated Please import from the Preact namespace instead */
530
+ export type TargetedEvent<
531
+ Target extends EventTarget = EventTarget,
532
+ TypedEvent extends Event = Event
533
+ > = Omit<TypedEvent, 'currentTarget'> & {
534
+ readonly currentTarget: Target;
535
+ };
536
+
537
+ /** @deprecated Please import from the Preact namespace instead */
538
+ export type TargetedAnimationEvent<Target extends EventTarget> =
539
+ TargetedEvent<Target, AnimationEvent>;
540
+ /** @deprecated Please import from the Preact namespace instead */
541
+ export type TargetedClipboardEvent<Target extends EventTarget> =
542
+ TargetedEvent<Target, ClipboardEvent>;
543
+ /** @deprecated Please import from the Preact namespace instead */
544
+ export type TargetedCommandEvent<Target extends EventTarget> = TargetedEvent<
545
+ Target,
546
+ CommandEvent
547
+ >;
548
+ /** @deprecated Please import from the Preact namespace instead */
549
+ export type TargetedCompositionEvent<Target extends EventTarget> =
550
+ TargetedEvent<Target, CompositionEvent>;
551
+ /** @deprecated Please import from the Preact namespace instead */
552
+ export type TargetedDragEvent<Target extends EventTarget> = TargetedEvent<
553
+ Target,
554
+ DragEvent
555
+ >;
556
+ /** @deprecated Please import from the Preact namespace instead */
557
+ export type TargetedFocusEvent<Target extends EventTarget> = TargetedEvent<
558
+ Target,
559
+ FocusEvent
560
+ >;
561
+ /** @deprecated Please import from the Preact namespace instead */
562
+ export type TargetedInputEvent<Target extends EventTarget> = TargetedEvent<
563
+ Target,
564
+ InputEvent
565
+ >;
566
+ /** @deprecated Please import from the Preact namespace instead */
567
+ export type TargetedKeyboardEvent<Target extends EventTarget> = TargetedEvent<
568
+ Target,
569
+ KeyboardEvent
570
+ >;
571
+ /** @deprecated Please import from the Preact namespace instead */
572
+ export type TargetedMouseEvent<Target extends EventTarget> = TargetedEvent<
573
+ Target,
574
+ MouseEvent
575
+ >;
576
+ /** @deprecated Please import from the Preact namespace instead */
577
+ export type TargetedPointerEvent<Target extends EventTarget> = TargetedEvent<
578
+ Target,
579
+ PointerEvent
580
+ >;
581
+ /** @deprecated Please import from the Preact namespace instead */
582
+ export type TargetedSnapEvent<Target extends EventTarget> = TargetedEvent<
583
+ Target,
584
+ SnapEvent
585
+ >;
586
+ /** @deprecated Please import from the Preact namespace instead */
587
+ export type TargetedSubmitEvent<Target extends EventTarget> = TargetedEvent<
588
+ Target,
589
+ SubmitEvent
590
+ >;
591
+ /** @deprecated Please import from the Preact namespace instead */
592
+ export type TargetedTouchEvent<Target extends EventTarget> = TargetedEvent<
593
+ Target,
594
+ TouchEvent
595
+ >;
596
+ /** @deprecated Please import from the Preact namespace instead */
597
+ export type TargetedToggleEvent<Target extends EventTarget> = TargetedEvent<
598
+ Target,
599
+ ToggleEvent
600
+ >;
601
+ /** @deprecated Please import from the Preact namespace instead */
602
+ export type TargetedTransitionEvent<Target extends EventTarget> =
603
+ TargetedEvent<Target, TransitionEvent>;
604
+ /** @deprecated Please import from the Preact namespace instead */
605
+ export type TargetedUIEvent<Target extends EventTarget> = TargetedEvent<
606
+ Target,
607
+ UIEvent
608
+ >;
609
+ /** @deprecated Please import from the Preact namespace instead */
610
+ export type TargetedWheelEvent<Target extends EventTarget> = TargetedEvent<
611
+ Target,
612
+ WheelEvent
613
+ >;
614
+ /** @deprecated Please import from the Preact namespace instead */
615
+ export type TargetedPictureInPictureEvent<Target extends EventTarget> =
616
+ TargetedEvent<Target, PictureInPictureEvent>;
617
+
618
+ /** @deprecated Please import from the Preact namespace instead */
619
+ export type EventHandler<E extends TargetedEvent> = {
620
+ bivarianceHack(event: E): void;
621
+ }['bivarianceHack'];
622
+
623
+ /** @deprecated Please import from the Preact namespace instead */
624
+ export type AnimationEventHandler<Target extends EventTarget> = EventHandler<
625
+ TargetedAnimationEvent<Target>
626
+ >;
627
+ /** @deprecated Please import from the Preact namespace instead */
628
+ export type ClipboardEventHandler<Target extends EventTarget> = EventHandler<
629
+ TargetedClipboardEvent<Target>
630
+ >;
631
+ /** @deprecated Please import from the Preact namespace instead */
632
+ export type CommandEventHandler<Target extends EventTarget> = EventHandler<
633
+ TargetedCommandEvent<Target>
634
+ >;
635
+ /** @deprecated Please import from the Preact namespace instead */
636
+ export type CompositionEventHandler<Target extends EventTarget> =
637
+ EventHandler<TargetedCompositionEvent<Target>>;
638
+ /** @deprecated Please import from the Preact namespace instead */
639
+ export type DragEventHandler<Target extends EventTarget> = EventHandler<
640
+ TargetedDragEvent<Target>
641
+ >;
642
+ /** @deprecated Please import from the Preact namespace instead */
643
+ export type ToggleEventHandler<Target extends EventTarget> = EventHandler<
644
+ TargetedToggleEvent<Target>
645
+ >;
646
+ /** @deprecated Please import from the Preact namespace instead */
647
+ export type FocusEventHandler<Target extends EventTarget> = EventHandler<
648
+ TargetedFocusEvent<Target>
649
+ >;
650
+ /** @deprecated Please import from the Preact namespace instead */
651
+ export type GenericEventHandler<Target extends EventTarget> = EventHandler<
652
+ TargetedEvent<Target>
653
+ >;
654
+ /** @deprecated Please import from the Preact namespace instead */
655
+ export type InputEventHandler<Target extends EventTarget> = EventHandler<
656
+ TargetedInputEvent<Target>
657
+ >;
658
+ /** @deprecated Please import from the Preact namespace instead */
659
+ export type KeyboardEventHandler<Target extends EventTarget> = EventHandler<
660
+ TargetedKeyboardEvent<Target>
661
+ >;
662
+ /** @deprecated Please import from the Preact namespace instead */
663
+ export type MouseEventHandler<Target extends EventTarget> = EventHandler<
664
+ TargetedMouseEvent<Target>
665
+ >;
666
+ /** @deprecated Please import from the Preact namespace instead */
667
+ export type PointerEventHandler<Target extends EventTarget> = EventHandler<
668
+ TargetedPointerEvent<Target>
669
+ >;
670
+ /** @deprecated Please import from the Preact namespace instead */
671
+ export type SnapEventHandler<Target extends EventTarget> = EventHandler<
672
+ TargetedSnapEvent<Target>
673
+ >;
674
+ /** @deprecated Please import from the Preact namespace instead */
675
+ export type SubmitEventHandler<Target extends EventTarget> = EventHandler<
676
+ TargetedSubmitEvent<Target>
677
+ >;
678
+ /** @deprecated Please import from the Preact namespace instead */
679
+ export type TouchEventHandler<Target extends EventTarget> = EventHandler<
680
+ TargetedTouchEvent<Target>
681
+ >;
682
+ /** @deprecated Please import from the Preact namespace instead */
683
+ export type TransitionEventHandler<Target extends EventTarget> = EventHandler<
684
+ TargetedTransitionEvent<Target>
685
+ >;
686
+ /** @deprecated Please import from the Preact namespace instead */
687
+ export type UIEventHandler<Target extends EventTarget> = EventHandler<
688
+ TargetedUIEvent<Target>
689
+ >;
690
+ /** @deprecated Please import from the Preact namespace instead */
691
+ export type WheelEventHandler<Target extends EventTarget> = EventHandler<
692
+ TargetedWheelEvent<Target>
693
+ >;
694
+ /** @deprecated Please import from the Preact namespace instead */
695
+ export type PictureInPictureEventHandler<Target extends EventTarget> =
696
+ EventHandler<TargetedPictureInPictureEvent<Target>>;
697
+
698
+ /** @deprecated Please import from the Preact namespace instead */
699
+ export interface DOMAttributes<Target extends EventTarget>
700
+ extends PreactDOMAttributes {
701
+ // Image Events
702
+ onLoad?: GenericEventHandler<Target> | undefined;
703
+ onLoadCapture?: GenericEventHandler<Target> | undefined;
704
+ onError?: GenericEventHandler<Target> | undefined;
705
+ onErrorCapture?: GenericEventHandler<Target> | undefined;
706
+
707
+ // Clipboard Events
708
+ onCopy?: ClipboardEventHandler<Target> | undefined;
709
+ onCopyCapture?: ClipboardEventHandler<Target> | undefined;
710
+ onCut?: ClipboardEventHandler<Target> | undefined;
711
+ onCutCapture?: ClipboardEventHandler<Target> | undefined;
712
+ onPaste?: ClipboardEventHandler<Target> | undefined;
713
+ onPasteCapture?: ClipboardEventHandler<Target> | undefined;
714
+
715
+ // Composition Events
716
+ onCompositionEnd?: CompositionEventHandler<Target> | undefined;
717
+ onCompositionEndCapture?: CompositionEventHandler<Target> | undefined;
718
+ onCompositionStart?: CompositionEventHandler<Target> | undefined;
719
+ onCompositionStartCapture?: CompositionEventHandler<Target> | undefined;
720
+ onCompositionUpdate?: CompositionEventHandler<Target> | undefined;
721
+ onCompositionUpdateCapture?: CompositionEventHandler<Target> | undefined;
722
+
723
+ // Popover Events
724
+ onBeforeToggle?: ToggleEventHandler<Target> | undefined;
725
+ onToggle?: ToggleEventHandler<Target> | undefined;
726
+
727
+ // Dialog Events
728
+ onClose?: GenericEventHandler<Target> | undefined;
729
+ onCancel?: GenericEventHandler<Target> | undefined;
730
+
731
+ // Focus Events
732
+ onFocus?: FocusEventHandler<Target> | undefined;
733
+ onFocusCapture?: FocusEventHandler<Target> | undefined;
734
+ onFocusIn?: FocusEventHandler<Target> | undefined;
735
+ onFocusInCapture?: FocusEventHandler<Target> | undefined;
736
+ onFocusOut?: FocusEventHandler<Target> | undefined;
737
+ onFocusOutCapture?: FocusEventHandler<Target> | undefined;
738
+ onBlur?: FocusEventHandler<Target> | undefined;
739
+ onBlurCapture?: FocusEventHandler<Target> | undefined;
740
+
741
+ // Form Events
742
+ onChange?: GenericEventHandler<Target> | undefined;
743
+ onChangeCapture?: GenericEventHandler<Target> | undefined;
744
+ onInput?: InputEventHandler<Target> | undefined;
745
+ onInputCapture?: InputEventHandler<Target> | undefined;
746
+ onBeforeInput?: InputEventHandler<Target> | undefined;
747
+ onBeforeInputCapture?: InputEventHandler<Target> | undefined;
748
+ onSearch?: GenericEventHandler<Target> | undefined;
749
+ onSearchCapture?: GenericEventHandler<Target> | undefined;
750
+ onSubmit?: SubmitEventHandler<Target> | undefined;
751
+ onSubmitCapture?: SubmitEventHandler<Target> | undefined;
752
+ onInvalid?: GenericEventHandler<Target> | undefined;
753
+ onInvalidCapture?: GenericEventHandler<Target> | undefined;
754
+ onReset?: GenericEventHandler<Target> | undefined;
755
+ onResetCapture?: GenericEventHandler<Target> | undefined;
756
+ onFormData?: GenericEventHandler<Target> | undefined;
757
+ onFormDataCapture?: GenericEventHandler<Target> | undefined;
758
+
759
+ // Keyboard Events
760
+ onKeyDown?: KeyboardEventHandler<Target> | undefined;
761
+ onKeyDownCapture?: KeyboardEventHandler<Target> | undefined;
762
+ onKeyPress?: KeyboardEventHandler<Target> | undefined;
763
+ onKeyPressCapture?: KeyboardEventHandler<Target> | undefined;
764
+ onKeyUp?: KeyboardEventHandler<Target> | undefined;
765
+ onKeyUpCapture?: KeyboardEventHandler<Target> | undefined;
766
+
767
+ // Media Events
768
+ onAbort?: GenericEventHandler<Target> | undefined;
769
+ onAbortCapture?: GenericEventHandler<Target> | undefined;
770
+ onCanPlay?: GenericEventHandler<Target> | undefined;
771
+ onCanPlayCapture?: GenericEventHandler<Target> | undefined;
772
+ onCanPlayThrough?: GenericEventHandler<Target> | undefined;
773
+ onCanPlayThroughCapture?: GenericEventHandler<Target> | undefined;
774
+ onDurationChange?: GenericEventHandler<Target> | undefined;
775
+ onDurationChangeCapture?: GenericEventHandler<Target> | undefined;
776
+ onEmptied?: GenericEventHandler<Target> | undefined;
777
+ onEmptiedCapture?: GenericEventHandler<Target> | undefined;
778
+ onEncrypted?: GenericEventHandler<Target> | undefined;
779
+ onEncryptedCapture?: GenericEventHandler<Target> | undefined;
780
+ onEnded?: GenericEventHandler<Target> | undefined;
781
+ onEndedCapture?: GenericEventHandler<Target> | undefined;
782
+ onLoadedData?: GenericEventHandler<Target> | undefined;
783
+ onLoadedDataCapture?: GenericEventHandler<Target> | undefined;
784
+ onLoadedMetadata?: GenericEventHandler<Target> | undefined;
785
+ onLoadedMetadataCapture?: GenericEventHandler<Target> | undefined;
786
+ onLoadStart?: GenericEventHandler<Target> | undefined;
787
+ onLoadStartCapture?: GenericEventHandler<Target> | undefined;
788
+ onPause?: GenericEventHandler<Target> | undefined;
789
+ onPauseCapture?: GenericEventHandler<Target> | undefined;
790
+ onPlay?: GenericEventHandler<Target> | undefined;
791
+ onPlayCapture?: GenericEventHandler<Target> | undefined;
792
+ onPlaying?: GenericEventHandler<Target> | undefined;
793
+ onPlayingCapture?: GenericEventHandler<Target> | undefined;
794
+ onProgress?: GenericEventHandler<Target> | undefined;
795
+ onProgressCapture?: GenericEventHandler<Target> | undefined;
796
+ onRateChange?: GenericEventHandler<Target> | undefined;
797
+ onRateChangeCapture?: GenericEventHandler<Target> | undefined;
798
+ onSeeked?: GenericEventHandler<Target> | undefined;
799
+ onSeekedCapture?: GenericEventHandler<Target> | undefined;
800
+ onSeeking?: GenericEventHandler<Target> | undefined;
801
+ onSeekingCapture?: GenericEventHandler<Target> | undefined;
802
+ onStalled?: GenericEventHandler<Target> | undefined;
803
+ onStalledCapture?: GenericEventHandler<Target> | undefined;
804
+ onSuspend?: GenericEventHandler<Target> | undefined;
805
+ onSuspendCapture?: GenericEventHandler<Target> | undefined;
806
+ onTimeUpdate?: GenericEventHandler<Target> | undefined;
807
+ onTimeUpdateCapture?: GenericEventHandler<Target> | undefined;
808
+ onVolumeChange?: GenericEventHandler<Target> | undefined;
809
+ onVolumeChangeCapture?: GenericEventHandler<Target> | undefined;
810
+ onWaiting?: GenericEventHandler<Target> | undefined;
811
+ onWaitingCapture?: GenericEventHandler<Target> | undefined;
812
+
813
+ // MouseEvents
814
+ onClick?: MouseEventHandler<Target> | undefined;
815
+ onClickCapture?: MouseEventHandler<Target> | undefined;
816
+ onContextMenu?: MouseEventHandler<Target> | undefined;
817
+ onContextMenuCapture?: MouseEventHandler<Target> | undefined;
818
+ onDblClick?: MouseEventHandler<Target> | undefined;
819
+ onDblClickCapture?: MouseEventHandler<Target> | undefined;
820
+ onDrag?: DragEventHandler<Target> | undefined;
821
+ onDragCapture?: DragEventHandler<Target> | undefined;
822
+ onDragEnd?: DragEventHandler<Target> | undefined;
823
+ onDragEndCapture?: DragEventHandler<Target> | undefined;
824
+ onDragEnter?: DragEventHandler<Target> | undefined;
825
+ onDragEnterCapture?: DragEventHandler<Target> | undefined;
826
+ onDragExit?: DragEventHandler<Target> | undefined;
827
+ onDragExitCapture?: DragEventHandler<Target> | undefined;
828
+ onDragLeave?: DragEventHandler<Target> | undefined;
829
+ onDragLeaveCapture?: DragEventHandler<Target> | undefined;
830
+ onDragOver?: DragEventHandler<Target> | undefined;
831
+ onDragOverCapture?: DragEventHandler<Target> | undefined;
832
+ onDragStart?: DragEventHandler<Target> | undefined;
833
+ onDragStartCapture?: DragEventHandler<Target> | undefined;
834
+ onDrop?: DragEventHandler<Target> | undefined;
835
+ onDropCapture?: DragEventHandler<Target> | undefined;
836
+ onMouseDown?: MouseEventHandler<Target> | undefined;
837
+ onMouseDownCapture?: MouseEventHandler<Target> | undefined;
838
+ onMouseEnter?: MouseEventHandler<Target> | undefined;
839
+ onMouseEnterCapture?: MouseEventHandler<Target> | undefined;
840
+ onMouseLeave?: MouseEventHandler<Target> | undefined;
841
+ onMouseLeaveCapture?: MouseEventHandler<Target> | undefined;
842
+ onMouseMove?: MouseEventHandler<Target> | undefined;
843
+ onMouseMoveCapture?: MouseEventHandler<Target> | undefined;
844
+ onMouseOut?: MouseEventHandler<Target> | undefined;
845
+ onMouseOutCapture?: MouseEventHandler<Target> | undefined;
846
+ onMouseOver?: MouseEventHandler<Target> | undefined;
847
+ onMouseOverCapture?: MouseEventHandler<Target> | undefined;
848
+ onMouseUp?: MouseEventHandler<Target> | undefined;
849
+ onMouseUpCapture?: MouseEventHandler<Target> | undefined;
850
+ // TODO: Spec for `auxclick` events was changed to make it a PointerEvent but only
851
+ // Chrome has support for it yet. When more browsers align we should change this.
852
+ // https://developer.mozilla.org/en-US/docs/Web/API/Element/auxclick_event#browser_compatibility
853
+ onAuxClick?: MouseEventHandler<Target> | undefined;
854
+ onAuxClickCapture?: MouseEventHandler<Target> | undefined;
855
+
856
+ // Selection Events
857
+ onSelect?: GenericEventHandler<Target> | undefined;
858
+ onSelectCapture?: GenericEventHandler<Target> | undefined;
859
+
860
+ // Touch Events
861
+ onTouchCancel?: TouchEventHandler<Target> | undefined;
862
+ onTouchCancelCapture?: TouchEventHandler<Target> | undefined;
863
+ onTouchEnd?: TouchEventHandler<Target> | undefined;
864
+ onTouchEndCapture?: TouchEventHandler<Target> | undefined;
865
+ onTouchMove?: TouchEventHandler<Target> | undefined;
866
+ onTouchMoveCapture?: TouchEventHandler<Target> | undefined;
867
+ onTouchStart?: TouchEventHandler<Target> | undefined;
868
+ onTouchStartCapture?: TouchEventHandler<Target> | undefined;
869
+
870
+ // Pointer Events
871
+ onPointerOver?: PointerEventHandler<Target> | undefined;
872
+ onPointerOverCapture?: PointerEventHandler<Target> | undefined;
873
+ onPointerEnter?: PointerEventHandler<Target> | undefined;
874
+ onPointerEnterCapture?: PointerEventHandler<Target> | undefined;
875
+ onPointerDown?: PointerEventHandler<Target> | undefined;
876
+ onPointerDownCapture?: PointerEventHandler<Target> | undefined;
877
+ onPointerMove?: PointerEventHandler<Target> | undefined;
878
+ onPointerMoveCapture?: PointerEventHandler<Target> | undefined;
879
+ onPointerUp?: PointerEventHandler<Target> | undefined;
880
+ onPointerUpCapture?: PointerEventHandler<Target> | undefined;
881
+ onPointerCancel?: PointerEventHandler<Target> | undefined;
882
+ onPointerCancelCapture?: PointerEventHandler<Target> | undefined;
883
+ onPointerOut?: PointerEventHandler<Target> | undefined;
884
+ onPointerOutCapture?: PointerEventHandler<Target> | undefined;
885
+ onPointerLeave?: PointerEventHandler<Target> | undefined;
886
+ onPointerLeaveCapture?: PointerEventHandler<Target> | undefined;
887
+ onGotPointerCapture?: PointerEventHandler<Target> | undefined;
888
+ onGotPointerCaptureCapture?: PointerEventHandler<Target> | undefined;
889
+ onLostPointerCapture?: PointerEventHandler<Target> | undefined;
890
+ onLostPointerCaptureCapture?: PointerEventHandler<Target> | undefined;
891
+
892
+ // Scroll Events
893
+ onScroll?: GenericEventHandler<Target> | undefined;
894
+ onScrollCapture?: GenericEventHandler<Target> | undefined;
895
+ onScrollEnd?: GenericEventHandler<Target> | undefined;
896
+ onScrollEndCapture?: GenericEventHandler<Target> | undefined;
897
+ onScrollSnapChange?: SnapEventHandler<Target> | undefined;
898
+ onScrollSnapChangeCapture?: SnapEventHandler<Target> | undefined;
899
+ onScrollSnapChanging?: SnapEventHandler<Target> | undefined;
900
+ onScrollSnapChangingCapture?: SnapEventHandler<Target> | undefined;
901
+
902
+ // Wheel Events
903
+ onWheel?: WheelEventHandler<Target> | undefined;
904
+ onWheelCapture?: WheelEventHandler<Target> | undefined;
905
+
906
+ // Animation Events
907
+ onAnimationStart?: AnimationEventHandler<Target> | undefined;
908
+ onAnimationStartCapture?: AnimationEventHandler<Target> | undefined;
909
+ onAnimationEnd?: AnimationEventHandler<Target> | undefined;
910
+ onAnimationEndCapture?: AnimationEventHandler<Target> | undefined;
911
+ onAnimationIteration?: AnimationEventHandler<Target> | undefined;
912
+ onAnimationIterationCapture?: AnimationEventHandler<Target> | undefined;
913
+
914
+ // Transition Events
915
+ onTransitionCancel?: TransitionEventHandler<Target>;
916
+ onTransitionCancelCapture?: TransitionEventHandler<Target>;
917
+ onTransitionEnd?: TransitionEventHandler<Target>;
918
+ onTransitionEndCapture?: TransitionEventHandler<Target>;
919
+ onTransitionRun?: TransitionEventHandler<Target>;
920
+ onTransitionRunCapture?: TransitionEventHandler<Target>;
921
+ onTransitionStart?: TransitionEventHandler<Target>;
922
+ onTransitionStartCapture?: TransitionEventHandler<Target>;
923
+
924
+ // PictureInPicture Events
925
+ onEnterPictureInPicture?: PictureInPictureEventHandler<Target>;
926
+ onEnterPictureInPictureCapture?: PictureInPictureEventHandler<Target>;
927
+ onLeavePictureInPicture?: PictureInPictureEventHandler<Target>;
928
+ onLeavePictureInPictureCapture?: PictureInPictureEventHandler<Target>;
929
+ onResize?: PictureInPictureEventHandler<Target>;
930
+ onResizeCapture?: PictureInPictureEventHandler<Target>;
931
+
932
+ onCommand?: CommandEventHandler<Target>;
933
+ }
934
+
935
+ // All the WAI-ARIA 1.1 attributes from https://www.w3.org/TR/wai-aria-1.1/
936
+ /** @deprecated Please import from the Preact namespace instead */
937
+ export interface AriaAttributes {
938
+ /** Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application. */
939
+ 'aria-activedescendant'?: Signalish<string | undefined>;
940
+ /** Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute. */
941
+ 'aria-atomic'?: Signalish<Booleanish | undefined>;
942
+ /**
943
+ * Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be
944
+ * presented if they are made.
945
+ */
946
+ 'aria-autocomplete'?: Signalish<
947
+ 'none' | 'inline' | 'list' | 'both' | undefined
948
+ >;
949
+ /**
950
+ * Defines a string value that labels the current element, which is intended to be converted into Braille.
951
+ * @see aria-label.
952
+ */
953
+ 'aria-braillelabel'?: Signalish<string | undefined>;
954
+ /**
955
+ * Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille.
956
+ * @see aria-roledescription.
957
+ */
958
+ 'aria-brailleroledescription'?: Signalish<string | undefined>;
959
+ /** Indicates an element is being modified and that assistive technologies MAY want to wait until the modifications are complete before exposing them to the user. */
960
+ 'aria-busy'?: Signalish<Booleanish | undefined>;
961
+ /**
962
+ * Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.
963
+ * @see aria-pressed
964
+ * @see aria-selected.
965
+ */
966
+ 'aria-checked'?: Signalish<Booleanish | 'mixed' | undefined>;
967
+ /**
968
+ * Defines the total number of columns in a table, grid, or treegrid.
969
+ * @see aria-colindex.
970
+ */
971
+ 'aria-colcount'?: Signalish<number | undefined>;
972
+ /**
973
+ * Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.
974
+ * @see aria-colcount
975
+ * @see aria-colspan.
976
+ */
977
+ 'aria-colindex'?: Signalish<number | undefined>;
978
+ /**
979
+ * Defines a human readable text alternative of aria-colindex.
980
+ * @see aria-rowindextext.
981
+ */
982
+ 'aria-colindextext'?: Signalish<string | undefined>;
983
+ /**
984
+ * Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
985
+ * @see aria-colindex
986
+ * @see aria-rowspan.
987
+ */
988
+ 'aria-colspan'?: Signalish<number | undefined>;
989
+ /**
990
+ * Identifies the element (or elements) whose contents or presence are controlled by the current element.
991
+ * @see aria-owns.
992
+ */
993
+ 'aria-controls'?: Signalish<string | undefined>;
994
+ /** Indicates the element that represents the current item within a container or set of related elements. */
995
+ 'aria-current'?: Signalish<
996
+ Booleanish | 'page' | 'step' | 'location' | 'date' | 'time' | undefined
997
+ >;
998
+ /**
999
+ * Identifies the element (or elements) that describes the object.
1000
+ * @see aria-labelledby
1001
+ */
1002
+ 'aria-describedby'?: Signalish<string | undefined>;
1003
+ /**
1004
+ * Defines a string value that describes or annotates the current element.
1005
+ * @see related aria-describedby.
1006
+ */
1007
+ 'aria-description'?: Signalish<string | undefined>;
1008
+ /**
1009
+ * Identifies the element that provides a detailed, extended description for the object.
1010
+ * @see aria-describedby.
1011
+ */
1012
+ 'aria-details'?: Signalish<string | undefined>;
1013
+ /**
1014
+ * Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
1015
+ * @see aria-hidden
1016
+ * @see aria-readonly.
1017
+ */
1018
+ 'aria-disabled'?: Signalish<Booleanish | undefined>;
1019
+ /**
1020
+ * Indicates what functions can be performed when a dragged object is released on the drop target.
1021
+ * @deprecated in ARIA 1.1
1022
+ */
1023
+ 'aria-dropeffect'?: Signalish<
1024
+ 'none' | 'copy' | 'execute' | 'link' | 'move' | 'popup' | undefined
1025
+ >;
1026
+ /**
1027
+ * Identifies the element that provides an error message for the object.
1028
+ * @see aria-invalid
1029
+ * @see aria-describedby.
1030
+ */
1031
+ 'aria-errormessage'?: Signalish<string | undefined>;
1032
+ /** Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed. */
1033
+ 'aria-expanded'?: Signalish<Booleanish | undefined>;
1034
+ /**
1035
+ * Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion,
1036
+ * allows assistive technology to override the general default of reading in document source order.
1037
+ */
1038
+ 'aria-flowto'?: Signalish<string | undefined>;
1039
+ /**
1040
+ * Indicates an element's "grabbed" state in a drag-and-drop operation.
1041
+ * @deprecated in ARIA 1.1
1042
+ */
1043
+ 'aria-grabbed'?: Signalish<Booleanish | undefined>;
1044
+ /** Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element. */
1045
+ 'aria-haspopup'?: Signalish<
1046
+ Booleanish | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog' | undefined
1047
+ >;
1048
+ /**
1049
+ * Indicates whether the element is exposed to an accessibility API.
1050
+ * @see aria-disabled.
1051
+ */
1052
+ 'aria-hidden'?: Signalish<Booleanish | undefined>;
1053
+ /**
1054
+ * Indicates the entered value does not conform to the format expected by the application.
1055
+ * @see aria-errormessage.
1056
+ */
1057
+ 'aria-invalid'?: Signalish<Booleanish | 'grammar' | 'spelling' | undefined>;
1058
+ /** Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element. */
1059
+ 'aria-keyshortcuts'?: Signalish<string | undefined>;
1060
+ /**
1061
+ * Defines a string value that labels the current element.
1062
+ * @see aria-labelledby.
1063
+ */
1064
+ 'aria-label'?: Signalish<string | undefined>;
1065
+ /**
1066
+ * Identifies the element (or elements) that labels the current element.
1067
+ * @see aria-describedby.
1068
+ */
1069
+ 'aria-labelledby'?: Signalish<string | undefined>;
1070
+ /** Defines the hierarchical level of an element within a structure. */
1071
+ 'aria-level'?: Signalish<number | undefined>;
1072
+ /** Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region. */
1073
+ 'aria-live'?: Signalish<'off' | 'assertive' | 'polite' | undefined>;
1074
+ /** Indicates whether an element is modal when displayed. */
1075
+ 'aria-modal'?: Signalish<Booleanish | undefined>;
1076
+ /** Indicates whether a text box accepts multiple lines of input or only a single line. */
1077
+ 'aria-multiline'?: Signalish<Booleanish | undefined>;
1078
+ /** Indicates that the user may select more than one item from the current selectable descendants. */
1079
+ 'aria-multiselectable'?: Signalish<Booleanish | undefined>;
1080
+ /** Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous. */
1081
+ 'aria-orientation'?: Signalish<'horizontal' | 'vertical' | undefined>;
1082
+ /**
1083
+ * Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship
1084
+ * between DOM elements where the DOM hierarchy cannot be used to represent the relationship.
1085
+ * @see aria-controls.
1086
+ */
1087
+ 'aria-owns'?: Signalish<string | undefined>;
1088
+ /**
1089
+ * Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value.
1090
+ * A hint could be a sample value or a brief description of the expected format.
1091
+ */
1092
+ 'aria-placeholder'?: Signalish<string | undefined>;
1093
+ /**
1094
+ * Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
1095
+ * @see aria-setsize.
1096
+ */
1097
+ 'aria-posinset'?: Signalish<number | undefined>;
1098
+ /**
1099
+ * Indicates the current "pressed" state of toggle buttons.
1100
+ * @see aria-checked
1101
+ * @see aria-selected.
1102
+ */
1103
+ 'aria-pressed'?: Signalish<Booleanish | 'mixed' | undefined>;
1104
+ /**
1105
+ * Indicates that the element is not editable, but is otherwise operable.
1106
+ * @see aria-disabled.
1107
+ */
1108
+ 'aria-readonly'?: Signalish<Booleanish | undefined>;
1109
+ /**
1110
+ * Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
1111
+ * @see aria-atomic.
1112
+ */
1113
+ 'aria-relevant'?: Signalish<
1114
+ | 'additions'
1115
+ | 'additions removals'
1116
+ | 'additions text'
1117
+ | 'all'
1118
+ | 'removals'
1119
+ | 'removals additions'
1120
+ | 'removals text'
1121
+ | 'text'
1122
+ | 'text additions'
1123
+ | 'text removals'
1124
+ | undefined
1125
+ >;
1126
+ /** Indicates that user input is required on the element before a form may be submitted. */
1127
+ 'aria-required'?: Signalish<Booleanish | undefined>;
1128
+ /** Defines a human-readable, author-localized description for the role of an element. */
1129
+ 'aria-roledescription'?: Signalish<string | undefined>;
1130
+ /**
1131
+ * Defines the total number of rows in a table, grid, or treegrid.
1132
+ * @see aria-rowindex.
1133
+ */
1134
+ 'aria-rowcount'?: Signalish<number | undefined>;
1135
+ /**
1136
+ * Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.
1137
+ * @see aria-rowcount
1138
+ * @see aria-rowspan.
1139
+ */
1140
+ 'aria-rowindex'?: Signalish<number | undefined>;
1141
+ /**
1142
+ * Defines a human readable text alternative of aria-rowindex.
1143
+ * @see aria-colindextext.
1144
+ */
1145
+ 'aria-rowindextext'?: Signalish<string | undefined>;
1146
+ /**
1147
+ * Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
1148
+ * @see aria-rowindex
1149
+ * @see aria-colspan.
1150
+ */
1151
+ 'aria-rowspan'?: Signalish<number | undefined>;
1152
+ /**
1153
+ * Indicates the current "selected" state of various widgets.
1154
+ * @see aria-checked
1155
+ * @see aria-pressed.
1156
+ */
1157
+ 'aria-selected'?: Signalish<Booleanish | undefined>;
1158
+ /**
1159
+ * Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
1160
+ * @see aria-posinset.
1161
+ */
1162
+ 'aria-setsize'?: Signalish<number | undefined>;
1163
+ /** Indicates if items in a table or grid are sorted in ascending or descending order. */
1164
+ 'aria-sort'?: Signalish<
1165
+ 'none' | 'ascending' | 'descending' | 'other' | undefined
1166
+ >;
1167
+ /** Defines the maximum allowed value for a range widget. */
1168
+ 'aria-valuemax'?: Signalish<number | undefined>;
1169
+ /** Defines the minimum allowed value for a range widget. */
1170
+ 'aria-valuemin'?: Signalish<number | undefined>;
1171
+ /**
1172
+ * Defines the current value for a range widget.
1173
+ * @see aria-valuetext.
1174
+ */
1175
+ 'aria-valuenow'?: Signalish<number | undefined>;
1176
+ /** Defines the human readable text alternative of aria-valuenow for a range widget. */
1177
+ 'aria-valuetext'?: Signalish<string | undefined>;
1178
+ }
1179
+
1180
+ // All the WAI-ARIA 1.2 role attribute values from https://www.w3.org/TR/wai-aria-1.2/#role_definitions
1181
+ /** @deprecated Please import from the Preact namespace instead */
1182
+ export type WAIAriaRole =
1183
+ | 'alert'
1184
+ | 'alertdialog'
1185
+ | 'application'
1186
+ | 'article'
1187
+ | 'banner'
1188
+ | 'blockquote'
1189
+ | 'button'
1190
+ | 'caption'
1191
+ | 'cell'
1192
+ | 'checkbox'
1193
+ | 'code'
1194
+ | 'columnheader'
1195
+ | 'combobox'
1196
+ | 'command'
1197
+ | 'complementary'
1198
+ | 'composite'
1199
+ | 'contentinfo'
1200
+ | 'definition'
1201
+ | 'deletion'
1202
+ | 'dialog'
1203
+ | 'directory'
1204
+ | 'document'
1205
+ | 'emphasis'
1206
+ | 'feed'
1207
+ | 'figure'
1208
+ | 'form'
1209
+ | 'grid'
1210
+ | 'gridcell'
1211
+ | 'group'
1212
+ | 'heading'
1213
+ | 'img'
1214
+ | 'input'
1215
+ | 'insertion'
1216
+ | 'landmark'
1217
+ | 'link'
1218
+ | 'list'
1219
+ | 'listbox'
1220
+ | 'listitem'
1221
+ | 'log'
1222
+ | 'main'
1223
+ | 'marquee'
1224
+ | 'math'
1225
+ | 'meter'
1226
+ | 'menu'
1227
+ | 'menubar'
1228
+ | 'menuitem'
1229
+ | 'menuitemcheckbox'
1230
+ | 'menuitemradio'
1231
+ | 'navigation'
1232
+ | 'none'
1233
+ | 'note'
1234
+ | 'option'
1235
+ | 'paragraph'
1236
+ | 'presentation'
1237
+ | 'progressbar'
1238
+ | 'radio'
1239
+ | 'radiogroup'
1240
+ | 'range'
1241
+ | 'region'
1242
+ | 'roletype'
1243
+ | 'row'
1244
+ | 'rowgroup'
1245
+ | 'rowheader'
1246
+ | 'scrollbar'
1247
+ | 'search'
1248
+ | 'searchbox'
1249
+ | 'section'
1250
+ | 'sectionhead'
1251
+ | 'select'
1252
+ | 'separator'
1253
+ | 'slider'
1254
+ | 'spinbutton'
1255
+ | 'status'
1256
+ | 'strong'
1257
+ | 'structure'
1258
+ | 'subscript'
1259
+ | 'superscript'
1260
+ | 'switch'
1261
+ | 'tab'
1262
+ | 'table'
1263
+ | 'tablist'
1264
+ | 'tabpanel'
1265
+ | 'term'
1266
+ | 'textbox'
1267
+ | 'time'
1268
+ | 'timer'
1269
+ | 'toolbar'
1270
+ | 'tooltip'
1271
+ | 'tree'
1272
+ | 'treegrid'
1273
+ | 'treeitem'
1274
+ | 'widget'
1275
+ | 'window'
1276
+ | 'none presentation';
1277
+
1278
+ // All the Digital Publishing WAI-ARIA 1.0 role attribute values from https://www.w3.org/TR/dpub-aria-1.0/#role_definitions
1279
+ /** @deprecated Please import from the Preact namespace instead */
1280
+ export type DPubAriaRole =
1281
+ | 'doc-abstract'
1282
+ | 'doc-acknowledgments'
1283
+ | 'doc-afterword'
1284
+ | 'doc-appendix'
1285
+ | 'doc-backlink'
1286
+ | 'doc-biblioentry'
1287
+ | 'doc-bibliography'
1288
+ | 'doc-biblioref'
1289
+ | 'doc-chapter'
1290
+ | 'doc-colophon'
1291
+ | 'doc-conclusion'
1292
+ | 'doc-cover'
1293
+ | 'doc-credit'
1294
+ | 'doc-credits'
1295
+ | 'doc-dedication'
1296
+ | 'doc-endnote'
1297
+ | 'doc-endnotes'
1298
+ | 'doc-epigraph'
1299
+ | 'doc-epilogue'
1300
+ | 'doc-errata'
1301
+ | 'doc-example'
1302
+ | 'doc-footnote'
1303
+ | 'doc-foreword'
1304
+ | 'doc-glossary'
1305
+ | 'doc-glossref'
1306
+ | 'doc-index'
1307
+ | 'doc-introduction'
1308
+ | 'doc-noteref'
1309
+ | 'doc-notice'
1310
+ | 'doc-pagebreak'
1311
+ | 'doc-pagelist'
1312
+ | 'doc-part'
1313
+ | 'doc-preface'
1314
+ | 'doc-prologue'
1315
+ | 'doc-pullquote'
1316
+ | 'doc-qna'
1317
+ | 'doc-subtitle'
1318
+ | 'doc-tip'
1319
+ | 'doc-toc';
1320
+
1321
+ /** @deprecated Please import from the Preact namespace instead */
1322
+ export type AriaRole = WAIAriaRole | DPubAriaRole;
1323
+
1324
+ /** @deprecated Please import from the Preact namespace instead */
1325
+ export interface AllHTMLAttributes<RefType extends EventTarget = EventTarget>
1326
+ extends ClassAttributes<RefType>,
1327
+ DOMAttributes<RefType>,
1328
+ AriaAttributes {
1329
+ // Standard HTML Attributes
1330
+ accept?: Signalish<string | undefined>;
1331
+ acceptCharset?: Signalish<string | undefined>;
1332
+ 'accept-charset'?: Signalish<AllHTMLAttributes['acceptCharset']>;
1333
+ accessKey?: Signalish<string | undefined>;
1334
+ accesskey?: Signalish<AllHTMLAttributes['accessKey']>;
1335
+ action?: Signalish<string | undefined>;
1336
+ allow?: Signalish<string | undefined>;
1337
+ allowFullScreen?: Signalish<boolean | undefined>;
1338
+ allowTransparency?: Signalish<boolean | undefined>;
1339
+ alt?: Signalish<string | undefined>;
1340
+ as?: Signalish<string | undefined>;
1341
+ async?: Signalish<boolean | undefined>;
1342
+ autocomplete?: Signalish<string | undefined>;
1343
+ autoComplete?: Signalish<string | undefined>;
1344
+ autocorrect?: Signalish<string | undefined>;
1345
+ autoCorrect?: Signalish<string | undefined>;
1346
+ autofocus?: Signalish<boolean | undefined>;
1347
+ autoFocus?: Signalish<boolean | undefined>;
1348
+ autoPlay?: Signalish<boolean | undefined>;
1349
+ autoplay?: Signalish<boolean | undefined>;
1350
+ capture?: Signalish<boolean | string | undefined>;
1351
+ cellPadding?: Signalish<number | string | undefined>;
1352
+ cellSpacing?: Signalish<number | string | undefined>;
1353
+ charSet?: Signalish<string | undefined>;
1354
+ charset?: Signalish<string | undefined>;
1355
+ challenge?: Signalish<string | undefined>;
1356
+ checked?: Signalish<boolean | undefined>;
1357
+ cite?: Signalish<string | undefined>;
1358
+ class?: Signalish<string | undefined>;
1359
+ className?: Signalish<string | undefined>;
1360
+ cols?: Signalish<number | undefined>;
1361
+ colSpan?: Signalish<number | undefined>;
1362
+ colspan?: Signalish<number | undefined>;
1363
+ content?: Signalish<string | undefined>;
1364
+ contentEditable?: Signalish<
1365
+ Booleanish | '' | 'plaintext-only' | 'inherit' | undefined
1366
+ >;
1367
+ contenteditable?: Signalish<AllHTMLAttributes['contentEditable']>;
1368
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/contextmenu */
1369
+ contextMenu?: Signalish<string | undefined>;
1370
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/contextmenu */
1371
+ contextmenu?: Signalish<string | undefined>;
1372
+ controls?: Signalish<boolean | undefined>;
1373
+ controlslist?: Signalish<string | undefined>;
1374
+ controlsList?: Signalish<string | undefined>;
1375
+ coords?: Signalish<string | undefined>;
1376
+ crossOrigin?: Signalish<string | undefined>;
1377
+ crossorigin?: Signalish<string | undefined>;
1378
+ currentTime?: Signalish<number | undefined>;
1379
+ data?: Signalish<string | undefined>;
1380
+ dateTime?: Signalish<string | undefined>;
1381
+ datetime?: Signalish<string | undefined>;
1382
+ default?: Signalish<boolean | undefined>;
1383
+ defaultChecked?: Signalish<boolean | undefined>;
1384
+ defaultMuted?: Signalish<boolean | undefined>;
1385
+ defaultPlaybackRate?: Signalish<number | undefined>;
1386
+ defaultValue?: Signalish<string | undefined>;
1387
+ defer?: Signalish<boolean | undefined>;
1388
+ dir?: Signalish<'auto' | 'rtl' | 'ltr' | undefined>;
1389
+ disabled?: Signalish<boolean | undefined>;
1390
+ disableremoteplayback?: Signalish<boolean | undefined>;
1391
+ disableRemotePlayback?: Signalish<boolean | undefined>;
1392
+ download?: Signalish<any | undefined>;
1393
+ decoding?: Signalish<'sync' | 'async' | 'auto' | undefined>;
1394
+ draggable?: Signalish<boolean | undefined>;
1395
+ encType?: Signalish<string | undefined>;
1396
+ enctype?: Signalish<string | undefined>;
1397
+ enterkeyhint?: Signalish<
1398
+ | 'enter'
1399
+ | 'done'
1400
+ | 'go'
1401
+ | 'next'
1402
+ | 'previous'
1403
+ | 'search'
1404
+ | 'send'
1405
+ | undefined
1406
+ >;
1407
+ elementTiming?: Signalish<string | undefined>;
1408
+ elementtiming?: Signalish<AllHTMLAttributes['elementTiming']>;
1409
+ exportparts?: Signalish<string | undefined>;
1410
+ for?: Signalish<string | undefined>;
1411
+ form?: Signalish<string | undefined>;
1412
+ formAction?: Signalish<string | undefined>;
1413
+ formaction?: Signalish<string | undefined>;
1414
+ formEncType?: Signalish<string | undefined>;
1415
+ formenctype?: Signalish<string | undefined>;
1416
+ formMethod?: Signalish<string | undefined>;
1417
+ formmethod?: Signalish<string | undefined>;
1418
+ formNoValidate?: Signalish<boolean | undefined>;
1419
+ formnovalidate?: Signalish<boolean | undefined>;
1420
+ formTarget?: Signalish<string | undefined>;
1421
+ formtarget?: Signalish<string | undefined>;
1422
+ frameBorder?: Signalish<number | string | undefined>;
1423
+ frameborder?: Signalish<number | string | undefined>;
1424
+ headers?: Signalish<string | undefined>;
1425
+ height?: Signalish<number | string | undefined>;
1426
+ hidden?: Signalish<boolean | 'hidden' | 'until-found' | undefined>;
1427
+ high?: Signalish<number | undefined>;
1428
+ href?: Signalish<string | undefined>;
1429
+ hrefLang?: Signalish<string | undefined>;
1430
+ hreflang?: Signalish<string | undefined>;
1431
+ htmlFor?: Signalish<string | undefined>;
1432
+ httpEquiv?: Signalish<string | undefined>;
1433
+ 'http-equiv'?: Signalish<string | undefined>;
1434
+ icon?: Signalish<string | undefined>;
1435
+ id?: Signalish<string | undefined>;
1436
+ indeterminate?: Signalish<boolean | undefined>;
1437
+ inert?: Signalish<boolean | undefined>;
1438
+ inputMode?: Signalish<string | undefined>;
1439
+ inputmode?: Signalish<string | undefined>;
1440
+ integrity?: Signalish<string | undefined>;
1441
+ is?: Signalish<string | undefined>;
1442
+ keyParams?: Signalish<string | undefined>;
1443
+ keyType?: Signalish<string | undefined>;
1444
+ kind?: Signalish<string | undefined>;
1445
+ label?: Signalish<string | undefined>;
1446
+ lang?: Signalish<string | undefined>;
1447
+ list?: Signalish<string | undefined>;
1448
+ loading?: Signalish<'eager' | 'lazy' | undefined>;
1449
+ loop?: Signalish<boolean | undefined>;
1450
+ low?: Signalish<number | undefined>;
1451
+ manifest?: Signalish<string | undefined>;
1452
+ marginHeight?: Signalish<number | undefined>;
1453
+ marginWidth?: Signalish<number | undefined>;
1454
+ max?: Signalish<number | string | undefined>;
1455
+ maxLength?: Signalish<number | undefined>;
1456
+ maxlength?: Signalish<number | undefined>;
1457
+ media?: Signalish<string | undefined>;
1458
+ mediaGroup?: Signalish<string | undefined>;
1459
+ method?: Signalish<string | undefined>;
1460
+ min?: Signalish<number | string | undefined>;
1461
+ minLength?: Signalish<number | undefined>;
1462
+ minlength?: Signalish<number | undefined>;
1463
+ multiple?: Signalish<boolean | undefined>;
1464
+ muted?: Signalish<boolean | undefined>;
1465
+ name?: Signalish<string | undefined>;
1466
+ nomodule?: Signalish<boolean | undefined>;
1467
+ nonce?: Signalish<string | undefined>;
1468
+ noValidate?: Signalish<boolean | undefined>;
1469
+ novalidate?: Signalish<boolean | undefined>;
1470
+ open?: Signalish<boolean | undefined>;
1471
+ optimum?: Signalish<number | undefined>;
1472
+ part?: Signalish<string | undefined>;
1473
+ pattern?: Signalish<string | undefined>;
1474
+ ping?: Signalish<string | undefined>;
1475
+ placeholder?: Signalish<string | undefined>;
1476
+ playsInline?: Signalish<boolean | undefined>;
1477
+ playsinline?: Signalish<boolean | undefined>;
1478
+ playbackRate?: Signalish<number | undefined>;
1479
+ popover?: Signalish<'auto' | 'hint' | 'manual' | boolean | undefined>;
1480
+ popovertarget?: Signalish<string | undefined>;
1481
+ popoverTarget?: Signalish<string | undefined>;
1482
+ popovertargetaction?: Signalish<'hide' | 'show' | 'toggle' | undefined>;
1483
+ popoverTargetAction?: Signalish<'hide' | 'show' | 'toggle' | undefined>;
1484
+ poster?: Signalish<string | undefined>;
1485
+ preload?: Signalish<'auto' | 'metadata' | 'none' | undefined>;
1486
+ preservesPitch?: Signalish<boolean | undefined>;
1487
+ radioGroup?: Signalish<string | undefined>;
1488
+ readonly?: Signalish<boolean | undefined>;
1489
+ readOnly?: Signalish<boolean | undefined>;
1490
+ referrerpolicy?: Signalish<
1491
+ | 'no-referrer'
1492
+ | 'no-referrer-when-downgrade'
1493
+ | 'origin'
1494
+ | 'origin-when-cross-origin'
1495
+ | 'same-origin'
1496
+ | 'strict-origin'
1497
+ | 'strict-origin-when-cross-origin'
1498
+ | 'unsafe-url'
1499
+ | undefined
1500
+ >;
1501
+ rel?: Signalish<string | undefined>;
1502
+ required?: Signalish<boolean | undefined>;
1503
+ reversed?: Signalish<boolean | undefined>;
1504
+ role?: Signalish<AriaRole | undefined>;
1505
+ rows?: Signalish<number | undefined>;
1506
+ rowSpan?: Signalish<number | undefined>;
1507
+ rowspan?: Signalish<number | undefined>;
1508
+ sandbox?: Signalish<string | undefined>;
1509
+ scope?: Signalish<string | undefined>;
1510
+ scoped?: Signalish<boolean | undefined>;
1511
+ scrolling?: Signalish<string | undefined>;
1512
+ seamless?: Signalish<boolean | undefined>;
1513
+ selected?: Signalish<boolean | undefined>;
1514
+ shape?: Signalish<string | undefined>;
1515
+ size?: Signalish<number | undefined>;
1516
+ sizes?: Signalish<string | undefined>;
1517
+ slot?: Signalish<string | undefined>;
1518
+ span?: Signalish<number | undefined>;
1519
+ spellcheck?: Signalish<boolean | undefined>;
1520
+ src?: Signalish<string | undefined>;
1521
+ srcDoc?: Signalish<string | undefined>;
1522
+ srcdoc?: Signalish<string | undefined>;
1523
+ srcLang?: Signalish<string | undefined>;
1524
+ srclang?: Signalish<string | undefined>;
1525
+ srcSet?: Signalish<string | undefined>;
1526
+ srcset?: Signalish<string | undefined>;
1527
+ srcObject?: Signalish<MediaStream | MediaSource | Blob | File | null>;
1528
+ start?: Signalish<number | undefined>;
1529
+ step?: Signalish<number | string | undefined>;
1530
+ style?: Signalish<string | CSSProperties | undefined>;
1531
+ summary?: Signalish<string | undefined>;
1532
+ tabIndex?: Signalish<number | undefined>;
1533
+ tabindex?: Signalish<number | undefined>;
1534
+ target?: Signalish<string | undefined>;
1535
+ title?: Signalish<string | undefined>;
1536
+ type?: Signalish<string | undefined>;
1537
+ useMap?: Signalish<string | undefined>;
1538
+ usemap?: Signalish<string | undefined>;
1539
+ value?: Signalish<string | string[] | number | undefined>;
1540
+ volume?: Signalish<string | number | undefined>;
1541
+ width?: Signalish<number | string | undefined>;
1542
+ wmode?: Signalish<string | undefined>;
1543
+ wrap?: Signalish<string | undefined>;
1544
+
1545
+ // Non-standard Attributes
1546
+ autocapitalize?: Signalish<
1547
+ 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters' | undefined
1548
+ >;
1549
+ autoCapitalize?: Signalish<
1550
+ 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters' | undefined
1551
+ >;
1552
+ disablePictureInPicture?: Signalish<boolean | undefined>;
1553
+ results?: Signalish<number | undefined>;
1554
+ translate?: Signalish<boolean | undefined>;
1555
+
1556
+ // RDFa Attributes
1557
+ about?: Signalish<string | undefined>;
1558
+ datatype?: Signalish<string | undefined>;
1559
+ inlist?: Signalish<any>;
1560
+ prefix?: Signalish<string | undefined>;
1561
+ property?: Signalish<string | undefined>;
1562
+ resource?: Signalish<string | undefined>;
1563
+ typeof?: Signalish<string | undefined>;
1564
+ vocab?: Signalish<string | undefined>;
1565
+
1566
+ // Microdata Attributes
1567
+ itemProp?: Signalish<string | undefined>;
1568
+ itemprop?: Signalish<string | undefined>;
1569
+ itemScope?: Signalish<boolean | undefined>;
1570
+ itemscope?: Signalish<boolean | undefined>;
1571
+ itemType?: Signalish<string | undefined>;
1572
+ itemtype?: Signalish<string | undefined>;
1573
+ itemID?: Signalish<string | undefined>;
1574
+ itemid?: Signalish<string | undefined>;
1575
+ itemRef?: Signalish<string | undefined>;
1576
+ itemref?: Signalish<string | undefined>;
1577
+ }
1578
+
1579
+ /** @deprecated Please import from the Preact namespace instead */
1580
+ export interface HTMLAttributes<RefType extends EventTarget = EventTarget>
1581
+ extends ClassAttributes<RefType>,
1582
+ DOMAttributes<RefType>,
1583
+ AriaAttributes {
1584
+ // Standard HTML Attributes
1585
+ accesskey?: Signalish<string | undefined>;
1586
+ accessKey?: Signalish<string | undefined>;
1587
+ autocapitalize?: Signalish<
1588
+ 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters' | undefined
1589
+ >;
1590
+ autoCapitalize?: Signalish<
1591
+ 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters' | undefined
1592
+ >;
1593
+ autocorrect?: Signalish<string | undefined>;
1594
+ autoCorrect?: Signalish<string | undefined>;
1595
+ autofocus?: Signalish<boolean | undefined>;
1596
+ autoFocus?: Signalish<boolean | undefined>;
1597
+ class?: Signalish<string | undefined>;
1598
+ className?: Signalish<string | undefined>;
1599
+ contenteditable?: Signalish<
1600
+ Booleanish | '' | 'plaintext-only' | 'inherit' | undefined
1601
+ >;
1602
+ contentEditable?: Signalish<
1603
+ Booleanish | '' | 'plaintext-only' | 'inherit' | undefined
1604
+ >;
1605
+ dir?: Signalish<'auto' | 'rtl' | 'ltr' | undefined>;
1606
+ draggable?: Signalish<boolean | undefined>;
1607
+ enterkeyhint?: Signalish<
1608
+ | 'enter'
1609
+ | 'done'
1610
+ | 'go'
1611
+ | 'next'
1612
+ | 'previous'
1613
+ | 'search'
1614
+ | 'send'
1615
+ | undefined
1616
+ >;
1617
+ exportparts?: Signalish<string | undefined>;
1618
+ hidden?: Signalish<boolean | 'hidden' | 'until-found' | undefined>;
1619
+ id?: Signalish<string | undefined>;
1620
+ inert?: Signalish<boolean | undefined>;
1621
+ inputmode?: Signalish<string | undefined>;
1622
+ inputMode?: Signalish<string | undefined>;
1623
+ is?: Signalish<string | undefined>;
1624
+ lang?: Signalish<string | undefined>;
1625
+ nonce?: Signalish<string | undefined>;
1626
+ part?: Signalish<string | undefined>;
1627
+ popover?: Signalish<'auto' | 'hint' | 'manual' | boolean | undefined>;
1628
+ slot?: Signalish<string | undefined>;
1629
+ spellcheck?: Signalish<boolean | undefined>;
1630
+ style?: Signalish<string | CSSProperties | undefined>;
1631
+ tabindex?: Signalish<number | undefined>;
1632
+ tabIndex?: Signalish<number | undefined>;
1633
+ title?: Signalish<string | undefined>;
1634
+ translate?: Signalish<boolean | undefined>;
1635
+
1636
+ // WAI-ARIA Attributes
1637
+ role?: Signalish<AriaRole | undefined>;
1638
+
1639
+ // Non-standard Attributes
1640
+ disablePictureInPicture?: Signalish<boolean | undefined>;
1641
+ elementtiming?: Signalish<string | undefined>;
1642
+ elementTiming?: Signalish<string | undefined>;
1643
+ results?: Signalish<number | undefined>;
1644
+
1645
+ // RDFa Attributes
1646
+ about?: Signalish<string | undefined>;
1647
+ datatype?: Signalish<string | undefined>;
1648
+ inlist?: Signalish<any>;
1649
+ prefix?: Signalish<string | undefined>;
1650
+ property?: Signalish<string | undefined>;
1651
+ resource?: Signalish<string | undefined>;
1652
+ typeof?: Signalish<string | undefined>;
1653
+ vocab?: Signalish<string | undefined>;
1654
+
1655
+ // Microdata Attributes
1656
+ itemid?: Signalish<string | undefined>;
1657
+ itemID?: Signalish<string | undefined>;
1658
+ itemprop?: Signalish<string | undefined>;
1659
+ itemProp?: Signalish<string | undefined>;
1660
+ itemref?: Signalish<string | undefined>;
1661
+ itemRef?: Signalish<string | undefined>;
1662
+ itemscope?: Signalish<boolean | undefined>;
1663
+ itemScope?: Signalish<boolean | undefined>;
1664
+ itemtype?: Signalish<string | undefined>;
1665
+ itemType?: Signalish<string | undefined>;
1666
+ }
1667
+
1668
+ /** @deprecated Please import from the Preact namespace instead */
1669
+ type HTMLAttributeReferrerPolicy =
1670
+ | ''
1671
+ | 'no-referrer'
1672
+ | 'no-referrer-when-downgrade'
1673
+ | 'origin'
1674
+ | 'origin-when-cross-origin'
1675
+ | 'same-origin'
1676
+ | 'strict-origin'
1677
+ | 'strict-origin-when-cross-origin'
1678
+ | 'unsafe-url';
1679
+
1680
+ /** @deprecated Please import from the Preact namespace instead */
1681
+ type HTMLAttributeAnchorTarget =
1682
+ | '_self'
1683
+ | '_blank'
1684
+ | '_parent'
1685
+ | '_top'
1686
+ | (string & {});
1687
+
1688
+ /** @deprecated Please import from the Preact namespace instead */
1689
+ interface AnchorHTMLAttributes<T extends EventTarget = HTMLAnchorElement>
1690
+ extends HTMLAttributes<T> {
1691
+ download?: Signalish<any>;
1692
+ href?: Signalish<string | undefined>;
1693
+ hreflang?: Signalish<string | undefined>;
1694
+ hrefLang?: Signalish<string | undefined>;
1695
+ media?: Signalish<string | undefined>;
1696
+ ping?: Signalish<string | undefined>;
1697
+ rel?: Signalish<string | undefined>;
1698
+ target?: Signalish<HTMLAttributeAnchorTarget | undefined>;
1699
+ type?: Signalish<string | undefined>;
1700
+ referrerpolicy?: Signalish<HTMLAttributeReferrerPolicy | undefined>;
1701
+ referrerPolicy?: Signalish<HTMLAttributeReferrerPolicy | undefined>;
1702
+ }
1703
+
1704
+ /** @deprecated Please import from the Preact namespace instead */
1705
+ interface AreaHTMLAttributes<T extends EventTarget = HTMLAreaElement>
1706
+ extends HTMLAttributes<T> {
1707
+ alt?: Signalish<string | undefined>;
1708
+ coords?: Signalish<string | undefined>;
1709
+ download?: Signalish<any>;
1710
+ href?: Signalish<string | undefined>;
1711
+ hreflang?: Signalish<string | undefined>;
1712
+ hrefLang?: Signalish<string | undefined>;
1713
+ media?: Signalish<string | undefined>;
1714
+ referrerpolicy?: Signalish<HTMLAttributeReferrerPolicy | undefined>;
1715
+ referrerPolicy?: Signalish<HTMLAttributeReferrerPolicy | undefined>;
1716
+ rel?: Signalish<string | undefined>;
1717
+ shape?: Signalish<string | undefined>;
1718
+ target?: Signalish<HTMLAttributeAnchorTarget | undefined>;
1719
+ }
1720
+
1721
+ /** @deprecated Please import from the Preact namespace instead */
1722
+ interface AudioHTMLAttributes<T extends EventTarget = HTMLAudioElement>
1723
+ extends MediaHTMLAttributes<T> {}
1724
+
1725
+ /** @deprecated Please import from the Preact namespace instead */
1726
+ interface BaseHTMLAttributes<T extends EventTarget = HTMLBaseElement>
1727
+ extends HTMLAttributes<T> {
1728
+ href?: Signalish<string | undefined>;
1729
+ target?: Signalish<HTMLAttributeAnchorTarget | undefined>;
1730
+ }
1731
+
1732
+ /** @deprecated Please import from the Preact namespace instead */
1733
+ interface BlockquoteHTMLAttributes<T extends EventTarget = HTMLQuoteElement>
1734
+ extends HTMLAttributes<T> {
1735
+ cite?: Signalish<string | undefined>;
1736
+ }
1737
+
1738
+ /** @deprecated Please import from the Preact namespace instead */
1739
+ interface ButtonHTMLAttributes<T extends EventTarget = HTMLButtonElement>
1740
+ extends HTMLAttributes<T> {
1741
+ command?: Signalish<string | undefined>;
1742
+ commandfor?: Signalish<string | undefined>;
1743
+ commandFor?: Signalish<string | undefined>;
1744
+ disabled?: Signalish<boolean | undefined>;
1745
+ form?: Signalish<string | undefined>;
1746
+ formaction?: Signalish<string | undefined>;
1747
+ formAction?: Signalish<string | undefined>;
1748
+ formenctype?: Signalish<string | undefined>;
1749
+ formEncType?: Signalish<string | undefined>;
1750
+ formmethod?: Signalish<string | undefined>;
1751
+ formMethod?: Signalish<string | undefined>;
1752
+ formnovalidate?: Signalish<boolean | undefined>;
1753
+ formNoValidate?: Signalish<boolean | undefined>;
1754
+ formtarget?: Signalish<string | undefined>;
1755
+ formTarget?: Signalish<string | undefined>;
1756
+ name?: Signalish<string | undefined>;
1757
+ popovertarget?: Signalish<string | undefined>;
1758
+ popoverTarget?: Signalish<string | undefined>;
1759
+ popovertargetaction?: Signalish<'hide' | 'show' | 'toggle' | undefined>;
1760
+ popoverTargetAction?: Signalish<'hide' | 'show' | 'toggle' | undefined>;
1761
+ type?: Signalish<'submit' | 'reset' | 'button' | undefined>;
1762
+ value?: Signalish<string | number | undefined>;
1763
+ }
1764
+
1765
+ /** @deprecated Please import from the Preact namespace instead */
1766
+ interface CanvasHTMLAttributes<T extends EventTarget = HTMLCanvasElement>
1767
+ extends HTMLAttributes<T> {
1768
+ height?: Signalish<number | string | undefined>;
1769
+ width?: Signalish<number | string | undefined>;
1770
+ }
1771
+
1772
+ /** @deprecated Please import from the Preact namespace instead */
1773
+ interface ColHTMLAttributes<T extends EventTarget = HTMLTableColElement>
1774
+ extends HTMLAttributes<T> {
1775
+ span?: Signalish<number | undefined>;
1776
+ width?: Signalish<number | string | undefined>;
1777
+ }
1778
+
1779
+ /** @deprecated Please import from the Preact namespace instead */
1780
+ interface ColgroupHTMLAttributes<T extends EventTarget = HTMLTableColElement>
1781
+ extends HTMLAttributes<T> {
1782
+ span?: Signalish<number | undefined>;
1783
+ }
1784
+
1785
+ /** @deprecated Please import from the Preact namespace instead */
1786
+ interface DataHTMLAttributes<T extends EventTarget = HTMLDataElement>
1787
+ extends HTMLAttributes<T> {
1788
+ value?: Signalish<string | number | undefined>;
1789
+ }
1790
+
1791
+ /** @deprecated Please import from the Preact namespace instead */
1792
+ interface DelHTMLAttributes<T extends EventTarget = HTMLModElement>
1793
+ extends HTMLAttributes<T> {
1794
+ cite?: Signalish<string | undefined>;
1795
+ datetime?: Signalish<string | undefined>;
1796
+ dateTime?: Signalish<string | undefined>;
1797
+ }
1798
+
1799
+ /** @deprecated Please import from the Preact namespace instead */
1800
+ interface DetailsHTMLAttributes<T extends EventTarget = HTMLDetailsElement>
1801
+ extends HTMLAttributes<T> {
1802
+ name?: Signalish<string | undefined>;
1803
+ open?: Signalish<boolean | undefined>;
1804
+ }
1805
+
1806
+ /** @deprecated Please import from the Preact namespace instead */
1807
+ interface DialogHTMLAttributes<T extends EventTarget = HTMLDialogElement>
1808
+ extends HTMLAttributes<T> {
1809
+ onCancel?: GenericEventHandler<T> | undefined;
1810
+ onClose?: GenericEventHandler<T> | undefined;
1811
+ open?: Signalish<boolean | undefined>;
1812
+ closedby?: Signalish<'none' | 'closerequest' | 'any' | undefined>;
1813
+ closedBy?: Signalish<'none' | 'closerequest' | 'any' | undefined>;
1814
+ }
1815
+
1816
+ /** @deprecated Please import from the Preact namespace instead */
1817
+ interface EmbedHTMLAttributes<T extends EventTarget = HTMLEmbedElement>
1818
+ extends HTMLAttributes<T> {
1819
+ height?: Signalish<number | string | undefined>;
1820
+ src?: Signalish<string | undefined>;
1821
+ type?: Signalish<string | undefined>;
1822
+ width?: Signalish<number | string | undefined>;
1823
+ }
1824
+
1825
+ /** @deprecated Please import from the Preact namespace instead */
1826
+ interface FieldsetHTMLAttributes<T extends EventTarget = HTMLFieldSetElement>
1827
+ extends HTMLAttributes<T> {
1828
+ disabled?: Signalish<boolean | undefined>;
1829
+ form?: Signalish<string | undefined>;
1830
+ name?: Signalish<string | undefined>;
1831
+ }
1832
+
1833
+ /** @deprecated Please import from the Preact namespace instead */
1834
+ interface FormHTMLAttributes<T extends EventTarget = HTMLFormElement>
1835
+ extends HTMLAttributes<T> {
1836
+ 'accept-charset'?: Signalish<string | undefined>;
1837
+ acceptCharset?: Signalish<string | undefined>;
1838
+ action?: Signalish<string | undefined>;
1839
+ autocomplete?: Signalish<string | undefined>;
1840
+ autoComplete?: Signalish<string | undefined>;
1841
+ enctype?: Signalish<string | undefined>;
1842
+ encType?: Signalish<string | undefined>;
1843
+ method?: Signalish<string | undefined>;
1844
+ name?: Signalish<string | undefined>;
1845
+ novalidate?: Signalish<boolean | undefined>;
1846
+ noValidate?: Signalish<boolean | undefined>;
1847
+ rel?: Signalish<string | undefined>;
1848
+ target?: Signalish<string | undefined>;
1849
+ }
1850
+
1851
+ /** @deprecated Please import from the Preact namespace instead */
1852
+ interface IframeHTMLAttributes<T extends EventTarget = HTMLIFrameElement>
1853
+ extends HTMLAttributes<T> {
1854
+ allow?: Signalish<string | undefined>;
1855
+ allowFullScreen?: Signalish<boolean | undefined>;
1856
+ allowTransparency?: Signalish<boolean | undefined>;
1857
+ /** @deprecated */
1858
+ frameborder?: Signalish<number | string | undefined>;
1859
+ /** @deprecated */
1860
+ frameBorder?: Signalish<number | string | undefined>;
1861
+ height?: Signalish<number | string | undefined>;
1862
+ loading?: Signalish<'eager' | 'lazy' | undefined>;
1863
+ /** @deprecated */
1864
+ marginHeight?: Signalish<number | undefined>;
1865
+ /** @deprecated */
1866
+ marginWidth?: Signalish<number | undefined>;
1867
+ name?: Signalish<string | undefined>;
1868
+ referrerpolicy?: Signalish<HTMLAttributeReferrerPolicy | undefined>;
1869
+ referrerPolicy?: Signalish<HTMLAttributeReferrerPolicy | undefined>;
1870
+ sandbox?: Signalish<string | undefined>;
1871
+ /** @deprecated */
1872
+ scrolling?: Signalish<string | undefined>;
1873
+ seamless?: Signalish<boolean | undefined>;
1874
+ src?: Signalish<string | undefined>;
1875
+ srcdoc?: Signalish<string | undefined>;
1876
+ srcDoc?: Signalish<string | undefined>;
1877
+ width?: Signalish<number | string | undefined>;
1878
+ }
1879
+
1880
+ /** @deprecated Please import from the Preact namespace instead */
1881
+ type HTMLAttributeCrossOrigin = 'anonymous' | 'use-credentials';
1882
+
1883
+ /** @deprecated Please import from the Preact namespace instead */
1884
+ interface ImgHTMLAttributes<T extends EventTarget = HTMLImageElement>
1885
+ extends HTMLAttributes<T> {
1886
+ alt?: Signalish<string | undefined>;
1887
+ crossorigin?: Signalish<HTMLAttributeCrossOrigin>;
1888
+ crossOrigin?: Signalish<HTMLAttributeCrossOrigin>;
1889
+ decoding?: Signalish<'async' | 'auto' | 'sync' | undefined>;
1890
+ fetchpriority?: Signalish<'high' | 'auto' | 'low' | undefined>;
1891
+ fetchPriority?: Signalish<'high' | 'auto' | 'low' | undefined>;
1892
+ height?: Signalish<number | string | undefined>;
1893
+ loading?: Signalish<'eager' | 'lazy' | undefined>;
1894
+ referrerpolicy?: Signalish<HTMLAttributeReferrerPolicy | undefined>;
1895
+ referrerPolicy?: Signalish<HTMLAttributeReferrerPolicy | undefined>;
1896
+ sizes?: Signalish<string | undefined>;
1897
+ src?: Signalish<string | undefined>;
1898
+ srcset?: Signalish<string | undefined>;
1899
+ srcSet?: Signalish<string | undefined>;
1900
+ usemap?: Signalish<string | undefined>;
1901
+ useMap?: Signalish<string | undefined>;
1902
+ width?: Signalish<number | string | undefined>;
1903
+ }
1904
+
1905
+ /** @deprecated Please import from the Preact namespace instead */
1906
+ type HTMLInputTypeAttribute =
1907
+ | 'button'
1908
+ | 'checkbox'
1909
+ | 'color'
1910
+ | 'date'
1911
+ | 'datetime-local'
1912
+ | 'email'
1913
+ | 'file'
1914
+ | 'hidden'
1915
+ | 'image'
1916
+ | 'month'
1917
+ | 'number'
1918
+ | 'password'
1919
+ | 'radio'
1920
+ | 'range'
1921
+ | 'reset'
1922
+ | 'search'
1923
+ | 'submit'
1924
+ | 'tel'
1925
+ | 'text'
1926
+ | 'time'
1927
+ | 'url'
1928
+ | 'week'
1929
+ | (string & {});
1930
+
1931
+ /** @deprecated Please import from the Preact namespace instead */
1932
+ interface InputHTMLAttributes<T extends EventTarget = HTMLInputElement>
1933
+ extends HTMLAttributes<T> {
1934
+ accept?: Signalish<string | undefined>;
1935
+ alt?: Signalish<string | undefined>;
1936
+ autocomplete?: Signalish<string | undefined>;
1937
+ autoComplete?: Signalish<string | undefined>;
1938
+ capture?: Signalish<'user' | 'environment' | undefined>; // https://www.w3.org/TR/html-media-capture/#the-capture-attribute
1939
+ checked?: Signalish<boolean | undefined>;
1940
+ defaultChecked?: Signalish<boolean | undefined>;
1941
+ defaultValue?: Signalish<string | number | undefined>;
1942
+ disabled?: Signalish<boolean | undefined>;
1943
+ enterKeyHint?: Signalish<
1944
+ | 'enter'
1945
+ | 'done'
1946
+ | 'go'
1947
+ | 'next'
1948
+ | 'previous'
1949
+ | 'search'
1950
+ | 'send'
1951
+ | undefined
1952
+ >;
1953
+ form?: Signalish<string | undefined>;
1954
+ formaction?: Signalish<string | undefined>;
1955
+ formAction?: Signalish<string | undefined>;
1956
+ formenctype?: Signalish<string | undefined>;
1957
+ formEncType?: Signalish<string | undefined>;
1958
+ formmethod?: Signalish<string | undefined>;
1959
+ formMethod?: Signalish<string | undefined>;
1960
+ formnovalidate?: Signalish<boolean | undefined>;
1961
+ formNoValidate?: Signalish<boolean | undefined>;
1962
+ formtarget?: Signalish<string | undefined>;
1963
+ formTarget?: Signalish<string | undefined>;
1964
+ height?: Signalish<number | string | undefined>;
1965
+ indeterminate?: Signalish<boolean | undefined>;
1966
+ list?: Signalish<string | undefined>;
1967
+ max?: Signalish<number | string | undefined>;
1968
+ maxlength?: Signalish<number | undefined>;
1969
+ maxLength?: Signalish<number | undefined>;
1970
+ min?: Signalish<number | string | undefined>;
1971
+ minlength?: Signalish<number | undefined>;
1972
+ minLength?: Signalish<number | undefined>;
1973
+ multiple?: Signalish<boolean | undefined>;
1974
+ name?: Signalish<string | undefined>;
1975
+ pattern?: Signalish<string | undefined>;
1976
+ placeholder?: Signalish<string | undefined>;
1977
+ readonly?: Signalish<boolean | undefined>;
1978
+ readOnly?: Signalish<boolean | undefined>;
1979
+ required?: Signalish<boolean | undefined>;
1980
+ size?: Signalish<number | undefined>;
1981
+ src?: Signalish<string | undefined>;
1982
+ step?: Signalish<number | string | undefined>;
1983
+ type?: HTMLInputTypeAttribute | undefined;
1984
+ value?: Signalish<string | number | undefined>;
1985
+ width?: Signalish<number | string | undefined>;
1986
+ onChange?: GenericEventHandler<T> | undefined;
1987
+ }
1988
+
1989
+ /** @deprecated Please import from the Preact namespace instead */
1990
+ interface InsHTMLAttributes<T extends EventTarget = HTMLModElement>
1991
+ extends HTMLAttributes<T> {
1992
+ cite?: Signalish<string | undefined>;
1993
+ datetime?: Signalish<string | undefined>;
1994
+ dateTime?: Signalish<string | undefined>;
1995
+ }
1996
+
1997
+ /** @deprecated Please import from the Preact namespace instead */
1998
+ interface KeygenHTMLAttributes<T extends EventTarget = HTMLUnknownElement>
1999
+ extends HTMLAttributes<T> {
2000
+ challenge?: Signalish<string | undefined>;
2001
+ disabled?: Signalish<boolean | undefined>;
2002
+ form?: Signalish<string | undefined>;
2003
+ keyType?: Signalish<string | undefined>;
2004
+ keyParams?: Signalish<string | undefined>;
2005
+ name?: Signalish<string | undefined>;
2006
+ }
2007
+
2008
+ /** @deprecated Please import from the Preact namespace instead */
2009
+ interface LabelHTMLAttributes<T extends EventTarget = HTMLLabelElement>
2010
+ extends HTMLAttributes<T> {
2011
+ for?: Signalish<string | undefined>;
2012
+ form?: Signalish<string | undefined>;
2013
+ htmlFor?: Signalish<string | undefined>;
2014
+ }
2015
+
2016
+ /** @deprecated Please import from the Preact namespace instead */
2017
+ interface LiHTMLAttributes<T extends EventTarget = HTMLLIElement>
2018
+ extends HTMLAttributes<T> {
2019
+ value?: Signalish<string | number | undefined>;
2020
+ }
2021
+
2022
+ /** @deprecated Please import from the Preact namespace instead */
2023
+ interface LinkHTMLAttributes<T extends EventTarget = HTMLLinkElement>
2024
+ extends HTMLAttributes<T> {
2025
+ as?: Signalish<string | undefined>;
2026
+ crossorigin?: Signalish<HTMLAttributeCrossOrigin>;
2027
+ crossOrigin?: Signalish<HTMLAttributeCrossOrigin>;
2028
+ fetchpriority?: Signalish<'high' | 'low' | 'auto' | undefined>;
2029
+ fetchPriority?: Signalish<'high' | 'low' | 'auto' | undefined>;
2030
+ href?: Signalish<string | undefined>;
2031
+ hreflang?: Signalish<string | undefined>;
2032
+ hrefLang?: Signalish<string | undefined>;
2033
+ integrity?: Signalish<string | undefined>;
2034
+ media?: Signalish<string | undefined>;
2035
+ imageSrcSet?: Signalish<string | undefined>;
2036
+ referrerpolicy?: Signalish<HTMLAttributeReferrerPolicy | undefined>;
2037
+ referrerPolicy?: Signalish<HTMLAttributeReferrerPolicy | undefined>;
2038
+ rel?: Signalish<string | undefined>;
2039
+ sizes?: Signalish<string | undefined>;
2040
+ type?: Signalish<string | undefined>;
2041
+ charset?: Signalish<string | undefined>;
2042
+ charSet?: Signalish<string | undefined>;
2043
+ }
2044
+
2045
+ /** @deprecated Please import from the Preact namespace instead */
2046
+ interface MapHTMLAttributes<T extends EventTarget = HTMLMapElement>
2047
+ extends HTMLAttributes<T> {
2048
+ name?: Signalish<string | undefined>;
2049
+ }
2050
+
2051
+ /** @deprecated Please import from the Preact namespace instead */
2052
+ interface MarqueeHTMLAttributes<T extends EventTarget = HTMLMarqueeElement>
2053
+ extends HTMLAttributes<T> {
2054
+ behavior?: Signalish<'scroll' | 'slide' | 'alternate' | undefined>;
2055
+ bgColor?: Signalish<string | undefined>;
2056
+ direction?: Signalish<'left' | 'right' | 'up' | 'down' | undefined>;
2057
+ height?: Signalish<number | string | undefined>;
2058
+ hspace?: Signalish<number | string | undefined>;
2059
+ loop?: Signalish<number | string | undefined>;
2060
+ scrollAmount?: Signalish<number | string | undefined>;
2061
+ scrollDelay?: Signalish<number | string | undefined>;
2062
+ trueSpeed?: Signalish<boolean | undefined>;
2063
+ vspace?: Signalish<number | string | undefined>;
2064
+ width?: Signalish<number | string | undefined>;
2065
+ }
2066
+
2067
+ /** @deprecated Please import from the Preact namespace instead */
2068
+ interface MediaHTMLAttributes<T extends EventTarget = HTMLMediaElement>
2069
+ extends HTMLAttributes<T> {
2070
+ autoplay?: Signalish<boolean | undefined>;
2071
+ autoPlay?: Signalish<boolean | undefined>;
2072
+ controls?: Signalish<boolean | undefined>;
2073
+ controlslist?: Signalish<string | undefined>;
2074
+ controlsList?: Signalish<string | undefined>;
2075
+ crossorigin?: Signalish<HTMLAttributeCrossOrigin>;
2076
+ crossOrigin?: Signalish<HTMLAttributeCrossOrigin>;
2077
+ currentTime?: Signalish<number | undefined>;
2078
+ defaultMuted?: Signalish<boolean | undefined>;
2079
+ defaultPlaybackRate?: Signalish<number | undefined>;
2080
+ disableremoteplayback?: Signalish<boolean | undefined>;
2081
+ disableRemotePlayback?: Signalish<boolean | undefined>;
2082
+ loop?: Signalish<boolean | undefined>;
2083
+ mediaGroup?: Signalish<string | undefined>;
2084
+ muted?: Signalish<boolean | undefined>;
2085
+ playbackRate?: Signalish<number | undefined>;
2086
+ preload?: Signalish<'auto' | 'metadata' | 'none' | undefined>;
2087
+ preservesPitch?: Signalish<boolean | undefined>;
2088
+ src?: Signalish<string | undefined>;
2089
+ srcObject?: Signalish<MediaStream | MediaSource | Blob | File | null>;
2090
+ volume?: Signalish<string | number | undefined>;
2091
+ }
2092
+
2093
+ /** @deprecated Please import from the Preact namespace instead */
2094
+ interface MenuHTMLAttributes<T extends EventTarget = HTMLMenuElement>
2095
+ extends HTMLAttributes<T> {
2096
+ type?: Signalish<string | undefined>;
2097
+ }
2098
+
2099
+ /** @deprecated Please import from the Preact namespace instead */
2100
+ interface MetaHTMLAttributes<T extends EventTarget = HTMLMetaElement>
2101
+ extends HTMLAttributes<T> {
2102
+ charset?: Signalish<string | undefined>;
2103
+ charSet?: Signalish<string | undefined>;
2104
+ content?: Signalish<string | undefined>;
2105
+ 'http-equiv'?: Signalish<string | undefined>;
2106
+ httpEquiv?: Signalish<string | undefined>;
2107
+ name?: Signalish<string | undefined>;
2108
+ media?: Signalish<string | undefined>;
2109
+ }
2110
+
2111
+ /** @deprecated Please import from the Preact namespace instead */
2112
+ interface MeterHTMLAttributes<T extends EventTarget = HTMLMeterElement>
2113
+ extends HTMLAttributes<T> {
2114
+ form?: Signalish<string | undefined>;
2115
+ high?: Signalish<number | undefined>;
2116
+ low?: Signalish<number | undefined>;
2117
+ max?: Signalish<number | string | undefined>;
2118
+ min?: Signalish<number | string | undefined>;
2119
+ optimum?: Signalish<number | undefined>;
2120
+ value?: Signalish<string | number | undefined>;
2121
+ }
2122
+
2123
+ /** @deprecated Please import from the Preact namespace instead */
2124
+ interface ObjectHTMLAttributes<T extends EventTarget = HTMLObjectElement>
2125
+ extends HTMLAttributes<T> {
2126
+ classID?: Signalish<string | undefined>;
2127
+ data?: Signalish<string | undefined>;
2128
+ form?: Signalish<string | undefined>;
2129
+ height?: Signalish<number | string | undefined>;
2130
+ name?: Signalish<string | undefined>;
2131
+ type?: Signalish<string | undefined>;
2132
+ usemap?: Signalish<string | undefined>;
2133
+ useMap?: Signalish<string | undefined>;
2134
+ width?: Signalish<number | string | undefined>;
2135
+ wmode?: Signalish<string | undefined>;
2136
+ }
2137
+
2138
+ /** @deprecated Please import from the Preact namespace instead */
2139
+ interface OlHTMLAttributes<T extends EventTarget = HTMLOListElement>
2140
+ extends HTMLAttributes<T> {
2141
+ reversed?: Signalish<boolean | undefined>;
2142
+ start?: Signalish<number | undefined>;
2143
+ type?: Signalish<'1' | 'a' | 'A' | 'i' | 'I' | undefined>;
2144
+ }
2145
+
2146
+ /** @deprecated Please import from the Preact namespace instead */
2147
+ interface OptgroupHTMLAttributes<T extends EventTarget = HTMLOptGroupElement>
2148
+ extends HTMLAttributes<T> {
2149
+ disabled?: Signalish<boolean | undefined>;
2150
+ label?: Signalish<string | undefined>;
2151
+ }
2152
+
2153
+ /** @deprecated Please import from the Preact namespace instead */
2154
+ interface OptionHTMLAttributes<T extends EventTarget = HTMLOptionElement>
2155
+ extends HTMLAttributes<T> {
2156
+ disabled?: Signalish<boolean | undefined>;
2157
+ label?: Signalish<string | undefined>;
2158
+ selected?: Signalish<boolean | undefined>;
2159
+ value?: Signalish<string | number | undefined>;
2160
+ }
2161
+
2162
+ /** @deprecated Please import from the Preact namespace instead */
2163
+ interface OutputHTMLAttributes<T extends EventTarget = HTMLOutputElement>
2164
+ extends HTMLAttributes<T> {
2165
+ for?: Signalish<string | undefined>;
2166
+ form?: Signalish<string | undefined>;
2167
+ htmlFor?: Signalish<string | undefined>;
2168
+ name?: Signalish<string | undefined>;
2169
+ }
2170
+
2171
+ /** @deprecated Please import from the Preact namespace instead */
2172
+ interface ParamHTMLAttributes<T extends EventTarget = HTMLParamElement>
2173
+ extends HTMLAttributes<T> {
2174
+ name?: Signalish<string | undefined>;
2175
+ value?: Signalish<string | number | undefined>;
2176
+ }
2177
+
2178
+ /** @deprecated Please import from the Preact namespace instead */
2179
+ interface ProgressHTMLAttributes<T extends EventTarget = HTMLProgressElement>
2180
+ extends HTMLAttributes<T> {
2181
+ max?: Signalish<number | string | undefined>;
2182
+ value?: Signalish<string | number | undefined>;
2183
+ }
2184
+
2185
+ /** @deprecated Please import from the Preact namespace instead */
2186
+ interface QuoteHTMLAttributes<T extends EventTarget = HTMLQuoteElement>
2187
+ extends HTMLAttributes<T> {
2188
+ cite?: Signalish<string | undefined>;
2189
+ }
2190
+
2191
+ /** @deprecated Please import from the Preact namespace instead */
2192
+ interface ScriptHTMLAttributes<T extends EventTarget = HTMLScriptElement>
2193
+ extends HTMLAttributes<T> {
2194
+ async?: Signalish<boolean | undefined>;
2195
+ /** @deprecated */
2196
+ charset?: Signalish<string | undefined>;
2197
+ /** @deprecated */
2198
+ charSet?: Signalish<string | undefined>;
2199
+ crossorigin?: Signalish<HTMLAttributeCrossOrigin>;
2200
+ crossOrigin?: Signalish<HTMLAttributeCrossOrigin>;
2201
+ defer?: Signalish<boolean | undefined>;
2202
+ integrity?: Signalish<string | undefined>;
2203
+ nomodule?: Signalish<boolean | undefined>;
2204
+ noModule?: Signalish<boolean | undefined>;
2205
+ referrerpolicy?: Signalish<HTMLAttributeReferrerPolicy | undefined>;
2206
+ referrerPolicy?: Signalish<HTMLAttributeReferrerPolicy | undefined>;
2207
+ src?: Signalish<string | undefined>;
2208
+ type?: Signalish<string | undefined>;
2209
+ }
2210
+
2211
+ /** @deprecated Please import from the Preact namespace instead */
2212
+ interface SelectHTMLAttributes<T extends EventTarget = HTMLSelectElement>
2213
+ extends HTMLAttributes<T> {
2214
+ autocomplete?: Signalish<string | undefined>;
2215
+ autoComplete?: Signalish<string | undefined>;
2216
+ defaultValue?: Signalish<string | number | undefined>;
2217
+ disabled?: Signalish<boolean | undefined>;
2218
+ form?: Signalish<string | undefined>;
2219
+ multiple?: Signalish<boolean | undefined>;
2220
+ name?: Signalish<string | undefined>;
2221
+ required?: Signalish<boolean | undefined>;
2222
+ size?: Signalish<number | undefined>;
2223
+ value?: Signalish<string | number | undefined>;
2224
+ onChange?: GenericEventHandler<T> | undefined;
2225
+ }
2226
+
2227
+ /** @deprecated Please import from the Preact namespace instead */
2228
+ interface SlotHTMLAttributes<T extends EventTarget = HTMLSlotElement>
2229
+ extends HTMLAttributes<T> {
2230
+ name?: Signalish<string | undefined>;
2231
+ }
2232
+
2233
+ /** @deprecated Please import from the Preact namespace instead */
2234
+ interface SourceHTMLAttributes<T extends EventTarget = HTMLSourceElement>
2235
+ extends HTMLAttributes<T> {
2236
+ height?: Signalish<number | string | undefined>;
2237
+ media?: Signalish<string | undefined>;
2238
+ sizes?: Signalish<string | undefined>;
2239
+ src?: Signalish<string | undefined>;
2240
+ srcset?: Signalish<string | undefined>;
2241
+ srcSet?: Signalish<string | undefined>;
2242
+ type?: Signalish<string | undefined>;
2243
+ width?: Signalish<number | string | undefined>;
2244
+ }
2245
+
2246
+ /** @deprecated Please import from the Preact namespace instead */
2247
+ interface StyleHTMLAttributes<T extends EventTarget = HTMLStyleElement>
2248
+ extends HTMLAttributes<T> {
2249
+ media?: Signalish<string | undefined>;
2250
+ scoped?: Signalish<boolean | undefined>;
2251
+ type?: Signalish<string | undefined>;
2252
+ }
2253
+
2254
+ /** @deprecated Please import from the Preact namespace instead */
2255
+ interface TableHTMLAttributes<T extends EventTarget = HTMLTableElement>
2256
+ extends HTMLAttributes<T> {
2257
+ cellPadding?: Signalish<string | undefined>;
2258
+ cellSpacing?: Signalish<string | undefined>;
2259
+ summary?: Signalish<string | undefined>;
2260
+ width?: Signalish<number | string | undefined>;
2261
+ }
2262
+
2263
+ /** @deprecated Please import from the Preact namespace instead */
2264
+ interface TdHTMLAttributes<T extends EventTarget = HTMLTableCellElement>
2265
+ extends HTMLAttributes<T> {
2266
+ align?: Signalish<
2267
+ 'left' | 'center' | 'right' | 'justify' | 'char' | undefined
2268
+ >;
2269
+ colspan?: Signalish<number | undefined>;
2270
+ colSpan?: Signalish<number | undefined>;
2271
+ headers?: Signalish<string | undefined>;
2272
+ rowspan?: Signalish<number | undefined>;
2273
+ rowSpan?: Signalish<number | undefined>;
2274
+ scope?: Signalish<string | undefined>;
2275
+ abbr?: Signalish<string | undefined>;
2276
+ height?: Signalish<number | string | undefined>;
2277
+ width?: Signalish<number | string | undefined>;
2278
+ valign?: Signalish<'top' | 'middle' | 'bottom' | 'baseline' | undefined>;
2279
+ }
2280
+
2281
+ /** @deprecated Please import from the Preact namespace instead */
2282
+ interface TextareaHTMLAttributes<T extends EventTarget = HTMLTextAreaElement>
2283
+ extends HTMLAttributes<T> {
2284
+ autocomplete?: Signalish<string | undefined>;
2285
+ autoComplete?: Signalish<string | undefined>;
2286
+ cols?: Signalish<number | undefined>;
2287
+ defaultValue?: Signalish<string | number | undefined>;
2288
+ dirName?: Signalish<string | undefined>;
2289
+ disabled?: Signalish<boolean | undefined>;
2290
+ form?: Signalish<string | undefined>;
2291
+ maxlength?: Signalish<number | undefined>;
2292
+ maxLength?: Signalish<number | undefined>;
2293
+ minlength?: Signalish<number | undefined>;
2294
+ minLength?: Signalish<number | undefined>;
2295
+ name?: Signalish<string | undefined>;
2296
+ placeholder?: Signalish<string | undefined>;
2297
+ readOnly?: Signalish<boolean | undefined>;
2298
+ required?: Signalish<boolean | undefined>;
2299
+ rows?: Signalish<number | undefined>;
2300
+ value?: Signalish<string | number | undefined>;
2301
+ wrap?: Signalish<string | undefined>;
2302
+ onChange?: GenericEventHandler<T> | undefined;
2303
+ }
2304
+
2305
+ /** @deprecated Please import from the Preact namespace instead */
2306
+ interface ThHTMLAttributes<T extends EventTarget = HTMLTableCellElement>
2307
+ extends HTMLAttributes<T> {
2308
+ align?: Signalish<
2309
+ 'left' | 'center' | 'right' | 'justify' | 'char' | undefined
2310
+ >;
2311
+ colspan?: Signalish<number | undefined>;
2312
+ colSpan?: Signalish<number | undefined>;
2313
+ headers?: Signalish<string | undefined>;
2314
+ rowspan?: Signalish<number | undefined>;
2315
+ rowSpan?: Signalish<number | undefined>;
2316
+ scope?: Signalish<string | undefined>;
2317
+ abbr?: Signalish<string | undefined>;
2318
+ }
2319
+
2320
+ /** @deprecated Please import from the Preact namespace instead */
2321
+ interface TimeHTMLAttributes<T extends EventTarget = HTMLTimeElement>
2322
+ extends HTMLAttributes<T> {
2323
+ datetime?: Signalish<string | undefined>;
2324
+ dateTime?: Signalish<string | undefined>;
2325
+ }
2326
+
2327
+ /** @deprecated Please import from the Preact namespace instead */
2328
+ interface TrackHTMLAttributes<T extends EventTarget = HTMLTrackElement>
2329
+ extends MediaHTMLAttributes<T> {
2330
+ default?: Signalish<boolean | undefined>;
2331
+ kind?: Signalish<string | undefined>;
2332
+ label?: Signalish<string | undefined>;
2333
+ srclang?: Signalish<string | undefined>;
2334
+ srcLang?: Signalish<string | undefined>;
2335
+ }
2336
+
2337
+ /** @deprecated Please import from the Preact namespace instead */
2338
+ interface VideoHTMLAttributes<T extends EventTarget = HTMLVideoElement>
2339
+ extends MediaHTMLAttributes<T> {
2340
+ disablePictureInPicture?: Signalish<boolean | undefined>;
2341
+ height?: Signalish<number | string | undefined>;
2342
+ playsinline?: Signalish<boolean | undefined>;
2343
+ playsInline?: Signalish<boolean | undefined>;
2344
+ poster?: Signalish<string | undefined>;
2345
+ width?: Signalish<number | string | undefined>;
2346
+ }
2347
+
2348
+ /** @deprecated Please import from the Preact namespace instead */
2349
+ export type DetailedHTMLProps<
2350
+ HA extends HTMLAttributes<RefType>,
2351
+ RefType extends EventTarget = EventTarget
2352
+ > = HA;
2353
+
2354
+ /** @deprecated Please import from the Preact namespace instead */
2355
+ export interface MathMLAttributes<Target extends EventTarget = MathMLElement>
2356
+ extends HTMLAttributes<Target> {
2357
+ dir?: Signalish<'ltr' | 'rtl' | undefined>;
2358
+ displaystyle?: Signalish<boolean | undefined>;
2359
+ /** @deprecated This feature is non-standard. See https://developer.mozilla.org/en-US/docs/Web/MathML/Global_attributes/href */
2360
+ href?: Signalish<string | undefined>;
2361
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Global_attributes/mathbackground */
2362
+ mathbackground?: Signalish<string | undefined>;
2363
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Global_attributes/mathcolor */
2364
+ mathcolor?: Signalish<string | undefined>;
2365
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Global_attributes/mathsize */
2366
+ mathsize?: Signalish<string | undefined>;
2367
+ nonce?: Signalish<string | undefined>;
2368
+ scriptlevel?: Signalish<string | undefined>;
2369
+ }
2370
+
2371
+ /** @deprecated Please import from the Preact namespace instead */
2372
+ export interface AnnotationMathMLAttributes<T extends EventTarget>
2373
+ extends MathMLAttributes<T> {
2374
+ encoding?: Signalish<string | undefined>;
2375
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/semantics#src */
2376
+ src?: Signalish<string | undefined>;
2377
+ }
2378
+
2379
+ /** @deprecated Please import from the Preact namespace instead */
2380
+ export interface AnnotationXmlMathMLAttributes<T extends EventTarget>
2381
+ extends MathMLAttributes<T> {
2382
+ encoding?: Signalish<string | undefined>;
2383
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/semantics#src */
2384
+ src?: Signalish<string | undefined>;
2385
+ }
2386
+
2387
+ /** @deprecated Please import from the Preact namespace instead */
2388
+ export interface MActionMathMLAttributes<T extends EventTarget>
2389
+ extends MathMLAttributes<T> {
2390
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/maction#actiontype */
2391
+ actiontype?: Signalish<'statusline' | 'toggle' | undefined>;
2392
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/maction#selection */
2393
+ selection?: Signalish<string | undefined>;
2394
+ }
2395
+
2396
+ /** @deprecated Please import from the Preact namespace instead */
2397
+ export interface MathMathMLAttributes<T extends EventTarget>
2398
+ extends MathMLAttributes<T> {
2399
+ display?: Signalish<'block' | 'inline' | undefined>;
2400
+ }
2401
+
2402
+ /** @deprecated Please import from the Preact namespace instead */
2403
+ export interface MEncloseMathMLAttributes<T extends EventTarget>
2404
+ extends MathMLAttributes<T> {
2405
+ notation?: Signalish<string | undefined>;
2406
+ }
2407
+
2408
+ /** @deprecated Please import from the Preact namespace instead */
2409
+ export interface MErrorMathMLAttributes<T extends EventTarget>
2410
+ extends MathMLAttributes<T> {}
2411
+
2412
+ /** @deprecated Please import from the Preact namespace instead */
2413
+ export interface MFencedMathMLAttributes<T extends EventTarget>
2414
+ extends MathMLAttributes<T> {
2415
+ close?: Signalish<string | undefined>;
2416
+ open?: Signalish<string | undefined>;
2417
+ separators?: Signalish<string | undefined>;
2418
+ }
2419
+
2420
+ /** @deprecated Please import from the Preact namespace instead */
2421
+ export interface MFracMathMLAttributes<T extends EventTarget>
2422
+ extends MathMLAttributes<T> {
2423
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mfrac#denomalign */
2424
+ denomalign?: Signalish<'center' | 'left' | 'right' | undefined>;
2425
+ linethickness?: Signalish<string | undefined>;
2426
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mfrac#numalign */
2427
+ numalign?: Signalish<'center' | 'left' | 'right' | undefined>;
2428
+ }
2429
+
2430
+ /** @deprecated Please import from the Preact namespace instead */
2431
+ export interface MiMathMLAttributes<T extends EventTarget>
2432
+ extends MathMLAttributes<T> {
2433
+ /** The only value allowed in the current specification is normal (case insensitive)
2434
+ * See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mi#mathvariant */
2435
+ mathvariant?: Signalish<
2436
+ | 'normal'
2437
+ | 'bold'
2438
+ | 'italic'
2439
+ | 'bold-italic'
2440
+ | 'double-struck'
2441
+ | 'bold-fraktur'
2442
+ | 'script'
2443
+ | 'bold-script'
2444
+ | 'fraktur'
2445
+ | 'sans-serif'
2446
+ | 'bold-sans-serif'
2447
+ | 'sans-serif-italic'
2448
+ | 'sans-serif-bold-italic'
2449
+ | 'monospace'
2450
+ | 'initial'
2451
+ | 'tailed'
2452
+ | 'looped'
2453
+ | 'stretched'
2454
+ | undefined
2455
+ >;
2456
+ }
2457
+
2458
+ /** @deprecated Please import from the Preact namespace instead */
2459
+ export interface MmultiScriptsMathMLAttributes<T extends EventTarget>
2460
+ extends MathMLAttributes<T> {
2461
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mmultiscripts#subscriptshift */
2462
+ subscriptshift?: Signalish<string | undefined>;
2463
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mmultiscripts#superscriptshift */
2464
+ superscriptshift?: Signalish<string | undefined>;
2465
+ }
2466
+
2467
+ /** @deprecated Please import from the Preact namespace instead */
2468
+ export interface MNMathMLAttributes<T extends EventTarget>
2469
+ extends MathMLAttributes<T> {}
2470
+
2471
+ /** @deprecated Please import from the Preact namespace instead */
2472
+ export interface MOMathMLAttributes<T extends EventTarget>
2473
+ extends MathMLAttributes<T> {
2474
+ /** Non-standard attribute See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mo#accent */
2475
+ accent?: Signalish<boolean | undefined>;
2476
+ fence?: Signalish<boolean | undefined>;
2477
+ largeop?: Signalish<boolean | undefined>;
2478
+ lspace?: Signalish<string | undefined>;
2479
+ maxsize?: Signalish<string | undefined>;
2480
+ minsize?: Signalish<string | undefined>;
2481
+ movablelimits?: Signalish<boolean | undefined>;
2482
+ rspace?: Signalish<string | undefined>;
2483
+ separator?: Signalish<boolean | undefined>;
2484
+ stretchy?: Signalish<boolean | undefined>;
2485
+ symmetric?: Signalish<boolean | undefined>;
2486
+ }
2487
+
2488
+ /** @deprecated Please import from the Preact namespace instead */
2489
+ export interface MOverMathMLAttributes<T extends EventTarget>
2490
+ extends MathMLAttributes<T> {
2491
+ accent?: Signalish<boolean | undefined>;
2492
+ }
2493
+
2494
+ /** @deprecated Please import from the Preact namespace instead */
2495
+ export interface MPaddedMathMLAttributes<T extends EventTarget>
2496
+ extends MathMLAttributes<T> {
2497
+ depth?: Signalish<string | undefined>;
2498
+ height?: Signalish<string | undefined>;
2499
+ lspace?: Signalish<string | undefined>;
2500
+ voffset?: Signalish<string | undefined>;
2501
+ width?: Signalish<string | undefined>;
2502
+ }
2503
+
2504
+ /** @deprecated Please import from the Preact namespace instead */
2505
+ export interface MPhantomMathMLAttributes<T extends EventTarget>
2506
+ extends MathMLAttributes<T> {}
2507
+
2508
+ /** @deprecated Please import from the Preact namespace instead */
2509
+ export interface MPrescriptsMathMLAttributes<T extends EventTarget>
2510
+ extends MathMLAttributes<T> {}
2511
+
2512
+ /** @deprecated Please import from the Preact namespace instead */
2513
+ export interface MRootMathMLAttributes<T extends EventTarget>
2514
+ extends MathMLAttributes<T> {}
2515
+
2516
+ /** @deprecated Please import from the Preact namespace instead */
2517
+ export interface MRowMathMLAttributes<T extends EventTarget>
2518
+ extends MathMLAttributes<T> {}
2519
+
2520
+ /** @deprecated Please import from the Preact namespace instead */
2521
+ export interface MSMathMLAttributes<T extends EventTarget>
2522
+ extends MathMLAttributes<T> {
2523
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/ms#browser_compatibility */
2524
+ lquote?: Signalish<string | undefined>;
2525
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/ms#browser_compatibility */
2526
+ rquote?: Signalish<string | undefined>;
2527
+ }
2528
+
2529
+ /** @deprecated Please import from the Preact namespace instead */
2530
+ export interface MSpaceMathMLAttributes<T extends EventTarget>
2531
+ extends MathMLAttributes<T> {
2532
+ depth?: Signalish<string | undefined>;
2533
+ height?: Signalish<string | undefined>;
2534
+ width?: Signalish<string | undefined>;
2535
+ }
2536
+
2537
+ /** @deprecated Please import from the Preact namespace instead */
2538
+ export interface MSqrtMathMLAttributes<T extends EventTarget>
2539
+ extends MathMLAttributes<T> {}
2540
+
2541
+ /** @deprecated Please import from the Preact namespace instead */
2542
+ export interface MStyleMathMLAttributes<T extends EventTarget>
2543
+ extends MathMLAttributes<T> {
2544
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mstyle#background */
2545
+ background?: Signalish<string | undefined>;
2546
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mstyle#color */
2547
+ color?: Signalish<string | undefined>;
2548
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mstyle#fontsize */
2549
+ fontsize?: Signalish<string | undefined>;
2550
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mstyle#fontstyle */
2551
+ fontstyle?: Signalish<string | undefined>;
2552
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mstyle#fontweight */
2553
+ fontweight?: Signalish<string | undefined>;
2554
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mstyle#scriptminsize */
2555
+ scriptminsize?: Signalish<string | undefined>;
2556
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mstyle#scriptsizemultiplier */
2557
+ scriptsizemultiplier?: Signalish<string | undefined>;
2558
+ }
2559
+
2560
+ /** @deprecated Please import from the Preact namespace instead */
2561
+ export interface MSubMathMLAttributes<T extends EventTarget>
2562
+ extends MathMLAttributes<T> {
2563
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/msub#subscriptshift */
2564
+ subscriptshift?: Signalish<string | undefined>;
2565
+ }
2566
+
2567
+ /** @deprecated Please import from the Preact namespace instead */
2568
+ export interface MSubsupMathMLAttributes<T extends EventTarget>
2569
+ extends MathMLAttributes<T> {
2570
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/msubsup#subscriptshift */
2571
+ subscriptshift?: Signalish<string | undefined>;
2572
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/msubsup#superscriptshift */
2573
+ superscriptshift?: Signalish<string | undefined>;
2574
+ }
2575
+
2576
+ /** @deprecated Please import from the Preact namespace instead */
2577
+ export interface MSupMathMLAttributes<T extends EventTarget>
2578
+ extends MathMLAttributes<T> {
2579
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/msup#superscriptshift */
2580
+ superscriptshift?: Signalish<string | undefined>;
2581
+ }
2582
+
2583
+ /** @deprecated Please import from the Preact namespace instead */
2584
+ export interface MTableMathMLAttributes<T extends EventTarget>
2585
+ extends MathMLAttributes<T> {
2586
+ /** Non-standard attribute See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtable#align */
2587
+ align?: Signalish<
2588
+ 'axis' | 'baseline' | 'bottom' | 'center' | 'top' | undefined
2589
+ >;
2590
+ /** Non-standard attribute See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtable#columnalign */
2591
+ columnalign?: Signalish<'center' | 'left' | 'right' | undefined>;
2592
+ /** Non-standard attribute See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtable#columnlines */
2593
+ columnlines?: Signalish<'dashed' | 'none' | 'solid' | undefined>;
2594
+ /** Non-standard attribute See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtable#columnspacing */
2595
+ columnspacing?: Signalish<string | undefined>;
2596
+ /** Non-standard attribute See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtable#frame */
2597
+ frame?: Signalish<'dashed' | 'none' | 'solid' | undefined>;
2598
+ /** Non-standard attribute See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtable#framespacing */
2599
+ framespacing?: Signalish<string | undefined>;
2600
+ /** Non-standard attribute See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtable#rowalign */
2601
+ rowalign?: Signalish<
2602
+ 'axis' | 'baseline' | 'bottom' | 'center' | 'top' | undefined
2603
+ >;
2604
+ /** Non-standard attribute See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtable#rowlines */
2605
+ rowlines?: Signalish<'dashed' | 'none' | 'solid' | undefined>;
2606
+ /** Non-standard attribute See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtable#rowspacing */
2607
+ rowspacing?: Signalish<string | undefined>;
2608
+ /** Non-standard attribute See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtable#width */
2609
+ width?: Signalish<string | undefined>;
2610
+ }
2611
+
2612
+ /** @deprecated Please import from the Preact namespace instead */
2613
+ export interface MTdMathMLAttributes<T extends EventTarget>
2614
+ extends MathMLAttributes<T> {
2615
+ columnspan?: Signalish<number | undefined>;
2616
+ rowspan?: Signalish<number | undefined>;
2617
+ /** Non-standard attribute See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtd#columnalign */
2618
+ columnalign?: Signalish<'center' | 'left' | 'right' | undefined>;
2619
+ /** Non-standard attribute See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtd#rowalign */
2620
+ rowalign?: Signalish<
2621
+ 'axis' | 'baseline' | 'bottom' | 'center' | 'top' | undefined
2622
+ >;
2623
+ }
2624
+
2625
+ /** @deprecated Please import from the Preact namespace instead */
2626
+ export interface MTextMathMLAttributes<T extends EventTarget>
2627
+ extends MathMLAttributes<T> {}
2628
+
2629
+ /** @deprecated Please import from the Preact namespace instead */
2630
+ export interface MTrMathMLAttributes<T extends EventTarget>
2631
+ extends MathMLAttributes<T> {
2632
+ /** Non-standard attribute See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtr#columnalign */
2633
+ columnalign?: Signalish<'center' | 'left' | 'right' | undefined>;
2634
+ /** Non-standard attribute See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtr#rowalign */
2635
+ rowalign?: Signalish<
2636
+ 'axis' | 'baseline' | 'bottom' | 'center' | 'top' | undefined
2637
+ >;
2638
+ }
2639
+
2640
+ /** @deprecated Please import from the Preact namespace instead */
2641
+ export interface MUnderMathMLAttributes<T extends EventTarget>
2642
+ extends MathMLAttributes<T> {
2643
+ accentunder?: Signalish<boolean | undefined>;
2644
+ }
2645
+
2646
+ /** @deprecated Please import from the Preact namespace instead */
2647
+ export interface MUnderoverMathMLAttributes<T extends EventTarget>
2648
+ extends MathMLAttributes<T> {
2649
+ accent?: Signalish<boolean | undefined>;
2650
+ accentunder?: Signalish<boolean | undefined>;
2651
+ }
2652
+
2653
+ /** @deprecated Please import from the Preact namespace instead */
2654
+ export interface SemanticsMathMLAttributes<T extends EventTarget>
2655
+ extends MathMLAttributes<T> {}
2656
+
2657
+ export interface IntrinsicSVGElements {
2658
+ svg: SVGAttributes<SVGSVGElement>;
2659
+ animate: SVGAttributes<SVGAnimateElement>;
2660
+ circle: SVGAttributes<SVGCircleElement>;
2661
+ animateMotion: SVGAttributes<SVGAnimateMotionElement>;
2662
+ animateTransform: SVGAttributes<SVGAnimateTransformElement>;
2663
+ clipPath: SVGAttributes<SVGClipPathElement>;
2664
+ defs: SVGAttributes<SVGDefsElement>;
2665
+ desc: SVGAttributes<SVGDescElement>;
2666
+ ellipse: SVGAttributes<SVGEllipseElement>;
2667
+ feBlend: SVGAttributes<SVGFEBlendElement>;
2668
+ feColorMatrix: SVGAttributes<SVGFEColorMatrixElement>;
2669
+ feComponentTransfer: SVGAttributes<SVGFEComponentTransferElement>;
2670
+ feComposite: SVGAttributes<SVGFECompositeElement>;
2671
+ feConvolveMatrix: SVGAttributes<SVGFEConvolveMatrixElement>;
2672
+ feDiffuseLighting: SVGAttributes<SVGFEDiffuseLightingElement>;
2673
+ feDisplacementMap: SVGAttributes<SVGFEDisplacementMapElement>;
2674
+ feDistantLight: SVGAttributes<SVGFEDistantLightElement>;
2675
+ feDropShadow: SVGAttributes<SVGFEDropShadowElement>;
2676
+ feFlood: SVGAttributes<SVGFEFloodElement>;
2677
+ feFuncA: SVGAttributes<SVGFEFuncAElement>;
2678
+ feFuncB: SVGAttributes<SVGFEFuncBElement>;
2679
+ feFuncG: SVGAttributes<SVGFEFuncGElement>;
2680
+ feFuncR: SVGAttributes<SVGFEFuncRElement>;
2681
+ feGaussianBlur: SVGAttributes<SVGFEGaussianBlurElement>;
2682
+ feImage: SVGAttributes<SVGFEImageElement>;
2683
+ feMerge: SVGAttributes<SVGFEMergeElement>;
2684
+ feMergeNode: SVGAttributes<SVGFEMergeNodeElement>;
2685
+ feMorphology: SVGAttributes<SVGFEMorphologyElement>;
2686
+ feOffset: SVGAttributes<SVGFEOffsetElement>;
2687
+ fePointLight: SVGAttributes<SVGFEPointLightElement>;
2688
+ feSpecularLighting: SVGAttributes<SVGFESpecularLightingElement>;
2689
+ feSpotLight: SVGAttributes<SVGFESpotLightElement>;
2690
+ feTile: SVGAttributes<SVGFETileElement>;
2691
+ feTurbulence: SVGAttributes<SVGFETurbulenceElement>;
2692
+ filter: SVGAttributes<SVGFilterElement>;
2693
+ foreignObject: SVGAttributes<SVGForeignObjectElement>;
2694
+ g: SVGAttributes<SVGGElement>;
2695
+ image: SVGAttributes<SVGImageElement>;
2696
+ line: SVGAttributes<SVGLineElement>;
2697
+ linearGradient: SVGAttributes<SVGLinearGradientElement>;
2698
+ marker: SVGAttributes<SVGMarkerElement>;
2699
+ mask: SVGAttributes<SVGMaskElement>;
2700
+ metadata: SVGAttributes<SVGMetadataElement>;
2701
+ mpath: SVGAttributes<SVGMPathElement>;
2702
+ path: SVGAttributes<SVGPathElement>;
2703
+ pattern: SVGAttributes<SVGPatternElement>;
2704
+ polygon: SVGAttributes<SVGPolygonElement>;
2705
+ polyline: SVGAttributes<SVGPolylineElement>;
2706
+ radialGradient: SVGAttributes<SVGRadialGradientElement>;
2707
+ rect: SVGAttributes<SVGRectElement>;
2708
+ set: SVGAttributes<SVGSetElement>;
2709
+ stop: SVGAttributes<SVGStopElement>;
2710
+ switch: SVGAttributes<SVGSwitchElement>;
2711
+ symbol: SVGAttributes<SVGSymbolElement>;
2712
+ text: SVGAttributes<SVGTextElement>;
2713
+ textPath: SVGAttributes<SVGTextPathElement>;
2714
+ tspan: SVGAttributes<SVGTSpanElement>;
2715
+ use: SVGAttributes<SVGUseElement>;
2716
+ view: SVGAttributes<SVGViewElement>;
2717
+ }
2718
+
2719
+ export interface IntrinsicMathMLElements {
2720
+ annotation: AnnotationMathMLAttributes<MathMLElement>;
2721
+ 'annotation-xml': AnnotationXmlMathMLAttributes<MathMLElement>;
2722
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/maction */
2723
+ maction: MActionMathMLAttributes<MathMLElement>;
2724
+ math: MathMathMLAttributes<MathMLElement>;
2725
+ /** This feature is non-standard. See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/menclose */
2726
+ menclose: MEncloseMathMLAttributes<MathMLElement>;
2727
+ merror: MErrorMathMLAttributes<MathMLElement>;
2728
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mfenced */
2729
+ mfenced: MFencedMathMLAttributes<MathMLElement>;
2730
+ mfrac: MFracMathMLAttributes<MathMLElement>;
2731
+ mi: MiMathMLAttributes<MathMLElement>;
2732
+ mmultiscripts: MmultiScriptsMathMLAttributes<MathMLElement>;
2733
+ mn: MNMathMLAttributes<MathMLElement>;
2734
+ mo: MOMathMLAttributes<MathMLElement>;
2735
+ mover: MOverMathMLAttributes<MathMLElement>;
2736
+ mpadded: MPaddedMathMLAttributes<MathMLElement>;
2737
+ mphantom: MPhantomMathMLAttributes<MathMLElement>;
2738
+ mprescripts: MPrescriptsMathMLAttributes<MathMLElement>;
2739
+ mroot: MRootMathMLAttributes<MathMLElement>;
2740
+ mrow: MRowMathMLAttributes<MathMLElement>;
2741
+ ms: MSMathMLAttributes<MathMLElement>;
2742
+ mspace: MSpaceMathMLAttributes<MathMLElement>;
2743
+ msqrt: MSqrtMathMLAttributes<MathMLElement>;
2744
+ mstyle: MStyleMathMLAttributes<MathMLElement>;
2745
+ msub: MSubMathMLAttributes<MathMLElement>;
2746
+ msubsup: MSubsupMathMLAttributes<MathMLElement>;
2747
+ msup: MSupMathMLAttributes<MathMLElement>;
2748
+ mtable: MTableMathMLAttributes<MathMLElement>;
2749
+ mtd: MTdMathMLAttributes<MathMLElement>;
2750
+ mtext: MTextMathMLAttributes<MathMLElement>;
2751
+ mtr: MTrMathMLAttributes<MathMLElement>;
2752
+ munder: MUnderMathMLAttributes<MathMLElement>;
2753
+ munderover: MUnderMathMLAttributes<MathMLElement>;
2754
+ semantics: SemanticsMathMLAttributes<MathMLElement>;
2755
+ }
2756
+
2757
+ export interface IntrinsicElements
2758
+ extends IntrinsicSVGElements,
2759
+ IntrinsicMathMLElements {
2760
+ a: AnchorHTMLAttributes<HTMLAnchorElement>;
2761
+ abbr: HTMLAttributes<HTMLElement>;
2762
+ address: HTMLAttributes<HTMLElement>;
2763
+ area: AreaHTMLAttributes<HTMLAreaElement>;
2764
+ article: HTMLAttributes<HTMLElement>;
2765
+ aside: HTMLAttributes<HTMLElement>;
2766
+ audio: AudioHTMLAttributes<HTMLAudioElement>;
2767
+ b: HTMLAttributes<HTMLElement>;
2768
+ base: BaseHTMLAttributes<HTMLBaseElement>;
2769
+ bdi: HTMLAttributes<HTMLElement>;
2770
+ bdo: HTMLAttributes<HTMLElement>;
2771
+ big: HTMLAttributes<HTMLElement>;
2772
+ blockquote: BlockquoteHTMLAttributes<HTMLQuoteElement>;
2773
+ body: HTMLAttributes<HTMLBodyElement>;
2774
+ br: HTMLAttributes<HTMLBRElement>;
2775
+ button: ButtonHTMLAttributes<HTMLButtonElement>;
2776
+ canvas: CanvasHTMLAttributes<HTMLCanvasElement>;
2777
+ caption: HTMLAttributes<HTMLTableCaptionElement>;
2778
+ cite: HTMLAttributes<HTMLElement>;
2779
+ code: HTMLAttributes<HTMLElement>;
2780
+ col: ColHTMLAttributes<HTMLTableColElement>;
2781
+ colgroup: ColgroupHTMLAttributes<HTMLTableColElement>;
2782
+ data: DataHTMLAttributes<HTMLDataElement>;
2783
+ datalist: HTMLAttributes<HTMLDataListElement>;
2784
+ dd: HTMLAttributes<HTMLElement>;
2785
+ del: DelHTMLAttributes<HTMLModElement>;
2786
+ details: DetailsHTMLAttributes<HTMLDetailsElement>;
2787
+ dfn: HTMLAttributes<HTMLElement>;
2788
+ dialog: DialogHTMLAttributes<HTMLDialogElement>;
2789
+ div: HTMLAttributes<HTMLDivElement>;
2790
+ dl: HTMLAttributes<HTMLDListElement>;
2791
+ dt: HTMLAttributes<HTMLElement>;
2792
+ em: HTMLAttributes<HTMLElement>;
2793
+ embed: EmbedHTMLAttributes<HTMLEmbedElement>;
2794
+ fieldset: FieldsetHTMLAttributes<HTMLFieldSetElement>;
2795
+ figcaption: HTMLAttributes<HTMLElement>;
2796
+ figure: HTMLAttributes<HTMLElement>;
2797
+ footer: HTMLAttributes<HTMLElement>;
2798
+ form: FormHTMLAttributes<HTMLFormElement>;
2799
+ h1: HTMLAttributes<HTMLHeadingElement>;
2800
+ h2: HTMLAttributes<HTMLHeadingElement>;
2801
+ h3: HTMLAttributes<HTMLHeadingElement>;
2802
+ h4: HTMLAttributes<HTMLHeadingElement>;
2803
+ h5: HTMLAttributes<HTMLHeadingElement>;
2804
+ h6: HTMLAttributes<HTMLHeadingElement>;
2805
+ head: HTMLAttributes<HTMLHeadElement>;
2806
+ header: HTMLAttributes<HTMLElement>;
2807
+ hgroup: HTMLAttributes<HTMLElement>;
2808
+ hr: HTMLAttributes<HTMLHRElement>;
2809
+ html: HTMLAttributes<HTMLHtmlElement>;
2810
+ i: HTMLAttributes<HTMLElement>;
2811
+ iframe: IframeHTMLAttributes<HTMLIFrameElement>;
2812
+ img: ImgHTMLAttributes<HTMLImageElement>;
2813
+ input: InputHTMLAttributes<HTMLInputElement>;
2814
+ ins: InsHTMLAttributes<HTMLModElement>;
2815
+ kbd: HTMLAttributes<HTMLElement>;
2816
+ keygen: KeygenHTMLAttributes<HTMLUnknownElement>;
2817
+ label: LabelHTMLAttributes<HTMLLabelElement>;
2818
+ legend: HTMLAttributes<HTMLLegendElement>;
2819
+ li: LiHTMLAttributes<HTMLLIElement>;
2820
+ link: LinkHTMLAttributes<HTMLLinkElement>;
2821
+ main: HTMLAttributes<HTMLElement>;
2822
+ map: MapHTMLAttributes<HTMLMapElement>;
2823
+ mark: HTMLAttributes<HTMLElement>;
2824
+ marquee: MarqueeHTMLAttributes<HTMLMarqueeElement>;
2825
+ menu: MenuHTMLAttributes<HTMLMenuElement>;
2826
+ menuitem: HTMLAttributes<HTMLUnknownElement>;
2827
+ meta: MetaHTMLAttributes<HTMLMetaElement>;
2828
+ meter: MeterHTMLAttributes<HTMLMeterElement>;
2829
+ nav: HTMLAttributes<HTMLElement>;
2830
+ noscript: HTMLAttributes<HTMLElement>;
2831
+ object: ObjectHTMLAttributes<HTMLObjectElement>;
2832
+ ol: OlHTMLAttributes<HTMLOListElement>;
2833
+ optgroup: OptgroupHTMLAttributes<HTMLOptGroupElement>;
2834
+ option: OptionHTMLAttributes<HTMLOptionElement>;
2835
+ output: OutputHTMLAttributes<HTMLOutputElement>;
2836
+ p: HTMLAttributes<HTMLParagraphElement>;
2837
+ param: ParamHTMLAttributes<HTMLParamElement>;
2838
+ picture: HTMLAttributes<HTMLPictureElement>;
2839
+ pre: HTMLAttributes<HTMLPreElement>;
2840
+ progress: ProgressHTMLAttributes<HTMLProgressElement>;
2841
+ q: QuoteHTMLAttributes<HTMLQuoteElement>;
2842
+ rp: HTMLAttributes<HTMLElement>;
2843
+ rt: HTMLAttributes<HTMLElement>;
2844
+ ruby: HTMLAttributes<HTMLElement>;
2845
+ s: HTMLAttributes<HTMLElement>;
2846
+ samp: HTMLAttributes<HTMLElement>;
2847
+ script: ScriptHTMLAttributes<HTMLScriptElement>;
2848
+ search: HTMLAttributes<HTMLElement>;
2849
+ section: HTMLAttributes<HTMLElement>;
2850
+ select: SelectHTMLAttributes<HTMLSelectElement>;
2851
+ slot: SlotHTMLAttributes<HTMLSlotElement>;
2852
+ small: HTMLAttributes<HTMLElement>;
2853
+ source: SourceHTMLAttributes<HTMLSourceElement>;
2854
+ span: HTMLAttributes<HTMLSpanElement>;
2855
+ strong: HTMLAttributes<HTMLElement>;
2856
+ style: StyleHTMLAttributes<HTMLStyleElement>;
2857
+ sub: HTMLAttributes<HTMLElement>;
2858
+ summary: HTMLAttributes<HTMLElement>;
2859
+ sup: HTMLAttributes<HTMLElement>;
2860
+ table: TableHTMLAttributes<HTMLTableElement>;
2861
+ tbody: HTMLAttributes<HTMLTableSectionElement>;
2862
+ td: TdHTMLAttributes<HTMLTableCellElement>;
2863
+ template: HTMLAttributes<HTMLTemplateElement>;
2864
+ textarea: TextareaHTMLAttributes<HTMLTextAreaElement>;
2865
+ tfoot: HTMLAttributes<HTMLTableSectionElement>;
2866
+ th: ThHTMLAttributes<HTMLTableCellElement>;
2867
+ thead: HTMLAttributes<HTMLTableSectionElement>;
2868
+ time: TimeHTMLAttributes<HTMLTimeElement>;
2869
+ title: HTMLAttributes<HTMLTitleElement>;
2870
+ tr: HTMLAttributes<HTMLTableRowElement>;
2871
+ track: TrackHTMLAttributes<HTMLTrackElement>;
2872
+ u: HTMLAttributes<HTMLElement>;
2873
+ ul: HTMLAttributes<HTMLUListElement>;
2874
+ var: HTMLAttributes<HTMLElement>;
2875
+ video: VideoHTMLAttributes<HTMLVideoElement>;
2876
+ wbr: HTMLAttributes<HTMLElement>;
2877
+ }
2878
+ }