@wishbone-media/spark 0.44.0 → 0.45.0
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.
package/dist/index.js
CHANGED
|
@@ -6471,6 +6471,10 @@ const Ne = { Plugins: { Hash: Xn }, version: "6.1.13", openers: /* @__PURE__ */
|
|
|
6471
6471
|
type: Boolean,
|
|
6472
6472
|
default: !1
|
|
6473
6473
|
},
|
|
6474
|
+
circle: {
|
|
6475
|
+
type: Boolean,
|
|
6476
|
+
default: !1
|
|
6477
|
+
},
|
|
6474
6478
|
responseParser: {
|
|
6475
6479
|
type: Function,
|
|
6476
6480
|
default: (e) => e.data.url || e.data
|
|
@@ -6562,7 +6566,8 @@ const Ne = { Plugins: { Hash: Xn }, version: "6.1.13", openers: /* @__PURE__ */
|
|
|
6562
6566
|
alt: e.label || "Image preview",
|
|
6563
6567
|
class: _e([
|
|
6564
6568
|
e.height,
|
|
6565
|
-
"
|
|
6569
|
+
e.circle ? "aspect-square object-cover rounded-full" : "w-auto object-contain rounded-md",
|
|
6570
|
+
"border border-gray-300 cursor-pointer hover:opacity-80 transition-opacity"
|
|
6566
6571
|
])
|
|
6567
6572
|
}, null, 10, uu)
|
|
6568
6573
|
], 8, cu),
|
package/formkit.theme.mjs
CHANGED
package/package.json
CHANGED
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
:alt="label || 'Image preview'"
|
|
9
9
|
:class="[
|
|
10
10
|
height,
|
|
11
|
-
'
|
|
11
|
+
circle ? 'aspect-square object-cover rounded-full' : 'w-auto object-contain rounded-md',
|
|
12
|
+
'border border-gray-300 cursor-pointer hover:opacity-80 transition-opacity',
|
|
12
13
|
]"
|
|
13
14
|
/>
|
|
14
15
|
</a>
|
|
@@ -93,6 +94,10 @@ const props = defineProps({
|
|
|
93
94
|
type: Boolean,
|
|
94
95
|
default: false,
|
|
95
96
|
},
|
|
97
|
+
circle: {
|
|
98
|
+
type: Boolean,
|
|
99
|
+
default: false,
|
|
100
|
+
},
|
|
96
101
|
responseParser: {
|
|
97
102
|
type: Function,
|
|
98
103
|
default: (response) => response.data.url || response.data,
|