@livetiles/reach-plugin-types 0.5.0-preview.452 → 0.5.0-preview.454

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 +4 -4
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -5541,6 +5541,7 @@ declare module "libs/reach/ui/common/src/reach-2/Icon" {
5541
5541
  }
5542
5542
  export const IconNavLink: FC<IconProps & {
5543
5543
  to: string;
5544
+ onClick?: (e: MouseEvent<HTMLAnchorElement>) => void;
5544
5545
  }>;
5545
5546
  export const IconActionButton: FC<IconProps & {
5546
5547
  onClick: (event: MouseEvent<any>) => void;
@@ -5602,13 +5603,12 @@ declare module "libs/reach/ui/common/src/reach-2/icons/index" {
5602
5603
  declare module "libs/reach/ui/common/src/reach-2/ModalBottomSheetWithStackedChildren" {
5603
5604
  import { FC, ReactNode } from 'react';
5604
5605
  export interface ModalBottomSheetWithStackedChildrenProps {
5605
- addNewLayer: (component: ReactNode, onDismiss: () => void, initialBreakpoint?: number) => void;
5606
+ addNewLayer: (children: (closeCurrentLayer: () => void) => ReactNode, onDismiss: (() => void) | undefined, initialBreakpoint: number) => void;
5606
5607
  closeCurrentLayer: () => void;
5607
5608
  closeAllLayers: () => void;
5608
5609
  }
5609
5610
  export const StackedChildrenContext: import("react").Context<ModalBottomSheetWithStackedChildrenProps>;
5610
5611
  export const ModalBottomSheetWithStackedChildren: FC<{
5611
- initialBreakpoint?: number;
5612
5612
  className?: string;
5613
5613
  }>;
5614
5614
  }
@@ -5616,8 +5616,8 @@ declare module "libs/reach/ui/common/src/reach-2/ModalBottomSheet" {
5616
5616
  import { ReactNode } from 'react';
5617
5617
  export interface ModalBottomSheetProps {
5618
5618
  isOpen?: boolean;
5619
- onDismiss: () => void;
5620
- initialBreakpoint?: number;
5619
+ onDismiss?: () => void;
5620
+ initialBreakpoint: number;
5621
5621
  breakpoints?: number[];
5622
5622
  neverStackChildren?: boolean;
5623
5623
  children?: (closeCurrentLayer: () => void) => ReactNode;
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.452",
7
+ "version": "0.5.0-preview.454",
8
8
  "dependencies": {}
9
9
  }