@livetiles/reach-plugin-types 0.5.0-preview.92 → 0.5.0-preview.94

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 +5 -0
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -8760,6 +8760,7 @@ declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb"
8760
8760
  target?: string;
8761
8761
  language?: string;
8762
8762
  hideCurrentPageNode?: boolean;
8763
+ onPageRedirect?: (id: string) => void;
8763
8764
  className?: string;
8764
8765
  }>;
8765
8766
  }
@@ -8820,6 +8821,7 @@ declare module "libs/reach/feature/content/src/pages/PageTocNode" {
8820
8821
  hide?: boolean;
8821
8822
  onPageSelected?: (pageId: string) => unknown;
8822
8823
  selectedPageId?: string;
8824
+ onPageRedirect?: (id: string) => void;
8823
8825
  }>;
8824
8826
  }
8825
8827
  declare module "libs/reach/feature/content/src/pages/PageTableOfContents" {
@@ -8836,6 +8838,7 @@ declare module "libs/reach/feature/content/src/pages/PageTableOfContents" {
8836
8838
  selectedPageId?: string;
8837
8839
  isLoading?: boolean;
8838
8840
  disableScrollableList?: boolean;
8841
+ onPageRedirect?: (id: string) => void;
8839
8842
  }>;
8840
8843
  export const PageTableOfContentsInPanel: FC<{
8841
8844
  basePath?: string;
@@ -8857,6 +8860,7 @@ declare module "libs/reach/feature/content/src/pages/PageTableOfContentsDialog"
8857
8860
  loadChildren: (id: string) => Promise<PageNavigationNode[]>;
8858
8861
  onSearch: (value: string) => Promise<PaginatedList<PageItem>>;
8859
8862
  onDismiss: () => void;
8863
+ onPageRedirect?: (id: string) => void;
8860
8864
  basePath: string;
8861
8865
  }>;
8862
8866
  }
@@ -8870,6 +8874,7 @@ declare module "libs/reach/feature/content/src/pages/PageTableOfContentsButton"
8870
8874
  loadChildren: (id: string) => Promise<PageNavigationNode[]>;
8871
8875
  onSearch: (value: string) => Promise<PaginatedList<PageItem>>;
8872
8876
  basePath: string;
8877
+ onPageRedirect?: (id: string) => void;
8873
8878
  className?: string;
8874
8879
  }>;
8875
8880
  }
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.92",
7
+ "version": "0.5.0-preview.94",
8
8
  "dependencies": {}
9
9
  }