mortise-tenon-design 0.0.8 → 0.0.9
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/{components → es/components}/button/index.d.ts +4 -4
- package/lib/components/button/index.d.ts +36 -0
- package/lib/components/button/src/button.vue.d.ts +25 -0
- package/lib/components/button/src/types.d.ts +8 -0
- package/lib/components/index.d.ts +1 -0
- package/package.json +2 -2
- /package/{components → es/components}/button/src/button.vue.d.ts +0 -0
- /package/{components → es/components}/button/src/types.d.ts +0 -0
- /package/{components → es/components}/index.d.ts +0 -0
- /package/es/{index.d.ts → core/index.d.ts} +0 -0
- /package/lib/{index.d.ts → core/index.d.ts} +0 -0
@@ -1,9 +1,9 @@
|
|
1
1
|
export declare const MtButton: {
|
2
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('.').ButtonProps> & Readonly<{
|
3
3
|
onClick?: ((...args: any[]) => any) | undefined;
|
4
4
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
5
5
|
click: (...args: any[]) => void;
|
6
|
-
}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('
|
6
|
+
}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('.').ButtonProps> & Readonly<{
|
7
7
|
onClick?: ((...args: any[]) => any) | undefined;
|
8
8
|
}>, {
|
9
9
|
time: string;
|
@@ -14,7 +14,7 @@ export declare const MtButton: {
|
|
14
14
|
C: {};
|
15
15
|
M: {};
|
16
16
|
Defaults: {};
|
17
|
-
}, Readonly<import('
|
17
|
+
}, Readonly<import('.').ButtonProps> & Readonly<{
|
18
18
|
onClick?: ((...args: any[]) => any) | undefined;
|
19
19
|
}>, {}, {}, {}, {}, {
|
20
20
|
time: string;
|
@@ -22,7 +22,7 @@ export declare const MtButton: {
|
|
22
22
|
__isFragment?: never;
|
23
23
|
__isTeleport?: never;
|
24
24
|
__isSuspense?: never;
|
25
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('
|
25
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('.').ButtonProps> & Readonly<{
|
26
26
|
onClick?: ((...args: any[]) => any) | undefined;
|
27
27
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
28
28
|
click: (...args: any[]) => void;
|
@@ -0,0 +1,36 @@
|
|
1
|
+
export declare const MtButton: {
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('.').ButtonProps> & Readonly<{
|
3
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
4
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
5
|
+
click: (...args: any[]) => void;
|
6
|
+
}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('.').ButtonProps> & Readonly<{
|
7
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
8
|
+
}>, {
|
9
|
+
time: string;
|
10
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
11
|
+
P: {};
|
12
|
+
B: {};
|
13
|
+
D: {};
|
14
|
+
C: {};
|
15
|
+
M: {};
|
16
|
+
Defaults: {};
|
17
|
+
}, Readonly<import('.').ButtonProps> & Readonly<{
|
18
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
19
|
+
}>, {}, {}, {}, {}, {
|
20
|
+
time: string;
|
21
|
+
}>;
|
22
|
+
__isFragment?: never;
|
23
|
+
__isTeleport?: never;
|
24
|
+
__isSuspense?: never;
|
25
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('.').ButtonProps> & Readonly<{
|
26
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
27
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
28
|
+
click: (...args: any[]) => void;
|
29
|
+
}, string, {
|
30
|
+
time: string;
|
31
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
32
|
+
$slots: {
|
33
|
+
default?(_: {}): any;
|
34
|
+
};
|
35
|
+
});
|
36
|
+
export * from './src/types';
|
@@ -0,0 +1,25 @@
|
|
1
|
+
import { ButtonProps } from './types';
|
2
|
+
declare function __VLS_template(): {
|
3
|
+
slots: {
|
4
|
+
default?(_: {}): any;
|
5
|
+
};
|
6
|
+
refs: {
|
7
|
+
buttonRef: HTMLButtonElement;
|
8
|
+
};
|
9
|
+
attrs: Partial<{}>;
|
10
|
+
};
|
11
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<ButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
13
|
+
click: (...args: any[]) => void;
|
14
|
+
}, string, import('vue').PublicProps, Readonly<ButtonProps> & Readonly<{
|
15
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
16
|
+
}>, {
|
17
|
+
time: string;
|
18
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
19
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
20
|
+
export default _default;
|
21
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
22
|
+
new (): {
|
23
|
+
$slots: S;
|
24
|
+
};
|
25
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './button';
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "mortise-tenon-design",
|
3
3
|
"type": "module",
|
4
|
-
"version": "0.0.
|
4
|
+
"version": "0.0.9",
|
5
5
|
"description": "榫卯组件库",
|
6
6
|
"author": "nixwai",
|
7
7
|
"license": "ISC",
|
@@ -11,7 +11,7 @@
|
|
11
11
|
},
|
12
12
|
"main": "lib/index.js",
|
13
13
|
"module": "es/index.mjs",
|
14
|
-
"types": "es/index.d.ts",
|
14
|
+
"types": "es/core/index.d.ts",
|
15
15
|
"peerDependencies": {
|
16
16
|
"vue": "^3.4.0"
|
17
17
|
}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|