@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.
Files changed (30) hide show
  1. package/dist/{Bash-Brl-dajz.js → Bash-LU4z4GOB.js} +1 -1
  2. package/dist/{C-w-tOy87h.js → C-DVXnL5HO.js} +1 -1
  3. package/dist/{Cpp-CLfcvnJ8.js → Cpp-BeJyJjTM.js} +1 -1
  4. package/dist/{Csharp-DciX-H_C.js → Csharp-CoikgEKu.js} +1 -1
  5. package/dist/{Css-DCFw-uif.js → Css-4DxWs9Pp.js} +1 -1
  6. package/dist/{Go-BdwrDV7f.js → Go-DZshV68J.js} +1 -1
  7. package/dist/{Html-BRsuZ2EZ.js → Html-ChKFB2cg.js} +1 -1
  8. package/dist/{Java-ChnYaff-.js → Java-w_buzQsP.js} +1 -1
  9. package/dist/{JavaScript-2IeBUt5I.js → JavaScript-CKZRMlWu.js} +1 -1
  10. package/dist/{Json-eYVqXFFJ.js → Json-CpSOFmsk.js} +1 -1
  11. package/dist/{Kotlin-524SMTJw.js → Kotlin-CJVNRYeG.js} +1 -1
  12. package/dist/{Lua-Mf_ra9E9.js → Lua-DIFNdahM.js} +1 -1
  13. package/dist/{Npm-BGK4z0XB.js → Npm-BjKSIY0y.js} +1 -1
  14. package/dist/{Python-Dv6jMEy3.js → Python-By7bqO0O.js} +1 -1
  15. package/dist/{Rust-sIiLvqfw.js → Rust-DgI-F22C.js} +1 -1
  16. package/dist/{Sql-B86-AFwe.js → Sql-B_fgRGny.js} +1 -1
  17. package/dist/{Terraform-B0DyzpCh.js → Terraform-BH7zqPJJ.js} +1 -1
  18. package/dist/{TypeScript-DiVU2cal.js → TypeScript-CE3lI2D8.js} +1 -1
  19. package/dist/components/containments/ElmSnackbar.stories.d.ts +6 -0
  20. package/dist/components/containments/ElmSnackbar.vue.d.ts +11 -0
  21. package/dist/components/containments/ElmSnackbarContainer.vue.d.ts +10 -0
  22. package/dist/components/containments/useSnackbarState.d.ts +28 -0
  23. package/dist/components/data/ElmStatusMessage.stories.d.ts +9 -0
  24. package/dist/components/data/ElmStatusMessage.vue.d.ts +6 -0
  25. package/dist/components/icon/ElmArrowIcon.vue.d.ts +1 -1
  26. package/dist/elmethis.js +35 -32
  27. package/dist/elmethis.umd.cjs +20 -20
  28. package/dist/{index-D0RoiXTk.js → index-egN_WOnx.js} +2184 -2034
  29. package/dist/index.d.ts +5 -2
  30. package/package.json +4 -1
@@ -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-D0RoiXTk.js";
2
+ import { _ as n } from "./index-egN_WOnx.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 t, createElementBlock as e, createElementVNode as c } from "vue";
2
- import { _ as o } from "./index-D0RoiXTk.js";
2
+ import { _ as o } from "./index-egN_WOnx.js";
3
3
  const n = {}, s = {
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 h, createStaticVNode as f } from "vue";
2
- import { _ as p } from "./index-D0RoiXTk.js";
2
+ import { _ as p } from "./index-egN_WOnx.js";
3
3
  const e = {}, o = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
5
5
  viewBox: "0 0 32 32"
@@ -1,5 +1,5 @@
1
1
  import { openBlock as t, createElementBlock as h, createElementVNode as l } from "vue";
2
- import { _ as e } from "./index-D0RoiXTk.js";
2
+ import { _ as e } from "./index-egN_WOnx.js";
3
3
  const o = {}, s = {
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 e, createElementBlock as t, createElementVNode as o } from "vue";
2
- import { _ as r } from "./index-D0RoiXTk.js";
2
+ import { _ as r } from "./index-egN_WOnx.js";
3
3
  const n = {}, s = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
5
5
  viewBox: "0 0 24 24"
@@ -1,5 +1,5 @@
1
1
  import { openBlock as l, createElementBlock as e, createElementVNode as t } from "vue";
2
- import { _ as o } from "./index-D0RoiXTk.js";
2
+ import { _ as o } from "./index-egN_WOnx.js";
3
3
  const r = {}, n = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
5
5
  viewBox: "0 0 512 192"
@@ -1,5 +1,5 @@
1
1
  import { openBlock as t, createElementBlock as e, createElementVNode as o } from "vue";
2
- import { _ as r } from "./index-D0RoiXTk.js";
2
+ import { _ as r } from "./index-egN_WOnx.js";
3
3
  const n = {}, s = {
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, createStaticVNode as a } from "vue";
2
- import { _ as s } from "./index-D0RoiXTk.js";
2
+ import { _ as s } from "./index-egN_WOnx.js";
3
3
  const o = {}, p = {
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 e, createElementBlock as l, createElementVNode as t } from "vue";
2
- import { _ as o } from "./index-D0RoiXTk.js";
2
+ import { _ as o } from "./index-egN_WOnx.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 e, createElementBlock as t, createElementVNode as o } from "vue";
2
- import { _ as n } from "./index-D0RoiXTk.js";
2
+ import { _ as n } from "./index-egN_WOnx.js";
3
3
  const r = {}, s = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
5
5
  viewBox: "0 0 32 32"
@@ -1,5 +1,5 @@
1
1
  import { openBlock as o, createElementBlock as e, createStaticVNode as s } from "vue";
2
- import { _ as r } from "./index-D0RoiXTk.js";
2
+ import { _ as r } from "./index-egN_WOnx.js";
3
3
  const n = {}, i = {
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 c, createElementBlock as m, createElementVNode as a } from "vue";
2
- import { _ as t } from "./index-D0RoiXTk.js";
2
+ import { _ as t } from "./index-egN_WOnx.js";
3
3
  const z = {}, e = {
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 o, createElementBlock as n, createElementVNode as e } from "vue";
2
- import { _ as r } from "./index-D0RoiXTk.js";
2
+ import { _ as r } from "./index-egN_WOnx.js";
3
3
  const l = {}, f = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
5
5
  viewBox: "0 0 256 256"
@@ -1,5 +1,5 @@
1
1
  import { openBlock as o, createElementBlock as r, createStaticVNode as c } from "vue";
2
- import { _ as e } from "./index-D0RoiXTk.js";
2
+ import { _ as e } from "./index-egN_WOnx.js";
3
3
  const s = {}, 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-D0RoiXTk.js";
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",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as c, createElementBlock as l, createElementVNode as a } from "vue";
2
- import { _ as t } from "./index-D0RoiXTk.js";
2
+ import { _ as t } from "./index-egN_WOnx.js";
3
3
  const o = {}, r = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
5
5
  viewBox: "0 0 32 32"
@@ -1,5 +1,5 @@
1
1
  import { openBlock as o, createElementBlock as r, createElementVNode as e } from "vue";
2
- import { _ as l } from "./index-D0RoiXTk.js";
2
+ import { _ as l } from "./index-egN_WOnx.js";
3
3
  const m = {}, 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 t, createElementBlock as e, createElementVNode as a } from "vue";
2
- import { _ as o } from "./index-D0RoiXTk.js";
2
+ import { _ as o } from "./index-egN_WOnx.js";
3
3
  const l = {}, 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;