@osm-editor-kit/street-imagery-react 0.1.0-alpha.0 → 0.1.0-alpha.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.
Files changed (2) hide show
  1. package/README.md +9 -2
  2. package/package.json +6 -5
package/README.md CHANGED
@@ -1,10 +1,17 @@
1
1
  # `@osm-editor-kit/street-imagery-react`
2
2
 
3
- **Status:** First npm **alpha** (`0.1.0-alpha.0`). Publish with `bun run packages:release -- --publish-only` after `npm login`.
3
+ > [!NOTE]
4
+ > This package is an **alpha** release and still under active development. APIs may change; install with the npm `alpha` dist-tag.
4
5
 
5
6
  ## What it does
6
7
 
7
- React MapLibre bindings for street-level imagery: map sources/layers, photo click handling, TanStack Query provider hooks, and lazy Mapillary/Panoramax viewer panels. Data adapters and GeoJSON helpers live in `@osm-editor-kit/street-imagery`.
8
+ React + MapLibre UI on top of `@osm-editor-kit/street-imagery`:
9
+
10
+ - Map sources and layers for photos, sequences, and viewfields
11
+ - Click handling and interactive layer ids
12
+ - TanStack Query hooks to load provider data for the viewport
13
+ - Lazy Mapillary and Panoramax viewer panels
14
+ - Helpers for selection, thumbnails, and easing the map to a photo
8
15
 
9
16
  ## Usage
10
17
 
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@osm-editor-kit/street-imagery-react",
3
- "version": "0.1.0-alpha.0",
3
+ "version": "0.1.0-alpha.2",
4
4
  "description": "React MapLibre layers and photo viewers for street-level imagery providers.",
5
+ "homepage": "https://github.com/osmberlin/street-space-editor/tree/main/packages/street-imagery-react",
5
6
  "license": "MIT",
6
7
  "author": "Tobias Jordans",
7
8
  "repository": {
@@ -9,10 +10,10 @@
9
10
  "url": "git+https://github.com/osmberlin/street-space-editor.git",
10
11
  "directory": "packages/street-imagery-react"
11
12
  },
12
- "type": "module",
13
13
  "files": [
14
14
  "dist"
15
15
  ],
16
+ "type": "module",
16
17
  "exports": {
17
18
  ".": {
18
19
  "types": "./dist/index.d.ts",
@@ -41,7 +42,7 @@
41
42
  "@types/react-dom": "^19.1.7",
42
43
  "bun-types": "^1.2.20",
43
44
  "mapillary-js": "^4.1.2",
44
- "maplibre-gl": "^5.7.1",
45
+ "maplibre-gl": "^6.7.0",
45
46
  "react": "^19.1.1",
46
47
  "react-dom": "^19.1.1",
47
48
  "react-map-gl": "^8.0.4",
@@ -50,11 +51,11 @@
50
51
  "zustand": "^5.0.7"
51
52
  },
52
53
  "peerDependencies": {
53
- "@osm-editor-kit/street-imagery": "workspace:*",
54
+ "@osm-editor-kit/street-imagery": "^0.1.0-alpha.2",
54
55
  "@panoramax/web-viewer": "^5",
55
56
  "@tanstack/react-query": "^5",
56
57
  "mapillary-js": "^4",
57
- "maplibre-gl": "^5",
58
+ "maplibre-gl": "^6",
58
59
  "react": "^19",
59
60
  "react-dom": "^19",
60
61
  "react-map-gl": "^8",