@open-pioneer/coordinate-search 1.4.0 → 1.5.0-dev.20260910103330
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 +35 -25
- package/package.json +15 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @open-pioneer/coordinate-search
|
|
2
2
|
|
|
3
|
+
## 1.5.0-dev.20260910103330
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- f790fda: Update to Chakra 3.37.0
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 09ec7c7: Updated dependencies
|
|
12
|
+
|
|
3
13
|
## 1.4.0
|
|
4
14
|
|
|
5
15
|
### Minor Changes
|
|
@@ -60,8 +70,8 @@
|
|
|
60
70
|
- 66179bc: Update to core-packages v4.0.0
|
|
61
71
|
- 888fc2b: improve a11y of coordinate search and coordinate input
|
|
62
72
|
|
|
63
|
-
|
|
64
|
-
|
|
73
|
+
- switch order of projection select and coordinate input (visually and tab order) in order to have the correct focus order
|
|
74
|
+
- add instructions to `aria-label` for coordinate input to improve usability for screenreader users
|
|
65
75
|
|
|
66
76
|
- 738390e: Update to Chakra v3
|
|
67
77
|
|
|
@@ -69,16 +79,16 @@
|
|
|
69
79
|
|
|
70
80
|
- 9376a74: Ensure that icons and other decorative elements are hidden from the screen reader using the `aria-hidden="true"` attribute.
|
|
71
81
|
|
|
72
|
-
|
|
82
|
+
The easiest way to do that is to wrap icons into chakra's `<Icon />` component, for example:
|
|
73
83
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
84
|
+
```tsx
|
|
85
|
+
import { Icon } from "@chakra-ui/react";
|
|
86
|
+
import { FiX } from "react-icons/fi";
|
|
77
87
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
88
|
+
<Icon>
|
|
89
|
+
<FiX />
|
|
90
|
+
</Icon>;
|
|
91
|
+
```
|
|
82
92
|
|
|
83
93
|
- 1127419: Present error messages to screen readers using a (hidden) `<Field.ErrorMessage />` next to the input field.
|
|
84
94
|
|
|
@@ -89,17 +99,17 @@
|
|
|
89
99
|
- 193068a: Deprecate the `mapId` property on React components.
|
|
90
100
|
Use the `MapModel` directly instead to pass a reference to the map.
|
|
91
101
|
|
|
92
|
-
|
|
102
|
+
Example:
|
|
93
103
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
104
|
+
```tsx
|
|
105
|
+
// Default map for entire component tree
|
|
106
|
+
<DefaultMapProvider map={mapModel}>
|
|
107
|
+
<Toc />
|
|
108
|
+
</DefaultMapProvider>
|
|
99
109
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
110
|
+
// Map for specific component
|
|
111
|
+
<Toc map={mapModel} />
|
|
112
|
+
```
|
|
103
113
|
|
|
104
114
|
### Patch Changes
|
|
105
115
|
|
|
@@ -119,13 +129,13 @@
|
|
|
119
129
|
|
|
120
130
|
- c8df895: Added new component CoordinateSearch with functionality to search for coordinates via input. Additionally added component CoordinateInput that allows the user to input coordinates manually and validates the input.
|
|
121
131
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
132
|
+
```tsx
|
|
133
|
+
<CoordinateSearch mapId="map_id" />
|
|
134
|
+
```
|
|
125
135
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
136
|
+
```tsx
|
|
137
|
+
<CoordinateInput mapId="map_id" />
|
|
138
|
+
```
|
|
129
139
|
|
|
130
140
|
### Patch Changes
|
|
131
141
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@open-pioneer/coordinate-search",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.5.0-dev.20260910103330",
|
|
5
5
|
"description": "This package provides a UI component to search for entered coordinates in the choosen projection.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"open-pioneer-trails"
|
|
@@ -14,17 +14,21 @@
|
|
|
14
14
|
"directory": "src/packages/coordinate-search"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@chakra-ui/react": "^3.
|
|
18
|
-
"@conterra/reactivity-core": "^0.8.
|
|
19
|
-
"@open-pioneer/chakra-snippets": "
|
|
20
|
-
"@open-pioneer/core": "
|
|
21
|
-
"@open-pioneer/
|
|
22
|
-
"@open-pioneer/
|
|
23
|
-
"@open-pioneer/
|
|
24
|
-
"
|
|
17
|
+
"@chakra-ui/react": "^3.37.0",
|
|
18
|
+
"@conterra/reactivity-core": "^0.8.8",
|
|
19
|
+
"@open-pioneer/chakra-snippets": "4.8.0-dev.20260910101405",
|
|
20
|
+
"@open-pioneer/core": "4.8.0-dev.20260910101405",
|
|
21
|
+
"@open-pioneer/map": "1.5.0-dev.20260910103330",
|
|
22
|
+
"@open-pioneer/react-utils": "4.8.0-dev.20260910101405",
|
|
23
|
+
"@open-pioneer/reactivity": "4.8.0-dev.20260910101405",
|
|
24
|
+
"@open-pioneer/runtime": "4.8.0-dev.20260910101405",
|
|
25
|
+
"ol": "^10.10.0",
|
|
25
26
|
"react": "^19.2.8",
|
|
26
|
-
"react-icons": "^5.7.0"
|
|
27
|
-
|
|
27
|
+
"react-icons": "^5.7.0"
|
|
28
|
+
},
|
|
29
|
+
"publishConfig": {
|
|
30
|
+
"directory": "dist",
|
|
31
|
+
"linkDirectory": false
|
|
28
32
|
},
|
|
29
33
|
"exports": {
|
|
30
34
|
"./package.json": "./package.json",
|