@unsource/ui 1.3.0 → 1.5.1

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.
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "unsource-ui",
3
3
  "configKey": "unsourceUi",
4
- "version": "1.3.0",
4
+ "version": "1.5.1",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
@@ -2,10 +2,10 @@ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
3
  declare const __VLS_export: import("vue").DefineComponent<{}, {
4
4
  $props: Partial<typeof props>;
5
- title: string;
6
- label: string;
7
5
  icon: string;
8
6
  appendIcon: string;
7
+ label: string;
8
+ title: string;
9
9
  appendText: string;
10
10
  data: unknown[];
11
11
  disabled: boolean;
@@ -17,10 +17,10 @@ declare const __VLS_export: import("vue").DefineComponent<{}, {
17
17
  px: string;
18
18
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
19
19
  declare const props: {
20
- readonly title: string;
21
- readonly label: string;
22
20
  readonly icon: string;
23
21
  readonly appendIcon: string;
22
+ readonly label: string;
23
+ readonly title: string;
24
24
  readonly appendText: string;
25
25
  readonly data: unknown[];
26
26
  readonly disabled: boolean;
@@ -2,10 +2,10 @@ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
3
  declare const __VLS_export: import("vue").DefineComponent<{}, {
4
4
  $props: Partial<typeof props>;
5
- title: string;
6
- label: string;
7
5
  icon: string;
8
6
  appendIcon: string;
7
+ label: string;
8
+ title: string;
9
9
  appendText: string;
10
10
  data: unknown[];
11
11
  disabled: boolean;
@@ -17,10 +17,10 @@ declare const __VLS_export: import("vue").DefineComponent<{}, {
17
17
  px: string;
18
18
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
19
19
  declare const props: {
20
- readonly title: string;
21
- readonly label: string;
22
20
  readonly icon: string;
23
21
  readonly appendIcon: string;
22
+ readonly label: string;
23
+ readonly title: string;
24
24
  readonly appendText: string;
25
25
  readonly data: unknown[];
26
26
  readonly disabled: boolean;
@@ -27,11 +27,14 @@ type __VLS_ModelProps = {
27
27
  };
28
28
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
29
29
  declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{}>, {
30
- label: string;
31
30
  appendIcon: string;
31
+ label: string;
32
32
  appendText: string;
33
33
  disabled: boolean;
34
34
  prependIcon: string;
35
+ date: boolean;
36
+ placeholder: string;
37
+ focusable: boolean;
35
38
  className: string;
36
39
  valueClassName: string;
37
40
  focusClassName: string;
@@ -39,13 +42,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
39
42
  appendIconType: string;
40
43
  appendIconClass: string;
41
44
  inputType: string;
42
- placeholder: string;
43
45
  password: boolean;
44
- date: boolean;
45
46
  inputMode: string;
46
47
  iconColor: string;
47
48
  bgStyle: string;
48
- focusable: boolean;
49
49
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
50
50
  declare const _default: typeof __VLS_export;
51
51
  export default _default;
@@ -27,11 +27,14 @@ type __VLS_ModelProps = {
27
27
  };
28
28
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
29
29
  declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{}>, {
30
- label: string;
31
30
  appendIcon: string;
31
+ label: string;
32
32
  appendText: string;
33
33
  disabled: boolean;
34
34
  prependIcon: string;
35
+ date: boolean;
36
+ placeholder: string;
37
+ focusable: boolean;
35
38
  className: string;
36
39
  valueClassName: string;
37
40
  focusClassName: string;
@@ -39,13 +42,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
39
42
  appendIconType: string;
40
43
  appendIconClass: string;
41
44
  inputType: string;
42
- placeholder: string;
43
45
  password: boolean;
44
- date: boolean;
45
46
  inputMode: string;
46
47
  iconColor: string;
47
48
  bgStyle: string;
48
- focusable: boolean;
49
49
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
50
50
  declare const _default: typeof __VLS_export;
51
51
  export default _default;
@@ -3,9 +3,9 @@ export default _default;
3
3
  declare const __VLS_export: import("vue").DefineComponent<{}, {
4
4
  $props: Partial<typeof __VLS_props>;
5
5
  fixed: boolean;
6
- data: string | number | boolean | unknown[] | Record<string, any>;
6
+ data: string | number | boolean | Record<string, any> | unknown[];
7
7
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
8
8
  declare const __VLS_props: {
9
9
  readonly fixed: boolean;
10
- readonly data: string | number | boolean | unknown[] | Record<string, any>;
10
+ readonly data: string | number | boolean | Record<string, any> | unknown[];
11
11
  };
@@ -3,9 +3,9 @@ export default _default;
3
3
  declare const __VLS_export: import("vue").DefineComponent<{}, {
4
4
  $props: Partial<typeof __VLS_props>;
5
5
  fixed: boolean;
6
- data: string | number | boolean | unknown[] | Record<string, any>;
6
+ data: string | number | boolean | Record<string, any> | unknown[];
7
7
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
8
8
  declare const __VLS_props: {
9
9
  readonly fixed: boolean;
10
- readonly data: string | number | boolean | unknown[] | Record<string, any>;
10
+ readonly data: string | number | boolean | Record<string, any> | unknown[];
11
11
  };
@@ -6,8 +6,8 @@ type __VLS_WithSlots<T, S> = T & (new () => {
6
6
  });
7
7
  declare const __VLS_base: import("vue").DefineComponent<{}, {
8
8
  $props: Partial<typeof props>;
9
- label: string;
10
9
  icon: string;
10
+ label: string;
11
11
  disabled: boolean;
12
12
  accept: string;
13
13
  edit: boolean;
@@ -16,8 +16,8 @@ type __VLS_Slots = {
16
16
  icon?: ((props: {}) => any) | undefined;
17
17
  };
18
18
  declare const props: {
19
- readonly label: string;
20
19
  readonly icon: string;
20
+ readonly label: string;
21
21
  readonly disabled: boolean;
22
22
  readonly accept: string;
23
23
  readonly edit: boolean;
@@ -6,8 +6,8 @@ type __VLS_WithSlots<T, S> = T & (new () => {
6
6
  });
7
7
  declare const __VLS_base: import("vue").DefineComponent<{}, {
8
8
  $props: Partial<typeof props>;
9
- label: string;
10
9
  icon: string;
10
+ label: string;
11
11
  disabled: boolean;
12
12
  accept: string;
13
13
  edit: boolean;
@@ -16,8 +16,8 @@ type __VLS_Slots = {
16
16
  icon?: ((props: {}) => any) | undefined;
17
17
  };
18
18
  declare const props: {
19
- readonly label: string;
20
19
  readonly icon: string;
20
+ readonly label: string;
21
21
  readonly disabled: boolean;
22
22
  readonly accept: string;
23
23
  readonly edit: boolean;
@@ -1,23 +1,25 @@
1
+ export type CardCustomClass = Record<'main' | 'inside' | 'logoName' | 'name' | 'desc' | 'body' | 'logo' | 'slider' | 'sliderWrapper' | 'sliderSlides' | 'title' | 'titleText' | 'tags' | 'tag' | 'description' | 'footer' | 'image' | 'avatar', string>;
2
+ export type CardItem = {
3
+ title?: string;
4
+ description?: string;
5
+ image?: string;
6
+ avatar?: string;
7
+ images?: string[];
8
+ tags?: {
9
+ value?: string;
10
+ icon?: string;
11
+ variant?: string;
12
+ }[];
13
+ };
1
14
  type __VLS_Props = {
2
15
  direction?: 'column' | 'row' | 'row-reverse' | 'column-reverse';
3
- customClass?: Record<'main' | 'inside' | 'logoName' | 'name' | 'desc' | 'body' | 'logo' | 'slider' | 'sliderWrapper' | 'sliderSlides' | 'title' | 'tags' | 'tag' | 'description' | 'footer' | 'image' | 'avatar', string>;
4
- item: {
5
- title?: string;
6
- description?: string;
7
- image?: string;
8
- avatar?: string;
9
- images?: string[];
10
- tags?: {
11
- value?: string;
12
- icon?: string;
13
- variant?: string;
14
- }[];
15
- };
16
+ customClass?: CardCustomClass;
17
+ item: CardItem;
16
18
  to?: string;
17
19
  };
18
20
  declare var __VLS_33: {
19
21
  item: any;
20
- }, __VLS_40: {
22
+ }, __VLS_35: {
21
23
  item: any;
22
24
  }, __VLS_42: {
23
25
  item: any;
@@ -25,17 +27,21 @@ declare var __VLS_33: {
25
27
  item: any;
26
28
  }, __VLS_46: {
27
29
  item: any;
30
+ }, __VLS_48: {
31
+ item: any;
28
32
  };
29
33
  type __VLS_Slots = {} & {
30
34
  bodyStart?: (props: typeof __VLS_33) => any;
31
35
  } & {
32
- bodyEnd?: (props: typeof __VLS_40) => any;
36
+ title?: (props: typeof __VLS_35) => any;
37
+ } & {
38
+ bodyEnd?: (props: typeof __VLS_42) => any;
33
39
  } & {
34
- header?: (props: typeof __VLS_42) => any;
40
+ header?: (props: typeof __VLS_44) => any;
35
41
  } & {
36
- footerStart?: (props: typeof __VLS_44) => any;
42
+ footerStart?: (props: typeof __VLS_46) => any;
37
43
  } & {
38
- footerEnd?: (props: typeof __VLS_46) => any;
44
+ footerEnd?: (props: typeof __VLS_48) => any;
39
45
  };
40
46
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
41
47
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -1,5 +1,6 @@
1
1
  <template>
2
- <NuxtLink
2
+ <component
3
+ :is="to ? NuxtLink : 'div'"
3
4
  class="flex items-stretch bg-white rounded-2xl overflow-hidden"
4
5
  :class="headerClass[direction]"
5
6
  no-prefetch
@@ -10,7 +11,6 @@
10
11
  class="grow-1 basis-1"
11
12
  :class="[customClass.image, { 'min-h-50': direction.includes('column') }]"
12
13
  :name="item.image"
13
- icon-type="img"
14
14
  />
15
15
  <UnSwiperSlider
16
16
  v-else-if="item.images"
@@ -31,7 +31,6 @@
31
31
  <div class="h-full self-stretch max-w-screen">
32
32
  <UnNuxtIcon
33
33
  :name="item"
34
- icon-type="img"
35
34
  class="object-cover !w-full !h-full"
36
35
  />
37
36
  </div>
@@ -49,16 +48,20 @@
49
48
  v-if="item.avatar"
50
49
  :class="customClass.avatar"
51
50
  :name="item.avatar"
52
- icon-type="img"
53
51
  class="!object-cover shrink-0 w-14 h-14 aspect-square rounded-full border-(2 solid primary-500)"
54
52
  />
55
- <div class="flex justify-start flex-col gap-1 grow-1" :class="customClass.inside">
56
- <div class="flex gap-2 items-center" :class="customClass.logoName">
53
+ <div
54
+ class="flex justify-start flex-col gap-1 grow-1"
55
+ :class="customClass.inside"
56
+ >
57
+ <div
58
+ class="flex gap-2 items-center"
59
+ :class="customClass.logoName"
60
+ >
57
61
  <UnNuxtIcon
58
62
  v-if="item.logo"
59
63
  :class="customClass.logo"
60
64
  :name="item.logo"
61
- icon-type="img"
62
65
  class="!object-cover shrink-0 w-14 h-14 aspect-square rounded-full border-(2 solid primary-500)"
63
66
  />
64
67
  <div class="flex flex-col">
@@ -66,28 +69,46 @@
66
69
  v-if="item.name"
67
70
  :class="customClass.name"
68
71
  class="text-(lg gray-600) font-medium"
69
- >{{ item.name }}</h3>
72
+ >
73
+ {{ item.name }}
74
+ </h3>
70
75
  <p
71
76
  v-if="item.desc"
72
77
  :class="customClass.desc"
73
78
  class="text-(base gray-500)"
74
- >{{ item.desc }}</p>
79
+ >
80
+ {{ item.desc }}
81
+ </p>
75
82
  </div>
76
83
  </div>
77
84
  <slot
78
85
  name="bodyStart"
79
86
  :item="item"
80
87
  />
81
- <h3
82
- v-if="item.title"
88
+ <div
89
+ v-if="$slots.title || item.title"
90
+ class="flex justify-between"
83
91
  :class="customClass.title"
84
- class="text-(lg gray-600) font-medium"
85
- >{{ item.title }}</h3>
92
+ >
93
+ <h3
94
+ v-if="item.title"
95
+ :class="customClass.titleText"
96
+ class="text-(lg gray-600) font-medium"
97
+ >
98
+ {{ item.title }}
99
+ </h3>
100
+ <slot
101
+ name="title"
102
+ :item="item"
103
+ />
104
+ </div>
86
105
  <p
87
106
  v-if="item.description"
88
107
  :class="customClass.description"
89
108
  class="text-(base gray-500)"
90
- >{{ item.description }}</p>
109
+ >
110
+ {{ item.description }}
111
+ </p>
91
112
  <div
92
113
  v-if="item.tags?.length"
93
114
  :class="customClass.tags"
@@ -129,11 +150,12 @@
129
150
  />
130
151
  </div>
131
152
  </div>
132
- </NuxtLink>
153
+ </component>
133
154
  </template>
134
155
 
135
156
  <script setup>
136
- const { direction = "column", customClass = {}, to = "#" } = defineProps({
157
+ import { NuxtLink } from "#components";
158
+ const { direction = "column", customClass = {}, to = "" } = defineProps({
137
159
  direction: { type: String, required: false },
138
160
  customClass: { type: Object, required: false },
139
161
  item: { type: Object, required: true },
@@ -1,23 +1,25 @@
1
+ export type CardCustomClass = Record<'main' | 'inside' | 'logoName' | 'name' | 'desc' | 'body' | 'logo' | 'slider' | 'sliderWrapper' | 'sliderSlides' | 'title' | 'titleText' | 'tags' | 'tag' | 'description' | 'footer' | 'image' | 'avatar', string>;
2
+ export type CardItem = {
3
+ title?: string;
4
+ description?: string;
5
+ image?: string;
6
+ avatar?: string;
7
+ images?: string[];
8
+ tags?: {
9
+ value?: string;
10
+ icon?: string;
11
+ variant?: string;
12
+ }[];
13
+ };
1
14
  type __VLS_Props = {
2
15
  direction?: 'column' | 'row' | 'row-reverse' | 'column-reverse';
3
- customClass?: Record<'main' | 'inside' | 'logoName' | 'name' | 'desc' | 'body' | 'logo' | 'slider' | 'sliderWrapper' | 'sliderSlides' | 'title' | 'tags' | 'tag' | 'description' | 'footer' | 'image' | 'avatar', string>;
4
- item: {
5
- title?: string;
6
- description?: string;
7
- image?: string;
8
- avatar?: string;
9
- images?: string[];
10
- tags?: {
11
- value?: string;
12
- icon?: string;
13
- variant?: string;
14
- }[];
15
- };
16
+ customClass?: CardCustomClass;
17
+ item: CardItem;
16
18
  to?: string;
17
19
  };
18
20
  declare var __VLS_33: {
19
21
  item: any;
20
- }, __VLS_40: {
22
+ }, __VLS_35: {
21
23
  item: any;
22
24
  }, __VLS_42: {
23
25
  item: any;
@@ -25,17 +27,21 @@ declare var __VLS_33: {
25
27
  item: any;
26
28
  }, __VLS_46: {
27
29
  item: any;
30
+ }, __VLS_48: {
31
+ item: any;
28
32
  };
29
33
  type __VLS_Slots = {} & {
30
34
  bodyStart?: (props: typeof __VLS_33) => any;
31
35
  } & {
32
- bodyEnd?: (props: typeof __VLS_40) => any;
36
+ title?: (props: typeof __VLS_35) => any;
37
+ } & {
38
+ bodyEnd?: (props: typeof __VLS_42) => any;
33
39
  } & {
34
- header?: (props: typeof __VLS_42) => any;
40
+ header?: (props: typeof __VLS_44) => any;
35
41
  } & {
36
- footerStart?: (props: typeof __VLS_44) => any;
42
+ footerStart?: (props: typeof __VLS_46) => any;
37
43
  } & {
38
- footerEnd?: (props: typeof __VLS_46) => any;
44
+ footerEnd?: (props: typeof __VLS_48) => any;
39
45
  };
40
46
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
41
47
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -7,8 +7,8 @@ type __VLS_Props = {
7
7
  mini?: boolean;
8
8
  };
9
9
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
10
- variant: string;
11
10
  mini: boolean;
11
+ variant: string;
12
12
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
13
  declare const _default: typeof __VLS_export;
14
14
  export default _default;
@@ -7,8 +7,8 @@ type __VLS_Props = {
7
7
  mini?: boolean;
8
8
  };
9
9
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
10
- variant: string;
11
10
  mini: boolean;
11
+ variant: string;
12
12
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
13
  declare const _default: typeof __VLS_export;
14
14
  export default _default;
@@ -0,0 +1,21 @@
1
+ import type { CardCustomClass, CardItem } from "~/src/runtime/components/UnCard.vue";
2
+ type __VLS_Props = {
3
+ title?: string;
4
+ items?: CardItem[];
5
+ customClass?: Record<'main' | 'title' | 'header' | 'items', unknown> & {
6
+ item?: CardCustomClass;
7
+ };
8
+ };
9
+ declare var __VLS_1: {};
10
+ type __VLS_Slots = {} & {
11
+ default?: (props: typeof __VLS_1) => any;
12
+ };
13
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
+ declare const _default: typeof __VLS_export;
16
+ export default _default;
17
+ type __VLS_WithSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -0,0 +1,35 @@
1
+ <template>
2
+ <div
3
+ id="booking"
4
+ class="flex flex-col p-3 bg-white rounded-2xl gap-4"
5
+ >
6
+ <div
7
+ :class="customClass?.header"
8
+ class="flex items-center justify-between"
9
+ >
10
+ <p
11
+ v-if="title"
12
+ :class="customClass?.title"
13
+ class="text-(lg gray-600) font-semibold"
14
+ >
15
+ {{ title }}
16
+ </p>
17
+ <slot />
18
+ </div>
19
+ <UnCard
20
+ v-for="(item, index) in items"
21
+ :key="index"
22
+ :class="customClass.items"
23
+ :custom-class="customClass.items"
24
+ :item="item"
25
+ />
26
+ </div>
27
+ </template>
28
+
29
+ <script setup>
30
+ const { customClass = {} } = defineProps({
31
+ title: { type: String, required: false },
32
+ items: { type: Array, required: false },
33
+ customClass: { type: Object, required: false }
34
+ });
35
+ </script>
@@ -0,0 +1,21 @@
1
+ import type { CardCustomClass, CardItem } from "~/src/runtime/components/UnCard.vue";
2
+ type __VLS_Props = {
3
+ title?: string;
4
+ items?: CardItem[];
5
+ customClass?: Record<'main' | 'title' | 'header' | 'items', unknown> & {
6
+ item?: CardCustomClass;
7
+ };
8
+ };
9
+ declare var __VLS_1: {};
10
+ type __VLS_Slots = {} & {
11
+ default?: (props: typeof __VLS_1) => any;
12
+ };
13
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
+ declare const _default: typeof __VLS_export;
16
+ export default _default;
17
+ type __VLS_WithSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div
3
- v-if="iconType === 'img' || name?.split('.')[1]"
3
+ v-if="name?.split('.')[1] || name?.startsWith('http')"
4
4
  class="relative overflow-hidden"
5
5
  >
6
6
  <div
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unsource/ui",
3
- "version": "1.3.0",
3
+ "version": "1.5.1",
4
4
  "private": false,
5
5
  "description": "My new Nuxt module",
6
6
  "repository": "your-org/my-module",