0.3.3 • Published 1 year ago

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

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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.3

1 year ago

0.3.2

1 year ago

0.3.1

1 year ago

0.1.0

2 years ago

0.0.1

2 years ago

0.3.0

2 years ago

0.2.1

2 years ago

0.0.3

2 years ago

0.2.0

2 years ago

0.0.2

2 years ago

0.0.8

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.0

2 years ago