@progressive-development/pd-dialog 0.1.55 → 0.1.57
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 +1 -1
- package/src/PdPopup.js +5 -1
- package/src/PdPopupDialog.js +1 -1
package/package.json
CHANGED
package/src/PdPopup.js
CHANGED
|
@@ -40,7 +40,7 @@ export class PdPopup extends LitElement {
|
|
|
40
40
|
background-color: var(--pd-popup-modal-bg-rgba, rgba(175, 193, 210, 0.8));
|
|
41
41
|
|
|
42
42
|
/* specific for PdPopup, abobe also used for PdPopupDialog */
|
|
43
|
-
display: none; /* Hidden by default */
|
|
43
|
+
display: var(--pd-popup-default-display, none); /* Hidden by default */
|
|
44
44
|
padding-top: 100px; /* Location of the box */
|
|
45
45
|
}
|
|
46
46
|
|
|
@@ -108,6 +108,10 @@ export class PdPopup extends LitElement {
|
|
|
108
108
|
// $('.hover_bkgr_fricc').hide();
|
|
109
109
|
const modal = this.shadowRoot.getElementById('modalId');
|
|
110
110
|
modal.style.display = 'none';
|
|
111
|
+
|
|
112
|
+
this.dispatchEvent(
|
|
113
|
+
new CustomEvent('popup-close')
|
|
114
|
+
);
|
|
111
115
|
}
|
|
112
116
|
|
|
113
117
|
/*
|