@saasmakers/ui 1.4.25 → 1.4.27
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,7 +28,6 @@ function onNavigate(event: MouseEvent, direction: BaseDividerNavigateDirection)
|
|
|
28
28
|
|
|
29
29
|
<template>
|
|
30
30
|
<div
|
|
31
|
-
class="relative block text-center"
|
|
32
31
|
:class="{
|
|
33
32
|
'my-3': margin === 3,
|
|
34
33
|
'my-4': margin === 4,
|
|
@@ -41,64 +40,60 @@ function onNavigate(event: MouseEvent, direction: BaseDividerNavigateDirection)
|
|
|
41
40
|
'my-16': margin === 16,
|
|
42
41
|
'my-20': margin === 20,
|
|
43
42
|
'mx-auto max-w-xs': size === 'sm',
|
|
44
|
-
'w-full': size === 'base',
|
|
45
43
|
}"
|
|
46
44
|
>
|
|
47
|
-
<div
|
|
48
|
-
class="flex items-center"
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
@click="onNavigate($event, 'previous')"
|
|
60
|
-
/>
|
|
45
|
+
<div class="grid grid-cols-[1fr_auto_1fr] items-center">
|
|
46
|
+
<div class="flex items-center">
|
|
47
|
+
<BaseIcon
|
|
48
|
+
v-if="navigable && !loading && !hidePrevious"
|
|
49
|
+
class="mr-2 shrink-0 hover:!no-underline"
|
|
50
|
+
clickable
|
|
51
|
+
:icon="getIcon('chevronLeft')"
|
|
52
|
+
size="xs"
|
|
53
|
+
:text="t('previous')"
|
|
54
|
+
:uppercase="false"
|
|
55
|
+
@click="onNavigate($event, 'previous')"
|
|
56
|
+
/>
|
|
61
57
|
|
|
62
|
-
<div class="min-w-0 flex flex-1 items-center">
|
|
63
58
|
<div
|
|
64
59
|
class="flex-1 border-t border-gray-300 dark:border-gray-700"
|
|
65
60
|
:class="{
|
|
66
61
|
'border-dashed': borderStyle === 'dashed',
|
|
67
62
|
'border-dotted': borderStyle === 'dotted',
|
|
68
|
-
'border-solid': borderStyle === 'solid',
|
|
69
63
|
}"
|
|
70
64
|
style="height: 1px"
|
|
71
65
|
/>
|
|
66
|
+
</div>
|
|
72
67
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
68
|
+
<BaseText
|
|
69
|
+
v-if="loading || title"
|
|
70
|
+
class="px-4 text-center"
|
|
71
|
+
size="sm"
|
|
72
|
+
:text="loading ? t('loading') : title"
|
|
73
|
+
/>
|
|
79
74
|
|
|
75
|
+
<div class="flex items-center">
|
|
80
76
|
<div
|
|
81
77
|
class="flex-1 border-t border-gray-300 dark:border-gray-700"
|
|
82
78
|
:class="{
|
|
83
79
|
'border-dashed': borderStyle === 'dashed',
|
|
84
80
|
'border-dotted': borderStyle === 'dotted',
|
|
85
|
-
'border-solid': borderStyle === 'solid',
|
|
86
81
|
}"
|
|
87
82
|
style="height: 1px"
|
|
88
83
|
/>
|
|
89
|
-
</div>
|
|
90
84
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
85
|
+
<BaseIcon
|
|
86
|
+
v-if="navigable && !loading && !hideNext"
|
|
87
|
+
class="ml-2 shrink-0 hover:!no-underline"
|
|
88
|
+
clickable
|
|
89
|
+
reverse
|
|
90
|
+
:icon="getIcon('chevronRight')"
|
|
91
|
+
size="xs"
|
|
92
|
+
:text="t('next')"
|
|
93
|
+
:uppercase="false"
|
|
94
|
+
@click="onNavigate($event, 'next')"
|
|
95
|
+
/>
|
|
96
|
+
</div>
|
|
102
97
|
</div>
|
|
103
98
|
</div>
|
|
104
99
|
</template>
|