@open-pioneer/coordinate-search 1.5.0-dev.20260917081843 → 1.5.0
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 +27 -26
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
# @open-pioneer/coordinate-search
|
|
2
2
|
|
|
3
|
-
## 1.5.0
|
|
3
|
+
## 1.5.0
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
7
7
|
- f790fda: Update to Chakra 3.37.0
|
|
8
|
+
- a186f5d: Update core packages to 4.8.0.
|
|
8
9
|
|
|
9
10
|
### Patch Changes
|
|
10
11
|
|
|
@@ -70,8 +71,8 @@
|
|
|
70
71
|
- 66179bc: Update to core-packages v4.0.0
|
|
71
72
|
- 888fc2b: improve a11y of coordinate search and coordinate input
|
|
72
73
|
|
|
73
|
-
|
|
74
|
-
|
|
74
|
+
- switch order of projection select and coordinate input (visually and tab order) in order to have the correct focus order
|
|
75
|
+
- add instructions to `aria-label` for coordinate input to improve usability for screenreader users
|
|
75
76
|
|
|
76
77
|
- 738390e: Update to Chakra v3
|
|
77
78
|
|
|
@@ -79,16 +80,16 @@
|
|
|
79
80
|
|
|
80
81
|
- 9376a74: Ensure that icons and other decorative elements are hidden from the screen reader using the `aria-hidden="true"` attribute.
|
|
81
82
|
|
|
82
|
-
|
|
83
|
+
The easiest way to do that is to wrap icons into chakra's `<Icon />` component, for example:
|
|
83
84
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
85
|
+
```tsx
|
|
86
|
+
import { Icon } from "@chakra-ui/react";
|
|
87
|
+
import { FiX } from "react-icons/fi";
|
|
87
88
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
89
|
+
<Icon>
|
|
90
|
+
<FiX />
|
|
91
|
+
</Icon>;
|
|
92
|
+
```
|
|
92
93
|
|
|
93
94
|
- 1127419: Present error messages to screen readers using a (hidden) `<Field.ErrorMessage />` next to the input field.
|
|
94
95
|
|
|
@@ -99,17 +100,17 @@
|
|
|
99
100
|
- 193068a: Deprecate the `mapId` property on React components.
|
|
100
101
|
Use the `MapModel` directly instead to pass a reference to the map.
|
|
101
102
|
|
|
102
|
-
|
|
103
|
+
Example:
|
|
103
104
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
105
|
+
```tsx
|
|
106
|
+
// Default map for entire component tree
|
|
107
|
+
<DefaultMapProvider map={mapModel}>
|
|
108
|
+
<Toc />
|
|
109
|
+
</DefaultMapProvider>
|
|
109
110
|
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
111
|
+
// Map for specific component
|
|
112
|
+
<Toc map={mapModel} />
|
|
113
|
+
```
|
|
113
114
|
|
|
114
115
|
### Patch Changes
|
|
115
116
|
|
|
@@ -129,13 +130,13 @@
|
|
|
129
130
|
|
|
130
131
|
- 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.
|
|
131
132
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
133
|
+
```tsx
|
|
134
|
+
<CoordinateSearch mapId="map_id" />
|
|
135
|
+
```
|
|
135
136
|
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
137
|
+
```tsx
|
|
138
|
+
<CoordinateInput mapId="map_id" />
|
|
139
|
+
```
|
|
139
140
|
|
|
140
141
|
### Patch Changes
|
|
141
142
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@open-pioneer/coordinate-search",
|
|
4
|
-
"version": "1.5.0
|
|
4
|
+
"version": "1.5.0",
|
|
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"
|
|
@@ -16,12 +16,12 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@chakra-ui/react": "^3.37.0",
|
|
18
18
|
"@conterra/reactivity-core": "^0.8.8",
|
|
19
|
-
"@open-pioneer/chakra-snippets": "4.8.0
|
|
20
|
-
"@open-pioneer/core": "4.8.0
|
|
21
|
-
"@open-pioneer/map": "1.5.0
|
|
22
|
-
"@open-pioneer/react-utils": "4.8.0
|
|
23
|
-
"@open-pioneer/reactivity": "4.8.0
|
|
24
|
-
"@open-pioneer/runtime": "4.8.0
|
|
19
|
+
"@open-pioneer/chakra-snippets": "^4.8.0",
|
|
20
|
+
"@open-pioneer/core": "^4.8.0",
|
|
21
|
+
"@open-pioneer/map": "1.5.0",
|
|
22
|
+
"@open-pioneer/react-utils": "^4.8.0",
|
|
23
|
+
"@open-pioneer/reactivity": "^4.8.0",
|
|
24
|
+
"@open-pioneer/runtime": "^4.8.0",
|
|
25
25
|
"ol": "^10.10.0",
|
|
26
26
|
"react": "^19.3.0",
|
|
27
27
|
"react-icons": "^5.7.0"
|