@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.
Files changed (80) hide show
  1. package/dist/components/MlHexagonMap/MlHexagonMap.d.ts +1 -6
  2. package/dist/components/MlHexagonMap/MlHexagonMap.d.ts.map +1 -1
  3. package/dist/index-BitQicV5.mjs +88045 -0
  4. package/dist/index.d.ts +1 -0
  5. package/dist/index.d.ts.map +1 -1
  6. package/dist/{index.es-BeEeYeZX.mjs → index.es-DM25_KJ-.mjs} +1 -1
  7. package/dist/index.mjs +5 -4
  8. package/dist/package.json +1 -1
  9. package/package.json +2 -2
  10. package/src/components/MlHexagonMap/MlHexagonMap.tsx +0 -3
  11. package/src/index.ts +1 -0
  12. package/.babelrc +0 -22
  13. package/.prettierignore +0 -11
  14. package/.storybook/main.ts +0 -36
  15. package/.storybook/manager.js +0 -6
  16. package/.storybook/mapcomponents_logo.png +0 -0
  17. package/.storybook/preview.ts +0 -27
  18. package/.storybook/style.css +0 -20
  19. package/.storybook/wheregroupTheme.js +0 -9
  20. package/cypress/support/commands.ts +0 -39
  21. package/cypress/support/component-index.html +0 -12
  22. package/cypress/support/component.ts +0 -31
  23. package/cypress/tsconfig.json +0 -25
  24. package/cypress.config.ts +0 -9
  25. package/dist/index-DfYgDeM4.mjs +0 -75742
  26. package/public/assets/3D/godzilla_simple.glb +0 -0
  27. package/public/assets/3D/hexa.json +0 -4
  28. package/public/assets/3D/laerm_points.json +0 -650205
  29. package/public/assets/dop.png +0 -0
  30. package/public/assets/historic.png +0 -0
  31. package/public/assets/marker.png +0 -0
  32. package/public/assets/osm.png +0 -0
  33. package/public/assets/sample.gpx +0 -716
  34. package/public/assets/sample1.gpx +0 -3003
  35. package/public/assets/sample2.gpx +0 -1264
  36. package/public/assets/sample3.gpx +0 -912
  37. package/public/assets/wg-marker.png +0 -0
  38. package/public/catalogue/.gitkeep +0 -0
  39. package/public/catalogue/mc_meta.json +0 -1
  40. package/public/favicon.ico +0 -0
  41. package/public/logo.png +0 -0
  42. package/public/manifest.json +0 -25
  43. package/public/robots.txt +0 -3
  44. package/public/thumbnails/MapLibreMap.png +0 -0
  45. package/public/thumbnails/MlCameraFollowPath.png +0 -0
  46. package/public/thumbnails/MlCreatePdfButton.png +0 -0
  47. package/public/thumbnails/MlCreatePdfForm.png +0 -0
  48. package/public/thumbnails/MlDeckGlLayer.png +0 -0
  49. package/public/thumbnails/MlDeckGlTerrainLayer.png +0 -0
  50. package/public/thumbnails/MlDemoDashboard.png +0 -0
  51. package/public/thumbnails/MlFeatureEditor.png +0 -0
  52. package/public/thumbnails/MlFillExtrusionLayer.png +0 -0
  53. package/public/thumbnails/MlFollowGps.png +0 -0
  54. package/public/thumbnails/MlGeoJsonLayer.png +0 -0
  55. package/public/thumbnails/MlGpxViewer.png +0 -0
  56. package/public/thumbnails/MlHillshadeLayer.png +0 -0
  57. package/public/thumbnails/MlIconLayer.png +0 -0
  58. package/public/thumbnails/MlLaermkarte.png +0 -0
  59. package/public/thumbnails/MlLayerMagnify.png +0 -0
  60. package/public/thumbnails/MlLayerSwipe.png +0 -0
  61. package/public/thumbnails/MlMapDrawTools.png +0 -0
  62. package/public/thumbnails/MlMeasureTool.png +0 -0
  63. package/public/thumbnails/MlMobilerImker.png +0 -0
  64. package/public/thumbnails/MlNavigationCompass.png +0 -0
  65. package/public/thumbnails/MlNavigationTools.png +0 -0
  66. package/public/thumbnails/MlOsmLayer.png +0 -0
  67. package/public/thumbnails/MlScaleReference.png +0 -0
  68. package/public/thumbnails/MlSketchTool.png +0 -0
  69. package/public/thumbnails/MlSpatialElevationProfile.png +0 -0
  70. package/public/thumbnails/MlThreeJsLayer.png +0 -0
  71. package/public/thumbnails/MlTransitionGeoJsonLayer.png +0 -0
  72. package/public/thumbnails/MlVectorTileLayer.png +0 -0
  73. package/public/thumbnails/MlWanderApp.png +0 -0
  74. package/public/thumbnails/MlWmsLayer.png +0 -0
  75. package/public/thumbnails/MlWmsLoader.png +0 -0
  76. package/public/thumbnails/useCameraFollowPath.png +0 -0
  77. package/scripts/build-catalogue-markdown-docs.js +0 -31
  78. package/scripts/build-catalogue-meta.js +0 -45
  79. package/scripts/create-map-component.sh +0 -36
  80. 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
@@ -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"}
@@ -1,4 +1,4 @@
1
- import { c as Da, _ as Va, g as il } from "./index-DfYgDeM4.mjs";
1
+ import { c as Da, _ as Va, g as il } from "./index-BitQicV5.mjs";
2
2
  var fn = {}, cn = {}, cr, vn;
3
3
  function Q() {
4
4
  if (vn) return cr;
package/dist/index.mjs CHANGED
@@ -1,6 +1,7 @@
1
- import { D as t, a, u as r } from "./index-DfYgDeM4.mjs";
1
+ import { D as o, a as r, M as s, u as t } from "./index-BitQicV5.mjs";
2
2
  export {
3
- t as DeckGlContext,
4
- a as DeckGlContextProvider,
5
- r as useDeckGl
3
+ o as DeckGlContext,
4
+ r as DeckGlContextProvider,
5
+ s as MlHexagonLayer,
6
+ t as useDeckGl
6
7
  };
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mapcomponents/deck-gl",
3
- "version": "1.5.4-0",
3
+ "version": "1.5.5-0",
4
4
  "description": "",
5
5
  "main": "src/index.ts",
6
6
  "module": "dist/index.mjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mapcomponents/deck-gl",
3
- "version": "1.5.4-0",
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.4-0"
15
+ "@mapcomponents/react-maplibre": "^1.5.5-0"
16
16
  },
17
17
  "devDependencies": {
18
18
  "@types/geojson": "^7946.0.16"
@@ -138,7 +138,4 @@ const MlHexagonMap = (props: MlHexagonMapProps) => {
138
138
  return <></>;
139
139
  };
140
140
 
141
- MlHexagonMap.defaultProps = {
142
- mapId: undefined,
143
- };
144
141
  export default MlHexagonMap;
package/src/index.ts CHANGED
@@ -1,2 +1,3 @@
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'
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
@@ -1,11 +0,0 @@
1
- .cache
2
- .github
3
- .storybook
4
- .vscode
5
- coverage
6
- dist
7
- docs
8
- docs-build
9
- js-docs
10
- node_modules
11
- storybook-static
@@ -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
- }
@@ -1,6 +0,0 @@
1
- import { addons } from "@storybook/addons";
2
- import wheregroupTheme from "./wheregroupTheme";
3
-
4
- addons.setConfig({
5
- theme: wheregroupTheme,
6
- });
Binary file
@@ -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'];
@@ -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,9 +0,0 @@
1
- import { create } from 'storybook/theming';
2
- import logo from './mapcomponents_logo.png';
3
-
4
- export default create({
5
- base: 'light',
6
- brandTitle: 'WhereGroup GmbH',
7
- brandUrl: 'https://wheregroup.com',
8
- brandImage: logo,
9
- });
@@ -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);
@@ -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
- });