@tileflow/svelte 0.1.0-alpha.32 → 0.1.0-alpha.33

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 CHANGED
@@ -96,7 +96,8 @@ Maps without this capability ignore the option; omitting it keeps the selected t
96
96
  Changing it uses the existing theme transition. `themeBlend` takes precedence. See the
97
97
  [authoring contract](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/README.md#style-with-themes-and-semantic-modules).
98
98
 
99
- `themeTransition={{duration: 450}}` cross-fades theme changes over that many milliseconds.
99
+ Theme and `timeOfDay` changes cross-fade over 450 ms by default, respecting reduced motion.
100
+ `themeTransition={{duration: 700}}` customizes the duration; use `duration: 0` for an immediate change.
100
101
  `themeBlend={{themes: ['night', 'dusk', 'day'], position}}` shows a continuous blend of the map's
101
102
  themes instead of `theme`: position 0 is the first theme and 1.5 is halfway from the second to the
102
103
  third. Moving the position updates the map at once. See
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tileflow/svelte",
3
- "version": "0.1.0-alpha.32",
3
+ "version": "0.1.0-alpha.33",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Svelte component for rendering Tileflow maps with MapLibre.",
6
6
  "type": "module",
@@ -44,7 +44,7 @@
44
44
  "access": "public"
45
45
  },
46
46
  "dependencies": {
47
- "@tileflow/core": ">=0.1.0-alpha.39 <0.1.0-beta.0",
47
+ "@tileflow/core": ">=0.1.0-alpha.40 <0.1.0-beta.0",
48
48
  "@tileflow/interactions": ">=0.1.0-alpha.6 <0.1.0-beta.0"
49
49
  },
50
50
  "peerDependencies": {
@@ -30,6 +30,7 @@
30
30
  } from '@tileflow/core/runtime';
31
31
  import {
32
32
  attachTileflowAtmosphere,
33
+ attachTileflowLabelPlacement,
33
34
  attachTileflowFairUseNotice,
34
35
  attachTileflowMap3D,
35
36
  attachTileflowMapLifecycle,
@@ -614,6 +615,7 @@
614
615
  attachTileflowAtmosphere(maplibreMap);
615
616
  attachTileflowNotices(maplibreMap);
616
617
  attachTileflowNauticalLights(maplibreMap);
618
+ attachTileflowLabelPlacement(maplibreMap);
617
619
  themeController =
618
620
  runtime.theme === undefined
619
621
  ? null