@livetiles/reach-plugin-types 0.5.0-preview.978 → 0.5.0-preview.979
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 +200 -179
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -5905,17 +5905,16 @@ declare module "libs/reach/ui/common/src/reach-2/Icon" {
|
|
|
5905
5905
|
}
|
|
5906
5906
|
export const Icon: FC<IconProps>;
|
|
5907
5907
|
}
|
|
5908
|
-
declare module "libs/reach/ui/common/src/reach-2/
|
|
5909
|
-
import {
|
|
5910
|
-
|
|
5911
|
-
|
|
5912
|
-
|
|
5913
|
-
|
|
5914
|
-
|
|
5915
|
-
onClick: MouseEventHandler<HTMLButtonElement>;
|
|
5916
|
-
secondarySVG?: SVGProps<SVGElement>;
|
|
5908
|
+
declare module "libs/reach/ui/common/src/reach-2/icons/IconHost" {
|
|
5909
|
+
import { FC, SVGProps } from 'react';
|
|
5910
|
+
interface IconHostProps {
|
|
5911
|
+
className?: string;
|
|
5912
|
+
defaultSVG: SVGProps<SVGElement>;
|
|
5913
|
+
hoveredSVG?: SVGProps<SVGElement>;
|
|
5914
|
+
size?: number;
|
|
5917
5915
|
}
|
|
5918
|
-
|
|
5916
|
+
const IconHost: FC<IconHostProps>;
|
|
5917
|
+
export default IconHost;
|
|
5919
5918
|
}
|
|
5920
5919
|
declare module "libs/reach/ui/common/src/reach-2/icons/Icons" {
|
|
5921
5920
|
export { ReactComponent as AddActiveIcon } from './assets/add-active.svg';
|
|
@@ -6021,105 +6020,9 @@ declare module "libs/reach/ui/common/src/reach-2/icons/Icons" {
|
|
|
6021
6020
|
export { ReactComponent as UploadIcon } from './assets/upload.svg';
|
|
6022
6021
|
export { ReactComponent as WindowsIcon } from './assets/windows.svg';
|
|
6023
6022
|
}
|
|
6024
|
-
declare module "libs/reach/ui/common/src/reach-2/
|
|
6025
|
-
|
|
6026
|
-
export
|
|
6027
|
-
export const SearchBox: FC<{
|
|
6028
|
-
autoFocus?: boolean;
|
|
6029
|
-
className?: string;
|
|
6030
|
-
disabled?: boolean;
|
|
6031
|
-
onChange: (value: string) => void;
|
|
6032
|
-
placeholder?: string;
|
|
6033
|
-
size?: SearchBoxSizeType;
|
|
6034
|
-
value: string;
|
|
6035
|
-
}>;
|
|
6036
|
-
}
|
|
6037
|
-
declare module "libs/reach/ui/common/src/reach-2/assets/Assets" {
|
|
6038
|
-
export { ReactComponent as Logo } from './logo.svg';
|
|
6039
|
-
export { ReactComponent as Conversation } from './conversations.svg';
|
|
6040
|
-
export { default as Background } from './background.svg';
|
|
6041
|
-
}
|
|
6042
|
-
declare module "libs/reach/ui/common/src/reach-2/assets/index" {
|
|
6043
|
-
export * from "libs/reach/ui/common/src/reach-2/assets/Assets";
|
|
6044
|
-
}
|
|
6045
|
-
declare module "libs/reach/ui/common/src/reach-2/avatar/Avatar" {
|
|
6046
|
-
import { FC } from 'react';
|
|
6047
|
-
export enum AvatarSize {
|
|
6048
|
-
xxs = 0,
|
|
6049
|
-
xs = 1,
|
|
6050
|
-
sm = 2,
|
|
6051
|
-
md = 3,
|
|
6052
|
-
lg = 4,
|
|
6053
|
-
xl = 5
|
|
6054
|
-
}
|
|
6055
|
-
interface IProps {
|
|
6056
|
-
backgroundColor?: string;
|
|
6057
|
-
className?: string;
|
|
6058
|
-
displayName: string;
|
|
6059
|
-
noInitials?: boolean;
|
|
6060
|
-
size?: AvatarSize;
|
|
6061
|
-
tenantId?: string;
|
|
6062
|
-
userPrincipalName?: string;
|
|
6063
|
-
}
|
|
6064
|
-
const Avatar: FC<IProps>;
|
|
6065
|
-
export default Avatar;
|
|
6066
|
-
}
|
|
6067
|
-
declare module "libs/reach/ui/common/src/reach-2/avatar/GroupAvatar" {
|
|
6068
|
-
import { FC } from 'react';
|
|
6069
|
-
import { AvatarSize } from "libs/reach/ui/common/src/reach-2/avatar/Avatar";
|
|
6070
|
-
export interface AvatarUser {
|
|
6071
|
-
displayName?: string;
|
|
6072
|
-
userPrincipalName?: string;
|
|
6073
|
-
}
|
|
6074
|
-
interface CommentsGroupAvatarProps {
|
|
6075
|
-
avatarsLimit?: number;
|
|
6076
|
-
avatarsSize?: AvatarSize;
|
|
6077
|
-
users: AvatarUser[];
|
|
6078
|
-
}
|
|
6079
|
-
const GroupAvatar: FC<CommentsGroupAvatarProps>;
|
|
6080
|
-
export default GroupAvatar;
|
|
6081
|
-
}
|
|
6082
|
-
declare module "libs/reach/ui/common/src/reach-2/avatar/Persona" {
|
|
6083
|
-
import { FC } from 'react';
|
|
6084
|
-
import { AvatarSize } from "libs/reach/ui/common/src/reach-2/avatar/Avatar";
|
|
6085
|
-
interface IProps {
|
|
6086
|
-
className?: string;
|
|
6087
|
-
displayName: string;
|
|
6088
|
-
size?: AvatarSize.sm | AvatarSize.md | AvatarSize.lg;
|
|
6089
|
-
subtitle?: string | JSX.Element;
|
|
6090
|
-
title: string;
|
|
6091
|
-
userPrincipalName: string;
|
|
6092
|
-
}
|
|
6093
|
-
const Persona: FC<IProps>;
|
|
6094
|
-
export default Persona;
|
|
6095
|
-
}
|
|
6096
|
-
declare module "libs/reach/ui/common/src/reach-2/avatar/index" {
|
|
6097
|
-
export { default as Avatar2, AvatarSize } from "libs/reach/ui/common/src/reach-2/avatar/Avatar";
|
|
6098
|
-
export { default as GroupAvatar2 } from "libs/reach/ui/common/src/reach-2/avatar/GroupAvatar";
|
|
6099
|
-
export type { AvatarUser } from "libs/reach/ui/common/src/reach-2/avatar/GroupAvatar";
|
|
6100
|
-
export { default as Persona } from "libs/reach/ui/common/src/reach-2/avatar/Persona";
|
|
6101
|
-
}
|
|
6102
|
-
declare module "libs/reach/ui/common/src/reach-2/buttons/BackButton" {
|
|
6103
|
-
import { FC } from 'react';
|
|
6104
|
-
export const PageBackButton: FC<{
|
|
6105
|
-
navigateTo?: string;
|
|
6106
|
-
onBeforeClose?: () => void;
|
|
6107
|
-
className?: string;
|
|
6108
|
-
}>;
|
|
6109
|
-
export const BackButton: FC<{
|
|
6110
|
-
onClick?: () => void;
|
|
6111
|
-
className?: string;
|
|
6112
|
-
}>;
|
|
6113
|
-
}
|
|
6114
|
-
declare module "libs/reach/ui/common/src/reach-2/icons/IconHost" {
|
|
6115
|
-
import { FC, SVGProps } from 'react';
|
|
6116
|
-
interface IconHostProps {
|
|
6117
|
-
className?: string;
|
|
6118
|
-
icon: SVGProps<SVGElement>;
|
|
6119
|
-
size?: number;
|
|
6120
|
-
}
|
|
6121
|
-
const IconHost: FC<IconHostProps>;
|
|
6122
|
-
export default IconHost;
|
|
6023
|
+
declare module "libs/reach/ui/common/src/reach-2/icons/index" {
|
|
6024
|
+
export { default as IconHost } from "libs/reach/ui/common/src/reach-2/icons/IconHost";
|
|
6025
|
+
export * from "libs/reach/ui/common/src/reach-2/icons/Icons";
|
|
6123
6026
|
}
|
|
6124
6027
|
declare module "libs/reach/ui/common/src/reach-2/progress/Skeleton" {
|
|
6125
6028
|
import { FC } from 'react';
|
|
@@ -6149,9 +6052,6 @@ declare module "libs/reach/ui/common/src/reach-2/progress/PageScrollIndicator" {
|
|
|
6149
6052
|
import { FC } from 'react';
|
|
6150
6053
|
export const PageScrollIndicator: FC;
|
|
6151
6054
|
}
|
|
6152
|
-
declare module "libs/reach/ui/common/src/reach-2/icons/index" {
|
|
6153
|
-
export * from "libs/reach/ui/common/src/reach-2/icons/Icons";
|
|
6154
|
-
}
|
|
6155
6055
|
declare module "libs/reach/ui/common/src/reach-2/progress/SpinnerLoader" {
|
|
6156
6056
|
import { FC } from 'react';
|
|
6157
6057
|
export const SpinnerLoader: FC<{
|
|
@@ -6193,13 +6093,6 @@ declare module "libs/reach/ui/common/src/reach-2/buttons/BaseButton" {
|
|
|
6193
6093
|
export const BaseButton: import("react").ForwardRefExoticComponent<BaseButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
6194
6094
|
export const BaseButtonStyle: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
6195
6095
|
}
|
|
6196
|
-
declare module "libs/reach/ui/common/src/reach-2/buttons/ContentActionButton" {
|
|
6197
|
-
import { IconActionButtonProps } from "libs/reach/ui/common/src/reach-2/buttons/IconActionButton";
|
|
6198
|
-
export interface ContentActionButtonProps extends IconActionButtonProps {
|
|
6199
|
-
isSelected?: boolean;
|
|
6200
|
-
}
|
|
6201
|
-
export const ContentActionButton: import("react").ForwardRefExoticComponent<ContentActionButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
6202
|
-
}
|
|
6203
6096
|
declare module "libs/reach/ui/common/src/reach-2/buttons/BaseIconButton" {
|
|
6204
6097
|
import { MouseEventHandler, SVGProps } from 'react';
|
|
6205
6098
|
export interface BaseIconButtonProps {
|
|
@@ -6214,20 +6107,6 @@ declare module "libs/reach/ui/common/src/reach-2/buttons/BaseIconButton" {
|
|
|
6214
6107
|
const BaseIconButton: import("react").ForwardRefExoticComponent<BaseIconButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
6215
6108
|
export default BaseIconButton;
|
|
6216
6109
|
}
|
|
6217
|
-
declare module "libs/reach/ui/common/src/reach-2/buttons/FloatingButton" {
|
|
6218
|
-
import { FC, MouseEventHandler, SVGProps } from 'react';
|
|
6219
|
-
export type FloatingButtonSizeType = 'Large' | 'Small';
|
|
6220
|
-
interface FloatingButtonProps {
|
|
6221
|
-
buttonSize?: FloatingButtonSizeType;
|
|
6222
|
-
className?: string;
|
|
6223
|
-
defaultSVG: SVGProps<SVGElement>;
|
|
6224
|
-
disabled?: boolean;
|
|
6225
|
-
hoveredSVG?: SVGProps<SVGElement>;
|
|
6226
|
-
onClick?: MouseEventHandler<HTMLButtonElement>;
|
|
6227
|
-
}
|
|
6228
|
-
const FloatingButton: FC<FloatingButtonProps>;
|
|
6229
|
-
export default FloatingButton;
|
|
6230
|
-
}
|
|
6231
6110
|
declare module "libs/reach/ui/common/src/reach-2/buttons/IconButton" {
|
|
6232
6111
|
import { MouseEventHandler, SVGProps } from 'react';
|
|
6233
6112
|
export type IconButtonSizeType = 'Large' | 'Medium' | 'Small';
|
|
@@ -6243,55 +6122,36 @@ declare module "libs/reach/ui/common/src/reach-2/buttons/IconButton" {
|
|
|
6243
6122
|
const IconButton: import("react").ForwardRefExoticComponent<IconButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
6244
6123
|
export default IconButton;
|
|
6245
6124
|
}
|
|
6246
|
-
declare module "libs/reach/ui/common/src/reach-2/buttons/
|
|
6247
|
-
import { FC, MouseEvent } from 'react';
|
|
6248
|
-
import { IconProps } from "libs/reach/ui/common/src/reach-2/Icon";
|
|
6249
|
-
export const IconNavLink: FC<IconProps & {
|
|
6250
|
-
to: string;
|
|
6251
|
-
onClick?: (e: MouseEvent<HTMLAnchorElement>) => void;
|
|
6252
|
-
}>;
|
|
6253
|
-
}
|
|
6254
|
-
declare module "libs/reach/ui/common/src/reach-2/buttons/ProfileButton" {
|
|
6125
|
+
declare module "libs/reach/ui/common/src/reach-2/buttons/BackButton" {
|
|
6255
6126
|
import { FC } from 'react';
|
|
6256
|
-
|
|
6257
|
-
|
|
6127
|
+
export const PageBackButton: FC<{
|
|
6128
|
+
navigateTo?: string;
|
|
6129
|
+
onBeforeClose?: () => void;
|
|
6258
6130
|
className?: string;
|
|
6259
|
-
|
|
6260
|
-
|
|
6261
|
-
|
|
6262
|
-
const ProfileButton: FC<IProfileButtonProps>;
|
|
6263
|
-
export default ProfileButton;
|
|
6264
|
-
}
|
|
6265
|
-
declare module "libs/reach/ui/common/src/reach-2/buttons/StandardButtons" {
|
|
6266
|
-
export const PrimaryButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("libs/reach/ui/common/src/reach-2/buttons/BaseButton").BaseButtonProps & import("react").RefAttributes<HTMLButtonElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
6267
|
-
export const SecondaryButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("libs/reach/ui/common/src/reach-2/buttons/BaseButton").BaseButtonProps & import("react").RefAttributes<HTMLButtonElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
6268
|
-
export const TertiaryButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("libs/reach/ui/common/src/reach-2/buttons/BaseButton").BaseButtonProps & import("react").RefAttributes<HTMLButtonElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
6269
|
-
export const LinkButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("libs/reach/ui/common/src/reach-2/buttons/BaseButton").BaseButtonProps & import("react").RefAttributes<HTMLButtonElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
6270
|
-
}
|
|
6271
|
-
declare module "libs/reach/ui/common/src/reach-2/buttons/index" {
|
|
6272
|
-
export * from "libs/reach/ui/common/src/reach-2/buttons/BackButton";
|
|
6273
|
-
export { BaseButtonStyle } from "libs/reach/ui/common/src/reach-2/buttons/BaseButton";
|
|
6274
|
-
export * from "libs/reach/ui/common/src/reach-2/buttons/ContentActionButton";
|
|
6275
|
-
export { default as FloatingButton } from "libs/reach/ui/common/src/reach-2/buttons/FloatingButton";
|
|
6276
|
-
export * from "libs/reach/ui/common/src/reach-2/buttons/IconActionButton";
|
|
6277
|
-
export { default as IconButton2 } from "libs/reach/ui/common/src/reach-2/buttons/IconButton";
|
|
6278
|
-
export * from "libs/reach/ui/common/src/reach-2/buttons/IconNavLink";
|
|
6279
|
-
export { default as ProfileButton } from "libs/reach/ui/common/src/reach-2/buttons/ProfileButton";
|
|
6280
|
-
export * from "libs/reach/ui/common/src/reach-2/buttons/StandardButtons";
|
|
6281
|
-
}
|
|
6282
|
-
declare module "libs/reach/ui/common/src/reach-2/inputs/OTPInput" {
|
|
6283
|
-
import { FC } from 'react';
|
|
6284
|
-
interface IOTPInputProps {
|
|
6285
|
-
code: string;
|
|
6286
|
-
codeLength: number;
|
|
6287
|
-
onChange: (code: string) => void;
|
|
6131
|
+
}>;
|
|
6132
|
+
export const BackButton: FC<{
|
|
6133
|
+
onClick?: () => void;
|
|
6288
6134
|
className?: string;
|
|
6135
|
+
}>;
|
|
6136
|
+
}
|
|
6137
|
+
declare module "libs/reach/ui/common/src/reach-2/buttons/IconActionButton" {
|
|
6138
|
+
import { MouseEventHandler, SVGProps } from 'react';
|
|
6139
|
+
import { IconProps } from "libs/reach/ui/common/src/reach-2/Icon";
|
|
6140
|
+
export interface IconActionButtonProps extends Omit<IconProps, 'size'> {
|
|
6141
|
+
disabled?: boolean;
|
|
6142
|
+
domIdentifier?: string;
|
|
6143
|
+
iconSize?: number;
|
|
6144
|
+
onClick: MouseEventHandler<HTMLButtonElement>;
|
|
6145
|
+
secondarySVG?: SVGProps<SVGElement>;
|
|
6289
6146
|
}
|
|
6290
|
-
const
|
|
6291
|
-
export default OTPInput;
|
|
6147
|
+
export const IconActionButton: import("react").ForwardRefExoticComponent<IconActionButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
6292
6148
|
}
|
|
6293
|
-
declare module "libs/reach/ui/common/src/reach-2/
|
|
6294
|
-
|
|
6149
|
+
declare module "libs/reach/ui/common/src/reach-2/buttons/ContentActionButton" {
|
|
6150
|
+
import { IconActionButtonProps } from "libs/reach/ui/common/src/reach-2/buttons/IconActionButton";
|
|
6151
|
+
export interface ContentActionButtonProps extends IconActionButtonProps {
|
|
6152
|
+
isSelected?: boolean;
|
|
6153
|
+
}
|
|
6154
|
+
export const ContentActionButton: import("react").ForwardRefExoticComponent<ContentActionButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
6295
6155
|
}
|
|
6296
6156
|
declare module "libs/reach/ui/common/src/reach-2/typography/Typography" {
|
|
6297
6157
|
import { ComponentPropsWithoutRef, ElementType, PropsWithChildren } from 'react';
|
|
@@ -6354,6 +6214,167 @@ declare module "libs/reach/ui/common/src/reach-2/typography/Typography" {
|
|
|
6354
6214
|
const Typography: <T extends ElementType<any> = "span">(props: TTypographyOverridenProps<T>) => JSX.Element;
|
|
6355
6215
|
export default Typography;
|
|
6356
6216
|
}
|
|
6217
|
+
declare module "libs/reach/ui/common/src/reach-2/buttons/FlexButton" {
|
|
6218
|
+
import { FC, MouseEvent, SVGProps } from 'react';
|
|
6219
|
+
import { ITypographyProps } from "libs/reach/ui/common/src/reach-2/typography/Typography";
|
|
6220
|
+
export type FlexButtonDirectionType = 'column' | 'column-reverse' | 'row' | 'row-reverse';
|
|
6221
|
+
export interface FlexButtonProps {
|
|
6222
|
+
className?: string;
|
|
6223
|
+
defaultSVG: SVGProps<SVGElement>;
|
|
6224
|
+
disabled?: boolean;
|
|
6225
|
+
flexDirection?: FlexButtonDirectionType;
|
|
6226
|
+
gap?: number;
|
|
6227
|
+
hoveredSVG?: SVGProps<SVGElement>;
|
|
6228
|
+
iconSize?: number;
|
|
6229
|
+
label?: string | number;
|
|
6230
|
+
typography?: ITypographyProps['variant'];
|
|
6231
|
+
onClick?: (e: MouseEvent<HTMLButtonElement>) => void;
|
|
6232
|
+
}
|
|
6233
|
+
const FlexButton: FC<FlexButtonProps>;
|
|
6234
|
+
export default FlexButton;
|
|
6235
|
+
}
|
|
6236
|
+
declare module "libs/reach/ui/common/src/reach-2/buttons/FloatingButton" {
|
|
6237
|
+
import { FC, MouseEventHandler, SVGProps } from 'react';
|
|
6238
|
+
export type FloatingButtonSizeType = 'Large' | 'Small';
|
|
6239
|
+
interface FloatingButtonProps {
|
|
6240
|
+
buttonSize?: FloatingButtonSizeType;
|
|
6241
|
+
className?: string;
|
|
6242
|
+
defaultSVG: SVGProps<SVGElement>;
|
|
6243
|
+
disabled?: boolean;
|
|
6244
|
+
hoveredSVG?: SVGProps<SVGElement>;
|
|
6245
|
+
onClick?: MouseEventHandler<HTMLButtonElement>;
|
|
6246
|
+
}
|
|
6247
|
+
const FloatingButton: FC<FloatingButtonProps>;
|
|
6248
|
+
export default FloatingButton;
|
|
6249
|
+
}
|
|
6250
|
+
declare module "libs/reach/ui/common/src/reach-2/buttons/IconNavLink" {
|
|
6251
|
+
import { FC, MouseEvent } from 'react';
|
|
6252
|
+
import { IconProps } from "libs/reach/ui/common/src/reach-2/Icon";
|
|
6253
|
+
export const IconNavLink: FC<IconProps & {
|
|
6254
|
+
to: string;
|
|
6255
|
+
onClick?: (e: MouseEvent<HTMLAnchorElement>) => void;
|
|
6256
|
+
}>;
|
|
6257
|
+
}
|
|
6258
|
+
declare module "libs/reach/ui/common/src/reach-2/avatar/Avatar" {
|
|
6259
|
+
import { FC } from 'react';
|
|
6260
|
+
export enum AvatarSize {
|
|
6261
|
+
xxs = 0,
|
|
6262
|
+
xs = 1,
|
|
6263
|
+
sm = 2,
|
|
6264
|
+
md = 3,
|
|
6265
|
+
lg = 4,
|
|
6266
|
+
xl = 5
|
|
6267
|
+
}
|
|
6268
|
+
interface IProps {
|
|
6269
|
+
backgroundColor?: string;
|
|
6270
|
+
className?: string;
|
|
6271
|
+
displayName: string;
|
|
6272
|
+
noInitials?: boolean;
|
|
6273
|
+
size?: AvatarSize;
|
|
6274
|
+
tenantId?: string;
|
|
6275
|
+
userPrincipalName?: string;
|
|
6276
|
+
}
|
|
6277
|
+
const Avatar: FC<IProps>;
|
|
6278
|
+
export default Avatar;
|
|
6279
|
+
}
|
|
6280
|
+
declare module "libs/reach/ui/common/src/reach-2/avatar/GroupAvatar" {
|
|
6281
|
+
import { FC } from 'react';
|
|
6282
|
+
import { AvatarSize } from "libs/reach/ui/common/src/reach-2/avatar/Avatar";
|
|
6283
|
+
export interface AvatarUser {
|
|
6284
|
+
displayName?: string;
|
|
6285
|
+
userPrincipalName?: string;
|
|
6286
|
+
}
|
|
6287
|
+
interface CommentsGroupAvatarProps {
|
|
6288
|
+
avatarsLimit?: number;
|
|
6289
|
+
avatarsSize?: AvatarSize;
|
|
6290
|
+
users: AvatarUser[];
|
|
6291
|
+
}
|
|
6292
|
+
const GroupAvatar: FC<CommentsGroupAvatarProps>;
|
|
6293
|
+
export default GroupAvatar;
|
|
6294
|
+
}
|
|
6295
|
+
declare module "libs/reach/ui/common/src/reach-2/avatar/Persona" {
|
|
6296
|
+
import { FC } from 'react';
|
|
6297
|
+
import { AvatarSize } from "libs/reach/ui/common/src/reach-2/avatar/Avatar";
|
|
6298
|
+
interface IProps {
|
|
6299
|
+
className?: string;
|
|
6300
|
+
displayName: string;
|
|
6301
|
+
size?: AvatarSize.sm | AvatarSize.md | AvatarSize.lg;
|
|
6302
|
+
subtitle?: string | JSX.Element;
|
|
6303
|
+
title: string;
|
|
6304
|
+
userPrincipalName: string;
|
|
6305
|
+
}
|
|
6306
|
+
const Persona: FC<IProps>;
|
|
6307
|
+
export default Persona;
|
|
6308
|
+
}
|
|
6309
|
+
declare module "libs/reach/ui/common/src/reach-2/avatar/index" {
|
|
6310
|
+
export { default as Avatar2, AvatarSize } from "libs/reach/ui/common/src/reach-2/avatar/Avatar";
|
|
6311
|
+
export { default as GroupAvatar2 } from "libs/reach/ui/common/src/reach-2/avatar/GroupAvatar";
|
|
6312
|
+
export type { AvatarUser } from "libs/reach/ui/common/src/reach-2/avatar/GroupAvatar";
|
|
6313
|
+
export { default as Persona } from "libs/reach/ui/common/src/reach-2/avatar/Persona";
|
|
6314
|
+
}
|
|
6315
|
+
declare module "libs/reach/ui/common/src/reach-2/buttons/ProfileButton" {
|
|
6316
|
+
import { FC } from 'react';
|
|
6317
|
+
import { AvatarSize } from "libs/reach/ui/common/src/reach-2/avatar/index";
|
|
6318
|
+
interface IProfileButtonProps {
|
|
6319
|
+
className?: string;
|
|
6320
|
+
showLabel?: boolean;
|
|
6321
|
+
size?: AvatarSize;
|
|
6322
|
+
}
|
|
6323
|
+
const ProfileButton: FC<IProfileButtonProps>;
|
|
6324
|
+
export default ProfileButton;
|
|
6325
|
+
}
|
|
6326
|
+
declare module "libs/reach/ui/common/src/reach-2/buttons/StandardButtons" {
|
|
6327
|
+
export const PrimaryButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("libs/reach/ui/common/src/reach-2/buttons/BaseButton").BaseButtonProps & import("react").RefAttributes<HTMLButtonElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
6328
|
+
export const SecondaryButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("libs/reach/ui/common/src/reach-2/buttons/BaseButton").BaseButtonProps & import("react").RefAttributes<HTMLButtonElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
6329
|
+
export const TertiaryButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("libs/reach/ui/common/src/reach-2/buttons/BaseButton").BaseButtonProps & import("react").RefAttributes<HTMLButtonElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
6330
|
+
export const LinkButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("libs/reach/ui/common/src/reach-2/buttons/BaseButton").BaseButtonProps & import("react").RefAttributes<HTMLButtonElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
6331
|
+
}
|
|
6332
|
+
declare module "libs/reach/ui/common/src/reach-2/buttons/index" {
|
|
6333
|
+
export * from "libs/reach/ui/common/src/reach-2/buttons/BackButton";
|
|
6334
|
+
export { BaseButtonStyle } from "libs/reach/ui/common/src/reach-2/buttons/BaseButton";
|
|
6335
|
+
export * from "libs/reach/ui/common/src/reach-2/buttons/ContentActionButton";
|
|
6336
|
+
export { default as FlexButton } from "libs/reach/ui/common/src/reach-2/buttons/FlexButton";
|
|
6337
|
+
export { default as FloatingButton } from "libs/reach/ui/common/src/reach-2/buttons/FloatingButton";
|
|
6338
|
+
export { default as IconButton2 } from "libs/reach/ui/common/src/reach-2/buttons/IconButton";
|
|
6339
|
+
export * from "libs/reach/ui/common/src/reach-2/buttons/IconNavLink";
|
|
6340
|
+
export { default as ProfileButton } from "libs/reach/ui/common/src/reach-2/buttons/ProfileButton";
|
|
6341
|
+
export * from "libs/reach/ui/common/src/reach-2/buttons/StandardButtons";
|
|
6342
|
+
}
|
|
6343
|
+
declare module "libs/reach/ui/common/src/reach-2/SearchBox" {
|
|
6344
|
+
import { FC } from 'react';
|
|
6345
|
+
export type SearchBoxSizeType = 'Large' | 'Small';
|
|
6346
|
+
export const SearchBox: FC<{
|
|
6347
|
+
autoFocus?: boolean;
|
|
6348
|
+
className?: string;
|
|
6349
|
+
disabled?: boolean;
|
|
6350
|
+
onChange: (value: string) => void;
|
|
6351
|
+
placeholder?: string;
|
|
6352
|
+
size?: SearchBoxSizeType;
|
|
6353
|
+
value: string;
|
|
6354
|
+
}>;
|
|
6355
|
+
}
|
|
6356
|
+
declare module "libs/reach/ui/common/src/reach-2/assets/Assets" {
|
|
6357
|
+
export { ReactComponent as Logo } from './logo.svg';
|
|
6358
|
+
export { ReactComponent as Conversation } from './conversations.svg';
|
|
6359
|
+
export { default as Background } from './background.svg';
|
|
6360
|
+
}
|
|
6361
|
+
declare module "libs/reach/ui/common/src/reach-2/assets/index" {
|
|
6362
|
+
export * from "libs/reach/ui/common/src/reach-2/assets/Assets";
|
|
6363
|
+
}
|
|
6364
|
+
declare module "libs/reach/ui/common/src/reach-2/inputs/OTPInput" {
|
|
6365
|
+
import { FC } from 'react';
|
|
6366
|
+
interface IOTPInputProps {
|
|
6367
|
+
code: string;
|
|
6368
|
+
codeLength: number;
|
|
6369
|
+
onChange: (code: string) => void;
|
|
6370
|
+
className?: string;
|
|
6371
|
+
}
|
|
6372
|
+
const OTPInput: FC<IOTPInputProps>;
|
|
6373
|
+
export default OTPInput;
|
|
6374
|
+
}
|
|
6375
|
+
declare module "libs/reach/ui/common/src/reach-2/inputs/index" {
|
|
6376
|
+
export { default as OTPInput } from "libs/reach/ui/common/src/reach-2/inputs/OTPInput";
|
|
6377
|
+
}
|
|
6357
6378
|
declare module "libs/reach/ui/common/src/reach-2/lists/MenuItem" {
|
|
6358
6379
|
import { FC, MouseEvent, SVGProps } from 'react';
|
|
6359
6380
|
export interface MenuItemProps {
|
|
@@ -6548,11 +6569,11 @@ declare module "libs/reach/ui/common/src/reach-2/table/Table" {
|
|
|
6548
6569
|
export default Table;
|
|
6549
6570
|
}
|
|
6550
6571
|
declare module "libs/reach/ui/common/src/reach-2/tags/Tag" {
|
|
6551
|
-
import React from 'react';
|
|
6572
|
+
import React, { SVGProps } from 'react';
|
|
6552
6573
|
interface TagProps {
|
|
6553
6574
|
className?: string;
|
|
6554
6575
|
error?: boolean;
|
|
6555
|
-
icon?:
|
|
6576
|
+
icon?: SVGProps<SVGElement>;
|
|
6556
6577
|
label: string;
|
|
6557
6578
|
onClick?: () => void;
|
|
6558
6579
|
onClose?: () => void;
|