@elmethis/vue 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 (372) hide show
  1. package/LICENSE +21 -0
  2. package/dist/_virtual/_plugin-vue_export-helper.mjs +10 -0
  3. package/dist/components/ag-ui/message/ElmAgUiMessageUser.stories.d.ts +6 -0
  4. package/dist/components/ag-ui/message/ElmAgUiMessageUser.vue.d.ts +8 -0
  5. package/dist/components/code/ElmCodeBlock.stories.d.ts +9 -0
  6. package/dist/components/code/ElmCodeBlock.vue.d.ts +48 -0
  7. package/dist/components/code/ElmCodeBlock.vue.mjs +23 -0
  8. package/dist/components/code/ElmCodeBlock.vue2.mjs +134 -0
  9. package/dist/components/code/ElmCodeBlock.vue3.mjs +43 -0
  10. package/dist/components/code/ElmKatex.stories.d.ts +8 -0
  11. package/dist/components/code/ElmKatex.vue.d.ts +20 -0
  12. package/dist/components/code/ElmKatex.vue.mjs +10 -0
  13. package/dist/components/code/ElmKatex.vue2.mjs +68 -0
  14. package/dist/components/code/ElmKatex.vue3.mjs +20 -0
  15. package/dist/components/code/ElmMermaid.stories.d.ts +7 -0
  16. package/dist/components/code/ElmMermaid.vue.d.ts +7 -0
  17. package/dist/components/code/ElmMermaid.vue.mjs +10 -0
  18. package/dist/components/code/ElmMermaid.vue2.mjs +59 -0
  19. package/dist/components/code/ElmMermaid.vue3.mjs +26 -0
  20. package/dist/components/code/ElmShikiHighlighter.stories.d.ts +6 -0
  21. package/dist/components/code/ElmShikiHighlighter.vue.d.ts +22 -0
  22. package/dist/components/code/ElmShikiHighlighter.vue.mjs +23 -0
  23. package/dist/components/code/ElmShikiHighlighter.vue2.mjs +55 -0
  24. package/dist/components/code/ElmShikiHighlighter.vue3.mjs +20 -0
  25. package/dist/components/code/shikiInstance.d.ts +2 -0
  26. package/dist/components/code/shikiInstance.mjs +76 -0
  27. package/dist/components/containments/ElmColumn.stories.d.ts +6 -0
  28. package/dist/components/containments/ElmColumn.vue.d.ts +19 -0
  29. package/dist/components/containments/ElmColumnList.vue.d.ts +19 -0
  30. package/dist/components/containments/ElmConfirmModal.stories.d.ts +6 -0
  31. package/dist/components/containments/ElmConfirmModal.vue.d.ts +37 -0
  32. package/dist/components/containments/ElmConfirmModal.vue.mjs +10 -0
  33. package/dist/components/containments/ElmConfirmModal.vue2.mjs +98 -0
  34. package/dist/components/containments/ElmConfirmModal.vue3.mjs +23 -0
  35. package/dist/components/containments/ElmDesktopWindow.stories.d.ts +6 -0
  36. package/dist/components/containments/ElmDesktopWindow.vue.d.ts +27 -0
  37. package/dist/components/containments/ElmDesktopWindow.vue.mjs +10 -0
  38. package/dist/components/containments/ElmDesktopWindow.vue2.mjs +42 -0
  39. package/dist/components/containments/ElmDesktopWindow.vue3.mjs +26 -0
  40. package/dist/components/containments/ElmModal.stories.d.ts +6 -0
  41. package/dist/components/containments/ElmModal.vue.d.ts +34 -0
  42. package/dist/components/containments/ElmModal.vue.mjs +10 -0
  43. package/dist/components/containments/ElmModal.vue2.mjs +56 -0
  44. package/dist/components/containments/ElmModal.vue3.mjs +23 -0
  45. package/dist/components/containments/ElmParallax.stories.d.ts +6 -0
  46. package/dist/components/containments/ElmParallax.vue.d.ts +6 -0
  47. package/dist/components/containments/ElmParallax.vue.mjs +10 -0
  48. package/dist/components/containments/ElmParallax.vue2.mjs +35 -0
  49. package/dist/components/containments/ElmParallax.vue3.mjs +20 -0
  50. package/dist/components/containments/ElmSimpleTooltip.stories.d.ts +7 -0
  51. package/dist/components/containments/ElmSimpleTooltip.vue.d.ts +21 -0
  52. package/dist/components/containments/ElmSimpleTooltip.vue.mjs +10 -0
  53. package/dist/components/containments/ElmSimpleTooltip.vue2.mjs +37 -0
  54. package/dist/components/containments/ElmSimpleTooltip.vue3.mjs +26 -0
  55. package/dist/components/containments/ElmSnackbar.stories.d.ts +6 -0
  56. package/dist/components/containments/ElmSnackbar.vue.d.ts +11 -0
  57. package/dist/components/containments/ElmSnackbar.vue.mjs +10 -0
  58. package/dist/components/containments/ElmSnackbar.vue2.mjs +41 -0
  59. package/dist/components/containments/ElmSnackbar.vue3.mjs +26 -0
  60. package/dist/components/containments/ElmSnackbarContainer.vue.d.ts +10 -0
  61. package/dist/components/containments/ElmSnackbarContainer.vue.mjs +23 -0
  62. package/dist/components/containments/ElmSnackbarContainer.vue2.mjs +33 -0
  63. package/dist/components/containments/ElmSnackbarContainer.vue3.mjs +19 -0
  64. package/dist/components/containments/ElmToggle.stories.d.ts +7 -0
  65. package/dist/components/containments/ElmToggle.vue.d.ts +41 -0
  66. package/dist/components/containments/ElmToggle.vue.mjs +10 -0
  67. package/dist/components/containments/ElmToggle.vue2.mjs +106 -0
  68. package/dist/components/containments/ElmToggle.vue3.mjs +44 -0
  69. package/dist/components/containments/ElmTooltip.stories.d.ts +6 -0
  70. package/dist/components/containments/ElmTooltip.vue.d.ts +40 -0
  71. package/dist/components/containments/ElmTooltip.vue.mjs +10 -0
  72. package/dist/components/containments/ElmTooltip.vue2.mjs +56 -0
  73. package/dist/components/containments/ElmTooltip.vue3.mjs +26 -0
  74. package/dist/components/containments/useSnackbarState.d.ts +28 -0
  75. package/dist/components/data/ElmMultiProgress.stories.d.ts +6 -0
  76. package/dist/components/data/ElmMultiProgress.vue.d.ts +30 -0
  77. package/dist/components/data/ElmMultiProgress.vue.mjs +10 -0
  78. package/dist/components/data/ElmMultiProgress.vue2.mjs +45 -0
  79. package/dist/components/data/ElmMultiProgress.vue3.mjs +23 -0
  80. package/dist/components/data/ElmProgress.stories.d.ts +10 -0
  81. package/dist/components/data/ElmProgress.vue.d.ts +38 -0
  82. package/dist/components/data/ElmProgress.vue.mjs +10 -0
  83. package/dist/components/data/ElmProgress.vue2.mjs +53 -0
  84. package/dist/components/data/ElmProgress.vue3.mjs +32 -0
  85. package/dist/components/data/ElmStatusMessage.stories.d.ts +9 -0
  86. package/dist/components/data/ElmStatusMessage.vue.d.ts +6 -0
  87. package/dist/components/data/ElmStatusMessage.vue.mjs +23 -0
  88. package/dist/components/data/ElmStatusMessage.vue2.mjs +76 -0
  89. package/dist/components/data/ElmStatusMessage.vue3.mjs +20 -0
  90. package/dist/components/fallback/ElmBlockFallback.stories.d.ts +6 -0
  91. package/dist/components/fallback/ElmBlockFallback.vue.d.ts +4 -0
  92. package/dist/components/fallback/ElmBlockFallback.vue.mjs +10 -0
  93. package/dist/components/fallback/ElmBlockFallback.vue2.mjs +17 -0
  94. package/dist/components/fallback/ElmBlockFallback.vue3.mjs +18 -0
  95. package/dist/components/fallback/ElmRectangleWave.stories.d.ts +6 -0
  96. package/dist/components/fallback/ElmRectangleWave.vue.d.ts +4 -0
  97. package/dist/components/fallback/ElmRectangleWave.vue.mjs +10 -0
  98. package/dist/components/fallback/ElmRectangleWave.vue2.mjs +15 -0
  99. package/dist/components/fallback/ElmRectangleWave.vue3.mjs +21 -0
  100. package/dist/components/fallback/ElmSpinner.stories.d.ts +6 -0
  101. package/dist/components/fallback/ElmSpinner.vue.d.ts +9 -0
  102. package/dist/components/fallback/ElmSpinner.vue.mjs +10 -0
  103. package/dist/components/fallback/ElmSpinner.vue2.mjs +30 -0
  104. package/dist/components/fallback/ElmSpinner.vue3.mjs +24 -0
  105. package/dist/components/fallback/ElmUnsupportedBlock.stories.d.ts +6 -0
  106. package/dist/components/fallback/ElmUnsupportedBlock.vue.d.ts +5 -0
  107. package/dist/components/fallback/ElmUnsupportedBlock.vue.mjs +10 -0
  108. package/dist/components/fallback/ElmUnsupportedBlock.vue2.mjs +46 -0
  109. package/dist/components/fallback/ElmUnsupportedBlock.vue3.mjs +29 -0
  110. package/dist/components/form/ElmButton.stories.d.ts +11 -0
  111. package/dist/components/form/ElmButton.vue.d.ts +42 -0
  112. package/dist/components/form/ElmButton.vue.mjs +23 -0
  113. package/dist/components/form/ElmButton.vue2.mjs +71 -0
  114. package/dist/components/form/ElmButton.vue3.mjs +39 -0
  115. package/dist/components/form/ElmCheckbox.stories.d.ts +6 -0
  116. package/dist/components/form/ElmCheckbox.vue.d.ts +26 -0
  117. package/dist/components/form/ElmCheckbox.vue.mjs +10 -0
  118. package/dist/components/form/ElmCheckbox.vue2.mjs +177 -0
  119. package/dist/components/form/ElmCheckbox.vue3.mjs +34 -0
  120. package/dist/components/form/ElmSelect.stories.d.ts +6 -0
  121. package/dist/components/form/ElmSelect.vue.d.ts +48 -0
  122. package/dist/components/form/ElmSelect.vue.mjs +10 -0
  123. package/dist/components/form/ElmSelect.vue2.mjs +145 -0
  124. package/dist/components/form/ElmSelect.vue3.mjs +56 -0
  125. package/dist/components/form/ElmSwitch.stories.d.ts +6 -0
  126. package/dist/components/form/ElmSwitch.vue.d.ts +32 -0
  127. package/dist/components/form/ElmSwitch.vue.mjs +10 -0
  128. package/dist/components/form/ElmSwitch.vue2.mjs +61 -0
  129. package/dist/components/form/ElmSwitch.vue3.mjs +28 -0
  130. package/dist/components/form/ElmTextField.stories.d.ts +7 -0
  131. package/dist/components/form/ElmTextField.vue.d.ts +33 -0
  132. package/dist/components/form/ElmTextField.vue.mjs +10 -0
  133. package/dist/components/form/ElmTextField.vue2.mjs +150 -0
  134. package/dist/components/form/ElmTextField.vue3.mjs +49 -0
  135. package/dist/components/form/ElmValidation.stories.d.ts +6 -0
  136. package/dist/components/form/ElmValidation.vue.d.ts +9 -0
  137. package/dist/components/form/ElmValidation.vue.mjs +10 -0
  138. package/dist/components/form/ElmValidation.vue2.mjs +34 -0
  139. package/dist/components/form/ElmValidation.vue3.mjs +20 -0
  140. package/dist/components/icon/ElmArrowIcon.stories.d.ts +6 -0
  141. package/dist/components/icon/ElmArrowIcon.vue.d.ts +26 -0
  142. package/dist/components/icon/ElmArrowIcon.vue.mjs +10 -0
  143. package/dist/components/icon/ElmArrowIcon.vue2.mjs +31 -0
  144. package/dist/components/icon/ElmArrowIcon.vue3.mjs +29 -0
  145. package/dist/components/icon/ElmBookmarkIcon.stories.d.ts +8 -0
  146. package/dist/components/icon/ElmBookmarkIcon.vue.d.ts +7 -0
  147. package/dist/components/icon/ElmBookmarkIcon.vue.mjs +10 -0
  148. package/dist/components/icon/ElmBookmarkIcon.vue2.mjs +47 -0
  149. package/dist/components/icon/ElmBookmarkIcon.vue3.mjs +26 -0
  150. package/dist/components/icon/ElmCubeIcon.stories.d.ts +6 -0
  151. package/dist/components/icon/ElmCubeIcon.vue.d.ts +10 -0
  152. package/dist/components/icon/ElmCubeIcon.vue.mjs +10 -0
  153. package/dist/components/icon/ElmCubeIcon.vue2.mjs +41 -0
  154. package/dist/components/icon/ElmCubeIcon.vue3.mjs +24 -0
  155. package/dist/components/icon/ElmDotLoadingIcon.stories.d.ts +6 -0
  156. package/dist/components/icon/ElmDotLoadingIcon.vue.d.ts +18 -0
  157. package/dist/components/icon/ElmDotLoadingIcon.vue.mjs +10 -0
  158. package/dist/components/icon/ElmDotLoadingIcon.vue2.mjs +28 -0
  159. package/dist/components/icon/ElmDotLoadingIcon.vue3.mjs +26 -0
  160. package/dist/components/icon/ElmInlineIcon.stories.d.ts +6 -0
  161. package/dist/components/icon/ElmInlineIcon.vue.d.ts +12 -0
  162. package/dist/components/icon/ElmInlineIcon.vue.mjs +10 -0
  163. package/dist/components/icon/ElmInlineIcon.vue2.mjs +27 -0
  164. package/dist/components/icon/ElmInlineIcon.vue3.mjs +20 -0
  165. package/dist/components/icon/ElmLanguageIcon.stories.d.ts +6 -0
  166. package/dist/components/icon/ElmLanguageIcon.vue.d.ts +15 -0
  167. package/dist/components/icon/ElmLanguageIcon.vue.mjs +10 -0
  168. package/dist/components/icon/ElmLanguageIcon.vue2.mjs +147 -0
  169. package/dist/components/icon/ElmLanguageIcon.vue3.mjs +20 -0
  170. package/dist/components/icon/ElmLoginIcon.stories.d.ts +6 -0
  171. package/dist/components/icon/ElmLoginIcon.vue.d.ts +18 -0
  172. package/dist/components/icon/ElmLoginIcon.vue.mjs +10 -0
  173. package/dist/components/icon/ElmLoginIcon.vue2.mjs +36 -0
  174. package/dist/components/icon/ElmLoginIcon.vue3.mjs +20 -0
  175. package/dist/components/icon/ElmMdiIcon.stories.d.ts +6 -0
  176. package/dist/components/icon/ElmMdiIcon.vue.d.ts +11 -0
  177. package/dist/components/icon/ElmMdiIcon.vue.mjs +10 -0
  178. package/dist/components/icon/ElmMdiIcon.vue2.mjs +34 -0
  179. package/dist/components/icon/ElmMdiIcon.vue3.mjs +20 -0
  180. package/dist/components/icon/ElmSquareLoadingIcon.stories.d.ts +6 -0
  181. package/dist/components/icon/ElmSquareLoadingIcon.vue.d.ts +10 -0
  182. package/dist/components/icon/ElmSquareLoadingIcon.vue.mjs +10 -0
  183. package/dist/components/icon/ElmSquareLoadingIcon.vue2.mjs +37 -0
  184. package/dist/components/icon/ElmSquareLoadingIcon.vue3.mjs +26 -0
  185. package/dist/components/icon/ElmToggleTheme.stories.d.ts +6 -0
  186. package/dist/components/icon/ElmToggleTheme.vue.d.ts +11 -0
  187. package/dist/components/icon/ElmToggleTheme.vue.mjs +10 -0
  188. package/dist/components/icon/ElmToggleTheme.vue2.mjs +41 -0
  189. package/dist/components/icon/ElmToggleTheme.vue3.mjs +20 -0
  190. package/dist/components/icon/languages/Bash.vue.d.ts +7 -0
  191. package/dist/components/icon/languages/Bash.vue.mjs +10 -0
  192. package/dist/components/icon/languages/Bash.vue2.mjs +34 -0
  193. package/dist/components/icon/languages/Bash.vue3.mjs +20 -0
  194. package/dist/components/icon/languages/C.vue.d.ts +7 -0
  195. package/dist/components/icon/languages/C.vue.mjs +34 -0
  196. package/dist/components/icon/languages/C.vue2.mjs +4 -0
  197. package/dist/components/icon/languages/Cplusplus.vue.d.ts +7 -0
  198. package/dist/components/icon/languages/Cplusplus.vue.mjs +38 -0
  199. package/dist/components/icon/languages/Cplusplus.vue2.mjs +4 -0
  200. package/dist/components/icon/languages/Csharp.vue.d.ts +7 -0
  201. package/dist/components/icon/languages/Csharp.vue.mjs +34 -0
  202. package/dist/components/icon/languages/Csharp.vue2.mjs +4 -0
  203. package/dist/components/icon/languages/Css.vue.d.ts +7 -0
  204. package/dist/components/icon/languages/Css.vue.mjs +26 -0
  205. package/dist/components/icon/languages/Css.vue2.mjs +4 -0
  206. package/dist/components/icon/languages/Go.vue.d.ts +7 -0
  207. package/dist/components/icon/languages/Go.vue.mjs +32 -0
  208. package/dist/components/icon/languages/Go.vue2.mjs +4 -0
  209. package/dist/components/icon/languages/Html.vue.d.ts +7 -0
  210. package/dist/components/icon/languages/Html.vue.mjs +38 -0
  211. package/dist/components/icon/languages/Html.vue2.mjs +4 -0
  212. package/dist/components/icon/languages/Java.vue.d.ts +7 -0
  213. package/dist/components/icon/languages/Java.vue.mjs +23 -0
  214. package/dist/components/icon/languages/Java.vue2.mjs +4 -0
  215. package/dist/components/icon/languages/Javascript.vue.d.ts +7 -0
  216. package/dist/components/icon/languages/Javascript.vue.mjs +30 -0
  217. package/dist/components/icon/languages/Javascript.vue2.mjs +4 -0
  218. package/dist/components/icon/languages/Json.vue.d.ts +7 -0
  219. package/dist/components/icon/languages/Json.vue.mjs +23 -0
  220. package/dist/components/icon/languages/Json.vue2.mjs +4 -0
  221. package/dist/components/icon/languages/Kotlin.vue.d.ts +7 -0
  222. package/dist/components/icon/languages/Kotlin.vue.mjs +23 -0
  223. package/dist/components/icon/languages/Kotlin.vue2.mjs +4 -0
  224. package/dist/components/icon/languages/Lua.vue.d.ts +7 -0
  225. package/dist/components/icon/languages/Lua.vue.mjs +34 -0
  226. package/dist/components/icon/languages/Lua.vue2.mjs +4 -0
  227. package/dist/components/icon/languages/Npm.vue.d.ts +7 -0
  228. package/dist/components/icon/languages/Npm.vue.mjs +30 -0
  229. package/dist/components/icon/languages/Npm.vue2.mjs +4 -0
  230. package/dist/components/icon/languages/Python.vue.d.ts +7 -0
  231. package/dist/components/icon/languages/Python.vue.mjs +23 -0
  232. package/dist/components/icon/languages/Python.vue2.mjs +4 -0
  233. package/dist/components/icon/languages/Rust.vue.d.ts +7 -0
  234. package/dist/components/icon/languages/Rust.vue.mjs +24 -0
  235. package/dist/components/icon/languages/Rust.vue2.mjs +4 -0
  236. package/dist/components/icon/languages/Sql.vue.d.ts +7 -0
  237. package/dist/components/icon/languages/Sql.vue.mjs +26 -0
  238. package/dist/components/icon/languages/Sql.vue2.mjs +4 -0
  239. package/dist/components/icon/languages/Terraform.vue.d.ts +7 -0
  240. package/dist/components/icon/languages/Terraform.vue.mjs +36 -0
  241. package/dist/components/icon/languages/Terraform.vue2.mjs +4 -0
  242. package/dist/components/icon/languages/Typescript.vue.d.ts +7 -0
  243. package/dist/components/icon/languages/Typescript.vue.mjs +30 -0
  244. package/dist/components/icon/languages/Typescript.vue2.mjs +4 -0
  245. package/dist/components/media/ElmFile.stories.d.ts +6 -0
  246. package/dist/components/media/ElmFile.vue.d.ts +21 -0
  247. package/dist/components/media/ElmFile.vue.mjs +10 -0
  248. package/dist/components/media/ElmFile.vue2.mjs +79 -0
  249. package/dist/components/media/ElmFile.vue3.mjs +23 -0
  250. package/dist/components/media/ElmImage.stories.d.ts +9 -0
  251. package/dist/components/media/ElmImage.vue.d.ts +27 -0
  252. package/dist/components/media/ElmImage.vue.mjs +10 -0
  253. package/dist/components/media/ElmImage.vue2.mjs +142 -0
  254. package/dist/components/media/ElmImage.vue3.mjs +35 -0
  255. package/dist/components/navigation/ElmBookmark.stories.d.ts +12 -0
  256. package/dist/components/navigation/ElmBookmark.vue.d.ts +53 -0
  257. package/dist/components/navigation/ElmBookmark.vue.mjs +10 -0
  258. package/dist/components/navigation/ElmBookmark.vue2.mjs +116 -0
  259. package/dist/components/navigation/ElmBookmark.vue3.mjs +41 -0
  260. package/dist/components/navigation/ElmBreadcrumb.stories.d.ts +7 -0
  261. package/dist/components/navigation/ElmBreadcrumb.vue.d.ts +19 -0
  262. package/dist/components/navigation/ElmBreadcrumb.vue.mjs +10 -0
  263. package/dist/components/navigation/ElmBreadcrumb.vue2.mjs +65 -0
  264. package/dist/components/navigation/ElmBreadcrumb.vue3.mjs +24 -0
  265. package/dist/components/navigation/ElmPagetop.stories.d.ts +6 -0
  266. package/dist/components/navigation/ElmPagetop.vue.d.ts +10 -0
  267. package/dist/components/navigation/ElmPagetop.vue.mjs +10 -0
  268. package/dist/components/navigation/ElmPagetop.vue2.mjs +52 -0
  269. package/dist/components/navigation/ElmPagetop.vue3.mjs +30 -0
  270. package/dist/components/navigation/ElmTableOfContents.stories.d.ts +7 -0
  271. package/dist/components/navigation/ElmTableOfContents.vue.d.ts +9 -0
  272. package/dist/components/navigation/ElmTableOfContents.vue.mjs +10 -0
  273. package/dist/components/navigation/ElmTableOfContents.vue2.mjs +45 -0
  274. package/dist/components/navigation/ElmTableOfContents.vue3.mjs +23 -0
  275. package/dist/components/others/ElmColorSample.stories.d.ts +6 -0
  276. package/dist/components/others/ElmColorSample.vue.d.ts +8 -0
  277. package/dist/components/others/ElmColorSample.vue.mjs +23 -0
  278. package/dist/components/others/ElmColorSample.vue2.mjs +72 -0
  279. package/dist/components/others/ElmColorSample.vue3.mjs +21 -0
  280. package/dist/components/others/ElmColorTable.stories.d.ts +6 -0
  281. package/dist/components/others/ElmColorTable.vue.d.ts +11 -0
  282. package/dist/components/others/ElmColorTable.vue.mjs +10 -0
  283. package/dist/components/others/ElmColorTable.vue2.mjs +49 -0
  284. package/dist/components/others/ElmColorTable.vue3.mjs +22 -0
  285. package/dist/components/others/ElmJsonComponentRenderer.stories.d.ts +23 -0
  286. package/dist/components/others/ElmJsonComponentRenderer.vue.d.ts +6 -0
  287. package/dist/components/others/ElmJsonComponentRenderer.vue.mjs +10 -0
  288. package/dist/components/others/ElmJsonComponentRenderer.vue2.mjs +189 -0
  289. package/dist/components/others/ElmJsonComponentRenderer.vue3.mjs +21 -0
  290. package/dist/components/others/ElmMarkdown.stories.d.ts +6 -0
  291. package/dist/components/others/ElmMarkdown.vue.d.ts +5 -0
  292. package/dist/components/others/ElmMarkdown.vue.mjs +255 -0
  293. package/dist/components/others/ElmMarkdown.vue2.mjs +4 -0
  294. package/dist/components/others/ElmTyping.stories.d.ts +6 -0
  295. package/dist/components/others/ElmTyping.vue.d.ts +4 -0
  296. package/dist/components/table/ElmTable.stories.d.ts +6 -0
  297. package/dist/components/table/ElmTable.vue.d.ts +46 -0
  298. package/dist/components/table/ElmTable.vue.mjs +10 -0
  299. package/dist/components/table/ElmTable.vue2.mjs +62 -0
  300. package/dist/components/table/ElmTable.vue3.mjs +27 -0
  301. package/dist/components/table/ElmTableBody.vue.d.ts +22 -0
  302. package/dist/components/table/ElmTableBody.vue.mjs +15 -0
  303. package/dist/components/table/ElmTableBody.vue2.mjs +4 -0
  304. package/dist/components/table/ElmTableCell.vue.d.ts +33 -0
  305. package/dist/components/table/ElmTableCell.vue.mjs +10 -0
  306. package/dist/components/table/ElmTableCell.vue2.mjs +28 -0
  307. package/dist/components/table/ElmTableCell.vue3.mjs +26 -0
  308. package/dist/components/table/ElmTableHeader.vue.d.ts +22 -0
  309. package/dist/components/table/ElmTableHeader.vue.mjs +10 -0
  310. package/dist/components/table/ElmTableHeader.vue2.mjs +17 -0
  311. package/dist/components/table/ElmTableHeader.vue3.mjs +20 -0
  312. package/dist/components/table/ElmTableRow.vue.d.ts +22 -0
  313. package/dist/components/table/ElmTableRow.vue.mjs +10 -0
  314. package/dist/components/table/ElmTableRow.vue2.mjs +20 -0
  315. package/dist/components/table/ElmTableRow.vue3.mjs +21 -0
  316. package/dist/components/template/ElmTemplate.stories.d.ts +6 -0
  317. package/dist/components/template/ElmTemplate.vue.d.ts +4 -0
  318. package/dist/components/typography/ElmBlockQuote.stories.d.ts +6 -0
  319. package/dist/components/typography/ElmBlockQuote.vue.d.ts +24 -0
  320. package/dist/components/typography/ElmBlockQuote.vue.mjs +10 -0
  321. package/dist/components/typography/ElmBlockQuote.vue2.mjs +64 -0
  322. package/dist/components/typography/ElmBlockQuote.vue3.mjs +26 -0
  323. package/dist/components/typography/ElmCallout.stories.d.ts +11 -0
  324. package/dist/components/typography/ElmCallout.vue.d.ts +30 -0
  325. package/dist/components/typography/ElmCallout.vue.mjs +10 -0
  326. package/dist/components/typography/ElmCallout.vue2.mjs +58 -0
  327. package/dist/components/typography/ElmCallout.vue3.mjs +23 -0
  328. package/dist/components/typography/ElmDivider.stories.d.ts +6 -0
  329. package/dist/components/typography/ElmDivider.vue.d.ts +11 -0
  330. package/dist/components/typography/ElmDivider.vue.mjs +10 -0
  331. package/dist/components/typography/ElmDivider.vue2.mjs +29 -0
  332. package/dist/components/typography/ElmDivider.vue3.mjs +20 -0
  333. package/dist/components/typography/ElmFragmentIdentifier.stories.d.ts +6 -0
  334. package/dist/components/typography/ElmFragmentIdentifier.vue.d.ts +8 -0
  335. package/dist/components/typography/ElmFragmentIdentifier.vue.mjs +10 -0
  336. package/dist/components/typography/ElmFragmentIdentifier.vue2.mjs +27 -0
  337. package/dist/components/typography/ElmFragmentIdentifier.vue3.mjs +20 -0
  338. package/dist/components/typography/ElmHeading.stories.d.ts +7 -0
  339. package/dist/components/typography/ElmHeading.vue.d.ts +49 -0
  340. package/dist/components/typography/ElmHeading.vue.mjs +10 -0
  341. package/dist/components/typography/ElmHeading.vue2.mjs +95 -0
  342. package/dist/components/typography/ElmHeading.vue3.mjs +39 -0
  343. package/dist/components/typography/ElmInlineText.stories.d.ts +12 -0
  344. package/dist/components/typography/ElmInlineText.vue.d.ts +85 -0
  345. package/dist/components/typography/ElmInlineText.vue.mjs +10 -0
  346. package/dist/components/typography/ElmInlineText.vue2.mjs +158 -0
  347. package/dist/components/typography/ElmInlineText.vue3.mjs +35 -0
  348. package/dist/components/typography/ElmList.stories.d.ts +8 -0
  349. package/dist/components/typography/ElmList.vue.d.ts +31 -0
  350. package/dist/components/typography/ElmList.vue.mjs +36 -0
  351. package/dist/components/typography/ElmList.vue3.mjs +17 -0
  352. package/dist/components/typography/ElmParagraph.stories.d.ts +6 -0
  353. package/dist/components/typography/ElmParagraph.vue.d.ts +23 -0
  354. package/dist/components/typography/ElmParagraph.vue.mjs +10 -0
  355. package/dist/components/typography/ElmParagraph.vue2.mjs +27 -0
  356. package/dist/components/typography/ElmParagraph.vue3.mjs +20 -0
  357. package/dist/components/typography/ElmTypingAnimation.stories.d.ts +6 -0
  358. package/dist/components/typography/ElmTypingAnimation.vue.d.ts +21 -0
  359. package/dist/components/typography/ElmTypingAnimation.vue.mjs +10 -0
  360. package/dist/components/typography/ElmTypingAnimation.vue2.mjs +49 -0
  361. package/dist/components/typography/ElmTypingAnimation.vue3.mjs +26 -0
  362. package/dist/hooks/useElmethisTheme.d.ts +4 -0
  363. package/dist/hooks/useElmethisTheme.mjs +43 -0
  364. package/dist/hooks/useTyping.d.ts +17 -0
  365. package/dist/hooks/useTyping.mjs +37 -0
  366. package/dist/index.d.ts +120 -0
  367. package/dist/index.mjs +137 -0
  368. package/dist/node_modules/.pnpm/marked@16.4.1/node_modules/marked/lib/marked.esm.mjs +1099 -0
  369. package/dist/styles/heading.module.scss.mjs +20 -0
  370. package/dist/styles/text.module.scss.mjs +20 -0
  371. package/dist/styles/transition-fade.module.scss.mjs +27 -0
  372. package/package.json +62 -0
@@ -0,0 +1,147 @@
1
+ import { defineComponent, h, createElementBlock, openBlock, normalizeStyle, normalizeClass, createVNode, Transition, unref, withCtx, createBlock, resolveDynamicComponent } from "vue";
2
+ import ElmMdiIcon from "./ElmMdiIcon.vue.mjs";
3
+ import { mdiCodeJson } from "@mdi/js";
4
+ import fadeStyle from "../../styles/transition-fade.module.scss.mjs";
5
+ import _sfc_main$h from "./languages/Rust.vue.mjs";
6
+ import _sfc_main$g from "./languages/Javascript.vue.mjs";
7
+ import _sfc_main$f from "./languages/Typescript.vue.mjs";
8
+ import Bash from "./languages/Bash.vue.mjs";
9
+ import _sfc_main$e from "./languages/Terraform.vue.mjs";
10
+ import _sfc_main$d from "./languages/Html.vue.mjs";
11
+ import _sfc_main$c from "./languages/Css.vue.mjs";
12
+ import _sfc_main$b from "./languages/Npm.vue.mjs";
13
+ import _sfc_main$a from "./languages/Java.vue.mjs";
14
+ import _sfc_main$9 from "./languages/Kotlin.vue.mjs";
15
+ import _sfc_main$8 from "./languages/Go.vue.mjs";
16
+ import _sfc_main$7 from "./languages/Python.vue.mjs";
17
+ import _sfc_main$6 from "./languages/Sql.vue.mjs";
18
+ import _sfc_main$5 from "./languages/Json.vue.mjs";
19
+ import _sfc_main$4 from "./languages/Lua.vue.mjs";
20
+ import _sfc_main$3 from "./languages/Csharp.vue.mjs";
21
+ import _sfc_main$2 from "./languages/Cplusplus.vue.mjs";
22
+ import _sfc_main$1 from "./languages/C.vue.mjs";
23
+ const _sfc_main = /* @__PURE__ */ defineComponent({
24
+ __name: "ElmLanguageIcon",
25
+ props: {
26
+ size: { default: 24 },
27
+ language: {}
28
+ },
29
+ setup(__props) {
30
+ const normalizeLanguage = (language) => {
31
+ switch (language) {
32
+ case "rust":
33
+ case "rs":
34
+ return "rust";
35
+ case "javascript":
36
+ case "js":
37
+ return "javascript";
38
+ case "typescript":
39
+ case "ts":
40
+ return "typescript";
41
+ case "bash":
42
+ case "sh":
43
+ case "shell":
44
+ return "shell";
45
+ case "tf":
46
+ case "terraform":
47
+ case "hcl":
48
+ return "terraform";
49
+ case "html":
50
+ case "html5":
51
+ return "html";
52
+ case "css":
53
+ case "css3":
54
+ return "css";
55
+ case "npm":
56
+ return "npm";
57
+ case "java":
58
+ return "java";
59
+ case "kotlin":
60
+ case "kt":
61
+ return "kotlin";
62
+ case "go":
63
+ case "golang":
64
+ return "go";
65
+ case "python":
66
+ case "py":
67
+ return "python";
68
+ case "sql":
69
+ return "sql";
70
+ case "json":
71
+ return "json";
72
+ case "lua":
73
+ return "lua";
74
+ case "cs":
75
+ case "c#":
76
+ case "csharp":
77
+ return "csharp";
78
+ case "cpp":
79
+ case "c++":
80
+ return "cpp";
81
+ case "c":
82
+ case "clang":
83
+ return "c";
84
+ default:
85
+ return "file";
86
+ }
87
+ };
88
+ const props = __props;
89
+ const Fallback = h(ElmMdiIcon, {
90
+ d: mdiCodeJson,
91
+ size: props.size ? `${props.size}px` : void 0
92
+ });
93
+ const defineIcon = (component) => h(component, props);
94
+ const ICON_MAP = {
95
+ rust: defineIcon(_sfc_main$h),
96
+ javascript: defineIcon(_sfc_main$g),
97
+ typescript: defineIcon(_sfc_main$f),
98
+ shell: defineIcon(Bash),
99
+ terraform: defineIcon(_sfc_main$e),
100
+ html: defineIcon(_sfc_main$d),
101
+ css: defineIcon(_sfc_main$c),
102
+ npm: defineIcon(_sfc_main$b),
103
+ java: defineIcon(_sfc_main$a),
104
+ kotlin: defineIcon(_sfc_main$9),
105
+ go: defineIcon(_sfc_main$8),
106
+ python: defineIcon(_sfc_main$7),
107
+ sql: defineIcon(_sfc_main$6),
108
+ json: defineIcon(_sfc_main$5),
109
+ lua: defineIcon(_sfc_main$4),
110
+ csharp: defineIcon(_sfc_main$3),
111
+ cpp: defineIcon(_sfc_main$2),
112
+ c: defineIcon(_sfc_main$1),
113
+ file: h(Fallback)
114
+ };
115
+ const render = () => {
116
+ const normalizedLanguage = normalizeLanguage(props.language);
117
+ return ICON_MAP[normalizedLanguage];
118
+ };
119
+ return (_ctx, _cache) => {
120
+ return openBlock(), createElementBlock("div", {
121
+ class: normalizeClass(_ctx.$style.block),
122
+ style: normalizeStyle({ "--size": __props.size })
123
+ }, [
124
+ createVNode(Transition, {
125
+ mode: "out-in",
126
+ "enter-from-class": unref(fadeStyle)["fade-enter-from"],
127
+ "enter-active-class": unref(fadeStyle)["fade-enter-active"],
128
+ "enter-to-class": unref(fadeStyle)["fade-enter-to"],
129
+ "leave-from-class": unref(fadeStyle)["fade-leave-from"],
130
+ "leave-active-class": unref(fadeStyle)["fade-leave-active"],
131
+ "leave-to-class": unref(fadeStyle)["fade-leave-to"]
132
+ }, {
133
+ default: withCtx(() => [
134
+ (openBlock(), createBlock(resolveDynamicComponent(render()), {
135
+ class: normalizeClass(_ctx.$style.icon),
136
+ key: __props.language
137
+ }, null, 8, ["class"]))
138
+ ]),
139
+ _: 1
140
+ }, 8, ["enter-from-class", "enter-active-class", "enter-to-class", "leave-from-class", "leave-active-class", "leave-to-class"])
141
+ ], 6);
142
+ };
143
+ }
144
+ });
145
+ export {
146
+ _sfc_main as default
147
+ };
@@ -0,0 +1,20 @@
1
+ (function() {
2
+ "use strict";
3
+ try {
4
+ if (typeof document != "undefined") {
5
+ var elementStyle = document.createElement("style");
6
+ elementStyle.appendChild(document.createTextNode("._block_1kc6l_1{box-sizing:border-box;display:inline-block;height:var(--size);width:var(--size)}"));
7
+ document.head.appendChild(elementStyle);
8
+ }
9
+ } catch (e) {
10
+ console.error("vite-plugin-css-injected-by-js", e);
11
+ }
12
+ })();
13
+ const block = "_block_1kc6l_1";
14
+ const style0 = {
15
+ block
16
+ };
17
+ export {
18
+ block,
19
+ style0 as default
20
+ };
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/vue3-vite';
2
+ import { default as ElmLoginIcon } from './ElmLoginIcon.vue';
3
+ declare const meta: Meta<typeof ElmLoginIcon>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
@@ -0,0 +1,18 @@
1
+ export interface ElmLoginIconProps {
2
+ /**
3
+ * Specifies the width of the icon.
4
+ */
5
+ size?: string;
6
+ /**
7
+ * Specifies whether the icon is for login or logout.
8
+ */
9
+ isLogin?: boolean;
10
+ /**
11
+ * Specifies whether the icon is loading.
12
+ */
13
+ isLoading?: boolean;
14
+ }
15
+ declare const _default: import('vue').DefineComponent<ElmLoginIconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmLoginIconProps> & Readonly<{}>, {
16
+ size: string;
17
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
18
+ export default _default;
@@ -0,0 +1,10 @@
1
+ import _sfc_main from "./ElmLoginIcon.vue2.mjs";
2
+ import style0 from "./ElmLoginIcon.vue3.mjs";
3
+ import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
4
+ const cssModules = {
5
+ "$style": style0
6
+ };
7
+ const ElmLoginIcon = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
8
+ export {
9
+ ElmLoginIcon as default
10
+ };
@@ -0,0 +1,36 @@
1
+ import { defineComponent, createBlock, openBlock, withCtx, createVNode, unref, normalizeClass } from "vue";
2
+ import ElmTooltip from "../containments/ElmTooltip.vue.mjs";
3
+ import ElmInlineText from "../typography/ElmInlineText.vue.mjs";
4
+ import ElmMdiIcon from "./ElmMdiIcon.vue.mjs";
5
+ import { mdiLoading, mdiLogoutVariant, mdiLoginVariant } from "@mdi/js";
6
+ const _sfc_main = /* @__PURE__ */ defineComponent({
7
+ __name: "ElmLoginIcon",
8
+ props: {
9
+ size: { default: "2rem" },
10
+ isLogin: { type: Boolean },
11
+ isLoading: { type: Boolean }
12
+ },
13
+ setup(__props) {
14
+ return (_ctx, _cache) => {
15
+ return openBlock(), createBlock(ElmTooltip, null, {
16
+ original: withCtx(() => [
17
+ createVNode(ElmMdiIcon, {
18
+ class: normalizeClass(_ctx.$style.icon),
19
+ d: __props.isLoading ? unref(mdiLoading) : __props.isLogin ? unref(mdiLogoutVariant) : unref(mdiLoginVariant),
20
+ color: __props.isLoading ? "gray" : __props.isLogin ? "#b36472" : "#6987b8",
21
+ size: __props.size
22
+ }, null, 8, ["class", "d", "color", "size"])
23
+ ]),
24
+ tooltip: withCtx(() => [
25
+ createVNode(ElmInlineText, {
26
+ text: __props.isLoading ? "Loading..." : __props.isLogin ? "Logout" : "Login"
27
+ }, null, 8, ["text"])
28
+ ]),
29
+ _: 1
30
+ });
31
+ };
32
+ }
33
+ });
34
+ export {
35
+ _sfc_main as default
36
+ };
@@ -0,0 +1,20 @@
1
+ (function() {
2
+ "use strict";
3
+ try {
4
+ if (typeof document != "undefined") {
5
+ var elementStyle = document.createElement("style");
6
+ elementStyle.appendChild(document.createTextNode("._icon_qdybm_1{box-sizing:border-box;padding:.25rem;border-radius:.25rem;cursor:pointer;transition:background-color .2s}._icon_qdybm_1:hover{background-color:#0000001a}[data-theme=dark] ._icon_qdybm_1:hover{background-color:#ffffff1a}"));
7
+ document.head.appendChild(elementStyle);
8
+ }
9
+ } catch (e) {
10
+ console.error("vite-plugin-css-injected-by-js", e);
11
+ }
12
+ })();
13
+ const icon = "_icon_qdybm_1";
14
+ const style0 = {
15
+ icon
16
+ };
17
+ export {
18
+ style0 as default,
19
+ icon
20
+ };
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/vue3-vite';
2
+ import { default as ElmMdiIcon } from './ElmMdiIcon.vue';
3
+ declare const meta: Meta<typeof ElmMdiIcon>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
@@ -0,0 +1,11 @@
1
+ export interface ElmMdiIconProps {
2
+ size?: string;
3
+ d: string;
4
+ color?: string;
5
+ lightColor?: string;
6
+ darkColor?: string;
7
+ }
8
+ declare const _default: import('vue').DefineComponent<ElmMdiIconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmMdiIconProps> & Readonly<{}>, {
9
+ size: string;
10
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, SVGSVGElement>;
11
+ export default _default;
@@ -0,0 +1,10 @@
1
+ import _sfc_main from "./ElmMdiIcon.vue2.mjs";
2
+ import style0 from "./ElmMdiIcon.vue3.mjs";
3
+ import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
4
+ const cssModules = {
5
+ "$style": style0
6
+ };
7
+ const ElmMdiIcon = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
8
+ export {
9
+ ElmMdiIcon as default
10
+ };
@@ -0,0 +1,34 @@
1
+ import { defineComponent, createElementBlock, openBlock, normalizeStyle, normalizeClass, createElementVNode } from "vue";
2
+ const _hoisted_1 = ["width", "height"];
3
+ const _hoisted_2 = ["d"];
4
+ const _sfc_main = /* @__PURE__ */ defineComponent({
5
+ __name: "ElmMdiIcon",
6
+ props: {
7
+ size: { default: "1em" },
8
+ d: {},
9
+ color: {},
10
+ lightColor: {},
11
+ darkColor: {}
12
+ },
13
+ setup(__props) {
14
+ return (_ctx, _cache) => {
15
+ return openBlock(), createElementBlock("svg", {
16
+ viewBox: "0 0 24 24",
17
+ width: __props.size,
18
+ height: __props.size,
19
+ focusable: "false",
20
+ role: "img",
21
+ class: normalizeClass(_ctx.$style.icon),
22
+ style: normalizeStyle({
23
+ "--color": __props.lightColor ?? __props.color,
24
+ "--dark-color": __props.darkColor ?? __props.color
25
+ })
26
+ }, [
27
+ createElementVNode("path", { d: __props.d }, null, 8, _hoisted_2)
28
+ ], 14, _hoisted_1);
29
+ };
30
+ }
31
+ });
32
+ export {
33
+ _sfc_main as default
34
+ };
@@ -0,0 +1,20 @@
1
+ (function() {
2
+ "use strict";
3
+ try {
4
+ if (typeof document != "undefined") {
5
+ var elementStyle = document.createElement("style");
6
+ elementStyle.appendChild(document.createTextNode("._icon_1gvln_1{fill:#555b67;fill:var(--color, #555b67);transition:fill .2s}[data-theme=dark] ._icon_1gvln_1{fill:#b0b5be;fill:var(--dark-color, #b0b5be)}"));
7
+ document.head.appendChild(elementStyle);
8
+ }
9
+ } catch (e) {
10
+ console.error("vite-plugin-css-injected-by-js", e);
11
+ }
12
+ })();
13
+ const icon = "_icon_1gvln_1";
14
+ const style0 = {
15
+ icon
16
+ };
17
+ export {
18
+ style0 as default,
19
+ icon
20
+ };
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/vue3-vite';
2
+ import { default as ElmSquareLoadingIcon } from './ElmSquareLoadingIcon.vue';
3
+ declare const meta: Meta<typeof ElmSquareLoadingIcon>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
@@ -0,0 +1,10 @@
1
+ import { Property } from 'csstype';
2
+ export interface ElmSquareLoadingIconProps {
3
+ size?: Property.Width;
4
+ dimensions?: number;
5
+ }
6
+ declare const _default: import('vue').DefineComponent<ElmSquareLoadingIconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmSquareLoadingIconProps> & Readonly<{}>, {
7
+ size: Property.Width;
8
+ dimensions: number;
9
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
10
+ export default _default;
@@ -0,0 +1,10 @@
1
+ import _sfc_main from "./ElmSquareLoadingIcon.vue2.mjs";
2
+ import style0 from "./ElmSquareLoadingIcon.vue3.mjs";
3
+ import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
4
+ const cssModules = {
5
+ "$style": style0
6
+ };
7
+ const ElmSquareLoadingIcon = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
8
+ export {
9
+ ElmSquareLoadingIcon as default
10
+ };
@@ -0,0 +1,37 @@
1
+ import { defineComponent, createElementBlock, openBlock, normalizeStyle, normalizeClass, Fragment, renderList } from "vue";
2
+ const DURATION = 1200;
3
+ const _sfc_main = /* @__PURE__ */ defineComponent({
4
+ __name: "ElmSquareLoadingIcon",
5
+ props: {
6
+ size: { default: "3rem" },
7
+ dimensions: { default: 4 }
8
+ },
9
+ setup(__props) {
10
+ const props = __props;
11
+ const DELAY = DURATION / (props.dimensions * 3);
12
+ return (_ctx, _cache) => {
13
+ return openBlock(), createElementBlock("div", {
14
+ class: normalizeClass(_ctx.$style.wrapper),
15
+ style: normalizeStyle({
16
+ "--size": __props.size,
17
+ "--dimensions": __props.dimensions,
18
+ "--duration": `${DURATION}ms`
19
+ })
20
+ }, [
21
+ (openBlock(true), createElementBlock(Fragment, null, renderList(new Array(__props.dimensions).fill(null), (_, rowIndex) => {
22
+ return openBlock(), createElementBlock(Fragment, null, [
23
+ (openBlock(true), createElementBlock(Fragment, null, renderList(new Array(__props.dimensions).fill(null), (_2, columnIndex) => {
24
+ return openBlock(), createElementBlock("div", {
25
+ class: normalizeClass(_ctx.$style.square),
26
+ style: normalizeStyle({ "--delay": `${DELAY * (rowIndex + columnIndex)}ms` })
27
+ }, null, 6);
28
+ }), 256))
29
+ ], 64);
30
+ }), 256))
31
+ ], 6);
32
+ };
33
+ }
34
+ });
35
+ export {
36
+ _sfc_main as default
37
+ };
@@ -0,0 +1,26 @@
1
+ (function() {
2
+ "use strict";
3
+ try {
4
+ if (typeof document != "undefined") {
5
+ var elementStyle = document.createElement("style");
6
+ elementStyle.appendChild(document.createTextNode("@keyframes _appear_13xd3_1{0%{transform:scale(0)}20%{transform:scale(0)}80%{transform:scale(1)}to{transform:scale(1)}}._wrapper_13xd3_15{margin:0;padding:0;display:grid;grid-template-columns:repeat(var(--dimensions),auto);grid-template-rows:repeat(var(--dimensions),auto);justify-content:start}._square_13xd3_24{width:calc(var(--size) / var(--dimensions));height:calc(var(--size) / var(--dimensions));animation-name:_appear_13xd3_1;animation-iteration-count:infinite;animation-fill-mode:both;animation-direction:alternate;animation-duration:var(--duration);animation-delay:var(--delay);background-color:#606875}[data-theme=dark] ._square_13xd3_24{background-color:#b0b5be}"));
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_13xd3_15";
14
+ const square = "_square_13xd3_24";
15
+ const appear = "_appear_13xd3_1";
16
+ const style0 = {
17
+ wrapper,
18
+ square,
19
+ appear
20
+ };
21
+ export {
22
+ appear,
23
+ style0 as default,
24
+ square,
25
+ wrapper
26
+ };
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/vue3-vite';
2
+ import { default as ElmToggleTheme } from './ElmToggleTheme.vue';
3
+ declare const meta: Meta<typeof ElmToggleTheme>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
@@ -0,0 +1,11 @@
1
+ import { Property } from 'csstype';
2
+ export interface ElmToggleThemeProps {
3
+ /**
4
+ * Specifies the size of the dot.
5
+ */
6
+ size?: Property.Width<string | number>;
7
+ }
8
+ declare const _default: import('vue').DefineComponent<ElmToggleThemeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmToggleThemeProps> & Readonly<{}>, {
9
+ size: Property.Width<string | number>;
10
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
+ export default _default;
@@ -0,0 +1,10 @@
1
+ import _sfc_main from "./ElmToggleTheme.vue2.mjs";
2
+ import style0 from "./ElmToggleTheme.vue3.mjs";
3
+ import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
4
+ const cssModules = {
5
+ "$style": style0
6
+ };
7
+ const ElmToggleTheme = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
8
+ export {
9
+ ElmToggleTheme as default
10
+ };
@@ -0,0 +1,41 @@
1
+ import { defineComponent, createElementBlock, unref, openBlock, normalizeClass, createStaticVNode } from "vue";
2
+ import { useElmethisTheme } from "../../hooks/useElmethisTheme.mjs";
3
+ const _hoisted_1 = ["width", "height"];
4
+ const _hoisted_2 = ["width", "height"];
5
+ const _sfc_main = /* @__PURE__ */ defineComponent({
6
+ __name: "ElmToggleTheme",
7
+ props: {
8
+ size: { default: "2rem" }
9
+ },
10
+ setup(__props) {
11
+ const { isDarkTheme, toggleTheme } = useElmethisTheme();
12
+ return (_ctx, _cache) => {
13
+ return !unref(isDarkTheme) ? (openBlock(), createElementBlock("svg", {
14
+ key: 0,
15
+ xmlns: "http://www.w3.org/2000/svg",
16
+ width: __props.size,
17
+ height: __props.size,
18
+ viewBox: "0 0 24 24",
19
+ class: normalizeClass(_ctx.$style.icon),
20
+ onClick: _cache[0] || (_cache[0] = //@ts-ignore
21
+ (...args) => unref(toggleTheme) && unref(toggleTheme)(...args))
22
+ }, [..._cache[2] || (_cache[2] = [
23
+ createStaticVNode('<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path stroke-dasharray="2" stroke-dashoffset="2" d="M12 19v1M19 12h1M12 5v-1M5 12h-1"><animate fill="freeze" attributeName="d" begin="1.2s" dur="0.2s" values="M12 19v1M19 12h1M12 5v-1M5 12h-1;M12 21v1M21 12h1M12 3v-1M3 12h-1"></animate><animate fill="freeze" attributeName="stroke-dashoffset" begin="1.2s" dur="0.2s" values="2;0"></animate></path><path stroke-dasharray="2" stroke-dashoffset="2" d="M17 17l0.5 0.5M17 7l0.5 -0.5M7 7l-0.5 -0.5M7 17l-0.5 0.5"><animate fill="freeze" attributeName="d" begin="1.4s" dur="0.2s" values="M17 17l0.5 0.5M17 7l0.5 -0.5M7 7l-0.5 -0.5M7 17l-0.5 0.5;M18.5 18.5l0.5 0.5M18.5 5.5l0.5 -0.5M5.5 5.5l-0.5 -0.5M5.5 18.5l-0.5 0.5"></animate><animate fill="freeze" attributeName="stroke-dashoffset" begin="1.4s" dur="0.2s" values="2;0"></animate></path><animateTransform attributeName="transform" dur="30s" repeatCount="indefinite" type="rotate" values="0 12 12;360 12 12"></animateTransform></g><g fill="currentColor"><path d="M15.22 6.03L17.75 4.09L14.56 4L13.5 1L12.44 4L9.25 4.09L11.78 6.03L10.87 9.09L13.5 7.28L16.13 9.09L15.22 6.03Z"><animate fill="freeze" attributeName="fill-opacity" dur="0.4s" values="1;0"></animate></path><path d="M19.61 12.25L21.25 11L19.19 10.95L18.5 9L17.81 10.95L15.75 11L17.39 12.25L16.8 14.23L18.5 13.06L20.2 14.23L19.61 12.25Z"><animate fill="freeze" attributeName="fill-opacity" begin="0.2s" dur="0.4s" values="1;0"></animate></path></g><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 6 C7 12.08 11.92 17 18 17 C18.53 17 19.05 16.96 19.56 16.89 C17.95 19.36 15.17 21 12 21 C7.03 21 3 16.97 3 12 C3 8.83 4.64 6.05 7.11 4.44 C7.04 4.95 7 5.47 7 6 Z"><set fill="freeze" attributeName="opacity" begin="0.6s" to="0"></set></path><mask id="lineMdMoonToSunnyOutlineLoopTransition0"><circle cx="12" cy="12" r="12" fill="#fff"></circle><circle cx="12" cy="12" r="8"><animate fill="freeze" attributeName="r" begin="0.6s" dur="0.4s" values="8;4"></animate></circle><circle cx="18" cy="6" r="12" fill="#fff"><animate fill="freeze" attributeName="cx" begin="0.6s" dur="0.4s" values="18;22"></animate><animate fill="freeze" attributeName="cy" begin="0.6s" dur="0.4s" values="6;2"></animate><animate fill="freeze" attributeName="r" begin="0.6s" dur="0.4s" values="12;3"></animate></circle><circle cx="18" cy="6" r="10"><animate fill="freeze" attributeName="cx" begin="0.6s" dur="0.4s" values="18;22"></animate><animate fill="freeze" attributeName="cy" begin="0.6s" dur="0.4s" values="6;2"></animate><animate fill="freeze" attributeName="r" begin="0.6s" dur="0.4s" values="10;1"></animate></circle></mask><circle cx="12" cy="12" r="10" mask="url(#lineMdMoonToSunnyOutlineLoopTransition0)" opacity="0" fill="currentColor"><animate fill="freeze" attributeName="r" begin="0.6s" dur="0.4s" values="10;6"></animate><set fill="freeze" attributeName="opacity" begin="0.6s" to="1"></set></circle>', 5)
24
+ ])], 10, _hoisted_1)) : (openBlock(), createElementBlock("svg", {
25
+ key: 1,
26
+ xmlns: "http://www.w3.org/2000/svg",
27
+ width: __props.size,
28
+ height: __props.size,
29
+ viewBox: "0 0 24 24",
30
+ class: normalizeClass(_ctx.$style.icon),
31
+ onClick: _cache[1] || (_cache[1] = //@ts-ignore
32
+ (...args) => unref(toggleTheme) && unref(toggleTheme)(...args))
33
+ }, [..._cache[3] || (_cache[3] = [
34
+ createStaticVNode('<path fill-opacity="0" d="M15.22 6.03l2.53-1.94L14.56 4L13.5 1l-1.06 3l-3.19.09l2.53 1.94l-.91 3.06l2.63-1.81l2.63 1.81z" fill="currentColor"><animate id="lineMdSunnyOutlineToMoonLoopTransition0" fill="freeze" attributeName="fill-opacity" begin="0.6s;lineMdSunnyOutlineToMoonLoopTransition0.begin+6s" dur="0.4s" values="0;1"></animate><animate fill="freeze" attributeName="fill-opacity" begin="lineMdSunnyOutlineToMoonLoopTransition0.begin+2.2s" dur="0.4s" values="1;0"></animate></path><path fill-opacity="0" d="M13.61 5.25L15.25 4l-2.06-.05L12.5 2l-.69 1.95L9.75 4l1.64 1.25l-.59 1.98l1.7-1.17l1.7 1.17z" fill="currentColor"><animate fill="freeze" attributeName="fill-opacity" begin="lineMdSunnyOutlineToMoonLoopTransition0.begin+3s" dur="0.4s" values="0;1"></animate><animate fill="freeze" attributeName="fill-opacity" begin="lineMdSunnyOutlineToMoonLoopTransition0.begin+5.2s" dur="0.4s" values="1;0"></animate></path><path fill-opacity="0" d="M19.61 12.25L21.25 11l-2.06-.05L18.5 9l-.69 1.95l-2.06.05l1.64 1.25l-.59 1.98l1.7-1.17l1.7 1.17z" fill="currentColor"><animate fill="freeze" attributeName="fill-opacity" begin="lineMdSunnyOutlineToMoonLoopTransition0.begin+0.4s" dur="0.4s" values="0;1"></animate><animate fill="freeze" attributeName="fill-opacity" begin="lineMdSunnyOutlineToMoonLoopTransition0.begin+2.8s" dur="0.4s" values="1;0"></animate></path><path fill-opacity="0" d="M20.828 9.731l1.876-1.439l-2.366-.067L19.552 6l-.786 2.225l-2.366.067l1.876 1.439L17.601 12l1.951-1.342L21.503 12z" fill="currentColor"><animate fill="freeze" attributeName="fill-opacity" begin="lineMdSunnyOutlineToMoonLoopTransition0.begin+3.4s" dur="0.4s" values="0;1"></animate><animate fill="freeze" attributeName="fill-opacity" begin="lineMdSunnyOutlineToMoonLoopTransition0.begin+5.6s" dur="0.4s" values="1;0"></animate></path><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><g><path stroke-dasharray="2" stroke-dashoffset="4" d="M12 21v1M21 12h1M12 3v-1M3 12h-1"><animate fill="freeze" attributeName="stroke-dashoffset" dur="0.2s" values="4;2"></animate></path><path stroke-dasharray="2" stroke-dashoffset="4" d="M18.5 18.5l0.5 0.5M18.5 5.5l0.5 -0.5M5.5 5.5l-0.5 -0.5M5.5 18.5l-0.5 0.5"><animate fill="freeze" attributeName="stroke-dashoffset" begin="0.2s" dur="0.2s" values="4;2"></animate></path><set fill="freeze" attributeName="opacity" begin="0.5s" to="0"></set></g><path d="M7 6 C7 12.08 11.92 17 18 17 C18.53 17 19.05 16.96 19.56 16.89 C17.95 19.36 15.17 21 12 21 C7.03 21 3 16.97 3 12 C3 8.83 4.64 6.05 7.11 4.44 C7.04 4.95 7 5.47 7 6 Z" opacity="0"><set fill="freeze" attributeName="opacity" begin="0.5s" to="1"></set></path></g><mask id="lineMdSunnyOutlineToMoonLoopTransition1"><circle cx="12" cy="12" r="12" fill="#fff"></circle><circle cx="12" cy="12" r="4"><animate fill="freeze" attributeName="r" begin="0.1s" dur="0.4s" values="4;8"></animate></circle><circle cx="22" cy="2" r="3" fill="#fff"><animate fill="freeze" attributeName="cx" begin="0.1s" dur="0.4s" values="22;18"></animate><animate fill="freeze" attributeName="cy" begin="0.1s" dur="0.4s" values="2;6"></animate><animate fill="freeze" attributeName="r" begin="0.1s" dur="0.4s" values="3;12"></animate></circle><circle cx="22" cy="2" r="1"><animate fill="freeze" attributeName="cx" begin="0.1s" dur="0.4s" values="22;18"></animate><animate fill="freeze" attributeName="cy" begin="0.1s" dur="0.4s" values="2;6"></animate><animate fill="freeze" attributeName="r" begin="0.1s" dur="0.4s" values="1;10"></animate></circle></mask><circle cx="12" cy="12" r="6" mask="url(#lineMdSunnyOutlineToMoonLoopTransition1)" fill="currentColor"><animate fill="freeze" attributeName="r" begin="0.1s" dur="0.4s" values="6;10"></animate><set fill="freeze" attributeName="opacity" begin="0.5s" to="0"></set></circle>', 7)
35
+ ])], 10, _hoisted_2));
36
+ };
37
+ }
38
+ });
39
+ export {
40
+ _sfc_main as default
41
+ };
@@ -0,0 +1,20 @@
1
+ (function() {
2
+ "use strict";
3
+ try {
4
+ if (typeof document != "undefined") {
5
+ var elementStyle = document.createElement("style");
6
+ elementStyle.appendChild(document.createTextNode("._icon_17of1_1{box-sizing:border-box;padding:.25rem;color:#555b67;border-radius:50%;cursor:pointer;box-shadow:0 0 .125rem #0000004d;background-color:#fff3}[data-theme=dark] ._icon_17of1_1{box-shadow:0 0 .125rem #0009;background-color:#0003;box-sizing:border-box;padding:.25rem;color:#b0b5be;border-radius:50%;cursor:pointer}"));
7
+ document.head.appendChild(elementStyle);
8
+ }
9
+ } catch (e) {
10
+ console.error("vite-plugin-css-injected-by-js", e);
11
+ }
12
+ })();
13
+ const icon = "_icon_17of1_1";
14
+ const style0 = {
15
+ icon
16
+ };
17
+ export {
18
+ style0 as default,
19
+ icon
20
+ };
@@ -0,0 +1,7 @@
1
+ type __VLS_Props = {
2
+ size?: number;
3
+ };
4
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
5
+ size: number;
6
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, SVGSVGElement>;
7
+ export default _default;
@@ -0,0 +1,10 @@
1
+ import _sfc_main from "./Bash.vue2.mjs";
2
+ import style0 from "./Bash.vue3.mjs";
3
+ import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
4
+ const cssModules = {
5
+ "$style": style0
6
+ };
7
+ const Bash = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
8
+ export {
9
+ Bash as default
10
+ };
@@ -0,0 +1,34 @@
1
+ import { defineComponent, createElementBlock, openBlock, createElementVNode, normalizeClass } from "vue";
2
+ const _hoisted_1 = ["width", "height"];
3
+ const _sfc_main = /* @__PURE__ */ defineComponent({
4
+ __name: "Bash",
5
+ props: {
6
+ size: { default: 24 }
7
+ },
8
+ setup(__props) {
9
+ return (_ctx, _cache) => {
10
+ return openBlock(), createElementBlock("svg", {
11
+ xmlns: "http://www.w3.org/2000/svg",
12
+ viewBox: "0 0 128 128",
13
+ width: __props.size,
14
+ height: __props.size
15
+ }, [
16
+ _cache[0] || (_cache[0] = createElementVNode("path", {
17
+ fill: "none",
18
+ d: "M4.24 4.24h119.53v119.53H4.24z"
19
+ }, null, -1)),
20
+ createElementVNode("path", {
21
+ class: normalizeClass(_ctx.$style.path),
22
+ d: "M109.01 28.64L71.28 6.24c-2.25-1.33-4.77-2-7.28-2s-5.03.67-7.28 2.01l-37.74 22.4c-4.5 2.67-7.28 7.61-7.28 12.96v44.8c0 5.35 2.77 10.29 7.28 12.96l37.73 22.4c2.25 1.34 4.76 2 7.28 2c2.51 0 5.03-.67 7.28-2l37.74-22.4c4.5-2.67 7.28-7.62 7.28-12.96V41.6c0-5.34-2.77-10.29-7.28-12.96M79.79 98.59l.06 3.22c0 .39-.25.83-.55.99l-1.91 1.1c-.3.15-.56-.03-.56-.42l-.03-3.17c-1.63.68-3.29.84-4.34.42c-.2-.08-.29-.37-.21-.71l.69-2.91c.06-.23.18-.46.34-.6c.06-.06.12-.1.18-.13c.11-.06.22-.07.31-.03c1.14.38 2.59.2 3.99-.5c1.78-.9 2.97-2.72 2.95-4.52c-.02-1.64-.9-2.31-3.05-2.33c-2.74.01-5.3-.53-5.34-4.57c-.03-3.32 1.69-6.78 4.43-8.96l-.03-3.25c0-.4.24-.84.55-1l1.85-1.18c.3-.15.56.04.56.43l.03 3.25c1.36-.54 2.54-.69 3.61-.44c.23.06.34.38.24.75l-.72 2.88c-.06.22-.18.44-.33.58a.8.8 0 0 1-.19.14c-.1.05-.19.06-.28.05c-.49-.11-1.65-.36-3.48.56c-1.92.97-2.59 2.64-2.58 3.88c.02 1.48.77 1.93 3.39 1.97c3.49.06 4.99 1.58 5.03 5.09c.05 3.44-1.79 7.15-4.61 9.41m26.34-60.5l-35.7 22.05c-4.45 2.6-7.73 5.52-7.74 10.89v43.99c0 3.21 1.3 5.29 3.29 5.9c-.65.11-1.32.19-1.98.19c-2.09 0-4.15-.57-5.96-1.64l-37.73-22.4c-3.69-2.19-5.98-6.28-5.98-10.67V41.6c0-4.39 2.29-8.48 5.98-10.67l37.74-22.4c1.81-1.07 3.87-1.64 5.96-1.64s4.15.57 5.96 1.64l37.74 22.4c3.11 1.85 5.21 5.04 5.8 8.63c-1.27-2.67-4.09-3.39-7.38-1.47"
23
+ }, null, 2),
24
+ _cache[1] || (_cache[1] = createElementVNode("path", {
25
+ fill: "#4fa847",
26
+ d: "m99.12 90.73l-9.4 5.62c-.25.15-.43.31-.43.61v2.46c0 .3.2.43.45.28l9.54-5.8c.25-.15.29-.42.29-.72v-2.17c0-.3-.2-.42-.45-.28"
27
+ }, null, -1))
28
+ ], 8, _hoisted_1);
29
+ };
30
+ }
31
+ });
32
+ export {
33
+ _sfc_main as default
34
+ };
@@ -0,0 +1,20 @@
1
+ (function() {
2
+ "use strict";
3
+ try {
4
+ if (typeof document != "undefined") {
5
+ var elementStyle = document.createElement("style");
6
+ elementStyle.appendChild(document.createTextNode("._path_1ccs2_1{fill:#293138}[data-theme=dark] ._path_1ccs2_1{fill:#d2dbe3}"));
7
+ document.head.appendChild(elementStyle);
8
+ }
9
+ } catch (e) {
10
+ console.error("vite-plugin-css-injected-by-js", e);
11
+ }
12
+ })();
13
+ const path = "_path_1ccs2_1";
14
+ const style0 = {
15
+ path
16
+ };
17
+ export {
18
+ style0 as default,
19
+ path
20
+ };
@@ -0,0 +1,7 @@
1
+ type __VLS_Props = {
2
+ size?: number;
3
+ };
4
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
5
+ size: number;
6
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, SVGSVGElement>;
7
+ export default _default;