@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.
- package/dist/{Bash-z2q3UXM9.js → Bash-DI9Gwu8l.js} +1 -1
- package/dist/{JavaScript-BWrmf9U2.js → JavaScript-DJK_0wg3.js} +1 -1
- package/dist/{Rust-CzVUJ2gp.js → Rust-DDK30uoJ.js} +1 -1
- package/dist/{TypeScript-QuIeA3g5.js → TypeScript-D_pgDEzS.js} +1 -1
- package/dist/components/form/ElmButton.stories.d.ts +2 -0
- package/dist/components/form/ElmButton.vue.d.ts +16 -0
- package/dist/elmethis.js +2 -2
- package/dist/elmethis.umd.cjs +3 -3
- package/dist/{index-DX5kIlsL.js → index-B7RwuAUa.js} +403 -389
- 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-B7RwuAUa.js";
|
|
3
3
|
const s = {}, r = {
|
|
4
4
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5
5
|
viewBox: "0 0 128 128",
|
|
@@ -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;
|