@mappedin/viewer 0.21.1-bfef7b2.0 → 0.21.2-615b008.0
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 +11 -0
- package/dist/index.js +9 -5
- package/dist/types/stores/ui-store/index.d.ts +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.21.1](https://github.com/MappedIn/viewer/compare/viewer-v0.21.0...viewer-v0.21.1) (2024-05-10)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **SRV-1019:** enable watermark on mobile ([#193](https://github.com/MappedIn/viewer/issues/193)) ([3d86c27](https://github.com/MappedIn/viewer/commit/3d86c276bb5278b159b0f3f10f34abfd5c7cc749))
|
|
9
|
+
* **SRV-1075:** add ID to metadata card ([#195](https://github.com/MappedIn/viewer/issues/195)) ([0012e9f](https://github.com/MappedIn/viewer/commit/0012e9f12df9f611d148301647447cc53298e139))
|
|
10
|
+
* **SRV-1181:** styling and behaviour tweaks ([#190](https://github.com/MappedIn/viewer/issues/190)) ([4f80f61](https://github.com/MappedIn/viewer/commit/4f80f61c8a0b30e54ca01d3e0c1adebce4625c93))
|
|
11
|
+
* **SRV-1193:** add more explicit analytics events ([#192](https://github.com/MappedIn/viewer/issues/192)) ([00a05e8](https://github.com/MappedIn/viewer/commit/00a05e822a3eff55ea4d8e63d8b47a117ec78956))
|
|
12
|
+
* **SRV-1195:** remove text from open app button ([#194](https://github.com/MappedIn/viewer/issues/194)) ([bfef7b2](https://github.com/MappedIn/viewer/commit/bfef7b267e6ca57fabc888988dda23c31599ef77))
|
|
13
|
+
|
|
3
14
|
## [0.21.0](https://github.com/MappedIn/viewer/compare/viewer-v0.20.0...viewer-v0.21.0) (2024-05-08)
|
|
4
15
|
|
|
5
16
|
|
package/dist/index.js
CHANGED
|
@@ -61972,6 +61972,9 @@ class _nt {
|
|
|
61972
61972
|
get eclipseModeButtonVisible() {
|
|
61973
61973
|
return this.rootStore.featureFlagStore.flags[Eg.ECLIPSE_MODE].variant === !0;
|
|
61974
61974
|
}
|
|
61975
|
+
get accessibilityToggleVisible() {
|
|
61976
|
+
return !(!(this.rootStore.floorsSortedByElevation.length > 1) || new Set(this.rootStore.data.getByType("connection").map((r) => r.type)).size < 2);
|
|
61977
|
+
}
|
|
61975
61978
|
enableDarkMode(e) {
|
|
61976
61979
|
const t = document.createElement("style");
|
|
61977
61980
|
t.innerText = `
|
|
@@ -79677,6 +79680,7 @@ const Rpe = h1.div`
|
|
|
79677
79680
|
return !g && !b ? null : /* @__PURE__ */ ie.jsxs(
|
|
79678
79681
|
B9t,
|
|
79679
79682
|
{
|
|
79683
|
+
id: "metadata-card",
|
|
79680
79684
|
mobile: d,
|
|
79681
79685
|
style: {
|
|
79682
79686
|
width: d ? "100%" : Z8,
|
|
@@ -80078,13 +80082,13 @@ const Rpe = h1.div`
|
|
|
80078
80082
|
gap: 8
|
|
80079
80083
|
},
|
|
80080
80084
|
children: [
|
|
80081
|
-
/* @__PURE__ */ ie.jsx(
|
|
80085
|
+
e.accessibilityToggleVisible ? /* @__PURE__ */ ie.jsx(
|
|
80082
80086
|
Zpe,
|
|
80083
80087
|
{
|
|
80084
80088
|
enabled: i.mapStore.directions.accessible,
|
|
80085
80089
|
onClick: i.mapStore.directions.toggleAccessible
|
|
80086
80090
|
}
|
|
80087
|
-
),
|
|
80091
|
+
) : null,
|
|
80088
80092
|
/* @__PURE__ */ ie.jsx(
|
|
80089
80093
|
p9t,
|
|
80090
80094
|
{
|
|
@@ -80300,13 +80304,13 @@ const Rpe = h1.div`
|
|
|
80300
80304
|
))
|
|
80301
80305
|
}
|
|
80302
80306
|
) : null,
|
|
80303
|
-
/* @__PURE__ */ ie.jsx("div", { style: { alignSelf: "end", margin: 12 }, children: /* @__PURE__ */ ie.jsx(
|
|
80307
|
+
/* @__PURE__ */ ie.jsx("div", { style: { alignSelf: "end", margin: 12 }, children: e.accessibilityToggleVisible ? /* @__PURE__ */ ie.jsx(
|
|
80304
80308
|
Zpe,
|
|
80305
80309
|
{
|
|
80306
80310
|
enabled: i.mapStore.directions.accessible,
|
|
80307
80311
|
onClick: i.mapStore.directions.toggleAccessible
|
|
80308
80312
|
}
|
|
80309
|
-
) }),
|
|
80313
|
+
) : null }),
|
|
80310
80314
|
/* @__PURE__ */ ie.jsxs(
|
|
80311
80315
|
"div",
|
|
80312
80316
|
{
|
|
@@ -80832,7 +80836,7 @@ const Ype = kM((i) => {
|
|
|
80832
80836
|
}
|
|
80833
80837
|
}, Jpe = () => {
|
|
80834
80838
|
const i = document.createElement("meta");
|
|
80835
|
-
i.name = "app-version", i.content = "0.21.
|
|
80839
|
+
i.name = "app-version", i.content = "0.21.1", document.head.appendChild(i);
|
|
80836
80840
|
let e = document.querySelector("meta[name=viewport]");
|
|
80837
80841
|
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";
|
|
80838
80842
|
}, Qpe = (i) => {
|
|
@@ -44,6 +44,7 @@ declare class UIStore {
|
|
|
44
44
|
get metadataCardVisible(): boolean;
|
|
45
45
|
get availableDepartureModes(): E_DEPARTURE_MODE[];
|
|
46
46
|
get eclipseModeButtonVisible(): boolean;
|
|
47
|
+
get accessibilityToggleVisible(): boolean;
|
|
47
48
|
enableDarkMode(enabled: boolean): void;
|
|
48
49
|
dismissMakerPopUp(): void;
|
|
49
50
|
setLightTheme(theme: TTheme): void;
|