@mailwoman/react 9.3.0 → 10.0.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 (246) hide show
  1. package/fonts.css +59 -0
  2. package/lib/common/About.tsx +105 -0
  3. package/lib/common/KindBadge.tsx +2 -7
  4. package/lib/common/confidence-tiers.ts +50 -0
  5. package/lib/common/index.ts +22 -0
  6. package/lib/common/text-tokens.ts +88 -0
  7. package/lib/index.ts +10 -103
  8. package/lib/map/BackendControl.tsx +7 -3
  9. package/lib/map/CompareToggle.tsx +5 -4
  10. package/lib/map/{GeocoderDemo.tsx → Geocoder.tsx} +81 -61
  11. package/lib/map/GeocoderControls.tsx +352 -0
  12. package/lib/map/{DemoMap.tsx → MapCanvas.tsx} +15 -15
  13. package/lib/map/MapChipRow.tsx +77 -0
  14. package/lib/map/MapCompass.tsx +77 -0
  15. package/lib/map/MapControlStack.tsx +98 -0
  16. package/lib/map/MapFooter.tsx +115 -0
  17. package/lib/map/MapProgressBar.tsx +58 -0
  18. package/lib/map/MapSearchBar.tsx +68 -0
  19. package/lib/map/MapSheet.tsx +62 -0
  20. package/lib/map/PlaceMarker.tsx +1 -1
  21. package/lib/map/ResolvedPlaceLayers.tsx +3 -3
  22. package/lib/map/ResultCamera.tsx +1 -1
  23. package/lib/map/ResultPanel.tsx +2 -2
  24. package/lib/map/VersionPicker.tsx +3 -3
  25. package/lib/map/fake-runtime.ts +122 -0
  26. package/lib/map/index.ts +35 -16
  27. package/lib/map/map-debug.ts +51 -0
  28. package/lib/map/place-render.ts +3 -2
  29. package/lib/map/types.ts +58 -42
  30. package/lib/map/{useDemoGeocode.ts → useGeocode.ts} +8 -8
  31. package/lib/map/useMapBearing.ts +56 -0
  32. package/lib/map/useMapLabelPick.ts +123 -0
  33. package/lib/pipeline/CandidatePicker.tsx +1 -1
  34. package/lib/pipeline/ComponentTable.tsx +1 -2
  35. package/lib/pipeline/ConfidenceCell.tsx +7 -19
  36. package/lib/pipeline/FailureDiagnostic.tsx +56 -0
  37. package/lib/pipeline/ResolvedPlace.tsx +17 -4
  38. package/lib/pipeline/SpanHighlight.tsx +97 -0
  39. package/lib/pipeline/TimingPanel.tsx +65 -0
  40. package/lib/pipeline/TreeView.tsx +55 -0
  41. package/lib/pipeline/copy.ts +1 -1
  42. package/lib/pipeline/index.ts +36 -0
  43. package/lib/pipeline/types.ts +2 -75
  44. package/lib/pipeline/useParsePipeline.ts +31 -19
  45. package/lib/poi/index.ts +39 -0
  46. package/lib/poi/types.ts +2 -1
  47. package/lib/runtime/index.ts +16 -0
  48. package/lib/runtime/{useDemoRuntime.ts → useReleaseRuntime.ts} +22 -24
  49. package/out/common/About.d.ts +21 -0
  50. package/out/common/About.d.ts.map +1 -0
  51. package/out/common/About.js +8 -0
  52. package/out/common/About.js.map +1 -0
  53. package/out/common/KindBadge.d.ts +2 -9
  54. package/out/common/KindBadge.d.ts.map +1 -1
  55. package/out/common/KindBadge.js.map +1 -1
  56. package/out/common/confidence-tiers.d.ts +36 -0
  57. package/out/common/confidence-tiers.d.ts.map +1 -0
  58. package/out/common/confidence-tiers.js +42 -0
  59. package/out/common/confidence-tiers.js.map +1 -0
  60. package/out/common/index.d.ts +22 -0
  61. package/out/common/index.d.ts.map +1 -0
  62. package/out/common/index.js +15 -0
  63. package/out/common/index.js.map +1 -0
  64. package/out/common/text-tokens.d.ts +46 -0
  65. package/out/common/text-tokens.d.ts.map +1 -0
  66. package/out/common/text-tokens.js +52 -0
  67. package/out/common/text-tokens.js.map +1 -0
  68. package/out/index.d.ts +5 -51
  69. package/out/index.d.ts.map +1 -1
  70. package/out/index.js +4 -30
  71. package/out/index.js.map +1 -1
  72. package/out/map/BackendControl.d.ts.map +1 -1
  73. package/out/map/BackendControl.js +1 -1
  74. package/out/map/BackendControl.js.map +1 -1
  75. package/out/map/CompareToggle.d.ts +2 -2
  76. package/out/map/CompareToggle.d.ts.map +1 -1
  77. package/out/map/CompareToggle.js +1 -1
  78. package/out/map/CompareToggle.js.map +1 -1
  79. package/out/map/Geocoder.d.ts +67 -0
  80. package/out/map/Geocoder.d.ts.map +1 -0
  81. package/out/map/Geocoder.js +98 -0
  82. package/out/map/Geocoder.js.map +1 -0
  83. package/out/map/GeocoderControls.d.ts +81 -0
  84. package/out/map/GeocoderControls.d.ts.map +1 -0
  85. package/out/map/GeocoderControls.js +79 -0
  86. package/out/map/GeocoderControls.js.map +1 -0
  87. package/out/map/{DemoMap.d.ts → MapCanvas.d.ts} +15 -15
  88. package/out/map/MapCanvas.d.ts.map +1 -0
  89. package/out/map/{DemoMap.js → MapCanvas.js} +2 -2
  90. package/out/map/MapCanvas.js.map +1 -0
  91. package/out/map/MapChipRow.d.ts +47 -0
  92. package/out/map/MapChipRow.d.ts.map +1 -0
  93. package/out/map/MapChipRow.js +12 -0
  94. package/out/map/MapChipRow.js.map +1 -0
  95. package/out/map/MapCompass.d.ts +42 -0
  96. package/out/map/MapCompass.d.ts.map +1 -0
  97. package/out/map/MapCompass.js +11 -0
  98. package/out/map/MapCompass.js.map +1 -0
  99. package/out/map/MapControlStack.d.ts +57 -0
  100. package/out/map/MapControlStack.d.ts.map +1 -0
  101. package/out/map/MapControlStack.js +15 -0
  102. package/out/map/MapControlStack.js.map +1 -0
  103. package/out/map/MapFooter.d.ts +40 -0
  104. package/out/map/MapFooter.d.ts.map +1 -0
  105. package/out/map/MapFooter.js +51 -0
  106. package/out/map/MapFooter.js.map +1 -0
  107. package/out/map/MapProgressBar.d.ts +34 -0
  108. package/out/map/MapProgressBar.d.ts.map +1 -0
  109. package/out/map/MapProgressBar.js +8 -0
  110. package/out/map/MapProgressBar.js.map +1 -0
  111. package/out/map/MapSearchBar.d.ts +49 -0
  112. package/out/map/MapSearchBar.d.ts.map +1 -0
  113. package/out/map/MapSearchBar.js +6 -0
  114. package/out/map/MapSearchBar.js.map +1 -0
  115. package/out/map/MapSheet.d.ts +32 -0
  116. package/out/map/MapSheet.d.ts.map +1 -0
  117. package/out/map/MapSheet.js +33 -0
  118. package/out/map/MapSheet.js.map +1 -0
  119. package/out/map/OverlayLayers.js +1 -1
  120. package/out/map/PlaceMarker.d.ts +1 -1
  121. package/out/map/ResolvedPlaceLayers.d.ts +3 -3
  122. package/out/map/ResolvedPlaceLayers.js +1 -1
  123. package/out/map/ResultCamera.d.ts +1 -1
  124. package/out/map/ResultCamera.js +1 -1
  125. package/out/map/ResultPanel.d.ts +2 -2
  126. package/out/map/ResultPanel.d.ts.map +1 -1
  127. package/out/map/ResultPanel.js +1 -1
  128. package/out/map/ResultPanel.js.map +1 -1
  129. package/out/map/VersionPicker.d.ts +3 -3
  130. package/out/map/VersionPicker.d.ts.map +1 -1
  131. package/out/map/fake-runtime.d.ts +38 -0
  132. package/out/map/fake-runtime.d.ts.map +1 -0
  133. package/out/map/fake-runtime.js +107 -0
  134. package/out/map/fake-runtime.js.map +1 -0
  135. package/out/map/index.d.ts +27 -10
  136. package/out/map/index.d.ts.map +1 -1
  137. package/out/map/index.js +16 -6
  138. package/out/map/index.js.map +1 -1
  139. package/out/map/map-debug.d.ts +31 -0
  140. package/out/map/map-debug.d.ts.map +1 -0
  141. package/out/map/map-debug.js +31 -0
  142. package/out/map/map-debug.js.map +1 -0
  143. package/out/map/place-render.d.ts +2 -2
  144. package/out/map/place-render.d.ts.map +1 -1
  145. package/out/map/place-render.js +1 -1
  146. package/out/map/place-render.js.map +1 -1
  147. package/out/map/types.d.ts +60 -42
  148. package/out/map/types.d.ts.map +1 -1
  149. package/out/map/types.js +5 -5
  150. package/out/map/{useDemoGeocode.d.ts → useGeocode.d.ts} +9 -9
  151. package/out/map/useGeocode.d.ts.map +1 -0
  152. package/out/map/{useDemoGeocode.js → useGeocode.js} +4 -4
  153. package/out/map/useGeocode.js.map +1 -0
  154. package/out/map/useMapBearing.d.ts +28 -0
  155. package/out/map/useMapBearing.d.ts.map +1 -0
  156. package/out/map/useMapBearing.js +35 -0
  157. package/out/map/useMapBearing.js.map +1 -0
  158. package/out/map/useMapLabelPick.d.ts +23 -0
  159. package/out/map/useMapLabelPick.d.ts.map +1 -0
  160. package/out/map/useMapLabelPick.js +104 -0
  161. package/out/map/useMapLabelPick.js.map +1 -0
  162. package/out/pipeline/CandidatePicker.d.ts +1 -1
  163. package/out/pipeline/CandidatePicker.d.ts.map +1 -1
  164. package/out/pipeline/CandidatePicker.js +1 -1
  165. package/out/pipeline/CandidatePicker.js.map +1 -1
  166. package/out/pipeline/ComponentTable.d.ts +1 -1
  167. package/out/pipeline/ComponentTable.d.ts.map +1 -1
  168. package/out/pipeline/ComponentTable.js.map +1 -1
  169. package/out/pipeline/ConfidenceCell.d.ts +2 -2
  170. package/out/pipeline/ConfidenceCell.d.ts.map +1 -1
  171. package/out/pipeline/ConfidenceCell.js +4 -16
  172. package/out/pipeline/ConfidenceCell.js.map +1 -1
  173. package/out/pipeline/FailureDiagnostic.d.ts +15 -0
  174. package/out/pipeline/FailureDiagnostic.d.ts.map +1 -0
  175. package/out/pipeline/FailureDiagnostic.js +21 -0
  176. package/out/pipeline/FailureDiagnostic.js.map +1 -0
  177. package/out/pipeline/PipelineExplorer.js +1 -1
  178. package/out/pipeline/QueryForm.js +1 -1
  179. package/out/pipeline/ResolvedPlace.d.ts +1 -1
  180. package/out/pipeline/ResolvedPlace.d.ts.map +1 -1
  181. package/out/pipeline/ResolvedPlace.js +4 -10
  182. package/out/pipeline/ResolvedPlace.js.map +1 -1
  183. package/out/pipeline/SpanHighlight.d.ts +23 -0
  184. package/out/pipeline/SpanHighlight.d.ts.map +1 -0
  185. package/out/pipeline/SpanHighlight.js +31 -0
  186. package/out/pipeline/SpanHighlight.js.map +1 -0
  187. package/out/pipeline/TimingPanel.d.ts +16 -0
  188. package/out/pipeline/TimingPanel.d.ts.map +1 -0
  189. package/out/pipeline/TimingPanel.js +20 -0
  190. package/out/pipeline/TimingPanel.js.map +1 -0
  191. package/out/pipeline/TreeView.d.ts +17 -0
  192. package/out/pipeline/TreeView.d.ts.map +1 -0
  193. package/out/pipeline/TreeView.js +15 -0
  194. package/out/pipeline/TreeView.js.map +1 -0
  195. package/out/pipeline/copy.d.ts +1 -1
  196. package/out/pipeline/copy.d.ts.map +1 -1
  197. package/out/pipeline/index.d.ts +33 -0
  198. package/out/pipeline/index.d.ts.map +1 -0
  199. package/out/pipeline/index.js +21 -0
  200. package/out/pipeline/index.js.map +1 -0
  201. package/out/pipeline/types.d.ts +2 -68
  202. package/out/pipeline/types.d.ts.map +1 -1
  203. package/out/pipeline/types.js +1 -1
  204. package/out/pipeline/useParsePipeline.d.ts +7 -3
  205. package/out/pipeline/useParsePipeline.d.ts.map +1 -1
  206. package/out/pipeline/useParsePipeline.js +6 -2
  207. package/out/pipeline/useParsePipeline.js.map +1 -1
  208. package/out/poi/LiveResultsBlock.js +1 -1
  209. package/out/poi/POIExplorer.js +1 -1
  210. package/out/poi/SubjectPanel.js +1 -1
  211. package/out/poi/index.d.ts +23 -0
  212. package/out/poi/index.d.ts.map +1 -0
  213. package/out/poi/index.js +15 -0
  214. package/out/poi/index.js.map +1 -0
  215. package/out/poi/runtime.d.ts.map +1 -1
  216. package/out/poi/types.d.ts +2 -1
  217. package/out/poi/types.d.ts.map +1 -1
  218. package/out/runtime/index.d.ts +9 -0
  219. package/out/runtime/index.d.ts.map +1 -0
  220. package/out/runtime/index.js +8 -0
  221. package/out/runtime/index.js.map +1 -0
  222. package/out/runtime/{useDemoRuntime.d.ts → useReleaseRuntime.d.ts} +18 -20
  223. package/out/runtime/useReleaseRuntime.d.ts.map +1 -0
  224. package/out/runtime/{useDemoRuntime.js → useReleaseRuntime.js} +4 -4
  225. package/out/runtime/useReleaseRuntime.js.map +1 -0
  226. package/package.json +222 -31
  227. package/styleframe.config.ts +329 -0
  228. package/styles.css +1995 -663
  229. package/tokens/index.css +116 -0
  230. package/tokens/tokens.json +528 -0
  231. package/tokens/tokens.resolver.json +185 -0
  232. package/lib/map/DemoControls.tsx +0 -194
  233. package/out/map/DemoControls.d.ts +0 -64
  234. package/out/map/DemoControls.d.ts.map +0 -1
  235. package/out/map/DemoControls.js +0 -30
  236. package/out/map/DemoControls.js.map +0 -1
  237. package/out/map/DemoMap.d.ts.map +0 -1
  238. package/out/map/DemoMap.js.map +0 -1
  239. package/out/map/GeocoderDemo.d.ts +0 -57
  240. package/out/map/GeocoderDemo.d.ts.map +0 -1
  241. package/out/map/GeocoderDemo.js +0 -98
  242. package/out/map/GeocoderDemo.js.map +0 -1
  243. package/out/map/useDemoGeocode.d.ts.map +0 -1
  244. package/out/map/useDemoGeocode.js.map +0 -1
  245. package/out/runtime/useDemoRuntime.d.ts.map +0 -1
  246. package/out/runtime/useDemoRuntime.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
1
+ import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /**
3
3
  * The shared match-detail list (matched phrase, confidence, anchor) — identical for category + brand subjects.
4
4
  */
@@ -0,0 +1,23 @@
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
+ export { AbstainPanel } from "./AbstainPanel.tsx";
8
+ export type { AbstainPanelProps } from "./AbstainPanel.tsx";
9
+ export { LiveResultsBlock } from "./LiveResultsBlock.tsx";
10
+ export type { LiveResultsBlockProps } from "./LiveResultsBlock.tsx";
11
+ export { OverpassBlock } from "./OverpassBlock.tsx";
12
+ export type { OverpassBlockProps } from "./OverpassBlock.tsx";
13
+ export { POIExplorer } from "./POIExplorer.tsx";
14
+ export type { POIExplorerProps } from "./POIExplorer.tsx";
15
+ export { QueryInput } from "./QueryInput.tsx";
16
+ export type { QueryInputProps } from "./QueryInput.tsx";
17
+ export { formatDistance, loadPOIRuntime, POI_DEFAULT_TEXT, POI_PRESETS } from "#poi/runtime";
18
+ export { SubjectPanel } from "./SubjectPanel.tsx";
19
+ export type { SubjectPanelProps } from "./SubjectPanel.tsx";
20
+ export type { CategoryRecord, LiveSearchState, LoadPOIRuntime, POIBrandSubject, POICategorySubject, POIExplorerResult, POILiveSearch, POILiveSearchResult, POIRuntime, POISearchHit, POISubject, POISubjectBase, TaxonomyLookup, } from "#poi/types";
21
+ export { usePOISearch } from "#poi/usePOISearch";
22
+ export type { UsePOISearch, UsePOISearchOptions } from "#poi/usePOISearch";
23
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/poi/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AACjD,YAAY,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AACzD,YAAY,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAA;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AACnD,YAAY,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAA;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAC/C,YAAY,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAA;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAC7C,YAAY,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AACvD,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC5F,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AACjD,YAAY,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AAE3D,YAAY,EACX,cAAc,EACd,eAAe,EACf,cAAc,EACd,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,aAAa,EACb,mBAAmB,EACnB,UAAU,EACV,YAAY,EACZ,UAAU,EACV,cAAc,EACd,cAAc,GACd,MAAM,YAAY,CAAA;AAEnB,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAChD,YAAY,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAA"}
@@ -0,0 +1,15 @@
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
+ export { AbstainPanel } from "./AbstainPanel.js";
8
+ export { LiveResultsBlock } from "./LiveResultsBlock.js";
9
+ export { OverpassBlock } from "./OverpassBlock.js";
10
+ export { POIExplorer } from "./POIExplorer.js";
11
+ export { QueryInput } from "./QueryInput.js";
12
+ export { formatDistance, loadPOIRuntime, POI_DEFAULT_TEXT, POI_PRESETS } from "#poi/runtime";
13
+ export { SubjectPanel } from "./SubjectPanel.js";
14
+ export { usePOISearch } from "#poi/usePOISearch";
15
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../lib/poi/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAoB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAwB,CAAA;AAEzD,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAqB,CAAA;AAEnD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAmB,CAAA;AAE/C,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAkB,CAAA;AAE7C,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC5F,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAoB,CAAA;AAmBjD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../../lib/poi/runtime.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAMH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AAE5C;;;;;;;;;GASG;AACH,wBAAsB,cAAc,IAAI,OAAO,CAAC,UAAU,CAAC,CAiC1D;AAED;;GAEG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;EAMd,CAAA;AAEV;;GAEG;AACH,eAAO,MAAM,gBAAgB,sCAAuB,CAAA;AAEpD;;GAEG;AACH,wBAAgB,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAIxD"}
1
+ {"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../../lib/poi/runtime.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAMH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AAE5C;;;;;;;;;GASG;AACH,wBAAsB,cAAc,IAAI,OAAO,CAAC,UAAU,CAAC,CAiC1D;AAED;;GAEG;AACH,eAAO,MAAM,WAAW;aACrB,KAAK,EAAE,mBAAmB;aAAE,KAAK,EAAE,oCAAoC;;aACvE,KAAK,EAAE,cAAc;aAAE,KAAK,EAAE,cAAc;;aAC5C,KAAK,EAAE,oBAAoB;aAAE,KAAK,EAAE,iCAAiC;;aACrE,KAAK,EAAE,iBAAiB;aAAE,KAAK,EAAE,sBAAsB;;aACvD,KAAK,EAAE,oBAAoB;aAAE,KAAK,EAAE,yBAAyB;EACtD,CAAA;AAEV;;GAEG;AACH,eAAO,MAAM,gBAAgB,sCAAuB,CAAA;AAEpD;;GAEG;AACH,wBAAgB,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAIxD"}
@@ -8,7 +8,8 @@
8
8
  * INJECTED async function ({@link POILiveSearch}) so the httpvfs/worker implementation stays out of this
9
9
  * package's browser graph (it lives in the docs site, which knows where the layer is served).
10
10
  */
11
- import type { POIPhraseLookup, QueryKindResult, createKindClassifier } from "@mailwoman/kind-classifier";
11
+ import type { QueryKindResult } from "@mailwoman/core/pipeline";
12
+ import type { POIPhraseLookup, createKindClassifier } from "@mailwoman/kind-classifier";
12
13
  import type { createPOITaxonomyLookup } from "@mailwoman/poi-taxonomy/table";
13
14
  export type TaxonomyLookup = ReturnType<typeof createPOITaxonomyLookup>;
14
15
  export type CategoryRecord = NonNullable<ReturnType<TaxonomyLookup["getPOICategory"]>>;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../lib/poi/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAA;AACxG,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAA;AAE5E,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAEvE,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC,UAAU,CAAC,cAAc,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAA;AAEtF;;GAEG;AACH,MAAM,WAAW,UAAU;IAC1B,MAAM,EAAE,cAAc,CAAA;IACtB,OAAO,EAAE,eAAe,CAAA;IACxB,QAAQ,EAAE,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAA;CACjD;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC9B,aAAa,EAAE,MAAM,CAAA;IACrB,UAAU,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAA;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,kBAAmB,SAAQ,cAAc;IACzD,IAAI,EAAE,UAAU,CAAA;IAChB,QAAQ,EAAE,cAAc,CAAA;IACxB;;OAEG;IACH,UAAU,EAAE,OAAO,CAAA;CACnB;AAED;;;;GAIG;AACH,MAAM,WAAW,eAAgB,SAAQ,cAAc;IACtD,IAAI,EAAE,OAAO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AS,CAAA;CAAE,GACrB;IAAE,MAAM,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,GACpC;IAAE,MAAM,EAAE,SAAS,CAAC;IAAC,IAAI,EAAE,YAAY,EAAE,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,CAAA;AAElE;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,MAAM,OAAO,CAAC,UAAU,CAAC,CAAA"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @copyright Sister Software
3
+ * @license AGPL-3.0
4
+ * @author Teffen Ellis, et al.
5
+ * @file Node-safe release-runtime exports.
6
+ */
7
+ export { useReleaseRuntime } from "#runtime/useReleaseRuntime";
8
+ export type { AssetsLoadContext, ReleaseBase, ReleaseLoaderState, ReleaseManifest, ReleaseRuntimeConfig, } from "#runtime/useReleaseRuntime";
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/runtime/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAE9D,YAAY,EACX,iBAAiB,EACjB,WAAW,EACX,kBAAkB,EAClB,eAAe,EACf,oBAAoB,GACpB,MAAM,4BAA4B,CAAA"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @copyright Sister Software
3
+ * @license AGPL-3.0
4
+ * @author Teffen Ellis, et al.
5
+ * @file Node-safe release-runtime exports.
6
+ */
7
+ export { useReleaseRuntime } from "#runtime/useReleaseRuntime";
8
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../lib/runtime/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAA"}
@@ -3,8 +3,8 @@
3
3
  * @license AGPL-3.0
4
4
  * @author Teffen Ellis, et al.
5
5
  *
6
- * `useDemoRuntime` — the headless load-orchestration hook shared by every mailwoman demo surface (the
7
- * inline doc-embeds via `DemoEmbed`, and the geocoder map page). It owns the version-selection state
6
+ * `useReleaseRuntime` — the headless load-orchestration hook shared by every mailwoman browser surface (the
7
+ * inline doc-embeds via `RuntimeEmbed`, and the geocoder). It owns the version-selection state
8
8
  * machine, the per-version load SEQUENCING, cancellation, and the ready / loading / error state — but
9
9
  * NOTHING model- or map-specific. The actual asset fetchers (the ONNX classifier factory, the httpvfs
10
10
  * WOF opener, the FST fetch, the releases.json fetch) are INJECTED by the host as async functions, so
@@ -19,7 +19,7 @@
19
19
  /**
20
20
  * The minimal contract a release-manifest entry must satisfy. Hosts extend this with their own fields.
21
21
  */
22
- export interface DemoReleaseBase {
22
+ export interface ReleaseBase {
23
23
  /**
24
24
  * The version tag this entry describes (matched against `selectedVersion`).
25
25
  */
@@ -32,7 +32,7 @@ export interface DemoReleaseBase {
32
32
  /**
33
33
  * The releases manifest the host fetches — the default version plus the selectable release entries.
34
34
  */
35
- export interface DemoManifest<TRelease extends DemoReleaseBase = DemoReleaseBase> {
35
+ export interface ReleaseManifest<TRelease extends ReleaseBase = ReleaseBase> {
36
36
  /**
37
37
  * The version selected on first load (before the user picks another).
38
38
  */
@@ -47,7 +47,7 @@ export interface DemoManifest<TRelease extends DemoReleaseBase = DemoReleaseBase
47
47
  * staged step labels/index THROUGH these setters (all no-op once the load is superseded/aborted), while the hook owns
48
48
  * the terminal state (revealing the assets + clearing progress on success, surfacing the error on failure).
49
49
  */
50
- export interface DemoAssetsLoadContext {
50
+ export interface AssetsLoadContext {
51
51
  /**
52
52
  * Aborts when this load is superseded (version/backend switch) or the provider unmounts.
53
53
  */
@@ -76,37 +76,35 @@ export interface DemoAssetsLoadContext {
76
76
  /**
77
77
  * The injected loaders the hook orchestrates. Nothing here is model- or map-aware — the host owns all that.
78
78
  */
79
- export interface DemoRuntimeConfig<TAssets, TRelease extends DemoReleaseBase = DemoReleaseBase> {
79
+ export interface ReleaseRuntimeConfig<TAssets, TRelease extends ReleaseBase = ReleaseBase> {
80
80
  /**
81
- * Fetch + normalize the releases manifest. Returns `null` when no manifest is available (the demo then shows nothing
82
- * selectable). Rejecting surfaces `errorMessage`. Runs once on mount.
81
+ * Fetch + normalize the releases manifest. Returns `null` when no manifest is available (the surface then shows
82
+ * nothing selectable). Rejecting surfaces `errorMessage`. Runs once on mount.
83
83
  */
84
- loadManifest: (signal: AbortSignal) => Promise<DemoManifest<TRelease> | null>;
84
+ loadManifest: (signal: AbortSignal) => Promise<ReleaseManifest<TRelease> | null>;
85
85
  /**
86
86
  * Load the full asset bundle for one release — the classifier, FST, WOF lookup, calibrator, whatever the host needs.
87
87
  * Runs on every version or `forceWASM` change. Report progress via `ctx`; return the bundle. Rejecting surfaces
88
88
  * `errorMessage`. Bail early when `ctx.signal.aborted` — the hook discards a superseded result regardless.
89
89
  */
90
- loadAssets: (release: TRelease, ctx: DemoAssetsLoadContext) => Promise<TAssets>;
90
+ loadAssets: (release: TRelease, ctx: AssetsLoadContext) => Promise<TAssets>;
91
91
  /**
92
92
  * The progress line shown before the manifest arrives. @default "Loading releases…"
93
93
  */
94
94
  initialProgress?: string;
95
95
  }
96
96
  /**
97
- * The state `useDemoRuntime` produces — the load-orchestration state a demo surface renders + re-projects.
97
+ * The state `useReleaseRuntime` produces — the load-orchestration state a surface renders + re-projects.
98
98
  *
99
- * NAMING (phase 4): this is the LOADER STATE, deliberately distinct from {@link DemoRuntime} (the injected runtime
100
- * contract `<GeocoderDemo>` consumes). The two were same-stem before (`UseDemoRuntime` vs `DemoRuntime`); phase 4
101
- * disambiguates by renaming the loader-state type to `DemoLoaderState`. A host builds a {@link DemoRuntime} by pairing
102
- * this loader state (assets + backend + version) with the map surface (style, overlays, bias, parse) — see the map
103
- * subpath's `DemoRuntime`.
99
+ * This is the LOADER STATE, deliberately distinct from {@link GeocoderRuntime} (the injected runtime contract
100
+ * `<Geocoder>` consumes). A host builds a {@link GeocoderRuntime} by pairing this loader state (assets + backend +
101
+ * version) with the map surface (style, overlays, bias, parse) see the map subpath's `GeocoderRuntime`.
104
102
  */
105
- export interface DemoLoaderState<TAssets, TRelease extends DemoReleaseBase = DemoReleaseBase> {
103
+ export interface ReleaseLoaderState<TAssets, TRelease extends ReleaseBase = ReleaseBase> {
106
104
  /**
107
105
  * The releases manifest, once fetched.
108
106
  */
109
- manifest: DemoManifest<TRelease> | null;
107
+ manifest: ReleaseManifest<TRelease> | null;
110
108
  /**
111
109
  * The currently-selected version, or `null` before the manifest resolves.
112
110
  */
@@ -163,5 +161,5 @@ export interface DemoLoaderState<TAssets, TRelease extends DemoReleaseBase = Dem
163
161
  * change reloads the bundle via `loadAssets`, the previous load aborted first. The assets are revealed ATOMICALLY when
164
162
  * `loadAssets` resolves (so `ready` flips exactly once per load), and consumers wait on `ready`.
165
163
  */
166
- export declare function useDemoRuntime<TAssets, TRelease extends DemoReleaseBase = DemoReleaseBase>(config: DemoRuntimeConfig<TAssets, TRelease>): DemoLoaderState<TAssets, TRelease>;
167
- //# sourceMappingURL=useDemoRuntime.d.ts.map
164
+ export declare function useReleaseRuntime<TAssets, TRelease extends ReleaseBase = ReleaseBase>(config: ReleaseRuntimeConfig<TAssets, TRelease>): ReleaseLoaderState<TAssets, TRelease>;
165
+ //# sourceMappingURL=useReleaseRuntime.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useReleaseRuntime.d.ts","sourceRoot":"","sources":["../../lib/runtime/useReleaseRuntime.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAIH;;GAEG;AACH,MAAM,WAAW,WAAW;IAC3B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;CACd;AAED;;GAEG;AACH,MAAM,WAAW,eAAe,CAAC,QAAQ,SAAS,WAAW,GAAG,WAAW;IAC1E;;OAEG;IACH,cAAc,EAAE,MAAM,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AE,OAAO,CAAA;IACd;;OAEG;IACH,eAAe,EAAE,MAAM,CAAA;IACvB;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAA;IACxB;;OAEG;IACH,iBAAiB,EAAE,MAAM,EAAE,CAAA;IAC3B;;OAEG;IACH,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B;;OAEG;IACH,aAAa,EAAE,MAAM,CAAA;IACrB;;OAEG;IACH,SAAS,EAAE,OAAO,CAAA;IAClB;;OAEG;IACH,aAAa,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;IACxC;;OAEG;IACH,YAAY,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAA;CAC1C;AAED;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,QAAQ,SAAS,WAAW,GAAG,WAAW,EACpF,MAAM,EAAE,oBAAoB,CAAC,OAAO,EAAE,QAAQ,CAAC,GAC7C,kBAAkB,CAAC,OAAO,EAAE,QAAQ,CAAC,CA+HvC"}
@@ -3,8 +3,8 @@
3
3
  * @license AGPL-3.0
4
4
  * @author Teffen Ellis, et al.
5
5
  *
6
- * `useDemoRuntime` — the headless load-orchestration hook shared by every mailwoman demo surface (the
7
- * inline doc-embeds via `DemoEmbed`, and the geocoder map page). It owns the version-selection state
6
+ * `useReleaseRuntime` — the headless load-orchestration hook shared by every mailwoman browser surface (the
7
+ * inline doc-embeds via `RuntimeEmbed`, and the geocoder). It owns the version-selection state
8
8
  * machine, the per-version load SEQUENCING, cancellation, and the ready / loading / error state — but
9
9
  * NOTHING model- or map-specific. The actual asset fetchers (the ONNX classifier factory, the httpvfs
10
10
  * WOF opener, the FST fetch, the releases.json fetch) are INJECTED by the host as async functions, so
@@ -24,7 +24,7 @@ import { useCallback, useEffect, useMemo, useRef, useState } from "react";
24
24
  * change reloads the bundle via `loadAssets`, the previous load aborted first. The assets are revealed ATOMICALLY when
25
25
  * `loadAssets` resolves (so `ready` flips exactly once per load), and consumers wait on `ready`.
26
26
  */
27
- export function useDemoRuntime(config) {
27
+ export function useReleaseRuntime(config) {
28
28
  const { initialProgress = "Loading releases…" } = config;
29
29
  const [manifest, setManifest] = useState(null);
30
30
  const [selectedVersion, setSelectedVersion] = useState(null);
@@ -134,4 +134,4 @@ export function useDemoRuntime(config) {
134
134
  setForceWASM,
135
135
  };
136
136
  }
137
- //# sourceMappingURL=useDemoRuntime.js.map
137
+ //# sourceMappingURL=useReleaseRuntime.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useReleaseRuntime.js","sourceRoot":"","sources":["../../lib/runtime/useReleaseRuntime.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAiJzE;;;;;;GAMG;AACH,MAAM,UAAU,iBAAiB,CAChC,MAA+C;IAE/C,MAAM,EAAE,eAAe,GAAG,mBAAmB,EAAE,GAAG,MAAM,CAAA;IAExD,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAmC,IAAI,CAAC,CAAA;IAChF,MAAM,CAAC,eAAe,EAAE,kBAAkB,CAAC,GAAG,QAAQ,CAAgB,IAAI,CAAC,CAAA;IAC3E,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAiB,IAAI,CAAC,CAAA;IAC1D,MAAM,CAAC,eAAe,EAAE,kBAAkB,CAAC,GAAG,QAAQ,CAAS,eAAe,CAAC,CAAA;IAC/E,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAA;IAC5D,MAAM,CAAC,iBAAiB,EAAE,oBAAoB,CAAC,GAAG,QAAQ,CAAW,EAAE,CAAC,CAAA;IACxE,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,QAAQ,CAAgB,I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,eAAe,GAAG,OAAO,CAC9B,GAAG,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,KAAK,eAAe,CAAC,IAAI,IAAI,EAC3E,CAAC,QAAQ,EAAE,eAAe,CAAC,CAC3B,CAAA;IAED,OAAO;QACN,QAAQ;QACR,eAAe;QACf,eAAe;QACf,MAAM;QACN,KAAK,EAAE,MAAM,KAAK,IAAI;QACtB,eAAe;QACf,gBAAgB;QAChB,iBAAiB;QACjB,YAAY;QACZ,aAAa;QACb,SAAS;QACT,aAAa;QACb,YAAY;KACZ,CAAA;AACF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mailwoman/react",
3
- "version": "9.3.0",
3
+ "version": "10.0.0",
4
4
  "description": "React components + headless hooks for mailwoman — parse/geocode/POI explorers, Storybook-tested, Docusaurus-independent.",
5
5
  "license": "AGPL-3.0-only OR LicenseRef-Commercial",
6
6
  "repository": {
@@ -15,6 +15,10 @@
15
15
  "out/**/*.d.ts.map",
16
16
  "README.md",
17
17
  "styles.css",
18
+ "fonts.css",
19
+ "tokens/index.css",
20
+ "tokens/tokens.json",
21
+ "tokens/tokens.resolver.json",
18
22
  "*.ts",
19
23
  "*.tsx",
20
24
  "**/*.ts",
@@ -34,7 +38,9 @@
34
38
  ],
35
39
  "type": "module",
36
40
  "sideEffects": [
37
- "./styles.css"
41
+ "./styles.css",
42
+ "./fonts.css",
43
+ "./tokens/index.css"
38
44
  ],
39
45
  "imports": {
40
46
  "#index": {
@@ -56,6 +62,9 @@
56
62
  "exports": {
57
63
  "./package.json": "./package.json",
58
64
  "./styles.css": "./styles.css",
65
+ "./tokens.css": "./tokens/index.css",
66
+ "./fonts.css": "./fonts.css",
67
+ "./tokens.json": "./tokens/tokens.json",
59
68
  ".": {
60
69
  "types": "./out/index.d.ts",
61
70
  "node": "./out/index.js",
@@ -76,6 +85,16 @@
76
85
  "node": "./out/common/KindBadge.js",
77
86
  "default": "./out/common/KindBadge.js"
78
87
  },
88
+ "./common/confidence-tiers": {
89
+ "types": "./out/common/confidence-tiers.d.ts",
90
+ "node": "./out/common/confidence-tiers.js",
91
+ "default": "./out/common/confidence-tiers.js"
92
+ },
93
+ "./common/text-tokens": {
94
+ "types": "./out/common/text-tokens.d.ts",
95
+ "node": "./out/common/text-tokens.js",
96
+ "default": "./out/common/text-tokens.js"
97
+ },
79
98
  "./common/LoadingIndicator": {
80
99
  "types": "./out/common/LoadingIndicator.d.ts",
81
100
  "node": "./out/common/LoadingIndicator.js",
@@ -86,15 +105,50 @@
86
105
  "node": "./out/common/PresetChips.js",
87
106
  "default": "./out/common/PresetChips.js"
88
107
  },
89
- "./map/DemoMap": {
90
- "types": "./out/map/DemoMap.d.ts",
91
- "node": "./out/map/DemoMap.js",
92
- "default": "./out/map/DemoMap.js"
93
- },
94
- "./map/GeocoderDemo": {
95
- "types": "./out/map/GeocoderDemo.d.ts",
96
- "node": "./out/map/GeocoderDemo.js",
97
- "default": "./out/map/GeocoderDemo.js"
108
+ "./map/MapCanvas": {
109
+ "types": "./out/map/MapCanvas.d.ts",
110
+ "node": "./out/map/MapCanvas.js",
111
+ "default": "./out/map/MapCanvas.js"
112
+ },
113
+ "./map/MapSearchBar": {
114
+ "types": "./out/map/MapSearchBar.d.ts",
115
+ "node": "./out/map/MapSearchBar.js",
116
+ "default": "./out/map/MapSearchBar.js"
117
+ },
118
+ "./map/MapChipRow": {
119
+ "types": "./out/map/MapChipRow.d.ts",
120
+ "node": "./out/map/MapChipRow.js",
121
+ "default": "./out/map/MapChipRow.js"
122
+ },
123
+ "./map/MapControlStack": {
124
+ "types": "./out/map/MapControlStack.d.ts",
125
+ "node": "./out/map/MapControlStack.js",
126
+ "default": "./out/map/MapControlStack.js"
127
+ },
128
+ "./map/MapCompass": {
129
+ "types": "./out/map/MapCompass.d.ts",
130
+ "node": "./out/map/MapCompass.js",
131
+ "default": "./out/map/MapCompass.js"
132
+ },
133
+ "./map/MapSheet": {
134
+ "types": "./out/map/MapSheet.d.ts",
135
+ "node": "./out/map/MapSheet.js",
136
+ "default": "./out/map/MapSheet.js"
137
+ },
138
+ "./map/MapProgressBar": {
139
+ "types": "./out/map/MapProgressBar.d.ts",
140
+ "node": "./out/map/MapProgressBar.js",
141
+ "default": "./out/map/MapProgressBar.js"
142
+ },
143
+ "./map/MapFooter": {
144
+ "types": "./out/map/MapFooter.d.ts",
145
+ "node": "./out/map/MapFooter.js",
146
+ "default": "./out/map/MapFooter.js"
147
+ },
148
+ "./map/Geocoder": {
149
+ "types": "./out/map/Geocoder.d.ts",
150
+ "node": "./out/map/Geocoder.js",
151
+ "default": "./out/map/Geocoder.js"
98
152
  },
99
153
  "./map/place-render": {
100
154
  "types": "./out/map/place-render.d.ts",
@@ -146,6 +200,46 @@
146
200
  "node": "./out/map/ResultPanel.js",
147
201
  "default": "./out/map/ResultPanel.js"
148
202
  },
203
+ "./map/fake-runtime": {
204
+ "types": "./out/map/fake-runtime.d.ts",
205
+ "node": "./out/map/fake-runtime.js",
206
+ "default": "./out/map/fake-runtime.js"
207
+ },
208
+ "./map/map-debug": {
209
+ "types": "./out/map/map-debug.d.ts",
210
+ "node": "./out/map/map-debug.js",
211
+ "default": "./out/map/map-debug.js"
212
+ },
213
+ "./common/About": {
214
+ "types": "./out/common/About.d.ts",
215
+ "node": "./out/common/About.js",
216
+ "default": "./out/common/About.js"
217
+ },
218
+ "./pipeline/FailureDiagnostic": {
219
+ "types": "./out/pipeline/FailureDiagnostic.d.ts",
220
+ "node": "./out/pipeline/FailureDiagnostic.js",
221
+ "default": "./out/pipeline/FailureDiagnostic.js"
222
+ },
223
+ "./pipeline/SpanHighlight": {
224
+ "types": "./out/pipeline/SpanHighlight.d.ts",
225
+ "node": "./out/pipeline/SpanHighlight.js",
226
+ "default": "./out/pipeline/SpanHighlight.js"
227
+ },
228
+ "./pipeline/TimingPanel": {
229
+ "types": "./out/pipeline/TimingPanel.d.ts",
230
+ "node": "./out/pipeline/TimingPanel.js",
231
+ "default": "./out/pipeline/TimingPanel.js"
232
+ },
233
+ "./pipeline/TreeView": {
234
+ "types": "./out/pipeline/TreeView.d.ts",
235
+ "node": "./out/pipeline/TreeView.js",
236
+ "default": "./out/pipeline/TreeView.js"
237
+ },
238
+ "./map/useMapBearing": {
239
+ "types": "./out/map/useMapBearing.d.ts",
240
+ "node": "./out/map/useMapBearing.js",
241
+ "default": "./out/map/useMapBearing.js"
242
+ },
149
243
  "./map/usePlaceAutocomplete": {
150
244
  "types": "./out/map/usePlaceAutocomplete.d.ts",
151
245
  "node": "./out/map/usePlaceAutocomplete.js",
@@ -201,10 +295,10 @@
201
295
  "node": "./out/poi/usePOISearch.js",
202
296
  "default": "./out/poi/usePOISearch.js"
203
297
  },
204
- "./runtime/useDemoRuntime": {
205
- "types": "./out/runtime/useDemoRuntime.d.ts",
206
- "node": "./out/runtime/useDemoRuntime.js",
207
- "default": "./out/runtime/useDemoRuntime.js"
298
+ "./runtime/useReleaseRuntime": {
299
+ "types": "./out/runtime/useReleaseRuntime.d.ts",
300
+ "node": "./out/runtime/useReleaseRuntime.js",
301
+ "default": "./out/runtime/useReleaseRuntime.js"
208
302
  }
209
303
  },
210
304
  "publishConfig": {
@@ -212,6 +306,9 @@
212
306
  "exports": {
213
307
  "./package.json": "./package.json",
214
308
  "./styles.css": "./styles.css",
309
+ "./tokens.css": "./tokens/index.css",
310
+ "./fonts.css": "./fonts.css",
311
+ "./tokens.json": "./tokens/tokens.json",
215
312
  ".": {
216
313
  "types": "./out/index.d.ts",
217
314
  "node": "./out/index.js",
@@ -232,6 +329,16 @@
232
329
  "node": "./out/common/KindBadge.js",
233
330
  "default": "./out/common/KindBadge.js"
234
331
  },
332
+ "./common/confidence-tiers": {
333
+ "types": "./out/common/confidence-tiers.d.ts",
334
+ "node": "./out/common/confidence-tiers.js",
335
+ "default": "./out/common/confidence-tiers.js"
336
+ },
337
+ "./common/text-tokens": {
338
+ "types": "./out/common/text-tokens.d.ts",
339
+ "node": "./out/common/text-tokens.js",
340
+ "default": "./out/common/text-tokens.js"
341
+ },
235
342
  "./common/LoadingIndicator": {
236
343
  "types": "./out/common/LoadingIndicator.d.ts",
237
344
  "node": "./out/common/LoadingIndicator.js",
@@ -242,15 +349,50 @@
242
349
  "node": "./out/common/PresetChips.js",
243
350
  "default": "./out/common/PresetChips.js"
244
351
  },
245
- "./map/DemoMap": {
246
- "types": "./out/map/DemoMap.d.ts",
247
- "node": "./out/map/DemoMap.js",
248
- "default": "./out/map/DemoMap.js"
352
+ "./map/MapCanvas": {
353
+ "types": "./out/map/MapCanvas.d.ts",
354
+ "node": "./out/map/MapCanvas.js",
355
+ "default": "./out/map/MapCanvas.js"
356
+ },
357
+ "./map/MapSearchBar": {
358
+ "types": "./out/map/MapSearchBar.d.ts",
359
+ "node": "./out/map/MapSearchBar.js",
360
+ "default": "./out/map/MapSearchBar.js"
361
+ },
362
+ "./map/MapChipRow": {
363
+ "types": "./out/map/MapChipRow.d.ts",
364
+ "node": "./out/map/MapChipRow.js",
365
+ "default": "./out/map/MapChipRow.js"
366
+ },
367
+ "./map/MapControlStack": {
368
+ "types": "./out/map/MapControlStack.d.ts",
369
+ "node": "./out/map/MapControlStack.js",
370
+ "default": "./out/map/MapControlStack.js"
371
+ },
372
+ "./map/MapCompass": {
373
+ "types": "./out/map/MapCompass.d.ts",
374
+ "node": "./out/map/MapCompass.js",
375
+ "default": "./out/map/MapCompass.js"
376
+ },
377
+ "./map/MapSheet": {
378
+ "types": "./out/map/MapSheet.d.ts",
379
+ "node": "./out/map/MapSheet.js",
380
+ "default": "./out/map/MapSheet.js"
249
381
  },
250
- "./map/GeocoderDemo": {
251
- "types": "./out/map/GeocoderDemo.d.ts",
252
- "node": "./out/map/GeocoderDemo.js",
253
- "default": "./out/map/GeocoderDemo.js"
382
+ "./map/MapProgressBar": {
383
+ "types": "./out/map/MapProgressBar.d.ts",
384
+ "node": "./out/map/MapProgressBar.js",
385
+ "default": "./out/map/MapProgressBar.js"
386
+ },
387
+ "./map/MapFooter": {
388
+ "types": "./out/map/MapFooter.d.ts",
389
+ "node": "./out/map/MapFooter.js",
390
+ "default": "./out/map/MapFooter.js"
391
+ },
392
+ "./map/Geocoder": {
393
+ "types": "./out/map/Geocoder.d.ts",
394
+ "node": "./out/map/Geocoder.js",
395
+ "default": "./out/map/Geocoder.js"
254
396
  },
255
397
  "./map/place-render": {
256
398
  "types": "./out/map/place-render.d.ts",
@@ -302,6 +444,46 @@
302
444
  "node": "./out/map/ResultPanel.js",
303
445
  "default": "./out/map/ResultPanel.js"
304
446
  },
447
+ "./map/fake-runtime": {
448
+ "types": "./out/map/fake-runtime.d.ts",
449
+ "node": "./out/map/fake-runtime.js",
450
+ "default": "./out/map/fake-runtime.js"
451
+ },
452
+ "./map/map-debug": {
453
+ "types": "./out/map/map-debug.d.ts",
454
+ "node": "./out/map/map-debug.js",
455
+ "default": "./out/map/map-debug.js"
456
+ },
457
+ "./common/About": {
458
+ "types": "./out/common/About.d.ts",
459
+ "node": "./out/common/About.js",
460
+ "default": "./out/common/About.js"
461
+ },
462
+ "./pipeline/FailureDiagnostic": {
463
+ "types": "./out/pipeline/FailureDiagnostic.d.ts",
464
+ "node": "./out/pipeline/FailureDiagnostic.js",
465
+ "default": "./out/pipeline/FailureDiagnostic.js"
466
+ },
467
+ "./pipeline/SpanHighlight": {
468
+ "types": "./out/pipeline/SpanHighlight.d.ts",
469
+ "node": "./out/pipeline/SpanHighlight.js",
470
+ "default": "./out/pipeline/SpanHighlight.js"
471
+ },
472
+ "./pipeline/TimingPanel": {
473
+ "types": "./out/pipeline/TimingPanel.d.ts",
474
+ "node": "./out/pipeline/TimingPanel.js",
475
+ "default": "./out/pipeline/TimingPanel.js"
476
+ },
477
+ "./pipeline/TreeView": {
478
+ "types": "./out/pipeline/TreeView.d.ts",
479
+ "node": "./out/pipeline/TreeView.js",
480
+ "default": "./out/pipeline/TreeView.js"
481
+ },
482
+ "./map/useMapBearing": {
483
+ "types": "./out/map/useMapBearing.d.ts",
484
+ "node": "./out/map/useMapBearing.js",
485
+ "default": "./out/map/useMapBearing.js"
486
+ },
305
487
  "./map/usePlaceAutocomplete": {
306
488
  "types": "./out/map/usePlaceAutocomplete.d.ts",
307
489
  "node": "./out/map/usePlaceAutocomplete.js",
@@ -357,10 +539,10 @@
357
539
  "node": "./out/poi/usePOISearch.js",
358
540
  "default": "./out/poi/usePOISearch.js"
359
541
  },
360
- "./runtime/useDemoRuntime": {
361
- "types": "./out/runtime/useDemoRuntime.d.ts",
362
- "node": "./out/runtime/useDemoRuntime.js",
363
- "default": "./out/runtime/useDemoRuntime.js"
542
+ "./runtime/useReleaseRuntime": {
543
+ "types": "./out/runtime/useReleaseRuntime.d.ts",
544
+ "node": "./out/runtime/useReleaseRuntime.js",
545
+ "default": "./out/runtime/useReleaseRuntime.js"
364
546
  }
365
547
  },
366
548
  "imports": {
@@ -382,30 +564,39 @@
382
564
  }
383
565
  },
384
566
  "scripts": {
567
+ "tokens": "styleframe build styleframe.config.ts --outputDir tokens --clean && styleframe dtcg export --output tokens --collection Mailwoman && oxfmt tokens",
385
568
  "storybook": "storybook dev -p 6007 --no-open",
386
569
  "build-storybook": "storybook build",
387
570
  "test:browser": "vitest run --config vitest.config.ts",
388
571
  "test:node": "vitest run --config vitest.node.config.ts"
389
572
  },
390
573
  "dependencies": {
391
- "@mailwoman/kind-classifier": "9.3.0",
392
- "@mailwoman/poi-taxonomy": "9.3.0",
393
- "@mailwoman/query-shape": "9.3.0"
574
+ "@mailwoman/core": "10.0.0",
575
+ "@mailwoman/kind-classifier": "10.0.0",
576
+ "@mailwoman/poi-taxonomy": "10.0.0",
577
+ "@mailwoman/query-shape": "10.0.0"
394
578
  },
395
579
  "devDependencies": {
396
580
  "@storybook/addon-docs": "^10.6.0",
397
581
  "@storybook/react-vite": "^10.6.0",
582
+ "@styleframe/core": "^3.6.2",
583
+ "@styleframe/license": "^2.0.2",
584
+ "@styleframe/loader": "^3.0.4",
585
+ "@styleframe/plugin": "^3.4.1",
586
+ "@styleframe/transpiler": "^3.4.2",
398
587
  "@types/react": "^19.2.18",
399
588
  "@types/react-dom": "^19.2.7",
400
589
  "@vitejs/plugin-react": "^6.1.1",
401
590
  "@vitest/browser-playwright": "4.1.11",
402
591
  "maplibre-gl": "^6.7.0",
592
+ "oxfmt": "0.66.0",
403
593
  "playwright": "^1.63.0",
404
594
  "react": "^19.2.8",
405
595
  "react-dom": "^19.2.8",
406
596
  "react-map-gl": "^8.1.3",
407
597
  "storybook": "^10.6.0",
408
- "typescript": "^6.0.3",
598
+ "styleframe": "^3.9.1",
599
+ "typescript": "npm:@typescript/typescript6@^6.0.2",
409
600
  "vite": "^8.2.2",
410
601
  "vitest": "4.1.11"
411
602
  },