@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.
- package/fonts.css +59 -0
- package/lib/common/About.tsx +105 -0
- package/lib/common/KindBadge.tsx +2 -7
- package/lib/common/confidence-tiers.ts +50 -0
- package/lib/common/index.ts +22 -0
- package/lib/common/text-tokens.ts +88 -0
- package/lib/index.ts +10 -103
- package/lib/map/BackendControl.tsx +7 -3
- package/lib/map/CompareToggle.tsx +5 -4
- package/lib/map/{GeocoderDemo.tsx → Geocoder.tsx} +81 -61
- package/lib/map/GeocoderControls.tsx +352 -0
- package/lib/map/{DemoMap.tsx → MapCanvas.tsx} +15 -15
- package/lib/map/MapChipRow.tsx +77 -0
- package/lib/map/MapCompass.tsx +77 -0
- package/lib/map/MapControlStack.tsx +98 -0
- package/lib/map/MapFooter.tsx +115 -0
- package/lib/map/MapProgressBar.tsx +58 -0
- package/lib/map/MapSearchBar.tsx +68 -0
- package/lib/map/MapSheet.tsx +62 -0
- package/lib/map/PlaceMarker.tsx +1 -1
- package/lib/map/ResolvedPlaceLayers.tsx +3 -3
- package/lib/map/ResultCamera.tsx +1 -1
- package/lib/map/ResultPanel.tsx +2 -2
- package/lib/map/VersionPicker.tsx +3 -3
- package/lib/map/fake-runtime.ts +122 -0
- package/lib/map/index.ts +35 -16
- package/lib/map/map-debug.ts +51 -0
- package/lib/map/place-render.ts +3 -2
- package/lib/map/types.ts +58 -42
- package/lib/map/{useDemoGeocode.ts → useGeocode.ts} +8 -8
- package/lib/map/useMapBearing.ts +56 -0
- package/lib/map/useMapLabelPick.ts +123 -0
- package/lib/pipeline/CandidatePicker.tsx +1 -1
- package/lib/pipeline/ComponentTable.tsx +1 -2
- package/lib/pipeline/ConfidenceCell.tsx +7 -19
- package/lib/pipeline/FailureDiagnostic.tsx +56 -0
- package/lib/pipeline/ResolvedPlace.tsx +17 -4
- package/lib/pipeline/SpanHighlight.tsx +97 -0
- package/lib/pipeline/TimingPanel.tsx +65 -0
- package/lib/pipeline/TreeView.tsx +55 -0
- package/lib/pipeline/copy.ts +1 -1
- package/lib/pipeline/index.ts +36 -0
- package/lib/pipeline/types.ts +2 -75
- package/lib/pipeline/useParsePipeline.ts +31 -19
- package/lib/poi/index.ts +39 -0
- package/lib/poi/types.ts +2 -1
- package/lib/runtime/index.ts +16 -0
- package/lib/runtime/{useDemoRuntime.ts → useReleaseRuntime.ts} +22 -24
- package/out/common/About.d.ts +21 -0
- package/out/common/About.d.ts.map +1 -0
- package/out/common/About.js +8 -0
- package/out/common/About.js.map +1 -0
- package/out/common/KindBadge.d.ts +2 -9
- package/out/common/KindBadge.d.ts.map +1 -1
- package/out/common/KindBadge.js.map +1 -1
- package/out/common/confidence-tiers.d.ts +36 -0
- package/out/common/confidence-tiers.d.ts.map +1 -0
- package/out/common/confidence-tiers.js +42 -0
- package/out/common/confidence-tiers.js.map +1 -0
- package/out/common/index.d.ts +22 -0
- package/out/common/index.d.ts.map +1 -0
- package/out/common/index.js +15 -0
- package/out/common/index.js.map +1 -0
- package/out/common/text-tokens.d.ts +46 -0
- package/out/common/text-tokens.d.ts.map +1 -0
- package/out/common/text-tokens.js +52 -0
- package/out/common/text-tokens.js.map +1 -0
- package/out/index.d.ts +5 -51
- package/out/index.d.ts.map +1 -1
- package/out/index.js +4 -30
- package/out/index.js.map +1 -1
- package/out/map/BackendControl.d.ts.map +1 -1
- package/out/map/BackendControl.js +1 -1
- package/out/map/BackendControl.js.map +1 -1
- package/out/map/CompareToggle.d.ts +2 -2
- package/out/map/CompareToggle.d.ts.map +1 -1
- package/out/map/CompareToggle.js +1 -1
- package/out/map/CompareToggle.js.map +1 -1
- package/out/map/Geocoder.d.ts +67 -0
- package/out/map/Geocoder.d.ts.map +1 -0
- package/out/map/Geocoder.js +98 -0
- package/out/map/Geocoder.js.map +1 -0
- package/out/map/GeocoderControls.d.ts +81 -0
- package/out/map/GeocoderControls.d.ts.map +1 -0
- package/out/map/GeocoderControls.js +79 -0
- package/out/map/GeocoderControls.js.map +1 -0
- package/out/map/{DemoMap.d.ts → MapCanvas.d.ts} +15 -15
- package/out/map/MapCanvas.d.ts.map +1 -0
- package/out/map/{DemoMap.js → MapCanvas.js} +2 -2
- package/out/map/MapCanvas.js.map +1 -0
- package/out/map/MapChipRow.d.ts +47 -0
- package/out/map/MapChipRow.d.ts.map +1 -0
- package/out/map/MapChipRow.js +12 -0
- package/out/map/MapChipRow.js.map +1 -0
- package/out/map/MapCompass.d.ts +42 -0
- package/out/map/MapCompass.d.ts.map +1 -0
- package/out/map/MapCompass.js +11 -0
- package/out/map/MapCompass.js.map +1 -0
- package/out/map/MapControlStack.d.ts +57 -0
- package/out/map/MapControlStack.d.ts.map +1 -0
- package/out/map/MapControlStack.js +15 -0
- package/out/map/MapControlStack.js.map +1 -0
- package/out/map/MapFooter.d.ts +40 -0
- package/out/map/MapFooter.d.ts.map +1 -0
- package/out/map/MapFooter.js +51 -0
- package/out/map/MapFooter.js.map +1 -0
- package/out/map/MapProgressBar.d.ts +34 -0
- package/out/map/MapProgressBar.d.ts.map +1 -0
- package/out/map/MapProgressBar.js +8 -0
- package/out/map/MapProgressBar.js.map +1 -0
- package/out/map/MapSearchBar.d.ts +49 -0
- package/out/map/MapSearchBar.d.ts.map +1 -0
- package/out/map/MapSearchBar.js +6 -0
- package/out/map/MapSearchBar.js.map +1 -0
- package/out/map/MapSheet.d.ts +32 -0
- package/out/map/MapSheet.d.ts.map +1 -0
- package/out/map/MapSheet.js +33 -0
- package/out/map/MapSheet.js.map +1 -0
- package/out/map/OverlayLayers.js +1 -1
- package/out/map/PlaceMarker.d.ts +1 -1
- package/out/map/ResolvedPlaceLayers.d.ts +3 -3
- package/out/map/ResolvedPlaceLayers.js +1 -1
- package/out/map/ResultCamera.d.ts +1 -1
- package/out/map/ResultCamera.js +1 -1
- package/out/map/ResultPanel.d.ts +2 -2
- package/out/map/ResultPanel.d.ts.map +1 -1
- package/out/map/ResultPanel.js +1 -1
- package/out/map/ResultPanel.js.map +1 -1
- package/out/map/VersionPicker.d.ts +3 -3
- package/out/map/VersionPicker.d.ts.map +1 -1
- package/out/map/fake-runtime.d.ts +38 -0
- package/out/map/fake-runtime.d.ts.map +1 -0
- package/out/map/fake-runtime.js +107 -0
- package/out/map/fake-runtime.js.map +1 -0
- package/out/map/index.d.ts +27 -10
- package/out/map/index.d.ts.map +1 -1
- package/out/map/index.js +16 -6
- package/out/map/index.js.map +1 -1
- package/out/map/map-debug.d.ts +31 -0
- package/out/map/map-debug.d.ts.map +1 -0
- package/out/map/map-debug.js +31 -0
- package/out/map/map-debug.js.map +1 -0
- package/out/map/place-render.d.ts +2 -2
- package/out/map/place-render.d.ts.map +1 -1
- package/out/map/place-render.js +1 -1
- package/out/map/place-render.js.map +1 -1
- package/out/map/types.d.ts +60 -42
- package/out/map/types.d.ts.map +1 -1
- package/out/map/types.js +5 -5
- package/out/map/{useDemoGeocode.d.ts → useGeocode.d.ts} +9 -9
- package/out/map/useGeocode.d.ts.map +1 -0
- package/out/map/{useDemoGeocode.js → useGeocode.js} +4 -4
- package/out/map/useGeocode.js.map +1 -0
- package/out/map/useMapBearing.d.ts +28 -0
- package/out/map/useMapBearing.d.ts.map +1 -0
- package/out/map/useMapBearing.js +35 -0
- package/out/map/useMapBearing.js.map +1 -0
- package/out/map/useMapLabelPick.d.ts +23 -0
- package/out/map/useMapLabelPick.d.ts.map +1 -0
- package/out/map/useMapLabelPick.js +104 -0
- package/out/map/useMapLabelPick.js.map +1 -0
- package/out/pipeline/CandidatePicker.d.ts +1 -1
- package/out/pipeline/CandidatePicker.d.ts.map +1 -1
- package/out/pipeline/CandidatePicker.js +1 -1
- package/out/pipeline/CandidatePicker.js.map +1 -1
- package/out/pipeline/ComponentTable.d.ts +1 -1
- package/out/pipeline/ComponentTable.d.ts.map +1 -1
- package/out/pipeline/ComponentTable.js.map +1 -1
- package/out/pipeline/ConfidenceCell.d.ts +2 -2
- package/out/pipeline/ConfidenceCell.d.ts.map +1 -1
- package/out/pipeline/ConfidenceCell.js +4 -16
- package/out/pipeline/ConfidenceCell.js.map +1 -1
- package/out/pipeline/FailureDiagnostic.d.ts +15 -0
- package/out/pipeline/FailureDiagnostic.d.ts.map +1 -0
- package/out/pipeline/FailureDiagnostic.js +21 -0
- package/out/pipeline/FailureDiagnostic.js.map +1 -0
- package/out/pipeline/PipelineExplorer.js +1 -1
- package/out/pipeline/QueryForm.js +1 -1
- package/out/pipeline/ResolvedPlace.d.ts +1 -1
- package/out/pipeline/ResolvedPlace.d.ts.map +1 -1
- package/out/pipeline/ResolvedPlace.js +4 -10
- package/out/pipeline/ResolvedPlace.js.map +1 -1
- package/out/pipeline/SpanHighlight.d.ts +23 -0
- package/out/pipeline/SpanHighlight.d.ts.map +1 -0
- package/out/pipeline/SpanHighlight.js +31 -0
- package/out/pipeline/SpanHighlight.js.map +1 -0
- package/out/pipeline/TimingPanel.d.ts +16 -0
- package/out/pipeline/TimingPanel.d.ts.map +1 -0
- package/out/pipeline/TimingPanel.js +20 -0
- package/out/pipeline/TimingPanel.js.map +1 -0
- package/out/pipeline/TreeView.d.ts +17 -0
- package/out/pipeline/TreeView.d.ts.map +1 -0
- package/out/pipeline/TreeView.js +15 -0
- package/out/pipeline/TreeView.js.map +1 -0
- package/out/pipeline/copy.d.ts +1 -1
- package/out/pipeline/copy.d.ts.map +1 -1
- package/out/pipeline/index.d.ts +33 -0
- package/out/pipeline/index.d.ts.map +1 -0
- package/out/pipeline/index.js +21 -0
- package/out/pipeline/index.js.map +1 -0
- package/out/pipeline/types.d.ts +2 -68
- package/out/pipeline/types.d.ts.map +1 -1
- package/out/pipeline/types.js +1 -1
- package/out/pipeline/useParsePipeline.d.ts +7 -3
- package/out/pipeline/useParsePipeline.d.ts.map +1 -1
- package/out/pipeline/useParsePipeline.js +6 -2
- package/out/pipeline/useParsePipeline.js.map +1 -1
- package/out/poi/LiveResultsBlock.js +1 -1
- package/out/poi/POIExplorer.js +1 -1
- package/out/poi/SubjectPanel.js +1 -1
- package/out/poi/index.d.ts +23 -0
- package/out/poi/index.d.ts.map +1 -0
- package/out/poi/index.js +15 -0
- package/out/poi/index.js.map +1 -0
- package/out/poi/runtime.d.ts.map +1 -1
- package/out/poi/types.d.ts +2 -1
- package/out/poi/types.d.ts.map +1 -1
- package/out/runtime/index.d.ts +9 -0
- package/out/runtime/index.d.ts.map +1 -0
- package/out/runtime/index.js +8 -0
- package/out/runtime/index.js.map +1 -0
- package/out/runtime/{useDemoRuntime.d.ts → useReleaseRuntime.d.ts} +18 -20
- package/out/runtime/useReleaseRuntime.d.ts.map +1 -0
- package/out/runtime/{useDemoRuntime.js → useReleaseRuntime.js} +4 -4
- package/out/runtime/useReleaseRuntime.js.map +1 -0
- package/package.json +222 -31
- package/styleframe.config.ts +329 -0
- package/styles.css +1995 -663
- package/tokens/index.css +116 -0
- package/tokens/tokens.json +528 -0
- package/tokens/tokens.resolver.json +185 -0
- package/lib/map/DemoControls.tsx +0 -194
- package/out/map/DemoControls.d.ts +0 -64
- package/out/map/DemoControls.d.ts.map +0 -1
- package/out/map/DemoControls.js +0 -30
- package/out/map/DemoControls.js.map +0 -1
- package/out/map/DemoMap.d.ts.map +0 -1
- package/out/map/DemoMap.js.map +0 -1
- package/out/map/GeocoderDemo.d.ts +0 -57
- package/out/map/GeocoderDemo.d.ts.map +0 -1
- package/out/map/GeocoderDemo.js +0 -98
- package/out/map/GeocoderDemo.js.map +0 -1
- package/out/map/useDemoGeocode.d.ts.map +0 -1
- package/out/map/useDemoGeocode.js.map +0 -1
- package/out/runtime/useDemoRuntime.d.ts.map +0 -1
- package/out/runtime/useDemoRuntime.js.map +0 -1
package/out/poi/SubjectPanel.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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"}
|
package/out/poi/index.js
ADDED
|
@@ -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"}
|
package/out/poi/runtime.d.ts.map
CHANGED
|
@@ -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
|
|
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"}
|
package/out/poi/types.d.ts
CHANGED
|
@@ -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 {
|
|
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"]>>;
|
package/out/poi/types.d.ts.map
CHANGED
|
@@ -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;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../lib/poi/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAA;AAC/D,OAAO,KAAK,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAA;AACvF,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,CAAA;IACb;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;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,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 @@
|
|
|
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
|
-
* `
|
|
7
|
-
* inline doc-embeds via `
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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<
|
|
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:
|
|
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 `
|
|
97
|
+
* The state `useReleaseRuntime` produces — the load-orchestration state a surface renders + re-projects.
|
|
98
98
|
*
|
|
99
|
-
*
|
|
100
|
-
*
|
|
101
|
-
*
|
|
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
|
|
103
|
+
export interface ReleaseLoaderState<TAssets, TRelease extends ReleaseBase = ReleaseBase> {
|
|
106
104
|
/**
|
|
107
105
|
* The releases manifest, once fetched.
|
|
108
106
|
*/
|
|
109
|
-
manifest:
|
|
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
|
|
167
|
-
//# sourceMappingURL=
|
|
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,CAAA;IACtB;;OAEG;IACH,QAAQ,EAAE,QAAQ,EAAE,CAAA;CACpB;AAED;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IACjC;;OAEG;IACH,MAAM,EAAE,WA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AAM,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
|
-
* `
|
|
7
|
-
* inline doc-embeds via `
|
|
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
|
|
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=
|
|
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,IAAI,CAAC,CAAA;IACrE,MAAM,CAAC,aAAa,EAAE,gB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,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": "
|
|
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/
|
|
90
|
-
"types": "./out/map/
|
|
91
|
-
"node": "./out/map/
|
|
92
|
-
"default": "./out/map/
|
|
93
|
-
},
|
|
94
|
-
"./map/
|
|
95
|
-
"types": "./out/map/
|
|
96
|
-
"node": "./out/map/
|
|
97
|
-
"default": "./out/map/
|
|
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/
|
|
205
|
-
"types": "./out/runtime/
|
|
206
|
-
"node": "./out/runtime/
|
|
207
|
-
"default": "./out/runtime/
|
|
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/
|
|
246
|
-
"types": "./out/map/
|
|
247
|
-
"node": "./out/map/
|
|
248
|
-
"default": "./out/map/
|
|
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/
|
|
251
|
-
"types": "./out/map/
|
|
252
|
-
"node": "./out/map/
|
|
253
|
-
"default": "./out/map/
|
|
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/
|
|
361
|
-
"types": "./out/runtime/
|
|
362
|
-
"node": "./out/runtime/
|
|
363
|
-
"default": "./out/runtime/
|
|
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/
|
|
392
|
-
"@mailwoman/
|
|
393
|
-
"@mailwoman/
|
|
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
|
-
"
|
|
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
|
},
|