@elmethis/core 1.0.0-alpha.9 → 1.0.0-alpha.91

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 (106) hide show
  1. package/dist/{Bash-7Ao8EoX1.js → Bash-DG3XQoWs.js} +19 -15
  2. package/dist/C-tAStRjZb.js +26 -0
  3. package/dist/Cpp-DPdJINHM.js +15 -0
  4. package/dist/Csharp-CjZen55W.js +26 -0
  5. package/dist/Css-C603W2PG.js +18 -0
  6. package/dist/Go-DeFgvWH7.js +18 -0
  7. package/dist/Html-BQfUQU4Y.js +18 -0
  8. package/dist/Java--wa__weJ.js +15 -0
  9. package/dist/{JavaScript-CSIyUm0J.js → JavaScript-B67eaiiT.js} +1 -1
  10. package/dist/Json-C8MlyttQ.js +18 -0
  11. package/dist/Kotlin-CHrhIPMJ.js +15 -0
  12. package/dist/Lua-CTqiVd30.js +26 -0
  13. package/dist/Npm-BPtfytak.js +22 -0
  14. package/dist/Python-gRBp4dqX.js +15 -0
  15. package/dist/{Rust-CzYpgz5B.js → Rust-DSRG4IQ2.js} +1 -1
  16. package/dist/Sql-DQ_nxQ6C.js +25 -0
  17. package/dist/Terraform-Bcxb5m_C.js +28 -0
  18. package/dist/{TypeScript-CrWcScZq.js → TypeScript-BqTy2fa0.js} +1 -1
  19. package/dist/components/{inline/ElmInlineCode.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/badge/ElmTag.stories.d.ts +7 -0
  22. package/dist/components/badge/ElmTag.vue.d.ts +14 -0
  23. package/dist/components/code/ElmCodeBlock.vue.d.ts +5 -0
  24. package/dist/components/containments/ElmDesktopWindow.stories.d.ts +6 -0
  25. package/dist/components/containments/ElmDesktopWindow.vue.d.ts +26 -0
  26. package/dist/components/containments/ElmModal.stories.d.ts +6 -0
  27. package/dist/components/containments/ElmModal.vue.d.ts +34 -0
  28. package/dist/components/containments/ElmSnackbar.stories.d.ts +6 -0
  29. package/dist/components/containments/ElmSnackbar.vue.d.ts +11 -0
  30. package/dist/components/containments/ElmSnackbarContainer.vue.d.ts +10 -0
  31. package/dist/components/containments/ElmToggle.stories.d.ts +1 -0
  32. package/dist/components/containments/ElmToggle.vue.d.ts +6 -0
  33. package/dist/components/containments/useSnackbarState.d.ts +28 -0
  34. package/dist/components/data/ElmMultiProgress.stories.d.ts +6 -0
  35. package/dist/components/data/ElmMultiProgress.vue.d.ts +30 -0
  36. package/dist/components/data/ElmProgress.stories.d.ts +1 -0
  37. package/dist/components/data/ElmProgress.vue.d.ts +6 -1
  38. package/dist/components/data/ElmStatusMessage.stories.d.ts +9 -0
  39. package/dist/components/data/ElmStatusMessage.vue.d.ts +6 -0
  40. package/dist/components/fallback/ElmBlockFallback.stories.d.ts +6 -0
  41. package/dist/components/fallback/ElmBlockFallback.vue.d.ts +4 -0
  42. package/dist/components/form/ElmButton.stories.d.ts +12 -0
  43. package/dist/components/form/ElmButton.vue.d.ts +39 -0
  44. package/dist/components/form/ElmTextField.stories.d.ts +6 -0
  45. package/dist/components/form/ElmTextField.vue.d.ts +26 -0
  46. package/dist/components/headings/ElmFragmentIdentifier.stories.d.ts +6 -0
  47. package/dist/components/headings/ElmFragmentIdentifier.vue.d.ts +8 -0
  48. package/dist/components/icon/ElmArrowIcon.stories.d.ts +6 -0
  49. package/dist/components/icon/ElmArrowIcon.vue.d.ts +26 -0
  50. package/dist/components/icon/ElmBookmarkIcon.stories.d.ts +8 -0
  51. package/dist/components/icon/ElmBookmarkIcon.vue.d.ts +7 -0
  52. package/dist/components/icon/ElmDotLoadingIcon.vue.d.ts +1 -1
  53. package/dist/components/icon/ElmLoginIcon.stories.d.ts +6 -0
  54. package/dist/components/icon/ElmLoginIcon.vue.d.ts +18 -0
  55. package/dist/components/icon/languages/C.vue.d.ts +2 -0
  56. package/dist/components/icon/languages/Cpp.vue.d.ts +2 -0
  57. package/dist/components/icon/languages/Csharp.vue.d.ts +2 -0
  58. package/dist/components/icon/languages/Css.vue.d.ts +2 -0
  59. package/dist/components/icon/languages/Go.vue.d.ts +2 -0
  60. package/dist/components/icon/languages/Html.vue.d.ts +2 -0
  61. package/dist/components/icon/languages/Java.vue.d.ts +2 -0
  62. package/dist/components/icon/languages/Json.vue.d.ts +2 -0
  63. package/dist/components/icon/languages/Kotlin.vue.d.ts +2 -0
  64. package/dist/components/icon/languages/Lua.vue.d.ts +2 -0
  65. package/dist/components/icon/languages/Npm.vue.d.ts +2 -0
  66. package/dist/components/icon/languages/Python.vue.d.ts +2 -0
  67. package/dist/components/icon/languages/Sql.vue.d.ts +2 -0
  68. package/dist/components/icon/languages/Terraform.vue.d.ts +2 -0
  69. package/dist/components/inline/ElmInlineText.stories.d.ts +1 -0
  70. package/dist/components/inline/ElmInlineText.vue.d.ts +10 -1
  71. package/dist/components/inline/ElmTypingAnimation.stories.d.ts +6 -0
  72. package/dist/components/inline/ElmTypingAnimation.vue.d.ts +21 -0
  73. package/dist/components/jsonschema/ElmChildContainer.stories.d.ts +6 -0
  74. package/dist/components/jsonschema/ElmChildContainer.vue.d.ts +20 -0
  75. package/dist/components/jsonschema/ElmFieldAttribute.stories.d.ts +6 -0
  76. package/dist/components/jsonschema/ElmFieldAttribute.vue.d.ts +7 -0
  77. package/dist/components/jsonschema/ElmFieldType.stories.d.ts +7 -0
  78. package/dist/components/jsonschema/ElmFieldType.vue.d.ts +8 -0
  79. package/dist/components/jsonschema/ElmJsonSchema.stories.d.ts +7 -0
  80. package/dist/components/jsonschema/ElmJsonSchema.vue.d.ts +7 -0
  81. package/dist/components/media/ElmFile.vue.d.ts +5 -0
  82. package/dist/components/media/ElmImage.stories.d.ts +1 -0
  83. package/dist/components/media/ElmImage.vue.d.ts +5 -0
  84. package/dist/components/navigation/ElmBookmark.stories.d.ts +1 -0
  85. package/dist/components/navigation/ElmBookmark.vue.d.ts +6 -6
  86. package/dist/components/others/ElmColorSample.stories.d.ts +6 -0
  87. package/dist/components/others/ElmColorSample.vue.d.ts +8 -0
  88. package/dist/components/others/ElmColorTable.stories.d.ts +6 -0
  89. package/dist/components/others/ElmColorTable.vue.d.ts +11 -0
  90. package/dist/components/others/ElmTemplate.stories.d.ts +6 -0
  91. package/dist/components/others/ElmTyping.vue.d.ts +4 -0
  92. package/dist/components/renderer/ElmJsonRenderer.vue.d.ts +3 -8
  93. package/dist/components/renderer/ElmJsonRendererAsync.vue.d.ts +3 -0
  94. package/dist/components/table/ElmTable.vue.d.ts +5 -0
  95. package/dist/components/typography/ElmDivider.vue.d.ts +5 -0
  96. package/dist/elmethis.js +63 -45
  97. package/dist/elmethis.umd.cjs +166 -166
  98. package/dist/hooks/useElmethisTheme.d.ts +4 -0
  99. package/dist/hooks/useTyping.d.ts +17 -0
  100. package/dist/{index-dKFEjnoD.js → index-D6rbfwq-.js} +18531 -15910
  101. package/dist/index.d.ts +22 -7
  102. package/package.json +30 -20
  103. package/dist/bg1.webp +0 -0
  104. package/dist/bg2.webp +0 -0
  105. package/dist/components/inline/ElmInlineCode.vue.d.ts +0 -15
  106. package/dist/vite.svg +0 -1
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/vue3';
2
+ import { default as ElmMultiProgress } from './ElmMultiProgress.vue';
3
+ declare const meta: Meta<typeof ElmMultiProgress>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
@@ -0,0 +1,30 @@
1
+ import { Property } from 'csstype';
2
+ export interface ElmMultiProgressProps {
3
+ progress: Array<{
4
+ /**
5
+ * The current value of the progress.
6
+ */
7
+ value: number;
8
+ /**
9
+ * The buffer value of the progress.
10
+ */
11
+ buffer?: number;
12
+ /**
13
+ * The color of the progress.
14
+ */
15
+ color: string;
16
+ }>;
17
+ /**
18
+ * The weight of the progress.
19
+ */
20
+ weight?: Property.Height<string | number>;
21
+ /**
22
+ * Whether the progress should be round.
23
+ */
24
+ round?: boolean;
25
+ }
26
+ declare const _default: import('vue').DefineComponent<ElmMultiProgressProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmMultiProgressProps> & Readonly<{}>, {
27
+ weight: Property.Height<string | number>;
28
+ round: boolean;
29
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
30
+ export default _default;
@@ -7,3 +7,4 @@ export declare const Primary: Story;
7
7
  export declare const WithBuffer: Story;
8
8
  export declare const Bold: Story;
9
9
  export declare const WithColor: Story;
10
+ export declare const Loading: Story;
@@ -15,7 +15,7 @@ export interface ElmProgressProps {
15
15
  /**
16
16
  * The weight of the progress.
17
17
  */
18
- weight: Property.Height<string | number>;
18
+ weight?: Property.Height<string | number>;
19
19
  /**
20
20
  * Whether the progress should be round.
21
21
  */
@@ -24,10 +24,15 @@ export interface ElmProgressProps {
24
24
  * The color of the progress.
25
25
  */
26
26
  color?: string;
27
+ /**
28
+ * Whether the progress is loading.
29
+ */
30
+ loading?: boolean;
27
31
  }
28
32
  declare const _default: import('vue').DefineComponent<ElmProgressProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmProgressProps> & Readonly<{}>, {
29
33
  max: number;
30
34
  weight: Property.Height<string | number>;
31
35
  round: boolean;
36
+ loading: boolean;
32
37
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
33
38
  export default _default;
@@ -0,0 +1,9 @@
1
+ import { Meta, StoryObj } from '@storybook/vue3';
2
+ import { default as ElmStatusMessage } from './ElmStatusMessage.vue';
3
+ declare const meta: Meta<typeof ElmStatusMessage>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
7
+ export declare const Success: Story;
8
+ export declare const Error: Story;
9
+ export declare const Warning: Story;
@@ -0,0 +1,6 @@
1
+ export interface ElmStatusMessageProps {
2
+ status: 'success' | 'error' | 'warning' | 'pending';
3
+ message: string;
4
+ }
5
+ declare const _default: import('vue').DefineComponent<ElmStatusMessageProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmStatusMessageProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
6
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/vue3';
2
+ import { default as ElmBlockFallback } from './ElmBlockFallback.vue';
3
+ declare const meta: Meta<typeof ElmBlockFallback>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
@@ -0,0 +1,4 @@
1
+ export interface ElmBlockFallbackProps {
2
+ }
3
+ declare const _default: import('vue').DefineComponent<ElmBlockFallbackProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmBlockFallbackProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
4
+ export default _default;
@@ -0,0 +1,12 @@
1
+ import { Meta, StoryObj } from '@storybook/vue3';
2
+ import { default as ElmButton } from './ElmButton.vue';
3
+ declare const meta: Meta<typeof ElmButton>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
7
+ export declare const Block: Story;
8
+ export declare const Loading: Story;
9
+ export declare const Icon: Story;
10
+ export declare const Flex: Story;
11
+ export declare const Disabled: Story;
12
+ export declare const WithPrimary: Story;
@@ -0,0 +1,39 @@
1
+ export interface ElmButtonProps {
2
+ /**
3
+ * Whether the button is in loading state.
4
+ */
5
+ loading?: boolean;
6
+ /**
7
+ * Whether the button is block.
8
+ */
9
+ block?: boolean;
10
+ /**
11
+ * Whether the button is disabled.
12
+ */
13
+ disabled?: boolean;
14
+ /**
15
+ * Whether the button is primary.
16
+ */
17
+ primary?: boolean;
18
+ }
19
+ declare function __VLS_template(): {
20
+ slots: {
21
+ default?(_: {}): any;
22
+ };
23
+ refs: {};
24
+ attrs: Partial<{}>;
25
+ };
26
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
27
+ declare const __VLS_component: import('vue').DefineComponent<ElmButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmButtonProps> & Readonly<{}>, {
28
+ block: boolean;
29
+ loading: boolean;
30
+ disabled: boolean;
31
+ primary: boolean;
32
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
33
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
34
+ export default _default;
35
+ type __VLS_WithTemplateSlots<T, S> = T & {
36
+ new (): {
37
+ $slots: S;
38
+ };
39
+ };
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/vue3';
2
+ import { default as ElmTextField } from './ElmTextField.vue';
3
+ declare const meta: Meta<typeof ElmTextField>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
@@ -0,0 +1,26 @@
1
+ import { VNode, FunctionalComponent } from 'vue';
2
+ export interface ElmTextFieldProps {
3
+ label: string;
4
+ maxLength?: number;
5
+ suffix?: string;
6
+ placeholder?: string;
7
+ disabled?: boolean;
8
+ loading?: boolean;
9
+ icon?: VNode | FunctionalComponent;
10
+ }
11
+ declare let __VLS_typeProps: ElmTextFieldProps;
12
+ declare const __VLS_defaults: {
13
+ modelValue: string;
14
+ };
15
+ type __VLS_PublicProps = {
16
+ modelValue?: typeof __VLS_defaults['modelValue'];
17
+ } & typeof __VLS_typeProps;
18
+ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
19
+ "update:modelValue": (modelValue: string) => any;
20
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
21
+ "onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
22
+ }>, {
23
+ loading: boolean;
24
+ disabled: boolean;
25
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
26
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/vue3';
2
+ import { default as ElmFragmentIdentifier } from './ElmFragmentIdentifier.vue';
3
+ declare const meta: Meta<typeof ElmFragmentIdentifier>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
@@ -0,0 +1,8 @@
1
+ export interface ElmFragmentIdentifierProps {
2
+ /**
3
+ * ID of the heading element.
4
+ */
5
+ id: string;
6
+ }
7
+ declare const _default: import('vue').DefineComponent<ElmFragmentIdentifierProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmFragmentIdentifierProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
8
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/vue3';
2
+ import { default as ElmArrowIcon } from './ElmArrowIcon.vue';
3
+ declare const meta: Meta<typeof ElmArrowIcon>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
@@ -0,0 +1,26 @@
1
+ import { Property } from 'csstype';
2
+ export interface ElmArrowIconProps {
3
+ /**
4
+ * Specifies the direction of the arrow.
5
+ */
6
+ direction?: 'up' | 'down' | 'left' | 'right';
7
+ /**
8
+ * Specifies whether the arrow is in loading state.
9
+ */
10
+ loading?: boolean;
11
+ /**
12
+ * Specifies whether the arrow is in pending state.
13
+ */
14
+ pending?: boolean;
15
+ /**
16
+ * Specifies the size of the arrow.
17
+ */
18
+ size?: Property.Height;
19
+ }
20
+ declare const _default: import('vue').DefineComponent<ElmArrowIconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmArrowIconProps> & Readonly<{}>, {
21
+ size: Property.Height;
22
+ loading: boolean;
23
+ pending: boolean;
24
+ direction: "up" | "down" | "left" | "right";
25
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
26
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import { Meta, StoryObj } from '@storybook/vue3';
2
+ import { default as ElmBookmarkIcon } from './ElmBookmarkIcon.vue';
3
+ declare const meta: Meta<typeof ElmBookmarkIcon>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
7
+ export declare const Long: Story;
8
+ export declare const NoFavicon: Story;
@@ -0,0 +1,7 @@
1
+ export interface ElmBookmarkIconProps {
2
+ name?: string;
3
+ href: string;
4
+ favicon?: string;
5
+ }
6
+ declare const _default: import('vue').DefineComponent<ElmBookmarkIconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmBookmarkIconProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
7
+ export default _default;
@@ -12,7 +12,7 @@ export interface ElmDotLoadingIconProps {
12
12
  size?: Property.Width<string | number>;
13
13
  }
14
14
  declare const _default: import('vue').DefineComponent<ElmDotLoadingIconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmDotLoadingIconProps> & Readonly<{}>, {
15
- size: Property.Width<string | number>;
16
15
  color: Property.BackgroundColor;
16
+ size: Property.Width<string | number>;
17
17
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
18
18
  export default _default;
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/vue3';
2
+ import { default as ElmLoginIcon } from './ElmLoginIcon.vue';
3
+ declare const meta: Meta<typeof ElmLoginIcon>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
@@ -0,0 +1,18 @@
1
+ export interface ElmLoginIconProps {
2
+ /**
3
+ * Specifies the width of the icon.
4
+ */
5
+ size?: string;
6
+ /**
7
+ * Specifies whether the icon is for login or logout.
8
+ */
9
+ isLogin?: boolean;
10
+ /**
11
+ * Specifies whether the icon is loading.
12
+ */
13
+ isLoading?: boolean;
14
+ }
15
+ declare const _default: import('vue').DefineComponent<ElmLoginIconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmLoginIconProps> & Readonly<{}>, {
16
+ size: string;
17
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
18
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -5,3 +5,4 @@ export default meta;
5
5
  type Story = StoryObj<typeof meta>;
6
6
  export declare const Primary: Story;
7
7
  export declare const Colored: Story;
8
+ export declare const Background: Story;
@@ -9,7 +9,7 @@ export interface ElmInlineTextProps {
9
9
  *
10
10
  * e.g.) `'red'`, `'#ff0000'`, `'rgba(255, 0, 0, 0.5)'`
11
11
  */
12
- color?: Property.BackgroundColor;
12
+ color?: Property.Color;
13
13
  /**
14
14
  * Specifies the font size of the text.
15
15
  */
@@ -30,8 +30,17 @@ export interface ElmInlineTextProps {
30
30
  * Specifies whether the text should be strikethrough.
31
31
  */
32
32
  strikethrough?: boolean;
33
+ /**
34
+ * Specifies whether the text should be displayed as code.
35
+ */
36
+ code?: boolean;
37
+ /**
38
+ * Specifies the background color of the text.
39
+ */
40
+ backgroundColor?: Property.BackgroundColor;
33
41
  }
34
42
  declare const _default: import('vue').DefineComponent<ElmInlineTextProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmInlineTextProps> & Readonly<{}>, {
43
+ code: boolean;
35
44
  bold: boolean;
36
45
  italic: boolean;
37
46
  underline: boolean;
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/vue3';
2
+ import { default as ElmTypingAnimation } from './ElmTypingAnimation.vue';
3
+ declare const meta: Meta<typeof ElmTypingAnimation>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
@@ -0,0 +1,21 @@
1
+ import { Property } from 'csstype';
2
+ export interface ElmTypingAnimationProps {
3
+ /**
4
+ * The texts to display.
5
+ */
6
+ texts: string[];
7
+ /**
8
+ * The interval between each text.
9
+ */
10
+ interval?: number;
11
+ /**
12
+ * The font size of the text.
13
+ */
14
+ fontSize: Property.FontSize<string | number>;
15
+ }
16
+ declare const _default: import('vue').DefineComponent<ElmTypingAnimationProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmTypingAnimationProps> & Readonly<{}>, {
17
+ texts: string[];
18
+ interval: number;
19
+ fontSize: Property.FontSize<string | number>;
20
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
21
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/vue3';
2
+ import { default as ElmChildContainer } from './ElmChildContainer.vue';
3
+ declare const meta: Meta<typeof ElmChildContainer>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
@@ -0,0 +1,20 @@
1
+ export interface ElmChildContainerProps {
2
+ icon: string;
3
+ text: string;
4
+ }
5
+ declare function __VLS_template(): {
6
+ slots: {
7
+ default?(_: {}): any;
8
+ };
9
+ refs: {};
10
+ attrs: Partial<{}>;
11
+ };
12
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
+ declare const __VLS_component: import('vue').DefineComponent<ElmChildContainerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmChildContainerProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
15
+ export default _default;
16
+ type __VLS_WithTemplateSlots<T, S> = T & {
17
+ new (): {
18
+ $slots: S;
19
+ };
20
+ };
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/vue3';
2
+ import { default as ElmFieldAttribute } from './ElmFieldAttribute.vue';
3
+ declare const meta: Meta<typeof ElmFieldAttribute>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
@@ -0,0 +1,7 @@
1
+ export interface ElmFieldAttributeProps {
2
+ icon: string;
3
+ name: string;
4
+ content: string;
5
+ }
6
+ declare const _default: import('vue').DefineComponent<ElmFieldAttributeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmFieldAttributeProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
7
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import { Meta, StoryObj } from '@storybook/vue3';
2
+ import { default as ElmFieldType } from './ElmFieldType.vue';
3
+ declare const meta: Meta<typeof ElmFieldType>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
7
+ export declare const Maybe: Story;
@@ -0,0 +1,8 @@
1
+ import { JSONSchema7TypeName } from 'json-schema';
2
+ export interface ElmFieldTypeProps {
3
+ type: JSONSchema7TypeName;
4
+ name?: string;
5
+ nullable?: boolean;
6
+ }
7
+ declare const _default: import('vue').DefineComponent<ElmFieldTypeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmFieldTypeProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
8
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import { Meta, StoryObj } from '@storybook/vue3';
2
+ import { default as ElmJsonSchema } from './ElmJsonSchema.vue';
3
+ declare const meta: Meta<typeof ElmJsonSchema>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
7
+ export declare const Union: Story;
@@ -0,0 +1,7 @@
1
+ import { JSONSchema7Definition } from 'json-schema';
2
+ export interface ElmJsonSchemaProps {
3
+ name?: string;
4
+ schema: JSONSchema7Definition;
5
+ }
6
+ declare const _default: import('vue').DefineComponent<ElmJsonSchemaProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmJsonSchemaProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
7
+ export default _default;
@@ -1,3 +1,4 @@
1
+ import { Property } from 'csstype';
1
2
  export interface ElmFileProps {
2
3
  /**
3
4
  * The name of the file.
@@ -11,6 +12,10 @@ export interface ElmFileProps {
11
12
  * The size of the file in bytes.
12
13
  */
13
14
  filesize?: string;
15
+ /**
16
+ * The margin of the file.
17
+ */
18
+ margin?: Property.MarginBlock;
14
19
  }
15
20
  declare const _default: import('vue').DefineComponent<ElmFileProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmFileProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
16
21
  export default _default;
@@ -5,3 +5,4 @@ export default meta;
5
5
  type Story = StoryObj<typeof meta>;
6
6
  export declare const Primary: Story;
7
7
  export declare const Modal: Story;
8
+ export declare const Invalid: Story;
@@ -1,3 +1,4 @@
1
+ import { Property } from 'csstype';
1
2
  export interface ElmImageProps {
2
3
  /**
3
4
  * Image source URL
@@ -11,6 +12,10 @@ export interface ElmImageProps {
11
12
  * Enable modal on image click. Default: `false`
12
13
  */
13
14
  enableModal?: boolean;
15
+ /**
16
+ * The margin of the image.
17
+ */
18
+ margin?: Property.MarginBlock;
14
19
  }
15
20
  declare const _default: import('vue').DefineComponent<ElmImageProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmImageProps> & Readonly<{}>, {
16
21
  enableModal: boolean;
@@ -8,3 +8,4 @@ export declare const WithoutDate: Story;
8
8
  export declare const Card: Story;
9
9
  export declare const Square: Story;
10
10
  export declare const SquareCard: Story;
11
+ export declare const InvalidImage: Story;
@@ -1,8 +1,5 @@
1
+ import { Property } from 'csstype';
1
2
  export interface ElmBookmarkProps {
2
- /**
3
- * Whether to display the bookmark horizontally.
4
- */
5
- isHorizontal?: boolean;
6
3
  /**
7
4
  * Whether to hide the URL.
8
5
  */
@@ -28,7 +25,7 @@ export interface ElmBookmarkProps {
28
25
  /**
29
26
  * The URL to navigate to.
30
27
  */
31
- url: string;
28
+ url?: string;
32
29
  /**
33
30
  * The date the bookmark was created.
34
31
  */
@@ -39,10 +36,13 @@ export interface ElmBookmarkProps {
39
36
  * If provided, the default behavior (navigating to the URL) is prevented.
40
37
  */
41
38
  onClick?: () => void;
39
+ /**
40
+ * The margin of the bookmark.
41
+ */
42
+ margin?: Property.MarginBlock;
42
43
  }
43
44
  declare const _default: import('vue').DefineComponent<ElmBookmarkProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmBookmarkProps> & Readonly<{}>, {
44
45
  openInNewTab: boolean;
45
- isHorizontal: boolean;
46
46
  hideUrl: boolean;
47
47
  description: string;
48
48
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/vue3';
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;
@@ -0,0 +1,8 @@
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, {}, any>;
8
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/vue3';
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;