@stadiamaps/ferrostar-webcomponents 0.31.0 → 0.32.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.
@@ -2,7 +2,6 @@ import { LitElement } from 'lit';
2
2
  export declare class InstructionsView extends LitElement {
3
3
  tripState: any;
4
4
  static styles: import('lit').CSSResult[];
5
- private roundToNearestTen;
6
5
  render(): import('lit-html').TemplateResult<1> | undefined;
7
6
  }
8
7
  //# sourceMappingURL=instructions-view.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"instructions-view.d.ts","sourceRoot":"","sources":["../src/instructions-view.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAE5C,OAAO,kBAAkB,CAAC;AAE1B,qBACa,gBAAiB,SAAQ,UAAU;IAE9C,SAAS,EAAE,GAAG,CAAQ;IAEtB,MAAM,CAAC,MAAM,4BAoCX;IAEF,OAAO,CAAC,iBAAiB;IAIzB,MAAM;CAuBP"}
1
+ {"version":3,"file":"instructions-view.d.ts","sourceRoot":"","sources":["../src/instructions-view.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAG5C,OAAO,kBAAkB,CAAC;AAI1B,qBACa,gBAAiB,SAAQ,UAAU;IAE9C,SAAS,EAAE,GAAG,CAAQ;IAEtB,MAAM,CAAC,MAAM,4BAqCX;IAEF,MAAM;CAuBP"}
@@ -2,9 +2,7 @@ import { LitElement } from 'lit';
2
2
  export declare class TripProgressView extends LitElement {
3
3
  tripState: any;
4
4
  static styles: import('lit').CSSResult[];
5
- getArrivalTime(seconds: number): string;
6
- getDistanceRemaining(meters: number): string;
7
- getDurationRemaining(seconds: number): string;
5
+ getEstimatedArrival(durationRemaining: number): Date;
8
6
  render(): import('lit-html').TemplateResult<1> | undefined;
9
7
  }
10
8
  //# sourceMappingURL=trip-progress-view.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"trip-progress-view.d.ts","sourceRoot":"","sources":["../src/trip-progress-view.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAO5C,qBACa,gBAAiB,SAAQ,UAAU;IAE9C,SAAS,EAAE,GAAG,CAAQ;IAEtB,MAAM,CAAC,MAAM,4BAkBX;IAEF,cAAc,CAAC,OAAO,EAAE,MAAM;IAS9B,oBAAoB,CAAC,MAAM,EAAE,MAAM;IA0BnC,oBAAoB,CAAC,OAAO,EAAE,MAAM;IAKpC,MAAM;CAuBP"}
1
+ {"version":3,"file":"trip-progress-view.d.ts","sourceRoot":"","sources":["../src/trip-progress-view.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAM5C,qBACa,gBAAiB,SAAQ,UAAU;IAE9C,SAAS,EAAE,GAAG,CAAQ;IAEtB,MAAM,CAAC,MAAM,4BAmBX;IAEF,mBAAmB,CAAC,iBAAiB,EAAE,MAAM;IAI7C,MAAM;CA0BP"}
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "CatMe0w <CatMe0w@live.cn> (https://github.com/CatMe0w)",
7
7
  "Luke Seelenbinder <luke@stadiamaps.com>"
8
8
  ],
9
- "version": "0.31.0",
9
+ "version": "0.32.0",
10
10
  "license": "BSD-3-Clause",
11
11
  "type": "module",
12
12
  "main": "./dist/ferrostar-webcomponents.js",
@@ -32,19 +32,20 @@
32
32
  "publish:core": "wasm-pack publish --access public ../common/ferrostar/pkg"
33
33
  },
34
34
  "dependencies": {
35
- "@stadiamaps/ferrostar": "^0.31.0",
35
+ "@stadiamaps/ferrostar": "^0.32.0",
36
+ "@maptimy/platform-formatters": "^0.5.0",
36
37
  "lit": "^3.2.1",
37
- "maplibre-gl": "^4.5.0",
38
- "vite-plugin-dts": "^4.5.3"
38
+ "maplibre-gl": "^4.5.0 || ^5"
39
39
  },
40
40
  "devDependencies": {
41
- "@stadiamaps/maplibre-search-box": "^1.1.0",
41
+ "@stadiamaps/maplibre-search-box": "^3.0.2",
42
42
  "prettier": "^3.5.3",
43
- "typescript": "^5.2.2",
44
- "vite": "^6.2.2",
43
+ "typescript": "^5.8.3",
44
+ "vite": "^6.2.5",
45
+ "vite-plugin-dts": "^4.5.3",
45
46
  "vite-plugin-top-level-await": "^1.5.0",
46
- "vite-plugin-wasm": "^3.3.0",
47
- "vitest": "^3.0.9"
47
+ "vite-plugin-wasm": "^3.4.1",
48
+ "vitest": "^3.1.1"
48
49
  },
49
50
  "keywords": [
50
51
  "navigation",