@livetiles/reach-plugin-types 0.5.0-preview.961 → 0.5.0-preview.962

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 +130 -108
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -5876,70 +5876,34 @@ declare module "libs/reach/ui/common/src/ColorEditor" {
5876
5876
  className?: string;
5877
5877
  }>;
5878
5878
  }
5879
- declare module "libs/reach/ui/common/src/reach-2/assets/Assets" {
5880
- export { ReactComponent as Logo } from './logo.svg';
5881
- export { ReactComponent as Conversation } from './conversations.svg';
5882
- export { default as Background } from './background.svg';
5883
- }
5884
- declare module "libs/reach/ui/common/src/reach-2/assets/index" {
5885
- export * from "libs/reach/ui/common/src/reach-2/assets/Assets";
5886
- }
5887
- declare module "libs/reach/ui/common/src/reach-2/avatar/Avatar" {
5879
+ declare module "libs/reach/ui/common/src/reach-2/DateTimeDisplay" {
5888
5880
  import { FC } from 'react';
5889
- export enum AvatarSize {
5890
- xxs = 0,
5891
- xs = 1,
5892
- sm = 2,
5893
- md = 3,
5894
- lg = 4,
5895
- xl = 5
5896
- }
5897
- interface IProps {
5898
- backgroundColor?: string;
5881
+ interface Props {
5882
+ value: string;
5883
+ showWeekDay?: boolean;
5884
+ showAsRelative?: boolean;
5885
+ showAsAbsolute?: boolean;
5899
5886
  className?: string;
5900
- displayName: string;
5901
- noInitials?: boolean;
5902
- size?: AvatarSize;
5903
- tenantId?: string;
5904
- userPrincipalName?: string;
5905
5887
  }
5906
- const Avatar: FC<IProps>;
5907
- export default Avatar;
5888
+ export const DateTimeDisplay: FC<Props>;
5908
5889
  }
5909
- declare module "libs/reach/ui/common/src/reach-2/avatar/GroupAvatar" {
5910
- import { FC } from 'react';
5911
- import { AvatarSize } from "libs/reach/ui/common/src/reach-2/avatar/Avatar";
5912
- export interface AvatarUser {
5913
- displayName?: string;
5914
- userPrincipalName?: string;
5915
- }
5916
- interface CommentsGroupAvatarProps {
5917
- avatarsLimit?: number;
5918
- avatarsSize?: AvatarSize;
5919
- users: AvatarUser[];
5890
+ declare module "libs/reach/ui/common/src/reach-2/Icon" {
5891
+ import { FC, SVGProps } from 'react';
5892
+ export enum IconLabelDirection {
5893
+ Row = "row",
5894
+ Column = "column"
5920
5895
  }
5921
- const GroupAvatar: FC<CommentsGroupAvatarProps>;
5922
- export default GroupAvatar;
5923
- }
5924
- declare module "libs/reach/ui/common/src/reach-2/avatar/Persona" {
5925
- import { FC } from 'react';
5926
- import { AvatarSize } from "libs/reach/ui/common/src/reach-2/avatar/Avatar";
5927
- interface IProps {
5896
+ export interface IconProps {
5897
+ defaultSVG: SVGProps<SVGElement>;
5898
+ hoveredSVG?: SVGProps<SVGElement>;
5899
+ label?: string | number;
5900
+ labelDirection?: IconLabelDirection;
5901
+ labelGap?: number;
5902
+ reverseIcon?: boolean;
5903
+ size?: number;
5928
5904
  className?: string;
5929
- displayName: string;
5930
- size?: AvatarSize.sm | AvatarSize.md | AvatarSize.lg;
5931
- subtitle?: string | JSX.Element;
5932
- title: string;
5933
- userPrincipalName: string;
5934
5905
  }
5935
- const Persona: FC<IProps>;
5936
- export default Persona;
5937
- }
5938
- declare module "libs/reach/ui/common/src/reach-2/avatar/index" {
5939
- export { default as Avatar2, AvatarSize } from "libs/reach/ui/common/src/reach-2/avatar/Avatar";
5940
- export { default as GroupAvatar2 } from "libs/reach/ui/common/src/reach-2/avatar/GroupAvatar";
5941
- export type { AvatarUser } from "libs/reach/ui/common/src/reach-2/avatar/GroupAvatar";
5942
- export { default as Persona } from "libs/reach/ui/common/src/reach-2/avatar/Persona";
5906
+ export const Icon: FC<IconProps>;
5943
5907
  }
5944
5908
  declare module "libs/reach/ui/common/src/reach-2/icons/Icons" {
5945
5909
  export { ReactComponent as AddActiveIcon } from './assets/add-active.svg';
@@ -5967,6 +5931,7 @@ declare module "libs/reach/ui/common/src/reach-2/icons/Icons" {
5967
5931
  export { ReactComponent as DashboardIcon } from './assets/dashboard.svg';
5968
5932
  export { ReactComponent as DocumentActiveIcon } from './assets/document-active.svg';
5969
5933
  export { ReactComponent as DocumentIcon } from './assets/document.svg';
5934
+ export { ReactComponent as DoneIcon } from './assets/done.svg';
5970
5935
  export { ReactComponent as EditActiveIcon } from './assets/edit-active.svg';
5971
5936
  export { ReactComponent as EditIcon } from './assets/edit.svg';
5972
5937
  export { ReactComponent as EmojiActiveIcon } from './assets/emoji-active.svg';
@@ -6039,24 +6004,6 @@ declare module "libs/reach/ui/common/src/reach-2/icons/Icons" {
6039
6004
  export { ReactComponent as UploadIcon } from './assets/upload.svg';
6040
6005
  export { ReactComponent as WindowsIcon } from './assets/windows.svg';
6041
6006
  }
6042
- declare module "libs/reach/ui/common/src/reach-2/Icon" {
6043
- import { FC, SVGProps } from 'react';
6044
- export enum IconLabelDirection {
6045
- Row = "row",
6046
- Column = "column"
6047
- }
6048
- export interface IconProps {
6049
- defaultSVG: SVGProps<SVGElement>;
6050
- hoveredSVG?: SVGProps<SVGElement>;
6051
- label?: string | number;
6052
- labelDirection?: IconLabelDirection;
6053
- labelGap?: number;
6054
- reverseIcon?: boolean;
6055
- size?: number;
6056
- className?: string;
6057
- }
6058
- export const Icon: FC<IconProps>;
6059
- }
6060
6007
  declare module "libs/reach/ui/common/src/reach-2/buttons/IconActionButton" {
6061
6008
  import { MouseEventHandler, SVGProps } from 'react';
6062
6009
  import { IconProps } from "libs/reach/ui/common/src/reach-2/Icon";
@@ -6069,6 +6016,90 @@ declare module "libs/reach/ui/common/src/reach-2/buttons/IconActionButton" {
6069
6016
  }
6070
6017
  export const IconActionButton: import("react").ForwardRefExoticComponent<IconActionButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
6071
6018
  }
6019
+ declare module "libs/reach/ui/common/src/reach-2/SearchBox" {
6020
+ import { FC } from 'react';
6021
+ export const SearchBox: FC<{
6022
+ searchText: string;
6023
+ onChange: (searchText: string) => void;
6024
+ placeholder?: string;
6025
+ autoFocus?: boolean;
6026
+ className?: string;
6027
+ }>;
6028
+ }
6029
+ declare module "libs/reach/ui/common/src/reach-2/TextField" {
6030
+ import { FC, InputHTMLAttributes } from 'react';
6031
+ export interface ITextFieldProps extends InputHTMLAttributes<HTMLInputElement> {
6032
+ label: string;
6033
+ errorMessage?: string;
6034
+ }
6035
+ const TextField: FC<ITextFieldProps>;
6036
+ export default TextField;
6037
+ }
6038
+ declare module "libs/reach/ui/common/src/reach-2/assets/Assets" {
6039
+ export { ReactComponent as Logo } from './logo.svg';
6040
+ export { ReactComponent as Conversation } from './conversations.svg';
6041
+ export { default as Background } from './background.svg';
6042
+ }
6043
+ declare module "libs/reach/ui/common/src/reach-2/assets/index" {
6044
+ export * from "libs/reach/ui/common/src/reach-2/assets/Assets";
6045
+ }
6046
+ declare module "libs/reach/ui/common/src/reach-2/avatar/Avatar" {
6047
+ import { FC } from 'react';
6048
+ export enum AvatarSize {
6049
+ xxs = 0,
6050
+ xs = 1,
6051
+ sm = 2,
6052
+ md = 3,
6053
+ lg = 4,
6054
+ xl = 5
6055
+ }
6056
+ interface IProps {
6057
+ backgroundColor?: string;
6058
+ className?: string;
6059
+ displayName: string;
6060
+ noInitials?: boolean;
6061
+ size?: AvatarSize;
6062
+ tenantId?: string;
6063
+ userPrincipalName?: string;
6064
+ }
6065
+ const Avatar: FC<IProps>;
6066
+ export default Avatar;
6067
+ }
6068
+ declare module "libs/reach/ui/common/src/reach-2/avatar/GroupAvatar" {
6069
+ import { FC } from 'react';
6070
+ import { AvatarSize } from "libs/reach/ui/common/src/reach-2/avatar/Avatar";
6071
+ export interface AvatarUser {
6072
+ displayName?: string;
6073
+ userPrincipalName?: string;
6074
+ }
6075
+ interface CommentsGroupAvatarProps {
6076
+ avatarsLimit?: number;
6077
+ avatarsSize?: AvatarSize;
6078
+ users: AvatarUser[];
6079
+ }
6080
+ const GroupAvatar: FC<CommentsGroupAvatarProps>;
6081
+ export default GroupAvatar;
6082
+ }
6083
+ declare module "libs/reach/ui/common/src/reach-2/avatar/Persona" {
6084
+ import { FC } from 'react';
6085
+ import { AvatarSize } from "libs/reach/ui/common/src/reach-2/avatar/Avatar";
6086
+ interface IProps {
6087
+ className?: string;
6088
+ displayName: string;
6089
+ size?: AvatarSize.sm | AvatarSize.md | AvatarSize.lg;
6090
+ subtitle?: string | JSX.Element;
6091
+ title: string;
6092
+ userPrincipalName: string;
6093
+ }
6094
+ const Persona: FC<IProps>;
6095
+ export default Persona;
6096
+ }
6097
+ declare module "libs/reach/ui/common/src/reach-2/avatar/index" {
6098
+ export { default as Avatar2, AvatarSize } from "libs/reach/ui/common/src/reach-2/avatar/Avatar";
6099
+ export { default as GroupAvatar2 } from "libs/reach/ui/common/src/reach-2/avatar/GroupAvatar";
6100
+ export type { AvatarUser } from "libs/reach/ui/common/src/reach-2/avatar/GroupAvatar";
6101
+ export { default as Persona } from "libs/reach/ui/common/src/reach-2/avatar/Persona";
6102
+ }
6072
6103
  declare module "libs/reach/ui/common/src/reach-2/buttons/BackButton" {
6073
6104
  import { FC } from 'react';
6074
6105
  export const PageBackButton: FC<{
@@ -6310,17 +6341,6 @@ declare module "libs/reach/ui/common/src/reach-2/buttons/index" {
6310
6341
  export { default as ProfileButton } from "libs/reach/ui/common/src/reach-2/buttons/ProfileButton";
6311
6342
  export * from "libs/reach/ui/common/src/reach-2/buttons/StandardButtons";
6312
6343
  }
6313
- declare module "libs/reach/ui/common/src/reach-2/DateTimeDisplay" {
6314
- import { FC } from 'react';
6315
- interface Props {
6316
- value: string;
6317
- showWeekDay?: boolean;
6318
- showAsRelative?: boolean;
6319
- showAsAbsolute?: boolean;
6320
- className?: string;
6321
- }
6322
- export const DateTimeDisplay: FC<Props>;
6323
- }
6324
6344
  declare module "libs/reach/ui/common/src/reach-2/inputs/OTPInput" {
6325
6345
  import { FC } from 'react';
6326
6346
  interface IOTPInputProps {
@@ -6335,15 +6355,25 @@ declare module "libs/reach/ui/common/src/reach-2/inputs/OTPInput" {
6335
6355
  declare module "libs/reach/ui/common/src/reach-2/inputs/index" {
6336
6356
  export { default as OTPInput } from "libs/reach/ui/common/src/reach-2/inputs/OTPInput";
6337
6357
  }
6338
- declare module "libs/reach/ui/common/src/reach-2/SearchBox" {
6339
- import { FC } from 'react';
6340
- export const SearchBox: FC<{
6341
- searchText: string;
6342
- onChange: (searchText: string) => void;
6343
- placeholder?: string;
6344
- autoFocus?: boolean;
6358
+ declare module "libs/reach/ui/common/src/reach-2/lists/MenuList" {
6359
+ import { FC, MouseEventHandler } from 'react';
6360
+ export type MenuItem = {
6345
6361
  className?: string;
6346
- }>;
6362
+ disabled?: boolean;
6363
+ hasDivider?: boolean;
6364
+ icon?: JSX.Element;
6365
+ isSelected?: boolean;
6366
+ label: string;
6367
+ onClick: MouseEventHandler<HTMLButtonElement>;
6368
+ tailIcon?: JSX.Element;
6369
+ };
6370
+ export interface MenuProps {
6371
+ className?: string;
6372
+ items: MenuItem[];
6373
+ title?: string;
6374
+ }
6375
+ const MenuList: FC<MenuProps>;
6376
+ export default MenuList;
6347
6377
  }
6348
6378
  declare module "libs/reach/ui/common/src/reach-2/surfaces/BaseDialog" {
6349
6379
  import { FC, MouseEvent } from 'react';
@@ -6492,15 +6522,6 @@ declare module "libs/reach/ui/common/src/reach-2/tabs/TabGroup" {
6492
6522
  export const TabGroup: FC<ITabGroupProps>;
6493
6523
  export default TabGroup;
6494
6524
  }
6495
- declare module "libs/reach/ui/common/src/reach-2/TextField" {
6496
- import { FC, InputHTMLAttributes } from 'react';
6497
- export interface ITextFieldProps extends InputHTMLAttributes<HTMLInputElement> {
6498
- label: string;
6499
- errorMessage?: string;
6500
- }
6501
- const TextField: FC<ITextFieldProps>;
6502
- export default TextField;
6503
- }
6504
6525
  declare module "libs/reach/ui/common/src/reach-2/utils" {
6505
6526
  export function getNormalizedPercentageBasedOnDeviceHeight(heightToConvert: number, safeArea?: number, fullyExpandThreshold?: number): number;
6506
6527
  export function useNormalizedBreakpointValuesBasedOnDeviceHeight(heightToConvert: number, safeArea?: number, fullyExpandThreshold?: number): {
@@ -6510,20 +6531,21 @@ declare module "libs/reach/ui/common/src/reach-2/utils" {
6510
6531
  export const getIsMobilePhone: () => boolean;
6511
6532
  }
6512
6533
  declare module "libs/reach/ui/common/src/reach-2/index" {
6534
+ export * from "libs/reach/ui/common/src/reach-2/DateTimeDisplay";
6535
+ export * from "libs/reach/ui/common/src/reach-2/Icon";
6536
+ export * from "libs/reach/ui/common/src/reach-2/SearchBox";
6537
+ export { default as TextField } from "libs/reach/ui/common/src/reach-2/TextField";
6513
6538
  export * from "libs/reach/ui/common/src/reach-2/assets/index";
6514
6539
  export * from "libs/reach/ui/common/src/reach-2/avatar/index";
6515
6540
  export * from "libs/reach/ui/common/src/reach-2/buttons/index";
6516
- export * from "libs/reach/ui/common/src/reach-2/DateTimeDisplay";
6517
- export * from "libs/reach/ui/common/src/reach-2/Icon";
6518
6541
  export * from "libs/reach/ui/common/src/reach-2/icons/index";
6519
6542
  export * from "libs/reach/ui/common/src/reach-2/inputs/index";
6543
+ export { default as MenuList } from "libs/reach/ui/common/src/reach-2/lists/MenuList";
6520
6544
  export * from "libs/reach/ui/common/src/reach-2/progress/index";
6521
- export * from "libs/reach/ui/common/src/reach-2/SearchBox";
6522
6545
  export * from "libs/reach/ui/common/src/reach-2/surfaces/index";
6523
6546
  export { default as Card } from "libs/reach/ui/common/src/reach-2/surfaces/Card";
6524
6547
  export { default as TabGroup } from "libs/reach/ui/common/src/reach-2/tabs/TabGroup";
6525
- export { default as TextField } from "libs/reach/ui/common/src/reach-2/TextField";
6526
- export * from "libs/reach/ui/common/src/reach-2/typography/Typography";
6548
+ export { default as Typography } from "libs/reach/ui/common/src/reach-2/typography/Typography";
6527
6549
  export * from "libs/reach/ui/common/src/reach-2/utils";
6528
6550
  }
6529
6551
  declare module "libs/reach/ui/common/src/index" {
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.961",
7
+ "version": "0.5.0-preview.962",
8
8
  "dependencies": {}
9
9
  }