@mailwoman/react 9.1.0 → 9.3.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/README.md +2 -2
- package/{common → lib/common}/ClientOnly.tsx +18 -6
- package/{common → lib/common}/CopyButton.tsx +1 -1
- package/{common → lib/common}/LoadingIndicator.tsx +1 -1
- package/{index.ts → lib/index.ts} +17 -17
- package/{map → lib/map}/CompareToggle.tsx +1 -1
- package/{map → lib/map}/DemoControls.tsx +5 -4
- package/{map → lib/map}/DemoMap.tsx +2 -2
- package/{map → lib/map}/GeocoderDemo.tsx +32 -8
- package/{map → lib/map}/OverlayLayers.tsx +3 -3
- package/{map → lib/map}/PlaceAutocomplete.tsx +2 -2
- package/{map → lib/map}/ResolvedPlaceLayers.tsx +2 -1
- package/{map → lib/map}/ResultCamera.tsx +2 -2
- package/{map → lib/map}/ResultOverlay.tsx +2 -2
- package/{map → lib/map}/ResultPanel.tsx +3 -2
- package/{map → lib/map}/VersionPicker.tsx +1 -1
- package/{map → lib/map}/geometry.ts +7 -7
- package/{map → lib/map}/index.ts +12 -12
- package/{map → lib/map}/place-render.ts +3 -3
- package/{map → lib/map}/types.ts +12 -9
- package/{map → lib/map}/useDemoGeocode.ts +4 -4
- package/{map → lib/map}/useMapPlaceRender.ts +2 -2
- package/{map → lib/map}/usePlaceAutocomplete.ts +39 -27
- package/{pipeline → lib/pipeline}/CandidatePicker.tsx +2 -2
- package/{pipeline → lib/pipeline}/ComponentTable.tsx +2 -1
- package/{pipeline → lib/pipeline}/ConfidenceCell.tsx +1 -1
- package/{pipeline → lib/pipeline}/PipelineExplorer.tsx +5 -4
- package/{pipeline → lib/pipeline}/QueryForm.tsx +2 -2
- package/{pipeline → lib/pipeline}/ResolvedPlace.tsx +1 -1
- package/{pipeline → lib/pipeline}/copy.ts +1 -1
- package/{pipeline → lib/pipeline}/presets.ts +2 -1
- package/{pipeline → lib/pipeline}/useParsePipeline.ts +1 -1
- package/{poi → lib/poi}/LiveResultsBlock.tsx +2 -2
- package/{poi → lib/poi}/POIExplorer.tsx +4 -3
- package/{poi → lib/poi}/SubjectPanel.tsx +1 -1
- package/{poi → lib/poi}/runtime.ts +3 -3
- package/{poi → lib/poi}/types.ts +1 -1
- package/{poi → lib/poi}/usePOISearch.ts +77 -51
- package/{runtime → lib/runtime}/useDemoRuntime.ts +8 -5
- package/out/common/ClientOnly.d.ts +5 -2
- package/out/common/ClientOnly.d.ts.map +1 -1
- package/out/common/ClientOnly.js +13 -5
- package/out/common/ClientOnly.js.map +1 -1
- package/out/common/CopyButton.d.ts.map +1 -1
- package/out/common/CopyButton.js +1 -1
- package/out/common/CopyButton.js.map +1 -1
- package/out/common/KindBadge.d.ts.map +1 -1
- package/out/common/KindBadge.js.map +1 -1
- package/out/common/LoadingIndicator.d.ts.map +1 -1
- package/out/common/LoadingIndicator.js +1 -1
- package/out/common/LoadingIndicator.js.map +1 -1
- package/out/common/PresetChips.d.ts.map +1 -1
- package/out/common/PresetChips.js.map +1 -1
- package/out/common/cx.d.ts.map +1 -1
- package/out/common/cx.js.map +1 -1
- package/out/common/useClipboard.d.ts.map +1 -1
- package/out/common/useClipboard.js.map +1 -1
- package/out/common/useDebouncedValue.d.ts.map +1 -1
- package/out/common/useDebouncedValue.js.map +1 -1
- package/out/index.d.ts +17 -17
- package/out/index.d.ts.map +1 -1
- package/out/index.js +9 -9
- package/out/index.js.map +1 -1
- package/out/map/BackendControl.d.ts.map +1 -1
- package/out/map/BackendControl.js.map +1 -1
- package/out/map/CompareToggle.d.ts +1 -1
- package/out/map/CompareToggle.d.ts.map +1 -1
- package/out/map/CompareToggle.js.map +1 -1
- package/out/map/DemoControls.d.ts +4 -4
- package/out/map/DemoControls.d.ts.map +1 -1
- package/out/map/DemoControls.js.map +1 -1
- package/out/map/DemoMap.d.ts +2 -2
- package/out/map/DemoMap.d.ts.map +1 -1
- package/out/map/DemoMap.js.map +1 -1
- package/out/map/GeocoderDemo.d.ts +3 -3
- package/out/map/GeocoderDemo.d.ts.map +1 -1
- package/out/map/GeocoderDemo.js +25 -6
- package/out/map/GeocoderDemo.js.map +1 -1
- package/out/map/OverlayLayers.d.ts +3 -3
- package/out/map/OverlayLayers.d.ts.map +1 -1
- package/out/map/OverlayLayers.js +2 -2
- package/out/map/OverlayLayers.js.map +1 -1
- package/out/map/PlaceAutocomplete.d.ts +1 -1
- package/out/map/PlaceAutocomplete.d.ts.map +1 -1
- package/out/map/PlaceAutocomplete.js +1 -1
- package/out/map/PlaceAutocomplete.js.map +1 -1
- package/out/map/PlaceMarker.d.ts.map +1 -1
- package/out/map/PlaceMarker.js.map +1 -1
- package/out/map/ResolvedPlaceLayers.d.ts +1 -1
- package/out/map/ResolvedPlaceLayers.d.ts.map +1 -1
- package/out/map/ResolvedPlaceLayers.js.map +1 -1
- package/out/map/ResultCamera.d.ts +2 -2
- package/out/map/ResultCamera.d.ts.map +1 -1
- package/out/map/ResultCamera.js +1 -1
- package/out/map/ResultCamera.js.map +1 -1
- package/out/map/ResultOverlay.d.ts +2 -2
- package/out/map/ResultOverlay.d.ts.map +1 -1
- package/out/map/ResultOverlay.js.map +1 -1
- package/out/map/ResultPanel.d.ts +1 -1
- package/out/map/ResultPanel.d.ts.map +1 -1
- package/out/map/ResultPanel.js +1 -1
- package/out/map/ResultPanel.js.map +1 -1
- package/out/map/VersionPicker.d.ts +1 -1
- package/out/map/VersionPicker.d.ts.map +1 -1
- package/out/map/VersionPicker.js.map +1 -1
- package/out/map/geometry.d.ts.map +1 -1
- package/out/map/geometry.js +7 -7
- package/out/map/geometry.js.map +1 -1
- package/out/map/index.d.ts +12 -12
- package/out/map/index.d.ts.map +1 -1
- package/out/map/index.js +6 -6
- package/out/map/index.js.map +1 -1
- package/out/map/place-render.d.ts +2 -2
- package/out/map/place-render.d.ts.map +1 -1
- package/out/map/place-render.js +1 -1
- package/out/map/place-render.js.map +1 -1
- package/out/map/types.d.ts +11 -9
- package/out/map/types.d.ts.map +1 -1
- package/out/map/types.js +2 -2
- package/out/map/types.js.map +1 -1
- package/out/map/useCompareState.d.ts.map +1 -1
- package/out/map/useCompareState.js.map +1 -1
- package/out/map/useDemoGeocode.d.ts +3 -3
- package/out/map/useDemoGeocode.d.ts.map +1 -1
- package/out/map/useDemoGeocode.js +1 -1
- package/out/map/useDemoGeocode.js.map +1 -1
- package/out/map/useMapPlaceRender.d.ts +1 -1
- package/out/map/useMapPlaceRender.d.ts.map +1 -1
- package/out/map/useMapPlaceRender.js +1 -1
- package/out/map/useMapPlaceRender.js.map +1 -1
- package/out/map/usePlaceAutocomplete.d.ts +1 -1
- package/out/map/usePlaceAutocomplete.d.ts.map +1 -1
- package/out/map/usePlaceAutocomplete.js +34 -23
- package/out/map/usePlaceAutocomplete.js.map +1 -1
- package/out/pipeline/CandidatePicker.d.ts +1 -1
- package/out/pipeline/CandidatePicker.d.ts.map +1 -1
- package/out/pipeline/CandidatePicker.js +1 -1
- package/out/pipeline/CandidatePicker.js.map +1 -1
- package/out/pipeline/ComponentTable.d.ts +1 -1
- package/out/pipeline/ComponentTable.d.ts.map +1 -1
- package/out/pipeline/ComponentTable.js.map +1 -1
- package/out/pipeline/ConfidenceCell.d.ts.map +1 -1
- package/out/pipeline/ConfidenceCell.js +1 -1
- package/out/pipeline/ConfidenceCell.js.map +1 -1
- package/out/pipeline/PipelineExplorer.d.ts +1 -1
- package/out/pipeline/PipelineExplorer.d.ts.map +1 -1
- package/out/pipeline/PipelineExplorer.js +3 -3
- package/out/pipeline/PipelineExplorer.js.map +1 -1
- package/out/pipeline/QueryForm.d.ts +2 -2
- package/out/pipeline/QueryForm.d.ts.map +1 -1
- package/out/pipeline/QueryForm.js.map +1 -1
- package/out/pipeline/ResolvedPlace.d.ts +1 -1
- package/out/pipeline/ResolvedPlace.d.ts.map +1 -1
- package/out/pipeline/ResolvedPlace.js.map +1 -1
- package/out/pipeline/copy.d.ts +1 -1
- package/out/pipeline/copy.d.ts.map +1 -1
- package/out/pipeline/copy.js.map +1 -1
- package/out/pipeline/presets.d.ts.map +1 -1
- package/out/pipeline/presets.js +2 -1
- package/out/pipeline/presets.js.map +1 -1
- package/out/pipeline/types.d.ts.map +1 -1
- package/out/pipeline/types.js.map +1 -1
- package/out/pipeline/useParsePipeline.d.ts +1 -1
- package/out/pipeline/useParsePipeline.d.ts.map +1 -1
- package/out/pipeline/useParsePipeline.js.map +1 -1
- package/out/poi/AbstainPanel.d.ts.map +1 -1
- package/out/poi/AbstainPanel.js.map +1 -1
- package/out/poi/LiveResultsBlock.d.ts +1 -1
- package/out/poi/LiveResultsBlock.d.ts.map +1 -1
- package/out/poi/LiveResultsBlock.js +1 -1
- package/out/poi/LiveResultsBlock.js.map +1 -1
- package/out/poi/OverpassBlock.d.ts.map +1 -1
- package/out/poi/OverpassBlock.js.map +1 -1
- package/out/poi/POIExplorer.d.ts +1 -1
- package/out/poi/POIExplorer.d.ts.map +1 -1
- package/out/poi/POIExplorer.js +2 -2
- package/out/poi/POIExplorer.js.map +1 -1
- package/out/poi/QueryInput.d.ts.map +1 -1
- package/out/poi/QueryInput.js.map +1 -1
- package/out/poi/SubjectPanel.d.ts +1 -1
- package/out/poi/SubjectPanel.d.ts.map +1 -1
- package/out/poi/SubjectPanel.js.map +1 -1
- package/out/poi/runtime.d.ts +1 -1
- package/out/poi/runtime.d.ts.map +1 -1
- package/out/poi/runtime.js.map +1 -1
- package/out/poi/types.d.ts +1 -1
- package/out/poi/types.d.ts.map +1 -1
- package/out/poi/types.js +1 -1
- package/out/poi/types.js.map +1 -1
- package/out/poi/usePOISearch.d.ts +1 -1
- package/out/poi/usePOISearch.d.ts.map +1 -1
- package/out/poi/usePOISearch.js +75 -48
- package/out/poi/usePOISearch.js.map +1 -1
- package/out/runtime/useDemoRuntime.d.ts +2 -2
- package/out/runtime/useDemoRuntime.d.ts.map +1 -1
- package/out/runtime/useDemoRuntime.js +7 -5
- package/out/runtime/useDemoRuntime.js.map +1 -1
- package/package.json +338 -18
- package/styles.css +49 -19
- /package/{common → lib/common}/KindBadge.tsx +0 -0
- /package/{common → lib/common}/PresetChips.tsx +0 -0
- /package/{common → lib/common}/cx.ts +0 -0
- /package/{common → lib/common}/useClipboard.ts +0 -0
- /package/{common → lib/common}/useDebouncedValue.ts +0 -0
- /package/{map → lib/map}/BackendControl.tsx +0 -0
- /package/{map → lib/map}/PlaceMarker.tsx +0 -0
- /package/{map → lib/map}/useCompareState.ts +0 -0
- /package/{pipeline → lib/pipeline}/types.ts +0 -0
- /package/{poi → lib/poi}/AbstainPanel.tsx +0 -0
- /package/{poi → lib/poi}/OverpassBlock.tsx +0 -0
- /package/{poi → lib/poi}/QueryInput.tsx +0 -0
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mailwoman/react",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.3.0",
|
|
4
4
|
"description": "React components + headless hooks for mailwoman — parse/geocode/POI explorers, Storybook-tested, Docusaurus-independent.",
|
|
5
5
|
"license": "AGPL-3.0-only OR LicenseRef-Commercial",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "https://github.com/sister-software/mailwoman.git",
|
|
9
|
-
"directory": "react"
|
|
9
|
+
"directory": "packages/react"
|
|
10
10
|
},
|
|
11
11
|
"files": [
|
|
12
12
|
"out/**/*.js",
|
|
@@ -33,16 +33,178 @@
|
|
|
33
33
|
"!storybook-static/**"
|
|
34
34
|
],
|
|
35
35
|
"type": "module",
|
|
36
|
+
"sideEffects": [
|
|
37
|
+
"./styles.css"
|
|
38
|
+
],
|
|
39
|
+
"imports": {
|
|
40
|
+
"#index": {
|
|
41
|
+
"types": "./out/index.d.ts",
|
|
42
|
+
"node": "./out/index.js",
|
|
43
|
+
"default": "./out/index.js"
|
|
44
|
+
},
|
|
45
|
+
"#map": {
|
|
46
|
+
"types": "./out/map/index.d.ts",
|
|
47
|
+
"node": "./out/map/index.js",
|
|
48
|
+
"default": "./out/map/index.js"
|
|
49
|
+
},
|
|
50
|
+
"#*": {
|
|
51
|
+
"types": "./out/*.d.ts",
|
|
52
|
+
"node": "./out/*.js",
|
|
53
|
+
"default": "./out/*.js"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
36
56
|
"exports": {
|
|
37
57
|
"./package.json": "./package.json",
|
|
38
58
|
"./styles.css": "./styles.css",
|
|
39
59
|
".": {
|
|
40
60
|
"types": "./out/index.d.ts",
|
|
61
|
+
"node": "./out/index.js",
|
|
41
62
|
"default": "./out/index.js"
|
|
42
63
|
},
|
|
43
64
|
"./map": {
|
|
44
65
|
"types": "./out/map/index.d.ts",
|
|
66
|
+
"node": "./out/map/index.js",
|
|
45
67
|
"default": "./out/map/index.js"
|
|
68
|
+
},
|
|
69
|
+
"./common/CopyButton": {
|
|
70
|
+
"types": "./out/common/CopyButton.d.ts",
|
|
71
|
+
"node": "./out/common/CopyButton.js",
|
|
72
|
+
"default": "./out/common/CopyButton.js"
|
|
73
|
+
},
|
|
74
|
+
"./common/KindBadge": {
|
|
75
|
+
"types": "./out/common/KindBadge.d.ts",
|
|
76
|
+
"node": "./out/common/KindBadge.js",
|
|
77
|
+
"default": "./out/common/KindBadge.js"
|
|
78
|
+
},
|
|
79
|
+
"./common/LoadingIndicator": {
|
|
80
|
+
"types": "./out/common/LoadingIndicator.d.ts",
|
|
81
|
+
"node": "./out/common/LoadingIndicator.js",
|
|
82
|
+
"default": "./out/common/LoadingIndicator.js"
|
|
83
|
+
},
|
|
84
|
+
"./common/PresetChips": {
|
|
85
|
+
"types": "./out/common/PresetChips.d.ts",
|
|
86
|
+
"node": "./out/common/PresetChips.js",
|
|
87
|
+
"default": "./out/common/PresetChips.js"
|
|
88
|
+
},
|
|
89
|
+
"./map/DemoMap": {
|
|
90
|
+
"types": "./out/map/DemoMap.d.ts",
|
|
91
|
+
"node": "./out/map/DemoMap.js",
|
|
92
|
+
"default": "./out/map/DemoMap.js"
|
|
93
|
+
},
|
|
94
|
+
"./map/GeocoderDemo": {
|
|
95
|
+
"types": "./out/map/GeocoderDemo.d.ts",
|
|
96
|
+
"node": "./out/map/GeocoderDemo.js",
|
|
97
|
+
"default": "./out/map/GeocoderDemo.js"
|
|
98
|
+
},
|
|
99
|
+
"./map/place-render": {
|
|
100
|
+
"types": "./out/map/place-render.d.ts",
|
|
101
|
+
"node": "./out/map/place-render.js",
|
|
102
|
+
"default": "./out/map/place-render.js"
|
|
103
|
+
},
|
|
104
|
+
"./map/ResultCamera": {
|
|
105
|
+
"types": "./out/map/ResultCamera.d.ts",
|
|
106
|
+
"node": "./out/map/ResultCamera.js",
|
|
107
|
+
"default": "./out/map/ResultCamera.js"
|
|
108
|
+
},
|
|
109
|
+
"./map/geometry": {
|
|
110
|
+
"types": "./out/map/geometry.d.ts",
|
|
111
|
+
"node": "./out/map/geometry.js",
|
|
112
|
+
"default": "./out/map/geometry.js"
|
|
113
|
+
},
|
|
114
|
+
"./map/OverlayLayers": {
|
|
115
|
+
"types": "./out/map/OverlayLayers.d.ts",
|
|
116
|
+
"node": "./out/map/OverlayLayers.js",
|
|
117
|
+
"default": "./out/map/OverlayLayers.js"
|
|
118
|
+
},
|
|
119
|
+
"./map/ResolvedPlaceLayers": {
|
|
120
|
+
"types": "./out/map/ResolvedPlaceLayers.d.ts",
|
|
121
|
+
"node": "./out/map/ResolvedPlaceLayers.js",
|
|
122
|
+
"default": "./out/map/ResolvedPlaceLayers.js"
|
|
123
|
+
},
|
|
124
|
+
"./map/types": {
|
|
125
|
+
"types": "./out/map/types.d.ts",
|
|
126
|
+
"node": "./out/map/types.js",
|
|
127
|
+
"default": "./out/map/types.js"
|
|
128
|
+
},
|
|
129
|
+
"./map/BackendControl": {
|
|
130
|
+
"types": "./out/map/BackendControl.d.ts",
|
|
131
|
+
"node": "./out/map/BackendControl.js",
|
|
132
|
+
"default": "./out/map/BackendControl.js"
|
|
133
|
+
},
|
|
134
|
+
"./map/CompareToggle": {
|
|
135
|
+
"types": "./out/map/CompareToggle.d.ts",
|
|
136
|
+
"node": "./out/map/CompareToggle.js",
|
|
137
|
+
"default": "./out/map/CompareToggle.js"
|
|
138
|
+
},
|
|
139
|
+
"./map/PlaceAutocomplete": {
|
|
140
|
+
"types": "./out/map/PlaceAutocomplete.d.ts",
|
|
141
|
+
"node": "./out/map/PlaceAutocomplete.js",
|
|
142
|
+
"default": "./out/map/PlaceAutocomplete.js"
|
|
143
|
+
},
|
|
144
|
+
"./map/ResultPanel": {
|
|
145
|
+
"types": "./out/map/ResultPanel.d.ts",
|
|
146
|
+
"node": "./out/map/ResultPanel.js",
|
|
147
|
+
"default": "./out/map/ResultPanel.js"
|
|
148
|
+
},
|
|
149
|
+
"./map/usePlaceAutocomplete": {
|
|
150
|
+
"types": "./out/map/usePlaceAutocomplete.d.ts",
|
|
151
|
+
"node": "./out/map/usePlaceAutocomplete.js",
|
|
152
|
+
"default": "./out/map/usePlaceAutocomplete.js"
|
|
153
|
+
},
|
|
154
|
+
"./map/VersionPicker": {
|
|
155
|
+
"types": "./out/map/VersionPicker.d.ts",
|
|
156
|
+
"node": "./out/map/VersionPicker.js",
|
|
157
|
+
"default": "./out/map/VersionPicker.js"
|
|
158
|
+
},
|
|
159
|
+
"./pipeline/ComponentTable": {
|
|
160
|
+
"types": "./out/pipeline/ComponentTable.d.ts",
|
|
161
|
+
"node": "./out/pipeline/ComponentTable.js",
|
|
162
|
+
"default": "./out/pipeline/ComponentTable.js"
|
|
163
|
+
},
|
|
164
|
+
"./pipeline/PipelineExplorer": {
|
|
165
|
+
"types": "./out/pipeline/PipelineExplorer.d.ts",
|
|
166
|
+
"node": "./out/pipeline/PipelineExplorer.js",
|
|
167
|
+
"default": "./out/pipeline/PipelineExplorer.js"
|
|
168
|
+
},
|
|
169
|
+
"./pipeline/ResolvedPlace": {
|
|
170
|
+
"types": "./out/pipeline/ResolvedPlace.d.ts",
|
|
171
|
+
"node": "./out/pipeline/ResolvedPlace.js",
|
|
172
|
+
"default": "./out/pipeline/ResolvedPlace.js"
|
|
173
|
+
},
|
|
174
|
+
"./poi/LiveResultsBlock": {
|
|
175
|
+
"types": "./out/poi/LiveResultsBlock.d.ts",
|
|
176
|
+
"node": "./out/poi/LiveResultsBlock.js",
|
|
177
|
+
"default": "./out/poi/LiveResultsBlock.js"
|
|
178
|
+
},
|
|
179
|
+
"./poi/types": {
|
|
180
|
+
"types": "./out/poi/types.d.ts",
|
|
181
|
+
"node": "./out/poi/types.js",
|
|
182
|
+
"default": "./out/poi/types.js"
|
|
183
|
+
},
|
|
184
|
+
"./poi/OverpassBlock": {
|
|
185
|
+
"types": "./out/poi/OverpassBlock.d.ts",
|
|
186
|
+
"node": "./out/poi/OverpassBlock.js",
|
|
187
|
+
"default": "./out/poi/OverpassBlock.js"
|
|
188
|
+
},
|
|
189
|
+
"./poi/POIExplorer": {
|
|
190
|
+
"types": "./out/poi/POIExplorer.d.ts",
|
|
191
|
+
"node": "./out/poi/POIExplorer.js",
|
|
192
|
+
"default": "./out/poi/POIExplorer.js"
|
|
193
|
+
},
|
|
194
|
+
"./poi/SubjectPanel": {
|
|
195
|
+
"types": "./out/poi/SubjectPanel.d.ts",
|
|
196
|
+
"node": "./out/poi/SubjectPanel.js",
|
|
197
|
+
"default": "./out/poi/SubjectPanel.js"
|
|
198
|
+
},
|
|
199
|
+
"./poi/usePOISearch": {
|
|
200
|
+
"types": "./out/poi/usePOISearch.d.ts",
|
|
201
|
+
"node": "./out/poi/usePOISearch.js",
|
|
202
|
+
"default": "./out/poi/usePOISearch.js"
|
|
203
|
+
},
|
|
204
|
+
"./runtime/useDemoRuntime": {
|
|
205
|
+
"types": "./out/runtime/useDemoRuntime.d.ts",
|
|
206
|
+
"node": "./out/runtime/useDemoRuntime.js",
|
|
207
|
+
"default": "./out/runtime/useDemoRuntime.js"
|
|
46
208
|
}
|
|
47
209
|
},
|
|
48
210
|
"publishConfig": {
|
|
@@ -52,11 +214,170 @@
|
|
|
52
214
|
"./styles.css": "./styles.css",
|
|
53
215
|
".": {
|
|
54
216
|
"types": "./out/index.d.ts",
|
|
217
|
+
"node": "./out/index.js",
|
|
55
218
|
"default": "./out/index.js"
|
|
56
219
|
},
|
|
57
220
|
"./map": {
|
|
58
221
|
"types": "./out/map/index.d.ts",
|
|
222
|
+
"node": "./out/map/index.js",
|
|
59
223
|
"default": "./out/map/index.js"
|
|
224
|
+
},
|
|
225
|
+
"./common/CopyButton": {
|
|
226
|
+
"types": "./out/common/CopyButton.d.ts",
|
|
227
|
+
"node": "./out/common/CopyButton.js",
|
|
228
|
+
"default": "./out/common/CopyButton.js"
|
|
229
|
+
},
|
|
230
|
+
"./common/KindBadge": {
|
|
231
|
+
"types": "./out/common/KindBadge.d.ts",
|
|
232
|
+
"node": "./out/common/KindBadge.js",
|
|
233
|
+
"default": "./out/common/KindBadge.js"
|
|
234
|
+
},
|
|
235
|
+
"./common/LoadingIndicator": {
|
|
236
|
+
"types": "./out/common/LoadingIndicator.d.ts",
|
|
237
|
+
"node": "./out/common/LoadingIndicator.js",
|
|
238
|
+
"default": "./out/common/LoadingIndicator.js"
|
|
239
|
+
},
|
|
240
|
+
"./common/PresetChips": {
|
|
241
|
+
"types": "./out/common/PresetChips.d.ts",
|
|
242
|
+
"node": "./out/common/PresetChips.js",
|
|
243
|
+
"default": "./out/common/PresetChips.js"
|
|
244
|
+
},
|
|
245
|
+
"./map/DemoMap": {
|
|
246
|
+
"types": "./out/map/DemoMap.d.ts",
|
|
247
|
+
"node": "./out/map/DemoMap.js",
|
|
248
|
+
"default": "./out/map/DemoMap.js"
|
|
249
|
+
},
|
|
250
|
+
"./map/GeocoderDemo": {
|
|
251
|
+
"types": "./out/map/GeocoderDemo.d.ts",
|
|
252
|
+
"node": "./out/map/GeocoderDemo.js",
|
|
253
|
+
"default": "./out/map/GeocoderDemo.js"
|
|
254
|
+
},
|
|
255
|
+
"./map/place-render": {
|
|
256
|
+
"types": "./out/map/place-render.d.ts",
|
|
257
|
+
"node": "./out/map/place-render.js",
|
|
258
|
+
"default": "./out/map/place-render.js"
|
|
259
|
+
},
|
|
260
|
+
"./map/ResultCamera": {
|
|
261
|
+
"types": "./out/map/ResultCamera.d.ts",
|
|
262
|
+
"node": "./out/map/ResultCamera.js",
|
|
263
|
+
"default": "./out/map/ResultCamera.js"
|
|
264
|
+
},
|
|
265
|
+
"./map/geometry": {
|
|
266
|
+
"types": "./out/map/geometry.d.ts",
|
|
267
|
+
"node": "./out/map/geometry.js",
|
|
268
|
+
"default": "./out/map/geometry.js"
|
|
269
|
+
},
|
|
270
|
+
"./map/OverlayLayers": {
|
|
271
|
+
"types": "./out/map/OverlayLayers.d.ts",
|
|
272
|
+
"node": "./out/map/OverlayLayers.js",
|
|
273
|
+
"default": "./out/map/OverlayLayers.js"
|
|
274
|
+
},
|
|
275
|
+
"./map/ResolvedPlaceLayers": {
|
|
276
|
+
"types": "./out/map/ResolvedPlaceLayers.d.ts",
|
|
277
|
+
"node": "./out/map/ResolvedPlaceLayers.js",
|
|
278
|
+
"default": "./out/map/ResolvedPlaceLayers.js"
|
|
279
|
+
},
|
|
280
|
+
"./map/types": {
|
|
281
|
+
"types": "./out/map/types.d.ts",
|
|
282
|
+
"node": "./out/map/types.js",
|
|
283
|
+
"default": "./out/map/types.js"
|
|
284
|
+
},
|
|
285
|
+
"./map/BackendControl": {
|
|
286
|
+
"types": "./out/map/BackendControl.d.ts",
|
|
287
|
+
"node": "./out/map/BackendControl.js",
|
|
288
|
+
"default": "./out/map/BackendControl.js"
|
|
289
|
+
},
|
|
290
|
+
"./map/CompareToggle": {
|
|
291
|
+
"types": "./out/map/CompareToggle.d.ts",
|
|
292
|
+
"node": "./out/map/CompareToggle.js",
|
|
293
|
+
"default": "./out/map/CompareToggle.js"
|
|
294
|
+
},
|
|
295
|
+
"./map/PlaceAutocomplete": {
|
|
296
|
+
"types": "./out/map/PlaceAutocomplete.d.ts",
|
|
297
|
+
"node": "./out/map/PlaceAutocomplete.js",
|
|
298
|
+
"default": "./out/map/PlaceAutocomplete.js"
|
|
299
|
+
},
|
|
300
|
+
"./map/ResultPanel": {
|
|
301
|
+
"types": "./out/map/ResultPanel.d.ts",
|
|
302
|
+
"node": "./out/map/ResultPanel.js",
|
|
303
|
+
"default": "./out/map/ResultPanel.js"
|
|
304
|
+
},
|
|
305
|
+
"./map/usePlaceAutocomplete": {
|
|
306
|
+
"types": "./out/map/usePlaceAutocomplete.d.ts",
|
|
307
|
+
"node": "./out/map/usePlaceAutocomplete.js",
|
|
308
|
+
"default": "./out/map/usePlaceAutocomplete.js"
|
|
309
|
+
},
|
|
310
|
+
"./map/VersionPicker": {
|
|
311
|
+
"types": "./out/map/VersionPicker.d.ts",
|
|
312
|
+
"node": "./out/map/VersionPicker.js",
|
|
313
|
+
"default": "./out/map/VersionPicker.js"
|
|
314
|
+
},
|
|
315
|
+
"./pipeline/ComponentTable": {
|
|
316
|
+
"types": "./out/pipeline/ComponentTable.d.ts",
|
|
317
|
+
"node": "./out/pipeline/ComponentTable.js",
|
|
318
|
+
"default": "./out/pipeline/ComponentTable.js"
|
|
319
|
+
},
|
|
320
|
+
"./pipeline/PipelineExplorer": {
|
|
321
|
+
"types": "./out/pipeline/PipelineExplorer.d.ts",
|
|
322
|
+
"node": "./out/pipeline/PipelineExplorer.js",
|
|
323
|
+
"default": "./out/pipeline/PipelineExplorer.js"
|
|
324
|
+
},
|
|
325
|
+
"./pipeline/ResolvedPlace": {
|
|
326
|
+
"types": "./out/pipeline/ResolvedPlace.d.ts",
|
|
327
|
+
"node": "./out/pipeline/ResolvedPlace.js",
|
|
328
|
+
"default": "./out/pipeline/ResolvedPlace.js"
|
|
329
|
+
},
|
|
330
|
+
"./poi/LiveResultsBlock": {
|
|
331
|
+
"types": "./out/poi/LiveResultsBlock.d.ts",
|
|
332
|
+
"node": "./out/poi/LiveResultsBlock.js",
|
|
333
|
+
"default": "./out/poi/LiveResultsBlock.js"
|
|
334
|
+
},
|
|
335
|
+
"./poi/types": {
|
|
336
|
+
"types": "./out/poi/types.d.ts",
|
|
337
|
+
"node": "./out/poi/types.js",
|
|
338
|
+
"default": "./out/poi/types.js"
|
|
339
|
+
},
|
|
340
|
+
"./poi/OverpassBlock": {
|
|
341
|
+
"types": "./out/poi/OverpassBlock.d.ts",
|
|
342
|
+
"node": "./out/poi/OverpassBlock.js",
|
|
343
|
+
"default": "./out/poi/OverpassBlock.js"
|
|
344
|
+
},
|
|
345
|
+
"./poi/POIExplorer": {
|
|
346
|
+
"types": "./out/poi/POIExplorer.d.ts",
|
|
347
|
+
"node": "./out/poi/POIExplorer.js",
|
|
348
|
+
"default": "./out/poi/POIExplorer.js"
|
|
349
|
+
},
|
|
350
|
+
"./poi/SubjectPanel": {
|
|
351
|
+
"types": "./out/poi/SubjectPanel.d.ts",
|
|
352
|
+
"node": "./out/poi/SubjectPanel.js",
|
|
353
|
+
"default": "./out/poi/SubjectPanel.js"
|
|
354
|
+
},
|
|
355
|
+
"./poi/usePOISearch": {
|
|
356
|
+
"types": "./out/poi/usePOISearch.d.ts",
|
|
357
|
+
"node": "./out/poi/usePOISearch.js",
|
|
358
|
+
"default": "./out/poi/usePOISearch.js"
|
|
359
|
+
},
|
|
360
|
+
"./runtime/useDemoRuntime": {
|
|
361
|
+
"types": "./out/runtime/useDemoRuntime.d.ts",
|
|
362
|
+
"node": "./out/runtime/useDemoRuntime.js",
|
|
363
|
+
"default": "./out/runtime/useDemoRuntime.js"
|
|
364
|
+
}
|
|
365
|
+
},
|
|
366
|
+
"imports": {
|
|
367
|
+
"#index": {
|
|
368
|
+
"types": "./out/index.d.ts",
|
|
369
|
+
"node": "./out/index.js",
|
|
370
|
+
"default": "./out/index.js"
|
|
371
|
+
},
|
|
372
|
+
"#map": {
|
|
373
|
+
"types": "./out/map/index.d.ts",
|
|
374
|
+
"node": "./out/map/index.js",
|
|
375
|
+
"default": "./out/map/index.js"
|
|
376
|
+
},
|
|
377
|
+
"#*": {
|
|
378
|
+
"types": "./out/*.d.ts",
|
|
379
|
+
"node": "./out/*.js",
|
|
380
|
+
"default": "./out/*.js"
|
|
60
381
|
}
|
|
61
382
|
}
|
|
62
383
|
},
|
|
@@ -67,27 +388,26 @@
|
|
|
67
388
|
"test:node": "vitest run --config vitest.node.config.ts"
|
|
68
389
|
},
|
|
69
390
|
"dependencies": {
|
|
70
|
-
"@mailwoman/kind-classifier": "9.
|
|
71
|
-
"@mailwoman/poi-taxonomy": "9.
|
|
72
|
-
"@mailwoman/query-shape": "9.
|
|
391
|
+
"@mailwoman/kind-classifier": "9.3.0",
|
|
392
|
+
"@mailwoman/poi-taxonomy": "9.3.0",
|
|
393
|
+
"@mailwoman/query-shape": "9.3.0"
|
|
73
394
|
},
|
|
74
395
|
"devDependencies": {
|
|
75
|
-
"@storybook/addon-docs": "^10.
|
|
76
|
-
"@storybook/react-vite": "^10.
|
|
77
|
-
"@types/react": "^19.2.
|
|
78
|
-
"@types/react-dom": "^19.2.
|
|
79
|
-
"@vitejs/plugin-react": "^6.
|
|
80
|
-
"@vitest/browser": "4.1.
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"playwright": "^1.62.1",
|
|
396
|
+
"@storybook/addon-docs": "^10.6.0",
|
|
397
|
+
"@storybook/react-vite": "^10.6.0",
|
|
398
|
+
"@types/react": "^19.2.18",
|
|
399
|
+
"@types/react-dom": "^19.2.7",
|
|
400
|
+
"@vitejs/plugin-react": "^6.1.1",
|
|
401
|
+
"@vitest/browser-playwright": "4.1.11",
|
|
402
|
+
"maplibre-gl": "^6.7.0",
|
|
403
|
+
"playwright": "^1.63.0",
|
|
84
404
|
"react": "^19.2.8",
|
|
85
405
|
"react-dom": "^19.2.8",
|
|
86
|
-
"react-map-gl": "^8.1.
|
|
87
|
-
"storybook": "^10.
|
|
406
|
+
"react-map-gl": "^8.1.3",
|
|
407
|
+
"storybook": "^10.6.0",
|
|
88
408
|
"typescript": "^6.0.3",
|
|
89
|
-
"vite": "^8.2.
|
|
90
|
-
"vitest": "4.1.
|
|
409
|
+
"vite": "^8.2.2",
|
|
410
|
+
"vitest": "4.1.11"
|
|
91
411
|
},
|
|
92
412
|
"peerDependencies": {
|
|
93
413
|
"maplibre-gl": ">=5",
|
package/styles.css
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
font-size: 0.95rem;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
/*
|
|
18
|
+
/* #region Field (label + input + button) */
|
|
19
19
|
|
|
20
20
|
.mw-field {
|
|
21
21
|
display: flex;
|
|
@@ -60,7 +60,9 @@
|
|
|
60
60
|
cursor: not-allowed;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
/*
|
|
63
|
+
/* #endregion */
|
|
64
|
+
|
|
65
|
+
/* #region Preset chips */
|
|
64
66
|
|
|
65
67
|
.mw-presets {
|
|
66
68
|
margin-top: 0.75rem;
|
|
@@ -98,7 +100,9 @@
|
|
|
98
100
|
cursor: not-allowed;
|
|
99
101
|
}
|
|
100
102
|
|
|
101
|
-
/*
|
|
103
|
+
/* #endregion */
|
|
104
|
+
|
|
105
|
+
/* #region Generic button (copy / search) */
|
|
102
106
|
|
|
103
107
|
.mw-btn {
|
|
104
108
|
font-size: 0.8rem;
|
|
@@ -120,7 +124,9 @@
|
|
|
120
124
|
cursor: not-allowed;
|
|
121
125
|
}
|
|
122
126
|
|
|
123
|
-
/*
|
|
127
|
+
/* #endregion */
|
|
128
|
+
|
|
129
|
+
/* #region Result panel + errors */
|
|
124
130
|
|
|
125
131
|
.mw-result {
|
|
126
132
|
margin-top: 1.5rem;
|
|
@@ -161,7 +167,9 @@
|
|
|
161
167
|
white-space: pre-wrap;
|
|
162
168
|
}
|
|
163
169
|
|
|
164
|
-
/*
|
|
170
|
+
/* #endregion */
|
|
171
|
+
|
|
172
|
+
/* #region KindBadge */
|
|
165
173
|
|
|
166
174
|
.mw-kind {
|
|
167
175
|
margin-bottom: 0.5rem;
|
|
@@ -183,7 +191,9 @@
|
|
|
183
191
|
list-style: disc;
|
|
184
192
|
}
|
|
185
193
|
|
|
186
|
-
/*
|
|
194
|
+
/* #endregion */
|
|
195
|
+
|
|
196
|
+
/* #region POI subject panel */
|
|
187
197
|
|
|
188
198
|
.mw-subject__row {
|
|
189
199
|
display: flex;
|
|
@@ -258,7 +268,9 @@
|
|
|
258
268
|
margin: 0;
|
|
259
269
|
}
|
|
260
270
|
|
|
261
|
-
/*
|
|
271
|
+
/* #endregion */
|
|
272
|
+
|
|
273
|
+
/* #region OverpassQL block */
|
|
262
274
|
|
|
263
275
|
.mw-overpass {
|
|
264
276
|
margin-top: 0.75rem;
|
|
@@ -275,7 +287,9 @@
|
|
|
275
287
|
overflow-x: auto;
|
|
276
288
|
}
|
|
277
289
|
|
|
278
|
-
/*
|
|
290
|
+
/* #endregion */
|
|
291
|
+
|
|
292
|
+
/* #region Live results */
|
|
279
293
|
|
|
280
294
|
.mw-live {
|
|
281
295
|
margin-top: 1rem;
|
|
@@ -317,7 +331,9 @@
|
|
|
317
331
|
white-space: nowrap;
|
|
318
332
|
}
|
|
319
333
|
|
|
320
|
-
/*
|
|
334
|
+
/* #endregion */
|
|
335
|
+
|
|
336
|
+
/* #region Component table */
|
|
321
337
|
|
|
322
338
|
.mw-components {
|
|
323
339
|
width: 100%;
|
|
@@ -340,7 +356,9 @@
|
|
|
340
356
|
text-transform: uppercase;
|
|
341
357
|
}
|
|
342
358
|
|
|
343
|
-
/*
|
|
359
|
+
/* #endregion */
|
|
360
|
+
|
|
361
|
+
/* #region Confidence cell */
|
|
344
362
|
|
|
345
363
|
.mw-conf__dash {
|
|
346
364
|
color: var(--ifm-color-emphasis-500, #8c8c8c);
|
|
@@ -377,7 +395,9 @@
|
|
|
377
395
|
font-size: 0.8rem;
|
|
378
396
|
}
|
|
379
397
|
|
|
380
|
-
/*
|
|
398
|
+
/* #endregion */
|
|
399
|
+
|
|
400
|
+
/* #region Resolved place */
|
|
381
401
|
|
|
382
402
|
.mw-resolved {
|
|
383
403
|
margin-top: 1rem;
|
|
@@ -416,7 +436,9 @@
|
|
|
416
436
|
font-size: 0.9rem;
|
|
417
437
|
}
|
|
418
438
|
|
|
419
|
-
/*
|
|
439
|
+
/* #endregion */
|
|
440
|
+
|
|
441
|
+
/* #region Candidate picker */
|
|
420
442
|
|
|
421
443
|
.mw-candidates {
|
|
422
444
|
margin-top: 1rem;
|
|
@@ -471,7 +493,9 @@
|
|
|
471
493
|
color: var(--ifm-color-emphasis-600, #6e6e6e);
|
|
472
494
|
}
|
|
473
495
|
|
|
474
|
-
/*
|
|
496
|
+
/* #endregion */
|
|
497
|
+
|
|
498
|
+
/* #region LoadingIndicator */
|
|
475
499
|
|
|
476
500
|
.mw-loading {
|
|
477
501
|
display: flex;
|
|
@@ -647,7 +671,9 @@
|
|
|
647
671
|
transform: translateY(-60%) rotate(45deg);
|
|
648
672
|
}
|
|
649
673
|
|
|
650
|
-
/*
|
|
674
|
+
/* #endregion */
|
|
675
|
+
|
|
676
|
+
/* #region Demo map (react-map-gl/maplibre shell) */
|
|
651
677
|
|
|
652
678
|
/*
|
|
653
679
|
* The <DemoMap> wrapper. Sizing is the host's call (pass `style`/`className`), but a min-height keeps
|
|
@@ -661,8 +687,6 @@
|
|
|
661
687
|
overflow: hidden;
|
|
662
688
|
}
|
|
663
689
|
|
|
664
|
-
/* ── Geocoder demo (composed: full-viewport map + floating control panel) ──── */
|
|
665
|
-
|
|
666
690
|
/*
|
|
667
691
|
* The demo fills its positioning context; the host sizes it (a full-viewport wrapper in docs). The map is the
|
|
668
692
|
* background layer, the control panel floats over the top-left (bottom on narrow screens). A host that wants a
|
|
@@ -705,7 +729,9 @@
|
|
|
705
729
|
}
|
|
706
730
|
}
|
|
707
731
|
|
|
708
|
-
/*
|
|
732
|
+
/* #endregion */
|
|
733
|
+
|
|
734
|
+
/* #region Demo control field (version / compare-version selects) */
|
|
709
735
|
|
|
710
736
|
.mw-demo-control {
|
|
711
737
|
margin-bottom: 0.75rem;
|
|
@@ -732,7 +758,9 @@
|
|
|
732
758
|
opacity: 0.5;
|
|
733
759
|
}
|
|
734
760
|
|
|
735
|
-
/*
|
|
761
|
+
/* #endregion */
|
|
762
|
+
|
|
763
|
+
/* #region Backend indicator + WASM toggle / compare toggle */
|
|
736
764
|
|
|
737
765
|
.mw-demo-backend,
|
|
738
766
|
.mw-demo-compare {
|
|
@@ -771,7 +799,9 @@
|
|
|
771
799
|
color: var(--ifm-color-emphasis-600, #6e6e6e);
|
|
772
800
|
}
|
|
773
801
|
|
|
774
|
-
/*
|
|
802
|
+
/* #endregion */
|
|
803
|
+
|
|
804
|
+
/* #region Place autocomplete listbox (reuses .mw-chip) */
|
|
775
805
|
|
|
776
806
|
.mw-demo-suggest {
|
|
777
807
|
margin-top: 0.75rem;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|