fix(frontend): layer control (#41)

* CONFIG LAYER CONTROL

* handover layercontrol init variable

* merged

* fix vulnerability

* updated utopia-ui to 3.0.93

* updated utopia-ui
This commit is contained in:
Anton Tranelis 2025-05-23 10:56:22 +02:00 committed by GitHub
parent 64daaee93b
commit 39acb2b3c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 9 additions and 8 deletions

14
package-lock.json generated
View File

@ -18,7 +18,7 @@
"react-dom": "^18.2.0",
"react-rnd": "^10.4.1",
"react-router-dom": "^6.23.0",
"utopia-ui": "^3.0.91"
"utopia-ui": "^3.0.94"
},
"devDependencies": {
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
@ -4700,9 +4700,9 @@
}
},
"node_modules/electron-to-chromium": {
"version": "1.5.155",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.155.tgz",
"integrity": "sha512-ps5KcGGmwL8VaeJlvlDlu4fORQpv3+GIcF5I3f9tUKUlJ/wsysh6HU8P5L1XWRYeXfA0oJd4PyM8ds8zTFf6Ng==",
"version": "1.5.156",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.156.tgz",
"integrity": "sha512-QeOqv11TSASsY/3Ft3LUyDqEiEOph5/85srEPFUo9wuGFNTb0/z5fGE/+ZzTrYvSTGoXNkdQLTw3MKRmgyOyGA==",
"dev": true,
"license": "ISC"
},
@ -10513,9 +10513,9 @@
}
},
"node_modules/utopia-ui": {
"version": "3.0.91",
"resolved": "https://registry.npmjs.org/utopia-ui/-/utopia-ui-3.0.91.tgz",
"integrity": "sha512-AIq+H/Kt5WlrQt8M/xeNNu9KdWrkFJYaCWCK+T1M78QIe1jDfdtI1a94i+XTCX9MxcpPs6HE3BlGmeIwd884uA==",
"version": "3.0.94",
"resolved": "https://registry.npmjs.org/utopia-ui/-/utopia-ui-3.0.94.tgz",
"integrity": "sha512-fNwCFZ9RSPz+rr86UjOJYlHEmG8t9JDli3EhTJUsHXzu3mjrISTNH+WY72BYOAvAoOeO+pBQ/Qz22EE6KSK9BA==",
"license": "GPL-3.0-only",
"dependencies": {
"@heroicons/react": "^2.0.17",

View File

@ -20,7 +20,7 @@
"react-dom": "^18.2.0",
"react-rnd": "^10.4.1",
"react-router-dom": "^6.23.0",
"utopia-ui": "^3.0.91"
"utopia-ui": "^3.0.94"
},
"devDependencies": {
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",

View File

@ -82,6 +82,7 @@ function MapContainer({ layers, map }: { layers: LayerProps[]; map: any }) {
donationWidget={map.donation_widget}
showThemeControl={map.show_theme_control}
defaultTheme={map.default_theme}
showZoomControl={map.show_zoom_control}
expandLayerControl={map.expand_layer_control}
>
{layers &&