@craft-native/ts-maps 0.0.238 → 0.0.242

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/README.md CHANGED
@@ -2,7 +2,14 @@
2
2
 
3
3
  Craft SDK bindings for the [ts-maps](https://github.com/stacksjs/ts-maps) interactive map runtime.
4
4
 
5
- This package is the TypeScript side of `MapProvider.ts_maps` in Craft's Zig core. It ships a `MapView` component you can drop into any Craft app (desktop, mobile, WebView) to get a cross-platform interactive map with zero API keys.
5
+ This package is the TypeScript side of `MapProvider.ts_maps` in Craft's Zig core.
6
+ Its `MapView` owns a DOM container and renders ts-maps inside a browser or
7
+ WebView, with zero API keys. It is not the STX native `Map` component.
8
+
9
+ For a fully native STX screen, use `Map`, `MapMarker`, and `MapPolyline`.
10
+ Craft renders them with MapKit on iOS and the configured native Android map
11
+ provider. Android's `mapProvider: 'maplibre'` selects a key-free native GL view;
12
+ it does not mount this package's DOM adapter.
6
13
 
7
14
  ## Install
8
15
 
package/dist/MapView.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
- * `MapView` — Craft-native interactive map component backed by the
3
- * ts-maps runtime. Instances are WebView-hosted; in native Craft apps
2
+ * `MapView` — Craft WebView map component backed by the
3
+ * ts-maps runtime. Instances own a DOM container; in Craft apps
4
4
  * the Zig core drives them via the `ts_maps` bridge namespace.
5
5
  *
6
6
  * @module @craft-native/ts-maps/MapView
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@craft-native/ts-maps",
3
- "version": "0.0.238",
3
+ "version": "0.0.242",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Craft SDK bindings for the ts-maps interactive map runtime. Provides a cross-platform MapView component backed by the MapProvider.ts_maps variant in the Zig core.",
package/src/MapView.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
- * `MapView` — Craft-native interactive map component backed by the
3
- * ts-maps runtime. Instances are WebView-hosted; in native Craft apps
2
+ * `MapView` — Craft WebView map component backed by the
3
+ * ts-maps runtime. Instances own a DOM container; in Craft apps
4
4
  * the Zig core drives them via the `ts_maps` bridge namespace.
5
5
  *
6
6
  * @module @craft-native/ts-maps/MapView