@micrio/client 7.0.0 → 7.0.2

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
@@ -29,3 +29,9 @@ import type { HTMLMicrioElement } from '@micrio/client';
29
29
  // This will be a fully typed element
30
30
  const micrioElement = document.querySelector('micr-io') as HTMLMicrioElement;
31
31
  ```
32
+
33
+ ## Upgrading to the latest version (v7)
34
+
35
+ If you are using Micrio inside your project, and have custom CSS and/or using the JS API, check out this document which has all changes from earlier versions:
36
+
37
+ https://doc.micr.io/client/v7/changes.html
package/micrio.min.d.ts CHANGED
@@ -260,8 +260,6 @@ declare module '@micrio/client' {
260
260
  }?][];
261
261
  /** Custom icon lib */
262
262
  icons?: Assets.Image[];
263
- /** Multi-image marker tours */
264
- markerTours?: ImageData.MarkerTour[];
265
263
  }
266
264
  interface WaypointInterface {
267
265
  el?: HTMLElement;
@@ -1214,6 +1212,7 @@ declare module '@micrio/client' {
1214
1212
  data: Spaces.Space;
1215
1213
  }[];
1216
1214
  album?: GalleryConfig;
1215
+ tours?: ImageData.MarkerTour[];
1217
1216
  };
1218
1217
  }
1219
1218
  export type MicrioEvent<T = any> = Event & {
@@ -1976,6 +1975,8 @@ declare module '@micrio/client' {
1976
1975
  defaultSettings?: Partial<Models.ImageInfo.Settings>;
1977
1976
  /** Holds data for the current 360 space, if applicable (loaded via `data-space` attribute or API). */
1978
1977
  spaceData: Models.Spaces.Space | undefined;
1978
+ /** Holds bundle-level marker tours, available regardless of which image is shown. */
1979
+ bundleTours: Models.ImageData.MarkerTour[] | undefined;
1979
1980
  /** The current active gallery controller, if any. */
1980
1981
  readonly gallery: Writable<Gallery | undefined>;
1981
1982
  /** Destroys the Micrio instance, cleans up resources, and removes event listeners. */