@livetiles/reach-plugin-types 0.5.0-preview.995 → 0.5.0-preview.996

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 -5
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -5927,6 +5927,7 @@ declare module "libs/reach/ui/common/src/reach-2/icons/Icons" {
5927
5927
  export { ReactComponent as DocumentActiveIcon } from './assets/document-active.svg';
5928
5928
  export { ReactComponent as DocumentIcon } from './assets/document.svg';
5929
5929
  export { ReactComponent as DoneIcon } from './assets/done.svg';
5930
+ export { default as DragGalleryIcon } from './assets/dragGallery.svg';
5930
5931
  export { ReactComponent as EditActiveIcon } from './assets/edit-active.svg';
5931
5932
  export { ReactComponent as EditIcon } from './assets/edit.svg';
5932
5933
  export { ReactComponent as EmojiActiveIcon } from './assets/emoji-active.svg';
@@ -6467,12 +6468,13 @@ declare module "libs/reach/ui/common/src/reach-2/lists/MenuList" {
6467
6468
  export default _default_1;
6468
6469
  }
6469
6470
  declare module "libs/reach/ui/common/src/reach-2/surfaces/BaseDialog" {
6470
- import { FC, MouseEvent } from 'react';
6471
+ import { MouseEvent } from 'react';
6471
6472
  export enum DialogType {
6472
6473
  normal = 0,
6473
6474
  close = 1
6474
6475
  }
6475
6476
  export interface BaseDialogProps {
6477
+ children?: React.ReactNode;
6476
6478
  className?: string;
6477
6479
  isBlocking?: boolean;
6478
6480
  isOpen?: boolean;
@@ -6482,10 +6484,10 @@ declare module "libs/reach/ui/common/src/reach-2/surfaces/BaseDialog" {
6482
6484
  triggerButton?: HTMLButtonElement | JSX.Element;
6483
6485
  type?: DialogType;
6484
6486
  }
6485
- export const BaseDialog: FC<BaseDialogProps>;
6487
+ export const BaseDialog: import("react").ForwardRefExoticComponent<BaseDialogProps & import("react").RefAttributes<HTMLDivElement>>;
6486
6488
  }
6487
6489
  declare module "libs/reach/ui/common/src/reach-2/surfaces/Dialog" {
6488
- import { FC, MouseEvent } from 'react';
6490
+ import { MouseEvent } from 'react';
6489
6491
  import { BaseDialogProps } from "libs/reach/ui/common/src/reach-2/surfaces/BaseDialog";
6490
6492
  export interface DialogProps extends BaseDialogProps {
6491
6493
  cancelButtonLabel?: string;
@@ -6499,7 +6501,7 @@ declare module "libs/reach/ui/common/src/reach-2/surfaces/Dialog" {
6499
6501
  onSave?: (event?: MouseEvent<HTMLButtonElement>) => void;
6500
6502
  saveButtonLabel?: string;
6501
6503
  }
6502
- export const Dialog: FC<DialogProps>;
6504
+ export const Dialog: import("react").ForwardRefExoticComponent<DialogProps & import("react").RefAttributes<HTMLDivElement>>;
6503
6505
  }
6504
6506
  declare module "libs/reach/ui/common/src/reach-2/surfaces/MobileInlineModal" {
6505
6507
  import { FC, SVGProps } from 'react';
@@ -11684,7 +11686,7 @@ declare module "libs/reach/feature/content/src/reach-2/common/editor/EnhancedRic
11684
11686
  mentionSearchHandler?: (searchText: string) => Promise<Account[]>;
11685
11687
  onAddFiles?: (files?: {
11686
11688
  file: File;
11687
- }[]) => Promise<void>;
11689
+ }[], isDrop?: boolean) => Promise<void>;
11688
11690
  onEditFiles?: (files: {
11689
11691
  caption: string;
11690
11692
  id: string;
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.995",
7
+ "version": "0.5.0-preview.996",
8
8
  "dependencies": {}
9
9
  }