From 85215e3cc531388ea41f289fb0de622ff8f8fd09 Mon Sep 17 00:00:00 2001 From: Max Kohler Date: Mon, 2 Jun 2025 16:21:08 +0200 Subject: [PATCH 1/2] Revert to in-component styles --- .../AttributionControl/AttributionControl.css | 22 --- .../AttributionControl.svelte | 28 +++- .../GeocoderControl/GeocoderControl.css | 144 ---------------- .../GeocoderControl/GeocoderControl.svelte | 150 ++++++++++++++++- components/src/maplibre/Map/Map.css | 153 ----------------- components/src/maplibre/Map/Map.svelte | 156 +++++++++++++++++- .../NavigationControl/NavigationControl.css | 11 -- .../NavigationControl.svelte | 17 +- .../maplibre/ScaleControl/ScaleControl.css | 7 - .../maplibre/ScaleControl/ScaleControl.svelte | 11 +- components/src/maplibre/Tooltip/Tooltip.css | 96 ----------- .../src/maplibre/Tooltip/Tooltip.svelte | 99 ++++++++++- components/svelte.config.js | 4 +- 13 files changed, 457 insertions(+), 441 deletions(-) delete mode 100644 components/src/maplibre/AttributionControl/AttributionControl.css delete mode 100644 components/src/maplibre/GeocoderControl/GeocoderControl.css delete mode 100644 components/src/maplibre/Map/Map.css delete mode 100644 components/src/maplibre/NavigationControl/NavigationControl.css delete mode 100644 components/src/maplibre/ScaleControl/ScaleControl.css delete mode 100644 components/src/maplibre/Tooltip/Tooltip.css diff --git a/components/src/maplibre/AttributionControl/AttributionControl.css b/components/src/maplibre/AttributionControl/AttributionControl.css deleted file mode 100644 index dfb44687..00000000 --- a/components/src/maplibre/AttributionControl/AttributionControl.css +++ /dev/null @@ -1,22 +0,0 @@ -.maplibregl-ctrl.maplibregl-ctrl-attrib { - font-size: var(--fs-small-3); - letter-spacing: 0.005em; - word-spacing: 0.005em; - font-family: var(--swr-sans); -} -.maplibregl-ctrl-attrib.maplibregl-compact-show .maplibregl-ctrl-attrib-inner { - display: block; -} -.maplibregl-ctrl-attrib-button { - display: none; -} - -.maplibregl-ctrl-attrib a { - color: inherit; - text-decoration: none; - text-underline-offset: 0.2em; -} -.maplibregl-ctrl-attrib a:hover { - color: inherit; - text-decoration: underline; -} diff --git a/components/src/maplibre/AttributionControl/AttributionControl.svelte b/components/src/maplibre/AttributionControl/AttributionControl.svelte index 8059a262..06c6cd64 100644 --- a/components/src/maplibre/AttributionControl/AttributionControl.svelte +++ b/components/src/maplibre/AttributionControl/AttributionControl.svelte @@ -1,7 +1,6 @@ + + diff --git a/components/src/maplibre/Map/Map.css b/components/src/maplibre/Map/Map.css deleted file mode 100644 index 18740e9a..00000000 --- a/components/src/maplibre/Map/Map.css +++ /dev/null @@ -1,153 +0,0 @@ -.maplibregl-map { - overflow: hidden; - position: relative; -} - -.maplibregl-canvas { - left: 0; - position: absolute; - top: 0; -} - -.maplibregl-map:fullscreen { - height: 100%; - width: 100%; -} - -.maplibregl-canvas-container.maplibregl-interactive { - cursor: grab; - user-select: none; -} - -.maplibregl-canvas-container.maplibregl-interactive.maplibregl-track-pointer { - cursor: pointer; -} - -.maplibregl-canvas-container.maplibregl-interactive:active { - cursor: grabbing; -} - -.maplibregl-canvas-container.maplibregl-touch-zoom-rotate, -.maplibregl-canvas-container.maplibregl-touch-zoom-rotate .maplibregl-canvas { - touch-action: pan-x pan-y; -} - -.maplibregl-canvas-container.maplibregl-touch-drag-pan, -.maplibregl-canvas-container.maplibregl-touch-drag-pan .maplibregl-canvas { - touch-action: pinch-zoom; -} - -.maplibregl-canvas-container.maplibregl-touch-zoom-rotate.maplibregl-touch-drag-pan, -.maplibregl-canvas-container.maplibregl-touch-zoom-rotate.maplibregl-touch-drag-pan - .maplibregl-canvas { - touch-action: none; -} -.maplibregl-ctrl-bottom-left, -.maplibregl-ctrl-bottom-right, -.maplibregl-ctrl-top-left, -.maplibregl-ctrl-top-right { - position: absolute; - z-index: 2; - display: flex; - flex-flow: column; - gap: 0.75em; - align-items: flex-start; -} - -.maplibregl-ctrl-top-left { - left: 0.5em; - top: 0.5em; -} - -.maplibregl-ctrl-top-right { - right: 0; - top: 0; -} - -.maplibregl-ctrl-bottom-left { - bottom: 0.5em; - left: 0.5em; -} - -.maplibregl-ctrl-bottom-right { - bottom: 0.5em; - right: 0.5em; -} - -.maplibregl-ctrl { - pointer-events: auto; - transform: translate(0); -} - -.maplibregl-ctrl-group { - background: white; - border: 1px solid rgba(0, 0, 0, 0.75); - box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.075); - border-radius: var(--br-small); - overflow: hidden; -} - -.maplibregl-ctrl-group button { - background-color: transparent; - border: 0; - box-sizing: border-box; - cursor: pointer; - display: block; - height: 29px; - outline: none; - padding: 0; - width: 29px; -} - -.maplibregl-ctrl-group button + button { - border-top: 1px solid rgba(0, 0, 0, 0.35); -} - -.maplibregl-ctrl button .maplibregl-ctrl-icon { - background-position: 50%; - background-repeat: no-repeat; - display: block; - height: 100%; - width: 100%; -} - -.maplibregl-ctrl button:disabled { - cursor: not-allowed; -} - -.maplibregl-ctrl button:disabled .maplibregl-ctrl-icon { - opacity: 0.5; -} - -.maplibregl-ctrl button:not(:disabled):hover { - background-color: var(--gray-light-5); -} - -.maplibregl-ctrl-group button:focus:focus-visible { - box-shadow: 0 0 2px 2px #0096ff; -} - -.maplibregl-ctrl-group button:focus:not(:focus-visible) { - box-shadow: none; -} - -.maplibregl-ctrl-group button:focus:first-child { - border-radius: 4px 4px 0 0; -} - -.maplibregl-ctrl-group button:focus:last-child { - border-radius: 0 0 4px 4px; -} - -.maplibregl-ctrl-group button:focus:only-child { - border-radius: inherit; -} -.maplibregl-marker { - left: 0; - top: 0; - position: absolute; - will-change: transform; -} -.maplibregl-marker path { - fill: var(--violet-dark-5); -} diff --git a/components/src/maplibre/Map/Map.svelte b/components/src/maplibre/Map/Map.svelte index 4fc34833..077cca6b 100644 --- a/components/src/maplibre/Map/Map.svelte +++ b/components/src/maplibre/Map/Map.svelte @@ -4,7 +4,6 @@ import { createMapContext } from '../context.svelte.js'; import { type Location } from '../types'; import FallbackStyle from './FallbackStyle'; - import './Map.css'; interface MapProps { style?: StyleSpecification | string; @@ -130,4 +129,159 @@ padding: 2px; font-family: monospace; } + :global { + .maplibregl-map { + overflow: hidden; + position: relative; + } + + .maplibregl-canvas { + left: 0; + position: absolute; + top: 0; + } + + .maplibregl-map:fullscreen { + height: 100%; + width: 100%; + } + + .maplibregl-canvas-container.maplibregl-interactive { + cursor: grab; + user-select: none; + } + + .maplibregl-canvas-container.maplibregl-interactive.maplibregl-track-pointer { + cursor: pointer; + } + + .maplibregl-canvas-container.maplibregl-interactive:active { + cursor: grabbing; + } + + .maplibregl-canvas-container.maplibregl-touch-zoom-rotate, + .maplibregl-canvas-container.maplibregl-touch-zoom-rotate .maplibregl-canvas { + touch-action: pan-x pan-y; + } + + .maplibregl-canvas-container.maplibregl-touch-drag-pan, + .maplibregl-canvas-container.maplibregl-touch-drag-pan .maplibregl-canvas { + touch-action: pinch-zoom; + } + + .maplibregl-canvas-container.maplibregl-touch-zoom-rotate.maplibregl-touch-drag-pan, + .maplibregl-canvas-container.maplibregl-touch-zoom-rotate.maplibregl-touch-drag-pan + .maplibregl-canvas { + touch-action: none; + } + .maplibregl-ctrl-bottom-left, + .maplibregl-ctrl-bottom-right, + .maplibregl-ctrl-top-left, + .maplibregl-ctrl-top-right { + position: absolute; + z-index: 2; + display: flex; + flex-flow: column; + gap: 0.75em; + align-items: flex-start; + } + + .maplibregl-ctrl-top-left { + left: 0.5em; + top: 0.5em; + } + + .maplibregl-ctrl-top-right { + right: 0; + top: 0; + } + + .maplibregl-ctrl-bottom-left { + bottom: 0.5em; + left: 0.5em; + } + + .maplibregl-ctrl-bottom-right { + bottom: 0.5em; + right: 0.5em; + } + + .maplibregl-ctrl { + pointer-events: auto; + transform: translate(0); + } + + .maplibregl-ctrl-group { + background: white; + border: 1px solid rgba(0, 0, 0, 0.75); + box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.075); + border-radius: var(--br-small); + overflow: hidden; + } + + .maplibregl-ctrl-group button { + background-color: transparent; + border: 0; + box-sizing: border-box; + cursor: pointer; + display: block; + height: 29px; + outline: none; + padding: 0; + width: 29px; + } + + .maplibregl-ctrl-group button + button { + border-top: 1px solid rgba(0, 0, 0, 0.35); + } + + .maplibregl-ctrl button .maplibregl-ctrl-icon { + background-position: 50%; + background-repeat: no-repeat; + display: block; + height: 100%; + width: 100%; + } + + .maplibregl-ctrl button:disabled { + cursor: not-allowed; + } + + .maplibregl-ctrl button:disabled .maplibregl-ctrl-icon { + opacity: 0.5; + } + + .maplibregl-ctrl button:not(:disabled):hover { + background-color: var(--gray-light-5); + } + + .maplibregl-ctrl-group button:focus:focus-visible { + box-shadow: 0 0 2px 2px #0096ff; + } + + .maplibregl-ctrl-group button:focus:not(:focus-visible) { + box-shadow: none; + } + + .maplibregl-ctrl-group button:focus:first-child { + border-radius: 4px 4px 0 0; + } + + .maplibregl-ctrl-group button:focus:last-child { + border-radius: 0 0 4px 4px; + } + + .maplibregl-ctrl-group button:focus:only-child { + border-radius: inherit; + } + .maplibregl-marker { + left: 0; + top: 0; + position: absolute; + will-change: transform; + } + .maplibregl-marker path { + fill: var(--violet-dark-5); + } + } diff --git a/components/src/maplibre/NavigationControl/NavigationControl.css b/components/src/maplibre/NavigationControl/NavigationControl.css deleted file mode 100644 index eb1b15bf..00000000 --- a/components/src/maplibre/NavigationControl/NavigationControl.css +++ /dev/null @@ -1,11 +0,0 @@ -button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon { - background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 29 29' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z'/%3E%3C/svg%3E"); -} - -button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon { - background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 29 29' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z'/%3E%3C/svg%3E"); -} - -button.maplibregl-ctrl-compass .maplibregl-ctrl-icon { - background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 29 29' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='m10.5 14 4-8 4 8h-8z'/%3E%3Cpath d='m10.5 16 4 8 4-8h-8z' fill='%23ccc'/%3E%3C/svg%3E"); -} diff --git a/components/src/maplibre/NavigationControl/NavigationControl.svelte b/components/src/maplibre/NavigationControl/NavigationControl.svelte index 24a432a1..b0612852 100644 --- a/components/src/maplibre/NavigationControl/NavigationControl.svelte +++ b/components/src/maplibre/NavigationControl/NavigationControl.svelte @@ -1,7 +1,6 @@ + + diff --git a/components/src/maplibre/ScaleControl/ScaleControl.css b/components/src/maplibre/ScaleControl/ScaleControl.css deleted file mode 100644 index c031db88..00000000 --- a/components/src/maplibre/ScaleControl/ScaleControl.css +++ /dev/null @@ -1,7 +0,0 @@ -.maplibregl-ctrl-scale { - color: inherit; - border-bottom: 1px solid currentColor; - font-weight: 400; - font-size: var(--fs-small-3); - font-family: var(--swr-text); -} diff --git a/components/src/maplibre/ScaleControl/ScaleControl.svelte b/components/src/maplibre/ScaleControl/ScaleControl.svelte index 4f694fea..cd536367 100644 --- a/components/src/maplibre/ScaleControl/ScaleControl.svelte +++ b/components/src/maplibre/ScaleControl/ScaleControl.svelte @@ -1,7 +1,6 @@ + + diff --git a/components/src/maplibre/Tooltip/Tooltip.css b/components/src/maplibre/Tooltip/Tooltip.css deleted file mode 100644 index 85dfba26..00000000 --- a/components/src/maplibre/Tooltip/Tooltip.css +++ /dev/null @@ -1,96 +0,0 @@ -.maplibregl-popup { - top: 0; - left: 0; - display: flex; - position: absolute; - will-change: transform; -} -.maplibregl-popup-anchor-top, -.maplibregl-popup-anchor-top-left, -.maplibregl-popup-anchor-top-right { - flex-direction: column; -} -.maplibregl-popup-anchor-bottom, -.maplibregl-popup-anchor-bottom-left, -.maplibregl-popup-anchor-bottom-right { - flex-direction: column-reverse; -} - -.maplibregl-popup-anchor-left { - flex-direction: row; -} - -.maplibregl-popup-anchor-right { - flex-direction: row-reverse; -} - -.maplibregl-popup-anchor-bottom .maplibregl-popup-tip { - transform: translateY(50%) rotate(45deg); - align-self: center; -} - -.maplibregl-popup-anchor-top .maplibregl-popup-tip { - transform: translateY(-50%) rotate(-135deg); - align-self: center; -} - -.maplibregl-popup-anchor-left .maplibregl-popup-tip { - transform: translateX(-50%) rotate(135deg); - align-self: center; -} - -.maplibregl-popup-anchor-top-left .maplibregl-popup-tip { - transform: translateY(1em) translateX(-50%) rotate(135deg); -} - -.maplibregl-popup-anchor-bottom-left .maplibregl-popup-tip { - transform: translateY(-1em) translateX(-50%) rotate(135deg); -} - -.maplibregl-popup-anchor-right .maplibregl-popup-tip { - transform: translateX(50%) rotate(-45deg); - align-self: center; -} - -.maplibregl-popup-anchor-top-right .maplibregl-popup-tip { - transform: translateX(-1em) translateY(-50%) rotate(-135deg); - align-self: flex-end; -} - -.maplibregl-popup-anchor-bottom-right .maplibregl-popup-tip { - transform: translateX(-1em) translateY(50%) rotate(45deg); - align-self: flex-end; -} - -.maplibregl-popup-close-button { - position: absolute; - top: 0.5em; - right: 0.5em; - cursor: pointer; - border-radius: 2px; - display: flex; - justify-content: center; - align-items: center; - padding-bottom: 0.15em; - font-size: 1.25rem; - width: 1.1em; - height: 1.1em; - z-index: 100; - background: white; - border: 1px solid var(--gray-dark-5); -} - -.maplibregl-popup-close-button:hover, -.maplibregl-popup-close-button:focus { - background: var(--gray-light-5); -} - -.maplibregl-popup-tip { - width: 0.65rem; - height: 0.65rem; - background: white; - position: absolute; - border-right: 1px solid rgba(0, 0, 0, 0.75); - border-bottom: 1px solid rgba(0, 0, 0, 0.75); - z-index: 10; -} diff --git a/components/src/maplibre/Tooltip/Tooltip.svelte b/components/src/maplibre/Tooltip/Tooltip.svelte index c063e14c..48bd31d8 100644 --- a/components/src/maplibre/Tooltip/Tooltip.svelte +++ b/components/src/maplibre/Tooltip/Tooltip.svelte @@ -3,7 +3,6 @@ import maplibre, { type Listener, type LngLatLike } from 'maplibre-gl'; import { getMapContext } from '../context.svelte.js'; import { resetPopupEventListener } from '../utils'; - import './Tooltip.css'; interface TooltipProps { position: LngLatLike | undefined; @@ -82,4 +81,102 @@ .mouseEvents { pointer-events: all; } + :global { + .maplibregl-popup { + top: 0; + left: 0; + display: flex; + position: absolute; + will-change: transform; + } + .maplibregl-popup-anchor-top, + .maplibregl-popup-anchor-top-left, + .maplibregl-popup-anchor-top-right { + flex-direction: column; + } + .maplibregl-popup-anchor-bottom, + .maplibregl-popup-anchor-bottom-left, + .maplibregl-popup-anchor-bottom-right { + flex-direction: column-reverse; + } + + .maplibregl-popup-anchor-left { + flex-direction: row; + } + + .maplibregl-popup-anchor-right { + flex-direction: row-reverse; + } + + .maplibregl-popup-anchor-bottom .maplibregl-popup-tip { + transform: translateY(50%) rotate(45deg); + align-self: center; + } + + .maplibregl-popup-anchor-top .maplibregl-popup-tip { + transform: translateY(-50%) rotate(-135deg); + align-self: center; + } + + .maplibregl-popup-anchor-left .maplibregl-popup-tip { + transform: translateX(-50%) rotate(135deg); + align-self: center; + } + + .maplibregl-popup-anchor-top-left .maplibregl-popup-tip { + transform: translateY(1em) translateX(-50%) rotate(135deg); + } + + .maplibregl-popup-anchor-bottom-left .maplibregl-popup-tip { + transform: translateY(-1em) translateX(-50%) rotate(135deg); + } + + .maplibregl-popup-anchor-right .maplibregl-popup-tip { + transform: translateX(50%) rotate(-45deg); + align-self: center; + } + + .maplibregl-popup-anchor-top-right .maplibregl-popup-tip { + transform: translateX(-1em) translateY(-50%) rotate(-135deg); + align-self: flex-end; + } + + .maplibregl-popup-anchor-bottom-right .maplibregl-popup-tip { + transform: translateX(-1em) translateY(50%) rotate(45deg); + align-self: flex-end; + } + + .maplibregl-popup-close-button { + position: absolute; + top: 0.5em; + right: 0.5em; + cursor: pointer; + border-radius: 2px; + display: flex; + justify-content: center; + align-items: center; + padding-bottom: 0.15em; + font-size: 1.25rem; + width: 1.1em; + height: 1.1em; + z-index: 100; + background: white; + border: 1px solid var(--gray-dark-5); + } + + .maplibregl-popup-close-button:hover, + .maplibregl-popup-close-button:focus { + background: var(--gray-light-5); + } + + .maplibregl-popup-tip { + width: 0.65rem; + height: 0.65rem; + background: white; + position: absolute; + border-right: 1px solid rgba(0, 0, 0, 0.75); + border-bottom: 1px solid rgba(0, 0, 0, 0.75); + z-index: 10; + } + } diff --git a/components/svelte.config.js b/components/svelte.config.js index b4e5596f..4a82086e 100644 --- a/components/svelte.config.js +++ b/components/svelte.config.js @@ -1,11 +1,11 @@ import adapter from '@sveltejs/adapter-auto'; -import { sveltePreprocess } from 'svelte-preprocess'; +import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'; /** @type {import('@sveltejs/kit').Config} */ const config = { // Consult https://kit.svelte.dev/docs/integrations#preprocessors // for more information about preprocessors - preprocess: sveltePreprocess({ scss: true }), + preprocess: vitePreprocess(), kit: { // adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list. From 1f3da27ab055d2c074433288db800addf9f46e2a Mon Sep 17 00:00:00 2001 From: Max Kohler Date: Mon, 2 Jun 2025 16:25:00 +0200 Subject: [PATCH 2/2] Drop unused svelte-preprocess --- components/package.json | 1 - package-lock.json | 406 ---------------------------------------- 2 files changed, 407 deletions(-) diff --git a/components/package.json b/components/package.json index e344d67d..646fcebf 100644 --- a/components/package.json +++ b/components/package.json @@ -63,7 +63,6 @@ "storybook": "^9.0.0", "svelte": "^5.23.0", "svelte-check": "^4.0.0", - "svelte-preprocess": "^6.0.3", "typescript": "^5.8.3", "vite": "^6.0.0", "vitest": "^3.1.1", diff --git a/package-lock.json b/package-lock.json index 51a7a78d..c3fb2627 100644 --- a/package-lock.json +++ b/package-lock.json @@ -52,7 +52,6 @@ "storybook": "^9.0.0", "svelte": "^5.23.0", "svelte-check": "^4.0.0", - "svelte-preprocess": "^6.0.3", "typescript": "^5.8.3", "vite": "^6.0.0", "vitest": "^3.1.1", @@ -6131,15 +6130,6 @@ "integrity": "sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==", "license": "MIT" }, - "node_modules/assert-never": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/assert-never/-/assert-never-1.4.0.tgz", - "integrity": "sha512-5oJg84os6NMQNl27T9LnZkvvqzvAnHu03ShCnoj6bsJwS7L8AO4lf+C/XjK/nvzEqQB744moC6V128RucQd1jA==", - "dev": true, - "license": "MIT", - "optional": true, - "peer": true - }, "node_modules/assertion-error": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-2.0.1.tgz", @@ -6360,21 +6350,6 @@ "@babel/core": "^7.0.0" } }, - "node_modules/babel-walk": { - "version": "3.0.0-canary-5", - "resolved": "https://registry.npmjs.org/babel-walk/-/babel-walk-3.0.0-canary-5.tgz", - "integrity": "sha512-GAwkz0AihzY5bkwIY5QDR+LvsRQgB/B+1foMPvi0FZPMl5fjD7ICiznUiBdLYMH1QYe6vqu4gWYytZOccLouFw==", - "dev": true, - "license": "MIT", - "optional": true, - "peer": true, - "dependencies": { - "@babel/types": "^7.9.6" - }, - "engines": { - "node": ">= 10.0.0" - } - }, "node_modules/balanced-match": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-3.0.1.tgz", @@ -6934,18 +6909,6 @@ "url": "https://github.com/sponsors/wooorm" } }, - "node_modules/character-parser": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/character-parser/-/character-parser-2.2.0.tgz", - "integrity": "sha512-+UqJQjFEFaTAs3bNsF2j2kEN1baG/zghZbdqoYEDxGZtJo9LBzl1A+m0D4n3qKx8N2FNv8/Xp6yV9mQmBuptaw==", - "dev": true, - "license": "MIT", - "optional": true, - "peer": true, - "dependencies": { - "is-regex": "^1.0.3" - } - }, "node_modules/character-reference-invalid": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/character-reference-invalid/-/character-reference-invalid-2.0.1.tgz", @@ -7354,19 +7317,6 @@ "dev": true, "license": "ISC" }, - "node_modules/constantinople": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/constantinople/-/constantinople-4.0.1.tgz", - "integrity": "sha512-vCrqcSIq4//Gx74TXXCGnHpulY1dskqLTFGDmhrGxzeXL8lF8kvXv6mpNWlJj1uD4DW23D4ljAqbY4RRaaUZIw==", - "dev": true, - "license": "MIT", - "optional": true, - "peer": true, - "dependencies": { - "@babel/parser": "^7.6.0", - "@babel/types": "^7.6.1" - } - }, "node_modules/conventional-changelog-angular": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-8.0.0.tgz", @@ -8507,15 +8457,6 @@ "node": ">=8" } }, - "node_modules/doctypes": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/doctypes/-/doctypes-1.1.0.tgz", - "integrity": "sha512-LLBi6pEqS6Do3EKQ3J0NqHWV5hhb78Pi8vvESYwyOy2c31ZEZVdtitdzsQsKb7878PEERhzUk0ftqGhG6Mz+pQ==", - "dev": true, - "license": "MIT", - "optional": true, - "peer": true - }, "node_modules/dom-accessibility-api": { "version": "0.5.16", "resolved": "https://registry.npmjs.org/dom-accessibility-api/-/dom-accessibility-api-0.5.16.tgz", @@ -11361,34 +11302,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/is-expression": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/is-expression/-/is-expression-4.0.0.tgz", - "integrity": "sha512-zMIXX63sxzG3XrkHkrAPvm/OVZVSCPNkwMHU8oTX7/U3AL78I0QXCEICXUM13BIa8TYGZ68PiTKfQz3yaTNr4A==", - "dev": true, - "license": "MIT", - "optional": true, - "peer": true, - "dependencies": { - "acorn": "^7.1.1", - "object-assign": "^4.1.1" - } - }, - "node_modules/is-expression/node_modules/acorn": { - "version": "7.4.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", - "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", - "dev": true, - "license": "MIT", - "optional": true, - "peer": true, - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, "node_modules/is-extendable": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", @@ -11489,15 +11402,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/is-promise": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz", - "integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==", - "dev": true, - "license": "MIT", - "optional": true, - "peer": true - }, "node_modules/is-reference": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/is-reference/-/is-reference-3.0.3.tgz", @@ -11508,27 +11412,6 @@ "@types/estree": "^1.0.6" } }, - "node_modules/is-regex": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.2.1.tgz", - "integrity": "sha512-MjYsKHO5O7mCsmRGxWcLWheFqN9DJ/2TmngvjKXihe6efViPqc274+Fx/4fYj/r03+ESvBdTXK0V6tA3rgez1g==", - "dev": true, - "license": "MIT", - "optional": true, - "peer": true, - "dependencies": { - "call-bound": "^1.0.2", - "gopd": "^1.2.0", - "has-tostringtag": "^1.0.2", - "hasown": "^2.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-stream": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", @@ -12880,15 +12763,6 @@ "integrity": "sha512-xMSUMh5p0f0O2XMh13YbkS94NWuWkV9k+3ouECvVWb9Li6OCF7BVinotGwbUYDKYWA0PCoTq64dTYiJwmN6H6Q==", "license": "MIT" }, - "node_modules/js-stringify": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/js-stringify/-/js-stringify-1.0.2.tgz", - "integrity": "sha512-rtS5ATOo2Q5k1G+DADISilDA6lv79zIiwFd6CcjuIxGKLFm5C+RLImRscVap9k55i+MOZwgliw+NejvkLuGD5g==", - "dev": true, - "license": "MIT", - "optional": true, - "peer": true - }, "node_modules/js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", @@ -13003,19 +12877,6 @@ "graceful-fs": "^4.1.6" } }, - "node_modules/jstransformer": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/jstransformer/-/jstransformer-1.0.0.tgz", - "integrity": "sha512-C9YK3Rf8q6VAPDCCU9fnqo3mAfOH6vUGnMcP4AQAYIEpWtfGLpwOTmZ+igtdK5y+VvI2n3CyYSzy4Qh34eq24A==", - "dev": true, - "license": "MIT", - "optional": true, - "peer": true, - "dependencies": { - "is-promise": "^2.0.0", - "promise": "^7.0.1" - } - }, "node_modules/junk": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/junk/-/junk-3.1.0.tgz", @@ -19302,18 +19163,6 @@ "node": ">=0.4.0" } }, - "node_modules/promise": { - "version": "7.3.1", - "resolved": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz", - "integrity": "sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==", - "dev": true, - "license": "MIT", - "optional": true, - "peer": true, - "dependencies": { - "asap": "~2.0.3" - } - }, "node_modules/prompts": { "version": "2.4.2", "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz", @@ -19430,166 +19279,6 @@ "url": "https://bjornlu.com/sponsor" } }, - "node_modules/pug": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/pug/-/pug-3.0.3.tgz", - "integrity": "sha512-uBi6kmc9f3SZ3PXxqcHiUZLmIXgfgWooKWXcwSGwQd2Zi5Rb0bT14+8CJjJgI8AB+nndLaNgHGrcc6bPIB665g==", - "dev": true, - "license": "MIT", - "optional": true, - "peer": true, - "dependencies": { - "pug-code-gen": "^3.0.3", - "pug-filters": "^4.0.0", - "pug-lexer": "^5.0.1", - "pug-linker": "^4.0.0", - "pug-load": "^3.0.0", - "pug-parser": "^6.0.0", - "pug-runtime": "^3.0.1", - "pug-strip-comments": "^2.0.0" - } - }, - "node_modules/pug-attrs": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pug-attrs/-/pug-attrs-3.0.0.tgz", - "integrity": "sha512-azINV9dUtzPMFQktvTXciNAfAuVh/L/JCl0vtPCwvOA21uZrC08K/UnmrL+SXGEVc1FwzjW62+xw5S/uaLj6cA==", - "dev": true, - "license": "MIT", - "optional": true, - "peer": true, - "dependencies": { - "constantinople": "^4.0.1", - "js-stringify": "^1.0.2", - "pug-runtime": "^3.0.0" - } - }, - "node_modules/pug-code-gen": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/pug-code-gen/-/pug-code-gen-3.0.3.tgz", - "integrity": "sha512-cYQg0JW0w32Ux+XTeZnBEeuWrAY7/HNE6TWnhiHGnnRYlCgyAUPoyh9KzCMa9WhcJlJ1AtQqpEYHc+vbCzA+Aw==", - "dev": true, - "license": "MIT", - "optional": true, - "peer": true, - "dependencies": { - "constantinople": "^4.0.1", - "doctypes": "^1.1.0", - "js-stringify": "^1.0.2", - "pug-attrs": "^3.0.0", - "pug-error": "^2.1.0", - "pug-runtime": "^3.0.1", - "void-elements": "^3.1.0", - "with": "^7.0.0" - } - }, - "node_modules/pug-error": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/pug-error/-/pug-error-2.1.0.tgz", - "integrity": "sha512-lv7sU9e5Jk8IeUheHata6/UThZ7RK2jnaaNztxfPYUY+VxZyk/ePVaNZ/vwmH8WqGvDz3LrNYt/+gA55NDg6Pg==", - "dev": true, - "license": "MIT", - "optional": true, - "peer": true - }, - "node_modules/pug-filters": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/pug-filters/-/pug-filters-4.0.0.tgz", - "integrity": "sha512-yeNFtq5Yxmfz0f9z2rMXGw/8/4i1cCFecw/Q7+D0V2DdtII5UvqE12VaZ2AY7ri6o5RNXiweGH79OCq+2RQU4A==", - "dev": true, - "license": "MIT", - "optional": true, - "peer": true, - "dependencies": { - "constantinople": "^4.0.1", - "jstransformer": "1.0.0", - "pug-error": "^2.0.0", - "pug-walk": "^2.0.0", - "resolve": "^1.15.1" - } - }, - "node_modules/pug-lexer": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/pug-lexer/-/pug-lexer-5.0.1.tgz", - "integrity": "sha512-0I6C62+keXlZPZkOJeVam9aBLVP2EnbeDw3An+k0/QlqdwH6rv8284nko14Na7c0TtqtogfWXcRoFE4O4Ff20w==", - "dev": true, - "license": "MIT", - "optional": true, - "peer": true, - "dependencies": { - "character-parser": "^2.2.0", - "is-expression": "^4.0.0", - "pug-error": "^2.0.0" - } - }, - "node_modules/pug-linker": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/pug-linker/-/pug-linker-4.0.0.tgz", - "integrity": "sha512-gjD1yzp0yxbQqnzBAdlhbgoJL5qIFJw78juN1NpTLt/mfPJ5VgC4BvkoD3G23qKzJtIIXBbcCt6FioLSFLOHdw==", - "dev": true, - "license": "MIT", - "optional": true, - "peer": true, - "dependencies": { - "pug-error": "^2.0.0", - "pug-walk": "^2.0.0" - } - }, - "node_modules/pug-load": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pug-load/-/pug-load-3.0.0.tgz", - "integrity": "sha512-OCjTEnhLWZBvS4zni/WUMjH2YSUosnsmjGBB1An7CsKQarYSWQ0GCVyd4eQPMFJqZ8w9xgs01QdiZXKVjk92EQ==", - "dev": true, - "license": "MIT", - "optional": true, - "peer": true, - "dependencies": { - "object-assign": "^4.1.1", - "pug-walk": "^2.0.0" - } - }, - "node_modules/pug-parser": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/pug-parser/-/pug-parser-6.0.0.tgz", - "integrity": "sha512-ukiYM/9cH6Cml+AOl5kETtM9NR3WulyVP2y4HOU45DyMim1IeP/OOiyEWRr6qk5I5klpsBnbuHpwKmTx6WURnw==", - "dev": true, - "license": "MIT", - "optional": true, - "peer": true, - "dependencies": { - "pug-error": "^2.0.0", - "token-stream": "1.0.0" - } - }, - "node_modules/pug-runtime": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/pug-runtime/-/pug-runtime-3.0.1.tgz", - "integrity": "sha512-L50zbvrQ35TkpHwv0G6aLSuueDRwc/97XdY8kL3tOT0FmhgG7UypU3VztfV/LATAvmUfYi4wNxSajhSAeNN+Kg==", - "dev": true, - "license": "MIT", - "optional": true, - "peer": true - }, - "node_modules/pug-strip-comments": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/pug-strip-comments/-/pug-strip-comments-2.0.0.tgz", - "integrity": "sha512-zo8DsDpH7eTkPHCXFeAk1xZXJbyoTfdPlNR0bK7rpOMuhBYb0f5qUVCO1xlsitYd3w5FQTK7zpNVKb3rZoUrrQ==", - "dev": true, - "license": "MIT", - "optional": true, - "peer": true, - "dependencies": { - "pug-error": "^2.0.0" - } - }, - "node_modules/pug-walk": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/pug-walk/-/pug-walk-2.0.0.tgz", - "integrity": "sha512-yYELe9Q5q9IQhuvqsZNwA5hfPkMJ8u92bQLIMcsMxf/VADjNtEYptU+inlufAFYcWdHlwNfZOEnOOQrZrcyJCQ==", - "dev": true, - "license": "MIT", - "optional": true, - "peer": true - }, "node_modules/pump": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.2.tgz", @@ -22345,62 +22034,6 @@ "@floating-ui/dom": "^1.5.3" } }, - "node_modules/svelte-preprocess": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/svelte-preprocess/-/svelte-preprocess-6.0.3.tgz", - "integrity": "sha512-PLG2k05qHdhmRG7zR/dyo5qKvakhm8IJ+hD2eFRQmMLHp7X3eJnjeupUtvuRpbNiF31RjVw45W+abDwHEmP5OA==", - "dev": true, - "hasInstallScript": true, - "license": "MIT", - "engines": { - "node": ">= 18.0.0" - }, - "peerDependencies": { - "@babel/core": "^7.10.2", - "coffeescript": "^2.5.1", - "less": "^3.11.3 || ^4.0.0", - "postcss": "^7 || ^8", - "postcss-load-config": ">=3", - "pug": "^3.0.0", - "sass": "^1.26.8", - "stylus": ">=0.55", - "sugarss": "^2.0.0 || ^3.0.0 || ^4.0.0", - "svelte": "^4.0.0 || ^5.0.0-next.100 || ^5.0.0", - "typescript": "^5.0.0" - }, - "peerDependenciesMeta": { - "@babel/core": { - "optional": true - }, - "coffeescript": { - "optional": true - }, - "less": { - "optional": true - }, - "postcss": { - "optional": true - }, - "postcss-load-config": { - "optional": true - }, - "pug": { - "optional": true - }, - "sass": { - "optional": true - }, - "stylus": { - "optional": true - }, - "sugarss": { - "optional": true - }, - "typescript": { - "optional": true - } - } - }, "node_modules/svelte-select": { "version": "5.8.3", "resolved": "https://registry.npmjs.org/svelte-select/-/svelte-select-5.8.3.tgz", @@ -22848,15 +22481,6 @@ "node": ">=0.6" } }, - "node_modules/token-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/token-stream/-/token-stream-1.0.0.tgz", - "integrity": "sha512-VSsyNPPW74RpHwR8Fc21uubwHY7wMDeJLys2IX5zJNih+OnAnaifKHo+1LHT7DAdloQ7apeaaWg8l7qnf/TnEg==", - "dev": true, - "license": "MIT", - "optional": true, - "peer": true - }, "node_modules/totalist": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/totalist/-/totalist-3.0.1.tgz", @@ -24092,18 +23716,6 @@ "dev": true, "license": "MIT" }, - "node_modules/void-elements": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/void-elements/-/void-elements-3.1.0.tgz", - "integrity": "sha512-Dhxzh5HZuiHQhbvTW9AMetFfBHDMYpo23Uo9btPXgdYP+3T5S+p+jgNy7spra+veYhBP2dCSgxR/i2Y02h5/6w==", - "dev": true, - "license": "MIT", - "optional": true, - "peer": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/vscode-jsonrpc": { "version": "8.2.0", "resolved": "https://registry.npmjs.org/vscode-jsonrpc/-/vscode-jsonrpc-8.2.0.tgz", @@ -24381,24 +23993,6 @@ "node": ">=8" } }, - "node_modules/with": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/with/-/with-7.0.2.tgz", - "integrity": "sha512-RNGKj82nUPg3g5ygxkQl0R937xLyho1J24ItRCBTr/m1YnZkzJy1hUiHUJrc/VlsDQzsCnInEGSg3bci0Lmd4w==", - "dev": true, - "license": "MIT", - "optional": true, - "peer": true, - "dependencies": { - "@babel/parser": "^7.9.6", - "@babel/types": "^7.9.6", - "assert-never": "^1.2.1", - "babel-walk": "3.0.0-canary-5" - }, - "engines": { - "node": ">= 10.0.0" - } - }, "node_modules/word-wrap": { "version": "1.2.5", "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz",