Comparing version 0.4.40 to 0.4.41
@@ -9,3 +9,3 @@ import { PropType } from 'vue'; | ||
}; | ||
onEsc: PropType<() => void>; | ||
onEsc: PropType<(e: KeyboardEvent) => void>; | ||
initialFocusTo: StringConstructor; | ||
@@ -30,3 +30,3 @@ finalFocusTo: StringConstructor; | ||
}; | ||
onEsc: PropType<() => void>; | ||
onEsc: PropType<(e: KeyboardEvent) => void>; | ||
initialFocusTo: StringConstructor; | ||
@@ -33,0 +33,0 @@ finalFocusTo: StringConstructor; |
@@ -39,3 +39,3 @@ import { h, defineComponent, ref, Fragment, onMounted, onBeforeUnmount, watch } from 'vue'; | ||
if (isCurrentActive()) { | ||
(_a = props.onEsc) === null || _a === void 0 ? void 0 : _a.call(props); | ||
(_a = props.onEsc) === null || _a === void 0 ? void 0 : _a.call(props, e); | ||
} | ||
@@ -42,0 +42,0 @@ } |
@@ -9,3 +9,3 @@ import { PropType } from 'vue'; | ||
}; | ||
onEsc: PropType<() => void>; | ||
onEsc: PropType<(e: KeyboardEvent) => void>; | ||
initialFocusTo: StringConstructor; | ||
@@ -30,3 +30,3 @@ finalFocusTo: StringConstructor; | ||
}; | ||
onEsc: PropType<() => void>; | ||
onEsc: PropType<(e: KeyboardEvent) => void>; | ||
initialFocusTo: StringConstructor; | ||
@@ -33,0 +33,0 @@ finalFocusTo: StringConstructor; |
@@ -42,3 +42,3 @@ "use strict"; | ||
if (isCurrentActive()) { | ||
(_a = props.onEsc) === null || _a === void 0 ? void 0 : _a.call(props); | ||
(_a = props.onEsc) === null || _a === void 0 ? void 0 : _a.call(props, e); | ||
} | ||
@@ -45,0 +45,0 @@ } |
{ | ||
"name": "vueuc", | ||
"version": "0.4.40", | ||
"version": "0.4.41", | ||
"description": "Util Components for Vue", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
218560