@dao-style/core 1.18.0 → 1.18.1-beta.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,13 +1,15 @@
|
|
|
1
1
|
import type { PropType, Component, ExtractPropTypes } from 'vue';
|
|
2
2
|
export type TagType = Element['tagName'] | Component;
|
|
3
3
|
export declare const textButtonType: readonly ["default", "action", "link", "link-primary", "custom"];
|
|
4
|
+
export type TextButtonType = typeof textButtonType[number];
|
|
4
5
|
export type IconProp = string | {
|
|
5
6
|
name: string;
|
|
6
7
|
mode?: 'stable' | 'hover' | 'inherit';
|
|
7
8
|
className?: string;
|
|
8
9
|
};
|
|
9
10
|
type ThePropType = {
|
|
10
|
-
type?:
|
|
11
|
+
type?: TextButtonType;
|
|
12
|
+
hoverType?: TextButtonType;
|
|
11
13
|
iconLeft?: IconProp;
|
|
12
14
|
iconRight?: IconProp;
|
|
13
15
|
dark?: boolean;
|
|
@@ -7,6 +7,7 @@ declare const DaoTextButton: {
|
|
|
7
7
|
tag: import("./props").TagType;
|
|
8
8
|
prop: {
|
|
9
9
|
type?: "link" | "default" | "action" | "link-primary" | "custom" | undefined;
|
|
10
|
+
hoverType?: "link" | "default" | "action" | "link-primary" | "custom" | undefined;
|
|
10
11
|
iconLeft?: import("./props").IconProp | undefined;
|
|
11
12
|
iconRight?: import("./props").IconProp | undefined;
|
|
12
13
|
dark?: boolean | undefined;
|
|
@@ -19,6 +20,7 @@ declare const DaoTextButton: {
|
|
|
19
20
|
prop: {
|
|
20
21
|
type: import("vue").PropType<{
|
|
21
22
|
type?: "link" | "default" | "action" | "link-primary" | "custom" | undefined;
|
|
23
|
+
hoverType?: "link" | "default" | "action" | "link-primary" | "custom" | undefined;
|
|
22
24
|
iconLeft?: import("./props").IconProp | undefined;
|
|
23
25
|
iconRight?: import("./props").IconProp | undefined;
|
|
24
26
|
dark?: boolean | undefined;
|
|
@@ -49,6 +51,7 @@ declare const DaoTextButton: {
|
|
|
49
51
|
prop: {
|
|
50
52
|
type: import("vue").PropType<{
|
|
51
53
|
type?: "link" | "default" | "action" | "link-primary" | "custom" | undefined;
|
|
54
|
+
hoverType?: "link" | "default" | "action" | "link-primary" | "custom" | undefined;
|
|
52
55
|
iconLeft?: import("./props").IconProp | undefined;
|
|
53
56
|
iconRight?: import("./props").IconProp | undefined;
|
|
54
57
|
dark?: boolean | undefined;
|
|
@@ -63,6 +66,7 @@ declare const DaoTextButton: {
|
|
|
63
66
|
tag: import("./props").TagType;
|
|
64
67
|
prop: {
|
|
65
68
|
type?: "link" | "default" | "action" | "link-primary" | "custom" | undefined;
|
|
69
|
+
hoverType?: "link" | "default" | "action" | "link-primary" | "custom" | undefined;
|
|
66
70
|
iconLeft?: import("./props").IconProp | undefined;
|
|
67
71
|
iconRight?: import("./props").IconProp | undefined;
|
|
68
72
|
dark?: boolean | undefined;
|
|
@@ -95,6 +99,7 @@ declare const DaoTextButton: {
|
|
|
95
99
|
prop: {
|
|
96
100
|
type: import("vue").PropType<{
|
|
97
101
|
type?: "link" | "default" | "action" | "link-primary" | "custom" | undefined;
|
|
102
|
+
hoverType?: "link" | "default" | "action" | "link-primary" | "custom" | undefined;
|
|
98
103
|
iconLeft?: import("./props").IconProp | undefined;
|
|
99
104
|
iconRight?: import("./props").IconProp | undefined;
|
|
100
105
|
dark?: boolean | undefined;
|
|
@@ -117,6 +122,7 @@ declare const DaoTextButton: {
|
|
|
117
122
|
prop: {
|
|
118
123
|
type: import("vue").PropType<{
|
|
119
124
|
type?: "link" | "default" | "action" | "link-primary" | "custom" | undefined;
|
|
125
|
+
hoverType?: "link" | "default" | "action" | "link-primary" | "custom" | undefined;
|
|
120
126
|
iconLeft?: import("./props").IconProp | undefined;
|
|
121
127
|
iconRight?: import("./props").IconProp | undefined;
|
|
122
128
|
dark?: boolean | undefined;
|
|
@@ -131,6 +137,7 @@ declare const DaoTextButton: {
|
|
|
131
137
|
tag: import("./props").TagType;
|
|
132
138
|
prop: {
|
|
133
139
|
type?: "link" | "default" | "action" | "link-primary" | "custom" | undefined;
|
|
140
|
+
hoverType?: "link" | "default" | "action" | "link-primary" | "custom" | undefined;
|
|
134
141
|
iconLeft?: import("./props").IconProp | undefined;
|
|
135
142
|
iconRight?: import("./props").IconProp | undefined;
|
|
136
143
|
dark?: boolean | undefined;
|
|
@@ -8,6 +8,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
8
8
|
prop: {
|
|
9
9
|
type: import("vue").PropType<{
|
|
10
10
|
type?: "link" | "default" | "action" | "link-primary" | "custom" | undefined;
|
|
11
|
+
hoverType?: "link" | "default" | "action" | "link-primary" | "custom" | undefined;
|
|
11
12
|
iconLeft?: IconProp | undefined;
|
|
12
13
|
iconRight?: IconProp | undefined;
|
|
13
14
|
dark?: boolean | undefined;
|
|
@@ -26,6 +27,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
26
27
|
prop: {
|
|
27
28
|
type: import("vue").PropType<{
|
|
28
29
|
type?: "link" | "default" | "action" | "link-primary" | "custom" | undefined;
|
|
30
|
+
hoverType?: "link" | "default" | "action" | "link-primary" | "custom" | undefined;
|
|
29
31
|
iconLeft?: IconProp | undefined;
|
|
30
32
|
iconRight?: IconProp | undefined;
|
|
31
33
|
dark?: boolean | undefined;
|
|
@@ -38,6 +40,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
38
40
|
tag: import("./props").TagType;
|
|
39
41
|
prop: {
|
|
40
42
|
type?: "link" | "default" | "action" | "link-primary" | "custom" | undefined;
|
|
43
|
+
hoverType?: "link" | "default" | "action" | "link-primary" | "custom" | undefined;
|
|
41
44
|
iconLeft?: IconProp | undefined;
|
|
42
45
|
iconRight?: IconProp | undefined;
|
|
43
46
|
dark?: boolean | undefined;
|