@kiva/kv-components 3.101.2 → 3.101.3

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.101.3](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-components@3.101.2...@kiva/kv-components@3.101.3) (2024-09-13)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * remove computed from next tick ([cb7a1fb](https://github.com/kiva/kv-ui-elements/commit/cb7a1fb358799ab99a1a05707bc2fc0b9aa915b7))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [3.101.2](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-components@3.101.1...@kiva/kv-components@3.101.2) (2024-09-06)
7
18
 
8
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kiva/kv-components",
3
- "version": "3.101.2",
3
+ "version": "3.101.3",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -83,5 +83,5 @@
83
83
  "optional": true
84
84
  }
85
85
  },
86
- "gitHead": "0809b0816e59caee0fd4618825e77e921edf7278"
86
+ "gitHead": "8f7c0ed1966ef7868217283ce8a6dce8d09e6ba6"
87
87
  }
@@ -222,14 +222,13 @@ export default {
222
222
 
223
223
  // Ensure the lightbox ref isn't null
224
224
  nextTick(() => {
225
- const trapElements = computed(() => [
226
- kvLightbox.value, // This lightbox
227
- '[role="alert"]', // Any open toasts/alerts on the page
228
- ]);
229
225
  const {
230
226
  activate,
231
227
  deactivate,
232
- } = useFocusTrap(trapElements, {
228
+ } = useFocusTrap([
229
+ kvLightbox.value, // This lightbox
230
+ '[role="alert"]', // Any open toasts/alerts on the page
231
+ ], {
233
232
  allowOutsideClick: true, // allow clicking outside the lightbox to close it
234
233
  });
235
234
  activateFocusTrap.value = activate;