@code-coaching/vuetiful 0.28.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,97 +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
- preventOverflow: {
16
- type: BooleanConstructor;
17
- default: boolean;
18
- };
19
- classHeader: {
20
- type: () => CssClasses;
21
- default: string;
22
- };
23
- classLanguage: {
24
- type: () => CssClasses;
25
- default: string;
26
- };
27
- classPre: {
28
- type: () => CssClasses;
29
- default: string;
30
- };
31
- classCode: {
32
- type: () => CssClasses;
33
- default: string;
34
- };
35
- classButton: {
36
- type: () => CssClasses;
37
- default: string;
38
- };
39
- buttonText: {
40
- type: StringConstructor;
41
- default: string;
42
- };
43
- buttonCopiedText: {
44
- type: StringConstructor;
45
- default: string;
46
- };
47
- }, {}, 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, {
48
31
  copy: () => void;
49
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
50
- class: {
51
- type: StringConstructor;
52
- default: string;
53
- };
54
- language: {
55
- type: StringConstructor;
56
- default: string;
57
- };
58
- code: {
59
- type: StringConstructor;
60
- default: string;
61
- };
62
- preventOverflow: {
63
- type: BooleanConstructor;
64
- default: boolean;
65
- };
66
- classHeader: {
67
- type: () => CssClasses;
68
- default: string;
69
- };
70
- classLanguage: {
71
- type: () => CssClasses;
72
- default: string;
73
- };
74
- classPre: {
75
- type: () => CssClasses;
76
- default: string;
77
- };
78
- classCode: {
79
- type: () => CssClasses;
80
- default: string;
81
- };
82
- classButton: {
83
- type: () => CssClasses;
84
- default: string;
85
- };
86
- buttonText: {
87
- type: StringConstructor;
88
- default: string;
89
- };
90
- buttonCopiedText: {
91
- type: StringConstructor;
92
- default: string;
93
- };
94
- }>> & {
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
+ }>>> & {
95
47
  onCopy?: (() => any) | undefined;
96
48
  }, {
97
49
  class: string;
@@ -100,10 +52,29 @@ declare const _default: import("vue").DefineComponent<{
100
52
  classHeader: string;
101
53
  classPre: string;
102
54
  language: string;
55
+ fileName: string;
103
56
  preventOverflow: boolean;
104
57
  classLanguage: string;
105
58
  classCode: string;
59
+ classFileName: string;
106
60
  buttonText: string;
107
61
  buttonCopiedText: string;
108
62
  }, {}>;
109
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;