@elmethis/core 1.0.0-alpha.81 → 1.0.0-alpha.83
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-Brl-dajz.js → Bash-LU4z4GOB.js} +1 -1
- package/dist/{C-w-tOy87h.js → C-DVXnL5HO.js} +1 -1
- package/dist/{Cpp-CLfcvnJ8.js → Cpp-BeJyJjTM.js} +1 -1
- package/dist/{Csharp-DciX-H_C.js → Csharp-CoikgEKu.js} +1 -1
- package/dist/{Css-DCFw-uif.js → Css-4DxWs9Pp.js} +1 -1
- package/dist/{Go-BdwrDV7f.js → Go-DZshV68J.js} +1 -1
- package/dist/{Html-BRsuZ2EZ.js → Html-ChKFB2cg.js} +1 -1
- package/dist/{Java-ChnYaff-.js → Java-w_buzQsP.js} +1 -1
- package/dist/{JavaScript-2IeBUt5I.js → JavaScript-CKZRMlWu.js} +1 -1
- package/dist/{Json-eYVqXFFJ.js → Json-CpSOFmsk.js} +1 -1
- package/dist/{Kotlin-524SMTJw.js → Kotlin-CJVNRYeG.js} +1 -1
- package/dist/{Lua-Mf_ra9E9.js → Lua-DIFNdahM.js} +1 -1
- package/dist/{Npm-BGK4z0XB.js → Npm-BjKSIY0y.js} +1 -1
- package/dist/{Python-Dv6jMEy3.js → Python-By7bqO0O.js} +1 -1
- package/dist/{Rust-sIiLvqfw.js → Rust-DgI-F22C.js} +1 -1
- package/dist/{Sql-B86-AFwe.js → Sql-B_fgRGny.js} +1 -1
- package/dist/{Terraform-B0DyzpCh.js → Terraform-BH7zqPJJ.js} +1 -1
- package/dist/{TypeScript-DiVU2cal.js → TypeScript-CE3lI2D8.js} +1 -1
- package/dist/components/containments/ElmSnackbar.stories.d.ts +6 -0
- package/dist/components/containments/ElmSnackbar.vue.d.ts +11 -0
- package/dist/components/containments/ElmSnackbarContainer.vue.d.ts +10 -0
- package/dist/components/containments/useSnackbarState.d.ts +28 -0
- package/dist/components/data/ElmStatusMessage.stories.d.ts +9 -0
- package/dist/components/data/ElmStatusMessage.vue.d.ts +6 -0
- package/dist/components/icon/ElmArrowIcon.vue.d.ts +1 -1
- package/dist/elmethis.js +35 -32
- package/dist/elmethis.umd.cjs +20 -20
- package/dist/{index-D0RoiXTk.js → index-egN_WOnx.js} +2184 -2034
- package/dist/index.d.ts +5 -2
- package/package.json +4 -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-egN_WOnx.js";
|
|
3
3
|
const s = {}, r = {
|
|
4
4
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5
5
|
viewBox: "0 0 128 128",
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/vue3';
|
|
2
|
+
import { default as ElmSnackbarContainer } from './ElmSnackbarContainer.vue';
|
|
3
|
+
declare const meta: Meta<typeof ElmSnackbarContainer>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const SnackbarOnly: Story;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { VNode } from 'vue';
|
|
2
|
+
export interface ElmSnackbarProps {
|
|
3
|
+
label?: string;
|
|
4
|
+
children?: VNode;
|
|
5
|
+
timeout?: number;
|
|
6
|
+
close: () => void;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: import('vue').DefineComponent<ElmSnackbarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmSnackbarProps> & Readonly<{}>, {
|
|
9
|
+
timeout: number;
|
|
10
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface ElmSnackbarContainerProps {
|
|
2
|
+
snackbars: {
|
|
3
|
+
id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
timeout?: number;
|
|
6
|
+
close: () => void;
|
|
7
|
+
}[];
|
|
8
|
+
}
|
|
9
|
+
declare const _default: import('vue').DefineComponent<ElmSnackbarContainerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmSnackbarContainerProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { VNode } from 'vue';
|
|
2
|
+
export declare function useSnackbarState(): {
|
|
3
|
+
snackbars: import('vue').Ref<{
|
|
4
|
+
id: string;
|
|
5
|
+
label?: string | undefined;
|
|
6
|
+
timeout: number;
|
|
7
|
+
children?: VNode | undefined;
|
|
8
|
+
close: () => void;
|
|
9
|
+
}[], {
|
|
10
|
+
id: string;
|
|
11
|
+
label?: string;
|
|
12
|
+
timeout: number;
|
|
13
|
+
children?: VNode;
|
|
14
|
+
close: () => void;
|
|
15
|
+
}[] | {
|
|
16
|
+
id: string;
|
|
17
|
+
label?: string | undefined;
|
|
18
|
+
timeout: number;
|
|
19
|
+
children?: VNode | undefined;
|
|
20
|
+
close: () => void;
|
|
21
|
+
}[]>;
|
|
22
|
+
push: ({ label, timeout, children }: {
|
|
23
|
+
label?: string;
|
|
24
|
+
timeout?: number;
|
|
25
|
+
children?: VNode;
|
|
26
|
+
}) => string;
|
|
27
|
+
remove: (id: string) => void;
|
|
28
|
+
};
|
|
@@ -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;
|
|
@@ -20,7 +20,7 @@ export interface ElmArrowIconProps {
|
|
|
20
20
|
declare const _default: import('vue').DefineComponent<ElmArrowIconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmArrowIconProps> & Readonly<{}>, {
|
|
21
21
|
size: Property.Height;
|
|
22
22
|
loading: boolean;
|
|
23
|
-
direction: "up" | "down" | "left" | "right";
|
|
24
23
|
pending: boolean;
|
|
24
|
+
direction: "up" | "down" | "left" | "right";
|
|
25
25
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
26
26
|
export default _default;
|