@fy-/fws-vue 2.2.43 → 2.2.45
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.
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
TransitionRoot,
|
|
6
6
|
} from '@headlessui/vue'
|
|
7
7
|
import { XCircleIcon } from '@heroicons/vue/24/solid'
|
|
8
|
-
import { h,
|
|
8
|
+
import { h, onMounted, onUnmounted, ref } from 'vue'
|
|
9
9
|
import { useEventBus } from '../../composables/event-bus'
|
|
10
10
|
|
|
11
11
|
const props = withDefaults(
|
|
@@ -53,12 +53,14 @@ onUnmounted(() => {
|
|
|
53
53
|
eventBus.off(`${props.id}Modal`, setModal)
|
|
54
54
|
})
|
|
55
55
|
|
|
56
|
+
/*
|
|
56
57
|
watch(isOpen, async (newVal) => {
|
|
57
58
|
if (newVal) {
|
|
58
59
|
await nextTick()
|
|
59
60
|
modalRef.value?.focus()
|
|
60
61
|
}
|
|
61
62
|
})
|
|
63
|
+
*/
|
|
62
64
|
</script>
|
|
63
65
|
|
|
64
66
|
<template>
|
|
@@ -342,7 +342,7 @@ function handlePaste(e: ClipboardEvent) {
|
|
|
342
342
|
border border-fv-neutral-300 text-fv-neutral-900 text-sm rounded-sm
|
|
343
343
|
focus-within:ring-fv-primary-500 focus-within:border-fv-primary-500
|
|
344
344
|
dark:bg-fv-neutral-700 dark:border-fv-neutral-600
|
|
345
|
-
dark:placeholder-fv-neutral-400 dark:text-white
|
|
345
|
+
dark:placeholder-fv-neutral-400 dark:text-white p-1.5
|
|
346
346
|
dark:focus-within:ring-fv-primary-500 dark:focus-within:border-fv-primary-500;
|
|
347
347
|
cursor: text;
|
|
348
348
|
}
|