@onereach/ui-components-vue2 19.4.1 → 19.4.2

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.
@@ -51,7 +51,7 @@ var script = defineComponent({
51
51
  // Effects
52
52
  onClickOutside(root, event => {
53
53
  const path = event.composedPath();
54
- const ignoreClasses = ['or-popover-v3', 'or-bottom-sheet-v3', 'or-modal-v3'];
54
+ const ignoreClasses = ['or-popover-v3', 'or-bottom-sheet-v3', 'or-modal-v3', 'or-confirm-v3'];
55
55
  if (!path.some(({
56
56
  classList
57
57
  }) => ignoreClasses.some(ignoreClass => classList === null || classList === void 0 ? void 0 : classList.contains(ignoreClass)))) {
@@ -12,6 +12,9 @@ function isPrevented(path, trigger) {
12
12
  if (classList === null || classList === void 0 ? void 0 : classList.contains('or-bottom-sheet-v3')) {
13
13
  return true;
14
14
  }
15
+ if (classList === null || classList === void 0 ? void 0 : classList.contains('or-confirm-v3')) {
16
+ return true;
17
+ }
15
18
  }
16
19
  return false;
17
20
  });
@@ -100,7 +100,7 @@ var script = defineComponent({
100
100
  // Effects
101
101
  onClickOutside(root, event => {
102
102
  const path = event.composedPath();
103
- const ignoreClasses = ['or-popover-v3', 'or-bottom-sheet-v3', 'or-modal-v3'];
103
+ const ignoreClasses = ['or-popover-v3', 'or-bottom-sheet-v3', 'or-modal-v3', 'or-confirm-v3'];
104
104
  if (!path.some(({
105
105
  classList
106
106
  }) => ignoreClasses.some(ignoreClass => classList === null || classList === void 0 ? void 0 : classList.contains(ignoreClass)))) {
@@ -15,6 +15,9 @@ function isPrevented(path, trigger) {
15
15
  if (classList === null || classList === void 0 ? void 0 : classList.contains('or-bottom-sheet-v3')) {
16
16
  return true;
17
17
  }
18
+ if (classList === null || classList === void 0 ? void 0 : classList.contains('or-confirm-v3')) {
19
+ return true;
20
+ }
18
21
  }
19
22
  return false;
20
23
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/ui-components-vue2",
3
- "version": "19.4.1",
3
+ "version": "19.4.2",
4
4
  "npmUnpacked": "4.15.2",
5
5
  "description": "Vue components library for v2",
6
6
  "sideEffects": false,
@@ -35,7 +35,7 @@
35
35
  "@codemirror/view": "^6",
36
36
  "@floating-ui/dom": "1.5.3",
37
37
  "@lezer/highlight": "*",
38
- "@onereach/styles": "^19.4.1",
38
+ "@onereach/styles": "^19.4.2",
39
39
  "@splidejs/splide": "4.0.6",
40
40
  "@tiptap/core": "2.0.3",
41
41
  "@tiptap/extension-blockquote": "2.0.3",
@@ -134,5 +134,5 @@
134
134
  "default": "./dist/bundled/components/*/index.js"
135
135
  }
136
136
  },
137
- "gitHead": "e4d92db0a04d7d6ae57881105d6a1aa9d3d29477"
137
+ "gitHead": "3f8a00a8651327a935c4c8912358187863feea62"
138
138
  }