@elmethis/core 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/_plugin-vue_export-helper.mjs +10 -0
- package/dist/components/code/ElmCodeBlock.stories.d.ts +9 -0
- package/dist/components/code/ElmCodeBlock.vue.d.ts +48 -0
- package/dist/components/code/ElmCodeBlock.vue.mjs +23 -0
- package/dist/components/code/ElmCodeBlock.vue2.mjs +134 -0
- package/dist/components/code/ElmCodeBlock.vue3.mjs +40 -0
- package/dist/components/code/ElmKatex.stories.d.ts +8 -0
- package/dist/components/code/ElmKatex.vue.d.ts +20 -0
- package/dist/components/code/ElmKatex.vue.mjs +10 -0
- package/dist/components/code/ElmKatex.vue2.mjs +67 -0
- package/dist/components/code/ElmKatex.vue3.mjs +20 -0
- package/dist/components/code/ElmShikiHighlighter.stories.d.ts +6 -0
- package/dist/components/code/ElmShikiHighlighter.vue.d.ts +22 -0
- package/dist/components/code/ElmShikiHighlighter.vue.mjs +23 -0
- package/dist/components/code/ElmShikiHighlighter.vue2.mjs +55 -0
- package/dist/components/code/ElmShikiHighlighter.vue3.mjs +20 -0
- package/dist/components/code/shikiInstance.d.ts +2 -0
- package/dist/components/code/shikiInstance.mjs +76 -0
- package/dist/components/containments/ElmColumn.stories.d.ts +6 -0
- package/dist/components/containments/ElmColumn.vue.d.ts +19 -0
- package/dist/components/containments/ElmColumn.vue.mjs +10 -0
- package/dist/components/containments/ElmColumn.vue2.mjs +16 -0
- package/dist/components/containments/ElmColumn.vue3.mjs +20 -0
- package/dist/components/containments/ElmColumnList.vue.d.ts +19 -0
- package/dist/components/containments/ElmColumnList.vue.mjs +10 -0
- package/dist/components/containments/ElmColumnList.vue2.mjs +16 -0
- package/dist/components/containments/ElmColumnList.vue3.mjs +18 -0
- package/dist/components/containments/ElmDesktopWindow.stories.d.ts +6 -0
- package/dist/components/containments/ElmDesktopWindow.vue.d.ts +27 -0
- package/dist/components/containments/ElmDesktopWindow.vue.mjs +10 -0
- package/dist/components/containments/ElmDesktopWindow.vue2.mjs +42 -0
- package/dist/components/containments/ElmDesktopWindow.vue3.mjs +26 -0
- package/dist/components/containments/ElmModal.stories.d.ts +6 -0
- package/dist/components/containments/ElmModal.vue.d.ts +35 -0
- package/dist/components/containments/ElmModal.vue.mjs +23 -0
- package/dist/components/containments/ElmModal.vue2.mjs +44 -0
- package/dist/components/containments/ElmModal.vue3.mjs +23 -0
- package/dist/components/containments/ElmParallax.stories.d.ts +6 -0
- package/dist/components/containments/ElmParallax.vue.d.ts +6 -0
- package/dist/components/containments/ElmParallax.vue.mjs +10 -0
- package/dist/components/containments/ElmParallax.vue2.mjs +35 -0
- package/dist/components/containments/ElmParallax.vue3.mjs +20 -0
- package/dist/components/containments/ElmSnackbar.stories.d.ts +6 -0
- package/dist/components/containments/ElmSnackbar.vue.d.ts +11 -0
- package/dist/components/containments/ElmSnackbar.vue.mjs +10 -0
- package/dist/components/containments/ElmSnackbar.vue2.mjs +41 -0
- package/dist/components/containments/ElmSnackbar.vue3.mjs +26 -0
- package/dist/components/containments/ElmSnackbarContainer.vue.d.ts +10 -0
- package/dist/components/containments/ElmSnackbarContainer.vue.mjs +23 -0
- package/dist/components/containments/ElmSnackbarContainer.vue2.mjs +33 -0
- package/dist/components/containments/ElmSnackbarContainer.vue3.mjs +19 -0
- package/dist/components/containments/ElmToggle.stories.d.ts +7 -0
- package/dist/components/containments/ElmToggle.vue.d.ts +41 -0
- package/dist/components/containments/ElmToggle.vue.mjs +23 -0
- package/dist/components/containments/ElmToggle.vue2.mjs +99 -0
- package/dist/components/containments/ElmToggle.vue3.mjs +34 -0
- package/dist/components/containments/ElmTooltip.stories.d.ts +6 -0
- package/dist/components/containments/ElmTooltip.vue.d.ts +24 -0
- package/dist/components/containments/ElmTooltip.vue.mjs +23 -0
- package/dist/components/containments/ElmTooltip.vue2.mjs +49 -0
- package/dist/components/containments/ElmTooltip.vue3.mjs +20 -0
- package/dist/components/containments/useSnackbarState.d.ts +28 -0
- package/dist/components/data/ElmMultiProgress.stories.d.ts +6 -0
- package/dist/components/data/ElmMultiProgress.vue.d.ts +30 -0
- package/dist/components/data/ElmMultiProgress.vue.mjs +10 -0
- package/dist/components/data/ElmMultiProgress.vue2.mjs +45 -0
- package/dist/components/data/ElmMultiProgress.vue3.mjs +23 -0
- package/dist/components/data/ElmProgress.stories.d.ts +10 -0
- package/dist/components/data/ElmProgress.vue.d.ts +38 -0
- package/dist/components/data/ElmProgress.vue.mjs +10 -0
- package/dist/components/data/ElmProgress.vue2.mjs +53 -0
- package/dist/components/data/ElmProgress.vue3.mjs +32 -0
- package/dist/components/data/ElmStatusMessage.stories.d.ts +9 -0
- package/dist/components/data/ElmStatusMessage.vue.d.ts +6 -0
- package/dist/components/data/ElmStatusMessage.vue.mjs +23 -0
- package/dist/components/data/ElmStatusMessage.vue2.mjs +76 -0
- package/dist/components/data/ElmStatusMessage.vue3.mjs +20 -0
- package/dist/components/fallback/ElmBlockFallback.stories.d.ts +6 -0
- package/dist/components/fallback/ElmBlockFallback.vue.d.ts +4 -0
- package/dist/components/fallback/ElmBlockFallback.vue.mjs +10 -0
- package/dist/components/fallback/ElmBlockFallback.vue2.mjs +17 -0
- package/dist/components/fallback/ElmBlockFallback.vue3.mjs +18 -0
- package/dist/components/fallback/ElmRectangleWave.stories.d.ts +6 -0
- package/dist/components/fallback/ElmRectangleWave.vue.d.ts +4 -0
- package/dist/components/fallback/ElmRectangleWave.vue.mjs +10 -0
- package/dist/components/fallback/ElmRectangleWave.vue2.mjs +15 -0
- package/dist/components/fallback/ElmRectangleWave.vue3.mjs +21 -0
- package/dist/components/fallback/ElmSpinner.stories.d.ts +6 -0
- package/dist/components/fallback/ElmSpinner.vue.d.ts +9 -0
- package/dist/components/fallback/ElmSpinner.vue.mjs +10 -0
- package/dist/components/fallback/ElmSpinner.vue2.mjs +30 -0
- package/dist/components/fallback/ElmSpinner.vue3.mjs +24 -0
- package/dist/components/fallback/ElmUnsupportedBlock.stories.d.ts +6 -0
- package/dist/components/fallback/ElmUnsupportedBlock.vue.d.ts +5 -0
- package/dist/components/fallback/ElmUnsupportedBlock.vue.mjs +10 -0
- package/dist/components/fallback/ElmUnsupportedBlock.vue2.mjs +46 -0
- package/dist/components/fallback/ElmUnsupportedBlock.vue3.mjs +29 -0
- package/dist/components/form/ElmButton.stories.d.ts +11 -0
- package/dist/components/form/ElmButton.vue.d.ts +41 -0
- package/dist/components/form/ElmButton.vue.mjs +23 -0
- package/dist/components/form/ElmButton.vue2.mjs +68 -0
- package/dist/components/form/ElmButton.vue3.mjs +36 -0
- package/dist/components/form/ElmCheckbox.stories.d.ts +6 -0
- package/dist/components/form/ElmCheckbox.vue.d.ts +26 -0
- package/dist/components/form/ElmCheckbox.vue.mjs +10 -0
- package/dist/components/form/ElmCheckbox.vue2.mjs +177 -0
- package/dist/components/form/ElmCheckbox.vue3.mjs +34 -0
- package/dist/components/form/ElmSwitch.stories.d.ts +6 -0
- package/dist/components/form/ElmSwitch.vue.d.ts +32 -0
- package/dist/components/form/ElmSwitch.vue.mjs +10 -0
- package/dist/components/form/ElmSwitch.vue2.mjs +61 -0
- package/dist/components/form/ElmSwitch.vue3.mjs +28 -0
- package/dist/components/form/ElmTextField.stories.d.ts +6 -0
- package/dist/components/form/ElmTextField.vue.d.ts +29 -0
- package/dist/components/form/ElmTextField.vue.mjs +10 -0
- package/dist/components/form/ElmTextField.vue2.mjs +143 -0
- package/dist/components/form/ElmTextField.vue3.mjs +46 -0
- package/dist/components/icon/ElmArrowIcon.stories.d.ts +6 -0
- package/dist/components/icon/ElmArrowIcon.vue.d.ts +26 -0
- package/dist/components/icon/ElmArrowIcon.vue.mjs +10 -0
- package/dist/components/icon/ElmArrowIcon.vue2.mjs +31 -0
- package/dist/components/icon/ElmArrowIcon.vue3.mjs +29 -0
- package/dist/components/icon/ElmBookmarkIcon.stories.d.ts +8 -0
- package/dist/components/icon/ElmBookmarkIcon.vue.d.ts +7 -0
- package/dist/components/icon/ElmBookmarkIcon.vue.mjs +10 -0
- package/dist/components/icon/ElmBookmarkIcon.vue2.mjs +47 -0
- package/dist/components/icon/ElmBookmarkIcon.vue3.mjs +26 -0
- package/dist/components/icon/ElmCubeIcon.stories.d.ts +6 -0
- package/dist/components/icon/ElmCubeIcon.vue.d.ts +10 -0
- package/dist/components/icon/ElmCubeIcon.vue.mjs +10 -0
- package/dist/components/icon/ElmCubeIcon.vue2.mjs +41 -0
- package/dist/components/icon/ElmCubeIcon.vue3.mjs +24 -0
- package/dist/components/icon/ElmDotLoadingIcon.stories.d.ts +6 -0
- package/dist/components/icon/ElmDotLoadingIcon.vue.d.ts +18 -0
- package/dist/components/icon/ElmDotLoadingIcon.vue.mjs +10 -0
- package/dist/components/icon/ElmDotLoadingIcon.vue2.mjs +28 -0
- package/dist/components/icon/ElmDotLoadingIcon.vue3.mjs +26 -0
- package/dist/components/icon/ElmInlineIcon.stories.d.ts +6 -0
- package/dist/components/icon/ElmInlineIcon.vue.d.ts +12 -0
- package/dist/components/icon/ElmInlineIcon.vue.mjs +10 -0
- package/dist/components/icon/ElmInlineIcon.vue2.mjs +27 -0
- package/dist/components/icon/ElmInlineIcon.vue3.mjs +20 -0
- package/dist/components/icon/ElmLanguageIcon.stories.d.ts +6 -0
- package/dist/components/icon/ElmLanguageIcon.vue.d.ts +14 -0
- package/dist/components/icon/ElmLanguageIcon.vue.mjs +23 -0
- package/dist/components/icon/ElmLanguageIcon.vue2.mjs +202 -0
- package/dist/components/icon/ElmLanguageIcon.vue3.mjs +20 -0
- package/dist/components/icon/ElmLoginIcon.stories.d.ts +6 -0
- package/dist/components/icon/ElmLoginIcon.vue.d.ts +18 -0
- package/dist/components/icon/ElmLoginIcon.vue.mjs +10 -0
- package/dist/components/icon/ElmLoginIcon.vue2.mjs +36 -0
- package/dist/components/icon/ElmLoginIcon.vue3.mjs +20 -0
- package/dist/components/icon/ElmMdiIcon.stories.d.ts +6 -0
- package/dist/components/icon/ElmMdiIcon.vue.d.ts +11 -0
- package/dist/components/icon/ElmMdiIcon.vue.mjs +10 -0
- package/dist/components/icon/ElmMdiIcon.vue2.mjs +34 -0
- package/dist/components/icon/ElmMdiIcon.vue3.mjs +20 -0
- package/dist/components/icon/ElmToggleTheme.stories.d.ts +6 -0
- package/dist/components/icon/ElmToggleTheme.vue.d.ts +11 -0
- package/dist/components/icon/ElmToggleTheme.vue.mjs +10 -0
- package/dist/components/icon/ElmToggleTheme.vue2.mjs +41 -0
- package/dist/components/icon/ElmToggleTheme.vue3.mjs +20 -0
- package/dist/components/icon/languages/Bash.vue.d.ts +7 -0
- package/dist/components/icon/languages/Bash.vue.mjs +10 -0
- package/dist/components/icon/languages/Bash.vue2.mjs +34 -0
- package/dist/components/icon/languages/Bash.vue3.mjs +20 -0
- package/dist/components/icon/languages/C.vue.d.ts +7 -0
- package/dist/components/icon/languages/C.vue.mjs +4 -0
- package/dist/components/icon/languages/C.vue2.mjs +34 -0
- package/dist/components/icon/languages/Cplusplus.vue.d.ts +7 -0
- package/dist/components/icon/languages/Cplusplus.vue.mjs +4 -0
- package/dist/components/icon/languages/Cplusplus.vue2.mjs +38 -0
- package/dist/components/icon/languages/Csharp.vue.d.ts +7 -0
- package/dist/components/icon/languages/Csharp.vue.mjs +4 -0
- package/dist/components/icon/languages/Csharp.vue2.mjs +34 -0
- package/dist/components/icon/languages/Css.vue.d.ts +7 -0
- package/dist/components/icon/languages/Css.vue.mjs +4 -0
- package/dist/components/icon/languages/Css.vue2.mjs +26 -0
- package/dist/components/icon/languages/Go.vue.d.ts +7 -0
- package/dist/components/icon/languages/Go.vue.mjs +4 -0
- package/dist/components/icon/languages/Go.vue2.mjs +32 -0
- package/dist/components/icon/languages/Html.vue.d.ts +7 -0
- package/dist/components/icon/languages/Html.vue.mjs +4 -0
- package/dist/components/icon/languages/Html.vue2.mjs +38 -0
- package/dist/components/icon/languages/Java.vue.d.ts +7 -0
- package/dist/components/icon/languages/Java.vue.mjs +4 -0
- package/dist/components/icon/languages/Java.vue2.mjs +23 -0
- package/dist/components/icon/languages/Javascript.vue.d.ts +7 -0
- package/dist/components/icon/languages/Javascript.vue.mjs +4 -0
- package/dist/components/icon/languages/Javascript.vue2.mjs +30 -0
- package/dist/components/icon/languages/Json.vue.d.ts +7 -0
- package/dist/components/icon/languages/Json.vue.mjs +4 -0
- package/dist/components/icon/languages/Json.vue2.mjs +23 -0
- package/dist/components/icon/languages/Kotlin.vue.d.ts +7 -0
- package/dist/components/icon/languages/Kotlin.vue.mjs +4 -0
- package/dist/components/icon/languages/Kotlin.vue2.mjs +23 -0
- package/dist/components/icon/languages/Lua.vue.d.ts +7 -0
- package/dist/components/icon/languages/Lua.vue.mjs +4 -0
- package/dist/components/icon/languages/Lua.vue2.mjs +34 -0
- package/dist/components/icon/languages/Npm.vue.d.ts +7 -0
- package/dist/components/icon/languages/Npm.vue.mjs +4 -0
- package/dist/components/icon/languages/Npm.vue2.mjs +30 -0
- package/dist/components/icon/languages/Python.vue.d.ts +7 -0
- package/dist/components/icon/languages/Python.vue.mjs +4 -0
- package/dist/components/icon/languages/Python.vue2.mjs +23 -0
- package/dist/components/icon/languages/Rust.vue.d.ts +7 -0
- package/dist/components/icon/languages/Rust.vue.mjs +4 -0
- package/dist/components/icon/languages/Rust.vue2.mjs +24 -0
- package/dist/components/icon/languages/Sql.vue.d.ts +7 -0
- package/dist/components/icon/languages/Sql.vue.mjs +4 -0
- package/dist/components/icon/languages/Sql.vue2.mjs +26 -0
- package/dist/components/icon/languages/Terraform.vue.d.ts +7 -0
- package/dist/components/icon/languages/Terraform.vue.mjs +4 -0
- package/dist/components/icon/languages/Terraform.vue2.mjs +36 -0
- package/dist/components/icon/languages/Typescript.vue.d.ts +7 -0
- package/dist/components/icon/languages/Typescript.vue.mjs +4 -0
- package/dist/components/icon/languages/Typescript.vue2.mjs +30 -0
- package/dist/components/media/ElmBlockImage.stories.d.ts +9 -0
- package/dist/components/media/ElmBlockImage.vue.d.ts +12 -0
- package/dist/components/media/ElmBlockImage.vue.mjs +23 -0
- package/dist/components/media/ElmBlockImage.vue2.mjs +117 -0
- package/dist/components/media/ElmBlockImage.vue3.mjs +36 -0
- package/dist/components/media/ElmFile.stories.d.ts +6 -0
- package/dist/components/media/ElmFile.vue.d.ts +21 -0
- package/dist/components/media/ElmFile.vue.mjs +10 -0
- package/dist/components/media/ElmFile.vue2.mjs +79 -0
- package/dist/components/media/ElmFile.vue3.mjs +23 -0
- package/dist/components/media/ElmImage.stories.d.ts +9 -0
- package/dist/components/media/ElmImage.vue.d.ts +23 -0
- package/dist/components/media/ElmImage.vue.mjs +23 -0
- package/dist/components/media/ElmImage.vue2.mjs +91 -0
- package/dist/components/media/ElmImage.vue3.mjs +30 -0
- package/dist/components/navigation/ElmBookmark.stories.d.ts +12 -0
- package/dist/components/navigation/ElmBookmark.vue.d.ts +53 -0
- package/dist/components/navigation/ElmBookmark.vue.mjs +10 -0
- package/dist/components/navigation/ElmBookmark.vue2.mjs +116 -0
- package/dist/components/navigation/ElmBookmark.vue3.mjs +41 -0
- package/dist/components/navigation/ElmBreadcrumb.stories.d.ts +7 -0
- package/dist/components/navigation/ElmBreadcrumb.vue.d.ts +19 -0
- package/dist/components/navigation/ElmBreadcrumb.vue.mjs +10 -0
- package/dist/components/navigation/ElmBreadcrumb.vue2.mjs +65 -0
- package/dist/components/navigation/ElmBreadcrumb.vue3.mjs +24 -0
- package/dist/components/navigation/ElmPagetop.stories.d.ts +6 -0
- package/dist/components/navigation/ElmPagetop.vue.d.ts +10 -0
- package/dist/components/navigation/ElmPagetop.vue.mjs +10 -0
- package/dist/components/navigation/ElmPagetop.vue2.mjs +51 -0
- package/dist/components/navigation/ElmPagetop.vue3.mjs +30 -0
- package/dist/components/navigation/ElmTableOfContents.stories.d.ts +7 -0
- package/dist/components/navigation/ElmTableOfContents.vue.d.ts +9 -0
- package/dist/components/navigation/ElmTableOfContents.vue.mjs +10 -0
- package/dist/components/navigation/ElmTableOfContents.vue2.mjs +45 -0
- package/dist/components/navigation/ElmTableOfContents.vue3.mjs +23 -0
- package/dist/components/others/ElmColorSample.stories.d.ts +6 -0
- package/dist/components/others/ElmColorSample.vue.d.ts +8 -0
- package/dist/components/others/ElmColorSample.vue.mjs +23 -0
- package/dist/components/others/ElmColorSample.vue2.mjs +72 -0
- package/dist/components/others/ElmColorSample.vue3.mjs +21 -0
- package/dist/components/others/ElmColorTable.stories.d.ts +6 -0
- package/dist/components/others/ElmColorTable.vue.d.ts +11 -0
- package/dist/components/others/ElmColorTable.vue.mjs +10 -0
- package/dist/components/others/ElmColorTable.vue2.mjs +45 -0
- package/dist/components/others/ElmColorTable.vue3.mjs +22 -0
- package/dist/components/others/ElmJsonComponentRenderer.stories.d.ts +23 -0
- package/dist/components/others/ElmJsonComponentRenderer.vue.d.ts +6 -0
- package/dist/components/others/ElmJsonComponentRenderer.vue.mjs +10 -0
- package/dist/components/others/ElmJsonComponentRenderer.vue2.mjs +240 -0
- package/dist/components/others/ElmJsonComponentRenderer.vue3.mjs +21 -0
- package/dist/components/others/ElmTyping.stories.d.ts +6 -0
- package/dist/components/others/ElmTyping.vue.d.ts +4 -0
- package/dist/components/table/ElmTable.stories.d.ts +6 -0
- package/dist/components/table/ElmTable.vue.d.ts +46 -0
- package/dist/components/table/ElmTable.vue.mjs +10 -0
- package/dist/components/table/ElmTable.vue2.mjs +61 -0
- package/dist/components/table/ElmTable.vue3.mjs +27 -0
- package/dist/components/table/ElmTableBody.vue.d.ts +22 -0
- package/dist/components/table/ElmTableBody.vue.mjs +15 -0
- package/dist/components/table/ElmTableBody.vue2.mjs +4 -0
- package/dist/components/table/ElmTableCell.vue.d.ts +33 -0
- package/dist/components/table/ElmTableCell.vue.mjs +10 -0
- package/dist/components/table/ElmTableCell.vue2.mjs +28 -0
- package/dist/components/table/ElmTableCell.vue3.mjs +26 -0
- package/dist/components/table/ElmTableHeader.vue.d.ts +22 -0
- package/dist/components/table/ElmTableHeader.vue.mjs +10 -0
- package/dist/components/table/ElmTableHeader.vue2.mjs +17 -0
- package/dist/components/table/ElmTableHeader.vue3.mjs +20 -0
- package/dist/components/table/ElmTableRow.vue.d.ts +22 -0
- package/dist/components/table/ElmTableRow.vue.mjs +10 -0
- package/dist/components/table/ElmTableRow.vue2.mjs +20 -0
- package/dist/components/table/ElmTableRow.vue3.mjs +21 -0
- package/dist/components/template/ElmTemplate.stories.d.ts +6 -0
- package/dist/components/template/ElmTemplate.vue.d.ts +4 -0
- package/dist/components/typography/ElmBlockQuote.stories.d.ts +6 -0
- package/dist/components/typography/ElmBlockQuote.vue.d.ts +24 -0
- package/dist/components/typography/ElmBlockQuote.vue.mjs +10 -0
- package/dist/components/typography/ElmBlockQuote.vue2.mjs +64 -0
- package/dist/components/typography/ElmBlockQuote.vue3.mjs +26 -0
- package/dist/components/typography/ElmCallout.stories.d.ts +10 -0
- package/dist/components/typography/ElmCallout.vue.d.ts +30 -0
- package/dist/components/typography/ElmCallout.vue.mjs +10 -0
- package/dist/components/typography/ElmCallout.vue2.mjs +58 -0
- package/dist/components/typography/ElmCallout.vue3.mjs +23 -0
- package/dist/components/typography/ElmDivider.stories.d.ts +6 -0
- package/dist/components/typography/ElmDivider.vue.d.ts +11 -0
- package/dist/components/typography/ElmDivider.vue.mjs +10 -0
- package/dist/components/typography/ElmDivider.vue2.mjs +29 -0
- package/dist/components/typography/ElmDivider.vue3.mjs +20 -0
- package/dist/components/typography/ElmFragmentIdentifier.stories.d.ts +6 -0
- package/dist/components/typography/ElmFragmentIdentifier.vue.d.ts +8 -0
- package/dist/components/typography/ElmFragmentIdentifier.vue.mjs +10 -0
- package/dist/components/typography/ElmFragmentIdentifier.vue2.mjs +62 -0
- package/dist/components/typography/ElmFragmentIdentifier.vue3.mjs +23 -0
- package/dist/components/typography/ElmHeading.stories.d.ts +7 -0
- package/dist/components/typography/ElmHeading.vue.d.ts +49 -0
- package/dist/components/typography/ElmHeading.vue.mjs +10 -0
- package/dist/components/typography/ElmHeading.vue2.mjs +72 -0
- package/dist/components/typography/ElmHeading.vue3.mjs +39 -0
- package/dist/components/typography/ElmInlineText.stories.d.ts +10 -0
- package/dist/components/typography/ElmInlineText.vue.d.ts +61 -0
- package/dist/components/typography/ElmInlineText.vue.mjs +10 -0
- package/dist/components/typography/ElmInlineText.vue2.mjs +98 -0
- package/dist/components/typography/ElmInlineText.vue3.mjs +26 -0
- package/dist/components/typography/ElmList.stories.d.ts +8 -0
- package/dist/components/typography/ElmList.vue.d.ts +31 -0
- package/dist/components/typography/ElmList.vue.mjs +36 -0
- package/dist/components/typography/ElmList.vue3.mjs +17 -0
- package/dist/components/typography/ElmParagraph.stories.d.ts +6 -0
- package/dist/components/typography/ElmParagraph.vue.d.ts +23 -0
- package/dist/components/typography/ElmParagraph.vue.mjs +10 -0
- package/dist/components/typography/ElmParagraph.vue2.mjs +27 -0
- package/dist/components/typography/ElmParagraph.vue3.mjs +20 -0
- package/dist/components/typography/ElmTypingAnimation.stories.d.ts +6 -0
- package/dist/components/typography/ElmTypingAnimation.vue.d.ts +21 -0
- package/dist/hooks/useElmethisTheme.d.ts +4 -0
- package/dist/hooks/useElmethisTheme.mjs +43 -0
- package/dist/hooks/useTyping.d.ts +17 -0
- package/dist/hooks/useTyping.mjs +37 -0
- package/dist/index.d.ts +108 -0
- package/dist/index.mjs +124 -0
- package/package.json +60 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { defineComponent, createElementBlock, openBlock, normalizeClass, renderSlot } from "vue";
|
|
2
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
3
|
+
__name: "ElmColumn",
|
|
4
|
+
setup(__props) {
|
|
5
|
+
return (_ctx, _cache) => {
|
|
6
|
+
return openBlock(), createElementBlock("div", {
|
|
7
|
+
class: normalizeClass(_ctx.$style.column)
|
|
8
|
+
}, [
|
|
9
|
+
renderSlot(_ctx.$slots, "default")
|
|
10
|
+
], 2);
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
export {
|
|
15
|
+
_sfc_main as default
|
|
16
|
+
};
|
|
@@ -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("._column_7qfow_1{flex:1}"));
|
|
7
|
+
document.head.appendChild(elementStyle);
|
|
8
|
+
}
|
|
9
|
+
} catch (e) {
|
|
10
|
+
console.error("vite-plugin-css-injected-by-js", e);
|
|
11
|
+
}
|
|
12
|
+
})();
|
|
13
|
+
const column = "_column_7qfow_1";
|
|
14
|
+
const style0 = {
|
|
15
|
+
column
|
|
16
|
+
};
|
|
17
|
+
export {
|
|
18
|
+
column,
|
|
19
|
+
style0 as default
|
|
20
|
+
};
|
|
@@ -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,10 @@
|
|
|
1
|
+
import _sfc_main from "./ElmColumnList.vue2.mjs";
|
|
2
|
+
import style0 from "./ElmColumnList.vue3.mjs";
|
|
3
|
+
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const cssModules = {
|
|
5
|
+
"$style": style0
|
|
6
|
+
};
|
|
7
|
+
const ElmColumnList = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
|
|
8
|
+
export {
|
|
9
|
+
ElmColumnList as default
|
|
10
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { defineComponent, createElementBlock, openBlock, normalizeClass, renderSlot } from "vue";
|
|
2
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
3
|
+
__name: "ElmColumnList",
|
|
4
|
+
setup(__props) {
|
|
5
|
+
return (_ctx, _cache) => {
|
|
6
|
+
return openBlock(), createElementBlock("div", {
|
|
7
|
+
class: normalizeClass(_ctx.$style["column-list"])
|
|
8
|
+
}, [
|
|
9
|
+
renderSlot(_ctx.$slots, "default")
|
|
10
|
+
], 2);
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
export {
|
|
15
|
+
_sfc_main as default
|
|
16
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
(function() {
|
|
2
|
+
"use strict";
|
|
3
|
+
try {
|
|
4
|
+
if (typeof document != "undefined") {
|
|
5
|
+
var elementStyle = document.createElement("style");
|
|
6
|
+
elementStyle.appendChild(document.createTextNode("._column-list_id8zo_1{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 style0 = {
|
|
14
|
+
"column-list": "_column-list_id8zo_1"
|
|
15
|
+
};
|
|
16
|
+
export {
|
|
17
|
+
style0 as default
|
|
18
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/vue3';
|
|
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: _ctx.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,35 @@
|
|
|
1
|
+
import { Property } from 'csstype';
|
|
2
|
+
export interface ElmModalProps {
|
|
3
|
+
/**
|
|
4
|
+
* The width of the modal.
|
|
5
|
+
* @default '90%'
|
|
6
|
+
*/
|
|
7
|
+
width: Property.Width;
|
|
8
|
+
}
|
|
9
|
+
type __VLS_Props = ElmModalProps;
|
|
10
|
+
type __VLS_PublicProps = {
|
|
11
|
+
"isOpen"?: boolean;
|
|
12
|
+
} & __VLS_Props;
|
|
13
|
+
declare function __VLS_template(): {
|
|
14
|
+
attrs: Partial<{}>;
|
|
15
|
+
slots: {
|
|
16
|
+
default?(_: {}): any;
|
|
17
|
+
};
|
|
18
|
+
refs: {};
|
|
19
|
+
rootEl: HTMLDivElement;
|
|
20
|
+
};
|
|
21
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
22
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
23
|
+
"update:isOpen": (value: boolean) => any;
|
|
24
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
25
|
+
"onUpdate:isOpen"?: ((value: boolean) => any) | undefined;
|
|
26
|
+
}>, {
|
|
27
|
+
width: Property.Width;
|
|
28
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
29
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
30
|
+
export default _default;
|
|
31
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
32
|
+
new (): {
|
|
33
|
+
$slots: S;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
(function() {
|
|
2
|
+
"use strict";
|
|
3
|
+
try {
|
|
4
|
+
if (typeof document != "undefined") {
|
|
5
|
+
var elementStyle = document.createElement("style");
|
|
6
|
+
elementStyle.appendChild(document.createTextNode(".v-enter-to[data-v-83a74154],.v-leave-from[data-v-83a74154]{opacity:1}.v-enter-active[data-v-83a74154],.v-leave-active[data-v-83a74154]{transition:opacity .2s}.v-enter-from[data-v-83a74154],.v-leave-to[data-v-83a74154]{opacity:0}"));
|
|
7
|
+
document.head.appendChild(elementStyle);
|
|
8
|
+
}
|
|
9
|
+
} catch (e) {
|
|
10
|
+
console.error("vite-plugin-css-injected-by-js", e);
|
|
11
|
+
}
|
|
12
|
+
})();
|
|
13
|
+
import _sfc_main from "./ElmModal.vue2.mjs";
|
|
14
|
+
import style0 from "./ElmModal.vue3.mjs";
|
|
15
|
+
|
|
16
|
+
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
17
|
+
const cssModules = {
|
|
18
|
+
"$style": style0
|
|
19
|
+
};
|
|
20
|
+
const ElmModal = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules], ["__scopeId", "data-v-83a74154"]]);
|
|
21
|
+
export {
|
|
22
|
+
ElmModal as default
|
|
23
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { defineComponent, mergeModels, useModel, createElementBlock, openBlock, normalizeStyle, normalizeClass, createVNode, Transition, withCtx, createCommentVNode, renderSlot } from "vue";
|
|
2
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
3
|
+
__name: "ElmModal",
|
|
4
|
+
props: /* @__PURE__ */ mergeModels({
|
|
5
|
+
width: { default: "90%" }
|
|
6
|
+
}, {
|
|
7
|
+
"isOpen": { type: Boolean, ...{
|
|
8
|
+
default: true
|
|
9
|
+
} },
|
|
10
|
+
"isOpenModifiers": {}
|
|
11
|
+
}),
|
|
12
|
+
emits: ["update:isOpen"],
|
|
13
|
+
setup(__props) {
|
|
14
|
+
const isOpen = useModel(__props, "isOpen");
|
|
15
|
+
return (_ctx, _cache) => {
|
|
16
|
+
return openBlock(), createElementBlock("div", {
|
|
17
|
+
class: normalizeClass(_ctx.$style.provider),
|
|
18
|
+
style: normalizeStyle({
|
|
19
|
+
"--opacity": isOpen.value ? 1 : 0,
|
|
20
|
+
"--pointer-events": isOpen.value ? "auto" : "none"
|
|
21
|
+
}),
|
|
22
|
+
onClick: _cache[0] || (_cache[0] = ($event) => isOpen.value = false)
|
|
23
|
+
}, [
|
|
24
|
+
createVNode(Transition, null, {
|
|
25
|
+
default: withCtx(() => [
|
|
26
|
+
isOpen.value ? (openBlock(), createElementBlock("div", {
|
|
27
|
+
key: 0,
|
|
28
|
+
class: normalizeClass(_ctx.$style.modal),
|
|
29
|
+
style: normalizeStyle({
|
|
30
|
+
"--width": _ctx.width
|
|
31
|
+
})
|
|
32
|
+
}, [
|
|
33
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
34
|
+
], 6)) : createCommentVNode("", true)
|
|
35
|
+
]),
|
|
36
|
+
_: 3
|
|
37
|
+
})
|
|
38
|
+
], 6);
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
export {
|
|
43
|
+
_sfc_main as default
|
|
44
|
+
};
|
|
@@ -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_mnaqt_1{opacity:0;opacity:var(--opacity, 0);pointer-events:none;pointer-events:var(--pointer-events, none);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:#000000b3}[data-theme=dark] ._provider_mnaqt_1{background-color:#0000001a}._provider_mnaqt_1 ._modal_mnaqt_21{box-sizing:border-box;width:var(--width);padding:.5rem;box-shadow:0 0 .25rem #0006;background-color:#e9e9e9cc;box-shadow:0 0 .25rem #000c}[data-theme=dark] ._provider_mnaqt_1 ._modal_mnaqt_21{background-color:#161616cc}"));
|
|
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_mnaqt_1";
|
|
14
|
+
const modal = "_modal_mnaqt_21";
|
|
15
|
+
const style0 = {
|
|
16
|
+
provider,
|
|
17
|
+
modal
|
|
18
|
+
};
|
|
19
|
+
export {
|
|
20
|
+
style0 as default,
|
|
21
|
+
modal,
|
|
22
|
+
provider
|
|
23
|
+
};
|
|
@@ -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
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { defineComponent, createElementBlock, openBlock, Fragment, createElementVNode, normalizeStyle, normalizeClass, unref } from "vue";
|
|
2
|
+
import { useWindowScroll } from "@vueuse/core";
|
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
|
+
__name: "ElmParallax",
|
|
5
|
+
props: {
|
|
6
|
+
imageUrl1: {},
|
|
7
|
+
imageUrl2: {}
|
|
8
|
+
},
|
|
9
|
+
setup(__props) {
|
|
10
|
+
const { y } = useWindowScroll();
|
|
11
|
+
return (_ctx, _cache) => {
|
|
12
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
13
|
+
createElementVNode("div", {
|
|
14
|
+
class: normalizeClass(_ctx.$style.parallax),
|
|
15
|
+
style: normalizeStyle({
|
|
16
|
+
backgroundImage: `url(${_ctx.imageUrl1})`,
|
|
17
|
+
transform: `scale(1.2) translateY(${unref(y) / 400}%)`,
|
|
18
|
+
transformOrigin: "bottom"
|
|
19
|
+
})
|
|
20
|
+
}, null, 6),
|
|
21
|
+
createElementVNode("div", {
|
|
22
|
+
class: normalizeClass(_ctx.$style.parallax),
|
|
23
|
+
style: normalizeStyle({
|
|
24
|
+
backgroundImage: `url(${_ctx.imageUrl2})`,
|
|
25
|
+
transform: `scale(1.2) translateY(${unref(y) / 900}%)`,
|
|
26
|
+
transformOrigin: "bottom"
|
|
27
|
+
})
|
|
28
|
+
}, null, 6)
|
|
29
|
+
], 64);
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
export {
|
|
34
|
+
_sfc_main as default
|
|
35
|
+
};
|
|
@@ -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("._parallax_1le2k_1{position:fixed;height:2000vh;width:100%;top:0;left:0;z-index:-1;background-repeat:repeat;background-size:auto;opacity:.2}[data-theme=dark] ._parallax_1le2k_1{opacity:.1}"));
|
|
7
|
+
document.head.appendChild(elementStyle);
|
|
8
|
+
}
|
|
9
|
+
} catch (e) {
|
|
10
|
+
console.error("vite-plugin-css-injected-by-js", e);
|
|
11
|
+
}
|
|
12
|
+
})();
|
|
13
|
+
const parallax = "_parallax_1le2k_1";
|
|
14
|
+
const style0 = {
|
|
15
|
+
parallax
|
|
16
|
+
};
|
|
17
|
+
export {
|
|
18
|
+
style0 as default,
|
|
19
|
+
parallax
|
|
20
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/vue3';
|
|
2
|
+
import { default as ElmSnackbarContainer } from './ElmSnackbarContainer.vue';
|
|
3
|
+
declare const meta: Meta<typeof ElmSnackbarContainer>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const SnackbarOnly: Story;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { VNode } from 'vue';
|
|
2
|
+
export interface ElmSnackbarProps {
|
|
3
|
+
label?: string;
|
|
4
|
+
children?: VNode;
|
|
5
|
+
timeout?: number;
|
|
6
|
+
close: () => void;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: import('vue').DefineComponent<ElmSnackbarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmSnackbarProps> & Readonly<{}>, {
|
|
9
|
+
timeout: number;
|
|
10
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import _sfc_main from "./ElmSnackbar.vue2.mjs";
|
|
2
|
+
import style0 from "./ElmSnackbar.vue3.mjs";
|
|
3
|
+
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const cssModules = {
|
|
5
|
+
"$style": style0
|
|
6
|
+
};
|
|
7
|
+
const ElmSnackbar = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
|
|
8
|
+
export {
|
|
9
|
+
ElmSnackbar as default
|
|
10
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { defineComponent, createElementBlock, openBlock, normalizeClass, createBlock, createVNode, createElementVNode, resolveDynamicComponent, unref, normalizeStyle } from "vue";
|
|
2
|
+
import ElmInlineText from "../typography/ElmInlineText.vue.mjs";
|
|
3
|
+
import { mdiCloseCircleOutline } from "@mdi/js";
|
|
4
|
+
import ElmMdiIcon from "../icon/ElmMdiIcon.vue.mjs";
|
|
5
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
|
+
__name: "ElmSnackbar",
|
|
7
|
+
props: {
|
|
8
|
+
label: {},
|
|
9
|
+
children: {},
|
|
10
|
+
timeout: { default: 5e3 },
|
|
11
|
+
close: {}
|
|
12
|
+
},
|
|
13
|
+
setup(__props) {
|
|
14
|
+
const props = __props;
|
|
15
|
+
return (_ctx, _cache) => {
|
|
16
|
+
return openBlock(), createElementBlock("div", {
|
|
17
|
+
class: normalizeClass(_ctx.$style.snackbar)
|
|
18
|
+
}, [
|
|
19
|
+
props.label != null ? (openBlock(), createBlock(ElmInlineText, {
|
|
20
|
+
key: 0,
|
|
21
|
+
text: props.label
|
|
22
|
+
}, null, 8, ["text"])) : (openBlock(), createBlock(resolveDynamicComponent(() => props.children), { key: 1 })),
|
|
23
|
+
createVNode(ElmMdiIcon, {
|
|
24
|
+
d: unref(mdiCloseCircleOutline),
|
|
25
|
+
size: "1em",
|
|
26
|
+
class: normalizeClass(_ctx.$style.icon),
|
|
27
|
+
onClick: _ctx.close
|
|
28
|
+
}, null, 8, ["d", "class", "onClick"]),
|
|
29
|
+
createElementVNode("div", {
|
|
30
|
+
class: normalizeClass(_ctx.$style.progress),
|
|
31
|
+
style: normalizeStyle({
|
|
32
|
+
animationDuration: `${_ctx.timeout}ms`
|
|
33
|
+
})
|
|
34
|
+
}, null, 6)
|
|
35
|
+
], 2);
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
export {
|
|
40
|
+
_sfc_main as default
|
|
41
|
+
};
|
|
@@ -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("._snackbar_57kuh_1{position:relative;display:inline-flex;flex-direction:row;gap:1rem;align-items:center;padding:.75rem;pointer-events:all;border-radius:.25rem;box-shadow:0 0 .25rem #00000040;background-color:#ffffff80}[data-theme=dark] ._snackbar_57kuh_1{box-shadow:0 0 .25rem #00000080;background-color:#0003}._icon_57kuh_18{padding:.25rem;border-radius:50%;cursor:pointer;transition:background-color .2s}._icon_57kuh_18:hover{background-color:#0000001a}[data-theme=dark] ._icon_57kuh_18:hover{background-color:#ffffff1a}@keyframes _progress_57kuh_41{0%{transform:scaleX(1);transform-origin:left}to{transform:scaleX(0);transform-origin:left}}._progress_57kuh_41{position:absolute;width:100%;height:3px;bottom:0;left:0;background-color:#6987b8;animation-name:_progress_57kuh_41;animation-iteration-count:1;animation-fill-mode:both;animation-timing-function:linear}"));
|
|
7
|
+
document.head.appendChild(elementStyle);
|
|
8
|
+
}
|
|
9
|
+
} catch (e) {
|
|
10
|
+
console.error("vite-plugin-css-injected-by-js", e);
|
|
11
|
+
}
|
|
12
|
+
})();
|
|
13
|
+
const snackbar = "_snackbar_57kuh_1";
|
|
14
|
+
const icon = "_icon_57kuh_18";
|
|
15
|
+
const progress = "_progress_57kuh_41";
|
|
16
|
+
const style0 = {
|
|
17
|
+
snackbar,
|
|
18
|
+
icon,
|
|
19
|
+
progress
|
|
20
|
+
};
|
|
21
|
+
export {
|
|
22
|
+
style0 as default,
|
|
23
|
+
icon,
|
|
24
|
+
progress,
|
|
25
|
+
snackbar
|
|
26
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface ElmSnackbarContainerProps {
|
|
2
|
+
snackbars: {
|
|
3
|
+
id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
timeout?: number;
|
|
6
|
+
close: () => void;
|
|
7
|
+
}[];
|
|
8
|
+
}
|
|
9
|
+
declare const _default: import('vue').DefineComponent<ElmSnackbarContainerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmSnackbarContainerProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
(function() {
|
|
2
|
+
"use strict";
|
|
3
|
+
try {
|
|
4
|
+
if (typeof document != "undefined") {
|
|
5
|
+
var elementStyle = document.createElement("style");
|
|
6
|
+
elementStyle.appendChild(document.createTextNode(".fade-enter-active[data-v-12f55baa],.fade-leave-active[data-v-12f55baa]{transition:all .3s ease}.fade-enter-from[data-v-12f55baa],.fade-leave-to[data-v-12f55baa]{opacity:0;transform:translate(30px)}"));
|
|
7
|
+
document.head.appendChild(elementStyle);
|
|
8
|
+
}
|
|
9
|
+
} catch (e) {
|
|
10
|
+
console.error("vite-plugin-css-injected-by-js", e);
|
|
11
|
+
}
|
|
12
|
+
})();
|
|
13
|
+
import _sfc_main from "./ElmSnackbarContainer.vue2.mjs";
|
|
14
|
+
import style0 from "./ElmSnackbarContainer.vue3.mjs";
|
|
15
|
+
|
|
16
|
+
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
17
|
+
const cssModules = {
|
|
18
|
+
"$style": style0
|
|
19
|
+
};
|
|
20
|
+
const ElmSnackbarContainer = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules], ["__scopeId", "data-v-12f55baa"]]);
|
|
21
|
+
export {
|
|
22
|
+
ElmSnackbarContainer as default
|
|
23
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { defineComponent, createElementBlock, openBlock, normalizeClass, createElementVNode, createVNode, TransitionGroup, withCtx, Fragment, renderList, createBlock, mergeProps } from "vue";
|
|
2
|
+
import ElmSnackbar from "./ElmSnackbar.vue.mjs";
|
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
|
+
__name: "ElmSnackbarContainer",
|
|
5
|
+
props: {
|
|
6
|
+
snackbars: {}
|
|
7
|
+
},
|
|
8
|
+
setup(__props) {
|
|
9
|
+
return (_ctx, _cache) => {
|
|
10
|
+
return openBlock(), createElementBlock("div", {
|
|
11
|
+
class: normalizeClass(_ctx.$style["snackbar-screen"])
|
|
12
|
+
}, [
|
|
13
|
+
createElementVNode("div", {
|
|
14
|
+
class: normalizeClass(_ctx.$style["snackbar-container"])
|
|
15
|
+
}, [
|
|
16
|
+
createVNode(TransitionGroup, { name: "fade" }, {
|
|
17
|
+
default: withCtx(() => [
|
|
18
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.snackbars, (snackbar) => {
|
|
19
|
+
return openBlock(), createBlock(ElmSnackbar, mergeProps({ ref_for: true }, snackbar, {
|
|
20
|
+
key: snackbar.id
|
|
21
|
+
}), null, 16);
|
|
22
|
+
}), 128))
|
|
23
|
+
]),
|
|
24
|
+
_: 1
|
|
25
|
+
})
|
|
26
|
+
], 2)
|
|
27
|
+
], 2);
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
export {
|
|
32
|
+
_sfc_main as default
|
|
33
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
(function() {
|
|
2
|
+
"use strict";
|
|
3
|
+
try {
|
|
4
|
+
if (typeof document != "undefined") {
|
|
5
|
+
var elementStyle = document.createElement("style");
|
|
6
|
+
elementStyle.appendChild(document.createTextNode("._snackbar-screen_rfxmg_1{position:fixed;top:0;left:0;width:100%;height:100vh;z-index:1000;display:flex;justify-content:flex-end;align-items:flex-end;pointer-events:none}._snackbar-container_rfxmg_14{margin:1rem;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-end;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 style0 = {
|
|
14
|
+
"snackbar-screen": "_snackbar-screen_rfxmg_1",
|
|
15
|
+
"snackbar-container": "_snackbar-container_rfxmg_14"
|
|
16
|
+
};
|
|
17
|
+
export {
|
|
18
|
+
style0 as default
|
|
19
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/vue3';
|
|
2
|
+
import { default as ElmToggle } from './ElmToggle.vue';
|
|
3
|
+
declare const meta: Meta<typeof ElmToggle>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
export declare const InlineSummary: Story;
|