@yymojo-tec/mojo-ui 0.1.0 → 0.1.1
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,35 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
}>, {
|
|
19
|
-
size: import('./button').ButtonSize;
|
|
20
|
-
type: import('./button').ButtonType;
|
|
21
|
-
theme: import('../../../foundation').MojoTheme;
|
|
22
|
-
disabled: boolean;
|
|
23
|
-
loading: boolean;
|
|
24
|
-
round: boolean;
|
|
25
|
-
icon: boolean;
|
|
26
|
-
block: boolean;
|
|
27
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
28
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
29
|
-
export default _default;
|
|
30
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
31
|
-
new (): {
|
|
32
|
-
$slots: S;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
//# sourceMappingURL=button.vue.d.ts.map
|
|
1
|
+
import { MojoSize, MojoTheme } from '../../../foundation';
|
|
2
|
+
export type ButtonType = "default" | "ghost" | "primary" | "secondary" | "gradient" | "success" | "warning" | "danger";
|
|
3
|
+
export type ButtonSize = MojoSize;
|
|
4
|
+
export interface ButtonProps {
|
|
5
|
+
type?: ButtonType;
|
|
6
|
+
size?: ButtonSize;
|
|
7
|
+
theme?: MojoTheme;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
loading?: boolean;
|
|
10
|
+
round?: boolean;
|
|
11
|
+
icon?: boolean;
|
|
12
|
+
block?: boolean;
|
|
13
|
+
backgroundColor?: string;
|
|
14
|
+
borderColor?: string;
|
|
15
|
+
textColor?: string;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=button.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yymojo-tec/mojo-ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "A Vue 3 UI component library.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -15,7 +15,10 @@
|
|
|
15
15
|
"import": "./dist/mojo-ui.js",
|
|
16
16
|
"require": "./dist/mojo-ui.umd.cjs"
|
|
17
17
|
},
|
|
18
|
-
"./style.css":
|
|
18
|
+
"./style.css": {
|
|
19
|
+
"types": "./dist/types/style.css.d.ts",
|
|
20
|
+
"default": "./dist/mojo-ui.css"
|
|
21
|
+
}
|
|
19
22
|
},
|
|
20
23
|
"sideEffects": [
|
|
21
24
|
"**/*.css",
|