@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.
- package/dist/{Bash-DI9Gwu8l.js → Bash-_qylOkZi.js} +1 -1
- package/dist/{JavaScript-DJK_0wg3.js → JavaScript-X5j3rcy1.js} +1 -1
- package/dist/{Rust-DDK30uoJ.js → Rust-CfTiYuB7.js} +1 -1
- package/dist/{TypeScript-D_pgDEzS.js → TypeScript-MQdwVdJC.js} +1 -1
- package/dist/components/code/ElmCodeBlock.vue.d.ts +5 -0
- package/dist/components/containments/ElmToggle.vue.d.ts +5 -0
- package/dist/components/data/ElmMultiProgress.stories.d.ts +6 -0
- package/dist/components/data/ElmMultiProgress.vue.d.ts +30 -0
- package/dist/components/data/ElmProgress.stories.d.ts +1 -0
- package/dist/components/data/ElmProgress.vue.d.ts +5 -0
- package/dist/components/inline/ElmInlineText.stories.d.ts +1 -0
- package/dist/components/inline/ElmInlineText.vue.d.ts +2 -1
- package/dist/components/media/ElmImage.vue.d.ts +5 -0
- package/dist/components/table/ElmTable.vue.d.ts +5 -0
- package/dist/components/typography/ElmDivider.vue.d.ts +5 -0
- package/dist/elmethis.js +31 -30
- package/dist/elmethis.umd.cjs +12 -12
- package/dist/{index-B7RwuAUa.js → index-BSs37k1l.js} +1389 -1322
- package/dist/index.d.ts +3 -2
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { openBlock as l, createElementBlock as t, createElementVNode as e } from "vue";
|
|
2
|
-
import { _ as o } from "./index-
|
|
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,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;
|
|
@@ -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;
|
|
@@ -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.
|
|
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 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;
|