0.3.2 • Published 2 months ago

@dopt/semantic-data-layer-tour v0.3.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

@dopt/semantic-data-layer-tour

An interface definition for Dopt's tour and tour item components.

export interface Tour {
  id: string;

  items: TourItem[];

  active: boolean;

  completed: boolean;
  dismissed: boolean;

  complete: () => void;
  dismiss: () => void;

  size: number;

  filter(on: FilterableField): TourItem[];
  count(where: CountableField): number;
}

export interface TourItem {
  id: string;

  tour: Tour | undefined;

  index: number | null | undefined;

  title: string | null | undefined;
  body: RichText | null | undefined;

  nextLabel: string | null | undefined;
  backLabel: string | null | undefined;

  active: boolean;

  completed: boolean;

  next: () => void;
  back: () => void;
}
0.3.2

2 months ago

0.3.1

3 months ago

0.1.0

8 months ago

0.0.1

10 months ago

0.3.0

7 months ago

0.2.1

8 months ago

0.0.3

10 months ago

0.2.0

8 months ago

0.0.2

10 months ago

0.0.8

9 months ago

0.0.5

10 months ago

0.0.4

10 months ago

0.0.7

9 months ago

0.0.6

9 months ago

0.0.0

11 months ago