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

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-DX5kIlsL.js";
2
+ import { _ as n } from "./index-B7RwuAUa.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-DX5kIlsL.js";
2
+ import { _ as o } from "./index-B7RwuAUa.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-DX5kIlsL.js";
2
+ import { _ as o } from "./index-B7RwuAUa.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-DX5kIlsL.js";
2
+ import { _ as o } from "./index-B7RwuAUa.js";
3
3
  const l = {}, r = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
5
5
  viewBox: "0 0 128 128"
@@ -8,3 +8,5 @@ export declare const Block: Story;
8
8
  export declare const Loading: Story;
9
9
  export declare const Icon: Story;
10
10
  export declare const Flex: Story;
11
+ export declare const Disabled: Story;
12
+ export declare const WithPrimary: Story;
@@ -1,6 +1,20 @@
1
1
  export interface ElmButtonProps {
2
+ /**
3
+ * Whether the button is in loading state.
4
+ */
2
5
  loading?: boolean;
6
+ /**
7
+ * Whether the button is block.
8
+ */
3
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;
4
18
  }
5
19
  declare function __VLS_template(): {
6
20
  slots: {
@@ -13,6 +27,8 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
27
  declare const __VLS_component: import('vue').DefineComponent<ElmButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmButtonProps> & Readonly<{}>, {
14
28
  block: boolean;
15
29
  loading: boolean;
30
+ disabled: boolean;
31
+ primary: boolean;
16
32
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
17
33
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
18
34
  export default _default;