@classic-homes/maps-core 0.2.8 → 0.2.9

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.
@@ -1,4 +1,4 @@
1
- import { G as GeoJSONFeatureCollection, a as GeoJSONFeature, B as BoundsArray, M as MapBounds } from './data-CICLgvT6.js';
1
+ import { G as GeoJSONFeatureCollection, a as GeoJSONFeature, B as BoundsArray, M as MapBounds } from './data-k7o-Rne0.js';
2
2
  import RBush from 'rbush';
3
3
 
4
4
  /**
@@ -432,4 +432,4 @@ declare function createRTreeViewportManager(index: RTreeIndex, options?: Viewpor
432
432
  }) | null;
433
433
  };
434
434
 
435
- export { type BuildSpatialIndexOptions as B, type IdleViewportManagerOptions as I, type PanVelocity as P, type QueryStats as Q, type RTreeQueryStats as R, type SpatialIndex as S, type ViewportManagedDataOptions as V, queryByBoundsWithStats as a, buildSpatialIndex as b, createViewportQuery as c, createViewportManager as d, buildRTreeIndex as e, queryRTreeByBounds as f, queryRTreeByBoundsWithStats as g, createRTreeViewportManager as h, createPredictiveViewportManager as i, createIdleViewportManager as j, type QuerySpatialIndexOptions as k, type ViewportManagedResult as l, type RTreeItem as m, type RTreeIndex as n, type BuildRTreeIndexOptions as o, type PredictiveViewportResult as p, queryByBounds as q, type IdleViewportResult as r };
435
+ export { type BuildSpatialIndexOptions as B, type IdleViewportManagerOptions as I, type PanVelocity as P, type QuerySpatialIndexOptions as Q, type RTreeItem as R, type SpatialIndex as S, type ViewportManagedDataOptions as V, queryByBoundsWithStats as a, buildSpatialIndex as b, createViewportQuery as c, createViewportManager as d, buildRTreeIndex as e, queryRTreeByBounds as f, queryRTreeByBoundsWithStats as g, createRTreeViewportManager as h, createPredictiveViewportManager as i, createIdleViewportManager as j, type QueryStats as k, type ViewportManagedResult as l, type RTreeIndex as m, type BuildRTreeIndexOptions as n, type RTreeQueryStats as o, type PredictiveViewportResult as p, queryByBounds as q, type IdleViewportResult as r };
@@ -1,4 +1,4 @@
1
- import { G as GeoJSONFeatureCollection, a as GeoJSONFeature, B as BoundsArray, M as MapBounds } from './data-CICLgvT6.cjs';
1
+ import { G as GeoJSONFeatureCollection, a as GeoJSONFeature, B as BoundsArray, M as MapBounds } from './data-k7o-Rne0.cjs';
2
2
  import RBush from 'rbush';
3
3
 
4
4
  /**
@@ -432,4 +432,4 @@ declare function createRTreeViewportManager(index: RTreeIndex, options?: Viewpor
432
432
  }) | null;
433
433
  };
434
434
 
435
- export { type BuildSpatialIndexOptions as B, type IdleViewportManagerOptions as I, type PanVelocity as P, type QueryStats as Q, type RTreeQueryStats as R, type SpatialIndex as S, type ViewportManagedDataOptions as V, queryByBoundsWithStats as a, buildSpatialIndex as b, createViewportQuery as c, createViewportManager as d, buildRTreeIndex as e, queryRTreeByBounds as f, queryRTreeByBoundsWithStats as g, createRTreeViewportManager as h, createPredictiveViewportManager as i, createIdleViewportManager as j, type QuerySpatialIndexOptions as k, type ViewportManagedResult as l, type RTreeItem as m, type RTreeIndex as n, type BuildRTreeIndexOptions as o, type PredictiveViewportResult as p, queryByBounds as q, type IdleViewportResult as r };
435
+ export { type BuildSpatialIndexOptions as B, type IdleViewportManagerOptions as I, type PanVelocity as P, type QuerySpatialIndexOptions as Q, type RTreeItem as R, type SpatialIndex as S, type ViewportManagedDataOptions as V, queryByBoundsWithStats as a, buildSpatialIndex as b, createViewportQuery as c, createViewportManager as d, buildRTreeIndex as e, queryRTreeByBounds as f, queryRTreeByBoundsWithStats as g, createRTreeViewportManager as h, createPredictiveViewportManager as i, createIdleViewportManager as j, type QueryStats as k, type ViewportManagedResult as l, type RTreeIndex as m, type BuildRTreeIndexOptions as n, type RTreeQueryStats as o, type PredictiveViewportResult as p, queryByBounds as q, type IdleViewportResult as r };
@@ -1,140 +1,5 @@
1
- /**
2
- * Map theme generator
3
- *
4
- * Generates MapLibre-compatible themes from Classic Theme design tokens
5
- */
6
- /**
7
- * Theme identifiers
8
- */
9
- declare const THEME_LIGHT = "classic-light";
10
- declare const THEME_DARK = "classic-dark";
11
- /**
12
- * Map theme colors configuration
13
- */
14
- interface MapThemeColors {
15
- /** Background color for the map */
16
- background: string;
17
- /** Water bodies (lakes, rivers, ocean) */
18
- water: string;
19
- /** Land/terrain base color */
20
- land: string;
21
- /** Park/green areas */
22
- park: string;
23
- /** Building fill color */
24
- building: string;
25
- /** Building outline color */
26
- buildingOutline: string;
27
- /** Road primary color */
28
- roadPrimary: string;
29
- /** Road secondary color */
30
- roadSecondary: string;
31
- /** Road outline/casing color */
32
- roadCasing: string;
33
- /** Rail/transit lines */
34
- rail: string;
35
- /** Boundary lines */
36
- boundary: string;
37
- /** Administrative boundary */
38
- adminBoundary: string;
39
- /** Land use residential */
40
- residential: string;
41
- /** Land use commercial */
42
- commercial: string;
43
- /** Land use industrial */
44
- industrial: string;
45
- /** Highlight/selection color */
46
- highlight: string;
47
- /** Secondary highlight color */
48
- highlightSecondary: string;
49
- /** Selection/active color */
50
- selection: string;
51
- /** Text primary color */
52
- textPrimary: string;
53
- /** Text secondary color */
54
- textSecondary: string;
55
- /** Text halo color */
56
- textHalo: string;
57
- /** Point of interest color */
58
- poi: string;
59
- /** Label background */
60
- labelBackground: string;
61
- }
62
- /**
63
- * Map chart/data visualization colors
64
- */
65
- interface MapDataColors {
66
- /** Color sequence for data visualization (5 colors) */
67
- sequence: string[];
68
- /** Positive/success color */
69
- positive: string;
70
- /** Negative/error color */
71
- negative: string;
72
- /** Neutral color */
73
- neutral: string;
74
- /** Heatmap color ramp (low to high) */
75
- heatmapRamp: string[];
76
- }
77
- /**
78
- * Complete map theme configuration
79
- */
80
- interface MapTheme {
81
- /** Theme identifier */
82
- name: string;
83
- /** Base map colors */
84
- colors: MapThemeColors;
85
- /** Data visualization colors */
86
- dataColors: MapDataColors;
87
- /** Typography settings */
88
- typography: {
89
- fontFamily: string;
90
- fontFamilySerif: string;
91
- fontFamilyMono: string;
92
- };
93
- }
94
- /**
95
- * Generate light theme colors from design tokens
96
- */
97
- declare function generateLightColors(): MapThemeColors;
98
- /**
99
- * Generate dark theme colors from design tokens
100
- */
101
- declare function generateDarkColors(): MapThemeColors;
102
- /**
103
- * Generate data visualization colors for light theme
104
- */
105
- declare function generateLightDataColors(): MapDataColors;
106
- /**
107
- * Generate data visualization colors for dark theme
108
- */
109
- declare function generateDarkDataColors(): MapDataColors;
110
- /**
111
- * Get typography settings from design tokens
112
- */
113
- declare function getTypography(): {
114
- fontFamily: string;
115
- fontFamilySerif: string;
116
- fontFamilyMono: string;
117
- };
118
- /**
119
- * Generate complete light theme
120
- */
121
- declare function generateLightTheme(): MapTheme;
122
- /**
123
- * Generate complete dark theme
124
- */
125
- declare function generateDarkTheme(): MapTheme;
126
- /**
127
- * Pre-generated light theme
128
- */
129
- declare const lightTheme: MapTheme;
130
- /**
131
- * Pre-generated dark theme
132
- */
133
- declare const darkTheme: MapTheme;
134
- /**
135
- * Get theme by name
136
- */
137
- declare function getTheme(name: 'light' | 'dark' | typeof THEME_LIGHT | typeof THEME_DARK): MapTheme;
1
+ import { M as MapTheme, T as THEME_LIGHT, a as THEME_DARK } from '../generator-CGfqiHvG.cjs';
2
+ export { m as MapDataColors, k as MapThemeColors, j as darkTheme, d as generateDarkColors, f as generateDarkDataColors, b as generateDarkTheme, c as generateLightColors, e as generateLightDataColors, g as generateLightTheme, i as getTheme, h as getTypography, l as lightTheme } from '../generator-CGfqiHvG.cjs';
138
3
 
139
4
  /**
140
5
  * Map style generator
@@ -195,4 +60,4 @@ declare const darkBasicStyle: MapStyleSpec;
195
60
  */
196
61
  declare function getBasicStyle(themeName: 'light' | 'dark' | typeof THEME_LIGHT | typeof THEME_DARK): MapStyleSpec;
197
62
 
198
- export { type MapDataColors, type MapStyleSpec, type MapTheme, type MapThemeColors, THEME_DARK, THEME_LIGHT, darkBasicStyle, darkTheme, generateBasicStyle, generateDarkColors, generateDarkDataColors, generateDarkTheme, generateLightColors, generateLightDataColors, generateLightTheme, generateVectorStyle, getBasicStyle, getTheme, getTypography, lightBasicStyle, lightTheme };
63
+ export { type MapStyleSpec, MapTheme, THEME_DARK, THEME_LIGHT, darkBasicStyle, generateBasicStyle, generateVectorStyle, getBasicStyle, lightBasicStyle };
@@ -1,140 +1,5 @@
1
- /**
2
- * Map theme generator
3
- *
4
- * Generates MapLibre-compatible themes from Classic Theme design tokens
5
- */
6
- /**
7
- * Theme identifiers
8
- */
9
- declare const THEME_LIGHT = "classic-light";
10
- declare const THEME_DARK = "classic-dark";
11
- /**
12
- * Map theme colors configuration
13
- */
14
- interface MapThemeColors {
15
- /** Background color for the map */
16
- background: string;
17
- /** Water bodies (lakes, rivers, ocean) */
18
- water: string;
19
- /** Land/terrain base color */
20
- land: string;
21
- /** Park/green areas */
22
- park: string;
23
- /** Building fill color */
24
- building: string;
25
- /** Building outline color */
26
- buildingOutline: string;
27
- /** Road primary color */
28
- roadPrimary: string;
29
- /** Road secondary color */
30
- roadSecondary: string;
31
- /** Road outline/casing color */
32
- roadCasing: string;
33
- /** Rail/transit lines */
34
- rail: string;
35
- /** Boundary lines */
36
- boundary: string;
37
- /** Administrative boundary */
38
- adminBoundary: string;
39
- /** Land use residential */
40
- residential: string;
41
- /** Land use commercial */
42
- commercial: string;
43
- /** Land use industrial */
44
- industrial: string;
45
- /** Highlight/selection color */
46
- highlight: string;
47
- /** Secondary highlight color */
48
- highlightSecondary: string;
49
- /** Selection/active color */
50
- selection: string;
51
- /** Text primary color */
52
- textPrimary: string;
53
- /** Text secondary color */
54
- textSecondary: string;
55
- /** Text halo color */
56
- textHalo: string;
57
- /** Point of interest color */
58
- poi: string;
59
- /** Label background */
60
- labelBackground: string;
61
- }
62
- /**
63
- * Map chart/data visualization colors
64
- */
65
- interface MapDataColors {
66
- /** Color sequence for data visualization (5 colors) */
67
- sequence: string[];
68
- /** Positive/success color */
69
- positive: string;
70
- /** Negative/error color */
71
- negative: string;
72
- /** Neutral color */
73
- neutral: string;
74
- /** Heatmap color ramp (low to high) */
75
- heatmapRamp: string[];
76
- }
77
- /**
78
- * Complete map theme configuration
79
- */
80
- interface MapTheme {
81
- /** Theme identifier */
82
- name: string;
83
- /** Base map colors */
84
- colors: MapThemeColors;
85
- /** Data visualization colors */
86
- dataColors: MapDataColors;
87
- /** Typography settings */
88
- typography: {
89
- fontFamily: string;
90
- fontFamilySerif: string;
91
- fontFamilyMono: string;
92
- };
93
- }
94
- /**
95
- * Generate light theme colors from design tokens
96
- */
97
- declare function generateLightColors(): MapThemeColors;
98
- /**
99
- * Generate dark theme colors from design tokens
100
- */
101
- declare function generateDarkColors(): MapThemeColors;
102
- /**
103
- * Generate data visualization colors for light theme
104
- */
105
- declare function generateLightDataColors(): MapDataColors;
106
- /**
107
- * Generate data visualization colors for dark theme
108
- */
109
- declare function generateDarkDataColors(): MapDataColors;
110
- /**
111
- * Get typography settings from design tokens
112
- */
113
- declare function getTypography(): {
114
- fontFamily: string;
115
- fontFamilySerif: string;
116
- fontFamilyMono: string;
117
- };
118
- /**
119
- * Generate complete light theme
120
- */
121
- declare function generateLightTheme(): MapTheme;
122
- /**
123
- * Generate complete dark theme
124
- */
125
- declare function generateDarkTheme(): MapTheme;
126
- /**
127
- * Pre-generated light theme
128
- */
129
- declare const lightTheme: MapTheme;
130
- /**
131
- * Pre-generated dark theme
132
- */
133
- declare const darkTheme: MapTheme;
134
- /**
135
- * Get theme by name
136
- */
137
- declare function getTheme(name: 'light' | 'dark' | typeof THEME_LIGHT | typeof THEME_DARK): MapTheme;
1
+ import { M as MapTheme, T as THEME_LIGHT, a as THEME_DARK } from '../generator-CGfqiHvG.js';
2
+ export { m as MapDataColors, k as MapThemeColors, j as darkTheme, d as generateDarkColors, f as generateDarkDataColors, b as generateDarkTheme, c as generateLightColors, e as generateLightDataColors, g as generateLightTheme, i as getTheme, h as getTypography, l as lightTheme } from '../generator-CGfqiHvG.js';
138
3
 
139
4
  /**
140
5
  * Map style generator
@@ -195,4 +60,4 @@ declare const darkBasicStyle: MapStyleSpec;
195
60
  */
196
61
  declare function getBasicStyle(themeName: 'light' | 'dark' | typeof THEME_LIGHT | typeof THEME_DARK): MapStyleSpec;
197
62
 
198
- export { type MapDataColors, type MapStyleSpec, type MapTheme, type MapThemeColors, THEME_DARK, THEME_LIGHT, darkBasicStyle, darkTheme, generateBasicStyle, generateDarkColors, generateDarkDataColors, generateDarkTheme, generateLightColors, generateLightDataColors, generateLightTheme, generateVectorStyle, getBasicStyle, getTheme, getTypography, lightBasicStyle, lightTheme };
63
+ export { type MapStyleSpec, MapTheme, THEME_DARK, THEME_LIGHT, darkBasicStyle, generateBasicStyle, generateVectorStyle, getBasicStyle, lightBasicStyle };
@@ -1 +1,2 @@
1
- export { THEME_DARK, THEME_LIGHT, darkBasicStyle, darkTheme, generateBasicStyle, generateDarkColors, generateDarkDataColors, generateDarkTheme, generateLightColors, generateLightDataColors, generateLightTheme, generateVectorStyle, getBasicStyle, getTheme, getTypography, lightBasicStyle, lightTheme } from '../chunk-2NISJ7WE.js';
1
+ export { darkBasicStyle, generateBasicStyle, generateVectorStyle, getBasicStyle, lightBasicStyle } from '../chunk-6WMCIBJJ.js';
2
+ export { THEME_DARK, THEME_LIGHT, darkTheme, generateDarkColors, generateDarkDataColors, generateDarkTheme, generateLightColors, generateLightDataColors, generateLightTheme, getTheme, getTypography, lightTheme } from '../chunk-ZGUACUEF.js';
@@ -1,5 +1,5 @@
1
- import { L as LngLat, a as GeoJSONFeature, M as MapBounds, B as BoundsArray, k as MapSourceData, G as GeoJSONFeatureCollection, C as ClusterConfig } from '../data-CICLgvT6.cjs';
2
- export { E as ExtrusionData, e as GeoJSONGeometry, l as GeoJSONGeometryCollection, h as GeoJSONLineString, i as GeoJSONMultiLineString, g as GeoJSONMultiPoint, j as GeoJSONMultiPolygon, f as GeoJSONPoint, c as GeoJSONPolygon, H as HeatmapPoint, d as MapViewport, b as MarkerData } from '../data-CICLgvT6.cjs';
1
+ import { L as LngLat, a as GeoJSONFeature, M as MapBounds, B as BoundsArray, k as MapSourceData, G as GeoJSONFeatureCollection, C as ClusterConfig } from '../data-k7o-Rne0.cjs';
2
+ export { E as ExtrusionData, c as GeoJSONGeometry, l as GeoJSONGeometryCollection, f as GeoJSONLineString, g as GeoJSONMultiLineString, e as GeoJSONMultiPoint, i as GeoJSONMultiPolygon, d as GeoJSONPoint, h as GeoJSONPolygon, H as HeatmapPoint, b as MapViewport, j as MarkerData } from '../data-k7o-Rne0.cjs';
3
3
 
4
4
  /**
5
5
  * Map event types
@@ -1,5 +1,5 @@
1
- import { L as LngLat, a as GeoJSONFeature, M as MapBounds, B as BoundsArray, k as MapSourceData, G as GeoJSONFeatureCollection, C as ClusterConfig } from '../data-CICLgvT6.js';
2
- export { E as ExtrusionData, e as GeoJSONGeometry, l as GeoJSONGeometryCollection, h as GeoJSONLineString, i as GeoJSONMultiLineString, g as GeoJSONMultiPoint, j as GeoJSONMultiPolygon, f as GeoJSONPoint, c as GeoJSONPolygon, H as HeatmapPoint, d as MapViewport, b as MarkerData } from '../data-CICLgvT6.js';
1
+ import { L as LngLat, a as GeoJSONFeature, M as MapBounds, B as BoundsArray, k as MapSourceData, G as GeoJSONFeatureCollection, C as ClusterConfig } from '../data-k7o-Rne0.js';
2
+ export { E as ExtrusionData, c as GeoJSONGeometry, l as GeoJSONGeometryCollection, f as GeoJSONLineString, g as GeoJSONMultiLineString, e as GeoJSONMultiPoint, i as GeoJSONMultiPolygon, d as GeoJSONPoint, h as GeoJSONPolygon, H as HeatmapPoint, b as MapViewport, j as MarkerData } from '../data-k7o-Rne0.js';
3
3
 
4
4
  /**
5
5
  * Map event types