@fy-/fws-vue 2.0.97 → 2.1.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.
@@ -227,10 +227,10 @@ onUnmounted(() => {
227
227
  </button>
228
228
 
229
229
  <div
230
- class="flex h-[100vh] relative flex-grow items-center justify-center gap-2"
230
+ class="flex h-[100vh] relative flex-grow items-center justify-center gap-2 z-[1]"
231
231
  >
232
232
  <div
233
- class="hidden lg:relative lg:flex w-10 flex-shrink-0 items-center justify-center flex-0"
233
+ class="hidden lg:relative z-[2] lg:flex w-10 flex-shrink-0 items-center justify-center flex-0"
234
234
  >
235
235
  <button
236
236
  class="btn p-1 rounded-full"
@@ -241,9 +241,7 @@ onUnmounted(() => {
241
241
  </button>
242
242
  </div>
243
243
  <div
244
- class="flex-1 flex flex-col items-center justify-center max-w-full lg:max-w-[calc(100vw - 256px)] relative"
245
- @touchstart="touchStart"
246
- @touchend="touchEnd"
244
+ class="flex-1 flex flex-col z-[2] items-center justify-center max-w-full lg:max-w-[calc(100vw - 256px)] relative"
247
245
  >
248
246
  <transition
249
247
  :name="direction === 'next' ? 'slide-next' : 'slide-prev'"
@@ -252,6 +250,8 @@ onUnmounted(() => {
252
250
  <div
253
251
  v-if="true"
254
252
  :key="`image-display-${modelValue}`"
253
+ @touchstart="touchStart"
254
+ @touchend="touchEnd"
255
255
  class="flex-1 w-full max-w-full flex flex-col items-center justify-center absolute inset-0 z-[2]"
256
256
  >
257
257
  <div
@@ -285,7 +285,7 @@ onUnmounted(() => {
285
285
  </template>
286
286
  </div>
287
287
  <div
288
- class="flex-0 py-2 flex items-center justify-center max-w-full w-full relative z-[3]"
288
+ class="flex-0 py-2 flex items-center justify-center max-w-full w-full relative !z-[3]"
289
289
  >
290
290
  <slot :value="images[modelValue]"></slot>
291
291
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fy-/fws-vue",
3
- "version": "2.0.97",
3
+ "version": "2.1.00",
4
4
  "author": "Florian 'Fy' Gasquez <m@fy.to>",
5
5
  "license": "MIT",
6
6
  "repository": {