@elmethis/core 1.0.0-alpha.40 → 1.0.0-alpha.41

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.
@@ -1,5 +1,5 @@
1
1
  import { openBlock as t, createElementBlock as e, createElementVNode as l, normalizeClass as o } from "vue";
2
- import { _ as n } from "./index-B7RwuAUa.js";
2
+ import { _ as n } from "./index-BSs37k1l.js";
3
3
  const a = "_path_1ccs2_1", r = {
4
4
  path: a
5
5
  }, p = {}, m = {
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createElementVNode as t } from "vue";
2
- import { _ as o } from "./index-B7RwuAUa.js";
2
+ import { _ as o } from "./index-BSs37k1l.js";
3
3
  const r = {}, n = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
5
5
  viewBox: "0 0 128 128"
@@ -1,5 +1,5 @@
1
1
  import { openBlock as l, createElementBlock as t, createElementVNode as e } from "vue";
2
- import { _ as o } from "./index-B7RwuAUa.js";
2
+ import { _ as o } from "./index-BSs37k1l.js";
3
3
  const s = {}, r = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
5
5
  viewBox: "0 0 128 128",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as t, createElementBlock as e, createElementVNode as a } from "vue";
2
- import { _ as o } from "./index-B7RwuAUa.js";
2
+ import { _ as o } from "./index-BSs37k1l.js";
3
3
  const l = {}, r = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
5
5
  viewBox: "0 0 128 128"
@@ -1,3 +1,4 @@
1
+ import { Property } from 'csstype';
1
2
  export interface ElmCodeBlockProps {
2
3
  /**
3
4
  * The code to display.
@@ -12,6 +13,10 @@ export interface ElmCodeBlockProps {
12
13
  * If not provided, the language will be used.
13
14
  */
14
15
  caption?: string;
16
+ /**
17
+ * The margin of the code block.
18
+ */
19
+ margin?: Property.MarginBlock;
15
20
  }
16
21
  declare const _default: import('vue').DefineComponent<ElmCodeBlockProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmCodeBlockProps> & Readonly<{}>, {
17
22
  language: string;
@@ -1,8 +1,13 @@
1
+ import { Property } from 'csstype';
1
2
  export interface ElmToggleProps {
2
3
  /**
3
4
  * The summary of the toggle.
4
5
  */
5
6
  summary: string;
7
+ /**
8
+ * The margin of the toggle.
9
+ */
10
+ margin?: Property.MarginBlock;
6
11
  }
7
12
  declare let __VLS_typeProps: ElmToggleProps;
8
13
  type __VLS_PublicProps = {
@@ -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;
@@ -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;
@@ -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,6 +30,7 @@ export interface ElmInlineTextProps {
30
30
  * Specifies whether the text should be strikethrough.
31
31
  */
32
32
  strikethrough?: boolean;
33
+ background?: Property.BackgroundColor;
33
34
  }
34
35
  declare const _default: import('vue').DefineComponent<ElmInlineTextProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmInlineTextProps> & Readonly<{}>, {
35
36
  bold: boolean;
@@ -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;
@@ -1,4 +1,9 @@
1
+ import { Property } from 'csstype';
1
2
  export interface ElmTableProps {
3
+ /**
4
+ * The margin of the table.
5
+ */
6
+ margin?: Property.MarginBlock;
2
7
  }
3
8
  declare function __VLS_template(): {
4
9
  slots: {
@@ -1,4 +1,9 @@
1
+ import { Property } from 'csstype';
1
2
  export interface ElmDividerProps {
3
+ /**
4
+ * The margin of the divider.
5
+ */
6
+ margin?: Property.MarginBlock;
2
7
  }
3
8
  declare const _default: import('vue').DefineComponent<ElmDividerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmDividerProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
4
9
  export default _default;