From 5f0c05cd1ee92eabd210da212bb98470b1dfd01b Mon Sep 17 00:00:00 2001 From: robinvandermolen Date: Mon, 25 Nov 2024 16:06:03 +0100 Subject: [PATCH] :heavy_plus_sign: [open-formulieren/open-forms#2177] Added dependencies Added leaflet-draw and react-leaflet-draw as dependencies. These allow easy user interactions with the leaflet map --- package-lock.json | 27 ++++++++++++++++++++++++++- package.json | 2 ++ 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/package-lock.json b/package-lock.json index 733949bf0..e60e3cc44 100644 --- a/package-lock.json +++ b/package-lock.json @@ -28,6 +28,7 @@ "ibantools": "^3.3.0", "immer": "^9.0.6", "leaflet": "^1.9.4", + "leaflet-draw": "^1.0.4", "leaflet-geosearch": "^3.8.0", "leaflet-gesture-handling": "^1.2.2", "microscope-sass": "^2.0.0", @@ -36,6 +37,7 @@ "react-formio": "^4.3.0", "react-intl": "^6.4.4", "react-leaflet": "4.2.1", + "react-leaflet-draw": "^0.20.4", "react-modal": "3.16.1", "react-number-format": "5.2.2", "react-router-dom": "^6.11.2", @@ -157,7 +159,7 @@ }, "design-tokens": { "name": "@open-formulieren/design-tokens", - "version": "0.55.0", + "version": "0.53.0", "license": "EUPL-1.2", "devDependencies": { "chokidar": "^3.5.3", @@ -18690,6 +18692,12 @@ "resolved": "https://registry.npmjs.org/leaflet/-/leaflet-1.9.4.tgz", "integrity": "sha512-nxS1ynzJOmOlHp+iL3FyWqK89GtNL8U8rvlMOsQdTTssxZwCXh8N2NB3GDQOL+YR3XnWyZAxwQixURb+FA74PA==" }, + "node_modules/leaflet-draw": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/leaflet-draw/-/leaflet-draw-1.0.4.tgz", + "integrity": "sha512-rsQ6saQO5ST5Aj6XRFylr5zvarWgzWnrg46zQ1MEOEIHsppdC/8hnN8qMoFvACsPvTioAuysya/TVtog15tyAQ==", + "license": "MIT" + }, "node_modules/leaflet-geosearch": { "version": "3.11.1", "resolved": "https://registry.npmjs.org/leaflet-geosearch/-/leaflet-geosearch-3.11.1.tgz", @@ -22479,6 +22487,23 @@ "react-dom": "^18.0.0" } }, + "node_modules/react-leaflet-draw": { + "version": "0.20.4", + "resolved": "https://registry.npmjs.org/react-leaflet-draw/-/react-leaflet-draw-0.20.4.tgz", + "integrity": "sha512-u5JHdow2Z9G2AveyUEOTWHXhdhzXdEVQifkNfSaVbEn0gvD+2xW03TQN444zVqovDBvIrBcVWo1VajL4zgl6yg==", + "license": "ISC", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "lodash-es": "^4.17.15" + }, + "peerDependencies": { + "leaflet": "^1.8.0", + "leaflet-draw": "^1.0.4", + "prop-types": "^15.5.2", + "react": "^18.0.0", + "react-leaflet": "^4.0.0" + } + }, "node_modules/react-lifecycles-compat": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz", diff --git a/package.json b/package.json index d8ec6654a..dafb373bc 100644 --- a/package.json +++ b/package.json @@ -43,6 +43,7 @@ "ibantools": "^3.3.0", "immer": "^9.0.6", "leaflet": "^1.9.4", + "leaflet-draw": "^1.0.4", "leaflet-geosearch": "^3.8.0", "leaflet-gesture-handling": "^1.2.2", "microscope-sass": "^2.0.0", @@ -51,6 +52,7 @@ "react-formio": "^4.3.0", "react-intl": "^6.4.4", "react-leaflet": "4.2.1", + "react-leaflet-draw": "^0.20.4", "react-modal": "3.16.1", "react-number-format": "5.2.2", "react-router-dom": "^6.11.2",