itube-specs 0.0.347 → 0.0.349

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.
@@ -15,13 +15,14 @@
15
15
  :top-chips="topChips"
16
16
  :playlist-id="playlistId"
17
17
  :playlist="playlist"
18
+ :current-chips="currentChips"
18
19
  />
19
20
  <slot></slot>
20
21
  </div>
21
22
  </template>
22
23
 
23
24
  <script setup lang="ts">
24
- import type { IVideoCard } from '../../types';
25
+ import type { IChipsItem, IVideoCard } from '../../types';
25
26
 
26
27
  defineProps<{
27
28
  items: Array<IVideoCard>
@@ -31,5 +32,6 @@ defineProps<{
31
32
  playlist?: boolean
32
33
  playlistId?: string
33
34
  topChips?: string[]
35
+ currentChips?: IChipsItem[]
34
36
  }>()
35
37
  </script>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "itube-specs",
3
3
  "type": "module",
4
- "version": "0.0.347",
4
+ "version": "0.0.349",
5
5
  "main": "./nuxt.config.ts",
6
6
  "types": "./types/index.d.ts",
7
7
  "scripts": {
@@ -1,28 +0,0 @@
1
- <template>
2
- <NuxtLink
3
- class="s-model-tag"
4
- :to="generateLink(`/models/${convertString().toSlug(card.title)}`)"
5
- >
6
- <SImg
7
- class="s-model-tag__img"
8
- sizes="20px sm:24px"
9
- :src="card.primaryImageUrl || placeholder"
10
- width="20"
11
- height="20"
12
- :alt="card.title"
13
- />
14
- {{ card.title }}
15
- </NuxtLink>
16
- </template>
17
-
18
- <script setup lang="ts">
19
- import type { IModelTag } from '../../types';
20
- import { convertString } from '../../runtime';
21
-
22
- defineProps<{
23
- card: IModelTag
24
- placeholder: string
25
- }>()
26
-
27
- const { generateLink } = useGenerateLink();
28
- </script>