@dao-style/core 1.9.1-beta.2 → 1.9.1-beta.3
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/text-button/props.d.ts +2 -5
- package/dist/components/text-button/text-button.d.ts +14 -14
- package/dist/components/text-button/text-button.vue.d.ts +6 -6
- package/dist/dao-style.js +6 -6
- package/dist/dao-style.mjs +423 -421
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
import type { PropType, Component, ExtractPropTypes } from 'vue';
|
|
2
2
|
export type TagType = Element['tagName'] | Component;
|
|
3
|
-
export declare const textButtonType: readonly ["default", "action", "link", "custom"];
|
|
3
|
+
export declare const textButtonType: readonly ["default", "action", "link", "link-primary", "custom"];
|
|
4
4
|
type ThePropType = {
|
|
5
5
|
type?: typeof textButtonType[number];
|
|
6
|
-
/**
|
|
7
|
-
* @deprecated icon 后续将被弃用,请将icon替换为iconLeft
|
|
8
|
-
*/
|
|
9
|
-
icon?: string;
|
|
10
6
|
iconLeft?: string;
|
|
11
7
|
iconRight?: string;
|
|
8
|
+
dark?: boolean;
|
|
12
9
|
};
|
|
13
10
|
export declare const textButtonProps: {
|
|
14
11
|
tag: {
|
|
@@ -6,10 +6,10 @@ declare const DaoTextButton: {
|
|
|
6
6
|
$props: Partial<{
|
|
7
7
|
tag: import("./props").TagType;
|
|
8
8
|
prop: {
|
|
9
|
-
type?: "link" | "default" | "action" | "custom" | undefined;
|
|
10
|
-
icon?: string | undefined;
|
|
9
|
+
type?: "link" | "default" | "action" | "link-primary" | "custom" | undefined;
|
|
11
10
|
iconLeft?: string | undefined;
|
|
12
11
|
iconRight?: string | undefined;
|
|
12
|
+
dark?: boolean | undefined;
|
|
13
13
|
};
|
|
14
14
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
15
15
|
tag: {
|
|
@@ -18,10 +18,10 @@ declare const DaoTextButton: {
|
|
|
18
18
|
};
|
|
19
19
|
prop: {
|
|
20
20
|
type: import("vue").PropType<{
|
|
21
|
-
type?: "link" | "default" | "action" | "custom" | undefined;
|
|
22
|
-
icon?: string | undefined;
|
|
21
|
+
type?: "link" | "default" | "action" | "link-primary" | "custom" | undefined;
|
|
23
22
|
iconLeft?: string | undefined;
|
|
24
23
|
iconRight?: string | undefined;
|
|
24
|
+
dark?: boolean | undefined;
|
|
25
25
|
}>;
|
|
26
26
|
default: () => {
|
|
27
27
|
type: string;
|
|
@@ -48,10 +48,10 @@ declare const DaoTextButton: {
|
|
|
48
48
|
};
|
|
49
49
|
prop: {
|
|
50
50
|
type: import("vue").PropType<{
|
|
51
|
-
type?: "link" | "default" | "action" | "custom" | undefined;
|
|
52
|
-
icon?: string | undefined;
|
|
51
|
+
type?: "link" | "default" | "action" | "link-primary" | "custom" | undefined;
|
|
53
52
|
iconLeft?: string | undefined;
|
|
54
53
|
iconRight?: string | undefined;
|
|
54
|
+
dark?: boolean | undefined;
|
|
55
55
|
}>;
|
|
56
56
|
default: () => {
|
|
57
57
|
type: string;
|
|
@@ -62,10 +62,10 @@ declare const DaoTextButton: {
|
|
|
62
62
|
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
63
63
|
tag: import("./props").TagType;
|
|
64
64
|
prop: {
|
|
65
|
-
type?: "link" | "default" | "action" | "custom" | undefined;
|
|
66
|
-
icon?: string | undefined;
|
|
65
|
+
type?: "link" | "default" | "action" | "link-primary" | "custom" | undefined;
|
|
67
66
|
iconLeft?: string | undefined;
|
|
68
67
|
iconRight?: string | undefined;
|
|
68
|
+
dark?: boolean | undefined;
|
|
69
69
|
};
|
|
70
70
|
}, {}, string> & {
|
|
71
71
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -94,10 +94,10 @@ declare const DaoTextButton: {
|
|
|
94
94
|
};
|
|
95
95
|
prop: {
|
|
96
96
|
type: import("vue").PropType<{
|
|
97
|
-
type?: "link" | "default" | "action" | "custom" | undefined;
|
|
98
|
-
icon?: string | undefined;
|
|
97
|
+
type?: "link" | "default" | "action" | "link-primary" | "custom" | undefined;
|
|
99
98
|
iconLeft?: string | undefined;
|
|
100
99
|
iconRight?: string | undefined;
|
|
100
|
+
dark?: boolean | undefined;
|
|
101
101
|
}>;
|
|
102
102
|
default: () => {
|
|
103
103
|
type: string;
|
|
@@ -116,10 +116,10 @@ declare const DaoTextButton: {
|
|
|
116
116
|
};
|
|
117
117
|
prop: {
|
|
118
118
|
type: import("vue").PropType<{
|
|
119
|
-
type?: "link" | "default" | "action" | "custom" | undefined;
|
|
120
|
-
icon?: string | undefined;
|
|
119
|
+
type?: "link" | "default" | "action" | "link-primary" | "custom" | undefined;
|
|
121
120
|
iconLeft?: string | undefined;
|
|
122
121
|
iconRight?: string | undefined;
|
|
122
|
+
dark?: boolean | undefined;
|
|
123
123
|
}>;
|
|
124
124
|
default: () => {
|
|
125
125
|
type: string;
|
|
@@ -130,10 +130,10 @@ declare const DaoTextButton: {
|
|
|
130
130
|
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
131
131
|
tag: import("./props").TagType;
|
|
132
132
|
prop: {
|
|
133
|
-
type?: "link" | "default" | "action" | "custom" | undefined;
|
|
134
|
-
icon?: string | undefined;
|
|
133
|
+
type?: "link" | "default" | "action" | "link-primary" | "custom" | undefined;
|
|
135
134
|
iconLeft?: string | undefined;
|
|
136
135
|
iconRight?: string | undefined;
|
|
136
|
+
dark?: boolean | undefined;
|
|
137
137
|
};
|
|
138
138
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new <Tag extends import("./props").TagType>(props: {
|
|
139
139
|
tag: Tag;
|
|
@@ -6,10 +6,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
6
6
|
};
|
|
7
7
|
prop: {
|
|
8
8
|
type: import("vue").PropType<{
|
|
9
|
-
type?: "link" | "default" | "action" | "custom" | undefined;
|
|
10
|
-
icon?: string | undefined;
|
|
9
|
+
type?: "link" | "default" | "action" | "link-primary" | "custom" | undefined;
|
|
11
10
|
iconLeft?: string | undefined;
|
|
12
11
|
iconRight?: string | undefined;
|
|
12
|
+
dark?: boolean | undefined;
|
|
13
13
|
}>;
|
|
14
14
|
default: () => {
|
|
15
15
|
type: string;
|
|
@@ -24,10 +24,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
24
24
|
};
|
|
25
25
|
prop: {
|
|
26
26
|
type: import("vue").PropType<{
|
|
27
|
-
type?: "link" | "default" | "action" | "custom" | undefined;
|
|
28
|
-
icon?: string | undefined;
|
|
27
|
+
type?: "link" | "default" | "action" | "link-primary" | "custom" | undefined;
|
|
29
28
|
iconLeft?: string | undefined;
|
|
30
29
|
iconRight?: string | undefined;
|
|
30
|
+
dark?: boolean | undefined;
|
|
31
31
|
}>;
|
|
32
32
|
default: () => {
|
|
33
33
|
type: string;
|
|
@@ -36,10 +36,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
36
36
|
}>>, {
|
|
37
37
|
tag: import("./props").TagType;
|
|
38
38
|
prop: {
|
|
39
|
-
type?: "link" | "default" | "action" | "custom" | undefined;
|
|
40
|
-
icon?: string | undefined;
|
|
39
|
+
type?: "link" | "default" | "action" | "link-primary" | "custom" | undefined;
|
|
41
40
|
iconLeft?: string | undefined;
|
|
42
41
|
iconRight?: string | undefined;
|
|
42
|
+
dark?: boolean | undefined;
|
|
43
43
|
};
|
|
44
44
|
}>;
|
|
45
45
|
export default _default;
|