@livetiles/reach-plugin-types 0.5.0-preview.981 → 0.5.0-preview.982

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 +107 -106
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -5887,6 +5887,71 @@ declare module "libs/reach/ui/common/src/reach-2/DateTimeDisplay" {
5887
5887
  }
5888
5888
  export const DateTimeDisplay: FC<Props>;
5889
5889
  }
5890
+ declare module "libs/reach/ui/common/src/reach-2/assets/Assets" {
5891
+ export { ReactComponent as Logo } from './logo.svg';
5892
+ export { ReactComponent as Conversation } from './conversations.svg';
5893
+ export { default as Background } from './background.svg';
5894
+ }
5895
+ declare module "libs/reach/ui/common/src/reach-2/assets/index" {
5896
+ export * from "libs/reach/ui/common/src/reach-2/assets/Assets";
5897
+ }
5898
+ declare module "libs/reach/ui/common/src/reach-2/avatar/Avatar" {
5899
+ import { FC } from 'react';
5900
+ export enum AvatarSize {
5901
+ xxs = 0,
5902
+ xs = 1,
5903
+ sm = 2,
5904
+ md = 3,
5905
+ lg = 4,
5906
+ xl = 5
5907
+ }
5908
+ interface IProps {
5909
+ backgroundColor?: string;
5910
+ className?: string;
5911
+ displayName: string;
5912
+ noInitials?: boolean;
5913
+ size?: AvatarSize;
5914
+ tenantId?: string;
5915
+ userPrincipalName?: string;
5916
+ }
5917
+ const Avatar: FC<IProps>;
5918
+ export default Avatar;
5919
+ }
5920
+ declare module "libs/reach/ui/common/src/reach-2/avatar/GroupAvatar" {
5921
+ import { FC } from 'react';
5922
+ import { AvatarSize } from "libs/reach/ui/common/src/reach-2/avatar/Avatar";
5923
+ export interface AvatarUser {
5924
+ displayName?: string;
5925
+ userPrincipalName?: string;
5926
+ }
5927
+ interface CommentsGroupAvatarProps {
5928
+ avatarsLimit?: number;
5929
+ avatarsSize?: AvatarSize;
5930
+ users: AvatarUser[];
5931
+ }
5932
+ const GroupAvatar: FC<CommentsGroupAvatarProps>;
5933
+ export default GroupAvatar;
5934
+ }
5935
+ declare module "libs/reach/ui/common/src/reach-2/avatar/Persona" {
5936
+ import { FC } from 'react';
5937
+ import { AvatarSize } from "libs/reach/ui/common/src/reach-2/avatar/Avatar";
5938
+ interface IProps {
5939
+ className?: string;
5940
+ displayName: string;
5941
+ size?: AvatarSize.sm | AvatarSize.md | AvatarSize.lg;
5942
+ subtitle?: string | JSX.Element;
5943
+ title: string;
5944
+ userPrincipalName: string;
5945
+ }
5946
+ const Persona: FC<IProps>;
5947
+ export default Persona;
5948
+ }
5949
+ declare module "libs/reach/ui/common/src/reach-2/avatar/index" {
5950
+ export { default as Avatar2, AvatarSize } from "libs/reach/ui/common/src/reach-2/avatar/Avatar";
5951
+ export { default as GroupAvatar2 } from "libs/reach/ui/common/src/reach-2/avatar/GroupAvatar";
5952
+ export type { AvatarUser } from "libs/reach/ui/common/src/reach-2/avatar/GroupAvatar";
5953
+ export { default as Persona } from "libs/reach/ui/common/src/reach-2/avatar/Persona";
5954
+ }
5890
5955
  declare module "libs/reach/ui/common/src/reach-2/icons/Icon" {
5891
5956
  import { FC, SVGProps } from 'react';
5892
5957
  interface IconProps {
@@ -5929,6 +5994,7 @@ declare module "libs/reach/ui/common/src/reach-2/icons/Icons" {
5929
5994
  export { ReactComponent as EditIcon } from './assets/edit.svg';
5930
5995
  export { ReactComponent as EmojiActiveIcon } from './assets/emoji-active.svg';
5931
5996
  export { ReactComponent as EmojiIcon } from './assets/emoji.svg';
5997
+ export { ReactComponent as ErrorIcon } from './assets/error.svg';
5932
5998
  export { ReactComponent as EventsActiveIcon } from './assets/events-active.svg';
5933
5999
  export { ReactComponent as EventsIcon } from './assets/events.svg';
5934
6000
  export { ReactComponent as ExpandArrowsIcon } from './assets/expandArrows.svg';
@@ -6163,63 +6229,6 @@ declare module "libs/reach/ui/common/src/reach-2/buttons/FloatingButton" {
6163
6229
  const FloatingButton: FC<FloatingButtonProps>;
6164
6230
  export default FloatingButton;
6165
6231
  }
6166
- declare module "libs/reach/ui/common/src/reach-2/avatar/Avatar" {
6167
- import { FC } from 'react';
6168
- export enum AvatarSize {
6169
- xxs = 0,
6170
- xs = 1,
6171
- sm = 2,
6172
- md = 3,
6173
- lg = 4,
6174
- xl = 5
6175
- }
6176
- interface IProps {
6177
- backgroundColor?: string;
6178
- className?: string;
6179
- displayName: string;
6180
- noInitials?: boolean;
6181
- size?: AvatarSize;
6182
- tenantId?: string;
6183
- userPrincipalName?: string;
6184
- }
6185
- const Avatar: FC<IProps>;
6186
- export default Avatar;
6187
- }
6188
- declare module "libs/reach/ui/common/src/reach-2/avatar/GroupAvatar" {
6189
- import { FC } from 'react';
6190
- import { AvatarSize } from "libs/reach/ui/common/src/reach-2/avatar/Avatar";
6191
- export interface AvatarUser {
6192
- displayName?: string;
6193
- userPrincipalName?: string;
6194
- }
6195
- interface CommentsGroupAvatarProps {
6196
- avatarsLimit?: number;
6197
- avatarsSize?: AvatarSize;
6198
- users: AvatarUser[];
6199
- }
6200
- const GroupAvatar: FC<CommentsGroupAvatarProps>;
6201
- export default GroupAvatar;
6202
- }
6203
- declare module "libs/reach/ui/common/src/reach-2/avatar/Persona" {
6204
- import { FC } from 'react';
6205
- import { AvatarSize } from "libs/reach/ui/common/src/reach-2/avatar/Avatar";
6206
- interface IProps {
6207
- className?: string;
6208
- displayName: string;
6209
- size?: AvatarSize.sm | AvatarSize.md | AvatarSize.lg;
6210
- subtitle?: string | JSX.Element;
6211
- title: string;
6212
- userPrincipalName: string;
6213
- }
6214
- const Persona: FC<IProps>;
6215
- export default Persona;
6216
- }
6217
- declare module "libs/reach/ui/common/src/reach-2/avatar/index" {
6218
- export { default as Avatar2, AvatarSize } from "libs/reach/ui/common/src/reach-2/avatar/Avatar";
6219
- export { default as GroupAvatar2 } from "libs/reach/ui/common/src/reach-2/avatar/GroupAvatar";
6220
- export type { AvatarUser } from "libs/reach/ui/common/src/reach-2/avatar/GroupAvatar";
6221
- export { default as Persona } from "libs/reach/ui/common/src/reach-2/avatar/Persona";
6222
- }
6223
6232
  declare module "libs/reach/ui/common/src/reach-2/buttons/ProfileButton" {
6224
6233
  import { FC } from 'react';
6225
6234
  import { AvatarSize } from "libs/reach/ui/common/src/reach-2/avatar/index";
@@ -6246,41 +6255,6 @@ declare module "libs/reach/ui/common/src/reach-2/buttons/index" {
6246
6255
  export { default as ProfileButton } from "libs/reach/ui/common/src/reach-2/buttons/ProfileButton";
6247
6256
  export * from "libs/reach/ui/common/src/reach-2/buttons/StandardButton";
6248
6257
  }
6249
- declare module "libs/reach/ui/common/src/reach-2/SearchBox" {
6250
- import { FC } from 'react';
6251
- export type SearchBoxSizeType = 'Large' | 'Small';
6252
- export const SearchBox: FC<{
6253
- autoFocus?: boolean;
6254
- className?: string;
6255
- disabled?: boolean;
6256
- onChange: (value: string) => void;
6257
- placeholder?: string;
6258
- size?: SearchBoxSizeType;
6259
- value: string;
6260
- }>;
6261
- }
6262
- declare module "libs/reach/ui/common/src/reach-2/assets/Assets" {
6263
- export { ReactComponent as Logo } from './logo.svg';
6264
- export { ReactComponent as Conversation } from './conversations.svg';
6265
- export { default as Background } from './background.svg';
6266
- }
6267
- declare module "libs/reach/ui/common/src/reach-2/assets/index" {
6268
- export * from "libs/reach/ui/common/src/reach-2/assets/Assets";
6269
- }
6270
- declare module "libs/reach/ui/common/src/reach-2/inputs/OTPInput" {
6271
- import { FC } from 'react';
6272
- interface IOTPInputProps {
6273
- code: string;
6274
- codeLength: number;
6275
- onChange: (code: string) => void;
6276
- className?: string;
6277
- }
6278
- const OTPInput: FC<IOTPInputProps>;
6279
- export default OTPInput;
6280
- }
6281
- declare module "libs/reach/ui/common/src/reach-2/inputs/index" {
6282
- export { default as OTPInput } from "libs/reach/ui/common/src/reach-2/inputs/OTPInput";
6283
- }
6284
6258
  declare module "libs/reach/ui/common/src/reach-2/typography/Typography" {
6285
6259
  import { ComponentPropsWithoutRef, ElementType, PropsWithChildren } from 'react';
6286
6260
  const variantMapping: {
@@ -6342,6 +6316,44 @@ declare module "libs/reach/ui/common/src/reach-2/typography/Typography" {
6342
6316
  const Typography: <T extends ElementType<any> = "span">(props: TTypographyOverridenProps<T>) => JSX.Element;
6343
6317
  export default Typography;
6344
6318
  }
6319
+ declare module "libs/reach/ui/common/src/reach-2/inputs/Input" {
6320
+ type InputSize = 'Large' | 'Small';
6321
+ export interface IInputProps extends Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, 'onChange' | 'ref' | 'size' | 'value'> {
6322
+ error?: boolean;
6323
+ label?: string;
6324
+ leftIcon?: JSX.Element;
6325
+ legend?: string;
6326
+ onChange: (value: string) => void;
6327
+ readonly?: boolean;
6328
+ rightIcon?: JSX.Element;
6329
+ size?: InputSize;
6330
+ value: string;
6331
+ }
6332
+ const _default: import("react").ForwardRefExoticComponent<IInputProps & import("react").RefAttributes<HTMLInputElement>>;
6333
+ export default _default;
6334
+ }
6335
+ declare module "libs/reach/ui/common/src/reach-2/inputs/SearchInput" {
6336
+ import { FC } from 'react';
6337
+ import { IInputProps } from "libs/reach/ui/common/src/reach-2/inputs/Input";
6338
+ const SearchInput: FC<Omit<IInputProps, 'leftIcon' | 'rightIcon'>>;
6339
+ export default SearchInput;
6340
+ }
6341
+ declare module "libs/reach/ui/common/src/reach-2/inputs/OTPInput" {
6342
+ import { FC } from 'react';
6343
+ interface IOTPInputProps {
6344
+ code: string;
6345
+ codeLength: number;
6346
+ onChange: (code: string) => void;
6347
+ className?: string;
6348
+ }
6349
+ const OTPInput: FC<IOTPInputProps>;
6350
+ export default OTPInput;
6351
+ }
6352
+ declare module "libs/reach/ui/common/src/reach-2/inputs/index" {
6353
+ export { default as Input } from "libs/reach/ui/common/src/reach-2/inputs/Input";
6354
+ export { default as SearchInput } from "libs/reach/ui/common/src/reach-2/inputs/SearchInput";
6355
+ export { default as OTPInput } from "libs/reach/ui/common/src/reach-2/inputs/OTPInput";
6356
+ }
6345
6357
  declare module "libs/reach/ui/common/src/reach-2/lists/MenuItem" {
6346
6358
  import { FC, MouseEvent, SVGProps } from 'react';
6347
6359
  export interface MenuItemProps {
@@ -6548,15 +6560,6 @@ declare module "libs/reach/ui/common/src/reach-2/tags/Tag" {
6548
6560
  const Tag: React.FC<TagProps>;
6549
6561
  export default Tag;
6550
6562
  }
6551
- declare module "libs/reach/ui/common/src/reach-2/TextField" {
6552
- import { FC, InputHTMLAttributes } from 'react';
6553
- export interface ITextFieldProps extends InputHTMLAttributes<HTMLInputElement> {
6554
- label: string;
6555
- errorMessage?: string;
6556
- }
6557
- const TextField: FC<ITextFieldProps>;
6558
- export default TextField;
6559
- }
6560
6563
  declare module "libs/reach/ui/common/src/reach-2/utils" {
6561
6564
  export function getNormalizedPercentageBasedOnDeviceHeight(heightToConvert: number, safeArea?: number, fullyExpandThreshold?: number): number;
6562
6565
  export function useNormalizedBreakpointValuesBasedOnDeviceHeight(heightToConvert: number, safeArea?: number, fullyExpandThreshold?: number): {
@@ -6567,7 +6570,6 @@ declare module "libs/reach/ui/common/src/reach-2/utils" {
6567
6570
  }
6568
6571
  declare module "libs/reach/ui/common/src/reach-2/index" {
6569
6572
  export * from "libs/reach/ui/common/src/reach-2/DateTimeDisplay";
6570
- export * from "libs/reach/ui/common/src/reach-2/SearchBox";
6571
6573
  export * from "libs/reach/ui/common/src/reach-2/assets/index";
6572
6574
  export * from "libs/reach/ui/common/src/reach-2/avatar/index";
6573
6575
  export * from "libs/reach/ui/common/src/reach-2/buttons/index";
@@ -6582,7 +6584,6 @@ declare module "libs/reach/ui/common/src/reach-2/index" {
6582
6584
  export { default as Table } from "libs/reach/ui/common/src/reach-2/table/Table";
6583
6585
  export * from "libs/reach/ui/common/src/reach-2/table/Table";
6584
6586
  export { default as Tag } from "libs/reach/ui/common/src/reach-2/tags/Tag";
6585
- export { default as TextField } from "libs/reach/ui/common/src/reach-2/TextField";
6586
6587
  export { default as Typography } from "libs/reach/ui/common/src/reach-2/typography/Typography";
6587
6588
  export type { ITypographyProps } from "libs/reach/ui/common/src/reach-2/typography/Typography";
6588
6589
  export * from "libs/reach/ui/common/src/reach-2/utils";
@@ -11630,8 +11631,8 @@ declare module "libs/reach/feature/content/src/reach-2/common/editor/EnhancedRic
11630
11631
  shortcuts?: string[];
11631
11632
  useHardBreak?: boolean;
11632
11633
  }
11633
- const _default: import("react").ForwardRefExoticComponent<EnhancedRichTextEditorProps & import("react").RefAttributes<EnhancedRichTextEditorRef>>;
11634
- export default _default;
11634
+ const _default_1: import("react").ForwardRefExoticComponent<EnhancedRichTextEditorProps & import("react").RefAttributes<EnhancedRichTextEditorRef>>;
11635
+ export default _default_1;
11635
11636
  }
11636
11637
  declare module "libs/reach/feature/content/src/reach-2/common/editor/common/EmojiPicker" {
11637
11638
  import { FC } from 'react';
@@ -11654,11 +11655,11 @@ declare module "libs/reach/feature/content/src/reach-2/common/editor/editors/Men
11654
11655
  import { Account } from "libs/reach/util/common/src/index";
11655
11656
  export const MentionsEditor: FC<{
11656
11657
  mentionSearchHandler: (searchText: string) => Promise<Account[]>;
11658
+ onCloseOverlay: () => void;
11657
11659
  onMentionSelect: (mention: {
11658
11660
  id: string;
11659
11661
  label: string;
11660
11662
  }) => void;
11661
- onCloseOverlay: () => void;
11662
11663
  }>;
11663
11664
  }
11664
11665
  declare module "libs/reach/feature/content/src/reach-2/comments/CommentEditorOverlay" {
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.981",
7
+ "version": "0.5.0-preview.982",
8
8
  "dependencies": {}
9
9
  }