@dao-style/core 1.0.0-beta.9 → 1.0.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/action-icon/index.d.ts +0 -1
- package/dist/components/batch-bar/index.d.ts +0 -1
- package/dist/components/breadcrumb/index.d.ts +0 -2
- package/dist/components/button/index.d.ts +0 -2
- package/dist/components/card/index.d.ts +0 -2
- package/dist/components/checkbox/index.d.ts +0 -2
- package/dist/components/dialog/index.d.ts +0 -3
- package/dist/components/drawer/index.d.ts +0 -1
- package/dist/components/dropdown/index.d.ts +0 -3
- package/dist/components/ellipsis/index.d.ts +0 -1
- package/dist/components/expansion/index.d.ts +0 -2
- package/dist/components/form/index.d.ts +0 -5
- package/dist/components/header/index.d.ts +0 -1
- package/dist/components/icon/index.d.ts +0 -1
- package/dist/components/input/index.d.ts +0 -1
- package/dist/components/message/index.d.ts +0 -1
- package/dist/components/nav/index.d.ts +0 -4
- package/dist/components/nav/nav-head.d.ts +2 -0
- package/dist/components/pagination/index.d.ts +0 -1
- package/dist/components/popover/index.d.ts +0 -1
- package/dist/components/popper/index.d.ts +0 -1
- package/dist/components/progress/index.d.ts +0 -1
- package/dist/components/radio/index.d.ts +0 -2
- package/dist/components/select/index.d.ts +0 -2
- package/dist/components/switch/index.d.ts +0 -1
- package/dist/components/table/index.d.ts +0 -1
- package/dist/components/tabs/index.d.ts +0 -3
- package/dist/components/tag/index.d.ts +0 -1
- package/dist/components/text-button/index.d.ts +0 -1
- package/dist/components/text-button/props.d.ts +5 -0
- package/dist/components/text-button/text-button.d.ts +14 -0
- package/dist/components/text-button/text-button.vue.d.ts +6 -0
- package/dist/components/toolbar/index.d.ts +0 -1
- package/dist/components/tooltip/index.d.ts +0 -1
- package/dist/components/transfer/index.d.ts +0 -2
- package/dist/dao-style.js +6 -6
- package/dist/dao-style.mjs +2464 -2550
- package/dist/style.css +1 -1
- package/dist/styles/color/alias.css +168 -0
- package/dist/styles/color/alias.scss +45 -0
- package/dist/styles/color/var.css +472 -0
- package/dist/styles/color/var.scss +120 -0
- package/package.json +1 -1
- package/volar.d.ts +7 -8
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
export { default as DaoBreadcrumb } from './breadcrumb';
|
|
2
|
-
export { default as Breadcrumb } from './breadcrumb';
|
|
3
2
|
export { default as DaoBreadcrumbItem } from './breadcrumb-item';
|
|
4
|
-
export { default as BreadcrumbItem } from './breadcrumb-item';
|
|
5
3
|
export * from './breadcrumb-props';
|
|
6
4
|
export * from './breadcrumb-item-props';
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
export { default as Dialog } from './dialog';
|
|
2
1
|
export { default as DaoDialog } from './dialog';
|
|
3
|
-
export { default as DialogFooter } from './dialog-footer';
|
|
4
2
|
export { default as DaoDialogFooter } from './dialog-footer';
|
|
5
|
-
export { default as DialogHeader } from './dialog-header';
|
|
6
3
|
export { default as DaoDialogHeader } from './dialog-header';
|
|
7
4
|
export * from './props';
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
export { default as Dropdown } from './dropdown';
|
|
2
1
|
export { default as DaoDropdown } from './dropdown';
|
|
3
|
-
export { default as DropdownMenu } from './dropdown-menu';
|
|
4
2
|
export { default as DaoDropdownMenu } from './dropdown-menu';
|
|
5
|
-
export { default as DropdownItem } from './dropdown-item';
|
|
6
3
|
export { default as DaoDropdownItem } from './dropdown-item';
|
|
7
4
|
export * from './props';
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
export { default as Form } from './form';
|
|
2
1
|
export { default as DaoForm } from './form';
|
|
3
|
-
export { default as FormItem } from './form-item';
|
|
4
2
|
export { default as DaoFormItem } from './form-item';
|
|
5
|
-
export { default as FormGroup } from './form-group';
|
|
6
3
|
export { default as DaoFormGroup } from './form-group';
|
|
7
|
-
export { default as ErrorText } from './error-text';
|
|
8
4
|
export { default as DaoErrorText } from './error-text';
|
|
9
|
-
export { default as HelperText } from './helper-text';
|
|
10
5
|
export { default as DaoHelperText } from './helper-text';
|
|
11
6
|
export * from './props';
|
|
12
7
|
export * from './type';
|
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
export { default as Nav } from './nav';
|
|
2
1
|
export { default as DaoNav } from './nav';
|
|
3
|
-
export { default as NavHead } from './nav-head';
|
|
4
2
|
export { default as DaoNavHead } from './nav-head';
|
|
5
|
-
export { default as NavItem } from './nav-item';
|
|
6
3
|
export { default as DaoNavItem } from './nav-item';
|
|
7
|
-
export { default as NavSub } from './nav-sub';
|
|
8
4
|
export { default as DaoNavSub } from './nav-sub';
|
|
9
5
|
export * from './props';
|
|
10
6
|
export * from './types';
|
|
@@ -129,6 +129,8 @@ declare const DaoNavHead: {
|
|
|
129
129
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
130
130
|
$slots: {
|
|
131
131
|
default: SlotFn;
|
|
132
|
+
title: SlotFn;
|
|
133
|
+
'sub-head': SlotFn;
|
|
132
134
|
};
|
|
133
135
|
});
|
|
134
136
|
export default DaoNavHead;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
export { default as Tabs } from './tabs';
|
|
2
1
|
export { default as DaoTabs } from './tabs';
|
|
3
|
-
export { default as TabNav } from './tab-nav';
|
|
4
2
|
export { default as DaoTabNav } from './tab-nav';
|
|
5
|
-
export { default as TabItem } from './tab-item';
|
|
6
3
|
export { default as DaoTabItem } from './tab-item';
|
|
7
4
|
export * from './props';
|
|
8
5
|
export * from './types';
|
|
@@ -3,7 +3,12 @@ export type TagType = Element['tagName'] | Component;
|
|
|
3
3
|
export declare const textButtonType: readonly ["default", "action", "link", "custom"];
|
|
4
4
|
type ThePropType = {
|
|
5
5
|
type?: typeof textButtonType[number];
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated icon 后续将被弃用,请将icon替换为iconLeft
|
|
8
|
+
*/
|
|
6
9
|
icon?: string;
|
|
10
|
+
iconLeft?: string;
|
|
11
|
+
iconRight?: string;
|
|
7
12
|
};
|
|
8
13
|
export declare const textButtonProps: {
|
|
9
14
|
tag: {
|
|
@@ -8,6 +8,8 @@ declare const DaoTextButton: {
|
|
|
8
8
|
prop: {
|
|
9
9
|
type?: "link" | "default" | "action" | "custom" | undefined;
|
|
10
10
|
icon?: string | undefined;
|
|
11
|
+
iconLeft?: string | undefined;
|
|
12
|
+
iconRight?: string | undefined;
|
|
11
13
|
};
|
|
12
14
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
13
15
|
tag: {
|
|
@@ -18,6 +20,8 @@ declare const DaoTextButton: {
|
|
|
18
20
|
type: import("vue").PropType<{
|
|
19
21
|
type?: "link" | "default" | "action" | "custom" | undefined;
|
|
20
22
|
icon?: string | undefined;
|
|
23
|
+
iconLeft?: string | undefined;
|
|
24
|
+
iconRight?: string | undefined;
|
|
21
25
|
}>;
|
|
22
26
|
default: () => {
|
|
23
27
|
type: string;
|
|
@@ -46,6 +50,8 @@ declare const DaoTextButton: {
|
|
|
46
50
|
type: import("vue").PropType<{
|
|
47
51
|
type?: "link" | "default" | "action" | "custom" | undefined;
|
|
48
52
|
icon?: string | undefined;
|
|
53
|
+
iconLeft?: string | undefined;
|
|
54
|
+
iconRight?: string | undefined;
|
|
49
55
|
}>;
|
|
50
56
|
default: () => {
|
|
51
57
|
type: string;
|
|
@@ -58,6 +64,8 @@ declare const DaoTextButton: {
|
|
|
58
64
|
prop: {
|
|
59
65
|
type?: "link" | "default" | "action" | "custom" | undefined;
|
|
60
66
|
icon?: string | undefined;
|
|
67
|
+
iconLeft?: string | undefined;
|
|
68
|
+
iconRight?: string | undefined;
|
|
61
69
|
};
|
|
62
70
|
}, {}, string> & {
|
|
63
71
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -88,6 +96,8 @@ declare const DaoTextButton: {
|
|
|
88
96
|
type: import("vue").PropType<{
|
|
89
97
|
type?: "link" | "default" | "action" | "custom" | undefined;
|
|
90
98
|
icon?: string | undefined;
|
|
99
|
+
iconLeft?: string | undefined;
|
|
100
|
+
iconRight?: string | undefined;
|
|
91
101
|
}>;
|
|
92
102
|
default: () => {
|
|
93
103
|
type: string;
|
|
@@ -108,6 +118,8 @@ declare const DaoTextButton: {
|
|
|
108
118
|
type: import("vue").PropType<{
|
|
109
119
|
type?: "link" | "default" | "action" | "custom" | undefined;
|
|
110
120
|
icon?: string | undefined;
|
|
121
|
+
iconLeft?: string | undefined;
|
|
122
|
+
iconRight?: string | undefined;
|
|
111
123
|
}>;
|
|
112
124
|
default: () => {
|
|
113
125
|
type: string;
|
|
@@ -120,6 +132,8 @@ declare const DaoTextButton: {
|
|
|
120
132
|
prop: {
|
|
121
133
|
type?: "link" | "default" | "action" | "custom" | undefined;
|
|
122
134
|
icon?: string | undefined;
|
|
135
|
+
iconLeft?: string | undefined;
|
|
136
|
+
iconRight?: string | undefined;
|
|
123
137
|
};
|
|
124
138
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new <Tag extends import("./props").TagType>(props: {
|
|
125
139
|
tag: Tag;
|
|
@@ -8,6 +8,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
8
8
|
type: import("vue").PropType<{
|
|
9
9
|
type?: "link" | "default" | "action" | "custom" | undefined;
|
|
10
10
|
icon?: string | undefined;
|
|
11
|
+
iconLeft?: string | undefined;
|
|
12
|
+
iconRight?: string | undefined;
|
|
11
13
|
}>;
|
|
12
14
|
default: () => {
|
|
13
15
|
type: string;
|
|
@@ -24,6 +26,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
24
26
|
type: import("vue").PropType<{
|
|
25
27
|
type?: "link" | "default" | "action" | "custom" | undefined;
|
|
26
28
|
icon?: string | undefined;
|
|
29
|
+
iconLeft?: string | undefined;
|
|
30
|
+
iconRight?: string | undefined;
|
|
27
31
|
}>;
|
|
28
32
|
default: () => {
|
|
29
33
|
type: string;
|
|
@@ -34,6 +38,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
34
38
|
prop: {
|
|
35
39
|
type?: "link" | "default" | "action" | "custom" | undefined;
|
|
36
40
|
icon?: string | undefined;
|
|
41
|
+
iconLeft?: string | undefined;
|
|
42
|
+
iconRight?: string | undefined;
|
|
37
43
|
};
|
|
38
44
|
}>;
|
|
39
45
|
export default _default;
|