@luzmo/embed 5.1.1 → 5.1.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.
package/CHANGELOG.md CHANGED
@@ -1,8 +1,17 @@
1
1
 
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
+ ## [5.1.2] - 2024-04-29
5
+
6
+ ### Bugfixes
7
+
8
+ - Height in edit mode is set to a minimum of 100vh.
9
+
10
+
4
11
  ## [5.1.1] - 2024-04-24
5
12
 
13
+ ### Updates
14
+
6
15
  - Show actual error messages from luzmo application
7
16
 
8
17
  ## [5.1.0] - 2024-04-17
package/index.cjs CHANGED
@@ -55,7 +55,7 @@ var import_style_map = require("lit/directives/style-map.js");
55
55
  var import_shared_embed = require("@luzmo/shared-embed");
56
56
 
57
57
  // libs/embed-libs/embed/package.json
58
- var version = "5.1.1";
58
+ var version = "5.1.2";
59
59
 
60
60
  // libs/embed-libs/embed/src/lib/luzmo-service.ts
61
61
  var LuzmoService = class {
@@ -261,6 +261,10 @@ var dashboardStyles = import_lit.css`
261
261
  border: 0;
262
262
  }
263
263
 
264
+ .luzmo-embed-dashboard-ede {
265
+ min-height: 100vh;
266
+ }
267
+
264
268
  .luzmo-embed-container-ede {
265
269
  width: 100%;
266
270
  height: 100%;
@@ -784,7 +788,7 @@ var LuzmoDashboard = class extends import_lit2.LitElement {
784
788
  ${this.dashboardId || this.dashboardSlug ? import_lit2.html`
785
789
  ${loader}
786
790
  <iframe
787
- class="luzmo-embed-dashboard"
791
+ class="luzmo-embed-dashboard ${!this.getIsViewMode() ? `luzmo-embed-dashboard-ede` : ""}"
788
792
  id="${this._iframeId}"
789
793
  name="${this._iframeId}"
790
794
  style=${(0, import_style_map.styleMap)(this.iframeStyle)}
package/index.js CHANGED
@@ -37,7 +37,7 @@ import {
37
37
  } from "@luzmo/shared-embed";
38
38
 
39
39
  // libs/embed-libs/embed/package.json
40
- var version = "5.1.1";
40
+ var version = "5.1.2";
41
41
 
42
42
  // libs/embed-libs/embed/src/lib/luzmo-service.ts
43
43
  var LuzmoService = class {
@@ -243,6 +243,10 @@ var dashboardStyles = css`
243
243
  border: 0;
244
244
  }
245
245
 
246
+ .luzmo-embed-dashboard-ede {
247
+ min-height: 100vh;
248
+ }
249
+
246
250
  .luzmo-embed-container-ede {
247
251
  width: 100%;
248
252
  height: 100%;
@@ -766,7 +770,7 @@ var LuzmoDashboard = class extends LitElement {
766
770
  ${this.dashboardId || this.dashboardSlug ? html`
767
771
  ${loader}
768
772
  <iframe
769
- class="luzmo-embed-dashboard"
773
+ class="luzmo-embed-dashboard ${!this.getIsViewMode() ? `luzmo-embed-dashboard-ede` : ""}"
770
774
  id="${this._iframeId}"
771
775
  name="${this._iframeId}"
772
776
  style=${styleMap(this.iframeStyle)}
package/index.libs.cjs CHANGED
@@ -54,7 +54,7 @@ var import_style_map = require("lit/directives/style-map.js");
54
54
  var import_shared_embed = require("@luzmo/shared-embed");
55
55
 
56
56
  // libs/embed-libs/embed/package.json
57
- var version = "5.1.1";
57
+ var version = "5.1.2";
58
58
 
59
59
  // libs/embed-libs/embed/src/lib/luzmo-service.ts
60
60
  var LuzmoService = class {
@@ -260,6 +260,10 @@ var dashboardStyles = import_lit.css`
260
260
  border: 0;
261
261
  }
262
262
 
263
+ .luzmo-embed-dashboard-ede {
264
+ min-height: 100vh;
265
+ }
266
+
263
267
  .luzmo-embed-container-ede {
264
268
  width: 100%;
265
269
  height: 100%;
@@ -783,7 +787,7 @@ var LuzmoDashboard = class extends import_lit2.LitElement {
783
787
  ${this.dashboardId || this.dashboardSlug ? import_lit2.html`
784
788
  ${loader}
785
789
  <iframe
786
- class="luzmo-embed-dashboard"
790
+ class="luzmo-embed-dashboard ${!this.getIsViewMode() ? `luzmo-embed-dashboard-ede` : ""}"
787
791
  id="${this._iframeId}"
788
792
  name="${this._iframeId}"
789
793
  style=${(0, import_style_map.styleMap)(this.iframeStyle)}
package/index.libs.js CHANGED
@@ -35,7 +35,7 @@ import {
35
35
  } from "@luzmo/shared-embed";
36
36
 
37
37
  // libs/embed-libs/embed/package.json
38
- var version = "5.1.1";
38
+ var version = "5.1.2";
39
39
 
40
40
  // libs/embed-libs/embed/src/lib/luzmo-service.ts
41
41
  var LuzmoService = class {
@@ -241,6 +241,10 @@ var dashboardStyles = css`
241
241
  border: 0;
242
242
  }
243
243
 
244
+ .luzmo-embed-dashboard-ede {
245
+ min-height: 100vh;
246
+ }
247
+
244
248
  .luzmo-embed-container-ede {
245
249
  width: 100%;
246
250
  height: 100%;
@@ -764,7 +768,7 @@ var LuzmoDashboard = class extends LitElement {
764
768
  ${this.dashboardId || this.dashboardSlug ? html`
765
769
  ${loader}
766
770
  <iframe
767
- class="luzmo-embed-dashboard"
771
+ class="luzmo-embed-dashboard ${!this.getIsViewMode() ? `luzmo-embed-dashboard-ede` : ""}"
768
772
  id="${this._iframeId}"
769
773
  name="${this._iframeId}"
770
774
  style=${styleMap(this.iframeStyle)}
@@ -1906,7 +1906,7 @@ var o5 = e6(class extends i4 {
1906
1906
  });
1907
1907
 
1908
1908
  // libs/embed-libs/embed/package.json
1909
- var version = "5.1.1";
1909
+ var version = "5.1.2";
1910
1910
 
1911
1911
  // libs/embed-libs/embed/src/lib/luzmo-service.ts
1912
1912
  var LuzmoService = class {
@@ -2110,6 +2110,10 @@ var dashboardStyles = i`
2110
2110
  border: 0;
2111
2111
  }
2112
2112
 
2113
+ .luzmo-embed-dashboard-ede {
2114
+ min-height: 100vh;
2115
+ }
2116
+
2113
2117
  .luzmo-embed-container-ede {
2114
2118
  width: 100%;
2115
2119
  height: 100%;
@@ -2633,7 +2637,7 @@ var LuzmoDashboard = class extends s3 {
2633
2637
  ${this.dashboardId || this.dashboardSlug ? x`
2634
2638
  ${loader}
2635
2639
  <iframe
2636
- class="luzmo-embed-dashboard"
2640
+ class="luzmo-embed-dashboard ${!this.getIsViewMode() ? `luzmo-embed-dashboard-ede` : ""}"
2637
2641
  id="${this._iframeId}"
2638
2642
  name="${this._iframeId}"
2639
2643
  style=${o5(this.iframeStyle)}
@@ -1907,7 +1907,7 @@ var o5 = e6(class extends i4 {
1907
1907
  });
1908
1908
 
1909
1909
  // libs/embed-libs/embed/package.json
1910
- var version = "5.1.1";
1910
+ var version = "5.1.2";
1911
1911
 
1912
1912
  // libs/embed-libs/embed/src/lib/luzmo-service.ts
1913
1913
  var LuzmoService = class {
@@ -2111,6 +2111,10 @@ var dashboardStyles = i`
2111
2111
  border: 0;
2112
2112
  }
2113
2113
 
2114
+ .luzmo-embed-dashboard-ede {
2115
+ min-height: 100vh;
2116
+ }
2117
+
2114
2118
  .luzmo-embed-container-ede {
2115
2119
  width: 100%;
2116
2120
  height: 100%;
@@ -2634,7 +2638,7 @@ var LuzmoDashboard = class extends s3 {
2634
2638
  ${this.dashboardId || this.dashboardSlug ? x`
2635
2639
  ${loader}
2636
2640
  <iframe
2637
- class="luzmo-embed-dashboard"
2641
+ class="luzmo-embed-dashboard ${!this.getIsViewMode() ? `luzmo-embed-dashboard-ede` : ""}"
2638
2642
  id="${this._iframeId}"
2639
2643
  name="${this._iframeId}"
2640
2644
  style=${o5(this.iframeStyle)}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luzmo/embed",
3
- "version": "5.1.1",
3
+ "version": "5.1.2",
4
4
  "dependencies": {
5
5
  "lit": "3.1.2",
6
6
  "@luzmo/shared-embed": "5.0.8"