@elmethis/core 1.0.0-alpha.4 → 1.0.0-alpha.40
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/{Bash-Baz1BxzT.js → Bash-DI9Gwu8l.js} +19 -15
- package/dist/{JavaScript-B2h5GaAI.js → JavaScript-DJK_0wg3.js} +1 -1
- package/dist/{Rust-OtMDYMq1.js → Rust-DDK30uoJ.js} +1 -1
- package/dist/{TypeScript-BjyEfQ06.js → TypeScript-D_pgDEzS.js} +1 -1
- package/dist/components/badge/ElmTag.stories.d.ts +7 -0
- package/dist/components/badge/ElmTag.vue.d.ts +14 -0
- package/dist/components/containments/ElmColumn.stories.d.ts +6 -0
- package/dist/components/containments/ElmColumn.vue.d.ts +18 -0
- package/dist/components/containments/ElmColumnList.vue.d.ts +18 -0
- package/dist/components/containments/ElmDesktopWindow.stories.d.ts +6 -0
- package/dist/components/containments/ElmDesktopWindow.vue.d.ts +26 -0
- package/dist/components/containments/ElmModal.stories.d.ts +6 -0
- package/dist/components/containments/ElmModal.vue.d.ts +34 -0
- package/dist/components/containments/ElmParallax.stories.d.ts +6 -0
- package/dist/components/containments/ElmParallax.vue.d.ts +6 -0
- package/dist/components/containments/ElmToggle.stories.d.ts +1 -0
- package/dist/components/containments/ElmToggle.vue.d.ts +1 -0
- package/dist/components/data/ElmProgress.stories.d.ts +9 -0
- package/dist/components/data/ElmProgress.vue.d.ts +33 -0
- package/dist/components/fallback/ElmBlockFallback.stories.d.ts +6 -0
- package/dist/components/fallback/ElmBlockFallback.vue.d.ts +4 -0
- package/dist/components/form/ElmButton.stories.d.ts +12 -0
- package/dist/components/form/ElmButton.vue.d.ts +39 -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/ElmDotLoadingIcon.vue.d.ts +1 -1
- package/dist/components/icon/ElmLoginIcon.stories.d.ts +6 -0
- package/dist/components/icon/ElmLoginIcon.vue.d.ts +18 -0
- package/dist/components/media/ElmFile.stories.d.ts +6 -0
- package/dist/components/media/ElmFile.vue.d.ts +16 -0
- package/dist/components/navigation/ElmBookmark.stories.d.ts +2 -0
- package/dist/components/navigation/ElmTableOfContents.stories.d.ts +7 -0
- package/dist/components/navigation/ElmTableOfContents.vue.d.ts +9 -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/ElmColorTable.stories.d.ts +6 -0
- package/dist/components/others/ElmColorTable.vue.d.ts +11 -0
- package/dist/components/renderer/ElmJsonRenderer.stories.d.ts +1 -0
- package/dist/components/renderer/ElmJsonRenderer.vue.d.ts +18 -3
- package/dist/elmethis.js +56 -37
- package/dist/elmethis.umd.cjs +24 -20
- package/dist/hooks/useElmethisTheme.d.ts +4 -0
- package/dist/index-B7RwuAUa.js +19025 -0
- package/dist/index.d.ts +21 -2
- package/package.json +38 -4
- package/dist/index-DiODNzIp.js +0 -15999
- package/dist/vite.svg +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,26 +1,43 @@
|
|
|
1
|
+
import { default as ElmTag, ElmTagProps } from './components/badge/ElmTag.vue';
|
|
1
2
|
import { default as ElmCodeBlock, ElmCodeBlockProps } from './components/code/ElmCodeBlock.vue';
|
|
2
3
|
import { default as ElmPrismHighlighter, ElmPrismHighlighterProps } from './components/code/ElmPrismHighlighter.vue';
|
|
3
4
|
import { default as ElmKatex, ElmKatexProps } from './components/code/ElmKatex.vue';
|
|
5
|
+
import { default as ElmColumn, ElmColumnProps } from './components/containments/ElmColumn.vue';
|
|
6
|
+
import { default as ElmColumnList, ElmColumnListProps } from './components/containments/ElmColumnList.vue';
|
|
7
|
+
import { default as ElmDesktopWindow, ElmDesktopWindowProps } from './components/containments/ElmDesktopWindow.vue';
|
|
8
|
+
import { default as ElmModal, ElmModalProps } from './components/containments/ElmModal.vue';
|
|
9
|
+
import { default as ElmParallax, ElmParallaxProps } from './components/containments/ElmParallax.vue';
|
|
10
|
+
import { default as ElmToggle, ElmToggleProps } from './components/containments/ElmToggle.vue';
|
|
4
11
|
import { default as ElmTooltip, ElmTooltipProps } from './components/containments/ElmTooltip.vue';
|
|
12
|
+
import { default as ElmProgress, ElmProgressProps } from './components/data/ElmProgress.vue';
|
|
5
13
|
import { default as ElmRectangleWave, ElmRectangleWaveProps } from './components/fallback/ElmRectangleWave.vue';
|
|
14
|
+
import { default as ElmBlockFallback, ElmBlockFallbackProps } from './components/fallback/ElmBlockFallback.vue';
|
|
15
|
+
import { default as ElmButton, ElmButtonProps } from './components/form/ElmButton.vue';
|
|
16
|
+
import { default as ElmCheckbox, ElmCheckboxProps } from './components/form/ElmCheckbox.vue';
|
|
6
17
|
import { default as ElmHeading1, ElmHeading1Props } from './components/headings/ElmHeading1.vue';
|
|
7
18
|
import { default as ElmHeading2, ElmHeading2Props } from './components/headings/ElmHeading2.vue';
|
|
8
19
|
import { default as ElmHeading3, ElmHeading3Props } from './components/headings/ElmHeading3.vue';
|
|
9
20
|
import { default as ElmHeading4, ElmHeading4Props } from './components/headings/ElmHeading4.vue';
|
|
10
21
|
import { default as ElmHeading5, ElmHeading5Props } from './components/headings/ElmHeading5.vue';
|
|
11
22
|
import { default as ElmHeading6, ElmHeading6Props } from './components/headings/ElmHeading6.vue';
|
|
23
|
+
import { default as ElmBookmarkIcon, ElmBookmarkIconProps } from './components/icon/ElmBookmarkIcon.vue';
|
|
12
24
|
import { default as ElmCubeIcon, ElmCubeIconProps } from './components/icon/ElmCubeIcon.vue';
|
|
13
25
|
import { default as ElmDotLoadingIcon, ElmDotLoadingIconProps } from './components/icon/ElmDotLoadingIcon.vue';
|
|
14
26
|
import { default as ElmLanguageIcon, ElmLanguageIconProps } from './components/icon/ElmLanguageIcon.vue';
|
|
27
|
+
import { default as ElmLoginIcon, ElmLoginIconProps } from './components/icon/ElmLoginIcon.vue';
|
|
15
28
|
import { default as ElmToggleTheme, ElmToggleThemeProps } from './components/icon/ElmToggleTheme.vue';
|
|
16
29
|
import { default as ElmInlineCode, ElmInlineCodeProps } from './components/inline/ElmInlineCode.vue';
|
|
17
30
|
import { default as ElmInlineLink, ElmInlineLinkProps } from './components/inline/ElmInlineLink.vue';
|
|
18
31
|
import { default as ElmInlineRuby, ElmInlineRubyProps } from './components/inline/ElmInlineRuby.vue';
|
|
19
32
|
import { default as ElmInlineText, ElmInlineTextProps } from './components/inline/ElmInlineText.vue';
|
|
33
|
+
import { default as ElmFile, ElmFileProps } from './components/media/ElmFile.vue';
|
|
20
34
|
import { default as ElmImage, ElmImageProps } from './components/media/ElmImage.vue';
|
|
21
35
|
import { default as ElmBookmark, ElmBookmarkProps } from './components/navigation/ElmBookmark.vue';
|
|
22
36
|
import { default as ElmBreadcrumb, ElmBreadcrumbProps } from './components/navigation/ElmBreadcrumb.vue';
|
|
23
37
|
import { default as ElmPagetop, ElmPagetopProps } from './components/navigation/ElmPagetop.vue';
|
|
38
|
+
import { default as ElmTableOfContents, ElmTableOfContentsProps } from './components/navigation/ElmTableOfContents.vue';
|
|
39
|
+
import { default as ElmColorSample, ElmColorSampleProps } from './components/others/ElmColorSample.vue';
|
|
40
|
+
import { default as ElmColorTable, ElmColorTableProps } from './components/others/ElmColorTable.vue';
|
|
24
41
|
import { default as ElmJsonRenderer, ElmJsonRendererProps } from './components/renderer/ElmJsonRenderer.vue';
|
|
25
42
|
import { default as ElmTable, ElmTableProps } from './components/table/ElmTable.vue';
|
|
26
43
|
import { default as ElmTableHeader, ElmTableHeaderProps } from './components/table/ElmTableHeader.vue';
|
|
@@ -32,6 +49,8 @@ import { default as ElmBulletedList, ElmBulletedListProps } from './components/t
|
|
|
32
49
|
import { default as ElmCallout, ElmCalloutProps } from './components/typography/ElmCallout.vue';
|
|
33
50
|
import { default as ElmDivider, ElmDividerProps } from './components/typography/ElmDivider.vue';
|
|
34
51
|
import { default as ElmNumberedList, ElmNumberedListProps } from './components/typography/ElmNumberedList.vue';
|
|
52
|
+
import { default as ElmParagraph, ElmParagraphProps } from './components/typography/ElmParagraph.vue';
|
|
35
53
|
import { default as ElmListItem, ElmListItemProps } from './components/typography/ElmListItem.vue';
|
|
36
|
-
|
|
37
|
-
export
|
|
54
|
+
import { useElmethisTheme } from './hooks/useElmethisTheme';
|
|
55
|
+
export { ElmTag, ElmCodeBlock, ElmPrismHighlighter, ElmKatex, ElmColumn, ElmColumnList, ElmDesktopWindow, ElmModal, ElmParallax, ElmToggle, ElmTooltip, ElmProgress, ElmRectangleWave, ElmBlockFallback, ElmButton, ElmCheckbox, ElmHeading1, ElmHeading2, ElmHeading3, ElmHeading4, ElmHeading5, ElmHeading6, ElmBookmarkIcon, ElmCubeIcon, ElmDotLoadingIcon, ElmLanguageIcon, ElmLoginIcon, ElmToggleTheme, ElmInlineCode, ElmInlineLink, ElmInlineRuby, ElmInlineText, ElmFile, ElmImage, ElmBookmark, ElmBreadcrumb, ElmPagetop, ElmTableOfContents, ElmColorSample, ElmColorTable, ElmJsonRenderer, ElmTable, ElmTableHeader, ElmTableBody, ElmTableRow, ElmTableCell, ElmBlockQuote, ElmBulletedList, ElmCallout, ElmDivider, ElmNumberedList, ElmParagraph, ElmListItem, useElmethisTheme };
|
|
56
|
+
export type { ElmTagProps, ElmCodeBlockProps, ElmPrismHighlighterProps, ElmKatexProps, ElmColumnProps, ElmColumnListProps, ElmDesktopWindowProps, ElmModalProps, ElmParallaxProps, ElmToggleProps, ElmTooltipProps, ElmProgressProps, ElmRectangleWaveProps, ElmBlockFallbackProps, ElmButtonProps, ElmCheckboxProps, ElmHeading1Props, ElmHeading2Props, ElmHeading3Props, ElmHeading4Props, ElmHeading5Props, ElmHeading6Props, ElmBookmarkIconProps, ElmCubeIconProps, ElmDotLoadingIconProps, ElmLanguageIconProps, ElmLoginIconProps, ElmToggleThemeProps, ElmInlineCodeProps, ElmInlineLinkProps, ElmInlineRubyProps, ElmInlineTextProps, ElmFileProps, ElmImageProps, ElmBookmarkProps, ElmBreadcrumbProps, ElmPagetopProps, ElmTableOfContentsProps, ElmJsonRendererProps, ElmColorSampleProps, ElmColorTableProps, ElmTableProps, ElmTableHeaderProps, ElmTableBodyProps, ElmTableRowProps, ElmTableCellProps, ElmBlockQuoteProps, ElmBulletedListProps, ElmCalloutProps, ElmDividerProps, ElmNumberedListProps, ElmParagraphProps, ElmListItemProps };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elmethis/core",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.40",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -16,14 +16,48 @@
|
|
|
16
16
|
],
|
|
17
17
|
"exports": {
|
|
18
18
|
".": {
|
|
19
|
+
"types": "./dist/index.d.ts",
|
|
19
20
|
"import": "./dist/elmethis.js",
|
|
20
|
-
"require": "./dist/elmethis.umd.cjs"
|
|
21
|
-
"types": "./dist/index.d.ts"
|
|
21
|
+
"require": "./dist/elmethis.umd.cjs"
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
|
+
"devDependencies": {
|
|
25
|
+
"@chromatic-com/storybook": "^3.2.2",
|
|
26
|
+
"@heroicons/vue": "^2.1.5",
|
|
27
|
+
"@storybook/addon-essentials": "^8.4.2",
|
|
28
|
+
"@storybook/addon-interactions": "^8.4.2",
|
|
29
|
+
"@storybook/addon-links": "^8.4.2",
|
|
30
|
+
"@storybook/addon-onboarding": "^8.4.2",
|
|
31
|
+
"@storybook/blocks": "^8.4.2",
|
|
32
|
+
"@storybook/test": "^8.4.2",
|
|
33
|
+
"@storybook/vue3": "^8.4.2",
|
|
34
|
+
"@storybook/vue3-vite": "^8.4.2",
|
|
35
|
+
"@types/feather-icons": "^4.29.4",
|
|
36
|
+
"@types/katex": "^0.16.7",
|
|
37
|
+
"@types/lodash-es": "^4.17.12",
|
|
38
|
+
"@types/prismjs": "^1.26.5",
|
|
39
|
+
"@vitejs/plugin-vue": "^5.1.4",
|
|
40
|
+
"@vitejs/plugin-vue-jsx": "^4.0.1",
|
|
41
|
+
"@vueuse/core": "^11.2.0",
|
|
42
|
+
"csstype": "^3.1.3",
|
|
43
|
+
"feather-icons": "^4.29.2",
|
|
44
|
+
"katex": "^0.16.11",
|
|
45
|
+
"lodash-es": "^4.17.21",
|
|
46
|
+
"polished": "^4.3.1",
|
|
47
|
+
"postcss": "^8.4.47",
|
|
48
|
+
"postcss-preset-env": "^10.0.9",
|
|
49
|
+
"prism-theme-vars": "^0.2.5",
|
|
50
|
+
"prismjs": "^1.29.0",
|
|
51
|
+
"sass": "^1.80.6",
|
|
52
|
+
"storybook": "^8.4.2",
|
|
53
|
+
"vite": "^5.4.9",
|
|
54
|
+
"vite-plugin-css-injected-by-js": "^3.5.2",
|
|
55
|
+
"vite-plugin-dts": "^4.3.0",
|
|
56
|
+
"vue": "^3.5.12",
|
|
57
|
+
"vue-tsc": "^2.1.10"
|
|
58
|
+
},
|
|
24
59
|
"scripts": {
|
|
25
60
|
"build": "vue-tsc && vite build",
|
|
26
|
-
"prepublishOnly": "npm run build",
|
|
27
61
|
"storybook": "storybook dev -p 6006",
|
|
28
62
|
"build-storybook": "storybook build"
|
|
29
63
|
}
|