@asd20/ui-next 2.0.12 → 2.0.14

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
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.0.14](https://github.com/academydistrict20/asd20-ui-next/compare/ui-next-v2.0.13...ui-next-v2.0.14) (2026-03-31)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * fix focus trap swallowing moble action menu clicks ([36b707f](https://github.com/academydistrict20/asd20-ui-next/commit/36b707fd9200d7de1fdd5fca82b5a7297f280026))
9
+
10
+ ## [2.0.13](https://github.com/academydistrict20/asd20-ui-next/compare/ui-next-v2.0.12...ui-next-v2.0.13) (2026-03-31)
11
+
3
12
  ## [2.0.12](https://github.com/academydistrict20/asd20-ui-next/compare/ui-next-v2.0.11...ui-next-v2.0.12) (2026-03-31)
4
13
 
5
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asd20/ui-next",
3
- "version": "2.0.12",
3
+ "version": "2.0.14",
4
4
  "private": false,
5
5
  "description": "ASD20 UI component library for Vue 3.",
6
6
  "license": "MIT",
@@ -33,6 +33,7 @@
33
33
  <focus-trap
34
34
  v-if="!emptyNav"
35
35
  :active="active"
36
+ :allow-outside-click="true"
36
37
  :initial-focus="() => $refs.focused[0]"
37
38
  >
38
39
  <div class="asd20-site-menu__viewport">
@@ -17,6 +17,7 @@ export default {
17
17
  active: { type: Boolean, default: undefined },
18
18
  open: { type: Boolean, default: undefined },
19
19
  initialFocus: { type: null, default: undefined },
20
+ allowOutsideClick: { type: [Boolean, Function], default: undefined },
20
21
  },
21
22
  data: () => ({
22
23
  trap: null,
@@ -38,6 +39,10 @@ export default {
38
39
  options.initialFocus = this.initialFocus
39
40
  }
40
41
 
42
+ if (this.allowOutsideClick !== undefined) {
43
+ options.allowOutsideClick = this.allowOutsideClick
44
+ }
45
+
41
46
  return options
42
47
  },
43
48
  },