@superrouteca/smap-react 1.0.1 → 1.0.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.2 — 2026-10-27
4
+
5
+ - Requires `@superrouteca/smap` 1.0.2, where a layer also takes a bare GeoJSON geometry (a LineString, a Polygon, …)
6
+ and draws it as one feature; before, such a layer stayed empty.
7
+
3
8
  ## 1.0.1 — 2026-10-27
4
9
 
5
10
  - Every map shows a small sMap badge (the sMap icon and name on a semi-transparent pill that reads on all five colour
package/README.md CHANGED
@@ -8,7 +8,7 @@
8
8
  React components for maps from Superroute's sMap service: `<SMap>`, `<Points>`, `<Lines>`, `<Polygons>` and the
9
9
  `useSMap()` hook, over [`@superrouteca/smap`](../js).
10
10
 
11
- - Version 1.0.1, MIT licence (see `LICENSE` at the repository root)
11
+ - Version 1.0.2, MIT licence (see `LICENSE` at the repository root)
12
12
  - React 18 or later; TypeScript types included
13
13
  - Server rendering (Next.js App Router included): the components are client components and the map is created only
14
14
  in the browser, after mounting
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superrouteca/smap-react",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "sMap for React: components for maps from Superroute's sMap service.",
5
5
  "license": "MIT",
6
6
  "author": "Goodneo Solutions",
@@ -51,7 +51,7 @@
51
51
  "react": ">=18"
52
52
  },
53
53
  "dependencies": {
54
- "@superrouteca/smap": "1.0.1"
54
+ "@superrouteca/smap": "1.0.2"
55
55
  },
56
56
  "devDependencies": {
57
57
  "@testing-library/react": "16.3.3",