@livetiles/reach-plugin-types 0.5.0-preview.218 → 0.5.0-preview.220

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.
Files changed (2) hide show
  1. package/lib/index.d.ts +8 -8
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -3685,26 +3685,26 @@ declare module "libs/reach/util/common/src/analytics/AnalyticsContextProvider" {
3685
3685
  module: Module;
3686
3686
  setModule: Dispatch<SetStateAction<Module>>;
3687
3687
  }
3688
- export type ReachAnalytics = Analytics & AnalyticsModule & SearchAnalytics;
3688
+ interface ActivityAnalytics {
3689
+ trackActivity: (scrollContainer: HTMLElement) => void;
3690
+ }
3691
+ export type ReachAnalytics = Analytics & AnalyticsModule & SearchAnalytics & ActivityAnalytics;
3689
3692
  export const AnalyticsContext: import("react").Context<ReachAnalytics>;
3690
3693
  export function useAnalyticsContext(): ReachAnalytics;
3691
3694
  export const AnalyticsContextProvider: FC;
3692
3695
  }
3693
- declare module "libs/reach/util/common/src/analytics/elementObserver" {
3694
- export const elementObserver: (getWrapperElement: () => Element, selector: () => Element, timeout: number) => {
3695
- watch: () => Promise<Element>;
3696
- disconnect: () => void;
3697
- };
3698
- }
3699
3696
  declare module "libs/reach/util/common/src/analytics/useAnalyticsViewTrack" {
3700
3697
  import { ItemResourceTypes } from "libs/reach/util/common/src/index";
3701
3698
  export function useAnalyticsViewTrack(startTracking: boolean, itemResourceType?: ItemResourceTypes, thresholdPercentageOverride?: number): void;
3702
3699
  }
3700
+ declare module "libs/reach/util/common/src/analytics/useAnalyticsActivityTrack" {
3701
+ export function useAnalyticsActivityTrack(scrollContainer: HTMLElement): void;
3702
+ }
3703
3703
  declare module "libs/reach/util/common/src/analytics/index" {
3704
3704
  export * from "libs/reach/util/common/src/analytics/AnalyticsContextProvider";
3705
- export * from "libs/reach/util/common/src/analytics/elementObserver";
3706
3705
  export * from "libs/reach/util/common/src/analytics/analyticsUtils";
3707
3706
  export * from "libs/reach/util/common/src/analytics/useAnalyticsViewTrack";
3707
+ export * from "libs/reach/util/common/src/analytics/useAnalyticsActivityTrack";
3708
3708
  }
3709
3709
  declare module "libs/reach/util/common/src/index" {
3710
3710
  export { initializeIcons } from 'office-ui-fabric-react';
package/package.json CHANGED
@@ -4,6 +4,6 @@
4
4
  "main": "",
5
5
  "types": "./index.d.ts",
6
6
  "license": "ISC",
7
- "version": "0.5.0-preview.218",
7
+ "version": "0.5.0-preview.220",
8
8
  "dependencies": {}
9
9
  }