@saasmakers/ui 1.4.46 → 1.4.48

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.
@@ -42,7 +42,19 @@ function onNavigate(event: MouseEvent, direction: BaseDividerNavigateDirection)
42
42
  'mx-auto max-w-xs': size === 'sm',
43
43
  }"
44
44
  >
45
- <div class="grid grid-cols-[1fr_auto_1fr] items-center">
45
+ <div
46
+ v-if="!(loading || title || navigable)"
47
+ class="border-t border-gray-300 dark:border-gray-700"
48
+ :class="{
49
+ 'border-dashed': borderStyle === 'dashed',
50
+ 'border-dotted': borderStyle === 'dotted',
51
+ }"
52
+ />
53
+
54
+ <div
55
+ v-else
56
+ class="grid grid-cols-[1fr_auto_1fr] items-center"
57
+ >
46
58
  <div class="flex items-center">
47
59
  <BaseIcon
48
60
  v-if="navigable && !loading && !hidePrevious"
package/nuxt.config.ts CHANGED
@@ -16,6 +16,7 @@ export default defineNuxtConfig({
16
16
  '@nuxtjs/robots',
17
17
  '@nuxtjs/sitemap',
18
18
  '@pinia/nuxt',
19
+ 'pinia-plugin-persistedstate/nuxt',
19
20
  '@unocss/nuxt',
20
21
  '@vueuse/nuxt',
21
22
  'floating-vue/nuxt',
@@ -47,6 +48,8 @@ export default defineNuxtConfig({
47
48
  path.join(currentDir, './app/assets/styles/v-popper.css'),
48
49
  ],
49
50
 
51
+ piniaPluginPersistedstate: { storage: 'localStorage' },
52
+
50
53
  colorMode: {
51
54
  classSuffix: '',
52
55
  fallback: 'light',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saasmakers/ui",
3
- "version": "1.4.46",
3
+ "version": "1.4.48",
4
4
  "private": false,
5
5
  "description": "Reusable Nuxt UI components for SaaS Makers projects",
6
6
  "license": "MIT",
@@ -43,6 +43,7 @@
43
43
  "motion-v": "1.7.4",
44
44
  "numbro": "2.5.0",
45
45
  "pinia": "3.0.4",
46
+ "pinia-plugin-persistedstate": "4.7.1",
46
47
  "snarkdown": "2.0.0",
47
48
  "unocss": "66.7.0",
48
49
  "vue": "3.5.38",