@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,8 @@
1
+ import { splitProps } from "solid-js";
2
+ import { clsx } from "clsx";
3
+ import styles from "./elm-divider.module.css";
4
+ export const ElmDivider = (props) => {
5
+ const [local, rest] = splitProps(props, ["class"]);
6
+ return <hr class={clsx(styles["elm-divider"], local.class)} {...rest}/>;
7
+ };
8
+ //# sourceMappingURL=elm-divider.jsx.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"elm-divider.jsx","sourceRoot":"","sources":["../../../src/components/typography/elm-divider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAY,MAAM,UAAU,CAAC;AAChD,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAE5B,OAAO,MAAM,MAAM,0BAA0B,CAAC;AAI9C,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,KAAsB,EAAE,EAAE;IACnD,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,KAAK,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAEnD,OAAO,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,EAAG,CAAC;AAC3E,CAAC,CAAC"}
@@ -0,0 +1,5 @@
1
+ .elm-divider {
2
+ width: 100%;
3
+ border: none;
4
+ border-bottom: dashed 1px var(--elmethis-color-primary);
5
+ }
@@ -0,0 +1,16 @@
1
+ import { splitProps } from "solid-js";
2
+ import { clsx } from "clsx";
3
+ import styles from "./elm-fragment-identifier.module.css";
4
+ export const ElmFragmentIdentifier = (props) => {
5
+ const [local, rest] = splitProps(props, ["class", "id"]);
6
+ const handleHashClick = () => {
7
+ const url = new URL(window.location.href);
8
+ url.hash = local.id;
9
+ window.history.replaceState(null, "", url.toString());
10
+ document.getElementById(local.id)?.scrollIntoView({ behavior: "smooth" });
11
+ };
12
+ return (<span class={clsx(styles["elm-fragment-identifier"], local.class)} onClick={handleHashClick} {...rest}>
13
+ #
14
+ </span>);
15
+ };
16
+ //# sourceMappingURL=elm-fragment-identifier.jsx.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"elm-fragment-identifier.jsx","sourceRoot":"","sources":["../../../src/components/typography/elm-fragment-identifier.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAY,MAAM,UAAU,CAAC;AAChD,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAE5B,OAAO,MAAM,MAAM,sCAAsC,CAAC;AAO1D,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,KAAiC,EAAE,EAAE;IACzE,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,KAAK,EAAE,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC;IAEzD,MAAM,eAAe,GAAG,GAAG,EAAE;QAC3B,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QAC1C,GAAG,CAAC,IAAI,GAAG,KAAK,CAAC,EAAE,CAAC;QACpB,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,EAAE,GAAG,CAAC,QAAQ,EAAE,CAAC,CAAC;QAEtD,QAAQ,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,CAAC,EAAE,cAAc,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC,CAAC;IAC5E,CAAC,CAAC;IAEF,OAAO,CACL,CAAC,IAAI,CACH,KAAK,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,yBAAyB,CAAC,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC,CAC5D,OAAO,CAAC,CAAC,eAAe,CAAC,CACzB,IAAI,IAAI,CAAC,CAET;;IACF,EAAE,IAAI,CAAC,CACR,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1,28 @@
1
+ .elm-fragment-identifier {
2
+ font-size: 1rem;
3
+ width: 1rem;
4
+ height: 1rem;
5
+ padding: 0.125rem;
6
+ margin-inline-start: 0.5rem;
7
+ border-radius: 0.125rem;
8
+ display: inline-flex;
9
+ justify-content: center;
10
+ align-items: center;
11
+ color: var(--elmethis-color-primary);
12
+ cursor: pointer;
13
+ user-select: none;
14
+ opacity: 1;
15
+ transition:
16
+ background-color 200ms,
17
+ opacity 100ms,
18
+ transform 100ms;
19
+
20
+ &:hover {
21
+ background-color: var(--elmethis-color-primary-hover);
22
+ }
23
+
24
+ &:active {
25
+ opacity: 0.5;
26
+ transform: translateX(1px) translateY(1px);
27
+ }
28
+ }
@@ -0,0 +1,37 @@
1
+ import { splitProps } from "solid-js";
2
+ import { Dynamic } from "solid-js/web";
3
+ import { clsx } from "clsx";
4
+ import styles from "./elm-heading.module.css";
5
+ import textStyles from "../../styles/text.module.css";
6
+ import { mergeStyle } from "../../styles/merge-style";
7
+ import { ElmFragmentIdentifier } from "./elm-fragment-identifier";
8
+ const SIZE_MAP = Object.freeze({
9
+ 1: 1.5,
10
+ 2: 1.4,
11
+ 3: 1.3,
12
+ 4: 1.2,
13
+ 5: 1.15,
14
+ 6: 1.1,
15
+ });
16
+ export const ElmHeading = (props) => {
17
+ const [local, rest] = splitProps(props, [
18
+ "class",
19
+ "style",
20
+ "children",
21
+ "level",
22
+ "text",
23
+ "id",
24
+ ]);
25
+ return (<Dynamic component={`h${local.level}`} {...rest} class={clsx(styles["elm-heading"], textStyles.text, styles[`h${local.level}`], local.class)} style={mergeStyle(local.style, {
26
+ "--elmethis-scoped-font-size": `${SIZE_MAP[local.level]}em`,
27
+ })} id={local.id}>
28
+ <span>{local.text}</span>
29
+ {local.children}
30
+ {local.id && (<span style={{ padding: "0.5rem" }}>
31
+ <ElmFragmentIdentifier id={local.id}/>
32
+ </span>)}
33
+
34
+ {local.level === 2 && (<span class={styles["h2-underline"]} aria-hidden="true"/>)}
35
+ </Dynamic>);
36
+ };
37
+ //# sourceMappingURL=elm-heading.jsx.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"elm-heading.jsx","sourceRoot":"","sources":["../../../src/components/typography/elm-heading.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAY,MAAM,UAAU,CAAC;AAChD,OAAO,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AAE,IAAI,CACxB;MAAA,CAAC,KAAK,CAAC,QAAQ,CACf;MAAA,CAAC,KAAK,CAAC,EAAE,IAAI,CACX,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC,CACjC;UAAA,CAAC,qBAAqB,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,EACtC;QAAA,EAAE,IAAI,CAAC,CACR,CAED;;MAAA,CAAC,KAAK,CAAC,KAAK,KAAK,CAAC,IAAI,CACpB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC,CAAC,WAAW,CAAC,MAAM,EAAG,CAC3D,CACH;IAAA,EAAE,OAAO,CAAC,CACX,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1,96 @@
1
+ .elm-heading {
2
+ margin: 0;
3
+ position: relative;
4
+ font-size: var(--elmethis-scoped-font-size);
5
+ line-height: var(--elmethis-scoped-font-size);
6
+ opacity: var(--elmethis-scoped-opacity);
7
+ transition:
8
+ color 400ms,
9
+ opacity 800ms;
10
+ }
11
+
12
+ .h1 {
13
+ &::after {
14
+ position: absolute;
15
+ content: "";
16
+ bottom: -4px;
17
+ left: 0;
18
+ width: 100%;
19
+ height: 0.25px;
20
+ background-color: var(--elmethis-color-neutral-weak);
21
+ }
22
+
23
+ &::before {
24
+ position: absolute;
25
+ content: "";
26
+ bottom: -6px;
27
+ left: 45%;
28
+ width: 10%;
29
+ height: 2px;
30
+ background-color: var(--elmethis-color-neutral-weak);
31
+ }
32
+ }
33
+
34
+ .h2 {
35
+ &::after {
36
+ position: absolute;
37
+ content: "";
38
+ right: 2px;
39
+ bottom: -4px;
40
+ width: 6px;
41
+ height: 8px;
42
+ opacity: 0.8;
43
+ transform: skewX(-25deg);
44
+ background-color: var(--elmethis-color-neutral-weak);
45
+ }
46
+
47
+ &::before {
48
+ position: absolute;
49
+ content: "";
50
+ right: 10px;
51
+ bottom: -4px;
52
+ width: 6px;
53
+ height: 8px;
54
+ opacity: 0.8;
55
+ transform: skewX(-25deg);
56
+ background-color: var(--elmethis-color-neutral-weak);
57
+ }
58
+ }
59
+
60
+ .h2-underline {
61
+ overflow: hidden;
62
+ position: absolute;
63
+ content: "";
64
+ bottom: -6px;
65
+ left: 0;
66
+ width: 100%;
67
+ height: 0.25px;
68
+ background-color: var(--elmethis-color-neutral-weak);
69
+ }
70
+
71
+ .h3 {
72
+ box-sizing: border-box;
73
+ padding-left: 0.75rem;
74
+
75
+ &::after {
76
+ position: absolute;
77
+ content: "";
78
+ width: 3px;
79
+ height: 12px;
80
+ top: calc(50% - 8px);
81
+ left: 0;
82
+ background-color: var(--elmethis-color-neutral-weak);
83
+ }
84
+ }
85
+
86
+ .h4 {
87
+ position: relative;
88
+ }
89
+
90
+ .h5 {
91
+ position: relative;
92
+ }
93
+
94
+ .h6 {
95
+ position: relative;
96
+ }
@@ -0,0 +1,75 @@
1
+ import { children, createMemo, mergeProps, splitProps, } from "solid-js";
2
+ import { clsx } from "clsx";
3
+ import styles from "./elm-inline-text.module.css";
4
+ import textStyles from "../../styles/text.module.css";
5
+ import { ElmInlineIcon } from "../icon/elm-inline-icon";
6
+ const mergeStyle = (style, scopedStyle) => {
7
+ if (typeof style !== "string") {
8
+ return { ...(style ?? {}), ...scopedStyle };
9
+ }
10
+ const serializedScopedStyle = Object.entries(scopedStyle)
11
+ .filter((entry) => entry[1] != null)
12
+ .map(([name, value]) => `${name}:${String(value)}`)
13
+ .join(";");
14
+ return [style.trim().replace(/;$/, ""), serializedScopedStyle]
15
+ .filter(Boolean)
16
+ .join(";");
17
+ };
18
+ export const ElmInlineText = (props) => {
19
+ const merged = mergeProps({ size: "1em" }, props);
20
+ const [local, rest] = splitProps(merged, [
21
+ "class",
22
+ "style",
23
+ "children",
24
+ "color",
25
+ "size",
26
+ "backgroundColor",
27
+ "bold",
28
+ "italic",
29
+ "underline",
30
+ "strikethrough",
31
+ "code",
32
+ "kbd",
33
+ "ruby",
34
+ "href",
35
+ "favicon",
36
+ ]);
37
+ const resolvedChildren = children(() => local.children);
38
+ const content = createMemo(() => {
39
+ let node = resolvedChildren();
40
+ if (local.href) {
41
+ node = (<a class={styles.link} href={local.href} target="_blank" rel="noopener noreferrer">
42
+ {local.favicon && <ElmInlineIcon src={local.favicon} alt="favicon"/>}
43
+ {node}
44
+ </a>);
45
+ }
46
+ if (local.kbd)
47
+ node = <kbd class={styles.kbd}>{node}</kbd>;
48
+ if (local.strikethrough)
49
+ node = <del>{node}</del>;
50
+ if (local.italic)
51
+ node = <em>{node}</em>;
52
+ if (local.underline)
53
+ node = <ins>{node}</ins>;
54
+ if (local.bold)
55
+ node = <strong>{node}</strong>;
56
+ if (local.code)
57
+ node = <code class={styles.code}>{node}</code>;
58
+ if (local.ruby) {
59
+ node = (<ruby class={styles["elm-inline-text"]}>
60
+ <span>{node}</span>
61
+ <rt>{local.ruby}</rt>
62
+ </ruby>);
63
+ }
64
+ return node;
65
+ });
66
+ const rootStyle = createMemo(() => mergeStyle(local.style, {
67
+ "--elmethis-scoped-color": local.color,
68
+ "--elmethis-scoped-font-size": local.size,
69
+ "--elmethis-scoped-background-color": local.backgroundColor,
70
+ }));
71
+ return (<span {...rest} class={clsx(styles["elm-inline-text"], textStyles.text, local.class)} style={rootStyle()}>
72
+ {content()}
73
+ </span>);
74
+ };
75
+ //# sourceMappingURL=elm-inline-text.jsx.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"elm-inline-text.jsx","sourceRoot":"","sources":["../../../src/components/typography/elm-inline-text.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,UAAU,EACV,UAAU,EACV,UAAU,GAEX,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAE5B,OAAO,MAAM,MAAM,8BAA8B,CAAC;AAClD,OAAO,UAAU,MAAM,8BAA8B,CAAC;AAEtD,OAAO,EAAE,aAAa,EAAE,MAAM,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,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC;QAE/D,IAAI,KAAK,CAAC,IAAI,EAAE,CAAC;YACf,IAAI,GAAG,CACL,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC,CACrC;UAAA,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,EAAE,IAAI,CAClB;UAAA,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,CACtB;QAAA,EAAE,IAAI,CAAC,CACR,CAAC;QACJ,CAAC;QAED,OAAO,IAAI,CAAC;IACd,CAAC,CAAC,CAAC;IACH,MAAM,SAAS,GAAG,UAAU,CAAC,GAAG,EAAE,CAChC,UAAU,CAAC,KAAK,CAAC,KAAK,EAAE;QACtB,yBAAyB,EAAE,KAAK,CAAC,KAAK;QACtC,6BAA6B,EAAE,KAAK,CAAC,IAAI;QACzC,oCAAoC,EAAE,KAAK,CAAC,eAAe;KAC5D,CAAC,CACH,CAAC;IAEF,OAAO,CACL,CAAC,IAAI,CACH,IAAI,IAAI,CAAC,CACT,KAAK,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,iBAAiB,CAAC,EAAE,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC,CACrE,KAAK,CAAC,CAAC,SAAS,EAAE,CAAC,CAEnB;MAAA,CAAC,OAAO,EAAE,CACZ;IAAA,EAAE,IAAI,CAAC,CACR,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1,118 @@
1
+ .elm-inline-text {
2
+ padding: 0;
3
+ margin: 0;
4
+ white-space: pre-line;
5
+ font-size: var(--elmethis-scoped-font-size, 1em);
6
+ line-height: var(--elmethis-scoped-font-size, 1em);
7
+ color: var(--elmethis-scoped-color, var(--elmethis-color-neutral));
8
+ background-color: var(--elmethis-scoped-background-color);
9
+ transition: color 200ms;
10
+ text-decoration-color: var(--elmethis-scoped-color);
11
+ }
12
+
13
+ .code {
14
+ margin-inline: 0.25rem;
15
+ padding: 2px 0.5em;
16
+ font-size: calc(1em - 2px);
17
+ border-radius: 0.125rem;
18
+ background-color: oklch(from var(--elmethis-color-neutral) l c h / 8%);
19
+ font-family: var(
20
+ --elmethis-scoped-font-family,
21
+ var(--elmethis-font-family-monospace)
22
+ );
23
+ }
24
+
25
+ .kbd {
26
+ padding: 0.125rem 0.25rem;
27
+ position: relative;
28
+ border-radius: 0.125rem;
29
+ background-color: var(--elmethis-color-surface-raised);
30
+ border: solid 1px var(--elmethis-color-surface-raised);
31
+
32
+ &::before {
33
+ z-index: -1;
34
+ position: absolute;
35
+ content: "";
36
+ bottom: -0.25em;
37
+ left: -0.5px;
38
+ height: 100%;
39
+ width: 100%;
40
+ border: solid 1px var(--elmethis-color-surface-raised);
41
+ border-radius: 0.125rem;
42
+ background-color: var(--elmethis-color-surface-raised);
43
+ }
44
+
45
+ &::after {
46
+ z-index: 1;
47
+ position: absolute;
48
+ content: "";
49
+ bottom: 0.5px;
50
+ left: 25%;
51
+ height: 1px;
52
+ width: 50%;
53
+ background-color: var(--elmethis-color-surface-raised);
54
+ opacity: 0.5;
55
+ }
56
+ }
57
+
58
+ .link {
59
+ all: unset;
60
+ color: var(--elmethis-color-accent-link);
61
+ box-sizing: border-box;
62
+ padding: 0 0.25rem;
63
+ font-size: var(--elmethis-scoped-font-size);
64
+ display: inline-flex;
65
+ align-items: center;
66
+ gap: 0.25rem;
67
+ cursor: pointer;
68
+ border-radius: 0.125rem;
69
+ transition:
70
+ background-color 200ms,
71
+ color 200ms,
72
+ opacity 200ms;
73
+
74
+ &:hover {
75
+ background-color: oklch(from #6987b8 l c h / 20%);
76
+ }
77
+
78
+ &:active {
79
+ opacity: 0.5;
80
+ }
81
+
82
+ &:visited {
83
+ color: var(--elmethis-color-accent-link-visited);
84
+ border-bottom: dashed 1px var(--elmethis-color-accent-link-visited);
85
+
86
+ &:hover {
87
+ background-color: oklch(
88
+ from var(--elmethis-color-accent-link-visited) l c h / 20%
89
+ );
90
+ }
91
+ }
92
+ }
93
+
94
+ .ogp {
95
+ display: flex;
96
+ flex-direction: column;
97
+ gap: 0.25rem;
98
+ overflow: hidden;
99
+ border-radius: 0.25rem;
100
+ box-shadow: 0 0 0.125rem var(--elmethis-box-shadow-color);
101
+ background-color: var(--elmethis-color-surface-raised);
102
+ }
103
+
104
+ .ogp-text {
105
+ box-sizing: border-box;
106
+ padding: 0.5rem;
107
+ }
108
+
109
+ .ogp-title {
110
+ box-sizing: border-box;
111
+ font-weight: bold;
112
+ padding-block-end: 0.25rem;
113
+ }
114
+
115
+ .ogp-description {
116
+ opacity: 0.7;
117
+ padding: 0.25rem;
118
+ }
@@ -0,0 +1,13 @@
1
+ import { mergeProps, splitProps } from "solid-js";
2
+ import { Dynamic } from "solid-js/web";
3
+ import { clsx } from "clsx";
4
+ import styles from "./elm-list.module.css";
5
+ import textStyles from "../../styles/text.module.css";
6
+ export const ElmList = (props) => {
7
+ const merged = mergeProps({ listStyle: "unordered" }, props);
8
+ const [local, rest] = splitProps(merged, ["class", "children", "listStyle"]);
9
+ return (<Dynamic component={local.listStyle === "ordered" ? "ol" : "ul"} {...rest} class={clsx(textStyles.text, styles["elm-list"], local.listStyle === "ordered" ? styles.numbered : styles.bulleted, local.class)}>
10
+ {local.children}
11
+ </Dynamic>);
12
+ };
13
+ //# sourceMappingURL=elm-list.jsx.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"elm-list.jsx","sourceRoot":"","sources":["../../../src/components/typography/elm-list.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,UAAU,EAAY,MAAM,UAAU,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAE5B,OAAO,MAAM,MAAM,uBAAuB,CAAC;AAC3C,OAAO,UAAU,MAAM,8BAA8B,CAAC;AAUtD,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,KAAmB,EAAE,EAAE;IAC7C,MAAM,MAAM,GAAG,UAAU,CAAC,EAAE,SAAS,EAAE,WAAoB,EAAE,EAAE,KAAK,CAAC,CAAC;IACtE,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE,UAAU,EAAE,WAAW,CAAC,CAAC,CAAC;IAE7E,OAAO,CACL,CAAC,OAAO,CACN,SAAS,CAAC,CAAC,KAAK,CAAC,SAAS,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CACvD,IAAI,IAAI,CAAC,CACT,KAAK,CAAC,CAAC,IAAI,CACT,UAAU,CAAC,IAAI,EACf,MAAM,CAAC,UAAU,CAAC,EAClB,KAAK,CAAC,SAAS,KAAK,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,QAAQ,EACjE,KAAK,CAAC,KAAK,CACZ,CAAC,CAEF;MAAA,CAAC,KAAK,CAAC,QAAQ,CACjB;IAAA,EAAE,OAAO,CAAC,CACX,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1,92 @@
1
+ .elm-list {
2
+ opacity: var(--elmethis-scoped-opacity);
3
+ transition: opacity 800ms;
4
+ box-sizing: border-box;
5
+ padding-left: 1.25rem;
6
+ }
7
+
8
+ .bulleted {
9
+ list-style: none;
10
+
11
+ li {
12
+ box-sizing: border-box;
13
+ padding-left: 0.5rem;
14
+ margin-block: 0.75rem;
15
+ position: relative;
16
+
17
+ &::before {
18
+ content: "";
19
+ position: absolute;
20
+ left: -1em;
21
+ top: 0.3em;
22
+ width: 0.75em;
23
+ height: 0.75em;
24
+ background-color: var(--elmethis-color-primary);
25
+ mask-image: url("./markers/list-bullet-level-1.svg");
26
+ mask-size: contain;
27
+ mask-repeat: no-repeat;
28
+ mask-position: center;
29
+ }
30
+
31
+ ul {
32
+ list-style: none;
33
+
34
+ li {
35
+ &::before {
36
+ mask-image: url("./markers/list-bullet-level-2.svg");
37
+ }
38
+
39
+ ul {
40
+ list-style: none;
41
+
42
+ li {
43
+ &::before {
44
+ mask-image: url("./markers/list-bullet-level-3.svg");
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+
52
+ ol li::before {
53
+ content: none;
54
+ }
55
+ }
56
+
57
+ .numbered {
58
+ li {
59
+ box-sizing: border-box;
60
+ padding-left: 0.25rem;
61
+ margin-block: 0.75rem;
62
+ margin-left: 0.25rem;
63
+ list-style-type: decimal;
64
+
65
+ &::marker {
66
+ font-weight: bold;
67
+ color: var(--elmethis-color-primary);
68
+ }
69
+
70
+ ol {
71
+ li {
72
+ list-style-type: lower-alpha;
73
+
74
+ ol {
75
+ li {
76
+ list-style-type: lower-roman;
77
+
78
+ ol {
79
+ li {
80
+ list-style-type: lower-greek;
81
+ }
82
+ }
83
+ }
84
+ }
85
+ }
86
+ }
87
+ }
88
+
89
+ ul li {
90
+ list-style-type: none;
91
+ }
92
+ }
@@ -0,0 +1,21 @@
1
+ import { splitProps } from "solid-js";
2
+ import { clsx } from "clsx";
3
+ import styles from "./elm-paragraph.module.css";
4
+ import textStyles from "../../styles/text.module.css";
5
+ import { mergeStyle } from "../../styles/merge-style";
6
+ export const ElmParagraph = (props) => {
7
+ const [local, rest] = splitProps(props, [
8
+ "class",
9
+ "style",
10
+ "children",
11
+ "color",
12
+ "backgroundColor",
13
+ ]);
14
+ return (<p {...rest} class={clsx(styles["elm-paragraph"], textStyles.text, local.class)} style={mergeStyle(local.style, {
15
+ "--elmethis-scoped-color": local.color,
16
+ "--elmethis-scoped-background-color": local.backgroundColor,
17
+ })}>
18
+ {local.children}
19
+ </p>);
20
+ };
21
+ //# sourceMappingURL=elm-paragraph.jsx.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"elm-paragraph.jsx","sourceRoot":"","sources":["../../../src/components/typography/elm-paragraph.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAY,MAAM,UAAU,CAAC;AAChD,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAE5B,OAAO,MAAM,MAAM,4BAA4B,CAAC;AAChD,OAAO,UAAU,MAAM,8BAA8B,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAOtD,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,KAAwB,EAAE,EAAE;IACvD,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,KAAK,EAAE;QACtC,OAAO;QACP,OAAO;QACP,UAAU;QACV,OAAO;QACP,iBAAiB;KAClB,CAAC,CAAC;IAEH,OAAO,CACL,CAAC,CAAC,CACA,IAAI,IAAI,CAAC,CACT,KAAK,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,eAAe,CAAC,EAAE,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC,CACnE,KAAK,CAAC,CAAC,UAAU,CAAC,KAAK,CAAC,KAAK,EAAE;YAC7B,yBAAyB,EAAE,KAAK,CAAC,KAAK;YACtC,oCAAoC,EAAE,KAAK,CAAC,eAAe;SAC5D,CAAC,CAAC,CAEH;MAAA,CAAC,KAAK,CAAC,QAAQ,CACjB;IAAA,EAAE,CAAC,CAAC,CACL,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1,15 @@
1
+ .elm-paragraph {
2
+ transition: opacity 800ms;
3
+ line-height: 1.75;
4
+ color: var(--elmethis-scoped-color, var(--elmethis-color-neutral));
5
+ background-color: var(--elmethis-scoped-background-color, inherit);
6
+ margin: 0;
7
+
8
+ &::selection {
9
+ color: var(--elmethis-color-surface-raised);
10
+ background-color: var(
11
+ --elmethis-scoped-color,
12
+ var(--elmethis-color-neutral)
13
+ );
14
+ }
15
+ }
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
2
+ <path fill="black" opacity="0.8" d="M3 3.732a1.5 1.5 0 0 1 2.305-1.265l6.706 4.267a1.5 1.5 0 0 1 0 2.531l-6.706 4.268A1.5 1.5 0 0 1 3 12.267V3.732Z"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" stroke="black" stroke-width="2" fill="none">
2
+ <path d="M5.25 5.653c0-.856.917-1.398 1.667-.986l11.54 6.347a1.125 1.125 0 0 1 0 1.972l-11.54 6.347a1.125 1.125 0 0 1-1.667-.986V5.653Z"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20">
2
+ <path fill="black" d="M8.22 5.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.75.75 0 0 1-1.06-1.06L11.94 10 8.22 6.28a.75.75 0 0 1 0-1.06Z"/>
3
+ </svg>
@@ -0,0 +1,67 @@
1
+ export { ElmBlockFallback, } from "./components/fallback/elm-block-fallback.jsx";
2
+ export { ElmRectangleWave, } from "./components/fallback/elm-rectangle-wave.jsx";
3
+ export { ElmUnsupportedBlock, } from "./components/fallback/elm-unsupported-block.jsx";
4
+ export { ElmButton, } from "./components/form/elm-button.jsx";
5
+ export { ElmCheckbox, } from "./components/form/elm-checkbox.jsx";
6
+ export { ElmSwitch, } from "./components/form/elm-switch.jsx";
7
+ export { ElmValidation, } from "./components/form/elm-validation.jsx";
8
+ export { ElmCopyIcon, } from "./components/icon/elm-copy-icon.jsx";
9
+ export { ElmDotLoadingIcon, } from "./components/icon/elm-dot-loading-icon.jsx";
10
+ export { ElmInlineIcon, } from "./components/icon/elm-inline-icon.jsx";
11
+ export { ElmLanguageIcon, } from "./components/icon/elm-language-icon.jsx";
12
+ export { ElmMdiIcon, } from "./components/icon/elm-mdi-icon.jsx";
13
+ export { ElmSquareLoadingIcon, } from "./components/icon/elm-square-loading-icon.jsx";
14
+ export { ElmToggleTheme, } from "./components/icon/elm-toggle-theme.jsx";
15
+ export { ElmFile } from "./components/media/elm-file.jsx";
16
+ export { ElmBookmark, } from "./components/navigation/elm-bookmark.jsx";
17
+ export { ElmBreadcrumb, } from "./components/navigation/elm-breadcrumb.jsx";
18
+ export { ElmPageTop, } from "./components/navigation/elm-page-top.jsx";
19
+ export { ElmNotionCallout, } from "./components/notion/elm-notion-callout.jsx";
20
+ export { ElmColorPrimitiveSample, } from "./components/others/elm-color-primitive-sample.jsx";
21
+ export { ElmColorSemanticSample, } from "./components/others/elm-color-semantic-sample.jsx";
22
+ export { ElmBlockQuote, } from "./components/typography/elm-block-quote.jsx";
23
+ export { ElmCallout, } from "./components/typography/elm-callout.jsx";
24
+ export { ElmDivider, } from "./components/typography/elm-divider.jsx";
25
+ export { ElmFragmentIdentifier, } from "./components/typography/elm-fragment-identifier.jsx";
26
+ export { ElmHeading, } from "./components/typography/elm-heading.jsx";
27
+ export { ElmInlineText, } from "./components/typography/elm-inline-text.jsx";
28
+ export { ElmList, } from "./components/typography/elm-list.jsx";
29
+ export { ElmParagraph, } from "./components/typography/elm-paragraph.jsx";
30
+ export { createAsyncState, } from "./primitives/create-async-state.js";
31
+ export { createAutoAnimate, } from "./primitives/create-auto-animate.js";
32
+ export { createClipboard, } from "./primitives/create-clipboard.js";
33
+ export { createControllableSignal, } from "./primitives/create-controllable-signal.js";
34
+ export { createDebounced, } from "./primitives/create-debounced.js";
35
+ export { createDelayedSignal, } from "./primitives/create-delayed-signal.js";
36
+ export { createElmethisTheme, THEME_CHANGE_EVENT, } from "./primitives/create-elmethis-theme.js";
37
+ export { createLocalStorage, createSessionStorage, } from "./primitives/create-storage.js";
38
+ export { createThrottled, } from "./primitives/create-throttled.js";
39
+ export { createThrottledQueue, ThrottledQueue, } from "./primitives/create-throttled-queue.js";
40
+ export { ElmKatex } from "./components/code/elm-katex.jsx";
41
+ export { ElmCollapse, } from "./components/containments/elm-collapse.jsx";
42
+ export { ElmParallax, } from "./components/containments/elm-parallax.jsx";
43
+ export { ElmModal, } from "./components/containments/elm-modal.jsx";
44
+ export { ElmTab, ElmTabList, ElmTabPanel, ElmTabs, } from "./components/containments/elm-tabs.jsx";
45
+ export { ElmToggle, } from "./components/containments/elm-toggle.jsx";
46
+ export { ElmTooltip, } from "./components/containments/elm-tooltip.jsx";
47
+ export { ElmButtonDropdown, } from "./components/form/elm-button-dropdown.jsx";
48
+ export { ElmSelect, } from "./components/form/elm-select.jsx";
49
+ export { ElmBlockImage, } from "./components/media/elm-block-image.jsx";
50
+ export * from "./components/table/index.js";
51
+ export { createModal, } from "./primitives/create-modal.jsx";
52
+ export { ElmCodeBlock, } from "./components/code/elm-code-block.jsx";
53
+ export { ElmShikiHighlighter, } from "./components/code/elm-shiki-highlighter.jsx";
54
+ export { ElmMarkdown, } from "./components/others/elm-markdown.jsx";
55
+ export { ElmHtml } from "./components/code/elm-html.jsx";
56
+ export { ElmHtmlViewer, } from "./components/code/elm-html-viewer.jsx";
57
+ export { ElmSlider, } from "./components/form/elm-slider.jsx";
58
+ export { ElmTextArea, } from "./components/form/elm-text-area.jsx";
59
+ export { ElmTextField, } from "./components/form/elm-text-field.jsx";
60
+ export { ElmAudioPlayer, } from "./components/media/elm-audio-player.jsx";
61
+ export { useWordle, } from "./components/others/use-wordle.jsx";
62
+ export { A2uiSurface, ElmA2ui, } from "./components/a2ui/elm-a2ui.jsx";
63
+ export { A2uiCatalogContext, A2uiSurfaceContext, ComponentHost, ROOT_COMPONENT_ID, } from "./components/a2ui/component-host.jsx";
64
+ export { CatalogRenderer, defineRenderer, } 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.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"exports.js","sourceRoot":"","sources":["../src/exports.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,g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