@livetiles/reach-plugin-types 0.4.0-preview.158 → 0.4.0-preview.161

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 +7 -8
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -5945,12 +5945,11 @@ declare module "apps/reach-app/src/app/chrome/SidebarItemSection" {
5945
5945
  }>;
5946
5946
  }
5947
5947
  declare module "apps/reach-app/src/app/chrome/SidebarItem" {
5948
- import * as H from 'history';
5948
+ import { FC, ReactNode } from 'react';
5949
+ import { PrimitiveType } from 'intl-messageformat';
5949
5950
  import './SidebarItem.scss';
5950
5951
  import { StyleDefinition } from "apps/reach-app/src/app/chrome/SidebarItemSection";
5951
5952
  import { LocationDescriptor } from 'history';
5952
- import { PrimitiveType } from 'intl-messageformat';
5953
- import { ReactNode } from 'react';
5954
5953
  interface CommonSidebarItemProps {
5955
5954
  title?: any;
5956
5955
  titleResource?: string;
@@ -5983,13 +5982,13 @@ declare module "apps/reach-app/src/app/chrome/SidebarItem" {
5983
5982
  secondaryIconRoute?: LocationDescriptor;
5984
5983
  isHoverable?: boolean;
5985
5984
  }
5986
- export const SidebarItem: React.FC<SidebarItemProps>;
5985
+ export const SidebarItem: FC<SidebarItemProps>;
5987
5986
  interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
5988
- route: H.LocationDescriptor;
5987
+ route: LocationDescriptor;
5989
5988
  exact?: boolean;
5990
5989
  linkClassName?: string;
5991
5990
  }
5992
- export const NavLinkSidebarItem: React.FC<NavLinkSidebarItemProps>;
5991
+ export const NavLinkSidebarItem: FC<NavLinkSidebarItemProps>;
5993
5992
  }
5994
5993
  declare module "apps/reach-app/src/error/NotFoundPage" {
5995
5994
  import { WrappedComponentProps } from 'react-intl';
@@ -9845,7 +9844,7 @@ declare module "apps/reach-app/src/app/admin/AdminRoutes" {
9845
9844
  import { FC } from 'react';
9846
9845
  export const AdminActionItem: FC<{
9847
9846
  submenuContents: JSX.Element;
9848
- onClick: () => unknown;
9847
+ onClick?: () => unknown;
9849
9848
  title?: string;
9850
9849
  }>;
9851
9850
  const AdminRoutes: FC;
@@ -9859,7 +9858,7 @@ declare module "apps/reach-app/src/app/chrome/ChatMenuNode" {
9859
9858
  import { FC } from 'react';
9860
9859
  export const ChatMenuNode: FC<{
9861
9860
  title: string;
9862
- onClick: () => void;
9861
+ onClick?: () => void;
9863
9862
  }>;
9864
9863
  }
9865
9864
  declare module "apps/reach-app/src/app/chrome/Sidebar" {
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.0-preview.158",
7
+ "version": "0.4.0-preview.161",
8
8
  "dependencies": {}
9
9
  }