@mapcomponents/deck-gl 1.5.4-0 → 1.5.5-0
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/components/MlHexagonMap/MlHexagonMap.d.ts +1 -6
- package/dist/components/MlHexagonMap/MlHexagonMap.d.ts.map +1 -1
- package/dist/index-BitQicV5.mjs +88045 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/{index.es-BeEeYeZX.mjs → index.es-DM25_KJ-.mjs} +1 -1
- package/dist/index.mjs +5 -4
- package/dist/package.json +1 -1
- package/package.json +2 -2
- package/src/components/MlHexagonMap/MlHexagonMap.tsx +0 -3
- package/src/index.ts +1 -0
- package/.babelrc +0 -22
- package/.prettierignore +0 -11
- package/.storybook/main.ts +0 -36
- package/.storybook/manager.js +0 -6
- package/.storybook/mapcomponents_logo.png +0 -0
- package/.storybook/preview.ts +0 -27
- package/.storybook/style.css +0 -20
- package/.storybook/wheregroupTheme.js +0 -9
- package/cypress/support/commands.ts +0 -39
- package/cypress/support/component-index.html +0 -12
- package/cypress/support/component.ts +0 -31
- package/cypress/tsconfig.json +0 -25
- package/cypress.config.ts +0 -9
- package/dist/index-DfYgDeM4.mjs +0 -75742
- package/public/assets/3D/godzilla_simple.glb +0 -0
- package/public/assets/3D/hexa.json +0 -4
- package/public/assets/3D/laerm_points.json +0 -650205
- package/public/assets/dop.png +0 -0
- package/public/assets/historic.png +0 -0
- package/public/assets/marker.png +0 -0
- package/public/assets/osm.png +0 -0
- package/public/assets/sample.gpx +0 -716
- package/public/assets/sample1.gpx +0 -3003
- package/public/assets/sample2.gpx +0 -1264
- package/public/assets/sample3.gpx +0 -912
- package/public/assets/wg-marker.png +0 -0
- package/public/catalogue/.gitkeep +0 -0
- package/public/catalogue/mc_meta.json +0 -1
- package/public/favicon.ico +0 -0
- package/public/logo.png +0 -0
- package/public/manifest.json +0 -25
- package/public/robots.txt +0 -3
- package/public/thumbnails/MapLibreMap.png +0 -0
- package/public/thumbnails/MlCameraFollowPath.png +0 -0
- package/public/thumbnails/MlCreatePdfButton.png +0 -0
- package/public/thumbnails/MlCreatePdfForm.png +0 -0
- package/public/thumbnails/MlDeckGlLayer.png +0 -0
- package/public/thumbnails/MlDeckGlTerrainLayer.png +0 -0
- package/public/thumbnails/MlDemoDashboard.png +0 -0
- package/public/thumbnails/MlFeatureEditor.png +0 -0
- package/public/thumbnails/MlFillExtrusionLayer.png +0 -0
- package/public/thumbnails/MlFollowGps.png +0 -0
- package/public/thumbnails/MlGeoJsonLayer.png +0 -0
- package/public/thumbnails/MlGpxViewer.png +0 -0
- package/public/thumbnails/MlHillshadeLayer.png +0 -0
- package/public/thumbnails/MlIconLayer.png +0 -0
- package/public/thumbnails/MlLaermkarte.png +0 -0
- package/public/thumbnails/MlLayerMagnify.png +0 -0
- package/public/thumbnails/MlLayerSwipe.png +0 -0
- package/public/thumbnails/MlMapDrawTools.png +0 -0
- package/public/thumbnails/MlMeasureTool.png +0 -0
- package/public/thumbnails/MlMobilerImker.png +0 -0
- package/public/thumbnails/MlNavigationCompass.png +0 -0
- package/public/thumbnails/MlNavigationTools.png +0 -0
- package/public/thumbnails/MlOsmLayer.png +0 -0
- package/public/thumbnails/MlScaleReference.png +0 -0
- package/public/thumbnails/MlSketchTool.png +0 -0
- package/public/thumbnails/MlSpatialElevationProfile.png +0 -0
- package/public/thumbnails/MlThreeJsLayer.png +0 -0
- package/public/thumbnails/MlTransitionGeoJsonLayer.png +0 -0
- package/public/thumbnails/MlVectorTileLayer.png +0 -0
- package/public/thumbnails/MlWanderApp.png +0 -0
- package/public/thumbnails/MlWmsLayer.png +0 -0
- package/public/thumbnails/MlWmsLoader.png +0 -0
- package/public/thumbnails/useCameraFollowPath.png +0 -0
- package/scripts/build-catalogue-markdown-docs.js +0 -31
- package/scripts/build-catalogue-meta.js +0 -45
- package/scripts/create-map-component.sh +0 -36
- package/tsconfig.json +0 -12
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export { default as DeckGlContext, DeckGlContextProvider } from './contexts/DeckGlContext';
|
|
2
2
|
export { default as useDeckGl } from './hooks/useDeckGl';
|
|
3
|
+
export { default as MlHexagonLayer } from './components/MlHexagonMap/MlHexagonMap';
|
|
3
4
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AAC3F,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AAC3F,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,cAAc,EAAC,MAAM,wCAAwC,CAAA"}
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { D as
|
|
1
|
+
import { D as o, a as r, M as s, u as t } from "./index-BitQicV5.mjs";
|
|
2
2
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
o as DeckGlContext,
|
|
4
|
+
r as DeckGlContextProvider,
|
|
5
|
+
s as MlHexagonLayer,
|
|
6
|
+
t as useDeckGl
|
|
6
7
|
};
|
package/dist/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mapcomponents/deck-gl",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.5-0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"@mui/material": "^7.3.2",
|
|
13
13
|
"@storybook/react": "^9.1.4",
|
|
14
14
|
"maplibre-gl": "^5.7.0",
|
|
15
|
-
"@mapcomponents/react-maplibre": "^1.5.
|
|
15
|
+
"@mapcomponents/react-maplibre": "^1.5.5-0"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@types/geojson": "^7946.0.16"
|
package/src/index.ts
CHANGED
package/.babelrc
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"plugins": [
|
|
3
|
-
"@babel/plugin-transform-typescript",
|
|
4
|
-
"babel-plugin-styled-components",
|
|
5
|
-
[
|
|
6
|
-
"inline-react-svg",
|
|
7
|
-
{
|
|
8
|
-
"svgo": {
|
|
9
|
-
"plugins": [
|
|
10
|
-
{
|
|
11
|
-
"name": "preset-default",
|
|
12
|
-
"params": {
|
|
13
|
-
"overrides": { "mergePaths": false }
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
]
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
]
|
|
20
|
-
],
|
|
21
|
-
"presets": ["@babel/preset-env", "@babel/preset-react", "@babel/preset-typescript"]
|
|
22
|
-
}
|
package/.prettierignore
DELETED
package/.storybook/main.ts
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { dirname, join } from "node:path";
|
|
2
|
-
import type { StorybookConfig } from '@storybook/react-vite';
|
|
3
|
-
|
|
4
|
-
const config: StorybookConfig = {
|
|
5
|
-
stories: ['../src/**/*.@(mdx|stories.@(js|jsx|ts|tsx))'],
|
|
6
|
-
addons: [getAbsolutePath("@storybook/addon-docs")],
|
|
7
|
-
framework: {
|
|
8
|
-
name: getAbsolutePath("@storybook/react-vite"),
|
|
9
|
-
options: {
|
|
10
|
-
builder: {
|
|
11
|
-
viteConfigPath: 'vite.config.ts',
|
|
12
|
-
},
|
|
13
|
-
},
|
|
14
|
-
},
|
|
15
|
-
staticDirs: ['../public'],
|
|
16
|
-
|
|
17
|
-
typescript: {
|
|
18
|
-
check: false,
|
|
19
|
-
reactDocgen: 'react-docgen-typescript',
|
|
20
|
-
reactDocgenTypescriptOptions: {
|
|
21
|
-
shouldExtractLiteralValuesFromEnum: true,
|
|
22
|
-
propFilter: (prop) => (prop.parent ? !/node_modules/.test(prop.parent.fileName) : true),
|
|
23
|
-
},
|
|
24
|
-
},
|
|
25
|
-
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
export default config;
|
|
29
|
-
|
|
30
|
-
// To customize your Vite configuration you can use the viteFinal field.
|
|
31
|
-
// Check https://storybook.js.org/docs/react/builders/vite#configuration
|
|
32
|
-
// and https://nx.dev/recipes/storybook/custom-builder-configs
|
|
33
|
-
|
|
34
|
-
function getAbsolutePath(value: string): any {
|
|
35
|
-
return dirname(require.resolve(join(value, "package.json")));
|
|
36
|
-
}
|
package/.storybook/manager.js
DELETED
|
Binary file
|
package/.storybook/preview.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import './style.css';
|
|
2
|
-
|
|
3
|
-
export const parameters = {
|
|
4
|
-
docs: {
|
|
5
|
-
inlineStories: false,
|
|
6
|
-
},
|
|
7
|
-
actions: { argTypesRegex: '^on[A-Z].*' },
|
|
8
|
-
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
export const globalTypes = {
|
|
12
|
-
theme: {
|
|
13
|
-
name: 'Theme',
|
|
14
|
-
title: 'Theme',
|
|
15
|
-
description: 'Theme for your components',
|
|
16
|
-
defaultValue: 'light',
|
|
17
|
-
toolbar: {
|
|
18
|
-
icon: 'paintbrush',
|
|
19
|
-
dynamicTitle: true,
|
|
20
|
-
items: [
|
|
21
|
-
{ value: 'light', left: '☀️', title: 'Light mode' },
|
|
22
|
-
{ value: 'dark', left: '🌙', title: 'Dark mode' },
|
|
23
|
-
],
|
|
24
|
-
},
|
|
25
|
-
},
|
|
26
|
-
};
|
|
27
|
-
export const tags = ['autodocs'];
|
package/.storybook/style.css
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
.docs-story > div:first-child{
|
|
2
|
-
z-index:0;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.docs-story > div > div:first-child, .innerZoomElementWrapper, .innerZoomElementWrapper > div:first-child, .innerZoomElementWrapper > div:first-child > div:first-child{
|
|
6
|
-
|
|
7
|
-
position: absolute;
|
|
8
|
-
top: 0;
|
|
9
|
-
bottom: 0;
|
|
10
|
-
left: 0;
|
|
11
|
-
right: 0;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.docs-story > div > div:first-child{
|
|
15
|
-
height: initial;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.innerZoomElementWrapper > div > div > div:first-child{
|
|
19
|
-
height: 100% !important;
|
|
20
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
/// <reference types="cypress" />
|
|
3
|
-
|
|
4
|
-
// ***********************************************
|
|
5
|
-
// This example commands.ts shows you how to
|
|
6
|
-
// create various custom commands and overwrite
|
|
7
|
-
// existing commands.
|
|
8
|
-
//
|
|
9
|
-
// For more comprehensive examples of custom
|
|
10
|
-
// commands please read more here:
|
|
11
|
-
// https://on.cypress.io/custom-commands
|
|
12
|
-
// ***********************************************
|
|
13
|
-
|
|
14
|
-
declare global {
|
|
15
|
-
// eslint-disable-next-line @typescript-eslint/no-namespace
|
|
16
|
-
namespace Cypress {
|
|
17
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
18
|
-
interface Chainable<Subject> {
|
|
19
|
-
login(email: string, password: string): void;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
// -- This is a parent command --
|
|
25
|
-
Cypress.Commands.add('login', (email, password) => {
|
|
26
|
-
console.log('Custom command example: Login', email, password);
|
|
27
|
-
});
|
|
28
|
-
//
|
|
29
|
-
// -- This is a child command --
|
|
30
|
-
// Cypress.Commands.add("drag", { prevSubject: 'element'}, (subject, options) => { ... })
|
|
31
|
-
//
|
|
32
|
-
//
|
|
33
|
-
// -- This is a dual command --
|
|
34
|
-
// Cypress.Commands.add("dismiss", { prevSubject: 'optional'}, (subject, options) => { ... })
|
|
35
|
-
//
|
|
36
|
-
//
|
|
37
|
-
// -- This will overwrite an existing command --
|
|
38
|
-
// Cypress.Commands.overwrite("visit", (originalFn, url, options) => { ... })
|
|
39
|
-
*/
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8" />
|
|
5
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
6
|
-
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
|
7
|
-
<title>deck-gl Components App</title>
|
|
8
|
-
</head>
|
|
9
|
-
<body>
|
|
10
|
-
<div data-cy-root></div>
|
|
11
|
-
</body>
|
|
12
|
-
</html>
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { mount } from 'cypress/react';
|
|
2
|
-
// ***********************************************************
|
|
3
|
-
// This example support/component.ts is processed and
|
|
4
|
-
// loaded automatically before your test files.
|
|
5
|
-
//
|
|
6
|
-
// This is a great place to put global configuration and
|
|
7
|
-
// behavior that modifies Cypress.
|
|
8
|
-
//
|
|
9
|
-
// You can change the location of this file or turn off
|
|
10
|
-
// automatically serving support files with the
|
|
11
|
-
// 'supportFile' configuration option.
|
|
12
|
-
//
|
|
13
|
-
// You can read more here:
|
|
14
|
-
// https://on.cypress.io/configuration
|
|
15
|
-
// ***********************************************************
|
|
16
|
-
|
|
17
|
-
// Import commands.ts using ES2015 syntax:
|
|
18
|
-
import './commands';
|
|
19
|
-
|
|
20
|
-
// add component testing only related command here, such as mount
|
|
21
|
-
declare global {
|
|
22
|
-
// eslint-disable-next-line @typescript-eslint/no-namespace
|
|
23
|
-
namespace Cypress {
|
|
24
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
25
|
-
interface Chainable<Subject> {
|
|
26
|
-
mount: typeof mount;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
Cypress.Commands.add('mount', mount);
|
package/cypress/tsconfig.json
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "../tsconfig.json",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"allowJs": true,
|
|
5
|
-
"outDir": "../../dist/out-tsc",
|
|
6
|
-
"module": "commonjs",
|
|
7
|
-
"types": ["cypress", "node"],
|
|
8
|
-
"sourceMap": false,
|
|
9
|
-
"rootDir": "../"
|
|
10
|
-
},
|
|
11
|
-
"include": [
|
|
12
|
-
"**/*.ts",
|
|
13
|
-
"**/*.js",
|
|
14
|
-
"../src/**/**/*.stories.tsx",
|
|
15
|
-
"../src/**/**/*.stories.jsx",
|
|
16
|
-
"../cypress.config.ts",
|
|
17
|
-
"../**/*.cy.ts",
|
|
18
|
-
"../**/*.cy.tsx",
|
|
19
|
-
"../**/*.cy.js",
|
|
20
|
-
"../**/*.cy.jsx",
|
|
21
|
-
"../**/*.d.ts",
|
|
22
|
-
"../src/**/**.tsx",
|
|
23
|
-
"../src/**/**.jsx"
|
|
24
|
-
]
|
|
25
|
-
}
|
package/cypress.config.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { nxComponentTestingPreset } from '@nx/react/plugins/component-testing';
|
|
2
|
-
import { defineConfig } from 'cypress';
|
|
3
|
-
|
|
4
|
-
export default defineConfig({
|
|
5
|
-
component: nxComponentTestingPreset(__filename, {
|
|
6
|
-
bundler: 'vite',
|
|
7
|
-
buildTarget: 'deck-gl:build',
|
|
8
|
-
}),
|
|
9
|
-
});
|