@code-coaching/vuetiful 0.27.0 → 0.29.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/types/components/atoms/VRadio/VRadioGroup.vue.d.ts +2 -1
- package/dist/types/components/atoms/VSwitch/VSwitch.vue.d.ts +1 -1
- package/dist/types/components/atoms/index.d.ts +1 -2
- package/dist/types/components/molecules/VCodeBlock.vue.d.ts +18 -0
- package/dist/types/components/molecules/VRail/VRailTile.vue.d.ts +1 -1
- package/dist/types/services/drawer.service.d.ts +1 -1
- package/dist/types/services/index.d.ts +2 -3
- package/dist/types/utils/index.d.ts +5 -2
- package/dist/types/utils/theme/VLightSwitch.vue.d.ts +16 -0
- package/dist/types/utils/theme/VThemeSwitch.vue.d.ts +41 -0
- package/dist/vuetiful.es.mjs +3408 -3263
- package/dist/vuetiful.umd.cjs +10 -10
- package/package.json +1 -1
- package/dist/css/animations.css +0 -2
- package/dist/css/transitions/fade.css +0 -14
- package/dist/css/transitions/slide.css +0 -89
- package/dist/types/components/atoms/VLightSwitch.vue.d.ts +0 -95
- package/dist/types/utils/theme/theme-switcher.vue.d.ts +0 -78
- /package/dist/types/{services → utils/theme}/dark-mode.service.d.ts +0 -0
|
@@ -7,6 +7,7 @@ interface RadioGroupProps {
|
|
|
7
7
|
classItemHover?: string;
|
|
8
8
|
classItemDisabled?: string;
|
|
9
9
|
classItem?: string;
|
|
10
|
+
vertical?: boolean;
|
|
10
11
|
}
|
|
11
12
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<RadioGroupProps>, {
|
|
12
13
|
class: string;
|
|
@@ -26,10 +27,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
26
27
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
27
28
|
}, {
|
|
28
29
|
class: string;
|
|
30
|
+
classItem: string;
|
|
29
31
|
classItemActive: string;
|
|
30
32
|
classItemHover: string;
|
|
31
33
|
classItemDisabled: string;
|
|
32
|
-
classItem: string;
|
|
33
34
|
}, {}>, {
|
|
34
35
|
default?(_: {}): any;
|
|
35
36
|
}>;
|
|
@@ -2,7 +2,6 @@ import VAvatar from './VAvatar.vue';
|
|
|
2
2
|
import VBadge from './VBadge.vue';
|
|
3
3
|
import VButton from './VButton.vue';
|
|
4
4
|
import VChip from './VChip.vue';
|
|
5
|
-
import VLightSwitch from './VLightSwitch.vue';
|
|
6
5
|
import VRadioDescription from './VRadio/VRadioDescription.vue';
|
|
7
6
|
import VRadioGroup from './VRadio/VRadioGroup.vue';
|
|
8
7
|
import VRadioItem from './VRadio/VRadioItem.vue';
|
|
@@ -11,4 +10,4 @@ import VSwitch from './VSwitch/VSwitch.vue';
|
|
|
11
10
|
import VSwitchDescription from './VSwitch/VSwitchDescription.vue';
|
|
12
11
|
import VSwitchGroup from './VSwitch/VSwitchGroup.vue';
|
|
13
12
|
import VSwitchLabel from './VSwitch/VSwitchLabel.vue';
|
|
14
|
-
export { VAvatar, VButton, VBadge, VChip,
|
|
13
|
+
export { VAvatar, VButton, VBadge, VChip, VRadioGroup, VRadioItem, VRadioLabel, VRadioDescription, VSwitchGroup, VSwitchLabel, VSwitchDescription, VSwitch, };
|
|
@@ -12,6 +12,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
12
12
|
type: StringConstructor;
|
|
13
13
|
default: string;
|
|
14
14
|
};
|
|
15
|
+
fileName: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
15
19
|
preventOverflow: {
|
|
16
20
|
type: BooleanConstructor;
|
|
17
21
|
default: boolean;
|
|
@@ -32,6 +36,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
32
36
|
type: () => CssClasses;
|
|
33
37
|
default: string;
|
|
34
38
|
};
|
|
39
|
+
classFileName: {
|
|
40
|
+
type: () => CssClasses;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
35
43
|
classButton: {
|
|
36
44
|
type: () => CssClasses;
|
|
37
45
|
default: string;
|
|
@@ -59,6 +67,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
59
67
|
type: StringConstructor;
|
|
60
68
|
default: string;
|
|
61
69
|
};
|
|
70
|
+
fileName: {
|
|
71
|
+
type: StringConstructor;
|
|
72
|
+
default: string;
|
|
73
|
+
};
|
|
62
74
|
preventOverflow: {
|
|
63
75
|
type: BooleanConstructor;
|
|
64
76
|
default: boolean;
|
|
@@ -79,6 +91,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
79
91
|
type: () => CssClasses;
|
|
80
92
|
default: string;
|
|
81
93
|
};
|
|
94
|
+
classFileName: {
|
|
95
|
+
type: () => CssClasses;
|
|
96
|
+
default: string;
|
|
97
|
+
};
|
|
82
98
|
classButton: {
|
|
83
99
|
type: () => CssClasses;
|
|
84
100
|
default: string;
|
|
@@ -100,9 +116,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
100
116
|
classHeader: string;
|
|
101
117
|
classPre: string;
|
|
102
118
|
language: string;
|
|
119
|
+
fileName: string;
|
|
103
120
|
preventOverflow: boolean;
|
|
104
121
|
classLanguage: string;
|
|
105
122
|
classCode: string;
|
|
123
|
+
classFileName: string;
|
|
106
124
|
buttonText: string;
|
|
107
125
|
buttonCopiedText: string;
|
|
108
126
|
}, {}>;
|
|
@@ -60,9 +60,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
60
60
|
class: string;
|
|
61
61
|
label: string;
|
|
62
62
|
value: string;
|
|
63
|
+
classIcon: string;
|
|
63
64
|
classActive: string;
|
|
64
65
|
classHover: string;
|
|
65
|
-
classIcon: string;
|
|
66
66
|
classLabel: string;
|
|
67
67
|
}, {}>, {
|
|
68
68
|
default?(_: {}): any;
|
|
@@ -13,7 +13,7 @@ declare const useDrawer: () => {
|
|
|
13
13
|
readonly id?: string | undefined;
|
|
14
14
|
readonly open?: boolean | undefined;
|
|
15
15
|
readonly position?: "bottom" | "left" | "right" | "top" | undefined;
|
|
16
|
-
readonly duration?:
|
|
16
|
+
readonly duration?: 150 | 300 | undefined;
|
|
17
17
|
readonly regionBackdrop?: string | undefined;
|
|
18
18
|
readonly regionDrawer?: string | undefined;
|
|
19
19
|
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { useDarkMode, type Mode } from './dark-mode.service';
|
|
2
1
|
import { useDrawer } from './drawer.service';
|
|
3
2
|
import { useHighlight } from './highlight.service';
|
|
4
3
|
import { useRail } from './rail.service';
|
|
5
4
|
import { useSettings, type VuetifulSettings } from './settings.service';
|
|
6
|
-
export {
|
|
7
|
-
export type { VuetifulSettings
|
|
5
|
+
export { useDrawer, useHighlight, useRail, useSettings };
|
|
6
|
+
export type { VuetifulSettings };
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { usePlatform } from './platform/platform.service';
|
|
2
|
-
import
|
|
2
|
+
import { useDarkMode, type Mode } from './theme/dark-mode.service';
|
|
3
|
+
import VLightSwitch from './theme/VLightSwitch.vue';
|
|
4
|
+
import VThemeSwitch from './theme/VThemeSwitch.vue';
|
|
3
5
|
import { useTheme } from './theme/theme.service';
|
|
4
6
|
import { idGenerator } from './id-generator';
|
|
5
7
|
import { tm } from './tailwind-merge';
|
|
6
|
-
export {
|
|
8
|
+
export { VThemeSwitch, usePlatform, useTheme, idGenerator, tm, useDarkMode, VLightSwitch };
|
|
9
|
+
export type { Mode };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
interface LightSwitchProps {
|
|
2
|
+
class?: string;
|
|
3
|
+
classThumb?: string;
|
|
4
|
+
classIcon?: string;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<LightSwitchProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<LightSwitchProps>>>, {}, {}>;
|
|
7
|
+
export default _default;
|
|
8
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
9
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
10
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
11
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
12
|
+
} : {
|
|
13
|
+
type: import('vue').PropType<T[K]>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
class: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
classButton: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
classItem: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
classItemActive: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
|
+
class: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
classButton: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
classItem: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
classItemActive: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
}>>, {
|
|
36
|
+
class: string;
|
|
37
|
+
classButton: string;
|
|
38
|
+
classItem: string;
|
|
39
|
+
classItemActive: string;
|
|
40
|
+
}, {}>;
|
|
41
|
+
export default _default;
|