@classic-homes/maps-core 0.7.2 → 0.7.4

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/dist/index.d.cts CHANGED
@@ -4,7 +4,7 @@ import { G as GeoJSONFeatureCollection } from './data-DCyEqgN0.cjs';
4
4
  export { B as BoundsArray, C as ClusterConfig, E as ExtrusionData, a as GeoJSONFeature, b as GeoJSONGeometry, c as GeoJSONLineString, d as GeoJSONMultiLineString, e as GeoJSONMultiPoint, f as GeoJSONMultiPolygon, g as GeoJSONPoint, h as GeoJSONPolygon, H as HeatmapPoint, L as LngLat, M as MapBounds, i as MapSourceData, j as MapViewport, k as MarkerData } from './data-DCyEqgN0.cjs';
5
5
  import { BasemapDefinition, BasemapApiKeys, MapStyleSpec } from './types/index.cjs';
6
6
  export { BaseControlProps, BaseLayerProps, BaseMapEventParams, BaseMapProps, BasemapCategory, BasemapProvider, BasemapSwitcherProps, CircleLayerProps, ControlPosition, CoordinateDisplayProps, FeatureClickEventParams, FeatureHoverEventParams, FillExtrusionLayerProps, FillLayerProps, GeolocateControlProps, GradientStop, HeatmapLayerProps, LegendConfig, LegendGroupProps, LegendItem, LegendProps, LineLayerProps, MapClickEventParams, MapErrorEventParams, MapErrorLike, MapHoverEventParams, MapLayerSpecBase, MapLoadEventParams, MapMoveEventParams, MapProps, MapSourceSpec, MarkerClickEventParams, MarkerDragEventParams, MarkerProps, NavigationControlProps, PopupEventParams, PopupProps, RasterLayerProps, ScaleControlProps, SourceProps, SymbolLayerProps } from './types/index.cjs';
7
- export { C as ClusterCircleStyleOptions, a as ClusterExpandOptions, b as ClusterExpansionResult, c as ClusterFeatureProperties, d as ClusterLayerStyles, h as ClusterTextStyleOptions, j as ColorExpression, k as CoordinateValidationResult, D as DEFAULT_SIMPLIFICATION_THRESHOLDS, l as DynamicLODOptions, m as DynamicLODState, E as ExtrusionHeightOptions, F as FeatureGroup, n as FilterExpression, o as FilterOperator, p as FilterValue, G as GenerateLODOptions, q as GeoJSONFingerprint, r as GroupFeaturesOptions, K as KEYBOARD_CONTROLS, L as LODData, s as LODDataWithSimplification, t as LoadGeoJSONOptions, u as LoadGeoJSONResult, v as LotFillStyleOptions, w as LotOutlineStyleOptions, M as MARKER_PROTECTION_CLASS, N as NumberExpression, P as PaintProps, y as PaintPropsDiff, S as SimplificationStats, z as SimplificationThreshold, U as UnclusteredPointStyleOptions, V as ValidationResult, A as applyMarkerChildProtection, B as applyMarkerProtection, H as boundsToPolygon, I as calculateBounds, J as calculateCentroid, O as calculateZoomThresholds, Q as clampLatitude, R as combineBounds, T as countFeaturesByType, W as createCategoricalColorExpression, X as createCircleStyle, Y as createClusterCirclePaint, Z as createClusterStyles, _ as createClusterTextLayout, $ as createContinuousColorExpression, a0 as createDynamicLODManager, a1 as createExtrusionHeightExpression, a2 as createExtrusionStyle, a3 as createFillStyle, a4 as createGeoJSONFingerprint, a5 as createHeatmapStyle, a6 as createHoverExpression, a7 as createInteractiveExpression, a8 as createInteractiveStatusColorExpression, a9 as createLineStyle, aa as createLotFillStyle, ab as createLotOutlineStyle, ac as createSelectionExpression, ad as createStatusColorExpression, ae as createZoomExpression, af as decimalToDMS, ag as deepEqual, ah as ensureValidCoordinates, ai as expandCluster, aj as expandClusterToBounds, ak as extendBounds, al as filterByGeometryType, am as filterEqual, an as fingerprintEqual, ao as formatArea, ap as formatBearing, aq as formatBounds, ar as formatCoordinates, as as formatDistance, at as formatFeatureProperties, au as formatLabel, av as formatPitch, aw as formatPropertyValue, ax as formatScale, ay as formatZoom, az as generateBoundingPolygon, aA as generateConvexHull, aB as generateFeatureCollectionDescription, aC as generateFeatureTable, aD as generateKeyboardControlsDescription, aE as generateLODData, aF as generateLODDataWithSimplification, aG as generateMapDescription, aH as generateMarkerList, aI as generateMarkersDescription, aJ as generateMoveAnnouncement, aK as geoJSONEqual, aL as getChangedPaintProps, aM as getClusterBounds, aN as getClusterChildren, aO as getClusterExpansionZoom, aP as getClusterLeaves, aQ as getGridNavigationIndex, aR as getHighlightStyle, aS as getSelectionStyle, aT as getSimplificationToleranceForZoom, aU as getSimplifiedFeaturesForZoom, aV as groupFeaturesByProperty, aW as isClusterFeature, aX as isValidBounds, aY as isValidLatitude, aZ as isValidLongitude, a_ as loadGeoJSON, a$ as normalizeLongitude, b0 as paintPropsEqual, b1 as removeMarkerProtection, b2 as resetWorkerUrlWarning, b3 as serializeFilter, b4 as simplifyFeature, b5 as simplifyFeatureCollection, b6 as simplifyFeatureCollectionWithStats, b7 as simplifyPolygon, b8 as validateBoundsArray, b9 as validateCoordinates, ba as validateGeoJSON, bb as warnIfWorkerUrlMissing, bc as zoomToScale } from './worker-BvmbGSPq.cjs';
7
+ export { C as ClusterCircleStyleOptions, a as ClusterExpandOptions, b as ClusterExpansionResult, c as ClusterFeatureProperties, d as ClusterLayerStyles, h as ClusterTextStyleOptions, j as ColorExpression, k as CoordinateValidationResult, D as DEFAULT_SIMPLIFICATION_THRESHOLDS, l as DeckHostMap, m as DynamicLODOptions, n as DynamicLODState, E as ExtrusionHeightOptions, F as FeatureGroup, o as FilterExpression, p as FilterOperator, q as FilterValue, G as GenerateLODOptions, r as GeoJSONFingerprint, s as GroupFeaturesOptions, K as KEYBOARD_CONTROLS, L as LODData, t as LODDataWithSimplification, u as LoadGeoJSONOptions, v as LoadGeoJSONResult, w as LotFillStyleOptions, x as LotOutlineStyleOptions, M as MARKER_PROTECTION_CLASS, N as NumberExpression, P as PaintProps, z as PaintPropsDiff, S as SimplificationStats, A as SimplificationThreshold, U as UnclusteredPointStyleOptions, V as ValidationResult, B as applyMarkerChildProtection, H as applyMarkerProtection, I as boundsToPolygon, J as calculateBounds, O as calculateCentroid, Q as calculateZoomThresholds, R as clampLatitude, T as combineBounds, W as countFeaturesByType, X as createCategoricalColorExpression, Y as createCircleStyle, Z as createClusterCirclePaint, _ as createClusterStyles, $ as createClusterTextLayout, a0 as createContinuousColorExpression, a1 as createDynamicLODManager, a2 as createExtrusionHeightExpression, a3 as createExtrusionStyle, a4 as createFillStyle, a5 as createGeoJSONFingerprint, a6 as createHeatmapStyle, a7 as createHoverExpression, a8 as createInteractiveExpression, a9 as createInteractiveStatusColorExpression, aa as createLineStyle, ab as createLotFillStyle, ac as createLotOutlineStyle, ad as createSelectionExpression, ae as createStatusColorExpression, af as createZoomExpression, ag as decimalToDMS, ah as deepEqual, ai as ensureValidCoordinates, aj as expandCluster, ak as expandClusterToBounds, al as extendBounds, am as filterByGeometryType, an as filterEqual, ao as fingerprintEqual, ap as formatArea, aq as formatBearing, ar as formatBounds, as as formatCoordinates, at as formatDistance, au as formatFeatureProperties, av as formatLabel, aw as formatPitch, ax as formatPropertyValue, ay as formatScale, az as formatZoom, aA as generateBoundingPolygon, aB as generateConvexHull, aC as generateFeatureCollectionDescription, aD as generateFeatureTable, aE as generateKeyboardControlsDescription, aF as generateLODData, aG as generateLODDataWithSimplification, aH as generateMapDescription, aI as generateMarkerList, aJ as generateMarkersDescription, aK as generateMoveAnnouncement, aL as geoJSONEqual, aM as getChangedPaintProps, aN as getClusterBounds, aO as getClusterChildren, aP as getClusterExpansionZoom, aQ as getClusterLeaves, aR as getGridNavigationIndex, aS as getHighlightStyle, aT as getSelectionStyle, aU as getSimplificationToleranceForZoom, aV as getSimplifiedFeaturesForZoom, aW as groupFeaturesByProperty, aX as isClusterFeature, aY as isValidBounds, aZ as isValidLatitude, a_ as isValidLongitude, a$ as loadGeoJSON, b0 as normalizeLongitude, b1 as paintPropsEqual, b2 as removeMarkerProtection, b3 as resetWorkerUrlWarning, b4 as resolveDeckInterleaved, b5 as serializeFilter, b6 as simplifyFeature, b7 as simplifyFeatureCollection, b8 as simplifyFeatureCollectionWithStats, b9 as simplifyPolygon, ba as supportsDeckInterleaving, bb as validateBoundsArray, bc as validateCoordinates, bd as validateGeoJSON, be as warnIfWorkerUrlMissing, bf as zoomToScale } from './deck-Cvmx9g1O.cjs';
8
8
  export { B as BuildRTreeIndexOptions, a as BuildSpatialIndexOptions, I as IdleViewportManagerOptions, b as IdleViewportResult, P as PanVelocity, c as PredictiveViewportResult, Q as QuerySpatialIndexOptions, d as QueryStats, R as RTreeIndex, e as RTreeItem, f as RTreeQueryStats, S as SpatialIndex, V as ViewportManagedDataOptions, g as ViewportManagedResult, h as buildRTreeIndex, i as buildSpatialIndex, j as createIdleViewportManager, k as createPredictiveViewportManager, l as createRTreeViewportManager, m as createViewportManager, n as createViewportQuery, q as queryByBounds, o as queryByBoundsWithStats, p as queryRTreeByBounds, r as queryRTreeByBoundsWithStats } from './spatial-pNn2rgAH.cjs';
9
9
  import 'rbush';
10
10
 
@@ -104,6 +104,16 @@ interface OverlayLayerStyle {
104
104
  dark: Record<string, unknown>;
105
105
  /** Layout properties (shared between themes) */
106
106
  layout?: Record<string, unknown>;
107
+ /**
108
+ * Line paint for a full-strength outline round a `fill` layer, drawn as its
109
+ * own line layer (`<layer id>-outline`). Use it when the outline must meet
110
+ * 3:1 on the basemap: MapLibre draws `fill-outline-color` at `fill-opacity`.
111
+ * A theme without paint draws no outline.
112
+ */
113
+ outline?: {
114
+ light?: Record<string, unknown>;
115
+ dark?: Record<string, unknown>;
116
+ };
107
117
  /** Minimum zoom level for the layer */
108
118
  minZoom?: number;
109
119
  /** Maximum zoom level for the layer */
@@ -276,6 +286,13 @@ declare function resolveLayerSourceUrl(layer: OverlayLayerDefinition, apiKeys?:
276
286
  * Get the appropriate style for the current theme
277
287
  */
278
288
  declare function getLayerStyleForTheme(layer: OverlayLayerDefinition, theme: 'light' | 'dark'): Record<string, unknown>;
289
+ /** Suffix of the line layer that draws a layer's `style.outline` */
290
+ declare const OUTLINE_LAYER_SUFFIX = "-outline";
291
+ /**
292
+ * Get the outline line paint for the given theme, or undefined when the
293
+ * layer draws no outline in it (only `fill` layers draw one)
294
+ */
295
+ declare function getOutlineStyleForTheme(layer: OverlayLayerDefinition, theme: 'light' | 'dark'): Record<string, unknown> | undefined;
279
296
  /**
280
297
  * Search layers by name, description, or tags
281
298
  */
@@ -647,34 +664,34 @@ declare function createPositioningCoordinator(): PositioningCoordinator;
647
664
  * Lot availability status colors
648
665
  */
649
666
  declare const lotAvailabilityColors: {
650
- readonly Available: "#4caf50";
651
- readonly Future: "#795548";
652
- readonly Spec: "#FFEB3B";
653
- readonly Model: "#CE93D8";
654
- readonly 'Under Contract': "#81D4FA";
655
- readonly Sold: "#f44336";
656
- readonly Unavailable: "#757575";
657
- readonly Unknown: "#757575";
667
+ readonly Available: "#1b373b";
668
+ readonly Future: "#7a5837";
669
+ readonly Spec: "#4a8a6f";
670
+ readonly Model: "#6a5280";
671
+ readonly 'Under Contract': "#34999c";
672
+ readonly Sold: "#50504f";
673
+ readonly Unavailable: "#767574";
674
+ readonly Unknown: "#767574";
658
675
  };
659
676
  type LotAvailability = keyof typeof lotAvailabilityColors;
660
677
  /**
661
678
  * Inventory home status colors
662
679
  */
663
680
  declare const inventoryStatusColors: {
664
- readonly 'Ready Now': "#2E7D32";
665
- readonly Upcoming: "#ED6C02";
666
- readonly default: "#757575";
681
+ readonly 'Ready Now': "#1b373b";
682
+ readonly Upcoming: "#2b4660";
683
+ readonly default: "#767574";
667
684
  };
668
685
  type InventoryStatus = keyof typeof inventoryStatusColors;
669
686
  /**
670
- * Lot size category colors
687
+ * Lot size category colors: one sequential sage-to-teal ramp, smallest lightest
671
688
  */
672
689
  declare const lotSizeColors: {
673
- readonly Small: "#2196f3";
674
- readonly Medium: "#4caf50";
675
- readonly Large: "#ff9800";
676
- readonly 'Extra Large': "#f44336";
677
- readonly Unknown: "#757575";
690
+ readonly Small: "#81856e";
691
+ readonly Medium: "#6c705b";
692
+ readonly Large: "#2e5a4a";
693
+ readonly 'Extra Large': "#1b373b";
694
+ readonly Unknown: "#767574";
678
695
  };
679
696
  type LotSize = keyof typeof lotSizeColors;
680
697
  /**
@@ -690,37 +707,45 @@ declare function getSizeColor(size: string): string;
690
707
 
691
708
  /**
692
709
  * Map Feature Colors
693
- * Colors for common map visualization features.
710
+ * Colors for common map visualization features (Digital Color Reference v2.5).
711
+ */
712
+ /**
713
+ * Default marker pin: Heritage Teal (11.82:1 on the basemap land colour)
694
714
  */
715
+ declare const markerColor: "#1b373b";
695
716
  /**
696
- * Cluster visualization colors (using brand tokens)
717
+ * Cluster visualization colors. Each circle carries White count text at 4.5:1
718
+ * or more (12.68, 9.78, 6.71).
697
719
  */
698
720
  declare const clusterColors: {
699
- readonly small: "#3ba4a7";
700
- readonly medium: "#002e3f";
701
- readonly large: "#5e2c41";
721
+ readonly small: "#1b373b";
722
+ readonly medium: "#2b4660";
723
+ readonly large: "#6a5280";
702
724
  readonly stroke: "#ffffff";
703
725
  readonly text: "#ffffff";
704
726
  };
705
727
  /**
706
- * Community/region boundary colors
728
+ * Community/region boundary colors. A boundary is not a problem, so no red:
729
+ * Accent Teal at rest (3.17:1 on land), Heritage Teal for the community in
730
+ * focus and on hover.
707
731
  */
708
732
  declare const boundaryColors: {
709
- readonly fill: "#C50F22";
710
- readonly line: "#C50F22";
711
- readonly hoverFill: "#1976d2";
712
- readonly defaultFill: "#4A90E2";
713
- readonly hoverLine: "#1565c0";
714
- readonly defaultLine: "#4A90E2";
733
+ readonly fill: "#1b373b";
734
+ readonly line: "#1b373b";
735
+ readonly hoverFill: "#1b373b";
736
+ readonly defaultFill: "#34999c";
737
+ readonly hoverLine: "#1b373b";
738
+ readonly defaultLine: "#34999c";
715
739
  };
716
740
  /**
717
- * Sales office marker color
741
+ * Sales office marker color: Founder's Red, the promo colour (where to buy),
742
+ * at full strength
718
743
  */
719
- declare const salesOfficeColor = "#C50F22";
744
+ declare const salesOfficeColor: "#ae2025";
720
745
  /**
721
- * Color for non-matched/de-emphasized features
746
+ * Color for non-matched/de-emphasized features: Grey 02 (4.29:1 on land)
722
747
  */
723
- declare const nonMatchedColor = "#9e9e9e";
748
+ declare const nonMatchedColor: "#767574";
724
749
 
725
750
  /**
726
751
  * Pre-built MapLibre Expressions
@@ -746,4 +771,4 @@ declare const clusterColorExpression: unknown[];
746
771
  */
747
772
  declare function createMatchedColorExpression(baseColorExpression: unknown[], matchedProperty?: string): unknown[];
748
773
 
749
- export { BIKE_LANES, BUILTIN_BASEMAPS, BUILTIN_OVERLAY_LAYERS, BasemapApiKeys, BasemapDefinition, CATEGORY_META, CITY_LIMITS, CLASSIC_DARK, CLASSIC_LIGHT, type ControlBoundingBox, type ControlDimensions, type ControlOffset, type ControlPriority, type ControlRegistration, type ControlType, type ControlUpdateOptions, type CoordinatorEvent, type CoordinatorEventType, type CoordinatorListener, DEFAULT_BASEMAP, EDGE_MARGIN, type ExtendedControlPosition, FLOOD_ZONES, FREE_BASEMAPS, GeoJSONFeatureCollection, type InventoryStatus, type LayerManagerProps, type LotAvailability, type LotSize, MAPTILER_BASIC, MAPTILER_OUTDOOR, MAPTILER_SATELLITE, MAPTILER_STREETS, type MapDimensions, OSM_STANDARD, type OverlayApiKeys, type OverlayDataSource, type OverlayLayerCategory, type OverlayLayerCategoryMeta, type OverlayLayerDefinition, type OverlayLayerLegend, type OverlayLayerState, type OverlayLayerStyle, type OverlayLegendItem, PARKS, PRIMARY_BASEMAPS, PRIORITY_ORDER, type PositionConfig, PositioningCoordinator, SATELLITE_BASEMAP, SCHOOL_DISTRICTS, SPORTS_FACILITIES, STACK_GAP, STADIA_ALIDADE_DARK, STADIA_ALIDADE_SMOOTH, STADIA_STAMEN_TERRAIN, STADIA_STAMEN_TONER, STADIA_STAMEN_WATERCOLOR, TOPO_BASEMAP, TRAILS, TRANSIT_ROUTES, WATERSHEDS, type ZIndexLayer, ZONING_DISTRICTS, Z_INDEX_LAYERS, boundaryColors, clusterColorExpression, clusterColors, createInitialLayerStates, createMatchedColorExpression, createPositioningCoordinator, getAvailabilityColor, getAvailableBasemaps, getContrastTextColor, getLayerCategories, getLayerStatesArray, getLayerStyleForTheme, getLayersByCategory, getLayersWithErrors, getSizeColor, getVisibleLayerIds, groupLayersByCategory, hideAllLayers, inventoryStatusColorExpression, inventoryStatusColors, isAnyLayerLoading, lotAvailabilityColorExpression, lotAvailabilityColors, lotSizeColorExpression, lotSizeColors, nonMatchedColor, reorderLayers, resolveBasemapStyle, resolveBasemapThumbnail, resolveLayerSourceUrl, salesOfficeColor, searchLayers, setLayerError, setLayerLoading, setLayerOpacity, showAllLayers, toggleLayerVisibility, updateLayerState };
774
+ export { BIKE_LANES, BUILTIN_BASEMAPS, BUILTIN_OVERLAY_LAYERS, BasemapApiKeys, BasemapDefinition, CATEGORY_META, CITY_LIMITS, CLASSIC_DARK, CLASSIC_LIGHT, type ControlBoundingBox, type ControlDimensions, type ControlOffset, type ControlPriority, type ControlRegistration, type ControlType, type ControlUpdateOptions, type CoordinatorEvent, type CoordinatorEventType, type CoordinatorListener, DEFAULT_BASEMAP, EDGE_MARGIN, type ExtendedControlPosition, FLOOD_ZONES, FREE_BASEMAPS, GeoJSONFeatureCollection, type InventoryStatus, type LayerManagerProps, type LotAvailability, type LotSize, MAPTILER_BASIC, MAPTILER_OUTDOOR, MAPTILER_SATELLITE, MAPTILER_STREETS, type MapDimensions, OSM_STANDARD, OUTLINE_LAYER_SUFFIX, type OverlayApiKeys, type OverlayDataSource, type OverlayLayerCategory, type OverlayLayerCategoryMeta, type OverlayLayerDefinition, type OverlayLayerLegend, type OverlayLayerState, type OverlayLayerStyle, type OverlayLegendItem, PARKS, PRIMARY_BASEMAPS, PRIORITY_ORDER, type PositionConfig, PositioningCoordinator, SATELLITE_BASEMAP, SCHOOL_DISTRICTS, SPORTS_FACILITIES, STACK_GAP, STADIA_ALIDADE_DARK, STADIA_ALIDADE_SMOOTH, STADIA_STAMEN_TERRAIN, STADIA_STAMEN_TONER, STADIA_STAMEN_WATERCOLOR, TOPO_BASEMAP, TRAILS, TRANSIT_ROUTES, WATERSHEDS, type ZIndexLayer, ZONING_DISTRICTS, Z_INDEX_LAYERS, boundaryColors, clusterColorExpression, clusterColors, createInitialLayerStates, createMatchedColorExpression, createPositioningCoordinator, getAvailabilityColor, getAvailableBasemaps, getContrastTextColor, getLayerCategories, getLayerStatesArray, getLayerStyleForTheme, getLayersByCategory, getLayersWithErrors, getOutlineStyleForTheme, getSizeColor, getVisibleLayerIds, groupLayersByCategory, hideAllLayers, inventoryStatusColorExpression, inventoryStatusColors, isAnyLayerLoading, lotAvailabilityColorExpression, lotAvailabilityColors, lotSizeColorExpression, lotSizeColors, markerColor, nonMatchedColor, reorderLayers, resolveBasemapStyle, resolveBasemapThumbnail, resolveLayerSourceUrl, salesOfficeColor, searchLayers, setLayerError, setLayerLoading, setLayerOpacity, showAllLayers, toggleLayerVisibility, updateLayerState };
package/dist/index.d.ts CHANGED
@@ -4,7 +4,7 @@ import { G as GeoJSONFeatureCollection } from './data-DCyEqgN0.js';
4
4
  export { B as BoundsArray, C as ClusterConfig, E as ExtrusionData, a as GeoJSONFeature, b as GeoJSONGeometry, c as GeoJSONLineString, d as GeoJSONMultiLineString, e as GeoJSONMultiPoint, f as GeoJSONMultiPolygon, g as GeoJSONPoint, h as GeoJSONPolygon, H as HeatmapPoint, L as LngLat, M as MapBounds, i as MapSourceData, j as MapViewport, k as MarkerData } from './data-DCyEqgN0.js';
5
5
  import { BasemapDefinition, BasemapApiKeys, MapStyleSpec } from './types/index.js';
6
6
  export { BaseControlProps, BaseLayerProps, BaseMapEventParams, BaseMapProps, BasemapCategory, BasemapProvider, BasemapSwitcherProps, CircleLayerProps, ControlPosition, CoordinateDisplayProps, FeatureClickEventParams, FeatureHoverEventParams, FillExtrusionLayerProps, FillLayerProps, GeolocateControlProps, GradientStop, HeatmapLayerProps, LegendConfig, LegendGroupProps, LegendItem, LegendProps, LineLayerProps, MapClickEventParams, MapErrorEventParams, MapErrorLike, MapHoverEventParams, MapLayerSpecBase, MapLoadEventParams, MapMoveEventParams, MapProps, MapSourceSpec, MarkerClickEventParams, MarkerDragEventParams, MarkerProps, NavigationControlProps, PopupEventParams, PopupProps, RasterLayerProps, ScaleControlProps, SourceProps, SymbolLayerProps } from './types/index.js';
7
- export { C as ClusterCircleStyleOptions, a as ClusterExpandOptions, b as ClusterExpansionResult, c as ClusterFeatureProperties, d as ClusterLayerStyles, h as ClusterTextStyleOptions, j as ColorExpression, k as CoordinateValidationResult, D as DEFAULT_SIMPLIFICATION_THRESHOLDS, l as DynamicLODOptions, m as DynamicLODState, E as ExtrusionHeightOptions, F as FeatureGroup, n as FilterExpression, o as FilterOperator, p as FilterValue, G as GenerateLODOptions, q as GeoJSONFingerprint, r as GroupFeaturesOptions, K as KEYBOARD_CONTROLS, L as LODData, s as LODDataWithSimplification, t as LoadGeoJSONOptions, u as LoadGeoJSONResult, v as LotFillStyleOptions, w as LotOutlineStyleOptions, M as MARKER_PROTECTION_CLASS, N as NumberExpression, P as PaintProps, y as PaintPropsDiff, S as SimplificationStats, z as SimplificationThreshold, U as UnclusteredPointStyleOptions, V as ValidationResult, A as applyMarkerChildProtection, B as applyMarkerProtection, H as boundsToPolygon, I as calculateBounds, J as calculateCentroid, O as calculateZoomThresholds, Q as clampLatitude, R as combineBounds, T as countFeaturesByType, W as createCategoricalColorExpression, X as createCircleStyle, Y as createClusterCirclePaint, Z as createClusterStyles, _ as createClusterTextLayout, $ as createContinuousColorExpression, a0 as createDynamicLODManager, a1 as createExtrusionHeightExpression, a2 as createExtrusionStyle, a3 as createFillStyle, a4 as createGeoJSONFingerprint, a5 as createHeatmapStyle, a6 as createHoverExpression, a7 as createInteractiveExpression, a8 as createInteractiveStatusColorExpression, a9 as createLineStyle, aa as createLotFillStyle, ab as createLotOutlineStyle, ac as createSelectionExpression, ad as createStatusColorExpression, ae as createZoomExpression, af as decimalToDMS, ag as deepEqual, ah as ensureValidCoordinates, ai as expandCluster, aj as expandClusterToBounds, ak as extendBounds, al as filterByGeometryType, am as filterEqual, an as fingerprintEqual, ao as formatArea, ap as formatBearing, aq as formatBounds, ar as formatCoordinates, as as formatDistance, at as formatFeatureProperties, au as formatLabel, av as formatPitch, aw as formatPropertyValue, ax as formatScale, ay as formatZoom, az as generateBoundingPolygon, aA as generateConvexHull, aB as generateFeatureCollectionDescription, aC as generateFeatureTable, aD as generateKeyboardControlsDescription, aE as generateLODData, aF as generateLODDataWithSimplification, aG as generateMapDescription, aH as generateMarkerList, aI as generateMarkersDescription, aJ as generateMoveAnnouncement, aK as geoJSONEqual, aL as getChangedPaintProps, aM as getClusterBounds, aN as getClusterChildren, aO as getClusterExpansionZoom, aP as getClusterLeaves, aQ as getGridNavigationIndex, aR as getHighlightStyle, aS as getSelectionStyle, aT as getSimplificationToleranceForZoom, aU as getSimplifiedFeaturesForZoom, aV as groupFeaturesByProperty, aW as isClusterFeature, aX as isValidBounds, aY as isValidLatitude, aZ as isValidLongitude, a_ as loadGeoJSON, a$ as normalizeLongitude, b0 as paintPropsEqual, b1 as removeMarkerProtection, b2 as resetWorkerUrlWarning, b3 as serializeFilter, b4 as simplifyFeature, b5 as simplifyFeatureCollection, b6 as simplifyFeatureCollectionWithStats, b7 as simplifyPolygon, b8 as validateBoundsArray, b9 as validateCoordinates, ba as validateGeoJSON, bb as warnIfWorkerUrlMissing, bc as zoomToScale } from './worker-Cmyx33j4.js';
7
+ export { C as ClusterCircleStyleOptions, a as ClusterExpandOptions, b as ClusterExpansionResult, c as ClusterFeatureProperties, d as ClusterLayerStyles, h as ClusterTextStyleOptions, j as ColorExpression, k as CoordinateValidationResult, D as DEFAULT_SIMPLIFICATION_THRESHOLDS, l as DeckHostMap, m as DynamicLODOptions, n as DynamicLODState, E as ExtrusionHeightOptions, F as FeatureGroup, o as FilterExpression, p as FilterOperator, q as FilterValue, G as GenerateLODOptions, r as GeoJSONFingerprint, s as GroupFeaturesOptions, K as KEYBOARD_CONTROLS, L as LODData, t as LODDataWithSimplification, u as LoadGeoJSONOptions, v as LoadGeoJSONResult, w as LotFillStyleOptions, x as LotOutlineStyleOptions, M as MARKER_PROTECTION_CLASS, N as NumberExpression, P as PaintProps, z as PaintPropsDiff, S as SimplificationStats, A as SimplificationThreshold, U as UnclusteredPointStyleOptions, V as ValidationResult, B as applyMarkerChildProtection, H as applyMarkerProtection, I as boundsToPolygon, J as calculateBounds, O as calculateCentroid, Q as calculateZoomThresholds, R as clampLatitude, T as combineBounds, W as countFeaturesByType, X as createCategoricalColorExpression, Y as createCircleStyle, Z as createClusterCirclePaint, _ as createClusterStyles, $ as createClusterTextLayout, a0 as createContinuousColorExpression, a1 as createDynamicLODManager, a2 as createExtrusionHeightExpression, a3 as createExtrusionStyle, a4 as createFillStyle, a5 as createGeoJSONFingerprint, a6 as createHeatmapStyle, a7 as createHoverExpression, a8 as createInteractiveExpression, a9 as createInteractiveStatusColorExpression, aa as createLineStyle, ab as createLotFillStyle, ac as createLotOutlineStyle, ad as createSelectionExpression, ae as createStatusColorExpression, af as createZoomExpression, ag as decimalToDMS, ah as deepEqual, ai as ensureValidCoordinates, aj as expandCluster, ak as expandClusterToBounds, al as extendBounds, am as filterByGeometryType, an as filterEqual, ao as fingerprintEqual, ap as formatArea, aq as formatBearing, ar as formatBounds, as as formatCoordinates, at as formatDistance, au as formatFeatureProperties, av as formatLabel, aw as formatPitch, ax as formatPropertyValue, ay as formatScale, az as formatZoom, aA as generateBoundingPolygon, aB as generateConvexHull, aC as generateFeatureCollectionDescription, aD as generateFeatureTable, aE as generateKeyboardControlsDescription, aF as generateLODData, aG as generateLODDataWithSimplification, aH as generateMapDescription, aI as generateMarkerList, aJ as generateMarkersDescription, aK as generateMoveAnnouncement, aL as geoJSONEqual, aM as getChangedPaintProps, aN as getClusterBounds, aO as getClusterChildren, aP as getClusterExpansionZoom, aQ as getClusterLeaves, aR as getGridNavigationIndex, aS as getHighlightStyle, aT as getSelectionStyle, aU as getSimplificationToleranceForZoom, aV as getSimplifiedFeaturesForZoom, aW as groupFeaturesByProperty, aX as isClusterFeature, aY as isValidBounds, aZ as isValidLatitude, a_ as isValidLongitude, a$ as loadGeoJSON, b0 as normalizeLongitude, b1 as paintPropsEqual, b2 as removeMarkerProtection, b3 as resetWorkerUrlWarning, b4 as resolveDeckInterleaved, b5 as serializeFilter, b6 as simplifyFeature, b7 as simplifyFeatureCollection, b8 as simplifyFeatureCollectionWithStats, b9 as simplifyPolygon, ba as supportsDeckInterleaving, bb as validateBoundsArray, bc as validateCoordinates, bd as validateGeoJSON, be as warnIfWorkerUrlMissing, bf as zoomToScale } from './deck-Crhj7TKV.js';
8
8
  export { B as BuildRTreeIndexOptions, a as BuildSpatialIndexOptions, I as IdleViewportManagerOptions, b as IdleViewportResult, P as PanVelocity, c as PredictiveViewportResult, Q as QuerySpatialIndexOptions, d as QueryStats, R as RTreeIndex, e as RTreeItem, f as RTreeQueryStats, S as SpatialIndex, V as ViewportManagedDataOptions, g as ViewportManagedResult, h as buildRTreeIndex, i as buildSpatialIndex, j as createIdleViewportManager, k as createPredictiveViewportManager, l as createRTreeViewportManager, m as createViewportManager, n as createViewportQuery, q as queryByBounds, o as queryByBoundsWithStats, p as queryRTreeByBounds, r as queryRTreeByBoundsWithStats } from './spatial-Df48Jj9D.js';
9
9
  import 'rbush';
10
10
 
@@ -104,6 +104,16 @@ interface OverlayLayerStyle {
104
104
  dark: Record<string, unknown>;
105
105
  /** Layout properties (shared between themes) */
106
106
  layout?: Record<string, unknown>;
107
+ /**
108
+ * Line paint for a full-strength outline round a `fill` layer, drawn as its
109
+ * own line layer (`<layer id>-outline`). Use it when the outline must meet
110
+ * 3:1 on the basemap: MapLibre draws `fill-outline-color` at `fill-opacity`.
111
+ * A theme without paint draws no outline.
112
+ */
113
+ outline?: {
114
+ light?: Record<string, unknown>;
115
+ dark?: Record<string, unknown>;
116
+ };
107
117
  /** Minimum zoom level for the layer */
108
118
  minZoom?: number;
109
119
  /** Maximum zoom level for the layer */
@@ -276,6 +286,13 @@ declare function resolveLayerSourceUrl(layer: OverlayLayerDefinition, apiKeys?:
276
286
  * Get the appropriate style for the current theme
277
287
  */
278
288
  declare function getLayerStyleForTheme(layer: OverlayLayerDefinition, theme: 'light' | 'dark'): Record<string, unknown>;
289
+ /** Suffix of the line layer that draws a layer's `style.outline` */
290
+ declare const OUTLINE_LAYER_SUFFIX = "-outline";
291
+ /**
292
+ * Get the outline line paint for the given theme, or undefined when the
293
+ * layer draws no outline in it (only `fill` layers draw one)
294
+ */
295
+ declare function getOutlineStyleForTheme(layer: OverlayLayerDefinition, theme: 'light' | 'dark'): Record<string, unknown> | undefined;
279
296
  /**
280
297
  * Search layers by name, description, or tags
281
298
  */
@@ -647,34 +664,34 @@ declare function createPositioningCoordinator(): PositioningCoordinator;
647
664
  * Lot availability status colors
648
665
  */
649
666
  declare const lotAvailabilityColors: {
650
- readonly Available: "#4caf50";
651
- readonly Future: "#795548";
652
- readonly Spec: "#FFEB3B";
653
- readonly Model: "#CE93D8";
654
- readonly 'Under Contract': "#81D4FA";
655
- readonly Sold: "#f44336";
656
- readonly Unavailable: "#757575";
657
- readonly Unknown: "#757575";
667
+ readonly Available: "#1b373b";
668
+ readonly Future: "#7a5837";
669
+ readonly Spec: "#4a8a6f";
670
+ readonly Model: "#6a5280";
671
+ readonly 'Under Contract': "#34999c";
672
+ readonly Sold: "#50504f";
673
+ readonly Unavailable: "#767574";
674
+ readonly Unknown: "#767574";
658
675
  };
659
676
  type LotAvailability = keyof typeof lotAvailabilityColors;
660
677
  /**
661
678
  * Inventory home status colors
662
679
  */
663
680
  declare const inventoryStatusColors: {
664
- readonly 'Ready Now': "#2E7D32";
665
- readonly Upcoming: "#ED6C02";
666
- readonly default: "#757575";
681
+ readonly 'Ready Now': "#1b373b";
682
+ readonly Upcoming: "#2b4660";
683
+ readonly default: "#767574";
667
684
  };
668
685
  type InventoryStatus = keyof typeof inventoryStatusColors;
669
686
  /**
670
- * Lot size category colors
687
+ * Lot size category colors: one sequential sage-to-teal ramp, smallest lightest
671
688
  */
672
689
  declare const lotSizeColors: {
673
- readonly Small: "#2196f3";
674
- readonly Medium: "#4caf50";
675
- readonly Large: "#ff9800";
676
- readonly 'Extra Large': "#f44336";
677
- readonly Unknown: "#757575";
690
+ readonly Small: "#81856e";
691
+ readonly Medium: "#6c705b";
692
+ readonly Large: "#2e5a4a";
693
+ readonly 'Extra Large': "#1b373b";
694
+ readonly Unknown: "#767574";
678
695
  };
679
696
  type LotSize = keyof typeof lotSizeColors;
680
697
  /**
@@ -690,37 +707,45 @@ declare function getSizeColor(size: string): string;
690
707
 
691
708
  /**
692
709
  * Map Feature Colors
693
- * Colors for common map visualization features.
710
+ * Colors for common map visualization features (Digital Color Reference v2.5).
711
+ */
712
+ /**
713
+ * Default marker pin: Heritage Teal (11.82:1 on the basemap land colour)
694
714
  */
715
+ declare const markerColor: "#1b373b";
695
716
  /**
696
- * Cluster visualization colors (using brand tokens)
717
+ * Cluster visualization colors. Each circle carries White count text at 4.5:1
718
+ * or more (12.68, 9.78, 6.71).
697
719
  */
698
720
  declare const clusterColors: {
699
- readonly small: "#3ba4a7";
700
- readonly medium: "#002e3f";
701
- readonly large: "#5e2c41";
721
+ readonly small: "#1b373b";
722
+ readonly medium: "#2b4660";
723
+ readonly large: "#6a5280";
702
724
  readonly stroke: "#ffffff";
703
725
  readonly text: "#ffffff";
704
726
  };
705
727
  /**
706
- * Community/region boundary colors
728
+ * Community/region boundary colors. A boundary is not a problem, so no red:
729
+ * Accent Teal at rest (3.17:1 on land), Heritage Teal for the community in
730
+ * focus and on hover.
707
731
  */
708
732
  declare const boundaryColors: {
709
- readonly fill: "#C50F22";
710
- readonly line: "#C50F22";
711
- readonly hoverFill: "#1976d2";
712
- readonly defaultFill: "#4A90E2";
713
- readonly hoverLine: "#1565c0";
714
- readonly defaultLine: "#4A90E2";
733
+ readonly fill: "#1b373b";
734
+ readonly line: "#1b373b";
735
+ readonly hoverFill: "#1b373b";
736
+ readonly defaultFill: "#34999c";
737
+ readonly hoverLine: "#1b373b";
738
+ readonly defaultLine: "#34999c";
715
739
  };
716
740
  /**
717
- * Sales office marker color
741
+ * Sales office marker color: Founder's Red, the promo colour (where to buy),
742
+ * at full strength
718
743
  */
719
- declare const salesOfficeColor = "#C50F22";
744
+ declare const salesOfficeColor: "#ae2025";
720
745
  /**
721
- * Color for non-matched/de-emphasized features
746
+ * Color for non-matched/de-emphasized features: Grey 02 (4.29:1 on land)
722
747
  */
723
- declare const nonMatchedColor = "#9e9e9e";
748
+ declare const nonMatchedColor: "#767574";
724
749
 
725
750
  /**
726
751
  * Pre-built MapLibre Expressions
@@ -746,4 +771,4 @@ declare const clusterColorExpression: unknown[];
746
771
  */
747
772
  declare function createMatchedColorExpression(baseColorExpression: unknown[], matchedProperty?: string): unknown[];
748
773
 
749
- export { BIKE_LANES, BUILTIN_BASEMAPS, BUILTIN_OVERLAY_LAYERS, BasemapApiKeys, BasemapDefinition, CATEGORY_META, CITY_LIMITS, CLASSIC_DARK, CLASSIC_LIGHT, type ControlBoundingBox, type ControlDimensions, type ControlOffset, type ControlPriority, type ControlRegistration, type ControlType, type ControlUpdateOptions, type CoordinatorEvent, type CoordinatorEventType, type CoordinatorListener, DEFAULT_BASEMAP, EDGE_MARGIN, type ExtendedControlPosition, FLOOD_ZONES, FREE_BASEMAPS, GeoJSONFeatureCollection, type InventoryStatus, type LayerManagerProps, type LotAvailability, type LotSize, MAPTILER_BASIC, MAPTILER_OUTDOOR, MAPTILER_SATELLITE, MAPTILER_STREETS, type MapDimensions, OSM_STANDARD, type OverlayApiKeys, type OverlayDataSource, type OverlayLayerCategory, type OverlayLayerCategoryMeta, type OverlayLayerDefinition, type OverlayLayerLegend, type OverlayLayerState, type OverlayLayerStyle, type OverlayLegendItem, PARKS, PRIMARY_BASEMAPS, PRIORITY_ORDER, type PositionConfig, PositioningCoordinator, SATELLITE_BASEMAP, SCHOOL_DISTRICTS, SPORTS_FACILITIES, STACK_GAP, STADIA_ALIDADE_DARK, STADIA_ALIDADE_SMOOTH, STADIA_STAMEN_TERRAIN, STADIA_STAMEN_TONER, STADIA_STAMEN_WATERCOLOR, TOPO_BASEMAP, TRAILS, TRANSIT_ROUTES, WATERSHEDS, type ZIndexLayer, ZONING_DISTRICTS, Z_INDEX_LAYERS, boundaryColors, clusterColorExpression, clusterColors, createInitialLayerStates, createMatchedColorExpression, createPositioningCoordinator, getAvailabilityColor, getAvailableBasemaps, getContrastTextColor, getLayerCategories, getLayerStatesArray, getLayerStyleForTheme, getLayersByCategory, getLayersWithErrors, getSizeColor, getVisibleLayerIds, groupLayersByCategory, hideAllLayers, inventoryStatusColorExpression, inventoryStatusColors, isAnyLayerLoading, lotAvailabilityColorExpression, lotAvailabilityColors, lotSizeColorExpression, lotSizeColors, nonMatchedColor, reorderLayers, resolveBasemapStyle, resolveBasemapThumbnail, resolveLayerSourceUrl, salesOfficeColor, searchLayers, setLayerError, setLayerLoading, setLayerOpacity, showAllLayers, toggleLayerVisibility, updateLayerState };
774
+ export { BIKE_LANES, BUILTIN_BASEMAPS, BUILTIN_OVERLAY_LAYERS, BasemapApiKeys, BasemapDefinition, CATEGORY_META, CITY_LIMITS, CLASSIC_DARK, CLASSIC_LIGHT, type ControlBoundingBox, type ControlDimensions, type ControlOffset, type ControlPriority, type ControlRegistration, type ControlType, type ControlUpdateOptions, type CoordinatorEvent, type CoordinatorEventType, type CoordinatorListener, DEFAULT_BASEMAP, EDGE_MARGIN, type ExtendedControlPosition, FLOOD_ZONES, FREE_BASEMAPS, GeoJSONFeatureCollection, type InventoryStatus, type LayerManagerProps, type LotAvailability, type LotSize, MAPTILER_BASIC, MAPTILER_OUTDOOR, MAPTILER_SATELLITE, MAPTILER_STREETS, type MapDimensions, OSM_STANDARD, OUTLINE_LAYER_SUFFIX, type OverlayApiKeys, type OverlayDataSource, type OverlayLayerCategory, type OverlayLayerCategoryMeta, type OverlayLayerDefinition, type OverlayLayerLegend, type OverlayLayerState, type OverlayLayerStyle, type OverlayLegendItem, PARKS, PRIMARY_BASEMAPS, PRIORITY_ORDER, type PositionConfig, PositioningCoordinator, SATELLITE_BASEMAP, SCHOOL_DISTRICTS, SPORTS_FACILITIES, STACK_GAP, STADIA_ALIDADE_DARK, STADIA_ALIDADE_SMOOTH, STADIA_STAMEN_TERRAIN, STADIA_STAMEN_TONER, STADIA_STAMEN_WATERCOLOR, TOPO_BASEMAP, TRAILS, TRANSIT_ROUTES, WATERSHEDS, type ZIndexLayer, ZONING_DISTRICTS, Z_INDEX_LAYERS, boundaryColors, clusterColorExpression, clusterColors, createInitialLayerStates, createMatchedColorExpression, createPositioningCoordinator, getAvailabilityColor, getAvailableBasemaps, getContrastTextColor, getLayerCategories, getLayerStatesArray, getLayerStyleForTheme, getLayersByCategory, getLayersWithErrors, getOutlineStyleForTheme, getSizeColor, getVisibleLayerIds, groupLayersByCategory, hideAllLayers, inventoryStatusColorExpression, inventoryStatusColors, isAnyLayerLoading, lotAvailabilityColorExpression, lotAvailabilityColors, lotSizeColorExpression, lotSizeColors, markerColor, nonMatchedColor, reorderLayers, resolveBasemapStyle, resolveBasemapThumbnail, resolveLayerSourceUrl, salesOfficeColor, searchLayers, setLayerError, setLayerLoading, setLayerOpacity, showAllLayers, toggleLayerVisibility, updateLayerState };