@motionstudies/web 0.1.0-alpha.14 → 0.1.0-alpha.15

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
@@ -229,3 +229,7 @@ For timetable-backed vehicle selections, `NetworkVehicleHeroCard` from `@motions
229
229
  ### Railway preparation
230
230
 
231
231
  `@motionstudies/data/rail-wtt`, `rail-journeys`, `rail-public-calls`, `rail-routing` and `rail-geometry` expose typed offline railway preparation. XLSX reading, dated source-column audits, UID/date joins, public-call anchors and connected OSM paths preserve source evidence. Editions supply regional identities, calendar exceptions and clipping policy. Node 24+ and `unzip` are required; no Python runtime is shipped. See `docs/SHARED-RAIL-READERS.md` in the source repository for calendar limits and parity evidence.
232
+
233
+ `mountMotionStudy({ id, theme }, application)` requires presentation identity only; a full `MotionStudyEdition` remains accepted. Applications own their data catalogue and loading lifecycle.
234
+
235
+ For independent airport infrastructure, `mapStyle.airports.visible` hides the mounted group without rebuilding GPU resources, and `showLabels` controls its labels separately. Both default to `true`. Set these from the edition's layout and label controls; airport abbreviations equal to their IATA code are rendered once.
@@ -1,3 +1,8 @@
1
1
  import { type ReactNode } from 'react';
2
- import type { MotionStudyEdition } from '@motionstudies/core/edition';
3
- export declare function mountMotionStudy(edition: MotionStudyEdition, application: ReactNode): void;
2
+ import type { VisualTheme } from '@motionstudies/core/theme';
3
+ /** Mounting needs presentation identity only; data catalogues belong to the application. */
4
+ export interface MotionStudyMountOptions {
5
+ readonly id: string;
6
+ readonly theme: VisualTheme;
7
+ }
8
+ export declare function mountMotionStudy(edition: MotionStudyMountOptions, application: ReactNode): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@motionstudies/web",
3
- "version": "0.1.0-alpha.14",
3
+ "version": "0.1.0-alpha.15",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Browser controls and loaders for Motion Studies.",
@@ -168,7 +168,7 @@
168
168
  "**/*.css"
169
169
  ],
170
170
  "dependencies": {
171
- "@motionstudies/core": "0.1.0-alpha.14"
171
+ "@motionstudies/core": "0.1.0-alpha.15"
172
172
  },
173
173
  "peerDependencies": {
174
174
  "react": "^19.2.8",