@unsource/ui 1.2.0 → 1.3.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.
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "unsource-ui",
3
3
  "configKey": "unsourceUi",
4
- "version": "1.2.0",
4
+ "version": "1.3.0",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
@@ -1,6 +1,6 @@
1
1
  type __VLS_Props = {
2
2
  direction?: 'column' | 'row' | 'row-reverse' | 'column-reverse';
3
- customClass?: Record<'main' | 'desc' | 'body' | 'logo' | 'slider' | 'sliderWrapper' | 'sliderSlides' | 'title' | 'tags' | 'tag' | 'description' | 'footer' | 'image' | 'avatar', string>;
3
+ customClass?: Record<'main' | 'inside' | 'logoName' | 'name' | 'desc' | 'body' | 'logo' | 'slider' | 'sliderWrapper' | 'sliderSlides' | 'title' | 'tags' | 'tag' | 'description' | 'footer' | 'image' | 'avatar', string>;
4
4
  item: {
5
5
  title?: string;
6
6
  description?: string;
@@ -52,8 +52,8 @@
52
52
  icon-type="img"
53
53
  class="!object-cover shrink-0 w-14 h-14 aspect-square rounded-full border-(2 solid primary-500)"
54
54
  />
55
- <div class="flex justify-start flex-col gap-1 grow-1">
56
- <div class="flex gap-2 items-center">
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">
57
57
  <UnNuxtIcon
58
58
  v-if="item.logo"
59
59
  :class="customClass.logo"
@@ -63,10 +63,10 @@
63
63
  />
64
64
  <div class="flex flex-col">
65
65
  <h3
66
- v-if="item.title"
67
- :class="customClass.title"
66
+ v-if="item.name"
67
+ :class="customClass.name"
68
68
  class="text-(lg gray-600) font-medium"
69
- >{{ item.title }}</h3>
69
+ >{{ item.name }}</h3>
70
70
  <p
71
71
  v-if="item.desc"
72
72
  :class="customClass.desc"
@@ -78,6 +78,11 @@
78
78
  name="bodyStart"
79
79
  :item="item"
80
80
  />
81
+ <h3
82
+ v-if="item.title"
83
+ :class="customClass.title"
84
+ class="text-(lg gray-600) font-medium"
85
+ >{{ item.title }}</h3>
81
86
  <p
82
87
  v-if="item.description"
83
88
  :class="customClass.description"
@@ -1,6 +1,6 @@
1
1
  type __VLS_Props = {
2
2
  direction?: 'column' | 'row' | 'row-reverse' | 'column-reverse';
3
- customClass?: Record<'main' | 'desc' | 'body' | 'logo' | 'slider' | 'sliderWrapper' | 'sliderSlides' | 'title' | 'tags' | 'tag' | 'description' | 'footer' | 'image' | 'avatar', string>;
3
+ customClass?: Record<'main' | 'inside' | 'logoName' | 'name' | 'desc' | 'body' | 'logo' | 'slider' | 'sliderWrapper' | 'sliderSlides' | 'title' | 'tags' | 'tag' | 'description' | 'footer' | 'image' | 'avatar', string>;
4
4
  item: {
5
5
  title?: string;
6
6
  description?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unsource/ui",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "private": false,
5
5
  "description": "My new Nuxt module",
6
6
  "repository": "your-org/my-module",