@vinctus/react-maplibre 0.2.1 → 0.2.3

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
@@ -25,5 +25,5 @@ To start the test program type:
25
25
  npm ci
26
26
  ```
27
27
  5. ```bash
28
- npm start
28
+ npm run dev
29
29
  ```
package/dist/Popup.d.ts CHANGED
@@ -5,5 +5,6 @@ export type PopupProps = {
5
5
  latitude: number;
6
6
  className?: string;
7
7
  closeOnClick?: boolean;
8
+ closeButton?: boolean;
8
9
  };
9
10
  export declare const Popup: FC<PopupProps>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vinctus/react-maplibre",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "description": "Minimalist MapLibre GL JS React wrapper library",
5
5
  "type": "module",
6
6
  "types": "dist/index.d.ts",
@@ -15,12 +15,12 @@
15
15
  "./dist/*": "./dist/*.js"
16
16
  },
17
17
  "peerDependencies": {
18
- "maplibre-gl": "^4.7.1",
18
+ "maplibre-gl": "*",
19
19
  "react": "^18.3.1",
20
20
  "react-dom": "^18.3.1"
21
21
  },
22
22
  "devDependencies": {
23
- "@types/node": "^22.10.2",
23
+ "@types/node": "^20.17.30",
24
24
  "@types/react": "^18.3.3",
25
25
  "@types/react-dom": "^18.3.0",
26
26
  "typescript": "^5.7.2",
@@ -1 +0,0 @@
1
- {"root":["../src/ErrorBoundary.tsx","../src/GeolocateControl.tsx","../src/Layer.tsx","../src/Map.tsx","../src/Marker.tsx","../src/Popup.tsx","../src/ScaleControl.tsx","../src/index.tsx","../src/types.tsx"],"version":"5.7.2"}