@openremote/or-map 1.13.0 → 1.13.1

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.
@@ -1 +1 @@
1
- {"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../src/style.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,cAAc,mCAAmC,CAAC;AAC/D,eAAO,MAAM,oBAAoB,0CAA0C,CAAC;AAG5E,eAAO,MAAM,KAAK,yBAgJjB,CAAC;AAEF,eAAO,MAAM,iBAAiB,yBA0F7B,CAAC;AAEF,eAAO,MAAM,mBAAmB,yBAmE/B,CAAA"}
1
+ {"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../src/style.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,cAAc,mCAAmC,CAAC;AAC/D,eAAO,MAAM,oBAAoB,0CAA0C,CAAC;AAG5E,eAAO,MAAM,KAAK,yBAmJjB,CAAC;AAEF,eAAO,MAAM,iBAAiB,yBA0F7B,CAAC;AAEF,eAAO,MAAM,mBAAmB,yBAmE/B,CAAA"}
package/lib/style.js CHANGED
@@ -22,13 +22,12 @@ import{css as r,unsafeCSS as a}from"lit";import{DefaultColor1 as e,DefaultColor2
22
22
  --internal-or-map-marker-icon-active-width: var(--or-map-marker-icon-active-width, 24px);
23
23
  --internal-or-map-marker-icon-active-height: var(--or-map-marker-icon-active-height, 24px);
24
24
  --internal-or-map-marker-icon-active-transform: var(--or-map-marker-icon-active-transform, translate(-50%, -20px));
25
- display: block;
25
+ display: flex;
26
26
  overflow: hidden;
27
-
28
27
  min-height: var(--internal-or-map-min-height);
29
28
  width: var(--internal-or-map-width);
30
29
  }
31
-
30
+
32
31
  canvas {
33
32
  outline: none !important;
34
33
  }
@@ -40,13 +39,17 @@ import{css as r,unsafeCSS as a}from"lit";import{DefaultColor1 as e,DefaultColor2
40
39
  slot {
41
40
  display: none;
42
41
  }
43
-
42
+
44
43
  #container {
45
44
  position: relative;
46
- width: 100%;
47
- height: 100%;
45
+ /*
46
+ * Setting height/width through percentages doesn't work for WebKit browsers as the parent
47
+ * element's height property resolves to 0 when it's the :host element of a web components'
48
+ * shadow-dom.
49
+ */
50
+ flex: 1 1 auto;
48
51
  }
49
-
52
+
50
53
  #map {
51
54
  position: absolute;
52
55
  left: 0;
package/lib/style.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"style.js","sourceRoot":"","sources":["../src/style.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAE,SAAS,EAAC,MAAM,KAAK,CAAC;AACnC,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,aAAa,EAAiB,aAAa,EAAE,mBAAmB,EAAmB,MAAM,kBAAkB,CAAC;AAEnJ,MAAM,CAAC,MAAM,cAAc,GAAG,gCAAgC,CAAC;AAC/D,MAAM,CAAC,MAAM,oBAAoB,GAAG,uCAAuC,CAAC;AAE5E,eAAe;AACf,MAAM,CAAC,MAAM,KAAK,GAAG,GAAG,CAAA;;;;;;;0FAOkE,SAAS,CAAC,aAAa,CAAC;;oGAEd,SAAS,CAAC,aAAa,CAAC;;;;;;;;wGAQpB,SAAS,CAAC,aAAa,CAAC;;kHAEd,SAAS,CAAC,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6HzI,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAAA;;wHAEoF,SAAS,CAAC,aAAa,CAAC;kIACd,SAAS,CAAC,aAAa,CAAC;0GAChD,SAAS,CAAC,mBAAmB,CAAC;gIACR,SAAS,CAAC,aAAa,CAAC;0IACd,SAAS,CAAC,aAAa,CAAC;8HACpC,SAAS,CAAC,aAAa,CAAC;;;;;;;;;;;;;;;;;;;2CAmB3G,SAAS,CAAC,aAAa,CAAC;;;;;;;;;;;;;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8HACpC,SAAS,CAAC,aAAa,CAAC;;;;;;;;;;;;;;;;;;;2CAmB3G,SAAS,CAAC,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgElE,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,CAAA;;kIAE4F,SAAS,CAAC,aAAa,CAAC;4GAC9C,SAAS,CAAC,mBAAmB,CAAC;;;;;;;;;;;;;;;;;2CAiB/F,SAAS,CAAC,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+ClE,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openremote/or-map",
3
- "version": "1.13.0",
3
+ "version": "1.13.1",
4
4
  "description": "Displays s vector or raster map",
5
5
  "customElements": "custom-elements.json",
6
6
  "main": "dist/umd/index.bundle.js",
@@ -23,11 +23,11 @@
23
23
  "license": "AGPL-3.0-or-later",
24
24
  "dependencies": {
25
25
  "@maplibre/maplibre-gl-geocoder": "^1.5.0",
26
- "@openremote/core": "1.13.0",
27
- "@openremote/model": "1.13.0",
28
- "@openremote/or-icon": "1.13.0",
29
- "@openremote/or-mwc-components": "1.13.0",
30
- "@openremote/or-translate": "1.13.0",
26
+ "@openremote/core": "1.13.1",
27
+ "@openremote/model": "1.13.1",
28
+ "@openremote/or-icon": "1.13.1",
29
+ "@openremote/or-mwc-components": "1.13.1",
30
+ "@openremote/or-translate": "1.13.1",
31
31
  "lit": "^3.3.1",
32
32
  "lit-html": "^3.3.1",
33
33
  "lodash": "^4.17.21",