@code-coaching/vuetiful 0.22.0 → 0.23.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.
- package/README.md +1 -1
- package/dist/style.css +2 -2
- package/dist/types/components/VBootstrap.vue.d.ts +15 -0
- package/dist/types/components/atoms/VAvatar.vue.d.ts +37 -10
- package/dist/types/components/atoms/VBadge.vue.d.ts +22 -1
- package/dist/types/components/atoms/VButton.vue.d.ts +27 -0
- package/dist/types/components/atoms/VChip.vue.d.ts +22 -1
- package/dist/types/components/atoms/VRadio/VRadioGroup.vue.d.ts +10 -1
- package/dist/types/components/atoms/VRadio/VRadioItem.vue.d.ts +2 -2
- package/dist/types/components/atoms/VSwitch/VSwitch.vue.d.ts +24 -15
- package/dist/types/components/atoms/index.d.ts +1 -2
- package/dist/types/components/molecules/VAccordion/VAccordion.vue.d.ts +15 -6
- package/dist/types/components/molecules/VAccordion/VAccordionItem.vue.d.ts +11 -1
- package/dist/types/components/molecules/VAlert.vue.d.ts +39 -3
- package/dist/types/components/molecules/VCard/VCard.vue.d.ts +5 -5
- package/dist/types/components/molecules/VCard/VCardBody.vue.d.ts +13 -1
- package/dist/types/components/molecules/VCard/VCardFooter.vue.d.ts +22 -1
- package/dist/types/components/molecules/VCard/VCardHeader.vue.d.ts +22 -1
- package/dist/types/components/{atoms → molecules}/VCodeBlock.vue.d.ts +36 -9
- package/dist/types/components/molecules/VListbox/VListbox.vue.d.ts +51 -14
- package/dist/types/components/molecules/VListbox/VListboxItem.vue.d.ts +13 -3
- package/dist/types/components/molecules/VListbox/VListboxItems.vue.d.ts +9 -0
- package/dist/types/components/molecules/VTabs/VTab.vue.d.ts +9 -0
- package/dist/types/components/molecules/VTabs/VTabs.vue.d.ts +18 -0
- package/dist/types/components/molecules/index.d.ts +4 -3
- package/dist/types/props/index.d.ts +1 -0
- package/dist/types/props/props.d.ts +14 -0
- package/dist/types/services/index.d.ts +5 -3
- package/dist/types/services/settings.service.d.ts +132 -0
- package/dist/types/services/settings.service.test.d.ts +1 -0
- package/dist/types/types/index.d.ts +53 -0
- package/dist/types/utils/theme/theme-switcher.vue.d.ts +22 -62
- package/dist/vuetiful.es.mjs +981 -680
- package/dist/vuetiful.umd.js +21 -16
- package/package.json +1 -1
- package/src/components/VBootstrap.vue +62 -0
- package/src/components/atoms/VAvatar.test.ts +98 -28
- package/src/components/atoms/VAvatar.vue +46 -13
- package/src/components/atoms/VBadge.test.ts +10 -0
- package/src/components/atoms/VBadge.vue +13 -1
- package/src/components/atoms/VButton.test.ts +58 -0
- package/src/components/atoms/VButton.vue +31 -2
- package/src/components/atoms/VChip.test.ts +26 -11
- package/src/components/atoms/VChip.vue +13 -1
- package/src/components/atoms/VRadio/VRadioDescription.vue +1 -1
- package/src/components/atoms/VRadio/VRadioGroup.test.ts +7 -7
- package/src/components/atoms/VRadio/VRadioGroup.vue +16 -5
- package/src/components/atoms/VRadio/VRadioItem.vue +12 -8
- package/src/components/atoms/VRadio/VRadioLabel.vue +1 -1
- package/src/components/atoms/VSwitch/VSwitch.test.ts +20 -18
- package/src/components/atoms/VSwitch/VSwitch.vue +29 -17
- package/src/components/atoms/VSwitch/VSwitchDescription.vue +1 -1
- package/src/components/atoms/VSwitch/VSwitchGroup.vue +2 -2
- package/src/components/atoms/VSwitch/VSwitchLabel.vue +1 -1
- package/src/components/atoms/index.ts +0 -2
- package/src/components/molecules/VAccordion/VAccordion.test.ts +11 -0
- package/src/components/molecules/VAccordion/VAccordion.vue +16 -7
- package/src/components/molecules/VAccordion/VAccordionItem.test.ts +65 -16
- package/src/components/molecules/VAccordion/VAccordionItem.vue +53 -32
- package/src/components/molecules/VAlert.test.ts +11 -1
- package/src/components/molecules/VAlert.vue +33 -7
- package/src/components/molecules/VCard/VCard.test.ts +1 -1
- package/src/components/molecules/VCard/VCard.vue +12 -7
- package/src/components/molecules/VCard/VCardBody.test.ts +18 -0
- package/src/components/molecules/VCard/VCardBody.vue +16 -1
- package/src/components/molecules/VCard/VCardFooter.test.ts +18 -0
- package/src/components/molecules/VCard/VCardFooter.vue +21 -3
- package/src/components/molecules/VCard/VCardHeader.test.ts +18 -0
- package/src/components/molecules/VCard/VCardHeader.vue +26 -5
- package/src/components/molecules/VCodeBlock.test.ts +133 -0
- package/src/components/molecules/VCodeBlock.vue +120 -0
- package/src/components/molecules/VListbox/VListbox.test.ts +42 -15
- package/src/components/molecules/VListbox/VListbox.vue +44 -15
- package/src/components/molecules/VListbox/VListboxButton.test.ts +15 -6
- package/src/components/molecules/VListbox/VListboxButton.vue +10 -1
- package/src/components/molecules/VListbox/VListboxItem.test.ts +2 -2
- package/src/components/molecules/VListbox/VListboxItem.vue +18 -7
- package/src/components/molecules/VListbox/VListboxItems.test.ts +2 -2
- package/src/components/molecules/VListbox/VListboxItems.vue +18 -5
- package/src/components/molecules/VListbox/VListboxLabel.test.ts +1 -2
- package/src/components/molecules/VListbox/VListboxLabel.vue +1 -1
- package/src/components/molecules/VPreview.vue +9 -5
- package/src/components/molecules/{VRail.test.ts → VRail/VRail.test.ts} +1 -1
- package/src/components/molecules/{VRail.vue → VRail/VRail.vue} +6 -6
- package/src/components/molecules/VRail/VRailTile.test.ts +99 -0
- package/src/components/molecules/{VRailTile.vue → VRail/VRailTile.vue} +4 -6
- package/src/components/molecules/VTabs/VTab.test.ts +7 -3
- package/src/components/molecules/VTabs/VTab.vue +20 -5
- package/src/components/molecules/VTabs/VTabPanel.vue +2 -2
- package/src/components/molecules/VTabs/VTabs.test.ts +4 -2
- package/src/components/molecules/VTabs/VTabs.vue +32 -8
- package/src/components/molecules/index.ts +5 -2
- package/src/props/index.ts +1 -0
- package/src/props/props.ts +62 -0
- package/src/services/index.ts +5 -3
- package/src/services/settings.service.test.ts +17 -0
- package/src/services/settings.service.ts +136 -0
- package/src/types/index.ts +58 -0
- package/src/utils/theme/theme-switcher.vue +61 -131
- package/src/components/atoms/VCodeBlock.test.ts +0 -14
- package/src/components/atoms/VCodeBlock.vue +0 -92
- package/src/components/molecules/VRailTile.test.ts +0 -14
- /package/dist/types/components/{atoms → molecules}/VCodeBlock.test.d.ts +0 -0
- /package/dist/types/components/molecules/{VRail.test.d.ts → VRail/VRail.test.d.ts} +0 -0
- /package/dist/types/components/molecules/{VRail.vue.d.ts → VRail/VRail.vue.d.ts} +0 -0
- /package/dist/types/components/molecules/{VRailTile.test.d.ts → VRail/VRailTile.test.d.ts} +0 -0
- /package/dist/types/components/molecules/{VRailTile.vue.d.ts → VRail/VRailTile.vue.d.ts} +0 -0
|
@@ -13,15 +13,23 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13
13
|
type: BooleanConstructor;
|
|
14
14
|
default: boolean;
|
|
15
15
|
};
|
|
16
|
-
|
|
16
|
+
classHeader: {
|
|
17
17
|
type: () => CssClasses;
|
|
18
18
|
default: string;
|
|
19
19
|
};
|
|
20
|
-
|
|
20
|
+
classLanguage: {
|
|
21
21
|
type: () => CssClasses;
|
|
22
22
|
default: string;
|
|
23
23
|
};
|
|
24
|
-
|
|
24
|
+
classPre: {
|
|
25
|
+
type: () => CssClasses;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
classCode: {
|
|
29
|
+
type: () => CssClasses;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
classButton: {
|
|
25
33
|
type: () => CssClasses;
|
|
26
34
|
default: string;
|
|
27
35
|
};
|
|
@@ -33,6 +41,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
33
41
|
type: StringConstructor;
|
|
34
42
|
default: string;
|
|
35
43
|
};
|
|
44
|
+
unstyled: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
36
48
|
}, () => void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
37
49
|
copy: () => void;
|
|
38
50
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -48,15 +60,23 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
48
60
|
type: BooleanConstructor;
|
|
49
61
|
default: boolean;
|
|
50
62
|
};
|
|
51
|
-
|
|
63
|
+
classHeader: {
|
|
52
64
|
type: () => CssClasses;
|
|
53
65
|
default: string;
|
|
54
66
|
};
|
|
55
|
-
|
|
67
|
+
classLanguage: {
|
|
56
68
|
type: () => CssClasses;
|
|
57
69
|
default: string;
|
|
58
70
|
};
|
|
59
|
-
|
|
71
|
+
classPre: {
|
|
72
|
+
type: () => CssClasses;
|
|
73
|
+
default: string;
|
|
74
|
+
};
|
|
75
|
+
classCode: {
|
|
76
|
+
type: () => CssClasses;
|
|
77
|
+
default: string;
|
|
78
|
+
};
|
|
79
|
+
classButton: {
|
|
60
80
|
type: () => CssClasses;
|
|
61
81
|
default: string;
|
|
62
82
|
};
|
|
@@ -68,15 +88,22 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
68
88
|
type: StringConstructor;
|
|
69
89
|
default: string;
|
|
70
90
|
};
|
|
91
|
+
unstyled: {
|
|
92
|
+
type: BooleanConstructor;
|
|
93
|
+
default: boolean;
|
|
94
|
+
};
|
|
71
95
|
}>> & {
|
|
72
96
|
onCopy?: (() => any) | undefined;
|
|
73
97
|
}, {
|
|
74
98
|
language: string;
|
|
99
|
+
unstyled: boolean;
|
|
75
100
|
code: string;
|
|
101
|
+
classButton: string;
|
|
102
|
+
classPre: string;
|
|
76
103
|
preventOverflow: boolean;
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
104
|
+
classHeader: string;
|
|
105
|
+
classLanguage: string;
|
|
106
|
+
classCode: string;
|
|
80
107
|
buttonText: string;
|
|
81
108
|
buttonCopiedText: string;
|
|
82
109
|
}>;
|
|
@@ -1,22 +1,35 @@
|
|
|
1
|
+
import { CssClasses } from "@/index";
|
|
1
2
|
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
modelValue: any;
|
|
2
4
|
by: {
|
|
3
5
|
type: StringConstructor;
|
|
4
6
|
};
|
|
5
7
|
display: {
|
|
6
8
|
type: StringConstructor;
|
|
7
9
|
};
|
|
8
|
-
|
|
10
|
+
textLabel: {
|
|
9
11
|
type: StringConstructor;
|
|
10
12
|
};
|
|
11
|
-
|
|
12
|
-
type:
|
|
13
|
-
default:
|
|
13
|
+
classLabel: {
|
|
14
|
+
type: () => CssClasses;
|
|
15
|
+
default: string;
|
|
14
16
|
};
|
|
15
|
-
|
|
17
|
+
textButton: {
|
|
16
18
|
type: StringConstructor;
|
|
17
19
|
default: string;
|
|
18
20
|
};
|
|
19
|
-
|
|
21
|
+
classButton: {
|
|
22
|
+
type: () => CssClasses;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
classItem: {
|
|
26
|
+
type: () => CssClasses;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
classItems: {
|
|
30
|
+
type: () => CssClasses;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
20
33
|
horizontal: {
|
|
21
34
|
type: BooleanConstructor;
|
|
22
35
|
default: boolean;
|
|
@@ -41,25 +54,41 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
41
54
|
type: StringConstructor;
|
|
42
55
|
default: string;
|
|
43
56
|
};
|
|
57
|
+
unstyled: {
|
|
58
|
+
type: BooleanConstructor;
|
|
59
|
+
default: boolean;
|
|
60
|
+
};
|
|
44
61
|
}, () => void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
62
|
+
modelValue: any;
|
|
45
63
|
by: {
|
|
46
64
|
type: StringConstructor;
|
|
47
65
|
};
|
|
48
66
|
display: {
|
|
49
67
|
type: StringConstructor;
|
|
50
68
|
};
|
|
51
|
-
|
|
69
|
+
textLabel: {
|
|
52
70
|
type: StringConstructor;
|
|
53
71
|
};
|
|
54
|
-
|
|
55
|
-
type:
|
|
56
|
-
default:
|
|
72
|
+
classLabel: {
|
|
73
|
+
type: () => CssClasses;
|
|
74
|
+
default: string;
|
|
57
75
|
};
|
|
58
|
-
|
|
76
|
+
textButton: {
|
|
59
77
|
type: StringConstructor;
|
|
60
78
|
default: string;
|
|
61
79
|
};
|
|
62
|
-
|
|
80
|
+
classButton: {
|
|
81
|
+
type: () => CssClasses;
|
|
82
|
+
default: string;
|
|
83
|
+
};
|
|
84
|
+
classItem: {
|
|
85
|
+
type: () => CssClasses;
|
|
86
|
+
default: string;
|
|
87
|
+
};
|
|
88
|
+
classItems: {
|
|
89
|
+
type: () => CssClasses;
|
|
90
|
+
default: string;
|
|
91
|
+
};
|
|
63
92
|
horizontal: {
|
|
64
93
|
type: BooleanConstructor;
|
|
65
94
|
default: boolean;
|
|
@@ -84,17 +113,25 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
84
113
|
type: StringConstructor;
|
|
85
114
|
default: string;
|
|
86
115
|
};
|
|
116
|
+
unstyled: {
|
|
117
|
+
type: BooleanConstructor;
|
|
118
|
+
default: boolean;
|
|
119
|
+
};
|
|
87
120
|
}>> & {
|
|
88
121
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
89
122
|
}, {
|
|
90
|
-
|
|
123
|
+
unstyled: boolean;
|
|
91
124
|
modelValue: any;
|
|
92
125
|
active: string;
|
|
93
126
|
hover: string;
|
|
94
127
|
background: string;
|
|
95
128
|
text: string;
|
|
129
|
+
classItem: string;
|
|
96
130
|
horizontal: boolean;
|
|
97
|
-
|
|
131
|
+
classItems: string;
|
|
98
132
|
multiple: boolean;
|
|
133
|
+
classLabel: string;
|
|
134
|
+
textButton: string;
|
|
135
|
+
classButton: string;
|
|
99
136
|
}>;
|
|
100
137
|
export default _default;
|
|
@@ -1,12 +1,22 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
2
|
value: {
|
|
3
|
-
type: (
|
|
3
|
+
type: (StringConstructor | BooleanConstructor | ObjectConstructor | NumberConstructor)[];
|
|
4
4
|
required: true;
|
|
5
5
|
};
|
|
6
|
+
unstyled: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
6
10
|
}, () => void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
11
|
value: {
|
|
8
|
-
type: (
|
|
12
|
+
type: (StringConstructor | BooleanConstructor | ObjectConstructor | NumberConstructor)[];
|
|
9
13
|
required: true;
|
|
10
14
|
};
|
|
11
|
-
|
|
15
|
+
unstyled: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
}>>, {
|
|
20
|
+
unstyled: boolean;
|
|
21
|
+
}>;
|
|
12
22
|
export default _default;
|
|
@@ -7,6 +7,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7
7
|
type: BooleanConstructor;
|
|
8
8
|
default: boolean;
|
|
9
9
|
};
|
|
10
|
+
unstyled: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
10
14
|
}, () => void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
15
|
as: {
|
|
12
16
|
type: StringConstructor;
|
|
@@ -16,7 +20,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
16
20
|
type: BooleanConstructor;
|
|
17
21
|
default: boolean;
|
|
18
22
|
};
|
|
23
|
+
unstyled: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
19
27
|
}>>, {
|
|
28
|
+
unstyled: boolean;
|
|
20
29
|
as: string;
|
|
21
30
|
static: boolean;
|
|
22
31
|
}>;
|
|
@@ -3,12 +3,21 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3
3
|
type: BooleanConstructor;
|
|
4
4
|
default: boolean;
|
|
5
5
|
};
|
|
6
|
+
unstyled: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
6
10
|
}, () => void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
11
|
disabled: {
|
|
8
12
|
type: BooleanConstructor;
|
|
9
13
|
default: boolean;
|
|
10
14
|
};
|
|
15
|
+
unstyled: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
11
19
|
}>>, {
|
|
20
|
+
unstyled: boolean;
|
|
12
21
|
disabled: boolean;
|
|
13
22
|
}>;
|
|
14
23
|
export default _default;
|
|
@@ -31,10 +31,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
31
31
|
type: StringConstructor;
|
|
32
32
|
default: string;
|
|
33
33
|
};
|
|
34
|
+
classTabSeparator: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
34
38
|
defaultIndex: {
|
|
35
39
|
type: NumberConstructor;
|
|
36
40
|
default: number;
|
|
37
41
|
};
|
|
42
|
+
unstyled: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
38
46
|
}, () => void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
39
47
|
hideSeparator: {
|
|
40
48
|
type: BooleanConstructor;
|
|
@@ -68,16 +76,26 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
68
76
|
type: StringConstructor;
|
|
69
77
|
default: string;
|
|
70
78
|
};
|
|
79
|
+
classTabSeparator: {
|
|
80
|
+
type: StringConstructor;
|
|
81
|
+
default: string;
|
|
82
|
+
};
|
|
71
83
|
defaultIndex: {
|
|
72
84
|
type: NumberConstructor;
|
|
73
85
|
default: number;
|
|
74
86
|
};
|
|
87
|
+
unstyled: {
|
|
88
|
+
type: BooleanConstructor;
|
|
89
|
+
default: boolean;
|
|
90
|
+
};
|
|
75
91
|
}>>, {
|
|
92
|
+
unstyled: boolean;
|
|
76
93
|
active: string;
|
|
77
94
|
hover: string;
|
|
78
95
|
vertical: boolean;
|
|
79
96
|
classTab: string;
|
|
80
97
|
hideSeparator: boolean;
|
|
98
|
+
classTabSeparator: string;
|
|
81
99
|
classPanels: string;
|
|
82
100
|
classTabs: string;
|
|
83
101
|
classSeparator: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import VDrawer from "./VDrawer.vue";
|
|
2
2
|
import VPreview from "./VPreview.vue";
|
|
3
|
-
import VRail from "./VRail.vue";
|
|
4
|
-
import VRailTile from "./VRailTile.vue";
|
|
3
|
+
import VRail from "./VRail/VRail.vue";
|
|
4
|
+
import VRailTile from "./VRail/VRailTile.vue";
|
|
5
5
|
import VShell from "./VShell.vue";
|
|
6
6
|
import VListbox from "./VListbox/VListbox.vue";
|
|
7
7
|
import VListboxButton from "./VListbox/VListboxButton.vue";
|
|
@@ -18,4 +18,5 @@ import VCard from "./VCard/VCard.vue";
|
|
|
18
18
|
import VCardBody from "./VCard/VCardBody.vue";
|
|
19
19
|
import VCardFooter from "./VCard/VCardFooter.vue";
|
|
20
20
|
import VCardHeader from "./VCard/VCardHeader.vue";
|
|
21
|
-
|
|
21
|
+
import VCodeBlock from "./VCodeBlock.vue";
|
|
22
|
+
export { VAccordion, VAccordionItem, VAlert, VCard, VCardBody, VCardFooter, VCardHeader, VCodeBlock, VDrawer, VListbox, VListboxButton, VListboxItem, VListboxItems, VListboxLabel, VPreview, VRail, VRailTile, VShell, VTab, VTabPanel, VTabs, };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './props';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { PropType } from "vue";
|
|
2
|
+
declare const sizeProp: {
|
|
3
|
+
type: PropType<"xs" | "sm" | "md" | "lg" | "xl">;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
declare const unstyledProp: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
declare const variantProp: {
|
|
11
|
+
type: PropType<"" | "filled" | "filled-primary" | "filled-secondary" | "filled-tertiary" | "filled-success" | "filled-warning" | "filled-error" | "filled-surface" | "ringed" | "ringed-primary" | "ringed-secondary" | "ringed-tertiary" | "ringed-success" | "ringed-warning" | "ringed-error" | "ringed-surface" | "ghost" | "ghost-primary" | "ghost-secondary" | "ghost-tertiary" | "ghost-success" | "ghost-warning" | "ghost-error" | "ghost-surface" | "soft" | "soft-primary" | "soft-secondary" | "soft-tertiary" | "soft-success" | "soft-warning" | "soft-error" | "soft-surface" | "glass" | "glass-primary" | "glass-secondary" | "glass-tertiary" | "glass-success" | "glass-warning" | "glass-error" | "glass-surface">;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
export { sizeProp, unstyledProp, variantProp };
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { useDarkMode } from "./dark-mode.service";
|
|
2
2
|
import { useDrawer } from "./drawer.service";
|
|
3
3
|
import { useHighlight } from "./highlight.service";
|
|
4
|
-
import {
|
|
5
|
-
|
|
4
|
+
import { useRail } from "./rail.service";
|
|
5
|
+
import { useSettings, VuetifulSettings } from "./settings.service";
|
|
6
|
+
export { useDarkMode, useDrawer, useHighlight, useRail, useSettings };
|
|
7
|
+
export type { VuetifulSettings };
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
interface UnstyledSettings {
|
|
2
|
+
unstyled: boolean;
|
|
3
|
+
}
|
|
4
|
+
interface GlobalSettings extends UnstyledSettings {
|
|
5
|
+
}
|
|
6
|
+
interface RadioGroupSettings extends UnstyledSettings {
|
|
7
|
+
}
|
|
8
|
+
interface RadioItemSettings extends UnstyledSettings {
|
|
9
|
+
}
|
|
10
|
+
interface AccordionSettings extends UnstyledSettings {
|
|
11
|
+
}
|
|
12
|
+
interface AccordionItemSettings extends UnstyledSettings {
|
|
13
|
+
}
|
|
14
|
+
interface AlertSettings extends UnstyledSettings {
|
|
15
|
+
}
|
|
16
|
+
interface AvatarSettings extends UnstyledSettings {
|
|
17
|
+
}
|
|
18
|
+
interface BadgeSettings extends UnstyledSettings {
|
|
19
|
+
}
|
|
20
|
+
interface ButtonSettings extends UnstyledSettings {
|
|
21
|
+
}
|
|
22
|
+
interface ListboxSettings extends UnstyledSettings {
|
|
23
|
+
}
|
|
24
|
+
interface ListboxItemSettings extends UnstyledSettings {
|
|
25
|
+
}
|
|
26
|
+
interface CodeBlockSettings extends UnstyledSettings {
|
|
27
|
+
}
|
|
28
|
+
interface SwitchSettings extends UnstyledSettings {
|
|
29
|
+
}
|
|
30
|
+
interface CardSettings extends UnstyledSettings {
|
|
31
|
+
}
|
|
32
|
+
interface CardHeaderSettings extends UnstyledSettings {
|
|
33
|
+
}
|
|
34
|
+
interface CardBodySettings extends UnstyledSettings {
|
|
35
|
+
}
|
|
36
|
+
interface CardFooterSettings extends UnstyledSettings {
|
|
37
|
+
}
|
|
38
|
+
interface TabsSettings extends UnstyledSettings {
|
|
39
|
+
}
|
|
40
|
+
interface TabSettings extends UnstyledSettings {
|
|
41
|
+
}
|
|
42
|
+
export interface VuetifulSettings {
|
|
43
|
+
global: GlobalSettings;
|
|
44
|
+
components: Partial<{
|
|
45
|
+
avatar: AvatarSettings;
|
|
46
|
+
alert: AlertSettings;
|
|
47
|
+
badge: BadgeSettings;
|
|
48
|
+
button: ButtonSettings;
|
|
49
|
+
codeBlock: CodeBlockSettings;
|
|
50
|
+
switch: SwitchSettings;
|
|
51
|
+
accordion: AccordionSettings;
|
|
52
|
+
accordionItem: AccordionItemSettings;
|
|
53
|
+
listbox: ListboxSettings;
|
|
54
|
+
listboxItem: ListboxItemSettings;
|
|
55
|
+
radioGroup: RadioGroupSettings;
|
|
56
|
+
radioItem: RadioItemSettings;
|
|
57
|
+
card: CardSettings;
|
|
58
|
+
cardHeader: CardHeaderSettings;
|
|
59
|
+
cardBody: CardBodySettings;
|
|
60
|
+
cardFooter: CardFooterSettings;
|
|
61
|
+
tabs: TabsSettings;
|
|
62
|
+
tab: TabSettings;
|
|
63
|
+
}>;
|
|
64
|
+
}
|
|
65
|
+
declare const useSettings: () => {
|
|
66
|
+
updateSettings: (partialSettings: Partial<VuetifulSettings>) => void;
|
|
67
|
+
settings: {
|
|
68
|
+
global: {
|
|
69
|
+
unstyled: boolean;
|
|
70
|
+
};
|
|
71
|
+
components: {
|
|
72
|
+
radioGroup: {
|
|
73
|
+
unstyled: boolean;
|
|
74
|
+
};
|
|
75
|
+
radioItem: {
|
|
76
|
+
unstyled: boolean;
|
|
77
|
+
};
|
|
78
|
+
switch: {
|
|
79
|
+
unstyled: boolean;
|
|
80
|
+
};
|
|
81
|
+
avatar: {
|
|
82
|
+
unstyled: boolean;
|
|
83
|
+
};
|
|
84
|
+
badge: {
|
|
85
|
+
unstyled: boolean;
|
|
86
|
+
};
|
|
87
|
+
button: {
|
|
88
|
+
unstyled: boolean;
|
|
89
|
+
};
|
|
90
|
+
chip: {
|
|
91
|
+
unstyled: boolean;
|
|
92
|
+
};
|
|
93
|
+
codeBlock: {
|
|
94
|
+
unstyled: boolean;
|
|
95
|
+
};
|
|
96
|
+
listbox: {
|
|
97
|
+
unstyled: boolean;
|
|
98
|
+
};
|
|
99
|
+
listboxItem: {
|
|
100
|
+
unstyled: boolean;
|
|
101
|
+
};
|
|
102
|
+
accordion: {
|
|
103
|
+
unstyled: boolean;
|
|
104
|
+
};
|
|
105
|
+
accordionItem: {
|
|
106
|
+
unstyled: boolean;
|
|
107
|
+
};
|
|
108
|
+
alert: {
|
|
109
|
+
unstyled: boolean;
|
|
110
|
+
};
|
|
111
|
+
card: {
|
|
112
|
+
unstyled: boolean;
|
|
113
|
+
};
|
|
114
|
+
cardHeader: {
|
|
115
|
+
unstyled: boolean;
|
|
116
|
+
};
|
|
117
|
+
cardBody: {
|
|
118
|
+
unstyled: boolean;
|
|
119
|
+
};
|
|
120
|
+
cardFooter: {
|
|
121
|
+
unstyled: boolean;
|
|
122
|
+
};
|
|
123
|
+
tabs: {
|
|
124
|
+
unstyled: boolean;
|
|
125
|
+
};
|
|
126
|
+
tab: {
|
|
127
|
+
unstyled: boolean;
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
export { useSettings };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1 +1,54 @@
|
|
|
1
1
|
export * from "./tailwind";
|
|
2
|
+
/**
|
|
3
|
+
* The commented string unions are to use in PropType<> for Vue components,
|
|
4
|
+
* TypeScript types or enums do not give errors when using a string that is not in the union.
|
|
5
|
+
**/
|
|
6
|
+
export declare const Variant: {
|
|
7
|
+
Filled: string;
|
|
8
|
+
FilledPrimary: string;
|
|
9
|
+
FilledSecondary: string;
|
|
10
|
+
FilledTertiary: string;
|
|
11
|
+
FilledSuccess: string;
|
|
12
|
+
FilledWarning: string;
|
|
13
|
+
FilledError: string;
|
|
14
|
+
FilledSurface: string;
|
|
15
|
+
Ringed: string;
|
|
16
|
+
RingedPrimary: string;
|
|
17
|
+
RingedSecondary: string;
|
|
18
|
+
RingedTertiary: string;
|
|
19
|
+
RingedSuccess: string;
|
|
20
|
+
RingedWarning: string;
|
|
21
|
+
RingedError: string;
|
|
22
|
+
RingedSurface: string;
|
|
23
|
+
Ghost: string;
|
|
24
|
+
GhostPrimary: string;
|
|
25
|
+
GhostSecondary: string;
|
|
26
|
+
GhostTertiary: string;
|
|
27
|
+
GhostSuccess: string;
|
|
28
|
+
GhostWarning: string;
|
|
29
|
+
GhostError: string;
|
|
30
|
+
GhostSurface: string;
|
|
31
|
+
Soft: string;
|
|
32
|
+
SoftPrimary: string;
|
|
33
|
+
SoftSecondary: string;
|
|
34
|
+
SoftTertiary: string;
|
|
35
|
+
SoftSuccess: string;
|
|
36
|
+
SoftWarning: string;
|
|
37
|
+
SoftError: string;
|
|
38
|
+
SoftSurface: string;
|
|
39
|
+
Glass: string;
|
|
40
|
+
GlassPrimary: string;
|
|
41
|
+
GlassSecondary: string;
|
|
42
|
+
GlassTertiary: string;
|
|
43
|
+
GlassSuccess: string;
|
|
44
|
+
GlassWarning: string;
|
|
45
|
+
GlassError: string;
|
|
46
|
+
GlassSurface: string;
|
|
47
|
+
};
|
|
48
|
+
export declare const Size: {
|
|
49
|
+
XS: string;
|
|
50
|
+
SM: string;
|
|
51
|
+
MD: string;
|
|
52
|
+
LG: string;
|
|
53
|
+
XL: string;
|
|
54
|
+
};
|