@elmethis/core 1.0.0-alpha.84 → 1.0.0-alpha.86

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/dist/{Bash-LU4z4GOB.js → Bash-CVo8Hz3W.js} +1 -1
  2. package/dist/{C-DVXnL5HO.js → C-C_f_yPrO.js} +1 -1
  3. package/dist/{Cpp-BeJyJjTM.js → Cpp-BXySqJ46.js} +1 -1
  4. package/dist/{Csharp-CoikgEKu.js → Csharp-B6Ju_7i8.js} +1 -1
  5. package/dist/{Css-4DxWs9Pp.js → Css-COEXUh5p.js} +1 -1
  6. package/dist/{Go-DZshV68J.js → Go-BcuMeS1U.js} +1 -1
  7. package/dist/{Html-ChKFB2cg.js → Html-D5WGvgDQ.js} +1 -1
  8. package/dist/{Java-w_buzQsP.js → Java-CE2W2TQa.js} +1 -1
  9. package/dist/{JavaScript-CKZRMlWu.js → JavaScript-vjCRKZzn.js} +1 -1
  10. package/dist/{Json-CpSOFmsk.js → Json-C7xbr18N.js} +1 -1
  11. package/dist/{Kotlin-CJVNRYeG.js → Kotlin-CPfKE4hr.js} +1 -1
  12. package/dist/{Lua-DIFNdahM.js → Lua-7dO1mDsT.js} +1 -1
  13. package/dist/{Npm-BjKSIY0y.js → Npm-C74dZsdr.js} +1 -1
  14. package/dist/{Python-By7bqO0O.js → Python-CgoTKkaH.js} +1 -1
  15. package/dist/{Rust-DgI-F22C.js → Rust-6KkbXJKO.js} +1 -1
  16. package/dist/{Sql-B_fgRGny.js → Sql-CdpQ04Yl.js} +1 -1
  17. package/dist/{Terraform-BH7zqPJJ.js → Terraform-WCa3nCWv.js} +1 -1
  18. package/dist/{TypeScript-CE3lI2D8.js → TypeScript-CrDdzIj7.js} +1 -1
  19. package/dist/components/{notion/ElmNotion.stories.d.ts → badge/ElmBadge.stories.d.ts} +2 -2
  20. package/dist/components/badge/ElmBadge.vue.d.ts +20 -0
  21. package/dist/components/inline/ElmInlineText.vue.d.ts +1 -1
  22. package/dist/components/jsonschema/ElmChildContainer.stories.d.ts +6 -0
  23. package/dist/components/jsonschema/ElmChildContainer.vue.d.ts +20 -0
  24. package/dist/components/jsonschema/ElmFieldAttribute.stories.d.ts +6 -0
  25. package/dist/components/jsonschema/ElmFieldAttribute.vue.d.ts +7 -0
  26. package/dist/components/jsonschema/ElmFieldType.stories.d.ts +7 -0
  27. package/dist/components/jsonschema/ElmFieldType.vue.d.ts +8 -0
  28. package/dist/components/jsonschema/ElmJsonSchema.stories.d.ts +7 -0
  29. package/dist/components/jsonschema/ElmJsonSchema.vue.d.ts +7 -0
  30. package/dist/components/navigation/ElmBookmark.vue.d.ts +0 -5
  31. package/dist/components/others/ElmTemplate.stories.d.ts +6 -0
  32. package/dist/components/others/ElmTyping.vue.d.ts +4 -0
  33. package/dist/elmethis.js +59 -60
  34. package/dist/elmethis.umd.cjs +167 -171
  35. package/dist/hooks/useTyping.d.ts +17 -0
  36. package/dist/index-Dd3p52S2.js +18793 -0
  37. package/dist/index.d.ts +3 -4
  38. package/package.json +21 -19
  39. package/dist/components/notion/ElmNotion.vue.d.ts +0 -6
  40. package/dist/components/notion/ElmNotionRichText.vue.d.ts +0 -23
  41. package/dist/index-egN_WOnx.js +0 -21416
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { default as ElmBadge, ElmBadgeProps } from './components/badge/ElmBadge.vue';
1
2
  import { default as ElmTag, ElmTagProps } from './components/badge/ElmTag.vue';
2
3
  import { default as ElmCodeBlock, ElmCodeBlockProps } from './components/code/ElmCodeBlock.vue';
3
4
  import { default as ElmPrismHighlighter, ElmPrismHighlighterProps } from './components/code/ElmPrismHighlighter.vue';
@@ -42,8 +43,6 @@ import { default as ElmBookmark, ElmBookmarkProps } from './components/navigatio
42
43
  import { default as ElmBreadcrumb, ElmBreadcrumbProps } from './components/navigation/ElmBreadcrumb.vue';
43
44
  import { default as ElmPagetop, ElmPagetopProps } from './components/navigation/ElmPagetop.vue';
44
45
  import { default as ElmTableOfContents, ElmTableOfContentsProps } from './components/navigation/ElmTableOfContents.vue';
45
- import { default as ElmNotion, ElmNotionProps } from './components/notion/ElmNotion.vue';
46
- import { default as ElmNotionRichText, ElmNotionRichTextProps } from './components/notion/ElmNotionRichText.vue';
47
46
  import { default as ElmColorSample, ElmColorSampleProps } from './components/others/ElmColorSample.vue';
48
47
  import { default as ElmColorTable, ElmColorTableProps } from './components/others/ElmColorTable.vue';
49
48
  import { default as ElmJsonRenderer, ElmJsonRendererProps } from './components/renderer/ElmJsonRenderer.vue';
@@ -61,5 +60,5 @@ import { default as ElmNumberedList, ElmNumberedListProps } from './components/t
61
60
  import { default as ElmParagraph, ElmParagraphProps } from './components/typography/ElmParagraph.vue';
62
61
  import { default as ElmListItem, ElmListItemProps } from './components/typography/ElmListItem.vue';
63
62
  import { useElmethisTheme } from './hooks/useElmethisTheme';
64
- export { ElmTag, ElmCodeBlock, ElmPrismHighlighter, ElmKatex, ElmColumn, ElmColumnList, ElmDesktopWindow, ElmModal, ElmParallax, ElmSnackbar, ElmSnackbarContainer, ElmToggle, ElmTooltip, ElmProgress, ElmMultiProgress, ElmStatusMessage, ElmRectangleWave, ElmBlockFallback, ElmButton, ElmCheckbox, ElmHeading1, ElmHeading2, ElmHeading3, ElmHeading4, ElmHeading5, ElmHeading6, ElmFragmentIdentifier, ElmArrowIcon, ElmBookmarkIcon, ElmCubeIcon, ElmDotLoadingIcon, ElmLanguageIcon, ElmLoginIcon, ElmToggleTheme, ElmInlineCode, ElmInlineLink, ElmInlineRuby, ElmInlineText, ElmFile, ElmImage, ElmBookmark, ElmBreadcrumb, ElmPagetop, ElmTableOfContents, ElmNotion, ElmNotionRichText, ElmColorSample, ElmColorTable, ElmJsonRenderer, ElmJsonRendererAsync, ElmTable, ElmTableHeader, ElmTableBody, ElmTableRow, ElmTableCell, ElmBlockQuote, ElmBulletedList, ElmCallout, ElmDivider, ElmNumberedList, ElmParagraph, ElmListItem, useElmethisTheme };
65
- export type { ElmTagProps, ElmCodeBlockProps, ElmPrismHighlighterProps, ElmKatexProps, ElmColumnProps, ElmColumnListProps, ElmDesktopWindowProps, ElmModalProps, ElmParallaxProps, ElmSnackbarProps, ElmSnackbarContainerProps, ElmToggleProps, ElmTooltipProps, ElmProgressProps, ElmMultiProgressProps, ElmStatusMessageProps, ElmRectangleWaveProps, ElmBlockFallbackProps, ElmButtonProps, ElmCheckboxProps, ElmHeading1Props, ElmHeading2Props, ElmHeading3Props, ElmHeading4Props, ElmHeading5Props, ElmHeading6Props, ElmFragmentIdentifierProps, ElmArrowIconProps, ElmBookmarkIconProps, ElmCubeIconProps, ElmDotLoadingIconProps, ElmLanguageIconProps, ElmLoginIconProps, ElmToggleThemeProps, ElmInlineCodeProps, ElmInlineLinkProps, ElmInlineRubyProps, ElmInlineTextProps, ElmFileProps, ElmImageProps, ElmBookmarkProps, ElmBreadcrumbProps, ElmPagetopProps, ElmTableOfContentsProps, ElmNotionProps, ElmNotionRichTextProps, ElmJsonRendererProps, ElmColorSampleProps, ElmColorTableProps, ElmTableProps, ElmTableHeaderProps, ElmTableBodyProps, ElmTableRowProps, ElmTableCellProps, ElmBlockQuoteProps, ElmBulletedListProps, ElmCalloutProps, ElmDividerProps, ElmNumberedListProps, ElmParagraphProps, ElmListItemProps };
63
+ export { ElmBadge, ElmTag, ElmCodeBlock, ElmPrismHighlighter, ElmKatex, ElmColumn, ElmColumnList, ElmDesktopWindow, ElmModal, ElmParallax, ElmSnackbar, ElmSnackbarContainer, ElmToggle, ElmTooltip, ElmProgress, ElmMultiProgress, ElmStatusMessage, ElmRectangleWave, ElmBlockFallback, ElmButton, ElmCheckbox, ElmHeading1, ElmHeading2, ElmHeading3, ElmHeading4, ElmHeading5, ElmHeading6, ElmFragmentIdentifier, ElmArrowIcon, ElmBookmarkIcon, ElmCubeIcon, ElmDotLoadingIcon, ElmLanguageIcon, ElmLoginIcon, ElmToggleTheme, ElmInlineCode, ElmInlineLink, ElmInlineRuby, ElmInlineText, ElmFile, ElmImage, ElmBookmark, ElmBreadcrumb, ElmPagetop, ElmTableOfContents, ElmColorSample, ElmColorTable, ElmJsonRenderer, ElmJsonRendererAsync, ElmTable, ElmTableHeader, ElmTableBody, ElmTableRow, ElmTableCell, ElmBlockQuote, ElmBulletedList, ElmCallout, ElmDivider, ElmNumberedList, ElmParagraph, ElmListItem, useElmethisTheme };
64
+ export type { ElmBadgeProps, ElmTagProps, ElmCodeBlockProps, ElmPrismHighlighterProps, ElmKatexProps, ElmColumnProps, ElmColumnListProps, ElmDesktopWindowProps, ElmModalProps, ElmParallaxProps, ElmSnackbarProps, ElmSnackbarContainerProps, ElmToggleProps, ElmTooltipProps, ElmProgressProps, ElmMultiProgressProps, ElmStatusMessageProps, ElmRectangleWaveProps, ElmBlockFallbackProps, ElmButtonProps, ElmCheckboxProps, ElmHeading1Props, ElmHeading2Props, ElmHeading3Props, ElmHeading4Props, ElmHeading5Props, ElmHeading6Props, ElmFragmentIdentifierProps, ElmArrowIconProps, 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.84",
3
+ "version": "1.0.0-alpha.86",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -23,44 +23,46 @@
23
23
  },
24
24
  "devDependencies": {
25
25
  "@chromatic-com/storybook": "^3.2.2",
26
- "@heroicons/vue": "^2.1.5",
26
+ "@heroicons/vue": "^2.2.0",
27
27
  "@iconify/vue": "^4.1.2",
28
28
  "@notionhq/client": "^2.2.15",
29
- "@storybook/addon-essentials": "^8.4.2",
30
- "@storybook/addon-interactions": "^8.4.2",
31
- "@storybook/addon-links": "^8.4.2",
32
- "@storybook/addon-onboarding": "^8.4.2",
33
- "@storybook/blocks": "^8.4.2",
34
- "@storybook/test": "^8.4.2",
35
- "@storybook/vue3": "^8.4.2",
36
- "@storybook/vue3-vite": "^8.4.2",
29
+ "@storybook/addon-essentials": "^8.4.5",
30
+ "@storybook/addon-interactions": "^8.4.5",
31
+ "@storybook/addon-links": "^8.4.5",
32
+ "@storybook/addon-onboarding": "^8.4.5",
33
+ "@storybook/blocks": "^8.4.5",
34
+ "@storybook/test": "^8.4.5",
35
+ "@storybook/vue3": "^8.4.5",
36
+ "@storybook/vue3-vite": "^8.4.5",
37
37
  "@types/feather-icons": "^4.29.4",
38
+ "@types/json-schema": "^7.0.15",
38
39
  "@types/katex": "^0.16.7",
39
40
  "@types/lodash-es": "^4.17.12",
40
41
  "@types/prismjs": "^1.26.5",
41
- "@vitejs/plugin-vue": "^5.1.5",
42
- "@vitejs/plugin-vue-jsx": "^4.1.0",
43
- "@vueuse/core": "^11.2.0",
42
+ "@vitejs/plugin-vue": "^5.2.1",
43
+ "@vitejs/plugin-vue-jsx": "^4.1.1",
44
+ "@vueuse/core": "^12.0.0",
44
45
  "csstype": "^3.1.3",
45
46
  "feather-icons": "^4.29.2",
46
47
  "katex": "^0.16.11",
47
48
  "lodash-es": "^4.17.21",
48
49
  "ofetch": "^1.4.1",
50
+ "openapi-types": "^12.1.3",
49
51
  "polished": "^4.3.1",
50
52
  "postcss": "^8.4.49",
51
- "postcss-preset-env": "^10.1.0",
53
+ "postcss-preset-env": "^10.1.1",
52
54
  "prism-theme-vars": "^0.2.5",
53
55
  "prismjs": "^1.29.0",
54
- "sass": "^1.80.6",
55
- "storybook": "^8.4.2",
56
- "vite": "^5.4.11",
56
+ "sass": "^1.81.0",
57
+ "storybook": "^8.4.5",
58
+ "vite": "^6.0.1",
57
59
  "vite-plugin-css-injected-by-js": "^3.5.2",
58
60
  "vite-plugin-dts": "^4.3.0",
59
- "vue": "^3.5.12",
61
+ "vue": "^3.5.13",
60
62
  "vue-tsc": "^2.1.10"
61
63
  },
62
64
  "dependencies": {
63
- "nanoid": "^5.0.8"
65
+ "nanoid": "^5.0.9"
64
66
  },
65
67
  "scripts": {
66
68
  "build": "vue-tsc && vite build",
@@ -1,6 +0,0 @@
1
- export interface ElmNotionProps {
2
- id: string;
3
- endpoint: string;
4
- }
5
- declare const _default: import('vue').DefineComponent<ElmNotionProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmNotionProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
6
- export default _default;
@@ -1,23 +0,0 @@
1
- export interface ElmNotionRichTextProps {
2
- richText: Array<{
3
- type: 'text';
4
- text: {
5
- content: string;
6
- link: {
7
- url: string;
8
- } | null;
9
- };
10
- annotations: {
11
- bold: boolean;
12
- italic: boolean;
13
- strikethrough: boolean;
14
- underline: boolean;
15
- code: boolean;
16
- color: 'default' | 'gray' | 'brown' | 'orange' | 'yellow' | 'green' | 'blue' | 'purple' | 'pink' | 'red' | 'gray_background' | 'brown_background' | 'orange_background' | 'yellow_background' | 'green_background' | 'blue_background' | 'purple_background' | 'pink_background' | 'red_background';
17
- };
18
- plain_text: string;
19
- href: string | null;
20
- }> | any[];
21
- }
22
- declare const _default: import('vue').DefineComponent<ElmNotionRichTextProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmNotionRichTextProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
23
- export default _default;