@saasmakers/ui 1.4.25 → 1.4.26

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.
@@ -44,24 +44,21 @@ function onNavigate(event: MouseEvent, direction: BaseDividerNavigateDirection)
44
44
  'w-full': size === 'base',
45
45
  }"
46
46
  >
47
- <div
48
- class="flex items-center"
49
- :class="{ 'gap-2': navigable }"
50
- >
51
- <BaseIcon
52
- v-if="navigable && !loading && !hidePrevious"
53
- class="shrink-0 hover:!no-underline"
54
- clickable
55
- :icon="getIcon('chevronLeft')"
56
- size="sm"
57
- :text="t('previous')"
58
- :uppercase="false"
59
- @click="onNavigate($event, 'previous')"
60
- />
47
+ <div class="grid grid-cols-[1fr_auto_1fr] items-center">
48
+ <div class="min-w-0 flex items-center">
49
+ <BaseIcon
50
+ v-if="navigable && !loading && !hidePrevious"
51
+ class="mr-2 shrink-0 hover:!no-underline"
52
+ clickable
53
+ :icon="getIcon('chevronLeft')"
54
+ size="xs"
55
+ :text="t('previous')"
56
+ :uppercase="false"
57
+ @click="onNavigate($event, 'previous')"
58
+ />
61
59
 
62
- <div class="min-w-0 flex flex-1 items-center">
63
60
  <div
64
- class="flex-1 border-t border-gray-300 dark:border-gray-700"
61
+ class="min-w-0 flex-1 border-t border-gray-300 dark:border-gray-700"
65
62
  :class="{
66
63
  'border-dashed': borderStyle === 'dashed',
67
64
  'border-dotted': borderStyle === 'dotted',
@@ -69,16 +66,18 @@ function onNavigate(event: MouseEvent, direction: BaseDividerNavigateDirection)
69
66
  }"
70
67
  style="height: 1px"
71
68
  />
69
+ </div>
72
70
 
73
- <BaseText
74
- v-if="loading || title"
75
- class="shrink-0 px-4 text-center"
76
- size="sm"
77
- :text="loading ? t('loading') : title"
78
- />
71
+ <BaseText
72
+ v-if="loading || title"
73
+ class="shrink-0 px-4 text-center"
74
+ size="sm"
75
+ :text="loading ? t('loading') : title"
76
+ />
79
77
 
78
+ <div class="min-w-0 flex items-center">
80
79
  <div
81
- class="flex-1 border-t border-gray-300 dark:border-gray-700"
80
+ class="min-w-0 flex-1 border-t border-gray-300 dark:border-gray-700"
82
81
  :class="{
83
82
  'border-dashed': borderStyle === 'dashed',
84
83
  'border-dotted': borderStyle === 'dotted',
@@ -86,19 +85,19 @@ function onNavigate(event: MouseEvent, direction: BaseDividerNavigateDirection)
86
85
  }"
87
86
  style="height: 1px"
88
87
  />
89
- </div>
90
88
 
91
- <BaseIcon
92
- v-if="navigable && !loading && !hideNext"
93
- class="shrink-0 hover:!no-underline"
94
- clickable
95
- reverse
96
- :icon="getIcon('chevronRight')"
97
- size="sm"
98
- :text="t('next')"
99
- :uppercase="false"
100
- @click="onNavigate($event, 'next')"
101
- />
89
+ <BaseIcon
90
+ v-if="navigable && !loading && !hideNext"
91
+ class="ml-2 shrink-0 hover:!no-underline"
92
+ clickable
93
+ reverse
94
+ :icon="getIcon('chevronRight')"
95
+ size="xs"
96
+ :text="t('next')"
97
+ :uppercase="false"
98
+ @click="onNavigate($event, 'next')"
99
+ />
100
+ </div>
102
101
  </div>
103
102
  </div>
104
103
  </template>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saasmakers/ui",
3
- "version": "1.4.25",
3
+ "version": "1.4.26",
4
4
  "private": false,
5
5
  "description": "Reusable Nuxt UI components for SaaS Makers projects",
6
6
  "license": "MIT",