@livetiles/reach-plugin-types 0.5.0-preview.470 → 0.5.0-preview.472
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.
- package/lib/index.d.ts +31 -5
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -5596,6 +5596,7 @@ declare module "libs/reach/ui/common/src/reach-2/icons/Icons" {
|
|
|
5596
5596
|
export { ReactComponent as AddIcon } from './assets/add.svg';
|
|
5597
5597
|
export { ReactComponent as MenuIcon } from './assets/menu.svg';
|
|
5598
5598
|
export { ReactComponent as MessagingIcon } from './assets/messaging.svg';
|
|
5599
|
+
export { ReactComponent as BackIcon } from './assets/back.svg';
|
|
5599
5600
|
}
|
|
5600
5601
|
declare module "libs/reach/ui/common/src/reach-2/icons/index" {
|
|
5601
5602
|
export * from "libs/reach/ui/common/src/reach-2/icons/Icons";
|
|
@@ -5625,13 +5626,37 @@ declare module "libs/reach/ui/common/src/reach-2/ModalBottomSheet" {
|
|
|
5625
5626
|
}
|
|
5626
5627
|
export const ModalBottomSheet: import("react").ForwardRefExoticComponent<ModalBottomSheetProps & import("react").RefAttributes<HTMLIonModalElement>>;
|
|
5627
5628
|
}
|
|
5629
|
+
declare module "libs/reach/ui/common/src/reach-2/RadixDialog" {
|
|
5630
|
+
import { FC, MouseEvent } from 'react';
|
|
5631
|
+
export enum DialogType {
|
|
5632
|
+
normal = 0,
|
|
5633
|
+
close = 1
|
|
5634
|
+
}
|
|
5635
|
+
export interface RadixDialogProps {
|
|
5636
|
+
triggerButton: HTMLButtonElement | JSX.Element;
|
|
5637
|
+
isOpen?: boolean;
|
|
5638
|
+
title?: string | JSX.Element;
|
|
5639
|
+
type?: DialogType;
|
|
5640
|
+
isBlocking?: boolean;
|
|
5641
|
+
hideCancelButton?: boolean;
|
|
5642
|
+
onDismiss?: (event?: MouseEvent<HTMLButtonElement>) => any;
|
|
5643
|
+
onSave?: (event?: MouseEvent<HTMLButtonElement>) => any;
|
|
5644
|
+
disableSave?: boolean;
|
|
5645
|
+
saveButtonLabel?: string;
|
|
5646
|
+
canceButtonLabel?: string;
|
|
5647
|
+
minWidth?: number;
|
|
5648
|
+
maxWidth?: number;
|
|
5649
|
+
}
|
|
5650
|
+
export const RadixDialog: FC<RadixDialogProps>;
|
|
5651
|
+
}
|
|
5628
5652
|
declare module "libs/reach/ui/common/src/reach-2/Modal" {
|
|
5629
|
-
import { IDialogProps } from 'office-ui-fabric-react';
|
|
5630
5653
|
import { FC } from 'react';
|
|
5631
5654
|
import { ModalBottomSheetProps } from "libs/reach/ui/common/src/reach-2/ModalBottomSheet";
|
|
5632
|
-
|
|
5655
|
+
import { RadixDialogProps } from "libs/reach/ui/common/src/reach-2/RadixDialog";
|
|
5656
|
+
interface ModalProps extends RadixDialogProps, Omit<ModalBottomSheetProps, 'children'> {
|
|
5633
5657
|
onDismiss: () => void;
|
|
5634
5658
|
ref?: any;
|
|
5659
|
+
triggerButton: HTMLButtonElement | JSX.Element;
|
|
5635
5660
|
}
|
|
5636
5661
|
export const Modal: FC<ModalProps>;
|
|
5637
5662
|
}
|
|
@@ -5649,6 +5674,7 @@ declare module "libs/reach/ui/common/src/reach-2/index" {
|
|
|
5649
5674
|
export * from "libs/reach/ui/common/src/reach-2/Modal";
|
|
5650
5675
|
export * from "libs/reach/ui/common/src/reach-2/utils";
|
|
5651
5676
|
export * from "libs/reach/ui/common/src/reach-2/ModalBottomSheetWithStackedChildren";
|
|
5677
|
+
export * from "libs/reach/ui/common/src/reach-2/RadixDialog";
|
|
5652
5678
|
}
|
|
5653
5679
|
declare module "libs/reach/ui/common/src/index" {
|
|
5654
5680
|
export * from "libs/reach/ui/common/src/Dialog";
|
|
@@ -10484,9 +10510,9 @@ declare module "libs/reach/feature/content/src/reach-2/buttons/feedback/index" {
|
|
|
10484
10510
|
export * from "libs/reach/feature/content/src/reach-2/buttons/feedback/ShareButtonWithCallout";
|
|
10485
10511
|
export * from "libs/reach/feature/content/src/reach-2/buttons/feedback/ContextMenuButton";
|
|
10486
10512
|
}
|
|
10487
|
-
declare module "libs/reach/feature/content/src/reach-2/buttons/
|
|
10513
|
+
declare module "libs/reach/feature/content/src/reach-2/buttons/BackButton" {
|
|
10488
10514
|
import { FC } from 'react';
|
|
10489
|
-
export const
|
|
10515
|
+
export const BackButton: FC<{
|
|
10490
10516
|
navigateTo?: string;
|
|
10491
10517
|
onBeforeClose?: () => void;
|
|
10492
10518
|
className?: string;
|
|
@@ -10494,7 +10520,7 @@ declare module "libs/reach/feature/content/src/reach-2/buttons/CloseButton" {
|
|
|
10494
10520
|
}
|
|
10495
10521
|
declare module "libs/reach/feature/content/src/reach-2/buttons/index" {
|
|
10496
10522
|
export * from "libs/reach/feature/content/src/reach-2/buttons/feedback/index";
|
|
10497
|
-
export * from "libs/reach/feature/content/src/reach-2/buttons/
|
|
10523
|
+
export * from "libs/reach/feature/content/src/reach-2/buttons/BackButton";
|
|
10498
10524
|
}
|
|
10499
10525
|
declare module "libs/reach/feature/content/src/reach-2/common/detail/header/HeaderMetadata" {
|
|
10500
10526
|
import { FC } from 'react';
|