srcdev-nuxt-components 2.5.17 → 2.5.18

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.
@@ -52,7 +52,7 @@
52
52
  </template>
53
53
 
54
54
  <script setup lang="ts">
55
- import NuxtImg from '#image/components/NuxtImg.vue';
55
+ import { type IGalleryData } from '~/types/gallery-data';
56
56
 
57
57
  const props = defineProps({
58
58
  autoRun: {
@@ -73,20 +73,6 @@ const props = defineProps({
73
73
  },
74
74
  });
75
75
 
76
- interface IGalleryData {
77
- src: string;
78
- alt: string;
79
- stylist?: string;
80
- title?: string;
81
- category?: string;
82
- description?: string;
83
- thumbnail?: {
84
- title: string;
85
- description: string;
86
- };
87
- textBrightness: 'light' | 'dark';
88
- }
89
-
90
76
  const { elementClasses, resetElementClasses } = useStyleClassPassthrough(props.styleClassPassthrough);
91
77
  const galleryData = defineModel<IGalleryData[]>('galleryData');
92
78
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "srcdev-nuxt-components",
3
3
  "type": "module",
4
- "version": "2.5.17",
4
+ "version": "2.5.18",
5
5
  "main": "nuxt.config.ts",
6
6
  "scripts": {
7
7
  "clean": "rm -rf .nuxt && rm -rf .output && rm -rf .playground/.nuxt && rm -rf .playground/.output",
@@ -0,0 +1,13 @@
1
+ export interface IGalleryData {
2
+ src: string;
3
+ alt: string;
4
+ stylist?: string;
5
+ title?: string;
6
+ category?: string;
7
+ description?: string;
8
+ thumbnail?: {
9
+ title: string;
10
+ description: string;
11
+ };
12
+ textBrightness: 'light' | 'dark';
13
+ }