@livetiles/reach-plugin-types 0.5.0-preview.442 → 0.5.0-preview.444

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 +10 -6
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -5538,6 +5538,7 @@ declare module "libs/reach/ui/common/src/reach-2/Icon" {
5538
5538
  }
5539
5539
  export const IconNavLink: FC<IconProps & {
5540
5540
  to: string;
5541
+ onClick?: (e: MouseEvent<any>) => void;
5541
5542
  }>;
5542
5543
  export const IconActionButton: FC<IconProps & {
5543
5544
  onClick: (event: MouseEvent<any>) => void;
@@ -5598,18 +5599,21 @@ declare module "libs/reach/ui/common/src/reach-2/icons/index" {
5598
5599
  }
5599
5600
  declare module "libs/reach/ui/common/src/reach-2/ModalBottomSheet" {
5600
5601
  import { FC } from 'react';
5601
- export const ModalBottomSheet: FC<{
5602
- isOpen: boolean;
5603
- onDidDismiss: () => void;
5602
+ export interface ModalBottomSheetProps {
5603
+ isOpen?: boolean;
5604
+ onDismiss: () => void;
5604
5605
  initialBreakpoint?: number;
5605
5606
  breakpoints?: number[];
5606
- }>;
5607
+ className?: string;
5608
+ }
5609
+ export const ModalBottomSheet: FC<ModalBottomSheetProps>;
5607
5610
  }
5608
5611
  declare module "libs/reach/ui/common/src/reach-2/Modal" {
5609
5612
  import { IDialogProps } from 'office-ui-fabric-react';
5610
5613
  import { FC } from 'react';
5611
- interface ModalProps extends IDialogProps {
5612
- onDidDismiss: () => void;
5614
+ import { ModalBottomSheetProps } from "libs/reach/ui/common/src/reach-2/ModalBottomSheet";
5615
+ interface ModalProps extends IDialogProps, ModalBottomSheetProps {
5616
+ onDismiss: () => void;
5613
5617
  }
5614
5618
  export const Modal: FC<ModalProps>;
5615
5619
  }
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.442",
7
+ "version": "0.5.0-preview.444",
8
8
  "dependencies": {}
9
9
  }