@mailwoman/react 10.0.0 → 10.2.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 (389) hide show
  1. package/README.md +18 -16
  2. package/fonts.css +97 -22
  3. package/lib/common/About.tsx +10 -10
  4. package/lib/common/ClientOnly.tsx +2 -14
  5. package/lib/common/CopyButton.tsx +9 -3
  6. package/lib/common/LoadingIndicator.tsx +13 -5
  7. package/lib/common/PresetChips.tsx +11 -8
  8. package/lib/common/confidence-tiers.ts +8 -7
  9. package/lib/common/cx.ts +3 -1
  10. package/lib/common/text-tokens.ts +10 -13
  11. package/lib/common/useBuildInfo.ts +54 -0
  12. package/lib/common/useClipboard.ts +2 -11
  13. package/lib/common.ts +22 -0
  14. package/lib/index.ts +27 -18
  15. package/lib/map/AppIdentity.tsx +89 -0
  16. package/lib/map/CompareToggle.tsx +8 -31
  17. package/lib/map/DebugInfo.tsx +75 -0
  18. package/lib/map/Geocoder.tsx +65 -50
  19. package/lib/map/GeocoderControls.tsx +425 -141
  20. package/lib/map/GraticuleLayer.tsx +56 -0
  21. package/lib/map/MapCanvas.tsx +26 -13
  22. package/lib/map/MapChipRow.tsx +4 -8
  23. package/lib/map/MapCompass.tsx +18 -25
  24. package/lib/map/MapControlStack.tsx +11 -10
  25. package/lib/map/MapFooter.tsx +5 -17
  26. package/lib/map/MapProgressBar.tsx +10 -13
  27. package/lib/map/MapSearchBar.tsx +31 -17
  28. package/lib/map/MapSheet.tsx +24 -15
  29. package/lib/map/OverlayLayers.tsx +14 -3
  30. package/lib/map/PlaceAutocomplete.tsx +12 -21
  31. package/lib/map/PlaceMarker.tsx +10 -4
  32. package/lib/map/ResolvedPlaceLayers.tsx +14 -15
  33. package/lib/map/ResultCamera.tsx +10 -31
  34. package/lib/map/ResultOverlay.tsx +14 -16
  35. package/lib/map/ResultPanel.tsx +1 -20
  36. package/lib/map/VersionPicker.tsx +10 -19
  37. package/lib/map/fake-runtime.ts +46 -19
  38. package/lib/map/geometry.ts +14 -47
  39. package/lib/map/graticule.ts +80 -0
  40. package/lib/map/map-debug.ts +4 -2
  41. package/lib/map/place-render.ts +30 -62
  42. package/lib/map/types.ts +57 -116
  43. package/lib/map/useCompareState.ts +5 -4
  44. package/lib/map/useGeocode.ts +7 -5
  45. package/lib/map/useMapBearing.ts +13 -13
  46. package/lib/map/useMapLabelPick.ts +21 -30
  47. package/lib/map/useMapPlaceRender.ts +3 -7
  48. package/lib/map/usePlaceAutocomplete.ts +44 -50
  49. package/lib/map.ts +92 -0
  50. package/lib/pipeline/CandidatePicker.tsx +13 -5
  51. package/lib/pipeline/ConfidenceCell.tsx +2 -2
  52. package/lib/pipeline/FailureDiagnostic.tsx +8 -2
  53. package/lib/pipeline/PipelineExplorer.tsx +6 -3
  54. package/lib/pipeline/QueryForm.tsx +5 -2
  55. package/lib/pipeline/ResolvedPlace.tsx +2 -2
  56. package/lib/pipeline/SpanHighlight.tsx +7 -5
  57. package/lib/pipeline/TimingPanel.tsx +1 -1
  58. package/lib/pipeline/TreeView.tsx +2 -2
  59. package/lib/pipeline/copy.ts +22 -25
  60. package/lib/pipeline/presets.ts +15 -13
  61. package/lib/pipeline/types.ts +20 -17
  62. package/lib/pipeline/useParsePipeline.ts +16 -13
  63. package/lib/pipeline.ts +36 -0
  64. package/lib/poi/AbstainPanel.tsx +1 -1
  65. package/lib/poi/LiveResultsBlock.tsx +2 -1
  66. package/lib/poi/POIExplorer.tsx +29 -17
  67. package/lib/poi/QueryInput.tsx +1 -1
  68. package/lib/poi/SubjectPanel.tsx +4 -3
  69. package/lib/poi/runtime.ts +14 -16
  70. package/lib/poi/types.ts +58 -47
  71. package/lib/poi/usePOISearch.ts +91 -82
  72. package/lib/poi.ts +40 -0
  73. package/lib/runtime/useReleaseRuntime.ts +122 -90
  74. package/lib/search/SearchModal.tsx +478 -0
  75. package/lib/search/search.css +282 -0
  76. package/lib/search/types.ts +68 -0
  77. package/lib/search.ts +11 -0
  78. package/out/common/About.d.ts +6 -6
  79. package/out/common/About.d.ts.map +1 -1
  80. package/out/common/About.js +1 -1
  81. package/out/common/About.js.map +1 -1
  82. package/out/common/ClientOnly.d.ts +2 -11
  83. package/out/common/ClientOnly.d.ts.map +1 -1
  84. package/out/common/ClientOnly.js +1 -13
  85. package/out/common/ClientOnly.js.map +1 -1
  86. package/out/common/CopyButton.d.ts +9 -3
  87. package/out/common/CopyButton.d.ts.map +1 -1
  88. package/out/common/CopyButton.js.map +1 -1
  89. package/out/common/LoadingIndicator.d.ts +13 -5
  90. package/out/common/LoadingIndicator.d.ts.map +1 -1
  91. package/out/common/LoadingIndicator.js.map +1 -1
  92. package/out/common/PresetChips.d.ts +11 -8
  93. package/out/common/PresetChips.d.ts.map +1 -1
  94. package/out/common/PresetChips.js.map +1 -1
  95. package/out/common/confidence-tiers.d.ts +8 -7
  96. package/out/common/confidence-tiers.d.ts.map +1 -1
  97. package/out/common/confidence-tiers.js +7 -6
  98. package/out/common/confidence-tiers.js.map +1 -1
  99. package/out/common/cx.d.ts +3 -1
  100. package/out/common/cx.d.ts.map +1 -1
  101. package/out/common/cx.js +3 -1
  102. package/out/common/cx.js.map +1 -1
  103. package/out/common/text-tokens.d.ts +6 -11
  104. package/out/common/text-tokens.d.ts.map +1 -1
  105. package/out/common/text-tokens.js +6 -3
  106. package/out/common/text-tokens.js.map +1 -1
  107. package/out/common/useBuildInfo.d.ts +27 -0
  108. package/out/common/useBuildInfo.d.ts.map +1 -0
  109. package/out/common/useBuildInfo.js +32 -0
  110. package/out/common/useBuildInfo.js.map +1 -0
  111. package/out/common/useClipboard.d.ts +1 -3
  112. package/out/common/useClipboard.d.ts.map +1 -1
  113. package/out/common/useClipboard.js +2 -11
  114. package/out/common/useClipboard.js.map +1 -1
  115. package/out/common.d.ts +22 -0
  116. package/out/common.d.ts.map +1 -0
  117. package/out/common.js +15 -0
  118. package/out/common.js.map +1 -0
  119. package/out/index.d.ts +26 -16
  120. package/out/index.d.ts.map +1 -1
  121. package/out/index.js +21 -15
  122. package/out/index.js.map +1 -1
  123. package/out/map/AppIdentity.d.ts +46 -0
  124. package/out/map/AppIdentity.d.ts.map +1 -0
  125. package/out/map/AppIdentity.js +16 -0
  126. package/out/map/AppIdentity.js.map +1 -0
  127. package/out/map/CompareToggle.d.ts +8 -31
  128. package/out/map/CompareToggle.d.ts.map +1 -1
  129. package/out/map/CompareToggle.js +4 -1
  130. package/out/map/CompareToggle.js.map +1 -1
  131. package/out/map/DebugInfo.d.ts +27 -0
  132. package/out/map/DebugInfo.d.ts.map +1 -0
  133. package/out/map/DebugInfo.js +36 -0
  134. package/out/map/DebugInfo.js.map +1 -0
  135. package/out/map/Geocoder.d.ts +41 -30
  136. package/out/map/Geocoder.d.ts.map +1 -1
  137. package/out/map/Geocoder.js +23 -37
  138. package/out/map/Geocoder.js.map +1 -1
  139. package/out/map/GeocoderControls.d.ts +15 -44
  140. package/out/map/GeocoderControls.d.ts.map +1 -1
  141. package/out/map/GeocoderControls.js +250 -39
  142. package/out/map/GeocoderControls.js.map +1 -1
  143. package/out/map/GraticuleLayer.d.ts +30 -0
  144. package/out/map/GraticuleLayer.d.ts.map +1 -0
  145. package/out/map/GraticuleLayer.js +25 -0
  146. package/out/map/GraticuleLayer.js.map +1 -0
  147. package/out/map/MapCanvas.d.ts +26 -13
  148. package/out/map/MapCanvas.d.ts.map +1 -1
  149. package/out/map/MapCanvas.js +5 -2
  150. package/out/map/MapCanvas.js.map +1 -1
  151. package/out/map/MapChipRow.d.ts +4 -8
  152. package/out/map/MapChipRow.d.ts.map +1 -1
  153. package/out/map/MapChipRow.js.map +1 -1
  154. package/out/map/MapCompass.d.ts +14 -21
  155. package/out/map/MapCompass.d.ts.map +1 -1
  156. package/out/map/MapCompass.js +5 -1
  157. package/out/map/MapCompass.js.map +1 -1
  158. package/out/map/MapControlStack.d.ts +11 -10
  159. package/out/map/MapControlStack.d.ts.map +1 -1
  160. package/out/map/MapControlStack.js +4 -1
  161. package/out/map/MapControlStack.js.map +1 -1
  162. package/out/map/MapFooter.d.ts +5 -16
  163. package/out/map/MapFooter.d.ts.map +1 -1
  164. package/out/map/MapFooter.js +0 -14
  165. package/out/map/MapFooter.js.map +1 -1
  166. package/out/map/MapProgressBar.d.ts +10 -13
  167. package/out/map/MapProgressBar.d.ts.map +1 -1
  168. package/out/map/MapProgressBar.js.map +1 -1
  169. package/out/map/MapSearchBar.d.ts +16 -17
  170. package/out/map/MapSearchBar.d.ts.map +1 -1
  171. package/out/map/MapSearchBar.js +6 -0
  172. package/out/map/MapSearchBar.js.map +1 -1
  173. package/out/map/MapSheet.d.ts +15 -12
  174. package/out/map/MapSheet.d.ts.map +1 -1
  175. package/out/map/MapSheet.js +8 -12
  176. package/out/map/MapSheet.js.map +1 -1
  177. package/out/map/OverlayLayers.d.ts +8 -2
  178. package/out/map/OverlayLayers.d.ts.map +1 -1
  179. package/out/map/OverlayLayers.js +3 -3
  180. package/out/map/OverlayLayers.js.map +1 -1
  181. package/out/map/PlaceAutocomplete.d.ts +12 -21
  182. package/out/map/PlaceAutocomplete.d.ts.map +1 -1
  183. package/out/map/PlaceAutocomplete.js +2 -1
  184. package/out/map/PlaceAutocomplete.js.map +1 -1
  185. package/out/map/PlaceMarker.d.ts +10 -4
  186. package/out/map/PlaceMarker.d.ts.map +1 -1
  187. package/out/map/PlaceMarker.js +3 -1
  188. package/out/map/PlaceMarker.js.map +1 -1
  189. package/out/map/ResolvedPlaceLayers.d.ts +14 -15
  190. package/out/map/ResolvedPlaceLayers.d.ts.map +1 -1
  191. package/out/map/ResolvedPlaceLayers.js +1 -1
  192. package/out/map/ResolvedPlaceLayers.js.map +1 -1
  193. package/out/map/ResultCamera.d.ts +10 -31
  194. package/out/map/ResultCamera.d.ts.map +1 -1
  195. package/out/map/ResultCamera.js +3 -28
  196. package/out/map/ResultCamera.js.map +1 -1
  197. package/out/map/ResultOverlay.d.ts +14 -16
  198. package/out/map/ResultOverlay.d.ts.map +1 -1
  199. package/out/map/ResultOverlay.js +1 -2
  200. package/out/map/ResultOverlay.js.map +1 -1
  201. package/out/map/ResultPanel.d.ts +1 -20
  202. package/out/map/ResultPanel.d.ts.map +1 -1
  203. package/out/map/ResultPanel.js.map +1 -1
  204. package/out/map/VersionPicker.d.ts +7 -19
  205. package/out/map/VersionPicker.d.ts.map +1 -1
  206. package/out/map/VersionPicker.js +5 -2
  207. package/out/map/VersionPicker.js.map +1 -1
  208. package/out/map/fake-runtime.d.ts +9 -11
  209. package/out/map/fake-runtime.d.ts.map +1 -1
  210. package/out/map/fake-runtime.js +45 -19
  211. package/out/map/fake-runtime.js.map +1 -1
  212. package/out/map/geometry.d.ts +13 -34
  213. package/out/map/geometry.d.ts.map +1 -1
  214. package/out/map/geometry.js +9 -34
  215. package/out/map/geometry.js.map +1 -1
  216. package/out/map/graticule.d.ts +17 -0
  217. package/out/map/graticule.d.ts.map +1 -0
  218. package/out/map/graticule.js +67 -0
  219. package/out/map/graticule.js.map +1 -0
  220. package/out/map/map-debug.d.ts +4 -2
  221. package/out/map/map-debug.d.ts.map +1 -1
  222. package/out/map/map-debug.js +1 -1
  223. package/out/map/map-debug.js.map +1 -1
  224. package/out/map/place-render.d.ts +25 -45
  225. package/out/map/place-render.d.ts.map +1 -1
  226. package/out/map/place-render.js +4 -39
  227. package/out/map/place-render.js.map +1 -1
  228. package/out/map/types.d.ts +57 -113
  229. package/out/map/types.d.ts.map +1 -1
  230. package/out/map/types.js +1 -10
  231. package/out/map/types.js.map +1 -1
  232. package/out/map/useCompareState.d.ts +5 -4
  233. package/out/map/useCompareState.d.ts.map +1 -1
  234. package/out/map/useCompareState.js +3 -3
  235. package/out/map/useCompareState.js.map +1 -1
  236. package/out/map/useGeocode.d.ts +5 -3
  237. package/out/map/useGeocode.d.ts.map +1 -1
  238. package/out/map/useGeocode.js +4 -4
  239. package/out/map/useGeocode.js.map +1 -1
  240. package/out/map/useMapBearing.d.ts +11 -11
  241. package/out/map/useMapBearing.d.ts.map +1 -1
  242. package/out/map/useMapBearing.js +6 -11
  243. package/out/map/useMapBearing.js.map +1 -1
  244. package/out/map/useMapLabelPick.d.ts +4 -14
  245. package/out/map/useMapLabelPick.d.ts.map +1 -1
  246. package/out/map/useMapLabelPick.js +21 -30
  247. package/out/map/useMapLabelPick.js.map +1 -1
  248. package/out/map/useMapPlaceRender.d.ts +3 -7
  249. package/out/map/useMapPlaceRender.d.ts.map +1 -1
  250. package/out/map/useMapPlaceRender.js +2 -6
  251. package/out/map/useMapPlaceRender.js.map +1 -1
  252. package/out/map/usePlaceAutocomplete.d.ts +30 -28
  253. package/out/map/usePlaceAutocomplete.d.ts.map +1 -1
  254. package/out/map/usePlaceAutocomplete.js +6 -33
  255. package/out/map/usePlaceAutocomplete.js.map +1 -1
  256. package/out/map.d.ts +67 -0
  257. package/out/map.d.ts.map +1 -0
  258. package/out/map.js +45 -0
  259. package/out/map.js.map +1 -0
  260. package/out/pipeline/CandidatePicker.d.ts +12 -2
  261. package/out/pipeline/CandidatePicker.d.ts.map +1 -1
  262. package/out/pipeline/CandidatePicker.js +1 -1
  263. package/out/pipeline/CandidatePicker.js.map +1 -1
  264. package/out/pipeline/ConfidenceCell.d.ts +2 -2
  265. package/out/pipeline/ConfidenceCell.d.ts.map +1 -1
  266. package/out/pipeline/ConfidenceCell.js +1 -1
  267. package/out/pipeline/FailureDiagnostic.d.ts +8 -2
  268. package/out/pipeline/FailureDiagnostic.d.ts.map +1 -1
  269. package/out/pipeline/FailureDiagnostic.js +3 -0
  270. package/out/pipeline/FailureDiagnostic.js.map +1 -1
  271. package/out/pipeline/PipelineExplorer.d.ts +6 -2
  272. package/out/pipeline/PipelineExplorer.d.ts.map +1 -1
  273. package/out/pipeline/PipelineExplorer.js +1 -1
  274. package/out/pipeline/PipelineExplorer.js.map +1 -1
  275. package/out/pipeline/QueryForm.d.ts +5 -2
  276. package/out/pipeline/QueryForm.d.ts.map +1 -1
  277. package/out/pipeline/QueryForm.js.map +1 -1
  278. package/out/pipeline/ResolvedPlace.d.ts +1 -1
  279. package/out/pipeline/ResolvedPlace.d.ts.map +1 -1
  280. package/out/pipeline/SpanHighlight.d.ts +4 -3
  281. package/out/pipeline/SpanHighlight.d.ts.map +1 -1
  282. package/out/pipeline/SpanHighlight.js +3 -2
  283. package/out/pipeline/SpanHighlight.js.map +1 -1
  284. package/out/pipeline/TimingPanel.d.ts +1 -1
  285. package/out/pipeline/TreeView.d.ts +1 -1
  286. package/out/pipeline/TreeView.js.map +1 -1
  287. package/out/pipeline/copy.d.ts +1 -1
  288. package/out/pipeline/copy.d.ts.map +1 -1
  289. package/out/pipeline/copy.js +4 -3
  290. package/out/pipeline/copy.js.map +1 -1
  291. package/out/pipeline/presets.d.ts +5 -4
  292. package/out/pipeline/presets.d.ts.map +1 -1
  293. package/out/pipeline/presets.js +15 -13
  294. package/out/pipeline/presets.js.map +1 -1
  295. package/out/pipeline/types.d.ts +20 -17
  296. package/out/pipeline/types.d.ts.map +1 -1
  297. package/out/pipeline/types.js +2 -4
  298. package/out/pipeline/types.js.map +1 -1
  299. package/out/pipeline/useParsePipeline.d.ts +14 -9
  300. package/out/pipeline/useParsePipeline.d.ts.map +1 -1
  301. package/out/pipeline/useParsePipeline.js +7 -8
  302. package/out/pipeline/useParsePipeline.js.map +1 -1
  303. package/out/pipeline.d.ts +33 -0
  304. package/out/pipeline.d.ts.map +1 -0
  305. package/out/pipeline.js +21 -0
  306. package/out/pipeline.js.map +1 -0
  307. package/out/poi/AbstainPanel.d.ts +1 -1
  308. package/out/poi/LiveResultsBlock.d.ts +2 -1
  309. package/out/poi/LiveResultsBlock.d.ts.map +1 -1
  310. package/out/poi/LiveResultsBlock.js.map +1 -1
  311. package/out/poi/POIExplorer.d.ts +22 -12
  312. package/out/poi/POIExplorer.d.ts.map +1 -1
  313. package/out/poi/POIExplorer.js +11 -10
  314. package/out/poi/POIExplorer.js.map +1 -1
  315. package/out/poi/QueryInput.d.ts +1 -1
  316. package/out/poi/SubjectPanel.d.ts +2 -2
  317. package/out/poi/SubjectPanel.d.ts.map +1 -1
  318. package/out/poi/SubjectPanel.js +2 -1
  319. package/out/poi/SubjectPanel.js.map +1 -1
  320. package/out/poi/runtime.d.ts +5 -14
  321. package/out/poi/runtime.d.ts.map +1 -1
  322. package/out/poi/runtime.js +14 -16
  323. package/out/poi/runtime.js.map +1 -1
  324. package/out/poi/types.d.ts +53 -45
  325. package/out/poi/types.d.ts.map +1 -1
  326. package/out/poi/types.js +2 -4
  327. package/out/poi/types.js.map +1 -1
  328. package/out/poi/usePOISearch.d.ts +30 -17
  329. package/out/poi/usePOISearch.d.ts.map +1 -1
  330. package/out/poi/usePOISearch.js +48 -64
  331. package/out/poi/usePOISearch.js.map +1 -1
  332. package/out/poi.d.ts +23 -0
  333. package/out/poi.d.ts.map +1 -0
  334. package/out/poi.js +15 -0
  335. package/out/poi.js.map +1 -0
  336. package/out/runtime/useReleaseRuntime.d.ts +63 -74
  337. package/out/runtime/useReleaseRuntime.d.ts.map +1 -1
  338. package/out/runtime/useReleaseRuntime.js +31 -32
  339. package/out/runtime/useReleaseRuntime.js.map +1 -1
  340. package/out/{runtime/index.d.ts → runtime.d.ts} +1 -1
  341. package/out/runtime.d.ts.map +1 -0
  342. package/out/{runtime/index.js → runtime.js} +1 -1
  343. package/out/runtime.js.map +1 -0
  344. package/out/search/SearchModal.d.ts +40 -0
  345. package/out/search/SearchModal.d.ts.map +1 -0
  346. package/out/search/SearchModal.js +255 -0
  347. package/out/search/SearchModal.js.map +1 -0
  348. package/out/search/types.d.ts +65 -0
  349. package/out/search/types.d.ts.map +1 -0
  350. package/out/search/types.js +13 -0
  351. package/out/search/types.js.map +1 -0
  352. package/out/search.d.ts +11 -0
  353. package/out/search.d.ts.map +1 -0
  354. package/out/search.js +9 -0
  355. package/out/search.js.map +1 -0
  356. package/package.json +73 -165
  357. package/styles.css +482 -266
  358. package/tokens/index.css +24 -6
  359. package/tokens/tokens.json +114 -6
  360. package/lib/common/index.ts +0 -22
  361. package/lib/map/BackendControl.tsx +0 -51
  362. package/lib/map/index.ts +0 -95
  363. package/lib/pipeline/index.ts +0 -36
  364. package/lib/poi/index.ts +0 -39
  365. package/out/common/index.d.ts +0 -22
  366. package/out/common/index.d.ts.map +0 -1
  367. package/out/common/index.js +0 -15
  368. package/out/common/index.js.map +0 -1
  369. package/out/map/BackendControl.d.ts +0 -32
  370. package/out/map/BackendControl.d.ts.map +0 -1
  371. package/out/map/BackendControl.js +0 -8
  372. package/out/map/BackendControl.js.map +0 -1
  373. package/out/map/index.d.ts +0 -69
  374. package/out/map/index.d.ts.map +0 -1
  375. package/out/map/index.js +0 -46
  376. package/out/map/index.js.map +0 -1
  377. package/out/pipeline/index.d.ts +0 -33
  378. package/out/pipeline/index.d.ts.map +0 -1
  379. package/out/pipeline/index.js +0 -21
  380. package/out/pipeline/index.js.map +0 -1
  381. package/out/poi/index.d.ts +0 -23
  382. package/out/poi/index.d.ts.map +0 -1
  383. package/out/poi/index.js +0 -15
  384. package/out/poi/index.js.map +0 -1
  385. package/out/runtime/index.d.ts.map +0 -1
  386. package/out/runtime/index.js.map +0 -1
  387. package/styleframe.config.ts +0 -329
  388. package/vitest.node.config.ts +0 -20
  389. /package/lib/{runtime/index.ts → runtime.ts} +0 -0
package/tokens/index.css CHANGED
@@ -21,12 +21,12 @@
21
21
  --warning-base: oklch(75% 0.15 75);
22
22
  --danger-base: oklch(58% 0.2 25);
23
23
  --info-base: oklch(65% 0.13 230);
24
- --font-family-display: "Iosevka Nexus Web", "Iosevka", system-ui, sans-serif;
25
- --font-family-text: "Iosevka Nexus Web", "Iosevka", system-ui, sans-serif;
26
- --font-family-number: "Iosevka Nexus Web", "Iosevka", system-ui, sans-serif;
27
- --font-family-code: "Iosevka Nexus Mono Web", "Iosevka", ui-monospace, "SF Mono", monospace;
28
- --font-family-glyph: "Iosevka Nexus Mono Web", "Iosevka", ui-monospace, monospace;
29
- --font-family-map: "Noto Sans Regular";
24
+ --font-family-display: "Bliss Pro Web", "Bliss Pro Fallback", system-ui, sans-serif;
25
+ --font-family-text: "Bliss Pro Web", "Bliss Pro Fallback", system-ui, sans-serif;
26
+ --font-family-number: "Fira Code Web", ui-monospace, "SF Mono", monospace;
27
+ --font-family-code: "Fira Code Web", ui-monospace, "SF Mono", monospace;
28
+ --font-family-glyph: "Fira Code Web", ui-monospace, monospace;
29
+ --font-family-map: "Bliss Pro Regular";
30
30
  --font-size-display: 2.125rem;
31
31
  --font-size-title: 1.375rem;
32
32
  --font-size-headline: 1.0625rem;
@@ -40,6 +40,15 @@
40
40
  --font-weight-regular: 400;
41
41
  --font-weight-medium: 500;
42
42
  --font-weight-semibold: 600;
43
+ --space-0: 0.125rem;
44
+ --space-1: 0.25rem;
45
+ --space-2: 0.375rem;
46
+ --space-3: 0.5rem;
47
+ --space-4: 0.75rem;
48
+ --space-5: 1rem;
49
+ --space-6: 1.5rem;
50
+ --radius-tick: 0.125rem;
51
+ --radius-tight: 0.25rem;
43
52
  --radius-control: 0.5rem;
44
53
  --radius-panel: 0.875rem;
45
54
  --radius-sheet: 0.875rem;
@@ -77,6 +86,15 @@
77
86
  --color-state-info: var(--info-base);
78
87
  --color-state-info-background: oklch(65% 0.13 230 / 0.14);
79
88
  --color-accent-background: oklch(65% 0.29 340 / 0.14);
89
+ --color-confidence-high: var(--color-state-success);
90
+ --color-confidence-high-tint: var(--color-state-success-background);
91
+ --color-confidence-mid: var(--color-state-warning);
92
+ --color-confidence-mid-tint: var(--color-state-warning-background);
93
+ --color-confidence-low: var(--color-state-danger);
94
+ --color-confidence-low-tint: var(--color-state-danger-background);
95
+ --color-stage-shape: #3578e5;
96
+ --color-stage-classify: #8b5cf6;
97
+ --color-stage-resolve: #14b8a6;
80
98
  --material-glass-background: oklch(100% 0 264 / 0.72);
81
99
  --material-glass-border: oklch(0% 0 264 / 0.1);
82
100
  --material-glass-blur: 24px;
@@ -160,27 +160,27 @@
160
160
  "$type": "color"
161
161
  },
162
162
  "font-family-display": {
163
- "$value": "\"Iosevka Nexus Web\", \"Iosevka\", system-ui, sans-serif",
163
+ "$value": "\"Bliss Pro Web\", \"Bliss Pro Fallback\", system-ui, sans-serif",
164
164
  "$type": "fontFamily"
165
165
  },
166
166
  "font-family-text": {
167
- "$value": "\"Iosevka Nexus Web\", \"Iosevka\", system-ui, sans-serif",
167
+ "$value": "\"Bliss Pro Web\", \"Bliss Pro Fallback\", system-ui, sans-serif",
168
168
  "$type": "fontFamily"
169
169
  },
170
170
  "font-family-number": {
171
- "$value": "\"Iosevka Nexus Web\", \"Iosevka\", system-ui, sans-serif",
171
+ "$value": "\"Fira Code Web\", ui-monospace, \"SF Mono\", monospace",
172
172
  "$type": "fontFamily"
173
173
  },
174
174
  "font-family-code": {
175
- "$value": "\"Iosevka Nexus Mono Web\", \"Iosevka\", ui-monospace, \"SF Mono\", monospace",
175
+ "$value": "\"Fira Code Web\", ui-monospace, \"SF Mono\", monospace",
176
176
  "$type": "fontFamily"
177
177
  },
178
178
  "font-family-glyph": {
179
- "$value": "\"Iosevka Nexus Mono Web\", \"Iosevka\", ui-monospace, monospace",
179
+ "$value": "\"Fira Code Web\", ui-monospace, monospace",
180
180
  "$type": "fontFamily"
181
181
  },
182
182
  "font-family-map": {
183
- "$value": "\"Noto Sans Regular\"",
183
+ "$value": "\"Bliss Pro Regular\"",
184
184
  "$type": "fontFamily"
185
185
  },
186
186
  "font-size-display": {
@@ -267,6 +267,69 @@
267
267
  "$value": 600,
268
268
  "$type": "fontWeight"
269
269
  },
270
+ "space-0": {
271
+ "$value": {
272
+ "value": 0.125,
273
+ "unit": "rem"
274
+ },
275
+ "$type": "dimension"
276
+ },
277
+ "space-1": {
278
+ "$value": {
279
+ "value": 0.25,
280
+ "unit": "rem"
281
+ },
282
+ "$type": "dimension"
283
+ },
284
+ "space-2": {
285
+ "$value": {
286
+ "value": 0.375,
287
+ "unit": "rem"
288
+ },
289
+ "$type": "dimension"
290
+ },
291
+ "space-3": {
292
+ "$value": {
293
+ "value": 0.5,
294
+ "unit": "rem"
295
+ },
296
+ "$type": "dimension"
297
+ },
298
+ "space-4": {
299
+ "$value": {
300
+ "value": 0.75,
301
+ "unit": "rem"
302
+ },
303
+ "$type": "dimension"
304
+ },
305
+ "space-5": {
306
+ "$value": {
307
+ "value": 1,
308
+ "unit": "rem"
309
+ },
310
+ "$type": "dimension"
311
+ },
312
+ "space-6": {
313
+ "$value": {
314
+ "value": 1.5,
315
+ "unit": "rem"
316
+ },
317
+ "$type": "dimension"
318
+ },
319
+ "radius-tick": {
320
+ "$value": {
321
+ "value": 0.125,
322
+ "unit": "rem"
323
+ },
324
+ "$type": "dimension"
325
+ },
326
+ "radius-tight": {
327
+ "$value": {
328
+ "value": 0.25,
329
+ "unit": "rem"
330
+ },
331
+ "$type": "dimension"
332
+ },
270
333
  "radius-control": {
271
334
  "$value": {
272
335
  "value": 0.5,
@@ -475,6 +538,51 @@
475
538
  },
476
539
  "$type": "color"
477
540
  },
541
+ "color-confidence-high": {
542
+ "$value": "{color-state-success}",
543
+ "$type": "color"
544
+ },
545
+ "color-confidence-high-tint": {
546
+ "$value": "{color-state-success-background}",
547
+ "$type": "color"
548
+ },
549
+ "color-confidence-mid": {
550
+ "$value": "{color-state-warning}",
551
+ "$type": "color"
552
+ },
553
+ "color-confidence-mid-tint": {
554
+ "$value": "{color-state-warning-background}",
555
+ "$type": "color"
556
+ },
557
+ "color-confidence-low": {
558
+ "$value": "{color-state-danger}",
559
+ "$type": "color"
560
+ },
561
+ "color-confidence-low-tint": {
562
+ "$value": "{color-state-danger-background}",
563
+ "$type": "color"
564
+ },
565
+ "color-stage-shape": {
566
+ "$value": {
567
+ "colorSpace": "srgb",
568
+ "components": [0.20784313725490197, 0.47058823529411764, 0.8980392156862745]
569
+ },
570
+ "$type": "color"
571
+ },
572
+ "color-stage-classify": {
573
+ "$value": {
574
+ "colorSpace": "srgb",
575
+ "components": [0.5450980392156862, 0.3607843137254902, 0.9647058823529412]
576
+ },
577
+ "$type": "color"
578
+ },
579
+ "color-stage-resolve": {
580
+ "$value": {
581
+ "colorSpace": "srgb",
582
+ "components": [0.0784313725490196, 0.7215686274509804, 0.6509803921568628]
583
+ },
584
+ "$type": "color"
585
+ },
478
586
  "material-glass-background": {
479
587
  "$value": {
480
588
  "colorSpace": "oklch",
@@ -1,22 +0,0 @@
1
- /**
2
- * @copyright Sister Software
3
- * @license AGPL-3.0
4
- * @author Teffen Ellis, et al.
5
- * @file Common React primitives.
6
- */
7
-
8
- export { ClientOnly } from "./ClientOnly.tsx"
9
- export type { ClientOnlyProps } from "./ClientOnly.tsx"
10
- export { CopyButton } from "./CopyButton.tsx"
11
- export type { CopyButtonProps } from "./CopyButton.tsx"
12
- export { cx } from "#common/cx"
13
- export type { ClassValue } from "#common/cx"
14
- export { KindBadge } from "./KindBadge.tsx"
15
- export type { KindBadgeProps } from "./KindBadge.tsx"
16
- export { LoadingIndicator } from "./LoadingIndicator.tsx"
17
- export type { LoadingIndicatorProps, LoadingMode } from "./LoadingIndicator.tsx"
18
- export { PresetChips } from "./PresetChips.tsx"
19
- export type { Preset, PresetChipsProps } from "./PresetChips.tsx"
20
- export { useClipboard } from "#common/useClipboard"
21
- export type { UseClipboard } from "#common/useClipboard"
22
- export { useDebouncedValue } from "#common/useDebouncedValue"
@@ -1,51 +0,0 @@
1
- /**
2
- * @copyright Sister Software
3
- * @license AGPL-3.0
4
- * @author Teffen Ellis, et al.
5
- *
6
- * `<BackendControl>` — the neural-backend indicator + "Force WASM" checkbox from the demo's control
7
- * panel (`_app.tsx:1255-1280`), as a dumb presentational unit. It shows which backend the runtime
8
- * resolved to (WebGPU / WASM, with the int8 size the host formats into the label) and lets the visitor
9
- * opt out of WebGPU. Props in, one boolean event out — the host re-loads the bundle on the toggle.
10
- *
11
- * NODE-SAFE: pure React, no maplibre.
12
- */
13
-
14
- import type { ReactNode } from "react"
15
-
16
- export interface BackendControlProps {
17
- /**
18
- * The backend the runtime resolved to (e.g. `webgpu (28 MB int8)`); empty before it is known.
19
- */
20
- activeBackend?: string
21
- /**
22
- * Whether the CPU/WASM backend is currently forced.
23
- */
24
- forceWASM: boolean
25
- /**
26
- * Fired when the visitor toggles the "Force WASM" checkbox.
27
- */
28
- onForceWASMChange: (forceWASM: boolean) => void
29
- }
30
-
31
- /**
32
- * The backend indicator + WASM opt-out.
33
- */
34
- export function BackendControl({ activeBackend, forceWASM, onForceWASMChange }: BackendControlProps): ReactNode {
35
- return (
36
- <div className="mw-demo-backend">
37
- <span className="mw-map-sheet__label">Inference backend</span>
38
-
39
- {activeBackend ? (
40
- <span className="mw-demo-backend__active">
41
- Running on <code>{activeBackend}</code>
42
- </span>
43
- ) : null}
44
-
45
- <label className="mw-map-sheet__check mw-demo-backend__toggle">
46
- <input type="checkbox" checked={forceWASM} onChange={(event) => onForceWASMChange(event.target.checked)} />
47
- Force WASM
48
- </label>
49
- </div>
50
- )
51
- }
package/lib/map/index.ts DELETED
@@ -1,95 +0,0 @@
1
- /**
2
- * @copyright Sister Software
3
- * @license AGPL-3.0
4
- * @author Teffen Ellis, et al.
5
- *
6
- * `@mailwoman/react/map` — the geocoder map surface, kept behind its OWN subpath so `maplibre-gl`
7
- * / `react-map-gl` (WebGL + DOM at import) never enter the package-root graph. Importing this subpath
8
- * pulls the map deps; importing `@mailwoman/react` (root) does not. Consumers who only want the
9
- * parse/POI explorers never pay for maplibre.
10
- *
11
- * The host must supply `maplibre-gl` + `react-map-gl` (peer deps) and import
12
- * `maplibre-gl/dist/maplibre-gl.css` + `@mailwoman/react/styles.css` itself.
13
- */
14
-
15
- export { MapCanvas } from "./MapCanvas.tsx"
16
- export type { MapCanvasExtraProps, MapCanvasProps, MapCanvasStyle } from "./MapCanvas.tsx"
17
-
18
- // ── Map chrome (node-safe presentation; the host supplies the input and reads its own map) ──
19
- export { MapChipRow } from "./MapChipRow.tsx"
20
- export type { MapChip, MapChipRowProps } from "./MapChipRow.tsx"
21
- export { MapCompass } from "./MapCompass.tsx"
22
- export type { MapCompassProps } from "./MapCompass.tsx"
23
- export { useMapBearing } from "./useMapBearing.ts"
24
- export type { UseMapBearing } from "./useMapBearing.ts"
25
- export { useMapLabelPick } from "./useMapLabelPick.ts"
26
- export { MapControlButton, MapControlGroup, MapControlStack } from "./MapControlStack.tsx"
27
- export type { MapControlButtonProps, MapControlGroupProps, MapControlStackProps } from "./MapControlStack.tsx"
28
- export { MapFooter } from "./MapFooter.tsx"
29
- export type { MapFooterProps } from "./MapFooter.tsx"
30
- export { MapProgressBar } from "./MapProgressBar.tsx"
31
- export type { MapProgressBarProps } from "./MapProgressBar.tsx"
32
- export { MapSheet } from "./MapSheet.tsx"
33
- export type { MapSheetProps } from "./MapSheet.tsx"
34
- export { MapSearchBar } from "./MapSearchBar.tsx"
35
- export type { MapSearchBarProps } from "./MapSearchBar.tsx"
36
-
37
- export type {
38
- CompareContext,
39
- GeocoderPanels,
40
- GeocoderRuntime,
41
- InferenceBackend,
42
- LngLatTuple,
43
- MapBias,
44
- OverlaySpec,
45
- ResultContext,
46
- Suggestion,
47
- VersionOption,
48
- } from "#map/types"
49
-
50
- // ── Pure geometry + render spec (node-safe; no react-map-gl at runtime) ──────
51
- export { approxCircleGeometry, bboxToBounds, geomBounds, radiusCircleGeometry } from "#map/geometry"
52
- export type { BoundsTuple, PlaceBBox, PlaceGeometry } from "#map/geometry"
53
- export { cameraToViewState, computeMapPlaceRenderSpec } from "#map/place-render"
54
- export type { LngLat, MapCameraTarget, MapPlaceRenderSpec, PlaceTier, ResolvedMapPlace } from "#map/place-render"
55
- export { useMapPlaceRender } from "#map/useMapPlaceRender"
56
-
57
- // ── Declarative overlays (react-map-gl `<Marker>`/`<Source>`/`<Layer>`) ──────
58
- export { OverlayLayers } from "./OverlayLayers.tsx"
59
- export type { OverlayLayersProps } from "./OverlayLayers.tsx"
60
- export { PlaceMarker } from "./PlaceMarker.tsx"
61
- export type { PlaceMarkerProps } from "./PlaceMarker.tsx"
62
- export { ResolvedPlaceLayers } from "./ResolvedPlaceLayers.tsx"
63
- export type { ResolvedPlaceLayersProps } from "./ResolvedPlaceLayers.tsx"
64
- export { ResultCamera } from "./ResultCamera.tsx"
65
- export type { ResultCameraProps } from "./ResultCamera.tsx"
66
- export { ResultOverlay } from "./ResultOverlay.tsx"
67
- export type { ResultOverlayProps } from "./ResultOverlay.tsx"
68
-
69
- // ── Geocoder controls + the composed geocoder ────────────────────────────────
70
- export { BackendControl } from "./BackendControl.tsx"
71
- export type { BackendControlProps } from "./BackendControl.tsx"
72
- export { CompareToggle } from "./CompareToggle.tsx"
73
- export type { CompareToggleProps } from "./CompareToggle.tsx"
74
- export { Geocoder } from "./Geocoder.tsx"
75
- export type { GeocoderProps } from "./Geocoder.tsx"
76
- export { GeocoderControls } from "./GeocoderControls.tsx"
77
- export type { GeocoderControlsProps } from "./GeocoderControls.tsx"
78
- export { PlaceAutocomplete } from "./PlaceAutocomplete.tsx"
79
- export type { PlaceAutocompleteProps } from "./PlaceAutocomplete.tsx"
80
- export { ResultPanel } from "./ResultPanel.tsx"
81
- export type { ResultPanelProps } from "./ResultPanel.tsx"
82
- export { useCompareState } from "#map/useCompareState"
83
- export type { UseCompareState } from "#map/useCompareState"
84
- export { useGeocode } from "#map/useGeocode"
85
- export type { UseGeocode, UseGeocodeOptions } from "#map/useGeocode"
86
- export { usePlaceAutocomplete } from "#map/usePlaceAutocomplete"
87
-
88
- export type {
89
- AutocompleteInputProps,
90
- UsePlaceAutocomplete,
91
- UsePlaceAutocompleteOptions,
92
- } from "#map/usePlaceAutocomplete"
93
-
94
- export { VersionPicker } from "./VersionPicker.tsx"
95
- export type { VersionPickerProps } from "./VersionPicker.tsx"
@@ -1,36 +0,0 @@
1
- /**
2
- * @copyright Sister Software
3
- * @license AGPL-3.0
4
- * @author Teffen Ellis, et al.
5
- * @file Pipeline explorer components, visualizers, hooks, and contracts.
6
- */
7
-
8
- export { About } from "../common/About.tsx"
9
- export { FailureDiagnostic } from "./FailureDiagnostic.tsx"
10
- export type { FailureDiagnosticProps } from "./FailureDiagnostic.tsx"
11
- export { SpanHighlight } from "./SpanHighlight.tsx"
12
- export type { SpanHighlightProps } from "./SpanHighlight.tsx"
13
- export { TimingPanel } from "./TimingPanel.tsx"
14
- export type { TimingPanelProps } from "./TimingPanel.tsx"
15
- export { TreeView } from "./TreeView.tsx"
16
- export type { TreeViewProps } from "./TreeView.tsx"
17
-
18
- export { CandidatePicker } from "./CandidatePicker.tsx"
19
- export type { CandidatePickerProps } from "./CandidatePicker.tsx"
20
- export { ComponentTable } from "./ComponentTable.tsx"
21
- export type { ComponentTableProps } from "./ComponentTable.tsx"
22
- export { ConfidenceCell } from "./ConfidenceCell.tsx"
23
- export type { ConfidenceCellProps } from "./ConfidenceCell.tsx"
24
- export { buildParsePayload } from "#pipeline/copy"
25
- export { PIPELINE_DEFAULT_ADDRESS, PIPELINE_PRESETS } from "#pipeline/presets"
26
- export { PipelineExplorer } from "./PipelineExplorer.tsx"
27
- export type { PipelineExplorerProps } from "./PipelineExplorer.tsx"
28
- export { QueryForm } from "./QueryForm.tsx"
29
- export type { QueryFormProps } from "./QueryForm.tsx"
30
- export { ResolvedPlace } from "./ResolvedPlace.tsx"
31
- export type { ResolvedPlaceProps } from "./ResolvedPlace.tsx"
32
-
33
- export type { PipelineLoadingState, PipelinePanels, PipelineRuntime } from "#pipeline/types"
34
-
35
- export { useParsePipeline } from "#pipeline/useParsePipeline"
36
- export type { UseParsePipeline, UseParsePipelineOptions } from "#pipeline/useParsePipeline"
package/lib/poi/index.ts DELETED
@@ -1,39 +0,0 @@
1
- /**
2
- * @copyright Sister Software
3
- * @license AGPL-3.0
4
- * @author Teffen Ellis, et al.
5
- * @file POI explorer components, hooks, runtime, and contracts.
6
- */
7
-
8
- export { AbstainPanel } from "./AbstainPanel.tsx"
9
- export type { AbstainPanelProps } from "./AbstainPanel.tsx"
10
- export { LiveResultsBlock } from "./LiveResultsBlock.tsx"
11
- export type { LiveResultsBlockProps } from "./LiveResultsBlock.tsx"
12
- export { OverpassBlock } from "./OverpassBlock.tsx"
13
- export type { OverpassBlockProps } from "./OverpassBlock.tsx"
14
- export { POIExplorer } from "./POIExplorer.tsx"
15
- export type { POIExplorerProps } from "./POIExplorer.tsx"
16
- export { QueryInput } from "./QueryInput.tsx"
17
- export type { QueryInputProps } from "./QueryInput.tsx"
18
- export { formatDistance, loadPOIRuntime, POI_DEFAULT_TEXT, POI_PRESETS } from "#poi/runtime"
19
- export { SubjectPanel } from "./SubjectPanel.tsx"
20
- export type { SubjectPanelProps } from "./SubjectPanel.tsx"
21
-
22
- export type {
23
- CategoryRecord,
24
- LiveSearchState,
25
- LoadPOIRuntime,
26
- POIBrandSubject,
27
- POICategorySubject,
28
- POIExplorerResult,
29
- POILiveSearch,
30
- POILiveSearchResult,
31
- POIRuntime,
32
- POISearchHit,
33
- POISubject,
34
- POISubjectBase,
35
- TaxonomyLookup,
36
- } from "#poi/types"
37
-
38
- export { usePOISearch } from "#poi/usePOISearch"
39
- export type { UsePOISearch, UsePOISearchOptions } from "#poi/usePOISearch"
@@ -1,22 +0,0 @@
1
- /**
2
- * @copyright Sister Software
3
- * @license AGPL-3.0
4
- * @author Teffen Ellis, et al.
5
- * @file Common React primitives.
6
- */
7
- export { ClientOnly } from "./ClientOnly.tsx";
8
- export type { ClientOnlyProps } from "./ClientOnly.tsx";
9
- export { CopyButton } from "./CopyButton.tsx";
10
- export type { CopyButtonProps } from "./CopyButton.tsx";
11
- export { cx } from "#common/cx";
12
- export type { ClassValue } from "#common/cx";
13
- export { KindBadge } from "./KindBadge.tsx";
14
- export type { KindBadgeProps } from "./KindBadge.tsx";
15
- export { LoadingIndicator } from "./LoadingIndicator.tsx";
16
- export type { LoadingIndicatorProps, LoadingMode } from "./LoadingIndicator.tsx";
17
- export { PresetChips } from "./PresetChips.tsx";
18
- export type { Preset, PresetChipsProps } from "./PresetChips.tsx";
19
- export { useClipboard } from "#common/useClipboard";
20
- export type { UseClipboard } from "#common/useClipboard";
21
- export { useDebouncedValue } from "#common/useDebouncedValue";
22
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/common/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAC7C,YAAY,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAC7C,YAAY,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AACvD,OAAO,EAAE,EAAE,EAAE,MAAM,YAAY,CAAA;AAC/B,YAAY,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAC3C,YAAY,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AACzD,YAAY,EAAE,qBAAqB,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AAChF,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAC/C,YAAY,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAA;AACjE,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AACnD,YAAY,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAA"}
@@ -1,15 +0,0 @@
1
- /**
2
- * @copyright Sister Software
3
- * @license AGPL-3.0
4
- * @author Teffen Ellis, et al.
5
- * @file Common React primitives.
6
- */
7
- export { ClientOnly } from "./ClientOnly.js";
8
- export { CopyButton } from "./CopyButton.js";
9
- export { cx } from "#common/cx";
10
- export { KindBadge } from "./KindBadge.js";
11
- export { LoadingIndicator } from "./LoadingIndicator.js";
12
- export { PresetChips } from "./PresetChips.js";
13
- export { useClipboard } from "#common/useClipboard";
14
- export { useDebouncedValue } from "#common/useDebouncedValue";
15
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../lib/common/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAkB,CAAA;AAE7C,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAkB,CAAA;AAE7C,OAAO,EAAE,EAAE,EAAE,MAAM,YAAY,CAAA;AAE/B,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAiB,CAAA;AAE3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAwB,CAAA;AAEzD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAmB,CAAA;AAE/C,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAEnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAA"}
@@ -1,32 +0,0 @@
1
- /**
2
- * @copyright Sister Software
3
- * @license AGPL-3.0
4
- * @author Teffen Ellis, et al.
5
- *
6
- * `<BackendControl>` — the neural-backend indicator + "Force WASM" checkbox from the demo's control
7
- * panel (`_app.tsx:1255-1280`), as a dumb presentational unit. It shows which backend the runtime
8
- * resolved to (WebGPU / WASM, with the int8 size the host formats into the label) and lets the visitor
9
- * opt out of WebGPU. Props in, one boolean event out — the host re-loads the bundle on the toggle.
10
- *
11
- * NODE-SAFE: pure React, no maplibre.
12
- */
13
- import type { ReactNode } from "react";
14
- export interface BackendControlProps {
15
- /**
16
- * The backend the runtime resolved to (e.g. `webgpu (28 MB int8)`); empty before it is known.
17
- */
18
- activeBackend?: string;
19
- /**
20
- * Whether the CPU/WASM backend is currently forced.
21
- */
22
- forceWASM: boolean;
23
- /**
24
- * Fired when the visitor toggles the "Force WASM" checkbox.
25
- */
26
- onForceWASMChange: (forceWASM: boolean) => void;
27
- }
28
- /**
29
- * The backend indicator + WASM opt-out.
30
- */
31
- export declare function BackendControl({ activeBackend, forceWASM, onForceWASMChange }: BackendControlProps): ReactNode;
32
- //# sourceMappingURL=BackendControl.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BackendControl.d.ts","sourceRoot":"","sources":["../../lib/map/BackendControl.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,MAAM,WAAW,mBAAmB;IACnC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB;;OAEG;IACH,SAAS,EAAE,OAAO,CAAA;IAClB;;OAEG;IACH,iBAAiB,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAA;CAC/C;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,EAAE,aAAa,EAAE,SAAS,EAAE,iBAAiB,EAAE,EAAE,mBAAmB,GAAG,SAAS,CAiB9G"}
@@ -1,8 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- /**
3
- * The backend indicator + WASM opt-out.
4
- */
5
- export function BackendControl({ activeBackend, forceWASM, onForceWASMChange }) {
6
- return (_jsxs("div", { className: "mw-demo-backend", children: [_jsx("span", { className: "mw-map-sheet__label", children: "Inference backend" }), activeBackend ? (_jsxs("span", { className: "mw-demo-backend__active", children: ["Running on ", _jsx("code", { children: activeBackend })] })) : null, _jsxs("label", { className: "mw-map-sheet__check mw-demo-backend__toggle", children: [_jsx("input", { type: "checkbox", checked: forceWASM, onChange: (event) => onForceWASMChange(event.target.checked) }), "Force WASM"] })] }));
7
- }
8
- //# sourceMappingURL=BackendControl.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BackendControl.js","sourceRoot":"","sources":["../../lib/map/BackendControl.tsx"],"names":[],"mappings":";AA8BA;;GAEG;AACH,MAAM,UAAU,cAAc,CAAC,EAAE,aAAa,EAAE,SAAS,EAAE,iBAAiB,EAAuB;IAClG,OAAO,CACN,eAAK,SAAS,EAAC,iBAAiB,aAC/B,eAAM,SAAS,EAAC,qBAAqB,kCAAyB,EAE7D,aAAa,CAAC,CAAC,CAAC,CAChB,gBAAM,SAAS,EAAC,yBAAyB,4BAC7B,yBAAO,aAAa,GAAQ,IACjC,CACP,CAAC,CAAC,CAAC,IAAI,EAER,iBAAO,SAAS,EAAC,6CAA6C,aAC7D,gBAAO,IAAI,EAAC,UAAU,EAAC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,iBAAiB,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,GAAI,kBAEpG,IACH,CACN,CAAA;AACF,CAAC"}
@@ -1,69 +0,0 @@
1
- /**
2
- * @copyright Sister Software
3
- * @license AGPL-3.0
4
- * @author Teffen Ellis, et al.
5
- *
6
- * `@mailwoman/react/map` — the geocoder map surface, kept behind its OWN subpath so `maplibre-gl`
7
- * / `react-map-gl` (WebGL + DOM at import) never enter the package-root graph. Importing this subpath
8
- * pulls the map deps; importing `@mailwoman/react` (root) does not. Consumers who only want the
9
- * parse/POI explorers never pay for maplibre.
10
- *
11
- * The host must supply `maplibre-gl` + `react-map-gl` (peer deps) and import
12
- * `maplibre-gl/dist/maplibre-gl.css` + `@mailwoman/react/styles.css` itself.
13
- */
14
- export { MapCanvas } from "./MapCanvas.tsx";
15
- export type { MapCanvasExtraProps, MapCanvasProps, MapCanvasStyle } from "./MapCanvas.tsx";
16
- export { MapChipRow } from "./MapChipRow.tsx";
17
- export type { MapChip, MapChipRowProps } from "./MapChipRow.tsx";
18
- export { MapCompass } from "./MapCompass.tsx";
19
- export type { MapCompassProps } from "./MapCompass.tsx";
20
- export { useMapBearing } from "./useMapBearing.ts";
21
- export type { UseMapBearing } from "./useMapBearing.ts";
22
- export { useMapLabelPick } from "./useMapLabelPick.ts";
23
- export { MapControlButton, MapControlGroup, MapControlStack } from "./MapControlStack.tsx";
24
- export type { MapControlButtonProps, MapControlGroupProps, MapControlStackProps } from "./MapControlStack.tsx";
25
- export { MapFooter } from "./MapFooter.tsx";
26
- export type { MapFooterProps } from "./MapFooter.tsx";
27
- export { MapProgressBar } from "./MapProgressBar.tsx";
28
- export type { MapProgressBarProps } from "./MapProgressBar.tsx";
29
- export { MapSheet } from "./MapSheet.tsx";
30
- export type { MapSheetProps } from "./MapSheet.tsx";
31
- export { MapSearchBar } from "./MapSearchBar.tsx";
32
- export type { MapSearchBarProps } from "./MapSearchBar.tsx";
33
- export type { CompareContext, GeocoderPanels, GeocoderRuntime, InferenceBackend, LngLatTuple, MapBias, OverlaySpec, ResultContext, Suggestion, VersionOption, } from "#map/types";
34
- export { approxCircleGeometry, bboxToBounds, geomBounds, radiusCircleGeometry } from "#map/geometry";
35
- export type { BoundsTuple, PlaceBBox, PlaceGeometry } from "#map/geometry";
36
- export { cameraToViewState, computeMapPlaceRenderSpec } from "#map/place-render";
37
- export type { LngLat, MapCameraTarget, MapPlaceRenderSpec, PlaceTier, ResolvedMapPlace } from "#map/place-render";
38
- export { useMapPlaceRender } from "#map/useMapPlaceRender";
39
- export { OverlayLayers } from "./OverlayLayers.tsx";
40
- export type { OverlayLayersProps } from "./OverlayLayers.tsx";
41
- export { PlaceMarker } from "./PlaceMarker.tsx";
42
- export type { PlaceMarkerProps } from "./PlaceMarker.tsx";
43
- export { ResolvedPlaceLayers } from "./ResolvedPlaceLayers.tsx";
44
- export type { ResolvedPlaceLayersProps } from "./ResolvedPlaceLayers.tsx";
45
- export { ResultCamera } from "./ResultCamera.tsx";
46
- export type { ResultCameraProps } from "./ResultCamera.tsx";
47
- export { ResultOverlay } from "./ResultOverlay.tsx";
48
- export type { ResultOverlayProps } from "./ResultOverlay.tsx";
49
- export { BackendControl } from "./BackendControl.tsx";
50
- export type { BackendControlProps } from "./BackendControl.tsx";
51
- export { CompareToggle } from "./CompareToggle.tsx";
52
- export type { CompareToggleProps } from "./CompareToggle.tsx";
53
- export { Geocoder } from "./Geocoder.tsx";
54
- export type { GeocoderProps } from "./Geocoder.tsx";
55
- export { GeocoderControls } from "./GeocoderControls.tsx";
56
- export type { GeocoderControlsProps } from "./GeocoderControls.tsx";
57
- export { PlaceAutocomplete } from "./PlaceAutocomplete.tsx";
58
- export type { PlaceAutocompleteProps } from "./PlaceAutocomplete.tsx";
59
- export { ResultPanel } from "./ResultPanel.tsx";
60
- export type { ResultPanelProps } from "./ResultPanel.tsx";
61
- export { useCompareState } from "#map/useCompareState";
62
- export type { UseCompareState } from "#map/useCompareState";
63
- export { useGeocode } from "#map/useGeocode";
64
- export type { UseGeocode, UseGeocodeOptions } from "#map/useGeocode";
65
- export { usePlaceAutocomplete } from "#map/usePlaceAutocomplete";
66
- export type { AutocompleteInputProps, UsePlaceAutocomplete, UsePlaceAutocompleteOptions, } from "#map/usePlaceAutocomplete";
67
- export { VersionPicker } from "./VersionPicker.tsx";
68
- export type { VersionPickerProps } from "./VersionPicker.tsx";
69
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/map/index.ts"],"names":[],"mappings":"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"}