bootstrap-vue-next
Advanced tools
Comparing version 0.12.3 to 0.12.4
@@ -130,2 +130,6 @@ import { type Placement as OriginalPlacement, type Strategy } from '@floating-ui/vue'; | ||
}; | ||
noninteractive: { | ||
type: import("vue").PropType<Booleanish>; | ||
default: boolean; | ||
}; | ||
}, { | ||
@@ -268,2 +272,6 @@ hideFn: (e: Event) => void; | ||
}; | ||
noninteractive: { | ||
type: import("vue").PropType<Booleanish>; | ||
default: boolean; | ||
}; | ||
}>> & { | ||
@@ -324,2 +332,3 @@ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined; | ||
tooltip: Booleanish; | ||
noninteractive: Booleanish; | ||
}, {}>, { | ||
@@ -326,0 +335,0 @@ target?: ((props: { |
@@ -5,3 +5,3 @@ { | ||
"description": "BootstrapVueNext is an early and lovely component library for Vue 3 & Nuxt 3 based on Bootstrap 5 and Typescript.", | ||
"version": "0.12.3", | ||
"version": "0.12.4", | ||
"license": "MIT", | ||
@@ -8,0 +8,0 @@ "main": "./dist/bootstrap-vue-next.umd.js", |
@@ -33,3 +33,3 @@ import {type ComponentInternalInstance, computed, getCurrentInstance} from 'vue' | ||
function findBModal(component: ComponentInternalInstance): ComponentInternalInstance | null { | ||
const findBModal = (component: ComponentInternalInstance): ComponentInternalInstance | null => { | ||
if (!component.parent) { | ||
@@ -36,0 +36,0 @@ return null |
@@ -15,3 +15,3 @@ import {createSharedComposable, getSSRHandler, tryOnScopeDispose, unrefElement} from '@vueuse/core' | ||
const registry: Ref<ComponentInternalInstance[]> = ref([]) | ||
const stack: Ref<ComponentInternalInstance[]> = ref([]) | ||
const stack: Ref<ComponentInternalInstance[]> = ref([]) | ||
const count = computed(() => stack.value.length) | ||
@@ -24,3 +24,3 @@ const last = computed(() => stack.value[stack.value.length - 1]) | ||
} | ||
const find = (id: string) => registry.value.find((modal) => modal.exposed!.id === id) || null | ||
const find = (id: string) => registry.value.find((modal) => modal.exposed?.id === id) || null | ||
@@ -53,3 +53,3 @@ const updateHTMLAttrs = getSSRHandler('updateHTMLAttrs', (selector, attribute, value) => { | ||
export default (modalOpen: Ref<boolean>): void => { | ||
const {registry, push, remove, stack} = useSharedModalStack() | ||
const {registry, push, remove} = useSharedModalStack() | ||
@@ -56,0 +56,0 @@ const currentModal = getCurrentInstance() |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3934084
30485