@trailstash/ultra 3.3.1 → 3.3.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.
@@ -67,8 +67,8 @@ export class NavBar extends HTMLElement {
67
67
  h(
68
68
  "a",
69
69
  { href: "." },
70
- h("b", {}, t(this.title)),
71
- h("img", { src: this.icon }),
70
+ h("b", {}, t(this.title || "Ultra")),
71
+ h("img", { src: this.icon || "./logo.png" }),
72
72
  ),
73
73
  );
74
74
  shadow.appendChild(nav);
@@ -86,8 +86,6 @@ export class UltraIDE extends HTMLElement {
86
86
  query = "";
87
87
  settings = {};
88
88
  styles = [];
89
- title = "Ultra";
90
- icon = "/logo.svg";
91
89
  help;
92
90
 
93
91
  static MAP_INIT_SETTINGS = [
@@ -98,7 +96,7 @@ export class UltraIDE extends HTMLElement {
98
96
  "queryProviders",
99
97
  "persistState",
100
98
  ];
101
- static props = ["settings", "query", "styles", "title", "icon", "help"];
99
+ static props = ["settings", "query", "styles", "help"];
102
100
 
103
101
  constructor() {
104
102
  super();
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "3.3.1",
6
+ "version": "3.3.2",
7
7
  "description": "A web based tool for making MapLibre GL maps with data from sources such as Overpass, GeoJSON, GPX, KML, TCX, etc",
8
8
  "main": "index.js",
9
9
  "scripts": {