@fy-/fws-vue 2.3.97 → 2.3.99

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,11 +28,6 @@ const props = withDefaults(
28
28
  returnDefault: '/',
29
29
  },
30
30
  )
31
- function closeWindow() {
32
- if (typeof window !== 'undefined') {
33
- window.close()
34
- }
35
- }
36
31
  function isExternalUrl(url: string) {
37
32
  return url.startsWith('http://') || url.startsWith('https://')
38
33
  }
@@ -462,23 +457,9 @@ onMounted(async () => {
462
457
  </button>
463
458
  </div>
464
459
 
465
- <!-- Close page button (message-only, e.g. magic link sent) -->
466
- <button
467
- v-if="isMessageOnly"
468
- type="button"
469
- class="w-full flex justify-center py-2.5 px-4 border border-transparent rounded-lg shadow-sm
470
- text-white bg-fv-neutral-600 hover:bg-fv-neutral-700 dark:bg-fv-neutral-700 dark:hover:bg-fv-neutral-800
471
- focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-fv-neutral-500 dark:focus:ring-fv-neutral-600
472
- dark:focus:ring-offset-fv-neutral-800 font-medium transition-all duration-200"
473
- aria-label="Close"
474
- @click="closeWindow()"
475
- >
476
- {{ $t("cta_close_page") }}
477
- </button>
478
-
479
- <!-- Submit button -->
460
+ <!-- Submit button (hidden when message-only, e.g. magic link sent) -->
480
461
  <button
481
- v-else
462
+ v-if="!isMessageOnly"
482
463
  type="submit"
483
464
  class="w-full flex justify-center py-2.5 px-4 border border-transparent rounded-lg shadow-sm
484
465
  text-white bg-fv-primary-600 hover:bg-fv-primary-700 dark:bg-fv-primary-700 dark:hover:bg-fv-primary-800
@@ -798,7 +798,7 @@ onUnmounted(() => {
798
798
  <div
799
799
  v-if="infoPanel && images[modelValue]"
800
800
  ref="infoPanelRef"
801
- class="w-full px-4 py-3 backdrop-blur-md bg-fv-neutral-900/80 border-t border-fv-neutral-800"
801
+ class="w-full px-4 py-1 md:py-2 backdrop-blur-md bg-fv-neutral-900/80 border-t border-fv-neutral-800"
802
802
  >
803
803
  <slot :value="images[modelValue]" />
804
804
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fy-/fws-vue",
3
- "version": "2.3.97",
3
+ "version": "2.3.99",
4
4
  "author": "Florian 'Fy' Gasquez <m@fy.to>",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/fy-to/FWJS#readme",