@livetiles/reach-plugin-types 0.5.0-preview.904 → 0.5.0-preview.906
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 +37 -32
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -5320,24 +5320,10 @@ declare module "libs/reach/ui/common/src/reach-2/avatar/Avatar" {
|
|
|
5320
5320
|
const Avatar: FC<IProps>;
|
|
5321
5321
|
export default Avatar;
|
|
5322
5322
|
}
|
|
5323
|
-
declare module "libs/reach/ui/common/src/reach-2/avatar/Persona" {
|
|
5324
|
-
import { FC } from 'react';
|
|
5325
|
-
import { AvatarSize } from "libs/reach/ui/common/src/reach-2/avatar/Avatar";
|
|
5326
|
-
interface IProps {
|
|
5327
|
-
className?: string;
|
|
5328
|
-
displayName: string;
|
|
5329
|
-
size?: AvatarSize.sm | AvatarSize.md | AvatarSize.lg;
|
|
5330
|
-
subtitle?: string | JSX.Element;
|
|
5331
|
-
title: string;
|
|
5332
|
-
userPrincipalName: string;
|
|
5333
|
-
}
|
|
5334
|
-
const Persona: FC<IProps>;
|
|
5335
|
-
export default Persona;
|
|
5336
|
-
}
|
|
5337
5323
|
declare module "libs/reach/ui/common/src/reach-2/avatar/GroupAvatar" {
|
|
5338
5324
|
import { FC } from 'react';
|
|
5339
5325
|
import { AvatarSize } from "libs/reach/ui/common/src/reach-2/avatar/Avatar";
|
|
5340
|
-
interface AvatarUser {
|
|
5326
|
+
export interface AvatarUser {
|
|
5341
5327
|
displayName?: string;
|
|
5342
5328
|
userPrincipalName?: string;
|
|
5343
5329
|
}
|
|
@@ -5348,13 +5334,26 @@ declare module "libs/reach/ui/common/src/reach-2/avatar/GroupAvatar" {
|
|
|
5348
5334
|
}
|
|
5349
5335
|
const GroupAvatar: FC<CommentsGroupAvatarProps>;
|
|
5350
5336
|
export default GroupAvatar;
|
|
5351
|
-
|
|
5337
|
+
}
|
|
5338
|
+
declare module "libs/reach/ui/common/src/reach-2/avatar/Persona" {
|
|
5339
|
+
import { FC } from 'react';
|
|
5340
|
+
import { AvatarSize } from "libs/reach/ui/common/src/reach-2/avatar/Avatar";
|
|
5341
|
+
interface IProps {
|
|
5342
|
+
className?: string;
|
|
5343
|
+
displayName: string;
|
|
5344
|
+
size?: AvatarSize.sm | AvatarSize.md | AvatarSize.lg;
|
|
5345
|
+
subtitle?: string | JSX.Element;
|
|
5346
|
+
title: string;
|
|
5347
|
+
userPrincipalName: string;
|
|
5348
|
+
}
|
|
5349
|
+
const Persona: FC<IProps>;
|
|
5350
|
+
export default Persona;
|
|
5352
5351
|
}
|
|
5353
5352
|
declare module "libs/reach/ui/common/src/reach-2/avatar/index" {
|
|
5354
5353
|
export { default as Avatar2, AvatarSize } from "libs/reach/ui/common/src/reach-2/avatar/Avatar";
|
|
5355
|
-
export { default as Persona } from "libs/reach/ui/common/src/reach-2/avatar/Persona";
|
|
5356
5354
|
export { default as GroupAvatar2 } from "libs/reach/ui/common/src/reach-2/avatar/GroupAvatar";
|
|
5357
5355
|
export type { AvatarUser } from "libs/reach/ui/common/src/reach-2/avatar/GroupAvatar";
|
|
5356
|
+
export { default as Persona } from "libs/reach/ui/common/src/reach-2/avatar/Persona";
|
|
5358
5357
|
}
|
|
5359
5358
|
declare module "libs/reach/ui/common/src/reach-2/progress/Skeleton" {
|
|
5360
5359
|
import { FC } from 'react';
|
|
@@ -5776,15 +5775,15 @@ declare module "libs/reach/ui/common/src/reach-2/surfaces/ConfirmationDialog" {
|
|
|
5776
5775
|
declare module "libs/reach/ui/common/src/reach-2/surfaces/BasePopover" {
|
|
5777
5776
|
import { FC } from 'react';
|
|
5778
5777
|
export interface BasePopoverProps {
|
|
5779
|
-
isOpen?: boolean;
|
|
5780
|
-
onOpenChange?: (open: boolean) => void;
|
|
5781
|
-
trigger?: JSX.Element;
|
|
5782
|
-
anchor?: JSX.Element;
|
|
5783
|
-
className?: string;
|
|
5784
5778
|
align?: 'start' | 'center' | 'end';
|
|
5785
5779
|
alignOffset?: number;
|
|
5780
|
+
anchor?: JSX.Element;
|
|
5781
|
+
className?: string;
|
|
5782
|
+
isOpen?: boolean;
|
|
5783
|
+
onOpenChange?: (open: boolean) => void;
|
|
5786
5784
|
side?: 'top' | 'left' | 'bottom' | 'right';
|
|
5787
5785
|
sideOffset?: number;
|
|
5786
|
+
trigger?: JSX.Element;
|
|
5788
5787
|
}
|
|
5789
5788
|
export const BasePopover: FC<BasePopoverProps>;
|
|
5790
5789
|
}
|
|
@@ -10865,7 +10864,7 @@ declare module "libs/reach/feature/content/src/reach-2/common/editor/EnhancedRic
|
|
|
10865
10864
|
onCreate?: (editor: Editor) => void;
|
|
10866
10865
|
onFocus?: (editor: Editor) => void;
|
|
10867
10866
|
onShortcut?: (shortcut: string) => void;
|
|
10868
|
-
onUpdate?: (content: EnhancedRichTextEditorContent) => void;
|
|
10867
|
+
onUpdate?: (content: EnhancedRichTextEditorContent | null) => void;
|
|
10869
10868
|
onTransaction?: (editor: Editor) => void;
|
|
10870
10869
|
placeholder?: string;
|
|
10871
10870
|
shortcuts?: string[];
|
|
@@ -12068,6 +12067,10 @@ declare module "libs/shared/util/capacitor/src/mocks/MockBrowserPlugin" {
|
|
|
12068
12067
|
import { BrowserPlugin } from '@capacitor/browser';
|
|
12069
12068
|
export const mockBrowserPlugin: BrowserPlugin;
|
|
12070
12069
|
}
|
|
12070
|
+
declare module "libs/shared/util/capacitor/src/mocks/MockCameraPlugin" {
|
|
12071
|
+
import { CameraPlugin } from '@capacitor/camera';
|
|
12072
|
+
export const mockCameraPlugin: CameraPlugin;
|
|
12073
|
+
}
|
|
12071
12074
|
declare module "libs/shared/util/capacitor/src/mocks/MockKeyboardPlugin" {
|
|
12072
12075
|
import { KeyboardPlugin } from '@capacitor/keyboard';
|
|
12073
12076
|
export const mockKeyboardPlugin: KeyboardPlugin;
|
|
@@ -12140,6 +12143,7 @@ declare module "libs/shared/util/capacitor/src/WebStorage" {
|
|
|
12140
12143
|
declare module "libs/shared/util/capacitor/src/PluginLoader" {
|
|
12141
12144
|
import { AppPlugin } from '@capacitor/app';
|
|
12142
12145
|
import { BrowserPlugin } from '@capacitor/browser';
|
|
12146
|
+
import { CameraPlugin } from '@capacitor/camera';
|
|
12143
12147
|
import { DevicePlugin } from '@capacitor/device';
|
|
12144
12148
|
import { KeyboardPlugin } from '@capacitor/keyboard';
|
|
12145
12149
|
import { NetworkPlugin } from '@capacitor/network';
|
|
@@ -12153,19 +12157,20 @@ declare module "libs/shared/util/capacitor/src/PluginLoader" {
|
|
|
12153
12157
|
import { PushClientPlugin } from "libs/shared/util/capacitor-plugins/push-client/src/index";
|
|
12154
12158
|
import { EnvironmentConfig } from "libs/shared/util/environment/src/index";
|
|
12155
12159
|
export interface CondensePluginRegistry {
|
|
12156
|
-
Storage: PreferencesPlugin;
|
|
12157
|
-
Device: DevicePlugin;
|
|
12158
12160
|
App: AppPlugin;
|
|
12159
|
-
Keyboard: KeyboardPlugin;
|
|
12160
|
-
StatusBar: StatusBarPlugin;
|
|
12161
|
-
Share: SharePlugin;
|
|
12162
|
-
SplashScreen: SplashScreenPlugin;
|
|
12163
|
-
Network: NetworkPlugin;
|
|
12164
|
-
PushClient?: PushClientPlugin;
|
|
12165
12161
|
AppInfo?: AppInfoPlugin;
|
|
12162
|
+
Browser: BrowserPlugin;
|
|
12163
|
+
Camera: CameraPlugin;
|
|
12164
|
+
Device: DevicePlugin;
|
|
12165
|
+
Keyboard: KeyboardPlugin;
|
|
12166
12166
|
MsalClient?: MsalClientPlugin;
|
|
12167
|
+
Network: NetworkPlugin;
|
|
12167
12168
|
OpenIdClient?: OpenIdClientPlugin;
|
|
12168
|
-
|
|
12169
|
+
PushClient?: PushClientPlugin;
|
|
12170
|
+
Share: SharePlugin;
|
|
12171
|
+
SplashScreen: SplashScreenPlugin;
|
|
12172
|
+
StatusBar: StatusBarPlugin;
|
|
12173
|
+
Storage: PreferencesPlugin;
|
|
12169
12174
|
}
|
|
12170
12175
|
let Plugins: CondensePluginRegistry;
|
|
12171
12176
|
export { Plugins };
|