@open-pioneer/editing 1.3.0-dev.20260310142705 → 1.3.0-dev.20260408130821
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/CHANGELOG.md +3 -2
- package/Tooltip.js +1 -1
- package/Tooltip.js.map +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
# @open-pioneer/editing
|
|
2
2
|
|
|
3
|
-
## 1.3.0-dev.
|
|
3
|
+
## 1.3.0-dev.20260408130821
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
7
|
-
- d54ccfd: Update to Chakra UI 3.
|
|
7
|
+
- d54ccfd: Update to Chakra UI 3.34.0
|
|
8
|
+
- 206b397: Update to trails core packages 4.5.0
|
|
8
9
|
|
|
9
10
|
## 1.2.0
|
|
10
11
|
|
package/Tooltip.js
CHANGED
package/Tooltip.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.js","sources":["Tooltip.ts"],"sourcesContent":["// SPDX-FileCopyrightText: 2023-2025 Open Pioneer project (https://github.com/open-pioneer)\n// SPDX-License-Identifier: Apache-2.0\nimport { Resource } from \"@open-pioneer/core\";\nimport { MapModel } from \"@open-pioneer/map\";\n\n/**\n * Represents a tooltip rendered on the OpenLayers map\n */\nexport interface Tooltip extends Resource {\n setVisible(visible: boolean): void;\n setText(text: string): void;\n}\n\n/**\n * Creates a new tooltip on the given map, with the given text content.\n *\n * The tooltip will follow the mouse while it moves over the map.\n *\n * Note: the tooltip starts invisible, and must be toggled on via `setVisible(true)`.\n */\nexport function createTooltip(map: MapModel, text: string): Tooltip {\n const overlay = map.overlays.add({\n content: text,\n
|
|
1
|
+
{"version":3,"file":"Tooltip.js","sources":["Tooltip.ts"],"sourcesContent":["// SPDX-FileCopyrightText: 2023-2025 Open Pioneer project (https://github.com/open-pioneer)\n// SPDX-License-Identifier: Apache-2.0\nimport { Resource } from \"@open-pioneer/core\";\nimport { MapModel } from \"@open-pioneer/map\";\n\n/**\n * Represents a tooltip rendered on the OpenLayers map\n */\nexport interface Tooltip extends Resource {\n setVisible(visible: boolean): void;\n setText(text: string): void;\n}\n\n/**\n * Creates a new tooltip on the given map, with the given text content.\n *\n * The tooltip will follow the mouse while it moves over the map.\n *\n * Note: the tooltip starts invisible, and must be toggled on via `setVisible(true)`.\n */\nexport function createTooltip(map: MapModel, text: string): Tooltip {\n const overlay = map.overlays.add({\n content: text,\n position: \"follow-pointer\",\n offset: [15, 0],\n positioning: \"center-left\",\n ariaRole: \"tooltip\",\n className: \"editing-tooltip\"\n });\n\n return {\n destroy() {\n overlay.destroy();\n },\n setVisible(visible) {\n overlay.element.classList.toggle(\"editing-tooltip-hidden\", !visible);\n },\n setText(text) {\n overlay.setContent(text);\n }\n };\n}\n"],"names":["text"],"mappings":"AAoBO,SAAS,aAAA,CAAc,KAAe,IAAA,EAAuB;AAChE,EAAA,MAAM,OAAA,GAAU,GAAA,CAAI,QAAA,CAAS,GAAA,CAAI;AAAA,IAC7B,OAAA,EAAS,IAAA;AAAA,IACT,QAAA,EAAU,gBAAA;AAAA,IACV,MAAA,EAAQ,CAAC,EAAA,EAAI,CAAC,CAAA;AAAA,IACd,WAAA,EAAa,aAAA;AAAA,IACb,QAAA,EAAU,SAAA;AAAA,IACV,SAAA,EAAW;AAAA,GACd,CAAA;AAED,EAAA,OAAO;AAAA,IACH,OAAA,GAAU;AACN,MAAA,OAAA,CAAQ,OAAA,EAAQ;AAAA,IACpB,CAAA;AAAA,IACA,WAAW,OAAA,EAAS;AAChB,MAAA,OAAA,CAAQ,OAAA,CAAQ,SAAA,CAAU,MAAA,CAAO,wBAAA,EAA0B,CAAC,OAAO,CAAA;AAAA,IACvE,CAAA;AAAA,IACA,QAAQA,KAAAA,EAAM;AACV,MAAA,OAAA,CAAQ,WAAWA,KAAI,CAAA;AAAA,IAC3B;AAAA,GACJ;AACJ;;;;"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@open-pioneer/editing",
|
|
4
|
-
"version": "1.3.0-dev.
|
|
4
|
+
"version": "1.3.0-dev.20260408130821",
|
|
5
5
|
"description": "This package provides an editing service that allows to start and handle geometry editing workflows.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"open-pioneer-trails"
|
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
"directory": "src/packages/editing"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@open-pioneer/core": "4.5.0
|
|
18
|
-
"@open-pioneer/http": "4.5.0
|
|
19
|
-
"@open-pioneer/runtime": "4.5.0
|
|
17
|
+
"@open-pioneer/core": "^4.5.0",
|
|
18
|
+
"@open-pioneer/http": "^4.5.0",
|
|
19
|
+
"@open-pioneer/runtime": "^4.5.0",
|
|
20
20
|
"ol": "^10.8.0",
|
|
21
21
|
"@conterra/reactivity-core": "^0.8.1",
|
|
22
|
-
"@open-pioneer/map": "1.3.0-dev.
|
|
22
|
+
"@open-pioneer/map": "1.3.0-dev.20260408130821"
|
|
23
23
|
},
|
|
24
24
|
"exports": {
|
|
25
25
|
"./package.json": "./package.json",
|