@elmethis/core 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 (339) hide show
  1. package/dist/_virtual/_plugin-vue_export-helper.mjs +10 -0
  2. package/dist/components/code/ElmCodeBlock.stories.d.ts +9 -0
  3. package/dist/components/code/ElmCodeBlock.vue.d.ts +48 -0
  4. package/dist/components/code/ElmCodeBlock.vue.mjs +23 -0
  5. package/dist/components/code/ElmCodeBlock.vue2.mjs +134 -0
  6. package/dist/components/code/ElmCodeBlock.vue3.mjs +40 -0
  7. package/dist/components/code/ElmKatex.stories.d.ts +8 -0
  8. package/dist/components/code/ElmKatex.vue.d.ts +20 -0
  9. package/dist/components/code/ElmKatex.vue.mjs +10 -0
  10. package/dist/components/code/ElmKatex.vue2.mjs +67 -0
  11. package/dist/components/code/ElmKatex.vue3.mjs +20 -0
  12. package/dist/components/code/ElmShikiHighlighter.stories.d.ts +6 -0
  13. package/dist/components/code/ElmShikiHighlighter.vue.d.ts +22 -0
  14. package/dist/components/code/ElmShikiHighlighter.vue.mjs +23 -0
  15. package/dist/components/code/ElmShikiHighlighter.vue2.mjs +55 -0
  16. package/dist/components/code/ElmShikiHighlighter.vue3.mjs +20 -0
  17. package/dist/components/code/shikiInstance.d.ts +2 -0
  18. package/dist/components/code/shikiInstance.mjs +76 -0
  19. package/dist/components/containments/ElmColumn.stories.d.ts +6 -0
  20. package/dist/components/containments/ElmColumn.vue.d.ts +19 -0
  21. package/dist/components/containments/ElmColumn.vue.mjs +10 -0
  22. package/dist/components/containments/ElmColumn.vue2.mjs +16 -0
  23. package/dist/components/containments/ElmColumn.vue3.mjs +20 -0
  24. package/dist/components/containments/ElmColumnList.vue.d.ts +19 -0
  25. package/dist/components/containments/ElmColumnList.vue.mjs +10 -0
  26. package/dist/components/containments/ElmColumnList.vue2.mjs +16 -0
  27. package/dist/components/containments/ElmColumnList.vue3.mjs +18 -0
  28. package/dist/components/containments/ElmDesktopWindow.stories.d.ts +6 -0
  29. package/dist/components/containments/ElmDesktopWindow.vue.d.ts +27 -0
  30. package/dist/components/containments/ElmDesktopWindow.vue.mjs +10 -0
  31. package/dist/components/containments/ElmDesktopWindow.vue2.mjs +42 -0
  32. package/dist/components/containments/ElmDesktopWindow.vue3.mjs +26 -0
  33. package/dist/components/containments/ElmModal.stories.d.ts +6 -0
  34. package/dist/components/containments/ElmModal.vue.d.ts +35 -0
  35. package/dist/components/containments/ElmModal.vue.mjs +23 -0
  36. package/dist/components/containments/ElmModal.vue2.mjs +44 -0
  37. package/dist/components/containments/ElmModal.vue3.mjs +23 -0
  38. package/dist/components/containments/ElmParallax.stories.d.ts +6 -0
  39. package/dist/components/containments/ElmParallax.vue.d.ts +6 -0
  40. package/dist/components/containments/ElmParallax.vue.mjs +10 -0
  41. package/dist/components/containments/ElmParallax.vue2.mjs +35 -0
  42. package/dist/components/containments/ElmParallax.vue3.mjs +20 -0
  43. package/dist/components/containments/ElmSnackbar.stories.d.ts +6 -0
  44. package/dist/components/containments/ElmSnackbar.vue.d.ts +11 -0
  45. package/dist/components/containments/ElmSnackbar.vue.mjs +10 -0
  46. package/dist/components/containments/ElmSnackbar.vue2.mjs +41 -0
  47. package/dist/components/containments/ElmSnackbar.vue3.mjs +26 -0
  48. package/dist/components/containments/ElmSnackbarContainer.vue.d.ts +10 -0
  49. package/dist/components/containments/ElmSnackbarContainer.vue.mjs +23 -0
  50. package/dist/components/containments/ElmSnackbarContainer.vue2.mjs +33 -0
  51. package/dist/components/containments/ElmSnackbarContainer.vue3.mjs +19 -0
  52. package/dist/components/containments/ElmToggle.stories.d.ts +7 -0
  53. package/dist/components/containments/ElmToggle.vue.d.ts +41 -0
  54. package/dist/components/containments/ElmToggle.vue.mjs +23 -0
  55. package/dist/components/containments/ElmToggle.vue2.mjs +99 -0
  56. package/dist/components/containments/ElmToggle.vue3.mjs +34 -0
  57. package/dist/components/containments/ElmTooltip.stories.d.ts +6 -0
  58. package/dist/components/containments/ElmTooltip.vue.d.ts +24 -0
  59. package/dist/components/containments/ElmTooltip.vue.mjs +23 -0
  60. package/dist/components/containments/ElmTooltip.vue2.mjs +49 -0
  61. package/dist/components/containments/ElmTooltip.vue3.mjs +20 -0
  62. package/dist/components/containments/useSnackbarState.d.ts +28 -0
  63. package/dist/components/data/ElmMultiProgress.stories.d.ts +6 -0
  64. package/dist/components/data/ElmMultiProgress.vue.d.ts +30 -0
  65. package/dist/components/data/ElmMultiProgress.vue.mjs +10 -0
  66. package/dist/components/data/ElmMultiProgress.vue2.mjs +45 -0
  67. package/dist/components/data/ElmMultiProgress.vue3.mjs +23 -0
  68. package/dist/components/data/ElmProgress.stories.d.ts +10 -0
  69. package/dist/components/data/ElmProgress.vue.d.ts +38 -0
  70. package/dist/components/data/ElmProgress.vue.mjs +10 -0
  71. package/dist/components/data/ElmProgress.vue2.mjs +53 -0
  72. package/dist/components/data/ElmProgress.vue3.mjs +32 -0
  73. package/dist/components/data/ElmStatusMessage.stories.d.ts +9 -0
  74. package/dist/components/data/ElmStatusMessage.vue.d.ts +6 -0
  75. package/dist/components/data/ElmStatusMessage.vue.mjs +23 -0
  76. package/dist/components/data/ElmStatusMessage.vue2.mjs +76 -0
  77. package/dist/components/data/ElmStatusMessage.vue3.mjs +20 -0
  78. package/dist/components/fallback/ElmBlockFallback.stories.d.ts +6 -0
  79. package/dist/components/fallback/ElmBlockFallback.vue.d.ts +4 -0
  80. package/dist/components/fallback/ElmBlockFallback.vue.mjs +10 -0
  81. package/dist/components/fallback/ElmBlockFallback.vue2.mjs +17 -0
  82. package/dist/components/fallback/ElmBlockFallback.vue3.mjs +18 -0
  83. package/dist/components/fallback/ElmRectangleWave.stories.d.ts +6 -0
  84. package/dist/components/fallback/ElmRectangleWave.vue.d.ts +4 -0
  85. package/dist/components/fallback/ElmRectangleWave.vue.mjs +10 -0
  86. package/dist/components/fallback/ElmRectangleWave.vue2.mjs +15 -0
  87. package/dist/components/fallback/ElmRectangleWave.vue3.mjs +21 -0
  88. package/dist/components/fallback/ElmSpinner.stories.d.ts +6 -0
  89. package/dist/components/fallback/ElmSpinner.vue.d.ts +9 -0
  90. package/dist/components/fallback/ElmSpinner.vue.mjs +10 -0
  91. package/dist/components/fallback/ElmSpinner.vue2.mjs +30 -0
  92. package/dist/components/fallback/ElmSpinner.vue3.mjs +24 -0
  93. package/dist/components/fallback/ElmUnsupportedBlock.stories.d.ts +6 -0
  94. package/dist/components/fallback/ElmUnsupportedBlock.vue.d.ts +5 -0
  95. package/dist/components/fallback/ElmUnsupportedBlock.vue.mjs +10 -0
  96. package/dist/components/fallback/ElmUnsupportedBlock.vue2.mjs +46 -0
  97. package/dist/components/fallback/ElmUnsupportedBlock.vue3.mjs +29 -0
  98. package/dist/components/form/ElmButton.stories.d.ts +11 -0
  99. package/dist/components/form/ElmButton.vue.d.ts +41 -0
  100. package/dist/components/form/ElmButton.vue.mjs +23 -0
  101. package/dist/components/form/ElmButton.vue2.mjs +68 -0
  102. package/dist/components/form/ElmButton.vue3.mjs +36 -0
  103. package/dist/components/form/ElmCheckbox.stories.d.ts +6 -0
  104. package/dist/components/form/ElmCheckbox.vue.d.ts +26 -0
  105. package/dist/components/form/ElmCheckbox.vue.mjs +10 -0
  106. package/dist/components/form/ElmCheckbox.vue2.mjs +177 -0
  107. package/dist/components/form/ElmCheckbox.vue3.mjs +34 -0
  108. package/dist/components/form/ElmSwitch.stories.d.ts +6 -0
  109. package/dist/components/form/ElmSwitch.vue.d.ts +32 -0
  110. package/dist/components/form/ElmSwitch.vue.mjs +10 -0
  111. package/dist/components/form/ElmSwitch.vue2.mjs +61 -0
  112. package/dist/components/form/ElmSwitch.vue3.mjs +28 -0
  113. package/dist/components/form/ElmTextField.stories.d.ts +6 -0
  114. package/dist/components/form/ElmTextField.vue.d.ts +29 -0
  115. package/dist/components/form/ElmTextField.vue.mjs +10 -0
  116. package/dist/components/form/ElmTextField.vue2.mjs +143 -0
  117. package/dist/components/form/ElmTextField.vue3.mjs +46 -0
  118. package/dist/components/icon/ElmArrowIcon.stories.d.ts +6 -0
  119. package/dist/components/icon/ElmArrowIcon.vue.d.ts +26 -0
  120. package/dist/components/icon/ElmArrowIcon.vue.mjs +10 -0
  121. package/dist/components/icon/ElmArrowIcon.vue2.mjs +31 -0
  122. package/dist/components/icon/ElmArrowIcon.vue3.mjs +29 -0
  123. package/dist/components/icon/ElmBookmarkIcon.stories.d.ts +8 -0
  124. package/dist/components/icon/ElmBookmarkIcon.vue.d.ts +7 -0
  125. package/dist/components/icon/ElmBookmarkIcon.vue.mjs +10 -0
  126. package/dist/components/icon/ElmBookmarkIcon.vue2.mjs +47 -0
  127. package/dist/components/icon/ElmBookmarkIcon.vue3.mjs +26 -0
  128. package/dist/components/icon/ElmCubeIcon.stories.d.ts +6 -0
  129. package/dist/components/icon/ElmCubeIcon.vue.d.ts +10 -0
  130. package/dist/components/icon/ElmCubeIcon.vue.mjs +10 -0
  131. package/dist/components/icon/ElmCubeIcon.vue2.mjs +41 -0
  132. package/dist/components/icon/ElmCubeIcon.vue3.mjs +24 -0
  133. package/dist/components/icon/ElmDotLoadingIcon.stories.d.ts +6 -0
  134. package/dist/components/icon/ElmDotLoadingIcon.vue.d.ts +18 -0
  135. package/dist/components/icon/ElmDotLoadingIcon.vue.mjs +10 -0
  136. package/dist/components/icon/ElmDotLoadingIcon.vue2.mjs +28 -0
  137. package/dist/components/icon/ElmDotLoadingIcon.vue3.mjs +26 -0
  138. package/dist/components/icon/ElmInlineIcon.stories.d.ts +6 -0
  139. package/dist/components/icon/ElmInlineIcon.vue.d.ts +12 -0
  140. package/dist/components/icon/ElmInlineIcon.vue.mjs +10 -0
  141. package/dist/components/icon/ElmInlineIcon.vue2.mjs +27 -0
  142. package/dist/components/icon/ElmInlineIcon.vue3.mjs +20 -0
  143. package/dist/components/icon/ElmLanguageIcon.stories.d.ts +6 -0
  144. package/dist/components/icon/ElmLanguageIcon.vue.d.ts +14 -0
  145. package/dist/components/icon/ElmLanguageIcon.vue.mjs +23 -0
  146. package/dist/components/icon/ElmLanguageIcon.vue2.mjs +202 -0
  147. package/dist/components/icon/ElmLanguageIcon.vue3.mjs +20 -0
  148. package/dist/components/icon/ElmLoginIcon.stories.d.ts +6 -0
  149. package/dist/components/icon/ElmLoginIcon.vue.d.ts +18 -0
  150. package/dist/components/icon/ElmLoginIcon.vue.mjs +10 -0
  151. package/dist/components/icon/ElmLoginIcon.vue2.mjs +36 -0
  152. package/dist/components/icon/ElmLoginIcon.vue3.mjs +20 -0
  153. package/dist/components/icon/ElmMdiIcon.stories.d.ts +6 -0
  154. package/dist/components/icon/ElmMdiIcon.vue.d.ts +11 -0
  155. package/dist/components/icon/ElmMdiIcon.vue.mjs +10 -0
  156. package/dist/components/icon/ElmMdiIcon.vue2.mjs +34 -0
  157. package/dist/components/icon/ElmMdiIcon.vue3.mjs +20 -0
  158. package/dist/components/icon/ElmToggleTheme.stories.d.ts +6 -0
  159. package/dist/components/icon/ElmToggleTheme.vue.d.ts +11 -0
  160. package/dist/components/icon/ElmToggleTheme.vue.mjs +10 -0
  161. package/dist/components/icon/ElmToggleTheme.vue2.mjs +41 -0
  162. package/dist/components/icon/ElmToggleTheme.vue3.mjs +20 -0
  163. package/dist/components/icon/languages/Bash.vue.d.ts +7 -0
  164. package/dist/components/icon/languages/Bash.vue.mjs +10 -0
  165. package/dist/components/icon/languages/Bash.vue2.mjs +34 -0
  166. package/dist/components/icon/languages/Bash.vue3.mjs +20 -0
  167. package/dist/components/icon/languages/C.vue.d.ts +7 -0
  168. package/dist/components/icon/languages/C.vue.mjs +4 -0
  169. package/dist/components/icon/languages/C.vue2.mjs +34 -0
  170. package/dist/components/icon/languages/Cplusplus.vue.d.ts +7 -0
  171. package/dist/components/icon/languages/Cplusplus.vue.mjs +4 -0
  172. package/dist/components/icon/languages/Cplusplus.vue2.mjs +38 -0
  173. package/dist/components/icon/languages/Csharp.vue.d.ts +7 -0
  174. package/dist/components/icon/languages/Csharp.vue.mjs +4 -0
  175. package/dist/components/icon/languages/Csharp.vue2.mjs +34 -0
  176. package/dist/components/icon/languages/Css.vue.d.ts +7 -0
  177. package/dist/components/icon/languages/Css.vue.mjs +4 -0
  178. package/dist/components/icon/languages/Css.vue2.mjs +26 -0
  179. package/dist/components/icon/languages/Go.vue.d.ts +7 -0
  180. package/dist/components/icon/languages/Go.vue.mjs +4 -0
  181. package/dist/components/icon/languages/Go.vue2.mjs +32 -0
  182. package/dist/components/icon/languages/Html.vue.d.ts +7 -0
  183. package/dist/components/icon/languages/Html.vue.mjs +4 -0
  184. package/dist/components/icon/languages/Html.vue2.mjs +38 -0
  185. package/dist/components/icon/languages/Java.vue.d.ts +7 -0
  186. package/dist/components/icon/languages/Java.vue.mjs +4 -0
  187. package/dist/components/icon/languages/Java.vue2.mjs +23 -0
  188. package/dist/components/icon/languages/Javascript.vue.d.ts +7 -0
  189. package/dist/components/icon/languages/Javascript.vue.mjs +4 -0
  190. package/dist/components/icon/languages/Javascript.vue2.mjs +30 -0
  191. package/dist/components/icon/languages/Json.vue.d.ts +7 -0
  192. package/dist/components/icon/languages/Json.vue.mjs +4 -0
  193. package/dist/components/icon/languages/Json.vue2.mjs +23 -0
  194. package/dist/components/icon/languages/Kotlin.vue.d.ts +7 -0
  195. package/dist/components/icon/languages/Kotlin.vue.mjs +4 -0
  196. package/dist/components/icon/languages/Kotlin.vue2.mjs +23 -0
  197. package/dist/components/icon/languages/Lua.vue.d.ts +7 -0
  198. package/dist/components/icon/languages/Lua.vue.mjs +4 -0
  199. package/dist/components/icon/languages/Lua.vue2.mjs +34 -0
  200. package/dist/components/icon/languages/Npm.vue.d.ts +7 -0
  201. package/dist/components/icon/languages/Npm.vue.mjs +4 -0
  202. package/dist/components/icon/languages/Npm.vue2.mjs +30 -0
  203. package/dist/components/icon/languages/Python.vue.d.ts +7 -0
  204. package/dist/components/icon/languages/Python.vue.mjs +4 -0
  205. package/dist/components/icon/languages/Python.vue2.mjs +23 -0
  206. package/dist/components/icon/languages/Rust.vue.d.ts +7 -0
  207. package/dist/components/icon/languages/Rust.vue.mjs +4 -0
  208. package/dist/components/icon/languages/Rust.vue2.mjs +24 -0
  209. package/dist/components/icon/languages/Sql.vue.d.ts +7 -0
  210. package/dist/components/icon/languages/Sql.vue.mjs +4 -0
  211. package/dist/components/icon/languages/Sql.vue2.mjs +26 -0
  212. package/dist/components/icon/languages/Terraform.vue.d.ts +7 -0
  213. package/dist/components/icon/languages/Terraform.vue.mjs +4 -0
  214. package/dist/components/icon/languages/Terraform.vue2.mjs +36 -0
  215. package/dist/components/icon/languages/Typescript.vue.d.ts +7 -0
  216. package/dist/components/icon/languages/Typescript.vue.mjs +4 -0
  217. package/dist/components/icon/languages/Typescript.vue2.mjs +30 -0
  218. package/dist/components/media/ElmBlockImage.stories.d.ts +9 -0
  219. package/dist/components/media/ElmBlockImage.vue.d.ts +12 -0
  220. package/dist/components/media/ElmBlockImage.vue.mjs +23 -0
  221. package/dist/components/media/ElmBlockImage.vue2.mjs +117 -0
  222. package/dist/components/media/ElmBlockImage.vue3.mjs +36 -0
  223. package/dist/components/media/ElmFile.stories.d.ts +6 -0
  224. package/dist/components/media/ElmFile.vue.d.ts +21 -0
  225. package/dist/components/media/ElmFile.vue.mjs +10 -0
  226. package/dist/components/media/ElmFile.vue2.mjs +79 -0
  227. package/dist/components/media/ElmFile.vue3.mjs +23 -0
  228. package/dist/components/media/ElmImage.stories.d.ts +9 -0
  229. package/dist/components/media/ElmImage.vue.d.ts +23 -0
  230. package/dist/components/media/ElmImage.vue.mjs +23 -0
  231. package/dist/components/media/ElmImage.vue2.mjs +91 -0
  232. package/dist/components/media/ElmImage.vue3.mjs +30 -0
  233. package/dist/components/navigation/ElmBookmark.stories.d.ts +12 -0
  234. package/dist/components/navigation/ElmBookmark.vue.d.ts +53 -0
  235. package/dist/components/navigation/ElmBookmark.vue.mjs +10 -0
  236. package/dist/components/navigation/ElmBookmark.vue2.mjs +116 -0
  237. package/dist/components/navigation/ElmBookmark.vue3.mjs +41 -0
  238. package/dist/components/navigation/ElmBreadcrumb.stories.d.ts +7 -0
  239. package/dist/components/navigation/ElmBreadcrumb.vue.d.ts +19 -0
  240. package/dist/components/navigation/ElmBreadcrumb.vue.mjs +10 -0
  241. package/dist/components/navigation/ElmBreadcrumb.vue2.mjs +65 -0
  242. package/dist/components/navigation/ElmBreadcrumb.vue3.mjs +24 -0
  243. package/dist/components/navigation/ElmPagetop.stories.d.ts +6 -0
  244. package/dist/components/navigation/ElmPagetop.vue.d.ts +10 -0
  245. package/dist/components/navigation/ElmPagetop.vue.mjs +10 -0
  246. package/dist/components/navigation/ElmPagetop.vue2.mjs +51 -0
  247. package/dist/components/navigation/ElmPagetop.vue3.mjs +30 -0
  248. package/dist/components/navigation/ElmTableOfContents.stories.d.ts +7 -0
  249. package/dist/components/navigation/ElmTableOfContents.vue.d.ts +9 -0
  250. package/dist/components/navigation/ElmTableOfContents.vue.mjs +10 -0
  251. package/dist/components/navigation/ElmTableOfContents.vue2.mjs +45 -0
  252. package/dist/components/navigation/ElmTableOfContents.vue3.mjs +23 -0
  253. package/dist/components/others/ElmColorSample.stories.d.ts +6 -0
  254. package/dist/components/others/ElmColorSample.vue.d.ts +8 -0
  255. package/dist/components/others/ElmColorSample.vue.mjs +23 -0
  256. package/dist/components/others/ElmColorSample.vue2.mjs +72 -0
  257. package/dist/components/others/ElmColorSample.vue3.mjs +21 -0
  258. package/dist/components/others/ElmColorTable.stories.d.ts +6 -0
  259. package/dist/components/others/ElmColorTable.vue.d.ts +11 -0
  260. package/dist/components/others/ElmColorTable.vue.mjs +10 -0
  261. package/dist/components/others/ElmColorTable.vue2.mjs +45 -0
  262. package/dist/components/others/ElmColorTable.vue3.mjs +22 -0
  263. package/dist/components/others/ElmJsonComponentRenderer.stories.d.ts +23 -0
  264. package/dist/components/others/ElmJsonComponentRenderer.vue.d.ts +6 -0
  265. package/dist/components/others/ElmJsonComponentRenderer.vue.mjs +10 -0
  266. package/dist/components/others/ElmJsonComponentRenderer.vue2.mjs +240 -0
  267. package/dist/components/others/ElmJsonComponentRenderer.vue3.mjs +21 -0
  268. package/dist/components/others/ElmTyping.stories.d.ts +6 -0
  269. package/dist/components/others/ElmTyping.vue.d.ts +4 -0
  270. package/dist/components/table/ElmTable.stories.d.ts +6 -0
  271. package/dist/components/table/ElmTable.vue.d.ts +46 -0
  272. package/dist/components/table/ElmTable.vue.mjs +10 -0
  273. package/dist/components/table/ElmTable.vue2.mjs +61 -0
  274. package/dist/components/table/ElmTable.vue3.mjs +27 -0
  275. package/dist/components/table/ElmTableBody.vue.d.ts +22 -0
  276. package/dist/components/table/ElmTableBody.vue.mjs +15 -0
  277. package/dist/components/table/ElmTableBody.vue2.mjs +4 -0
  278. package/dist/components/table/ElmTableCell.vue.d.ts +33 -0
  279. package/dist/components/table/ElmTableCell.vue.mjs +10 -0
  280. package/dist/components/table/ElmTableCell.vue2.mjs +28 -0
  281. package/dist/components/table/ElmTableCell.vue3.mjs +26 -0
  282. package/dist/components/table/ElmTableHeader.vue.d.ts +22 -0
  283. package/dist/components/table/ElmTableHeader.vue.mjs +10 -0
  284. package/dist/components/table/ElmTableHeader.vue2.mjs +17 -0
  285. package/dist/components/table/ElmTableHeader.vue3.mjs +20 -0
  286. package/dist/components/table/ElmTableRow.vue.d.ts +22 -0
  287. package/dist/components/table/ElmTableRow.vue.mjs +10 -0
  288. package/dist/components/table/ElmTableRow.vue2.mjs +20 -0
  289. package/dist/components/table/ElmTableRow.vue3.mjs +21 -0
  290. package/dist/components/template/ElmTemplate.stories.d.ts +6 -0
  291. package/dist/components/template/ElmTemplate.vue.d.ts +4 -0
  292. package/dist/components/typography/ElmBlockQuote.stories.d.ts +6 -0
  293. package/dist/components/typography/ElmBlockQuote.vue.d.ts +24 -0
  294. package/dist/components/typography/ElmBlockQuote.vue.mjs +10 -0
  295. package/dist/components/typography/ElmBlockQuote.vue2.mjs +64 -0
  296. package/dist/components/typography/ElmBlockQuote.vue3.mjs +26 -0
  297. package/dist/components/typography/ElmCallout.stories.d.ts +10 -0
  298. package/dist/components/typography/ElmCallout.vue.d.ts +30 -0
  299. package/dist/components/typography/ElmCallout.vue.mjs +10 -0
  300. package/dist/components/typography/ElmCallout.vue2.mjs +58 -0
  301. package/dist/components/typography/ElmCallout.vue3.mjs +23 -0
  302. package/dist/components/typography/ElmDivider.stories.d.ts +6 -0
  303. package/dist/components/typography/ElmDivider.vue.d.ts +11 -0
  304. package/dist/components/typography/ElmDivider.vue.mjs +10 -0
  305. package/dist/components/typography/ElmDivider.vue2.mjs +29 -0
  306. package/dist/components/typography/ElmDivider.vue3.mjs +20 -0
  307. package/dist/components/typography/ElmFragmentIdentifier.stories.d.ts +6 -0
  308. package/dist/components/typography/ElmFragmentIdentifier.vue.d.ts +8 -0
  309. package/dist/components/typography/ElmFragmentIdentifier.vue.mjs +10 -0
  310. package/dist/components/typography/ElmFragmentIdentifier.vue2.mjs +62 -0
  311. package/dist/components/typography/ElmFragmentIdentifier.vue3.mjs +23 -0
  312. package/dist/components/typography/ElmHeading.stories.d.ts +7 -0
  313. package/dist/components/typography/ElmHeading.vue.d.ts +49 -0
  314. package/dist/components/typography/ElmHeading.vue.mjs +10 -0
  315. package/dist/components/typography/ElmHeading.vue2.mjs +72 -0
  316. package/dist/components/typography/ElmHeading.vue3.mjs +39 -0
  317. package/dist/components/typography/ElmInlineText.stories.d.ts +10 -0
  318. package/dist/components/typography/ElmInlineText.vue.d.ts +61 -0
  319. package/dist/components/typography/ElmInlineText.vue.mjs +10 -0
  320. package/dist/components/typography/ElmInlineText.vue2.mjs +98 -0
  321. package/dist/components/typography/ElmInlineText.vue3.mjs +26 -0
  322. package/dist/components/typography/ElmList.stories.d.ts +8 -0
  323. package/dist/components/typography/ElmList.vue.d.ts +31 -0
  324. package/dist/components/typography/ElmList.vue.mjs +36 -0
  325. package/dist/components/typography/ElmList.vue3.mjs +17 -0
  326. package/dist/components/typography/ElmParagraph.stories.d.ts +6 -0
  327. package/dist/components/typography/ElmParagraph.vue.d.ts +23 -0
  328. package/dist/components/typography/ElmParagraph.vue.mjs +10 -0
  329. package/dist/components/typography/ElmParagraph.vue2.mjs +27 -0
  330. package/dist/components/typography/ElmParagraph.vue3.mjs +20 -0
  331. package/dist/components/typography/ElmTypingAnimation.stories.d.ts +6 -0
  332. package/dist/components/typography/ElmTypingAnimation.vue.d.ts +21 -0
  333. package/dist/hooks/useElmethisTheme.d.ts +4 -0
  334. package/dist/hooks/useElmethisTheme.mjs +43 -0
  335. package/dist/hooks/useTyping.d.ts +17 -0
  336. package/dist/hooks/useTyping.mjs +37 -0
  337. package/dist/index.d.ts +108 -0
  338. package/dist/index.mjs +124 -0
  339. package/package.json +60 -0
@@ -0,0 +1,12 @@
1
+ import { Meta, StoryObj } from '@storybook/vue3';
2
+ import { default as ElmBookmark } from './ElmBookmark.vue';
3
+ declare const meta: Meta<typeof ElmBookmark>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
7
+ export declare const WithoutDate: Story;
8
+ export declare const Card: Story;
9
+ export declare const Square: Story;
10
+ export declare const SquareCard: Story;
11
+ export declare const InvalidImage: Story;
12
+ export declare const NoImage: Story;
@@ -0,0 +1,53 @@
1
+ import { Property } from 'csstype';
2
+ export interface ElmBookmarkProps {
3
+ /**
4
+ * Whether to hide the URL.
5
+ */
6
+ hideUrl?: boolean;
7
+ /**
8
+ * Whether to open the link in a new tab.
9
+ * Defaults to `true`.
10
+ */
11
+ openInNewTab?: boolean;
12
+ /**
13
+ * The title of the bookmark.
14
+ */
15
+ title?: string;
16
+ /**
17
+ * The description of the bookmark.
18
+ */
19
+ description?: string;
20
+ /**
21
+ * The image to display.
22
+ * This can be a URL or a base64-encoded image.
23
+ */
24
+ image?: string;
25
+ /**
26
+ * The URL to navigate to.
27
+ */
28
+ url?: string;
29
+ /**
30
+ * The date the bookmark was created.
31
+ */
32
+ createdAt?: string;
33
+ updatedAt?: string;
34
+ /**
35
+ * The function to call when the link is clicked.
36
+ * If provided, the default behavior (navigating to the URL) is prevented.
37
+ */
38
+ onClick?: () => void;
39
+ /**
40
+ * The margin of the bookmark.
41
+ */
42
+ margin?: Property.MarginBlock;
43
+ /**
44
+ * The URL of the favicon.
45
+ */
46
+ favicon?: string;
47
+ }
48
+ declare const _default: import('vue').DefineComponent<ElmBookmarkProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmBookmarkProps> & Readonly<{}>, {
49
+ hideUrl: boolean;
50
+ openInNewTab: boolean;
51
+ description: string;
52
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
53
+ export default _default;
@@ -0,0 +1,10 @@
1
+ import _sfc_main from "./ElmBookmark.vue2.mjs";
2
+ import style0 from "./ElmBookmark.vue3.mjs";
3
+ import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
4
+ const cssModules = {
5
+ "$style": style0
6
+ };
7
+ const ElmBookmark = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
8
+ export {
9
+ ElmBookmark as default
10
+ };
@@ -0,0 +1,116 @@
1
+ import { defineComponent, createElementBlock, openBlock, normalizeStyle, normalizeClass, createElementVNode, createCommentVNode, createVNode, Fragment, unref } from "vue";
2
+ import ElmInlineText from "../typography/ElmInlineText.vue.mjs";
3
+ import ElmImage from "../media/ElmImage.vue.mjs";
4
+ import ElmMdiIcon from "../icon/ElmMdiIcon.vue.mjs";
5
+ import { mdiCalendarMonth, mdiCalendarRefresh } from "@mdi/js";
6
+ const _hoisted_1 = ["href", "target"];
7
+ const _hoisted_2 = ["src"];
8
+ const _sfc_main = /* @__PURE__ */ defineComponent({
9
+ __name: "ElmBookmark",
10
+ props: {
11
+ hideUrl: { type: Boolean, default: false },
12
+ openInNewTab: { type: Boolean, default: true },
13
+ title: {},
14
+ description: { default: "No description provided" },
15
+ image: {},
16
+ url: {},
17
+ createdAt: {},
18
+ updatedAt: {},
19
+ onClick: {},
20
+ margin: {},
21
+ favicon: {}
22
+ },
23
+ setup(__props) {
24
+ const props = __props;
25
+ function handleClick(event) {
26
+ if (props.onClick) {
27
+ event.preventDefault();
28
+ props.onClick();
29
+ }
30
+ }
31
+ return (_ctx, _cache) => {
32
+ return openBlock(), createElementBlock("div", {
33
+ class: normalizeClass(_ctx.$style.parent),
34
+ style: normalizeStyle({ "--margin-block": _ctx.margin })
35
+ }, [
36
+ createElementVNode("a", {
37
+ class: normalizeClass(_ctx.$style.bookmark),
38
+ href: _ctx.url,
39
+ target: _ctx.openInNewTab ? "_blank" : void 0,
40
+ rel: "noopener noreferrer",
41
+ onClick: handleClick
42
+ }, [
43
+ _ctx.image != null ? (openBlock(), createElementBlock("div", {
44
+ key: 0,
45
+ class: normalizeClass(_ctx.$style.image)
46
+ }, [
47
+ createVNode(ElmImage, { src: _ctx.image }, null, 8, ["src"])
48
+ ], 2)) : createCommentVNode("", true),
49
+ createElementVNode("div", {
50
+ class: normalizeClass(_ctx.$style.typography)
51
+ }, [
52
+ createElementVNode("div", {
53
+ class: normalizeClass(_ctx.$style.title)
54
+ }, [
55
+ createVNode(ElmInlineText, {
56
+ text: _ctx.title ?? "No title provided",
57
+ bold: ""
58
+ }, null, 8, ["text"])
59
+ ], 2),
60
+ createElementVNode("div", null, [
61
+ createVNode(ElmInlineText, {
62
+ text: _ctx.description == null ? "No description provided" : _ctx.description.length > 100 ? _ctx.description.slice(0, 100) + "..." : _ctx.description,
63
+ size: ".8rem",
64
+ style: { opacity: 0.6 }
65
+ }, null, 8, ["text"])
66
+ ]),
67
+ _ctx.createdAt != null || _ctx.updatedAt != null ? (openBlock(), createElementBlock("div", {
68
+ key: 0,
69
+ class: normalizeClass(_ctx.$style.date)
70
+ }, [
71
+ _ctx.createdAt != null ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
72
+ createVNode(ElmMdiIcon, {
73
+ d: unref(mdiCalendarMonth),
74
+ size: "1em"
75
+ }, null, 8, ["d"]),
76
+ createVNode(ElmInlineText, {
77
+ text: `${_ctx.createdAt}`,
78
+ size: ".8rem"
79
+ }, null, 8, ["text"])
80
+ ], 64)) : createCommentVNode("", true),
81
+ _ctx.updatedAt != null ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
82
+ createVNode(ElmMdiIcon, {
83
+ d: unref(mdiCalendarRefresh),
84
+ size: "1em"
85
+ }, null, 8, ["d"]),
86
+ createVNode(ElmInlineText, {
87
+ text: `${_ctx.updatedAt}`,
88
+ size: ".8rem"
89
+ }, null, 8, ["text"])
90
+ ], 64)) : createCommentVNode("", true)
91
+ ], 2)) : createCommentVNode("", true),
92
+ !_ctx.hideUrl && _ctx.url != null ? (openBlock(), createElementBlock("div", {
93
+ key: 1,
94
+ class: normalizeClass(_ctx.$style.link)
95
+ }, [
96
+ _ctx.favicon ? (openBlock(), createElementBlock("img", {
97
+ key: 0,
98
+ src: _ctx.favicon,
99
+ alt: "favicon",
100
+ class: normalizeClass(_ctx.$style.favicon)
101
+ }, null, 10, _hoisted_2)) : createCommentVNode("", true),
102
+ createVNode(ElmInlineText, {
103
+ text: `${_ctx.url}`,
104
+ size: ".8rem",
105
+ color: "#6987b8"
106
+ }, null, 8, ["text"])
107
+ ], 2)) : createCommentVNode("", true)
108
+ ], 2)
109
+ ], 10, _hoisted_1)
110
+ ], 6);
111
+ };
112
+ }
113
+ });
114
+ export {
115
+ _sfc_main as default
116
+ };
@@ -0,0 +1,41 @@
1
+ (function() {
2
+ "use strict";
3
+ try {
4
+ if (typeof document != "undefined") {
5
+ var elementStyle = document.createElement("style");
6
+ elementStyle.appendChild(document.createTextNode("._parent_28tsl_1{container-type:inline-size;margin-block:var(--margin-block);border-radius:.25rem;box-shadow:0 0 .125rem #0000001a;overflow:hidden;transition:background-color .2s,transform .2s}._parent_28tsl_1:hover{background-color:#6987b81a;transform:translate(-.125rem) translateY(-.125rem)}._parent_28tsl_1:active{background-color:#59b57c1a;transform:translate(0) translateY(0)}._bookmark_28tsl_18{all:unset;display:flex;cursor:pointer;background-color:#ffffff80;flex-direction:row;height:120px}[data-theme=dark] ._bookmark_28tsl_18{background-color:#0003}@container (max-width: 700px){._bookmark_28tsl_18{flex-direction:column;height:auto}}._bookmark_28tsl_18 ._image_28tsl_35{overflow:hidden;height:100%;opacity:.9;display:flex;justify-content:center;align-items:center;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;aspect-ratio:2/1;min-width:-moz-min-content;min-width:min-content;max-width:35%}@container (max-width: 700px){._bookmark_28tsl_18 ._image_28tsl_35{min-width:0;min-width:initial;max-width:none;max-width:initial;width:100%}}._bookmark_28tsl_18 ._typography_28tsl_55{overflow:hidden;box-sizing:border-box;padding:.5rem;display:flex;flex:1;flex-direction:column;justify-content:space-between;gap:.25rem}._bookmark_28tsl_18 ._typography_28tsl_55 ._title_28tsl_65{display:inline;width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._bookmark_28tsl_18 ._typography_28tsl_55 ._date_28tsl_72{width:100%;display:flex;justify-content:flex-end;gap:.5rem;white-space:nowrap;text-overflow:ellipsis}._link_28tsl_81{width:100%;display:flex;justify-content:flex-end;align-items:center;white-space:nowrap;text-overflow:ellipsis;gap:.5rem}._favicon_28tsl_91{width:16px;height:16px}"));
7
+ document.head.appendChild(elementStyle);
8
+ }
9
+ } catch (e) {
10
+ console.error("vite-plugin-css-injected-by-js", e);
11
+ }
12
+ })();
13
+ const parent = "_parent_28tsl_1";
14
+ const bookmark = "_bookmark_28tsl_18";
15
+ const image = "_image_28tsl_35";
16
+ const typography = "_typography_28tsl_55";
17
+ const title = "_title_28tsl_65";
18
+ const date = "_date_28tsl_72";
19
+ const link = "_link_28tsl_81";
20
+ const favicon = "_favicon_28tsl_91";
21
+ const style0 = {
22
+ parent,
23
+ bookmark,
24
+ image,
25
+ typography,
26
+ title,
27
+ date,
28
+ link,
29
+ favicon
30
+ };
31
+ export {
32
+ bookmark,
33
+ date,
34
+ style0 as default,
35
+ favicon,
36
+ image,
37
+ link,
38
+ parent,
39
+ title,
40
+ typography
41
+ };
@@ -0,0 +1,7 @@
1
+ import { Meta, StoryObj } from '@storybook/vue3';
2
+ import { default as ElmBreadcrumb } from './ElmBreadcrumb.vue';
3
+ declare const meta: Meta<typeof ElmBreadcrumb>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
7
+ export declare const Long: Story;
@@ -0,0 +1,19 @@
1
+ export interface ElmBreadcrumbProps {
2
+ /**
3
+ * The links to display.
4
+ */
5
+ links: Array<{
6
+ /**
7
+ * The text to display.
8
+ */
9
+ text: string;
10
+ /**
11
+ * The action to perform when the link is clicked.
12
+ */
13
+ onClick?: () => void;
14
+ }>;
15
+ }
16
+ declare const _default: import('vue').DefineComponent<ElmBreadcrumbProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmBreadcrumbProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
17
+ target: HTMLElement;
18
+ }, HTMLElement>;
19
+ export default _default;
@@ -0,0 +1,10 @@
1
+ import _sfc_main from "./ElmBreadcrumb.vue2.mjs";
2
+ import style0 from "./ElmBreadcrumb.vue3.mjs";
3
+ import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
4
+ const cssModules = {
5
+ "$style": style0
6
+ };
7
+ const ElmBreadcrumb = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
8
+ export {
9
+ ElmBreadcrumb as default
10
+ };
@@ -0,0 +1,65 @@
1
+ import { defineComponent, ref, createElementBlock, openBlock, normalizeStyle, normalizeClass, Fragment, renderList, createElementVNode, createBlock, createCommentVNode, createVNode, unref } from "vue";
2
+ import ElmInlineText from "../typography/ElmInlineText.vue.mjs";
3
+ import { useIntersectionObserver } from "@vueuse/core";
4
+ import ElmMdiIcon from "../icon/ElmMdiIcon.vue.mjs";
5
+ import { mdiHome, mdiFileDocument, mdiFolderOpen, mdiChevronRight } from "@mdi/js";
6
+ const _hoisted_1 = ["onClick"];
7
+ const _sfc_main = /* @__PURE__ */ defineComponent({
8
+ __name: "ElmBreadcrumb",
9
+ props: {
10
+ links: {}
11
+ },
12
+ setup(__props) {
13
+ const target = ref(null);
14
+ const targetIsVisible = ref(false);
15
+ useIntersectionObserver(target, ([{ isIntersecting }], _) => {
16
+ targetIsVisible.value = isIntersecting;
17
+ });
18
+ return (_ctx, _cache) => {
19
+ return openBlock(), createElementBlock("nav", {
20
+ class: normalizeClass(_ctx.$style.container),
21
+ ref_key: "target",
22
+ ref: target,
23
+ style: normalizeStyle({
24
+ "--opacity": targetIsVisible.value ? 1 : 0
25
+ })
26
+ }, [
27
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.links, (link, index) => {
28
+ return openBlock(), createElementBlock(Fragment, null, [
29
+ createElementVNode("div", {
30
+ class: normalizeClass(_ctx.$style["link-container"]),
31
+ onClick: link.onClick
32
+ }, [
33
+ createVNode(ElmMdiIcon, {
34
+ d: index === 0 ? unref(mdiHome) : index === _ctx.links.length - 1 ? unref(mdiFileDocument) : unref(mdiFolderOpen),
35
+ size: "1.25em",
36
+ class: normalizeClass(_ctx.$style.fade),
37
+ style: normalizeStyle({
38
+ "--delay": `${index * 100}ms`
39
+ })
40
+ }, null, 8, ["d", "class", "style"]),
41
+ createVNode(ElmInlineText, {
42
+ text: link.text,
43
+ class: normalizeClass(_ctx.$style.fade),
44
+ style: normalizeStyle({
45
+ "--delay": `${index * 100 + 50}ms`
46
+ })
47
+ }, null, 8, ["text", "class", "style"])
48
+ ], 10, _hoisted_1),
49
+ _ctx.links.length !== index + 1 ? (openBlock(), createBlock(ElmMdiIcon, {
50
+ key: 0,
51
+ d: unref(mdiChevronRight),
52
+ size: "1em",
53
+ color: "gray",
54
+ class: normalizeClass(_ctx.$style.fade),
55
+ style: normalizeStyle({ "--delay": `${index * 100 + 100}ms` })
56
+ }, null, 8, ["d", "class", "style"])) : createCommentVNode("", true)
57
+ ], 64);
58
+ }), 256))
59
+ ], 6);
60
+ };
61
+ }
62
+ });
63
+ export {
64
+ _sfc_main as default
65
+ };
@@ -0,0 +1,24 @@
1
+ (function() {
2
+ "use strict";
3
+ try {
4
+ if (typeof document != "undefined") {
5
+ var elementStyle = document.createElement("style");
6
+ elementStyle.appendChild(document.createTextNode("._container_18a0d_1{display:flex;flex-direction:row;align-items:center;gap:.5rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}._container_18a0d_1 ._link-container_18a0d_8{display:flex;flex-direction:row;align-items:center;gap:.5rem;box-sizing:border-box;padding:.25rem;border-radius:.25rem;cursor:pointer;transition:background-color .2s,transform .2s}._container_18a0d_1 ._link-container_18a0d_8:hover{background-color:#6987b833;transform:translate(-1px) translateY(-1px)}._container_18a0d_1 ._link-container_18a0d_8:active{background-color:#59b57c33;transform:translate(1px) translateY(1px)}._fade_18a0d_28{opacity:var(--opacity);transition:opacity .2s;transition-delay:var(--delay)}"));
7
+ document.head.appendChild(elementStyle);
8
+ }
9
+ } catch (e) {
10
+ console.error("vite-plugin-css-injected-by-js", e);
11
+ }
12
+ })();
13
+ const container = "_container_18a0d_1";
14
+ const fade = "_fade_18a0d_28";
15
+ const style0 = {
16
+ container,
17
+ "link-container": "_link-container_18a0d_8",
18
+ fade
19
+ };
20
+ export {
21
+ container,
22
+ style0 as default,
23
+ fade
24
+ };
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/vue3';
2
+ import { default as ElmPagetop } from './ElmPagetop.vue';
3
+ declare const meta: Meta<typeof ElmPagetop>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
@@ -0,0 +1,10 @@
1
+ export interface ElmPagetopProps {
2
+ /**
3
+ * Specifies the position of the button.
4
+ */
5
+ position?: "left" | "right";
6
+ }
7
+ declare const _default: import('vue').DefineComponent<ElmPagetopProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmPagetopProps> & Readonly<{}>, {
8
+ position: "left" | "right";
9
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
10
+ export default _default;
@@ -0,0 +1,10 @@
1
+ import _sfc_main from "./ElmPagetop.vue2.mjs";
2
+ import style0 from "./ElmPagetop.vue3.mjs";
3
+ import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
4
+ const cssModules = {
5
+ "$style": style0
6
+ };
7
+ const ElmPagetop = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
8
+ export {
9
+ ElmPagetop as default
10
+ };
@@ -0,0 +1,51 @@
1
+ import { defineComponent, ref, watch, createElementBlock, openBlock, normalizeStyle, normalizeClass, createElementVNode } from "vue";
2
+ import { useWindowScroll } from "@vueuse/core";
3
+ const _sfc_main = /* @__PURE__ */ defineComponent({
4
+ __name: "ElmPagetop",
5
+ props: {
6
+ position: { default: "right" }
7
+ },
8
+ setup(__props) {
9
+ const isVisible = ref(false);
10
+ const { y } = useWindowScroll();
11
+ watch(
12
+ () => y.value,
13
+ () => {
14
+ isVisible.value = y.value > 100;
15
+ }
16
+ );
17
+ const toTop = () => {
18
+ window.scrollTo({ top: 0, behavior: "smooth" });
19
+ };
20
+ return (_ctx, _cache) => {
21
+ return openBlock(), createElementBlock("nav", {
22
+ class: normalizeClass([_ctx.$style.wrapper, { [_ctx.$style["wrapper--visible"]]: isVisible.value }]),
23
+ style: normalizeStyle({
24
+ "--size": `${64}px`,
25
+ left: _ctx.position === "left" ? "0" : "auto",
26
+ right: _ctx.position === "right" ? "0" : "auto"
27
+ }),
28
+ onClick: toTop
29
+ }, [
30
+ createElementVNode("div", {
31
+ "aria-hidden": "",
32
+ class: normalizeClass(_ctx.$style.partial)
33
+ }, null, 2),
34
+ createElementVNode("div", {
35
+ "aria-hidden": "",
36
+ class: normalizeClass(_ctx.$style.partial)
37
+ }, null, 2),
38
+ createElementVNode("div", {
39
+ "aria-hidden": "",
40
+ class: normalizeClass(_ctx.$style.partial)
41
+ }, null, 2),
42
+ createElementVNode("span", {
43
+ class: normalizeClass(_ctx.$style.text)
44
+ }, "Back to Top", 2)
45
+ ], 6);
46
+ };
47
+ }
48
+ });
49
+ export {
50
+ _sfc_main as default
51
+ };
@@ -0,0 +1,30 @@
1
+ (function() {
2
+ "use strict";
3
+ try {
4
+ if (typeof document != "undefined") {
5
+ var elementStyle = document.createElement("style");
6
+ elementStyle.appendChild(document.createTextNode('._wrapper_q0z76_1{--const-margin: 1rem;z-index:50;display:block;position:fixed;bottom:0;margin:1rem .5rem;margin:var(--const-margin) .5rem;width:var(--size);height:var(--size);left:auto;left:var(--left, auto);right:auto;right:var(---right, auto);opacity:1;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:transform .7s,opacity .4s;transform-origin:50% 50%;transform:translateY(250%) rotate(180deg)}._wrapper--visible_q0z76_20{transition:transform .7s,opacity .2s;transform:translateY(0) rotate(0)}._wrapper_q0z76_1:hover{opacity:.8}._wrapper_q0z76_1:active{opacity:.4}@keyframes _move_q0z76_1{0%{opacity:0;transform:translateY(600%)}25%{opacity:1;transform:translateY(220%)}42%{opacity:1;transform:translateY(200%)}67%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-50%) scale(.5)}}._wrapper_q0z76_1 ._partial_q0z76_52{position:absolute;width:var(--size);height:20px;opacity:0;transform:scale3d(.5,.5,.5);animation:_move_q0z76_1 3s ease-out infinite}._wrapper_q0z76_1 ._partial_q0z76_52:nth-of-type(1){animation:_move_q0z76_1 3s ease-out 1s infinite}._wrapper_q0z76_1 ._partial_q0z76_52:nth-of-type(2){animation:_move_q0z76_1 3s ease-out 2s infinite}._wrapper_q0z76_1 ._partial_q0z76_52:before,._wrapper_q0z76_1 ._partial_q0z76_52:after{content:"";position:absolute;top:0;height:100%;width:50%;background-color:#000000b3}[data-theme=dark] ._wrapper_q0z76_1 ._partial_q0z76_52:before,[data-theme=dark] ._wrapper_q0z76_1 ._partial_q0z76_52:after{background-color:#ffffffb3}._wrapper_q0z76_1 ._partial_q0z76_52:before{left:0;transform:skew(0,-30deg)}._wrapper_q0z76_1 ._partial_q0z76_52:after{right:0;transform:skew(0,30deg)}._wrapper_q0z76_1 ._text_q0z76_85{transition:opacity .2s ease .4s;width:100%;text-align:center;font-family:sans-serif;position:absolute;z-index:50;bottom:calc(0px - var(--const-margin));font-size:12px;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;user-select:none;color:#000000b3}[data-theme=dark] ._wrapper_q0z76_1 ._text_q0z76_85{color:#ffffffb3}'));
7
+ document.head.appendChild(elementStyle);
8
+ }
9
+ } catch (e) {
10
+ console.error("vite-plugin-css-injected-by-js", e);
11
+ }
12
+ })();
13
+ const wrapper = "_wrapper_q0z76_1";
14
+ const partial = "_partial_q0z76_52";
15
+ const move = "_move_q0z76_1";
16
+ const text = "_text_q0z76_85";
17
+ const style0 = {
18
+ wrapper,
19
+ "wrapper--visible": "_wrapper--visible_q0z76_20",
20
+ partial,
21
+ move,
22
+ text
23
+ };
24
+ export {
25
+ style0 as default,
26
+ move,
27
+ partial,
28
+ text,
29
+ wrapper
30
+ };
@@ -0,0 +1,7 @@
1
+ import { Meta, StoryObj } from '@storybook/vue3';
2
+ import { default as ElmTableOfContents } from './ElmTableOfContents.vue';
3
+ declare const meta: Meta<typeof ElmTableOfContents>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
7
+ export declare const Deep: Story;
@@ -0,0 +1,9 @@
1
+ export interface ElmTableOfContentsProps {
2
+ headings: Array<{
3
+ level: 1 | 2 | 3 | 4 | 5 | 6;
4
+ text: string;
5
+ id?: string;
6
+ }>;
7
+ }
8
+ declare const _default: import('vue').DefineComponent<ElmTableOfContentsProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmTableOfContentsProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
9
+ export default _default;
@@ -0,0 +1,10 @@
1
+ import _sfc_main from "./ElmTableOfContents.vue2.mjs";
2
+ import style0 from "./ElmTableOfContents.vue3.mjs";
3
+ import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
4
+ const cssModules = {
5
+ "$style": style0
6
+ };
7
+ const ElmTableOfContents = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
8
+ export {
9
+ ElmTableOfContents as default
10
+ };
@@ -0,0 +1,45 @@
1
+ import { defineComponent, createElementBlock, openBlock, normalizeClass, Fragment, renderList, normalizeStyle, createElementVNode, createVNode, unref } from "vue";
2
+ import ElmInlineText from "../typography/ElmInlineText.vue.mjs";
3
+ import ElmMdiIcon from "../icon/ElmMdiIcon.vue.mjs";
4
+ import { mdiMenuDown } from "@mdi/js";
5
+ const _hoisted_1 = ["href"];
6
+ const _sfc_main = /* @__PURE__ */ defineComponent({
7
+ __name: "ElmTableOfContents",
8
+ props: {
9
+ headings: {}
10
+ },
11
+ setup(__props) {
12
+ return (_ctx, _cache) => {
13
+ return openBlock(), createElementBlock("nav", {
14
+ class: normalizeClass(_ctx.$style.toc)
15
+ }, [
16
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.headings, (heading) => {
17
+ return openBlock(), createElementBlock("a", {
18
+ class: normalizeClass(_ctx.$style.link),
19
+ href: `#${heading.id ?? heading.text}`,
20
+ style: normalizeStyle({ "--padding-left": `${heading.level * 0.5}rem` })
21
+ }, [
22
+ createElementVNode("sup", null, [
23
+ createVNode(ElmInlineText, {
24
+ text: `H${heading.level}`,
25
+ size: "0.6rem",
26
+ color: "#6987b8"
27
+ }, null, 8, ["text"])
28
+ ]),
29
+ createVNode(ElmInlineText, {
30
+ text: heading.text
31
+ }, null, 8, ["text"]),
32
+ createVNode(ElmMdiIcon, {
33
+ d: unref(mdiMenuDown),
34
+ size: "1em",
35
+ color: "#6987b8"
36
+ }, null, 8, ["d"])
37
+ ], 14, _hoisted_1);
38
+ }), 256))
39
+ ], 2);
40
+ };
41
+ }
42
+ });
43
+ export {
44
+ _sfc_main as default
45
+ };
@@ -0,0 +1,23 @@
1
+ (function() {
2
+ "use strict";
3
+ try {
4
+ if (typeof document != "undefined") {
5
+ var elementStyle = document.createElement("style");
6
+ elementStyle.appendChild(document.createTextNode("._toc_vrpzl_1{box-sizing:border-box;display:flex;flex-direction:column;padding-left:.5rem;border-left-style:solid;border-left-width:.25rem;border-left-color:#0000001a}[data-theme=dark] ._toc_vrpzl_1{border-left-color:#ffffff26}._toc_vrpzl_1 ._link_vrpzl_13{all:unset;box-sizing:border-box;display:flex;justify-content:flex-start;gap:.5rem;border-radius:.25rem;padding:.25rem;padding-left:var(--padding-left, .25rem);transition:background-color .2s;cursor:pointer}._toc_vrpzl_1 ._link_vrpzl_13:hover{background-color:#6987b833}"));
7
+ document.head.appendChild(elementStyle);
8
+ }
9
+ } catch (e) {
10
+ console.error("vite-plugin-css-injected-by-js", e);
11
+ }
12
+ })();
13
+ const toc = "_toc_vrpzl_1";
14
+ const link = "_link_vrpzl_13";
15
+ const style0 = {
16
+ toc,
17
+ link
18
+ };
19
+ export {
20
+ style0 as default,
21
+ link,
22
+ toc
23
+ };
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/vue3';
2
+ import { default as ElmColorSample } from './ElmColorSample.vue';
3
+ declare const meta: Meta<typeof ElmColorSample>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
@@ -0,0 +1,8 @@
1
+ export interface ElmColorSampleProps {
2
+ /**
3
+ * The color to display.
4
+ */
5
+ color: string;
6
+ }
7
+ declare const _default: import('vue').DefineComponent<ElmColorSampleProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmColorSampleProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
8
+ export default _default;
@@ -0,0 +1,23 @@
1
+ (function() {
2
+ "use strict";
3
+ try {
4
+ if (typeof document != "undefined") {
5
+ var elementStyle = document.createElement("style");
6
+ elementStyle.appendChild(document.createTextNode(".v-enter-to[data-v-4e995755],.v-leave-from[data-v-4e995755]{opacity:1}.v-enter-active[data-v-4e995755],.v-leave-active[data-v-4e995755]{transition:opacity .3s}.v-enter-from[data-v-4e995755],.v-leave-to[data-v-4e995755]{opacity:0}"));
7
+ document.head.appendChild(elementStyle);
8
+ }
9
+ } catch (e) {
10
+ console.error("vite-plugin-css-injected-by-js", e);
11
+ }
12
+ })();
13
+ import _sfc_main from "./ElmColorSample.vue2.mjs";
14
+ import style0 from "./ElmColorSample.vue3.mjs";
15
+
16
+ import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
17
+ const cssModules = {
18
+ "$style": style0
19
+ };
20
+ const ElmColorSample = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules], ["__scopeId", "data-v-4e995755"]]);
21
+ export {
22
+ ElmColorSample as default
23
+ };