@design.estate/dees-catalog 1.0.195 → 1.0.197

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@design.estate/dees-catalog",
3
- "version": "1.0.195",
3
+ "version": "1.0.197",
4
4
  "private": false,
5
5
  "description": "website for lossless.com",
6
6
  "main": "dist_ts_web/index.js",
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@design.estate/dees-catalog',
6
- version: '1.0.195',
6
+ version: '1.0.197',
7
7
  description: 'website for lossless.com'
8
8
  }
@@ -86,7 +86,7 @@ export class DeesModal extends DeesElement {
86
86
  }
87
87
  .modal {
88
88
  will-change: transform;
89
- transform: translateY(10px);
89
+ transform: translateY(0px) scale(0.95);
90
90
  opacity: 0;
91
91
  width: 480px;
92
92
  min-height: 120px;
@@ -95,11 +95,17 @@ export class DeesModal extends DeesElement {
95
95
  border: 1px solid #222;
96
96
  transition: all 0.2s;
97
97
  overflow: hidden;
98
+ box-shadow: 0px 2px 5px #00000080;
98
99
  }
99
100
 
100
101
  .modal.show {
101
102
  opacity: 1;
102
- transform: translateY(0px);
103
+ transform: translateY(0px) scale(1);
104
+ }
105
+
106
+ .modal.show.predestroy {
107
+ opacity: 0;
108
+ transform: translateY(10px) scale(1);
103
109
  }
104
110
 
105
111
  .modal .heading {
@@ -182,7 +188,7 @@ export class DeesModal extends DeesElement {
182
188
  public async destroy() {
183
189
  const domtools = await this.domtoolsPromise;
184
190
  const modal = this.shadowRoot.querySelector('.modal');
185
- modal.classList.remove('show');
191
+ modal.classList.add('predestroy');
186
192
  await domtools.convenience.smartdelay.delayFor(200);
187
193
  document.body.removeChild(this);
188
194
  await this.windowLayer.destroy();