@mailwoman/react 11.2.0 → 11.4.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.
Files changed (324) hide show
  1. package/lib/map/{ResultCamera.tsx → camera/ResultCamera.tsx} +3 -3
  2. package/lib/map/{MapCanvas.tsx → canvas/MapCanvas.tsx} +2 -2
  3. package/lib/map/{StarfieldLayer.tsx → canvas/StarfieldLayer.tsx} +2 -2
  4. package/lib/map/{starfield.ts → canvas/starfield.ts} +1 -1
  5. package/lib/map/{LoadLedgerList.tsx → chrome/LoadLedgerList.tsx} +1 -1
  6. package/lib/map/{CompareToggle.tsx → geocoder/CompareToggle.tsx} +2 -2
  7. package/lib/map/{Geocoder.tsx → geocoder/Geocoder.tsx} +12 -12
  8. package/lib/map/{GeocoderControls.tsx → geocoder/GeocoderControls.tsx} +18 -18
  9. package/lib/map/{ResultPanel.tsx → geocoder/ResultPanel.tsx} +6 -6
  10. package/lib/map/{fake-runtime.ts → geocoder/fake-runtime.ts} +2 -2
  11. package/lib/map/{useGeocode.ts → geocoder/useGeocode.ts} +1 -1
  12. package/lib/map/{OverlayLayers.tsx → overlays/OverlayLayers.tsx} +2 -2
  13. package/lib/map/{ResolvedPlaceLayers.tsx → overlays/ResolvedPlaceLayers.tsx} +2 -2
  14. package/lib/map/{ResultOverlay.tsx → overlays/ResultOverlay.tsx} +1 -1
  15. package/lib/map/{place-render.ts → overlays/place-render.ts} +2 -2
  16. package/lib/map/{useMapPlaceRender.ts → overlays/useMapPlaceRender.ts} +2 -2
  17. package/lib/map/{MapContextMenu.tsx → pick/MapContextMenu.tsx} +2 -2
  18. package/lib/map/{MapPlaceCard.tsx → pick/MapPlaceCard.tsx} +3 -3
  19. package/lib/map/{useMapPick.ts → pick/useMapPick.ts} +1 -1
  20. package/lib/map/types.ts +3 -3
  21. package/lib/map.ts +81 -59
  22. package/lib/pipeline/CandidatePicker.tsx +4 -2
  23. package/lib/pipeline/MatchTable.tsx +1 -1
  24. package/lib/pipeline/TreeView.tsx +2 -1
  25. package/lib/pipeline/copy.ts +1 -1
  26. package/lib/pipeline/types.ts +1 -1
  27. package/lib/poi/QueryInput.tsx +3 -1
  28. package/lib/poi/usePOISearch.ts +4 -3
  29. package/lib/runtime/useReleaseRuntime.ts +1 -1
  30. package/lib/search/SearchModal.tsx +1 -1
  31. package/out/map/{ResultCamera.d.ts → camera/ResultCamera.d.ts} +2 -2
  32. package/out/map/camera/ResultCamera.d.ts.map +1 -0
  33. package/out/map/{ResultCamera.js → camera/ResultCamera.js} +2 -2
  34. package/out/map/camera/ResultCamera.js.map +1 -0
  35. package/out/map/camera/jump-curtain.d.ts.map +1 -0
  36. package/out/map/camera/jump-curtain.js.map +1 -0
  37. package/out/map/camera/reduced-motion.d.ts.map +1 -0
  38. package/out/map/camera/reduced-motion.js.map +1 -0
  39. package/out/map/camera/useMapBearing.d.ts.map +1 -0
  40. package/out/map/camera/useMapBearing.js.map +1 -0
  41. package/out/map/canvas/GraticuleLayer.d.ts.map +1 -0
  42. package/out/map/canvas/GraticuleLayer.js.map +1 -0
  43. package/out/map/{MapCanvas.d.ts → canvas/MapCanvas.d.ts} +1 -1
  44. package/out/map/canvas/MapCanvas.d.ts.map +1 -0
  45. package/out/map/{MapCanvas.js → canvas/MapCanvas.js} +1 -1
  46. package/out/map/canvas/MapCanvas.js.map +1 -0
  47. package/out/map/{StarfieldLayer.d.ts → canvas/StarfieldLayer.d.ts} +1 -1
  48. package/out/map/canvas/StarfieldLayer.d.ts.map +1 -0
  49. package/out/map/{StarfieldLayer.js → canvas/StarfieldLayer.js} +1 -1
  50. package/out/map/canvas/StarfieldLayer.js.map +1 -0
  51. package/out/map/canvas/graticule.d.ts.map +1 -0
  52. package/out/map/canvas/graticule.js.map +1 -0
  53. package/out/map/canvas/starfield.d.ts.map +1 -0
  54. package/out/map/{starfield.js → canvas/starfield.js} +1 -1
  55. package/out/map/canvas/starfield.js.map +1 -0
  56. package/out/map/chrome/AppIdentity.d.ts.map +1 -0
  57. package/out/map/chrome/AppIdentity.js.map +1 -0
  58. package/out/map/chrome/DebugInfo.d.ts.map +1 -0
  59. package/out/map/chrome/DebugInfo.js.map +1 -0
  60. package/out/map/{LoadLedgerList.d.ts → chrome/LoadLedgerList.d.ts} +1 -1
  61. package/out/map/chrome/LoadLedgerList.d.ts.map +1 -0
  62. package/out/map/{LoadLedgerList.js → chrome/LoadLedgerList.js} +1 -1
  63. package/out/map/chrome/LoadLedgerList.js.map +1 -0
  64. package/out/map/chrome/MapChipRow.d.ts.map +1 -0
  65. package/out/map/chrome/MapChipRow.js.map +1 -0
  66. package/out/map/chrome/MapCompass.d.ts.map +1 -0
  67. package/out/map/chrome/MapCompass.js.map +1 -0
  68. package/out/map/chrome/MapControlStack.d.ts.map +1 -0
  69. package/out/map/chrome/MapControlStack.js.map +1 -0
  70. package/out/map/chrome/MapFooter.d.ts.map +1 -0
  71. package/out/map/chrome/MapFooter.js.map +1 -0
  72. package/out/map/chrome/MapProgressBar.d.ts.map +1 -0
  73. package/out/map/chrome/MapProgressBar.js.map +1 -0
  74. package/out/map/chrome/MapSearchBar.d.ts.map +1 -0
  75. package/out/map/chrome/MapSearchBar.js.map +1 -0
  76. package/out/map/chrome/MapSheet.d.ts.map +1 -0
  77. package/out/map/chrome/MapSheet.js.map +1 -0
  78. package/out/map/chrome/map-debug.d.ts.map +1 -0
  79. package/out/map/chrome/map-debug.js.map +1 -0
  80. package/out/map/{CompareToggle.d.ts → geocoder/CompareToggle.d.ts} +2 -2
  81. package/out/map/geocoder/CompareToggle.d.ts.map +1 -0
  82. package/out/map/{CompareToggle.js → geocoder/CompareToggle.js} +2 -2
  83. package/out/map/geocoder/CompareToggle.js.map +1 -0
  84. package/out/map/{Geocoder.d.ts → geocoder/Geocoder.d.ts} +1 -1
  85. package/out/map/geocoder/Geocoder.d.ts.map +1 -0
  86. package/out/map/{Geocoder.js → geocoder/Geocoder.js} +11 -11
  87. package/out/map/geocoder/Geocoder.js.map +1 -0
  88. package/out/map/{GeocoderControls.d.ts → geocoder/GeocoderControls.d.ts} +4 -4
  89. package/out/map/geocoder/GeocoderControls.d.ts.map +1 -0
  90. package/out/map/{GeocoderControls.js → geocoder/GeocoderControls.js} +13 -13
  91. package/out/map/geocoder/GeocoderControls.js.map +1 -0
  92. package/out/map/geocoder/PlaceAutocomplete.d.ts.map +1 -0
  93. package/out/map/geocoder/PlaceAutocomplete.js.map +1 -0
  94. package/out/map/geocoder/ResultPanel.d.ts.map +1 -0
  95. package/out/map/{ResultPanel.js → geocoder/ResultPanel.js} +6 -6
  96. package/out/map/geocoder/ResultPanel.js.map +1 -0
  97. package/out/map/geocoder/VersionPicker.d.ts.map +1 -0
  98. package/out/map/geocoder/VersionPicker.js.map +1 -0
  99. package/out/map/{fake-runtime.d.ts → geocoder/fake-runtime.d.ts} +1 -1
  100. package/out/map/geocoder/fake-runtime.d.ts.map +1 -0
  101. package/out/map/geocoder/fake-runtime.js.map +1 -0
  102. package/out/map/geocoder/useCompareState.d.ts.map +1 -0
  103. package/out/map/geocoder/useCompareState.js.map +1 -0
  104. package/out/map/{useGeocode.d.ts → geocoder/useGeocode.d.ts} +1 -1
  105. package/out/map/geocoder/useGeocode.d.ts.map +1 -0
  106. package/out/map/geocoder/useGeocode.js.map +1 -0
  107. package/out/map/geocoder/usePlaceAutocomplete.d.ts.map +1 -0
  108. package/out/map/geocoder/usePlaceAutocomplete.js.map +1 -0
  109. package/out/map/{OverlayLayers.d.ts → overlays/OverlayLayers.d.ts} +2 -2
  110. package/out/map/overlays/OverlayLayers.d.ts.map +1 -0
  111. package/out/map/{OverlayLayers.js → overlays/OverlayLayers.js} +2 -2
  112. package/out/map/overlays/OverlayLayers.js.map +1 -0
  113. package/out/map/overlays/PlaceMarker.d.ts.map +1 -0
  114. package/out/map/overlays/PlaceMarker.js.map +1 -0
  115. package/out/map/{ResolvedPlaceLayers.d.ts → overlays/ResolvedPlaceLayers.d.ts} +1 -1
  116. package/out/map/overlays/ResolvedPlaceLayers.d.ts.map +1 -0
  117. package/out/map/{ResolvedPlaceLayers.js → overlays/ResolvedPlaceLayers.js} +1 -1
  118. package/out/map/overlays/ResolvedPlaceLayers.js.map +1 -0
  119. package/out/map/{ResultOverlay.d.ts → overlays/ResultOverlay.d.ts} +1 -1
  120. package/out/map/overlays/ResultOverlay.d.ts.map +1 -0
  121. package/out/map/overlays/ResultOverlay.js.map +1 -0
  122. package/out/map/overlays/geometry.d.ts.map +1 -0
  123. package/out/map/overlays/geometry.js.map +1 -0
  124. package/out/map/{place-render.d.ts → overlays/place-render.d.ts} +1 -1
  125. package/out/map/overlays/place-render.d.ts.map +1 -0
  126. package/out/map/{place-render.js → overlays/place-render.js} +1 -1
  127. package/out/map/overlays/place-render.js.map +1 -0
  128. package/out/map/{useMapPlaceRender.d.ts → overlays/useMapPlaceRender.d.ts} +1 -1
  129. package/out/map/overlays/useMapPlaceRender.d.ts.map +1 -0
  130. package/out/map/{useMapPlaceRender.js → overlays/useMapPlaceRender.js} +1 -1
  131. package/out/map/overlays/useMapPlaceRender.js.map +1 -0
  132. package/out/map/{MapContextMenu.d.ts → pick/MapContextMenu.d.ts} +1 -1
  133. package/out/map/pick/MapContextMenu.d.ts.map +1 -0
  134. package/out/map/{MapContextMenu.js → pick/MapContextMenu.js} +1 -1
  135. package/out/map/pick/MapContextMenu.js.map +1 -0
  136. package/out/map/{MapPlaceCard.d.ts → pick/MapPlaceCard.d.ts} +1 -1
  137. package/out/map/pick/MapPlaceCard.d.ts.map +1 -0
  138. package/out/map/{MapPlaceCard.js → pick/MapPlaceCard.js} +2 -2
  139. package/out/map/pick/MapPlaceCard.js.map +1 -0
  140. package/out/map/{useMapPick.d.ts → pick/useMapPick.d.ts} +1 -1
  141. package/out/map/pick/useMapPick.d.ts.map +1 -0
  142. package/out/map/pick/useMapPick.js.map +1 -0
  143. package/out/map/types.d.ts +3 -3
  144. package/out/map/types.d.ts.map +1 -1
  145. package/out/map.d.ts +60 -58
  146. package/out/map.d.ts.map +1 -1
  147. package/out/map.js +32 -30
  148. package/out/map.js.map +1 -1
  149. package/out/pipeline/CandidatePicker.d.ts +4 -2
  150. package/out/pipeline/CandidatePicker.d.ts.map +1 -1
  151. package/out/pipeline/CandidatePicker.js.map +1 -1
  152. package/out/pipeline/MatchTable.d.ts +4 -0
  153. package/out/pipeline/MatchTable.d.ts.map +1 -1
  154. package/out/pipeline/MatchTable.js +1 -7
  155. package/out/pipeline/MatchTable.js.map +1 -1
  156. package/out/pipeline/TreeView.d.ts +2 -1
  157. package/out/pipeline/TreeView.d.ts.map +1 -1
  158. package/out/pipeline/TreeView.js.map +1 -1
  159. package/out/pipeline/copy.d.ts +5 -0
  160. package/out/pipeline/copy.d.ts.map +1 -1
  161. package/out/pipeline/copy.js +1 -6
  162. package/out/pipeline/copy.js.map +1 -1
  163. package/out/pipeline/types.d.ts +1 -1
  164. package/out/pipeline/types.d.ts.map +1 -1
  165. package/out/poi/QueryInput.d.ts +3 -1
  166. package/out/poi/QueryInput.d.ts.map +1 -1
  167. package/out/poi/QueryInput.js.map +1 -1
  168. package/out/poi/usePOISearch.d.ts +4 -3
  169. package/out/poi/usePOISearch.d.ts.map +1 -1
  170. package/out/poi/usePOISearch.js.map +1 -1
  171. package/out/runtime/useReleaseRuntime.d.ts +1 -1
  172. package/out/runtime/useReleaseRuntime.d.ts.map +1 -1
  173. package/out/search/SearchModal.js +1 -1
  174. package/out/search/SearchModal.js.map +1 -1
  175. package/package.json +171 -171
  176. package/out/map/AppIdentity.d.ts.map +0 -1
  177. package/out/map/AppIdentity.js.map +0 -1
  178. package/out/map/CompareToggle.d.ts.map +0 -1
  179. package/out/map/CompareToggle.js.map +0 -1
  180. package/out/map/DebugInfo.d.ts.map +0 -1
  181. package/out/map/DebugInfo.js.map +0 -1
  182. package/out/map/Geocoder.d.ts.map +0 -1
  183. package/out/map/Geocoder.js.map +0 -1
  184. package/out/map/GeocoderControls.d.ts.map +0 -1
  185. package/out/map/GeocoderControls.js.map +0 -1
  186. package/out/map/GraticuleLayer.d.ts.map +0 -1
  187. package/out/map/GraticuleLayer.js.map +0 -1
  188. package/out/map/LoadLedgerList.d.ts.map +0 -1
  189. package/out/map/LoadLedgerList.js.map +0 -1
  190. package/out/map/MapCanvas.d.ts.map +0 -1
  191. package/out/map/MapCanvas.js.map +0 -1
  192. package/out/map/MapChipRow.d.ts.map +0 -1
  193. package/out/map/MapChipRow.js.map +0 -1
  194. package/out/map/MapCompass.d.ts.map +0 -1
  195. package/out/map/MapCompass.js.map +0 -1
  196. package/out/map/MapContextMenu.d.ts.map +0 -1
  197. package/out/map/MapContextMenu.js.map +0 -1
  198. package/out/map/MapControlStack.d.ts.map +0 -1
  199. package/out/map/MapControlStack.js.map +0 -1
  200. package/out/map/MapFooter.d.ts.map +0 -1
  201. package/out/map/MapFooter.js.map +0 -1
  202. package/out/map/MapPlaceCard.d.ts.map +0 -1
  203. package/out/map/MapPlaceCard.js.map +0 -1
  204. package/out/map/MapProgressBar.d.ts.map +0 -1
  205. package/out/map/MapProgressBar.js.map +0 -1
  206. package/out/map/MapSearchBar.d.ts.map +0 -1
  207. package/out/map/MapSearchBar.js.map +0 -1
  208. package/out/map/MapSheet.d.ts.map +0 -1
  209. package/out/map/MapSheet.js.map +0 -1
  210. package/out/map/OverlayLayers.d.ts.map +0 -1
  211. package/out/map/OverlayLayers.js.map +0 -1
  212. package/out/map/PlaceAutocomplete.d.ts.map +0 -1
  213. package/out/map/PlaceAutocomplete.js.map +0 -1
  214. package/out/map/PlaceMarker.d.ts.map +0 -1
  215. package/out/map/PlaceMarker.js.map +0 -1
  216. package/out/map/ResolvedPlaceLayers.d.ts.map +0 -1
  217. package/out/map/ResolvedPlaceLayers.js.map +0 -1
  218. package/out/map/ResultCamera.d.ts.map +0 -1
  219. package/out/map/ResultCamera.js.map +0 -1
  220. package/out/map/ResultOverlay.d.ts.map +0 -1
  221. package/out/map/ResultOverlay.js.map +0 -1
  222. package/out/map/ResultPanel.d.ts.map +0 -1
  223. package/out/map/ResultPanel.js.map +0 -1
  224. package/out/map/StarfieldLayer.d.ts.map +0 -1
  225. package/out/map/StarfieldLayer.js.map +0 -1
  226. package/out/map/VersionPicker.d.ts.map +0 -1
  227. package/out/map/VersionPicker.js.map +0 -1
  228. package/out/map/fake-runtime.d.ts.map +0 -1
  229. package/out/map/fake-runtime.js.map +0 -1
  230. package/out/map/geometry.d.ts.map +0 -1
  231. package/out/map/geometry.js.map +0 -1
  232. package/out/map/graticule.d.ts.map +0 -1
  233. package/out/map/graticule.js.map +0 -1
  234. package/out/map/jump-curtain.d.ts.map +0 -1
  235. package/out/map/jump-curtain.js.map +0 -1
  236. package/out/map/map-debug.d.ts.map +0 -1
  237. package/out/map/map-debug.js.map +0 -1
  238. package/out/map/place-render.d.ts.map +0 -1
  239. package/out/map/place-render.js.map +0 -1
  240. package/out/map/reduced-motion.d.ts.map +0 -1
  241. package/out/map/reduced-motion.js.map +0 -1
  242. package/out/map/starfield.d.ts.map +0 -1
  243. package/out/map/starfield.js.map +0 -1
  244. package/out/map/useCompareState.d.ts.map +0 -1
  245. package/out/map/useCompareState.js.map +0 -1
  246. package/out/map/useGeocode.d.ts.map +0 -1
  247. package/out/map/useGeocode.js.map +0 -1
  248. package/out/map/useMapBearing.d.ts.map +0 -1
  249. package/out/map/useMapBearing.js.map +0 -1
  250. package/out/map/useMapPick.d.ts.map +0 -1
  251. package/out/map/useMapPick.js.map +0 -1
  252. package/out/map/useMapPlaceRender.d.ts.map +0 -1
  253. package/out/map/useMapPlaceRender.js.map +0 -1
  254. package/out/map/usePlaceAutocomplete.d.ts.map +0 -1
  255. package/out/map/usePlaceAutocomplete.js.map +0 -1
  256. /package/lib/map/{jump-curtain.ts → camera/jump-curtain.ts} +0 -0
  257. /package/lib/map/{reduced-motion.ts → camera/reduced-motion.ts} +0 -0
  258. /package/lib/map/{useMapBearing.ts → camera/useMapBearing.ts} +0 -0
  259. /package/lib/map/{GraticuleLayer.tsx → canvas/GraticuleLayer.tsx} +0 -0
  260. /package/lib/map/{graticule.ts → canvas/graticule.ts} +0 -0
  261. /package/lib/map/{AppIdentity.tsx → chrome/AppIdentity.tsx} +0 -0
  262. /package/lib/map/{DebugInfo.tsx → chrome/DebugInfo.tsx} +0 -0
  263. /package/lib/map/{MapChipRow.tsx → chrome/MapChipRow.tsx} +0 -0
  264. /package/lib/map/{MapCompass.tsx → chrome/MapCompass.tsx} +0 -0
  265. /package/lib/map/{MapControlStack.tsx → chrome/MapControlStack.tsx} +0 -0
  266. /package/lib/map/{MapFooter.tsx → chrome/MapFooter.tsx} +0 -0
  267. /package/lib/map/{MapProgressBar.tsx → chrome/MapProgressBar.tsx} +0 -0
  268. /package/lib/map/{MapSearchBar.tsx → chrome/MapSearchBar.tsx} +0 -0
  269. /package/lib/map/{MapSheet.tsx → chrome/MapSheet.tsx} +0 -0
  270. /package/lib/map/{map-debug.ts → chrome/map-debug.ts} +0 -0
  271. /package/lib/map/{PlaceAutocomplete.tsx → geocoder/PlaceAutocomplete.tsx} +0 -0
  272. /package/lib/map/{VersionPicker.tsx → geocoder/VersionPicker.tsx} +0 -0
  273. /package/lib/map/{useCompareState.ts → geocoder/useCompareState.ts} +0 -0
  274. /package/lib/map/{usePlaceAutocomplete.ts → geocoder/usePlaceAutocomplete.ts} +0 -0
  275. /package/lib/map/{PlaceMarker.tsx → overlays/PlaceMarker.tsx} +0 -0
  276. /package/lib/map/{geometry.ts → overlays/geometry.ts} +0 -0
  277. /package/out/map/{jump-curtain.d.ts → camera/jump-curtain.d.ts} +0 -0
  278. /package/out/map/{jump-curtain.js → camera/jump-curtain.js} +0 -0
  279. /package/out/map/{reduced-motion.d.ts → camera/reduced-motion.d.ts} +0 -0
  280. /package/out/map/{reduced-motion.js → camera/reduced-motion.js} +0 -0
  281. /package/out/map/{useMapBearing.d.ts → camera/useMapBearing.d.ts} +0 -0
  282. /package/out/map/{useMapBearing.js → camera/useMapBearing.js} +0 -0
  283. /package/out/map/{GraticuleLayer.d.ts → canvas/GraticuleLayer.d.ts} +0 -0
  284. /package/out/map/{GraticuleLayer.js → canvas/GraticuleLayer.js} +0 -0
  285. /package/out/map/{graticule.d.ts → canvas/graticule.d.ts} +0 -0
  286. /package/out/map/{graticule.js → canvas/graticule.js} +0 -0
  287. /package/out/map/{starfield.d.ts → canvas/starfield.d.ts} +0 -0
  288. /package/out/map/{AppIdentity.d.ts → chrome/AppIdentity.d.ts} +0 -0
  289. /package/out/map/{AppIdentity.js → chrome/AppIdentity.js} +0 -0
  290. /package/out/map/{DebugInfo.d.ts → chrome/DebugInfo.d.ts} +0 -0
  291. /package/out/map/{DebugInfo.js → chrome/DebugInfo.js} +0 -0
  292. /package/out/map/{MapChipRow.d.ts → chrome/MapChipRow.d.ts} +0 -0
  293. /package/out/map/{MapChipRow.js → chrome/MapChipRow.js} +0 -0
  294. /package/out/map/{MapCompass.d.ts → chrome/MapCompass.d.ts} +0 -0
  295. /package/out/map/{MapCompass.js → chrome/MapCompass.js} +0 -0
  296. /package/out/map/{MapControlStack.d.ts → chrome/MapControlStack.d.ts} +0 -0
  297. /package/out/map/{MapControlStack.js → chrome/MapControlStack.js} +0 -0
  298. /package/out/map/{MapFooter.d.ts → chrome/MapFooter.d.ts} +0 -0
  299. /package/out/map/{MapFooter.js → chrome/MapFooter.js} +0 -0
  300. /package/out/map/{MapProgressBar.d.ts → chrome/MapProgressBar.d.ts} +0 -0
  301. /package/out/map/{MapProgressBar.js → chrome/MapProgressBar.js} +0 -0
  302. /package/out/map/{MapSearchBar.d.ts → chrome/MapSearchBar.d.ts} +0 -0
  303. /package/out/map/{MapSearchBar.js → chrome/MapSearchBar.js} +0 -0
  304. /package/out/map/{MapSheet.d.ts → chrome/MapSheet.d.ts} +0 -0
  305. /package/out/map/{MapSheet.js → chrome/MapSheet.js} +0 -0
  306. /package/out/map/{map-debug.d.ts → chrome/map-debug.d.ts} +0 -0
  307. /package/out/map/{map-debug.js → chrome/map-debug.js} +0 -0
  308. /package/out/map/{PlaceAutocomplete.d.ts → geocoder/PlaceAutocomplete.d.ts} +0 -0
  309. /package/out/map/{PlaceAutocomplete.js → geocoder/PlaceAutocomplete.js} +0 -0
  310. /package/out/map/{ResultPanel.d.ts → geocoder/ResultPanel.d.ts} +0 -0
  311. /package/out/map/{VersionPicker.d.ts → geocoder/VersionPicker.d.ts} +0 -0
  312. /package/out/map/{VersionPicker.js → geocoder/VersionPicker.js} +0 -0
  313. /package/out/map/{fake-runtime.js → geocoder/fake-runtime.js} +0 -0
  314. /package/out/map/{useCompareState.d.ts → geocoder/useCompareState.d.ts} +0 -0
  315. /package/out/map/{useCompareState.js → geocoder/useCompareState.js} +0 -0
  316. /package/out/map/{useGeocode.js → geocoder/useGeocode.js} +0 -0
  317. /package/out/map/{usePlaceAutocomplete.d.ts → geocoder/usePlaceAutocomplete.d.ts} +0 -0
  318. /package/out/map/{usePlaceAutocomplete.js → geocoder/usePlaceAutocomplete.js} +0 -0
  319. /package/out/map/{PlaceMarker.d.ts → overlays/PlaceMarker.d.ts} +0 -0
  320. /package/out/map/{PlaceMarker.js → overlays/PlaceMarker.js} +0 -0
  321. /package/out/map/{ResultOverlay.js → overlays/ResultOverlay.js} +0 -0
  322. /package/out/map/{geometry.d.ts → overlays/geometry.d.ts} +0 -0
  323. /package/out/map/{geometry.js → overlays/geometry.js} +0 -0
  324. /package/out/map/{useMapPick.js → pick/useMapPick.js} +0 -0
@@ -6,9 +6,9 @@ import type { FitBoundsOptions, FlyToOptions, JumpToOptions, LngLatBoundsLike }
6
6
  import { type ReactNode, useEffect } from "react"
7
7
  import { useMap } from "react-map-gl/maplibre"
8
8
 
9
- import { createJumpCurtain, JUMP_FADE_MS, type JumpCurtain } from "#map/jump-curtain"
10
- import type { MapCameraTarget } from "#map/place-render"
11
- import { prefersReducedMotion } from "#map/reduced-motion"
9
+ import { createJumpCurtain, JUMP_FADE_MS, type JumpCurtain } from "#map/camera/jump-curtain"
10
+ import { prefersReducedMotion } from "#map/camera/reduced-motion"
11
+ import type { MapCameraTarget } from "#map/overlays/place-render"
12
12
 
13
13
  /**
14
14
  * The arc, in degrees of the body's great circle, past which a result's camera move
@@ -29,8 +29,8 @@ import type { CSSProperties, ReactNode, Ref } from "react"
29
29
  import { Map } from "react-map-gl/maplibre"
30
30
  import type { MapProps, MapRef, ViewStateChangeEvent } from "react-map-gl/maplibre"
31
31
 
32
- import type { StarfieldOptions } from "#map/starfield"
33
- import { StarfieldLayer } from "#map/StarfieldLayer"
32
+ import type { StarfieldOptions } from "#map/canvas/starfield"
33
+ import { StarfieldLayer } from "#map/canvas/StarfieldLayer"
34
34
 
35
35
  /**
36
36
  * The style a `<MapCanvas>` renders — a style URL or an inline/composed `StyleSpecification`.
@@ -15,8 +15,8 @@ import { useEffect, useMemo } from "react"
15
15
  import type { ReactNode } from "react"
16
16
  import { useMap } from "react-map-gl/maplibre"
17
17
 
18
- import { drawStarfield, generateStarfield } from "#map/starfield"
19
- import type { StarfieldOptions } from "#map/starfield"
18
+ import { drawStarfield, generateStarfield } from "#map/canvas/starfield"
19
+ import type { StarfieldOptions } from "#map/canvas/starfield"
20
20
 
21
21
  export interface StarfieldLayerProps extends StarfieldOptions {
22
22
  /**
@@ -14,7 +14,7 @@
14
14
  * This module touches no DOM or WebGL at import, so node tests can load it.
15
15
  */
16
16
 
17
- import { mulberry32 } from "@mailwoman/core/random"
17
+ import { mulberry32 } from "@mailwoman/core/math/random"
18
18
 
19
19
  /**
20
20
  * The options that shape a generated sky.
@@ -11,7 +11,7 @@ import {
11
11
  type ArtifactSource,
12
12
  type LedgerEntry,
13
13
  type LoadLedgerSnapshot,
14
- } from "@mailwoman/core/load-ledger"
14
+ } from "@mailwoman/core/asset/load-ledger"
15
15
  import type { ReactNode } from "react"
16
16
 
17
17
  const SOURCE_LABELS: Readonly<Record<ArtifactSource, string>> = {
@@ -27,8 +27,8 @@ export interface CompareToggleProps {
27
27
  /**
28
28
  * Renders the compare checkbox.
29
29
  *
30
- * In compare mode, it also renders the version selector. and no control at all
31
- * when fewer than two versions exist.
30
+ * In compare mode, it also renders the version selector.
31
+ * In the default mode, it renders no control at all when fewer than two versions exist.
32
32
  */
33
33
  export function CompareToggle({
34
34
  versions,
@@ -5,21 +5,21 @@ import type { ParseResult } from "@mailwoman/core/pipeline/client-result"
5
5
  import { type ReactNode, useCallback, useEffect, useEffectEvent, useRef, useState } from "react"
6
6
  import type { MapRef } from "react-map-gl/maplibre"
7
7
 
8
- import { createJumpCurtain } from "#map/jump-curtain"
8
+ import { createJumpCurtain } from "#map/camera/jump-curtain"
9
+ import { useCompareState } from "#map/geocoder/useCompareState"
10
+ import { useGeocode } from "#map/geocoder/useGeocode"
11
+ import { usePlaceAutocomplete } from "#map/geocoder/usePlaceAutocomplete"
12
+ import { useMapPlaceRender } from "#map/overlays/useMapPlaceRender"
9
13
  import type { GeocoderPanels, GeocoderRuntime, MapBias } from "#map/types"
10
- import { useCompareState } from "#map/useCompareState"
11
- import { useGeocode } from "#map/useGeocode"
12
- import { useMapPlaceRender } from "#map/useMapPlaceRender"
13
- import { usePlaceAutocomplete } from "#map/usePlaceAutocomplete"
14
14
 
15
- import { ClientOnly } from "../common/ClientOnly.tsx"
16
- import type { Preset } from "../common/PresetChips.tsx"
15
+ import { ClientOnly } from "../../common/ClientOnly.tsx"
16
+ import type { Preset } from "../../common/PresetChips.tsx"
17
+ import { applyCameraTarget } from "../camera/ResultCamera.tsx"
18
+ import { GraticuleLayer } from "../canvas/GraticuleLayer.tsx"
19
+ import { MapCanvas } from "../canvas/MapCanvas.tsx"
20
+ import { OverlayLayers } from "../overlays/OverlayLayers.tsx"
21
+ import { ResolvedPlaceLayers } from "../overlays/ResolvedPlaceLayers.tsx"
17
22
  import { GeocoderControls } from "./GeocoderControls.tsx"
18
- import { GraticuleLayer } from "./GraticuleLayer.tsx"
19
- import { MapCanvas } from "./MapCanvas.tsx"
20
- import { OverlayLayers } from "./OverlayLayers.tsx"
21
- import { ResolvedPlaceLayers } from "./ResolvedPlaceLayers.tsx"
22
- import { applyCameraTarget } from "./ResultCamera.tsx"
23
23
 
24
24
  /**
25
25
  * Props for {@linkcode Geocoder}.
@@ -6,26 +6,26 @@ import type React from "react"
6
6
  import { type ReactNode, useCallback, useEffect, useRef, useState } from "react"
7
7
  import type { MapInstance } from "react-map-gl/maplibre"
8
8
 
9
+ import { useMapBearing } from "#map/camera/useMapBearing"
10
+ import type { UseCompareState } from "#map/geocoder/useCompareState"
11
+ import type { UseGeocode } from "#map/geocoder/useGeocode"
12
+ import type { UsePlaceAutocomplete } from "#map/geocoder/usePlaceAutocomplete"
13
+ import { type MapPick, useMapPick } from "#map/pick/useMapPick"
9
14
  import type { GeocoderPanels, GeocoderRuntime } from "#map/types"
10
- import type { UseCompareState } from "#map/useCompareState"
11
- import type { UseGeocode } from "#map/useGeocode"
12
- import { useMapBearing } from "#map/useMapBearing"
13
- import { type MapPick, useMapPick } from "#map/useMapPick"
14
- import type { UsePlaceAutocomplete } from "#map/usePlaceAutocomplete"
15
-
16
- import { LoadingIndicator } from "../common/LoadingIndicator.tsx"
17
- import type { Preset } from "../common/PresetChips.tsx"
15
+
16
+ import { LoadingIndicator } from "../../common/LoadingIndicator.tsx"
17
+ import type { Preset } from "../../common/PresetChips.tsx"
18
+ import { DebugInfo } from "../chrome/DebugInfo.tsx"
19
+ import { LoadLedgerList } from "../chrome/LoadLedgerList.tsx"
20
+ import { MapChipRow } from "../chrome/MapChipRow.tsx"
21
+ import { MapCompass } from "../chrome/MapCompass.tsx"
22
+ import { MapControlButton, MapControlGroup, MapControlStack } from "../chrome/MapControlStack.tsx"
23
+ import { MapProgressBar } from "../chrome/MapProgressBar.tsx"
24
+ import { MapSearchBar, SearchGlyph } from "../chrome/MapSearchBar.tsx"
25
+ import { MapSheet } from "../chrome/MapSheet.tsx"
26
+ import { MapContextMenu, MapContextMenuAction, useMapContextMenu } from "../pick/MapContextMenu.tsx"
27
+ import { MapPlaceCard, pickQuery } from "../pick/MapPlaceCard.tsx"
18
28
  import { CompareToggle } from "./CompareToggle.tsx"
19
- import { DebugInfo } from "./DebugInfo.tsx"
20
- import { LoadLedgerList } from "./LoadLedgerList.tsx"
21
- import { MapChipRow } from "./MapChipRow.tsx"
22
- import { MapCompass } from "./MapCompass.tsx"
23
- import { MapContextMenu, MapContextMenuAction, useMapContextMenu } from "./MapContextMenu.tsx"
24
- import { MapControlButton, MapControlGroup, MapControlStack } from "./MapControlStack.tsx"
25
- import { MapPlaceCard, pickQuery } from "./MapPlaceCard.tsx"
26
- import { MapProgressBar } from "./MapProgressBar.tsx"
27
- import { MapSearchBar, SearchGlyph } from "./MapSearchBar.tsx"
28
- import { MapSheet } from "./MapSheet.tsx"
29
29
  import { PlaceAutocomplete } from "./PlaceAutocomplete.tsx"
30
30
  import { ResultPanel } from "./ResultPanel.tsx"
31
31
  import { VersionPicker } from "./VersionPicker.tsx"
@@ -6,12 +6,12 @@ import type { ReactNode } from "react"
6
6
 
7
7
  import { buildParsePayload } from "#pipeline/copy"
8
8
 
9
- import { CopyButton } from "../common/CopyButton.tsx"
10
- import { KindBadge } from "../common/KindBadge.tsx"
11
- import { CandidatePicker } from "../pipeline/CandidatePicker.tsx"
12
- import { ComponentTable } from "../pipeline/ComponentTable.tsx"
13
- import { MatchTable } from "../pipeline/MatchTable.tsx"
14
- import { ResolvedPlace } from "../pipeline/ResolvedPlace.tsx"
9
+ import { CopyButton } from "../../common/CopyButton.tsx"
10
+ import { KindBadge } from "../../common/KindBadge.tsx"
11
+ import { CandidatePicker } from "../../pipeline/CandidatePicker.tsx"
12
+ import { ComponentTable } from "../../pipeline/ComponentTable.tsx"
13
+ import { MatchTable } from "../../pipeline/MatchTable.tsx"
14
+ import { ResolvedPlace } from "../../pipeline/ResolvedPlace.tsx"
15
15
 
16
16
  export interface ResultPanelProps {
17
17
  result: ParseResult
@@ -3,11 +3,11 @@
3
3
 
4
4
  import type { ParseResult } from "@mailwoman/core/pipeline/client-result"
5
5
 
6
- import type { ResolvedMapPlace } from "#map/place-render"
6
+ import type { ResolvedMapPlace } from "#map/overlays/place-render"
7
7
  import type { GeocoderRuntime, Suggestion } from "#map/types"
8
8
  import type { PipelineRuntime } from "#pipeline/types"
9
9
 
10
- import type { MapCanvasStyle } from "./MapCanvas.tsx"
10
+ import type { MapCanvasStyle } from "../canvas/MapCanvas.tsx"
11
11
 
12
12
  /**
13
13
  * Defines an offline map style with a single background layer and no sources,
@@ -20,7 +20,7 @@
20
20
 
21
21
  import { useCallback, useMemo, useState } from "react"
22
22
 
23
- import type { ResolvedMapPlace } from "#map/place-render"
23
+ import type { ResolvedMapPlace } from "#map/overlays/place-render"
24
24
  import type { GeocoderRuntime, MapBias } from "#map/types"
25
25
  import type { PipelineRuntime } from "#pipeline/types"
26
26
  import { useParsePipeline, type UseParsePipeline } from "#pipeline/useParsePipeline"
@@ -10,8 +10,8 @@
10
10
  * the package renders them, react-map-gl owns the add/remove lifecycle.
11
11
  *
12
12
  * Each overlay's `visible` flag flips the layers' `visibility` layout property —
13
- * the declarative control a layer-toggle control drives in a later phase. node-import safety:
14
- * imports `react-map-gl/maplibre` — reachable only via `@mailwoman/react/map`.
13
+ * the declarative control a layer-toggle control drives in a later phase.
14
+ * Node-import safety: imports `react-map-gl/maplibre` — reachable only via `@mailwoman/react/map`.
15
15
  */
16
16
 
17
17
  import { Fragment, type ReactNode } from "react"
@@ -3,10 +3,10 @@
3
3
 
4
4
  import type { ReactNode } from "react"
5
5
 
6
- import type { MapPlaceRenderSpec } from "#map/place-render"
6
+ import type { MapPlaceRenderSpec } from "#map/overlays/place-render"
7
7
 
8
+ import { ResultCamera } from "../camera/ResultCamera.tsx"
8
9
  import { PlaceMarker } from "./PlaceMarker.tsx"
9
- import { ResultCamera } from "./ResultCamera.tsx"
10
10
  import { ResultOverlay } from "./ResultOverlay.tsx"
11
11
 
12
12
  export interface ResolvedPlaceLayersProps {
@@ -5,7 +5,7 @@ import { Tokens } from "@sister.software/theme"
5
5
  import type { ReactNode } from "react"
6
6
  import { Layer, Source } from "react-map-gl/maplibre"
7
7
 
8
- import type { PlaceGeometry } from "#map/geometry"
8
+ import type { PlaceGeometry } from "#map/overlays/geometry"
9
9
 
10
10
  /**
11
11
  * The brand's selection accent, matched to {@link PlaceMarker}.
@@ -4,8 +4,8 @@
4
4
  import type { ResolvedPlaceView } from "@mailwoman/core/pipeline/client-result"
5
5
  import type { LatLonBounds } from "@mailwoman/spatial"
6
6
 
7
- import { approxCircleGeometry, bboxToBounds, geomBounds, radiusCircleGeometry } from "#map/geometry"
8
- import type { BoundsTuple, PlaceGeometry } from "#map/geometry"
7
+ import { approxCircleGeometry, bboxToBounds, geomBounds, radiusCircleGeometry } from "#map/overlays/geometry"
8
+ import type { BoundsTuple, PlaceGeometry } from "#map/overlays/geometry"
9
9
 
10
10
  /**
11
11
  * A coordinate pair as `[longitude, latitude]`.
@@ -8,8 +8,8 @@
8
8
 
9
9
  import { useMemo } from "react"
10
10
 
11
- import { computeMapPlaceRenderSpec } from "#map/place-render"
12
- import type { MapPlaceRenderSpec, ResolvedMapPlace } from "#map/place-render"
11
+ import { computeMapPlaceRenderSpec } from "#map/overlays/place-render"
12
+ import type { MapPlaceRenderSpec, ResolvedMapPlace } from "#map/overlays/place-render"
13
13
 
14
14
  /**
15
15
  * Memoize the render spec for a resolved place; `null` in → `null` out (no geometry to draw).
@@ -14,9 +14,9 @@ import { type ReactNode, useCallback, useEffect, useRef, useState } from "react"
14
14
  import type { MapInstance, MapLayerMouseEvent } from "react-map-gl/maplibre"
15
15
 
16
16
  import { cx } from "#common/cx"
17
- import type { LngLat } from "#map/place-render"
17
+ import type { LngLat } from "#map/overlays/place-render"
18
18
 
19
- import { CopyButton } from "../common/CopyButton.tsx"
19
+ import { CopyButton } from "../../common/CopyButton.tsx"
20
20
 
21
21
  /**
22
22
  * Where the menu opened: the point under the pointer and its place on the map container.
@@ -12,10 +12,10 @@ import { coordinatePairText } from "@mailwoman/spatial/point/text"
12
12
  import type { ReactNode } from "react"
13
13
 
14
14
  import { cx } from "#common/cx"
15
- import type { MapPick } from "#map/useMapPick"
15
+ import type { MapPick } from "#map/pick/useMapPick"
16
16
 
17
- import { CopyButton } from "../common/CopyButton.tsx"
18
- import { SheetClose } from "./MapSheet.tsx"
17
+ import { CopyButton } from "../../common/CopyButton.tsx"
18
+ import { SheetClose } from "../chrome/MapSheet.tsx"
19
19
 
20
20
  export interface MapPlaceCardProps {
21
21
  pick: MapPick
@@ -14,7 +14,7 @@ import { pointInMultiPolygon, pointInPolygon, type PolygonRings } from "@mailwom
14
14
  import { useEffect, useEffectEvent } from "react"
15
15
  import type { MapGeoJSONFeature, MapInstance, MapLayerMouseEvent } from "react-map-gl/maplibre"
16
16
 
17
- import type { LngLat } from "#map/place-render"
17
+ import type { LngLat } from "#map/overlays/place-render"
18
18
 
19
19
  /**
20
20
  * The protomaps label layers (`<theme>_label`, `places_*`); other layers are geometry
package/lib/map/types.ts CHANGED
@@ -11,11 +11,11 @@ import type { ParseResult, ResolvedPlaceView } from "@mailwoman/core/pipeline/cl
11
11
  import type { ReactNode } from "react"
12
12
  import type { LayerSpecification, MapInstance, SourceSpecification } from "react-map-gl/maplibre"
13
13
 
14
- import type { LngLat, ResolvedMapPlace } from "#map/place-render"
14
+ import type { LngLat, ResolvedMapPlace } from "#map/overlays/place-render"
15
15
  import type { PipelineRuntime } from "#pipeline/types"
16
16
 
17
- import type { MapCanvasStyle } from "./MapCanvas.tsx"
18
- import type { MapContextMenuPoint } from "./MapContextMenu.tsx"
17
+ import type { MapCanvasStyle } from "./canvas/MapCanvas.tsx"
18
+ import type { MapContextMenuPoint } from "./pick/MapContextMenu.tsx"
19
19
 
20
20
  /**
21
21
  * An alias for {@link LngLat}.
package/lib/map.ts CHANGED
@@ -5,28 +5,36 @@
5
5
  * `@mailwoman/react/map` — the geocoder map surface, kept behind its own subpath
6
6
  * so `maplibre-gl` / `react-map-gl` (WebGL + DOM at import) never enter the package-root graph.
7
7
  *
8
- * This subpath import pulls the map deps. importing `@mailwoman/react` (root) doesn't.
8
+ * The map subpath loads its map dependencies.
9
+ * The package root exposes parse and POI explorers without loading those dependencies.
10
+ *
9
11
  * Consumers who only want the parse/POI explorers never pay for maplibre.
10
12
  *
11
13
  * The host must supply `maplibre-gl` + `react-map-gl` (peer deps) and import
12
14
  * `maplibre-gl/dist/maplibre-gl.css` + `@mailwoman/react/styles.css` itself.
13
15
  */
14
16
 
15
- export { MapCanvas } from "./map/MapCanvas.tsx"
16
- export type { MapCanvasExtraProps, MapCanvasProps, MapCanvasStyle } from "./map/MapCanvas.tsx"
17
+ export { MapCanvas } from "./map/canvas/MapCanvas.tsx"
18
+ export type { MapCanvasExtraProps, MapCanvasProps, MapCanvasStyle } from "./map/canvas/MapCanvas.tsx"
17
19
 
18
20
  // ── Map chrome (node-safe presentation. The host supplies the input and reads its own map) ──
19
- export { MapChipRow } from "./map/MapChipRow.tsx"
20
- export type { MapChip, MapChipRowProps } from "./map/MapChipRow.tsx"
21
- export { MapCompass } from "./map/MapCompass.tsx"
22
- export type { MapCompassProps } from "./map/MapCompass.tsx"
23
- export { useMapBearing } from "./map/useMapBearing.ts"
24
- export type { UseMapBearing } from "./map/useMapBearing.ts"
25
- export { useMapPick } from "./map/useMapPick.ts"
26
- export type { MapPick } from "./map/useMapPick.ts"
27
- export { MapPlaceCard, pickQuery } from "./map/MapPlaceCard.tsx"
28
- export type { MapPlaceCardProps } from "./map/MapPlaceCard.tsx"
29
- export { MapContextMenu, MapContextMenuAction, MapContextMenuRow, useMapContextMenu } from "./map/MapContextMenu.tsx"
21
+ export { MapChipRow } from "./map/chrome/MapChipRow.tsx"
22
+ export type { MapChip, MapChipRowProps } from "./map/chrome/MapChipRow.tsx"
23
+ export { MapCompass } from "./map/chrome/MapCompass.tsx"
24
+ export type { MapCompassProps } from "./map/chrome/MapCompass.tsx"
25
+ export { useMapBearing } from "./map/camera/useMapBearing.ts"
26
+ export type { UseMapBearing } from "./map/camera/useMapBearing.ts"
27
+ export { useMapPick } from "./map/pick/useMapPick.ts"
28
+ export type { MapPick } from "./map/pick/useMapPick.ts"
29
+ export { MapPlaceCard, pickQuery } from "./map/pick/MapPlaceCard.tsx"
30
+ export type { MapPlaceCardProps } from "./map/pick/MapPlaceCard.tsx"
31
+
32
+ export {
33
+ MapContextMenu,
34
+ MapContextMenuAction,
35
+ MapContextMenuRow,
36
+ useMapContextMenu,
37
+ } from "./map/pick/MapContextMenu.tsx"
30
38
 
31
39
  export type {
32
40
  MapContextMenuActionProps,
@@ -34,18 +42,24 @@ export type {
34
42
  MapContextMenuProps,
35
43
  MapContextMenuRowProps,
36
44
  UseMapContextMenu,
37
- } from "./map/MapContextMenu.tsx"
38
-
39
- export { MapControlButton, MapControlGroup, MapControlStack } from "./map/MapControlStack.tsx"
40
- export type { MapControlButtonProps, MapControlGroupProps, MapControlStackProps } from "./map/MapControlStack.tsx"
41
- export { MapFooter } from "./map/MapFooter.tsx"
42
- export type { MapFooterProps } from "./map/MapFooter.tsx"
43
- export { MapProgressBar } from "./map/MapProgressBar.tsx"
44
- export type { MapProgressBarProps } from "./map/MapProgressBar.tsx"
45
- export { MapSheet, SheetClose } from "./map/MapSheet.tsx"
46
- export type { MapSheetProps } from "./map/MapSheet.tsx"
47
- export { MapSearchBar, SearchGlyph } from "./map/MapSearchBar.tsx"
48
- export type { MapSearchBarProps } from "./map/MapSearchBar.tsx"
45
+ } from "./map/pick/MapContextMenu.tsx"
46
+
47
+ export { MapControlButton, MapControlGroup, MapControlStack } from "./map/chrome/MapControlStack.tsx"
48
+
49
+ export type {
50
+ MapControlButtonProps,
51
+ MapControlGroupProps,
52
+ MapControlStackProps,
53
+ } from "./map/chrome/MapControlStack.tsx"
54
+
55
+ export { MapFooter } from "./map/chrome/MapFooter.tsx"
56
+ export type { MapFooterProps } from "./map/chrome/MapFooter.tsx"
57
+ export { MapProgressBar } from "./map/chrome/MapProgressBar.tsx"
58
+ export type { MapProgressBarProps } from "./map/chrome/MapProgressBar.tsx"
59
+ export { MapSheet, SheetClose } from "./map/chrome/MapSheet.tsx"
60
+ export type { MapSheetProps } from "./map/chrome/MapSheet.tsx"
61
+ export { MapSearchBar, SearchGlyph } from "./map/chrome/MapSearchBar.tsx"
62
+ export type { MapSearchBarProps } from "./map/chrome/MapSearchBar.tsx"
49
63
 
50
64
  export type {
51
65
  CompareContext,
@@ -60,46 +74,54 @@ export type {
60
74
  } from "#map/types"
61
75
 
62
76
  // ── Pure geometry + render spec (node-safe. No react-map-gl at runtime) ──────
63
- export { approxCircleGeometry, bboxToBounds, geomBounds, radiusCircleGeometry } from "#map/geometry"
64
- export type { BoundsTuple, PlaceGeometry } from "#map/geometry"
65
- export { cameraToViewState, computeMapPlaceRenderSpec } from "#map/place-render"
66
- export type { LngLat, MapCameraTarget, MapPlaceRenderSpec, PlaceTier, ResolvedMapPlace } from "#map/place-render"
67
- export { useMapPlaceRender } from "#map/useMapPlaceRender"
77
+ export { approxCircleGeometry, bboxToBounds, geomBounds, radiusCircleGeometry } from "#map/overlays/geometry"
78
+ export type { BoundsTuple, PlaceGeometry } from "#map/overlays/geometry"
79
+ export { cameraToViewState, computeMapPlaceRenderSpec } from "#map/overlays/place-render"
80
+
81
+ export type {
82
+ LngLat,
83
+ MapCameraTarget,
84
+ MapPlaceRenderSpec,
85
+ PlaceTier,
86
+ ResolvedMapPlace,
87
+ } from "#map/overlays/place-render"
88
+
89
+ export { useMapPlaceRender } from "#map/overlays/useMapPlaceRender"
68
90
 
69
91
  // ── Declarative overlays (react-map-gl `<Marker>`/`<Source>`/`<Layer>`) ──────
70
- export { OverlayLayers } from "./map/OverlayLayers.tsx"
71
- export type { OverlayLayersProps } from "./map/OverlayLayers.tsx"
72
- export { PlaceMarker } from "./map/PlaceMarker.tsx"
73
- export type { PlaceMarkerProps } from "./map/PlaceMarker.tsx"
74
- export { ResolvedPlaceLayers } from "./map/ResolvedPlaceLayers.tsx"
75
- export type { ResolvedPlaceLayersProps } from "./map/ResolvedPlaceLayers.tsx"
76
- export { ResultCamera } from "./map/ResultCamera.tsx"
77
- export type { ResultCameraProps } from "./map/ResultCamera.tsx"
78
- export { ResultOverlay } from "./map/ResultOverlay.tsx"
79
- export type { ResultOverlayProps } from "./map/ResultOverlay.tsx"
92
+ export { OverlayLayers } from "./map/overlays/OverlayLayers.tsx"
93
+ export type { OverlayLayersProps } from "./map/overlays/OverlayLayers.tsx"
94
+ export { PlaceMarker } from "./map/overlays/PlaceMarker.tsx"
95
+ export type { PlaceMarkerProps } from "./map/overlays/PlaceMarker.tsx"
96
+ export { ResolvedPlaceLayers } from "./map/overlays/ResolvedPlaceLayers.tsx"
97
+ export type { ResolvedPlaceLayersProps } from "./map/overlays/ResolvedPlaceLayers.tsx"
98
+ export { ResultCamera } from "./map/camera/ResultCamera.tsx"
99
+ export type { ResultCameraProps } from "./map/camera/ResultCamera.tsx"
100
+ export { ResultOverlay } from "./map/overlays/ResultOverlay.tsx"
101
+ export type { ResultOverlayProps } from "./map/overlays/ResultOverlay.tsx"
80
102
 
81
103
  // ── Geocoder controls + the composed geocoder ────────────────────────────────
82
- export { CompareToggle } from "./map/CompareToggle.tsx"
83
- export type { CompareToggleProps } from "./map/CompareToggle.tsx"
84
- export { Geocoder } from "./map/Geocoder.tsx"
85
- export type { GeocoderProps } from "./map/Geocoder.tsx"
86
- export { GeocoderControls } from "./map/GeocoderControls.tsx"
87
- export type { GeocoderControlsProps } from "./map/GeocoderControls.tsx"
88
- export { PlaceAutocomplete } from "./map/PlaceAutocomplete.tsx"
89
- export type { PlaceAutocompleteProps } from "./map/PlaceAutocomplete.tsx"
90
- export { ResultPanel } from "./map/ResultPanel.tsx"
91
- export type { ResultPanelProps } from "./map/ResultPanel.tsx"
92
- export { useCompareState } from "#map/useCompareState"
93
- export type { UseCompareState } from "#map/useCompareState"
94
- export { useGeocode } from "#map/useGeocode"
95
- export type { UseGeocode, UseGeocodeOptions } from "#map/useGeocode"
96
- export { usePlaceAutocomplete } from "#map/usePlaceAutocomplete"
104
+ export { CompareToggle } from "./map/geocoder/CompareToggle.tsx"
105
+ export type { CompareToggleProps } from "./map/geocoder/CompareToggle.tsx"
106
+ export { Geocoder } from "./map/geocoder/Geocoder.tsx"
107
+ export type { GeocoderProps } from "./map/geocoder/Geocoder.tsx"
108
+ export { GeocoderControls } from "./map/geocoder/GeocoderControls.tsx"
109
+ export type { GeocoderControlsProps } from "./map/geocoder/GeocoderControls.tsx"
110
+ export { PlaceAutocomplete } from "./map/geocoder/PlaceAutocomplete.tsx"
111
+ export type { PlaceAutocompleteProps } from "./map/geocoder/PlaceAutocomplete.tsx"
112
+ export { ResultPanel } from "./map/geocoder/ResultPanel.tsx"
113
+ export type { ResultPanelProps } from "./map/geocoder/ResultPanel.tsx"
114
+ export { useCompareState } from "#map/geocoder/useCompareState"
115
+ export type { UseCompareState } from "#map/geocoder/useCompareState"
116
+ export { useGeocode } from "#map/geocoder/useGeocode"
117
+ export type { UseGeocode, UseGeocodeOptions } from "#map/geocoder/useGeocode"
118
+ export { usePlaceAutocomplete } from "#map/geocoder/usePlaceAutocomplete"
97
119
 
98
120
  export type {
99
121
  AutocompleteInputProps,
100
122
  UsePlaceAutocomplete,
101
123
  UsePlaceAutocompleteOptions,
102
- } from "#map/usePlaceAutocomplete"
124
+ } from "#map/geocoder/usePlaceAutocomplete"
103
125
 
104
- export { VersionPicker } from "./map/VersionPicker.tsx"
105
- export type { VersionPickerProps } from "./map/VersionPicker.tsx"
126
+ export { VersionPicker } from "./map/geocoder/VersionPicker.tsx"
127
+ export type { VersionPickerProps } from "./map/geocoder/VersionPicker.tsx"
@@ -2,9 +2,11 @@
2
2
  // SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial
3
3
 
4
4
  /**
5
- * `CandidatePicker` — the ranked list of alternate gazetteer candidates. clicking one selects it.
5
+ * `CandidatePicker` — the ranked list of alternate gazetteer candidates.
6
+ * The user selects a candidate by clicking it.
6
7
  *
7
- * Presentational. the selected index is owned by the caller (the pipeline hook).
8
+ * Presentational.
9
+ * The selected index is owned by the caller (the pipeline hook).
8
10
  *
9
11
  * The row shows the rank rather than the score.
10
12
  * `ResolvedPlaceView.score` is implementation-defined.
@@ -6,8 +6,8 @@
6
6
  * Presentational.
7
7
  */
8
8
 
9
- import { isPresent } from "@mailwoman/core/objects"
10
9
  import type { ComponentMatch } from "@mailwoman/core/pipeline/client-result"
10
+ import { isPresent } from "@mailwoman/core/values/objects"
11
11
  import type { ReactNode } from "react"
12
12
 
13
13
  export interface MatchTableProps {
@@ -4,7 +4,8 @@
4
4
  /**
5
5
  * `TreeView` — the parse's containment tree as nested lists with a guide rail per level.
6
6
  *
7
- * The tag tint follows the confidence tier. the value and score render in monospace.
7
+ * The tag tint follows the confidence tier.
8
+ * The value and score render in monospace.
8
9
  */
9
10
 
10
11
  import type { ReactNode } from "react"
@@ -7,8 +7,8 @@
7
7
  * Pure. shared by the explorer's copy button.
8
8
  */
9
9
 
10
- import { prettyJSON } from "@mailwoman/core/json"
11
10
  import type { ParseResult, ResolvedPlaceView } from "@mailwoman/core/pipeline/client-result"
11
+ import { prettyJSON } from "@mailwoman/core/values/json"
12
12
 
13
13
  export function buildParsePayload(result: ParseResult, selected: ResolvedPlaceView | null): string {
14
14
  return prettyJSON({
@@ -8,7 +8,7 @@
8
8
  * sqlite-wasm and node builtins out of this package's browser graph.
9
9
  */
10
10
 
11
- import type { LoadLedgerSnapshot } from "@mailwoman/core/load-ledger"
11
+ import type { LoadLedgerSnapshot } from "@mailwoman/core/asset/load-ledger"
12
12
  import type { ParseResult } from "@mailwoman/core/pipeline/client-result"
13
13
  import type { ReactNode } from "react"
14
14
 
@@ -3,7 +3,9 @@
3
3
 
4
4
  /**
5
5
  * `QueryInput` — the labeled text field for the POI explorer.
6
- * Controlled. presentational only.
6
+ *
7
+ * Controlled.
8
+ * Presentational only.
7
9
  */
8
10
 
9
11
  import type { ReactNode } from "react"
@@ -41,9 +41,10 @@ export interface UsePOISearchOptions {
41
41
  runLiveSearch?: POILiveSearch
42
42
 
43
43
  /**
44
- * Whether the probe can search for brand subjects by Wikidata ID, defaulting to
45
- * false. enable it only for a server-side backend, since fetching every row for
46
- * a brand over an HTTP range-request database is too slow.
44
+ * Whether the probe can search for brand subjects by Wikidata ID, defaulting to false.
45
+ *
46
+ * Enable it only for a server-side backend, since fetching every row for a brand
47
+ * over an HTTP range-request database is too slow.
47
48
  */
48
49
  brandLiveSearch?: boolean
49
50
 
@@ -1,7 +1,7 @@
1
1
  // SPDX-FileCopyrightText: Teffen Ellis and Mailwoman contributors
2
2
  // SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial
3
3
 
4
- import type { LoadLedgerSnapshot } from "@mailwoman/core/load-ledger"
4
+ import type { LoadLedgerSnapshot } from "@mailwoman/core/asset/load-ledger"
5
5
  import { useCallback, useEffect, useMemo, useRef, useState } from "react"
6
6
 
7
7
  /**
@@ -15,7 +15,7 @@
15
15
  * `localStorage`; the modal renders the same without them.
16
16
  */
17
17
 
18
- import { stringifyJSON, tryParsingJSON } from "@mailwoman/core/json"
18
+ import { stringifyJSON, tryParsingJSON } from "@mailwoman/core/values/json"
19
19
  import {
20
20
  type KeyboardEvent,
21
21
  type MouseEvent,
@@ -1,7 +1,7 @@
1
1
  import type { FitBoundsOptions, FlyToOptions, JumpToOptions, LngLatBoundsLike } from "maplibre-gl";
2
2
  import { type ReactNode } from "react";
3
- import { type JumpCurtain } from "#map/jump-curtain";
4
- import type { MapCameraTarget } from "#map/place-render";
3
+ import { type JumpCurtain } from "#map/camera/jump-curtain";
4
+ import type { MapCameraTarget } from "#map/overlays/place-render";
5
5
  /**
6
6
  * The arc, in degrees of the body's great circle, past which a result's camera move
7
7
  * jumps most of the way rather than animating across the globe.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ResultCamera.d.ts","sourceRoot":"","sources":["../../../lib/map/camera/ResultCamera.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,YAAY,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAClG,OAAO,EAAE,KAAK,SAAS,EAAa,MAAM,OAAO,CAAA;AAGjD,OAAO,EAAmC,KAAK,WAAW,EAAE,MAAM,0BAA0B,CAAA;AAE5F,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAEjE;;;;;;;;;GASG;AACH,eAAO,MAAM,iBAAiB,OAAO,CAAA;AAErC;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB,IAAI,CAAA;AAExC;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,gBAAgB,CAQzG;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,eAAe,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,CAAC,CAMtF;AAED;;GAEG;AACH,MAAM,WAAW,SAAS;IACzB,SAAS,IAAI;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,CAAA;IACzC,OAAO,IAAI,MAAM,CAAA;IACjB,MAAM,CAAC,OAAO,EAAE,aAAa,GAAG,OAAO,CAAA;IACvC,KAAK,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAA;IACrC,SAAS,CAAC,MAAM,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,gBAAgB,GAAG,OAAO,CAAA;CACxE;AAiBD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,iBAAiB,CAChC,GAAG,EAAE,SAAS,EACd,MAAM,EAAE,eAAe,EACvB,OAAO,UAAO,EACd,OAAO,GAAE,WAAW,GAAG,IAAW,GAChC,MAAM,IAAI,CA2BZ;AAmBD;;GAEG;AACH,MAAM,WAAW,iBAAiB;IACjC;;OAEG;IACH,MAAM,EAAE,eAAe,GAAG,IAAI,CAAA;IAC9B;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;CACjB;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,EAAE,MAAM,EAAE,OAAc,EAAE,EAAE,iBAAiB,GAAG,SAAS,CAarF"}