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

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 +129 -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,66 @@ 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/components/Legend" {
6320
+ import { FC } from 'react';
6321
+ const Legend: FC<{
6322
+ error?: boolean;
6323
+ value?: string;
6324
+ }>;
6325
+ export default Legend;
6326
+ }
6327
+ declare module "libs/reach/ui/common/src/reach-2/inputs/Input" {
6328
+ type InputSize = 'Large' | 'Small';
6329
+ export interface IInputProps extends Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, 'onChange' | 'ref' | 'size' | 'value'> {
6330
+ error?: boolean;
6331
+ label?: string;
6332
+ leftIcon?: JSX.Element;
6333
+ legend?: string;
6334
+ onChange?: (value: string) => void;
6335
+ readonly?: boolean;
6336
+ rightIcon?: JSX.Element;
6337
+ size?: InputSize;
6338
+ value: string;
6339
+ }
6340
+ const _default: import("react").ForwardRefExoticComponent<IInputProps & import("react").RefAttributes<HTMLInputElement>>;
6341
+ export default _default;
6342
+ }
6343
+ declare module "libs/reach/ui/common/src/reach-2/inputs/OTPInput" {
6344
+ import { FC } from 'react';
6345
+ interface IOTPInputProps {
6346
+ code: string;
6347
+ codeLength: number;
6348
+ onChange: (code: string) => void;
6349
+ className?: string;
6350
+ }
6351
+ const OTPInput: FC<IOTPInputProps>;
6352
+ export default OTPInput;
6353
+ }
6354
+ declare module "libs/reach/ui/common/src/reach-2/inputs/SearchInput" {
6355
+ import { FC } from 'react';
6356
+ import { IInputProps } from "libs/reach/ui/common/src/reach-2/inputs/Input";
6357
+ const SearchInput: FC<Omit<IInputProps, 'leftIcon' | 'rightIcon'>>;
6358
+ export default SearchInput;
6359
+ }
6360
+ declare module "libs/reach/ui/common/src/reach-2/inputs/Textarea" {
6361
+ import { FC } from 'react';
6362
+ export interface IInputProps extends Omit<React.DetailedHTMLProps<React.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, 'onChange' | 'ref' | 'value'> {
6363
+ error?: boolean;
6364
+ label?: string;
6365
+ legend?: string;
6366
+ onChange?: (value: string) => void;
6367
+ readonly?: boolean;
6368
+ value: string;
6369
+ }
6370
+ const Textarea: FC<IInputProps>;
6371
+ export default Textarea;
6372
+ }
6373
+ declare module "libs/reach/ui/common/src/reach-2/inputs/index" {
6374
+ export { default as Input } from "libs/reach/ui/common/src/reach-2/inputs/Input";
6375
+ export { default as OTPInput } from "libs/reach/ui/common/src/reach-2/inputs/OTPInput";
6376
+ export { default as SearchInput } from "libs/reach/ui/common/src/reach-2/inputs/SearchInput";
6377
+ export { default as Textarea } from "libs/reach/ui/common/src/reach-2/inputs/Textarea";
6378
+ }
6345
6379
  declare module "libs/reach/ui/common/src/reach-2/lists/MenuItem" {
6346
6380
  import { FC, MouseEvent, SVGProps } from 'react';
6347
6381
  export interface MenuItemProps {
@@ -6548,15 +6582,6 @@ declare module "libs/reach/ui/common/src/reach-2/tags/Tag" {
6548
6582
  const Tag: React.FC<TagProps>;
6549
6583
  export default Tag;
6550
6584
  }
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
6585
  declare module "libs/reach/ui/common/src/reach-2/utils" {
6561
6586
  export function getNormalizedPercentageBasedOnDeviceHeight(heightToConvert: number, safeArea?: number, fullyExpandThreshold?: number): number;
6562
6587
  export function useNormalizedBreakpointValuesBasedOnDeviceHeight(heightToConvert: number, safeArea?: number, fullyExpandThreshold?: number): {
@@ -6567,7 +6592,6 @@ declare module "libs/reach/ui/common/src/reach-2/utils" {
6567
6592
  }
6568
6593
  declare module "libs/reach/ui/common/src/reach-2/index" {
6569
6594
  export * from "libs/reach/ui/common/src/reach-2/DateTimeDisplay";
6570
- export * from "libs/reach/ui/common/src/reach-2/SearchBox";
6571
6595
  export * from "libs/reach/ui/common/src/reach-2/assets/index";
6572
6596
  export * from "libs/reach/ui/common/src/reach-2/avatar/index";
6573
6597
  export * from "libs/reach/ui/common/src/reach-2/buttons/index";
@@ -6582,7 +6606,6 @@ declare module "libs/reach/ui/common/src/reach-2/index" {
6582
6606
  export { default as Table } from "libs/reach/ui/common/src/reach-2/table/Table";
6583
6607
  export * from "libs/reach/ui/common/src/reach-2/table/Table";
6584
6608
  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
6609
  export { default as Typography } from "libs/reach/ui/common/src/reach-2/typography/Typography";
6587
6610
  export type { ITypographyProps } from "libs/reach/ui/common/src/reach-2/typography/Typography";
6588
6611
  export * from "libs/reach/ui/common/src/reach-2/utils";
@@ -11630,8 +11653,8 @@ declare module "libs/reach/feature/content/src/reach-2/common/editor/EnhancedRic
11630
11653
  shortcuts?: string[];
11631
11654
  useHardBreak?: boolean;
11632
11655
  }
11633
- const _default: import("react").ForwardRefExoticComponent<EnhancedRichTextEditorProps & import("react").RefAttributes<EnhancedRichTextEditorRef>>;
11634
- export default _default;
11656
+ const _default_1: import("react").ForwardRefExoticComponent<EnhancedRichTextEditorProps & import("react").RefAttributes<EnhancedRichTextEditorRef>>;
11657
+ export default _default_1;
11635
11658
  }
11636
11659
  declare module "libs/reach/feature/content/src/reach-2/common/editor/common/EmojiPicker" {
11637
11660
  import { FC } from 'react';
@@ -11654,11 +11677,11 @@ declare module "libs/reach/feature/content/src/reach-2/common/editor/editors/Men
11654
11677
  import { Account } from "libs/reach/util/common/src/index";
11655
11678
  export const MentionsEditor: FC<{
11656
11679
  mentionSearchHandler: (searchText: string) => Promise<Account[]>;
11680
+ onCloseOverlay: () => void;
11657
11681
  onMentionSelect: (mention: {
11658
11682
  id: string;
11659
11683
  label: string;
11660
11684
  }) => void;
11661
- onCloseOverlay: () => void;
11662
11685
  }>;
11663
11686
  }
11664
11687
  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.983",
8
8
  "dependencies": {}
9
9
  }