@livetiles/reach-plugin-types 0.5.0-preview.52 → 0.5.0-preview.55

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 -2
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -4607,6 +4607,9 @@ declare module "libs/reach/ui/common/src/common/grid/Grid" {
4607
4607
  className?: string;
4608
4608
  }>;
4609
4609
  }
4610
+ declare module "libs/reach/ui/common/src/common/hooks/useIsMounted" {
4611
+ export const useIsMounted: () => () => boolean;
4612
+ }
4610
4613
  declare module "libs/reach/ui/common/src/common/hooks/usePagination" {
4611
4614
  import { PaginatedList } from "libs/reach/util/common/src/index";
4612
4615
  import { DependencyList, SetStateAction } from 'react';
@@ -5087,6 +5090,7 @@ declare module "libs/reach/ui/common/src/common/index" {
5087
5090
  export * from "libs/reach/ui/common/src/common/grid/Grid";
5088
5091
  export * from "libs/reach/ui/common/src/common/hooks/usePagination";
5089
5092
  export * from "libs/reach/ui/common/src/common/hooks/useUserPropertyDefinitionsHandler";
5093
+ export * from "libs/reach/ui/common/src/common/hooks/useIsMounted";
5090
5094
  export * from "libs/reach/ui/common/src/common/icon-with-callout/IconWithCallout";
5091
5095
  export * from "libs/reach/ui/common/src/common/inlineObjectsClassNames";
5092
5096
  export * from "libs/reach/ui/common/src/common/isNullOrWhitespaceUtil";
@@ -5170,7 +5174,7 @@ declare module "libs/reach/ui/common/src/index" {
5170
5174
  export * from "libs/reach/ui/common/src/ColorEditor";
5171
5175
  }
5172
5176
  declare module "apps/reach-app/src/app/chrome/CloseButton" {
5173
- import { FC } from 'react';
5177
+ import { FC, DependencyList } from 'react';
5174
5178
  export interface Props {
5175
5179
  navigateTo: string;
5176
5180
  onClose?: () => void;
@@ -5179,7 +5183,7 @@ declare module "apps/reach-app/src/app/chrome/CloseButton" {
5179
5183
  className?: string;
5180
5184
  }
5181
5185
  export const CloseButton: FC<Props>;
5182
- export function useEscapeOnClose(onClose: () => void): void;
5186
+ export function useEscapeOnClose(onClose: () => void, deps?: DependencyList): void;
5183
5187
  }
5184
5188
  declare module "apps/reach-app/src/app/common/LogoStyles" {
5185
5189
  export const LogoHostStyle: (size?: {
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.52",
7
+ "version": "0.5.0-preview.55",
8
8
  "dependencies": {}
9
9
  }