@saasmakers/ui 1.4.36 → 1.4.37
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.
|
@@ -58,7 +58,6 @@ function onClick(event: MouseEvent) {
|
|
|
58
58
|
:is="to ? NuxtLinkLocale : 'button'"
|
|
59
59
|
class="relative inline-block select-none appearance-none border focus-visible:outline-none"
|
|
60
60
|
:class="{
|
|
61
|
-
'inline-block': !circular,
|
|
62
61
|
'flex items-center justify-center': circular,
|
|
63
62
|
'cursor-not-allowed opacity-50': disabled,
|
|
64
63
|
'cursor-wait': loading,
|
|
@@ -131,7 +130,7 @@ function onClick(event: MouseEvent) {
|
|
|
131
130
|
|
|
132
131
|
<BaseSpinner
|
|
133
132
|
v-if="loading"
|
|
134
|
-
class="absolute left-1/2 top-1/2
|
|
133
|
+
class="absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2"
|
|
135
134
|
:color="!background ? 'black' : light ? color : color === 'white' ? 'indigo' : 'white'"
|
|
136
135
|
:size="size"
|
|
137
136
|
/>
|
|
@@ -36,7 +36,7 @@ const performanceIcon = computed<string | undefined>(() => {
|
|
|
36
36
|
:class="{
|
|
37
37
|
'items-start': alignment === 'left',
|
|
38
38
|
'items-center': alignment === 'center',
|
|
39
|
-
'items-
|
|
39
|
+
'items-end': alignment === 'right',
|
|
40
40
|
}"
|
|
41
41
|
>
|
|
42
42
|
<BaseText
|
|
@@ -62,7 +62,7 @@ const performanceIcon = computed<string | undefined>(() => {
|
|
|
62
62
|
|
|
63
63
|
<BaseIcon
|
|
64
64
|
v-if="performanceIcon"
|
|
65
|
-
class="absolute right-0 translate-x-4
|
|
65
|
+
class="absolute right-0 translate-x-4"
|
|
66
66
|
:class="{
|
|
67
67
|
'-mt-0.5': performance === 'down',
|
|
68
68
|
'mt-0.25': performance === 'up',
|
|
@@ -267,7 +267,7 @@ function selectOption(event: MouseEvent, value: string) {
|
|
|
267
267
|
<BaseIcon
|
|
268
268
|
v-if="caret"
|
|
269
269
|
class="ml-2 flex-initial"
|
|
270
|
-
:class="{ 'rotate-180
|
|
270
|
+
:class="{ 'rotate-180': opened }"
|
|
271
271
|
color="gray"
|
|
272
272
|
:icon="getIcon('arrowDown')"
|
|
273
273
|
/>
|
|
@@ -344,7 +344,7 @@ function selectOption(event: MouseEvent, value: string) {
|
|
|
344
344
|
<div
|
|
345
345
|
v-for="option in column.options"
|
|
346
346
|
:key="option.value"
|
|
347
|
-
class="
|
|
347
|
+
class="flex cursor-pointer items-center outline-none"
|
|
348
348
|
:class="{
|
|
349
349
|
'border-b border-gray-200 dark:border-gray-800 p-3 hover:bg-gray-100 dark:hover:bg-gray-800 last:border-b-0': computedColumns.length < 2,
|
|
350
350
|
'px-2 py-1 hover:bg-gray-100 dark:hover:bg-gray-800 last:mb-2': computedColumns.length >= 2,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@saasmakers/ui",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.37",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Reusable Nuxt UI components for SaaS Makers projects",
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,32 +18,32 @@
|
|
|
18
18
|
"uno.config.ts"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@capacitor/preferences": "8.0.
|
|
22
|
-
"@nuxt/icon": "2.
|
|
21
|
+
"@capacitor/preferences": "8.0.1",
|
|
22
|
+
"@nuxt/icon": "2.2.3",
|
|
23
23
|
"@nuxt/scripts": "0.13.2",
|
|
24
24
|
"@nuxtjs/color-mode": "3.5.2",
|
|
25
|
-
"@nuxtjs/i18n": "10.
|
|
25
|
+
"@nuxtjs/i18n": "10.4.0",
|
|
26
26
|
"@nuxtjs/plausible": "2.0.1",
|
|
27
27
|
"@nuxtjs/robots": "5.6.7",
|
|
28
28
|
"@nuxtjs/sitemap": "7.5.0",
|
|
29
29
|
"@nuxtjs/storybook": "9.0.1",
|
|
30
30
|
"@pinia/nuxt": "0.11.3",
|
|
31
31
|
"@unhead/vue": "2.0.19",
|
|
32
|
-
"@unocss/nuxt": "66.
|
|
33
|
-
"@unocss/reset": "66.
|
|
32
|
+
"@unocss/nuxt": "66.7.0",
|
|
33
|
+
"@unocss/reset": "66.7.0",
|
|
34
34
|
"@vuelidate/core": "2.0.3",
|
|
35
35
|
"@vuelidate/validators": "2.0.4",
|
|
36
|
-
"@vueuse/components": "14.
|
|
37
|
-
"@vueuse/core": "14.
|
|
38
|
-
"@vueuse/nuxt": "14.
|
|
36
|
+
"@vueuse/components": "14.3.0",
|
|
37
|
+
"@vueuse/core": "14.3.0",
|
|
38
|
+
"@vueuse/nuxt": "14.3.0",
|
|
39
39
|
"chartist": "1.5.0",
|
|
40
40
|
"floating-vue": "5.2.2",
|
|
41
41
|
"motion-v": "1.7.4",
|
|
42
42
|
"numbro": "2.5.0",
|
|
43
43
|
"snarkdown": "2.0.0",
|
|
44
44
|
"storybook": "9.0.5",
|
|
45
|
-
"unocss": "66.
|
|
46
|
-
"vue": "3.5.
|
|
45
|
+
"unocss": "66.7.0",
|
|
46
|
+
"vue": "3.5.35",
|
|
47
47
|
"vue-router": "4.6.4"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|