@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/README.md +1 -1
- package/dist/{chunk-ZGUACUEF.js → chunk-KEBZDTH3.js} +35 -49
- package/dist/{chunk-6WMCIBJJ.js → chunk-Q4ISJ6FV.js} +1 -1
- package/dist/{chunk-4YUKENCX.js → chunk-ZAGAADA3.js} +96 -17
- package/dist/{worker-Cmyx33j4.d.ts → deck-Crhj7TKV.d.ts} +65 -33
- package/dist/{worker-BvmbGSPq.d.cts → deck-Cvmx9g1O.d.cts} +65 -33
- package/dist/index.cjs +288 -204
- package/dist/index.d.cts +60 -35
- package/dist/index.d.ts +60 -35
- package/dist/index.js +124 -109
- package/dist/theme/index.cjs +34 -48
- package/dist/theme/index.js +2 -2
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/utils/index.cjs +129 -63
- package/dist/utils/index.d.cts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.js +2 -2
- package/package.json +1 -1
- package/src/styles/bundled.css +58 -75
- package/src/styles/bundled.test.ts +44 -0
- package/src/styles/controls.css +14 -11
- package/src/styles/layer-manager.css +29 -16
- package/src/styles/popup.css +12 -11
- package/src/styles/utilities.css +32 -52
package/dist/utils/index.cjs
CHANGED
|
@@ -450,31 +450,33 @@ var THEME_LIGHT = "classic-light";
|
|
|
450
450
|
var THEME_DARK = "classic-dark";
|
|
451
451
|
function generateLightColors() {
|
|
452
452
|
return {
|
|
453
|
-
background: themeTokens.
|
|
454
|
-
water: themeTokens.
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
//
|
|
453
|
+
background: themeTokens.ch.white,
|
|
454
|
+
water: themeTokens.ch.accentTeal100,
|
|
455
|
+
// Shallows
|
|
456
|
+
land: themeTokens.ch.paper,
|
|
457
|
+
park: themeTokens.ch.linen,
|
|
458
|
+
building: themeTokens.ch.linen,
|
|
459
|
+
buildingOutline: themeTokens.ch.lichen,
|
|
460
|
+
roadPrimary: themeTokens.ch.white,
|
|
461
|
+
roadSecondary: themeTokens.ch.white,
|
|
462
|
+
roadCasing: themeTokens.ch.lichen,
|
|
463
|
+
rail: themeTokens.ch.sage500,
|
|
464
|
+
boundary: themeTokens.ch.sage500,
|
|
465
|
+
adminBoundary: themeTokens.ch.sage600,
|
|
466
|
+
residential: themeTokens.ch.paper,
|
|
467
|
+
commercial: themeTokens.ch.linen,
|
|
468
|
+
industrial: themeTokens.ch.linen,
|
|
469
|
+
highlight: themeTokens.ch.heritageTeal,
|
|
470
|
+
// hovered: 11.30:1 on land
|
|
471
|
+
highlightSecondary: themeTokens.ch.accentTeal,
|
|
472
|
+
// resting: 3.03:1 on land
|
|
473
|
+
// Selection is not an error: Steel Navy (8.71:1 on land), with the width
|
|
474
|
+
// step in getHighlightStyle, not red
|
|
475
|
+
selection: themeTokens.ch.collection.classic,
|
|
473
476
|
textPrimary: themeTokens.semanticColors.light.foreground,
|
|
474
477
|
textSecondary: themeTokens.semanticColors.light.mutedForeground,
|
|
475
|
-
textHalo: themeTokens.
|
|
476
|
-
poi: themeTokens.
|
|
477
|
-
// Core 2 - brand navy
|
|
478
|
+
textHalo: themeTokens.ch.white,
|
|
479
|
+
poi: themeTokens.ch.heritageTeal,
|
|
478
480
|
labelBackground: "rgba(255, 255, 255, 0.85)"
|
|
479
481
|
};
|
|
480
482
|
}
|
|
@@ -509,32 +511,16 @@ function generateDarkColors() {
|
|
|
509
511
|
};
|
|
510
512
|
}
|
|
511
513
|
function generateLightDataColors() {
|
|
514
|
+
const { chart } = themeTokens.semanticColors.light;
|
|
512
515
|
return {
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
// chart.4
|
|
522
|
-
themeTokens.colors.sky[600]
|
|
523
|
-
// chart.5
|
|
524
|
-
],
|
|
525
|
-
positive: themeTokens.colors.forest[500],
|
|
526
|
-
negative: themeTokens.colors.red[500],
|
|
527
|
-
neutral: themeTokens.colors.gray[500],
|
|
528
|
-
heatmapRamp: [
|
|
529
|
-
"rgba(59, 164, 167, 0)",
|
|
530
|
-
// teal transparent
|
|
531
|
-
themeTokens.colors.teal[200],
|
|
532
|
-
themeTokens.colors.teal[400],
|
|
533
|
-
themeTokens.colors.teal[500],
|
|
534
|
-
themeTokens.colors.red[400],
|
|
535
|
-
themeTokens.colors.red[500],
|
|
536
|
-
themeTokens.colors.red[600]
|
|
537
|
-
]
|
|
516
|
+
// The chart series colours, each 3:1 or more on White
|
|
517
|
+
sequence: [chart[1], chart[2], chart[3], chart[4], chart[5]],
|
|
518
|
+
positive: themeTokens.ch.heritageTeal,
|
|
519
|
+
negative: themeTokens.ch.foundersRed,
|
|
520
|
+
neutral: themeTokens.ch.grey02,
|
|
521
|
+
// One teal ramp (Shallows, Accent Teal, Heritage Teal); no red in it, since
|
|
522
|
+
// red means a problem in v2.5
|
|
523
|
+
heatmapRamp: ["rgba(216, 237, 237, 0)", themeTokens.ch.accentTeal100, themeTokens.ch.accentTeal, themeTokens.ch.heritageTeal]
|
|
538
524
|
};
|
|
539
525
|
}
|
|
540
526
|
function generateDarkDataColors() {
|
|
@@ -591,8 +577,6 @@ function generateDarkTheme() {
|
|
|
591
577
|
}
|
|
592
578
|
var lightTheme = generateLightTheme();
|
|
593
579
|
generateDarkTheme();
|
|
594
|
-
|
|
595
|
-
// src/utils/styles.ts
|
|
596
580
|
function createFillStyle(options) {
|
|
597
581
|
const paint = {
|
|
598
582
|
"fill-color": options.color
|
|
@@ -813,11 +797,11 @@ function createExtrusionHeightExpression(property, options = {}) {
|
|
|
813
797
|
}
|
|
814
798
|
return heightExpr;
|
|
815
799
|
}
|
|
816
|
-
function createStatusColorExpression(statusColors, defaultColor =
|
|
800
|
+
function createStatusColorExpression(statusColors, defaultColor = themeTokens.ch.grey02) {
|
|
817
801
|
return createCategoricalColorExpression("status", statusColors, defaultColor);
|
|
818
802
|
}
|
|
819
803
|
function createInteractiveStatusColorExpression(statusColors, options) {
|
|
820
|
-
const { hoverColor, selectedColor, defaultColor =
|
|
804
|
+
const { hoverColor, selectedColor, defaultColor = themeTokens.ch.grey02 } = options;
|
|
821
805
|
const baseExpr = createCategoricalColorExpression("status", statusColors, defaultColor);
|
|
822
806
|
if (selectedColor) {
|
|
823
807
|
return [
|
|
@@ -1206,6 +1190,27 @@ function filterByGeometryType(geojson, types) {
|
|
|
1206
1190
|
features: geojson.features.filter((f) => f.geometry && types.includes(f.geometry.type))
|
|
1207
1191
|
};
|
|
1208
1192
|
}
|
|
1193
|
+
themeTokens.ch.heritageTeal;
|
|
1194
|
+
var clusterColors = {
|
|
1195
|
+
small: themeTokens.ch.heritageTeal,
|
|
1196
|
+
// < 10 points
|
|
1197
|
+
medium: themeTokens.ch.collection.classic,
|
|
1198
|
+
// Steel Navy, 10-50 points
|
|
1199
|
+
large: themeTokens.ch.collection.portrait,
|
|
1200
|
+
// Aubergine, 50+ points
|
|
1201
|
+
stroke: themeTokens.ch.white,
|
|
1202
|
+
text: themeTokens.ch.white
|
|
1203
|
+
};
|
|
1204
|
+
({
|
|
1205
|
+
fill: themeTokens.ch.heritageTeal,
|
|
1206
|
+
line: themeTokens.ch.heritageTeal,
|
|
1207
|
+
hoverFill: themeTokens.ch.heritageTeal,
|
|
1208
|
+
defaultFill: themeTokens.ch.accentTeal,
|
|
1209
|
+
hoverLine: themeTokens.ch.heritageTeal,
|
|
1210
|
+
defaultLine: themeTokens.ch.accentTeal
|
|
1211
|
+
});
|
|
1212
|
+
themeTokens.ch.foundersRed;
|
|
1213
|
+
themeTokens.ch.grey02;
|
|
1209
1214
|
|
|
1210
1215
|
// src/utils/cluster.ts
|
|
1211
1216
|
function isClusterFeature(feature) {
|
|
@@ -1290,28 +1295,29 @@ async function expandClusterToBounds(map, sourceId, clusterId, options = {}) {
|
|
|
1290
1295
|
}
|
|
1291
1296
|
function createClusterStyles(options = {}) {
|
|
1292
1297
|
const {
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1298
|
+
// v2.5 defaults: dark circles that carry White counts (12.68, 9.78, 6.71)
|
|
1299
|
+
smallColor = clusterColors.small,
|
|
1300
|
+
mediumColor = clusterColors.medium,
|
|
1301
|
+
largeColor = clusterColors.large,
|
|
1296
1302
|
mediumThreshold = 100,
|
|
1297
1303
|
largeThreshold = 750,
|
|
1298
1304
|
smallRadius = 20,
|
|
1299
1305
|
mediumRadius = 30,
|
|
1300
1306
|
largeRadius = 40,
|
|
1301
|
-
strokeColor =
|
|
1307
|
+
strokeColor = clusterColors.stroke,
|
|
1302
1308
|
strokeWidth = 2,
|
|
1303
1309
|
opacity = 0.85
|
|
1304
1310
|
} = options.circle ?? {};
|
|
1305
1311
|
const {
|
|
1306
|
-
textColor =
|
|
1312
|
+
textColor = clusterColors.text,
|
|
1307
1313
|
textSize = 12,
|
|
1308
1314
|
fontStack = ["Open Sans Bold", "Arial Unicode MS Bold"],
|
|
1309
1315
|
abbreviated = false
|
|
1310
1316
|
} = options.text ?? {};
|
|
1311
1317
|
const {
|
|
1312
|
-
color: pointColor =
|
|
1318
|
+
color: pointColor = clusterColors.small,
|
|
1313
1319
|
radius: pointRadius = 8,
|
|
1314
|
-
strokeColor: pointStrokeColor =
|
|
1320
|
+
strokeColor: pointStrokeColor = clusterColors.stroke,
|
|
1315
1321
|
strokeWidth: pointStrokeWidth = 1
|
|
1316
1322
|
} = options.unclusteredPoint ?? {};
|
|
1317
1323
|
return {
|
|
@@ -2831,24 +2837,72 @@ function createGeoJSONFingerprint(data) {
|
|
|
2831
2837
|
if (data.type !== "FeatureCollection") return null;
|
|
2832
2838
|
const features = data.features;
|
|
2833
2839
|
if (!features || !Array.isArray(features)) {
|
|
2834
|
-
return { count: 0, firstId: void 0, lastId: void 0 };
|
|
2840
|
+
return { count: 0, firstId: void 0, lastId: void 0, hash: 0 };
|
|
2835
2841
|
}
|
|
2836
2842
|
const count = features.length;
|
|
2837
2843
|
if (count === 0) {
|
|
2838
|
-
return { count: 0, firstId: void 0, lastId: void 0 };
|
|
2844
|
+
return { count: 0, firstId: void 0, lastId: void 0, hash: 0 };
|
|
2839
2845
|
}
|
|
2840
2846
|
const firstFeature = features[0];
|
|
2841
2847
|
const lastFeature = features[count - 1];
|
|
2842
2848
|
return {
|
|
2843
2849
|
count,
|
|
2844
2850
|
firstId: firstFeature?.id,
|
|
2845
|
-
lastId: lastFeature?.id
|
|
2851
|
+
lastId: lastFeature?.id,
|
|
2852
|
+
hash: hashValue(SEED, features)
|
|
2846
2853
|
};
|
|
2847
2854
|
}
|
|
2855
|
+
var SEED = 2166136261;
|
|
2856
|
+
var TAG_NULL = 1;
|
|
2857
|
+
var TAG_FALSE = 2;
|
|
2858
|
+
var TAG_TRUE = 3;
|
|
2859
|
+
var TAG_NUMBER = 4;
|
|
2860
|
+
var TAG_STRING = 5;
|
|
2861
|
+
var TAG_ARRAY = 6;
|
|
2862
|
+
var TAG_OBJECT = 7;
|
|
2863
|
+
var TAG_UNDEFINED = 8;
|
|
2864
|
+
var float = new Float64Array(1);
|
|
2865
|
+
var floatWords = new Uint32Array(float.buffer);
|
|
2866
|
+
function mix(hash, word) {
|
|
2867
|
+
hash = Math.imul(hash ^ word, 1540483477);
|
|
2868
|
+
return hash ^ hash >>> 15;
|
|
2869
|
+
}
|
|
2870
|
+
function hashString(hash, value) {
|
|
2871
|
+
hash = mix(mix(hash, TAG_STRING), value.length);
|
|
2872
|
+
for (let i = 0; i < value.length; i++) hash = mix(hash, value.charCodeAt(i));
|
|
2873
|
+
return hash;
|
|
2874
|
+
}
|
|
2875
|
+
function hashValue(hash, value) {
|
|
2876
|
+
switch (typeof value) {
|
|
2877
|
+
case "number":
|
|
2878
|
+
float[0] = value;
|
|
2879
|
+
return mix(mix(mix(hash, TAG_NUMBER), floatWords[0]), floatWords[1]);
|
|
2880
|
+
case "string":
|
|
2881
|
+
return hashString(hash, value);
|
|
2882
|
+
case "boolean":
|
|
2883
|
+
return mix(hash, value ? TAG_TRUE : TAG_FALSE);
|
|
2884
|
+
case "object": {
|
|
2885
|
+
if (value === null) return mix(hash, TAG_NULL);
|
|
2886
|
+
if (Array.isArray(value)) {
|
|
2887
|
+
hash = mix(mix(hash, TAG_ARRAY), value.length);
|
|
2888
|
+
for (let i = 0; i < value.length; i++) hash = hashValue(hash, value[i]);
|
|
2889
|
+
return hash;
|
|
2890
|
+
}
|
|
2891
|
+
hash = mix(hash, TAG_OBJECT);
|
|
2892
|
+
for (const key in value) {
|
|
2893
|
+
if (!Object.prototype.hasOwnProperty.call(value, key)) continue;
|
|
2894
|
+
hash = hashValue(hashString(hash, key), value[key]);
|
|
2895
|
+
}
|
|
2896
|
+
return hash;
|
|
2897
|
+
}
|
|
2898
|
+
default:
|
|
2899
|
+
return mix(hash, TAG_UNDEFINED);
|
|
2900
|
+
}
|
|
2901
|
+
}
|
|
2848
2902
|
function fingerprintEqual(a, b) {
|
|
2849
2903
|
if (a === null && b === null) return true;
|
|
2850
2904
|
if (a === null || b === null) return false;
|
|
2851
|
-
return a.count === b.count && a.firstId === b.firstId && a.lastId === b.lastId;
|
|
2905
|
+
return a.count === b.count && a.firstId === b.firstId && a.lastId === b.lastId && a.hash === b.hash;
|
|
2852
2906
|
}
|
|
2853
2907
|
function geoJSONEqual(a, b) {
|
|
2854
2908
|
if (typeof a === "string" || typeof b === "string") {
|
|
@@ -3030,6 +3084,16 @@ function warnIfWorkerUrlMissing(maplibregl, log = console.warn) {
|
|
|
3030
3084
|
}
|
|
3031
3085
|
}
|
|
3032
3086
|
|
|
3087
|
+
// src/utils/deck.ts
|
|
3088
|
+
function supportsDeckInterleaving(map) {
|
|
3089
|
+
if (!map) return false;
|
|
3090
|
+
const transform = map.transform;
|
|
3091
|
+
return typeof transform === "object" && transform !== null;
|
|
3092
|
+
}
|
|
3093
|
+
function resolveDeckInterleaved(map, requested) {
|
|
3094
|
+
return requested && supportsDeckInterleaving(map);
|
|
3095
|
+
}
|
|
3096
|
+
|
|
3033
3097
|
exports.DEFAULT_SIMPLIFICATION_THRESHOLDS = DEFAULT_SIMPLIFICATION_THRESHOLDS;
|
|
3034
3098
|
exports.KEYBOARD_CONTROLS = KEYBOARD_CONTROLS;
|
|
3035
3099
|
exports.MARKER_PROTECTION_CLASS = MARKER_PROTECTION_CLASS;
|
|
@@ -3129,11 +3193,13 @@ exports.queryRTreeByBounds = queryRTreeByBounds;
|
|
|
3129
3193
|
exports.queryRTreeByBoundsWithStats = queryRTreeByBoundsWithStats;
|
|
3130
3194
|
exports.removeMarkerProtection = removeMarkerProtection;
|
|
3131
3195
|
exports.resetWorkerUrlWarning = resetWorkerUrlWarning;
|
|
3196
|
+
exports.resolveDeckInterleaved = resolveDeckInterleaved;
|
|
3132
3197
|
exports.serializeFilter = serializeFilter;
|
|
3133
3198
|
exports.simplifyFeature = simplifyFeature;
|
|
3134
3199
|
exports.simplifyFeatureCollection = simplifyFeatureCollection;
|
|
3135
3200
|
exports.simplifyFeatureCollectionWithStats = simplifyFeatureCollectionWithStats;
|
|
3136
3201
|
exports.simplifyPolygon = simplifyPolygon;
|
|
3202
|
+
exports.supportsDeckInterleaving = supportsDeckInterleaving;
|
|
3137
3203
|
exports.validateBoundsArray = validateBoundsArray;
|
|
3138
3204
|
exports.validateCoordinates = validateCoordinates;
|
|
3139
3205
|
exports.validateGeoJSON = validateGeoJSON;
|
package/dist/utils/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as ClusterCircleStyleOptions, a as ClusterExpandOptions, b as ClusterExpansionResult, c as ClusterFeatureProperties, d as ClusterLayerStyles, e as ClusterMapBoundsExpander, f as ClusterMapExpander, g as ClusterMapReader, h as ClusterTextStyleOptions, i as ClusterableGeoJSONSource, j as ColorExpression, k as CoordinateValidationResult, D as DEFAULT_SIMPLIFICATION_THRESHOLDS, l as
|
|
1
|
+
export { C as ClusterCircleStyleOptions, a as ClusterExpandOptions, b as ClusterExpansionResult, c as ClusterFeatureProperties, d as ClusterLayerStyles, e as ClusterMapBoundsExpander, f as ClusterMapExpander, g as ClusterMapReader, h as ClusterTextStyleOptions, i as ClusterableGeoJSONSource, 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, y as MapLibreWorkerApi, 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';
|
|
2
2
|
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';
|
|
3
3
|
import '../data-DCyEqgN0.cjs';
|
|
4
4
|
import '../generator-CU9ZTZ1v.cjs';
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as ClusterCircleStyleOptions, a as ClusterExpandOptions, b as ClusterExpansionResult, c as ClusterFeatureProperties, d as ClusterLayerStyles, e as ClusterMapBoundsExpander, f as ClusterMapExpander, g as ClusterMapReader, h as ClusterTextStyleOptions, i as ClusterableGeoJSONSource, j as ColorExpression, k as CoordinateValidationResult, D as DEFAULT_SIMPLIFICATION_THRESHOLDS, l as
|
|
1
|
+
export { C as ClusterCircleStyleOptions, a as ClusterExpandOptions, b as ClusterExpansionResult, c as ClusterFeatureProperties, d as ClusterLayerStyles, e as ClusterMapBoundsExpander, f as ClusterMapExpander, g as ClusterMapReader, h as ClusterTextStyleOptions, i as ClusterableGeoJSONSource, 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, y as MapLibreWorkerApi, 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';
|
|
2
2
|
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';
|
|
3
3
|
import '../data-DCyEqgN0.js';
|
|
4
4
|
import '../generator-CU9ZTZ1v.js';
|
package/dist/utils/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { DEFAULT_SIMPLIFICATION_THRESHOLDS, KEYBOARD_CONTROLS, MARKER_PROTECTION_CLASS, applyMarkerChildProtection, applyMarkerProtection, boundsToPolygon, buildRTreeIndex, buildSpatialIndex, calculateBounds, calculateCentroid, calculateZoomThresholds, clampLatitude, combineBounds, countFeaturesByType, createCategoricalColorExpression, createCircleStyle, createClusterCirclePaint, createClusterStyles, createClusterTextLayout, createContinuousColorExpression, createDynamicLODManager, createExtrusionHeightExpression, createExtrusionStyle, createFillStyle, createGeoJSONFingerprint, createHeatmapStyle, createHoverExpression, createIdleViewportManager, createInteractiveExpression, createInteractiveStatusColorExpression, createLineStyle, createLotFillStyle, createLotOutlineStyle, createPredictiveViewportManager, createRTreeViewportManager, createSelectionExpression, createStatusColorExpression, createViewportManager, createViewportQuery, createZoomExpression, decimalToDMS, deepEqual, ensureValidCoordinates, expandCluster, expandClusterToBounds, extendBounds, filterByGeometryType, filterEqual, fingerprintEqual, formatArea, formatBearing, formatBounds, formatCoordinates, formatDistance, formatFeatureProperties, formatLabel, formatPitch, formatPropertyValue, formatScale, formatZoom, generateBoundingPolygon, generateConvexHull, generateFeatureCollectionDescription, generateFeatureTable, generateKeyboardControlsDescription, generateLODData, generateLODDataWithSimplification, generateMapDescription, generateMarkerList, generateMarkersDescription, generateMoveAnnouncement, geoJSONEqual, getChangedPaintProps, getClusterBounds, getClusterChildren, getClusterExpansionZoom, getClusterLeaves, getGridNavigationIndex, getHighlightStyle, getSelectionStyle, getSimplificationToleranceForZoom, getSimplifiedFeaturesForZoom, groupFeaturesByProperty, isClusterFeature, isValidBounds, isValidLatitude, isValidLongitude, loadGeoJSON, normalizeLongitude, normalizePadding, paintPropsEqual, panToFitPopup, prefersReducedMotion, queryByBounds, queryByBoundsWithStats, queryRTreeByBounds, queryRTreeByBoundsWithStats, removeMarkerProtection, resetWorkerUrlWarning, serializeFilter, simplifyFeature, simplifyFeatureCollection, simplifyFeatureCollectionWithStats, simplifyPolygon, validateBoundsArray, validateCoordinates, validateGeoJSON, warnIfWorkerUrlMissing, zoomToScale } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { DEFAULT_SIMPLIFICATION_THRESHOLDS, KEYBOARD_CONTROLS, MARKER_PROTECTION_CLASS, applyMarkerChildProtection, applyMarkerProtection, boundsToPolygon, buildRTreeIndex, buildSpatialIndex, calculateBounds, calculateCentroid, calculateZoomThresholds, clampLatitude, combineBounds, countFeaturesByType, createCategoricalColorExpression, createCircleStyle, createClusterCirclePaint, createClusterStyles, createClusterTextLayout, createContinuousColorExpression, createDynamicLODManager, createExtrusionHeightExpression, createExtrusionStyle, createFillStyle, createGeoJSONFingerprint, createHeatmapStyle, createHoverExpression, createIdleViewportManager, createInteractiveExpression, createInteractiveStatusColorExpression, createLineStyle, createLotFillStyle, createLotOutlineStyle, createPredictiveViewportManager, createRTreeViewportManager, createSelectionExpression, createStatusColorExpression, createViewportManager, createViewportQuery, createZoomExpression, decimalToDMS, deepEqual, ensureValidCoordinates, expandCluster, expandClusterToBounds, extendBounds, filterByGeometryType, filterEqual, fingerprintEqual, formatArea, formatBearing, formatBounds, formatCoordinates, formatDistance, formatFeatureProperties, formatLabel, formatPitch, formatPropertyValue, formatScale, formatZoom, generateBoundingPolygon, generateConvexHull, generateFeatureCollectionDescription, generateFeatureTable, generateKeyboardControlsDescription, generateLODData, generateLODDataWithSimplification, generateMapDescription, generateMarkerList, generateMarkersDescription, generateMoveAnnouncement, geoJSONEqual, getChangedPaintProps, getClusterBounds, getClusterChildren, getClusterExpansionZoom, getClusterLeaves, getGridNavigationIndex, getHighlightStyle, getSelectionStyle, getSimplificationToleranceForZoom, getSimplifiedFeaturesForZoom, groupFeaturesByProperty, isClusterFeature, isValidBounds, isValidLatitude, isValidLongitude, loadGeoJSON, normalizeLongitude, normalizePadding, paintPropsEqual, panToFitPopup, prefersReducedMotion, queryByBounds, queryByBoundsWithStats, queryRTreeByBounds, queryRTreeByBoundsWithStats, removeMarkerProtection, resetWorkerUrlWarning, resolveDeckInterleaved, serializeFilter, simplifyFeature, simplifyFeatureCollection, simplifyFeatureCollectionWithStats, simplifyPolygon, supportsDeckInterleaving, validateBoundsArray, validateCoordinates, validateGeoJSON, warnIfWorkerUrlMissing, zoomToScale } from '../chunk-ZAGAADA3.js';
|
|
2
|
+
import '../chunk-KEBZDTH3.js';
|
package/package.json
CHANGED
package/src/styles/bundled.css
CHANGED
|
@@ -36,45 +36,45 @@
|
|
|
36
36
|
:root {
|
|
37
37
|
/* Semantic Colors (HSL format) */
|
|
38
38
|
--background: 0 0% 100%;
|
|
39
|
-
--background-hover:
|
|
40
|
-
--foreground:
|
|
39
|
+
--background-hover: 60 13% 94%;
|
|
40
|
+
--foreground: 60 1% 31%;
|
|
41
41
|
|
|
42
42
|
--card: 0 0% 100%;
|
|
43
|
-
--card-foreground:
|
|
43
|
+
--card-foreground: 60 1% 31%;
|
|
44
44
|
|
|
45
45
|
--popover: 0 0% 100%;
|
|
46
|
-
--popover-foreground:
|
|
46
|
+
--popover-foreground: 60 1% 31%;
|
|
47
47
|
|
|
48
|
-
--primary:
|
|
48
|
+
--primary: 188 37% 17%;
|
|
49
49
|
--primary-foreground: 0 0% 100%;
|
|
50
|
-
--primary-hover:
|
|
50
|
+
--primary-hover: 188 37% 17%;
|
|
51
51
|
|
|
52
|
-
--secondary:
|
|
53
|
-
--secondary-foreground:
|
|
54
|
-
--secondary-hover:
|
|
52
|
+
--secondary: 0 0% 100%;
|
|
53
|
+
--secondary-foreground: 188 37% 17%;
|
|
54
|
+
--secondary-hover: 60 13% 94%;
|
|
55
55
|
|
|
56
|
-
--muted:
|
|
57
|
-
--muted-foreground: 0 0%
|
|
58
|
-
--muted-hover:
|
|
56
|
+
--muted: 60 13% 94%;
|
|
57
|
+
--muted-foreground: 0 0% 40%;
|
|
58
|
+
--muted-hover: 66 15% 87%;
|
|
59
59
|
|
|
60
|
-
--accent:
|
|
61
|
-
--accent-foreground:
|
|
62
|
-
--accent-hover:
|
|
60
|
+
--accent: 66 15% 87%;
|
|
61
|
+
--accent-foreground: 60 1% 31%;
|
|
62
|
+
--accent-hover: 66 15% 87%;
|
|
63
63
|
|
|
64
|
-
--destructive:
|
|
64
|
+
--destructive: 358 69% 40%;
|
|
65
65
|
--destructive-foreground: 0 0% 100%;
|
|
66
|
-
--destructive-hover:
|
|
66
|
+
--destructive-hover: 358 69% 34%;
|
|
67
67
|
|
|
68
68
|
--border: 0 0% 0%;
|
|
69
69
|
--input: 0 0% 0%;
|
|
70
|
-
--ring:
|
|
70
|
+
--ring: 188 37% 17%;
|
|
71
71
|
|
|
72
72
|
/* Status Colors */
|
|
73
|
-
--success:
|
|
73
|
+
--success: 188 37% 17%;
|
|
74
74
|
--success-foreground: 0 0% 100%;
|
|
75
|
-
--warning:
|
|
75
|
+
--warning: 358 69% 40%;
|
|
76
76
|
--warning-foreground: 0 0% 100%;
|
|
77
|
-
--info:
|
|
77
|
+
--info: 188 37% 17%;
|
|
78
78
|
--info-foreground: 0 0% 100%;
|
|
79
79
|
|
|
80
80
|
/* Layout */
|
|
@@ -83,11 +83,11 @@
|
|
|
83
83
|
--radius: 0.5rem;
|
|
84
84
|
|
|
85
85
|
/* Chart Colors */
|
|
86
|
-
--chart-1:
|
|
87
|
-
--chart-2:
|
|
88
|
-
--chart-3:
|
|
89
|
-
--chart-4:
|
|
90
|
-
--chart-5:
|
|
86
|
+
--chart-1: 188 37% 17%;
|
|
87
|
+
--chart-2: 71 10% 40%;
|
|
88
|
+
--chart-3: 182 50% 41%;
|
|
89
|
+
--chart-4: 70 9% 48%;
|
|
90
|
+
--chart-5: 30 1% 46%;
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
.dark {
|
|
@@ -467,11 +467,8 @@
|
|
|
467
467
|
.border-input {
|
|
468
468
|
border-color: hsl(var(--input, 0 0% 0%));
|
|
469
469
|
}
|
|
470
|
-
.border-
|
|
471
|
-
border-color:
|
|
472
|
-
}
|
|
473
|
-
.border-destructive\/50 {
|
|
474
|
-
border-color: hsl(var(--destructive, 0 75% 51%) / 0.5);
|
|
470
|
+
.border-foreground {
|
|
471
|
+
border-color: hsl(var(--foreground, 60 1% 31%));
|
|
475
472
|
}
|
|
476
473
|
|
|
477
474
|
/* Border Radius */
|
|
@@ -501,7 +498,7 @@
|
|
|
501
498
|
background-color: hsl(var(--background, 0 0% 100%));
|
|
502
499
|
}
|
|
503
500
|
.bg-foreground {
|
|
504
|
-
background-color: hsl(var(--foreground,
|
|
501
|
+
background-color: hsl(var(--foreground, 60 1% 31%));
|
|
505
502
|
}
|
|
506
503
|
.bg-card {
|
|
507
504
|
background-color: hsl(var(--card, 0 0% 100%));
|
|
@@ -510,60 +507,48 @@
|
|
|
510
507
|
background-color: hsl(var(--popover, 0 0% 100%));
|
|
511
508
|
}
|
|
512
509
|
.bg-muted {
|
|
513
|
-
background-color: hsl(var(--muted,
|
|
514
|
-
}
|
|
515
|
-
.bg-muted\/30 {
|
|
516
|
-
background-color: hsl(var(--muted, 72 11% 91%) / 0.3);
|
|
517
|
-
}
|
|
518
|
-
.bg-muted\/50 {
|
|
519
|
-
background-color: hsl(var(--muted, 72 11% 91%) / 0.5);
|
|
510
|
+
background-color: hsl(var(--muted, 60 13% 94%));
|
|
520
511
|
}
|
|
521
512
|
.bg-accent {
|
|
522
|
-
background-color: hsl(var(--accent,
|
|
523
|
-
}
|
|
524
|
-
.bg-destructive\/5 {
|
|
525
|
-
background-color: hsl(var(--destructive, 0 75% 51%) / 0.05);
|
|
513
|
+
background-color: hsl(var(--accent, 66 15% 87%));
|
|
526
514
|
}
|
|
527
515
|
.bg-muted-foreground\/20 {
|
|
528
|
-
background-color: hsl(var(--muted-foreground, 0 0%
|
|
516
|
+
background-color: hsl(var(--muted-foreground, 0 0% 40%) / 0.2);
|
|
529
517
|
}
|
|
530
518
|
.bg-primary {
|
|
531
|
-
background-color: hsl(var(--primary,
|
|
519
|
+
background-color: hsl(var(--primary, 188 37% 17%));
|
|
532
520
|
}
|
|
533
521
|
.bg-secondary {
|
|
534
|
-
background-color: hsl(var(--secondary,
|
|
522
|
+
background-color: hsl(var(--secondary, 0 0% 100%));
|
|
535
523
|
}
|
|
536
524
|
.bg-success {
|
|
537
|
-
background-color: hsl(var(--success,
|
|
525
|
+
background-color: hsl(var(--success, 188 37% 17%));
|
|
538
526
|
}
|
|
539
527
|
.bg-warning {
|
|
540
|
-
background-color: hsl(var(--warning,
|
|
528
|
+
background-color: hsl(var(--warning, 358 69% 40%));
|
|
541
529
|
}
|
|
542
530
|
.bg-info {
|
|
543
|
-
background-color: hsl(var(--info,
|
|
531
|
+
background-color: hsl(var(--info, 188 37% 17%));
|
|
544
532
|
}
|
|
545
533
|
|
|
546
534
|
/* Text Colors */
|
|
547
535
|
.text-foreground {
|
|
548
|
-
color: hsl(var(--foreground,
|
|
536
|
+
color: hsl(var(--foreground, 60 1% 31%));
|
|
549
537
|
}
|
|
550
538
|
.text-card-foreground {
|
|
551
|
-
color: hsl(var(--card-foreground,
|
|
539
|
+
color: hsl(var(--card-foreground, 60 1% 31%));
|
|
552
540
|
}
|
|
553
541
|
.text-popover-foreground {
|
|
554
|
-
color: hsl(var(--popover-foreground,
|
|
542
|
+
color: hsl(var(--popover-foreground, 60 1% 31%));
|
|
555
543
|
}
|
|
556
544
|
.text-muted-foreground {
|
|
557
|
-
color: hsl(var(--muted-foreground, 0 0%
|
|
558
|
-
}
|
|
559
|
-
.text-muted-foreground\/60 {
|
|
560
|
-
color: hsl(var(--muted-foreground, 0 0% 48%) / 0.6);
|
|
545
|
+
color: hsl(var(--muted-foreground, 0 0% 40%));
|
|
561
546
|
}
|
|
562
547
|
.text-destructive {
|
|
563
|
-
color: hsl(var(--destructive,
|
|
548
|
+
color: hsl(var(--destructive, 358 69% 40%));
|
|
564
549
|
}
|
|
565
550
|
.text-accent-foreground {
|
|
566
|
-
color: hsl(var(--accent-foreground,
|
|
551
|
+
color: hsl(var(--accent-foreground, 60 1% 31%));
|
|
567
552
|
}
|
|
568
553
|
.text-border {
|
|
569
554
|
color: hsl(var(--border, 0 0% 0%));
|
|
@@ -572,7 +557,7 @@
|
|
|
572
557
|
color: hsl(var(--primary-foreground, 0 0% 100%));
|
|
573
558
|
}
|
|
574
559
|
.text-secondary-foreground {
|
|
575
|
-
color: hsl(var(--secondary-foreground,
|
|
560
|
+
color: hsl(var(--secondary-foreground, 188 37% 17%));
|
|
576
561
|
}
|
|
577
562
|
.text-success-foreground {
|
|
578
563
|
color: hsl(var(--success-foreground, 0 0% 100%));
|
|
@@ -612,6 +597,9 @@
|
|
|
612
597
|
.font-semibold {
|
|
613
598
|
font-weight: 600;
|
|
614
599
|
}
|
|
600
|
+
.line-through {
|
|
601
|
+
text-decoration-line: line-through;
|
|
602
|
+
}
|
|
615
603
|
.font-mono {
|
|
616
604
|
font-family:
|
|
617
605
|
ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
|
|
@@ -654,18 +642,18 @@
|
|
|
654
642
|
|
|
655
643
|
/* Ring */
|
|
656
644
|
.ring-2 {
|
|
657
|
-
box-shadow: 0 0 0 2px var(--tw-ring-color, hsl(var(--ring,
|
|
645
|
+
box-shadow: 0 0 0 2px var(--tw-ring-color, hsl(var(--ring, 188 37% 17%)));
|
|
658
646
|
}
|
|
659
647
|
.ring-primary {
|
|
660
|
-
--tw-ring-color: hsl(var(--primary,
|
|
648
|
+
--tw-ring-color: hsl(var(--primary, 188 37% 17%));
|
|
661
649
|
}
|
|
662
650
|
.ring-ring {
|
|
663
|
-
--tw-ring-color: hsl(var(--ring,
|
|
651
|
+
--tw-ring-color: hsl(var(--ring, 188 37% 17%));
|
|
664
652
|
}
|
|
665
653
|
.ring-offset-2 {
|
|
666
654
|
box-shadow:
|
|
667
655
|
0 0 0 2px hsl(var(--background, 0 0% 100%)),
|
|
668
|
-
0 0 0 calc(2px + 2px) var(--tw-ring-color, hsl(var(--ring,
|
|
656
|
+
0 0 0 calc(2px + 2px) var(--tw-ring-color, hsl(var(--ring, 188 37% 17%)));
|
|
669
657
|
}
|
|
670
658
|
|
|
671
659
|
/* Opacity */
|
|
@@ -773,16 +761,16 @@
|
|
|
773
761
|
|
|
774
762
|
/* Hover States */
|
|
775
763
|
.hover\:bg-muted:hover {
|
|
776
|
-
background-color: hsl(var(--muted,
|
|
764
|
+
background-color: hsl(var(--muted, 60 13% 94%));
|
|
777
765
|
}
|
|
778
766
|
.hover\:bg-accent:hover {
|
|
779
|
-
background-color: hsl(var(--accent,
|
|
767
|
+
background-color: hsl(var(--accent, 66 15% 87%));
|
|
780
768
|
}
|
|
781
769
|
.hover\:text-foreground:hover {
|
|
782
|
-
color: hsl(var(--foreground,
|
|
770
|
+
color: hsl(var(--foreground, 60 1% 31%));
|
|
783
771
|
}
|
|
784
772
|
.hover\:text-accent-foreground:hover {
|
|
785
|
-
color: hsl(var(--accent-foreground,
|
|
773
|
+
color: hsl(var(--accent-foreground, 60 1% 31%));
|
|
786
774
|
}
|
|
787
775
|
|
|
788
776
|
/* Focus States */
|
|
@@ -791,20 +779,15 @@
|
|
|
791
779
|
outline-offset: 2px;
|
|
792
780
|
}
|
|
793
781
|
.focus-visible\:ring-2:focus-visible {
|
|
794
|
-
box-shadow: 0 0 0 2px var(--tw-ring-color, hsl(var(--ring,
|
|
782
|
+
box-shadow: 0 0 0 2px var(--tw-ring-color, hsl(var(--ring, 188 37% 17%)));
|
|
795
783
|
}
|
|
796
784
|
.focus-visible\:ring-ring:focus-visible {
|
|
797
|
-
--tw-ring-color: hsl(var(--ring,
|
|
785
|
+
--tw-ring-color: hsl(var(--ring, 188 37% 17%));
|
|
798
786
|
}
|
|
799
787
|
.focus-visible\:ring-offset-2:focus-visible {
|
|
800
788
|
box-shadow:
|
|
801
789
|
0 0 0 2px hsl(var(--background, 0 0% 100%)),
|
|
802
|
-
0 0 0 calc(2px + 2px) var(--tw-ring-color, hsl(var(--ring,
|
|
803
|
-
}
|
|
804
|
-
|
|
805
|
-
/* Dark Mode */
|
|
806
|
-
.dark .dark\:border-gray-400 {
|
|
807
|
-
border-color: rgb(156 163 175);
|
|
790
|
+
0 0 0 calc(2px + 2px) var(--tw-ring-color, hsl(var(--ring, 188 37% 17%)));
|
|
808
791
|
}
|
|
809
792
|
}
|
|
810
793
|
|