@mappedin/viewer 0.28.1-3bd81e4.0 → 0.28.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.28.1](https://github.com/MappedIn/viewer/compare/viewer-v0.28.0...viewer-v0.28.1) (2024-10-24)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **SRV-1719:** default style should fetch tiles from the CDN ([#329](https://github.com/MappedIn/viewer/issues/329)) ([3bd81e4](https://github.com/MappedIn/viewer/commit/3bd81e41b1ce4fe8fec84f6ebd104d7f2ed79629))
9
+ * **SRV-1743:** fix style issue on one floor venues with halloween button ([#333](https://github.com/MappedIn/viewer/issues/333)) ([ba0df0e](https://github.com/MappedIn/viewer/commit/ba0df0e7e9d246fcf43e37c7517c6d80bf498352))
10
+
3
11
  ## [0.28.0](https://github.com/MappedIn/viewer/compare/viewer-v0.27.1...viewer-v0.28.0) (2024-10-23)
4
12
 
5
13
 
package/dist/index.js CHANGED
@@ -15872,7 +15872,7 @@ const g8 = { current: We2, captureEnabled: !0 }, aF2 = (i) => {
15872
15872
  const e = mf(), [t, r] = i;
15873
15873
  e.capture(t, r);
15874
15874
  }, Xe2 = (i = {}) => {
15875
- const e = "phc_vZrwt3z6JmdPnErvTgZoazTAGlCRMiz6c2NqWtBt8qz", t = "https://ph-api.mappedin.com";
15875
+ const e = "phc_sRrjUwz9zicl4GeXtSnwcuKMr50SB76ma6NVi6zlPou", t = "https://ph-api.mappedin.com";
15876
15876
  oF2(i.captureEnabled ?? !0);
15877
15877
  const r = mf();
15878
15878
  if (!r.__loaded && e != null && t != null) {
@@ -72101,7 +72101,7 @@ const Wne = (i, e) => (e7 != null || (Th == null && globalThis.OffscreenCanvas !
72101
72101
  const r = {
72102
72102
  fit: "fit",
72103
72103
  ...t
72104
- }, n = "https://image-proxy-staging.mappedin.net", a = Xne[e], o = encodeURIComponent(i);
72104
+ }, n = "https://image-proxy.mappedin.com", a = Xne[e], o = encodeURIComponent(i);
72105
72105
  return `${n}/resize:${r.fit}:${a}:${a}:0/plain/${o}`.replaceAll(/\/+/g, "/").replace("/", "//");
72106
72106
  }, XX = me.div`
72107
72107
  display: flex;
@@ -73503,7 +73503,7 @@ class yae {
73503
73503
  }
73504
73504
  async init(e) {
73505
73505
  this.container = e;
73506
- const t = this.rootStore.startupOptions.outdoorMapsKey ?? "f8fd42d9e1c2751f", r = {
73506
+ const t = this.rootStore.startupOptions.outdoorMapsKey ?? "zixaliyV5cGjHU", r = {
73507
73507
  auto: !1,
73508
73508
  initialFloor: this.rootStore.currentFloor,
73509
73509
  watermark: this.getWatermarkOptions(),
@@ -87590,14 +87590,6 @@ const Kw2 = me.div`
87590
87590
  justify-content: flex-end;
87591
87591
  height: fit-content;
87592
87592
  gap: 12px;
87593
-
87594
- & > * {
87595
- margin-bottom: 12px;
87596
- }
87597
-
87598
- & > *:last-child {
87599
- margin-bottom: 0px;
87600
- }
87601
87593
  `, S7e = pg(() => {
87602
87594
  var n, a, o, s, l, u, c, d, p;
87603
87595
  const i = I2.useContext(dg), { uiStore: e, searchStore: t } = i, r = (n = i.selectedPlaces) == null ? void 0 : n[0];
@@ -87659,7 +87651,7 @@ const Kw2 = me.div`
87659
87651
  onSwapDirectionsClick: e.handleSwapDirectionsClick
87660
87652
  }
87661
87653
  ) : null,
87662
- /* @__PURE__ */ G.jsxs("div", { children: [
87654
+ /* @__PURE__ */ G.jsxs("div", { style: { display: "flex", flexDirection: "column", gap: 12 }, children: [
87663
87655
  /* @__PURE__ */ G.jsxs(M7e, { children: [
87664
87656
  e.levelSelectorVisible ? /* @__PURE__ */ G.jsx(
87665
87657
  Qw2,
@@ -88129,7 +88121,7 @@ const Kw2 = me.div`
88129
88121
  ] });
88130
88122
  }), pb2 = () => {
88131
88123
  let i = document.querySelector("meta[name=app-version]");
88132
- i == null && (i = document.createElement("meta"), i.name = "app-version", document.head.appendChild(i)), i.content = "0.28.0";
88124
+ i == null && (i = document.createElement("meta"), i.name = "app-version", document.head.appendChild(i)), i.content = "0.28.1";
88133
88125
  let e = document.querySelector("meta[name=viewport]");
88134
88126
  e == null && (e = document.createElement("meta"), e.name = "viewport", document.head.appendChild(e)), e.content = "width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no";
88135
88127
  }, fb2 = (i) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mappedin/viewer",
3
- "version": "0.28.1-3bd81e4.0",
3
+ "version": "0.28.1",
4
4
  "type": "module",
5
5
  "browser": "./dist/index.js",
6
6
  "license": "UNLICENSED",