@ship-it-ui/map 0.0.3 → 0.0.5
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/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +12 -12
package/dist/index.d.cts
CHANGED
|
@@ -75,6 +75,6 @@ declare const MapMarker: react.ForwardRefExoticComponent<MapMarkerProps & react.
|
|
|
75
75
|
* mapRef.current?.flyTo({ center: [-118.2, 34.0], zoom: 10 });
|
|
76
76
|
* ```
|
|
77
77
|
*/
|
|
78
|
-
declare function useMap(): react.
|
|
78
|
+
declare function useMap(): react.RefObject<MapHandle | null>;
|
|
79
79
|
|
|
80
80
|
export { type LngLat, Map, type MapHandle, MapMarker, type MapMarkerData, type MapMarkerProps, type MapProps, useMap };
|
package/dist/index.d.ts
CHANGED
|
@@ -75,6 +75,6 @@ declare const MapMarker: react.ForwardRefExoticComponent<MapMarkerProps & react.
|
|
|
75
75
|
* mapRef.current?.flyTo({ center: [-118.2, 34.0], zoom: 10 });
|
|
76
76
|
* ```
|
|
77
77
|
*/
|
|
78
|
-
declare function useMap(): react.
|
|
78
|
+
declare function useMap(): react.RefObject<MapHandle | null>;
|
|
79
79
|
|
|
80
80
|
export { type LngLat, Map, type MapHandle, MapMarker, type MapMarkerData, type MapMarkerProps, type MapProps, useMap };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ship-it-ui/map",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
4
4
|
"description": "Map primitive for the Ship-It design system. Thin React wrapper over MapLibre GL JS with styled markers that consume design-system tokens.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://ship-it-ops.github.io/ship-it-design/",
|
|
@@ -40,31 +40,31 @@
|
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"maplibre-gl": "^4.0.0 || ^5.0.0",
|
|
43
|
-
"react": "^
|
|
44
|
-
"react-dom": "^
|
|
45
|
-
"@ship-it-ui/icons": "0.0.
|
|
46
|
-
"@ship-it-ui/ui": "0.0.
|
|
43
|
+
"react": "^19.0.0",
|
|
44
|
+
"react-dom": "^19.0.0",
|
|
45
|
+
"@ship-it-ui/icons": "0.0.11",
|
|
46
|
+
"@ship-it-ui/ui": "0.0.11"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@testing-library/jest-dom": "^6.6.3",
|
|
50
50
|
"@testing-library/react": "^16.0.1",
|
|
51
|
-
"@types/react": "^
|
|
52
|
-
"@types/react-dom": "^
|
|
51
|
+
"@types/react": "^19.2.0",
|
|
52
|
+
"@types/react-dom": "^19.2.0",
|
|
53
53
|
"axe-core": "^4.10.2",
|
|
54
54
|
"esbuild-plugin-preserve-directives": "^0.0.11",
|
|
55
55
|
"jsdom": "^29.1.1",
|
|
56
|
-
"maplibre-gl": "^
|
|
57
|
-
"react": "^
|
|
58
|
-
"react-dom": "^
|
|
56
|
+
"maplibre-gl": "^5.24.0",
|
|
57
|
+
"react": "^19.2.0",
|
|
58
|
+
"react-dom": "^19.2.0",
|
|
59
59
|
"tsup": "^8.3.0",
|
|
60
60
|
"typescript": "^5.6.3",
|
|
61
61
|
"vitest": "^2.1.3",
|
|
62
62
|
"vitest-axe": "^0.1.0",
|
|
63
63
|
"@ship-it-ui/eslint-config": "0.0.1",
|
|
64
|
-
"@ship-it-ui/icons": "0.0.
|
|
64
|
+
"@ship-it-ui/icons": "0.0.11",
|
|
65
65
|
"@ship-it-ui/tokens": "0.0.7",
|
|
66
66
|
"@ship-it-ui/tsconfig": "0.0.1",
|
|
67
|
-
"@ship-it-ui/ui": "0.0.
|
|
67
|
+
"@ship-it-ui/ui": "0.0.11"
|
|
68
68
|
},
|
|
69
69
|
"scripts": {
|
|
70
70
|
"build": "tsup",
|