@mapcomponents/react-maplibre 1.6.4 → 1.7.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/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mapcomponents/react-maplibre",
3
- "version": "1.6.4",
3
+ "version": "1.7.2",
4
4
  "main": "dist/index.cjs.js",
5
5
  "license": "MIT",
6
6
  "module": "dist/index.mjs",
@@ -50,10 +50,9 @@
50
50
  "react-redux": "^9.2.0",
51
51
  "redux": "^5.0.1",
52
52
  "redux-thunk": "^3.1.0",
53
- "three": "^0.179.1",
54
53
  "topojson-client": "^3.1.0",
55
54
  "uuid": "^11.1.0",
56
- "maplibre-gl": "5.6.0",
55
+ "maplibre-gl": "^5.7.0",
57
56
  "wms-capabilities": "^0.6.0"
58
57
  },
59
58
  "peerDependencies": {
@@ -77,7 +76,6 @@
77
76
  "@types/react": "^19.1.12",
78
77
  "@types/react-dom": "^19.1.9",
79
78
  "@types/sql.js": "^1.4.9",
80
- "@types/three": "^0.179.0",
81
79
  "@types/uuid": "^10.0.0",
82
80
  "@typescript-eslint/eslint-plugin": "^8.42.0",
83
81
  "@typescript-eslint/parser": "^8.42.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mapcomponents/react-maplibre",
3
- "version": "1.6.4",
3
+ "version": "1.7.2",
4
4
  "main": "dist/index.cjs.js",
5
5
  "license": "MIT",
6
6
  "module": "dist/index.mjs",
@@ -43,10 +43,9 @@
43
43
  "react-redux": "^9.2.0",
44
44
  "redux": "^5.0.1",
45
45
  "redux-thunk": "^3.1.0",
46
- "three": "^0.179.1",
47
46
  "topojson-client": "^3.1.0",
48
47
  "uuid": "^11.1.0",
49
- "maplibre-gl": "5.6.0",
48
+ "maplibre-gl": "^5.7.0",
50
49
  "wms-capabilities": "^0.6.0"
51
50
  },
52
51
  "peerDependencies": {
@@ -70,7 +69,6 @@
70
69
  "@types/react": "^19.1.12",
71
70
  "@types/react-dom": "^19.1.9",
72
71
  "@types/sql.js": "^1.4.9",
73
- "@types/three": "^0.179.0",
74
72
  "@types/uuid": "^10.0.0",
75
73
  "@typescript-eslint/eslint-plugin": "^8.42.0",
76
74
  "@typescript-eslint/parser": "^8.42.0",
@@ -1,13 +0,0 @@
1
- /**
2
- * Renders obj or gltf 3D Models on the MapLibreMap referenced by props.mapId
3
- *
4
- * @component
5
- */
6
- export interface MlThreeJsLayerProps {
7
- mapId?: string;
8
- init?: () => void;
9
- onDone?: () => void;
10
- }
11
- declare const MlThreeJsLayer: (props: MlThreeJsLayerProps) => import("react/jsx-runtime").JSX.Element;
12
- export default MlThreeJsLayer;
13
- //# sourceMappingURL=MlThreeJsLayer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MlThreeJsLayer.d.ts","sourceRoot":"","sources":["../../../src/components/MlThreeJsLayer/MlThreeJsLayer.tsx"],"names":[],"mappings":"AAOA;;;;GAIG;AAEH,MAAM,WAAW,mBAAmB;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,IAAI,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACpB;AAED,QAAA,MAAM,cAAc,GAAI,OAAO,mBAAmB,4CAiKjD,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -1,15 +0,0 @@
1
- declare const storyoptions: {
2
- title: string;
3
- component: (props: import('./MlThreeJsLayer').MlThreeJsLayerProps) => import("react/jsx-runtime").JSX.Element;
4
- argTypes: {
5
- options: {
6
- control: {
7
- type: string;
8
- };
9
- };
10
- };
11
- decorators: import('@storybook/react-vite').Decorator[];
12
- };
13
- export default storyoptions;
14
- export declare const ExampleConfig: any;
15
- //# sourceMappingURL=MlThreeJsLayer.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MlThreeJsLayer.stories.d.ts","sourceRoot":"","sources":["../../../src/components/MlThreeJsLayer/MlThreeJsLayer.stories.tsx"],"names":[],"mappings":"AASA,QAAA,MAAM,YAAY;;;;;;;;;;;CAWjB,CAAC;AACF,eAAe,YAAY,CAAC;AA4C5B,eAAO,MAAM,aAAa,KAAoB,CAAC"}