@saasmakers/ui 0.1.110 → 0.1.112

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.
@@ -77,7 +77,7 @@ function onShowMore() {
77
77
 
78
78
  <template>
79
79
  <component
80
- :is="to ? NuxtLinkLocale : 'div'"
80
+ :is="to ? NuxtLinkLocale : 'span'"
81
81
  :class="{
82
82
  'bg-gray-100 dark:bg-gray-900': background === 'gray',
83
83
  'bg-white dark:bg-gray-900': background === 'white',
@@ -141,9 +141,9 @@ function onShowMore() {
141
141
  />
142
142
  </template>
143
143
 
144
- <div
144
+ <span
145
145
  v-else
146
- class="w-full rounded bg-gray-300 dark:bg-gray-700"
146
+ class="block w-full rounded bg-gray-300 dark:bg-gray-700"
147
147
  :class="{
148
148
  'h-2': size === '3xs',
149
149
  'h-2.5': size === '2xs',
@@ -1,5 +1,3 @@
1
- import { randomUUID } from 'node:crypto'
2
-
3
1
  const toasts = ref<BaseToast[]>([])
4
2
 
5
3
  export default function useToast() {
@@ -22,7 +20,8 @@ export default function useToast() {
22
20
  const createToast = (message: string, status: BaseStatus = 'success', i18nParams?: Record<string, number | string>) => {
23
21
  if (import.meta.client) {
24
22
  const toast: BaseToast = {
25
- id: randomUUID(),
23
+ // eslint-disable-next-line n/no-unsupported-features/node-builtins
24
+ id: crypto.randomUUID(),
26
25
  status: status || 'success',
27
26
  text: message.includes(' ') ? message : nuxtApp.$i18n.t(`toasts.${message}`, i18nParams || {}),
28
27
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saasmakers/ui",
3
- "version": "0.1.110",
3
+ "version": "0.1.112",
4
4
  "private": false,
5
5
  "description": "Reusable Nuxt UI components for SaaS Makers projects",
6
6
  "repository": {