@tileflow/core 0.1.0-alpha.28 → 0.1.0-alpha.29

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,8 +1,21 @@
1
- import { o as TileflowSymbolStyle, A as TileflowAreaStyle, _ as TileflowLineStackStyle, n as TileflowLineStyle, l as TileflowExtrusionStyle, j as TileflowBackgroundStyle, m as TileflowFillStyle, a3 as TileflowMarkerSymbolStyle, k as TileflowCircleStyle, b5 as TileflowThemeColorValue, b8 as TileflowThemeNumberValue, aX as TileflowTerrainHillshadeStyle, aW as TileflowTerrainEncoding, b6 as TileflowThemeFontValue, b7 as TileflowThemeImageValue, bO as TileflowTypographyStyle, S as TileflowLight, bP as ResolvedTileflowTypography, s as TileflowLabelsModuleConfig, v as TileflowPoiModuleConfig, q as TileflowRoadsModuleConfig, ad as TileflowProjection, aR as TileflowTerrain, bc as TileflowViewConfig, M as MapLibreStyle, bg as ValidationResult } from './manifest-types-BdGjIYy-.js';
1
+ import { b5 as TileflowThemeColorValue, o as TileflowSymbolStyle, A as TileflowAreaStyle, _ as TileflowLineStackStyle, n as TileflowLineStyle, l as TileflowExtrusionStyle, j as TileflowBackgroundStyle, m as TileflowFillStyle, a3 as TileflowMarkerSymbolStyle, k as TileflowCircleStyle, b8 as TileflowThemeNumberValue, aX as TileflowTerrainHillshadeStyle, aW as TileflowTerrainEncoding, b6 as TileflowThemeFontValue, b7 as TileflowThemeImageValue, bO as TileflowTypographyStyle, S as TileflowLight, bP as ResolvedTileflowTypography, s as TileflowLabelsModuleConfig, v as TileflowPoiModuleConfig, q as TileflowRoadsModuleConfig, ad as TileflowProjection, aR as TileflowTerrain, bc as TileflowViewConfig, M as MapLibreStyle, bg as ValidationResult } from './manifest-types-BZU4zbmI.js';
2
2
  import * as zod from 'zod';
3
3
  import { z } from 'zod';
4
4
  import { T as TileflowCaptureScene } from './capture-scene-D6soWztE.js';
5
5
 
6
+ /** Optional globe atmosphere. Colors use theme tokens or explicit fixed values and must resolve to opaque colors. */
7
+ type TileflowAtmosphereOptions = {
8
+ skyColor?: TileflowThemeColorValue;
9
+ horizonColor?: TileflowThemeColorValue;
10
+ fogColor?: TileflowThemeColorValue;
11
+ spaceColor?: TileflowThemeColorValue;
12
+ /** Star brightness from 0 (hidden) to 1. Default: 0.6. */
13
+ starIntensity?: number;
14
+ /** Camera-relative star movement from 0 (still) to 1. Default: 0.4. */
15
+ starParallax?: number;
16
+ };
17
+ type TileflowAtmosphere = boolean | TileflowAtmosphereOptions;
18
+
6
19
  type TileflowAddressesModuleOptions = {
7
20
  /** Styling for OpenMapTiles point house-number labels. */
8
21
  labels?: TileflowSymbolStyle;
@@ -765,52 +778,6 @@ type TileflowResolvedSemanticModuleOverrides = {
765
778
  readonly [TName in TileflowSemanticModuleName]?: TileflowResolvedModuleConfig<NonNullable<TileflowSemanticModules[TName]>>;
766
779
  };
767
780
 
768
- declare const tileflowOverlayPlacements: readonly ["above-water", "below-roads", "above-roads", "above-buildings", "below-labels", "above-labels"];
769
- declare const tileflowHostedSourceLimit: 16;
770
- type TileflowOverlayPlacement = (typeof tileflowOverlayPlacements)[number];
771
- type TileflowHostedTilesetType = 'raster' | 'vector';
772
- type TileflowHostedTilesetSource = Readonly<{
773
- attribution: string;
774
- kind: 'hosted-tileset';
775
- local: string;
776
- tileset: string;
777
- tileSize?: 256 | 512;
778
- type: TileflowHostedTilesetType;
779
- }>;
780
- type TileflowMapLibreOverlayLayer = Readonly<Record<string, unknown> & {
781
- id: string;
782
- source?: never;
783
- type: string;
784
- }>;
785
- type TileflowMapLibreOverlay = Readonly<{
786
- kind: 'maplibre-overlay';
787
- layers: readonly TileflowMapLibreOverlayLayer[];
788
- placement: TileflowOverlayPlacement;
789
- source: string;
790
- }>;
791
- type TileflowRemoveOperation = Readonly<{
792
- op: 'remove';
793
- }>;
794
- type TileflowHostedSourceCollection = Readonly<Record<string, TileflowHostedTilesetSource | TileflowRemoveOperation>>;
795
- type TileflowOverlayCollection = Readonly<Record<string, TileflowMapLibreOverlay | TileflowRemoveOperation>>;
796
- /** Bind one logical Team tileset to an explicit account-free local PMTiles archive. */
797
- declare function hostedTileset(options: {
798
- attribution: string;
799
- local: string;
800
- tileset: string;
801
- tileSize?: 256 | 512;
802
- type?: TileflowHostedTilesetType;
803
- }): TileflowHostedTilesetSource;
804
- /** Group one or more ordinary MapLibre layers around one named Tileflow source. */
805
- declare function maplibreOverlay(options: {
806
- layers: readonly TileflowMapLibreOverlayLayer[];
807
- placement: TileflowOverlayPlacement;
808
- source: string;
809
- }): TileflowMapLibreOverlay;
810
- /** Remove one inherited keyed source or overlay. */
811
- declare function remove(): TileflowRemoveOperation;
812
- declare function isSafeLocalPmtilesPath(value: unknown): value is string;
813
-
814
781
  /** A directory resolved relative to the selected executable tileflow.config.ts. */
815
782
  type TileflowLocalDirectory = `./${string}` | `../${string}`;
816
783
  declare const tileflowLocalDirectoryMaximumLength = 512;
@@ -868,6 +835,52 @@ declare class TileflowIconSetError extends Error {
868
835
  /** Validate the dependency sequence without consulting a lock or registry. */
869
836
  declare function collectTileflowIconSetReferences(sources: readonly TileflowIconSource[]): TileflowIconSetReference[];
870
837
 
838
+ declare const tileflowOverlayPlacements: readonly ["above-water", "below-roads", "above-roads", "above-buildings", "below-labels", "above-labels"];
839
+ declare const tileflowHostedSourceLimit: 16;
840
+ type TileflowOverlayPlacement = (typeof tileflowOverlayPlacements)[number];
841
+ type TileflowHostedTilesetType = 'raster' | 'vector';
842
+ type TileflowHostedTilesetSource = Readonly<{
843
+ attribution: string;
844
+ kind: 'hosted-tileset';
845
+ local: string;
846
+ tileset: string;
847
+ tileSize?: 256 | 512;
848
+ type: TileflowHostedTilesetType;
849
+ }>;
850
+ type TileflowMapLibreOverlayLayer = Readonly<Record<string, unknown> & {
851
+ id: string;
852
+ source?: never;
853
+ type: string;
854
+ }>;
855
+ type TileflowMapLibreOverlay = Readonly<{
856
+ kind: 'maplibre-overlay';
857
+ layers: readonly TileflowMapLibreOverlayLayer[];
858
+ placement: TileflowOverlayPlacement;
859
+ source: string;
860
+ }>;
861
+ type TileflowRemoveOperation = Readonly<{
862
+ op: 'remove';
863
+ }>;
864
+ type TileflowHostedSourceCollection = Readonly<Record<string, TileflowHostedTilesetSource | TileflowRemoveOperation>>;
865
+ type TileflowOverlayCollection = Readonly<Record<string, TileflowMapLibreOverlay | TileflowRemoveOperation>>;
866
+ /** Bind one logical Team tileset to an explicit account-free local PMTiles archive. */
867
+ declare function hostedTileset(options: {
868
+ attribution: string;
869
+ local: string;
870
+ tileset: string;
871
+ tileSize?: 256 | 512;
872
+ type?: TileflowHostedTilesetType;
873
+ }): TileflowHostedTilesetSource;
874
+ /** Group one or more ordinary MapLibre layers around one named Tileflow source. */
875
+ declare function maplibreOverlay(options: {
876
+ layers: readonly TileflowMapLibreOverlayLayer[];
877
+ placement: TileflowOverlayPlacement;
878
+ source: string;
879
+ }): TileflowMapLibreOverlay;
880
+ /** Remove one inherited keyed source or overlay. */
881
+ declare function remove(): TileflowRemoveOperation;
882
+ declare function isSafeLocalPmtilesPath(value: unknown): value is string;
883
+
871
884
  declare const tileflowResetBrand: unique symbol;
872
885
  /** Serializable sentinel that removes one inherited override during `refine()`. */
873
886
  type TileflowReset = Readonly<{
@@ -931,6 +944,8 @@ type TileflowMapTextAssets = {
931
944
  };
932
945
  /** Cartographic fields supported by the V1 semantic compiler. */
933
946
  type TileflowMapDesign = TileflowMapTextAssets & {
947
+ /** Optional atmosphere for globe projection. False disables an inherited atmosphere. */
948
+ atmosphere?: TileflowAtmosphere;
934
949
  data?: TileflowDataConfig;
935
950
  /** Name used whenever a concrete theme is not explicitly requested. */
936
951
  defaultTheme?: TileflowThemeName;
@@ -1274,9 +1289,9 @@ declare const tileflowIconCompositionSchema: z.ZodObject<{
1274
1289
  iconIds: z.ZodArray<z.ZodString>;
1275
1290
  }, z.core.$strict>], "kind">>;
1276
1291
  winners: z.ZodArray<z.ZodObject<{
1277
- id: z.ZodString;
1278
1292
  width: z.ZodNumber;
1279
1293
  height: z.ZodNumber;
1294
+ id: z.ZodString;
1280
1295
  layout: z.ZodOptional<z.ZodObject<{
1281
1296
  stretchX: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>>;
1282
1297
  stretchY: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>>;
@@ -1304,4 +1319,4 @@ declare function parseTileflowIconComposition(input: unknown): TileflowIconCompo
1304
1319
  /** Dependency identity is separate from the generated artifact's content hash. */
1305
1320
  declare function hashTileflowIconComposition(input: TileflowIconCompositionV1): Promise<string>;
1306
1321
 
1307
- export { type TileflowBathymetryDisplay as $, tileflowCompilationPhases as A, tileflowCompilationPlannerStages as B, tileflowCompilationReportSchemaVersion as C, type TileflowSemanticModuleName as D, tileflowHostedSourceLimit as E, tileflowOverlayPlacements as F, type TileflowIconSource as G, type OpenMapTilesSchema as H, type OpenMapTilesSchemaOptions as I, type ResolvedBathymetry as J, type ResolvedBathymetryRelief as K, type ResolvedMarine as L, type ResolvedMarineSource as M, type ResolvedTileflowData as N, type OpenMapTilesFieldBindings as O, type ParkLayerSemantics as P, type ResolvedTileflowTheme as Q, type ResolvedTileflowMap as R, type ResolvedTileflowThemeTokens as S, type TileflowRenderedIconIdentity as T, type TileflowAddressesModuleConfig as U, type TileflowAddressesModuleOptions as V, type TileflowAerowaysModuleConfig as W, type TileflowAerowaysModuleOptions as X, type TileflowAuthoringModules as Y, type TileflowBathymetryConfig as Z, type TileflowBathymetryDemSourceIdentity as _, type TileflowIconCompositionV1 as a, type TileflowResolvedThemeSelection as a$, type TileflowBathymetryOptions as a0, type TileflowBathymetryReliefConfig as a1, type TileflowBoundariesModuleConfig as a2, type TileflowBoundariesModuleOptions as a3, type TileflowBuildingMode as a4, type TileflowBuildingsModuleConfig as a5, type TileflowBuildingsModuleOptions as a6, type TileflowCompilationDiagnostic as a7, type TileflowCompilationDomainReport as a8, type TileflowCompilationFailure as a9, type TileflowLandformsModuleConfig as aA, type TileflowLandformsModuleOptions as aB, type TileflowLanduseClass as aC, type TileflowLocalDirectory as aD, type TileflowMapDesign as aE, type TileflowMapIdentity as aF, type TileflowMapLibreOverlay as aG, type TileflowMapLibreOverlayLayer as aH, type TileflowMapTooling as aI, type TileflowMarine as aJ, type TileflowMarineConfig as aK, type TileflowMarineMode as aL, type TileflowMarineSourceConfig as aM, type TileflowMarineSourceIdentity as aN, type TileflowModuleOperation as aO, type TileflowModulePatch as aP, type TileflowNauticalAreaLabelStyles as aQ, type TileflowNauticalModuleConfig as aR, type TileflowNauticalModuleOptions as aS, type TileflowOverlayCollection as aT, type TileflowOverlayPlacement as aU, type TileflowPackageDirectory as aV, type TileflowPreparedIconCapabilities as aW, type TileflowRasterDemSourceRequirementV1 as aX, type TileflowRefineOperation as aY, type TileflowRemoveOperation as aZ, type TileflowReset as a_, type TileflowCompilationOptions as aa, type TileflowCompilationPhase as ab, type TileflowCompilationPlannerDecision as ac, type TileflowCompilationPlannerStage as ad, type TileflowCompilationReport as ae, type TileflowCompilationResult as af, type TileflowCompilationSuccess as ag, type TileflowDataConfig as ah, type TileflowDataIdentity as ai, type TileflowDerivedMap as aj, type TileflowDisableOperation as ak, type TileflowFontDirectory as al, type TileflowGlyphs as am, type TileflowHostedSourceCollection as an, type TileflowHostedTilesetSource as ao, type TileflowHostedTilesetType as ap, type TileflowIconContributorIdentity as aq, type TileflowIconDirectory as ar, TileflowIconSetError as as, type TileflowIconSetErrorCode as at, type TileflowIconSetReference as au, type TileflowIconSetSource as av, type TileflowLandModuleConfig as aw, type TileflowLandModuleOptions as ax, type TileflowLandcoverClass as ay, type TileflowLandformClass as az, type TileflowDataRequirementsV1 as b, reset as b$, type TileflowSemanticModules as b0, type TileflowStandaloneMap as b1, type TileflowTheme as b2, type TileflowThemeAuditContext as b3, type TileflowThemeAuditDiagnostic as b4, TileflowThemeAuditError as b5, type TileflowThemeAuditScope as b6, type TileflowThemeColorScheme as b7, type TileflowThemeDefinition as b8, type TileflowThemeLighting as b9, bathymetry as bA, boundaries as bB, buildings as bC, classifyTileflowVisualProperty as bD, collectTileflowIconSetReferences as bE, createStyle as bF, createStyleResult as bG, defineTheme as bH, disable as bI, hashTileflowIconComposition as bJ, hostedTileset as bK, iconSet as bL, isCanonicalOpenMapTilesSchema as bM, isSafeLocalPmtilesPath as bN, isTileflowCompilationPhase as bO, isTileflowIconSetSource as bP, isTileflowLocalDirectory as bQ, land as bR, landforms as bS, maplibreOverlay as bT, nautical as bU, openMapTiles as bV, openMapTilesContractVersion as bW, parseTileflowIconComposition as bX, parseTileflowMap as bY, refine as bZ, remove as b_, type TileflowThemeName as ba, type TileflowThemeTokens as bb, type TileflowThemeTypography as bc, type TileflowThemeTypographyStyle as bd, type TileflowTransitModuleConfig as be, type TileflowTransitModuleOptions as bf, type TileflowTransitRailStyle as bg, type TileflowVegetationMode as bh, type TileflowVegetationModuleConfig as bi, type TileflowVegetationModuleOptions as bj, type TileflowVegetationThreeDimensionalStyle as bk, type TileflowVisualValueCategory as bl, type TileflowWaterModuleConfig as bm, type TileflowWaterModuleOptions as bn, type TileflowWaterwayClass as bo, type TileflowWorldData as bp, type TileflowWorldReleaseReference as bq, type TileflowWorldSelection as br, type TileflowWorldV1Schema as bs, type VectorTilesData as bt, addresses as bu, aeroways as bv, assertTileflowMapThemeValues as bw, assertTileflowSdfPixels as bx, auditTileflowMapThemeValues as by, auditTileflowThemeValues as bz, type TileflowSourceRequirementsV1 as c, resolveMarine as c0, resolveThemeSelection as c1, resolveThemeValues as c2, resolveTileflowData as c3, resolveTileflowTheme as c4, tileflowBathymetryDemSourceId as c5, tileflowBathymetrySourceId as c6, tileflowBathymetryV1Schema as c7, tileflowIconAppearanceSchema as c8, tileflowIconAuthorMetadataSchema as c9, validateTileflowWorldV1Tilejson as cA, vectorTiles as cB, vegetation as cC, water as cD, tileflowIconCompositionMaximumBytes as ca, tileflowIconCompositionSchema as cb, tileflowIconMetadataFileName as cc, tileflowIconSetIdSchema as cd, tileflowIconSetPackageIdSchema as ce, tileflowIconSetReferenceSchema as cf, tileflowIconSetSourceSchema as cg, tileflowIconSetTeamIdSchema as ch, tileflowIconSetVersionIdSchema as ci, tileflowIconSourceLimit as cj, tileflowLandformClasses as ck, tileflowLocalDirectoryMaximumLength as cl, tileflowLocalDirectoryMessage as cm, tileflowMapIdSchema as cn, tileflowNauticalSourceId as co, tileflowNauticalV1Schema as cp, tileflowPrimarySourceId as cq, tileflowRenderedIconIdentitySchema as cr, tileflowThemeLimits as cs, tileflowWorld as ct, tileflowWorldGeneration as cu, tileflowWorldTileJsonUrl as cv, tileflowWorldV1Schema as cw, transit as cx, validateTileflowCompiledIconCapabilities as cy, validateTileflowMap as cz, type TileflowMap as d, type TileflowStyleOptions as e, type TileflowInspectedStyle as f, type TileflowPreparedMapAssets as g, type TileflowDataCompatibilityIssue as h, type TileflowDataFieldRequirement as i, type TileflowDataFieldType as j, type TileflowDataLayerRequirement as k, type TileflowObservedDataContractV1 as l, type TileflowStyleInspection as m, type TileflowStyleInspectionContribution as n, type TileflowStyleInspectionLayer as o, type TileflowStyleInspectionRenderOperation as p, collectMapLineage as q, inferTileflowDataRequirements as r, inferTileflowSourceRequirements as s, tileflowStyleInspectionSchemaVersion as t, type TileflowMapScene as u, validateTileflowDataCompatibility as v, type ResolveMapOptions as w, type TileflowIconAppearance as x, type TileflowLayerDomain as y, type OpenMapTilesLayerBindings as z };
1322
+ export { type TileflowBathymetryConfig as $, tileflowCompilationPhases as A, tileflowCompilationPlannerStages as B, tileflowCompilationReportSchemaVersion as C, type TileflowSemanticModuleName as D, tileflowHostedSourceLimit as E, tileflowOverlayPlacements as F, type TileflowIconSource as G, type OpenMapTilesSchema as H, type OpenMapTilesSchemaOptions as I, type ResolvedBathymetry as J, type ResolvedBathymetryRelief as K, type ResolvedMarine as L, type ResolvedMarineSource as M, type ResolvedTileflowData as N, type OpenMapTilesFieldBindings as O, type ParkLayerSemantics as P, type ResolvedTileflowTheme as Q, type ResolvedTileflowMap as R, type ResolvedTileflowThemeTokens as S, type TileflowRenderedIconIdentity as T, type TileflowAddressesModuleConfig as U, type TileflowAddressesModuleOptions as V, type TileflowAerowaysModuleConfig as W, type TileflowAerowaysModuleOptions as X, type TileflowAtmosphere as Y, type TileflowAtmosphereOptions as Z, type TileflowAuthoringModules as _, type TileflowIconCompositionV1 as a, type TileflowRemoveOperation as a$, type TileflowBathymetryDemSourceIdentity as a0, type TileflowBathymetryDisplay as a1, type TileflowBathymetryOptions as a2, type TileflowBathymetryReliefConfig as a3, type TileflowBoundariesModuleConfig as a4, type TileflowBoundariesModuleOptions as a5, type TileflowBuildingMode as a6, type TileflowBuildingsModuleConfig as a7, type TileflowBuildingsModuleOptions as a8, type TileflowCompilationDiagnostic as a9, type TileflowLandcoverClass as aA, type TileflowLandformClass as aB, type TileflowLandformsModuleConfig as aC, type TileflowLandformsModuleOptions as aD, type TileflowLanduseClass as aE, type TileflowLocalDirectory as aF, type TileflowMapDesign as aG, type TileflowMapIdentity as aH, type TileflowMapLibreOverlay as aI, type TileflowMapLibreOverlayLayer as aJ, type TileflowMapTooling as aK, type TileflowMarine as aL, type TileflowMarineConfig as aM, type TileflowMarineMode as aN, type TileflowMarineSourceConfig as aO, type TileflowMarineSourceIdentity as aP, type TileflowModuleOperation as aQ, type TileflowModulePatch as aR, type TileflowNauticalAreaLabelStyles as aS, type TileflowNauticalModuleConfig as aT, type TileflowNauticalModuleOptions as aU, type TileflowOverlayCollection as aV, type TileflowOverlayPlacement as aW, type TileflowPackageDirectory as aX, type TileflowPreparedIconCapabilities as aY, type TileflowRasterDemSourceRequirementV1 as aZ, type TileflowRefineOperation as a_, type TileflowCompilationDomainReport as aa, type TileflowCompilationFailure as ab, type TileflowCompilationOptions as ac, type TileflowCompilationPhase as ad, type TileflowCompilationPlannerDecision as ae, type TileflowCompilationPlannerStage as af, type TileflowCompilationReport as ag, type TileflowCompilationResult as ah, type TileflowCompilationSuccess as ai, type TileflowDataConfig as aj, type TileflowDataIdentity as ak, type TileflowDerivedMap as al, type TileflowDisableOperation as am, type TileflowFontDirectory as an, type TileflowGlyphs as ao, type TileflowHostedSourceCollection as ap, type TileflowHostedTilesetSource as aq, type TileflowHostedTilesetType as ar, type TileflowIconContributorIdentity as as, type TileflowIconDirectory as at, TileflowIconSetError as au, type TileflowIconSetErrorCode as av, type TileflowIconSetReference as aw, type TileflowIconSetSource as ax, type TileflowLandModuleConfig as ay, type TileflowLandModuleOptions as az, type TileflowDataRequirementsV1 as b, refine as b$, type TileflowReset as b0, type TileflowResolvedThemeSelection as b1, type TileflowSemanticModules as b2, type TileflowStandaloneMap as b3, type TileflowTheme as b4, type TileflowThemeAuditContext as b5, type TileflowThemeAuditDiagnostic as b6, TileflowThemeAuditError as b7, type TileflowThemeAuditScope as b8, type TileflowThemeColorScheme as b9, auditTileflowMapThemeValues as bA, auditTileflowThemeValues as bB, bathymetry as bC, boundaries as bD, buildings as bE, classifyTileflowVisualProperty as bF, collectTileflowIconSetReferences as bG, createStyle as bH, createStyleResult as bI, defineTheme as bJ, disable as bK, hashTileflowIconComposition as bL, hostedTileset as bM, iconSet as bN, isCanonicalOpenMapTilesSchema as bO, isSafeLocalPmtilesPath as bP, isTileflowCompilationPhase as bQ, isTileflowIconSetSource as bR, isTileflowLocalDirectory as bS, land as bT, landforms as bU, maplibreOverlay as bV, nautical as bW, openMapTiles as bX, openMapTilesContractVersion as bY, parseTileflowIconComposition as bZ, parseTileflowMap as b_, type TileflowThemeDefinition as ba, type TileflowThemeLighting as bb, type TileflowThemeName as bc, type TileflowThemeTokens as bd, type TileflowThemeTypography as be, type TileflowThemeTypographyStyle as bf, type TileflowTransitModuleConfig as bg, type TileflowTransitModuleOptions as bh, type TileflowTransitRailStyle as bi, type TileflowVegetationMode as bj, type TileflowVegetationModuleConfig as bk, type TileflowVegetationModuleOptions as bl, type TileflowVegetationThreeDimensionalStyle as bm, type TileflowVisualValueCategory as bn, type TileflowWaterModuleConfig as bo, type TileflowWaterModuleOptions as bp, type TileflowWaterwayClass as bq, type TileflowWorldData as br, type TileflowWorldReleaseReference as bs, type TileflowWorldSelection as bt, type TileflowWorldV1Schema as bu, type VectorTilesData as bv, addresses as bw, aeroways as bx, assertTileflowMapThemeValues as by, assertTileflowSdfPixels as bz, type TileflowSourceRequirementsV1 as c, remove as c0, reset as c1, resolveMarine as c2, resolveThemeSelection as c3, resolveThemeValues as c4, resolveTileflowData as c5, resolveTileflowTheme as c6, tileflowBathymetryDemSourceId as c7, tileflowBathymetrySourceId as c8, tileflowBathymetryV1Schema as c9, validateTileflowCompiledIconCapabilities as cA, validateTileflowMap as cB, validateTileflowWorldV1Tilejson as cC, vectorTiles as cD, vegetation as cE, water as cF, tileflowIconAppearanceSchema as ca, tileflowIconAuthorMetadataSchema as cb, tileflowIconCompositionMaximumBytes as cc, tileflowIconCompositionSchema as cd, tileflowIconMetadataFileName as ce, tileflowIconSetIdSchema as cf, tileflowIconSetPackageIdSchema as cg, tileflowIconSetReferenceSchema as ch, tileflowIconSetSourceSchema as ci, tileflowIconSetTeamIdSchema as cj, tileflowIconSetVersionIdSchema as ck, tileflowIconSourceLimit as cl, tileflowLandformClasses as cm, tileflowLocalDirectoryMaximumLength as cn, tileflowLocalDirectoryMessage as co, tileflowMapIdSchema as cp, tileflowNauticalSourceId as cq, tileflowNauticalV1Schema as cr, tileflowPrimarySourceId as cs, tileflowRenderedIconIdentitySchema as ct, tileflowThemeLimits as cu, tileflowWorld as cv, tileflowWorldGeneration as cw, tileflowWorldTileJsonUrl as cx, tileflowWorldV1Schema as cy, transit as cz, type TileflowMap as d, type TileflowStyleOptions as e, type TileflowInspectedStyle as f, type TileflowPreparedMapAssets as g, type TileflowDataCompatibilityIssue as h, type TileflowDataFieldRequirement as i, type TileflowDataFieldType as j, type TileflowDataLayerRequirement as k, type TileflowObservedDataContractV1 as l, type TileflowStyleInspection as m, type TileflowStyleInspectionContribution as n, type TileflowStyleInspectionLayer as o, type TileflowStyleInspectionRenderOperation as p, collectMapLineage as q, inferTileflowDataRequirements as r, inferTileflowSourceRequirements as s, tileflowStyleInspectionSchemaVersion as t, type TileflowMapScene as u, validateTileflowDataCompatibility as v, type ResolveMapOptions as w, type TileflowIconAppearance as x, type TileflowLayerDomain as y, type OpenMapTilesLayerBindings as z };
package/dist/index.d.ts CHANGED
@@ -1,8 +1,8 @@
1
- import { d as TileflowMap, u as TileflowMapScene, w as ResolveMapOptions, R as ResolvedTileflowMap, x as TileflowIconAppearance, O as OpenMapTilesFieldBindings, y as TileflowLayerDomain, z as OpenMapTilesLayerBindings, A as tileflowCompilationPhases, B as tileflowCompilationPlannerStages, C as tileflowCompilationReportSchemaVersion, D as TileflowSemanticModuleName, E as tileflowHostedSourceLimit, F as tileflowOverlayPlacements, G as TileflowIconSource } from './icon-composition-D7sBlZZh.js';
2
- export { H as OpenMapTilesSchema, I as OpenMapTilesSchemaOptions, P as ParkLayerSemantics, J as ResolvedBathymetry, K as ResolvedBathymetryRelief, L as ResolvedMarine, M as ResolvedMarineSource, N as ResolvedTileflowData, Q as ResolvedTileflowTheme, S as ResolvedTileflowThemeTokens, U as TileflowAddressesModuleConfig, V as TileflowAddressesModuleOptions, W as TileflowAerowaysModuleConfig, X as TileflowAerowaysModuleOptions, Y as TileflowAuthoringModules, Z as TileflowBathymetryConfig, _ as TileflowBathymetryDemSourceIdentity, $ as TileflowBathymetryDisplay, a0 as TileflowBathymetryOptions, a1 as TileflowBathymetryReliefConfig, a2 as TileflowBoundariesModuleConfig, a3 as TileflowBoundariesModuleOptions, a4 as TileflowBuildingMode, a5 as TileflowBuildingsModuleConfig, a6 as TileflowBuildingsModuleOptions, a7 as TileflowCompilationDiagnostic, a8 as TileflowCompilationDomainReport, a9 as TileflowCompilationFailure, aa as TileflowCompilationOptions, ab as TileflowCompilationPhase, ac as TileflowCompilationPlannerDecision, ad as TileflowCompilationPlannerStage, ae as TileflowCompilationReport, af as TileflowCompilationResult, ag as TileflowCompilationSuccess, h as TileflowDataCompatibilityIssue, ah as TileflowDataConfig, i as TileflowDataFieldRequirement, j as TileflowDataFieldType, ai as TileflowDataIdentity, k as TileflowDataLayerRequirement, b as TileflowDataRequirementsV1, aj as TileflowDerivedMap, ak as TileflowDisableOperation, al as TileflowFontDirectory, am as TileflowGlyphs, an as TileflowHostedSourceCollection, ao as TileflowHostedTilesetSource, ap as TileflowHostedTilesetType, a as TileflowIconCompositionV1, aq as TileflowIconContributorIdentity, ar as TileflowIconDirectory, as as TileflowIconSetError, at as TileflowIconSetErrorCode, au as TileflowIconSetReference, av as TileflowIconSetSource, aw as TileflowLandModuleConfig, ax as TileflowLandModuleOptions, ay as TileflowLandcoverClass, az as TileflowLandformClass, aA as TileflowLandformsModuleConfig, aB as TileflowLandformsModuleOptions, aC as TileflowLanduseClass, aD as TileflowLocalDirectory, aE as TileflowMapDesign, aF as TileflowMapIdentity, aG as TileflowMapLibreOverlay, aH as TileflowMapLibreOverlayLayer, aI as TileflowMapTooling, aJ as TileflowMarine, aK as TileflowMarineConfig, aL as TileflowMarineMode, aM as TileflowMarineSourceConfig, aN as TileflowMarineSourceIdentity, aO as TileflowModuleOperation, aP as TileflowModulePatch, aQ as TileflowNauticalAreaLabelStyles, aR as TileflowNauticalModuleConfig, aS as TileflowNauticalModuleOptions, l as TileflowObservedDataContractV1, aT as TileflowOverlayCollection, aU as TileflowOverlayPlacement, aV as TileflowPackageDirectory, aW as TileflowPreparedIconCapabilities, aX as TileflowRasterDemSourceRequirementV1, aY as TileflowRefineOperation, aZ as TileflowRemoveOperation, T as TileflowRenderedIconIdentity, a_ as TileflowReset, a$ as TileflowResolvedThemeSelection, b0 as TileflowSemanticModules, c as TileflowSourceRequirementsV1, b1 as TileflowStandaloneMap, e as TileflowStyleOptions, b2 as TileflowTheme, b3 as TileflowThemeAuditContext, b4 as TileflowThemeAuditDiagnostic, b5 as TileflowThemeAuditError, b6 as TileflowThemeAuditScope, b7 as TileflowThemeColorScheme, b8 as TileflowThemeDefinition, b9 as TileflowThemeLighting, ba as TileflowThemeName, bb as TileflowThemeTokens, bc as TileflowThemeTypography, bd as TileflowThemeTypographyStyle, be as TileflowTransitModuleConfig, bf as TileflowTransitModuleOptions, bg as TileflowTransitRailStyle, bh as TileflowVegetationMode, bi as TileflowVegetationModuleConfig, bj as TileflowVegetationModuleOptions, bk as TileflowVegetationThreeDimensionalStyle, bl as TileflowVisualValueCategory, bm as TileflowWaterModuleConfig, bn as TileflowWaterModuleOptions, bo as TileflowWaterwayClass, bp as TileflowWorldData, bq as TileflowWorldReleaseReference, br as TileflowWorldSelection, bs as TileflowWorldV1Schema, bt as VectorTilesData, bu as addresses, bv as aeroways, bw as assertTileflowMapThemeValues, bx as assertTileflowSdfPixels, by as auditTileflowMapThemeValues, bz as auditTileflowThemeValues, bA as bathymetry, bB as boundaries, bC as buildings, bD as classifyTileflowVisualProperty, bE as collectTileflowIconSetReferences, bF as createStyle, bG as createStyleResult, bH as defineTheme, bI as disable, bJ as hashTileflowIconComposition, bK as hostedTileset, bL as iconSet, r as inferTileflowDataRequirements, s as inferTileflowSourceRequirements, bM as isCanonicalOpenMapTilesSchema, bN as isSafeLocalPmtilesPath, bO as isTileflowCompilationPhase, bP as isTileflowIconSetSource, bQ as isTileflowLocalDirectory, bR as land, bS as landforms, bT as maplibreOverlay, bU as nautical, bV as openMapTiles, bW as openMapTilesContractVersion, bX as parseTileflowIconComposition, bY as parseTileflowMap, bZ as refine, b_ as remove, b$ as reset, c0 as resolveMarine, c1 as resolveThemeSelection, c2 as resolveThemeValues, c3 as resolveTileflowData, c4 as resolveTileflowTheme, c5 as tileflowBathymetryDemSourceId, c6 as tileflowBathymetrySourceId, c7 as tileflowBathymetryV1Schema, c8 as tileflowIconAppearanceSchema, c9 as tileflowIconAuthorMetadataSchema, ca as tileflowIconCompositionMaximumBytes, cb as tileflowIconCompositionSchema, cc as tileflowIconMetadataFileName, cd as tileflowIconSetIdSchema, ce as tileflowIconSetPackageIdSchema, cf as tileflowIconSetReferenceSchema, cg as tileflowIconSetSourceSchema, ch as tileflowIconSetTeamIdSchema, ci as tileflowIconSetVersionIdSchema, cj as tileflowIconSourceLimit, ck as tileflowLandformClasses, cl as tileflowLocalDirectoryMaximumLength, cm as tileflowLocalDirectoryMessage, cn as tileflowMapIdSchema, co as tileflowNauticalSourceId, cp as tileflowNauticalV1Schema, cq as tileflowPrimarySourceId, cr as tileflowRenderedIconIdentitySchema, cs as tileflowThemeLimits, ct as tileflowWorld, cu as tileflowWorldGeneration, cv as tileflowWorldTileJsonUrl, cw as tileflowWorldV1Schema, cx as transit, cy as validateTileflowCompiledIconCapabilities, v as validateTileflowDataCompatibility, cz as validateTileflowMap, cA as validateTileflowWorldV1Tilejson, cB as vectorTiles, cC as vegetation, cD as water } from './icon-composition-D7sBlZZh.js';
1
+ import { d as TileflowMap, u as TileflowMapScene, w as ResolveMapOptions, R as ResolvedTileflowMap, x as TileflowIconAppearance, O as OpenMapTilesFieldBindings, y as TileflowLayerDomain, z as OpenMapTilesLayerBindings, A as tileflowCompilationPhases, B as tileflowCompilationPlannerStages, C as tileflowCompilationReportSchemaVersion, D as TileflowSemanticModuleName, E as tileflowHostedSourceLimit, F as tileflowOverlayPlacements, G as TileflowIconSource } from './icon-composition-BquPlPPI.js';
2
+ export { H as OpenMapTilesSchema, I as OpenMapTilesSchemaOptions, P as ParkLayerSemantics, J as ResolvedBathymetry, K as ResolvedBathymetryRelief, L as ResolvedMarine, M as ResolvedMarineSource, N as ResolvedTileflowData, Q as ResolvedTileflowTheme, S as ResolvedTileflowThemeTokens, U as TileflowAddressesModuleConfig, V as TileflowAddressesModuleOptions, W as TileflowAerowaysModuleConfig, X as TileflowAerowaysModuleOptions, Y as TileflowAtmosphere, Z as TileflowAtmosphereOptions, _ as TileflowAuthoringModules, $ as TileflowBathymetryConfig, a0 as TileflowBathymetryDemSourceIdentity, a1 as TileflowBathymetryDisplay, a2 as TileflowBathymetryOptions, a3 as TileflowBathymetryReliefConfig, a4 as TileflowBoundariesModuleConfig, a5 as TileflowBoundariesModuleOptions, a6 as TileflowBuildingMode, a7 as TileflowBuildingsModuleConfig, a8 as TileflowBuildingsModuleOptions, a9 as TileflowCompilationDiagnostic, aa as TileflowCompilationDomainReport, ab as TileflowCompilationFailure, ac as TileflowCompilationOptions, ad as TileflowCompilationPhase, ae as TileflowCompilationPlannerDecision, af as TileflowCompilationPlannerStage, ag as TileflowCompilationReport, ah as TileflowCompilationResult, ai as TileflowCompilationSuccess, h as TileflowDataCompatibilityIssue, aj as TileflowDataConfig, i as TileflowDataFieldRequirement, j as TileflowDataFieldType, ak as TileflowDataIdentity, k as TileflowDataLayerRequirement, b as TileflowDataRequirementsV1, al as TileflowDerivedMap, am as TileflowDisableOperation, an as TileflowFontDirectory, ao as TileflowGlyphs, ap as TileflowHostedSourceCollection, aq as TileflowHostedTilesetSource, ar as TileflowHostedTilesetType, a as TileflowIconCompositionV1, as as TileflowIconContributorIdentity, at as TileflowIconDirectory, au as TileflowIconSetError, av as TileflowIconSetErrorCode, aw as TileflowIconSetReference, ax as TileflowIconSetSource, ay as TileflowLandModuleConfig, az as TileflowLandModuleOptions, aA as TileflowLandcoverClass, aB as TileflowLandformClass, aC as TileflowLandformsModuleConfig, aD as TileflowLandformsModuleOptions, aE as TileflowLanduseClass, aF as TileflowLocalDirectory, aG as TileflowMapDesign, aH as TileflowMapIdentity, aI as TileflowMapLibreOverlay, aJ as TileflowMapLibreOverlayLayer, aK as TileflowMapTooling, aL as TileflowMarine, aM as TileflowMarineConfig, aN as TileflowMarineMode, aO as TileflowMarineSourceConfig, aP as TileflowMarineSourceIdentity, aQ as TileflowModuleOperation, aR as TileflowModulePatch, aS as TileflowNauticalAreaLabelStyles, aT as TileflowNauticalModuleConfig, aU as TileflowNauticalModuleOptions, l as TileflowObservedDataContractV1, aV as TileflowOverlayCollection, aW as TileflowOverlayPlacement, aX as TileflowPackageDirectory, aY as TileflowPreparedIconCapabilities, aZ as TileflowRasterDemSourceRequirementV1, a_ as TileflowRefineOperation, a$ as TileflowRemoveOperation, T as TileflowRenderedIconIdentity, b0 as TileflowReset, b1 as TileflowResolvedThemeSelection, b2 as TileflowSemanticModules, c as TileflowSourceRequirementsV1, b3 as TileflowStandaloneMap, e as TileflowStyleOptions, b4 as TileflowTheme, b5 as TileflowThemeAuditContext, b6 as TileflowThemeAuditDiagnostic, b7 as TileflowThemeAuditError, b8 as TileflowThemeAuditScope, b9 as TileflowThemeColorScheme, ba as TileflowThemeDefinition, bb as TileflowThemeLighting, bc as TileflowThemeName, bd as TileflowThemeTokens, be as TileflowThemeTypography, bf as TileflowThemeTypographyStyle, bg as TileflowTransitModuleConfig, bh as TileflowTransitModuleOptions, bi as TileflowTransitRailStyle, bj as TileflowVegetationMode, bk as TileflowVegetationModuleConfig, bl as TileflowVegetationModuleOptions, bm as TileflowVegetationThreeDimensionalStyle, bn as TileflowVisualValueCategory, bo as TileflowWaterModuleConfig, bp as TileflowWaterModuleOptions, bq as TileflowWaterwayClass, br as TileflowWorldData, bs as TileflowWorldReleaseReference, bt as TileflowWorldSelection, bu as TileflowWorldV1Schema, bv as VectorTilesData, bw as addresses, bx as aeroways, by as assertTileflowMapThemeValues, bz as assertTileflowSdfPixels, bA as auditTileflowMapThemeValues, bB as auditTileflowThemeValues, bC as bathymetry, bD as boundaries, bE as buildings, bF as classifyTileflowVisualProperty, bG as collectTileflowIconSetReferences, bH as createStyle, bI as createStyleResult, bJ as defineTheme, bK as disable, bL as hashTileflowIconComposition, bM as hostedTileset, bN as iconSet, r as inferTileflowDataRequirements, s as inferTileflowSourceRequirements, bO as isCanonicalOpenMapTilesSchema, bP as isSafeLocalPmtilesPath, bQ as isTileflowCompilationPhase, bR as isTileflowIconSetSource, bS as isTileflowLocalDirectory, bT as land, bU as landforms, bV as maplibreOverlay, bW as nautical, bX as openMapTiles, bY as openMapTilesContractVersion, bZ as parseTileflowIconComposition, b_ as parseTileflowMap, b$ as refine, c0 as remove, c1 as reset, c2 as resolveMarine, c3 as resolveThemeSelection, c4 as resolveThemeValues, c5 as resolveTileflowData, c6 as resolveTileflowTheme, c7 as tileflowBathymetryDemSourceId, c8 as tileflowBathymetrySourceId, c9 as tileflowBathymetryV1Schema, ca as tileflowIconAppearanceSchema, cb as tileflowIconAuthorMetadataSchema, cc as tileflowIconCompositionMaximumBytes, cd as tileflowIconCompositionSchema, ce as tileflowIconMetadataFileName, cf as tileflowIconSetIdSchema, cg as tileflowIconSetPackageIdSchema, ch as tileflowIconSetReferenceSchema, ci as tileflowIconSetSourceSchema, cj as tileflowIconSetTeamIdSchema, ck as tileflowIconSetVersionIdSchema, cl as tileflowIconSourceLimit, cm as tileflowLandformClasses, cn as tileflowLocalDirectoryMaximumLength, co as tileflowLocalDirectoryMessage, cp as tileflowMapIdSchema, cq as tileflowNauticalSourceId, cr as tileflowNauticalV1Schema, cs as tileflowPrimarySourceId, ct as tileflowRenderedIconIdentitySchema, cu as tileflowThemeLimits, cv as tileflowWorld, cw as tileflowWorldGeneration, cx as tileflowWorldTileJsonUrl, cy as tileflowWorldV1Schema, cz as transit, cA as validateTileflowCompiledIconCapabilities, v as validateTileflowDataCompatibility, cB as validateTileflowMap, cC as validateTileflowWorldV1Tilejson, cD as vectorTiles, cE as vegetation, cF as water } from './icon-composition-BquPlPPI.js';
3
3
  import { z } from 'zod';
4
- import { V as ValidationMessage, f as TileflowExpression, g as TileflowFixedValue, h as TileflowThemeTokenReference, i as TileflowThemeColorOperation, j as TileflowBackgroundStyle, k as TileflowCircleStyle, l as TileflowExtrusionStyle, m as TileflowFillStyle, n as TileflowLineStyle, o as TileflowSymbolStyle, M as MapLibreStyle, p as TileflowRoadsModuleOptions, q as TileflowRoadsModuleConfig, r as TileflowLabelsModuleOptions, s as TileflowLabelsModuleConfig, u as TileflowPoiModuleOptions, v as TileflowPoiModuleConfig } from './manifest-types-BdGjIYy-.js';
5
- export { w as MapLibreSprite, x as TileflowAerodromeCodeDetail, y as TileflowAlignment, z as TileflowAnalytics, A as TileflowAreaStyle, B as TileflowBackgroundPaint, C as TileflowCirclePaint, D as TileflowColor, E as TileflowColorStyleValue, F as TileflowExtrusionPaint, G as TileflowFillPaint, H as TileflowIconAnchor, I as TileflowIconLayout, J as TileflowIconPaint, K as TileflowIconStyle, L as TileflowIconTextFit, N as TileflowImageStyleValue, O as TileflowLabelDetail, P as TileflowLabelLanguage, Q as TileflowLabelStyles, R as TileflowLayerRange, S as TileflowLight, U as TileflowLineCap, W as TileflowLineHatchStyle, X as TileflowLineJoin, Y as TileflowLineLayout, Z as TileflowLinePaint, _ as TileflowLineStackStyle, $ as TileflowManifestFetchOptions, a0 as TileflowManifestLoadOptions, a1 as TileflowMapMode, a2 as TileflowMapModeOptions, a3 as TileflowMarkerSymbolStyle, a4 as TileflowMountainBikeScale, a5 as TileflowNumberInsetsStyleValue, a6 as TileflowNumberStyleValue, a7 as TileflowPlaceLabelClass, a8 as TileflowPoiCategory, a9 as TileflowPoiCategoryStyle, aa as TileflowPoiColorMode, ab as TileflowPoiDensity, ac as TileflowPriorityOrder, ad as TileflowProjection, ae as TileflowResolvedRuntimeTheme, af as TileflowRoadAreaStyle, ag as TileflowRoadClass, ah as TileflowRoadClassStyle, ai as TileflowRoadCrossingStyle, aj as TileflowRoadDetail, ak as TileflowRoadExtras, al as TileflowRoadHierarchy, am as TileflowRoadLabelDetail, an as TileflowRoadLayerStyle, ao as TileflowRoadModifier, ap as TileflowRoadOutline, aq as TileflowRoadRestriction, ar as TileflowRoadRoundaboutStyle, as as TileflowRoadServiceType, at as TileflowRoadShieldDetail, au as TileflowRoadShieldStyles, av as TileflowRoadSidewalkStyle, aw as TileflowRoadStructure, ax as TileflowRoadTreatmentLayerStyle, ay as TileflowRoadTreatmentLineStyle, az as TileflowRoadTreatmentStyle, aA as TileflowRoadWeight, aB as TileflowRuntimeCenterLike, a as TileflowRuntimeColorScheme, T as TileflowRuntimeManifest, aC as TileflowRuntimeManifestMap, b as TileflowRuntimeManifestMapEntry, c as TileflowRuntimeManifestTheme, aD as TileflowRuntimeSource, aE as TileflowRuntimeSourceValidation, aF as TileflowRuntimeStyle, aG as TileflowRuntimeStyleOptions, d as TileflowRuntimeSystemThemes, aH as TileflowRuntimeViewOptions, aI as TileflowSessionController, aJ as TileflowSessionGrantResponse, aK as TileflowStringStyleValue, aL as TileflowStructuralStyleValue, aM as TileflowStyleFontFace, aN as TileflowStyleValue, aO as TileflowSymbolPlacement, aP as TileflowSymbolPlacementStyle, aQ as TileflowSymbolZOrder, aR as TileflowTerrain, aS as TileflowTerrainConfig, aT as TileflowTerrainContourLabelStyle, aU as TileflowTerrainContourLineStyle, aV as TileflowTerrainContoursConfig, aW as TileflowTerrainEncoding, aX as TileflowTerrainHillshadeStyle, aY as TileflowTerrainLayerRange, aZ as TileflowTerrainMode, a_ as TileflowTextAnchor, a$ as TileflowTextJustify, b0 as TileflowTextLayout, b1 as TileflowTextPaint, b2 as TileflowTextStyle, b3 as TileflowThemeColorAlpha, b4 as TileflowThemeColorMix, b5 as TileflowThemeColorValue, b6 as TileflowThemeFontValue, b7 as TileflowThemeImageValue, b8 as TileflowThemeNumberValue, b9 as TileflowThemeSelection, ba as TileflowThemeTokenCategory, bb as TileflowThemeValue, bc as TileflowViewConfig, bd as TileflowWaterLabelClass, be as TileflowZoomInterpolation, bf as TileflowZoomValue, bg as ValidationResult, bh as assertValidTileflowRuntimeSource, bi as clearTileflowManifestCache, bj as color, bk as createTileflowSessionController, bl as createTileflowSessionId, bm as defaultTileflowManifestUrl, bn as defaultTileflowRuntimeView, bo as fixed, bp as getTileflowAnalyticsApiUrl, bq as getTileflowStyleFontFaces, br as inferTileflowAnalyticsFromStyleUrl, bs as loadTileflowManifest, bt as mergeTileflowAnalytics, bu as normalizeTileflowRuntimeCenter, bv as normalizeTileflowStaticImageSize, bw as normalizeTileflowUrl, bx as resolveTileflowAnalyticsRequestUrl, by as resolveTileflowManifestMap, bz as resolveTileflowMapMode, bA as resolveTileflowRuntimeStyle, bB as resolveTileflowRuntimeTheme, bC as resolveTileflowRuntimeView, bD as resolveTileflowStaticImageUrl, bE as shouldLoadTileflowManifest, bF as startTileflowSession, bG as tileflowPoiCategories, t as tileflowRuntimeManifestLimits, e as tileflowRuntimeManifestVersion, bH as tileflowStyleFontFaceLimits, bI as tileflowStyleFontFacesMetadataKey, bJ as tileflowThemeTokenCategories, bK as token, bL as validateTileflowRuntimeSource, bM as validateTileflowThemeSelection, bN as zoom } from './manifest-types-BdGjIYy-.js';
4
+ import { V as ValidationMessage, f as TileflowExpression, g as TileflowFixedValue, h as TileflowThemeTokenReference, i as TileflowThemeColorOperation, j as TileflowBackgroundStyle, k as TileflowCircleStyle, l as TileflowExtrusionStyle, m as TileflowFillStyle, n as TileflowLineStyle, o as TileflowSymbolStyle, M as MapLibreStyle, p as TileflowRoadsModuleOptions, q as TileflowRoadsModuleConfig, r as TileflowLabelsModuleOptions, s as TileflowLabelsModuleConfig, u as TileflowPoiModuleOptions, v as TileflowPoiModuleConfig } from './manifest-types-BZU4zbmI.js';
5
+ export { w as MapLibreSprite, x as TileflowAerodromeCodeDetail, y as TileflowAlignment, z as TileflowAnalytics, A as TileflowAreaStyle, B as TileflowBackgroundPaint, C as TileflowCirclePaint, D as TileflowColor, E as TileflowColorStyleValue, F as TileflowExtrusionPaint, G as TileflowFillPaint, H as TileflowIconAnchor, I as TileflowIconLayout, J as TileflowIconPaint, K as TileflowIconStyle, L as TileflowIconTextFit, N as TileflowImageStyleValue, O as TileflowLabelDetail, P as TileflowLabelLanguage, Q as TileflowLabelStyles, R as TileflowLayerRange, S as TileflowLight, U as TileflowLineCap, W as TileflowLineHatchStyle, X as TileflowLineJoin, Y as TileflowLineLayout, Z as TileflowLinePaint, _ as TileflowLineStackStyle, $ as TileflowManifestFetchOptions, a0 as TileflowManifestLoadOptions, a1 as TileflowMapMode, a2 as TileflowMapModeOptions, a3 as TileflowMarkerSymbolStyle, a4 as TileflowMountainBikeScale, a5 as TileflowNumberInsetsStyleValue, a6 as TileflowNumberStyleValue, a7 as TileflowPlaceLabelClass, a8 as TileflowPoiCategory, a9 as TileflowPoiCategoryStyle, aa as TileflowPoiColorMode, ab as TileflowPoiDensity, ac as TileflowPriorityOrder, ad as TileflowProjection, ae as TileflowResolvedRuntimeTheme, af as TileflowRoadAreaStyle, ag as TileflowRoadClass, ah as TileflowRoadClassStyle, ai as TileflowRoadCrossingStyle, aj as TileflowRoadDetail, ak as TileflowRoadExtras, al as TileflowRoadHierarchy, am as TileflowRoadLabelDetail, an as TileflowRoadLayerStyle, ao as TileflowRoadModifier, ap as TileflowRoadOutline, aq as TileflowRoadRestriction, ar as TileflowRoadRoundaboutStyle, as as TileflowRoadServiceType, at as TileflowRoadShieldDetail, au as TileflowRoadShieldStyles, av as TileflowRoadSidewalkStyle, aw as TileflowRoadStructure, ax as TileflowRoadTreatmentLayerStyle, ay as TileflowRoadTreatmentLineStyle, az as TileflowRoadTreatmentStyle, aA as TileflowRoadWeight, aB as TileflowRuntimeCenterLike, a as TileflowRuntimeColorScheme, T as TileflowRuntimeManifest, aC as TileflowRuntimeManifestMap, b as TileflowRuntimeManifestMapEntry, c as TileflowRuntimeManifestTheme, aD as TileflowRuntimeSource, aE as TileflowRuntimeSourceValidation, aF as TileflowRuntimeStyle, aG as TileflowRuntimeStyleOptions, d as TileflowRuntimeSystemThemes, aH as TileflowRuntimeViewOptions, aI as TileflowSessionController, aJ as TileflowSessionGrantResponse, aK as TileflowStringStyleValue, aL as TileflowStructuralStyleValue, aM as TileflowStyleFontFace, aN as TileflowStyleValue, aO as TileflowSymbolPlacement, aP as TileflowSymbolPlacementStyle, aQ as TileflowSymbolZOrder, aR as TileflowTerrain, aS as TileflowTerrainConfig, aT as TileflowTerrainContourLabelStyle, aU as TileflowTerrainContourLineStyle, aV as TileflowTerrainContoursConfig, aW as TileflowTerrainEncoding, aX as TileflowTerrainHillshadeStyle, aY as TileflowTerrainLayerRange, aZ as TileflowTerrainMode, a_ as TileflowTextAnchor, a$ as TileflowTextJustify, b0 as TileflowTextLayout, b1 as TileflowTextPaint, b2 as TileflowTextStyle, b3 as TileflowThemeColorAlpha, b4 as TileflowThemeColorMix, b5 as TileflowThemeColorValue, b6 as TileflowThemeFontValue, b7 as TileflowThemeImageValue, b8 as TileflowThemeNumberValue, b9 as TileflowThemeSelection, ba as TileflowThemeTokenCategory, bb as TileflowThemeValue, bc as TileflowViewConfig, bd as TileflowWaterLabelClass, be as TileflowZoomInterpolation, bf as TileflowZoomValue, bg as ValidationResult, bh as assertValidTileflowRuntimeSource, bi as clearTileflowManifestCache, bj as color, bk as createTileflowSessionController, bl as createTileflowSessionId, bm as defaultTileflowManifestUrl, bn as defaultTileflowRuntimeView, bo as fixed, bp as getTileflowAnalyticsApiUrl, bq as getTileflowStyleFontFaces, br as inferTileflowAnalyticsFromStyleUrl, bs as loadTileflowManifest, bt as mergeTileflowAnalytics, bu as normalizeTileflowRuntimeCenter, bv as normalizeTileflowStaticImageSize, bw as normalizeTileflowUrl, bx as resolveTileflowAnalyticsRequestUrl, by as resolveTileflowManifestMap, bz as resolveTileflowMapMode, bA as resolveTileflowRuntimeStyle, bB as resolveTileflowRuntimeTheme, bC as resolveTileflowRuntimeView, bD as resolveTileflowStaticImageUrl, bE as shouldLoadTileflowManifest, bF as startTileflowSession, bG as tileflowPoiCategories, t as tileflowRuntimeManifestLimits, e as tileflowRuntimeManifestVersion, bH as tileflowStyleFontFaceLimits, bI as tileflowStyleFontFacesMetadataKey, bJ as tileflowThemeTokenCategories, bK as token, bL as validateTileflowRuntimeSource, bM as validateTileflowThemeSelection, bN as zoom } from './manifest-types-BZU4zbmI.js';
6
6
  export { N as NormalizedTileflowCaptureScene, a as TileflowCaptureApplicationTarget, b as TileflowCaptureBoundsCamera, c as TileflowCaptureCamera, d as TileflowCaptureCenterCamera, e as TileflowCaptureMapTarget, T as TileflowCaptureScene, f as TileflowCaptureTarget, g as TileflowCaptureViewport, n as normalizeTileflowCaptureId, h as normalizeTileflowCaptureScene, t as tileflowCaptureApplicationTargetSchema, i as tileflowCaptureBoundsCameraSchema, j as tileflowCaptureCameraSchema, k as tileflowCaptureCenterCameraSchema, l as tileflowCaptureIdSchema, m as tileflowCaptureMapTargetSchema, o as tileflowCaptureSceneLimits, p as tileflowCaptureSceneNameSchema, q as tileflowCaptureSceneSchema, r as tileflowCaptureSceneSchemaVersion, s as tileflowCaptureTargetSchema, u as tileflowCaptureViewportSchema } from './capture-scene-D6soWztE.js';
7
7
  export { tileflowPortableIdSchema, tileflowThemeNameSchema } from './capture.js';
8
8
  export { parseTileflowRuntimeManifest, safeParseTileflowRuntimeManifest, tileflowRuntimeManifestSchema } from './manifest.js';
package/dist/index.js CHANGED
@@ -1664,12 +1664,12 @@ var init_model = __esm({
1664
1664
  }
1665
1665
  return result;
1666
1666
  }
1667
- #resolveTypographyStyle(style, path, defaults3) {
1667
+ #resolveTypographyStyle(style, path, defaults4) {
1668
1668
  const resolved = this.resolveTree(style ?? {}, path);
1669
- const font = resolved.font ?? defaults3.font;
1669
+ const font = resolved.font ?? defaults4.font;
1670
1670
  if (typeof font !== "string" || !font) throw themeTypeError(`${path}.font`, "font", font);
1671
1671
  assertFontName(font, `${path}.font`);
1672
- const fallbacks = resolved.fallbacks ?? defaults3.fallbacks;
1672
+ const fallbacks = resolved.fallbacks ?? defaults4.fallbacks;
1673
1673
  if (fallbacks !== void 0 && (!Array.isArray(fallbacks) || fallbacks.some((entry) => typeof entry !== "string" || !entry))) {
1674
1674
  throw themeTypeError(`${path}.fallbacks`, "font array", fallbacks);
1675
1675
  }
@@ -1685,9 +1685,9 @@ var init_model = __esm({
1685
1685
  seen.add(fallback);
1686
1686
  }
1687
1687
  }
1688
- const letterSpacing = resolved.letterSpacing ?? defaults3.letterSpacing;
1688
+ const letterSpacing = resolved.letterSpacing ?? defaults4.letterSpacing;
1689
1689
  if (letterSpacing !== void 0) assertFiniteNumber(letterSpacing, `${path}.letterSpacing`);
1690
- const transform = resolved.transform ?? defaults3.transform;
1690
+ const transform = resolved.transform ?? defaults4.transform;
1691
1691
  if (transform !== void 0 && !["lowercase", "none", "uppercase"].includes(String(transform))) {
1692
1692
  throw themeTypeError(`${path}.transform`, "text transform", transform);
1693
1693
  }
@@ -2319,6 +2319,50 @@ function asRecord(value) {
2319
2319
  // src/cartography/streets.ts
2320
2320
  import { validateStyleMin } from "@maplibre/maplibre-gl-style-spec";
2321
2321
 
2322
+ // src/atmosphere.ts
2323
+ var tileflowAtmosphereMetadataKey = "tileflow:atmosphere";
2324
+
2325
+ // src/atmosphere-compile.ts
2326
+ import { Color } from "@maplibre/maplibre-gl-style-spec";
2327
+ var defaults = {
2328
+ skyColor: "#07152b",
2329
+ horizonColor: "#83b9f4",
2330
+ fogColor: "#bad2eb",
2331
+ spaceColor: "#030916",
2332
+ starIntensity: 0.6,
2333
+ starParallax: 0.4
2334
+ };
2335
+ function resolveTileflowAtmosphere(value) {
2336
+ if (!value) return void 0;
2337
+ const options = { ...defaults, ...value === true ? {} : value };
2338
+ const normalize = (input) => {
2339
+ const color3 = typeof input === "string" ? Color.parse(input) : void 0;
2340
+ if (!color3 || color3.a !== 1)
2341
+ throw new Error("Atmosphere colors must resolve to opaque colors.");
2342
+ return `#${[color3.r, color3.g, color3.b].map(
2343
+ (channel) => Math.round(channel * 255).toString(16).padStart(2, "0")
2344
+ ).join("")}`;
2345
+ };
2346
+ return {
2347
+ ...options,
2348
+ skyColor: normalize(options.skyColor),
2349
+ horizonColor: normalize(options.horizonColor),
2350
+ fogColor: normalize(options.fogColor),
2351
+ spaceColor: normalize(options.spaceColor)
2352
+ };
2353
+ }
2354
+ function compileTileflowSky(options) {
2355
+ return {
2356
+ "sky-color": options.skyColor,
2357
+ "horizon-color": options.horizonColor,
2358
+ "fog-color": options.fogColor,
2359
+ "sky-horizon-blend": 0.12,
2360
+ "horizon-fog-blend": 0.5,
2361
+ "fog-ground-blend": 0.1,
2362
+ "atmosphere-blend": ["interpolate", ["linear"], ["zoom"], 0, 0.55, 3, 0.45, 5, 0.2, 7, 0]
2363
+ };
2364
+ }
2365
+
2322
2366
  // src/data/world-generation.ts
2323
2367
  var tileflowWorldGeneration = "v1";
2324
2368
  var tileflowWorldTileJsonUrl = "https://api.tileflow.dev/tiles/world/tiles.json";
@@ -4340,7 +4384,7 @@ function tileflowRoadClassFilter(fields, roadClass) {
4340
4384
  }
4341
4385
 
4342
4386
  // src/modules/roads/index.ts
4343
- var defaults = {
4387
+ var defaults2 = {
4344
4388
  detail: "streets",
4345
4389
  disabledClasses: [],
4346
4390
  enabled: true,
@@ -4397,15 +4441,15 @@ function roads(options = {}) {
4397
4441
  }
4398
4442
  function resolveRoads(request) {
4399
4443
  return {
4400
- detail: request?.detail ?? defaults.detail,
4444
+ detail: request?.detail ?? defaults2.detail,
4401
4445
  disabledClasses: Object.entries(request?.classes ?? {}).filter(([, style]) => style?.enabled === false).map(([roadClass]) => roadClass),
4402
- enabled: request?.enabled ?? defaults.enabled,
4446
+ enabled: request?.enabled ?? defaults2.enabled,
4403
4447
  explicitClasses: Object.entries(request?.classes ?? {}).filter(([, style]) => style?.enabled !== false).map(([roadClass]) => roadClass),
4404
- extras: { paths: request?.extras?.paths ?? defaults.extras.paths },
4405
- hierarchy: request?.hierarchy ?? defaults.hierarchy,
4406
- oneWayMarkers: request?.oneWayMarkers ?? defaults.oneWayMarkers,
4407
- outline: request?.outline ?? defaults.outline,
4408
- weight: request?.weight ?? defaults.weight,
4448
+ extras: { paths: request?.extras?.paths ?? defaults2.extras.paths },
4449
+ hierarchy: request?.hierarchy ?? defaults2.hierarchy,
4450
+ oneWayMarkers: request?.oneWayMarkers ?? defaults2.oneWayMarkers,
4451
+ outline: request?.outline ?? defaults2.outline,
4452
+ weight: request?.weight ?? defaults2.weight,
4409
4453
  ...request?.widthScale ? {
4410
4454
  widthScale: {
4411
4455
  ...defaultRoadWidthScale,
@@ -4446,7 +4490,7 @@ function cloneJson8(value) {
4446
4490
  }
4447
4491
 
4448
4492
  // src/modules/labels/index.ts
4449
- var defaults2 = {
4493
+ var defaults3 = {
4450
4494
  aerodromeCodes: "iata",
4451
4495
  collisionPriority: "balanced",
4452
4496
  language: "auto",
@@ -4461,15 +4505,15 @@ function labels(options = {}) {
4461
4505
  }
4462
4506
  function resolveLabels(request) {
4463
4507
  return {
4464
- aerodromeCodes: request?.aerodromeCodes ?? defaults2.aerodromeCodes,
4465
- collisionPriority: request?.collisionPriority ?? defaults2.collisionPriority,
4466
- language: request?.language ?? defaults2.language,
4467
- junctions: request?.junctions ?? defaults2.junctions,
4468
- places: request?.places ?? defaults2.places,
4508
+ aerodromeCodes: request?.aerodromeCodes ?? defaults3.aerodromeCodes,
4509
+ collisionPriority: request?.collisionPriority ?? defaults3.collisionPriority,
4510
+ language: request?.language ?? defaults3.language,
4511
+ junctions: request?.junctions ?? defaults3.junctions,
4512
+ places: request?.places ?? defaults3.places,
4469
4513
  ...request?.roadClasses ? { roadClasses: [...request.roadClasses] } : {},
4470
- roads: request?.roads ?? defaults2.roads,
4471
- shields: request?.shields ?? defaults2.shields,
4472
- water: request?.water ?? defaults2.water
4514
+ roads: request?.roads ?? defaults3.roads,
4515
+ shields: request?.shields ?? defaults3.shields,
4516
+ water: request?.water ?? defaults3.water
4473
4517
  };
4474
4518
  }
4475
4519
  function visibleRoadLabelClasses(detail, roads2, explicitClasses) {
@@ -4538,7 +4582,7 @@ function compileLabels(request, roadRequest, context) {
4538
4582
  const { colors } = context;
4539
4583
  const rankField = context.data.schema.fields.rank;
4540
4584
  const capitalField = context.data.schema.fields.capital;
4541
- const defaults3 = {
4585
+ const defaults4 = {
4542
4586
  places: {
4543
4587
  continent: symbolStyle(context, "places", {
4544
4588
  minZoom: 0,
@@ -4687,7 +4731,7 @@ function compileLabels(request, roadRequest, context) {
4687
4731
  })
4688
4732
  };
4689
4733
  const styles = mergeTileflowDesign(
4690
- defaults3,
4734
+ defaults4,
4691
4735
  request?.styles
4692
4736
  );
4693
4737
  const result = [];
@@ -6158,7 +6202,7 @@ function compilePoi(request, context, language = "auto") {
6158
6202
  const categoryDensity = requestedCategoryStyle?.density ?? semantics.density;
6159
6203
  const { density: _density, ...categoryStyle } = requestedCategoryStyle ?? {};
6160
6204
  const categoryColor = semantics.color === "category" ? context.colors.poi[category] ?? context.colors.poi.label : context.colors.poi.label;
6161
- const defaults3 = {
6205
+ const defaults4 = {
6162
6206
  icon: {
6163
6207
  optional: !semantics.placement.coupleIconAndLabel,
6164
6208
  padding: semantics.placement.iconPadding,
@@ -6177,7 +6221,7 @@ function compilePoi(request, context, language = "auto") {
6177
6221
  ]) : 12
6178
6222
  })
6179
6223
  };
6180
- let style = mergeTileflowDesign(defaults3, categoryStyle);
6224
+ let style = mergeTileflowDesign(defaults4, categoryStyle);
6181
6225
  const markerStyle = style.marker ? resolveMarkerStyle(style) : void 0;
6182
6226
  const showText = semantics.labels && style.text.visible !== false;
6183
6227
  const showIcon = semantics.icons && style.icon.visible !== false;
@@ -6380,8 +6424,8 @@ var defaultColors = {
6380
6424
  textMuted: "#727B84",
6381
6425
  textHalo: "#FFFFFF"
6382
6426
  };
6383
- function resolveColors(overrides = {}, defaults3 = defaultColors, moduleOverrides = {}, moduleDefaults = {}) {
6384
- const defaultInput = defaults3;
6427
+ function resolveColors(overrides = {}, defaults4 = defaultColors, moduleOverrides = {}, moduleDefaults = {}) {
6428
+ const defaultInput = defaults4;
6385
6429
  const overrideInput = overrides;
6386
6430
  const defaultModules = moduleDefaults;
6387
6431
  const overrideModules = moduleOverrides;
@@ -6729,32 +6773,32 @@ function textFont(typography, domain) {
6729
6773
  const style = domain ? typography[domain] : typography;
6730
6774
  return [style.font, ...style.fallbacks ?? []];
6731
6775
  }
6732
- function resolveBaseColors(overrides, defaults3) {
6733
- const background = overrides.background ?? defaults3.background ?? defaultColors.background;
6734
- const land2 = overrides.land ?? defaults3.land ?? defaultColors.land;
6735
- const water2 = overrides.water ?? defaults3.water ?? defaultColors.water;
6736
- const park = overrides.park ?? defaults3.park ?? defaultColors.park;
6737
- const road = overrides.road ?? defaults3.road ?? defaultColors.road;
6738
- const text = overrides.text ?? defaults3.text ?? defaultColors.text;
6739
- const textMuted = overrides.textMuted ?? defaults3.textMuted ?? mix(text, background, 0.42);
6740
- const textHalo = overrides.textHalo ?? defaults3.textHalo ?? background;
6776
+ function resolveBaseColors(overrides, defaults4) {
6777
+ const background = overrides.background ?? defaults4.background ?? defaultColors.background;
6778
+ const land2 = overrides.land ?? defaults4.land ?? defaultColors.land;
6779
+ const water2 = overrides.water ?? defaults4.water ?? defaultColors.water;
6780
+ const park = overrides.park ?? defaults4.park ?? defaultColors.park;
6781
+ const road = overrides.road ?? defaults4.road ?? defaultColors.road;
6782
+ const text = overrides.text ?? defaults4.text ?? defaultColors.text;
6783
+ const textMuted = overrides.textMuted ?? defaults4.textMuted ?? mix(text, background, 0.42);
6784
+ const textHalo = overrides.textHalo ?? defaults4.textHalo ?? background;
6741
6785
  return {
6742
6786
  background,
6743
- boundary: overrides.boundary ?? defaults3.boundary ?? mix(text, background, 0.72),
6744
- building: overrides.building ?? defaults3.building ?? mix(land2, text, 0.08),
6787
+ boundary: overrides.boundary ?? defaults4.boundary ?? mix(text, background, 0.72),
6788
+ building: overrides.building ?? defaults4.building ?? mix(land2, text, 0.08),
6745
6789
  land: land2,
6746
6790
  park,
6747
6791
  road,
6748
- roadMajor: overrides.roadMajor ?? defaults3.roadMajor ?? mix(road, textMuted, 0.16),
6792
+ roadMajor: overrides.roadMajor ?? defaults4.roadMajor ?? mix(road, textMuted, 0.16),
6749
6793
  text,
6750
6794
  textHalo,
6751
6795
  textMuted,
6752
6796
  water: water2
6753
6797
  };
6754
6798
  }
6755
- function resolveGroup(defaults3, themeDefaults, overrides) {
6799
+ function resolveGroup(defaults4, themeDefaults, overrides) {
6756
6800
  return {
6757
- ...defaults3,
6801
+ ...defaults4,
6758
6802
  ...themeDefaults,
6759
6803
  ...overrides
6760
6804
  };
@@ -6878,13 +6922,13 @@ function compileRoads(request, context) {
6878
6922
  const semantics = resolveRoads(request);
6879
6923
  const visible = new Set(visibleRoadClasses(semantics));
6880
6924
  const metrics = roadStyleMetrics(semantics);
6881
- const defaults3 = defaultClassStyles(context, metrics, semantics);
6925
+ const defaults4 = defaultClassStyles(context, metrics, semantics);
6882
6926
  const contributions = [];
6883
6927
  const { sourceId: source, schema } = context.data;
6884
6928
  for (const [classIndex, roadClass] of roadClassOrder.entries()) {
6885
6929
  if (!visible.has(roadClass) || request?.classes?.[roadClass]?.enabled === false) continue;
6886
6930
  const classConfig = mergeTileflowDesign(
6887
- defaults3[roadClass],
6931
+ defaults4[roadClass],
6888
6932
  Object.fromEntries(
6889
6933
  ["tunnel", "surface", "bridge"].map((structure) => [
6890
6934
  structure,
@@ -9184,6 +9228,7 @@ function isPlainRecord2(value) {
9184
9228
  }
9185
9229
 
9186
9230
  // src/resolved-map-schema.ts
9231
+ import { Color as Color2 } from "@maplibre/maplibre-gl-style-spec";
9187
9232
  import { z as z6 } from "zod";
9188
9233
 
9189
9234
  // src/cartography/data-expression.ts
@@ -12801,6 +12846,24 @@ var terrainSchema = z6.union([
12801
12846
  url: z6.string().trim().min(1).optional()
12802
12847
  }).strict()
12803
12848
  ]);
12849
+ var atmosphereColorLiteralSchema = z6.string().refine((value) => Color2.parse(value)?.a === 1, "Expected an opaque color");
12850
+ var atmosphereColorSchema = z6.union([
12851
+ atmosphereColorLiteralSchema,
12852
+ fixedStringSchema.extend({ value: atmosphereColorLiteralSchema }),
12853
+ themeTokenReferenceSchema.extend({ category: z6.literal("color") }),
12854
+ themeColorOperationSchema
12855
+ ]);
12856
+ var atmosphereSchema = z6.union([
12857
+ z6.boolean(),
12858
+ z6.object({
12859
+ skyColor: atmosphereColorSchema.optional(),
12860
+ horizonColor: atmosphereColorSchema.optional(),
12861
+ fogColor: atmosphereColorSchema.optional(),
12862
+ spaceColor: atmosphereColorSchema.optional(),
12863
+ starIntensity: z6.number().finite().min(0).max(1).optional(),
12864
+ starParallax: z6.number().finite().min(0).max(1).optional()
12865
+ }).strict()
12866
+ ]);
12804
12867
  var viewSchema = z6.object({
12805
12868
  bearing: z6.number().finite().min(-180).max(180).optional(),
12806
12869
  center: z6.tuple([z6.number().finite().min(-180).max(180), z6.number().finite().min(-90).max(90)]).optional(),
@@ -12833,6 +12896,7 @@ var themesSchema = z6.record(tileflowThemeNameSchema, tileflowThemeSchema).super
12833
12896
  }).describe("tileflow-themes");
12834
12897
  var systemThemesSchema = z6.object({ dark: tileflowThemeNameSchema, light: tileflowThemeNameSchema }).strict();
12835
12898
  var resolvedTileflowMapSchema = z6.object({
12899
+ atmosphere: atmosphereSchema.optional(),
12836
12900
  data: dataSchema.optional(),
12837
12901
  defaultTheme: tileflowThemeNameSchema,
12838
12902
  fonts: fontDirectoriesSchema.optional(),
@@ -12858,6 +12922,13 @@ var resolvedTileflowMapSchema = z6.object({
12858
12922
  path: ["fonts"]
12859
12923
  });
12860
12924
  }
12925
+ if (map.atmosphere && map.projection !== "globe") {
12926
+ context.addIssue({
12927
+ code: "custom",
12928
+ message: "Atmosphere requires globe projection",
12929
+ path: ["atmosphere"]
12930
+ });
12931
+ }
12861
12932
  if (!Object.hasOwn(map.themes, map.defaultTheme)) {
12862
12933
  context.addIssue({
12863
12934
  code: "custom",
@@ -13272,7 +13343,7 @@ function cloneJson22(value) {
13272
13343
  }
13273
13344
 
13274
13345
  // src/icon-appearance.ts
13275
- import { Color } from "@maplibre/maplibre-gl-style-spec";
13346
+ import { Color as Color3 } from "@maplibre/maplibre-gl-style-spec";
13276
13347
  import { z as z8 } from "zod";
13277
13348
 
13278
13349
  // src/icon-layout.ts
@@ -13346,7 +13417,7 @@ function scaleTileflowIconLayout(layout, scale) {
13346
13417
  }
13347
13418
 
13348
13419
  // src/icon-appearance.ts
13349
- var color2 = z8.string().max(128).refine((value) => Color.parse(value) !== void 0, "Expected a MapLibre color");
13420
+ var color2 = z8.string().max(128).refine((value) => Color3.parse(value) !== void 0, "Expected a MapLibre color");
13350
13421
  var tileflowIconAppearanceSchema = z8.object({
13351
13422
  representation: z8.literal("sdf"),
13352
13423
  defaults: z8.object({
@@ -14888,7 +14959,9 @@ function compileSemanticStyleInternal(input, options, inspect, onReport) {
14888
14959
  layers
14889
14960
  })
14890
14961
  );
14962
+ const atmosphere = resolveTileflowAtmosphere(config.atmosphere);
14891
14963
  const style = {
14964
+ ...atmosphere ? { sky: compileTileflowSky(atmosphere) } : {},
14892
14965
  version: 8,
14893
14966
  name: config.name ?? "Streets",
14894
14967
  ...glyphs ? { glyphs } : {},
@@ -14906,6 +14979,7 @@ function compileSemanticStyleInternal(input, options, inspect, onReport) {
14906
14979
  "tileflow:compilerVersion": tileflowSemanticCompilerIdentity.version,
14907
14980
  ...mapMetadata.lineage && mapMetadata.lineage.length > 1 ? { "tileflow:extends": mapMetadata.lineage.slice(1) } : {}
14908
14981
  } : {},
14982
+ ...atmosphere ? { [tileflowAtmosphereMetadataKey]: { version: 1, ...atmosphere } } : {},
14909
14983
  "tileflow:theme": selected.name,
14910
14984
  "tileflow:colorScheme": resolvedTheme.colorScheme,
14911
14985
  "tileflow:data": data.identity,
@@ -15232,6 +15306,7 @@ var TileflowMapResolutionError = class extends Error {
15232
15306
  }
15233
15307
  };
15234
15308
  var tileflowMapMergeStrategies = {
15309
+ atmosphere: "atomic",
15235
15310
  data: "atomic",
15236
15311
  defaultTheme: "atomic",
15237
15312
  extends: "lineage",
@@ -15727,12 +15802,12 @@ function validateTileflowMap(input) {
15727
15802
  }
15728
15803
 
15729
15804
  // src/icon-preview.ts
15730
- import { Color as Color2 } from "@maplibre/maplibre-gl-style-spec";
15805
+ import { Color as Color4 } from "@maplibre/maplibre-gl-style-spec";
15731
15806
  function resolveTileflowIconPreviewPaint(appearance) {
15732
15807
  return {
15733
15808
  ...appearance.defaults,
15734
- color: Color2.parse(appearance.defaults.color),
15735
- haloColor: Color2.parse(appearance.defaults.haloColor)
15809
+ color: Color4.parse(appearance.defaults.color),
15810
+ haloColor: Color4.parse(appearance.defaults.haloColor)
15736
15811
  };
15737
15812
  }
15738
15813
  function createTileflowIconPreviewRuntime() {
@@ -514,6 +514,7 @@ type TileflowLight = {
514
514
  position?: readonly [number, number, number];
515
515
  };
516
516
  type MapLibreStyle = {
517
+ sky?: Record<string, unknown>;
517
518
  version: 8;
518
519
  name: string;
519
520
  glyphs?: string;
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { T as TileflowRuntimeManifest } from './manifest-types-BdGjIYy-.js';
3
- export { a as TileflowRuntimeColorScheme, b as TileflowRuntimeManifestMapEntry, c as TileflowRuntimeManifestTheme, d as TileflowRuntimeSystemThemes, t as tileflowRuntimeManifestLimits, e as tileflowRuntimeManifestVersion } from './manifest-types-BdGjIYy-.js';
2
+ import { T as TileflowRuntimeManifest } from './manifest-types-BZU4zbmI.js';
3
+ export { a as TileflowRuntimeColorScheme, b as TileflowRuntimeManifestMapEntry, c as TileflowRuntimeManifestTheme, d as TileflowRuntimeSystemThemes, t as tileflowRuntimeManifestLimits, e as tileflowRuntimeManifestVersion } from './manifest-types-BZU4zbmI.js';
4
4
 
5
5
  declare const tileflowRuntimeManifestSchema: z.ZodType<TileflowRuntimeManifest>;
6
6
  declare function parseTileflowRuntimeManifest(input: unknown): TileflowRuntimeManifest;