@elmethis/vue 0.4.2 → 0.5.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/README.md +55 -0
- package/lib/index.vue.cjs +2 -0
- package/lib/index.vue.mjs +4387 -0
- package/lib/style.css +2 -0
- package/lib-types/components/a2ui/catalog/basic-catalog.d.ts +3 -0
- package/lib-types/components/a2ui/catalog/basic-catalog.d.ts.map +1 -0
- package/lib-types/components/a2ui/catalog/block-catalog.d.ts +8 -0
- package/lib-types/components/a2ui/catalog/block-catalog.d.ts.map +1 -0
- package/lib-types/components/a2ui/catalog/catalog-utils.d.ts +19 -0
- package/lib-types/components/a2ui/catalog/catalog-utils.d.ts.map +1 -0
- package/lib-types/components/a2ui/catalog/catalog.d.ts +109 -0
- package/lib-types/components/a2ui/catalog/catalog.d.ts.map +1 -0
- package/lib-types/components/a2ui/component-host.d.ts +76 -0
- package/lib-types/components/a2ui/component-host.d.ts.map +1 -0
- package/lib-types/components/a2ui/elm-a2ui.d.ts +115 -0
- package/lib-types/components/a2ui/elm-a2ui.d.ts.map +1 -0
- package/lib-types/components/a2ui/stream-json-lines.d.ts +14 -0
- package/lib-types/components/a2ui/stream-json-lines.d.ts.map +1 -0
- package/lib-types/components/code/elm-code-block.d.ts +47 -0
- package/lib-types/components/code/elm-code-block.d.ts.map +1 -0
- package/lib-types/components/code/elm-katex.d.ts +37 -0
- package/lib-types/components/code/elm-katex.d.ts.map +1 -0
- package/lib-types/components/code/elm-shiki-highlighter.d.ts +33 -0
- package/lib-types/components/code/elm-shiki-highlighter.d.ts.map +1 -0
- package/lib-types/components/containments/elm-collapse.d.ts +38 -0
- package/lib-types/components/containments/elm-collapse.d.ts.map +1 -0
- package/lib-types/components/containments/elm-modal.d.ts +43 -0
- package/lib-types/components/containments/elm-modal.d.ts.map +1 -0
- package/lib-types/components/containments/elm-parallax.d.ts +16 -0
- package/lib-types/components/containments/elm-parallax.d.ts.map +1 -0
- package/lib-types/components/containments/elm-tabs.d.ts +79 -0
- package/lib-types/components/containments/elm-tabs.d.ts.map +1 -0
- package/lib-types/components/containments/elm-toggle.d.ts +57 -0
- package/lib-types/components/containments/elm-toggle.d.ts.map +1 -0
- package/lib-types/components/containments/elm-tooltip.d.ts +4 -0
- package/lib-types/components/containments/elm-tooltip.d.ts.map +1 -0
- package/lib-types/components/containments/tabs-context.d.ts +17 -0
- package/lib-types/components/containments/tabs-context.d.ts.map +1 -0
- package/lib-types/components/fallback/elm-block-fallback.d.ts +18 -0
- package/lib-types/components/fallback/elm-block-fallback.d.ts.map +1 -0
- package/lib-types/components/fallback/elm-rectangle-wave.d.ts +4 -0
- package/lib-types/components/fallback/elm-rectangle-wave.d.ts.map +1 -0
- package/lib-types/components/fallback/elm-unsupported-block.d.ts +18 -0
- package/lib-types/components/fallback/elm-unsupported-block.d.ts.map +1 -0
- package/lib-types/components/form/elm-button.d.ts +70 -0
- package/lib-types/components/form/elm-button.d.ts.map +1 -0
- package/lib-types/components/form/elm-checkbox.d.ts +75 -0
- package/lib-types/components/form/elm-checkbox.d.ts.map +1 -0
- package/lib-types/components/form/elm-select.d.ts +108 -0
- package/lib-types/components/form/elm-select.d.ts.map +1 -0
- package/lib-types/components/form/elm-switch.d.ts +62 -0
- package/lib-types/components/form/elm-switch.d.ts.map +1 -0
- package/lib-types/components/form/elm-text-area.d.ts +108 -0
- package/lib-types/components/form/elm-text-area.d.ts.map +1 -0
- package/lib-types/components/form/elm-text-field.d.ts +113 -0
- package/lib-types/components/form/elm-text-field.d.ts.map +1 -0
- package/lib-types/components/form/elm-validation.d.ts +36 -0
- package/lib-types/components/form/elm-validation.d.ts.map +1 -0
- package/lib-types/components/icon/elm-copy-icon.d.ts +19 -0
- package/lib-types/components/icon/elm-copy-icon.d.ts.map +1 -0
- package/lib-types/components/icon/elm-dot-loading-icon.d.ts +21 -0
- package/lib-types/components/icon/elm-dot-loading-icon.d.ts.map +1 -0
- package/lib-types/components/icon/elm-inline-icon.d.ts +63 -0
- package/lib-types/components/icon/elm-inline-icon.d.ts.map +1 -0
- package/lib-types/components/icon/elm-language-icon.d.ts +36 -0
- package/lib-types/components/icon/elm-language-icon.d.ts.map +1 -0
- package/lib-types/components/icon/elm-mdi-icon.d.ts +73 -0
- package/lib-types/components/icon/elm-mdi-icon.d.ts.map +1 -0
- package/lib-types/components/icon/elm-square-loading-icon.d.ts +28 -0
- package/lib-types/components/icon/elm-square-loading-icon.d.ts.map +1 -0
- package/lib-types/components/icon/elm-toggle-theme.d.ts +21 -0
- package/lib-types/components/icon/elm-toggle-theme.d.ts.map +1 -0
- package/lib-types/components/icon/languages/bash.d.ts +14 -0
- package/lib-types/components/icon/languages/bash.d.ts.map +1 -0
- package/lib-types/components/icon/languages/c-plus-plus.d.ts +14 -0
- package/lib-types/components/icon/languages/c-plus-plus.d.ts.map +1 -0
- package/lib-types/components/icon/languages/c-sharp.d.ts +14 -0
- package/lib-types/components/icon/languages/c-sharp.d.ts.map +1 -0
- package/lib-types/components/icon/languages/c.d.ts +14 -0
- package/lib-types/components/icon/languages/c.d.ts.map +1 -0
- package/lib-types/components/icon/languages/css.d.ts +14 -0
- package/lib-types/components/icon/languages/css.d.ts.map +1 -0
- package/lib-types/components/icon/languages/go.d.ts +14 -0
- package/lib-types/components/icon/languages/go.d.ts.map +1 -0
- package/lib-types/components/icon/languages/html.d.ts +14 -0
- package/lib-types/components/icon/languages/html.d.ts.map +1 -0
- package/lib-types/components/icon/languages/java.d.ts +14 -0
- package/lib-types/components/icon/languages/java.d.ts.map +1 -0
- package/lib-types/components/icon/languages/javascript.d.ts +14 -0
- package/lib-types/components/icon/languages/javascript.d.ts.map +1 -0
- package/lib-types/components/icon/languages/json.d.ts +14 -0
- package/lib-types/components/icon/languages/json.d.ts.map +1 -0
- package/lib-types/components/icon/languages/kotlin.d.ts +14 -0
- package/lib-types/components/icon/languages/kotlin.d.ts.map +1 -0
- package/lib-types/components/icon/languages/language-interface.d.ts +7 -0
- package/lib-types/components/icon/languages/language-interface.d.ts.map +1 -0
- package/lib-types/components/icon/languages/lua.d.ts +14 -0
- package/lib-types/components/icon/languages/lua.d.ts.map +1 -0
- package/lib-types/components/icon/languages/npm.d.ts +14 -0
- package/lib-types/components/icon/languages/npm.d.ts.map +1 -0
- package/lib-types/components/icon/languages/python.d.ts +14 -0
- package/lib-types/components/icon/languages/python.d.ts.map +1 -0
- package/lib-types/components/icon/languages/rust.d.ts +14 -0
- package/lib-types/components/icon/languages/rust.d.ts.map +1 -0
- package/lib-types/components/icon/languages/sql.d.ts +14 -0
- package/lib-types/components/icon/languages/sql.d.ts.map +1 -0
- package/lib-types/components/icon/languages/terraform.d.ts +14 -0
- package/lib-types/components/icon/languages/terraform.d.ts.map +1 -0
- package/lib-types/components/icon/languages/typescript.d.ts +14 -0
- package/lib-types/components/icon/languages/typescript.d.ts.map +1 -0
- package/lib-types/components/media/elm-block-image.d.ts +93 -0
- package/lib-types/components/media/elm-block-image.d.ts.map +1 -0
- package/lib-types/components/media/elm-file.d.ts +46 -0
- package/lib-types/components/media/elm-file.d.ts.map +1 -0
- package/lib-types/components/navigation/elm-bookmark.d.ts +74 -0
- package/lib-types/components/navigation/elm-bookmark.d.ts.map +1 -0
- package/lib-types/components/navigation/elm-breadcrumb.d.ts +26 -0
- package/lib-types/components/navigation/elm-breadcrumb.d.ts.map +1 -0
- package/lib-types/components/navigation/elm-page-top.d.ts +21 -0
- package/lib-types/components/navigation/elm-page-top.d.ts.map +1 -0
- package/lib-types/components/others/elm-color-primitive-sample.d.ts +4 -0
- package/lib-types/components/others/elm-color-primitive-sample.d.ts.map +1 -0
- package/lib-types/components/others/elm-color-semantic-sample.d.ts +4 -0
- package/lib-types/components/others/elm-color-semantic-sample.d.ts.map +1 -0
- package/lib-types/components/others/elm-markdown.d.ts +31 -0
- package/lib-types/components/others/elm-markdown.d.ts.map +1 -0
- package/lib-types/components/others/use-wordle.d.ts +26 -0
- package/lib-types/components/others/use-wordle.d.ts.map +1 -0
- package/lib-types/components/others/wordle/validGuesses.d.ts +2 -0
- package/lib-types/components/others/wordle/validGuesses.d.ts.map +1 -0
- package/lib-types/components/others/wordle/wordlist.d.ts +2 -0
- package/lib-types/components/others/wordle/wordlist.d.ts.map +1 -0
- package/lib-types/components/table/elm-table-body.d.ts +4 -0
- package/lib-types/components/table/elm-table-body.d.ts.map +1 -0
- package/lib-types/components/table/elm-table-cell.d.ts +58 -0
- package/lib-types/components/table/elm-table-cell.d.ts.map +1 -0
- package/lib-types/components/table/elm-table-header.d.ts +4 -0
- package/lib-types/components/table/elm-table-header.d.ts.map +1 -0
- package/lib-types/components/table/elm-table-row.d.ts +4 -0
- package/lib-types/components/table/elm-table-row.d.ts.map +1 -0
- package/lib-types/components/table/elm-table.d.ts +28 -0
- package/lib-types/components/table/elm-table.d.ts.map +1 -0
- package/lib-types/components/table/index.d.ts +7 -0
- package/lib-types/components/table/index.d.ts.map +1 -0
- package/lib-types/components/table/table-context.d.ts +22 -0
- package/lib-types/components/table/table-context.d.ts.map +1 -0
- package/lib-types/components/typography/elm-block-quote.d.ts +4 -0
- package/lib-types/components/typography/elm-block-quote.d.ts.map +1 -0
- package/lib-types/components/typography/elm-callout.d.ts +22 -0
- package/lib-types/components/typography/elm-callout.d.ts.map +1 -0
- package/lib-types/components/typography/elm-divider.d.ts +4 -0
- package/lib-types/components/typography/elm-divider.d.ts.map +1 -0
- package/lib-types/components/typography/elm-fragment-identifier.d.ts +19 -0
- package/lib-types/components/typography/elm-fragment-identifier.d.ts.map +1 -0
- package/lib-types/components/typography/elm-heading.d.ts +38 -0
- package/lib-types/components/typography/elm-heading.d.ts.map +1 -0
- package/lib-types/components/typography/elm-inline-text.d.ts +172 -0
- package/lib-types/components/typography/elm-inline-text.d.ts.map +1 -0
- package/lib-types/components/typography/elm-list.d.ts +19 -0
- package/lib-types/components/typography/elm-list.d.ts.map +1 -0
- package/lib-types/components/typography/elm-paragraph.d.ts +28 -0
- package/lib-types/components/typography/elm-paragraph.d.ts.map +1 -0
- package/lib-types/hooks/use-bindable-signal.d.ts +44 -0
- package/lib-types/hooks/use-bindable-signal.d.ts.map +1 -0
- package/lib-types/hooks/use-clipboard.d.ts +24 -0
- package/lib-types/hooks/use-clipboard.d.ts.map +1 -0
- package/lib-types/hooks/use-elmethis-theme.d.ts +47 -0
- package/lib-types/hooks/use-elmethis-theme.d.ts.map +1 -0
- package/lib-types/hooks/use-modal.d.ts +25 -0
- package/lib-types/hooks/use-modal.d.ts.map +1 -0
- package/lib-types/index.d.ts +53 -0
- package/lib-types/index.d.ts.map +1 -0
- package/package.json +85 -45
- package/dist/_virtual/_plugin-vue_export-helper.mjs +0 -8
- package/dist/components/ag-ui/message/ElmAgUiMessageUser.stories.d.ts +0 -6
- package/dist/components/ag-ui/message/ElmAgUiMessageUser.vue.d.ts +0 -8
- package/dist/components/code/ElmCodeBlock.mjs +0 -20
- package/dist/components/code/ElmCodeBlock.stories.d.ts +0 -9
- package/dist/components/code/ElmCodeBlock.vue.d.ts +0 -46
- package/dist/components/code/ElmCodeBlock.vue_vue_type_script_setup_true_lang.mjs +0 -79
- package/dist/components/code/ElmCodeBlock.vue_vue_type_style_index_0_lang.module.mjs +0 -26
- package/dist/components/code/ElmKatex.mjs +0 -6
- package/dist/components/code/ElmKatex.stories.d.ts +0 -8
- package/dist/components/code/ElmKatex.vue.d.ts +0 -20
- package/dist/components/code/ElmKatex.vue_vue_type_script_setup_true_lang.mjs +0 -61
- package/dist/components/code/ElmKatex.vue_vue_type_style_index_0_lang.module.mjs +0 -16
- package/dist/components/code/ElmMermaid.mjs +0 -6
- package/dist/components/code/ElmMermaid.stories.d.ts +0 -7
- package/dist/components/code/ElmMermaid.vue.d.ts +0 -7
- package/dist/components/code/ElmMermaid.vue_vue_type_script_setup_true_lang.mjs +0 -84
- package/dist/components/code/ElmMermaid.vue_vue_type_style_index_0_lang.module.mjs +0 -20
- package/dist/components/code/ElmShikiHighlighter.mjs +0 -20
- package/dist/components/code/ElmShikiHighlighter.stories.d.ts +0 -6
- package/dist/components/code/ElmShikiHighlighter.vue.d.ts +0 -22
- package/dist/components/code/ElmShikiHighlighter.vue_vue_type_script_setup_true_lang.mjs +0 -53
- package/dist/components/code/ElmShikiHighlighter.vue_vue_type_style_index_0_lang.module.mjs +0 -16
- package/dist/components/code/shikiInstance.d.ts +0 -2
- package/dist/components/code/shikiInstance.mjs +0 -74
- package/dist/components/containments/ElmColumn.stories.d.ts +0 -6
- package/dist/components/containments/ElmColumn.vue.d.ts +0 -19
- package/dist/components/containments/ElmColumnList.vue.d.ts +0 -19
- package/dist/components/containments/ElmConfirmModal.mjs +0 -6
- package/dist/components/containments/ElmConfirmModal.stories.d.ts +0 -6
- package/dist/components/containments/ElmConfirmModal.vue.d.ts +0 -37
- package/dist/components/containments/ElmConfirmModal.vue_vue_type_script_setup_true_lang.mjs +0 -85
- package/dist/components/containments/ElmConfirmModal.vue_vue_type_style_index_0_lang.module.mjs +0 -19
- package/dist/components/containments/ElmDesktopWindow.mjs +0 -6
- package/dist/components/containments/ElmDesktopWindow.stories.d.ts +0 -6
- package/dist/components/containments/ElmDesktopWindow.vue.d.ts +0 -27
- package/dist/components/containments/ElmDesktopWindow.vue_vue_type_script_setup_true_lang.mjs +0 -29
- package/dist/components/containments/ElmDesktopWindow.vue_vue_type_style_index_0_lang.module.mjs +0 -20
- package/dist/components/containments/ElmModal.mjs +0 -6
- package/dist/components/containments/ElmModal.stories.d.ts +0 -6
- package/dist/components/containments/ElmModal.vue.d.ts +0 -34
- package/dist/components/containments/ElmModal.vue_vue_type_script_setup_true_lang.mjs +0 -56
- package/dist/components/containments/ElmModal.vue_vue_type_style_index_0_lang.module.mjs +0 -19
- package/dist/components/containments/ElmParallax.mjs +0 -6
- package/dist/components/containments/ElmParallax.stories.d.ts +0 -6
- package/dist/components/containments/ElmParallax.vue.d.ts +0 -6
- package/dist/components/containments/ElmParallax.vue_vue_type_script_setup_true_lang.mjs +0 -32
- package/dist/components/containments/ElmParallax.vue_vue_type_style_index_0_lang.module.mjs +0 -16
- package/dist/components/containments/ElmSimpleTooltip.mjs +0 -6
- package/dist/components/containments/ElmSimpleTooltip.stories.d.ts +0 -7
- package/dist/components/containments/ElmSimpleTooltip.vue.d.ts +0 -21
- package/dist/components/containments/ElmSimpleTooltip.vue_vue_type_script_setup_true_lang.mjs +0 -26
- package/dist/components/containments/ElmSimpleTooltip.vue_vue_type_style_index_0_lang.module.mjs +0 -20
- package/dist/components/containments/ElmSnackbar.mjs +0 -6
- package/dist/components/containments/ElmSnackbar.stories.d.ts +0 -6
- package/dist/components/containments/ElmSnackbar.vue.d.ts +0 -11
- package/dist/components/containments/ElmSnackbar.vue_vue_type_script_setup_true_lang.mjs +0 -41
- package/dist/components/containments/ElmSnackbar.vue_vue_type_style_index_0_lang.module.mjs +0 -20
- package/dist/components/containments/ElmSnackbarContainer.mjs +0 -20
- package/dist/components/containments/ElmSnackbarContainer.vue.d.ts +0 -10
- package/dist/components/containments/ElmSnackbarContainer.vue_vue_type_script_setup_true_lang.mjs +0 -19
- package/dist/components/containments/ElmSnackbarContainer.vue_vue_type_style_index_0_lang.module.mjs +0 -20
- package/dist/components/containments/ElmTabs.mjs +0 -6
- package/dist/components/containments/ElmTabs.stories.d.ts +0 -6
- package/dist/components/containments/ElmTabs.vue.d.ts +0 -24
- package/dist/components/containments/ElmTabs.vue_vue_type_script_setup_true_lang.mjs +0 -29
- package/dist/components/containments/ElmTabs.vue_vue_type_style_index_0_lang.module.mjs +0 -23
- package/dist/components/containments/ElmToggle.mjs +0 -6
- package/dist/components/containments/ElmToggle.stories.d.ts +0 -7
- package/dist/components/containments/ElmToggle.vue.d.ts +0 -41
- package/dist/components/containments/ElmToggle.vue_vue_type_script_setup_true_lang.mjs +0 -93
- package/dist/components/containments/ElmToggle.vue_vue_type_style_index_0_lang.module.mjs +0 -32
- package/dist/components/containments/ElmTooltip.mjs +0 -6
- package/dist/components/containments/ElmTooltip.stories.d.ts +0 -6
- package/dist/components/containments/ElmTooltip.vue.d.ts +0 -40
- package/dist/components/containments/ElmTooltip.vue_vue_type_script_setup_true_lang.mjs +0 -54
- package/dist/components/containments/ElmTooltip.vue_vue_type_style_index_0_lang.module.mjs +0 -24
- package/dist/components/containments/useSnackbarState.d.ts +0 -28
- package/dist/components/data/ElmMultiProgress.mjs +0 -6
- package/dist/components/data/ElmMultiProgress.stories.d.ts +0 -6
- package/dist/components/data/ElmMultiProgress.vue.d.ts +0 -30
- package/dist/components/data/ElmMultiProgress.vue_vue_type_script_setup_true_lang.mjs +0 -49
- package/dist/components/data/ElmMultiProgress.vue_vue_type_style_index_0_lang.module.mjs +0 -19
- package/dist/components/data/ElmProgress.mjs +0 -6
- package/dist/components/data/ElmProgress.stories.d.ts +0 -10
- package/dist/components/data/ElmProgress.vue.d.ts +0 -38
- package/dist/components/data/ElmProgress.vue_vue_type_script_setup_true_lang.mjs +0 -52
- package/dist/components/data/ElmProgress.vue_vue_type_style_index_0_lang.module.mjs +0 -22
- package/dist/components/data/ElmStatusMessage.mjs +0 -20
- package/dist/components/data/ElmStatusMessage.stories.d.ts +0 -9
- package/dist/components/data/ElmStatusMessage.vue.d.ts +0 -6
- package/dist/components/data/ElmStatusMessage.vue_vue_type_script_setup_true_lang.mjs +0 -62
- package/dist/components/data/ElmStatusMessage.vue_vue_type_style_index_0_lang.module.mjs +0 -16
- package/dist/components/embed/ElmOEmbed.mjs +0 -5
- package/dist/components/embed/ElmOEmbed.stories.d.ts +0 -9
- package/dist/components/embed/ElmOEmbed.vue.d.ts +0 -40
- package/dist/components/embed/ElmOEmbed.vue_vue_type_script_setup_true_lang.mjs +0 -46
- package/dist/components/fallback/ElmBlockFallback.mjs +0 -6
- package/dist/components/fallback/ElmBlockFallback.stories.d.ts +0 -6
- package/dist/components/fallback/ElmBlockFallback.vue.d.ts +0 -4
- package/dist/components/fallback/ElmBlockFallback.vue_vue_type_script_setup_true_lang.mjs +0 -13
- package/dist/components/fallback/ElmBlockFallback.vue_vue_type_style_index_0_lang.module.mjs +0 -17
- package/dist/components/fallback/ElmRectangleWave.mjs +0 -6
- package/dist/components/fallback/ElmRectangleWave.stories.d.ts +0 -6
- package/dist/components/fallback/ElmRectangleWave.vue.d.ts +0 -4
- package/dist/components/fallback/ElmRectangleWave.vue_vue_type_script_setup_true_lang.mjs +0 -15
- package/dist/components/fallback/ElmRectangleWave.vue_vue_type_style_index_0_lang.module.mjs +0 -19
- package/dist/components/fallback/ElmSpinner.mjs +0 -6
- package/dist/components/fallback/ElmSpinner.stories.d.ts +0 -6
- package/dist/components/fallback/ElmSpinner.vue.d.ts +0 -9
- package/dist/components/fallback/ElmSpinner.vue_vue_type_script_setup_true_lang.mjs +0 -33
- package/dist/components/fallback/ElmSpinner.vue_vue_type_style_index_0_lang.module.mjs +0 -20
- package/dist/components/fallback/ElmUnsupportedBlock.mjs +0 -6
- package/dist/components/fallback/ElmUnsupportedBlock.stories.d.ts +0 -6
- package/dist/components/fallback/ElmUnsupportedBlock.vue.d.ts +0 -5
- package/dist/components/fallback/ElmUnsupportedBlock.vue_vue_type_script_setup_true_lang.mjs +0 -30
- package/dist/components/fallback/ElmUnsupportedBlock.vue_vue_type_style_index_0_lang.module.mjs +0 -21
- package/dist/components/form/ElmButton.mjs +0 -20
- package/dist/components/form/ElmButton.stories.d.ts +0 -11
- package/dist/components/form/ElmButton.vue.d.ts +0 -42
- package/dist/components/form/ElmButton.vue_vue_type_script_setup_true_lang.mjs +0 -77
- package/dist/components/form/ElmButton.vue_vue_type_style_index_0_lang.module.mjs +0 -26
- package/dist/components/form/ElmCheckbox.mjs +0 -6
- package/dist/components/form/ElmCheckbox.stories.d.ts +0 -6
- package/dist/components/form/ElmCheckbox.vue.d.ts +0 -26
- package/dist/components/form/ElmCheckbox.vue_vue_type_script_setup_true_lang.mjs +0 -159
- package/dist/components/form/ElmCheckbox.vue_vue_type_style_index_0_lang.module.mjs +0 -26
- package/dist/components/form/ElmSelect.mjs +0 -6
- package/dist/components/form/ElmSelect.stories.d.ts +0 -6
- package/dist/components/form/ElmSelect.vue.d.ts +0 -48
- package/dist/components/form/ElmSelect.vue_vue_type_script_setup_true_lang.mjs +0 -129
- package/dist/components/form/ElmSelect.vue_vue_type_style_index_0_lang.module.mjs +0 -34
- package/dist/components/form/ElmSwitch.mjs +0 -6
- package/dist/components/form/ElmSwitch.stories.d.ts +0 -6
- package/dist/components/form/ElmSwitch.vue.d.ts +0 -32
- package/dist/components/form/ElmSwitch.vue_vue_type_script_setup_true_lang.mjs +0 -49
- package/dist/components/form/ElmSwitch.vue_vue_type_style_index_0_lang.module.mjs +0 -24
- package/dist/components/form/ElmTextField.mjs +0 -6
- package/dist/components/form/ElmTextField.stories.d.ts +0 -7
- package/dist/components/form/ElmTextField.vue.d.ts +0 -33
- package/dist/components/form/ElmTextField.vue_vue_type_script_setup_true_lang.mjs +0 -143
- package/dist/components/form/ElmTextField.vue_vue_type_style_index_0_lang.module.mjs +0 -29
- package/dist/components/form/ElmValidation.mjs +0 -6
- package/dist/components/form/ElmValidation.stories.d.ts +0 -6
- package/dist/components/form/ElmValidation.vue.d.ts +0 -9
- package/dist/components/form/ElmValidation.vue_vue_type_script_setup_true_lang.mjs +0 -29
- package/dist/components/form/ElmValidation.vue_vue_type_style_index_0_lang.module.mjs +0 -16
- package/dist/components/icon/ElmArrowIcon.mjs +0 -6
- package/dist/components/icon/ElmArrowIcon.stories.d.ts +0 -6
- package/dist/components/icon/ElmArrowIcon.vue.d.ts +0 -26
- package/dist/components/icon/ElmArrowIcon.vue_vue_type_script_setup_true_lang.mjs +0 -34
- package/dist/components/icon/ElmArrowIcon.vue_vue_type_style_index_0_lang.module.mjs +0 -21
- package/dist/components/icon/ElmBookmarkIcon.mjs +0 -6
- package/dist/components/icon/ElmBookmarkIcon.stories.d.ts +0 -8
- package/dist/components/icon/ElmBookmarkIcon.vue.d.ts +0 -7
- package/dist/components/icon/ElmBookmarkIcon.vue_vue_type_script_setup_true_lang.mjs +0 -40
- package/dist/components/icon/ElmBookmarkIcon.vue_vue_type_style_index_0_lang.module.mjs +0 -20
- package/dist/components/icon/ElmCubeIcon.mjs +0 -6
- package/dist/components/icon/ElmCubeIcon.stories.d.ts +0 -6
- package/dist/components/icon/ElmCubeIcon.vue.d.ts +0 -10
- package/dist/components/icon/ElmCubeIcon.vue_vue_type_script_setup_true_lang.mjs +0 -53
- package/dist/components/icon/ElmCubeIcon.vue_vue_type_style_index_0_lang.module.mjs +0 -20
- package/dist/components/icon/ElmDotLoadingIcon.mjs +0 -6
- package/dist/components/icon/ElmDotLoadingIcon.stories.d.ts +0 -6
- package/dist/components/icon/ElmDotLoadingIcon.vue.d.ts +0 -18
- package/dist/components/icon/ElmDotLoadingIcon.vue_vue_type_script_setup_true_lang.mjs +0 -29
- package/dist/components/icon/ElmDotLoadingIcon.vue_vue_type_style_index_0_lang.module.mjs +0 -20
- package/dist/components/icon/ElmInlineIcon.mjs +0 -6
- package/dist/components/icon/ElmInlineIcon.stories.d.ts +0 -6
- package/dist/components/icon/ElmInlineIcon.vue.d.ts +0 -12
- package/dist/components/icon/ElmInlineIcon.vue_vue_type_script_setup_true_lang.mjs +0 -26
- package/dist/components/icon/ElmInlineIcon.vue_vue_type_style_index_0_lang.module.mjs +0 -16
- package/dist/components/icon/ElmLanguageIcon.mjs +0 -6
- package/dist/components/icon/ElmLanguageIcon.stories.d.ts +0 -6
- package/dist/components/icon/ElmLanguageIcon.vue.d.ts +0 -15
- package/dist/components/icon/ElmLanguageIcon.vue_vue_type_script_setup_true_lang.mjs +0 -130
- package/dist/components/icon/ElmLanguageIcon.vue_vue_type_style_index_0_lang.module.mjs +0 -16
- package/dist/components/icon/ElmLoginIcon.mjs +0 -6
- package/dist/components/icon/ElmLoginIcon.stories.d.ts +0 -6
- package/dist/components/icon/ElmLoginIcon.vue.d.ts +0 -18
- package/dist/components/icon/ElmLoginIcon.vue_vue_type_script_setup_true_lang.mjs +0 -35
- package/dist/components/icon/ElmLoginIcon.vue_vue_type_style_index_0_lang.module.mjs +0 -16
- package/dist/components/icon/ElmMdiIcon.mjs +0 -6
- package/dist/components/icon/ElmMdiIcon.stories.d.ts +0 -6
- package/dist/components/icon/ElmMdiIcon.vue.d.ts +0 -11
- package/dist/components/icon/ElmMdiIcon.vue_vue_type_script_setup_true_lang.mjs +0 -32
- package/dist/components/icon/ElmMdiIcon.vue_vue_type_style_index_0_lang.module.mjs +0 -16
- package/dist/components/icon/ElmSquareLoadingIcon.mjs +0 -6
- package/dist/components/icon/ElmSquareLoadingIcon.stories.d.ts +0 -6
- package/dist/components/icon/ElmSquareLoadingIcon.vue.d.ts +0 -10
- package/dist/components/icon/ElmSquareLoadingIcon.vue_vue_type_script_setup_true_lang.mjs +0 -32
- package/dist/components/icon/ElmSquareLoadingIcon.vue_vue_type_style_index_0_lang.module.mjs +0 -20
- package/dist/components/icon/ElmToggleTheme.mjs +0 -6
- package/dist/components/icon/ElmToggleTheme.stories.d.ts +0 -6
- package/dist/components/icon/ElmToggleTheme.vue.d.ts +0 -11
- package/dist/components/icon/ElmToggleTheme.vue_vue_type_script_setup_true_lang.mjs +0 -33
- package/dist/components/icon/ElmToggleTheme.vue_vue_type_style_index_0_lang.module.mjs +0 -16
- package/dist/components/icon/languages/Bash.mjs +0 -6
- package/dist/components/icon/languages/Bash.vue.d.ts +0 -7
- package/dist/components/icon/languages/Bash.vue_vue_type_script_setup_true_lang.mjs +0 -32
- package/dist/components/icon/languages/Bash.vue_vue_type_style_index_0_lang.module.mjs +0 -16
- package/dist/components/icon/languages/C.mjs +0 -5
- package/dist/components/icon/languages/C.vue.d.ts +0 -7
- package/dist/components/icon/languages/C.vue_vue_type_script_setup_true_lang.mjs +0 -32
- package/dist/components/icon/languages/Cplusplus.mjs +0 -5
- package/dist/components/icon/languages/Cplusplus.vue.d.ts +0 -7
- package/dist/components/icon/languages/Cplusplus.vue_vue_type_script_setup_true_lang.mjs +0 -36
- package/dist/components/icon/languages/Csharp.mjs +0 -5
- package/dist/components/icon/languages/Csharp.vue.d.ts +0 -7
- package/dist/components/icon/languages/Csharp.vue_vue_type_script_setup_true_lang.mjs +0 -32
- package/dist/components/icon/languages/Css.mjs +0 -5
- package/dist/components/icon/languages/Css.vue.d.ts +0 -7
- package/dist/components/icon/languages/Css.vue_vue_type_script_setup_true_lang.mjs +0 -22
- package/dist/components/icon/languages/Go.mjs +0 -5
- package/dist/components/icon/languages/Go.vue.d.ts +0 -7
- package/dist/components/icon/languages/Go.vue_vue_type_script_setup_true_lang.mjs +0 -25
- package/dist/components/icon/languages/Html.mjs +0 -5
- package/dist/components/icon/languages/Html.vue.d.ts +0 -7
- package/dist/components/icon/languages/Html.vue_vue_type_script_setup_true_lang.mjs +0 -36
- package/dist/components/icon/languages/Java.mjs +0 -5
- package/dist/components/icon/languages/Java.vue.d.ts +0 -7
- package/dist/components/icon/languages/Java.vue_vue_type_script_setup_true_lang.mjs +0 -19
- package/dist/components/icon/languages/Javascript.mjs +0 -5
- package/dist/components/icon/languages/Javascript.vue.d.ts +0 -7
- package/dist/components/icon/languages/Javascript.vue_vue_type_script_setup_true_lang.mjs +0 -25
- package/dist/components/icon/languages/Json.mjs +0 -5
- package/dist/components/icon/languages/Json.vue.d.ts +0 -7
- package/dist/components/icon/languages/Json.vue_vue_type_script_setup_true_lang.mjs +0 -19
- package/dist/components/icon/languages/Kotlin.mjs +0 -5
- package/dist/components/icon/languages/Kotlin.vue.d.ts +0 -7
- package/dist/components/icon/languages/Kotlin.vue_vue_type_script_setup_true_lang.mjs +0 -19
- package/dist/components/icon/languages/Lua.mjs +0 -5
- package/dist/components/icon/languages/Lua.vue.d.ts +0 -7
- package/dist/components/icon/languages/Lua.vue_vue_type_script_setup_true_lang.mjs +0 -32
- package/dist/components/icon/languages/Npm.mjs +0 -5
- package/dist/components/icon/languages/Npm.vue.d.ts +0 -7
- package/dist/components/icon/languages/Npm.vue_vue_type_script_setup_true_lang.mjs +0 -25
- package/dist/components/icon/languages/Python.mjs +0 -5
- package/dist/components/icon/languages/Python.vue.d.ts +0 -7
- package/dist/components/icon/languages/Python.vue_vue_type_script_setup_true_lang.mjs +0 -19
- package/dist/components/icon/languages/Rust.mjs +0 -5
- package/dist/components/icon/languages/Rust.vue.d.ts +0 -7
- package/dist/components/icon/languages/Rust.vue_vue_type_script_setup_true_lang.mjs +0 -20
- package/dist/components/icon/languages/Sql.mjs +0 -5
- package/dist/components/icon/languages/Sql.vue.d.ts +0 -7
- package/dist/components/icon/languages/Sql.vue_vue_type_script_setup_true_lang.mjs +0 -22
- package/dist/components/icon/languages/Terraform.mjs +0 -5
- package/dist/components/icon/languages/Terraform.vue.d.ts +0 -7
- package/dist/components/icon/languages/Terraform.vue_vue_type_script_setup_true_lang.mjs +0 -32
- package/dist/components/icon/languages/Typescript.mjs +0 -5
- package/dist/components/icon/languages/Typescript.vue.d.ts +0 -7
- package/dist/components/icon/languages/Typescript.vue_vue_type_script_setup_true_lang.mjs +0 -25
- package/dist/components/media/ElmFile.mjs +0 -6
- package/dist/components/media/ElmFile.stories.d.ts +0 -6
- package/dist/components/media/ElmFile.vue.d.ts +0 -21
- package/dist/components/media/ElmFile.vue_vue_type_script_setup_true_lang.mjs +0 -58
- package/dist/components/media/ElmFile.vue_vue_type_style_index_0_lang.module.mjs +0 -21
- package/dist/components/media/ElmImage.mjs +0 -6
- package/dist/components/media/ElmImage.stories.d.ts +0 -12
- package/dist/components/media/ElmImage.vue.d.ts +0 -29
- package/dist/components/media/ElmImage.vue_vue_type_script_setup_true_lang.mjs +0 -194
- package/dist/components/media/ElmImage.vue_vue_type_style_index_0_lang.module.mjs +0 -26
- package/dist/components/navigation/ElmBookmark.mjs +0 -6
- package/dist/components/navigation/ElmBookmark.stories.d.ts +0 -12
- package/dist/components/navigation/ElmBookmark.vue.d.ts +0 -53
- package/dist/components/navigation/ElmBookmark.vue_vue_type_script_setup_true_lang.mjs +0 -95
- package/dist/components/navigation/ElmBookmark.vue_vue_type_style_index_0_lang.module.mjs +0 -25
- package/dist/components/navigation/ElmBreadcrumb.mjs +0 -6
- package/dist/components/navigation/ElmBreadcrumb.stories.d.ts +0 -7
- package/dist/components/navigation/ElmBreadcrumb.vue.d.ts +0 -19
- package/dist/components/navigation/ElmBreadcrumb.vue_vue_type_script_setup_true_lang.mjs +0 -61
- package/dist/components/navigation/ElmBreadcrumb.vue_vue_type_style_index_0_lang.module.mjs +0 -20
- package/dist/components/navigation/ElmPagetop.mjs +0 -6
- package/dist/components/navigation/ElmPagetop.stories.d.ts +0 -6
- package/dist/components/navigation/ElmPagetop.vue.d.ts +0 -10
- package/dist/components/navigation/ElmPagetop.vue_vue_type_script_setup_true_lang.mjs +0 -48
- package/dist/components/navigation/ElmPagetop.vue_vue_type_style_index_0_lang.module.mjs +0 -22
- package/dist/components/navigation/ElmTableOfContents.mjs +0 -6
- package/dist/components/navigation/ElmTableOfContents.stories.d.ts +0 -7
- package/dist/components/navigation/ElmTableOfContents.vue.d.ts +0 -9
- package/dist/components/navigation/ElmTableOfContents.vue_vue_type_script_setup_true_lang.mjs +0 -35
- package/dist/components/navigation/ElmTableOfContents.vue_vue_type_style_index_0_lang.module.mjs +0 -19
- package/dist/components/others/ElmColorSample.mjs +0 -20
- package/dist/components/others/ElmColorSample.stories.d.ts +0 -6
- package/dist/components/others/ElmColorSample.vue.d.ts +0 -8
- package/dist/components/others/ElmColorSample.vue_vue_type_script_setup_true_lang.mjs +0 -57
- package/dist/components/others/ElmColorSample.vue_vue_type_style_index_0_lang.module.mjs +0 -19
- package/dist/components/others/ElmColorTable.mjs +0 -6
- package/dist/components/others/ElmColorTable.stories.d.ts +0 -6
- package/dist/components/others/ElmColorTable.vue.d.ts +0 -11
- package/dist/components/others/ElmColorTable.vue_vue_type_script_setup_true_lang.mjs +0 -36
- package/dist/components/others/ElmColorTable.vue_vue_type_style_index_0_lang.module.mjs +0 -20
- package/dist/components/others/ElmCommandPalette.mjs +0 -20
- package/dist/components/others/ElmCommandPalette.stories.d.ts +0 -6
- package/dist/components/others/ElmCommandPalette.vue.d.ts +0 -46
- package/dist/components/others/ElmCommandPalette.vue_vue_type_script_setup_true_lang.mjs +0 -155
- package/dist/components/others/ElmCommandPalette.vue_vue_type_style_index_0_lang.module.mjs +0 -27
- package/dist/components/others/ElmJsonComponentRenderer.mjs +0 -6
- package/dist/components/others/ElmJsonComponentRenderer.stories.d.ts +0 -25
- package/dist/components/others/ElmJsonComponentRenderer.vue.d.ts +0 -7
- package/dist/components/others/ElmJsonComponentRenderer.vue_vue_type_script_setup_true_lang.mjs +0 -184
- package/dist/components/others/ElmJsonComponentRenderer.vue_vue_type_style_index_0_lang.module.mjs +0 -20
- package/dist/components/others/ElmMarkdown.mjs +0 -6
- package/dist/components/others/ElmMarkdown.stories.d.ts +0 -7
- package/dist/components/others/ElmMarkdown.vue.d.ts +0 -5
- package/dist/components/others/ElmMarkdown.vue_vue_type_script_setup_true_lang.mjs +0 -137
- package/dist/components/others/ElmMarkdown.vue_vue_type_style_index_0_lang.module.mjs +0 -17
- package/dist/components/others/ElmTyping.stories.d.ts +0 -6
- package/dist/components/others/ElmTyping.vue.d.ts +0 -4
- package/dist/components/table/ElmTable.mjs +0 -6
- package/dist/components/table/ElmTable.stories.d.ts +0 -6
- package/dist/components/table/ElmTable.vue.d.ts +0 -46
- package/dist/components/table/ElmTable.vue_vue_type_script_setup_true_lang.mjs +0 -47
- package/dist/components/table/ElmTable.vue_vue_type_style_index_0_lang.module.mjs +0 -21
- package/dist/components/table/ElmTableBody.mjs +0 -5
- package/dist/components/table/ElmTableBody.vue.d.ts +0 -22
- package/dist/components/table/ElmTableBody.vue_vue_type_script_setup_true_lang.mjs +0 -13
- package/dist/components/table/ElmTableCell.mjs +0 -6
- package/dist/components/table/ElmTableCell.vue.d.ts +0 -33
- package/dist/components/table/ElmTableCell.vue_vue_type_script_setup_true_lang.mjs +0 -23
- package/dist/components/table/ElmTableCell.vue_vue_type_style_index_0_lang.module.mjs +0 -20
- package/dist/components/table/ElmTableHeader.mjs +0 -6
- package/dist/components/table/ElmTableHeader.vue.d.ts +0 -22
- package/dist/components/table/ElmTableHeader.vue_vue_type_script_setup_true_lang.mjs +0 -13
- package/dist/components/table/ElmTableHeader.vue_vue_type_style_index_0_lang.module.mjs +0 -16
- package/dist/components/table/ElmTableRow.mjs +0 -6
- package/dist/components/table/ElmTableRow.vue.d.ts +0 -22
- package/dist/components/table/ElmTableRow.vue_vue_type_script_setup_true_lang.mjs +0 -16
- package/dist/components/table/ElmTableRow.vue_vue_type_style_index_0_lang.module.mjs +0 -19
- package/dist/components/template/ElmTemplate.stories.d.ts +0 -6
- package/dist/components/template/ElmTemplate.vue.d.ts +0 -4
- package/dist/components/typography/ElmBlockQuote.mjs +0 -6
- package/dist/components/typography/ElmBlockQuote.stories.d.ts +0 -6
- package/dist/components/typography/ElmBlockQuote.vue.d.ts +0 -24
- package/dist/components/typography/ElmBlockQuote.vue_vue_type_script_setup_true_lang.mjs +0 -60
- package/dist/components/typography/ElmBlockQuote.vue_vue_type_style_index_0_lang.module.mjs +0 -20
- package/dist/components/typography/ElmCallout.mjs +0 -6
- package/dist/components/typography/ElmCallout.stories.d.ts +0 -11
- package/dist/components/typography/ElmCallout.vue.d.ts +0 -30
- package/dist/components/typography/ElmCallout.vue_vue_type_script_setup_true_lang.mjs +0 -61
- package/dist/components/typography/ElmCallout.vue_vue_type_style_index_0_lang.module.mjs +0 -19
- package/dist/components/typography/ElmDivider.mjs +0 -6
- package/dist/components/typography/ElmDivider.stories.d.ts +0 -6
- package/dist/components/typography/ElmDivider.vue.d.ts +0 -11
- package/dist/components/typography/ElmDivider.vue_vue_type_script_setup_true_lang.mjs +0 -27
- package/dist/components/typography/ElmDivider.vue_vue_type_style_index_0_lang.module.mjs +0 -16
- package/dist/components/typography/ElmFragmentIdentifier.mjs +0 -6
- package/dist/components/typography/ElmFragmentIdentifier.stories.d.ts +0 -6
- package/dist/components/typography/ElmFragmentIdentifier.vue.d.ts +0 -8
- package/dist/components/typography/ElmFragmentIdentifier.vue_vue_type_script_setup_true_lang.mjs +0 -23
- package/dist/components/typography/ElmFragmentIdentifier.vue_vue_type_style_index_0_lang.module.mjs +0 -16
- package/dist/components/typography/ElmHeading.mjs +0 -6
- package/dist/components/typography/ElmHeading.stories.d.ts +0 -7
- package/dist/components/typography/ElmHeading.vue.d.ts +0 -49
- package/dist/components/typography/ElmHeading.vue_vue_type_script_setup_true_lang.mjs +0 -94
- package/dist/components/typography/ElmHeading.vue_vue_type_style_index_0_lang.module.mjs +0 -25
- package/dist/components/typography/ElmInlineText.mjs +0 -6
- package/dist/components/typography/ElmInlineText.stories.d.ts +0 -12
- package/dist/components/typography/ElmInlineText.vue.d.ts +0 -85
- package/dist/components/typography/ElmInlineText.vue_vue_type_script_setup_true_lang.mjs +0 -111
- package/dist/components/typography/ElmInlineText.vue_vue_type_style_index_0_lang.module.mjs +0 -25
- package/dist/components/typography/ElmList.mjs +0 -19
- package/dist/components/typography/ElmList.stories.d.ts +0 -8
- package/dist/components/typography/ElmList.vue.d.ts +0 -31
- package/dist/components/typography/ElmList.vue_vue_type_script_setup_true_lang.mjs +0 -27
- package/dist/components/typography/ElmParagraph.mjs +0 -6
- package/dist/components/typography/ElmParagraph.stories.d.ts +0 -8
- package/dist/components/typography/ElmParagraph.vue.d.ts +0 -25
- package/dist/components/typography/ElmParagraph.vue_vue_type_script_setup_true_lang.mjs +0 -31
- package/dist/components/typography/ElmParagraph.vue_vue_type_style_index_0_lang.module.mjs +0 -16
- package/dist/components/typography/ElmTypingAnimation.mjs +0 -6
- package/dist/components/typography/ElmTypingAnimation.stories.d.ts +0 -6
- package/dist/components/typography/ElmTypingAnimation.vue.d.ts +0 -21
- package/dist/components/typography/ElmTypingAnimation.vue_vue_type_script_setup_true_lang.mjs +0 -42
- package/dist/components/typography/ElmTypingAnimation.vue_vue_type_style_index_0_lang.module.mjs +0 -20
- package/dist/hooks/useElmethisTheme.d.ts +0 -4
- package/dist/hooks/useElmethisTheme.mjs +0 -33
- package/dist/hooks/useTyping.d.ts +0 -17
- package/dist/hooks/useTyping.mjs +0 -42
- package/dist/index.d.ts +0 -126
- package/dist/index.mjs +0 -65
- package/dist/styles/heading.module.mjs +0 -16
- package/dist/styles/text.module.mjs +0 -16
- package/dist/styles/transition-fade.module.mjs +0 -28
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/vue3-vite';
|
|
2
|
-
import { default as ElmBookmark } from './ElmBookmark.vue';
|
|
3
|
-
declare const meta: Meta<typeof ElmBookmark>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof meta>;
|
|
6
|
-
export declare const Primary: Story;
|
|
7
|
-
export declare const WithoutDate: Story;
|
|
8
|
-
export declare const Card: Story;
|
|
9
|
-
export declare const Square: Story;
|
|
10
|
-
export declare const SquareCard: Story;
|
|
11
|
-
export declare const InvalidImage: Story;
|
|
12
|
-
export declare const NoImage: Story;
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { Property } from 'csstype';
|
|
2
|
-
export interface ElmBookmarkProps {
|
|
3
|
-
/**
|
|
4
|
-
* Whether to hide the URL.
|
|
5
|
-
*/
|
|
6
|
-
hideUrl?: boolean;
|
|
7
|
-
/**
|
|
8
|
-
* Whether to open the link in a new tab.
|
|
9
|
-
* Defaults to `true`.
|
|
10
|
-
*/
|
|
11
|
-
openInNewTab?: boolean;
|
|
12
|
-
/**
|
|
13
|
-
* The title of the bookmark.
|
|
14
|
-
*/
|
|
15
|
-
title?: string;
|
|
16
|
-
/**
|
|
17
|
-
* The description of the bookmark.
|
|
18
|
-
*/
|
|
19
|
-
description?: string;
|
|
20
|
-
/**
|
|
21
|
-
* The image to display.
|
|
22
|
-
* This can be a URL or a base64-encoded image.
|
|
23
|
-
*/
|
|
24
|
-
image?: string;
|
|
25
|
-
/**
|
|
26
|
-
* The URL to navigate to.
|
|
27
|
-
*/
|
|
28
|
-
url?: string;
|
|
29
|
-
/**
|
|
30
|
-
* The date the bookmark was created.
|
|
31
|
-
*/
|
|
32
|
-
createdAt?: string;
|
|
33
|
-
updatedAt?: string;
|
|
34
|
-
/**
|
|
35
|
-
* The function to call when the link is clicked.
|
|
36
|
-
* If provided, the default behavior (navigating to the URL) is prevented.
|
|
37
|
-
*/
|
|
38
|
-
onClick?: () => void;
|
|
39
|
-
/**
|
|
40
|
-
* The margin of the bookmark.
|
|
41
|
-
*/
|
|
42
|
-
margin?: Property.MarginBlock;
|
|
43
|
-
/**
|
|
44
|
-
* The URL of the favicon.
|
|
45
|
-
*/
|
|
46
|
-
favicon?: string;
|
|
47
|
-
}
|
|
48
|
-
declare const _default: import('vue').DefineComponent<ElmBookmarkProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmBookmarkProps> & Readonly<{}>, {
|
|
49
|
-
description: string;
|
|
50
|
-
hideUrl: boolean;
|
|
51
|
-
openInNewTab: boolean;
|
|
52
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
53
|
-
export default _default;
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import ElmMdiIcon_default from "../icon/ElmMdiIcon.mjs";
|
|
2
|
-
import ElmImage_default from "../media/ElmImage.mjs";
|
|
3
|
-
import ElmInlineText_default from "../typography/ElmInlineText.mjs";
|
|
4
|
-
import { Fragment, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, normalizeClass, normalizeStyle, openBlock, unref } from "vue";
|
|
5
|
-
import { mdiCalendarMonth, mdiCalendarRefresh } from "@mdi/js";
|
|
6
|
-
//#region src/components/navigation/ElmBookmark.vue?vue&type=script&setup=true&lang.ts
|
|
7
|
-
var _hoisted_1 = ["href", "target"];
|
|
8
|
-
var _hoisted_2 = ["src"];
|
|
9
|
-
var ElmBookmark_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
10
|
-
__name: "ElmBookmark",
|
|
11
|
-
props: {
|
|
12
|
-
hideUrl: {
|
|
13
|
-
type: Boolean,
|
|
14
|
-
default: false
|
|
15
|
-
},
|
|
16
|
-
openInNewTab: {
|
|
17
|
-
type: Boolean,
|
|
18
|
-
default: true
|
|
19
|
-
},
|
|
20
|
-
title: {},
|
|
21
|
-
description: { default: "No description provided" },
|
|
22
|
-
image: {},
|
|
23
|
-
url: {},
|
|
24
|
-
createdAt: {},
|
|
25
|
-
updatedAt: {},
|
|
26
|
-
onClick: {},
|
|
27
|
-
margin: {},
|
|
28
|
-
favicon: {}
|
|
29
|
-
},
|
|
30
|
-
setup(__props) {
|
|
31
|
-
const props = __props;
|
|
32
|
-
function handleClick(event) {
|
|
33
|
-
if (props.onClick) {
|
|
34
|
-
event.preventDefault();
|
|
35
|
-
props.onClick();
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
return (_ctx, _cache) => {
|
|
39
|
-
return openBlock(), createElementBlock("div", {
|
|
40
|
-
class: normalizeClass(_ctx.$style.parent),
|
|
41
|
-
style: normalizeStyle({ "--margin-block": __props.margin })
|
|
42
|
-
}, [createElementVNode("a", {
|
|
43
|
-
class: normalizeClass(_ctx.$style.bookmark),
|
|
44
|
-
href: __props.url,
|
|
45
|
-
target: __props.openInNewTab ? "_blank" : void 0,
|
|
46
|
-
rel: "noopener noreferrer",
|
|
47
|
-
onClick: handleClick
|
|
48
|
-
}, [__props.image != null ? (openBlock(), createElementBlock("div", {
|
|
49
|
-
key: 0,
|
|
50
|
-
class: normalizeClass(_ctx.$style.image)
|
|
51
|
-
}, [createVNode(ElmImage_default, { src: __props.image }, null, 8, ["src"])], 2)) : createCommentVNode("", true), createElementVNode("div", { class: normalizeClass(_ctx.$style.typography) }, [
|
|
52
|
-
createElementVNode("div", { class: normalizeClass(_ctx.$style.title) }, [createVNode(ElmInlineText_default, {
|
|
53
|
-
text: __props.title ?? "No title provided",
|
|
54
|
-
bold: ""
|
|
55
|
-
}, null, 8, ["text"])], 2),
|
|
56
|
-
createElementVNode("div", null, [createVNode(ElmInlineText_default, {
|
|
57
|
-
text: __props.description == null ? "No description provided" : __props.description.length > 100 ? __props.description.slice(0, 100) + "..." : __props.description,
|
|
58
|
-
size: ".8rem",
|
|
59
|
-
style: { opacity: .6 }
|
|
60
|
-
}, null, 8, ["text"])]),
|
|
61
|
-
__props.createdAt != null || __props.updatedAt != null ? (openBlock(), createElementBlock("div", {
|
|
62
|
-
key: 0,
|
|
63
|
-
class: normalizeClass(_ctx.$style.date)
|
|
64
|
-
}, [__props.createdAt != null ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [createVNode(ElmMdiIcon_default, {
|
|
65
|
-
d: unref(mdiCalendarMonth),
|
|
66
|
-
size: "1em"
|
|
67
|
-
}, null, 8, ["d"]), createVNode(ElmInlineText_default, {
|
|
68
|
-
text: `${__props.createdAt}`,
|
|
69
|
-
size: ".8rem"
|
|
70
|
-
}, null, 8, ["text"])], 64)) : createCommentVNode("", true), __props.updatedAt != null ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [createVNode(ElmMdiIcon_default, {
|
|
71
|
-
d: unref(mdiCalendarRefresh),
|
|
72
|
-
size: "1em"
|
|
73
|
-
}, null, 8, ["d"]), createVNode(ElmInlineText_default, {
|
|
74
|
-
text: `${__props.updatedAt}`,
|
|
75
|
-
size: ".8rem"
|
|
76
|
-
}, null, 8, ["text"])], 64)) : createCommentVNode("", true)], 2)) : createCommentVNode("", true),
|
|
77
|
-
!__props.hideUrl && __props.url != null ? (openBlock(), createElementBlock("div", {
|
|
78
|
-
key: 1,
|
|
79
|
-
class: normalizeClass(_ctx.$style.link)
|
|
80
|
-
}, [__props.favicon ? (openBlock(), createElementBlock("img", {
|
|
81
|
-
key: 0,
|
|
82
|
-
src: __props.favicon,
|
|
83
|
-
alt: "favicon",
|
|
84
|
-
class: normalizeClass(_ctx.$style.favicon)
|
|
85
|
-
}, null, 10, _hoisted_2)) : createCommentVNode("", true), createVNode(ElmInlineText_default, {
|
|
86
|
-
text: `${__props.url}`,
|
|
87
|
-
size: ".8rem",
|
|
88
|
-
color: "#6987b8"
|
|
89
|
-
}, null, 8, ["text"])], 2)) : createCommentVNode("", true)
|
|
90
|
-
], 2)], 10, _hoisted_1)], 6);
|
|
91
|
-
};
|
|
92
|
-
}
|
|
93
|
-
});
|
|
94
|
-
//#endregion
|
|
95
|
-
export { ElmBookmark_vue_vue_type_script_setup_true_lang_default as default };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
(function() {
|
|
2
|
-
//#region \0vite/all-css
|
|
3
|
-
try {
|
|
4
|
-
if (typeof document != "undefined") {
|
|
5
|
-
var elementStyle = document.createElement("style");
|
|
6
|
-
elementStyle.appendChild(document.createTextNode("._parent_1tjtz_1{margin-block:var(--margin-block);border-radius:.25rem;transition:background-color .2s,transform .2s;overflow:hidden;box-shadow:0 0 .125rem #0000001a;container-type:inline-size}._parent_1tjtz_1:hover{background-color:#6987b81a;transform:translate(-.125rem)translateY(-.125rem)}._parent_1tjtz_1:active{background-color:#59b57c1a;transform:translate(0)translateY(0)}._bookmark_1tjtz_18{all:unset;cursor:pointer;background-color:#ffffff80;display:flex}[data-theme=dark] ._bookmark_1tjtz_18{background-color:#0003}._bookmark_1tjtz_18{flex-direction:row;height:120px}@container (width<=700px){._bookmark_1tjtz_18{flex-direction:column;height:auto}}._bookmark_1tjtz_18 ._image_1tjtz_37{opacity:.9;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;aspect-ratio:2;justify-content:center;align-items:center;min-width:min-content;max-width:35%;height:100%;display:flex;overflow:hidden}@container (width<=700px){._bookmark_1tjtz_18 ._image_1tjtz_37{min-width:0;min-width:initial;max-width:none;max-width:initial;width:100%}}._bookmark_1tjtz_18 ._typography_1tjtz_57{box-sizing:border-box;flex-direction:column;flex:1;justify-content:space-between;gap:.25rem;padding:.5rem;display:flex;overflow:hidden}._bookmark_1tjtz_18 ._typography_1tjtz_57 ._title_1tjtz_67{white-space:nowrap;text-overflow:ellipsis;width:100%;display:inline;overflow:hidden}._bookmark_1tjtz_18 ._typography_1tjtz_57 ._date_1tjtz_74{white-space:nowrap;text-overflow:ellipsis;justify-content:flex-end;gap:.5rem;width:100%;display:flex}._link_1tjtz_83{white-space:nowrap;text-overflow:ellipsis;justify-content:flex-end;align-items:center;gap:.5rem;width:100%;display:flex}._favicon_1tjtz_93{width:16px;height:16px}"));
|
|
7
|
-
document.head.appendChild(elementStyle);
|
|
8
|
-
}
|
|
9
|
-
} catch (e) {
|
|
10
|
-
console.error("vite-plugin-css-injected-by-js", e);
|
|
11
|
-
}
|
|
12
|
-
//#endregion
|
|
13
|
-
})();
|
|
14
|
-
var ElmBookmark_vue_vue_type_style_index_0_lang_module_default = {
|
|
15
|
-
parent: "_parent_1tjtz_1",
|
|
16
|
-
bookmark: "_bookmark_1tjtz_18",
|
|
17
|
-
image: "_image_1tjtz_37",
|
|
18
|
-
typography: "_typography_1tjtz_57",
|
|
19
|
-
title: "_title_1tjtz_67",
|
|
20
|
-
date: "_date_1tjtz_74",
|
|
21
|
-
link: "_link_1tjtz_83",
|
|
22
|
-
favicon: "_favicon_1tjtz_93"
|
|
23
|
-
};
|
|
24
|
-
//#endregion
|
|
25
|
-
export { ElmBookmark_vue_vue_type_style_index_0_lang_module_default as default };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import _plugin_vue_export_helper_default from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
2
|
-
import ElmBreadcrumb_vue_vue_type_script_setup_true_lang_default from "./ElmBreadcrumb.vue_vue_type_script_setup_true_lang.mjs";
|
|
3
|
-
import ElmBreadcrumb_vue_vue_type_style_index_0_lang_module_default from "./ElmBreadcrumb.vue_vue_type_style_index_0_lang.module.mjs";
|
|
4
|
-
var ElmBreadcrumb_default = /* @__PURE__ */ _plugin_vue_export_helper_default(ElmBreadcrumb_vue_vue_type_script_setup_true_lang_default, [["__cssModules", { "$style": ElmBreadcrumb_vue_vue_type_style_index_0_lang_module_default }]]);
|
|
5
|
-
//#endregion
|
|
6
|
-
export { ElmBreadcrumb_default as default };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/vue3-vite';
|
|
2
|
-
import { default as ElmBreadcrumb } from './ElmBreadcrumb.vue';
|
|
3
|
-
declare const meta: Meta<typeof ElmBreadcrumb>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof meta>;
|
|
6
|
-
export declare const Primary: Story;
|
|
7
|
-
export declare const Long: Story;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export interface ElmBreadcrumbProps {
|
|
2
|
-
/**
|
|
3
|
-
* The links to display.
|
|
4
|
-
*/
|
|
5
|
-
links: Array<{
|
|
6
|
-
/**
|
|
7
|
-
* The text to display.
|
|
8
|
-
*/
|
|
9
|
-
text: string;
|
|
10
|
-
/**
|
|
11
|
-
* The action to perform when the link is clicked.
|
|
12
|
-
*/
|
|
13
|
-
onClick?: () => void;
|
|
14
|
-
}>;
|
|
15
|
-
}
|
|
16
|
-
declare const _default: import('vue').DefineComponent<ElmBreadcrumbProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmBreadcrumbProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
17
|
-
target: HTMLElement;
|
|
18
|
-
}, HTMLElement>;
|
|
19
|
-
export default _default;
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import ElmMdiIcon_default from "../icon/ElmMdiIcon.mjs";
|
|
2
|
-
import ElmInlineText_default from "../typography/ElmInlineText.mjs";
|
|
3
|
-
import { Fragment, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, normalizeClass, normalizeStyle, openBlock, ref, renderList, unref } from "vue";
|
|
4
|
-
import { mdiApplicationOutline, mdiChevronRight, mdiFolderOpen, mdiHome } from "@mdi/js";
|
|
5
|
-
import { useIntersectionObserver } from "@vueuse/core";
|
|
6
|
-
//#region src/components/navigation/ElmBreadcrumb.vue?vue&type=script&setup=true&lang.ts
|
|
7
|
-
var _hoisted_1 = ["onClick"];
|
|
8
|
-
var ElmBreadcrumb_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
9
|
-
__name: "ElmBreadcrumb",
|
|
10
|
-
props: { links: {} },
|
|
11
|
-
setup(__props) {
|
|
12
|
-
const target = ref(null);
|
|
13
|
-
const targetIsVisible = ref(false);
|
|
14
|
-
useIntersectionObserver(target, ([{ isIntersecting }], _) => {
|
|
15
|
-
targetIsVisible.value = isIntersecting;
|
|
16
|
-
});
|
|
17
|
-
return (_ctx, _cache) => {
|
|
18
|
-
return openBlock(), createElementBlock("nav", {
|
|
19
|
-
class: normalizeClass(_ctx.$style.container),
|
|
20
|
-
ref_key: "target",
|
|
21
|
-
ref: target,
|
|
22
|
-
style: normalizeStyle({ "--opacity": targetIsVisible.value ? 1 : 0 })
|
|
23
|
-
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.links, (link, index) => {
|
|
24
|
-
return openBlock(), createElementBlock(Fragment, null, [createElementVNode("div", {
|
|
25
|
-
class: normalizeClass(_ctx.$style["link-container"]),
|
|
26
|
-
onClick: link.onClick
|
|
27
|
-
}, [createVNode(ElmMdiIcon_default, {
|
|
28
|
-
d: index === 0 ? unref(mdiHome) : index === __props.links.length - 1 ? unref(mdiApplicationOutline) : unref(mdiFolderOpen),
|
|
29
|
-
size: "1.25em",
|
|
30
|
-
class: normalizeClass(_ctx.$style.text),
|
|
31
|
-
style: normalizeStyle({ "--delay": `${index * 100}ms` })
|
|
32
|
-
}, null, 8, [
|
|
33
|
-
"d",
|
|
34
|
-
"class",
|
|
35
|
-
"style"
|
|
36
|
-
]), createVNode(ElmInlineText_default, {
|
|
37
|
-
text: link.text,
|
|
38
|
-
class: normalizeClass(_ctx.$style.text),
|
|
39
|
-
style: normalizeStyle({ "--delay": `${index * 100 + 50}ms` })
|
|
40
|
-
}, null, 8, [
|
|
41
|
-
"text",
|
|
42
|
-
"class",
|
|
43
|
-
"style"
|
|
44
|
-
])], 10, _hoisted_1), __props.links.length !== index + 1 ? (openBlock(), createBlock(ElmMdiIcon_default, {
|
|
45
|
-
key: 0,
|
|
46
|
-
d: unref(mdiChevronRight),
|
|
47
|
-
size: "1em",
|
|
48
|
-
color: "#b69545",
|
|
49
|
-
class: normalizeClass(_ctx.$style.text),
|
|
50
|
-
style: normalizeStyle({ "--delay": `${index * 100 + 100}ms` })
|
|
51
|
-
}, null, 8, [
|
|
52
|
-
"d",
|
|
53
|
-
"class",
|
|
54
|
-
"style"
|
|
55
|
-
])) : createCommentVNode("", true)], 64);
|
|
56
|
-
}), 256))], 6);
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
});
|
|
60
|
-
//#endregion
|
|
61
|
-
export { ElmBreadcrumb_vue_vue_type_script_setup_true_lang_default as default };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
(function() {
|
|
2
|
-
//#region \0vite/all-css
|
|
3
|
-
try {
|
|
4
|
-
if (typeof document != "undefined") {
|
|
5
|
-
var elementStyle = document.createElement("style");
|
|
6
|
-
elementStyle.appendChild(document.createTextNode("._container_xsa12_1{-webkit-user-select:none;user-select:none;flex-flow:wrap;align-items:center;gap:0;display:flex}._link-container_xsa12_10{box-sizing:border-box;cursor:pointer;border-radius:.25rem;flex-direction:row;align-items:center;gap:0;padding:.25rem;transition:background-color .1s,opacity .1s,transform .1s;display:flex}._link-container_xsa12_10:hover{background-color:#868e9c33;transform:translate(-1px)translateY(-1px)}._link-container_xsa12_10:active{opacity:.5;transform:translate(1px)translateY(1px)}._text_xsa12_30{opacity:var(--opacity);transition:opacity .2s;transition-delay:var(--delay);padding:0 .25rem}"));
|
|
7
|
-
document.head.appendChild(elementStyle);
|
|
8
|
-
}
|
|
9
|
-
} catch (e) {
|
|
10
|
-
console.error("vite-plugin-css-injected-by-js", e);
|
|
11
|
-
}
|
|
12
|
-
//#endregion
|
|
13
|
-
})();
|
|
14
|
-
var ElmBreadcrumb_vue_vue_type_style_index_0_lang_module_default = {
|
|
15
|
-
container: "_container_xsa12_1",
|
|
16
|
-
"link-container": "_link-container_xsa12_10",
|
|
17
|
-
text: "_text_xsa12_30"
|
|
18
|
-
};
|
|
19
|
-
//#endregion
|
|
20
|
-
export { ElmBreadcrumb_vue_vue_type_style_index_0_lang_module_default as default };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import _plugin_vue_export_helper_default from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
2
|
-
import ElmPagetop_vue_vue_type_script_setup_true_lang_default from "./ElmPagetop.vue_vue_type_script_setup_true_lang.mjs";
|
|
3
|
-
import ElmPagetop_vue_vue_type_style_index_0_lang_module_default from "./ElmPagetop.vue_vue_type_style_index_0_lang.module.mjs";
|
|
4
|
-
var ElmPagetop_default = /* @__PURE__ */ _plugin_vue_export_helper_default(ElmPagetop_vue_vue_type_script_setup_true_lang_default, [["__cssModules", { "$style": ElmPagetop_vue_vue_type_style_index_0_lang_module_default }]]);
|
|
5
|
-
//#endregion
|
|
6
|
-
export { ElmPagetop_default as default };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export interface ElmPagetopProps {
|
|
2
|
-
/**
|
|
3
|
-
* Specifies the position of the button.
|
|
4
|
-
*/
|
|
5
|
-
position?: "left" | "right";
|
|
6
|
-
}
|
|
7
|
-
declare const _default: import('vue').DefineComponent<ElmPagetopProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmPagetopProps> & Readonly<{}>, {
|
|
8
|
-
position: "left" | "right";
|
|
9
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
|
|
10
|
-
export default _default;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import text_module_default from "../../styles/text.module.mjs";
|
|
2
|
-
import { createElementBlock, createElementVNode, defineComponent, normalizeClass, normalizeStyle, openBlock, ref, unref, watch } from "vue";
|
|
3
|
-
import { useWindowScroll } from "@vueuse/core";
|
|
4
|
-
//#region src/components/navigation/ElmPagetop.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
-
var ElmPagetop_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
6
|
-
__name: "ElmPagetop",
|
|
7
|
-
props: { position: { default: "right" } },
|
|
8
|
-
setup(__props) {
|
|
9
|
-
const isVisible = ref(false);
|
|
10
|
-
const { y } = useWindowScroll();
|
|
11
|
-
watch(() => y.value, () => {
|
|
12
|
-
isVisible.value = y.value > 100;
|
|
13
|
-
});
|
|
14
|
-
const toTop = () => {
|
|
15
|
-
window.scrollTo({
|
|
16
|
-
top: 0,
|
|
17
|
-
behavior: "smooth"
|
|
18
|
-
});
|
|
19
|
-
};
|
|
20
|
-
return (_ctx, _cache) => {
|
|
21
|
-
return openBlock(), createElementBlock("nav", {
|
|
22
|
-
class: normalizeClass([_ctx.$style.wrapper, { [_ctx.$style["wrapper--visible"]]: isVisible.value }]),
|
|
23
|
-
style: normalizeStyle({
|
|
24
|
-
"--size": `64px`,
|
|
25
|
-
left: __props.position === "left" ? "0" : "auto",
|
|
26
|
-
right: __props.position === "right" ? "0" : "auto"
|
|
27
|
-
}),
|
|
28
|
-
onClick: toTop
|
|
29
|
-
}, [
|
|
30
|
-
createElementVNode("div", {
|
|
31
|
-
"aria-hidden": "",
|
|
32
|
-
class: normalizeClass(_ctx.$style.partial)
|
|
33
|
-
}, null, 2),
|
|
34
|
-
createElementVNode("div", {
|
|
35
|
-
"aria-hidden": "",
|
|
36
|
-
class: normalizeClass(_ctx.$style.partial)
|
|
37
|
-
}, null, 2),
|
|
38
|
-
createElementVNode("div", {
|
|
39
|
-
"aria-hidden": "",
|
|
40
|
-
class: normalizeClass(_ctx.$style.partial)
|
|
41
|
-
}, null, 2),
|
|
42
|
-
createElementVNode("span", { class: normalizeClass([_ctx.$style.text, unref(text_module_default).text]) }, "Back to Top", 2)
|
|
43
|
-
], 6);
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
});
|
|
47
|
-
//#endregion
|
|
48
|
-
export { ElmPagetop_vue_vue_type_script_setup_true_lang_default as default };
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
(function() {
|
|
2
|
-
//#region \0vite/all-css
|
|
3
|
-
try {
|
|
4
|
-
if (typeof document != "undefined") {
|
|
5
|
-
var elementStyle = document.createElement("style");
|
|
6
|
-
elementStyle.appendChild(document.createTextNode("._wrapper_11hrj_1{--const-margin:1rem;z-index:50;-webkit-tap-highlight-color:transparent;margin:1rem .5rem;margin:var(--const-margin) .5rem;width:var(--size);height:var(--size);bottom:0;left:auto;left:var(--left,auto);right:auto;right:var(---right,auto);opacity:1;cursor:pointer;-webkit-tap-highlight-color:transparent;transform-origin:50%;transition:transform .7s,opacity .4s;display:block;position:fixed;transform:translateY(250%)rotate(180deg)}._wrapper--visible_11hrj_20{transition:transform .7s,opacity .2s;transform:translateY(0%)rotate(0)}._wrapper_11hrj_1:hover{opacity:.8}._wrapper_11hrj_1:active{opacity:.4}@keyframes _move_11hrj_1{0%{opacity:0;transform:translateY(600%)}25%{opacity:1;transform:translateY(220%)}42%{opacity:1;transform:translateY(200%)}67%{opacity:1;transform:translateY(0%)}to{opacity:0;transform:translateY(-50%)scale(.5)}}._wrapper_11hrj_1 ._partial_11hrj_52{width:var(--size);opacity:0;height:20px;animation:3s ease-out infinite _move_11hrj_1;position:absolute;transform:scale3d(.5,.5,.5)}._wrapper_11hrj_1 ._partial_11hrj_52:first-of-type{animation:3s ease-out 1s infinite _move_11hrj_1}._wrapper_11hrj_1 ._partial_11hrj_52:nth-of-type(2){animation:3s ease-out 2s infinite _move_11hrj_1}._wrapper_11hrj_1 ._partial_11hrj_52:before,._wrapper_11hrj_1 ._partial_11hrj_52:after{content:\"\";background-color:#494f59;width:50%;height:100%;position:absolute;top:0}[data-theme=dark] ._wrapper_11hrj_1 ._partial_11hrj_52:before,[data-theme=dark] ._wrapper_11hrj_1 ._partial_11hrj_52:after{background-color:#bec2ca}._wrapper_11hrj_1 ._partial_11hrj_52:before{left:0;transform:skewY(-30deg)}._wrapper_11hrj_1 ._partial_11hrj_52:after{right:0;transform:skewY(30deg)}._wrapper_11hrj_1 ._text_11hrj_85{text-align:center;z-index:50;width:100%;bottom:calc(0px - var(--const-margin));white-space:nowrap;-webkit-user-select:none;user-select:none;font-family:sans-serif;font-size:12px;transition:opacity .2s .4s;position:absolute}"));
|
|
7
|
-
document.head.appendChild(elementStyle);
|
|
8
|
-
}
|
|
9
|
-
} catch (e) {
|
|
10
|
-
console.error("vite-plugin-css-injected-by-js", e);
|
|
11
|
-
}
|
|
12
|
-
//#endregion
|
|
13
|
-
})();
|
|
14
|
-
var ElmPagetop_vue_vue_type_style_index_0_lang_module_default = {
|
|
15
|
-
wrapper: "_wrapper_11hrj_1",
|
|
16
|
-
"wrapper--visible": "_wrapper--visible_11hrj_20",
|
|
17
|
-
partial: "_partial_11hrj_52",
|
|
18
|
-
move: "_move_11hrj_1",
|
|
19
|
-
text: "_text_11hrj_85"
|
|
20
|
-
};
|
|
21
|
-
//#endregion
|
|
22
|
-
export { ElmPagetop_vue_vue_type_style_index_0_lang_module_default as default };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import _plugin_vue_export_helper_default from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
2
|
-
import ElmTableOfContents_vue_vue_type_script_setup_true_lang_default from "./ElmTableOfContents.vue_vue_type_script_setup_true_lang.mjs";
|
|
3
|
-
import ElmTableOfContents_vue_vue_type_style_index_0_lang_module_default from "./ElmTableOfContents.vue_vue_type_style_index_0_lang.module.mjs";
|
|
4
|
-
var ElmTableOfContents_default = /* @__PURE__ */ _plugin_vue_export_helper_default(ElmTableOfContents_vue_vue_type_script_setup_true_lang_default, [["__cssModules", { "$style": ElmTableOfContents_vue_vue_type_style_index_0_lang_module_default }]]);
|
|
5
|
-
//#endregion
|
|
6
|
-
export { ElmTableOfContents_default as default };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/vue3-vite';
|
|
2
|
-
import { default as ElmTableOfContents } from './ElmTableOfContents.vue';
|
|
3
|
-
declare const meta: Meta<typeof ElmTableOfContents>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof meta>;
|
|
6
|
-
export declare const Primary: Story;
|
|
7
|
-
export declare const Deep: Story;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export interface ElmTableOfContentsProps {
|
|
2
|
-
headings: Array<{
|
|
3
|
-
level: 1 | 2 | 3 | 4 | 5 | 6;
|
|
4
|
-
text: string;
|
|
5
|
-
id?: string;
|
|
6
|
-
}>;
|
|
7
|
-
}
|
|
8
|
-
declare const _default: import('vue').DefineComponent<ElmTableOfContentsProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmTableOfContentsProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
|
|
9
|
-
export default _default;
|
package/dist/components/navigation/ElmTableOfContents.vue_vue_type_script_setup_true_lang.mjs
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import ElmMdiIcon_default from "../icon/ElmMdiIcon.mjs";
|
|
2
|
-
import ElmInlineText_default from "../typography/ElmInlineText.mjs";
|
|
3
|
-
import { Fragment, createElementBlock, createElementVNode, createVNode, defineComponent, normalizeClass, normalizeStyle, openBlock, renderList, unref } from "vue";
|
|
4
|
-
import { mdiMenuDown } from "@mdi/js";
|
|
5
|
-
//#region src/components/navigation/ElmTableOfContents.vue?vue&type=script&setup=true&lang.ts
|
|
6
|
-
var _hoisted_1 = ["href"];
|
|
7
|
-
var ElmTableOfContents_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
8
|
-
__name: "ElmTableOfContents",
|
|
9
|
-
props: { headings: {} },
|
|
10
|
-
setup(__props) {
|
|
11
|
-
return (_ctx, _cache) => {
|
|
12
|
-
return openBlock(), createElementBlock("nav", { class: normalizeClass(_ctx.$style.toc) }, [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.headings, (heading) => {
|
|
13
|
-
return openBlock(), createElementBlock("a", {
|
|
14
|
-
class: normalizeClass(_ctx.$style.link),
|
|
15
|
-
href: `#${heading.id ?? heading.text}`,
|
|
16
|
-
style: normalizeStyle({ "--padding-left": `${heading.level * .5}rem` })
|
|
17
|
-
}, [
|
|
18
|
-
createElementVNode("sup", null, [createVNode(ElmInlineText_default, {
|
|
19
|
-
text: `H${heading.level}`,
|
|
20
|
-
size: "0.6rem",
|
|
21
|
-
color: "#6987b8"
|
|
22
|
-
}, null, 8, ["text"])]),
|
|
23
|
-
createVNode(ElmInlineText_default, { text: heading.text }, null, 8, ["text"]),
|
|
24
|
-
createVNode(ElmMdiIcon_default, {
|
|
25
|
-
d: unref(mdiMenuDown),
|
|
26
|
-
size: "1em",
|
|
27
|
-
color: "#6987b8"
|
|
28
|
-
}, null, 8, ["d"])
|
|
29
|
-
], 14, _hoisted_1);
|
|
30
|
-
}), 256))], 2);
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
});
|
|
34
|
-
//#endregion
|
|
35
|
-
export { ElmTableOfContents_vue_vue_type_script_setup_true_lang_default as default };
|
package/dist/components/navigation/ElmTableOfContents.vue_vue_type_style_index_0_lang.module.mjs
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
(function() {
|
|
2
|
-
//#region \0vite/all-css
|
|
3
|
-
try {
|
|
4
|
-
if (typeof document != "undefined") {
|
|
5
|
-
var elementStyle = document.createElement("style");
|
|
6
|
-
elementStyle.appendChild(document.createTextNode("._toc_vrpzl_1{box-sizing:border-box;border-left:.25rem solid #0000001a;flex-direction:column;padding-left:.5rem;display:flex}[data-theme=dark] ._toc_vrpzl_1{border-left-color:#ffffff26}._toc_vrpzl_1 ._link_vrpzl_13{all:unset;box-sizing:border-box;padding:.25rem;padding-left:var(--padding-left,.25rem);cursor:pointer;border-radius:.25rem;justify-content:flex-start;gap:.5rem;transition:background-color .2s;display:flex}._toc_vrpzl_1 ._link_vrpzl_13:hover{background-color:#6987b833}"));
|
|
7
|
-
document.head.appendChild(elementStyle);
|
|
8
|
-
}
|
|
9
|
-
} catch (e) {
|
|
10
|
-
console.error("vite-plugin-css-injected-by-js", e);
|
|
11
|
-
}
|
|
12
|
-
//#endregion
|
|
13
|
-
})();
|
|
14
|
-
var ElmTableOfContents_vue_vue_type_style_index_0_lang_module_default = {
|
|
15
|
-
toc: "_toc_vrpzl_1",
|
|
16
|
-
link: "_link_vrpzl_13"
|
|
17
|
-
};
|
|
18
|
-
//#endregion
|
|
19
|
-
export { ElmTableOfContents_vue_vue_type_style_index_0_lang_module_default as default };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
(function() {
|
|
2
|
-
//#region \0vite/all-css
|
|
3
|
-
try {
|
|
4
|
-
if (typeof document != "undefined") {
|
|
5
|
-
var elementStyle = document.createElement("style");
|
|
6
|
-
elementStyle.appendChild(document.createTextNode(".v-enter-to[data-v-4e995755],.v-leave-from[data-v-4e995755]{opacity:1}.v-enter-active[data-v-4e995755],.v-leave-active[data-v-4e995755]{transition:opacity .3s}.v-enter-from[data-v-4e995755],.v-leave-to[data-v-4e995755]{opacity:0}"));
|
|
7
|
-
document.head.appendChild(elementStyle);
|
|
8
|
-
}
|
|
9
|
-
} catch (e) {
|
|
10
|
-
console.error("vite-plugin-css-injected-by-js", e);
|
|
11
|
-
}
|
|
12
|
-
//#endregion
|
|
13
|
-
})();
|
|
14
|
-
import _plugin_vue_export_helper_default from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
15
|
-
import ElmColorSample_vue_vue_type_script_setup_true_lang_default from "./ElmColorSample.vue_vue_type_script_setup_true_lang.mjs";
|
|
16
|
-
import ElmColorSample_vue_vue_type_style_index_0_lang_module_default from "./ElmColorSample.vue_vue_type_style_index_0_lang.module.mjs";
|
|
17
|
-
|
|
18
|
-
var ElmColorSample_default = /* @__PURE__ */ _plugin_vue_export_helper_default(ElmColorSample_vue_vue_type_script_setup_true_lang_default, [["__cssModules", { "$style": ElmColorSample_vue_vue_type_style_index_0_lang_module_default }], ["__scopeId", "data-v-4e995755"]]);
|
|
19
|
-
//#endregion
|
|
20
|
-
export { ElmColorSample_default as default };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/vue3-vite';
|
|
2
|
-
import { default as ElmColorSample } from './ElmColorSample.vue';
|
|
3
|
-
declare const meta: Meta<typeof ElmColorSample>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof meta>;
|
|
6
|
-
export declare const Primary: Story;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export interface ElmColorSampleProps {
|
|
2
|
-
/**
|
|
3
|
-
* The color to display.
|
|
4
|
-
*/
|
|
5
|
-
color: string;
|
|
6
|
-
}
|
|
7
|
-
declare const _default: import('vue').DefineComponent<ElmColorSampleProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmColorSampleProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
8
|
-
export default _default;
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import ElmMdiIcon_default from "../icon/ElmMdiIcon.mjs";
|
|
2
|
-
import ElmTooltip_default from "../containments/ElmTooltip.mjs";
|
|
3
|
-
import { Transition, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, normalizeClass, normalizeStyle, openBlock, toDisplayString, unref, withCtx } from "vue";
|
|
4
|
-
import { mdiCheck } from "@mdi/js";
|
|
5
|
-
import { parseToHsl, parseToRgb, rgbToColorString } from "polished";
|
|
6
|
-
import { useClipboard } from "@vueuse/core";
|
|
7
|
-
//#region src/components/others/ElmColorSample.vue?vue&type=script&setup=true&lang.ts
|
|
8
|
-
var ElmColorSample_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
9
|
-
__name: "ElmColorSample",
|
|
10
|
-
props: { color: {} },
|
|
11
|
-
setup(__props) {
|
|
12
|
-
const props = __props;
|
|
13
|
-
const { blue, green, red } = parseToRgb(props.color);
|
|
14
|
-
const { hue, saturation, lightness } = parseToHsl(props.color);
|
|
15
|
-
const hex = rgbToColorString(parseToRgb(props.color));
|
|
16
|
-
const rgb = `rgb(${red}, ${green}, ${blue})`;
|
|
17
|
-
const hsl = `hsl(${Math.floor(hue)}, ${Math.floor(saturation * 100)}%, ${Math.floor(lightness * 100)}%)`;
|
|
18
|
-
const { copy, copied } = useClipboard();
|
|
19
|
-
return (_ctx, _cache) => {
|
|
20
|
-
return openBlock(), createElementBlock("div", { style: normalizeStyle({ "--color": __props.color }) }, [createVNode(ElmTooltip_default, null, {
|
|
21
|
-
original: withCtx(() => [createElementVNode("div", {
|
|
22
|
-
class: normalizeClass(_ctx.$style["color-bg"]),
|
|
23
|
-
style: normalizeStyle({ "--background-color": __props.color }),
|
|
24
|
-
onClick: _cache[0] || (_cache[0] = ($event) => unref(copy)(unref(hex)))
|
|
25
|
-
}, [createVNode(Transition, null, {
|
|
26
|
-
default: withCtx(() => [unref(copied) ? (openBlock(), createBlock(ElmMdiIcon_default, {
|
|
27
|
-
key: 0,
|
|
28
|
-
d: unref(mdiCheck),
|
|
29
|
-
size: "1em",
|
|
30
|
-
color: "white"
|
|
31
|
-
}, null, 8, ["d"])) : createCommentVNode("", true)]),
|
|
32
|
-
_: 1
|
|
33
|
-
})], 6), createElementVNode("div", {
|
|
34
|
-
class: normalizeClass(_ctx.$style.text),
|
|
35
|
-
onClick: _cache[1] || (_cache[1] = ($event) => unref(copy)(unref(hex)))
|
|
36
|
-
}, toDisplayString(unref(hex)), 3)]),
|
|
37
|
-
tooltip: withCtx(() => [
|
|
38
|
-
createElementVNode("div", {
|
|
39
|
-
class: normalizeClass(_ctx.$style.text),
|
|
40
|
-
onClick: _cache[2] || (_cache[2] = ($event) => unref(copy)(unref(hex)))
|
|
41
|
-
}, toDisplayString(unref(hex)), 3),
|
|
42
|
-
createElementVNode("div", {
|
|
43
|
-
class: normalizeClass(_ctx.$style.text),
|
|
44
|
-
onClick: _cache[3] || (_cache[3] = ($event) => unref(copy)(rgb))
|
|
45
|
-
}, toDisplayString(rgb), 2),
|
|
46
|
-
createElementVNode("div", {
|
|
47
|
-
class: normalizeClass(_ctx.$style.text),
|
|
48
|
-
onClick: _cache[4] || (_cache[4] = ($event) => unref(copy)(hsl))
|
|
49
|
-
}, toDisplayString(hsl), 2)
|
|
50
|
-
]),
|
|
51
|
-
_: 1
|
|
52
|
-
})], 4);
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
});
|
|
56
|
-
//#endregion
|
|
57
|
-
export { ElmColorSample_vue_vue_type_script_setup_true_lang_default as default };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
(function() {
|
|
2
|
-
//#region \0vite/all-css
|
|
3
|
-
try {
|
|
4
|
-
if (typeof document != "undefined") {
|
|
5
|
-
var elementStyle = document.createElement("style");
|
|
6
|
-
elementStyle.appendChild(document.createTextNode("._color-bg_819fg_1{background-color:var(--background-color);cursor:pointer;border-radius:.25rem;width:5rem;height:2rem;transition:opacity .1s}._color-bg_819fg_1:active{opacity:.5}._text_819fg_13{color:var(--color);cursor:pointer;border-radius:.125rem;margin-block:.125rem;padding:.125rem;transition:color .1s,background-color .1s,opacity .1s}._text_819fg_13:hover{color:#fff;background-color:var(--color)}._text_819fg_13:active{opacity:.5}._text_819fg_13::selection{color:#fff;background-color:var(--color)}"));
|
|
7
|
-
document.head.appendChild(elementStyle);
|
|
8
|
-
}
|
|
9
|
-
} catch (e) {
|
|
10
|
-
console.error("vite-plugin-css-injected-by-js", e);
|
|
11
|
-
}
|
|
12
|
-
//#endregion
|
|
13
|
-
})();
|
|
14
|
-
var ElmColorSample_vue_vue_type_style_index_0_lang_module_default = {
|
|
15
|
-
"color-bg": "_color-bg_819fg_1",
|
|
16
|
-
text: "_text_819fg_13"
|
|
17
|
-
};
|
|
18
|
-
//#endregion
|
|
19
|
-
export { ElmColorSample_vue_vue_type_style_index_0_lang_module_default as default };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import _plugin_vue_export_helper_default from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
2
|
-
import ElmColorTable_vue_vue_type_script_setup_true_lang_default from "./ElmColorTable.vue_vue_type_script_setup_true_lang.mjs";
|
|
3
|
-
import ElmColorTable_vue_vue_type_style_index_0_lang_module_default from "./ElmColorTable.vue_vue_type_style_index_0_lang.module.mjs";
|
|
4
|
-
var ElmColorTable_default = /* @__PURE__ */ _plugin_vue_export_helper_default(ElmColorTable_vue_vue_type_script_setup_true_lang_default, [["__cssModules", { "$style": ElmColorTable_vue_vue_type_style_index_0_lang_module_default }]]);
|
|
5
|
-
//#endregion
|
|
6
|
-
export { ElmColorTable_default as default };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/vue3-vite';
|
|
2
|
-
import { default as ElmColorTable } from './ElmColorTable.vue';
|
|
3
|
-
declare const meta: Meta<typeof ElmColorTable>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof meta>;
|
|
6
|
-
export declare const Primary: Story;
|