@bobbykim/mcl-cards 0.5.0 → 0.7.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,147 +0,0 @@
1
- <script setup lang="ts">
2
- import type {
3
- ColorPalette,
4
- CrossOrigin,
5
- HeadingSize,
6
- OpacityRange,
7
- } from '@bobbykim/manguito-theme'
8
- import generateClass from '@bobbykim/manguito-theme'
9
- import { computed, ref } from 'vue'
10
-
11
- const props = withDefaults(
12
- defineProps<{
13
- imageSource: string
14
- imageAlt?: string
15
- title?: string
16
- titleSize?: HeadingSize
17
- titleColor?: ColorPalette
18
- displayHighlight?: boolean
19
- highlightColor?: ColorPalette
20
- highlightOpacity?: OpacityRange
21
- displayTitle?: boolean
22
- cardColor?: ColorPalette
23
- imageCors?: CrossOrigin
24
- }>(),
25
- {
26
- titleSize: 'md',
27
- titleColor: 'dark-3',
28
- displayHighlight: false,
29
- highlightColor: 'light-3',
30
- highlightOpacity: 80,
31
- displayTitle: false,
32
- cardColor: 'primary',
33
- imageCors: 'anonymous',
34
- }
35
- )
36
-
37
- const slots = defineSlots<{
38
- 'card-body': any
39
- }>()
40
- const cardFlipped = ref<boolean>(false)
41
- const emit = defineEmits<{
42
- (e: 'card-click', event: Event): void
43
- }>()
44
-
45
- const cardClass = computed(() => {
46
- const classArray: string[] = [generateClass('BGCOLOR', props.cardColor)]
47
- if (cardFlipped.value) {
48
- classArray.push('flip-card')
49
- }
50
-
51
- return classArray.join(' ')
52
- })
53
- const titleClass = (
54
- tSize: HeadingSize,
55
- tColor: ColorPalette,
56
- dHl: boolean,
57
- hlColor: ColorPalette,
58
- hlOpacity: OpacityRange
59
- ): string => {
60
- /**
61
- * @tSize - titleSize
62
- * @tColor - titleColor
63
- * @dHl - displayHighlight
64
- * @hlColor - highlightColor
65
- * @hlOpacity - highlightOpacity
66
- */
67
- const classArray: string[] = [
68
- generateClass('H3', tSize),
69
- generateClass('TEXTCOLOR', tColor),
70
- ]
71
- if (dHl) {
72
- classArray.push('px-xs py-2xs mb-2xs rounded')
73
- classArray.push(generateClass('BGCOLOR', hlColor))
74
- classArray.push(generateClass('BGOPACITY', hlOpacity))
75
- }
76
- return classArray.join(' ')
77
- }
78
- const handleCardClick = (e: Event) => {
79
- e.preventDefault()
80
- if (cardFlipped.value) {
81
- emit('card-click', e)
82
- }
83
- cardFlipped.value = true
84
- }
85
- </script>
86
-
87
- <template>
88
- <div
89
- class="relative aspect-square card transition duration-[1600ms] max-h-[400px] overflow-hidden"
90
- :class="cardClass"
91
- @click="handleCardClick"
92
- >
93
- <img
94
- :src="imageSource"
95
- :alt="imageAlt"
96
- :class="[
97
- cardFlipped ? 'opacity-100' : 'opacity-0',
98
- 'absolute inset-0 object-cover object-center transition-opacity delay-500 duration-[800ms] grayscale-0 hover:grayscale',
99
- ]"
100
- :crossorigin="imageCors"
101
- />
102
- <div
103
- :class="[
104
- cardFlipped ? 'cursor-pointer opacity-100' : 'opacity-0',
105
- 'relative flex flex-col justify-end p-sm h-full transition delay-500 duration-[800ms]',
106
- ]"
107
- >
108
- <h3
109
- v-if="displayTitle"
110
- class="relative self-start"
111
- :class="
112
- titleClass(
113
- titleSize,
114
- titleColor,
115
- displayHighlight,
116
- highlightColor,
117
- highlightOpacity
118
- )
119
- "
120
- >
121
- <span>
122
- {{ title }}
123
- </span>
124
- </h3>
125
- <slot name="card-body" />
126
- </div>
127
- </div>
128
- </template>
129
-
130
- <style lang="scss" scoped>
131
- .perspective {
132
- -webkit-perspective: 1800px;
133
- perspective: 1800px;
134
- }
135
- .card {
136
- -webkit-transform-style: preserve-3d;
137
- transform-style: preserve-3d;
138
- -webkit-transform: rotateY(0deg);
139
- transform: rotateY(0deg);
140
- -webkit-backface-visibility: hidden;
141
- backface-visibility: hidden;
142
- }
143
- .flip-card {
144
- -webkit-transform: rotateY(360deg);
145
- transform: rotateY(360deg);
146
- }
147
- </style>
@@ -1,84 +0,0 @@
1
- import type { ColorPalette, CrossOrigin, HeadingSize, OpacityRange } from '@bobbykim/manguito-theme';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
- imageSource: string;
4
- imageAlt?: string | undefined;
5
- title?: string | undefined;
6
- titleSize?: HeadingSize | undefined;
7
- titleColor?: ColorPalette | undefined;
8
- displayHighlight?: boolean | undefined;
9
- highlightColor?: ColorPalette | undefined;
10
- highlightOpacity?: OpacityRange | undefined;
11
- displayTitle?: boolean | undefined;
12
- cardColor?: ColorPalette | undefined;
13
- imageCors?: CrossOrigin | undefined;
14
- }>, {
15
- titleSize: string;
16
- titleColor: string;
17
- displayHighlight: boolean;
18
- highlightColor: string;
19
- highlightOpacity: number;
20
- displayTitle: boolean;
21
- cardColor: string;
22
- imageCors: string;
23
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
24
- "card-click": (event: Event) => void;
25
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
26
- imageSource: string;
27
- imageAlt?: string | undefined;
28
- title?: string | undefined;
29
- titleSize?: HeadingSize | undefined;
30
- titleColor?: ColorPalette | undefined;
31
- displayHighlight?: boolean | undefined;
32
- highlightColor?: ColorPalette | undefined;
33
- highlightOpacity?: OpacityRange | undefined;
34
- displayTitle?: boolean | undefined;
35
- cardColor?: ColorPalette | undefined;
36
- imageCors?: CrossOrigin | undefined;
37
- }>, {
38
- titleSize: string;
39
- titleColor: string;
40
- displayHighlight: boolean;
41
- highlightColor: string;
42
- highlightOpacity: number;
43
- displayTitle: boolean;
44
- cardColor: string;
45
- imageCors: string;
46
- }>>> & {
47
- "onCard-click"?: ((event: Event) => any) | undefined;
48
- }, {
49
- titleColor: ColorPalette;
50
- titleSize: HeadingSize;
51
- imageCors: CrossOrigin;
52
- displayHighlight: boolean;
53
- highlightColor: ColorPalette;
54
- highlightOpacity: OpacityRange;
55
- displayTitle: boolean;
56
- cardColor: ColorPalette;
57
- }, {}>, Readonly<{
58
- 'card-body': any;
59
- }> & {
60
- 'card-body': any;
61
- }>;
62
- export default _default;
63
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
64
- type __VLS_TypePropsToRuntimeProps<T> = {
65
- [K in keyof T]-?: {} extends Pick<T, K> ? {
66
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
67
- } : {
68
- type: import('vue').PropType<T[K]>;
69
- required: true;
70
- };
71
- };
72
- type __VLS_WithDefaults<P, D> = {
73
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
74
- default: D[K];
75
- }> : P[K];
76
- };
77
- type __VLS_Prettify<T> = {
78
- [K in keyof T]: T[K];
79
- } & {};
80
- type __VLS_WithTemplateSlots<T, S> = T & {
81
- new (): {
82
- $slots: S;
83
- };
84
- };
@@ -1,268 +0,0 @@
1
- <script setup lang="ts">
2
- import type {
3
- ColorPalette,
4
- CrossOrigin,
5
- CtaTarget,
6
- HeadingSize,
7
- Range,
8
- } from '@bobbykim/manguito-theme'
9
- import generateClass from '@bobbykim/manguito-theme'
10
- import { computed } from 'vue'
11
- import type { CardClickEvent } from '../common/index.types'
12
- import type { ColorMap } from './index.types'
13
-
14
- // gradient color options objects
15
- const fromColorClasses: ColorMap = {
16
- primary: 'from-primary',
17
- secondary: 'from-secondary',
18
- success: 'from-success',
19
- info: 'from-info',
20
- warning: 'from-warning',
21
- danger: 'from-danger',
22
- 'light-1': 'from-light-1',
23
- 'light-2': 'from-light-2',
24
- 'light-3': 'from-light-3',
25
- 'light-4': 'from-light-4',
26
- 'dark-1': 'from-dark-1',
27
- 'dark-2': 'from-dark-2',
28
- 'dark-3': 'from-dark-3',
29
- 'dark-4': 'from-dark-4',
30
- black: 'from-black',
31
- white: 'from-white',
32
- transparent: 'from-transparent',
33
- }
34
- const viaColorClasses: ColorMap = {
35
- primary: 'via-primary',
36
- secondary: 'via-secondary',
37
- success: 'via-success',
38
- info: 'via-info',
39
- warning: 'via-warning',
40
- danger: 'via-danger',
41
- 'light-1': 'via-light-1',
42
- 'light-2': 'via-light-2',
43
- 'light-3': 'via-light-3',
44
- 'light-4': 'via-light-4',
45
- 'dark-1': 'via-dark-1',
46
- 'dark-2': 'via-dark-2',
47
- 'dark-3': 'via-dark-3',
48
- 'dark-4': 'via-dark-4',
49
- black: 'via-black',
50
- white: 'via-white',
51
- transparent: 'via-transparent',
52
- }
53
- const toColorClasses: ColorMap = {
54
- primary: 'to-primary',
55
- secondary: 'to-secondary',
56
- success: 'to-success',
57
- info: 'to-info',
58
- warning: 'to-warning',
59
- danger: 'to-danger',
60
- 'light-1': 'to-light-1',
61
- 'light-2': 'to-light-2',
62
- 'light-3': 'to-light-3',
63
- 'light-4': 'to-light-4',
64
- 'dark-1': 'to-dark-1',
65
- 'dark-2': 'to-dark-2',
66
- 'dark-3': 'to-dark-3',
67
- 'dark-4': 'to-dark-4',
68
- black: 'to-black',
69
- white: 'to-white',
70
- transparent: 'to-transparent',
71
- }
72
-
73
- const props = withDefaults(
74
- defineProps<{
75
- displayImage?: boolean
76
- imageSource?: string
77
- imageAlt?: string
78
- imageCors?: CrossOrigin
79
- title: string
80
- titleSize?: HeadingSize
81
- titleColor?: ColorPalette
82
- bgColor?: ColorPalette
83
- displayHighlight?: boolean
84
- highlightColor?: ColorPalette
85
- ctaText?: string
86
- ctaLink: string
87
- ctaLinkTarget?: CtaTarget
88
- ctaAsLink?: boolean
89
- ctaButton?: boolean
90
- ctaButtonColor?: ColorPalette
91
- ctaButtonBlock?: boolean
92
- borderWidth?: Range<1, 10>
93
- borderColor?: ColorPalette
94
- gradient1?: ColorPalette
95
- gradient2?: ColorPalette
96
- customColor?: ColorMap
97
- }>(),
98
- {
99
- displayImage: true,
100
- imageAlt: '',
101
- imageCors: 'anonymous',
102
- titleSize: 'md',
103
- titleColor: 'dark-4',
104
- bgColor: 'light-1',
105
- displayHighlight: true,
106
- highlightColor: 'primary',
107
- ctaText: 'Read more',
108
- ctaLinkTarget: '_self',
109
- ctaAsLink: true,
110
- ctaButton: false,
111
- ctaButtonColor: 'warning',
112
- ctaButtonBlock: false,
113
- borderWidth: 3,
114
- borderColor: 'light-3',
115
- gradient1: 'primary',
116
- gradient2: 'secondary',
117
- }
118
- )
119
-
120
- const slots = defineSlots<{
121
- default: any
122
- }>()
123
- const emit = defineEmits<{
124
- (e: 'card-click', event: Event, item: CardClickEvent): void
125
- }>()
126
-
127
- const titleClass = (size: HeadingSize, color: ColorPalette): string => {
128
- /**
129
- * @param {HeadingSize} size - titleSize
130
- * @param {ColorPalette} color - titleColor
131
- */
132
-
133
- const classArray: string[] = [
134
- generateClass('H2', size),
135
- generateClass('TEXTCOLOR', color),
136
- ]
137
- return classArray.join(' ')
138
- }
139
- const buttonClass = (
140
- dBtn: boolean,
141
- color: ColorPalette,
142
- block: boolean
143
- ): string => {
144
- /**
145
- * @param {boolean} - dBtn = ctaButton
146
- * @param {ColorPalette} - color = ctaButtonColor
147
- * @param {boolean} - block = ctaButtonBlock
148
- */
149
- const classArray: string[] = []
150
- const lightColor: string[] = ['light-1', 'light-2', 'light-3', 'light-4']
151
- if (!dBtn) {
152
- classArray.push('mcl-link')
153
- }
154
- if (dBtn) {
155
- classArray.push('btn')
156
- classArray.push(generateClass('BTNCOLOR', color))
157
- }
158
- if (dBtn && block) {
159
- classArray.push('btn-full')
160
- }
161
- if (dBtn && !lightColor.includes(color)) {
162
- classArray.push('text-white')
163
- }
164
- return classArray.join(' ')
165
- }
166
-
167
- const borderVariable = computed(() => {
168
- return {
169
- '--border-width': `${props.borderWidth}px`,
170
- }
171
- })
172
-
173
- const gradientClass = computed<string>(() => {
174
- const gradientBorerColor: string = fromColorClasses[props.borderColor]
175
- const gradient1Color: string = viaColorClasses[props.gradient1]
176
- const gradient2Color: string = toColorClasses[props.gradient2]
177
- let classArray: string[] = [
178
- generateClass('BORDER', props.borderColor),
179
- gradientBorerColor,
180
- gradient1Color,
181
- gradient2Color,
182
- ]
183
-
184
- return classArray.join(' ')
185
- })
186
-
187
- const handleCardClick = (e: Event) => {
188
- /**
189
- * @param {Event} e - click event
190
- * @param {Boolean} link - ctaAsLink
191
- */
192
-
193
- const { title, ctaLink, ctaLinkTarget, ctaAsLink } = props
194
- const cardEvent: CardClickEvent = {
195
- title,
196
- url: ctaLink,
197
- target: ctaLinkTarget ? ctaLinkTarget : '_self',
198
- }
199
- !ctaAsLink && e.preventDefault()
200
- emit('card-click', e, cardEvent)
201
- }
202
- </script>
203
-
204
- <template>
205
- <div
206
- class="card [--border-angle:0deg] bg-[conic-gradient(from_var(--border-angle),var(--tw-gradient-stops))] from-20% overflow-hidden rounded-md max-w-[450px] sm:max-w-[350px] w-full xs:w-auto flex-grow flex-shrink-0 border"
207
- :class="gradientClass"
208
- :style="borderVariable"
209
- >
210
- <div class="flex flex-col rounded-md overflow-hidden">
211
- <img
212
- v-if="displayImage"
213
- :src="imageSource"
214
- :crossorigin="imageCors"
215
- class="object-cover object-top max-h-[200px]"
216
- :alt="imageAlt"
217
- />
218
- <div class="p-xs" :class="generateClass('BGCOLOR', bgColor)">
219
- <h3 class="mb-xs" :class="titleClass(titleSize, titleColor)">
220
- {{ title }}
221
- </h3>
222
- <div
223
- v-if="displayHighlight"
224
- class="mb-xs h-3xs w-md"
225
- :class="generateClass('BGCOLOR', highlightColor)"
226
- ></div>
227
- <div>
228
- <slot></slot>
229
- </div>
230
- <div class="mt-xs" :class="{ 'mb-2xs': !ctaButton }">
231
- <a
232
- :href="ctaLink"
233
- :target="ctaLinkTarget"
234
- :class="buttonClass(ctaButton, ctaButtonColor, ctaButtonBlock)"
235
- @click="handleCardClick"
236
- >{{ ctaText }}</a
237
- >
238
- </div>
239
- </div>
240
- </div>
241
- </div>
242
- </template>
243
-
244
- <style lang="scss" scoped>
245
- .card {
246
- background-size: cover;
247
- background-position: center center;
248
- background-repeat: no-repeat;
249
- padding: var(--border-width);
250
-
251
- animation: bg-spin 4s linear infinite;
252
- @keyframes bg-spin {
253
- to {
254
- --border-angle: 360deg;
255
- }
256
- }
257
-
258
- &:hover {
259
- animation-play-state: paused;
260
- }
261
- }
262
-
263
- @property --border-angle {
264
- syntax: '<angle>';
265
- inherits: true;
266
- initial-value: 0deg;
267
- }
268
- </style>
@@ -1,138 +0,0 @@
1
- import type { ColorPalette, CrossOrigin, CtaTarget, HeadingSize } from '@bobbykim/manguito-theme';
2
- import type { CardClickEvent } from '../common/index.types';
3
- import type { ColorMap } from './index.types';
4
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
5
- displayImage?: boolean | undefined;
6
- imageSource?: string | undefined;
7
- imageAlt?: string | undefined;
8
- imageCors?: CrossOrigin | undefined;
9
- title: string;
10
- titleSize?: HeadingSize | undefined;
11
- titleColor?: ColorPalette | undefined;
12
- bgColor?: ColorPalette | undefined;
13
- displayHighlight?: boolean | undefined;
14
- highlightColor?: ColorPalette | undefined;
15
- ctaText?: string | undefined;
16
- ctaLink: string;
17
- ctaLinkTarget?: CtaTarget | undefined;
18
- ctaAsLink?: boolean | undefined;
19
- ctaButton?: boolean | undefined;
20
- ctaButtonColor?: ColorPalette | undefined;
21
- ctaButtonBlock?: boolean | undefined;
22
- borderWidth?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | undefined;
23
- borderColor?: ColorPalette | undefined;
24
- gradient1?: ColorPalette | undefined;
25
- gradient2?: ColorPalette | undefined;
26
- customColor?: ColorMap | undefined;
27
- }>, {
28
- displayImage: boolean;
29
- imageAlt: string;
30
- imageCors: string;
31
- titleSize: string;
32
- titleColor: string;
33
- bgColor: string;
34
- displayHighlight: boolean;
35
- highlightColor: string;
36
- ctaText: string;
37
- ctaLinkTarget: string;
38
- ctaAsLink: boolean;
39
- ctaButton: boolean;
40
- ctaButtonColor: string;
41
- ctaButtonBlock: boolean;
42
- borderWidth: number;
43
- borderColor: string;
44
- gradient1: string;
45
- gradient2: string;
46
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
47
- "card-click": (event: Event, item: CardClickEvent) => void;
48
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
49
- displayImage?: boolean | undefined;
50
- imageSource?: string | undefined;
51
- imageAlt?: string | undefined;
52
- imageCors?: CrossOrigin | undefined;
53
- title: string;
54
- titleSize?: HeadingSize | undefined;
55
- titleColor?: ColorPalette | undefined;
56
- bgColor?: ColorPalette | undefined;
57
- displayHighlight?: boolean | undefined;
58
- highlightColor?: ColorPalette | undefined;
59
- ctaText?: string | undefined;
60
- ctaLink: string;
61
- ctaLinkTarget?: CtaTarget | undefined;
62
- ctaAsLink?: boolean | undefined;
63
- ctaButton?: boolean | undefined;
64
- ctaButtonColor?: ColorPalette | undefined;
65
- ctaButtonBlock?: boolean | undefined;
66
- borderWidth?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | undefined;
67
- borderColor?: ColorPalette | undefined;
68
- gradient1?: ColorPalette | undefined;
69
- gradient2?: ColorPalette | undefined;
70
- customColor?: ColorMap | undefined;
71
- }>, {
72
- displayImage: boolean;
73
- imageAlt: string;
74
- imageCors: string;
75
- titleSize: string;
76
- titleColor: string;
77
- bgColor: string;
78
- displayHighlight: boolean;
79
- highlightColor: string;
80
- ctaText: string;
81
- ctaLinkTarget: string;
82
- ctaAsLink: boolean;
83
- ctaButton: boolean;
84
- ctaButtonColor: string;
85
- ctaButtonBlock: boolean;
86
- borderWidth: number;
87
- borderColor: string;
88
- gradient1: string;
89
- gradient2: string;
90
- }>>> & {
91
- "onCard-click"?: ((event: Event, item: CardClickEvent) => any) | undefined;
92
- }, {
93
- bgColor: ColorPalette;
94
- titleColor: ColorPalette;
95
- titleSize: HeadingSize;
96
- borderColor: ColorPalette;
97
- displayImage: boolean;
98
- imageAlt: string;
99
- imageCors: CrossOrigin;
100
- ctaAsLink: boolean;
101
- ctaText: string;
102
- displayHighlight: boolean;
103
- highlightColor: ColorPalette;
104
- ctaLinkTarget: CtaTarget;
105
- ctaButton: boolean;
106
- ctaButtonColor: ColorPalette;
107
- ctaButtonBlock: boolean;
108
- borderWidth: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
109
- gradient1: ColorPalette;
110
- gradient2: ColorPalette;
111
- }, {}>, Readonly<{
112
- default: any;
113
- }> & {
114
- default: any;
115
- }>;
116
- export default _default;
117
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
118
- type __VLS_TypePropsToRuntimeProps<T> = {
119
- [K in keyof T]-?: {} extends Pick<T, K> ? {
120
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
121
- } : {
122
- type: import('vue').PropType<T[K]>;
123
- required: true;
124
- };
125
- };
126
- type __VLS_WithDefaults<P, D> = {
127
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
128
- default: D[K];
129
- }> : P[K];
130
- };
131
- type __VLS_Prettify<T> = {
132
- [K in keyof T]: T[K];
133
- } & {};
134
- type __VLS_WithTemplateSlots<T, S> = T & {
135
- new (): {
136
- $slots: S;
137
- };
138
- };
@@ -1,4 +0,0 @@
1
- import type { ColorPalette } from '@bobbykim/manguito-theme';
2
- export type ColorMap = {
3
- [key in ColorPalette]: string;
4
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,5 +0,0 @@
1
- import type { ColorPalette } from '@bobbykim/manguito-theme'
2
-
3
- export type ColorMap = {
4
- [key in ColorPalette]: string
5
- }
package/tsconfig.json DELETED
@@ -1,5 +0,0 @@
1
- {
2
- "extends": "../../../tsconfig.json",
3
- "include": ["./**/*.ts", "./**/*.vue"],
4
- "exclude": ["node_modules", "./**/*.vue.d.ts"]
5
- }
package/tsconfig.ts.json DELETED
@@ -1,9 +0,0 @@
1
- {
2
- "extends": "../../../tsconfig.json",
3
- "include": ["./**/*.ts"],
4
- "exclude": ["node_modules", "./**/*.vue.d.ts", "./**/*.vue"],
5
- "compilerOptions": {
6
- "skipLibCheck": true,
7
- "declaration": true
8
- }
9
- }
package/tsconfig.vue.json DELETED
@@ -1,9 +0,0 @@
1
- {
2
- "extends": "../../../tsconfig.json",
3
- "include": ["./**/*.vue"],
4
- "exclude": ["node_modules"],
5
- "compilerOptions": {
6
- "declaration": true,
7
- "emitDeclarationOnly": true
8
- }
9
- }