@code-coaching/vuetiful 0.29.0 → 0.30.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.
@@ -1,47 +1,25 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
- class: {
3
- type: StringConstructor;
4
- default: string;
5
- };
6
- classActive: {
7
- type: StringConstructor;
8
- default: string;
9
- };
10
- classHover: {
11
- type: StringConstructor;
12
- default: string;
13
- };
14
- classDisabled: {
15
- type: StringConstructor;
16
- default: string;
17
- };
18
- value: {
19
- type: (BooleanConstructor | ObjectConstructor | StringConstructor | NumberConstructor)[];
20
- required: true;
21
- };
22
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
23
- class: {
24
- type: StringConstructor;
25
- default: string;
26
- };
27
- classActive: {
28
- type: StringConstructor;
29
- default: string;
30
- };
31
- classHover: {
32
- type: StringConstructor;
33
- default: string;
34
- };
35
- classDisabled: {
36
- type: StringConstructor;
37
- default: string;
38
- };
39
- value: {
40
- type: (BooleanConstructor | ObjectConstructor | StringConstructor | NumberConstructor)[];
41
- required: true;
42
- };
43
- }>>, {
1
+ interface RadioItemProps {
2
+ class: string;
3
+ classActive: string;
4
+ classHover: string;
5
+ classDisabled: string;
6
+ value: string | number | boolean | object;
7
+ }
8
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<RadioItemProps>, {
9
+ class: string;
10
+ classActive: string;
11
+ classHover: string;
12
+ classDisabled: string;
13
+ value: string;
14
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<RadioItemProps>, {
15
+ class: string;
16
+ classActive: string;
17
+ classHover: string;
18
+ classDisabled: string;
19
+ value: string;
20
+ }>>>, {
44
21
  class: string;
22
+ value: string | number | boolean | object;
45
23
  classActive: string;
46
24
  classHover: string;
47
25
  classDisabled: string;
@@ -49,6 +27,23 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
49
27
  default?(_: {}): any;
50
28
  }>;
51
29
  export default _default;
30
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
31
+ type __VLS_TypePropsToRuntimeProps<T> = {
32
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
33
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
34
+ } : {
35
+ type: import('vue').PropType<T[K]>;
36
+ required: true;
37
+ };
38
+ };
39
+ type __VLS_WithDefaults<P, D> = {
40
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
41
+ default: D[K];
42
+ }> : P[K];
43
+ };
44
+ type __VLS_Prettify<T> = {
45
+ [K in keyof T]: T[K];
46
+ } & {};
52
47
  type __VLS_WithTemplateSlots<T, S> = T & {
53
48
  new (): {
54
49
  $slots: S;
@@ -1,113 +1,49 @@
1
- import { type CssClasses } from '@/lib';
2
- declare const _default: import("vue").DefineComponent<{
3
- class: {
4
- type: StringConstructor;
5
- default: string;
6
- };
7
- language: {
8
- type: StringConstructor;
9
- default: string;
10
- };
11
- code: {
12
- type: StringConstructor;
13
- default: string;
14
- };
15
- fileName: {
16
- type: StringConstructor;
17
- default: string;
18
- };
19
- preventOverflow: {
20
- type: BooleanConstructor;
21
- default: boolean;
22
- };
23
- classHeader: {
24
- type: () => CssClasses;
25
- default: string;
26
- };
27
- classLanguage: {
28
- type: () => CssClasses;
29
- default: string;
30
- };
31
- classPre: {
32
- type: () => CssClasses;
33
- default: string;
34
- };
35
- classCode: {
36
- type: () => CssClasses;
37
- default: string;
38
- };
39
- classFileName: {
40
- type: () => CssClasses;
41
- default: string;
42
- };
43
- classButton: {
44
- type: () => CssClasses;
45
- default: string;
46
- };
47
- buttonText: {
48
- type: StringConstructor;
49
- default: string;
50
- };
51
- buttonCopiedText: {
52
- type: StringConstructor;
53
- default: string;
54
- };
55
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1
+ interface CodeBlockProps {
2
+ class: string;
3
+ language: string;
4
+ code: string;
5
+ fileName: string;
6
+ preventOverflow: boolean;
7
+ classHeader: string;
8
+ classLanguage: string;
9
+ classPre: string;
10
+ classCode: string;
11
+ classFileName: string;
12
+ classButton: string;
13
+ buttonText: string;
14
+ buttonCopiedText: string;
15
+ }
16
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<CodeBlockProps>, {
17
+ class: string;
18
+ language: string;
19
+ code: string;
20
+ fileName: string;
21
+ preventOverflow: boolean;
22
+ classHeader: string;
23
+ classLanguage: string;
24
+ classPre: string;
25
+ classCode: string;
26
+ classFileName: string;
27
+ classButton: string;
28
+ buttonText: string;
29
+ buttonCopiedText: string;
30
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
56
31
  copy: () => void;
57
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
58
- class: {
59
- type: StringConstructor;
60
- default: string;
61
- };
62
- language: {
63
- type: StringConstructor;
64
- default: string;
65
- };
66
- code: {
67
- type: StringConstructor;
68
- default: string;
69
- };
70
- fileName: {
71
- type: StringConstructor;
72
- default: string;
73
- };
74
- preventOverflow: {
75
- type: BooleanConstructor;
76
- default: boolean;
77
- };
78
- classHeader: {
79
- type: () => CssClasses;
80
- default: string;
81
- };
82
- classLanguage: {
83
- type: () => CssClasses;
84
- default: string;
85
- };
86
- classPre: {
87
- type: () => CssClasses;
88
- default: string;
89
- };
90
- classCode: {
91
- type: () => CssClasses;
92
- default: string;
93
- };
94
- classFileName: {
95
- type: () => CssClasses;
96
- default: string;
97
- };
98
- classButton: {
99
- type: () => CssClasses;
100
- default: string;
101
- };
102
- buttonText: {
103
- type: StringConstructor;
104
- default: string;
105
- };
106
- buttonCopiedText: {
107
- type: StringConstructor;
108
- default: string;
109
- };
110
- }>> & {
32
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<CodeBlockProps>, {
33
+ class: string;
34
+ language: string;
35
+ code: string;
36
+ fileName: string;
37
+ preventOverflow: boolean;
38
+ classHeader: string;
39
+ classLanguage: string;
40
+ classPre: string;
41
+ classCode: string;
42
+ classFileName: string;
43
+ classButton: string;
44
+ buttonText: string;
45
+ buttonCopiedText: string;
46
+ }>>> & {
111
47
  onCopy?: (() => any) | undefined;
112
48
  }, {
113
49
  class: string;
@@ -125,3 +61,20 @@ declare const _default: import("vue").DefineComponent<{
125
61
  buttonCopiedText: string;
126
62
  }, {}>;
127
63
  export default _default;
64
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
65
+ type __VLS_TypePropsToRuntimeProps<T> = {
66
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
67
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
68
+ } : {
69
+ type: import('vue').PropType<T[K]>;
70
+ required: true;
71
+ };
72
+ };
73
+ type __VLS_WithDefaults<P, D> = {
74
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
75
+ default: D[K];
76
+ }> : P[K];
77
+ };
78
+ type __VLS_Prettify<T> = {
79
+ [K in keyof T]: T[K];
80
+ } & {};
@@ -1,46 +1,45 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
- regionBackdrop: {
3
- type: () => string;
4
- default: string;
5
- };
6
- regionDrawer: {
7
- type: () => string;
8
- default: string;
9
- };
10
- labelledby: {
11
- type: StringConstructor;
12
- default: string;
13
- };
14
- describedby: {
15
- type: StringConstructor;
16
- default: string;
17
- };
18
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
19
- regionBackdrop: {
20
- type: () => string;
21
- default: string;
22
- };
23
- regionDrawer: {
24
- type: () => string;
25
- default: string;
26
- };
27
- labelledby: {
28
- type: StringConstructor;
29
- default: string;
30
- };
31
- describedby: {
32
- type: StringConstructor;
33
- default: string;
34
- };
35
- }>>, {
36
- regionBackdrop: string;
37
- regionDrawer: string;
1
+ interface DrawerProps {
2
+ classBackdrop: string;
3
+ classDrawer: string;
4
+ labelledby: string;
5
+ describedby: string;
6
+ }
7
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<DrawerProps>, {
8
+ classBackdrop: string;
9
+ classDrawer: string;
10
+ labelledby: string;
11
+ describedby: string;
12
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<DrawerProps>, {
13
+ classBackdrop: string;
14
+ classDrawer: string;
15
+ labelledby: string;
16
+ describedby: string;
17
+ }>>>, {
18
+ classBackdrop: string;
19
+ classDrawer: string;
38
20
  labelledby: string;
39
21
  describedby: string;
40
22
  }, {}>, {
41
23
  default?(_: {}): any;
42
24
  }>;
43
25
  export default _default;
26
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
27
+ type __VLS_TypePropsToRuntimeProps<T> = {
28
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
29
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
30
+ } : {
31
+ type: import('vue').PropType<T[K]>;
32
+ required: true;
33
+ };
34
+ };
35
+ type __VLS_WithDefaults<P, D> = {
36
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
37
+ default: D[K];
38
+ }> : P[K];
39
+ };
40
+ type __VLS_Prettify<T> = {
41
+ [K in keyof T]: T[K];
42
+ } & {};
44
43
  type __VLS_WithTemplateSlots<T, S> = T & {
45
44
  new (): {
46
45
  $slots: S;
@@ -1 +1,3 @@
1
+ import { type Config } from 'tailwind-merge';
2
+ export declare const withVuetiful: (prevConfig: Config<any, any>) => Config<any, any>;
1
3
  export declare const tm: (...classLists: import("tailwind-merge").ClassNameValue[]) => string;