@elmethis/solid 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 (400) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +118 -0
  3. package/lib/index.solid.cjs +25 -0
  4. package/lib/index.solid.mjs +5806 -0
  5. package/lib/style.css +2 -0
  6. package/lib-solid/components/a2ui/catalog/basic-catalog.jsx +207 -0
  7. package/lib-solid/components/a2ui/catalog/basic-catalog.jsx.map +1 -0
  8. package/lib-solid/components/a2ui/catalog/catalog-utils.js +23 -0
  9. package/lib-solid/components/a2ui/catalog/catalog-utils.js.map +1 -0
  10. package/lib-solid/components/a2ui/catalog/catalog.js +85 -0
  11. package/lib-solid/components/a2ui/catalog/catalog.js.map +1 -0
  12. package/lib-solid/components/a2ui/catalog/notion-block-catalog.jsx +217 -0
  13. package/lib-solid/components/a2ui/catalog/notion-block-catalog.jsx.map +1 -0
  14. package/lib-solid/components/a2ui/catalog/render-indexed-child.jsx +4 -0
  15. package/lib-solid/components/a2ui/catalog/render-indexed-child.jsx.map +1 -0
  16. package/lib-solid/components/a2ui/component-host.jsx +98 -0
  17. package/lib-solid/components/a2ui/component-host.jsx.map +1 -0
  18. package/lib-solid/components/a2ui/elm-a2ui.jsx +152 -0
  19. package/lib-solid/components/a2ui/elm-a2ui.jsx.map +1 -0
  20. package/lib-solid/components/a2ui/elm-a2ui.module.css +193 -0
  21. package/lib-solid/components/a2ui/stream-json-lines.js +45 -0
  22. package/lib-solid/components/a2ui/stream-json-lines.js.map +1 -0
  23. package/lib-solid/components/code/elm-code-block.jsx +40 -0
  24. package/lib-solid/components/code/elm-code-block.jsx.map +1 -0
  25. package/lib-solid/components/code/elm-code-block.module.css +45 -0
  26. package/lib-solid/components/code/elm-html-viewer.jsx +114 -0
  27. package/lib-solid/components/code/elm-html-viewer.jsx.map +1 -0
  28. package/lib-solid/components/code/elm-html-viewer.module.css +61 -0
  29. package/lib-solid/components/code/elm-html.jsx +178 -0
  30. package/lib-solid/components/code/elm-html.jsx.map +1 -0
  31. package/lib-solid/components/code/elm-html.module.css +5 -0
  32. package/lib-solid/components/code/elm-katex.jsx +14 -0
  33. package/lib-solid/components/code/elm-katex.jsx.map +1 -0
  34. package/lib-solid/components/code/elm-katex.module.css +4 -0
  35. package/lib-solid/components/code/elm-shiki-highlighter.jsx +74 -0
  36. package/lib-solid/components/code/elm-shiki-highlighter.jsx.map +1 -0
  37. package/lib-solid/components/code/elm-shiki-highlighter.module.css +25 -0
  38. package/lib-solid/components/containments/elm-collapse.jsx +31 -0
  39. package/lib-solid/components/containments/elm-collapse.jsx.map +1 -0
  40. package/lib-solid/components/containments/elm-collapse.module.css +47 -0
  41. package/lib-solid/components/containments/elm-modal.jsx +96 -0
  42. package/lib-solid/components/containments/elm-modal.jsx.map +1 -0
  43. package/lib-solid/components/containments/elm-modal.module.css +28 -0
  44. package/lib-solid/components/containments/elm-parallax.jsx +22 -0
  45. package/lib-solid/components/containments/elm-parallax.jsx.map +1 -0
  46. package/lib-solid/components/containments/elm-parallax.module.css +29 -0
  47. package/lib-solid/components/containments/elm-tabs.jsx +74 -0
  48. package/lib-solid/components/containments/elm-tabs.jsx.map +1 -0
  49. package/lib-solid/components/containments/elm-tabs.module.css +63 -0
  50. package/lib-solid/components/containments/elm-toggle.jsx +58 -0
  51. package/lib-solid/components/containments/elm-toggle.jsx.map +1 -0
  52. package/lib-solid/components/containments/elm-toggle.module.css +98 -0
  53. package/lib-solid/components/containments/elm-tooltip.jsx +61 -0
  54. package/lib-solid/components/containments/elm-tooltip.jsx.map +1 -0
  55. package/lib-solid/components/containments/elm-tooltip.module.css +23 -0
  56. package/lib-solid/components/fallback/elm-block-fallback.jsx +22 -0
  57. package/lib-solid/components/fallback/elm-block-fallback.jsx.map +1 -0
  58. package/lib-solid/components/fallback/elm-block-fallback.module.css +8 -0
  59. package/lib-solid/components/fallback/elm-rectangle-wave.jsx +8 -0
  60. package/lib-solid/components/fallback/elm-rectangle-wave.jsx.map +1 -0
  61. package/lib-solid/components/fallback/elm-rectangle-wave.module.css +35 -0
  62. package/lib-solid/components/fallback/elm-unsupported-block.jsx +19 -0
  63. package/lib-solid/components/fallback/elm-unsupported-block.jsx.map +1 -0
  64. package/lib-solid/components/fallback/elm-unsupported-block.module.css +26 -0
  65. package/lib-solid/components/form/elm-button-dropdown.jsx +121 -0
  66. package/lib-solid/components/form/elm-button-dropdown.jsx.map +1 -0
  67. package/lib-solid/components/form/elm-button-dropdown.module.css +83 -0
  68. package/lib-solid/components/form/elm-button.jsx +49 -0
  69. package/lib-solid/components/form/elm-button.jsx.map +1 -0
  70. package/lib-solid/components/form/elm-button.module.css +96 -0
  71. package/lib-solid/components/form/elm-checkbox.jsx +61 -0
  72. package/lib-solid/components/form/elm-checkbox.jsx.map +1 -0
  73. package/lib-solid/components/form/elm-checkbox.module.css +63 -0
  74. package/lib-solid/components/form/elm-select.jsx +98 -0
  75. package/lib-solid/components/form/elm-select.jsx.map +1 -0
  76. package/lib-solid/components/form/elm-select.module.css +108 -0
  77. package/lib-solid/components/form/elm-slider.jsx +298 -0
  78. package/lib-solid/components/form/elm-slider.jsx.map +1 -0
  79. package/lib-solid/components/form/elm-slider.module.css +236 -0
  80. package/lib-solid/components/form/elm-switch.jsx +37 -0
  81. package/lib-solid/components/form/elm-switch.jsx.map +1 -0
  82. package/lib-solid/components/form/elm-switch.module.css +59 -0
  83. package/lib-solid/components/form/elm-text-area.jsx +95 -0
  84. package/lib-solid/components/form/elm-text-area.jsx.map +1 -0
  85. package/lib-solid/components/form/elm-text-area.module.css +133 -0
  86. package/lib-solid/components/form/elm-text-field.jsx +129 -0
  87. package/lib-solid/components/form/elm-text-field.jsx.map +1 -0
  88. package/lib-solid/components/form/elm-text-field.module.css +158 -0
  89. package/lib-solid/components/form/elm-validation.jsx +27 -0
  90. package/lib-solid/components/form/elm-validation.jsx.map +1 -0
  91. package/lib-solid/components/form/elm-validation.module.css +9 -0
  92. package/lib-solid/components/icon/elm-copy-icon.jsx +34 -0
  93. package/lib-solid/components/icon/elm-copy-icon.jsx.map +1 -0
  94. package/lib-solid/components/icon/elm-copy-icon.module.css +32 -0
  95. package/lib-solid/components/icon/elm-dot-loading-icon.jsx +19 -0
  96. package/lib-solid/components/icon/elm-dot-loading-icon.jsx.map +1 -0
  97. package/lib-solid/components/icon/elm-dot-loading-icon.module.css +48 -0
  98. package/lib-solid/components/icon/elm-inline-icon.jsx +19 -0
  99. package/lib-solid/components/icon/elm-inline-icon.jsx.map +1 -0
  100. package/lib-solid/components/icon/elm-inline-icon.module.css +38 -0
  101. package/lib-solid/components/icon/elm-language-icon.jsx +17 -0
  102. package/lib-solid/components/icon/elm-language-icon.jsx.map +1 -0
  103. package/lib-solid/components/icon/elm-mdi-icon.jsx +27 -0
  104. package/lib-solid/components/icon/elm-mdi-icon.jsx.map +1 -0
  105. package/lib-solid/components/icon/elm-mdi-icon.module.css +7 -0
  106. package/lib-solid/components/icon/elm-square-loading-icon.jsx +31 -0
  107. package/lib-solid/components/icon/elm-square-loading-icon.jsx.map +1 -0
  108. package/lib-solid/components/icon/elm-square-loading-icon.module.css +38 -0
  109. package/lib-solid/components/icon/elm-toggle-theme.jsx +146 -0
  110. package/lib-solid/components/icon/elm-toggle-theme.jsx.map +1 -0
  111. package/lib-solid/components/icon/elm-toggle-theme.module.css +15 -0
  112. package/lib-solid/components/icon/language-glyph.jsx +27 -0
  113. package/lib-solid/components/icon/language-glyph.jsx.map +1 -0
  114. package/lib-solid/components/media/elm-audio-player.jsx +275 -0
  115. package/lib-solid/components/media/elm-audio-player.jsx.map +1 -0
  116. package/lib-solid/components/media/elm-audio-player.module.css +433 -0
  117. package/lib-solid/components/media/elm-block-image.jsx +54 -0
  118. package/lib-solid/components/media/elm-block-image.jsx.map +1 -0
  119. package/lib-solid/components/media/elm-block-image.module.css +45 -0
  120. package/lib-solid/components/media/elm-file.jsx +65 -0
  121. package/lib-solid/components/media/elm-file.jsx.map +1 -0
  122. package/lib-solid/components/media/elm-file.module.css +33 -0
  123. package/lib-solid/components/navigation/elm-bookmark.jsx +44 -0
  124. package/lib-solid/components/navigation/elm-bookmark.jsx.map +1 -0
  125. package/lib-solid/components/navigation/elm-bookmark.module.css +88 -0
  126. package/lib-solid/components/navigation/elm-breadcrumb.jsx +26 -0
  127. package/lib-solid/components/navigation/elm-breadcrumb.jsx.map +1 -0
  128. package/lib-solid/components/navigation/elm-breadcrumb.module.css +44 -0
  129. package/lib-solid/components/navigation/elm-page-top.jsx +56 -0
  130. package/lib-solid/components/navigation/elm-page-top.jsx.map +1 -0
  131. package/lib-solid/components/navigation/elm-page-top.module.css +130 -0
  132. package/lib-solid/components/notion/elm-notion-callout.jsx +22 -0
  133. package/lib-solid/components/notion/elm-notion-callout.jsx.map +1 -0
  134. package/lib-solid/components/notion/elm-notion-callout.module.css +91 -0
  135. package/lib-solid/components/others/color-sample-copy.js +63 -0
  136. package/lib-solid/components/others/color-sample-copy.js.map +1 -0
  137. package/lib-solid/components/others/elm-color-primitive-sample.jsx +55 -0
  138. package/lib-solid/components/others/elm-color-primitive-sample.jsx.map +1 -0
  139. package/lib-solid/components/others/elm-color-primitive-sample.module.css +74 -0
  140. package/lib-solid/components/others/elm-color-semantic-sample.jsx +170 -0
  141. package/lib-solid/components/others/elm-color-semantic-sample.jsx.map +1 -0
  142. package/lib-solid/components/others/elm-color-semantic-sample.module.css +134 -0
  143. package/lib-solid/components/others/elm-markdown.jsx +133 -0
  144. package/lib-solid/components/others/elm-markdown.jsx.map +1 -0
  145. package/lib-solid/components/others/elm-markdown.module.css +6 -0
  146. package/lib-solid/components/others/use-wordle.jsx +247 -0
  147. package/lib-solid/components/others/use-wordle.jsx.map +1 -0
  148. package/lib-solid/components/others/use-wordle.module.css +192 -0
  149. package/lib-solid/components/others/wordle/validGuesses.js +10660 -0
  150. package/lib-solid/components/others/wordle/validGuesses.js.map +1 -0
  151. package/lib-solid/components/others/wordle/wordlist.js +5760 -0
  152. package/lib-solid/components/others/wordle/wordlist.js.map +1 -0
  153. package/lib-solid/components/table/elm-table-body.jsx +9 -0
  154. package/lib-solid/components/table/elm-table-body.jsx.map +1 -0
  155. package/lib-solid/components/table/elm-table-cell.jsx +27 -0
  156. package/lib-solid/components/table/elm-table-cell.jsx.map +1 -0
  157. package/lib-solid/components/table/elm-table-cell.module.css +27 -0
  158. package/lib-solid/components/table/elm-table-header.jsx +13 -0
  159. package/lib-solid/components/table/elm-table-header.jsx.map +1 -0
  160. package/lib-solid/components/table/elm-table-header.module.css +7 -0
  161. package/lib-solid/components/table/elm-table-row.jsx +10 -0
  162. package/lib-solid/components/table/elm-table-row.jsx.map +1 -0
  163. package/lib-solid/components/table/elm-table-row.module.css +15 -0
  164. package/lib-solid/components/table/elm-table.jsx +63 -0
  165. package/lib-solid/components/table/elm-table.jsx.map +1 -0
  166. package/lib-solid/components/table/elm-table.module.css +107 -0
  167. package/lib-solid/components/table/index.js +7 -0
  168. package/lib-solid/components/table/index.js.map +1 -0
  169. package/lib-solid/components/table/table-context.js +5 -0
  170. package/lib-solid/components/table/table-context.js.map +1 -0
  171. package/lib-solid/components/typography/elm-block-quote.jsx +22 -0
  172. package/lib-solid/components/typography/elm-block-quote.jsx.map +1 -0
  173. package/lib-solid/components/typography/elm-block-quote.module.css +40 -0
  174. package/lib-solid/components/typography/elm-callout.jsx +24 -0
  175. package/lib-solid/components/typography/elm-callout.jsx.map +1 -0
  176. package/lib-solid/components/typography/elm-callout.module.css +65 -0
  177. package/lib-solid/components/typography/elm-divider.jsx +8 -0
  178. package/lib-solid/components/typography/elm-divider.jsx.map +1 -0
  179. package/lib-solid/components/typography/elm-divider.module.css +5 -0
  180. package/lib-solid/components/typography/elm-fragment-identifier.jsx +16 -0
  181. package/lib-solid/components/typography/elm-fragment-identifier.jsx.map +1 -0
  182. package/lib-solid/components/typography/elm-fragment-identifier.module.css +28 -0
  183. package/lib-solid/components/typography/elm-heading.jsx +37 -0
  184. package/lib-solid/components/typography/elm-heading.jsx.map +1 -0
  185. package/lib-solid/components/typography/elm-heading.module.css +96 -0
  186. package/lib-solid/components/typography/elm-inline-text.jsx +75 -0
  187. package/lib-solid/components/typography/elm-inline-text.jsx.map +1 -0
  188. package/lib-solid/components/typography/elm-inline-text.module.css +118 -0
  189. package/lib-solid/components/typography/elm-list.jsx +13 -0
  190. package/lib-solid/components/typography/elm-list.jsx.map +1 -0
  191. package/lib-solid/components/typography/elm-list.module.css +92 -0
  192. package/lib-solid/components/typography/elm-paragraph.jsx +21 -0
  193. package/lib-solid/components/typography/elm-paragraph.jsx.map +1 -0
  194. package/lib-solid/components/typography/elm-paragraph.module.css +15 -0
  195. package/lib-solid/components/typography/markers/list-bullet-level-1.svg +3 -0
  196. package/lib-solid/components/typography/markers/list-bullet-level-2.svg +3 -0
  197. package/lib-solid/components/typography/markers/list-bullet-level-3.svg +3 -0
  198. package/lib-solid/exports.js +67 -0
  199. package/lib-solid/exports.js.map +1 -0
  200. package/lib-solid/hooks/create-auto-animate.js +61 -0
  201. package/lib-solid/hooks/create-auto-animate.js.map +1 -0
  202. package/lib-solid/index.js +3 -0
  203. package/lib-solid/index.js.map +1 -0
  204. package/lib-solid/primitives/call-event-handler.js +9 -0
  205. package/lib-solid/primitives/call-event-handler.js.map +1 -0
  206. package/lib-solid/primitives/create-async-state.js +71 -0
  207. package/lib-solid/primitives/create-async-state.js.map +1 -0
  208. package/lib-solid/primitives/create-auto-animate.js +67 -0
  209. package/lib-solid/primitives/create-auto-animate.js.map +1 -0
  210. package/lib-solid/primitives/create-clipboard.js +41 -0
  211. package/lib-solid/primitives/create-clipboard.js.map +1 -0
  212. package/lib-solid/primitives/create-controllable-signal.js +32 -0
  213. package/lib-solid/primitives/create-controllable-signal.js.map +1 -0
  214. package/lib-solid/primitives/create-debounced.js +41 -0
  215. package/lib-solid/primitives/create-debounced.js.map +1 -0
  216. package/lib-solid/primitives/create-delayed-signal.js +34 -0
  217. package/lib-solid/primitives/create-delayed-signal.js.map +1 -0
  218. package/lib-solid/primitives/create-elmethis-theme.js +83 -0
  219. package/lib-solid/primitives/create-elmethis-theme.js.map +1 -0
  220. package/lib-solid/primitives/create-modal.jsx +14 -0
  221. package/lib-solid/primitives/create-modal.jsx.map +1 -0
  222. package/lib-solid/primitives/create-storage.js +173 -0
  223. package/lib-solid/primitives/create-storage.js.map +1 -0
  224. package/lib-solid/primitives/create-throttled-queue.js +80 -0
  225. package/lib-solid/primitives/create-throttled-queue.js.map +1 -0
  226. package/lib-solid/primitives/create-throttled.js +58 -0
  227. package/lib-solid/primitives/create-throttled.js.map +1 -0
  228. package/lib-solid/styles/_component-vars.css +48 -0
  229. package/lib-solid/styles/merge-style.js +11 -0
  230. package/lib-solid/styles/merge-style.js.map +1 -0
  231. package/lib-solid/styles/text.module.css +11 -0
  232. package/lib-types/components/a2ui/catalog/basic-catalog.d.ts +5 -0
  233. package/lib-types/components/a2ui/catalog/basic-catalog.d.ts.map +1 -0
  234. package/lib-types/components/a2ui/catalog/catalog-utils.d.ts +5 -0
  235. package/lib-types/components/a2ui/catalog/catalog-utils.d.ts.map +1 -0
  236. package/lib-types/components/a2ui/catalog/catalog.d.ts +39 -0
  237. package/lib-types/components/a2ui/catalog/catalog.d.ts.map +1 -0
  238. package/lib-types/components/a2ui/catalog/notion-block-catalog.d.ts +5 -0
  239. package/lib-types/components/a2ui/catalog/notion-block-catalog.d.ts.map +1 -0
  240. package/lib-types/components/a2ui/catalog/render-indexed-child.d.ts +11 -0
  241. package/lib-types/components/a2ui/catalog/render-indexed-child.d.ts.map +1 -0
  242. package/lib-types/components/a2ui/component-host.d.ts +14 -0
  243. package/lib-types/components/a2ui/component-host.d.ts.map +1 -0
  244. package/lib-types/components/a2ui/elm-a2ui.d.ts +28 -0
  245. package/lib-types/components/a2ui/elm-a2ui.d.ts.map +1 -0
  246. package/lib-types/components/a2ui/stream-json-lines.d.ts +8 -0
  247. package/lib-types/components/a2ui/stream-json-lines.d.ts.map +1 -0
  248. package/lib-types/components/code/elm-code-block.d.ts +11 -0
  249. package/lib-types/components/code/elm-code-block.d.ts.map +1 -0
  250. package/lib-types/components/code/elm-html-viewer.d.ts +20 -0
  251. package/lib-types/components/code/elm-html-viewer.d.ts.map +1 -0
  252. package/lib-types/components/code/elm-html.d.ts +24 -0
  253. package/lib-types/components/code/elm-html.d.ts.map +1 -0
  254. package/lib-types/components/code/elm-katex.d.ts +9 -0
  255. package/lib-types/components/code/elm-katex.d.ts.map +1 -0
  256. package/lib-types/components/code/elm-shiki-highlighter.d.ts +9 -0
  257. package/lib-types/components/code/elm-shiki-highlighter.d.ts.map +1 -0
  258. package/lib-types/components/containments/elm-collapse.d.ts +8 -0
  259. package/lib-types/components/containments/elm-collapse.d.ts.map +1 -0
  260. package/lib-types/components/containments/elm-modal.d.ts +9 -0
  261. package/lib-types/components/containments/elm-modal.d.ts.map +1 -0
  262. package/lib-types/components/containments/elm-parallax.d.ts +6 -0
  263. package/lib-types/components/containments/elm-parallax.d.ts.map +1 -0
  264. package/lib-types/components/containments/elm-tabs.d.ts +24 -0
  265. package/lib-types/components/containments/elm-tabs.d.ts.map +1 -0
  266. package/lib-types/components/containments/elm-toggle.d.ts +17 -0
  267. package/lib-types/components/containments/elm-toggle.d.ts.map +1 -0
  268. package/lib-types/components/containments/elm-tooltip.d.ts +9 -0
  269. package/lib-types/components/containments/elm-tooltip.d.ts.map +1 -0
  270. package/lib-types/components/fallback/elm-block-fallback.d.ts +6 -0
  271. package/lib-types/components/fallback/elm-block-fallback.d.ts.map +1 -0
  272. package/lib-types/components/fallback/elm-rectangle-wave.d.ts +4 -0
  273. package/lib-types/components/fallback/elm-rectangle-wave.d.ts.map +1 -0
  274. package/lib-types/components/fallback/elm-unsupported-block.d.ts +6 -0
  275. package/lib-types/components/fallback/elm-unsupported-block.d.ts.map +1 -0
  276. package/lib-types/components/form/elm-button-dropdown.d.ts +51 -0
  277. package/lib-types/components/form/elm-button-dropdown.d.ts.map +1 -0
  278. package/lib-types/components/form/elm-button.d.ts +12 -0
  279. package/lib-types/components/form/elm-button.d.ts.map +1 -0
  280. package/lib-types/components/form/elm-checkbox.d.ts +17 -0
  281. package/lib-types/components/form/elm-checkbox.d.ts.map +1 -0
  282. package/lib-types/components/form/elm-select.d.ts +29 -0
  283. package/lib-types/components/form/elm-select.d.ts.map +1 -0
  284. package/lib-types/components/form/elm-slider.d.ts +32 -0
  285. package/lib-types/components/form/elm-slider.d.ts.map +1 -0
  286. package/lib-types/components/form/elm-switch.d.ts +15 -0
  287. package/lib-types/components/form/elm-switch.d.ts.map +1 -0
  288. package/lib-types/components/form/elm-text-area.d.ts +14 -0
  289. package/lib-types/components/form/elm-text-area.d.ts.map +1 -0
  290. package/lib-types/components/form/elm-text-field.d.ts +18 -0
  291. package/lib-types/components/form/elm-text-field.d.ts.map +1 -0
  292. package/lib-types/components/form/elm-validation.d.ts +8 -0
  293. package/lib-types/components/form/elm-validation.d.ts.map +1 -0
  294. package/lib-types/components/icon/elm-copy-icon.d.ts +7 -0
  295. package/lib-types/components/icon/elm-copy-icon.d.ts.map +1 -0
  296. package/lib-types/components/icon/elm-dot-loading-icon.d.ts +7 -0
  297. package/lib-types/components/icon/elm-dot-loading-icon.d.ts.map +1 -0
  298. package/lib-types/components/icon/elm-inline-icon.d.ts +12 -0
  299. package/lib-types/components/icon/elm-inline-icon.d.ts.map +1 -0
  300. package/lib-types/components/icon/elm-language-icon.d.ts +13 -0
  301. package/lib-types/components/icon/elm-language-icon.d.ts.map +1 -0
  302. package/lib-types/components/icon/elm-mdi-icon.d.ts +10 -0
  303. package/lib-types/components/icon/elm-mdi-icon.d.ts.map +1 -0
  304. package/lib-types/components/icon/elm-square-loading-icon.d.ts +7 -0
  305. package/lib-types/components/icon/elm-square-loading-icon.d.ts.map +1 -0
  306. package/lib-types/components/icon/elm-toggle-theme.d.ts +7 -0
  307. package/lib-types/components/icon/elm-toggle-theme.d.ts.map +1 -0
  308. package/lib-types/components/icon/language-glyph.d.ts +11 -0
  309. package/lib-types/components/icon/language-glyph.d.ts.map +1 -0
  310. package/lib-types/components/media/elm-audio-player.d.ts +25 -0
  311. package/lib-types/components/media/elm-audio-player.d.ts.map +1 -0
  312. package/lib-types/components/media/elm-block-image.d.ts +15 -0
  313. package/lib-types/components/media/elm-block-image.d.ts.map +1 -0
  314. package/lib-types/components/media/elm-file.d.ts +11 -0
  315. package/lib-types/components/media/elm-file.d.ts.map +1 -0
  316. package/lib-types/components/navigation/elm-bookmark.d.ts +13 -0
  317. package/lib-types/components/navigation/elm-bookmark.d.ts.map +1 -0
  318. package/lib-types/components/navigation/elm-breadcrumb.d.ts +11 -0
  319. package/lib-types/components/navigation/elm-breadcrumb.d.ts.map +1 -0
  320. package/lib-types/components/navigation/elm-page-top.d.ts +7 -0
  321. package/lib-types/components/navigation/elm-page-top.d.ts.map +1 -0
  322. package/lib-types/components/notion/elm-notion-callout.d.ts +21 -0
  323. package/lib-types/components/notion/elm-notion-callout.d.ts.map +1 -0
  324. package/lib-types/components/others/color-sample-copy.d.ts +10 -0
  325. package/lib-types/components/others/color-sample-copy.d.ts.map +1 -0
  326. package/lib-types/components/others/elm-color-primitive-sample.d.ts +4 -0
  327. package/lib-types/components/others/elm-color-primitive-sample.d.ts.map +1 -0
  328. package/lib-types/components/others/elm-color-semantic-sample.d.ts +4 -0
  329. package/lib-types/components/others/elm-color-semantic-sample.d.ts.map +1 -0
  330. package/lib-types/components/others/elm-markdown.d.ts +8 -0
  331. package/lib-types/components/others/elm-markdown.d.ts.map +1 -0
  332. package/lib-types/components/others/use-wordle.d.ts +25 -0
  333. package/lib-types/components/others/use-wordle.d.ts.map +1 -0
  334. package/lib-types/components/others/wordle/validGuesses.d.ts +2 -0
  335. package/lib-types/components/others/wordle/validGuesses.d.ts.map +1 -0
  336. package/lib-types/components/others/wordle/wordlist.d.ts +2 -0
  337. package/lib-types/components/others/wordle/wordlist.d.ts.map +1 -0
  338. package/lib-types/components/table/elm-table-body.d.ts +4 -0
  339. package/lib-types/components/table/elm-table-body.d.ts.map +1 -0
  340. package/lib-types/components/table/elm-table-cell.d.ts +11 -0
  341. package/lib-types/components/table/elm-table-cell.d.ts.map +1 -0
  342. package/lib-types/components/table/elm-table-header.d.ts +4 -0
  343. package/lib-types/components/table/elm-table-header.d.ts.map +1 -0
  344. package/lib-types/components/table/elm-table-row.d.ts +4 -0
  345. package/lib-types/components/table/elm-table-row.d.ts.map +1 -0
  346. package/lib-types/components/table/elm-table.d.ts +7 -0
  347. package/lib-types/components/table/elm-table.d.ts.map +1 -0
  348. package/lib-types/components/table/index.d.ts +7 -0
  349. package/lib-types/components/table/index.d.ts.map +1 -0
  350. package/lib-types/components/table/table-context.d.ts +7 -0
  351. package/lib-types/components/table/table-context.d.ts.map +1 -0
  352. package/lib-types/components/typography/elm-block-quote.d.ts +5 -0
  353. package/lib-types/components/typography/elm-block-quote.d.ts.map +1 -0
  354. package/lib-types/components/typography/elm-callout.d.ts +8 -0
  355. package/lib-types/components/typography/elm-callout.d.ts.map +1 -0
  356. package/lib-types/components/typography/elm-divider.d.ts +4 -0
  357. package/lib-types/components/typography/elm-divider.d.ts.map +1 -0
  358. package/lib-types/components/typography/elm-fragment-identifier.d.ts +7 -0
  359. package/lib-types/components/typography/elm-fragment-identifier.d.ts.map +1 -0
  360. package/lib-types/components/typography/elm-heading.d.ts +8 -0
  361. package/lib-types/components/typography/elm-heading.d.ts.map +1 -0
  362. package/lib-types/components/typography/elm-inline-text.d.ts +23 -0
  363. package/lib-types/components/typography/elm-inline-text.d.ts.map +1 -0
  364. package/lib-types/components/typography/elm-list.d.ts +7 -0
  365. package/lib-types/components/typography/elm-list.d.ts.map +1 -0
  366. package/lib-types/components/typography/elm-paragraph.d.ts +7 -0
  367. package/lib-types/components/typography/elm-paragraph.d.ts.map +1 -0
  368. package/lib-types/exports.d.ts +67 -0
  369. package/lib-types/exports.d.ts.map +1 -0
  370. package/lib-types/hooks/create-auto-animate.d.ts +26 -0
  371. package/lib-types/hooks/create-auto-animate.d.ts.map +1 -0
  372. package/lib-types/index.d.ts +3 -0
  373. package/lib-types/index.d.ts.map +1 -0
  374. package/lib-types/primitives/call-event-handler.d.ts +6 -0
  375. package/lib-types/primitives/call-event-handler.d.ts.map +1 -0
  376. package/lib-types/primitives/create-async-state.d.ts +25 -0
  377. package/lib-types/primitives/create-async-state.d.ts.map +1 -0
  378. package/lib-types/primitives/create-auto-animate.d.ts +26 -0
  379. package/lib-types/primitives/create-auto-animate.d.ts.map +1 -0
  380. package/lib-types/primitives/create-clipboard.d.ts +16 -0
  381. package/lib-types/primitives/create-clipboard.d.ts.map +1 -0
  382. package/lib-types/primitives/create-controllable-signal.d.ts +17 -0
  383. package/lib-types/primitives/create-controllable-signal.d.ts.map +1 -0
  384. package/lib-types/primitives/create-debounced.d.ts +10 -0
  385. package/lib-types/primitives/create-debounced.d.ts.map +1 -0
  386. package/lib-types/primitives/create-delayed-signal.d.ts +10 -0
  387. package/lib-types/primitives/create-delayed-signal.d.ts.map +1 -0
  388. package/lib-types/primitives/create-elmethis-theme.d.ts +12 -0
  389. package/lib-types/primitives/create-elmethis-theme.d.ts.map +1 -0
  390. package/lib-types/primitives/create-modal.d.ts +15 -0
  391. package/lib-types/primitives/create-modal.d.ts.map +1 -0
  392. package/lib-types/primitives/create-storage.d.ts +18 -0
  393. package/lib-types/primitives/create-storage.d.ts.map +1 -0
  394. package/lib-types/primitives/create-throttled-queue.d.ts +17 -0
  395. package/lib-types/primitives/create-throttled-queue.d.ts.map +1 -0
  396. package/lib-types/primitives/create-throttled.d.ts +10 -0
  397. package/lib-types/primitives/create-throttled.d.ts.map +1 -0
  398. package/lib-types/styles/merge-style.d.ts +5 -0
  399. package/lib-types/styles/merge-style.d.ts.map +1 -0
  400. package/package.json +112 -0
@@ -0,0 +1,15 @@
1
+ import { type JSX } from "solid-js";
2
+ export interface ElmBlockImageProps extends JSX.HTMLAttributes<HTMLElement> {
3
+ /** Image source URL. */
4
+ src: string;
5
+ srcSet?: string;
6
+ sizes?: string;
7
+ /** Image alt text. */
8
+ alt?: string;
9
+ enableModal?: boolean;
10
+ caption?: string;
11
+ width?: number | `${number}`;
12
+ height?: number | `${number}`;
13
+ }
14
+ export declare const ElmBlockImage: (props: ElmBlockImageProps) => JSX.Element;
15
+ //# sourceMappingURL=elm-block-image.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"elm-block-image.d.ts","sourceRoot":"","sources":["../../../src/components/media/elm-block-image.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAgC,KAAK,GAAG,EAAE,MAAM,UAAU,CAAC;AASlE,MAAM,WAAW,kBAAmB,SAAQ,GAAG,CAAC,cAAc,CAAC,WAAW,CAAC;IACzE,wBAAwB;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,sBAAsB;IACtB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,GAAG,GAAG,MAAM,EAAE,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,GAAG,GAAG,MAAM,EAAE,CAAC;CAC/B;AAED,eAAO,MAAM,aAAa,GAAI,OAAO,kBAAkB,gBAkEtD,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { type JSX } from "solid-js";
2
+ export interface ElmFileProps extends JSX.HTMLAttributes<HTMLDivElement> {
3
+ /** The name of the file. */
4
+ name?: string;
5
+ /** The source URL of the file. */
6
+ src: string;
7
+ /** The formatted size of the file. */
8
+ filesize?: string;
9
+ }
10
+ export declare const ElmFile: (props: ElmFileProps) => JSX.Element;
11
+ //# sourceMappingURL=elm-file.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"elm-file.d.ts","sourceRoot":"","sources":["../../../src/components/media/elm-file.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAyB,KAAK,GAAG,EAAE,MAAM,UAAU,CAAC;AAQ3D,MAAM,WAAW,YAAa,SAAQ,GAAG,CAAC,cAAc,CAAC,cAAc,CAAC;IACtE,4BAA4B;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,kCAAkC;IAClC,GAAG,EAAE,MAAM,CAAC;IAEZ,sCAAsC;IACtC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAUD,eAAO,MAAM,OAAO,GAAI,OAAO,YAAY,gBAwD1C,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { type JSX } from "solid-js";
2
+ export interface ElmBookmarkProps extends JSX.HTMLAttributes<HTMLDivElement> {
3
+ /** The description of the bookmark. */
4
+ description?: string;
5
+ /** The image URL or base64-encoded image to display. */
6
+ image?: string;
7
+ /** The URL to navigate to. */
8
+ url?: string;
9
+ /** The URL of the favicon. */
10
+ favicon?: string;
11
+ }
12
+ export declare const ElmBookmark: (props: ElmBookmarkProps) => JSX.Element;
13
+ //# sourceMappingURL=elm-bookmark.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"elm-bookmark.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/elm-bookmark.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA8C,KAAK,GAAG,EAAE,MAAM,UAAU,CAAC;AAShF,MAAM,WAAW,gBAAiB,SAAQ,GAAG,CAAC,cAAc,CAAC,cAAc,CAAC;IAC1E,uCAAuC;IACvC,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,wDAAwD;IACxD,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,8BAA8B;IAC9B,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb,8BAA8B;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAOD,eAAO,MAAM,WAAW,GAAI,OAAO,gBAAgB,gBA6DlD,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { type JSX } from "solid-js";
2
+ export interface ElmBreadcrumbProps extends JSX.HTMLAttributes<HTMLElement> {
3
+ links: Array<{
4
+ /** The text to display. */
5
+ text: string;
6
+ /** The action to perform when the link is clicked. */
7
+ onClick?: JSX.EventHandler<HTMLSpanElement, MouseEvent>;
8
+ }>;
9
+ }
10
+ export declare const ElmBreadcrumb: (props: ElmBreadcrumbProps) => JSX.Element;
11
+ //# sourceMappingURL=elm-breadcrumb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"elm-breadcrumb.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/elm-breadcrumb.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,GAAG,EAAE,MAAM,UAAU,CAAC;AAYrD,MAAM,WAAW,kBAAmB,SAAQ,GAAG,CAAC,cAAc,CAAC,WAAW,CAAC;IACzE,KAAK,EAAE,KAAK,CAAC;QACX,2BAA2B;QAC3B,IAAI,EAAE,MAAM,CAAC;QAEb,sDAAsD;QACtD,OAAO,CAAC,EAAE,GAAG,CAAC,YAAY,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC;KACzD,CAAC,CAAC;CACJ;AAED,eAAO,MAAM,aAAa,GAAI,OAAO,kBAAkB,gBAoCtD,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { type JSX } from "solid-js";
2
+ export interface ElmPageTopProps extends JSX.HTMLAttributes<HTMLElement> {
3
+ /** Specifies the position of the button. */
4
+ position?: "left" | "right";
5
+ }
6
+ export declare const ElmPageTop: (props: ElmPageTopProps) => JSX.Element;
7
+ //# sourceMappingURL=elm-page-top.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"elm-page-top.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/elm-page-top.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,GAAG,EACT,MAAM,UAAU,CAAC;AAMlB,MAAM,WAAW,eAAgB,SAAQ,GAAG,CAAC,cAAc,CAAC,WAAW,CAAC;IACtE,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CAC7B;AAED,eAAO,MAAM,UAAU,GAAI,OAAO,eAAe,gBAuEhD,CAAC"}
@@ -0,0 +1,21 @@
1
+ import { type JSX } from "solid-js";
2
+ export type NotionCalloutColor = "default" | "gray" | "red" | "orange" | "yellow" | "green" | "cyan" | "blue" | "purple" | "magenta";
3
+ export type NotionCalloutVariant = "filled" | "outlined";
4
+ export type NotionCalloutIcon = {
5
+ kind: "emoji";
6
+ emoji: string;
7
+ } | {
8
+ kind: "image";
9
+ src: string;
10
+ alt?: string;
11
+ };
12
+ export interface ElmNotionCalloutProps extends JSX.HTMLAttributes<HTMLDivElement> {
13
+ /** Icon shown before the content: a single emoji character or an image. */
14
+ icon?: NotionCalloutIcon;
15
+ /** Accent hue for the callout. */
16
+ color?: NotionCalloutColor;
17
+ /** Tinted background or transparent with a colored border. */
18
+ variant?: NotionCalloutVariant;
19
+ }
20
+ export declare const ElmNotionCallout: (props: ElmNotionCalloutProps) => JSX.Element;
21
+ //# sourceMappingURL=elm-notion-callout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"elm-notion-callout.d.ts","sourceRoot":"","sources":["../../../src/components/notion/elm-notion-callout.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA0B,KAAK,GAAG,EAAE,MAAM,UAAU,CAAC;AAM5D,MAAM,MAAM,kBAAkB,GAC1B,SAAS,GACT,MAAM,GACN,KAAK,GACL,QAAQ,GACR,QAAQ,GACR,OAAO,GACP,MAAM,GACN,MAAM,GACN,QAAQ,GACR,SAAS,CAAC;AAEd,MAAM,MAAM,oBAAoB,GAAG,QAAQ,GAAG,UAAU,CAAC;AAEzD,MAAM,MAAM,iBAAiB,GACzB;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,GAChC;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAEjD,MAAM,WAAW,qBAAsB,SAAQ,GAAG,CAAC,cAAc,CAAC,cAAc,CAAC;IAC/E,2EAA2E;IAC3E,IAAI,CAAC,EAAE,iBAAiB,CAAC;IAEzB,kCAAkC;IAClC,KAAK,CAAC,EAAE,kBAAkB,CAAC;IAE3B,8DAA8D;IAC9D,OAAO,CAAC,EAAE,oBAAoB,CAAC;CAChC;AAED,eAAO,MAAM,gBAAgB,GAAI,OAAO,qBAAqB,gBAuC5D,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { type Accessor } from "solid-js";
2
+ export type CopyMode = "variable" | "hex";
3
+ export interface ColorSampleCopyController {
4
+ copiedToken: Accessor<string | null>;
5
+ copyMode: Accessor<CopyMode>;
6
+ toggleCopyMode: () => void;
7
+ copyToken: (event: MouseEvent) => Promise<void>;
8
+ }
9
+ export declare const createColorSampleCopy: () => ColorSampleCopyController;
10
+ //# sourceMappingURL=color-sample-copy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"color-sample-copy.d.ts","sourceRoot":"","sources":["../../../src/components/others/color-sample-copy.ts"],"names":[],"mappings":"AAAA,OAAO,EAA2B,KAAK,QAAQ,EAAE,MAAM,UAAU,CAAC;AAElE,MAAM,MAAM,QAAQ,GAAG,UAAU,GAAG,KAAK,CAAC;AAE1C,MAAM,WAAW,yBAAyB;IACxC,WAAW,EAAE,QAAQ,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IACrC,QAAQ,EAAE,QAAQ,CAAC,QAAQ,CAAC,CAAC;IAC7B,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,SAAS,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CACjD;AAcD,eAAO,MAAM,qBAAqB,QAAO,yBAyDxC,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { type JSX } from "solid-js";
2
+ export type ElmColorPrimitiveSampleProps = JSX.HTMLAttributes<HTMLDivElement>;
3
+ export declare const ElmColorPrimitiveSample: (props: ElmColorPrimitiveSampleProps) => JSX.Element;
4
+ //# sourceMappingURL=elm-color-primitive-sample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"elm-color-primitive-sample.d.ts","sourceRoot":"","sources":["../../../src/components/others/elm-color-primitive-sample.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,GAAG,EAAE,MAAM,UAAU,CAAC;AAOrD,MAAM,MAAM,4BAA4B,GAAG,GAAG,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;AAsB9E,eAAO,MAAM,uBAAuB,GAClC,OAAO,4BAA4B,gBA+DpC,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { type JSX } from "solid-js";
2
+ export type ElmColorSemanticSampleProps = JSX.HTMLAttributes<HTMLDivElement>;
3
+ export declare const ElmColorSemanticSample: (props: ElmColorSemanticSampleProps) => JSX.Element;
4
+ //# sourceMappingURL=elm-color-semantic-sample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"elm-color-semantic-sample.d.ts","sourceRoot":"","sources":["../../../src/components/others/elm-color-semantic-sample.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,GAAG,EAAE,MAAM,UAAU,CAAC;AAOrD,MAAM,MAAM,2BAA2B,GAAG,GAAG,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;AAmE7E,eAAO,MAAM,sBAAsB,GAAI,OAAO,2BAA2B,gBAsKxE,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { type JSX } from "solid-js";
2
+ export interface ElmMarkdownProps extends JSX.HTMLAttributes<HTMLDivElement> {
3
+ markdown: string;
4
+ /** Keep completed blocks mounted while the trailing block is streamed. */
5
+ isStreaming?: boolean;
6
+ }
7
+ export declare const ElmMarkdown: (props: ElmMarkdownProps) => JSX.Element;
8
+ //# sourceMappingURL=elm-markdown.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"elm-markdown.d.ts","sourceRoot":"","sources":["../../../src/components/others/elm-markdown.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA+B,KAAK,GAAG,EAAE,MAAM,UAAU,CAAC;AAmBjE,MAAM,WAAW,gBAAiB,SAAQ,GAAG,CAAC,cAAc,CAAC,cAAc,CAAC;IAC1E,QAAQ,EAAE,MAAM,CAAC;IAEjB,0EAA0E;IAC1E,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAsHD,eAAO,MAAM,WAAW,GAAI,OAAO,gBAAgB,gBA0ClD,CAAC"}
@@ -0,0 +1,25 @@
1
+ import { type Component } from "solid-js";
2
+ export type LetterStatus = "correct" | "present" | "absent";
3
+ export type GameStatus = "playing" | "won" | "lost";
4
+ export interface LetterResult {
5
+ letter: string;
6
+ status: LetterStatus;
7
+ }
8
+ export interface UseWordleOptions {
9
+ /** Override the target word (useful for testing). Must be a lowercase 5-letter word. */
10
+ initialWord?: string;
11
+ }
12
+ export declare const useWordle: (options?: UseWordleOptions) => {
13
+ answer: () => string;
14
+ board: () => LetterResult[][];
15
+ currentGuess: () => string;
16
+ gameStatus: () => GameStatus;
17
+ letterStatuses: () => Record<string, LetterStatus>;
18
+ errorMessage: () => string;
19
+ submit: () => void;
20
+ addLetter: (letter: string) => void;
21
+ removeLetter: () => void;
22
+ reset: () => void;
23
+ Wordle: Component;
24
+ };
25
+ //# sourceMappingURL=use-wordle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-wordle.d.ts","sourceRoot":"","sources":["../../../src/components/others/use-wordle.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,SAAS,EAEf,MAAM,UAAU,CAAC;AAsBlB,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;AAC5D,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,KAAK,GAAG,MAAM,CAAC;AAEpD,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,YAAY,CAAC;CACtB;AAED,MAAM,WAAW,gBAAgB;IAC/B,wFAAwF;IACxF,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AA2JD,eAAO,MAAM,SAAS,GAAI,UAAU,gBAAgB;;;;;;;kBAkB/B,IAAI;wBAHI,MAAM,KAAG,IAAI;wBAEf,IAAI;iBAEX,IAAI;;CA+IvB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const VALIDGUESSES: string[];
2
+ //# sourceMappingURL=validGuesses.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validGuesses.d.ts","sourceRoot":"","sources":["../../../../src/components/others/wordle/validGuesses.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,UAk6UxB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const WORDS: string[];
2
+ //# sourceMappingURL=wordlist.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wordlist.d.ts","sourceRoot":"","sources":["../../../../src/components/others/wordle/wordlist.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK,UA8nLjB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { type JSX } from "solid-js";
2
+ export type ElmTableBodyProps = JSX.HTMLAttributes<HTMLTableSectionElement>;
3
+ export declare const ElmTableBody: (props: ElmTableBodyProps) => JSX.Element;
4
+ //# sourceMappingURL=elm-table-body.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"elm-table-body.d.ts","sourceRoot":"","sources":["../../../src/components/table/elm-table-body.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,GAAG,EAAE,MAAM,UAAU,CAAC;AAIhD,MAAM,MAAM,iBAAiB,GAAG,GAAG,CAAC,cAAc,CAAC,uBAAuB,CAAC,CAAC;AAE5E,eAAO,MAAM,YAAY,GAAI,OAAO,iBAAiB,gBAQpD,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { type JSX } from "solid-js";
2
+ export interface ElmTableCellProps extends JSX.TdHTMLAttributes<HTMLTableCellElement> {
3
+ /** Force this cell to render as a native header cell. */
4
+ isHeader?: boolean;
5
+ /** The zero-based column index used for first-column row-header promotion. */
6
+ columnIndex?: number;
7
+ /** Plain-text content that takes precedence over children when provided. */
8
+ text?: string;
9
+ }
10
+ export declare const ElmTableCell: (props: ElmTableCellProps) => JSX.Element;
11
+ //# sourceMappingURL=elm-table-cell.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"elm-table-cell.d.ts","sourceRoot":"","sources":["../../../src/components/table/elm-table-cell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsC,KAAK,GAAG,EAAE,MAAM,UAAU,CAAC;AAOxE,MAAM,WAAW,iBAAkB,SAAQ,GAAG,CAAC,gBAAgB,CAAC,oBAAoB,CAAC;IACnF,yDAAyD;IACzD,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,8EAA8E;IAC9E,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,4EAA4E;IAC5E,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,YAAY,GAAI,OAAO,iBAAiB,gBAuCpD,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { type JSX } from "solid-js";
2
+ export type ElmTableHeaderProps = JSX.HTMLAttributes<HTMLTableSectionElement>;
3
+ export declare const ElmTableHeader: (props: ElmTableHeaderProps) => JSX.Element;
4
+ //# sourceMappingURL=elm-table-header.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"elm-table-header.d.ts","sourceRoot":"","sources":["../../../src/components/table/elm-table-header.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,GAAG,EAAE,MAAM,UAAU,CAAC;AAMhD,MAAM,MAAM,mBAAmB,GAAG,GAAG,CAAC,cAAc,CAAC,uBAAuB,CAAC,CAAC;AAE9E,eAAO,MAAM,cAAc,GAAI,OAAO,mBAAmB,gBAUxD,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { type JSX } from "solid-js";
2
+ export type ElmTableRowProps = JSX.HTMLAttributes<HTMLTableRowElement>;
3
+ export declare const ElmTableRow: (props: ElmTableRowProps) => JSX.Element;
4
+ //# sourceMappingURL=elm-table-row.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"elm-table-row.d.ts","sourceRoot":"","sources":["../../../src/components/table/elm-table-row.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,GAAG,EAAE,MAAM,UAAU,CAAC;AAKhD,MAAM,MAAM,gBAAgB,GAAG,GAAG,CAAC,cAAc,CAAC,mBAAmB,CAAC,CAAC;AAEvE,eAAO,MAAM,WAAW,GAAI,OAAO,gBAAgB,gBAQlD,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { type JSX } from "solid-js";
2
+ export interface ElmTableProps extends JSX.HTMLAttributes<HTMLTableElement> {
3
+ caption?: string;
4
+ hasRowHeader?: boolean;
5
+ }
6
+ export declare const ElmTable: (props: ElmTableProps) => JSX.Element;
7
+ //# sourceMappingURL=elm-table.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"elm-table.d.ts","sourceRoot":"","sources":["../../../src/components/table/elm-table.tsx"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,GAAG,EACT,MAAM,UAAU,CAAC;AAQlB,MAAM,WAAW,aAAc,SAAQ,GAAG,CAAC,cAAc,CAAC,gBAAgB,CAAC;IACzE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,QAAQ,GAAI,OAAO,aAAa,gBAqF5C,CAAC"}
@@ -0,0 +1,7 @@
1
+ export * from "./elm-table.jsx";
2
+ export * from "./elm-table-body.jsx";
3
+ export * from "./elm-table-cell.jsx";
4
+ export * from "./elm-table-header.jsx";
5
+ export * from "./elm-table-row.jsx";
6
+ export * from "./table-context.js";
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/table/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { type Accessor } from "solid-js";
2
+ /** Whether the surrounding table promotes its first body column to row headers. */
3
+ export declare const HasRowHeaderContext: import("solid-js").Context<Accessor<boolean>>;
4
+ /** The native table section containing a row or cell. */
5
+ export type TableSection = "head" | "body" | "foot";
6
+ export declare const TableSectionContext: import("solid-js").Context<Accessor<TableSection>>;
7
+ //# sourceMappingURL=table-context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"table-context.d.ts","sourceRoot":"","sources":["../../../src/components/table/table-context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,QAAQ,EAAE,MAAM,UAAU,CAAC;AAExD,mFAAmF;AACnF,eAAO,MAAM,mBAAmB,+CAE/B,CAAC;AAEF,yDAAyD;AACzD,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;AAEpD,eAAO,MAAM,mBAAmB,oDAE/B,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { type JSX } from "solid-js";
2
+ export interface ElmBlockQuoteProps extends JSX.BlockquoteHTMLAttributes<HTMLQuoteElement> {
3
+ }
4
+ export declare const ElmBlockQuote: (props: ElmBlockQuoteProps) => JSX.Element;
5
+ //# sourceMappingURL=elm-block-quote.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"elm-block-quote.d.ts","sourceRoot":"","sources":["../../../src/components/typography/elm-block-quote.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,GAAG,EAAE,MAAM,UAAU,CAAC;AAYhD,MAAM,WAAW,kBAAmB,SAAQ,GAAG,CAAC,wBAAwB,CAAC,gBAAgB,CAAC;CAAG;AAE7F,eAAO,MAAM,aAAa,GAAI,OAAO,kBAAkB,gBAmBtD,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { type JSX } from "solid-js";
2
+ export type AlertType = "note" | "tip" | "important" | "warning" | "caution";
3
+ export interface ElmCalloutProps extends JSX.HTMLAttributes<HTMLElement> {
4
+ /** Type of alert. */
5
+ type?: AlertType;
6
+ }
7
+ export declare const ElmCallout: (props: ElmCalloutProps) => JSX.Element;
8
+ //# sourceMappingURL=elm-callout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"elm-callout.d.ts","sourceRoot":"","sources":["../../../src/components/typography/elm-callout.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA0B,KAAK,GAAG,EAAE,MAAM,UAAU,CAAC;AAM5D,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,KAAK,GAAG,WAAW,GAAG,SAAS,GAAG,SAAS,CAAC;AAY7E,MAAM,WAAW,eAAgB,SAAQ,GAAG,CAAC,cAAc,CAAC,WAAW,CAAC;IACtE,qBAAqB;IACrB,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB;AAED,eAAO,MAAM,UAAU,GAAI,OAAO,eAAe,gBAqBhD,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { type JSX } from "solid-js";
2
+ export type ElmDividerProps = JSX.HTMLAttributes<HTMLHRElement>;
3
+ export declare const ElmDivider: (props: ElmDividerProps) => JSX.Element;
4
+ //# sourceMappingURL=elm-divider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"elm-divider.d.ts","sourceRoot":"","sources":["../../../src/components/typography/elm-divider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,GAAG,EAAE,MAAM,UAAU,CAAC;AAKhD,MAAM,MAAM,eAAe,GAAG,GAAG,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC;AAEhE,eAAO,MAAM,UAAU,GAAI,OAAO,eAAe,gBAIhD,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { type JSX } from "solid-js";
2
+ export interface ElmFragmentIdentifierProps extends JSX.HTMLAttributes<HTMLSpanElement> {
3
+ /** ID of the heading element. */
4
+ id: string;
5
+ }
6
+ export declare const ElmFragmentIdentifier: (props: ElmFragmentIdentifierProps) => JSX.Element;
7
+ //# sourceMappingURL=elm-fragment-identifier.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"elm-fragment-identifier.d.ts","sourceRoot":"","sources":["../../../src/components/typography/elm-fragment-identifier.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,GAAG,EAAE,MAAM,UAAU,CAAC;AAKhD,MAAM,WAAW,0BAA2B,SAAQ,GAAG,CAAC,cAAc,CAAC,eAAe,CAAC;IACrF,iCAAiC;IACjC,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,eAAO,MAAM,qBAAqB,GAAI,OAAO,0BAA0B,gBAoBtE,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { type JSX } from "solid-js";
2
+ export type ElmHeadingLevel = 1 | 2 | 3 | 4 | 5 | 6;
3
+ export interface ElmHeadingProps extends JSX.HTMLAttributes<HTMLHeadingElement> {
4
+ level: ElmHeadingLevel;
5
+ text?: string;
6
+ }
7
+ export declare const ElmHeading: (props: ElmHeadingProps) => JSX.Element;
8
+ //# sourceMappingURL=elm-heading.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"elm-heading.d.ts","sourceRoot":"","sources":["../../../src/components/typography/elm-heading.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,GAAG,EAAE,MAAM,UAAU,CAAC;AAShD,MAAM,MAAM,eAAe,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAEpD,MAAM,WAAW,eAAgB,SAAQ,GAAG,CAAC,cAAc,CAAC,kBAAkB,CAAC;IAC7E,KAAK,EAAE,eAAe,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAWD,eAAO,MAAM,UAAU,GAAI,OAAO,eAAe,gBAsChD,CAAC"}
@@ -0,0 +1,23 @@
1
+ import { type JSX } from "solid-js";
2
+ export interface ElmInlineTextProps extends JSX.HTMLAttributes<HTMLSpanElement> {
3
+ /** The text color. Defaults to the neutral text token. */
4
+ color?: JSX.CSSProperties["color"];
5
+ /** The font size and line height. */
6
+ size?: JSX.CSSProperties["font-size"];
7
+ bold?: boolean;
8
+ italic?: boolean;
9
+ underline?: boolean;
10
+ strikethrough?: boolean;
11
+ code?: boolean;
12
+ kbd?: boolean;
13
+ /** The text background color. */
14
+ backgroundColor?: JSX.CSSProperties["background-color"];
15
+ /** The ruby annotation displayed above the text. */
16
+ ruby?: string;
17
+ /** The external URL to wrap around the text. */
18
+ href?: string;
19
+ /** An optional favicon displayed inside the external link. */
20
+ favicon?: string;
21
+ }
22
+ export declare const ElmInlineText: (props: ElmInlineTextProps) => JSX.Element;
23
+ //# sourceMappingURL=elm-inline-text.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"elm-inline-text.d.ts","sourceRoot":"","sources":["../../../src/components/typography/elm-inline-text.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,GAAG,EACT,MAAM,UAAU,CAAC;AAQlB,MAAM,WAAW,kBAAmB,SAAQ,GAAG,CAAC,cAAc,CAAC,eAAe,CAAC;IAC7E,0DAA0D;IAC1D,KAAK,CAAC,EAAE,GAAG,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IAEnC,qCAAqC;IACrC,IAAI,CAAC,EAAE,GAAG,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC;IAEtC,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,GAAG,CAAC,EAAE,OAAO,CAAC;IAEd,iCAAiC;IACjC,eAAe,CAAC,EAAE,GAAG,CAAC,aAAa,CAAC,kBAAkB,CAAC,CAAC;IAExD,oDAAoD;IACpD,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,gDAAgD;IAChD,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,8DAA8D;IAC9D,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAoBD,eAAO,MAAM,aAAa,GAAI,OAAO,kBAAkB,gBAyEtD,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { type JSX } from "solid-js";
2
+ export interface ElmListProps extends Omit<JSX.HTMLAttributes<HTMLUListElement | HTMLOListElement>, "type"> {
3
+ listStyle?: "unordered" | "ordered";
4
+ type?: "a" | "i" | "1" | "A" | "I";
5
+ }
6
+ export declare const ElmList: (props: ElmListProps) => JSX.Element;
7
+ //# sourceMappingURL=elm-list.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"elm-list.d.ts","sourceRoot":"","sources":["../../../src/components/typography/elm-list.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA0B,KAAK,GAAG,EAAE,MAAM,UAAU,CAAC;AAO5D,MAAM,WAAW,YAAa,SAAQ,IAAI,CACxC,GAAG,CAAC,cAAc,CAAC,gBAAgB,GAAG,gBAAgB,CAAC,EACvD,MAAM,CACP;IACC,SAAS,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;IACpC,IAAI,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;CACpC;AAED,eAAO,MAAM,OAAO,GAAI,OAAO,YAAY,gBAkB1C,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { type JSX } from "solid-js";
2
+ export interface ElmParagraphProps extends JSX.HTMLAttributes<HTMLParagraphElement> {
3
+ color?: string;
4
+ backgroundColor?: string;
5
+ }
6
+ export declare const ElmParagraph: (props: ElmParagraphProps) => JSX.Element;
7
+ //# sourceMappingURL=elm-paragraph.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"elm-paragraph.d.ts","sourceRoot":"","sources":["../../../src/components/typography/elm-paragraph.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,GAAG,EAAE,MAAM,UAAU,CAAC;AAOhD,MAAM,WAAW,iBAAkB,SAAQ,GAAG,CAAC,cAAc,CAAC,oBAAoB,CAAC;IACjF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,eAAO,MAAM,YAAY,GAAI,OAAO,iBAAiB,gBAqBpD,CAAC"}
@@ -0,0 +1,67 @@
1
+ export { ElmBlockFallback, type ElmBlockFallbackProps, } from "./components/fallback/elm-block-fallback.jsx";
2
+ export { ElmRectangleWave, type ElmRectangleWaveProps, } from "./components/fallback/elm-rectangle-wave.jsx";
3
+ export { ElmUnsupportedBlock, type ElmUnsupportedBlockProps, } from "./components/fallback/elm-unsupported-block.jsx";
4
+ export { ElmButton, type ElmButtonProps, } from "./components/form/elm-button.jsx";
5
+ export { ElmCheckbox, type ElmCheckboxProps, } from "./components/form/elm-checkbox.jsx";
6
+ export { ElmSwitch, type ElmSwitchProps, } from "./components/form/elm-switch.jsx";
7
+ export { ElmValidation, type ElmValidationProps, } from "./components/form/elm-validation.jsx";
8
+ export { ElmCopyIcon, type ElmCopyIconProps, } from "./components/icon/elm-copy-icon.jsx";
9
+ export { ElmDotLoadingIcon, type ElmDotLoadingIconProps, } from "./components/icon/elm-dot-loading-icon.jsx";
10
+ export { ElmInlineIcon, type ElmInlineIconProps, } from "./components/icon/elm-inline-icon.jsx";
11
+ export { ElmLanguageIcon, type ElmLanguageIconProps, } from "./components/icon/elm-language-icon.jsx";
12
+ export { ElmMdiIcon, type ElmMdiIconProps, } from "./components/icon/elm-mdi-icon.jsx";
13
+ export { ElmSquareLoadingIcon, type ElmSquareLoadingIconProps, } from "./components/icon/elm-square-loading-icon.jsx";
14
+ export { ElmToggleTheme, type ElmToggleThemeProps, } from "./components/icon/elm-toggle-theme.jsx";
15
+ export { ElmFile, type ElmFileProps } from "./components/media/elm-file.jsx";
16
+ export { ElmBookmark, type ElmBookmarkProps, } from "./components/navigation/elm-bookmark.jsx";
17
+ export { ElmBreadcrumb, type ElmBreadcrumbProps, } from "./components/navigation/elm-breadcrumb.jsx";
18
+ export { ElmPageTop, type ElmPageTopProps, } from "./components/navigation/elm-page-top.jsx";
19
+ export { ElmNotionCallout, type ElmNotionCalloutProps, type NotionCalloutColor, type NotionCalloutIcon, type NotionCalloutVariant, } from "./components/notion/elm-notion-callout.jsx";
20
+ export { ElmColorPrimitiveSample, type ElmColorPrimitiveSampleProps, } from "./components/others/elm-color-primitive-sample.jsx";
21
+ export { ElmColorSemanticSample, type ElmColorSemanticSampleProps, } from "./components/others/elm-color-semantic-sample.jsx";
22
+ export { ElmBlockQuote, type ElmBlockQuoteProps, } from "./components/typography/elm-block-quote.jsx";
23
+ export { ElmCallout, type ElmCalloutProps, } from "./components/typography/elm-callout.jsx";
24
+ export { ElmDivider, type ElmDividerProps, } from "./components/typography/elm-divider.jsx";
25
+ export { ElmFragmentIdentifier, type ElmFragmentIdentifierProps, } from "./components/typography/elm-fragment-identifier.jsx";
26
+ export { ElmHeading, type ElmHeadingProps, } from "./components/typography/elm-heading.jsx";
27
+ export { ElmInlineText, type ElmInlineTextProps, } from "./components/typography/elm-inline-text.jsx";
28
+ export { ElmList, type ElmListProps, } from "./components/typography/elm-list.jsx";
29
+ export { ElmParagraph, type ElmParagraphProps, } from "./components/typography/elm-paragraph.jsx";
30
+ export { createAsyncState, type CreateAsyncStateOptions, type CreateAsyncStateReturn, } from "./primitives/create-async-state.js";
31
+ export { createAutoAnimate, type CreateAutoAnimateOptions, type CreateAutoAnimateResult, } from "./primitives/create-auto-animate.js";
32
+ export { createClipboard, type ClipboardContent, type ClipboardController, type ClipboardItemContent, type CreateClipboardOptions, } from "./primitives/create-clipboard.js";
33
+ export { createControllableSignal, type CreateControllableSignalOptions, } from "./primitives/create-controllable-signal.js";
34
+ export { createDebounced, type CreateDebouncedReturn, } from "./primitives/create-debounced.js";
35
+ export { createDelayedSignal, type CreateDelayedSignalReturn, } from "./primitives/create-delayed-signal.js";
36
+ export { createElmethisTheme, THEME_CHANGE_EVENT, type ElmethisTheme, type ElmethisThemeController, } from "./primitives/create-elmethis-theme.js";
37
+ export { createLocalStorage, createSessionStorage, type CreateLocalStorageOptions, type CreateSessionStorageOptions, type CreateStorageOptions, type StorageController, } from "./primitives/create-storage.js";
38
+ export { createThrottled, type CreateThrottledReturn, } from "./primitives/create-throttled.js";
39
+ export { createThrottledQueue, ThrottledQueue, } from "./primitives/create-throttled-queue.js";
40
+ export { ElmKatex, type ElmKatexProps } from "./components/code/elm-katex.jsx";
41
+ export { ElmCollapse, type ElmCollapseProps, } from "./components/containments/elm-collapse.jsx";
42
+ export { ElmParallax, type ElmParallaxProps, } from "./components/containments/elm-parallax.jsx";
43
+ export { ElmModal, type ElmModalProps, } from "./components/containments/elm-modal.jsx";
44
+ export { ElmTab, ElmTabList, ElmTabPanel, ElmTabs, type ElmTabListProps, type ElmTabPanelProps, type ElmTabProps, type ElmTabsProps, } from "./components/containments/elm-tabs.jsx";
45
+ export { ElmToggle, type ElmToggleProps, } from "./components/containments/elm-toggle.jsx";
46
+ export { ElmTooltip, type ElmTooltipProps, } from "./components/containments/elm-tooltip.jsx";
47
+ export { ElmButtonDropdown, type ElmButtonDropdownItem, type ElmButtonDropdownProps, } from "./components/form/elm-button-dropdown.jsx";
48
+ export { ElmSelect, type ElmSelectOption, type ElmSelectProps, } from "./components/form/elm-select.jsx";
49
+ export { ElmBlockImage, type ElmBlockImageProps, } from "./components/media/elm-block-image.jsx";
50
+ export * from "./components/table/index.js";
51
+ export { createModal, type CreateModalOptions, type CreateModalReturn, } from "./primitives/create-modal.jsx";
52
+ export { ElmCodeBlock, type ElmCodeBlockProps, } from "./components/code/elm-code-block.jsx";
53
+ export { ElmShikiHighlighter, type ElmShikiHighlighterProps, } from "./components/code/elm-shiki-highlighter.jsx";
54
+ export { ElmMarkdown, type ElmMarkdownProps, } from "./components/others/elm-markdown.jsx";
55
+ export { ElmHtml, type ElmHtmlProps } from "./components/code/elm-html.jsx";
56
+ export { ElmHtmlViewer, type ElmHtmlViewerProps, } from "./components/code/elm-html-viewer.jsx";
57
+ export { ElmSlider, type ElmSliderOrientation, type ElmSliderProps, } from "./components/form/elm-slider.jsx";
58
+ export { ElmTextArea, type ElmTextAreaProps, } from "./components/form/elm-text-area.jsx";
59
+ export { ElmTextField, type ElmTextFieldProps, } from "./components/form/elm-text-field.jsx";
60
+ export { ElmAudioPlayer, type ElmAudioPlayerProps, } from "./components/media/elm-audio-player.jsx";
61
+ export { useWordle, type GameStatus, type LetterResult, type LetterStatus, type UseWordleOptions, } from "./components/others/use-wordle.jsx";
62
+ export { A2uiSurface, ElmA2ui, type A2uiSurfaceProps, type ElmA2uiProps, } from "./components/a2ui/elm-a2ui.jsx";
63
+ export { A2uiCatalogContext, A2uiSurfaceContext, ComponentHost, ROOT_COMPONENT_ID, type ComponentHostProps, } from "./components/a2ui/component-host.jsx";
64
+ export { CatalogRenderer, defineRenderer, type ChildRef, type RenderArgs, type RenderFn, type RendererEntry, type SolidRendererEntry, } from "./components/a2ui/catalog/catalog.js";
65
+ export { basicCatalog } from "./components/a2ui/catalog/basic-catalog.jsx";
66
+ export { notionBlockCatalog, notionBlockComponents, notionBlockFunctions, } from "./components/a2ui/catalog/notion-block-catalog.jsx";
67
+ //# sourceMappingURL=exports.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"exports.d.ts","sourceRoot":"","sources":["../src/exports.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,KAAK,qBAAqB,GAC3B,MAAM,8CAA8C,CAAC;AACtD,OAAO,EACL,gBAAgB,EAChB,KAAK,qBAAqB,GAC3B,MAAM,8CAA8C,CAAC;AACtD,OAAO,EACL,mBAAmB,EACnB,KAAK,wBAAwB,GAC9B,MAAM,iDAAiD,CAAC;AACzD,OAAO,EACL,SAAS,EACT,KAAK,cAAc,GACpB,MAAM,kCAAkC,CAAC;AAC1C,OAAO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,0 +1,26 @@
1
+ import autoAnimate from "@formkit/auto-animate";
2
+ import { type Accessor, type Setter } from "solid-js";
3
+ export interface CreateAutoAnimateOptions {
4
+ /** Configuration or plugin passed to Auto Animate. */
5
+ config?: Parameters<typeof autoAnimate>[1];
6
+ /** Whether animations are initially enabled. Defaults to `true`. */
7
+ enabled?: boolean;
8
+ }
9
+ export interface CreateAutoAnimateResult<T extends HTMLElement> {
10
+ /** Attach this callback to the parent whose direct children should animate. */
11
+ ref: (element: T | null) => void;
12
+ /** The desired enabled state managed by this primitive. */
13
+ enabled: Accessor<boolean>;
14
+ /** Enables or disables the current controller and future controllers. */
15
+ setEnabled: Setter<boolean>;
16
+ /** The controller for the currently attached element, once mounted. */
17
+ controller: Accessor<ReturnType<typeof autoAnimate> | undefined>;
18
+ }
19
+ /**
20
+ * Attaches framework-neutral Auto Animate to a Solid-owned element.
21
+ *
22
+ * The controller is created only after the owner mounts. Reusing `ref` with a
23
+ * new element replaces and destroys the previous controller.
24
+ */
25
+ export declare function createAutoAnimate<T extends HTMLElement = HTMLElement>(options?: CreateAutoAnimateOptions): CreateAutoAnimateResult<T>;
26
+ //# sourceMappingURL=create-auto-animate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-auto-animate.d.ts","sourceRoot":"","sources":["../../src/hooks/create-auto-animate.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,uBAAuB,CAAC;AAChD,OAAO,EAKL,KAAK,QAAQ,EACb,KAAK,MAAM,EACZ,MAAM,UAAU,CAAC;AAElB,MAAM,WAAW,wBAAwB;IACvC,sDAAsD;IACtD,MAAM,CAAC,EAAE,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;IAE3C,oEAAoE;IACpE,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,uBAAuB,CAAC,CAAC,SAAS,WAAW;IAC5D,+EAA+E;IAC/E,GAAG,EAAE,CAAC,OAAO,EAAE,CAAC,GAAG,IAAI,KAAK,IAAI,CAAC;IAEjC,2DAA2D;IAC3D,OAAO,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;IAE3B,yEAAyE;IACzE,UAAU,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;IAE5B,uEAAuE;IACvE,UAAU,EAAE,QAAQ,CAAC,UAAU,CAAC,OAAO,WAAW,CAAC,GAAG,SAAS,CAAC,CAAC;CAClE;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW,EACnE,OAAO,CAAC,EAAE,wBAAwB,GACjC,uBAAuB,CAAC,CAAC,CAAC,CA6D5B"}
@@ -0,0 +1,3 @@
1
+ import "@elmethis/core/tokens.css";
2
+ export * from "./exports.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,2BAA2B,CAAC;AAEnC,cAAc,cAAc,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { JSX } from "solid-js";
2
+ export declare const callEventHandler: <T extends Element, E extends Event>(handler: JSX.EventHandlerUnion<T, E> | undefined, event: E & {
3
+ currentTarget: T;
4
+ target: Element;
5
+ }) => void;
6
+ //# sourceMappingURL=call-event-handler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"call-event-handler.d.ts","sourceRoot":"","sources":["../../src/primitives/call-event-handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAEpC,eAAO,MAAM,gBAAgB,GAAI,CAAC,SAAS,OAAO,EAAE,CAAC,SAAS,KAAK,EACjE,SAAS,GAAG,CAAC,iBAAiB,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,SAAS,EAChD,OAAO,CAAC,GAAG;IAAE,aAAa,EAAE,CAAC,CAAC;IAAC,MAAM,EAAE,OAAO,CAAA;CAAE,SAOjD,CAAC"}
@@ -0,0 +1,25 @@
1
+ import { type Accessor } from "solid-js";
2
+ export interface CreateAsyncStateOptions<Data = unknown> {
3
+ /** Delay for the automatic client-side execution. @default 0 */
4
+ delay?: number;
5
+ /** Execute after the owner mounts on the client. @default true */
6
+ immediate?: boolean;
7
+ /** Called when the current execution rejects. */
8
+ onError?: (error: unknown) => void;
9
+ /** Called when the current execution resolves. */
10
+ onSuccess?: (data: Data) => void;
11
+ /** Reset state before each execution. @default true */
12
+ resetOnExecute?: boolean;
13
+ /** Re-throw the current execution's error. @default false */
14
+ throwError?: boolean;
15
+ }
16
+ export interface CreateAsyncStateReturn<Data> {
17
+ state: Accessor<Data>;
18
+ isReady: Accessor<boolean>;
19
+ isLoading: Accessor<boolean>;
20
+ error: Accessor<unknown>;
21
+ execute: (delay?: number) => Promise<Data | undefined>;
22
+ }
23
+ /** Creates owner-scoped async state with latest-execution-wins commits. */
24
+ export declare function createAsyncState<Data>(task: () => Promise<Data>, initialState: Data, options?: CreateAsyncStateOptions<Data>): CreateAsyncStateReturn<Data>;
25
+ //# sourceMappingURL=create-async-state.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-async-state.d.ts","sourceRoot":"","sources":["../../src/primitives/create-async-state.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoC,KAAK,QAAQ,EAAE,MAAM,UAAU,CAAC;AAE3E,MAAM,WAAW,uBAAuB,CAAC,IAAI,GAAG,OAAO;IACrD,gEAAgE;IAChE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kEAAkE;IAClE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,iDAAiD;IACjD,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACnC,kDAAkD;IAClD,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IACjC,uDAAuD;IACvD,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,6DAA6D;IAC7D,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,sBAAsB,CAAC,IAAI;IAC1C,KAAK,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC;IACtB,OAAO,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;IAC3B,SAAS,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;IAC7B,KAAK,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;IACzB,OAAO,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,GAAG,SAAS,CAAC,CAAC;CACxD;AAED,2EAA2E;AAC3E,wBAAgB,gBAAgB,CAAC,IAAI,EACnC,IAAI,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,EACzB,YAAY,EAAE,IAAI,EAClB,OAAO,GAAE,uBAAuB,CAAC,IAAI,CAAM,GAC1C,sBAAsB,CAAC,IAAI,CAAC,CAoE9B"}