@mappedin/viewer 0.0.0-alpha
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 +27 -0
- package/dist/Arrival-7GULGCVJ-80c3f73a.js +15 -0
- package/dist/Chalet-4E7PX7WT-42db0054.js +19 -0
- package/dist/HelveticaNeue-UEVLJKVU-fe724012.js +19 -0
- package/dist/Helvetiker-SNVJCSDR-166d1e4d.js +28 -0
- package/dist/Lato-FDCJ5GCG-c22f98b3.js +15 -0
- package/dist/MyriadPro-NQ2DCXFB-4794df78.js +15 -0
- package/dist/ProximaNova-MIBCMRZX-e1c5fad4.js +15 -0
- package/dist/SimonCircular-B2HEOOJY-12a4d531.js +15 -0
- package/dist/browser-42K2OAVV-5c10d96e.js +1214 -0
- package/dist/index-eb1e9c14.js +72347 -0
- package/dist/index.js +4 -0
- package/dist/index.umd.cjs +5116 -0
- package/package.json +49 -0
- package/types/src/App.d.ts +4 -0
- package/types/src/globalStyles.d.ts +3 -0
- package/types/src/hooks/useMapView.d.ts +4 -0
- package/types/src/hooks/useMapView.test.d.ts +1 -0
- package/types/src/hooks/useVenueMVF.d.ts +4 -0
- package/types/src/index.d.ts +3 -0
- package/types/src/types.d.ts +4 -0
- package/types/vite.config.d.ts +2 -0
package/package.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@mappedin/viewer",
|
|
3
|
+
"version": "0.0.0-alpha",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"browser": "./dist/index.js",
|
|
6
|
+
"license": "UNLICENSED",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"import": "./dist/index.js",
|
|
10
|
+
"require": "./dist/index.umd.cjs",
|
|
11
|
+
"types": "./types/src/index.d.ts"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"volta": {
|
|
15
|
+
"extends": "../../package.json"
|
|
16
|
+
},
|
|
17
|
+
"dependencies": {
|
|
18
|
+
"@mappedin/mappedin-js": "^5.16.1-fe0354d.0",
|
|
19
|
+
"react": "^18.2.0",
|
|
20
|
+
"react-dom": "^18.2.0",
|
|
21
|
+
"styled-components": "^6.0.7"
|
|
22
|
+
},
|
|
23
|
+
"devDependencies": {
|
|
24
|
+
"@testing-library/react-hooks": "^8.0.1",
|
|
25
|
+
"@types/react": "^18.2.15",
|
|
26
|
+
"@types/react-dom": "^18.2.7",
|
|
27
|
+
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
|
28
|
+
"@typescript-eslint/parser": "^6.0.0",
|
|
29
|
+
"@vitejs/plugin-react": "^4.0.3",
|
|
30
|
+
"@vitest/coverage-istanbul": "^0.34.1",
|
|
31
|
+
"eslint": "^8.45.0",
|
|
32
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
33
|
+
"eslint-plugin-react-refresh": "^0.4.3",
|
|
34
|
+
"happy-dom": "^10.9.0",
|
|
35
|
+
"typescript": "^5.0.2",
|
|
36
|
+
"vite": "^4.4.5",
|
|
37
|
+
"vite-plugin-css-injected-by-js": "^3.3.0",
|
|
38
|
+
"vitest": "^0.34.1"
|
|
39
|
+
},
|
|
40
|
+
"scripts": {
|
|
41
|
+
"dev": "vite",
|
|
42
|
+
"build": "vite build && tsc",
|
|
43
|
+
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
44
|
+
"preview": "vite preview",
|
|
45
|
+
"test": "cross-env NODE_ENV=test vitest run",
|
|
46
|
+
"test:watch": "cross-env NODE_ENV=test vitest",
|
|
47
|
+
"test:cover": "cross-env NODE_ENV=test vitest run --coverage"
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { MapView, Mappedin } from '@mappedin/mappedin-js';
|
|
2
|
+
import { TMapViewOptions } from '@mappedin/mappedin-js/renderer/internal';
|
|
3
|
+
declare const useMapView: (el: HTMLElement | null, venue: Mappedin | undefined, options?: TMapViewOptions) => MapView | undefined;
|
|
4
|
+
export default useMapView;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|