@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,55 @@
1
+ import { defineComponent, mergeModels, useModel, ref, onMounted, onServerPrefetch, createElementBlock, openBlock, normalizeClass, createElementVNode } from "vue";
2
+ import { getHighlighterSingleton } from "./shikiInstance.mjs";
3
+ const _hoisted_1 = ["innerHTML"];
4
+ const _sfc_main = /* @__PURE__ */ defineComponent({
5
+ __name: "ElmShikiHighlighter",
6
+ props: /* @__PURE__ */ mergeModels({
7
+ code: {},
8
+ language: { default: "txt" }
9
+ }, {
10
+ "modelValue": { type: Boolean, ...{ default: false } },
11
+ "modelModifiers": {}
12
+ }),
13
+ emits: ["update:modelValue"],
14
+ setup(__props) {
15
+ const props = __props;
16
+ const isRendered = useModel(__props, "modelValue");
17
+ const html = ref(`<pre>${props.code}</pre>`);
18
+ const render = async () => {
19
+ if (!isRendered.value) {
20
+ const highlighter = await getHighlighterSingleton();
21
+ try {
22
+ html.value = highlighter.codeToHtml(props.code, {
23
+ lang: props.language,
24
+ themes: {
25
+ dark: "vitesse-dark",
26
+ light: "vitesse-light"
27
+ },
28
+ colorReplacements: {
29
+ "#ffffff": "transparent",
30
+ "#121212": "transparent"
31
+ }
32
+ });
33
+ } catch {
34
+ } finally {
35
+ isRendered.value = true;
36
+ }
37
+ }
38
+ };
39
+ onMounted(render);
40
+ onServerPrefetch(render);
41
+ return (_ctx, _cache) => {
42
+ return openBlock(), createElementBlock("div", {
43
+ class: normalizeClass(_ctx.$style.code)
44
+ }, [
45
+ createElementVNode("div", {
46
+ class: "shiki",
47
+ innerHTML: html.value
48
+ }, null, 8, _hoisted_1)
49
+ ], 2);
50
+ };
51
+ }
52
+ });
53
+ export {
54
+ _sfc_main as default
55
+ };
@@ -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("._code_1pggw_1{font-size:16px;line-height:24px}"));
7
+ document.head.appendChild(elementStyle);
8
+ }
9
+ } catch (e) {
10
+ console.error("vite-plugin-css-injected-by-js", e);
11
+ }
12
+ })();
13
+ const code = "_code_1pggw_1";
14
+ const style0 = {
15
+ code
16
+ };
17
+ export {
18
+ code,
19
+ style0 as default
20
+ };
@@ -0,0 +1,2 @@
1
+ import { Highlighter } from 'shiki';
2
+ export declare function getHighlighterSingleton(): Promise<Highlighter>;
@@ -0,0 +1,76 @@
1
+ import { createHighlighter } from "shiki";
2
+ let highlighterPromise = null;
3
+ function getHighlighterSingleton() {
4
+ if (!highlighterPromise) {
5
+ highlighterPromise = createHighlighter({
6
+ langs: [
7
+ "abap",
8
+ "bash",
9
+ "c",
10
+ "clojure",
11
+ "coffeescript",
12
+ "c++",
13
+ "c#",
14
+ "css",
15
+ "dart",
16
+ "diff",
17
+ "docker",
18
+ "elixir",
19
+ "elm",
20
+ "erlang",
21
+ "f#",
22
+ "gherkin",
23
+ "glsl",
24
+ "go",
25
+ "graphql",
26
+ "groovy",
27
+ "haskell",
28
+ "html",
29
+ "java",
30
+ "javascript",
31
+ "json",
32
+ "julia",
33
+ "kotlin",
34
+ "latex",
35
+ "less",
36
+ "lisp",
37
+ "lua",
38
+ "makefile",
39
+ "markdown",
40
+ "matlab",
41
+ "mermaid",
42
+ "nix",
43
+ "objective-c",
44
+ "ocaml",
45
+ "pascal",
46
+ "perl",
47
+ "php",
48
+ "plaintext",
49
+ "powershell",
50
+ "prolog",
51
+ "protobuf",
52
+ "python",
53
+ "r",
54
+ "ruby",
55
+ "rust",
56
+ "sass",
57
+ "scala",
58
+ "scheme",
59
+ "scss",
60
+ "shell",
61
+ "sql",
62
+ "swift",
63
+ "toml",
64
+ "typescript",
65
+ "wasm",
66
+ "xml",
67
+ "yaml"
68
+ ],
69
+ themes: ["vitesse-light", "vitesse-dark"]
70
+ });
71
+ }
72
+ return highlighterPromise;
73
+ }
74
+ export {
75
+ getHighlighterSingleton
76
+ };
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/vue3-vite';
2
+ import { default as ElmColumnList } from './ElmColumnList.vue';
3
+ declare const meta: Meta<typeof ElmColumnList>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
@@ -0,0 +1,19 @@
1
+ export interface ElmColumnProps {
2
+ }
3
+ declare function __VLS_template(): {
4
+ attrs: Partial<{}>;
5
+ slots: {
6
+ default?(_: {}): any;
7
+ };
8
+ refs: {};
9
+ rootEl: HTMLDivElement;
10
+ };
11
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
+ declare const __VLS_component: import('vue').DefineComponent<ElmColumnProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmColumnProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
13
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
14
+ export default _default;
15
+ type __VLS_WithTemplateSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
@@ -0,0 +1,19 @@
1
+ export interface ElmColumnListProps {
2
+ }
3
+ declare function __VLS_template(): {
4
+ attrs: Partial<{}>;
5
+ slots: {
6
+ default?(_: {}): any;
7
+ };
8
+ refs: {};
9
+ rootEl: HTMLDivElement;
10
+ };
11
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
+ declare const __VLS_component: import('vue').DefineComponent<ElmColumnListProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmColumnListProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
13
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
14
+ export default _default;
15
+ type __VLS_WithTemplateSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/vue3-vite';
2
+ import { default as ElmConfirmModal } from './ElmConfirmModal.vue';
3
+ declare const meta: Meta<typeof ElmConfirmModal>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
@@ -0,0 +1,37 @@
1
+ import { VNode } from 'vue';
2
+ export interface ElmConfirmModalProps {
3
+ title: string;
4
+ closeOnClickOutside?: boolean;
5
+ onConfirm: () => void | Promise<void>;
6
+ onSuccess?: () => void;
7
+ onError?: (error: unknown) => void;
8
+ }
9
+ type __VLS_Props = ElmConfirmModalProps;
10
+ type __VLS_PublicProps = {
11
+ modelValue?: boolean;
12
+ } & __VLS_Props;
13
+ declare function __VLS_template(): {
14
+ attrs: Partial<{}>;
15
+ slots: Readonly<{
16
+ default?: () => VNode;
17
+ }> & {
18
+ default?: () => VNode;
19
+ };
20
+ refs: {};
21
+ rootEl: any;
22
+ };
23
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
24
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
25
+ "update:modelValue": (value: boolean) => any;
26
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
27
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
28
+ }>, {
29
+ closeOnClickOutside: boolean;
30
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
31
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
32
+ export default _default;
33
+ type __VLS_WithTemplateSlots<T, S> = T & {
34
+ new (): {
35
+ $slots: S;
36
+ };
37
+ };
@@ -0,0 +1,10 @@
1
+ import _sfc_main from "./ElmConfirmModal.vue2.mjs";
2
+ import style0 from "./ElmConfirmModal.vue3.mjs";
3
+ import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
4
+ const cssModules = {
5
+ "$style": style0
6
+ };
7
+ const ElmConfirmModal = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
8
+ export {
9
+ ElmConfirmModal as default
10
+ };
@@ -0,0 +1,98 @@
1
+ import { defineComponent, mergeModels, useModel, ref, createBlock, openBlock, withCtx, createElementVNode, createVNode, createTextVNode, toDisplayString, normalizeClass, renderSlot, unref } from "vue";
2
+ import ElmButton from "../form/ElmButton.vue.mjs";
3
+ import ElmMdiIcon from "../icon/ElmMdiIcon.vue.mjs";
4
+ import { mdiArrowLeft, mdiCheckCircle } from "@mdi/js";
5
+ import ElmHeading from "../typography/ElmHeading.vue.mjs";
6
+ import ElmModal from "./ElmModal.vue.mjs";
7
+ const _sfc_main = /* @__PURE__ */ defineComponent({
8
+ __name: "ElmConfirmModal",
9
+ props: /* @__PURE__ */ mergeModels({
10
+ title: {},
11
+ closeOnClickOutside: { type: Boolean, default: true },
12
+ onConfirm: {},
13
+ onSuccess: {},
14
+ onError: {}
15
+ }, {
16
+ "modelValue": { type: Boolean, ...{ default: false } },
17
+ "modelModifiers": {}
18
+ }),
19
+ emits: ["update:modelValue"],
20
+ setup(__props) {
21
+ const props = __props;
22
+ const isOpen = useModel(__props, "modelValue");
23
+ const loading = ref(false);
24
+ const handleConfirm = async () => {
25
+ loading.value = true;
26
+ try {
27
+ await props.onConfirm();
28
+ loading.value = false;
29
+ isOpen.value = false;
30
+ if (props.onSuccess) props.onSuccess();
31
+ } catch (e) {
32
+ if (props.onError) props.onError(e);
33
+ loading.value = false;
34
+ isOpen.value = false;
35
+ }
36
+ };
37
+ return (_ctx, _cache) => {
38
+ return openBlock(), createBlock(ElmModal, {
39
+ modelValue: isOpen.value,
40
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isOpen.value = $event),
41
+ "close-on-click-outside": __props.closeOnClickOutside
42
+ }, {
43
+ default: withCtx(() => [
44
+ createElementVNode("div", null, [
45
+ createVNode(ElmHeading, {
46
+ level: 2,
47
+ "disable-fragment-identifier": ""
48
+ }, {
49
+ default: withCtx(() => [
50
+ createTextVNode(toDisplayString(__props.title), 1)
51
+ ]),
52
+ _: 1
53
+ }),
54
+ createElementVNode("div", {
55
+ class: normalizeClass(_ctx.$style.body)
56
+ }, [
57
+ renderSlot(_ctx.$slots, "default")
58
+ ], 2),
59
+ createElementVNode("div", {
60
+ class: normalizeClass(_ctx.$style.button)
61
+ }, [
62
+ createVNode(ElmButton, {
63
+ block: "",
64
+ onClick: _cache[0] || (_cache[0] = ($event) => isOpen.value = false),
65
+ loading: loading.value
66
+ }, {
67
+ default: withCtx(() => [
68
+ createVNode(ElmMdiIcon, { d: unref(mdiArrowLeft) }, null, 8, ["d"]),
69
+ _cache[2] || (_cache[2] = createElementVNode("span", null, "Cancel", -1))
70
+ ]),
71
+ _: 1
72
+ }, 8, ["loading"]),
73
+ createVNode(ElmButton, {
74
+ block: "",
75
+ onClick: handleConfirm,
76
+ primary: "",
77
+ loading: loading.value
78
+ }, {
79
+ default: withCtx(() => [
80
+ createVNode(ElmMdiIcon, {
81
+ d: unref(mdiCheckCircle),
82
+ color: "currentColor"
83
+ }, null, 8, ["d"]),
84
+ _cache[3] || (_cache[3] = createElementVNode("span", null, " Confirm ", -1))
85
+ ]),
86
+ _: 1
87
+ }, 8, ["loading"])
88
+ ], 2)
89
+ ])
90
+ ]),
91
+ _: 3
92
+ }, 8, ["modelValue", "close-on-click-outside"]);
93
+ };
94
+ }
95
+ });
96
+ export {
97
+ _sfc_main as default
98
+ };
@@ -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("._body_1xnif_1{margin-block:3rem}._button_1xnif_5{width:100%;display:flex;flex-direction:row;gap:.5rem}"));
7
+ document.head.appendChild(elementStyle);
8
+ }
9
+ } catch (e) {
10
+ console.error("vite-plugin-css-injected-by-js", e);
11
+ }
12
+ })();
13
+ const body = "_body_1xnif_1";
14
+ const button = "_button_1xnif_5";
15
+ const style0 = {
16
+ body,
17
+ button
18
+ };
19
+ export {
20
+ body,
21
+ button,
22
+ style0 as default
23
+ };
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/vue3-vite';
2
+ import { default as ElmDesktopWindow } from './ElmDesktopWindow.vue';
3
+ declare const meta: Meta<typeof ElmDesktopWindow>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
@@ -0,0 +1,27 @@
1
+ import { Property } from 'csstype';
2
+ export interface ElmDesktopWindowProps {
3
+ /**
4
+ * The minimum height of the window.
5
+ * @default '6rem'
6
+ */
7
+ minHeight?: Property.MinHeight;
8
+ }
9
+ declare function __VLS_template(): {
10
+ attrs: Partial<{}>;
11
+ slots: {
12
+ default?(_: {}): any;
13
+ };
14
+ refs: {};
15
+ rootEl: HTMLDivElement;
16
+ };
17
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
+ declare const __VLS_component: import('vue').DefineComponent<ElmDesktopWindowProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmDesktopWindowProps> & Readonly<{}>, {
19
+ minHeight: Property.MinHeight;
20
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
21
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
22
+ export default _default;
23
+ type __VLS_WithTemplateSlots<T, S> = T & {
24
+ new (): {
25
+ $slots: S;
26
+ };
27
+ };
@@ -0,0 +1,10 @@
1
+ import _sfc_main from "./ElmDesktopWindow.vue2.mjs";
2
+ import style0 from "./ElmDesktopWindow.vue3.mjs";
3
+ import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
4
+ const cssModules = {
5
+ "$style": style0
6
+ };
7
+ const ElmDesktopWindow = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
8
+ export {
9
+ ElmDesktopWindow as default
10
+ };
@@ -0,0 +1,42 @@
1
+ import { defineComponent, createElementBlock, openBlock, normalizeClass, createElementVNode, normalizeStyle, renderSlot } from "vue";
2
+ const _sfc_main = /* @__PURE__ */ defineComponent({
3
+ __name: "ElmDesktopWindow",
4
+ props: {
5
+ minHeight: { default: "6rem" }
6
+ },
7
+ setup(__props) {
8
+ return (_ctx, _cache) => {
9
+ return openBlock(), createElementBlock("div", {
10
+ class: normalizeClass(_ctx.$style.window)
11
+ }, [
12
+ createElementVNode("div", {
13
+ class: normalizeClass(_ctx.$style.header)
14
+ }, [
15
+ createElementVNode("div", {
16
+ "aria-hidden": "",
17
+ class: normalizeClass(_ctx.$style.dot),
18
+ style: { "--bg": "#c48691" }
19
+ }, null, 2),
20
+ createElementVNode("div", {
21
+ "aria-hidden": "",
22
+ class: normalizeClass(_ctx.$style.dot),
23
+ style: { "--bg": "#c9b990" }
24
+ }, null, 2),
25
+ createElementVNode("div", {
26
+ "aria-hidden": "",
27
+ class: normalizeClass(_ctx.$style.dot),
28
+ style: { "--bg": "#7cc598" }
29
+ }, null, 2)
30
+ ], 2),
31
+ createElementVNode("div", {
32
+ style: normalizeStyle({ minHeight: __props.minHeight })
33
+ }, [
34
+ renderSlot(_ctx.$slots, "default")
35
+ ], 4)
36
+ ], 2);
37
+ };
38
+ }
39
+ });
40
+ export {
41
+ _sfc_main as default
42
+ };
@@ -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("._window_1y8zq_1{border-radius:.25rem;overflow:hidden;transition:background-color .4s;box-shadow:0 0 .25rem #00000026;background-color:#0000000d}[data-theme=dark] ._window_1y8zq_1{box-shadow:0 0 .25rem #00000059;background-color:#ffffff0d}._window_1y8zq_1 ._header_1y8zq_12{box-sizing:border-box;padding:.5rem .75rem;display:flex;justify-content:flex-start;align-items:center;gap:.5rem;height:2rem;background-color:#0000001a}._window_1y8zq_1 ._header_1y8zq_12 ._dot_1y8zq_22{width:.75rem;height:.75rem;border-radius:50%;background-color:var(--bg)}"));
7
+ document.head.appendChild(elementStyle);
8
+ }
9
+ } catch (e) {
10
+ console.error("vite-plugin-css-injected-by-js", e);
11
+ }
12
+ })();
13
+ const window = "_window_1y8zq_1";
14
+ const header = "_header_1y8zq_12";
15
+ const dot = "_dot_1y8zq_22";
16
+ const style0 = {
17
+ window,
18
+ header,
19
+ dot
20
+ };
21
+ export {
22
+ style0 as default,
23
+ dot,
24
+ header,
25
+ window
26
+ };
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/vue3-vite';
2
+ import { default as ElmModal } from './ElmModal.vue';
3
+ declare const meta: Meta<typeof ElmModal>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
@@ -0,0 +1,34 @@
1
+ import { VNode } from 'vue';
2
+ export interface ElmModalProps {
3
+ width?: string;
4
+ closeOnClickOutside?: boolean;
5
+ }
6
+ type __VLS_Props = ElmModalProps;
7
+ type __VLS_PublicProps = {
8
+ modelValue?: boolean;
9
+ } & __VLS_Props;
10
+ declare function __VLS_template(): {
11
+ attrs: Partial<{}>;
12
+ slots: Readonly<{
13
+ default?: () => VNode;
14
+ }> & {
15
+ default?: () => VNode;
16
+ };
17
+ refs: {};
18
+ rootEl: any;
19
+ };
20
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
21
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
22
+ "update:modelValue": (value: boolean) => any;
23
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
24
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
25
+ }>, {
26
+ closeOnClickOutside: boolean;
27
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
28
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
29
+ export default _default;
30
+ type __VLS_WithTemplateSlots<T, S> = T & {
31
+ new (): {
32
+ $slots: S;
33
+ };
34
+ };
@@ -0,0 +1,10 @@
1
+ import _sfc_main from "./ElmModal.vue2.mjs";
2
+ import style0 from "./ElmModal.vue3.mjs";
3
+ import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
4
+ const cssModules = {
5
+ "$style": style0
6
+ };
7
+ const ElmModal = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
8
+ export {
9
+ ElmModal as default
10
+ };
@@ -0,0 +1,56 @@
1
+ import { defineComponent, mergeModels, useSlots, useModel, createBlock, openBlock, Teleport, createVNode, Transition, unref, withCtx, createElementBlock, createCommentVNode, normalizeClass, createElementVNode, withModifiers, normalizeStyle, renderSlot } from "vue";
2
+ import fadeStyle from "../../styles/transition-fade.module.scss.mjs";
3
+ const _sfc_main = /* @__PURE__ */ defineComponent({
4
+ __name: "ElmModal",
5
+ props: /* @__PURE__ */ mergeModels({
6
+ width: {},
7
+ closeOnClickOutside: { type: Boolean, default: true }
8
+ }, {
9
+ "modelValue": { type: Boolean, ...{
10
+ default: false
11
+ } },
12
+ "modelModifiers": {}
13
+ }),
14
+ emits: ["update:modelValue"],
15
+ setup(__props) {
16
+ useSlots();
17
+ const isOpen = useModel(__props, "modelValue");
18
+ return (_ctx, _cache) => {
19
+ return openBlock(), createBlock(Teleport, { to: "body" }, [
20
+ createVNode(Transition, {
21
+ "leave-from-class": unref(fadeStyle)["fade-leave-from"],
22
+ "enter-to-class": unref(fadeStyle)["fade-enter-to"],
23
+ "enter-active-class": unref(fadeStyle)["fade-enter-active"],
24
+ "leave-active-class": unref(fadeStyle)["fade-leave-active"],
25
+ "enter-from-class": unref(fadeStyle)["fade-enter-from"],
26
+ "leave-to-class": unref(fadeStyle)["fade-leave-to"]
27
+ }, {
28
+ default: withCtx(() => [
29
+ isOpen.value ? (openBlock(), createElementBlock("div", {
30
+ key: 0,
31
+ class: normalizeClass(_ctx.$style.provider),
32
+ onClick: _cache[1] || (_cache[1] = () => {
33
+ if (__props.closeOnClickOutside) isOpen.value = false;
34
+ })
35
+ }, [
36
+ createElementVNode("div", {
37
+ class: normalizeClass(_ctx.$style.modal),
38
+ style: normalizeStyle({
39
+ "--width": __props.width
40
+ }),
41
+ onClick: _cache[0] || (_cache[0] = withModifiers(() => {
42
+ }, ["stop"]))
43
+ }, [
44
+ renderSlot(_ctx.$slots, "default")
45
+ ], 6)
46
+ ], 2)) : createCommentVNode("", true)
47
+ ]),
48
+ _: 3
49
+ }, 8, ["leave-from-class", "enter-to-class", "enter-active-class", "leave-active-class", "enter-from-class", "leave-to-class"])
50
+ ]);
51
+ };
52
+ }
53
+ });
54
+ export {
55
+ _sfc_main as default
56
+ };
@@ -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("._provider_iydma_1{margin:0;padding:0;position:fixed;left:0;top:0;z-index:100;width:100%;height:100vh;display:flex;justify-content:center;align-items:center;transition:opacity .4s;background-color:#23262acc}._provider_iydma_1 ._modal_iydma_16{box-sizing:border-box;max-width:min(500px,100vw - 1rem);width:100%;width:var(--width, 100%);padding:.5rem;border-radius:.25rem;background-color:#fffc}"));
7
+ document.head.appendChild(elementStyle);
8
+ }
9
+ } catch (e) {
10
+ console.error("vite-plugin-css-injected-by-js", e);
11
+ }
12
+ })();
13
+ const provider = "_provider_iydma_1";
14
+ const modal = "_modal_iydma_16";
15
+ const style0 = {
16
+ provider,
17
+ modal
18
+ };
19
+ export {
20
+ style0 as default,
21
+ modal,
22
+ provider
23
+ };
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/vue3-vite';
2
+ import { default as ElmParallax } from './ElmParallax.vue';
3
+ declare const meta: Meta<typeof ElmParallax>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
@@ -0,0 +1,6 @@
1
+ export interface ElmParallaxProps {
2
+ imageUrl1: string;
3
+ imageUrl2: string;
4
+ }
5
+ declare const _default: import('vue').DefineComponent<ElmParallaxProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmParallaxProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
6
+ export default _default;
@@ -0,0 +1,10 @@
1
+ import _sfc_main from "./ElmParallax.vue2.mjs";
2
+ import style0 from "./ElmParallax.vue3.mjs";
3
+ import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
4
+ const cssModules = {
5
+ "$style": style0
6
+ };
7
+ const ElmParallax = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
8
+ export {
9
+ ElmParallax as default
10
+ };