@elmethis/core 1.0.0-alpha.16 → 1.0.0-alpha.160
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/badge/ElmBadge.css +11 -0
- package/dist/components/{inline/ElmInlineCode.stories.d.ts → badge/ElmBadge.stories.d.ts} +2 -2
- package/dist/components/badge/ElmBadge.vue.d.ts +21 -0
- package/dist/components/badge/ElmBadge.vue.mjs +10 -0
- package/dist/components/badge/ElmBadge.vue2.mjs +33 -0
- package/dist/components/badge/ElmBadge.vue3.mjs +14 -0
- package/dist/components/badge/ElmTag.css +29 -0
- package/dist/components/badge/ElmTag.stories.d.ts +7 -0
- package/dist/components/badge/ElmTag.vue.d.ts +14 -0
- package/dist/components/badge/ElmTag.vue.mjs +10 -0
- package/dist/components/badge/ElmTag.vue2.mjs +39 -0
- package/dist/components/badge/ElmTag.vue3.mjs +14 -0
- package/dist/components/code/ElmCodeBlock.css +58 -0
- package/dist/components/code/ElmCodeBlock.vue.d.ts +8 -1
- package/dist/components/code/ElmCodeBlock.vue.mjs +10 -0
- package/dist/components/code/ElmCodeBlock.vue2.mjs +86 -0
- package/dist/components/code/ElmCodeBlock.vue3.mjs +18 -0
- package/dist/components/code/ElmKatex.css +28 -0
- package/dist/components/code/ElmKatex.vue.d.ts +3 -1
- package/dist/components/code/ElmKatex.vue.mjs +10 -0
- package/dist/components/code/ElmKatex.vue2.mjs +62 -0
- package/dist/components/code/ElmKatex.vue3.mjs +8 -0
- package/dist/components/code/ElmShikiHighlighter.css +4 -0
- package/dist/components/code/{ElmPrismHighlighter.stories.d.ts → ElmShikiHighlighter.stories.d.ts} +2 -3
- package/dist/components/code/{ElmPrismHighlighter.vue.d.ts → ElmShikiHighlighter.vue.d.ts} +3 -3
- package/dist/components/code/ElmShikiHighlighter.vue.mjs +11 -0
- package/dist/components/code/ElmShikiHighlighter.vue2.mjs +47 -0
- package/dist/components/code/ElmShikiHighlighter.vue3.mjs +8 -0
- package/dist/components/code/ElmShikiHighlighter2.css +23 -0
- package/dist/components/code/shikiInstance.d.ts +2 -0
- package/dist/components/code/shikiInstance.mjs +76 -0
- package/dist/components/containments/ElmColumn.css +3 -0
- package/dist/components/containments/ElmColumn.vue.d.ts +3 -2
- 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 +8 -0
- package/dist/components/containments/ElmColumnList.css +5 -0
- package/dist/components/containments/ElmColumnList.vue.d.ts +3 -2
- 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 +6 -0
- package/dist/components/containments/ElmDesktopWindow.css +27 -0
- package/dist/components/containments/ElmDesktopWindow.vue.d.ts +3 -2
- 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 +14 -0
- package/dist/components/containments/ElmModal.css +12 -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 +10 -0
- package/dist/components/containments/ElmModal.vue2.mjs +44 -0
- package/dist/components/containments/ElmModal.vue3.mjs +11 -0
- package/dist/components/containments/ElmModal2.css +33 -0
- package/dist/components/containments/ElmParallax.css +14 -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 +8 -0
- package/dist/components/containments/ElmSnackbar.css +56 -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 +39 -0
- package/dist/components/containments/ElmSnackbar.vue3.mjs +14 -0
- package/dist/components/containments/ElmSnackbarContainer.css +9 -0
- package/dist/components/containments/ElmSnackbarContainer.vue.d.ts +10 -0
- package/dist/components/containments/ElmSnackbarContainer.vue.mjs +10 -0
- package/dist/components/containments/ElmSnackbarContainer.vue2.mjs +33 -0
- package/dist/components/containments/ElmSnackbarContainer.vue3.mjs +7 -0
- package/dist/components/containments/ElmSnackbarContainer2.css +20 -0
- package/dist/components/containments/ElmToggle.css +13 -0
- package/dist/components/containments/ElmToggle.stories.d.ts +1 -0
- package/dist/components/containments/ElmToggle.vue.d.ts +13 -6
- package/dist/components/containments/ElmToggle.vue.mjs +10 -0
- package/dist/components/containments/ElmToggle.vue2.mjs +71 -0
- package/dist/components/containments/ElmToggle.vue3.mjs +17 -0
- package/dist/components/containments/ElmToggle2.css +43 -0
- package/dist/components/containments/ElmTooltip.css +14 -0
- package/dist/components/containments/ElmTooltip.vue.d.ts +5 -2
- package/dist/components/containments/ElmTooltip.vue.mjs +10 -0
- package/dist/components/containments/ElmTooltip.vue2.mjs +49 -0
- package/dist/components/containments/ElmTooltip.vue3.mjs +8 -0
- package/dist/components/containments/ElmTooltip2.css +15 -0
- package/dist/components/containments/useSnackbarState.d.ts +28 -0
- package/dist/components/data/ElmMultiProgress.css +23 -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 +11 -0
- package/dist/components/data/ElmProgress.css +84 -0
- package/dist/components/data/ElmProgress.stories.d.ts +1 -0
- package/dist/components/data/ElmProgress.vue.d.ts +6 -1
- 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 +20 -0
- package/dist/components/data/ElmStatusMessage.css +12 -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 +10 -0
- package/dist/components/data/ElmStatusMessage.vue2.mjs +75 -0
- package/dist/components/data/ElmStatusMessage.vue3.mjs +11 -0
- package/dist/components/data/ElmStatusMessage2.css +9 -0
- package/dist/components/fallback/ElmBlockFallback.css +7 -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 +6 -0
- package/dist/components/fallback/ElmRectangleWave.css +33 -0
- package/dist/components/fallback/ElmRectangleWave.vue.d.ts +1 -1
- 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 +9 -0
- package/dist/components/fallback/ElmSpinner.css +25 -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 +12 -0
- package/dist/components/form/ElmButton.css +12 -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 +10 -0
- package/dist/components/form/ElmButton.vue2.mjs +57 -0
- package/dist/components/form/ElmButton.vue3.mjs +20 -0
- package/dist/components/form/ElmButton2.css +65 -0
- package/dist/components/form/ElmCheckbox.css +67 -0
- package/dist/components/form/ElmCheckbox.vue.d.ts +16 -6
- 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 +22 -0
- package/dist/components/form/ElmSwitch.css +42 -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 +16 -0
- package/dist/components/form/ElmTextField.css +163 -0
- package/dist/components/form/ElmTextField.stories.d.ts +6 -0
- package/dist/components/form/ElmTextField.vue.d.ts +30 -0
- package/dist/components/form/ElmTextField.vue.mjs +10 -0
- package/dist/components/form/ElmTextField.vue2.mjs +124 -0
- package/dist/components/form/ElmTextField.vue3.mjs +34 -0
- package/dist/components/form/ElmTotp.css +60 -0
- package/dist/components/form/ElmTotp.stories.d.ts +6 -0
- package/dist/components/form/ElmTotp.vue.d.ts +12 -0
- package/dist/components/form/ElmTotp.vue.mjs +10 -0
- package/dist/components/form/ElmTotp.vue2.mjs +102 -0
- package/dist/components/form/ElmTotp.vue3.mjs +22 -0
- package/dist/components/headings/ElmFragmentIdentifier.css +20 -0
- package/dist/components/headings/ElmFragmentIdentifier.stories.d.ts +6 -0
- package/dist/components/headings/ElmFragmentIdentifier.vue.d.ts +8 -0
- package/dist/components/headings/ElmFragmentIdentifier.vue.mjs +10 -0
- package/dist/components/headings/ElmFragmentIdentifier.vue2.mjs +54 -0
- package/dist/components/headings/ElmFragmentIdentifier.vue3.mjs +11 -0
- package/dist/components/headings/ElmHeading1.css +56 -0
- package/dist/components/headings/ElmHeading1.vue.d.ts +9 -1
- package/dist/components/headings/ElmHeading1.vue.mjs +10 -0
- package/dist/components/headings/ElmHeading1.vue2.mjs +43 -0
- package/dist/components/headings/ElmHeading1.vue3.mjs +8 -0
- package/dist/components/headings/ElmHeading2.css +72 -0
- package/dist/components/headings/ElmHeading2.vue.d.ts +9 -1
- package/dist/components/headings/ElmHeading2.vue.mjs +10 -0
- package/dist/components/headings/ElmHeading2.vue2.mjs +49 -0
- package/dist/components/headings/ElmHeading2.vue3.mjs +11 -0
- package/dist/components/headings/ElmHeading3.css +42 -0
- package/dist/components/headings/ElmHeading3.vue.d.ts +9 -1
- package/dist/components/headings/ElmHeading3.vue.mjs +10 -0
- package/dist/components/headings/ElmHeading3.vue2.mjs +39 -0
- package/dist/components/headings/ElmHeading3.vue3.mjs +8 -0
- package/dist/components/headings/ElmHeading4.css +25 -0
- package/dist/components/headings/ElmHeading4.vue.d.ts +6 -0
- package/dist/components/headings/ElmHeading4.vue.mjs +10 -0
- package/dist/components/headings/ElmHeading4.vue2.mjs +31 -0
- package/dist/components/headings/ElmHeading4.vue3.mjs +8 -0
- package/dist/components/headings/ElmHeading5.css +25 -0
- package/dist/components/headings/ElmHeading5.vue.d.ts +6 -0
- package/dist/components/headings/ElmHeading5.vue.mjs +10 -0
- package/dist/components/headings/ElmHeading5.vue2.mjs +31 -0
- package/dist/components/headings/ElmHeading5.vue3.mjs +8 -0
- package/dist/components/headings/ElmHeading6.css +25 -0
- package/dist/components/headings/ElmHeading6.vue.d.ts +6 -0
- package/dist/components/headings/ElmHeading6.vue.mjs +10 -0
- package/dist/components/headings/ElmHeading6.vue2.mjs +31 -0
- package/dist/components/headings/ElmHeading6.vue3.mjs +8 -0
- package/dist/components/icon/ElmArrowIcon.css +44 -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 +17 -0
- package/dist/components/icon/ElmBookmarkIcon.css +40 -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 +45 -0
- package/dist/components/icon/ElmBookmarkIcon.vue3.mjs +15 -0
- package/dist/components/icon/ElmCubeIcon.css +38 -0
- package/dist/components/icon/ElmCubeIcon.vue.d.ts +1 -1
- 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 +12 -0
- package/dist/components/icon/ElmDotLoadingIcon.css +41 -0
- package/dist/components/icon/ElmDotLoadingIcon.vue.d.ts +2 -2
- 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 +14 -0
- package/dist/components/icon/ElmLanguageIcon.css +12 -0
- package/dist/components/icon/ElmLanguageIcon.vue.d.ts +1 -1
- package/dist/components/icon/ElmLanguageIcon.vue.mjs +10 -0
- package/dist/components/icon/ElmLanguageIcon.vue2.mjs +148 -0
- package/dist/components/icon/ElmLanguageIcon.vue3.mjs +11 -0
- package/dist/components/icon/ElmLanguageIcon2.css +9 -0
- package/dist/components/icon/ElmLoginIcon.css +16 -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 +37 -0
- package/dist/components/icon/ElmLoginIcon.vue3.mjs +8 -0
- package/dist/components/icon/ElmToggleTheme.css +18 -0
- package/dist/components/icon/ElmToggleTheme.vue.mjs +10 -0
- package/dist/components/icon/ElmToggleTheme.vue2.mjs +30 -0
- package/dist/components/icon/ElmToggleTheme.vue3.mjs +8 -0
- package/dist/components/icon/languages/Bash.css +6 -0
- package/dist/components/icon/languages/Bash.vue.d.ts +1 -1
- package/dist/{Bash-KV1blS97.js → components/icon/languages/Bash.vue.mjs} +20 -15
- package/dist/components/icon/languages/Bash.vue2.mjs +8 -0
- package/dist/components/icon/languages/{JavaScript.vue.d.ts → Css.vue.d.ts} +1 -1
- package/dist/components/icon/languages/Css.vue.mjs +19 -0
- package/dist/components/icon/languages/Rust.vue.d.ts +1 -1
- package/dist/components/icon/languages/Rust.vue.mjs +17 -0
- package/dist/components/inline/ElmInlineIcon.stories.d.ts +6 -0
- package/dist/components/inline/ElmInlineIcon.vue.d.ts +6 -0
- package/dist/components/inline/ElmInlineLink.css +36 -0
- package/dist/components/inline/ElmInlineLink.vue.d.ts +1 -1
- package/dist/components/inline/ElmInlineLink.vue.mjs +10 -0
- package/dist/components/inline/ElmInlineLink.vue2.mjs +53 -0
- package/dist/components/inline/ElmInlineLink.vue3.mjs +11 -0
- package/dist/components/inline/ElmInlineRuby.vue.d.ts +1 -1
- package/dist/components/inline/ElmInlineRuby.vue.mjs +29 -0
- package/dist/components/inline/ElmInlineRuby.vue2.mjs +4 -0
- package/dist/components/inline/ElmInlineText.css +41 -0
- package/dist/components/inline/ElmInlineText.stories.d.ts +1 -0
- package/dist/components/inline/ElmInlineText.vue.d.ts +10 -1
- package/dist/components/inline/ElmInlineText.vue.mjs +10 -0
- package/dist/components/inline/ElmInlineText.vue2.mjs +57 -0
- package/dist/components/inline/ElmInlineText.vue3.mjs +11 -0
- package/dist/components/inline/ElmTypingAnimation.stories.d.ts +6 -0
- package/dist/components/inline/ElmTypingAnimation.vue.d.ts +21 -0
- package/dist/components/jsonschema/ElmChildContainer.stories.d.ts +6 -0
- package/dist/components/jsonschema/ElmChildContainer.vue.d.ts +21 -0
- package/dist/components/jsonschema/ElmFieldAttribute.stories.d.ts +6 -0
- package/dist/components/jsonschema/ElmFieldAttribute.vue.d.ts +7 -0
- package/dist/components/jsonschema/ElmFieldType.stories.d.ts +7 -0
- package/dist/components/jsonschema/ElmFieldType.vue.d.ts +8 -0
- package/dist/components/jsonschema/ElmJsonSchema.stories.d.ts +7 -0
- package/dist/components/jsonschema/ElmJsonSchema.vue.d.ts +7 -0
- package/dist/components/media/ElmFile.css +52 -0
- package/dist/components/media/ElmFile.vue.d.ts +6 -1
- package/dist/components/media/ElmFile.vue.mjs +10 -0
- package/dist/components/media/ElmFile.vue2.mjs +77 -0
- package/dist/components/media/ElmFile.vue3.mjs +14 -0
- package/dist/components/media/ElmImage.css +12 -0
- package/dist/components/media/ElmImage.stories.d.ts +1 -0
- package/dist/components/media/ElmImage.vue.d.ts +5 -0
- package/dist/components/media/ElmImage.vue.mjs +10 -0
- package/dist/components/media/ElmImage.vue2.mjs +91 -0
- package/dist/components/media/ElmImage.vue3.mjs +18 -0
- package/dist/components/media/ElmImage2.css +51 -0
- package/dist/components/navigation/ElmBookmark.css +104 -0
- package/dist/components/navigation/ElmBookmark.stories.d.ts +2 -0
- package/dist/components/navigation/ElmBookmark.vue.d.ts +13 -9
- package/dist/components/navigation/ElmBookmark.vue.mjs +10 -0
- package/dist/components/navigation/ElmBookmark.vue2.mjs +115 -0
- package/dist/components/navigation/ElmBookmark.vue3.mjs +32 -0
- package/dist/components/navigation/ElmBreadcrumb.css +46 -0
- package/dist/components/navigation/ElmBreadcrumb.vue.d.ts +3 -1
- package/dist/components/navigation/ElmBreadcrumb.vue.mjs +10 -0
- package/dist/components/navigation/ElmBreadcrumb.vue2.mjs +63 -0
- package/dist/components/navigation/ElmBreadcrumb.vue3.mjs +18 -0
- package/dist/components/navigation/ElmPagetop.css +105 -0
- package/dist/components/navigation/ElmPagetop.vue.d.ts +1 -1
- 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 +18 -0
- package/dist/components/navigation/ElmTableOfContents.css +33 -0
- package/dist/components/navigation/ElmTableOfContents.vue.d.ts +1 -1
- package/dist/components/navigation/ElmTableOfContents.vue.mjs +10 -0
- package/dist/components/navigation/ElmTableOfContents.vue2.mjs +43 -0
- package/dist/components/navigation/ElmTableOfContents.vue3.mjs +14 -0
- package/dist/components/others/ElmColorSample.css +12 -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 +10 -0
- package/dist/components/others/ElmColorSample.vue2.mjs +72 -0
- package/dist/components/others/ElmColorSample.vue3.mjs +9 -0
- package/dist/components/others/ElmColorSample2.css +34 -0
- package/dist/components/others/ElmColorTable.css +26 -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 +10 -0
- package/dist/components/others/ElmTemplate.stories.d.ts +6 -0
- package/dist/components/others/ElmTyping.vue.d.ts +4 -0
- package/dist/components/renderer/ElmJsonRenderer.stories.d.ts +1 -0
- package/dist/components/renderer/ElmJsonRenderer.vue.d.ts +39 -8
- package/dist/components/table/ElmTable.css +6 -0
- package/dist/components/table/ElmTable.vue.d.ts +8 -2
- package/dist/components/table/ElmTable.vue.mjs +6 -0
- package/dist/components/table/ElmTable.vue2.mjs +22 -0
- package/dist/components/table/ElmTableBody.css +48 -0
- package/dist/components/table/ElmTableBody.vue.d.ts +3 -2
- package/dist/components/table/ElmTableBody.vue.mjs +15 -0
- package/dist/components/table/ElmTableBody.vue3.mjs +5 -0
- package/dist/components/table/ElmTableCell.css +16 -0
- package/dist/components/table/ElmTableCell.vue.d.ts +2 -1
- package/dist/components/table/ElmTableCell.vue.mjs +6 -0
- package/dist/components/table/ElmTableCell.vue2.mjs +22 -0
- package/dist/components/table/ElmTableHeader.css +40 -0
- package/dist/components/table/ElmTableHeader.vue.d.ts +3 -2
- package/dist/components/table/ElmTableHeader.vue.mjs +15 -0
- package/dist/components/table/ElmTableHeader.vue3.mjs +5 -0
- package/dist/components/table/ElmTableRow.vue.d.ts +3 -2
- package/dist/components/table/ElmTableRow.vue.mjs +14 -0
- package/dist/components/table/ElmTableRow.vue2.mjs +4 -0
- package/dist/components/template/ElmTemplate.vue.d.ts +1 -1
- package/dist/components/typography/ElmBlockQuote.css +12 -0
- package/dist/components/typography/ElmBlockQuote.vue.d.ts +5 -2
- package/dist/components/typography/ElmBlockQuote.vue.mjs +10 -0
- package/dist/components/typography/ElmBlockQuote.vue2.mjs +27 -0
- package/dist/components/typography/ElmBlockQuote.vue3.mjs +8 -0
- package/dist/components/typography/ElmBulletedList.css +21 -0
- package/dist/components/typography/ElmBulletedList.vue.d.ts +5 -2
- package/dist/components/typography/ElmBulletedList.vue.mjs +27 -0
- package/dist/components/typography/ElmBulletedList.vue3.mjs +5 -0
- package/dist/components/typography/ElmCallout.css +33 -0
- package/dist/components/typography/ElmCallout.vue.d.ts +5 -2
- package/dist/components/typography/ElmCallout.vue.mjs +10 -0
- package/dist/components/typography/ElmCallout.vue2.mjs +57 -0
- package/dist/components/typography/ElmCallout.vue3.mjs +14 -0
- package/dist/components/typography/ElmDivider.css +40 -0
- package/dist/components/typography/ElmDivider.vue.d.ts +8 -1
- 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 +8 -0
- package/dist/components/typography/ElmListItem.css +3 -0
- package/dist/components/typography/ElmListItem.vue.d.ts +3 -2
- package/dist/components/typography/ElmListItem.vue.mjs +10 -0
- package/dist/components/typography/ElmListItem.vue2.mjs +16 -0
- package/dist/components/typography/ElmListItem.vue3.mjs +8 -0
- package/dist/components/typography/ElmNumberedList.css +26 -0
- package/dist/components/typography/ElmNumberedList.vue.d.ts +5 -2
- package/dist/components/typography/ElmNumberedList.vue.mjs +27 -0
- package/dist/components/typography/ElmNumberedList.vue3.mjs +5 -0
- package/dist/components/typography/ElmParagraph.css +25 -0
- package/dist/components/typography/ElmParagraph.vue.d.ts +5 -2
- 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 +8 -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/index.d.ts +122 -45
- package/dist/index.mjs +128 -0
- package/dist/node_modules/.pnpm/katex@0.16.21/node_modules/katex/dist/katex.min.css +1 -0
- package/package.json +38 -30
- package/dist/JavaScript-u46IG0c4.js +0 -22
- package/dist/Rust-Dg96oGSm.js +0 -16
- package/dist/TypeScript-SVZmAXrW.js +0 -22
- package/dist/components/icon/languages/TypeScript.vue.d.ts +0 -2
- package/dist/components/inline/ElmInlineCode.vue.d.ts +0 -15
- package/dist/elmethis.js +0 -47
- package/dist/elmethis.umd.cjs +0 -419
- package/dist/index-KH8UFSIm.js +0 -16258
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { defineComponent, onMounted, nextTick, createElementBlock, openBlock, normalizeClass, createVNode, unref } from "vue";
|
|
2
|
+
import { Icon } from "@iconify/vue";
|
|
3
|
+
import { useClipboard } from "@vueuse/core";
|
|
4
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
|
+
__name: "ElmFragmentIdentifier",
|
|
6
|
+
props: {
|
|
7
|
+
id: {}
|
|
8
|
+
},
|
|
9
|
+
setup(__props) {
|
|
10
|
+
const handleHashClick = (id) => {
|
|
11
|
+
const url = new URL(window.location.href);
|
|
12
|
+
url.hash = id;
|
|
13
|
+
window.history.replaceState(null, "", url.toString());
|
|
14
|
+
const target = document.getElementById(id);
|
|
15
|
+
if (target != null) {
|
|
16
|
+
target.scrollIntoView({ behavior: "smooth" });
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
const handleLinkClick = (id) => {
|
|
20
|
+
const url = new URL(window.location.href);
|
|
21
|
+
url.hash = id;
|
|
22
|
+
window.history.replaceState(null, "", url.toString());
|
|
23
|
+
copy(window.location.href);
|
|
24
|
+
};
|
|
25
|
+
const { copy } = useClipboard();
|
|
26
|
+
onMounted(() => {
|
|
27
|
+
nextTick(() => {
|
|
28
|
+
const element = document.querySelector(window.location.hash);
|
|
29
|
+
if (element) {
|
|
30
|
+
element.scrollIntoView({ behavior: "smooth" });
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
return (_ctx, _cache) => {
|
|
35
|
+
return openBlock(), createElementBlock("div", {
|
|
36
|
+
class: normalizeClass(_ctx.$style.fragment)
|
|
37
|
+
}, [
|
|
38
|
+
createVNode(unref(Icon), {
|
|
39
|
+
icon: "material-symbols:anchor",
|
|
40
|
+
class: normalizeClass(_ctx.$style.icon),
|
|
41
|
+
onClick: _cache[0] || (_cache[0] = ($event) => handleHashClick(_ctx.id))
|
|
42
|
+
}, null, 8, ["class"]),
|
|
43
|
+
createVNode(unref(Icon), {
|
|
44
|
+
icon: "mingcute:link-line",
|
|
45
|
+
class: normalizeClass(_ctx.$style.icon),
|
|
46
|
+
onClick: _cache[1] || (_cache[1] = ($event) => handleLinkClick(_ctx.id))
|
|
47
|
+
}, null, 8, ["class"])
|
|
48
|
+
], 2);
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
export {
|
|
53
|
+
_sfc_main as default
|
|
54
|
+
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
._h1_7nvyi_1 {
|
|
2
|
+
position: relative;
|
|
3
|
+
font-size: var(--font-size);
|
|
4
|
+
line-height: var(cacl(--font-size0.25rem));
|
|
5
|
+
opacity: var(--opacity);
|
|
6
|
+
transition: color 400ms, opacity 800ms;
|
|
7
|
+
color: rgba(0, 0, 0, 0.8);
|
|
8
|
+
}
|
|
9
|
+
._h1_7nvyi_1::-moz-selection {
|
|
10
|
+
color: rgba(255, 255, 255, 0.8);
|
|
11
|
+
background-color: rgba(0, 0, 0, 0.8);
|
|
12
|
+
}
|
|
13
|
+
._h1_7nvyi_1::selection {
|
|
14
|
+
color: rgba(255, 255, 255, 0.8);
|
|
15
|
+
background-color: rgba(0, 0, 0, 0.8);
|
|
16
|
+
}
|
|
17
|
+
[data-theme=dark] ._h1_7nvyi_1 {
|
|
18
|
+
color: rgba(255, 255, 255, 0.8);
|
|
19
|
+
}
|
|
20
|
+
[data-theme=dark] ._h1_7nvyi_1::-moz-selection {
|
|
21
|
+
color: rgba(0, 0, 0, 0.8);
|
|
22
|
+
background-color: rgba(255, 255, 255, 0.8);
|
|
23
|
+
}
|
|
24
|
+
[data-theme=dark] ._h1_7nvyi_1::selection {
|
|
25
|
+
color: rgba(0, 0, 0, 0.8);
|
|
26
|
+
background-color: rgba(255, 255, 255, 0.8);
|
|
27
|
+
}
|
|
28
|
+
._h1_7nvyi_1::after {
|
|
29
|
+
position: absolute;
|
|
30
|
+
content: "";
|
|
31
|
+
bottom: -2px;
|
|
32
|
+
left: 0;
|
|
33
|
+
width: 100%;
|
|
34
|
+
height: 0.25px;
|
|
35
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
36
|
+
transition: transform 800ms;
|
|
37
|
+
transform: scaleX(var(--scale));
|
|
38
|
+
}
|
|
39
|
+
[data-theme=dark] ._h1_7nvyi_1::after {
|
|
40
|
+
background-color: rgba(255, 255, 255, 0.5);
|
|
41
|
+
}
|
|
42
|
+
._h1_7nvyi_1::before {
|
|
43
|
+
position: absolute;
|
|
44
|
+
content: "";
|
|
45
|
+
bottom: -4px;
|
|
46
|
+
left: 45%;
|
|
47
|
+
width: 10%;
|
|
48
|
+
height: 2px;
|
|
49
|
+
background-color: rgba(0, 0, 0, 0.6);
|
|
50
|
+
transition: transform 800ms;
|
|
51
|
+
transform: scaleY(var(--scale));
|
|
52
|
+
transform-origin: top;
|
|
53
|
+
}
|
|
54
|
+
[data-theme=dark] ._h1_7nvyi_1::before {
|
|
55
|
+
background-color: rgba(255, 255, 255, 0.6);
|
|
56
|
+
}
|
|
@@ -13,8 +13,16 @@ export interface ElmHeading1Props {
|
|
|
13
13
|
* Default is kebab-cased `text`. (using lodash)
|
|
14
14
|
*/
|
|
15
15
|
id?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Whether to disable fragment identifier.
|
|
18
|
+
* Default is `false`.
|
|
19
|
+
*/
|
|
20
|
+
disableFragmentIdentifier?: boolean;
|
|
16
21
|
}
|
|
17
22
|
declare const _default: import('vue').DefineComponent<ElmHeading1Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmHeading1Props> & Readonly<{}>, {
|
|
18
23
|
size: Property.FontSize;
|
|
19
|
-
|
|
24
|
+
disableFragmentIdentifier: boolean;
|
|
25
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
26
|
+
target: HTMLHeadingElement;
|
|
27
|
+
}, any>;
|
|
20
28
|
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import _sfc_main from "./ElmHeading1.vue2.mjs";
|
|
2
|
+
import style0 from "./ElmHeading1.vue3.mjs";
|
|
3
|
+
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const cssModules = {
|
|
5
|
+
"$style": style0
|
|
6
|
+
};
|
|
7
|
+
const ElmHeading1 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
|
|
8
|
+
export {
|
|
9
|
+
ElmHeading1 as default
|
|
10
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { defineComponent, ref, createElementBlock, openBlock, Fragment, createElementVNode, createBlock, createCommentVNode, normalizeStyle, unref, normalizeClass, toDisplayString } from "vue";
|
|
2
|
+
import { useIntersectionObserver } from "@vueuse/core";
|
|
3
|
+
import { kebabCase } from "lodash-es";
|
|
4
|
+
import ElmFragmentIdentifier from "./ElmFragmentIdentifier.vue.mjs";
|
|
5
|
+
const _hoisted_1 = ["id"];
|
|
6
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
|
+
__name: "ElmHeading1",
|
|
8
|
+
props: {
|
|
9
|
+
text: {},
|
|
10
|
+
size: { default: "1.5rem" },
|
|
11
|
+
id: {},
|
|
12
|
+
disableFragmentIdentifier: { type: Boolean, default: false }
|
|
13
|
+
},
|
|
14
|
+
setup(__props) {
|
|
15
|
+
const target = ref(null);
|
|
16
|
+
const targetIsVisible = ref(false);
|
|
17
|
+
useIntersectionObserver(target, ([{ isIntersecting }], _) => {
|
|
18
|
+
targetIsVisible.value = isIntersecting;
|
|
19
|
+
});
|
|
20
|
+
return (_ctx, _cache) => {
|
|
21
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
22
|
+
createElementVNode("h1", {
|
|
23
|
+
ref_key: "target",
|
|
24
|
+
ref: target,
|
|
25
|
+
class: normalizeClass(_ctx.$style.h1),
|
|
26
|
+
id: _ctx.id ?? unref(kebabCase)(_ctx.text),
|
|
27
|
+
style: normalizeStyle({
|
|
28
|
+
"--scale": targetIsVisible.value ? 1 : 0,
|
|
29
|
+
"--font-size": _ctx.size,
|
|
30
|
+
"--opacity": targetIsVisible.value ? 1 : 0
|
|
31
|
+
})
|
|
32
|
+
}, toDisplayString(_ctx.text), 15, _hoisted_1),
|
|
33
|
+
!_ctx.disableFragmentIdentifier ? (openBlock(), createBlock(ElmFragmentIdentifier, {
|
|
34
|
+
key: 0,
|
|
35
|
+
id: _ctx.id ?? unref(kebabCase)(_ctx.text)
|
|
36
|
+
}, null, 8, ["id"])) : createCommentVNode("", true)
|
|
37
|
+
], 64);
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
export {
|
|
42
|
+
_sfc_main as default
|
|
43
|
+
};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
._h2_cxjup_1 {
|
|
2
|
+
margin-block: 1rem;
|
|
3
|
+
position: relative;
|
|
4
|
+
font-size: var(--font-size);
|
|
5
|
+
line-height: var(--font-size);
|
|
6
|
+
opacity: var(--opacity);
|
|
7
|
+
transition: color 400ms, opacity 800ms;
|
|
8
|
+
color: rgba(0, 0, 0, 0.8);
|
|
9
|
+
}
|
|
10
|
+
._h2_cxjup_1::-moz-selection {
|
|
11
|
+
color: rgba(255, 255, 255, 0.8);
|
|
12
|
+
background-color: rgba(0, 0, 0, 0.8);
|
|
13
|
+
}
|
|
14
|
+
._h2_cxjup_1::selection {
|
|
15
|
+
color: rgba(255, 255, 255, 0.8);
|
|
16
|
+
background-color: rgba(0, 0, 0, 0.8);
|
|
17
|
+
}
|
|
18
|
+
[data-theme=dark] ._h2_cxjup_1 {
|
|
19
|
+
color: rgba(255, 255, 255, 0.8);
|
|
20
|
+
}
|
|
21
|
+
[data-theme=dark] ._h2_cxjup_1::-moz-selection {
|
|
22
|
+
color: rgba(0, 0, 0, 0.8);
|
|
23
|
+
background-color: rgba(255, 255, 255, 0.8);
|
|
24
|
+
}
|
|
25
|
+
[data-theme=dark] ._h2_cxjup_1::selection {
|
|
26
|
+
color: rgba(0, 0, 0, 0.8);
|
|
27
|
+
background-color: rgba(255, 255, 255, 0.8);
|
|
28
|
+
}
|
|
29
|
+
._h2_cxjup_1::after {
|
|
30
|
+
position: absolute;
|
|
31
|
+
content: "";
|
|
32
|
+
right: 2px;
|
|
33
|
+
bottom: -4px;
|
|
34
|
+
width: 6px;
|
|
35
|
+
height: 8px;
|
|
36
|
+
opacity: 0.8;
|
|
37
|
+
transform: skewX(-25deg);
|
|
38
|
+
background-color: rgba(0, 0, 0, 0.8);
|
|
39
|
+
}
|
|
40
|
+
[data-theme=dark] ._h2_cxjup_1::after {
|
|
41
|
+
background-color: rgba(255, 255, 255, 0.8);
|
|
42
|
+
}
|
|
43
|
+
._h2_cxjup_1::before {
|
|
44
|
+
position: absolute;
|
|
45
|
+
content: "";
|
|
46
|
+
right: 10px;
|
|
47
|
+
bottom: -4px;
|
|
48
|
+
width: 6px;
|
|
49
|
+
height: 8px;
|
|
50
|
+
opacity: 0.8;
|
|
51
|
+
transform: skewX(-25deg);
|
|
52
|
+
background-color: rgba(0, 0, 0, 0.8);
|
|
53
|
+
}
|
|
54
|
+
[data-theme=dark] ._h2_cxjup_1::before {
|
|
55
|
+
background-color: rgba(255, 255, 255, 0.8);
|
|
56
|
+
}
|
|
57
|
+
._underline_cxjup_50 {
|
|
58
|
+
overflow: hidden;
|
|
59
|
+
position: absolute;
|
|
60
|
+
content: "";
|
|
61
|
+
bottom: -6px;
|
|
62
|
+
left: 0;
|
|
63
|
+
width: 100%;
|
|
64
|
+
height: 0.25px;
|
|
65
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
66
|
+
transition: transform 800ms;
|
|
67
|
+
transform: scaleX(var(--scale));
|
|
68
|
+
transform-origin: left;
|
|
69
|
+
}
|
|
70
|
+
[data-theme=dark] ._underline_cxjup_50 {
|
|
71
|
+
background-color: rgba(255, 255, 255, 0.5);
|
|
72
|
+
}
|
|
@@ -13,8 +13,16 @@ export interface ElmHeading2Props {
|
|
|
13
13
|
* Default is kebab-cased `text`. (using lodash)
|
|
14
14
|
*/
|
|
15
15
|
id?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Whether to disable fragment identifier.
|
|
18
|
+
* Default is `false`.
|
|
19
|
+
*/
|
|
20
|
+
disableFragmentIdentifier?: boolean;
|
|
16
21
|
}
|
|
17
22
|
declare const _default: import('vue').DefineComponent<ElmHeading2Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmHeading2Props> & Readonly<{}>, {
|
|
18
23
|
size: Property.FontSize;
|
|
19
|
-
|
|
24
|
+
disableFragmentIdentifier: boolean;
|
|
25
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
26
|
+
target: HTMLHeadingElement;
|
|
27
|
+
}, any>;
|
|
20
28
|
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import _sfc_main from "./ElmHeading2.vue2.mjs";
|
|
2
|
+
import style0 from "./ElmHeading2.vue3.mjs";
|
|
3
|
+
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const cssModules = {
|
|
5
|
+
"$style": style0
|
|
6
|
+
};
|
|
7
|
+
const ElmHeading2 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
|
|
8
|
+
export {
|
|
9
|
+
ElmHeading2 as default
|
|
10
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { defineComponent, ref, createElementBlock, openBlock, Fragment, createElementVNode, createBlock, createCommentVNode, normalizeStyle, unref, normalizeClass, createTextVNode, toDisplayString } from "vue";
|
|
2
|
+
import { useIntersectionObserver } from "@vueuse/core";
|
|
3
|
+
import { kebabCase } from "lodash-es";
|
|
4
|
+
import ElmFragmentIdentifier from "./ElmFragmentIdentifier.vue.mjs";
|
|
5
|
+
const _hoisted_1 = ["id"];
|
|
6
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
|
+
__name: "ElmHeading2",
|
|
8
|
+
props: {
|
|
9
|
+
text: {},
|
|
10
|
+
size: { default: "1.4rem" },
|
|
11
|
+
id: {},
|
|
12
|
+
disableFragmentIdentifier: { type: Boolean, default: false }
|
|
13
|
+
},
|
|
14
|
+
setup(__props) {
|
|
15
|
+
const target = ref(null);
|
|
16
|
+
const targetIsVisible = ref(false);
|
|
17
|
+
useIntersectionObserver(target, ([{ isIntersecting }], _) => {
|
|
18
|
+
targetIsVisible.value = isIntersecting;
|
|
19
|
+
});
|
|
20
|
+
return (_ctx, _cache) => {
|
|
21
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
22
|
+
createElementVNode("h2", {
|
|
23
|
+
ref_key: "target",
|
|
24
|
+
ref: target,
|
|
25
|
+
class: normalizeClass(_ctx.$style.h2),
|
|
26
|
+
id: _ctx.id ?? unref(kebabCase)(_ctx.text),
|
|
27
|
+
style: normalizeStyle({
|
|
28
|
+
"--scale": targetIsVisible.value ? 1 : 0,
|
|
29
|
+
"--font-size": _ctx.size,
|
|
30
|
+
"--opacity": targetIsVisible.value ? 1 : 0
|
|
31
|
+
})
|
|
32
|
+
}, [
|
|
33
|
+
createTextVNode(toDisplayString(_ctx.text), 1),
|
|
34
|
+
createElementVNode("span", {
|
|
35
|
+
class: normalizeClass(_ctx.$style.underline),
|
|
36
|
+
"aria-hidden": ""
|
|
37
|
+
}, null, 2)
|
|
38
|
+
], 14, _hoisted_1),
|
|
39
|
+
!_ctx.disableFragmentIdentifier ? (openBlock(), createBlock(ElmFragmentIdentifier, {
|
|
40
|
+
key: 0,
|
|
41
|
+
id: _ctx.id ?? unref(kebabCase)(_ctx.text)
|
|
42
|
+
}, null, 8, ["id"])) : createCommentVNode("", true)
|
|
43
|
+
], 64);
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
export {
|
|
48
|
+
_sfc_main as default
|
|
49
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
._h3_x0d8r_1 {
|
|
2
|
+
margin-block: 1rem;
|
|
3
|
+
position: relative;
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
padding-left: 0.75rem;
|
|
6
|
+
font-size: var(--font-size);
|
|
7
|
+
line-height: var(--font-size);
|
|
8
|
+
opacity: var(--opacity);
|
|
9
|
+
transition: color 400ms, opacity 800ms;
|
|
10
|
+
color: rgba(0, 0, 0, 0.8);
|
|
11
|
+
}
|
|
12
|
+
._h3_x0d8r_1::-moz-selection {
|
|
13
|
+
color: rgba(255, 255, 255, 0.8);
|
|
14
|
+
background-color: rgba(0, 0, 0, 0.8);
|
|
15
|
+
}
|
|
16
|
+
._h3_x0d8r_1::selection {
|
|
17
|
+
color: rgba(255, 255, 255, 0.8);
|
|
18
|
+
background-color: rgba(0, 0, 0, 0.8);
|
|
19
|
+
}
|
|
20
|
+
[data-theme=dark] ._h3_x0d8r_1 {
|
|
21
|
+
color: rgba(255, 255, 255, 0.8);
|
|
22
|
+
}
|
|
23
|
+
[data-theme=dark] ._h3_x0d8r_1::-moz-selection {
|
|
24
|
+
color: rgba(0, 0, 0, 0.8);
|
|
25
|
+
background-color: rgba(255, 255, 255, 0.8);
|
|
26
|
+
}
|
|
27
|
+
[data-theme=dark] ._h3_x0d8r_1::selection {
|
|
28
|
+
color: rgba(0, 0, 0, 0.8);
|
|
29
|
+
background-color: rgba(255, 255, 255, 0.8);
|
|
30
|
+
}
|
|
31
|
+
._h3_x0d8r_1::after {
|
|
32
|
+
position: absolute;
|
|
33
|
+
content: "";
|
|
34
|
+
width: 3px;
|
|
35
|
+
height: 50%;
|
|
36
|
+
top: 25%;
|
|
37
|
+
left: 0;
|
|
38
|
+
background-color: rgba(0, 0, 0, 0.8);
|
|
39
|
+
}
|
|
40
|
+
[data-theme=dark] ._h3_x0d8r_1::after {
|
|
41
|
+
background-color: rgba(255, 255, 255, 0.8);
|
|
42
|
+
}
|
|
@@ -13,8 +13,16 @@ export interface ElmHeading3Props {
|
|
|
13
13
|
* Default is kebab-cased `text`. (using lodash)
|
|
14
14
|
*/
|
|
15
15
|
id?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Whether to disable fragment identifier.
|
|
18
|
+
* Default is `false`.
|
|
19
|
+
*/
|
|
20
|
+
disableFragmentIdentifier?: boolean;
|
|
16
21
|
}
|
|
17
22
|
declare const _default: import('vue').DefineComponent<ElmHeading3Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmHeading3Props> & Readonly<{}>, {
|
|
18
23
|
size: Property.FontSize;
|
|
19
|
-
|
|
24
|
+
disableFragmentIdentifier: boolean;
|
|
25
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
26
|
+
target: HTMLHeadingElement;
|
|
27
|
+
}, any>;
|
|
20
28
|
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import _sfc_main from "./ElmHeading3.vue2.mjs";
|
|
2
|
+
import style0 from "./ElmHeading3.vue3.mjs";
|
|
3
|
+
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const cssModules = {
|
|
5
|
+
"$style": style0
|
|
6
|
+
};
|
|
7
|
+
const ElmHeading3 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
|
|
8
|
+
export {
|
|
9
|
+
ElmHeading3 as default
|
|
10
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { defineComponent, ref, createElementBlock, openBlock, Fragment, createElementVNode, createBlock, createCommentVNode, normalizeStyle, unref, normalizeClass, toDisplayString } from "vue";
|
|
2
|
+
import { useIntersectionObserver } from "@vueuse/core";
|
|
3
|
+
import { kebabCase } from "lodash-es";
|
|
4
|
+
import ElmFragmentIdentifier from "./ElmFragmentIdentifier.vue.mjs";
|
|
5
|
+
const _hoisted_1 = ["id"];
|
|
6
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
|
+
__name: "ElmHeading3",
|
|
8
|
+
props: {
|
|
9
|
+
text: {},
|
|
10
|
+
size: { default: "1.3rem" },
|
|
11
|
+
id: {},
|
|
12
|
+
disableFragmentIdentifier: { type: Boolean, default: false }
|
|
13
|
+
},
|
|
14
|
+
setup(__props) {
|
|
15
|
+
const target = ref(null);
|
|
16
|
+
const targetIsVisible = ref(false);
|
|
17
|
+
useIntersectionObserver(target, ([{ isIntersecting }], _) => {
|
|
18
|
+
targetIsVisible.value = isIntersecting;
|
|
19
|
+
});
|
|
20
|
+
return (_ctx, _cache) => {
|
|
21
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
22
|
+
createElementVNode("h3", {
|
|
23
|
+
ref_key: "target",
|
|
24
|
+
ref: target,
|
|
25
|
+
class: normalizeClass(_ctx.$style.h3),
|
|
26
|
+
id: _ctx.id ?? unref(kebabCase)(_ctx.text),
|
|
27
|
+
style: normalizeStyle({ "--font-size": _ctx.size, "--opacity": targetIsVisible.value ? 1 : 0 })
|
|
28
|
+
}, toDisplayString(_ctx.text), 15, _hoisted_1),
|
|
29
|
+
!_ctx.disableFragmentIdentifier ? (openBlock(), createBlock(ElmFragmentIdentifier, {
|
|
30
|
+
key: 0,
|
|
31
|
+
id: _ctx.id ?? unref(kebabCase)(_ctx.text)
|
|
32
|
+
}, null, 8, ["id"])) : createCommentVNode("", true)
|
|
33
|
+
], 64);
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
export {
|
|
38
|
+
_sfc_main as default
|
|
39
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
._h4_7klov_1 {
|
|
2
|
+
margin-block: 0.5rem;
|
|
3
|
+
font-size: var(--font-size);
|
|
4
|
+
transition: color 400ms;
|
|
5
|
+
color: rgba(0, 0, 0, 0.8);
|
|
6
|
+
}
|
|
7
|
+
._h4_7klov_1::-moz-selection {
|
|
8
|
+
color: rgba(255, 255, 255, 0.8);
|
|
9
|
+
background-color: rgba(0, 0, 0, 0.8);
|
|
10
|
+
}
|
|
11
|
+
._h4_7klov_1::selection {
|
|
12
|
+
color: rgba(255, 255, 255, 0.8);
|
|
13
|
+
background-color: rgba(0, 0, 0, 0.8);
|
|
14
|
+
}
|
|
15
|
+
[data-theme=dark] ._h4_7klov_1 {
|
|
16
|
+
color: rgba(255, 255, 255, 0.8);
|
|
17
|
+
}
|
|
18
|
+
[data-theme=dark] ._h4_7klov_1::-moz-selection {
|
|
19
|
+
color: rgba(0, 0, 0, 0.8);
|
|
20
|
+
background-color: rgba(255, 255, 255, 0.8);
|
|
21
|
+
}
|
|
22
|
+
[data-theme=dark] ._h4_7klov_1::selection {
|
|
23
|
+
color: rgba(0, 0, 0, 0.8);
|
|
24
|
+
background-color: rgba(255, 255, 255, 0.8);
|
|
25
|
+
}
|
|
@@ -13,8 +13,14 @@ export interface ElmHeading4Props {
|
|
|
13
13
|
* Default is kebab-cased `text`. (using lodash)
|
|
14
14
|
*/
|
|
15
15
|
id?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Whether to disable fragment identifier.
|
|
18
|
+
* Default is `false`.
|
|
19
|
+
*/
|
|
20
|
+
disableFragmentIdentifier?: boolean;
|
|
16
21
|
}
|
|
17
22
|
declare const _default: import('vue').DefineComponent<ElmHeading4Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmHeading4Props> & Readonly<{}>, {
|
|
18
23
|
size: Property.FontSize;
|
|
24
|
+
disableFragmentIdentifier: boolean;
|
|
19
25
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
26
|
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import _sfc_main from "./ElmHeading4.vue2.mjs";
|
|
2
|
+
import style0 from "./ElmHeading4.vue3.mjs";
|
|
3
|
+
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const cssModules = {
|
|
5
|
+
"$style": style0
|
|
6
|
+
};
|
|
7
|
+
const ElmHeading4 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
|
|
8
|
+
export {
|
|
9
|
+
ElmHeading4 as default
|
|
10
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { defineComponent, createElementBlock, openBlock, Fragment, createElementVNode, createBlock, createCommentVNode, normalizeStyle, unref, normalizeClass, toDisplayString } from "vue";
|
|
2
|
+
import { kebabCase } from "lodash-es";
|
|
3
|
+
import ElmFragmentIdentifier from "./ElmFragmentIdentifier.vue.mjs";
|
|
4
|
+
const _hoisted_1 = ["id"];
|
|
5
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
|
+
__name: "ElmHeading4",
|
|
7
|
+
props: {
|
|
8
|
+
text: {},
|
|
9
|
+
size: { default: "1.2rem" },
|
|
10
|
+
id: {},
|
|
11
|
+
disableFragmentIdentifier: { type: Boolean, default: false }
|
|
12
|
+
},
|
|
13
|
+
setup(__props) {
|
|
14
|
+
return (_ctx, _cache) => {
|
|
15
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
16
|
+
createElementVNode("h4", {
|
|
17
|
+
class: normalizeClass(_ctx.$style.h4),
|
|
18
|
+
id: _ctx.id ?? unref(kebabCase)(_ctx.text),
|
|
19
|
+
style: normalizeStyle({ "--font-size": _ctx.size })
|
|
20
|
+
}, toDisplayString(_ctx.text), 15, _hoisted_1),
|
|
21
|
+
!_ctx.disableFragmentIdentifier ? (openBlock(), createBlock(ElmFragmentIdentifier, {
|
|
22
|
+
key: 0,
|
|
23
|
+
id: _ctx.id ?? unref(kebabCase)(_ctx.text)
|
|
24
|
+
}, null, 8, ["id"])) : createCommentVNode("", true)
|
|
25
|
+
], 64);
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
export {
|
|
30
|
+
_sfc_main as default
|
|
31
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
._h5_1av6v_1 {
|
|
2
|
+
margin-block: 0.5rem;
|
|
3
|
+
font-size: var(--font-size);
|
|
4
|
+
transition: color 400ms;
|
|
5
|
+
color: rgba(0, 0, 0, 0.8);
|
|
6
|
+
}
|
|
7
|
+
._h5_1av6v_1::-moz-selection {
|
|
8
|
+
color: rgba(255, 255, 255, 0.8);
|
|
9
|
+
background-color: rgba(0, 0, 0, 0.8);
|
|
10
|
+
}
|
|
11
|
+
._h5_1av6v_1::selection {
|
|
12
|
+
color: rgba(255, 255, 255, 0.8);
|
|
13
|
+
background-color: rgba(0, 0, 0, 0.8);
|
|
14
|
+
}
|
|
15
|
+
[data-theme=dark] ._h5_1av6v_1 {
|
|
16
|
+
color: rgba(255, 255, 255, 0.8);
|
|
17
|
+
}
|
|
18
|
+
[data-theme=dark] ._h5_1av6v_1::-moz-selection {
|
|
19
|
+
color: rgba(0, 0, 0, 0.8);
|
|
20
|
+
background-color: rgba(255, 255, 255, 0.8);
|
|
21
|
+
}
|
|
22
|
+
[data-theme=dark] ._h5_1av6v_1::selection {
|
|
23
|
+
color: rgba(0, 0, 0, 0.8);
|
|
24
|
+
background-color: rgba(255, 255, 255, 0.8);
|
|
25
|
+
}
|
|
@@ -13,8 +13,14 @@ export interface ElmHeading5Props {
|
|
|
13
13
|
* Default is kebab-cased `text`. (using lodash)
|
|
14
14
|
*/
|
|
15
15
|
id?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Whether to disable fragment identifier.
|
|
18
|
+
* Default is `false`.
|
|
19
|
+
*/
|
|
20
|
+
disableFragmentIdentifier?: boolean;
|
|
16
21
|
}
|
|
17
22
|
declare const _default: import('vue').DefineComponent<ElmHeading5Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmHeading5Props> & Readonly<{}>, {
|
|
18
23
|
size: Property.FontSize;
|
|
24
|
+
disableFragmentIdentifier: boolean;
|
|
19
25
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
26
|
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import _sfc_main from "./ElmHeading5.vue2.mjs";
|
|
2
|
+
import style0 from "./ElmHeading5.vue3.mjs";
|
|
3
|
+
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const cssModules = {
|
|
5
|
+
"$style": style0
|
|
6
|
+
};
|
|
7
|
+
const ElmHeading5 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
|
|
8
|
+
export {
|
|
9
|
+
ElmHeading5 as default
|
|
10
|
+
};
|