@clickview/player 0.0.9-dev.0 → 0.0.9-dev.1

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.
@@ -10,6 +10,7 @@ interface UseLazyLoadOptions {
10
10
  * for example thumbnail images as we scroll
11
11
  */
12
12
  rootMargin?: string;
13
+ triggerOnce?: boolean;
13
14
  }
14
15
  export declare function useLazyLoad(options?: UseLazyLoadOptions): LazyUtils;
15
16
  export {};
@@ -1,11 +1,20 @@
1
1
  import { BaseObject } from './primitives';
2
2
  import { ThemeType } from 'libs/shared/enums/ThemeType';
3
3
  import { HeroBanner } from './HeroBanner';
4
+ export interface ThemeImages {
5
+ bottomLeft?: HeroBanner;
6
+ bottomRight?: HeroBanner;
7
+ topLeft?: HeroBanner;
8
+ topRight?: HeroBanner;
9
+ }
10
+ export interface ThemeColours {
11
+ primary?: string;
12
+ secondary?: string;
13
+ tertiary?: string;
14
+ }
4
15
  export interface ThemeData {
5
- bottomLeft: HeroBanner;
6
- bottomRight: HeroBanner;
7
- topLeft: HeroBanner;
8
- topRight: HeroBanner;
16
+ images?: ThemeImages;
17
+ colours?: ThemeColours;
9
18
  }
10
19
  export interface Theme extends BaseObject {
11
20
  name: string;