@saasmakers/ui 1.4.20 → 1.4.21

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.
@@ -28,8 +28,12 @@ defineSlots<{
28
28
  'text-2xl sm:text-4xl': size === 'lg',
29
29
  }"
30
30
  >
31
+ <template v-if="typeof text === 'string'">
32
+ {{ text }}
33
+ </template>
34
+
31
35
  <BaseText
32
- v-if="text"
36
+ v-else-if="text"
33
37
  :text="text"
34
38
  />
35
39
 
@@ -38,7 +38,7 @@ defineSlots<{
38
38
  <BaseParagraph
39
39
  v-if="description"
40
40
  alignment="center"
41
- class="mt-2 text-gray-600 dark:text-gray-400"
41
+ class="mt-2 text-gray-500 dark:text-gray-500"
42
42
  size="base"
43
43
  :text="description"
44
44
  />
@@ -24,8 +24,12 @@ defineSlots<{
24
24
  'text-lg sm:text-xl': size === 'lg',
25
25
  }"
26
26
  >
27
+ <template v-if="typeof text === 'string'">
28
+ {{ text }}
29
+ </template>
30
+
27
31
  <BaseText
28
- v-if="text"
32
+ v-else-if="text"
29
33
  :text="text"
30
34
  />
31
35
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saasmakers/ui",
3
- "version": "1.4.20",
3
+ "version": "1.4.21",
4
4
  "private": false,
5
5
  "description": "Reusable Nuxt UI components for SaaS Makers projects",
6
6
  "license": "MIT",