@budibase/bbui 2.6.3 → 2.6.4

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@budibase/bbui",
3
3
  "description": "A UI solution used in the different Budibase projects.",
4
- "version": "2.6.3",
4
+ "version": "2.6.4",
5
5
  "license": "MPL-2.0",
6
6
  "svelte": "src/index.js",
7
7
  "module": "dist/bbui.es.js",
@@ -38,8 +38,8 @@
38
38
  ],
39
39
  "dependencies": {
40
40
  "@adobe/spectrum-css-workflow-icons": "1.2.1",
41
- "@budibase/shared-core": "^2.6.3",
42
- "@budibase/string-templates": "^2.6.3",
41
+ "@budibase/shared-core": "^2.6.4",
42
+ "@budibase/string-templates": "^2.6.4",
43
43
  "@spectrum-css/accordion": "3.0.24",
44
44
  "@spectrum-css/actionbutton": "1.0.1",
45
45
  "@spectrum-css/actiongroup": "1.0.1",
@@ -90,5 +90,5 @@
90
90
  "resolutions": {
91
91
  "loader-utils": "1.4.1"
92
92
  },
93
- "gitHead": "757ae1836ef21b49d42a8f4472285486b3a24a58"
93
+ "gitHead": "33ffb90b362fe0b9c2c45da31afd388eb287eeb6"
94
94
  }
@@ -1,4 +1,8 @@
1
- const ignoredClasses = [".flatpickr-calendar", ".spectrum-Popover"]
1
+ const ignoredClasses = [
2
+ ".flatpickr-calendar",
3
+ ".spectrum-Popover",
4
+ ".download-js-link",
5
+ ]
2
6
  let clickHandlers = []
3
7
 
4
8
  /**
@@ -22,8 +26,8 @@ const handleClick = event => {
22
26
  }
23
27
 
24
28
  // Ignore clicks for modals, unless the handler is registered from a modal
25
- const sourceInModal = handler.anchor.closest(".spectrum-Modal") != null
26
- const clickInModal = event.target.closest(".spectrum-Modal") != null
29
+ const sourceInModal = handler.anchor.closest(".spectrum-Underlay") != null
30
+ const clickInModal = event.target.closest(".spectrum-Underlay") != null
27
31
  if (clickInModal && !sourceInModal) {
28
32
  return
29
33
  }