naksha-components-react 3.13.1 → 4.0.1
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 +1 -1
- package/dist/esm/chunk-Y5JLKQX5.js +1 -0
- package/dist/esm/index.js +251 -8
- package/dist/esm/mapbox-gl-3PNS6OSM.js +960 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +1210 -0
- package/package.json +24 -39
- package/dist/cjs/index.js +0 -60
- package/dist/cjs/index.js.map +0 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/types/index.d.ts +0 -7
package/package.json
CHANGED
|
@@ -1,55 +1,40 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "naksha-components-react",
|
|
3
|
+
"version": "4.0.1",
|
|
3
4
|
"author": "harshzalavadiya",
|
|
4
|
-
"
|
|
5
|
+
"main": "./dist/index.js",
|
|
6
|
+
"module": "./dist/index.mjs",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"sideEffects": false,
|
|
5
9
|
"license": "Apache-2.0",
|
|
6
|
-
"main": "dist/cjs/index.js",
|
|
7
|
-
"module": "dist/esm/index.js",
|
|
8
|
-
"types": "dist/types/index.d.ts",
|
|
9
|
-
"typings": "dist/types/index.d.ts",
|
|
10
|
-
"exports": {
|
|
11
|
-
".": {
|
|
12
|
-
"require": "./dist/cjs/index.js",
|
|
13
|
-
"default": "./dist/esm/index.js"
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
10
|
"repository": "strandls/naksha-components-react",
|
|
17
11
|
"files": [
|
|
18
|
-
"dist"
|
|
12
|
+
"dist/**"
|
|
19
13
|
],
|
|
20
|
-
"engines": {
|
|
21
|
-
"node": ">=14"
|
|
22
|
-
},
|
|
23
14
|
"scripts": {
|
|
24
|
-
"
|
|
25
|
-
"build": "
|
|
26
|
-
"
|
|
27
|
-
"build:cjs": "cross-env BABEL_ENV=cjs babel src --root-mode upward --extensions .ts,.tsx -d dist/cjs --source-maps",
|
|
28
|
-
"build:types": "tsc --emitDeclarationOnly --declaration --declarationDir dist/types",
|
|
29
|
-
"lint": "eslint src --ext .ts,.tsx --config ../../.eslintrc.json"
|
|
15
|
+
"clean": "rm -rf node_modules dist .turbo",
|
|
16
|
+
"build": "tsup src/index.tsx --legacy-output --minify --format esm,cjs --dts --external react",
|
|
17
|
+
"dev": "tsup src/index.tsx --legacy-output --format esm,cjs --watch --dts --external react"
|
|
30
18
|
},
|
|
31
19
|
"peerDependencies": {
|
|
32
|
-
"react": ">=17"
|
|
33
|
-
},
|
|
34
|
-
"publishConfig": {
|
|
35
|
-
"access": "public"
|
|
20
|
+
"react": ">=17.0.0"
|
|
36
21
|
},
|
|
37
22
|
"devDependencies": {
|
|
38
|
-
"@
|
|
23
|
+
"@ibp/eslint-preset": "4.0.1",
|
|
24
|
+
"@ibp/naksha-gmaps-draw": "4.0.1",
|
|
25
|
+
"@ibp/naksha-gmaps-view": "4.0.1",
|
|
26
|
+
"@ibp/naksha-mapbox-draw": "4.0.1",
|
|
27
|
+
"@ibp/naksha-mapbox-list": "4.0.1",
|
|
28
|
+
"@ibp/naksha-mapbox-view": "4.0.1",
|
|
29
|
+
"@ibp/tsconfig": "4.0.1",
|
|
30
|
+
"@types/react": "^17.0.39",
|
|
39
31
|
"@types/react-dom": "^17.0.11",
|
|
40
|
-
"react": "
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"typescript": "^4.4.4"
|
|
32
|
+
"react": ">=17.0.0",
|
|
33
|
+
"tsup": "^5.11.13",
|
|
34
|
+
"typescript": "^4.5.5"
|
|
44
35
|
},
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"@ibp/naksha-gmaps-draw": "3.13.1",
|
|
48
|
-
"@ibp/naksha-gmaps-view": "3.12.11",
|
|
49
|
-
"@ibp/naksha-mapbox-draw": "3.12.3",
|
|
50
|
-
"@ibp/naksha-mapbox-list": "3.12.7",
|
|
51
|
-
"@ibp/naksha-mapbox-view": "3.12.3",
|
|
52
|
-
"@ibp/naksha-upload": "3.12.3"
|
|
36
|
+
"publishConfig": {
|
|
37
|
+
"access": "public"
|
|
53
38
|
},
|
|
54
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "5ef90261af7628692737a9422cd11dde4390df50"
|
|
55
40
|
}
|
package/dist/cjs/index.js
DELETED
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
exports.__esModule = true;
|
|
4
|
-
|
|
5
|
-
var _nakshaCommons = require("@ibp/naksha-commons");
|
|
6
|
-
|
|
7
|
-
Object.keys(_nakshaCommons).forEach(function (key) {
|
|
8
|
-
if (key === "default" || key === "__esModule") return;
|
|
9
|
-
if (key in exports && exports[key] === _nakshaCommons[key]) return;
|
|
10
|
-
exports[key] = _nakshaCommons[key];
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
var _nakshaGmapsDraw = require("@ibp/naksha-gmaps-draw");
|
|
14
|
-
|
|
15
|
-
Object.keys(_nakshaGmapsDraw).forEach(function (key) {
|
|
16
|
-
if (key === "default" || key === "__esModule") return;
|
|
17
|
-
if (key in exports && exports[key] === _nakshaGmapsDraw[key]) return;
|
|
18
|
-
exports[key] = _nakshaGmapsDraw[key];
|
|
19
|
-
});
|
|
20
|
-
|
|
21
|
-
var _nakshaGmapsView = require("@ibp/naksha-gmaps-view");
|
|
22
|
-
|
|
23
|
-
Object.keys(_nakshaGmapsView).forEach(function (key) {
|
|
24
|
-
if (key === "default" || key === "__esModule") return;
|
|
25
|
-
if (key in exports && exports[key] === _nakshaGmapsView[key]) return;
|
|
26
|
-
exports[key] = _nakshaGmapsView[key];
|
|
27
|
-
});
|
|
28
|
-
|
|
29
|
-
var _nakshaMapboxDraw = require("@ibp/naksha-mapbox-draw");
|
|
30
|
-
|
|
31
|
-
Object.keys(_nakshaMapboxDraw).forEach(function (key) {
|
|
32
|
-
if (key === "default" || key === "__esModule") return;
|
|
33
|
-
if (key in exports && exports[key] === _nakshaMapboxDraw[key]) return;
|
|
34
|
-
exports[key] = _nakshaMapboxDraw[key];
|
|
35
|
-
});
|
|
36
|
-
|
|
37
|
-
var _nakshaMapboxList = require("@ibp/naksha-mapbox-list");
|
|
38
|
-
|
|
39
|
-
Object.keys(_nakshaMapboxList).forEach(function (key) {
|
|
40
|
-
if (key === "default" || key === "__esModule") return;
|
|
41
|
-
if (key in exports && exports[key] === _nakshaMapboxList[key]) return;
|
|
42
|
-
exports[key] = _nakshaMapboxList[key];
|
|
43
|
-
});
|
|
44
|
-
|
|
45
|
-
var _nakshaMapboxView = require("@ibp/naksha-mapbox-view");
|
|
46
|
-
|
|
47
|
-
Object.keys(_nakshaMapboxView).forEach(function (key) {
|
|
48
|
-
if (key === "default" || key === "__esModule") return;
|
|
49
|
-
if (key in exports && exports[key] === _nakshaMapboxView[key]) return;
|
|
50
|
-
exports[key] = _nakshaMapboxView[key];
|
|
51
|
-
});
|
|
52
|
-
|
|
53
|
-
var _nakshaUpload = require("@ibp/naksha-upload");
|
|
54
|
-
|
|
55
|
-
Object.keys(_nakshaUpload).forEach(function (key) {
|
|
56
|
-
if (key === "default" || key === "__esModule") return;
|
|
57
|
-
if (key in exports && exports[key] === _nakshaUpload[key]) return;
|
|
58
|
-
exports[key] = _nakshaUpload[key];
|
|
59
|
-
});
|
|
60
|
-
//# sourceMappingURL=index.js.map
|
package/dist/cjs/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.tsx"],"names":[],"mappings":";;;;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA","sourcesContent":["export * from \"@ibp/naksha-commons\";\nexport * from \"@ibp/naksha-gmaps-draw\";\nexport * from \"@ibp/naksha-gmaps-view\";\nexport * from \"@ibp/naksha-mapbox-draw\";\nexport * from \"@ibp/naksha-mapbox-list\";\nexport * from \"@ibp/naksha-mapbox-view\";\nexport * from \"@ibp/naksha-upload\";\n"],"file":"index.js"}
|
package/dist/esm/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.tsx"],"names":[],"mappings":"AAAA,cAAc,qBAAd;AACA,cAAc,wBAAd;AACA,cAAc,wBAAd;AACA,cAAc,yBAAd;AACA,cAAc,yBAAd;AACA,cAAc,yBAAd;AACA,cAAc,oBAAd","sourcesContent":["export * from \"@ibp/naksha-commons\";\nexport * from \"@ibp/naksha-gmaps-draw\";\nexport * from \"@ibp/naksha-gmaps-view\";\nexport * from \"@ibp/naksha-mapbox-draw\";\nexport * from \"@ibp/naksha-mapbox-list\";\nexport * from \"@ibp/naksha-mapbox-view\";\nexport * from \"@ibp/naksha-upload\";\n"],"file":"index.js"}
|
package/dist/types/index.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export * from "@ibp/naksha-commons";
|
|
2
|
-
export * from "@ibp/naksha-gmaps-draw";
|
|
3
|
-
export * from "@ibp/naksha-gmaps-view";
|
|
4
|
-
export * from "@ibp/naksha-mapbox-draw";
|
|
5
|
-
export * from "@ibp/naksha-mapbox-list";
|
|
6
|
-
export * from "@ibp/naksha-mapbox-view";
|
|
7
|
-
export * from "@ibp/naksha-upload";
|