@dao-style/core 0.1.6 → 0.2.0
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/components/dialog/dialog.vue.d.ts +4 -3
- package/dist/components/index.d.ts +1 -0
- package/dist/components/text-button/index.d.ts +1 -0
- package/dist/components/text-button/props.d.ts +20 -0
- package/dist/components/text-button/test/text-button.spec.d.ts +1 -0
- package/dist/components/text-button/text-button.vue.d.ts +33 -0
- package/dist/dao-style.es.js +162 -110
- package/dist/dao-style.umd.js +1 -1
- package/dist/style.css +1 -1
- package/dist/styles/color/alias.css +2 -2
- package/dist/styles/color/alias.json +1 -1
- package/dist/styles/color/alias.scss +1 -1
- package/dist/utils/types.d.ts +2 -0
- package/package.json +1 -1
- package/volar.d.ts +1 -0
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
1
2
|
declare const _default: import("vue").DefineComponent<{
|
|
2
3
|
modelValue: {
|
|
3
4
|
type: BooleanConstructor;
|
|
@@ -12,7 +13,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
12
13
|
default: boolean;
|
|
13
14
|
};
|
|
14
15
|
size: {
|
|
15
|
-
type:
|
|
16
|
+
type: PropType<"md" | "sm" | "lg" | "xl">;
|
|
16
17
|
default: string;
|
|
17
18
|
};
|
|
18
19
|
containerClass: {
|
|
@@ -93,7 +94,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
93
94
|
confirmDisabled?: unknown;
|
|
94
95
|
showClose?: unknown;
|
|
95
96
|
} & {
|
|
96
|
-
size:
|
|
97
|
+
size: "md" | "sm" | "lg" | "xl";
|
|
97
98
|
modelValue: boolean;
|
|
98
99
|
top: string;
|
|
99
100
|
bottom: string;
|
|
@@ -119,7 +120,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
119
120
|
"onBefore-close"?: ((...args: any[]) => any) | undefined;
|
|
120
121
|
onClosed?: ((...args: any[]) => any) | undefined;
|
|
121
122
|
}, {
|
|
122
|
-
size:
|
|
123
|
+
size: "md" | "sm" | "lg" | "xl";
|
|
123
124
|
modelValue: boolean;
|
|
124
125
|
top: string;
|
|
125
126
|
bottom: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as TextButton } from './text-button.vue';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { PropType, defineComponent } from 'vue';
|
|
2
|
+
export declare type TagType = string | Element['tagName'] | ReturnType<typeof defineComponent>;
|
|
3
|
+
export declare const TextButtonType: readonly ["default", "action", "link"];
|
|
4
|
+
declare type ThePropType = {
|
|
5
|
+
type: typeof TextButtonType[number];
|
|
6
|
+
icon?: string;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: {
|
|
9
|
+
tag: {
|
|
10
|
+
type: PropType<any>;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
prop: {
|
|
14
|
+
type: PropType<ThePropType>;
|
|
15
|
+
default: () => {
|
|
16
|
+
type: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
tag: {
|
|
3
|
+
type: import("vue").PropType<any>;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
prop: {
|
|
7
|
+
type: import("vue").PropType<{
|
|
8
|
+
type: "link" | "default" | "action";
|
|
9
|
+
icon?: string | undefined;
|
|
10
|
+
}>;
|
|
11
|
+
default: () => {
|
|
12
|
+
type: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
18
|
+
tag?: unknown;
|
|
19
|
+
prop?: unknown;
|
|
20
|
+
} & {
|
|
21
|
+
tag: string;
|
|
22
|
+
prop: {
|
|
23
|
+
type: "link" | "default" | "action";
|
|
24
|
+
icon?: string | undefined;
|
|
25
|
+
};
|
|
26
|
+
} & {}>, {
|
|
27
|
+
tag: string;
|
|
28
|
+
prop: {
|
|
29
|
+
type: "link" | "default" | "action";
|
|
30
|
+
icon?: string | undefined;
|
|
31
|
+
};
|
|
32
|
+
}>;
|
|
33
|
+
export default _default;
|