@livetiles/reach-plugin-types 0.5.0-preview.960 → 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 +146 -120
  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<{
@@ -6157,7 +6188,7 @@ declare module "libs/reach/ui/common/src/reach-2/buttons/BaseButton" {
6157
6188
  iconPosition?: 'left' | 'right';
6158
6189
  isLoading?: boolean;
6159
6190
  label?: string;
6160
- onClick?: MouseEventHandler<HTMLButtonElement>;
6191
+ onClick: MouseEventHandler<HTMLButtonElement>;
6161
6192
  size?: BaseButtonSizeType;
6162
6193
  }
6163
6194
  export const BaseButton: import("react").ForwardRefExoticComponent<BaseButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
@@ -6170,16 +6201,6 @@ declare module "libs/reach/ui/common/src/reach-2/buttons/ContentActionButton" {
6170
6201
  }
6171
6202
  export const ContentActionButton: import("react").ForwardRefExoticComponent<ContentActionButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
6172
6203
  }
6173
- declare module "libs/reach/ui/common/src/reach-2/buttons/FloatingActionButton" {
6174
- import { FC } from 'react';
6175
- import { IconActionButtonProps } from "libs/reach/ui/common/src/reach-2/buttons/IconActionButton";
6176
- interface FloatingActionButtonProps extends IconActionButtonProps {
6177
- offsetRight?: number;
6178
- offsetBottom?: number;
6179
- }
6180
- const FloatingActionButton: FC<FloatingActionButtonProps>;
6181
- export default FloatingActionButton;
6182
- }
6183
6204
  declare module "libs/reach/ui/common/src/reach-2/buttons/BaseIconButton" {
6184
6205
  import { MouseEventHandler, SVGProps } from 'react';
6185
6206
  export interface BaseIconButtonProps {
@@ -6194,6 +6215,20 @@ declare module "libs/reach/ui/common/src/reach-2/buttons/BaseIconButton" {
6194
6215
  const BaseIconButton: import("react").ForwardRefExoticComponent<BaseIconButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
6195
6216
  export default BaseIconButton;
6196
6217
  }
6218
+ declare module "libs/reach/ui/common/src/reach-2/buttons/FloatingButton" {
6219
+ import { FC, MouseEventHandler, SVGProps } from 'react';
6220
+ export type FloatingButtonSizeType = 'Large' | 'Small';
6221
+ interface FloatingButtonProps {
6222
+ buttonSize?: FloatingButtonSizeType;
6223
+ className?: string;
6224
+ defaultSVG: SVGProps<SVGElement>;
6225
+ disabled?: boolean;
6226
+ hoveredSVG?: SVGProps<SVGElement>;
6227
+ onClick?: MouseEventHandler<HTMLButtonElement>;
6228
+ }
6229
+ const FloatingButton: FC<FloatingButtonProps>;
6230
+ export default FloatingButton;
6231
+ }
6197
6232
  declare module "libs/reach/ui/common/src/reach-2/buttons/IconButton" {
6198
6233
  import { MouseEventHandler, SVGProps } from 'react';
6199
6234
  export type IconButtonSizeType = 'Large' | 'Medium' | 'Small';
@@ -6299,24 +6334,13 @@ declare module "libs/reach/ui/common/src/reach-2/buttons/index" {
6299
6334
  export * from "libs/reach/ui/common/src/reach-2/buttons/BackButton";
6300
6335
  export { BaseButtonStyle } from "libs/reach/ui/common/src/reach-2/buttons/BaseButton";
6301
6336
  export * from "libs/reach/ui/common/src/reach-2/buttons/ContentActionButton";
6302
- export { default as FloatingActionButton } from "libs/reach/ui/common/src/reach-2/buttons/FloatingActionButton";
6337
+ export { default as FloatingButton } from "libs/reach/ui/common/src/reach-2/buttons/FloatingButton";
6303
6338
  export * from "libs/reach/ui/common/src/reach-2/buttons/IconActionButton";
6304
6339
  export { default as IconButton2 } from "libs/reach/ui/common/src/reach-2/buttons/IconButton";
6305
6340
  export * from "libs/reach/ui/common/src/reach-2/buttons/IconNavLink";
6306
6341
  export { default as ProfileButton } from "libs/reach/ui/common/src/reach-2/buttons/ProfileButton";
6307
6342
  export * from "libs/reach/ui/common/src/reach-2/buttons/StandardButtons";
6308
6343
  }
6309
- declare module "libs/reach/ui/common/src/reach-2/DateTimeDisplay" {
6310
- import { FC } from 'react';
6311
- interface Props {
6312
- value: string;
6313
- showWeekDay?: boolean;
6314
- showAsRelative?: boolean;
6315
- showAsAbsolute?: boolean;
6316
- className?: string;
6317
- }
6318
- export const DateTimeDisplay: FC<Props>;
6319
- }
6320
6344
  declare module "libs/reach/ui/common/src/reach-2/inputs/OTPInput" {
6321
6345
  import { FC } from 'react';
6322
6346
  interface IOTPInputProps {
@@ -6331,15 +6355,25 @@ declare module "libs/reach/ui/common/src/reach-2/inputs/OTPInput" {
6331
6355
  declare module "libs/reach/ui/common/src/reach-2/inputs/index" {
6332
6356
  export { default as OTPInput } from "libs/reach/ui/common/src/reach-2/inputs/OTPInput";
6333
6357
  }
6334
- declare module "libs/reach/ui/common/src/reach-2/SearchBox" {
6335
- import { FC } from 'react';
6336
- export const SearchBox: FC<{
6337
- searchText: string;
6338
- onChange: (searchText: string) => void;
6339
- placeholder?: string;
6340
- autoFocus?: boolean;
6358
+ declare module "libs/reach/ui/common/src/reach-2/lists/MenuList" {
6359
+ import { FC, MouseEventHandler } from 'react';
6360
+ export type MenuItem = {
6341
6361
  className?: string;
6342
- }>;
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;
6343
6377
  }
6344
6378
  declare module "libs/reach/ui/common/src/reach-2/surfaces/BaseDialog" {
6345
6379
  import { FC, MouseEvent } from 'react';
@@ -6488,15 +6522,6 @@ declare module "libs/reach/ui/common/src/reach-2/tabs/TabGroup" {
6488
6522
  export const TabGroup: FC<ITabGroupProps>;
6489
6523
  export default TabGroup;
6490
6524
  }
6491
- declare module "libs/reach/ui/common/src/reach-2/TextField" {
6492
- import { FC, InputHTMLAttributes } from 'react';
6493
- export interface ITextFieldProps extends InputHTMLAttributes<HTMLInputElement> {
6494
- label: string;
6495
- errorMessage?: string;
6496
- }
6497
- const TextField: FC<ITextFieldProps>;
6498
- export default TextField;
6499
- }
6500
6525
  declare module "libs/reach/ui/common/src/reach-2/utils" {
6501
6526
  export function getNormalizedPercentageBasedOnDeviceHeight(heightToConvert: number, safeArea?: number, fullyExpandThreshold?: number): number;
6502
6527
  export function useNormalizedBreakpointValuesBasedOnDeviceHeight(heightToConvert: number, safeArea?: number, fullyExpandThreshold?: number): {
@@ -6506,20 +6531,21 @@ declare module "libs/reach/ui/common/src/reach-2/utils" {
6506
6531
  export const getIsMobilePhone: () => boolean;
6507
6532
  }
6508
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";
6509
6538
  export * from "libs/reach/ui/common/src/reach-2/assets/index";
6510
6539
  export * from "libs/reach/ui/common/src/reach-2/avatar/index";
6511
6540
  export * from "libs/reach/ui/common/src/reach-2/buttons/index";
6512
- export * from "libs/reach/ui/common/src/reach-2/DateTimeDisplay";
6513
- export * from "libs/reach/ui/common/src/reach-2/Icon";
6514
6541
  export * from "libs/reach/ui/common/src/reach-2/icons/index";
6515
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";
6516
6544
  export * from "libs/reach/ui/common/src/reach-2/progress/index";
6517
- export * from "libs/reach/ui/common/src/reach-2/SearchBox";
6518
6545
  export * from "libs/reach/ui/common/src/reach-2/surfaces/index";
6519
6546
  export { default as Card } from "libs/reach/ui/common/src/reach-2/surfaces/Card";
6520
6547
  export { default as TabGroup } from "libs/reach/ui/common/src/reach-2/tabs/TabGroup";
6521
- export { default as TextField } from "libs/reach/ui/common/src/reach-2/TextField";
6522
- 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";
6523
6549
  export * from "libs/reach/ui/common/src/reach-2/utils";
6524
6550
  }
6525
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.960",
7
+ "version": "0.5.0-preview.962",
8
8
  "dependencies": {}
9
9
  }