@livetiles/reach-plugin-types 0.4.56 → 0.4.58

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 +6 -0
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -3621,10 +3621,14 @@ declare module "libs/reach/util/common/src/subscription/useSubscriptionApi" {
3621
3621
  getTermsAndConditions: () => Promise<TermsAndConditions>;
3622
3622
  };
3623
3623
  }
3624
+ declare module "libs/reach/util/common/src/subscription/useLazySubscriptionContext" {
3625
+ export function useLazySubscriptionContext(): import("@livetiles/reach/util/common").LazySubscriptionContextType;
3626
+ }
3624
3627
  declare module "libs/reach/util/common/src/subscription/index" {
3625
3628
  export * from "libs/reach/util/common/src/subscription/EnforcedSubscriptionContextProvider";
3626
3629
  export * from "libs/reach/util/common/src/subscription/SubscriptionContext";
3627
3630
  export * from "libs/reach/util/common/src/subscription/useSubscriptionApi";
3631
+ export * from "libs/reach/util/common/src/subscription/useLazySubscriptionContext";
3628
3632
  }
3629
3633
  declare module "libs/reach/util/common/src/AppTrigger" {
3630
3634
  import { DependencyList } from 'react';
@@ -5390,6 +5394,7 @@ declare module "apps/reach-app/src/app/chrome/CloseButton" {
5390
5394
  import { FC, DependencyList } from 'react';
5391
5395
  export interface Props {
5392
5396
  navigateTo: string;
5397
+ onBeforeClose?: () => void;
5393
5398
  onClose?: () => void;
5394
5399
  tooltipResourceKey?: string;
5395
5400
  useGoBack?: boolean;
@@ -5423,6 +5428,7 @@ declare module "apps/reach-app/src/app/chrome/Header" {
5423
5428
  closeButtonOptions?: CloseButtonOptions;
5424
5429
  }
5425
5430
  export interface CloseButtonOptions {
5431
+ onBeforeClose?: () => void;
5426
5432
  onClick?: () => void;
5427
5433
  disableGoBack?: boolean;
5428
5434
  route?: string;
package/package.json CHANGED
@@ -4,6 +4,6 @@
4
4
  "main": "",
5
5
  "types": "./index.d.ts",
6
6
  "license": "ISC",
7
- "version": "0.4.56",
7
+ "version": "0.4.58",
8
8
  "dependencies": {}
9
9
  }