From 2acf79e072cd99958238d0d47b8147e4a8016a75 Mon Sep 17 00:00:00 2001 From: Sean Ferguson Date: Tue, 19 Nov 2024 23:53:41 -0500 Subject: [PATCH] v4.18.1: vfModalRef --- package.json | 2 +- src/components/index.ts | 1 + src/components/modal-helpers.ts | 7 +++++++ 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 src/components/modal-helpers.ts diff --git a/package.json b/package.json index aed6cc0..51902f4 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@signal24/vue-foundation", "type": "module", - "version": "4.18.0", + "version": "4.18.1", "description": "Common components, directives, and helpers for Vue 3 apps", "module": "./dist/vue-foundation.es.js", "exports": { diff --git a/src/components/index.ts b/src/components/index.ts index 22b1f5a..f6e99d1 100644 --- a/src/components/index.ts +++ b/src/components/index.ts @@ -5,6 +5,7 @@ import VfModal from './vf-modal.vue'; import VfSmartSelect from './vf-smart-select.vue'; export * from './alert-helpers'; +export * from './modal-helpers'; export * from './overlay-container'; export * from './toast-helpers'; diff --git a/src/components/modal-helpers.ts b/src/components/modal-helpers.ts new file mode 100644 index 0000000..f71d6b6 --- /dev/null +++ b/src/components/modal-helpers.ts @@ -0,0 +1,7 @@ +import { ref } from 'vue'; + +import type VfModal from './vf-modal.vue'; + +export function vfModalRef() { + return ref>(); +}