@cal.macconnachie/web-components 1.1.14 → 1.1.15

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -5094,8 +5094,8 @@ let V = class extends q {
5094
5094
  })
5095
5095
  );
5096
5096
  }, this.transitionDuration));
5097
- }, this.handleOverlayClick = () => {
5098
- this.handleClose();
5097
+ }, this.handleOverlayClick = (e) => {
5098
+ e.target === e.currentTarget && this.handleClose();
5099
5099
  }, this.handleDragStart = (e) => {
5100
5100
  if (!this.modalContainer || this.modalBody && this.modalBody.scrollTop > 0)
5101
5101
  return;
@@ -5189,7 +5189,6 @@ let V = class extends q {
5189
5189
  >
5190
5190
  <div
5191
5191
  class=${$(t)}
5192
- @click=${(r) => r.stopPropagation()}
5193
5192
  role="dialog"
5194
5193
  aria-modal="true"
5195
5194
  @mousemove=${this.handleDragMove}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cal.macconnachie/web-components",
3
- "version": "1.1.14",
3
+ "version": "1.1.15",
4
4
  "description": "Web components hosted on a CDN",
5
5
  "keywords": [
6
6
  "web-components",