@tileflow/core 0.1.0-alpha.34 → 0.1.0-alpha.36

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.
Files changed (36) hide show
  1. package/README.md +24 -23
  2. package/THIRD_PARTY_NOTICES.md +100 -6
  3. package/dist/browser.d.ts +758 -388
  4. package/dist/browser.js +4598 -1169
  5. package/dist/build.d.ts +9 -5
  6. package/dist/build.js +2892 -1410
  7. package/dist/capture.js +1 -0
  8. package/dist/config-reference.json +3780 -2153
  9. package/dist/{icon-composition-DqoZWQuz.d.ts → icon-composition-sN3JkXdb.d.ts} +380 -96
  10. package/dist/index.d.ts +426 -13
  11. package/dist/index.js +4999 -1841
  12. package/dist/{manifest-types-hmzy2bBX.d.ts → manifest-types-jrBdBrES.d.ts} +71 -9
  13. package/dist/manifest.d.ts +2 -2
  14. package/dist/manifest.js +80 -2
  15. package/dist/native-profile.js +1 -0
  16. package/dist/native.d.ts +13 -3
  17. package/dist/native.js +714 -318
  18. package/dist/runtime.d.ts +1 -1
  19. package/dist/runtime.js +124 -6
  20. package/dist/worker/buildings-3d-worker.global.js +1 -0
  21. package/docs/authoring-model.md +12 -3
  22. package/docs/boundary-areas-and-choropleths.md +217 -0
  23. package/docs/buildings-3d.md +264 -34
  24. package/docs/cartographic-defaults.md +142 -0
  25. package/docs/compiled-style-performance.md +14 -3
  26. package/docs/data-is-separate-from-design.md +191 -7
  27. package/docs/hosted-session-authorization.md +2 -4
  28. package/docs/map-and-terrain-examples.md +10 -3
  29. package/docs/native-artifact-profile.md +5 -0
  30. package/docs/native-resource-urls.md +5 -3
  31. package/docs/street-lights.md +22 -6
  32. package/docs/sun-and-light.md +42 -2
  33. package/docs/theme-transitions-and-blends.md +50 -0
  34. package/docs/themes-and-module-styles.md +66 -0
  35. package/docs/trees-3d.md +85 -13
  36. package/package.json +5 -4
package/dist/build.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { T as TileflowCaptureScene, a as TileflowCaptureShot } from './capture-shot-ChPQvPyi.js';
2
- import { T as TileflowRenderedIconIdentity, a as TileflowIconCompositionV1, R as ResolvedTileflowMap, b as TileflowDataRequirementsV1, c as TileflowSourceRequirementsV1, d as TileflowMap, e as TileflowStyleOptions, f as TileflowInspectedStyle, g as TileflowPreparedMapAssets } from './icon-composition-DqoZWQuz.js';
3
- export { h as TileflowDataCompatibilityIssue, i as TileflowDataFieldRequirement, j as TileflowDataFieldType, k as TileflowDataLayerRequirement, l as TileflowObservedDataContractV1, m as TileflowStyleInspection, n as TileflowStyleInspectionContribution, o as TileflowStyleInspectionLayer, p as TileflowStyleInspectionRenderOperation, q as collectMapLineage, r as inferTileflowDataRequirements, s as inferTileflowSourceRequirements, t as tileflowStyleInspectionSchemaVersion, v as validateTileflowDataCompatibility } from './icon-composition-DqoZWQuz.js';
4
- import { M as MapLibreStyle, T as TileflowRuntimeManifest } from './manifest-types-hmzy2bBX.js';
2
+ import { T as TileflowRenderedIconIdentity, a as TileflowIconCompositionV1, R as ResolvedTileflowMap, b as TileflowDataRequirementsV1, c as TileflowSourceRequirementsV1, d as TileflowMap, e as TileflowStyleOptions, f as TileflowInspectedStyle, g as TileflowPreparedMapAssets } from './icon-composition-sN3JkXdb.js';
3
+ export { h as TileflowDataCompatibilityIssue, i as TileflowDataFieldRequirement, j as TileflowDataFieldType, k as TileflowDataLayerRequirement, l as TileflowObservedDataContractV1, m as TileflowStyleInspection, n as TileflowStyleInspectionContribution, o as TileflowStyleInspectionLayer, p as TileflowStyleInspectionRenderOperation, q as collectMapLineage, r as inferTileflowDataRequirements, s as inferTileflowSourceRequirements, t as tileflowStyleInspectionSchemaVersion, v as validateTileflowDataCompatibility } from './icon-composition-sN3JkXdb.js';
4
+ import { M as MapLibreStyle, f as TileflowTimeOfDayVariants, T as TileflowRuntimeManifest } from './manifest-types-jrBdBrES.js';
5
5
  import { z } from 'zod';
6
6
 
7
7
  declare const tileflowMapRevisionSchemaVersion: 1;
@@ -23,10 +23,10 @@ type TileflowEffectiveFontSourceIdentity = {
23
23
  style: 'italic' | 'normal' | 'oblique';
24
24
  weight: '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900';
25
25
  };
26
- /** One effective 3D model file a map declares, near or far. */
26
+ /** One effective 3D model file a map declares: a level of detail, near, mid or far. */
27
27
  type TileflowEffectiveModelSourceIdentity = {
28
28
  id: string;
29
- level: 'far' | 'near';
29
+ level: 'far' | 'mid' | 'near';
30
30
  sha256: string;
31
31
  };
32
32
  type TileflowEffectiveMapSourceAssets = {
@@ -87,6 +87,7 @@ type TileflowMapBuildManifestEntryV1 = {
87
87
  dark: string;
88
88
  light: string;
89
89
  };
90
+ timeOfDay?: TileflowTimeOfDayVariants;
90
91
  themes: Record<string, TileflowThemeBuildManifestEntryV1>;
91
92
  };
92
93
  /**
@@ -306,6 +307,7 @@ declare const tileflowRendererDeploymentArtifactSchema: z.ZodObject<{
306
307
  themeId: z.ZodString;
307
308
  themeVersion: z.ZodNumber;
308
309
  }, z.core.$strict>>;
310
+ timeOfDay: z.ZodOptional<z.ZodType<Readonly<Record<string, Readonly<Partial<Record<"dawn" | "day" | "dusk" | "night", string>>>>>, unknown, z.core.$ZodTypeInternals<Readonly<Record<string, Readonly<Partial<Record<"dawn" | "day" | "dusk" | "night", string>>>>>, unknown>>>;
309
311
  }, z.core.$strict>>;
310
312
  provenance: z.ZodOptional<z.ZodObject<{
311
313
  schemaVersion: z.ZodLiteral<1>;
@@ -464,6 +466,7 @@ declare const tileflowRendererDeploymentArtifactSchema: z.ZodObject<{
464
466
  themeId: z.ZodString;
465
467
  themeVersion: z.ZodNumber;
466
468
  }, z.core.$strict>>;
469
+ timeOfDay: z.ZodOptional<z.ZodType<Readonly<Record<string, Readonly<Partial<Record<"dawn" | "day" | "dusk" | "night", string>>>>>, unknown, z.core.$ZodTypeInternals<Readonly<Record<string, Readonly<Partial<Record<"dawn" | "day" | "dusk" | "night", string>>>>>, unknown>>>;
467
470
  }, z.core.$strict>>;
468
471
  provenance: z.ZodOptional<z.ZodObject<{
469
472
  schemaVersion: z.ZodLiteral<1>;
@@ -585,6 +588,7 @@ declare function createStylesFromCatalogWithInspection(catalog: TileflowBuildCat
585
588
  }): TileflowBuildInspectedStyles;
586
589
  declare function createManifest(catalog: TileflowBuildCatalog, options?: {
587
590
  styleBaseUrl?: string;
591
+ manifestVersion?: 1 | 2;
588
592
  }): TileflowRuntimeManifest;
589
593
 
590
594
  export { type TileflowBuildAssetIdentity, type TileflowBuildCatalog, type TileflowBuildInspectedStyles, type TileflowBuildStyles, type TileflowCompiledMapMetadata, TileflowDataRequirementsV1, type TileflowEffectiveFontSourceIdentity, type TileflowEffectiveIconSourceIdentity, type TileflowEffectiveMapSourceAssets, type TileflowEffectiveModelSourceIdentity, type TileflowHashableBuildAsset, TileflowInspectedStyle, type TileflowMapBuildInput, type TileflowMapBuildLineageEntry, type TileflowMapBuildManifestEntryV1, type TileflowMapBuildManifestV1, type TileflowMapBuildProvenanceV1, TileflowPreparedMapAssets, type TileflowRendererDeploymentArtifact, TileflowRendererDeploymentError, type TileflowRendererDeploymentResponse, TileflowSourceRequirementsV1, type TileflowThemeBuildManifestEntryV1, collectTileflowMapBuildLineage, createManifest, createStyleFromCatalog, createStyleFromCatalogWithInspection, createStyleWithInspection, createStylesFromCatalog, createStylesFromCatalogWithInspection, createTileflowMapBuildManifest, hashTileflowAssetSet, hashTileflowAssetSetIdentities, hashTileflowMapRevision, parseTileflowRendererDeploymentArtifact, tileflowMapBuildManifestFileName, tileflowMapBuildManifestSchemaVersion, tileflowMapRevisionCanonicalization, tileflowMapRevisionSchemaVersion, tileflowRendererDeploymentArtifactSchema, tileflowRendererDeploymentLimits, tileflowRendererDeploymentResponseSchema, tileflowSharedIconMapRevisionSchemaVersion };